From c6ca03fa490f412de222a479ec7a91bb361a5cb4 Mon Sep 17 00:00:00 2001 From: Thomas Johansen Date: Wed, 16 Jul 2014 22:36:13 +0200 Subject: [PATCH 001/144] Add grammar scope to EditorView Only works when the `grammar-changed` event has been triggered, and only implemented for Space Pen views. --- src/editor-view.coffee | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/editor-view.coffee b/src/editor-view.coffee index 94f85392d..1352e488a 100644 --- a/src/editor-view.coffee +++ b/src/editor-view.coffee @@ -560,6 +560,7 @@ class EditorView extends View @trigger 'editor:path-changed' @subscribe @editor, "grammar-changed", => + @addGrammarScopeClasses() @trigger 'editor:grammar-changed' @subscribe @editor, 'selection-added', (selection) => @@ -585,6 +586,11 @@ class EditorView extends View if @attached and @editor.buffer.isInConflict() _.defer => @showBufferConflictAlert(@editor) # Display after editor has a chance to display + addGrammarScopeClasses: -> + scopeParts = @editor.getGrammar()?.scopeName?.split('.') + classes = scopeParts.join(' ') if scopeParts?.length + @addClass(classes) if classes? + getModel: -> @editor From e50887aab85b1b63c3a4268966781f29b46682ac Mon Sep 17 00:00:00 2001 From: Thomas Johansen Date: Wed, 16 Jul 2014 23:10:21 +0200 Subject: [PATCH 002/144] Use data attribute instead of CSS classes --- src/editor-view.coffee | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/editor-view.coffee b/src/editor-view.coffee index 1352e488a..4cea02d57 100644 --- a/src/editor-view.coffee +++ b/src/editor-view.coffee @@ -560,7 +560,7 @@ class EditorView extends View @trigger 'editor:path-changed' @subscribe @editor, "grammar-changed", => - @addGrammarScopeClasses() + @addGrammarScopeAttribute() @trigger 'editor:grammar-changed' @subscribe @editor, 'selection-added', (selection) => @@ -586,10 +586,9 @@ class EditorView extends View if @attached and @editor.buffer.isInConflict() _.defer => @showBufferConflictAlert(@editor) # Display after editor has a chance to display - addGrammarScopeClasses: -> - scopeParts = @editor.getGrammar()?.scopeName?.split('.') - classes = scopeParts.join(' ') if scopeParts?.length - @addClass(classes) if classes? + addGrammarScopeAttribute: -> + grammarScope = @editor.getGrammar()?.scopeName?.replace(/\./g, ' ') + @attr('data-scope', grammarScope) getModel: -> @editor From 6b1868efd5cd174dd8bcc762755cdcc1c8d1f293 Mon Sep 17 00:00:00 2001 From: Thomas Johansen Date: Wed, 16 Jul 2014 23:12:16 +0200 Subject: [PATCH 003/144] Make sure the scope data attribute is always set --- src/editor-view.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/editor-view.coffee b/src/editor-view.coffee index 4cea02d57..d792a0a88 100644 --- a/src/editor-view.coffee +++ b/src/editor-view.coffee @@ -582,6 +582,7 @@ class EditorView extends View @trigger 'editor:path-changed' @resetDisplay() + @addGrammarScopeAttribute() if @attached and @editor.buffer.isInConflict() _.defer => @showBufferConflictAlert(@editor) # Display after editor has a chance to display From 9c154a2f5a580783fbc3dd31057232f5ff54b3c8 Mon Sep 17 00:00:00 2001 From: Thomas Johansen Date: Wed, 16 Jul 2014 23:42:46 +0200 Subject: [PATCH 004/144] Implement support for React Editor --- src/react-editor-view.coffee | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/react-editor-view.coffee b/src/react-editor-view.coffee index 3b166cbbf..11b7900ff 100644 --- a/src/react-editor-view.coffee +++ b/src/react-editor-view.coffee @@ -81,8 +81,17 @@ class ReactEditorView extends View @attached = true @component.pollDOM() @focus() if @focusOnAttach + + @addGrammarScopeAttribute() + @subscribe @editor, 'grammar-changed', => + @addGrammarScopeAttribute() + @trigger 'editor:attached', [this] + addGrammarScopeAttribute: -> + grammarScope = @editor.getGrammar()?.scopeName?.replace(/\./g, ' ') + @attr('data-scope', grammarScope) + scrollTop: (scrollTop) -> if scrollTop? @editor.setScrollTop(scrollTop) From d3b06542a5c88f48a9fb98e9f291dfb6fa39c149 Mon Sep 17 00:00:00 2001 From: Thomas Johansen Date: Mon, 21 Jul 2014 22:27:55 +0200 Subject: [PATCH 005/144] Change attribute name to `data-grammar` --- src/editor-view.coffee | 2 +- src/react-editor-view.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/editor-view.coffee b/src/editor-view.coffee index d792a0a88..812b085f8 100644 --- a/src/editor-view.coffee +++ b/src/editor-view.coffee @@ -589,7 +589,7 @@ class EditorView extends View addGrammarScopeAttribute: -> grammarScope = @editor.getGrammar()?.scopeName?.replace(/\./g, ' ') - @attr('data-scope', grammarScope) + @attr('data-grammar', grammarScope) getModel: -> @editor diff --git a/src/react-editor-view.coffee b/src/react-editor-view.coffee index 11b7900ff..643b58f07 100644 --- a/src/react-editor-view.coffee +++ b/src/react-editor-view.coffee @@ -90,7 +90,7 @@ class ReactEditorView extends View addGrammarScopeAttribute: -> grammarScope = @editor.getGrammar()?.scopeName?.replace(/\./g, ' ') - @attr('data-scope', grammarScope) + @attr('data-grammar', grammarScope) scrollTop: (scrollTop) -> if scrollTop? From dc55d42491bbc80953862475f8fe1d929c835a1e Mon Sep 17 00:00:00 2001 From: Thomas Johansen Date: Sun, 17 Aug 2014 11:31:24 +0200 Subject: [PATCH 006/144] :white_check_mark: Add test to verify implementation --- spec/editor-view-spec.coffee | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/spec/editor-view-spec.coffee b/spec/editor-view-spec.coffee index 467266023..2a3dfd186 100644 --- a/spec/editor-view-spec.coffee +++ b/spec/editor-view-spec.coffee @@ -3045,3 +3045,12 @@ describe "EditorView", -> editorView.pixelPositionForScreenPosition([0, editor.getTabLength()]) editorView.pixelPositionForScreenPosition([0, editor.getTabLength() + 1]) expect(editorView.measureToColumn.callCount).toBe 0 + + describe "grammar data attributes", -> + it "adds and updates the grammar data attribute based on the current grammar", -> + editorView.attachToDom() + editor.setGrammar(atom.syntax.grammarForScopeName('text.plain')) + expect(editorView.attr('data-grammar')).toEqual 'text.plain' + + editor.setGrammar(atom.syntax.grammarForScopeName('source.javascript')) + expect(editorView.attr('data-grammar')).toEqual 'source.javascript' From b0a9eefa043a6136de3e0244a44e5e63c5c33f66 Mon Sep 17 00:00:00 2001 From: Ivan Zuzak Date: Fri, 22 Aug 2014 18:20:04 +0200 Subject: [PATCH 007/144] Dont handle ctrl+click mouse events on OSX Ctrl+click on OSX brings up the context menu. In that case, handling the click event deselects any selection, and that shouldn't happen. See https://github.com/atom/atom/issues/3308. --- src/editor-component.coffee | 4 ++++ src/editor-view.coffee | 3 +++ 2 files changed, 7 insertions(+) diff --git a/src/editor-component.coffee b/src/editor-component.coffee index 5d3a88ee4..64c7f5951 100644 --- a/src/editor-component.coffee +++ b/src/editor-component.coffee @@ -610,6 +610,10 @@ EditorComponent = React.createClass {editor} = @props {detail, shiftKey, metaKey, ctrlKey} = event + + # CTRL+click brings up the context menu on OSX, so don't handle those either + return if ctrlKey and process.platform is 'darwin' + screenPosition = @screenPositionForMouseEvent(event) if event.target?.classList.contains('fold-marker') diff --git a/src/editor-view.coffee b/src/editor-view.coffee index 94f85392d..b9bedaa1f 100644 --- a/src/editor-view.coffee +++ b/src/editor-view.coffee @@ -375,6 +375,9 @@ class EditorView extends View @overlayer.on 'mousedown', (e) => return unless e.which is 1 # only handle the left mouse button + # CTRL+click brings up the context menu on OSX, so don't handle those either + return if e.ctrlKey and process.platform is 'darwin' + @overlayer.hide() clickedElement = document.elementFromPoint(e.pageX, e.pageY) @overlayer.show() From 4dc89f1b1e81d6d4c7a261ee89932b7592dc5471 Mon Sep 17 00:00:00 2001 From: Thomas Johansen Date: Sun, 24 Aug 2014 14:14:26 +0200 Subject: [PATCH 008/144] :bug: Fix incorrect assertions --- spec/editor-view-spec.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/editor-view-spec.coffee b/spec/editor-view-spec.coffee index 2a3dfd186..7cca1560a 100644 --- a/spec/editor-view-spec.coffee +++ b/spec/editor-view-spec.coffee @@ -3050,7 +3050,7 @@ describe "EditorView", -> it "adds and updates the grammar data attribute based on the current grammar", -> editorView.attachToDom() editor.setGrammar(atom.syntax.grammarForScopeName('text.plain')) - expect(editorView.attr('data-grammar')).toEqual 'text.plain' + expect(editorView.attr('data-grammar')).toBe 'text plain' - editor.setGrammar(atom.syntax.grammarForScopeName('source.javascript')) - expect(editorView.attr('data-grammar')).toEqual 'source.javascript' + editor.setGrammar(atom.syntax.grammarForScopeName('source.js')) + expect(editorView.attr('data-grammar')).toBe 'source js' From 28116631774a8ba1063041a60927efe0d3a7bfcc Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 22 Aug 2014 09:42:00 -0700 Subject: [PATCH 009/144] Open file paths in focused window --- src/browser/atom-application.coffee | 17 ++++++++++++++--- src/browser/atom-window.coffee | 2 +- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/src/browser/atom-application.coffee b/src/browser/atom-application.coffee index cc81beef9..868819101 100644 --- a/src/browser/atom-application.coffee +++ b/src/browser/atom-application.coffee @@ -103,6 +103,12 @@ class AtomApplication window.once 'window:loaded', => @autoUpdateManager.emitUpdateAvailableEvent(window) + focusHandler = => @topWindow = window + window.browserWindow.on 'focus', focusHandler + window.browserWindow.once 'closed', => + @topWindow = null if window is @topWindow + window.browserWindow.removeListener 'focus', focusHandler + # Creates server to listen for additional atom application launches. # # You can run the atom command multiple times, but after the first launch @@ -312,9 +318,14 @@ class AtomApplication openPath: ({pathToOpen, pidToKillWhenClosed, newWindow, devMode, safeMode, windowDimensions}={}) -> {pathToOpen, initialLine, initialColumn} = @locationForPathToOpen(pathToOpen) - unless devMode - existingWindow = @windowForPath(pathToOpen) unless pidToKillWhenClosed or newWindow - if existingWindow + # Open files in the focused window + unless pidToKillWhenClosed or newWindow + if fs.statSyncNoException(pathToOpen).isFile?() + existingWindow = @topWindow + + existingWindow ?= @windowForPath(pathToOpen) unless devMode + + if existingWindow? openedWindow = existingWindow openedWindow.openPath(pathToOpen, initialLine) openedWindow.restore() diff --git a/src/browser/atom-window.coffee b/src/browser/atom-window.coffee index ad2b2ce53..04d647ba6 100644 --- a/src/browser/atom-window.coffee +++ b/src/browser/atom-window.coffee @@ -25,9 +25,9 @@ class AtomWindow # Normalize to make sure drive letter case is consistent on Windows @resourcePath = path.normalize(@resourcePath) if @resourcePath + @browserWindow = new BrowserWindow show: false, title: 'Atom', icon: @constructor.iconPath global.atomApplication.addWindow(this) - @browserWindow = new BrowserWindow show: false, title: 'Atom', icon: @constructor.iconPath @handleEvents() loadSettings = _.extend({}, settings) From c9390b61deb2f040f67d30f295f99bba95a749d7 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 22 Aug 2014 09:54:33 -0700 Subject: [PATCH 010/144] Track AtomWindow from ipc open event This ensures the window where the file is dropped is used to open that file into even when that window does not have focus. --- src/browser/atom-application.coffee | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/src/browser/atom-application.coffee b/src/browser/atom-application.coffee index 868819101..9b8df0383 100644 --- a/src/browser/atom-application.coffee +++ b/src/browser/atom-application.coffee @@ -205,13 +205,15 @@ class AtomApplication # A request from the associated render process to open a new render process. ipc.on 'open', (event, options) => + window = @windowForEvent(event) if options? if options.pathsToOpen?.length > 0 + options.window = window @openPaths(options) else new AtomWindow(options) else - @promptForPath() + @promptForPath({window}) ipc.on 'update-application-menu', (event, template, keystrokesByCommand) => @applicationMenu.update(template, keystrokesByCommand) @@ -290,6 +292,11 @@ class AtomApplication for atomWindow in @windows return atomWindow if atomWindow.containsPath(pathToOpen) + # Returns the {AtomWindow} for the given ipc event. + windowForEvent: ({sender}) -> + window = BrowserWindow.fromWebContents(sender) + _.find @windows, ({browserWindow}) -> window is browserWindow + # Public: Returns the currently focused {AtomWindow} or undefined if none. focusedWindow: -> _.find @windows, (atomWindow) -> atomWindow.isFocused() @@ -302,9 +309,10 @@ class AtomApplication # :newWindow - Boolean of whether this should be opened in a new window. # :devMode - Boolean to control the opened window's dev mode. # :safeMode - Boolean to control the opened window's safe mode. - openPaths: ({pathsToOpen, pidToKillWhenClosed, newWindow, devMode, safeMode}) -> + # :window - {AtomWindow} to open file paths in. + openPaths: ({pathsToOpen, pidToKillWhenClosed, newWindow, devMode, safeMode, window}) -> for pathToOpen in pathsToOpen ? [] - @openPath({pathToOpen, pidToKillWhenClosed, newWindow, devMode, safeMode}) + @openPath({pathToOpen, pidToKillWhenClosed, newWindow, devMode, safeMode, window}) # Public: Opens a single path, in an existing window if possible. # @@ -315,13 +323,14 @@ class AtomApplication # :devMode - Boolean to control the opened window's dev mode. # :safeMode - Boolean to control the opened window's safe mode. # :windowDimensions - Object with height and width keys. - openPath: ({pathToOpen, pidToKillWhenClosed, newWindow, devMode, safeMode, windowDimensions}={}) -> + # :window - {AtomWindow} to open file paths in. + openPath: ({pathToOpen, pidToKillWhenClosed, newWindow, devMode, safeMode, windowDimensions, window}={}) -> {pathToOpen, initialLine, initialColumn} = @locationForPathToOpen(pathToOpen) # Open files in the focused window unless pidToKillWhenClosed or newWindow if fs.statSyncNoException(pathToOpen).isFile?() - existingWindow = @topWindow + existingWindow = window ? @topWindow existingWindow ?= @windowForPath(pathToOpen) unless devMode @@ -455,7 +464,8 @@ class AtomApplication # should be in dev mode or not. # :safeMode - A Boolean which controls whether any newly opened windows # should be in safe mode or not. - promptForPath: ({type, devMode, safeMode}={}) -> + # :window - An {AtomWindow} to use for opening a selected file path. + promptForPath: ({type, devMode, safeMode, window}={}) -> type ?= 'all' properties = switch type @@ -464,4 +474,4 @@ class AtomApplication when 'all' then ['openFile', 'openDirectory'] else throw new Error("#{type} is an invalid type for promptForPath") dialog.showOpenDialog title: 'Open', properties: properties.concat(['multiSelections', 'createDirectory']), (pathsToOpen) => - @openPaths({pathsToOpen, devMode, safeMode}) + @openPaths({pathsToOpen, devMode, safeMode, window}) From a4ae314b0063674663fae3ed533211e1f7fb6fb8 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 22 Aug 2014 10:02:09 -0700 Subject: [PATCH 011/144] :lipstick: --- src/browser/atom-application.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/browser/atom-application.coffee b/src/browser/atom-application.coffee index 9b8df0383..ae39d85e7 100644 --- a/src/browser/atom-application.coffee +++ b/src/browser/atom-application.coffee @@ -289,8 +289,7 @@ class AtomApplication # Returns the {AtomWindow} for the given path. windowForPath: (pathToOpen) -> - for atomWindow in @windows - return atomWindow if atomWindow.containsPath(pathToOpen) + _.find @windows, (atomWindow) -> atomWindow.containsPath(pathToOpen) # Returns the {AtomWindow} for the given ipc event. windowForEvent: ({sender}) -> From 1196e5a26412cd1046f9c3ba2720170cc2b8205a Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 22 Aug 2014 10:03:30 -0700 Subject: [PATCH 012/144] :memo: Doc dev mode case --- src/browser/atom-application.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/browser/atom-application.coffee b/src/browser/atom-application.coffee index ae39d85e7..e26ad4b7c 100644 --- a/src/browser/atom-application.coffee +++ b/src/browser/atom-application.coffee @@ -331,6 +331,7 @@ class AtomApplication if fs.statSyncNoException(pathToOpen).isFile?() existingWindow = window ? @topWindow + # Don't reuse windows in dev mode existingWindow ?= @windowForPath(pathToOpen) unless devMode if existingWindow? From 5bdf8a14a712c43948ab2fc71702561755367174 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 22 Aug 2014 10:03:38 -0700 Subject: [PATCH 013/144] Use once for closed event --- src/browser/atom-application.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/atom-application.coffee b/src/browser/atom-application.coffee index e26ad4b7c..587535aeb 100644 --- a/src/browser/atom-application.coffee +++ b/src/browser/atom-application.coffee @@ -351,7 +351,7 @@ class AtomApplication if pidToKillWhenClosed? @pidsToOpenWindows[pidToKillWhenClosed] = openedWindow - openedWindow.browserWindow.on 'closed', => + openedWindow.browserWindow.once 'closed', => @killProcessForWindow(openedWindow) # Kill all processes associated with opened windows. From 17feb91876045dc7144721f9411125034b4ac8c0 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 22 Aug 2014 10:04:27 -0700 Subject: [PATCH 014/144] :memo: Move comment above isFile check --- src/browser/atom-application.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/atom-application.coffee b/src/browser/atom-application.coffee index 587535aeb..624359ba9 100644 --- a/src/browser/atom-application.coffee +++ b/src/browser/atom-application.coffee @@ -326,8 +326,8 @@ class AtomApplication openPath: ({pathToOpen, pidToKillWhenClosed, newWindow, devMode, safeMode, windowDimensions, window}={}) -> {pathToOpen, initialLine, initialColumn} = @locationForPathToOpen(pathToOpen) - # Open files in the focused window unless pidToKillWhenClosed or newWindow + # Open files in the specified window or the last focused window if fs.statSyncNoException(pathToOpen).isFile?() existingWindow = window ? @topWindow From 154fe4006ff9b24a3a1d409c67aa227e28476a2b Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 22 Aug 2014 10:22:32 -0700 Subject: [PATCH 015/144] :memo: Doc file/folder path behavior in usage message --- src/browser/main.coffee | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/browser/main.coffee b/src/browser/main.coffee index 7d6d372e3..8955ab0a7 100644 --- a/src/browser/main.coffee +++ b/src/browser/main.coffee @@ -63,7 +63,14 @@ parseCommandLine = -> options.usage """ Atom Editor v#{version} - Usage: atom [options] [file ...] + Usage: atom [options] [path ...] + + One or more paths to files or folders to open may be specified. + + File paths will open in the current window. + + Folder paths will open in an existing window if that folder has already been + opened or a new window if it hasn't. """ options.alias('d', 'dev').boolean('d').describe('d', 'Run in development mode.') options.alias('f', 'foreground').boolean('f').describe('f', 'Keep the browser process in the foreground.') From a853a27857cce76f169fdedef1d01dc5966da1f3 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 22 Aug 2014 12:10:33 -0700 Subject: [PATCH 016/144] Open folder in current untitled window Untitled windows will now have their project path set when a folder is opened. --- src/atom.coffee | 10 ++++++++++ src/browser/atom-application.coffee | 14 +++++++++++--- src/browser/atom-window.coffee | 4 ++++ src/window-event-handler.coffee | 4 +++- 4 files changed, 28 insertions(+), 4 deletions(-) diff --git a/src/atom.coffee b/src/atom.coffee index d497d1701..f208c3f92 100644 --- a/src/atom.coffee +++ b/src/atom.coffee @@ -308,6 +308,9 @@ class Atom extends Model @themes.loadBaseStylesheets() @packages.loadPackages() @deserializeEditorWindow() + + @watchProjectPath() + @packages.activate() @keymaps.loadUserKeymap() @requireUserInitScript() @@ -347,6 +350,13 @@ class Atom extends Model pack.reloadStylesheets?() null + # Notify the browser project of the window's current project path + watchProjectPath: -> + onProjectPathChanged = => + ipc.send('window-command', 'project-path-changed', @project.getPath()) + @subscribe @project, 'path-changed', onProjectPathChanged + onProjectPathChanged() + # Public: Open a new Atom window using the given options. # # Calling this method without an options parameter will open a prompt to pick diff --git a/src/browser/atom-application.coffee b/src/browser/atom-application.coffee index 624359ba9..81c561778 100644 --- a/src/browser/atom-application.coffee +++ b/src/browser/atom-application.coffee @@ -327,9 +327,17 @@ class AtomApplication {pathToOpen, initialLine, initialColumn} = @locationForPathToOpen(pathToOpen) unless pidToKillWhenClosed or newWindow - # Open files in the specified window or the last focused window - if fs.statSyncNoException(pathToOpen).isFile?() - existingWindow = window ? @topWindow + pathToOpenStat = fs.statSyncNoException(pathToOpen) + + # Default to using the specified window or the last focused window + currentWindow = window ? @topWindow + + if pathToOpenStat.isFile?() + # Open the file in the current window + existingWindow = currentWindow + else if pathToOpenStat.isDirectory?() + # Open the folder in the current window if it doesn't have a path + existingWindow = currentWindow unless currentWindow?.hasProjectPath() # Don't reuse windows in dev mode existingWindow ?= @windowForPath(pathToOpen) unless devMode diff --git a/src/browser/atom-window.coffee b/src/browser/atom-window.coffee index 04d647ba6..4958dd782 100644 --- a/src/browser/atom-window.coffee +++ b/src/browser/atom-window.coffee @@ -49,6 +49,8 @@ class AtomWindow @emit 'window:loaded' @loaded = true + @browserWindow.on 'project-path-changed', (@projectPath) => + @browserWindow.loadUrl @getUrl(loadSettings) @browserWindow.focusOnWebView() if @isSpec @@ -66,6 +68,8 @@ class AtomWindow slashes: true query: {loadSettings: JSON.stringify(loadSettings)} + hasProjectPath: -> @projectPath?.length > 0 + getInitialPath: -> @browserWindow.loadSettings.initialPath diff --git a/src/window-event-handler.coffee b/src/window-event-handler.coffee index bdf50bd4b..5f2b09b62 100644 --- a/src/window-event-handler.coffee +++ b/src/window-event-handler.coffee @@ -28,7 +28,9 @@ class WindowEventHandler @subscribe $(window), 'blur', -> document.body.classList.add('is-blurred') @subscribe $(window), 'window:open-path', (event, {pathToOpen, initialLine, initialColumn}) -> - unless fs.isDirectorySync(pathToOpen) + if fs.isDirectorySync(pathToOpen) + atom.project.setPath(pathToOpen) unless atom.project.getPath() + else atom.workspace?.open(pathToOpen, {initialLine, initialColumn}) @subscribe $(window), 'beforeunload', => From 9f7560bb896303ec106401903dec8e65bb66d950 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 22 Aug 2014 13:31:37 -0700 Subject: [PATCH 017/144] :memo: Doc other atom.open options --- src/atom.coffee | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/atom.coffee b/src/atom.coffee index f208c3f92..29220206c 100644 --- a/src/atom.coffee +++ b/src/atom.coffee @@ -363,7 +363,15 @@ class Atom extends Model # a file/folder to open in the new window. # # options - An {Object} with the following keys: - # :pathsToOpen - An {Array} of {String} paths to open. + # :pathsToOpen - An {Array} of {String} paths to open. + # :newWindow - A {Boolean}, true to always open a new window instead of + # reusing existing windows depending on the paths to open. + # :devMode - A {Boolean}, true to open the window in development mode. + # Development mode loads the Atom source from the locally + # cloned repository and also loads all the packages in + # ~/.atom/dev/packages + # :safeMode - A {Boolean}, true to open the window in safe mode. Safe + # mode prevents installed packages from loading open: (options) -> ipc.send('open', options) From 6610447e09ebae3b51c01a7ab6c4d99d9d15f30e Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 22 Aug 2014 13:32:12 -0700 Subject: [PATCH 018/144] :memo: Clarify safeMode description --- src/atom.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/atom.coffee b/src/atom.coffee index 29220206c..4c2da7f8a 100644 --- a/src/atom.coffee +++ b/src/atom.coffee @@ -371,7 +371,8 @@ class Atom extends Model # cloned repository and also loads all the packages in # ~/.atom/dev/packages # :safeMode - A {Boolean}, true to open the window in safe mode. Safe - # mode prevents installed packages from loading + # mode prevents all packages installed to ~/.atom/packages + # from loading. open: (options) -> ipc.send('open', options) From fb53f855737b8d87fad26b26d5de1822a76585ae Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 22 Aug 2014 13:33:45 -0700 Subject: [PATCH 019/144] Rename topWindow to lastFocusedWindow --- src/browser/atom-application.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/browser/atom-application.coffee b/src/browser/atom-application.coffee index 81c561778..69ac398ab 100644 --- a/src/browser/atom-application.coffee +++ b/src/browser/atom-application.coffee @@ -103,10 +103,10 @@ class AtomApplication window.once 'window:loaded', => @autoUpdateManager.emitUpdateAvailableEvent(window) - focusHandler = => @topWindow = window + focusHandler = => @lastFocusedWindow = window window.browserWindow.on 'focus', focusHandler window.browserWindow.once 'closed', => - @topWindow = null if window is @topWindow + @lastFocusedWindow = null if window is @lastFocusedWindow window.browserWindow.removeListener 'focus', focusHandler # Creates server to listen for additional atom application launches. @@ -330,7 +330,7 @@ class AtomApplication pathToOpenStat = fs.statSyncNoException(pathToOpen) # Default to using the specified window or the last focused window - currentWindow = window ? @topWindow + currentWindow = window ? @lastFocusedWindow if pathToOpenStat.isFile?() # Open the file in the current window From 176d73dfcccb68e8560dc1efbe8b9ef1e53d5e66 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 25 Aug 2014 09:58:09 -0700 Subject: [PATCH 020/144] Upgrade to apm 0.92 --- apm/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apm/package.json b/apm/package.json index 9d788a5ee..a47620ea2 100644 --- a/apm/package.json +++ b/apm/package.json @@ -6,6 +6,6 @@ "url": "https://github.com/atom/atom.git" }, "dependencies": { - "atom-package-manager": "0.91.0" + "atom-package-manager": "0.92.0" } } From 62a1888c6b56c450b9c2a2057b6399d8d8498b6f Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 25 Aug 2014 10:06:29 -0700 Subject: [PATCH 021/144] Upgrade to language-mustache@0.10 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9fc983ea1..f32ab595b 100644 --- a/package.json +++ b/package.json @@ -123,7 +123,7 @@ "language-json": "0.8.0", "language-less": "0.14.0", "language-make": "0.12.0", - "language-mustache": "0.9.0", + "language-mustache": "0.10.0", "language-objective-c": "0.11.0", "language-perl": "0.9.0", "language-php": "0.15.0", From ecf237697b77babd601a129202cb1f5fdbec507d Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 25 Aug 2014 10:22:44 -0700 Subject: [PATCH 022/144] Add react editor view spec for data grammar attrs --- spec/editor-component-spec.coffee | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spec/editor-component-spec.coffee b/spec/editor-component-spec.coffee index e93afa445..8005ab5f2 100644 --- a/spec/editor-component-spec.coffee +++ b/spec/editor-component-spec.coffee @@ -2164,6 +2164,12 @@ describe "EditorComponent", -> setEditorWidthInChars(wrapperView, 10) expect(componentNode.querySelector('.scroll-view').offsetWidth).toBe charWidth * 10 + describe "grammar data attributes", -> + it "adds and updates the grammar data attribute based on the current grammar", -> + expect(wrapperNode.dataset.grammar).toBe 'source js' + editor.setGrammar(atom.syntax.nullGrammar) + expect(wrapperNode.dataset.grammar).toBe 'text plain null-grammar' + buildMouseEvent = (type, properties...) -> properties = extend({bubbles: true, cancelable: true}, properties...) properties.detail ?= 1 From c3c91ae6c355b19ab805961cc13d01a0f27d3644 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Mon, 25 Aug 2014 11:42:44 -0700 Subject: [PATCH 023/144] Only emit the marker-created event when the marker exists This caused problems in the case of find-and-replace:select-all with multiple editors into the same file. * a marker is created on the TextBuffer capturing the selection * DisplayBuffer:create-marker is fired from the first DisplayBuffer. The marker is turned into a selection which is merged into the current selection, deleting the marker that was created. * DisplayBuffer::handleBufferMarkerCreated is called on the second DisplayBuffer. The marker has been destroyed at this point, so it emits DisplayBuffer:create-marker with undefined. * ERROR> Closes #3364 --- spec/display-buffer-spec.coffee | 13 +++++++++++++ src/display-buffer.coffee | 5 ++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/spec/display-buffer-spec.coffee b/spec/display-buffer-spec.coffee index 1fbbbe873..34b75f54f 100644 --- a/spec/display-buffer-spec.coffee +++ b/spec/display-buffer-spec.coffee @@ -1037,6 +1037,19 @@ describe "DisplayBuffer", -> expect(start.top).toBe 5 * 20 expect(start.left).toBe (4 * 10) + (6 * 11) + describe 'when there are multiple DisplayBuffers for a buffer', -> + describe 'when a marker is created', -> + it 'the second display buffer will not emit a marker-created event when the marker has been deleted in the first marker-created event', -> + displayBuffer2 = new DisplayBuffer({buffer, tabLength}) + displayBuffer.on 'marker-created', markerCreated1 = jasmine.createSpy().andCallFake (marker) -> + marker.destroy() + displayBuffer2.on 'marker-created', markerCreated2 = jasmine.createSpy() + + displayBuffer.markBufferRange([[0, 0], [1, 5]], {}) + + expect(markerCreated1).toHaveBeenCalled() + expect(markerCreated2).not.toHaveBeenCalled() + describe "decorations", -> [marker, decoration, decorationParams] = [] beforeEach -> diff --git a/src/display-buffer.coffee b/src/display-buffer.coffee index 76f83e713..0b7121acc 100644 --- a/src/display-buffer.coffee +++ b/src/display-buffer.coffee @@ -1097,7 +1097,10 @@ class DisplayBuffer extends Model handleBufferMarkerCreated: (marker) => @createFoldForMarker(marker) if marker.matchesAttributes(@getFoldMarkerAttributes()) - @emit 'marker-created', @getMarker(marker.id) + if displayBufferMarker = @getMarker(marker.id) + # The marker might have been removed in some other handler called before + # this one. Only emit when the marker still exists. + @emit 'marker-created', displayBufferMarker createFoldForMarker: (marker) -> @decorateMarker(marker, type: 'gutter', class: 'folded') From f8026bb0059177e65bcd47a6c9251b23322d2123 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Tue, 29 Jul 2014 13:58:27 -0700 Subject: [PATCH 024/144] Require the react-editor-view where we require the editor-view --- exports/atom.coffee | 5 +---- spec/spec-helper.coffee | 2 +- spec/workspace-view-spec.coffee | 2 +- src/atom.coffee | 2 +- src/editor.coffee | 5 +---- src/react-editor-view.coffee | 18 ++++++++++++++++++ src/select-list-view.coffee | 5 +---- src/workspace-view.coffee | 1 - 8 files changed, 24 insertions(+), 16 deletions(-) diff --git a/exports/atom.coffee b/exports/atom.coffee index a536de48d..09920eff1 100644 --- a/exports/atom.coffee +++ b/exports/atom.coffee @@ -15,10 +15,7 @@ unless process.env.ATOM_SHELL_INTERNAL_RUN_AS_NODE module.exports.$ = $ module.exports.$$ = $$ module.exports.$$$ = $$$ - if atom.config.get('core.useReactMiniEditors') - module.exports.EditorView = require '../src/react-editor-view' - else - module.exports.EditorView = require '../src/editor-view' + module.exports.EditorView = require '../src/react-editor-view' module.exports.ScrollView = require '../src/scroll-view' module.exports.SelectListView = require '../src/select-list-view' module.exports.Task = require '../src/task' diff --git a/spec/spec-helper.coffee b/spec/spec-helper.coffee index 79f2e5a06..7800cb5be 100644 --- a/spec/spec-helper.coffee +++ b/spec/spec-helper.coffee @@ -13,7 +13,7 @@ Config = require '../src/config' {Point} = require 'text-buffer' Project = require '../src/project' Editor = require '../src/editor' -EditorView = require '../src/editor-view' +EditorView = require '../src/react-editor-view' TokenizedBuffer = require '../src/tokenized-buffer' EditorComponent = require '../src/editor-component' pathwatcher = require 'pathwatcher' diff --git a/spec/workspace-view-spec.coffee b/spec/workspace-view-spec.coffee index c6aa502b3..f95a52dc3 100644 --- a/spec/workspace-view-spec.coffee +++ b/spec/workspace-view-spec.coffee @@ -2,7 +2,7 @@ Q = require 'q' path = require 'path' temp = require 'temp' -EditorView = require '../src/editor-view' +EditorView = require '../src/react-editor-view' PaneView = require '../src/pane-view' Workspace = require '../src/workspace' diff --git a/src/atom.coffee b/src/atom.coffee index 4c2da7f8a..8b408ee2a 100644 --- a/src/atom.coffee +++ b/src/atom.coffee @@ -303,7 +303,7 @@ class Atom extends Model dimensions = @restoreWindowDimensions() @config.load() @config.setDefaults('core', require('./workspace-view').configDefaults) - @config.setDefaults('editor', require('./editor-view').configDefaults) + @config.setDefaults('editor', require('./react-editor-view').configDefaults) @keymaps.loadBundledKeymaps() @themes.loadBaseStylesheets() @packages.loadPackages() diff --git a/src/editor.coffee b/src/editor.coffee index 451e84b0c..eccf9d6cf 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -235,10 +235,7 @@ class Editor extends Model @subscribe @displayBuffer, "character-widths-changed", (changeCount) => @emit 'character-widths-changed', changeCount getViewClass: -> - if atom.config.get('core.useReactEditor') - require './react-editor-view' - else - require './editor-view' + require './react-editor-view' destroyed: -> @unsubscribe() diff --git a/src/react-editor-view.coffee b/src/react-editor-view.coffee index 643b58f07..36c0cbd7c 100644 --- a/src/react-editor-view.coffee +++ b/src/react-editor-view.coffee @@ -7,6 +7,24 @@ EditorComponent = require './editor-component' module.exports = class ReactEditorView extends View + @configDefaults: + fontFamily: '' + fontSize: 16 + lineHeight: 1.3 + showInvisibles: false + showIndentGuide: false + showLineNumbers: true + autoIndent: true + normalizeIndentOnPaste: true + nonWordCharacters: "/\\()\"':,.;<>~!@#$%^&*|+=[]{}`?-" + preferredLineLength: 80 + tabLength: 2 + softWrap: false + softTabs: true + softWrapAtPreferredLineLength: false + scrollSensitivity: 40 + useHardwareAcceleration: true + @content: (params) -> attributes = params.attributes ? {} attributes.class = 'editor react editor-colors' diff --git a/src/select-list-view.coffee b/src/select-list-view.coffee index 8776b2757..bf279df45 100644 --- a/src/select-list-view.coffee +++ b/src/select-list-view.coffee @@ -1,8 +1,5 @@ {$, View} = require './space-pen-extensions' -if atom.config.get('core.useReactMiniEditors') - EditorView = require './react-editor-view' -else - EditorView = require './editor-view' +EditorView = require './react-editor-view' fuzzyFilter = require('fuzzaldrin').filter # Public: Provides a view that renders a list of items with an editor that diff --git a/src/workspace-view.coffee b/src/workspace-view.coffee index 8e3af09d0..b32499f57 100644 --- a/src/workspace-view.coffee +++ b/src/workspace-view.coffee @@ -9,7 +9,6 @@ scrollbarStyle = require 'scrollbar-style' fs = require 'fs-plus' Workspace = require './workspace' CommandInstaller = require './command-installer' -EditorView = require './editor-view' PaneView = require './pane-view' PaneColumnView = require './pane-column-view' PaneRowView = require './pane-row-view' From 0e62c987682cf014cda96dcbad0e8b27e5cd7fff Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Tue, 29 Jul 2014 13:58:37 -0700 Subject: [PATCH 025/144] Fix the mini-editor test --- src/react-editor-view.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/react-editor-view.coffee b/src/react-editor-view.coffee index 36c0cbd7c..789c52559 100644 --- a/src/react-editor-view.coffee +++ b/src/react-editor-view.coffee @@ -39,9 +39,9 @@ class ReactEditorView extends View if editorOrParams instanceof Editor @editor = editorOrParams else - {@editor, mini, placeholderText} = editorOrParams + {@editor, @mini, placeholderText} = editorOrParams props ?= {} - props.mini = mini + props.mini = @mini props.placeholderText = placeholderText @editor ?= new Editor buffer: new TextBuffer From 431fab1a43f9b45b6f5af434993336717b6db8c0 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Tue, 29 Jul 2014 13:59:23 -0700 Subject: [PATCH 026/144] Remove the editor-view --- spec/editor-view-spec.coffee | 3056 ---------------------------------- src/editor-view.coffee | 1594 ------------------ 2 files changed, 4650 deletions(-) delete mode 100644 spec/editor-view-spec.coffee delete mode 100644 src/editor-view.coffee diff --git a/spec/editor-view-spec.coffee b/spec/editor-view-spec.coffee deleted file mode 100644 index 7cca1560a..000000000 --- a/spec/editor-view-spec.coffee +++ /dev/null @@ -1,3056 +0,0 @@ -WorkspaceView = require '../src/workspace-view' -EditorView = require '../src/editor-view' -{$, $$} = require '../src/space-pen-extensions' -_ = require 'underscore-plus' -fs = require 'fs-plus' -path = require 'path' -temp = require 'temp' - -describe "EditorView", -> - [buffer, editorView, editor, cachedEditor, cachedLineHeight, cachedCharWidth, fart] = [] - - beforeEach -> - atom.config.set 'core.useReactEditor', false - - waitsForPromise -> - atom.workspace.open('sample.js').then (o) -> editor = o - - waitsForPromise -> - atom.workspace.open('sample.less').then (o) -> cachedEditor = o - - runs -> - buffer = editor.buffer - editorView = new EditorView(editor) - editorView.lineOverdraw = 2 - editorView.isFocused = true - editorView.enableKeymap() - - editorView.calculateHeightInLines = -> - Math.ceil(@height() / @lineHeight) - - editorView.attachToDom = ({ heightInLines, widthInChars } = {}) -> - heightInLines ?= @getEditor().getBuffer().getLineCount() - @height(getLineHeight() * heightInLines) - @width(getCharWidth() * widthInChars) if widthInChars - $('#jasmine-content').append(this) - - waitsForPromise -> - atom.packages.activatePackage('language-text') - - waitsForPromise -> - atom.packages.activatePackage('language-javascript') - - getLineHeight = -> - return cachedLineHeight if cachedLineHeight? - calcDimensions() - cachedLineHeight - - getCharWidth = -> - return cachedCharWidth if cachedCharWidth? - calcDimensions() - cachedCharWidth - - calcDimensions = -> - editorForMeasurement = new EditorView({editor: cachedEditor}) - editorForMeasurement.attachToDom() - cachedLineHeight = editorForMeasurement.lineHeight - cachedCharWidth = editorForMeasurement.charWidth - editorForMeasurement.remove() - - describe "construction", -> - it "throws an error if no edit session is given", -> - expect(-> new EditorView).toThrow() - - describe "when the editor view view is attached to the dom", -> - it "calculates line height and char width and updates the pixel position of the cursor", -> - expect(editorView.lineHeight).toBeNull() - expect(editorView.charWidth).toBeNull() - editor.setCursorScreenPosition(row: 2, column: 2) - - editorView.attachToDom() - - expect(editorView.lineHeight).not.toBeNull() - expect(editorView.charWidth).not.toBeNull() - expect(editorView.find('.cursor').offset()).toEqual pagePixelPositionForPoint(editorView, [2, 2]) - - it "is focused", -> - editorView.attachToDom() - expect(editorView).toMatchSelector ":has(:focus)" - - describe "when the editor view view receives focus", -> - it "focuses the hidden input", -> - editorView.attachToDom() - editorView.focus() - expect(editorView).not.toMatchSelector ':focus' - expect(editorView.hiddenInput).toMatchSelector ':focus' - - it "does not scroll the editor view (regression)", -> - editorView.attachToDom(heightInLines: 2) - editor.selectAll() - editorView.hiddenInput.blur() - editorView.focus() - - expect(editorView.hiddenInput).toMatchSelector ':focus' - expect($(editorView[0]).scrollTop()).toBe 0 - expect($(editorView.scrollView[0]).scrollTop()).toBe 0 - - editor.moveCursorToBottom() - editorView.hiddenInput.blur() - editorView.scrollTop(0) - editorView.focus() - - expect(editorView.hiddenInput).toMatchSelector ':focus' - expect($(editorView[0]).scrollTop()).toBe 0 - expect($(editorView.scrollView[0]).scrollTop()).toBe 0 - - describe "when the hidden input is focused / unfocused", -> - it "assigns the isFocused flag on the editor view view and also adds/removes the .focused css class", -> - editorView.attachToDom() - editorView.isFocused = false - editorView.hiddenInput.focus() - expect(editorView.isFocused).toBeTruthy() - - editorView.hiddenInput.focusout() - expect(editorView.isFocused).toBeFalsy() - - describe "when the editor's file is modified on disk", -> - it "triggers an alert", -> - fileChangeHandler = null - filePath = path.join(temp.dir, 'atom-changed-file.txt') - fs.writeFileSync(filePath, "") - - waitsForPromise -> - atom.workspace.open(filePath).then (o) -> editor = o - - runs -> - editorView.edit(editor) - editor.insertText("now the buffer is modified") - - fileChangeHandler = jasmine.createSpy('fileChange') - editor.buffer.file.on 'contents-changed', fileChangeHandler - - spyOn(atom, "confirm") - - fs.writeFileSync(filePath, "a file change") - - waitsFor "file to trigger contents-changed event", -> - fileChangeHandler.callCount > 0 - - runs -> - expect(atom.confirm).toHaveBeenCalled() - - describe ".remove()", -> - it "destroys the edit session", -> - editorView.remove() - expect(editorView.editor.isDestroyed()).toBe true - - describe ".edit(editor)", -> - [newEditor, newBuffer] = [] - - beforeEach -> - waitsForPromise -> - atom.workspace.open('two-hundred.txt').then (o) -> newEditor = o - - runs -> - newBuffer = newEditor.buffer - - it "updates the rendered lines, cursors, selections, scroll position, and event subscriptions to match the given edit session", -> - editorView.attachToDom(heightInLines: 5, widthInChars: 30) - editor.setCursorBufferPosition([6, 13]) - editorView.scrollToBottom() - editorView.scrollLeft(150) - previousScrollHeight = editorView.verticalScrollbar.prop('scrollHeight') - previousScrollTop = editorView.scrollTop() - previousScrollLeft = editorView.scrollLeft() - - newEditor.setScrollTop(900) - newEditor.setSelectedBufferRange([[40, 0], [43, 1]]) - - editorView.edit(newEditor) - { firstRenderedScreenRow, lastRenderedScreenRow } = editorView - expect(editorView.lineElementForScreenRow(firstRenderedScreenRow).text()).toBe newBuffer.lineForRow(firstRenderedScreenRow) - expect(editorView.lineElementForScreenRow(lastRenderedScreenRow).text()).toBe newBuffer.lineForRow(editorView.lastRenderedScreenRow) - expect(editorView.scrollTop()).toBe 900 - expect(editorView.scrollLeft()).toBe 0 - expect(editorView.getSelectionView().regions[0].position().top).toBe 40 * editorView.lineHeight - newEditor.insertText("hello") - expect(editorView.lineElementForScreenRow(40).text()).toBe "hello3" - - editorView.edit(editor) - { firstRenderedScreenRow, lastRenderedScreenRow } = editorView - expect(editorView.lineElementForScreenRow(firstRenderedScreenRow).text()).toBe buffer.lineForRow(firstRenderedScreenRow) - expect(editorView.lineElementForScreenRow(lastRenderedScreenRow).text()).toBe buffer.lineForRow(editorView.lastRenderedScreenRow) - expect(editorView.verticalScrollbar.prop('scrollHeight')).toBe previousScrollHeight - expect(editorView.scrollTop()).toBe previousScrollTop - expect(editorView.scrollLeft()).toBe previousScrollLeft - expect(editorView.getCursorView().position()).toEqual { top: 6 * editorView.lineHeight, left: 13 * editorView.charWidth } - editor.insertText("goodbye") - expect(editorView.lineElementForScreenRow(6).text()).toMatch /^ currentgoodbye/ - - it "triggers alert if edit session's buffer goes into conflict with changes on disk", -> - contentsConflictedHandler = null - filePath = path.join(temp.dir, 'atom-changed-file.txt') - fs.writeFileSync(filePath, "") - tempEditor = null - - waitsForPromise -> - atom.workspace.open(filePath).then (o) -> tempEditor = o - - runs -> - editorView.edit(tempEditor) - tempEditor.insertText("a buffer change") - - spyOn(atom, "confirm") - - contentsConflictedHandler = jasmine.createSpy("contentsConflictedHandler") - tempEditor.on 'contents-conflicted', contentsConflictedHandler - fs.writeFileSync(filePath, "a file change") - - waitsFor -> - contentsConflictedHandler.callCount > 0 - - runs -> - expect(atom.confirm).toHaveBeenCalled() - - describe ".scrollTop(n)", -> - beforeEach -> - editorView.attachToDom(heightInLines: 5) - expect(editorView.verticalScrollbar.scrollTop()).toBe 0 - - describe "when called with a scroll top argument", -> - it "sets the scrollTop of the vertical scrollbar and sets scrollTop on the line numbers and lines", -> - editorView.scrollTop(100) - expect(editorView.verticalScrollbar.scrollTop()).toBe 100 - expect(editorView.scrollView.scrollTop()).toBe 0 - expect(editorView.renderedLines.css('top')).toBe "-100px" - expect(editorView.gutter.lineNumbers.css('top')).toBe "-100px" - - editorView.scrollTop(120) - expect(editorView.verticalScrollbar.scrollTop()).toBe 120 - expect(editorView.scrollView.scrollTop()).toBe 0 - expect(editorView.renderedLines.css('top')).toBe "-120px" - expect(editorView.gutter.lineNumbers.css('top')).toBe "-120px" - - it "does not allow negative scrollTops to be assigned", -> - editorView.scrollTop(-100) - expect(editorView.scrollTop()).toBe 0 - - it "doesn't do anything if the scrollTop hasn't changed", -> - editorView.scrollTop(100) - spyOn(editorView.verticalScrollbar, 'scrollTop') - spyOn(editorView.renderedLines, 'css') - spyOn(editorView.gutter.lineNumbers, 'css') - - editorView.scrollTop(100) - expect(editorView.verticalScrollbar.scrollTop).not.toHaveBeenCalled() - expect(editorView.renderedLines.css).not.toHaveBeenCalled() - expect(editorView.gutter.lineNumbers.css).not.toHaveBeenCalled() - - describe "when the 'adjustVerticalScrollbar' option is false (defaults to true)", -> - it "doesn't adjust the scrollTop of the vertical scrollbar", -> - editorView.scrollTop(100, adjustVerticalScrollbar: false) - expect(editorView.verticalScrollbar.scrollTop()).toBe 0 - expect(editorView.renderedLines.css('top')).toBe "-100px" - expect(editorView.gutter.lineNumbers.css('top')).toBe "-100px" - - describe "when called with no argument", -> - it "returns the last assigned value or 0 if none has been assigned", -> - expect(editorView.scrollTop()).toBe 0 - editorView.scrollTop(50) - expect(editorView.scrollTop()).toBe 50 - - it "sets the new scroll top position on the active edit session", -> - expect(editorView.editor.getScrollTop()).toBe 0 - editorView.scrollTop(123) - expect(editorView.editor.getScrollTop()).toBe 123 - - describe ".scrollHorizontally(pixelPosition)", -> - it "sets the new scroll left position on the active edit session", -> - editorView.attachToDom(heightInLines: 5) - setEditorWidthInChars(editorView, 5) - expect(editorView.editor.getScrollLeft()).toBe 0 - editorView.scrollHorizontally(left: 50) - expect(editorView.editor.getScrollLeft()).toBeGreaterThan 0 - expect(editorView.editor.getScrollLeft()).toBe editorView.scrollLeft() - - describe "editor:attached event", -> - it 'only triggers an editor:attached event when it is first added to the DOM', -> - openHandler = jasmine.createSpy('openHandler') - editorView.on 'editor:attached', openHandler - - editorView.attachToDom() - expect(openHandler).toHaveBeenCalled() - [event, eventEditor] = openHandler.argsForCall[0] - expect(eventEditor).toBe editorView - - openHandler.reset() - editorView.attachToDom() - expect(openHandler).not.toHaveBeenCalled() - - describe "editor:path-changed event", -> - filePath = null - - beforeEach -> - filePath = path.join(temp.dir, 'something.txt') - fs.writeFileSync(filePath, filePath) - - afterEach -> - fs.removeSync(filePath) if fs.existsSync(filePath) - - it "emits event when buffer's path is changed", -> - eventHandler = jasmine.createSpy('eventHandler') - editorView.on 'editor:path-changed', eventHandler - editor.saveAs(filePath) - expect(eventHandler).toHaveBeenCalled() - - it "emits event when editor view view receives a new buffer", -> - eventHandler = jasmine.createSpy('eventHandler') - editorView.on 'editor:path-changed', eventHandler - waitsForPromise -> - atom.workspace.open(filePath).then (editor) -> - editorView.edit(editor) - - runs -> - expect(eventHandler).toHaveBeenCalled() - - it "stops listening to events on previously set buffers", -> - eventHandler = jasmine.createSpy('eventHandler') - oldBuffer = editor.getBuffer() - newEditor = null - - waitsForPromise -> - atom.workspace.open(filePath).then (o) -> newEditor = o - - runs -> - editorView.on 'editor:path-changed', eventHandler - - editorView.edit(newEditor) - expect(eventHandler).toHaveBeenCalled() - - eventHandler.reset() - oldBuffer.saveAs(path.join(temp.dir, 'atom-bad.txt')) - expect(eventHandler).not.toHaveBeenCalled() - - eventHandler.reset() - newEditor.getBuffer().saveAs(path.join(temp.dir, 'atom-new.txt')) - expect(eventHandler).toHaveBeenCalled() - - it "loads the grammar for the new path", -> - expect(editor.getGrammar().name).toBe 'JavaScript' - editor.getBuffer().saveAs(filePath) - expect(editor.getGrammar().name).toBe 'Plain Text' - - describe "font family", -> - beforeEach -> - expect(editorView.css('font-family')).toBe 'Courier' - - it "when there is no config in fontFamily don't set it", -> - atom.config.set('editor.fontFamily', null) - expect(editorView.css('font-family')).toBe '' - - describe "when the font family changes", -> - [fontFamily] = [] - - beforeEach -> - if process.platform is 'darwin' - fontFamily = "PCMyungjo" - else - fontFamily = "Consolas" - - it "updates the font family of editors and recalculates dimensions critical to cursor positioning", -> - editorView.attachToDom(12) - lineHeightBefore = editorView.lineHeight - charWidthBefore = editorView.charWidth - editor.setCursorScreenPosition [5, 6] - - atom.config.set("editor.fontFamily", fontFamily) - expect(editorView.css('font-family')).toBe fontFamily - expect(editorView.charWidth).not.toBe charWidthBefore - expect(editorView.getCursorView().position()).toEqual { top: 5 * editorView.lineHeight, left: 6 * editorView.charWidth } - - newEditor = new EditorView(editorView.editor.copy()) - newEditor.attachToDom() - expect(newEditor.css('font-family')).toBe fontFamily - - describe "font size", -> - beforeEach -> - expect(editorView.css('font-size')).not.toBe "20px" - expect(editorView.css('font-size')).not.toBe "10px" - - it "sets the initial font size based on the value from config", -> - expect(editorView.css('font-size')).toBe "#{atom.config.get('editor.fontSize')}px" - - describe "when the font size changes", -> - it "updates the font sizes of editors and recalculates dimensions critical to cursor positioning", -> - atom.config.set("editor.fontSize", 10) - editorView.attachToDom() - lineHeightBefore = editorView.lineHeight - charWidthBefore = editorView.charWidth - editor.setCursorScreenPosition [5, 6] - - atom.config.set("editor.fontSize", 30) - expect(editorView.css('font-size')).toBe '30px' - expect(editorView.lineHeight).toBeGreaterThan lineHeightBefore - expect(editorView.charWidth).toBeGreaterThan charWidthBefore - expect(editorView.getCursorView().position()).toEqual { top: 5 * editorView.lineHeight, left: 6 * editorView.charWidth } - expect(editorView.renderedLines.outerHeight()).toBe buffer.getLineCount() * editorView.lineHeight - expect(editorView.verticalScrollbarContent.height()).toBe buffer.getLineCount() * editorView.lineHeight - - newEditor = new EditorView(editorView.editor.copy()) - editorView.remove() - newEditor.attachToDom() - expect(newEditor.css('font-size')).toBe '30px' - - it "updates the position and size of selection regions", -> - atom.config.set("editor.fontSize", 10) - editor.setSelectedBufferRange([[5, 2], [5, 7]]) - editorView.attachToDom() - - atom.config.set("editor.fontSize", 30) - selectionRegion = editorView.find('.region') - expect(selectionRegion.position().top).toBe 5 * editorView.lineHeight - expect(selectionRegion.position().left).toBe 2 * editorView.charWidth - expect(selectionRegion.height()).toBe editorView.lineHeight - expect(selectionRegion.width()).toBe 5 * editorView.charWidth - - it "updates lines if there are unrendered lines", -> - editorView.attachToDom(heightInLines: 5) - originalLineCount = editorView.renderedLines.find(".line").length - expect(originalLineCount).toBeGreaterThan 0 - - atom.config.set("editor.fontSize", 10) - expect(editorView.renderedLines.find(".line").length).toBeGreaterThan originalLineCount - - describe "when the font size changes while editor view view is detached", -> - it "redraws the editor view view according to the new font size when it is reattached", -> - editor.setCursorScreenPosition([4, 2]) - editorView.attachToDom() - initialLineHeight = editorView.lineHeight - initialCharWidth = editorView.charWidth - initialCursorPosition = editorView.getCursorView().position() - initialScrollbarHeight = editorView.verticalScrollbarContent.height() - editorView.detach() - - atom.config.set("editor.fontSize", 10) - expect(editorView.lineHeight).toBe initialLineHeight - expect(editorView.charWidth).toBe initialCharWidth - - editorView.attachToDom() - expect(editorView.lineHeight).not.toBe initialLineHeight - expect(editorView.charWidth).not.toBe initialCharWidth - expect(editorView.getCursorView().position()).not.toEqual initialCursorPosition - expect(editorView.verticalScrollbarContent.height()).not.toBe initialScrollbarHeight - - describe "mouse events", -> - beforeEach -> - editorView.attachToDom() - editorView.css(position: 'absolute', top: 10, left: 10, width: 400) - - describe "single-click", -> - it "re-positions the cursor to the clicked row / column", -> - expect(editor.getCursorScreenPosition()).toEqual(row: 0, column: 0) - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [3, 10]) - expect(editor.getCursorScreenPosition()).toEqual(row: 3, column: 10) - - describe "when the lines are scrolled to the right", -> - it "re-positions the cursor on the clicked location", -> - setEditorWidthInChars(editorView, 30) - expect(editor.getCursorScreenPosition()).toEqual(row: 0, column: 0) - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [3, 30]) # scrolls lines to the right - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [3, 50]) - expect(editor.getCursorBufferPosition()).toEqual(row: 3, column: 50) - - describe "when the editor view view is using a variable-width font", -> - beforeEach -> - editorView.setFontFamily('sans-serif') - - it "positions the cursor to the clicked row and column", -> - {top, left} = editorView.pixelOffsetForScreenPosition([3, 30]) - editorView.renderedLines.trigger mousedownEvent(pageX: left, pageY: top) - expect(editor.getCursorScreenPosition()).toEqual [3, 30] - - describe "double-click", -> - it "selects the word under the cursor, and expands the selection wordwise in either direction on a subsequent shift-click", -> - expect(editor.getCursorScreenPosition()).toEqual(row: 0, column: 0) - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [8, 24], originalEvent: {detail: 1}) - editorView.renderedLines.trigger 'mouseup' - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [8, 24], originalEvent: {detail: 2}) - editorView.renderedLines.trigger 'mouseup' - expect(editor.getSelectedText()).toBe "concat" - - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [8, 7], shiftKey: true) - editorView.renderedLines.trigger 'mouseup' - - expect(editor.getSelectedText()).toBe "return sort(left).concat" - - it "stops selecting by word when the selection is emptied", -> - expect(editor.getCursorScreenPosition()).toEqual(row: 0, column: 0) - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [0, 8], originalEvent: {detail: 1}) - editorView.renderedLines.trigger 'mouseup' - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [0, 8], originalEvent: {detail: 2}) - editorView.renderedLines.trigger 'mouseup' - expect(editor.getSelectedText()).toBe "quicksort" - - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [3, 10]) - editorView.renderedLines.trigger 'mouseup' - - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [3, 12], originalEvent: {detail: 1}, shiftKey: true) - expect(editor.getSelectedBufferRange()).toEqual [[3, 10], [3, 12]] - - it "stops selecting by word when another selection is made", -> - expect(editor.getCursorScreenPosition()).toEqual(row: 0, column: 0) - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [0, 8], originalEvent: {detail: 1}) - editorView.renderedLines.trigger 'mouseup' - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [0, 8], originalEvent: {detail: 2}) - editorView.renderedLines.trigger 'mouseup' - expect(editor.getSelectedText()).toBe "quicksort" - - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [3, 10]) - editorView.renderedLines.trigger mousemoveEvent(editorView: editorView, point: [3, 12], which: 1) - editorView.renderedLines.trigger 'mouseup' - - expect(editor.getSelectedBufferRange()).toEqual [[3, 10], [3, 12]] - - describe "when double-clicking between a word and a non-word", -> - it "selects the word", -> - expect(editor.getCursorScreenPosition()).toEqual(row: 0, column: 0) - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [1, 21], originalEvent: {detail: 1}) - editorView.renderedLines.trigger 'mouseup' - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [1, 21], originalEvent: {detail: 2}) - editorView.renderedLines.trigger 'mouseup' - expect(editor.getSelectedText()).toBe "function" - - editor.setCursorBufferPosition([0, 0]) - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [1, 22], originalEvent: {detail: 1}) - editorView.renderedLines.trigger 'mouseup' - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [1, 22], originalEvent: {detail: 2}) - editorView.renderedLines.trigger 'mouseup' - expect(editor.getSelectedText()).toBe "items" - - editor.setCursorBufferPosition([0, 0]) - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [0, 28], originalEvent: {detail: 1}) - editorView.renderedLines.trigger 'mouseup' - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [0, 28], originalEvent: {detail: 2}) - editorView.renderedLines.trigger 'mouseup' - expect(editor.getSelectedText()).toBe "{" - - describe "when double-clicking on whitespace", -> - it "selects all adjacent whitespace", -> - editor.setText(" some text ") - editor.setCursorBufferPosition([0, 2]) - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [0, 2], originalEvent: {detail: 1}) - editorView.renderedLines.trigger 'mouseup' - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [0, 2], originalEvent: {detail: 2}) - editorView.renderedLines.trigger 'mouseup' - expect(editor.getSelectedBufferRange()).toEqual [[0, 0], [0, 3]] - - editor.setCursorBufferPosition([0, 8]) - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [0, 8], originalEvent: {detail: 1}) - editorView.renderedLines.trigger 'mouseup' - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [0, 8], originalEvent: {detail: 2}) - editorView.renderedLines.trigger 'mouseup' - expect(editor.getSelectedBufferRange()).toEqual [[0, 7], [0, 9]] - - editor.setCursorBufferPosition([0, 14]) - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [0, 14], originalEvent: {detail: 1}) - editorView.renderedLines.trigger 'mouseup' - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [0, 14], originalEvent: {detail: 2}) - editorView.renderedLines.trigger 'mouseup' - expect(editor.getSelectedBufferRange()).toEqual [[0, 13], [0, 17]] - - describe "triple/quardruple/etc-click", -> - it "selects the line under the cursor", -> - expect(editor.getCursorScreenPosition()).toEqual(row: 0, column: 0) - - # Triple click - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [1, 8], originalEvent: {detail: 1}) - editorView.renderedLines.trigger 'mouseup' - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [1, 8], originalEvent: {detail: 2}) - editorView.renderedLines.trigger 'mouseup' - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [1, 8], originalEvent: {detail: 3}) - editorView.renderedLines.trigger 'mouseup' - expect(editor.getSelectedText()).toBe " var sort = function(items) {\n" - - # Quad click - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [2, 3], originalEvent: {detail: 1}) - editorView.renderedLines.trigger 'mouseup' - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [2, 3], originalEvent: {detail: 2}) - editorView.renderedLines.trigger 'mouseup' - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [2, 3], originalEvent: {detail: 3}) - editorView.renderedLines.trigger 'mouseup' - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [2, 3], originalEvent: {detail: 4}) - editorView.renderedLines.trigger 'mouseup' - expect(editor.getSelectedText()).toBe " if (items.length <= 1) return items;\n" - - it "expands the selection linewise in either direction on a subsequent shift-click, but stops selecting linewise once the selection is emptied", -> - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [4, 8], originalEvent: {detail: 1}) - editorView.renderedLines.trigger 'mouseup' - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [4, 8], originalEvent: {detail: 2}) - editorView.renderedLines.trigger 'mouseup' - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [4, 8], originalEvent: {detail: 3}) - editorView.renderedLines.trigger 'mouseup' - expect(editor.getSelectedBufferRange()).toEqual [[4, 0], [5, 0]] - - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [1, 8], originalEvent: {detail: 1}, shiftKey: true) - editorView.renderedLines.trigger 'mouseup' - expect(editor.getSelectedBufferRange()).toEqual [[1, 0], [5, 0]] - - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [2, 8], originalEvent: {detail: 1}) - editorView.renderedLines.trigger 'mouseup' - expect(editor.getSelection().isEmpty()).toBeTruthy() - - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [3, 8], originalEvent: {detail: 1}, shiftKey: true) - editorView.renderedLines.trigger 'mouseup' - expect(editor.getSelectedBufferRange()).toEqual [[2, 8], [3, 8]] - - describe "shift-click", -> - it "selects from the cursor's current location to the clicked location", -> - editor.setCursorScreenPosition([4, 7]) - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [5, 24], shiftKey: true) - expect(editor.getSelection().getScreenRange()).toEqual [[4, 7], [5, 24]] - - describe "shift-double-click", -> - it "expands the selection on the first click and ignores the second click", -> - editor.setCursorScreenPosition([4, 7]) - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [5, 24], shiftKey: true, originalEvent: { detail: 1 }) - editorView.renderedLines.trigger 'mouseup' - expect(editor.getSelection().getScreenRange()).toEqual [[4, 7], [5, 24]] - - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [5, 24], shiftKey: true, originalEvent: { detail: 2 }) - editorView.renderedLines.trigger 'mouseup' - expect(editor.getSelection().getScreenRange()).toEqual [[4, 7], [5, 24]] - - describe "shift-triple-click", -> - it "expands the selection on the first click and ignores the second click", -> - editor.setCursorScreenPosition([4, 7]) - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [5, 24], shiftKey: true, originalEvent: { detail: 1 }) - editorView.renderedLines.trigger 'mouseup' - expect(editor.getSelection().getScreenRange()).toEqual [[4, 7], [5, 24]] - - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [5, 24], shiftKey: true, originalEvent: { detail: 2 }) - editorView.renderedLines.trigger 'mouseup' - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [5, 24], shiftKey: true, originalEvent: { detail: 3 }) - editorView.renderedLines.trigger 'mouseup' - expect(editor.getSelection().getScreenRange()).toEqual [[4, 7], [5, 24]] - - describe "meta-click", -> - it "places an additional cursor", -> - editorView.attachToDom() - setEditorHeightInLines(editorView, 5) - editor.setCursorBufferPosition([3, 0]) - editorView.scrollTop(editorView.lineHeight * 6) - - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [6, 0], metaKey: true) - expect(editorView.scrollTop()).toBe editorView.lineHeight * (6 - editorView.vScrollMargin) - - [cursor1, cursor2] = editorView.getCursorViews() - expect(cursor1.position()).toEqual(top: 3 * editorView.lineHeight, left: 0) - expect(cursor1.getBufferPosition()).toEqual [3, 0] - expect(cursor2.position()).toEqual(top: 6 * editorView.lineHeight, left: 0) - expect(cursor2.getBufferPosition()).toEqual [6, 0] - - describe "click and drag", -> - it "creates a selection from the initial click to mouse cursor's location ", -> - editorView.attachToDom() - editorView.css(position: 'absolute', top: 10, left: 10) - - # start - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [4, 10]) - - # moving changes selection - $(document).trigger mousemoveEvent(editorView: editorView, point: [5, 27], which: 1) - - range = editor.getSelection().getScreenRange() - expect(range.start).toEqual({row: 4, column: 10}) - expect(range.end).toEqual({row: 5, column: 27}) - expect(editor.getCursorScreenPosition()).toEqual(row: 5, column: 27) - - # mouse up may occur outside of editorView, but still need to halt selection - $(document).trigger 'mouseup' - - # moving after mouse up should not change selection - editorView.renderedLines.trigger mousemoveEvent(editorView: editorView, point: [8, 8]) - - range = editor.getSelection().getScreenRange() - expect(range.start).toEqual({row: 4, column: 10}) - expect(range.end).toEqual({row: 5, column: 27}) - expect(editor.getCursorScreenPosition()).toEqual(row: 5, column: 27) - - it "selects and scrolls if the mouse is dragged outside of the editor view view itself", -> - editorView.vScrollMargin = 0 - editorView.attachToDom(heightInLines: 5) - editorView.scrollToBottom() - - spyOn(window, 'setInterval').andCallFake -> - - # start - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [12, 0]) - originalScrollTop = editorView.scrollTop() - - # moving changes selection - $(document).trigger mousemoveEvent(editorView: editorView, pageX: 0, pageY: -1, which: 1) - expect(editorView.scrollTop()).toBe originalScrollTop - editorView.lineHeight - - # every mouse move selects more text - for x in [0..10] - $(document).trigger mousemoveEvent(editorView: editorView, pageX: 0, pageY: -1, which: 1) - - expect(editorView.scrollTop()).toBe 0 - - it "ignores non left-click and drags", -> - editorView.attachToDom() - editorView.css(position: 'absolute', top: 10, left: 10) - - event = mousedownEvent(editorView: editorView, point: [4, 10]) - event.originalEvent.which = 2 - editorView.renderedLines.trigger(event) - $(document).trigger mousemoveEvent(editorView: editorView, point: [5, 27], which: 1) - $(document).trigger 'mouseup' - - range = editor.getSelection().getScreenRange() - expect(range.start).toEqual({row: 4, column: 10}) - expect(range.end).toEqual({row: 4, column: 10}) - - it "ignores ctrl-click and drags", -> - editorView.attachToDom() - editorView.css(position: 'absolute', top: 10, left: 10) - - event = mousedownEvent(editorView: editorView, point: [4, 10]) - event.ctrlKey = true - editorView.renderedLines.trigger(event) - $(document).trigger mousemoveEvent(editorView: editorView, point: [5, 27]) - $(document).trigger 'mouseup' - - range = editor.getSelection().getScreenRange() - expect(range.start).toEqual({row: 4, column: 10}) - expect(range.end).toEqual({row: 4, column: 10}) - - describe "when the editor is hidden", -> - it "stops scrolling the editor", -> - editorView.vScrollMargin = 0 - editorView.attachToDom(heightInLines: 5) - editorView.scrollToBottom() - - spyOn(window, 'setInterval').andCallFake -> - - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [12, 0]) - originalScrollTop = editorView.scrollTop() - - $(document).trigger mousemoveEvent(editorView: editorView, pageX: 0, pageY: -1, which: 1) - expect(editorView.scrollTop()).toBe originalScrollTop - editorView.lineHeight - - editorView.hide() - - $(document).trigger mousemoveEvent(editorView: editorView, pageX: 100000, pageY: -1, which: 1) - expect(editorView.scrollTop()).toBe originalScrollTop - editorView.lineHeight - - describe "double-click and drag", -> - it "selects the word under the cursor, then continues to select by word in either direction as the mouse is dragged", -> - expect(editor.getCursorScreenPosition()).toEqual(row: 0, column: 0) - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [0, 8], originalEvent: {detail: 1}) - editorView.renderedLines.trigger 'mouseup' - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [0, 8], originalEvent: {detail: 2}) - expect(editor.getSelectedText()).toBe "quicksort" - - editorView.renderedLines.trigger mousemoveEvent(editorView: editorView, point: [1, 8], which: 1) - expect(editor.getSelectedBufferRange()).toEqual [[0, 4], [1, 10]] - expect(editor.getCursorBufferPosition()).toEqual [1, 10] - - editorView.renderedLines.trigger mousemoveEvent(editorView: editorView, point: [0, 1], which: 1) - expect(editor.getSelectedBufferRange()).toEqual [[0, 0], [0, 13]] - expect(editor.getCursorBufferPosition()).toEqual [0, 0] - - editorView.renderedLines.trigger 'mouseup' - expect(editor.getSelectedBufferRange()).toEqual [[0, 0], [0, 13]] - - # shift-clicking still selects by word, but does not preserve the initial range - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [5, 25], originalEvent: {detail: 1}, shiftKey: true) - editorView.renderedLines.trigger 'mouseup' - expect(editor.getSelectedBufferRange()).toEqual [[0, 13], [5, 27]] - - describe "triple-click and drag", -> - it "expands the initial selection linewise in either direction", -> - editorView.attachToDom() - - # triple click - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [4, 7], originalEvent: {detail: 1}) - $(document).trigger 'mouseup' - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [4, 7], originalEvent: {detail: 2}) - $(document).trigger 'mouseup' - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [4, 7], originalEvent: {detail: 3}) - expect(editor.getSelectedBufferRange()).toEqual [[4, 0], [5, 0]] - - # moving changes selection linewise - editorView.renderedLines.trigger mousemoveEvent(editorView: editorView, point: [5, 27], which: 1) - expect(editor.getSelectedBufferRange()).toEqual [[4, 0], [6, 0]] - expect(editor.getCursorBufferPosition()).toEqual [6, 0] - - # moving changes selection linewise - editorView.renderedLines.trigger mousemoveEvent(editorView: editorView, point: [2, 27], which: 1) - expect(editor.getSelectedBufferRange()).toEqual [[2, 0], [5, 0]] - expect(editor.getCursorBufferPosition()).toEqual [2, 0] - - # mouse up may occur outside of editorView, but still need to halt selection - $(document).trigger 'mouseup' - - describe "meta-click and drag", -> - it "adds an additional selection", -> - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [4, 10]) - editorView.renderedLines.trigger mousemoveEvent(editorView: editorView, point: [5, 27], which: 1) - editorView.renderedLines.trigger 'mouseup' - - editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [6, 10], metaKey: true) - editorView.renderedLines.trigger mousemoveEvent(editorView: editorView, point: [8, 27], metaKey: true, which: 1) - editorView.renderedLines.trigger 'mouseup' - - selections = editor.getSelections() - expect(selections.length).toBe 2 - [selection1, selection2] = selections - expect(selection1.getScreenRange()).toEqual [[4, 10], [5, 27]] - expect(selection2.getScreenRange()).toEqual [[6, 10], [8, 27]] - - describe "mousedown on the fold icon of a foldable line number", -> - it "toggles folding on the clicked buffer row", -> - expect(editor.isFoldedAtScreenRow(1)).toBe false - editorView.gutter.find('.line-number:eq(1) .icon-right').mousedown() - expect(editor.isFoldedAtScreenRow(1)).toBe true - editorView.gutter.find('.line-number:eq(1) .icon-right').mousedown() - expect(editor.isFoldedAtScreenRow(1)).toBe false - - describe "when text input events are triggered on the hidden input element", -> - it "inserts the typed character at the cursor position, both in the buffer and the pre element", -> - editorView.attachToDom() - editor.setCursorScreenPosition(row: 1, column: 6) - - expect(buffer.lineForRow(1).charAt(6)).not.toBe 'q' - - editorView.hiddenInput.textInput 'q' - - expect(buffer.lineForRow(1).charAt(6)).toBe 'q' - expect(editor.getCursorScreenPosition()).toEqual(row: 1, column: 7) - expect(editorView.renderedLines.find('.line:eq(1)')).toHaveText buffer.lineForRow(1) - - describe "selection rendering", -> - [charWidth, lineHeight, selection, selectionView] = [] - - beforeEach -> - editorView.attachToDom() - editorView.width(500) - { charWidth, lineHeight } = editorView - selection = editor.getSelection() - selectionView = editorView.getSelectionView() - - describe "when a selection is added", -> - it "adds a selection view for it with the proper regions", -> - editorView.editor.addSelectionForBufferRange([[2, 7], [2, 25]]) - selectionViews = editorView.getSelectionViews() - expect(selectionViews.length).toBe 2 - expect(selectionViews[1].regions.length).toBe 1 - region = selectionViews[1].regions[0] - expect(region.position().top).toBeCloseTo(2 * lineHeight) - expect(region.position().left).toBeCloseTo(7 * charWidth) - expect(region.height()).toBeCloseTo lineHeight - expect(region.width()).toBeCloseTo((25 - 7) * charWidth) - - describe "when a selection changes", -> - describe "when the selection is within a single line", -> - it "covers the selection's range with a single region", -> - selection.setBufferRange([[2, 7], [2, 25]]) - - expect(selectionView.regions.length).toBe 1 - region = selectionView.regions[0] - expect(region.position().top).toBeCloseTo(2 * lineHeight) - expect(region.position().left).toBeCloseTo(7 * charWidth) - expect(region.height()).toBeCloseTo lineHeight - expect(region.width()).toBeCloseTo((25 - 7) * charWidth) - - describe "when the selection spans 2 lines", -> - it "covers the selection's range with 2 regions", -> - selection.setBufferRange([[2,7],[3,25]]) - - expect(selectionView.regions.length).toBe 2 - - region1 = selectionView.regions[0] - expect(region1.position().top).toBeCloseTo(2 * lineHeight) - expect(region1.position().left).toBeCloseTo(7 * charWidth) - expect(region1.height()).toBeCloseTo lineHeight - - expect(region1.width()).toBeCloseTo(editorView.renderedLines.outerWidth() - region1.position().left) - region2 = selectionView.regions[1] - expect(region2.position().top).toBeCloseTo(3 * lineHeight) - expect(region2.position().left).toBeCloseTo(0) - expect(region2.height()).toBeCloseTo lineHeight - expect(region2.width()).toBeCloseTo(25 * charWidth) - - describe "when the selection spans more than 2 lines", -> - it "covers the selection's range with 3 regions", -> - selection.setBufferRange([[2,7],[6,25]]) - - expect(selectionView.regions.length).toBe 3 - - region1 = selectionView.regions[0] - expect(region1.position().top).toBeCloseTo(2 * lineHeight) - expect(region1.position().left).toBeCloseTo(7 * charWidth) - expect(region1.height()).toBeCloseTo lineHeight - - expect(region1.width()).toBeCloseTo(editorView.renderedLines.outerWidth() - region1.position().left) - region2 = selectionView.regions[1] - expect(region2.position().top).toBeCloseTo(3 * lineHeight) - expect(region2.position().left).toBeCloseTo(0) - expect(region2.height()).toBeCloseTo(3 * lineHeight) - expect(region2.width()).toBeCloseTo(editorView.renderedLines.outerWidth()) - - # resizes with the editorView - expect(editorView.width()).toBeLessThan(800) - editorView.width(800) - editorView.resize() # call to trigger the resize event. - - region2 = selectionView.regions[1] - expect(region2.width()).toBe(editorView.renderedLines.outerWidth()) - - region3 = selectionView.regions[2] - expect(region3.position().top).toBeCloseTo(6 * lineHeight) - expect(region3.position().left).toBeCloseTo(0) - expect(region3.height()).toBeCloseTo lineHeight - expect(region3.width()).toBeCloseTo(25 * charWidth) - - it "clears previously drawn regions before creating new ones", -> - selection.setBufferRange([[2,7],[4,25]]) - expect(selectionView.regions.length).toBe 3 - expect(selectionView.find('.region').length).toBe 3 - - selectionView.updateDisplay() - expect(selectionView.regions.length).toBe 3 - expect(selectionView.find('.region').length).toBe 3 - - describe "when a selection merges with another selection", -> - it "removes the merged selection view", -> - editor = editorView.editor - editor.setCursorScreenPosition([4, 10]) - editor.selectToScreenPosition([5, 27]) - editor.addCursorAtScreenPosition([3, 10]) - editor.selectToScreenPosition([6, 27]) - - expect(editorView.getSelectionViews().length).toBe 1 - expect(editorView.find('.region').length).toBe 3 - - describe "when a selection is added and removed before the display is updated", -> - it "does not attempt to render the selection", -> - # don't update display until we request it - jasmine.unspy(editorView, 'requestDisplayUpdate') - spyOn(editorView, 'requestDisplayUpdate') - - editor = editorView.editor - selection = editor.addSelectionForBufferRange([[3, 0], [3, 4]]) - selection.destroy() - editorView.updateDisplay() - expect(editorView.getSelectionViews().length).toBe 1 - - describe "when the selection is created with the selectAll event", -> - it "does not scroll to the end of the buffer", -> - editorView.height(150) - editor.selectAll() - expect(editorView.scrollTop()).toBe 0 - - # regression: does not scroll the scroll view when the editorView is refocused - editorView.hiddenInput.blur() - editorView.hiddenInput.focus() - expect(editorView.scrollTop()).toBe 0 - expect(editorView.scrollView.scrollTop()).toBe 0 - - # does autoscroll when the selection is cleared - editor.moveCursorDown() - expect(editorView.scrollTop()).toBeGreaterThan(0) - - describe "selection autoscrolling and highlighting when setting selected buffer range", -> - beforeEach -> - setEditorHeightInLines(editorView, 4) - - describe "if autoscroll is true", -> - it "centers the viewport on the selection if its vertical center is currently offscreen", -> - editor.setSelectedBufferRange([[2, 0], [4, 0]], autoscroll: true) - expect(editorView.scrollTop()).toBe 0 - - editor.setSelectedBufferRange([[6, 0], [8, 0]], autoscroll: true) - expect(editorView.scrollTop()).toBe 5 * editorView.lineHeight - - it "highlights the selection if autoscroll is true", -> - editor.setSelectedBufferRange([[2, 0], [4, 0]], autoscroll: true) - expect(editorView.getSelectionView()).toHaveClass 'highlighted' - advanceClock(1000) - expect(editorView.getSelectionView()).not.toHaveClass 'highlighted' - - editor.setSelectedBufferRange([[3, 0], [5, 0]], autoscroll: true) - expect(editorView.getSelectionView()).toHaveClass 'highlighted' - - advanceClock(500) - spyOn(editorView.getSelectionView(), 'removeClass').andCallThrough() - editor.setSelectedBufferRange([[2, 0], [4, 0]], autoscroll: true) - expect(editorView.getSelectionView().removeClass).toHaveBeenCalledWith('highlighted') - expect(editorView.getSelectionView()).toHaveClass 'highlighted' - - advanceClock(500) - expect(editorView.getSelectionView()).toHaveClass 'highlighted' - - describe "if autoscroll is false", -> - it "does not scroll to the selection or the cursor", -> - editorView.scrollToBottom() - scrollTopBefore = editorView.scrollTop() - editor.setSelectedBufferRange([[0, 0], [1, 0]], autoscroll: false) - expect(editorView.scrollTop()).toBe scrollTopBefore - - describe "if autoscroll is not specified", -> - it "autoscrolls to the cursor as normal", -> - editorView.scrollToBottom() - editor.setSelectedBufferRange([[0, 0], [1, 0]]) - expect(editorView.scrollTop()).toBe 0 - - describe "cursor rendering", -> - describe "when the cursor moves", -> - charWidth = null - - beforeEach -> - editorView.attachToDom() - editorView.vScrollMargin = 3 - editorView.hScrollMargin = 5 - {charWidth} = editorView - - it "repositions the cursor's view on screen", -> - editor.setCursorScreenPosition(row: 2, column: 2) - expect(editorView.getCursorView().position()).toEqual(top: 2 * editorView.lineHeight, left: 2 * editorView.charWidth) - - it "hides the cursor when the selection is non-empty, and shows it otherwise", -> - cursorView = editorView.getCursorView() - expect(editor.getSelection().isEmpty()).toBeTruthy() - expect(cursorView).toBeVisible() - - editor.setSelectedBufferRange([[0, 0], [3, 0]]) - expect(editor.getSelection().isEmpty()).toBeFalsy() - expect(cursorView).toBeHidden() - - editor.setCursorBufferPosition([1, 3]) - expect(editor.getSelection().isEmpty()).toBeTruthy() - expect(cursorView).toBeVisible() - - it "moves the hiddenInput to the same position with cursor's view", -> - editor.setCursorScreenPosition(row: 2, column: 2) - expect(editorView.getCursorView().offset()).toEqual(editorView.hiddenInput.offset()) - - describe "when the editor view is using a variable-width font", -> - beforeEach -> - editorView.setFontFamily('sans-serif') - - describe "on #darwin or #linux", -> - it "correctly positions the cursor", -> - editor.setCursorBufferPosition([3, 30]) - expect(editorView.getCursorView().position()).toEqual {top: 3 * editorView.lineHeight, left: 178} - editor.setCursorBufferPosition([3, Infinity]) - expect(editorView.getCursorView().position()).toEqual {top: 3 * editorView.lineHeight, left: 353} - - describe "on #win32", -> - it "correctly positions the cursor", -> - editor.setCursorBufferPosition([3, 30]) - expect(editorView.getCursorView().position()).toEqual {top: 3 * editorView.lineHeight, left: 175} - editor.setCursorBufferPosition([3, Infinity]) - expect(editorView.getCursorView().position()).toEqual {top: 3 * editorView.lineHeight, left: 346} - - describe "autoscrolling", -> - it "only autoscrolls when the last cursor is moved", -> - editor.setCursorBufferPosition([11,0]) - editor.addCursorAtBufferPosition([6,50]) - [cursor1, cursor2] = editor.getCursors() - - spyOn(editorView, 'scrollToPixelPosition') - cursor1.setScreenPosition([10, 10]) - expect(editorView.scrollToPixelPosition).not.toHaveBeenCalled() - - cursor2.setScreenPosition([11, 11]) - expect(editorView.scrollToPixelPosition).toHaveBeenCalled() - - it "does not autoscroll if the 'autoscroll' option is false", -> - editor.setCursorBufferPosition([11,0]) - spyOn(editorView, 'scrollToPixelPosition') - editor.setCursorScreenPosition([10, 10], autoscroll: false) - expect(editorView.scrollToPixelPosition).not.toHaveBeenCalled() - - it "autoscrolls to cursor if autoscroll is true, even if the position does not change", -> - spyOn(editorView, 'scrollToPixelPosition') - editor.setCursorScreenPosition([4, 10], autoscroll: false) - editor.setCursorScreenPosition([4, 10]) - expect(editorView.scrollToPixelPosition).toHaveBeenCalled() - editorView.scrollToPixelPosition.reset() - - editor.setCursorBufferPosition([4, 10]) - expect(editorView.scrollToPixelPosition).toHaveBeenCalled() - - it "does not autoscroll the cursor based on a buffer change, unless the buffer change was initiated by the cursor", -> - lastVisibleRow = editorView.getLastVisibleScreenRow() - editor.addCursorAtBufferPosition([lastVisibleRow, 0]) - spyOn(editorView, 'scrollToPixelPosition') - buffer.insert([lastVisibleRow, 0], "\n\n") - expect(editorView.scrollToPixelPosition).not.toHaveBeenCalled() - editor.insertText('\n\n') - expect(editorView.scrollToPixelPosition.callCount).toBe 1 - - it "autoscrolls on undo/redo", -> - spyOn(editorView, 'scrollToPixelPosition') - editor.insertText('\n\n') - expect(editorView.scrollToPixelPosition.callCount).toBe 1 - editor.undo() - expect(editorView.scrollToPixelPosition.callCount).toBe 2 - editor.redo() - expect(editorView.scrollToPixelPosition.callCount).toBe 3 - - describe "when the last cursor exceeds the upper or lower scroll margins", -> - describe "when the editor view is taller than twice the vertical scroll margin", -> - it "sets the scrollTop so the cursor remains within the scroll margin", -> - setEditorHeightInLines(editorView, 10) - - _.times 6, -> editor.moveCursorDown() - expect(editorView.scrollTop()).toBe(0) - - editor.moveCursorDown() - expect(editorView.scrollTop()).toBe(editorView.lineHeight) - - editor.moveCursorDown() - expect(editorView.scrollTop()).toBe(editorView.lineHeight * 2) - - _.times 3, -> editor.moveCursorUp() - - editor.moveCursorUp() - expect(editorView.scrollTop()).toBe(editorView.lineHeight) - - editor.moveCursorUp() - expect(editorView.scrollTop()).toBe(0) - - describe "when the editor view is shorter than twice the vertical scroll margin", -> - it "sets the scrollTop based on a reduced scroll margin, which prevents a jerky tug-of-war between upper and lower scroll margins", -> - setEditorHeightInLines(editorView, 5) - - _.times 3, -> editor.moveCursorDown() - - expect(editorView.scrollTop()).toBe(editorView.lineHeight) - - editor.moveCursorUp() - expect(editorView.renderedLines.css('top')).toBe "0px" - - describe "when the last cursor exceeds the right or left scroll margins", -> - describe "when soft-wrap is disabled", -> - describe "when the editor view is wider than twice the horizontal scroll margin", -> - it "sets the scrollView's scrollLeft so the cursor remains within the scroll margin", -> - setEditorWidthInChars(editorView, 30) - - # moving right - editor.setCursorScreenPosition([2, 24]) - expect(editorView.scrollLeft()).toBe 0 - - editor.setCursorScreenPosition([2, 25]) - expect(editorView.scrollLeft()).toBe charWidth - - editor.setCursorScreenPosition([2, 28]) - expect(editorView.scrollLeft()).toBe charWidth * 4 - - # moving left - editor.setCursorScreenPosition([2, 9]) - expect(editorView.scrollLeft()).toBe charWidth * 4 - - editor.setCursorScreenPosition([2, 8]) - expect(editorView.scrollLeft()).toBe charWidth * 3 - - editor.setCursorScreenPosition([2, 5]) - expect(editorView.scrollLeft()).toBe 0 - - describe "when the editor view is narrower than twice the horizontal scroll margin", -> - it "sets the scrollView's scrollLeft based on a reduced horizontal scroll margin, to prevent a jerky tug-of-war between right and left scroll margins", -> - editorView.hScrollMargin = 6 - setEditorWidthInChars(editorView, 7) - - editor.setCursorScreenPosition([2, 3]) - window.advanceClock() - expect(editorView.scrollLeft()).toBe(0) - - editor.setCursorScreenPosition([2, 4]) - window.advanceClock() - expect(editorView.scrollLeft()).toBe(charWidth) - - editor.setCursorScreenPosition([2, 3]) - window.advanceClock() - expect(editorView.scrollLeft()).toBe(0) - - describe "when soft-wrap is enabled", -> - beforeEach -> - editor.setSoftWrap(true) - - it "does not scroll the buffer horizontally", -> - editorView.width(charWidth * 30) - - # moving right - editor.setCursorScreenPosition([2, 24]) - expect(editorView.scrollLeft()).toBe 0 - - editor.setCursorScreenPosition([2, 25]) - expect(editorView.scrollLeft()).toBe 0 - - editor.setCursorScreenPosition([2, 28]) - expect(editorView.scrollLeft()).toBe 0 - - # moving left - editor.setCursorScreenPosition([2, 9]) - expect(editorView.scrollLeft()).toBe 0 - - editor.setCursorScreenPosition([2, 8]) - expect(editorView.scrollLeft()).toBe 0 - - editor.setCursorScreenPosition([2, 5]) - expect(editorView.scrollLeft()).toBe 0 - - describe "when editor:toggle-soft-wrap is toggled", -> - describe "when the text exceeds the editor view width and the scroll-view is horizontally scrolled", -> - it "wraps the text and renders properly", -> - editorView.attachToDom(heightInLines: 30, widthInChars: 30) - editorView.setWidthInChars(100) - editor.setText("Fashion axe umami jean shorts retro hashtag carles mumblecore. Photo booth skateboard Austin gentrify occupy ethical. Food truck gastropub keffiyeh, squid deep v pinterest literally sustainable salvia scenester messenger bag. Neutra messenger bag flexitarian four loko, shoreditch VHS pop-up tumblr seitan synth master cleanse. Marfa selvage ugh, raw denim authentic try-hard mcsweeney's trust fund fashion axe actually polaroid viral sriracha. Banh mi marfa plaid single-origin coffee. Pickled mumblecore lomo ugh bespoke.") - editorView.scrollLeft(editorView.charWidth * 30) - editorView.trigger "editor:toggle-soft-wrap" - expect(editorView.scrollLeft()).toBe 0 - expect(editorView.editor.getSoftWrapColumn()).not.toBe 100 - - describe "text rendering", -> - describe "when all lines in the buffer are visible on screen", -> - beforeEach -> - editorView.attachToDom() - expect(editorView.trueHeight()).toBeCloseTo buffer.getLineCount() * editorView.lineHeight - - it "creates a line element for each line in the buffer with the html-escaped text of the line", -> - expect(editorView.renderedLines.find('.line').length).toEqual(buffer.getLineCount()) - expect(buffer.lineForRow(2)).toContain('<') - expect(editorView.renderedLines.find('.line:eq(2)').html()).toContain '<' - - # renders empty lines with a non breaking space - expect(buffer.lineForRow(10)).toBe '' - expect(editorView.renderedLines.find('.line:eq(10)').html()).toBe ' ' - - it "syntax highlights code based on the file type", -> - line0 = editorView.renderedLines.find('.line:first') - span0 = line0.children('span:eq(0)') - expect(span0).toMatchSelector '.source.js' - expect(span0.children('span:eq(0)')).toMatchSelector '.storage.modifier.js' - expect(span0.children('span:eq(0)').text()).toBe 'var' - - span0_1 = span0.children('span:eq(1)') - expect(span0_1).toMatchSelector '.meta.function.js' - expect(span0_1.text()).toBe 'quicksort = function ()' - expect(span0_1.children('span:eq(0)')).toMatchSelector '.entity.name.function.js' - expect(span0_1.children('span:eq(0)').text()).toBe "quicksort" - expect(span0_1.children('span:eq(1)')).toMatchSelector '.keyword.operator.js' - expect(span0_1.children('span:eq(1)').text()).toBe "=" - expect(span0_1.children('span:eq(2)')).toMatchSelector '.storage.type.function.js' - expect(span0_1.children('span:eq(2)').text()).toBe "function" - expect(span0_1.children('span:eq(3)')).toMatchSelector '.punctuation.definition.parameters.begin.js' - expect(span0_1.children('span:eq(3)').text()).toBe "(" - expect(span0_1.children('span:eq(4)')).toMatchSelector '.punctuation.definition.parameters.end.js' - expect(span0_1.children('span:eq(4)').text()).toBe ")" - - expect(span0.children('span:eq(2)')).toMatchSelector '.meta.brace.curly.js' - expect(span0.children('span:eq(2)').text()).toBe "{" - - line12 = editorView.renderedLines.find('.line:eq(11)').children('span:eq(0)') - expect(line12.children('span:eq(1)')).toMatchSelector '.keyword' - - it "wraps hard tabs in a span", -> - editor.setText('\t<- hard tab') - line0 = editorView.renderedLines.find('.line:first') - span0_0 = line0.children('span:eq(0)').children('span:eq(0)') - expect(span0_0).toMatchSelector '.hard-tab' - expect(span0_0.text()).toBe ' ' - expect(span0_0.text().length).toBe editor.getTabLength() - - it "wraps leading whitespace in a span", -> - line1 = editorView.renderedLines.find('.line:eq(1)') - span0_0 = line1.children('span:eq(0)').children('span:eq(0)') - expect(span0_0).toMatchSelector '.leading-whitespace' - expect(span0_0.text()).toBe ' ' - - describe "when the line has trailing whitespace", -> - it "wraps trailing whitespace in a span", -> - editor.setText('trailing whitespace -> ') - line0 = editorView.renderedLines.find('.line:first') - span0_last = line0.children('span:eq(0)').children('span:last') - expect(span0_last).toMatchSelector '.trailing-whitespace' - expect(span0_last.text()).toBe ' ' - - describe "when lines are updated in the buffer", -> - it "syntax highlights the updated lines", -> - expect(editorView.renderedLines.find('.line:eq(0) > span:first > span:first')).toMatchSelector '.storage.modifier.js' - buffer.insert([0, 0], "q") - expect(editorView.renderedLines.find('.line:eq(0) > span:first > span:first')).not.toMatchSelector '.storage.modifier.js' - - # verify that re-highlighting can occur below the changed line - buffer.insert([5,0], "/* */") - buffer.insert([1,0], "/*") - expect(editorView.renderedLines.find('.line:eq(2) > span:first > span:first')).toMatchSelector '.comment' - - describe "when some lines at the end of the buffer are not visible on screen", -> - beforeEach -> - editorView.attachToDom(heightInLines: 5.5) - - it "only renders the visible lines plus the overdrawn lines, setting the padding-bottom of the lines element to account for the missing lines", -> - expect(editorView.renderedLines.find('.line').length).toBe 8 - expectedPaddingBottom = (buffer.getLineCount() - 8) * editorView.lineHeight - expect(editorView.renderedLines.css('padding-bottom')).toBe "#{expectedPaddingBottom}px" - expect(editorView.renderedLines.find('.line:first').text()).toBe buffer.lineForRow(0) - expect(editorView.renderedLines.find('.line:last').text()).toBe buffer.lineForRow(7) - - it "renders additional lines when the editor view is resized", -> - setEditorHeightInLines(editorView, 10) - $(window).trigger 'resize' - - expect(editorView.renderedLines.find('.line').length).toBe 12 - expect(editorView.renderedLines.find('.line:first').text()).toBe buffer.lineForRow(0) - expect(editorView.renderedLines.find('.line:last').text()).toBe buffer.lineForRow(11) - - it "renders correctly when scrolling after text is added to the buffer", -> - editor.insertText("1\n") - _.times 4, -> editor.moveCursorDown() - expect(editorView.renderedLines.find('.line:eq(2)').text()).toBe editor.lineForBufferRow(2) - expect(editorView.renderedLines.find('.line:eq(7)').text()).toBe editor.lineForBufferRow(7) - - it "renders correctly when scrolling after text is removed from buffer", -> - editor.getBuffer().delete([[0,0],[1,0]]) - expect(editorView.renderedLines.find('.line:eq(0)').text()).toBe editor.lineForBufferRow(0) - expect(editorView.renderedLines.find('.line:eq(5)').text()).toBe editor.lineForBufferRow(5) - - editorView.scrollTop(3 * editorView.lineHeight) - expect(editorView.renderedLines.find('.line:first').text()).toBe editor.lineForBufferRow(1) - expect(editorView.renderedLines.find('.line:last').text()).toBe editor.lineForBufferRow(10) - - describe "when creating and destroying folds that are longer than the visible lines", -> - describe "when the cursor precedes the fold when it is destroyed", -> - it "renders lines and line numbers correctly", -> - scrollHeightBeforeFold = editorView.scrollView.prop('scrollHeight') - fold = editor.createFold(1, 9) - fold.destroy() - expect(editorView.scrollView.prop('scrollHeight')).toBe scrollHeightBeforeFold - - expect(editorView.renderedLines.find('.line').length).toBe 8 - expect(editorView.renderedLines.find('.line:last').text()).toBe buffer.lineForRow(7) - - expect(editorView.gutter.find('.line-number').length).toBe 8 - expect(editorView.gutter.find('.line-number:last').intValue()).toBe 8 - - editorView.scrollTop(4 * editorView.lineHeight) - expect(editorView.renderedLines.find('.line').length).toBe 10 - expect(editorView.renderedLines.find('.line:last').text()).toBe buffer.lineForRow(11) - - describe "when the cursor follows the fold when it is destroyed", -> - it "renders lines and line numbers correctly", -> - fold = editor.createFold(1, 9) - editor.setCursorBufferPosition([10, 0]) - fold.destroy() - - expect(editorView.renderedLines.find('.line').length).toBe 8 - expect(editorView.renderedLines.find('.line:last').text()).toBe buffer.lineForRow(12) - - expect(editorView.gutter.find('.line-number').length).toBe 8 - expect(editorView.gutter.find('.line-number:last').text()).toBe '13' - - editorView.scrollTop(4 * editorView.lineHeight) - - expect(editorView.renderedLines.find('.line').length).toBe 10 - expect(editorView.renderedLines.find('.line:last').text()).toBe buffer.lineForRow(11) - - describe "when scrolling vertically", -> - describe "when scrolling less than the editor view's height", -> - it "draws new lines and removes old lines when the last visible line will exceed the last rendered line", -> - expect(editorView.renderedLines.find('.line').length).toBe 8 - - editorView.scrollTop(editorView.lineHeight * 1.5) - expect(editorView.renderedLines.find('.line').length).toBe 8 - expect(editorView.renderedLines.find('.line:first').text()).toBe buffer.lineForRow(0) - expect(editorView.renderedLines.find('.line:last').text()).toBe buffer.lineForRow(7) - - editorView.scrollTop(editorView.lineHeight * 3.5) # first visible row will be 3, last will be 8 - expect(editorView.renderedLines.find('.line').length).toBe 10 - expect(editorView.renderedLines.find('.line:first').text()).toBe buffer.lineForRow(1) - expect(editorView.renderedLines.find('.line:last').html()).toBe ' ' # line 10 is blank - expect(editorView.gutter.find('.line-number:first').intValue()).toBe 2 - expect(editorView.gutter.find('.line-number:last').intValue()).toBe 11 - - # here we don't scroll far enough to trigger additional rendering - editorView.scrollTop(editorView.lineHeight * 5.5) # first visible row will be 5, last will be 10 - expect(editorView.renderedLines.find('.line').length).toBe 10 - expect(editorView.renderedLines.find('.line:first').text()).toBe buffer.lineForRow(1) - expect(editorView.renderedLines.find('.line:last').html()).toBe ' ' # line 10 is blank - expect(editorView.gutter.find('.line-number:first').intValue()).toBe 2 - expect(editorView.gutter.find('.line-number:last').intValue()).toBe 11 - - editorView.scrollTop(editorView.lineHeight * 7.5) # first visible row is 7, last will be 12 - expect(editorView.renderedLines.find('.line').length).toBe 8 - expect(editorView.renderedLines.find('.line:first').text()).toBe buffer.lineForRow(5) - expect(editorView.renderedLines.find('.line:last').text()).toBe buffer.lineForRow(12) - - editorView.scrollTop(editorView.lineHeight * 3.5) # first visible row will be 3, last will be 8 - expect(editorView.renderedLines.find('.line').length).toBe 10 - expect(editorView.renderedLines.find('.line:first').text()).toBe buffer.lineForRow(1) - expect(editorView.renderedLines.find('.line:last').html()).toBe ' ' # line 10 is blank - - editorView.scrollTop(0) - expect(editorView.renderedLines.find('.line').length).toBe 8 - expect(editorView.renderedLines.find('.line:first').text()).toBe buffer.lineForRow(0) - expect(editorView.renderedLines.find('.line:last').text()).toBe buffer.lineForRow(7) - - describe "when scrolling more than the editors height", -> - it "removes lines that are offscreen and not in range of the overdraw and builds lines that become visible", -> - editorView.scrollTop(editorView.layerHeight - editorView.scrollView.height()) - expect(editorView.renderedLines.find('.line').length).toBe 8 - expect(editorView.renderedLines.find('.line:first').text()).toBe buffer.lineForRow(5) - expect(editorView.renderedLines.find('.line:last').text()).toBe buffer.lineForRow(12) - - editorView.verticalScrollbar.scrollBottom(0) - editorView.verticalScrollbar.trigger 'scroll' - expect(editorView.renderedLines.find('.line').length).toBe 8 - expect(editorView.renderedLines.find('.line:first').text()).toBe buffer.lineForRow(0) - expect(editorView.renderedLines.find('.line:last').text()).toBe buffer.lineForRow(7) - - it "adjusts the vertical padding of the lines element to account for non-rendered lines", -> - editorView.scrollTop(editorView.lineHeight * 3) - firstVisibleBufferRow = 3 - expectedPaddingTop = (firstVisibleBufferRow - editorView.lineOverdraw) * editorView.lineHeight - expect(editorView.renderedLines.css('padding-top')).toBe "#{expectedPaddingTop}px" - - lastVisibleBufferRow = Math.ceil(3 + 5.5) # scroll top in lines + height in lines - lastOverdrawnRow = lastVisibleBufferRow + editorView.lineOverdraw - expectedPaddingBottom = ((buffer.getLineCount() - lastOverdrawnRow) * editorView.lineHeight) - expect(editorView.renderedLines.css('padding-bottom')).toBe "#{expectedPaddingBottom}px" - - editorView.scrollToBottom() - # scrolled to bottom, first visible row is 5 and first rendered row is 3 - firstVisibleBufferRow = Math.floor(buffer.getLineCount() - 5.5) - firstOverdrawnBufferRow = firstVisibleBufferRow - editorView.lineOverdraw - expectedPaddingTop = firstOverdrawnBufferRow * editorView.lineHeight - expect(editorView.renderedLines.css('padding-top')).toBe "#{expectedPaddingTop}px" - expect(editorView.renderedLines.css('padding-bottom')).toBe "0px" - - describe "when lines are added", -> - beforeEach -> - editorView.attachToDom(heightInLines: 5) - - describe "when the change precedes the first rendered row", -> - it "inserts and removes rendered lines to account for upstream change", -> - editorView.scrollToBottom() - expect(editorView.renderedLines.find(".line").length).toBe 7 - expect(editorView.renderedLines.find(".line:first").text()).toBe buffer.lineForRow(6) - expect(editorView.renderedLines.find(".line:last").text()).toBe buffer.lineForRow(12) - - buffer.setTextInRange([[1,0], [3,0]], "1\n2\n3\n") - expect(editorView.renderedLines.find(".line").length).toBe 7 - expect(editorView.renderedLines.find(".line:first").text()).toBe buffer.lineForRow(6) - expect(editorView.renderedLines.find(".line:last").text()).toBe buffer.lineForRow(12) - - describe "when the change straddles the first rendered row", -> - it "doesn't render rows that were not previously rendered", -> - editorView.scrollToBottom() - - expect(editorView.renderedLines.find(".line").length).toBe 7 - expect(editorView.renderedLines.find(".line:first").text()).toBe buffer.lineForRow(6) - expect(editorView.renderedLines.find(".line:last").text()).toBe buffer.lineForRow(12) - - buffer.setTextInRange([[2,0], [7,0]], "2\n3\n4\n5\n6\n7\n8\n9\n") - expect(editorView.renderedLines.find(".line").length).toBe 7 - expect(editorView.renderedLines.find(".line:first").text()).toBe buffer.lineForRow(6) - expect(editorView.renderedLines.find(".line:last").text()).toBe buffer.lineForRow(12) - - describe "when the change straddles the last rendered row", -> - it "doesn't render rows that were not previously rendered", -> - buffer.setTextInRange([[2,0], [7,0]], "2\n3\n4\n5\n6\n7\n8\n") - expect(editorView.renderedLines.find(".line").length).toBe 7 - expect(editorView.renderedLines.find(".line:first").text()).toBe buffer.lineForRow(0) - expect(editorView.renderedLines.find(".line:last").text()).toBe buffer.lineForRow(6) - - describe "when the change the follows the last rendered row", -> - it "does not change the rendered lines", -> - buffer.setTextInRange([[12,0], [12,0]], "12\n13\n14\n") - expect(editorView.renderedLines.find(".line").length).toBe 7 - expect(editorView.renderedLines.find(".line:first").text()).toBe buffer.lineForRow(0) - expect(editorView.renderedLines.find(".line:last").text()).toBe buffer.lineForRow(6) - - it "increases the width of the rendered lines element to be either the width of the longest line or the width of the scrollView (whichever is longer)", -> - maxLineLength = editor.getMaxScreenLineLength() - setEditorWidthInChars(editorView, maxLineLength) - widthBefore = editorView.renderedLines.width() - expect(widthBefore).toBe editorView.scrollView.width() + 20 - buffer.setTextInRange([[12,0], [12,0]], [1..maxLineLength*2].join('')) - expect(editorView.renderedLines.width()).toBeGreaterThan widthBefore - - describe "when lines are removed", -> - beforeEach -> - editorView.attachToDom(heightInLines: 5) - - it "sets the rendered screen line's width to either the max line length or the scollView's width (whichever is greater)", -> - maxLineLength = editor.getMaxScreenLineLength() - setEditorWidthInChars(editorView, maxLineLength) - buffer.setTextInRange([[12,0], [12,0]], [1..maxLineLength*2].join('')) - expect(editorView.renderedLines.width()).toBeGreaterThan editorView.scrollView.width() - widthBefore = editorView.renderedLines.width() - buffer.delete([[12, 0], [12, Infinity]]) - expect(editorView.renderedLines.width()).toBe editorView.scrollView.width() + 20 - - describe "when the change the precedes the first rendered row", -> - it "removes rendered lines to account for upstream change", -> - editorView.scrollToBottom() - expect(editorView.renderedLines.find(".line").length).toBe 7 - expect(editorView.renderedLines.find(".line:first").text()).toBe buffer.lineForRow(6) - expect(editorView.renderedLines.find(".line:last").text()).toBe buffer.lineForRow(12) - - buffer.setTextInRange([[1,0], [2,0]], "") - expect(editorView.renderedLines.find(".line").length).toBe 6 - expect(editorView.renderedLines.find(".line:first").text()).toBe buffer.lineForRow(6) - expect(editorView.renderedLines.find(".line:last").text()).toBe buffer.lineForRow(11) - - describe "when the change straddles the first rendered row", -> - it "renders the correct rows", -> - editorView.scrollToBottom() - expect(editorView.renderedLines.find(".line").length).toBe 7 - expect(editorView.renderedLines.find(".line:first").text()).toBe buffer.lineForRow(6) - expect(editorView.renderedLines.find(".line:last").text()).toBe buffer.lineForRow(12) - - buffer.setTextInRange([[7,0], [11,0]], "1\n2\n") - expect(editorView.renderedLines.find(".line").length).toBe 5 - expect(editorView.renderedLines.find(".line:first").text()).toBe buffer.lineForRow(6) - expect(editorView.renderedLines.find(".line:last").text()).toBe buffer.lineForRow(10) - - describe "when the change straddles the last rendered row", -> - it "renders the correct rows", -> - buffer.setTextInRange([[2,0], [7,0]], "") - expect(editorView.renderedLines.find(".line").length).toBe 7 - expect(editorView.renderedLines.find(".line:first").text()).toBe buffer.lineForRow(0) - expect(editorView.renderedLines.find(".line:last").text()).toBe buffer.lineForRow(6) - - describe "when the change the follows the last rendered row", -> - it "does not change the rendered lines", -> - buffer.setTextInRange([[10,0], [12,0]], "") - expect(editorView.renderedLines.find(".line").length).toBe 7 - expect(editorView.renderedLines.find(".line:first").text()).toBe buffer.lineForRow(0) - expect(editorView.renderedLines.find(".line:last").text()).toBe buffer.lineForRow(6) - - describe "when the last line is removed when the editor view is scrolled to the bottom", -> - it "reduces the editor view's scrollTop (due to the reduced total scroll height) and renders the correct screen lines", -> - editor.setCursorScreenPosition([Infinity, Infinity]) - editor.insertText('\n\n\n') - editorView.scrollToBottom() - - expect(buffer.getLineCount()).toBe 16 - - initialScrollTop = editorView.scrollTop() - expect(editorView.firstRenderedScreenRow).toBe 9 - expect(editorView.lastRenderedScreenRow).toBe 15 - - editor.backspace() - - expect(editorView.scrollTop()).toBeLessThan initialScrollTop - expect(editorView.firstRenderedScreenRow).toBe 9 - expect(editorView.lastRenderedScreenRow).toBe 14 - - expect(editorView.find('.line').length).toBe 6 - - editor.backspace() - expect(editorView.firstRenderedScreenRow).toBe 9 - expect(editorView.lastRenderedScreenRow).toBe 13 - - expect(editorView.find('.line').length).toBe 5 - - editor.backspace() - expect(editorView.firstRenderedScreenRow).toBe 6 - expect(editorView.lastRenderedScreenRow).toBe 12 - - expect(editorView.find('.line').length).toBe 7 - - describe "when folding leaves less then a screen worth of text (regression)", -> - it "renders lines properly", -> - editorView.lineOverdraw = 1 - editorView.attachToDom(heightInLines: 5) - editorView.editor.foldBufferRow(4) - editorView.editor.foldBufferRow(0) - - expect(editorView.renderedLines.find('.line').length).toBe 1 - expect(editorView.renderedLines.find('.line').text()).toBe buffer.lineForRow(0) - - describe "when folding leaves fewer screen lines than the first rendered screen line (regression)", -> - it "clears all screen lines and does not throw any exceptions", -> - editorView.lineOverdraw = 1 - editorView.attachToDom(heightInLines: 5) - editorView.scrollToBottom() - editorView.editor.foldBufferRow(0) - expect(editorView.renderedLines.find('.line').length).toBe 1 - expect(editorView.renderedLines.find('.line').text()).toBe buffer.lineForRow(0) - - describe "when autoscrolling at the end of the document", -> - it "renders lines properly", -> - waitsForPromise -> - atom.workspace.open('two-hundred.txt').then (editor) -> - editorView.edit(editor) - - runs -> - editorView.attachToDom(heightInLines: 5.5) - - expect(editorView.renderedLines.find('.line').length).toBe 8 - - editor.moveCursorToBottom() - - expect(editorView.renderedLines.find('.line').length).toBe 8 - - describe "when line has a character that could push it to be too tall (regression)", -> - it "does renders the line at a consistent height", -> - editorView.attachToDom() - buffer.insert([0, 0], "–") - expect(editorView.find('.line:eq(0)').outerHeight()).toBe editorView.find('.line:eq(1)').outerHeight() - - describe "when editor.showInvisibles config is set to true", -> - it "displays spaces, tabs, and newlines using visible non-empty values", -> - editor.setText " a line with tabs\tand spaces " - editorView.attachToDom() - - expect(atom.config.get("editor.showInvisibles")).toBeFalsy() - expect(editorView.renderedLines.find('.line').text()).toBe " a line with tabs and spaces " - - atom.config.set("editor.showInvisibles", true) - space = editorView.invisibles?.space - expect(space).toBeTruthy() - tab = editorView.invisibles?.tab - expect(tab).toBeTruthy() - eol = editorView.invisibles?.eol - expect(eol).toBeTruthy() - expect(editorView.renderedLines.find('.line').text()).toBe "#{space}a line with tabs#{tab}and spaces#{space}#{eol}" - - atom.config.set("editor.showInvisibles", false) - expect(editorView.renderedLines.find('.line').text()).toBe " a line with tabs and spaces " - - it "displays newlines as their own token outside of the other tokens scope", -> - editorView.setShowInvisibles(true) - editorView.attachToDom() - editor.setText "var" - expect(editorView.find('.line').html()).toBe 'var¬' - - it "allows invisible glyphs to be customized via the editor.invisibles config", -> - editor.setText(" \t ") - editorView.attachToDom() - atom.config.set("editor.showInvisibles", true) - atom.config.set("editor.invisibles", eol: ";", space: "_", tab: "tab") - expect(editorView.find(".line:first").text()).toBe "_tab_;" - - it "displays trailing carriage return using a visible non-empty value", -> - editor.setText "a line that ends with a carriage return\r\n" - editorView.attachToDom() - - expect(atom.config.get("editor.showInvisibles")).toBeFalsy() - expect(editorView.renderedLines.find('.line:first').text()).toBe "a line that ends with a carriage return" - - atom.config.set("editor.showInvisibles", true) - cr = editorView.invisibles?.cr - expect(cr).toBeTruthy() - eol = editorView.invisibles?.eol - expect(eol).toBeTruthy() - expect(editorView.renderedLines.find('.line:first').text()).toBe "a line that ends with a carriage return#{cr}#{eol}" - - describe "when wrapping is on", -> - beforeEach -> - editor.setSoftWrap(true) - - it "doesn't show the end of line invisible at the end of lines broken due to wrapping", -> - editor.setText "a line that wraps " - editorView.attachToDom() - editorView.setWidthInChars(6) - atom.config.set "editor.showInvisibles", true - space = editorView.invisibles?.space - expect(space).toBeTruthy() - eol = editorView.invisibles?.eol - expect(eol).toBeTruthy() - expect(editorView.renderedLines.find('.line:first').text()).toBe "a line " - expect(editorView.renderedLines.find('.line:last').text()).toBe "wraps#{space}#{eol}" - - it "displays trailing carriage return using a visible non-empty value", -> - editor.setText "a line that \r\n" - editorView.attachToDom() - editorView.setWidthInChars(6) - atom.config.set "editor.showInvisibles", true - space = editorView.invisibles?.space - expect(space).toBeTruthy() - cr = editorView.invisibles?.cr - expect(cr).toBeTruthy() - eol = editorView.invisibles?.eol - expect(eol).toBeTruthy() - expect(editorView.renderedLines.find('.line:first').text()).toBe "a line " - expect(editorView.renderedLines.find('.line:eq(1)').text()).toBe "that#{space}#{cr}#{eol}" - expect(editorView.renderedLines.find('.line:last').text()).toBe "#{eol}" - - describe "when editor.showIndentGuide is set to true", -> - it "adds an indent-guide class to each leading whitespace span", -> - editorView.attachToDom() - - expect(atom.config.get("editor.showIndentGuide")).toBeFalsy() - atom.config.set("editor.showIndentGuide", true) - expect(editorView.showIndentGuide).toBeTruthy() - - expect(editorView.renderedLines.find('.line:eq(0) .indent-guide').length).toBe 0 - - expect(editorView.renderedLines.find('.line:eq(1) .indent-guide').length).toBe 1 - expect(editorView.renderedLines.find('.line:eq(1) .indent-guide').text()).toBe ' ' - - expect(editorView.renderedLines.find('.line:eq(2) .indent-guide').length).toBe 2 - expect(editorView.renderedLines.find('.line:eq(2) .indent-guide').text()).toBe ' ' - - expect(editorView.renderedLines.find('.line:eq(3) .indent-guide').length).toBe 2 - expect(editorView.renderedLines.find('.line:eq(3) .indent-guide').text()).toBe ' ' - - expect(editorView.renderedLines.find('.line:eq(4) .indent-guide').length).toBe 2 - expect(editorView.renderedLines.find('.line:eq(4) .indent-guide').text()).toBe ' ' - - expect(editorView.renderedLines.find('.line:eq(5) .indent-guide').length).toBe 3 - expect(editorView.renderedLines.find('.line:eq(5) .indent-guide').text()).toBe ' ' - - expect(editorView.renderedLines.find('.line:eq(6) .indent-guide').length).toBe 3 - expect(editorView.renderedLines.find('.line:eq(6) .indent-guide').text()).toBe ' ' - - expect(editorView.renderedLines.find('.line:eq(7) .indent-guide').length).toBe 2 - expect(editorView.renderedLines.find('.line:eq(7) .indent-guide').text()).toBe ' ' - - expect(editorView.renderedLines.find('.line:eq(8) .indent-guide').length).toBe 2 - expect(editorView.renderedLines.find('.line:eq(8) .indent-guide').text()).toBe ' ' - - expect(editorView.renderedLines.find('.line:eq(9) .indent-guide').length).toBe 1 - expect(editorView.renderedLines.find('.line:eq(9) .indent-guide').text()).toBe ' ' - - expect(editorView.renderedLines.find('.line:eq(10) .indent-guide').length).toBe 1 - expect(editorView.renderedLines.find('.line:eq(10) .indent-guide').text()).toBe ' ' - - expect(editorView.renderedLines.find('.line:eq(11) .indent-guide').length).toBe 1 - expect(editorView.renderedLines.find('.line:eq(11) .indent-guide').text()).toBe ' ' - - expect(editorView.renderedLines.find('.line:eq(12) .indent-guide').length).toBe 0 - - describe "when the indentation level on a line before an empty line is changed", -> - it "updates the indent guide on the empty line", -> - editorView.attachToDom() - atom.config.set("editor.showIndentGuide", true) - - expect(editorView.renderedLines.find('.line:eq(10) .indent-guide').length).toBe 1 - expect(editorView.renderedLines.find('.line:eq(10) .indent-guide').text()).toBe ' ' - - editor.setCursorBufferPosition([9]) - editor.indentSelectedRows() - - expect(editorView.renderedLines.find('.line:eq(10) .indent-guide').length).toBe 2 - expect(editorView.renderedLines.find('.line:eq(10) .indent-guide').text()).toBe ' ' - - describe "when the indentation level on a line after an empty line is changed", -> - it "updates the indent guide on the empty line", -> - editorView.attachToDom() - atom.config.set("editor.showIndentGuide", true) - - expect(editorView.renderedLines.find('.line:eq(10) .indent-guide').length).toBe 1 - expect(editorView.renderedLines.find('.line:eq(10) .indent-guide').text()).toBe ' ' - - editor.setCursorBufferPosition([11]) - editor.indentSelectedRows() - - expect(editorView.renderedLines.find('.line:eq(10) .indent-guide').length).toBe 2 - expect(editorView.renderedLines.find('.line:eq(10) .indent-guide').text()).toBe ' ' - - describe "when a line contains only whitespace", -> - it "displays an indent guide on the line", -> - editorView.attachToDom() - atom.config.set("editor.showIndentGuide", true) - - editor.setCursorBufferPosition([10]) - editor.indent() - editor.indent() - expect(editor.getCursorBufferPosition()).toEqual [10, 4] - expect(editorView.renderedLines.find('.line:eq(10) .indent-guide').length).toBe 2 - expect(editorView.renderedLines.find('.line:eq(10) .indent-guide').text()).toBe ' ' - - it "uses the highest indent guide level from the next or previous non-empty line", -> - editorView.attachToDom() - atom.config.set("editor.showIndentGuide", true) - - editor.setCursorBufferPosition([1, Infinity]) - editor.insertNewline() - expect(editor.getCursorBufferPosition()).toEqual [2, 0] - expect(editorView.renderedLines.find('.line:eq(2) .indent-guide').length).toBe 2 - expect(editorView.renderedLines.find('.line:eq(2) .indent-guide').text()).toBe ' ' - - describe "when the line has leading and trailing whitespace", -> - it "does not display the indent guide in the trailing whitespace", -> - editorView.attachToDom() - atom.config.set("editor.showIndentGuide", true) - - editor.insertText("/*\n * \n*/") - expect(editorView.renderedLines.find('.line:eq(1) .indent-guide').length).toBe 1 - expect(editorView.renderedLines.find('.line:eq(1) .indent-guide')).toHaveClass('leading-whitespace') - - describe "when the line is empty and end of show invisibles are enabled", -> - it "renders the indent guides interleaved with the end of line invisibles", -> - editorView.attachToDom() - atom.config.set("editor.showIndentGuide", true) - atom.config.set("editor.showInvisibles", true) - eol = editorView.invisibles?.eol - - expect(editorView.renderedLines.find('.line:eq(10) .indent-guide').length).toBe 1 - expect(editorView.renderedLines.find('.line:eq(10) .indent-guide').text()).toBe "#{eol} " - expect(editorView.renderedLines.find('.line:eq(10) .invisible-character').text()).toBe eol - - editor.setCursorBufferPosition([9]) - editor.indent() - - expect(editorView.renderedLines.find('.line:eq(10) .indent-guide').length).toBe 2 - expect(editorView.renderedLines.find('.line:eq(10) .indent-guide').text()).toBe "#{eol} " - expect(editorView.renderedLines.find('.line:eq(10) .invisible-character').text()).toBe eol - - describe "when editor.showIndentGuide is set to false", -> - it "does not render the indent guide on whitespace only lines (regression)", -> - editorView.attachToDom() - editor.setText(' ') - atom.config.set('editor.showIndentGuide', false) - expect(editorView.renderedLines.find('.line:eq(0) .indent-guide').length).toBe 0 - - describe "when soft-wrap is enabled", -> - beforeEach -> - jasmine.unspy(window, 'setTimeout') - editor.setSoftWrap(true) - editorView.attachToDom() - setEditorHeightInLines(editorView, 20) - setEditorWidthInChars(editorView, 50) - expect(editorView.editor.getSoftWrapColumn()).toBe 50 - - it "wraps lines that are too long to fit within the editor view's width, adjusting cursor positioning accordingly", -> - expect(editorView.renderedLines.find('.line').length).toBe 16 - expect(editorView.renderedLines.find('.line:eq(3)').text()).toBe " var pivot = items.shift(), current, left = [], " - expect(editorView.renderedLines.find('.line:eq(4)').text()).toBe "right = [];" - - editor.setCursorBufferPosition([3, 51], wrapAtSoftNewlines: true) - expect(editorView.find('.cursor').offset()).toEqual(editorView.renderedLines.find('.line:eq(4)').offset()) - - editor.setCursorBufferPosition([4, 0]) - expect(editorView.find('.cursor').offset()).toEqual(editorView.renderedLines.find('.line:eq(5)').offset()) - - editor.getSelection().setBufferRange([[6, 30], [6, 55]]) - [region1, region2] = editorView.getSelectionView().regions - expect(region1.offset().top).toBeCloseTo(editorView.renderedLines.find('.line:eq(7)').offset().top) - expect(region2.offset().top).toBeCloseTo(editorView.renderedLines.find('.line:eq(8)').offset().top) - - it "handles changes to wrapped lines correctly", -> - buffer.insert([6, 28], '1234567') - expect(editorView.renderedLines.find('.line:eq(7)').text()).toBe ' current < pivot ? left1234567.push(current) ' - expect(editorView.renderedLines.find('.line:eq(8)').text()).toBe ': right.push(current);' - expect(editorView.renderedLines.find('.line:eq(9)').text()).toBe ' }' - - it "changes the max line length and repositions the cursor when the window size changes", -> - editor.setCursorBufferPosition([3, 60]) - setEditorWidthInChars(editorView, 40) - expect(editorView.renderedLines.find('.line').length).toBe 19 - expect(editorView.renderedLines.find('.line:eq(4)').text()).toBe "left = [], right = [];" - expect(editorView.renderedLines.find('.line:eq(5)').text()).toBe " while(items.length > 0) {" - expect(editor.bufferPositionForScreenPosition(editor.getCursorScreenPosition())).toEqual [3, 60] - - it "does not wrap the lines of any newly assigned buffers", -> - otherEditor = null - waitsForPromise -> - atom.workspace.open().then (o) -> otherEditor = o - - runs -> - otherEditor.buffer.setText([1..100].join('')) - editorView.edit(otherEditor) - expect(editorView.renderedLines.find('.line').length).toBe(1) - - it "unwraps lines when softwrap is disabled", -> - editorView.toggleSoftWrap() - expect(editorView.renderedLines.find('.line:eq(3)').text()).toBe ' var pivot = items.shift(), current, left = [], right = [];' - - it "allows the cursor to move down to the last line", -> - _.times editor.getLastScreenRow(), -> editor.moveCursorDown() - expect(editor.getCursorScreenPosition()).toEqual [editor.getLastScreenRow(), 0] - editor.moveCursorDown() - expect(editor.getCursorScreenPosition()).toEqual [editor.getLastScreenRow(), 2] - - it "allows the cursor to move up to a shorter soft wrapped line", -> - editor.setCursorScreenPosition([11, 15]) - editor.moveCursorUp() - expect(editor.getCursorScreenPosition()).toEqual [10, 10] - editor.moveCursorUp() - editor.moveCursorUp() - expect(editor.getCursorScreenPosition()).toEqual [8, 15] - - it "it allows the cursor to wrap when moving horizontally past the beginning / end of a wrapped line", -> - editor.setCursorScreenPosition([11, 0]) - editor.moveCursorLeft() - expect(editor.getCursorScreenPosition()).toEqual [10, 10] - - editor.moveCursorRight() - expect(editor.getCursorScreenPosition()).toEqual [11, 0] - - it "calls .setWidthInChars() when the editor view is attached because now its dimensions are available to calculate it", -> - otherEditorView = new EditorView(editor) - spyOn(otherEditorView, 'setWidthInChars') - - otherEditorView.editor.setSoftWrap(true) - expect(otherEditorView.setWidthInChars).not.toHaveBeenCalled() - - otherEditorView.simulateDomAttachment() - expect(otherEditorView.setWidthInChars).toHaveBeenCalled() - otherEditorView.remove() - - describe "when the editor view's width changes", -> - it "updates the width in characters on the edit session", -> - previousSoftWrapColumn = editor.getSoftWrapColumn() - - spyOn(editorView, 'setWidthInChars').andCallThrough() - editorView.width(editorView.width() / 2) - - waitsFor -> - editorView.setWidthInChars.callCount > 0 - - runs -> - expect(editor.getSoftWrapColumn()).toBeLessThan previousSoftWrapColumn - - it "accounts for the width of the scrollbar if there is one", -> - # force the scrollbar to always be visible, regardless of OS visibility setting - $('#jasmine-content').prepend """ - - """ - setEditorHeightInLines(editorView, 5) - setEditorWidthInChars(editorView, 40) - expect(editor.lineForScreenRow(2).text.length).toBe 34 - - describe "gutter rendering", -> - beforeEach -> - editorView.attachToDom(heightInLines: 5.5) - - it "creates a line number element for each visible line with   padding to the left of the number", -> - expect(editorView.gutter.find('.line-number').length).toBe 8 - expect(editorView.find('.line-number:first').html()).toMatch /^ 1/ - expect(editorView.gutter.find('.line-number:last').html()).toMatch /^ 8/ - - # here we don't scroll far enough to trigger additional rendering - editorView.scrollTop(editorView.lineHeight * 1.5) - expect(editorView.renderedLines.find('.line').length).toBe 8 - expect(editorView.gutter.find('.line-number:first').html()).toMatch /^ 1/ - expect(editorView.gutter.find('.line-number:last').html()).toMatch /^ 8/ - - editorView.scrollTop(editorView.lineHeight * 3.5) - expect(editorView.renderedLines.find('.line').length).toBe 10 - expect(editorView.gutter.find('.line-number:first').html()).toMatch /^ 2/ - expect(editorView.gutter.find('.line-number:last').html()).toMatch /^11/ - - it "adds a .foldable class to lines that start foldable regions", -> - expect(editorView.gutter.find('.line-number:eq(0)')).toHaveClass 'foldable' - expect(editorView.gutter.find('.line-number:eq(1)')).toHaveClass 'foldable' - expect(editorView.gutter.find('.line-number:eq(2)')).not.toHaveClass 'foldable' - expect(editorView.gutter.find('.line-number:eq(3)')).not.toHaveClass 'foldable' - expect(editorView.gutter.find('.line-number:eq(4)')).toHaveClass 'foldable' - - # changes to indentation update foldability - editor.setIndentationForBufferRow(1, 0) - expect(editorView.gutter.find('.line-number:eq(0)')).not.toHaveClass 'foldable' - expect(editorView.gutter.find('.line-number:eq(1)')).toHaveClass 'foldable' - - # changes to comments update foldability - editor.toggleLineCommentsForBufferRows(2, 3) - expect(editorView.gutter.find('.line-number:eq(2)')).toHaveClass 'foldable' - expect(editorView.gutter.find('.line-number:eq(3)')).not.toHaveClass 'foldable' - editor.toggleLineCommentForBufferRow(2) - expect(editorView.gutter.find('.line-number:eq(2)')).not.toHaveClass 'foldable' - expect(editorView.gutter.find('.line-number:eq(3)')).not.toHaveClass 'foldable' - editor.toggleLineCommentForBufferRow(4) - expect(editorView.gutter.find('.line-number:eq(3)')).toHaveClass 'foldable' - - describe "when lines are inserted", -> - it "re-renders the correct line number range in the gutter", -> - editorView.scrollTop(3 * editorView.lineHeight) - expect(editorView.gutter.find('.line-number:first').intValue()).toBe 2 - expect(editorView.gutter.find('.line-number:last').intValue()).toBe 11 - - buffer.insert([6, 0], '\n') - - expect(editorView.gutter.find('.line-number:first').intValue()).toBe 2 - expect(editorView.gutter.find('.line-number:last').intValue()).toBe 11 - - it "re-renders the correct line number range when there are folds", -> - editorView.editor.foldBufferRow(1) - expect(editorView.gutter.find('.line-number-1')).toHaveClass 'folded' - - buffer.insert([0, 0], '\n') - - expect(editorView.gutter.find('.line-number-2')).toHaveClass 'folded' - - describe "when wrapping is on", -> - it "renders a • instead of line number for wrapped portions of lines", -> - editor.setSoftWrap(true) - editorView.setWidthInChars(50) - expect(editorView.gutter.find('.line-number').length).toEqual(8) - expect(editorView.gutter.find('.line-number:eq(3)').intValue()).toBe 4 - expect(editorView.gutter.find('.line-number:eq(4)').html()).toMatch /^ •/ - expect(editorView.gutter.find('.line-number:eq(5)').intValue()).toBe 5 - - describe "when there are folds", -> - it "skips line numbers covered by the fold and updates them when the fold changes", -> - editor.createFold(3, 5) - expect(editorView.gutter.find('.line-number:eq(3)').intValue()).toBe 4 - expect(editorView.gutter.find('.line-number:eq(4)').intValue()).toBe 7 - - buffer.insert([4,0], "\n\n") - expect(editorView.gutter.find('.line-number:eq(3)').intValue()).toBe 4 - expect(editorView.gutter.find('.line-number:eq(4)').intValue()).toBe 9 - - buffer.delete([[3,0], [6,0]]) - expect(editorView.gutter.find('.line-number:eq(3)').intValue()).toBe 4 - expect(editorView.gutter.find('.line-number:eq(4)').intValue()).toBe 6 - - it "redraws gutter numbers when lines are unfolded", -> - setEditorHeightInLines(editorView, 20) - fold = editor.createFold(2, 12) - expect(editorView.gutter.find('.line-number').length).toBe 3 - - fold.destroy() - expect(editorView.gutter.find('.line-number').length).toBe 13 - - it "styles folded line numbers", -> - editor.createFold(3, 5) - expect(editorView.gutter.find('.line-number.folded').length).toBe 1 - expect(editorView.gutter.find('.line-number.folded:eq(0)').intValue()).toBe 4 - - describe "when the scrollView is scrolled to the right", -> - it "adds a drop shadow to the gutter", -> - editorView.attachToDom() - editorView.width(100) - - expect(editorView.gutter).not.toHaveClass('drop-shadow') - - editorView.scrollLeft(10) - editorView.scrollView.trigger('scroll') - - expect(editorView.gutter).toHaveClass('drop-shadow') - - editorView.scrollLeft(0) - editorView.scrollView.trigger('scroll') - - expect(editorView.gutter).not.toHaveClass('drop-shadow') - - describe "when the editor view is scrolled vertically", -> - it "adjusts the padding-top to account for non-rendered line numbers", -> - editorView.scrollTop(editorView.lineHeight * 3.5) - expect(editorView.gutter.lineNumbers.css('padding-top')).toBe "#{editorView.lineHeight * 1}px" - expect(editorView.gutter.lineNumbers.css('padding-bottom')).toBe "#{editorView.lineHeight * 2}px" - expect(editorView.renderedLines.find('.line').length).toBe 10 - expect(editorView.gutter.find('.line-number:first').intValue()).toBe 2 - expect(editorView.gutter.find('.line-number:last').intValue()).toBe 11 - - describe "when the switching from an edit session for a long buffer to an edit session for a short buffer", -> - it "updates the line numbers to reflect the shorter buffer", -> - emptyEditor = null - waitsForPromise -> - atom.workspace.open().then (o) -> emptyEditor = o - - runs -> - editorView.edit(emptyEditor) - expect(editorView.gutter.lineNumbers.find('.line-number').length).toBe 1 - - editorView.edit(editor) - expect(editorView.gutter.lineNumbers.find('.line-number').length).toBeGreaterThan 1 - - editorView.edit(emptyEditor) - expect(editorView.gutter.lineNumbers.find('.line-number').length).toBe 1 - - describe "when the editor view is mini", -> - it "hides the gutter", -> - miniEditor = new EditorView(mini: true) - miniEditor.attachToDom() - expect(miniEditor.gutter).toBeHidden() - - it "doesn't highlight the only line", -> - miniEditor = new EditorView(mini: true) - miniEditor.attachToDom() - expect(miniEditor.getEditor().getCursorBufferPosition().row).toBe 0 - expect(miniEditor.find('.line.cursor-line').length).toBe 0 - - it "doesn't show the end of line invisible", -> - atom.config.set "editor.showInvisibles", true - miniEditor = new EditorView(mini: true) - miniEditor.attachToDom() - space = miniEditor.invisibles?.space - expect(space).toBeTruthy() - tab = miniEditor.invisibles?.tab - expect(tab).toBeTruthy() - miniEditor.getEditor().setText(" a line with tabs\tand spaces ") - expect(miniEditor.renderedLines.find('.line').text()).toBe "#{space}a line with tabs#{tab}and spaces#{space}" - - it "doesn't show the indent guide", -> - atom.config.set "editor.showIndentGuide", true - miniEditor = new EditorView(mini: true) - miniEditor.attachToDom() - miniEditor.getEditor().setText(" and indented line") - expect(miniEditor.renderedLines.find('.indent-guide').length).toBe 0 - - it "lets you set the grammar", -> - miniEditor = new EditorView(mini: true) - miniEditor.getEditor().setText("var something") - previousTokens = miniEditor.getEditor().lineForScreenRow(0).tokens - miniEditor.getEditor().setGrammar(atom.syntax.selectGrammar('something.js')) - expect(miniEditor.getEditor().getGrammar().name).toBe "JavaScript" - expect(previousTokens).not.toEqual miniEditor.getEditor().lineForScreenRow(0).tokens - - # doesn't allow regular editors to set grammars - expect(-> editor.setGrammar()).toThrow() - - describe "placeholderText", -> - it "is hidden and shown when appropriate", -> - miniEditor = new EditorView(mini: true, placeholderText: 'octokitten') - miniEditor.attachToDom() - - expect(miniEditor.underlayer.find('.placeholder-text')).toExist() - - miniEditor.getEditor().setText("var something") - expect(miniEditor.underlayer.find('.placeholder-text')).not.toExist() - - miniEditor.getEditor().setText("") - expect(miniEditor.underlayer.find('.placeholder-text')).toExist() - - it "can be set", -> - miniEditor = new EditorView(mini: true) - miniEditor.attachToDom() - - expect(miniEditor.find('.placeholder-text').text()).toEqual '' - - miniEditor.setPlaceholderText 'octokitten' - expect(miniEditor.find('.placeholder-text').text()).toEqual 'octokitten' - - miniEditor.setPlaceholderText 'new one' - expect(miniEditor.find('.placeholder-text').text()).toEqual 'new one' - - describe "when the editor.showLineNumbers config is false", -> - it "doesn't render any line numbers", -> - expect(editorView.gutter.lineNumbers).toBeVisible() - atom.config.set("editor.showLineNumbers", false) - expect(editorView.gutter.lineNumbers).not.toBeVisible() - - describe "using gutter's api", -> - it "can get all the line number elements", -> - elements = editorView.gutter.getLineNumberElements() - len = editorView.gutter.lastScreenRow - editorView.gutter.firstScreenRow + 1 - expect(elements).toHaveLength(len) - - it "can get a single line number element", -> - element = editorView.gutter.getLineNumberElement(3) - expect(element).toBeTruthy() - - it "returns falsy when there is no line element", -> - expect(editorView.gutter.getLineNumberElement(42)).toHaveLength 0 - - it "can add and remove classes to all the line numbers", -> - wasAdded = editorView.gutter.addClassToAllLines('heyok') - expect(wasAdded).toBe true - - elements = editorView.gutter.getLineNumberElementsForClass('heyok') - expect($(elements)).toHaveClass('heyok') - - editorView.gutter.removeClassFromAllLines('heyok') - expect($(editorView.gutter.getLineNumberElements())).not.toHaveClass('heyok') - - it "can add and remove classes from a single line number", -> - wasAdded = editorView.gutter.addClassToLine(3, 'heyok') - expect(wasAdded).toBe true - - element = editorView.gutter.getLineNumberElement(2) - expect($(element)).not.toHaveClass('heyok') - - it "can fetch line numbers by their class", -> - editorView.gutter.addClassToLine(1, 'heyok') - editorView.gutter.addClassToLine(3, 'heyok') - - elements = editorView.gutter.getLineNumberElementsForClass('heyok') - expect(elements.length).toBe 2 - - expect($(elements[0])).toHaveClass 'line-number-1' - expect($(elements[0])).toHaveClass 'heyok' - - expect($(elements[1])).toHaveClass 'line-number-3' - expect($(elements[1])).toHaveClass 'heyok' - - describe "gutter line highlighting", -> - beforeEach -> - editorView.attachToDom(heightInLines: 5.5) - - describe "when there is no wrapping", -> - it "highlights the line where the initial cursor position is", -> - expect(editor.getCursorBufferPosition().row).toBe 0 - expect(editorView.find('.line-number.cursor-line.cursor-line-no-selection').length).toBe 1 - expect(editorView.find('.line-number.cursor-line.cursor-line-no-selection').intValue()).toBe 1 - - it "updates the highlighted line when the cursor position changes", -> - editor.setCursorBufferPosition([1,0]) - expect(editor.getCursorBufferPosition().row).toBe 1 - expect(editorView.find('.line-number.cursor-line.cursor-line-no-selection').length).toBe 1 - expect(editorView.find('.line-number.cursor-line.cursor-line-no-selection').intValue()).toBe 2 - - describe "when there is wrapping", -> - beforeEach -> - editorView.attachToDom(30) - editor.setSoftWrap(true) - setEditorWidthInChars(editorView, 20) - - it "highlights the line where the initial cursor position is", -> - expect(editor.getCursorBufferPosition().row).toBe 0 - expect(editorView.find('.line-number.cursor-line.cursor-line-no-selection').length).toBe 1 - expect(editorView.find('.line-number.cursor-line.cursor-line-no-selection').intValue()).toBe 1 - - it "updates the highlighted line when the cursor position changes", -> - editor.setCursorBufferPosition([1,0]) - expect(editor.getCursorBufferPosition().row).toBe 1 - expect(editorView.find('.line-number.cursor-line.cursor-line-no-selection').length).toBe 1 - expect(editorView.find('.line-number.cursor-line.cursor-line-no-selection').intValue()).toBe 2 - - describe "when the selection spans multiple lines", -> - beforeEach -> - editorView.attachToDom(30) - - it "highlights the foreground of the gutter", -> - editor.getSelection().setBufferRange([[0,0],[2,2]]) - expect(editor.getSelection().isSingleScreenLine()).toBe false - expect(editorView.find('.line-number.cursor-line').length).toBe 3 - - it "doesn't highlight the background of the gutter", -> - editor.getSelection().setBufferRange([[0,0],[2,0]]) - expect(editor.getSelection().isSingleScreenLine()).toBe false - expect(editorView.find('.line-number.cursor-line.cursor-line-no-selection').length).toBe 0 - - it "doesn't highlight the last line if it ends at the beginning of a line", -> - editor.getSelection().setBufferRange([[0,0],[1,0]]) - expect(editor.getSelection().isSingleScreenLine()).toBe false - expect(editorView.find('.line-number.cursor-line').length).toBe 1 - expect(editorView.find('.line-number.cursor-line').intValue()).toBe 1 - - it "when a newline is deleted with backspace, the line number of the new cursor position is highlighted", -> - editor.setCursorScreenPosition([1,0]) - editor.backspace() - expect(editorView.find('.line-number.cursor-line').length).toBe 1 - expect(editorView.find('.line-number.cursor-line').intValue()).toBe 1 - - describe "line highlighting", -> - beforeEach -> - editorView.attachToDom(30) - - describe "when there is no wrapping", -> - it "highlights the line where the initial cursor position is", -> - expect(editor.getCursorBufferPosition().row).toBe 0 - expect(editorView.find('.line.cursor-line').length).toBe 1 - expect(editorView.find('.line.cursor-line').text()).toBe buffer.lineForRow(0) - - it "updates the highlighted line when the cursor position changes", -> - editor.setCursorBufferPosition([1,0]) - expect(editor.getCursorBufferPosition().row).toBe 1 - expect(editorView.find('.line.cursor-line').length).toBe 1 - expect(editorView.find('.line.cursor-line').text()).toBe buffer.lineForRow(1) - - it "when a newline is deleted with backspace, the line of the new cursor position is highlighted", -> - editor.setCursorScreenPosition([1,0]) - editor.backspace() - expect(editorView.find('.line.cursor-line').length).toBe 1 - - describe "when there is wrapping", -> - beforeEach -> - editor.setSoftWrap(true) - setEditorWidthInChars(editorView, 20) - - it "highlights the line where the initial cursor position is", -> - expect(editor.getCursorBufferPosition().row).toBe 0 - expect(editorView.find('.line.cursor-line').length).toBe 1 - expect(editorView.find('.line.cursor-line').text()).toBe 'var quicksort = ' - - it "updates the highlighted line when the cursor position changes", -> - editor.setCursorBufferPosition([1,0]) - expect(editor.getCursorBufferPosition().row).toBe 1 - expect(editorView.find('.line.cursor-line').length).toBe 1 - expect(editorView.find('.line.cursor-line').text()).toBe ' var sort = ' - - describe "when there is a non-empty selection", -> - it "does not highlight the line", -> - editor.setSelectedBufferRange([[1, 0], [1, 1]]) - expect(editorView.find('.line.cursor-line').length).toBe 0 - - describe "folding", -> - beforeEach -> - waitsForPromise -> - atom.workspace.open('two-hundred.txt').then (o) -> editor = o - - runs -> - buffer = editor.buffer - editorView.edit(editor) - editorView.attachToDom() - - describe "when a fold-selection event is triggered", -> - it "folds the lines covered by the selection into a single line with a fold class and marker", -> - editor.getSelection().setBufferRange([[4,29],[7,4]]) - editorView.trigger 'editor:fold-selection' - - expect(editorView.renderedLines.find('.line:eq(4)')).toHaveClass('fold') - expect(editorView.renderedLines.find('.line:eq(4) > .fold-marker')).toExist() - expect(editorView.renderedLines.find('.line:eq(5)').text()).toBe '8' - - expect(editor.getSelection().isEmpty()).toBeTruthy() - expect(editor.getCursorScreenPosition()).toEqual [5, 0] - - it "keeps the gutter line and the editor view line the same heights (regression)", -> - editor.getSelection().setBufferRange([[4,29],[7,4]]) - editorView.trigger 'editor:fold-selection' - - expect(editorView.gutter.find('.line-number:eq(4)').height()).toBe editorView.renderedLines.find('.line:eq(4)').height() - - describe "when a fold placeholder line is clicked", -> - it "removes the associated fold and places the cursor at its beginning", -> - editor.setCursorBufferPosition([3,0]) - editor.createFold(3, 5) - - foldLine = editorView.find('.line.fold') - expect(foldLine).toExist() - foldLine.mousedown() - - expect(editorView.find('.fold')).not.toExist() - expect(editorView.find('.fold-marker')).not.toExist() - expect(editorView.renderedLines.find('.line:eq(4)').text()).toMatch /4-+/ - expect(editorView.renderedLines.find('.line:eq(5)').text()).toMatch /5/ - - expect(editor.getCursorBufferPosition()).toEqual [3, 0] - - describe "when the unfold-current-row event is triggered when the cursor is on a fold placeholder line", -> - it "removes the associated fold and places the cursor at its beginning", -> - editor.setCursorBufferPosition([3,0]) - editorView.trigger 'editor:fold-current-row' - - editor.setCursorBufferPosition([3,0]) - editorView.trigger 'editor:unfold-current-row' - - expect(editorView.find('.fold')).not.toExist() - expect(editorView.renderedLines.find('.line:eq(4)').text()).toMatch /4-+/ - expect(editorView.renderedLines.find('.line:eq(5)').text()).toMatch /5/ - - expect(editor.getCursorBufferPosition()).toEqual [3, 0] - - describe "when a selection starts/stops intersecting a fold", -> - it "adds/removes the 'fold-selected' class to the fold's line element and hides the cursor if it is on the fold line", -> - editor.createFold(2, 4) - - editor.setSelectedBufferRange([[1, 0], [2, 0]], preserveFolds: true, reversed: true) - expect(editorView.lineElementForScreenRow(2)).toMatchSelector('.fold.fold-selected') - - editor.setSelectedBufferRange([[1, 0], [1, 1]], preserveFolds: true) - expect(editorView.lineElementForScreenRow(2)).not.toMatchSelector('.fold.fold-selected') - - editor.setSelectedBufferRange([[1, 0], [5, 0]], preserveFolds: true) - expect(editorView.lineElementForScreenRow(2)).toMatchSelector('.fold.fold-selected') - - editor.setCursorScreenPosition([3,0]) - expect(editorView.lineElementForScreenRow(2)).not.toMatchSelector('.fold.fold-selected') - - editor.setCursorScreenPosition([2,0]) - expect(editorView.lineElementForScreenRow(2)).toMatchSelector('.fold.fold-selected') - expect(editorView.find('.cursor')).toBeHidden() - - editor.setCursorScreenPosition([3,0]) - expect(editorView.find('.cursor')).toBeVisible() - - describe "when a selected fold is scrolled into view (and the fold line was not previously rendered)", -> - it "renders the fold's line element with the 'fold-selected' class", -> - setEditorHeightInLines(editorView, 5) - editorView.resetDisplay() - - editor.createFold(2, 4) - editor.setSelectedBufferRange([[1, 0], [5, 0]], preserveFolds: true) - expect(editorView.renderedLines.find('.fold.fold-selected')).toExist() - - editorView.scrollToBottom() - expect(editorView.renderedLines.find('.fold.fold-selected')).not.toExist() - - editorView.scrollTop(0) - expect(editorView.lineElementForScreenRow(2)).toMatchSelector('.fold.fold-selected') - - describe "paging up and down", -> - beforeEach -> - editorView.attachToDom() - - it "moves to the last line when page down is repeated from the first line", -> - rows = editor.getLineCount() - 1 - expect(rows).toBeGreaterThan(0) - row = editor.getCursor().getScreenPosition().row - expect(row).toBe(0) - while row < rows - editorView.pageDown() - newRow = editor.getCursor().getScreenPosition().row - expect(newRow).toBeGreaterThan(row) - if (newRow <= row) - break - row = newRow - expect(row).toBe(rows) - expect(editorView.getLastVisibleScreenRow()).toBe(rows) - - it "moves to the first line when page up is repeated from the last line", -> - editor.moveCursorToBottom() - row = editor.getCursor().getScreenPosition().row - expect(row).toBeGreaterThan(0) - while row > 0 - editorView.pageUp() - newRow = editor.getCursor().getScreenPosition().row - expect(newRow).toBeLessThan(row) - if (newRow >= row) - break - row = newRow - expect(row).toBe(0) - expect(editorView.getFirstVisibleScreenRow()).toBe(0) - - it "resets to original position when down is followed by up", -> - expect(editor.getCursor().getScreenPosition().row).toBe(0) - editorView.pageDown() - expect(editor.getCursor().getScreenPosition().row).toBeGreaterThan(0) - editorView.pageUp() - expect(editor.getCursor().getScreenPosition().row).toBe(0) - expect(editorView.getFirstVisibleScreenRow()).toBe(0) - - describe ".pixelPositionForBufferPosition(position)", -> - describe "when the editor view is detached", -> - it "returns top and left values of 0", -> - expect(editorView.isOnDom()).toBeFalsy() - expect(editorView.pixelPositionForBufferPosition([2,7])).toEqual top: 0, left: 0 - - describe "when the editor view is invisible", -> - it "returns top and left values of 0", -> - editorView.attachToDom() - editorView.hide() - expect(editorView.isVisible()).toBeFalsy() - expect(editorView.pixelPositionForBufferPosition([2,7])).toEqual top: 0, left: 0 - - describe "when the editor view is attached and visible", -> - beforeEach -> - editorView.attachToDom() - - it "returns the top and left pixel positions", -> - expect(editorView.pixelPositionForBufferPosition([2,7])).toEqual top: 40, left: 70 - - it "caches the left position", -> - editorView.renderedLines.css('font-size', '16px') - expect(editorView.pixelPositionForBufferPosition([2,8])).toEqual top: 40, left: 80 - - # make characters smaller - editorView.renderedLines.css('font-size', '15px') - - expect(editorView.pixelPositionForBufferPosition([2,8])).toEqual top: 40, left: 80 - - describe "when clicking in the gutter", -> - beforeEach -> - editorView.attachToDom() - - describe "when single clicking", -> - it "moves the cursor to the start of the selected line", -> - expect(editor.getCursorScreenPosition()).toEqual [0,0] - event = $.Event("mousedown") - event.pageY = editorView.gutter.find(".line-number:eq(1)").offset().top - event.originalEvent = {detail: 1} - editorView.gutter.find(".line-number:eq(1)").trigger event - expect(editor.getCursorScreenPosition()).toEqual [1,0] - - describe "when shift-clicking", -> - it "selects to the start of the selected line", -> - expect(editor.getSelection().getScreenRange()).toEqual [[0,0], [0,0]] - event = $.Event("mousedown") - event.pageY = editorView.gutter.find(".line-number:eq(1)").offset().top - event.originalEvent = {detail: 1} - event.shiftKey = true - editorView.gutter.find(".line-number:eq(1)").trigger event - expect(editor.getSelection().getScreenRange()).toEqual [[0,0], [2,0]] - - describe "when mousing down and then moving across multiple lines before mousing up", -> - describe "when selecting from top to bottom", -> - it "selects the lines", -> - mousedownEvent = $.Event("mousedown") - mousedownEvent.pageY = editorView.gutter.find(".line-number:eq(1)").offset().top - mousedownEvent.originalEvent = {detail: 1} - editorView.gutter.find(".line-number:eq(1)").trigger mousedownEvent - - mousemoveEvent = $.Event("mousemove") - mousemoveEvent.pageY = editorView.gutter.find(".line-number:eq(5)").offset().top - mousemoveEvent.originalEvent = {detail: 1} - editorView.gutter.find(".line-number:eq(5)").trigger mousemoveEvent - - $(document).trigger 'mouseup' - - expect(editor.getSelection().getScreenRange()).toEqual [[1,0], [6,0]] - - describe "when selecting from bottom to top", -> - it "selects the lines", -> - mousedownEvent = $.Event("mousedown") - mousedownEvent.pageY = editorView.gutter.find(".line-number:eq(5)").offset().top - mousedownEvent.originalEvent = {detail: 1} - editorView.gutter.find(".line-number:eq(5)").trigger mousedownEvent - - mousemoveEvent = $.Event("mousemove") - mousemoveEvent.pageY = editorView.gutter.find(".line-number:eq(1)").offset().top - mousemoveEvent.originalEvent = {detail: 1} - editorView.gutter.find(".line-number:eq(1)").trigger mousemoveEvent - - $(document).trigger 'mouseup' - - expect(editor.getSelection().getScreenRange()).toEqual [[1,0], [6,0]] - - describe "when clicking below the last line", -> - beforeEach -> - editorView.attachToDom() - - it "move the cursor to the end of the file", -> - expect(editor.getCursorScreenPosition()).toEqual [0,0] - event = mousedownEvent(editorView: editorView, point: [Infinity, 10]) - editorView.underlayer.trigger event - expect(editor.getCursorScreenPosition()).toEqual [12,2] - - it "selects to the end of the files when shift is pressed", -> - expect(editor.getSelection().getScreenRange()).toEqual [[0,0], [0,0]] - event = mousedownEvent(editorView: editorView, point: [Infinity, 10], shiftKey: true) - editorView.underlayer.trigger event - expect(editor.getSelection().getScreenRange()).toEqual [[0,0], [12,2]] - - describe "when the editor's grammar is changed", -> - it "emits an editor:grammar-changed event", -> - eventHandler = jasmine.createSpy('eventHandler') - editorView.on('editor:grammar-changed', eventHandler) - editor.setGrammar(atom.syntax.selectGrammar('.coffee')) - expect(eventHandler).toHaveBeenCalled() - - describe ".replaceSelectedText()", -> - it "doesn't call the replace function when the selection is empty", -> - replaced = false - edited = false - replacer = (text) -> - replaced = true - 'new' - - editor.moveCursorToTop() - edited = editorView.replaceSelectedText(replacer) - expect(replaced).toBe false - expect(edited).toBe false - - it "returns true when transformed text is non-empty", -> - replaced = false - edited = false - replacer = (text) -> - replaced = true - 'new' - - editor.moveCursorToTop() - editor.selectToEndOfLine() - edited = editorView.replaceSelectedText(replacer) - expect(replaced).toBe true - expect(edited).toBe true - - it "returns false when transformed text is null", -> - replaced = false - edited = false - replacer = (text) -> - replaced = true - null - - editor.moveCursorToTop() - editor.selectToEndOfLine() - edited = editorView.replaceSelectedText(replacer) - expect(replaced).toBe true - expect(edited).toBe false - - it "returns false when transformed text is undefined", -> - replaced = false - edited = false - replacer = (text) -> - replaced = true - undefined - - editor.moveCursorToTop() - editor.selectToEndOfLine() - edited = editorView.replaceSelectedText(replacer) - expect(replaced).toBe true - expect(edited).toBe false - - describe "when editor:copy-path is triggered", -> - it "copies the absolute path to the editor view's file to the clipboard", -> - editorView.trigger 'editor:copy-path' - expect(atom.clipboard.read()).toBe editor.getPath() - - describe "when editor:move-line-up is triggered", -> - describe "when there is no selection", -> - it "moves the line where the cursor is up", -> - editor.setCursorBufferPosition([1,0]) - editorView.trigger 'editor:move-line-up' - expect(buffer.lineForRow(0)).toBe ' var sort = function(items) {' - expect(buffer.lineForRow(1)).toBe 'var quicksort = function () {' - - it "moves the cursor to the new row and the same column", -> - editor.setCursorBufferPosition([1,2]) - editorView.trigger 'editor:move-line-up' - expect(editor.getCursorBufferPosition()).toEqual [0,2] - - describe "when the line above is folded", -> - it "moves the line around the fold", -> - editor.foldBufferRow(1) - editor.setCursorBufferPosition([10, 0]) - editorView.trigger 'editor:move-line-up' - - expect(editor.getCursorBufferPosition()).toEqual [1, 0] - expect(buffer.lineForRow(1)).toBe '' - expect(buffer.lineForRow(2)).toBe ' var sort = function(items) {' - expect(editor.isFoldedAtBufferRow(1)).toBe false - expect(editor.isFoldedAtBufferRow(2)).toBe true - - describe "when the line being moved is folded", -> - it "moves the fold around the fold above it", -> - editor.setCursorBufferPosition([0, 0]) - editor.insertText """ - var a = function() { - b = 3; - }; - - """ - editor.foldBufferRow(0) - editor.foldBufferRow(3) - editor.setCursorBufferPosition([3, 0]) - editorView.trigger 'editor:move-line-up' - - expect(editor.getCursorBufferPosition()).toEqual [0, 0] - expect(buffer.lineForRow(0)).toBe 'var quicksort = function () {' - expect(buffer.lineForRow(13)).toBe 'var a = function() {' - expect(editor.isFoldedAtBufferRow(0)).toBe true - expect(editor.isFoldedAtBufferRow(13)).toBe true - - describe "when the line above is empty and the line above that is folded", -> - it "moves the line to the empty line", -> - editor.foldBufferRow(2) - editor.setCursorBufferPosition([11, 0]) - editorView.trigger 'editor:move-line-up' - - expect(editor.getCursorBufferPosition()).toEqual [10, 0] - expect(buffer.lineForRow(9)).toBe ' };' - expect(buffer.lineForRow(10)).toBe ' return sort(Array.apply(this, arguments));' - expect(buffer.lineForRow(11)).toBe '' - expect(editor.isFoldedAtBufferRow(2)).toBe true - expect(editor.isFoldedAtBufferRow(10)).toBe false - - describe "where there is a selection", -> - describe "when the selection falls inside the line", -> - it "maintains the selection", -> - editor.setSelectedBufferRange([[1, 2], [1, 5]]) - expect(editor.getSelectedText()).toBe 'var' - editorView.trigger 'editor:move-line-up' - expect(editor.getSelectedBufferRange()).toEqual [[0, 2], [0, 5]] - expect(editor.getSelectedText()).toBe 'var' - - describe "where there are multiple lines selected", -> - it "moves the selected lines up", -> - editor.setSelectedBufferRange([[2, 0], [3, Infinity]]) - editorView.trigger 'editor:move-line-up' - expect(buffer.lineForRow(0)).toBe 'var quicksort = function () {' - expect(buffer.lineForRow(1)).toBe ' if (items.length <= 1) return items;' - expect(buffer.lineForRow(2)).toBe ' var pivot = items.shift(), current, left = [], right = [];' - expect(buffer.lineForRow(3)).toBe ' var sort = function(items) {' - - it "maintains the selection", -> - editor.setSelectedBufferRange([[2, 0], [3, 62]]) - editorView.trigger 'editor:move-line-up' - expect(editor.getSelectedBufferRange()).toEqual [[1, 0], [2, 62]] - - describe "when the last line is selected", -> - it "moves the selected line up", -> - editor.setSelectedBufferRange([[12, 0], [12, Infinity]]) - editorView.trigger 'editor:move-line-up' - expect(buffer.lineForRow(11)).toBe '};' - expect(buffer.lineForRow(12)).toBe ' return sort(Array.apply(this, arguments));' - - describe "when the last two lines are selected", -> - it "moves the selected lines up", -> - editor.setSelectedBufferRange([[11, 0], [12, Infinity]]) - editorView.trigger 'editor:move-line-up' - expect(buffer.lineForRow(10)).toBe ' return sort(Array.apply(this, arguments));' - expect(buffer.lineForRow(11)).toBe '};' - expect(buffer.lineForRow(12)).toBe '' - - describe "when the cursor is on the first line", -> - it "does not move the line", -> - editor.setCursorBufferPosition([0,0]) - originalText = editor.getText() - editorView.trigger 'editor:move-line-up' - expect(editor.getText()).toBe originalText - - describe "when the cursor is on the trailing newline", -> - it "does not move the line", -> - editor.moveCursorToBottom() - editor.insertNewline() - editor.moveCursorToBottom() - originalText = editor.getText() - editorView.trigger 'editor:move-line-up' - expect(editor.getText()).toBe originalText - - describe "when the cursor is on a folded line", -> - it "moves all lines in the fold up and preserves the fold", -> - editor.setCursorBufferPosition([4, 0]) - editor.foldCurrentRow() - editorView.trigger 'editor:move-line-up' - expect(buffer.lineForRow(3)).toBe ' while(items.length > 0) {' - expect(buffer.lineForRow(7)).toBe ' var pivot = items.shift(), current, left = [], right = [];' - expect(editor.getSelectedBufferRange()).toEqual [[3, 0], [3, 0]] - expect(editor.isFoldedAtScreenRow(3)).toBeTruthy() - - describe "when the selection contains a folded and unfolded line", -> - it "moves the selected lines up and preserves the fold", -> - editor.setCursorBufferPosition([4, 0]) - editor.foldCurrentRow() - editor.setCursorBufferPosition([3, 4]) - editor.selectDown() - expect(editor.isFoldedAtScreenRow(4)).toBeTruthy() - editorView.trigger 'editor:move-line-up' - expect(buffer.lineForRow(2)).toBe ' var pivot = items.shift(), current, left = [], right = [];' - expect(buffer.lineForRow(3)).toBe ' while(items.length > 0) {' - expect(editor.getSelectedBufferRange()).toEqual [[2, 4], [3, 0]] - expect(editor.isFoldedAtScreenRow(3)).toBeTruthy() - - describe "when an entire line is selected including the newline", -> - it "moves the selected line up", -> - editor.setCursorBufferPosition([1]) - editor.selectToEndOfLine() - editor.selectRight() - editorView.trigger 'editor:move-line-up' - expect(buffer.lineForRow(0)).toBe ' var sort = function(items) {' - expect(buffer.lineForRow(1)).toBe 'var quicksort = function () {' - - describe "when editor:move-line-down is triggered", -> - describe "when there is no selection", -> - it "moves the line where the cursor is down", -> - editor.setCursorBufferPosition([0, 0]) - editorView.trigger 'editor:move-line-down' - expect(buffer.lineForRow(0)).toBe ' var sort = function(items) {' - expect(buffer.lineForRow(1)).toBe 'var quicksort = function () {' - - it "moves the cursor to the new row and the same column", -> - editor.setCursorBufferPosition([0, 2]) - editorView.trigger 'editor:move-line-down' - expect(editor.getCursorBufferPosition()).toEqual [1, 2] - - describe "when the line below is folded", -> - it "moves the line around the fold", -> - editor.setCursorBufferPosition([0, 0]) - editor.foldBufferRow(1) - editorView.trigger 'editor:move-line-down' - - expect(editor.getCursorBufferPosition()).toEqual [9, 0] - expect(buffer.lineForRow(0)).toBe ' var sort = function(items) {' - expect(buffer.lineForRow(9)).toBe 'var quicksort = function () {' - expect(editor.isFoldedAtBufferRow(0)).toBe true - expect(editor.isFoldedAtBufferRow(9)).toBe false - - describe "when the line being moved is folded", -> - it "moves the fold around the fold below it", -> - editor.setCursorBufferPosition([0, 0]) - editor.insertText """ - var a = function() { - b = 3; - }; - - """ - editor.foldBufferRow(0) - editor.foldBufferRow(3) - editor.setCursorBufferPosition([0, 0]) - editorView.trigger 'editor:move-line-down' - - expect(editor.getCursorBufferPosition()).toEqual [13, 0] - expect(buffer.lineForRow(0)).toBe 'var quicksort = function () {' - expect(buffer.lineForRow(13)).toBe 'var a = function() {' - expect(editor.isFoldedAtBufferRow(0)).toBe true - expect(editor.isFoldedAtBufferRow(13)).toBe true - - describe "when the line below is empty and the line below that is folded", -> - it "moves the line to the empty line", -> - editor.setCursorBufferPosition([0, Infinity]) - editor.insertText('\n') - editor.setCursorBufferPosition([0, 0]) - editor.foldBufferRow(2) - editorView.trigger 'editor:move-line-down' - - expect(editor.getCursorBufferPosition()).toEqual [1, 0] - expect(buffer.lineForRow(0)).toBe '' - expect(buffer.lineForRow(1)).toBe 'var quicksort = function () {' - expect(buffer.lineForRow(2)).toBe ' var sort = function(items) {' - expect(editor.isFoldedAtBufferRow(0)).toBe false - expect(editor.isFoldedAtBufferRow(1)).toBe false - expect(editor.isFoldedAtBufferRow(2)).toBe true - - describe "when the cursor is on the last line", -> - it "does not move the line", -> - editor.moveCursorToBottom() - editorView.trigger 'editor:move-line-down' - expect(buffer.lineForRow(12)).toBe '};' - expect(editor.getSelectedBufferRange()).toEqual [[12, 2], [12, 2]] - - describe "when the cursor is on the second to last line", -> - it "moves the line down", -> - editor.setCursorBufferPosition([11, 0]) - editorView.trigger 'editor:move-line-down' - expect(buffer.lineForRow(11)).toBe '};' - expect(buffer.lineForRow(12)).toBe ' return sort(Array.apply(this, arguments));' - expect(buffer.lineForRow(13)).toBeUndefined() - - describe "when the cursor is on the second to last line and the last line is empty", -> - it "does not move the line", -> - editor.moveCursorToBottom() - editor.insertNewline() - editor.setCursorBufferPosition([12, 2]) - editorView.trigger 'editor:move-line-down' - expect(buffer.lineForRow(12)).toBe '};' - expect(buffer.lineForRow(13)).toBe '' - expect(editor.getSelectedBufferRange()).toEqual [[12, 2], [12, 2]] - - describe "where there is a selection", -> - describe "when the selection falls inside the line", -> - it "maintains the selection", -> - editor.setSelectedBufferRange([[1, 2], [1, 5]]) - expect(editor.getSelectedText()).toBe 'var' - editorView.trigger 'editor:move-line-down' - expect(editor.getSelectedBufferRange()).toEqual [[2, 2], [2, 5]] - expect(editor.getSelectedText()).toBe 'var' - - describe "where there are multiple lines selected", -> - it "moves the selected lines down", -> - editor.setSelectedBufferRange([[2, 0], [3, Infinity]]) - editorView.trigger 'editor:move-line-down' - expect(buffer.lineForRow(2)).toBe ' while(items.length > 0) {' - expect(buffer.lineForRow(3)).toBe ' if (items.length <= 1) return items;' - expect(buffer.lineForRow(4)).toBe ' var pivot = items.shift(), current, left = [], right = [];' - expect(buffer.lineForRow(5)).toBe ' current = items.shift();' - - it "maintains the selection", -> - editor.setSelectedBufferRange([[2, 0], [3, 62]]) - editorView.trigger 'editor:move-line-down' - expect(editor.getSelectedBufferRange()).toEqual [[3, 0], [4, 62]] - - describe "when the cursor is on a folded line", -> - it "moves all lines in the fold down and preserves the fold", -> - editor.setCursorBufferPosition([4, 0]) - editor.foldCurrentRow() - editorView.trigger 'editor:move-line-down' - expect(buffer.lineForRow(4)).toBe ' return sort(left).concat(pivot).concat(sort(right));' - expect(buffer.lineForRow(5)).toBe ' while(items.length > 0) {' - expect(editor.getSelectedBufferRange()).toEqual [[5, 0], [5, 0]] - expect(editor.isFoldedAtScreenRow(5)).toBeTruthy() - - describe "when the selection contains a folded and unfolded line", -> - it "moves the selected lines down and preserves the fold", -> - editor.setCursorBufferPosition([4, 0]) - editor.foldCurrentRow() - editor.setCursorBufferPosition([3, 4]) - editor.selectDown() - expect(editor.isFoldedAtScreenRow(4)).toBeTruthy() - editorView.trigger 'editor:move-line-down' - expect(buffer.lineForRow(3)).toBe ' return sort(left).concat(pivot).concat(sort(right));' - expect(buffer.lineForRow(4)).toBe ' var pivot = items.shift(), current, left = [], right = [];' - expect(buffer.lineForRow(5)).toBe ' while(items.length > 0) {' - expect(editor.getSelectedBufferRange()).toEqual [[4, 4], [5, 0]] - expect(editor.isFoldedAtScreenRow(5)).toBeTruthy() - - describe "when an entire line is selected including the newline", -> - it "moves the selected line down", -> - editor.setCursorBufferPosition([1]) - editor.selectToEndOfLine() - editor.selectRight() - editorView.trigger 'editor:move-line-down' - expect(buffer.lineForRow(1)).toBe ' if (items.length <= 1) return items;' - expect(buffer.lineForRow(2)).toBe ' var sort = function(items) {' - - describe "when the escape key is pressed on the editor view", -> - it "clears multiple selections if there are any, and otherwise allows other bindings to be handled", -> - atom.keymaps.add 'name', '.editor': {'escape': 'test-event'} - testEventHandler = jasmine.createSpy("testEventHandler") - - editorView.on 'test-event', testEventHandler - editorView.editor.addSelectionForBufferRange([[3, 0], [3, 0]]) - expect(editorView.editor.getSelections().length).toBe 2 - - editorView.trigger(keydownEvent('escape')) - expect(editorView.editor.getSelections().length).toBe 1 - expect(testEventHandler).not.toHaveBeenCalled() - - editorView.trigger(keydownEvent('escape')) - expect(testEventHandler).toHaveBeenCalled() - - describe "when the editor view is attached but invisible", -> - describe "when the editor view's text is changed", -> - it "redraws the editor view when it is next shown", -> - displayUpdatedHandler = null - atom.workspaceView = new WorkspaceView - waitsForPromise -> - atom.workspaceView.open('sample.txt').then (o) -> editor = o - - runs -> - atom.workspaceView.attachToDom() - editorView = atom.workspaceView.getActiveView() - - view = $$ -> @div id: 'view', tabindex: -1, 'View' - editorView.getPane().activateItem(view) - expect(editorView.isVisible()).toBeFalsy() - - editor.setText('hidden changes') - editor.setCursorBufferPosition([0,4]) - - displayUpdatedHandler = jasmine.createSpy("displayUpdatedHandler") - editorView.on 'editor:display-updated', displayUpdatedHandler - editorView.getPane().activateItem(editorView.getModel()) - expect(editorView.isVisible()).toBeTruthy() - - waitsFor -> - displayUpdatedHandler.callCount is 1 - - runs -> - expect(editorView.renderedLines.find('.line').text()).toBe 'hidden changes' - - it "redraws the editor view when it is next reattached", -> - editorView.attachToDom() - editorView.hide() - editor.setText('hidden changes') - editor.setCursorBufferPosition([0,4]) - editorView.detach() - - displayUpdatedHandler = jasmine.createSpy("displayUpdatedHandler") - editorView.on 'editor:display-updated', displayUpdatedHandler - editorView.show() - editorView.attachToDom() - - waitsFor -> - displayUpdatedHandler.callCount is 1 - - runs -> - expect(editorView.renderedLines.find('.line').text()).toBe 'hidden changes' - - describe "editor:scroll-to-cursor", -> - it "scrolls to and centers the editor view on the cursor's position", -> - editorView.attachToDom(heightInLines: 3) - editor.setCursorBufferPosition([1, 2]) - editorView.scrollToBottom() - expect(editorView.getFirstVisibleScreenRow()).not.toBe 0 - expect(editorView.getLastVisibleScreenRow()).not.toBe 2 - editorView.trigger('editor:scroll-to-cursor') - expect(editorView.getFirstVisibleScreenRow()).toBe 0 - expect(editorView.getLastVisibleScreenRow()).toBe 2 - - describe "when the editor view is removed", -> - it "fires a editor:will-be-removed event", -> - atom.workspaceView = new WorkspaceView - waitsForPromise -> - atom.workspace.open('sample.js') - - runs -> - atom.workspaceView.attachToDom() - editorView = atom.workspaceView.getActiveView() - - willBeRemovedHandler = jasmine.createSpy('willBeRemovedHandler') - editorView.on 'editor:will-be-removed', willBeRemovedHandler - editorView.getPane().destroyActiveItem() - expect(willBeRemovedHandler).toHaveBeenCalled() - - describe "when setInvisibles is toggled (regression)", -> - it "renders inserted newlines properly", -> - editorView.setShowInvisibles(true) - editor.setCursorBufferPosition([0, 0]) - editorView.attachToDom(heightInLines: 20) - editorView.setShowInvisibles(false) - editor.insertText("\n") - - for rowNumber in [1..5] - expect(editorView.lineElementForScreenRow(rowNumber).text()).toBe buffer.lineForRow(rowNumber) - - it "correctly calculates the position left for non-monospaced invisibles", -> - atom.config.set('editor.showInvisibles', true) - atom.config.set('editor.invisibles', tab: '♘') - editor.setText('\tx') - - editorView.setFontFamily('serif') - editorView.setFontSize(10) - editorView.attachToDom() - editorView.setWidthInChars(5) - - expect(editorView.pixelPositionForScreenPosition([0, 0]).left).toEqual 0 - expect(editorView.pixelPositionForScreenPosition([0, 1]).left).toEqual 10 - expect(editorView.pixelPositionForScreenPosition([0, 2]).left).toEqual 13 - - describe "when the window is resized", -> - it "updates the active edit session with the current soft wrap column", -> - editorView.attachToDom() - setEditorWidthInChars(editorView, 50) - expect(editorView.editor.getSoftWrapColumn()).toBe 50 - setEditorWidthInChars(editorView, 100) - $(window).trigger 'resize' - expect(editorView.editor.getSoftWrapColumn()).toBe 100 - - describe "character width caching", -> - describe "when soft wrap is enabled", -> - it "correctly calculates the the position left for a column", -> - editor.setSoftWrap(true) - editor.setText('lllll 00000') - editorView.setFontFamily('serif') - editorView.setFontSize(10) - editorView.attachToDom() - editorView.setWidthInChars(5) - - expect(editorView.pixelPositionForScreenPosition([0, 5]).left).toEqual 15 - expect(editorView.pixelPositionForScreenPosition([1, 5]).left).toEqual 25 - - # Check that widths are actually being cached - spyOn(editorView, 'measureToColumn').andCallThrough() - editorView.pixelPositionForScreenPosition([0, 5]) - editorView.pixelPositionForScreenPosition([1, 5]) - expect(editorView.measureToColumn.callCount).toBe 0 - - describe "when stylesheets are changed", -> - afterEach -> - atom.themes.removeStylesheet 'line-height' - atom.themes.removeStylesheet 'char-width' - - it "updates the editor if the line height or character width changes due to a stylesheet change", -> - editorView.attachToDom() - editor.setCursorScreenPosition([1, 3]) - expect(editorView.pixelPositionForScreenPosition([1, 3])).toEqual {top: 20, left: 30} - expect(editorView.getCursorView().position()).toEqual {top: 20, left: 30} - - atom.themes.applyStylesheet 'line-height', """ - .editor { line-height: 2; } - """ - - expect(editorView.pixelPositionForScreenPosition([1, 3])).toEqual {top: 20, left: 30} - expect(editorView.getCursorView().position()).toEqual {top: 20, left: 30} - - atom.themes.applyStylesheet 'char-width', """ - .editor { letter-spacing: 2px; } - """ - expect(editorView.pixelPositionForScreenPosition([1, 3])).toEqual {top: 20, left: 36} - expect(editorView.getCursorView().position()).toEqual {top: 20, left: 36} - - describe "when the editor contains hard tabs", -> - it "correctly calculates the the position left for a column", -> - editor.setText('\ttest') - editorView.attachToDom() - - expect(editorView.pixelPositionForScreenPosition([0, editor.getTabLength()]).left).toEqual 20 - expect(editorView.pixelPositionForScreenPosition([0, editor.getTabLength() + 1]).left).toEqual 30 - - # Check that widths are actually being cached - spyOn(editorView, 'measureToColumn').andCallThrough() - editorView.pixelPositionForScreenPosition([0, editor.getTabLength()]) - editorView.pixelPositionForScreenPosition([0, editor.getTabLength() + 1]) - expect(editorView.measureToColumn.callCount).toBe 0 - - describe "grammar data attributes", -> - it "adds and updates the grammar data attribute based on the current grammar", -> - editorView.attachToDom() - editor.setGrammar(atom.syntax.grammarForScopeName('text.plain')) - expect(editorView.attr('data-grammar')).toBe 'text plain' - - editor.setGrammar(atom.syntax.grammarForScopeName('source.js')) - expect(editorView.attr('data-grammar')).toBe 'source js' diff --git a/src/editor-view.coffee b/src/editor-view.coffee deleted file mode 100644 index 2a9182ab3..000000000 --- a/src/editor-view.coffee +++ /dev/null @@ -1,1594 +0,0 @@ -{View, $, $$$} = require './space-pen-extensions' -GutterView = require './gutter-view' -{Point, Range} = require 'text-buffer' -Editor = require './editor' -CursorView = require './cursor-view' -SelectionView = require './selection-view' -fs = require 'fs-plus' -_ = require 'underscore-plus' -TextBuffer = require 'text-buffer' - -MeasureRange = document.createRange() -TextNodeFilter = { acceptNode: -> NodeFilter.FILTER_ACCEPT } -NoScope = ['no-scope'] -LongLineLength = 1000 - -# Public: Represents the entire visual pane in Atom. -# -# The EditorView manages the {Editor}, which manages the file buffers. -# -# ## Requiring in packages -# -# ```coffee -# {EditorView} = require 'atom' -# -# miniEditorView = new EditorView(mini: true) -# ``` -# -# ## Iterating over the open editor views -# -# ```coffee -# for editorView in atom.workspaceView.getEditorViews() -# console.log(editorView.getEditor().getPath()) -# ``` -# -# ## Subscribing to every current and future editor -# -# ```coffee -# atom.workspace.eachEditorView (editorView) -> -# console.log(editorView.getEditor().getPath()) -# ``` -module.exports = -class EditorView extends View - @characterWidthCache: {} - @configDefaults: - fontFamily: '' - fontSize: 16 - lineHeight: 1.3 - showInvisibles: false - showIndentGuide: false - showLineNumbers: true - autoIndent: true - normalizeIndentOnPaste: true - nonWordCharacters: "/\\()\"':,.;<>~!@#$%^&*|+=[]{}`?-" - preferredLineLength: 80 - tabLength: 2 - softWrap: false - softTabs: true - softWrapAtPreferredLineLength: false - scrollSensitivity: 40 - useHardwareAcceleration: true - confirmCheckoutHeadRevision: true - invisibles: - eol: '\u00ac' - space: '\u00b7' - tab: '\u00bb' - cr: '\u00a4' - - @nextEditorId: 1 - - @content: (params) -> - attributes = { class: @classes(params), tabindex: -1 } - _.extend(attributes, params.attributes) if params.attributes - @div attributes, => - @subview 'gutter', new GutterView - @div class: 'scroll-view', outlet: 'scrollView', => - @div class: 'overlayer', outlet: 'overlayer' - @div class: 'lines', outlet: 'renderedLines' - @div class: 'underlayer', outlet: 'underlayer', => - @input class: 'hidden-input', outlet: 'hiddenInput' - @div class: 'vertical-scrollbar', outlet: 'verticalScrollbar', => - @div outlet: 'verticalScrollbarContent' - - @classes: ({mini} = {}) -> - classes = ['editor', 'editor-colors'] - classes.push 'mini' if mini - classes.join(' ') - - vScrollMargin: 2 - hScrollMargin: 10 - lineHeight: null - charWidth: null - charHeight: null - cursorViews: null - selectionViews: null - lineCache: null - isFocused: false - editor: null - attached: false - lineOverdraw: 10 - pendingChanges: null - newCursors: null - newSelections: null - redrawOnReattach: false - bottomPaddingInLines: 10 - - # The constructor for setting up an `EditorView` instance. - # - # editorOrOptions - Either an {Editor}, or an object with one property, `mini`. - # If `mini` is `true`, a "miniature" `Editor` is constructed. - # Typically, this is ideal for scenarios where you need an Atom editor, - # but without all the chrome, like scrollbars, gutter, _e.t.c._. - # - initialize: (editorOrOptions) -> - if editorOrOptions instanceof Editor - editor = editorOrOptions - else - {editor, @mini, placeholderText} = editorOrOptions ? {} - - @id = EditorView.nextEditorId++ - @lineCache = [] - @configure() - @bindKeys() - @handleEvents() - @handleInputEvents() - @cursorViews = [] - @selectionViews = [] - @pendingChanges = [] - @newCursors = [] - @newSelections = [] - - @setPlaceholderText(placeholderText) if placeholderText - - if editor? - @edit(editor) - else if @mini - @edit(new Editor - buffer: new TextBuffer - softWrap: false - tabLength: 2 - softTabs: true - ) - else - throw new Error("Must supply an Editor or mini: true") - - # Sets up the core Atom commands. - # - # Some commands are excluded from mini-editors. - bindKeys: -> - editorBindings = - 'core:move-left': => @editor.moveCursorLeft() - 'core:move-right': => @editor.moveCursorRight() - 'core:select-left': => @editor.selectLeft() - 'core:select-right': => @editor.selectRight() - 'core:select-all': => @editor.selectAll() - 'core:backspace': => @editor.backspace() - 'core:delete': => @editor.delete() - 'core:undo': => @editor.undo() - 'core:redo': => @editor.redo() - 'core:cut': => @editor.cutSelectedText() - 'core:copy': => @editor.copySelectedText() - 'core:paste': => @editor.pasteText() - 'editor:move-to-previous-word': => @editor.moveCursorToPreviousWord() - 'editor:select-word': => @editor.selectWord() - 'editor:consolidate-selections': (event) => @consolidateSelections(event) - 'editor:delete-to-beginning-of-word': => @editor.deleteToBeginningOfWord() - 'editor:delete-to-beginning-of-line': => @editor.deleteToBeginningOfLine() - 'editor:delete-to-end-of-line': => @editor.deleteToEndOfLine() - 'editor:delete-to-end-of-word': => @editor.deleteToEndOfWord() - 'editor:delete-line': => @editor.deleteLine() - 'editor:cut-to-end-of-line': => @editor.cutToEndOfLine() - 'editor:move-to-beginning-of-next-paragraph': => @editor.moveCursorToBeginningOfNextParagraph() - 'editor:move-to-beginning-of-previous-paragraph': => @editor.moveCursorToBeginningOfPreviousParagraph() - 'editor:move-to-beginning-of-screen-line': => @editor.moveCursorToBeginningOfScreenLine() - 'editor:move-to-beginning-of-line': => @editor.moveCursorToBeginningOfLine() - 'editor:move-to-end-of-screen-line': => @editor.moveCursorToEndOfScreenLine() - 'editor:move-to-end-of-line': => @editor.moveCursorToEndOfLine() - 'editor:move-to-first-character-of-line': => @editor.moveCursorToFirstCharacterOfLine() - 'editor:move-to-beginning-of-word': => @editor.moveCursorToBeginningOfWord() - 'editor:move-to-end-of-word': => @editor.moveCursorToEndOfWord() - 'editor:move-to-beginning-of-next-word': => @editor.moveCursorToBeginningOfNextWord() - 'editor:move-to-previous-word-boundary': => @editor.moveCursorToPreviousWordBoundary() - 'editor:move-to-next-word-boundary': => @editor.moveCursorToNextWordBoundary() - 'editor:select-to-beginning-of-next-paragraph': => @editor.selectToBeginningOfNextParagraph() - 'editor:select-to-beginning-of-previous-paragraph': => @editor.selectToBeginningOfPreviousParagraph() - 'editor:select-to-end-of-line': => @editor.selectToEndOfLine() - 'editor:select-to-beginning-of-line': => @editor.selectToBeginningOfLine() - 'editor:select-to-end-of-word': => @editor.selectToEndOfWord() - 'editor:select-to-beginning-of-word': => @editor.selectToBeginningOfWord() - 'editor:select-to-beginning-of-next-word': => @editor.selectToBeginningOfNextWord() - 'editor:select-to-next-word-boundary': => @editor.selectToNextWordBoundary() - 'editor:select-to-previous-word-boundary': => @editor.selectToPreviousWordBoundary() - 'editor:select-to-first-character-of-line': => @editor.selectToFirstCharacterOfLine() - 'editor:select-line': => @editor.selectLine() - 'editor:transpose': => @editor.transpose() - 'editor:upper-case': => @editor.upperCase() - 'editor:lower-case': => @editor.lowerCase() - - unless @mini - _.extend editorBindings, - 'core:move-up': => @editor.moveCursorUp() - 'core:move-down': => @editor.moveCursorDown() - 'core:move-to-top': => @editor.moveCursorToTop() - 'core:move-to-bottom': => @editor.moveCursorToBottom() - 'core:page-up': => @pageUp() - 'core:page-down': => @pageDown() - 'core:select-up': => @editor.selectUp() - 'core:select-down': => @editor.selectDown() - 'core:select-to-top': => @editor.selectToTop() - 'core:select-to-bottom': => @editor.selectToBottom() - 'core:select-page-up': => @editor.selectUp(@getPageRows()) - 'core:select-page-down': => @editor.selectDown(@getPageRows()) - 'editor:indent': => @editor.indent() - 'editor:auto-indent': => @editor.autoIndentSelectedRows() - 'editor:indent-selected-rows': => @editor.indentSelectedRows() - 'editor:outdent-selected-rows': => @editor.outdentSelectedRows() - 'editor:newline': => @editor.insertNewline() - 'editor:newline-below': => @editor.insertNewlineBelow() - 'editor:newline-above': => @editor.insertNewlineAbove() - 'editor:add-selection-below': => @editor.addSelectionBelow() - 'editor:add-selection-above': => @editor.addSelectionAbove() - 'editor:split-selections-into-lines': => @editor.splitSelectionsIntoLines() - 'editor:toggle-soft-tabs': => @toggleSoftTabs() - 'editor:toggle-soft-wrap': => @toggleSoftWrap() - 'editor:fold-all': => @editor.foldAll() - 'editor:unfold-all': => @editor.unfoldAll() - 'editor:fold-current-row': => @editor.foldCurrentRow() - 'editor:unfold-current-row': => @editor.unfoldCurrentRow() - 'editor:fold-selection': => @editor.foldSelectedLines() - 'editor:fold-at-indent-level-1': => @editor.foldAllAtIndentLevel(0) - 'editor:fold-at-indent-level-2': => @editor.foldAllAtIndentLevel(1) - 'editor:fold-at-indent-level-3': => @editor.foldAllAtIndentLevel(2) - 'editor:fold-at-indent-level-4': => @editor.foldAllAtIndentLevel(3) - 'editor:fold-at-indent-level-5': => @editor.foldAllAtIndentLevel(4) - 'editor:fold-at-indent-level-6': => @editor.foldAllAtIndentLevel(5) - 'editor:fold-at-indent-level-7': => @editor.foldAllAtIndentLevel(6) - 'editor:fold-at-indent-level-8': => @editor.foldAllAtIndentLevel(7) - 'editor:fold-at-indent-level-9': => @editor.foldAllAtIndentLevel(8) - 'editor:toggle-line-comments': => @toggleLineCommentsInSelection() - 'editor:log-cursor-scope': => @logCursorScope() - 'editor:checkout-head-revision': => atom.project.getRepo()?.checkoutHeadForEditor(@editor) - 'editor:copy-path': => @copyPathToClipboard() - 'editor:move-line-up': => @editor.moveLineUp() - 'editor:move-line-down': => @editor.moveLineDown() - 'editor:duplicate-lines': => @editor.duplicateLines() - 'editor:join-lines': => @editor.joinLines() - 'editor:toggle-indent-guide': -> atom.config.toggle('editor.showIndentGuide') - 'editor:toggle-line-numbers': -> atom.config.toggle('editor.showLineNumbers') - 'editor:scroll-to-cursor': => @scrollToCursorPosition() - - documentation = {} - for name, method of editorBindings - do (name, method) => - @command name, (e) -> method(e); false - - # Public: Get the underlying editor model for this view. - # - # Returns an {Editor}. - getEditor: -> - @editor - - # {Delegates to: Editor.getText} - getText: -> - @editor.getText() - - # {Delegates to: Editor.setText} - setText: (text) -> - @editor.setText(text) - - # {Delegates to: Editor.insertText} - insertText: (text, options) -> - @editor.insertText(text, options) - - setHeightInLines: (heightInLines) -> - heightInLines ?= @calculateHeightInLines() - @heightInLines = heightInLines if heightInLines - - # {Delegates to: Editor.setEditorWidthInChars} - setWidthInChars: (widthInChars) -> - widthInChars ?= @calculateWidthInChars() - @editor.setEditorWidthInChars(widthInChars) if widthInChars - - # Public: Emulates the "page down" key, where the last row of a buffer scrolls - # to become the first. - pageDown: -> - newScrollTop = @scrollTop() + @scrollView[0].clientHeight - @editor.moveCursorDown(@getPageRows()) - @scrollTop(newScrollTop, adjustVerticalScrollbar: true) - - # Public: Emulates the "page up" key, where the frst row of a buffer scrolls - # to become the last. - pageUp: -> - newScrollTop = @scrollTop() - @scrollView[0].clientHeight - @editor.moveCursorUp(@getPageRows()) - @scrollTop(newScrollTop, adjustVerticalScrollbar: true) - - # Gets the number of actual page rows existing in an editor. - # - # Returns a {Number}. - getPageRows: -> - Math.max(1, Math.ceil(@scrollView[0].clientHeight / @lineHeight)) - - # Public: Set whether invisible characters are shown. - # - # showInvisibles - A {Boolean} which, if `true`, show invisible characters. - setShowInvisibles: (showInvisibles) -> - return if showInvisibles == @showInvisibles - @showInvisibles = showInvisibles - @resetDisplay() - - # Public: Defines which characters are invisible. - # - # invisibles - An {Object} defining the invisible characters: - # :eol - The end of line invisible {String} (default: `\u00ac`). - # :space - The space invisible {String} (default: `\u00b7`). - # :tab - The tab invisible {String} (default: `\u00bb`). - # :cr - The carriage return invisible {String} (default: `\u00a4`). - setInvisibles: (@invisibles={}) -> - _.defaults @invisibles, - eol: '\u00ac' - space: '\u00b7' - tab: '\u00bb' - cr: '\u00a4' - @resetDisplay() - - # Public: Sets whether you want to show the indentation guides. - # - # showIndentGuide - A {Boolean} you can set to `true` if you want to see the - # indentation guides. - setShowIndentGuide: (showIndentGuide) -> - return if showIndentGuide == @showIndentGuide - @showIndentGuide = showIndentGuide - @resetDisplay() - - # Public: Set the text to appear in the editor when it is empty. - # - # This only affects mini editors. - # - # placeholderText - A {String} of text to display when empty. - setPlaceholderText: (placeholderText) -> - return unless @mini - @placeholderText = placeholderText - @requestDisplayUpdate() - - getPlaceholderText: -> - @placeholderText - - configure: -> - @subscribe atom.config.observe 'editor.showLineNumbers', (showLineNumbers) => @gutter.setShowLineNumbers(showLineNumbers) - @subscribe atom.config.observe 'editor.showInvisibles', (showInvisibles) => @setShowInvisibles(showInvisibles) - @subscribe atom.config.observe 'editor.showIndentGuide', (showIndentGuide) => @setShowIndentGuide(showIndentGuide) - @subscribe atom.config.observe 'editor.invisibles', (invisibles) => @setInvisibles(invisibles) - @subscribe atom.config.observe 'editor.fontSize', (fontSize) => @setFontSize(fontSize) - @subscribe atom.config.observe 'editor.fontFamily', (fontFamily) => @setFontFamily(fontFamily) - @subscribe atom.config.observe 'editor.lineHeight', (lineHeight) => @setLineHeight(lineHeight) - - handleEvents: -> - @on 'focus', => - @hiddenInput.focus() - false - - @hiddenInput.on 'focus', => - @bringHiddenInputIntoView() - @isFocused = true - @addClass 'is-focused' - - @hiddenInput.on 'focusout', => - @bringHiddenInputIntoView() - @isFocused = false - @removeClass 'is-focused' - - @underlayer.on 'mousedown', (e) => - @renderedLines.trigger(e) - false if @isFocused - - @overlayer.on 'mousedown', (e) => - return unless e.which is 1 # only handle the left mouse button - - # CTRL+click brings up the context menu on OSX, so don't handle those either - return if e.ctrlKey and process.platform is 'darwin' - - @overlayer.hide() - clickedElement = document.elementFromPoint(e.pageX, e.pageY) - @overlayer.show() - e.target = clickedElement - $(clickedElement).trigger(e) - false if @isFocused - - @renderedLines.on 'mousedown', '.fold.line', (e) => - id = $(e.currentTarget).attr('fold-id') - marker = @editor.displayBuffer.getMarker(id) - @editor.setCursorBufferPosition(marker.getBufferRange().start) - @editor.destroyFoldWithId(id) - false - - @gutter.on 'mousedown', '.foldable .icon-right', (e) => - bufferRow = $(e.target).parent().data('bufferRow') - @editor.toggleFoldAtBufferRow(bufferRow) - false - - @renderedLines.on 'mousedown', (e) => - clickCount = e.originalEvent.detail - - screenPosition = @screenPositionFromMouseEvent(e) - if clickCount == 1 - if e.metaKey or (process.platform isnt 'darwin' and e.ctrlKey) - @editor.addCursorAtScreenPosition(screenPosition) - else if e.shiftKey - @editor.selectToScreenPosition(screenPosition) - else - @editor.setCursorScreenPosition(screenPosition) - else if clickCount == 2 - @editor.selectWord() unless e.shiftKey - else if clickCount == 3 - @editor.selectLine() unless e.shiftKey - - @selectOnMousemoveUntilMouseup() unless e.ctrlKey or e.originalEvent.which > 1 - - unless @mini - @scrollView.on 'mousewheel', (e) => - if delta = e.originalEvent.wheelDeltaY - @scrollTop(@scrollTop() - delta) - false - - @verticalScrollbar.on 'scroll', => - @scrollTop(@verticalScrollbar.scrollTop(), adjustVerticalScrollbar: false) - - @scrollView.on 'scroll', => - if @scrollLeft() == 0 - @gutter.removeClass('drop-shadow') - else - @gutter.addClass('drop-shadow') - - # Listen for overflow events to detect when the editor's width changes - # to update the soft wrap column. - updateWidthInChars = _.debounce((=> @setWidthInChars()), 100) - @scrollView.on 'overflowchanged', => - updateWidthInChars() if @[0].classList.contains('soft-wrap') - - @subscribe atom.themes, 'stylesheets-changed', => @recalculateDimensions() - - handleInputEvents: -> - @on 'cursor:moved', => - return unless @isFocused - cursorView = @getCursorView() - - if cursorView.isVisible() - # This is an order of magnitude faster than checking .offset(). - style = cursorView[0].style - @hiddenInput[0].style.top = style.top - @hiddenInput[0].style.left = style.left - - selectedText = null - @hiddenInput.on 'compositionstart', => - selectedText = @editor.getSelectedText() - @hiddenInput.css('width', '100%') - @hiddenInput.on 'compositionupdate', (e) => - @editor.insertText(e.originalEvent.data, {select: true, undo: 'skip'}) - @hiddenInput.on 'compositionend', => - @editor.insertText(selectedText, {select: true, undo: 'skip'}) - @hiddenInput.css('width', '1px') - - lastInput = '' - @on "textInput", (e) => - # Work around of the accented character suggestion feature in OS X. - selectedLength = @hiddenInput[0].selectionEnd - @hiddenInput[0].selectionStart - if selectedLength is 1 and lastInput is @hiddenInput.val() - @editor.selectLeft() - - lastInput = e.originalEvent.data - @editor.insertText(lastInput) - - if lastInput is ' ' - true # Prevents parent elements from scrolling when a space is typed - else - @hiddenInput.val(lastInput) - false - - # Ignore paste event, on Linux is wrongly emitted when user presses ctrl-v. - @on "paste", -> false - - bringHiddenInputIntoView: -> - @hiddenInput.css(top: @scrollTop(), left: @scrollLeft()) - - selectOnMousemoveUntilMouseup: -> - lastMoveEvent = null - - finalizeSelections = => - clearInterval(interval) - $(document).off 'mousemove', moveHandler - $(document).off 'mouseup', finalizeSelections - - unless @editor.isDestroyed() - @editor.mergeIntersectingSelections(reversed: @editor.getLastSelection().isReversed()) - @editor.finalizeSelections() - @syncCursorAnimations() - - moveHandler = (event = lastMoveEvent) => - return unless event? - - if event.which is 1 and @[0].style.display isnt 'none' - @editor.selectToScreenPosition(@screenPositionFromMouseEvent(event)) - lastMoveEvent = event - else - finalizeSelections() - - $(document).on "mousemove.editor-#{@id}", moveHandler - interval = setInterval(moveHandler, 20) - $(document).one "mouseup.editor-#{@id}", finalizeSelections - - afterAttach: (onDom) -> - return unless onDom - - # TODO: Remove this guard when we understand why this is happening - unless @editor.isAlive() - if atom.isReleasedVersion() - return - else - throw new Error("Assertion failure: EditorView is getting attached to a dead editor. Why?") - - @redraw() if @redrawOnReattach - return if @attached - @attached = true - @calculateDimensions() - @setWidthInChars() - @subscribe $(window), "resize.editor-#{@id}", => - @setHeightInLines() - @setWidthInChars() - @updateLayerDimensions() - @requestDisplayUpdate() - @focus() if @isFocused - - if pane = @getPane() - @active = @is(pane.activeView) - @subscribe pane, 'pane:active-item-changed', (event, item) => - wasActive = @active - @active = @is(pane.activeView) - @redraw() if @active and not wasActive - - @resetDisplay() - - @trigger 'editor:attached', [this] - - edit: (editor) -> - return if editor is @editor - - if @editor - @saveScrollPositionForEditor() - @unsubscribe(@editor) - - @editor = editor - - return unless @editor? - - @editor.setVisible(true) - - @subscribe @editor, "destroyed", => - @remove() - - @subscribe @editor, "contents-conflicted", => - @showBufferConflictAlert(@editor) - - @subscribe @editor, "path-changed", => - @trigger 'editor:path-changed' - - @subscribe @editor, "grammar-changed", => - @addGrammarScopeAttribute() - @trigger 'editor:grammar-changed' - - @subscribe @editor, 'selection-added', (selection) => - @newCursors.push(selection.cursor) - @newSelections.push(selection) - @requestDisplayUpdate() - - @subscribe @editor, 'screen-lines-changed', (e) => - @handleScreenLinesChange(e) - - @subscribe @editor, 'scroll-top-changed', (scrollTop) => - @scrollTop(scrollTop) - - @subscribe @editor, 'scroll-left-changed', (scrollLeft) => - @scrollView.scrollLeft(scrollLeft) - - @subscribe @editor, 'soft-wrap-changed', (softWrap) => - @setSoftWrap(softWrap) - - @trigger 'editor:path-changed' - @resetDisplay() - @addGrammarScopeAttribute() - - if @attached and @editor.buffer.isInConflict() - _.defer => @showBufferConflictAlert(@editor) # Display after editor has a chance to display - - addGrammarScopeAttribute: -> - grammarScope = @editor.getGrammar()?.scopeName?.replace(/\./g, ' ') - @attr('data-grammar', grammarScope) - - getModel: -> - @editor - - setModel: (editor) -> - @edit(editor) - - showBufferConflictAlert: (editor) -> - atom.confirm - message: editor.getPath() - detailedMessage: "Has changed on disk. Do you want to reload it?" - buttons: - Reload: -> editor.getBuffer().reload() - Cancel: null - - scrollTop: (scrollTop, options={}) -> - return @cachedScrollTop or 0 unless scrollTop? - maxScrollTop = @verticalScrollbar.prop('scrollHeight') - @verticalScrollbar.height() - scrollTop = Math.floor(Math.max(0, Math.min(maxScrollTop, scrollTop))) - return if scrollTop == @cachedScrollTop - @cachedScrollTop = scrollTop - - @updateDisplay() if @attached - - @renderedLines.css('top', -scrollTop) - @underlayer.css('top', -scrollTop) - @overlayer.css('top', -scrollTop) - @gutter.lineNumbers.css('top', -scrollTop) - - if options?.adjustVerticalScrollbar ? true - @verticalScrollbar.scrollTop(scrollTop) - @editor.setScrollTop(@scrollTop()) - - scrollBottom: (scrollBottom) -> - if scrollBottom? - @scrollTop(scrollBottom - @scrollView.height()) - else - @scrollTop() + @scrollView.height() - - scrollLeft: (scrollLeft) -> - if scrollLeft? - @scrollView.scrollLeft(scrollLeft) - @editor.setScrollLeft(@scrollLeft()) - else - @scrollView.scrollLeft() - - scrollRight: (scrollRight) -> - if scrollRight? - @scrollView.scrollRight(scrollRight) - @editor.setScrollLeft(@scrollLeft()) - else - @scrollView.scrollRight() - - # Public: Scrolls the editor to the bottom. - scrollToBottom: -> - @scrollBottom(@editor.getScreenLineCount() * @lineHeight) - - # Public: Scrolls the editor to the position of the most recently added - # cursor if it isn't current on screen. - # - # The editor is centered around the cursor's position if possible. - scrollToCursorPosition: -> - @scrollToBufferPosition(@editor.getCursorBufferPosition(), center: true) - - # Public: Scrolls the editor to the given buffer position. - # - # bufferPosition - An object that represents a buffer position. It can be either - # an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point} - # options - A hash matching the options available to {::scrollToPixelPosition} - scrollToBufferPosition: (bufferPosition, options) -> - @scrollToPixelPosition(@pixelPositionForBufferPosition(bufferPosition), options) - - # Public: Scrolls the editor to the given screen position. - # - # screenPosition - An object that represents a buffer position. It can be either - # an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point} - # options - A hash matching the options available to {::scrollToPixelPosition} - scrollToScreenPosition: (screenPosition, options) -> - @scrollToPixelPosition(@pixelPositionForScreenPosition(screenPosition), options) - - # Public: Scrolls the editor to the given pixel position. - # - # pixelPosition - An object that represents a pixel position. It can be either - # an {Object} (`{row, column}`), {Array} (`[row, column]`), or - # {Point}. - # options - A hash with the following keys: - # :center - if `true`, the position is scrolled such that it's in - # the center of the editor - scrollToPixelPosition: (pixelPosition, options) -> - return unless @attached - @scrollVertically(pixelPosition, options) - @scrollHorizontally(pixelPosition) - - # Public: Highlight all the folds within the given buffer range. - # - # "Highlighting" essentially just adds the `fold-selected` class to the line's - # DOM element. - # - # bufferRange - The {Range} to check. - highlightFoldsContainingBufferRange: (bufferRange) -> - screenLines = @editor.linesForScreenRows(@firstRenderedScreenRow, @lastRenderedScreenRow) - for screenLine, i in screenLines - if fold = screenLine.fold - screenRow = @firstRenderedScreenRow + i - element = @lineElementForScreenRow(screenRow) - - if bufferRange.intersectsWith(fold.getBufferRange()) - element.addClass('fold-selected') - else - element.removeClass('fold-selected') - - saveScrollPositionForEditor: -> - if @attached - @editor.setScrollTop(@scrollTop()) - @editor.setScrollLeft(@scrollLeft()) - - # Public: Toggle soft tabs on the edit session. - toggleSoftTabs: -> - @editor.setSoftTabs(not @editor.getSoftTabs()) - - # Public: Toggle soft wrap on the edit session. - toggleSoftWrap: -> - @setWidthInChars() - @editor.setSoftWrap(not @editor.getSoftWrap()) - - calculateWidthInChars: -> - Math.floor((@scrollView.width() - @getScrollbarWidth()) / @charWidth) - - calculateHeightInLines: -> - Math.ceil($(window).height() / @lineHeight) - - getScrollbarWidth: -> - scrollbarElement = @verticalScrollbar[0] - scrollbarElement.offsetWidth - scrollbarElement.clientWidth - - # Public: Enables/disables soft wrap on the editor. - # - # softWrap - A {Boolean} which, if `true`, enables soft wrap - setSoftWrap: (softWrap) -> - if softWrap - @addClass 'soft-wrap' - @scrollLeft(0) - else - @removeClass 'soft-wrap' - - # Public: Sets the font size for the editor. - # - # fontSize - A {Number} indicating the font size in pixels. - setFontSize: (fontSize) -> - @css('font-size', "#{fontSize}px") - - @clearCharacterWidthCache() - - if @isOnDom() - @redraw() - else - @redrawOnReattach = @attached - - # Public: Retrieves the font size for the editor. - # - # Returns a {Number} indicating the font size in pixels. - getFontSize: -> - parseInt(@css("font-size")) - - # Public: Sets the font family for the editor. - # - # fontFamily - A {String} identifying the CSS `font-family`. - setFontFamily: (fontFamily='') -> - @css('font-family', fontFamily) - - @clearCharacterWidthCache() - - @redraw() - - # Public: Gets the font family for the editor. - # - # Returns a {String} identifying the CSS `font-family`. - getFontFamily: -> @css("font-family") - - # Public: Sets the line height of the editor. - # - # Calling this method has no effect when called on a mini editor. - # - # lineHeight - A {Number} without a unit suffix identifying the CSS - # `line-height`. - setLineHeight: (lineHeight) -> - return if @mini - @css('line-height', lineHeight) - @redraw() - - # Public: Redraw the editor - redraw: -> - return unless @hasParent() - return unless @attached - @redrawOnReattach = false - @calculateDimensions() - @updatePaddingOfRenderedLines() - @updateLayerDimensions() - @requestDisplayUpdate() - - # Public: Split the editor view left. - splitLeft: -> - pane = @getPane() - pane?.splitLeft(pane?.copyActiveItem()).activeView - - # Public: Split the editor view right. - splitRight: -> - pane = @getPane() - pane?.splitRight(pane?.copyActiveItem()).activeView - - # Public: Split the editor view up. - splitUp: -> - pane = @getPane() - pane?.splitUp(pane?.copyActiveItem()).activeView - - # Public: Split the editor view down. - splitDown: -> - pane = @getPane() - pane?.splitDown(pane?.copyActiveItem()).activeView - - # Public: Get this view's pane. - # - # Returns a {Pane}. - getPane: -> - @parent('.item-views').parents('.pane').view() - - remove: (selector, keepData) -> - return super if keepData or @removed - super - atom.workspaceView?.focus() - - beforeRemove: -> - @trigger 'editor:will-be-removed' - @removed = true - @editor?.destroy() - $(window).off(".editor-#{@id}") - $(document).off(".editor-#{@id}") - - getCursorView: (index) -> - index ?= @cursorViews.length - 1 - @cursorViews[index] - - getCursorViews: -> - new Array(@cursorViews...) - - addCursorView: (cursor, options) -> - cursorView = new CursorView(cursor, this, options) - @cursorViews.push(cursorView) - @overlayer.append(cursorView) - cursorView - - removeCursorView: (cursorView) -> - _.remove(@cursorViews, cursorView) - - getSelectionView: (index) -> - index ?= @selectionViews.length - 1 - @selectionViews[index] - - getSelectionViews: -> - new Array(@selectionViews...) - - addSelectionView: (selection) -> - selectionView = new SelectionView({editorView: this, selection}) - @selectionViews.push(selectionView) - @underlayer.append(selectionView) - selectionView - - removeSelectionView: (selectionView) -> - _.remove(@selectionViews, selectionView) - - removeAllCursorAndSelectionViews: -> - cursorView.remove() for cursorView in @getCursorViews() - selectionView.remove() for selectionView in @getSelectionViews() - - appendToLinesView: (view) -> - @overlayer.append(view) - - # Scrolls the editor vertically to a given position. - scrollVertically: (pixelPosition, {center}={}) -> - scrollViewHeight = @scrollView.height() - scrollTop = @scrollTop() - scrollBottom = scrollTop + scrollViewHeight - - if center - unless scrollTop < pixelPosition.top < scrollBottom - @scrollTop(pixelPosition.top - (scrollViewHeight / 2)) - else - linesInView = @scrollView.height() / @lineHeight - maxScrollMargin = Math.floor((linesInView - 1) / 2) - scrollMargin = Math.min(@vScrollMargin, maxScrollMargin) - margin = scrollMargin * @lineHeight - desiredTop = pixelPosition.top - margin - desiredBottom = pixelPosition.top + @lineHeight + margin - if desiredBottom > scrollBottom - @scrollTop(desiredBottom - scrollViewHeight) - else if desiredTop < scrollTop - @scrollTop(desiredTop) - - # Scrolls the editor horizontally to a given position. - scrollHorizontally: (pixelPosition) -> - return if @editor.getSoftWrap() - - charsInView = @scrollView.width() / @charWidth - maxScrollMargin = Math.floor((charsInView - 1) / 2) - scrollMargin = Math.min(@hScrollMargin, maxScrollMargin) - margin = scrollMargin * @charWidth - desiredRight = pixelPosition.left + @charWidth + margin - desiredLeft = pixelPosition.left - margin - - if desiredRight > @scrollRight() - @scrollRight(desiredRight) - else if desiredLeft < @scrollLeft() - @scrollLeft(desiredLeft) - @saveScrollPositionForEditor() - - calculateDimensions: -> - fragment = $('') - @renderedLines.append(fragment) - - lineRect = fragment[0].getBoundingClientRect() - charRect = fragment.find('span')[0].getBoundingClientRect() - @lineHeight = lineRect.height - @charWidth = charRect.width - @charHeight = charRect.height - fragment.remove() - @setHeightInLines() - - recalculateDimensions: -> - return unless @attached and @isVisible() - - oldCharWidth = @charWidth - oldLineHeight = @lineHeight - - @calculateDimensions() - - unless @charWidth is oldCharWidth and @lineHeight is oldLineHeight - @clearCharacterWidthCache() - @requestDisplayUpdate() - - updateLayerDimensions: (scrollViewWidth) -> - height = @lineHeight * @editor.getScreenLineCount() - unless @layerHeight == height - @layerHeight = height - @underlayer.height(@layerHeight) - @renderedLines.height(@layerHeight) - @overlayer.height(@layerHeight) - @verticalScrollbarContent.height(@layerHeight) - @scrollBottom(height) if @scrollBottom() > height - - minWidth = Math.max(@charWidth * @editor.getMaxScreenLineLength() + 20, scrollViewWidth) - unless @layerMinWidth == minWidth - @renderedLines.css('min-width', minWidth) - @underlayer.css('min-width', minWidth) - @overlayer.css('min-width', minWidth) - @layerMinWidth = minWidth - @trigger 'editor:min-width-changed' - - # Override for speed. The base function checks computedStyle, unnecessary here. - isHidden: -> - style = this[0].style - if style.display == 'none' or not @isOnDom() - true - else - false - - clearRenderedLines: -> - @renderedLines.empty() - @firstRenderedScreenRow = null - @lastRenderedScreenRow = null - - resetDisplay: -> - return unless @attached - - @clearRenderedLines() - @removeAllCursorAndSelectionViews() - editorScrollTop = @editor.getScrollTop() ? 0 - editorScrollLeft = @editor.getScrollLeft() ? 0 - @updateLayerDimensions() - @scrollTop(editorScrollTop) - @scrollLeft(editorScrollLeft) - @setSoftWrap(@editor.getSoftWrap()) - @newCursors = @editor.getCursors() - @newSelections = @editor.getSelections() - @updateDisplay(suppressAutoscroll: true) - - requestDisplayUpdate: -> - return if @pendingDisplayUpdate - return unless @isVisible() - @pendingDisplayUpdate = true - setImmediate => - @updateDisplay() - @pendingDisplayUpdate = false - - updateDisplay: (options) -> - return unless @attached and @editor - return if @editor.isDestroyed() - unless @isOnDom() and @isVisible() - @redrawOnReattach = true - return - - scrollViewWidth = @scrollView.width() - @updateRenderedLines(scrollViewWidth) - @updatePlaceholderText() - @highlightCursorLine() - @updateCursorViews() - @updateSelectionViews() - @autoscroll(options?.suppressAutoscroll ? false) - @trigger 'editor:display-updated' - - updateCursorViews: -> - if @newCursors.length > 0 - @addCursorView(cursor) for cursor in @newCursors when not cursor.destroyed - @syncCursorAnimations() - @newCursors = [] - - for cursorView in @getCursorViews() - if cursorView.needsRemoval - cursorView.remove() - else if @shouldUpdateCursor(cursorView) - cursorView.updateDisplay() - - shouldUpdateCursor: (cursorView) -> - return false unless cursorView.needsUpdate - - pos = cursorView.getScreenPosition() - pos.row >= @firstRenderedScreenRow and pos.row <= @lastRenderedScreenRow - - updateSelectionViews: -> - if @newSelections.length > 0 - @addSelectionView(selection) for selection in @newSelections when not selection.destroyed - @newSelections = [] - - for selectionView in @getSelectionViews() - if selectionView.needsRemoval - selectionView.remove() - else if @shouldUpdateSelection(selectionView) - selectionView.updateDisplay() - - shouldUpdateSelection: (selectionView) -> - screenRange = selectionView.getScreenRange() - startRow = screenRange.start.row - endRow = screenRange.end.row - (startRow >= @firstRenderedScreenRow and startRow <= @lastRenderedScreenRow) or # startRow in range - (endRow >= @firstRenderedScreenRow and endRow <= @lastRenderedScreenRow) or # endRow in range - (startRow <= @firstRenderedScreenRow and endRow >= @lastRenderedScreenRow) # selection surrounds the rendered items - - syncCursorAnimations: -> - cursorView.resetBlinking() for cursorView in @getCursorViews() - - autoscroll: (suppressAutoscroll) -> - for cursorView in @getCursorViews() - if !suppressAutoscroll and cursorView.needsAutoscroll() - @scrollToPixelPosition(cursorView.getPixelPosition()) - cursorView.clearAutoscroll() - - for selectionView in @getSelectionViews() - if !suppressAutoscroll and selectionView.needsAutoscroll() - @scrollToPixelPosition(selectionView.getCenterPixelPosition(), center: true) - selectionView.highlight() - selectionView.clearAutoscroll() - - updatePlaceholderText: -> - return unless @mini - if (not @placeholderText) or @editor.getText() - @find('.placeholder-text').remove() - else if @placeholderText and not @editor.getText() - element = @find('.placeholder-text') - if element.length - element.text(@placeholderText) - else - @underlayer.append($('', class: 'placeholder-text', text: @placeholderText)) - - updateRenderedLines: (scrollViewWidth) -> - firstVisibleScreenRow = @getFirstVisibleScreenRow() - lastScreenRowToRender = firstVisibleScreenRow + @heightInLines - 1 - lastScreenRow = @editor.getLastScreenRow() - - if @firstRenderedScreenRow? and firstVisibleScreenRow >= @firstRenderedScreenRow and lastScreenRowToRender <= @lastRenderedScreenRow - renderFrom = Math.min(lastScreenRow, @firstRenderedScreenRow) - renderTo = Math.min(lastScreenRow, @lastRenderedScreenRow) - else - renderFrom = Math.min(lastScreenRow, Math.max(0, firstVisibleScreenRow - @lineOverdraw)) - renderTo = Math.min(lastScreenRow, lastScreenRowToRender + @lineOverdraw) - - if @pendingChanges.length == 0 and @firstRenderedScreenRow and @firstRenderedScreenRow <= renderFrom and renderTo <= @lastRenderedScreenRow - return - - changes = @pendingChanges - intactRanges = @computeIntactRanges(renderFrom, renderTo) - - @gutter.updateLineNumbers(changes, renderFrom, renderTo) - - @clearDirtyRanges(intactRanges) - @fillDirtyRanges(intactRanges, renderFrom, renderTo) - @firstRenderedScreenRow = renderFrom - @lastRenderedScreenRow = renderTo - @updateLayerDimensions(scrollViewWidth) - @updatePaddingOfRenderedLines() - - computeSurroundingEmptyLineChanges: (change) -> - emptyLineChanges = [] - - if change.bufferDelta? - afterStart = change.end + change.bufferDelta + 1 - if @editor.lineForBufferRow(afterStart) is '' - afterEnd = afterStart - afterEnd++ while @editor.lineForBufferRow(afterEnd + 1) is '' - emptyLineChanges.push({start: afterStart, end: afterEnd, screenDelta: 0}) - - beforeEnd = change.start - 1 - if @editor.lineForBufferRow(beforeEnd) is '' - beforeStart = beforeEnd - beforeStart-- while @editor.lineForBufferRow(beforeStart - 1) is '' - emptyLineChanges.push({start: beforeStart, end: beforeEnd, screenDelta: 0}) - - emptyLineChanges - - computeIntactRanges: (renderFrom, renderTo) -> - return [] if !@firstRenderedScreenRow? and !@lastRenderedScreenRow? - - intactRanges = [{start: @firstRenderedScreenRow, end: @lastRenderedScreenRow, domStart: 0}] - - if not @mini and @showIndentGuide - emptyLineChanges = [] - for change in @pendingChanges - emptyLineChanges.push(@computeSurroundingEmptyLineChanges(change)...) - @pendingChanges.push(emptyLineChanges...) - - for change in @pendingChanges - newIntactRanges = [] - for range in intactRanges - if change.end < range.start and change.screenDelta != 0 - newIntactRanges.push( - start: range.start + change.screenDelta - end: range.end + change.screenDelta - domStart: range.domStart - ) - else if change.end < range.start or change.start > range.end - newIntactRanges.push(range) - else - if change.start > range.start - newIntactRanges.push( - start: range.start - end: change.start - 1 - domStart: range.domStart) - if change.end < range.end - newIntactRanges.push( - start: change.end + change.screenDelta + 1 - end: range.end + change.screenDelta - domStart: range.domStart + change.end + 1 - range.start - ) - intactRanges = newIntactRanges - - @truncateIntactRanges(intactRanges, renderFrom, renderTo) - - @pendingChanges = [] - - intactRanges - - truncateIntactRanges: (intactRanges, renderFrom, renderTo) -> - i = 0 - while i < intactRanges.length - range = intactRanges[i] - if range.start < renderFrom - range.domStart += renderFrom - range.start - range.start = renderFrom - if range.end > renderTo - range.end = renderTo - if range.start >= range.end - intactRanges.splice(i--, 1) - i++ - intactRanges.sort (a, b) -> a.domStart - b.domStart - - clearDirtyRanges: (intactRanges) -> - if intactRanges.length == 0 - @renderedLines[0].innerHTML = '' - else if currentLine = @renderedLines[0].firstChild - domPosition = 0 - for intactRange in intactRanges - while intactRange.domStart > domPosition - currentLine = @clearLine(currentLine) - domPosition++ - for i in [intactRange.start..intactRange.end] - currentLine = currentLine.nextSibling - domPosition++ - while currentLine - currentLine = @clearLine(currentLine) - - clearLine: (lineElement) -> - next = lineElement.nextSibling - @renderedLines[0].removeChild(lineElement) - next - - fillDirtyRanges: (intactRanges, renderFrom, renderTo) -> - i = 0 - nextIntact = intactRanges[i] - currentLine = @renderedLines[0].firstChild - - row = renderFrom - while row <= renderTo - if row == nextIntact?.end + 1 - nextIntact = intactRanges[++i] - - if !nextIntact or row < nextIntact.start - if nextIntact - dirtyRangeEnd = nextIntact.start - 1 - else - dirtyRangeEnd = renderTo - - for lineElement in @buildLineElementsForScreenRows(row, dirtyRangeEnd) - @renderedLines[0].insertBefore(lineElement, currentLine) - row++ - else - currentLine = currentLine.nextSibling - row++ - - updatePaddingOfRenderedLines: -> - paddingTop = @firstRenderedScreenRow * @lineHeight - @renderedLines.css('padding-top', paddingTop) - @gutter.lineNumbers.css('padding-top', paddingTop) - - paddingBottom = (@editor.getLastScreenRow() - @lastRenderedScreenRow) * @lineHeight - @renderedLines.css('padding-bottom', paddingBottom) - @gutter.lineNumbers.css('padding-bottom', paddingBottom) - - # Public: Retrieves the number of the row that is visible and currently at the - # top of the editor. - # - # Returns a {Number}. - getFirstVisibleScreenRow: -> - screenRow = Math.floor(@scrollTop() / @lineHeight) - screenRow = 0 if isNaN(screenRow) - screenRow - - # Public: Retrieves the number of the row that is visible and currently at the - # bottom of the editor. - # - # Returns a {Number}. - getLastVisibleScreenRow: -> - calculatedRow = Math.ceil((@scrollTop() + @scrollView.height()) / @lineHeight) - 1 - screenRow = Math.max(0, Math.min(@editor.getScreenLineCount() - 1, calculatedRow)) - screenRow = 0 if isNaN(screenRow) - screenRow - - # Public: Given a row number, identifies if it is currently visible. - # - # row - A row {Number} to check - # - # Returns a {Boolean}. - isScreenRowVisible: (row) -> - @getFirstVisibleScreenRow() <= row <= @getLastVisibleScreenRow() - - handleScreenLinesChange: (change) -> - @pendingChanges.push(change) - @requestDisplayUpdate() - - buildLineElementForScreenRow: (screenRow) -> - @buildLineElementsForScreenRows(screenRow, screenRow)[0] - - buildLineElementsForScreenRows: (startRow, endRow) -> - div = document.createElement('div') - div.innerHTML = @htmlForScreenRows(startRow, endRow) - new Array(div.children...) - - htmlForScreenRows: (startRow, endRow) -> - htmlLines = '' - screenRow = startRow - for line in @editor.linesForScreenRows(startRow, endRow) - htmlLines += @htmlForScreenLine(line, screenRow++) - htmlLines - - htmlForScreenLine: (screenLine, screenRow) -> - { tokens, text, lineEnding, fold, isSoftWrapped } = screenLine - if fold - attributes = { class: 'fold line', 'fold-id': fold.id } - else - attributes = { class: 'line' } - - invisibles = @invisibles if @showInvisibles - eolInvisibles = @getEndOfLineInvisibles(screenLine) - htmlEolInvisibles = @buildHtmlEndOfLineInvisibles(screenLine) - - indentation = EditorView.buildIndentation(screenRow, @editor) - - EditorView.buildLineHtml({tokens, text, lineEnding, fold, isSoftWrapped, invisibles, eolInvisibles, htmlEolInvisibles, attributes, @showIndentGuide, indentation, @editor, @mini}) - - @buildIndentation: (screenRow, editor) -> - bufferRow = editor.bufferPositionForScreenPosition([screenRow]).row - bufferLine = editor.lineForBufferRow(bufferRow) - if bufferLine is '' - indentation = 0 - nextRow = screenRow + 1 - while nextRow < editor.getBuffer().getLineCount() - bufferRow = editor.bufferPositionForScreenPosition([nextRow]).row - bufferLine = editor.lineForBufferRow(bufferRow) - if bufferLine isnt '' - indentation = Math.ceil(editor.indentLevelForLine(bufferLine)) - break - nextRow++ - - previousRow = screenRow - 1 - while previousRow >= 0 - bufferRow = editor.bufferPositionForScreenPosition([previousRow]).row - bufferLine = editor.lineForBufferRow(bufferRow) - if bufferLine isnt '' - indentation = Math.max(indentation, Math.ceil(editor.indentLevelForLine(bufferLine))) - break - previousRow-- - - indentation - else - Math.ceil(editor.indentLevelForLine(bufferLine)) - - buildHtmlEndOfLineInvisibles: (screenLine) -> - invisibles = [] - for invisible in @getEndOfLineInvisibles(screenLine) - invisibles.push("#{invisible}") - invisibles.join('') - - getEndOfLineInvisibles: (screenLine) -> - return [] unless @showInvisibles and @invisibles - return [] if @mini or screenLine.isSoftWrapped() - - invisibles = [] - invisibles.push(@invisibles.cr) if @invisibles.cr and screenLine.lineEnding is '\r\n' - invisibles.push(@invisibles.eol) if @invisibles.eol - invisibles - - lineElementForScreenRow: (screenRow) -> - @renderedLines.children(":eq(#{screenRow - @firstRenderedScreenRow})") - - toggleLineCommentsInSelection: -> - @editor.toggleLineCommentsInSelection() - - # Public: Converts a buffer position to a pixel position. - # - # position - An object that represents a buffer position. It can be either - # an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point} - # - # Returns an object with two values: `top` and `left`, representing the pixel positions. - pixelPositionForBufferPosition: (position) -> - @pixelPositionForScreenPosition(@editor.screenPositionForBufferPosition(position)) - - # Public: Converts a screen position to a pixel position. - # - # position - An object that represents a screen position. It can be either - # an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point} - # - # Returns an object with two values: `top` and `left`, representing the pixel positions. - pixelPositionForScreenPosition: (position) -> - return { top: 0, left: 0 } unless @isOnDom() and @isVisible() - {row, column} = Point.fromObject(position) - actualRow = Math.floor(row) - - lineElement = existingLineElement = @lineElementForScreenRow(actualRow)[0] - unless existingLineElement - lineElement = @buildLineElementForScreenRow(actualRow) - @renderedLines.append(lineElement) - left = @positionLeftForLineAndColumn(lineElement, actualRow, column) - unless existingLineElement - @renderedLines[0].removeChild(lineElement) - { top: row * @lineHeight, left } - - positionLeftForLineAndColumn: (lineElement, screenRow, screenColumn) -> - return 0 if screenColumn == 0 - - tokenizedLine = @editor.displayBuffer.lineForRow(screenRow) - textContent = lineElement.textContent - - left = 0 - index = 0 - for token in tokenizedLine.tokens - for bufferChar in token.value - return left if index >= screenColumn - - # Invisibles might cause renderedChar to be different than bufferChar - renderedChar = textContent[index] - val = @getCharacterWidthCache(token.scopes, renderedChar) - if val? - left += val - else - return @measureToColumn(lineElement, tokenizedLine, screenColumn) - - index++ - left - - measureToColumn: (lineElement, tokenizedLine, screenColumn) -> - left = oldLeft = index = 0 - iterator = document.createNodeIterator(lineElement, NodeFilter.SHOW_TEXT, TextNodeFilter) - - returnLeft = null - - offsetLeft = @scrollView.offset().left - paddingLeft = parseInt(@scrollView.css('padding-left')) - - while textNode = iterator.nextNode() - content = textNode.textContent - - for char, i in content - # Don't continue caching long lines :racehorse: - break if index > LongLineLength and screenColumn < index - - # Dont return right away, finish caching the whole line - returnLeft = left if index == screenColumn - oldLeft = left - - scopes = tokenizedLine.tokenAtBufferColumn(index)?.scopes - cachedCharWidth = @getCharacterWidthCache(scopes, char) - - if cachedCharWidth? - left = oldLeft + cachedCharWidth - else - # i + 1 to measure to the end of the current character - MeasureRange.setEnd(textNode, i + 1) - MeasureRange.collapse() - rects = MeasureRange.getClientRects() - return 0 if rects.length == 0 - left = rects[0].left - Math.floor(offsetLeft) + Math.floor(@scrollLeft()) - paddingLeft - - if scopes? - cachedCharWidth = left - oldLeft - @setCharacterWidthCache(scopes, char, cachedCharWidth) - - # Assume all the characters are the same width when dealing with long - # lines :racehorse: - return screenColumn * cachedCharWidth if index > LongLineLength - - index++ - - returnLeft ? left - - getCharacterWidthCache: (scopes, char) -> - scopes ?= NoScope - obj = @constructor.characterWidthCache - for scope in scopes - obj = obj[scope] - return null unless obj? - obj[char] - - setCharacterWidthCache: (scopes, char, val) -> - scopes ?= NoScope - obj = @constructor.characterWidthCache - for scope in scopes - obj[scope] ?= {} - obj = obj[scope] - obj[char] = val - - clearCharacterWidthCache: -> - @constructor.characterWidthCache = {} - - pixelOffsetForScreenPosition: (position) -> - {top, left} = @pixelPositionForScreenPosition(position) - offset = @renderedLines.offset() - {top: top + offset.top, left: left + offset.left} - - screenPositionFromMouseEvent: (e) -> - { pageX, pageY } = e - offset = @scrollView.offset() - - editorRelativeTop = pageY - offset.top + @scrollTop() - row = Math.floor(editorRelativeTop / @lineHeight) - column = 0 - - if pageX > offset.left and lineElement = @lineElementForScreenRow(row)[0] - range = document.createRange() - iterator = document.createNodeIterator(lineElement, NodeFilter.SHOW_TEXT, acceptNode: -> NodeFilter.FILTER_ACCEPT) - while node = iterator.nextNode() - range.selectNodeContents(node) - column += node.textContent.length - {left, right} = range.getClientRects()[0] - break if left <= pageX <= right - - if node - for characterPosition in [node.textContent.length...0] - range.setStart(node, characterPosition - 1) - range.setEnd(node, characterPosition) - {left, right, width} = range.getClientRects()[0] - break if left <= pageX - width / 2 <= right - column-- - - range.detach() - - new Point(row, column) - - # Highlights the current line the cursor is on. - highlightCursorLine: -> - return if @mini - - @highlightedLine?.removeClass('cursor-line') - if @editor.getSelection().isEmpty() - @highlightedLine = @lineElementForScreenRow(@editor.getCursorScreenRow()) - @highlightedLine.addClass('cursor-line') - else - @highlightedLine = null - - # Copies the current file path to the native clipboard. - copyPathToClipboard: -> - path = @editor.getPath() - atom.clipboard.write(path) if path? - - @buildLineHtml: ({tokens, text, lineEnding, fold, isSoftWrapped, invisibles, eolInvisibles, htmlEolInvisibles, attributes, showIndentGuide, indentation, editor, mini}) -> - scopeStack = [] - line = [] - - attributePairs = '' - attributePairs += " #{attributeName}=\"#{value}\"" for attributeName, value of attributes - line.push("
") - - if text == '' - html = @buildEmptyLineHtml(showIndentGuide, eolInvisibles, htmlEolInvisibles, indentation, editor, mini) - line.push(html) if html - else - firstTrailingWhitespacePosition = text.search(/\s*$/) - lineIsWhitespaceOnly = firstTrailingWhitespacePosition is 0 - position = 0 - for token in tokens - @updateScopeStack(line, scopeStack, token.scopes) - hasIndentGuide = not mini and showIndentGuide and (token.hasLeadingWhitespace() or (token.hasTrailingWhitespace() and lineIsWhitespaceOnly)) - line.push(token.getValueAsHtml({invisibles, hasIndentGuide})) - position += token.value.length - - @popScope(line, scopeStack) while scopeStack.length > 0 - line.push(htmlEolInvisibles) unless text == '' - line.push("") if fold - - line.push('
') - line.join('') - - @updateScopeStack: (line, scopeStack, desiredScopes) -> - excessScopes = scopeStack.length - desiredScopes.length - if excessScopes > 0 - @popScope(line, scopeStack) while excessScopes-- - - # pop until common prefix - for i in [scopeStack.length..0] - break if _.isEqual(scopeStack[0...i], desiredScopes[0...i]) - @popScope(line, scopeStack) - - # push on top of common prefix until scopeStack == desiredScopes - for j in [i...desiredScopes.length] - @pushScope(line, scopeStack, desiredScopes[j]) - - null - - @pushScope: (line, scopeStack, scope) -> - scopeStack.push(scope) - line.push("") - - @popScope: (line, scopeStack) -> - scopeStack.pop() - line.push("") - - @buildEmptyLineHtml: (showIndentGuide, eolInvisibles, htmlEolInvisibles, indentation, editor, mini) -> - indentCharIndex = 0 - if not mini and showIndentGuide - if indentation > 0 - tabLength = editor.getTabLength() - indentGuideHtml = '' - for level in [0...indentation] - indentLevelHtml = "" - for characterPosition in [0...tabLength] - if invisible = eolInvisibles[indentCharIndex++] - indentLevelHtml += "#{invisible}" - else - indentLevelHtml += ' ' - indentLevelHtml += "" - indentGuideHtml += indentLevelHtml - - while indentCharIndex < eolInvisibles.length - indentGuideHtml += "#{eolInvisibles[indentCharIndex++]}" - - return indentGuideHtml - - if htmlEolInvisibles.length > 0 - htmlEolInvisibles - else - ' ' - - replaceSelectedText: (replaceFn) -> - selection = @editor.getSelection() - return false if selection.isEmpty() - - text = replaceFn(@editor.getTextInRange(selection.getBufferRange())) - return false if text is null or text is undefined - - @editor.insertText(text, select: true) - true - - consolidateSelections: (e) -> e.abortKeyBinding() unless @editor.consolidateSelections() - - logCursorScope: -> - console.log @editor.getCursorScopes() - - logScreenLines: (start, end) -> - @editor.logScreenLines(start, end) - - logRenderedLines: -> - @renderedLines.find('.line').each (n) -> - console.log n, $(this).text() From 01c4fe53403978f077d7b43bff8fb2cfec65fd17 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Tue, 29 Jul 2014 14:32:46 -0700 Subject: [PATCH 027/144] Merge the react and non-react editor styles --- static/editor.less | 84 ++++++++++++++-------------------------------- 1 file changed, 25 insertions(+), 59 deletions(-) diff --git a/static/editor.less b/static/editor.less index 1bd877f1a..e3d4d9743 100644 --- a/static/editor.less +++ b/static/editor.less @@ -2,7 +2,18 @@ @import "octicon-utf-codes"; @import "octicon-mixins"; -.editor.react { +.editor, .editor-contents { + overflow: hidden; + cursor: text; + display: -webkit-flex; + -webkit-user-select: none; + position: relative; +} + +.editor { + font-family: Inconsolata, Monaco, Consolas, 'Courier New', Courier; + line-height: 1.3; + .editor-contents { width: 100%; } @@ -71,9 +82,19 @@ } .gutter { + overflow: hidden; + text-align: right; + cursor: default; + min-width: 1em; + box-sizing: border-box; + + .line-numbers { + position: relative; + } .line-number { white-space: nowrap; padding-left: .5em; + opacity: 0.6; .icon-right { padding: 0 .4em; @@ -82,6 +103,9 @@ } } } + .line-number.cursor-line { + opacity: 1; + } } } @@ -96,45 +120,6 @@ } } -.editor { - z-index: 0; - font-family: Inconsolata, Monaco, Consolas, 'Courier New', Courier; - line-height: 1.3; -} - -.editor, .editor-contents { - overflow: hidden; - cursor: text; - display: -webkit-flex; - -webkit-user-select: none; - position: relative; -} - -.editor .gutter .line-number.cursor-line { - opacity: 1; -} - -.editor .gutter { - overflow: hidden; - text-align: right; - cursor: default; - min-width: 1em; - box-sizing: border-box; -} - -.editor .gutter .line-number { - padding-left: .5em; - opacity: 0.6; -} - -.editor .gutter .line-numbers { - position: relative; -} - -.editor .gutter .line-number.folded.cursor-line { - opacity: 1; -} - .editor .gutter .line-number .icon-right { .octicon(chevron-down, 0.8em); display: inline-block; @@ -289,22 +274,3 @@ pointer-events: none; z-index: -1; } - -.editor.mini:not(.react) { - height: auto; - line-height: 25px; - - .cursor { - width: 2px; - line-height: 20px; - margin-top: 2px; - } - - .gutter { - display: none; - } - - .scroll-view { - overflow: hidden; - } -} From fc441ef5e2ea88db16f17de3d0d2668e237d9ecc Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Wed, 30 Jul 2014 15:30:21 -0700 Subject: [PATCH 028/144] :memo: fix return doc --- src/editor.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/editor.coffee b/src/editor.coffee index eccf9d6cf..6da743d08 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -643,7 +643,8 @@ class Editor extends Model # text - A {String} representing the text to insert. # options - See {Selection::insertText}. # - # Returns a {Boolean} indicating whether or not the text was inserted. + # Returns a {Range} when the text has been inserted + # Returns a {Bool} false when the text has not been inserted insertText: (text, options={}) -> willInsert = true cancel = -> willInsert = false From 97bcdcc9b0a87db4faca6c937dbec7eb6044cac9 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Wed, 30 Jul 2014 15:31:20 -0700 Subject: [PATCH 029/144] Rename ReactEditorView -> EditorView --- spec/editor-component-spec.coffee | 6 +++--- src/react-editor-view.coffee | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/editor-component-spec.coffee b/spec/editor-component-spec.coffee index 8005ab5f2..4a3c990ce 100644 --- a/spec/editor-component-spec.coffee +++ b/spec/editor-component-spec.coffee @@ -1,7 +1,7 @@ _ = require 'underscore-plus' {extend, flatten, toArray, last} = _ -ReactEditorView = require '../src/react-editor-view' +EditorView = require '../src/react-editor-view' EditorComponent = require '../src/editor-component' nbsp = String.fromCharCode(160) @@ -34,7 +34,7 @@ describe "EditorComponent", -> contentNode = document.querySelector('#jasmine-content') contentNode.style.width = '1000px' - wrapperView = new ReactEditorView(editor, {lineOverdrawMargin}) + wrapperView = new EditorView(editor, {lineOverdrawMargin}) wrapperView.attachToDom() wrapperNode = wrapperView.element @@ -1911,7 +1911,7 @@ describe "EditorComponent", -> hiddenParent.style.display = 'none' contentNode.appendChild(hiddenParent) - wrapperView = new ReactEditorView(editor, {lineOverdrawMargin}) + wrapperView = new EditorView(editor, {lineOverdrawMargin}) wrapperNode = wrapperView.element wrapperView.appendTo(hiddenParent) diff --git a/src/react-editor-view.coffee b/src/react-editor-view.coffee index 789c52559..3f724322b 100644 --- a/src/react-editor-view.coffee +++ b/src/react-editor-view.coffee @@ -6,7 +6,7 @@ Editor = require './editor' EditorComponent = require './editor-component' module.exports = -class ReactEditorView extends View +class EditorView extends View @configDefaults: fontFamily: '' fontSize: 16 From 35fd19f3ef6598997b7bb5a2432872fb9d6da08d Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Wed, 30 Jul 2014 15:33:04 -0700 Subject: [PATCH 030/144] :memo: Add docs for current public methods --- src/react-editor-view.coffee | 107 ++++++++++++++++++++++++++++++++++- 1 file changed, 106 insertions(+), 1 deletion(-) diff --git a/src/react-editor-view.coffee b/src/react-editor-view.coffee index 3f724322b..9b27272b1 100644 --- a/src/react-editor-view.coffee +++ b/src/react-editor-view.coffee @@ -4,7 +4,33 @@ React = require 'react-atom-fork' TextBuffer = require 'text-buffer' Editor = require './editor' EditorComponent = require './editor-component' +{deprecate} = require 'grim' +# Public: Represents the entire visual pane in Atom. +# +# The EditorView manages the {Editor}, which manages the file buffers. +# +# ## Requiring in packages +# +# ```coffee +# {EditorView} = require 'atom' +# +# miniEditorView = new EditorView(mini: true) +# ``` +# +# ## Iterating over the open editor views +# +# ```coffee +# for editorView in atom.workspaceView.getEditorViews() +# console.log(editorView.getModel().getPath()) +# ``` +# +# ## Subscribing to every current and future editor +# +# ```coffee +# atom.workspace.eachEditorView (editorView) -> +# console.log(editorView.getModel().getPath()) +# ``` module.exports = class EditorView extends View @configDefaults: @@ -33,6 +59,13 @@ class EditorView extends View focusOnAttach: false + # The constructor for setting up an `EditorView` instance. + # + # editorOrParams - Either an {Editor}, or an object with one property, `mini`. + # If `mini` is `true`, a "miniature" `Editor` is constructed. + # Typically, this is ideal for scenarios where you need an Atom editor, + # but without all the chrome, like scrollbars, gutter, _e.t.c._. + # constructor: (editorOrParams, props) -> super @@ -81,8 +114,13 @@ class EditorView extends View else @focusOnAttach = true - getEditor: -> @editor + getEditor: -> + deprecate("Use EditorView::getModel instead") + @editor + # Public: Get the underlying editor model for this view. + # + # Returns an {Editor}. getModel: -> @editor Object.defineProperty @::, 'lineHeight', get: -> @editor.getLineHeightInPixels() @@ -122,12 +160,23 @@ class EditorView extends View else @editor.getScrollLeft() + # Public: Scrolls the editor to the bottom. scrollToBottom: -> @editor.setScrollBottom(Infinity) + # Public: Scrolls the editor to the given screen position. + # + # screenPosition - An object that represents a buffer position. It can be either + # an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point} + # options - A hash matching the options available to {::scrollToScreenPosition} scrollToScreenPosition: (screenPosition, options) -> @editor.scrollToScreenPosition(screenPosition, options) + # Public: Scrolls the editor to the given buffer position. + # + # bufferPosition - An object that represents a buffer position. It can be either + # an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point} + # options - A hash matching the options available to {::scrollToBufferPosition} scrollToBufferPosition: (bufferPosition, options) -> @editor.scrollToBufferPosition(bufferPosition, options) @@ -138,9 +187,21 @@ class EditorView extends View screenPosition = screenPositionForPixelPosition(pixelPosition) @editor.scrollToScreenPosition(screenPosition) + # Public: Converts a buffer position to a pixel position. + # + # position - An object that represents a buffer position. It can be either + # an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point} + # + # Returns an object with two values: `top` and `left`, representing the pixel positions. pixelPositionForBufferPosition: (bufferPosition) -> @editor.pixelPositionForBufferPosition(bufferPosition) + # Public: Converts a screen position to a pixel position. + # + # position - An object that represents a screen position. It can be either + # an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point} + # + # Returns an object with two values: `top` and `left`, representing the pixel positions. pixelPositionForScreenPosition: (screenPosition) -> @editor.pixelPositionForScreenPosition(screenPosition) @@ -175,6 +236,9 @@ class EditorView extends View pane = @getPane() pane?.splitDown(pane?.copyActiveItem()).activeView + # Public: Get this view's pane. + # + # Returns a {Pane}. getPane: -> @parent('.item-views').parents('.pane').view() @@ -199,36 +263,72 @@ class EditorView extends View pageUp: -> @editor.pageUp() + # Public: Retrieves the number of the row that is visible and currently at the + # top of the editor. + # + # Returns a {Number}. getFirstVisibleScreenRow: -> @editor.getVisibleRowRange()[0] + # Public: Retrieves the number of the row that is visible and currently at the + # bottom of the editor. + # + # Returns a {Number}. getLastVisibleScreenRow: -> @editor.getVisibleRowRange()[1] + # Public: Gets the font family for the editor. + # + # Returns a {String} identifying the CSS `font-family`. getFontFamily: -> @component?.getFontFamily() + # Public: Sets the font family for the editor. + # + # fontFamily - A {String} identifying the CSS `font-family`. setFontFamily: (fontFamily) -> @component?.setFontFamily(fontFamily) + # Public: Retrieves the font size for the editor. + # + # Returns a {Number} indicating the font size in pixels. getFontSize: -> @component?.getFontSize() + # Public: Sets the font size for the editor. + # + # fontSize - A {Number} indicating the font size in pixels. setFontSize: (fontSize) -> @component?.setFontSize(fontSize) setWidthInChars: (widthInChars) -> @component.getDOMNode().style.width = (@editor.getDefaultCharWidth() * widthInChars) + 'px' + # Public: Sets the line height of the editor. + # + # Calling this method has no effect when called on a mini editor. + # + # lineHeight - A {Number} without a unit suffix identifying the CSS + # `line-height`. setLineHeight: (lineHeight) -> @component.setLineHeight(lineHeight) + # Public: Sets whether you want to show the indentation guides. + # + # showIndentGuide - A {Boolean} you can set to `true` if you want to see the + # indentation guides. setShowIndentGuide: (showIndentGuide) -> @component.setShowIndentGuide(showIndentGuide) + # Public: Enables/disables soft wrap on the editor. + # + # softWrap - A {Boolean} which, if `true`, enables soft wrap setSoftWrap: (softWrap) -> @editor.setSoftWrap(softWrap) + # Public: Set whether invisible characters are shown. + # + # showInvisibles - A {Boolean} which, if `true`, show invisible characters. setShowInvisibles: (showInvisibles) -> @component.setShowInvisibles(showInvisibles) @@ -261,6 +361,11 @@ class EditorView extends View redraw: -> # No-op shim + # Public: Set the text to appear in the editor when it is empty. + # + # This only affects mini editors. + # + # placeholderText - A {String} of text to display when empty. setPlaceholderText: (placeholderText) -> if @component? @component.setProps({placeholderText}) From cf9208bc0273a8ab63dce41a2ede5ebcd5825918 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Wed, 30 Jul 2014 15:33:43 -0700 Subject: [PATCH 031/144] Deprecate pageUp / pageDown --- src/react-editor-view.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/react-editor-view.coffee b/src/react-editor-view.coffee index 9b27272b1..4079570db 100644 --- a/src/react-editor-view.coffee +++ b/src/react-editor-view.coffee @@ -258,9 +258,11 @@ class EditorView extends View @component.performSyncUpdates = valueToRestore pageDown: -> + deprecate('Use editorView.getModel().pageDown()') @editor.pageDown() pageUp: -> + deprecate('Use editorView.getModel().pageUp()') @editor.pageUp() # Public: Retrieves the number of the row that is visible and currently at the From e54bc0fbaae344abbbf93f284d7625a22aa785c1 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Wed, 30 Jul 2014 15:34:32 -0700 Subject: [PATCH 032/144] Remove toggle soft wrap and toggle soft tabs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No one uses them in packages, and we don’t use them internally --- src/react-editor-view.coffee | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/react-editor-view.coffee b/src/react-editor-view.coffee index 4079570db..b7b6b3443 100644 --- a/src/react-editor-view.coffee +++ b/src/react-editor-view.coffee @@ -183,10 +183,6 @@ class EditorView extends View scrollToCursorPosition: -> @editor.scrollToCursorPosition() - scrollToPixelPosition: (pixelPosition) -> - screenPosition = screenPositionForPixelPosition(pixelPosition) - @editor.scrollToScreenPosition(screenPosition) - # Public: Converts a buffer position to a pixel position. # # position - An object that represents a buffer position. It can be either @@ -334,12 +330,6 @@ class EditorView extends View setShowInvisibles: (showInvisibles) -> @component.setShowInvisibles(showInvisibles) - toggleSoftWrap: -> - @editor.toggleSoftWrap() - - toggleSoftTabs: -> - @editor.toggleSoftTabs() - getText: -> @editor.getText() From d75485a2d867a5e9938202c4db535ce89fb9f185 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Wed, 30 Jul 2014 15:35:41 -0700 Subject: [PATCH 033/144] =?UTF-8?q?Deprecate=20no-op=E2=80=99d=20things?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/react-editor-view.coffee | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/react-editor-view.coffee b/src/react-editor-view.coffee index b7b6b3443..2beccf40e 100644 --- a/src/react-editor-view.coffee +++ b/src/react-editor-view.coffee @@ -345,13 +345,17 @@ class EditorView extends View setInputEnabled: (inputEnabled) -> @component.setInputEnabled(inputEnabled) - requestDisplayUpdate: -> # No-op shim for find-and-replace + requestDisplayUpdate: -> + deprecate('Please remove from your code. ::requestDisplayUpdate no longer does anything') - updateDisplay: -> # No-op shim for package specs + updateDisplay: -> + deprecate('Please remove from your code. ::updateDisplay no longer does anything') - resetDisplay: -> # No-op shim for package specs + resetDisplay: -> + deprecate('Please remove from your code. ::resetDisplay no longer does anything') - redraw: -> # No-op shim + redraw: -> + deprecate('Please remove from your code. ::redraw no longer does anything') # Public: Set the text to appear in the editor when it is empty. # From 0d68430bb8981ee4a2d91c59ca6582bdfc68b8db Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Wed, 30 Jul 2014 15:38:49 -0700 Subject: [PATCH 034/144] Deprecate gutter api --- src/react-editor-view.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/react-editor-view.coffee b/src/react-editor-view.coffee index 2beccf40e..dfd089af1 100644 --- a/src/react-editor-view.coffee +++ b/src/react-editor-view.coffee @@ -98,12 +98,15 @@ class EditorView extends View @gutter = $(node).find('.gutter') @gutter.removeClassFromAllLines = (klass) => + deprecate('Use decorations instead: http://blog.atom.io/2014/07/24/decorations.html') @gutter.find('.line-number').removeClass(klass) @gutter.getLineNumberElement = (bufferRow) => + deprecate('Use decorations instead: http://blog.atom.io/2014/07/24/decorations.html') @gutter.find("[data-buffer-row='#{bufferRow}']") @gutter.addClassToLine = (bufferRow, klass) => + deprecate('Use decorations instead: http://blog.atom.io/2014/07/24/decorations.html') lines = @gutter.find("[data-buffer-row='#{bufferRow}']") lines.addClass(klass) lines.length > 0 From b05a83a6ce25d789d30169a97ce72f21b4a51856 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Wed, 30 Jul 2014 15:38:59 -0700 Subject: [PATCH 035/144] move getEditor fn --- src/react-editor-view.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/react-editor-view.coffee b/src/react-editor-view.coffee index dfd089af1..74b343d3d 100644 --- a/src/react-editor-view.coffee +++ b/src/react-editor-view.coffee @@ -117,15 +117,15 @@ class EditorView extends View else @focusOnAttach = true - getEditor: -> - deprecate("Use EditorView::getModel instead") - @editor - # Public: Get the underlying editor model for this view. # # Returns an {Editor}. getModel: -> @editor + getEditor: -> + deprecate('Use EditorView::getModel instead') + @editor + Object.defineProperty @::, 'lineHeight', get: -> @editor.getLineHeightInPixels() Object.defineProperty @::, 'charWidth', get: -> @editor.getDefaultCharWidth() Object.defineProperty @::, 'firstRenderedScreenRow', get: -> @component.getRenderedRowRange()[0] From 3d2d8c491f8a341fa02d3c600670b46850436b12 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Wed, 30 Jul 2014 15:41:21 -0700 Subject: [PATCH 036/144] rename react-editor-view -> editor-view --- exports/atom.coffee | 2 +- spec/editor-component-spec.coffee | 2 +- spec/spec-helper.coffee | 2 +- spec/workspace-view-spec.coffee | 2 +- src/atom.coffee | 2 +- src/{react-editor-view.coffee => editor-view.coffee} | 0 src/editor.coffee | 2 +- src/select-list-view.coffee | 2 +- 8 files changed, 7 insertions(+), 7 deletions(-) rename src/{react-editor-view.coffee => editor-view.coffee} (100%) diff --git a/exports/atom.coffee b/exports/atom.coffee index 09920eff1..985fd4782 100644 --- a/exports/atom.coffee +++ b/exports/atom.coffee @@ -15,7 +15,7 @@ unless process.env.ATOM_SHELL_INTERNAL_RUN_AS_NODE module.exports.$ = $ module.exports.$$ = $$ module.exports.$$$ = $$$ - module.exports.EditorView = require '../src/react-editor-view' + module.exports.EditorView = require '../src/editor-view' module.exports.ScrollView = require '../src/scroll-view' module.exports.SelectListView = require '../src/select-list-view' module.exports.Task = require '../src/task' diff --git a/spec/editor-component-spec.coffee b/spec/editor-component-spec.coffee index 4a3c990ce..dba6d3a17 100644 --- a/spec/editor-component-spec.coffee +++ b/spec/editor-component-spec.coffee @@ -1,7 +1,7 @@ _ = require 'underscore-plus' {extend, flatten, toArray, last} = _ -EditorView = require '../src/react-editor-view' +EditorView = require '../src/editor-view' EditorComponent = require '../src/editor-component' nbsp = String.fromCharCode(160) diff --git a/spec/spec-helper.coffee b/spec/spec-helper.coffee index 7800cb5be..79f2e5a06 100644 --- a/spec/spec-helper.coffee +++ b/spec/spec-helper.coffee @@ -13,7 +13,7 @@ Config = require '../src/config' {Point} = require 'text-buffer' Project = require '../src/project' Editor = require '../src/editor' -EditorView = require '../src/react-editor-view' +EditorView = require '../src/editor-view' TokenizedBuffer = require '../src/tokenized-buffer' EditorComponent = require '../src/editor-component' pathwatcher = require 'pathwatcher' diff --git a/spec/workspace-view-spec.coffee b/spec/workspace-view-spec.coffee index f95a52dc3..c6aa502b3 100644 --- a/spec/workspace-view-spec.coffee +++ b/spec/workspace-view-spec.coffee @@ -2,7 +2,7 @@ Q = require 'q' path = require 'path' temp = require 'temp' -EditorView = require '../src/react-editor-view' +EditorView = require '../src/editor-view' PaneView = require '../src/pane-view' Workspace = require '../src/workspace' diff --git a/src/atom.coffee b/src/atom.coffee index 8b408ee2a..4c2da7f8a 100644 --- a/src/atom.coffee +++ b/src/atom.coffee @@ -303,7 +303,7 @@ class Atom extends Model dimensions = @restoreWindowDimensions() @config.load() @config.setDefaults('core', require('./workspace-view').configDefaults) - @config.setDefaults('editor', require('./react-editor-view').configDefaults) + @config.setDefaults('editor', require('./editor-view').configDefaults) @keymaps.loadBundledKeymaps() @themes.loadBaseStylesheets() @packages.loadPackages() diff --git a/src/react-editor-view.coffee b/src/editor-view.coffee similarity index 100% rename from src/react-editor-view.coffee rename to src/editor-view.coffee diff --git a/src/editor.coffee b/src/editor.coffee index 6da743d08..a2f5d1624 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -235,7 +235,7 @@ class Editor extends Model @subscribe @displayBuffer, "character-widths-changed", (changeCount) => @emit 'character-widths-changed', changeCount getViewClass: -> - require './react-editor-view' + require './editor-view' destroyed: -> @unsubscribe() diff --git a/src/select-list-view.coffee b/src/select-list-view.coffee index bf279df45..686b9e043 100644 --- a/src/select-list-view.coffee +++ b/src/select-list-view.coffee @@ -1,5 +1,5 @@ {$, View} = require './space-pen-extensions' -EditorView = require './react-editor-view' +EditorView = require './editor-view' fuzzyFilter = require('fuzzaldrin').filter # Public: Provides a view that renders a list of items with an editor that From d37bd14a6277ecc6071c81a083c2e9973884c12a Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Wed, 30 Jul 2014 15:54:40 -0700 Subject: [PATCH 037/144] =?UTF-8?q?Deprecate=20getEditor()=20at=20a=20late?= =?UTF-8?q?r=20date=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/editor-view.coffee | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/editor-view.coffee b/src/editor-view.coffee index 74b343d3d..f9eb2c561 100644 --- a/src/editor-view.coffee +++ b/src/editor-view.coffee @@ -122,9 +122,7 @@ class EditorView extends View # Returns an {Editor}. getModel: -> @editor - getEditor: -> - deprecate('Use EditorView::getModel instead') - @editor + getEditor: -> @editor Object.defineProperty @::, 'lineHeight', get: -> @editor.getLineHeightInPixels() Object.defineProperty @::, 'charWidth', get: -> @editor.getDefaultCharWidth() From c7242ec964b2c7ae2cb1f9c99907c6a1dfd3bda4 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 25 Aug 2014 12:09:39 -0700 Subject: [PATCH 038/144] Upgrade to language-yaml@0.17 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f32ab595b..52e76b91c 100644 --- a/package.json +++ b/package.json @@ -139,7 +139,7 @@ "language-todo": "0.10.0", "language-toml": "0.12.0", "language-xml": "0.18.0", - "language-yaml": "0.16.0" + "language-yaml": "0.17.0" }, "private": true, "scripts": { From c4811a8fb7e5e9e134d78e3900d977bab0b80cd7 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Mon, 25 Aug 2014 12:10:13 -0700 Subject: [PATCH 039/144] upgrade to git-diff to remove old editor stuff --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f32ab595b..f8283bf75 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "feedback": "0.33.0", "find-and-replace": "0.129.0", "fuzzy-finder": "0.57.0", - "git-diff": "0.38.0", + "git-diff": "0.39.0", "go-to-line": "0.24.0", "grammar-selector": "0.29.0", "image-view": "0.36.0", From 6e40f3b2f92c7adb3788225cc206636b250cd7df Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Mon, 25 Aug 2014 12:11:39 -0700 Subject: [PATCH 040/144] upgrade to bookmarks to remove old editor stuff --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f8283bf75..d55163116 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "autoflow": "0.18.0", "autosave": "0.15.0", "background-tips": "0.15.0", - "bookmarks": "0.27.0", + "bookmarks": "0.28.0", "bracket-matcher": "0.54.0", "command-palette": "0.24.0", "deprecation-cop": "0.9.0", From 7220c61e988e56174979e483df48a5ccc2a7bb85 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Mon, 25 Aug 2014 12:13:41 -0700 Subject: [PATCH 041/144] upgrade to find-and-replace to remove old editor stuff --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d55163116..bf1e0b457 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "dev-live-reload": "0.34.0", "exception-reporting": "0.20.0", "feedback": "0.33.0", - "find-and-replace": "0.129.0", + "find-and-replace": "0.130.0", "fuzzy-finder": "0.57.0", "git-diff": "0.39.0", "go-to-line": "0.24.0", From cef24a3979cbb1a6d11d88c30b3667a74ecb1000 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Mon, 25 Aug 2014 12:15:34 -0700 Subject: [PATCH 042/144] Remove the react editor options --- spec/spec-helper.coffee | 2 -- src/workspace-view.coffee | 2 -- 2 files changed, 4 deletions(-) diff --git a/spec/spec-helper.coffee b/spec/spec-helper.coffee index 79f2e5a06..6fdbed35b 100644 --- a/spec/spec-helper.coffee +++ b/spec/spec-helper.coffee @@ -95,8 +95,6 @@ beforeEach -> config.set "editor.autoIndent", false config.set "core.disabledPackages", ["package-that-throws-an-exception", "package-with-broken-package-json", "package-with-broken-keymap"] - config.set "core.useReactEditor", true - config.set "core.useReactMiniEditors", true config.save.reset() atom.config = config diff --git a/src/workspace-view.coffee b/src/workspace-view.coffee index b32499f57..3703d04b0 100644 --- a/src/workspace-view.coffee +++ b/src/workspace-view.coffee @@ -70,8 +70,6 @@ class WorkspaceView extends View projectHome: path.join(fs.getHomeDirectory(), 'github') audioBeep: true destroyEmptyPanes: true - useReactEditor: true - useReactMiniEditors: true @content: -> @div class: 'workspace', tabindex: -1, => From ae323d2083801766dd3c3ebfe67a85fb1085ed5e Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Mon, 25 Aug 2014 12:24:19 -0700 Subject: [PATCH 043/144] Use @mini --- src/editor-view.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor-view.coffee b/src/editor-view.coffee index f9eb2c561..2e1408a9e 100644 --- a/src/editor-view.coffee +++ b/src/editor-view.coffee @@ -81,7 +81,7 @@ class EditorView extends View softWrap: false tabLength: 2 softTabs: true - mini: mini + mini: @mini props = defaults({@editor, parentView: this}, props) @component = React.renderComponent(EditorComponent(props), @element) From ad269357b70d94aa2cbbef6c128468898fe2d7ce Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Mon, 25 Aug 2014 14:34:19 -0700 Subject: [PATCH 044/144] Ugh. No @mini. @mini is a prop. --- src/editor-view.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/editor-view.coffee b/src/editor-view.coffee index 2e1408a9e..034d28613 100644 --- a/src/editor-view.coffee +++ b/src/editor-view.coffee @@ -72,16 +72,16 @@ class EditorView extends View if editorOrParams instanceof Editor @editor = editorOrParams else - {@editor, @mini, placeholderText} = editorOrParams + {@editor, mini, placeholderText} = editorOrParams props ?= {} - props.mini = @mini + props.mini = mini props.placeholderText = placeholderText @editor ?= new Editor buffer: new TextBuffer softWrap: false tabLength: 2 softTabs: true - mini: @mini + mini: mini props = defaults({@editor, parentView: this}, props) @component = React.renderComponent(EditorComponent(props), @element) From abadc9805cc459d28ee22948bd1676c3ee0ce8ff Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Mon, 25 Aug 2014 14:46:48 -0700 Subject: [PATCH 045/144] Add _all_ the defaults in from editorView --- src/editor-view.coffee | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/editor-view.coffee b/src/editor-view.coffee index 034d28613..c9a5961a1 100644 --- a/src/editor-view.coffee +++ b/src/editor-view.coffee @@ -50,6 +50,12 @@ class EditorView extends View softWrapAtPreferredLineLength: false scrollSensitivity: 40 useHardwareAcceleration: true + confirmCheckoutHeadRevision: true + invisibles: + eol: '\u00ac' + space: '\u00b7' + tab: '\u00bb' + cr: '\u00a4' @content: (params) -> attributes = params.attributes ? {} From 162713e5b5638912eceacca773e9deea531590bd Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Thu, 7 Aug 2014 10:57:36 -0700 Subject: [PATCH 046/144] Sync package.json files for doc imports --- build/tasks/docs-task.coffee | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build/tasks/docs-task.coffee b/build/tasks/docs-task.coffee index 093162337..c14d813d6 100644 --- a/build/tasks/docs-task.coffee +++ b/build/tasks/docs-task.coffee @@ -147,16 +147,22 @@ downloadIncludes = (callback) -> includes = [ {repo: 'atom-keymap', file: 'src/keymap-manager.coffee'} {repo: 'atom-keymap', file: 'src/key-binding.coffee'} + {repo: 'atom-keymap', file: 'package.json'} {repo: 'first-mate', file: 'src/grammar.coffee'} {repo: 'first-mate', file: 'src/grammar-registry.coffee'} + {repo: 'first-mate', file: 'package.json'} {repo: 'node-pathwatcher', file: 'src/directory.coffee'} {repo: 'node-pathwatcher', file: 'src/file.coffee'} + {repo: 'node-pathwatcher', file: 'package.json'} {repo: 'space-pen', file: 'src/space-pen.coffee'} + {repo: 'space-pen', file: 'package.json'} {repo: 'text-buffer', file: 'src/marker.coffee'} {repo: 'text-buffer', file: 'src/point.coffee'} {repo: 'text-buffer', file: 'src/range.coffee'} {repo: 'text-buffer', file: 'src/text-buffer.coffee'} + {repo: 'text-buffer', file: 'package.json'} {repo: 'theorist', file: 'src/model.coffee'} + {repo: 'theorist', file: 'package.json'} ] async.map(includes, downloadFileFromRepo, callback) From 9ee6a3d4304914119cadaf7f6e9ae9710143d3b6 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Sat, 9 Aug 2014 12:19:12 -0700 Subject: [PATCH 047/144] Docs task uses metadoc --- build/Gruntfile.coffee | 2 +- build/package.json | 3 +- build/tasks/docs-task.coffee | 67 +- docs/api/grappa.json | 7379 + docs/api/metadata.json | 410719 ++++++++++++++++++++++++++++++++ metadata.json | 53638 +++++ 6 files changed, 471762 insertions(+), 46 deletions(-) create mode 100644 docs/api/grappa.json create mode 100644 docs/api/metadata.json create mode 100644 metadata.json diff --git a/build/Gruntfile.coffee b/build/Gruntfile.coffee index 6b1dae4a8..d143777e4 100644 --- a/build/Gruntfile.coffee +++ b/build/Gruntfile.coffee @@ -130,7 +130,7 @@ module.exports = (grunt) -> atom: {appDir, appName, symbolsDir, buildDir, contentsDir, installDir, shellAppDir} - docsOutputDir: 'docs/output/api' + docsOutputDir: 'docs/api' coffee: coffeeConfig diff --git a/build/package.json b/build/package.json index cbdc58736..81d0ff7f4 100644 --- a/build/package.json +++ b/build/package.json @@ -7,7 +7,8 @@ }, "dependencies": { "async": "~0.2.9", - "biscotto": ">=2.1.1 <3.0", + "metadoc": "~0.0", + "grappa": "~0.0", "formidable": "~1.0.14", "fs-plus": "2.x", "github-releases": "~0.2.0", diff --git a/build/tasks/docs-task.coffee b/build/tasks/docs-task.coffee index c14d813d6..f2dd1f8e6 100644 --- a/build/tasks/docs-task.coffee +++ b/build/tasks/docs-task.coffee @@ -3,6 +3,10 @@ path = require 'path' async = require 'async' fs = require 'fs-plus' request = require 'request' +_ = require 'underscore-plus' + +metadoc = require 'metadoc' +grappa = require 'grappa' module.exports = (grunt) -> {rm} = require('./task-helpers')(grunt) @@ -14,53 +18,24 @@ module.exports = (grunt) -> grunt.registerTask 'build-docs', 'Builds the API docs in src', -> done = @async() - docsOutputDir = grunt.config.get('docsOutputDir') + downloadIncludes (error, includedModules) -> + metadata = metadoc.generateMetadata(['.'].concat(includedModules)) + grappaJson = grappa.digest(metadata) - downloadIncludes (error, includePaths) -> - if error? - done(error) - else - rm(docsOutputDir) - args = [ - commonArgs... - '--title', 'Atom API Documentation' - '-o', docsOutputDir - '-r', 'docs/README.md' - '--stability', '1' - 'src/' - includePaths... - ] - grunt.util.spawn({cmd, args, opts}, done) + files = [{ + filePath: path.join(docsOutputDir, 'metadata.json') + contents: JSON.stringify(metadata, null, ' ') + }, { + filePath: path.join(docsOutputDir, 'grappa.json') + contents: JSON.stringify(grappaJson, null, ' ') + }] - grunt.registerTask 'lint-docs', 'Generate stats about the doc coverage', -> - done = @async() - downloadIncludes (error, includePaths) -> - if error? - done(error) - else - args = [ - commonArgs... - '--noOutput' - 'src/' - includePaths... - ] - grunt.util.spawn({cmd, args, opts}, done) + writeFile = ({filePath, contents}, callback) -> + fs.writeFile filePath, contents, (error) -> + callback() - grunt.registerTask 'missing-docs', 'Generate stats about the doc coverage', -> - done = @async() - downloadIncludes (error, includePaths) -> - if error? - done(error) - else - args = [ - commonArgs... - '--noOutput' - '--missing' - 'src/' - includePaths... - ] - grunt.util.spawn({cmd, args, opts}, done) + async.map files, writeFile, -> done() grunt.registerTask 'copy-docs', 'Copies over latest API docs to atom-docs', -> done = @async() @@ -165,4 +140,8 @@ downloadIncludes = (callback) -> {repo: 'theorist', file: 'package.json'} ] - async.map(includes, downloadFileFromRepo, callback) + async.map includes, downloadFileFromRepo, (error, allPaths) -> + includeDirectories = null + if allPaths? + includeDirectories = _.unique allPaths.map (dir) -> /^docs\/includes\/[a-z-]+/.exec(dir)[0] + callback(error, includeDirectories) diff --git a/docs/api/grappa.json b/docs/api/grappa.json new file mode 100644 index 000000000..bf0500b06 --- /dev/null +++ b/docs/api/grappa.json @@ -0,0 +1,7379 @@ +{ + "classes": { + "Atom": { + "name": "Atom", + "filename": "src/atom.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L36", + "sections": [], + "classMethods": [ + { + "name": "loadOrCreate", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L45", + "visibility": "Public", + "summary": "Load or create the Atom environment in the given mode.", + "description": "Load or create the Atom environment in the given mode.\n\nmode - Pass 'editor' or 'spec' depending on the kind of environment you\n want to build.", + "returnValues": [ + { + "type": null, + "description": "Returns an Atom instance, fully initialized" + } + ] + } + ], + "instanceMethods": [ + { + "name": "initialize", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L124", + "visibility": "Public", + "summary": "Sets up the basic services that should be available in all modes\n(both spec and application). Call after this instance has been assigned to\nthe `atom` global. ", + "description": "Sets up the basic services that should be available in all modes\n(both spec and application). Call after this instance has been assigned to\nthe `atom` global. " + }, + { + "name": "getWindowDimensions", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L195", + "visibility": "Public", + "summary": "Get the dimensions of this window.", + "description": "Get the dimensions of this window.", + "returnValues": [ + { + "type": null, + "description": "Returns an object with x, y, width, and height keys." + } + ] + }, + { + "name": "setWindowDimensions", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L212", + "visibility": "Public", + "summary": "Set the dimensions of the window.", + "description": "Set the dimensions of the window.\n\nThe window will be centered if either the x or y coordinate is not set\nin the dimensions parameter. If x or y are omitted the window will be\ncentered. If height or width are omitted only the position will be changed.\n\ndimensions - An {Object} with the following keys:\n :x - The new x coordinate.\n :y - The new y coordinate.\n :width - The new width.\n :height - The new height. " + }, + { + "name": "open", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L354", + "visibility": "Public", + "summary": "Open a new Atom window using the given options.", + "description": "Open a new Atom window using the given options.\n\nCalling this method without an options parameter will open a prompt to pick\na file/folder to open in the new window.\n\noptions - An {Object} with the following keys:\n :pathsToOpen - An {Array} of {String} paths to open. " + }, + { + "name": "confirm", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L378", + "visibility": "Public", + "summary": "Open a confirm dialog.", + "description": "Open a confirm dialog.\n\n## Example\n\n```coffee\n atom.confirm\n message: 'How you feeling?'\n detailedMessage: 'Be honest.'\n buttons:\n Good: -> window.alert('good to hear')\n Bad: -> window.alert('bummer')\n```\n\noptions - An {Object} with the following keys:\n :message - The {String} message to display.\n :detailedMessage - The {String} detailed message to display.\n :buttons - Either an array of strings or an object where keys are\n button names and the values are callbacks to invoke when\n clicked.", + "returnValues": [ + { + "type": "Number", + "description": "Returns the chosen button index {Number} if the buttons option was an array." + } + ] + }, + { + "name": "openDevTools", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L408", + "visibility": "Public", + "summary": "Open the dev tools for the current window. ", + "description": "Open the dev tools for the current window. " + }, + { + "name": "toggleDevTools", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L412", + "visibility": "Public", + "summary": "Toggle the visibility of the dev tools for the current window. ", + "description": "Toggle the visibility of the dev tools for the current window. " + }, + { + "name": "executeJavaScriptInDevTools", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L416", + "visibility": "Public", + "summary": "Execute code in dev tools. ", + "description": "Execute code in dev tools. " + }, + { + "name": "reload", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L420", + "visibility": "Public", + "summary": "Reload the current window. ", + "description": "Reload the current window. " + }, + { + "name": "focus", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L424", + "visibility": "Public", + "summary": "Focus the current window. ", + "description": "Focus the current window. " + }, + { + "name": "show", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L429", + "visibility": "Public", + "summary": "Show the current window. ", + "description": "Show the current window. " + }, + { + "name": "hide", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L433", + "visibility": "Public", + "summary": "Hide the current window. ", + "description": "Hide the current window. " + }, + { + "name": "setSize", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L440", + "visibility": "Public", + "summary": "Set the size of current window.", + "description": "Set the size of current window.\n\nwidth - The {Number} of pixels.\nheight - The {Number} of pixels. " + }, + { + "name": "setPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L447", + "visibility": "Public", + "summary": "Set the position of current window.", + "description": "Set the position of current window.\n\nx - The {Number} of pixels.\ny - The {Number} of pixels. " + }, + { + "name": "center", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L451", + "visibility": "Public", + "summary": "Move current window to the center of the screen. ", + "description": "Move current window to the center of the screen. " + }, + { + "name": "close", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L465", + "visibility": "Public", + "summary": "Close the current window. ", + "description": "Close the current window. " + }, + { + "name": "inDevMode", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L474", + "visibility": "Public", + "summary": "Is the current window in development mode? ", + "description": "Is the current window in development mode? " + }, + { + "name": "inSpecMode", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L478", + "visibility": "Public", + "summary": "Is the current window running specs? ", + "description": "Is the current window running specs? " + }, + { + "name": "toggleFullScreen", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L482", + "visibility": "Public", + "summary": "Toggle the full screen state of the current window. ", + "description": "Toggle the full screen state of the current window. " + }, + { + "name": "setFullScreen", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L486", + "visibility": "Public", + "summary": "Set the full screen state of the current window. ", + "description": "Set the full screen state of the current window. " + }, + { + "name": "isFullScreen", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L491", + "visibility": "Public", + "summary": "Is the current window in full screen mode? ", + "description": "Is the current window in full screen mode? " + }, + { + "name": "getVersion", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L497", + "visibility": "Public", + "summary": "Get the version of the Atom application.", + "description": "Get the version of the Atom application.", + "returnValues": [ + { + "type": "String", + "description": "Returns the version text {String}." + } + ] + }, + { + "name": "isReleasedVersion", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L501", + "visibility": "Public", + "summary": "Determine whether the current version is an official release. ", + "description": "Determine whether the current version is an official release. " + }, + { + "name": "getWindowLoadTime", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L524", + "visibility": "Public", + "summary": "Get the time taken to completely load the current window.", + "description": "Get the time taken to completely load the current window.\n\nThis time include things like loading and activating packages, creating\nDOM elements for the editor, and reading the config.", + "returnValues": [ + { + "type": null, + "description": "Returns the number of milliseconds taken to load the window or null if the window hasn't finished loading yet." + } + ] + }, + { + "name": "beep", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L534", + "visibility": "Public", + "summary": "Visually and audibly trigger a beep. ", + "description": "Visually and audibly trigger a beep. " + }, + { + "name": "requireWithGlobals", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L556", + "visibility": "Public", + "summary": "Require the module with the given globals.", + "description": "Require the module with the given globals.\n\nThe globals will be set on the `window` object and removed after the\nrequire completes.\n\nid - The {String} module name or path.\nglobals - An {Object} to set as globals during require (default: {}) " + } + ], + "visibility": "Public", + "summary": "Atom global for dealing with packages, themes, menus, and the window.", + "description": "Atom global for dealing with packages, themes, menus, and the window.\n\nAn instance of this class is always available as the `atom` global.\n\n## Useful properties available:" + }, + "BufferedNodeProcess": { + "name": "BufferedNodeProcess", + "filename": "src/buffered-node-process.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/buffered-node-process.coffee#L15", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "constructor", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/buffered-node-process.coffee#L37", + "visibility": "Public", + "summary": "Runs the given Node script by spawning a new child process.", + "description": "Runs the given Node script by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} path to the JavaScript script to execute.\n :args - The {Array} of arguments to pass to the script (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " + } + ], + "visibility": "Public", + "summary": "Like {BufferedProcess}, but accepts a Node script as the command\nto run.", + "description": "Like {BufferedProcess}, but accepts a Node script as the command\nto run.\n\nThis is necessary on Windows since it doesn't support shebang `#!` lines.\n\n## Requiring in packages\n\n```coffee\n{BufferedNodeProcess} = require 'atom'\n```" + }, + "BufferedProcess": { + "name": "BufferedProcess", + "filename": "src/buffered-process.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/buffered-process.coffee#L19", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "constructor", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/buffered-process.coffee#L41", + "visibility": "Public", + "summary": "Runs the given command by spawning a new child process.", + "description": "Runs the given command by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} command to execute.\n :args - The {Array} of arguments to pass to the command (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " + }, + { + "name": "kill", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/buffered-process.coffee#L118", + "visibility": "Public", + "summary": "Terminate the process. ", + "description": "Terminate the process. " + } + ], + "visibility": "Public", + "summary": "A wrapper which provides standard error/output line buffering for\nNode's ChildProcess.", + "description": "A wrapper which provides standard error/output line buffering for\nNode's ChildProcess.\n\n## Requiring in packages\n\n```coffee\n{BufferedProcess} = require 'atom'\n\ncommand = 'ps'\nargs = ['-ef']\nstdout = (output) -> console.log(output)\nexit = (code) -> console.log(\"ps -ef exited with #{code}\")\nprocess = new BufferedProcess({command, args, stdout, exit})\n```" + }, + "Clipboard": { + "name": "Clipboard", + "filename": "src/clipboard.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/clipboard.coffee#L8", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "write", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/clipboard.coffee#L27", + "visibility": "Public", + "summary": "Write the given text to the clipboard.", + "description": "Write the given text to the clipboard.\n\nThe metadata associated with the text is available by calling\n{::readWithMetadata}.\n\ntext - The {String} to store.\nmetadata - The additional info to associate with the text. " + }, + { + "name": "read", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/clipboard.coffee#L35", + "visibility": "Public", + "summary": "Read the text from the clipboard.", + "description": "Read the text from the clipboard.", + "returnValues": [ + { + "type": "String", + "description": "Returns a {String}." + } + ] + }, + { + "name": "readWithMetadata", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/clipboard.coffee#L44", + "visibility": "Public", + "summary": "Read the text from the clipboard and return both the text and the\nassociated metadata.", + "description": "Read the text from the clipboard and return both the text and the\nassociated metadata.", + "returnValues": [ + { + "type": "Object", + "description": "Returns an {Object} with the following keys: :text - The {String} clipboard text. :metadata - The metadata stored by an earlier call to {::write}." + } + ] + } + ], + "visibility": "Public", + "summary": "Represents the clipboard used for copying and pasting in Atom.", + "description": "Represents the clipboard used for copying and pasting in Atom.\n\nAn instance of this class is always available as the `atom.clipboard` global. " + }, + "Config": { + "name": "Config", + "filename": "src/config.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L26", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "getUserConfigPath", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L92", + "visibility": "Public", + "summary": "Get the {String} path to the config file being used. ", + "description": "Get the {String} path to the config file being used. " + }, + { + "name": "getSettings", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L96", + "visibility": "Public", + "summary": "Returns a new {Object} containing all of settings and defaults. ", + "description": "Returns a new {Object} containing all of settings and defaults. " + }, + { + "name": "get", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L105", + "visibility": "Public", + "summary": "Retrieves the setting for the given key.", + "description": "Retrieves the setting for the given key.\n\nkeyPath - The {String} name of the key to retrieve.", + "returnValues": [ + { + "type": null, + "description": "Returns the value from Atom's default settings, the user's configuration file, or `null` if the key doesn't exist in either." + } + ] + }, + { + "name": "getInt", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L115", + "visibility": "Public", + "summary": "Retrieves the setting for the given key as an integer.", + "description": "Retrieves the setting for the given key as an integer.\n\nkeyPath - The {String} name of the key to retrieve", + "returnValues": [ + { + "type": null, + "description": "Returns the value from Atom's default settings, the user's configuration file, or `NaN` if the key doesn't exist in either." + } + ] + }, + { + "name": "getPositiveInt", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L126", + "visibility": "Public", + "summary": "Retrieves the setting for the given key as a positive integer.", + "description": "Retrieves the setting for the given key as a positive integer.\n\nkeyPath - The {String} name of the key to retrieve\ndefaultValue - The integer {Number} to fall back to if the value isn't\n positive, defaults to 0.", + "returnValues": [ + { + "type": null, + "description": "Returns the value from Atom's default settings, the user's configuration file, or `defaultValue` if the key value isn't greater than zero." + } + ] + }, + { + "name": "set", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L137", + "visibility": "Public", + "summary": "Sets the value for a configuration setting.", + "description": "Sets the value for a configuration setting.\n\nThis value is stored in Atom's internal configuration file.\n\nkeyPath - The {String} name of the key.\nvalue - The value of the setting.", + "returnValues": [ + { + "type": null, + "description": "Returns the `value`." + } + ] + }, + { + "name": "toggle", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L153", + "visibility": "Public", + "summary": "Toggle the value at the key path.", + "description": "Toggle the value at the key path.\n\nThe new value will be `true` if the value is currently falsy and will be\n`false` if the value is currently truthy.\n\nkeyPath - The {String} name of the key.", + "returnValues": [ + { + "type": null, + "description": "Returns the new value." + } + ] + }, + { + "name": "restoreDefault", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L161", + "visibility": "Public", + "summary": "Restore the key path to its default value.", + "description": "Restore the key path to its default value.\n\nkeyPath - The {String} name of the key.", + "returnValues": [ + { + "type": null, + "description": "Returns the new value." + } + ] + }, + { + "name": "getDefault", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L169", + "visibility": "Public", + "summary": "Get the default value of the key path.", + "description": "Get the default value of the key path.\n\nkeyPath - The {String} name of the key.", + "returnValues": [ + { + "type": null, + "description": "Returns the default value." + } + ] + }, + { + "name": "isDefault", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L179", + "visibility": "Public", + "summary": "Is the key path value its default value?", + "description": "Is the key path value its default value?\n\nkeyPath - The {String} name of the key.", + "returnValues": [ + { + "type": "Boolean", + "description": "Returns a {Boolean}, `true` if the current value is the default, `false` otherwise." + } + ] + }, + { + "name": "pushAtKeyPath", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L188", + "visibility": "Public", + "summary": "Push the value to the array at the key path.", + "description": "Push the value to the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to push to the array.", + "returnValues": [ + { + "type": "Number", + "description": "Returns the new array length {Number} of the setting." + } + ] + }, + { + "name": "unshiftAtKeyPath", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L200", + "visibility": "Public", + "summary": "Add the value to the beginning of the array at the key path.", + "description": "Add the value to the beginning of the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to shift onto the array.", + "returnValues": [ + { + "type": "Number", + "description": "Returns the new array length {Number} of the setting." + } + ] + }, + { + "name": "removeAtKeyPath", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L212", + "visibility": "Public", + "summary": "Remove the value from the array at the key path.", + "description": "Remove the value from the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to remove from the array.", + "returnValues": [ + { + "type": null, + "description": "Returns the new array value of the setting." + } + ] + }, + { + "name": "observe", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L232", + "visibility": "Public", + "summary": "Establishes an event listener for a given key.", + "description": "Establishes an event listener for a given key.\n\n`callback` is fired whenever the value of the key is changed and will\n be fired immediately unless the `callNow` option is `false`.\n\nkeyPath - The {String} name of the key to observe\noptions - An optional {Object} containing the `callNow` key.\ncallback - The {Function} to call when the value of the key changes.\n The first argument will be the new value of the key and the\n second argument will be an {Object} with a `previous` property\n that is the prior value of the key.", + "returnValues": [ + { + "type": "Object", + "description": "Returns an {Object} with the following keys: :off - A {Function} that unobserves the `keyPath` when called." + } + ] + }, + { + "name": "unobserve", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L254", + "visibility": "Public", + "summary": "Unobserve all callbacks on a given key.", + "description": "Unobserve all callbacks on a given key.\n\nkeyPath - The {String} name of the key to unobserve. " + } + ], + "visibility": "Public", + "summary": "Used to access all of Atom's configuration details.", + "description": "Used to access all of Atom's configuration details.\n\nAn instance of this class is always available as the `atom.config` global.\n\n## Best practices\n\n* Create your own root keypath using your package's name.\n* Don't depend on (or write to) configuration keys outside of your keypath.\n\n## Example\n\n```coffeescript\natom.config.set('my-package.key', 'value')\natom.config.observe 'my-package.key', ->\n console.log 'My configuration changed:', atom.config.get('my-package.key')\n```" + }, + "ContextMenuManager": { + "name": "ContextMenuManager", + "filename": "src/context-menu-manager.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/context-menu-manager.coffee#L11", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "add", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/context-menu-manager.coffee#L34", + "visibility": "Public", + "summary": "Creates menu definitions from the object specified by the menu\ncson API.", + "description": "Creates menu definitions from the object specified by the menu\ncson API.\n\nname - The path of the file that contains the menu definitions.\nobject - The 'context-menu' object specified in the menu cson API.\noptions - An {Object} with the following keys:\n :devMode - Determines whether the entries should only be shown when\n the window is in dev mode.", + "returnValues": [ + { + "type": null, + "description": "Returns nothing." + } + ] + }, + { + "name": "showForEvent", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/context-menu-manager.coffee#L112", + "visibility": "Public", + "summary": "Request a context menu to be displayed. ", + "description": "Request a context menu to be displayed. " + } + ], + "visibility": "Public", + "summary": "Provides a registry for commands that you'd like to appear in the\ncontext menu.", + "description": "Provides a registry for commands that you'd like to appear in the\ncontext menu.\n\nAn instance of this class is always available as the `atom.contextMenu`\nglobal. " + }, + "Cursor": { + "name": "Cursor", + "filename": "src/cursor.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L11", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "setScreenPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L71", + "visibility": "Public", + "summary": "Moves a cursor to a given screen position.", + "description": "Moves a cursor to a given screen position.\n\nscreenPosition - An {Array} of two numbers: the screen row, and the screen\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " + }, + { + "name": "getScreenPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L76", + "visibility": "Public", + "summary": "Returns the screen position of the cursor as an Array. ", + "description": "Returns the screen position of the cursor as an Array. " + }, + { + "name": "setBufferPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L90", + "visibility": "Public", + "summary": "Moves a cursor to a given buffer position.", + "description": "Moves a cursor to a given buffer position.\n\nbufferPosition - An {Array} of two numbers: the buffer row, and the buffer\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " + }, + { + "name": "getBufferPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L95", + "visibility": "Public", + "summary": "Returns the current buffer position as an Array. ", + "description": "Returns the current buffer position as an Array. " + }, + { + "name": "updateVisibility", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L102", + "visibility": "Public", + "summary": "If the marker range is empty, the cursor is marked as being visible. ", + "description": "If the marker range is empty, the cursor is marked as being visible. " + }, + { + "name": "setVisible", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L106", + "visibility": "Public", + "summary": "Sets whether the cursor is visible. ", + "description": "Sets whether the cursor is visible. " + }, + { + "name": "isVisible", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L113", + "visibility": "Public", + "summary": "Returns the visibility of the cursor. ", + "description": "Returns the visibility of the cursor. " + }, + { + "name": "wordRegExp", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L123", + "visibility": "Public", + "summary": "Get the RegExp used by the cursor to determine what a \"word\" is.", + "description": "Get the RegExp used by the cursor to determine what a \"word\" is.\n\noptions: An optional {Object} with the following keys:\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the regex.\n (default: true)", + "returnValues": [ + { + "type": "RegExp", + "description": "Returns a {RegExp}." + } + ] + }, + { + "name": "isLastCursor", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L137", + "visibility": "Public", + "summary": "Identifies if this cursor is the last in the {Editor}.", + "description": "Identifies if this cursor is the last in the {Editor}.\n\n\"Last\" is defined as the most recently added cursor.", + "returnValues": [ + { + "type": "Boolean", + "description": "Returns a {Boolean}." + } + ] + }, + { + "name": "isSurroundedByWhitespace", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L146", + "visibility": "Public", + "summary": "Identifies if the cursor is surrounded by whitespace.", + "description": "Identifies if the cursor is surrounded by whitespace.\n\n\"Surrounded\" here means that the character directly before and after the\ncursor are both whitespace.", + "returnValues": [ + { + "type": "Boolean", + "description": "Returns a {Boolean}." + } + ] + }, + { + "name": "isBetweenWordAndNonWord", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L159", + "visibility": "Public", + "summary": "Returns whether the cursor is currently between a word and non-word\ncharacter. The non-word characters are defined by the\n`editor.nonWordCharacters` config value.", + "description": "Returns whether the cursor is currently between a word and non-word\ncharacter. The non-word characters are defined by the\n`editor.nonWordCharacters` config value.\n\nThis method returns false if the character before or after the cursor is\nwhitespace.", + "returnValues": [ + { + "type": null, + "description": "Returns a Boolean." + } + ] + }, + { + "name": "isInsideWord", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L171", + "visibility": "Public", + "summary": "Returns whether this cursor is between a word's start and end. ", + "description": "Returns whether this cursor is between a word's start and end. " + }, + { + "name": "clearAutoscroll", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L177", + "visibility": "Public", + "summary": "Prevents this cursor from causing scrolling. ", + "description": "Prevents this cursor from causing scrolling. " + }, + { + "name": "clearSelection", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L181", + "visibility": "Public", + "summary": "Deselects the current selection. ", + "description": "Deselects the current selection. " + }, + { + "name": "getScreenRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L185", + "visibility": "Public", + "summary": "Returns the cursor's current screen row. ", + "description": "Returns the cursor's current screen row. " + }, + { + "name": "getScreenColumn", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L189", + "visibility": "Public", + "summary": "Returns the cursor's current screen column. ", + "description": "Returns the cursor's current screen column. " + }, + { + "name": "getBufferRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L193", + "visibility": "Public", + "summary": "Retrieves the cursor's current buffer row. ", + "description": "Retrieves the cursor's current buffer row. " + }, + { + "name": "getBufferColumn", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L197", + "visibility": "Public", + "summary": "Returns the cursor's current buffer column. ", + "description": "Returns the cursor's current buffer column. " + }, + { + "name": "getCurrentBufferLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L202", + "visibility": "Public", + "summary": "Returns the cursor's current buffer row of text excluding its line\nending. ", + "description": "Returns the cursor's current buffer row of text excluding its line\nending. " + }, + { + "name": "moveUp", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L206", + "visibility": "Public", + "summary": "Moves the cursor up one screen row. ", + "description": "Moves the cursor up one screen row. " + }, + { + "name": "moveDown", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L218", + "visibility": "Public", + "summary": "Moves the cursor down one screen row. ", + "description": "Moves the cursor down one screen row. " + }, + { + "name": "moveLeft", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L234", + "visibility": "Public", + "summary": "Moves the cursor left one screen column.", + "description": "Moves the cursor left one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the left of the selection if a\n selection exists. " + }, + { + "name": "moveRight", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L248", + "visibility": "Public", + "summary": "Moves the cursor right one screen column.", + "description": "Moves the cursor right one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the right of the selection if a\n selection exists. " + }, + { + "name": "moveToTop", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L257", + "visibility": "Public", + "summary": "Moves the cursor to the top of the buffer. ", + "description": "Moves the cursor to the top of the buffer. " + }, + { + "name": "moveToBottom", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L261", + "visibility": "Public", + "summary": "Moves the cursor to the bottom of the buffer. ", + "description": "Moves the cursor to the bottom of the buffer. " + }, + { + "name": "moveToBeginningOfScreenLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L265", + "visibility": "Public", + "summary": "Moves the cursor to the beginning of the line. ", + "description": "Moves the cursor to the beginning of the line. " + }, + { + "name": "moveToBeginningOfLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L269", + "visibility": "Public", + "summary": "Moves the cursor to the beginning of the buffer line. ", + "description": "Moves the cursor to the beginning of the buffer line. " + }, + { + "name": "moveToFirstCharacterOfLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L274", + "visibility": "Public", + "summary": "Moves the cursor to the beginning of the first character in the\nline. ", + "description": "Moves the cursor to the beginning of the first character in the\nline. " + }, + { + "name": "skipLeadingWhitespace", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L284", + "visibility": "Public", + "summary": "Moves the cursor to the beginning of the buffer line, skipping all\nwhitespace. ", + "description": "Moves the cursor to the beginning of the buffer line, skipping all\nwhitespace. " + }, + { + "name": "moveToEndOfScreenLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L294", + "visibility": "Public", + "summary": "Moves the cursor to the end of the line. ", + "description": "Moves the cursor to the end of the line. " + }, + { + "name": "moveToEndOfLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L298", + "visibility": "Public", + "summary": "Moves the cursor to the end of the buffer line. ", + "description": "Moves the cursor to the end of the buffer line. " + }, + { + "name": "moveToBeginningOfWord", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L302", + "visibility": "Public", + "summary": "Moves the cursor to the beginning of the word. ", + "description": "Moves the cursor to the beginning of the word. " + }, + { + "name": "moveToEndOfWord", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L306", + "visibility": "Public", + "summary": "Moves the cursor to the end of the word. ", + "description": "Moves the cursor to the end of the word. " + }, + { + "name": "moveToBeginningOfNextWord", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L311", + "visibility": "Public", + "summary": "Moves the cursor to the beginning of the next word. ", + "description": "Moves the cursor to the beginning of the next word. " + }, + { + "name": "moveToPreviousWordBoundary", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L316", + "visibility": "Public", + "summary": "Moves the cursor to the previous word boundary. ", + "description": "Moves the cursor to the previous word boundary. " + }, + { + "name": "moveToNextWordBoundary", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L321", + "visibility": "Public", + "summary": "Moves the cursor to the next word boundary. ", + "description": "Moves the cursor to the next word boundary. " + }, + { + "name": "getBeginningOfCurrentWordBufferPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L337", + "visibility": "Public", + "summary": "Retrieves the buffer position of where the current word starts.", + "description": "Retrieves the buffer position of where the current word starts.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n :allowPrevious - A {Boolean} indicating whether the beginning of the\n previous word can be returned.", + "returnValues": [ + { + "type": "Range", + "description": "Returns a {Range}." + } + ] + }, + { + "name": "getPreviousWordBoundaryBufferPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L359", + "visibility": "Public", + "summary": "Retrieves buffer position of previous word boundary. It might be on\nthe current word, or the previous word. ", + "description": "Retrieves buffer position of previous word boundary. It might be on\nthe current word, or the previous word. " + }, + { + "name": "getMoveNextWordBoundaryBufferPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L381", + "visibility": "Public", + "summary": "Retrieves buffer position of the next word boundary. It might be on\nthe current word, or the previous word. ", + "description": "Retrieves buffer position of the next word boundary. It might be on\nthe current word, or the previous word. " + }, + { + "name": "getEndOfCurrentWordBufferPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L410", + "visibility": "Public", + "summary": "Retrieves the buffer position of where the current word ends.", + "description": "Retrieves the buffer position of where the current word ends.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp})\n :includeNonWordCharacters - A Boolean indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.", + "returnValues": [ + { + "type": "Range", + "description": "Returns a {Range}." + } + ] + }, + { + "name": "getBeginningOfNextWordBufferPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L431", + "visibility": "Public", + "summary": "Retrieves the buffer position of where the next word starts.", + "description": "Retrieves the buffer position of where the next word starts.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).", + "returnValues": [ + { + "type": "Range", + "description": "Returns a {Range}." + } + ] + }, + { + "name": "getCurrentWordBufferRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L448", + "visibility": "Public", + "summary": "Returns the buffer Range occupied by the word located under the cursor.", + "description": "Returns the buffer Range occupied by the word located under the cursor.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}). " + }, + { + "name": "getCurrentLineBufferRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L458", + "visibility": "Public", + "summary": "Returns the buffer Range for the current line.", + "description": "Returns the buffer Range for the current line.\n\noptions -\n :includeNewline: - A {Boolean} which controls whether the Range should\n include the newline. " + }, + { + "name": "moveToBeginningOfNextParagraph", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L462", + "visibility": "Public", + "summary": "Moves the cursor to the beginning of the next paragraph ", + "description": "Moves the cursor to the beginning of the next paragraph " + }, + { + "name": "moveToBeginningOfPreviousParagraph", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L467", + "visibility": "Public", + "summary": "Moves the cursor to the beginning of the previous paragraph ", + "description": "Moves the cursor to the beginning of the previous paragraph " + }, + { + "name": "getCurrentParagraphBufferRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L503", + "visibility": "Public", + "summary": "Retrieves the range for the current paragraph.", + "description": "Retrieves the range for the current paragraph.\n\nA paragraph is defined as a block of text surrounded by empty lines.", + "returnValues": [ + { + "type": "Range", + "description": "Returns a {Range}." + } + ] + }, + { + "name": "getCurrentWordPrefix", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L507", + "visibility": "Public", + "summary": "Returns the characters preceding the cursor in the current word. ", + "description": "Returns the characters preceding the cursor in the current word. " + }, + { + "name": "isAtBeginningOfLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L511", + "visibility": "Public", + "summary": "Returns whether the cursor is at the start of a line. ", + "description": "Returns whether the cursor is at the start of a line. " + }, + { + "name": "getIndentLevel", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L515", + "visibility": "Public", + "summary": "Returns the indentation level of the current line. ", + "description": "Returns the indentation level of the current line. " + }, + { + "name": "isAtEndOfLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L522", + "visibility": "Public", + "summary": "Returns whether the cursor is on the line return character. ", + "description": "Returns whether the cursor is on the line return character. " + }, + { + "name": "getScopes", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L528", + "visibility": "Public", + "summary": "Retrieves the grammar's token scopes for the line.", + "description": "Retrieves the grammar's token scopes for the line.", + "returnValues": [ + { + "type": "Array", + "description": "Returns an {Array} of {String}s." + } + ] + }, + { + "name": "hasPrecedingCharactersOnLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L533", + "visibility": "Public", + "summary": "Returns true if this cursor has no non-whitespace characters before\nits current position. ", + "description": "Returns true if this cursor has no non-whitespace characters before\nits current position. " + } + ], + "visibility": "Public", + "summary": "The `Cursor` class represents the little blinking line identifying\nwhere text can be inserted.", + "description": "The `Cursor` class represents the little blinking line identifying\nwhere text can be inserted.\n\nCursors belong to {Editor}s and have some metadata attached in the form\nof a {Marker}. " + }, + "Decoration": { + "name": "Decoration", + "filename": "src/decoration.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/decoration.coffee#L41", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "destroy", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/decoration.coffee#L60", + "visibility": "Public", + "summary": "Destroy this marker.", + "description": "Destroy this marker.\n\nIf you own the marker, you should use {Marker::destroy} which will destroy\nthis decoration. " + }, + { + "name": "update", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/decoration.coffee#L71", + "visibility": "Public", + "summary": "Update the marker with new params. Allows you to change the decoration's class.", + "description": "Update the marker with new params. Allows you to change the decoration's class.\n\n```\ndecoration.update({type: 'gutter', class: 'my-new-class'})\n```" + }, + { + "name": "getMarker", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/decoration.coffee#L80", + "visibility": "Public", + "summary": "Returns the marker associated with this {Decoration} ", + "description": "Returns the marker associated with this {Decoration} " + }, + { + "name": "getParams", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/decoration.coffee#L83", + "visibility": "Public", + "summary": "Returns the {Decoration}'s params. ", + "description": "Returns the {Decoration}'s params. " + } + ], + "visibility": "Public", + "summary": "Represents a decoration that follows a {Marker}. A decoration is\nbasically a visual representation of a marker. It allows you to add CSS\nclasses to line numbers in the gutter, lines, and add selection-line regions\naround marked ranges of text.", + "description": "Represents a decoration that follows a {Marker}. A decoration is\nbasically a visual representation of a marker. It allows you to add CSS\nclasses to line numbers in the gutter, lines, and add selection-line regions\naround marked ranges of text.\n\n{Decoration} objects are not meant to be created directly, but created with\n{Editor::decorateMarker}. eg.\n\n```coffee\nrange = editor.getSelectedBufferRange() # any range you like\nmarker = editor.markBufferRange(range)\ndecoration = editor.decorateMarker(marker, {type: 'line', class: 'my-line-class'})\n```\n\nBest practice for destorying the decoration is by destroying the {Marker}.\n\n```\nmarker.destroy()\n```\n\nYou should only use {Decoration::destroy} when you still need or do not own\nthe marker.\n\n### IDs\n\nEach {Decoration} has a unique ID available via `decoration.id`.\n\n### Events\n\nA couple of events are emitted:" + }, + "DeserializerManager": { + "name": "DeserializerManager", + "filename": "src/deserializer-manager.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/deserializer-manager.coffee#L21", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "add", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/deserializer-manager.coffee#L28", + "visibility": "Public", + "summary": "Register the given class(es) as deserializers.", + "description": "Register the given class(es) as deserializers.\n\nclasses - One or more classes to register. " + }, + { + "name": "remove", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/deserializer-manager.coffee#L34", + "visibility": "Public", + "summary": "Remove the given class(es) as deserializers.", + "description": "Remove the given class(es) as deserializers.\n\nclasses - One or more classes to remove. " + }, + { + "name": "deserialize", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/deserializer-manager.coffee#L42", + "visibility": "Public", + "summary": "Deserialize the state and params.", + "description": "Deserialize the state and params.\n\nstate - The state {Object} to deserialize.\nparams - The params {Object} to pass as the second arguments to the\n deserialize method of the deserializer. " + } + ], + "visibility": "Public", + "summary": "Manages the deserializers used for serialized state", + "description": "Manages the deserializers used for serialized state\n\nAn instance of this class is always available as the `atom.deserializers`\nglobal.\n\n### Registering a deserializer\n\n```coffee\nclass MyPackageView extends View\n atom.deserializers.add(this)\n\n @deserialize: (state) ->\n new MyPackageView(state)\n\n constructor: (@state) ->\n\n serialize: ->\n @state\n```" + }, + "EditorView": { + "name": "EditorView", + "filename": "src/editor-view.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L42", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "getEditor", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L252", + "visibility": "Public", + "summary": "Get the underlying editor model for this view.", + "description": "Get the underlying editor model for this view.", + "returnValues": [ + { + "type": "Editor", + "description": "Returns an {Editor}." + } + ] + }, + { + "name": "pageDown", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L278", + "visibility": "Public", + "summary": "Emulates the \"page down\" key, where the last row of a buffer scrolls\nto become the first. ", + "description": "Emulates the \"page down\" key, where the last row of a buffer scrolls\nto become the first. " + }, + { + "name": "pageUp", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L285", + "visibility": "Public", + "summary": "Emulates the \"page up\" key, where the frst row of a buffer scrolls\nto become the last. ", + "description": "Emulates the \"page up\" key, where the frst row of a buffer scrolls\nto become the last. " + }, + { + "name": "setShowInvisibles", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L299", + "visibility": "Public", + "summary": "Set whether invisible characters are shown.", + "description": "Set whether invisible characters are shown.\n\nshowInvisibles - A {Boolean} which, if `true`, show invisible characters. " + }, + { + "name": "setInvisibles", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L311", + "visibility": "Public", + "summary": "Defines which characters are invisible.", + "description": "Defines which characters are invisible.\n\ninvisibles - An {Object} defining the invisible characters:\n :eol - The end of line invisible {String} (default: `\\u00ac`).\n :space - The space invisible {String} (default: `\\u00b7`).\n :tab - The tab invisible {String} (default: `\\u00bb`).\n :cr - The carriage return invisible {String} (default: `\\u00a4`). " + }, + { + "name": "setShowIndentGuide", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L323", + "visibility": "Public", + "summary": "Sets whether you want to show the indentation guides.", + "description": "Sets whether you want to show the indentation guides.\n\nshowIndentGuide - A {Boolean} you can set to `true` if you want to see the\n indentation guides. " + }, + { + "name": "setPlaceholderText", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L333", + "visibility": "Public", + "summary": "Set the text to appear in the editor when it is empty.", + "description": "Set the text to appear in the editor when it is empty.\n\nThis only affects mini editors.\n\nplaceholderText - A {String} of text to display when empty. " + }, + { + "name": "scrollToBottom", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L640", + "visibility": "Public", + "summary": "Scrolls the editor to the bottom. ", + "description": "Scrolls the editor to the bottom. " + }, + { + "name": "scrollToCursorPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L647", + "visibility": "Public", + "summary": "Scrolls the editor to the position of the most recently added\ncursor if it isn't current on screen.", + "description": "Scrolls the editor to the position of the most recently added\ncursor if it isn't current on screen.\n\nThe editor is centered around the cursor's position if possible. " + }, + { + "name": "scrollToBufferPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L655", + "visibility": "Public", + "summary": "Scrolls the editor to the given buffer position.", + "description": "Scrolls the editor to the given buffer position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " + }, + { + "name": "scrollToScreenPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L663", + "visibility": "Public", + "summary": "Scrolls the editor to the given screen position.", + "description": "Scrolls the editor to the given screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " + }, + { + "name": "scrollToPixelPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L674", + "visibility": "Public", + "summary": "Scrolls the editor to the given pixel position.", + "description": "Scrolls the editor to the given pixel position.\n\npixelPosition - An object that represents a pixel position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or\n {Point}.\noptions - A hash with the following keys:\n :center - if `true`, the position is scrolled such that it's in\n the center of the editor " + }, + { + "name": "highlightFoldsContainingBufferRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L685", + "visibility": "Public", + "summary": "Highlight all the folds within the given buffer range.", + "description": "Highlight all the folds within the given buffer range.\n\n\"Highlighting\" essentially just adds the `fold-selected` class to the line's\nDOM element.\n\nbufferRange - The {Range} to check. " + }, + { + "name": "toggleSoftTabs", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L703", + "visibility": "Public", + "summary": "Toggle soft tabs on the edit session. ", + "description": "Toggle soft tabs on the edit session. " + }, + { + "name": "toggleSoftWrap", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L707", + "visibility": "Public", + "summary": "Toggle soft wrap on the edit session. ", + "description": "Toggle soft wrap on the edit session. " + }, + { + "name": "setSoftWrap", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L724", + "visibility": "Public", + "summary": "Enables/disables soft wrap on the editor.", + "description": "Enables/disables soft wrap on the editor.\n\nsoftWrap - A {Boolean} which, if `true`, enables soft wrap " + }, + { + "name": "setFontSize", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L734", + "visibility": "Public", + "summary": "Sets the font size for the editor.", + "description": "Sets the font size for the editor.\n\nfontSize - A {Number} indicating the font size in pixels. " + }, + { + "name": "getFontSize", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L747", + "visibility": "Public", + "summary": "Retrieves the font size for the editor.", + "description": "Retrieves the font size for the editor.", + "returnValues": [ + { + "type": "Number", + "description": "Returns a {Number} indicating the font size in pixels." + } + ] + }, + { + "name": "setFontFamily", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L753", + "visibility": "Public", + "summary": "Sets the font family for the editor.", + "description": "Sets the font family for the editor.\n\nfontFamily - A {String} identifying the CSS `font-family`. " + }, + { + "name": "getFontFamily", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L763", + "visibility": "Public", + "summary": "Gets the font family for the editor.", + "description": "Gets the font family for the editor.", + "returnValues": [ + { + "type": "String", + "description": "Returns a {String} identifying the CSS `font-family`." + } + ] + }, + { + "name": "setLineHeight", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L771", + "visibility": "Public", + "summary": "Sets the line height of the editor.", + "description": "Sets the line height of the editor.\n\nCalling this method has no effect when called on a mini editor.\n\nlineHeight - A {Number} without a unit suffix identifying the CSS\n`line-height`. " + }, + { + "name": "redraw", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L777", + "visibility": "Public", + "summary": "Redraw the editor ", + "description": "Redraw the editor " + }, + { + "name": "splitLeft", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L787", + "visibility": "Public", + "summary": "Split the editor view left. ", + "description": "Split the editor view left. " + }, + { + "name": "splitRight", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L792", + "visibility": "Public", + "summary": "Split the editor view right. ", + "description": "Split the editor view right. " + }, + { + "name": "splitUp", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L797", + "visibility": "Public", + "summary": "Split the editor view up. ", + "description": "Split the editor view up. " + }, + { + "name": "splitDown", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L802", + "visibility": "Public", + "summary": "Split the editor view down. ", + "description": "Split the editor view down. " + }, + { + "name": "getPane", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L809", + "visibility": "Public", + "summary": "Get this view's pane.", + "description": "Get this view's pane.", + "returnValues": [ + { + "type": "Pane", + "description": "Returns a {Pane}." + } + ] + }, + { + "name": "getFirstVisibleScreenRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L1215", + "visibility": "Public", + "summary": "Retrieves the number of the row that is visible and currently at the\ntop of the editor.", + "description": "Retrieves the number of the row that is visible and currently at the\ntop of the editor.", + "returnValues": [ + { + "type": "Number", + "description": "Returns a {Number}." + } + ] + }, + { + "name": "getLastVisibleScreenRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L1224", + "visibility": "Public", + "summary": "Retrieves the number of the row that is visible and currently at the\nbottom of the editor.", + "description": "Retrieves the number of the row that is visible and currently at the\nbottom of the editor.", + "returnValues": [ + { + "type": "Number", + "description": "Returns a {Number}." + } + ] + }, + { + "name": "isScreenRowVisible", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L1235", + "visibility": "Public", + "summary": "Given a row number, identifies if it is currently visible.", + "description": "Given a row number, identifies if it is currently visible.\n\nrow - A row {Number} to check", + "returnValues": [ + { + "type": "Boolean", + "description": "Returns a {Boolean}." + } + ] + }, + { + "name": "pixelPositionForBufferPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L1326", + "visibility": "Public", + "summary": "Converts a buffer position to a pixel position.", + "description": "Converts a buffer position to a pixel position.\n\nposition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}", + "returnValues": [ + { + "type": null, + "description": "Returns an object with two values: `top` and `left`, representing the pixel positions." + } + ] + }, + { + "name": "pixelPositionForScreenPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L1335", + "visibility": "Public", + "summary": "Converts a screen position to a pixel position.", + "description": "Converts a screen position to a pixel position.\n\nposition - An object that represents a screen position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}", + "returnValues": [ + { + "type": null, + "description": "Returns an object with two values: `top` and `left`, representing the pixel positions." + } + ] + } + ], + "visibility": "Public", + "summary": "Represents the entire visual pane in Atom.", + "description": "Represents the entire visual pane in Atom.\n\nThe EditorView manages the {Editor}, which manages the file buffers.\n\n## Requiring in packages\n\n```coffee\n{EditorView} = require 'atom'\n\nminiEditorView = new EditorView(mini: true)\n```\n\n## Iterating over the open editor views\n\n```coffee\nfor editorView in atom.workspaceView.getEditorViews()\n console.log(editorView.getEditor().getPath())\n```\n\n## Subscribing to every current and future editor\n\n```coffee\natom.workspace.eachEditorView (editorView) ->\n console.log(editorView.getEditor().getPath())\n```" + }, + "Editor": { + "name": "Editor", + "filename": "src/editor.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L139", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "getTitle", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L259", + "visibility": "Public", + "summary": "Get the title the editor's title for display in other parts of the\nUI such as the tabs.", + "description": "Get the title the editor's title for display in other parts of the\nUI such as the tabs.\n\nIf the editor's buffer is saved, its title is the file name. If it is\nunsaved, its title is \"untitled\".", + "returnValues": [ + { + "type": "String", + "description": "Returns a {String}." + } + ] + }, + { + "name": "getLongTitle", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L272", + "visibility": "Public", + "summary": "Get the editor's long title for display in other parts of the UI\nsuch as the window title.", + "description": "Get the editor's long title for display in other parts of the UI\nsuch as the window title.\n\nIf the editor's buffer is saved, its long title is formatted as\n\" - \". If it is unsaved, its title is \"untitled\"", + "returnValues": [ + { + "type": "String", + "description": "Returns a {String}." + } + ] + }, + { + "name": "getSoftWrapColumn", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L293", + "visibility": "Public", + "summary": "Sets the column at which column will soft wrap ", + "description": "Sets the column at which column will soft wrap " + }, + { + "name": "getSoftTabs", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L297", + "visibility": "Public", + "summary": "Returns a {Boolean} indicating whether softTabs are enabled for this\neditor. ", + "description": "Returns a {Boolean} indicating whether softTabs are enabled for this\neditor. " + }, + { + "name": "setSoftTabs", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L302", + "visibility": "Public", + "summary": "Enable or disable soft tabs for this editor.", + "description": "Enable or disable soft tabs for this editor.\n\nsoftTabs - A {Boolean} " + }, + { + "name": "toggleSoftTabs", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L305", + "visibility": "Public", + "summary": "Toggle soft tabs for this editor ", + "description": "Toggle soft tabs for this editor " + }, + { + "name": "getSoftWrap", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L308", + "visibility": "Public", + "summary": "Get whether soft wrap is enabled for this editor. ", + "description": "Get whether soft wrap is enabled for this editor. " + }, + { + "name": "setSoftWrap", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L313", + "visibility": "Public", + "summary": "Enable or disable soft wrap for this editor.", + "description": "Enable or disable soft wrap for this editor.\n\nsoftWrap - A {Boolean} " + }, + { + "name": "toggleSoftWrap", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L316", + "visibility": "Public", + "summary": "Toggle soft wrap for this editor ", + "description": "Toggle soft wrap for this editor " + }, + { + "name": "getTabText", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L324", + "visibility": "Public", + "summary": "Get the text representing a single level of indent.", + "description": "Get the text representing a single level of indent.\n\nIf soft tabs are enabled, the text is composed of N spaces, where N is the\ntab length. Otherwise the text is a tab character (`\\t`).", + "returnValues": [ + { + "type": "String", + "description": "Returns a {String}." + } + ] + }, + { + "name": "getTabLength", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L329", + "visibility": "Public", + "summary": "Get the on-screen length of tab characters.", + "description": "Get the on-screen length of tab characters.", + "returnValues": [ + { + "type": "Number", + "description": "Returns a {Number}." + } + ] + }, + { + "name": "setTabLength", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L332", + "visibility": "Public", + "summary": "Set the on-screen length of tab characters. ", + "description": "Set the on-screen length of tab characters. " + }, + { + "name": "usesSoftTabs", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L340", + "visibility": "Public", + "summary": "Determine if the buffer uses hard or soft tabs.", + "description": "Determine if the buffer uses hard or soft tabs.", + "returnValues": [ + { + "type": null, + "description": "Returns `true` if the first non-comment line with leading whitespace starts with a space character." + }, + { + "type": null, + "description": "Returns `false` if it starts with a hard tab (`\\t`)." + }, + { + "type": "Boolean", + "description": "Returns a {Boolean}," + } + ] + }, + { + "name": "clipBufferPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L362", + "visibility": "Public", + "summary": "Clip the given {Point} to a valid position in the buffer.", + "description": "Clip the given {Point} to a valid position in the buffer.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the buffer, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n\n* `[-1, -1]` is converted to `[0, 0]`.\n* If the line at row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.", + "returnValues": [ + { + "type": "Point", + "description": "Returns a {Point}." + } + ] + }, + { + "name": "clipBufferRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L370", + "visibility": "Public", + "summary": "Clip the start and end of the given range to valid positions in the\nbuffer. See {::clipBufferPosition} for more information.", + "description": "Clip the start and end of the given range to valid positions in the\nbuffer. See {::clipBufferPosition} for more information.\n\nrange - The {Range} to clip.", + "returnValues": [ + { + "type": "Range", + "description": "Returns a {Range}." + } + ] + }, + { + "name": "indentationForBufferRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L382", + "visibility": "Public", + "summary": "Get the indentation level of the given a buffer row.", + "description": "Get the indentation level of the given a buffer row.", + "returnValues": [ + { + "type": null, + "description": "Returns how deeply the given row is indented based on the soft tabs and tab length settings of this editor. Note that if soft tabs are enabled and the tab length is 2, a row with 4 leading spaces would have an indentation level of 2." + }, + { + "type": "Number", + "description": "Returns a {Number}." + } + ] + }, + { + "name": "setIndentationForBufferRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L397", + "visibility": "Public", + "summary": "Set the indentation level for the given buffer row.", + "description": "Set the indentation level for the given buffer row.\n\nInserts or removes hard tabs or spaces based on the soft tabs and tab length\nsettings of this editor in order to bring it to the given indentation level.\nNote that if soft tabs are enabled and the tab length is 2, a row with 4\nleading spaces would have an indentation level of 2.\n\nbufferRow - A {Number} indicating the buffer row.\nnewLevel - A {Number} indicating the new indentation level.\noptions - An {Object} with the following keys:\n :preserveLeadingWhitespace - true to preserve any whitespace already at\n the beginning of the line (default: false). " + }, + { + "name": "indentLevelForLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L415", + "visibility": "Public", + "summary": "Get the indentation level of the given line of text.", + "description": "Get the indentation level of the given line of text.", + "returnValues": [ + { + "type": null, + "description": "Returns how deeply the given line is indented based on the soft tabs and tab length settings of this editor. Note that if soft tabs are enabled and the tab length is 2, a row with 4 leading spaces would have an indentation level of 2." + }, + { + "type": "Number", + "description": "Returns a {Number}." + } + ] + }, + { + "name": "save", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L429", + "visibility": "Public", + "summary": "Saves the editor's text buffer.", + "description": "Saves the editor's text buffer.\n\nSee {TextBuffer::save} for more details. " + }, + { + "name": "saveAs", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L436", + "visibility": "Public", + "summary": "Saves the editor's text buffer as the given path.", + "description": "Saves the editor's text buffer as the given path.\n\nSee {TextBuffer::saveAs} for more details.\n\nfilePath - A {String} path. " + }, + { + "name": "getPath", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L448", + "visibility": "Public", + "summary": "Returns the {String} path of this editor's text buffer. ", + "description": "Returns the {String} path of this editor's text buffer. " + }, + { + "name": "getText", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L451", + "visibility": "Public", + "summary": "Returns a {String} representing the entire contents of the editor. ", + "description": "Returns a {String} representing the entire contents of the editor. " + }, + { + "name": "setText", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L454", + "visibility": "Public", + "summary": "Replaces the entire contents of the buffer with the given {String}. ", + "description": "Replaces the entire contents of the buffer with the given {String}. " + }, + { + "name": "getLineCount", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L462", + "visibility": "Public", + "summary": "Returns a {Number} representing the number of lines in the editor. ", + "description": "Returns a {Number} representing the number of lines in the editor. " + }, + { + "name": "getUri", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L468", + "visibility": "Public", + "summary": "Retrieves the current buffer's URI. ", + "description": "Retrieves the current buffer's URI. " + }, + { + "name": "isBufferRowCommented", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L474", + "visibility": "Public", + "summary": "Determine if the given row is entirely a comment ", + "description": "Determine if the given row is entirely a comment " + }, + { + "name": "getLastBufferRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L487", + "visibility": "Public", + "summary": "Returns a {Number} representing the last zero-indexed buffer row\nnumber of the editor. ", + "description": "Returns a {Number} representing the last zero-indexed buffer row\nnumber of the editor. " + }, + { + "name": "lineForBufferRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L501", + "visibility": "Public", + "summary": "Returns a {String} representing the contents of the line at the\ngiven buffer row.", + "description": "Returns a {String} representing the contents of the line at the\ngiven buffer row.\n\nrow - A {Number} representing a zero-indexed buffer row. " + }, + { + "name": "lineLengthForBufferRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L507", + "visibility": "Public", + "summary": "Returns a {Number} representing the line length for the given\nbuffer row, exclusive of its line-ending character(s).", + "description": "Returns a {Number} representing the line length for the given\nbuffer row, exclusive of its line-ending character(s).\n\nrow - A {Number} indicating the buffer row. " + }, + { + "name": "shouldPromptToSave", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L525", + "visibility": "Public", + "summary": "Determine whether the user should be prompted to save before closing\nthis editor. ", + "description": "Determine whether the user should be prompted to save before closing\nthis editor. " + }, + { + "name": "screenPositionForBufferPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L537", + "visibility": "Public", + "summary": "Convert a position in buffer-coordinates to screen-coordinates.", + "description": "Convert a position in buffer-coordinates to screen-coordinates.\n\nThe position is clipped via {::clipBufferPosition} prior to the conversion.\nThe position is also clipped via {::clipScreenPosition} following the\nconversion, which only makes a difference when `options` are supplied.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.", + "returnValues": [ + { + "type": "Point", + "description": "Returns a {Point}." + } + ] + }, + { + "name": "bufferPositionForScreenPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L547", + "visibility": "Public", + "summary": "Convert a position in screen-coordinates to buffer-coordinates.", + "description": "Convert a position in screen-coordinates to buffer-coordinates.\n\nThe position is clipped via {::clipScreenPosition} prior to the conversion.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.", + "returnValues": [ + { + "type": "Point", + "description": "Returns a {Point}." + } + ] + }, + { + "name": "screenRangeForBufferRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L552", + "visibility": "Public", + "summary": "Convert a range in buffer-coordinates to screen-coordinates.", + "description": "Convert a range in buffer-coordinates to screen-coordinates.", + "returnValues": [ + { + "type": "Range", + "description": "Returns a {Range}." + } + ] + }, + { + "name": "bufferRangeForScreenRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L557", + "visibility": "Public", + "summary": "Convert a range in screen-coordinates to buffer-coordinates.", + "description": "Convert a range in screen-coordinates to buffer-coordinates.", + "returnValues": [ + { + "type": "Range", + "description": "Returns a {Range}." + } + ] + }, + { + "name": "clipScreenPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L574", + "visibility": "Public", + "summary": "Clip the given {Point} to a valid position on screen.", + "description": "Clip the given {Point} to a valid position on screen.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the screen, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n\n* `[-1, -1]` is converted to `[0, 0]`.\n* If the line at screen row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.", + "returnValues": [ + { + "type": "Point", + "description": "Returns a {Point}." + } + ] + }, + { + "name": "scopesForBufferPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L606", + "visibility": "Public", + "summary": "Get the syntactic scopes for the given position in buffer\ncoordinates.", + "description": "Get the syntactic scopes for the given position in buffer\ncoordinates.\n\nFor example, if called with a position inside the parameter list of an\nanonymous CoffeeScript function, the method returns the following array:\n`[\"source.coffee\", \"meta.inline.function.coffee\", \"variable.parameter.function.coffee\"]`\n\nbufferPosition - A {Point} or {Array} of [row, column].", + "returnValues": [ + { + "type": "Array", + "description": "Returns an {Array} of {String}s." + } + ] + }, + { + "name": "bufferRangeForScopeAtCursor", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L615", + "visibility": "Public", + "summary": "Get the range in buffer coordinates of all tokens surrounding the\ncursor that match the given scope selector.", + "description": "Get the range in buffer coordinates of all tokens surrounding the\ncursor that match the given scope selector.\n\nFor example, if you wanted to find the string surrounding the cursor, you\ncould call `editor.bufferRangeForScopeAtCursor(\".string.quoted\")`.", + "returnValues": [ + { + "type": "Range", + "description": "Returns a {Range}." + } + ] + }, + { + "name": "getCursorScopes", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L625", + "visibility": "Public", + "summary": "Get the syntactic scopes for the most recently added cursor's\nposition. See {::scopesForBufferPosition} for more information.", + "description": "Get the syntactic scopes for the most recently added cursor's\nposition. See {::scopesForBufferPosition} for more information.", + "returnValues": [ + { + "type": "Array", + "description": "Returns an {Array} of {String}s." + } + ] + }, + { + "name": "insertText", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L634", + "visibility": "Public", + "summary": "For each selection, replace the selected text with the given text.", + "description": "For each selection, replace the selected text with the given text.\n\ntext - A {String} representing the text to insert.\noptions - See {Selection::insertText}. " + }, + { + "name": "insertNewline", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L640", + "visibility": "Public", + "summary": "For each selection, replace the selected text with a newline. ", + "description": "For each selection, replace the selected text with a newline. " + }, + { + "name": "insertNewlineBelow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L644", + "visibility": "Public", + "summary": "For each cursor, insert a newline at beginning the following line. ", + "description": "For each cursor, insert a newline at beginning the following line. " + }, + { + "name": "insertNewlineAbove", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L650", + "visibility": "Public", + "summary": "For each cursor, insert a newline at the end of the preceding line. ", + "description": "For each cursor, insert a newline at the end of the preceding line. " + }, + { + "name": "backspace", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L675", + "visibility": "Public", + "summary": "For each selection, if the selection is empty, delete the character\npreceding the cursor. Otherwise delete the selected text. ", + "description": "For each selection, if the selection is empty, delete the character\npreceding the cursor. Otherwise delete the selected text. " + }, + { + "name": "deleteToBeginningOfWord", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L691", + "visibility": "Public", + "summary": "For each selection, if the selection is empty, delete all characters\nof the containing word that precede the cursor. Otherwise delete the\nselected text. ", + "description": "For each selection, if the selection is empty, delete all characters\nof the containing word that precede the cursor. Otherwise delete the\nselected text. " + }, + { + "name": "deleteToBeginningOfLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L697", + "visibility": "Public", + "summary": "For each selection, if the selection is empty, delete all characters\nof the containing line that precede the cursor. Otherwise delete the\nselected text. ", + "description": "For each selection, if the selection is empty, delete all characters\nof the containing line that precede the cursor. Otherwise delete the\nselected text. " + }, + { + "name": "deleteToEndOfLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L709", + "visibility": "Public", + "summary": "For each selection, if the selection is not empty, deletes the\nselection; otherwise, deletes all characters of the containing line\nfollowing the cursor. If the cursor is already at the end of the line,\ndeletes the following newline. ", + "description": "For each selection, if the selection is not empty, deletes the\nselection; otherwise, deletes all characters of the containing line\nfollowing the cursor. If the cursor is already at the end of the line,\ndeletes the following newline. " + }, + { + "name": "deleteToEndOfWord", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L715", + "visibility": "Public", + "summary": "For each selection, if the selection is empty, delete all characters\nof the containing word following the cursor. Otherwise delete the selected\ntext. ", + "description": "For each selection, if the selection is empty, delete all characters\nof the containing word following the cursor. Otherwise delete the selected\ntext. " + }, + { + "name": "deleteLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L719", + "visibility": "Public", + "summary": "Delete all lines intersecting selections. ", + "description": "Delete all lines intersecting selections. " + }, + { + "name": "indentSelectedRows", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L723", + "visibility": "Public", + "summary": "Indent rows intersecting selections by one level. ", + "description": "Indent rows intersecting selections by one level. " + }, + { + "name": "outdentSelectedRows", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L727", + "visibility": "Public", + "summary": "Outdent rows intersecting selections by one level. ", + "description": "Outdent rows intersecting selections by one level. " + }, + { + "name": "toggleLineCommentsInSelection", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L735", + "visibility": "Public", + "summary": "Toggle line comments for rows intersecting selections.", + "description": "Toggle line comments for rows intersecting selections.\n\nIf the current grammar doesn't support comments, does nothing.", + "returnValues": [ + { + "type": "Array", + "description": "Returns an {Array} of the commented {Range}s." + } + ] + }, + { + "name": "autoIndentSelectedRows", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L740", + "visibility": "Public", + "summary": "Indent rows intersecting selections based on the grammar's suggested\nindent level. ", + "description": "Indent rows intersecting selections based on the grammar's suggested\nindent level. " + }, + { + "name": "cutToEndOfLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L752", + "visibility": "Public", + "summary": "For each selection, if the selection is empty, cut all characters\nof the containing line following the cursor. Otherwise cut the selected\ntext. ", + "description": "For each selection, if the selection is empty, cut all characters\nof the containing line following the cursor. Otherwise cut the selected\ntext. " + }, + { + "name": "cutSelectedText", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L759", + "visibility": "Public", + "summary": "For each selection, cut the selected text. ", + "description": "For each selection, cut the selected text. " + }, + { + "name": "copySelectedText", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L766", + "visibility": "Public", + "summary": "For each selection, copy the selected text. ", + "description": "For each selection, copy the selected text. " + }, + { + "name": "pasteText", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L780", + "visibility": "Public", + "summary": "For each selection, replace the selected text with the contents of\nthe clipboard.", + "description": "For each selection, replace the selected text with the contents of\nthe clipboard.\n\nIf the clipboard contains the same number of selections as the current\neditor, each selection will be replaced with the content of the\ncorresponding clipboard selection text.\n\noptions - See {Selection::insertText}. " + }, + { + "name": "undo", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L799", + "visibility": "Public", + "summary": "Undo the last change. ", + "description": "Undo the last change. " + }, + { + "name": "redo", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L804", + "visibility": "Public", + "summary": "Redo the last change. ", + "description": "Redo the last change. " + }, + { + "name": "foldCurrentRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L813", + "visibility": "Public", + "summary": "Fold the most recent cursor's row based on its indentation level.", + "description": "Fold the most recent cursor's row based on its indentation level.\n\nThe fold will extend from the nearest preceding line with a lower\nindentation level up to the nearest following row with a lower indentation\nlevel. " + }, + { + "name": "unfoldCurrentRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L818", + "visibility": "Public", + "summary": "Unfold the most recent cursor's row by one level. ", + "description": "Unfold the most recent cursor's row by one level. " + }, + { + "name": "foldSelectedLines", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L823", + "visibility": "Public", + "summary": "For each selection, fold the rows it intersects. ", + "description": "For each selection, fold the rows it intersects. " + }, + { + "name": "foldAll", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L827", + "visibility": "Public", + "summary": "Fold all foldable lines. ", + "description": "Fold all foldable lines. " + }, + { + "name": "unfoldAll", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L831", + "visibility": "Public", + "summary": "Unfold all existing folds. ", + "description": "Unfold all existing folds. " + }, + { + "name": "foldAllAtIndentLevel", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L837", + "visibility": "Public", + "summary": "Fold all foldable lines at the given indent level.", + "description": "Fold all foldable lines at the given indent level.\n\nlevel - A {Number}. " + }, + { + "name": "foldBufferRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L847", + "visibility": "Public", + "summary": "Fold the given row in buffer coordinates based on its indentation\nlevel.", + "description": "Fold the given row in buffer coordinates based on its indentation\nlevel.\n\nIf the given row is foldable, the fold will begin there. Otherwise, it will\nbegin at the first foldable row preceding the given row.\n\nbufferRow - A {Number}. " + }, + { + "name": "unfoldBufferRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L853", + "visibility": "Public", + "summary": "Unfold all folds containing the given row in buffer coordinates.", + "description": "Unfold all folds containing the given row in buffer coordinates.\n\nbufferRow - A {Number} " + }, + { + "name": "isFoldableAtBufferRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L863", + "visibility": "Public", + "summary": "Determine whether the given row in buffer coordinates is foldable.", + "description": "Determine whether the given row in buffer coordinates is foldable.\n\nA *foldable* row is a row that *starts* a row range that can be folded.\n\nbufferRow - A {Number}", + "returnValues": [ + { + "type": "Boolean", + "description": "Returns a {Boolean}." + } + ] + }, + { + "name": "toggleFoldAtBufferRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L885", + "visibility": "Public", + "summary": "Fold the given buffer row if it isn't currently folded, and unfold\nit otherwise. ", + "description": "Fold the given buffer row if it isn't currently folded, and unfold\nit otherwise. " + }, + { + "name": "isFoldedAtCursorRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L894", + "visibility": "Public", + "summary": "Determine whether the most recently added cursor's row is folded.", + "description": "Determine whether the most recently added cursor's row is folded.", + "returnValues": [ + { + "type": "Boolean", + "description": "Returns a {Boolean}." + } + ] + }, + { + "name": "isFoldedAtBufferRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L902", + "visibility": "Public", + "summary": "Determine whether the given row in buffer coordinates is folded.", + "description": "Determine whether the given row in buffer coordinates is folded.\n\nbufferRow - A {Number}", + "returnValues": [ + { + "type": "Boolean", + "description": "Returns a {Boolean}." + } + ] + }, + { + "name": "isFoldedAtScreenRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L910", + "visibility": "Public", + "summary": "Determine whether the given row in screen coordinates is folded.", + "description": "Determine whether the given row in screen coordinates is folded.\n\nscreenRow - A {Number}", + "returnValues": [ + { + "type": "Boolean", + "description": "Returns a {Boolean}." + } + ] + }, + { + "name": "mutateSelectedText", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1073", + "visibility": "Public", + "summary": "Mutate the text of all the selections in a single transaction.", + "description": "Mutate the text of all the selections in a single transaction.\n\nAll the changes made inside the given {Function} can be reverted with a\nsingle call to {::undo}.\n\nfn - A {Function} that will be called once for each {Selection}. The first\n argument will be a {Selection} and the second argument will be the\n {Number} index of that selection. " + }, + { + "name": "decorationsForScreenRowRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1097", + "visibility": "Public", + "summary": "Get all the decorations within a screen row range.", + "description": "Get all the decorations within a screen row range.\n\nstartScreenRow - the {Number} beginning screen row\nendScreenRow - the {Number} end screen row (inclusive)", + "returnValues": [ + { + "type": "Object", + "description": "Returns an {Object} of decorations in the form `{1: [{id: 10, type: 'gutter', class: 'someclass'}], 2: ...}` where the keys are {Marker} IDs, and the values are an array of decoration params objects attached to the marker." + }, + { + "type": null, + "description": "Returns an empty object when no decorations are found" + } + ] + }, + { + "name": "decorateMarker", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1138", + "visibility": "Public", + "summary": "Adds a decoration that tracks a {Marker}. When the marker moves,\nis invalidated, or is destroyed, the decoration will be updated to reflect\nthe marker's state.", + "description": "Adds a decoration that tracks a {Marker}. When the marker moves,\nis invalidated, or is destroyed, the decoration will be updated to reflect\nthe marker's state.\n\nThere are three types of supported decorations:", + "arguments": { + "description": "", + "list": [ + { + "name": "line", + "description": "Adds your CSS `class` to the line nodes within the range marked by the marker", + "type": null + }, + { + "name": "gutter", + "description": "Adds your CSS `class` to the line number nodes within the range marked by the marker", + "type": null + }, + { + "name": "highlight", + "description": "Adds a new highlight div to the editor surrounding the range marked by the marker. When the user selects text, the selection is visualized with a highlight decoration internally. The structure of this highlight will be: \n```html\n
\">\n \n
\n
\n```", + "type": null + } + ] + }, + "returnValues": [ + { + "type": "Decoration", + "description": "Returns a {Decoration} object" + } + ] + }, + { + "name": "getMarker", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1145", + "visibility": "Public", + "summary": "Get the {DisplayBufferMarker} for the given marker id. ", + "description": "Get the {DisplayBufferMarker} for the given marker id. " + }, + { + "name": "getMarkers", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1149", + "visibility": "Public", + "summary": "Get all {DisplayBufferMarker}s. ", + "description": "Get all {DisplayBufferMarker}s. " + }, + { + "name": "findMarkers", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1171", + "visibility": "Public", + "summary": "Find all {DisplayBufferMarker}s that match the given properties.", + "description": "Find all {DisplayBufferMarker}s that match the given properties.\n\nThis method finds markers based on the given properties. Markers can be\nassociated with custom properties that will be compared with basic equality.\nIn addition, there are several special properties that will be compared\nwith the range of the markers rather than their properties.\n\nproperties - An {Object} containing properties that each returned marker\n must satisfy. Markers can be associated with custom properties, which are\n compared with basic equality. In addition, several reserved properties\n can be used to filter markers based on their current range:\n :startBufferRow - Only include markers starting at this row in buffer\n coordinates.\n :endBufferRow - Only include markers ending at this row in buffer\n coordinates.\n :containsBufferRange - Only include markers containing this {Range} or\n in range-compatible {Array} in buffer coordinates.\n :containsBufferPosition - Only include markers containing this {Point}\n or {Array} of `[row, column]` in buffer coordinates. " + }, + { + "name": "markScreenRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1180", + "visibility": "Public", + "summary": "Mark the given range in screen coordinates.", + "description": "Mark the given range in screen coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.", + "returnValues": [ + { + "type": "DisplayBufferMarker", + "description": "Returns a {DisplayBufferMarker}." + } + ] + }, + { + "name": "markBufferRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1189", + "visibility": "Public", + "summary": "Mark the given range in buffer coordinates.", + "description": "Mark the given range in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.", + "returnValues": [ + { + "type": "DisplayBufferMarker", + "description": "Returns a {DisplayBufferMarker}." + } + ] + }, + { + "name": "markScreenPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1198", + "visibility": "Public", + "summary": "Mark the given position in screen coordinates.", + "description": "Mark the given position in screen coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.", + "returnValues": [ + { + "type": "DisplayBufferMarker", + "description": "Returns a {DisplayBufferMarker}." + } + ] + }, + { + "name": "markBufferPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1207", + "visibility": "Public", + "summary": "Mark the given position in buffer coordinates.", + "description": "Mark the given position in buffer coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.", + "returnValues": [ + { + "type": "DisplayBufferMarker", + "description": "Returns a {DisplayBufferMarker}." + } + ] + }, + { + "name": "getMarkerCount", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1217", + "visibility": "Public", + "summary": "Get the number of markers in this editor's buffer.", + "description": "Get the number of markers in this editor's buffer.", + "returnValues": [ + { + "type": "Number", + "description": "Returns a {Number}." + } + ] + }, + { + "name": "hasMultipleCursors", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1221", + "visibility": "Public", + "summary": "Determine if there are multiple cursors. ", + "description": "Determine if there are multiple cursors. " + }, + { + "name": "getCursors", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1225", + "visibility": "Public", + "summary": "Get an Array of all {Cursor}s. ", + "description": "Get an Array of all {Cursor}s. " + }, + { + "name": "getCursor", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1228", + "visibility": "Public", + "summary": "Get the most recently added {Cursor}. ", + "description": "Get the most recently added {Cursor}. " + }, + { + "name": "addCursorAtScreenPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1234", + "visibility": "Public", + "summary": "Add a cursor at the position in screen coordinates.", + "description": "Add a cursor at the position in screen coordinates.", + "returnValues": [ + { + "type": "Cursor", + "description": "Returns a {Cursor}." + } + ] + }, + { + "name": "addCursorAtBufferPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1241", + "visibility": "Public", + "summary": "Add a cursor at the given position in buffer coordinates.", + "description": "Add a cursor at the given position in buffer coordinates.", + "returnValues": [ + { + "type": "Cursor", + "description": "Returns a {Cursor}." + } + ] + }, + { + "name": "addSelectionForBufferRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1289", + "visibility": "Public", + "summary": "Add a selection for the given range in buffer coordinates.", + "description": "Add a selection for the given range in buffer coordinates.\n\nbufferRange - A {Range}\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation.", + "returnValues": [ + { + "type": "Selection", + "description": "Returns the added {Selection}." + } + ] + }, + { + "name": "setSelectedBufferRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1302", + "visibility": "Public", + "summary": "Set the selected range in buffer coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.", + "description": "Set the selected range in buffer coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nbufferRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + }, + { + "name": "setSelectedScreenRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1312", + "visibility": "Public", + "summary": "Set the selected range in screen coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.", + "description": "Set the selected range in screen coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nscreenRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + }, + { + "name": "setSelectedBufferRanges", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1322", + "visibility": "Public", + "summary": "Set the selected ranges in buffer coordinates. If there are multiple\nselections, they are replaced by new selections with the given ranges.", + "description": "Set the selected ranges in buffer coordinates. If there are multiple\nselections, they are replaced by new selections with the given ranges.\n\nbufferRanges - An {Array} of {Range}s or range-compatible {Array}s.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + }, + { + "name": "getSelections", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1362", + "visibility": "Public", + "summary": "Get current {Selection}s.", + "description": "Get current {Selection}s.", + "returnValues": [ + { + "type": "Array", + "description": "Returns: An {Array} of {Selection}s." + } + ] + }, + { + "name": "getSelection", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1375", + "visibility": "Public", + "summary": "Get the most recent {Selection} or the selection at the given\nindex.", + "description": "Get the most recent {Selection} or the selection at the given\nindex.\n\nindex - Optional. The index of the selection to return, based on the order\n in which the selections were added.", + "returnValues": [ + { + "type": "Selection", + "description": "Returns a {Selection}. or the at the specified index." + } + ] + }, + { + "name": "getLastSelection", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1382", + "visibility": "Public", + "summary": "Get the most recently added {Selection}.", + "description": "Get the most recently added {Selection}.", + "returnValues": [ + { + "type": "Selection", + "description": "Returns a {Selection}." + } + ] + }, + { + "name": "getSelectionsOrderedByBufferPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1389", + "visibility": "Public", + "summary": "Get all {Selection}s, ordered by their position in the buffer\ninstead of the order in which they were added.", + "description": "Get all {Selection}s, ordered by their position in the buffer\ninstead of the order in which they were added.", + "returnValues": [ + { + "type": "Array", + "description": "Returns an {Array} of {Selection}s." + } + ] + }, + { + "name": "getLastSelectionInBuffer", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1395", + "visibility": "Public", + "summary": "Get the last {Selection} based on its position in the buffer.", + "description": "Get the last {Selection} based on its position in the buffer.", + "returnValues": [ + { + "type": "Selection", + "description": "Returns a {Selection}." + } + ] + }, + { + "name": "selectionIntersectsBufferRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1404", + "visibility": "Public", + "summary": "Determine if a given range in buffer coordinates intersects a\nselection.", + "description": "Determine if a given range in buffer coordinates intersects a\nselection.\n\nbufferRange - A {Range} or range-compatible {Array}.", + "returnValues": [ + { + "type": "Boolean", + "description": "Returns a {Boolean}." + } + ] + }, + { + "name": "setCursorScreenPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1416", + "visibility": "Public", + "summary": "Move the cursor to the given position in screen coordinates.", + "description": "Move the cursor to the given position in screen coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " + }, + { + "name": "getCursorScreenPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1423", + "visibility": "Public", + "summary": "Get the position of the most recently added cursor in screen\ncoordinates.", + "description": "Get the position of the most recently added cursor in screen\ncoordinates.", + "returnValues": [ + { + "type": "Point", + "description": "Returns a {Point}." + } + ] + }, + { + "name": "getCursorScreenRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1429", + "visibility": "Public", + "summary": "Get the row of the most recently added cursor in screen coordinates.", + "description": "Get the row of the most recently added cursor in screen coordinates.", + "returnValues": [ + { + "type": "Number", + "description": "Returns the screen row {Number}." + } + ] + }, + { + "name": "setCursorBufferPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1440", + "visibility": "Public", + "summary": "Move the cursor to the given position in buffer coordinates.", + "description": "Move the cursor to the given position in buffer coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " + }, + { + "name": "getCursorBufferPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1447", + "visibility": "Public", + "summary": "Get the position of the most recently added cursor in buffer\ncoordinates.", + "description": "Get the position of the most recently added cursor in buffer\ncoordinates.", + "returnValues": [ + { + "type": "Point", + "description": "Returns a {Point}." + } + ] + }, + { + "name": "getSelectedScreenRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1454", + "visibility": "Public", + "summary": "Get the {Range} of the most recently added selection in screen\ncoordinates.", + "description": "Get the {Range} of the most recently added selection in screen\ncoordinates.", + "returnValues": [ + { + "type": "Range", + "description": "Returns a {Range}." + } + ] + }, + { + "name": "getSelectedBufferRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1461", + "visibility": "Public", + "summary": "Get the {Range} of the most recently added selection in buffer\ncoordinates.", + "description": "Get the {Range} of the most recently added selection in buffer\ncoordinates.", + "returnValues": [ + { + "type": "Range", + "description": "Returns a {Range}." + } + ] + }, + { + "name": "getSelectedBufferRanges", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1469", + "visibility": "Public", + "summary": "Get the {Range}s of all selections in buffer coordinates.", + "description": "Get the {Range}s of all selections in buffer coordinates.\n\nThe ranges are sorted by their position in the buffer.", + "returnValues": [ + { + "type": "Array", + "description": "Returns an {Array} of {Range}s." + } + ] + }, + { + "name": "getSelectedScreenRanges", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1477", + "visibility": "Public", + "summary": "Get the {Range}s of all selections in screen coordinates.", + "description": "Get the {Range}s of all selections in screen coordinates.\n\nThe ranges are sorted by their position in the buffer.", + "returnValues": [ + { + "type": "Array", + "description": "Returns an {Array} of {Range}s." + } + ] + }, + { + "name": "getSelectedText", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1483", + "visibility": "Public", + "summary": "Get the selected text of the most recently added selection.", + "description": "Get the selected text of the most recently added selection.", + "returnValues": [ + { + "type": "String", + "description": "Returns a {String}." + } + ] + }, + { + "name": "getTextInBufferRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1491", + "visibility": "Public", + "summary": "Get the text in the given {Range} in buffer coordinates.", + "description": "Get the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.", + "returnValues": [ + { + "type": "String", + "description": "Returns a {String}." + } + ] + }, + { + "name": "setTextInBufferRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1500", + "visibility": "Public", + "summary": "Set the text in the given {Range} in buffer coordinates.", + "description": "Set the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\ntext - A {String}", + "returnValues": [ + { + "type": "Range", + "description": "Returns the {Range} of the newly-inserted text." + } + ] + }, + { + "name": "getCurrentParagraphBufferRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1506", + "visibility": "Public", + "summary": "Get the {Range} of the paragraph surrounding the most recently added\ncursor.", + "description": "Get the {Range} of the paragraph surrounding the most recently added\ncursor.", + "returnValues": [ + { + "type": "Range", + "description": "Returns a {Range}." + } + ] + }, + { + "name": "getWordUnderCursor", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1512", + "visibility": "Public", + "summary": "Returns the word surrounding the most recently added cursor.", + "description": "Returns the word surrounding the most recently added cursor.\n\noptions - See {Cursor::getBeginningOfCurrentWordBufferPosition}. " + }, + { + "name": "moveCursorUp", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1516", + "visibility": "Public", + "summary": "Move every cursor up one row in screen coordinates. ", + "description": "Move every cursor up one row in screen coordinates. " + }, + { + "name": "moveCursorDown", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1520", + "visibility": "Public", + "summary": "Move every cursor down one row in screen coordinates. ", + "description": "Move every cursor down one row in screen coordinates. " + }, + { + "name": "moveCursorLeft", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1524", + "visibility": "Public", + "summary": "Move every cursor left one column. ", + "description": "Move every cursor left one column. " + }, + { + "name": "moveCursorRight", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1528", + "visibility": "Public", + "summary": "Move every cursor right one column. ", + "description": "Move every cursor right one column. " + }, + { + "name": "moveCursorToTop", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1534", + "visibility": "Public", + "summary": "Move every cursor to the top of the buffer.", + "description": "Move every cursor to the top of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " + }, + { + "name": "moveCursorToBottom", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1540", + "visibility": "Public", + "summary": "Move every cursor to the bottom of the buffer.", + "description": "Move every cursor to the bottom of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " + }, + { + "name": "moveCursorToBeginningOfScreenLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1544", + "visibility": "Public", + "summary": "Move every cursor to the beginning of its line in screen coordinates. ", + "description": "Move every cursor to the beginning of its line in screen coordinates. " + }, + { + "name": "moveCursorToBeginningOfLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1548", + "visibility": "Public", + "summary": "Move every cursor to the beginning of its line in buffer coordinates. ", + "description": "Move every cursor to the beginning of its line in buffer coordinates. " + }, + { + "name": "moveCursorToFirstCharacterOfLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1552", + "visibility": "Public", + "summary": "Move every cursor to the first non-whitespace character of its line. ", + "description": "Move every cursor to the first non-whitespace character of its line. " + }, + { + "name": "moveCursorToEndOfScreenLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1556", + "visibility": "Public", + "summary": "Move every cursor to the end of its line in screen coordinates. ", + "description": "Move every cursor to the end of its line in screen coordinates. " + }, + { + "name": "moveCursorToEndOfLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1560", + "visibility": "Public", + "summary": "Move every cursor to the end of its line in buffer coordinates. ", + "description": "Move every cursor to the end of its line in buffer coordinates. " + }, + { + "name": "moveCursorToBeginningOfWord", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1564", + "visibility": "Public", + "summary": "Move every cursor to the beginning of its surrounding word. ", + "description": "Move every cursor to the beginning of its surrounding word. " + }, + { + "name": "moveCursorToEndOfWord", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1568", + "visibility": "Public", + "summary": "Move every cursor to the end of its surrounding word. ", + "description": "Move every cursor to the end of its surrounding word. " + }, + { + "name": "moveCursorToBeginningOfNextWord", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1572", + "visibility": "Public", + "summary": "Move every cursor to the beginning of the next word. ", + "description": "Move every cursor to the beginning of the next word. " + }, + { + "name": "moveCursorToPreviousWordBoundary", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1576", + "visibility": "Public", + "summary": "Move every cursor to the previous word boundary. ", + "description": "Move every cursor to the previous word boundary. " + }, + { + "name": "moveCursorToNextWordBoundary", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1580", + "visibility": "Public", + "summary": "Move every cursor to the next word boundary. ", + "description": "Move every cursor to the next word boundary. " + }, + { + "name": "moveCursorToBeginningOfNextParagraph", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1584", + "visibility": "Public", + "summary": "Move every cursor to the beginning of the next paragraph. ", + "description": "Move every cursor to the beginning of the next paragraph. " + }, + { + "name": "moveCursorToBeginningOfPreviousParagraph", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1588", + "visibility": "Public", + "summary": "Move every cursor to the beginning of the previous paragraph. ", + "description": "Move every cursor to the beginning of the previous paragraph. " + }, + { + "name": "scrollToCursorPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1597", + "visibility": "Public", + "summary": "Scroll the editor to reveal the most recently added cursor if it is\noff-screen.", + "description": "Scroll the editor to reveal the most recently added cursor if it is\noff-screen.\n\noptions - An optional hash of options.\n :center - Center the editor around the cursor if possible. Defauls to\n true. " + }, + { + "name": "selectToScreenPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1637", + "visibility": "Public", + "summary": "Select from the current cursor position to the given position in\nscreen coordinates.", + "description": "Select from the current cursor position to the given position in\nscreen coordinates.\n\nThis method may merge selections that end up intesecting.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + }, + { + "name": "selectRight", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1646", + "visibility": "Public", + "summary": "Move the cursor of each selection one character rightward while\npreserving the selection's tail position.", + "description": "Move the cursor of each selection one character rightward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + }, + { + "name": "selectLeft", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1653", + "visibility": "Public", + "summary": "Move the cursor of each selection one character leftward while\npreserving the selection's tail position.", + "description": "Move the cursor of each selection one character leftward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + }, + { + "name": "selectUp", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1660", + "visibility": "Public", + "summary": "Move the cursor of each selection one character upward while\npreserving the selection's tail position.", + "description": "Move the cursor of each selection one character upward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + }, + { + "name": "selectDown", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1667", + "visibility": "Public", + "summary": "Move the cursor of each selection one character downward while\npreserving the selection's tail position.", + "description": "Move the cursor of each selection one character downward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + }, + { + "name": "selectToTop", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1674", + "visibility": "Public", + "summary": "Select from the top of the buffer to the end of the last selection\nin the buffer.", + "description": "Select from the top of the buffer to the end of the last selection\nin the buffer.\n\nThis method merges multiple selections into a single selection. " + }, + { + "name": "selectAll", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1680", + "visibility": "Public", + "summary": "Select all text in the buffer.", + "description": "Select all text in the buffer.\n\nThis method merges multiple selections into a single selection. " + }, + { + "name": "selectToBottom", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1687", + "visibility": "Public", + "summary": "Selects from the top of the first selection in the buffer to the end\nof the buffer.", + "description": "Selects from the top of the first selection in the buffer to the end\nof the buffer.\n\nThis method merges multiple selections into a single selection. " + }, + { + "name": "selectToBeginningOfLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1694", + "visibility": "Public", + "summary": "Move the cursor of each selection to the beginning of its line\nwhile preserving the selection's tail position.", + "description": "Move the cursor of each selection to the beginning of its line\nwhile preserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + }, + { + "name": "selectToFirstCharacterOfLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1703", + "visibility": "Public", + "summary": "Move the cursor of each selection to the first non-whitespace\ncharacter of its line while preserving the selection's tail position. If the\ncursor is already on the first character of the line, move it to the\nbeginning of the line.", + "description": "Move the cursor of each selection to the first non-whitespace\ncharacter of its line while preserving the selection's tail position. If the\ncursor is already on the first character of the line, move it to the\nbeginning of the line.\n\nThis method may merge selections that end up intersecting. " + }, + { + "name": "selectToEndOfLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1710", + "visibility": "Public", + "summary": "Move the cursor of each selection to the end of its line while\npreserving the selection's tail position.", + "description": "Move the cursor of each selection to the end of its line while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + }, + { + "name": "selectToPreviousWordBoundary", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1717", + "visibility": "Public", + "summary": "For each selection, move its cursor to the preceding word boundary\nwhile maintaining the selection's tail position.", + "description": "For each selection, move its cursor to the preceding word boundary\nwhile maintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + }, + { + "name": "selectToNextWordBoundary", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1724", + "visibility": "Public", + "summary": "For each selection, move its cursor to the next word boundary while\nmaintaining the selection's tail position.", + "description": "For each selection, move its cursor to the next word boundary while\nmaintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + }, + { + "name": "selectLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1730", + "visibility": "Public", + "summary": "For each cursor, select the containing line.", + "description": "For each cursor, select the containing line.\n\nThis method merges selections on successive lines. " + }, + { + "name": "addSelectionBelow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1741", + "visibility": "Public", + "summary": "Add a similarly-shaped selection to the next eligible line below\neach selection.", + "description": "Add a similarly-shaped selection to the next eligible line below\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next following non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " + }, + { + "name": "addSelectionAbove", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1752", + "visibility": "Public", + "summary": "Add a similarly-shaped selection to the next eligible line above\neach selection.", + "description": "Add a similarly-shaped selection to the next eligible line above\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next preceding non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " + }, + { + "name": "splitSelectionsIntoLines", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1760", + "visibility": "Public", + "summary": "Split multi-line selections into one selection per line.", + "description": "Split multi-line selections into one selection per line.\n\nOperates on all selections. This method breaks apart all multi-line\nselections to create multiple single-line selections that cumulatively cover\nthe same original area. " + }, + { + "name": "transpose", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1777", + "visibility": "Public", + "summary": "For each selection, transpose the selected text.", + "description": "For each selection, transpose the selected text.\n\nIf the selection is empty, the characters preceding and following the cursor\nare swapped. Otherwise, the selected characters are reversed. " + }, + { + "name": "upperCase", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1792", + "visibility": "Public", + "summary": "Convert the selected text to upper case.", + "description": "Convert the selected text to upper case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " + }, + { + "name": "lowerCase", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1799", + "visibility": "Public", + "summary": "Convert the selected text to lower case.", + "description": "Convert the selected text to lower case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " + }, + { + "name": "selectToBeginningOfWord", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1817", + "visibility": "Public", + "summary": "Expand selections to the beginning of their containing word.", + "description": "Expand selections to the beginning of their containing word.\n\nOperates on all selections. Moves the cursor to the beginning of the\ncontaining word while preserving the selection's tail position. " + }, + { + "name": "selectToEndOfWord", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1824", + "visibility": "Public", + "summary": "Expand selections to the end of their containing word.", + "description": "Expand selections to the end of their containing word.\n\nOperates on all selections. Moves the cursor to the end of the containing\nword while preserving the selection's tail position. " + }, + { + "name": "selectToBeginningOfNextWord", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1831", + "visibility": "Public", + "summary": "Expand selections to the beginning of the next word.", + "description": "Expand selections to the beginning of the next word.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nword while preserving the selection's tail position. " + }, + { + "name": "selectWord", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1835", + "visibility": "Public", + "summary": "Select the word containing each cursor. ", + "description": "Select the word containing each cursor. " + }, + { + "name": "selectToBeginningOfNextParagraph", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1842", + "visibility": "Public", + "summary": "Expand selections to the beginning of the next paragraph.", + "description": "Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " + }, + { + "name": "selectToBeginningOfPreviousParagraph", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1849", + "visibility": "Public", + "summary": "Expand selections to the beginning of the next paragraph.", + "description": "Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " + }, + { + "name": "selectMarker", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1857", + "visibility": "Public", + "summary": "Select the range of the given marker if it is valid.", + "description": "Select the range of the given marker if it is valid.\n\nmarker - A {DisplayBufferMarker}", + "returnValues": [ + { + "type": "Range", + "description": "Returns the selected {Range} or `undefined` if the marker is invalid." + } + ] + }, + { + "name": "getGrammar", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1920", + "visibility": "Public", + "summary": "Get the current {Grammar} of this editor. ", + "description": "Get the current {Grammar} of this editor. " + }, + { + "name": "setGrammar", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1927", + "visibility": "Public", + "summary": "Set the current {Grammar} of this editor.", + "description": "Set the current {Grammar} of this editor.\n\nAssigning a grammar will cause the editor to re-tokenize based on the new\ngrammar. " + }, + { + "name": "transact", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1945", + "visibility": "Public", + "summary": "Batch multiple operations as a single undo/redo step.", + "description": "Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " + }, + { + "name": "beginTransaction", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1953", + "visibility": "Public", + "summary": "Start an open-ended transaction.", + "description": "Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " + }, + { + "name": "commitTransaction", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1959", + "visibility": "Public", + "summary": "Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.", + "description": "Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " + }, + { + "name": "abortTransaction", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1963", + "visibility": "Public", + "summary": "Abort an open transaction, undoing any operations performed so far\nwithin the transaction. ", + "description": "Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " + } + ], + "visibility": "Public", + "summary": "This class represents all essential editing state for a single\n{TextBuffer}, including cursor and selection positions, folds, and soft wraps.\nIf you're manipulating the state of an editor, use this class. If you're\ninterested in the visual appearance of editors, use {EditorView} instead.", + "description": "This class represents all essential editing state for a single\n{TextBuffer}, including cursor and selection positions, folds, and soft wraps.\nIf you're manipulating the state of an editor, use this class. If you're\ninterested in the visual appearance of editors, use {EditorView} instead.\n\nA single {TextBuffer} can belong to multiple editors. For example, if the\nsame file is open in two different panes, Atom creates a separate editor for\neach pane. If the buffer is manipulated the changes are reflected in both\neditors, but each maintains its own cursor position, folded lines, etc.\n\n## Accessing Editor Instances\n\nThe easiest way to get hold of `Editor` objects is by registering a callback\nwith `::eachEditor` on the `atom.workspace` global. Your callback will then\nbe called with all current editor instances and also when any editor is\ncreated in the future.\n\n```coffeescript\n atom.workspace.eachEditor (editor) ->\n editor.insertText('Hello World')\n```\n\n## Buffer vs. Screen Coordinates\n\nBecause editors support folds and soft-wrapping, the lines on screen don't\nalways match the lines in the buffer. For example, a long line that soft wraps\ntwice renders as three lines on screen, but only represents one line in the\nbuffer. Similarly, if rows 5-10 are folded, then row 6 on screen corresponds\nto row 11 in the buffer.\n\nYour choice of coordinates systems will depend on what you're trying to\nachieve. For example, if you're writing a command that jumps the cursor up or\ndown by 10 lines, you'll want to use screen coordinates because the user\nprobably wants to skip lines *on screen*. However, if you're writing a package\nthat jumps between method definitions, you'll want to work in buffer\ncoordinates.\n\n**When in doubt, just default to buffer coordinates**, then experiment with\nsoft wraps and folds to ensure your code interacts with them correctly.\n\n## Common Tasks\n\nThis is a subset of methods on this class. Refer to the complete summary for\nits full capabilities.\n\n### Cursors\n\n* {::setCursorBufferPosition}\n* {::setCursorScreenPosition}\n* {::moveCursorUp}\n* {::moveCursorDown}\n* {::moveCursorLeft}\n* {::moveCursorRight}\n* {::moveCursorToBeginningOfWord}\n* {::moveCursorToEndOfWord}\n* {::moveCursorToPreviousWordBoundary}\n* {::moveCursorToNextWordBoundary}\n* {::moveCursorToBeginningOfNextWord}\n* {::moveCursorToBeginningOfLine}\n* {::moveCursorToEndOfLine}\n* {::moveCursorToFirstCharacterOfLine}\n* {::moveCursorToTop}\n* {::moveCursorToBottom}\n\n### Selections\n\n* {::getSelectedBufferRange}\n* {::getSelectedBufferRanges}\n* {::setSelectedBufferRange}\n* {::setSelectedBufferRanges}\n* {::selectUp}\n* {::selectDown}\n* {::selectLeft}\n* {::selectRight}\n* {::selectToBeginningOfWord}\n* {::selectToEndOfWord}\n* {::selectToPreviousWordBoundary}\n* {::selectToNextWordBoundary}\n* {::selectWord}\n* {::selectToBeginningOfLine}\n* {::selectToEndOfLine}\n* {::selectToFirstCharacterOfLine}\n* {::selectToTop}\n* {::selectToBottom}\n* {::selectAll}\n* {::addSelectionForBufferRange}\n* {::addSelectionAbove}\n* {::addSelectionBelow}\n* {::splitSelectionsIntoLines}\n\n### Manipulating Text\n\n* {::getText}\n* {::getSelectedText}\n* {::setText}\n* {::setTextInBufferRange}\n* {::insertText}\n* {::insertNewline}\n* {::insertNewlineAbove}\n* {::insertNewlineBelow}\n* {::backspace}\n* {::deleteToBeginningOfWord}\n* {::deleteToBeginningOfLine}\n* {::delete}\n* {::deleteToEndOfLine}\n* {::deleteToEndOfWord}\n* {::deleteLine}\n* {::cutSelectedText}\n* {::cutToEndOfLine}\n* {::copySelectedText}\n* {::pasteText}\n\n### Undo, Redo, and Transactions\n\n* {::undo}\n* {::redo}\n* {::transact}\n* {::abortTransaction}\n\n### Markers\n\n* {::markBufferRange}\n* {::markScreenRange}\n* {::getMarker}\n* {::findMarkers}\n\n### Decorations\n\n* {::decorateMarker}\n* {::decorationsForScreenRowRange} " + }, + "Git": { + "name": "Git", + "filename": "src/git.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L41", + "sections": [], + "classMethods": [ + { + "name": "open", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L53", + "visibility": "Public", + "summary": "Creates a new Git instance.", + "description": "Creates a new Git instance.\n\npath - The path to the Git repository to open.\noptions - An object with the following keys (default: {}):\n :refreshOnWindowFocus - `true` to refresh the index and statuses when the\n window is focused.", + "returnValues": [ + { + "type": null, + "description": "Returns a Git instance or null if the repository could not be opened." + } + ] + } + ], + "instanceMethods": [ + { + "name": "destroy", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L98", + "visibility": "Public", + "summary": "Destroy this `Git` object. This destroys any tasks and subscriptions\nand releases the underlying libgit2 repository handle. ", + "description": "Destroy this `Git` object. This destroys any tasks and subscriptions\nand releases the underlying libgit2 repository handle. " + }, + { + "name": "getPath", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L121", + "visibility": "Public", + "summary": "Returns the {String} path of the repository. ", + "description": "Returns the {String} path of the repository. " + }, + { + "name": "getWorkingDirectory", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L125", + "visibility": "Public", + "summary": "Returns the {String} working directory path of the repository. ", + "description": "Returns the {String} working directory path of the repository. " + }, + { + "name": "getPathStatus", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L133", + "visibility": "Public", + "summary": "Get the status of a single path in the repository.", + "description": "Get the status of a single path in the repository.\n\npath - A {String} repository-relative path.", + "returnValues": [ + { + "type": "Number", + "description": "Returns a {Number} representing the status. This value can be passed to {::isStatusModified} or {::isStatusNew} to get more information." + } + ] + }, + { + "name": "isPathIgnored", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L150", + "visibility": "Public", + "summary": "Is the given path ignored?", + "description": "Is the given path ignored?", + "returnValues": [ + { + "type": "Boolean", + "description": "Returns a {Boolean}." + } + ] + }, + { + "name": "isStatusModified", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L153", + "visibility": "Public", + "summary": "Returns true if the given status indicates modification. ", + "description": "Returns true if the given status indicates modification. " + }, + { + "name": "isPathModified", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L156", + "visibility": "Public", + "summary": "Returns true if the given path is modified. ", + "description": "Returns true if the given path is modified. " + }, + { + "name": "isStatusNew", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L159", + "visibility": "Public", + "summary": "Returns true if the given status indicates a new path. ", + "description": "Returns true if the given status indicates a new path. " + }, + { + "name": "isPathNew", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L162", + "visibility": "Public", + "summary": "Returns true if the given path is new. ", + "description": "Returns true if the given path is new. " + }, + { + "name": "isProjectAtRoot", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L166", + "visibility": "Public", + "summary": "Returns true if at the root, false if in a subfolder of the\nrepository. ", + "description": "Returns true if at the root, false if in a subfolder of the\nrepository. " + }, + { + "name": "relativize", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L170", + "visibility": "Public", + "summary": "Makes a path relative to the repository's working directory. ", + "description": "Makes a path relative to the repository's working directory. " + }, + { + "name": "getShortHead", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L182", + "visibility": "Public", + "summary": "Retrieves a shortened version of the HEAD reference value.", + "description": "Retrieves a shortened version of the HEAD reference value.\n\nThis removes the leading segments of `refs/heads`, `refs/tags`, or\n`refs/remotes`. It also shortens the SHA-1 of a detached `HEAD` to 7\ncharacters.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository contains submodules.", + "returnValues": [ + { + "type": "String", + "description": "Returns a {String}." + } + ] + }, + { + "name": "checkoutHead", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L197", + "visibility": "Public", + "summary": "Restore the contents of a path in the working directory and index\nto the version at `HEAD`.", + "description": "Restore the contents of a path in the working directory and index\nto the version at `HEAD`.\n\nThis is essentially the same as running:\n\n```\ngit reset HEAD -- \ngit checkout HEAD -- \n```\n\npath - The {String} path to checkout.", + "returnValues": [ + { + "type": "Boolean", + "description": "Returns a {Boolean} that's true if the method was successful." + } + ] + }, + { + "name": "checkoutReference", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L210", + "visibility": "Public", + "summary": "Checks out a branch in your repository.", + "description": "Checks out a branch in your repository.\n\nreference - The String reference to checkout\ncreate - A Boolean value which, if true creates the new reference if it\n doesn't exist.", + "returnValues": [ + { + "type": null, + "description": "Returns a Boolean that's true if the method was successful." + } + ] + }, + { + "name": "getDiffStats", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L223", + "visibility": "Public", + "summary": "Retrieves the number of lines added and removed to a path.", + "description": "Retrieves the number of lines added and removed to a path.\n\nThis compares the working directory contents of the path to the `HEAD`\nversion.\n\npath - The {String} path to check.", + "returnValues": [ + { + "type": "Object", + "description": "Returns an {Object} with the following keys: :added - The {Number} of added lines. :deleted - The {Number} of deleted lines." + } + ] + }, + { + "name": "isSubmodule", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L232", + "visibility": "Public", + "summary": "Is the given path a submodule in the repository?", + "description": "Is the given path a submodule in the repository?\n\npath - The {String} path to check.", + "returnValues": [ + { + "type": "Boolean", + "description": "Returns a {Boolean}." + } + ] + }, + { + "name": "getDirectoryStatus", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L248", + "visibility": "Public", + "summary": "Get the status of a directory in the repository's working directory.", + "description": "Get the status of a directory in the repository's working directory.\n\npath - The {String} path to check.", + "returnValues": [ + { + "type": "Number", + "description": "Returns a {Number} representing the status. This value can be passed to {::isStatusModified} or {::isStatusNew} to get more information." + } + ] + }, + { + "name": "getLineDiffs", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L266", + "visibility": "Public", + "summary": "Retrieves the line diffs comparing the `HEAD` version of the given\npath and the given text.", + "description": "Retrieves the line diffs comparing the `HEAD` version of the given\npath and the given text.\n\npath - The {String} path relative to the repository.\ntext - The {String} to compare against the `HEAD` contents", + "returnValues": [ + { + "type": "Array", + "description": "Returns an {Array} of hunk {Object}s with the following keys: :oldStart - The line {Number} of the old hunk. :newStart - The line {Number} of the new hunk. :oldLines - The {Number} of lines in the old hunk. :newLines - The {Number} of lines in the new hunk" + } + ] + }, + { + "name": "getConfigValue", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L277", + "visibility": "Public", + "summary": "Returns the git configuration value specified by the key.", + "description": "Returns the git configuration value specified by the key.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " + }, + { + "name": "getOriginUrl", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L283", + "visibility": "Public", + "summary": "Returns the origin url of the repository.", + "description": "Returns the origin url of the repository.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " + }, + { + "name": "getUpstreamBranch", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L292", + "visibility": "Public", + "summary": "Returns the upstream branch for the current HEAD, or null if there\nis no upstream branch for the current HEAD.", + "description": "Returns the upstream branch for the current HEAD, or null if there\nis no upstream branch for the current HEAD.\n\npath - An optional {String} path in the repo to get this information for,\n only needed if the repository contains submodules.", + "returnValues": [ + { + "type": "String", + "description": "Returns a {String} branch name such as `refs/remotes/origin/master`." + } + ] + }, + { + "name": "getReferenceTarget", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L299", + "visibility": "Public", + "summary": "Returns the current SHA for the given reference.", + "description": "Returns the current SHA for the given reference.\n\nreference - The {String} reference to get the target of.\npath - An optional {String} path in the repo to get the reference target\n for. Only needed if the repository contains submodules. " + }, + { + "name": "getReferences", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L311", + "visibility": "Public", + "summary": "Gets all the local and remote references.", + "description": "Gets all the local and remote references.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.", + "returnValues": [ + { + "type": "Object", + "description": "Returns an {Object} with the following keys: :heads - An {Array} of head reference names. :remotes - An {Array} of remote reference names. :tags - An {Array} of tag reference names." + } + ] + }, + { + "name": "getAheadBehindCount", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L319", + "visibility": "Public", + "summary": "Returns the number of commits behind the current branch is from the\nits upstream remote branch.", + "description": "Returns the number of commits behind the current branch is from the\nits upstream remote branch.\n\nreference - The {String} branch reference name.\npath - The {String} path in the repository to get this information for,\n only needed if the repository contains submodules. " + }, + { + "name": "getCachedUpstreamAheadBehindCount", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L331", + "visibility": "Public", + "summary": "Get the cached ahead/behind commit counts for the current branch's\nupstream branch.", + "description": "Get the cached ahead/behind commit counts for the current branch's\nupstream branch.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.", + "returnValues": [ + { + "type": "Object", + "description": "Returns an {Object} with the following keys: :ahead - The {Number} of commits ahead. :behind - The {Number} of commits behind." + } + ] + }, + { + "name": "getCachedPathStatus", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L339", + "visibility": "Public", + "summary": "Get the cached status for the given path.", + "description": "Get the cached status for the given path.\n\npath - A {String} path in the repository, relative or absolute.", + "returnValues": [ + { + "type": "Number", + "description": "Returns a status {Number} or null if the path is not in the cache." + } + ] + }, + { + "name": "hasBranch", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L343", + "visibility": "Public", + "summary": "Returns true if the given branch exists. ", + "description": "Returns true if the given branch exists. " + } + ], + "visibility": "Public", + "summary": "Represents the underlying git operations performed by Atom.", + "description": "Represents the underlying git operations performed by Atom.\n\nThis class shouldn't be instantiated directly but instead by accessing the\n`atom.project` global and calling `getRepo()`. Note that this will only be\navailable when the project is backed by a Git repository.\n\nThis class handles submodules automatically by taking a `path` argument to many\nof the methods. This `path` argument will determine which underlying\nrepository is used.\n\nFor a repository with submodules this would have the following outcome:\n\n```coffee\nrepo = atom.project.getRepo()\nrepo.getShortHead() # 'master'\nrepo.getShortHead('vendor/path/to/a/submodule') # 'dead1234'\n```\n\n## Example\n\n```coffeescript\ngit = atom.project.getRepo()\nconsole.log git.getOriginUrl()\n```\n\n## Requiring in packages\n\n```coffee\n {Git} = require 'atom'\n```" + }, + "MenuManager": { + "name": "MenuManager", + "filename": "src/menu-manager.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/menu-manager.coffee#L13", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "add", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/menu-manager.coffee#L38", + "visibility": "Public", + "summary": "Adds the given item definition to the existing template.", + "description": "Adds the given item definition to the existing template.\n\n## Example\n\n```coffee\n atom.menu.add [\n {\n label: 'Hello'\n submenu : [{label: 'World!', command: 'hello:world'}]\n }\n ]\n```\n\nitems - An {Array} of menu item {Object}s containing the keys:\n :label - The {String} menu label.\n :submenu - An optional {Array} of sub menu items.\n :command - An optional {String} command to trigger when the item is\n clicked.", + "returnValues": [ + { + "type": null, + "description": "Returns nothing." + } + ] + }, + { + "name": "update", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/menu-manager.coffee#L80", + "visibility": "Public", + "summary": "Refreshes the currently visible menu. ", + "description": "Refreshes the currently visible menu. " + } + ], + "visibility": "Public", + "summary": "Provides a registry for menu items that you'd like to appear in the\napplication menu.", + "description": "Provides a registry for menu items that you'd like to appear in the\napplication menu.\n\nAn instance of this class is always available as the `atom.menu` global. " + }, + "PackageManager": { + "name": "PackageManager", + "filename": "src/package-manager.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L27", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "getApmPath", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L45", + "visibility": "Public", + "summary": "Get the path to the apm command ", + "description": "Get the path to the apm command " + }, + { + "name": "getPackageDirPaths", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L53", + "visibility": "Public", + "summary": "Get the paths being used to look for packages.", + "description": "Get the paths being used to look for packages.", + "returnValues": [ + { + "type": null, + "description": "Returns an Array of String directory paths." + } + ] + }, + { + "name": "enablePackage", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L63", + "visibility": "Public", + "summary": "Enable the package with the given name ", + "description": "Enable the package with the given name " + }, + { + "name": "disablePackage", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L69", + "visibility": "Public", + "summary": "Disable the package with the given name ", + "description": "Disable the package with the given name " + }, + { + "name": "getActivePackages", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L114", + "visibility": "Public", + "summary": "Get an array of all the active packages ", + "description": "Get an array of all the active packages " + }, + { + "name": "getActivePackage", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L118", + "visibility": "Public", + "summary": "Get the active package with the given name ", + "description": "Get the active package with the given name " + }, + { + "name": "isPackageActive", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L122", + "visibility": "Public", + "summary": "Is the package with the given name active? ", + "description": "Is the package with the given name active? " + }, + { + "name": "getLoadedPackage", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L183", + "visibility": "Public", + "summary": "Get the loaded package with the given name ", + "description": "Get the loaded package with the given name " + }, + { + "name": "isPackageLoaded", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L187", + "visibility": "Public", + "summary": "Is the package with the given name loaded? ", + "description": "Is the package with the given name loaded? " + }, + { + "name": "getLoadedPackages", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L191", + "visibility": "Public", + "summary": "Get an array of all the loaded packages ", + "description": "Get an array of all the loaded packages " + }, + { + "name": "resolvePackagePath", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L201", + "visibility": "Public", + "summary": "Resolve the given package name to a path on disk. ", + "description": "Resolve the given package name to a path on disk. " + }, + { + "name": "isPackageDisabled", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L211", + "visibility": "Public", + "summary": "Is the package with the given name disabled? ", + "description": "Is the package with the given name disabled? " + }, + { + "name": "isBundledPackage", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L219", + "visibility": "Public", + "summary": "Is the package with the given name bundled with Atom? ", + "description": "Is the package with the given name bundled with Atom? " + }, + { + "name": "getAvailablePackagePaths", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L232", + "visibility": "Public", + "summary": "Get an array of all the available package paths. ", + "description": "Get an array of all the available package paths. " + }, + { + "name": "getAvailablePackageNames", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L247", + "visibility": "Public", + "summary": "Get an array of all the available package names. ", + "description": "Get an array of all the available package names. " + }, + { + "name": "getAvailablePackageMetadata", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L251", + "visibility": "Public", + "summary": "Get an array of all the available package metadata. ", + "description": "Get an array of all the available package metadata. " + } + ], + "visibility": "Public", + "summary": "Package manager for coordinating the lifecycle of Atom packages.", + "description": "Package manager for coordinating the lifecycle of Atom packages.\n\nAn instance of this class is always available as the `atom.packages` global.\n\nPackages can be loaded, activated, and deactivated, and unloaded:\n\n* Loading a package reads and parses the package's metadata and resources\n such as keymaps, menus, stylesheets, etc.\n* Activating a package registers the loaded resources and calls `activate()`\n on the package's main module.\n* Deactivating a package unregisters the package's resources and calls\n `deactivate()` on the package's main module.\n* Unloading a package removes it completely from the package manager.\n\nPackages can also be enabled/disabled via the `core.disabledPackages` config\nsettings and also by calling `enablePackage()/disablePackage()`. " + }, + "PaneView": { + "name": "PaneView", + "filename": "src/pane-view.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane-view.coffee#L15", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "getNextPane", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane-view.coffee#L134", + "visibility": "Public", + "summary": "Returns the next pane, ordered by creation. ", + "description": "Returns the next pane, ordered by creation. " + }, + { + "name": "getContainer", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane-view.coffee#L211", + "visibility": "Public", + "summary": "Get the container view housing this pane.", + "description": "Get the container view housing this pane.", + "returnValues": [ + { + "type": "View", + "description": "Returns a {View}." + } + ] + } + ], + "visibility": "Public", + "summary": "A container which can contains multiple items to be switched between.", + "description": "A container which can contains multiple items to be switched between.\n\nItems can be almost anything however most commonly they're {EditorView}s.\n\nMost packages won't need to use this class, unless you're interested in\nbuilding a package that deals with switching between panes or items. " + }, + "Pane": { + "name": "Pane", + "filename": "src/pane.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L12", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "activate", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L74", + "visibility": "Public", + "summary": "Makes this pane the *active* pane, causing it to gain focus\nimmediately. ", + "description": "Makes this pane the *active* pane, causing it to gain focus\nimmediately. " + }, + { + "name": "getItems", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L83", + "visibility": "Public", + "summary": "Get the items in this pane.", + "description": "Get the items in this pane.", + "returnValues": [ + { + "type": "Array", + "description": "Returns an {Array} of items." + } + ] + }, + { + "name": "getActiveItem", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L89", + "visibility": "Public", + "summary": "Get the active pane item in this pane.", + "description": "Get the active pane item in this pane.", + "returnValues": [ + { + "type": null, + "description": "Returns a pane item." + } + ] + }, + { + "name": "getActiveEditor", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L94", + "visibility": "Public", + "summary": "Returns an {Editor} if the pane item is an {Editor}, or null\notherwise. ", + "description": "Returns an {Editor} if the pane item is an {Editor}, or null\notherwise. " + }, + { + "name": "itemAtIndex", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L98", + "visibility": "Public", + "summary": "Returns the item at the specified index. ", + "description": "Returns the item at the specified index. " + }, + { + "name": "activateNextItem", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L102", + "visibility": "Public", + "summary": "Makes the next item active. ", + "description": "Makes the next item active. " + }, + { + "name": "activatePreviousItem", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L110", + "visibility": "Public", + "summary": "Makes the previous item active. ", + "description": "Makes the previous item active. " + }, + { + "name": "addItem", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L138", + "visibility": "Public", + "summary": "Adds the item to the pane.", + "description": "Adds the item to the pane.\n\nitem - The item to add. It can be a model with an associated view or a view.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.", + "returnValues": [ + { + "type": null, + "description": "Returns the added item" + } + ] + }, + { + "name": "addItems", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L155", + "visibility": "Public", + "summary": "Adds the given items to the pane.", + "description": "Adds the given items to the pane.\n\nitems - An {Array} of items to add. Items can be models with associated\n views or views. Any items that are already present in items will\n not be added.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.", + "returnValues": [ + { + "type": "Array", + "description": "Returns an {Array} of the added items" + } + ] + }, + { + "name": "moveItem", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L176", + "visibility": "Public", + "summary": "Moves the given item to the specified index. ", + "description": "Moves the given item to the specified index. " + }, + { + "name": "moveItemToPane", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L183", + "visibility": "Public", + "summary": "Moves the given item to the given index at another pane. ", + "description": "Moves the given item to the given index at another pane. " + }, + { + "name": "destroyActiveItem", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L188", + "visibility": "Public", + "summary": "Destroys the currently active item and make the next item active. ", + "description": "Destroys the currently active item and make the next item active. " + }, + { + "name": "destroyItem", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L194", + "visibility": "Public", + "summary": "Destroys the given item. If it is the active item, activate the next\none. If this is the last item, also destroys the pane. ", + "description": "Destroys the given item. If it is the active item, activate the next\none. If this is the last item, also destroys the pane. " + }, + { + "name": "destroyItems", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L205", + "visibility": "Public", + "summary": "Destroys all items and destroys the pane. ", + "description": "Destroys all items and destroys the pane. " + }, + { + "name": "destroyInactiveItems", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L209", + "visibility": "Public", + "summary": "Destroys all items but the active one. ", + "description": "Destroys all items but the active one. " + }, + { + "name": "promptToSaveItem", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L225", + "visibility": "Public", + "summary": "Prompts the user to save the given item if it can be saved and is\ncurrently unsaved. ", + "description": "Prompts the user to save the given item if it can be saved and is\ncurrently unsaved. " + }, + { + "name": "saveActiveItem", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L240", + "visibility": "Public", + "summary": "Saves the active item. ", + "description": "Saves the active item. " + }, + { + "name": "saveActiveItemAs", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L244", + "visibility": "Public", + "summary": "Saves the active item at a prompted-for location. ", + "description": "Saves the active item at a prompted-for location. " + }, + { + "name": "saveItem", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L252", + "visibility": "Public", + "summary": "Saves the specified item.", + "description": "Saves the specified item.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " + }, + { + "name": "saveItemAs", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L264", + "visibility": "Public", + "summary": "Saves the given item at a prompted-for location.", + "description": "Saves the given item at a prompted-for location.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " + }, + { + "name": "saveItems", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L274", + "visibility": "Public", + "summary": "Saves all items. ", + "description": "Saves all items. " + }, + { + "name": "itemForUri", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L279", + "visibility": "Public", + "summary": "Returns the first item that matches the given URI or undefined if\nnone exists. ", + "description": "Returns the first item that matches the given URI or undefined if\nnone exists. " + }, + { + "name": "activateItemForUri", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L284", + "visibility": "Public", + "summary": "Activates the first item that matches the given URI. Returns a\nboolean indicating whether a matching item was found. ", + "description": "Activates the first item that matches the given URI. Returns a\nboolean indicating whether a matching item was found. " + }, + { + "name": "splitLeft", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L301", + "visibility": "Public", + "summary": "Creates a new pane to the left of the receiver.", + "description": "Creates a new pane to the left of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.", + "returnValues": [ + { + "type": "Pane", + "description": "Returns the new {Pane}." + } + ] + }, + { + "name": "splitRight", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L310", + "visibility": "Public", + "summary": "Creates a new pane to the right of the receiver.", + "description": "Creates a new pane to the right of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.", + "returnValues": [ + { + "type": "Pane", + "description": "Returns the new {Pane}." + } + ] + }, + { + "name": "splitUp", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L319", + "visibility": "Public", + "summary": "Creates a new pane above the receiver.", + "description": "Creates a new pane above the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.", + "returnValues": [ + { + "type": "Pane", + "description": "Returns the new {Pane}." + } + ] + }, + { + "name": "splitDown", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L328", + "visibility": "Public", + "summary": "Creates a new pane below the receiver.", + "description": "Creates a new pane below the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.", + "returnValues": [ + { + "type": "Pane", + "description": "Returns the new {Pane}." + } + ] + } + ], + "visibility": "Public", + "summary": "A container for multiple items, one of which is *active* at a given\ntime. With the default packages, a tab is displayed for each item and the\nactive item's view is displayed. ", + "description": "A container for multiple items, one of which is *active* at a given\ntime. With the default packages, a tab is displayed for each item and the\nactive item's view is displayed. " + }, + "Project": { + "name": "Project", + "filename": "src/project.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/project.coffee#L22", + "sections": [], + "classMethods": [ + { + "name": "pathForRepositoryUrl", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/project.coffee#L27", + "visibility": "Public", + "summary": "Find the local path for the given repository URL. ", + "description": "Find the local path for the given repository URL. " + } + ], + "instanceMethods": [ + { + "name": "getRepo", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/project.coffee#L62", + "visibility": "Public", + "summary": "Returns the {Git} repository if available. ", + "description": "Returns the {Git} repository if available. " + }, + { + "name": "getPath", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/project.coffee#L65", + "visibility": "Public", + "summary": "Returns the project's fullpath. ", + "description": "Returns the project's fullpath. " + }, + { + "name": "setPath", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/project.coffee#L69", + "visibility": "Public", + "summary": "Sets the project's fullpath. ", + "description": "Sets the project's fullpath. " + }, + { + "name": "getRootDirectory", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/project.coffee#L86", + "visibility": "Public", + "summary": "Returns the root {Directory} object for this project. ", + "description": "Returns the root {Directory} object for this project. " + }, + { + "name": "resolve", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/project.coffee#L96", + "visibility": "Public", + "summary": "Given a uri, this resolves it relative to the project directory. If\nthe path is already absolute or if it is prefixed with a scheme, it is\nreturned unchanged.", + "description": "Given a uri, this resolves it relative to the project directory. If\nthe path is already absolute or if it is prefixed with a scheme, it is\nreturned unchanged.\n\nuri - The {String} name of the path to convert.", + "returnValues": [ + { + "type": "String", + "description": "Returns a {String} or undefined if the uri is not missing or empty." + } + ] + }, + { + "name": "relativize", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/project.coffee#L110", + "visibility": "Public", + "summary": "Make the given path relative to the project directory. ", + "description": "Make the given path relative to the project directory. " + }, + { + "name": "contains", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/project.coffee#L115", + "visibility": "Public", + "summary": "Returns whether the given path is inside this project. ", + "description": "Returns whether the given path is inside this project. " + }, + { + "name": "scan", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/project.coffee#L222", + "visibility": "Public", + "summary": "Performs a search across all the files in the project.", + "description": "Performs a search across all the files in the project.\n\nregex - A {RegExp} to search with.\noptions - An optional options {Object} (default: {}):\n :paths - An {Array} of glob patterns to search within\niterator - A {Function} callback on each file found " + }, + { + "name": "replace", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/project.coffee#L269", + "visibility": "Public", + "summary": "Performs a replace across all the specified files in the project.", + "description": "Performs a replace across all the specified files in the project.\n\nregex - A {RegExp} to search with.\nreplacementText - Text to replace all matches of regex with\nfilePaths - List of file path strings to run the replace on.\niterator - A {Function} callback on each file with replacements:\n `({filePath, replacements}) ->`. " + } + ], + "visibility": "Public", + "summary": "Represents a project that's opened in Atom.", + "description": "Represents a project that's opened in Atom.\n\nAn instance of this class is always available as the `atom.project` global. " + }, + "ScrollView": { + "name": "ScrollView", + "filename": "src/scroll-view.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/scroll-view.coffee#L22", + "sections": [], + "classMethods": [], + "instanceMethods": [], + "visibility": "Public", + "summary": "Represents a view that scrolls.", + "description": "Represents a view that scrolls.\n\nSubclasses must call `super` if overriding the `initialize` method or else\nthe following events won't be handled by the ScrollView.", + "events": { + "description": "* `core:move-up`\n* `core:move-down`\n* `core:page-up`\n* `core:page-down`\n* `core:move-to-top`\n* `core:move-to-bottom`\n\n## Requiring in packages\n\n```coffee\n {ScrollView} = require 'atom'\n```", + "list": [] + } + }, + "SelectListView": { + "name": "SelectListView", + "filename": "src/select-list-view.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L37", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "initialize", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L56", + "visibility": "Public", + "summary": "Initialize the select list view.", + "description": "Initialize the select list view.\n\nThis method can be overridden by subclasses but `super` should always\nbe called. " + }, + { + "name": "setItems", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L103", + "visibility": "Public", + "summary": "Set the array of items to display in the list.", + "description": "Set the array of items to display in the list.\n\nThis should be model items not actual views. {::viewForItem} will be\ncalled to render the item when it is being appended to the list view.\n\nitems - The {Array} of model items to display in the list (default: []). " + }, + { + "name": "setError", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L110", + "visibility": "Public", + "summary": "Set the error message to display.", + "description": "Set the error message to display.\n\nmessage - The {String} error message (default: ''). " + }, + { + "name": "setLoading", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L120", + "visibility": "Public", + "summary": "Set the loading message to display.", + "description": "Set the loading message to display.\n\nmessage - The {String} loading message (default: ''). " + }, + { + "name": "getFilterQuery", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L137", + "visibility": "Public", + "summary": "Get the filter query to use when fuzzy filtering the visible\nelements.", + "description": "Get the filter query to use when fuzzy filtering the visible\nelements.\n\nBy default this method returns the text in the mini editor but it can be\noverridden by subclasses if needed.", + "returnValues": [ + { + "type": "String", + "description": "Returns a {String} to use when fuzzy filtering the elements to display." + } + ] + }, + { + "name": "populateList", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L144", + "visibility": "Public", + "summary": "Populate the list view with the model items previously set by\ncalling {::setItems}.", + "description": "Populate the list view with the model items previously set by\ncalling {::setItems}.\n\nSubclasses may override this method but should always call `super`. " + }, + { + "name": "getEmptyMessage", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L175", + "visibility": "Public", + "summary": "Get the message to display when there are no items.", + "description": "Get the message to display when there are no items.\n\nSubclasses may override this method to customize the message.\n\nitemCount - The {Number} of items in the array specified to {::setItems}\nfilteredItemCount - The {Number} of items that pass the fuzzy filter test.", + "returnValues": [ + { + "type": "String", + "description": "Returns a {String} message (default: 'No matches found')." + } + ] + }, + { + "name": "setMaxItems", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L180", + "visibility": "Public", + "summary": "Set the maximum numbers of items to display in the list.", + "description": "Set the maximum numbers of items to display in the list.\n\nmaxItems - The maximum {Number} of items to display. " + }, + { + "name": "getSelectedItem", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L214", + "visibility": "Public", + "summary": "Get the model item that is currently selected in the list view.", + "description": "Get the model item that is currently selected in the list view.", + "returnValues": [ + { + "type": null, + "description": "Returns a model item." + } + ] + }, + { + "name": "viewForItem", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L234", + "visibility": "Public", + "summary": "Create a view for the given model item.", + "description": "Create a view for the given model item.\n\nThis method must be overridden by subclasses.\n\nThis is called when the item is about to appended to the list view.\n\nitem - The model item being rendered. This will always be one of the items\n previously passed to {::setItems}.", + "returnValues": [ + { + "type": null, + "description": "Returns a String of HTML, DOM element, jQuery object, or View." + } + ] + }, + { + "name": "confirmed", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L245", + "visibility": "Public", + "summary": "Callback function for when an item is selected.", + "description": "Callback function for when an item is selected.\n\nThis method must be overridden by subclasses.\n\nitem - The selected model item. This will always be one of the items\n previously passed to {::setItems}.", + "returnValues": [ + { + "type": "View", + "description": "Returns a DOM element, jQuery object, or {View}." + } + ] + }, + { + "name": "getFilterKey", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L259", + "visibility": "Public", + "summary": "Get the property name to use when filtering items.", + "description": "Get the property name to use when filtering items.\n\nThis method may be overridden by classes to allow fuzzy filtering based\non a specific property of the item objects.\n\nFor example if the objects you pass to {::setItems} are of the type\n`{\"id\": 3, \"name\": \"Atom\"}` then you would return `\"name\"` from this method\nto fuzzy filter by that property when text is entered into this view's\neditor.", + "returnValues": [ + { + "type": null, + "description": "Returns the property name to fuzzy filter by." + } + ] + }, + { + "name": "focusFilterEditor", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L262", + "visibility": "Public", + "summary": "Focus the fuzzy filter editor view. ", + "description": "Focus the fuzzy filter editor view. " + }, + { + "name": "storeFocusedElement", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L267", + "visibility": "Public", + "summary": "Store the currently focused element. This element will be given\nback focus when {::cancel} is called. ", + "description": "Store the currently focused element. This element will be given\nback focus when {::cancel} is called. " + }, + { + "name": "cancel", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L284", + "visibility": "Public", + "summary": "Cancel and close this select list view.", + "description": "Cancel and close this select list view.\n\nThis restores focus to the previously focused element if\n{::storeFocusedElement} was called prior to this view being attached. " + } + ], + "visibility": "Public", + "summary": "Provides a view that renders a list of items with an editor that\nfilters the items. Used by many packages such as the fuzzy-finder,\ncommand-palette, symbols-view and autocomplete.", + "description": "Provides a view that renders a list of items with an editor that\nfilters the items. Used by many packages such as the fuzzy-finder,\ncommand-palette, symbols-view and autocomplete.\n\nSubclasses must implement the following methods:\n\n* {::viewForItem}\n* {::confirmed}\n\n## Requiring in packages\n\n```coffee\n{SelectListView} = require 'atom'\n\nclass MySelectListView extends SelectListView\n initialize: ->\n super\n @addClass('overlay from-top')\n @setItems(['Hello', 'World'])\n atom.workspaceView.append(this)\n @focusFilterEditor()\n\n viewForItem: (item) ->\n \"
  • #{item}
  • \"\n\n confirmed: (item) ->\n console.log(\"#{item} was selected\")\n```" + }, + "Selection": { + "name": "Selection", + "filename": "src/selection.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L7", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "isEmpty", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L39", + "visibility": "Public", + "summary": "Determines if the selection contains anything. ", + "description": "Determines if the selection contains anything. " + }, + { + "name": "isReversed", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L46", + "visibility": "Public", + "summary": "Determines if the ending position of a marker is greater than the\nstarting position.", + "description": "Determines if the ending position of a marker is greater than the\nstarting position.\n\nThis can happen when, for example, you highlight text \"up\" in a {TextBuffer}. " + }, + { + "name": "isSingleScreenLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L50", + "visibility": "Public", + "summary": "Returns whether the selection is a single line or not. ", + "description": "Returns whether the selection is a single line or not. " + }, + { + "name": "getScreenRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L54", + "visibility": "Public", + "summary": "Returns the screen {Range} for the selection. ", + "description": "Returns the screen {Range} for the selection. " + }, + { + "name": "setScreenRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L61", + "visibility": "Public", + "summary": "Modifies the screen range for the selection.", + "description": "Modifies the screen range for the selection.\n\nscreenRange - The new {Range} to use.\noptions - A hash of options matching those found in {::setBufferRange}. " + }, + { + "name": "getBufferRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L65", + "visibility": "Public", + "summary": "Returns the buffer {Range} for the selection. ", + "description": "Returns the buffer {Range} for the selection. " + }, + { + "name": "setBufferRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L75", + "visibility": "Public", + "summary": "Modifies the buffer {Range} for the selection.", + "description": "Modifies the buffer {Range} for the selection.\n\nscreenRange - The new {Range} to select.\noptions - An {Object} with the keys:\n :preserveFolds - if `true`, the fold settings are preserved after the\n selection moves.\n :autoscroll - if `true`, the {Editor} scrolls to the new selection. " + }, + { + "name": "getBufferRowRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L92", + "visibility": "Public", + "summary": "Returns the starting and ending buffer rows the selection is\nhighlighting.", + "description": "Returns the starting and ending buffer rows the selection is\nhighlighting.", + "returnValues": [ + { + "type": "Array", + "description": "Returns an {Array} of two {Number}s: the starting row, and the ending row." + } + ] + }, + { + "name": "getText", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L115", + "visibility": "Public", + "summary": "Returns the text in the selection. ", + "description": "Returns the text in the selection. " + }, + { + "name": "clear", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L119", + "visibility": "Public", + "summary": "Clears the selection, moving the marker to the head. ", + "description": "Clears the selection, moving the marker to the head. " + }, + { + "name": "selectWord", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L127", + "visibility": "Public", + "summary": "Modifies the selection to encompass the current word.", + "description": "Modifies the selection to encompass the current word.", + "returnValues": [ + { + "type": "Range", + "description": "Returns a {Range}." + } + ] + }, + { + "name": "expandOverWord", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L139", + "visibility": "Public", + "summary": "Expands the newest selection to include the entire word on which\nthe cursors rests. ", + "description": "Expands the newest selection to include the entire word on which\nthe cursors rests. " + }, + { + "name": "selectLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L145", + "visibility": "Public", + "summary": "Selects an entire line in the buffer.", + "description": "Selects an entire line in the buffer.\n\nrow - The line {Number} to select (default: the row of the cursor). " + }, + { + "name": "expandOverLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L156", + "visibility": "Public", + "summary": "Expands the newest selection to include the entire line on which\nthe cursor currently rests.", + "description": "Expands the newest selection to include the entire line on which\nthe cursor currently rests.\n\nIt also includes the newline character. " + }, + { + "name": "selectToScreenPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L164", + "visibility": "Public", + "summary": "Selects the text from the current cursor position to a given screen\nposition.", + "description": "Selects the text from the current cursor position to a given screen\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + }, + { + "name": "selectToBufferPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L185", + "visibility": "Public", + "summary": "Selects the text from the current cursor position to a given buffer\nposition.", + "description": "Selects the text from the current cursor position to a given buffer\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + }, + { + "name": "selectRight", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L189", + "visibility": "Public", + "summary": "Selects the text one position right of the cursor. ", + "description": "Selects the text one position right of the cursor. " + }, + { + "name": "selectLeft", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L193", + "visibility": "Public", + "summary": "Selects the text one position left of the cursor. ", + "description": "Selects the text one position left of the cursor. " + }, + { + "name": "selectUp", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L197", + "visibility": "Public", + "summary": "Selects all the text one position above the cursor. ", + "description": "Selects all the text one position above the cursor. " + }, + { + "name": "selectDown", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L201", + "visibility": "Public", + "summary": "Selects all the text one position below the cursor. ", + "description": "Selects all the text one position below the cursor. " + }, + { + "name": "selectToTop", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L206", + "visibility": "Public", + "summary": "Selects all the text from the current cursor position to the top of\nthe buffer. ", + "description": "Selects all the text from the current cursor position to the top of\nthe buffer. " + }, + { + "name": "selectToBottom", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L211", + "visibility": "Public", + "summary": "Selects all the text from the current cursor position to the bottom\nof the buffer. ", + "description": "Selects all the text from the current cursor position to the bottom\nof the buffer. " + }, + { + "name": "selectAll", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L215", + "visibility": "Public", + "summary": "Selects all the text in the buffer. ", + "description": "Selects all the text in the buffer. " + }, + { + "name": "selectToBeginningOfLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L220", + "visibility": "Public", + "summary": "Selects all the text from the current cursor position to the\nbeginning of the line. ", + "description": "Selects all the text from the current cursor position to the\nbeginning of the line. " + }, + { + "name": "selectToFirstCharacterOfLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L225", + "visibility": "Public", + "summary": "Selects all the text from the current cursor position to the first\ncharacter of the line. ", + "description": "Selects all the text from the current cursor position to the first\ncharacter of the line. " + }, + { + "name": "selectToEndOfLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L230", + "visibility": "Public", + "summary": "Selects all the text from the current cursor position to the end of\nthe line. ", + "description": "Selects all the text from the current cursor position to the end of\nthe line. " + }, + { + "name": "selectToBeginningOfWord", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L235", + "visibility": "Public", + "summary": "Selects all the text from the current cursor position to the\nbeginning of the word. ", + "description": "Selects all the text from the current cursor position to the\nbeginning of the word. " + }, + { + "name": "selectToEndOfWord", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L240", + "visibility": "Public", + "summary": "Selects all the text from the current cursor position to the end of\nthe word. ", + "description": "Selects all the text from the current cursor position to the end of\nthe word. " + }, + { + "name": "selectToBeginningOfNextWord", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L245", + "visibility": "Public", + "summary": "Selects all the text from the current cursor position to the\nbeginning of the next word. ", + "description": "Selects all the text from the current cursor position to the\nbeginning of the next word. " + }, + { + "name": "selectToPreviousWordBoundary", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L249", + "visibility": "Public", + "summary": "Selects text to the previous word boundary. ", + "description": "Selects text to the previous word boundary. " + }, + { + "name": "selectToNextWordBoundary", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L253", + "visibility": "Public", + "summary": "Selects text to the next word boundary. ", + "description": "Selects text to the next word boundary. " + }, + { + "name": "selectToBeginningOfNextParagraph", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L258", + "visibility": "Public", + "summary": "Selects all the text from the current cursor position to the\nbeginning of the next paragraph. ", + "description": "Selects all the text from the current cursor position to the\nbeginning of the next paragraph. " + }, + { + "name": "selectToBeginningOfPreviousParagraph", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L263", + "visibility": "Public", + "summary": "Selects all the text from the current cursor position to the\nbeginning of the previous paragraph. ", + "description": "Selects all the text from the current cursor position to the\nbeginning of the previous paragraph. " + }, + { + "name": "addSelectionBelow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L267", + "visibility": "Public", + "summary": "Moves the selection down one row. ", + "description": "Moves the selection down one row. " + }, + { + "name": "addSelectionAbove", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L290", + "visibility": "Public", + "summary": "Moves the selection up one row. ", + "description": "Moves the selection up one row. " + }, + { + "name": "insertText", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L317", + "visibility": "Public", + "summary": "Replaces text at the current selection.", + "description": "Replaces text at the current selection.\n\ntext - A {String} representing the text to add\noptions - An {Object} with keys:\n :select - if `true`, selects the newly added text.\n :autoIndent - if `true`, indents all inserted text appropriately.\n :autoIndentNewline - if `true`, indent newline appropriately.\n :autoDecreaseIndent - if `true`, decreases indent level appropriately\n (for example, when a closing bracket is inserted).\n :undo - if `skip`, skips the undo stack for this operation. " + }, + { + "name": "normalizeIndents", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L350", + "visibility": "Public", + "summary": "Indents the given text to the suggested level based on the grammar.", + "description": "Indents the given text to the suggested level based on the grammar.\n\ntext - The {String} to indent within the selection.\nindentBasis - The beginning indent level. " + }, + { + "name": "indentSelectedRows", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L400", + "visibility": "Public", + "summary": "If the selection spans multiple rows, indent all of them. ", + "description": "If the selection spans multiple rows, indent all of them. " + }, + { + "name": "setIndentationForLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L406", + "visibility": "Public", + "summary": "? ", + "description": "? " + }, + { + "name": "backspace", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L413", + "visibility": "Public", + "summary": "Removes the first character before the selection if the selection\nis empty otherwise it deletes the selection. ", + "description": "Removes the first character before the selection if the selection\nis empty otherwise it deletes the selection. " + }, + { + "name": "deleteToBeginningOfWord", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L429", + "visibility": "Public", + "summary": "Removes from the start of the selection to the beginning of the\ncurrent word if the selection is empty otherwise it deletes the selection. ", + "description": "Removes from the start of the selection to the beginning of the\ncurrent word if the selection is empty otherwise it deletes the selection. " + }, + { + "name": "deleteToBeginningOfLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L435", + "visibility": "Public", + "summary": "Removes from the beginning of the line which the selection begins on\nall the way through to the end of the selection. ", + "description": "Removes from the beginning of the line which the selection begins on\nall the way through to the end of the selection. " + }, + { + "name": "deleteToEndOfLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L456", + "visibility": "Public", + "summary": "If the selection is empty, removes all text from the cursor to the\nend of the line. If the cursor is already at the end of the line, it\nremoves the following newline. If the selection isn't empty, only deletes\nthe contents of the selection. ", + "description": "If the selection is empty, removes all text from the cursor to the\nend of the line. If the cursor is already at the end of the line, it\nremoves the following newline. If the selection isn't empty, only deletes\nthe contents of the selection. " + }, + { + "name": "deleteToEndOfWord", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L463", + "visibility": "Public", + "summary": "Removes the selection or all characters from the start of the\nselection to the end of the current word if nothing is selected. ", + "description": "Removes the selection or all characters from the start of the\nselection to the end of the current word if nothing is selected. " + }, + { + "name": "deleteSelectedText", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L468", + "visibility": "Public", + "summary": "Removes only the selected text. ", + "description": "Removes only the selected text. " + }, + { + "name": "deleteLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L478", + "visibility": "Public", + "summary": "Removes the line at the beginning of the selection if the selection\nis empty unless the selection spans multiple lines in which case all lines\nare removed. ", + "description": "Removes the line at the beginning of the selection if the selection\nis empty unless the selection spans multiple lines in which case all lines\nare removed. " + }, + { + "name": "joinLines", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L497", + "visibility": "Public", + "summary": "Joins the current line with the one below it.", + "description": "Joins the current line with the one below it.\n\nIf there selection spans more than one line, all the lines are joined together. " + }, + { + "name": "outdentSelectedRows", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L523", + "visibility": "Public", + "summary": "Removes one level of indent from the currently selected rows. ", + "description": "Removes one level of indent from the currently selected rows. " + }, + { + "name": "autoIndentSelectedRows", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L533", + "visibility": "Public", + "summary": "Sets the indentation level of all selected rows to values suggested\nby the relevant grammars. ", + "description": "Sets the indentation level of all selected rows to values suggested\nby the relevant grammars. " + }, + { + "name": "toggleLineComments", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L543", + "visibility": "Public", + "summary": "Wraps the selected lines in comments if they aren't currently part\nof a comment.", + "description": "Wraps the selected lines in comments if they aren't currently part\nof a comment.\n\nRemoves the comment if they are currently wrapped in a comment.", + "returnValues": [ + { + "type": "Range", + "description": "Returns an Array of the commented {Range}s." + } + ] + }, + { + "name": "cutToEndOfLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L547", + "visibility": "Public", + "summary": "Cuts the selection until the end of the line. ", + "description": "Cuts the selection until the end of the line. " + }, + { + "name": "cut", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L552", + "visibility": "Public", + "summary": "Copies the selection to the clipboard and then deletes it. ", + "description": "Copies the selection to the clipboard and then deletes it. " + }, + { + "name": "copy", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L562", + "visibility": "Public", + "summary": "Copies the current selection to the clipboard.", + "description": "Copies the current selection to the clipboard.\n\nIf the `maintainClipboard` is set to `true`, a specific metadata property\nis created to store each content copied to the clipboard. The clipboard\n`text` still contains the concatenation of the clipboard with the\ncurrent selection. " + }, + { + "name": "fold", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L580", + "visibility": "Public", + "summary": "Creates a fold containing the current selection. ", + "description": "Creates a fold containing the current selection. " + }, + { + "name": "intersectsBufferRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L604", + "visibility": "Public", + "summary": "Identifies if a selection intersects with a given buffer range.", + "description": "Identifies if a selection intersects with a given buffer range.\n\nbufferRange - A {Range} to check against.", + "returnValues": [ + { + "type": null, + "description": "Returns a Boolean." + } + ] + }, + { + "name": "intersectsWith", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L618", + "visibility": "Public", + "summary": "Identifies if a selection intersects with another selection.", + "description": "Identifies if a selection intersects with another selection.\n\notherSelection - A {Selection} to check against.", + "returnValues": [ + { + "type": null, + "description": "Returns a Boolean." + } + ] + }, + { + "name": "merge", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L626", + "visibility": "Public", + "summary": "Combines the given selection into this selection and then destroys\nthe given selection.", + "description": "Combines the given selection into this selection and then destroys\nthe given selection.\n\notherSelection - A {Selection} to merge with.\noptions - A hash of options matching those found in {::setBufferRange}. " + }, + { + "name": "compare", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L642", + "visibility": "Public", + "summary": "Compare this selection's buffer range to another selection's buffer\nrange.", + "description": "Compare this selection's buffer range to another selection's buffer\nrange.\n\nSee {Range::compare} for more details.\n\notherSelection - A {Selection} to compare against. " + } + ], + "visibility": "Public", + "summary": "Represents a selection in the {Editor}. ", + "description": "Represents a selection in the {Editor}. " + }, + "Syntax": { + "name": "Syntax", + "filename": "src/syntax.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/syntax.coffee#L19", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "getProperty", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/syntax.coffee#L68", + "visibility": "Public", + "summary": "Get a property for the given scope and key path.", + "description": "Get a property for the given scope and key path.\n\n## Example\n\n```coffee\ncomment = atom.syntax.getProperty(['.source.ruby'], 'editor.commentStart')\nconsole.log(comment) # '# '\n```\n\nscope - An {Array} of {String} scopes.\nkeyPath - A {String} key path.", + "returnValues": [ + { + "type": "String", + "description": "Returns a {String} property value or undefined." + } + ] + } + ], + "visibility": "Public", + "summary": "Syntax class holding the grammars used for tokenizing.", + "description": "Syntax class holding the grammars used for tokenizing.\n\nAn instance of this class is always available as the `atom.syntax` global.\n\nThe Syntax class also contains properties for things such as the\nlanguage-specific comment regexes. " + }, + "Task": { + "name": "Task", + "filename": "src/task.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/task.coffee#L22", + "sections": [], + "classMethods": [ + { + "name": "once", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/task.coffee#L30", + "visibility": "Public", + "summary": "A helper method to easily launch and run a task once.", + "description": "A helper method to easily launch and run a task once.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file which\n exports a single {Function} to execute.\nargs - The arguments to pass to the exported function. " + } + ], + "instanceMethods": [ + { + "name": "constructor", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/task.coffee#L48", + "visibility": "Public", + "summary": "Creates a task.", + "description": "Creates a task.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file that\n exports a single {Function} to execute. " + }, + { + "name": "start", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/task.coffee#L83", + "visibility": "Public", + "summary": "Starts the task.", + "description": "Starts the task.\n\nargs - The arguments to pass to the function exported by this task's script.\ncallback - An optional {Function} to call when the task completes. " + }, + { + "name": "send", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/task.coffee#L96", + "visibility": "Public", + "summary": "Send message to the task.", + "description": "Send message to the task.\n\nmessage - The message to send to the task. " + }, + { + "name": "terminate", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/task.coffee#L103", + "visibility": "Public", + "summary": "Forcefully stop the running task.", + "description": "Forcefully stop the running task.\n\nNo events are emitted. " + } + ], + "visibility": "Public", + "summary": "Run a node script in a separate process.", + "description": "Run a node script in a separate process.\n\nUsed by the fuzzy-finder.", + "events": { + "description": "* task:log - Emitted when console.log is called within the task.\n* task:warn - Emitted when console.warn is called within the task.\n* task:error - Emitted when console.error is called within the task.\n* task:completed - Emitted when the task has succeeded or failed.\n\n## Requiring in packages\n\n```coffee\n {Task} = require 'atom'\n```", + "list": [] + } + }, + "ThemeManager": { + "name": "ThemeManager", + "filename": "src/theme-manager.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/theme-manager.coffee#L16", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "getLoadedNames", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/theme-manager.coffee#L28", + "visibility": "Public", + "summary": "Get an array of all the loaded theme names. ", + "description": "Get an array of all the loaded theme names. " + }, + { + "name": "getActiveNames", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/theme-manager.coffee#L32", + "visibility": "Public", + "summary": "Get an array of all the active theme names. ", + "description": "Get an array of all the active theme names. " + }, + { + "name": "getActiveThemes", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/theme-manager.coffee#L36", + "visibility": "Public", + "summary": "Get an array of all the active themes. ", + "description": "Get an array of all the active themes. " + }, + { + "name": "getLoadedThemes", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/theme-manager.coffee#L40", + "visibility": "Public", + "summary": "Get an array of all the loaded themes. ", + "description": "Get an array of all the loaded themes. " + }, + { + "name": "setEnabledThemes", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/theme-manager.coffee#L94", + "visibility": "Public", + "summary": "Set the list of enabled themes.", + "description": "Set the list of enabled themes.\n\nenabledThemeNames - An {Array} of {String} theme names. " + }, + { + "name": "getUserStylesheetPath", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/theme-manager.coffee#L110", + "visibility": "Public", + "summary": "Returns the {String} path to the user's stylesheet under ~/.atom ", + "description": "Returns the {String} path to the user's stylesheet under ~/.atom " + }, + { + "name": "requireStylesheet", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/theme-manager.coffee#L161", + "visibility": "Public", + "summary": "Resolve and apply the stylesheet specified by the path.", + "description": "Resolve and apply the stylesheet specified by the path.\n\nThis supports both CSS and LESS stylsheets.\n\nstylesheetPath - A {String} path to the stylesheet that can be an absolute\n path or a relative path that will be resolved against the\n load path.", + "returnValues": [ + { + "type": null, + "description": "Returns the absolute path to the required stylesheet." + } + ] + } + ], + "visibility": "Public", + "summary": "Handles loading and activating available themes.", + "description": "Handles loading and activating available themes.\n\nAn instance of this class is always available as the `atom.themes` global. " + }, + "WorkspaceView": { + "name": "WorkspaceView", + "filename": "src/workspace-view.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L56", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "getModel", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L169", + "visibility": "Public", + "summary": "Get the underlying model object.", + "description": "Get the underlying model object.", + "returnValues": [ + { + "type": "Workspace", + "description": "Returns a {Workspace}." + } + ] + }, + { + "name": "installShellCommands", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L172", + "visibility": "Public", + "summary": "Install the Atom shell commands on the user's system. ", + "description": "Install the Atom shell commands on the user's system. " + }, + { + "name": "prependToTop", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L239", + "visibility": "Public", + "summary": "Prepend an element or view to the panels at the top of the\nworkspace. ", + "description": "Prepend an element or view to the panels at the top of the\nworkspace. " + }, + { + "name": "appendToTop", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L243", + "visibility": "Public", + "summary": "Append an element or view to the panels at the top of the workspace. ", + "description": "Append an element or view to the panels at the top of the workspace. " + }, + { + "name": "prependToBottom", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L248", + "visibility": "Public", + "summary": "Prepend an element or view to the panels at the bottom of the\nworkspace. ", + "description": "Prepend an element or view to the panels at the bottom of the\nworkspace. " + }, + { + "name": "appendToBottom", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L253", + "visibility": "Public", + "summary": "Append an element or view to the panels at the bottom of the\nworkspace. ", + "description": "Append an element or view to the panels at the bottom of the\nworkspace. " + }, + { + "name": "prependToLeft", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L258", + "visibility": "Public", + "summary": "Prepend an element or view to the panels at the left of the\nworkspace. ", + "description": "Prepend an element or view to the panels at the left of the\nworkspace. " + }, + { + "name": "appendToLeft", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L263", + "visibility": "Public", + "summary": "Append an element or view to the panels at the left of the\nworkspace. ", + "description": "Append an element or view to the panels at the left of the\nworkspace. " + }, + { + "name": "prependToRight", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L268", + "visibility": "Public", + "summary": "Prepend an element or view to the panels at the right of the\nworkspace. ", + "description": "Prepend an element or view to the panels at the right of the\nworkspace. " + }, + { + "name": "appendToRight", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L273", + "visibility": "Public", + "summary": "Append an element or view to the panels at the right of the\nworkspace. ", + "description": "Append an element or view to the panels at the right of the\nworkspace. " + }, + { + "name": "getActivePaneView", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L282", + "visibility": "Public", + "summary": "Get the active pane view.", + "description": "Get the active pane view.\n\nPrefer {Workspace::getActivePane} if you don't actually need access to the\nview.", + "returnValues": [ + { + "type": "PaneView", + "description": "Returns a {PaneView}." + } + ] + }, + { + "name": "getActiveView", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L288", + "visibility": "Public", + "summary": "Get the view associated with the active pane item.", + "description": "Get the view associated with the active pane item.", + "returnValues": [ + { + "type": null, + "description": "Returns a view." + } + ] + }, + { + "name": "focusPaneViewAbove", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L298", + "visibility": "Public", + "summary": "Focus the pane directly above the active pane. ", + "description": "Focus the pane directly above the active pane. " + }, + { + "name": "focusPaneViewBelow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L301", + "visibility": "Public", + "summary": "Focus the pane directly below the active pane. ", + "description": "Focus the pane directly below the active pane. " + }, + { + "name": "focusPaneViewOnLeft", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L304", + "visibility": "Public", + "summary": "Focus the pane directly to the left of the active pane. ", + "description": "Focus the pane directly to the left of the active pane. " + }, + { + "name": "focusPaneViewOnRight", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L307", + "visibility": "Public", + "summary": "Focus the pane directly to the right of the active pane. ", + "description": "Focus the pane directly to the right of the active pane. " + }, + { + "name": "eachPaneView", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L316", + "visibility": "Public", + "summary": "Register a function to be called for every current and future\npane view in the workspace.", + "description": "Register a function to be called for every current and future\npane view in the workspace.\n\ncallback - A {Function} with a {PaneView} as its only argument.", + "returnValues": [ + { + "type": null, + "description": "Returns a subscription object with an `.off` method that you can call to unregister the callback." + } + ] + }, + { + "name": "getPaneViews", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L326", + "visibility": "Public", + "summary": "Get all existing pane views.", + "description": "Get all existing pane views.\n\nPrefer {Workspace::getPanes} if you don't need access to the view objects.\nAlso consider using {::eachPaneView} if you want to register a callback for\nall current and *future* pane views.", + "returnValues": [ + { + "type": "PaneView", + "description": "Returns an Array of all open {PaneView}s." + } + ] + }, + { + "name": "eachEditorView", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L337", + "visibility": "Public", + "summary": "Register a function to be called for every current and future\neditor view in the workspace (only includes {EditorView}s that are pane\nitems).", + "description": "Register a function to be called for every current and future\neditor view in the workspace (only includes {EditorView}s that are pane\nitems).\n\ncallback - A {Function} with an {EditorView} as its only argument.", + "returnValues": [ + { + "type": null, + "description": "Returns a subscription object with an `.off` method that you can call to unregister the callback." + } + ] + } + ], + "visibility": "Public", + "summary": "The top-level view for the entire window. An instance of this class is\navailable via the `atom.workspaceView` global.", + "description": "The top-level view for the entire window. An instance of this class is\navailable via the `atom.workspaceView` global.\n\nIt is backed by a model object, an instance of {Workspace}, which is available\nvia the `atom.workspace` global or {::getModel}. You should prefer to interact\nwith the model object when possible, but it won't always be possible with the\ncurrent API.\n\n## Adding Perimeter Panels\n\nUse the following methods if possible to attach panels to the perimeter of the\nworkspace rather than manipulating the DOM directly to better insulate you to\nchanges in the workspace markup:\n\n* {::prependToTop}\n* {::appendToTop}\n* {::prependToBottom}\n* {::appendToBottom}\n* {::prependToLeft}\n* {::appendToLeft}\n* {::prependToRight}\n* {::appendToRight}\n\n## Requiring in package specs\n\nIf you need a `WorkspaceView` instance to test your package, require it via\nthe built-in `atom` module.\n\n```coffee\n {WorkspaceView} = require 'atom'\n```\n\nYou can assign it to the `atom.workspaceView` global in the spec or just use\nit as a local, depending on what you're trying to accomplish. Building the\n`WorkspaceView` is currently expensive, so you should try build a {Workspace}\ninstead if possible. " + }, + "Workspace": { + "name": "Workspace", + "filename": "src/workspace.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L19", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "eachEditor", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L85", + "visibility": "Public", + "summary": "Register a function to be called for every current and future\n{Editor} in the workspace.", + "description": "Register a function to be called for every current and future\n{Editor} in the workspace.\n\ncallback - A {Function} with an {Editor} as its only argument.", + "returnValues": [ + { + "type": null, + "description": "Returns a subscription object with an `.off` method that you can call to unregister the callback." + } + ] + }, + { + "name": "getEditors", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L92", + "visibility": "Public", + "summary": "Get all current editors in the workspace.", + "description": "Get all current editors in the workspace.", + "returnValues": [ + { + "type": "Array", + "description": "Returns an {Array} of {Editor}s." + } + ] + }, + { + "name": "open", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L119", + "visibility": "Public", + "summary": "Open a given a URI in Atom asynchronously.", + "description": "Open a given a URI in Atom asynchronously.\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :split - Either 'left' or 'right'. If 'left', the item will be opened in\n leftmost pane of the current active pane's row. If 'right', the\n item will be opened in the rightmost pane of the current active\n pane's row.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`.\n :searchAllPanes - A {Boolean}. If `true`, the workspace will attempt to\n activate an existing item for the given URI on any pane.\n If `false`, only the active pane will be searched for\n an existing item for the same URI. Defaults to `false`.", + "returnValues": [ + { + "type": "Editor", + "description": "Returns a promise that resolves to the {Editor} for the file URI." + } + ] + }, + { + "name": "openLicense", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L136", + "visibility": "Public", + "summary": "Open Atom's license in the active pane. ", + "description": "Open Atom's license in the active pane. " + }, + { + "name": "reopenItem", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L194", + "visibility": "Public", + "summary": "Asynchronously reopens the last-closed item's URI if it hasn't already been\nreopened.", + "description": "Asynchronously reopens the last-closed item's URI if it hasn't already been\nreopened.", + "returnValues": [ + { + "type": null, + "description": "Returns a promise that is resolved when the item is opened" + } + ] + }, + { + "name": "registerOpener", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L218", + "visibility": "Public", + "summary": "Register an opener for a uri.", + "description": "Register an opener for a uri.\n\nAn {Editor} will be used if no openers return a value.\n\n## Example\n\n```coffeescript\n atom.project.registerOpener (uri) ->\n if path.extname(uri) is '.toml'\n return new TomlEditor(uri)\n```\n\nopener - A {Function} to be called when a path is being opened. " + }, + { + "name": "unregisterOpener", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L222", + "visibility": "Public", + "summary": "Unregister an opener registered with {::registerOpener}. ", + "description": "Unregister an opener registered with {::registerOpener}. " + }, + { + "name": "getActivePane", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L231", + "visibility": "Public", + "summary": "Get the active {Pane}.", + "description": "Get the active {Pane}.", + "returnValues": [ + { + "type": "Pane", + "description": "Returns a {Pane}." + } + ] + }, + { + "name": "getPanes", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L237", + "visibility": "Public", + "summary": "Get all {Pane}s.", + "description": "Get all {Pane}s.", + "returnValues": [ + { + "type": "Array", + "description": "Returns an {Array} of {Pane}s." + } + ] + }, + { + "name": "saveAll", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L241", + "visibility": "Public", + "summary": "Save all pane items. ", + "description": "Save all pane items. " + }, + { + "name": "activateNextPane", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L245", + "visibility": "Public", + "summary": "Make the next pane active. ", + "description": "Make the next pane active. " + }, + { + "name": "activatePreviousPane", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L249", + "visibility": "Public", + "summary": "Make the previous pane active. ", + "description": "Make the previous pane active. " + }, + { + "name": "paneForUri", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L255", + "visibility": "Public", + "summary": "Get the first pane {Pane} with an item for the given URI.", + "description": "Get the first pane {Pane} with an item for the given URI.", + "returnValues": [ + { + "type": "Pane", + "description": "Returns a {Pane} or `undefined` if no pane exists for the given URI." + } + ] + }, + { + "name": "getActivePaneItem", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L261", + "visibility": "Public", + "summary": "Get the active {Pane}'s active item.", + "description": "Get the active {Pane}'s active item.", + "returnValues": [ + { + "type": "Object", + "description": "Returns an pane item {Object}." + } + ] + }, + { + "name": "saveActivePaneItem", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L270", + "visibility": "Public", + "summary": "Save the active pane item.", + "description": "Save the active pane item.\n\nIf the active pane item currently has a URI according to the item's\n`.getUri` method, calls `.save` on the item. Otherwise\n{::saveActivePaneItemAs} # will be called instead. This method does nothing\nif the active item does not implement a `.save` method. " + }, + { + "name": "saveActivePaneItemAs", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L278", + "visibility": "Public", + "summary": "Prompt the user for a path and save the active pane item to it.", + "description": "Prompt the user for a path and save the active pane item to it.\n\nOpens a native dialog where the user selects a path on disk, then calls\n`.saveAs` on the item with the selected path. This method does nothing if\nthe active item does not implement a `.saveAs` method. " + }, + { + "name": "destroyActivePaneItem", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L285", + "visibility": "Public", + "summary": "Destroy (close) the active pane item.", + "description": "Destroy (close) the active pane item.\n\nRemoves the active pane item and calls the `.destroy` method on it if one is\ndefined. " + }, + { + "name": "destroyActivePane", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L289", + "visibility": "Public", + "summary": "Destroy (close) the active pane. ", + "description": "Destroy (close) the active pane. " + }, + { + "name": "getActiveEditor", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L296", + "visibility": "Public", + "summary": "Get the active item if it is an {Editor}.", + "description": "Get the active item if it is an {Editor}.", + "returnValues": [ + { + "type": "Editor", + "description": "Returns an {Editor} or `undefined` if the current active item is not an {Editor}." + } + ] + }, + { + "name": "increaseFontSize", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L300", + "visibility": "Public", + "summary": "Increase the editor font size by 1px. ", + "description": "Increase the editor font size by 1px. " + }, + { + "name": "decreaseFontSize", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L304", + "visibility": "Public", + "summary": "Decrease the editor font size by 1px. ", + "description": "Decrease the editor font size by 1px. " + }, + { + "name": "resetFontSize", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L309", + "visibility": "Public", + "summary": "Restore to a default editor font size. ", + "description": "Restore to a default editor font size. " + } + ], + "visibility": "Public", + "summary": "Represents the state of the user interface for the entire window.\nAn instance of this class is available via the `atom.workspace` global.", + "description": "Represents the state of the user interface for the entire window.\nAn instance of this class is available via the `atom.workspace` global.\n\nInteract with this object to open files, be notified of current and future\neditors, and manipulate panes. To add panels, you'll need to use the\n{WorkspaceView} class for now until we establish APIs at the model layer. " + }, + "KeymapManager": { + "name": "KeymapManager", + "filename": "src/keymap-manager.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L85", + "sections": [], + "classMethods": [ + { + "name": "keydownEvent", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L100", + "visibility": "Public", + "summary": "Create a keydown DOM event for testing purposes.", + "description": "Create a keydown DOM event for testing purposes.\n\nkey - The key or keyIdentifier of the event. For example, 'a', '1',\n 'escape', 'backspace', etc.\noptions - An {Object} containing any of the following:\n :ctrl - A {Boolean} indicating the ctrl modifier key\n :alt - A {Boolean} indicating the alt modifier key\n :shift - A {Boolean} indicating the shift modifier key\n :cmd - A {Boolean} indicating the cmd modifier key\n :which - A {Number} indicating `which` value of the event. See\n the docs for KeyboardEvent for more information.\n :target - The target element of the event. " + } + ], + "instanceMethods": [ + { + "name": "constructor", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L118", + "visibility": "Public", + "summary": "", + "description": "\n\noptions - An {Object} containing properties to assign to the keymap: You can\n pass custom properties to be used by extension methods. The following\n properties are also supported:\n :defaultTarget - This will be used as the target of events whose target\n is `document.body` to allow for a catch-all element when nothing is\n focused " + }, + { + "name": "destroy", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L126", + "visibility": "Public", + "summary": "Unwatch all watched paths. ", + "description": "Unwatch all watched paths. " + }, + { + "name": "getKeyBindings", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L133", + "visibility": "Public", + "summary": "Get all current key bindings.", + "description": "Get all current key bindings.", + "returnValues": [ + { + "type": "Array", + "description": "Returns an {Array} of {KeyBinding}s." + } + ] + }, + { + "name": "add", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L142", + "visibility": "Public", + "summary": "Add sets of key bindings grouped by CSS selector.", + "description": "Add sets of key bindings grouped by CSS selector.\n\nsource - A {String} (usually a path) uniquely identifying the given bindings\n so they can be removed later.\nbindings - An {Object} whose top-level keys point at sub-objects mapping\n keystroke patterns to commands. " + }, + { + "name": "loadKeymap", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L165", + "visibility": "Public", + "summary": "Load the key bindings from the given path.", + "description": "Load the key bindings from the given path.\n\npath - A {String} containing a path to a file or a directory. If the path is\n a directory, all files inside it will be loaded.\noptions - An {Object} containing the following optional keys:\n :watch - If `true`, the keymap will also reload the file at the given path\n whenever it changes. This option cannot be used with directory paths. " + }, + { + "name": "watchKeymap", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L180", + "visibility": "Public", + "summary": "Cause the keymap to reload the key bindings file at the given path\nwhenever it changes.", + "description": "Cause the keymap to reload the key bindings file at the given path\nwhenever it changes.\n\nThis method doesn't perform the initial load of the key bindings file. If\nthat's what you're looking for, call {::loadKeymap} with `watch: true`. " + }, + { + "name": "remove", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L191", + "visibility": "Public", + "summary": "Remove the key bindings added with {::addKeymap} or\n{::loadKeymap}.", + "description": "Remove the key bindings added with {::addKeymap} or\n{::loadKeymap}.\n\nsource - A {String} representing the `source` in a previous call to\n {::addKeymap} or the path in {::loadKeymap}. " + }, + { + "name": "handleKeyboardEvent", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L213", + "visibility": "Public", + "summary": "Dispatch a custom event associated with the matching key binding for\nthe given `KeyboardEvent` if one can be found.", + "description": "Dispatch a custom event associated with the matching key binding for\nthe given `KeyboardEvent` if one can be found.\n\nIf a matching binding is found on the event's target or one of its\nancestors, `.preventDefault()` is called on the keyboard event and the\nbinding's command is emitted as a custom event on the matching element.\n\nIf the matching binding's command is 'native!', the method will terminate\nwithout calling `.preventDefault()` on the keyboard event, allowing the\nbrowser to handle it as normal.\n\nIf the matching binding's command is 'unset!', the search will continue from\nthe current element's parent.\n\nIf the matching binding's command is 'abort!', the search will terminate\nwithout dispatching a command event.\n\nIf the event's target is `document.body`, it will be treated as if its\ntarget is `.defaultTarget` if that property is assigned on the keymap. " + }, + { + "name": "findKeyBindings", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L290", + "visibility": "Public", + "summary": "Get the key bindings for a given command and optional target.", + "description": "Get the key bindings for a given command and optional target.\n\nparams - An {Object} whose keys constrain the binding search:\n :keystrokes - A {String} representing one or more keystrokes, such as\n 'ctrl-x ctrl-s'\n :command - A {String} representing the name of a command, such as\n 'editor:backspace'\n :target - An optional DOM element constraining the search. If this\n parameter is supplied, the call will only return bindings that can be\n invoked by a KeyboardEvent originating from the target element. " + }, + { + "name": "keystrokeForKeyboardEvent", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L461", + "visibility": "Public", + "summary": "Translate a keydown event to a keystroke string.", + "description": "Translate a keydown event to a keystroke string.\n\nevent - A `KeyboardEvent` of type 'keydown'", + "returnValues": [ + { + "type": "String", + "description": "Returns a {String} describing the keystroke." + } + ] + } + ], + "visibility": "Public", + "summary": "Allows commands to be associated with keystrokes in a\ncontext-sensitive way. In Atom, you can access a global instance of this\nobject via `atom.keymap`.", + "description": "Allows commands to be associated with keystrokes in a\ncontext-sensitive way. In Atom, you can access a global instance of this\nobject via `atom.keymap`.\n\nKey bindings are plain JavaScript objects containing **CSS selectors** as\ntheir top level keys, then **keystroke patterns** mapped to commands.\n\n```cson\n'.workspace':\n 'ctrl-l': 'package:do-something'\n 'ctrl-z': 'package:do-something-else'\n'.mini.editor':\n 'enter': 'core:confirm'\n```\n\nWhen a keystroke sequence matches a binding in a given context, a custom DOM\nevent with a type based on the command is dispatched on the target of the\nkeyboard event.\n\nTo match a keystroke sequence, the keymap starts at the target element for the\nkeyboard event. It looks for key bindings associated with selectors that match\nthe target element. If multiple match, the most specific is selected. If there\nis a tie in specificity, the most recently added binding wins. If no bindings\nare found for the events target, the search is repeated again for the target's\nparent node and so on recursively until a binding is found or we traverse off\nthe top of the document.\n\nWhen a binding is found, its command event is always dispatched on the\noriginal target of the keyboard event, even if the matching element is higher\nup in the DOM. In addition, `.preventDefault()` is called on the keyboard\nevent to prevent the browser from taking action. `.preventDefault` is only\ncalled if a matching binding is found.\n\nCommand event objects have a non-standard method called `.abortKeyBinding()`.\nIf your command handler is invoked but you programmatically determine that no\naction can be taken and you want to allow other bindings to be matched, call\n`.abortKeyBinding()` on the event object. An example of where this is useful\nis binding snippet expansion to `tab`. If `snippets:expand` is invoked when\nthe cursor does not follow a valid snippet prefix, we abort the binding and\nallow `tab` to be handled by the default handler, which inserts whitespace.\n\nMulti-keystroke bindings are possible. If a sequence of one or more keystrokes\n*partially* matches a multi-keystroke binding, the keymap enters a pending\nstate. The pending state is terminated on the next keystroke, or after\n{::partialMatchTimeout} milliseconds has elapsed. When the pending state is\nterminated via a timeout or a keystroke that leads to no matches, the longest\nambiguous bindings that caused the pending state are temporarily disabled and\nthe previous keystrokes are replayed. If there is ambiguity again during the\nreplay, the next longest bindings are disabled and the keystrokes are replayed\nagain.", + "events": { + "description": "", + "list": [ + { + "children": [ + { + "name": null, + "description": "keystrokes - The keystroke {String} that matched the binding", + "type": null + }, + { + "name": null, + "description": "binding - The {KeyBinding} that was used", + "type": null + }, + { + "name": null, + "description": "keyboardEventTarget - The target element of the keyboard event", + "type": null + } + ], + "name": "matched", + "description": "Emitted when keystrokes match a binding.", + "type": null + }, + { + "children": [ + { + "name": null, + "description": "keystrokes - The keystroke {String} that partially match some bindings", + "type": null + }, + { + "name": null, + "description": "partiallyMatchedBindings - The {KeyBinding}s that partially matched", + "type": null + }, + { + "name": null, + "description": "keyboardEventTarget - The target element of the keyboard event", + "type": null + } + ], + "name": "matched-partially", + "description": "Emitted when keystrokes partially match one or more bindings.", + "type": null + }, + { + "children": [ + { + "name": null, + "description": "keystrokes - The keystroke {String} that matched no bindings", + "type": null + }, + { + "name": null, + "description": "keyboardEventTarget - The target element of the keyboard event ", + "type": null + } + ], + "name": "match-failed", + "description": "Emitted when keystrokes don't match any bindings.", + "type": null + } + ] + } + }, + "GrammarRegistry": { + "name": "GrammarRegistry", + "filename": "src/grammar-registry.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L10", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "getGrammars", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L25", + "visibility": "Public", + "summary": "Get all the grammars in this registry.", + "description": "Get all the grammars in this registry.", + "returnValues": [ + { + "type": "Array", + "description": "Returns a non-empty {Array} of {Grammar} instances." + } + ] + }, + { + "name": "grammarForScopeName", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L33", + "visibility": "Public", + "summary": "Get a grammar with the given scope name.", + "description": "Get a grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`.", + "returnValues": [ + { + "type": "Grammar", + "description": "Returns a {Grammar} or undefined." + } + ] + }, + { + "name": "removeGrammar", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L39", + "visibility": "Public", + "summary": "Remove a grammar from this registry.", + "description": "Remove a grammar from this registry.\n\ngrammar - The {Grammar} to remove. " + }, + { + "name": "removeGrammarForScopeName", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L48", + "visibility": "Public", + "summary": "Remove the grammar with the given scope name.", + "description": "Remove the grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`. " + }, + { + "name": "addGrammar", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L58", + "visibility": "Public", + "summary": "Add a grammar to this registry.", + "description": "Add a grammar to this registry.\n\nA 'grammar-added' event is emitted after the grammar is added.\n\ngrammar - The {Grammar} to add. This should be a value previously returned\n from {::readGrammar} or {::readGrammarSync}. " + }, + { + "name": "readGrammarSync", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L70", + "visibility": "Public", + "summary": "Read a grammar synchronously but don't add it to the registry.", + "description": "Read a grammar synchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.", + "returnValues": [ + { + "type": "Grammar", + "description": "Returns a {Grammar}." + } + ] + }, + { + "name": "readGrammar", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L82", + "visibility": "Public", + "summary": "Read a grammar asynchronously but don't add it to the registry.", + "description": "Read a grammar asynchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " + }, + { + "name": "loadGrammarSync", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L97", + "visibility": "Public", + "summary": "Read a grammar synchronously and add it to this registry.", + "description": "Read a grammar synchronously and add it to this registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.", + "returnValues": [ + { + "type": "Grammar", + "description": "Returns a {Grammar}." + } + ] + }, + { + "name": "loadGrammar", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L107", + "visibility": "Public", + "summary": "Read a grammar asynchronously and add it to the registry.", + "description": "Read a grammar asynchronously and add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " + }, + { + "name": "grammarOverrideForPath", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L120", + "visibility": "Public", + "summary": "Get the grammar override for the given file path.", + "description": "Get the grammar override for the given file path.\n\nfilePath - A {String} file path.", + "returnValues": [ + { + "type": "Grammar", + "description": "Returns a {Grammar} or undefined." + } + ] + }, + { + "name": "setGrammarOverrideForPath", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L129", + "visibility": "Public", + "summary": "Set the grammar override for the given file path.", + "description": "Set the grammar override for the given file path.\n\nfilePath - A non-empty {String} file path.\nscopeName - A {String} such as `\"source.js\"`.", + "returnValues": [ + { + "type": "Grammar", + "description": "Returns a {Grammar} or undefined." + } + ] + }, + { + "name": "clearGrammarOverrideForPath", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L136", + "visibility": "Public", + "summary": "Remove the grammar override for the given file path.", + "description": "Remove the grammar override for the given file path.\n\nfilePath - A {String} file path. " + }, + { + "name": "clearGrammarOverrides", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L140", + "visibility": "Public", + "summary": "Remove all grammar overrides. ", + "description": "Remove all grammar overrides. " + }, + { + "name": "selectGrammar", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L152", + "visibility": "Public", + "summary": "Select a grammar for the given file path and file contents.", + "description": "Select a grammar for the given file path and file contents.\n\nThis picks the best match by checking the file path and contents against\neach grammar.\n\nfilePath - A {String} file path.\nfileContents - A {String} of text for the file path.", + "returnValues": [ + { + "type": "Grammar", + "description": "Returns a {Grammar}, never null." + } + ] + } + ], + "visibility": "Public", + "summary": "Registry containing one or more grammars. ", + "description": "Registry containing one or more grammars. " + }, + "Grammar": { + "name": "Grammar", + "filename": "src/grammar.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar.coffee#L20", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "tokenizeLines", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar.coffee#L52", + "visibility": "Public", + "summary": "Tokenize all lines in the given text.", + "description": "Tokenize all lines in the given text.\n\ntext - A {String} containing one or more lines.", + "returnValues": [ + { + "type": "Array", + "description": "Returns an {Array} of token arrays for each line tokenized." + } + ] + }, + { + "name": "tokenizeLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar.coffee#L74", + "visibility": "Public", + "summary": "Tokenize the line of text.", + "description": "Tokenize the line of text.\n\nline - A {String} of text to tokenize.\nruleStack - An optional {Array} of rules previously returned from this\n method. This should be null when tokenizing the first line in\n the file.\nfirstLine - A {Boolean} denoting whether this is the first line in the file\n which defaults to `false`. This should be `true` when\n tokenizing the first line in the file.", + "returnValues": [ + { + "type": "Object", + "description": "Returns an {Object} containing `tokens` and `ruleStack` properties: :token - An {Array} of tokens covering the entire line of text. :ruleStack - An {Array} of rules representing the tokenized state at the end of the line. These should be passed back into this method when tokenizing the next line in the file." + } + ] + } + ], + "visibility": "Public", + "summary": "Grammar that tokenizes lines of text.", + "description": "Grammar that tokenizes lines of text.\n\nThis class should not be instantiated directly but instead obtained from\na {GrammarRegistry} by calling {GrammarRegistry::loadGrammar}. " + }, + "Directory": { + "name": "Directory", + "filename": "src/directory.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L12", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "constructor", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L21", + "visibility": "Public", + "summary": "Configures a new Directory instance, no files are accessed.", + "description": "Configures a new Directory instance, no files are accessed.\n\ndirectoryPath - A {String} containing the absolute path to the directory.\nsymlink - A {Boolean} indicating if the path is a symlink (default: false). " + }, + { + "name": "getBaseName", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L40", + "visibility": "Public", + "summary": "Returns the {String} basename of the directory. ", + "description": "Returns the {String} basename of the directory. " + }, + { + "name": "getPath", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L47", + "visibility": "Public", + "summary": "Returns the directory's symbolic path.", + "description": "Returns the directory's symbolic path.\n\nThis may include unfollowed symlinks or relative directory entries. Or it\nmay be fully resolved, it depends on what you give it. " + }, + { + "name": "isFile", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L50", + "visibility": "Public", + "summary": "Distinguishes Files from Directories during traversal. ", + "description": "Distinguishes Files from Directories during traversal. " + }, + { + "name": "isDirectory", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L53", + "visibility": "Public", + "summary": "Distinguishes Files from Directories during traversal. ", + "description": "Distinguishes Files from Directories during traversal. " + }, + { + "name": "getFile", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L59", + "visibility": "Public", + "summary": "Traverse within this Directory to a child File. This method doesn't\nactually check to see if the File exists, it just creates the File object.", + "description": "Traverse within this Directory to a child File. This method doesn't\nactually check to see if the File exists, it just creates the File object.\n\nfilename - The name of a File within this Directory. " + }, + { + "name": "getSubdirectory", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L67", + "visibility": "Public", + "summary": "Traverse within this a Directory to a child Directory. This method\ndoesn't actually check to see if the Directory exists, it just creates the\nDirectory object.", + "description": "Traverse within this a Directory to a child Directory. This method\ndoesn't actually check to see if the Directory exists, it just creates the\nDirectory object.\n\ndirname - The name of the child Directory. " + }, + { + "name": "getParent", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L71", + "visibility": "Public", + "summary": "Traverse to the parent Directory. ", + "description": "Traverse to the parent Directory. " + }, + { + "name": "isRoot", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L76", + "visibility": "Public", + "summary": "Return true if this {Directory} is the root directory of the\nfilesystem, or false if it isn't. ", + "description": "Return true if this {Directory} is the root directory of the\nfilesystem, or false if it isn't. " + }, + { + "name": "getRealPathSync", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L83", + "visibility": "Public", + "summary": "Returns this directory's completely resolved path.", + "description": "Returns this directory's completely resolved path.\n\nAll relative directory entries are removed and symlinks are resolved to\ntheir final destination. " + }, + { + "name": "contains", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L96", + "visibility": "Public", + "summary": "Returns whether the given path (real or symbolic) is inside this\ndirectory. This method does not actually check if the path exists, it just\nchecks if the path is under this directory. ", + "description": "Returns whether the given path (real or symbolic) is inside this\ndirectory. This method does not actually check if the path exists, it just\nchecks if the path is under this directory. " + }, + { + "name": "relativize", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L120", + "visibility": "Public", + "summary": "Returns the relative path to the given path from this directory. ", + "description": "Returns the relative path to the given path from this directory. " + }, + { + "name": "getEntriesSync", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L155", + "visibility": "Public", + "summary": "Reads file entries in this directory from disk synchronously.", + "description": "Reads file entries in this directory from disk synchronously.", + "returnValues": [ + { + "type": "Array", + "description": "Returns an {Array} of {File} and {Directory} objects." + } + ] + }, + { + "name": "getEntries", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L175", + "visibility": "Public", + "summary": "Reads file entries in this directory from disk asynchronously.", + "description": "Reads file entries in this directory from disk asynchronously.\n\ncallback - A {Function} to call with an {Error} as the 1st argument and\n an {Array} of {File} and {Directory} objects as the 2nd argument. " + } + ], + "visibility": "Public", + "summary": "Represents a directory on disk that can be watched for changes. ", + "description": "Represents a directory on disk that can be watched for changes. " + }, + "File": { + "name": "File", + "filename": "src/file.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L16", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "constructor", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L25", + "visibility": "Public", + "summary": "Creates a new file.", + "description": "Creates a new file.\n\nfilePath - A {String} containing the absolute path to the file\nsymlink - A {Boolean} indicating if the path is a symlink (default: false). " + }, + { + "name": "isFile", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L50", + "visibility": "Public", + "summary": "Distinguishes Files from Directories during traversal. ", + "description": "Distinguishes Files from Directories during traversal. " + }, + { + "name": "isDirectory", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L53", + "visibility": "Public", + "summary": "Distinguishes Files from Directories during traversal. ", + "description": "Distinguishes Files from Directories during traversal. " + }, + { + "name": "getPath", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L60", + "visibility": "Public", + "summary": "Returns the {String} path for the file. ", + "description": "Returns the {String} path for the file. " + }, + { + "name": "getParent", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L63", + "visibility": "Public", + "summary": "Return the {Directory} that contains this file. ", + "description": "Return the {Directory} that contains this file. " + }, + { + "name": "getRealPathSync", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L68", + "visibility": "Public", + "summary": "Returns this file's completely resolved path. ", + "description": "Returns this file's completely resolved path. " + }, + { + "name": "getBaseName", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L77", + "visibility": "Public", + "summary": "Return the {String} filename without any directory information. ", + "description": "Return the {String} filename without any directory information. " + }, + { + "name": "write", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L81", + "visibility": "Public", + "summary": "Overwrites the file with the given String. ", + "description": "Overwrites the file with the given String. " + }, + { + "name": "read", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L102", + "visibility": "Public", + "summary": "Reads the contents of the file.", + "description": "Reads the contents of the file.\n\nflushCache - A {Boolean} indicating whether to require a direct read or if\n a cached copy is acceptable.", + "returnValues": [ + { + "type": null, + "description": "Returns a promise that resovles to a String." + } + ] + }, + { + "name": "exists", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L129", + "visibility": "Public", + "summary": "Returns whether the file exists. ", + "description": "Returns whether the file exists. " + }, + { + "name": "getDigest", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L136", + "visibility": "Public", + "summary": "Get the SHA-1 digest of this file ", + "description": "Get the SHA-1 digest of this file " + } + ], + "visibility": "Public", + "summary": "Represents an individual file that can be watched, read from, and\nwritten to. ", + "description": "Represents an individual file that can be watched, read from, and\nwritten to. " + }, + "View": { + "name": "View", + "filename": "src/space-pen.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/space-pen.coffee#L59", + "sections": [], + "classMethods": [ + { + "name": "subview", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/space-pen.coffee#L66", + "visibility": "Public", + "summary": "Add the given subview wired to an outlet with the given name ", + "description": "Add the given subview wired to an outlet with the given name " + }, + { + "name": "text", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/space-pen.coffee#L70", + "visibility": "Public", + "summary": "Add a text node with the given text content ", + "description": "Add a text node with the given text content " + }, + { + "name": "tag", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/space-pen.coffee#L73", + "visibility": "Public", + "summary": "Add a new tag with the given name ", + "description": "Add a new tag with the given name " + }, + { + "name": "raw", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/space-pen.coffee#L76", + "visibility": "Public", + "summary": "Add new child DOM nodes from the given raw HTML string. ", + "description": "Add new child DOM nodes from the given raw HTML string. " + } + ], + "instanceMethods": [ + { + "name": "command", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/space-pen.coffee#L168", + "visibility": "Public", + "summary": "Calls the given handler when commandName is triggered on the {View}.", + "description": "Calls the given handler when commandName is triggered on the {View}.\n\nThis is enhanced version of jQuery's `::on` method. It listens for a custom\nDOM event and adds metadata to the DOM to maintain a list of all commands.\n\ncommandName - A namespaced {String} describing the command, such as\n `find-and-replace:toggle`.\nselector - An optional selector {String} to filter the descendants of the\n elements that trigger the event.\noptions - An optional options {Object} with an `data` key.\nhandler - A {Function} to execute when the command is triggered. " + }, + { + "name": "preempt", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/space-pen.coffee#L175", + "visibility": "Public", + "summary": "Preempt events registered with jQuery's `::on`.", + "description": "Preempt events registered with jQuery's `::on`.\n\neventName - A event name {String}.\nhandler - A {Function} to execute when the eventName is triggered. " + } + ], + "visibility": "Public", + "summary": "View class that extends the jQuery prototype.", + "description": "View class that extends the jQuery prototype.\n\nExtending classes must implement a `@content` method.\n\n## Example\n\n```coffee\nclass Spacecraft extends View\n @content: ->\n @div =>\n @h1 'Spacecraft'\n @ol =>\n @li 'Apollo'\n @li 'Soyuz'\n @li 'Space Shuttle'\n```\n\nEach view instance will have all the methods from the jQuery prototype\navailable on it.\n\n```coffee\n craft = new Spacecraft()\n craft.find('h1').text() # 'Spacecraft'\n craft.appendTo(document.body) # View is now a child of the tag\n```" + }, + "Marker": { + "name": "Marker", + "filename": "src/marker.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L60", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "getRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L122", + "visibility": "Public", + "summary": "Returns the current {Range} of the marker. The range is immutable. ", + "description": "Returns the current {Range} of the marker. The range is immutable. " + }, + { + "name": "setRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L131", + "visibility": "Public", + "summary": "Sets the range of the marker.", + "description": "Sets the range of the marker.\n\nrange - A {Range} or range-compatible {Array}. The range will be clipped\n before it is assigned.\nproperties - An optional hash of properties to associate with the marker.\n :reversed - If true, the marker will to be in a reversed orientation. " + }, + { + "name": "getHeadPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L138", + "visibility": "Public", + "summary": "Returns a {Point} representing the marker's current head position. ", + "description": "Returns a {Point} representing the marker's current head position. " + }, + { + "name": "setHeadPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L149", + "visibility": "Public", + "summary": "Sets the head position of the marker.", + "description": "Sets the head position of the marker.\n\nposition - A {Point} or point-compatible {Array}. The position will be\n clipped before it is assigned.\nproperties - An optional hash of properties to associate with the marker. " + }, + { + "name": "getTailPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L174", + "visibility": "Public", + "summary": "Returns a {Point} representing the marker's current tail position.\nIf the marker has no tail, the head position will be returned instead. ", + "description": "Returns a {Point} representing the marker's current tail position.\nIf the marker has no tail, the head position will be returned instead. " + }, + { + "name": "setTailPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L189", + "visibility": "Public", + "summary": "Sets the head position of the marker. If the marker doesn't have a\ntail, it will after calling this method.", + "description": "Sets the head position of the marker. If the marker doesn't have a\ntail, it will after calling this method.\n\nposition - A {Point} or point-compatible {Array}. The position will be\n clipped before it is assigned.\nproperties - An optional hash of properties to associate with the marker. " + }, + { + "name": "getStartPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L211", + "visibility": "Public", + "summary": "Returns a {Point} representing the start position of the marker,\nwhich could be the head or tail position, depending on its orientation. ", + "description": "Returns a {Point} representing the start position of the marker,\nwhich could be the head or tail position, depending on its orientation. " + }, + { + "name": "getEndPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L219", + "visibility": "Public", + "summary": "Returns a {Point} representing the end position of the marker,\nwhich could be the head or tail position, depending on its orientation. ", + "description": "Returns a {Point} representing the end position of the marker,\nwhich could be the head or tail position, depending on its orientation. " + }, + { + "name": "clearTail", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L230", + "visibility": "Public", + "summary": "Removes the marker's tail. After calling the marker's head position\nwill be reported as its current tail position until the tail is planted\nagain.", + "description": "Removes the marker's tail. After calling the marker's head position\nwill be reported as its current tail position until the tail is planted\nagain.\n\nproperties - An optional hash of properties to associate with the marker. " + }, + { + "name": "plantTail", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L242", + "visibility": "Public", + "summary": "Plants the marker's tail at the current head position. After calling\nthe marker's tail position will be its head position at the time of the\ncall, regardless of where the marker's head is moved.", + "description": "Plants the marker's tail at the current head position. After calling\nthe marker's tail position will be its head position at the time of the\ncall, regardless of where the marker's head is moved.\n\nproperties - An optional hash of properties to associate with the marker. " + }, + { + "name": "isReversed", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L250", + "visibility": "Public", + "summary": "Returns a {Boolean} indicating whether the head precedes the tail. ", + "description": "Returns a {Boolean} indicating whether the head precedes the tail. " + }, + { + "name": "hasTail", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L254", + "visibility": "Public", + "summary": "Returns a {Boolean} indicating whether the marker has a tail. ", + "description": "Returns a {Boolean} indicating whether the marker has a tail. " + }, + { + "name": "isValid", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L260", + "visibility": "Public", + "summary": "Is the marker valid?", + "description": "Is the marker valid?", + "returnValues": [ + { + "type": "Boolean", + "description": "Returns a {Boolean}." + } + ] + }, + { + "name": "isDestroyed", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L266", + "visibility": "Public", + "summary": "Is the marker destroyed?", + "description": "Is the marker destroyed?", + "returnValues": [ + { + "type": "Boolean", + "description": "Returns a {Boolean}." + } + ] + }, + { + "name": "isEqual", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L271", + "visibility": "Public", + "summary": "Returns a {Boolean} indicating whether this marker is equivalent to\nanother marker, meaning they have the same range and options. ", + "description": "Returns a {Boolean} indicating whether this marker is equivalent to\nanother marker, meaning they have the same range and options. " + }, + { + "name": "getInvalidationStrategy", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L279", + "visibility": "Public", + "summary": "Get the invalidation strategy for this marker.", + "description": "Get the invalidation strategy for this marker.\n\nValid values include: `never`, `surround`, `overlap`, `inside`, and `touch`.", + "returnValues": [ + { + "type": "String", + "description": "Returns a {String}." + } + ] + }, + { + "name": "getProperties", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L294", + "visibility": "Public", + "summary": "Returns an {Object} containing any custom properties associated with\nthe marker. ", + "description": "Returns an {Object} containing any custom properties associated with\nthe marker. " + }, + { + "name": "setProperties", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L299", + "visibility": "Public", + "summary": "Merges an {Object} containing new properties into the marker's\nexisting properties. ", + "description": "Merges an {Object} containing new properties into the marker's\nexisting properties. " + }, + { + "name": "copy", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L304", + "visibility": "Public", + "summary": "Creates and returns a new {Marker} with the same properties as this\nmarker. ", + "description": "Creates and returns a new {Marker} with the same properties as this\nmarker. " + }, + { + "name": "destroy", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L309", + "visibility": "Public", + "summary": "Destroys the marker, causing it to emit the 'destroyed' event. Once\ndestroyed, a marker cannot be restored by undo/redo operations. ", + "description": "Destroys the marker, causing it to emit the 'destroyed' event. Once\ndestroyed, a marker cannot be restored by undo/redo operations. " + }, + { + "name": "compare", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L321", + "visibility": "Public", + "summary": "Compares this marker to another based on their ranges. ", + "description": "Compares this marker to another based on their ranges. " + } + ], + "visibility": "Public", + "summary": "Reprents a buffer annotation that remains logically stationary even\nas the buffer changes. This is used to represent cursors, folds, snippet\ntargets, misspelled words, and anything else that needs to track a logical\nlocation in the buffer over time.", + "description": "Reprents a buffer annotation that remains logically stationary even\nas the buffer changes. This is used to represent cursors, folds, snippet\ntargets, misspelled words, and anything else that needs to track a logical\nlocation in the buffer over time.\n\nHead and Tail:\nMarkers always have a *head* and sometimes have a *tail*. If you think of a\nmarker as an editor selection, the tail is the part that's stationary and the\nhead is the part that moves when the mouse is moved. A marker without a tail\nalways reports an empty range at the head position. A marker with a head position\ngreater than the tail is in a \"normal\" orientation. If the head precedes the\ntail the marker is in a \"reversed\" orientation.\n\nValidity:\nMarkers are considered *valid* when they are first created. Depending on the\ninvalidation strategy you choose, certain changes to the buffer can cause a\nmarker to become invalid, for example if the text surrounding the marker is\ndeleted. See {TextBuffer::markRange} for invalidation strategies.\n\nChange events:\nWhen markers change in position for any reason, the emit a 'changed' event with\nthe following properties:\n\n* oldHeadPosition:\n A {Point} representing the former head position\n* newHeadPosition:\n A {Point} representing the new head position\n* oldTailPosition:\n A {Point} representing the former tail position\n* newTailPosition:\n A {Point} representing the new tail position\n* wasValid:\n A {Boolean} indicating whether the marker was valid before the change\n* isValid:\n A {Boolean} indicating whether the marker is now valid\n* hadTail:\n A {Boolean} indicating whether the marker had a tail before the change\n* hasTail:\n A {Boolean} indicating whether the marker now has a tail\n* oldProperties:\n An {Object} containing the marker's custom properties before the change.\n* newProperties:\n An {Object} containing the marker's custom properties after the change.\n* textChanged:\n A {Boolean} indicating whether this change was caused by a textual change\n to the buffer or whether the marker was manipulated directly via its public\n API. " + }, + "Point": { + "name": "Point", + "filename": "src/point.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L12", + "sections": [], + "classMethods": [ + { + "name": "fromObject", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L25", + "visibility": "Public", + "summary": "Convert any point-compatible object to a {Point}.", + "description": "Convert any point-compatible object to a {Point}.\n\n* object:\n This can be an object that's already a {Point}, in which case it's\n simply returned, or an array containing two {Number}s representing the\n row and column.\n* copy:\n An optional boolean indicating whether to force the copying of objects\n that are already points.", + "returnValues": [ + { + "type": "Point", + "description": "Returns: A {Point} based on the given object." + } + ] + }, + { + "name": "min", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L37", + "visibility": "Public", + "summary": "Returns the given point that is earlier in the buffer. ", + "description": "Returns the given point that is earlier in the buffer. " + } + ], + "instanceMethods": [ + { + "name": "copy", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L48", + "visibility": "Public", + "summary": "Returns a new {Point} with the same row and column. ", + "description": "Returns a new {Point} with the same row and column. " + }, + { + "name": "freeze", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L52", + "visibility": "Public", + "summary": "Makes this point immutable and returns itself. ", + "description": "Makes this point immutable and returns itself. " + }, + { + "name": "translate", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L57", + "visibility": "Public", + "summary": "Return a new {Point} based on shifting this point by the given delta,\nwhich is represented by another {Point}. ", + "description": "Return a new {Point} based on shifting this point by the given delta,\nwhich is represented by another {Point}. " + }, + { + "name": "compare", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L87", + "visibility": "Public", + "summary": "", + "description": "\n\n* other: A {Point} or point-compatible {Array}.", + "arguments": { + "description": "", + "list": [ + { + "name": null, + "description": "-1 if this point precedes the argument.", + "type": null + }, + { + "name": null, + "description": "0 if this point is equivalent to the argument.", + "type": null + }, + { + "name": null, + "description": "1 if this point follows the argument. ", + "type": null + } + ] + }, + "returnValues": [ + { + "type": null, + "description": "Returns:" + } + ] + }, + { + "name": "isEqual", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L102", + "visibility": "Public", + "summary": "Returns a {Boolean} indicating whether this point has the same row\nand column as the given {Point} or point-compatible {Array}. ", + "description": "Returns a {Boolean} indicating whether this point has the same row\nand column as the given {Point} or point-compatible {Array}. " + }, + { + "name": "isLessThan", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L109", + "visibility": "Public", + "summary": "Returns a {Boolean} indicating whether this point precedes the given\n{Point} or point-compatible {Array}. ", + "description": "Returns a {Boolean} indicating whether this point precedes the given\n{Point} or point-compatible {Array}. " + }, + { + "name": "isLessThanOrEqual", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L114", + "visibility": "Public", + "summary": "Returns a {Boolean} indicating whether this point precedes or is\nequal to the given {Point} or point-compatible {Array}. ", + "description": "Returns a {Boolean} indicating whether this point precedes or is\nequal to the given {Point} or point-compatible {Array}. " + }, + { + "name": "isGreaterThan", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L119", + "visibility": "Public", + "summary": "Returns a {Boolean} indicating whether this point follows the given\n{Point} or point-compatible {Array}. ", + "description": "Returns a {Boolean} indicating whether this point follows the given\n{Point} or point-compatible {Array}. " + }, + { + "name": "isGreaterThanOrEqual", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L124", + "visibility": "Public", + "summary": "Returns a {Boolean} indicating whether this point follows or is\nequal to the given {Point} or point-compatible {Array}. ", + "description": "Returns a {Boolean} indicating whether this point follows or is\nequal to the given {Point} or point-compatible {Array}. " + }, + { + "name": "toArray", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L128", + "visibility": "Public", + "summary": "Returns an array of this point's row and column. ", + "description": "Returns an array of this point's row and column. " + }, + { + "name": "serialize", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L132", + "visibility": "Public", + "summary": "Returns an array of this point's row and column. ", + "description": "Returns an array of this point's row and column. " + }, + { + "name": "toString", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L136", + "visibility": "Public", + "summary": "Returns a string representation of the point. ", + "description": "Returns a string representation of the point. " + } + ], + "visibility": "Public", + "summary": "Represents a point in a buffer in row/column coordinates.", + "description": "Represents a point in a buffer in row/column coordinates.\n\nEvery public method that takes a point also accepts a *point-compatible*\n{Array}. This means a 2-element array containing {Number}s representing the\nrow and column. So the following are equivalent:\n\n```coffee\nnew Point(1, 2)\n[1, 2]\n```" + }, + "Range": { + "name": "Range", + "filename": "src/range.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L17", + "sections": [], + "classMethods": [ + { + "name": "deserialize", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L19", + "visibility": "Public", + "summary": "Call this with the result of {Range::serialize} to construct a new Range. ", + "description": "Call this with the result of {Range::serialize} to construct a new Range. " + }, + { + "name": "fromObject", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L33", + "visibility": "Public", + "summary": "Convert any range-compatible object to a {Range}.", + "description": "Convert any range-compatible object to a {Range}.\n\n* object:\n This can be an object that's already a {Range}, in which case it's\n simply returned, or an array containing two {Point}s or point-compatible\n arrays.\n* copy:\n An optional boolean indicating whether to force the copying of objects\n that are already ranges.", + "returnValues": [ + { + "type": "Range", + "description": "Returns: A {Range} based on the given object." + } + ] + }, + { + "name": "fromPointWithDelta", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L80", + "visibility": "Public", + "summary": "Returns a {Range} that starts at the given point and ends at the\nstart point plus the given row and column deltas.", + "description": "Returns a {Range} that starts at the given point and ends at the\nstart point plus the given row and column deltas.\n\n* startPoint:\n A {Point} or point-compatible {Array}\n* rowDelta:\n A {Number} indicating how many rows to add to the start point to get the\n end point.\n* columnDelta:\n A {Number} indicating how many rows to columns to the start point to get\n the end point.", + "returnValues": [ + { + "type": "Range", + "description": "Returns a {Range}" + } + ] + } + ], + "instanceMethods": [ + { + "name": "serialize", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L97", + "visibility": "Public", + "summary": "Returns a plain javascript object representation of the range. ", + "description": "Returns a plain javascript object representation of the range. " + }, + { + "name": "copy", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L101", + "visibility": "Public", + "summary": "Returns a new range with the same start and end positions. ", + "description": "Returns a new range with the same start and end positions. " + }, + { + "name": "freeze", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L106", + "visibility": "Public", + "summary": "Freezes the range and its start and end point so it becomes\nimmutable and returns itself. ", + "description": "Freezes the range and its start and end point so it becomes\nimmutable and returns itself. " + }, + { + "name": "isEqual", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L113", + "visibility": "Public", + "summary": "Returns a {Boolean} indicating whether this range has the same start\nand end points as the given {Range} or range-compatible {Array}. ", + "description": "Returns a {Boolean} indicating whether this range has the same start\nand end points as the given {Range} or range-compatible {Array}. " + }, + { + "name": "compare", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L126", + "visibility": "Public", + "summary": "", + "description": "\n\n* other: A {Range} or range-compatible {Array}.", + "arguments": { + "description": "", + "list": [ + { + "name": null, + "description": "-1 if this range starts before the argument or contains it", + "type": null + }, + { + "name": null, + "description": "0 if this range is equivalent to the argument.", + "type": null + }, + { + "name": null, + "description": "1 if this range starts after the argument or is contained by it. ", + "type": null + } + ] + }, + "returnValues": [ + { + "type": null, + "description": "Returns:" + } + ] + }, + { + "name": "isSingleLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L135", + "visibility": "Public", + "summary": "Returns a {Boolean} indicating whether this range starts and ends on\nthe same row. ", + "description": "Returns a {Boolean} indicating whether this range starts and ends on\nthe same row. " + }, + { + "name": "coversSameRows", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L140", + "visibility": "Public", + "summary": "Returns a {Boolean} indicating whether this range starts and ends on\nthe same row as the argument. ", + "description": "Returns a {Boolean} indicating whether this range starts and ends on\nthe same row as the argument. " + }, + { + "name": "intersectsWith", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L150", + "visibility": "Public", + "summary": "Determines whether this range intersects with the argument. ", + "description": "Determines whether this range intersects with the argument. " + }, + { + "name": "containsRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L163", + "visibility": "Public", + "summary": "Returns a {Boolean} indicating whether this range contains the given\nrange.", + "description": "Returns a {Boolean} indicating whether this range contains the given\nrange.\n\n* otherRange: A {Range} or range-compatible {Array}\n* exclusive:\n A boolean value including that the containment should be exclusive of\n endpoints. Defaults to false. " + }, + { + "name": "containsPoint", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L174", + "visibility": "Public", + "summary": "Returns a {Boolean} indicating whether this range contains the given\npoint.", + "description": "Returns a {Boolean} indicating whether this range contains the given\npoint.\n\n* point: A {Point} or point-compatible {Array}\n* exclusive:\n A boolean value including that the containment should be exclusive of\n endpoints. Defaults to false. " + }, + { + "name": "intersectsRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L188", + "visibility": "Public", + "summary": "Returns a {Boolean} indicating whether this range intersects the\ngiven row {Number}. ", + "description": "Returns a {Boolean} indicating whether this range intersects the\ngiven row {Number}. " + }, + { + "name": "intersectsRowRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L193", + "visibility": "Public", + "summary": "Returns a {Boolean} indicating whether this range intersects the\nrow range indicated by the given startRow and endRow {Number}s. ", + "description": "Returns a {Boolean} indicating whether this range intersects the\nrow range indicated by the given startRow and endRow {Number}s. " + }, + { + "name": "union", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L198", + "visibility": "Public", + "summary": "Returns a new range that contains this range and the given range. ", + "description": "Returns a new range that contains this range and the given range. " + }, + { + "name": "isEmpty", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L206", + "visibility": "Public", + "summary": "Is the start position of this range equal to the end position?", + "description": "Is the start position of this range equal to the end position?", + "returnValues": [ + { + "type": "Boolean", + "description": "Returns a {Boolean}." + } + ] + }, + { + "name": "getRowCount", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L220", + "visibility": "Public", + "summary": "Get the number of rows in this range.", + "description": "Get the number of rows in this range.", + "returnValues": [ + { + "type": "Number", + "description": "Returns a {Number}." + } + ] + }, + { + "name": "getRows", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L224", + "visibility": "Public", + "summary": "Returns an array of all rows in the range. ", + "description": "Returns an array of all rows in the range. " + }, + { + "name": "toString", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L228", + "visibility": "Public", + "summary": "Returns a string representation of the range. ", + "description": "Returns a string representation of the range. " + } + ], + "visibility": "Public", + "summary": "Represents a region in a buffer in row/column coordinates.", + "description": "Represents a region in a buffer in row/column coordinates.\n\nEvery public method that takes a range also accepts a *range-compatible*\n{Array}. This means a 2-element array containing {Point}s or point-compatible\narrays. So the following are equivalent:\n\n```coffee\nnew Range(new Point(0, 1), new Point(2, 3))\nnew Range([0, 1], [2, 3])\n[[0, 1], [2, 3]]\n```" + }, + "TextBuffer": { + "name": "TextBuffer", + "filename": "src/text-buffer.coffee", + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L69", + "sections": [], + "classMethods": [], + "instanceMethods": [ + { + "name": "constructor", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L93", + "visibility": "Public", + "summary": "Create a new buffer with the given params.", + "description": "Create a new buffer with the given params.\n\nparams - A {String} of text or an {Object} with the following keys:\n :load - A {Boolean}, `true` to asynchronously load the buffer from disk\n after initialization.\n :text - The initial {String} text of the buffer. " + }, + { + "name": "getText", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L131", + "visibility": "Public", + "summary": "Get the entire text of the buffer.", + "description": "Get the entire text of the buffer.", + "returnValues": [ + { + "type": "String", + "description": "Returns a {String}." + } + ] + }, + { + "name": "getLines", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L143", + "visibility": "Public", + "summary": "Get the text of all lines in the buffer, without their line endings.", + "description": "Get the text of all lines in the buffer, without their line endings.", + "returnValues": [ + { + "type": "Array", + "description": "Returns an {Array} of {String}s." + } + ] + }, + { + "name": "isEmpty", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L149", + "visibility": "Public", + "summary": "Determine whether the buffer is empty.", + "description": "Determine whether the buffer is empty.", + "returnValues": [ + { + "type": "Boolean", + "description": "Returns a {Boolean}." + } + ] + }, + { + "name": "getLineCount", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L155", + "visibility": "Public", + "summary": "Get the number of lines in the buffer.", + "description": "Get the number of lines in the buffer.", + "returnValues": [ + { + "type": "Number", + "description": "Returns a {Number}." + } + ] + }, + { + "name": "getLastRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L161", + "visibility": "Public", + "summary": "Get the last 0-indexed row in the buffer.", + "description": "Get the last 0-indexed row in the buffer.", + "returnValues": [ + { + "type": "Number", + "description": "Returns a {Number}." + } + ] + }, + { + "name": "lineForRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L169", + "visibility": "Public", + "summary": "Get the text of the line at the given row, without its line ending.", + "description": "Get the text of the line at the given row, without its line ending.\n\nrow - A {Number} representing a 0-indexed row.", + "returnValues": [ + { + "type": "String", + "description": "Returns a {String}." + } + ] + }, + { + "name": "getLastLine", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L176", + "visibility": "Public", + "summary": "Get the text of the last line of the buffer, without its line\nending.", + "description": "Get the text of the last line of the buffer, without its line\nending.", + "returnValues": [ + { + "type": "String", + "description": "Returns a {String}." + } + ] + }, + { + "name": "lineEndingForRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L188", + "visibility": "Public", + "summary": "Get the line ending for the given 0-indexed row.", + "description": "Get the line ending for the given 0-indexed row.\n\nrow - A {Number} indicating the row.\n\nThe returned newline is represented as a literal string: `'\\n'`, `'\\r'`,\n`'\\r\\n'`, or `''` for the last line of the buffer, which doesn't end in a\nnewline.", + "returnValues": [ + { + "type": "String", + "description": "Returns a {String}." + } + ] + }, + { + "name": "lineLengthForRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L197", + "visibility": "Public", + "summary": "Get the length of the line for the given 0-indexed row, without its\nline ending.", + "description": "Get the length of the line for the given 0-indexed row, without its\nline ending.\n\nrow - A {Number} indicating the row.", + "returnValues": [ + { + "type": "Number", + "description": "Returns a {Number}." + } + ] + }, + { + "name": "setText", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L205", + "visibility": "Public", + "summary": "Replace the entire contents of the buffer with the given text.", + "description": "Replace the entire contents of the buffer with the given text.\n\ntext - A {String}", + "returnValues": [ + { + "type": "Range", + "description": "Returns a {Range} spanning the new buffer contents." + } + ] + }, + { + "name": "setTextViaDiff", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L212", + "visibility": "Public", + "summary": "Replace the current buffer contents by applying a diff based on the\ngiven text.", + "description": "Replace the current buffer contents by applying a diff based on the\ngiven text.\n\ntext - A {String} containing the new buffer contents. " + }, + { + "name": "setTextInRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L261", + "visibility": "Public", + "summary": "Set the text in the given range.", + "description": "Set the text in the given range.\n\nrange - A {Range}.\ntext - A {String}.", + "returnValues": [ + { + "type": "Range", + "description": "Returns the {Range} of the inserted text." + } + ] + }, + { + "name": "insert", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L274", + "visibility": "Public", + "summary": "Insert text at the given position.", + "description": "Insert text at the given position.\n\nposition - A {Point} representing the insertion location. The position is\n clipped before insertion.\ntext - A {String} representing the text to insert.", + "returnValues": [ + { + "type": "Range", + "description": "Returns the {Range} of the inserted text." + } + ] + }, + { + "name": "append", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L282", + "visibility": "Public", + "summary": "Append text to the end of the buffer.", + "description": "Append text to the end of the buffer.\n\ntext - A {String} representing the text text to append.", + "returnValues": [ + { + "type": "Range", + "description": "Returns the {Range} of the inserted text" + } + ] + }, + { + "name": "deleteRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L298", + "visibility": "Public", + "summary": "Delete the line associated with a specified row.", + "description": "Delete the line associated with a specified row.\n\nrow - A {Number} representing the 0-indexed row to delete.", + "returnValues": [ + { + "type": "Range", + "description": "Returns the {Range} of the deleted text." + } + ] + }, + { + "name": "deleteRows", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L310", + "visibility": "Public", + "summary": "Delete the lines associated with the specified row range.", + "description": "Delete the lines associated with the specified row range.\n\nstartRow - A {Number} representing the first row to delete.\nendRow - A {Number} representing the last row to delete, inclusive.\n\nIf the row range is out of bounds, it will be clipped. If the startRow is\ngreater than the end row, they will be reordered.", + "returnValues": [ + { + "type": "Range", + "description": "Returns the {Range} of the deleted text." + } + ] + }, + { + "name": "getTextInRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L407", + "visibility": "Public", + "summary": "Get the text in a range.", + "description": "Get the text in a range.\n\nrange - A {Range}", + "returnValues": [ + { + "type": "String", + "description": "Returns a {String}" + } + ] + }, + { + "name": "clipRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L437", + "visibility": "Public", + "summary": "Clip the given range so it starts and ends at valid positions.", + "description": "Clip the given range so it starts and ends at valid positions.\n\nFor example, the position [1, 100] is out of bounds if the line at row 1 is\nonly 10 characters long, and it would be clipped to (1, 10).\n\nrange - A {Range} or range-compatible {Array} to clip.", + "returnValues": [ + { + "type": "Range", + "description": "Returns the given {Range} if it is already in bounds, or a new clipped {Range} if the given range is out-of-bounds." + } + ] + }, + { + "name": "clipPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L455", + "visibility": "Public", + "summary": "Clip the given point so it is at a valid position in the buffer.", + "description": "Clip the given point so it is at a valid position in the buffer.\n\nFor example, the position (1, 100) is out of bounds if the line at row 1 is\nonly 10 characters long, and it would be clipped to (1, 10)\n\nposition - A {Point} or point-compatible {Array}.", + "returnValues": [ + { + "type": "Point", + "description": "Returns a new {Point} if the given position is invalid, otherwise returns the given position." + } + ] + }, + { + "name": "getFirstPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L472", + "visibility": "Public", + "summary": "Get the first position in the buffer, which is always `[0, 0]`.", + "description": "Get the first position in the buffer, which is always `[0, 0]`.", + "returnValues": [ + { + "type": "Point", + "description": "Returns a {Point}." + } + ] + }, + { + "name": "getEndPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L479", + "visibility": "Public", + "summary": "Get the maximal position in the buffer, where new text would be\nappended.", + "description": "Get the maximal position in the buffer, where new text would be\nappended.", + "returnValues": [ + { + "type": "Point", + "description": "Returns a {Point}." + } + ] + }, + { + "name": "getRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L486", + "visibility": "Public", + "summary": "Get the range spanning from `[0, 0]` to {::getEndPosition}.", + "description": "Get the range spanning from `[0, 0]` to {::getEndPosition}.", + "returnValues": [ + { + "type": "Range", + "description": "Returns a {Range}." + } + ] + }, + { + "name": "rangeForRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L497", + "visibility": "Public", + "summary": "Get the range for the given row", + "description": "Get the range for the given row\n\nrow - A {Number} representing a 0-indexed row.\nincludeNewline - A {Boolean} indicating whether or not to include the\n newline, which results in a range that extends to the start\n of the next line.", + "returnValues": [ + { + "type": "Range", + "description": "Returns a {Range}." + } + ] + }, + { + "name": "characterIndexForPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L516", + "visibility": "Public", + "summary": "Convert a position in the buffer in row/column coordinates to an\nabsolute character offset, inclusive of line ending characters.", + "description": "Convert a position in the buffer in row/column coordinates to an\nabsolute character offset, inclusive of line ending characters.\n\nThe position is clipped prior to translating.\n\nposition - A {Point}.", + "returnValues": [ + { + "type": "Number", + "description": "Returns a {Number}." + } + ] + }, + { + "name": "positionForCharacterIndex", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L533", + "visibility": "Public", + "summary": "Convert an absolute character offset, inclusive of newlines, to a\nposition in the buffer in row/column coordinates.", + "description": "Convert an absolute character offset, inclusive of newlines, to a\nposition in the buffer in row/column coordinates.\n\nThe offset is clipped prior to translating.\n\noffset - A {Number}.", + "returnValues": [ + { + "type": "Point", + "description": "Returns a {Point}." + } + ] + }, + { + "name": "getMaxCharacterIndex", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L546", + "visibility": "Public", + "summary": "Get the length of the buffer in characters.", + "description": "Get the length of the buffer in characters.", + "returnValues": [ + { + "type": "Number", + "description": "Returns a {Number}." + } + ] + }, + { + "name": "reload", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L630", + "visibility": "Public", + "summary": "Reload the buffer's contents from disk.", + "description": "Reload the buffer's contents from disk.\n\nSets the buffer's content to the cached disk contents " + }, + { + "name": "getUri", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L663", + "visibility": "Public", + "summary": "Get the path of the associated file.", + "description": "Get the path of the associated file.", + "returnValues": [ + { + "type": "String", + "description": "Returns a {String}." + } + ] + }, + { + "name": "setPath", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L669", + "visibility": "Public", + "summary": "Set the path for the buffer's associated file.", + "description": "Set the path for the buffer's associated file.\n\nfilePath - A {String} representing the new file path " + }, + { + "name": "save", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L688", + "visibility": "Public", + "summary": "Save the buffer. ", + "description": "Save the buffer. " + }, + { + "name": "saveAs", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L694", + "visibility": "Public", + "summary": "Save the buffer at a specific path.", + "description": "Save the buffer at a specific path.\n\nfilePath - The path to save at. " + }, + { + "name": "isModified", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L711", + "visibility": "Public", + "summary": "Determine if the in-memory contents of the buffer differ from its\ncontents on disk.", + "description": "Determine if the in-memory contents of the buffer differ from its\ncontents on disk.\n\nIf the buffer is unsaved, always returns `true` unless the buffer is empty.", + "returnValues": [ + { + "type": "Boolean", + "description": "Returns a {Boolean}." + } + ] + }, + { + "name": "isInConflict", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L725", + "visibility": "Public", + "summary": "Determine if the in-memory contents of the buffer conflict with the\non-disk contents of its associated file.", + "description": "Determine if the in-memory contents of the buffer conflict with the\non-disk contents of its associated file.", + "returnValues": [ + { + "type": "Boolean", + "description": "Returns a {Boolean}." + } + ] + }, + { + "name": "scan", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L775", + "visibility": "Public", + "summary": "Scan regular expression matches in the entire buffer, calling the\ngiven iterator function on each match.", + "description": "Scan regular expression matches in the entire buffer, calling the\ngiven iterator function on each match.\n\nIf you're programmatically modifying the results, you may want to try\n{::backwardsScan} to avoid tripping over your own changes.\n\nregex - A {RegExp} to search for.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " + }, + { + "name": "backwardsScan", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L793", + "visibility": "Public", + "summary": "Scan regular expression matches in the entire buffer in reverse\norder, calling the given iterator function on each match.", + "description": "Scan regular expression matches in the entire buffer in reverse\norder, calling the given iterator function on each match.\n\nregex - A {RegExp} to search for.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " + }, + { + "name": "replace", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L805", + "visibility": "Public", + "summary": "Replace all regular expression matches in the entire buffer.", + "description": "Replace all regular expression matches in the entire buffer.\n\nregex - A {RegExp} representing the matches to be replaced.\nreplacementText - A {String} representing the text to replace each match.", + "returnValues": [ + { + "type": "Number", + "description": "Returns a {Number} representing the number of replacements made." + } + ] + }, + { + "name": "scanInRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L831", + "visibility": "Public", + "summary": "Scan regular expression matches in a given range , calling the given\niterator function on each match.", + "description": "Scan regular expression matches in a given range , calling the given\niterator function on each match.\n\nregex - A {RegExp} to search for.\nrange - A {Range} in which to search.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " + }, + { + "name": "backwardsScanInRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L882", + "visibility": "Public", + "summary": "Scan regular expression matches in a given range in reverse order,\ncalling the given iterator function on each match.", + "description": "Scan regular expression matches in a given range in reverse order,\ncalling the given iterator function on each match.\n\nregex - A {RegExp} to search for.\nrange - A {Range} in which to search.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " + }, + { + "name": "isRowBlank", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L890", + "visibility": "Public", + "summary": "Determine if the given row contains only whitespace.", + "description": "Determine if the given row contains only whitespace.\n\nrow - A {Number} representing a 0-indexed row.", + "returnValues": [ + { + "type": "Boolean", + "description": "Returns a {Boolean}." + } + ] + }, + { + "name": "previousNonBlankRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L898", + "visibility": "Public", + "summary": "Given a row, find the first preceding row that's not blank.", + "description": "Given a row, find the first preceding row that's not blank.\n\nstartRow - A {Number} identifying the row to start checking at.", + "returnValues": [ + { + "type": "Number", + "description": "Returns a {Number} or `null` if there's no preceding non-blank row." + } + ] + }, + { + "name": "nextNonBlankRow", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L911", + "visibility": "Public", + "summary": "Given a row, find the next row that's not blank.", + "description": "Given a row, find the next row that's not blank.\n\nstartRow - A {Number} identifying the row to start checking at.", + "returnValues": [ + { + "type": "Number", + "description": "Returns a {Number} or `null` if there's no next non-blank row." + } + ] + }, + { + "name": "undo", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L957", + "visibility": "Public", + "summary": "Undo the last operation. If a transaction is in progress, aborts it. ", + "description": "Undo the last operation. If a transaction is in progress, aborts it. " + }, + { + "name": "redo", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L960", + "visibility": "Public", + "summary": "Redo the last operation ", + "description": "Redo the last operation " + }, + { + "name": "transact", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L970", + "visibility": "Public", + "summary": "Batch multiple operations as a single undo/redo step.", + "description": "Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " + }, + { + "name": "beginTransaction", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L978", + "visibility": "Public", + "summary": "Start an open-ended transaction.", + "description": "Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " + }, + { + "name": "commitTransaction", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L984", + "visibility": "Public", + "summary": "Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.", + "description": "Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " + }, + { + "name": "abortTransaction", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L988", + "visibility": "Public", + "summary": "Abort an open transaction, undoing any operations performed so far\nwithin the transaction. ", + "description": "Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " + }, + { + "name": "clearUndoStack", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L991", + "visibility": "Public", + "summary": "Clear the undo stack. ", + "description": "Clear the undo stack. " + }, + { + "name": "markRange", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L1030", + "visibility": "Public", + "summary": "Create a marker with the given range. This marker will maintain\nits logical location as the buffer is changed, so if you mark a particular\nword, the marker will remain over that word even if the word's location in\nthe buffer changes.", + "description": "Create a marker with the given range. This marker will maintain\nits logical location as the buffer is changed, so if you mark a particular\nword, the marker will remain over that word even if the word's location in\nthe buffer changes.\n\n* range: A {Range} or range-compatible {Array}\n* properties:\n A hash of key-value pairs to associate with the marker. There are also\n reserved property names that have marker-specific meaning:\n ```\n :reversed -\n Creates the marker in a reversed orientation. Defaults to false.\n :persistent -\n Whether to include this marker when serializing the buffer. Defaults\n to true.\n :invalidate -\n Determines the rules by which changes to the buffer *invalidate* the\n marker. Defaults to 'overlap', but can be any of the following\n strategies, in order of fragility:\n * 'never':\n The marker is never marked as invalid. This is a good choice for\n markers representing selections in an editor.\n * 'surround':\n The marker is invalidated by changes that completely surround it.\n * 'overlap':\n The marker is invalidated by changes that surround the start or\n end of the marker. This is the default.\n * 'inside':\n The marker is invalidated by changes that extend into the\n inside of the marker. Changes that end at the marker's start or\n start at the marker's end do not invalidate the marker.\n * 'touch':\n The marker is invalidated by a change that touches the marked\n region in any way, including changes that end at the marker's\n start or start at the marker's end. This is the most fragile\n strategy.\n ```", + "returnValues": [ + { + "type": "Marker", + "description": "Returns a {Marker}." + } + ] + }, + { + "name": "markPosition", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L1038", + "visibility": "Public", + "summary": "Create a marker at the given position with no tail.", + "description": "Create a marker at the given position with no tail.\n\n:position - {Point} or point-compatible {Array}\n:properties - This is the same as the `properties` parameter in {::markRange}", + "returnValues": [ + { + "type": "Marker", + "description": "Returns a {Marker}." + } + ] + }, + { + "name": "getMarker", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L1043", + "visibility": "Public", + "summary": "Get an existing marker by its id.", + "description": "Get an existing marker by its id.", + "returnValues": [ + { + "type": "Marker", + "description": "Returns a {Marker}." + } + ] + }, + { + "name": "getMarkers", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L1048", + "visibility": "Public", + "summary": "Get all existing markers on the buffer.", + "description": "Get all existing markers on the buffer.", + "returnValues": [ + { + "type": "Array", + "description": "Returns an {Array} of {Marker}s." + } + ] + }, + { + "name": "findMarkers", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L1070", + "visibility": "Public", + "summary": "Find markers conforming to the given parameters.", + "description": "Find markers conforming to the given parameters.\n\n:params -\n A hash of key-value pairs constraining the set of returned markers. You\n can query against custom marker properties by listing the desired\n key-value pairs here. In addition, the following keys are reserved and\n have special semantics:\n\n* 'startPosition': Only include markers that start at the given {Point}.\n* 'endPosition': Only include markers that end at the given {Point}.\n* 'containsPoint': Only include markers that contain the given {Point}, inclusive.\n* 'containsRange': Only include markers that contain the given {Range}, inclusive.\n* 'startRow': Only include markers that start at the given row {Number}.\n* 'endRow': Only include markers that end at the given row {Number}.\n* 'intersectsRow': Only include markers that intersect the given row {Number}.\n\nFinds markers that conform to all of the given parameters. Markers are\nsorted based on their position in the buffer. If two markers start at the\nsame position, the larger marker comes first.", + "returnValues": [ + { + "type": "Array", + "description": "Returns an {Array} of {Marker}s." + } + ] + }, + { + "name": "getMarkerCount", + "sectionName": null, + "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L1075", + "visibility": "Public", + "summary": "Get the number of markers in the buffer.", + "description": "Get the number of markers in the buffer.", + "returnValues": [ + { + "type": "Number", + "description": "Returns a {Number}." + } + ] + } + ], + "visibility": "Public", + "summary": "A mutable text container with undo/redo support and the ability to\nannotate logical regions in the text.", + "description": "A mutable text container with undo/redo support and the ability to\nannotate logical regions in the text.", + "events": { + "description": "", + "list": [ + { + "children": [ + { + "name": "oldRange", + "description": "The {Range} of the old text", + "type": "Range" + }, + { + "name": "newRange", + "description": "The {Range} of the new text", + "type": "Range" + }, + { + "name": "oldText", + "description": "A {String} containing the text that was replaced", + "type": "String" + }, + { + "name": "newText", + "description": "A {String} containing the text that was inserted", + "type": "String" + } + ], + "name": "changed", + "description": "Emitted synchronously whenever the buffer changes. Binding a slow handler to this event has the potential to destroy typing performance. Consider using `contents-modified` instead and aim for extremely fast performance (< 2 ms) if you must bind to it. Your handler will be called with an object containing the following keys.", + "type": null + }, + { + "children": [ + { + "name": null, + "description": "The text of the buffer is changed", + "type": null + }, + { + "name": null, + "description": "All markers are updated accordingly, but their `changed` events are not emited", + "type": null + }, + { + "name": null, + "description": "The `changed` event is emitted", + "type": null + }, + { + "name": null, + "description": "The `changed` events of all updated markers are emitted", + "type": null + }, + { + "name": null, + "description": "The `markers-updated` event is emitted.", + "type": null + } + ], + "name": "markers-updated", + "description": "Emitted synchronously when the `changed` events of all markers have been fired for a change. The order of events is as follows:", + "type": null + }, + { + "name": "contents-modified", + "description": "Emitted asynchronously 300ms (or `TextBuffer::stoppedChangingDelay`) after the last buffer change. This is a good place to handle changes to the buffer without compromising typing performance.", + "type": null + }, + { + "name": "modified-status-changed", + "description": "Emitted with a {Boolean} when the result of {::isModified} changes.", + "type": "Boolean" + }, + { + "name": "contents-conflicted", + "description": "Emitted when the buffer's underlying file changes on disk at a moment when the result of {::isModified} is true.", + "type": null + }, + { + "name": "will-reload", + "description": "Emitted before the in-memory contents of the buffer are refreshed from the contents of the file on disk.", + "type": null + }, + { + "name": "reloaded", + "description": "Emitted after the in-memory contents of the buffer are refreshed from the contents of the file on disk.", + "type": null + }, + { + "name": "will-be-saved", + "description": "Emitted before the buffer is saved to disk.", + "type": null + }, + { + "name": "saved", + "description": "Emitted after the buffer is saved to disk.", + "type": null + }, + { + "name": "destroyed", + "description": "Emitted when the buffer is destroyed. ", + "type": null + } + ] + } + } + } +} \ No newline at end of file diff --git a/docs/api/metadata.json b/docs/api/metadata.json new file mode 100644 index 000000000..1bead53c0 --- /dev/null +++ b/docs/api/metadata.json @@ -0,0 +1,410719 @@ +[ + { + "repository": "https://github.com/atom/atom.git", + "version": "0.121.0", + "files": { + "src/atom.coffee": { + "objects": { + "0": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 0, + 9 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "1": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "2": { + "5": { + "name": "os", + "type": "import", + "range": [ + [ + 2, + 5 + ], + [ + 2, + 16 + ] + ], + "bindingType": "variable", + "module": "os", + "builtin": true + } + }, + "3": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "4": { + "9": { + "name": "remote", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 24 + ] + ], + "bindingType": "variable", + "module": "remote" + } + }, + "5": { + "9": { + "name": "screen", + "type": "import", + "range": [ + [ + 5, + 9 + ], + [ + 5, + 24 + ] + ], + "bindingType": "variable", + "module": "screen" + } + }, + "6": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 6, + 8 + ], + [ + 6, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "8": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 8, + 4 + ], + [ + 8, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "9": { + "1": { + "type": "import", + "range": [ + [ + 9, + 1 + ], + [ + 9, + 10 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecated", + "exportsProperty": "deprecated" + } + }, + "10": { + "1": { + "type": "import", + "range": [ + [ + 10, + 1 + ], + [ + 10, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Model", + "exportsProperty": "Model" + } + }, + "11": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 11, + 5 + ], + [ + 11, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "13": { + "1": { + "type": "import", + "range": [ + [ + 13, + 1 + ], + [ + 13, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "14": { + "21": { + "name": "WindowEventHandler", + "type": "import", + "range": [ + [ + 14, + 21 + ], + [ + 14, + 52 + ] + ], + "bindingType": "variable", + "path": "./window-event-handler" + } + }, + "35": { + "0": { + "type": "class", + "name": "Atom", + "bindingType": "exports", + "classProperties": [ + [ + 36, + 12 + ], + [ + 44, + 17 + ], + [ + 48, + 16 + ], + [ + 53, + 14 + ], + [ + 71, + 17 + ], + [ + 89, + 21 + ], + [ + 95, + 22 + ], + [ + 99, + 20 + ], + [ + 109, + 21 + ] + ], + "prototypeProperties": [ + [ + 112, + 31 + ], + [ + 115, + 15 + ], + [ + 123, + 14 + ], + [ + 177, + 31 + ], + [ + 181, + 33 + ], + [ + 184, + 24 + ], + [ + 188, + 20 + ], + [ + 194, + 23 + ], + [ + 211, + 23 + ], + [ + 221, + 21 + ], + [ + 224, + 32 + ], + [ + 229, + 30 + ], + [ + 246, + 27 + ], + [ + 252, + 25 + ], + [ + 259, + 19 + ], + [ + 262, + 22 + ], + [ + 269, + 28 + ], + [ + 281, + 28 + ], + [ + 285, + 27 + ], + [ + 292, + 21 + ], + [ + 320, + 22 + ], + [ + 336, + 14 + ], + [ + 339, + 15 + ], + [ + 353, + 8 + ], + [ + 377, + 11 + ], + [ + 397, + 18 + ], + [ + 400, + 22 + ], + [ + 407, + 16 + ], + [ + 411, + 18 + ], + [ + 415, + 31 + ], + [ + 419, + 10 + ], + [ + 423, + 9 + ], + [ + 428, + 8 + ], + [ + 432, + 8 + ], + [ + 439, + 11 + ], + [ + 446, + 15 + ], + [ + 450, + 10 + ], + [ + 457, + 17 + ], + [ + 464, + 9 + ], + [ + 467, + 8 + ], + [ + 473, + 13 + ], + [ + 477, + 14 + ], + [ + 481, + 20 + ], + [ + 485, + 17 + ], + [ + 490, + 16 + ], + [ + 496, + 14 + ], + [ + 500, + 21 + ], + [ + 506, + 20 + ], + [ + 509, + 12 + ], + [ + 523, + 21 + ], + [ + 526, + 20 + ], + [ + 529, + 22 + ], + [ + 533, + 8 + ], + [ + 537, + 25 + ], + [ + 541, + 25 + ], + [ + 555, + 22 + ] + ], + "doc": " Public: Atom global for dealing with packages, themes, menus, and the window.\n\nAn instance of this class is always available as the `atom` global.\n\n## Useful properties available:\n\n * `atom.clipboard` - A {Clipboard} instance\n * `atom.config` - A {Config} instance\n * `atom.contextMenu` - A {ContextMenuManager} instance\n * `atom.deserializers` - A {DeserializerManager} instance\n * `atom.keymaps` - A {KeymapManager} instance\n * `atom.menu` - A {MenuManager} instance\n * `atom.packages` - A {PackageManager} instance\n * `atom.project` - A {Project} instance\n * `atom.syntax` - A {Syntax} instance\n * `atom.themes` - A {ThemeManager} instance\n * `atom.workspace` - A {Workspace} instance\n * `atom.workspaceView` - A {WorkspaceView} instance ", + "range": [ + [ + 35, + 0 + ], + [ + 567, + 27 + ] + ] + } + }, + "36": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 36, + 12 + ], + [ + 36, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "44": { + "17": { + "name": "loadOrCreate", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 44, + 17 + ], + [ + 48, + 1 + ] + ], + "doc": " Public: Load or create the Atom environment in the given mode.\n\nmode - Pass 'editor' or 'spec' depending on the kind of environment you\n want to build.\n\nReturns an Atom instance, fully initialized " + } + }, + "48": { + "16": { + "name": "deserialize", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 48, + 16 + ], + [ + 53, + 1 + ] + ], + "doc": "Private: Deserializes the Atom environment from a state object " + } + }, + "53": { + "14": { + "name": "loadState", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 53, + 14 + ], + [ + 71, + 1 + ] + ], + "doc": " Private: Loads and returns the serialized state corresponding to this window\nif it exists; otherwise returns undefined. " + } + }, + "71": { + "17": { + "name": "getStatePath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 71, + 17 + ], + [ + 89, + 1 + ] + ], + "doc": " Private: Returns the path where the state for the current window will be\nlocated if it exists. " + } + }, + "89": { + "21": { + "name": "getConfigDirPath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 95, + 1 + ] + ], + "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " + } + }, + "95": { + "22": { + "name": "getStorageDirPath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 95, + 22 + ], + [ + 99, + 1 + ] + ], + "doc": " Private: Get the path to Atom's storage directory.\n\nReturns the absolute path to ~/.atom/storage " + } + }, + "99": { + "20": { + "name": "getLoadSettings", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 99, + 20 + ], + [ + 109, + 1 + ] + ], + "doc": "Private: Returns the load settings hash associated with the current window. " + } + }, + "109": { + "21": { + "name": "getCurrentWindow", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 21 + ], + [ + 112, + 1 + ] + ], + "doc": "~Private~" + } + }, + "112": { + "31": { + "name": "workspaceViewParentSelector", + "type": "primitive", + "range": [ + [ + 112, + 31 + ], + [ + 112, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "115": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 115, + 15 + ], + [ + 123, + 1 + ] + ], + "doc": "Private: Call .loadOrCreate instead " + } + }, + "123": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 123, + 14 + ], + [ + 177, + 1 + ] + ], + "doc": " Public: Sets up the basic services that should be available in all modes\n(both spec and application). Call after this instance has been assigned to\nthe `atom` global. " + } + }, + "177": { + "31": { + "name": "registerRepresentationClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 31 + ], + [ + 181, + 1 + ] + ], + "doc": "Deprecated: Callers should be converted to use atom.deserializers " + } + }, + "181": { + "33": { + "name": "registerRepresentationClasses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 181, + 33 + ], + [ + 184, + 1 + ] + ], + "doc": "Deprecated: Callers should be converted to use atom.deserializers " + } + }, + "184": { + "24": { + "name": "setBodyPlatformClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 184, + 24 + ], + [ + 188, + 1 + ] + ], + "doc": "~Private~" + } + }, + "188": { + "20": { + "name": "getCurrentWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 20 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "23": { + "name": "getWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 194, + 23 + ], + [ + 211, + 1 + ] + ], + "doc": " Public: Get the dimensions of this window.\n\nReturns an object with x, y, width, and height keys. " + } + }, + "211": { + "23": { + "name": "setWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 211, + 23 + ], + [ + 221, + 1 + ] + ], + "doc": " Public: Set the dimensions of the window.\n\nThe window will be centered if either the x or y coordinate is not set\nin the dimensions parameter. If x or y are omitted the window will be\ncentered. If height or width are omitted only the position will be changed.\n\ndimensions - An {Object} with the following keys:\n :x - The new x coordinate.\n :y - The new y coordinate.\n :width - The new width.\n :height - The new height. " + } + }, + "221": { + "21": { + "name": "isValidDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 221, + 21 + ], + [ + 224, + 1 + ] + ], + "doc": " Private: Returns true if the dimensions are useable, false if they should be ignored.\nWork around for https://github.com/atom/atom-shell/issues/473 " + } + }, + "224": { + "32": { + "name": "storeDefaultWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 32 + ], + [ + 229, + 1 + ] + ], + "doc": "~Private~" + } + }, + "229": { + "30": { + "name": "getDefaultWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 229, + 30 + ], + [ + 246, + 1 + ] + ], + "doc": "~Private~" + } + }, + "246": { + "27": { + "name": "restoreWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 246, + 27 + ], + [ + 252, + 1 + ] + ], + "doc": "~Private~" + } + }, + "252": { + "25": { + "name": "storeWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 252, + 25 + ], + [ + 259, + 1 + ] + ], + "doc": "~Private~" + } + }, + "259": { + "19": { + "name": "getLoadSettings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 259, + 19 + ], + [ + 262, + 1 + ] + ], + "doc": "Private: Returns the load settings hash associated with the current window. " + } + }, + "262": { + "22": { + "name": "deserializeProject", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 262, + 22 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "28": { + "name": "deserializeWorkspaceView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 28 + ], + [ + 281, + 1 + ] + ], + "doc": "~Private~" + } + }, + "281": { + "28": { + "name": "deserializePackageStates", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 281, + 28 + ], + [ + 285, + 1 + ] + ], + "doc": "~Private~" + } + }, + "285": { + "27": { + "name": "deserializeEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 285, + 27 + ], + [ + 292, + 1 + ] + ], + "doc": "~Private~" + } + }, + "292": { + "21": { + "name": "startEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 21 + ], + [ + 320, + 1 + ] + ], + "doc": "Private: Call this method when establishing a real application window. " + } + }, + "320": { + "22": { + "name": "unloadEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 320, + 22 + ], + [ + 336, + 1 + ] + ], + "doc": "~Private~" + } + }, + "336": { + "14": { + "name": "loadThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 336, + 14 + ], + [ + 339, + 1 + ] + ], + "doc": "~Private~" + } + }, + "339": { + "15": { + "name": "watchThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 339, + 15 + ], + [ + 353, + 1 + ] + ], + "doc": "~Private~" + } + }, + "353": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 353, + 8 + ], + [ + 377, + 1 + ] + ], + "doc": " Public: Open a new Atom window using the given options.\n\nCalling this method without an options parameter will open a prompt to pick\na file/folder to open in the new window.\n\noptions - An {Object} with the following keys:\n :pathsToOpen - An {Array} of {String} paths to open. " + } + }, + "377": { + "11": { + "name": "confirm", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 377, + 11 + ], + [ + 397, + 1 + ] + ], + "doc": " Public: Open a confirm dialog.\n\n## Example\n\n```coffee\n atom.confirm\n message: 'How you feeling?'\n detailedMessage: 'Be honest.'\n buttons:\n Good: -> window.alert('good to hear')\n Bad: -> window.alert('bummer')\n```\n\noptions - An {Object} with the following keys:\n :message - The {String} message to display.\n :detailedMessage - The {String} detailed message to display.\n :buttons - Either an array of strings or an object where keys are\n button names and the values are callbacks to invoke when\n clicked.\n\nReturns the chosen button index {Number} if the buttons option was an array. " + } + }, + "397": { + "18": { + "name": "showSaveDialog", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 397, + 18 + ], + [ + 400, + 1 + ] + ], + "doc": "~Private~" + } + }, + "400": { + "22": { + "name": "showSaveDialogSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultPath" + ], + "range": [ + [ + 400, + 22 + ], + [ + 407, + 1 + ] + ], + "doc": "~Private~" + } + }, + "407": { + "16": { + "name": "openDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 407, + 16 + ], + [ + 411, + 1 + ] + ], + "doc": "Public: Open the dev tools for the current window. " + } + }, + "411": { + "18": { + "name": "toggleDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 411, + 18 + ], + [ + 415, + 1 + ] + ], + "doc": "Public: Toggle the visibility of the dev tools for the current window. " + } + }, + "415": { + "31": { + "name": "executeJavaScriptInDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "code" + ], + "range": [ + [ + 415, + 31 + ], + [ + 419, + 1 + ] + ], + "doc": "Public: Execute code in dev tools. " + } + }, + "419": { + "10": { + "name": "reload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 419, + 10 + ], + [ + 423, + 1 + ] + ], + "doc": "Public: Reload the current window. " + } + }, + "423": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 423, + 9 + ], + [ + 428, + 1 + ] + ], + "doc": "Public: Focus the current window. " + } + }, + "428": { + "8": { + "name": "show", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 8 + ], + [ + 432, + 1 + ] + ], + "doc": "Public: Show the current window. " + } + }, + "432": { + "8": { + "name": "hide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 432, + 8 + ], + [ + 439, + 1 + ] + ], + "doc": "Public: Hide the current window. " + } + }, + "439": { + "11": { + "name": "setSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width", + "height" + ], + "range": [ + [ + 439, + 11 + ], + [ + 446, + 1 + ] + ], + "doc": " Public: Set the size of current window.\n\nwidth - The {Number} of pixels.\nheight - The {Number} of pixels. " + } + }, + "446": { + "15": { + "name": "setPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "x", + "y" + ], + "range": [ + [ + 446, + 15 + ], + [ + 450, + 1 + ] + ], + "doc": " Public: Set the position of current window.\n\nx - The {Number} of pixels.\ny - The {Number} of pixels. " + } + }, + "450": { + "10": { + "name": "center", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 450, + 10 + ], + [ + 457, + 1 + ] + ], + "doc": "Public: Move current window to the center of the screen. " + } + }, + "457": { + "17": { + "name": "displayWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 457, + 17 + ], + [ + 464, + 1 + ] + ], + "doc": " Private: Schedule the window to be shown and focused on the next tick.\n\nThis is done in a next tick to prevent a white flicker from occurring\nif called synchronously. " + } + }, + "464": { + "9": { + "name": "close", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 464, + 9 + ], + [ + 467, + 1 + ] + ], + "doc": "Public: Close the current window. " + } + }, + "467": { + "8": { + "name": "exit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 467, + 8 + ], + [ + 473, + 1 + ] + ], + "doc": "~Private~" + } + }, + "473": { + "13": { + "name": "inDevMode", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 473, + 13 + ], + [ + 477, + 1 + ] + ], + "doc": "Public: Is the current window in development mode? " + } + }, + "477": { + "14": { + "name": "inSpecMode", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 477, + 14 + ], + [ + 481, + 1 + ] + ], + "doc": "Public: Is the current window running specs? " + } + }, + "481": { + "20": { + "name": "toggleFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 481, + 20 + ], + [ + 485, + 1 + ] + ], + "doc": "Public: Toggle the full screen state of the current window. " + } + }, + "485": { + "17": { + "name": "setFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fullScreen" + ], + "range": [ + [ + 485, + 17 + ], + [ + 490, + 1 + ] + ], + "doc": "Public: Set the full screen state of the current window. " + } + }, + "490": { + "16": { + "name": "isFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 490, + 16 + ], + [ + 496, + 1 + ] + ], + "doc": "Public: Is the current window in full screen mode? " + } + }, + "496": { + "14": { + "name": "getVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 496, + 14 + ], + [ + 500, + 1 + ] + ], + "doc": " Public: Get the version of the Atom application.\n\nReturns the version text {String}. " + } + }, + "500": { + "21": { + "name": "isReleasedVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 500, + 21 + ], + [ + 506, + 1 + ] + ], + "doc": "Public: Determine whether the current version is an official release. " + } + }, + "506": { + "20": { + "name": "getConfigDirPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 506, + 20 + ], + [ + 509, + 1 + ] + ], + "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " + } + }, + "509": { + "12": { + "name": "saveSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 509, + 12 + ], + [ + 523, + 1 + ] + ], + "doc": "~Private~" + } + }, + "523": { + "21": { + "name": "getWindowLoadTime", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 523, + 21 + ], + [ + 526, + 1 + ] + ], + "doc": " Public: Get the time taken to completely load the current window.\n\nThis time include things like loading and activating packages, creating\nDOM elements for the editor, and reading the config.\n\nReturns the number of milliseconds taken to load the window or null\nif the window hasn't finished loading yet. " + } + }, + "526": { + "20": { + "name": "crashMainProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 526, + 20 + ], + [ + 529, + 1 + ] + ], + "doc": "~Private~" + } + }, + "529": { + "22": { + "name": "crashRenderProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 529, + 22 + ], + [ + 533, + 1 + ] + ], + "doc": "~Private~" + } + }, + "533": { + "8": { + "name": "beep", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 533, + 8 + ], + [ + 537, + 1 + ] + ], + "doc": "Public: Visually and audibly trigger a beep. " + } + }, + "537": { + "25": { + "name": "getUserInitScriptPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 537, + 25 + ], + [ + 541, + 1 + ] + ], + "doc": "~Private~" + } + }, + "541": { + "25": { + "name": "requireUserInitScript", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 541, + 25 + ], + [ + 555, + 1 + ] + ] + } + }, + "555": { + "22": { + "name": "requireWithGlobals", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id", + "globals" + ], + "range": [ + [ + 555, + 22 + ], + [ + 567, + 27 + ] + ], + "doc": " Public: Require the module with the given globals.\n\nThe globals will be set on the `window` object and removed after the\nrequire completes.\n\nid - The {String} module name or path.\nglobals - An {Object} to set as globals during require (default: {}) " + } + } + }, + "exports": 35 + }, + "src/browser/application-menu.coffee": { + "objects": { + "0": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "1": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "2": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "10": { + "0": { + "type": "class", + "name": "ApplicationMenu", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 22, + 10 + ], + [ + 35, + 20 + ], + [ + 47, + 23 + ], + [ + 58, + 29 + ], + [ + 63, + 21 + ], + [ + 68, + 22 + ], + [ + 90, + 22 + ], + [ + 102, + 17 + ], + [ + 113, + 21 + ], + [ + 131, + 25 + ] + ], + "doc": " Private: Used to manage the global application menu.\n\nIt's created by {AtomApplication} upon instantiation and used to add, remove\nand maintain the state of all menu items. ", + "range": [ + [ + 10, + 0 + ], + [ + 145, + 18 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 22, + 1 + ] + ] + } + }, + "22": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 22, + 10 + ], + [ + 35, + 1 + ] + ], + "doc": " Public: Updates the entire menu with the given keybindings.\n\ntemplate - The Object which describes the menu to display.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke. " + } + }, + "35": { + "20": { + "name": "flattenMenuItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "menu" + ], + "range": [ + [ + 35, + 20 + ], + [ + 47, + 1 + ] + ], + "doc": " Private: Flattens the given menu and submenu items into an single Array.\n\nmenu - A complete menu configuration object for atom-shell's menu API.\n\nReturns an Array of native menu items. " + } + }, + "47": { + "23": { + "name": "flattenMenuTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 47, + 23 + ], + [ + 58, + 1 + ] + ], + "doc": " Private: Flattens the given menu template into an single Array.\n\ntemplate - An object describing the menu item.\n\nReturns an Array of native menu items. " + } + }, + "58": { + "29": { + "name": "enableWindowSpecificItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "enable" + ], + "range": [ + [ + 58, + 29 + ], + [ + 63, + 1 + ] + ], + "doc": " Public: Used to make all window related menu items are active.\n\nenable - If true enables all window specific items, if false disables all\n window specific items. " + } + }, + "63": { + "21": { + "name": "substituteVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 63, + 21 + ], + [ + 68, + 1 + ] + ], + "doc": "Private: Replaces VERSION with the current version. " + } + }, + "68": { + "22": { + "name": "showUpdateMenuItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 68, + 22 + ], + [ + 90, + 1 + ] + ], + "doc": "Private: Sets the proper visible state the update menu items " + } + }, + "90": { + "22": { + "name": "getDefaultTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 22 + ], + [ + 102, + 1 + ] + ], + "doc": " Private: Default list of menu items.\n\nReturns an Array of menu item Objects. " + } + }, + "102": { + "17": { + "name": "focusedWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 17 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "21": { + "name": "translateTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 113, + 21 + ], + [ + 131, + 1 + ] + ], + "doc": " Private: Combines a menu template with the appropriate keystroke.\n\ntemplate - An Object conforming to atom-shell's menu api but lacking\n accelerator and click properties.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a complete menu configuration object for atom-shell's menu API. " + } + }, + "131": { + "25": { + "name": "acceleratorForCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "keystrokesByCommand" + ], + "range": [ + [ + 131, + 25 + ], + [ + 145, + 18 + ] + ], + "doc": " Private: Determine the accelerator for a given command.\n\ncommand - The name of the command.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a String containing the keystroke in a format that can be interpreted\n by atom shell to provide nice icons where available. " + } + } + }, + "exports": 10 + }, + "src/browser/atom-application.coffee": { + "objects": { + "0": { + "13": { + "name": "AtomWindow", + "type": "import", + "range": [ + [ + 0, + 13 + ], + [ + 0, + 35 + ] + ], + "bindingType": "variable", + "path": "./atom-window" + } + }, + "1": { + "18": { + "name": "ApplicationMenu", + "type": "import", + "range": [ + [ + 1, + 18 + ], + [ + 1, + 45 + ] + ], + "bindingType": "variable", + "path": "./application-menu" + } + }, + "2": { + "22": { + "name": "AtomProtocolHandler", + "type": "import", + "range": [ + [ + 2, + 22 + ], + [ + 2, + 54 + ] + ], + "bindingType": "variable", + "path": "./atom-protocol-handler" + } + }, + "3": { + "20": { + "name": "AutoUpdateManager", + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 50 + ] + ], + "bindingType": "variable", + "path": "./auto-update-manager" + } + }, + "4": { + "16": { + "name": "BrowserWindow", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 39 + ] + ], + "bindingType": "variable", + "module": "browser-window" + } + }, + "5": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "6": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 6, + 6 + ], + [ + 6, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "7": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "8": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 8, + 5 + ], + [ + 8, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "9": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 9, + 6 + ], + [ + 9, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "10": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 10, + 7 + ], + [ + 10, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "11": { + "5": { + "name": "os", + "type": "import", + "range": [ + [ + 11, + 5 + ], + [ + 11, + 16 + ] + ], + "bindingType": "variable", + "module": "os", + "builtin": true + } + }, + "12": { + "6": { + "name": "net", + "type": "import", + "range": [ + [ + 12, + 6 + ], + [ + 12, + 18 + ] + ], + "bindingType": "variable", + "module": "net", + "builtin": true + } + }, + "13": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 13, + 8 + ], + [ + 13, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "14": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 14, + 6 + ], + [ + 14, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "15": { + "1": { + "type": "import", + "range": [ + [ + 15, + 1 + ], + [ + 15, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "16": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 16, + 4 + ], + [ + 16, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "30": { + "0": { + "type": "class", + "name": "AtomApplication", + "bindingType": "exports", + "classProperties": [ + [ + 34, + 9 + ] + ], + "prototypeProperties": [ + [ + 52, + 11 + ], + [ + 53, + 19 + ], + [ + 54, + 23 + ], + [ + 55, + 16 + ], + [ + 56, + 11 + ], + [ + 58, + 8 + ], + [ + 60, + 15 + ], + [ + 83, + 19 + ], + [ + 94, + 16 + ], + [ + 99, + 13 + ], + [ + 110, + 36 + ], + [ + 119, + 20 + ], + [ + 132, + 28 + ], + [ + 136, + 16 + ], + [ + 232, + 15 + ], + [ + 245, + 23 + ], + [ + 254, + 31 + ], + [ + 274, + 19 + ], + [ + 282, + 17 + ], + [ + 287, + 17 + ], + [ + 298, + 13 + ], + [ + 311, + 12 + ], + [ + 337, + 20 + ], + [ + 341, + 24 + ], + [ + 346, + 15 + ], + [ + 364, + 11 + ], + [ + 393, + 12 + ], + [ + 406, + 17 + ], + [ + 415, + 25 + ], + [ + 440, + 17 + ] + ], + "doc": " Private: The application's singleton class.\n\nIt's the entry point into the Atom application and maintains the global state\nof the application.\n\n ", + "range": [ + [ + 30, + 0 + ], + [ + 449, + 50 + ] + ] + } + }, + "34": { + "9": { + "name": "open", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 34, + 9 + ], + [ + 52, + 1 + ] + ], + "doc": "Public: The entry point into the Atom application. " + } + }, + "52": { + "11": { + "name": "windows", + "type": "primitive", + "range": [ + [ + 52, + 11 + ], + [ + 52, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "53": { + "19": { + "name": "applicationMenu", + "type": "primitive", + "range": [ + [ + 53, + 19 + ], + [ + 53, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "54": { + "23": { + "name": "atomProtocolHandler", + "type": "primitive", + "range": [ + [ + 54, + 23 + ], + [ + 54, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "55": { + "16": { + "name": "resourcePath", + "type": "primitive", + "range": [ + [ + 55, + 16 + ], + [ + 55, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "56": { + "11": { + "name": "version", + "type": "primitive", + "range": [ + [ + 56, + 11 + ], + [ + 56, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "58": { + "8": { + "name": "exit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 58, + 8 + ], + [ + 58, + 35 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 60, + 15 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "19": { + "name": "openWithOptions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 83, + 19 + ], + [ + 94, + 1 + ] + ], + "doc": "Private: Opens a new window based on the options provided. " + } + }, + "94": { + "16": { + "name": "removeWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "window" + ], + "range": [ + [ + 94, + 16 + ], + [ + 99, + 1 + ] + ], + "doc": "Public: Removes the {AtomWindow} from the global window list. " + } + }, + "99": { + "13": { + "name": "addWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "window" + ], + "range": [ + [ + 99, + 13 + ], + [ + 110, + 1 + ] + ], + "doc": "Public: Adds the {AtomWindow} to the global window list. " + } + }, + "110": { + "36": { + "name": "listenForArgumentsFromNewProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 36 + ], + [ + 119, + 1 + ] + ], + "doc": " Private: Creates server to listen for additional atom application launches.\n\nYou can run the atom command multiple times, but after the first launch\nthe other launches will just pass their information to this server and then\nclose immediately. " + } + }, + "119": { + "20": { + "name": "deleteSocketFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 119, + 20 + ], + [ + 132, + 1 + ] + ], + "doc": "~Private~" + } + }, + "132": { + "28": { + "name": "setupJavaScriptArguments", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 132, + 28 + ], + [ + 136, + 1 + ] + ], + "doc": "Private: Configures required javascript environment flags. " + } + }, + "136": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 16 + ], + [ + 232, + 1 + ] + ], + "doc": "Private: Registers basic application commands, non-idempotent. " + } + }, + "232": { + "15": { + "name": "sendCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 232, + 15 + ], + [ + 245, + 1 + ] + ], + "doc": " Public: Executes the given command.\n\nIf it isn't handled globally, delegate to the currently focused window.\n\ncommand - The string representing the command.\nargs - The optional arguments to pass along. " + } + }, + "245": { + "23": { + "name": "sendCommandToWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "atomWindow", + "args" + ], + "range": [ + [ + 245, + 23 + ], + [ + 254, + 1 + ] + ], + "doc": " Public: Executes the given command on the given window.\n\ncommand - The string representing the command.\natomWindow - The {AtomWindow} to send the command to.\nargs - The optional arguments to pass along. " + } + }, + "254": { + "31": { + "name": "sendCommandToFirstResponder", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command" + ], + "range": [ + [ + 254, + 31 + ], + [ + 274, + 1 + ] + ], + "doc": " Private: Translates the command into OS X action and sends it to application's first\nresponder. " + } + }, + "274": { + "19": { + "name": "openPathOnEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventName", + "pathToOpen" + ], + "range": [ + [ + 274, + 19 + ], + [ + 282, + 1 + ] + ], + "doc": " Public: Open the given path in the focused window when the event is\ntriggered.\n\nA new window will be created if there is no currently focused window.\n\neventName - The event to listen for.\npathToOpen - The path to open when the event is triggered. " + } + }, + "282": { + "17": { + "name": "windowForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen" + ], + "range": [ + [ + 282, + 17 + ], + [ + 287, + 1 + ] + ], + "doc": "Private: Returns the {AtomWindow} for the given path. " + } + }, + "287": { + "17": { + "name": "focusedWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 287, + 17 + ], + [ + 298, + 1 + ] + ], + "doc": "Public: Returns the currently focused {AtomWindow} or undefined if none. " + } + }, + "298": { + "13": { + "name": "openPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 298, + 13 + ], + [ + 311, + 1 + ] + ], + "doc": " Public: Opens multiple paths, in existing windows if possible.\n\noptions -\n :pathsToOpen - The array of file paths to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " + } + }, + "311": { + "12": { + "name": "openPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 311, + 12 + ], + [ + 337, + 1 + ] + ], + "doc": " Public: Opens a single path, in an existing window if possible.\n\noptions -\n :pathToOpen - The file path to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode.\n :windowDimensions - Object with height and width keys. " + } + }, + "337": { + "20": { + "name": "killAllProcesses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 337, + 20 + ], + [ + 341, + 1 + ] + ], + "doc": "Private: Kill all processes associated with opened windows. " + } + }, + "341": { + "24": { + "name": "killProcessForWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "openedWindow" + ], + "range": [ + [ + 341, + 24 + ], + [ + 346, + 1 + ] + ], + "doc": "Private: Kill process associated with the given opened window. " + } + }, + "346": { + "15": { + "name": "killProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pid" + ], + "range": [ + [ + 346, + 15 + ], + [ + 364, + 1 + ] + ], + "doc": "Private: Kill the process with the given pid. " + } + }, + "364": { + "11": { + "name": "openUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 364, + 11 + ], + [ + 393, + 1 + ] + ], + "doc": " Private: Open an atom:// url.\n\nThe host of the URL being opened is assumed to be the package name\nresponsible for opening the URL. A new window will be created with\nthat package's `urlMain` as the bootstrap script.\n\noptions -\n :urlToOpen - The atom:// url to open.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " + } + }, + "393": { + "12": { + "name": "runSpecs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 393, + 12 + ], + [ + 406, + 1 + ] + ], + "doc": " Private: Opens up a new {AtomWindow} to run specs within.\n\noptions -\n :exitWhenDone - A Boolean that if true, will close the window upon\n completion.\n :resourcePath - The path to include specs from.\n :specPath - The directory to load specs from. " + } + }, + "406": { + "17": { + "name": "runBenchmarks", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 406, + 17 + ], + [ + 415, + 1 + ] + ], + "doc": "~Private~" + } + }, + "415": { + "25": { + "name": "locationForPathToOpen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen" + ], + "range": [ + [ + 415, + 25 + ], + [ + 440, + 1 + ] + ], + "doc": "~Private~" + } + }, + "440": { + "17": { + "name": "promptForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 440, + 17 + ], + [ + 449, + 50 + ] + ], + "doc": " Private: Opens a native dialog to prompt the user for a path.\n\nOnce paths are selected, they're opened in a new or existing {AtomWindow}s.\n\noptions -\n :type - A String which specifies the type of the dialog, could be 'file',\n 'folder' or 'all'. The 'all' is only available on OS X.\n :devMode - A Boolean which controls whether any newly opened windows\n should be in dev mode or not.\n :safeMode - A Boolean which controls whether any newly opened windows\n should be in safe mode or not. " + } + } + }, + "exports": 30 + }, + "src/browser/atom-protocol-handler.coffee": { + "objects": { + "0": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "2": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "3": { + "11": { + "name": "protocol", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "protocol" + } + }, + "10": { + "0": { + "type": "class", + "name": "AtomProtocolHandler", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 21, + 24 + ] + ], + "doc": " Private: Handles requests with 'atom' protocol.\n\nIt's created by {AtomApplication} upon instantiation, and is used to create a\ncustom resource loader by adding the 'atom' custom protocol. ", + "range": [ + [ + 10, + 0 + ], + [ + 27, + 50 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 21, + 1 + ] + ] + } + }, + "21": { + "24": { + "name": "registerAtomProtocol", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 24 + ], + [ + 27, + 50 + ] + ], + "doc": "Private: Creates the 'atom' custom protocol handler. " + } + } + }, + "exports": 10 + }, + "src/browser/atom-window.coffee": { + "objects": { + "0": { + "16": { + "name": "BrowserWindow", + "type": "import", + "range": [ + [ + 0, + 16 + ], + [ + 0, + 39 + ] + ], + "bindingType": "variable", + "module": "browser-window" + } + }, + "1": { + "14": { + "name": "ContextMenu", + "type": "import", + "range": [ + [ + 1, + 14 + ], + [ + 1, + 37 + ] + ], + "bindingType": "variable", + "path": "./context-menu" + } + }, + "2": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "3": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 3, + 9 + ], + [ + 3, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "4": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "6": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 6, + 6 + ], + [ + 6, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "7": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "11": { + "0": { + "type": "class", + "name": "AtomWindow", + "bindingType": "exports", + "classProperties": [ + [ + 14, + 13 + ], + [ + 15, + 25 + ] + ], + "prototypeProperties": [ + [ + 17, + 17 + ], + [ + 18, + 10 + ], + [ + 19, + 10 + ], + [ + 21, + 15 + ], + [ + 56, + 10 + ], + [ + 68, + 18 + ], + [ + 71, + 16 + ], + [ + 86, + 16 + ], + [ + 126, + 12 + ], + [ + 133, + 15 + ], + [ + 147, + 30 + ], + [ + 151, + 17 + ], + [ + 156, + 9 + ], + [ + 158, + 9 + ], + [ + 160, + 12 + ], + [ + 162, + 12 + ], + [ + 164, + 11 + ], + [ + 166, + 23 + ], + [ + 169, + 13 + ], + [ + 171, + 20 + ], + [ + 173, + 16 + ], + [ + 175, + 10 + ], + [ + 177, + 18 + ] + ], + "doc": "~Private~", + "range": [ + [ + 11, + 0 + ], + [ + 177, + 52 + ] + ] + } + }, + "14": { + "13": { + "name": "iconPath", + "type": "function", + "range": [ + [ + 14, + 13 + ], + [ + 14, + 72 + ] + ], + "bindingType": "classProperty" + } + }, + "15": { + "25": { + "name": "includeShellLoadTime", + "type": "primitive", + "range": [ + [ + 15, + 25 + ], + [ + 15, + 28 + ] + ], + "bindingType": "classProperty" + } + }, + "17": { + "17": { + "name": "browserWindow", + "type": "primitive", + "range": [ + [ + 17, + 17 + ], + [ + 17, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "10": { + "name": "loaded", + "type": "primitive", + "range": [ + [ + 18, + 10 + ], + [ + 18, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "10": { + "name": "isSpec", + "type": "primitive", + "range": [ + [ + 19, + 10 + ], + [ + 19, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "settings" + ], + "range": [ + [ + 21, + 15 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "10": { + "name": "getUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "loadSettingsObj" + ], + "range": [ + [ + 56, + 10 + ], + [ + 68, + 1 + ] + ], + "doc": "~Private~" + } + }, + "68": { + "18": { + "name": "getInitialPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 18 + ], + [ + 71, + 1 + ] + ], + "doc": "~Private~" + } + }, + "71": { + "16": { + "name": "containsPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToCheck" + ], + "range": [ + [ + 71, + 16 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 16 + ], + [ + 126, + 1 + ] + ], + "doc": "~Private~" + } + }, + "126": { + "12": { + "name": "openPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen", + "initialLine", + "initialColumn" + ], + "range": [ + [ + 126, + 12 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "15": { + "name": "sendCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 133, + 15 + ], + [ + 147, + 1 + ] + ], + "doc": "~Private~" + } + }, + "147": { + "30": { + "name": "sendCommandToBrowserWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 147, + 30 + ], + [ + 151, + 1 + ] + ], + "doc": "~Private~" + } + }, + "151": { + "17": { + "name": "getDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 151, + 17 + ], + [ + 156, + 1 + ] + ], + "doc": "~Private~" + } + }, + "156": { + "9": { + "name": "close", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 156, + 9 + ], + [ + 156, + 33 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 9 + ], + [ + 158, + 33 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "12": { + "name": "minimize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 160, + 12 + ], + [ + 160, + 39 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "12": { + "name": "maximize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 12 + ], + [ + 162, + 39 + ] + ], + "doc": "~Private~" + } + }, + "164": { + "11": { + "name": "restore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 164, + 11 + ], + [ + 164, + 37 + ] + ], + "doc": "~Private~" + } + }, + "166": { + "23": { + "name": "handlesAtomCommands", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 166, + 23 + ], + [ + 169, + 1 + ] + ], + "doc": "~Private~" + } + }, + "169": { + "13": { + "name": "isFocused", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 169, + 13 + ], + [ + 169, + 41 + ] + ], + "doc": "~Private~" + } + }, + "171": { + "20": { + "name": "isWebViewFocused", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 20 + ], + [ + 171, + 55 + ] + ], + "doc": "~Private~" + } + }, + "173": { + "16": { + "name": "isSpecWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 173, + 16 + ], + [ + 173, + 25 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "10": { + "name": "reload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 175, + 10 + ], + [ + 175, + 36 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "18": { + "name": "toggleDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 18 + ], + [ + 177, + 51 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 11 + }, + "src/browser/auto-update-manager.coffee": { + "objects": { + "0": { + "8": { + "name": "https", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 22 + ] + ], + "bindingType": "variable", + "module": "https", + "builtin": true + } + }, + "1": { + "14": { + "name": "autoUpdater", + "type": "import", + "range": [ + [ + 1, + 14 + ], + [ + 1, + 35 + ] + ], + "bindingType": "variable", + "module": "auto-updater" + } + }, + "2": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "6": { + "11": { + "name": "'idle'", + "type": "primitive", + "range": [ + [ + 6, + 11 + ], + [ + 6, + 16 + ] + ] + } + }, + "7": { + "15": { + "name": "'checking'", + "type": "primitive", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 24 + ] + ] + } + }, + "8": { + "18": { + "name": "'downloading'", + "type": "primitive", + "range": [ + [ + 8, + 18 + ], + [ + 8, + 30 + ] + ] + } + }, + "9": { + "23": { + "name": "'update-available'", + "type": "primitive", + "range": [ + [ + 9, + 23 + ], + [ + 9, + 40 + ] + ] + } + }, + "10": { + "26": { + "name": "'no-update-available'", + "type": "primitive", + "range": [ + [ + 10, + 26 + ], + [ + 10, + 46 + ] + ] + } + }, + "11": { + "12": { + "name": "'error'", + "type": "primitive", + "range": [ + [ + 11, + 12 + ], + [ + 11, + 18 + ] + ] + } + }, + "14": { + "0": { + "type": "class", + "name": "AutoUpdateManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 15 + ], + [ + 48, + 23 + ], + [ + 63, + 28 + ], + [ + 68, + 12 + ], + [ + 73, + 12 + ], + [ + 76, + 9 + ], + [ + 83, + 11 + ], + [ + 86, + 24 + ], + [ + 90, + 17 + ], + [ + 94, + 14 + ] + ], + "doc": "~Private~", + "range": [ + [ + 14, + 0 + ], + [ + 95, + 34 + ] + ] + } + }, + "17": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 17, + 15 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "23": { + "name": "checkForUpdatesShim", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 23 + ], + [ + 63, + 1 + ] + ], + "doc": "Private: Windows doesn't have an auto-updater, so use this method to shim the events. " + } + }, + "63": { + "28": { + "name": "emitUpdateAvailableEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "windows" + ], + "range": [ + [ + 63, + 28 + ], + [ + 68, + 1 + ] + ], + "doc": "~Private~" + } + }, + "68": { + "12": { + "name": "setState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 68, + 12 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "12": { + "name": "getState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 12 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "9": { + "name": "check", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 76, + 9 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "11": { + "name": "install", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 83, + 11 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "24": { + "name": "onUpdateNotAvailable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 24 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "17": { + "name": "onUpdateError", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event", + "message" + ], + "range": [ + [ + 90, + 17 + ], + [ + 94, + 1 + ] + ], + "doc": "~Private~" + } + }, + "94": { + "14": { + "name": "getWindows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 14 + ], + [ + 95, + 34 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 14 + }, + "src/browser/context-menu.coffee": { + "objects": { + "0": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "3": { + "0": { + "type": "class", + "name": "ContextMenu", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 4, + 15 + ], + [ + 12, + 23 + ] + ], + "doc": "~Private~", + "range": [ + [ + 3, + 0 + ], + [ + 23, + 10 + ] + ] + } + }, + "4": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + null + ], + "range": [ + [ + 4, + 15 + ], + [ + 12, + 1 + ] + ] + } + }, + "12": { + "23": { + "name": "createClickHandlers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 12, + 23 + ], + [ + 23, + 10 + ] + ], + "doc": " Private: It's necessary to build the event handlers in this process, otherwise\nclosures are drug across processes and failed to be garbage collected\nappropriately. " + } + } + }, + "exports": 3 + }, + "src/browser/main.coffee": { + "objects": { + "0": { + "24": { + "name": "global.shellStartTime", + "type": "function", + "range": [ + [ + 0, + 24 + ], + [ + 0, + 33 + ] + ] + } + }, + "2": { + "16": { + "name": "crashReporter", + "type": "import", + "range": [ + [ + 2, + 16 + ], + [ + 2, + 39 + ] + ], + "bindingType": "variable", + "module": "crash-reporter" + } + }, + "3": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 3, + 6 + ], + [ + 3, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "6": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 6, + 7 + ], + [ + 6, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "7": { + "11": { + "name": "optimist", + "type": "import", + "range": [ + [ + 7, + 11 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "optimist@0.4.0" + } + }, + "8": { + "8": { + "name": "nslog", + "type": "import", + "range": [ + [ + 8, + 8 + ], + [ + 8, + 22 + ] + ], + "bindingType": "variable", + "module": "nslog@^1.0.1" + } + }, + "9": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 9, + 9 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "11": { + "14": { + "name": "nslog", + "type": "primitive", + "range": [ + [ + 11, + 14 + ], + [ + 11, + 18 + ] + ] + } + }, + "17": { + "8": { + "name": "start", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 8 + ], + [ + 51, + 0 + ] + ], + "doc": "~Private~" + } + }, + "54": { + "25": { + "name": "global.devResourcePath", + "type": "function", + "range": [ + [ + 54, + 25 + ], + [ + 54, + 62 + ] + ] + } + }, + "56": { + "21": { + "name": "setupCrashReporter", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 21 + ], + [ + 58, + 0 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "19": { + "name": "parseCommandLine", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 19 + ], + [ + 110, + 0 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": {} + }, + "src/buffered-node-process.coffee": { + "objects": { + "0": { + "18": { + "name": "BufferedProcess", + "type": "import", + "range": [ + [ + 0, + 18 + ], + [ + 0, + 45 + ] + ], + "bindingType": "variable", + "path": "./buffered-process" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "14": { + "0": { + "type": "class", + "name": "BufferedNodeProcess", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 36, + 15 + ] + ], + "doc": " Public: Like {BufferedProcess}, but accepts a Node script as the command\nto run.\n\nThis is necessary on Windows since it doesn't support shebang `#!` lines.\n\n## Requiring in packages\n\n```coffee\n{BufferedNodeProcess} = require 'atom'\n``` ", + "range": [ + [ + 14, + 0 + ], + [ + 50, + 63 + ] + ] + } + }, + "36": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 36, + 15 + ], + [ + 50, + 63 + ] + ], + "doc": " Public: Runs the given Node script by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} path to the JavaScript script to execute.\n :args - The {Array} of arguments to pass to the script (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " + } + } + }, + "exports": 14 + }, + "src/buffered-process.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "15": { + "name": "ChildProcess", + "type": "import", + "range": [ + [ + 1, + 15 + ], + [ + 1, + 37 + ] + ], + "bindingType": "variable", + "module": "child_process", + "builtin": true + } + }, + "18": { + "0": { + "type": "class", + "name": "BufferedProcess", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 40, + 15 + ], + [ + 99, + 16 + ], + [ + 117, + 8 + ] + ], + "doc": " Public: A wrapper which provides standard error/output line buffering for\nNode's ChildProcess.\n\n## Requiring in packages\n\n```coffee\n{BufferedProcess} = require 'atom'\n\ncommand = 'ps'\nargs = ['-ef']\nstdout = (output) -> console.log(output)\nexit = (code) -> console.log(\"ps -ef exited with #{code}\")\nprocess = new BufferedProcess({command, args, stdout, exit})\n``` ", + "range": [ + [ + 18, + 0 + ], + [ + 120, + 19 + ] + ] + } + }, + "40": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 40, + 15 + ], + [ + 99, + 1 + ] + ], + "doc": " Public: Runs the given command by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} command to execute.\n :args - The {Array} of arguments to pass to the command (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " + } + }, + "99": { + "16": { + "name": "bufferStream", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stream", + "onLines", + "onDone" + ], + "range": [ + [ + 99, + 16 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: Helper method to pass data line by line.\n\nstream - The Stream to read from.\nonLines - The callback to call with each line of data.\nonDone - The callback to call when the stream has closed. " + } + }, + "117": { + "8": { + "name": "kill", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 8 + ], + [ + 120, + 19 + ] + ], + "doc": "Public: Terminate the process. " + } + } + }, + "exports": 18 + }, + "src/clipboard.coffee": { + "objects": { + "0": { + "12": { + "name": "clipboard", + "type": "import", + "range": [ + [ + 0, + 12 + ], + [ + 0, + 30 + ] + ], + "bindingType": "variable", + "module": "clipboard" + } + }, + "1": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 1, + 9 + ], + [ + 1, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "7": { + "0": { + "type": "class", + "name": "Clipboard", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 8, + 12 + ], + [ + 9, + 24 + ], + [ + 16, + 7 + ], + [ + 26, + 9 + ], + [ + 34, + 8 + ], + [ + 43, + 20 + ] + ], + "doc": " Public: Represents the clipboard used for copying and pasting in Atom.\n\nAn instance of this class is always available as the `atom.clipboard` global. ", + "range": [ + [ + 7, + 0 + ], + [ + 48, + 12 + ] + ] + } + }, + "8": { + "12": { + "name": "metadata", + "type": "primitive", + "range": [ + [ + 8, + 12 + ], + [ + 8, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "24": { + "name": "signatureForMetadata", + "type": "primitive", + "range": [ + [ + 9, + 24 + ], + [ + 9, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "7": { + "name": "md5", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 16, + 7 + ], + [ + 26, + 1 + ] + ], + "doc": " Private: Creates an `md5` hash of some text.\n\ntext - A {String} to hash.\n\nReturns a hashed {String}. " + } + }, + "26": { + "9": { + "name": "write", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "metadata" + ], + "range": [ + [ + 26, + 9 + ], + [ + 34, + 1 + ] + ], + "doc": " Public: Write the given text to the clipboard.\n\nThe metadata associated with the text is available by calling\n{::readWithMetadata}.\n\ntext - The {String} to store.\nmetadata - The additional info to associate with the text. " + } + }, + "34": { + "8": { + "name": "read", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 8 + ], + [ + 43, + 1 + ] + ], + "doc": " Public: Read the text from the clipboard.\n\nReturns a {String}. " + } + }, + "43": { + "20": { + "name": "readWithMetadata", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 20 + ], + [ + 48, + 12 + ] + ], + "doc": " Public: Read the text from the clipboard and return both the text and the\nassociated metadata.\n\nReturns an {Object} with the following keys:\n :text - The {String} clipboard text.\n :metadata - The metadata stored by an earlier call to {::write}. " + } + } + }, + "exports": 7 + }, + "src/coffee-cache.coffee": { + "objects": { + "0": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 0, + 9 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "3": { + "15": { + "name": "CoffeeScript", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 37 + ] + ], + "bindingType": "variable", + "module": "coffee-script@1.7.0" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1.0.2" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "8": { + "17": { + "name": "coffeeCacheDir", + "type": "function", + "range": [ + [ + 8, + 17 + ], + [ + 8, + 45 + ] + ] + } + }, + "11": { + "15": { + "name": "getCachePath", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "coffee" + ], + "range": [ + [ + 11, + 15 + ], + [ + 14, + 0 + ] + ], + "doc": "~Private~" + } + }, + "15": { + "22": { + "name": "getCachedJavaScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "cachePath" + ], + "range": [ + [ + 15, + 22 + ], + [ + 19, + 0 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "18": { + "name": "convertFilePath", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 20, + 18 + ], + [ + 24, + 0 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "22": { + "name": "compileCoffeeScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "coffee", + "filePath", + "cachePath" + ], + "range": [ + [ + 25, + 22 + ], + [ + 33, + 0 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "22": { + "name": "requireCoffeeScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "module", + "filePath" + ], + "range": [ + [ + 34, + 22 + ], + [ + 39, + 0 + ] + ] + } + }, + "41": { + "12": { + "name": "cacheDir", + "type": "primitive", + "range": [ + [ + 41, + 12 + ], + [ + 41, + 19 + ] + ] + } + }, + "42": { + "12": { + "name": "register", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 12 + ], + [ + 46, + 6 + ] + ], + "doc": null + } + } + }, + "exports": 41 + }, + "src/command-installer.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "2": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 22 + ] + ], + "bindingType": "variable", + "module": "async@0.2.6" + } + }, + "3": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 3, + 5 + ], + [ + 3, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "4": { + "9": { + "name": "mkdirp", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 24 + ] + ], + "bindingType": "variable", + "module": "mkdirp@0.3.5" + } + }, + "5": { + "8": { + "name": "runas", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "module": "runas@1.0.1" + } + }, + "7": { + "17": { + "name": "symlinkCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "sourcePath", + "destinationPath", + "callback" + ], + "range": [ + [ + 7, + 17 + ], + [ + 17, + 0 + ] + ], + "doc": "~Private~" + } + }, + "18": { + "34": { + "name": "symlinkCommandWithPrivilegeSync", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "sourcePath", + "destinationPath" + ], + "range": [ + [ + 18, + 34 + ], + [ + 27, + 0 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "23": { + "name": "getInstallDirectory", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 23 + ], + [ + 32, + 1 + ] + ], + "doc": null + } + }, + "32": { + "11": { + "name": "install", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "commandPath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 32, + 11 + ], + [ + 52, + 1 + ] + ], + "doc": null + } + }, + "52": { + "22": { + "name": "installAtomCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "resourcePath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 52, + 22 + ], + [ + 56, + 1 + ] + ], + "doc": null + } + }, + "56": { + "21": { + "name": "installApmCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "resourcePath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 56, + 21 + ], + [ + 58, + 51 + ] + ], + "doc": null + } + } + }, + "exports": 29 + }, + "src/config.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "3": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1.0.2" + } + }, + "4": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "5": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "module": "async@0.2.6" + } + }, + "6": { + "14": { + "name": "pathWatcher", + "type": "import", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 34 + ] + ], + "bindingType": "variable", + "module": "pathwatcher@^2.0.6" + } + }, + "25": { + "0": { + "type": "class", + "name": "Config", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 36, + 29 + ], + [ + 52, + 8 + ], + [ + 57, + 18 + ], + [ + 72, + 21 + ], + [ + 76, + 23 + ], + [ + 80, + 15 + ], + [ + 91, + 21 + ], + [ + 95, + 15 + ], + [ + 104, + 7 + ], + [ + 114, + 10 + ], + [ + 125, + 18 + ], + [ + 136, + 7 + ], + [ + 152, + 10 + ], + [ + 160, + 18 + ], + [ + 168, + 14 + ], + [ + 178, + 13 + ], + [ + 187, + 17 + ], + [ + 199, + 20 + ], + [ + 211, + 19 + ], + [ + 231, + 11 + ], + [ + 253, + 13 + ], + [ + 256, + 10 + ], + [ + 261, + 8 + ] + ], + "doc": " Public: Used to access all of Atom's configuration details.\n\nAn instance of this class is always available as the `atom.config` global.\n\n## Best practices\n\n* Create your own root keypath using your package's name.\n* Don't depend on (or write to) configuration keys outside of your keypath.\n\n## Example\n\n```coffeescript\natom.config.set('my-package.key', 'value')\natom.config.observe 'my-package.key', ->\n console.log 'My configuration changed:', atom.config.get('my-package.key')\n``` ", + "range": [ + [ + 25, + 0 + ], + [ + 262, + 50 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 29, + 15 + ], + [ + 36, + 1 + ] + ], + "doc": "Private: Created during initialization, available as `atom.config` " + } + }, + "36": { + "29": { + "name": "initializeConfigDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "done" + ], + "range": [ + [ + 36, + 29 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 8 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "18": { + "name": "loadUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 18 + ], + [ + 72, + 1 + ] + ], + "doc": "~Private~" + } + }, + "72": { + "21": { + "name": "observeUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 72, + 21 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "23": { + "name": "unobserveUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 23 + ], + [ + 80, + 1 + ] + ], + "doc": "~Private~" + } + }, + "80": { + "15": { + "name": "setDefaults", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "defaults" + ], + "range": [ + [ + 80, + 15 + ], + [ + 91, + 1 + ] + ], + "doc": "~Private~" + } + }, + "91": { + "21": { + "name": "getUserConfigPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 21 + ], + [ + 95, + 1 + ] + ], + "doc": "Public: Get the {String} path to the config file being used. " + } + }, + "95": { + "15": { + "name": "getSettings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 95, + 15 + ], + [ + 104, + 1 + ] + ], + "doc": "Public: Returns a new {Object} containing all of settings and defaults. " + } + }, + "104": { + "7": { + "name": "get", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 104, + 7 + ], + [ + 114, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key.\n\nkeyPath - The {String} name of the key to retrieve.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `null` if the key doesn't exist in either. " + } + }, + "114": { + "10": { + "name": "getInt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 114, + 10 + ], + [ + 125, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key as an integer.\n\nkeyPath - The {String} name of the key to retrieve\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `NaN` if the key doesn't exist in either. " + } + }, + "125": { + "18": { + "name": "getPositiveInt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "defaultValue" + ], + "range": [ + [ + 125, + 18 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key as a positive integer.\n\nkeyPath - The {String} name of the key to retrieve\ndefaultValue - The integer {Number} to fall back to if the value isn't\n positive, defaults to 0.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `defaultValue` if the key value isn't greater than zero. " + } + }, + "136": { + "7": { + "name": "set", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 136, + 7 + ], + [ + 152, + 1 + ] + ], + "doc": " Public: Sets the value for a configuration setting.\n\nThis value is stored in Atom's internal configuration file.\n\nkeyPath - The {String} name of the key.\nvalue - The value of the setting.\n\nReturns the `value`. " + } + }, + "152": { + "10": { + "name": "toggle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 152, + 10 + ], + [ + 160, + 1 + ] + ], + "doc": " Public: Toggle the value at the key path.\n\nThe new value will be `true` if the value is currently falsy and will be\n`false` if the value is currently truthy.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " + } + }, + "160": { + "18": { + "name": "restoreDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 160, + 18 + ], + [ + 168, + 1 + ] + ], + "doc": " Public: Restore the key path to its default value.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " + } + }, + "168": { + "14": { + "name": "getDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 168, + 14 + ], + [ + 178, + 1 + ] + ], + "doc": " Public: Get the default value of the key path.\n\nkeyPath - The {String} name of the key.\n\nReturns the default value. " + } + }, + "178": { + "13": { + "name": "isDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 178, + 13 + ], + [ + 187, + 1 + ] + ], + "doc": " Public: Is the key path value its default value?\n\nkeyPath - The {String} name of the key.\n\nReturns a {Boolean}, `true` if the current value is the default, `false`\notherwise. " + } + }, + "187": { + "17": { + "name": "pushAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 187, + 17 + ], + [ + 199, + 1 + ] + ], + "doc": " Public: Push the value to the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to push to the array.\n\nReturns the new array length {Number} of the setting. " + } + }, + "199": { + "20": { + "name": "unshiftAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 199, + 20 + ], + [ + 211, + 1 + ] + ], + "doc": " Public: Add the value to the beginning of the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to shift onto the array.\n\nReturns the new array length {Number} of the setting. " + } + }, + "211": { + "19": { + "name": "removeAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 211, + 19 + ], + [ + 231, + 1 + ] + ], + "doc": " Public: Remove the value from the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to remove from the array.\n\nReturns the new array value of the setting. " + } + }, + "231": { + "11": { + "name": "observe", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "options", + "callback" + ], + "range": [ + [ + 231, + 11 + ], + [ + 253, + 1 + ] + ], + "doc": " Public: Establishes an event listener for a given key.\n\n`callback` is fired whenever the value of the key is changed and will\n be fired immediately unless the `callNow` option is `false`.\n\nkeyPath - The {String} name of the key to observe\noptions - An optional {Object} containing the `callNow` key.\ncallback - The {Function} to call when the value of the key changes.\n The first argument will be the new value of the key and the\n  second argument will be an {Object} with a `previous` property\n that is the prior value of the key.\n\nReturns an {Object} with the following keys:\n :off - A {Function} that unobserves the `keyPath` when called. " + } + }, + "253": { + "13": { + "name": "unobserve", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 253, + 13 + ], + [ + 256, + 1 + ] + ], + "doc": " Public: Unobserve all callbacks on a given key.\n\nkeyPath - The {String} name of the key to unobserve. " + } + }, + "256": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 10 + ], + [ + 261, + 1 + ] + ], + "doc": "~Private~" + } + }, + "261": { + "8": { + "name": "save", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 8 + ], + [ + 262, + 50 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 25 + }, + "src/context-menu-manager.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "2": { + "9": { + "name": "remote", + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 24 + ] + ], + "bindingType": "variable", + "module": "remote" + } + }, + "10": { + "0": { + "type": "class", + "name": "ContextMenuManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 33, + 7 + ], + [ + 45, + 17 + ], + [ + 60, + 17 + ], + [ + 66, + 25 + ], + [ + 82, + 38 + ], + [ + 91, + 34 + ], + [ + 105, + 24 + ], + [ + 111, + 16 + ] + ], + "doc": " Public: Provides a registry for commands that you'd like to appear in the\ncontext menu.\n\nAn instance of this class is always available as the `atom.contextMenu`\nglobal. ", + "range": [ + [ + 10, + 0 + ], + [ + 116, + 64 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 33, + 1 + ] + ] + } + }, + "33": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "object", + null + ], + "range": [ + [ + 33, + 7 + ], + [ + 45, + 1 + ] + ], + "doc": " Public: Creates menu definitions from the object specified by the menu\ncson API.\n\nname - The path of the file that contains the menu definitions.\nobject - The 'context-menu' object specified in the menu cson API.\noptions - An {Object} with the following keys:\n :devMode - Determines whether the entries should only be shown when\n the window is in dev mode.\n\nReturns nothing. " + } + }, + "45": { + "17": { + "name": "buildMenuItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "label", + "command" + ], + "range": [ + [ + 45, + 17 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "17": { + "name": "addBySelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "definition", + null + ], + "range": [ + [ + 60, + 17 + ], + [ + 66, + 1 + ] + ], + "doc": " Private: Registers a command to be displayed when the relevant item is right\nclicked.\n\nselector - The css selector for the active element which should include\n the given command in its context menu.\ndefinition - The object containing keys which match the menu template API.\noptions - An {Object} with the following keys:\n :devMode - Indicates whether this command should only appear while the\n editor is in dev mode. " + } + }, + "66": { + "25": { + "name": "definitionsForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element", + null + ], + "range": [ + [ + 66, + 25 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Returns definitions which match the element and devMode. " + } + }, + "82": { + "38": { + "name": "menuTemplateForMostSpecificElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element", + null + ], + "range": [ + [ + 82, + 38 + ], + [ + 91, + 1 + ] + ], + "doc": " Private: Used to generate the context menu for a specific element and it's\nparents.\n\nThe menu items are sorted such that menu items that match closest to the\nactive element are listed first. The further down the list you go, the higher\nup the ancestor hierarchy they match.\n\nelement - The DOM element to generate the menu template for. " + } + }, + "91": { + "34": { + "name": "combinedMenuTemplateForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 91, + 34 + ], + [ + 105, + 1 + ] + ], + "doc": " Private: Returns a menu template for both normal entries as well as\ndevelopment mode entries. " + } + }, + "105": { + "24": { + "name": "executeBuildHandlers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event", + "menuTemplate" + ], + "range": [ + [ + 105, + 24 + ], + [ + 111, + 1 + ] + ], + "doc": " Private: Executes `executeAtBuild` if defined for each menu item with\nthe provided event and then removes the `executeAtBuild` property from\nthe menu item.\n\nThis is useful for commands that need to provide data about the event\nto the command. " + } + }, + "111": { + "16": { + "name": "showForEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 111, + 16 + ], + [ + 116, + 64 + ] + ], + "doc": "Public: Request a context menu to be displayed. " + } + } + }, + "exports": 10 + }, + "src/cursor-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork@^0.11.1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork@^1.0.0", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "18": { + "name": "CursorComponent", + "type": "function", + "range": [ + [ + 5, + 18 + ], + [ + 17, + 79 + ] + ] + } + }, + "6": { + "15": { + "name": "'CursorComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 31 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 16, + 1 + ] + ], + "doc": null + } + }, + "16": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 16, + 25 + ], + [ + 17, + 79 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/cursor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "4": { + "0": { + "type": "class", + "name": "CursorView", + "bindingType": "exports", + "classProperties": [ + [ + 5, + 12 + ], + [ + 8, + 16 + ], + [ + 10, + 17 + ], + [ + 13, + 18 + ], + [ + 19, + 17 + ] + ], + "prototypeProperties": [ + [ + 24, + 12 + ], + [ + 25, + 11 + ], + [ + 26, + 15 + ], + [ + 27, + 16 + ], + [ + 28, + 23 + ], + [ + 30, + 14 + ], + [ + 44, + 16 + ], + [ + 48, + 17 + ], + [ + 65, + 12 + ], + [ + 68, + 19 + ], + [ + 71, + 19 + ], + [ + 74, + 20 + ], + [ + 77, + 14 + ], + [ + 86, + 16 + ], + [ + 90, + 17 + ], + [ + 94, + 17 + ], + [ + 98, + 21 + ], + [ + 101, + 21 + ], + [ + 104, + 30 + ], + [ + 109, + 24 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 112, + 31 + ] + ] + } + }, + "5": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 12 + ], + [ + 8, + 1 + ] + ] + } + }, + "8": { + "16": { + "name": "blinkPeriod", + "type": "primitive", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 18 + ] + ], + "bindingType": "classProperty" + } + }, + "10": { + "17": { + "name": "blinkCursors", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 17 + ], + [ + 13, + 1 + ] + ], + "doc": "~Private~" + } + }, + "13": { + "18": { + "name": "startBlinking", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 13, + 18 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "17": { + "name": "stopBlinking", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 19, + 17 + ], + [ + 24, + 1 + ] + ], + "doc": "~Private~" + } + }, + "24": { + "12": { + "name": "blinking", + "type": "primitive", + "range": [ + [ + 24, + 12 + ], + [ + 24, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "25": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 25, + 11 + ], + [ + 25, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "26": { + "15": { + "name": "needsUpdate", + "type": "primitive", + "range": [ + [ + 26, + 15 + ], + [ + 26, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "27": { + "16": { + "name": "needsRemoval", + "type": "primitive", + "range": [ + [ + 27, + 16 + ], + [ + 27, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "28": { + "23": { + "name": "shouldPauseBlinking", + "type": "primitive", + "range": [ + [ + 28, + 23 + ], + [ + 28, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "30": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 30, + 14 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 16 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 17 + ], + [ + 65, + 1 + ] + ], + "doc": "~Private~" + } + }, + "65": { + "12": { + "name": "isHidden", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 65, + 12 + ], + [ + 68, + 1 + ] + ], + "doc": "Private: Override for speed. The base function checks the computedStyle " + } + }, + "68": { + "19": { + "name": "needsAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 19 + ], + [ + 71, + 1 + ] + ], + "doc": "~Private~" + } + }, + "71": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 71, + 19 + ], + [ + 74, + 1 + ] + ], + "doc": "~Private~" + } + }, + "74": { + "20": { + "name": "getPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 20 + ], + [ + 77, + 1 + ] + ], + "doc": "~Private~" + } + }, + "77": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 77, + 14 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "16": { + "name": "stopBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 16 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "17": { + "name": "startBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 17 + ], + [ + 94, + 1 + ] + ], + "doc": "~Private~" + } + }, + "94": { + "17": { + "name": "resetBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 17 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "21": { + "name": "getBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 21 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "21": { + "name": "getScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 21 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "30": { + "name": "removeIdleClassTemporarily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 30 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "24": { + "name": "resetCursorAnimation", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 24 + ], + [ + 112, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/cursor.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "10": { + "0": { + "type": "class", + "name": "Cursor", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 18 + ], + [ + 12, + 18 + ], + [ + 13, + 14 + ], + [ + 14, + 11 + ], + [ + 15, + 19 + ], + [ + 18, + 15 + ], + [ + 49, + 11 + ], + [ + 52, + 18 + ], + [ + 60, + 16 + ], + [ + 70, + 21 + ], + [ + 75, + 21 + ], + [ + 78, + 18 + ], + [ + 89, + 21 + ], + [ + 94, + 21 + ], + [ + 97, + 14 + ], + [ + 101, + 20 + ], + [ + 105, + 14 + ], + [ + 112, + 13 + ], + [ + 122, + 14 + ], + [ + 136, + 16 + ], + [ + 145, + 28 + ], + [ + 158, + 27 + ], + [ + 170, + 16 + ], + [ + 176, + 19 + ], + [ + 180, + 18 + ], + [ + 184, + 16 + ], + [ + 188, + 19 + ], + [ + 192, + 16 + ], + [ + 196, + 19 + ], + [ + 201, + 24 + ], + [ + 205, + 10 + ], + [ + 217, + 12 + ], + [ + 233, + 12 + ], + [ + 247, + 13 + ], + [ + 256, + 13 + ], + [ + 260, + 16 + ], + [ + 264, + 31 + ], + [ + 268, + 25 + ], + [ + 273, + 30 + ], + [ + 283, + 25 + ], + [ + 293, + 25 + ], + [ + 297, + 19 + ], + [ + 301, + 25 + ], + [ + 305, + 19 + ], + [ + 310, + 29 + ], + [ + 315, + 30 + ], + [ + 320, + 26 + ], + [ + 336, + 43 + ], + [ + 358, + 41 + ], + [ + 380, + 41 + ], + [ + 409, + 37 + ], + [ + 430, + 40 + ], + [ + 447, + 29 + ], + [ + 457, + 29 + ], + [ + 461, + 34 + ], + [ + 466, + 38 + ], + [ + 470, + 45 + ], + [ + 484, + 49 + ], + [ + 502, + 34 + ], + [ + 506, + 24 + ], + [ + 510, + 23 + ], + [ + 514, + 18 + ], + [ + 521, + 17 + ], + [ + 527, + 13 + ], + [ + 532, + 32 + ] + ], + "doc": " Public: The `Cursor` class represents the little blinking line identifying\nwhere text can be inserted.\n\nCursors belong to {Editor}s and have some metadata attached in the form\nof a {Marker}. ", + "range": [ + [ + 10, + 0 + ], + [ + 540, + 50 + ] + ] + } + }, + "11": { + "18": { + "name": "screenPosition", + "type": "primitive", + "range": [ + [ + 11, + 18 + ], + [ + 11, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "18": { + "name": "bufferPosition", + "type": "primitive", + "range": [ + [ + 12, + 18 + ], + [ + 12, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "13": { + "14": { + "name": "goalColumn", + "type": "primitive", + "range": [ + [ + 13, + 14 + ], + [ + 13, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 14, + 11 + ], + [ + 14, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "15": { + "19": { + "name": "needsAutoscroll", + "type": "primitive", + "range": [ + [ + 15, + 19 + ], + [ + 15, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 18, + 15 + ], + [ + 49, + 1 + ] + ], + "doc": "Private: Instantiated by an {Editor} " + } + }, + "49": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 11 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "18": { + "name": "changePosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options", + "fn" + ], + "range": [ + [ + 52, + 18 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "16": { + "name": "getPixelRect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 60, + 16 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "21": { + "name": "setScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 70, + 21 + ], + [ + 75, + 1 + ] + ], + "doc": " Public: Moves a cursor to a given screen position.\n\nscreenPosition - An {Array} of two numbers: the screen row, and the screen\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " + } + }, + "75": { + "21": { + "name": "getScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 75, + 21 + ], + [ + 78, + 1 + ] + ], + "doc": "Public: Returns the screen position of the cursor as an Array. " + } + }, + "78": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 78, + 18 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "setBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 89, + 21 + ], + [ + 94, + 1 + ] + ], + "doc": " Public: Moves a cursor to a given buffer position.\n\nbufferPosition - An {Array} of two numbers: the buffer row, and the buffer\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " + } + }, + "94": { + "21": { + "name": "getBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 21 + ], + [ + 97, + 1 + ] + ], + "doc": "Public: Returns the current buffer position as an Array. " + } + }, + "97": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 97, + 14 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "20": { + "name": "updateVisibility", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 20 + ], + [ + 105, + 1 + ] + ], + "doc": "Public: If the marker range is empty, the cursor is marked as being visible. " + } + }, + "105": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 105, + 14 + ], + [ + 112, + 1 + ] + ], + "doc": "Public: Sets whether the cursor is visible. " + } + }, + "112": { + "13": { + "name": "isVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 112, + 13 + ], + [ + 112, + 23 + ] + ], + "doc": "Public: Returns the visibility of the cursor. " + } + }, + "122": { + "14": { + "name": "wordRegExp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 122, + 14 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Get the RegExp used by the cursor to determine what a \"word\" is.\n\noptions: An optional {Object} with the following keys:\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the regex.\n (default: true)\n\nReturns a {RegExp}. " + } + }, + "136": { + "16": { + "name": "isLastCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 16 + ], + [ + 145, + 1 + ] + ], + "doc": " Public: Identifies if this cursor is the last in the {Editor}.\n\n\"Last\" is defined as the most recently added cursor.\n\nReturns a {Boolean}. " + } + }, + "145": { + "28": { + "name": "isSurroundedByWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 145, + 28 + ], + [ + 158, + 1 + ] + ], + "doc": " Public: Identifies if the cursor is surrounded by whitespace.\n\n\"Surrounded\" here means that the character directly before and after the\ncursor are both whitespace.\n\nReturns a {Boolean}. " + } + }, + "158": { + "27": { + "name": "isBetweenWordAndNonWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 27 + ], + [ + 170, + 1 + ] + ], + "doc": " Public: Returns whether the cursor is currently between a word and non-word\ncharacter. The non-word characters are defined by the\n`editor.nonWordCharacters` config value.\n\nThis method returns false if the character before or after the cursor is\nwhitespace.\n\nReturns a Boolean. " + } + }, + "170": { + "16": { + "name": "isInsideWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 170, + 16 + ], + [ + 176, + 1 + ] + ], + "doc": "Public: Returns whether this cursor is between a word's start and end. " + } + }, + "176": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 176, + 19 + ], + [ + 180, + 1 + ] + ], + "doc": "Public: Prevents this cursor from causing scrolling. " + } + }, + "180": { + "18": { + "name": "clearSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 180, + 18 + ], + [ + 184, + 1 + ] + ], + "doc": "Public: Deselects the current selection. " + } + }, + "184": { + "16": { + "name": "getScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 184, + 16 + ], + [ + 188, + 1 + ] + ], + "doc": "Public: Returns the cursor's current screen row. " + } + }, + "188": { + "19": { + "name": "getScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 19 + ], + [ + 192, + 1 + ] + ], + "doc": "Public: Returns the cursor's current screen column. " + } + }, + "192": { + "16": { + "name": "getBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 192, + 16 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Retrieves the cursor's current buffer row. " + } + }, + "196": { + "19": { + "name": "getBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 196, + 19 + ], + [ + 201, + 1 + ] + ], + "doc": "Public: Returns the cursor's current buffer column. " + } + }, + "201": { + "24": { + "name": "getCurrentBufferLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 201, + 24 + ], + [ + 205, + 1 + ] + ], + "doc": " Public: Returns the cursor's current buffer row of text excluding its line\nending. " + } + }, + "205": { + "10": { + "name": "moveUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount", + null + ], + "range": [ + [ + 205, + 10 + ], + [ + 217, + 1 + ] + ], + "doc": "Public: Moves the cursor up one screen row. " + } + }, + "217": { + "12": { + "name": "moveDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount", + null + ], + "range": [ + [ + 217, + 12 + ], + [ + 233, + 1 + ] + ], + "doc": "Public: Moves the cursor down one screen row. " + } + }, + "233": { + "12": { + "name": "moveLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 233, + 12 + ], + [ + 247, + 1 + ] + ], + "doc": " Public: Moves the cursor left one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the left of the selection if a\n selection exists. " + } + }, + "247": { + "13": { + "name": "moveRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 247, + 13 + ], + [ + 256, + 1 + ] + ], + "doc": " Public: Moves the cursor right one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the right of the selection if a\n selection exists. " + } + }, + "256": { + "13": { + "name": "moveToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 13 + ], + [ + 260, + 1 + ] + ], + "doc": "Public: Moves the cursor to the top of the buffer. " + } + }, + "260": { + "16": { + "name": "moveToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 16 + ], + [ + 264, + 1 + ] + ], + "doc": "Public: Moves the cursor to the bottom of the buffer. " + } + }, + "264": { + "31": { + "name": "moveToBeginningOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 264, + 31 + ], + [ + 268, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the line. " + } + }, + "268": { + "25": { + "name": "moveToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 268, + 25 + ], + [ + 273, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the buffer line. " + } + }, + "273": { + "30": { + "name": "moveToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 273, + 30 + ], + [ + 283, + 1 + ] + ], + "doc": " Public: Moves the cursor to the beginning of the first character in the\nline. " + } + }, + "283": { + "25": { + "name": "skipLeadingWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 283, + 25 + ], + [ + 293, + 1 + ] + ], + "doc": " Public: Moves the cursor to the beginning of the buffer line, skipping all\nwhitespace. " + } + }, + "293": { + "25": { + "name": "moveToEndOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 293, + 25 + ], + [ + 297, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the line. " + } + }, + "297": { + "19": { + "name": "moveToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 19 + ], + [ + 301, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the buffer line. " + } + }, + "301": { + "25": { + "name": "moveToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 301, + 25 + ], + [ + 305, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the word. " + } + }, + "305": { + "19": { + "name": "moveToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 305, + 19 + ], + [ + 310, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the word. " + } + }, + "310": { + "29": { + "name": "moveToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 310, + 29 + ], + [ + 315, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the next word. " + } + }, + "315": { + "30": { + "name": "moveToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 30 + ], + [ + 320, + 1 + ] + ], + "doc": "Public: Moves the cursor to the previous word boundary. " + } + }, + "320": { + "26": { + "name": "moveToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 320, + 26 + ], + [ + 336, + 1 + ] + ], + "doc": "Public: Moves the cursor to the next word boundary. " + } + }, + "336": { + "43": { + "name": "getBeginningOfCurrentWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 336, + 43 + ], + [ + 358, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the current word starts.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n :allowPrevious - A {Boolean} indicating whether the beginning of the\n previous word can be returned.\n\nReturns a {Range}. " + } + }, + "358": { + "41": { + "name": "getPreviousWordBoundaryBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 358, + 41 + ], + [ + 380, + 1 + ] + ], + "doc": " Public: Retrieves buffer position of previous word boundary. It might be on\nthe current word, or the previous word. " + } + }, + "380": { + "41": { + "name": "getMoveNextWordBoundaryBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 380, + 41 + ], + [ + 409, + 1 + ] + ], + "doc": " Public: Retrieves buffer position of the next word boundary. It might be on\nthe current word, or the previous word. " + } + }, + "409": { + "37": { + "name": "getEndOfCurrentWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 409, + 37 + ], + [ + 430, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the current word ends.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp})\n :includeNonWordCharacters - A Boolean indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n\nReturns a {Range}. " + } + }, + "430": { + "40": { + "name": "getBeginningOfNextWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 430, + 40 + ], + [ + 447, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the next word starts.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n\nReturns a {Range}. " + } + }, + "447": { + "29": { + "name": "getCurrentWordBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 447, + 29 + ], + [ + 457, + 1 + ] + ], + "doc": " Public: Returns the buffer Range occupied by the word located under the cursor.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}). " + } + }, + "457": { + "29": { + "name": "getCurrentLineBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 457, + 29 + ], + [ + 461, + 1 + ] + ], + "doc": " Public: Returns the buffer Range for the current line.\n\noptions -\n :includeNewline: - A {Boolean} which controls whether the Range should\n include the newline. " + } + }, + "461": { + "34": { + "name": "moveToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 461, + 34 + ], + [ + 466, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the next paragraph " + } + }, + "466": { + "38": { + "name": "moveToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 466, + 38 + ], + [ + 470, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the previous paragraph " + } + }, + "470": { + "45": { + "name": "getBeginningOfNextParagraphBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 470, + 45 + ], + [ + 484, + 1 + ] + ], + "doc": "~Private~" + } + }, + "484": { + "49": { + "name": "getBeginningOfPreviousParagraphBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 484, + 49 + ], + [ + 502, + 1 + ] + ], + "doc": "~Private~" + } + }, + "502": { + "34": { + "name": "getCurrentParagraphBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 502, + 34 + ], + [ + 506, + 1 + ] + ], + "doc": " Public: Retrieves the range for the current paragraph.\n\nA paragraph is defined as a block of text surrounded by empty lines.\n\nReturns a {Range}. " + } + }, + "506": { + "24": { + "name": "getCurrentWordPrefix", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 506, + 24 + ], + [ + 510, + 1 + ] + ], + "doc": "Public: Returns the characters preceding the cursor in the current word. " + } + }, + "510": { + "23": { + "name": "isAtBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 510, + 23 + ], + [ + 514, + 1 + ] + ], + "doc": "Public: Returns whether the cursor is at the start of a line. " + } + }, + "514": { + "18": { + "name": "getIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 514, + 18 + ], + [ + 521, + 1 + ] + ], + "doc": "Public: Returns the indentation level of the current line. " + } + }, + "521": { + "17": { + "name": "isAtEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 521, + 17 + ], + [ + 527, + 1 + ] + ], + "doc": "Public: Returns whether the cursor is on the line return character. " + } + }, + "527": { + "13": { + "name": "getScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 527, + 13 + ], + [ + 532, + 1 + ] + ], + "doc": " Public: Retrieves the grammar's token scopes for the line.\n\nReturns an {Array} of {String}s. " + } + }, + "532": { + "32": { + "name": "hasPrecedingCharactersOnLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 532, + 32 + ], + [ + 540, + 50 + ] + ], + "doc": " Public: Returns true if this cursor has no non-whitespace characters before\nits current position. " + } + } + }, + "exports": 10 + }, + "src/cursors-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork@^0.11.1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork@^1.0.0", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "debounce", + "exportsProperty": "debounce" + }, + "11": { + "type": "import", + "range": [ + [ + 2, + 11 + ], + [ + 2, + 17 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "toArray", + "exportsProperty": "toArray" + }, + "20": { + "type": "import", + "range": [ + [ + 2, + 20 + ], + [ + 2, + 39 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "42": { + "type": "import", + "range": [ + [ + 2, + 42 + ], + [ + 2, + 48 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqual", + "exportsProperty": "isEqual" + } + }, + "3": { + "18": { + "name": "SubscriberMixin", + "type": "import", + "range": [ + [ + 3, + 18 + ], + [ + 3, + 45 + ] + ], + "bindingType": "variable", + "path": "./subscriber-mixin" + } + }, + "4": { + "18": { + "name": "CursorComponent", + "type": "import", + "range": [ + [ + 4, + 18 + ], + [ + 4, + 45 + ] + ], + "bindingType": "variable", + "path": "./cursor-component" + } + }, + "7": { + "19": { + "name": "CursorsComponent", + "type": "function", + "range": [ + [ + 7, + 19 + ], + [ + 60, + 37 + ] + ] + } + }, + "8": { + "15": { + "name": "'CursorsComponent'", + "type": "primitive", + "range": [ + [ + 8, + 15 + ], + [ + 8, + 32 + ] + ] + } + }, + "9": { + "10": { + "type": "primitive", + "range": [ + [ + 9, + 10 + ], + [ + 9, + 26 + ] + ] + } + }, + "11": { + "29": { + "type": "primitive", + "range": [ + [ + 11, + 29 + ], + [ + 11, + 32 + ] + ] + } + }, + "13": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 10 + ], + [ + 25, + 1 + ] + ], + "doc": null + } + }, + "25": { + "19": { + "name": "getInitialState", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 19 + ], + [ + 28, + 1 + ] + ], + "doc": null + } + }, + "28": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 21 + ], + [ + 31, + 1 + ] + ], + "doc": null + } + }, + "31": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 31, + 24 + ], + [ + 34, + 1 + ] + ], + "doc": null + } + }, + "34": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps", + "newState" + ], + "range": [ + [ + 34, + 25 + ], + [ + 38, + 1 + ] + ], + "doc": null + } + }, + "38": { + "23": { + "name": "componentWillUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 38, + 23 + ], + [ + 45, + 1 + ] + ], + "doc": null + } + }, + "45": { + "24": { + "name": "startBlinkingCursors", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 24 + ], + [ + 48, + 1 + ] + ], + "doc": null + } + }, + "48": { + "34": { + "type": "primitive", + "range": [ + [ + 48, + 34 + ], + [ + 48, + 37 + ] + ] + } + }, + "50": { + "23": { + "name": "stopBlinkingCursors", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 23 + ], + [ + 53, + 1 + ] + ], + "doc": null + } + }, + "53": { + "21": { + "name": "toggleCursorBlink", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 21 + ], + [ + 56, + 1 + ] + ], + "doc": null + } + }, + "56": { + "23": { + "name": "pauseCursorBlinking", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 23 + ], + [ + 60, + 37 + ] + ], + "doc": null + } + } + }, + "exports": 7 + }, + "src/custom-event-mixin.coffee": { + "objects": { + "2": { + "2": { + "type": "primitive", + "range": [ + [ + 2, + 2 + ], + [ + 14, + 52 + ] + ] + }, + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 2, + 22 + ], + [ + 5, + 1 + ] + ], + "doc": null + } + }, + "5": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 24 + ], + [ + 10, + 1 + ] + ], + "doc": null + } + }, + "10": { + "27": { + "name": "addCustomEventListeners", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "customEventListeners" + ], + "range": [ + [ + 10, + 27 + ], + [ + 14, + 52 + ] + ], + "doc": null + } + } + }, + "exports": 2 + }, + "src/decoration.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Subscriber", + "exportsProperty": "Subscriber" + }, + "13": { + "type": "import", + "range": [ + [ + 1, + 13 + ], + [ + 1, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "3": { + "12": { + "name": "0", + "type": "primitive", + "range": [ + [ + 3, + 12 + ], + [ + 3, + 12 + ] + ] + } + }, + "4": { + "9": { + "name": "nextId", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 4, + 9 + ], + [ + 4, + 22 + ] + ] + } + }, + "40": { + "0": { + "type": "class", + "name": "Decoration", + "bindingType": "exports", + "classProperties": [ + [ + 43, + 11 + ] + ], + "prototypeProperties": [ + [ + 49, + 15 + ], + [ + 59, + 11 + ], + [ + 70, + 10 + ], + [ + 79, + 13 + ], + [ + 82, + 13 + ], + [ + 89, + 10 + ], + [ + 92, + 18 + ], + [ + 98, + 9 + ], + [ + 104, + 20 + ] + ], + "doc": " Public: Represents a decoration that follows a {Marker}. A decoration is\nbasically a visual representation of a marker. It allows you to add CSS\nclasses to line numbers in the gutter, lines, and add selection-line regions\naround marked ranges of text.\n\n{Decoration} objects are not meant to be created directly, but created with\n{Editor::decorateMarker}. eg.\n\n```coffee\nrange = editor.getSelectedBufferRange() # any range you like\nmarker = editor.markBufferRange(range)\ndecoration = editor.decorateMarker(marker, {type: 'line', class: 'my-line-class'})\n```\n\nBest practice for destorying the decoration is by destroying the {Marker}.\n\n```\nmarker.destroy()\n```\n\nYou should only use {Decoration::destroy} when you still need or do not own\nthe marker.\n\n### IDs\nEach {Decoration} has a unique ID available via `decoration.id`.\n\n### Events\nA couple of events are emitted:\n\n* `destroyed`: When the {Decoration} is destroyed\n* `updated`: When the {Decoration} is updated via {Decoration::update}.\n Event object has properties `oldParams` and `newParams`\n\n ", + "range": [ + [ + 40, + 0 + ], + [ + 106, + 8 + ] + ] + } + }, + "43": { + "11": { + "name": "isType", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "decorationParams", + "type" + ], + "range": [ + [ + 43, + 11 + ], + [ + 49, + 1 + ] + ], + "doc": "~Private~" + } + }, + "49": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null, + null + ], + "range": [ + [ + 49, + 15 + ], + [ + 59, + 1 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 11 + ], + [ + 70, + 1 + ] + ], + "doc": " Public: Destroy this marker.\n\nIf you own the marker, you should use {Marker::destroy} which will destroy\nthis decoration. " + } + }, + "70": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "newParams" + ], + "range": [ + [ + 70, + 10 + ], + [ + 79, + 1 + ] + ], + "doc": " Public: Update the marker with new params. Allows you to change the decoration's class.\n\n```\ndecoration.update({type: 'gutter', class: 'my-new-class'})\n``` " + } + }, + "79": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 13 + ], + [ + 79, + 22 + ] + ], + "doc": "Public: Returns the marker associated with this {Decoration} " + } + }, + "82": { + "13": { + "name": "getParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 13 + ], + [ + 82, + 22 + ] + ], + "doc": "Public: Returns the {Decoration}'s params. " + } + }, + "89": { + "10": { + "name": "isType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "type" + ], + "range": [ + [ + 89, + 10 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "18": { + "name": "matchesPattern", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decorationPattern" + ], + "range": [ + [ + 92, + 18 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "9": { + "name": "flash", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass", + "duration" + ], + "range": [ + [ + 98, + 9 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "20": { + "name": "consumeNextFlash", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 20 + ], + [ + 106, + 8 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 40 + }, + "src/deserializer-manager.coffee": { + "objects": { + "20": { + "0": { + "type": "class", + "name": "DeserializerManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 21, + 15 + ], + [ + 27, + 7 + ], + [ + 33, + 10 + ], + [ + 41, + 15 + ], + [ + 54, + 7 + ] + ], + "doc": " Public: Manages the deserializers used for serialized state\n\nAn instance of this class is always available as the `atom.deserializers`\nglobal.\n\n### Registering a deserializer\n\n```coffee\nclass MyPackageView extends View\n atom.deserializers.add(this)\n\n @deserialize: (state) ->\n new MyPackageView(state)\n\n constructor: (@state) ->\n\n serialize: ->\n @state\n``` ", + "range": [ + [ + 20, + 0 + ], + [ + 58, + 24 + ] + ] + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 15 + ], + [ + 27, + 1 + ] + ] + } + }, + "27": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "classes" + ], + "range": [ + [ + 27, + 7 + ], + [ + 33, + 1 + ] + ], + "doc": " Public: Register the given class(es) as deserializers.\n\nclasses - One or more classes to register. " + } + }, + "33": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "classes" + ], + "range": [ + [ + 33, + 10 + ], + [ + 41, + 1 + ] + ], + "doc": " Public: Remove the given class(es) as deserializers.\n\nclasses - One or more classes to remove. " + } + }, + "41": { + "15": { + "name": "deserialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state", + "params" + ], + "range": [ + [ + 41, + 15 + ], + [ + 54, + 1 + ] + ], + "doc": " Public: Deserialize the state and params.\n\nstate - The state {Object} to deserialize.\nparams - The params {Object} to pass as the second arguments to the\n deserialize method of the deserializer. " + } + }, + "54": { + "7": { + "name": "get", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 54, + 7 + ], + [ + 58, + 24 + ] + ], + "doc": " Private: Get the deserializer for the state.\n\nstate - The state {Object} being deserialized. " + } + } + }, + "exports": 20 + }, + "src/display-buffer-marker.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 2, + 10 + ], + [ + 2, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "5": { + "0": { + "type": "class", + "name": "DisplayBufferMarker", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 9, + 28 + ], + [ + 10, + 25 + ], + [ + 11, + 25 + ], + [ + 12, + 25 + ], + [ + 13, + 25 + ], + [ + 14, + 12 + ], + [ + 16, + 15 + ], + [ + 27, + 8 + ], + [ + 33, + 18 + ], + [ + 40, + 18 + ], + [ + 46, + 18 + ], + [ + 53, + 18 + ], + [ + 56, + 17 + ], + [ + 62, + 25 + ], + [ + 69, + 25 + ], + [ + 76, + 25 + ], + [ + 83, + 25 + ], + [ + 89, + 25 + ], + [ + 96, + 25 + ], + [ + 103, + 25 + ], + [ + 110, + 25 + ], + [ + 117, + 26 + ], + [ + 124, + 26 + ], + [ + 131, + 24 + ], + [ + 138, + 24 + ], + [ + 146, + 13 + ], + [ + 150, + 13 + ], + [ + 153, + 11 + ], + [ + 157, + 14 + ], + [ + 162, + 11 + ], + [ + 169, + 15 + ], + [ + 172, + 17 + ], + [ + 175, + 17 + ], + [ + 178, + 21 + ], + [ + 183, + 11 + ], + [ + 187, + 11 + ], + [ + 191, + 11 + ], + [ + 195, + 11 + ], + [ + 198, + 13 + ], + [ + 202, + 19 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 230, + 23 + ] + ] + } + }, + "9": { + "28": { + "name": "bufferMarkerSubscription", + "type": "primitive", + "range": [ + [ + 9, + 28 + ], + [ + 9, + 31 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "25": { + "name": "oldHeadBufferPosition", + "type": "primitive", + "range": [ + [ + 10, + 25 + ], + [ + 10, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "11": { + "25": { + "name": "oldHeadScreenPosition", + "type": "primitive", + "range": [ + [ + 11, + 25 + ], + [ + 11, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "25": { + "name": "oldTailBufferPosition", + "type": "primitive", + "range": [ + [ + 12, + 25 + ], + [ + 12, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "13": { + "25": { + "name": "oldTailScreenPosition", + "type": "primitive", + "range": [ + [ + 13, + 25 + ], + [ + 13, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "12": { + "name": "wasValid", + "type": "primitive", + "range": [ + [ + 14, + 12 + ], + [ + 14, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 16, + 15 + ], + [ + 27, + 1 + ] + ], + "doc": "~Private~" + } + }, + "27": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 27, + 8 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 33, + 18 + ], + [ + 40, + 1 + ] + ], + "doc": " Private: Gets the screen range of the display marker.\n\nReturns a {Range}. " + } + }, + "40": { + "18": { + "name": "setScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 40, + 18 + ], + [ + 46, + 1 + ] + ], + "doc": " Private: Modifies the screen range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " + } + }, + "46": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 46, + 18 + ], + [ + 53, + 1 + ] + ], + "doc": " Private: Gets the buffer range of the display marker.\n\nReturns a {Range}. " + } + }, + "53": { + "18": { + "name": "setBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 53, + 18 + ], + [ + 56, + 1 + ] + ], + "doc": " Private: Modifies the buffer range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " + } + }, + "56": { + "17": { + "name": "getPixelRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 17 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "25": { + "name": "getHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 62, + 25 + ], + [ + 69, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's head.\n\nReturns a {Point}. " + } + }, + "69": { + "25": { + "name": "setHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 69, + 25 + ], + [ + 76, + 1 + ] + ], + "doc": " Private: Sets the screen position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "76": { + "25": { + "name": "getHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 25 + ], + [ + 83, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's head.\n\nReturns a {Point}. " + } + }, + "83": { + "25": { + "name": "setHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 83, + 25 + ], + [ + 89, + 1 + ] + ], + "doc": " Private: Sets the buffer position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "89": { + "25": { + "name": "getTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 25 + ], + [ + 96, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's tail.\n\nReturns a {Point}. " + } + }, + "96": { + "25": { + "name": "setTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 96, + 25 + ], + [ + 103, + 1 + ] + ], + "doc": " Private: Sets the screen position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "103": { + "25": { + "name": "getTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 103, + 25 + ], + [ + 110, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's tail.\n\nReturns a {Point}. " + } + }, + "110": { + "25": { + "name": "setTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 110, + 25 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: Sets the buffer position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "117": { + "26": { + "name": "getStartScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 26 + ], + [ + 124, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndScreenPosition}.\n\nReturns a {Point}. " + } + }, + "124": { + "26": { + "name": "getStartBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 26 + ], + [ + 131, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndBufferPosition}.\n\nReturns a {Point}. " + } + }, + "131": { + "24": { + "name": "getEndScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 131, + 24 + ], + [ + 138, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartScreenPosition}.\n\nReturns a {Point}. " + } + }, + "138": { + "24": { + "name": "getEndBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 24 + ], + [ + 146, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartBufferPosition}.\n\nReturns a {Point}. " + } + }, + "146": { + "13": { + "name": "plantTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 146, + 13 + ], + [ + 150, + 1 + ] + ], + "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " + } + }, + "150": { + "13": { + "name": "clearTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 150, + 13 + ], + [ + 153, + 1 + ] + ], + "doc": "Private: Removes the tail from the marker. " + } + }, + "153": { + "11": { + "name": "hasTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 153, + 11 + ], + [ + 157, + 1 + ] + ], + "doc": "~Private~" + } + }, + "157": { + "14": { + "name": "isReversed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 157, + 14 + ], + [ + 162, + 1 + ] + ], + "doc": "Private: Returns whether the head precedes the tail in the buffer " + } + }, + "162": { + "11": { + "name": "isValid", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 11 + ], + [ + 169, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the marker is valid. Markers can be\ninvalidated when a region surrounding them in the buffer is changed. " + } + }, + "169": { + "15": { + "name": "isDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 169, + 15 + ], + [ + 172, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the marker has been destroyed. A marker\ncan be invalid without being destroyed, in which case undoing the invalidating\noperation would restore the marker. Once a marker is destroyed by calling\n{Marker::destroy}, no undo/redo operation can ever bring it back. " + } + }, + "172": { + "17": { + "name": "getAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 172, + 17 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "17": { + "name": "setAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 175, + 17 + ], + [ + 178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "178": { + "21": { + "name": "matchesAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 178, + 21 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 183, + 11 + ], + [ + 187, + 1 + ] + ], + "doc": "Private: Destroys the marker " + } + }, + "187": { + "11": { + "name": "isEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 187, + 11 + ], + [ + 191, + 1 + ] + ], + "doc": "~Private~" + } + }, + "191": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 191, + 11 + ], + [ + 195, + 1 + ] + ], + "doc": "~Private~" + } + }, + "195": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 195, + 11 + ], + [ + 198, + 1 + ] + ], + "doc": "Private: Returns a {String} representation of the marker " + } + }, + "198": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 198, + 13 + ], + [ + 202, + 1 + ] + ], + "doc": "~Private~" + } + }, + "202": { + "19": { + "name": "notifyObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 202, + 19 + ], + [ + 230, + 23 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "src/display-buffer.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "2": { + "7": { + "name": "guid", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "guid@0.0.10" + } + }, + "3": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@^1" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Model", + "exportsProperty": "Model" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Range", + "exportsProperty": "Range" + } + }, + "6": { + "18": { + "name": "TokenizedBuffer", + "type": "import", + "range": [ + [ + 6, + 18 + ], + [ + 6, + 45 + ] + ], + "bindingType": "variable", + "path": "./tokenized-buffer" + } + }, + "7": { + "9": { + "name": "RowMap", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 27 + ] + ], + "bindingType": "variable", + "path": "./row-map" + } + }, + "8": { + "7": { + "name": "Fold", + "type": "import", + "range": [ + [ + 8, + 7 + ], + [ + 8, + 22 + ] + ], + "bindingType": "variable", + "path": "./fold" + } + }, + "9": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 9, + 8 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "10": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "11": { + "22": { + "name": "DisplayBufferMarker", + "type": "import", + "range": [ + [ + 11, + 22 + ], + [ + 11, + 54 + ] + ], + "bindingType": "variable", + "path": "./display-buffer-marker" + } + }, + "13": { + "0": { + "type": "class", + "name": "BufferToScreenConversionError", + "classProperties": [], + "prototypeProperties": [ + [ + 14, + 15 + ] + ], + "doc": "~Private~", + "range": [ + [ + 13, + 0 + ], + [ + 17, + 0 + ] + ] + } + }, + "14": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 14, + 15 + ], + [ + 17, + 0 + ] + ] + } + }, + "19": { + "0": { + "type": "class", + "name": "DisplayBuffer", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 34, + 24 + ], + [ + 35, + 26 + ], + [ + 36, + 29 + ], + [ + 37, + 26 + ], + [ + 38, + 36 + ], + [ + 40, + 15 + ], + [ + 70, + 19 + ], + [ + 78, + 21 + ], + [ + 82, + 8 + ], + [ + 91, + 24 + ], + [ + 97, + 15 + ], + [ + 104, + 28 + ], + [ + 115, + 14 + ], + [ + 117, + 27 + ], + [ + 118, + 27 + ], + [ + 120, + 29 + ], + [ + 121, + 29 + ], + [ + 123, + 32 + ], + [ + 124, + 32 + ], + [ + 126, + 29 + ], + [ + 127, + 29 + ], + [ + 129, + 13 + ], + [ + 138, + 13 + ], + [ + 140, + 19 + ], + [ + 146, + 18 + ], + [ + 152, + 26 + ], + [ + 160, + 24 + ], + [ + 167, + 12 + ], + [ + 176, + 12 + ], + [ + 183, + 16 + ], + [ + 184, + 16 + ], + [ + 190, + 19 + ], + [ + 193, + 19 + ], + [ + 194, + 19 + ], + [ + 198, + 17 + ], + [ + 199, + 17 + ], + [ + 206, + 20 + ], + [ + 209, + 18 + ], + [ + 210, + 18 + ], + [ + 214, + 25 + ], + [ + 215, + 25 + ], + [ + 217, + 23 + ], + [ + 218, + 23 + ], + [ + 224, + 18 + ], + [ + 226, + 22 + ], + [ + 229, + 23 + ], + [ + 237, + 29 + ], + [ + 244, + 22 + ], + [ + 249, + 26 + ], + [ + 253, + 25 + ], + [ + 256, + 19 + ], + [ + 261, + 18 + ], + [ + 264, + 22 + ], + [ + 273, + 29 + ], + [ + 277, + 38 + ], + [ + 281, + 23 + ], + [ + 311, + 26 + ], + [ + 314, + 26 + ], + [ + 317, + 27 + ], + [ + 333, + 16 + ], + [ + 339, + 16 + ], + [ + 343, + 15 + ], + [ + 346, + 15 + ], + [ + 351, + 25 + ], + [ + 359, + 25 + ], + [ + 367, + 21 + ], + [ + 378, + 14 + ], + [ + 387, + 16 + ], + [ + 393, + 12 + ], + [ + 396, + 22 + ], + [ + 406, + 27 + ], + [ + 416, + 14 + ], + [ + 422, + 23 + ], + [ + 425, + 23 + ], + [ + 429, + 21 + ], + [ + 435, + 19 + ], + [ + 446, + 34 + ], + [ + 454, + 28 + ], + [ + 466, + 34 + ], + [ + 477, + 34 + ], + [ + 482, + 34 + ], + [ + 493, + 28 + ], + [ + 502, + 25 + ], + [ + 505, + 29 + ], + [ + 513, + 25 + ], + [ + 521, + 29 + ], + [ + 532, + 29 + ], + [ + 538, + 28 + ], + [ + 542, + 34 + ], + [ + 561, + 34 + ], + [ + 581, + 34 + ], + [ + 587, + 16 + ], + [ + 593, + 14 + ], + [ + 599, + 20 + ], + [ + 605, + 23 + ], + [ + 617, + 35 + ], + [ + 651, + 35 + ], + [ + 661, + 27 + ], + [ + 664, + 33 + ], + [ + 672, + 26 + ], + [ + 678, + 14 + ], + [ + 684, + 14 + ], + [ + 688, + 17 + ], + [ + 704, + 22 + ], + [ + 740, + 18 + ], + [ + 758, + 20 + ], + [ + 761, + 19 + ], + [ + 764, + 32 + ], + [ + 771, + 18 + ], + [ + 793, + 20 + ], + [ + 804, + 33 + ], + [ + 810, + 31 + ], + [ + 818, + 21 + ], + [ + 826, + 13 + ], + [ + 836, + 14 + ], + [ + 839, + 18 + ], + [ + 848, + 19 + ], + [ + 858, + 19 + ], + [ + 867, + 22 + ], + [ + 876, + 22 + ], + [ + 882, + 17 + ], + [ + 891, + 14 + ], + [ + 912, + 15 + ], + [ + 916, + 33 + ], + [ + 954, + 18 + ], + [ + 957, + 19 + ], + [ + 960, + 27 + ], + [ + 963, + 24 + ], + [ + 966, + 25 + ], + [ + 970, + 32 + ], + [ + 974, + 13 + ], + [ + 979, + 12 + ], + [ + 984, + 31 + ], + [ + 989, + 21 + ], + [ + 1015, + 20 + ], + [ + 1061, + 21 + ], + [ + 1083, + 22 + ], + [ + 1088, + 30 + ], + [ + 1093, + 29 + ], + [ + 1097, + 23 + ], + [ + 1101, + 17 + ] + ], + "doc": "~Private~", + "range": [ + [ + 19, + 0 + ], + [ + 1102, + 31 + ] + ] + } + }, + "34": { + "24": { + "name": "verticalScrollMargin", + "type": "primitive", + "range": [ + [ + 34, + 24 + ], + [ + 34, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "35": { + "26": { + "name": "horizontalScrollMargin", + "type": "primitive", + "range": [ + [ + 35, + 26 + ], + [ + 35, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "36": { + "29": { + "name": "horizontalScrollbarHeight", + "type": "primitive", + "range": [ + [ + 36, + 29 + ], + [ + 36, + 30 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "37": { + "26": { + "name": "verticalScrollbarWidth", + "type": "primitive", + "range": [ + [ + 37, + 26 + ], + [ + 37, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "38": { + "36": { + "name": "scopedCharacterWidthsChangeCount", + "type": "primitive", + "range": [ + [ + 38, + 36 + ], + [ + 38, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "40": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 40, + 15 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 70, + 19 + ], + [ + 78, + 1 + ] + ], + "doc": "~Private~" + } + }, + "78": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 78, + 21 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 8 + ], + [ + 91, + 1 + ] + ], + "doc": "~Private~" + } + }, + "91": { + "24": { + "name": "updateAllScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 24 + ], + [ + 97, + 1 + ] + ], + "doc": "~Private~" + } + }, + "97": { + "15": { + "name": "emitChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventProperties", + "refreshMarkers" + ], + "range": [ + [ + 97, + 15 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "28": { + "name": "updateWrappedScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 28 + ], + [ + 115, + 1 + ] + ], + "doc": "~Private~" + } + }, + "115": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 115, + 14 + ], + [ + 115, + 62 + ] + ], + "doc": " Private: Sets the visibility of the tokenized buffer.\n\nvisible - A {Boolean} indicating of the tokenized buffer is shown " + } + }, + "117": { + "27": { + "name": "getVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 27 + ], + [ + 117, + 50 + ] + ], + "doc": "~Private~" + } + }, + "118": { + "27": { + "name": "setVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 118, + 27 + ], + [ + 118, + 74 + ] + ] + } + }, + "120": { + "29": { + "name": "getHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 120, + 29 + ], + [ + 120, + 54 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "29": { + "name": "setHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 121, + 29 + ], + [ + 121, + 80 + ] + ] + } + }, + "123": { + "32": { + "name": "getHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 123, + 32 + ], + [ + 123, + 60 + ] + ], + "doc": "~Private~" + } + }, + "124": { + "32": { + "name": "setHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 124, + 32 + ], + [ + 124, + 89 + ] + ] + } + }, + "126": { + "29": { + "name": "getVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 29 + ], + [ + 126, + 54 + ] + ], + "doc": "~Private~" + } + }, + "127": { + "29": { + "name": "setVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 127, + 29 + ], + [ + 127, + 80 + ] + ] + } + }, + "129": { + "13": { + "name": "getHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 129, + 13 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "13": { + "name": "setHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 138, + 13 + ], + [ + 138, + 32 + ] + ], + "doc": "~Private~" + } + }, + "140": { + "19": { + "name": "getClientHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 140, + 19 + ], + [ + 146, + 1 + ] + ], + "doc": "~Private~" + } + }, + "146": { + "18": { + "name": "getClientWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 146, + 18 + ], + [ + 152, + 1 + ] + ], + "doc": "~Private~" + } + }, + "152": { + "26": { + "name": "horizontallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 152, + 26 + ], + [ + 160, + 1 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "24": { + "name": "verticallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 160, + 24 + ], + [ + 167, + 1 + ] + ], + "doc": "~Private~" + } + }, + "167": { + "12": { + "name": "getWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 167, + 12 + ], + [ + 176, + 1 + ] + ], + "doc": "~Private~" + } + }, + "176": { + "12": { + "name": "setWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "newWidth" + ], + "range": [ + [ + 176, + 12 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "16": { + "name": "getScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 183, + 16 + ], + [ + 183, + 28 + ] + ], + "doc": "~Private~" + } + }, + "184": { + "16": { + "name": "setScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 184, + 16 + ], + [ + 190, + 1 + ] + ] + } + }, + "190": { + "19": { + "name": "getMaxScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 19 + ], + [ + 193, + 1 + ] + ], + "doc": "~Private~" + } + }, + "193": { + "19": { + "name": "getScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 193, + 19 + ], + [ + 193, + 41 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "19": { + "name": "setScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 194, + 19 + ], + [ + 198, + 1 + ] + ] + } + }, + "198": { + "17": { + "name": "getScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 198, + 17 + ], + [ + 198, + 30 + ] + ], + "doc": "~Private~" + } + }, + "199": { + "17": { + "name": "setScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 199, + 17 + ], + [ + 206, + 1 + ] + ] + } + }, + "206": { + "20": { + "name": "getMaxScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 206, + 20 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "18": { + "name": "getScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 209, + 18 + ], + [ + 209, + 40 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "18": { + "name": "setScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 210, + 18 + ], + [ + 214, + 1 + ] + ] + } + }, + "214": { + "25": { + "name": "getLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 214, + 25 + ], + [ + 214, + 46 + ] + ], + "doc": "~Private~" + } + }, + "215": { + "25": { + "name": "setLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 215, + 25 + ], + [ + 215, + 68 + ] + ] + } + }, + "217": { + "23": { + "name": "getDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 217, + 23 + ], + [ + 217, + 42 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "23": { + "name": "setDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultCharWidth" + ], + "range": [ + [ + 218, + 23 + ], + [ + 224, + 1 + ] + ] + } + }, + "224": { + "18": { + "name": "getCursorWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 18 + ], + [ + 224, + 21 + ] + ], + "doc": "~Private~" + } + }, + "226": { + "22": { + "name": "getScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char" + ], + "range": [ + [ + 226, + 22 + ], + [ + 229, + 1 + ] + ], + "doc": "~Private~" + } + }, + "229": { + "23": { + "name": "getScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames" + ], + "range": [ + [ + 229, + 23 + ], + [ + 237, + 1 + ] + ], + "doc": "~Private~" + } + }, + "237": { + "29": { + "name": "batchCharacterMeasurement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 237, + 29 + ], + [ + 244, + 1 + ] + ], + "doc": "~Private~" + } + }, + "244": { + "22": { + "name": "setScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char", + "width" + ], + "range": [ + [ + 244, + 22 + ], + [ + 249, + 1 + ] + ], + "doc": "~Private~" + } + }, + "249": { + "26": { + "name": "characterWidthsChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 249, + 26 + ], + [ + 253, + 1 + ] + ], + "doc": "~Private~" + } + }, + "253": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 253, + 25 + ], + [ + 256, + 1 + ] + ], + "doc": "~Private~" + } + }, + "256": { + "19": { + "name": "getScrollHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 19 + ], + [ + 261, + 1 + ] + ], + "doc": "~Private~" + } + }, + "261": { + "18": { + "name": "getScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 18 + ], + [ + 264, + 1 + ] + ], + "doc": "~Private~" + } + }, + "264": { + "22": { + "name": "getVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 264, + 22 + ], + [ + 273, + 1 + ] + ], + "doc": "~Private~" + } + }, + "273": { + "29": { + "name": "intersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 273, + 29 + ], + [ + 277, + 1 + ] + ], + "doc": "~Private~" + } + }, + "277": { + "38": { + "name": "selectionIntersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 277, + 38 + ], + [ + 281, + 1 + ] + ], + "doc": "~Private~" + } + }, + "281": { + "23": { + "name": "scrollToScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 281, + 23 + ], + [ + 311, + 1 + ] + ], + "doc": "~Private~" + } + }, + "311": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 311, + 26 + ], + [ + 314, + 1 + ] + ], + "doc": "~Private~" + } + }, + "314": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 314, + 26 + ], + [ + 317, + 1 + ] + ], + "doc": "~Private~" + } + }, + "317": { + "27": { + "name": "pixelRectForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 317, + 27 + ], + [ + 333, + 1 + ] + ], + "doc": "~Private~" + } + }, + "333": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 333, + 16 + ], + [ + 339, + 1 + ] + ], + "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " + } + }, + "339": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 339, + 16 + ], + [ + 343, + 1 + ] + ], + "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " + } + }, + "343": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 343, + 15 + ], + [ + 343, + 38 + ] + ], + "doc": "Deprecated: Use the softWrap property directly " + } + }, + "346": { + "15": { + "name": "getSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 15 + ], + [ + 346, + 26 + ] + ], + "doc": "Deprecated: Use the softWrap property directly " + } + }, + "351": { + "25": { + "name": "setEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorWidthInChars" + ], + "range": [ + [ + 351, + 25 + ], + [ + 359, + 1 + ] + ], + "doc": " Private: Set the number of characters that fit horizontally in the editor.\n\neditorWidthInChars - A {Number} of characters. " + } + }, + "359": { + "25": { + "name": "getEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 359, + 25 + ], + [ + 367, + 1 + ] + ], + "doc": "Private: Returns the editor width in characters for soft wrap. " + } + }, + "367": { + "21": { + "name": "getSoftWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 367, + 21 + ], + [ + 378, + 1 + ] + ], + "doc": "~Private~" + } + }, + "378": { + "14": { + "name": "lineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 378, + 14 + ], + [ + 387, + 1 + ] + ], + "doc": " Private: Gets the screen line for the given screen row.\n\nscreenRow - A {Number} indicating the screen row.\n\nReturns a {ScreenLine}. " + } + }, + "387": { + "16": { + "name": "linesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 387, + 16 + ], + [ + 393, + 1 + ] + ], + "doc": " Private: Gets the screen lines for the given screen row range.\n\nstartRow - A {Number} indicating the beginning screen row.\nendRow - A {Number} indicating the ending screen row.\n\nReturns an {Array} of {ScreenLine}s. " + } + }, + "393": { + "12": { + "name": "getLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 393, + 12 + ], + [ + 396, + 1 + ] + ], + "doc": " Private: Gets all the screen lines.\n\nReturns an {Array} of {ScreenLines}s. " + } + }, + "396": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 396, + 22 + ], + [ + 406, + 1 + ] + ], + "doc": "~Private~" + } + }, + "406": { + "27": { + "name": "bufferRowsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 406, + 27 + ], + [ + 416, + 1 + ] + ], + "doc": " Private: Given starting and ending screen rows, this returns an array of the\nbuffer rows corresponding to every screen row in the range\n\nstartScreenRow - The screen row {Number} to start at\nendScreenRow - The screen row {Number} to end at (default: the last screen row)\n\nReturns an {Array} of buffer rows as {Numbers}s. " + } + }, + "416": { + "14": { + "name": "createFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 416, + 14 + ], + [ + 422, + 1 + ] + ], + "doc": " Private: Creates a new fold between two row numbers.\n\nstartRow - The row {Number} to start folding at\nendRow - The row {Number} to end the fold\n\nReturns the new {Fold}. " + } + }, + "422": { + "23": { + "name": "isFoldedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 422, + 23 + ], + [ + 425, + 1 + ] + ], + "doc": "~Private~" + } + }, + "425": { + "23": { + "name": "isFoldedAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 425, + 23 + ], + [ + 429, + 1 + ] + ], + "doc": "~Private~" + } + }, + "429": { + "21": { + "name": "destroyFoldWithId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 429, + 21 + ], + [ + 435, + 1 + ] + ], + "doc": "Private: Destroys the fold with the given id " + } + }, + "435": { + "19": { + "name": "unfoldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 435, + 19 + ], + [ + 446, + 1 + ] + ], + "doc": " Private: Removes any folds found that contain the given buffer row.\n\nbufferRow - The buffer row {Number} to check against " + } + }, + "446": { + "34": { + "name": "largestFoldStartingAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 446, + 34 + ], + [ + 454, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold} or null if none exists. " + } + }, + "454": { + "28": { + "name": "foldsStartingAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 454, + 28 + ], + [ + 466, + 1 + ] + ], + "doc": " Public: Given a buffer row, this returns all folds that start there.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " + } + }, + "466": { + "34": { + "name": "largestFoldStartingAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 466, + 34 + ], + [ + 477, + 1 + ] + ], + "doc": " Private: Given a screen row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nscreenRow - A {Number} indicating the screen row\n\nReturns a {Fold}. " + } + }, + "477": { + "34": { + "name": "largestFoldContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 477, + 34 + ], + [ + 482, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns the largest fold that includes it.\n\nLargest is defined as the fold whose difference between its start and end rows\nis the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold}. " + } + }, + "482": { + "34": { + "name": "outermostFoldsInBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 482, + 34 + ], + [ + 493, + 1 + ] + ], + "doc": " Private: Returns the folds in the given row range (exclusive of end row) that are\nnot contained by any other folds. " + } + }, + "493": { + "28": { + "name": "foldsContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 493, + 28 + ], + [ + 502, + 1 + ] + ], + "doc": " Public: Given a buffer row, this returns folds that include it.\n\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " + } + }, + "502": { + "25": { + "name": "screenRowForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 502, + 25 + ], + [ + 505, + 1 + ] + ], + "doc": " Private: Given a buffer row, this converts it into a screen row.\n\nbufferRow - A {Number} representing a buffer row\n\nReturns a {Number}. " + } + }, + "505": { + "29": { + "name": "lastScreenRowForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 505, + 29 + ], + [ + 513, + 1 + ] + ], + "doc": "~Private~" + } + }, + "513": { + "25": { + "name": "bufferRowForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 513, + 25 + ], + [ + 521, + 1 + ] + ], + "doc": " Private: Given a screen row, this converts it into a buffer row.\n\nscreenRow - A {Number} representing a screen row\n\nReturns a {Number}. " + } + }, + "521": { + "29": { + "name": "screenRangeForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 521, + 29 + ], + [ + 532, + 1 + ] + ], + "doc": " Private: Given a buffer range, this converts it into a screen position.\n\nbufferRange - The {Range} to convert\n\nReturns a {Range}. " + } + }, + "532": { + "29": { + "name": "bufferRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 532, + 29 + ], + [ + 538, + 1 + ] + ], + "doc": " Private: Given a screen range, this converts it into a buffer position.\n\nscreenRange - The {Range} to convert\n\nReturns a {Range}. " + } + }, + "538": { + "28": { + "name": "pixelRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "clip" + ], + "range": [ + [ + 538, + 28 + ], + [ + 542, + 1 + ] + ], + "doc": "~Private~" + } + }, + "542": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "clip" + ], + "range": [ + [ + 542, + 34 + ], + [ + 561, + 1 + ] + ], + "doc": "~Private~" + } + }, + "561": { + "34": { + "name": "screenPositionForPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 561, + 34 + ], + [ + 581, + 1 + ] + ], + "doc": "~Private~" + } + }, + "581": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 581, + 34 + ], + [ + 587, + 1 + ] + ], + "doc": "~Private~" + } + }, + "587": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 587, + 16 + ], + [ + 593, + 1 + ] + ], + "doc": " Private: Gets the number of screen lines.\n\nReturns a {Number}. " + } + }, + "593": { + "14": { + "name": "getLastRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 593, + 14 + ], + [ + 599, + 1 + ] + ], + "doc": " Private: Gets the number of the last screen line.\n\nReturns a {Number}. " + } + }, + "599": { + "20": { + "name": "getMaxLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 599, + 20 + ], + [ + 605, + 1 + ] + ], + "doc": " Private: Gets the length of the longest screen line.\n\nReturns a {Number}. " + } + }, + "605": { + "23": { + "name": "getLongestScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 605, + 23 + ], + [ + 617, + 1 + ] + ], + "doc": " Private: Gets the row number of the longest screen line.\n\nReturn a {} " + } + }, + "617": { + "35": { + "name": "screenPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 617, + 35 + ], + [ + 651, + 1 + ] + ], + "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " + } + }, + "651": { + "35": { + "name": "bufferPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 651, + 35 + ], + [ + 661, + 1 + ] + ], + "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " + } + }, + "661": { + "27": { + "name": "scopesForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 661, + 27 + ], + [ + 664, + 1 + ] + ], + "doc": " Private: Retrieves the grammar's token scopes for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}\n\nReturns an {Array} of {String}s. " + } + }, + "664": { + "33": { + "name": "bufferRangeForScopeAtPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "position" + ], + "range": [ + [ + 664, + 33 + ], + [ + 672, + 1 + ] + ], + "doc": "~Private~" + } + }, + "672": { + "26": { + "name": "tokenForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 672, + 26 + ], + [ + 678, + 1 + ] + ], + "doc": " Private: Retrieves the grammar's token for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}.\n\nReturns a {Token}. " + } + }, + "678": { + "14": { + "name": "getGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 678, + 14 + ], + [ + 684, + 1 + ] + ], + "doc": " Private: Get the grammar for this buffer.\n\nReturns the current {Grammar} or the {NullGrammar}. " + } + }, + "684": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 684, + 14 + ], + [ + 688, + 1 + ] + ], + "doc": " Private: Sets the grammar for the buffer.\n\ngrammar - Sets the new grammar rules " + } + }, + "688": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 688, + 17 + ], + [ + 704, + 1 + ] + ], + "doc": "Private: Reloads the current grammar. " + } + }, + "704": { + "22": { + "name": "clipScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 704, + 22 + ], + [ + 740, + 1 + ] + ], + "doc": " Private: Given a position, this clips it to a real position.\n\nFor example, if `position`'s row exceeds the row count of the buffer,\nor if its column goes beyond a line's length, this \"sanitizes\" the value\nto a real position.\n\nposition - The {Point} to clip\noptions - A hash with the following values:\n wrapBeyondNewlines: if `true`, continues wrapping past newlines\n wrapAtSoftNewlines: if `true`, continues wrapping past soft newlines\n screenLine: if `true`, indicates that you're using a line number, not a row number\n\nReturns the new, clipped {Point}. Note that this could be the same as `position` if no clipping was performed. " + } + }, + "740": { + "18": { + "name": "findWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line", + "softWrapColumn" + ], + "range": [ + [ + 740, + 18 + ], + [ + 758, + 1 + ] + ], + "doc": " Private: Given a line, finds the point where it would wrap.\n\nline - The {String} to check\nsoftWrapColumn - The {Number} where you want soft wrapping to occur\n\nReturns a {Number} representing the `line` position where the wrap would take place.\nReturns `null` if a wrap wouldn't occur. " + } + }, + "758": { + "20": { + "name": "rangeForAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 758, + 20 + ], + [ + 761, + 1 + ] + ], + "doc": " Private: Calculates a {Range} representing the start of the {TextBuffer} until the end.\n\nReturns a {Range}. " + } + }, + "761": { + "19": { + "name": "decorationForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 761, + 19 + ], + [ + 764, + 1 + ] + ], + "doc": "~Private~" + } + }, + "764": { + "32": { + "name": "decorationsForScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 764, + 32 + ], + [ + 771, + 1 + ] + ], + "doc": "~Private~" + } + }, + "771": { + "18": { + "name": "decorateMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "decorationParams" + ], + "range": [ + [ + 771, + 18 + ], + [ + 793, + 1 + ] + ], + "doc": "~Private~" + } + }, + "793": { + "20": { + "name": "removeDecoration", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decoration" + ], + "range": [ + [ + 793, + 20 + ], + [ + 804, + 1 + ] + ], + "doc": "~Private~" + } + }, + "804": { + "33": { + "name": "removeAllDecorationsForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 804, + 33 + ], + [ + 810, + 1 + ] + ], + "doc": "~Private~" + } + }, + "810": { + "31": { + "name": "removedAllMarkerDecorations", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 810, + 31 + ], + [ + 818, + 1 + ] + ], + "doc": "~Private~" + } + }, + "818": { + "21": { + "name": "decorationUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decoration" + ], + "range": [ + [ + 818, + 21 + ], + [ + 826, + 1 + ] + ], + "doc": "~Private~" + } + }, + "826": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 826, + 13 + ], + [ + 836, + 1 + ] + ], + "doc": " Private: Retrieves a {DisplayBufferMarker} based on its id.\n\nid - A {Number} representing a marker id\n\nReturns the {DisplayBufferMarker} (if it exists). " + } + }, + "836": { + "14": { + "name": "getMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 836, + 14 + ], + [ + 839, + 1 + ] + ], + "doc": " Private: Retrieves the active markers in the buffer.\n\nReturns an {Array} of existing {DisplayBufferMarker}s. " + } + }, + "839": { + "18": { + "name": "getMarkerCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 839, + 18 + ], + [ + 848, + 1 + ] + ], + "doc": "~Private~" + } + }, + "848": { + "19": { + "name": "markScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 848, + 19 + ], + [ + 858, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given screen range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "858": { + "19": { + "name": "markBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range", + "options" + ], + "range": [ + [ + 858, + 19 + ], + [ + 867, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given buffer range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "867": { + "22": { + "name": "markScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 867, + 22 + ], + [ + 876, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given screen position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "876": { + "22": { + "name": "markBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 876, + 22 + ], + [ + 882, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given buffer position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "882": { + "17": { + "name": "destroyMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 882, + 17 + ], + [ + 891, + 1 + ] + ], + "doc": " Public: Removes the marker with the given id.\n\nid - The {Number} of the ID to remove " + } + }, + "891": { + "14": { + "name": "findMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 891, + 14 + ], + [ + 912, + 1 + ] + ], + "doc": " Private: Finds the first marker satisfying the given attributes\n\nRefer to {DisplayBuffer::findMarkers} for details.\n\nReturns a {DisplayBufferMarker} or null " + } + }, + "912": { + "15": { + "name": "findMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 912, + 15 + ], + [ + 916, + 1 + ] + ], + "doc": " Public: Find all markers satisfying a set of parameters.\n\nparams - An {Object} containing parameters that all returned markers must\n satisfy. Unreserved keys will be compared against the markers' custom\n properties. There are also the following reserved keys with special\n meaning for the query:\n :startBufferRow - A {Number}. Only returns markers starting at this row in\n buffer coordinates.\n :endBufferRow - A {Number}. Only returns markers ending at this row in\n buffer coordinates.\n :containsBufferRange - A {Range} or range-compatible {Array}. Only returns\n markers containing this range in buffer coordinates.\n :containsBufferPosition - A {Point} or point-compatible {Array}. Only\n returns markers containing this position in buffer coordinates.\n :containedInBufferRange - A {Range} or range-compatible {Array}. Only\n returns markers contained within this range.\n\nReturns an {Array} of {DisplayBufferMarker}s " + } + }, + "916": { + "33": { + "name": "translateToBufferMarkerParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 916, + 33 + ], + [ + 954, + 1 + ] + ], + "doc": "~Private~" + } + }, + "954": { + "18": { + "name": "findFoldMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 954, + 18 + ], + [ + 957, + 1 + ] + ], + "doc": "~Private~" + } + }, + "957": { + "19": { + "name": "findFoldMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 957, + 19 + ], + [ + 960, + 1 + ] + ], + "doc": "~Private~" + } + }, + "960": { + "27": { + "name": "getFoldMarkerAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 960, + 27 + ], + [ + 963, + 1 + ] + ], + "doc": "~Private~" + } + }, + "963": { + "24": { + "name": "pauseMarkerObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 963, + 24 + ], + [ + 966, + 1 + ] + ], + "doc": "~Private~" + } + }, + "966": { + "25": { + "name": "resumeMarkerObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 966, + 25 + ], + [ + 970, + 1 + ] + ], + "doc": "~Private~" + } + }, + "970": { + "32": { + "name": "refreshMarkerScreenPositions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 970, + 32 + ], + [ + 974, + 1 + ] + ], + "doc": "~Private~" + } + }, + "974": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 974, + 13 + ], + [ + 979, + 1 + ] + ], + "doc": "~Private~" + } + }, + "979": { + "12": { + "name": "logLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 979, + 12 + ], + [ + 984, + 1 + ] + ], + "doc": "~Private~" + } + }, + "984": { + "31": { + "name": "handleTokenizedBufferChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tokenizedBufferChange" + ], + "range": [ + [ + 984, + 31 + ], + [ + 989, + 1 + ] + ], + "doc": "~Private~" + } + }, + "989": { + "21": { + "name": "updateScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "endBufferRow", + "bufferDelta", + "options" + ], + "range": [ + [ + 989, + 21 + ], + [ + 1015, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1015": { + "20": { + "name": "buildScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "endBufferRow" + ], + "range": [ + [ + 1015, + 20 + ], + [ + 1061, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1061": { + "21": { + "name": "findMaxLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow", + "newScreenLines", + "screenDelta" + ], + "range": [ + [ + 1061, + 21 + ], + [ + 1083, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1083": { + "22": { + "name": "computeScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1083, + 22 + ], + [ + 1088, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1088": { + "30": { + "name": "handleBufferMarkersUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1088, + 30 + ], + [ + 1093, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1093": { + "29": { + "name": "handleBufferMarkerCreated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1093, + 29 + ], + [ + 1097, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1097": { + "23": { + "name": "createFoldForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1097, + 23 + ], + [ + 1101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1101": { + "17": { + "name": "foldForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1101, + 17 + ], + [ + 1102, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 19 + }, + "src/editor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "10": { + "type": "import", + "range": [ + [ + 0, + 10 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$$", + "exportsProperty": "$$$" + } + }, + "1": { + "13": { + "name": "GutterView", + "type": "import", + "range": [ + [ + 1, + 13 + ], + [ + 1, + 35 + ] + ], + "bindingType": "variable", + "path": "./gutter-view" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Range", + "exportsProperty": "Range" + } + }, + "3": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 3, + 9 + ], + [ + 3, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "4": { + "13": { + "name": "CursorView", + "type": "import", + "range": [ + [ + 4, + 13 + ], + [ + 4, + 35 + ] + ], + "bindingType": "variable", + "path": "./cursor-view" + } + }, + "5": { + "16": { + "name": "SelectionView", + "type": "import", + "range": [ + [ + 5, + 16 + ], + [ + 5, + 41 + ] + ], + "bindingType": "variable", + "path": "./selection-view" + } + }, + "6": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 6, + 5 + ], + [ + 6, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "7": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "8": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 8, + 13 + ], + [ + 8, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0" + } + }, + "10": { + "15": { + "name": "MeasureRange", + "type": "function", + "range": [ + [ + 10, + 15 + ], + [ + 10, + 36 + ] + ] + } + }, + "11": { + "17": { + "type": "primitive", + "range": [ + [ + 11, + 17 + ], + [ + 11, + 59 + ] + ] + }, + "31": { + "name": "acceptNode", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 11, + 31 + ], + [ + 11, + 57 + ] + ], + "doc": null + } + }, + "12": { + "10": { + "type": "primitive", + "range": [ + [ + 12, + 10 + ], + [ + 12, + 21 + ] + ] + } + }, + "13": { + "17": { + "name": "1000", + "type": "primitive", + "range": [ + [ + 13, + 17 + ], + [ + 13, + 20 + ] + ] + } + }, + "41": { + "0": { + "type": "class", + "name": "EditorView", + "bindingType": "exports", + "classProperties": [ + [ + 42, + 24 + ], + [ + 44, + 4 + ], + [ + 61, + 17 + ], + [ + 63, + 12 + ], + [ + 76, + 12 + ], + [ + 1271, + 21 + ], + [ + 1485, + 18 + ], + [ + 1513, + 21 + ], + [ + 1529, + 14 + ], + [ + 1533, + 13 + ], + [ + 1537, + 23 + ] + ], + "prototypeProperties": [ + [ + 81, + 17 + ], + [ + 82, + 17 + ], + [ + 83, + 14 + ], + [ + 84, + 13 + ], + [ + 85, + 14 + ], + [ + 86, + 15 + ], + [ + 87, + 18 + ], + [ + 88, + 13 + ], + [ + 89, + 13 + ], + [ + 90, + 10 + ], + [ + 91, + 12 + ], + [ + 92, + 16 + ], + [ + 93, + 18 + ], + [ + 94, + 14 + ], + [ + 95, + 17 + ], + [ + 96, + 20 + ], + [ + 97, + 24 + ], + [ + 106, + 14 + ], + [ + 141, + 12 + ], + [ + 251, + 13 + ], + [ + 255, + 11 + ], + [ + 259, + 11 + ], + [ + 263, + 14 + ], + [ + 266, + 20 + ], + [ + 271, + 19 + ], + [ + 277, + 12 + ], + [ + 284, + 10 + ], + [ + 292, + 15 + ], + [ + 298, + 21 + ], + [ + 310, + 17 + ], + [ + 322, + 22 + ], + [ + 332, + 22 + ], + [ + 337, + 22 + ], + [ + 341, + 16 + ], + [ + 345, + 13 + ], + [ + 354, + 16 + ], + [ + 436, + 21 + ], + [ + 476, + 28 + ], + [ + 479, + 33 + ], + [ + 505, + 15 + ], + [ + 538, + 8 + ], + [ + 586, + 12 + ], + [ + 589, + 12 + ], + [ + 592, + 27 + ], + [ + 600, + 13 + ], + [ + 618, + 16 + ], + [ + 624, + 14 + ], + [ + 631, + 15 + ], + [ + 639, + 18 + ], + [ + 646, + 26 + ], + [ + 654, + 26 + ], + [ + 662, + 26 + ], + [ + 673, + 25 + ], + [ + 684, + 39 + ], + [ + 696, + 31 + ], + [ + 702, + 18 + ], + [ + 706, + 18 + ], + [ + 710, + 25 + ], + [ + 713, + 26 + ], + [ + 716, + 21 + ], + [ + 723, + 15 + ], + [ + 733, + 15 + ], + [ + 746, + 15 + ], + [ + 752, + 17 + ], + [ + 762, + 17 + ], + [ + 770, + 17 + ], + [ + 776, + 10 + ], + [ + 786, + 13 + ], + [ + 791, + 14 + ], + [ + 796, + 11 + ], + [ + 801, + 13 + ], + [ + 808, + 11 + ], + [ + 811, + 10 + ], + [ + 816, + 16 + ], + [ + 823, + 17 + ], + [ + 827, + 18 + ], + [ + 830, + 17 + ], + [ + 836, + 20 + ], + [ + 839, + 20 + ], + [ + 843, + 21 + ], + [ + 846, + 20 + ], + [ + 852, + 23 + ], + [ + 855, + 36 + ], + [ + 859, + 21 + ], + [ + 863, + 20 + ], + [ + 884, + 22 + ], + [ + 900, + 23 + ], + [ + 912, + 25 + ], + [ + 924, + 25 + ], + [ + 943, + 12 + ], + [ + 950, + 22 + ], + [ + 955, + 16 + ], + [ + 970, + 24 + ], + [ + 978, + 17 + ], + [ + 994, + 21 + ], + [ + 1006, + 22 + ], + [ + 1012, + 24 + ], + [ + 1023, + 25 + ], + [ + 1031, + 24 + ], + [ + 1034, + 14 + ], + [ + 1046, + 25 + ], + [ + 1057, + 23 + ], + [ + 1084, + 38 + ], + [ + 1102, + 23 + ], + [ + 1144, + 24 + ], + [ + 1158, + 20 + ], + [ + 1173, + 13 + ], + [ + 1178, + 19 + ], + [ + 1201, + 32 + ], + [ + 1214, + 28 + ], + [ + 1223, + 27 + ], + [ + 1234, + 22 + ], + [ + 1237, + 27 + ], + [ + 1241, + 32 + ], + [ + 1244, + 34 + ], + [ + 1249, + 21 + ], + [ + 1256, + 21 + ], + [ + 1298, + 32 + ], + [ + 1304, + 26 + ], + [ + 1313, + 27 + ], + [ + 1316, + 33 + ], + [ + 1325, + 34 + ], + [ + 1334, + 34 + ], + [ + 1348, + 32 + ], + [ + 1371, + 19 + ], + [ + 1416, + 26 + ], + [ + 1424, + 26 + ], + [ + 1432, + 28 + ], + [ + 1435, + 32 + ], + [ + 1440, + 32 + ], + [ + 1470, + 23 + ], + [ + 1481, + 23 + ], + [ + 1563, + 23 + ], + [ + 1573, + 25 + ], + [ + 1575, + 18 + ], + [ + 1578, + 18 + ], + [ + 1581, + 20 + ] + ], + "doc": " Public: Represents the entire visual pane in Atom.\n\nThe EditorView manages the {Editor}, which manages the file buffers.\n\n## Requiring in packages\n\n```coffee\n{EditorView} = require 'atom'\n\nminiEditorView = new EditorView(mini: true)\n```\n\n## Iterating over the open editor views\n\n```coffee\nfor editorView in atom.workspaceView.getEditorViews()\n console.log(editorView.getEditor().getPath())\n```\n\n## Subscribing to every current and future editor\n\n```coffee\natom.workspace.eachEditorView (editorView) ->\n console.log(editorView.getEditor().getPath())\n``` ", + "range": [ + [ + 41, + 0 + ], + [ + 1583, + 35 + ] + ] + } + }, + "42": { + "24": { + "name": "characterWidthCache", + "type": "primitive", + "range": [ + [ + 42, + 24 + ], + [ + 42, + 25 + ] + ], + "bindingType": "classProperty" + } + }, + "44": { + "4": { + "name": "configDefaults", + "type": "primitive", + "range": [ + [ + 44, + 4 + ], + [ + 59, + 32 + ] + ], + "bindingType": "classProperty" + } + }, + "61": { + "17": { + "name": "nextEditorId", + "type": "primitive", + "range": [ + [ + 61, + 17 + ], + [ + 61, + 17 + ] + ], + "bindingType": "classProperty" + } + }, + "63": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 63, + 12 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "12": { + "name": "classes", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 76, + 12 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "17": { + "name": "vScrollMargin", + "type": "primitive", + "range": [ + [ + 81, + 17 + ], + [ + 81, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "82": { + "17": { + "name": "hScrollMargin", + "type": "primitive", + "range": [ + [ + 82, + 17 + ], + [ + 82, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "83": { + "14": { + "name": "lineHeight", + "type": "primitive", + "range": [ + [ + 83, + 14 + ], + [ + 83, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "84": { + "13": { + "name": "charWidth", + "type": "primitive", + "range": [ + [ + 84, + 13 + ], + [ + 84, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "85": { + "14": { + "name": "charHeight", + "type": "primitive", + "range": [ + [ + 85, + 14 + ], + [ + 85, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "86": { + "15": { + "name": "cursorViews", + "type": "primitive", + "range": [ + [ + 86, + 15 + ], + [ + 86, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "87": { + "18": { + "name": "selectionViews", + "type": "primitive", + "range": [ + [ + 87, + 18 + ], + [ + 87, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "88": { + "13": { + "name": "lineCache", + "type": "primitive", + "range": [ + [ + 88, + 13 + ], + [ + 88, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "89": { + "13": { + "name": "isFocused", + "type": "primitive", + "range": [ + [ + 89, + 13 + ], + [ + 89, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "90": { + "10": { + "name": "editor", + "type": "primitive", + "range": [ + [ + 90, + 10 + ], + [ + 90, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "91": { + "12": { + "name": "attached", + "type": "primitive", + "range": [ + [ + 91, + 12 + ], + [ + 91, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "92": { + "16": { + "name": "lineOverdraw", + "type": "primitive", + "range": [ + [ + 92, + 16 + ], + [ + 92, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "93": { + "18": { + "name": "pendingChanges", + "type": "primitive", + "range": [ + [ + 93, + 18 + ], + [ + 93, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "94": { + "14": { + "name": "newCursors", + "type": "primitive", + "range": [ + [ + 94, + 14 + ], + [ + 94, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "95": { + "17": { + "name": "newSelections", + "type": "primitive", + "range": [ + [ + 95, + 17 + ], + [ + 95, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "96": { + "20": { + "name": "redrawOnReattach", + "type": "primitive", + "range": [ + [ + 96, + 20 + ], + [ + 96, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "97": { + "24": { + "name": "bottomPaddingInLines", + "type": "primitive", + "range": [ + [ + 97, + 24 + ], + [ + 97, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "106": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorOrOptions" + ], + "range": [ + [ + 106, + 14 + ], + [ + 141, + 1 + ] + ], + "doc": " Private: The constructor for setting up an `EditorView` instance.\n\neditorOrOptions - Either an {Editor}, or an object with one property, `mini`.\n If `mini` is `true`, a \"miniature\" `Editor` is constructed.\n Typically, this is ideal for scenarios where you need an Atom editor,\n but without all the chrome, like scrollbars, gutter, _e.t.c._.\n\n " + } + }, + "141": { + "12": { + "name": "bindKeys", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 12 + ], + [ + 251, + 1 + ] + ], + "doc": " Private: Sets up the core Atom commands.\n\nSome commands are excluded from mini-editors. " + } + }, + "251": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 251, + 13 + ], + [ + 255, + 1 + ] + ], + "doc": " Public: Get the underlying editor model for this view.\n\nReturns an {Editor}. " + } + }, + "255": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 255, + 11 + ], + [ + 259, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.getText} " + } + }, + "259": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 259, + 11 + ], + [ + 263, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.setText} " + } + }, + "263": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 263, + 14 + ], + [ + 266, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.insertText} " + } + }, + "266": { + "20": { + "name": "setHeightInLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "heightInLines" + ], + "range": [ + [ + 266, + 20 + ], + [ + 271, + 1 + ] + ], + "doc": "~Private~" + } + }, + "271": { + "19": { + "name": "setWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "widthInChars" + ], + "range": [ + [ + 271, + 19 + ], + [ + 277, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.setEditorWidthInChars} " + } + }, + "277": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 277, + 12 + ], + [ + 284, + 1 + ] + ], + "doc": " Public: Emulates the \"page down\" key, where the last row of a buffer scrolls\nto become the first. " + } + }, + "284": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 10 + ], + [ + 292, + 1 + ] + ], + "doc": " Public: Emulates the \"page up\" key, where the frst row of a buffer scrolls\nto become the last. " + } + }, + "292": { + "15": { + "name": "getPageRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 15 + ], + [ + 298, + 1 + ] + ], + "doc": " Private: Gets the number of actual page rows existing in an editor.\n\nReturns a {Number}. " + } + }, + "298": { + "21": { + "name": "setShowInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showInvisibles" + ], + "range": [ + [ + 298, + 21 + ], + [ + 310, + 1 + ] + ], + "doc": " Public: Set whether invisible characters are shown.\n\nshowInvisibles - A {Boolean} which, if `true`, show invisible characters. " + } + }, + "310": { + "17": { + "name": "setInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 310, + 17 + ], + [ + 322, + 1 + ] + ], + "doc": " Public: Defines which characters are invisible.\n\ninvisibles - An {Object} defining the invisible characters:\n :eol - The end of line invisible {String} (default: `\\u00ac`).\n :space - The space invisible {String} (default: `\\u00b7`).\n :tab - The tab invisible {String} (default: `\\u00bb`).\n :cr - The carriage return invisible {String} (default: `\\u00a4`). " + } + }, + "322": { + "22": { + "name": "setShowIndentGuide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showIndentGuide" + ], + "range": [ + [ + 322, + 22 + ], + [ + 332, + 1 + ] + ], + "doc": " Public: Sets whether you want to show the indentation guides.\n\nshowIndentGuide - A {Boolean} you can set to `true` if you want to see the\n indentation guides. " + } + }, + "332": { + "22": { + "name": "setPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "placeholderText" + ], + "range": [ + [ + 332, + 22 + ], + [ + 337, + 1 + ] + ], + "doc": " Public: Set the text to appear in the editor when it is empty.\n\nThis only affects mini editors.\n\nplaceholderText - A {String} of text to display when empty. " + } + }, + "337": { + "22": { + "name": "getPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 337, + 22 + ], + [ + 341, + 1 + ] + ], + "doc": "~Private~" + } + }, + "341": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 341, + 16 + ], + [ + 345, + 1 + ] + ], + "doc": "Private: Checkout the HEAD revision of this editor's file. " + } + }, + "345": { + "13": { + "name": "configure", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 345, + 13 + ], + [ + 354, + 1 + ] + ], + "doc": "~Private~" + } + }, + "354": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 354, + 16 + ], + [ + 436, + 1 + ] + ], + "doc": "~Private~" + } + }, + "436": { + "21": { + "name": "handleInputEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 436, + 21 + ], + [ + 476, + 1 + ] + ], + "doc": "~Private~" + } + }, + "476": { + "28": { + "name": "bringHiddenInputIntoView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 476, + 28 + ], + [ + 479, + 1 + ] + ], + "doc": "~Private~" + } + }, + "479": { + "33": { + "name": "selectOnMousemoveUntilMouseup", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 479, + 33 + ], + [ + 505, + 1 + ] + ], + "doc": "~Private~" + } + }, + "505": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 505, + 15 + ], + [ + 538, + 1 + ] + ], + "doc": "~Private~" + } + }, + "538": { + "8": { + "name": "edit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 538, + 8 + ], + [ + 586, + 1 + ] + ], + "doc": "~Private~" + } + }, + "586": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 586, + 12 + ], + [ + 589, + 1 + ] + ], + "doc": "~Private~" + } + }, + "589": { + "12": { + "name": "setModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 589, + 12 + ], + [ + 592, + 1 + ] + ], + "doc": "~Private~" + } + }, + "592": { + "27": { + "name": "showBufferConflictAlert", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 592, + 27 + ], + [ + 600, + 1 + ] + ], + "doc": "~Private~" + } + }, + "600": { + "13": { + "name": "scrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop", + "options" + ], + "range": [ + [ + 600, + 13 + ], + [ + 618, + 1 + ] + ], + "doc": "~Private~" + } + }, + "618": { + "16": { + "name": "scrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 618, + 16 + ], + [ + 624, + 1 + ] + ], + "doc": "~Private~" + } + }, + "624": { + "14": { + "name": "scrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 624, + 14 + ], + [ + 631, + 1 + ] + ], + "doc": "~Private~" + } + }, + "631": { + "15": { + "name": "scrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 631, + 15 + ], + [ + 639, + 1 + ] + ], + "doc": "~Private~" + } + }, + "639": { + "18": { + "name": "scrollToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 639, + 18 + ], + [ + 646, + 1 + ] + ], + "doc": "Public: Scrolls the editor to the bottom. " + } + }, + "646": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 646, + 26 + ], + [ + 654, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the position of the most recently added\ncursor if it isn't current on screen.\n\nThe editor is centered around the cursor's position if possible. " + } + }, + "654": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 654, + 26 + ], + [ + 662, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given buffer position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " + } + }, + "662": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 662, + 26 + ], + [ + 673, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " + } + }, + "673": { + "25": { + "name": "scrollToPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition", + "options" + ], + "range": [ + [ + 673, + 25 + ], + [ + 684, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given pixel position.\n\npixelPosition - An object that represents a pixel position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or\n {Point}.\noptions - A hash with the following keys:\n :center - if `true`, the position is scrolled such that it's in\n the center of the editor " + } + }, + "684": { + "39": { + "name": "highlightFoldsContainingBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 684, + 39 + ], + [ + 696, + 1 + ] + ], + "doc": " Public: Highlight all the folds within the given buffer range.\n\n\"Highlighting\" essentially just adds the `fold-selected` class to the line's\nDOM element.\n\nbufferRange - The {Range} to check. " + } + }, + "696": { + "31": { + "name": "saveScrollPositionForEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 696, + 31 + ], + [ + 702, + 1 + ] + ], + "doc": "~Private~" + } + }, + "702": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 702, + 18 + ], + [ + 706, + 1 + ] + ], + "doc": "Public: Toggle soft tabs on the edit session. " + } + }, + "706": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 706, + 18 + ], + [ + 710, + 1 + ] + ], + "doc": "Public: Toggle soft wrap on the edit session. " + } + }, + "710": { + "25": { + "name": "calculateWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 710, + 25 + ], + [ + 713, + 1 + ] + ], + "doc": "~Private~" + } + }, + "713": { + "26": { + "name": "calculateHeightInLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 713, + 26 + ], + [ + 716, + 1 + ] + ], + "doc": "~Private~" + } + }, + "716": { + "21": { + "name": "getScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 716, + 21 + ], + [ + 723, + 1 + ] + ], + "doc": "~Private~" + } + }, + "723": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 723, + 15 + ], + [ + 733, + 1 + ] + ], + "doc": " Public: Enables/disables soft wrap on the editor.\n\nsoftWrap - A {Boolean} which, if `true`, enables soft wrap " + } + }, + "733": { + "15": { + "name": "setFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 733, + 15 + ], + [ + 746, + 1 + ] + ], + "doc": " Public: Sets the font size for the editor.\n\nfontSize - A {Number} indicating the font size in pixels. " + } + }, + "746": { + "15": { + "name": "getFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 746, + 15 + ], + [ + 752, + 1 + ] + ], + "doc": " Public: Retrieves the font size for the editor.\n\nReturns a {Number} indicating the font size in pixels. " + } + }, + "752": { + "17": { + "name": "setFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 752, + 17 + ], + [ + 762, + 1 + ] + ], + "doc": " Public: Sets the font family for the editor.\n\nfontFamily - A {String} identifying the CSS `font-family`. " + } + }, + "762": { + "17": { + "name": "getFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 762, + 17 + ], + [ + 762, + 38 + ] + ], + "doc": " Public: Gets the font family for the editor.\n\nReturns a {String} identifying the CSS `font-family`. " + } + }, + "770": { + "17": { + "name": "setLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 770, + 17 + ], + [ + 776, + 1 + ] + ], + "doc": " Public: Sets the line height of the editor.\n\nCalling this method has no effect when called on a mini editor.\n\nlineHeight - A {Number} without a unit suffix identifying the CSS\n`line-height`. " + } + }, + "776": { + "10": { + "name": "redraw", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 776, + 10 + ], + [ + 786, + 1 + ] + ], + "doc": "Public: Redraw the editor " + } + }, + "786": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 786, + 13 + ], + [ + 791, + 1 + ] + ], + "doc": "Public: Split the editor view left. " + } + }, + "791": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 791, + 14 + ], + [ + 796, + 1 + ] + ], + "doc": "Public: Split the editor view right. " + } + }, + "796": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 796, + 11 + ], + [ + 801, + 1 + ] + ], + "doc": "Public: Split the editor view up. " + } + }, + "801": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 801, + 13 + ], + [ + 808, + 1 + ] + ], + "doc": "Public: Split the editor view down. " + } + }, + "808": { + "11": { + "name": "getPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 808, + 11 + ], + [ + 811, + 1 + ] + ], + "doc": " Public: Get this view's pane.\n\nReturns a {Pane}. " + } + }, + "811": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "keepData" + ], + "range": [ + [ + 811, + 10 + ], + [ + 816, + 1 + ] + ], + "doc": "~Private~" + } + }, + "816": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 816, + 16 + ], + [ + 823, + 1 + ] + ], + "doc": "~Private~" + } + }, + "823": { + "17": { + "name": "getCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 823, + 17 + ], + [ + 827, + 1 + ] + ], + "doc": "~Private~" + } + }, + "827": { + "18": { + "name": "getCursorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 827, + 18 + ], + [ + 830, + 1 + ] + ], + "doc": "~Private~" + } + }, + "830": { + "17": { + "name": "addCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursor", + "options" + ], + "range": [ + [ + 830, + 17 + ], + [ + 836, + 1 + ] + ], + "doc": "~Private~" + } + }, + "836": { + "20": { + "name": "removeCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 836, + 20 + ], + [ + 839, + 1 + ] + ], + "doc": "~Private~" + } + }, + "839": { + "20": { + "name": "getSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 839, + 20 + ], + [ + 843, + 1 + ] + ], + "doc": "~Private~" + } + }, + "843": { + "21": { + "name": "getSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 843, + 21 + ], + [ + 846, + 1 + ] + ], + "doc": "~Private~" + } + }, + "846": { + "20": { + "name": "addSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 846, + 20 + ], + [ + 852, + 1 + ] + ], + "doc": "~Private~" + } + }, + "852": { + "23": { + "name": "removeSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selectionView" + ], + "range": [ + [ + 852, + 23 + ], + [ + 855, + 1 + ] + ], + "doc": "~Private~" + } + }, + "855": { + "36": { + "name": "removeAllCursorAndSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 855, + 36 + ], + [ + 859, + 1 + ] + ], + "doc": "~Private~" + } + }, + "859": { + "21": { + "name": "appendToLinesView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 859, + 21 + ], + [ + 863, + 1 + ] + ], + "doc": "~Private~" + } + }, + "863": { + "20": { + "name": "scrollVertically", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition", + null + ], + "range": [ + [ + 863, + 20 + ], + [ + 884, + 1 + ] + ], + "doc": "Private: Scrolls the editor vertically to a given position. " + } + }, + "884": { + "22": { + "name": "scrollHorizontally", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 884, + 22 + ], + [ + 900, + 1 + ] + ], + "doc": "Private: Scrolls the editor horizontally to a given position. " + } + }, + "900": { + "23": { + "name": "calculateDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 900, + 23 + ], + [ + 912, + 1 + ] + ], + "doc": "~Private~" + } + }, + "912": { + "25": { + "name": "recalculateDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 912, + 25 + ], + [ + 924, + 1 + ] + ], + "doc": "~Private~" + } + }, + "924": { + "25": { + "name": "updateLayerDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollViewWidth" + ], + "range": [ + [ + 924, + 25 + ], + [ + 943, + 1 + ] + ], + "doc": "~Private~" + } + }, + "943": { + "12": { + "name": "isHidden", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 943, + 12 + ], + [ + 950, + 1 + ] + ], + "doc": "Private: Override for speed. The base function checks computedStyle, unnecessary here. " + } + }, + "950": { + "22": { + "name": "clearRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 950, + 22 + ], + [ + 955, + 1 + ] + ], + "doc": "~Private~" + } + }, + "955": { + "16": { + "name": "resetDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 955, + 16 + ], + [ + 970, + 1 + ] + ], + "doc": "~Private~" + } + }, + "970": { + "24": { + "name": "requestDisplayUpdate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 970, + 24 + ], + [ + 978, + 1 + ] + ], + "doc": "~Private~" + } + }, + "978": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 978, + 17 + ], + [ + 994, + 1 + ] + ], + "doc": "~Private~" + } + }, + "994": { + "21": { + "name": "updateCursorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 994, + 21 + ], + [ + 1006, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1006": { + "22": { + "name": "shouldUpdateCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 1006, + 22 + ], + [ + 1012, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1012": { + "24": { + "name": "updateSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1012, + 24 + ], + [ + 1023, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1023": { + "25": { + "name": "shouldUpdateSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selectionView" + ], + "range": [ + [ + 1023, + 25 + ], + [ + 1031, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1031": { + "24": { + "name": "syncCursorAnimations", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1031, + 24 + ], + [ + 1034, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1034": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "suppressAutoscroll" + ], + "range": [ + [ + 1034, + 14 + ], + [ + 1046, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1046": { + "25": { + "name": "updatePlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1046, + 25 + ], + [ + 1057, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1057": { + "23": { + "name": "updateRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollViewWidth" + ], + "range": [ + [ + 1057, + 23 + ], + [ + 1084, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1084": { + "38": { + "name": "computeSurroundingEmptyLineChanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "change" + ], + "range": [ + [ + 1084, + 38 + ], + [ + 1102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1102": { + "23": { + "name": "computeIntactRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1102, + 23 + ], + [ + 1144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1144": { + "24": { + "name": "truncateIntactRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges", + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1144, + 24 + ], + [ + 1158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1158": { + "20": { + "name": "clearDirtyRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges" + ], + "range": [ + [ + 1158, + 20 + ], + [ + 1173, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1173": { + "13": { + "name": "clearLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement" + ], + "range": [ + [ + 1173, + 13 + ], + [ + 1178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1178": { + "19": { + "name": "fillDirtyRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges", + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1178, + 19 + ], + [ + 1201, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1201": { + "32": { + "name": "updatePaddingOfRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1201, + 32 + ], + [ + 1214, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1214": { + "28": { + "name": "getFirstVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1214, + 28 + ], + [ + 1223, + 1 + ] + ], + "doc": " Public: Retrieves the number of the row that is visible and currently at the\ntop of the editor.\n\nReturns a {Number}. " + } + }, + "1223": { + "27": { + "name": "getLastVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1223, + 27 + ], + [ + 1234, + 1 + ] + ], + "doc": " Public: Retrieves the number of the row that is visible and currently at the\nbottom of the editor.\n\nReturns a {Number}. " + } + }, + "1234": { + "22": { + "name": "isScreenRowVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 1234, + 22 + ], + [ + 1237, + 1 + ] + ], + "doc": " Public: Given a row number, identifies if it is currently visible.\n\nrow - A row {Number} to check\n\nReturns a {Boolean}. " + } + }, + "1237": { + "27": { + "name": "handleScreenLinesChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "change" + ], + "range": [ + [ + 1237, + 27 + ], + [ + 1241, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1241": { + "32": { + "name": "buildLineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 1241, + 32 + ], + [ + 1244, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1244": { + "34": { + "name": "buildLineElementsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1244, + 34 + ], + [ + 1249, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1249": { + "21": { + "name": "htmlForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1249, + 21 + ], + [ + 1256, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1256": { + "21": { + "name": "htmlForScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine", + "screenRow" + ], + "range": [ + [ + 1256, + 21 + ], + [ + 1271, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1271": { + "21": { + "name": "buildIndentation", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "screenRow", + "editor" + ], + "range": [ + [ + 1271, + 21 + ], + [ + 1298, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1298": { + "32": { + "name": "buildHtmlEndOfLineInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine" + ], + "range": [ + [ + 1298, + 32 + ], + [ + 1304, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1304": { + "26": { + "name": "getEndOfLineInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine" + ], + "range": [ + [ + 1304, + 26 + ], + [ + 1313, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1313": { + "27": { + "name": "lineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 1313, + 27 + ], + [ + 1316, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1316": { + "33": { + "name": "toggleLineCommentsInSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1316, + 33 + ], + [ + 1325, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1325": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1325, + 34 + ], + [ + 1334, + 1 + ] + ], + "doc": " Public: Converts a buffer position to a pixel position.\n\nposition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " + } + }, + "1334": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1334, + 34 + ], + [ + 1348, + 1 + ] + ], + "doc": " Public: Converts a screen position to a pixel position.\n\nposition - An object that represents a screen position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " + } + }, + "1348": { + "32": { + "name": "positionLeftForLineAndColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement", + "screenRow", + "screenColumn" + ], + "range": [ + [ + 1348, + 32 + ], + [ + 1371, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1371": { + "19": { + "name": "measureToColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement", + "tokenizedLine", + "screenColumn" + ], + "range": [ + [ + 1371, + 19 + ], + [ + 1416, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1416": { + "26": { + "name": "getCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "char" + ], + "range": [ + [ + 1416, + 26 + ], + [ + 1424, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1424": { + "26": { + "name": "setCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "char", + "val" + ], + "range": [ + [ + 1424, + 26 + ], + [ + 1432, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1432": { + "28": { + "name": "clearCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1432, + 28 + ], + [ + 1435, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1435": { + "32": { + "name": "pixelOffsetForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1435, + 32 + ], + [ + 1440, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1440": { + "32": { + "name": "screenPositionFromMouseEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 1440, + 32 + ], + [ + 1470, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1470": { + "23": { + "name": "highlightCursorLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1470, + 23 + ], + [ + 1481, + 1 + ] + ], + "doc": "Private: Highlights the current line the cursor is on. " + } + }, + "1481": { + "23": { + "name": "copyPathToClipboard", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1481, + 23 + ], + [ + 1485, + 1 + ] + ], + "doc": "Private: Copies the current file path to the native clipboard. " + } + }, + "1485": { + "18": { + "name": "buildLineHtml", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 1485, + 18 + ], + [ + 1513, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1513": { + "21": { + "name": "updateScopeStack", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 1513, + 21 + ], + [ + 1529, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1529": { + "14": { + "name": "pushScope", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack", + "scope" + ], + "range": [ + [ + 1529, + 14 + ], + [ + 1533, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1533": { + "13": { + "name": "popScope", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack" + ], + "range": [ + [ + 1533, + 13 + ], + [ + 1537, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1537": { + "23": { + "name": "buildEmptyLineHtml", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "showIndentGuide", + "eolInvisibles", + "htmlEolInvisibles", + "indentation", + "editor", + "mini" + ], + "range": [ + [ + 1537, + 23 + ], + [ + 1563, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1563": { + "23": { + "name": "replaceSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "replaceFn" + ], + "range": [ + [ + 1563, + 23 + ], + [ + 1573, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1573": { + "25": { + "name": "consolidateSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 1573, + 25 + ], + [ + 1573, + 89 + ] + ], + "doc": "~Private~" + } + }, + "1575": { + "18": { + "name": "logCursorScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1575, + 18 + ], + [ + 1578, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1578": { + "18": { + "name": "logScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 1578, + 18 + ], + [ + 1581, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1581": { + "20": { + "name": "logRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1581, + 20 + ], + [ + 1583, + 35 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 41 + }, + "src/editor.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@^1" + } + }, + "3": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 3, + 12 + ], + [ + 3, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@^1" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Model", + "exportsProperty": "Model" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 6, + 8 + ], + [ + 6, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Range", + "exportsProperty": "Range" + } + }, + "7": { + "15": { + "name": "LanguageMode", + "type": "import", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 39 + ] + ], + "bindingType": "variable", + "path": "./language-mode" + } + }, + "8": { + "16": { + "name": "DisplayBuffer", + "type": "import", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 41 + ] + ], + "bindingType": "variable", + "path": "./display-buffer" + } + }, + "9": { + "9": { + "name": "Cursor", + "type": "import", + "range": [ + [ + 9, + 9 + ], + [ + 9, + 26 + ] + ], + "bindingType": "variable", + "path": "./cursor" + } + }, + "10": { + "12": { + "name": "Selection", + "type": "import", + "range": [ + [ + 10, + 12 + ], + [ + 10, + 32 + ] + ], + "bindingType": "variable", + "path": "./selection" + } + }, + "11": { + "24": { + "type": "primitive", + "range": [ + [ + 11, + 24 + ], + [ + 11, + 58 + ] + ] + } + }, + "138": { + "0": { + "type": "class", + "name": "Editor", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 143, + 17 + ], + [ + 144, + 32 + ], + [ + 145, + 18 + ], + [ + 146, + 10 + ], + [ + 147, + 16 + ], + [ + 148, + 11 + ], + [ + 149, + 14 + ], + [ + 150, + 28 + ], + [ + 151, + 20 + ], + [ + 152, + 26 + ], + [ + 161, + 15 + ], + [ + 190, + 19 + ], + [ + 197, + 21 + ], + [ + 202, + 21 + ], + [ + 215, + 28 + ], + [ + 228, + 16 + ], + [ + 234, + 13 + ], + [ + 242, + 8 + ], + [ + 258, + 12 + ], + [ + 271, + 16 + ], + [ + 281, + 14 + ], + [ + 288, + 25 + ], + [ + 292, + 21 + ], + [ + 296, + 15 + ], + [ + 301, + 15 + ], + [ + 304, + 18 + ], + [ + 307, + 15 + ], + [ + 312, + 15 + ], + [ + 315, + 18 + ], + [ + 323, + 14 + ], + [ + 328, + 16 + ], + [ + 331, + 16 + ], + [ + 339, + 16 + ], + [ + 361, + 22 + ], + [ + 369, + 19 + ], + [ + 381, + 27 + ], + [ + 396, + 30 + ], + [ + 414, + 22 + ], + [ + 418, + 21 + ], + [ + 428, + 8 + ], + [ + 435, + 10 + ], + [ + 437, + 16 + ], + [ + 442, + 23 + ], + [ + 447, + 11 + ], + [ + 450, + 11 + ], + [ + 453, + 11 + ], + [ + 458, + 18 + ], + [ + 461, + 16 + ], + [ + 464, + 13 + ], + [ + 467, + 10 + ], + [ + 470, + 20 + ], + [ + 473, + 24 + ], + [ + 479, + 25 + ], + [ + 482, + 24 + ], + [ + 486, + 20 + ], + [ + 494, + 27 + ], + [ + 500, + 20 + ], + [ + 506, + 26 + ], + [ + 509, + 8 + ], + [ + 512, + 21 + ], + [ + 515, + 30 + ], + [ + 518, + 14 + ], + [ + 520, + 11 + ], + [ + 524, + 22 + ], + [ + 536, + 35 + ], + [ + 546, + 35 + ], + [ + 551, + 29 + ], + [ + 556, + 29 + ], + [ + 573, + 22 + ], + [ + 576, + 20 + ], + [ + 579, + 22 + ], + [ + 582, + 22 + ], + [ + 585, + 26 + ], + [ + 588, + 20 + ], + [ + 591, + 27 + ], + [ + 593, + 25 + ], + [ + 605, + 27 + ], + [ + 614, + 31 + ], + [ + 618, + 26 + ], + [ + 624, + 19 + ], + [ + 626, + 18 + ], + [ + 633, + 14 + ], + [ + 639, + 17 + ], + [ + 643, + 22 + ], + [ + 649, + 22 + ], + [ + 668, + 10 + ], + [ + 674, + 13 + ], + [ + 678, + 30 + ], + [ + 683, + 30 + ], + [ + 690, + 27 + ], + [ + 696, + 27 + ], + [ + 701, + 10 + ], + [ + 708, + 21 + ], + [ + 714, + 21 + ], + [ + 718, + 14 + ], + [ + 722, + 22 + ], + [ + 726, + 23 + ], + [ + 734, + 33 + ], + [ + 739, + 26 + ], + [ + 744, + 30 + ], + [ + 751, + 18 + ], + [ + 758, + 19 + ], + [ + 765, + 20 + ], + [ + 779, + 13 + ], + [ + 798, + 8 + ], + [ + 803, + 8 + ], + [ + 812, + 18 + ], + [ + 817, + 20 + ], + [ + 822, + 21 + ], + [ + 826, + 11 + ], + [ + 830, + 13 + ], + [ + 836, + 24 + ], + [ + 846, + 17 + ], + [ + 852, + 19 + ], + [ + 862, + 25 + ], + [ + 865, + 25 + ], + [ + 870, + 14 + ], + [ + 874, + 21 + ], + [ + 878, + 39 + ], + [ + 884, + 25 + ], + [ + 893, + 23 + ], + [ + 901, + 23 + ], + [ + 909, + 23 + ], + [ + 913, + 34 + ], + [ + 917, + 34 + ], + [ + 921, + 34 + ], + [ + 926, + 14 + ], + [ + 979, + 16 + ], + [ + 1034, + 18 + ], + [ + 1060, + 17 + ], + [ + 1072, + 22 + ], + [ + 1075, + 23 + ], + [ + 1096, + 32 + ], + [ + 1137, + 18 + ], + [ + 1140, + 19 + ], + [ + 1144, + 13 + ], + [ + 1148, + 14 + ], + [ + 1170, + 15 + ], + [ + 1179, + 19 + ], + [ + 1188, + 19 + ], + [ + 1197, + 22 + ], + [ + 1206, + 22 + ], + [ + 1210, + 17 + ], + [ + 1216, + 18 + ], + [ + 1220, + 22 + ], + [ + 1224, + 14 + ], + [ + 1227, + 13 + ], + [ + 1233, + 29 + ], + [ + 1240, + 29 + ], + [ + 1245, + 13 + ], + [ + 1255, + 16 + ], + [ + 1264, + 16 + ], + [ + 1288, + 30 + ], + [ + 1301, + 26 + ], + [ + 1311, + 26 + ], + [ + 1321, + 27 + ], + [ + 1336, + 19 + ], + [ + 1342, + 19 + ], + [ + 1347, + 25 + ], + [ + 1355, + 31 + ], + [ + 1361, + 17 + ], + [ + 1363, + 27 + ], + [ + 1374, + 16 + ], + [ + 1381, + 20 + ], + [ + 1388, + 40 + ], + [ + 1394, + 28 + ], + [ + 1403, + 34 + ], + [ + 1415, + 27 + ], + [ + 1422, + 27 + ], + [ + 1428, + 22 + ], + [ + 1439, + 27 + ], + [ + 1446, + 27 + ], + [ + 1453, + 26 + ], + [ + 1460, + 26 + ], + [ + 1468, + 27 + ], + [ + 1476, + 27 + ], + [ + 1482, + 19 + ], + [ + 1490, + 24 + ], + [ + 1499, + 24 + ], + [ + 1505, + 34 + ], + [ + 1511, + 22 + ], + [ + 1515, + 16 + ], + [ + 1519, + 18 + ], + [ + 1523, + 18 + ], + [ + 1527, + 19 + ], + [ + 1533, + 19 + ], + [ + 1539, + 22 + ], + [ + 1543, + 37 + ], + [ + 1547, + 31 + ], + [ + 1551, + 36 + ], + [ + 1555, + 31 + ], + [ + 1559, + 25 + ], + [ + 1563, + 31 + ], + [ + 1567, + 25 + ], + [ + 1571, + 35 + ], + [ + 1575, + 36 + ], + [ + 1579, + 32 + ], + [ + 1583, + 40 + ], + [ + 1587, + 44 + ], + [ + 1596, + 26 + ], + [ + 1599, + 10 + ], + [ + 1604, + 12 + ], + [ + 1609, + 16 + ], + [ + 1612, + 18 + ], + [ + 1616, + 18 + ], + [ + 1619, + 15 + ], + [ + 1626, + 15 + ], + [ + 1636, + 26 + ], + [ + 1645, + 15 + ], + [ + 1652, + 14 + ], + [ + 1659, + 12 + ], + [ + 1666, + 14 + ], + [ + 1673, + 15 + ], + [ + 1679, + 13 + ], + [ + 1686, + 18 + ], + [ + 1693, + 27 + ], + [ + 1702, + 32 + ], + [ + 1709, + 21 + ], + [ + 1716, + 32 + ], + [ + 1723, + 28 + ], + [ + 1729, + 14 + ], + [ + 1740, + 21 + ], + [ + 1751, + 21 + ], + [ + 1759, + 28 + ], + [ + 1776, + 13 + ], + [ + 1791, + 13 + ], + [ + 1798, + 13 + ], + [ + 1809, + 13 + ], + [ + 1816, + 27 + ], + [ + 1823, + 21 + ], + [ + 1830, + 31 + ], + [ + 1834, + 14 + ], + [ + 1841, + 36 + ], + [ + 1848, + 40 + ], + [ + 1856, + 16 + ], + [ + 1863, + 16 + ], + [ + 1873, + 27 + ], + [ + 1879, + 28 + ], + [ + 1883, + 22 + ], + [ + 1889, + 31 + ], + [ + 1910, + 40 + ], + [ + 1919, + 14 + ], + [ + 1926, + 14 + ], + [ + 1930, + 17 + ], + [ + 1933, + 20 + ], + [ + 1944, + 12 + ], + [ + 1952, + 20 + ], + [ + 1958, + 21 + ], + [ + 1962, + 20 + ], + [ + 1964, + 11 + ], + [ + 1967, + 18 + ], + [ + 1969, + 22 + ], + [ + 1972, + 23 + ], + [ + 1976, + 23 + ], + [ + 1980, + 32 + ], + [ + 1983, + 27 + ], + [ + 1984, + 27 + ], + [ + 1986, + 29 + ], + [ + 1987, + 29 + ], + [ + 1989, + 25 + ], + [ + 1990, + 25 + ], + [ + 1992, + 29 + ], + [ + 1994, + 22 + ], + [ + 1995, + 22 + ], + [ + 1997, + 23 + ], + [ + 1999, + 25 + ], + [ + 2001, + 23 + ], + [ + 2002, + 23 + ], + [ + 2004, + 13 + ], + [ + 2005, + 13 + ], + [ + 2007, + 19 + ], + [ + 2009, + 12 + ], + [ + 2010, + 12 + ], + [ + 2012, + 16 + ], + [ + 2013, + 16 + ], + [ + 2015, + 19 + ], + [ + 2016, + 19 + ], + [ + 2018, + 17 + ], + [ + 2019, + 17 + ], + [ + 2021, + 18 + ], + [ + 2022, + 18 + ], + [ + 2024, + 19 + ], + [ + 2025, + 18 + ], + [ + 2027, + 22 + ], + [ + 2029, + 29 + ], + [ + 2031, + 38 + ], + [ + 2033, + 34 + ], + [ + 2035, + 34 + ], + [ + 2037, + 34 + ], + [ + 2039, + 27 + ], + [ + 2041, + 23 + ], + [ + 2043, + 26 + ], + [ + 2045, + 26 + ], + [ + 2047, + 26 + ], + [ + 2049, + 24 + ], + [ + 2051, + 32 + ], + [ + 2052, + 32 + ], + [ + 2054, + 29 + ], + [ + 2055, + 29 + ], + [ + 2058, + 12 + ] + ], + "doc": " Public: This class represents all essential editing state for a single\n{TextBuffer}, including cursor and selection positions, folds, and soft wraps.\nIf you're manipulating the state of an editor, use this class. If you're\ninterested in the visual appearance of editors, use {EditorView} instead.\n\nA single {TextBuffer} can belong to multiple editors. For example, if the\nsame file is open in two different panes, Atom creates a separate editor for\neach pane. If the buffer is manipulated the changes are reflected in both\neditors, but each maintains its own cursor position, folded lines, etc.\n\n## Accessing Editor Instances\n\nThe easiest way to get hold of `Editor` objects is by registering a callback\nwith `::eachEditor` on the `atom.workspace` global. Your callback will then\nbe called with all current editor instances and also when any editor is\ncreated in the future.\n\n```coffeescript\n atom.workspace.eachEditor (editor) ->\n editor.insertText('Hello World')\n```\n\n## Buffer vs. Screen Coordinates\n\nBecause editors support folds and soft-wrapping, the lines on screen don't\nalways match the lines in the buffer. For example, a long line that soft wraps\ntwice renders as three lines on screen, but only represents one line in the\nbuffer. Similarly, if rows 5-10 are folded, then row 6 on screen corresponds\nto row 11 in the buffer.\n\nYour choice of coordinates systems will depend on what you're trying to\nachieve. For example, if you're writing a command that jumps the cursor up or\ndown by 10 lines, you'll want to use screen coordinates because the user\nprobably wants to skip lines *on screen*. However, if you're writing a package\nthat jumps between method definitions, you'll want to work in buffer\ncoordinates.\n\n**When in doubt, just default to buffer coordinates**, then experiment with\nsoft wraps and folds to ensure your code interacts with them correctly.\n\n## Common Tasks\n\nThis is a subset of methods on this class. Refer to the complete summary for\nits full capabilities.\n\n### Cursors\n- {::setCursorBufferPosition}\n- {::setCursorScreenPosition}\n- {::moveCursorUp}\n- {::moveCursorDown}\n- {::moveCursorLeft}\n- {::moveCursorRight}\n- {::moveCursorToBeginningOfWord}\n- {::moveCursorToEndOfWord}\n- {::moveCursorToPreviousWordBoundary}\n- {::moveCursorToNextWordBoundary}\n- {::moveCursorToBeginningOfNextWord}\n- {::moveCursorToBeginningOfLine}\n- {::moveCursorToEndOfLine}\n- {::moveCursorToFirstCharacterOfLine}\n- {::moveCursorToTop}\n- {::moveCursorToBottom}\n\n### Selections\n- {::getSelectedBufferRange}\n- {::getSelectedBufferRanges}\n- {::setSelectedBufferRange}\n- {::setSelectedBufferRanges}\n- {::selectUp}\n- {::selectDown}\n- {::selectLeft}\n- {::selectRight}\n- {::selectToBeginningOfWord}\n- {::selectToEndOfWord}\n- {::selectToPreviousWordBoundary}\n- {::selectToNextWordBoundary}\n- {::selectWord}\n- {::selectToBeginningOfLine}\n- {::selectToEndOfLine}\n- {::selectToFirstCharacterOfLine}\n- {::selectToTop}\n- {::selectToBottom}\n- {::selectAll}\n- {::addSelectionForBufferRange}\n- {::addSelectionAbove}\n- {::addSelectionBelow}\n- {::splitSelectionsIntoLines}\n\n### Manipulating Text\n- {::getText}\n- {::getSelectedText}\n- {::setText}\n- {::setTextInBufferRange}\n- {::insertText}\n- {::insertNewline}\n- {::insertNewlineAbove}\n- {::insertNewlineBelow}\n- {::backspace}\n- {::deleteToBeginningOfWord}\n- {::deleteToBeginningOfLine}\n- {::delete}\n- {::deleteToEndOfLine}\n- {::deleteToEndOfWord}\n- {::deleteLine}\n- {::cutSelectedText}\n- {::cutToEndOfLine}\n- {::copySelectedText}\n- {::pasteText}\n\n### Undo, Redo, and Transactions\n- {::undo}\n- {::redo}\n- {::transact}\n- {::abortTransaction}\n\n### Markers\n- {::markBufferRange}\n- {::markScreenRange}\n- {::getMarker}\n- {::findMarkers}\n\n### Decorations\n- {::decorateMarker}\n- {::decorationsForScreenRowRange} ", + "range": [ + [ + 138, + 0 + ], + [ + 2060, + 16 + ] + ] + } + }, + "143": { + "17": { + "name": "deserializing", + "type": "primitive", + "range": [ + [ + 143, + 17 + ], + [ + 143, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "144": { + "32": { + "name": "callDisplayBufferCreatedHook", + "type": "primitive", + "range": [ + [ + 144, + 32 + ], + [ + 144, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "145": { + "18": { + "name": "registerEditor", + "type": "primitive", + "range": [ + [ + 145, + 18 + ], + [ + 145, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "146": { + "10": { + "name": "buffer", + "type": "primitive", + "range": [ + [ + 146, + 10 + ], + [ + 146, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "147": { + "16": { + "name": "languageMode", + "type": "primitive", + "range": [ + [ + 147, + 16 + ], + [ + 147, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "148": { + "11": { + "name": "cursors", + "type": "primitive", + "range": [ + [ + 148, + 11 + ], + [ + 148, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "149": { + "14": { + "name": "selections", + "type": "primitive", + "range": [ + [ + 149, + 14 + ], + [ + 149, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "150": { + "28": { + "name": "suppressSelectionMerging", + "type": "primitive", + "range": [ + [ + 150, + 28 + ], + [ + 150, + 32 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "151": { + "20": { + "name": "updateBatchDepth", + "type": "primitive", + "range": [ + [ + 151, + 20 + ], + [ + 151, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "152": { + "26": { + "name": "selectionFlashDuration", + "type": "primitive", + "range": [ + [ + 152, + 26 + ], + [ + 152, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "161": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 161, + 15 + ], + [ + 190, + 1 + ] + ], + "doc": "~Private~" + } + }, + "190": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 19 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 197, + 21 + ], + [ + 202, + 1 + ] + ], + "doc": "~Private~" + } + }, + "202": { + "21": { + "name": "subscribeToBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 202, + 21 + ], + [ + 215, + 1 + ] + ], + "doc": "~Private~" + } + }, + "215": { + "28": { + "name": "subscribeToDisplayBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 215, + 28 + ], + [ + 228, + 1 + ] + ], + "doc": "~Private~" + } + }, + "228": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 228, + 16 + ], + [ + 234, + 1 + ] + ], + "doc": "~Private~" + } + }, + "234": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 13 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 242, + 8 + ], + [ + 258, + 1 + ] + ], + "doc": "Private: Create an {Editor} with its initial state based on this object " + } + }, + "258": { + "12": { + "name": "getTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 258, + 12 + ], + [ + 271, + 1 + ] + ], + "doc": " Public: Get the title the editor's title for display in other parts of the\nUI such as the tabs.\n\nIf the editor's buffer is saved, its title is the file name. If it is\nunsaved, its title is \"untitled\".\n\nReturns a {String}. " + } + }, + "271": { + "16": { + "name": "getLongTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 271, + 16 + ], + [ + 281, + 1 + ] + ], + "doc": " Public: Get the editor's long title for display in other parts of the UI\nsuch as the window title.\n\nIf the editor's buffer is saved, its long title is formatted as\n\" - \". If it is unsaved, its title is \"untitled\"\n\nReturns a {String}. " + } + }, + "281": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 281, + 14 + ], + [ + 281, + 60 + ] + ], + "doc": "Private: Controls visibility based on the given {Boolean}. " + } + }, + "288": { + "25": { + "name": "setEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorWidthInChars" + ], + "range": [ + [ + 288, + 25 + ], + [ + 292, + 1 + ] + ], + "doc": " Private: Set the number of characters that can be displayed horizontally in the\neditor.\n\neditorWidthInChars - A {Number} representing the width of the {EditorView}\nin characters. " + } + }, + "292": { + "21": { + "name": "getSoftWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 21 + ], + [ + 292, + 57 + ] + ], + "doc": "Public: Sets the column at which column will soft wrap " + } + }, + "296": { + "15": { + "name": "getSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 296, + 15 + ], + [ + 296, + 26 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether softTabs are enabled for this\neditor. " + } + }, + "301": { + "15": { + "name": "setSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 301, + 15 + ], + [ + 301, + 38 + ] + ], + "doc": " Public: Enable or disable soft tabs for this editor.\n\nsoftTabs - A {Boolean} " + } + }, + "304": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 304, + 18 + ], + [ + 304, + 52 + ] + ], + "doc": "Public: Toggle soft tabs for this editor " + } + }, + "307": { + "15": { + "name": "getSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 307, + 15 + ], + [ + 307, + 45 + ] + ], + "doc": "Public: Get whether soft wrap is enabled for this editor. " + } + }, + "312": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 312, + 15 + ], + [ + 312, + 64 + ] + ], + "doc": " Public: Enable or disable soft wrap for this editor.\n\nsoftWrap - A {Boolean} " + } + }, + "315": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 18 + ], + [ + 315, + 52 + ] + ], + "doc": "Public: Toggle soft wrap for this editor " + } + }, + "323": { + "14": { + "name": "getTabText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 323, + 14 + ], + [ + 323, + 37 + ] + ], + "doc": " Public: Get the text representing a single level of indent.\n\nIf soft tabs are enabled, the text is composed of N spaces, where N is the\ntab length. Otherwise the text is a tab character (`\\t`).\n\nReturns a {String}. " + } + }, + "328": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 328, + 16 + ], + [ + 328, + 47 + ] + ], + "doc": " Public: Get the on-screen length of tab characters.\n\nReturns a {Number}. " + } + }, + "331": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 331, + 16 + ], + [ + 331, + 68 + ] + ], + "doc": "Public: Set the on-screen length of tab characters. " + } + }, + "339": { + "16": { + "name": "usesSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 339, + 16 + ], + [ + 361, + 1 + ] + ], + "doc": " Public: Determine if the buffer uses hard or soft tabs.\n\nReturns `true` if the first non-comment line with leading whitespace starts\nwith a space character. Returns `false` if it starts with a hard tab (`\\t`).\n\nReturns a {Boolean}, " + } + }, + "361": { + "22": { + "name": "clipBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 361, + 22 + ], + [ + 361, + 77 + ] + ], + "doc": " Public: Clip the given {Point} to a valid position in the buffer.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the buffer, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " + } + }, + "369": { + "19": { + "name": "clipBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 369, + 19 + ], + [ + 369, + 53 + ] + ], + "doc": " Public: Clip the start and end of the given range to valid positions in the\nbuffer. See {::clipBufferPosition} for more information.\n\nrange - The {Range} to clip.\n\nReturns a {Range}. " + } + }, + "381": { + "27": { + "name": "indentationForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 381, + 27 + ], + [ + 396, + 1 + ] + ], + "doc": " Public: Get the indentation level of the given a buffer row.\n\nReturns how deeply the given row is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nbufferRow - A {Number} indicating the buffer row.\n\nReturns a {Number}. " + } + }, + "396": { + "30": { + "name": "setIndentationForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "newLevel", + null + ], + "range": [ + [ + 396, + 30 + ], + [ + 414, + 1 + ] + ], + "doc": " Public: Set the indentation level for the given buffer row.\n\nInserts or removes hard tabs or spaces based on the soft tabs and tab length\nsettings of this editor in order to bring it to the given indentation level.\nNote that if soft tabs are enabled and the tab length is 2, a row with 4\nleading spaces would have an indentation level of 2.\n\nbufferRow - A {Number} indicating the buffer row.\nnewLevel - A {Number} indicating the new indentation level.\noptions - An {Object} with the following keys:\n :preserveLeadingWhitespace - true to preserve any whitespace already at\n the beginning of the line (default: false). " + } + }, + "414": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 414, + 22 + ], + [ + 418, + 1 + ] + ], + "doc": " Public: Get the indentation level of the given line of text.\n\nReturns how deeply the given line is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nline - A {String} representing a line of text.\n\nReturns a {Number}. " + } + }, + "418": { + "21": { + "name": "buildIndentString", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "number", + "column" + ], + "range": [ + [ + 418, + 21 + ], + [ + 428, + 1 + ] + ], + "doc": "Private: Constructs the string used for tabs. " + } + }, + "428": { + "8": { + "name": "save", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 8 + ], + [ + 428, + 24 + ] + ], + "doc": " Public: Saves the editor's text buffer.\n\nSee {TextBuffer::save} for more details. " + } + }, + "435": { + "10": { + "name": "saveAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 435, + 10 + ], + [ + 435, + 47 + ] + ], + "doc": " Public: Saves the editor's text buffer as the given path.\n\nSee {TextBuffer::saveAs} for more details.\n\nfilePath - A {String} path. " + } + }, + "437": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 437, + 16 + ], + [ + 442, + 1 + ] + ], + "doc": "~Private~" + } + }, + "442": { + "23": { + "name": "copyPathToClipboard", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 442, + 23 + ], + [ + 447, + 1 + ] + ], + "doc": "Private: Copies the current file path to the native clipboard. " + } + }, + "447": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 447, + 11 + ], + [ + 447, + 30 + ] + ], + "doc": "Public: Returns the {String} path of this editor's text buffer. " + } + }, + "450": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 450, + 11 + ], + [ + 450, + 30 + ] + ], + "doc": "Public: Returns a {String} representing the entire contents of the editor. " + } + }, + "453": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 453, + 11 + ], + [ + 453, + 41 + ] + ], + "doc": "Public: Replaces the entire contents of the buffer with the given {String}. " + } + }, + "458": { + "18": { + "name": "getTextInRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 458, + 18 + ], + [ + 458, + 57 + ] + ], + "doc": " Private: Get the text in the given {Range}.\n\nReturns a {String}. " + } + }, + "461": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 461, + 16 + ], + [ + 461, + 40 + ] + ], + "doc": "Public: Returns a {Number} representing the number of lines in the editor. " + } + }, + "464": { + "13": { + "name": "getBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 464, + 13 + ], + [ + 464, + 22 + ] + ], + "doc": "Private: Retrieves the current {TextBuffer}. " + } + }, + "467": { + "10": { + "name": "getUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 467, + 10 + ], + [ + 467, + 28 + ] + ], + "doc": "Public: Retrieves the current buffer's URI. " + } + }, + "470": { + "20": { + "name": "isBufferRowBlank", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 470, + 20 + ], + [ + 470, + 63 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.isRowBlank} " + } + }, + "473": { + "24": { + "name": "isBufferRowCommented", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 473, + 24 + ], + [ + 479, + 1 + ] + ], + "doc": "Public: Determine if the given row is entirely a comment " + } + }, + "479": { + "25": { + "name": "nextNonBlankBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 479, + 25 + ], + [ + 479, + 73 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.nextNonBlankRow} " + } + }, + "482": { + "24": { + "name": "getEofBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 482, + 24 + ], + [ + 482, + 50 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.getEndPosition} " + } + }, + "486": { + "20": { + "name": "getLastBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 486, + 20 + ], + [ + 486, + 42 + ] + ], + "doc": " Public: Returns a {Number} representing the last zero-indexed buffer row\nnumber of the editor. " + } + }, + "494": { + "27": { + "name": "bufferRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + null + ], + "range": [ + [ + 494, + 27 + ], + [ + 494, + 96 + ] + ], + "doc": " Private: Returns the range for the given buffer row.\n\nrow - A row {Number}.\noptions - An options hash with an `includeNewline` key.\n\nReturns a {Range}. " + } + }, + "500": { + "20": { + "name": "lineForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 500, + 20 + ], + [ + 500, + 51 + ] + ], + "doc": " Public: Returns a {String} representing the contents of the line at the\ngiven buffer row.\n\nrow - A {Number} representing a zero-indexed buffer row. " + } + }, + "506": { + "26": { + "name": "lineLengthForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 506, + 26 + ], + [ + 506, + 63 + ] + ], + "doc": " Public: Returns a {Number} representing the line length for the given\nbuffer row, exclusive of its line-ending character(s).\n\nrow - A {Number} indicating the buffer row. " + } + }, + "509": { + "8": { + "name": "scan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 509, + 8 + ], + [ + 509, + 41 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.scan} " + } + }, + "512": { + "21": { + "name": "scanInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 512, + 21 + ], + [ + 512, + 61 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.scanInRange} " + } + }, + "515": { + "30": { + "name": "backwardsScanInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 515, + 30 + ], + [ + 515, + 79 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.backwardsScanInRange} " + } + }, + "518": { + "14": { + "name": "isModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 518, + 14 + ], + [ + 518, + 36 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.isModified} " + } + }, + "520": { + "11": { + "name": "isEmpty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 520, + 11 + ], + [ + 520, + 30 + ] + ], + "doc": "~Private~" + } + }, + "524": { + "22": { + "name": "shouldPromptToSave", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 524, + 22 + ], + [ + 524, + 74 + ] + ], + "doc": " Public: Determine whether the user should be prompted to save before closing\nthis editor. " + } + }, + "536": { + "35": { + "name": "screenPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 536, + 35 + ], + [ + 536, + 134 + ] + ], + "doc": " Public: Convert a position in buffer-coordinates to screen-coordinates.\n\nThe position is clipped via {::clipBufferPosition} prior to the conversion.\nThe position is also clipped via {::clipScreenPosition} following the\nconversion, which only makes a difference when `options` are supplied.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " + } + }, + "546": { + "35": { + "name": "bufferPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 546, + 35 + ], + [ + 546, + 134 + ] + ], + "doc": " Public: Convert a position in screen-coordinates to buffer-coordinates.\n\nThe position is clipped via {::clipScreenPosition} prior to the conversion.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " + } + }, + "551": { + "29": { + "name": "screenRangeForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 551, + 29 + ], + [ + 551, + 98 + ] + ], + "doc": " Public: Convert a range in buffer-coordinates to screen-coordinates.\n\nReturns a {Range}. " + } + }, + "556": { + "29": { + "name": "bufferRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 556, + 29 + ], + [ + 556, + 98 + ] + ], + "doc": " Public: Convert a range in screen-coordinates to buffer-coordinates.\n\nReturns a {Range}. " + } + }, + "573": { + "22": { + "name": "clipScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 573, + 22 + ], + [ + 573, + 108 + ] + ], + "doc": " Public: Clip the given {Point} to a valid position on screen.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the screen, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at screen row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " + } + }, + "576": { + "20": { + "name": "lineForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 576, + 20 + ], + [ + 576, + 58 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.lineForRow} " + } + }, + "579": { + "22": { + "name": "linesForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 579, + 22 + ], + [ + 579, + 76 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.linesForRows} " + } + }, + "582": { + "22": { + "name": "getScreenLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 582, + 22 + ], + [ + 582, + 53 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getLineCount} " + } + }, + "585": { + "26": { + "name": "getMaxScreenLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 585, + 26 + ], + [ + 585, + 61 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getMaxLineLength} " + } + }, + "588": { + "20": { + "name": "getLastScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 588, + 20 + ], + [ + 588, + 49 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getLastRow} " + } + }, + "591": { + "27": { + "name": "bufferRowsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 591, + 27 + ], + [ + 591, + 104 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.bufferRowsForScreenRows} " + } + }, + "593": { + "25": { + "name": "bufferRowForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 593, + 25 + ], + [ + 593, + 74 + ] + ], + "doc": "~Private~" + } + }, + "605": { + "27": { + "name": "scopesForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 605, + 27 + ], + [ + 605, + 100 + ] + ], + "doc": " Public: Get the syntactic scopes for the given position in buffer\ncoordinates.\n\nFor example, if called with a position inside the parameter list of an\nanonymous CoffeeScript function, the method returns the following array:\n`[\"source.coffee\", \"meta.inline.function.coffee\", \"variable.parameter.function.coffee\"]`\n\nbufferPosition - A {Point} or {Array} of [row, column].\n\nReturns an {Array} of {String}s. " + } + }, + "614": { + "31": { + "name": "bufferRangeForScopeAtCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 614, + 31 + ], + [ + 618, + 1 + ] + ], + "doc": " Public: Get the range in buffer coordinates of all tokens surrounding the\ncursor that match the given scope selector.\n\nFor example, if you wanted to find the string surrounding the cursor, you\ncould call `editor.bufferRangeForScopeAtCursor(\".string.quoted\")`.\n\nReturns a {Range}. " + } + }, + "618": { + "26": { + "name": "tokenForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 618, + 26 + ], + [ + 618, + 98 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.tokenForBufferPosition} " + } + }, + "624": { + "19": { + "name": "getCursorScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 624, + 19 + ], + [ + 624, + 45 + ] + ], + "doc": " Public: Get the syntactic scopes for the most recently added cursor's\nposition. See {::scopesForBufferPosition} for more information.\n\nReturns an {Array} of {String}s. " + } + }, + "626": { + "18": { + "name": "logCursorScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 626, + 18 + ], + [ + 633, + 1 + ] + ], + "doc": "~Private~" + } + }, + "633": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 633, + 14 + ], + [ + 639, + 1 + ] + ], + "doc": " Public: For each selection, replace the selected text with the given text.\n\ntext - A {String} representing the text to insert.\noptions - See {Selection::insertText}. " + } + }, + "639": { + "17": { + "name": "insertNewline", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 639, + 17 + ], + [ + 643, + 1 + ] + ], + "doc": "Public: For each selection, replace the selected text with a newline. " + } + }, + "643": { + "22": { + "name": "insertNewlineBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 643, + 22 + ], + [ + 649, + 1 + ] + ], + "doc": "Public: For each cursor, insert a newline at beginning the following line. " + } + }, + "649": { + "22": { + "name": "insertNewlineAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 649, + 22 + ], + [ + 668, + 1 + ] + ], + "doc": "Public: For each cursor, insert a newline at the end of the preceding line. " + } + }, + "668": { + "10": { + "name": "indent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 668, + 10 + ], + [ + 674, + 1 + ] + ], + "doc": " Private: Indent all lines intersecting selections. See {Selection::indent} for more\ninformation. " + } + }, + "674": { + "13": { + "name": "backspace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 674, + 13 + ], + [ + 678, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete the character\npreceding the cursor. Otherwise delete the selected text. " + } + }, + "678": { + "30": { + "name": "backspaceToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 678, + 30 + ], + [ + 683, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " + } + }, + "683": { + "30": { + "name": "backspaceToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 683, + 30 + ], + [ + 690, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " + } + }, + "690": { + "27": { + "name": "deleteToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 690, + 27 + ], + [ + 696, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word that precede the cursor. Otherwise delete the\nselected text. " + } + }, + "696": { + "27": { + "name": "deleteToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 696, + 27 + ], + [ + 701, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing line that precede the cursor. Otherwise delete the\nselected text. " + } + }, + "701": { + "10": { + "name": "delete", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 701, + 10 + ], + [ + 708, + 1 + ] + ] + } + }, + "708": { + "21": { + "name": "deleteToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 708, + 21 + ], + [ + 714, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is not empty, deletes the\nselection; otherwise, deletes all characters of the containing line\nfollowing the cursor. If the cursor is already at the end of the line,\ndeletes the following newline. " + } + }, + "714": { + "21": { + "name": "deleteToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 714, + 21 + ], + [ + 718, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word following the cursor. Otherwise delete the selected\ntext. " + } + }, + "718": { + "14": { + "name": "deleteLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 718, + 14 + ], + [ + 722, + 1 + ] + ], + "doc": "Public: Delete all lines intersecting selections. " + } + }, + "722": { + "22": { + "name": "indentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 722, + 22 + ], + [ + 726, + 1 + ] + ], + "doc": "Public: Indent rows intersecting selections by one level. " + } + }, + "726": { + "23": { + "name": "outdentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 726, + 23 + ], + [ + 734, + 1 + ] + ], + "doc": "Public: Outdent rows intersecting selections by one level. " + } + }, + "734": { + "33": { + "name": "toggleLineCommentsInSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 734, + 33 + ], + [ + 739, + 1 + ] + ], + "doc": " Public: Toggle line comments for rows intersecting selections.\n\nIf the current grammar doesn't support comments, does nothing.\n\nReturns an {Array} of the commented {Range}s. " + } + }, + "739": { + "26": { + "name": "autoIndentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 739, + 26 + ], + [ + 744, + 1 + ] + ], + "doc": " Public: Indent rows intersecting selections based on the grammar's suggested\nindent level. " + } + }, + "744": { + "30": { + "name": "normalizeTabsInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 744, + 30 + ], + [ + 751, + 1 + ] + ], + "doc": " Private: If soft tabs are enabled, convert all hard tabs to soft tabs in the given\n{Range}. " + } + }, + "751": { + "18": { + "name": "cutToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 751, + 18 + ], + [ + 758, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, cut all characters\nof the containing line following the cursor. Otherwise cut the selected\ntext. " + } + }, + "758": { + "19": { + "name": "cutSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 758, + 19 + ], + [ + 765, + 1 + ] + ], + "doc": "Public: For each selection, cut the selected text. " + } + }, + "765": { + "20": { + "name": "copySelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 765, + 20 + ], + [ + 779, + 1 + ] + ], + "doc": "Public: For each selection, copy the selected text. " + } + }, + "779": { + "13": { + "name": "pasteText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 779, + 13 + ], + [ + 798, + 1 + ] + ], + "doc": " Public: For each selection, replace the selected text with the contents of\nthe clipboard.\n\nIf the clipboard contains the same number of selections as the current\neditor, each selection will be replaced with the content of the\ncorresponding clipboard selection text.\n\noptions - See {Selection::insertText}. " + } + }, + "798": { + "8": { + "name": "undo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 798, + 8 + ], + [ + 803, + 1 + ] + ], + "doc": "Public: Undo the last change. " + } + }, + "803": { + "8": { + "name": "redo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 803, + 8 + ], + [ + 812, + 1 + ] + ], + "doc": "Public: Redo the last change. " + } + }, + "812": { + "18": { + "name": "foldCurrentRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 812, + 18 + ], + [ + 817, + 1 + ] + ], + "doc": " Public: Fold the most recent cursor's row based on its indentation level.\n\nThe fold will extend from the nearest preceding line with a lower\nindentation level up to the nearest following row with a lower indentation\nlevel. " + } + }, + "817": { + "20": { + "name": "unfoldCurrentRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 817, + 20 + ], + [ + 822, + 1 + ] + ], + "doc": "Public: Unfold the most recent cursor's row by one level. " + } + }, + "822": { + "21": { + "name": "foldSelectedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 822, + 21 + ], + [ + 826, + 1 + ] + ], + "doc": "Public: For each selection, fold the rows it intersects. " + } + }, + "826": { + "11": { + "name": "foldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 826, + 11 + ], + [ + 830, + 1 + ] + ], + "doc": "Public: Fold all foldable lines. " + } + }, + "830": { + "13": { + "name": "unfoldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 830, + 13 + ], + [ + 836, + 1 + ] + ], + "doc": "Public: Unfold all existing folds. " + } + }, + "836": { + "24": { + "name": "foldAllAtIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "level" + ], + "range": [ + [ + 836, + 24 + ], + [ + 846, + 1 + ] + ], + "doc": " Public: Fold all foldable lines at the given indent level.\n\nlevel - A {Number}. " + } + }, + "846": { + "17": { + "name": "foldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 846, + 17 + ], + [ + 852, + 1 + ] + ], + "doc": " Public: Fold the given row in buffer coordinates based on its indentation\nlevel.\n\nIf the given row is foldable, the fold will begin there. Otherwise, it will\nbegin at the first foldable row preceding the given row.\n\nbufferRow - A {Number}. " + } + }, + "852": { + "19": { + "name": "unfoldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 852, + 19 + ], + [ + 862, + 1 + ] + ], + "doc": " Public: Unfold all folds containing the given row in buffer coordinates.\n\nbufferRow - A {Number} " + } + }, + "862": { + "25": { + "name": "isFoldableAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 862, + 25 + ], + [ + 865, + 1 + ] + ], + "doc": " Public: Determine whether the given row in buffer coordinates is foldable.\n\nA *foldable* row is a row that *starts* a row range that can be folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "865": { + "25": { + "name": "isFoldableAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 865, + 25 + ], + [ + 870, + 1 + ] + ], + "doc": "~Private~" + } + }, + "870": { + "14": { + "name": "createFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 870, + 14 + ], + [ + 874, + 1 + ] + ], + "doc": "TODO: Rename to foldRowRange? " + } + }, + "874": { + "21": { + "name": "destroyFoldWithId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 874, + 21 + ], + [ + 878, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.destroyFoldWithId} " + } + }, + "878": { + "39": { + "name": "destroyFoldsIntersectingBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 878, + 39 + ], + [ + 884, + 1 + ] + ], + "doc": "Private: Remove any {Fold}s found that intersect the given buffer row. " + } + }, + "884": { + "25": { + "name": "toggleFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 884, + 25 + ], + [ + 893, + 1 + ] + ], + "doc": " Public: Fold the given buffer row if it isn't currently folded, and unfold\nit otherwise. " + } + }, + "893": { + "23": { + "name": "isFoldedAtCursorRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 893, + 23 + ], + [ + 901, + 1 + ] + ], + "doc": " Public: Determine whether the most recently added cursor's row is folded.\n\nReturns a {Boolean}. " + } + }, + "901": { + "23": { + "name": "isFoldedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 901, + 23 + ], + [ + 909, + 1 + ] + ], + "doc": " Public: Determine whether the given row in buffer coordinates is folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "909": { + "23": { + "name": "isFoldedAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 909, + 23 + ], + [ + 913, + 1 + ] + ], + "doc": " Public: Determine whether the given row in screen coordinates is folded.\n\nscreenRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "913": { + "34": { + "name": "largestFoldContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 913, + 34 + ], + [ + 917, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.largestFoldContainingBufferRow} " + } + }, + "917": { + "34": { + "name": "largestFoldStartingAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 917, + 34 + ], + [ + 921, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.largestFoldStartingAtScreenRow} " + } + }, + "921": { + "34": { + "name": "outermostFoldsInBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 921, + 34 + ], + [ + 926, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.outermostFoldsForBufferRowRange} " + } + }, + "926": { + "14": { + "name": "moveLineUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 926, + 14 + ], + [ + 979, + 1 + ] + ], + "doc": " Private: Move lines intersection the most recent selection up by one row in screen\ncoordinates. " + } + }, + "979": { + "16": { + "name": "moveLineDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 979, + 16 + ], + [ + 1034, + 1 + ] + ], + "doc": " Private: Move lines intersecting the most recent selection down by one row in screen\ncoordinates. " + } + }, + "1034": { + "18": { + "name": "duplicateLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1034, + 18 + ], + [ + 1060, + 1 + ] + ], + "doc": "Private: Duplicate the most recent cursor's current line. " + } + }, + "1060": { + "17": { + "name": "duplicateLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1060, + 17 + ], + [ + 1072, + 1 + ] + ], + "doc": "Deprecated: Use {::duplicateLines} instead. " + } + }, + "1072": { + "22": { + "name": "mutateSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1072, + 22 + ], + [ + 1075, + 1 + ] + ], + "doc": " Public: Mutate the text of all the selections in a single transaction.\n\nAll the changes made inside the given {Function} can be reverted with a\nsingle call to {::undo}.\n\nfn - A {Function} that will be called once for each {Selection}. The first\n argument will be a {Selection} and the second argument will be the\n {Number} index of that selection. " + } + }, + "1075": { + "23": { + "name": "replaceSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options", + "fn" + ], + "range": [ + [ + 1075, + 23 + ], + [ + 1096, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1096": { + "32": { + "name": "decorationsForScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 1096, + 32 + ], + [ + 1137, + 1 + ] + ], + "doc": " Public: Get all the decorations within a screen row range.\n\nstartScreenRow - the {Number} beginning screen row\nendScreenRow - the {Number} end screen row (inclusive)\n\nReturns an {Object} of decorations in the form\n `{1: [{id: 10, type: 'gutter', class: 'someclass'}], 2: ...}`\n where the keys are {Marker} IDs, and the values are an array of decoration\n params objects attached to the marker.\nReturns an empty object when no decorations are found " + } + }, + "1137": { + "18": { + "name": "decorateMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "decorationParams" + ], + "range": [ + [ + 1137, + 18 + ], + [ + 1140, + 1 + ] + ], + "doc": " Public: Adds a decoration that tracks a {Marker}. When the marker moves,\nis invalidated, or is destroyed, the decoration will be updated to reflect\nthe marker's state.\n\nThere are three types of supported decorations:\n* `line`: Adds your CSS `class` to the line nodes within the range\n marked by the marker\n* `gutter`: Adds your CSS `class` to the line number nodes within the\n range marked by the marker\n* `highlight`: Adds a new highlight div to the editor surrounding the\n range marked by the marker. When the user selects text, the selection is\n visualized with a highlight decoration internally. The structure of this\n highlight will be:\n ```html\n
    \">\n \n
    \n
    \n ```\n\nmarker - A {Marker} you want this decoration to follow.\ndecorationParams - An {Object} representing the decoration eg. `{type: 'gutter', class: 'linter-error'}`\n :type - There are a few supported decoration types:\n * `gutter`: Applies the decoration to the line numbers spanned by the marker.\n * `line`: Applies the decoration to the lines spanned by the marker.\n * `highlight`: Applies the decoration to a \"highlight\" behind the marked range.\n :class - This CSS class will be applied to the decorated line number,\n line, or highlight.\n :onlyHead - If `true`, the decoration will only be applied to the head\n of the marker. Only applicable to the `line` and `gutter` types.\n :onlyEmpty - If `true`, the decoration will only be applied if the\n associated marker is empty. Only applicable to the `line` and\n `gutter` types.\n :onlyNonEmpty - If `true`, the decoration will only be applied if the\n associated marker is non-empty. Only applicable to the `line` and\n gutter types.\n\nReturns a {Decoration} object " + } + }, + "1140": { + "19": { + "name": "decorationForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 1140, + 19 + ], + [ + 1144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1144": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 1144, + 13 + ], + [ + 1148, + 1 + ] + ], + "doc": "Public: Get the {DisplayBufferMarker} for the given marker id. " + } + }, + "1148": { + "14": { + "name": "getMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1148, + 14 + ], + [ + 1170, + 1 + ] + ], + "doc": "Public: Get all {DisplayBufferMarker}s. " + } + }, + "1170": { + "15": { + "name": "findMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "properties" + ], + "range": [ + [ + 1170, + 15 + ], + [ + 1179, + 1 + ] + ], + "doc": " Public: Find all {DisplayBufferMarker}s that match the given properties.\n\nThis method finds markers based on the given properties. Markers can be\nassociated with custom properties that will be compared with basic equality.\nIn addition, there are several special properties that will be compared\nwith the range of the markers rather than their properties.\n\nproperties - An {Object} containing properties that each returned marker\n must satisfy. Markers can be associated with custom properties, which are\n compared with basic equality. In addition, several reserved properties\n can be used to filter markers based on their current range:\n :startBufferRow - Only include markers starting at this row in buffer\n coordinates.\n :endBufferRow - Only include markers ending at this row in buffer\n coordinates.\n :containsBufferRange - Only include markers containing this {Range} or\n in range-compatible {Array} in buffer coordinates.\n :containsBufferPosition - Only include markers containing this {Point}\n or {Array} of `[row, column]` in buffer coordinates. " + } + }, + "1179": { + "19": { + "name": "markScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1179, + 19 + ], + [ + 1188, + 1 + ] + ], + "doc": " Public: Mark the given range in screen coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1188": { + "19": { + "name": "markBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1188, + 19 + ], + [ + 1197, + 1 + ] + ], + "doc": " Public: Mark the given range in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1197": { + "22": { + "name": "markScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1197, + 22 + ], + [ + 1206, + 1 + ] + ], + "doc": " Public: Mark the given position in screen coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1206": { + "22": { + "name": "markBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1206, + 22 + ], + [ + 1210, + 1 + ] + ], + "doc": " Public: Mark the given position in buffer coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1210": { + "17": { + "name": "destroyMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1210, + 17 + ], + [ + 1216, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.destroyMarker} " + } + }, + "1216": { + "18": { + "name": "getMarkerCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1216, + 18 + ], + [ + 1220, + 1 + ] + ], + "doc": " Public: Get the number of markers in this editor's buffer.\n\nReturns a {Number}. " + } + }, + "1220": { + "22": { + "name": "hasMultipleCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1220, + 22 + ], + [ + 1224, + 1 + ] + ], + "doc": "Public: Determine if there are multiple cursors. " + } + }, + "1224": { + "14": { + "name": "getCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1224, + 14 + ], + [ + 1224, + 38 + ] + ], + "doc": "Public: Get an Array of all {Cursor}s. " + } + }, + "1227": { + "13": { + "name": "getCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1227, + 13 + ], + [ + 1233, + 1 + ] + ], + "doc": "Public: Get the most recently added {Cursor}. " + } + }, + "1233": { + "29": { + "name": "addCursorAtScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 1233, + 29 + ], + [ + 1240, + 1 + ] + ], + "doc": " Public: Add a cursor at the position in screen coordinates.\n\nReturns a {Cursor}. " + } + }, + "1240": { + "29": { + "name": "addCursorAtBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 1240, + 29 + ], + [ + 1245, + 1 + ] + ], + "doc": " Public: Add a cursor at the given position in buffer coordinates.\n\nReturns a {Cursor}. " + } + }, + "1245": { + "13": { + "name": "addCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1245, + 13 + ], + [ + 1255, + 1 + ] + ], + "doc": "Private: Add a cursor based on the given {DisplayBufferMarker}. " + } + }, + "1255": { + "16": { + "name": "removeCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursor" + ], + "range": [ + [ + 1255, + 16 + ], + [ + 1264, + 1 + ] + ], + "doc": "Private: Remove the given cursor from this editor. " + } + }, + "1264": { + "16": { + "name": "addSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "options" + ], + "range": [ + [ + 1264, + 16 + ], + [ + 1288, + 1 + ] + ], + "doc": " Private: Add a {Selection} based on the given {DisplayBufferMarker}.\n\nmarker - The {DisplayBufferMarker} to highlight\noptions - An {Object} that pertains to the {Selection} constructor.\n\nReturns the new {Selection}. " + } + }, + "1288": { + "30": { + "name": "addSelectionForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 1288, + 30 + ], + [ + 1301, + 1 + ] + ], + "doc": " Public: Add a selection for the given range in buffer coordinates.\n\nbufferRange - A {Range}\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation.\n\nReturns the added {Selection}. " + } + }, + "1301": { + "26": { + "name": "setSelectedBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 1301, + 26 + ], + [ + 1311, + 1 + ] + ], + "doc": " Public: Set the selected range in buffer coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nbufferRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1311": { + "26": { + "name": "setSelectedScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 1311, + 26 + ], + [ + 1321, + 1 + ] + ], + "doc": " Public: Set the selected range in screen coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nscreenRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1321": { + "27": { + "name": "setSelectedBufferRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRanges", + "options" + ], + "range": [ + [ + 1321, + 27 + ], + [ + 1336, + 1 + ] + ], + "doc": " Public: Set the selected ranges in buffer coordinates. If there are multiple\nselections, they are replaced by new selections with the given ranges.\n\nbufferRanges - An {Array} of {Range}s or range-compatible {Array}s.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1336": { + "19": { + "name": "removeSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 1336, + 19 + ], + [ + 1342, + 1 + ] + ], + "doc": "Private: Remove the given selection. " + } + }, + "1342": { + "19": { + "name": "clearSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1342, + 19 + ], + [ + 1347, + 1 + ] + ], + "doc": " Private: Reduce one or more selections to a single empty selection based on the most\nrecently added cursor. " + } + }, + "1347": { + "25": { + "name": "consolidateSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1347, + 25 + ], + [ + 1355, + 1 + ] + ], + "doc": "Private: Reduce multiple selections to the most recently added selection. " + } + }, + "1355": { + "31": { + "name": "selectionScreenRangeChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 1355, + 31 + ], + [ + 1361, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1361": { + "17": { + "name": "getSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1361, + 17 + ], + [ + 1361, + 44 + ] + ], + "doc": " Public: Get current {Selection}s.\n\nReturns: An {Array} of {Selection}s. " + } + }, + "1363": { + "27": { + "name": "selectionsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1363, + 27 + ], + [ + 1374, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1374": { + "16": { + "name": "getSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 1374, + 16 + ], + [ + 1381, + 1 + ] + ], + "doc": " Public: Get the most recent {Selection} or the selection at the given\nindex.\n\nindex - Optional. The index of the selection to return, based on the order\n in which the selections were added.\n\nReturns a {Selection}.\nor the at the specified index. " + } + }, + "1381": { + "20": { + "name": "getLastSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1381, + 20 + ], + [ + 1388, + 1 + ] + ], + "doc": " Public: Get the most recently added {Selection}.\n\nReturns a {Selection}. " + } + }, + "1388": { + "40": { + "name": "getSelectionsOrderedByBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1388, + 40 + ], + [ + 1394, + 1 + ] + ], + "doc": " Public: Get all {Selection}s, ordered by their position in the buffer\ninstead of the order in which they were added.\n\nReturns an {Array} of {Selection}s. " + } + }, + "1394": { + "28": { + "name": "getLastSelectionInBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1394, + 28 + ], + [ + 1403, + 1 + ] + ], + "doc": " Public: Get the last {Selection} based on its position in the buffer.\n\nReturns a {Selection}. " + } + }, + "1403": { + "34": { + "name": "selectionIntersectsBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 1403, + 34 + ], + [ + 1415, + 1 + ] + ], + "doc": " Public: Determine if a given range in buffer coordinates intersects a\nselection.\n\nbufferRange - A {Range} or range-compatible {Array}.\n\nReturns a {Boolean}. " + } + }, + "1415": { + "27": { + "name": "setCursorScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "options" + ], + "range": [ + [ + 1415, + 27 + ], + [ + 1422, + 1 + ] + ], + "doc": " Public: Move the cursor to the given position in screen coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " + } + }, + "1422": { + "27": { + "name": "getCursorScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1422, + 27 + ], + [ + 1428, + 1 + ] + ], + "doc": " Public: Get the position of the most recently added cursor in screen\ncoordinates.\n\nReturns a {Point}. " + } + }, + "1428": { + "22": { + "name": "getCursorScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1428, + 22 + ], + [ + 1439, + 1 + ] + ], + "doc": " Public: Get the row of the most recently added cursor in screen coordinates.\n\nReturns the screen row {Number}. " + } + }, + "1439": { + "27": { + "name": "setCursorBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "options" + ], + "range": [ + [ + 1439, + 27 + ], + [ + 1446, + 1 + ] + ], + "doc": " Public: Move the cursor to the given position in buffer coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " + } + }, + "1446": { + "27": { + "name": "getCursorBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1446, + 27 + ], + [ + 1453, + 1 + ] + ], + "doc": " Public: Get the position of the most recently added cursor in buffer\ncoordinates.\n\nReturns a {Point}. " + } + }, + "1453": { + "26": { + "name": "getSelectedScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1453, + 26 + ], + [ + 1460, + 1 + ] + ], + "doc": " Public: Get the {Range} of the most recently added selection in screen\ncoordinates.\n\nReturns a {Range}. " + } + }, + "1460": { + "26": { + "name": "getSelectedBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1460, + 26 + ], + [ + 1468, + 1 + ] + ], + "doc": " Public: Get the {Range} of the most recently added selection in buffer\ncoordinates.\n\nReturns a {Range}. " + } + }, + "1468": { + "27": { + "name": "getSelectedBufferRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1468, + 27 + ], + [ + 1476, + 1 + ] + ], + "doc": " Public: Get the {Range}s of all selections in buffer coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " + } + }, + "1476": { + "27": { + "name": "getSelectedScreenRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1476, + 27 + ], + [ + 1482, + 1 + ] + ], + "doc": " Public: Get the {Range}s of all selections in screen coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " + } + }, + "1482": { + "19": { + "name": "getSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1482, + 19 + ], + [ + 1490, + 1 + ] + ], + "doc": " Public: Get the selected text of the most recently added selection.\n\nReturns a {String}. " + } + }, + "1490": { + "24": { + "name": "getTextInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 1490, + 24 + ], + [ + 1499, + 1 + ] + ], + "doc": " Public: Get the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\n\nReturns a {String}. " + } + }, + "1499": { + "24": { + "name": "setTextInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range", + "text", + "normalizeLineEndings" + ], + "range": [ + [ + 1499, + 24 + ], + [ + 1499, + 124 + ] + ], + "doc": " Public: Set the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\ntext - A {String}\n\nReturns the {Range} of the newly-inserted text. " + } + }, + "1505": { + "34": { + "name": "getCurrentParagraphBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1505, + 34 + ], + [ + 1511, + 1 + ] + ], + "doc": " Public: Get the {Range} of the paragraph surrounding the most recently added\ncursor.\n\nReturns a {Range}. " + } + }, + "1511": { + "22": { + "name": "getWordUnderCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 1511, + 22 + ], + [ + 1515, + 1 + ] + ], + "doc": " Public: Returns the word surrounding the most recently added cursor.\n\noptions - See {Cursor::getBeginningOfCurrentWordBufferPosition}. " + } + }, + "1515": { + "16": { + "name": "moveCursorUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineCount" + ], + "range": [ + [ + 1515, + 16 + ], + [ + 1519, + 1 + ] + ], + "doc": "Public: Move every cursor up one row in screen coordinates. " + } + }, + "1519": { + "18": { + "name": "moveCursorDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineCount" + ], + "range": [ + [ + 1519, + 18 + ], + [ + 1523, + 1 + ] + ], + "doc": "Public: Move every cursor down one row in screen coordinates. " + } + }, + "1523": { + "18": { + "name": "moveCursorLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1523, + 18 + ], + [ + 1527, + 1 + ] + ], + "doc": "Public: Move every cursor left one column. " + } + }, + "1527": { + "19": { + "name": "moveCursorRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1527, + 19 + ], + [ + 1533, + 1 + ] + ], + "doc": "Public: Move every cursor right one column. " + } + }, + "1533": { + "19": { + "name": "moveCursorToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1533, + 19 + ], + [ + 1539, + 1 + ] + ], + "doc": " Public: Move every cursor to the top of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " + } + }, + "1539": { + "22": { + "name": "moveCursorToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1539, + 22 + ], + [ + 1543, + 1 + ] + ], + "doc": " Public: Move every cursor to the bottom of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " + } + }, + "1543": { + "37": { + "name": "moveCursorToBeginningOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1543, + 37 + ], + [ + 1547, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its line in screen coordinates. " + } + }, + "1547": { + "31": { + "name": "moveCursorToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1547, + 31 + ], + [ + 1551, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its line in buffer coordinates. " + } + }, + "1551": { + "36": { + "name": "moveCursorToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1551, + 36 + ], + [ + 1555, + 1 + ] + ], + "doc": "Public: Move every cursor to the first non-whitespace character of its line. " + } + }, + "1555": { + "31": { + "name": "moveCursorToEndOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1555, + 31 + ], + [ + 1559, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its line in screen coordinates. " + } + }, + "1559": { + "25": { + "name": "moveCursorToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1559, + 25 + ], + [ + 1563, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its line in buffer coordinates. " + } + }, + "1563": { + "31": { + "name": "moveCursorToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1563, + 31 + ], + [ + 1567, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its surrounding word. " + } + }, + "1567": { + "25": { + "name": "moveCursorToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1567, + 25 + ], + [ + 1571, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its surrounding word. " + } + }, + "1571": { + "35": { + "name": "moveCursorToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1571, + 35 + ], + [ + 1575, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the next word. " + } + }, + "1575": { + "36": { + "name": "moveCursorToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1575, + 36 + ], + [ + 1579, + 1 + ] + ], + "doc": "Public: Move every cursor to the previous word boundary. " + } + }, + "1579": { + "32": { + "name": "moveCursorToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1579, + 32 + ], + [ + 1583, + 1 + ] + ], + "doc": "Public: Move every cursor to the next word boundary. " + } + }, + "1583": { + "40": { + "name": "moveCursorToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1583, + 40 + ], + [ + 1587, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the next paragraph. " + } + }, + "1587": { + "44": { + "name": "moveCursorToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1587, + 44 + ], + [ + 1596, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the previous paragraph. " + } + }, + "1596": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 1596, + 26 + ], + [ + 1599, + 1 + ] + ], + "doc": " Public: Scroll the editor to reveal the most recently added cursor if it is\noff-screen.\n\noptions - An optional hash of options.\n :center - Center the editor around the cursor if possible. Defauls to\n true. " + } + }, + "1599": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1599, + 10 + ], + [ + 1604, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1604": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1604, + 12 + ], + [ + 1609, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1609": { + "16": { + "name": "selectPageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1609, + 16 + ], + [ + 1612, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1612": { + "18": { + "name": "selectPageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1612, + 18 + ], + [ + 1616, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1616": { + "18": { + "name": "getRowsPerPage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1616, + 18 + ], + [ + 1619, + 1 + ] + ], + "doc": "Private: Returns the number of rows per page " + } + }, + "1619": { + "15": { + "name": "moveCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1619, + 15 + ], + [ + 1626, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1626": { + "15": { + "name": "cursorMoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 1626, + 15 + ], + [ + 1636, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1636": { + "26": { + "name": "selectToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1636, + 26 + ], + [ + 1645, + 1 + ] + ], + "doc": " Public: Select from the current cursor position to the given position in\nscreen coordinates.\n\nThis method may merge selections that end up intesecting.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "1645": { + "15": { + "name": "selectRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1645, + 15 + ], + [ + 1652, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character rightward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1652": { + "14": { + "name": "selectLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1652, + 14 + ], + [ + 1659, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character leftward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1659": { + "12": { + "name": "selectUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 1659, + 12 + ], + [ + 1666, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character upward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1666": { + "14": { + "name": "selectDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 1666, + 14 + ], + [ + 1673, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character downward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1673": { + "15": { + "name": "selectToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1673, + 15 + ], + [ + 1679, + 1 + ] + ], + "doc": " Public: Select from the top of the buffer to the end of the last selection\nin the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1679": { + "13": { + "name": "selectAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1679, + 13 + ], + [ + 1686, + 1 + ] + ], + "doc": " Public: Select all text in the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1686": { + "18": { + "name": "selectToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1686, + 18 + ], + [ + 1693, + 1 + ] + ], + "doc": " Public: Selects from the top of the first selection in the buffer to the end\nof the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1693": { + "27": { + "name": "selectToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1693, + 27 + ], + [ + 1702, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the beginning of its line\nwhile preserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1702": { + "32": { + "name": "selectToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1702, + 32 + ], + [ + 1709, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the first non-whitespace\ncharacter of its line while preserving the selection's tail position. If the\ncursor is already on the first character of the line, move it to the\nbeginning of the line.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1709": { + "21": { + "name": "selectToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1709, + 21 + ], + [ + 1716, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the end of its line while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1716": { + "32": { + "name": "selectToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1716, + 32 + ], + [ + 1723, + 1 + ] + ], + "doc": " Public: For each selection, move its cursor to the preceding word boundary\nwhile maintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1723": { + "28": { + "name": "selectToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1723, + 28 + ], + [ + 1729, + 1 + ] + ], + "doc": " Public: For each selection, move its cursor to the next word boundary while\nmaintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1729": { + "14": { + "name": "selectLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1729, + 14 + ], + [ + 1740, + 1 + ] + ], + "doc": " Public: For each cursor, select the containing line.\n\nThis method merges selections on successive lines. " + } + }, + "1740": { + "21": { + "name": "addSelectionBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1740, + 21 + ], + [ + 1751, + 1 + ] + ], + "doc": " Public: Add a similarly-shaped selection to the next eligible line below\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next following non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " + } + }, + "1751": { + "21": { + "name": "addSelectionAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1751, + 21 + ], + [ + 1759, + 1 + ] + ], + "doc": " Public: Add a similarly-shaped selection to the next eligible line above\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next preceding non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " + } + }, + "1759": { + "28": { + "name": "splitSelectionsIntoLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1759, + 28 + ], + [ + 1776, + 1 + ] + ], + "doc": " Public: Split multi-line selections into one selection per line.\n\nOperates on all selections. This method breaks apart all multi-line\nselections to create multiple single-line selections that cumulatively cover\nthe same original area. " + } + }, + "1776": { + "13": { + "name": "transpose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1776, + 13 + ], + [ + 1791, + 1 + ] + ], + "doc": " Public: For each selection, transpose the selected text.\n\nIf the selection is empty, the characters preceding and following the cursor\nare swapped. Otherwise, the selected characters are reversed. " + } + }, + "1791": { + "13": { + "name": "upperCase", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1791, + 13 + ], + [ + 1798, + 1 + ] + ], + "doc": " Public: Convert the selected text to upper case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " + } + }, + "1798": { + "13": { + "name": "lowerCase", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1798, + 13 + ], + [ + 1809, + 1 + ] + ], + "doc": " Public: Convert the selected text to lower case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " + } + }, + "1809": { + "13": { + "name": "joinLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1809, + 13 + ], + [ + 1816, + 1 + ] + ], + "doc": " Private: Convert multiple lines to a single line.\n\nOperates on all selections. If the selection is empty, joins the current\nline with the next line. Otherwise it joins all lines that intersect the\nselection.\n\nJoining a line means that multiple lines are converted to a single line with\nthe contents of each of the original non-empty lines separated by a space. " + } + }, + "1816": { + "27": { + "name": "selectToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1816, + 27 + ], + [ + 1823, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of their containing word.\n\nOperates on all selections. Moves the cursor to the beginning of the\ncontaining word while preserving the selection's tail position. " + } + }, + "1823": { + "21": { + "name": "selectToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1823, + 21 + ], + [ + 1830, + 1 + ] + ], + "doc": " Public: Expand selections to the end of their containing word.\n\nOperates on all selections. Moves the cursor to the end of the containing\nword while preserving the selection's tail position. " + } + }, + "1830": { + "31": { + "name": "selectToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1830, + 31 + ], + [ + 1834, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next word.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nword while preserving the selection's tail position. " + } + }, + "1834": { + "14": { + "name": "selectWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1834, + 14 + ], + [ + 1841, + 1 + ] + ], + "doc": "Public: Select the word containing each cursor. " + } + }, + "1841": { + "36": { + "name": "selectToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1841, + 36 + ], + [ + 1848, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " + } + }, + "1848": { + "40": { + "name": "selectToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1848, + 40 + ], + [ + 1856, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " + } + }, + "1856": { + "16": { + "name": "selectMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1856, + 16 + ], + [ + 1863, + 1 + ] + ], + "doc": " Public: Select the range of the given marker if it is valid.\n\nmarker - A {DisplayBufferMarker}\n\nReturns the selected {Range} or `undefined` if the marker is invalid. " + } + }, + "1863": { + "16": { + "name": "mergeCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1863, + 16 + ], + [ + 1873, + 1 + ] + ], + "doc": "Private: Merge cursors that have the same screen position " + } + }, + "1873": { + "27": { + "name": "expandSelectionsForward", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1873, + 27 + ], + [ + 1879, + 1 + ] + ], + "doc": "Private: Calls the given function with each selection, then merges selections " + } + }, + "1879": { + "28": { + "name": "expandSelectionsBackward", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1879, + 28 + ], + [ + 1883, + 1 + ] + ], + "doc": " Private: Calls the given function with each selection, then merges selections in the\nreversed orientation " + } + }, + "1883": { + "22": { + "name": "finalizeSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1883, + 22 + ], + [ + 1889, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1889": { + "31": { + "name": "mergeIntersectingSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1889, + 31 + ], + [ + 1910, + 1 + ] + ], + "doc": " Private: Merges intersecting selections. If passed a function, it executes\nthe function with merging suppressed, then merges intersecting selections\nafterward. " + } + }, + "1910": { + "40": { + "name": "preserveCursorPositionOnBufferReload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1910, + 40 + ], + [ + 1919, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1919": { + "14": { + "name": "getGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1919, + 14 + ], + [ + 1926, + 1 + ] + ], + "doc": "Public: Get the current {Grammar} of this editor. " + } + }, + "1926": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 1926, + 14 + ], + [ + 1930, + 1 + ] + ], + "doc": " Public: Set the current {Grammar} of this editor.\n\nAssigning a grammar will cause the editor to re-tokenize based on the new\ngrammar. " + } + }, + "1930": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1930, + 17 + ], + [ + 1933, + 1 + ] + ], + "doc": "Private: Reload the grammar based on the file name. " + } + }, + "1933": { + "20": { + "name": "shouldAutoIndent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1933, + 20 + ], + [ + 1944, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1944": { + "12": { + "name": "transact", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1944, + 12 + ], + [ + 1944, + 39 + ] + ], + "doc": " Public: Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " + } + }, + "1952": { + "20": { + "name": "beginTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1952, + 20 + ], + [ + 1952, + 48 + ] + ], + "doc": " Public: Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " + } + }, + "1958": { + "21": { + "name": "commitTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1958, + 21 + ], + [ + 1958, + 50 + ] + ], + "doc": " Public: Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " + } + }, + "1962": { + "20": { + "name": "abortTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1962, + 20 + ], + [ + 1962, + 48 + ] + ], + "doc": " Public: Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " + } + }, + "1964": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1964, + 11 + ], + [ + 1967, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1967": { + "18": { + "name": "logScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 1967, + 18 + ], + [ + 1967, + 68 + ] + ], + "doc": "~Private~" + } + }, + "1969": { + "22": { + "name": "handleTokenization", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1969, + 22 + ], + [ + 1972, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1972": { + "23": { + "name": "handleGrammarChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1972, + 23 + ], + [ + 1976, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1976": { + "23": { + "name": "handleMarkerCreated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1976, + 23 + ], + [ + 1980, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1980": { + "32": { + "name": "getSelectionMarkerAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1980, + 32 + ], + [ + 1983, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1983": { + "27": { + "name": "getVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1983, + 27 + ], + [ + 1983, + 69 + ] + ], + "doc": "~Private~" + } + }, + "1984": { + "27": { + "name": "setVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "verticalScrollMargin" + ], + "range": [ + [ + 1984, + 27 + ], + [ + 1984, + 112 + ] + ] + } + }, + "1986": { + "29": { + "name": "getHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1986, + 29 + ], + [ + 1986, + 73 + ] + ], + "doc": "~Private~" + } + }, + "1987": { + "29": { + "name": "setHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "horizontalScrollMargin" + ], + "range": [ + [ + 1987, + 29 + ], + [ + 1987, + 120 + ] + ] + } + }, + "1989": { + "25": { + "name": "getLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1989, + 25 + ], + [ + 1989, + 65 + ] + ], + "doc": "~Private~" + } + }, + "1990": { + "25": { + "name": "setLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeightInPixels" + ], + "range": [ + [ + 1990, + 25 + ], + [ + 1990, + 104 + ] + ] + } + }, + "1992": { + "29": { + "name": "batchCharacterMeasurement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1992, + 29 + ], + [ + 1992, + 80 + ] + ], + "doc": "~Private~" + } + }, + "1994": { + "22": { + "name": "getScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char" + ], + "range": [ + [ + 1994, + 22 + ], + [ + 1994, + 94 + ] + ], + "doc": "~Private~" + } + }, + "1995": { + "22": { + "name": "setScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char", + "width" + ], + "range": [ + [ + 1995, + 22 + ], + [ + 1995, + 108 + ] + ] + } + }, + "1997": { + "23": { + "name": "getScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames" + ], + "range": [ + [ + 1997, + 23 + ], + [ + 1997, + 84 + ] + ], + "doc": "~Private~" + } + }, + "1999": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1999, + 25 + ], + [ + 1999, + 65 + ] + ], + "doc": "~Private~" + } + }, + "2001": { + "23": { + "name": "getDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2001, + 23 + ], + [ + 2001, + 61 + ] + ], + "doc": "~Private~" + } + }, + "2002": { + "23": { + "name": "setDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultCharWidth" + ], + "range": [ + [ + 2002, + 23 + ], + [ + 2002, + 96 + ] + ] + } + }, + "2004": { + "13": { + "name": "setHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "height" + ], + "range": [ + [ + 2004, + 13 + ], + [ + 2004, + 56 + ] + ], + "doc": "~Private~" + } + }, + "2005": { + "13": { + "name": "getHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2005, + 13 + ], + [ + 2005, + 41 + ] + ] + } + }, + "2007": { + "19": { + "name": "getClientHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2007, + 19 + ], + [ + 2007, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2009": { + "12": { + "name": "setWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width" + ], + "range": [ + [ + 2009, + 12 + ], + [ + 2009, + 52 + ] + ], + "doc": "~Private~" + } + }, + "2010": { + "12": { + "name": "getWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2010, + 12 + ], + [ + 2010, + 39 + ] + ] + } + }, + "2012": { + "16": { + "name": "getScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2012, + 16 + ], + [ + 2012, + 47 + ] + ], + "doc": "~Private~" + } + }, + "2013": { + "16": { + "name": "setScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 2013, + 16 + ], + [ + 2013, + 68 + ] + ] + } + }, + "2015": { + "19": { + "name": "getScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2015, + 19 + ], + [ + 2015, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2016": { + "19": { + "name": "setScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 2016, + 19 + ], + [ + 2016, + 80 + ] + ] + } + }, + "2018": { + "17": { + "name": "getScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2018, + 17 + ], + [ + 2018, + 49 + ] + ], + "doc": "~Private~" + } + }, + "2019": { + "17": { + "name": "setScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 2019, + 17 + ], + [ + 2019, + 72 + ] + ] + } + }, + "2021": { + "18": { + "name": "getScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2021, + 18 + ], + [ + 2021, + 51 + ] + ], + "doc": "~Private~" + } + }, + "2022": { + "18": { + "name": "setScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 2022, + 18 + ], + [ + 2022, + 76 + ] + ] + } + }, + "2024": { + "19": { + "name": "getScrollHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2024, + 19 + ], + [ + 2024, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2025": { + "18": { + "name": "getScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollWidth" + ], + "range": [ + [ + 2025, + 18 + ], + [ + 2025, + 76 + ] + ] + } + }, + "2027": { + "22": { + "name": "getVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2027, + 22 + ], + [ + 2027, + 59 + ] + ], + "doc": "~Private~" + } + }, + "2029": { + "29": { + "name": "intersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 2029, + 29 + ], + [ + 2029, + 108 + ] + ], + "doc": "~Private~" + } + }, + "2031": { + "38": { + "name": "selectionIntersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 2031, + 38 + ], + [ + 2031, + 112 + ] + ], + "doc": "~Private~" + } + }, + "2033": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 2033, + 34 + ], + [ + 2033, + 114 + ] + ], + "doc": "~Private~" + } + }, + "2035": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 2035, + 34 + ], + [ + 2035, + 114 + ] + ], + "doc": "~Private~" + } + }, + "2037": { + "34": { + "name": "screenPositionForPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 2037, + 34 + ], + [ + 2037, + 112 + ] + ], + "doc": "~Private~" + } + }, + "2039": { + "27": { + "name": "pixelRectForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 2039, + 27 + ], + [ + 2039, + 94 + ] + ], + "doc": "~Private~" + } + }, + "2041": { + "23": { + "name": "scrollToScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 2041, + 23 + ], + [ + 2041, + 104 + ] + ], + "doc": "~Private~" + } + }, + "2043": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 2043, + 26 + ], + [ + 2043, + 116 + ] + ], + "doc": "~Private~" + } + }, + "2045": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 2045, + 26 + ], + [ + 2045, + 116 + ] + ], + "doc": "~Private~" + } + }, + "2047": { + "26": { + "name": "horizontallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2047, + 26 + ], + [ + 2047, + 67 + ] + ], + "doc": "~Private~" + } + }, + "2049": { + "24": { + "name": "verticallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2049, + 24 + ], + [ + 2049, + 63 + ] + ], + "doc": "~Private~" + } + }, + "2051": { + "32": { + "name": "getHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2051, + 32 + ], + [ + 2051, + 79 + ] + ], + "doc": "~Private~" + } + }, + "2052": { + "32": { + "name": "setHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "height" + ], + "range": [ + [ + 2052, + 32 + ], + [ + 2052, + 94 + ] + ] + } + }, + "2054": { + "29": { + "name": "getVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2054, + 29 + ], + [ + 2054, + 73 + ] + ], + "doc": "~Private~" + } + }, + "2055": { + "29": { + "name": "setVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width" + ], + "range": [ + [ + 2055, + 29 + ], + [ + 2055, + 86 + ] + ] + } + }, + "2058": { + "12": { + "name": "joinLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2058, + 12 + ], + [ + 2060, + 16 + ] + ], + "doc": "Deprecated: Call {::joinLines} instead. " + } + } + }, + "exports": 138 + }, + "src/fold.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Range", + "exportsProperty": "Range" + } + }, + "7": { + "0": { + "type": "class", + "name": "Fold", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 8, + 6 + ], + [ + 9, + 17 + ], + [ + 10, + 10 + ], + [ + 12, + 15 + ], + [ + 20, + 22 + ], + [ + 27, + 11 + ], + [ + 35, + 18 + ], + [ + 48, + 21 + ], + [ + 53, + 15 + ], + [ + 57, + 13 + ], + [ + 61, + 11 + ], + [ + 67, + 21 + ], + [ + 75, + 21 + ], + [ + 78, + 23 + ], + [ + 82, + 13 + ] + ], + "doc": " Private: Represents a fold that collapses multiple buffer lines into a single\nline on the screen.\n\nTheir creation is managed by the {DisplayBuffer}. ", + "range": [ + [ + 7, + 0 + ], + [ + 84, + 26 + ] + ] + } + }, + "8": { + "6": { + "name": "id", + "type": "primitive", + "range": [ + [ + 8, + 6 + ], + [ + 8, + 9 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "17": { + "name": "displayBuffer", + "type": "primitive", + "range": [ + [ + 9, + 17 + ], + [ + 9, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "10": { + "name": "marker", + "type": "primitive", + "range": [ + [ + 10, + 10 + ], + [ + 10, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 20, + 1 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "22": { + "name": "isInsideLargerFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 22 + ], + [ + 27, + 1 + ] + ], + "doc": "Private: Returns whether this fold is contained within another fold " + } + }, + "27": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 11 + ], + [ + 35, + 1 + ] + ], + "doc": "Private: Destroys this fold " + } + }, + "35": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 35, + 18 + ], + [ + 48, + 1 + ] + ], + "doc": " Private: Returns the fold's {Range} in buffer coordinates\n\nincludeNewline - A {Boolean} which, if `true`, includes the trailing newline\n\nReturns a {Range}. " + } + }, + "48": { + "21": { + "name": "getBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 21 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "15": { + "name": "getStartRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 15 + ], + [ + 57, + 1 + ] + ], + "doc": "Private: Returns the fold's start row as a {Number}. " + } + }, + "57": { + "13": { + "name": "getEndRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 13 + ], + [ + 61, + 1 + ] + ], + "doc": "Private: Returns the fold's end row as a {Number}. " + } + }, + "61": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 11 + ], + [ + 67, + 1 + ] + ], + "doc": "Private: Returns a {String} representation of the fold. " + } + }, + "67": { + "21": { + "name": "getBufferRowCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 21 + ], + [ + 75, + 1 + ] + ], + "doc": " Private: Retrieves the number of buffer rows spanned by the fold.\n\nReturns a {Number}. " + } + }, + "75": { + "21": { + "name": "isContainedByFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fold" + ], + "range": [ + [ + 75, + 21 + ], + [ + 78, + 1 + ] + ], + "doc": " Private: Identifies if a fold is nested within a fold.\n\nfold - A {Fold} to check\n\nReturns a {Boolean}. " + } + }, + "78": { + "23": { + "name": "updateDisplayBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 78, + 23 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 13 + ], + [ + 84, + 26 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 7 + }, + "src/git.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true, + "name": "join", + "exportsProperty": "join" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "5": { + "11": { + "name": "GitUtils", + "type": "import", + "range": [ + [ + 5, + 11 + ], + [ + 5, + 29 + ] + ], + "bindingType": "variable", + "module": "git-utils@^2.1.3" + } + }, + "7": { + "7": { + "name": "Task", + "type": "import", + "range": [ + [ + 7, + 7 + ], + [ + 7, + 22 + ] + ], + "bindingType": "variable", + "path": "./task" + } + }, + "40": { + "0": { + "type": "class", + "name": "Git", + "bindingType": "exports", + "classProperties": [ + [ + 52, + 9 + ], + [ + 59, + 11 + ] + ], + "prototypeProperties": [ + [ + 66, + 15 + ], + [ + 89, + 21 + ], + [ + 97, + 11 + ], + [ + 109, + 11 + ], + [ + 117, + 16 + ], + [ + 120, + 11 + ], + [ + 124, + 23 + ], + [ + 132, + 17 + ], + [ + 149, + 17 + ], + [ + 152, + 20 + ], + [ + 155, + 18 + ], + [ + 158, + 15 + ], + [ + 161, + 13 + ], + [ + 165, + 19 + ], + [ + 169, + 14 + ], + [ + 181, + 16 + ], + [ + 196, + 16 + ], + [ + 209, + 21 + ], + [ + 222, + 16 + ], + [ + 231, + 15 + ], + [ + 247, + 22 + ], + [ + 265, + 16 + ], + [ + 276, + 18 + ], + [ + 282, + 16 + ], + [ + 291, + 21 + ], + [ + 298, + 22 + ], + [ + 310, + 17 + ], + [ + 318, + 23 + ], + [ + 330, + 37 + ], + [ + 338, + 23 + ], + [ + 342, + 13 + ], + [ + 346, + 17 + ] + ], + "doc": " Public: Represents the underlying git operations performed by Atom.\n\nThis class shouldn't be instantiated directly but instead by accessing the\n`atom.project` global and calling `getRepo()`. Note that this will only be\navailable when the project is backed by a Git repository.\n\nThis class handles submodules automatically by taking a `path` argument to many\nof the methods. This `path` argument will determine which underlying\nrepository is used.\n\nFor a repository with submodules this would have the following outcome:\n\n```coffee\nrepo = atom.project.getRepo()\nrepo.getShortHead() # 'master'\nrepo.getShortHead('vendor/path/to/a/submodule') # 'dead1234'\n```\n\n## Example\n\n```coffeescript\ngit = atom.project.getRepo()\nconsole.log git.getOriginUrl()\n```\n\n## Requiring in packages\n\n```coffee\n {Git} = require 'atom'\n``` ", + "range": [ + [ + 40, + 0 + ], + [ + 364, + 55 + ] + ] + } + }, + "52": { + "9": { + "name": "open", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "path", + "options" + ], + "range": [ + [ + 52, + 9 + ], + [ + 59, + 1 + ] + ], + "doc": " Public: Creates a new Git instance.\n\npath - The path to the Git repository to open.\noptions - An object with the following keys (default: {}):\n :refreshOnWindowFocus - `true` to refresh the index and statuses when the\n window is focused.\n\nReturns a Git instance or null if the repository could not be opened. " + } + }, + "59": { + "11": { + "name": "exists", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 59, + 11 + ], + [ + 66, + 1 + ] + ], + "doc": "~Private~" + } + }, + "66": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "options" + ], + "range": [ + [ + 66, + 15 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "subscribeToBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer" + ], + "range": [ + [ + 89, + 21 + ], + [ + 97, + 1 + ] + ], + "doc": "Private: Subscribes to buffer events. " + } + }, + "97": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 97, + 11 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Destroy this `Git` object. This destroys any tasks and subscriptions\nand releases the underlying libgit2 repository handle. " + } + }, + "109": { + "11": { + "name": "getRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 109, + 11 + ], + [ + 117, + 1 + ] + ], + "doc": "Private: Returns the corresponding {Repository} " + } + }, + "117": { + "16": { + "name": "refreshIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 16 + ], + [ + 117, + 43 + ] + ], + "doc": " Private: Reread the index to update any values that have changed since the\nlast time the index was read. " + } + }, + "120": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 120, + 11 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Returns the {String} path of the repository. " + } + }, + "124": { + "23": { + "name": "getWorkingDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 23 + ], + [ + 124, + 57 + ] + ], + "doc": "Public: Returns the {String} working directory path of the repository. " + } + }, + "132": { + "17": { + "name": "getPathStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 132, + 17 + ], + [ + 149, + 1 + ] + ], + "doc": " Public: Get the status of a single path in the repository.\n\npath - A {String} repository-relative path.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " + } + }, + "149": { + "17": { + "name": "isPathIgnored", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 149, + 17 + ], + [ + 149, + 65 + ] + ], + "doc": " Public: Is the given path ignored?\n\nReturns a {Boolean}. " + } + }, + "152": { + "20": { + "name": "isStatusModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 152, + 20 + ], + [ + 152, + 66 + ] + ], + "doc": "Public: Returns true if the given status indicates modification. " + } + }, + "155": { + "18": { + "name": "isPathModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 155, + 18 + ], + [ + 155, + 66 + ] + ], + "doc": "Public: Returns true if the given path is modified. " + } + }, + "158": { + "15": { + "name": "isStatusNew", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 158, + 15 + ], + [ + 158, + 56 + ] + ], + "doc": "Public: Returns true if the given status indicates a new path. " + } + }, + "161": { + "13": { + "name": "isPathNew", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 161, + 13 + ], + [ + 161, + 56 + ] + ], + "doc": "Public: Returns true if the given path is new. " + } + }, + "165": { + "19": { + "name": "isProjectAtRoot", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 19 + ], + [ + 169, + 1 + ] + ], + "doc": " Public: Returns true if at the root, false if in a subfolder of the\nrepository. " + } + }, + "169": { + "14": { + "name": "relativize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 169, + 14 + ], + [ + 169, + 50 + ] + ], + "doc": "Public: Makes a path relative to the repository's working directory. " + } + }, + "181": { + "16": { + "name": "getShortHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 181, + 16 + ], + [ + 181, + 54 + ] + ], + "doc": " Public: Retrieves a shortened version of the HEAD reference value.\n\nThis removes the leading segments of `refs/heads`, `refs/tags`, or\n`refs/remotes`. It also shortens the SHA-1 of a detached `HEAD` to 7\ncharacters.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository contains submodules.\n\nReturns a {String}. " + } + }, + "196": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 196, + 16 + ], + [ + 209, + 1 + ] + ], + "doc": " Public: Restore the contents of a path in the working directory and index\nto the version at `HEAD`.\n\nThis is essentially the same as running:\n\n```\ngit reset HEAD -- \ngit checkout HEAD -- \n```\n\npath - The {String} path to checkout.\n\nReturns a {Boolean} that's true if the method was successful. " + } + }, + "209": { + "21": { + "name": "checkoutReference", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "create" + ], + "range": [ + [ + 209, + 21 + ], + [ + 222, + 1 + ] + ], + "doc": " Public: Checks out a branch in your repository.\n\nreference - The String reference to checkout\ncreate - A Boolean value which, if true creates the new reference if it\n doesn't exist.\n\nReturns a Boolean that's true if the method was successful. " + } + }, + "222": { + "16": { + "name": "getDiffStats", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 222, + 16 + ], + [ + 231, + 1 + ] + ], + "doc": " Public: Retrieves the number of lines added and removed to a path.\n\nThis compares the working directory contents of the path to the `HEAD`\nversion.\n\npath - The {String} path to check.\n\nReturns an {Object} with the following keys:\n :added - The {Number} of added lines.\n :deleted - The {Number} of deleted lines. " + } + }, + "231": { + "15": { + "name": "isSubmodule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 231, + 15 + ], + [ + 247, + 1 + ] + ], + "doc": " Public: Is the given path a submodule in the repository?\n\npath - The {String} path to check.\n\nReturns a {Boolean}. " + } + }, + "247": { + "22": { + "name": "getDirectoryStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "directoryPath" + ], + "range": [ + [ + 247, + 22 + ], + [ + 265, + 1 + ] + ], + "doc": " Public: Get the status of a directory in the repository's working directory.\n\npath - The {String} path to check.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " + } + }, + "265": { + "16": { + "name": "getLineDiffs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "text" + ], + "range": [ + [ + 265, + 16 + ], + [ + 276, + 1 + ] + ], + "doc": " Public: Retrieves the line diffs comparing the `HEAD` version of the given\npath and the given text.\n\npath - The {String} path relative to the repository.\ntext - The {String} to compare against the `HEAD` contents\n\nReturns an {Array} of hunk {Object}s with the following keys:\n :oldStart - The line {Number} of the old hunk.\n :newStart - The line {Number} of the new hunk.\n :oldLines - The {Number} of lines in the old hunk.\n :newLines - The {Number} of lines in the new hunk " + } + }, + "276": { + "18": { + "name": "getConfigValue", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "key", + "path" + ], + "range": [ + [ + 276, + 18 + ], + [ + 276, + 66 + ] + ], + "doc": " Public: Returns the git configuration value specified by the key.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " + } + }, + "282": { + "16": { + "name": "getOriginUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 282, + 16 + ], + [ + 282, + 67 + ] + ], + "doc": " Public: Returns the origin url of the repository.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " + } + }, + "291": { + "21": { + "name": "getUpstreamBranch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 291, + 21 + ], + [ + 291, + 64 + ] + ], + "doc": " Public: Returns the upstream branch for the current HEAD, or null if there\nis no upstream branch for the current HEAD.\n\npath - An optional {String} path in the repo to get this information for,\n only needed if the repository contains submodules.\n\nReturns a {String} branch name such as `refs/remotes/origin/master`. " + } + }, + "298": { + "22": { + "name": "getReferenceTarget", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "path" + ], + "range": [ + [ + 298, + 22 + ], + [ + 310, + 1 + ] + ], + "doc": " Public: Returns the current SHA for the given reference.\n\nreference - The {String} reference to get the target of.\npath - An optional {String} path in the repo to get the reference target\n for. Only needed if the repository contains submodules. " + } + }, + "310": { + "17": { + "name": "getReferences", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 310, + 17 + ], + [ + 310, + 56 + ] + ], + "doc": " Public: Gets all the local and remote references.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :heads - An {Array} of head reference names.\n :remotes - An {Array} of remote reference names.\n :tags - An {Array} of tag reference names. " + } + }, + "318": { + "23": { + "name": "getAheadBehindCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "path" + ], + "range": [ + [ + 318, + 23 + ], + [ + 330, + 1 + ] + ], + "doc": " Public: Returns the number of commits behind the current branch is from the\nits upstream remote branch.\n\nreference - The {String} branch reference name.\npath - The {String} path in the repository to get this information for,\n only needed if the repository contains submodules. " + } + }, + "330": { + "37": { + "name": "getCachedUpstreamAheadBehindCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 330, + 37 + ], + [ + 338, + 1 + ] + ], + "doc": " Public: Get the cached ahead/behind commit counts for the current branch's\nupstream branch.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :ahead - The {Number} of commits ahead.\n :behind - The {Number} of commits behind. " + } + }, + "338": { + "23": { + "name": "getCachedPathStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 338, + 23 + ], + [ + 342, + 1 + ] + ], + "doc": " Public: Get the cached status for the given path.\n\npath - A {String} path in the repository, relative or absolute.\n\nReturns a status {Number} or null if the path is not in the cache. " + } + }, + "342": { + "13": { + "name": "hasBranch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "branch" + ], + "range": [ + [ + 342, + 13 + ], + [ + 342, + 68 + ] + ], + "doc": "Public: Returns true if the given branch exists. " + } + }, + "346": { + "17": { + "name": "refreshStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 17 + ], + [ + 364, + 55 + ] + ], + "doc": " Private: Refreshes the current git status in an outside process and asynchronously\nupdates the relevant properties. " + } + } + }, + "exports": 40 + }, + "src/gutter-component.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork@^0.11.1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork@^1.0.0", + "name": "div", + "exportsProperty": "div" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqual", + "exportsProperty": "isEqual" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 29 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "32": { + "type": "import", + "range": [ + [ + 3, + 32 + ], + [ + 3, + 45 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "multiplyString", + "exportsProperty": "multiplyString" + }, + "48": { + "type": "import", + "range": [ + [ + 3, + 48 + ], + [ + 3, + 54 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "toArray", + "exportsProperty": "toArray" + } + }, + "4": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 4, + 13 + ], + [ + 4, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "5": { + "18": { + "name": "SubscriberMixin", + "type": "import", + "range": [ + [ + 5, + 18 + ], + [ + 5, + 45 + ] + ], + "bindingType": "variable", + "path": "./subscriber-mixin" + } + }, + "7": { + "13": { + "name": "WrapperDiv", + "type": "function", + "range": [ + [ + 7, + 13 + ], + [ + 7, + 41 + ] + ] + } + }, + "10": { + "18": { + "name": "GutterComponent", + "type": "function", + "range": [ + [ + 10, + 18 + ], + [ + 227, + 39 + ] + ] + } + }, + "11": { + "15": { + "name": "'GutterComponent'", + "type": "primitive", + "range": [ + [ + 11, + 15 + ], + [ + 11, + 31 + ] + ] + } + }, + "12": { + "10": { + "type": "primitive", + "range": [ + [ + 12, + 10 + ], + [ + 12, + 26 + ] + ] + } + }, + "14": { + "23": { + "type": "primitive", + "range": [ + [ + 14, + 23 + ], + [ + 14, + 26 + ] + ] + } + }, + "15": { + "17": { + "type": "primitive", + "range": [ + [ + 15, + 17 + ], + [ + 15, + 20 + ] + ] + } + }, + "17": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 10 + ], + [ + 29, + 1 + ] + ], + "doc": null + } + }, + "29": { + "16": { + "name": "getTransform", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 16 + ], + [ + 37, + 1 + ] + ], + "doc": null + } + }, + "37": { + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 37, + 22 + ], + [ + 43, + 1 + ] + ], + "doc": null + } + }, + "43": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 21 + ], + [ + 50, + 1 + ] + ], + "doc": null + } + }, + "50": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 50, + 25 + ], + [ + 64, + 1 + ] + ], + "doc": null + } + }, + "64": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "oldProps" + ], + "range": [ + [ + 64, + 22 + ], + [ + 74, + 1 + ] + ], + "doc": null + } + }, + "74": { + "24": { + "name": "clearScreenRowCaches", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 24 + ], + [ + 80, + 1 + ] + ], + "doc": null + } + }, + "80": { + "25": { + "name": "appendDummyLineNumber", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 80, + 25 + ], + [ + 86, + 1 + ] + ], + "doc": null + } + }, + "86": { + "25": { + "name": "updateDummyLineNumber", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 25 + ], + [ + 89, + 1 + ] + ], + "doc": null + } + }, + "89": { + "21": { + "name": "updateLineNumbers", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 93, + 1 + ] + ], + "doc": null + } + }, + "93": { + "40": { + "name": "appendOrUpdateVisibleLineNumberNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 93, + 40 + ], + [ + 138, + 1 + ] + ], + "doc": null + } + }, + "138": { + "25": { + "name": "removeLineNumberNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberIdsToPreserve" + ], + "range": [ + [ + 138, + 25 + ], + [ + 150, + 1 + ] + ], + "doc": null + } + }, + "150": { + "23": { + "name": "buildLineNumberHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bufferRow", + "softWrapped", + "maxLineNumberDigits", + "screenRow" + ], + "range": [ + [ + 150, + 23 + ], + [ + 169, + 1 + ] + ], + "doc": null + } + }, + "169": { + "28": { + "name": "buildLineNumberInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bufferRow", + "softWrapped", + "maxLineNumberDigits" + ], + "range": [ + [ + 169, + 28 + ], + [ + 179, + 1 + ] + ], + "doc": null + } + }, + "179": { + "24": { + "name": "updateLineNumberNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberId", + "bufferRow", + "screenRow", + "softWrapped" + ], + "range": [ + [ + 179, + 24 + ], + [ + 208, + 1 + ] + ], + "doc": null + } + }, + "208": { + "17": { + "name": "hasDecoration", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "decorations", + "decoration" + ], + "range": [ + [ + 208, + 17 + ], + [ + 211, + 1 + ] + ], + "doc": null + } + }, + "211": { + "21": { + "name": "hasLineNumberNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberId" + ], + "range": [ + [ + 211, + 21 + ], + [ + 214, + 1 + ] + ], + "doc": null + } + }, + "214": { + "30": { + "name": "lineNumberNodeForScreenRow", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 214, + 30 + ], + [ + 217, + 1 + ] + ], + "doc": null + } + }, + "217": { + "11": { + "name": "onClick", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 217, + 11 + ], + [ + 227, + 39 + ] + ], + "doc": null + } + } + }, + "exports": 10 + }, + "src/gutter-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "10": { + "type": "import", + "range": [ + [ + 0, + 10 + ], + [ + 0, + 11 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + }, + "14": { + "type": "import", + "range": [ + [ + 0, + 14 + ], + [ + 0, + 16 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$$", + "exportsProperty": "$$$" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Range", + "exportsProperty": "Range" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "8": { + "0": { + "type": "class", + "name": "GutterView", + "bindingType": "exports", + "classProperties": [ + [ + 9, + 12 + ] + ], + "prototypeProperties": [ + [ + 13, + 18 + ], + [ + 14, + 17 + ], + [ + 16, + 14 + ], + [ + 19, + 15 + ], + [ + 28, + 16 + ], + [ + 31, + 21 + ], + [ + 53, + 17 + ], + [ + 56, + 13 + ], + [ + 62, + 22 + ], + [ + 68, + 25 + ], + [ + 74, + 33 + ], + [ + 83, + 24 + ], + [ + 91, + 22 + ], + [ + 101, + 27 + ], + [ + 115, + 18 + ], + [ + 126, + 23 + ], + [ + 135, + 21 + ], + [ + 169, + 23 + ], + [ + 175, + 22 + ], + [ + 179, + 22 + ], + [ + 190, + 21 + ], + [ + 194, + 25 + ], + [ + 221, + 25 + ], + [ + 235, + 24 + ], + [ + 242, + 20 + ], + [ + 250, + 18 + ] + ], + "doc": " Private: Represents the portion of the {EditorView} containing row numbers.\n\nThe gutter also indicates if rows are folded. ", + "range": [ + [ + 8, + 0 + ], + [ + 274, + 29 + ] + ] + } + }, + "9": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 12 + ], + [ + 13, + 1 + ] + ] + } + }, + "13": { + "18": { + "name": "firstScreenRow", + "type": "primitive", + "range": [ + [ + 13, + 18 + ], + [ + 13, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "17": { + "name": "lastScreenRow", + "type": "primitive", + "range": [ + [ + 14, + 17 + ], + [ + 14, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 14 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 19, + 15 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 16 + ], + [ + 31, + 1 + ] + ], + "doc": "~Private~" + } + }, + "31": { + "21": { + "name": "handleMouseEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 31, + 21 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "17": { + "name": "getEditorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 17 + ], + [ + 56, + 1 + ] + ], + "doc": " Private: Retrieves the containing {EditorView}.\n\nReturns an {EditorView}. " + } + }, + "56": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 13 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "22": { + "name": "setShowLineNumbers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showLineNumbers" + ], + "range": [ + [ + 62, + 22 + ], + [ + 68, + 1 + ] + ], + "doc": " Private: Defines whether to show the gutter or not.\n\nshowLineNumbers - A {Boolean} which, if `false`, hides the gutter " + } + }, + "68": { + "25": { + "name": "getLineNumberElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 25 + ], + [ + 74, + 1 + ] + ], + "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " + } + }, + "74": { + "33": { + "name": "getLineNumberElementsForClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 74, + 33 + ], + [ + 83, + 1 + ] + ], + "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " + } + }, + "83": { + "24": { + "name": "getLineNumberElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 83, + 24 + ], + [ + 91, + 1 + ] + ], + "doc": " Private: Get a single line-number div.\n\n* bufferRow: 0 based line number\n\nReturns a list of {HTMLElement}s that correspond to the bufferRow. More than\none in the list indicates a wrapped line. " + } + }, + "91": { + "22": { + "name": "addClassToAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 91, + 22 + ], + [ + 101, + 1 + ] + ], + "doc": " Private: Add a class to all line-number divs.\n\n* klass: string class name\n\nReturns true if the class was added to any lines " + } + }, + "101": { + "27": { + "name": "removeClassFromAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 101, + 27 + ], + [ + 115, + 1 + ] + ], + "doc": " Private: Remove a class from all line-number divs.\n\n* klass: string class name. Can only be one class name. i.e. 'my-class'\n\nReturns true if the class was removed from any lines " + } + }, + "115": { + "18": { + "name": "addClassToLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "klass" + ], + "range": [ + [ + 115, + 18 + ], + [ + 126, + 1 + ] + ], + "doc": " Private: Add a class to a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was added to " + } + }, + "126": { + "23": { + "name": "removeClassFromLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "klass" + ], + "range": [ + [ + 126, + 23 + ], + [ + 135, + 1 + ] + ], + "doc": " Private: Remove a class from a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was removed from " + } + }, + "135": { + "21": { + "name": "updateLineNumbers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "changes", + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 135, + 21 + ], + [ + 169, + 1 + ] + ], + "doc": "~Private~" + } + }, + "169": { + "23": { + "name": "prependLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElements" + ], + "range": [ + [ + 169, + 23 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "22": { + "name": "appendLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElements" + ], + "range": [ + [ + 175, + 22 + ], + [ + 179, + 1 + ] + ], + "doc": "~Private~" + } + }, + "179": { + "22": { + "name": "removeLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "numberOfElements" + ], + "range": [ + [ + 179, + 22 + ], + [ + 190, + 1 + ] + ], + "doc": "~Private~" + } + }, + "190": { + "21": { + "name": "buildLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 190, + 21 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "25": { + "name": "buildLineElementsHtml", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 194, + 25 + ], + [ + 221, + 1 + ] + ], + "doc": "~Private~" + } + }, + "221": { + "25": { + "name": "updateFoldableClasses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "changes" + ], + "range": [ + [ + 221, + 25 + ], + [ + 235, + 1 + ] + ], + "doc": " Private: Called to update the 'foldable' class of line numbers when there's\na change to the display buffer that doesn't regenerate all the line numbers\nanyway. " + } + }, + "235": { + "24": { + "name": "removeLineHighlights", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 235, + 24 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "20": { + "name": "addLineHighlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "emptySelection" + ], + "range": [ + [ + 242, + 20 + ], + [ + 250, + 1 + ] + ], + "doc": "~Private~" + } + }, + "250": { + "18": { + "name": "highlightLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 250, + 18 + ], + [ + 274, + 29 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/highlight-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork@^0.11.1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork@^1.0.0", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "21": { + "name": "HighlightComponent", + "type": "function", + "range": [ + [ + 5, + 21 + ], + [ + 89, + 110 + ] + ] + } + }, + "6": { + "15": { + "name": "'HighlightComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 34 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 20, + 1 + ] + ], + "doc": null + } + }, + "20": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 21 + ], + [ + 27, + 1 + ] + ], + "doc": null + } + }, + "27": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 24 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "23": { + "name": "startFlashAnimation", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 23 + ], + [ + 42, + 1 + ] + ], + "doc": null + } + }, + "42": { + "27": { + "name": "renderSingleLineRegions", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 27 + ], + [ + 53, + 1 + ] + ], + "doc": null + } + }, + "53": { + "26": { + "name": "renderMultiLineRegions", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 26 + ], + [ + 88, + 1 + ] + ], + "doc": null + } + }, + "88": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 88, + 25 + ], + [ + 89, + 110 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/highlights-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork@^0.11.1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork@^1.0.0", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "3": { + "21": { + "name": "HighlightComponent", + "type": "import", + "range": [ + [ + 3, + 21 + ], + [ + 3, + 51 + ] + ], + "bindingType": "variable", + "path": "./highlight-component" + } + }, + "6": { + "22": { + "name": "HighlightsComponent", + "type": "function", + "range": [ + [ + 6, + 22 + ], + [ + 24, + 148 + ] + ] + } + }, + "7": { + "15": { + "name": "'HighlightsComponent'", + "type": "primitive", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 35 + ] + ] + } + }, + "9": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 10 + ], + [ + 13, + 1 + ] + ], + "doc": null + } + }, + "13": { + "20": { + "name": "renderHighlights", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 20 + ], + [ + 23, + 1 + ] + ], + "doc": null + } + }, + "23": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 23, + 25 + ], + [ + 24, + 148 + ] + ], + "doc": null + } + } + }, + "exports": 6 + }, + "src/input-component.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "last", + "exportsProperty": "last" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 13 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqual", + "exportsProperty": "isEqual" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork@^0.11.1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork@^1.0.0", + "name": "input", + "exportsProperty": "input" + } + }, + "5": { + "17": { + "name": "InputComponent", + "type": "function", + "range": [ + [ + 5, + 17 + ], + [ + 43, + 25 + ] + ] + } + }, + "6": { + "15": { + "name": "'InputComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 30 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 13, + 1 + ] + ], + "doc": null + } + }, + "13": { + "19": { + "name": "getInitialState", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 19 + ], + [ + 16, + 1 + ] + ], + "doc": null + } + }, + "16": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 21 + ], + [ + 21, + 1 + ] + ], + "doc": null + } + }, + "21": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 22 + ], + [ + 27, + 1 + ] + ], + "doc": null + } + }, + "27": { + "27": { + "name": "isPressAndHoldCharacter", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "char" + ], + "range": [ + [ + 27, + 27 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 30, + 25 + ], + [ + 33, + 1 + ] + ], + "doc": null + } + }, + "33": { + "11": { + "name": "onPaste", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 33, + 11 + ], + [ + 36, + 1 + ] + ], + "doc": null + } + }, + "36": { + "11": { + "name": "onFocus", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 36, + 11 + ], + [ + 39, + 1 + ] + ], + "doc": null + } + }, + "39": { + "10": { + "name": "onBlur", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 39, + 10 + ], + [ + 42, + 1 + ] + ], + "doc": null + } + }, + "42": { + "9": { + "name": "focus", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 9 + ], + [ + 43, + 25 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/keymap-extensions.coffee": { + "objects": { + "0": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 0, + 5 + ], + [ + 0, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "16": { + "name": "KeymapManager", + "type": "import", + "range": [ + [ + 2, + 16 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "atom-keymap@^1.0.2" + } + }, + "3": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1.0.2" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 6 + ] + ], + "bindingType": "variable", + "module": "space-pen@3.2.0", + "name": "jQuery", + "exportsProperty": "jQuery" + } + }, + "6": { + "36": { + "name": "KeymapManager.prototype.loadBundledKeymaps", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 36 + ], + [ + 9, + 0 + ] + ], + "doc": null + } + }, + "10": { + "35": { + "name": "KeymapManager.prototype.getUserKeymapPath", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 35 + ], + [ + 15, + 0 + ] + ], + "doc": null + } + }, + "16": { + "32": { + "name": "KeymapManager.prototype.loadUserKeymap", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 32 + ], + [ + 22, + 74 + ] + ], + "doc": null + } + }, + "23": { + "32": { + "name": "jQuery.Event.prototype.abortKeyBinding", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 23, + 32 + ], + [ + 25, + 0 + ] + ], + "doc": null + } + } + }, + "exports": 26 + }, + "src/language-mode.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 10 + ] + ], + "bindingType": "variable", + "module": "oniguruma@^3.0.3", + "name": "OnigRegExp", + "exportsProperty": "OnigRegExp" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "6": { + "0": { + "type": "class", + "name": "LanguageMode", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 15 + ], + [ + 16, + 11 + ], + [ + 19, + 33 + ], + [ + 30, + 35 + ], + [ + 100, + 11 + ], + [ + 107, + 13 + ], + [ + 114, + 24 + ], + [ + 128, + 17 + ], + [ + 141, + 30 + ], + [ + 146, + 33 + ], + [ + 161, + 34 + ], + [ + 181, + 25 + ], + [ + 186, + 29 + ], + [ + 194, + 32 + ], + [ + 201, + 30 + ], + [ + 208, + 35 + ], + [ + 241, + 31 + ], + [ + 265, + 29 + ], + [ + 274, + 24 + ], + [ + 281, + 23 + ], + [ + 288, + 34 + ], + [ + 308, + 23 + ], + [ + 312, + 32 + ], + [ + 315, + 32 + ], + [ + 318, + 25 + ] + ], + "doc": "~Private~", + "range": [ + [ + 6, + 0 + ], + [ + 319, + 57 + ] + ] + } + }, + "13": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 13, + 15 + ], + [ + 16, + 1 + ] + ], + "doc": " Private: Sets up a `LanguageMode` for the given {Editor}.\n\neditor - The {Editor} to associate with " + } + }, + "16": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 11 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "33": { + "name": "toggleLineCommentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 19, + 33 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "35": { + "name": "toggleLineCommentsForBufferRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 30, + 35 + ], + [ + 100, + 1 + ] + ], + "doc": " Private: Wraps the lines between two rows in comments.\n\nIf the language doesn't have comment, nothing happens.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns an {Array} of the commented {Ranges}. " + } + }, + "100": { + "11": { + "name": "foldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 100, + 11 + ], + [ + 107, + 1 + ] + ], + "doc": "Private: Folds all the foldable lines in the buffer. " + } + }, + "107": { + "13": { + "name": "unfoldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 13 + ], + [ + 114, + 1 + ] + ], + "doc": "Private: Unfolds all the foldable lines in the buffer. " + } + }, + "114": { + "24": { + "name": "foldAllAtIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "indentLevel" + ], + "range": [ + [ + 114, + 24 + ], + [ + 128, + 1 + ] + ], + "doc": " Private: Fold all comment and code blocks at a given indentLevel\n\nindentLevel - A {Number} indicating indentLevel; 0 based. " + } + }, + "128": { + "17": { + "name": "foldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 128, + 17 + ], + [ + 141, + 1 + ] + ], + "doc": " Private: Given a buffer row, creates a fold at it.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns the new {Fold}. " + } + }, + "141": { + "30": { + "name": "rowRangeForFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 141, + 30 + ], + [ + 146, + 1 + ] + ], + "doc": " Private: Find the row range for a fold at a given bufferRow. Will handle comments\nand code.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of the [startRow, endRow]. Returns null if no range. " + } + }, + "146": { + "33": { + "name": "rowRangeForCommentAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 146, + 33 + ], + [ + 161, + 1 + ] + ], + "doc": "~Private~" + } + }, + "161": { + "34": { + "name": "rowRangeForCodeFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 161, + 34 + ], + [ + 181, + 1 + ] + ], + "doc": "~Private~" + } + }, + "181": { + "25": { + "name": "isFoldableAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 181, + 25 + ], + [ + 186, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether the given buffer row starts a\nfoldable row range. Rows that are \"foldable\" have a fold icon next to their\nicon in the gutter in the default configuration. " + } + }, + "186": { + "29": { + "name": "isFoldableCodeAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 186, + 29 + ], + [ + 194, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na a foldable row range due to the code's indentation patterns. " + } + }, + "194": { + "32": { + "name": "isFoldableCommentAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 194, + 32 + ], + [ + 201, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na foldable row range due to being the start of a multi-line comment. " + } + }, + "201": { + "30": { + "name": "isLineCommentedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 201, + 30 + ], + [ + 208, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the line at the given buffer\nrow is a comment. " + } + }, + "208": { + "35": { + "name": "rowRangeForParagraphAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 208, + 35 + ], + [ + 241, + 1 + ] + ], + "doc": " Private: Find a row range for a 'paragraph' around specified bufferRow.\nRight now, a paragraph is a block of text bounded by and empty line or a\nblock of text that is not the same type (comments next to source code). " + } + }, + "241": { + "31": { + "name": "suggestedIndentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 241, + 31 + ], + [ + 265, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns a suggested indentation level.\n\nThe indentation level provided is based on the current {LanguageMode}.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Number}. " + } + }, + "265": { + "29": { + "name": "minIndentLevelForRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 265, + 29 + ], + [ + 274, + 1 + ] + ], + "doc": " Private: Calculate a minimum indent level for a range of lines excluding empty lines.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns a {Number} of the indent level of the block of lines. " + } + }, + "274": { + "24": { + "name": "autoIndentBufferRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 274, + 24 + ], + [ + 281, + 1 + ] + ], + "doc": " Private: Indents all the rows between two buffer row numbers.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at " + } + }, + "281": { + "23": { + "name": "autoIndentBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "options" + ], + "range": [ + [ + 281, + 23 + ], + [ + 288, + 1 + ] + ], + "doc": " Private: Given a buffer row, this indents it.\n\nbufferRow - The row {Number}.\noptions - An options {Object} to pass through to {Editor::setIndentationForBufferRow}. " + } + }, + "288": { + "34": { + "name": "autoDecreaseIndentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 288, + 34 + ], + [ + 308, + 1 + ] + ], + "doc": " Private: Given a buffer row, this decreases the indentation.\n\nbufferRow - The row {Number} " + } + }, + "308": { + "23": { + "name": "getRegexForProperty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "property" + ], + "range": [ + [ + 308, + 23 + ], + [ + 312, + 1 + ] + ], + "doc": "~Private~" + } + }, + "312": { + "32": { + "name": "increaseIndentRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 312, + 32 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "32": { + "name": "decreaseIndentRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 315, + 32 + ], + [ + 318, + 1 + ] + ], + "doc": "~Private~" + } + }, + "318": { + "25": { + "name": "foldEndRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 318, + 25 + ], + [ + 319, + 57 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 6 + }, + "src/less-compile-cache.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "2": { + "12": { + "name": "LessCache", + "type": "import", + "range": [ + [ + 2, + 12 + ], + [ + 2, + 31 + ] + ], + "bindingType": "variable", + "module": "less-cache@0.13.0" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "7": { + "0": { + "type": "class", + "name": "LessCompileCache", + "bindingType": "exports", + "classProperties": [ + [ + 10, + 13 + ] + ], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 29, + 18 + ], + [ + 32, + 8 + ], + [ + 35, + 14 + ], + [ + 38, + 11 + ] + ], + "doc": "Private: {LessCache} wrapper used by {ThemeManager} to read stylesheets. ", + "range": [ + [ + 7, + 0 + ], + [ + 38, + 28 + ] + ] + } + }, + "10": { + "13": { + "name": "cacheDir", + "type": "function", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 71 + ] + ], + "bindingType": "classProperty" + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 29, + 1 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "18": { + "name": "setImportPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "importPaths" + ], + "range": [ + [ + 29, + 18 + ], + [ + 32, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "8": { + "name": "read", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 32, + 8 + ], + [ + 35, + 1 + ] + ], + "doc": "~Private~" + } + }, + "35": { + "14": { + "name": "cssForFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "lessContent" + ], + "range": [ + [ + 35, + 14 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 38, + 11 + ], + [ + 38, + 27 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 7 + }, + "src/lines-component.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork@^0.11.1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork@^1.0.0", + "name": "div", + "exportsProperty": "div" + }, + "6": { + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 9 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork@^1.0.0", + "name": "span", + "exportsProperty": "span" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "debounce", + "exportsProperty": "debounce" + }, + "11": { + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 17 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqual", + "exportsProperty": "isEqual" + }, + "20": { + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 39 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "42": { + "type": "import", + "range": [ + [ + 3, + 42 + ], + [ + 3, + 55 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "multiplyString", + "exportsProperty": "multiplyString" + }, + "58": { + "type": "import", + "range": [ + [ + 3, + 58 + ], + [ + 3, + 64 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "toArray", + "exportsProperty": "toArray" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 2 + ] + ], + "bindingType": "variable", + "module": "space-pen@3.2.0", + "name": "$$", + "exportsProperty": "$$" + } + }, + "6": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 6, + 13 + ], + [ + 6, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "7": { + "19": { + "name": "CursorsComponent", + "type": "import", + "range": [ + [ + 7, + 19 + ], + [ + 7, + 47 + ] + ], + "bindingType": "variable", + "path": "./cursors-component" + } + }, + "8": { + "22": { + "name": "HighlightsComponent", + "type": "import", + "range": [ + [ + 8, + 22 + ], + [ + 8, + 53 + ] + ], + "bindingType": "variable", + "path": "./highlights-component" + } + }, + "10": { + "16": { + "type": "primitive", + "range": [ + [ + 10, + 16 + ], + [ + 10, + 111 + ] + ] + } + }, + "11": { + "15": { + "type": "primitive", + "range": [ + [ + 11, + 15 + ], + [ + 11, + 55 + ] + ] + }, + "28": { + "name": "acceptNode", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 11, + 28 + ], + [ + 11, + 54 + ] + ], + "doc": null + } + }, + "12": { + "13": { + "name": "WrapperDiv", + "type": "function", + "range": [ + [ + 12, + 13 + ], + [ + 12, + 41 + ] + ] + } + }, + "15": { + "17": { + "name": "LinesComponent", + "type": "function", + "range": [ + [ + 15, + 17 + ], + [ + 348, + 41 + ] + ] + } + }, + "16": { + "15": { + "name": "'LinesComponent'", + "type": "primitive", + "range": [ + [ + 16, + 15 + ], + [ + 16, + 30 + ] + ] + } + }, + "18": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 18, + 10 + ], + [ + 44, + 1 + ] + ], + "doc": null + } + }, + "44": { + "16": { + "name": "getTransform", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 16 + ], + [ + 52, + 1 + ] + ], + "doc": null + } + }, + "52": { + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 22 + ], + [ + 59, + 1 + ] + ], + "doc": null + } + }, + "59": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 59, + 25 + ], + [ + 79, + 1 + ] + ], + "doc": null + } + }, + "79": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "prevProps" + ], + "range": [ + [ + 79, + 22 + ], + [ + 88, + 1 + ] + ], + "doc": null + } + }, + "88": { + "24": { + "name": "clearScreenRowCaches", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 24 + ], + [ + 92, + 1 + ] + ], + "doc": null + } + }, + "92": { + "15": { + "name": "updateLines", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "updateWidth" + ], + "range": [ + [ + 92, + 15 + ], + [ + 100, + 1 + ] + ], + "doc": null + } + }, + "100": { + "19": { + "name": "removeLineNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "visibleLines" + ], + "range": [ + [ + 100, + 19 + ], + [ + 114, + 1 + ] + ], + "doc": null + } + }, + "114": { + "34": { + "name": "appendOrUpdateVisibleLineNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "visibleLines", + "startRow", + "updateWidth" + ], + "range": [ + [ + 114, + 34 + ], + [ + 145, + 1 + ] + ], + "doc": null + } + }, + "145": { + "15": { + "name": "hasLineNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineId" + ], + "range": [ + [ + 145, + 15 + ], + [ + 148, + 1 + ] + ], + "doc": null + } + }, + "148": { + "17": { + "name": "buildLineHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "screenRow" + ], + "range": [ + [ + 148, + 17 + ], + [ + 171, + 1 + ] + ], + "doc": null + } + }, + "171": { + "27": { + "name": "buildEmptyLineInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 171, + 27 + ], + [ + 198, + 1 + ] + ], + "doc": null + } + }, + "198": { + "22": { + "name": "buildLineInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 198, + 22 + ], + [ + 215, + 1 + ] + ], + "doc": null + } + }, + "215": { + "22": { + "name": "buildEndOfLineHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "invisibles" + ], + "range": [ + [ + 215, + 22 + ], + [ + 228, + 1 + ] + ], + "doc": null + } + }, + "228": { + "20": { + "name": "updateScopeStack", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 228, + 20 + ], + [ + 245, + 1 + ] + ], + "doc": null + } + }, + "245": { + "12": { + "name": "popScope", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack" + ], + "range": [ + [ + 245, + 12 + ], + [ + 249, + 1 + ] + ], + "doc": null + } + }, + "249": { + "13": { + "name": "pushScope", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack", + "scope" + ], + "range": [ + [ + 249, + 13 + ], + [ + 253, + 1 + ] + ], + "doc": null + } + }, + "253": { + "18": { + "name": "updateLineNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "screenRow", + "updateWidth" + ], + "range": [ + [ + 253, + 18 + ], + [ + 278, + 1 + ] + ], + "doc": null + } + }, + "278": { + "17": { + "name": "hasDecoration", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "decorations", + "decoration" + ], + "range": [ + [ + 278, + 17 + ], + [ + 281, + 1 + ] + ], + "doc": null + } + }, + "281": { + "24": { + "name": "lineNodeForScreenRow", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 281, + 24 + ], + [ + 284, + 1 + ] + ], + "doc": null + } + }, + "284": { + "40": { + "name": "measureLineHeightAndDefaultCharWidth", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 40 + ], + [ + 295, + 1 + ] + ], + "doc": null + } + }, + "295": { + "28": { + "name": "remeasureCharacterWidths", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 295, + 28 + ], + [ + 299, + 1 + ] + ], + "doc": null + } + }, + "299": { + "31": { + "name": "measureCharactersInNewLines", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 299, + 31 + ], + [ + 311, + 1 + ] + ], + "doc": null + } + }, + "311": { + "27": { + "name": "measureCharactersInLine", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "tokenizedLine", + "lineNode" + ], + "range": [ + [ + 311, + 27 + ], + [ + 346, + 1 + ] + ], + "doc": null + } + }, + "346": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 25 + ], + [ + 348, + 41 + ] + ], + "doc": null + } + } + }, + "exports": 15 + }, + "src/menu-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "3": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 3, + 6 + ], + [ + 3, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1.0.2" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "12": { + "0": { + "type": "class", + "name": "MenuManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 15 + ], + [ + 37, + 7 + ], + [ + 47, + 19 + ], + [ + 79, + 10 + ], + [ + 88, + 21 + ], + [ + 96, + 9 + ], + [ + 107, + 27 + ], + [ + 117, + 24 + ], + [ + 121, + 18 + ], + [ + 130, + 21 + ] + ], + "doc": " Public: Provides a registry for menu items that you'd like to appear in the\napplication menu.\n\nAn instance of this class is always available as the `atom.menu` global. ", + "range": [ + [ + 12, + 0 + ], + [ + 131, + 49 + ] + ] + } + }, + "13": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 13, + 15 + ], + [ + 37, + 1 + ] + ] + } + }, + "37": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 37, + 7 + ], + [ + 47, + 1 + ] + ], + "doc": " Public: Adds the given item definition to the existing template.\n\n## Example\n```coffee\n atom.menu.add [\n {\n label: 'Hello'\n submenu : [{label: 'World!', command: 'hello:world'}]\n }\n ]\n```\n\nitems - An {Array} of menu item {Object}s containing the keys:\n :label - The {String} menu label.\n :submenu - An optional {Array} of sub menu items.\n :command - An optional {String} command to trigger when the item is\n clicked.\n\nReturns nothing. " + } + }, + "47": { + "19": { + "name": "includeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 47, + 19 + ], + [ + 79, + 1 + ] + ], + "doc": " Private: Should the binding for the given selector be included in the menu\ncommands.\n\nselector - A {String} selector to check.\n\nReturns true to include the selector, false otherwise. " + } + }, + "79": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 10 + ], + [ + 88, + 1 + ] + ], + "doc": "Public: Refreshes the currently visible menu. " + } + }, + "88": { + "21": { + "name": "loadPlatformItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 21 + ], + [ + 96, + 1 + ] + ], + "doc": "~Private~" + } + }, + "96": { + "9": { + "name": "merge", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "menu", + "item" + ], + "range": [ + [ + 96, + 9 + ], + [ + 107, + 1 + ] + ], + "doc": " Private: Merges an item in a submenu aware way such that new items are always\nappended to the bottom of existing menus where possible. " + } + }, + "107": { + "27": { + "name": "filterMultipleKeystroke", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystrokesByCommand" + ], + "range": [ + [ + 107, + 27 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: OSX can't handle displaying accelerators for multiple keystrokes.\nIf they are sent across, it will stop processing accelerators for the rest\nof the menu items. " + } + }, + "117": { + "24": { + "name": "sendToBrowserProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 117, + 24 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "18": { + "name": "normalizeLabel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "label" + ], + "range": [ + [ + 121, + 18 + ], + [ + 130, + 1 + ] + ], + "doc": "~Private~" + } + }, + "130": { + "21": { + "name": "classesForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 130, + 21 + ], + [ + 131, + 49 + ] + ], + "doc": "Private: Get an {Array} of {String} classes for the given element. " + } + } + }, + "exports": 12 + }, + "src/package-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q@^1.0.1" + } + }, + "7": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 7, + 10 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "8": { + "15": { + "name": "ThemePackage", + "type": "import", + "range": [ + [ + 8, + 15 + ], + [ + 8, + 39 + ] + ], + "bindingType": "variable", + "path": "./theme-package" + } + }, + "26": { + "0": { + "type": "class", + "name": "PackageManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 44, + 14 + ], + [ + 52, + 22 + ], + [ + 55, + 19 + ], + [ + 58, + 19 + ], + [ + 62, + 17 + ], + [ + 68, + 18 + ], + [ + 74, + 12 + ], + [ + 82, + 28 + ], + [ + 85, + 20 + ], + [ + 90, + 19 + ], + [ + 100, + 22 + ], + [ + 105, + 21 + ], + [ + 113, + 21 + ], + [ + 117, + 20 + ], + [ + 121, + 19 + ], + [ + 124, + 29 + ], + [ + 128, + 27 + ], + [ + 137, + 16 + ], + [ + 148, + 15 + ], + [ + 168, + 18 + ], + [ + 172, + 17 + ], + [ + 182, + 20 + ], + [ + 186, + 19 + ], + [ + 190, + 21 + ], + [ + 196, + 29 + ], + [ + 200, + 22 + ], + [ + 210, + 21 + ], + [ + 213, + 17 + ], + [ + 218, + 20 + ], + [ + 221, + 26 + ], + [ + 231, + 28 + ], + [ + 246, + 28 + ], + [ + 250, + 31 + ] + ], + "doc": " Public: Package manager for coordinating the lifecycle of Atom packages.\n\nAn instance of this class is always available as the `atom.packages` global.\n\nPackages can be loaded, activated, and deactivated, and unloaded:\n * Loading a package reads and parses the package's metadata and resources\n such as keymaps, menus, stylesheets, etc.\n * Activating a package registers the loaded resources and calls `activate()`\n on the package's main module.\n * Deactivating a package unregisters the package's resources and calls\n `deactivate()` on the package's main module.\n * Unloading a package removes it completely from the package manager.\n\nPackages can also be enabled/disabled via the `core.disabledPackages` config\nsettings and also by calling `enablePackage()/disablePackage()`. ", + "range": [ + [ + 26, + 0 + ], + [ + 256, + 12 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 29, + 15 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "14": { + "name": "getApmPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 14 + ], + [ + 52, + 1 + ] + ], + "doc": "Public: Get the path to the apm command " + } + }, + "52": { + "22": { + "name": "getPackageDirPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 22 + ], + [ + 55, + 1 + ] + ], + "doc": " Public: Get the paths being used to look for packages.\n\nReturns an Array of String directory paths. " + } + }, + "55": { + "19": { + "name": "getPackageState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 55, + 19 + ], + [ + 58, + 1 + ] + ], + "doc": "~Private~" + } + }, + "58": { + "19": { + "name": "setPackageState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "state" + ], + "range": [ + [ + 58, + 19 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "17": { + "name": "enablePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 62, + 17 + ], + [ + 68, + 1 + ] + ], + "doc": "Public: Enable the package with the given name " + } + }, + "68": { + "18": { + "name": "disablePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 68, + 18 + ], + [ + 74, + 1 + ] + ], + "doc": "Public: Disable the package with the given name " + } + }, + "74": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 12 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Activate all the packages that should be activated. " + } + }, + "82": { + "28": { + "name": "registerPackageActivator", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "activator", + "types" + ], + "range": [ + [ + 82, + 28 + ], + [ + 85, + 1 + ] + ], + "doc": " Private: another type of package manager can handle other package types.\nSee ThemeManager " + } + }, + "85": { + "20": { + "name": "activatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "packages" + ], + "range": [ + [ + 85, + 20 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "19": { + "name": "activatePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 90, + 19 + ], + [ + 100, + 1 + ] + ], + "doc": "Private: Activate a single package by name " + } + }, + "100": { + "22": { + "name": "deactivatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 100, + 22 + ], + [ + 105, + 1 + ] + ], + "doc": "Private: Deactivate all packages " + } + }, + "105": { + "21": { + "name": "deactivatePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 105, + 21 + ], + [ + 113, + 1 + ] + ], + "doc": "Private: Deactivate the package with the given name " + } + }, + "113": { + "21": { + "name": "getActivePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 113, + 21 + ], + [ + 117, + 1 + ] + ], + "doc": "Public: Get an array of all the active packages " + } + }, + "117": { + "20": { + "name": "getActivePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 117, + 20 + ], + [ + 121, + 1 + ] + ], + "doc": "Public: Get the active package with the given name " + } + }, + "121": { + "19": { + "name": "isPackageActive", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 121, + 19 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Is the package with the given name active? " + } + }, + "124": { + "29": { + "name": "unobserveDisabledPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 29 + ], + [ + 128, + 1 + ] + ], + "doc": "~Private~" + } + }, + "128": { + "27": { + "name": "observeDisabledPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 128, + 27 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "16": { + "name": "loadPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 16 + ], + [ + 148, + 1 + ] + ], + "doc": "~Private~" + } + }, + "148": { + "15": { + "name": "loadPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "nameOrPath" + ], + "range": [ + [ + 148, + 15 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "18": { + "name": "unloadPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 18 + ], + [ + 172, + 1 + ] + ], + "doc": "~Private~" + } + }, + "172": { + "17": { + "name": "unloadPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 172, + 17 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "20": { + "name": "getLoadedPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 182, + 20 + ], + [ + 186, + 1 + ] + ], + "doc": "Public: Get the loaded package with the given name " + } + }, + "186": { + "19": { + "name": "isPackageLoaded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 186, + 19 + ], + [ + 190, + 1 + ] + ], + "doc": "Public: Is the package with the given name loaded? " + } + }, + "190": { + "21": { + "name": "getLoadedPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 21 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded packages " + } + }, + "196": { + "29": { + "name": "getLoadedPackagesForTypes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "types" + ], + "range": [ + [ + 196, + 29 + ], + [ + 200, + 1 + ] + ], + "doc": " Private: Get packages for a certain package type\n\ntypes - an {Array} of {String}s like ['atom', 'textmate']. " + } + }, + "200": { + "22": { + "name": "resolvePackagePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 200, + 22 + ], + [ + 210, + 1 + ] + ], + "doc": "Public: Resolve the given package name to a path on disk. " + } + }, + "210": { + "21": { + "name": "isPackageDisabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 210, + 21 + ], + [ + 213, + 1 + ] + ], + "doc": "Public: Is the package with the given name disabled? " + } + }, + "213": { + "17": { + "name": "hasAtomEngine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "packagePath" + ], + "range": [ + [ + 213, + 17 + ], + [ + 218, + 1 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "20": { + "name": "isBundledPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 218, + 20 + ], + [ + 221, + 1 + ] + ], + "doc": "Public: Is the package with the given name bundled with Atom? " + } + }, + "221": { + "26": { + "name": "getPackageDependencies", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 221, + 26 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "28": { + "name": "getAvailablePackagePaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 231, + 28 + ], + [ + 246, + 1 + ] + ], + "doc": "Public: Get an array of all the available package paths. " + } + }, + "246": { + "28": { + "name": "getAvailablePackageNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 246, + 28 + ], + [ + 250, + 1 + ] + ], + "doc": "Public: Get an array of all the available package names. " + } + }, + "250": { + "31": { + "name": "getAvailablePackageMetadata", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 250, + 31 + ], + [ + 256, + 12 + ] + ], + "doc": "Public: Get an array of all the available package metadata. " + } + } + }, + "exports": 26 + }, + "src/package.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "3": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 3, + 8 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "async@0.2.6" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1.0.2" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "7": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 14 + ] + ], + "bindingType": "variable", + "module": "q@^1.0.1" + } + }, + "9": { + "4": { + "type": "primitive", + "range": [ + [ + 9, + 4 + ], + [ + 9, + 7 + ] + ] + } + }, + "10": { + "19": { + "name": "ScopedProperties", + "type": "import", + "range": [ + [ + 10, + 19 + ], + [ + 10, + 47 + ] + ], + "bindingType": "variable", + "path": "./scoped-properties" + } + }, + "15": { + "0": { + "type": "class", + "name": "Package", + "bindingType": "exports", + "classProperties": [ + [ + 18, + 19 + ], + [ + 20, + 17 + ] + ], + "prototypeProperties": [ + [ + 30, + 11 + ], + [ + 31, + 9 + ], + [ + 32, + 15 + ], + [ + 33, + 12 + ], + [ + 34, + 20 + ], + [ + 35, + 18 + ], + [ + 36, + 26 + ], + [ + 37, + 14 + ], + [ + 39, + 15 + ], + [ + 44, + 10 + ], + [ + 47, + 11 + ], + [ + 50, + 11 + ], + [ + 53, + 11 + ], + [ + 59, + 11 + ], + [ + 61, + 21 + ], + [ + 63, + 8 + ], + [ + 76, + 9 + ], + [ + 83, + 12 + ], + [ + 97, + 15 + ], + [ + 109, + 18 + ], + [ + 118, + 23 + ], + [ + 126, + 21 + ], + [ + 138, + 15 + ], + [ + 141, + 13 + ], + [ + 144, + 18 + ], + [ + 151, + 16 + ], + [ + 158, + 19 + ], + [ + 162, + 22 + ], + [ + 165, + 22 + ], + [ + 177, + 20 + ], + [ + 194, + 16 + ], + [ + 213, + 24 + ], + [ + 231, + 13 + ], + [ + 238, + 14 + ], + [ + 247, + 20 + ], + [ + 251, + 23 + ], + [ + 260, + 21 + ], + [ + 266, + 20 + ], + [ + 269, + 21 + ], + [ + 275, + 21 + ], + [ + 285, + 23 + ], + [ + 297, + 31 + ], + [ + 306, + 25 + ], + [ + 315, + 35 + ], + [ + 325, + 36 + ], + [ + 339, + 36 + ], + [ + 345, + 18 + ], + [ + 353, + 34 + ], + [ + 371, + 32 + ], + [ + 401, + 16 + ] + ], + "doc": " Private: Loads and activates a package's main module and resources such as\nstylesheets, keymaps, grammar, editor properties, and menus. ", + "range": [ + [ + 15, + 0 + ], + [ + 411, + 24 + ] + ] + } + }, + "18": { + "19": { + "name": "stylesheetsDir", + "type": "primitive", + "range": [ + [ + 18, + 19 + ], + [ + 18, + 31 + ] + ], + "bindingType": "classProperty" + } + }, + "20": { + "17": { + "name": "loadMetadata", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "packagePath", + "ignoreErrors" + ], + "range": [ + [ + 20, + 17 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "keymaps", + "type": "primitive", + "range": [ + [ + 30, + 11 + ], + [ + 30, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "31": { + "9": { + "name": "menus", + "type": "primitive", + "range": [ + [ + 31, + 9 + ], + [ + 31, + 12 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "32": { + "15": { + "name": "stylesheets", + "type": "primitive", + "range": [ + [ + 32, + 15 + ], + [ + 32, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "33": { + "12": { + "name": "grammars", + "type": "primitive", + "range": [ + [ + 33, + 12 + ], + [ + 33, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "34": { + "20": { + "name": "scopedProperties", + "type": "primitive", + "range": [ + [ + 34, + 20 + ], + [ + 34, + 23 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "35": { + "18": { + "name": "mainModulePath", + "type": "primitive", + "range": [ + [ + 35, + 18 + ], + [ + 35, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "36": { + "26": { + "name": "resolvedMainModulePath", + "type": "primitive", + "range": [ + [ + 36, + 26 + ], + [ + 36, + 30 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "37": { + "14": { + "name": "mainModule", + "type": "primitive", + "range": [ + [ + 37, + 14 + ], + [ + 37, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "39": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 39, + 15 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "10": { + "name": "enable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 10 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "11": { + "name": "disable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 47, + 11 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "11": { + "name": "isTheme", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 11 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "11": { + "name": "measure", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "key", + "fn" + ], + "range": [ + [ + 53, + 11 + ], + [ + 59, + 1 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "11": { + "name": "getType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 11 + ], + [ + 59, + 19 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "21": { + "name": "getStylesheetType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 21 + ], + [ + 61, + 32 + ] + ], + "doc": "~Private~" + } + }, + "63": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 63, + 8 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "9": { + "name": "reset", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 9 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 83, + 12 + ], + [ + 97, + 1 + ] + ], + "doc": "~Private~" + } + }, + "97": { + "15": { + "name": "activateNow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 97, + 15 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "18": { + "name": "activateConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 18 + ], + [ + 118, + 1 + ] + ], + "doc": "~Private~" + } + }, + "118": { + "23": { + "name": "activateStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 118, + 23 + ], + [ + 126, + 1 + ] + ], + "doc": "~Private~" + } + }, + "126": { + "21": { + "name": "activateResources", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 21 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "15": { + "name": "loadKeymaps", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 15 + ], + [ + 141, + 1 + ] + ], + "doc": "~Private~" + } + }, + "141": { + "13": { + "name": "loadMenus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 13 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "18": { + "name": "getKeymapPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 144, + 18 + ], + [ + 151, + 1 + ] + ], + "doc": "~Private~" + } + }, + "151": { + "16": { + "name": "getMenuPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 151, + 16 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "19": { + "name": "loadStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 19 + ], + [ + 162, + 1 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "22": { + "name": "getStylesheetsPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 22 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "22": { + "name": "getStylesheetPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 22 + ], + [ + 177, + 1 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "20": { + "name": "loadGrammarsSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 20 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "16": { + "name": "loadGrammars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 194, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "24": { + "name": "loadScopedProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 24 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "13": { + "name": "serialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 231, + 13 + ], + [ + 238, + 1 + ] + ], + "doc": "~Private~" + } + }, + "238": { + "14": { + "name": "deactivate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 238, + 14 + ], + [ + 247, + 1 + ] + ], + "doc": "~Private~" + } + }, + "247": { + "20": { + "name": "deactivateConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 247, + 20 + ], + [ + 251, + 1 + ] + ], + "doc": "~Private~" + } + }, + "251": { + "23": { + "name": "deactivateResources", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 251, + 23 + ], + [ + 260, + 1 + ] + ], + "doc": "~Private~" + } + }, + "260": { + "21": { + "name": "reloadStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 21 + ], + [ + 266, + 1 + ] + ], + "doc": "~Private~" + } + }, + "266": { + "20": { + "name": "reloadStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "content" + ], + "range": [ + [ + 266, + 20 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "21": { + "name": "requireMainModule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 21 + ], + [ + 275, + 1 + ] + ] + } + }, + "275": { + "21": { + "name": "getMainModulePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 275, + 21 + ], + [ + 285, + 1 + ] + ], + "doc": "~Private~" + } + }, + "285": { + "23": { + "name": "hasActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 285, + 23 + ], + [ + 297, + 1 + ] + ], + "doc": "~Private~" + } + }, + "297": { + "31": { + "name": "subscribeToActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 31 + ], + [ + 306, + 1 + ] + ], + "doc": "~Private~" + } + }, + "306": { + "25": { + "name": "handleActivationEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 306, + 25 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "35": { + "name": "unsubscribeFromActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 35 + ], + [ + 325, + 1 + ] + ], + "doc": "~Private~" + } + }, + "325": { + "36": { + "name": "disableEventHandlersOnBubblePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 325, + 36 + ], + [ + 339, + 1 + ] + ], + "doc": "~Private~" + } + }, + "339": { + "36": { + "name": "restoreEventHandlersOnBubblePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventHandlers" + ], + "range": [ + [ + 339, + 36 + ], + [ + 345, + 1 + ] + ], + "doc": "~Private~" + } + }, + "345": { + "18": { + "name": "isNativeModule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "modulePath" + ], + "range": [ + [ + 345, + 18 + ], + [ + 353, + 1 + ] + ], + "doc": "Private: Does the given module path contain native code? " + } + }, + "353": { + "34": { + "name": "getNativeModuleDependencyPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 353, + 34 + ], + [ + 371, + 1 + ] + ], + "doc": " Private: Get an array of all the native modules that this package depends on.\nThis will recurse through all dependencies. " + } + }, + "371": { + "32": { + "name": "getIncompatibleNativeModules", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 371, + 32 + ], + [ + 401, + 1 + ] + ], + "doc": " Private: Get the incompatible native modules that this package depends on.\nThis recurses through all dependencies and requires all modules that\ncontain a `.node` file.\n\nThis information is cached in local storage on a per package/version basis\nto minimize the impact on startup time. " + } + }, + "401": { + "16": { + "name": "isCompatible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 401, + 16 + ], + [ + 411, + 24 + ] + ], + "doc": " Public: Is this package compatible with this version of Atom?\n\nIncompatible packages cannot be activated. This will include packages\ninstalled to ~/.atom/packages that were built against node 0.11.10 but\nnow need to be upgrade to node 0.11.13.\n\nReturns a {Boolean}, true if compatible, false if incompatible. " + } + } + }, + "exports": 15 + }, + "src/pane-axis-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "11": { + "type": "primitive", + "range": [ + [ + 1, + 11 + ], + [ + 1, + 14 + ] + ] + } + }, + "4": { + "0": { + "type": "class", + "name": "PaneAxisView", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 5, + 14 + ], + [ + 9, + 15 + ], + [ + 12, + 16 + ], + [ + 16, + 22 + ], + [ + 22, + 16 + ], + [ + 26, + 18 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 31, + 48 + ] + ] + } + }, + "5": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 5, + 14 + ], + [ + 9, + 1 + ] + ] + } + }, + "9": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 15 + ], + [ + 12, + 1 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "16": { + "name": "viewForModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "model" + ], + "range": [ + [ + 12, + 16 + ], + [ + 16, + 1 + ] + ], + "doc": "~Private~" + } + }, + "16": { + "22": { + "name": "onChildrenChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 16, + 22 + ], + [ + 22, + 1 + ] + ], + "doc": "~Private~" + } + }, + "22": { + "16": { + "name": "onChildAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child", + "index" + ], + "range": [ + [ + 22, + 16 + ], + [ + 26, + 1 + ] + ], + "doc": "~Private~" + } + }, + "26": { + "18": { + "name": "onChildRemoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 26, + 18 + ], + [ + 31, + 48 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/pane-axis.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Model", + "exportsProperty": "Model" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 15 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Sequence", + "exportsProperty": "Sequence" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 7 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "flatten", + "exportsProperty": "flatten" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@^1" + } + }, + "4": { + "14": { + "type": "primitive", + "range": [ + [ + 4, + 14 + ], + [ + 4, + 17 + ] + ] + } + }, + "5": { + "17": { + "type": "primitive", + "range": [ + [ + 5, + 17 + ], + [ + 5, + 20 + ] + ] + } + }, + "8": { + "0": { + "type": "class", + "name": "PaneAxis", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 25, + 21 + ], + [ + 30, + 19 + ], + [ + 34, + 16 + ], + [ + 40, + 12 + ], + [ + 43, + 12 + ], + [ + 46, + 15 + ], + [ + 51, + 16 + ], + [ + 56, + 21 + ], + [ + 60, + 20 + ], + [ + 64, + 21 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 65, + 44 + ] + ] + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 25, + 21 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 19 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 16 + ], + [ + 40, + 1 + ] + ], + "doc": "~Private~" + } + }, + "40": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 40, + 12 + ], + [ + 43, + 1 + ] + ], + "doc": "~Private~" + } + }, + "43": { + "12": { + "name": "addChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child", + "index" + ], + "range": [ + [ + 43, + 12 + ], + [ + 46, + 1 + ] + ], + "doc": "~Private~" + } + }, + "46": { + "15": { + "name": "removeChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 46, + 15 + ], + [ + 51, + 1 + ] + ], + "doc": "~Private~" + } + }, + "51": { + "16": { + "name": "replaceChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "oldChild", + "newChild" + ], + "range": [ + [ + 51, + 16 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "21": { + "name": "insertChildBefore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "currentChild", + "newChild" + ], + "range": [ + [ + 56, + 21 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "20": { + "name": "insertChildAfter", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "currentChild", + "newChild" + ], + "range": [ + [ + 60, + 20 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "21": { + "name": "reparentLastChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 21 + ], + [ + 65, + 44 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/pane-column-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "2": { + "15": { + "name": "PaneAxisView", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 40 + ] + ], + "bindingType": "variable", + "path": "./pane-axis-view" + } + }, + "5": { + "0": { + "type": "class", + "name": "PaneColumnView", + "bindingType": "exports", + "classProperties": [ + [ + 7, + 12 + ] + ], + "prototypeProperties": [ + [ + 10, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 11, + 16 + ] + ] + } + }, + "7": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 7, + 12 + ], + [ + 10, + 1 + ] + ], + "doc": "~Private~" + } + }, + "10": { + "13": { + "name": "className", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 13 + ], + [ + 11, + 16 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "src/pane-container-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "1": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@^1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "3": { + "11": { + "name": "PaneView", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-view" + } + }, + "4": { + "16": { + "name": "PaneContainer", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 41 + ] + ], + "bindingType": "variable", + "path": "./pane-container" + } + }, + "8": { + "0": { + "type": "class", + "name": "PaneContainerView", + "bindingType": "exports", + "classProperties": [ + [ + 13, + 12 + ] + ], + "prototypeProperties": [ + [ + 16, + 14 + ], + [ + 25, + 16 + ], + [ + 30, + 11 + ], + [ + 33, + 17 + ], + [ + 47, + 27 + ], + [ + 50, + 15 + ], + [ + 55, + 16 + ], + [ + 64, + 16 + ], + [ + 67, + 15 + ], + [ + 70, + 15 + ], + [ + 73, + 16 + ], + [ + 79, + 18 + ], + [ + 82, + 17 + ], + [ + 86, + 21 + ], + [ + 89, + 21 + ], + [ + 92, + 17 + ], + [ + 95, + 14 + ], + [ + 98, + 21 + ], + [ + 101, + 25 + ], + [ + 104, + 22 + ], + [ + 107, + 22 + ], + [ + 110, + 23 + ], + [ + 113, + 24 + ], + [ + 116, + 26 + ], + [ + 143, + 26 + ], + [ + 152, + 12 + ] + ], + "doc": "Private: Manages the list of panes within a {WorkspaceView} ", + "range": [ + [ + 8, + 0 + ], + [ + 154, + 19 + ] + ] + } + }, + "13": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 12 + ], + [ + 16, + 1 + ] + ], + "doc": "~Private~" + } + }, + "16": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 16, + 14 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "16": { + "name": "viewForModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "model" + ], + "range": [ + [ + 25, + 16 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "getRoot", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 11 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "17": { + "name": "onRootChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "root" + ], + "range": [ + [ + 33, + 17 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "27": { + "name": "onActivePaneItemChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "activeItem" + ], + "range": [ + [ + 47, + 27 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "15": { + "name": "removeChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 50, + 15 + ], + [ + 55, + 1 + ] + ], + "doc": "~Private~" + } + }, + "55": { + "16": { + "name": "confirmClose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 16 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "16": { + "name": "getPaneViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 16 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "15": { + "name": "indexOfPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "paneView" + ], + "range": [ + [ + 67, + 15 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "15": { + "name": "paneAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 70, + 15 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "16": { + "name": "eachPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 73, + 16 + ], + [ + 79, + 1 + ] + ], + "doc": "~Private~" + } + }, + "79": { + "18": { + "name": "getFocusedPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 18 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 17 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "21": { + "name": "getActivePaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 21 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "17": { + "name": "getActiveView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 92, + 17 + ], + [ + 95, + 1 + ] + ], + "doc": "~Private~" + } + }, + "95": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 95, + 14 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "21": { + "name": "focusNextPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 21 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "focusPreviousPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 25 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "22": { + "name": "focusPaneViewAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 22 + ], + [ + 107, + 1 + ] + ], + "doc": "~Private~" + } + }, + "107": { + "22": { + "name": "focusPaneViewBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 22 + ], + [ + 110, + 1 + ] + ], + "doc": "~Private~" + } + }, + "110": { + "23": { + "name": "focusPaneViewOnLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 23 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "24": { + "name": "focusPaneViewOnRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 113, + 24 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "26": { + "name": "nearestPaneInDirection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "direction" + ], + "range": [ + [ + 116, + 26 + ], + [ + 143, + 1 + ] + ], + "doc": "~Private~" + } + }, + "143": { + "26": { + "name": "boundingBoxForPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "paneView" + ], + "range": [ + [ + 143, + 26 + ], + [ + 152, + 1 + ] + ], + "doc": "~Private~" + } + }, + "152": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 152, + 12 + ], + [ + 154, + 19 + ] + ], + "doc": "Private: Deprecated " + } + } + }, + "exports": 8 + }, + "src/pane-container.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "find", + "exportsProperty": "find" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@^1" + } + }, + "3": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "6": { + "0": { + "type": "class", + "name": "PaneContainer", + "bindingType": "exports", + "classProperties": [ + [ + 10, + 12 + ] + ], + "prototypeProperties": [ + [ + 16, + 16 + ], + [ + 23, + 15 + ], + [ + 28, + 21 + ], + [ + 34, + 19 + ], + [ + 38, + 16 + ], + [ + 42, + 12 + ], + [ + 45, + 17 + ], + [ + 48, + 14 + ], + [ + 51, + 11 + ], + [ + 54, + 20 + ], + [ + 64, + 24 + ], + [ + 75, + 17 + ], + [ + 89, + 21 + ], + [ + 92, + 17 + ], + [ + 96, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 6, + 0 + ], + [ + 97, + 42 + ] + ] + } + }, + "10": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 10, + 12 + ], + [ + 10, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "16": { + "16": { + "name": "previousRoot", + "type": "primitive", + "range": [ + [ + 16, + 16 + ], + [ + 16, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "23": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 23, + 15 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 28, + 21 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 34, + 19 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "16": { + "name": "replaceChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "oldChild", + "newChild" + ], + "range": [ + [ + 38, + 16 + ], + [ + 42, + 1 + ] + ], + "doc": "~Private~" + } + }, + "42": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 12 + ], + [ + 45, + 1 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 17 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 48, + 14 + ], + [ + 51, + 1 + ] + ], + "doc": "~Private~" + } + }, + "51": { + "11": { + "name": "saveAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 51, + 11 + ], + [ + 54, + 1 + ] + ], + "doc": "~Private~" + } + }, + "54": { + "20": { + "name": "activateNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 54, + 20 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "24": { + "name": "activatePreviousPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 24 + ], + [ + 75, + 1 + ] + ], + "doc": "~Private~" + } + }, + "75": { + "17": { + "name": "onRootChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "root" + ], + "range": [ + [ + 75, + 17 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "destroyEmptyPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "17": { + "name": "itemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 92, + 17 + ], + [ + 96, + 1 + ] + ], + "doc": "~Private~" + } + }, + "96": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 13 + ], + [ + 97, + 42 + ] + ], + "doc": "Private: Called by Model superclass when destroyed " + } + } + }, + "exports": 6 + }, + "src/pane-row-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "2": { + "15": { + "name": "PaneAxisView", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 40 + ] + ], + "bindingType": "variable", + "path": "./pane-axis-view" + } + }, + "5": { + "0": { + "type": "class", + "name": "PaneRowView", + "bindingType": "exports", + "classProperties": [ + [ + 6, + 12 + ] + ], + "prototypeProperties": [ + [ + 9, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 10, + 13 + ] + ] + } + }, + "6": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 12 + ], + [ + 9, + 1 + ] + ] + } + }, + "9": { + "13": { + "name": "className", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 13 + ], + [ + 10, + 13 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "src/pane-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@^1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "3": { + "20": { + "name": "PropertyAccessors", + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 47 + ] + ], + "bindingType": "variable", + "module": "property-accessors@^1" + } + }, + "5": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "14": { + "0": { + "type": "class", + "name": "PaneView", + "bindingType": "exports", + "classProperties": [ + [ + 18, + 12 + ], + [ + 20, + 12 + ] + ], + "prototypeProperties": [ + [ + 32, + 22 + ], + [ + 34, + 14 + ], + [ + 45, + 16 + ], + [ + 84, + 14 + ], + [ + 89, + 12 + ], + [ + 94, + 18 + ], + [ + 99, + 19 + ], + [ + 104, + 16 + ], + [ + 109, + 20 + ], + [ + 113, + 15 + ], + [ + 121, + 15 + ], + [ + 124, + 25 + ], + [ + 133, + 15 + ], + [ + 139, + 21 + ], + [ + 142, + 23 + ], + [ + 158, + 15 + ], + [ + 161, + 17 + ], + [ + 175, + 15 + ], + [ + 178, + 25 + ], + [ + 182, + 26 + ], + [ + 185, + 15 + ], + [ + 199, + 13 + ], + [ + 201, + 14 + ], + [ + 203, + 11 + ], + [ + 205, + 13 + ], + [ + 210, + 16 + ], + [ + 213, + 16 + ], + [ + 216, + 10 + ] + ], + "doc": " Public: A container which can contains multiple items to be switched between.\n\nItems can be almost anything however most commonly they're {EditorView}s.\n\nMost packages won't need to use this class, unless you're interested in\nbuilding a package that deals with switching between panes or items. ", + "range": [ + [ + 14, + 0 + ], + [ + 219, + 9 + ] + ] + } + }, + "18": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 18, + 12 + ], + [ + 18, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "20": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "wrappedView" + ], + "range": [ + [ + 20, + 12 + ], + [ + 24, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "22": { + "name": "previousActiveItem", + "type": "primitive", + "range": [ + [ + 32, + 22 + ], + [ + 32, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "34": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 34, + 14 + ], + [ + 45, + 1 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 16 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "14": { + "name": "removeItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 84, + 14 + ], + [ + 89, + 1 + ] + ], + "doc": "Deprecated: Use ::destroyItem " + } + }, + "89": { + "12": { + "name": "showItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 89, + 12 + ], + [ + 94, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItem " + } + }, + "94": { + "18": { + "name": "showItemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 94, + 18 + ], + [ + 99, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItemForUri " + } + }, + "99": { + "19": { + "name": "showItemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 99, + 19 + ], + [ + 104, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItemAtIndex " + } + }, + "104": { + "16": { + "name": "showNextItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 16 + ], + [ + 109, + 1 + ] + ], + "doc": "Deprecated: Use ::activateNextItem " + } + }, + "109": { + "20": { + "name": "showPreviousItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 20 + ], + [ + 113, + 1 + ] + ], + "doc": "Deprecated: Use ::activatePreviousItem " + } + }, + "113": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 113, + 15 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "15": { + "name": "onActivated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 121, + 15 + ], + [ + 124, + 1 + ] + ], + "doc": "~Private~" + } + }, + "124": { + "25": { + "name": "onActiveStatusChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "active" + ], + "range": [ + [ + 124, + 25 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "15": { + "name": "getNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 15 + ], + [ + 139, + 1 + ] + ], + "doc": "Public: Returns the next pane, ordered by creation. " + } + }, + "139": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 139, + 21 + ], + [ + 142, + 1 + ] + ], + "doc": "~Private~" + } + }, + "142": { + "23": { + "name": "onActiveItemChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 142, + 23 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "15": { + "name": "onItemAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index" + ], + "range": [ + [ + 158, + 15 + ], + [ + 161, + 1 + ] + ], + "doc": "~Private~" + } + }, + "161": { + "17": { + "name": "onItemRemoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index", + "destroyed" + ], + "range": [ + [ + 161, + 17 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "15": { + "name": "onItemMoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "newIndex" + ], + "range": [ + [ + 175, + 15 + ], + [ + 178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "178": { + "25": { + "name": "onBeforeItemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 178, + 25 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "26": { + "name": "activeItemTitleChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 182, + 26 + ], + [ + 185, + 1 + ] + ], + "doc": "~Private~" + } + }, + "185": { + "15": { + "name": "viewForItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 185, + 15 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "199": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 199, + 13 + ], + [ + 199, + 57 + ] + ], + "doc": "~Private~" + } + }, + "201": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 201, + 14 + ], + [ + 201, + 59 + ] + ], + "doc": "~Private~" + } + }, + "203": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 203, + 11 + ], + [ + 203, + 53 + ] + ], + "doc": "~Private~" + } + }, + "205": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 205, + 13 + ], + [ + 205, + 57 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "16": { + "name": "getContainer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": " Public: Get the container view housing this pane.\n\nReturns a {View}. " + } + }, + "213": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 16 + ], + [ + 216, + 1 + ] + ], + "doc": "~Private~" + } + }, + "216": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "keepData" + ], + "range": [ + [ + 216, + 10 + ], + [ + 219, + 9 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 14 + }, + "src/pane.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "find", + "exportsProperty": "find" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 13 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "compact", + "exportsProperty": "compact" + }, + "16": { + "type": "import", + "range": [ + [ + 0, + 16 + ], + [ + 0, + 21 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "extend", + "exportsProperty": "extend" + }, + "24": { + "type": "import", + "range": [ + [ + 0, + 24 + ], + [ + 0, + 27 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "last", + "exportsProperty": "last" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Model", + "exportsProperty": "Model" + }, + "8": { + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 15 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Sequence", + "exportsProperty": "Sequence" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@^1" + } + }, + "3": { + "11": { + "name": "PaneAxis", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-axis" + } + }, + "4": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "5": { + "11": { + "type": "primitive", + "range": [ + [ + 5, + 11 + ], + [ + 5, + 14 + ] + ] + } + }, + "11": { + "0": { + "type": "class", + "name": "Pane", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 43, + 19 + ], + [ + 50, + 21 + ], + [ + 57, + 16 + ], + [ + 59, + 12 + ], + [ + 62, + 9 + ], + [ + 67, + 8 + ], + [ + 73, + 12 + ], + [ + 77, + 12 + ], + [ + 82, + 12 + ], + [ + 88, + 17 + ], + [ + 93, + 19 + ], + [ + 97, + 15 + ], + [ + 101, + 20 + ], + [ + 109, + 24 + ], + [ + 117, + 22 + ], + [ + 121, + 23 + ], + [ + 125, + 16 + ], + [ + 137, + 11 + ], + [ + 154, + 12 + ], + [ + 159, + 14 + ], + [ + 175, + 12 + ], + [ + 182, + 18 + ], + [ + 187, + 21 + ], + [ + 193, + 15 + ], + [ + 204, + 16 + ], + [ + 208, + 24 + ], + [ + 211, + 11 + ], + [ + 218, + 13 + ], + [ + 224, + 20 + ], + [ + 239, + 18 + ], + [ + 243, + 20 + ], + [ + 251, + 12 + ], + [ + 263, + 14 + ], + [ + 273, + 13 + ], + [ + 278, + 14 + ], + [ + 283, + 22 + ], + [ + 290, + 18 + ], + [ + 300, + 13 + ], + [ + 309, + 14 + ], + [ + 318, + 11 + ], + [ + 327, + 13 + ], + [ + 330, + 9 + ], + [ + 344, + 23 + ], + [ + 356, + 32 + ] + ], + "doc": " Public: A container for multiple items, one of which is *active* at a given\ntime. With the default packages, a tab is displayed for each item and the\nactive item's view is displayed. ", + "range": [ + [ + 11, + 0 + ], + [ + 364, + 19 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 29, + 15 + ], + [ + 43, + 1 + ] + ], + "doc": "~Private~" + } + }, + "43": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 19 + ], + [ + 50, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during serialization. " + } + }, + "50": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 50, + 21 + ], + [ + 57, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during deserialization. " + } + }, + "57": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 16 + ], + [ + 57, + 51 + ] + ], + "doc": "Private: Called by the view layer to construct a view for this model. " + } + }, + "59": { + "12": { + "name": "isActive", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 12 + ], + [ + 59, + 21 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 62, + 9 + ], + [ + 67, + 1 + ] + ], + "doc": "Private: Called by the view layer to indicate that the pane has gained focus. " + } + }, + "67": { + "8": { + "name": "blur", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 8 + ], + [ + 73, + 1 + ] + ], + "doc": "Private: Called by the view layer to indicate that the pane has lost focus. " + } + }, + "73": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 12 + ], + [ + 77, + 1 + ] + ], + "doc": " Public: Makes this pane the *active* pane, causing it to gain focus\nimmediately. " + } + }, + "77": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 77, + 12 + ], + [ + 77, + 20 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "12": { + "name": "getItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 12 + ], + [ + 88, + 1 + ] + ], + "doc": " Public: Get the items in this pane.\n\nReturns an {Array} of items. " + } + }, + "88": { + "17": { + "name": "getActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 17 + ], + [ + 93, + 1 + ] + ], + "doc": " Public: Get the active pane item in this pane.\n\nReturns a pane item. " + } + }, + "93": { + "19": { + "name": "getActiveEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 93, + 19 + ], + [ + 97, + 1 + ] + ], + "doc": " Public: Returns an {Editor} if the pane item is an {Editor}, or null\notherwise. " + } + }, + "97": { + "15": { + "name": "itemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 97, + 15 + ], + [ + 101, + 1 + ] + ], + "doc": "Public: Returns the item at the specified index. " + } + }, + "101": { + "20": { + "name": "activateNextItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 20 + ], + [ + 109, + 1 + ] + ], + "doc": "Public: Makes the next item active. " + } + }, + "109": { + "24": { + "name": "activatePreviousItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 24 + ], + [ + 117, + 1 + ] + ], + "doc": "Public: Makes the previous item active. " + } + }, + "117": { + "22": { + "name": "getActiveItemIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 22 + ], + [ + 121, + 1 + ] + ], + "doc": "Private: Returns the index of the current active item. " + } + }, + "121": { + "23": { + "name": "activateItemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 121, + 23 + ], + [ + 125, + 1 + ] + ], + "doc": "Private: Makes the item at the given index active. " + } + }, + "125": { + "16": { + "name": "activateItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 125, + 16 + ], + [ + 137, + 1 + ] + ], + "doc": "Private: Makes the given item active, adding the item if necessary. " + } + }, + "137": { + "11": { + "name": "addItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index" + ], + "range": [ + [ + 137, + 11 + ], + [ + 154, + 1 + ] + ], + "doc": " Public: Adds the item to the pane.\n\nitem - The item to add. It can be a model with an associated view or a view.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns the added item " + } + }, + "154": { + "12": { + "name": "addItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items", + "index" + ], + "range": [ + [ + 154, + 12 + ], + [ + 159, + 1 + ] + ], + "doc": " Public: Adds the given items to the pane.\n\nitems - An {Array} of items to add. Items can be models with associated\n views or views. Any items that are already present in items will\n not be added.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns an {Array} of the added items " + } + }, + "159": { + "14": { + "name": "removeItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "destroying" + ], + "range": [ + [ + 159, + 14 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "12": { + "name": "moveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "newIndex" + ], + "range": [ + [ + 175, + 12 + ], + [ + 182, + 1 + ] + ], + "doc": "Public: Moves the given item to the specified index. " + } + }, + "182": { + "18": { + "name": "moveItemToPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "pane", + "index" + ], + "range": [ + [ + 182, + 18 + ], + [ + 187, + 1 + ] + ], + "doc": "Public: Moves the given item to the given index at another pane. " + } + }, + "187": { + "21": { + "name": "destroyActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 187, + 21 + ], + [ + 193, + 1 + ] + ], + "doc": "Public: Destroys the currently active item and make the next item active. " + } + }, + "193": { + "15": { + "name": "destroyItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 193, + 15 + ], + [ + 204, + 1 + ] + ], + "doc": " Public: Destroys the given item. If it is the active item, activate the next\none. If this is the last item, also destroys the pane. " + } + }, + "204": { + "16": { + "name": "destroyItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 204, + 16 + ], + [ + 208, + 1 + ] + ], + "doc": "Public: Destroys all items and destroys the pane. " + } + }, + "208": { + "24": { + "name": "destroyInactiveItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 208, + 24 + ], + [ + 211, + 1 + ] + ], + "doc": "Public: Destroys all items but the active one. " + } + }, + "211": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 211, + 11 + ], + [ + 218, + 1 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 218, + 13 + ], + [ + 224, + 1 + ] + ], + "doc": "Private: Called by model superclass. " + } + }, + "224": { + "20": { + "name": "promptToSaveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 224, + 20 + ], + [ + 239, + 1 + ] + ], + "doc": " Public: Prompts the user to save the given item if it can be saved and is\ncurrently unsaved. " + } + }, + "239": { + "18": { + "name": "saveActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 239, + 18 + ], + [ + 243, + 1 + ] + ], + "doc": "Public: Saves the active item. " + } + }, + "243": { + "20": { + "name": "saveActiveItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 243, + 20 + ], + [ + 251, + 1 + ] + ], + "doc": "Public: Saves the active item at a prompted-for location. " + } + }, + "251": { + "12": { + "name": "saveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "nextAction" + ], + "range": [ + [ + 251, + 12 + ], + [ + 263, + 1 + ] + ], + "doc": " Public: Saves the specified item.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " + } + }, + "263": { + "14": { + "name": "saveItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "nextAction" + ], + "range": [ + [ + 263, + 14 + ], + [ + 273, + 1 + ] + ], + "doc": " Public: Saves the given item at a prompted-for location.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " + } + }, + "273": { + "13": { + "name": "saveItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 273, + 13 + ], + [ + 278, + 1 + ] + ], + "doc": "Public: Saves all items. " + } + }, + "278": { + "14": { + "name": "itemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 278, + 14 + ], + [ + 283, + 1 + ] + ], + "doc": " Public: Returns the first item that matches the given URI or undefined if\nnone exists. " + } + }, + "283": { + "22": { + "name": "activateItemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 283, + 22 + ], + [ + 290, + 1 + ] + ], + "doc": " Public: Activates the first item that matches the given URI. Returns a\nboolean indicating whether a matching item was found. " + } + }, + "290": { + "18": { + "name": "copyActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 290, + 18 + ], + [ + 300, + 1 + ] + ], + "doc": "~Private~" + } + }, + "300": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 300, + 13 + ], + [ + 309, + 1 + ] + ], + "doc": " Public: Creates a new pane to the left of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "309": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 309, + 14 + ], + [ + 318, + 1 + ] + ], + "doc": " Public: Creates a new pane to the right of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "318": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 318, + 11 + ], + [ + 327, + 1 + ] + ], + "doc": " Public: Creates a new pane above the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "327": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 327, + 13 + ], + [ + 330, + 1 + ] + ], + "doc": " Public: Creates a new pane below the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "330": { + "9": { + "name": "split", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "orientation", + "side", + "params" + ], + "range": [ + [ + 330, + 9 + ], + [ + 344, + 1 + ] + ], + "doc": "~Private~" + } + }, + "344": { + "23": { + "name": "findLeftmostSibling", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 344, + 23 + ], + [ + 356, + 1 + ] + ], + "doc": " Private: If the parent is a horizontal axis, returns its first child if it is a pane;\notherwise returns this pane. " + } + }, + "356": { + "32": { + "name": "findOrCreateRightmostSibling", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 356, + 32 + ], + [ + 364, + 19 + ] + ], + "doc": " Private: If the parent is a horizontal axis, returns its last child if it is a pane;\notherwise returns a new pane created by splitting this pane rightward. " + } + } + }, + "exports": 11 + }, + "src/project.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q@^1.0.1" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Model", + "exportsProperty": "Model" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "9": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 9, + 15 + ], + [ + 9, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@^1" + } + }, + "10": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0" + } + }, + "11": { + "1": { + "type": "import", + "range": [ + [ + 11, + 1 + ], + [ + 11, + 9 + ] + ], + "bindingType": "variable", + "module": "pathwatcher@^2.0.6", + "name": "Directory", + "exportsProperty": "Directory" + } + }, + "13": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 13, + 9 + ], + [ + 13, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "14": { + "7": { + "name": "Task", + "type": "import", + "range": [ + [ + 14, + 7 + ], + [ + 14, + 22 + ] + ], + "bindingType": "variable", + "path": "./task" + } + }, + "15": { + "6": { + "name": "Git", + "type": "import", + "range": [ + [ + 15, + 6 + ], + [ + 15, + 20 + ] + ], + "bindingType": "variable", + "path": "./git" + } + }, + "21": { + "0": { + "type": "class", + "name": "Project", + "bindingType": "exports", + "classProperties": [ + [ + 26, + 25 + ] + ], + "prototypeProperties": [ + [ + 31, + 15 + ], + [ + 40, + 19 + ], + [ + 44, + 21 + ], + [ + 48, + 13 + ], + [ + 52, + 15 + ], + [ + 57, + 28 + ], + [ + 61, + 11 + ], + [ + 64, + 11 + ], + [ + 68, + 11 + ], + [ + 85, + 20 + ], + [ + 95, + 11 + ], + [ + 109, + 14 + ], + [ + 114, + 12 + ], + [ + 124, + 8 + ], + [ + 130, + 12 + ], + [ + 139, + 14 + ], + [ + 143, + 18 + ], + [ + 146, + 21 + ], + [ + 150, + 21 + ], + [ + 163, + 17 + ], + [ + 168, + 15 + ], + [ + 172, + 19 + ], + [ + 184, + 15 + ], + [ + 194, + 13 + ], + [ + 198, + 20 + ], + [ + 207, + 16 + ], + [ + 211, + 23 + ], + [ + 221, + 8 + ], + [ + 268, + 11 + ], + [ + 300, + 24 + ], + [ + 304, + 14 + ], + [ + 315, + 18 + ], + [ + 320, + 20 + ], + [ + 325, + 14 + ], + [ + 330, + 14 + ] + ], + "doc": " Public: Represents a project that's opened in Atom.\n\nAn instance of this class is always available as the `atom.project` global. ", + "range": [ + [ + 21, + 0 + ], + [ + 332, + 31 + ] + ] + } + }, + "26": { + "25": { + "name": "pathForRepositoryUrl", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "repoUrl" + ], + "range": [ + [ + 26, + 25 + ], + [ + 31, + 1 + ] + ], + "doc": "Public: Find the local path for the given repository URL. " + } + }, + "31": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 31, + 15 + ], + [ + 40, + 1 + ] + ], + "doc": "~Private~" + } + }, + "40": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 40, + 19 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 44, + 21 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 13 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "15": { + "name": "destroyRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 15 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "28": { + "name": "destroyUnretainedBuffers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 28 + ], + [ + 61, + 1 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "11": { + "name": "getRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 11 + ], + [ + 61, + 18 + ] + ], + "doc": "Public: Returns the {Git} repository if available. " + } + }, + "64": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 11 + ], + [ + 68, + 1 + ] + ], + "doc": "Public: Returns the project's fullpath. " + } + }, + "68": { + "11": { + "name": "setPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "projectPath" + ], + "range": [ + [ + 68, + 11 + ], + [ + 85, + 1 + ] + ], + "doc": "Public: Sets the project's fullpath. " + } + }, + "85": { + "20": { + "name": "getRootDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 85, + 20 + ], + [ + 95, + 1 + ] + ], + "doc": "Public: Returns the root {Directory} object for this project. " + } + }, + "95": { + "11": { + "name": "resolve", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 95, + 11 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Given a uri, this resolves it relative to the project directory. If\nthe path is already absolute or if it is prefixed with a scheme, it is\nreturned unchanged.\n\nuri - The {String} name of the path to convert.\n\nReturns a {String} or undefined if the uri is not missing or empty. " + } + }, + "109": { + "14": { + "name": "relativize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fullPath" + ], + "range": [ + [ + 109, + 14 + ], + [ + 114, + 1 + ] + ], + "doc": "Public: Make the given path relative to the project directory. " + } + }, + "114": { + "12": { + "name": "contains", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToCheck" + ], + "range": [ + [ + 114, + 12 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Returns whether the given path is inside this project. " + } + }, + "124": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "options" + ], + "range": [ + [ + 124, + 8 + ], + [ + 130, + 1 + ] + ], + "doc": " Private: Given a path to a file, this constructs and associates a new\n{Editor}, showing the file.\n\nfilePath - The {String} path of the file to associate with.\noptions - Options that you can pass to the {Editor} constructor.\n\nReturns a promise that resolves to an {Editor}. " + } + }, + "130": { + "12": { + "name": "openSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "options" + ], + "range": [ + [ + 130, + 12 + ], + [ + 139, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "139": { + "14": { + "name": "getBuffers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 139, + 14 + ], + [ + 143, + 1 + ] + ], + "doc": " Private: Retrieves all the {TextBuffer}s in the project; that is, the\nbuffers for all open files.\n\nReturns an {Array} of {TextBuffer}s. " + } + }, + "143": { + "18": { + "name": "isPathModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 143, + 18 + ], + [ + 146, + 1 + ] + ], + "doc": "Private: Is the buffer for the given path modified? " + } + }, + "146": { + "21": { + "name": "findBufferForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 146, + 21 + ], + [ + 150, + 1 + ] + ], + "doc": "~Private~" + } + }, + "150": { + "21": { + "name": "bufferForPathSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 150, + 21 + ], + [ + 163, + 1 + ] + ], + "doc": "Private: Only to be used in specs " + } + }, + "163": { + "17": { + "name": "bufferForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 163, + 17 + ], + [ + 168, + 1 + ] + ], + "doc": " Private: Given a file path, this retrieves or creates a new {TextBuffer}.\n\nIf the `filePath` already has a `buffer`, that value is used instead. Otherwise,\n`text` is used as the contents of the new buffer.\n\nfilePath - A {String} representing a path. If `null`, an \"Untitled\" buffer is created.\n\nReturns a promise that resolves to the {TextBuffer}. " + } + }, + "168": { + "15": { + "name": "bufferForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 168, + 15 + ], + [ + 172, + 1 + ] + ], + "doc": "~Private~" + } + }, + "172": { + "19": { + "name": "buildBufferSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "absoluteFilePath" + ], + "range": [ + [ + 172, + 19 + ], + [ + 184, + 1 + ] + ], + "doc": "Private: Still needed when deserializing a tokenized buffer " + } + }, + "184": { + "15": { + "name": "buildBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "absoluteFilePath" + ], + "range": [ + [ + 184, + 15 + ], + [ + 194, + 1 + ] + ], + "doc": " Private: Given a file path, this sets its {TextBuffer}.\n\nabsoluteFilePath - A {String} representing a path.\ntext - The {String} text to use as a buffer.\n\nReturns a promise that resolves to the {TextBuffer}. " + } + }, + "194": { + "13": { + "name": "addBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "options" + ], + "range": [ + [ + 194, + 13 + ], + [ + 198, + 1 + ] + ], + "doc": "~Private~" + } + }, + "198": { + "20": { + "name": "addBufferAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "index", + "options" + ], + "range": [ + [ + 198, + 20 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "16": { + "name": "removeBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer" + ], + "range": [ + [ + 207, + 16 + ], + [ + 211, + 1 + ] + ], + "doc": " Private: Removes a {TextBuffer} association from the project.\n\nReturns the removed {TextBuffer}. " + } + }, + "211": { + "23": { + "name": "removeBufferAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index", + "options" + ], + "range": [ + [ + 211, + 23 + ], + [ + 221, + 1 + ] + ], + "doc": "~Private~" + } + }, + "221": { + "8": { + "name": "scan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "options", + "iterator" + ], + "range": [ + [ + 221, + 8 + ], + [ + 268, + 1 + ] + ], + "doc": " Public: Performs a search across all the files in the project.\n\nregex - A {RegExp} to search with.\noptions - An optional options {Object} (default: {}):\n :paths - An {Array} of glob patterns to search within\niterator - A {Function} callback on each file found " + } + }, + "268": { + "11": { + "name": "replace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "replacementText", + "filePaths", + "iterator" + ], + "range": [ + [ + 268, + 11 + ], + [ + 300, + 1 + ] + ], + "doc": " Public: Performs a replace across all the specified files in the project.\n\nregex - A {RegExp} to search with.\nreplacementText - Text to replace all matches of regex with\nfilePaths - List of file path strings to run the replace on.\niterator - A {Function} callback on each file with replacements:\n `({filePath, replacements}) ->`. " + } + }, + "300": { + "24": { + "name": "buildEditorForBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "editorOptions" + ], + "range": [ + [ + 300, + 24 + ], + [ + 304, + 1 + ] + ], + "doc": "~Private~" + } + }, + "304": { + "14": { + "name": "eachBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 304, + 14 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "18": { + "name": "registerOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 315, + 18 + ], + [ + 320, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "320": { + "20": { + "name": "unregisterOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 320, + 20 + ], + [ + 325, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "325": { + "14": { + "name": "eachEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 325, + 14 + ], + [ + 330, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "330": { + "14": { + "name": "getEditors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 330, + 14 + ], + [ + 332, + 31 + ] + ], + "doc": "Deprecated: delegate " + } + } + }, + "exports": 21 + }, + "src/react-editor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "space-pen@3.2.0", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "module": "space-pen@3.2.0", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork@^0.11.1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "defaults", + "exportsProperty": "defaults" + } + }, + "3": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 3, + 13 + ], + [ + 3, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0" + } + }, + "4": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "5": { + "18": { + "name": "EditorComponent", + "type": "import", + "range": [ + [ + 5, + 18 + ], + [ + 5, + 45 + ] + ], + "bindingType": "variable", + "path": "./editor-component" + } + }, + "8": { + "0": { + "type": "class", + "name": "ReactEditorView", + "bindingType": "exports", + "classProperties": [ + [ + 9, + 12 + ] + ], + "prototypeProperties": [ + [ + 14, + 17 + ], + [ + 16, + 15 + ], + [ + 58, + 13 + ], + [ + 60, + 12 + ], + [ + 69, + 15 + ], + [ + 77, + 13 + ], + [ + 83, + 14 + ], + [ + 89, + 18 + ], + [ + 92, + 26 + ], + [ + 95, + 26 + ], + [ + 98, + 26 + ], + [ + 101, + 25 + ], + [ + 105, + 34 + ], + [ + 108, + 34 + ], + [ + 111, + 21 + ], + [ + 116, + 16 + ], + [ + 122, + 13 + ], + [ + 127, + 14 + ], + [ + 132, + 11 + ], + [ + 137, + 13 + ], + [ + 141, + 11 + ], + [ + 144, + 9 + ], + [ + 150, + 8 + ], + [ + 154, + 8 + ], + [ + 158, + 20 + ], + [ + 165, + 12 + ], + [ + 168, + 10 + ], + [ + 171, + 12 + ], + [ + 174, + 28 + ], + [ + 177, + 27 + ], + [ + 180, + 17 + ], + [ + 183, + 17 + ], + [ + 186, + 15 + ], + [ + 189, + 15 + ], + [ + 192, + 19 + ], + [ + 195, + 17 + ], + [ + 198, + 22 + ], + [ + 201, + 15 + ], + [ + 204, + 21 + ], + [ + 207, + 18 + ], + [ + 210, + 18 + ], + [ + 213, + 11 + ], + [ + 216, + 11 + ], + [ + 219, + 14 + ], + [ + 222, + 18 + ], + [ + 225, + 19 + ], + [ + 228, + 24 + ], + [ + 230, + 17 + ], + [ + 232, + 16 + ], + [ + 234, + 10 + ], + [ + 236, + 22 + ], + [ + 242, + 27 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 243, + 49 + ] + ] + } + }, + "9": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 9, + 12 + ], + [ + 14, + 1 + ] + ] + } + }, + "14": { + "17": { + "name": "focusOnAttach", + "type": "primitive", + "range": [ + [ + 14, + 17 + ], + [ + 14, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorOrParams", + "props" + ], + "range": [ + [ + 16, + 15 + ], + [ + 58, + 1 + ] + ], + "doc": "~Private~" + } + }, + "58": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 58, + 13 + ], + [ + 58, + 22 + ] + ], + "doc": "~Private~" + } + }, + "69": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 69, + 15 + ], + [ + 77, + 1 + ] + ], + "doc": "~Private~" + } + }, + "77": { + "13": { + "name": "scrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 77, + 13 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "14": { + "name": "scrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 83, + 14 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "18": { + "name": "scrollToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 18 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 92, + 26 + ], + [ + 95, + 1 + ] + ], + "doc": "~Private~" + } + }, + "95": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 95, + 26 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 26 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "scrollToPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 101, + 25 + ], + [ + 105, + 1 + ] + ], + "doc": "~Private~" + } + }, + "105": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 105, + 34 + ], + [ + 108, + 1 + ] + ], + "doc": "~Private~" + } + }, + "108": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 108, + 34 + ], + [ + 111, + 1 + ] + ], + "doc": "~Private~" + } + }, + "111": { + "21": { + "name": "appendToLinesView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 111, + 21 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 16 + ], + [ + 122, + 1 + ] + ], + "doc": "~Private~" + } + }, + "122": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 122, + 13 + ], + [ + 127, + 1 + ] + ], + "doc": "Public: Split the editor view left. " + } + }, + "127": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 127, + 14 + ], + [ + 132, + 1 + ] + ], + "doc": "Public: Split the editor view right. " + } + }, + "132": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 132, + 11 + ], + [ + 137, + 1 + ] + ], + "doc": "Public: Split the editor view up. " + } + }, + "137": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 13 + ], + [ + 141, + 1 + ] + ], + "doc": "Public: Split the editor view down. " + } + }, + "141": { + "11": { + "name": "getPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 11 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 144, + 9 + ], + [ + 150, + 1 + ] + ], + "doc": "~Private~" + } + }, + "150": { + "8": { + "name": "hide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 150, + 8 + ], + [ + 154, + 1 + ] + ], + "doc": "~Private~" + } + }, + "154": { + "8": { + "name": "show", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 8 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "20": { + "name": "pollComponentDOM", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 20 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 12 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 10 + ], + [ + 171, + 1 + ] + ], + "doc": "~Private~" + } + }, + "171": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 12 + ], + [ + 174, + 1 + ] + ], + "doc": "~Private~" + } + }, + "174": { + "28": { + "name": "getFirstVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 174, + 28 + ], + [ + 177, + 1 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "27": { + "name": "getLastVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 27 + ], + [ + 180, + 1 + ] + ], + "doc": "~Private~" + } + }, + "180": { + "17": { + "name": "getFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 180, + 17 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "17": { + "name": "setFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 183, + 17 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "15": { + "name": "getFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 186, + 15 + ], + [ + 189, + 1 + ] + ], + "doc": "~Private~" + } + }, + "189": { + "15": { + "name": "setFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 189, + 15 + ], + [ + 192, + 1 + ] + ], + "doc": "~Private~" + } + }, + "192": { + "19": { + "name": "setWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "widthInChars" + ], + "range": [ + [ + 192, + 19 + ], + [ + 195, + 1 + ] + ], + "doc": "~Private~" + } + }, + "195": { + "17": { + "name": "setLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 195, + 17 + ], + [ + 198, + 1 + ] + ], + "doc": "~Private~" + } + }, + "198": { + "22": { + "name": "setShowIndentGuide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showIndentGuide" + ], + "range": [ + [ + 198, + 22 + ], + [ + 201, + 1 + ] + ], + "doc": "~Private~" + } + }, + "201": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 201, + 15 + ], + [ + 204, + 1 + ] + ], + "doc": "~Private~" + } + }, + "204": { + "21": { + "name": "setShowInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showInvisibles" + ], + "range": [ + [ + 204, + 21 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 207, + 18 + ], + [ + 210, + 1 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 18 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 11 + ], + [ + 216, + 1 + ] + ], + "doc": "~Private~" + } + }, + "216": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 216, + 11 + ], + [ + 219, + 1 + ] + ], + "doc": "~Private~" + } + }, + "219": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 219, + 14 + ], + [ + 222, + 1 + ] + ], + "doc": "~Private~" + } + }, + "222": { + "18": { + "name": "isInputEnabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 222, + 18 + ], + [ + 225, + 1 + ] + ], + "doc": "~Private~" + } + }, + "225": { + "19": { + "name": "setInputEnabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "inputEnabled" + ], + "range": [ + [ + 225, + 19 + ], + [ + 228, + 1 + ] + ], + "doc": "~Private~" + } + }, + "228": { + "24": { + "name": "requestDisplayUpdate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 228, + 24 + ], + [ + 228, + 25 + ] + ], + "doc": "~Private~" + } + }, + "230": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 230, + 17 + ], + [ + 230, + 18 + ] + ], + "doc": "~Private~" + } + }, + "232": { + "16": { + "name": "resetDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 232, + 16 + ], + [ + 232, + 17 + ] + ], + "doc": "~Private~" + } + }, + "234": { + "10": { + "name": "redraw", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 10 + ], + [ + 234, + 11 + ] + ], + "doc": "~Private~" + } + }, + "236": { + "22": { + "name": "setPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "placeholderText" + ], + "range": [ + [ + 236, + 22 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "27": { + "name": "lineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 242, + 27 + ], + [ + 243, + 49 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/replace-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "scandal@1.0.0", + "name": "PathReplacer", + "exportsProperty": "PathReplacer" + } + } + }, + "exports": 2 + }, + "src/repository-status-handler.coffee": { + "objects": { + "0": { + "6": { + "name": "Git", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "git-utils@^2.1.3" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + } + }, + "exports": 3 + }, + "src/row-map.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 15 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "spliceWithArray", + "exportsProperty": "spliceWithArray" + } + }, + "16": { + "0": { + "type": "class", + "name": "RowMap", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 15 + ], + [ + 21, + 14 + ], + [ + 27, + 30 + ], + [ + 40, + 30 + ], + [ + 50, + 30 + ], + [ + 61, + 17 + ], + [ + 83, + 23 + ], + [ + 93, + 23 + ], + [ + 103, + 35 + ], + [ + 116, + 11 + ] + ], + "doc": " Private: Used by the display buffer to map screen rows to buffer rows and vice-versa.\nThis mapping may not be 1:1 due to folds and soft-wraps. This object maintains\nan array of regions, which contain `bufferRows` and `screenRows` fields.\n\nRectangular Regions:\nIf a region has the same number of buffer rows and screen rows, it is referred\nto as \"rectangular\", and represents one or more non-soft-wrapped, non-folded\nlines.\n\nTrapezoidal Regions:\nIf a region has one buffer row and more than one screen row, it represents a\nsoft-wrapped line. If a region has one screen row and more than one buffer\nrow, it represents folded lines ", + "range": [ + [ + 16, + 0 + ], + [ + 118, + 35 + ] + ] + } + }, + "17": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 15 + ], + [ + 21, + 1 + ] + ] + } + }, + "21": { + "14": { + "name": "getRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 14 + ], + [ + 27, + 1 + ] + ], + "doc": "Public: Returns a copy of all the regions in the map " + } + }, + "27": { + "30": { + "name": "screenRowRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 27, + 30 + ], + [ + 40, + 1 + ] + ], + "doc": " Public: Returns an end-row-exclusive range of screen rows corresponding to\nthe given buffer row. If the buffer row is soft-wrapped, the range may span\nmultiple screen rows. Otherwise it will span a single screen row. " + } + }, + "40": { + "30": { + "name": "bufferRowRangeForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetScreenRow" + ], + "range": [ + [ + 40, + 30 + ], + [ + 50, + 1 + ] + ], + "doc": " Public: Returns an end-row-exclusive range of buffer rows corresponding to\nthe given screen row. If the screen row is the first line of a folded range\nof buffer rows, the range may span multiple buffer rows. Otherwise it will\nspan a single buffer row. " + } + }, + "50": { + "30": { + "name": "bufferRowRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 50, + 30 + ], + [ + 61, + 1 + ] + ], + "doc": " Public: If the given buffer row is part of a folded row range, returns that\nrow range. Otherwise returns a range spanning only the given buffer row. " + } + }, + "61": { + "17": { + "name": "spliceRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "bufferRowCount", + "regions" + ], + "range": [ + [ + 61, + 17 + ], + [ + 83, + 1 + ] + ], + "doc": " Public: Given a starting buffer row, the number of buffer rows to replace,\nand an array of regions of shape {bufferRows: n, screenRows: m}, splices\nthe regions at the appropriate location in the map. This method is used by\ndisplay buffer to keep the map updated when the underlying buffer changes. " + } + }, + "83": { + "23": { + "name": "traverseToBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 83, + 23 + ], + [ + 93, + 1 + ] + ], + "doc": "~Private~" + } + }, + "93": { + "23": { + "name": "traverseToScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetScreenRow" + ], + "range": [ + [ + 93, + 23 + ], + [ + 103, + 1 + ] + ], + "doc": "~Private~" + } + }, + "103": { + "35": { + "name": "mergeAdjacentRectangularRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startIndex", + "endIndex" + ], + "range": [ + [ + 103, + 35 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 11 + ], + [ + 118, + 35 + ] + ], + "doc": "Public: Returns an array of strings describing the map's regions. " + } + } + }, + "exports": 16 + }, + "src/scan-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "scandal@1.0.0", + "name": "PathSearcher", + "exportsProperty": "PathSearcher" + }, + "15": { + "type": "import", + "range": [ + [ + 0, + 15 + ], + [ + 0, + 25 + ] + ], + "bindingType": "variable", + "module": "scandal@1.0.0", + "name": "PathScanner", + "exportsProperty": "PathScanner" + }, + "28": { + "type": "import", + "range": [ + [ + 0, + 28 + ], + [ + 0, + 33 + ] + ], + "bindingType": "variable", + "module": "scandal@1.0.0", + "name": "search", + "exportsProperty": "search" + } + } + }, + "exports": 2 + }, + "src/scoped-properties.coffee": { + "objects": { + "0": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1.0.2" + } + }, + "3": { + "0": { + "type": "class", + "name": "ScopedProperties", + "bindingType": "exports", + "classProperties": [ + [ + 4, + 9 + ] + ], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 13, + 12 + ], + [ + 17, + 14 + ] + ], + "doc": "~Private~", + "range": [ + [ + 3, + 0 + ], + [ + 18, + 39 + ] + ] + } + }, + "4": { + "9": { + "name": "load", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "scopedPropertiesPath", + "callback" + ], + "range": [ + [ + 4, + 9 + ], + [ + 11, + 1 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 11, + 43 + ] + ], + "doc": "~Private~" + } + }, + "13": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 12 + ], + [ + 17, + 1 + ] + ], + "doc": "~Private~" + } + }, + "17": { + "14": { + "name": "deactivate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 14 + ], + [ + 18, + 39 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 3 + }, + "src/scroll-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "21": { + "0": { + "type": "class", + "name": "ScrollView", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 22, + 14 + ] + ], + "doc": " Public: Represents a view that scrolls.\n\nSubclasses must call `super` if overriding the `initialize` method or else\nthe following events won't be handled by the ScrollView.\n\n## Events\n * `core:move-up`\n * `core:move-down`\n * `core:page-up`\n * `core:page-down`\n * `core:move-to-top`\n * `core:move-to-bottom`\n\n## Requiring in packages\n\n```coffee\n {ScrollView} = require 'atom'\n``` ", + "range": [ + [ + 21, + 0 + ], + [ + 28, + 51 + ] + ] + } + }, + "22": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 22, + 14 + ], + [ + 28, + 51 + ] + ] + } + } + }, + "exports": 21 + }, + "src/scrollbar-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork@^0.11.1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork@^1.0.0", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 6 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "extend", + "exportsProperty": "extend" + }, + "9": { + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "21": { + "name": "ScrollbarComponent", + "type": "function", + "range": [ + [ + 5, + 21 + ], + [ + 69, + 28 + ] + ] + } + }, + "6": { + "15": { + "name": "'ScrollbarComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 34 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 21 + ], + [ + 36, + 1 + ] + ], + "doc": null + } + }, + "36": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 36, + 25 + ], + [ + 45, + 1 + ] + ], + "doc": null + } + }, + "45": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 22 + ], + [ + 57, + 1 + ] + ], + "doc": null + } + }, + "57": { + "12": { + "name": "onScroll", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 12 + ], + [ + 69, + 28 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/scrollbar-corner-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork@^0.11.1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork@^1.0.0", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "27": { + "name": "ScrollbarCornerComponent", + "type": "function", + "range": [ + [ + 5, + 27 + ], + [ + 23, + 99 + ] + ] + } + }, + "6": { + "15": { + "name": "'ScrollbarCornerComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 40 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 22, + 1 + ] + ], + "doc": null + } + }, + "22": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 22, + 25 + ], + [ + 23, + 99 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/select-list-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "4": { + "15": { + "name": "EditorView", + "type": "import", + "range": [ + [ + 4, + 15 + ], + [ + 4, + 37 + ] + ], + "bindingType": "variable", + "path": "./editor-view" + } + }, + "5": { + "14": { + "type": "primitive", + "range": [ + [ + 5, + 14 + ], + [ + 5, + 41 + ] + ] + } + }, + "36": { + "0": { + "type": "class", + "name": "SelectListView", + "bindingType": "exports", + "classProperties": [ + [ + 37, + 12 + ] + ], + "prototypeProperties": [ + [ + 46, + 12 + ], + [ + 47, + 19 + ], + [ + 48, + 17 + ], + [ + 49, + 14 + ], + [ + 55, + 14 + ], + [ + 90, + 24 + ], + [ + 102, + 12 + ], + [ + 109, + 12 + ], + [ + 119, + 14 + ], + [ + 136, + 18 + ], + [ + 143, + 16 + ], + [ + 174, + 19 + ], + [ + 179, + 15 + ], + [ + 181, + 26 + ], + [ + 186, + 22 + ], + [ + 191, + 18 + ], + [ + 197, + 20 + ], + [ + 207, + 23 + ], + [ + 213, + 19 + ], + [ + 216, + 20 + ], + [ + 233, + 15 + ], + [ + 244, + 13 + ], + [ + 258, + 16 + ], + [ + 261, + 21 + ], + [ + 266, + 23 + ], + [ + 269, + 16 + ], + [ + 275, + 13 + ], + [ + 283, + 10 + ] + ], + "doc": " Public: Provides a view that renders a list of items with an editor that\nfilters the items. Used by many packages such as the fuzzy-finder,\ncommand-palette, symbols-view and autocomplete.\n\nSubclasses must implement the following methods:\n\n* {::viewForItem}\n* {::confirmed}\n\n## Requiring in packages\n\n```coffee\n{SelectListView} = require 'atom'\n\nclass MySelectListView extends SelectListView\n initialize: ->\n super\n @addClass('overlay from-top')\n @setItems(['Hello', 'World'])\n atom.workspaceView.append(this)\n @focusFilterEditor()\n\n viewForItem: (item) ->\n \"
  • #{item}
  • \"\n\n confirmed: (item) ->\n console.log(\"#{item} was selected\")\n``` ", + "range": [ + [ + 36, + 0 + ], + [ + 291, + 34 + ] + ] + } + }, + "37": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 37, + 12 + ], + [ + 46, + 1 + ] + ] + } + }, + "46": { + "12": { + "name": "maxItems", + "type": "primitive", + "range": [ + [ + 46, + 12 + ], + [ + 46, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "47": { + "19": { + "name": "scheduleTimeout", + "type": "primitive", + "range": [ + [ + 47, + 19 + ], + [ + 47, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "48": { + "17": { + "name": "inputThrottle", + "type": "primitive", + "range": [ + [ + 48, + 17 + ], + [ + 48, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "49": { + "14": { + "name": "cancelling", + "type": "primitive", + "range": [ + [ + 49, + 14 + ], + [ + 49, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "55": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 14 + ], + [ + 90, + 1 + ] + ], + "doc": " Public: Initialize the select list view.\n\nThis method can be overridden by subclasses but `super` should always\nbe called. " + } + }, + "90": { + "24": { + "name": "schedulePopulateList", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 24 + ], + [ + 102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "102": { + "12": { + "name": "setItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 102, + 12 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Set the array of items to display in the list.\n\nThis should be model items not actual views. {::viewForItem} will be\ncalled to render the item when it is being appended to the list view.\n\nitems - The {Array} of model items to display in the list (default: []). " + } + }, + "109": { + "12": { + "name": "setError", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 109, + 12 + ], + [ + 119, + 1 + ] + ], + "doc": " Public: Set the error message to display.\n\nmessage - The {String} error message (default: ''). " + } + }, + "119": { + "14": { + "name": "setLoading", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 119, + 14 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Set the loading message to display.\n\nmessage - The {String} loading message (default: ''). " + } + }, + "136": { + "18": { + "name": "getFilterQuery", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 18 + ], + [ + 143, + 1 + ] + ], + "doc": " Public: Get the filter query to use when fuzzy filtering the visible\nelements.\n\nBy default this method returns the text in the mini editor but it can be\noverridden by subclasses if needed.\n\nReturns a {String} to use when fuzzy filtering the elements to display. " + } + }, + "143": { + "16": { + "name": "populateList", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 143, + 16 + ], + [ + 174, + 1 + ] + ], + "doc": " Public: Populate the list view with the model items previously set by\ncalling {::setItems}.\n\nSubclasses may override this method but should always call `super`. " + } + }, + "174": { + "19": { + "name": "getEmptyMessage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "itemCount", + "filteredItemCount" + ], + "range": [ + [ + 174, + 19 + ], + [ + 174, + 70 + ] + ], + "doc": " Public: Get the message to display when there are no items.\n\nSubclasses may override this method to customize the message.\n\nitemCount - The {Number} of items in the array specified to {::setItems}\nfilteredItemCount - The {Number} of items that pass the fuzzy filter test.\n\nReturns a {String} message (default: 'No matches found'). " + } + }, + "179": { + "15": { + "name": "setMaxItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 179, + 15 + ], + [ + 179, + 28 + ] + ], + "doc": " Public: Set the maximum numbers of items to display in the list.\n\nmaxItems - The maximum {Number} of items to display. " + } + }, + "181": { + "26": { + "name": "selectPreviousItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 181, + 26 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "22": { + "name": "selectNextItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 186, + 22 + ], + [ + 191, + 1 + ] + ], + "doc": "~Private~" + } + }, + "191": { + "18": { + "name": "selectItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 191, + 18 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "20": { + "name": "scrollToItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 197, + 20 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "23": { + "name": "getSelectedItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 207, + 23 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "19": { + "name": "getSelectedItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 19 + ], + [ + 216, + 1 + ] + ], + "doc": " Public: Get the model item that is currently selected in the list view.\n\nReturns a model item. " + } + }, + "216": { + "20": { + "name": "confirmSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 216, + 20 + ], + [ + 233, + 1 + ] + ], + "doc": "~Private~" + } + }, + "233": { + "15": { + "name": "viewForItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 233, + 15 + ], + [ + 244, + 1 + ] + ], + "doc": " Public: Create a view for the given model item.\n\nThis method must be overridden by subclasses.\n\nThis is called when the item is about to appended to the list view.\n\nitem - The model item being rendered. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a String of HTML, DOM element, jQuery object, or View. " + } + }, + "244": { + "13": { + "name": "confirmed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 244, + 13 + ], + [ + 258, + 1 + ] + ], + "doc": " Public: Callback function for when an item is selected.\n\nThis method must be overridden by subclasses.\n\nitem - The selected model item. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a DOM element, jQuery object, or {View}. " + } + }, + "258": { + "16": { + "name": "getFilterKey", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 258, + 16 + ], + [ + 258, + 17 + ] + ], + "doc": " Public: Get the property name to use when filtering items.\n\nThis method may be overridden by classes to allow fuzzy filtering based\non a specific property of the item objects.\n\nFor example if the objects you pass to {::setItems} are of the type\n`{\"id\": 3, \"name\": \"Atom\"}` then you would return `\"name\"` from this method\nto fuzzy filter by that property when text is entered into this view's\neditor.\n\nReturns the property name to fuzzy filter by. " + } + }, + "261": { + "21": { + "name": "focusFilterEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 21 + ], + [ + 266, + 1 + ] + ], + "doc": "Public: Focus the fuzzy filter editor view. " + } + }, + "266": { + "23": { + "name": "storeFocusedElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 266, + 23 + ], + [ + 269, + 1 + ] + ], + "doc": " Public: Store the currently focused element. This element will be given\nback focus when {::cancel} is called. " + } + }, + "269": { + "16": { + "name": "restoreFocus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 16 + ], + [ + 275, + 1 + ] + ], + "doc": "~Private~" + } + }, + "275": { + "13": { + "name": "cancelled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 275, + 13 + ], + [ + 283, + 1 + ] + ], + "doc": "~Private~" + } + }, + "283": { + "10": { + "name": "cancel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 283, + 10 + ], + [ + 291, + 34 + ] + ], + "doc": " Public: Cancel and close this select list view.\n\nThis restores focus to the previously focused element if\n{::storeFocusedElement} was called prior to this view being attached. " + } + } + }, + "exports": 36 + }, + "src/selection-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 8 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + } + }, + "4": { + "0": { + "type": "class", + "name": "SelectionView", + "bindingType": "exports", + "classProperties": [ + [ + 6, + 12 + ] + ], + "prototypeProperties": [ + [ + 9, + 11 + ], + [ + 10, + 16 + ], + [ + 12, + 14 + ], + [ + 19, + 17 + ], + [ + 37, + 16 + ], + [ + 50, + 26 + ], + [ + 57, + 16 + ], + [ + 61, + 18 + ], + [ + 64, + 18 + ], + [ + 67, + 19 + ], + [ + 70, + 19 + ], + [ + 73, + 13 + ], + [ + 79, + 15 + ], + [ + 82, + 10 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 84, + 9 + ] + ] + } + }, + "6": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 12 + ], + [ + 9, + 1 + ] + ], + "doc": "~Private~" + } + }, + "9": { + "11": { + "name": "regions", + "type": "primitive", + "range": [ + [ + 9, + 11 + ], + [ + 9, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "16": { + "name": "needsRemoval", + "type": "primitive", + "range": [ + [ + 10, + 16 + ], + [ + 10, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 14 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 19, + 17 + ], + [ + 37, + 1 + ] + ], + "doc": "~Private~" + } + }, + "37": { + "16": { + "name": "appendRegion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rows", + "start", + "end" + ], + "range": [ + [ + 37, + 16 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "26": { + "name": "getCenterPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 26 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "16": { + "name": "clearRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 16 + ], + [ + 61, + 1 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 18 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 18 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "19": { + "name": "needsAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 19 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 70, + 19 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "13": { + "name": "highlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 13 + ], + [ + 79, + 1 + ] + ], + "doc": "~Private~" + } + }, + "79": { + "15": { + "name": "unhighlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 15 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 10 + ], + [ + 84, + 9 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/selection.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "pick", + "exportsProperty": "pick" + } + }, + "6": { + "0": { + "type": "class", + "name": "Selection", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 7, + 10 + ], + [ + 8, + 10 + ], + [ + 9, + 10 + ], + [ + 10, + 22 + ], + [ + 11, + 12 + ], + [ + 12, + 19 + ], + [ + 14, + 15 + ], + [ + 25, + 11 + ], + [ + 28, + 12 + ], + [ + 34, + 19 + ], + [ + 38, + 11 + ], + [ + 45, + 14 + ], + [ + 49, + 22 + ], + [ + 53, + 18 + ], + [ + 60, + 18 + ], + [ + 64, + 18 + ], + [ + 74, + 18 + ], + [ + 91, + 21 + ], + [ + 98, + 25 + ], + [ + 101, + 25 + ], + [ + 104, + 25 + ], + [ + 107, + 25 + ], + [ + 110, + 14 + ], + [ + 114, + 11 + ], + [ + 118, + 9 + ], + [ + 126, + 14 + ], + [ + 138, + 18 + ], + [ + 144, + 14 + ], + [ + 155, + 18 + ], + [ + 163, + 26 + ], + [ + 184, + 26 + ], + [ + 188, + 15 + ], + [ + 192, + 14 + ], + [ + 196, + 12 + ], + [ + 200, + 14 + ], + [ + 205, + 15 + ], + [ + 210, + 18 + ], + [ + 214, + 13 + ], + [ + 219, + 27 + ], + [ + 224, + 32 + ], + [ + 229, + 21 + ], + [ + 234, + 27 + ], + [ + 239, + 21 + ], + [ + 244, + 31 + ], + [ + 248, + 32 + ], + [ + 252, + 28 + ], + [ + 257, + 36 + ], + [ + 262, + 40 + ], + [ + 266, + 21 + ], + [ + 284, + 22 + ], + [ + 289, + 21 + ], + [ + 316, + 14 + ], + [ + 349, + 20 + ], + [ + 383, + 10 + ], + [ + 399, + 22 + ], + [ + 405, + 25 + ], + [ + 412, + 13 + ], + [ + 417, + 30 + ], + [ + 422, + 30 + ], + [ + 428, + 27 + ], + [ + 434, + 27 + ], + [ + 443, + 10 + ], + [ + 455, + 21 + ], + [ + 462, + 21 + ], + [ + 467, + 22 + ], + [ + 477, + 14 + ], + [ + 496, + 13 + ], + [ + 522, + 23 + ], + [ + 532, + 26 + ], + [ + 542, + 22 + ], + [ + 546, + 18 + ], + [ + 551, + 7 + ], + [ + 561, + 8 + ], + [ + 579, + 8 + ], + [ + 584, + 19 + ], + [ + 595, + 13 + ], + [ + 603, + 25 + ], + [ + 606, + 28 + ], + [ + 609, + 23 + ], + [ + 617, + 18 + ], + [ + 625, + 9 + ], + [ + 641, + 11 + ], + [ + 644, + 22 + ] + ], + "doc": "Public: Represents a selection in the {Editor}. ", + "range": [ + [ + 6, + 0 + ], + [ + 647, + 45 + ] + ] + } + }, + "7": { + "10": { + "name": "cursor", + "type": "primitive", + "range": [ + [ + 7, + 10 + ], + [ + 7, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "8": { + "10": { + "name": "marker", + "type": "primitive", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "10": { + "name": "editor", + "type": "primitive", + "range": [ + [ + 9, + 10 + ], + [ + 9, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "22": { + "name": "initialScreenRange", + "type": "primitive", + "range": [ + [ + 10, + 22 + ], + [ + 10, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "11": { + "12": { + "name": "wordwise", + "type": "primitive", + "range": [ + [ + 11, + 12 + ], + [ + 11, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "19": { + "name": "needsAutoscroll", + "type": "primitive", + "range": [ + [ + 12, + 19 + ], + [ + 12, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 14, + 15 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 11 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "12": { + "name": "finalize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 12 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 19 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "11": { + "name": "isEmpty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 38, + 11 + ], + [ + 45, + 1 + ] + ], + "doc": "Public: Determines if the selection contains anything. " + } + }, + "45": { + "14": { + "name": "isReversed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 14 + ], + [ + 49, + 1 + ] + ], + "doc": " Public: Determines if the ending position of a marker is greater than the\nstarting position.\n\nThis can happen when, for example, you highlight text \"up\" in a {TextBuffer}. " + } + }, + "49": { + "22": { + "name": "isSingleScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 22 + ], + [ + 53, + 1 + ] + ], + "doc": "Public: Returns whether the selection is a single line or not. " + } + }, + "53": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 18 + ], + [ + 60, + 1 + ] + ], + "doc": "Public: Returns the screen {Range} for the selection. " + } + }, + "60": { + "18": { + "name": "setScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 60, + 18 + ], + [ + 64, + 1 + ] + ], + "doc": " Public: Modifies the screen range for the selection.\n\nscreenRange - The new {Range} to use.\noptions - A hash of options matching those found in {::setBufferRange}. " + } + }, + "64": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 18 + ], + [ + 74, + 1 + ] + ], + "doc": "Public: Returns the buffer {Range} for the selection. " + } + }, + "74": { + "18": { + "name": "setBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 74, + 18 + ], + [ + 91, + 1 + ] + ], + "doc": " Public: Modifies the buffer {Range} for the selection.\n\nscreenRange - The new {Range} to select.\noptions - An {Object} with the keys:\n :preserveFolds - if `true`, the fold settings are preserved after the\n selection moves.\n :autoscroll - if `true`, the {Editor} scrolls to the new selection. " + } + }, + "91": { + "21": { + "name": "getBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 21 + ], + [ + 98, + 1 + ] + ], + "doc": " Public: Returns the starting and ending buffer rows the selection is\nhighlighting.\n\nReturns an {Array} of two {Number}s: the starting row, and the ending row. " + } + }, + "98": { + "25": { + "name": "getTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 25 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "getTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 25 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "25": { + "name": "getHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 25 + ], + [ + 107, + 1 + ] + ], + "doc": "~Private~" + } + }, + "107": { + "25": { + "name": "getHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 25 + ], + [ + 110, + 1 + ] + ], + "doc": "~Private~" + } + }, + "110": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 14 + ], + [ + 114, + 1 + ] + ], + "doc": "~Private~" + } + }, + "114": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 114, + 11 + ], + [ + 118, + 1 + ] + ], + "doc": "Public: Returns the text in the selection. " + } + }, + "118": { + "9": { + "name": "clear", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 118, + 9 + ], + [ + 126, + 1 + ] + ], + "doc": "Public: Clears the selection, moving the marker to the head. " + } + }, + "126": { + "14": { + "name": "selectWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 14 + ], + [ + 138, + 1 + ] + ], + "doc": " Public: Modifies the selection to encompass the current word.\n\nReturns a {Range}. " + } + }, + "138": { + "18": { + "name": "expandOverWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 18 + ], + [ + 144, + 1 + ] + ], + "doc": " Public: Expands the newest selection to include the entire word on which\nthe cursors rests. " + } + }, + "144": { + "14": { + "name": "selectLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 144, + 14 + ], + [ + 155, + 1 + ] + ], + "doc": " Public: Selects an entire line in the buffer.\n\nrow - The line {Number} to select (default: the row of the cursor). " + } + }, + "155": { + "18": { + "name": "expandOverLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 155, + 18 + ], + [ + 163, + 1 + ] + ], + "doc": " Public: Expands the newest selection to include the entire line on which\nthe cursor currently rests.\n\nIt also includes the newline character. " + } + }, + "163": { + "26": { + "name": "selectToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 163, + 26 + ], + [ + 184, + 1 + ] + ], + "doc": " Public: Selects the text from the current cursor position to a given screen\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "184": { + "26": { + "name": "selectToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 184, + 26 + ], + [ + 188, + 1 + ] + ], + "doc": " Public: Selects the text from the current cursor position to a given buffer\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "188": { + "15": { + "name": "selectRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 15 + ], + [ + 192, + 1 + ] + ], + "doc": "Public: Selects the text one position right of the cursor. " + } + }, + "192": { + "14": { + "name": "selectLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 192, + 14 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Selects the text one position left of the cursor. " + } + }, + "196": { + "12": { + "name": "selectUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 196, + 12 + ], + [ + 200, + 1 + ] + ], + "doc": "Public: Selects all the text one position above the cursor. " + } + }, + "200": { + "14": { + "name": "selectDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 200, + 14 + ], + [ + 205, + 1 + ] + ], + "doc": "Public: Selects all the text one position below the cursor. " + } + }, + "205": { + "15": { + "name": "selectToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 205, + 15 + ], + [ + 210, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the top of\nthe buffer. " + } + }, + "210": { + "18": { + "name": "selectToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 18 + ], + [ + 214, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the bottom\nof the buffer. " + } + }, + "214": { + "13": { + "name": "selectAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 214, + 13 + ], + [ + 219, + 1 + ] + ], + "doc": "Public: Selects all the text in the buffer. " + } + }, + "219": { + "27": { + "name": "selectToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 219, + 27 + ], + [ + 224, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the line. " + } + }, + "224": { + "32": { + "name": "selectToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 32 + ], + [ + 229, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the first\ncharacter of the line. " + } + }, + "229": { + "21": { + "name": "selectToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 229, + 21 + ], + [ + 234, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the end of\nthe line. " + } + }, + "234": { + "27": { + "name": "selectToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 27 + ], + [ + 239, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the word. " + } + }, + "239": { + "21": { + "name": "selectToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 239, + 21 + ], + [ + 244, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the end of\nthe word. " + } + }, + "244": { + "31": { + "name": "selectToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 244, + 31 + ], + [ + 248, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next word. " + } + }, + "248": { + "32": { + "name": "selectToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 248, + 32 + ], + [ + 252, + 1 + ] + ], + "doc": "Public: Selects text to the previous word boundary. " + } + }, + "252": { + "28": { + "name": "selectToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 252, + 28 + ], + [ + 257, + 1 + ] + ], + "doc": "Public: Selects text to the next word boundary. " + } + }, + "257": { + "36": { + "name": "selectToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 257, + 36 + ], + [ + 262, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next paragraph. " + } + }, + "262": { + "40": { + "name": "selectToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 262, + 40 + ], + [ + 266, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the previous paragraph. " + } + }, + "266": { + "21": { + "name": "addSelectionBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 266, + 21 + ], + [ + 284, + 1 + ] + ], + "doc": "Public: Moves the selection down one row. " + } + }, + "284": { + "22": { + "name": "getGoalBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 22 + ], + [ + 289, + 1 + ] + ], + "doc": "FIXME: I have no idea what this does. " + } + }, + "289": { + "21": { + "name": "addSelectionAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 289, + 21 + ], + [ + 316, + 1 + ] + ], + "doc": "Public: Moves the selection up one row. " + } + }, + "316": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 316, + 14 + ], + [ + 349, + 1 + ] + ], + "doc": " Public: Replaces text at the current selection.\n\ntext - A {String} representing the text to add\noptions - An {Object} with keys:\n :select - if `true`, selects the newly added text.\n :autoIndent - if `true`, indents all inserted text appropriately.\n :autoIndentNewline - if `true`, indent newline appropriately.\n :autoDecreaseIndent - if `true`, decreases indent level appropriately\n (for example, when a closing bracket is inserted).\n :undo - if `skip`, skips the undo stack for this operation. " + } + }, + "349": { + "20": { + "name": "normalizeIndents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "indentBasis" + ], + "range": [ + [ + 349, + 20 + ], + [ + 383, + 1 + ] + ], + "doc": " Public: Indents the given text to the suggested level based on the grammar.\n\ntext - The {String} to indent within the selection.\nindentBasis - The beginning indent level. " + } + }, + "383": { + "10": { + "name": "indent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 383, + 10 + ], + [ + 399, + 1 + ] + ], + "doc": " Private: Indent the current line(s).\n\nIf the selection is empty, indents the current line if the cursor precedes\nnon-whitespace characters, and otherwise inserts a tab. If the selection is\nnon empty, calls {::indentSelectedRows}.\n\noptions - A {Object} with the keys:\n :autoIndent - If `true`, the line is indented to an automatically-inferred\n level. Otherwise, {Editor::getTabText} is inserted. " + } + }, + "399": { + "22": { + "name": "indentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 399, + 22 + ], + [ + 405, + 1 + ] + ], + "doc": "Public: If the selection spans multiple rows, indent all of them. " + } + }, + "405": { + "25": { + "name": "setIndentationForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line", + "indentLevel" + ], + "range": [ + [ + 405, + 25 + ], + [ + 412, + 1 + ] + ], + "doc": "Public: ? " + } + }, + "412": { + "13": { + "name": "backspace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 412, + 13 + ], + [ + 417, + 1 + ] + ], + "doc": " Public: Removes the first character before the selection if the selection\nis empty otherwise it deletes the selection. " + } + }, + "417": { + "30": { + "name": "backspaceToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 417, + 30 + ], + [ + 422, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " + } + }, + "422": { + "30": { + "name": "backspaceToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 422, + 30 + ], + [ + 428, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " + } + }, + "428": { + "27": { + "name": "deleteToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 27 + ], + [ + 434, + 1 + ] + ], + "doc": " Public: Removes from the start of the selection to the beginning of the\ncurrent word if the selection is empty otherwise it deletes the selection. " + } + }, + "434": { + "27": { + "name": "deleteToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 434, + 27 + ], + [ + 443, + 1 + ] + ], + "doc": " Public: Removes from the beginning of the line which the selection begins on\nall the way through to the end of the selection. " + } + }, + "443": { + "10": { + "name": "delete", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 443, + 10 + ], + [ + 455, + 1 + ] + ] + } + }, + "455": { + "21": { + "name": "deleteToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 455, + 21 + ], + [ + 462, + 1 + ] + ], + "doc": " Public: If the selection is empty, removes all text from the cursor to the\nend of the line. If the cursor is already at the end of the line, it\nremoves the following newline. If the selection isn't empty, only deletes\nthe contents of the selection. " + } + }, + "462": { + "21": { + "name": "deleteToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 462, + 21 + ], + [ + 467, + 1 + ] + ], + "doc": " Public: Removes the selection or all characters from the start of the\nselection to the end of the current word if nothing is selected. " + } + }, + "467": { + "22": { + "name": "deleteSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 467, + 22 + ], + [ + 477, + 1 + ] + ], + "doc": "Public: Removes only the selected text. " + } + }, + "477": { + "14": { + "name": "deleteLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 477, + 14 + ], + [ + 496, + 1 + ] + ], + "doc": " Public: Removes the line at the beginning of the selection if the selection\nis empty unless the selection spans multiple lines in which case all lines\nare removed. " + } + }, + "496": { + "13": { + "name": "joinLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 496, + 13 + ], + [ + 522, + 1 + ] + ], + "doc": " Public: Joins the current line with the one below it.\n\nIf there selection spans more than one line, all the lines are joined together. " + } + }, + "522": { + "23": { + "name": "outdentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 522, + 23 + ], + [ + 532, + 1 + ] + ], + "doc": "Public: Removes one level of indent from the currently selected rows. " + } + }, + "532": { + "26": { + "name": "autoIndentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 532, + 26 + ], + [ + 542, + 1 + ] + ], + "doc": " Public: Sets the indentation level of all selected rows to values suggested\nby the relevant grammars. " + } + }, + "542": { + "22": { + "name": "toggleLineComments", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 542, + 22 + ], + [ + 546, + 1 + ] + ], + "doc": " Public: Wraps the selected lines in comments if they aren't currently part\nof a comment.\n\nRemoves the comment if they are currently wrapped in a comment.\n\nReturns an Array of the commented {Range}s. " + } + }, + "546": { + "18": { + "name": "cutToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 546, + 18 + ], + [ + 551, + 1 + ] + ], + "doc": "Public: Cuts the selection until the end of the line. " + } + }, + "551": { + "7": { + "name": "cut", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 551, + 7 + ], + [ + 561, + 1 + ] + ], + "doc": "Public: Copies the selection to the clipboard and then deletes it. " + } + }, + "561": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 561, + 8 + ], + [ + 579, + 1 + ] + ], + "doc": " Public: Copies the current selection to the clipboard.\n\nIf the `maintainClipboard` is set to `true`, a specific metadata property\nis created to store each content copied to the clipboard. The clipboard\n`text` still contains the concatenation of the clipboard with the\ncurrent selection. " + } + }, + "579": { + "8": { + "name": "fold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 579, + 8 + ], + [ + 584, + 1 + ] + ], + "doc": "Public: Creates a fold containing the current selection. " + } + }, + "584": { + "19": { + "name": "modifySelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 584, + 19 + ], + [ + 595, + 1 + ] + ], + "doc": "~Private~" + } + }, + "595": { + "13": { + "name": "plantTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 595, + 13 + ], + [ + 603, + 1 + ] + ], + "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " + } + }, + "603": { + "25": { + "name": "intersectsBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 603, + 25 + ], + [ + 606, + 1 + ] + ], + "doc": " Public: Identifies if a selection intersects with a given buffer range.\n\nbufferRange - A {Range} to check against.\n\nReturns a Boolean. " + } + }, + "606": { + "28": { + "name": "intersectsScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 606, + 28 + ], + [ + 609, + 1 + ] + ], + "doc": "~Private~" + } + }, + "609": { + "23": { + "name": "intersectsScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 609, + 23 + ], + [ + 617, + 1 + ] + ], + "doc": "~Private~" + } + }, + "617": { + "18": { + "name": "intersectsWith", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection" + ], + "range": [ + [ + 617, + 18 + ], + [ + 625, + 1 + ] + ], + "doc": " Public: Identifies if a selection intersects with another selection.\n\notherSelection - A {Selection} to check against.\n\nReturns a Boolean. " + } + }, + "625": { + "9": { + "name": "merge", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection", + "options" + ], + "range": [ + [ + 625, + 9 + ], + [ + 641, + 1 + ] + ], + "doc": " Public: Combines the given selection into this selection and then destroys\nthe given selection.\n\notherSelection - A {Selection} to merge with.\noptions - A hash of options matching those found in {::setBufferRange}. " + } + }, + "641": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection" + ], + "range": [ + [ + 641, + 11 + ], + [ + 644, + 1 + ] + ], + "doc": " Public: Compare this selection's buffer range to another selection's buffer\nrange.\n\nSee {Range::compare} for more details.\n\notherSelection - A {Selection} to compare against. " + } + }, + "644": { + "22": { + "name": "screenRangeChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 644, + 22 + ], + [ + 647, + 45 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 6 + }, + "src/space-pen-extensions.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "11": { + "name": "spacePen", + "type": "import", + "range": [ + [ + 1, + 11 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "space-pen@3.2.0" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "6": { + "9": { + "name": "spacePen", + "type": "primitive", + "range": [ + [ + 6, + 9 + ], + [ + 6, + 16 + ] + ] + } + }, + "7": { + "20": { + "name": "jQuery", + "type": "primitive", + "range": [ + [ + 7, + 20 + ], + [ + 7, + 25 + ] + ] + } + }, + "8": { + "19": { + "name": "jQuery.cleanData", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "elements" + ], + "range": [ + [ + 8, + 19 + ], + [ + 11, + 0 + ] + ], + "doc": null + } + }, + "13": { + "2": { + "type": "primitive", + "range": [ + [ + 13, + 2 + ], + [ + 19, + 19 + ] + ] + } + }, + "14": { + "4": { + "type": "primitive", + "range": [ + [ + 14, + 4 + ], + [ + 15, + 12 + ] + ] + }, + "10": { + "name": "1000", + "type": "primitive", + "range": [ + [ + 14, + 10 + ], + [ + 14, + 13 + ] + ] + } + }, + "15": { + "10": { + "name": "100", + "type": "primitive", + "range": [ + [ + 15, + 10 + ], + [ + 15, + 12 + ] + ] + } + }, + "16": { + "13": { + "name": "'body'", + "type": "primitive", + "range": [ + [ + 16, + 13 + ], + [ + 16, + 18 + ] + ] + } + }, + "17": { + "8": { + "type": "primitive", + "range": [ + [ + 17, + 8 + ], + [ + 17, + 11 + ] + ] + } + }, + "18": { + "13": { + "name": "'auto top'", + "type": "primitive", + "range": [ + [ + 18, + 13 + ], + [ + 18, + 22 + ] + ] + } + }, + "19": { + "19": { + "name": "2", + "type": "primitive", + "range": [ + [ + 19, + 19 + ], + [ + 19, + 19 + ] + ] + } + }, + "21": { + "21": { + "name": "humanizeKeystrokes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "keystroke" + ], + "range": [ + [ + 21, + 21 + ], + [ + 25, + 0 + ] + ], + "doc": "~Private~" + } + }, + "26": { + "15": { + "name": "getKeystroke", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bindings" + ], + "range": [ + [ + 26, + 15 + ], + [ + 31, + 0 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "26": { + "name": "requireBootstrapTooltip", + "type": "function", + "range": [ + [ + 32, + 26 + ], + [ + 35, + 59 + ] + ] + } + }, + "36": { + "23": { + "name": "jQuery.fn.setTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "tooltipOptions", + null + ], + "range": [ + [ + 36, + 23 + ], + [ + 49, + 0 + ] + ], + "doc": null + } + }, + "50": { + "24": { + "name": "jQuery.fn.hideTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 24 + ], + [ + 55, + 0 + ] + ], + "doc": null + } + }, + "56": { + "27": { + "name": "jQuery.fn.destroyTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 27 + ], + [ + 61, + 38 + ] + ], + "doc": null + } + }, + "68": { + "36": { + "name": "getKeystroke", + "type": "primitive", + "range": [ + [ + 68, + 36 + ], + [ + 68, + 47 + ] + ] + } + }, + "69": { + "42": { + "name": "humanizeKeystrokes", + "type": "primitive", + "range": [ + [ + 69, + 42 + ], + [ + 69, + 59 + ] + ] + } + }, + "71": { + "49": { + "name": "get", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 71, + 49 + ], + [ + 71, + 55 + ] + ], + "doc": null + } + } + }, + "exports": 73 + }, + "src/subscriber-mixin.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "1": { + "18": { + "type": "primitive", + "range": [ + [ + 1, + 18 + ], + [ + 1, + 55 + ] + ] + }, + "39": { + "name": "componentDidUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 1, + 39 + ], + [ + 1, + 55 + ] + ], + "doc": null + } + } + }, + "exports": 3 + }, + "src/syntax.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 11 + ] + ], + "bindingType": "variable", + "module": "clear-cut@0.4.0", + "name": "specificity", + "exportsProperty": "specificity" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 15 + ] + ], + "bindingType": "variable", + "module": "first-mate@^2.0.1", + "name": "GrammarRegistry", + "exportsProperty": "GrammarRegistry" + }, + "18": { + "type": "import", + "range": [ + [ + 4, + 18 + ], + [ + 4, + 30 + ] + ], + "bindingType": "variable", + "module": "first-mate@^2.0.1", + "name": "ScopeSelector", + "exportsProperty": "ScopeSelector" + } + }, + "5": { + "22": { + "name": "ScopedPropertyStore", + "type": "import", + "range": [ + [ + 5, + 22 + ], + [ + 5, + 52 + ] + ], + "bindingType": "variable", + "module": "scoped-property-store@^0.9.0" + } + }, + "6": { + "20": { + "name": "PropertyAccessors", + "type": "import", + "range": [ + [ + 6, + 20 + ], + [ + 6, + 47 + ] + ], + "bindingType": "variable", + "module": "property-accessors@^1" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 8, + 4 + ], + [ + 8, + 5 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + } + }, + "9": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 9, + 8 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "18": { + "0": { + "type": "class", + "name": "Syntax", + "bindingType": "exports", + "classProperties": [ + [ + 23, + 16 + ] + ], + "prototypeProperties": [ + [ + 28, + 15 + ], + [ + 32, + 13 + ], + [ + 35, + 15 + ], + [ + 42, + 17 + ], + [ + 49, + 20 + ], + [ + 52, + 19 + ], + [ + 67, + 15 + ], + [ + 75, + 22 + ], + [ + 84, + 32 + ] + ], + "doc": " Public: Syntax class holding the grammars used for tokenizing.\n\nAn instance of this class is always available as the `atom.syntax` global.\n\nThe Syntax class also contains properties for things such as the\nlanguage-specific comment regexes. ", + "range": [ + [ + 18, + 0 + ], + [ + 85, + 52 + ] + ] + } + }, + "23": { + "16": { + "name": "deserialize", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 23, + 16 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 15 + ], + [ + 32, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "13": { + "name": "serialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 32, + 13 + ], + [ + 35, + 1 + ] + ], + "doc": "~Private~" + } + }, + "35": { + "15": { + "name": "createToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "scopes" + ], + "range": [ + [ + 35, + 15 + ], + [ + 35, + 59 + ] + ], + "doc": "~Private~" + } + }, + "42": { + "17": { + "name": "addProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 42, + 17 + ], + [ + 49, + 1 + ] + ], + "doc": "~Private~" + } + }, + "49": { + "20": { + "name": "removeProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 49, + 20 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "19": { + "name": "clearProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 19 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "15": { + "name": "getProperty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scope", + "keyPath" + ], + "range": [ + [ + 67, + 15 + ], + [ + 75, + 1 + ] + ], + "doc": " Public: Get a property for the given scope and key path.\n\n## Example\n```coffee\ncomment = atom.syntax.getProperty(['.source.ruby'], 'editor.commentStart')\nconsole.log(comment) # '# '\n```\n\nscope - An {Array} of {String} scopes.\nkeyPath - A {String} key path.\n\nReturns a {String} property value or undefined. " + } + }, + "75": { + "22": { + "name": "propertiesForScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scope", + "keyPath" + ], + "range": [ + [ + 75, + 22 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "32": { + "name": "cssSelectorFromScopeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeSelector" + ], + "range": [ + [ + 84, + 32 + ], + [ + 85, + 52 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 18 + }, + "src/task-bootstrap.coffee": { + "objects": { + "0": { + "1": { + "type": "primitive", + "name": "userAgent", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "exportsProperty": "userAgent" + }, + "12": { + "type": "primitive", + "name": "taskPath", + "range": [ + [ + 0, + 12 + ], + [ + 0, + 19 + ] + ], + "exportsProperty": "taskPath" + } + }, + "3": { + "15": { + "name": "setupGlobals", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 3, + 15 + ], + [ + 28, + 0 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "15": { + "name": "handleEvents", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 15 + ], + [ + 42, + 0 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "10": { + "name": "handler", + "type": "import", + "range": [ + [ + 45, + 10 + ], + [ + 45, + 26 + ] + ], + "bindingType": "variable", + "module": "askPat" + } + } + }, + "exports": {} + }, + "src/task.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "16": { + "name": "child_process", + "type": "import", + "range": [ + [ + 1, + 16 + ], + [ + 1, + 38 + ] + ], + "bindingType": "variable", + "module": "child_process", + "builtin": true + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "21": { + "0": { + "type": "class", + "name": "Task", + "bindingType": "exports", + "classProperties": [ + [ + 29, + 9 + ] + ], + "prototypeProperties": [ + [ + 41, + 12 + ], + [ + 47, + 15 + ], + [ + 73, + 16 + ], + [ + 82, + 9 + ], + [ + 95, + 8 + ], + [ + 102, + 13 + ] + ], + "doc": " Public: Run a node script in a separate process.\n\nUsed by the fuzzy-finder.\n\n## Events\n\n* task:log - Emitted when console.log is called within the task.\n* task:warn - Emitted when console.warn is called within the task.\n* task:error - Emitted when console.error is called within the task.\n* task:completed - Emitted when the task has succeeded or failed.\n\n## Requiring in packages\n\n```coffee\n {Task} = require 'atom'\n``` ", + "range": [ + [ + 21, + 0 + ], + [ + 109, + 10 + ] + ] + } + }, + "29": { + "9": { + "name": "once", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "taskPath", + "args" + ], + "range": [ + [ + 29, + 9 + ], + [ + 41, + 1 + ] + ], + "doc": " Public: A helper method to easily launch and run a task once.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file which\n exports a single {Function} to execute.\nargs - The arguments to pass to the exported function. " + } + }, + "41": { + "12": { + "name": "callback", + "type": "primitive", + "range": [ + [ + 41, + 12 + ], + [ + 41, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "47": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "taskPath" + ], + "range": [ + [ + 47, + 15 + ], + [ + 73, + 1 + ] + ], + "doc": " Public: Creates a task.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file that\n exports a single {Function} to execute. " + } + }, + "73": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 16 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Routes messages from the child to the appropriate event. " + } + }, + "82": { + "9": { + "name": "start", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args", + "callback" + ], + "range": [ + [ + 82, + 9 + ], + [ + 95, + 1 + ] + ], + "doc": " Public: Starts the task.\n\nargs - The arguments to pass to the function exported by this task's script.\ncallback - An optional {Function} to call when the task completes. " + } + }, + "95": { + "8": { + "name": "send", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 95, + 8 + ], + [ + 102, + 1 + ] + ], + "doc": " Public: Send message to the task.\n\nmessage - The message to send to the task. " + } + }, + "102": { + "13": { + "name": "terminate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 13 + ], + [ + 109, + 10 + ] + ], + "doc": " Public: Forcefully stop the running task.\n\nNo events are emitted. " + } + } + }, + "exports": 21 + }, + "src/text-utils.coffee": { + "objects": { + "0": { + "18": { + "name": "isHighSurrogate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 0, + 18 + ], + [ + 2, + 0 + ] + ], + "doc": "~Private~" + } + }, + "3": { + "17": { + "name": "isLowSurrogate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 3, + 17 + ], + [ + 11, + 21 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "18": { + "name": "isSurrogatePair", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 12, + 18 + ], + [ + 22, + 21 + ] + ], + "doc": " Private: Is the character at the given index the start of a high/low surrogate pair?\n\nstring - The {String} to check for a surrogate pair.\nindex - The {Number} index to look for a surrogate pair at.\n\nReturn a {Boolean}. " + } + }, + "23": { + "20": { + "name": "getCharacterCount", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 23, + 20 + ], + [ + 32, + 22 + ] + ], + "doc": " Private: Get the number of characters in the string accounting for surrogate pairs.\n\nThis method counts high/low surrogate pairs as a single character and will\nalways returns a value less than or equal to `string.length`.\n\nstring - The {String} to count the number of full characters in.\n\nReturns a {Number}. " + } + }, + "33": { + "19": { + "name": "hasSurrogatePair", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 33, + 19 + ], + [ + 35, + 0 + ] + ], + "doc": " Private: Does the given string contain at least one surrogate pair?\n\nstring - The {String} to check for the presence of surrogate pairs.\n\nReturns a {Boolean}. " + } + } + }, + "exports": 36 + }, + "src/theme-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q@^1.0.1" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "8": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "9": { + "1": { + "type": "import", + "range": [ + [ + 9, + 1 + ], + [ + 9, + 4 + ] + ], + "bindingType": "variable", + "module": "pathwatcher@^2.0.6", + "name": "File", + "exportsProperty": "File" + } + }, + "15": { + "0": { + "type": "class", + "name": "ThemeManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 18, + 15 + ], + [ + 22, + 21 + ], + [ + 27, + 18 + ], + [ + 31, + 18 + ], + [ + 35, + 19 + ], + [ + 39, + 19 + ], + [ + 42, + 20 + ], + [ + 47, + 24 + ], + [ + 57, + 18 + ], + [ + 82, + 20 + ], + [ + 87, + 20 + ], + [ + 93, + 20 + ], + [ + 96, + 18 + ], + [ + 109, + 25 + ], + [ + 116, + 25 + ], + [ + 121, + 22 + ], + [ + 133, + 23 + ], + [ + 137, + 25 + ], + [ + 142, + 26 + ], + [ + 145, + 21 + ], + [ + 160, + 21 + ], + [ + 169, + 18 + ], + [ + 175, + 22 + ], + [ + 197, + 14 + ], + [ + 200, + 20 + ], + [ + 209, + 19 + ] + ], + "doc": " Public: Handles loading and activating available themes.\n\nAn instance of this class is always available as the `atom.themes` global. ", + "range": [ + [ + 15, + 0 + ], + [ + 222, + 31 + ] + ] + } + }, + "18": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 18, + 15 + ], + [ + 22, + 1 + ] + ], + "doc": "~Private~" + } + }, + "22": { + "21": { + "name": "getAvailableNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 22, + 21 + ], + [ + 27, + 1 + ] + ], + "doc": "~Private~" + } + }, + "27": { + "18": { + "name": "getLoadedNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 18 + ], + [ + 31, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded theme names. " + } + }, + "31": { + "18": { + "name": "getActiveNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 31, + 18 + ], + [ + 35, + 1 + ] + ], + "doc": "Public: Get an array of all the active theme names. " + } + }, + "35": { + "19": { + "name": "getActiveThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 35, + 19 + ], + [ + 39, + 1 + ] + ], + "doc": "Public: Get an array of all the active themes. " + } + }, + "39": { + "19": { + "name": "getLoadedThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 39, + 19 + ], + [ + 42, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded themes. " + } + }, + "42": { + "20": { + "name": "activatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "themePackages" + ], + "range": [ + [ + 42, + 20 + ], + [ + 42, + 55 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "24": { + "name": "getEnabledThemeNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 47, + 24 + ], + [ + 57, + 1 + ] + ], + "doc": " Private: Get the enabled theme names from the config.\n\nReturns an array of theme names in the order that they should be activated. " + } + }, + "57": { + "18": { + "name": "activateThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 18 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "20": { + "name": "deactivateThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 20 + ], + [ + 87, + 1 + ] + ], + "doc": "~Private~" + } + }, + "87": { + "20": { + "name": "refreshLessCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 87, + 20 + ], + [ + 93, + 1 + ] + ], + "doc": "~Private~" + } + }, + "93": { + "20": { + "name": "setEnabledThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "enabledThemeNames" + ], + "range": [ + [ + 93, + 20 + ], + [ + 96, + 1 + ] + ], + "doc": " Public: Set the list of enabled themes.\n\nenabledThemeNames - An {Array} of {String} theme names. " + } + }, + "96": { + "18": { + "name": "getImportPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 18 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "25": { + "name": "getUserStylesheetPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 25 + ], + [ + 116, + 1 + ] + ], + "doc": "Public: Returns the {String} path to the user's stylesheet under ~/.atom " + } + }, + "116": { + "25": { + "name": "unwatchUserStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 25 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "22": { + "name": "loadUserStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 121, + 22 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "23": { + "name": "loadBaseStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 23 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "25": { + "name": "reloadBaseStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 25 + ], + [ + 142, + 1 + ] + ], + "doc": "~Private~" + } + }, + "142": { + "26": { + "name": "stylesheetElementForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id", + "htmlElement" + ], + "range": [ + [ + 142, + 26 + ], + [ + 145, + 1 + ] + ], + "doc": "~Private~" + } + }, + "145": { + "21": { + "name": "resolveStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 145, + 21 + ], + [ + 160, + 1 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "21": { + "name": "requireStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "type", + "htmlElement" + ], + "range": [ + [ + 160, + 21 + ], + [ + 169, + 1 + ] + ], + "doc": " Public: Resolve and apply the stylesheet specified by the path.\n\nThis supports both CSS and LESS stylsheets.\n\nstylesheetPath - A {String} path to the stylesheet that can be an absolute\n path or a relative path that will be resolved against the\n load path.\n\nReturns the absolute path to the required stylesheet. " + } + }, + "169": { + "18": { + "name": "loadStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "importFallbackVariables" + ], + "range": [ + [ + 169, + 18 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "22": { + "name": "loadLessStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lessStylesheetPath", + "importFallbackVariables" + ], + "range": [ + [ + 175, + 22 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "14": { + "name": "stringToId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 197, + 14 + ], + [ + 200, + 1 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "20": { + "name": "removeStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 200, + 20 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "19": { + "name": "applyStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "text", + "type", + "htmlElement" + ], + "range": [ + [ + 209, + 19 + ], + [ + 222, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 15 + }, + "src/theme-package.coffee": { + "objects": { + "0": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 14 + ] + ], + "bindingType": "variable", + "module": "q@^1.0.1" + } + }, + "1": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 1, + 10 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "4": { + "0": { + "type": "class", + "name": "ThemePackage", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 5, + 11 + ], + [ + 7, + 21 + ], + [ + 9, + 10 + ], + [ + 12, + 11 + ], + [ + 15, + 8 + ], + [ + 23, + 12 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 31, + 31 + ] + ] + } + }, + "5": { + "11": { + "name": "getType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 11 + ], + [ + 5, + 20 + ] + ] + } + }, + "7": { + "21": { + "name": "getStylesheetType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 7, + 21 + ], + [ + 7, + 30 + ] + ], + "doc": "~Private~" + } + }, + "9": { + "10": { + "name": "enable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 10 + ], + [ + 12, + 1 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "11": { + "name": "disable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 12, + 11 + ], + [ + 15, + 1 + ] + ], + "doc": "~Private~" + } + }, + "15": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 15, + 8 + ], + [ + 23, + 1 + ] + ], + "doc": "~Private~" + } + }, + "23": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 23, + 12 + ], + [ + 31, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/token.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "12": { + "name": "textUtils", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 33 + ] + ], + "bindingType": "variable", + "path": "./text-utils" + } + }, + "3": { + "31": { + "type": "primitive", + "range": [ + [ + 3, + 31 + ], + [ + 3, + 32 + ] + ] + } + }, + "4": { + "20": { + "name": "/^[ ]+/", + "type": "primitive", + "range": [ + [ + 4, + 20 + ], + [ + 4, + 26 + ] + ] + } + }, + "5": { + "21": { + "name": "/[ ]+$/", + "type": "primitive", + "range": [ + [ + 5, + 21 + ], + [ + 5, + 27 + ] + ] + } + }, + "6": { + "14": { + "name": "/[&\"'<>]/g", + "type": "primitive", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 23 + ] + ] + } + }, + "7": { + "17": { + "name": "/./g", + "type": "primitive", + "range": [ + [ + 7, + 17 + ], + [ + 7, + 20 + ] + ] + } + }, + "8": { + "22": { + "name": "/^./", + "type": "primitive", + "range": [ + [ + 8, + 22 + ], + [ + 8, + 25 + ] + ] + } + }, + "9": { + "16": { + "name": "/^\\.?/", + "type": "primitive", + "range": [ + [ + 9, + 16 + ], + [ + 9, + 21 + ] + ] + } + }, + "10": { + "18": { + "name": "/\\S/", + "type": "primitive", + "range": [ + [ + 10, + 18 + ], + [ + 10, + 21 + ] + ] + } + }, + "12": { + "17": { + "name": "20000", + "type": "primitive", + "range": [ + [ + 12, + 17 + ], + [ + 12, + 21 + ] + ] + } + }, + "16": { + "0": { + "type": "class", + "name": "Token", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 9 + ], + [ + 18, + 20 + ], + [ + 19, + 10 + ], + [ + 20, + 12 + ], + [ + 21, + 13 + ], + [ + 22, + 24 + ], + [ + 23, + 25 + ], + [ + 25, + 15 + ], + [ + 30, + 11 + ], + [ + 33, + 13 + ], + [ + 36, + 11 + ], + [ + 41, + 31 + ], + [ + 44, + 24 + ], + [ + 86, + 26 + ], + [ + 106, + 27 + ], + [ + 113, + 21 + ], + [ + 116, + 21 + ], + [ + 119, + 17 + ], + [ + 129, + 20 + ], + [ + 132, + 24 + ], + [ + 138, + 18 + ], + [ + 185, + 16 + ], + [ + 194, + 23 + ] + ], + "doc": "Private: Represents a single unit of text as selected by a grammar. ", + "range": [ + [ + 16, + 0 + ], + [ + 201, + 16 + ] + ] + } + }, + "17": { + "9": { + "name": "value", + "type": "primitive", + "range": [ + [ + 17, + 9 + ], + [ + 17, + 12 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "20": { + "name": "hasSurrogatePair", + "type": "primitive", + "range": [ + [ + 18, + 20 + ], + [ + 18, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "10": { + "name": "scopes", + "type": "primitive", + "range": [ + [ + 19, + 10 + ], + [ + 19, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "20": { + "12": { + "name": "isAtomic", + "type": "primitive", + "range": [ + [ + 20, + 12 + ], + [ + 20, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "13": { + "name": "isHardTab", + "type": "primitive", + "range": [ + [ + 21, + 13 + ], + [ + 21, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "22": { + "24": { + "name": "hasLeadingWhitespace", + "type": "primitive", + "range": [ + [ + 22, + 24 + ], + [ + 22, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "23": { + "25": { + "name": "hasTrailingWhitespace", + "type": "primitive", + "range": [ + [ + 23, + 25 + ], + [ + 23, + 29 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "25": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 25, + 15 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "isEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 30, + 11 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "13": { + "name": "isBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 33, + 13 + ], + [ + 36, + 1 + ] + ], + "doc": "~Private~" + } + }, + "36": { + "11": { + "name": "splitAt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "splitIndex" + ], + "range": [ + [ + 36, + 11 + ], + [ + 41, + 1 + ] + ], + "doc": "~Private~" + } + }, + "41": { + "31": { + "name": "whitespaceRegexForTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 41, + 31 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "24": { + "name": "breakOutAtomicTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "breakOutLeadingSoftTabs", + "startColumn" + ], + "range": [ + [ + 44, + 24 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "26": { + "name": "breakOutSurrogatePairs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 26 + ], + [ + 106, + 1 + ] + ], + "doc": "~Private~" + } + }, + "106": { + "27": { + "name": "buildSurrogatePairToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "index" + ], + "range": [ + [ + 106, + 27 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "21": { + "name": "buildHardTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "column" + ], + "range": [ + [ + 113, + 21 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "21": { + "name": "buildSoftTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 116, + 21 + ], + [ + 119, + 1 + ] + ], + "doc": "~Private~" + } + }, + "119": { + "17": { + "name": "buildTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "isHardTab", + "column" + ], + "range": [ + [ + 119, + 17 + ], + [ + 129, + 1 + ] + ], + "doc": "~Private~" + } + }, + "129": { + "20": { + "name": "isOnlyWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 129, + 20 + ], + [ + 132, + 1 + ] + ], + "doc": "~Private~" + } + }, + "132": { + "24": { + "name": "matchesScopeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 132, + 24 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "18": { + "name": "getValueAsHtml", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 138, + 18 + ], + [ + 185, + 1 + ] + ], + "doc": "~Private~" + } + }, + "185": { + "16": { + "name": "escapeString", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "str", + "startIndex", + "endIndex" + ], + "range": [ + [ + 185, + 16 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "23": { + "name": "escapeStringReplace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "match" + ], + "range": [ + [ + 194, + 23 + ], + [ + 201, + 16 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 16 + }, + "src/tokenized-buffer.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Range", + "exportsProperty": "Range" + } + }, + "3": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@^1" + } + }, + "4": { + "16": { + "name": "TokenizedLine", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 41 + ] + ], + "bindingType": "variable", + "path": "./tokenized-line" + } + }, + "5": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "8": { + "0": { + "type": "class", + "name": "TokenizedBuffer", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 11 + ], + [ + 14, + 23 + ], + [ + 15, + 10 + ], + [ + 16, + 18 + ], + [ + 17, + 13 + ], + [ + 18, + 15 + ], + [ + 19, + 11 + ], + [ + 21, + 15 + ], + [ + 48, + 19 + ], + [ + 52, + 21 + ], + [ + 56, + 14 + ], + [ + 64, + 17 + ], + [ + 70, + 23 + ], + [ + 76, + 23 + ], + [ + 82, + 14 + ], + [ + 88, + 16 + ], + [ + 94, + 16 + ], + [ + 96, + 24 + ], + [ + 103, + 21 + ], + [ + 133, + 19 + ], + [ + 136, + 15 + ], + [ + 139, + 17 + ], + [ + 144, + 21 + ], + [ + 153, + 22 + ], + [ + 173, + 48 + ], + [ + 183, + 30 + ], + [ + 200, + 41 + ], + [ + 203, + 39 + ], + [ + 210, + 37 + ], + [ + 220, + 20 + ], + [ + 225, + 22 + ], + [ + 228, + 15 + ], + [ + 231, + 21 + ], + [ + 257, + 22 + ], + [ + 266, + 21 + ], + [ + 269, + 20 + ], + [ + 273, + 33 + ], + [ + 278, + 33 + ], + [ + 299, + 30 + ], + [ + 314, + 39 + ], + [ + 329, + 22 + ], + [ + 344, + 22 + ], + [ + 362, + 14 + ], + [ + 365, + 16 + ], + [ + 368, + 12 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 371, + 40 + ] + ] + } + }, + "13": { + "11": { + "name": "grammar", + "type": "primitive", + "range": [ + [ + 13, + 11 + ], + [ + 13, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "23": { + "name": "currentGrammarScore", + "type": "primitive", + "range": [ + [ + 14, + 23 + ], + [ + 14, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "15": { + "10": { + "name": "buffer", + "type": "primitive", + "range": [ + [ + 15, + 10 + ], + [ + 15, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "18": { + "name": "tokenizedLines", + "type": "primitive", + "range": [ + [ + 16, + 18 + ], + [ + 16, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "17": { + "13": { + "name": "chunkSize", + "type": "primitive", + "range": [ + [ + 17, + 13 + ], + [ + 17, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "15": { + "name": "invalidRows", + "type": "primitive", + "range": [ + [ + 18, + 15 + ], + [ + 18, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 19, + 11 + ], + [ + 19, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 21, + 15 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 19 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 52, + 21 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar", + "score" + ], + "range": [ + [ + 56, + 14 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 17 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "23": { + "name": "hasTokenForSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 70, + 23 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "23": { + "name": "resetTokenizedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 23 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 82, + 14 + ], + [ + 88, + 1 + ] + ], + "doc": "~Private~" + } + }, + "88": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 16 + ], + [ + 94, + 1 + ] + ], + "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " + } + }, + "94": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 94, + 16 + ], + [ + 94, + 30 + ] + ], + "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " + } + }, + "96": { + "24": { + "name": "tokenizeInBackground", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 24 + ], + [ + 103, + 1 + ] + ], + "doc": "~Private~" + } + }, + "103": { + "21": { + "name": "tokenizeNextChunk", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 103, + 21 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "19": { + "name": "firstInvalidRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 19 + ], + [ + 136, + 1 + ] + ], + "doc": "~Private~" + } + }, + "136": { + "15": { + "name": "validateRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 136, + 15 + ], + [ + 139, + 1 + ] + ], + "doc": "~Private~" + } + }, + "139": { + "17": { + "name": "invalidateRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 139, + 17 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "21": { + "name": "updateInvalidRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end", + "delta" + ], + "range": [ + [ + 144, + 21 + ], + [ + 153, + 1 + ] + ], + "doc": "~Private~" + } + }, + "153": { + "22": { + "name": "handleBufferChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 153, + 22 + ], + [ + 173, + 1 + ] + ], + "doc": "~Private~" + } + }, + "173": { + "48": { + "name": "retokenizeWhitespaceRowsIfIndentLevelChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "increment" + ], + "range": [ + [ + 173, + 48 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "30": { + "name": "buildTokenizedLinesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow", + "startingStack" + ], + "range": [ + [ + 183, + 30 + ], + [ + 200, + 1 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "41": { + "name": "buildPlaceholderTokenizedLinesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 200, + 41 + ], + [ + 203, + 1 + ] + ], + "doc": "~Private~" + } + }, + "203": { + "39": { + "name": "buildPlaceholderTokenizedLineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 203, + 39 + ], + [ + 210, + 1 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "37": { + "name": "buildTokenizedTokenizedLineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "ruleStack" + ], + "range": [ + [ + 210, + 37 + ], + [ + 220, + 1 + ] + ], + "doc": "~Private~" + } + }, + "220": { + "20": { + "name": "lineForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 220, + 20 + ], + [ + 225, + 1 + ] + ], + "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " + } + }, + "225": { + "22": { + "name": "linesForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 225, + 22 + ], + [ + 228, + 1 + ] + ], + "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " + } + }, + "228": { + "15": { + "name": "stackForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 228, + 15 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "21": { + "name": "indentLevelForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 231, + 21 + ], + [ + 257, + 1 + ] + ], + "doc": "~Private~" + } + }, + "257": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 257, + 22 + ], + [ + 266, + 1 + ] + ], + "doc": "~Private~" + } + }, + "266": { + "21": { + "name": "scopesForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 266, + 21 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "20": { + "name": "tokenForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 269, + 20 + ], + [ + 273, + 1 + ] + ], + "doc": "~Private~" + } + }, + "273": { + "33": { + "name": "tokenStartPositionForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 273, + 33 + ], + [ + 278, + 1 + ] + ], + "doc": "~Private~" + } + }, + "278": { + "33": { + "name": "bufferRangeForScopeAtPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "position" + ], + "range": [ + [ + 278, + 33 + ], + [ + 299, + 1 + ] + ], + "doc": "~Private~" + } + }, + "299": { + "30": { + "name": "iterateTokensInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "iterator" + ], + "range": [ + [ + 299, + 30 + ], + [ + 314, + 1 + ] + ], + "doc": "~Private~" + } + }, + "314": { + "39": { + "name": "backwardsIterateTokensInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "iterator" + ], + "range": [ + [ + 314, + 39 + ], + [ + 329, + 1 + ] + ], + "doc": "~Private~" + } + }, + "329": { + "22": { + "name": "findOpeningBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferPosition" + ], + "range": [ + [ + 329, + 22 + ], + [ + 344, + 1 + ] + ], + "doc": "~Private~" + } + }, + "344": { + "22": { + "name": "findClosingBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferPosition" + ], + "range": [ + [ + 344, + 22 + ], + [ + 362, + 1 + ] + ], + "doc": "~Private~" + } + }, + "362": { + "14": { + "name": "getLastRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 362, + 14 + ], + [ + 365, + 1 + ] + ], + "doc": " Private: Gets the row number of the last line.\n\nReturns a {Number}. " + } + }, + "365": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 365, + 16 + ], + [ + 368, + 1 + ] + ], + "doc": "~Private~" + } + }, + "368": { + "12": { + "name": "logLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 368, + 12 + ], + [ + 371, + 40 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/tokenized-line.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "2": { + "12": { + "name": "1", + "type": "primitive", + "range": [ + [ + 2, + 12 + ], + [ + 2, + 12 + ] + ] + } + }, + "5": { + "0": { + "type": "class", + "name": "TokenizedLine", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 6, + 15 + ], + [ + 15, + 13 + ], + [ + 20, + 20 + ], + [ + 25, + 8 + ], + [ + 28, + 20 + ], + [ + 47, + 31 + ], + [ + 57, + 31 + ], + [ + 66, + 22 + ], + [ + 72, + 22 + ], + [ + 75, + 14 + ], + [ + 102, + 17 + ], + [ + 105, + 23 + ], + [ + 108, + 28 + ], + [ + 115, + 35 + ], + [ + 123, + 24 + ], + [ + 134, + 42 + ], + [ + 145, + 13 + ], + [ + 154, + 20 + ], + [ + 162, + 16 + ], + [ + 165, + 17 + ], + [ + 168, + 24 + ], + [ + 174, + 16 + ], + [ + 186, + 20 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 199, + 0 + ] + ] + } + }, + "6": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 6, + 15 + ], + [ + 15, + 1 + ] + ] + } + }, + "15": { + "13": { + "name": "buildText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 15, + 13 + ], + [ + 20, + 1 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "20": { + "name": "buildBufferDelta", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 20 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 8 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "20": { + "name": "clipScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "column", + "options" + ], + "range": [ + [ + 28, + 20 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "31": { + "name": "screenColumnForBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn", + "options" + ], + "range": [ + [ + 47, + 31 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "31": { + "name": "bufferColumnForScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenColumn", + "options" + ], + "range": [ + [ + 57, + 31 + ], + [ + 66, + 1 + ] + ], + "doc": "~Private~" + } + }, + "66": { + "22": { + "name": "getMaxScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 66, + 22 + ], + [ + 72, + 1 + ] + ], + "doc": "~Private~" + } + }, + "72": { + "22": { + "name": "getMaxBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 72, + 22 + ], + [ + 75, + 1 + ] + ], + "doc": "~Private~" + } + }, + "75": { + "14": { + "name": "softWrapAt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "column" + ], + "range": [ + [ + 75, + 14 + ], + [ + 102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "102": { + "17": { + "name": "isSoftWrapped", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 17 + ], + [ + 105, + 1 + ] + ], + "doc": "~Private~" + } + }, + "105": { + "23": { + "name": "tokenAtBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 105, + 23 + ], + [ + 108, + 1 + ] + ], + "doc": "~Private~" + } + }, + "108": { + "28": { + "name": "tokenIndexAtBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 108, + 28 + ], + [ + 115, + 1 + ] + ], + "doc": "~Private~" + } + }, + "115": { + "35": { + "name": "tokenStartColumnForBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 115, + 35 + ], + [ + 123, + 1 + ] + ], + "doc": "~Private~" + } + }, + "123": { + "24": { + "name": "breakOutAtomicTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "inputTokens" + ], + "range": [ + [ + 123, + 24 + ], + [ + 134, + 1 + ] + ], + "doc": "~Private~" + } + }, + "134": { + "42": { + "name": "markLeadingAndTrailingWhitespaceTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 134, + 42 + ], + [ + 145, + 1 + ] + ], + "doc": "~Private~" + } + }, + "145": { + "13": { + "name": "isComment", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 145, + 13 + ], + [ + 154, + 1 + ] + ], + "doc": "~Private~" + } + }, + "154": { + "20": { + "name": "isOnlyWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 20 + ], + [ + 162, + 1 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "16": { + "name": "tokenAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 162, + 16 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "17": { + "name": "getTokenCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 17 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "24": { + "name": "bufferColumnForToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetToken" + ], + "range": [ + [ + 168, + 24 + ], + [ + 174, + 1 + ] + ], + "doc": "~Private~" + } + }, + "174": { + "16": { + "name": "getScopeTree", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 174, + 16 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "20": { + "name": "updateScopeStack", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 186, + 20 + ], + [ + 199, + 0 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "0": { + "type": "class", + "name": "Scope", + "classProperties": [], + "prototypeProperties": [ + [ + 201, + 15 + ] + ], + "doc": "~Private~", + "range": [ + [ + 200, + 0 + ], + [ + 202, + 18 + ] + ] + } + }, + "201": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 201, + 15 + ], + [ + 202, + 18 + ] + ] + } + } + }, + "exports": 5 + }, + "src/window-bootstrap.coffee": { + "objects": { + "1": { + "12": { + "name": "startTime", + "type": "function", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 21 + ] + ] + } + }, + "5": { + "7": { + "name": "Atom", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "path": "./atom" + } + }, + "6": { + "14": { + "name": "window.atom", + "type": "function", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 40 + ] + ] + } + } + }, + "exports": {} + }, + "src/window-event-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "2": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "3": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 3, + 8 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "9": { + "0": { + "type": "class", + "name": "WindowEventHandler", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 81, + 27 + ], + [ + 96, + 13 + ], + [ + 100, + 12 + ], + [ + 106, + 25 + ], + [ + 116, + 13 + ], + [ + 137, + 17 + ] + ], + "doc": "Private: Handles low-level events related to the window. ", + "range": [ + [ + 9, + 0 + ], + [ + 156, + 28 + ] + ] + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 12, + 15 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "27": { + "name": "handleNativeKeybindings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 81, + 27 + ], + [ + 96, + 1 + ] + ], + "doc": " Private: Wire commands that should be handled by the native menu\nfor elements with the `.native-key-bindings` class. " + } + }, + "96": { + "13": { + "name": "onKeydown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 96, + 13 + ], + [ + 100, + 1 + ] + ], + "doc": "~Private~" + } + }, + "100": { + "12": { + "name": "openLink", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 100, + 12 + ], + [ + 106, + 1 + ] + ], + "doc": "~Private~" + } + }, + "106": { + "25": { + "name": "eachTabIndexedElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 106, + 25 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "13": { + "name": "focusNext", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 13 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "17": { + "name": "focusPrevious", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 17 + ], + [ + 156, + 28 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 9 + }, + "src/window.coffee": { + "objects": { + "7": { + "17": { + "name": "window.measure", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "description", + "fn" + ], + "range": [ + [ + 7, + 17 + ], + [ + 20, + 51 + ] + ], + "doc": null + } + }, + "21": { + "17": { + "name": "window.profile", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "description", + "fn" + ], + "range": [ + [ + 21, + 17 + ], + [ + 26, + 9 + ] + ], + "doc": null + } + } + }, + "exports": {} + }, + "src/workspace-view.coffee": { + "objects": { + "0": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 14 + ] + ], + "bindingType": "variable", + "module": "q@^1.0.1" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "4": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 4, + 12 + ], + [ + 4, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@^1" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + }, + "12": { + "type": "import", + "range": [ + [ + 5, + 12 + ], + [ + 5, + 33 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "logDeprecationWarnings", + "exportsProperty": "logDeprecationWarnings" + } + }, + "6": { + "17": { + "name": "scrollbarStyle", + "type": "import", + "range": [ + [ + 6, + 17 + ], + [ + 6, + 41 + ] + ], + "bindingType": "variable", + "module": "scrollbar-style@^1.0.2" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 5 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + }, + "8": { + "type": "import", + "range": [ + [ + 7, + 8 + ], + [ + 7, + 11 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "8": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 8, + 5 + ], + [ + 8, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "9": { + "12": { + "name": "Workspace", + "type": "import", + "range": [ + [ + 9, + 12 + ], + [ + 9, + 32 + ] + ], + "bindingType": "variable", + "path": "./workspace" + } + }, + "10": { + "19": { + "name": "CommandInstaller", + "type": "import", + "range": [ + [ + 10, + 19 + ], + [ + 10, + 47 + ] + ], + "bindingType": "variable", + "path": "./command-installer" + } + }, + "11": { + "13": { + "name": "EditorView", + "type": "import", + "range": [ + [ + 11, + 13 + ], + [ + 11, + 35 + ] + ], + "bindingType": "variable", + "path": "./editor-view" + } + }, + "12": { + "11": { + "name": "PaneView", + "type": "import", + "range": [ + [ + 12, + 11 + ], + [ + 12, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-view" + } + }, + "13": { + "17": { + "name": "PaneColumnView", + "type": "import", + "range": [ + [ + 13, + 17 + ], + [ + 13, + 44 + ] + ], + "bindingType": "variable", + "path": "./pane-column-view" + } + }, + "14": { + "14": { + "name": "PaneRowView", + "type": "import", + "range": [ + [ + 14, + 14 + ], + [ + 14, + 38 + ] + ], + "bindingType": "variable", + "path": "./pane-row-view" + } + }, + "15": { + "20": { + "name": "PaneContainerView", + "type": "import", + "range": [ + [ + 15, + 20 + ], + [ + 15, + 50 + ] + ], + "bindingType": "variable", + "path": "./pane-container-view" + } + }, + "16": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 16, + 9 + ], + [ + 16, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "55": { + "0": { + "type": "class", + "name": "WorkspaceView", + "bindingType": "exports", + "classProperties": [ + [ + 63, + 12 + ], + [ + 66, + 4 + ], + [ + 75, + 12 + ] + ], + "prototypeProperties": [ + [ + 81, + 14 + ], + [ + 168, + 12 + ], + [ + 171, + 24 + ], + [ + 191, + 15 + ], + [ + 205, + 15 + ], + [ + 209, + 16 + ], + [ + 213, + 15 + ], + [ + 223, + 12 + ], + [ + 233, + 18 + ], + [ + 238, + 16 + ], + [ + 242, + 15 + ], + [ + 247, + 19 + ], + [ + 252, + 18 + ], + [ + 257, + 17 + ], + [ + 262, + 16 + ], + [ + 267, + 18 + ], + [ + 272, + 17 + ], + [ + 281, + 21 + ], + [ + 287, + 17 + ], + [ + 291, + 25 + ], + [ + 294, + 21 + ], + [ + 297, + 22 + ], + [ + 300, + 22 + ], + [ + 303, + 23 + ], + [ + 306, + 24 + ], + [ + 315, + 16 + ], + [ + 325, + 16 + ], + [ + 336, + 18 + ], + [ + 344, + 16 + ], + [ + 347, + 21 + ], + [ + 350, + 23 + ], + [ + 353, + 23 + ], + [ + 356, + 18 + ], + [ + 368, + 12 + ], + [ + 373, + 12 + ], + [ + 378, + 17 + ], + [ + 383, + 21 + ] + ], + "doc": " Public: The top-level view for the entire window. An instance of this class is\navailable via the `atom.workspaceView` global.\n\nIt is backed by a model object, an instance of {Workspace}, which is available\nvia the `atom.workspace` global or {::getModel}. You should prefer to interact\nwith the model object when possible, but it won't always be possible with the\ncurrent API.\n\n## Adding Perimeter Panels\n\nUse the following methods if possible to attach panels to the perimeter of the\nworkspace rather than manipulating the DOM directly to better insulate you to\nchanges in the workspace markup:\n\n* {::prependToTop}\n* {::appendToTop}\n* {::prependToBottom}\n* {::appendToBottom}\n* {::prependToLeft}\n* {::appendToLeft}\n* {::prependToRight}\n* {::appendToRight}\n\n## Requiring in package specs\n\nIf you need a `WorkspaceView` instance to test your package, require it via\nthe built-in `atom` module.\n\n```coffee\n {WorkspaceView} = require 'atom'\n```\n\nYou can assign it to the `atom.workspaceView` global in the spec or just use\nit as a local, depending on what you're trying to accomplish. Building the\n`WorkspaceView` is currently expensive, so you should try build a {Workspace}\ninstead if possible. ", + "range": [ + [ + 55, + 0 + ], + [ + 385, + 25 + ] + ] + } + }, + "63": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 63, + 12 + ], + [ + 63, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "66": { + "4": { + "name": "configDefaults", + "type": "primitive", + "range": [ + [ + 66, + 4 + ], + [ + 73, + 23 + ] + ], + "bindingType": "classProperty" + } + }, + "75": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 75, + 12 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 81, + 14 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 12 + ], + [ + 168, + 20 + ] + ], + "doc": " Public: Get the underlying model object.\n\nReturns a {Workspace}. " + } + }, + "171": { + "24": { + "name": "installShellCommands", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 24 + ], + [ + 191, + 1 + ] + ], + "doc": "Public: Install the Atom shell commands on the user's system. " + } + }, + "191": { + "15": { + "name": "handleFocus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 191, + 15 + ], + [ + 205, + 1 + ] + ], + "doc": "~Private~" + } + }, + "205": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 205, + 15 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "16": { + "name": "confirmClose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 209, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": "Private: Prompts to save all unsaved items " + } + }, + "213": { + "15": { + "name": "updateTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 15 + ], + [ + 223, + 1 + ] + ], + "doc": "Private: Updates the application's title, based on whichever file is open. " + } + }, + "223": { + "12": { + "name": "setTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "title" + ], + "range": [ + [ + 223, + 12 + ], + [ + 233, + 1 + ] + ], + "doc": "Private: Sets the application's title. " + } + }, + "233": { + "18": { + "name": "getEditorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 233, + 18 + ], + [ + 238, + 1 + ] + ], + "doc": " Private: Get all editor views.\n\nYou should prefer {Workspace::getEditors} unless you absolutely need access\nto the view objects. Also consider using {::eachEditorView}, which will call\na callback for all current and *future* editor views.\n\nReturns an {Array} of {EditorView}s. " + } + }, + "238": { + "16": { + "name": "prependToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 238, + 16 + ], + [ + 242, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the top of the\nworkspace. " + } + }, + "242": { + "15": { + "name": "appendToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 242, + 15 + ], + [ + 247, + 1 + ] + ], + "doc": "Public: Append an element or view to the panels at the top of the workspace. " + } + }, + "247": { + "19": { + "name": "prependToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 247, + 19 + ], + [ + 252, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the bottom of the\nworkspace. " + } + }, + "252": { + "18": { + "name": "appendToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 252, + 18 + ], + [ + 257, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the bottom of the\nworkspace. " + } + }, + "257": { + "17": { + "name": "prependToLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 257, + 17 + ], + [ + 262, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the left of the\nworkspace. " + } + }, + "262": { + "16": { + "name": "appendToLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 262, + 16 + ], + [ + 267, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the left of the\nworkspace. " + } + }, + "267": { + "18": { + "name": "prependToRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 267, + 18 + ], + [ + 272, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the right of the\nworkspace. " + } + }, + "272": { + "17": { + "name": "appendToRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 272, + 17 + ], + [ + 281, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the right of the\nworkspace. " + } + }, + "281": { + "21": { + "name": "getActivePaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 281, + 21 + ], + [ + 287, + 1 + ] + ], + "doc": " Public: Get the active pane view.\n\nPrefer {Workspace::getActivePane} if you don't actually need access to the\nview.\n\nReturns a {PaneView}. " + } + }, + "287": { + "17": { + "name": "getActiveView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 287, + 17 + ], + [ + 291, + 1 + ] + ], + "doc": " Public: Get the view associated with the active pane item.\n\nReturns a view. " + } + }, + "291": { + "25": { + "name": "focusPreviousPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 291, + 25 + ], + [ + 291, + 56 + ] + ], + "doc": "Private: Focus the previous pane by id. " + } + }, + "294": { + "21": { + "name": "focusNextPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 294, + 21 + ], + [ + 294, + 48 + ] + ], + "doc": "Private: Focus the next pane by id. " + } + }, + "297": { + "22": { + "name": "focusPaneViewAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 22 + ], + [ + 297, + 51 + ] + ], + "doc": "Public: Focus the pane directly above the active pane. " + } + }, + "300": { + "22": { + "name": "focusPaneViewBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 300, + 22 + ], + [ + 300, + 51 + ] + ], + "doc": "Public: Focus the pane directly below the active pane. " + } + }, + "303": { + "23": { + "name": "focusPaneViewOnLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 303, + 23 + ], + [ + 303, + 53 + ] + ], + "doc": "Public: Focus the pane directly to the left of the active pane. " + } + }, + "306": { + "24": { + "name": "focusPaneViewOnRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 306, + 24 + ], + [ + 306, + 55 + ] + ], + "doc": "Public: Focus the pane directly to the right of the active pane. " + } + }, + "315": { + "16": { + "name": "eachPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 315, + 16 + ], + [ + 325, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\npane view in the workspace.\n\ncallback - A {Function} with a {PaneView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "325": { + "16": { + "name": "getPaneViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 325, + 16 + ], + [ + 336, + 1 + ] + ], + "doc": " Public: Get all existing pane views.\n\nPrefer {Workspace::getPanes} if you don't need access to the view objects.\nAlso consider using {::eachPaneView} if you want to register a callback for\nall current and *future* pane views.\n\nReturns an Array of all open {PaneView}s. " + } + }, + "336": { + "18": { + "name": "eachEditorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 336, + 18 + ], + [ + 344, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\neditor view in the workspace (only includes {EditorView}s that are pane\nitems).\n\ncallback - A {Function} with an {EditorView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "344": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 344, + 16 + ], + [ + 347, + 1 + ] + ], + "doc": "Private: Called by SpacePen " + } + }, + "347": { + "21": { + "name": "setEditorFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 347, + 21 + ], + [ + 350, + 1 + ] + ], + "doc": "~Private~" + } + }, + "350": { + "23": { + "name": "setEditorFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 350, + 23 + ], + [ + 353, + 1 + ] + ], + "doc": "~Private~" + } + }, + "353": { + "23": { + "name": "setEditorLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 353, + 23 + ], + [ + 356, + 1 + ] + ], + "doc": "~Private~" + } + }, + "356": { + "18": { + "name": "setEditorStyle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "property", + "value" + ], + "range": [ + [ + 356, + 18 + ], + [ + 368, + 1 + ] + ], + "doc": "~Private~" + } + }, + "368": { + "12": { + "name": "eachPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 368, + 12 + ], + [ + 373, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "373": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 373, + 12 + ], + [ + 378, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "378": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 378, + 17 + ], + [ + 383, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "383": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 383, + 21 + ], + [ + 385, + 25 + ] + ], + "doc": "Deprecated: Call {Workspace::getActivePaneItem} instead. " + } + } + }, + "exports": 55 + }, + "src/workspace.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 4 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true, + "name": "join", + "exportsProperty": "join" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Model", + "exportsProperty": "Model" + } + }, + "4": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 4, + 4 + ], + [ + 4, + 14 + ] + ], + "bindingType": "variable", + "module": "q@^1.0.1" + } + }, + "5": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 5, + 15 + ], + [ + 5, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@^1" + } + }, + "6": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 6, + 12 + ], + [ + 6, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@^1" + } + }, + "7": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "8": { + "16": { + "name": "PaneContainer", + "type": "import", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 41 + ] + ], + "bindingType": "variable", + "path": "./pane-container" + } + }, + "9": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 9, + 7 + ], + [ + 9, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "18": { + "0": { + "type": "class", + "name": "Workspace", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 47, + 21 + ], + [ + 55, + 19 + ], + [ + 60, + 37 + ], + [ + 74, + 15 + ], + [ + 84, + 14 + ], + [ + 91, + 14 + ], + [ + 118, + 8 + ], + [ + 135, + 15 + ], + [ + 150, + 12 + ], + [ + 168, + 17 + ], + [ + 193, + 14 + ], + [ + 200, + 18 + ], + [ + 217, + 18 + ], + [ + 221, + 20 + ], + [ + 224, + 14 + ], + [ + 230, + 17 + ], + [ + 236, + 12 + ], + [ + 240, + 11 + ], + [ + 244, + 20 + ], + [ + 248, + 24 + ], + [ + 254, + 14 + ], + [ + 260, + 21 + ], + [ + 269, + 22 + ], + [ + 277, + 24 + ], + [ + 284, + 25 + ], + [ + 288, + 21 + ], + [ + 295, + 19 + ], + [ + 299, + 20 + ], + [ + 303, + 20 + ], + [ + 308, + 17 + ], + [ + 312, + 14 + ], + [ + 317, + 23 + ], + [ + 322, + 13 + ] + ], + "doc": " Public: Represents the state of the user interface for the entire window.\nAn instance of this class is available via the `atom.workspace` global.\n\nInteract with this object to open files, be notified of current and future\neditors, and manipulate panes. To add panels, you'll need to use the\n{WorkspaceView} class for now until we establish APIs at the model layer. ", + "range": [ + [ + 18, + 0 + ], + [ + 323, + 28 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 15 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 47, + 21 + ], + [ + 55, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during deserialization " + } + }, + "55": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 19 + ], + [ + 60, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during serialization. " + } + }, + "60": { + "37": { + "name": "getPackageNamesWithActiveGrammars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 60, + 37 + ], + [ + 74, + 1 + ] + ], + "doc": "~Private~" + } + }, + "74": { + "15": { + "name": "editorAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 74, + 15 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "14": { + "name": "eachEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 84, + 14 + ], + [ + 91, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\n{Editor} in the workspace.\n\ncallback - A {Function} with an {Editor} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "91": { + "14": { + "name": "getEditors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 14 + ], + [ + 118, + 1 + ] + ], + "doc": " Public: Get all current editors in the workspace.\n\nReturns an {Array} of {Editor}s. " + } + }, + "118": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "options" + ], + "range": [ + [ + 118, + 8 + ], + [ + 135, + 1 + ] + ], + "doc": " Public: Open a given a URI in Atom asynchronously.\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :split - Either 'left' or 'right'. If 'left', the item will be opened in\n leftmost pane of the current active pane's row. If 'right', the\n item will be opened in the rightmost pane of the current active\n pane's row.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`.\n :searchAllPanes - A {Boolean}. If `true`, the workspace will attempt to\n activate an existing item for the given URI on any pane.\n If `false`, only the active pane will be searched for\n an existing item for the same URI. Defaults to `false`.\n\nReturns a promise that resolves to the {Editor} for the file URI. " + } + }, + "135": { + "15": { + "name": "openLicense", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 135, + 15 + ], + [ + 150, + 1 + ] + ], + "doc": "Public: Open Atom's license in the active pane. " + } + }, + "150": { + "12": { + "name": "openSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "options" + ], + "range": [ + [ + 150, + 12 + ], + [ + 168, + 1 + ] + ], + "doc": " Private: Synchronously open the given URI in the active pane. **Only use this method\nin specs. Calling this in production code will block the UI thread and\neveryone will be mad at you.**\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`. " + } + }, + "168": { + "17": { + "name": "openUriInPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "pane", + "options" + ], + "range": [ + [ + 168, + 17 + ], + [ + 193, + 1 + ] + ], + "doc": "~Private~" + } + }, + "193": { + "14": { + "name": "reopenItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 193, + 14 + ], + [ + 200, + 1 + ] + ], + "doc": " Public: Asynchronously reopens the last-closed item's URI if it hasn't already been\nreopened.\n\nReturns a promise that is resolved when the item is opened " + } + }, + "200": { + "18": { + "name": "reopenItemSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 200, + 18 + ], + [ + 217, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "217": { + "18": { + "name": "registerOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 217, + 18 + ], + [ + 221, + 1 + ] + ], + "doc": " Public: Register an opener for a uri.\n\nAn {Editor} will be used if no openers return a value.\n\n## Example\n```coffeescript\n atom.project.registerOpener (uri) ->\n if path.extname(uri) is '.toml'\n return new TomlEditor(uri)\n```\n\nopener - A {Function} to be called when a path is being opened. " + } + }, + "221": { + "20": { + "name": "unregisterOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 221, + 20 + ], + [ + 224, + 1 + ] + ], + "doc": "Public: Unregister an opener registered with {::registerOpener}. " + } + }, + "224": { + "14": { + "name": "getOpeners", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 14 + ], + [ + 230, + 1 + ] + ], + "doc": "~Private~" + } + }, + "230": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 230, + 17 + ], + [ + 236, + 1 + ] + ], + "doc": " Public: Get the active {Pane}.\n\nReturns a {Pane}. " + } + }, + "236": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 236, + 12 + ], + [ + 240, + 1 + ] + ], + "doc": " Public: Get all {Pane}s.\n\nReturns an {Array} of {Pane}s. " + } + }, + "240": { + "11": { + "name": "saveAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 240, + 11 + ], + [ + 244, + 1 + ] + ], + "doc": "Public: Save all pane items. " + } + }, + "244": { + "20": { + "name": "activateNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 244, + 20 + ], + [ + 248, + 1 + ] + ], + "doc": "Public: Make the next pane active. " + } + }, + "248": { + "24": { + "name": "activatePreviousPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 248, + 24 + ], + [ + 254, + 1 + ] + ], + "doc": "Public: Make the previous pane active. " + } + }, + "254": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 254, + 14 + ], + [ + 260, + 1 + ] + ], + "doc": " Public: Get the first pane {Pane} with an item for the given URI.\n\nReturns a {Pane} or `undefined` if no pane exists for the given URI. " + } + }, + "260": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 21 + ], + [ + 269, + 1 + ] + ], + "doc": " Public: Get the active {Pane}'s active item.\n\nReturns an pane item {Object}. " + } + }, + "269": { + "22": { + "name": "saveActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 22 + ], + [ + 277, + 1 + ] + ], + "doc": " Public: Save the active pane item.\n\nIf the active pane item currently has a URI according to the item's\n`.getUri` method, calls `.save` on the item. Otherwise\n{::saveActivePaneItemAs} # will be called instead. This method does nothing\nif the active item does not implement a `.save` method. " + } + }, + "277": { + "24": { + "name": "saveActivePaneItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 277, + 24 + ], + [ + 284, + 1 + ] + ], + "doc": " Public: Prompt the user for a path and save the active pane item to it.\n\nOpens a native dialog where the user selects a path on disk, then calls\n`.saveAs` on the item with the selected path. This method does nothing if\nthe active item does not implement a `.saveAs` method. " + } + }, + "284": { + "25": { + "name": "destroyActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 25 + ], + [ + 288, + 1 + ] + ], + "doc": " Public: Destroy (close) the active pane item.\n\nRemoves the active pane item and calls the `.destroy` method on it if one is\ndefined. " + } + }, + "288": { + "21": { + "name": "destroyActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 288, + 21 + ], + [ + 295, + 1 + ] + ], + "doc": "Public: Destroy (close) the active pane. " + } + }, + "295": { + "19": { + "name": "getActiveEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 295, + 19 + ], + [ + 299, + 1 + ] + ], + "doc": " Public: Get the active item if it is an {Editor}.\n\nReturns an {Editor} or `undefined` if the current active item is not an\n{Editor}. " + } + }, + "299": { + "20": { + "name": "increaseFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 299, + 20 + ], + [ + 303, + 1 + ] + ], + "doc": "Public: Increase the editor font size by 1px. " + } + }, + "303": { + "20": { + "name": "decreaseFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 303, + 20 + ], + [ + 308, + 1 + ] + ], + "doc": "Public: Decrease the editor font size by 1px. " + } + }, + "308": { + "17": { + "name": "resetFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 308, + 17 + ], + [ + 312, + 1 + ] + ], + "doc": "Public: Restore to a default editor font size. " + } + }, + "312": { + "14": { + "name": "itemOpened", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 312, + 14 + ], + [ + 317, + 1 + ] + ], + "doc": "Private: Removes the item's uri from the list of potential items to reopen. " + } + }, + "317": { + "23": { + "name": "onPaneItemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 317, + 23 + ], + [ + 322, + 1 + ] + ], + "doc": "Private: Adds the destroyed item's uri to the list of items to reopen. " + } + }, + "322": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 322, + 13 + ], + [ + 323, + 28 + ] + ], + "doc": "Private: Called by Model superclass when destroyed " + } + } + }, + "exports": 18 + } + } + }, + { + "main": "./src/keymap-manager.coffee", + "repository": "https://github.com/atom/atom-keymap.git", + "version": "1.0.2", + "files": { + "src/atom.coffee": { + "objects": { + "0": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 0, + 9 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "1": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "2": { + "5": { + "name": "os", + "type": "import", + "range": [ + [ + 2, + 5 + ], + [ + 2, + 16 + ] + ], + "bindingType": "variable", + "module": "os", + "builtin": true + } + }, + "3": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "4": { + "9": { + "name": "remote", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 24 + ] + ], + "bindingType": "variable", + "module": "remote" + } + }, + "5": { + "9": { + "name": "screen", + "type": "import", + "range": [ + [ + 5, + 9 + ], + [ + 5, + 24 + ] + ], + "bindingType": "variable", + "module": "screen" + } + }, + "6": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 6, + 8 + ], + [ + 6, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "8": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 8, + 4 + ], + [ + 8, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "9": { + "1": { + "type": "import", + "range": [ + [ + 9, + 1 + ], + [ + 9, + 10 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecated", + "exportsProperty": "deprecated" + } + }, + "10": { + "1": { + "type": "import", + "range": [ + [ + 10, + 1 + ], + [ + 10, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "11": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 11, + 5 + ], + [ + 11, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.0.4" + } + }, + "13": { + "1": { + "type": "import", + "range": [ + [ + 13, + 1 + ], + [ + 13, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "14": { + "21": { + "name": "WindowEventHandler", + "type": "import", + "range": [ + [ + 14, + 21 + ], + [ + 14, + 52 + ] + ], + "bindingType": "variable", + "path": "./window-event-handler" + } + }, + "35": { + "0": { + "type": "class", + "name": "Atom", + "bindingType": "exports", + "classProperties": [ + [ + 36, + 12 + ], + [ + 44, + 17 + ], + [ + 48, + 16 + ], + [ + 53, + 14 + ], + [ + 71, + 17 + ], + [ + 89, + 21 + ], + [ + 95, + 22 + ], + [ + 99, + 20 + ], + [ + 109, + 21 + ] + ], + "prototypeProperties": [ + [ + 112, + 31 + ], + [ + 115, + 15 + ], + [ + 123, + 14 + ], + [ + 177, + 31 + ], + [ + 181, + 33 + ], + [ + 184, + 24 + ], + [ + 188, + 20 + ], + [ + 194, + 23 + ], + [ + 211, + 23 + ], + [ + 221, + 21 + ], + [ + 224, + 32 + ], + [ + 229, + 30 + ], + [ + 246, + 27 + ], + [ + 252, + 25 + ], + [ + 259, + 19 + ], + [ + 262, + 22 + ], + [ + 269, + 28 + ], + [ + 281, + 28 + ], + [ + 285, + 27 + ], + [ + 292, + 21 + ], + [ + 320, + 22 + ], + [ + 336, + 14 + ], + [ + 339, + 15 + ], + [ + 353, + 8 + ], + [ + 377, + 11 + ], + [ + 397, + 18 + ], + [ + 400, + 22 + ], + [ + 407, + 16 + ], + [ + 411, + 18 + ], + [ + 415, + 31 + ], + [ + 419, + 10 + ], + [ + 423, + 9 + ], + [ + 428, + 8 + ], + [ + 432, + 8 + ], + [ + 439, + 11 + ], + [ + 446, + 15 + ], + [ + 450, + 10 + ], + [ + 457, + 17 + ], + [ + 464, + 9 + ], + [ + 467, + 8 + ], + [ + 473, + 13 + ], + [ + 477, + 14 + ], + [ + 481, + 20 + ], + [ + 485, + 17 + ], + [ + 490, + 16 + ], + [ + 496, + 14 + ], + [ + 500, + 21 + ], + [ + 506, + 20 + ], + [ + 509, + 12 + ], + [ + 523, + 21 + ], + [ + 526, + 20 + ], + [ + 529, + 22 + ], + [ + 533, + 8 + ], + [ + 537, + 25 + ], + [ + 541, + 25 + ], + [ + 555, + 22 + ] + ], + "doc": " Public: Atom global for dealing with packages, themes, menus, and the window.\n\nAn instance of this class is always available as the `atom` global.\n\n## Useful properties available:\n\n * `atom.clipboard` - A {Clipboard} instance\n * `atom.config` - A {Config} instance\n * `atom.contextMenu` - A {ContextMenuManager} instance\n * `atom.deserializers` - A {DeserializerManager} instance\n * `atom.keymaps` - A {KeymapManager} instance\n * `atom.menu` - A {MenuManager} instance\n * `atom.packages` - A {PackageManager} instance\n * `atom.project` - A {Project} instance\n * `atom.syntax` - A {Syntax} instance\n * `atom.themes` - A {ThemeManager} instance\n * `atom.workspace` - A {Workspace} instance\n * `atom.workspaceView` - A {WorkspaceView} instance ", + "range": [ + [ + 35, + 0 + ], + [ + 567, + 27 + ] + ] + } + }, + "36": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 36, + 12 + ], + [ + 36, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "44": { + "17": { + "name": "loadOrCreate", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 44, + 17 + ], + [ + 48, + 1 + ] + ], + "doc": " Public: Load or create the Atom environment in the given mode.\n\nmode - Pass 'editor' or 'spec' depending on the kind of environment you\n want to build.\n\nReturns an Atom instance, fully initialized " + } + }, + "48": { + "16": { + "name": "deserialize", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 48, + 16 + ], + [ + 53, + 1 + ] + ], + "doc": "Private: Deserializes the Atom environment from a state object " + } + }, + "53": { + "14": { + "name": "loadState", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 53, + 14 + ], + [ + 71, + 1 + ] + ], + "doc": " Private: Loads and returns the serialized state corresponding to this window\nif it exists; otherwise returns undefined. " + } + }, + "71": { + "17": { + "name": "getStatePath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 71, + 17 + ], + [ + 89, + 1 + ] + ], + "doc": " Private: Returns the path where the state for the current window will be\nlocated if it exists. " + } + }, + "89": { + "21": { + "name": "getConfigDirPath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 95, + 1 + ] + ], + "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " + } + }, + "95": { + "22": { + "name": "getStorageDirPath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 95, + 22 + ], + [ + 99, + 1 + ] + ], + "doc": " Private: Get the path to Atom's storage directory.\n\nReturns the absolute path to ~/.atom/storage " + } + }, + "99": { + "20": { + "name": "getLoadSettings", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 99, + 20 + ], + [ + 109, + 1 + ] + ], + "doc": "Private: Returns the load settings hash associated with the current window. " + } + }, + "109": { + "21": { + "name": "getCurrentWindow", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 21 + ], + [ + 112, + 1 + ] + ], + "doc": "~Private~" + } + }, + "112": { + "31": { + "name": "workspaceViewParentSelector", + "type": "primitive", + "range": [ + [ + 112, + 31 + ], + [ + 112, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "115": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 115, + 15 + ], + [ + 123, + 1 + ] + ], + "doc": "Private: Call .loadOrCreate instead " + } + }, + "123": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 123, + 14 + ], + [ + 177, + 1 + ] + ], + "doc": " Public: Sets up the basic services that should be available in all modes\n(both spec and application). Call after this instance has been assigned to\nthe `atom` global. " + } + }, + "177": { + "31": { + "name": "registerRepresentationClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 31 + ], + [ + 181, + 1 + ] + ], + "doc": "Deprecated: Callers should be converted to use atom.deserializers " + } + }, + "181": { + "33": { + "name": "registerRepresentationClasses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 181, + 33 + ], + [ + 184, + 1 + ] + ], + "doc": "Deprecated: Callers should be converted to use atom.deserializers " + } + }, + "184": { + "24": { + "name": "setBodyPlatformClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 184, + 24 + ], + [ + 188, + 1 + ] + ], + "doc": "~Private~" + } + }, + "188": { + "20": { + "name": "getCurrentWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 20 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "23": { + "name": "getWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 194, + 23 + ], + [ + 211, + 1 + ] + ], + "doc": " Public: Get the dimensions of this window.\n\nReturns an object with x, y, width, and height keys. " + } + }, + "211": { + "23": { + "name": "setWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 211, + 23 + ], + [ + 221, + 1 + ] + ], + "doc": " Public: Set the dimensions of the window.\n\nThe window will be centered if either the x or y coordinate is not set\nin the dimensions parameter. If x or y are omitted the window will be\ncentered. If height or width are omitted only the position will be changed.\n\ndimensions - An {Object} with the following keys:\n :x - The new x coordinate.\n :y - The new y coordinate.\n :width - The new width.\n :height - The new height. " + } + }, + "221": { + "21": { + "name": "isValidDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 221, + 21 + ], + [ + 224, + 1 + ] + ], + "doc": " Private: Returns true if the dimensions are useable, false if they should be ignored.\nWork around for https://github.com/atom/atom-shell/issues/473 " + } + }, + "224": { + "32": { + "name": "storeDefaultWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 32 + ], + [ + 229, + 1 + ] + ], + "doc": "~Private~" + } + }, + "229": { + "30": { + "name": "getDefaultWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 229, + 30 + ], + [ + 246, + 1 + ] + ], + "doc": "~Private~" + } + }, + "246": { + "27": { + "name": "restoreWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 246, + 27 + ], + [ + 252, + 1 + ] + ], + "doc": "~Private~" + } + }, + "252": { + "25": { + "name": "storeWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 252, + 25 + ], + [ + 259, + 1 + ] + ], + "doc": "~Private~" + } + }, + "259": { + "19": { + "name": "getLoadSettings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 259, + 19 + ], + [ + 262, + 1 + ] + ], + "doc": "Private: Returns the load settings hash associated with the current window. " + } + }, + "262": { + "22": { + "name": "deserializeProject", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 262, + 22 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "28": { + "name": "deserializeWorkspaceView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 28 + ], + [ + 281, + 1 + ] + ], + "doc": "~Private~" + } + }, + "281": { + "28": { + "name": "deserializePackageStates", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 281, + 28 + ], + [ + 285, + 1 + ] + ], + "doc": "~Private~" + } + }, + "285": { + "27": { + "name": "deserializeEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 285, + 27 + ], + [ + 292, + 1 + ] + ], + "doc": "~Private~" + } + }, + "292": { + "21": { + "name": "startEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 21 + ], + [ + 320, + 1 + ] + ], + "doc": "Private: Call this method when establishing a real application window. " + } + }, + "320": { + "22": { + "name": "unloadEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 320, + 22 + ], + [ + 336, + 1 + ] + ], + "doc": "~Private~" + } + }, + "336": { + "14": { + "name": "loadThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 336, + 14 + ], + [ + 339, + 1 + ] + ], + "doc": "~Private~" + } + }, + "339": { + "15": { + "name": "watchThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 339, + 15 + ], + [ + 353, + 1 + ] + ], + "doc": "~Private~" + } + }, + "353": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 353, + 8 + ], + [ + 377, + 1 + ] + ], + "doc": " Public: Open a new Atom window using the given options.\n\nCalling this method without an options parameter will open a prompt to pick\na file/folder to open in the new window.\n\noptions - An {Object} with the following keys:\n :pathsToOpen - An {Array} of {String} paths to open. " + } + }, + "377": { + "11": { + "name": "confirm", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 377, + 11 + ], + [ + 397, + 1 + ] + ], + "doc": " Public: Open a confirm dialog.\n\n## Example\n\n```coffee\n atom.confirm\n message: 'How you feeling?'\n detailedMessage: 'Be honest.'\n buttons:\n Good: -> window.alert('good to hear')\n Bad: -> window.alert('bummer')\n```\n\noptions - An {Object} with the following keys:\n :message - The {String} message to display.\n :detailedMessage - The {String} detailed message to display.\n :buttons - Either an array of strings or an object where keys are\n button names and the values are callbacks to invoke when\n clicked.\n\nReturns the chosen button index {Number} if the buttons option was an array. " + } + }, + "397": { + "18": { + "name": "showSaveDialog", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 397, + 18 + ], + [ + 400, + 1 + ] + ], + "doc": "~Private~" + } + }, + "400": { + "22": { + "name": "showSaveDialogSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultPath" + ], + "range": [ + [ + 400, + 22 + ], + [ + 407, + 1 + ] + ], + "doc": "~Private~" + } + }, + "407": { + "16": { + "name": "openDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 407, + 16 + ], + [ + 411, + 1 + ] + ], + "doc": "Public: Open the dev tools for the current window. " + } + }, + "411": { + "18": { + "name": "toggleDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 411, + 18 + ], + [ + 415, + 1 + ] + ], + "doc": "Public: Toggle the visibility of the dev tools for the current window. " + } + }, + "415": { + "31": { + "name": "executeJavaScriptInDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "code" + ], + "range": [ + [ + 415, + 31 + ], + [ + 419, + 1 + ] + ], + "doc": "Public: Execute code in dev tools. " + } + }, + "419": { + "10": { + "name": "reload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 419, + 10 + ], + [ + 423, + 1 + ] + ], + "doc": "Public: Reload the current window. " + } + }, + "423": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 423, + 9 + ], + [ + 428, + 1 + ] + ], + "doc": "Public: Focus the current window. " + } + }, + "428": { + "8": { + "name": "show", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 8 + ], + [ + 432, + 1 + ] + ], + "doc": "Public: Show the current window. " + } + }, + "432": { + "8": { + "name": "hide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 432, + 8 + ], + [ + 439, + 1 + ] + ], + "doc": "Public: Hide the current window. " + } + }, + "439": { + "11": { + "name": "setSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width", + "height" + ], + "range": [ + [ + 439, + 11 + ], + [ + 446, + 1 + ] + ], + "doc": " Public: Set the size of current window.\n\nwidth - The {Number} of pixels.\nheight - The {Number} of pixels. " + } + }, + "446": { + "15": { + "name": "setPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "x", + "y" + ], + "range": [ + [ + 446, + 15 + ], + [ + 450, + 1 + ] + ], + "doc": " Public: Set the position of current window.\n\nx - The {Number} of pixels.\ny - The {Number} of pixels. " + } + }, + "450": { + "10": { + "name": "center", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 450, + 10 + ], + [ + 457, + 1 + ] + ], + "doc": "Public: Move current window to the center of the screen. " + } + }, + "457": { + "17": { + "name": "displayWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 457, + 17 + ], + [ + 464, + 1 + ] + ], + "doc": " Private: Schedule the window to be shown and focused on the next tick.\n\nThis is done in a next tick to prevent a white flicker from occurring\nif called synchronously. " + } + }, + "464": { + "9": { + "name": "close", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 464, + 9 + ], + [ + 467, + 1 + ] + ], + "doc": "Public: Close the current window. " + } + }, + "467": { + "8": { + "name": "exit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 467, + 8 + ], + [ + 473, + 1 + ] + ], + "doc": "~Private~" + } + }, + "473": { + "13": { + "name": "inDevMode", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 473, + 13 + ], + [ + 477, + 1 + ] + ], + "doc": "Public: Is the current window in development mode? " + } + }, + "477": { + "14": { + "name": "inSpecMode", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 477, + 14 + ], + [ + 481, + 1 + ] + ], + "doc": "Public: Is the current window running specs? " + } + }, + "481": { + "20": { + "name": "toggleFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 481, + 20 + ], + [ + 485, + 1 + ] + ], + "doc": "Public: Toggle the full screen state of the current window. " + } + }, + "485": { + "17": { + "name": "setFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fullScreen" + ], + "range": [ + [ + 485, + 17 + ], + [ + 490, + 1 + ] + ], + "doc": "Public: Set the full screen state of the current window. " + } + }, + "490": { + "16": { + "name": "isFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 490, + 16 + ], + [ + 496, + 1 + ] + ], + "doc": "Public: Is the current window in full screen mode? " + } + }, + "496": { + "14": { + "name": "getVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 496, + 14 + ], + [ + 500, + 1 + ] + ], + "doc": " Public: Get the version of the Atom application.\n\nReturns the version text {String}. " + } + }, + "500": { + "21": { + "name": "isReleasedVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 500, + 21 + ], + [ + 506, + 1 + ] + ], + "doc": "Public: Determine whether the current version is an official release. " + } + }, + "506": { + "20": { + "name": "getConfigDirPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 506, + 20 + ], + [ + 509, + 1 + ] + ], + "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " + } + }, + "509": { + "12": { + "name": "saveSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 509, + 12 + ], + [ + 523, + 1 + ] + ], + "doc": "~Private~" + } + }, + "523": { + "21": { + "name": "getWindowLoadTime", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 523, + 21 + ], + [ + 526, + 1 + ] + ], + "doc": " Public: Get the time taken to completely load the current window.\n\nThis time include things like loading and activating packages, creating\nDOM elements for the editor, and reading the config.\n\nReturns the number of milliseconds taken to load the window or null\nif the window hasn't finished loading yet. " + } + }, + "526": { + "20": { + "name": "crashMainProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 526, + 20 + ], + [ + 529, + 1 + ] + ], + "doc": "~Private~" + } + }, + "529": { + "22": { + "name": "crashRenderProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 529, + 22 + ], + [ + 533, + 1 + ] + ], + "doc": "~Private~" + } + }, + "533": { + "8": { + "name": "beep", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 533, + 8 + ], + [ + 537, + 1 + ] + ], + "doc": "Public: Visually and audibly trigger a beep. " + } + }, + "537": { + "25": { + "name": "getUserInitScriptPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 537, + 25 + ], + [ + 541, + 1 + ] + ], + "doc": "~Private~" + } + }, + "541": { + "25": { + "name": "requireUserInitScript", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 541, + 25 + ], + [ + 555, + 1 + ] + ] + } + }, + "555": { + "22": { + "name": "requireWithGlobals", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id", + "globals" + ], + "range": [ + [ + 555, + 22 + ], + [ + 567, + 27 + ] + ], + "doc": " Public: Require the module with the given globals.\n\nThe globals will be set on the `window` object and removed after the\nrequire completes.\n\nid - The {String} module name or path.\nglobals - An {Object} to set as globals during require (default: {}) " + } + } + }, + "exports": 35 + }, + "src/browser/application-menu.coffee": { + "objects": { + "0": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "1": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "2": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "10": { + "0": { + "type": "class", + "name": "ApplicationMenu", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 22, + 10 + ], + [ + 35, + 20 + ], + [ + 47, + 23 + ], + [ + 58, + 29 + ], + [ + 63, + 21 + ], + [ + 68, + 22 + ], + [ + 90, + 22 + ], + [ + 102, + 17 + ], + [ + 113, + 21 + ], + [ + 131, + 25 + ] + ], + "doc": " Private: Used to manage the global application menu.\n\nIt's created by {AtomApplication} upon instantiation and used to add, remove\nand maintain the state of all menu items. ", + "range": [ + [ + 10, + 0 + ], + [ + 145, + 18 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 22, + 1 + ] + ] + } + }, + "22": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 22, + 10 + ], + [ + 35, + 1 + ] + ], + "doc": " Public: Updates the entire menu with the given keybindings.\n\ntemplate - The Object which describes the menu to display.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke. " + } + }, + "35": { + "20": { + "name": "flattenMenuItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "menu" + ], + "range": [ + [ + 35, + 20 + ], + [ + 47, + 1 + ] + ], + "doc": " Private: Flattens the given menu and submenu items into an single Array.\n\nmenu - A complete menu configuration object for atom-shell's menu API.\n\nReturns an Array of native menu items. " + } + }, + "47": { + "23": { + "name": "flattenMenuTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 47, + 23 + ], + [ + 58, + 1 + ] + ], + "doc": " Private: Flattens the given menu template into an single Array.\n\ntemplate - An object describing the menu item.\n\nReturns an Array of native menu items. " + } + }, + "58": { + "29": { + "name": "enableWindowSpecificItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "enable" + ], + "range": [ + [ + 58, + 29 + ], + [ + 63, + 1 + ] + ], + "doc": " Public: Used to make all window related menu items are active.\n\nenable - If true enables all window specific items, if false disables all\n window specific items. " + } + }, + "63": { + "21": { + "name": "substituteVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 63, + 21 + ], + [ + 68, + 1 + ] + ], + "doc": "Private: Replaces VERSION with the current version. " + } + }, + "68": { + "22": { + "name": "showUpdateMenuItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 68, + 22 + ], + [ + 90, + 1 + ] + ], + "doc": "Private: Sets the proper visible state the update menu items " + } + }, + "90": { + "22": { + "name": "getDefaultTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 22 + ], + [ + 102, + 1 + ] + ], + "doc": " Private: Default list of menu items.\n\nReturns an Array of menu item Objects. " + } + }, + "102": { + "17": { + "name": "focusedWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 17 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "21": { + "name": "translateTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 113, + 21 + ], + [ + 131, + 1 + ] + ], + "doc": " Private: Combines a menu template with the appropriate keystroke.\n\ntemplate - An Object conforming to atom-shell's menu api but lacking\n accelerator and click properties.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a complete menu configuration object for atom-shell's menu API. " + } + }, + "131": { + "25": { + "name": "acceleratorForCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "keystrokesByCommand" + ], + "range": [ + [ + 131, + 25 + ], + [ + 145, + 18 + ] + ], + "doc": " Private: Determine the accelerator for a given command.\n\ncommand - The name of the command.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a String containing the keystroke in a format that can be interpreted\n by atom shell to provide nice icons where available. " + } + } + }, + "exports": 10 + }, + "src/browser/atom-application.coffee": { + "objects": { + "0": { + "13": { + "name": "AtomWindow", + "type": "import", + "range": [ + [ + 0, + 13 + ], + [ + 0, + 35 + ] + ], + "bindingType": "variable", + "path": "./atom-window" + } + }, + "1": { + "18": { + "name": "ApplicationMenu", + "type": "import", + "range": [ + [ + 1, + 18 + ], + [ + 1, + 45 + ] + ], + "bindingType": "variable", + "path": "./application-menu" + } + }, + "2": { + "22": { + "name": "AtomProtocolHandler", + "type": "import", + "range": [ + [ + 2, + 22 + ], + [ + 2, + 54 + ] + ], + "bindingType": "variable", + "path": "./atom-protocol-handler" + } + }, + "3": { + "20": { + "name": "AutoUpdateManager", + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 50 + ] + ], + "bindingType": "variable", + "path": "./auto-update-manager" + } + }, + "4": { + "16": { + "name": "BrowserWindow", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 39 + ] + ], + "bindingType": "variable", + "module": "browser-window" + } + }, + "5": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "6": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 6, + 6 + ], + [ + 6, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "7": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "8": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 8, + 5 + ], + [ + 8, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "9": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 9, + 6 + ], + [ + 9, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "10": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 10, + 7 + ], + [ + 10, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "11": { + "5": { + "name": "os", + "type": "import", + "range": [ + [ + 11, + 5 + ], + [ + 11, + 16 + ] + ], + "bindingType": "variable", + "module": "os", + "builtin": true + } + }, + "12": { + "6": { + "name": "net", + "type": "import", + "range": [ + [ + 12, + 6 + ], + [ + 12, + 18 + ] + ], + "bindingType": "variable", + "module": "net", + "builtin": true + } + }, + "13": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 13, + 8 + ], + [ + 13, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "14": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 14, + 6 + ], + [ + 14, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "15": { + "1": { + "type": "import", + "range": [ + [ + 15, + 1 + ], + [ + 15, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "16": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 16, + 4 + ], + [ + 16, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "30": { + "0": { + "type": "class", + "name": "AtomApplication", + "bindingType": "exports", + "classProperties": [ + [ + 34, + 9 + ] + ], + "prototypeProperties": [ + [ + 52, + 11 + ], + [ + 53, + 19 + ], + [ + 54, + 23 + ], + [ + 55, + 16 + ], + [ + 56, + 11 + ], + [ + 58, + 8 + ], + [ + 60, + 15 + ], + [ + 83, + 19 + ], + [ + 94, + 16 + ], + [ + 99, + 13 + ], + [ + 110, + 36 + ], + [ + 119, + 20 + ], + [ + 132, + 28 + ], + [ + 136, + 16 + ], + [ + 232, + 15 + ], + [ + 245, + 23 + ], + [ + 254, + 31 + ], + [ + 274, + 19 + ], + [ + 282, + 17 + ], + [ + 287, + 17 + ], + [ + 298, + 13 + ], + [ + 311, + 12 + ], + [ + 337, + 20 + ], + [ + 341, + 24 + ], + [ + 346, + 15 + ], + [ + 364, + 11 + ], + [ + 393, + 12 + ], + [ + 406, + 17 + ], + [ + 415, + 25 + ], + [ + 440, + 17 + ] + ], + "doc": " Private: The application's singleton class.\n\nIt's the entry point into the Atom application and maintains the global state\nof the application.\n\n ", + "range": [ + [ + 30, + 0 + ], + [ + 449, + 50 + ] + ] + } + }, + "34": { + "9": { + "name": "open", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 34, + 9 + ], + [ + 52, + 1 + ] + ], + "doc": "Public: The entry point into the Atom application. " + } + }, + "52": { + "11": { + "name": "windows", + "type": "primitive", + "range": [ + [ + 52, + 11 + ], + [ + 52, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "53": { + "19": { + "name": "applicationMenu", + "type": "primitive", + "range": [ + [ + 53, + 19 + ], + [ + 53, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "54": { + "23": { + "name": "atomProtocolHandler", + "type": "primitive", + "range": [ + [ + 54, + 23 + ], + [ + 54, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "55": { + "16": { + "name": "resourcePath", + "type": "primitive", + "range": [ + [ + 55, + 16 + ], + [ + 55, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "56": { + "11": { + "name": "version", + "type": "primitive", + "range": [ + [ + 56, + 11 + ], + [ + 56, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "58": { + "8": { + "name": "exit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 58, + 8 + ], + [ + 58, + 35 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 60, + 15 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "19": { + "name": "openWithOptions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 83, + 19 + ], + [ + 94, + 1 + ] + ], + "doc": "Private: Opens a new window based on the options provided. " + } + }, + "94": { + "16": { + "name": "removeWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "window" + ], + "range": [ + [ + 94, + 16 + ], + [ + 99, + 1 + ] + ], + "doc": "Public: Removes the {AtomWindow} from the global window list. " + } + }, + "99": { + "13": { + "name": "addWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "window" + ], + "range": [ + [ + 99, + 13 + ], + [ + 110, + 1 + ] + ], + "doc": "Public: Adds the {AtomWindow} to the global window list. " + } + }, + "110": { + "36": { + "name": "listenForArgumentsFromNewProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 36 + ], + [ + 119, + 1 + ] + ], + "doc": " Private: Creates server to listen for additional atom application launches.\n\nYou can run the atom command multiple times, but after the first launch\nthe other launches will just pass their information to this server and then\nclose immediately. " + } + }, + "119": { + "20": { + "name": "deleteSocketFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 119, + 20 + ], + [ + 132, + 1 + ] + ], + "doc": "~Private~" + } + }, + "132": { + "28": { + "name": "setupJavaScriptArguments", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 132, + 28 + ], + [ + 136, + 1 + ] + ], + "doc": "Private: Configures required javascript environment flags. " + } + }, + "136": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 16 + ], + [ + 232, + 1 + ] + ], + "doc": "Private: Registers basic application commands, non-idempotent. " + } + }, + "232": { + "15": { + "name": "sendCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 232, + 15 + ], + [ + 245, + 1 + ] + ], + "doc": " Public: Executes the given command.\n\nIf it isn't handled globally, delegate to the currently focused window.\n\ncommand - The string representing the command.\nargs - The optional arguments to pass along. " + } + }, + "245": { + "23": { + "name": "sendCommandToWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "atomWindow", + "args" + ], + "range": [ + [ + 245, + 23 + ], + [ + 254, + 1 + ] + ], + "doc": " Public: Executes the given command on the given window.\n\ncommand - The string representing the command.\natomWindow - The {AtomWindow} to send the command to.\nargs - The optional arguments to pass along. " + } + }, + "254": { + "31": { + "name": "sendCommandToFirstResponder", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command" + ], + "range": [ + [ + 254, + 31 + ], + [ + 274, + 1 + ] + ], + "doc": " Private: Translates the command into OS X action and sends it to application's first\nresponder. " + } + }, + "274": { + "19": { + "name": "openPathOnEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventName", + "pathToOpen" + ], + "range": [ + [ + 274, + 19 + ], + [ + 282, + 1 + ] + ], + "doc": " Public: Open the given path in the focused window when the event is\ntriggered.\n\nA new window will be created if there is no currently focused window.\n\neventName - The event to listen for.\npathToOpen - The path to open when the event is triggered. " + } + }, + "282": { + "17": { + "name": "windowForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen" + ], + "range": [ + [ + 282, + 17 + ], + [ + 287, + 1 + ] + ], + "doc": "Private: Returns the {AtomWindow} for the given path. " + } + }, + "287": { + "17": { + "name": "focusedWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 287, + 17 + ], + [ + 298, + 1 + ] + ], + "doc": "Public: Returns the currently focused {AtomWindow} or undefined if none. " + } + }, + "298": { + "13": { + "name": "openPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 298, + 13 + ], + [ + 311, + 1 + ] + ], + "doc": " Public: Opens multiple paths, in existing windows if possible.\n\noptions -\n :pathsToOpen - The array of file paths to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " + } + }, + "311": { + "12": { + "name": "openPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 311, + 12 + ], + [ + 337, + 1 + ] + ], + "doc": " Public: Opens a single path, in an existing window if possible.\n\noptions -\n :pathToOpen - The file path to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode.\n :windowDimensions - Object with height and width keys. " + } + }, + "337": { + "20": { + "name": "killAllProcesses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 337, + 20 + ], + [ + 341, + 1 + ] + ], + "doc": "Private: Kill all processes associated with opened windows. " + } + }, + "341": { + "24": { + "name": "killProcessForWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "openedWindow" + ], + "range": [ + [ + 341, + 24 + ], + [ + 346, + 1 + ] + ], + "doc": "Private: Kill process associated with the given opened window. " + } + }, + "346": { + "15": { + "name": "killProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pid" + ], + "range": [ + [ + 346, + 15 + ], + [ + 364, + 1 + ] + ], + "doc": "Private: Kill the process with the given pid. " + } + }, + "364": { + "11": { + "name": "openUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 364, + 11 + ], + [ + 393, + 1 + ] + ], + "doc": " Private: Open an atom:// url.\n\nThe host of the URL being opened is assumed to be the package name\nresponsible for opening the URL. A new window will be created with\nthat package's `urlMain` as the bootstrap script.\n\noptions -\n :urlToOpen - The atom:// url to open.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " + } + }, + "393": { + "12": { + "name": "runSpecs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 393, + 12 + ], + [ + 406, + 1 + ] + ], + "doc": " Private: Opens up a new {AtomWindow} to run specs within.\n\noptions -\n :exitWhenDone - A Boolean that if true, will close the window upon\n completion.\n :resourcePath - The path to include specs from.\n :specPath - The directory to load specs from. " + } + }, + "406": { + "17": { + "name": "runBenchmarks", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 406, + 17 + ], + [ + 415, + 1 + ] + ], + "doc": "~Private~" + } + }, + "415": { + "25": { + "name": "locationForPathToOpen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen" + ], + "range": [ + [ + 415, + 25 + ], + [ + 440, + 1 + ] + ], + "doc": "~Private~" + } + }, + "440": { + "17": { + "name": "promptForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 440, + 17 + ], + [ + 449, + 50 + ] + ], + "doc": " Private: Opens a native dialog to prompt the user for a path.\n\nOnce paths are selected, they're opened in a new or existing {AtomWindow}s.\n\noptions -\n :type - A String which specifies the type of the dialog, could be 'file',\n 'folder' or 'all'. The 'all' is only available on OS X.\n :devMode - A Boolean which controls whether any newly opened windows\n should be in dev mode or not.\n :safeMode - A Boolean which controls whether any newly opened windows\n should be in safe mode or not. " + } + } + }, + "exports": 30 + }, + "src/browser/atom-protocol-handler.coffee": { + "objects": { + "0": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.0.4" + } + }, + "2": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "3": { + "11": { + "name": "protocol", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "protocol" + } + }, + "10": { + "0": { + "type": "class", + "name": "AtomProtocolHandler", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 21, + 24 + ] + ], + "doc": " Private: Handles requests with 'atom' protocol.\n\nIt's created by {AtomApplication} upon instantiation, and is used to create a\ncustom resource loader by adding the 'atom' custom protocol. ", + "range": [ + [ + 10, + 0 + ], + [ + 27, + 50 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 21, + 1 + ] + ] + } + }, + "21": { + "24": { + "name": "registerAtomProtocol", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 24 + ], + [ + 27, + 50 + ] + ], + "doc": "Private: Creates the 'atom' custom protocol handler. " + } + } + }, + "exports": 10 + }, + "src/browser/atom-window.coffee": { + "objects": { + "0": { + "16": { + "name": "BrowserWindow", + "type": "import", + "range": [ + [ + 0, + 16 + ], + [ + 0, + 39 + ] + ], + "bindingType": "variable", + "module": "browser-window" + } + }, + "1": { + "14": { + "name": "ContextMenu", + "type": "import", + "range": [ + [ + 1, + 14 + ], + [ + 1, + 37 + ] + ], + "bindingType": "variable", + "path": "./context-menu" + } + }, + "2": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "3": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 3, + 9 + ], + [ + 3, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "4": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "6": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 6, + 6 + ], + [ + 6, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "7": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "11": { + "0": { + "type": "class", + "name": "AtomWindow", + "bindingType": "exports", + "classProperties": [ + [ + 14, + 13 + ], + [ + 15, + 25 + ] + ], + "prototypeProperties": [ + [ + 17, + 17 + ], + [ + 18, + 10 + ], + [ + 19, + 10 + ], + [ + 21, + 15 + ], + [ + 56, + 10 + ], + [ + 68, + 18 + ], + [ + 71, + 16 + ], + [ + 86, + 16 + ], + [ + 126, + 12 + ], + [ + 133, + 15 + ], + [ + 147, + 30 + ], + [ + 151, + 17 + ], + [ + 156, + 9 + ], + [ + 158, + 9 + ], + [ + 160, + 12 + ], + [ + 162, + 12 + ], + [ + 164, + 11 + ], + [ + 166, + 23 + ], + [ + 169, + 13 + ], + [ + 171, + 20 + ], + [ + 173, + 16 + ], + [ + 175, + 10 + ], + [ + 177, + 18 + ] + ], + "doc": "~Private~", + "range": [ + [ + 11, + 0 + ], + [ + 177, + 52 + ] + ] + } + }, + "14": { + "13": { + "name": "iconPath", + "type": "function", + "range": [ + [ + 14, + 13 + ], + [ + 14, + 72 + ] + ], + "bindingType": "classProperty" + } + }, + "15": { + "25": { + "name": "includeShellLoadTime", + "type": "primitive", + "range": [ + [ + 15, + 25 + ], + [ + 15, + 28 + ] + ], + "bindingType": "classProperty" + } + }, + "17": { + "17": { + "name": "browserWindow", + "type": "primitive", + "range": [ + [ + 17, + 17 + ], + [ + 17, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "10": { + "name": "loaded", + "type": "primitive", + "range": [ + [ + 18, + 10 + ], + [ + 18, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "10": { + "name": "isSpec", + "type": "primitive", + "range": [ + [ + 19, + 10 + ], + [ + 19, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "settings" + ], + "range": [ + [ + 21, + 15 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "10": { + "name": "getUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "loadSettingsObj" + ], + "range": [ + [ + 56, + 10 + ], + [ + 68, + 1 + ] + ], + "doc": "~Private~" + } + }, + "68": { + "18": { + "name": "getInitialPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 18 + ], + [ + 71, + 1 + ] + ], + "doc": "~Private~" + } + }, + "71": { + "16": { + "name": "containsPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToCheck" + ], + "range": [ + [ + 71, + 16 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 16 + ], + [ + 126, + 1 + ] + ], + "doc": "~Private~" + } + }, + "126": { + "12": { + "name": "openPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen", + "initialLine", + "initialColumn" + ], + "range": [ + [ + 126, + 12 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "15": { + "name": "sendCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 133, + 15 + ], + [ + 147, + 1 + ] + ], + "doc": "~Private~" + } + }, + "147": { + "30": { + "name": "sendCommandToBrowserWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 147, + 30 + ], + [ + 151, + 1 + ] + ], + "doc": "~Private~" + } + }, + "151": { + "17": { + "name": "getDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 151, + 17 + ], + [ + 156, + 1 + ] + ], + "doc": "~Private~" + } + }, + "156": { + "9": { + "name": "close", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 156, + 9 + ], + [ + 156, + 33 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 9 + ], + [ + 158, + 33 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "12": { + "name": "minimize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 160, + 12 + ], + [ + 160, + 39 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "12": { + "name": "maximize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 12 + ], + [ + 162, + 39 + ] + ], + "doc": "~Private~" + } + }, + "164": { + "11": { + "name": "restore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 164, + 11 + ], + [ + 164, + 37 + ] + ], + "doc": "~Private~" + } + }, + "166": { + "23": { + "name": "handlesAtomCommands", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 166, + 23 + ], + [ + 169, + 1 + ] + ], + "doc": "~Private~" + } + }, + "169": { + "13": { + "name": "isFocused", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 169, + 13 + ], + [ + 169, + 41 + ] + ], + "doc": "~Private~" + } + }, + "171": { + "20": { + "name": "isWebViewFocused", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 20 + ], + [ + 171, + 55 + ] + ], + "doc": "~Private~" + } + }, + "173": { + "16": { + "name": "isSpecWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 173, + 16 + ], + [ + 173, + 25 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "10": { + "name": "reload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 175, + 10 + ], + [ + 175, + 36 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "18": { + "name": "toggleDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 18 + ], + [ + 177, + 51 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 11 + }, + "src/browser/auto-update-manager.coffee": { + "objects": { + "0": { + "8": { + "name": "https", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 22 + ] + ], + "bindingType": "variable", + "module": "https", + "builtin": true + } + }, + "1": { + "14": { + "name": "autoUpdater", + "type": "import", + "range": [ + [ + 1, + 14 + ], + [ + 1, + 35 + ] + ], + "bindingType": "variable", + "module": "auto-updater" + } + }, + "2": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "6": { + "11": { + "name": "'idle'", + "type": "primitive", + "range": [ + [ + 6, + 11 + ], + [ + 6, + 16 + ] + ] + } + }, + "7": { + "15": { + "name": "'checking'", + "type": "primitive", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 24 + ] + ] + } + }, + "8": { + "18": { + "name": "'downloading'", + "type": "primitive", + "range": [ + [ + 8, + 18 + ], + [ + 8, + 30 + ] + ] + } + }, + "9": { + "23": { + "name": "'update-available'", + "type": "primitive", + "range": [ + [ + 9, + 23 + ], + [ + 9, + 40 + ] + ] + } + }, + "10": { + "26": { + "name": "'no-update-available'", + "type": "primitive", + "range": [ + [ + 10, + 26 + ], + [ + 10, + 46 + ] + ] + } + }, + "11": { + "12": { + "name": "'error'", + "type": "primitive", + "range": [ + [ + 11, + 12 + ], + [ + 11, + 18 + ] + ] + } + }, + "14": { + "0": { + "type": "class", + "name": "AutoUpdateManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 15 + ], + [ + 48, + 23 + ], + [ + 63, + 28 + ], + [ + 68, + 12 + ], + [ + 73, + 12 + ], + [ + 76, + 9 + ], + [ + 83, + 11 + ], + [ + 86, + 24 + ], + [ + 90, + 17 + ], + [ + 94, + 14 + ] + ], + "doc": "~Private~", + "range": [ + [ + 14, + 0 + ], + [ + 95, + 34 + ] + ] + } + }, + "17": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 17, + 15 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "23": { + "name": "checkForUpdatesShim", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 23 + ], + [ + 63, + 1 + ] + ], + "doc": "Private: Windows doesn't have an auto-updater, so use this method to shim the events. " + } + }, + "63": { + "28": { + "name": "emitUpdateAvailableEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "windows" + ], + "range": [ + [ + 63, + 28 + ], + [ + 68, + 1 + ] + ], + "doc": "~Private~" + } + }, + "68": { + "12": { + "name": "setState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 68, + 12 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "12": { + "name": "getState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 12 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "9": { + "name": "check", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 76, + 9 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "11": { + "name": "install", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 83, + 11 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "24": { + "name": "onUpdateNotAvailable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 24 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "17": { + "name": "onUpdateError", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event", + "message" + ], + "range": [ + [ + 90, + 17 + ], + [ + 94, + 1 + ] + ], + "doc": "~Private~" + } + }, + "94": { + "14": { + "name": "getWindows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 14 + ], + [ + 95, + 34 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 14 + }, + "src/browser/context-menu.coffee": { + "objects": { + "0": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "3": { + "0": { + "type": "class", + "name": "ContextMenu", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 4, + 15 + ], + [ + 12, + 23 + ] + ], + "doc": "~Private~", + "range": [ + [ + 3, + 0 + ], + [ + 23, + 10 + ] + ] + } + }, + "4": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + null + ], + "range": [ + [ + 4, + 15 + ], + [ + 12, + 1 + ] + ] + } + }, + "12": { + "23": { + "name": "createClickHandlers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 12, + 23 + ], + [ + 23, + 10 + ] + ], + "doc": " Private: It's necessary to build the event handlers in this process, otherwise\nclosures are drug across processes and failed to be garbage collected\nappropriately. " + } + } + }, + "exports": 3 + }, + "src/browser/main.coffee": { + "objects": { + "0": { + "24": { + "name": "global.shellStartTime", + "type": "function", + "range": [ + [ + 0, + 24 + ], + [ + 0, + 33 + ] + ] + } + }, + "2": { + "16": { + "name": "crashReporter", + "type": "import", + "range": [ + [ + 2, + 16 + ], + [ + 2, + 39 + ] + ], + "bindingType": "variable", + "module": "crash-reporter" + } + }, + "3": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 3, + 6 + ], + [ + 3, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "6": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 6, + 7 + ], + [ + 6, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "7": { + "11": { + "name": "optimist", + "type": "import", + "range": [ + [ + 7, + 11 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "optimist" + } + }, + "8": { + "8": { + "name": "nslog", + "type": "import", + "range": [ + [ + 8, + 8 + ], + [ + 8, + 22 + ] + ], + "bindingType": "variable", + "module": "nslog" + } + }, + "9": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 9, + 9 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "11": { + "14": { + "name": "nslog", + "type": "primitive", + "range": [ + [ + 11, + 14 + ], + [ + 11, + 18 + ] + ] + } + }, + "17": { + "8": { + "name": "start", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 8 + ], + [ + 51, + 0 + ] + ], + "doc": "~Private~" + } + }, + "54": { + "25": { + "name": "global.devResourcePath", + "type": "function", + "range": [ + [ + 54, + 25 + ], + [ + 54, + 62 + ] + ] + } + }, + "56": { + "21": { + "name": "setupCrashReporter", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 21 + ], + [ + 58, + 0 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "19": { + "name": "parseCommandLine", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 19 + ], + [ + 110, + 0 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": {} + }, + "src/buffered-node-process.coffee": { + "objects": { + "0": { + "18": { + "name": "BufferedProcess", + "type": "import", + "range": [ + [ + 0, + 18 + ], + [ + 0, + 45 + ] + ], + "bindingType": "variable", + "path": "./buffered-process" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "14": { + "0": { + "type": "class", + "name": "BufferedNodeProcess", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 36, + 15 + ] + ], + "doc": " Public: Like {BufferedProcess}, but accepts a Node script as the command\nto run.\n\nThis is necessary on Windows since it doesn't support shebang `#!` lines.\n\n## Requiring in packages\n\n```coffee\n{BufferedNodeProcess} = require 'atom'\n``` ", + "range": [ + [ + 14, + 0 + ], + [ + 50, + 63 + ] + ] + } + }, + "36": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 36, + 15 + ], + [ + 50, + 63 + ] + ], + "doc": " Public: Runs the given Node script by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} path to the JavaScript script to execute.\n :args - The {Array} of arguments to pass to the script (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " + } + } + }, + "exports": 14 + }, + "src/buffered-process.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "1": { + "15": { + "name": "ChildProcess", + "type": "import", + "range": [ + [ + 1, + 15 + ], + [ + 1, + 37 + ] + ], + "bindingType": "variable", + "module": "child_process", + "builtin": true + } + }, + "18": { + "0": { + "type": "class", + "name": "BufferedProcess", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 40, + 15 + ], + [ + 99, + 16 + ], + [ + 117, + 8 + ] + ], + "doc": " Public: A wrapper which provides standard error/output line buffering for\nNode's ChildProcess.\n\n## Requiring in packages\n\n```coffee\n{BufferedProcess} = require 'atom'\n\ncommand = 'ps'\nargs = ['-ef']\nstdout = (output) -> console.log(output)\nexit = (code) -> console.log(\"ps -ef exited with #{code}\")\nprocess = new BufferedProcess({command, args, stdout, exit})\n``` ", + "range": [ + [ + 18, + 0 + ], + [ + 120, + 19 + ] + ] + } + }, + "40": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 40, + 15 + ], + [ + 99, + 1 + ] + ], + "doc": " Public: Runs the given command by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} command to execute.\n :args - The {Array} of arguments to pass to the command (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " + } + }, + "99": { + "16": { + "name": "bufferStream", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stream", + "onLines", + "onDone" + ], + "range": [ + [ + 99, + 16 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: Helper method to pass data line by line.\n\nstream - The Stream to read from.\nonLines - The callback to call with each line of data.\nonDone - The callback to call when the stream has closed. " + } + }, + "117": { + "8": { + "name": "kill", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 8 + ], + [ + 120, + 19 + ] + ], + "doc": "Public: Terminate the process. " + } + } + }, + "exports": 18 + }, + "src/clipboard.coffee": { + "objects": { + "0": { + "12": { + "name": "clipboard", + "type": "import", + "range": [ + [ + 0, + 12 + ], + [ + 0, + 30 + ] + ], + "bindingType": "variable", + "module": "clipboard" + } + }, + "1": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 1, + 9 + ], + [ + 1, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "7": { + "0": { + "type": "class", + "name": "Clipboard", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 8, + 12 + ], + [ + 9, + 24 + ], + [ + 16, + 7 + ], + [ + 26, + 9 + ], + [ + 34, + 8 + ], + [ + 43, + 20 + ] + ], + "doc": " Public: Represents the clipboard used for copying and pasting in Atom.\n\nAn instance of this class is always available as the `atom.clipboard` global. ", + "range": [ + [ + 7, + 0 + ], + [ + 48, + 12 + ] + ] + } + }, + "8": { + "12": { + "name": "metadata", + "type": "primitive", + "range": [ + [ + 8, + 12 + ], + [ + 8, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "24": { + "name": "signatureForMetadata", + "type": "primitive", + "range": [ + [ + 9, + 24 + ], + [ + 9, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "7": { + "name": "md5", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 16, + 7 + ], + [ + 26, + 1 + ] + ], + "doc": " Private: Creates an `md5` hash of some text.\n\ntext - A {String} to hash.\n\nReturns a hashed {String}. " + } + }, + "26": { + "9": { + "name": "write", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "metadata" + ], + "range": [ + [ + 26, + 9 + ], + [ + 34, + 1 + ] + ], + "doc": " Public: Write the given text to the clipboard.\n\nThe metadata associated with the text is available by calling\n{::readWithMetadata}.\n\ntext - The {String} to store.\nmetadata - The additional info to associate with the text. " + } + }, + "34": { + "8": { + "name": "read", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 8 + ], + [ + 43, + 1 + ] + ], + "doc": " Public: Read the text from the clipboard.\n\nReturns a {String}. " + } + }, + "43": { + "20": { + "name": "readWithMetadata", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 20 + ], + [ + 48, + 12 + ] + ], + "doc": " Public: Read the text from the clipboard and return both the text and the\nassociated metadata.\n\nReturns an {Object} with the following keys:\n :text - The {String} clipboard text.\n :metadata - The metadata stored by an earlier call to {::write}. " + } + } + }, + "exports": 7 + }, + "src/coffee-cache.coffee": { + "objects": { + "0": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 0, + 9 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "3": { + "15": { + "name": "CoffeeScript", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 37 + ] + ], + "bindingType": "variable", + "module": "coffee-script" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1.0.2" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.0.4" + } + }, + "8": { + "17": { + "name": "coffeeCacheDir", + "type": "function", + "range": [ + [ + 8, + 17 + ], + [ + 8, + 45 + ] + ] + } + }, + "11": { + "15": { + "name": "getCachePath", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "coffee" + ], + "range": [ + [ + 11, + 15 + ], + [ + 14, + 0 + ] + ], + "doc": "~Private~" + } + }, + "15": { + "22": { + "name": "getCachedJavaScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "cachePath" + ], + "range": [ + [ + 15, + 22 + ], + [ + 19, + 0 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "18": { + "name": "convertFilePath", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 20, + 18 + ], + [ + 24, + 0 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "22": { + "name": "compileCoffeeScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "coffee", + "filePath", + "cachePath" + ], + "range": [ + [ + 25, + 22 + ], + [ + 33, + 0 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "22": { + "name": "requireCoffeeScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "module", + "filePath" + ], + "range": [ + [ + 34, + 22 + ], + [ + 39, + 0 + ] + ] + } + }, + "41": { + "12": { + "name": "cacheDir", + "type": "primitive", + "range": [ + [ + 41, + 12 + ], + [ + 41, + 19 + ] + ] + } + }, + "42": { + "12": { + "name": "register", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 12 + ], + [ + 46, + 6 + ] + ], + "doc": null + } + } + }, + "exports": 41 + }, + "src/command-installer.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "2": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 22 + ] + ], + "bindingType": "variable", + "module": "async" + } + }, + "3": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 3, + 5 + ], + [ + 3, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.0.4" + } + }, + "4": { + "9": { + "name": "mkdirp", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 24 + ] + ], + "bindingType": "variable", + "module": "mkdirp" + } + }, + "5": { + "8": { + "name": "runas", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "module": "runas" + } + }, + "7": { + "17": { + "name": "symlinkCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "sourcePath", + "destinationPath", + "callback" + ], + "range": [ + [ + 7, + 17 + ], + [ + 17, + 0 + ] + ], + "doc": "~Private~" + } + }, + "18": { + "34": { + "name": "symlinkCommandWithPrivilegeSync", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "sourcePath", + "destinationPath" + ], + "range": [ + [ + 18, + 34 + ], + [ + 27, + 0 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "23": { + "name": "getInstallDirectory", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 23 + ], + [ + 32, + 1 + ] + ], + "doc": null + } + }, + "32": { + "11": { + "name": "install", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "commandPath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 32, + 11 + ], + [ + 52, + 1 + ] + ], + "doc": null + } + }, + "52": { + "22": { + "name": "installAtomCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "resourcePath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 52, + 22 + ], + [ + 56, + 1 + ] + ], + "doc": null + } + }, + "56": { + "21": { + "name": "installApmCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "resourcePath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 56, + 21 + ], + [ + 58, + 51 + ] + ], + "doc": null + } + } + }, + "exports": 29 + }, + "src/config.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.0.4" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "3": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1.0.2" + } + }, + "4": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "5": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "module": "async" + } + }, + "6": { + "14": { + "name": "pathWatcher", + "type": "import", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 34 + ] + ], + "bindingType": "variable", + "module": "pathwatcher@^2.0.4" + } + }, + "25": { + "0": { + "type": "class", + "name": "Config", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 36, + 29 + ], + [ + 52, + 8 + ], + [ + 57, + 18 + ], + [ + 72, + 21 + ], + [ + 76, + 23 + ], + [ + 80, + 15 + ], + [ + 91, + 21 + ], + [ + 95, + 15 + ], + [ + 104, + 7 + ], + [ + 114, + 10 + ], + [ + 125, + 18 + ], + [ + 136, + 7 + ], + [ + 152, + 10 + ], + [ + 160, + 18 + ], + [ + 168, + 14 + ], + [ + 178, + 13 + ], + [ + 187, + 17 + ], + [ + 199, + 20 + ], + [ + 211, + 19 + ], + [ + 231, + 11 + ], + [ + 253, + 13 + ], + [ + 256, + 10 + ], + [ + 261, + 8 + ] + ], + "doc": " Public: Used to access all of Atom's configuration details.\n\nAn instance of this class is always available as the `atom.config` global.\n\n## Best practices\n\n* Create your own root keypath using your package's name.\n* Don't depend on (or write to) configuration keys outside of your keypath.\n\n## Example\n\n```coffeescript\natom.config.set('my-package.key', 'value')\natom.config.observe 'my-package.key', ->\n console.log 'My configuration changed:', atom.config.get('my-package.key')\n``` ", + "range": [ + [ + 25, + 0 + ], + [ + 262, + 50 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 29, + 15 + ], + [ + 36, + 1 + ] + ], + "doc": "Private: Created during initialization, available as `atom.config` " + } + }, + "36": { + "29": { + "name": "initializeConfigDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "done" + ], + "range": [ + [ + 36, + 29 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 8 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "18": { + "name": "loadUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 18 + ], + [ + 72, + 1 + ] + ], + "doc": "~Private~" + } + }, + "72": { + "21": { + "name": "observeUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 72, + 21 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "23": { + "name": "unobserveUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 23 + ], + [ + 80, + 1 + ] + ], + "doc": "~Private~" + } + }, + "80": { + "15": { + "name": "setDefaults", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "defaults" + ], + "range": [ + [ + 80, + 15 + ], + [ + 91, + 1 + ] + ], + "doc": "~Private~" + } + }, + "91": { + "21": { + "name": "getUserConfigPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 21 + ], + [ + 95, + 1 + ] + ], + "doc": "Public: Get the {String} path to the config file being used. " + } + }, + "95": { + "15": { + "name": "getSettings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 95, + 15 + ], + [ + 104, + 1 + ] + ], + "doc": "Public: Returns a new {Object} containing all of settings and defaults. " + } + }, + "104": { + "7": { + "name": "get", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 104, + 7 + ], + [ + 114, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key.\n\nkeyPath - The {String} name of the key to retrieve.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `null` if the key doesn't exist in either. " + } + }, + "114": { + "10": { + "name": "getInt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 114, + 10 + ], + [ + 125, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key as an integer.\n\nkeyPath - The {String} name of the key to retrieve\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `NaN` if the key doesn't exist in either. " + } + }, + "125": { + "18": { + "name": "getPositiveInt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "defaultValue" + ], + "range": [ + [ + 125, + 18 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key as a positive integer.\n\nkeyPath - The {String} name of the key to retrieve\ndefaultValue - The integer {Number} to fall back to if the value isn't\n positive, defaults to 0.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `defaultValue` if the key value isn't greater than zero. " + } + }, + "136": { + "7": { + "name": "set", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 136, + 7 + ], + [ + 152, + 1 + ] + ], + "doc": " Public: Sets the value for a configuration setting.\n\nThis value is stored in Atom's internal configuration file.\n\nkeyPath - The {String} name of the key.\nvalue - The value of the setting.\n\nReturns the `value`. " + } + }, + "152": { + "10": { + "name": "toggle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 152, + 10 + ], + [ + 160, + 1 + ] + ], + "doc": " Public: Toggle the value at the key path.\n\nThe new value will be `true` if the value is currently falsy and will be\n`false` if the value is currently truthy.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " + } + }, + "160": { + "18": { + "name": "restoreDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 160, + 18 + ], + [ + 168, + 1 + ] + ], + "doc": " Public: Restore the key path to its default value.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " + } + }, + "168": { + "14": { + "name": "getDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 168, + 14 + ], + [ + 178, + 1 + ] + ], + "doc": " Public: Get the default value of the key path.\n\nkeyPath - The {String} name of the key.\n\nReturns the default value. " + } + }, + "178": { + "13": { + "name": "isDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 178, + 13 + ], + [ + 187, + 1 + ] + ], + "doc": " Public: Is the key path value its default value?\n\nkeyPath - The {String} name of the key.\n\nReturns a {Boolean}, `true` if the current value is the default, `false`\notherwise. " + } + }, + "187": { + "17": { + "name": "pushAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 187, + 17 + ], + [ + 199, + 1 + ] + ], + "doc": " Public: Push the value to the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to push to the array.\n\nReturns the new array length {Number} of the setting. " + } + }, + "199": { + "20": { + "name": "unshiftAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 199, + 20 + ], + [ + 211, + 1 + ] + ], + "doc": " Public: Add the value to the beginning of the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to shift onto the array.\n\nReturns the new array length {Number} of the setting. " + } + }, + "211": { + "19": { + "name": "removeAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 211, + 19 + ], + [ + 231, + 1 + ] + ], + "doc": " Public: Remove the value from the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to remove from the array.\n\nReturns the new array value of the setting. " + } + }, + "231": { + "11": { + "name": "observe", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "options", + "callback" + ], + "range": [ + [ + 231, + 11 + ], + [ + 253, + 1 + ] + ], + "doc": " Public: Establishes an event listener for a given key.\n\n`callback` is fired whenever the value of the key is changed and will\n be fired immediately unless the `callNow` option is `false`.\n\nkeyPath - The {String} name of the key to observe\noptions - An optional {Object} containing the `callNow` key.\ncallback - The {Function} to call when the value of the key changes.\n The first argument will be the new value of the key and the\n  second argument will be an {Object} with a `previous` property\n that is the prior value of the key.\n\nReturns an {Object} with the following keys:\n :off - A {Function} that unobserves the `keyPath` when called. " + } + }, + "253": { + "13": { + "name": "unobserve", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 253, + 13 + ], + [ + 256, + 1 + ] + ], + "doc": " Public: Unobserve all callbacks on a given key.\n\nkeyPath - The {String} name of the key to unobserve. " + } + }, + "256": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 10 + ], + [ + 261, + 1 + ] + ], + "doc": "~Private~" + } + }, + "261": { + "8": { + "name": "save", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 8 + ], + [ + 262, + 50 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 25 + }, + "src/context-menu-manager.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "2": { + "9": { + "name": "remote", + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 24 + ] + ], + "bindingType": "variable", + "module": "remote" + } + }, + "10": { + "0": { + "type": "class", + "name": "ContextMenuManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 33, + 7 + ], + [ + 45, + 17 + ], + [ + 60, + 17 + ], + [ + 66, + 25 + ], + [ + 82, + 38 + ], + [ + 91, + 34 + ], + [ + 105, + 24 + ], + [ + 111, + 16 + ] + ], + "doc": " Public: Provides a registry for commands that you'd like to appear in the\ncontext menu.\n\nAn instance of this class is always available as the `atom.contextMenu`\nglobal. ", + "range": [ + [ + 10, + 0 + ], + [ + 116, + 64 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 33, + 1 + ] + ] + } + }, + "33": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "object", + null + ], + "range": [ + [ + 33, + 7 + ], + [ + 45, + 1 + ] + ], + "doc": " Public: Creates menu definitions from the object specified by the menu\ncson API.\n\nname - The path of the file that contains the menu definitions.\nobject - The 'context-menu' object specified in the menu cson API.\noptions - An {Object} with the following keys:\n :devMode - Determines whether the entries should only be shown when\n the window is in dev mode.\n\nReturns nothing. " + } + }, + "45": { + "17": { + "name": "buildMenuItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "label", + "command" + ], + "range": [ + [ + 45, + 17 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "17": { + "name": "addBySelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "definition", + null + ], + "range": [ + [ + 60, + 17 + ], + [ + 66, + 1 + ] + ], + "doc": " Private: Registers a command to be displayed when the relevant item is right\nclicked.\n\nselector - The css selector for the active element which should include\n the given command in its context menu.\ndefinition - The object containing keys which match the menu template API.\noptions - An {Object} with the following keys:\n :devMode - Indicates whether this command should only appear while the\n editor is in dev mode. " + } + }, + "66": { + "25": { + "name": "definitionsForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element", + null + ], + "range": [ + [ + 66, + 25 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Returns definitions which match the element and devMode. " + } + }, + "82": { + "38": { + "name": "menuTemplateForMostSpecificElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element", + null + ], + "range": [ + [ + 82, + 38 + ], + [ + 91, + 1 + ] + ], + "doc": " Private: Used to generate the context menu for a specific element and it's\nparents.\n\nThe menu items are sorted such that menu items that match closest to the\nactive element are listed first. The further down the list you go, the higher\nup the ancestor hierarchy they match.\n\nelement - The DOM element to generate the menu template for. " + } + }, + "91": { + "34": { + "name": "combinedMenuTemplateForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 91, + 34 + ], + [ + 105, + 1 + ] + ], + "doc": " Private: Returns a menu template for both normal entries as well as\ndevelopment mode entries. " + } + }, + "105": { + "24": { + "name": "executeBuildHandlers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event", + "menuTemplate" + ], + "range": [ + [ + 105, + 24 + ], + [ + 111, + 1 + ] + ], + "doc": " Private: Executes `executeAtBuild` if defined for each menu item with\nthe provided event and then removes the `executeAtBuild` property from\nthe menu item.\n\nThis is useful for commands that need to provide data about the event\nto the command. " + } + }, + "111": { + "16": { + "name": "showForEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 111, + 16 + ], + [ + 116, + 64 + ] + ], + "doc": "Public: Request a context menu to be displayed. " + } + } + }, + "exports": 10 + }, + "src/cursor-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "18": { + "name": "CursorComponent", + "type": "function", + "range": [ + [ + 5, + 18 + ], + [ + 17, + 79 + ] + ] + } + }, + "6": { + "15": { + "name": "'CursorComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 31 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 16, + 1 + ] + ], + "doc": null + } + }, + "16": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 16, + 25 + ], + [ + 17, + 79 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/cursor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "4": { + "0": { + "type": "class", + "name": "CursorView", + "bindingType": "exports", + "classProperties": [ + [ + 5, + 12 + ], + [ + 8, + 16 + ], + [ + 10, + 17 + ], + [ + 13, + 18 + ], + [ + 19, + 17 + ] + ], + "prototypeProperties": [ + [ + 24, + 12 + ], + [ + 25, + 11 + ], + [ + 26, + 15 + ], + [ + 27, + 16 + ], + [ + 28, + 23 + ], + [ + 30, + 14 + ], + [ + 44, + 16 + ], + [ + 48, + 17 + ], + [ + 65, + 12 + ], + [ + 68, + 19 + ], + [ + 71, + 19 + ], + [ + 74, + 20 + ], + [ + 77, + 14 + ], + [ + 86, + 16 + ], + [ + 90, + 17 + ], + [ + 94, + 17 + ], + [ + 98, + 21 + ], + [ + 101, + 21 + ], + [ + 104, + 30 + ], + [ + 109, + 24 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 112, + 31 + ] + ] + } + }, + "5": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 12 + ], + [ + 8, + 1 + ] + ] + } + }, + "8": { + "16": { + "name": "blinkPeriod", + "type": "primitive", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 18 + ] + ], + "bindingType": "classProperty" + } + }, + "10": { + "17": { + "name": "blinkCursors", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 17 + ], + [ + 13, + 1 + ] + ], + "doc": "~Private~" + } + }, + "13": { + "18": { + "name": "startBlinking", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 13, + 18 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "17": { + "name": "stopBlinking", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 19, + 17 + ], + [ + 24, + 1 + ] + ], + "doc": "~Private~" + } + }, + "24": { + "12": { + "name": "blinking", + "type": "primitive", + "range": [ + [ + 24, + 12 + ], + [ + 24, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "25": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 25, + 11 + ], + [ + 25, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "26": { + "15": { + "name": "needsUpdate", + "type": "primitive", + "range": [ + [ + 26, + 15 + ], + [ + 26, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "27": { + "16": { + "name": "needsRemoval", + "type": "primitive", + "range": [ + [ + 27, + 16 + ], + [ + 27, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "28": { + "23": { + "name": "shouldPauseBlinking", + "type": "primitive", + "range": [ + [ + 28, + 23 + ], + [ + 28, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "30": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 30, + 14 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 16 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 17 + ], + [ + 65, + 1 + ] + ], + "doc": "~Private~" + } + }, + "65": { + "12": { + "name": "isHidden", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 65, + 12 + ], + [ + 68, + 1 + ] + ], + "doc": "Private: Override for speed. The base function checks the computedStyle " + } + }, + "68": { + "19": { + "name": "needsAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 19 + ], + [ + 71, + 1 + ] + ], + "doc": "~Private~" + } + }, + "71": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 71, + 19 + ], + [ + 74, + 1 + ] + ], + "doc": "~Private~" + } + }, + "74": { + "20": { + "name": "getPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 20 + ], + [ + 77, + 1 + ] + ], + "doc": "~Private~" + } + }, + "77": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 77, + 14 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "16": { + "name": "stopBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 16 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "17": { + "name": "startBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 17 + ], + [ + 94, + 1 + ] + ], + "doc": "~Private~" + } + }, + "94": { + "17": { + "name": "resetBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 17 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "21": { + "name": "getBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 21 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "21": { + "name": "getScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 21 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "30": { + "name": "removeIdleClassTemporarily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 30 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "24": { + "name": "resetCursorAnimation", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 24 + ], + [ + 112, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/cursor.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "10": { + "0": { + "type": "class", + "name": "Cursor", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 18 + ], + [ + 12, + 18 + ], + [ + 13, + 14 + ], + [ + 14, + 11 + ], + [ + 15, + 19 + ], + [ + 18, + 15 + ], + [ + 49, + 11 + ], + [ + 52, + 18 + ], + [ + 60, + 16 + ], + [ + 70, + 21 + ], + [ + 75, + 21 + ], + [ + 78, + 18 + ], + [ + 89, + 21 + ], + [ + 94, + 21 + ], + [ + 97, + 14 + ], + [ + 101, + 20 + ], + [ + 105, + 14 + ], + [ + 112, + 13 + ], + [ + 122, + 14 + ], + [ + 136, + 16 + ], + [ + 145, + 28 + ], + [ + 158, + 27 + ], + [ + 170, + 16 + ], + [ + 176, + 19 + ], + [ + 180, + 18 + ], + [ + 184, + 16 + ], + [ + 188, + 19 + ], + [ + 192, + 16 + ], + [ + 196, + 19 + ], + [ + 201, + 24 + ], + [ + 205, + 10 + ], + [ + 217, + 12 + ], + [ + 233, + 12 + ], + [ + 247, + 13 + ], + [ + 256, + 13 + ], + [ + 260, + 16 + ], + [ + 264, + 31 + ], + [ + 268, + 25 + ], + [ + 273, + 30 + ], + [ + 283, + 25 + ], + [ + 293, + 25 + ], + [ + 297, + 19 + ], + [ + 301, + 25 + ], + [ + 305, + 19 + ], + [ + 310, + 29 + ], + [ + 315, + 30 + ], + [ + 320, + 26 + ], + [ + 336, + 43 + ], + [ + 358, + 41 + ], + [ + 380, + 41 + ], + [ + 409, + 37 + ], + [ + 430, + 40 + ], + [ + 447, + 29 + ], + [ + 457, + 29 + ], + [ + 461, + 34 + ], + [ + 466, + 38 + ], + [ + 470, + 45 + ], + [ + 484, + 49 + ], + [ + 502, + 34 + ], + [ + 506, + 24 + ], + [ + 510, + 23 + ], + [ + 514, + 18 + ], + [ + 521, + 17 + ], + [ + 527, + 13 + ], + [ + 532, + 32 + ] + ], + "doc": " Public: The `Cursor` class represents the little blinking line identifying\nwhere text can be inserted.\n\nCursors belong to {Editor}s and have some metadata attached in the form\nof a {Marker}. ", + "range": [ + [ + 10, + 0 + ], + [ + 540, + 50 + ] + ] + } + }, + "11": { + "18": { + "name": "screenPosition", + "type": "primitive", + "range": [ + [ + 11, + 18 + ], + [ + 11, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "18": { + "name": "bufferPosition", + "type": "primitive", + "range": [ + [ + 12, + 18 + ], + [ + 12, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "13": { + "14": { + "name": "goalColumn", + "type": "primitive", + "range": [ + [ + 13, + 14 + ], + [ + 13, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 14, + 11 + ], + [ + 14, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "15": { + "19": { + "name": "needsAutoscroll", + "type": "primitive", + "range": [ + [ + 15, + 19 + ], + [ + 15, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 18, + 15 + ], + [ + 49, + 1 + ] + ], + "doc": "Private: Instantiated by an {Editor} " + } + }, + "49": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 11 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "18": { + "name": "changePosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options", + "fn" + ], + "range": [ + [ + 52, + 18 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "16": { + "name": "getPixelRect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 60, + 16 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "21": { + "name": "setScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 70, + 21 + ], + [ + 75, + 1 + ] + ], + "doc": " Public: Moves a cursor to a given screen position.\n\nscreenPosition - An {Array} of two numbers: the screen row, and the screen\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " + } + }, + "75": { + "21": { + "name": "getScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 75, + 21 + ], + [ + 78, + 1 + ] + ], + "doc": "Public: Returns the screen position of the cursor as an Array. " + } + }, + "78": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 78, + 18 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "setBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 89, + 21 + ], + [ + 94, + 1 + ] + ], + "doc": " Public: Moves a cursor to a given buffer position.\n\nbufferPosition - An {Array} of two numbers: the buffer row, and the buffer\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " + } + }, + "94": { + "21": { + "name": "getBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 21 + ], + [ + 97, + 1 + ] + ], + "doc": "Public: Returns the current buffer position as an Array. " + } + }, + "97": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 97, + 14 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "20": { + "name": "updateVisibility", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 20 + ], + [ + 105, + 1 + ] + ], + "doc": "Public: If the marker range is empty, the cursor is marked as being visible. " + } + }, + "105": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 105, + 14 + ], + [ + 112, + 1 + ] + ], + "doc": "Public: Sets whether the cursor is visible. " + } + }, + "112": { + "13": { + "name": "isVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 112, + 13 + ], + [ + 112, + 23 + ] + ], + "doc": "Public: Returns the visibility of the cursor. " + } + }, + "122": { + "14": { + "name": "wordRegExp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 122, + 14 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Get the RegExp used by the cursor to determine what a \"word\" is.\n\noptions: An optional {Object} with the following keys:\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the regex.\n (default: true)\n\nReturns a {RegExp}. " + } + }, + "136": { + "16": { + "name": "isLastCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 16 + ], + [ + 145, + 1 + ] + ], + "doc": " Public: Identifies if this cursor is the last in the {Editor}.\n\n\"Last\" is defined as the most recently added cursor.\n\nReturns a {Boolean}. " + } + }, + "145": { + "28": { + "name": "isSurroundedByWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 145, + 28 + ], + [ + 158, + 1 + ] + ], + "doc": " Public: Identifies if the cursor is surrounded by whitespace.\n\n\"Surrounded\" here means that the character directly before and after the\ncursor are both whitespace.\n\nReturns a {Boolean}. " + } + }, + "158": { + "27": { + "name": "isBetweenWordAndNonWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 27 + ], + [ + 170, + 1 + ] + ], + "doc": " Public: Returns whether the cursor is currently between a word and non-word\ncharacter. The non-word characters are defined by the\n`editor.nonWordCharacters` config value.\n\nThis method returns false if the character before or after the cursor is\nwhitespace.\n\nReturns a Boolean. " + } + }, + "170": { + "16": { + "name": "isInsideWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 170, + 16 + ], + [ + 176, + 1 + ] + ], + "doc": "Public: Returns whether this cursor is between a word's start and end. " + } + }, + "176": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 176, + 19 + ], + [ + 180, + 1 + ] + ], + "doc": "Public: Prevents this cursor from causing scrolling. " + } + }, + "180": { + "18": { + "name": "clearSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 180, + 18 + ], + [ + 184, + 1 + ] + ], + "doc": "Public: Deselects the current selection. " + } + }, + "184": { + "16": { + "name": "getScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 184, + 16 + ], + [ + 188, + 1 + ] + ], + "doc": "Public: Returns the cursor's current screen row. " + } + }, + "188": { + "19": { + "name": "getScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 19 + ], + [ + 192, + 1 + ] + ], + "doc": "Public: Returns the cursor's current screen column. " + } + }, + "192": { + "16": { + "name": "getBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 192, + 16 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Retrieves the cursor's current buffer row. " + } + }, + "196": { + "19": { + "name": "getBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 196, + 19 + ], + [ + 201, + 1 + ] + ], + "doc": "Public: Returns the cursor's current buffer column. " + } + }, + "201": { + "24": { + "name": "getCurrentBufferLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 201, + 24 + ], + [ + 205, + 1 + ] + ], + "doc": " Public: Returns the cursor's current buffer row of text excluding its line\nending. " + } + }, + "205": { + "10": { + "name": "moveUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount", + null + ], + "range": [ + [ + 205, + 10 + ], + [ + 217, + 1 + ] + ], + "doc": "Public: Moves the cursor up one screen row. " + } + }, + "217": { + "12": { + "name": "moveDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount", + null + ], + "range": [ + [ + 217, + 12 + ], + [ + 233, + 1 + ] + ], + "doc": "Public: Moves the cursor down one screen row. " + } + }, + "233": { + "12": { + "name": "moveLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 233, + 12 + ], + [ + 247, + 1 + ] + ], + "doc": " Public: Moves the cursor left one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the left of the selection if a\n selection exists. " + } + }, + "247": { + "13": { + "name": "moveRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 247, + 13 + ], + [ + 256, + 1 + ] + ], + "doc": " Public: Moves the cursor right one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the right of the selection if a\n selection exists. " + } + }, + "256": { + "13": { + "name": "moveToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 13 + ], + [ + 260, + 1 + ] + ], + "doc": "Public: Moves the cursor to the top of the buffer. " + } + }, + "260": { + "16": { + "name": "moveToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 16 + ], + [ + 264, + 1 + ] + ], + "doc": "Public: Moves the cursor to the bottom of the buffer. " + } + }, + "264": { + "31": { + "name": "moveToBeginningOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 264, + 31 + ], + [ + 268, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the line. " + } + }, + "268": { + "25": { + "name": "moveToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 268, + 25 + ], + [ + 273, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the buffer line. " + } + }, + "273": { + "30": { + "name": "moveToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 273, + 30 + ], + [ + 283, + 1 + ] + ], + "doc": " Public: Moves the cursor to the beginning of the first character in the\nline. " + } + }, + "283": { + "25": { + "name": "skipLeadingWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 283, + 25 + ], + [ + 293, + 1 + ] + ], + "doc": " Public: Moves the cursor to the beginning of the buffer line, skipping all\nwhitespace. " + } + }, + "293": { + "25": { + "name": "moveToEndOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 293, + 25 + ], + [ + 297, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the line. " + } + }, + "297": { + "19": { + "name": "moveToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 19 + ], + [ + 301, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the buffer line. " + } + }, + "301": { + "25": { + "name": "moveToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 301, + 25 + ], + [ + 305, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the word. " + } + }, + "305": { + "19": { + "name": "moveToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 305, + 19 + ], + [ + 310, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the word. " + } + }, + "310": { + "29": { + "name": "moveToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 310, + 29 + ], + [ + 315, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the next word. " + } + }, + "315": { + "30": { + "name": "moveToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 30 + ], + [ + 320, + 1 + ] + ], + "doc": "Public: Moves the cursor to the previous word boundary. " + } + }, + "320": { + "26": { + "name": "moveToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 320, + 26 + ], + [ + 336, + 1 + ] + ], + "doc": "Public: Moves the cursor to the next word boundary. " + } + }, + "336": { + "43": { + "name": "getBeginningOfCurrentWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 336, + 43 + ], + [ + 358, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the current word starts.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n :allowPrevious - A {Boolean} indicating whether the beginning of the\n previous word can be returned.\n\nReturns a {Range}. " + } + }, + "358": { + "41": { + "name": "getPreviousWordBoundaryBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 358, + 41 + ], + [ + 380, + 1 + ] + ], + "doc": " Public: Retrieves buffer position of previous word boundary. It might be on\nthe current word, or the previous word. " + } + }, + "380": { + "41": { + "name": "getMoveNextWordBoundaryBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 380, + 41 + ], + [ + 409, + 1 + ] + ], + "doc": " Public: Retrieves buffer position of the next word boundary. It might be on\nthe current word, or the previous word. " + } + }, + "409": { + "37": { + "name": "getEndOfCurrentWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 409, + 37 + ], + [ + 430, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the current word ends.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp})\n :includeNonWordCharacters - A Boolean indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n\nReturns a {Range}. " + } + }, + "430": { + "40": { + "name": "getBeginningOfNextWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 430, + 40 + ], + [ + 447, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the next word starts.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n\nReturns a {Range}. " + } + }, + "447": { + "29": { + "name": "getCurrentWordBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 447, + 29 + ], + [ + 457, + 1 + ] + ], + "doc": " Public: Returns the buffer Range occupied by the word located under the cursor.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}). " + } + }, + "457": { + "29": { + "name": "getCurrentLineBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 457, + 29 + ], + [ + 461, + 1 + ] + ], + "doc": " Public: Returns the buffer Range for the current line.\n\noptions -\n :includeNewline: - A {Boolean} which controls whether the Range should\n include the newline. " + } + }, + "461": { + "34": { + "name": "moveToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 461, + 34 + ], + [ + 466, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the next paragraph " + } + }, + "466": { + "38": { + "name": "moveToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 466, + 38 + ], + [ + 470, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the previous paragraph " + } + }, + "470": { + "45": { + "name": "getBeginningOfNextParagraphBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 470, + 45 + ], + [ + 484, + 1 + ] + ], + "doc": "~Private~" + } + }, + "484": { + "49": { + "name": "getBeginningOfPreviousParagraphBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 484, + 49 + ], + [ + 502, + 1 + ] + ], + "doc": "~Private~" + } + }, + "502": { + "34": { + "name": "getCurrentParagraphBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 502, + 34 + ], + [ + 506, + 1 + ] + ], + "doc": " Public: Retrieves the range for the current paragraph.\n\nA paragraph is defined as a block of text surrounded by empty lines.\n\nReturns a {Range}. " + } + }, + "506": { + "24": { + "name": "getCurrentWordPrefix", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 506, + 24 + ], + [ + 510, + 1 + ] + ], + "doc": "Public: Returns the characters preceding the cursor in the current word. " + } + }, + "510": { + "23": { + "name": "isAtBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 510, + 23 + ], + [ + 514, + 1 + ] + ], + "doc": "Public: Returns whether the cursor is at the start of a line. " + } + }, + "514": { + "18": { + "name": "getIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 514, + 18 + ], + [ + 521, + 1 + ] + ], + "doc": "Public: Returns the indentation level of the current line. " + } + }, + "521": { + "17": { + "name": "isAtEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 521, + 17 + ], + [ + 527, + 1 + ] + ], + "doc": "Public: Returns whether the cursor is on the line return character. " + } + }, + "527": { + "13": { + "name": "getScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 527, + 13 + ], + [ + 532, + 1 + ] + ], + "doc": " Public: Retrieves the grammar's token scopes for the line.\n\nReturns an {Array} of {String}s. " + } + }, + "532": { + "32": { + "name": "hasPrecedingCharactersOnLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 532, + 32 + ], + [ + 540, + 50 + ] + ], + "doc": " Public: Returns true if this cursor has no non-whitespace characters before\nits current position. " + } + } + }, + "exports": 10 + }, + "src/cursors-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "debounce", + "exportsProperty": "debounce" + }, + "11": { + "type": "import", + "range": [ + [ + 2, + 11 + ], + [ + 2, + 17 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "toArray", + "exportsProperty": "toArray" + }, + "20": { + "type": "import", + "range": [ + [ + 2, + 20 + ], + [ + 2, + 39 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "42": { + "type": "import", + "range": [ + [ + 2, + 42 + ], + [ + 2, + 48 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "isEqual", + "exportsProperty": "isEqual" + } + }, + "3": { + "18": { + "name": "SubscriberMixin", + "type": "import", + "range": [ + [ + 3, + 18 + ], + [ + 3, + 45 + ] + ], + "bindingType": "variable", + "path": "./subscriber-mixin" + } + }, + "4": { + "18": { + "name": "CursorComponent", + "type": "import", + "range": [ + [ + 4, + 18 + ], + [ + 4, + 45 + ] + ], + "bindingType": "variable", + "path": "./cursor-component" + } + }, + "7": { + "19": { + "name": "CursorsComponent", + "type": "function", + "range": [ + [ + 7, + 19 + ], + [ + 60, + 37 + ] + ] + } + }, + "8": { + "15": { + "name": "'CursorsComponent'", + "type": "primitive", + "range": [ + [ + 8, + 15 + ], + [ + 8, + 32 + ] + ] + } + }, + "9": { + "10": { + "type": "primitive", + "range": [ + [ + 9, + 10 + ], + [ + 9, + 26 + ] + ] + } + }, + "11": { + "29": { + "type": "primitive", + "range": [ + [ + 11, + 29 + ], + [ + 11, + 32 + ] + ] + } + }, + "13": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 10 + ], + [ + 25, + 1 + ] + ], + "doc": null + } + }, + "25": { + "19": { + "name": "getInitialState", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 19 + ], + [ + 28, + 1 + ] + ], + "doc": null + } + }, + "28": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 21 + ], + [ + 31, + 1 + ] + ], + "doc": null + } + }, + "31": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 31, + 24 + ], + [ + 34, + 1 + ] + ], + "doc": null + } + }, + "34": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps", + "newState" + ], + "range": [ + [ + 34, + 25 + ], + [ + 38, + 1 + ] + ], + "doc": null + } + }, + "38": { + "23": { + "name": "componentWillUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 38, + 23 + ], + [ + 45, + 1 + ] + ], + "doc": null + } + }, + "45": { + "24": { + "name": "startBlinkingCursors", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 24 + ], + [ + 48, + 1 + ] + ], + "doc": null + } + }, + "48": { + "34": { + "type": "primitive", + "range": [ + [ + 48, + 34 + ], + [ + 48, + 37 + ] + ] + } + }, + "50": { + "23": { + "name": "stopBlinkingCursors", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 23 + ], + [ + 53, + 1 + ] + ], + "doc": null + } + }, + "53": { + "21": { + "name": "toggleCursorBlink", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 21 + ], + [ + 56, + 1 + ] + ], + "doc": null + } + }, + "56": { + "23": { + "name": "pauseCursorBlinking", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 23 + ], + [ + 60, + 37 + ] + ], + "doc": null + } + } + }, + "exports": 7 + }, + "src/custom-event-mixin.coffee": { + "objects": { + "2": { + "2": { + "type": "primitive", + "range": [ + [ + 2, + 2 + ], + [ + 14, + 52 + ] + ] + }, + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 2, + 22 + ], + [ + 5, + 1 + ] + ], + "doc": null + } + }, + "5": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 24 + ], + [ + 10, + 1 + ] + ], + "doc": null + } + }, + "10": { + "27": { + "name": "addCustomEventListeners", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "customEventListeners" + ], + "range": [ + [ + 10, + 27 + ], + [ + 14, + 52 + ] + ], + "doc": null + } + } + }, + "exports": 2 + }, + "src/decoration.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Subscriber", + "exportsProperty": "Subscriber" + }, + "13": { + "type": "import", + "range": [ + [ + 1, + 13 + ], + [ + 1, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "3": { + "12": { + "name": "0", + "type": "primitive", + "range": [ + [ + 3, + 12 + ], + [ + 3, + 12 + ] + ] + } + }, + "4": { + "9": { + "name": "nextId", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 4, + 9 + ], + [ + 4, + 22 + ] + ] + } + }, + "40": { + "0": { + "type": "class", + "name": "Decoration", + "bindingType": "exports", + "classProperties": [ + [ + 43, + 11 + ] + ], + "prototypeProperties": [ + [ + 49, + 15 + ], + [ + 59, + 11 + ], + [ + 70, + 10 + ], + [ + 79, + 13 + ], + [ + 82, + 13 + ], + [ + 89, + 10 + ], + [ + 92, + 18 + ], + [ + 98, + 9 + ], + [ + 104, + 20 + ] + ], + "doc": " Public: Represents a decoration that follows a {Marker}. A decoration is\nbasically a visual representation of a marker. It allows you to add CSS\nclasses to line numbers in the gutter, lines, and add selection-line regions\naround marked ranges of text.\n\n{Decoration} objects are not meant to be created directly, but created with\n{Editor::decorateMarker}. eg.\n\n```coffee\nrange = editor.getSelectedBufferRange() # any range you like\nmarker = editor.markBufferRange(range)\ndecoration = editor.decorateMarker(marker, {type: 'line', class: 'my-line-class'})\n```\n\nBest practice for destorying the decoration is by destroying the {Marker}.\n\n```\nmarker.destroy()\n```\n\nYou should only use {Decoration::destroy} when you still need or do not own\nthe marker.\n\n### IDs\nEach {Decoration} has a unique ID available via `decoration.id`.\n\n### Events\nA couple of events are emitted:\n\n* `destroyed`: When the {Decoration} is destroyed\n* `updated`: When the {Decoration} is updated via {Decoration::update}.\n Event object has properties `oldParams` and `newParams`\n\n ", + "range": [ + [ + 40, + 0 + ], + [ + 106, + 8 + ] + ] + } + }, + "43": { + "11": { + "name": "isType", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "decorationParams", + "type" + ], + "range": [ + [ + 43, + 11 + ], + [ + 49, + 1 + ] + ], + "doc": "~Private~" + } + }, + "49": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null, + null + ], + "range": [ + [ + 49, + 15 + ], + [ + 59, + 1 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 11 + ], + [ + 70, + 1 + ] + ], + "doc": " Public: Destroy this marker.\n\nIf you own the marker, you should use {Marker::destroy} which will destroy\nthis decoration. " + } + }, + "70": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "newParams" + ], + "range": [ + [ + 70, + 10 + ], + [ + 79, + 1 + ] + ], + "doc": " Public: Update the marker with new params. Allows you to change the decoration's class.\n\n```\ndecoration.update({type: 'gutter', class: 'my-new-class'})\n``` " + } + }, + "79": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 13 + ], + [ + 79, + 22 + ] + ], + "doc": "Public: Returns the marker associated with this {Decoration} " + } + }, + "82": { + "13": { + "name": "getParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 13 + ], + [ + 82, + 22 + ] + ], + "doc": "Public: Returns the {Decoration}'s params. " + } + }, + "89": { + "10": { + "name": "isType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "type" + ], + "range": [ + [ + 89, + 10 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "18": { + "name": "matchesPattern", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decorationPattern" + ], + "range": [ + [ + 92, + 18 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "9": { + "name": "flash", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass", + "duration" + ], + "range": [ + [ + 98, + 9 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "20": { + "name": "consumeNextFlash", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 20 + ], + [ + 106, + 8 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 40 + }, + "src/deserializer-manager.coffee": { + "objects": { + "20": { + "0": { + "type": "class", + "name": "DeserializerManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 21, + 15 + ], + [ + 27, + 7 + ], + [ + 33, + 10 + ], + [ + 41, + 15 + ], + [ + 54, + 7 + ] + ], + "doc": " Public: Manages the deserializers used for serialized state\n\nAn instance of this class is always available as the `atom.deserializers`\nglobal.\n\n### Registering a deserializer\n\n```coffee\nclass MyPackageView extends View\n atom.deserializers.add(this)\n\n @deserialize: (state) ->\n new MyPackageView(state)\n\n constructor: (@state) ->\n\n serialize: ->\n @state\n``` ", + "range": [ + [ + 20, + 0 + ], + [ + 58, + 24 + ] + ] + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 15 + ], + [ + 27, + 1 + ] + ] + } + }, + "27": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "classes" + ], + "range": [ + [ + 27, + 7 + ], + [ + 33, + 1 + ] + ], + "doc": " Public: Register the given class(es) as deserializers.\n\nclasses - One or more classes to register. " + } + }, + "33": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "classes" + ], + "range": [ + [ + 33, + 10 + ], + [ + 41, + 1 + ] + ], + "doc": " Public: Remove the given class(es) as deserializers.\n\nclasses - One or more classes to remove. " + } + }, + "41": { + "15": { + "name": "deserialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state", + "params" + ], + "range": [ + [ + 41, + 15 + ], + [ + 54, + 1 + ] + ], + "doc": " Public: Deserialize the state and params.\n\nstate - The state {Object} to deserialize.\nparams - The params {Object} to pass as the second arguments to the\n deserialize method of the deserializer. " + } + }, + "54": { + "7": { + "name": "get", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 54, + 7 + ], + [ + 58, + 24 + ] + ], + "doc": " Private: Get the deserializer for the state.\n\nstate - The state {Object} being deserialized. " + } + } + }, + "exports": 20 + }, + "src/display-buffer-marker.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 2, + 10 + ], + [ + 2, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "5": { + "0": { + "type": "class", + "name": "DisplayBufferMarker", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 9, + 28 + ], + [ + 10, + 25 + ], + [ + 11, + 25 + ], + [ + 12, + 25 + ], + [ + 13, + 25 + ], + [ + 14, + 12 + ], + [ + 16, + 15 + ], + [ + 27, + 8 + ], + [ + 33, + 18 + ], + [ + 40, + 18 + ], + [ + 46, + 18 + ], + [ + 53, + 18 + ], + [ + 56, + 17 + ], + [ + 62, + 25 + ], + [ + 69, + 25 + ], + [ + 76, + 25 + ], + [ + 83, + 25 + ], + [ + 89, + 25 + ], + [ + 96, + 25 + ], + [ + 103, + 25 + ], + [ + 110, + 25 + ], + [ + 117, + 26 + ], + [ + 124, + 26 + ], + [ + 131, + 24 + ], + [ + 138, + 24 + ], + [ + 146, + 13 + ], + [ + 150, + 13 + ], + [ + 153, + 11 + ], + [ + 157, + 14 + ], + [ + 162, + 11 + ], + [ + 169, + 15 + ], + [ + 172, + 17 + ], + [ + 175, + 17 + ], + [ + 178, + 21 + ], + [ + 183, + 11 + ], + [ + 187, + 11 + ], + [ + 191, + 11 + ], + [ + 195, + 11 + ], + [ + 198, + 13 + ], + [ + 202, + 19 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 230, + 23 + ] + ] + } + }, + "9": { + "28": { + "name": "bufferMarkerSubscription", + "type": "primitive", + "range": [ + [ + 9, + 28 + ], + [ + 9, + 31 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "25": { + "name": "oldHeadBufferPosition", + "type": "primitive", + "range": [ + [ + 10, + 25 + ], + [ + 10, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "11": { + "25": { + "name": "oldHeadScreenPosition", + "type": "primitive", + "range": [ + [ + 11, + 25 + ], + [ + 11, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "25": { + "name": "oldTailBufferPosition", + "type": "primitive", + "range": [ + [ + 12, + 25 + ], + [ + 12, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "13": { + "25": { + "name": "oldTailScreenPosition", + "type": "primitive", + "range": [ + [ + 13, + 25 + ], + [ + 13, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "12": { + "name": "wasValid", + "type": "primitive", + "range": [ + [ + 14, + 12 + ], + [ + 14, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 16, + 15 + ], + [ + 27, + 1 + ] + ], + "doc": "~Private~" + } + }, + "27": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 27, + 8 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 33, + 18 + ], + [ + 40, + 1 + ] + ], + "doc": " Private: Gets the screen range of the display marker.\n\nReturns a {Range}. " + } + }, + "40": { + "18": { + "name": "setScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 40, + 18 + ], + [ + 46, + 1 + ] + ], + "doc": " Private: Modifies the screen range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " + } + }, + "46": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 46, + 18 + ], + [ + 53, + 1 + ] + ], + "doc": " Private: Gets the buffer range of the display marker.\n\nReturns a {Range}. " + } + }, + "53": { + "18": { + "name": "setBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 53, + 18 + ], + [ + 56, + 1 + ] + ], + "doc": " Private: Modifies the buffer range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " + } + }, + "56": { + "17": { + "name": "getPixelRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 17 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "25": { + "name": "getHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 62, + 25 + ], + [ + 69, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's head.\n\nReturns a {Point}. " + } + }, + "69": { + "25": { + "name": "setHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 69, + 25 + ], + [ + 76, + 1 + ] + ], + "doc": " Private: Sets the screen position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "76": { + "25": { + "name": "getHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 25 + ], + [ + 83, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's head.\n\nReturns a {Point}. " + } + }, + "83": { + "25": { + "name": "setHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 83, + 25 + ], + [ + 89, + 1 + ] + ], + "doc": " Private: Sets the buffer position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "89": { + "25": { + "name": "getTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 25 + ], + [ + 96, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's tail.\n\nReturns a {Point}. " + } + }, + "96": { + "25": { + "name": "setTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 96, + 25 + ], + [ + 103, + 1 + ] + ], + "doc": " Private: Sets the screen position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "103": { + "25": { + "name": "getTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 103, + 25 + ], + [ + 110, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's tail.\n\nReturns a {Point}. " + } + }, + "110": { + "25": { + "name": "setTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 110, + 25 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: Sets the buffer position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "117": { + "26": { + "name": "getStartScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 26 + ], + [ + 124, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndScreenPosition}.\n\nReturns a {Point}. " + } + }, + "124": { + "26": { + "name": "getStartBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 26 + ], + [ + 131, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndBufferPosition}.\n\nReturns a {Point}. " + } + }, + "131": { + "24": { + "name": "getEndScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 131, + 24 + ], + [ + 138, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartScreenPosition}.\n\nReturns a {Point}. " + } + }, + "138": { + "24": { + "name": "getEndBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 24 + ], + [ + 146, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartBufferPosition}.\n\nReturns a {Point}. " + } + }, + "146": { + "13": { + "name": "plantTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 146, + 13 + ], + [ + 150, + 1 + ] + ], + "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " + } + }, + "150": { + "13": { + "name": "clearTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 150, + 13 + ], + [ + 153, + 1 + ] + ], + "doc": "Private: Removes the tail from the marker. " + } + }, + "153": { + "11": { + "name": "hasTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 153, + 11 + ], + [ + 157, + 1 + ] + ], + "doc": "~Private~" + } + }, + "157": { + "14": { + "name": "isReversed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 157, + 14 + ], + [ + 162, + 1 + ] + ], + "doc": "Private: Returns whether the head precedes the tail in the buffer " + } + }, + "162": { + "11": { + "name": "isValid", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 11 + ], + [ + 169, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the marker is valid. Markers can be\ninvalidated when a region surrounding them in the buffer is changed. " + } + }, + "169": { + "15": { + "name": "isDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 169, + 15 + ], + [ + 172, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the marker has been destroyed. A marker\ncan be invalid without being destroyed, in which case undoing the invalidating\noperation would restore the marker. Once a marker is destroyed by calling\n{Marker::destroy}, no undo/redo operation can ever bring it back. " + } + }, + "172": { + "17": { + "name": "getAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 172, + 17 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "17": { + "name": "setAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 175, + 17 + ], + [ + 178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "178": { + "21": { + "name": "matchesAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 178, + 21 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 183, + 11 + ], + [ + 187, + 1 + ] + ], + "doc": "Private: Destroys the marker " + } + }, + "187": { + "11": { + "name": "isEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 187, + 11 + ], + [ + 191, + 1 + ] + ], + "doc": "~Private~" + } + }, + "191": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 191, + 11 + ], + [ + 195, + 1 + ] + ], + "doc": "~Private~" + } + }, + "195": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 195, + 11 + ], + [ + 198, + 1 + ] + ], + "doc": "Private: Returns a {String} representation of the marker " + } + }, + "198": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 198, + 13 + ], + [ + 202, + 1 + ] + ], + "doc": "~Private~" + } + }, + "202": { + "19": { + "name": "notifyObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 202, + 19 + ], + [ + 230, + 23 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "src/display-buffer.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "2": { + "7": { + "name": "guid", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "guid" + } + }, + "3": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "6": { + "18": { + "name": "TokenizedBuffer", + "type": "import", + "range": [ + [ + 6, + 18 + ], + [ + 6, + 45 + ] + ], + "bindingType": "variable", + "path": "./tokenized-buffer" + } + }, + "7": { + "9": { + "name": "RowMap", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 27 + ] + ], + "bindingType": "variable", + "path": "./row-map" + } + }, + "8": { + "7": { + "name": "Fold", + "type": "import", + "range": [ + [ + 8, + 7 + ], + [ + 8, + 22 + ] + ], + "bindingType": "variable", + "path": "./fold" + } + }, + "9": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 9, + 8 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "10": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "11": { + "22": { + "name": "DisplayBufferMarker", + "type": "import", + "range": [ + [ + 11, + 22 + ], + [ + 11, + 54 + ] + ], + "bindingType": "variable", + "path": "./display-buffer-marker" + } + }, + "13": { + "0": { + "type": "class", + "name": "BufferToScreenConversionError", + "classProperties": [], + "prototypeProperties": [ + [ + 14, + 15 + ] + ], + "doc": "~Private~", + "range": [ + [ + 13, + 0 + ], + [ + 17, + 0 + ] + ] + } + }, + "14": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 14, + 15 + ], + [ + 17, + 0 + ] + ] + } + }, + "19": { + "0": { + "type": "class", + "name": "DisplayBuffer", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 34, + 24 + ], + [ + 35, + 26 + ], + [ + 36, + 29 + ], + [ + 37, + 26 + ], + [ + 38, + 36 + ], + [ + 40, + 15 + ], + [ + 70, + 19 + ], + [ + 78, + 21 + ], + [ + 82, + 8 + ], + [ + 91, + 24 + ], + [ + 97, + 15 + ], + [ + 104, + 28 + ], + [ + 115, + 14 + ], + [ + 117, + 27 + ], + [ + 118, + 27 + ], + [ + 120, + 29 + ], + [ + 121, + 29 + ], + [ + 123, + 32 + ], + [ + 124, + 32 + ], + [ + 126, + 29 + ], + [ + 127, + 29 + ], + [ + 129, + 13 + ], + [ + 138, + 13 + ], + [ + 140, + 19 + ], + [ + 146, + 18 + ], + [ + 152, + 26 + ], + [ + 160, + 24 + ], + [ + 167, + 12 + ], + [ + 176, + 12 + ], + [ + 183, + 16 + ], + [ + 184, + 16 + ], + [ + 190, + 19 + ], + [ + 193, + 19 + ], + [ + 194, + 19 + ], + [ + 198, + 17 + ], + [ + 199, + 17 + ], + [ + 206, + 20 + ], + [ + 209, + 18 + ], + [ + 210, + 18 + ], + [ + 214, + 25 + ], + [ + 215, + 25 + ], + [ + 217, + 23 + ], + [ + 218, + 23 + ], + [ + 224, + 18 + ], + [ + 226, + 22 + ], + [ + 229, + 23 + ], + [ + 237, + 29 + ], + [ + 244, + 22 + ], + [ + 249, + 26 + ], + [ + 253, + 25 + ], + [ + 256, + 19 + ], + [ + 261, + 18 + ], + [ + 264, + 22 + ], + [ + 273, + 29 + ], + [ + 277, + 38 + ], + [ + 281, + 23 + ], + [ + 311, + 26 + ], + [ + 314, + 26 + ], + [ + 317, + 27 + ], + [ + 333, + 16 + ], + [ + 339, + 16 + ], + [ + 343, + 15 + ], + [ + 346, + 15 + ], + [ + 351, + 25 + ], + [ + 359, + 25 + ], + [ + 367, + 21 + ], + [ + 378, + 14 + ], + [ + 387, + 16 + ], + [ + 393, + 12 + ], + [ + 396, + 22 + ], + [ + 406, + 27 + ], + [ + 416, + 14 + ], + [ + 422, + 23 + ], + [ + 425, + 23 + ], + [ + 429, + 21 + ], + [ + 435, + 19 + ], + [ + 446, + 34 + ], + [ + 454, + 28 + ], + [ + 466, + 34 + ], + [ + 477, + 34 + ], + [ + 482, + 34 + ], + [ + 493, + 28 + ], + [ + 502, + 25 + ], + [ + 505, + 29 + ], + [ + 513, + 25 + ], + [ + 521, + 29 + ], + [ + 532, + 29 + ], + [ + 538, + 28 + ], + [ + 542, + 34 + ], + [ + 561, + 34 + ], + [ + 581, + 34 + ], + [ + 587, + 16 + ], + [ + 593, + 14 + ], + [ + 599, + 20 + ], + [ + 605, + 23 + ], + [ + 617, + 35 + ], + [ + 651, + 35 + ], + [ + 661, + 27 + ], + [ + 664, + 33 + ], + [ + 672, + 26 + ], + [ + 678, + 14 + ], + [ + 684, + 14 + ], + [ + 688, + 17 + ], + [ + 704, + 22 + ], + [ + 740, + 18 + ], + [ + 758, + 20 + ], + [ + 761, + 19 + ], + [ + 764, + 32 + ], + [ + 771, + 18 + ], + [ + 793, + 20 + ], + [ + 804, + 33 + ], + [ + 810, + 31 + ], + [ + 818, + 21 + ], + [ + 826, + 13 + ], + [ + 836, + 14 + ], + [ + 839, + 18 + ], + [ + 848, + 19 + ], + [ + 858, + 19 + ], + [ + 867, + 22 + ], + [ + 876, + 22 + ], + [ + 882, + 17 + ], + [ + 891, + 14 + ], + [ + 912, + 15 + ], + [ + 916, + 33 + ], + [ + 954, + 18 + ], + [ + 957, + 19 + ], + [ + 960, + 27 + ], + [ + 963, + 24 + ], + [ + 966, + 25 + ], + [ + 970, + 32 + ], + [ + 974, + 13 + ], + [ + 979, + 12 + ], + [ + 984, + 31 + ], + [ + 989, + 21 + ], + [ + 1015, + 20 + ], + [ + 1061, + 21 + ], + [ + 1083, + 22 + ], + [ + 1088, + 30 + ], + [ + 1093, + 29 + ], + [ + 1097, + 23 + ], + [ + 1101, + 17 + ] + ], + "doc": "~Private~", + "range": [ + [ + 19, + 0 + ], + [ + 1102, + 31 + ] + ] + } + }, + "34": { + "24": { + "name": "verticalScrollMargin", + "type": "primitive", + "range": [ + [ + 34, + 24 + ], + [ + 34, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "35": { + "26": { + "name": "horizontalScrollMargin", + "type": "primitive", + "range": [ + [ + 35, + 26 + ], + [ + 35, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "36": { + "29": { + "name": "horizontalScrollbarHeight", + "type": "primitive", + "range": [ + [ + 36, + 29 + ], + [ + 36, + 30 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "37": { + "26": { + "name": "verticalScrollbarWidth", + "type": "primitive", + "range": [ + [ + 37, + 26 + ], + [ + 37, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "38": { + "36": { + "name": "scopedCharacterWidthsChangeCount", + "type": "primitive", + "range": [ + [ + 38, + 36 + ], + [ + 38, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "40": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 40, + 15 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 70, + 19 + ], + [ + 78, + 1 + ] + ], + "doc": "~Private~" + } + }, + "78": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 78, + 21 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 8 + ], + [ + 91, + 1 + ] + ], + "doc": "~Private~" + } + }, + "91": { + "24": { + "name": "updateAllScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 24 + ], + [ + 97, + 1 + ] + ], + "doc": "~Private~" + } + }, + "97": { + "15": { + "name": "emitChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventProperties", + "refreshMarkers" + ], + "range": [ + [ + 97, + 15 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "28": { + "name": "updateWrappedScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 28 + ], + [ + 115, + 1 + ] + ], + "doc": "~Private~" + } + }, + "115": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 115, + 14 + ], + [ + 115, + 62 + ] + ], + "doc": " Private: Sets the visibility of the tokenized buffer.\n\nvisible - A {Boolean} indicating of the tokenized buffer is shown " + } + }, + "117": { + "27": { + "name": "getVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 27 + ], + [ + 117, + 50 + ] + ], + "doc": "~Private~" + } + }, + "118": { + "27": { + "name": "setVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 118, + 27 + ], + [ + 118, + 74 + ] + ] + } + }, + "120": { + "29": { + "name": "getHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 120, + 29 + ], + [ + 120, + 54 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "29": { + "name": "setHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 121, + 29 + ], + [ + 121, + 80 + ] + ] + } + }, + "123": { + "32": { + "name": "getHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 123, + 32 + ], + [ + 123, + 60 + ] + ], + "doc": "~Private~" + } + }, + "124": { + "32": { + "name": "setHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 124, + 32 + ], + [ + 124, + 89 + ] + ] + } + }, + "126": { + "29": { + "name": "getVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 29 + ], + [ + 126, + 54 + ] + ], + "doc": "~Private~" + } + }, + "127": { + "29": { + "name": "setVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 127, + 29 + ], + [ + 127, + 80 + ] + ] + } + }, + "129": { + "13": { + "name": "getHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 129, + 13 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "13": { + "name": "setHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 138, + 13 + ], + [ + 138, + 32 + ] + ], + "doc": "~Private~" + } + }, + "140": { + "19": { + "name": "getClientHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 140, + 19 + ], + [ + 146, + 1 + ] + ], + "doc": "~Private~" + } + }, + "146": { + "18": { + "name": "getClientWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 146, + 18 + ], + [ + 152, + 1 + ] + ], + "doc": "~Private~" + } + }, + "152": { + "26": { + "name": "horizontallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 152, + 26 + ], + [ + 160, + 1 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "24": { + "name": "verticallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 160, + 24 + ], + [ + 167, + 1 + ] + ], + "doc": "~Private~" + } + }, + "167": { + "12": { + "name": "getWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 167, + 12 + ], + [ + 176, + 1 + ] + ], + "doc": "~Private~" + } + }, + "176": { + "12": { + "name": "setWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "newWidth" + ], + "range": [ + [ + 176, + 12 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "16": { + "name": "getScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 183, + 16 + ], + [ + 183, + 28 + ] + ], + "doc": "~Private~" + } + }, + "184": { + "16": { + "name": "setScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 184, + 16 + ], + [ + 190, + 1 + ] + ] + } + }, + "190": { + "19": { + "name": "getMaxScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 19 + ], + [ + 193, + 1 + ] + ], + "doc": "~Private~" + } + }, + "193": { + "19": { + "name": "getScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 193, + 19 + ], + [ + 193, + 41 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "19": { + "name": "setScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 194, + 19 + ], + [ + 198, + 1 + ] + ] + } + }, + "198": { + "17": { + "name": "getScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 198, + 17 + ], + [ + 198, + 30 + ] + ], + "doc": "~Private~" + } + }, + "199": { + "17": { + "name": "setScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 199, + 17 + ], + [ + 206, + 1 + ] + ] + } + }, + "206": { + "20": { + "name": "getMaxScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 206, + 20 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "18": { + "name": "getScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 209, + 18 + ], + [ + 209, + 40 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "18": { + "name": "setScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 210, + 18 + ], + [ + 214, + 1 + ] + ] + } + }, + "214": { + "25": { + "name": "getLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 214, + 25 + ], + [ + 214, + 46 + ] + ], + "doc": "~Private~" + } + }, + "215": { + "25": { + "name": "setLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 215, + 25 + ], + [ + 215, + 68 + ] + ] + } + }, + "217": { + "23": { + "name": "getDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 217, + 23 + ], + [ + 217, + 42 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "23": { + "name": "setDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultCharWidth" + ], + "range": [ + [ + 218, + 23 + ], + [ + 224, + 1 + ] + ] + } + }, + "224": { + "18": { + "name": "getCursorWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 18 + ], + [ + 224, + 21 + ] + ], + "doc": "~Private~" + } + }, + "226": { + "22": { + "name": "getScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char" + ], + "range": [ + [ + 226, + 22 + ], + [ + 229, + 1 + ] + ], + "doc": "~Private~" + } + }, + "229": { + "23": { + "name": "getScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames" + ], + "range": [ + [ + 229, + 23 + ], + [ + 237, + 1 + ] + ], + "doc": "~Private~" + } + }, + "237": { + "29": { + "name": "batchCharacterMeasurement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 237, + 29 + ], + [ + 244, + 1 + ] + ], + "doc": "~Private~" + } + }, + "244": { + "22": { + "name": "setScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char", + "width" + ], + "range": [ + [ + 244, + 22 + ], + [ + 249, + 1 + ] + ], + "doc": "~Private~" + } + }, + "249": { + "26": { + "name": "characterWidthsChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 249, + 26 + ], + [ + 253, + 1 + ] + ], + "doc": "~Private~" + } + }, + "253": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 253, + 25 + ], + [ + 256, + 1 + ] + ], + "doc": "~Private~" + } + }, + "256": { + "19": { + "name": "getScrollHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 19 + ], + [ + 261, + 1 + ] + ], + "doc": "~Private~" + } + }, + "261": { + "18": { + "name": "getScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 18 + ], + [ + 264, + 1 + ] + ], + "doc": "~Private~" + } + }, + "264": { + "22": { + "name": "getVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 264, + 22 + ], + [ + 273, + 1 + ] + ], + "doc": "~Private~" + } + }, + "273": { + "29": { + "name": "intersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 273, + 29 + ], + [ + 277, + 1 + ] + ], + "doc": "~Private~" + } + }, + "277": { + "38": { + "name": "selectionIntersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 277, + 38 + ], + [ + 281, + 1 + ] + ], + "doc": "~Private~" + } + }, + "281": { + "23": { + "name": "scrollToScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 281, + 23 + ], + [ + 311, + 1 + ] + ], + "doc": "~Private~" + } + }, + "311": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 311, + 26 + ], + [ + 314, + 1 + ] + ], + "doc": "~Private~" + } + }, + "314": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 314, + 26 + ], + [ + 317, + 1 + ] + ], + "doc": "~Private~" + } + }, + "317": { + "27": { + "name": "pixelRectForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 317, + 27 + ], + [ + 333, + 1 + ] + ], + "doc": "~Private~" + } + }, + "333": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 333, + 16 + ], + [ + 339, + 1 + ] + ], + "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " + } + }, + "339": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 339, + 16 + ], + [ + 343, + 1 + ] + ], + "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " + } + }, + "343": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 343, + 15 + ], + [ + 343, + 38 + ] + ], + "doc": "Deprecated: Use the softWrap property directly " + } + }, + "346": { + "15": { + "name": "getSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 15 + ], + [ + 346, + 26 + ] + ], + "doc": "Deprecated: Use the softWrap property directly " + } + }, + "351": { + "25": { + "name": "setEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorWidthInChars" + ], + "range": [ + [ + 351, + 25 + ], + [ + 359, + 1 + ] + ], + "doc": " Private: Set the number of characters that fit horizontally in the editor.\n\neditorWidthInChars - A {Number} of characters. " + } + }, + "359": { + "25": { + "name": "getEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 359, + 25 + ], + [ + 367, + 1 + ] + ], + "doc": "Private: Returns the editor width in characters for soft wrap. " + } + }, + "367": { + "21": { + "name": "getSoftWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 367, + 21 + ], + [ + 378, + 1 + ] + ], + "doc": "~Private~" + } + }, + "378": { + "14": { + "name": "lineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 378, + 14 + ], + [ + 387, + 1 + ] + ], + "doc": " Private: Gets the screen line for the given screen row.\n\nscreenRow - A {Number} indicating the screen row.\n\nReturns a {ScreenLine}. " + } + }, + "387": { + "16": { + "name": "linesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 387, + 16 + ], + [ + 393, + 1 + ] + ], + "doc": " Private: Gets the screen lines for the given screen row range.\n\nstartRow - A {Number} indicating the beginning screen row.\nendRow - A {Number} indicating the ending screen row.\n\nReturns an {Array} of {ScreenLine}s. " + } + }, + "393": { + "12": { + "name": "getLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 393, + 12 + ], + [ + 396, + 1 + ] + ], + "doc": " Private: Gets all the screen lines.\n\nReturns an {Array} of {ScreenLines}s. " + } + }, + "396": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 396, + 22 + ], + [ + 406, + 1 + ] + ], + "doc": "~Private~" + } + }, + "406": { + "27": { + "name": "bufferRowsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 406, + 27 + ], + [ + 416, + 1 + ] + ], + "doc": " Private: Given starting and ending screen rows, this returns an array of the\nbuffer rows corresponding to every screen row in the range\n\nstartScreenRow - The screen row {Number} to start at\nendScreenRow - The screen row {Number} to end at (default: the last screen row)\n\nReturns an {Array} of buffer rows as {Numbers}s. " + } + }, + "416": { + "14": { + "name": "createFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 416, + 14 + ], + [ + 422, + 1 + ] + ], + "doc": " Private: Creates a new fold between two row numbers.\n\nstartRow - The row {Number} to start folding at\nendRow - The row {Number} to end the fold\n\nReturns the new {Fold}. " + } + }, + "422": { + "23": { + "name": "isFoldedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 422, + 23 + ], + [ + 425, + 1 + ] + ], + "doc": "~Private~" + } + }, + "425": { + "23": { + "name": "isFoldedAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 425, + 23 + ], + [ + 429, + 1 + ] + ], + "doc": "~Private~" + } + }, + "429": { + "21": { + "name": "destroyFoldWithId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 429, + 21 + ], + [ + 435, + 1 + ] + ], + "doc": "Private: Destroys the fold with the given id " + } + }, + "435": { + "19": { + "name": "unfoldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 435, + 19 + ], + [ + 446, + 1 + ] + ], + "doc": " Private: Removes any folds found that contain the given buffer row.\n\nbufferRow - The buffer row {Number} to check against " + } + }, + "446": { + "34": { + "name": "largestFoldStartingAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 446, + 34 + ], + [ + 454, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold} or null if none exists. " + } + }, + "454": { + "28": { + "name": "foldsStartingAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 454, + 28 + ], + [ + 466, + 1 + ] + ], + "doc": " Public: Given a buffer row, this returns all folds that start there.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " + } + }, + "466": { + "34": { + "name": "largestFoldStartingAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 466, + 34 + ], + [ + 477, + 1 + ] + ], + "doc": " Private: Given a screen row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nscreenRow - A {Number} indicating the screen row\n\nReturns a {Fold}. " + } + }, + "477": { + "34": { + "name": "largestFoldContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 477, + 34 + ], + [ + 482, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns the largest fold that includes it.\n\nLargest is defined as the fold whose difference between its start and end rows\nis the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold}. " + } + }, + "482": { + "34": { + "name": "outermostFoldsInBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 482, + 34 + ], + [ + 493, + 1 + ] + ], + "doc": " Private: Returns the folds in the given row range (exclusive of end row) that are\nnot contained by any other folds. " + } + }, + "493": { + "28": { + "name": "foldsContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 493, + 28 + ], + [ + 502, + 1 + ] + ], + "doc": " Public: Given a buffer row, this returns folds that include it.\n\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " + } + }, + "502": { + "25": { + "name": "screenRowForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 502, + 25 + ], + [ + 505, + 1 + ] + ], + "doc": " Private: Given a buffer row, this converts it into a screen row.\n\nbufferRow - A {Number} representing a buffer row\n\nReturns a {Number}. " + } + }, + "505": { + "29": { + "name": "lastScreenRowForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 505, + 29 + ], + [ + 513, + 1 + ] + ], + "doc": "~Private~" + } + }, + "513": { + "25": { + "name": "bufferRowForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 513, + 25 + ], + [ + 521, + 1 + ] + ], + "doc": " Private: Given a screen row, this converts it into a buffer row.\n\nscreenRow - A {Number} representing a screen row\n\nReturns a {Number}. " + } + }, + "521": { + "29": { + "name": "screenRangeForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 521, + 29 + ], + [ + 532, + 1 + ] + ], + "doc": " Private: Given a buffer range, this converts it into a screen position.\n\nbufferRange - The {Range} to convert\n\nReturns a {Range}. " + } + }, + "532": { + "29": { + "name": "bufferRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 532, + 29 + ], + [ + 538, + 1 + ] + ], + "doc": " Private: Given a screen range, this converts it into a buffer position.\n\nscreenRange - The {Range} to convert\n\nReturns a {Range}. " + } + }, + "538": { + "28": { + "name": "pixelRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "clip" + ], + "range": [ + [ + 538, + 28 + ], + [ + 542, + 1 + ] + ], + "doc": "~Private~" + } + }, + "542": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "clip" + ], + "range": [ + [ + 542, + 34 + ], + [ + 561, + 1 + ] + ], + "doc": "~Private~" + } + }, + "561": { + "34": { + "name": "screenPositionForPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 561, + 34 + ], + [ + 581, + 1 + ] + ], + "doc": "~Private~" + } + }, + "581": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 581, + 34 + ], + [ + 587, + 1 + ] + ], + "doc": "~Private~" + } + }, + "587": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 587, + 16 + ], + [ + 593, + 1 + ] + ], + "doc": " Private: Gets the number of screen lines.\n\nReturns a {Number}. " + } + }, + "593": { + "14": { + "name": "getLastRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 593, + 14 + ], + [ + 599, + 1 + ] + ], + "doc": " Private: Gets the number of the last screen line.\n\nReturns a {Number}. " + } + }, + "599": { + "20": { + "name": "getMaxLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 599, + 20 + ], + [ + 605, + 1 + ] + ], + "doc": " Private: Gets the length of the longest screen line.\n\nReturns a {Number}. " + } + }, + "605": { + "23": { + "name": "getLongestScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 605, + 23 + ], + [ + 617, + 1 + ] + ], + "doc": " Private: Gets the row number of the longest screen line.\n\nReturn a {} " + } + }, + "617": { + "35": { + "name": "screenPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 617, + 35 + ], + [ + 651, + 1 + ] + ], + "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " + } + }, + "651": { + "35": { + "name": "bufferPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 651, + 35 + ], + [ + 661, + 1 + ] + ], + "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " + } + }, + "661": { + "27": { + "name": "scopesForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 661, + 27 + ], + [ + 664, + 1 + ] + ], + "doc": " Private: Retrieves the grammar's token scopes for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}\n\nReturns an {Array} of {String}s. " + } + }, + "664": { + "33": { + "name": "bufferRangeForScopeAtPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "position" + ], + "range": [ + [ + 664, + 33 + ], + [ + 672, + 1 + ] + ], + "doc": "~Private~" + } + }, + "672": { + "26": { + "name": "tokenForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 672, + 26 + ], + [ + 678, + 1 + ] + ], + "doc": " Private: Retrieves the grammar's token for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}.\n\nReturns a {Token}. " + } + }, + "678": { + "14": { + "name": "getGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 678, + 14 + ], + [ + 684, + 1 + ] + ], + "doc": " Private: Get the grammar for this buffer.\n\nReturns the current {Grammar} or the {NullGrammar}. " + } + }, + "684": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 684, + 14 + ], + [ + 688, + 1 + ] + ], + "doc": " Private: Sets the grammar for the buffer.\n\ngrammar - Sets the new grammar rules " + } + }, + "688": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 688, + 17 + ], + [ + 704, + 1 + ] + ], + "doc": "Private: Reloads the current grammar. " + } + }, + "704": { + "22": { + "name": "clipScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 704, + 22 + ], + [ + 740, + 1 + ] + ], + "doc": " Private: Given a position, this clips it to a real position.\n\nFor example, if `position`'s row exceeds the row count of the buffer,\nor if its column goes beyond a line's length, this \"sanitizes\" the value\nto a real position.\n\nposition - The {Point} to clip\noptions - A hash with the following values:\n wrapBeyondNewlines: if `true`, continues wrapping past newlines\n wrapAtSoftNewlines: if `true`, continues wrapping past soft newlines\n screenLine: if `true`, indicates that you're using a line number, not a row number\n\nReturns the new, clipped {Point}. Note that this could be the same as `position` if no clipping was performed. " + } + }, + "740": { + "18": { + "name": "findWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line", + "softWrapColumn" + ], + "range": [ + [ + 740, + 18 + ], + [ + 758, + 1 + ] + ], + "doc": " Private: Given a line, finds the point where it would wrap.\n\nline - The {String} to check\nsoftWrapColumn - The {Number} where you want soft wrapping to occur\n\nReturns a {Number} representing the `line` position where the wrap would take place.\nReturns `null` if a wrap wouldn't occur. " + } + }, + "758": { + "20": { + "name": "rangeForAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 758, + 20 + ], + [ + 761, + 1 + ] + ], + "doc": " Private: Calculates a {Range} representing the start of the {TextBuffer} until the end.\n\nReturns a {Range}. " + } + }, + "761": { + "19": { + "name": "decorationForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 761, + 19 + ], + [ + 764, + 1 + ] + ], + "doc": "~Private~" + } + }, + "764": { + "32": { + "name": "decorationsForScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 764, + 32 + ], + [ + 771, + 1 + ] + ], + "doc": "~Private~" + } + }, + "771": { + "18": { + "name": "decorateMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "decorationParams" + ], + "range": [ + [ + 771, + 18 + ], + [ + 793, + 1 + ] + ], + "doc": "~Private~" + } + }, + "793": { + "20": { + "name": "removeDecoration", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decoration" + ], + "range": [ + [ + 793, + 20 + ], + [ + 804, + 1 + ] + ], + "doc": "~Private~" + } + }, + "804": { + "33": { + "name": "removeAllDecorationsForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 804, + 33 + ], + [ + 810, + 1 + ] + ], + "doc": "~Private~" + } + }, + "810": { + "31": { + "name": "removedAllMarkerDecorations", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 810, + 31 + ], + [ + 818, + 1 + ] + ], + "doc": "~Private~" + } + }, + "818": { + "21": { + "name": "decorationUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decoration" + ], + "range": [ + [ + 818, + 21 + ], + [ + 826, + 1 + ] + ], + "doc": "~Private~" + } + }, + "826": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 826, + 13 + ], + [ + 836, + 1 + ] + ], + "doc": " Private: Retrieves a {DisplayBufferMarker} based on its id.\n\nid - A {Number} representing a marker id\n\nReturns the {DisplayBufferMarker} (if it exists). " + } + }, + "836": { + "14": { + "name": "getMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 836, + 14 + ], + [ + 839, + 1 + ] + ], + "doc": " Private: Retrieves the active markers in the buffer.\n\nReturns an {Array} of existing {DisplayBufferMarker}s. " + } + }, + "839": { + "18": { + "name": "getMarkerCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 839, + 18 + ], + [ + 848, + 1 + ] + ], + "doc": "~Private~" + } + }, + "848": { + "19": { + "name": "markScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 848, + 19 + ], + [ + 858, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given screen range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "858": { + "19": { + "name": "markBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range", + "options" + ], + "range": [ + [ + 858, + 19 + ], + [ + 867, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given buffer range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "867": { + "22": { + "name": "markScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 867, + 22 + ], + [ + 876, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given screen position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "876": { + "22": { + "name": "markBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 876, + 22 + ], + [ + 882, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given buffer position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "882": { + "17": { + "name": "destroyMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 882, + 17 + ], + [ + 891, + 1 + ] + ], + "doc": " Public: Removes the marker with the given id.\n\nid - The {Number} of the ID to remove " + } + }, + "891": { + "14": { + "name": "findMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 891, + 14 + ], + [ + 912, + 1 + ] + ], + "doc": " Private: Finds the first marker satisfying the given attributes\n\nRefer to {DisplayBuffer::findMarkers} for details.\n\nReturns a {DisplayBufferMarker} or null " + } + }, + "912": { + "15": { + "name": "findMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 912, + 15 + ], + [ + 916, + 1 + ] + ], + "doc": " Public: Find all markers satisfying a set of parameters.\n\nparams - An {Object} containing parameters that all returned markers must\n satisfy. Unreserved keys will be compared against the markers' custom\n properties. There are also the following reserved keys with special\n meaning for the query:\n :startBufferRow - A {Number}. Only returns markers starting at this row in\n buffer coordinates.\n :endBufferRow - A {Number}. Only returns markers ending at this row in\n buffer coordinates.\n :containsBufferRange - A {Range} or range-compatible {Array}. Only returns\n markers containing this range in buffer coordinates.\n :containsBufferPosition - A {Point} or point-compatible {Array}. Only\n returns markers containing this position in buffer coordinates.\n :containedInBufferRange - A {Range} or range-compatible {Array}. Only\n returns markers contained within this range.\n\nReturns an {Array} of {DisplayBufferMarker}s " + } + }, + "916": { + "33": { + "name": "translateToBufferMarkerParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 916, + 33 + ], + [ + 954, + 1 + ] + ], + "doc": "~Private~" + } + }, + "954": { + "18": { + "name": "findFoldMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 954, + 18 + ], + [ + 957, + 1 + ] + ], + "doc": "~Private~" + } + }, + "957": { + "19": { + "name": "findFoldMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 957, + 19 + ], + [ + 960, + 1 + ] + ], + "doc": "~Private~" + } + }, + "960": { + "27": { + "name": "getFoldMarkerAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 960, + 27 + ], + [ + 963, + 1 + ] + ], + "doc": "~Private~" + } + }, + "963": { + "24": { + "name": "pauseMarkerObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 963, + 24 + ], + [ + 966, + 1 + ] + ], + "doc": "~Private~" + } + }, + "966": { + "25": { + "name": "resumeMarkerObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 966, + 25 + ], + [ + 970, + 1 + ] + ], + "doc": "~Private~" + } + }, + "970": { + "32": { + "name": "refreshMarkerScreenPositions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 970, + 32 + ], + [ + 974, + 1 + ] + ], + "doc": "~Private~" + } + }, + "974": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 974, + 13 + ], + [ + 979, + 1 + ] + ], + "doc": "~Private~" + } + }, + "979": { + "12": { + "name": "logLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 979, + 12 + ], + [ + 984, + 1 + ] + ], + "doc": "~Private~" + } + }, + "984": { + "31": { + "name": "handleTokenizedBufferChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tokenizedBufferChange" + ], + "range": [ + [ + 984, + 31 + ], + [ + 989, + 1 + ] + ], + "doc": "~Private~" + } + }, + "989": { + "21": { + "name": "updateScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "endBufferRow", + "bufferDelta", + "options" + ], + "range": [ + [ + 989, + 21 + ], + [ + 1015, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1015": { + "20": { + "name": "buildScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "endBufferRow" + ], + "range": [ + [ + 1015, + 20 + ], + [ + 1061, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1061": { + "21": { + "name": "findMaxLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow", + "newScreenLines", + "screenDelta" + ], + "range": [ + [ + 1061, + 21 + ], + [ + 1083, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1083": { + "22": { + "name": "computeScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1083, + 22 + ], + [ + 1088, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1088": { + "30": { + "name": "handleBufferMarkersUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1088, + 30 + ], + [ + 1093, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1093": { + "29": { + "name": "handleBufferMarkerCreated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1093, + 29 + ], + [ + 1097, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1097": { + "23": { + "name": "createFoldForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1097, + 23 + ], + [ + 1101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1101": { + "17": { + "name": "foldForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1101, + 17 + ], + [ + 1102, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 19 + }, + "src/editor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "10": { + "type": "import", + "range": [ + [ + 0, + 10 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$$", + "exportsProperty": "$$$" + } + }, + "1": { + "13": { + "name": "GutterView", + "type": "import", + "range": [ + [ + 1, + 13 + ], + [ + 1, + 35 + ] + ], + "bindingType": "variable", + "path": "./gutter-view" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "3": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 3, + 9 + ], + [ + 3, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "4": { + "13": { + "name": "CursorView", + "type": "import", + "range": [ + [ + 4, + 13 + ], + [ + 4, + 35 + ] + ], + "bindingType": "variable", + "path": "./cursor-view" + } + }, + "5": { + "16": { + "name": "SelectionView", + "type": "import", + "range": [ + [ + 5, + 16 + ], + [ + 5, + 41 + ] + ], + "bindingType": "variable", + "path": "./selection-view" + } + }, + "6": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 6, + 5 + ], + [ + 6, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.0.4" + } + }, + "7": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "8": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 8, + 13 + ], + [ + 8, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer" + } + }, + "10": { + "15": { + "name": "MeasureRange", + "type": "function", + "range": [ + [ + 10, + 15 + ], + [ + 10, + 36 + ] + ] + } + }, + "11": { + "17": { + "type": "primitive", + "range": [ + [ + 11, + 17 + ], + [ + 11, + 59 + ] + ] + }, + "31": { + "name": "acceptNode", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 11, + 31 + ], + [ + 11, + 57 + ] + ], + "doc": null + } + }, + "12": { + "10": { + "type": "primitive", + "range": [ + [ + 12, + 10 + ], + [ + 12, + 21 + ] + ] + } + }, + "13": { + "17": { + "name": "1000", + "type": "primitive", + "range": [ + [ + 13, + 17 + ], + [ + 13, + 20 + ] + ] + } + }, + "41": { + "0": { + "type": "class", + "name": "EditorView", + "bindingType": "exports", + "classProperties": [ + [ + 42, + 24 + ], + [ + 44, + 4 + ], + [ + 61, + 17 + ], + [ + 63, + 12 + ], + [ + 76, + 12 + ], + [ + 1271, + 21 + ], + [ + 1485, + 18 + ], + [ + 1513, + 21 + ], + [ + 1529, + 14 + ], + [ + 1533, + 13 + ], + [ + 1537, + 23 + ] + ], + "prototypeProperties": [ + [ + 81, + 17 + ], + [ + 82, + 17 + ], + [ + 83, + 14 + ], + [ + 84, + 13 + ], + [ + 85, + 14 + ], + [ + 86, + 15 + ], + [ + 87, + 18 + ], + [ + 88, + 13 + ], + [ + 89, + 13 + ], + [ + 90, + 10 + ], + [ + 91, + 12 + ], + [ + 92, + 16 + ], + [ + 93, + 18 + ], + [ + 94, + 14 + ], + [ + 95, + 17 + ], + [ + 96, + 20 + ], + [ + 97, + 24 + ], + [ + 106, + 14 + ], + [ + 141, + 12 + ], + [ + 251, + 13 + ], + [ + 255, + 11 + ], + [ + 259, + 11 + ], + [ + 263, + 14 + ], + [ + 266, + 20 + ], + [ + 271, + 19 + ], + [ + 277, + 12 + ], + [ + 284, + 10 + ], + [ + 292, + 15 + ], + [ + 298, + 21 + ], + [ + 310, + 17 + ], + [ + 322, + 22 + ], + [ + 332, + 22 + ], + [ + 337, + 22 + ], + [ + 341, + 16 + ], + [ + 345, + 13 + ], + [ + 354, + 16 + ], + [ + 436, + 21 + ], + [ + 476, + 28 + ], + [ + 479, + 33 + ], + [ + 505, + 15 + ], + [ + 538, + 8 + ], + [ + 586, + 12 + ], + [ + 589, + 12 + ], + [ + 592, + 27 + ], + [ + 600, + 13 + ], + [ + 618, + 16 + ], + [ + 624, + 14 + ], + [ + 631, + 15 + ], + [ + 639, + 18 + ], + [ + 646, + 26 + ], + [ + 654, + 26 + ], + [ + 662, + 26 + ], + [ + 673, + 25 + ], + [ + 684, + 39 + ], + [ + 696, + 31 + ], + [ + 702, + 18 + ], + [ + 706, + 18 + ], + [ + 710, + 25 + ], + [ + 713, + 26 + ], + [ + 716, + 21 + ], + [ + 723, + 15 + ], + [ + 733, + 15 + ], + [ + 746, + 15 + ], + [ + 752, + 17 + ], + [ + 762, + 17 + ], + [ + 770, + 17 + ], + [ + 776, + 10 + ], + [ + 786, + 13 + ], + [ + 791, + 14 + ], + [ + 796, + 11 + ], + [ + 801, + 13 + ], + [ + 808, + 11 + ], + [ + 811, + 10 + ], + [ + 816, + 16 + ], + [ + 823, + 17 + ], + [ + 827, + 18 + ], + [ + 830, + 17 + ], + [ + 836, + 20 + ], + [ + 839, + 20 + ], + [ + 843, + 21 + ], + [ + 846, + 20 + ], + [ + 852, + 23 + ], + [ + 855, + 36 + ], + [ + 859, + 21 + ], + [ + 863, + 20 + ], + [ + 884, + 22 + ], + [ + 900, + 23 + ], + [ + 912, + 25 + ], + [ + 924, + 25 + ], + [ + 943, + 12 + ], + [ + 950, + 22 + ], + [ + 955, + 16 + ], + [ + 970, + 24 + ], + [ + 978, + 17 + ], + [ + 994, + 21 + ], + [ + 1006, + 22 + ], + [ + 1012, + 24 + ], + [ + 1023, + 25 + ], + [ + 1031, + 24 + ], + [ + 1034, + 14 + ], + [ + 1046, + 25 + ], + [ + 1057, + 23 + ], + [ + 1084, + 38 + ], + [ + 1102, + 23 + ], + [ + 1144, + 24 + ], + [ + 1158, + 20 + ], + [ + 1173, + 13 + ], + [ + 1178, + 19 + ], + [ + 1201, + 32 + ], + [ + 1214, + 28 + ], + [ + 1223, + 27 + ], + [ + 1234, + 22 + ], + [ + 1237, + 27 + ], + [ + 1241, + 32 + ], + [ + 1244, + 34 + ], + [ + 1249, + 21 + ], + [ + 1256, + 21 + ], + [ + 1298, + 32 + ], + [ + 1304, + 26 + ], + [ + 1313, + 27 + ], + [ + 1316, + 33 + ], + [ + 1325, + 34 + ], + [ + 1334, + 34 + ], + [ + 1348, + 32 + ], + [ + 1371, + 19 + ], + [ + 1416, + 26 + ], + [ + 1424, + 26 + ], + [ + 1432, + 28 + ], + [ + 1435, + 32 + ], + [ + 1440, + 32 + ], + [ + 1470, + 23 + ], + [ + 1481, + 23 + ], + [ + 1563, + 23 + ], + [ + 1573, + 25 + ], + [ + 1575, + 18 + ], + [ + 1578, + 18 + ], + [ + 1581, + 20 + ] + ], + "doc": " Public: Represents the entire visual pane in Atom.\n\nThe EditorView manages the {Editor}, which manages the file buffers.\n\n## Requiring in packages\n\n```coffee\n{EditorView} = require 'atom'\n\nminiEditorView = new EditorView(mini: true)\n```\n\n## Iterating over the open editor views\n\n```coffee\nfor editorView in atom.workspaceView.getEditorViews()\n console.log(editorView.getEditor().getPath())\n```\n\n## Subscribing to every current and future editor\n\n```coffee\natom.workspace.eachEditorView (editorView) ->\n console.log(editorView.getEditor().getPath())\n``` ", + "range": [ + [ + 41, + 0 + ], + [ + 1583, + 35 + ] + ] + } + }, + "42": { + "24": { + "name": "characterWidthCache", + "type": "primitive", + "range": [ + [ + 42, + 24 + ], + [ + 42, + 25 + ] + ], + "bindingType": "classProperty" + } + }, + "44": { + "4": { + "name": "configDefaults", + "type": "primitive", + "range": [ + [ + 44, + 4 + ], + [ + 59, + 32 + ] + ], + "bindingType": "classProperty" + } + }, + "61": { + "17": { + "name": "nextEditorId", + "type": "primitive", + "range": [ + [ + 61, + 17 + ], + [ + 61, + 17 + ] + ], + "bindingType": "classProperty" + } + }, + "63": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 63, + 12 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "12": { + "name": "classes", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 76, + 12 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "17": { + "name": "vScrollMargin", + "type": "primitive", + "range": [ + [ + 81, + 17 + ], + [ + 81, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "82": { + "17": { + "name": "hScrollMargin", + "type": "primitive", + "range": [ + [ + 82, + 17 + ], + [ + 82, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "83": { + "14": { + "name": "lineHeight", + "type": "primitive", + "range": [ + [ + 83, + 14 + ], + [ + 83, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "84": { + "13": { + "name": "charWidth", + "type": "primitive", + "range": [ + [ + 84, + 13 + ], + [ + 84, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "85": { + "14": { + "name": "charHeight", + "type": "primitive", + "range": [ + [ + 85, + 14 + ], + [ + 85, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "86": { + "15": { + "name": "cursorViews", + "type": "primitive", + "range": [ + [ + 86, + 15 + ], + [ + 86, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "87": { + "18": { + "name": "selectionViews", + "type": "primitive", + "range": [ + [ + 87, + 18 + ], + [ + 87, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "88": { + "13": { + "name": "lineCache", + "type": "primitive", + "range": [ + [ + 88, + 13 + ], + [ + 88, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "89": { + "13": { + "name": "isFocused", + "type": "primitive", + "range": [ + [ + 89, + 13 + ], + [ + 89, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "90": { + "10": { + "name": "editor", + "type": "primitive", + "range": [ + [ + 90, + 10 + ], + [ + 90, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "91": { + "12": { + "name": "attached", + "type": "primitive", + "range": [ + [ + 91, + 12 + ], + [ + 91, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "92": { + "16": { + "name": "lineOverdraw", + "type": "primitive", + "range": [ + [ + 92, + 16 + ], + [ + 92, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "93": { + "18": { + "name": "pendingChanges", + "type": "primitive", + "range": [ + [ + 93, + 18 + ], + [ + 93, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "94": { + "14": { + "name": "newCursors", + "type": "primitive", + "range": [ + [ + 94, + 14 + ], + [ + 94, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "95": { + "17": { + "name": "newSelections", + "type": "primitive", + "range": [ + [ + 95, + 17 + ], + [ + 95, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "96": { + "20": { + "name": "redrawOnReattach", + "type": "primitive", + "range": [ + [ + 96, + 20 + ], + [ + 96, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "97": { + "24": { + "name": "bottomPaddingInLines", + "type": "primitive", + "range": [ + [ + 97, + 24 + ], + [ + 97, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "106": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorOrOptions" + ], + "range": [ + [ + 106, + 14 + ], + [ + 141, + 1 + ] + ], + "doc": " Private: The constructor for setting up an `EditorView` instance.\n\neditorOrOptions - Either an {Editor}, or an object with one property, `mini`.\n If `mini` is `true`, a \"miniature\" `Editor` is constructed.\n Typically, this is ideal for scenarios where you need an Atom editor,\n but without all the chrome, like scrollbars, gutter, _e.t.c._.\n\n " + } + }, + "141": { + "12": { + "name": "bindKeys", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 12 + ], + [ + 251, + 1 + ] + ], + "doc": " Private: Sets up the core Atom commands.\n\nSome commands are excluded from mini-editors. " + } + }, + "251": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 251, + 13 + ], + [ + 255, + 1 + ] + ], + "doc": " Public: Get the underlying editor model for this view.\n\nReturns an {Editor}. " + } + }, + "255": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 255, + 11 + ], + [ + 259, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.getText} " + } + }, + "259": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 259, + 11 + ], + [ + 263, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.setText} " + } + }, + "263": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 263, + 14 + ], + [ + 266, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.insertText} " + } + }, + "266": { + "20": { + "name": "setHeightInLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "heightInLines" + ], + "range": [ + [ + 266, + 20 + ], + [ + 271, + 1 + ] + ], + "doc": "~Private~" + } + }, + "271": { + "19": { + "name": "setWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "widthInChars" + ], + "range": [ + [ + 271, + 19 + ], + [ + 277, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.setEditorWidthInChars} " + } + }, + "277": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 277, + 12 + ], + [ + 284, + 1 + ] + ], + "doc": " Public: Emulates the \"page down\" key, where the last row of a buffer scrolls\nto become the first. " + } + }, + "284": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 10 + ], + [ + 292, + 1 + ] + ], + "doc": " Public: Emulates the \"page up\" key, where the frst row of a buffer scrolls\nto become the last. " + } + }, + "292": { + "15": { + "name": "getPageRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 15 + ], + [ + 298, + 1 + ] + ], + "doc": " Private: Gets the number of actual page rows existing in an editor.\n\nReturns a {Number}. " + } + }, + "298": { + "21": { + "name": "setShowInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showInvisibles" + ], + "range": [ + [ + 298, + 21 + ], + [ + 310, + 1 + ] + ], + "doc": " Public: Set whether invisible characters are shown.\n\nshowInvisibles - A {Boolean} which, if `true`, show invisible characters. " + } + }, + "310": { + "17": { + "name": "setInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 310, + 17 + ], + [ + 322, + 1 + ] + ], + "doc": " Public: Defines which characters are invisible.\n\ninvisibles - An {Object} defining the invisible characters:\n :eol - The end of line invisible {String} (default: `\\u00ac`).\n :space - The space invisible {String} (default: `\\u00b7`).\n :tab - The tab invisible {String} (default: `\\u00bb`).\n :cr - The carriage return invisible {String} (default: `\\u00a4`). " + } + }, + "322": { + "22": { + "name": "setShowIndentGuide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showIndentGuide" + ], + "range": [ + [ + 322, + 22 + ], + [ + 332, + 1 + ] + ], + "doc": " Public: Sets whether you want to show the indentation guides.\n\nshowIndentGuide - A {Boolean} you can set to `true` if you want to see the\n indentation guides. " + } + }, + "332": { + "22": { + "name": "setPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "placeholderText" + ], + "range": [ + [ + 332, + 22 + ], + [ + 337, + 1 + ] + ], + "doc": " Public: Set the text to appear in the editor when it is empty.\n\nThis only affects mini editors.\n\nplaceholderText - A {String} of text to display when empty. " + } + }, + "337": { + "22": { + "name": "getPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 337, + 22 + ], + [ + 341, + 1 + ] + ], + "doc": "~Private~" + } + }, + "341": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 341, + 16 + ], + [ + 345, + 1 + ] + ], + "doc": "Private: Checkout the HEAD revision of this editor's file. " + } + }, + "345": { + "13": { + "name": "configure", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 345, + 13 + ], + [ + 354, + 1 + ] + ], + "doc": "~Private~" + } + }, + "354": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 354, + 16 + ], + [ + 436, + 1 + ] + ], + "doc": "~Private~" + } + }, + "436": { + "21": { + "name": "handleInputEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 436, + 21 + ], + [ + 476, + 1 + ] + ], + "doc": "~Private~" + } + }, + "476": { + "28": { + "name": "bringHiddenInputIntoView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 476, + 28 + ], + [ + 479, + 1 + ] + ], + "doc": "~Private~" + } + }, + "479": { + "33": { + "name": "selectOnMousemoveUntilMouseup", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 479, + 33 + ], + [ + 505, + 1 + ] + ], + "doc": "~Private~" + } + }, + "505": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 505, + 15 + ], + [ + 538, + 1 + ] + ], + "doc": "~Private~" + } + }, + "538": { + "8": { + "name": "edit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 538, + 8 + ], + [ + 586, + 1 + ] + ], + "doc": "~Private~" + } + }, + "586": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 586, + 12 + ], + [ + 589, + 1 + ] + ], + "doc": "~Private~" + } + }, + "589": { + "12": { + "name": "setModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 589, + 12 + ], + [ + 592, + 1 + ] + ], + "doc": "~Private~" + } + }, + "592": { + "27": { + "name": "showBufferConflictAlert", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 592, + 27 + ], + [ + 600, + 1 + ] + ], + "doc": "~Private~" + } + }, + "600": { + "13": { + "name": "scrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop", + "options" + ], + "range": [ + [ + 600, + 13 + ], + [ + 618, + 1 + ] + ], + "doc": "~Private~" + } + }, + "618": { + "16": { + "name": "scrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 618, + 16 + ], + [ + 624, + 1 + ] + ], + "doc": "~Private~" + } + }, + "624": { + "14": { + "name": "scrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 624, + 14 + ], + [ + 631, + 1 + ] + ], + "doc": "~Private~" + } + }, + "631": { + "15": { + "name": "scrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 631, + 15 + ], + [ + 639, + 1 + ] + ], + "doc": "~Private~" + } + }, + "639": { + "18": { + "name": "scrollToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 639, + 18 + ], + [ + 646, + 1 + ] + ], + "doc": "Public: Scrolls the editor to the bottom. " + } + }, + "646": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 646, + 26 + ], + [ + 654, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the position of the most recently added\ncursor if it isn't current on screen.\n\nThe editor is centered around the cursor's position if possible. " + } + }, + "654": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 654, + 26 + ], + [ + 662, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given buffer position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " + } + }, + "662": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 662, + 26 + ], + [ + 673, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " + } + }, + "673": { + "25": { + "name": "scrollToPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition", + "options" + ], + "range": [ + [ + 673, + 25 + ], + [ + 684, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given pixel position.\n\npixelPosition - An object that represents a pixel position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or\n {Point}.\noptions - A hash with the following keys:\n :center - if `true`, the position is scrolled such that it's in\n the center of the editor " + } + }, + "684": { + "39": { + "name": "highlightFoldsContainingBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 684, + 39 + ], + [ + 696, + 1 + ] + ], + "doc": " Public: Highlight all the folds within the given buffer range.\n\n\"Highlighting\" essentially just adds the `fold-selected` class to the line's\nDOM element.\n\nbufferRange - The {Range} to check. " + } + }, + "696": { + "31": { + "name": "saveScrollPositionForEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 696, + 31 + ], + [ + 702, + 1 + ] + ], + "doc": "~Private~" + } + }, + "702": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 702, + 18 + ], + [ + 706, + 1 + ] + ], + "doc": "Public: Toggle soft tabs on the edit session. " + } + }, + "706": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 706, + 18 + ], + [ + 710, + 1 + ] + ], + "doc": "Public: Toggle soft wrap on the edit session. " + } + }, + "710": { + "25": { + "name": "calculateWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 710, + 25 + ], + [ + 713, + 1 + ] + ], + "doc": "~Private~" + } + }, + "713": { + "26": { + "name": "calculateHeightInLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 713, + 26 + ], + [ + 716, + 1 + ] + ], + "doc": "~Private~" + } + }, + "716": { + "21": { + "name": "getScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 716, + 21 + ], + [ + 723, + 1 + ] + ], + "doc": "~Private~" + } + }, + "723": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 723, + 15 + ], + [ + 733, + 1 + ] + ], + "doc": " Public: Enables/disables soft wrap on the editor.\n\nsoftWrap - A {Boolean} which, if `true`, enables soft wrap " + } + }, + "733": { + "15": { + "name": "setFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 733, + 15 + ], + [ + 746, + 1 + ] + ], + "doc": " Public: Sets the font size for the editor.\n\nfontSize - A {Number} indicating the font size in pixels. " + } + }, + "746": { + "15": { + "name": "getFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 746, + 15 + ], + [ + 752, + 1 + ] + ], + "doc": " Public: Retrieves the font size for the editor.\n\nReturns a {Number} indicating the font size in pixels. " + } + }, + "752": { + "17": { + "name": "setFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 752, + 17 + ], + [ + 762, + 1 + ] + ], + "doc": " Public: Sets the font family for the editor.\n\nfontFamily - A {String} identifying the CSS `font-family`. " + } + }, + "762": { + "17": { + "name": "getFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 762, + 17 + ], + [ + 762, + 38 + ] + ], + "doc": " Public: Gets the font family for the editor.\n\nReturns a {String} identifying the CSS `font-family`. " + } + }, + "770": { + "17": { + "name": "setLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 770, + 17 + ], + [ + 776, + 1 + ] + ], + "doc": " Public: Sets the line height of the editor.\n\nCalling this method has no effect when called on a mini editor.\n\nlineHeight - A {Number} without a unit suffix identifying the CSS\n`line-height`. " + } + }, + "776": { + "10": { + "name": "redraw", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 776, + 10 + ], + [ + 786, + 1 + ] + ], + "doc": "Public: Redraw the editor " + } + }, + "786": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 786, + 13 + ], + [ + 791, + 1 + ] + ], + "doc": "Public: Split the editor view left. " + } + }, + "791": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 791, + 14 + ], + [ + 796, + 1 + ] + ], + "doc": "Public: Split the editor view right. " + } + }, + "796": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 796, + 11 + ], + [ + 801, + 1 + ] + ], + "doc": "Public: Split the editor view up. " + } + }, + "801": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 801, + 13 + ], + [ + 808, + 1 + ] + ], + "doc": "Public: Split the editor view down. " + } + }, + "808": { + "11": { + "name": "getPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 808, + 11 + ], + [ + 811, + 1 + ] + ], + "doc": " Public: Get this view's pane.\n\nReturns a {Pane}. " + } + }, + "811": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "keepData" + ], + "range": [ + [ + 811, + 10 + ], + [ + 816, + 1 + ] + ], + "doc": "~Private~" + } + }, + "816": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 816, + 16 + ], + [ + 823, + 1 + ] + ], + "doc": "~Private~" + } + }, + "823": { + "17": { + "name": "getCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 823, + 17 + ], + [ + 827, + 1 + ] + ], + "doc": "~Private~" + } + }, + "827": { + "18": { + "name": "getCursorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 827, + 18 + ], + [ + 830, + 1 + ] + ], + "doc": "~Private~" + } + }, + "830": { + "17": { + "name": "addCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursor", + "options" + ], + "range": [ + [ + 830, + 17 + ], + [ + 836, + 1 + ] + ], + "doc": "~Private~" + } + }, + "836": { + "20": { + "name": "removeCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 836, + 20 + ], + [ + 839, + 1 + ] + ], + "doc": "~Private~" + } + }, + "839": { + "20": { + "name": "getSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 839, + 20 + ], + [ + 843, + 1 + ] + ], + "doc": "~Private~" + } + }, + "843": { + "21": { + "name": "getSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 843, + 21 + ], + [ + 846, + 1 + ] + ], + "doc": "~Private~" + } + }, + "846": { + "20": { + "name": "addSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 846, + 20 + ], + [ + 852, + 1 + ] + ], + "doc": "~Private~" + } + }, + "852": { + "23": { + "name": "removeSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selectionView" + ], + "range": [ + [ + 852, + 23 + ], + [ + 855, + 1 + ] + ], + "doc": "~Private~" + } + }, + "855": { + "36": { + "name": "removeAllCursorAndSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 855, + 36 + ], + [ + 859, + 1 + ] + ], + "doc": "~Private~" + } + }, + "859": { + "21": { + "name": "appendToLinesView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 859, + 21 + ], + [ + 863, + 1 + ] + ], + "doc": "~Private~" + } + }, + "863": { + "20": { + "name": "scrollVertically", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition", + null + ], + "range": [ + [ + 863, + 20 + ], + [ + 884, + 1 + ] + ], + "doc": "Private: Scrolls the editor vertically to a given position. " + } + }, + "884": { + "22": { + "name": "scrollHorizontally", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 884, + 22 + ], + [ + 900, + 1 + ] + ], + "doc": "Private: Scrolls the editor horizontally to a given position. " + } + }, + "900": { + "23": { + "name": "calculateDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 900, + 23 + ], + [ + 912, + 1 + ] + ], + "doc": "~Private~" + } + }, + "912": { + "25": { + "name": "recalculateDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 912, + 25 + ], + [ + 924, + 1 + ] + ], + "doc": "~Private~" + } + }, + "924": { + "25": { + "name": "updateLayerDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollViewWidth" + ], + "range": [ + [ + 924, + 25 + ], + [ + 943, + 1 + ] + ], + "doc": "~Private~" + } + }, + "943": { + "12": { + "name": "isHidden", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 943, + 12 + ], + [ + 950, + 1 + ] + ], + "doc": "Private: Override for speed. The base function checks computedStyle, unnecessary here. " + } + }, + "950": { + "22": { + "name": "clearRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 950, + 22 + ], + [ + 955, + 1 + ] + ], + "doc": "~Private~" + } + }, + "955": { + "16": { + "name": "resetDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 955, + 16 + ], + [ + 970, + 1 + ] + ], + "doc": "~Private~" + } + }, + "970": { + "24": { + "name": "requestDisplayUpdate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 970, + 24 + ], + [ + 978, + 1 + ] + ], + "doc": "~Private~" + } + }, + "978": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 978, + 17 + ], + [ + 994, + 1 + ] + ], + "doc": "~Private~" + } + }, + "994": { + "21": { + "name": "updateCursorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 994, + 21 + ], + [ + 1006, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1006": { + "22": { + "name": "shouldUpdateCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 1006, + 22 + ], + [ + 1012, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1012": { + "24": { + "name": "updateSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1012, + 24 + ], + [ + 1023, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1023": { + "25": { + "name": "shouldUpdateSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selectionView" + ], + "range": [ + [ + 1023, + 25 + ], + [ + 1031, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1031": { + "24": { + "name": "syncCursorAnimations", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1031, + 24 + ], + [ + 1034, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1034": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "suppressAutoscroll" + ], + "range": [ + [ + 1034, + 14 + ], + [ + 1046, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1046": { + "25": { + "name": "updatePlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1046, + 25 + ], + [ + 1057, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1057": { + "23": { + "name": "updateRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollViewWidth" + ], + "range": [ + [ + 1057, + 23 + ], + [ + 1084, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1084": { + "38": { + "name": "computeSurroundingEmptyLineChanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "change" + ], + "range": [ + [ + 1084, + 38 + ], + [ + 1102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1102": { + "23": { + "name": "computeIntactRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1102, + 23 + ], + [ + 1144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1144": { + "24": { + "name": "truncateIntactRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges", + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1144, + 24 + ], + [ + 1158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1158": { + "20": { + "name": "clearDirtyRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges" + ], + "range": [ + [ + 1158, + 20 + ], + [ + 1173, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1173": { + "13": { + "name": "clearLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement" + ], + "range": [ + [ + 1173, + 13 + ], + [ + 1178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1178": { + "19": { + "name": "fillDirtyRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges", + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1178, + 19 + ], + [ + 1201, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1201": { + "32": { + "name": "updatePaddingOfRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1201, + 32 + ], + [ + 1214, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1214": { + "28": { + "name": "getFirstVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1214, + 28 + ], + [ + 1223, + 1 + ] + ], + "doc": " Public: Retrieves the number of the row that is visible and currently at the\ntop of the editor.\n\nReturns a {Number}. " + } + }, + "1223": { + "27": { + "name": "getLastVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1223, + 27 + ], + [ + 1234, + 1 + ] + ], + "doc": " Public: Retrieves the number of the row that is visible and currently at the\nbottom of the editor.\n\nReturns a {Number}. " + } + }, + "1234": { + "22": { + "name": "isScreenRowVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 1234, + 22 + ], + [ + 1237, + 1 + ] + ], + "doc": " Public: Given a row number, identifies if it is currently visible.\n\nrow - A row {Number} to check\n\nReturns a {Boolean}. " + } + }, + "1237": { + "27": { + "name": "handleScreenLinesChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "change" + ], + "range": [ + [ + 1237, + 27 + ], + [ + 1241, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1241": { + "32": { + "name": "buildLineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 1241, + 32 + ], + [ + 1244, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1244": { + "34": { + "name": "buildLineElementsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1244, + 34 + ], + [ + 1249, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1249": { + "21": { + "name": "htmlForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1249, + 21 + ], + [ + 1256, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1256": { + "21": { + "name": "htmlForScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine", + "screenRow" + ], + "range": [ + [ + 1256, + 21 + ], + [ + 1271, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1271": { + "21": { + "name": "buildIndentation", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "screenRow", + "editor" + ], + "range": [ + [ + 1271, + 21 + ], + [ + 1298, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1298": { + "32": { + "name": "buildHtmlEndOfLineInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine" + ], + "range": [ + [ + 1298, + 32 + ], + [ + 1304, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1304": { + "26": { + "name": "getEndOfLineInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine" + ], + "range": [ + [ + 1304, + 26 + ], + [ + 1313, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1313": { + "27": { + "name": "lineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 1313, + 27 + ], + [ + 1316, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1316": { + "33": { + "name": "toggleLineCommentsInSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1316, + 33 + ], + [ + 1325, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1325": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1325, + 34 + ], + [ + 1334, + 1 + ] + ], + "doc": " Public: Converts a buffer position to a pixel position.\n\nposition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " + } + }, + "1334": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1334, + 34 + ], + [ + 1348, + 1 + ] + ], + "doc": " Public: Converts a screen position to a pixel position.\n\nposition - An object that represents a screen position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " + } + }, + "1348": { + "32": { + "name": "positionLeftForLineAndColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement", + "screenRow", + "screenColumn" + ], + "range": [ + [ + 1348, + 32 + ], + [ + 1371, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1371": { + "19": { + "name": "measureToColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement", + "tokenizedLine", + "screenColumn" + ], + "range": [ + [ + 1371, + 19 + ], + [ + 1416, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1416": { + "26": { + "name": "getCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "char" + ], + "range": [ + [ + 1416, + 26 + ], + [ + 1424, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1424": { + "26": { + "name": "setCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "char", + "val" + ], + "range": [ + [ + 1424, + 26 + ], + [ + 1432, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1432": { + "28": { + "name": "clearCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1432, + 28 + ], + [ + 1435, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1435": { + "32": { + "name": "pixelOffsetForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1435, + 32 + ], + [ + 1440, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1440": { + "32": { + "name": "screenPositionFromMouseEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 1440, + 32 + ], + [ + 1470, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1470": { + "23": { + "name": "highlightCursorLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1470, + 23 + ], + [ + 1481, + 1 + ] + ], + "doc": "Private: Highlights the current line the cursor is on. " + } + }, + "1481": { + "23": { + "name": "copyPathToClipboard", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1481, + 23 + ], + [ + 1485, + 1 + ] + ], + "doc": "Private: Copies the current file path to the native clipboard. " + } + }, + "1485": { + "18": { + "name": "buildLineHtml", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 1485, + 18 + ], + [ + 1513, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1513": { + "21": { + "name": "updateScopeStack", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 1513, + 21 + ], + [ + 1529, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1529": { + "14": { + "name": "pushScope", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack", + "scope" + ], + "range": [ + [ + 1529, + 14 + ], + [ + 1533, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1533": { + "13": { + "name": "popScope", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack" + ], + "range": [ + [ + 1533, + 13 + ], + [ + 1537, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1537": { + "23": { + "name": "buildEmptyLineHtml", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "showIndentGuide", + "eolInvisibles", + "htmlEolInvisibles", + "indentation", + "editor", + "mini" + ], + "range": [ + [ + 1537, + 23 + ], + [ + 1563, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1563": { + "23": { + "name": "replaceSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "replaceFn" + ], + "range": [ + [ + 1563, + 23 + ], + [ + 1573, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1573": { + "25": { + "name": "consolidateSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 1573, + 25 + ], + [ + 1573, + 89 + ] + ], + "doc": "~Private~" + } + }, + "1575": { + "18": { + "name": "logCursorScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1575, + 18 + ], + [ + 1578, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1578": { + "18": { + "name": "logScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 1578, + 18 + ], + [ + 1581, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1581": { + "20": { + "name": "logRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1581, + 20 + ], + [ + 1583, + 35 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 41 + }, + "src/editor.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "3": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 3, + 12 + ], + [ + 3, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 6, + 8 + ], + [ + 6, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "7": { + "15": { + "name": "LanguageMode", + "type": "import", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 39 + ] + ], + "bindingType": "variable", + "path": "./language-mode" + } + }, + "8": { + "16": { + "name": "DisplayBuffer", + "type": "import", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 41 + ] + ], + "bindingType": "variable", + "path": "./display-buffer" + } + }, + "9": { + "9": { + "name": "Cursor", + "type": "import", + "range": [ + [ + 9, + 9 + ], + [ + 9, + 26 + ] + ], + "bindingType": "variable", + "path": "./cursor" + } + }, + "10": { + "12": { + "name": "Selection", + "type": "import", + "range": [ + [ + 10, + 12 + ], + [ + 10, + 32 + ] + ], + "bindingType": "variable", + "path": "./selection" + } + }, + "11": { + "24": { + "type": "primitive", + "range": [ + [ + 11, + 24 + ], + [ + 11, + 58 + ] + ] + } + }, + "138": { + "0": { + "type": "class", + "name": "Editor", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 143, + 17 + ], + [ + 144, + 32 + ], + [ + 145, + 18 + ], + [ + 146, + 10 + ], + [ + 147, + 16 + ], + [ + 148, + 11 + ], + [ + 149, + 14 + ], + [ + 150, + 28 + ], + [ + 151, + 20 + ], + [ + 152, + 26 + ], + [ + 161, + 15 + ], + [ + 190, + 19 + ], + [ + 197, + 21 + ], + [ + 202, + 21 + ], + [ + 215, + 28 + ], + [ + 228, + 16 + ], + [ + 234, + 13 + ], + [ + 242, + 8 + ], + [ + 258, + 12 + ], + [ + 271, + 16 + ], + [ + 281, + 14 + ], + [ + 288, + 25 + ], + [ + 292, + 21 + ], + [ + 296, + 15 + ], + [ + 301, + 15 + ], + [ + 304, + 18 + ], + [ + 307, + 15 + ], + [ + 312, + 15 + ], + [ + 315, + 18 + ], + [ + 323, + 14 + ], + [ + 328, + 16 + ], + [ + 331, + 16 + ], + [ + 339, + 16 + ], + [ + 361, + 22 + ], + [ + 369, + 19 + ], + [ + 381, + 27 + ], + [ + 396, + 30 + ], + [ + 414, + 22 + ], + [ + 418, + 21 + ], + [ + 428, + 8 + ], + [ + 435, + 10 + ], + [ + 437, + 16 + ], + [ + 442, + 23 + ], + [ + 447, + 11 + ], + [ + 450, + 11 + ], + [ + 453, + 11 + ], + [ + 458, + 18 + ], + [ + 461, + 16 + ], + [ + 464, + 13 + ], + [ + 467, + 10 + ], + [ + 470, + 20 + ], + [ + 473, + 24 + ], + [ + 479, + 25 + ], + [ + 482, + 24 + ], + [ + 486, + 20 + ], + [ + 494, + 27 + ], + [ + 500, + 20 + ], + [ + 506, + 26 + ], + [ + 509, + 8 + ], + [ + 512, + 21 + ], + [ + 515, + 30 + ], + [ + 518, + 14 + ], + [ + 520, + 11 + ], + [ + 524, + 22 + ], + [ + 536, + 35 + ], + [ + 546, + 35 + ], + [ + 551, + 29 + ], + [ + 556, + 29 + ], + [ + 573, + 22 + ], + [ + 576, + 20 + ], + [ + 579, + 22 + ], + [ + 582, + 22 + ], + [ + 585, + 26 + ], + [ + 588, + 20 + ], + [ + 591, + 27 + ], + [ + 593, + 25 + ], + [ + 605, + 27 + ], + [ + 614, + 31 + ], + [ + 618, + 26 + ], + [ + 624, + 19 + ], + [ + 626, + 18 + ], + [ + 633, + 14 + ], + [ + 639, + 17 + ], + [ + 643, + 22 + ], + [ + 649, + 22 + ], + [ + 668, + 10 + ], + [ + 674, + 13 + ], + [ + 678, + 30 + ], + [ + 683, + 30 + ], + [ + 690, + 27 + ], + [ + 696, + 27 + ], + [ + 701, + 10 + ], + [ + 708, + 21 + ], + [ + 714, + 21 + ], + [ + 718, + 14 + ], + [ + 722, + 22 + ], + [ + 726, + 23 + ], + [ + 734, + 33 + ], + [ + 739, + 26 + ], + [ + 744, + 30 + ], + [ + 751, + 18 + ], + [ + 758, + 19 + ], + [ + 765, + 20 + ], + [ + 779, + 13 + ], + [ + 798, + 8 + ], + [ + 803, + 8 + ], + [ + 812, + 18 + ], + [ + 817, + 20 + ], + [ + 822, + 21 + ], + [ + 826, + 11 + ], + [ + 830, + 13 + ], + [ + 836, + 24 + ], + [ + 846, + 17 + ], + [ + 852, + 19 + ], + [ + 862, + 25 + ], + [ + 865, + 25 + ], + [ + 870, + 14 + ], + [ + 874, + 21 + ], + [ + 878, + 39 + ], + [ + 884, + 25 + ], + [ + 893, + 23 + ], + [ + 901, + 23 + ], + [ + 909, + 23 + ], + [ + 913, + 34 + ], + [ + 917, + 34 + ], + [ + 921, + 34 + ], + [ + 926, + 14 + ], + [ + 979, + 16 + ], + [ + 1034, + 18 + ], + [ + 1060, + 17 + ], + [ + 1072, + 22 + ], + [ + 1075, + 23 + ], + [ + 1096, + 32 + ], + [ + 1137, + 18 + ], + [ + 1140, + 19 + ], + [ + 1144, + 13 + ], + [ + 1148, + 14 + ], + [ + 1170, + 15 + ], + [ + 1179, + 19 + ], + [ + 1188, + 19 + ], + [ + 1197, + 22 + ], + [ + 1206, + 22 + ], + [ + 1210, + 17 + ], + [ + 1216, + 18 + ], + [ + 1220, + 22 + ], + [ + 1224, + 14 + ], + [ + 1227, + 13 + ], + [ + 1233, + 29 + ], + [ + 1240, + 29 + ], + [ + 1245, + 13 + ], + [ + 1255, + 16 + ], + [ + 1264, + 16 + ], + [ + 1288, + 30 + ], + [ + 1301, + 26 + ], + [ + 1311, + 26 + ], + [ + 1321, + 27 + ], + [ + 1336, + 19 + ], + [ + 1342, + 19 + ], + [ + 1347, + 25 + ], + [ + 1355, + 31 + ], + [ + 1361, + 17 + ], + [ + 1363, + 27 + ], + [ + 1374, + 16 + ], + [ + 1381, + 20 + ], + [ + 1388, + 40 + ], + [ + 1394, + 28 + ], + [ + 1403, + 34 + ], + [ + 1415, + 27 + ], + [ + 1422, + 27 + ], + [ + 1428, + 22 + ], + [ + 1439, + 27 + ], + [ + 1446, + 27 + ], + [ + 1453, + 26 + ], + [ + 1460, + 26 + ], + [ + 1468, + 27 + ], + [ + 1476, + 27 + ], + [ + 1482, + 19 + ], + [ + 1490, + 24 + ], + [ + 1499, + 24 + ], + [ + 1505, + 34 + ], + [ + 1511, + 22 + ], + [ + 1515, + 16 + ], + [ + 1519, + 18 + ], + [ + 1523, + 18 + ], + [ + 1527, + 19 + ], + [ + 1533, + 19 + ], + [ + 1539, + 22 + ], + [ + 1543, + 37 + ], + [ + 1547, + 31 + ], + [ + 1551, + 36 + ], + [ + 1555, + 31 + ], + [ + 1559, + 25 + ], + [ + 1563, + 31 + ], + [ + 1567, + 25 + ], + [ + 1571, + 35 + ], + [ + 1575, + 36 + ], + [ + 1579, + 32 + ], + [ + 1583, + 40 + ], + [ + 1587, + 44 + ], + [ + 1596, + 26 + ], + [ + 1599, + 10 + ], + [ + 1604, + 12 + ], + [ + 1609, + 16 + ], + [ + 1612, + 18 + ], + [ + 1616, + 18 + ], + [ + 1619, + 15 + ], + [ + 1626, + 15 + ], + [ + 1636, + 26 + ], + [ + 1645, + 15 + ], + [ + 1652, + 14 + ], + [ + 1659, + 12 + ], + [ + 1666, + 14 + ], + [ + 1673, + 15 + ], + [ + 1679, + 13 + ], + [ + 1686, + 18 + ], + [ + 1693, + 27 + ], + [ + 1702, + 32 + ], + [ + 1709, + 21 + ], + [ + 1716, + 32 + ], + [ + 1723, + 28 + ], + [ + 1729, + 14 + ], + [ + 1740, + 21 + ], + [ + 1751, + 21 + ], + [ + 1759, + 28 + ], + [ + 1776, + 13 + ], + [ + 1791, + 13 + ], + [ + 1798, + 13 + ], + [ + 1809, + 13 + ], + [ + 1816, + 27 + ], + [ + 1823, + 21 + ], + [ + 1830, + 31 + ], + [ + 1834, + 14 + ], + [ + 1841, + 36 + ], + [ + 1848, + 40 + ], + [ + 1856, + 16 + ], + [ + 1863, + 16 + ], + [ + 1873, + 27 + ], + [ + 1879, + 28 + ], + [ + 1883, + 22 + ], + [ + 1889, + 31 + ], + [ + 1910, + 40 + ], + [ + 1919, + 14 + ], + [ + 1926, + 14 + ], + [ + 1930, + 17 + ], + [ + 1933, + 20 + ], + [ + 1944, + 12 + ], + [ + 1952, + 20 + ], + [ + 1958, + 21 + ], + [ + 1962, + 20 + ], + [ + 1964, + 11 + ], + [ + 1967, + 18 + ], + [ + 1969, + 22 + ], + [ + 1972, + 23 + ], + [ + 1976, + 23 + ], + [ + 1980, + 32 + ], + [ + 1983, + 27 + ], + [ + 1984, + 27 + ], + [ + 1986, + 29 + ], + [ + 1987, + 29 + ], + [ + 1989, + 25 + ], + [ + 1990, + 25 + ], + [ + 1992, + 29 + ], + [ + 1994, + 22 + ], + [ + 1995, + 22 + ], + [ + 1997, + 23 + ], + [ + 1999, + 25 + ], + [ + 2001, + 23 + ], + [ + 2002, + 23 + ], + [ + 2004, + 13 + ], + [ + 2005, + 13 + ], + [ + 2007, + 19 + ], + [ + 2009, + 12 + ], + [ + 2010, + 12 + ], + [ + 2012, + 16 + ], + [ + 2013, + 16 + ], + [ + 2015, + 19 + ], + [ + 2016, + 19 + ], + [ + 2018, + 17 + ], + [ + 2019, + 17 + ], + [ + 2021, + 18 + ], + [ + 2022, + 18 + ], + [ + 2024, + 19 + ], + [ + 2025, + 18 + ], + [ + 2027, + 22 + ], + [ + 2029, + 29 + ], + [ + 2031, + 38 + ], + [ + 2033, + 34 + ], + [ + 2035, + 34 + ], + [ + 2037, + 34 + ], + [ + 2039, + 27 + ], + [ + 2041, + 23 + ], + [ + 2043, + 26 + ], + [ + 2045, + 26 + ], + [ + 2047, + 26 + ], + [ + 2049, + 24 + ], + [ + 2051, + 32 + ], + [ + 2052, + 32 + ], + [ + 2054, + 29 + ], + [ + 2055, + 29 + ], + [ + 2058, + 12 + ] + ], + "doc": " Public: This class represents all essential editing state for a single\n{TextBuffer}, including cursor and selection positions, folds, and soft wraps.\nIf you're manipulating the state of an editor, use this class. If you're\ninterested in the visual appearance of editors, use {EditorView} instead.\n\nA single {TextBuffer} can belong to multiple editors. For example, if the\nsame file is open in two different panes, Atom creates a separate editor for\neach pane. If the buffer is manipulated the changes are reflected in both\neditors, but each maintains its own cursor position, folded lines, etc.\n\n## Accessing Editor Instances\n\nThe easiest way to get hold of `Editor` objects is by registering a callback\nwith `::eachEditor` on the `atom.workspace` global. Your callback will then\nbe called with all current editor instances and also when any editor is\ncreated in the future.\n\n```coffeescript\n atom.workspace.eachEditor (editor) ->\n editor.insertText('Hello World')\n```\n\n## Buffer vs. Screen Coordinates\n\nBecause editors support folds and soft-wrapping, the lines on screen don't\nalways match the lines in the buffer. For example, a long line that soft wraps\ntwice renders as three lines on screen, but only represents one line in the\nbuffer. Similarly, if rows 5-10 are folded, then row 6 on screen corresponds\nto row 11 in the buffer.\n\nYour choice of coordinates systems will depend on what you're trying to\nachieve. For example, if you're writing a command that jumps the cursor up or\ndown by 10 lines, you'll want to use screen coordinates because the user\nprobably wants to skip lines *on screen*. However, if you're writing a package\nthat jumps between method definitions, you'll want to work in buffer\ncoordinates.\n\n**When in doubt, just default to buffer coordinates**, then experiment with\nsoft wraps and folds to ensure your code interacts with them correctly.\n\n## Common Tasks\n\nThis is a subset of methods on this class. Refer to the complete summary for\nits full capabilities.\n\n### Cursors\n- {::setCursorBufferPosition}\n- {::setCursorScreenPosition}\n- {::moveCursorUp}\n- {::moveCursorDown}\n- {::moveCursorLeft}\n- {::moveCursorRight}\n- {::moveCursorToBeginningOfWord}\n- {::moveCursorToEndOfWord}\n- {::moveCursorToPreviousWordBoundary}\n- {::moveCursorToNextWordBoundary}\n- {::moveCursorToBeginningOfNextWord}\n- {::moveCursorToBeginningOfLine}\n- {::moveCursorToEndOfLine}\n- {::moveCursorToFirstCharacterOfLine}\n- {::moveCursorToTop}\n- {::moveCursorToBottom}\n\n### Selections\n- {::getSelectedBufferRange}\n- {::getSelectedBufferRanges}\n- {::setSelectedBufferRange}\n- {::setSelectedBufferRanges}\n- {::selectUp}\n- {::selectDown}\n- {::selectLeft}\n- {::selectRight}\n- {::selectToBeginningOfWord}\n- {::selectToEndOfWord}\n- {::selectToPreviousWordBoundary}\n- {::selectToNextWordBoundary}\n- {::selectWord}\n- {::selectToBeginningOfLine}\n- {::selectToEndOfLine}\n- {::selectToFirstCharacterOfLine}\n- {::selectToTop}\n- {::selectToBottom}\n- {::selectAll}\n- {::addSelectionForBufferRange}\n- {::addSelectionAbove}\n- {::addSelectionBelow}\n- {::splitSelectionsIntoLines}\n\n### Manipulating Text\n- {::getText}\n- {::getSelectedText}\n- {::setText}\n- {::setTextInBufferRange}\n- {::insertText}\n- {::insertNewline}\n- {::insertNewlineAbove}\n- {::insertNewlineBelow}\n- {::backspace}\n- {::deleteToBeginningOfWord}\n- {::deleteToBeginningOfLine}\n- {::delete}\n- {::deleteToEndOfLine}\n- {::deleteToEndOfWord}\n- {::deleteLine}\n- {::cutSelectedText}\n- {::cutToEndOfLine}\n- {::copySelectedText}\n- {::pasteText}\n\n### Undo, Redo, and Transactions\n- {::undo}\n- {::redo}\n- {::transact}\n- {::abortTransaction}\n\n### Markers\n- {::markBufferRange}\n- {::markScreenRange}\n- {::getMarker}\n- {::findMarkers}\n\n### Decorations\n- {::decorateMarker}\n- {::decorationsForScreenRowRange} ", + "range": [ + [ + 138, + 0 + ], + [ + 2060, + 16 + ] + ] + } + }, + "143": { + "17": { + "name": "deserializing", + "type": "primitive", + "range": [ + [ + 143, + 17 + ], + [ + 143, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "144": { + "32": { + "name": "callDisplayBufferCreatedHook", + "type": "primitive", + "range": [ + [ + 144, + 32 + ], + [ + 144, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "145": { + "18": { + "name": "registerEditor", + "type": "primitive", + "range": [ + [ + 145, + 18 + ], + [ + 145, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "146": { + "10": { + "name": "buffer", + "type": "primitive", + "range": [ + [ + 146, + 10 + ], + [ + 146, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "147": { + "16": { + "name": "languageMode", + "type": "primitive", + "range": [ + [ + 147, + 16 + ], + [ + 147, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "148": { + "11": { + "name": "cursors", + "type": "primitive", + "range": [ + [ + 148, + 11 + ], + [ + 148, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "149": { + "14": { + "name": "selections", + "type": "primitive", + "range": [ + [ + 149, + 14 + ], + [ + 149, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "150": { + "28": { + "name": "suppressSelectionMerging", + "type": "primitive", + "range": [ + [ + 150, + 28 + ], + [ + 150, + 32 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "151": { + "20": { + "name": "updateBatchDepth", + "type": "primitive", + "range": [ + [ + 151, + 20 + ], + [ + 151, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "152": { + "26": { + "name": "selectionFlashDuration", + "type": "primitive", + "range": [ + [ + 152, + 26 + ], + [ + 152, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "161": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 161, + 15 + ], + [ + 190, + 1 + ] + ], + "doc": "~Private~" + } + }, + "190": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 19 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 197, + 21 + ], + [ + 202, + 1 + ] + ], + "doc": "~Private~" + } + }, + "202": { + "21": { + "name": "subscribeToBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 202, + 21 + ], + [ + 215, + 1 + ] + ], + "doc": "~Private~" + } + }, + "215": { + "28": { + "name": "subscribeToDisplayBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 215, + 28 + ], + [ + 228, + 1 + ] + ], + "doc": "~Private~" + } + }, + "228": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 228, + 16 + ], + [ + 234, + 1 + ] + ], + "doc": "~Private~" + } + }, + "234": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 13 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 242, + 8 + ], + [ + 258, + 1 + ] + ], + "doc": "Private: Create an {Editor} with its initial state based on this object " + } + }, + "258": { + "12": { + "name": "getTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 258, + 12 + ], + [ + 271, + 1 + ] + ], + "doc": " Public: Get the title the editor's title for display in other parts of the\nUI such as the tabs.\n\nIf the editor's buffer is saved, its title is the file name. If it is\nunsaved, its title is \"untitled\".\n\nReturns a {String}. " + } + }, + "271": { + "16": { + "name": "getLongTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 271, + 16 + ], + [ + 281, + 1 + ] + ], + "doc": " Public: Get the editor's long title for display in other parts of the UI\nsuch as the window title.\n\nIf the editor's buffer is saved, its long title is formatted as\n\" - \". If it is unsaved, its title is \"untitled\"\n\nReturns a {String}. " + } + }, + "281": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 281, + 14 + ], + [ + 281, + 60 + ] + ], + "doc": "Private: Controls visibility based on the given {Boolean}. " + } + }, + "288": { + "25": { + "name": "setEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorWidthInChars" + ], + "range": [ + [ + 288, + 25 + ], + [ + 292, + 1 + ] + ], + "doc": " Private: Set the number of characters that can be displayed horizontally in the\neditor.\n\neditorWidthInChars - A {Number} representing the width of the {EditorView}\nin characters. " + } + }, + "292": { + "21": { + "name": "getSoftWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 21 + ], + [ + 292, + 57 + ] + ], + "doc": "Public: Sets the column at which column will soft wrap " + } + }, + "296": { + "15": { + "name": "getSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 296, + 15 + ], + [ + 296, + 26 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether softTabs are enabled for this\neditor. " + } + }, + "301": { + "15": { + "name": "setSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 301, + 15 + ], + [ + 301, + 38 + ] + ], + "doc": " Public: Enable or disable soft tabs for this editor.\n\nsoftTabs - A {Boolean} " + } + }, + "304": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 304, + 18 + ], + [ + 304, + 52 + ] + ], + "doc": "Public: Toggle soft tabs for this editor " + } + }, + "307": { + "15": { + "name": "getSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 307, + 15 + ], + [ + 307, + 45 + ] + ], + "doc": "Public: Get whether soft wrap is enabled for this editor. " + } + }, + "312": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 312, + 15 + ], + [ + 312, + 64 + ] + ], + "doc": " Public: Enable or disable soft wrap for this editor.\n\nsoftWrap - A {Boolean} " + } + }, + "315": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 18 + ], + [ + 315, + 52 + ] + ], + "doc": "Public: Toggle soft wrap for this editor " + } + }, + "323": { + "14": { + "name": "getTabText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 323, + 14 + ], + [ + 323, + 37 + ] + ], + "doc": " Public: Get the text representing a single level of indent.\n\nIf soft tabs are enabled, the text is composed of N spaces, where N is the\ntab length. Otherwise the text is a tab character (`\\t`).\n\nReturns a {String}. " + } + }, + "328": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 328, + 16 + ], + [ + 328, + 47 + ] + ], + "doc": " Public: Get the on-screen length of tab characters.\n\nReturns a {Number}. " + } + }, + "331": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 331, + 16 + ], + [ + 331, + 68 + ] + ], + "doc": "Public: Set the on-screen length of tab characters. " + } + }, + "339": { + "16": { + "name": "usesSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 339, + 16 + ], + [ + 361, + 1 + ] + ], + "doc": " Public: Determine if the buffer uses hard or soft tabs.\n\nReturns `true` if the first non-comment line with leading whitespace starts\nwith a space character. Returns `false` if it starts with a hard tab (`\\t`).\n\nReturns a {Boolean}, " + } + }, + "361": { + "22": { + "name": "clipBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 361, + 22 + ], + [ + 361, + 77 + ] + ], + "doc": " Public: Clip the given {Point} to a valid position in the buffer.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the buffer, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " + } + }, + "369": { + "19": { + "name": "clipBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 369, + 19 + ], + [ + 369, + 53 + ] + ], + "doc": " Public: Clip the start and end of the given range to valid positions in the\nbuffer. See {::clipBufferPosition} for more information.\n\nrange - The {Range} to clip.\n\nReturns a {Range}. " + } + }, + "381": { + "27": { + "name": "indentationForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 381, + 27 + ], + [ + 396, + 1 + ] + ], + "doc": " Public: Get the indentation level of the given a buffer row.\n\nReturns how deeply the given row is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nbufferRow - A {Number} indicating the buffer row.\n\nReturns a {Number}. " + } + }, + "396": { + "30": { + "name": "setIndentationForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "newLevel", + null + ], + "range": [ + [ + 396, + 30 + ], + [ + 414, + 1 + ] + ], + "doc": " Public: Set the indentation level for the given buffer row.\n\nInserts or removes hard tabs or spaces based on the soft tabs and tab length\nsettings of this editor in order to bring it to the given indentation level.\nNote that if soft tabs are enabled and the tab length is 2, a row with 4\nleading spaces would have an indentation level of 2.\n\nbufferRow - A {Number} indicating the buffer row.\nnewLevel - A {Number} indicating the new indentation level.\noptions - An {Object} with the following keys:\n :preserveLeadingWhitespace - true to preserve any whitespace already at\n the beginning of the line (default: false). " + } + }, + "414": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 414, + 22 + ], + [ + 418, + 1 + ] + ], + "doc": " Public: Get the indentation level of the given line of text.\n\nReturns how deeply the given line is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nline - A {String} representing a line of text.\n\nReturns a {Number}. " + } + }, + "418": { + "21": { + "name": "buildIndentString", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "number", + "column" + ], + "range": [ + [ + 418, + 21 + ], + [ + 428, + 1 + ] + ], + "doc": "Private: Constructs the string used for tabs. " + } + }, + "428": { + "8": { + "name": "save", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 8 + ], + [ + 428, + 24 + ] + ], + "doc": " Public: Saves the editor's text buffer.\n\nSee {TextBuffer::save} for more details. " + } + }, + "435": { + "10": { + "name": "saveAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 435, + 10 + ], + [ + 435, + 47 + ] + ], + "doc": " Public: Saves the editor's text buffer as the given path.\n\nSee {TextBuffer::saveAs} for more details.\n\nfilePath - A {String} path. " + } + }, + "437": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 437, + 16 + ], + [ + 442, + 1 + ] + ], + "doc": "~Private~" + } + }, + "442": { + "23": { + "name": "copyPathToClipboard", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 442, + 23 + ], + [ + 447, + 1 + ] + ], + "doc": "Private: Copies the current file path to the native clipboard. " + } + }, + "447": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 447, + 11 + ], + [ + 447, + 30 + ] + ], + "doc": "Public: Returns the {String} path of this editor's text buffer. " + } + }, + "450": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 450, + 11 + ], + [ + 450, + 30 + ] + ], + "doc": "Public: Returns a {String} representing the entire contents of the editor. " + } + }, + "453": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 453, + 11 + ], + [ + 453, + 41 + ] + ], + "doc": "Public: Replaces the entire contents of the buffer with the given {String}. " + } + }, + "458": { + "18": { + "name": "getTextInRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 458, + 18 + ], + [ + 458, + 57 + ] + ], + "doc": " Private: Get the text in the given {Range}.\n\nReturns a {String}. " + } + }, + "461": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 461, + 16 + ], + [ + 461, + 40 + ] + ], + "doc": "Public: Returns a {Number} representing the number of lines in the editor. " + } + }, + "464": { + "13": { + "name": "getBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 464, + 13 + ], + [ + 464, + 22 + ] + ], + "doc": "Private: Retrieves the current {TextBuffer}. " + } + }, + "467": { + "10": { + "name": "getUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 467, + 10 + ], + [ + 467, + 28 + ] + ], + "doc": "Public: Retrieves the current buffer's URI. " + } + }, + "470": { + "20": { + "name": "isBufferRowBlank", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 470, + 20 + ], + [ + 470, + 63 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.isRowBlank} " + } + }, + "473": { + "24": { + "name": "isBufferRowCommented", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 473, + 24 + ], + [ + 479, + 1 + ] + ], + "doc": "Public: Determine if the given row is entirely a comment " + } + }, + "479": { + "25": { + "name": "nextNonBlankBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 479, + 25 + ], + [ + 479, + 73 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.nextNonBlankRow} " + } + }, + "482": { + "24": { + "name": "getEofBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 482, + 24 + ], + [ + 482, + 50 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.getEndPosition} " + } + }, + "486": { + "20": { + "name": "getLastBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 486, + 20 + ], + [ + 486, + 42 + ] + ], + "doc": " Public: Returns a {Number} representing the last zero-indexed buffer row\nnumber of the editor. " + } + }, + "494": { + "27": { + "name": "bufferRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + null + ], + "range": [ + [ + 494, + 27 + ], + [ + 494, + 96 + ] + ], + "doc": " Private: Returns the range for the given buffer row.\n\nrow - A row {Number}.\noptions - An options hash with an `includeNewline` key.\n\nReturns a {Range}. " + } + }, + "500": { + "20": { + "name": "lineForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 500, + 20 + ], + [ + 500, + 51 + ] + ], + "doc": " Public: Returns a {String} representing the contents of the line at the\ngiven buffer row.\n\nrow - A {Number} representing a zero-indexed buffer row. " + } + }, + "506": { + "26": { + "name": "lineLengthForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 506, + 26 + ], + [ + 506, + 63 + ] + ], + "doc": " Public: Returns a {Number} representing the line length for the given\nbuffer row, exclusive of its line-ending character(s).\n\nrow - A {Number} indicating the buffer row. " + } + }, + "509": { + "8": { + "name": "scan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 509, + 8 + ], + [ + 509, + 41 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.scan} " + } + }, + "512": { + "21": { + "name": "scanInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 512, + 21 + ], + [ + 512, + 61 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.scanInRange} " + } + }, + "515": { + "30": { + "name": "backwardsScanInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 515, + 30 + ], + [ + 515, + 79 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.backwardsScanInRange} " + } + }, + "518": { + "14": { + "name": "isModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 518, + 14 + ], + [ + 518, + 36 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.isModified} " + } + }, + "520": { + "11": { + "name": "isEmpty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 520, + 11 + ], + [ + 520, + 30 + ] + ], + "doc": "~Private~" + } + }, + "524": { + "22": { + "name": "shouldPromptToSave", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 524, + 22 + ], + [ + 524, + 74 + ] + ], + "doc": " Public: Determine whether the user should be prompted to save before closing\nthis editor. " + } + }, + "536": { + "35": { + "name": "screenPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 536, + 35 + ], + [ + 536, + 134 + ] + ], + "doc": " Public: Convert a position in buffer-coordinates to screen-coordinates.\n\nThe position is clipped via {::clipBufferPosition} prior to the conversion.\nThe position is also clipped via {::clipScreenPosition} following the\nconversion, which only makes a difference when `options` are supplied.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " + } + }, + "546": { + "35": { + "name": "bufferPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 546, + 35 + ], + [ + 546, + 134 + ] + ], + "doc": " Public: Convert a position in screen-coordinates to buffer-coordinates.\n\nThe position is clipped via {::clipScreenPosition} prior to the conversion.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " + } + }, + "551": { + "29": { + "name": "screenRangeForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 551, + 29 + ], + [ + 551, + 98 + ] + ], + "doc": " Public: Convert a range in buffer-coordinates to screen-coordinates.\n\nReturns a {Range}. " + } + }, + "556": { + "29": { + "name": "bufferRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 556, + 29 + ], + [ + 556, + 98 + ] + ], + "doc": " Public: Convert a range in screen-coordinates to buffer-coordinates.\n\nReturns a {Range}. " + } + }, + "573": { + "22": { + "name": "clipScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 573, + 22 + ], + [ + 573, + 108 + ] + ], + "doc": " Public: Clip the given {Point} to a valid position on screen.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the screen, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at screen row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " + } + }, + "576": { + "20": { + "name": "lineForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 576, + 20 + ], + [ + 576, + 58 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.lineForRow} " + } + }, + "579": { + "22": { + "name": "linesForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 579, + 22 + ], + [ + 579, + 76 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.linesForRows} " + } + }, + "582": { + "22": { + "name": "getScreenLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 582, + 22 + ], + [ + 582, + 53 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getLineCount} " + } + }, + "585": { + "26": { + "name": "getMaxScreenLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 585, + 26 + ], + [ + 585, + 61 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getMaxLineLength} " + } + }, + "588": { + "20": { + "name": "getLastScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 588, + 20 + ], + [ + 588, + 49 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getLastRow} " + } + }, + "591": { + "27": { + "name": "bufferRowsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 591, + 27 + ], + [ + 591, + 104 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.bufferRowsForScreenRows} " + } + }, + "593": { + "25": { + "name": "bufferRowForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 593, + 25 + ], + [ + 593, + 74 + ] + ], + "doc": "~Private~" + } + }, + "605": { + "27": { + "name": "scopesForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 605, + 27 + ], + [ + 605, + 100 + ] + ], + "doc": " Public: Get the syntactic scopes for the given position in buffer\ncoordinates.\n\nFor example, if called with a position inside the parameter list of an\nanonymous CoffeeScript function, the method returns the following array:\n`[\"source.coffee\", \"meta.inline.function.coffee\", \"variable.parameter.function.coffee\"]`\n\nbufferPosition - A {Point} or {Array} of [row, column].\n\nReturns an {Array} of {String}s. " + } + }, + "614": { + "31": { + "name": "bufferRangeForScopeAtCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 614, + 31 + ], + [ + 618, + 1 + ] + ], + "doc": " Public: Get the range in buffer coordinates of all tokens surrounding the\ncursor that match the given scope selector.\n\nFor example, if you wanted to find the string surrounding the cursor, you\ncould call `editor.bufferRangeForScopeAtCursor(\".string.quoted\")`.\n\nReturns a {Range}. " + } + }, + "618": { + "26": { + "name": "tokenForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 618, + 26 + ], + [ + 618, + 98 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.tokenForBufferPosition} " + } + }, + "624": { + "19": { + "name": "getCursorScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 624, + 19 + ], + [ + 624, + 45 + ] + ], + "doc": " Public: Get the syntactic scopes for the most recently added cursor's\nposition. See {::scopesForBufferPosition} for more information.\n\nReturns an {Array} of {String}s. " + } + }, + "626": { + "18": { + "name": "logCursorScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 626, + 18 + ], + [ + 633, + 1 + ] + ], + "doc": "~Private~" + } + }, + "633": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 633, + 14 + ], + [ + 639, + 1 + ] + ], + "doc": " Public: For each selection, replace the selected text with the given text.\n\ntext - A {String} representing the text to insert.\noptions - See {Selection::insertText}. " + } + }, + "639": { + "17": { + "name": "insertNewline", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 639, + 17 + ], + [ + 643, + 1 + ] + ], + "doc": "Public: For each selection, replace the selected text with a newline. " + } + }, + "643": { + "22": { + "name": "insertNewlineBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 643, + 22 + ], + [ + 649, + 1 + ] + ], + "doc": "Public: For each cursor, insert a newline at beginning the following line. " + } + }, + "649": { + "22": { + "name": "insertNewlineAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 649, + 22 + ], + [ + 668, + 1 + ] + ], + "doc": "Public: For each cursor, insert a newline at the end of the preceding line. " + } + }, + "668": { + "10": { + "name": "indent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 668, + 10 + ], + [ + 674, + 1 + ] + ], + "doc": " Private: Indent all lines intersecting selections. See {Selection::indent} for more\ninformation. " + } + }, + "674": { + "13": { + "name": "backspace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 674, + 13 + ], + [ + 678, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete the character\npreceding the cursor. Otherwise delete the selected text. " + } + }, + "678": { + "30": { + "name": "backspaceToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 678, + 30 + ], + [ + 683, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " + } + }, + "683": { + "30": { + "name": "backspaceToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 683, + 30 + ], + [ + 690, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " + } + }, + "690": { + "27": { + "name": "deleteToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 690, + 27 + ], + [ + 696, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word that precede the cursor. Otherwise delete the\nselected text. " + } + }, + "696": { + "27": { + "name": "deleteToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 696, + 27 + ], + [ + 701, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing line that precede the cursor. Otherwise delete the\nselected text. " + } + }, + "701": { + "10": { + "name": "delete", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 701, + 10 + ], + [ + 708, + 1 + ] + ] + } + }, + "708": { + "21": { + "name": "deleteToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 708, + 21 + ], + [ + 714, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is not empty, deletes the\nselection; otherwise, deletes all characters of the containing line\nfollowing the cursor. If the cursor is already at the end of the line,\ndeletes the following newline. " + } + }, + "714": { + "21": { + "name": "deleteToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 714, + 21 + ], + [ + 718, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word following the cursor. Otherwise delete the selected\ntext. " + } + }, + "718": { + "14": { + "name": "deleteLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 718, + 14 + ], + [ + 722, + 1 + ] + ], + "doc": "Public: Delete all lines intersecting selections. " + } + }, + "722": { + "22": { + "name": "indentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 722, + 22 + ], + [ + 726, + 1 + ] + ], + "doc": "Public: Indent rows intersecting selections by one level. " + } + }, + "726": { + "23": { + "name": "outdentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 726, + 23 + ], + [ + 734, + 1 + ] + ], + "doc": "Public: Outdent rows intersecting selections by one level. " + } + }, + "734": { + "33": { + "name": "toggleLineCommentsInSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 734, + 33 + ], + [ + 739, + 1 + ] + ], + "doc": " Public: Toggle line comments for rows intersecting selections.\n\nIf the current grammar doesn't support comments, does nothing.\n\nReturns an {Array} of the commented {Range}s. " + } + }, + "739": { + "26": { + "name": "autoIndentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 739, + 26 + ], + [ + 744, + 1 + ] + ], + "doc": " Public: Indent rows intersecting selections based on the grammar's suggested\nindent level. " + } + }, + "744": { + "30": { + "name": "normalizeTabsInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 744, + 30 + ], + [ + 751, + 1 + ] + ], + "doc": " Private: If soft tabs are enabled, convert all hard tabs to soft tabs in the given\n{Range}. " + } + }, + "751": { + "18": { + "name": "cutToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 751, + 18 + ], + [ + 758, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, cut all characters\nof the containing line following the cursor. Otherwise cut the selected\ntext. " + } + }, + "758": { + "19": { + "name": "cutSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 758, + 19 + ], + [ + 765, + 1 + ] + ], + "doc": "Public: For each selection, cut the selected text. " + } + }, + "765": { + "20": { + "name": "copySelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 765, + 20 + ], + [ + 779, + 1 + ] + ], + "doc": "Public: For each selection, copy the selected text. " + } + }, + "779": { + "13": { + "name": "pasteText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 779, + 13 + ], + [ + 798, + 1 + ] + ], + "doc": " Public: For each selection, replace the selected text with the contents of\nthe clipboard.\n\nIf the clipboard contains the same number of selections as the current\neditor, each selection will be replaced with the content of the\ncorresponding clipboard selection text.\n\noptions - See {Selection::insertText}. " + } + }, + "798": { + "8": { + "name": "undo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 798, + 8 + ], + [ + 803, + 1 + ] + ], + "doc": "Public: Undo the last change. " + } + }, + "803": { + "8": { + "name": "redo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 803, + 8 + ], + [ + 812, + 1 + ] + ], + "doc": "Public: Redo the last change. " + } + }, + "812": { + "18": { + "name": "foldCurrentRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 812, + 18 + ], + [ + 817, + 1 + ] + ], + "doc": " Public: Fold the most recent cursor's row based on its indentation level.\n\nThe fold will extend from the nearest preceding line with a lower\nindentation level up to the nearest following row with a lower indentation\nlevel. " + } + }, + "817": { + "20": { + "name": "unfoldCurrentRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 817, + 20 + ], + [ + 822, + 1 + ] + ], + "doc": "Public: Unfold the most recent cursor's row by one level. " + } + }, + "822": { + "21": { + "name": "foldSelectedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 822, + 21 + ], + [ + 826, + 1 + ] + ], + "doc": "Public: For each selection, fold the rows it intersects. " + } + }, + "826": { + "11": { + "name": "foldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 826, + 11 + ], + [ + 830, + 1 + ] + ], + "doc": "Public: Fold all foldable lines. " + } + }, + "830": { + "13": { + "name": "unfoldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 830, + 13 + ], + [ + 836, + 1 + ] + ], + "doc": "Public: Unfold all existing folds. " + } + }, + "836": { + "24": { + "name": "foldAllAtIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "level" + ], + "range": [ + [ + 836, + 24 + ], + [ + 846, + 1 + ] + ], + "doc": " Public: Fold all foldable lines at the given indent level.\n\nlevel - A {Number}. " + } + }, + "846": { + "17": { + "name": "foldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 846, + 17 + ], + [ + 852, + 1 + ] + ], + "doc": " Public: Fold the given row in buffer coordinates based on its indentation\nlevel.\n\nIf the given row is foldable, the fold will begin there. Otherwise, it will\nbegin at the first foldable row preceding the given row.\n\nbufferRow - A {Number}. " + } + }, + "852": { + "19": { + "name": "unfoldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 852, + 19 + ], + [ + 862, + 1 + ] + ], + "doc": " Public: Unfold all folds containing the given row in buffer coordinates.\n\nbufferRow - A {Number} " + } + }, + "862": { + "25": { + "name": "isFoldableAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 862, + 25 + ], + [ + 865, + 1 + ] + ], + "doc": " Public: Determine whether the given row in buffer coordinates is foldable.\n\nA *foldable* row is a row that *starts* a row range that can be folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "865": { + "25": { + "name": "isFoldableAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 865, + 25 + ], + [ + 870, + 1 + ] + ], + "doc": "~Private~" + } + }, + "870": { + "14": { + "name": "createFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 870, + 14 + ], + [ + 874, + 1 + ] + ], + "doc": "TODO: Rename to foldRowRange? " + } + }, + "874": { + "21": { + "name": "destroyFoldWithId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 874, + 21 + ], + [ + 878, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.destroyFoldWithId} " + } + }, + "878": { + "39": { + "name": "destroyFoldsIntersectingBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 878, + 39 + ], + [ + 884, + 1 + ] + ], + "doc": "Private: Remove any {Fold}s found that intersect the given buffer row. " + } + }, + "884": { + "25": { + "name": "toggleFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 884, + 25 + ], + [ + 893, + 1 + ] + ], + "doc": " Public: Fold the given buffer row if it isn't currently folded, and unfold\nit otherwise. " + } + }, + "893": { + "23": { + "name": "isFoldedAtCursorRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 893, + 23 + ], + [ + 901, + 1 + ] + ], + "doc": " Public: Determine whether the most recently added cursor's row is folded.\n\nReturns a {Boolean}. " + } + }, + "901": { + "23": { + "name": "isFoldedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 901, + 23 + ], + [ + 909, + 1 + ] + ], + "doc": " Public: Determine whether the given row in buffer coordinates is folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "909": { + "23": { + "name": "isFoldedAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 909, + 23 + ], + [ + 913, + 1 + ] + ], + "doc": " Public: Determine whether the given row in screen coordinates is folded.\n\nscreenRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "913": { + "34": { + "name": "largestFoldContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 913, + 34 + ], + [ + 917, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.largestFoldContainingBufferRow} " + } + }, + "917": { + "34": { + "name": "largestFoldStartingAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 917, + 34 + ], + [ + 921, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.largestFoldStartingAtScreenRow} " + } + }, + "921": { + "34": { + "name": "outermostFoldsInBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 921, + 34 + ], + [ + 926, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.outermostFoldsForBufferRowRange} " + } + }, + "926": { + "14": { + "name": "moveLineUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 926, + 14 + ], + [ + 979, + 1 + ] + ], + "doc": " Private: Move lines intersection the most recent selection up by one row in screen\ncoordinates. " + } + }, + "979": { + "16": { + "name": "moveLineDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 979, + 16 + ], + [ + 1034, + 1 + ] + ], + "doc": " Private: Move lines intersecting the most recent selection down by one row in screen\ncoordinates. " + } + }, + "1034": { + "18": { + "name": "duplicateLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1034, + 18 + ], + [ + 1060, + 1 + ] + ], + "doc": "Private: Duplicate the most recent cursor's current line. " + } + }, + "1060": { + "17": { + "name": "duplicateLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1060, + 17 + ], + [ + 1072, + 1 + ] + ], + "doc": "Deprecated: Use {::duplicateLines} instead. " + } + }, + "1072": { + "22": { + "name": "mutateSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1072, + 22 + ], + [ + 1075, + 1 + ] + ], + "doc": " Public: Mutate the text of all the selections in a single transaction.\n\nAll the changes made inside the given {Function} can be reverted with a\nsingle call to {::undo}.\n\nfn - A {Function} that will be called once for each {Selection}. The first\n argument will be a {Selection} and the second argument will be the\n {Number} index of that selection. " + } + }, + "1075": { + "23": { + "name": "replaceSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options", + "fn" + ], + "range": [ + [ + 1075, + 23 + ], + [ + 1096, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1096": { + "32": { + "name": "decorationsForScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 1096, + 32 + ], + [ + 1137, + 1 + ] + ], + "doc": " Public: Get all the decorations within a screen row range.\n\nstartScreenRow - the {Number} beginning screen row\nendScreenRow - the {Number} end screen row (inclusive)\n\nReturns an {Object} of decorations in the form\n `{1: [{id: 10, type: 'gutter', class: 'someclass'}], 2: ...}`\n where the keys are {Marker} IDs, and the values are an array of decoration\n params objects attached to the marker.\nReturns an empty object when no decorations are found " + } + }, + "1137": { + "18": { + "name": "decorateMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "decorationParams" + ], + "range": [ + [ + 1137, + 18 + ], + [ + 1140, + 1 + ] + ], + "doc": " Public: Adds a decoration that tracks a {Marker}. When the marker moves,\nis invalidated, or is destroyed, the decoration will be updated to reflect\nthe marker's state.\n\nThere are three types of supported decorations:\n* `line`: Adds your CSS `class` to the line nodes within the range\n marked by the marker\n* `gutter`: Adds your CSS `class` to the line number nodes within the\n range marked by the marker\n* `highlight`: Adds a new highlight div to the editor surrounding the\n range marked by the marker. When the user selects text, the selection is\n visualized with a highlight decoration internally. The structure of this\n highlight will be:\n ```html\n
    \">\n \n
    \n
    \n ```\n\nmarker - A {Marker} you want this decoration to follow.\ndecorationParams - An {Object} representing the decoration eg. `{type: 'gutter', class: 'linter-error'}`\n :type - There are a few supported decoration types:\n * `gutter`: Applies the decoration to the line numbers spanned by the marker.\n * `line`: Applies the decoration to the lines spanned by the marker.\n * `highlight`: Applies the decoration to a \"highlight\" behind the marked range.\n :class - This CSS class will be applied to the decorated line number,\n line, or highlight.\n :onlyHead - If `true`, the decoration will only be applied to the head\n of the marker. Only applicable to the `line` and `gutter` types.\n :onlyEmpty - If `true`, the decoration will only be applied if the\n associated marker is empty. Only applicable to the `line` and\n `gutter` types.\n :onlyNonEmpty - If `true`, the decoration will only be applied if the\n associated marker is non-empty. Only applicable to the `line` and\n gutter types.\n\nReturns a {Decoration} object " + } + }, + "1140": { + "19": { + "name": "decorationForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 1140, + 19 + ], + [ + 1144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1144": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 1144, + 13 + ], + [ + 1148, + 1 + ] + ], + "doc": "Public: Get the {DisplayBufferMarker} for the given marker id. " + } + }, + "1148": { + "14": { + "name": "getMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1148, + 14 + ], + [ + 1170, + 1 + ] + ], + "doc": "Public: Get all {DisplayBufferMarker}s. " + } + }, + "1170": { + "15": { + "name": "findMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "properties" + ], + "range": [ + [ + 1170, + 15 + ], + [ + 1179, + 1 + ] + ], + "doc": " Public: Find all {DisplayBufferMarker}s that match the given properties.\n\nThis method finds markers based on the given properties. Markers can be\nassociated with custom properties that will be compared with basic equality.\nIn addition, there are several special properties that will be compared\nwith the range of the markers rather than their properties.\n\nproperties - An {Object} containing properties that each returned marker\n must satisfy. Markers can be associated with custom properties, which are\n compared with basic equality. In addition, several reserved properties\n can be used to filter markers based on their current range:\n :startBufferRow - Only include markers starting at this row in buffer\n coordinates.\n :endBufferRow - Only include markers ending at this row in buffer\n coordinates.\n :containsBufferRange - Only include markers containing this {Range} or\n in range-compatible {Array} in buffer coordinates.\n :containsBufferPosition - Only include markers containing this {Point}\n or {Array} of `[row, column]` in buffer coordinates. " + } + }, + "1179": { + "19": { + "name": "markScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1179, + 19 + ], + [ + 1188, + 1 + ] + ], + "doc": " Public: Mark the given range in screen coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1188": { + "19": { + "name": "markBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1188, + 19 + ], + [ + 1197, + 1 + ] + ], + "doc": " Public: Mark the given range in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1197": { + "22": { + "name": "markScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1197, + 22 + ], + [ + 1206, + 1 + ] + ], + "doc": " Public: Mark the given position in screen coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1206": { + "22": { + "name": "markBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1206, + 22 + ], + [ + 1210, + 1 + ] + ], + "doc": " Public: Mark the given position in buffer coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1210": { + "17": { + "name": "destroyMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1210, + 17 + ], + [ + 1216, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.destroyMarker} " + } + }, + "1216": { + "18": { + "name": "getMarkerCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1216, + 18 + ], + [ + 1220, + 1 + ] + ], + "doc": " Public: Get the number of markers in this editor's buffer.\n\nReturns a {Number}. " + } + }, + "1220": { + "22": { + "name": "hasMultipleCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1220, + 22 + ], + [ + 1224, + 1 + ] + ], + "doc": "Public: Determine if there are multiple cursors. " + } + }, + "1224": { + "14": { + "name": "getCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1224, + 14 + ], + [ + 1224, + 38 + ] + ], + "doc": "Public: Get an Array of all {Cursor}s. " + } + }, + "1227": { + "13": { + "name": "getCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1227, + 13 + ], + [ + 1233, + 1 + ] + ], + "doc": "Public: Get the most recently added {Cursor}. " + } + }, + "1233": { + "29": { + "name": "addCursorAtScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 1233, + 29 + ], + [ + 1240, + 1 + ] + ], + "doc": " Public: Add a cursor at the position in screen coordinates.\n\nReturns a {Cursor}. " + } + }, + "1240": { + "29": { + "name": "addCursorAtBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 1240, + 29 + ], + [ + 1245, + 1 + ] + ], + "doc": " Public: Add a cursor at the given position in buffer coordinates.\n\nReturns a {Cursor}. " + } + }, + "1245": { + "13": { + "name": "addCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1245, + 13 + ], + [ + 1255, + 1 + ] + ], + "doc": "Private: Add a cursor based on the given {DisplayBufferMarker}. " + } + }, + "1255": { + "16": { + "name": "removeCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursor" + ], + "range": [ + [ + 1255, + 16 + ], + [ + 1264, + 1 + ] + ], + "doc": "Private: Remove the given cursor from this editor. " + } + }, + "1264": { + "16": { + "name": "addSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "options" + ], + "range": [ + [ + 1264, + 16 + ], + [ + 1288, + 1 + ] + ], + "doc": " Private: Add a {Selection} based on the given {DisplayBufferMarker}.\n\nmarker - The {DisplayBufferMarker} to highlight\noptions - An {Object} that pertains to the {Selection} constructor.\n\nReturns the new {Selection}. " + } + }, + "1288": { + "30": { + "name": "addSelectionForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 1288, + 30 + ], + [ + 1301, + 1 + ] + ], + "doc": " Public: Add a selection for the given range in buffer coordinates.\n\nbufferRange - A {Range}\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation.\n\nReturns the added {Selection}. " + } + }, + "1301": { + "26": { + "name": "setSelectedBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 1301, + 26 + ], + [ + 1311, + 1 + ] + ], + "doc": " Public: Set the selected range in buffer coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nbufferRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1311": { + "26": { + "name": "setSelectedScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 1311, + 26 + ], + [ + 1321, + 1 + ] + ], + "doc": " Public: Set the selected range in screen coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nscreenRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1321": { + "27": { + "name": "setSelectedBufferRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRanges", + "options" + ], + "range": [ + [ + 1321, + 27 + ], + [ + 1336, + 1 + ] + ], + "doc": " Public: Set the selected ranges in buffer coordinates. If there are multiple\nselections, they are replaced by new selections with the given ranges.\n\nbufferRanges - An {Array} of {Range}s or range-compatible {Array}s.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1336": { + "19": { + "name": "removeSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 1336, + 19 + ], + [ + 1342, + 1 + ] + ], + "doc": "Private: Remove the given selection. " + } + }, + "1342": { + "19": { + "name": "clearSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1342, + 19 + ], + [ + 1347, + 1 + ] + ], + "doc": " Private: Reduce one or more selections to a single empty selection based on the most\nrecently added cursor. " + } + }, + "1347": { + "25": { + "name": "consolidateSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1347, + 25 + ], + [ + 1355, + 1 + ] + ], + "doc": "Private: Reduce multiple selections to the most recently added selection. " + } + }, + "1355": { + "31": { + "name": "selectionScreenRangeChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 1355, + 31 + ], + [ + 1361, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1361": { + "17": { + "name": "getSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1361, + 17 + ], + [ + 1361, + 44 + ] + ], + "doc": " Public: Get current {Selection}s.\n\nReturns: An {Array} of {Selection}s. " + } + }, + "1363": { + "27": { + "name": "selectionsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1363, + 27 + ], + [ + 1374, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1374": { + "16": { + "name": "getSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 1374, + 16 + ], + [ + 1381, + 1 + ] + ], + "doc": " Public: Get the most recent {Selection} or the selection at the given\nindex.\n\nindex - Optional. The index of the selection to return, based on the order\n in which the selections were added.\n\nReturns a {Selection}.\nor the at the specified index. " + } + }, + "1381": { + "20": { + "name": "getLastSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1381, + 20 + ], + [ + 1388, + 1 + ] + ], + "doc": " Public: Get the most recently added {Selection}.\n\nReturns a {Selection}. " + } + }, + "1388": { + "40": { + "name": "getSelectionsOrderedByBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1388, + 40 + ], + [ + 1394, + 1 + ] + ], + "doc": " Public: Get all {Selection}s, ordered by their position in the buffer\ninstead of the order in which they were added.\n\nReturns an {Array} of {Selection}s. " + } + }, + "1394": { + "28": { + "name": "getLastSelectionInBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1394, + 28 + ], + [ + 1403, + 1 + ] + ], + "doc": " Public: Get the last {Selection} based on its position in the buffer.\n\nReturns a {Selection}. " + } + }, + "1403": { + "34": { + "name": "selectionIntersectsBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 1403, + 34 + ], + [ + 1415, + 1 + ] + ], + "doc": " Public: Determine if a given range in buffer coordinates intersects a\nselection.\n\nbufferRange - A {Range} or range-compatible {Array}.\n\nReturns a {Boolean}. " + } + }, + "1415": { + "27": { + "name": "setCursorScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "options" + ], + "range": [ + [ + 1415, + 27 + ], + [ + 1422, + 1 + ] + ], + "doc": " Public: Move the cursor to the given position in screen coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " + } + }, + "1422": { + "27": { + "name": "getCursorScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1422, + 27 + ], + [ + 1428, + 1 + ] + ], + "doc": " Public: Get the position of the most recently added cursor in screen\ncoordinates.\n\nReturns a {Point}. " + } + }, + "1428": { + "22": { + "name": "getCursorScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1428, + 22 + ], + [ + 1439, + 1 + ] + ], + "doc": " Public: Get the row of the most recently added cursor in screen coordinates.\n\nReturns the screen row {Number}. " + } + }, + "1439": { + "27": { + "name": "setCursorBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "options" + ], + "range": [ + [ + 1439, + 27 + ], + [ + 1446, + 1 + ] + ], + "doc": " Public: Move the cursor to the given position in buffer coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " + } + }, + "1446": { + "27": { + "name": "getCursorBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1446, + 27 + ], + [ + 1453, + 1 + ] + ], + "doc": " Public: Get the position of the most recently added cursor in buffer\ncoordinates.\n\nReturns a {Point}. " + } + }, + "1453": { + "26": { + "name": "getSelectedScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1453, + 26 + ], + [ + 1460, + 1 + ] + ], + "doc": " Public: Get the {Range} of the most recently added selection in screen\ncoordinates.\n\nReturns a {Range}. " + } + }, + "1460": { + "26": { + "name": "getSelectedBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1460, + 26 + ], + [ + 1468, + 1 + ] + ], + "doc": " Public: Get the {Range} of the most recently added selection in buffer\ncoordinates.\n\nReturns a {Range}. " + } + }, + "1468": { + "27": { + "name": "getSelectedBufferRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1468, + 27 + ], + [ + 1476, + 1 + ] + ], + "doc": " Public: Get the {Range}s of all selections in buffer coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " + } + }, + "1476": { + "27": { + "name": "getSelectedScreenRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1476, + 27 + ], + [ + 1482, + 1 + ] + ], + "doc": " Public: Get the {Range}s of all selections in screen coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " + } + }, + "1482": { + "19": { + "name": "getSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1482, + 19 + ], + [ + 1490, + 1 + ] + ], + "doc": " Public: Get the selected text of the most recently added selection.\n\nReturns a {String}. " + } + }, + "1490": { + "24": { + "name": "getTextInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 1490, + 24 + ], + [ + 1499, + 1 + ] + ], + "doc": " Public: Get the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\n\nReturns a {String}. " + } + }, + "1499": { + "24": { + "name": "setTextInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range", + "text", + "normalizeLineEndings" + ], + "range": [ + [ + 1499, + 24 + ], + [ + 1499, + 124 + ] + ], + "doc": " Public: Set the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\ntext - A {String}\n\nReturns the {Range} of the newly-inserted text. " + } + }, + "1505": { + "34": { + "name": "getCurrentParagraphBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1505, + 34 + ], + [ + 1511, + 1 + ] + ], + "doc": " Public: Get the {Range} of the paragraph surrounding the most recently added\ncursor.\n\nReturns a {Range}. " + } + }, + "1511": { + "22": { + "name": "getWordUnderCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 1511, + 22 + ], + [ + 1515, + 1 + ] + ], + "doc": " Public: Returns the word surrounding the most recently added cursor.\n\noptions - See {Cursor::getBeginningOfCurrentWordBufferPosition}. " + } + }, + "1515": { + "16": { + "name": "moveCursorUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineCount" + ], + "range": [ + [ + 1515, + 16 + ], + [ + 1519, + 1 + ] + ], + "doc": "Public: Move every cursor up one row in screen coordinates. " + } + }, + "1519": { + "18": { + "name": "moveCursorDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineCount" + ], + "range": [ + [ + 1519, + 18 + ], + [ + 1523, + 1 + ] + ], + "doc": "Public: Move every cursor down one row in screen coordinates. " + } + }, + "1523": { + "18": { + "name": "moveCursorLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1523, + 18 + ], + [ + 1527, + 1 + ] + ], + "doc": "Public: Move every cursor left one column. " + } + }, + "1527": { + "19": { + "name": "moveCursorRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1527, + 19 + ], + [ + 1533, + 1 + ] + ], + "doc": "Public: Move every cursor right one column. " + } + }, + "1533": { + "19": { + "name": "moveCursorToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1533, + 19 + ], + [ + 1539, + 1 + ] + ], + "doc": " Public: Move every cursor to the top of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " + } + }, + "1539": { + "22": { + "name": "moveCursorToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1539, + 22 + ], + [ + 1543, + 1 + ] + ], + "doc": " Public: Move every cursor to the bottom of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " + } + }, + "1543": { + "37": { + "name": "moveCursorToBeginningOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1543, + 37 + ], + [ + 1547, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its line in screen coordinates. " + } + }, + "1547": { + "31": { + "name": "moveCursorToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1547, + 31 + ], + [ + 1551, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its line in buffer coordinates. " + } + }, + "1551": { + "36": { + "name": "moveCursorToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1551, + 36 + ], + [ + 1555, + 1 + ] + ], + "doc": "Public: Move every cursor to the first non-whitespace character of its line. " + } + }, + "1555": { + "31": { + "name": "moveCursorToEndOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1555, + 31 + ], + [ + 1559, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its line in screen coordinates. " + } + }, + "1559": { + "25": { + "name": "moveCursorToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1559, + 25 + ], + [ + 1563, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its line in buffer coordinates. " + } + }, + "1563": { + "31": { + "name": "moveCursorToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1563, + 31 + ], + [ + 1567, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its surrounding word. " + } + }, + "1567": { + "25": { + "name": "moveCursorToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1567, + 25 + ], + [ + 1571, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its surrounding word. " + } + }, + "1571": { + "35": { + "name": "moveCursorToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1571, + 35 + ], + [ + 1575, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the next word. " + } + }, + "1575": { + "36": { + "name": "moveCursorToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1575, + 36 + ], + [ + 1579, + 1 + ] + ], + "doc": "Public: Move every cursor to the previous word boundary. " + } + }, + "1579": { + "32": { + "name": "moveCursorToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1579, + 32 + ], + [ + 1583, + 1 + ] + ], + "doc": "Public: Move every cursor to the next word boundary. " + } + }, + "1583": { + "40": { + "name": "moveCursorToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1583, + 40 + ], + [ + 1587, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the next paragraph. " + } + }, + "1587": { + "44": { + "name": "moveCursorToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1587, + 44 + ], + [ + 1596, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the previous paragraph. " + } + }, + "1596": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 1596, + 26 + ], + [ + 1599, + 1 + ] + ], + "doc": " Public: Scroll the editor to reveal the most recently added cursor if it is\noff-screen.\n\noptions - An optional hash of options.\n :center - Center the editor around the cursor if possible. Defauls to\n true. " + } + }, + "1599": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1599, + 10 + ], + [ + 1604, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1604": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1604, + 12 + ], + [ + 1609, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1609": { + "16": { + "name": "selectPageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1609, + 16 + ], + [ + 1612, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1612": { + "18": { + "name": "selectPageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1612, + 18 + ], + [ + 1616, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1616": { + "18": { + "name": "getRowsPerPage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1616, + 18 + ], + [ + 1619, + 1 + ] + ], + "doc": "Private: Returns the number of rows per page " + } + }, + "1619": { + "15": { + "name": "moveCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1619, + 15 + ], + [ + 1626, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1626": { + "15": { + "name": "cursorMoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 1626, + 15 + ], + [ + 1636, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1636": { + "26": { + "name": "selectToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1636, + 26 + ], + [ + 1645, + 1 + ] + ], + "doc": " Public: Select from the current cursor position to the given position in\nscreen coordinates.\n\nThis method may merge selections that end up intesecting.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "1645": { + "15": { + "name": "selectRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1645, + 15 + ], + [ + 1652, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character rightward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1652": { + "14": { + "name": "selectLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1652, + 14 + ], + [ + 1659, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character leftward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1659": { + "12": { + "name": "selectUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 1659, + 12 + ], + [ + 1666, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character upward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1666": { + "14": { + "name": "selectDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 1666, + 14 + ], + [ + 1673, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character downward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1673": { + "15": { + "name": "selectToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1673, + 15 + ], + [ + 1679, + 1 + ] + ], + "doc": " Public: Select from the top of the buffer to the end of the last selection\nin the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1679": { + "13": { + "name": "selectAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1679, + 13 + ], + [ + 1686, + 1 + ] + ], + "doc": " Public: Select all text in the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1686": { + "18": { + "name": "selectToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1686, + 18 + ], + [ + 1693, + 1 + ] + ], + "doc": " Public: Selects from the top of the first selection in the buffer to the end\nof the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1693": { + "27": { + "name": "selectToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1693, + 27 + ], + [ + 1702, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the beginning of its line\nwhile preserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1702": { + "32": { + "name": "selectToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1702, + 32 + ], + [ + 1709, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the first non-whitespace\ncharacter of its line while preserving the selection's tail position. If the\ncursor is already on the first character of the line, move it to the\nbeginning of the line.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1709": { + "21": { + "name": "selectToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1709, + 21 + ], + [ + 1716, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the end of its line while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1716": { + "32": { + "name": "selectToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1716, + 32 + ], + [ + 1723, + 1 + ] + ], + "doc": " Public: For each selection, move its cursor to the preceding word boundary\nwhile maintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1723": { + "28": { + "name": "selectToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1723, + 28 + ], + [ + 1729, + 1 + ] + ], + "doc": " Public: For each selection, move its cursor to the next word boundary while\nmaintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1729": { + "14": { + "name": "selectLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1729, + 14 + ], + [ + 1740, + 1 + ] + ], + "doc": " Public: For each cursor, select the containing line.\n\nThis method merges selections on successive lines. " + } + }, + "1740": { + "21": { + "name": "addSelectionBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1740, + 21 + ], + [ + 1751, + 1 + ] + ], + "doc": " Public: Add a similarly-shaped selection to the next eligible line below\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next following non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " + } + }, + "1751": { + "21": { + "name": "addSelectionAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1751, + 21 + ], + [ + 1759, + 1 + ] + ], + "doc": " Public: Add a similarly-shaped selection to the next eligible line above\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next preceding non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " + } + }, + "1759": { + "28": { + "name": "splitSelectionsIntoLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1759, + 28 + ], + [ + 1776, + 1 + ] + ], + "doc": " Public: Split multi-line selections into one selection per line.\n\nOperates on all selections. This method breaks apart all multi-line\nselections to create multiple single-line selections that cumulatively cover\nthe same original area. " + } + }, + "1776": { + "13": { + "name": "transpose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1776, + 13 + ], + [ + 1791, + 1 + ] + ], + "doc": " Public: For each selection, transpose the selected text.\n\nIf the selection is empty, the characters preceding and following the cursor\nare swapped. Otherwise, the selected characters are reversed. " + } + }, + "1791": { + "13": { + "name": "upperCase", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1791, + 13 + ], + [ + 1798, + 1 + ] + ], + "doc": " Public: Convert the selected text to upper case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " + } + }, + "1798": { + "13": { + "name": "lowerCase", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1798, + 13 + ], + [ + 1809, + 1 + ] + ], + "doc": " Public: Convert the selected text to lower case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " + } + }, + "1809": { + "13": { + "name": "joinLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1809, + 13 + ], + [ + 1816, + 1 + ] + ], + "doc": " Private: Convert multiple lines to a single line.\n\nOperates on all selections. If the selection is empty, joins the current\nline with the next line. Otherwise it joins all lines that intersect the\nselection.\n\nJoining a line means that multiple lines are converted to a single line with\nthe contents of each of the original non-empty lines separated by a space. " + } + }, + "1816": { + "27": { + "name": "selectToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1816, + 27 + ], + [ + 1823, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of their containing word.\n\nOperates on all selections. Moves the cursor to the beginning of the\ncontaining word while preserving the selection's tail position. " + } + }, + "1823": { + "21": { + "name": "selectToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1823, + 21 + ], + [ + 1830, + 1 + ] + ], + "doc": " Public: Expand selections to the end of their containing word.\n\nOperates on all selections. Moves the cursor to the end of the containing\nword while preserving the selection's tail position. " + } + }, + "1830": { + "31": { + "name": "selectToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1830, + 31 + ], + [ + 1834, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next word.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nword while preserving the selection's tail position. " + } + }, + "1834": { + "14": { + "name": "selectWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1834, + 14 + ], + [ + 1841, + 1 + ] + ], + "doc": "Public: Select the word containing each cursor. " + } + }, + "1841": { + "36": { + "name": "selectToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1841, + 36 + ], + [ + 1848, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " + } + }, + "1848": { + "40": { + "name": "selectToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1848, + 40 + ], + [ + 1856, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " + } + }, + "1856": { + "16": { + "name": "selectMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1856, + 16 + ], + [ + 1863, + 1 + ] + ], + "doc": " Public: Select the range of the given marker if it is valid.\n\nmarker - A {DisplayBufferMarker}\n\nReturns the selected {Range} or `undefined` if the marker is invalid. " + } + }, + "1863": { + "16": { + "name": "mergeCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1863, + 16 + ], + [ + 1873, + 1 + ] + ], + "doc": "Private: Merge cursors that have the same screen position " + } + }, + "1873": { + "27": { + "name": "expandSelectionsForward", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1873, + 27 + ], + [ + 1879, + 1 + ] + ], + "doc": "Private: Calls the given function with each selection, then merges selections " + } + }, + "1879": { + "28": { + "name": "expandSelectionsBackward", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1879, + 28 + ], + [ + 1883, + 1 + ] + ], + "doc": " Private: Calls the given function with each selection, then merges selections in the\nreversed orientation " + } + }, + "1883": { + "22": { + "name": "finalizeSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1883, + 22 + ], + [ + 1889, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1889": { + "31": { + "name": "mergeIntersectingSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1889, + 31 + ], + [ + 1910, + 1 + ] + ], + "doc": " Private: Merges intersecting selections. If passed a function, it executes\nthe function with merging suppressed, then merges intersecting selections\nafterward. " + } + }, + "1910": { + "40": { + "name": "preserveCursorPositionOnBufferReload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1910, + 40 + ], + [ + 1919, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1919": { + "14": { + "name": "getGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1919, + 14 + ], + [ + 1926, + 1 + ] + ], + "doc": "Public: Get the current {Grammar} of this editor. " + } + }, + "1926": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 1926, + 14 + ], + [ + 1930, + 1 + ] + ], + "doc": " Public: Set the current {Grammar} of this editor.\n\nAssigning a grammar will cause the editor to re-tokenize based on the new\ngrammar. " + } + }, + "1930": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1930, + 17 + ], + [ + 1933, + 1 + ] + ], + "doc": "Private: Reload the grammar based on the file name. " + } + }, + "1933": { + "20": { + "name": "shouldAutoIndent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1933, + 20 + ], + [ + 1944, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1944": { + "12": { + "name": "transact", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1944, + 12 + ], + [ + 1944, + 39 + ] + ], + "doc": " Public: Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " + } + }, + "1952": { + "20": { + "name": "beginTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1952, + 20 + ], + [ + 1952, + 48 + ] + ], + "doc": " Public: Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " + } + }, + "1958": { + "21": { + "name": "commitTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1958, + 21 + ], + [ + 1958, + 50 + ] + ], + "doc": " Public: Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " + } + }, + "1962": { + "20": { + "name": "abortTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1962, + 20 + ], + [ + 1962, + 48 + ] + ], + "doc": " Public: Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " + } + }, + "1964": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1964, + 11 + ], + [ + 1967, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1967": { + "18": { + "name": "logScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 1967, + 18 + ], + [ + 1967, + 68 + ] + ], + "doc": "~Private~" + } + }, + "1969": { + "22": { + "name": "handleTokenization", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1969, + 22 + ], + [ + 1972, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1972": { + "23": { + "name": "handleGrammarChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1972, + 23 + ], + [ + 1976, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1976": { + "23": { + "name": "handleMarkerCreated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1976, + 23 + ], + [ + 1980, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1980": { + "32": { + "name": "getSelectionMarkerAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1980, + 32 + ], + [ + 1983, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1983": { + "27": { + "name": "getVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1983, + 27 + ], + [ + 1983, + 69 + ] + ], + "doc": "~Private~" + } + }, + "1984": { + "27": { + "name": "setVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "verticalScrollMargin" + ], + "range": [ + [ + 1984, + 27 + ], + [ + 1984, + 112 + ] + ] + } + }, + "1986": { + "29": { + "name": "getHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1986, + 29 + ], + [ + 1986, + 73 + ] + ], + "doc": "~Private~" + } + }, + "1987": { + "29": { + "name": "setHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "horizontalScrollMargin" + ], + "range": [ + [ + 1987, + 29 + ], + [ + 1987, + 120 + ] + ] + } + }, + "1989": { + "25": { + "name": "getLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1989, + 25 + ], + [ + 1989, + 65 + ] + ], + "doc": "~Private~" + } + }, + "1990": { + "25": { + "name": "setLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeightInPixels" + ], + "range": [ + [ + 1990, + 25 + ], + [ + 1990, + 104 + ] + ] + } + }, + "1992": { + "29": { + "name": "batchCharacterMeasurement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1992, + 29 + ], + [ + 1992, + 80 + ] + ], + "doc": "~Private~" + } + }, + "1994": { + "22": { + "name": "getScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char" + ], + "range": [ + [ + 1994, + 22 + ], + [ + 1994, + 94 + ] + ], + "doc": "~Private~" + } + }, + "1995": { + "22": { + "name": "setScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char", + "width" + ], + "range": [ + [ + 1995, + 22 + ], + [ + 1995, + 108 + ] + ] + } + }, + "1997": { + "23": { + "name": "getScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames" + ], + "range": [ + [ + 1997, + 23 + ], + [ + 1997, + 84 + ] + ], + "doc": "~Private~" + } + }, + "1999": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1999, + 25 + ], + [ + 1999, + 65 + ] + ], + "doc": "~Private~" + } + }, + "2001": { + "23": { + "name": "getDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2001, + 23 + ], + [ + 2001, + 61 + ] + ], + "doc": "~Private~" + } + }, + "2002": { + "23": { + "name": "setDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultCharWidth" + ], + "range": [ + [ + 2002, + 23 + ], + [ + 2002, + 96 + ] + ] + } + }, + "2004": { + "13": { + "name": "setHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "height" + ], + "range": [ + [ + 2004, + 13 + ], + [ + 2004, + 56 + ] + ], + "doc": "~Private~" + } + }, + "2005": { + "13": { + "name": "getHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2005, + 13 + ], + [ + 2005, + 41 + ] + ] + } + }, + "2007": { + "19": { + "name": "getClientHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2007, + 19 + ], + [ + 2007, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2009": { + "12": { + "name": "setWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width" + ], + "range": [ + [ + 2009, + 12 + ], + [ + 2009, + 52 + ] + ], + "doc": "~Private~" + } + }, + "2010": { + "12": { + "name": "getWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2010, + 12 + ], + [ + 2010, + 39 + ] + ] + } + }, + "2012": { + "16": { + "name": "getScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2012, + 16 + ], + [ + 2012, + 47 + ] + ], + "doc": "~Private~" + } + }, + "2013": { + "16": { + "name": "setScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 2013, + 16 + ], + [ + 2013, + 68 + ] + ] + } + }, + "2015": { + "19": { + "name": "getScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2015, + 19 + ], + [ + 2015, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2016": { + "19": { + "name": "setScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 2016, + 19 + ], + [ + 2016, + 80 + ] + ] + } + }, + "2018": { + "17": { + "name": "getScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2018, + 17 + ], + [ + 2018, + 49 + ] + ], + "doc": "~Private~" + } + }, + "2019": { + "17": { + "name": "setScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 2019, + 17 + ], + [ + 2019, + 72 + ] + ] + } + }, + "2021": { + "18": { + "name": "getScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2021, + 18 + ], + [ + 2021, + 51 + ] + ], + "doc": "~Private~" + } + }, + "2022": { + "18": { + "name": "setScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 2022, + 18 + ], + [ + 2022, + 76 + ] + ] + } + }, + "2024": { + "19": { + "name": "getScrollHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2024, + 19 + ], + [ + 2024, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2025": { + "18": { + "name": "getScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollWidth" + ], + "range": [ + [ + 2025, + 18 + ], + [ + 2025, + 76 + ] + ] + } + }, + "2027": { + "22": { + "name": "getVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2027, + 22 + ], + [ + 2027, + 59 + ] + ], + "doc": "~Private~" + } + }, + "2029": { + "29": { + "name": "intersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 2029, + 29 + ], + [ + 2029, + 108 + ] + ], + "doc": "~Private~" + } + }, + "2031": { + "38": { + "name": "selectionIntersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 2031, + 38 + ], + [ + 2031, + 112 + ] + ], + "doc": "~Private~" + } + }, + "2033": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 2033, + 34 + ], + [ + 2033, + 114 + ] + ], + "doc": "~Private~" + } + }, + "2035": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 2035, + 34 + ], + [ + 2035, + 114 + ] + ], + "doc": "~Private~" + } + }, + "2037": { + "34": { + "name": "screenPositionForPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 2037, + 34 + ], + [ + 2037, + 112 + ] + ], + "doc": "~Private~" + } + }, + "2039": { + "27": { + "name": "pixelRectForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 2039, + 27 + ], + [ + 2039, + 94 + ] + ], + "doc": "~Private~" + } + }, + "2041": { + "23": { + "name": "scrollToScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 2041, + 23 + ], + [ + 2041, + 104 + ] + ], + "doc": "~Private~" + } + }, + "2043": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 2043, + 26 + ], + [ + 2043, + 116 + ] + ], + "doc": "~Private~" + } + }, + "2045": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 2045, + 26 + ], + [ + 2045, + 116 + ] + ], + "doc": "~Private~" + } + }, + "2047": { + "26": { + "name": "horizontallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2047, + 26 + ], + [ + 2047, + 67 + ] + ], + "doc": "~Private~" + } + }, + "2049": { + "24": { + "name": "verticallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2049, + 24 + ], + [ + 2049, + 63 + ] + ], + "doc": "~Private~" + } + }, + "2051": { + "32": { + "name": "getHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2051, + 32 + ], + [ + 2051, + 79 + ] + ], + "doc": "~Private~" + } + }, + "2052": { + "32": { + "name": "setHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "height" + ], + "range": [ + [ + 2052, + 32 + ], + [ + 2052, + 94 + ] + ] + } + }, + "2054": { + "29": { + "name": "getVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2054, + 29 + ], + [ + 2054, + 73 + ] + ], + "doc": "~Private~" + } + }, + "2055": { + "29": { + "name": "setVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width" + ], + "range": [ + [ + 2055, + 29 + ], + [ + 2055, + 86 + ] + ] + } + }, + "2058": { + "12": { + "name": "joinLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2058, + 12 + ], + [ + 2060, + 16 + ] + ], + "doc": "Deprecated: Call {::joinLines} instead. " + } + } + }, + "exports": 138 + }, + "src/fold.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "7": { + "0": { + "type": "class", + "name": "Fold", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 8, + 6 + ], + [ + 9, + 17 + ], + [ + 10, + 10 + ], + [ + 12, + 15 + ], + [ + 20, + 22 + ], + [ + 27, + 11 + ], + [ + 35, + 18 + ], + [ + 48, + 21 + ], + [ + 53, + 15 + ], + [ + 57, + 13 + ], + [ + 61, + 11 + ], + [ + 67, + 21 + ], + [ + 75, + 21 + ], + [ + 78, + 23 + ], + [ + 82, + 13 + ] + ], + "doc": " Private: Represents a fold that collapses multiple buffer lines into a single\nline on the screen.\n\nTheir creation is managed by the {DisplayBuffer}. ", + "range": [ + [ + 7, + 0 + ], + [ + 84, + 26 + ] + ] + } + }, + "8": { + "6": { + "name": "id", + "type": "primitive", + "range": [ + [ + 8, + 6 + ], + [ + 8, + 9 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "17": { + "name": "displayBuffer", + "type": "primitive", + "range": [ + [ + 9, + 17 + ], + [ + 9, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "10": { + "name": "marker", + "type": "primitive", + "range": [ + [ + 10, + 10 + ], + [ + 10, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 20, + 1 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "22": { + "name": "isInsideLargerFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 22 + ], + [ + 27, + 1 + ] + ], + "doc": "Private: Returns whether this fold is contained within another fold " + } + }, + "27": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 11 + ], + [ + 35, + 1 + ] + ], + "doc": "Private: Destroys this fold " + } + }, + "35": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 35, + 18 + ], + [ + 48, + 1 + ] + ], + "doc": " Private: Returns the fold's {Range} in buffer coordinates\n\nincludeNewline - A {Boolean} which, if `true`, includes the trailing newline\n\nReturns a {Range}. " + } + }, + "48": { + "21": { + "name": "getBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 21 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "15": { + "name": "getStartRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 15 + ], + [ + 57, + 1 + ] + ], + "doc": "Private: Returns the fold's start row as a {Number}. " + } + }, + "57": { + "13": { + "name": "getEndRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 13 + ], + [ + 61, + 1 + ] + ], + "doc": "Private: Returns the fold's end row as a {Number}. " + } + }, + "61": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 11 + ], + [ + 67, + 1 + ] + ], + "doc": "Private: Returns a {String} representation of the fold. " + } + }, + "67": { + "21": { + "name": "getBufferRowCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 21 + ], + [ + 75, + 1 + ] + ], + "doc": " Private: Retrieves the number of buffer rows spanned by the fold.\n\nReturns a {Number}. " + } + }, + "75": { + "21": { + "name": "isContainedByFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fold" + ], + "range": [ + [ + 75, + 21 + ], + [ + 78, + 1 + ] + ], + "doc": " Private: Identifies if a fold is nested within a fold.\n\nfold - A {Fold} to check\n\nReturns a {Boolean}. " + } + }, + "78": { + "23": { + "name": "updateDisplayBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 78, + 23 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 13 + ], + [ + 84, + 26 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 7 + }, + "src/git.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true, + "name": "join", + "exportsProperty": "join" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.0.4" + } + }, + "5": { + "11": { + "name": "GitUtils", + "type": "import", + "range": [ + [ + 5, + 11 + ], + [ + 5, + 29 + ] + ], + "bindingType": "variable", + "module": "git-utils" + } + }, + "7": { + "7": { + "name": "Task", + "type": "import", + "range": [ + [ + 7, + 7 + ], + [ + 7, + 22 + ] + ], + "bindingType": "variable", + "path": "./task" + } + }, + "40": { + "0": { + "type": "class", + "name": "Git", + "bindingType": "exports", + "classProperties": [ + [ + 52, + 9 + ], + [ + 59, + 11 + ] + ], + "prototypeProperties": [ + [ + 66, + 15 + ], + [ + 89, + 21 + ], + [ + 97, + 11 + ], + [ + 109, + 11 + ], + [ + 117, + 16 + ], + [ + 120, + 11 + ], + [ + 124, + 23 + ], + [ + 132, + 17 + ], + [ + 149, + 17 + ], + [ + 152, + 20 + ], + [ + 155, + 18 + ], + [ + 158, + 15 + ], + [ + 161, + 13 + ], + [ + 165, + 19 + ], + [ + 169, + 14 + ], + [ + 181, + 16 + ], + [ + 196, + 16 + ], + [ + 209, + 21 + ], + [ + 222, + 16 + ], + [ + 231, + 15 + ], + [ + 247, + 22 + ], + [ + 265, + 16 + ], + [ + 276, + 18 + ], + [ + 282, + 16 + ], + [ + 291, + 21 + ], + [ + 298, + 22 + ], + [ + 310, + 17 + ], + [ + 318, + 23 + ], + [ + 330, + 37 + ], + [ + 338, + 23 + ], + [ + 342, + 13 + ], + [ + 346, + 17 + ] + ], + "doc": " Public: Represents the underlying git operations performed by Atom.\n\nThis class shouldn't be instantiated directly but instead by accessing the\n`atom.project` global and calling `getRepo()`. Note that this will only be\navailable when the project is backed by a Git repository.\n\nThis class handles submodules automatically by taking a `path` argument to many\nof the methods. This `path` argument will determine which underlying\nrepository is used.\n\nFor a repository with submodules this would have the following outcome:\n\n```coffee\nrepo = atom.project.getRepo()\nrepo.getShortHead() # 'master'\nrepo.getShortHead('vendor/path/to/a/submodule') # 'dead1234'\n```\n\n## Example\n\n```coffeescript\ngit = atom.project.getRepo()\nconsole.log git.getOriginUrl()\n```\n\n## Requiring in packages\n\n```coffee\n {Git} = require 'atom'\n``` ", + "range": [ + [ + 40, + 0 + ], + [ + 364, + 55 + ] + ] + } + }, + "52": { + "9": { + "name": "open", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "path", + "options" + ], + "range": [ + [ + 52, + 9 + ], + [ + 59, + 1 + ] + ], + "doc": " Public: Creates a new Git instance.\n\npath - The path to the Git repository to open.\noptions - An object with the following keys (default: {}):\n :refreshOnWindowFocus - `true` to refresh the index and statuses when the\n window is focused.\n\nReturns a Git instance or null if the repository could not be opened. " + } + }, + "59": { + "11": { + "name": "exists", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 59, + 11 + ], + [ + 66, + 1 + ] + ], + "doc": "~Private~" + } + }, + "66": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "options" + ], + "range": [ + [ + 66, + 15 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "subscribeToBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer" + ], + "range": [ + [ + 89, + 21 + ], + [ + 97, + 1 + ] + ], + "doc": "Private: Subscribes to buffer events. " + } + }, + "97": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 97, + 11 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Destroy this `Git` object. This destroys any tasks and subscriptions\nand releases the underlying libgit2 repository handle. " + } + }, + "109": { + "11": { + "name": "getRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 109, + 11 + ], + [ + 117, + 1 + ] + ], + "doc": "Private: Returns the corresponding {Repository} " + } + }, + "117": { + "16": { + "name": "refreshIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 16 + ], + [ + 117, + 43 + ] + ], + "doc": " Private: Reread the index to update any values that have changed since the\nlast time the index was read. " + } + }, + "120": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 120, + 11 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Returns the {String} path of the repository. " + } + }, + "124": { + "23": { + "name": "getWorkingDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 23 + ], + [ + 124, + 57 + ] + ], + "doc": "Public: Returns the {String} working directory path of the repository. " + } + }, + "132": { + "17": { + "name": "getPathStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 132, + 17 + ], + [ + 149, + 1 + ] + ], + "doc": " Public: Get the status of a single path in the repository.\n\npath - A {String} repository-relative path.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " + } + }, + "149": { + "17": { + "name": "isPathIgnored", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 149, + 17 + ], + [ + 149, + 65 + ] + ], + "doc": " Public: Is the given path ignored?\n\nReturns a {Boolean}. " + } + }, + "152": { + "20": { + "name": "isStatusModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 152, + 20 + ], + [ + 152, + 66 + ] + ], + "doc": "Public: Returns true if the given status indicates modification. " + } + }, + "155": { + "18": { + "name": "isPathModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 155, + 18 + ], + [ + 155, + 66 + ] + ], + "doc": "Public: Returns true if the given path is modified. " + } + }, + "158": { + "15": { + "name": "isStatusNew", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 158, + 15 + ], + [ + 158, + 56 + ] + ], + "doc": "Public: Returns true if the given status indicates a new path. " + } + }, + "161": { + "13": { + "name": "isPathNew", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 161, + 13 + ], + [ + 161, + 56 + ] + ], + "doc": "Public: Returns true if the given path is new. " + } + }, + "165": { + "19": { + "name": "isProjectAtRoot", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 19 + ], + [ + 169, + 1 + ] + ], + "doc": " Public: Returns true if at the root, false if in a subfolder of the\nrepository. " + } + }, + "169": { + "14": { + "name": "relativize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 169, + 14 + ], + [ + 169, + 50 + ] + ], + "doc": "Public: Makes a path relative to the repository's working directory. " + } + }, + "181": { + "16": { + "name": "getShortHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 181, + 16 + ], + [ + 181, + 54 + ] + ], + "doc": " Public: Retrieves a shortened version of the HEAD reference value.\n\nThis removes the leading segments of `refs/heads`, `refs/tags`, or\n`refs/remotes`. It also shortens the SHA-1 of a detached `HEAD` to 7\ncharacters.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository contains submodules.\n\nReturns a {String}. " + } + }, + "196": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 196, + 16 + ], + [ + 209, + 1 + ] + ], + "doc": " Public: Restore the contents of a path in the working directory and index\nto the version at `HEAD`.\n\nThis is essentially the same as running:\n\n```\ngit reset HEAD -- \ngit checkout HEAD -- \n```\n\npath - The {String} path to checkout.\n\nReturns a {Boolean} that's true if the method was successful. " + } + }, + "209": { + "21": { + "name": "checkoutReference", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "create" + ], + "range": [ + [ + 209, + 21 + ], + [ + 222, + 1 + ] + ], + "doc": " Public: Checks out a branch in your repository.\n\nreference - The String reference to checkout\ncreate - A Boolean value which, if true creates the new reference if it\n doesn't exist.\n\nReturns a Boolean that's true if the method was successful. " + } + }, + "222": { + "16": { + "name": "getDiffStats", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 222, + 16 + ], + [ + 231, + 1 + ] + ], + "doc": " Public: Retrieves the number of lines added and removed to a path.\n\nThis compares the working directory contents of the path to the `HEAD`\nversion.\n\npath - The {String} path to check.\n\nReturns an {Object} with the following keys:\n :added - The {Number} of added lines.\n :deleted - The {Number} of deleted lines. " + } + }, + "231": { + "15": { + "name": "isSubmodule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 231, + 15 + ], + [ + 247, + 1 + ] + ], + "doc": " Public: Is the given path a submodule in the repository?\n\npath - The {String} path to check.\n\nReturns a {Boolean}. " + } + }, + "247": { + "22": { + "name": "getDirectoryStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "directoryPath" + ], + "range": [ + [ + 247, + 22 + ], + [ + 265, + 1 + ] + ], + "doc": " Public: Get the status of a directory in the repository's working directory.\n\npath - The {String} path to check.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " + } + }, + "265": { + "16": { + "name": "getLineDiffs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "text" + ], + "range": [ + [ + 265, + 16 + ], + [ + 276, + 1 + ] + ], + "doc": " Public: Retrieves the line diffs comparing the `HEAD` version of the given\npath and the given text.\n\npath - The {String} path relative to the repository.\ntext - The {String} to compare against the `HEAD` contents\n\nReturns an {Array} of hunk {Object}s with the following keys:\n :oldStart - The line {Number} of the old hunk.\n :newStart - The line {Number} of the new hunk.\n :oldLines - The {Number} of lines in the old hunk.\n :newLines - The {Number} of lines in the new hunk " + } + }, + "276": { + "18": { + "name": "getConfigValue", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "key", + "path" + ], + "range": [ + [ + 276, + 18 + ], + [ + 276, + 66 + ] + ], + "doc": " Public: Returns the git configuration value specified by the key.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " + } + }, + "282": { + "16": { + "name": "getOriginUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 282, + 16 + ], + [ + 282, + 67 + ] + ], + "doc": " Public: Returns the origin url of the repository.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " + } + }, + "291": { + "21": { + "name": "getUpstreamBranch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 291, + 21 + ], + [ + 291, + 64 + ] + ], + "doc": " Public: Returns the upstream branch for the current HEAD, or null if there\nis no upstream branch for the current HEAD.\n\npath - An optional {String} path in the repo to get this information for,\n only needed if the repository contains submodules.\n\nReturns a {String} branch name such as `refs/remotes/origin/master`. " + } + }, + "298": { + "22": { + "name": "getReferenceTarget", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "path" + ], + "range": [ + [ + 298, + 22 + ], + [ + 310, + 1 + ] + ], + "doc": " Public: Returns the current SHA for the given reference.\n\nreference - The {String} reference to get the target of.\npath - An optional {String} path in the repo to get the reference target\n for. Only needed if the repository contains submodules. " + } + }, + "310": { + "17": { + "name": "getReferences", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 310, + 17 + ], + [ + 310, + 56 + ] + ], + "doc": " Public: Gets all the local and remote references.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :heads - An {Array} of head reference names.\n :remotes - An {Array} of remote reference names.\n :tags - An {Array} of tag reference names. " + } + }, + "318": { + "23": { + "name": "getAheadBehindCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "path" + ], + "range": [ + [ + 318, + 23 + ], + [ + 330, + 1 + ] + ], + "doc": " Public: Returns the number of commits behind the current branch is from the\nits upstream remote branch.\n\nreference - The {String} branch reference name.\npath - The {String} path in the repository to get this information for,\n only needed if the repository contains submodules. " + } + }, + "330": { + "37": { + "name": "getCachedUpstreamAheadBehindCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 330, + 37 + ], + [ + 338, + 1 + ] + ], + "doc": " Public: Get the cached ahead/behind commit counts for the current branch's\nupstream branch.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :ahead - The {Number} of commits ahead.\n :behind - The {Number} of commits behind. " + } + }, + "338": { + "23": { + "name": "getCachedPathStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 338, + 23 + ], + [ + 342, + 1 + ] + ], + "doc": " Public: Get the cached status for the given path.\n\npath - A {String} path in the repository, relative or absolute.\n\nReturns a status {Number} or null if the path is not in the cache. " + } + }, + "342": { + "13": { + "name": "hasBranch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "branch" + ], + "range": [ + [ + 342, + 13 + ], + [ + 342, + 68 + ] + ], + "doc": "Public: Returns true if the given branch exists. " + } + }, + "346": { + "17": { + "name": "refreshStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 17 + ], + [ + 364, + 55 + ] + ], + "doc": " Private: Refreshes the current git status in an outside process and asynchronously\nupdates the relevant properties. " + } + } + }, + "exports": 40 + }, + "src/gutter-component.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "isEqual", + "exportsProperty": "isEqual" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 29 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "32": { + "type": "import", + "range": [ + [ + 3, + 32 + ], + [ + 3, + 45 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "multiplyString", + "exportsProperty": "multiplyString" + }, + "48": { + "type": "import", + "range": [ + [ + 3, + 48 + ], + [ + 3, + 54 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "toArray", + "exportsProperty": "toArray" + } + }, + "4": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 4, + 13 + ], + [ + 4, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "5": { + "18": { + "name": "SubscriberMixin", + "type": "import", + "range": [ + [ + 5, + 18 + ], + [ + 5, + 45 + ] + ], + "bindingType": "variable", + "path": "./subscriber-mixin" + } + }, + "7": { + "13": { + "name": "WrapperDiv", + "type": "function", + "range": [ + [ + 7, + 13 + ], + [ + 7, + 41 + ] + ] + } + }, + "10": { + "18": { + "name": "GutterComponent", + "type": "function", + "range": [ + [ + 10, + 18 + ], + [ + 227, + 39 + ] + ] + } + }, + "11": { + "15": { + "name": "'GutterComponent'", + "type": "primitive", + "range": [ + [ + 11, + 15 + ], + [ + 11, + 31 + ] + ] + } + }, + "12": { + "10": { + "type": "primitive", + "range": [ + [ + 12, + 10 + ], + [ + 12, + 26 + ] + ] + } + }, + "14": { + "23": { + "type": "primitive", + "range": [ + [ + 14, + 23 + ], + [ + 14, + 26 + ] + ] + } + }, + "15": { + "17": { + "type": "primitive", + "range": [ + [ + 15, + 17 + ], + [ + 15, + 20 + ] + ] + } + }, + "17": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 10 + ], + [ + 29, + 1 + ] + ], + "doc": null + } + }, + "29": { + "16": { + "name": "getTransform", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 16 + ], + [ + 37, + 1 + ] + ], + "doc": null + } + }, + "37": { + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 37, + 22 + ], + [ + 43, + 1 + ] + ], + "doc": null + } + }, + "43": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 21 + ], + [ + 50, + 1 + ] + ], + "doc": null + } + }, + "50": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 50, + 25 + ], + [ + 64, + 1 + ] + ], + "doc": null + } + }, + "64": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "oldProps" + ], + "range": [ + [ + 64, + 22 + ], + [ + 74, + 1 + ] + ], + "doc": null + } + }, + "74": { + "24": { + "name": "clearScreenRowCaches", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 24 + ], + [ + 80, + 1 + ] + ], + "doc": null + } + }, + "80": { + "25": { + "name": "appendDummyLineNumber", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 80, + 25 + ], + [ + 86, + 1 + ] + ], + "doc": null + } + }, + "86": { + "25": { + "name": "updateDummyLineNumber", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 25 + ], + [ + 89, + 1 + ] + ], + "doc": null + } + }, + "89": { + "21": { + "name": "updateLineNumbers", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 93, + 1 + ] + ], + "doc": null + } + }, + "93": { + "40": { + "name": "appendOrUpdateVisibleLineNumberNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 93, + 40 + ], + [ + 138, + 1 + ] + ], + "doc": null + } + }, + "138": { + "25": { + "name": "removeLineNumberNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberIdsToPreserve" + ], + "range": [ + [ + 138, + 25 + ], + [ + 150, + 1 + ] + ], + "doc": null + } + }, + "150": { + "23": { + "name": "buildLineNumberHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bufferRow", + "softWrapped", + "maxLineNumberDigits", + "screenRow" + ], + "range": [ + [ + 150, + 23 + ], + [ + 169, + 1 + ] + ], + "doc": null + } + }, + "169": { + "28": { + "name": "buildLineNumberInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bufferRow", + "softWrapped", + "maxLineNumberDigits" + ], + "range": [ + [ + 169, + 28 + ], + [ + 179, + 1 + ] + ], + "doc": null + } + }, + "179": { + "24": { + "name": "updateLineNumberNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberId", + "bufferRow", + "screenRow", + "softWrapped" + ], + "range": [ + [ + 179, + 24 + ], + [ + 208, + 1 + ] + ], + "doc": null + } + }, + "208": { + "17": { + "name": "hasDecoration", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "decorations", + "decoration" + ], + "range": [ + [ + 208, + 17 + ], + [ + 211, + 1 + ] + ], + "doc": null + } + }, + "211": { + "21": { + "name": "hasLineNumberNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberId" + ], + "range": [ + [ + 211, + 21 + ], + [ + 214, + 1 + ] + ], + "doc": null + } + }, + "214": { + "30": { + "name": "lineNumberNodeForScreenRow", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 214, + 30 + ], + [ + 217, + 1 + ] + ], + "doc": null + } + }, + "217": { + "11": { + "name": "onClick", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 217, + 11 + ], + [ + 227, + 39 + ] + ], + "doc": null + } + } + }, + "exports": 10 + }, + "src/gutter-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "10": { + "type": "import", + "range": [ + [ + 0, + 10 + ], + [ + 0, + 11 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + }, + "14": { + "type": "import", + "range": [ + [ + 0, + 14 + ], + [ + 0, + 16 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$$", + "exportsProperty": "$$$" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "8": { + "0": { + "type": "class", + "name": "GutterView", + "bindingType": "exports", + "classProperties": [ + [ + 9, + 12 + ] + ], + "prototypeProperties": [ + [ + 13, + 18 + ], + [ + 14, + 17 + ], + [ + 16, + 14 + ], + [ + 19, + 15 + ], + [ + 28, + 16 + ], + [ + 31, + 21 + ], + [ + 53, + 17 + ], + [ + 56, + 13 + ], + [ + 62, + 22 + ], + [ + 68, + 25 + ], + [ + 74, + 33 + ], + [ + 83, + 24 + ], + [ + 91, + 22 + ], + [ + 101, + 27 + ], + [ + 115, + 18 + ], + [ + 126, + 23 + ], + [ + 135, + 21 + ], + [ + 169, + 23 + ], + [ + 175, + 22 + ], + [ + 179, + 22 + ], + [ + 190, + 21 + ], + [ + 194, + 25 + ], + [ + 221, + 25 + ], + [ + 235, + 24 + ], + [ + 242, + 20 + ], + [ + 250, + 18 + ] + ], + "doc": " Private: Represents the portion of the {EditorView} containing row numbers.\n\nThe gutter also indicates if rows are folded. ", + "range": [ + [ + 8, + 0 + ], + [ + 274, + 29 + ] + ] + } + }, + "9": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 12 + ], + [ + 13, + 1 + ] + ] + } + }, + "13": { + "18": { + "name": "firstScreenRow", + "type": "primitive", + "range": [ + [ + 13, + 18 + ], + [ + 13, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "17": { + "name": "lastScreenRow", + "type": "primitive", + "range": [ + [ + 14, + 17 + ], + [ + 14, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 14 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 19, + 15 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 16 + ], + [ + 31, + 1 + ] + ], + "doc": "~Private~" + } + }, + "31": { + "21": { + "name": "handleMouseEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 31, + 21 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "17": { + "name": "getEditorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 17 + ], + [ + 56, + 1 + ] + ], + "doc": " Private: Retrieves the containing {EditorView}.\n\nReturns an {EditorView}. " + } + }, + "56": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 13 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "22": { + "name": "setShowLineNumbers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showLineNumbers" + ], + "range": [ + [ + 62, + 22 + ], + [ + 68, + 1 + ] + ], + "doc": " Private: Defines whether to show the gutter or not.\n\nshowLineNumbers - A {Boolean} which, if `false`, hides the gutter " + } + }, + "68": { + "25": { + "name": "getLineNumberElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 25 + ], + [ + 74, + 1 + ] + ], + "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " + } + }, + "74": { + "33": { + "name": "getLineNumberElementsForClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 74, + 33 + ], + [ + 83, + 1 + ] + ], + "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " + } + }, + "83": { + "24": { + "name": "getLineNumberElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 83, + 24 + ], + [ + 91, + 1 + ] + ], + "doc": " Private: Get a single line-number div.\n\n* bufferRow: 0 based line number\n\nReturns a list of {HTMLElement}s that correspond to the bufferRow. More than\none in the list indicates a wrapped line. " + } + }, + "91": { + "22": { + "name": "addClassToAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 91, + 22 + ], + [ + 101, + 1 + ] + ], + "doc": " Private: Add a class to all line-number divs.\n\n* klass: string class name\n\nReturns true if the class was added to any lines " + } + }, + "101": { + "27": { + "name": "removeClassFromAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 101, + 27 + ], + [ + 115, + 1 + ] + ], + "doc": " Private: Remove a class from all line-number divs.\n\n* klass: string class name. Can only be one class name. i.e. 'my-class'\n\nReturns true if the class was removed from any lines " + } + }, + "115": { + "18": { + "name": "addClassToLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "klass" + ], + "range": [ + [ + 115, + 18 + ], + [ + 126, + 1 + ] + ], + "doc": " Private: Add a class to a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was added to " + } + }, + "126": { + "23": { + "name": "removeClassFromLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "klass" + ], + "range": [ + [ + 126, + 23 + ], + [ + 135, + 1 + ] + ], + "doc": " Private: Remove a class from a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was removed from " + } + }, + "135": { + "21": { + "name": "updateLineNumbers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "changes", + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 135, + 21 + ], + [ + 169, + 1 + ] + ], + "doc": "~Private~" + } + }, + "169": { + "23": { + "name": "prependLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElements" + ], + "range": [ + [ + 169, + 23 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "22": { + "name": "appendLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElements" + ], + "range": [ + [ + 175, + 22 + ], + [ + 179, + 1 + ] + ], + "doc": "~Private~" + } + }, + "179": { + "22": { + "name": "removeLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "numberOfElements" + ], + "range": [ + [ + 179, + 22 + ], + [ + 190, + 1 + ] + ], + "doc": "~Private~" + } + }, + "190": { + "21": { + "name": "buildLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 190, + 21 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "25": { + "name": "buildLineElementsHtml", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 194, + 25 + ], + [ + 221, + 1 + ] + ], + "doc": "~Private~" + } + }, + "221": { + "25": { + "name": "updateFoldableClasses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "changes" + ], + "range": [ + [ + 221, + 25 + ], + [ + 235, + 1 + ] + ], + "doc": " Private: Called to update the 'foldable' class of line numbers when there's\na change to the display buffer that doesn't regenerate all the line numbers\nanyway. " + } + }, + "235": { + "24": { + "name": "removeLineHighlights", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 235, + 24 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "20": { + "name": "addLineHighlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "emptySelection" + ], + "range": [ + [ + 242, + 20 + ], + [ + 250, + 1 + ] + ], + "doc": "~Private~" + } + }, + "250": { + "18": { + "name": "highlightLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 250, + 18 + ], + [ + 274, + 29 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/highlight-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "21": { + "name": "HighlightComponent", + "type": "function", + "range": [ + [ + 5, + 21 + ], + [ + 89, + 110 + ] + ] + } + }, + "6": { + "15": { + "name": "'HighlightComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 34 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 20, + 1 + ] + ], + "doc": null + } + }, + "20": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 21 + ], + [ + 27, + 1 + ] + ], + "doc": null + } + }, + "27": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 24 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "23": { + "name": "startFlashAnimation", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 23 + ], + [ + 42, + 1 + ] + ], + "doc": null + } + }, + "42": { + "27": { + "name": "renderSingleLineRegions", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 27 + ], + [ + 53, + 1 + ] + ], + "doc": null + } + }, + "53": { + "26": { + "name": "renderMultiLineRegions", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 26 + ], + [ + 88, + 1 + ] + ], + "doc": null + } + }, + "88": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 88, + 25 + ], + [ + 89, + 110 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/highlights-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "3": { + "21": { + "name": "HighlightComponent", + "type": "import", + "range": [ + [ + 3, + 21 + ], + [ + 3, + 51 + ] + ], + "bindingType": "variable", + "path": "./highlight-component" + } + }, + "6": { + "22": { + "name": "HighlightsComponent", + "type": "function", + "range": [ + [ + 6, + 22 + ], + [ + 24, + 148 + ] + ] + } + }, + "7": { + "15": { + "name": "'HighlightsComponent'", + "type": "primitive", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 35 + ] + ] + } + }, + "9": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 10 + ], + [ + 13, + 1 + ] + ], + "doc": null + } + }, + "13": { + "20": { + "name": "renderHighlights", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 20 + ], + [ + 23, + 1 + ] + ], + "doc": null + } + }, + "23": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 23, + 25 + ], + [ + 24, + 148 + ] + ], + "doc": null + } + } + }, + "exports": 6 + }, + "src/input-component.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "last", + "exportsProperty": "last" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 13 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "isEqual", + "exportsProperty": "isEqual" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "input", + "exportsProperty": "input" + } + }, + "5": { + "17": { + "name": "InputComponent", + "type": "function", + "range": [ + [ + 5, + 17 + ], + [ + 43, + 25 + ] + ] + } + }, + "6": { + "15": { + "name": "'InputComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 30 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 13, + 1 + ] + ], + "doc": null + } + }, + "13": { + "19": { + "name": "getInitialState", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 19 + ], + [ + 16, + 1 + ] + ], + "doc": null + } + }, + "16": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 21 + ], + [ + 21, + 1 + ] + ], + "doc": null + } + }, + "21": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 22 + ], + [ + 27, + 1 + ] + ], + "doc": null + } + }, + "27": { + "27": { + "name": "isPressAndHoldCharacter", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "char" + ], + "range": [ + [ + 27, + 27 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 30, + 25 + ], + [ + 33, + 1 + ] + ], + "doc": null + } + }, + "33": { + "11": { + "name": "onPaste", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 33, + 11 + ], + [ + 36, + 1 + ] + ], + "doc": null + } + }, + "36": { + "11": { + "name": "onFocus", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 36, + 11 + ], + [ + 39, + 1 + ] + ], + "doc": null + } + }, + "39": { + "10": { + "name": "onBlur", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 39, + 10 + ], + [ + 42, + 1 + ] + ], + "doc": null + } + }, + "42": { + "9": { + "name": "focus", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 9 + ], + [ + 43, + 25 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/keymap-extensions.coffee": { + "objects": { + "0": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 0, + 5 + ], + [ + 0, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.0.4" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "16": { + "name": "KeymapManager", + "type": "import", + "range": [ + [ + 2, + 16 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "atom-keymap" + } + }, + "3": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1.0.2" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 6 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "jQuery", + "exportsProperty": "jQuery" + } + }, + "6": { + "36": { + "name": "KeymapManager.prototype.loadBundledKeymaps", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 36 + ], + [ + 9, + 0 + ] + ], + "doc": null + } + }, + "10": { + "35": { + "name": "KeymapManager.prototype.getUserKeymapPath", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 35 + ], + [ + 15, + 0 + ] + ], + "doc": null + } + }, + "16": { + "32": { + "name": "KeymapManager.prototype.loadUserKeymap", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 32 + ], + [ + 22, + 74 + ] + ], + "doc": null + } + }, + "23": { + "32": { + "name": "jQuery.Event.prototype.abortKeyBinding", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 23, + 32 + ], + [ + 25, + 0 + ] + ], + "doc": null + } + } + }, + "exports": 26 + }, + "src/language-mode.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 10 + ] + ], + "bindingType": "variable", + "module": "oniguruma", + "name": "OnigRegExp", + "exportsProperty": "OnigRegExp" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "6": { + "0": { + "type": "class", + "name": "LanguageMode", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 15 + ], + [ + 16, + 11 + ], + [ + 19, + 33 + ], + [ + 30, + 35 + ], + [ + 100, + 11 + ], + [ + 107, + 13 + ], + [ + 114, + 24 + ], + [ + 128, + 17 + ], + [ + 141, + 30 + ], + [ + 146, + 33 + ], + [ + 161, + 34 + ], + [ + 181, + 25 + ], + [ + 186, + 29 + ], + [ + 194, + 32 + ], + [ + 201, + 30 + ], + [ + 208, + 35 + ], + [ + 241, + 31 + ], + [ + 265, + 29 + ], + [ + 274, + 24 + ], + [ + 281, + 23 + ], + [ + 288, + 34 + ], + [ + 308, + 23 + ], + [ + 312, + 32 + ], + [ + 315, + 32 + ], + [ + 318, + 25 + ] + ], + "doc": "~Private~", + "range": [ + [ + 6, + 0 + ], + [ + 319, + 57 + ] + ] + } + }, + "13": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 13, + 15 + ], + [ + 16, + 1 + ] + ], + "doc": " Private: Sets up a `LanguageMode` for the given {Editor}.\n\neditor - The {Editor} to associate with " + } + }, + "16": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 11 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "33": { + "name": "toggleLineCommentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 19, + 33 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "35": { + "name": "toggleLineCommentsForBufferRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 30, + 35 + ], + [ + 100, + 1 + ] + ], + "doc": " Private: Wraps the lines between two rows in comments.\n\nIf the language doesn't have comment, nothing happens.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns an {Array} of the commented {Ranges}. " + } + }, + "100": { + "11": { + "name": "foldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 100, + 11 + ], + [ + 107, + 1 + ] + ], + "doc": "Private: Folds all the foldable lines in the buffer. " + } + }, + "107": { + "13": { + "name": "unfoldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 13 + ], + [ + 114, + 1 + ] + ], + "doc": "Private: Unfolds all the foldable lines in the buffer. " + } + }, + "114": { + "24": { + "name": "foldAllAtIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "indentLevel" + ], + "range": [ + [ + 114, + 24 + ], + [ + 128, + 1 + ] + ], + "doc": " Private: Fold all comment and code blocks at a given indentLevel\n\nindentLevel - A {Number} indicating indentLevel; 0 based. " + } + }, + "128": { + "17": { + "name": "foldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 128, + 17 + ], + [ + 141, + 1 + ] + ], + "doc": " Private: Given a buffer row, creates a fold at it.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns the new {Fold}. " + } + }, + "141": { + "30": { + "name": "rowRangeForFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 141, + 30 + ], + [ + 146, + 1 + ] + ], + "doc": " Private: Find the row range for a fold at a given bufferRow. Will handle comments\nand code.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of the [startRow, endRow]. Returns null if no range. " + } + }, + "146": { + "33": { + "name": "rowRangeForCommentAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 146, + 33 + ], + [ + 161, + 1 + ] + ], + "doc": "~Private~" + } + }, + "161": { + "34": { + "name": "rowRangeForCodeFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 161, + 34 + ], + [ + 181, + 1 + ] + ], + "doc": "~Private~" + } + }, + "181": { + "25": { + "name": "isFoldableAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 181, + 25 + ], + [ + 186, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether the given buffer row starts a\nfoldable row range. Rows that are \"foldable\" have a fold icon next to their\nicon in the gutter in the default configuration. " + } + }, + "186": { + "29": { + "name": "isFoldableCodeAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 186, + 29 + ], + [ + 194, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na a foldable row range due to the code's indentation patterns. " + } + }, + "194": { + "32": { + "name": "isFoldableCommentAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 194, + 32 + ], + [ + 201, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na foldable row range due to being the start of a multi-line comment. " + } + }, + "201": { + "30": { + "name": "isLineCommentedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 201, + 30 + ], + [ + 208, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the line at the given buffer\nrow is a comment. " + } + }, + "208": { + "35": { + "name": "rowRangeForParagraphAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 208, + 35 + ], + [ + 241, + 1 + ] + ], + "doc": " Private: Find a row range for a 'paragraph' around specified bufferRow.\nRight now, a paragraph is a block of text bounded by and empty line or a\nblock of text that is not the same type (comments next to source code). " + } + }, + "241": { + "31": { + "name": "suggestedIndentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 241, + 31 + ], + [ + 265, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns a suggested indentation level.\n\nThe indentation level provided is based on the current {LanguageMode}.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Number}. " + } + }, + "265": { + "29": { + "name": "minIndentLevelForRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 265, + 29 + ], + [ + 274, + 1 + ] + ], + "doc": " Private: Calculate a minimum indent level for a range of lines excluding empty lines.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns a {Number} of the indent level of the block of lines. " + } + }, + "274": { + "24": { + "name": "autoIndentBufferRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 274, + 24 + ], + [ + 281, + 1 + ] + ], + "doc": " Private: Indents all the rows between two buffer row numbers.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at " + } + }, + "281": { + "23": { + "name": "autoIndentBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "options" + ], + "range": [ + [ + 281, + 23 + ], + [ + 288, + 1 + ] + ], + "doc": " Private: Given a buffer row, this indents it.\n\nbufferRow - The row {Number}.\noptions - An options {Object} to pass through to {Editor::setIndentationForBufferRow}. " + } + }, + "288": { + "34": { + "name": "autoDecreaseIndentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 288, + 34 + ], + [ + 308, + 1 + ] + ], + "doc": " Private: Given a buffer row, this decreases the indentation.\n\nbufferRow - The row {Number} " + } + }, + "308": { + "23": { + "name": "getRegexForProperty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "property" + ], + "range": [ + [ + 308, + 23 + ], + [ + 312, + 1 + ] + ], + "doc": "~Private~" + } + }, + "312": { + "32": { + "name": "increaseIndentRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 312, + 32 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "32": { + "name": "decreaseIndentRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 315, + 32 + ], + [ + 318, + 1 + ] + ], + "doc": "~Private~" + } + }, + "318": { + "25": { + "name": "foldEndRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 318, + 25 + ], + [ + 319, + 57 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 6 + }, + "src/less-compile-cache.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.0.4" + } + }, + "2": { + "12": { + "name": "LessCache", + "type": "import", + "range": [ + [ + 2, + 12 + ], + [ + 2, + 31 + ] + ], + "bindingType": "variable", + "module": "less-cache" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "7": { + "0": { + "type": "class", + "name": "LessCompileCache", + "bindingType": "exports", + "classProperties": [ + [ + 10, + 13 + ] + ], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 29, + 18 + ], + [ + 32, + 8 + ], + [ + 35, + 14 + ], + [ + 38, + 11 + ] + ], + "doc": "Private: {LessCache} wrapper used by {ThemeManager} to read stylesheets. ", + "range": [ + [ + 7, + 0 + ], + [ + 38, + 28 + ] + ] + } + }, + "10": { + "13": { + "name": "cacheDir", + "type": "function", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 71 + ] + ], + "bindingType": "classProperty" + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 29, + 1 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "18": { + "name": "setImportPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "importPaths" + ], + "range": [ + [ + 29, + 18 + ], + [ + 32, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "8": { + "name": "read", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 32, + 8 + ], + [ + 35, + 1 + ] + ], + "doc": "~Private~" + } + }, + "35": { + "14": { + "name": "cssForFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "lessContent" + ], + "range": [ + [ + 35, + 14 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 38, + 11 + ], + [ + 38, + 27 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 7 + }, + "src/lines-component.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + }, + "6": { + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 9 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "span", + "exportsProperty": "span" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "debounce", + "exportsProperty": "debounce" + }, + "11": { + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 17 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "isEqual", + "exportsProperty": "isEqual" + }, + "20": { + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 39 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "42": { + "type": "import", + "range": [ + [ + 3, + 42 + ], + [ + 3, + 55 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "multiplyString", + "exportsProperty": "multiplyString" + }, + "58": { + "type": "import", + "range": [ + [ + 3, + 58 + ], + [ + 3, + 64 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "toArray", + "exportsProperty": "toArray" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 2 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "$$", + "exportsProperty": "$$" + } + }, + "6": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 6, + 13 + ], + [ + 6, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "7": { + "19": { + "name": "CursorsComponent", + "type": "import", + "range": [ + [ + 7, + 19 + ], + [ + 7, + 47 + ] + ], + "bindingType": "variable", + "path": "./cursors-component" + } + }, + "8": { + "22": { + "name": "HighlightsComponent", + "type": "import", + "range": [ + [ + 8, + 22 + ], + [ + 8, + 53 + ] + ], + "bindingType": "variable", + "path": "./highlights-component" + } + }, + "10": { + "16": { + "type": "primitive", + "range": [ + [ + 10, + 16 + ], + [ + 10, + 111 + ] + ] + } + }, + "11": { + "15": { + "type": "primitive", + "range": [ + [ + 11, + 15 + ], + [ + 11, + 55 + ] + ] + }, + "28": { + "name": "acceptNode", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 11, + 28 + ], + [ + 11, + 54 + ] + ], + "doc": null + } + }, + "12": { + "13": { + "name": "WrapperDiv", + "type": "function", + "range": [ + [ + 12, + 13 + ], + [ + 12, + 41 + ] + ] + } + }, + "15": { + "17": { + "name": "LinesComponent", + "type": "function", + "range": [ + [ + 15, + 17 + ], + [ + 348, + 41 + ] + ] + } + }, + "16": { + "15": { + "name": "'LinesComponent'", + "type": "primitive", + "range": [ + [ + 16, + 15 + ], + [ + 16, + 30 + ] + ] + } + }, + "18": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 18, + 10 + ], + [ + 44, + 1 + ] + ], + "doc": null + } + }, + "44": { + "16": { + "name": "getTransform", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 16 + ], + [ + 52, + 1 + ] + ], + "doc": null + } + }, + "52": { + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 22 + ], + [ + 59, + 1 + ] + ], + "doc": null + } + }, + "59": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 59, + 25 + ], + [ + 79, + 1 + ] + ], + "doc": null + } + }, + "79": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "prevProps" + ], + "range": [ + [ + 79, + 22 + ], + [ + 88, + 1 + ] + ], + "doc": null + } + }, + "88": { + "24": { + "name": "clearScreenRowCaches", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 24 + ], + [ + 92, + 1 + ] + ], + "doc": null + } + }, + "92": { + "15": { + "name": "updateLines", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "updateWidth" + ], + "range": [ + [ + 92, + 15 + ], + [ + 100, + 1 + ] + ], + "doc": null + } + }, + "100": { + "19": { + "name": "removeLineNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "visibleLines" + ], + "range": [ + [ + 100, + 19 + ], + [ + 114, + 1 + ] + ], + "doc": null + } + }, + "114": { + "34": { + "name": "appendOrUpdateVisibleLineNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "visibleLines", + "startRow", + "updateWidth" + ], + "range": [ + [ + 114, + 34 + ], + [ + 145, + 1 + ] + ], + "doc": null + } + }, + "145": { + "15": { + "name": "hasLineNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineId" + ], + "range": [ + [ + 145, + 15 + ], + [ + 148, + 1 + ] + ], + "doc": null + } + }, + "148": { + "17": { + "name": "buildLineHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "screenRow" + ], + "range": [ + [ + 148, + 17 + ], + [ + 171, + 1 + ] + ], + "doc": null + } + }, + "171": { + "27": { + "name": "buildEmptyLineInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 171, + 27 + ], + [ + 198, + 1 + ] + ], + "doc": null + } + }, + "198": { + "22": { + "name": "buildLineInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 198, + 22 + ], + [ + 215, + 1 + ] + ], + "doc": null + } + }, + "215": { + "22": { + "name": "buildEndOfLineHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "invisibles" + ], + "range": [ + [ + 215, + 22 + ], + [ + 228, + 1 + ] + ], + "doc": null + } + }, + "228": { + "20": { + "name": "updateScopeStack", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 228, + 20 + ], + [ + 245, + 1 + ] + ], + "doc": null + } + }, + "245": { + "12": { + "name": "popScope", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack" + ], + "range": [ + [ + 245, + 12 + ], + [ + 249, + 1 + ] + ], + "doc": null + } + }, + "249": { + "13": { + "name": "pushScope", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack", + "scope" + ], + "range": [ + [ + 249, + 13 + ], + [ + 253, + 1 + ] + ], + "doc": null + } + }, + "253": { + "18": { + "name": "updateLineNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "screenRow", + "updateWidth" + ], + "range": [ + [ + 253, + 18 + ], + [ + 278, + 1 + ] + ], + "doc": null + } + }, + "278": { + "17": { + "name": "hasDecoration", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "decorations", + "decoration" + ], + "range": [ + [ + 278, + 17 + ], + [ + 281, + 1 + ] + ], + "doc": null + } + }, + "281": { + "24": { + "name": "lineNodeForScreenRow", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 281, + 24 + ], + [ + 284, + 1 + ] + ], + "doc": null + } + }, + "284": { + "40": { + "name": "measureLineHeightAndDefaultCharWidth", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 40 + ], + [ + 295, + 1 + ] + ], + "doc": null + } + }, + "295": { + "28": { + "name": "remeasureCharacterWidths", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 295, + 28 + ], + [ + 299, + 1 + ] + ], + "doc": null + } + }, + "299": { + "31": { + "name": "measureCharactersInNewLines", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 299, + 31 + ], + [ + 311, + 1 + ] + ], + "doc": null + } + }, + "311": { + "27": { + "name": "measureCharactersInLine", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "tokenizedLine", + "lineNode" + ], + "range": [ + [ + 311, + 27 + ], + [ + 346, + 1 + ] + ], + "doc": null + } + }, + "346": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 25 + ], + [ + 348, + 41 + ] + ], + "doc": null + } + } + }, + "exports": 15 + }, + "src/menu-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "3": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 3, + 6 + ], + [ + 3, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1.0.2" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.0.4" + } + }, + "12": { + "0": { + "type": "class", + "name": "MenuManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 15 + ], + [ + 37, + 7 + ], + [ + 47, + 19 + ], + [ + 79, + 10 + ], + [ + 88, + 21 + ], + [ + 96, + 9 + ], + [ + 107, + 27 + ], + [ + 117, + 24 + ], + [ + 121, + 18 + ], + [ + 130, + 21 + ] + ], + "doc": " Public: Provides a registry for menu items that you'd like to appear in the\napplication menu.\n\nAn instance of this class is always available as the `atom.menu` global. ", + "range": [ + [ + 12, + 0 + ], + [ + 131, + 49 + ] + ] + } + }, + "13": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 13, + 15 + ], + [ + 37, + 1 + ] + ] + } + }, + "37": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 37, + 7 + ], + [ + 47, + 1 + ] + ], + "doc": " Public: Adds the given item definition to the existing template.\n\n## Example\n```coffee\n atom.menu.add [\n {\n label: 'Hello'\n submenu : [{label: 'World!', command: 'hello:world'}]\n }\n ]\n```\n\nitems - An {Array} of menu item {Object}s containing the keys:\n :label - The {String} menu label.\n :submenu - An optional {Array} of sub menu items.\n :command - An optional {String} command to trigger when the item is\n clicked.\n\nReturns nothing. " + } + }, + "47": { + "19": { + "name": "includeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 47, + 19 + ], + [ + 79, + 1 + ] + ], + "doc": " Private: Should the binding for the given selector be included in the menu\ncommands.\n\nselector - A {String} selector to check.\n\nReturns true to include the selector, false otherwise. " + } + }, + "79": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 10 + ], + [ + 88, + 1 + ] + ], + "doc": "Public: Refreshes the currently visible menu. " + } + }, + "88": { + "21": { + "name": "loadPlatformItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 21 + ], + [ + 96, + 1 + ] + ], + "doc": "~Private~" + } + }, + "96": { + "9": { + "name": "merge", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "menu", + "item" + ], + "range": [ + [ + 96, + 9 + ], + [ + 107, + 1 + ] + ], + "doc": " Private: Merges an item in a submenu aware way such that new items are always\nappended to the bottom of existing menus where possible. " + } + }, + "107": { + "27": { + "name": "filterMultipleKeystroke", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystrokesByCommand" + ], + "range": [ + [ + 107, + 27 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: OSX can't handle displaying accelerators for multiple keystrokes.\nIf they are sent across, it will stop processing accelerators for the rest\nof the menu items. " + } + }, + "117": { + "24": { + "name": "sendToBrowserProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 117, + 24 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "18": { + "name": "normalizeLabel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "label" + ], + "range": [ + [ + 121, + 18 + ], + [ + 130, + 1 + ] + ], + "doc": "~Private~" + } + }, + "130": { + "21": { + "name": "classesForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 130, + 21 + ], + [ + 131, + 49 + ] + ], + "doc": "Private: Get an {Array} of {String} classes for the given element. " + } + } + }, + "exports": 12 + }, + "src/package-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.0.4" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "7": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 7, + 10 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "8": { + "15": { + "name": "ThemePackage", + "type": "import", + "range": [ + [ + 8, + 15 + ], + [ + 8, + 39 + ] + ], + "bindingType": "variable", + "path": "./theme-package" + } + }, + "26": { + "0": { + "type": "class", + "name": "PackageManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 44, + 14 + ], + [ + 52, + 22 + ], + [ + 55, + 19 + ], + [ + 58, + 19 + ], + [ + 62, + 17 + ], + [ + 68, + 18 + ], + [ + 74, + 12 + ], + [ + 82, + 28 + ], + [ + 85, + 20 + ], + [ + 90, + 19 + ], + [ + 100, + 22 + ], + [ + 105, + 21 + ], + [ + 113, + 21 + ], + [ + 117, + 20 + ], + [ + 121, + 19 + ], + [ + 124, + 29 + ], + [ + 128, + 27 + ], + [ + 137, + 16 + ], + [ + 148, + 15 + ], + [ + 168, + 18 + ], + [ + 172, + 17 + ], + [ + 182, + 20 + ], + [ + 186, + 19 + ], + [ + 190, + 21 + ], + [ + 196, + 29 + ], + [ + 200, + 22 + ], + [ + 210, + 21 + ], + [ + 213, + 17 + ], + [ + 218, + 20 + ], + [ + 221, + 26 + ], + [ + 231, + 28 + ], + [ + 246, + 28 + ], + [ + 250, + 31 + ] + ], + "doc": " Public: Package manager for coordinating the lifecycle of Atom packages.\n\nAn instance of this class is always available as the `atom.packages` global.\n\nPackages can be loaded, activated, and deactivated, and unloaded:\n * Loading a package reads and parses the package's metadata and resources\n such as keymaps, menus, stylesheets, etc.\n * Activating a package registers the loaded resources and calls `activate()`\n on the package's main module.\n * Deactivating a package unregisters the package's resources and calls\n `deactivate()` on the package's main module.\n * Unloading a package removes it completely from the package manager.\n\nPackages can also be enabled/disabled via the `core.disabledPackages` config\nsettings and also by calling `enablePackage()/disablePackage()`. ", + "range": [ + [ + 26, + 0 + ], + [ + 256, + 12 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 29, + 15 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "14": { + "name": "getApmPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 14 + ], + [ + 52, + 1 + ] + ], + "doc": "Public: Get the path to the apm command " + } + }, + "52": { + "22": { + "name": "getPackageDirPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 22 + ], + [ + 55, + 1 + ] + ], + "doc": " Public: Get the paths being used to look for packages.\n\nReturns an Array of String directory paths. " + } + }, + "55": { + "19": { + "name": "getPackageState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 55, + 19 + ], + [ + 58, + 1 + ] + ], + "doc": "~Private~" + } + }, + "58": { + "19": { + "name": "setPackageState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "state" + ], + "range": [ + [ + 58, + 19 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "17": { + "name": "enablePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 62, + 17 + ], + [ + 68, + 1 + ] + ], + "doc": "Public: Enable the package with the given name " + } + }, + "68": { + "18": { + "name": "disablePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 68, + 18 + ], + [ + 74, + 1 + ] + ], + "doc": "Public: Disable the package with the given name " + } + }, + "74": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 12 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Activate all the packages that should be activated. " + } + }, + "82": { + "28": { + "name": "registerPackageActivator", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "activator", + "types" + ], + "range": [ + [ + 82, + 28 + ], + [ + 85, + 1 + ] + ], + "doc": " Private: another type of package manager can handle other package types.\nSee ThemeManager " + } + }, + "85": { + "20": { + "name": "activatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "packages" + ], + "range": [ + [ + 85, + 20 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "19": { + "name": "activatePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 90, + 19 + ], + [ + 100, + 1 + ] + ], + "doc": "Private: Activate a single package by name " + } + }, + "100": { + "22": { + "name": "deactivatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 100, + 22 + ], + [ + 105, + 1 + ] + ], + "doc": "Private: Deactivate all packages " + } + }, + "105": { + "21": { + "name": "deactivatePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 105, + 21 + ], + [ + 113, + 1 + ] + ], + "doc": "Private: Deactivate the package with the given name " + } + }, + "113": { + "21": { + "name": "getActivePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 113, + 21 + ], + [ + 117, + 1 + ] + ], + "doc": "Public: Get an array of all the active packages " + } + }, + "117": { + "20": { + "name": "getActivePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 117, + 20 + ], + [ + 121, + 1 + ] + ], + "doc": "Public: Get the active package with the given name " + } + }, + "121": { + "19": { + "name": "isPackageActive", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 121, + 19 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Is the package with the given name active? " + } + }, + "124": { + "29": { + "name": "unobserveDisabledPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 29 + ], + [ + 128, + 1 + ] + ], + "doc": "~Private~" + } + }, + "128": { + "27": { + "name": "observeDisabledPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 128, + 27 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "16": { + "name": "loadPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 16 + ], + [ + 148, + 1 + ] + ], + "doc": "~Private~" + } + }, + "148": { + "15": { + "name": "loadPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "nameOrPath" + ], + "range": [ + [ + 148, + 15 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "18": { + "name": "unloadPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 18 + ], + [ + 172, + 1 + ] + ], + "doc": "~Private~" + } + }, + "172": { + "17": { + "name": "unloadPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 172, + 17 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "20": { + "name": "getLoadedPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 182, + 20 + ], + [ + 186, + 1 + ] + ], + "doc": "Public: Get the loaded package with the given name " + } + }, + "186": { + "19": { + "name": "isPackageLoaded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 186, + 19 + ], + [ + 190, + 1 + ] + ], + "doc": "Public: Is the package with the given name loaded? " + } + }, + "190": { + "21": { + "name": "getLoadedPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 21 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded packages " + } + }, + "196": { + "29": { + "name": "getLoadedPackagesForTypes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "types" + ], + "range": [ + [ + 196, + 29 + ], + [ + 200, + 1 + ] + ], + "doc": " Private: Get packages for a certain package type\n\ntypes - an {Array} of {String}s like ['atom', 'textmate']. " + } + }, + "200": { + "22": { + "name": "resolvePackagePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 200, + 22 + ], + [ + 210, + 1 + ] + ], + "doc": "Public: Resolve the given package name to a path on disk. " + } + }, + "210": { + "21": { + "name": "isPackageDisabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 210, + 21 + ], + [ + 213, + 1 + ] + ], + "doc": "Public: Is the package with the given name disabled? " + } + }, + "213": { + "17": { + "name": "hasAtomEngine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "packagePath" + ], + "range": [ + [ + 213, + 17 + ], + [ + 218, + 1 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "20": { + "name": "isBundledPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 218, + 20 + ], + [ + 221, + 1 + ] + ], + "doc": "Public: Is the package with the given name bundled with Atom? " + } + }, + "221": { + "26": { + "name": "getPackageDependencies", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 221, + 26 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "28": { + "name": "getAvailablePackagePaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 231, + 28 + ], + [ + 246, + 1 + ] + ], + "doc": "Public: Get an array of all the available package paths. " + } + }, + "246": { + "28": { + "name": "getAvailablePackageNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 246, + 28 + ], + [ + 250, + 1 + ] + ], + "doc": "Public: Get an array of all the available package names. " + } + }, + "250": { + "31": { + "name": "getAvailablePackageMetadata", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 250, + 31 + ], + [ + 256, + 12 + ] + ], + "doc": "Public: Get an array of all the available package metadata. " + } + } + }, + "exports": 26 + }, + "src/package.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "3": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 3, + 8 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "async" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1.0.2" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.0.4" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "7": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "9": { + "4": { + "type": "primitive", + "range": [ + [ + 9, + 4 + ], + [ + 9, + 7 + ] + ] + } + }, + "10": { + "19": { + "name": "ScopedProperties", + "type": "import", + "range": [ + [ + 10, + 19 + ], + [ + 10, + 47 + ] + ], + "bindingType": "variable", + "path": "./scoped-properties" + } + }, + "15": { + "0": { + "type": "class", + "name": "Package", + "bindingType": "exports", + "classProperties": [ + [ + 18, + 19 + ], + [ + 20, + 17 + ] + ], + "prototypeProperties": [ + [ + 30, + 11 + ], + [ + 31, + 9 + ], + [ + 32, + 15 + ], + [ + 33, + 12 + ], + [ + 34, + 20 + ], + [ + 35, + 18 + ], + [ + 36, + 26 + ], + [ + 37, + 14 + ], + [ + 39, + 15 + ], + [ + 44, + 10 + ], + [ + 47, + 11 + ], + [ + 50, + 11 + ], + [ + 53, + 11 + ], + [ + 59, + 11 + ], + [ + 61, + 21 + ], + [ + 63, + 8 + ], + [ + 76, + 9 + ], + [ + 83, + 12 + ], + [ + 97, + 15 + ], + [ + 109, + 18 + ], + [ + 118, + 23 + ], + [ + 126, + 21 + ], + [ + 138, + 15 + ], + [ + 141, + 13 + ], + [ + 144, + 18 + ], + [ + 151, + 16 + ], + [ + 158, + 19 + ], + [ + 162, + 22 + ], + [ + 165, + 22 + ], + [ + 177, + 20 + ], + [ + 194, + 16 + ], + [ + 213, + 24 + ], + [ + 231, + 13 + ], + [ + 238, + 14 + ], + [ + 247, + 20 + ], + [ + 251, + 23 + ], + [ + 260, + 21 + ], + [ + 266, + 20 + ], + [ + 269, + 21 + ], + [ + 275, + 21 + ], + [ + 285, + 23 + ], + [ + 297, + 31 + ], + [ + 306, + 25 + ], + [ + 315, + 35 + ], + [ + 325, + 36 + ], + [ + 339, + 36 + ], + [ + 345, + 18 + ], + [ + 353, + 34 + ], + [ + 371, + 32 + ], + [ + 401, + 16 + ] + ], + "doc": " Private: Loads and activates a package's main module and resources such as\nstylesheets, keymaps, grammar, editor properties, and menus. ", + "range": [ + [ + 15, + 0 + ], + [ + 411, + 24 + ] + ] + } + }, + "18": { + "19": { + "name": "stylesheetsDir", + "type": "primitive", + "range": [ + [ + 18, + 19 + ], + [ + 18, + 31 + ] + ], + "bindingType": "classProperty" + } + }, + "20": { + "17": { + "name": "loadMetadata", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "packagePath", + "ignoreErrors" + ], + "range": [ + [ + 20, + 17 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "keymaps", + "type": "primitive", + "range": [ + [ + 30, + 11 + ], + [ + 30, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "31": { + "9": { + "name": "menus", + "type": "primitive", + "range": [ + [ + 31, + 9 + ], + [ + 31, + 12 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "32": { + "15": { + "name": "stylesheets", + "type": "primitive", + "range": [ + [ + 32, + 15 + ], + [ + 32, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "33": { + "12": { + "name": "grammars", + "type": "primitive", + "range": [ + [ + 33, + 12 + ], + [ + 33, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "34": { + "20": { + "name": "scopedProperties", + "type": "primitive", + "range": [ + [ + 34, + 20 + ], + [ + 34, + 23 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "35": { + "18": { + "name": "mainModulePath", + "type": "primitive", + "range": [ + [ + 35, + 18 + ], + [ + 35, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "36": { + "26": { + "name": "resolvedMainModulePath", + "type": "primitive", + "range": [ + [ + 36, + 26 + ], + [ + 36, + 30 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "37": { + "14": { + "name": "mainModule", + "type": "primitive", + "range": [ + [ + 37, + 14 + ], + [ + 37, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "39": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 39, + 15 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "10": { + "name": "enable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 10 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "11": { + "name": "disable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 47, + 11 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "11": { + "name": "isTheme", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 11 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "11": { + "name": "measure", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "key", + "fn" + ], + "range": [ + [ + 53, + 11 + ], + [ + 59, + 1 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "11": { + "name": "getType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 11 + ], + [ + 59, + 19 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "21": { + "name": "getStylesheetType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 21 + ], + [ + 61, + 32 + ] + ], + "doc": "~Private~" + } + }, + "63": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 63, + 8 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "9": { + "name": "reset", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 9 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 83, + 12 + ], + [ + 97, + 1 + ] + ], + "doc": "~Private~" + } + }, + "97": { + "15": { + "name": "activateNow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 97, + 15 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "18": { + "name": "activateConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 18 + ], + [ + 118, + 1 + ] + ], + "doc": "~Private~" + } + }, + "118": { + "23": { + "name": "activateStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 118, + 23 + ], + [ + 126, + 1 + ] + ], + "doc": "~Private~" + } + }, + "126": { + "21": { + "name": "activateResources", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 21 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "15": { + "name": "loadKeymaps", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 15 + ], + [ + 141, + 1 + ] + ], + "doc": "~Private~" + } + }, + "141": { + "13": { + "name": "loadMenus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 13 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "18": { + "name": "getKeymapPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 144, + 18 + ], + [ + 151, + 1 + ] + ], + "doc": "~Private~" + } + }, + "151": { + "16": { + "name": "getMenuPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 151, + 16 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "19": { + "name": "loadStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 19 + ], + [ + 162, + 1 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "22": { + "name": "getStylesheetsPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 22 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "22": { + "name": "getStylesheetPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 22 + ], + [ + 177, + 1 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "20": { + "name": "loadGrammarsSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 20 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "16": { + "name": "loadGrammars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 194, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "24": { + "name": "loadScopedProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 24 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "13": { + "name": "serialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 231, + 13 + ], + [ + 238, + 1 + ] + ], + "doc": "~Private~" + } + }, + "238": { + "14": { + "name": "deactivate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 238, + 14 + ], + [ + 247, + 1 + ] + ], + "doc": "~Private~" + } + }, + "247": { + "20": { + "name": "deactivateConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 247, + 20 + ], + [ + 251, + 1 + ] + ], + "doc": "~Private~" + } + }, + "251": { + "23": { + "name": "deactivateResources", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 251, + 23 + ], + [ + 260, + 1 + ] + ], + "doc": "~Private~" + } + }, + "260": { + "21": { + "name": "reloadStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 21 + ], + [ + 266, + 1 + ] + ], + "doc": "~Private~" + } + }, + "266": { + "20": { + "name": "reloadStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "content" + ], + "range": [ + [ + 266, + 20 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "21": { + "name": "requireMainModule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 21 + ], + [ + 275, + 1 + ] + ] + } + }, + "275": { + "21": { + "name": "getMainModulePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 275, + 21 + ], + [ + 285, + 1 + ] + ], + "doc": "~Private~" + } + }, + "285": { + "23": { + "name": "hasActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 285, + 23 + ], + [ + 297, + 1 + ] + ], + "doc": "~Private~" + } + }, + "297": { + "31": { + "name": "subscribeToActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 31 + ], + [ + 306, + 1 + ] + ], + "doc": "~Private~" + } + }, + "306": { + "25": { + "name": "handleActivationEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 306, + 25 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "35": { + "name": "unsubscribeFromActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 35 + ], + [ + 325, + 1 + ] + ], + "doc": "~Private~" + } + }, + "325": { + "36": { + "name": "disableEventHandlersOnBubblePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 325, + 36 + ], + [ + 339, + 1 + ] + ], + "doc": "~Private~" + } + }, + "339": { + "36": { + "name": "restoreEventHandlersOnBubblePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventHandlers" + ], + "range": [ + [ + 339, + 36 + ], + [ + 345, + 1 + ] + ], + "doc": "~Private~" + } + }, + "345": { + "18": { + "name": "isNativeModule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "modulePath" + ], + "range": [ + [ + 345, + 18 + ], + [ + 353, + 1 + ] + ], + "doc": "Private: Does the given module path contain native code? " + } + }, + "353": { + "34": { + "name": "getNativeModuleDependencyPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 353, + 34 + ], + [ + 371, + 1 + ] + ], + "doc": " Private: Get an array of all the native modules that this package depends on.\nThis will recurse through all dependencies. " + } + }, + "371": { + "32": { + "name": "getIncompatibleNativeModules", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 371, + 32 + ], + [ + 401, + 1 + ] + ], + "doc": " Private: Get the incompatible native modules that this package depends on.\nThis recurses through all dependencies and requires all modules that\ncontain a `.node` file.\n\nThis information is cached in local storage on a per package/version basis\nto minimize the impact on startup time. " + } + }, + "401": { + "16": { + "name": "isCompatible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 401, + 16 + ], + [ + 411, + 24 + ] + ], + "doc": " Public: Is this package compatible with this version of Atom?\n\nIncompatible packages cannot be activated. This will include packages\ninstalled to ~/.atom/packages that were built against node 0.11.10 but\nnow need to be upgrade to node 0.11.13.\n\nReturns a {Boolean}, true if compatible, false if incompatible. " + } + } + }, + "exports": 15 + }, + "src/pane-axis-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "11": { + "type": "primitive", + "range": [ + [ + 1, + 11 + ], + [ + 1, + 14 + ] + ] + } + }, + "4": { + "0": { + "type": "class", + "name": "PaneAxisView", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 5, + 14 + ], + [ + 9, + 15 + ], + [ + 12, + 16 + ], + [ + 16, + 22 + ], + [ + 22, + 16 + ], + [ + 26, + 18 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 31, + 48 + ] + ] + } + }, + "5": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 5, + 14 + ], + [ + 9, + 1 + ] + ] + } + }, + "9": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 15 + ], + [ + 12, + 1 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "16": { + "name": "viewForModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "model" + ], + "range": [ + [ + 12, + 16 + ], + [ + 16, + 1 + ] + ], + "doc": "~Private~" + } + }, + "16": { + "22": { + "name": "onChildrenChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 16, + 22 + ], + [ + 22, + 1 + ] + ], + "doc": "~Private~" + } + }, + "22": { + "16": { + "name": "onChildAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child", + "index" + ], + "range": [ + [ + 22, + 16 + ], + [ + 26, + 1 + ] + ], + "doc": "~Private~" + } + }, + "26": { + "18": { + "name": "onChildRemoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 26, + 18 + ], + [ + 31, + 48 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/pane-axis.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 15 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Sequence", + "exportsProperty": "Sequence" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 7 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "flatten", + "exportsProperty": "flatten" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "4": { + "14": { + "type": "primitive", + "range": [ + [ + 4, + 14 + ], + [ + 4, + 17 + ] + ] + } + }, + "5": { + "17": { + "type": "primitive", + "range": [ + [ + 5, + 17 + ], + [ + 5, + 20 + ] + ] + } + }, + "8": { + "0": { + "type": "class", + "name": "PaneAxis", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 25, + 21 + ], + [ + 30, + 19 + ], + [ + 34, + 16 + ], + [ + 40, + 12 + ], + [ + 43, + 12 + ], + [ + 46, + 15 + ], + [ + 51, + 16 + ], + [ + 56, + 21 + ], + [ + 60, + 20 + ], + [ + 64, + 21 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 65, + 44 + ] + ] + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 25, + 21 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 19 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 16 + ], + [ + 40, + 1 + ] + ], + "doc": "~Private~" + } + }, + "40": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 40, + 12 + ], + [ + 43, + 1 + ] + ], + "doc": "~Private~" + } + }, + "43": { + "12": { + "name": "addChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child", + "index" + ], + "range": [ + [ + 43, + 12 + ], + [ + 46, + 1 + ] + ], + "doc": "~Private~" + } + }, + "46": { + "15": { + "name": "removeChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 46, + 15 + ], + [ + 51, + 1 + ] + ], + "doc": "~Private~" + } + }, + "51": { + "16": { + "name": "replaceChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "oldChild", + "newChild" + ], + "range": [ + [ + 51, + 16 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "21": { + "name": "insertChildBefore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "currentChild", + "newChild" + ], + "range": [ + [ + 56, + 21 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "20": { + "name": "insertChildAfter", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "currentChild", + "newChild" + ], + "range": [ + [ + 60, + 20 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "21": { + "name": "reparentLastChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 21 + ], + [ + 65, + 44 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/pane-column-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "2": { + "15": { + "name": "PaneAxisView", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 40 + ] + ], + "bindingType": "variable", + "path": "./pane-axis-view" + } + }, + "5": { + "0": { + "type": "class", + "name": "PaneColumnView", + "bindingType": "exports", + "classProperties": [ + [ + 7, + 12 + ] + ], + "prototypeProperties": [ + [ + 10, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 11, + 16 + ] + ] + } + }, + "7": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 7, + 12 + ], + [ + 10, + 1 + ] + ], + "doc": "~Private~" + } + }, + "10": { + "13": { + "name": "className", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 13 + ], + [ + 11, + 16 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "src/pane-container-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "1": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "3": { + "11": { + "name": "PaneView", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-view" + } + }, + "4": { + "16": { + "name": "PaneContainer", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 41 + ] + ], + "bindingType": "variable", + "path": "./pane-container" + } + }, + "8": { + "0": { + "type": "class", + "name": "PaneContainerView", + "bindingType": "exports", + "classProperties": [ + [ + 13, + 12 + ] + ], + "prototypeProperties": [ + [ + 16, + 14 + ], + [ + 25, + 16 + ], + [ + 30, + 11 + ], + [ + 33, + 17 + ], + [ + 47, + 27 + ], + [ + 50, + 15 + ], + [ + 55, + 16 + ], + [ + 64, + 16 + ], + [ + 67, + 15 + ], + [ + 70, + 15 + ], + [ + 73, + 16 + ], + [ + 79, + 18 + ], + [ + 82, + 17 + ], + [ + 86, + 21 + ], + [ + 89, + 21 + ], + [ + 92, + 17 + ], + [ + 95, + 14 + ], + [ + 98, + 21 + ], + [ + 101, + 25 + ], + [ + 104, + 22 + ], + [ + 107, + 22 + ], + [ + 110, + 23 + ], + [ + 113, + 24 + ], + [ + 116, + 26 + ], + [ + 143, + 26 + ], + [ + 152, + 12 + ] + ], + "doc": "Private: Manages the list of panes within a {WorkspaceView} ", + "range": [ + [ + 8, + 0 + ], + [ + 154, + 19 + ] + ] + } + }, + "13": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 12 + ], + [ + 16, + 1 + ] + ], + "doc": "~Private~" + } + }, + "16": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 16, + 14 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "16": { + "name": "viewForModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "model" + ], + "range": [ + [ + 25, + 16 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "getRoot", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 11 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "17": { + "name": "onRootChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "root" + ], + "range": [ + [ + 33, + 17 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "27": { + "name": "onActivePaneItemChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "activeItem" + ], + "range": [ + [ + 47, + 27 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "15": { + "name": "removeChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 50, + 15 + ], + [ + 55, + 1 + ] + ], + "doc": "~Private~" + } + }, + "55": { + "16": { + "name": "confirmClose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 16 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "16": { + "name": "getPaneViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 16 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "15": { + "name": "indexOfPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "paneView" + ], + "range": [ + [ + 67, + 15 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "15": { + "name": "paneAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 70, + 15 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "16": { + "name": "eachPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 73, + 16 + ], + [ + 79, + 1 + ] + ], + "doc": "~Private~" + } + }, + "79": { + "18": { + "name": "getFocusedPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 18 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 17 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "21": { + "name": "getActivePaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 21 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "17": { + "name": "getActiveView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 92, + 17 + ], + [ + 95, + 1 + ] + ], + "doc": "~Private~" + } + }, + "95": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 95, + 14 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "21": { + "name": "focusNextPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 21 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "focusPreviousPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 25 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "22": { + "name": "focusPaneViewAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 22 + ], + [ + 107, + 1 + ] + ], + "doc": "~Private~" + } + }, + "107": { + "22": { + "name": "focusPaneViewBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 22 + ], + [ + 110, + 1 + ] + ], + "doc": "~Private~" + } + }, + "110": { + "23": { + "name": "focusPaneViewOnLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 23 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "24": { + "name": "focusPaneViewOnRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 113, + 24 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "26": { + "name": "nearestPaneInDirection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "direction" + ], + "range": [ + [ + 116, + 26 + ], + [ + 143, + 1 + ] + ], + "doc": "~Private~" + } + }, + "143": { + "26": { + "name": "boundingBoxForPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "paneView" + ], + "range": [ + [ + 143, + 26 + ], + [ + 152, + 1 + ] + ], + "doc": "~Private~" + } + }, + "152": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 152, + 12 + ], + [ + 154, + 19 + ] + ], + "doc": "Private: Deprecated " + } + } + }, + "exports": 8 + }, + "src/pane-container.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "find", + "exportsProperty": "find" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "3": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "6": { + "0": { + "type": "class", + "name": "PaneContainer", + "bindingType": "exports", + "classProperties": [ + [ + 10, + 12 + ] + ], + "prototypeProperties": [ + [ + 16, + 16 + ], + [ + 23, + 15 + ], + [ + 28, + 21 + ], + [ + 34, + 19 + ], + [ + 38, + 16 + ], + [ + 42, + 12 + ], + [ + 45, + 17 + ], + [ + 48, + 14 + ], + [ + 51, + 11 + ], + [ + 54, + 20 + ], + [ + 64, + 24 + ], + [ + 75, + 17 + ], + [ + 89, + 21 + ], + [ + 92, + 17 + ], + [ + 96, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 6, + 0 + ], + [ + 97, + 42 + ] + ] + } + }, + "10": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 10, + 12 + ], + [ + 10, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "16": { + "16": { + "name": "previousRoot", + "type": "primitive", + "range": [ + [ + 16, + 16 + ], + [ + 16, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "23": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 23, + 15 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 28, + 21 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 34, + 19 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "16": { + "name": "replaceChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "oldChild", + "newChild" + ], + "range": [ + [ + 38, + 16 + ], + [ + 42, + 1 + ] + ], + "doc": "~Private~" + } + }, + "42": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 12 + ], + [ + 45, + 1 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 17 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 48, + 14 + ], + [ + 51, + 1 + ] + ], + "doc": "~Private~" + } + }, + "51": { + "11": { + "name": "saveAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 51, + 11 + ], + [ + 54, + 1 + ] + ], + "doc": "~Private~" + } + }, + "54": { + "20": { + "name": "activateNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 54, + 20 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "24": { + "name": "activatePreviousPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 24 + ], + [ + 75, + 1 + ] + ], + "doc": "~Private~" + } + }, + "75": { + "17": { + "name": "onRootChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "root" + ], + "range": [ + [ + 75, + 17 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "destroyEmptyPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "17": { + "name": "itemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 92, + 17 + ], + [ + 96, + 1 + ] + ], + "doc": "~Private~" + } + }, + "96": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 13 + ], + [ + 97, + 42 + ] + ], + "doc": "Private: Called by Model superclass when destroyed " + } + } + }, + "exports": 6 + }, + "src/pane-row-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "2": { + "15": { + "name": "PaneAxisView", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 40 + ] + ], + "bindingType": "variable", + "path": "./pane-axis-view" + } + }, + "5": { + "0": { + "type": "class", + "name": "PaneRowView", + "bindingType": "exports", + "classProperties": [ + [ + 6, + 12 + ] + ], + "prototypeProperties": [ + [ + 9, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 10, + 13 + ] + ] + } + }, + "6": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 12 + ], + [ + 9, + 1 + ] + ] + } + }, + "9": { + "13": { + "name": "className", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 13 + ], + [ + 10, + 13 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "src/pane-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "3": { + "20": { + "name": "PropertyAccessors", + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 47 + ] + ], + "bindingType": "variable", + "module": "property-accessors" + } + }, + "5": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "14": { + "0": { + "type": "class", + "name": "PaneView", + "bindingType": "exports", + "classProperties": [ + [ + 18, + 12 + ], + [ + 20, + 12 + ] + ], + "prototypeProperties": [ + [ + 32, + 22 + ], + [ + 34, + 14 + ], + [ + 45, + 16 + ], + [ + 84, + 14 + ], + [ + 89, + 12 + ], + [ + 94, + 18 + ], + [ + 99, + 19 + ], + [ + 104, + 16 + ], + [ + 109, + 20 + ], + [ + 113, + 15 + ], + [ + 121, + 15 + ], + [ + 124, + 25 + ], + [ + 133, + 15 + ], + [ + 139, + 21 + ], + [ + 142, + 23 + ], + [ + 158, + 15 + ], + [ + 161, + 17 + ], + [ + 175, + 15 + ], + [ + 178, + 25 + ], + [ + 182, + 26 + ], + [ + 185, + 15 + ], + [ + 199, + 13 + ], + [ + 201, + 14 + ], + [ + 203, + 11 + ], + [ + 205, + 13 + ], + [ + 210, + 16 + ], + [ + 213, + 16 + ], + [ + 216, + 10 + ] + ], + "doc": " Public: A container which can contains multiple items to be switched between.\n\nItems can be almost anything however most commonly they're {EditorView}s.\n\nMost packages won't need to use this class, unless you're interested in\nbuilding a package that deals with switching between panes or items. ", + "range": [ + [ + 14, + 0 + ], + [ + 219, + 9 + ] + ] + } + }, + "18": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 18, + 12 + ], + [ + 18, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "20": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "wrappedView" + ], + "range": [ + [ + 20, + 12 + ], + [ + 24, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "22": { + "name": "previousActiveItem", + "type": "primitive", + "range": [ + [ + 32, + 22 + ], + [ + 32, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "34": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 34, + 14 + ], + [ + 45, + 1 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 16 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "14": { + "name": "removeItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 84, + 14 + ], + [ + 89, + 1 + ] + ], + "doc": "Deprecated: Use ::destroyItem " + } + }, + "89": { + "12": { + "name": "showItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 89, + 12 + ], + [ + 94, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItem " + } + }, + "94": { + "18": { + "name": "showItemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 94, + 18 + ], + [ + 99, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItemForUri " + } + }, + "99": { + "19": { + "name": "showItemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 99, + 19 + ], + [ + 104, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItemAtIndex " + } + }, + "104": { + "16": { + "name": "showNextItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 16 + ], + [ + 109, + 1 + ] + ], + "doc": "Deprecated: Use ::activateNextItem " + } + }, + "109": { + "20": { + "name": "showPreviousItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 20 + ], + [ + 113, + 1 + ] + ], + "doc": "Deprecated: Use ::activatePreviousItem " + } + }, + "113": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 113, + 15 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "15": { + "name": "onActivated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 121, + 15 + ], + [ + 124, + 1 + ] + ], + "doc": "~Private~" + } + }, + "124": { + "25": { + "name": "onActiveStatusChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "active" + ], + "range": [ + [ + 124, + 25 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "15": { + "name": "getNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 15 + ], + [ + 139, + 1 + ] + ], + "doc": "Public: Returns the next pane, ordered by creation. " + } + }, + "139": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 139, + 21 + ], + [ + 142, + 1 + ] + ], + "doc": "~Private~" + } + }, + "142": { + "23": { + "name": "onActiveItemChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 142, + 23 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "15": { + "name": "onItemAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index" + ], + "range": [ + [ + 158, + 15 + ], + [ + 161, + 1 + ] + ], + "doc": "~Private~" + } + }, + "161": { + "17": { + "name": "onItemRemoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index", + "destroyed" + ], + "range": [ + [ + 161, + 17 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "15": { + "name": "onItemMoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "newIndex" + ], + "range": [ + [ + 175, + 15 + ], + [ + 178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "178": { + "25": { + "name": "onBeforeItemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 178, + 25 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "26": { + "name": "activeItemTitleChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 182, + 26 + ], + [ + 185, + 1 + ] + ], + "doc": "~Private~" + } + }, + "185": { + "15": { + "name": "viewForItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 185, + 15 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "199": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 199, + 13 + ], + [ + 199, + 57 + ] + ], + "doc": "~Private~" + } + }, + "201": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 201, + 14 + ], + [ + 201, + 59 + ] + ], + "doc": "~Private~" + } + }, + "203": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 203, + 11 + ], + [ + 203, + 53 + ] + ], + "doc": "~Private~" + } + }, + "205": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 205, + 13 + ], + [ + 205, + 57 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "16": { + "name": "getContainer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": " Public: Get the container view housing this pane.\n\nReturns a {View}. " + } + }, + "213": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 16 + ], + [ + 216, + 1 + ] + ], + "doc": "~Private~" + } + }, + "216": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "keepData" + ], + "range": [ + [ + 216, + 10 + ], + [ + 219, + 9 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 14 + }, + "src/pane.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "find", + "exportsProperty": "find" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 13 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "compact", + "exportsProperty": "compact" + }, + "16": { + "type": "import", + "range": [ + [ + 0, + 16 + ], + [ + 0, + 21 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "extend", + "exportsProperty": "extend" + }, + "24": { + "type": "import", + "range": [ + [ + 0, + 24 + ], + [ + 0, + 27 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "last", + "exportsProperty": "last" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + }, + "8": { + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 15 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Sequence", + "exportsProperty": "Sequence" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "3": { + "11": { + "name": "PaneAxis", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-axis" + } + }, + "4": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "5": { + "11": { + "type": "primitive", + "range": [ + [ + 5, + 11 + ], + [ + 5, + 14 + ] + ] + } + }, + "11": { + "0": { + "type": "class", + "name": "Pane", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 43, + 19 + ], + [ + 50, + 21 + ], + [ + 57, + 16 + ], + [ + 59, + 12 + ], + [ + 62, + 9 + ], + [ + 67, + 8 + ], + [ + 73, + 12 + ], + [ + 77, + 12 + ], + [ + 82, + 12 + ], + [ + 88, + 17 + ], + [ + 93, + 19 + ], + [ + 97, + 15 + ], + [ + 101, + 20 + ], + [ + 109, + 24 + ], + [ + 117, + 22 + ], + [ + 121, + 23 + ], + [ + 125, + 16 + ], + [ + 137, + 11 + ], + [ + 154, + 12 + ], + [ + 159, + 14 + ], + [ + 175, + 12 + ], + [ + 182, + 18 + ], + [ + 187, + 21 + ], + [ + 193, + 15 + ], + [ + 204, + 16 + ], + [ + 208, + 24 + ], + [ + 211, + 11 + ], + [ + 218, + 13 + ], + [ + 224, + 20 + ], + [ + 239, + 18 + ], + [ + 243, + 20 + ], + [ + 251, + 12 + ], + [ + 263, + 14 + ], + [ + 273, + 13 + ], + [ + 278, + 14 + ], + [ + 283, + 22 + ], + [ + 290, + 18 + ], + [ + 300, + 13 + ], + [ + 309, + 14 + ], + [ + 318, + 11 + ], + [ + 327, + 13 + ], + [ + 330, + 9 + ], + [ + 344, + 23 + ], + [ + 356, + 32 + ] + ], + "doc": " Public: A container for multiple items, one of which is *active* at a given\ntime. With the default packages, a tab is displayed for each item and the\nactive item's view is displayed. ", + "range": [ + [ + 11, + 0 + ], + [ + 364, + 19 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 29, + 15 + ], + [ + 43, + 1 + ] + ], + "doc": "~Private~" + } + }, + "43": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 19 + ], + [ + 50, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during serialization. " + } + }, + "50": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 50, + 21 + ], + [ + 57, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during deserialization. " + } + }, + "57": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 16 + ], + [ + 57, + 51 + ] + ], + "doc": "Private: Called by the view layer to construct a view for this model. " + } + }, + "59": { + "12": { + "name": "isActive", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 12 + ], + [ + 59, + 21 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 62, + 9 + ], + [ + 67, + 1 + ] + ], + "doc": "Private: Called by the view layer to indicate that the pane has gained focus. " + } + }, + "67": { + "8": { + "name": "blur", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 8 + ], + [ + 73, + 1 + ] + ], + "doc": "Private: Called by the view layer to indicate that the pane has lost focus. " + } + }, + "73": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 12 + ], + [ + 77, + 1 + ] + ], + "doc": " Public: Makes this pane the *active* pane, causing it to gain focus\nimmediately. " + } + }, + "77": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 77, + 12 + ], + [ + 77, + 20 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "12": { + "name": "getItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 12 + ], + [ + 88, + 1 + ] + ], + "doc": " Public: Get the items in this pane.\n\nReturns an {Array} of items. " + } + }, + "88": { + "17": { + "name": "getActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 17 + ], + [ + 93, + 1 + ] + ], + "doc": " Public: Get the active pane item in this pane.\n\nReturns a pane item. " + } + }, + "93": { + "19": { + "name": "getActiveEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 93, + 19 + ], + [ + 97, + 1 + ] + ], + "doc": " Public: Returns an {Editor} if the pane item is an {Editor}, or null\notherwise. " + } + }, + "97": { + "15": { + "name": "itemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 97, + 15 + ], + [ + 101, + 1 + ] + ], + "doc": "Public: Returns the item at the specified index. " + } + }, + "101": { + "20": { + "name": "activateNextItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 20 + ], + [ + 109, + 1 + ] + ], + "doc": "Public: Makes the next item active. " + } + }, + "109": { + "24": { + "name": "activatePreviousItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 24 + ], + [ + 117, + 1 + ] + ], + "doc": "Public: Makes the previous item active. " + } + }, + "117": { + "22": { + "name": "getActiveItemIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 22 + ], + [ + 121, + 1 + ] + ], + "doc": "Private: Returns the index of the current active item. " + } + }, + "121": { + "23": { + "name": "activateItemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 121, + 23 + ], + [ + 125, + 1 + ] + ], + "doc": "Private: Makes the item at the given index active. " + } + }, + "125": { + "16": { + "name": "activateItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 125, + 16 + ], + [ + 137, + 1 + ] + ], + "doc": "Private: Makes the given item active, adding the item if necessary. " + } + }, + "137": { + "11": { + "name": "addItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index" + ], + "range": [ + [ + 137, + 11 + ], + [ + 154, + 1 + ] + ], + "doc": " Public: Adds the item to the pane.\n\nitem - The item to add. It can be a model with an associated view or a view.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns the added item " + } + }, + "154": { + "12": { + "name": "addItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items", + "index" + ], + "range": [ + [ + 154, + 12 + ], + [ + 159, + 1 + ] + ], + "doc": " Public: Adds the given items to the pane.\n\nitems - An {Array} of items to add. Items can be models with associated\n views or views. Any items that are already present in items will\n not be added.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns an {Array} of the added items " + } + }, + "159": { + "14": { + "name": "removeItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "destroying" + ], + "range": [ + [ + 159, + 14 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "12": { + "name": "moveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "newIndex" + ], + "range": [ + [ + 175, + 12 + ], + [ + 182, + 1 + ] + ], + "doc": "Public: Moves the given item to the specified index. " + } + }, + "182": { + "18": { + "name": "moveItemToPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "pane", + "index" + ], + "range": [ + [ + 182, + 18 + ], + [ + 187, + 1 + ] + ], + "doc": "Public: Moves the given item to the given index at another pane. " + } + }, + "187": { + "21": { + "name": "destroyActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 187, + 21 + ], + [ + 193, + 1 + ] + ], + "doc": "Public: Destroys the currently active item and make the next item active. " + } + }, + "193": { + "15": { + "name": "destroyItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 193, + 15 + ], + [ + 204, + 1 + ] + ], + "doc": " Public: Destroys the given item. If it is the active item, activate the next\none. If this is the last item, also destroys the pane. " + } + }, + "204": { + "16": { + "name": "destroyItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 204, + 16 + ], + [ + 208, + 1 + ] + ], + "doc": "Public: Destroys all items and destroys the pane. " + } + }, + "208": { + "24": { + "name": "destroyInactiveItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 208, + 24 + ], + [ + 211, + 1 + ] + ], + "doc": "Public: Destroys all items but the active one. " + } + }, + "211": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 211, + 11 + ], + [ + 218, + 1 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 218, + 13 + ], + [ + 224, + 1 + ] + ], + "doc": "Private: Called by model superclass. " + } + }, + "224": { + "20": { + "name": "promptToSaveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 224, + 20 + ], + [ + 239, + 1 + ] + ], + "doc": " Public: Prompts the user to save the given item if it can be saved and is\ncurrently unsaved. " + } + }, + "239": { + "18": { + "name": "saveActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 239, + 18 + ], + [ + 243, + 1 + ] + ], + "doc": "Public: Saves the active item. " + } + }, + "243": { + "20": { + "name": "saveActiveItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 243, + 20 + ], + [ + 251, + 1 + ] + ], + "doc": "Public: Saves the active item at a prompted-for location. " + } + }, + "251": { + "12": { + "name": "saveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "nextAction" + ], + "range": [ + [ + 251, + 12 + ], + [ + 263, + 1 + ] + ], + "doc": " Public: Saves the specified item.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " + } + }, + "263": { + "14": { + "name": "saveItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "nextAction" + ], + "range": [ + [ + 263, + 14 + ], + [ + 273, + 1 + ] + ], + "doc": " Public: Saves the given item at a prompted-for location.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " + } + }, + "273": { + "13": { + "name": "saveItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 273, + 13 + ], + [ + 278, + 1 + ] + ], + "doc": "Public: Saves all items. " + } + }, + "278": { + "14": { + "name": "itemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 278, + 14 + ], + [ + 283, + 1 + ] + ], + "doc": " Public: Returns the first item that matches the given URI or undefined if\nnone exists. " + } + }, + "283": { + "22": { + "name": "activateItemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 283, + 22 + ], + [ + 290, + 1 + ] + ], + "doc": " Public: Activates the first item that matches the given URI. Returns a\nboolean indicating whether a matching item was found. " + } + }, + "290": { + "18": { + "name": "copyActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 290, + 18 + ], + [ + 300, + 1 + ] + ], + "doc": "~Private~" + } + }, + "300": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 300, + 13 + ], + [ + 309, + 1 + ] + ], + "doc": " Public: Creates a new pane to the left of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "309": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 309, + 14 + ], + [ + 318, + 1 + ] + ], + "doc": " Public: Creates a new pane to the right of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "318": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 318, + 11 + ], + [ + 327, + 1 + ] + ], + "doc": " Public: Creates a new pane above the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "327": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 327, + 13 + ], + [ + 330, + 1 + ] + ], + "doc": " Public: Creates a new pane below the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "330": { + "9": { + "name": "split", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "orientation", + "side", + "params" + ], + "range": [ + [ + 330, + 9 + ], + [ + 344, + 1 + ] + ], + "doc": "~Private~" + } + }, + "344": { + "23": { + "name": "findLeftmostSibling", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 344, + 23 + ], + [ + 356, + 1 + ] + ], + "doc": " Private: If the parent is a horizontal axis, returns its first child if it is a pane;\notherwise returns this pane. " + } + }, + "356": { + "32": { + "name": "findOrCreateRightmostSibling", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 356, + 32 + ], + [ + 364, + 19 + ] + ], + "doc": " Private: If the parent is a horizontal axis, returns its last child if it is a pane;\notherwise returns a new pane created by splitting this pane rightward. " + } + } + }, + "exports": 11 + }, + "src/project.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.0.4" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "9": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 9, + 15 + ], + [ + 9, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "10": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer" + } + }, + "11": { + "1": { + "type": "import", + "range": [ + [ + 11, + 1 + ], + [ + 11, + 9 + ] + ], + "bindingType": "variable", + "module": "pathwatcher@^2.0.4", + "name": "Directory", + "exportsProperty": "Directory" + } + }, + "13": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 13, + 9 + ], + [ + 13, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "14": { + "7": { + "name": "Task", + "type": "import", + "range": [ + [ + 14, + 7 + ], + [ + 14, + 22 + ] + ], + "bindingType": "variable", + "path": "./task" + } + }, + "15": { + "6": { + "name": "Git", + "type": "import", + "range": [ + [ + 15, + 6 + ], + [ + 15, + 20 + ] + ], + "bindingType": "variable", + "path": "./git" + } + }, + "21": { + "0": { + "type": "class", + "name": "Project", + "bindingType": "exports", + "classProperties": [ + [ + 26, + 25 + ] + ], + "prototypeProperties": [ + [ + 31, + 15 + ], + [ + 40, + 19 + ], + [ + 44, + 21 + ], + [ + 48, + 13 + ], + [ + 52, + 15 + ], + [ + 57, + 28 + ], + [ + 61, + 11 + ], + [ + 64, + 11 + ], + [ + 68, + 11 + ], + [ + 85, + 20 + ], + [ + 95, + 11 + ], + [ + 109, + 14 + ], + [ + 114, + 12 + ], + [ + 124, + 8 + ], + [ + 130, + 12 + ], + [ + 139, + 14 + ], + [ + 143, + 18 + ], + [ + 146, + 21 + ], + [ + 150, + 21 + ], + [ + 163, + 17 + ], + [ + 168, + 15 + ], + [ + 172, + 19 + ], + [ + 184, + 15 + ], + [ + 194, + 13 + ], + [ + 198, + 20 + ], + [ + 207, + 16 + ], + [ + 211, + 23 + ], + [ + 221, + 8 + ], + [ + 268, + 11 + ], + [ + 300, + 24 + ], + [ + 304, + 14 + ], + [ + 315, + 18 + ], + [ + 320, + 20 + ], + [ + 325, + 14 + ], + [ + 330, + 14 + ] + ], + "doc": " Public: Represents a project that's opened in Atom.\n\nAn instance of this class is always available as the `atom.project` global. ", + "range": [ + [ + 21, + 0 + ], + [ + 332, + 31 + ] + ] + } + }, + "26": { + "25": { + "name": "pathForRepositoryUrl", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "repoUrl" + ], + "range": [ + [ + 26, + 25 + ], + [ + 31, + 1 + ] + ], + "doc": "Public: Find the local path for the given repository URL. " + } + }, + "31": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 31, + 15 + ], + [ + 40, + 1 + ] + ], + "doc": "~Private~" + } + }, + "40": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 40, + 19 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 44, + 21 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 13 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "15": { + "name": "destroyRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 15 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "28": { + "name": "destroyUnretainedBuffers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 28 + ], + [ + 61, + 1 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "11": { + "name": "getRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 11 + ], + [ + 61, + 18 + ] + ], + "doc": "Public: Returns the {Git} repository if available. " + } + }, + "64": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 11 + ], + [ + 68, + 1 + ] + ], + "doc": "Public: Returns the project's fullpath. " + } + }, + "68": { + "11": { + "name": "setPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "projectPath" + ], + "range": [ + [ + 68, + 11 + ], + [ + 85, + 1 + ] + ], + "doc": "Public: Sets the project's fullpath. " + } + }, + "85": { + "20": { + "name": "getRootDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 85, + 20 + ], + [ + 95, + 1 + ] + ], + "doc": "Public: Returns the root {Directory} object for this project. " + } + }, + "95": { + "11": { + "name": "resolve", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 95, + 11 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Given a uri, this resolves it relative to the project directory. If\nthe path is already absolute or if it is prefixed with a scheme, it is\nreturned unchanged.\n\nuri - The {String} name of the path to convert.\n\nReturns a {String} or undefined if the uri is not missing or empty. " + } + }, + "109": { + "14": { + "name": "relativize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fullPath" + ], + "range": [ + [ + 109, + 14 + ], + [ + 114, + 1 + ] + ], + "doc": "Public: Make the given path relative to the project directory. " + } + }, + "114": { + "12": { + "name": "contains", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToCheck" + ], + "range": [ + [ + 114, + 12 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Returns whether the given path is inside this project. " + } + }, + "124": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "options" + ], + "range": [ + [ + 124, + 8 + ], + [ + 130, + 1 + ] + ], + "doc": " Private: Given a path to a file, this constructs and associates a new\n{Editor}, showing the file.\n\nfilePath - The {String} path of the file to associate with.\noptions - Options that you can pass to the {Editor} constructor.\n\nReturns a promise that resolves to an {Editor}. " + } + }, + "130": { + "12": { + "name": "openSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "options" + ], + "range": [ + [ + 130, + 12 + ], + [ + 139, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "139": { + "14": { + "name": "getBuffers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 139, + 14 + ], + [ + 143, + 1 + ] + ], + "doc": " Private: Retrieves all the {TextBuffer}s in the project; that is, the\nbuffers for all open files.\n\nReturns an {Array} of {TextBuffer}s. " + } + }, + "143": { + "18": { + "name": "isPathModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 143, + 18 + ], + [ + 146, + 1 + ] + ], + "doc": "Private: Is the buffer for the given path modified? " + } + }, + "146": { + "21": { + "name": "findBufferForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 146, + 21 + ], + [ + 150, + 1 + ] + ], + "doc": "~Private~" + } + }, + "150": { + "21": { + "name": "bufferForPathSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 150, + 21 + ], + [ + 163, + 1 + ] + ], + "doc": "Private: Only to be used in specs " + } + }, + "163": { + "17": { + "name": "bufferForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 163, + 17 + ], + [ + 168, + 1 + ] + ], + "doc": " Private: Given a file path, this retrieves or creates a new {TextBuffer}.\n\nIf the `filePath` already has a `buffer`, that value is used instead. Otherwise,\n`text` is used as the contents of the new buffer.\n\nfilePath - A {String} representing a path. If `null`, an \"Untitled\" buffer is created.\n\nReturns a promise that resolves to the {TextBuffer}. " + } + }, + "168": { + "15": { + "name": "bufferForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 168, + 15 + ], + [ + 172, + 1 + ] + ], + "doc": "~Private~" + } + }, + "172": { + "19": { + "name": "buildBufferSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "absoluteFilePath" + ], + "range": [ + [ + 172, + 19 + ], + [ + 184, + 1 + ] + ], + "doc": "Private: Still needed when deserializing a tokenized buffer " + } + }, + "184": { + "15": { + "name": "buildBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "absoluteFilePath" + ], + "range": [ + [ + 184, + 15 + ], + [ + 194, + 1 + ] + ], + "doc": " Private: Given a file path, this sets its {TextBuffer}.\n\nabsoluteFilePath - A {String} representing a path.\ntext - The {String} text to use as a buffer.\n\nReturns a promise that resolves to the {TextBuffer}. " + } + }, + "194": { + "13": { + "name": "addBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "options" + ], + "range": [ + [ + 194, + 13 + ], + [ + 198, + 1 + ] + ], + "doc": "~Private~" + } + }, + "198": { + "20": { + "name": "addBufferAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "index", + "options" + ], + "range": [ + [ + 198, + 20 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "16": { + "name": "removeBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer" + ], + "range": [ + [ + 207, + 16 + ], + [ + 211, + 1 + ] + ], + "doc": " Private: Removes a {TextBuffer} association from the project.\n\nReturns the removed {TextBuffer}. " + } + }, + "211": { + "23": { + "name": "removeBufferAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index", + "options" + ], + "range": [ + [ + 211, + 23 + ], + [ + 221, + 1 + ] + ], + "doc": "~Private~" + } + }, + "221": { + "8": { + "name": "scan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "options", + "iterator" + ], + "range": [ + [ + 221, + 8 + ], + [ + 268, + 1 + ] + ], + "doc": " Public: Performs a search across all the files in the project.\n\nregex - A {RegExp} to search with.\noptions - An optional options {Object} (default: {}):\n :paths - An {Array} of glob patterns to search within\niterator - A {Function} callback on each file found " + } + }, + "268": { + "11": { + "name": "replace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "replacementText", + "filePaths", + "iterator" + ], + "range": [ + [ + 268, + 11 + ], + [ + 300, + 1 + ] + ], + "doc": " Public: Performs a replace across all the specified files in the project.\n\nregex - A {RegExp} to search with.\nreplacementText - Text to replace all matches of regex with\nfilePaths - List of file path strings to run the replace on.\niterator - A {Function} callback on each file with replacements:\n `({filePath, replacements}) ->`. " + } + }, + "300": { + "24": { + "name": "buildEditorForBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "editorOptions" + ], + "range": [ + [ + 300, + 24 + ], + [ + 304, + 1 + ] + ], + "doc": "~Private~" + } + }, + "304": { + "14": { + "name": "eachBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 304, + 14 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "18": { + "name": "registerOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 315, + 18 + ], + [ + 320, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "320": { + "20": { + "name": "unregisterOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 320, + 20 + ], + [ + 325, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "325": { + "14": { + "name": "eachEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 325, + 14 + ], + [ + 330, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "330": { + "14": { + "name": "getEditors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 330, + 14 + ], + [ + 332, + 31 + ] + ], + "doc": "Deprecated: delegate " + } + } + }, + "exports": 21 + }, + "src/react-editor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "defaults", + "exportsProperty": "defaults" + } + }, + "3": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 3, + 13 + ], + [ + 3, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer" + } + }, + "4": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "5": { + "18": { + "name": "EditorComponent", + "type": "import", + "range": [ + [ + 5, + 18 + ], + [ + 5, + 45 + ] + ], + "bindingType": "variable", + "path": "./editor-component" + } + }, + "8": { + "0": { + "type": "class", + "name": "ReactEditorView", + "bindingType": "exports", + "classProperties": [ + [ + 9, + 12 + ] + ], + "prototypeProperties": [ + [ + 14, + 17 + ], + [ + 16, + 15 + ], + [ + 58, + 13 + ], + [ + 60, + 12 + ], + [ + 69, + 15 + ], + [ + 77, + 13 + ], + [ + 83, + 14 + ], + [ + 89, + 18 + ], + [ + 92, + 26 + ], + [ + 95, + 26 + ], + [ + 98, + 26 + ], + [ + 101, + 25 + ], + [ + 105, + 34 + ], + [ + 108, + 34 + ], + [ + 111, + 21 + ], + [ + 116, + 16 + ], + [ + 122, + 13 + ], + [ + 127, + 14 + ], + [ + 132, + 11 + ], + [ + 137, + 13 + ], + [ + 141, + 11 + ], + [ + 144, + 9 + ], + [ + 150, + 8 + ], + [ + 154, + 8 + ], + [ + 158, + 20 + ], + [ + 165, + 12 + ], + [ + 168, + 10 + ], + [ + 171, + 12 + ], + [ + 174, + 28 + ], + [ + 177, + 27 + ], + [ + 180, + 17 + ], + [ + 183, + 17 + ], + [ + 186, + 15 + ], + [ + 189, + 15 + ], + [ + 192, + 19 + ], + [ + 195, + 17 + ], + [ + 198, + 22 + ], + [ + 201, + 15 + ], + [ + 204, + 21 + ], + [ + 207, + 18 + ], + [ + 210, + 18 + ], + [ + 213, + 11 + ], + [ + 216, + 11 + ], + [ + 219, + 14 + ], + [ + 222, + 18 + ], + [ + 225, + 19 + ], + [ + 228, + 24 + ], + [ + 230, + 17 + ], + [ + 232, + 16 + ], + [ + 234, + 10 + ], + [ + 236, + 22 + ], + [ + 242, + 27 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 243, + 49 + ] + ] + } + }, + "9": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 9, + 12 + ], + [ + 14, + 1 + ] + ] + } + }, + "14": { + "17": { + "name": "focusOnAttach", + "type": "primitive", + "range": [ + [ + 14, + 17 + ], + [ + 14, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorOrParams", + "props" + ], + "range": [ + [ + 16, + 15 + ], + [ + 58, + 1 + ] + ], + "doc": "~Private~" + } + }, + "58": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 58, + 13 + ], + [ + 58, + 22 + ] + ], + "doc": "~Private~" + } + }, + "69": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 69, + 15 + ], + [ + 77, + 1 + ] + ], + "doc": "~Private~" + } + }, + "77": { + "13": { + "name": "scrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 77, + 13 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "14": { + "name": "scrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 83, + 14 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "18": { + "name": "scrollToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 18 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 92, + 26 + ], + [ + 95, + 1 + ] + ], + "doc": "~Private~" + } + }, + "95": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 95, + 26 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 26 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "scrollToPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 101, + 25 + ], + [ + 105, + 1 + ] + ], + "doc": "~Private~" + } + }, + "105": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 105, + 34 + ], + [ + 108, + 1 + ] + ], + "doc": "~Private~" + } + }, + "108": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 108, + 34 + ], + [ + 111, + 1 + ] + ], + "doc": "~Private~" + } + }, + "111": { + "21": { + "name": "appendToLinesView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 111, + 21 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 16 + ], + [ + 122, + 1 + ] + ], + "doc": "~Private~" + } + }, + "122": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 122, + 13 + ], + [ + 127, + 1 + ] + ], + "doc": "Public: Split the editor view left. " + } + }, + "127": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 127, + 14 + ], + [ + 132, + 1 + ] + ], + "doc": "Public: Split the editor view right. " + } + }, + "132": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 132, + 11 + ], + [ + 137, + 1 + ] + ], + "doc": "Public: Split the editor view up. " + } + }, + "137": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 13 + ], + [ + 141, + 1 + ] + ], + "doc": "Public: Split the editor view down. " + } + }, + "141": { + "11": { + "name": "getPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 11 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 144, + 9 + ], + [ + 150, + 1 + ] + ], + "doc": "~Private~" + } + }, + "150": { + "8": { + "name": "hide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 150, + 8 + ], + [ + 154, + 1 + ] + ], + "doc": "~Private~" + } + }, + "154": { + "8": { + "name": "show", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 8 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "20": { + "name": "pollComponentDOM", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 20 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 12 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 10 + ], + [ + 171, + 1 + ] + ], + "doc": "~Private~" + } + }, + "171": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 12 + ], + [ + 174, + 1 + ] + ], + "doc": "~Private~" + } + }, + "174": { + "28": { + "name": "getFirstVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 174, + 28 + ], + [ + 177, + 1 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "27": { + "name": "getLastVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 27 + ], + [ + 180, + 1 + ] + ], + "doc": "~Private~" + } + }, + "180": { + "17": { + "name": "getFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 180, + 17 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "17": { + "name": "setFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 183, + 17 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "15": { + "name": "getFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 186, + 15 + ], + [ + 189, + 1 + ] + ], + "doc": "~Private~" + } + }, + "189": { + "15": { + "name": "setFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 189, + 15 + ], + [ + 192, + 1 + ] + ], + "doc": "~Private~" + } + }, + "192": { + "19": { + "name": "setWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "widthInChars" + ], + "range": [ + [ + 192, + 19 + ], + [ + 195, + 1 + ] + ], + "doc": "~Private~" + } + }, + "195": { + "17": { + "name": "setLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 195, + 17 + ], + [ + 198, + 1 + ] + ], + "doc": "~Private~" + } + }, + "198": { + "22": { + "name": "setShowIndentGuide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showIndentGuide" + ], + "range": [ + [ + 198, + 22 + ], + [ + 201, + 1 + ] + ], + "doc": "~Private~" + } + }, + "201": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 201, + 15 + ], + [ + 204, + 1 + ] + ], + "doc": "~Private~" + } + }, + "204": { + "21": { + "name": "setShowInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showInvisibles" + ], + "range": [ + [ + 204, + 21 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 207, + 18 + ], + [ + 210, + 1 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 18 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 11 + ], + [ + 216, + 1 + ] + ], + "doc": "~Private~" + } + }, + "216": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 216, + 11 + ], + [ + 219, + 1 + ] + ], + "doc": "~Private~" + } + }, + "219": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 219, + 14 + ], + [ + 222, + 1 + ] + ], + "doc": "~Private~" + } + }, + "222": { + "18": { + "name": "isInputEnabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 222, + 18 + ], + [ + 225, + 1 + ] + ], + "doc": "~Private~" + } + }, + "225": { + "19": { + "name": "setInputEnabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "inputEnabled" + ], + "range": [ + [ + 225, + 19 + ], + [ + 228, + 1 + ] + ], + "doc": "~Private~" + } + }, + "228": { + "24": { + "name": "requestDisplayUpdate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 228, + 24 + ], + [ + 228, + 25 + ] + ], + "doc": "~Private~" + } + }, + "230": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 230, + 17 + ], + [ + 230, + 18 + ] + ], + "doc": "~Private~" + } + }, + "232": { + "16": { + "name": "resetDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 232, + 16 + ], + [ + 232, + 17 + ] + ], + "doc": "~Private~" + } + }, + "234": { + "10": { + "name": "redraw", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 10 + ], + [ + 234, + 11 + ] + ], + "doc": "~Private~" + } + }, + "236": { + "22": { + "name": "setPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "placeholderText" + ], + "range": [ + [ + 236, + 22 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "27": { + "name": "lineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 242, + 27 + ], + [ + 243, + 49 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/replace-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "PathReplacer", + "exportsProperty": "PathReplacer" + } + } + }, + "exports": 2 + }, + "src/repository-status-handler.coffee": { + "objects": { + "0": { + "6": { + "name": "Git", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "git-utils" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + } + }, + "exports": 3 + }, + "src/row-map.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 15 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "spliceWithArray", + "exportsProperty": "spliceWithArray" + } + }, + "16": { + "0": { + "type": "class", + "name": "RowMap", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 15 + ], + [ + 21, + 14 + ], + [ + 27, + 30 + ], + [ + 40, + 30 + ], + [ + 50, + 30 + ], + [ + 61, + 17 + ], + [ + 83, + 23 + ], + [ + 93, + 23 + ], + [ + 103, + 35 + ], + [ + 116, + 11 + ] + ], + "doc": " Private: Used by the display buffer to map screen rows to buffer rows and vice-versa.\nThis mapping may not be 1:1 due to folds and soft-wraps. This object maintains\nan array of regions, which contain `bufferRows` and `screenRows` fields.\n\nRectangular Regions:\nIf a region has the same number of buffer rows and screen rows, it is referred\nto as \"rectangular\", and represents one or more non-soft-wrapped, non-folded\nlines.\n\nTrapezoidal Regions:\nIf a region has one buffer row and more than one screen row, it represents a\nsoft-wrapped line. If a region has one screen row and more than one buffer\nrow, it represents folded lines ", + "range": [ + [ + 16, + 0 + ], + [ + 118, + 35 + ] + ] + } + }, + "17": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 15 + ], + [ + 21, + 1 + ] + ] + } + }, + "21": { + "14": { + "name": "getRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 14 + ], + [ + 27, + 1 + ] + ], + "doc": "Public: Returns a copy of all the regions in the map " + } + }, + "27": { + "30": { + "name": "screenRowRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 27, + 30 + ], + [ + 40, + 1 + ] + ], + "doc": " Public: Returns an end-row-exclusive range of screen rows corresponding to\nthe given buffer row. If the buffer row is soft-wrapped, the range may span\nmultiple screen rows. Otherwise it will span a single screen row. " + } + }, + "40": { + "30": { + "name": "bufferRowRangeForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetScreenRow" + ], + "range": [ + [ + 40, + 30 + ], + [ + 50, + 1 + ] + ], + "doc": " Public: Returns an end-row-exclusive range of buffer rows corresponding to\nthe given screen row. If the screen row is the first line of a folded range\nof buffer rows, the range may span multiple buffer rows. Otherwise it will\nspan a single buffer row. " + } + }, + "50": { + "30": { + "name": "bufferRowRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 50, + 30 + ], + [ + 61, + 1 + ] + ], + "doc": " Public: If the given buffer row is part of a folded row range, returns that\nrow range. Otherwise returns a range spanning only the given buffer row. " + } + }, + "61": { + "17": { + "name": "spliceRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "bufferRowCount", + "regions" + ], + "range": [ + [ + 61, + 17 + ], + [ + 83, + 1 + ] + ], + "doc": " Public: Given a starting buffer row, the number of buffer rows to replace,\nand an array of regions of shape {bufferRows: n, screenRows: m}, splices\nthe regions at the appropriate location in the map. This method is used by\ndisplay buffer to keep the map updated when the underlying buffer changes. " + } + }, + "83": { + "23": { + "name": "traverseToBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 83, + 23 + ], + [ + 93, + 1 + ] + ], + "doc": "~Private~" + } + }, + "93": { + "23": { + "name": "traverseToScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetScreenRow" + ], + "range": [ + [ + 93, + 23 + ], + [ + 103, + 1 + ] + ], + "doc": "~Private~" + } + }, + "103": { + "35": { + "name": "mergeAdjacentRectangularRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startIndex", + "endIndex" + ], + "range": [ + [ + 103, + 35 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 11 + ], + [ + 118, + 35 + ] + ], + "doc": "Public: Returns an array of strings describing the map's regions. " + } + } + }, + "exports": 16 + }, + "src/scan-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "PathSearcher", + "exportsProperty": "PathSearcher" + }, + "15": { + "type": "import", + "range": [ + [ + 0, + 15 + ], + [ + 0, + 25 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "PathScanner", + "exportsProperty": "PathScanner" + }, + "28": { + "type": "import", + "range": [ + [ + 0, + 28 + ], + [ + 0, + 33 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "search", + "exportsProperty": "search" + } + } + }, + "exports": 2 + }, + "src/scoped-properties.coffee": { + "objects": { + "0": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1.0.2" + } + }, + "3": { + "0": { + "type": "class", + "name": "ScopedProperties", + "bindingType": "exports", + "classProperties": [ + [ + 4, + 9 + ] + ], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 13, + 12 + ], + [ + 17, + 14 + ] + ], + "doc": "~Private~", + "range": [ + [ + 3, + 0 + ], + [ + 18, + 39 + ] + ] + } + }, + "4": { + "9": { + "name": "load", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "scopedPropertiesPath", + "callback" + ], + "range": [ + [ + 4, + 9 + ], + [ + 11, + 1 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 11, + 43 + ] + ], + "doc": "~Private~" + } + }, + "13": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 12 + ], + [ + 17, + 1 + ] + ], + "doc": "~Private~" + } + }, + "17": { + "14": { + "name": "deactivate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 14 + ], + [ + 18, + 39 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 3 + }, + "src/scroll-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "21": { + "0": { + "type": "class", + "name": "ScrollView", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 22, + 14 + ] + ], + "doc": " Public: Represents a view that scrolls.\n\nSubclasses must call `super` if overriding the `initialize` method or else\nthe following events won't be handled by the ScrollView.\n\n## Events\n * `core:move-up`\n * `core:move-down`\n * `core:page-up`\n * `core:page-down`\n * `core:move-to-top`\n * `core:move-to-bottom`\n\n## Requiring in packages\n\n```coffee\n {ScrollView} = require 'atom'\n``` ", + "range": [ + [ + 21, + 0 + ], + [ + 28, + 51 + ] + ] + } + }, + "22": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 22, + 14 + ], + [ + 28, + 51 + ] + ] + } + } + }, + "exports": 21 + }, + "src/scrollbar-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 6 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "extend", + "exportsProperty": "extend" + }, + "9": { + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "21": { + "name": "ScrollbarComponent", + "type": "function", + "range": [ + [ + 5, + 21 + ], + [ + 69, + 28 + ] + ] + } + }, + "6": { + "15": { + "name": "'ScrollbarComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 34 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 21 + ], + [ + 36, + 1 + ] + ], + "doc": null + } + }, + "36": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 36, + 25 + ], + [ + 45, + 1 + ] + ], + "doc": null + } + }, + "45": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 22 + ], + [ + 57, + 1 + ] + ], + "doc": null + } + }, + "57": { + "12": { + "name": "onScroll", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 12 + ], + [ + 69, + 28 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/scrollbar-corner-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "27": { + "name": "ScrollbarCornerComponent", + "type": "function", + "range": [ + [ + 5, + 27 + ], + [ + 23, + 99 + ] + ] + } + }, + "6": { + "15": { + "name": "'ScrollbarCornerComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 40 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 22, + 1 + ] + ], + "doc": null + } + }, + "22": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 22, + 25 + ], + [ + 23, + 99 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/select-list-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "4": { + "15": { + "name": "EditorView", + "type": "import", + "range": [ + [ + 4, + 15 + ], + [ + 4, + 37 + ] + ], + "bindingType": "variable", + "path": "./editor-view" + } + }, + "5": { + "14": { + "type": "primitive", + "range": [ + [ + 5, + 14 + ], + [ + 5, + 41 + ] + ] + } + }, + "36": { + "0": { + "type": "class", + "name": "SelectListView", + "bindingType": "exports", + "classProperties": [ + [ + 37, + 12 + ] + ], + "prototypeProperties": [ + [ + 46, + 12 + ], + [ + 47, + 19 + ], + [ + 48, + 17 + ], + [ + 49, + 14 + ], + [ + 55, + 14 + ], + [ + 90, + 24 + ], + [ + 102, + 12 + ], + [ + 109, + 12 + ], + [ + 119, + 14 + ], + [ + 136, + 18 + ], + [ + 143, + 16 + ], + [ + 174, + 19 + ], + [ + 179, + 15 + ], + [ + 181, + 26 + ], + [ + 186, + 22 + ], + [ + 191, + 18 + ], + [ + 197, + 20 + ], + [ + 207, + 23 + ], + [ + 213, + 19 + ], + [ + 216, + 20 + ], + [ + 233, + 15 + ], + [ + 244, + 13 + ], + [ + 258, + 16 + ], + [ + 261, + 21 + ], + [ + 266, + 23 + ], + [ + 269, + 16 + ], + [ + 275, + 13 + ], + [ + 283, + 10 + ] + ], + "doc": " Public: Provides a view that renders a list of items with an editor that\nfilters the items. Used by many packages such as the fuzzy-finder,\ncommand-palette, symbols-view and autocomplete.\n\nSubclasses must implement the following methods:\n\n* {::viewForItem}\n* {::confirmed}\n\n## Requiring in packages\n\n```coffee\n{SelectListView} = require 'atom'\n\nclass MySelectListView extends SelectListView\n initialize: ->\n super\n @addClass('overlay from-top')\n @setItems(['Hello', 'World'])\n atom.workspaceView.append(this)\n @focusFilterEditor()\n\n viewForItem: (item) ->\n \"
  • #{item}
  • \"\n\n confirmed: (item) ->\n console.log(\"#{item} was selected\")\n``` ", + "range": [ + [ + 36, + 0 + ], + [ + 291, + 34 + ] + ] + } + }, + "37": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 37, + 12 + ], + [ + 46, + 1 + ] + ] + } + }, + "46": { + "12": { + "name": "maxItems", + "type": "primitive", + "range": [ + [ + 46, + 12 + ], + [ + 46, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "47": { + "19": { + "name": "scheduleTimeout", + "type": "primitive", + "range": [ + [ + 47, + 19 + ], + [ + 47, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "48": { + "17": { + "name": "inputThrottle", + "type": "primitive", + "range": [ + [ + 48, + 17 + ], + [ + 48, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "49": { + "14": { + "name": "cancelling", + "type": "primitive", + "range": [ + [ + 49, + 14 + ], + [ + 49, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "55": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 14 + ], + [ + 90, + 1 + ] + ], + "doc": " Public: Initialize the select list view.\n\nThis method can be overridden by subclasses but `super` should always\nbe called. " + } + }, + "90": { + "24": { + "name": "schedulePopulateList", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 24 + ], + [ + 102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "102": { + "12": { + "name": "setItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 102, + 12 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Set the array of items to display in the list.\n\nThis should be model items not actual views. {::viewForItem} will be\ncalled to render the item when it is being appended to the list view.\n\nitems - The {Array} of model items to display in the list (default: []). " + } + }, + "109": { + "12": { + "name": "setError", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 109, + 12 + ], + [ + 119, + 1 + ] + ], + "doc": " Public: Set the error message to display.\n\nmessage - The {String} error message (default: ''). " + } + }, + "119": { + "14": { + "name": "setLoading", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 119, + 14 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Set the loading message to display.\n\nmessage - The {String} loading message (default: ''). " + } + }, + "136": { + "18": { + "name": "getFilterQuery", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 18 + ], + [ + 143, + 1 + ] + ], + "doc": " Public: Get the filter query to use when fuzzy filtering the visible\nelements.\n\nBy default this method returns the text in the mini editor but it can be\noverridden by subclasses if needed.\n\nReturns a {String} to use when fuzzy filtering the elements to display. " + } + }, + "143": { + "16": { + "name": "populateList", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 143, + 16 + ], + [ + 174, + 1 + ] + ], + "doc": " Public: Populate the list view with the model items previously set by\ncalling {::setItems}.\n\nSubclasses may override this method but should always call `super`. " + } + }, + "174": { + "19": { + "name": "getEmptyMessage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "itemCount", + "filteredItemCount" + ], + "range": [ + [ + 174, + 19 + ], + [ + 174, + 70 + ] + ], + "doc": " Public: Get the message to display when there are no items.\n\nSubclasses may override this method to customize the message.\n\nitemCount - The {Number} of items in the array specified to {::setItems}\nfilteredItemCount - The {Number} of items that pass the fuzzy filter test.\n\nReturns a {String} message (default: 'No matches found'). " + } + }, + "179": { + "15": { + "name": "setMaxItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 179, + 15 + ], + [ + 179, + 28 + ] + ], + "doc": " Public: Set the maximum numbers of items to display in the list.\n\nmaxItems - The maximum {Number} of items to display. " + } + }, + "181": { + "26": { + "name": "selectPreviousItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 181, + 26 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "22": { + "name": "selectNextItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 186, + 22 + ], + [ + 191, + 1 + ] + ], + "doc": "~Private~" + } + }, + "191": { + "18": { + "name": "selectItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 191, + 18 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "20": { + "name": "scrollToItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 197, + 20 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "23": { + "name": "getSelectedItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 207, + 23 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "19": { + "name": "getSelectedItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 19 + ], + [ + 216, + 1 + ] + ], + "doc": " Public: Get the model item that is currently selected in the list view.\n\nReturns a model item. " + } + }, + "216": { + "20": { + "name": "confirmSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 216, + 20 + ], + [ + 233, + 1 + ] + ], + "doc": "~Private~" + } + }, + "233": { + "15": { + "name": "viewForItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 233, + 15 + ], + [ + 244, + 1 + ] + ], + "doc": " Public: Create a view for the given model item.\n\nThis method must be overridden by subclasses.\n\nThis is called when the item is about to appended to the list view.\n\nitem - The model item being rendered. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a String of HTML, DOM element, jQuery object, or View. " + } + }, + "244": { + "13": { + "name": "confirmed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 244, + 13 + ], + [ + 258, + 1 + ] + ], + "doc": " Public: Callback function for when an item is selected.\n\nThis method must be overridden by subclasses.\n\nitem - The selected model item. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a DOM element, jQuery object, or {View}. " + } + }, + "258": { + "16": { + "name": "getFilterKey", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 258, + 16 + ], + [ + 258, + 17 + ] + ], + "doc": " Public: Get the property name to use when filtering items.\n\nThis method may be overridden by classes to allow fuzzy filtering based\non a specific property of the item objects.\n\nFor example if the objects you pass to {::setItems} are of the type\n`{\"id\": 3, \"name\": \"Atom\"}` then you would return `\"name\"` from this method\nto fuzzy filter by that property when text is entered into this view's\neditor.\n\nReturns the property name to fuzzy filter by. " + } + }, + "261": { + "21": { + "name": "focusFilterEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 21 + ], + [ + 266, + 1 + ] + ], + "doc": "Public: Focus the fuzzy filter editor view. " + } + }, + "266": { + "23": { + "name": "storeFocusedElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 266, + 23 + ], + [ + 269, + 1 + ] + ], + "doc": " Public: Store the currently focused element. This element will be given\nback focus when {::cancel} is called. " + } + }, + "269": { + "16": { + "name": "restoreFocus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 16 + ], + [ + 275, + 1 + ] + ], + "doc": "~Private~" + } + }, + "275": { + "13": { + "name": "cancelled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 275, + 13 + ], + [ + 283, + 1 + ] + ], + "doc": "~Private~" + } + }, + "283": { + "10": { + "name": "cancel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 283, + 10 + ], + [ + 291, + 34 + ] + ], + "doc": " Public: Cancel and close this select list view.\n\nThis restores focus to the previously focused element if\n{::storeFocusedElement} was called prior to this view being attached. " + } + } + }, + "exports": 36 + }, + "src/selection-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 8 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + } + }, + "4": { + "0": { + "type": "class", + "name": "SelectionView", + "bindingType": "exports", + "classProperties": [ + [ + 6, + 12 + ] + ], + "prototypeProperties": [ + [ + 9, + 11 + ], + [ + 10, + 16 + ], + [ + 12, + 14 + ], + [ + 19, + 17 + ], + [ + 37, + 16 + ], + [ + 50, + 26 + ], + [ + 57, + 16 + ], + [ + 61, + 18 + ], + [ + 64, + 18 + ], + [ + 67, + 19 + ], + [ + 70, + 19 + ], + [ + 73, + 13 + ], + [ + 79, + 15 + ], + [ + 82, + 10 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 84, + 9 + ] + ] + } + }, + "6": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 12 + ], + [ + 9, + 1 + ] + ], + "doc": "~Private~" + } + }, + "9": { + "11": { + "name": "regions", + "type": "primitive", + "range": [ + [ + 9, + 11 + ], + [ + 9, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "16": { + "name": "needsRemoval", + "type": "primitive", + "range": [ + [ + 10, + 16 + ], + [ + 10, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 14 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 19, + 17 + ], + [ + 37, + 1 + ] + ], + "doc": "~Private~" + } + }, + "37": { + "16": { + "name": "appendRegion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rows", + "start", + "end" + ], + "range": [ + [ + 37, + 16 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "26": { + "name": "getCenterPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 26 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "16": { + "name": "clearRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 16 + ], + [ + 61, + 1 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 18 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 18 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "19": { + "name": "needsAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 19 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 70, + 19 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "13": { + "name": "highlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 13 + ], + [ + 79, + 1 + ] + ], + "doc": "~Private~" + } + }, + "79": { + "15": { + "name": "unhighlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 15 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 10 + ], + [ + 84, + 9 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/selection.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0", + "name": "pick", + "exportsProperty": "pick" + } + }, + "6": { + "0": { + "type": "class", + "name": "Selection", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 7, + 10 + ], + [ + 8, + 10 + ], + [ + 9, + 10 + ], + [ + 10, + 22 + ], + [ + 11, + 12 + ], + [ + 12, + 19 + ], + [ + 14, + 15 + ], + [ + 25, + 11 + ], + [ + 28, + 12 + ], + [ + 34, + 19 + ], + [ + 38, + 11 + ], + [ + 45, + 14 + ], + [ + 49, + 22 + ], + [ + 53, + 18 + ], + [ + 60, + 18 + ], + [ + 64, + 18 + ], + [ + 74, + 18 + ], + [ + 91, + 21 + ], + [ + 98, + 25 + ], + [ + 101, + 25 + ], + [ + 104, + 25 + ], + [ + 107, + 25 + ], + [ + 110, + 14 + ], + [ + 114, + 11 + ], + [ + 118, + 9 + ], + [ + 126, + 14 + ], + [ + 138, + 18 + ], + [ + 144, + 14 + ], + [ + 155, + 18 + ], + [ + 163, + 26 + ], + [ + 184, + 26 + ], + [ + 188, + 15 + ], + [ + 192, + 14 + ], + [ + 196, + 12 + ], + [ + 200, + 14 + ], + [ + 205, + 15 + ], + [ + 210, + 18 + ], + [ + 214, + 13 + ], + [ + 219, + 27 + ], + [ + 224, + 32 + ], + [ + 229, + 21 + ], + [ + 234, + 27 + ], + [ + 239, + 21 + ], + [ + 244, + 31 + ], + [ + 248, + 32 + ], + [ + 252, + 28 + ], + [ + 257, + 36 + ], + [ + 262, + 40 + ], + [ + 266, + 21 + ], + [ + 284, + 22 + ], + [ + 289, + 21 + ], + [ + 316, + 14 + ], + [ + 349, + 20 + ], + [ + 383, + 10 + ], + [ + 399, + 22 + ], + [ + 405, + 25 + ], + [ + 412, + 13 + ], + [ + 417, + 30 + ], + [ + 422, + 30 + ], + [ + 428, + 27 + ], + [ + 434, + 27 + ], + [ + 443, + 10 + ], + [ + 455, + 21 + ], + [ + 462, + 21 + ], + [ + 467, + 22 + ], + [ + 477, + 14 + ], + [ + 496, + 13 + ], + [ + 522, + 23 + ], + [ + 532, + 26 + ], + [ + 542, + 22 + ], + [ + 546, + 18 + ], + [ + 551, + 7 + ], + [ + 561, + 8 + ], + [ + 579, + 8 + ], + [ + 584, + 19 + ], + [ + 595, + 13 + ], + [ + 603, + 25 + ], + [ + 606, + 28 + ], + [ + 609, + 23 + ], + [ + 617, + 18 + ], + [ + 625, + 9 + ], + [ + 641, + 11 + ], + [ + 644, + 22 + ] + ], + "doc": "Public: Represents a selection in the {Editor}. ", + "range": [ + [ + 6, + 0 + ], + [ + 647, + 45 + ] + ] + } + }, + "7": { + "10": { + "name": "cursor", + "type": "primitive", + "range": [ + [ + 7, + 10 + ], + [ + 7, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "8": { + "10": { + "name": "marker", + "type": "primitive", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "10": { + "name": "editor", + "type": "primitive", + "range": [ + [ + 9, + 10 + ], + [ + 9, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "22": { + "name": "initialScreenRange", + "type": "primitive", + "range": [ + [ + 10, + 22 + ], + [ + 10, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "11": { + "12": { + "name": "wordwise", + "type": "primitive", + "range": [ + [ + 11, + 12 + ], + [ + 11, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "19": { + "name": "needsAutoscroll", + "type": "primitive", + "range": [ + [ + 12, + 19 + ], + [ + 12, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 14, + 15 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 11 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "12": { + "name": "finalize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 12 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 19 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "11": { + "name": "isEmpty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 38, + 11 + ], + [ + 45, + 1 + ] + ], + "doc": "Public: Determines if the selection contains anything. " + } + }, + "45": { + "14": { + "name": "isReversed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 14 + ], + [ + 49, + 1 + ] + ], + "doc": " Public: Determines if the ending position of a marker is greater than the\nstarting position.\n\nThis can happen when, for example, you highlight text \"up\" in a {TextBuffer}. " + } + }, + "49": { + "22": { + "name": "isSingleScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 22 + ], + [ + 53, + 1 + ] + ], + "doc": "Public: Returns whether the selection is a single line or not. " + } + }, + "53": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 18 + ], + [ + 60, + 1 + ] + ], + "doc": "Public: Returns the screen {Range} for the selection. " + } + }, + "60": { + "18": { + "name": "setScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 60, + 18 + ], + [ + 64, + 1 + ] + ], + "doc": " Public: Modifies the screen range for the selection.\n\nscreenRange - The new {Range} to use.\noptions - A hash of options matching those found in {::setBufferRange}. " + } + }, + "64": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 18 + ], + [ + 74, + 1 + ] + ], + "doc": "Public: Returns the buffer {Range} for the selection. " + } + }, + "74": { + "18": { + "name": "setBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 74, + 18 + ], + [ + 91, + 1 + ] + ], + "doc": " Public: Modifies the buffer {Range} for the selection.\n\nscreenRange - The new {Range} to select.\noptions - An {Object} with the keys:\n :preserveFolds - if `true`, the fold settings are preserved after the\n selection moves.\n :autoscroll - if `true`, the {Editor} scrolls to the new selection. " + } + }, + "91": { + "21": { + "name": "getBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 21 + ], + [ + 98, + 1 + ] + ], + "doc": " Public: Returns the starting and ending buffer rows the selection is\nhighlighting.\n\nReturns an {Array} of two {Number}s: the starting row, and the ending row. " + } + }, + "98": { + "25": { + "name": "getTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 25 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "getTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 25 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "25": { + "name": "getHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 25 + ], + [ + 107, + 1 + ] + ], + "doc": "~Private~" + } + }, + "107": { + "25": { + "name": "getHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 25 + ], + [ + 110, + 1 + ] + ], + "doc": "~Private~" + } + }, + "110": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 14 + ], + [ + 114, + 1 + ] + ], + "doc": "~Private~" + } + }, + "114": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 114, + 11 + ], + [ + 118, + 1 + ] + ], + "doc": "Public: Returns the text in the selection. " + } + }, + "118": { + "9": { + "name": "clear", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 118, + 9 + ], + [ + 126, + 1 + ] + ], + "doc": "Public: Clears the selection, moving the marker to the head. " + } + }, + "126": { + "14": { + "name": "selectWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 14 + ], + [ + 138, + 1 + ] + ], + "doc": " Public: Modifies the selection to encompass the current word.\n\nReturns a {Range}. " + } + }, + "138": { + "18": { + "name": "expandOverWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 18 + ], + [ + 144, + 1 + ] + ], + "doc": " Public: Expands the newest selection to include the entire word on which\nthe cursors rests. " + } + }, + "144": { + "14": { + "name": "selectLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 144, + 14 + ], + [ + 155, + 1 + ] + ], + "doc": " Public: Selects an entire line in the buffer.\n\nrow - The line {Number} to select (default: the row of the cursor). " + } + }, + "155": { + "18": { + "name": "expandOverLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 155, + 18 + ], + [ + 163, + 1 + ] + ], + "doc": " Public: Expands the newest selection to include the entire line on which\nthe cursor currently rests.\n\nIt also includes the newline character. " + } + }, + "163": { + "26": { + "name": "selectToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 163, + 26 + ], + [ + 184, + 1 + ] + ], + "doc": " Public: Selects the text from the current cursor position to a given screen\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "184": { + "26": { + "name": "selectToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 184, + 26 + ], + [ + 188, + 1 + ] + ], + "doc": " Public: Selects the text from the current cursor position to a given buffer\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "188": { + "15": { + "name": "selectRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 15 + ], + [ + 192, + 1 + ] + ], + "doc": "Public: Selects the text one position right of the cursor. " + } + }, + "192": { + "14": { + "name": "selectLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 192, + 14 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Selects the text one position left of the cursor. " + } + }, + "196": { + "12": { + "name": "selectUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 196, + 12 + ], + [ + 200, + 1 + ] + ], + "doc": "Public: Selects all the text one position above the cursor. " + } + }, + "200": { + "14": { + "name": "selectDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 200, + 14 + ], + [ + 205, + 1 + ] + ], + "doc": "Public: Selects all the text one position below the cursor. " + } + }, + "205": { + "15": { + "name": "selectToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 205, + 15 + ], + [ + 210, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the top of\nthe buffer. " + } + }, + "210": { + "18": { + "name": "selectToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 18 + ], + [ + 214, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the bottom\nof the buffer. " + } + }, + "214": { + "13": { + "name": "selectAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 214, + 13 + ], + [ + 219, + 1 + ] + ], + "doc": "Public: Selects all the text in the buffer. " + } + }, + "219": { + "27": { + "name": "selectToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 219, + 27 + ], + [ + 224, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the line. " + } + }, + "224": { + "32": { + "name": "selectToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 32 + ], + [ + 229, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the first\ncharacter of the line. " + } + }, + "229": { + "21": { + "name": "selectToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 229, + 21 + ], + [ + 234, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the end of\nthe line. " + } + }, + "234": { + "27": { + "name": "selectToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 27 + ], + [ + 239, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the word. " + } + }, + "239": { + "21": { + "name": "selectToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 239, + 21 + ], + [ + 244, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the end of\nthe word. " + } + }, + "244": { + "31": { + "name": "selectToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 244, + 31 + ], + [ + 248, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next word. " + } + }, + "248": { + "32": { + "name": "selectToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 248, + 32 + ], + [ + 252, + 1 + ] + ], + "doc": "Public: Selects text to the previous word boundary. " + } + }, + "252": { + "28": { + "name": "selectToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 252, + 28 + ], + [ + 257, + 1 + ] + ], + "doc": "Public: Selects text to the next word boundary. " + } + }, + "257": { + "36": { + "name": "selectToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 257, + 36 + ], + [ + 262, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next paragraph. " + } + }, + "262": { + "40": { + "name": "selectToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 262, + 40 + ], + [ + 266, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the previous paragraph. " + } + }, + "266": { + "21": { + "name": "addSelectionBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 266, + 21 + ], + [ + 284, + 1 + ] + ], + "doc": "Public: Moves the selection down one row. " + } + }, + "284": { + "22": { + "name": "getGoalBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 22 + ], + [ + 289, + 1 + ] + ], + "doc": "FIXME: I have no idea what this does. " + } + }, + "289": { + "21": { + "name": "addSelectionAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 289, + 21 + ], + [ + 316, + 1 + ] + ], + "doc": "Public: Moves the selection up one row. " + } + }, + "316": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 316, + 14 + ], + [ + 349, + 1 + ] + ], + "doc": " Public: Replaces text at the current selection.\n\ntext - A {String} representing the text to add\noptions - An {Object} with keys:\n :select - if `true`, selects the newly added text.\n :autoIndent - if `true`, indents all inserted text appropriately.\n :autoIndentNewline - if `true`, indent newline appropriately.\n :autoDecreaseIndent - if `true`, decreases indent level appropriately\n (for example, when a closing bracket is inserted).\n :undo - if `skip`, skips the undo stack for this operation. " + } + }, + "349": { + "20": { + "name": "normalizeIndents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "indentBasis" + ], + "range": [ + [ + 349, + 20 + ], + [ + 383, + 1 + ] + ], + "doc": " Public: Indents the given text to the suggested level based on the grammar.\n\ntext - The {String} to indent within the selection.\nindentBasis - The beginning indent level. " + } + }, + "383": { + "10": { + "name": "indent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 383, + 10 + ], + [ + 399, + 1 + ] + ], + "doc": " Private: Indent the current line(s).\n\nIf the selection is empty, indents the current line if the cursor precedes\nnon-whitespace characters, and otherwise inserts a tab. If the selection is\nnon empty, calls {::indentSelectedRows}.\n\noptions - A {Object} with the keys:\n :autoIndent - If `true`, the line is indented to an automatically-inferred\n level. Otherwise, {Editor::getTabText} is inserted. " + } + }, + "399": { + "22": { + "name": "indentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 399, + 22 + ], + [ + 405, + 1 + ] + ], + "doc": "Public: If the selection spans multiple rows, indent all of them. " + } + }, + "405": { + "25": { + "name": "setIndentationForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line", + "indentLevel" + ], + "range": [ + [ + 405, + 25 + ], + [ + 412, + 1 + ] + ], + "doc": "Public: ? " + } + }, + "412": { + "13": { + "name": "backspace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 412, + 13 + ], + [ + 417, + 1 + ] + ], + "doc": " Public: Removes the first character before the selection if the selection\nis empty otherwise it deletes the selection. " + } + }, + "417": { + "30": { + "name": "backspaceToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 417, + 30 + ], + [ + 422, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " + } + }, + "422": { + "30": { + "name": "backspaceToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 422, + 30 + ], + [ + 428, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " + } + }, + "428": { + "27": { + "name": "deleteToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 27 + ], + [ + 434, + 1 + ] + ], + "doc": " Public: Removes from the start of the selection to the beginning of the\ncurrent word if the selection is empty otherwise it deletes the selection. " + } + }, + "434": { + "27": { + "name": "deleteToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 434, + 27 + ], + [ + 443, + 1 + ] + ], + "doc": " Public: Removes from the beginning of the line which the selection begins on\nall the way through to the end of the selection. " + } + }, + "443": { + "10": { + "name": "delete", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 443, + 10 + ], + [ + 455, + 1 + ] + ] + } + }, + "455": { + "21": { + "name": "deleteToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 455, + 21 + ], + [ + 462, + 1 + ] + ], + "doc": " Public: If the selection is empty, removes all text from the cursor to the\nend of the line. If the cursor is already at the end of the line, it\nremoves the following newline. If the selection isn't empty, only deletes\nthe contents of the selection. " + } + }, + "462": { + "21": { + "name": "deleteToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 462, + 21 + ], + [ + 467, + 1 + ] + ], + "doc": " Public: Removes the selection or all characters from the start of the\nselection to the end of the current word if nothing is selected. " + } + }, + "467": { + "22": { + "name": "deleteSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 467, + 22 + ], + [ + 477, + 1 + ] + ], + "doc": "Public: Removes only the selected text. " + } + }, + "477": { + "14": { + "name": "deleteLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 477, + 14 + ], + [ + 496, + 1 + ] + ], + "doc": " Public: Removes the line at the beginning of the selection if the selection\nis empty unless the selection spans multiple lines in which case all lines\nare removed. " + } + }, + "496": { + "13": { + "name": "joinLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 496, + 13 + ], + [ + 522, + 1 + ] + ], + "doc": " Public: Joins the current line with the one below it.\n\nIf there selection spans more than one line, all the lines are joined together. " + } + }, + "522": { + "23": { + "name": "outdentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 522, + 23 + ], + [ + 532, + 1 + ] + ], + "doc": "Public: Removes one level of indent from the currently selected rows. " + } + }, + "532": { + "26": { + "name": "autoIndentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 532, + 26 + ], + [ + 542, + 1 + ] + ], + "doc": " Public: Sets the indentation level of all selected rows to values suggested\nby the relevant grammars. " + } + }, + "542": { + "22": { + "name": "toggleLineComments", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 542, + 22 + ], + [ + 546, + 1 + ] + ], + "doc": " Public: Wraps the selected lines in comments if they aren't currently part\nof a comment.\n\nRemoves the comment if they are currently wrapped in a comment.\n\nReturns an Array of the commented {Range}s. " + } + }, + "546": { + "18": { + "name": "cutToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 546, + 18 + ], + [ + 551, + 1 + ] + ], + "doc": "Public: Cuts the selection until the end of the line. " + } + }, + "551": { + "7": { + "name": "cut", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 551, + 7 + ], + [ + 561, + 1 + ] + ], + "doc": "Public: Copies the selection to the clipboard and then deletes it. " + } + }, + "561": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 561, + 8 + ], + [ + 579, + 1 + ] + ], + "doc": " Public: Copies the current selection to the clipboard.\n\nIf the `maintainClipboard` is set to `true`, a specific metadata property\nis created to store each content copied to the clipboard. The clipboard\n`text` still contains the concatenation of the clipboard with the\ncurrent selection. " + } + }, + "579": { + "8": { + "name": "fold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 579, + 8 + ], + [ + 584, + 1 + ] + ], + "doc": "Public: Creates a fold containing the current selection. " + } + }, + "584": { + "19": { + "name": "modifySelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 584, + 19 + ], + [ + 595, + 1 + ] + ], + "doc": "~Private~" + } + }, + "595": { + "13": { + "name": "plantTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 595, + 13 + ], + [ + 603, + 1 + ] + ], + "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " + } + }, + "603": { + "25": { + "name": "intersectsBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 603, + 25 + ], + [ + 606, + 1 + ] + ], + "doc": " Public: Identifies if a selection intersects with a given buffer range.\n\nbufferRange - A {Range} to check against.\n\nReturns a Boolean. " + } + }, + "606": { + "28": { + "name": "intersectsScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 606, + 28 + ], + [ + 609, + 1 + ] + ], + "doc": "~Private~" + } + }, + "609": { + "23": { + "name": "intersectsScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 609, + 23 + ], + [ + 617, + 1 + ] + ], + "doc": "~Private~" + } + }, + "617": { + "18": { + "name": "intersectsWith", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection" + ], + "range": [ + [ + 617, + 18 + ], + [ + 625, + 1 + ] + ], + "doc": " Public: Identifies if a selection intersects with another selection.\n\notherSelection - A {Selection} to check against.\n\nReturns a Boolean. " + } + }, + "625": { + "9": { + "name": "merge", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection", + "options" + ], + "range": [ + [ + 625, + 9 + ], + [ + 641, + 1 + ] + ], + "doc": " Public: Combines the given selection into this selection and then destroys\nthe given selection.\n\notherSelection - A {Selection} to merge with.\noptions - A hash of options matching those found in {::setBufferRange}. " + } + }, + "641": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection" + ], + "range": [ + [ + 641, + 11 + ], + [ + 644, + 1 + ] + ], + "doc": " Public: Compare this selection's buffer range to another selection's buffer\nrange.\n\nSee {Range::compare} for more details.\n\notherSelection - A {Selection} to compare against. " + } + }, + "644": { + "22": { + "name": "screenRangeChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 644, + 22 + ], + [ + 647, + 45 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 6 + }, + "src/space-pen-extensions.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "1": { + "11": { + "name": "spacePen", + "type": "import", + "range": [ + [ + 1, + 11 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "space-pen" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "6": { + "9": { + "name": "spacePen", + "type": "primitive", + "range": [ + [ + 6, + 9 + ], + [ + 6, + 16 + ] + ] + } + }, + "7": { + "20": { + "name": "jQuery", + "type": "primitive", + "range": [ + [ + 7, + 20 + ], + [ + 7, + 25 + ] + ] + } + }, + "8": { + "19": { + "name": "jQuery.cleanData", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "elements" + ], + "range": [ + [ + 8, + 19 + ], + [ + 11, + 0 + ] + ], + "doc": null + } + }, + "13": { + "2": { + "type": "primitive", + "range": [ + [ + 13, + 2 + ], + [ + 19, + 19 + ] + ] + } + }, + "14": { + "4": { + "type": "primitive", + "range": [ + [ + 14, + 4 + ], + [ + 15, + 12 + ] + ] + }, + "10": { + "name": "1000", + "type": "primitive", + "range": [ + [ + 14, + 10 + ], + [ + 14, + 13 + ] + ] + } + }, + "15": { + "10": { + "name": "100", + "type": "primitive", + "range": [ + [ + 15, + 10 + ], + [ + 15, + 12 + ] + ] + } + }, + "16": { + "13": { + "name": "'body'", + "type": "primitive", + "range": [ + [ + 16, + 13 + ], + [ + 16, + 18 + ] + ] + } + }, + "17": { + "8": { + "type": "primitive", + "range": [ + [ + 17, + 8 + ], + [ + 17, + 11 + ] + ] + } + }, + "18": { + "13": { + "name": "'auto top'", + "type": "primitive", + "range": [ + [ + 18, + 13 + ], + [ + 18, + 22 + ] + ] + } + }, + "19": { + "19": { + "name": "2", + "type": "primitive", + "range": [ + [ + 19, + 19 + ], + [ + 19, + 19 + ] + ] + } + }, + "21": { + "21": { + "name": "humanizeKeystrokes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "keystroke" + ], + "range": [ + [ + 21, + 21 + ], + [ + 25, + 0 + ] + ], + "doc": "~Private~" + } + }, + "26": { + "15": { + "name": "getKeystroke", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bindings" + ], + "range": [ + [ + 26, + 15 + ], + [ + 31, + 0 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "26": { + "name": "requireBootstrapTooltip", + "type": "function", + "range": [ + [ + 32, + 26 + ], + [ + 35, + 59 + ] + ] + } + }, + "36": { + "23": { + "name": "jQuery.fn.setTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "tooltipOptions", + null + ], + "range": [ + [ + 36, + 23 + ], + [ + 49, + 0 + ] + ], + "doc": null + } + }, + "50": { + "24": { + "name": "jQuery.fn.hideTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 24 + ], + [ + 55, + 0 + ] + ], + "doc": null + } + }, + "56": { + "27": { + "name": "jQuery.fn.destroyTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 27 + ], + [ + 61, + 38 + ] + ], + "doc": null + } + }, + "68": { + "36": { + "name": "getKeystroke", + "type": "primitive", + "range": [ + [ + 68, + 36 + ], + [ + 68, + 47 + ] + ] + } + }, + "69": { + "42": { + "name": "humanizeKeystrokes", + "type": "primitive", + "range": [ + [ + 69, + 42 + ], + [ + 69, + 59 + ] + ] + } + }, + "71": { + "49": { + "name": "get", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 71, + 49 + ], + [ + 71, + 55 + ] + ], + "doc": null + } + } + }, + "exports": 73 + }, + "src/subscriber-mixin.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "1": { + "18": { + "type": "primitive", + "range": [ + [ + 1, + 18 + ], + [ + 1, + 55 + ] + ] + }, + "39": { + "name": "componentDidUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 1, + 39 + ], + [ + 1, + 55 + ] + ], + "doc": null + } + } + }, + "exports": 3 + }, + "src/syntax.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 11 + ] + ], + "bindingType": "variable", + "module": "clear-cut@^0.3.0", + "name": "specificity", + "exportsProperty": "specificity" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 15 + ] + ], + "bindingType": "variable", + "module": "first-mate", + "name": "GrammarRegistry", + "exportsProperty": "GrammarRegistry" + }, + "18": { + "type": "import", + "range": [ + [ + 4, + 18 + ], + [ + 4, + 30 + ] + ], + "bindingType": "variable", + "module": "first-mate", + "name": "ScopeSelector", + "exportsProperty": "ScopeSelector" + } + }, + "5": { + "22": { + "name": "ScopedPropertyStore", + "type": "import", + "range": [ + [ + 5, + 22 + ], + [ + 5, + 52 + ] + ], + "bindingType": "variable", + "module": "scoped-property-store" + } + }, + "6": { + "20": { + "name": "PropertyAccessors", + "type": "import", + "range": [ + [ + 6, + 20 + ], + [ + 6, + 47 + ] + ], + "bindingType": "variable", + "module": "property-accessors" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 8, + 4 + ], + [ + 8, + 5 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + } + }, + "9": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 9, + 8 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "18": { + "0": { + "type": "class", + "name": "Syntax", + "bindingType": "exports", + "classProperties": [ + [ + 23, + 16 + ] + ], + "prototypeProperties": [ + [ + 28, + 15 + ], + [ + 32, + 13 + ], + [ + 35, + 15 + ], + [ + 42, + 17 + ], + [ + 49, + 20 + ], + [ + 52, + 19 + ], + [ + 67, + 15 + ], + [ + 75, + 22 + ], + [ + 84, + 32 + ] + ], + "doc": " Public: Syntax class holding the grammars used for tokenizing.\n\nAn instance of this class is always available as the `atom.syntax` global.\n\nThe Syntax class also contains properties for things such as the\nlanguage-specific comment regexes. ", + "range": [ + [ + 18, + 0 + ], + [ + 85, + 52 + ] + ] + } + }, + "23": { + "16": { + "name": "deserialize", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 23, + 16 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 15 + ], + [ + 32, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "13": { + "name": "serialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 32, + 13 + ], + [ + 35, + 1 + ] + ], + "doc": "~Private~" + } + }, + "35": { + "15": { + "name": "createToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "scopes" + ], + "range": [ + [ + 35, + 15 + ], + [ + 35, + 59 + ] + ], + "doc": "~Private~" + } + }, + "42": { + "17": { + "name": "addProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 42, + 17 + ], + [ + 49, + 1 + ] + ], + "doc": "~Private~" + } + }, + "49": { + "20": { + "name": "removeProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 49, + 20 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "19": { + "name": "clearProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 19 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "15": { + "name": "getProperty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scope", + "keyPath" + ], + "range": [ + [ + 67, + 15 + ], + [ + 75, + 1 + ] + ], + "doc": " Public: Get a property for the given scope and key path.\n\n## Example\n```coffee\ncomment = atom.syntax.getProperty(['.source.ruby'], 'editor.commentStart')\nconsole.log(comment) # '# '\n```\n\nscope - An {Array} of {String} scopes.\nkeyPath - A {String} key path.\n\nReturns a {String} property value or undefined. " + } + }, + "75": { + "22": { + "name": "propertiesForScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scope", + "keyPath" + ], + "range": [ + [ + 75, + 22 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "32": { + "name": "cssSelectorFromScopeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeSelector" + ], + "range": [ + [ + 84, + 32 + ], + [ + 85, + 52 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 18 + }, + "src/task-bootstrap.coffee": { + "objects": { + "0": { + "1": { + "type": "primitive", + "name": "userAgent", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "exportsProperty": "userAgent" + }, + "12": { + "type": "primitive", + "name": "taskPath", + "range": [ + [ + 0, + 12 + ], + [ + 0, + 19 + ] + ], + "exportsProperty": "taskPath" + } + }, + "3": { + "15": { + "name": "setupGlobals", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 3, + 15 + ], + [ + 28, + 0 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "15": { + "name": "handleEvents", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 15 + ], + [ + 42, + 0 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "10": { + "name": "handler", + "type": "import", + "range": [ + [ + 45, + 10 + ], + [ + 45, + 26 + ] + ], + "bindingType": "variable", + "module": "askPat" + } + } + }, + "exports": {} + }, + "src/task.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "1": { + "16": { + "name": "child_process", + "type": "import", + "range": [ + [ + 1, + 16 + ], + [ + 1, + 38 + ] + ], + "bindingType": "variable", + "module": "child_process", + "builtin": true + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "21": { + "0": { + "type": "class", + "name": "Task", + "bindingType": "exports", + "classProperties": [ + [ + 29, + 9 + ] + ], + "prototypeProperties": [ + [ + 41, + 12 + ], + [ + 47, + 15 + ], + [ + 73, + 16 + ], + [ + 82, + 9 + ], + [ + 95, + 8 + ], + [ + 102, + 13 + ] + ], + "doc": " Public: Run a node script in a separate process.\n\nUsed by the fuzzy-finder.\n\n## Events\n\n* task:log - Emitted when console.log is called within the task.\n* task:warn - Emitted when console.warn is called within the task.\n* task:error - Emitted when console.error is called within the task.\n* task:completed - Emitted when the task has succeeded or failed.\n\n## Requiring in packages\n\n```coffee\n {Task} = require 'atom'\n``` ", + "range": [ + [ + 21, + 0 + ], + [ + 109, + 10 + ] + ] + } + }, + "29": { + "9": { + "name": "once", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "taskPath", + "args" + ], + "range": [ + [ + 29, + 9 + ], + [ + 41, + 1 + ] + ], + "doc": " Public: A helper method to easily launch and run a task once.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file which\n exports a single {Function} to execute.\nargs - The arguments to pass to the exported function. " + } + }, + "41": { + "12": { + "name": "callback", + "type": "primitive", + "range": [ + [ + 41, + 12 + ], + [ + 41, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "47": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "taskPath" + ], + "range": [ + [ + 47, + 15 + ], + [ + 73, + 1 + ] + ], + "doc": " Public: Creates a task.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file that\n exports a single {Function} to execute. " + } + }, + "73": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 16 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Routes messages from the child to the appropriate event. " + } + }, + "82": { + "9": { + "name": "start", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args", + "callback" + ], + "range": [ + [ + 82, + 9 + ], + [ + 95, + 1 + ] + ], + "doc": " Public: Starts the task.\n\nargs - The arguments to pass to the function exported by this task's script.\ncallback - An optional {Function} to call when the task completes. " + } + }, + "95": { + "8": { + "name": "send", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 95, + 8 + ], + [ + 102, + 1 + ] + ], + "doc": " Public: Send message to the task.\n\nmessage - The message to send to the task. " + } + }, + "102": { + "13": { + "name": "terminate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 13 + ], + [ + 109, + 10 + ] + ], + "doc": " Public: Forcefully stop the running task.\n\nNo events are emitted. " + } + } + }, + "exports": 21 + }, + "src/text-utils.coffee": { + "objects": { + "0": { + "18": { + "name": "isHighSurrogate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 0, + 18 + ], + [ + 2, + 0 + ] + ], + "doc": "~Private~" + } + }, + "3": { + "17": { + "name": "isLowSurrogate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 3, + 17 + ], + [ + 11, + 21 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "18": { + "name": "isSurrogatePair", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 12, + 18 + ], + [ + 22, + 21 + ] + ], + "doc": " Private: Is the character at the given index the start of a high/low surrogate pair?\n\nstring - The {String} to check for a surrogate pair.\nindex - The {Number} index to look for a surrogate pair at.\n\nReturn a {Boolean}. " + } + }, + "23": { + "20": { + "name": "getCharacterCount", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 23, + 20 + ], + [ + 32, + 22 + ] + ], + "doc": " Private: Get the number of characters in the string accounting for surrogate pairs.\n\nThis method counts high/low surrogate pairs as a single character and will\nalways returns a value less than or equal to `string.length`.\n\nstring - The {String} to count the number of full characters in.\n\nReturns a {Number}. " + } + }, + "33": { + "19": { + "name": "hasSurrogatePair", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 33, + 19 + ], + [ + 35, + 0 + ] + ], + "doc": " Private: Does the given string contain at least one surrogate pair?\n\nstring - The {String} to check for the presence of surrogate pairs.\n\nReturns a {Boolean}. " + } + } + }, + "exports": 36 + }, + "src/theme-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.0.4" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "8": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "9": { + "1": { + "type": "import", + "range": [ + [ + 9, + 1 + ], + [ + 9, + 4 + ] + ], + "bindingType": "variable", + "module": "pathwatcher@^2.0.4", + "name": "File", + "exportsProperty": "File" + } + }, + "15": { + "0": { + "type": "class", + "name": "ThemeManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 18, + 15 + ], + [ + 22, + 21 + ], + [ + 27, + 18 + ], + [ + 31, + 18 + ], + [ + 35, + 19 + ], + [ + 39, + 19 + ], + [ + 42, + 20 + ], + [ + 47, + 24 + ], + [ + 57, + 18 + ], + [ + 82, + 20 + ], + [ + 87, + 20 + ], + [ + 93, + 20 + ], + [ + 96, + 18 + ], + [ + 109, + 25 + ], + [ + 116, + 25 + ], + [ + 121, + 22 + ], + [ + 133, + 23 + ], + [ + 137, + 25 + ], + [ + 142, + 26 + ], + [ + 145, + 21 + ], + [ + 160, + 21 + ], + [ + 169, + 18 + ], + [ + 175, + 22 + ], + [ + 197, + 14 + ], + [ + 200, + 20 + ], + [ + 209, + 19 + ] + ], + "doc": " Public: Handles loading and activating available themes.\n\nAn instance of this class is always available as the `atom.themes` global. ", + "range": [ + [ + 15, + 0 + ], + [ + 222, + 31 + ] + ] + } + }, + "18": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 18, + 15 + ], + [ + 22, + 1 + ] + ], + "doc": "~Private~" + } + }, + "22": { + "21": { + "name": "getAvailableNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 22, + 21 + ], + [ + 27, + 1 + ] + ], + "doc": "~Private~" + } + }, + "27": { + "18": { + "name": "getLoadedNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 18 + ], + [ + 31, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded theme names. " + } + }, + "31": { + "18": { + "name": "getActiveNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 31, + 18 + ], + [ + 35, + 1 + ] + ], + "doc": "Public: Get an array of all the active theme names. " + } + }, + "35": { + "19": { + "name": "getActiveThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 35, + 19 + ], + [ + 39, + 1 + ] + ], + "doc": "Public: Get an array of all the active themes. " + } + }, + "39": { + "19": { + "name": "getLoadedThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 39, + 19 + ], + [ + 42, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded themes. " + } + }, + "42": { + "20": { + "name": "activatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "themePackages" + ], + "range": [ + [ + 42, + 20 + ], + [ + 42, + 55 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "24": { + "name": "getEnabledThemeNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 47, + 24 + ], + [ + 57, + 1 + ] + ], + "doc": " Private: Get the enabled theme names from the config.\n\nReturns an array of theme names in the order that they should be activated. " + } + }, + "57": { + "18": { + "name": "activateThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 18 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "20": { + "name": "deactivateThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 20 + ], + [ + 87, + 1 + ] + ], + "doc": "~Private~" + } + }, + "87": { + "20": { + "name": "refreshLessCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 87, + 20 + ], + [ + 93, + 1 + ] + ], + "doc": "~Private~" + } + }, + "93": { + "20": { + "name": "setEnabledThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "enabledThemeNames" + ], + "range": [ + [ + 93, + 20 + ], + [ + 96, + 1 + ] + ], + "doc": " Public: Set the list of enabled themes.\n\nenabledThemeNames - An {Array} of {String} theme names. " + } + }, + "96": { + "18": { + "name": "getImportPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 18 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "25": { + "name": "getUserStylesheetPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 25 + ], + [ + 116, + 1 + ] + ], + "doc": "Public: Returns the {String} path to the user's stylesheet under ~/.atom " + } + }, + "116": { + "25": { + "name": "unwatchUserStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 25 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "22": { + "name": "loadUserStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 121, + 22 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "23": { + "name": "loadBaseStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 23 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "25": { + "name": "reloadBaseStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 25 + ], + [ + 142, + 1 + ] + ], + "doc": "~Private~" + } + }, + "142": { + "26": { + "name": "stylesheetElementForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id", + "htmlElement" + ], + "range": [ + [ + 142, + 26 + ], + [ + 145, + 1 + ] + ], + "doc": "~Private~" + } + }, + "145": { + "21": { + "name": "resolveStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 145, + 21 + ], + [ + 160, + 1 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "21": { + "name": "requireStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "type", + "htmlElement" + ], + "range": [ + [ + 160, + 21 + ], + [ + 169, + 1 + ] + ], + "doc": " Public: Resolve and apply the stylesheet specified by the path.\n\nThis supports both CSS and LESS stylsheets.\n\nstylesheetPath - A {String} path to the stylesheet that can be an absolute\n path or a relative path that will be resolved against the\n load path.\n\nReturns the absolute path to the required stylesheet. " + } + }, + "169": { + "18": { + "name": "loadStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "importFallbackVariables" + ], + "range": [ + [ + 169, + 18 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "22": { + "name": "loadLessStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lessStylesheetPath", + "importFallbackVariables" + ], + "range": [ + [ + 175, + 22 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "14": { + "name": "stringToId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 197, + 14 + ], + [ + 200, + 1 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "20": { + "name": "removeStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 200, + 20 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "19": { + "name": "applyStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "text", + "type", + "htmlElement" + ], + "range": [ + [ + 209, + 19 + ], + [ + 222, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 15 + }, + "src/theme-package.coffee": { + "objects": { + "0": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "1": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 1, + 10 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "4": { + "0": { + "type": "class", + "name": "ThemePackage", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 5, + 11 + ], + [ + 7, + 21 + ], + [ + 9, + 10 + ], + [ + 12, + 11 + ], + [ + 15, + 8 + ], + [ + 23, + 12 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 31, + 31 + ] + ] + } + }, + "5": { + "11": { + "name": "getType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 11 + ], + [ + 5, + 20 + ] + ] + } + }, + "7": { + "21": { + "name": "getStylesheetType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 7, + 21 + ], + [ + 7, + 30 + ] + ], + "doc": "~Private~" + } + }, + "9": { + "10": { + "name": "enable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 10 + ], + [ + 12, + 1 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "11": { + "name": "disable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 12, + 11 + ], + [ + 15, + 1 + ] + ], + "doc": "~Private~" + } + }, + "15": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 15, + 8 + ], + [ + 23, + 1 + ] + ], + "doc": "~Private~" + } + }, + "23": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 23, + 12 + ], + [ + 31, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/token.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "1": { + "12": { + "name": "textUtils", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 33 + ] + ], + "bindingType": "variable", + "path": "./text-utils" + } + }, + "3": { + "31": { + "type": "primitive", + "range": [ + [ + 3, + 31 + ], + [ + 3, + 32 + ] + ] + } + }, + "4": { + "20": { + "name": "/^[ ]+/", + "type": "primitive", + "range": [ + [ + 4, + 20 + ], + [ + 4, + 26 + ] + ] + } + }, + "5": { + "21": { + "name": "/[ ]+$/", + "type": "primitive", + "range": [ + [ + 5, + 21 + ], + [ + 5, + 27 + ] + ] + } + }, + "6": { + "14": { + "name": "/[&\"'<>]/g", + "type": "primitive", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 23 + ] + ] + } + }, + "7": { + "17": { + "name": "/./g", + "type": "primitive", + "range": [ + [ + 7, + 17 + ], + [ + 7, + 20 + ] + ] + } + }, + "8": { + "22": { + "name": "/^./", + "type": "primitive", + "range": [ + [ + 8, + 22 + ], + [ + 8, + 25 + ] + ] + } + }, + "9": { + "16": { + "name": "/^\\.?/", + "type": "primitive", + "range": [ + [ + 9, + 16 + ], + [ + 9, + 21 + ] + ] + } + }, + "10": { + "18": { + "name": "/\\S/", + "type": "primitive", + "range": [ + [ + 10, + 18 + ], + [ + 10, + 21 + ] + ] + } + }, + "12": { + "17": { + "name": "20000", + "type": "primitive", + "range": [ + [ + 12, + 17 + ], + [ + 12, + 21 + ] + ] + } + }, + "16": { + "0": { + "type": "class", + "name": "Token", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 9 + ], + [ + 18, + 20 + ], + [ + 19, + 10 + ], + [ + 20, + 12 + ], + [ + 21, + 13 + ], + [ + 22, + 24 + ], + [ + 23, + 25 + ], + [ + 25, + 15 + ], + [ + 30, + 11 + ], + [ + 33, + 13 + ], + [ + 36, + 11 + ], + [ + 41, + 31 + ], + [ + 44, + 24 + ], + [ + 86, + 26 + ], + [ + 106, + 27 + ], + [ + 113, + 21 + ], + [ + 116, + 21 + ], + [ + 119, + 17 + ], + [ + 129, + 20 + ], + [ + 132, + 24 + ], + [ + 138, + 18 + ], + [ + 185, + 16 + ], + [ + 194, + 23 + ] + ], + "doc": "Private: Represents a single unit of text as selected by a grammar. ", + "range": [ + [ + 16, + 0 + ], + [ + 201, + 16 + ] + ] + } + }, + "17": { + "9": { + "name": "value", + "type": "primitive", + "range": [ + [ + 17, + 9 + ], + [ + 17, + 12 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "20": { + "name": "hasSurrogatePair", + "type": "primitive", + "range": [ + [ + 18, + 20 + ], + [ + 18, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "10": { + "name": "scopes", + "type": "primitive", + "range": [ + [ + 19, + 10 + ], + [ + 19, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "20": { + "12": { + "name": "isAtomic", + "type": "primitive", + "range": [ + [ + 20, + 12 + ], + [ + 20, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "13": { + "name": "isHardTab", + "type": "primitive", + "range": [ + [ + 21, + 13 + ], + [ + 21, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "22": { + "24": { + "name": "hasLeadingWhitespace", + "type": "primitive", + "range": [ + [ + 22, + 24 + ], + [ + 22, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "23": { + "25": { + "name": "hasTrailingWhitespace", + "type": "primitive", + "range": [ + [ + 23, + 25 + ], + [ + 23, + 29 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "25": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 25, + 15 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "isEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 30, + 11 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "13": { + "name": "isBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 33, + 13 + ], + [ + 36, + 1 + ] + ], + "doc": "~Private~" + } + }, + "36": { + "11": { + "name": "splitAt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "splitIndex" + ], + "range": [ + [ + 36, + 11 + ], + [ + 41, + 1 + ] + ], + "doc": "~Private~" + } + }, + "41": { + "31": { + "name": "whitespaceRegexForTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 41, + 31 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "24": { + "name": "breakOutAtomicTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "breakOutLeadingSoftTabs", + "startColumn" + ], + "range": [ + [ + 44, + 24 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "26": { + "name": "breakOutSurrogatePairs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 26 + ], + [ + 106, + 1 + ] + ], + "doc": "~Private~" + } + }, + "106": { + "27": { + "name": "buildSurrogatePairToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "index" + ], + "range": [ + [ + 106, + 27 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "21": { + "name": "buildHardTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "column" + ], + "range": [ + [ + 113, + 21 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "21": { + "name": "buildSoftTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 116, + 21 + ], + [ + 119, + 1 + ] + ], + "doc": "~Private~" + } + }, + "119": { + "17": { + "name": "buildTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "isHardTab", + "column" + ], + "range": [ + [ + 119, + 17 + ], + [ + 129, + 1 + ] + ], + "doc": "~Private~" + } + }, + "129": { + "20": { + "name": "isOnlyWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 129, + 20 + ], + [ + 132, + 1 + ] + ], + "doc": "~Private~" + } + }, + "132": { + "24": { + "name": "matchesScopeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 132, + 24 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "18": { + "name": "getValueAsHtml", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 138, + 18 + ], + [ + 185, + 1 + ] + ], + "doc": "~Private~" + } + }, + "185": { + "16": { + "name": "escapeString", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "str", + "startIndex", + "endIndex" + ], + "range": [ + [ + 185, + 16 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "23": { + "name": "escapeStringReplace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "match" + ], + "range": [ + [ + 194, + 23 + ], + [ + 201, + 16 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 16 + }, + "src/tokenized-buffer.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "3": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "4": { + "16": { + "name": "TokenizedLine", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 41 + ] + ], + "bindingType": "variable", + "path": "./tokenized-line" + } + }, + "5": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "8": { + "0": { + "type": "class", + "name": "TokenizedBuffer", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 11 + ], + [ + 14, + 23 + ], + [ + 15, + 10 + ], + [ + 16, + 18 + ], + [ + 17, + 13 + ], + [ + 18, + 15 + ], + [ + 19, + 11 + ], + [ + 21, + 15 + ], + [ + 48, + 19 + ], + [ + 52, + 21 + ], + [ + 56, + 14 + ], + [ + 64, + 17 + ], + [ + 70, + 23 + ], + [ + 76, + 23 + ], + [ + 82, + 14 + ], + [ + 88, + 16 + ], + [ + 94, + 16 + ], + [ + 96, + 24 + ], + [ + 103, + 21 + ], + [ + 133, + 19 + ], + [ + 136, + 15 + ], + [ + 139, + 17 + ], + [ + 144, + 21 + ], + [ + 153, + 22 + ], + [ + 173, + 48 + ], + [ + 183, + 30 + ], + [ + 200, + 41 + ], + [ + 203, + 39 + ], + [ + 210, + 37 + ], + [ + 220, + 20 + ], + [ + 225, + 22 + ], + [ + 228, + 15 + ], + [ + 231, + 21 + ], + [ + 257, + 22 + ], + [ + 266, + 21 + ], + [ + 269, + 20 + ], + [ + 273, + 33 + ], + [ + 278, + 33 + ], + [ + 299, + 30 + ], + [ + 314, + 39 + ], + [ + 329, + 22 + ], + [ + 344, + 22 + ], + [ + 362, + 14 + ], + [ + 365, + 16 + ], + [ + 368, + 12 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 371, + 40 + ] + ] + } + }, + "13": { + "11": { + "name": "grammar", + "type": "primitive", + "range": [ + [ + 13, + 11 + ], + [ + 13, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "23": { + "name": "currentGrammarScore", + "type": "primitive", + "range": [ + [ + 14, + 23 + ], + [ + 14, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "15": { + "10": { + "name": "buffer", + "type": "primitive", + "range": [ + [ + 15, + 10 + ], + [ + 15, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "18": { + "name": "tokenizedLines", + "type": "primitive", + "range": [ + [ + 16, + 18 + ], + [ + 16, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "17": { + "13": { + "name": "chunkSize", + "type": "primitive", + "range": [ + [ + 17, + 13 + ], + [ + 17, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "15": { + "name": "invalidRows", + "type": "primitive", + "range": [ + [ + 18, + 15 + ], + [ + 18, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 19, + 11 + ], + [ + 19, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 21, + 15 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 19 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 52, + 21 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar", + "score" + ], + "range": [ + [ + 56, + 14 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 17 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "23": { + "name": "hasTokenForSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 70, + 23 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "23": { + "name": "resetTokenizedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 23 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 82, + 14 + ], + [ + 88, + 1 + ] + ], + "doc": "~Private~" + } + }, + "88": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 16 + ], + [ + 94, + 1 + ] + ], + "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " + } + }, + "94": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 94, + 16 + ], + [ + 94, + 30 + ] + ], + "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " + } + }, + "96": { + "24": { + "name": "tokenizeInBackground", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 24 + ], + [ + 103, + 1 + ] + ], + "doc": "~Private~" + } + }, + "103": { + "21": { + "name": "tokenizeNextChunk", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 103, + 21 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "19": { + "name": "firstInvalidRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 19 + ], + [ + 136, + 1 + ] + ], + "doc": "~Private~" + } + }, + "136": { + "15": { + "name": "validateRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 136, + 15 + ], + [ + 139, + 1 + ] + ], + "doc": "~Private~" + } + }, + "139": { + "17": { + "name": "invalidateRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 139, + 17 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "21": { + "name": "updateInvalidRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end", + "delta" + ], + "range": [ + [ + 144, + 21 + ], + [ + 153, + 1 + ] + ], + "doc": "~Private~" + } + }, + "153": { + "22": { + "name": "handleBufferChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 153, + 22 + ], + [ + 173, + 1 + ] + ], + "doc": "~Private~" + } + }, + "173": { + "48": { + "name": "retokenizeWhitespaceRowsIfIndentLevelChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "increment" + ], + "range": [ + [ + 173, + 48 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "30": { + "name": "buildTokenizedLinesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow", + "startingStack" + ], + "range": [ + [ + 183, + 30 + ], + [ + 200, + 1 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "41": { + "name": "buildPlaceholderTokenizedLinesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 200, + 41 + ], + [ + 203, + 1 + ] + ], + "doc": "~Private~" + } + }, + "203": { + "39": { + "name": "buildPlaceholderTokenizedLineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 203, + 39 + ], + [ + 210, + 1 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "37": { + "name": "buildTokenizedTokenizedLineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "ruleStack" + ], + "range": [ + [ + 210, + 37 + ], + [ + 220, + 1 + ] + ], + "doc": "~Private~" + } + }, + "220": { + "20": { + "name": "lineForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 220, + 20 + ], + [ + 225, + 1 + ] + ], + "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " + } + }, + "225": { + "22": { + "name": "linesForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 225, + 22 + ], + [ + 228, + 1 + ] + ], + "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " + } + }, + "228": { + "15": { + "name": "stackForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 228, + 15 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "21": { + "name": "indentLevelForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 231, + 21 + ], + [ + 257, + 1 + ] + ], + "doc": "~Private~" + } + }, + "257": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 257, + 22 + ], + [ + 266, + 1 + ] + ], + "doc": "~Private~" + } + }, + "266": { + "21": { + "name": "scopesForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 266, + 21 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "20": { + "name": "tokenForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 269, + 20 + ], + [ + 273, + 1 + ] + ], + "doc": "~Private~" + } + }, + "273": { + "33": { + "name": "tokenStartPositionForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 273, + 33 + ], + [ + 278, + 1 + ] + ], + "doc": "~Private~" + } + }, + "278": { + "33": { + "name": "bufferRangeForScopeAtPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "position" + ], + "range": [ + [ + 278, + 33 + ], + [ + 299, + 1 + ] + ], + "doc": "~Private~" + } + }, + "299": { + "30": { + "name": "iterateTokensInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "iterator" + ], + "range": [ + [ + 299, + 30 + ], + [ + 314, + 1 + ] + ], + "doc": "~Private~" + } + }, + "314": { + "39": { + "name": "backwardsIterateTokensInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "iterator" + ], + "range": [ + [ + 314, + 39 + ], + [ + 329, + 1 + ] + ], + "doc": "~Private~" + } + }, + "329": { + "22": { + "name": "findOpeningBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferPosition" + ], + "range": [ + [ + 329, + 22 + ], + [ + 344, + 1 + ] + ], + "doc": "~Private~" + } + }, + "344": { + "22": { + "name": "findClosingBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferPosition" + ], + "range": [ + [ + 344, + 22 + ], + [ + 362, + 1 + ] + ], + "doc": "~Private~" + } + }, + "362": { + "14": { + "name": "getLastRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 362, + 14 + ], + [ + 365, + 1 + ] + ], + "doc": " Private: Gets the row number of the last line.\n\nReturns a {Number}. " + } + }, + "365": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 365, + 16 + ], + [ + 368, + 1 + ] + ], + "doc": "~Private~" + } + }, + "368": { + "12": { + "name": "logLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 368, + 12 + ], + [ + 371, + 40 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/tokenized-line.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "2": { + "12": { + "name": "1", + "type": "primitive", + "range": [ + [ + 2, + 12 + ], + [ + 2, + 12 + ] + ] + } + }, + "5": { + "0": { + "type": "class", + "name": "TokenizedLine", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 6, + 15 + ], + [ + 15, + 13 + ], + [ + 20, + 20 + ], + [ + 25, + 8 + ], + [ + 28, + 20 + ], + [ + 47, + 31 + ], + [ + 57, + 31 + ], + [ + 66, + 22 + ], + [ + 72, + 22 + ], + [ + 75, + 14 + ], + [ + 102, + 17 + ], + [ + 105, + 23 + ], + [ + 108, + 28 + ], + [ + 115, + 35 + ], + [ + 123, + 24 + ], + [ + 134, + 42 + ], + [ + 145, + 13 + ], + [ + 154, + 20 + ], + [ + 162, + 16 + ], + [ + 165, + 17 + ], + [ + 168, + 24 + ], + [ + 174, + 16 + ], + [ + 186, + 20 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 199, + 0 + ] + ] + } + }, + "6": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 6, + 15 + ], + [ + 15, + 1 + ] + ] + } + }, + "15": { + "13": { + "name": "buildText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 15, + 13 + ], + [ + 20, + 1 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "20": { + "name": "buildBufferDelta", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 20 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 8 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "20": { + "name": "clipScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "column", + "options" + ], + "range": [ + [ + 28, + 20 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "31": { + "name": "screenColumnForBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn", + "options" + ], + "range": [ + [ + 47, + 31 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "31": { + "name": "bufferColumnForScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenColumn", + "options" + ], + "range": [ + [ + 57, + 31 + ], + [ + 66, + 1 + ] + ], + "doc": "~Private~" + } + }, + "66": { + "22": { + "name": "getMaxScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 66, + 22 + ], + [ + 72, + 1 + ] + ], + "doc": "~Private~" + } + }, + "72": { + "22": { + "name": "getMaxBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 72, + 22 + ], + [ + 75, + 1 + ] + ], + "doc": "~Private~" + } + }, + "75": { + "14": { + "name": "softWrapAt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "column" + ], + "range": [ + [ + 75, + 14 + ], + [ + 102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "102": { + "17": { + "name": "isSoftWrapped", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 17 + ], + [ + 105, + 1 + ] + ], + "doc": "~Private~" + } + }, + "105": { + "23": { + "name": "tokenAtBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 105, + 23 + ], + [ + 108, + 1 + ] + ], + "doc": "~Private~" + } + }, + "108": { + "28": { + "name": "tokenIndexAtBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 108, + 28 + ], + [ + 115, + 1 + ] + ], + "doc": "~Private~" + } + }, + "115": { + "35": { + "name": "tokenStartColumnForBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 115, + 35 + ], + [ + 123, + 1 + ] + ], + "doc": "~Private~" + } + }, + "123": { + "24": { + "name": "breakOutAtomicTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "inputTokens" + ], + "range": [ + [ + 123, + 24 + ], + [ + 134, + 1 + ] + ], + "doc": "~Private~" + } + }, + "134": { + "42": { + "name": "markLeadingAndTrailingWhitespaceTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 134, + 42 + ], + [ + 145, + 1 + ] + ], + "doc": "~Private~" + } + }, + "145": { + "13": { + "name": "isComment", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 145, + 13 + ], + [ + 154, + 1 + ] + ], + "doc": "~Private~" + } + }, + "154": { + "20": { + "name": "isOnlyWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 20 + ], + [ + 162, + 1 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "16": { + "name": "tokenAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 162, + 16 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "17": { + "name": "getTokenCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 17 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "24": { + "name": "bufferColumnForToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetToken" + ], + "range": [ + [ + 168, + 24 + ], + [ + 174, + 1 + ] + ], + "doc": "~Private~" + } + }, + "174": { + "16": { + "name": "getScopeTree", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 174, + 16 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "20": { + "name": "updateScopeStack", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 186, + 20 + ], + [ + 199, + 0 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "0": { + "type": "class", + "name": "Scope", + "classProperties": [], + "prototypeProperties": [ + [ + 201, + 15 + ] + ], + "doc": "~Private~", + "range": [ + [ + 200, + 0 + ], + [ + 202, + 18 + ] + ] + } + }, + "201": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 201, + 15 + ], + [ + 202, + 18 + ] + ] + } + } + }, + "exports": 5 + }, + "src/window-bootstrap.coffee": { + "objects": { + "1": { + "12": { + "name": "startTime", + "type": "function", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 21 + ] + ] + } + }, + "5": { + "7": { + "name": "Atom", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "path": "./atom" + } + }, + "6": { + "14": { + "name": "window.atom", + "type": "function", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 40 + ] + ] + } + } + }, + "exports": {} + }, + "src/window-event-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "2": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "3": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 3, + 8 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.0.4" + } + }, + "9": { + "0": { + "type": "class", + "name": "WindowEventHandler", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 81, + 27 + ], + [ + 96, + 13 + ], + [ + 100, + 12 + ], + [ + 106, + 25 + ], + [ + 116, + 13 + ], + [ + 137, + 17 + ] + ], + "doc": "Private: Handles low-level events related to the window. ", + "range": [ + [ + 9, + 0 + ], + [ + 156, + 28 + ] + ] + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 12, + 15 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "27": { + "name": "handleNativeKeybindings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 81, + 27 + ], + [ + 96, + 1 + ] + ], + "doc": " Private: Wire commands that should be handled by the native menu\nfor elements with the `.native-key-bindings` class. " + } + }, + "96": { + "13": { + "name": "onKeydown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 96, + 13 + ], + [ + 100, + 1 + ] + ], + "doc": "~Private~" + } + }, + "100": { + "12": { + "name": "openLink", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 100, + 12 + ], + [ + 106, + 1 + ] + ], + "doc": "~Private~" + } + }, + "106": { + "25": { + "name": "eachTabIndexedElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 106, + 25 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "13": { + "name": "focusNext", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 13 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "17": { + "name": "focusPrevious", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 17 + ], + [ + 156, + 28 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 9 + }, + "src/window.coffee": { + "objects": { + "7": { + "17": { + "name": "window.measure", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "description", + "fn" + ], + "range": [ + [ + 7, + 17 + ], + [ + 20, + 51 + ] + ], + "doc": null + } + }, + "21": { + "17": { + "name": "window.profile", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "description", + "fn" + ], + "range": [ + [ + 21, + 17 + ], + [ + 26, + 9 + ] + ], + "doc": null + } + } + }, + "exports": {} + }, + "src/workspace-view.coffee": { + "objects": { + "0": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "4": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 4, + 12 + ], + [ + 4, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + }, + "12": { + "type": "import", + "range": [ + [ + 5, + 12 + ], + [ + 5, + 33 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "logDeprecationWarnings", + "exportsProperty": "logDeprecationWarnings" + } + }, + "6": { + "17": { + "name": "scrollbarStyle", + "type": "import", + "range": [ + [ + 6, + 17 + ], + [ + 6, + 41 + ] + ], + "bindingType": "variable", + "module": "scrollbar-style" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 5 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + }, + "8": { + "type": "import", + "range": [ + [ + 7, + 8 + ], + [ + 7, + 11 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "8": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 8, + 5 + ], + [ + 8, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.0.4" + } + }, + "9": { + "12": { + "name": "Workspace", + "type": "import", + "range": [ + [ + 9, + 12 + ], + [ + 9, + 32 + ] + ], + "bindingType": "variable", + "path": "./workspace" + } + }, + "10": { + "19": { + "name": "CommandInstaller", + "type": "import", + "range": [ + [ + 10, + 19 + ], + [ + 10, + 47 + ] + ], + "bindingType": "variable", + "path": "./command-installer" + } + }, + "11": { + "13": { + "name": "EditorView", + "type": "import", + "range": [ + [ + 11, + 13 + ], + [ + 11, + 35 + ] + ], + "bindingType": "variable", + "path": "./editor-view" + } + }, + "12": { + "11": { + "name": "PaneView", + "type": "import", + "range": [ + [ + 12, + 11 + ], + [ + 12, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-view" + } + }, + "13": { + "17": { + "name": "PaneColumnView", + "type": "import", + "range": [ + [ + 13, + 17 + ], + [ + 13, + 44 + ] + ], + "bindingType": "variable", + "path": "./pane-column-view" + } + }, + "14": { + "14": { + "name": "PaneRowView", + "type": "import", + "range": [ + [ + 14, + 14 + ], + [ + 14, + 38 + ] + ], + "bindingType": "variable", + "path": "./pane-row-view" + } + }, + "15": { + "20": { + "name": "PaneContainerView", + "type": "import", + "range": [ + [ + 15, + 20 + ], + [ + 15, + 50 + ] + ], + "bindingType": "variable", + "path": "./pane-container-view" + } + }, + "16": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 16, + 9 + ], + [ + 16, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "55": { + "0": { + "type": "class", + "name": "WorkspaceView", + "bindingType": "exports", + "classProperties": [ + [ + 63, + 12 + ], + [ + 66, + 4 + ], + [ + 75, + 12 + ] + ], + "prototypeProperties": [ + [ + 81, + 14 + ], + [ + 168, + 12 + ], + [ + 171, + 24 + ], + [ + 191, + 15 + ], + [ + 205, + 15 + ], + [ + 209, + 16 + ], + [ + 213, + 15 + ], + [ + 223, + 12 + ], + [ + 233, + 18 + ], + [ + 238, + 16 + ], + [ + 242, + 15 + ], + [ + 247, + 19 + ], + [ + 252, + 18 + ], + [ + 257, + 17 + ], + [ + 262, + 16 + ], + [ + 267, + 18 + ], + [ + 272, + 17 + ], + [ + 281, + 21 + ], + [ + 287, + 17 + ], + [ + 291, + 25 + ], + [ + 294, + 21 + ], + [ + 297, + 22 + ], + [ + 300, + 22 + ], + [ + 303, + 23 + ], + [ + 306, + 24 + ], + [ + 315, + 16 + ], + [ + 325, + 16 + ], + [ + 336, + 18 + ], + [ + 344, + 16 + ], + [ + 347, + 21 + ], + [ + 350, + 23 + ], + [ + 353, + 23 + ], + [ + 356, + 18 + ], + [ + 368, + 12 + ], + [ + 373, + 12 + ], + [ + 378, + 17 + ], + [ + 383, + 21 + ] + ], + "doc": " Public: The top-level view for the entire window. An instance of this class is\navailable via the `atom.workspaceView` global.\n\nIt is backed by a model object, an instance of {Workspace}, which is available\nvia the `atom.workspace` global or {::getModel}. You should prefer to interact\nwith the model object when possible, but it won't always be possible with the\ncurrent API.\n\n## Adding Perimeter Panels\n\nUse the following methods if possible to attach panels to the perimeter of the\nworkspace rather than manipulating the DOM directly to better insulate you to\nchanges in the workspace markup:\n\n* {::prependToTop}\n* {::appendToTop}\n* {::prependToBottom}\n* {::appendToBottom}\n* {::prependToLeft}\n* {::appendToLeft}\n* {::prependToRight}\n* {::appendToRight}\n\n## Requiring in package specs\n\nIf you need a `WorkspaceView` instance to test your package, require it via\nthe built-in `atom` module.\n\n```coffee\n {WorkspaceView} = require 'atom'\n```\n\nYou can assign it to the `atom.workspaceView` global in the spec or just use\nit as a local, depending on what you're trying to accomplish. Building the\n`WorkspaceView` is currently expensive, so you should try build a {Workspace}\ninstead if possible. ", + "range": [ + [ + 55, + 0 + ], + [ + 385, + 25 + ] + ] + } + }, + "63": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 63, + 12 + ], + [ + 63, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "66": { + "4": { + "name": "configDefaults", + "type": "primitive", + "range": [ + [ + 66, + 4 + ], + [ + 73, + 23 + ] + ], + "bindingType": "classProperty" + } + }, + "75": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 75, + 12 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 81, + 14 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 12 + ], + [ + 168, + 20 + ] + ], + "doc": " Public: Get the underlying model object.\n\nReturns a {Workspace}. " + } + }, + "171": { + "24": { + "name": "installShellCommands", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 24 + ], + [ + 191, + 1 + ] + ], + "doc": "Public: Install the Atom shell commands on the user's system. " + } + }, + "191": { + "15": { + "name": "handleFocus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 191, + 15 + ], + [ + 205, + 1 + ] + ], + "doc": "~Private~" + } + }, + "205": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 205, + 15 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "16": { + "name": "confirmClose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 209, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": "Private: Prompts to save all unsaved items " + } + }, + "213": { + "15": { + "name": "updateTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 15 + ], + [ + 223, + 1 + ] + ], + "doc": "Private: Updates the application's title, based on whichever file is open. " + } + }, + "223": { + "12": { + "name": "setTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "title" + ], + "range": [ + [ + 223, + 12 + ], + [ + 233, + 1 + ] + ], + "doc": "Private: Sets the application's title. " + } + }, + "233": { + "18": { + "name": "getEditorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 233, + 18 + ], + [ + 238, + 1 + ] + ], + "doc": " Private: Get all editor views.\n\nYou should prefer {Workspace::getEditors} unless you absolutely need access\nto the view objects. Also consider using {::eachEditorView}, which will call\na callback for all current and *future* editor views.\n\nReturns an {Array} of {EditorView}s. " + } + }, + "238": { + "16": { + "name": "prependToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 238, + 16 + ], + [ + 242, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the top of the\nworkspace. " + } + }, + "242": { + "15": { + "name": "appendToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 242, + 15 + ], + [ + 247, + 1 + ] + ], + "doc": "Public: Append an element or view to the panels at the top of the workspace. " + } + }, + "247": { + "19": { + "name": "prependToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 247, + 19 + ], + [ + 252, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the bottom of the\nworkspace. " + } + }, + "252": { + "18": { + "name": "appendToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 252, + 18 + ], + [ + 257, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the bottom of the\nworkspace. " + } + }, + "257": { + "17": { + "name": "prependToLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 257, + 17 + ], + [ + 262, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the left of the\nworkspace. " + } + }, + "262": { + "16": { + "name": "appendToLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 262, + 16 + ], + [ + 267, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the left of the\nworkspace. " + } + }, + "267": { + "18": { + "name": "prependToRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 267, + 18 + ], + [ + 272, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the right of the\nworkspace. " + } + }, + "272": { + "17": { + "name": "appendToRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 272, + 17 + ], + [ + 281, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the right of the\nworkspace. " + } + }, + "281": { + "21": { + "name": "getActivePaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 281, + 21 + ], + [ + 287, + 1 + ] + ], + "doc": " Public: Get the active pane view.\n\nPrefer {Workspace::getActivePane} if you don't actually need access to the\nview.\n\nReturns a {PaneView}. " + } + }, + "287": { + "17": { + "name": "getActiveView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 287, + 17 + ], + [ + 291, + 1 + ] + ], + "doc": " Public: Get the view associated with the active pane item.\n\nReturns a view. " + } + }, + "291": { + "25": { + "name": "focusPreviousPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 291, + 25 + ], + [ + 291, + 56 + ] + ], + "doc": "Private: Focus the previous pane by id. " + } + }, + "294": { + "21": { + "name": "focusNextPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 294, + 21 + ], + [ + 294, + 48 + ] + ], + "doc": "Private: Focus the next pane by id. " + } + }, + "297": { + "22": { + "name": "focusPaneViewAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 22 + ], + [ + 297, + 51 + ] + ], + "doc": "Public: Focus the pane directly above the active pane. " + } + }, + "300": { + "22": { + "name": "focusPaneViewBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 300, + 22 + ], + [ + 300, + 51 + ] + ], + "doc": "Public: Focus the pane directly below the active pane. " + } + }, + "303": { + "23": { + "name": "focusPaneViewOnLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 303, + 23 + ], + [ + 303, + 53 + ] + ], + "doc": "Public: Focus the pane directly to the left of the active pane. " + } + }, + "306": { + "24": { + "name": "focusPaneViewOnRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 306, + 24 + ], + [ + 306, + 55 + ] + ], + "doc": "Public: Focus the pane directly to the right of the active pane. " + } + }, + "315": { + "16": { + "name": "eachPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 315, + 16 + ], + [ + 325, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\npane view in the workspace.\n\ncallback - A {Function} with a {PaneView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "325": { + "16": { + "name": "getPaneViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 325, + 16 + ], + [ + 336, + 1 + ] + ], + "doc": " Public: Get all existing pane views.\n\nPrefer {Workspace::getPanes} if you don't need access to the view objects.\nAlso consider using {::eachPaneView} if you want to register a callback for\nall current and *future* pane views.\n\nReturns an Array of all open {PaneView}s. " + } + }, + "336": { + "18": { + "name": "eachEditorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 336, + 18 + ], + [ + 344, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\neditor view in the workspace (only includes {EditorView}s that are pane\nitems).\n\ncallback - A {Function} with an {EditorView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "344": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 344, + 16 + ], + [ + 347, + 1 + ] + ], + "doc": "Private: Called by SpacePen " + } + }, + "347": { + "21": { + "name": "setEditorFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 347, + 21 + ], + [ + 350, + 1 + ] + ], + "doc": "~Private~" + } + }, + "350": { + "23": { + "name": "setEditorFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 350, + 23 + ], + [ + 353, + 1 + ] + ], + "doc": "~Private~" + } + }, + "353": { + "23": { + "name": "setEditorLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 353, + 23 + ], + [ + 356, + 1 + ] + ], + "doc": "~Private~" + } + }, + "356": { + "18": { + "name": "setEditorStyle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "property", + "value" + ], + "range": [ + [ + 356, + 18 + ], + [ + 368, + 1 + ] + ], + "doc": "~Private~" + } + }, + "368": { + "12": { + "name": "eachPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 368, + 12 + ], + [ + 373, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "373": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 373, + 12 + ], + [ + 378, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "378": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 378, + 17 + ], + [ + 383, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "383": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 383, + 21 + ], + [ + 385, + 25 + ] + ], + "doc": "Deprecated: Call {Workspace::getActivePaneItem} instead. " + } + } + }, + "exports": 55 + }, + "src/workspace.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 4 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true, + "name": "join", + "exportsProperty": "join" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "4": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 4, + 4 + ], + [ + 4, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "5": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 5, + 15 + ], + [ + 5, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "6": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 6, + 12 + ], + [ + 6, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato" + } + }, + "7": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "8": { + "16": { + "name": "PaneContainer", + "type": "import", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 41 + ] + ], + "bindingType": "variable", + "path": "./pane-container" + } + }, + "9": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 9, + 7 + ], + [ + 9, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "18": { + "0": { + "type": "class", + "name": "Workspace", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 47, + 21 + ], + [ + 55, + 19 + ], + [ + 60, + 37 + ], + [ + 74, + 15 + ], + [ + 84, + 14 + ], + [ + 91, + 14 + ], + [ + 118, + 8 + ], + [ + 135, + 15 + ], + [ + 150, + 12 + ], + [ + 168, + 17 + ], + [ + 193, + 14 + ], + [ + 200, + 18 + ], + [ + 217, + 18 + ], + [ + 221, + 20 + ], + [ + 224, + 14 + ], + [ + 230, + 17 + ], + [ + 236, + 12 + ], + [ + 240, + 11 + ], + [ + 244, + 20 + ], + [ + 248, + 24 + ], + [ + 254, + 14 + ], + [ + 260, + 21 + ], + [ + 269, + 22 + ], + [ + 277, + 24 + ], + [ + 284, + 25 + ], + [ + 288, + 21 + ], + [ + 295, + 19 + ], + [ + 299, + 20 + ], + [ + 303, + 20 + ], + [ + 308, + 17 + ], + [ + 312, + 14 + ], + [ + 317, + 23 + ], + [ + 322, + 13 + ] + ], + "doc": " Public: Represents the state of the user interface for the entire window.\nAn instance of this class is available via the `atom.workspace` global.\n\nInteract with this object to open files, be notified of current and future\neditors, and manipulate panes. To add panels, you'll need to use the\n{WorkspaceView} class for now until we establish APIs at the model layer. ", + "range": [ + [ + 18, + 0 + ], + [ + 323, + 28 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 15 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 47, + 21 + ], + [ + 55, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during deserialization " + } + }, + "55": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 19 + ], + [ + 60, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during serialization. " + } + }, + "60": { + "37": { + "name": "getPackageNamesWithActiveGrammars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 60, + 37 + ], + [ + 74, + 1 + ] + ], + "doc": "~Private~" + } + }, + "74": { + "15": { + "name": "editorAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 74, + 15 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "14": { + "name": "eachEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 84, + 14 + ], + [ + 91, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\n{Editor} in the workspace.\n\ncallback - A {Function} with an {Editor} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "91": { + "14": { + "name": "getEditors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 14 + ], + [ + 118, + 1 + ] + ], + "doc": " Public: Get all current editors in the workspace.\n\nReturns an {Array} of {Editor}s. " + } + }, + "118": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "options" + ], + "range": [ + [ + 118, + 8 + ], + [ + 135, + 1 + ] + ], + "doc": " Public: Open a given a URI in Atom asynchronously.\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :split - Either 'left' or 'right'. If 'left', the item will be opened in\n leftmost pane of the current active pane's row. If 'right', the\n item will be opened in the rightmost pane of the current active\n pane's row.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`.\n :searchAllPanes - A {Boolean}. If `true`, the workspace will attempt to\n activate an existing item for the given URI on any pane.\n If `false`, only the active pane will be searched for\n an existing item for the same URI. Defaults to `false`.\n\nReturns a promise that resolves to the {Editor} for the file URI. " + } + }, + "135": { + "15": { + "name": "openLicense", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 135, + 15 + ], + [ + 150, + 1 + ] + ], + "doc": "Public: Open Atom's license in the active pane. " + } + }, + "150": { + "12": { + "name": "openSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "options" + ], + "range": [ + [ + 150, + 12 + ], + [ + 168, + 1 + ] + ], + "doc": " Private: Synchronously open the given URI in the active pane. **Only use this method\nin specs. Calling this in production code will block the UI thread and\neveryone will be mad at you.**\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`. " + } + }, + "168": { + "17": { + "name": "openUriInPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "pane", + "options" + ], + "range": [ + [ + 168, + 17 + ], + [ + 193, + 1 + ] + ], + "doc": "~Private~" + } + }, + "193": { + "14": { + "name": "reopenItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 193, + 14 + ], + [ + 200, + 1 + ] + ], + "doc": " Public: Asynchronously reopens the last-closed item's URI if it hasn't already been\nreopened.\n\nReturns a promise that is resolved when the item is opened " + } + }, + "200": { + "18": { + "name": "reopenItemSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 200, + 18 + ], + [ + 217, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "217": { + "18": { + "name": "registerOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 217, + 18 + ], + [ + 221, + 1 + ] + ], + "doc": " Public: Register an opener for a uri.\n\nAn {Editor} will be used if no openers return a value.\n\n## Example\n```coffeescript\n atom.project.registerOpener (uri) ->\n if path.extname(uri) is '.toml'\n return new TomlEditor(uri)\n```\n\nopener - A {Function} to be called when a path is being opened. " + } + }, + "221": { + "20": { + "name": "unregisterOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 221, + 20 + ], + [ + 224, + 1 + ] + ], + "doc": "Public: Unregister an opener registered with {::registerOpener}. " + } + }, + "224": { + "14": { + "name": "getOpeners", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 14 + ], + [ + 230, + 1 + ] + ], + "doc": "~Private~" + } + }, + "230": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 230, + 17 + ], + [ + 236, + 1 + ] + ], + "doc": " Public: Get the active {Pane}.\n\nReturns a {Pane}. " + } + }, + "236": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 236, + 12 + ], + [ + 240, + 1 + ] + ], + "doc": " Public: Get all {Pane}s.\n\nReturns an {Array} of {Pane}s. " + } + }, + "240": { + "11": { + "name": "saveAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 240, + 11 + ], + [ + 244, + 1 + ] + ], + "doc": "Public: Save all pane items. " + } + }, + "244": { + "20": { + "name": "activateNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 244, + 20 + ], + [ + 248, + 1 + ] + ], + "doc": "Public: Make the next pane active. " + } + }, + "248": { + "24": { + "name": "activatePreviousPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 248, + 24 + ], + [ + 254, + 1 + ] + ], + "doc": "Public: Make the previous pane active. " + } + }, + "254": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 254, + 14 + ], + [ + 260, + 1 + ] + ], + "doc": " Public: Get the first pane {Pane} with an item for the given URI.\n\nReturns a {Pane} or `undefined` if no pane exists for the given URI. " + } + }, + "260": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 21 + ], + [ + 269, + 1 + ] + ], + "doc": " Public: Get the active {Pane}'s active item.\n\nReturns an pane item {Object}. " + } + }, + "269": { + "22": { + "name": "saveActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 22 + ], + [ + 277, + 1 + ] + ], + "doc": " Public: Save the active pane item.\n\nIf the active pane item currently has a URI according to the item's\n`.getUri` method, calls `.save` on the item. Otherwise\n{::saveActivePaneItemAs} # will be called instead. This method does nothing\nif the active item does not implement a `.save` method. " + } + }, + "277": { + "24": { + "name": "saveActivePaneItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 277, + 24 + ], + [ + 284, + 1 + ] + ], + "doc": " Public: Prompt the user for a path and save the active pane item to it.\n\nOpens a native dialog where the user selects a path on disk, then calls\n`.saveAs` on the item with the selected path. This method does nothing if\nthe active item does not implement a `.saveAs` method. " + } + }, + "284": { + "25": { + "name": "destroyActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 25 + ], + [ + 288, + 1 + ] + ], + "doc": " Public: Destroy (close) the active pane item.\n\nRemoves the active pane item and calls the `.destroy` method on it if one is\ndefined. " + } + }, + "288": { + "21": { + "name": "destroyActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 288, + 21 + ], + [ + 295, + 1 + ] + ], + "doc": "Public: Destroy (close) the active pane. " + } + }, + "295": { + "19": { + "name": "getActiveEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 295, + 19 + ], + [ + 299, + 1 + ] + ], + "doc": " Public: Get the active item if it is an {Editor}.\n\nReturns an {Editor} or `undefined` if the current active item is not an\n{Editor}. " + } + }, + "299": { + "20": { + "name": "increaseFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 299, + 20 + ], + [ + 303, + 1 + ] + ], + "doc": "Public: Increase the editor font size by 1px. " + } + }, + "303": { + "20": { + "name": "decreaseFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 303, + 20 + ], + [ + 308, + 1 + ] + ], + "doc": "Public: Decrease the editor font size by 1px. " + } + }, + "308": { + "17": { + "name": "resetFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 308, + 17 + ], + [ + 312, + 1 + ] + ], + "doc": "Public: Restore to a default editor font size. " + } + }, + "312": { + "14": { + "name": "itemOpened", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 312, + 14 + ], + [ + 317, + 1 + ] + ], + "doc": "Private: Removes the item's uri from the list of potential items to reopen. " + } + }, + "317": { + "23": { + "name": "onPaneItemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 317, + 23 + ], + [ + 322, + 1 + ] + ], + "doc": "Private: Adds the destroyed item's uri to the list of items to reopen. " + } + }, + "322": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 322, + 13 + ], + [ + 323, + 28 + ] + ], + "doc": "Private: Called by Model superclass when destroyed " + } + } + }, + "exports": 18 + }, + "src/key-binding.coffee": { + "objects": { + "0": { + "7": { + "name": "Grim", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "calculateSpecificity", + "exportsProperty": "calculateSpecificity" + } + }, + "4": { + "0": { + "type": "class", + "name": "KeyBinding", + "bindingType": "exports", + "classProperties": [ + [ + 5, + 17 + ] + ], + "prototypeProperties": [ + [ + 7, + 11 + ], + [ + 9, + 15 + ], + [ + 23, + 11 + ], + [ + 30, + 11 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 34, + 43 + ] + ] + } + }, + "5": { + "17": { + "name": "currentIndex", + "type": "primitive", + "range": [ + [ + 5, + 17 + ], + [ + 5, + 17 + ] + ], + "bindingType": "classProperty" + } + }, + "7": { + "11": { + "name": "enabled", + "type": "primitive", + "range": [ + [ + 7, + 11 + ], + [ + 7, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null, + null, + "selector" + ], + "range": [ + [ + 9, + 15 + ], + [ + 23, + 1 + ] + ], + "doc": "~Private~" + } + }, + "23": { + "11": { + "name": "matches", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystroke" + ], + "range": [ + [ + 23, + 11 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyBinding" + ], + "range": [ + [ + 30, + 11 + ], + [ + 34, + 43 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/keymap-manager.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.0.0" + } + }, + "1": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1.0.2" + } + }, + "2": { + "7": { + "name": "Grim", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0" + } + }, + "3": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 3, + 5 + ], + [ + 3, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.0.4" + } + }, + "4": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 4 + ] + ], + "bindingType": "variable", + "module": "pathwatcher@^2.0.4", + "name": "File", + "exportsProperty": "File" + } + }, + "7": { + "13": { + "name": "KeyBinding", + "type": "import", + "range": [ + [ + 7, + 13 + ], + [ + 7, + 35 + ] + ], + "bindingType": "variable", + "path": "./key-binding" + } + }, + "8": { + "15": { + "name": "CommandEvent", + "type": "import", + "range": [ + [ + 8, + 15 + ], + [ + 8, + 39 + ] + ], + "bindingType": "variable", + "path": "./command-event" + } + }, + "9": { + "1": { + "type": "import", + "range": [ + [ + 9, + 1 + ], + [ + 9, + 19 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "normalizeKeystrokes", + "exportsProperty": "normalizeKeystrokes" + }, + "22": { + "type": "import", + "range": [ + [ + 9, + 22 + ], + [ + 9, + 46 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "keystrokeForKeyboardEvent", + "exportsProperty": "keystrokeForKeyboardEvent" + }, + "49": { + "type": "import", + "range": [ + [ + 9, + 49 + ], + [ + 9, + 62 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "isAtomModifier", + "exportsProperty": "isAtomModifier" + }, + "65": { + "type": "import", + "range": [ + [ + 9, + 65 + ], + [ + 9, + 76 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "keydownEvent", + "exportsProperty": "keydownEvent" + } + }, + "11": { + "12": { + "type": "primitive", + "range": [ + [ + 11, + 12 + ], + [ + 11, + 59 + ] + ] + } + }, + "12": { + "17": { + "name": "OtherPlatforms", + "type": "function", + "range": [ + [ + 12, + 17 + ], + [ + 12, + 77 + ] + ] + } + }, + "84": { + "0": { + "type": "class", + "name": "KeymapManager", + "bindingType": "exports", + "classProperties": [ + [ + 99, + 17 + ] + ], + "prototypeProperties": [ + [ + 103, + 23 + ], + [ + 105, + 17 + ], + [ + 106, + 25 + ], + [ + 107, + 29 + ], + [ + 117, + 15 + ], + [ + 125, + 11 + ], + [ + 132, + 18 + ], + [ + 141, + 7 + ], + [ + 164, + 14 + ], + [ + 179, + 15 + ], + [ + 190, + 10 + ], + [ + 212, + 23 + ], + [ + 289, + 19 + ], + [ + 314, + 16 + ], + [ + 324, + 14 + ], + [ + 338, + 27 + ], + [ + 345, + 21 + ], + [ + 349, + 23 + ], + [ + 365, + 22 + ], + [ + 385, + 20 + ], + [ + 390, + 25 + ], + [ + 394, + 21 + ], + [ + 400, + 22 + ], + [ + 410, + 25 + ], + [ + 427, + 24 + ], + [ + 446, + 36 + ], + [ + 460, + 29 + ], + [ + 464, + 13 + ], + [ + 469, + 16 + ], + [ + 475, + 18 + ], + [ + 484, + 27 + ], + [ + 490, + 12 + ], + [ + 497, + 25 + ], + [ + 502, + 27 + ], + [ + 507, + 30 + ], + [ + 513, + 40 + ], + [ + 519, + 42 + ] + ], + "doc": " Public: Allows commands to be associated with keystrokes in a\ncontext-sensitive way. In Atom, you can access a global instance of this\nobject via `atom.keymap`.\n\nKey bindings are plain JavaScript objects containing **CSS selectors** as\ntheir top level keys, then **keystroke patterns** mapped to commands.\n\n```cson\n'.workspace':\n 'ctrl-l': 'package:do-something'\n 'ctrl-z': 'package:do-something-else'\n'.mini.editor':\n 'enter': 'core:confirm'\n```\n\nWhen a keystroke sequence matches a binding in a given context, a custom DOM\nevent with a type based on the command is dispatched on the target of the\nkeyboard event.\n\nTo match a keystroke sequence, the keymap starts at the target element for the\nkeyboard event. It looks for key bindings associated with selectors that match\nthe target element. If multiple match, the most specific is selected. If there\nis a tie in specificity, the most recently added binding wins. If no bindings\nare found for the events target, the search is repeated again for the target's\nparent node and so on recursively until a binding is found or we traverse off\nthe top of the document.\n\nWhen a binding is found, its command event is always dispatched on the\noriginal target of the keyboard event, even if the matching element is higher\nup in the DOM. In addition, `.preventDefault()` is called on the keyboard\nevent to prevent the browser from taking action. `.preventDefault` is only\ncalled if a matching binding is found.\n\nCommand event objects have a non-standard method called `.abortKeyBinding()`.\nIf your command handler is invoked but you programmatically determine that no\naction can be taken and you want to allow other bindings to be matched, call\n`.abortKeyBinding()` on the event object. An example of where this is useful\nis binding snippet expansion to `tab`. If `snippets:expand` is invoked when\nthe cursor does not follow a valid snippet prefix, we abort the binding and\nallow `tab` to be handled by the default handler, which inserts whitespace.\n\nMulti-keystroke bindings are possible. If a sequence of one or more keystrokes\n*partially* matches a multi-keystroke binding, the keymap enters a pending\nstate. The pending state is terminated on the next keystroke, or after\n{::partialMatchTimeout} milliseconds has elapsed. When the pending state is\nterminated via a timeout or a keystroke that leads to no matches, the longest\nambiguous bindings that caused the pending state are temporarily disabled and\nthe previous keystrokes are replayed. If there is ambiguity again during the\nreplay, the next longest bindings are disabled and the keystrokes are replayed\nagain.\n\n## Events\n\n* `matched` -\n Emitted when keystrokes match a binding.\n * keystrokes - The keystroke {String} that matched the binding\n * binding - The {KeyBinding} that was used\n * keyboardEventTarget - The target element of the keyboard event\n\n* `matched-partially` -\n Emitted when keystrokes partially match one or more bindings.\n * keystrokes - The keystroke {String} that partially match some bindings\n * partiallyMatchedBindings - The {KeyBinding}s that partially matched\n * keyboardEventTarget - The target element of the keyboard event\n\n* `match-failed` -\n Emitted when keystrokes don't match any bindings.\n * keystrokes - The keystroke {String} that matched no bindings\n * keyboardEventTarget - The target element of the keyboard event ", + "range": [ + [ + 84, + 0 + ], + [ + 521, + 62 + ] + ] + } + }, + "99": { + "17": { + "name": "keydownEvent", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "key", + "options" + ], + "range": [ + [ + 99, + 17 + ], + [ + 99, + 60 + ] + ], + "doc": " Public: Create a keydown DOM event for testing purposes.\n\nkey - The key or keyIdentifier of the event. For example, 'a', '1',\n 'escape', 'backspace', etc.\noptions - An {Object} containing any of the following:\n :ctrl - A {Boolean} indicating the ctrl modifier key\n :alt - A {Boolean} indicating the alt modifier key\n :shift - A {Boolean} indicating the shift modifier key\n :cmd - A {Boolean} indicating the cmd modifier key\n :which - A {Number} indicating `which` value of the event. See\n the docs for KeyboardEvent for more information.\n :target - The target element of the event. " + } + }, + "103": { + "23": { + "name": "partialMatchTimeout", + "type": "primitive", + "range": [ + [ + 103, + 23 + ], + [ + 103, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "105": { + "17": { + "name": "defaultTarget", + "type": "primitive", + "range": [ + [ + 105, + 17 + ], + [ + 105, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "106": { + "25": { + "name": "pendingPartialMatches", + "type": "primitive", + "range": [ + [ + 106, + 25 + ], + [ + 106, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "107": { + "29": { + "name": "pendingStateTimeoutHandle", + "type": "primitive", + "range": [ + [ + 107, + 29 + ], + [ + 107, + 32 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "117": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 117, + 15 + ], + [ + 125, + 1 + ] + ], + "doc": " Public:\n\noptions - An {Object} containing properties to assign to the keymap: You can\n pass custom properties to be used by extension methods. The following\n properties are also supported:\n :defaultTarget - This will be used as the target of events whose target\n is `document.body` to allow for a catch-all element when nothing is\n focused " + } + }, + "125": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 125, + 11 + ], + [ + 132, + 1 + ] + ], + "doc": "Public: Unwatch all watched paths. " + } + }, + "132": { + "18": { + "name": "getKeyBindings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 132, + 18 + ], + [ + 141, + 1 + ] + ], + "doc": " Public: Get all current key bindings.\n\nReturns an {Array} of {KeyBinding}s. " + } + }, + "141": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source", + "keyBindingsBySelector" + ], + "range": [ + [ + 141, + 7 + ], + [ + 164, + 1 + ] + ], + "doc": " Public: Add sets of key bindings grouped by CSS selector.\n\nsource - A {String} (usually a path) uniquely identifying the given bindings\n so they can be removed later.\nbindings - An {Object} whose top-level keys point at sub-objects mapping\n keystroke patterns to commands. " + } + }, + "164": { + "14": { + "name": "loadKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bindingsPath", + "options" + ], + "range": [ + [ + 164, + 14 + ], + [ + 179, + 1 + ] + ], + "doc": " Public: Load the key bindings from the given path.\n\npath - A {String} containing a path to a file or a directory. If the path is\n a directory, all files inside it will be loaded.\noptions - An {Object} containing the following optional keys:\n :watch - If `true`, the keymap will also reload the file at the given path\n whenever it changes. This option cannot be used with directory paths. " + } + }, + "179": { + "15": { + "name": "watchKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 179, + 15 + ], + [ + 190, + 1 + ] + ], + "doc": " Public: Cause the keymap to reload the key bindings file at the given path\nwhenever it changes.\n\nThis method doesn't perform the initial load of the key bindings file. If\nthat's what you're looking for, call {::loadKeymap} with `watch: true`. " + } + }, + "190": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source" + ], + "range": [ + [ + 190, + 10 + ], + [ + 212, + 1 + ] + ], + "doc": " Public: Remove the key bindings added with {::addKeymap} or\n{::loadKeymap}.\n\nsource - A {String} representing the `source` in a previous call to\n {::addKeymap} or the path in {::loadKeymap}. " + } + }, + "212": { + "23": { + "name": "handleKeyboardEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event", + "replaying" + ], + "range": [ + [ + 212, + 23 + ], + [ + 289, + 1 + ] + ], + "doc": " Public: Dispatch a custom event associated with the matching key binding for\nthe given `KeyboardEvent` if one can be found.\n\nIf a matching binding is found on the event's target or one of its\nancestors, `.preventDefault()` is called on the keyboard event and the\nbinding's command is emitted as a custom event on the matching element.\n\nIf the matching binding's command is 'native!', the method will terminate\nwithout calling `.preventDefault()` on the keyboard event, allowing the\nbrowser to handle it as normal.\n\nIf the matching binding's command is 'unset!', the search will continue from\nthe current element's parent.\n\nIf the matching binding's command is 'abort!', the search will terminate\nwithout dispatching a command event.\n\nIf the event's target is `document.body`, it will be treated as if its\ntarget is `.defaultTarget` if that property is assigned on the keymap. " + } + }, + "289": { + "19": { + "name": "findKeyBindings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 289, + 19 + ], + [ + 314, + 1 + ] + ], + "doc": " Public: Get the key bindings for a given command and optional target.\n\nparams - An {Object} whose keys constrain the binding search:\n :keystrokes - A {String} representing one or more keystrokes, such as\n 'ctrl-x ctrl-s'\n :command - A {String} representing the name of a command, such as\n 'editor:backspace'\n :target - An optional DOM element constraining the search. If this\n parameter is supplied, the call will only return bindings that can be\n invoked by a KeyboardEvent originating from the target element. " + } + }, + "314": { + "16": { + "name": "reloadKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 314, + 16 + ], + [ + 324, + 1 + ] + ], + "doc": " Private: Called by the path watcher callback to reload a file at the given path. If\nwe can't read the file cleanly, we don't proceed with the reload. " + } + }, + "324": { + "14": { + "name": "readKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "suppressErrors" + ], + "range": [ + [ + 324, + 14 + ], + [ + 338, + 1 + ] + ], + "doc": "~Private~" + } + }, + "338": { + "27": { + "name": "filePathMatchesPlatform", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 338, + 27 + ], + [ + 345, + 1 + ] + ], + "doc": " Private: Determine if the given path should be loaded on this platform. If the\nfilename has the pattern '.cson' or 'foo..cson' and\n does not match the current platform, returns false. Otherwise\nreturns true. " + } + }, + "345": { + "21": { + "name": "getOtherPlatforms", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 345, + 21 + ], + [ + 345, + 37 + ] + ], + "doc": "Private: For testing purposes " + } + }, + "349": { + "23": { + "name": "findMatchCandidates", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystrokes" + ], + "range": [ + [ + 349, + 23 + ], + [ + 365, + 1 + ] + ], + "doc": " Private: Finds all key bindings whose keystrokes match the given keystrokes. Returns\nboth partial and exact matches. " + } + }, + "365": { + "22": { + "name": "findPartialMatches", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "partialMatchCandidates", + "target" + ], + "range": [ + [ + 365, + 22 + ], + [ + 385, + 1 + ] + ], + "doc": " Private: Determine which of the given bindings have selectors matching the target or\none of its ancestors. This is used by {::handleKeyboardEvent} to determine\nif there are any partial matches for the keyboard event. " + } + }, + "385": { + "20": { + "name": "findExactMatches", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "exactMatchCandidates", + "target" + ], + "range": [ + [ + 385, + 20 + ], + [ + 390, + 1 + ] + ], + "doc": " Private: Find the matching bindings among the given candidates for the given target,\nordered by specificity. Does not traverse up the target's ancestors. This is\nused by {::handleKeyboardEvent} to find a matching binding when there are no\npartially-matching bindings. " + } + }, + "390": { + "25": { + "name": "clearQueuedKeystrokes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 390, + 25 + ], + [ + 394, + 1 + ] + ], + "doc": "~Private~" + } + }, + "394": { + "21": { + "name": "enterPendingState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pendingPartialMatches", + "enableTimeout" + ], + "range": [ + [ + 394, + 21 + ], + [ + 400, + 1 + ] + ], + "doc": "~Private~" + } + }, + "400": { + "22": { + "name": "cancelPendingState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 400, + 22 + ], + [ + 410, + 1 + ] + ], + "doc": "~Private~" + } + }, + "410": { + "25": { + "name": "terminatePendingState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 410, + 25 + ], + [ + 427, + 1 + ] + ], + "doc": " Private: This is called by {::handleKeyboardEvent} when no matching bindings are\nfound for the currently queued keystrokes or by the pending state timeout.\nIt disables the longest of the pending partially matching bindings, then\nreplays the queued keyboard events to allow any bindings with shorter\nkeystroke sequences to be matched unambiguously. " + } + }, + "427": { + "24": { + "name": "dispatchCommandEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "target", + "keyboardEvent" + ], + "range": [ + [ + 427, + 24 + ], + [ + 446, + 1 + ] + ], + "doc": " Private: After we match a binding, we call this method to dispatch a custom event\nbased on the binding's command. " + } + }, + "446": { + "36": { + "name": "simulateBubblingOnDetachedTarget", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "target", + "commandEvent" + ], + "range": [ + [ + 446, + 36 + ], + [ + 460, + 1 + ] + ], + "doc": " Private: Chromium does not bubble events dispatched on detached targets, which makes\ntesting a pain in the ass. This method simulates bubbling manually. " + } + }, + "460": { + "29": { + "name": "keystrokeForKeyboardEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 460, + 29 + ], + [ + 464, + 1 + ] + ], + "doc": " Public: Translate a keydown event to a keystroke string.\n\nevent - A `KeyboardEvent` of type 'keydown'\n\nReturns a {String} describing the keystroke. " + } + }, + "464": { + "13": { + "name": "addKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source", + "bindings" + ], + "range": [ + [ + 464, + 13 + ], + [ + 469, + 1 + ] + ], + "doc": "Deprecated: Use {::addKeymap} instead. " + } + }, + "469": { + "16": { + "name": "removeKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source" + ], + "range": [ + [ + 469, + 16 + ], + [ + 475, + 1 + ] + ], + "doc": "Deprecated: Use {::removeKeymap} instead. " + } + }, + "475": { + "18": { + "name": "handleKeyEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 475, + 18 + ], + [ + 484, + 1 + ] + ], + "doc": " Deprecated: Handle a jQuery keyboard event. Use {::handleKeyboardEvent} with\na raw keyboard event instead. " + } + }, + "484": { + "27": { + "name": "keystrokeStringForEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 484, + 27 + ], + [ + 490, + 1 + ] + ], + "doc": " Deprecated: Translate a jQuery keyboard event to a keystroke string. Use\n{::keystrokeForKeyboardEvent} with a raw KeyboardEvent instead. " + } + }, + "490": { + "12": { + "name": "bindKeys", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source", + "selector", + "keyBindings" + ], + "range": [ + [ + 490, + 12 + ], + [ + 497, + 1 + ] + ], + "doc": " Deprecated: Use {::addKeymap} with a map from selectors to key\nbindings. " + } + }, + "497": { + "25": { + "name": "keyBindingsForCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command" + ], + "range": [ + [ + 497, + 25 + ], + [ + 502, + 1 + ] + ], + "doc": "Deprecated: Use {::findKeyBindings} with the 'command' param. " + } + }, + "502": { + "27": { + "name": "keyBindingsForKeystroke", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystroke" + ], + "range": [ + [ + 502, + 27 + ], + [ + 507, + 1 + ] + ], + "doc": "Deprecated: Use {::findKeyBindings} with the 'keystrokes' param. " + } + }, + "507": { + "30": { + "name": "keyBindingsMatchingElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "target", + "keyBindings" + ], + "range": [ + [ + 507, + 30 + ], + [ + 513, + 1 + ] + ], + "doc": "Deprecated: Use {::findKeyBindings} with the 'target' param. " + } + }, + "513": { + "40": { + "name": "keyBindingsForCommandMatchingElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "target" + ], + "range": [ + [ + 513, + 40 + ], + [ + 519, + 1 + ] + ], + "doc": " Deprecated: Use {::findKeyBindings} with the 'command' and 'target'\nparams " + } + }, + "519": { + "42": { + "name": "keyBindingsForKeystrokeMatchingElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystrokes", + "target" + ], + "range": [ + [ + 519, + 42 + ], + [ + 521, + 62 + ] + ], + "doc": " Deprecated: Use {::findKeyBindings} with the 'keystrokes' and 'target'\nparams " + } + } + }, + "exports": 84 + } + } + }, + { + "repository": "https://github.com/atom/first-mate", + "version": "2.0.2", + "files": { + "src/atom.coffee": { + "objects": { + "0": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 0, + 9 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "1": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "2": { + "5": { + "name": "os", + "type": "import", + "range": [ + [ + 2, + 5 + ], + [ + 2, + 16 + ] + ], + "bindingType": "variable", + "module": "os", + "builtin": true + } + }, + "3": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "4": { + "9": { + "name": "remote", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 24 + ] + ], + "bindingType": "variable", + "module": "remote" + } + }, + "5": { + "9": { + "name": "screen", + "type": "import", + "range": [ + [ + 5, + 9 + ], + [ + 5, + 24 + ] + ], + "bindingType": "variable", + "module": "screen" + } + }, + "6": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 6, + 8 + ], + [ + 6, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "8": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 8, + 4 + ], + [ + 8, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "9": { + "1": { + "type": "import", + "range": [ + [ + 9, + 1 + ], + [ + 9, + 10 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecated", + "exportsProperty": "deprecated" + } + }, + "10": { + "1": { + "type": "import", + "range": [ + [ + 10, + 1 + ], + [ + 10, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "11": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 11, + 5 + ], + [ + 11, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2" + } + }, + "13": { + "1": { + "type": "import", + "range": [ + [ + 13, + 1 + ], + [ + 13, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "14": { + "21": { + "name": "WindowEventHandler", + "type": "import", + "range": [ + [ + 14, + 21 + ], + [ + 14, + 52 + ] + ], + "bindingType": "variable", + "path": "./window-event-handler" + } + }, + "35": { + "0": { + "type": "class", + "name": "Atom", + "bindingType": "exports", + "classProperties": [ + [ + 36, + 12 + ], + [ + 44, + 17 + ], + [ + 48, + 16 + ], + [ + 53, + 14 + ], + [ + 71, + 17 + ], + [ + 89, + 21 + ], + [ + 95, + 22 + ], + [ + 99, + 20 + ], + [ + 109, + 21 + ] + ], + "prototypeProperties": [ + [ + 112, + 31 + ], + [ + 115, + 15 + ], + [ + 123, + 14 + ], + [ + 177, + 31 + ], + [ + 181, + 33 + ], + [ + 184, + 24 + ], + [ + 188, + 20 + ], + [ + 194, + 23 + ], + [ + 211, + 23 + ], + [ + 221, + 21 + ], + [ + 224, + 32 + ], + [ + 229, + 30 + ], + [ + 246, + 27 + ], + [ + 252, + 25 + ], + [ + 259, + 19 + ], + [ + 262, + 22 + ], + [ + 269, + 28 + ], + [ + 281, + 28 + ], + [ + 285, + 27 + ], + [ + 292, + 21 + ], + [ + 320, + 22 + ], + [ + 336, + 14 + ], + [ + 339, + 15 + ], + [ + 353, + 8 + ], + [ + 377, + 11 + ], + [ + 397, + 18 + ], + [ + 400, + 22 + ], + [ + 407, + 16 + ], + [ + 411, + 18 + ], + [ + 415, + 31 + ], + [ + 419, + 10 + ], + [ + 423, + 9 + ], + [ + 428, + 8 + ], + [ + 432, + 8 + ], + [ + 439, + 11 + ], + [ + 446, + 15 + ], + [ + 450, + 10 + ], + [ + 457, + 17 + ], + [ + 464, + 9 + ], + [ + 467, + 8 + ], + [ + 473, + 13 + ], + [ + 477, + 14 + ], + [ + 481, + 20 + ], + [ + 485, + 17 + ], + [ + 490, + 16 + ], + [ + 496, + 14 + ], + [ + 500, + 21 + ], + [ + 506, + 20 + ], + [ + 509, + 12 + ], + [ + 523, + 21 + ], + [ + 526, + 20 + ], + [ + 529, + 22 + ], + [ + 533, + 8 + ], + [ + 537, + 25 + ], + [ + 541, + 25 + ], + [ + 555, + 22 + ] + ], + "doc": " Public: Atom global for dealing with packages, themes, menus, and the window.\n\nAn instance of this class is always available as the `atom` global.\n\n## Useful properties available:\n\n * `atom.clipboard` - A {Clipboard} instance\n * `atom.config` - A {Config} instance\n * `atom.contextMenu` - A {ContextMenuManager} instance\n * `atom.deserializers` - A {DeserializerManager} instance\n * `atom.keymaps` - A {KeymapManager} instance\n * `atom.menu` - A {MenuManager} instance\n * `atom.packages` - A {PackageManager} instance\n * `atom.project` - A {Project} instance\n * `atom.syntax` - A {Syntax} instance\n * `atom.themes` - A {ThemeManager} instance\n * `atom.workspace` - A {Workspace} instance\n * `atom.workspaceView` - A {WorkspaceView} instance ", + "range": [ + [ + 35, + 0 + ], + [ + 567, + 27 + ] + ] + } + }, + "36": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 36, + 12 + ], + [ + 36, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "44": { + "17": { + "name": "loadOrCreate", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 44, + 17 + ], + [ + 48, + 1 + ] + ], + "doc": " Public: Load or create the Atom environment in the given mode.\n\nmode - Pass 'editor' or 'spec' depending on the kind of environment you\n want to build.\n\nReturns an Atom instance, fully initialized " + } + }, + "48": { + "16": { + "name": "deserialize", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 48, + 16 + ], + [ + 53, + 1 + ] + ], + "doc": "Private: Deserializes the Atom environment from a state object " + } + }, + "53": { + "14": { + "name": "loadState", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 53, + 14 + ], + [ + 71, + 1 + ] + ], + "doc": " Private: Loads and returns the serialized state corresponding to this window\nif it exists; otherwise returns undefined. " + } + }, + "71": { + "17": { + "name": "getStatePath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 71, + 17 + ], + [ + 89, + 1 + ] + ], + "doc": " Private: Returns the path where the state for the current window will be\nlocated if it exists. " + } + }, + "89": { + "21": { + "name": "getConfigDirPath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 95, + 1 + ] + ], + "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " + } + }, + "95": { + "22": { + "name": "getStorageDirPath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 95, + 22 + ], + [ + 99, + 1 + ] + ], + "doc": " Private: Get the path to Atom's storage directory.\n\nReturns the absolute path to ~/.atom/storage " + } + }, + "99": { + "20": { + "name": "getLoadSettings", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 99, + 20 + ], + [ + 109, + 1 + ] + ], + "doc": "Private: Returns the load settings hash associated with the current window. " + } + }, + "109": { + "21": { + "name": "getCurrentWindow", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 21 + ], + [ + 112, + 1 + ] + ], + "doc": "~Private~" + } + }, + "112": { + "31": { + "name": "workspaceViewParentSelector", + "type": "primitive", + "range": [ + [ + 112, + 31 + ], + [ + 112, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "115": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 115, + 15 + ], + [ + 123, + 1 + ] + ], + "doc": "Private: Call .loadOrCreate instead " + } + }, + "123": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 123, + 14 + ], + [ + 177, + 1 + ] + ], + "doc": " Public: Sets up the basic services that should be available in all modes\n(both spec and application). Call after this instance has been assigned to\nthe `atom` global. " + } + }, + "177": { + "31": { + "name": "registerRepresentationClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 31 + ], + [ + 181, + 1 + ] + ], + "doc": "Deprecated: Callers should be converted to use atom.deserializers " + } + }, + "181": { + "33": { + "name": "registerRepresentationClasses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 181, + 33 + ], + [ + 184, + 1 + ] + ], + "doc": "Deprecated: Callers should be converted to use atom.deserializers " + } + }, + "184": { + "24": { + "name": "setBodyPlatformClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 184, + 24 + ], + [ + 188, + 1 + ] + ], + "doc": "~Private~" + } + }, + "188": { + "20": { + "name": "getCurrentWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 20 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "23": { + "name": "getWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 194, + 23 + ], + [ + 211, + 1 + ] + ], + "doc": " Public: Get the dimensions of this window.\n\nReturns an object with x, y, width, and height keys. " + } + }, + "211": { + "23": { + "name": "setWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 211, + 23 + ], + [ + 221, + 1 + ] + ], + "doc": " Public: Set the dimensions of the window.\n\nThe window will be centered if either the x or y coordinate is not set\nin the dimensions parameter. If x or y are omitted the window will be\ncentered. If height or width are omitted only the position will be changed.\n\ndimensions - An {Object} with the following keys:\n :x - The new x coordinate.\n :y - The new y coordinate.\n :width - The new width.\n :height - The new height. " + } + }, + "221": { + "21": { + "name": "isValidDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 221, + 21 + ], + [ + 224, + 1 + ] + ], + "doc": " Private: Returns true if the dimensions are useable, false if they should be ignored.\nWork around for https://github.com/atom/atom-shell/issues/473 " + } + }, + "224": { + "32": { + "name": "storeDefaultWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 32 + ], + [ + 229, + 1 + ] + ], + "doc": "~Private~" + } + }, + "229": { + "30": { + "name": "getDefaultWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 229, + 30 + ], + [ + 246, + 1 + ] + ], + "doc": "~Private~" + } + }, + "246": { + "27": { + "name": "restoreWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 246, + 27 + ], + [ + 252, + 1 + ] + ], + "doc": "~Private~" + } + }, + "252": { + "25": { + "name": "storeWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 252, + 25 + ], + [ + 259, + 1 + ] + ], + "doc": "~Private~" + } + }, + "259": { + "19": { + "name": "getLoadSettings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 259, + 19 + ], + [ + 262, + 1 + ] + ], + "doc": "Private: Returns the load settings hash associated with the current window. " + } + }, + "262": { + "22": { + "name": "deserializeProject", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 262, + 22 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "28": { + "name": "deserializeWorkspaceView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 28 + ], + [ + 281, + 1 + ] + ], + "doc": "~Private~" + } + }, + "281": { + "28": { + "name": "deserializePackageStates", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 281, + 28 + ], + [ + 285, + 1 + ] + ], + "doc": "~Private~" + } + }, + "285": { + "27": { + "name": "deserializeEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 285, + 27 + ], + [ + 292, + 1 + ] + ], + "doc": "~Private~" + } + }, + "292": { + "21": { + "name": "startEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 21 + ], + [ + 320, + 1 + ] + ], + "doc": "Private: Call this method when establishing a real application window. " + } + }, + "320": { + "22": { + "name": "unloadEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 320, + 22 + ], + [ + 336, + 1 + ] + ], + "doc": "~Private~" + } + }, + "336": { + "14": { + "name": "loadThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 336, + 14 + ], + [ + 339, + 1 + ] + ], + "doc": "~Private~" + } + }, + "339": { + "15": { + "name": "watchThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 339, + 15 + ], + [ + 353, + 1 + ] + ], + "doc": "~Private~" + } + }, + "353": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 353, + 8 + ], + [ + 377, + 1 + ] + ], + "doc": " Public: Open a new Atom window using the given options.\n\nCalling this method without an options parameter will open a prompt to pick\na file/folder to open in the new window.\n\noptions - An {Object} with the following keys:\n :pathsToOpen - An {Array} of {String} paths to open. " + } + }, + "377": { + "11": { + "name": "confirm", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 377, + 11 + ], + [ + 397, + 1 + ] + ], + "doc": " Public: Open a confirm dialog.\n\n## Example\n\n```coffee\n atom.confirm\n message: 'How you feeling?'\n detailedMessage: 'Be honest.'\n buttons:\n Good: -> window.alert('good to hear')\n Bad: -> window.alert('bummer')\n```\n\noptions - An {Object} with the following keys:\n :message - The {String} message to display.\n :detailedMessage - The {String} detailed message to display.\n :buttons - Either an array of strings or an object where keys are\n button names and the values are callbacks to invoke when\n clicked.\n\nReturns the chosen button index {Number} if the buttons option was an array. " + } + }, + "397": { + "18": { + "name": "showSaveDialog", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 397, + 18 + ], + [ + 400, + 1 + ] + ], + "doc": "~Private~" + } + }, + "400": { + "22": { + "name": "showSaveDialogSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultPath" + ], + "range": [ + [ + 400, + 22 + ], + [ + 407, + 1 + ] + ], + "doc": "~Private~" + } + }, + "407": { + "16": { + "name": "openDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 407, + 16 + ], + [ + 411, + 1 + ] + ], + "doc": "Public: Open the dev tools for the current window. " + } + }, + "411": { + "18": { + "name": "toggleDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 411, + 18 + ], + [ + 415, + 1 + ] + ], + "doc": "Public: Toggle the visibility of the dev tools for the current window. " + } + }, + "415": { + "31": { + "name": "executeJavaScriptInDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "code" + ], + "range": [ + [ + 415, + 31 + ], + [ + 419, + 1 + ] + ], + "doc": "Public: Execute code in dev tools. " + } + }, + "419": { + "10": { + "name": "reload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 419, + 10 + ], + [ + 423, + 1 + ] + ], + "doc": "Public: Reload the current window. " + } + }, + "423": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 423, + 9 + ], + [ + 428, + 1 + ] + ], + "doc": "Public: Focus the current window. " + } + }, + "428": { + "8": { + "name": "show", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 8 + ], + [ + 432, + 1 + ] + ], + "doc": "Public: Show the current window. " + } + }, + "432": { + "8": { + "name": "hide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 432, + 8 + ], + [ + 439, + 1 + ] + ], + "doc": "Public: Hide the current window. " + } + }, + "439": { + "11": { + "name": "setSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width", + "height" + ], + "range": [ + [ + 439, + 11 + ], + [ + 446, + 1 + ] + ], + "doc": " Public: Set the size of current window.\n\nwidth - The {Number} of pixels.\nheight - The {Number} of pixels. " + } + }, + "446": { + "15": { + "name": "setPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "x", + "y" + ], + "range": [ + [ + 446, + 15 + ], + [ + 450, + 1 + ] + ], + "doc": " Public: Set the position of current window.\n\nx - The {Number} of pixels.\ny - The {Number} of pixels. " + } + }, + "450": { + "10": { + "name": "center", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 450, + 10 + ], + [ + 457, + 1 + ] + ], + "doc": "Public: Move current window to the center of the screen. " + } + }, + "457": { + "17": { + "name": "displayWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 457, + 17 + ], + [ + 464, + 1 + ] + ], + "doc": " Private: Schedule the window to be shown and focused on the next tick.\n\nThis is done in a next tick to prevent a white flicker from occurring\nif called synchronously. " + } + }, + "464": { + "9": { + "name": "close", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 464, + 9 + ], + [ + 467, + 1 + ] + ], + "doc": "Public: Close the current window. " + } + }, + "467": { + "8": { + "name": "exit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 467, + 8 + ], + [ + 473, + 1 + ] + ], + "doc": "~Private~" + } + }, + "473": { + "13": { + "name": "inDevMode", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 473, + 13 + ], + [ + 477, + 1 + ] + ], + "doc": "Public: Is the current window in development mode? " + } + }, + "477": { + "14": { + "name": "inSpecMode", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 477, + 14 + ], + [ + 481, + 1 + ] + ], + "doc": "Public: Is the current window running specs? " + } + }, + "481": { + "20": { + "name": "toggleFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 481, + 20 + ], + [ + 485, + 1 + ] + ], + "doc": "Public: Toggle the full screen state of the current window. " + } + }, + "485": { + "17": { + "name": "setFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fullScreen" + ], + "range": [ + [ + 485, + 17 + ], + [ + 490, + 1 + ] + ], + "doc": "Public: Set the full screen state of the current window. " + } + }, + "490": { + "16": { + "name": "isFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 490, + 16 + ], + [ + 496, + 1 + ] + ], + "doc": "Public: Is the current window in full screen mode? " + } + }, + "496": { + "14": { + "name": "getVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 496, + 14 + ], + [ + 500, + 1 + ] + ], + "doc": " Public: Get the version of the Atom application.\n\nReturns the version text {String}. " + } + }, + "500": { + "21": { + "name": "isReleasedVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 500, + 21 + ], + [ + 506, + 1 + ] + ], + "doc": "Public: Determine whether the current version is an official release. " + } + }, + "506": { + "20": { + "name": "getConfigDirPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 506, + 20 + ], + [ + 509, + 1 + ] + ], + "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " + } + }, + "509": { + "12": { + "name": "saveSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 509, + 12 + ], + [ + 523, + 1 + ] + ], + "doc": "~Private~" + } + }, + "523": { + "21": { + "name": "getWindowLoadTime", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 523, + 21 + ], + [ + 526, + 1 + ] + ], + "doc": " Public: Get the time taken to completely load the current window.\n\nThis time include things like loading and activating packages, creating\nDOM elements for the editor, and reading the config.\n\nReturns the number of milliseconds taken to load the window or null\nif the window hasn't finished loading yet. " + } + }, + "526": { + "20": { + "name": "crashMainProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 526, + 20 + ], + [ + 529, + 1 + ] + ], + "doc": "~Private~" + } + }, + "529": { + "22": { + "name": "crashRenderProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 529, + 22 + ], + [ + 533, + 1 + ] + ], + "doc": "~Private~" + } + }, + "533": { + "8": { + "name": "beep", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 533, + 8 + ], + [ + 537, + 1 + ] + ], + "doc": "Public: Visually and audibly trigger a beep. " + } + }, + "537": { + "25": { + "name": "getUserInitScriptPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 537, + 25 + ], + [ + 541, + 1 + ] + ], + "doc": "~Private~" + } + }, + "541": { + "25": { + "name": "requireUserInitScript", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 541, + 25 + ], + [ + 555, + 1 + ] + ] + } + }, + "555": { + "22": { + "name": "requireWithGlobals", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id", + "globals" + ], + "range": [ + [ + 555, + 22 + ], + [ + 567, + 27 + ] + ], + "doc": " Public: Require the module with the given globals.\n\nThe globals will be set on the `window` object and removed after the\nrequire completes.\n\nid - The {String} module name or path.\nglobals - An {Object} to set as globals during require (default: {}) " + } + } + }, + "exports": 35 + }, + "src/browser/application-menu.coffee": { + "objects": { + "0": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "1": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "2": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "10": { + "0": { + "type": "class", + "name": "ApplicationMenu", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 22, + 10 + ], + [ + 35, + 20 + ], + [ + 47, + 23 + ], + [ + 58, + 29 + ], + [ + 63, + 21 + ], + [ + 68, + 22 + ], + [ + 90, + 22 + ], + [ + 102, + 17 + ], + [ + 113, + 21 + ], + [ + 131, + 25 + ] + ], + "doc": " Private: Used to manage the global application menu.\n\nIt's created by {AtomApplication} upon instantiation and used to add, remove\nand maintain the state of all menu items. ", + "range": [ + [ + 10, + 0 + ], + [ + 145, + 18 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 22, + 1 + ] + ] + } + }, + "22": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 22, + 10 + ], + [ + 35, + 1 + ] + ], + "doc": " Public: Updates the entire menu with the given keybindings.\n\ntemplate - The Object which describes the menu to display.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke. " + } + }, + "35": { + "20": { + "name": "flattenMenuItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "menu" + ], + "range": [ + [ + 35, + 20 + ], + [ + 47, + 1 + ] + ], + "doc": " Private: Flattens the given menu and submenu items into an single Array.\n\nmenu - A complete menu configuration object for atom-shell's menu API.\n\nReturns an Array of native menu items. " + } + }, + "47": { + "23": { + "name": "flattenMenuTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 47, + 23 + ], + [ + 58, + 1 + ] + ], + "doc": " Private: Flattens the given menu template into an single Array.\n\ntemplate - An object describing the menu item.\n\nReturns an Array of native menu items. " + } + }, + "58": { + "29": { + "name": "enableWindowSpecificItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "enable" + ], + "range": [ + [ + 58, + 29 + ], + [ + 63, + 1 + ] + ], + "doc": " Public: Used to make all window related menu items are active.\n\nenable - If true enables all window specific items, if false disables all\n window specific items. " + } + }, + "63": { + "21": { + "name": "substituteVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 63, + 21 + ], + [ + 68, + 1 + ] + ], + "doc": "Private: Replaces VERSION with the current version. " + } + }, + "68": { + "22": { + "name": "showUpdateMenuItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 68, + 22 + ], + [ + 90, + 1 + ] + ], + "doc": "Private: Sets the proper visible state the update menu items " + } + }, + "90": { + "22": { + "name": "getDefaultTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 22 + ], + [ + 102, + 1 + ] + ], + "doc": " Private: Default list of menu items.\n\nReturns an Array of menu item Objects. " + } + }, + "102": { + "17": { + "name": "focusedWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 17 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "21": { + "name": "translateTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 113, + 21 + ], + [ + 131, + 1 + ] + ], + "doc": " Private: Combines a menu template with the appropriate keystroke.\n\ntemplate - An Object conforming to atom-shell's menu api but lacking\n accelerator and click properties.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a complete menu configuration object for atom-shell's menu API. " + } + }, + "131": { + "25": { + "name": "acceleratorForCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "keystrokesByCommand" + ], + "range": [ + [ + 131, + 25 + ], + [ + 145, + 18 + ] + ], + "doc": " Private: Determine the accelerator for a given command.\n\ncommand - The name of the command.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a String containing the keystroke in a format that can be interpreted\n by atom shell to provide nice icons where available. " + } + } + }, + "exports": 10 + }, + "src/browser/atom-application.coffee": { + "objects": { + "0": { + "13": { + "name": "AtomWindow", + "type": "import", + "range": [ + [ + 0, + 13 + ], + [ + 0, + 35 + ] + ], + "bindingType": "variable", + "path": "./atom-window" + } + }, + "1": { + "18": { + "name": "ApplicationMenu", + "type": "import", + "range": [ + [ + 1, + 18 + ], + [ + 1, + 45 + ] + ], + "bindingType": "variable", + "path": "./application-menu" + } + }, + "2": { + "22": { + "name": "AtomProtocolHandler", + "type": "import", + "range": [ + [ + 2, + 22 + ], + [ + 2, + 54 + ] + ], + "bindingType": "variable", + "path": "./atom-protocol-handler" + } + }, + "3": { + "20": { + "name": "AutoUpdateManager", + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 50 + ] + ], + "bindingType": "variable", + "path": "./auto-update-manager" + } + }, + "4": { + "16": { + "name": "BrowserWindow", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 39 + ] + ], + "bindingType": "variable", + "module": "browser-window" + } + }, + "5": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "6": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 6, + 6 + ], + [ + 6, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "7": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "8": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 8, + 5 + ], + [ + 8, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "9": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 9, + 6 + ], + [ + 9, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "10": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 10, + 7 + ], + [ + 10, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "11": { + "5": { + "name": "os", + "type": "import", + "range": [ + [ + 11, + 5 + ], + [ + 11, + 16 + ] + ], + "bindingType": "variable", + "module": "os", + "builtin": true + } + }, + "12": { + "6": { + "name": "net", + "type": "import", + "range": [ + [ + 12, + 6 + ], + [ + 12, + 18 + ] + ], + "bindingType": "variable", + "module": "net", + "builtin": true + } + }, + "13": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 13, + 8 + ], + [ + 13, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "14": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 14, + 6 + ], + [ + 14, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "15": { + "1": { + "type": "import", + "range": [ + [ + 15, + 1 + ], + [ + 15, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "16": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 16, + 4 + ], + [ + 16, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "30": { + "0": { + "type": "class", + "name": "AtomApplication", + "bindingType": "exports", + "classProperties": [ + [ + 34, + 9 + ] + ], + "prototypeProperties": [ + [ + 52, + 11 + ], + [ + 53, + 19 + ], + [ + 54, + 23 + ], + [ + 55, + 16 + ], + [ + 56, + 11 + ], + [ + 58, + 8 + ], + [ + 60, + 15 + ], + [ + 83, + 19 + ], + [ + 94, + 16 + ], + [ + 99, + 13 + ], + [ + 110, + 36 + ], + [ + 119, + 20 + ], + [ + 132, + 28 + ], + [ + 136, + 16 + ], + [ + 232, + 15 + ], + [ + 245, + 23 + ], + [ + 254, + 31 + ], + [ + 274, + 19 + ], + [ + 282, + 17 + ], + [ + 287, + 17 + ], + [ + 298, + 13 + ], + [ + 311, + 12 + ], + [ + 337, + 20 + ], + [ + 341, + 24 + ], + [ + 346, + 15 + ], + [ + 364, + 11 + ], + [ + 393, + 12 + ], + [ + 406, + 17 + ], + [ + 415, + 25 + ], + [ + 440, + 17 + ] + ], + "doc": " Private: The application's singleton class.\n\nIt's the entry point into the Atom application and maintains the global state\nof the application.\n\n ", + "range": [ + [ + 30, + 0 + ], + [ + 449, + 50 + ] + ] + } + }, + "34": { + "9": { + "name": "open", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 34, + 9 + ], + [ + 52, + 1 + ] + ], + "doc": "Public: The entry point into the Atom application. " + } + }, + "52": { + "11": { + "name": "windows", + "type": "primitive", + "range": [ + [ + 52, + 11 + ], + [ + 52, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "53": { + "19": { + "name": "applicationMenu", + "type": "primitive", + "range": [ + [ + 53, + 19 + ], + [ + 53, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "54": { + "23": { + "name": "atomProtocolHandler", + "type": "primitive", + "range": [ + [ + 54, + 23 + ], + [ + 54, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "55": { + "16": { + "name": "resourcePath", + "type": "primitive", + "range": [ + [ + 55, + 16 + ], + [ + 55, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "56": { + "11": { + "name": "version", + "type": "primitive", + "range": [ + [ + 56, + 11 + ], + [ + 56, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "58": { + "8": { + "name": "exit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 58, + 8 + ], + [ + 58, + 35 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 60, + 15 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "19": { + "name": "openWithOptions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 83, + 19 + ], + [ + 94, + 1 + ] + ], + "doc": "Private: Opens a new window based on the options provided. " + } + }, + "94": { + "16": { + "name": "removeWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "window" + ], + "range": [ + [ + 94, + 16 + ], + [ + 99, + 1 + ] + ], + "doc": "Public: Removes the {AtomWindow} from the global window list. " + } + }, + "99": { + "13": { + "name": "addWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "window" + ], + "range": [ + [ + 99, + 13 + ], + [ + 110, + 1 + ] + ], + "doc": "Public: Adds the {AtomWindow} to the global window list. " + } + }, + "110": { + "36": { + "name": "listenForArgumentsFromNewProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 36 + ], + [ + 119, + 1 + ] + ], + "doc": " Private: Creates server to listen for additional atom application launches.\n\nYou can run the atom command multiple times, but after the first launch\nthe other launches will just pass their information to this server and then\nclose immediately. " + } + }, + "119": { + "20": { + "name": "deleteSocketFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 119, + 20 + ], + [ + 132, + 1 + ] + ], + "doc": "~Private~" + } + }, + "132": { + "28": { + "name": "setupJavaScriptArguments", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 132, + 28 + ], + [ + 136, + 1 + ] + ], + "doc": "Private: Configures required javascript environment flags. " + } + }, + "136": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 16 + ], + [ + 232, + 1 + ] + ], + "doc": "Private: Registers basic application commands, non-idempotent. " + } + }, + "232": { + "15": { + "name": "sendCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 232, + 15 + ], + [ + 245, + 1 + ] + ], + "doc": " Public: Executes the given command.\n\nIf it isn't handled globally, delegate to the currently focused window.\n\ncommand - The string representing the command.\nargs - The optional arguments to pass along. " + } + }, + "245": { + "23": { + "name": "sendCommandToWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "atomWindow", + "args" + ], + "range": [ + [ + 245, + 23 + ], + [ + 254, + 1 + ] + ], + "doc": " Public: Executes the given command on the given window.\n\ncommand - The string representing the command.\natomWindow - The {AtomWindow} to send the command to.\nargs - The optional arguments to pass along. " + } + }, + "254": { + "31": { + "name": "sendCommandToFirstResponder", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command" + ], + "range": [ + [ + 254, + 31 + ], + [ + 274, + 1 + ] + ], + "doc": " Private: Translates the command into OS X action and sends it to application's first\nresponder. " + } + }, + "274": { + "19": { + "name": "openPathOnEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventName", + "pathToOpen" + ], + "range": [ + [ + 274, + 19 + ], + [ + 282, + 1 + ] + ], + "doc": " Public: Open the given path in the focused window when the event is\ntriggered.\n\nA new window will be created if there is no currently focused window.\n\neventName - The event to listen for.\npathToOpen - The path to open when the event is triggered. " + } + }, + "282": { + "17": { + "name": "windowForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen" + ], + "range": [ + [ + 282, + 17 + ], + [ + 287, + 1 + ] + ], + "doc": "Private: Returns the {AtomWindow} for the given path. " + } + }, + "287": { + "17": { + "name": "focusedWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 287, + 17 + ], + [ + 298, + 1 + ] + ], + "doc": "Public: Returns the currently focused {AtomWindow} or undefined if none. " + } + }, + "298": { + "13": { + "name": "openPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 298, + 13 + ], + [ + 311, + 1 + ] + ], + "doc": " Public: Opens multiple paths, in existing windows if possible.\n\noptions -\n :pathsToOpen - The array of file paths to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " + } + }, + "311": { + "12": { + "name": "openPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 311, + 12 + ], + [ + 337, + 1 + ] + ], + "doc": " Public: Opens a single path, in an existing window if possible.\n\noptions -\n :pathToOpen - The file path to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode.\n :windowDimensions - Object with height and width keys. " + } + }, + "337": { + "20": { + "name": "killAllProcesses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 337, + 20 + ], + [ + 341, + 1 + ] + ], + "doc": "Private: Kill all processes associated with opened windows. " + } + }, + "341": { + "24": { + "name": "killProcessForWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "openedWindow" + ], + "range": [ + [ + 341, + 24 + ], + [ + 346, + 1 + ] + ], + "doc": "Private: Kill process associated with the given opened window. " + } + }, + "346": { + "15": { + "name": "killProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pid" + ], + "range": [ + [ + 346, + 15 + ], + [ + 364, + 1 + ] + ], + "doc": "Private: Kill the process with the given pid. " + } + }, + "364": { + "11": { + "name": "openUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 364, + 11 + ], + [ + 393, + 1 + ] + ], + "doc": " Private: Open an atom:// url.\n\nThe host of the URL being opened is assumed to be the package name\nresponsible for opening the URL. A new window will be created with\nthat package's `urlMain` as the bootstrap script.\n\noptions -\n :urlToOpen - The atom:// url to open.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " + } + }, + "393": { + "12": { + "name": "runSpecs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 393, + 12 + ], + [ + 406, + 1 + ] + ], + "doc": " Private: Opens up a new {AtomWindow} to run specs within.\n\noptions -\n :exitWhenDone - A Boolean that if true, will close the window upon\n completion.\n :resourcePath - The path to include specs from.\n :specPath - The directory to load specs from. " + } + }, + "406": { + "17": { + "name": "runBenchmarks", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 406, + 17 + ], + [ + 415, + 1 + ] + ], + "doc": "~Private~" + } + }, + "415": { + "25": { + "name": "locationForPathToOpen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen" + ], + "range": [ + [ + 415, + 25 + ], + [ + 440, + 1 + ] + ], + "doc": "~Private~" + } + }, + "440": { + "17": { + "name": "promptForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 440, + 17 + ], + [ + 449, + 50 + ] + ], + "doc": " Private: Opens a native dialog to prompt the user for a path.\n\nOnce paths are selected, they're opened in a new or existing {AtomWindow}s.\n\noptions -\n :type - A String which specifies the type of the dialog, could be 'file',\n 'folder' or 'all'. The 'all' is only available on OS X.\n :devMode - A Boolean which controls whether any newly opened windows\n should be in dev mode or not.\n :safeMode - A Boolean which controls whether any newly opened windows\n should be in safe mode or not. " + } + } + }, + "exports": 30 + }, + "src/browser/atom-protocol-handler.coffee": { + "objects": { + "0": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2" + } + }, + "2": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "3": { + "11": { + "name": "protocol", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "protocol" + } + }, + "10": { + "0": { + "type": "class", + "name": "AtomProtocolHandler", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 21, + 24 + ] + ], + "doc": " Private: Handles requests with 'atom' protocol.\n\nIt's created by {AtomApplication} upon instantiation, and is used to create a\ncustom resource loader by adding the 'atom' custom protocol. ", + "range": [ + [ + 10, + 0 + ], + [ + 27, + 50 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 21, + 1 + ] + ] + } + }, + "21": { + "24": { + "name": "registerAtomProtocol", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 24 + ], + [ + 27, + 50 + ] + ], + "doc": "Private: Creates the 'atom' custom protocol handler. " + } + } + }, + "exports": 10 + }, + "src/browser/atom-window.coffee": { + "objects": { + "0": { + "16": { + "name": "BrowserWindow", + "type": "import", + "range": [ + [ + 0, + 16 + ], + [ + 0, + 39 + ] + ], + "bindingType": "variable", + "module": "browser-window" + } + }, + "1": { + "14": { + "name": "ContextMenu", + "type": "import", + "range": [ + [ + 1, + 14 + ], + [ + 1, + 37 + ] + ], + "bindingType": "variable", + "path": "./context-menu" + } + }, + "2": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "3": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 3, + 9 + ], + [ + 3, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "4": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "6": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 6, + 6 + ], + [ + 6, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "7": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "11": { + "0": { + "type": "class", + "name": "AtomWindow", + "bindingType": "exports", + "classProperties": [ + [ + 14, + 13 + ], + [ + 15, + 25 + ] + ], + "prototypeProperties": [ + [ + 17, + 17 + ], + [ + 18, + 10 + ], + [ + 19, + 10 + ], + [ + 21, + 15 + ], + [ + 56, + 10 + ], + [ + 68, + 18 + ], + [ + 71, + 16 + ], + [ + 86, + 16 + ], + [ + 126, + 12 + ], + [ + 133, + 15 + ], + [ + 147, + 30 + ], + [ + 151, + 17 + ], + [ + 156, + 9 + ], + [ + 158, + 9 + ], + [ + 160, + 12 + ], + [ + 162, + 12 + ], + [ + 164, + 11 + ], + [ + 166, + 23 + ], + [ + 169, + 13 + ], + [ + 171, + 20 + ], + [ + 173, + 16 + ], + [ + 175, + 10 + ], + [ + 177, + 18 + ] + ], + "doc": "~Private~", + "range": [ + [ + 11, + 0 + ], + [ + 177, + 52 + ] + ] + } + }, + "14": { + "13": { + "name": "iconPath", + "type": "function", + "range": [ + [ + 14, + 13 + ], + [ + 14, + 72 + ] + ], + "bindingType": "classProperty" + } + }, + "15": { + "25": { + "name": "includeShellLoadTime", + "type": "primitive", + "range": [ + [ + 15, + 25 + ], + [ + 15, + 28 + ] + ], + "bindingType": "classProperty" + } + }, + "17": { + "17": { + "name": "browserWindow", + "type": "primitive", + "range": [ + [ + 17, + 17 + ], + [ + 17, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "10": { + "name": "loaded", + "type": "primitive", + "range": [ + [ + 18, + 10 + ], + [ + 18, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "10": { + "name": "isSpec", + "type": "primitive", + "range": [ + [ + 19, + 10 + ], + [ + 19, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "settings" + ], + "range": [ + [ + 21, + 15 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "10": { + "name": "getUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "loadSettingsObj" + ], + "range": [ + [ + 56, + 10 + ], + [ + 68, + 1 + ] + ], + "doc": "~Private~" + } + }, + "68": { + "18": { + "name": "getInitialPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 18 + ], + [ + 71, + 1 + ] + ], + "doc": "~Private~" + } + }, + "71": { + "16": { + "name": "containsPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToCheck" + ], + "range": [ + [ + 71, + 16 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 16 + ], + [ + 126, + 1 + ] + ], + "doc": "~Private~" + } + }, + "126": { + "12": { + "name": "openPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen", + "initialLine", + "initialColumn" + ], + "range": [ + [ + 126, + 12 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "15": { + "name": "sendCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 133, + 15 + ], + [ + 147, + 1 + ] + ], + "doc": "~Private~" + } + }, + "147": { + "30": { + "name": "sendCommandToBrowserWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 147, + 30 + ], + [ + 151, + 1 + ] + ], + "doc": "~Private~" + } + }, + "151": { + "17": { + "name": "getDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 151, + 17 + ], + [ + 156, + 1 + ] + ], + "doc": "~Private~" + } + }, + "156": { + "9": { + "name": "close", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 156, + 9 + ], + [ + 156, + 33 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 9 + ], + [ + 158, + 33 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "12": { + "name": "minimize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 160, + 12 + ], + [ + 160, + 39 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "12": { + "name": "maximize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 12 + ], + [ + 162, + 39 + ] + ], + "doc": "~Private~" + } + }, + "164": { + "11": { + "name": "restore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 164, + 11 + ], + [ + 164, + 37 + ] + ], + "doc": "~Private~" + } + }, + "166": { + "23": { + "name": "handlesAtomCommands", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 166, + 23 + ], + [ + 169, + 1 + ] + ], + "doc": "~Private~" + } + }, + "169": { + "13": { + "name": "isFocused", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 169, + 13 + ], + [ + 169, + 41 + ] + ], + "doc": "~Private~" + } + }, + "171": { + "20": { + "name": "isWebViewFocused", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 20 + ], + [ + 171, + 55 + ] + ], + "doc": "~Private~" + } + }, + "173": { + "16": { + "name": "isSpecWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 173, + 16 + ], + [ + 173, + 25 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "10": { + "name": "reload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 175, + 10 + ], + [ + 175, + 36 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "18": { + "name": "toggleDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 18 + ], + [ + 177, + 51 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 11 + }, + "src/browser/auto-update-manager.coffee": { + "objects": { + "0": { + "8": { + "name": "https", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 22 + ] + ], + "bindingType": "variable", + "module": "https", + "builtin": true + } + }, + "1": { + "14": { + "name": "autoUpdater", + "type": "import", + "range": [ + [ + 1, + 14 + ], + [ + 1, + 35 + ] + ], + "bindingType": "variable", + "module": "auto-updater" + } + }, + "2": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "6": { + "11": { + "name": "'idle'", + "type": "primitive", + "range": [ + [ + 6, + 11 + ], + [ + 6, + 16 + ] + ] + } + }, + "7": { + "15": { + "name": "'checking'", + "type": "primitive", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 24 + ] + ] + } + }, + "8": { + "18": { + "name": "'downloading'", + "type": "primitive", + "range": [ + [ + 8, + 18 + ], + [ + 8, + 30 + ] + ] + } + }, + "9": { + "23": { + "name": "'update-available'", + "type": "primitive", + "range": [ + [ + 9, + 23 + ], + [ + 9, + 40 + ] + ] + } + }, + "10": { + "26": { + "name": "'no-update-available'", + "type": "primitive", + "range": [ + [ + 10, + 26 + ], + [ + 10, + 46 + ] + ] + } + }, + "11": { + "12": { + "name": "'error'", + "type": "primitive", + "range": [ + [ + 11, + 12 + ], + [ + 11, + 18 + ] + ] + } + }, + "14": { + "0": { + "type": "class", + "name": "AutoUpdateManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 15 + ], + [ + 48, + 23 + ], + [ + 63, + 28 + ], + [ + 68, + 12 + ], + [ + 73, + 12 + ], + [ + 76, + 9 + ], + [ + 83, + 11 + ], + [ + 86, + 24 + ], + [ + 90, + 17 + ], + [ + 94, + 14 + ] + ], + "doc": "~Private~", + "range": [ + [ + 14, + 0 + ], + [ + 95, + 34 + ] + ] + } + }, + "17": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 17, + 15 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "23": { + "name": "checkForUpdatesShim", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 23 + ], + [ + 63, + 1 + ] + ], + "doc": "Private: Windows doesn't have an auto-updater, so use this method to shim the events. " + } + }, + "63": { + "28": { + "name": "emitUpdateAvailableEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "windows" + ], + "range": [ + [ + 63, + 28 + ], + [ + 68, + 1 + ] + ], + "doc": "~Private~" + } + }, + "68": { + "12": { + "name": "setState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 68, + 12 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "12": { + "name": "getState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 12 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "9": { + "name": "check", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 76, + 9 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "11": { + "name": "install", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 83, + 11 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "24": { + "name": "onUpdateNotAvailable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 24 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "17": { + "name": "onUpdateError", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event", + "message" + ], + "range": [ + [ + 90, + 17 + ], + [ + 94, + 1 + ] + ], + "doc": "~Private~" + } + }, + "94": { + "14": { + "name": "getWindows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 14 + ], + [ + 95, + 34 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 14 + }, + "src/browser/context-menu.coffee": { + "objects": { + "0": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "3": { + "0": { + "type": "class", + "name": "ContextMenu", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 4, + 15 + ], + [ + 12, + 23 + ] + ], + "doc": "~Private~", + "range": [ + [ + 3, + 0 + ], + [ + 23, + 10 + ] + ] + } + }, + "4": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + null + ], + "range": [ + [ + 4, + 15 + ], + [ + 12, + 1 + ] + ] + } + }, + "12": { + "23": { + "name": "createClickHandlers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 12, + 23 + ], + [ + 23, + 10 + ] + ], + "doc": " Private: It's necessary to build the event handlers in this process, otherwise\nclosures are drug across processes and failed to be garbage collected\nappropriately. " + } + } + }, + "exports": 3 + }, + "src/browser/main.coffee": { + "objects": { + "0": { + "24": { + "name": "global.shellStartTime", + "type": "function", + "range": [ + [ + 0, + 24 + ], + [ + 0, + 33 + ] + ] + } + }, + "2": { + "16": { + "name": "crashReporter", + "type": "import", + "range": [ + [ + 2, + 16 + ], + [ + 2, + 39 + ] + ], + "bindingType": "variable", + "module": "crash-reporter" + } + }, + "3": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 3, + 6 + ], + [ + 3, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "6": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 6, + 7 + ], + [ + 6, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "7": { + "11": { + "name": "optimist", + "type": "import", + "range": [ + [ + 7, + 11 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "optimist" + } + }, + "8": { + "8": { + "name": "nslog", + "type": "import", + "range": [ + [ + 8, + 8 + ], + [ + 8, + 22 + ] + ], + "bindingType": "variable", + "module": "nslog" + } + }, + "9": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 9, + 9 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "11": { + "14": { + "name": "nslog", + "type": "primitive", + "range": [ + [ + 11, + 14 + ], + [ + 11, + 18 + ] + ] + } + }, + "17": { + "8": { + "name": "start", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 8 + ], + [ + 51, + 0 + ] + ], + "doc": "~Private~" + } + }, + "54": { + "25": { + "name": "global.devResourcePath", + "type": "function", + "range": [ + [ + 54, + 25 + ], + [ + 54, + 62 + ] + ] + } + }, + "56": { + "21": { + "name": "setupCrashReporter", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 21 + ], + [ + 58, + 0 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "19": { + "name": "parseCommandLine", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 19 + ], + [ + 110, + 0 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": {} + }, + "src/buffered-node-process.coffee": { + "objects": { + "0": { + "18": { + "name": "BufferedProcess", + "type": "import", + "range": [ + [ + 0, + 18 + ], + [ + 0, + 45 + ] + ], + "bindingType": "variable", + "path": "./buffered-process" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "14": { + "0": { + "type": "class", + "name": "BufferedNodeProcess", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 36, + 15 + ] + ], + "doc": " Public: Like {BufferedProcess}, but accepts a Node script as the command\nto run.\n\nThis is necessary on Windows since it doesn't support shebang `#!` lines.\n\n## Requiring in packages\n\n```coffee\n{BufferedNodeProcess} = require 'atom'\n``` ", + "range": [ + [ + 14, + 0 + ], + [ + 50, + 63 + ] + ] + } + }, + "36": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 36, + 15 + ], + [ + 50, + 63 + ] + ], + "doc": " Public: Runs the given Node script by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} path to the JavaScript script to execute.\n :args - The {Array} of arguments to pass to the script (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " + } + } + }, + "exports": 14 + }, + "src/buffered-process.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "1": { + "15": { + "name": "ChildProcess", + "type": "import", + "range": [ + [ + 1, + 15 + ], + [ + 1, + 37 + ] + ], + "bindingType": "variable", + "module": "child_process", + "builtin": true + } + }, + "18": { + "0": { + "type": "class", + "name": "BufferedProcess", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 40, + 15 + ], + [ + 99, + 16 + ], + [ + 117, + 8 + ] + ], + "doc": " Public: A wrapper which provides standard error/output line buffering for\nNode's ChildProcess.\n\n## Requiring in packages\n\n```coffee\n{BufferedProcess} = require 'atom'\n\ncommand = 'ps'\nargs = ['-ef']\nstdout = (output) -> console.log(output)\nexit = (code) -> console.log(\"ps -ef exited with #{code}\")\nprocess = new BufferedProcess({command, args, stdout, exit})\n``` ", + "range": [ + [ + 18, + 0 + ], + [ + 120, + 19 + ] + ] + } + }, + "40": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 40, + 15 + ], + [ + 99, + 1 + ] + ], + "doc": " Public: Runs the given command by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} command to execute.\n :args - The {Array} of arguments to pass to the command (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " + } + }, + "99": { + "16": { + "name": "bufferStream", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stream", + "onLines", + "onDone" + ], + "range": [ + [ + 99, + 16 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: Helper method to pass data line by line.\n\nstream - The Stream to read from.\nonLines - The callback to call with each line of data.\nonDone - The callback to call when the stream has closed. " + } + }, + "117": { + "8": { + "name": "kill", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 8 + ], + [ + 120, + 19 + ] + ], + "doc": "Public: Terminate the process. " + } + } + }, + "exports": 18 + }, + "src/clipboard.coffee": { + "objects": { + "0": { + "12": { + "name": "clipboard", + "type": "import", + "range": [ + [ + 0, + 12 + ], + [ + 0, + 30 + ] + ], + "bindingType": "variable", + "module": "clipboard" + } + }, + "1": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 1, + 9 + ], + [ + 1, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "7": { + "0": { + "type": "class", + "name": "Clipboard", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 8, + 12 + ], + [ + 9, + 24 + ], + [ + 16, + 7 + ], + [ + 26, + 9 + ], + [ + 34, + 8 + ], + [ + 43, + 20 + ] + ], + "doc": " Public: Represents the clipboard used for copying and pasting in Atom.\n\nAn instance of this class is always available as the `atom.clipboard` global. ", + "range": [ + [ + 7, + 0 + ], + [ + 48, + 12 + ] + ] + } + }, + "8": { + "12": { + "name": "metadata", + "type": "primitive", + "range": [ + [ + 8, + 12 + ], + [ + 8, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "24": { + "name": "signatureForMetadata", + "type": "primitive", + "range": [ + [ + 9, + 24 + ], + [ + 9, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "7": { + "name": "md5", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 16, + 7 + ], + [ + 26, + 1 + ] + ], + "doc": " Private: Creates an `md5` hash of some text.\n\ntext - A {String} to hash.\n\nReturns a hashed {String}. " + } + }, + "26": { + "9": { + "name": "write", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "metadata" + ], + "range": [ + [ + 26, + 9 + ], + [ + 34, + 1 + ] + ], + "doc": " Public: Write the given text to the clipboard.\n\nThe metadata associated with the text is available by calling\n{::readWithMetadata}.\n\ntext - The {String} to store.\nmetadata - The additional info to associate with the text. " + } + }, + "34": { + "8": { + "name": "read", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 8 + ], + [ + 43, + 1 + ] + ], + "doc": " Public: Read the text from the clipboard.\n\nReturns a {String}. " + } + }, + "43": { + "20": { + "name": "readWithMetadata", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 20 + ], + [ + 48, + 12 + ] + ], + "doc": " Public: Read the text from the clipboard and return both the text and the\nassociated metadata.\n\nReturns an {Object} with the following keys:\n :text - The {String} clipboard text.\n :metadata - The metadata stored by an earlier call to {::write}. " + } + } + }, + "exports": 7 + }, + "src/coffee-cache.coffee": { + "objects": { + "0": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 0, + 9 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "3": { + "15": { + "name": "CoffeeScript", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 37 + ] + ], + "bindingType": "variable", + "module": "coffee-script" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2" + } + }, + "8": { + "17": { + "name": "coffeeCacheDir", + "type": "function", + "range": [ + [ + 8, + 17 + ], + [ + 8, + 45 + ] + ] + } + }, + "11": { + "15": { + "name": "getCachePath", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "coffee" + ], + "range": [ + [ + 11, + 15 + ], + [ + 14, + 0 + ] + ], + "doc": "~Private~" + } + }, + "15": { + "22": { + "name": "getCachedJavaScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "cachePath" + ], + "range": [ + [ + 15, + 22 + ], + [ + 19, + 0 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "18": { + "name": "convertFilePath", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 20, + 18 + ], + [ + 24, + 0 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "22": { + "name": "compileCoffeeScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "coffee", + "filePath", + "cachePath" + ], + "range": [ + [ + 25, + 22 + ], + [ + 33, + 0 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "22": { + "name": "requireCoffeeScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "module", + "filePath" + ], + "range": [ + [ + 34, + 22 + ], + [ + 39, + 0 + ] + ] + } + }, + "41": { + "12": { + "name": "cacheDir", + "type": "primitive", + "range": [ + [ + 41, + 12 + ], + [ + 41, + 19 + ] + ] + } + }, + "42": { + "12": { + "name": "register", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 12 + ], + [ + 46, + 6 + ] + ], + "doc": null + } + } + }, + "exports": 41 + }, + "src/command-installer.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "2": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 22 + ] + ], + "bindingType": "variable", + "module": "async" + } + }, + "3": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 3, + 5 + ], + [ + 3, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2" + } + }, + "4": { + "9": { + "name": "mkdirp", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 24 + ] + ], + "bindingType": "variable", + "module": "mkdirp" + } + }, + "5": { + "8": { + "name": "runas", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "module": "runas" + } + }, + "7": { + "17": { + "name": "symlinkCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "sourcePath", + "destinationPath", + "callback" + ], + "range": [ + [ + 7, + 17 + ], + [ + 17, + 0 + ] + ], + "doc": "~Private~" + } + }, + "18": { + "34": { + "name": "symlinkCommandWithPrivilegeSync", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "sourcePath", + "destinationPath" + ], + "range": [ + [ + 18, + 34 + ], + [ + 27, + 0 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "23": { + "name": "getInstallDirectory", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 23 + ], + [ + 32, + 1 + ] + ], + "doc": null + } + }, + "32": { + "11": { + "name": "install", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "commandPath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 32, + 11 + ], + [ + 52, + 1 + ] + ], + "doc": null + } + }, + "52": { + "22": { + "name": "installAtomCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "resourcePath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 52, + 22 + ], + [ + 56, + 1 + ] + ], + "doc": null + } + }, + "56": { + "21": { + "name": "installApmCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "resourcePath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 56, + 21 + ], + [ + 58, + 51 + ] + ], + "doc": null + } + } + }, + "exports": 29 + }, + "src/config.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "3": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1" + } + }, + "4": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "5": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "module": "async" + } + }, + "6": { + "14": { + "name": "pathWatcher", + "type": "import", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 34 + ] + ], + "bindingType": "variable", + "module": "pathwatcher" + } + }, + "25": { + "0": { + "type": "class", + "name": "Config", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 36, + 29 + ], + [ + 52, + 8 + ], + [ + 57, + 18 + ], + [ + 72, + 21 + ], + [ + 76, + 23 + ], + [ + 80, + 15 + ], + [ + 91, + 21 + ], + [ + 95, + 15 + ], + [ + 104, + 7 + ], + [ + 114, + 10 + ], + [ + 125, + 18 + ], + [ + 136, + 7 + ], + [ + 152, + 10 + ], + [ + 160, + 18 + ], + [ + 168, + 14 + ], + [ + 178, + 13 + ], + [ + 187, + 17 + ], + [ + 199, + 20 + ], + [ + 211, + 19 + ], + [ + 231, + 11 + ], + [ + 253, + 13 + ], + [ + 256, + 10 + ], + [ + 261, + 8 + ] + ], + "doc": " Public: Used to access all of Atom's configuration details.\n\nAn instance of this class is always available as the `atom.config` global.\n\n## Best practices\n\n* Create your own root keypath using your package's name.\n* Don't depend on (or write to) configuration keys outside of your keypath.\n\n## Example\n\n```coffeescript\natom.config.set('my-package.key', 'value')\natom.config.observe 'my-package.key', ->\n console.log 'My configuration changed:', atom.config.get('my-package.key')\n``` ", + "range": [ + [ + 25, + 0 + ], + [ + 262, + 50 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 29, + 15 + ], + [ + 36, + 1 + ] + ], + "doc": "Private: Created during initialization, available as `atom.config` " + } + }, + "36": { + "29": { + "name": "initializeConfigDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "done" + ], + "range": [ + [ + 36, + 29 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 8 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "18": { + "name": "loadUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 18 + ], + [ + 72, + 1 + ] + ], + "doc": "~Private~" + } + }, + "72": { + "21": { + "name": "observeUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 72, + 21 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "23": { + "name": "unobserveUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 23 + ], + [ + 80, + 1 + ] + ], + "doc": "~Private~" + } + }, + "80": { + "15": { + "name": "setDefaults", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "defaults" + ], + "range": [ + [ + 80, + 15 + ], + [ + 91, + 1 + ] + ], + "doc": "~Private~" + } + }, + "91": { + "21": { + "name": "getUserConfigPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 21 + ], + [ + 95, + 1 + ] + ], + "doc": "Public: Get the {String} path to the config file being used. " + } + }, + "95": { + "15": { + "name": "getSettings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 95, + 15 + ], + [ + 104, + 1 + ] + ], + "doc": "Public: Returns a new {Object} containing all of settings and defaults. " + } + }, + "104": { + "7": { + "name": "get", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 104, + 7 + ], + [ + 114, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key.\n\nkeyPath - The {String} name of the key to retrieve.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `null` if the key doesn't exist in either. " + } + }, + "114": { + "10": { + "name": "getInt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 114, + 10 + ], + [ + 125, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key as an integer.\n\nkeyPath - The {String} name of the key to retrieve\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `NaN` if the key doesn't exist in either. " + } + }, + "125": { + "18": { + "name": "getPositiveInt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "defaultValue" + ], + "range": [ + [ + 125, + 18 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key as a positive integer.\n\nkeyPath - The {String} name of the key to retrieve\ndefaultValue - The integer {Number} to fall back to if the value isn't\n positive, defaults to 0.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `defaultValue` if the key value isn't greater than zero. " + } + }, + "136": { + "7": { + "name": "set", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 136, + 7 + ], + [ + 152, + 1 + ] + ], + "doc": " Public: Sets the value for a configuration setting.\n\nThis value is stored in Atom's internal configuration file.\n\nkeyPath - The {String} name of the key.\nvalue - The value of the setting.\n\nReturns the `value`. " + } + }, + "152": { + "10": { + "name": "toggle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 152, + 10 + ], + [ + 160, + 1 + ] + ], + "doc": " Public: Toggle the value at the key path.\n\nThe new value will be `true` if the value is currently falsy and will be\n`false` if the value is currently truthy.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " + } + }, + "160": { + "18": { + "name": "restoreDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 160, + 18 + ], + [ + 168, + 1 + ] + ], + "doc": " Public: Restore the key path to its default value.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " + } + }, + "168": { + "14": { + "name": "getDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 168, + 14 + ], + [ + 178, + 1 + ] + ], + "doc": " Public: Get the default value of the key path.\n\nkeyPath - The {String} name of the key.\n\nReturns the default value. " + } + }, + "178": { + "13": { + "name": "isDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 178, + 13 + ], + [ + 187, + 1 + ] + ], + "doc": " Public: Is the key path value its default value?\n\nkeyPath - The {String} name of the key.\n\nReturns a {Boolean}, `true` if the current value is the default, `false`\notherwise. " + } + }, + "187": { + "17": { + "name": "pushAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 187, + 17 + ], + [ + 199, + 1 + ] + ], + "doc": " Public: Push the value to the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to push to the array.\n\nReturns the new array length {Number} of the setting. " + } + }, + "199": { + "20": { + "name": "unshiftAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 199, + 20 + ], + [ + 211, + 1 + ] + ], + "doc": " Public: Add the value to the beginning of the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to shift onto the array.\n\nReturns the new array length {Number} of the setting. " + } + }, + "211": { + "19": { + "name": "removeAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 211, + 19 + ], + [ + 231, + 1 + ] + ], + "doc": " Public: Remove the value from the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to remove from the array.\n\nReturns the new array value of the setting. " + } + }, + "231": { + "11": { + "name": "observe", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "options", + "callback" + ], + "range": [ + [ + 231, + 11 + ], + [ + 253, + 1 + ] + ], + "doc": " Public: Establishes an event listener for a given key.\n\n`callback` is fired whenever the value of the key is changed and will\n be fired immediately unless the `callNow` option is `false`.\n\nkeyPath - The {String} name of the key to observe\noptions - An optional {Object} containing the `callNow` key.\ncallback - The {Function} to call when the value of the key changes.\n The first argument will be the new value of the key and the\n  second argument will be an {Object} with a `previous` property\n that is the prior value of the key.\n\nReturns an {Object} with the following keys:\n :off - A {Function} that unobserves the `keyPath` when called. " + } + }, + "253": { + "13": { + "name": "unobserve", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 253, + 13 + ], + [ + 256, + 1 + ] + ], + "doc": " Public: Unobserve all callbacks on a given key.\n\nkeyPath - The {String} name of the key to unobserve. " + } + }, + "256": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 10 + ], + [ + 261, + 1 + ] + ], + "doc": "~Private~" + } + }, + "261": { + "8": { + "name": "save", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 8 + ], + [ + 262, + 50 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 25 + }, + "src/context-menu-manager.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "2": { + "9": { + "name": "remote", + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 24 + ] + ], + "bindingType": "variable", + "module": "remote" + } + }, + "10": { + "0": { + "type": "class", + "name": "ContextMenuManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 33, + 7 + ], + [ + 45, + 17 + ], + [ + 60, + 17 + ], + [ + 66, + 25 + ], + [ + 82, + 38 + ], + [ + 91, + 34 + ], + [ + 105, + 24 + ], + [ + 111, + 16 + ] + ], + "doc": " Public: Provides a registry for commands that you'd like to appear in the\ncontext menu.\n\nAn instance of this class is always available as the `atom.contextMenu`\nglobal. ", + "range": [ + [ + 10, + 0 + ], + [ + 116, + 64 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 33, + 1 + ] + ] + } + }, + "33": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "object", + null + ], + "range": [ + [ + 33, + 7 + ], + [ + 45, + 1 + ] + ], + "doc": " Public: Creates menu definitions from the object specified by the menu\ncson API.\n\nname - The path of the file that contains the menu definitions.\nobject - The 'context-menu' object specified in the menu cson API.\noptions - An {Object} with the following keys:\n :devMode - Determines whether the entries should only be shown when\n the window is in dev mode.\n\nReturns nothing. " + } + }, + "45": { + "17": { + "name": "buildMenuItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "label", + "command" + ], + "range": [ + [ + 45, + 17 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "17": { + "name": "addBySelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "definition", + null + ], + "range": [ + [ + 60, + 17 + ], + [ + 66, + 1 + ] + ], + "doc": " Private: Registers a command to be displayed when the relevant item is right\nclicked.\n\nselector - The css selector for the active element which should include\n the given command in its context menu.\ndefinition - The object containing keys which match the menu template API.\noptions - An {Object} with the following keys:\n :devMode - Indicates whether this command should only appear while the\n editor is in dev mode. " + } + }, + "66": { + "25": { + "name": "definitionsForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element", + null + ], + "range": [ + [ + 66, + 25 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Returns definitions which match the element and devMode. " + } + }, + "82": { + "38": { + "name": "menuTemplateForMostSpecificElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element", + null + ], + "range": [ + [ + 82, + 38 + ], + [ + 91, + 1 + ] + ], + "doc": " Private: Used to generate the context menu for a specific element and it's\nparents.\n\nThe menu items are sorted such that menu items that match closest to the\nactive element are listed first. The further down the list you go, the higher\nup the ancestor hierarchy they match.\n\nelement - The DOM element to generate the menu template for. " + } + }, + "91": { + "34": { + "name": "combinedMenuTemplateForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 91, + 34 + ], + [ + 105, + 1 + ] + ], + "doc": " Private: Returns a menu template for both normal entries as well as\ndevelopment mode entries. " + } + }, + "105": { + "24": { + "name": "executeBuildHandlers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event", + "menuTemplate" + ], + "range": [ + [ + 105, + 24 + ], + [ + 111, + 1 + ] + ], + "doc": " Private: Executes `executeAtBuild` if defined for each menu item with\nthe provided event and then removes the `executeAtBuild` property from\nthe menu item.\n\nThis is useful for commands that need to provide data about the event\nto the command. " + } + }, + "111": { + "16": { + "name": "showForEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 111, + 16 + ], + [ + 116, + 64 + ] + ], + "doc": "Public: Request a context menu to be displayed. " + } + } + }, + "exports": 10 + }, + "src/cursor-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "18": { + "name": "CursorComponent", + "type": "function", + "range": [ + [ + 5, + 18 + ], + [ + 17, + 79 + ] + ] + } + }, + "6": { + "15": { + "name": "'CursorComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 31 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 16, + 1 + ] + ], + "doc": null + } + }, + "16": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 16, + 25 + ], + [ + 17, + 79 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/cursor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "4": { + "0": { + "type": "class", + "name": "CursorView", + "bindingType": "exports", + "classProperties": [ + [ + 5, + 12 + ], + [ + 8, + 16 + ], + [ + 10, + 17 + ], + [ + 13, + 18 + ], + [ + 19, + 17 + ] + ], + "prototypeProperties": [ + [ + 24, + 12 + ], + [ + 25, + 11 + ], + [ + 26, + 15 + ], + [ + 27, + 16 + ], + [ + 28, + 23 + ], + [ + 30, + 14 + ], + [ + 44, + 16 + ], + [ + 48, + 17 + ], + [ + 65, + 12 + ], + [ + 68, + 19 + ], + [ + 71, + 19 + ], + [ + 74, + 20 + ], + [ + 77, + 14 + ], + [ + 86, + 16 + ], + [ + 90, + 17 + ], + [ + 94, + 17 + ], + [ + 98, + 21 + ], + [ + 101, + 21 + ], + [ + 104, + 30 + ], + [ + 109, + 24 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 112, + 31 + ] + ] + } + }, + "5": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 12 + ], + [ + 8, + 1 + ] + ] + } + }, + "8": { + "16": { + "name": "blinkPeriod", + "type": "primitive", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 18 + ] + ], + "bindingType": "classProperty" + } + }, + "10": { + "17": { + "name": "blinkCursors", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 17 + ], + [ + 13, + 1 + ] + ], + "doc": "~Private~" + } + }, + "13": { + "18": { + "name": "startBlinking", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 13, + 18 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "17": { + "name": "stopBlinking", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 19, + 17 + ], + [ + 24, + 1 + ] + ], + "doc": "~Private~" + } + }, + "24": { + "12": { + "name": "blinking", + "type": "primitive", + "range": [ + [ + 24, + 12 + ], + [ + 24, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "25": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 25, + 11 + ], + [ + 25, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "26": { + "15": { + "name": "needsUpdate", + "type": "primitive", + "range": [ + [ + 26, + 15 + ], + [ + 26, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "27": { + "16": { + "name": "needsRemoval", + "type": "primitive", + "range": [ + [ + 27, + 16 + ], + [ + 27, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "28": { + "23": { + "name": "shouldPauseBlinking", + "type": "primitive", + "range": [ + [ + 28, + 23 + ], + [ + 28, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "30": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 30, + 14 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 16 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 17 + ], + [ + 65, + 1 + ] + ], + "doc": "~Private~" + } + }, + "65": { + "12": { + "name": "isHidden", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 65, + 12 + ], + [ + 68, + 1 + ] + ], + "doc": "Private: Override for speed. The base function checks the computedStyle " + } + }, + "68": { + "19": { + "name": "needsAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 19 + ], + [ + 71, + 1 + ] + ], + "doc": "~Private~" + } + }, + "71": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 71, + 19 + ], + [ + 74, + 1 + ] + ], + "doc": "~Private~" + } + }, + "74": { + "20": { + "name": "getPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 20 + ], + [ + 77, + 1 + ] + ], + "doc": "~Private~" + } + }, + "77": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 77, + 14 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "16": { + "name": "stopBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 16 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "17": { + "name": "startBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 17 + ], + [ + 94, + 1 + ] + ], + "doc": "~Private~" + } + }, + "94": { + "17": { + "name": "resetBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 17 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "21": { + "name": "getBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 21 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "21": { + "name": "getScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 21 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "30": { + "name": "removeIdleClassTemporarily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 30 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "24": { + "name": "resetCursorAnimation", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 24 + ], + [ + 112, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/cursor.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "10": { + "0": { + "type": "class", + "name": "Cursor", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 18 + ], + [ + 12, + 18 + ], + [ + 13, + 14 + ], + [ + 14, + 11 + ], + [ + 15, + 19 + ], + [ + 18, + 15 + ], + [ + 49, + 11 + ], + [ + 52, + 18 + ], + [ + 60, + 16 + ], + [ + 70, + 21 + ], + [ + 75, + 21 + ], + [ + 78, + 18 + ], + [ + 89, + 21 + ], + [ + 94, + 21 + ], + [ + 97, + 14 + ], + [ + 101, + 20 + ], + [ + 105, + 14 + ], + [ + 112, + 13 + ], + [ + 122, + 14 + ], + [ + 136, + 16 + ], + [ + 145, + 28 + ], + [ + 158, + 27 + ], + [ + 170, + 16 + ], + [ + 176, + 19 + ], + [ + 180, + 18 + ], + [ + 184, + 16 + ], + [ + 188, + 19 + ], + [ + 192, + 16 + ], + [ + 196, + 19 + ], + [ + 201, + 24 + ], + [ + 205, + 10 + ], + [ + 217, + 12 + ], + [ + 233, + 12 + ], + [ + 247, + 13 + ], + [ + 256, + 13 + ], + [ + 260, + 16 + ], + [ + 264, + 31 + ], + [ + 268, + 25 + ], + [ + 273, + 30 + ], + [ + 283, + 25 + ], + [ + 293, + 25 + ], + [ + 297, + 19 + ], + [ + 301, + 25 + ], + [ + 305, + 19 + ], + [ + 310, + 29 + ], + [ + 315, + 30 + ], + [ + 320, + 26 + ], + [ + 336, + 43 + ], + [ + 358, + 41 + ], + [ + 380, + 41 + ], + [ + 409, + 37 + ], + [ + 430, + 40 + ], + [ + 447, + 29 + ], + [ + 457, + 29 + ], + [ + 461, + 34 + ], + [ + 466, + 38 + ], + [ + 470, + 45 + ], + [ + 484, + 49 + ], + [ + 502, + 34 + ], + [ + 506, + 24 + ], + [ + 510, + 23 + ], + [ + 514, + 18 + ], + [ + 521, + 17 + ], + [ + 527, + 13 + ], + [ + 532, + 32 + ] + ], + "doc": " Public: The `Cursor` class represents the little blinking line identifying\nwhere text can be inserted.\n\nCursors belong to {Editor}s and have some metadata attached in the form\nof a {Marker}. ", + "range": [ + [ + 10, + 0 + ], + [ + 540, + 50 + ] + ] + } + }, + "11": { + "18": { + "name": "screenPosition", + "type": "primitive", + "range": [ + [ + 11, + 18 + ], + [ + 11, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "18": { + "name": "bufferPosition", + "type": "primitive", + "range": [ + [ + 12, + 18 + ], + [ + 12, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "13": { + "14": { + "name": "goalColumn", + "type": "primitive", + "range": [ + [ + 13, + 14 + ], + [ + 13, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 14, + 11 + ], + [ + 14, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "15": { + "19": { + "name": "needsAutoscroll", + "type": "primitive", + "range": [ + [ + 15, + 19 + ], + [ + 15, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 18, + 15 + ], + [ + 49, + 1 + ] + ], + "doc": "Private: Instantiated by an {Editor} " + } + }, + "49": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 11 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "18": { + "name": "changePosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options", + "fn" + ], + "range": [ + [ + 52, + 18 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "16": { + "name": "getPixelRect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 60, + 16 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "21": { + "name": "setScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 70, + 21 + ], + [ + 75, + 1 + ] + ], + "doc": " Public: Moves a cursor to a given screen position.\n\nscreenPosition - An {Array} of two numbers: the screen row, and the screen\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " + } + }, + "75": { + "21": { + "name": "getScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 75, + 21 + ], + [ + 78, + 1 + ] + ], + "doc": "Public: Returns the screen position of the cursor as an Array. " + } + }, + "78": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 78, + 18 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "setBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 89, + 21 + ], + [ + 94, + 1 + ] + ], + "doc": " Public: Moves a cursor to a given buffer position.\n\nbufferPosition - An {Array} of two numbers: the buffer row, and the buffer\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " + } + }, + "94": { + "21": { + "name": "getBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 21 + ], + [ + 97, + 1 + ] + ], + "doc": "Public: Returns the current buffer position as an Array. " + } + }, + "97": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 97, + 14 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "20": { + "name": "updateVisibility", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 20 + ], + [ + 105, + 1 + ] + ], + "doc": "Public: If the marker range is empty, the cursor is marked as being visible. " + } + }, + "105": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 105, + 14 + ], + [ + 112, + 1 + ] + ], + "doc": "Public: Sets whether the cursor is visible. " + } + }, + "112": { + "13": { + "name": "isVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 112, + 13 + ], + [ + 112, + 23 + ] + ], + "doc": "Public: Returns the visibility of the cursor. " + } + }, + "122": { + "14": { + "name": "wordRegExp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 122, + 14 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Get the RegExp used by the cursor to determine what a \"word\" is.\n\noptions: An optional {Object} with the following keys:\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the regex.\n (default: true)\n\nReturns a {RegExp}. " + } + }, + "136": { + "16": { + "name": "isLastCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 16 + ], + [ + 145, + 1 + ] + ], + "doc": " Public: Identifies if this cursor is the last in the {Editor}.\n\n\"Last\" is defined as the most recently added cursor.\n\nReturns a {Boolean}. " + } + }, + "145": { + "28": { + "name": "isSurroundedByWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 145, + 28 + ], + [ + 158, + 1 + ] + ], + "doc": " Public: Identifies if the cursor is surrounded by whitespace.\n\n\"Surrounded\" here means that the character directly before and after the\ncursor are both whitespace.\n\nReturns a {Boolean}. " + } + }, + "158": { + "27": { + "name": "isBetweenWordAndNonWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 27 + ], + [ + 170, + 1 + ] + ], + "doc": " Public: Returns whether the cursor is currently between a word and non-word\ncharacter. The non-word characters are defined by the\n`editor.nonWordCharacters` config value.\n\nThis method returns false if the character before or after the cursor is\nwhitespace.\n\nReturns a Boolean. " + } + }, + "170": { + "16": { + "name": "isInsideWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 170, + 16 + ], + [ + 176, + 1 + ] + ], + "doc": "Public: Returns whether this cursor is between a word's start and end. " + } + }, + "176": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 176, + 19 + ], + [ + 180, + 1 + ] + ], + "doc": "Public: Prevents this cursor from causing scrolling. " + } + }, + "180": { + "18": { + "name": "clearSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 180, + 18 + ], + [ + 184, + 1 + ] + ], + "doc": "Public: Deselects the current selection. " + } + }, + "184": { + "16": { + "name": "getScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 184, + 16 + ], + [ + 188, + 1 + ] + ], + "doc": "Public: Returns the cursor's current screen row. " + } + }, + "188": { + "19": { + "name": "getScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 19 + ], + [ + 192, + 1 + ] + ], + "doc": "Public: Returns the cursor's current screen column. " + } + }, + "192": { + "16": { + "name": "getBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 192, + 16 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Retrieves the cursor's current buffer row. " + } + }, + "196": { + "19": { + "name": "getBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 196, + 19 + ], + [ + 201, + 1 + ] + ], + "doc": "Public: Returns the cursor's current buffer column. " + } + }, + "201": { + "24": { + "name": "getCurrentBufferLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 201, + 24 + ], + [ + 205, + 1 + ] + ], + "doc": " Public: Returns the cursor's current buffer row of text excluding its line\nending. " + } + }, + "205": { + "10": { + "name": "moveUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount", + null + ], + "range": [ + [ + 205, + 10 + ], + [ + 217, + 1 + ] + ], + "doc": "Public: Moves the cursor up one screen row. " + } + }, + "217": { + "12": { + "name": "moveDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount", + null + ], + "range": [ + [ + 217, + 12 + ], + [ + 233, + 1 + ] + ], + "doc": "Public: Moves the cursor down one screen row. " + } + }, + "233": { + "12": { + "name": "moveLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 233, + 12 + ], + [ + 247, + 1 + ] + ], + "doc": " Public: Moves the cursor left one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the left of the selection if a\n selection exists. " + } + }, + "247": { + "13": { + "name": "moveRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 247, + 13 + ], + [ + 256, + 1 + ] + ], + "doc": " Public: Moves the cursor right one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the right of the selection if a\n selection exists. " + } + }, + "256": { + "13": { + "name": "moveToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 13 + ], + [ + 260, + 1 + ] + ], + "doc": "Public: Moves the cursor to the top of the buffer. " + } + }, + "260": { + "16": { + "name": "moveToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 16 + ], + [ + 264, + 1 + ] + ], + "doc": "Public: Moves the cursor to the bottom of the buffer. " + } + }, + "264": { + "31": { + "name": "moveToBeginningOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 264, + 31 + ], + [ + 268, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the line. " + } + }, + "268": { + "25": { + "name": "moveToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 268, + 25 + ], + [ + 273, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the buffer line. " + } + }, + "273": { + "30": { + "name": "moveToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 273, + 30 + ], + [ + 283, + 1 + ] + ], + "doc": " Public: Moves the cursor to the beginning of the first character in the\nline. " + } + }, + "283": { + "25": { + "name": "skipLeadingWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 283, + 25 + ], + [ + 293, + 1 + ] + ], + "doc": " Public: Moves the cursor to the beginning of the buffer line, skipping all\nwhitespace. " + } + }, + "293": { + "25": { + "name": "moveToEndOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 293, + 25 + ], + [ + 297, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the line. " + } + }, + "297": { + "19": { + "name": "moveToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 19 + ], + [ + 301, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the buffer line. " + } + }, + "301": { + "25": { + "name": "moveToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 301, + 25 + ], + [ + 305, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the word. " + } + }, + "305": { + "19": { + "name": "moveToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 305, + 19 + ], + [ + 310, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the word. " + } + }, + "310": { + "29": { + "name": "moveToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 310, + 29 + ], + [ + 315, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the next word. " + } + }, + "315": { + "30": { + "name": "moveToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 30 + ], + [ + 320, + 1 + ] + ], + "doc": "Public: Moves the cursor to the previous word boundary. " + } + }, + "320": { + "26": { + "name": "moveToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 320, + 26 + ], + [ + 336, + 1 + ] + ], + "doc": "Public: Moves the cursor to the next word boundary. " + } + }, + "336": { + "43": { + "name": "getBeginningOfCurrentWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 336, + 43 + ], + [ + 358, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the current word starts.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n :allowPrevious - A {Boolean} indicating whether the beginning of the\n previous word can be returned.\n\nReturns a {Range}. " + } + }, + "358": { + "41": { + "name": "getPreviousWordBoundaryBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 358, + 41 + ], + [ + 380, + 1 + ] + ], + "doc": " Public: Retrieves buffer position of previous word boundary. It might be on\nthe current word, or the previous word. " + } + }, + "380": { + "41": { + "name": "getMoveNextWordBoundaryBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 380, + 41 + ], + [ + 409, + 1 + ] + ], + "doc": " Public: Retrieves buffer position of the next word boundary. It might be on\nthe current word, or the previous word. " + } + }, + "409": { + "37": { + "name": "getEndOfCurrentWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 409, + 37 + ], + [ + 430, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the current word ends.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp})\n :includeNonWordCharacters - A Boolean indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n\nReturns a {Range}. " + } + }, + "430": { + "40": { + "name": "getBeginningOfNextWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 430, + 40 + ], + [ + 447, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the next word starts.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n\nReturns a {Range}. " + } + }, + "447": { + "29": { + "name": "getCurrentWordBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 447, + 29 + ], + [ + 457, + 1 + ] + ], + "doc": " Public: Returns the buffer Range occupied by the word located under the cursor.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}). " + } + }, + "457": { + "29": { + "name": "getCurrentLineBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 457, + 29 + ], + [ + 461, + 1 + ] + ], + "doc": " Public: Returns the buffer Range for the current line.\n\noptions -\n :includeNewline: - A {Boolean} which controls whether the Range should\n include the newline. " + } + }, + "461": { + "34": { + "name": "moveToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 461, + 34 + ], + [ + 466, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the next paragraph " + } + }, + "466": { + "38": { + "name": "moveToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 466, + 38 + ], + [ + 470, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the previous paragraph " + } + }, + "470": { + "45": { + "name": "getBeginningOfNextParagraphBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 470, + 45 + ], + [ + 484, + 1 + ] + ], + "doc": "~Private~" + } + }, + "484": { + "49": { + "name": "getBeginningOfPreviousParagraphBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 484, + 49 + ], + [ + 502, + 1 + ] + ], + "doc": "~Private~" + } + }, + "502": { + "34": { + "name": "getCurrentParagraphBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 502, + 34 + ], + [ + 506, + 1 + ] + ], + "doc": " Public: Retrieves the range for the current paragraph.\n\nA paragraph is defined as a block of text surrounded by empty lines.\n\nReturns a {Range}. " + } + }, + "506": { + "24": { + "name": "getCurrentWordPrefix", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 506, + 24 + ], + [ + 510, + 1 + ] + ], + "doc": "Public: Returns the characters preceding the cursor in the current word. " + } + }, + "510": { + "23": { + "name": "isAtBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 510, + 23 + ], + [ + 514, + 1 + ] + ], + "doc": "Public: Returns whether the cursor is at the start of a line. " + } + }, + "514": { + "18": { + "name": "getIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 514, + 18 + ], + [ + 521, + 1 + ] + ], + "doc": "Public: Returns the indentation level of the current line. " + } + }, + "521": { + "17": { + "name": "isAtEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 521, + 17 + ], + [ + 527, + 1 + ] + ], + "doc": "Public: Returns whether the cursor is on the line return character. " + } + }, + "527": { + "13": { + "name": "getScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 527, + 13 + ], + [ + 532, + 1 + ] + ], + "doc": " Public: Retrieves the grammar's token scopes for the line.\n\nReturns an {Array} of {String}s. " + } + }, + "532": { + "32": { + "name": "hasPrecedingCharactersOnLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 532, + 32 + ], + [ + 540, + 50 + ] + ], + "doc": " Public: Returns true if this cursor has no non-whitespace characters before\nits current position. " + } + } + }, + "exports": 10 + }, + "src/cursors-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "debounce", + "exportsProperty": "debounce" + }, + "11": { + "type": "import", + "range": [ + [ + 2, + 11 + ], + [ + 2, + 17 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "toArray", + "exportsProperty": "toArray" + }, + "20": { + "type": "import", + "range": [ + [ + 2, + 20 + ], + [ + 2, + 39 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "42": { + "type": "import", + "range": [ + [ + 2, + 42 + ], + [ + 2, + 48 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "isEqual", + "exportsProperty": "isEqual" + } + }, + "3": { + "18": { + "name": "SubscriberMixin", + "type": "import", + "range": [ + [ + 3, + 18 + ], + [ + 3, + 45 + ] + ], + "bindingType": "variable", + "path": "./subscriber-mixin" + } + }, + "4": { + "18": { + "name": "CursorComponent", + "type": "import", + "range": [ + [ + 4, + 18 + ], + [ + 4, + 45 + ] + ], + "bindingType": "variable", + "path": "./cursor-component" + } + }, + "7": { + "19": { + "name": "CursorsComponent", + "type": "function", + "range": [ + [ + 7, + 19 + ], + [ + 60, + 37 + ] + ] + } + }, + "8": { + "15": { + "name": "'CursorsComponent'", + "type": "primitive", + "range": [ + [ + 8, + 15 + ], + [ + 8, + 32 + ] + ] + } + }, + "9": { + "10": { + "type": "primitive", + "range": [ + [ + 9, + 10 + ], + [ + 9, + 26 + ] + ] + } + }, + "11": { + "29": { + "type": "primitive", + "range": [ + [ + 11, + 29 + ], + [ + 11, + 32 + ] + ] + } + }, + "13": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 10 + ], + [ + 25, + 1 + ] + ], + "doc": null + } + }, + "25": { + "19": { + "name": "getInitialState", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 19 + ], + [ + 28, + 1 + ] + ], + "doc": null + } + }, + "28": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 21 + ], + [ + 31, + 1 + ] + ], + "doc": null + } + }, + "31": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 31, + 24 + ], + [ + 34, + 1 + ] + ], + "doc": null + } + }, + "34": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps", + "newState" + ], + "range": [ + [ + 34, + 25 + ], + [ + 38, + 1 + ] + ], + "doc": null + } + }, + "38": { + "23": { + "name": "componentWillUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 38, + 23 + ], + [ + 45, + 1 + ] + ], + "doc": null + } + }, + "45": { + "24": { + "name": "startBlinkingCursors", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 24 + ], + [ + 48, + 1 + ] + ], + "doc": null + } + }, + "48": { + "34": { + "type": "primitive", + "range": [ + [ + 48, + 34 + ], + [ + 48, + 37 + ] + ] + } + }, + "50": { + "23": { + "name": "stopBlinkingCursors", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 23 + ], + [ + 53, + 1 + ] + ], + "doc": null + } + }, + "53": { + "21": { + "name": "toggleCursorBlink", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 21 + ], + [ + 56, + 1 + ] + ], + "doc": null + } + }, + "56": { + "23": { + "name": "pauseCursorBlinking", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 23 + ], + [ + 60, + 37 + ] + ], + "doc": null + } + } + }, + "exports": 7 + }, + "src/custom-event-mixin.coffee": { + "objects": { + "2": { + "2": { + "type": "primitive", + "range": [ + [ + 2, + 2 + ], + [ + 14, + 52 + ] + ] + }, + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 2, + 22 + ], + [ + 5, + 1 + ] + ], + "doc": null + } + }, + "5": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 24 + ], + [ + 10, + 1 + ] + ], + "doc": null + } + }, + "10": { + "27": { + "name": "addCustomEventListeners", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "customEventListeners" + ], + "range": [ + [ + 10, + 27 + ], + [ + 14, + 52 + ] + ], + "doc": null + } + } + }, + "exports": 2 + }, + "src/decoration.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Subscriber", + "exportsProperty": "Subscriber" + }, + "13": { + "type": "import", + "range": [ + [ + 1, + 13 + ], + [ + 1, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "3": { + "12": { + "name": "0", + "type": "primitive", + "range": [ + [ + 3, + 12 + ], + [ + 3, + 12 + ] + ] + } + }, + "4": { + "9": { + "name": "nextId", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 4, + 9 + ], + [ + 4, + 22 + ] + ] + } + }, + "40": { + "0": { + "type": "class", + "name": "Decoration", + "bindingType": "exports", + "classProperties": [ + [ + 43, + 11 + ] + ], + "prototypeProperties": [ + [ + 49, + 15 + ], + [ + 59, + 11 + ], + [ + 70, + 10 + ], + [ + 79, + 13 + ], + [ + 82, + 13 + ], + [ + 89, + 10 + ], + [ + 92, + 18 + ], + [ + 98, + 9 + ], + [ + 104, + 20 + ] + ], + "doc": " Public: Represents a decoration that follows a {Marker}. A decoration is\nbasically a visual representation of a marker. It allows you to add CSS\nclasses to line numbers in the gutter, lines, and add selection-line regions\naround marked ranges of text.\n\n{Decoration} objects are not meant to be created directly, but created with\n{Editor::decorateMarker}. eg.\n\n```coffee\nrange = editor.getSelectedBufferRange() # any range you like\nmarker = editor.markBufferRange(range)\ndecoration = editor.decorateMarker(marker, {type: 'line', class: 'my-line-class'})\n```\n\nBest practice for destorying the decoration is by destroying the {Marker}.\n\n```\nmarker.destroy()\n```\n\nYou should only use {Decoration::destroy} when you still need or do not own\nthe marker.\n\n### IDs\nEach {Decoration} has a unique ID available via `decoration.id`.\n\n### Events\nA couple of events are emitted:\n\n* `destroyed`: When the {Decoration} is destroyed\n* `updated`: When the {Decoration} is updated via {Decoration::update}.\n Event object has properties `oldParams` and `newParams`\n\n ", + "range": [ + [ + 40, + 0 + ], + [ + 106, + 8 + ] + ] + } + }, + "43": { + "11": { + "name": "isType", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "decorationParams", + "type" + ], + "range": [ + [ + 43, + 11 + ], + [ + 49, + 1 + ] + ], + "doc": "~Private~" + } + }, + "49": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null, + null + ], + "range": [ + [ + 49, + 15 + ], + [ + 59, + 1 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 11 + ], + [ + 70, + 1 + ] + ], + "doc": " Public: Destroy this marker.\n\nIf you own the marker, you should use {Marker::destroy} which will destroy\nthis decoration. " + } + }, + "70": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "newParams" + ], + "range": [ + [ + 70, + 10 + ], + [ + 79, + 1 + ] + ], + "doc": " Public: Update the marker with new params. Allows you to change the decoration's class.\n\n```\ndecoration.update({type: 'gutter', class: 'my-new-class'})\n``` " + } + }, + "79": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 13 + ], + [ + 79, + 22 + ] + ], + "doc": "Public: Returns the marker associated with this {Decoration} " + } + }, + "82": { + "13": { + "name": "getParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 13 + ], + [ + 82, + 22 + ] + ], + "doc": "Public: Returns the {Decoration}'s params. " + } + }, + "89": { + "10": { + "name": "isType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "type" + ], + "range": [ + [ + 89, + 10 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "18": { + "name": "matchesPattern", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decorationPattern" + ], + "range": [ + [ + 92, + 18 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "9": { + "name": "flash", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass", + "duration" + ], + "range": [ + [ + 98, + 9 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "20": { + "name": "consumeNextFlash", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 20 + ], + [ + 106, + 8 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 40 + }, + "src/deserializer-manager.coffee": { + "objects": { + "20": { + "0": { + "type": "class", + "name": "DeserializerManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 21, + 15 + ], + [ + 27, + 7 + ], + [ + 33, + 10 + ], + [ + 41, + 15 + ], + [ + 54, + 7 + ] + ], + "doc": " Public: Manages the deserializers used for serialized state\n\nAn instance of this class is always available as the `atom.deserializers`\nglobal.\n\n### Registering a deserializer\n\n```coffee\nclass MyPackageView extends View\n atom.deserializers.add(this)\n\n @deserialize: (state) ->\n new MyPackageView(state)\n\n constructor: (@state) ->\n\n serialize: ->\n @state\n``` ", + "range": [ + [ + 20, + 0 + ], + [ + 58, + 24 + ] + ] + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 15 + ], + [ + 27, + 1 + ] + ] + } + }, + "27": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "classes" + ], + "range": [ + [ + 27, + 7 + ], + [ + 33, + 1 + ] + ], + "doc": " Public: Register the given class(es) as deserializers.\n\nclasses - One or more classes to register. " + } + }, + "33": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "classes" + ], + "range": [ + [ + 33, + 10 + ], + [ + 41, + 1 + ] + ], + "doc": " Public: Remove the given class(es) as deserializers.\n\nclasses - One or more classes to remove. " + } + }, + "41": { + "15": { + "name": "deserialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state", + "params" + ], + "range": [ + [ + 41, + 15 + ], + [ + 54, + 1 + ] + ], + "doc": " Public: Deserialize the state and params.\n\nstate - The state {Object} to deserialize.\nparams - The params {Object} to pass as the second arguments to the\n deserialize method of the deserializer. " + } + }, + "54": { + "7": { + "name": "get", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 54, + 7 + ], + [ + 58, + 24 + ] + ], + "doc": " Private: Get the deserializer for the state.\n\nstate - The state {Object} being deserialized. " + } + } + }, + "exports": 20 + }, + "src/display-buffer-marker.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 2, + 10 + ], + [ + 2, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "5": { + "0": { + "type": "class", + "name": "DisplayBufferMarker", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 9, + 28 + ], + [ + 10, + 25 + ], + [ + 11, + 25 + ], + [ + 12, + 25 + ], + [ + 13, + 25 + ], + [ + 14, + 12 + ], + [ + 16, + 15 + ], + [ + 27, + 8 + ], + [ + 33, + 18 + ], + [ + 40, + 18 + ], + [ + 46, + 18 + ], + [ + 53, + 18 + ], + [ + 56, + 17 + ], + [ + 62, + 25 + ], + [ + 69, + 25 + ], + [ + 76, + 25 + ], + [ + 83, + 25 + ], + [ + 89, + 25 + ], + [ + 96, + 25 + ], + [ + 103, + 25 + ], + [ + 110, + 25 + ], + [ + 117, + 26 + ], + [ + 124, + 26 + ], + [ + 131, + 24 + ], + [ + 138, + 24 + ], + [ + 146, + 13 + ], + [ + 150, + 13 + ], + [ + 153, + 11 + ], + [ + 157, + 14 + ], + [ + 162, + 11 + ], + [ + 169, + 15 + ], + [ + 172, + 17 + ], + [ + 175, + 17 + ], + [ + 178, + 21 + ], + [ + 183, + 11 + ], + [ + 187, + 11 + ], + [ + 191, + 11 + ], + [ + 195, + 11 + ], + [ + 198, + 13 + ], + [ + 202, + 19 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 230, + 23 + ] + ] + } + }, + "9": { + "28": { + "name": "bufferMarkerSubscription", + "type": "primitive", + "range": [ + [ + 9, + 28 + ], + [ + 9, + 31 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "25": { + "name": "oldHeadBufferPosition", + "type": "primitive", + "range": [ + [ + 10, + 25 + ], + [ + 10, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "11": { + "25": { + "name": "oldHeadScreenPosition", + "type": "primitive", + "range": [ + [ + 11, + 25 + ], + [ + 11, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "25": { + "name": "oldTailBufferPosition", + "type": "primitive", + "range": [ + [ + 12, + 25 + ], + [ + 12, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "13": { + "25": { + "name": "oldTailScreenPosition", + "type": "primitive", + "range": [ + [ + 13, + 25 + ], + [ + 13, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "12": { + "name": "wasValid", + "type": "primitive", + "range": [ + [ + 14, + 12 + ], + [ + 14, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 16, + 15 + ], + [ + 27, + 1 + ] + ], + "doc": "~Private~" + } + }, + "27": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 27, + 8 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 33, + 18 + ], + [ + 40, + 1 + ] + ], + "doc": " Private: Gets the screen range of the display marker.\n\nReturns a {Range}. " + } + }, + "40": { + "18": { + "name": "setScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 40, + 18 + ], + [ + 46, + 1 + ] + ], + "doc": " Private: Modifies the screen range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " + } + }, + "46": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 46, + 18 + ], + [ + 53, + 1 + ] + ], + "doc": " Private: Gets the buffer range of the display marker.\n\nReturns a {Range}. " + } + }, + "53": { + "18": { + "name": "setBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 53, + 18 + ], + [ + 56, + 1 + ] + ], + "doc": " Private: Modifies the buffer range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " + } + }, + "56": { + "17": { + "name": "getPixelRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 17 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "25": { + "name": "getHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 62, + 25 + ], + [ + 69, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's head.\n\nReturns a {Point}. " + } + }, + "69": { + "25": { + "name": "setHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 69, + 25 + ], + [ + 76, + 1 + ] + ], + "doc": " Private: Sets the screen position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "76": { + "25": { + "name": "getHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 25 + ], + [ + 83, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's head.\n\nReturns a {Point}. " + } + }, + "83": { + "25": { + "name": "setHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 83, + 25 + ], + [ + 89, + 1 + ] + ], + "doc": " Private: Sets the buffer position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "89": { + "25": { + "name": "getTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 25 + ], + [ + 96, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's tail.\n\nReturns a {Point}. " + } + }, + "96": { + "25": { + "name": "setTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 96, + 25 + ], + [ + 103, + 1 + ] + ], + "doc": " Private: Sets the screen position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "103": { + "25": { + "name": "getTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 103, + 25 + ], + [ + 110, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's tail.\n\nReturns a {Point}. " + } + }, + "110": { + "25": { + "name": "setTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 110, + 25 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: Sets the buffer position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "117": { + "26": { + "name": "getStartScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 26 + ], + [ + 124, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndScreenPosition}.\n\nReturns a {Point}. " + } + }, + "124": { + "26": { + "name": "getStartBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 26 + ], + [ + 131, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndBufferPosition}.\n\nReturns a {Point}. " + } + }, + "131": { + "24": { + "name": "getEndScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 131, + 24 + ], + [ + 138, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartScreenPosition}.\n\nReturns a {Point}. " + } + }, + "138": { + "24": { + "name": "getEndBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 24 + ], + [ + 146, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartBufferPosition}.\n\nReturns a {Point}. " + } + }, + "146": { + "13": { + "name": "plantTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 146, + 13 + ], + [ + 150, + 1 + ] + ], + "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " + } + }, + "150": { + "13": { + "name": "clearTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 150, + 13 + ], + [ + 153, + 1 + ] + ], + "doc": "Private: Removes the tail from the marker. " + } + }, + "153": { + "11": { + "name": "hasTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 153, + 11 + ], + [ + 157, + 1 + ] + ], + "doc": "~Private~" + } + }, + "157": { + "14": { + "name": "isReversed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 157, + 14 + ], + [ + 162, + 1 + ] + ], + "doc": "Private: Returns whether the head precedes the tail in the buffer " + } + }, + "162": { + "11": { + "name": "isValid", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 11 + ], + [ + 169, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the marker is valid. Markers can be\ninvalidated when a region surrounding them in the buffer is changed. " + } + }, + "169": { + "15": { + "name": "isDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 169, + 15 + ], + [ + 172, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the marker has been destroyed. A marker\ncan be invalid without being destroyed, in which case undoing the invalidating\noperation would restore the marker. Once a marker is destroyed by calling\n{Marker::destroy}, no undo/redo operation can ever bring it back. " + } + }, + "172": { + "17": { + "name": "getAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 172, + 17 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "17": { + "name": "setAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 175, + 17 + ], + [ + 178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "178": { + "21": { + "name": "matchesAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 178, + 21 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 183, + 11 + ], + [ + 187, + 1 + ] + ], + "doc": "Private: Destroys the marker " + } + }, + "187": { + "11": { + "name": "isEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 187, + 11 + ], + [ + 191, + 1 + ] + ], + "doc": "~Private~" + } + }, + "191": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 191, + 11 + ], + [ + 195, + 1 + ] + ], + "doc": "~Private~" + } + }, + "195": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 195, + 11 + ], + [ + 198, + 1 + ] + ], + "doc": "Private: Returns a {String} representation of the marker " + } + }, + "198": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 198, + 13 + ], + [ + 202, + 1 + ] + ], + "doc": "~Private~" + } + }, + "202": { + "19": { + "name": "notifyObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 202, + 19 + ], + [ + 230, + 23 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "src/display-buffer.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "2": { + "7": { + "name": "guid", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "guid" + } + }, + "3": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "6": { + "18": { + "name": "TokenizedBuffer", + "type": "import", + "range": [ + [ + 6, + 18 + ], + [ + 6, + 45 + ] + ], + "bindingType": "variable", + "path": "./tokenized-buffer" + } + }, + "7": { + "9": { + "name": "RowMap", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 27 + ] + ], + "bindingType": "variable", + "path": "./row-map" + } + }, + "8": { + "7": { + "name": "Fold", + "type": "import", + "range": [ + [ + 8, + 7 + ], + [ + 8, + 22 + ] + ], + "bindingType": "variable", + "path": "./fold" + } + }, + "9": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 9, + 8 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "10": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "11": { + "22": { + "name": "DisplayBufferMarker", + "type": "import", + "range": [ + [ + 11, + 22 + ], + [ + 11, + 54 + ] + ], + "bindingType": "variable", + "path": "./display-buffer-marker" + } + }, + "13": { + "0": { + "type": "class", + "name": "BufferToScreenConversionError", + "classProperties": [], + "prototypeProperties": [ + [ + 14, + 15 + ] + ], + "doc": "~Private~", + "range": [ + [ + 13, + 0 + ], + [ + 17, + 0 + ] + ] + } + }, + "14": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 14, + 15 + ], + [ + 17, + 0 + ] + ] + } + }, + "19": { + "0": { + "type": "class", + "name": "DisplayBuffer", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 34, + 24 + ], + [ + 35, + 26 + ], + [ + 36, + 29 + ], + [ + 37, + 26 + ], + [ + 38, + 36 + ], + [ + 40, + 15 + ], + [ + 70, + 19 + ], + [ + 78, + 21 + ], + [ + 82, + 8 + ], + [ + 91, + 24 + ], + [ + 97, + 15 + ], + [ + 104, + 28 + ], + [ + 115, + 14 + ], + [ + 117, + 27 + ], + [ + 118, + 27 + ], + [ + 120, + 29 + ], + [ + 121, + 29 + ], + [ + 123, + 32 + ], + [ + 124, + 32 + ], + [ + 126, + 29 + ], + [ + 127, + 29 + ], + [ + 129, + 13 + ], + [ + 138, + 13 + ], + [ + 140, + 19 + ], + [ + 146, + 18 + ], + [ + 152, + 26 + ], + [ + 160, + 24 + ], + [ + 167, + 12 + ], + [ + 176, + 12 + ], + [ + 183, + 16 + ], + [ + 184, + 16 + ], + [ + 190, + 19 + ], + [ + 193, + 19 + ], + [ + 194, + 19 + ], + [ + 198, + 17 + ], + [ + 199, + 17 + ], + [ + 206, + 20 + ], + [ + 209, + 18 + ], + [ + 210, + 18 + ], + [ + 214, + 25 + ], + [ + 215, + 25 + ], + [ + 217, + 23 + ], + [ + 218, + 23 + ], + [ + 224, + 18 + ], + [ + 226, + 22 + ], + [ + 229, + 23 + ], + [ + 237, + 29 + ], + [ + 244, + 22 + ], + [ + 249, + 26 + ], + [ + 253, + 25 + ], + [ + 256, + 19 + ], + [ + 261, + 18 + ], + [ + 264, + 22 + ], + [ + 273, + 29 + ], + [ + 277, + 38 + ], + [ + 281, + 23 + ], + [ + 311, + 26 + ], + [ + 314, + 26 + ], + [ + 317, + 27 + ], + [ + 333, + 16 + ], + [ + 339, + 16 + ], + [ + 343, + 15 + ], + [ + 346, + 15 + ], + [ + 351, + 25 + ], + [ + 359, + 25 + ], + [ + 367, + 21 + ], + [ + 378, + 14 + ], + [ + 387, + 16 + ], + [ + 393, + 12 + ], + [ + 396, + 22 + ], + [ + 406, + 27 + ], + [ + 416, + 14 + ], + [ + 422, + 23 + ], + [ + 425, + 23 + ], + [ + 429, + 21 + ], + [ + 435, + 19 + ], + [ + 446, + 34 + ], + [ + 454, + 28 + ], + [ + 466, + 34 + ], + [ + 477, + 34 + ], + [ + 482, + 34 + ], + [ + 493, + 28 + ], + [ + 502, + 25 + ], + [ + 505, + 29 + ], + [ + 513, + 25 + ], + [ + 521, + 29 + ], + [ + 532, + 29 + ], + [ + 538, + 28 + ], + [ + 542, + 34 + ], + [ + 561, + 34 + ], + [ + 581, + 34 + ], + [ + 587, + 16 + ], + [ + 593, + 14 + ], + [ + 599, + 20 + ], + [ + 605, + 23 + ], + [ + 617, + 35 + ], + [ + 651, + 35 + ], + [ + 661, + 27 + ], + [ + 664, + 33 + ], + [ + 672, + 26 + ], + [ + 678, + 14 + ], + [ + 684, + 14 + ], + [ + 688, + 17 + ], + [ + 704, + 22 + ], + [ + 740, + 18 + ], + [ + 758, + 20 + ], + [ + 761, + 19 + ], + [ + 764, + 32 + ], + [ + 771, + 18 + ], + [ + 793, + 20 + ], + [ + 804, + 33 + ], + [ + 810, + 31 + ], + [ + 818, + 21 + ], + [ + 826, + 13 + ], + [ + 836, + 14 + ], + [ + 839, + 18 + ], + [ + 848, + 19 + ], + [ + 858, + 19 + ], + [ + 867, + 22 + ], + [ + 876, + 22 + ], + [ + 882, + 17 + ], + [ + 891, + 14 + ], + [ + 912, + 15 + ], + [ + 916, + 33 + ], + [ + 954, + 18 + ], + [ + 957, + 19 + ], + [ + 960, + 27 + ], + [ + 963, + 24 + ], + [ + 966, + 25 + ], + [ + 970, + 32 + ], + [ + 974, + 13 + ], + [ + 979, + 12 + ], + [ + 984, + 31 + ], + [ + 989, + 21 + ], + [ + 1015, + 20 + ], + [ + 1061, + 21 + ], + [ + 1083, + 22 + ], + [ + 1088, + 30 + ], + [ + 1093, + 29 + ], + [ + 1097, + 23 + ], + [ + 1101, + 17 + ] + ], + "doc": "~Private~", + "range": [ + [ + 19, + 0 + ], + [ + 1102, + 31 + ] + ] + } + }, + "34": { + "24": { + "name": "verticalScrollMargin", + "type": "primitive", + "range": [ + [ + 34, + 24 + ], + [ + 34, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "35": { + "26": { + "name": "horizontalScrollMargin", + "type": "primitive", + "range": [ + [ + 35, + 26 + ], + [ + 35, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "36": { + "29": { + "name": "horizontalScrollbarHeight", + "type": "primitive", + "range": [ + [ + 36, + 29 + ], + [ + 36, + 30 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "37": { + "26": { + "name": "verticalScrollbarWidth", + "type": "primitive", + "range": [ + [ + 37, + 26 + ], + [ + 37, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "38": { + "36": { + "name": "scopedCharacterWidthsChangeCount", + "type": "primitive", + "range": [ + [ + 38, + 36 + ], + [ + 38, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "40": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 40, + 15 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 70, + 19 + ], + [ + 78, + 1 + ] + ], + "doc": "~Private~" + } + }, + "78": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 78, + 21 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 8 + ], + [ + 91, + 1 + ] + ], + "doc": "~Private~" + } + }, + "91": { + "24": { + "name": "updateAllScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 24 + ], + [ + 97, + 1 + ] + ], + "doc": "~Private~" + } + }, + "97": { + "15": { + "name": "emitChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventProperties", + "refreshMarkers" + ], + "range": [ + [ + 97, + 15 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "28": { + "name": "updateWrappedScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 28 + ], + [ + 115, + 1 + ] + ], + "doc": "~Private~" + } + }, + "115": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 115, + 14 + ], + [ + 115, + 62 + ] + ], + "doc": " Private: Sets the visibility of the tokenized buffer.\n\nvisible - A {Boolean} indicating of the tokenized buffer is shown " + } + }, + "117": { + "27": { + "name": "getVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 27 + ], + [ + 117, + 50 + ] + ], + "doc": "~Private~" + } + }, + "118": { + "27": { + "name": "setVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 118, + 27 + ], + [ + 118, + 74 + ] + ] + } + }, + "120": { + "29": { + "name": "getHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 120, + 29 + ], + [ + 120, + 54 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "29": { + "name": "setHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 121, + 29 + ], + [ + 121, + 80 + ] + ] + } + }, + "123": { + "32": { + "name": "getHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 123, + 32 + ], + [ + 123, + 60 + ] + ], + "doc": "~Private~" + } + }, + "124": { + "32": { + "name": "setHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 124, + 32 + ], + [ + 124, + 89 + ] + ] + } + }, + "126": { + "29": { + "name": "getVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 29 + ], + [ + 126, + 54 + ] + ], + "doc": "~Private~" + } + }, + "127": { + "29": { + "name": "setVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 127, + 29 + ], + [ + 127, + 80 + ] + ] + } + }, + "129": { + "13": { + "name": "getHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 129, + 13 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "13": { + "name": "setHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 138, + 13 + ], + [ + 138, + 32 + ] + ], + "doc": "~Private~" + } + }, + "140": { + "19": { + "name": "getClientHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 140, + 19 + ], + [ + 146, + 1 + ] + ], + "doc": "~Private~" + } + }, + "146": { + "18": { + "name": "getClientWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 146, + 18 + ], + [ + 152, + 1 + ] + ], + "doc": "~Private~" + } + }, + "152": { + "26": { + "name": "horizontallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 152, + 26 + ], + [ + 160, + 1 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "24": { + "name": "verticallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 160, + 24 + ], + [ + 167, + 1 + ] + ], + "doc": "~Private~" + } + }, + "167": { + "12": { + "name": "getWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 167, + 12 + ], + [ + 176, + 1 + ] + ], + "doc": "~Private~" + } + }, + "176": { + "12": { + "name": "setWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "newWidth" + ], + "range": [ + [ + 176, + 12 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "16": { + "name": "getScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 183, + 16 + ], + [ + 183, + 28 + ] + ], + "doc": "~Private~" + } + }, + "184": { + "16": { + "name": "setScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 184, + 16 + ], + [ + 190, + 1 + ] + ] + } + }, + "190": { + "19": { + "name": "getMaxScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 19 + ], + [ + 193, + 1 + ] + ], + "doc": "~Private~" + } + }, + "193": { + "19": { + "name": "getScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 193, + 19 + ], + [ + 193, + 41 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "19": { + "name": "setScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 194, + 19 + ], + [ + 198, + 1 + ] + ] + } + }, + "198": { + "17": { + "name": "getScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 198, + 17 + ], + [ + 198, + 30 + ] + ], + "doc": "~Private~" + } + }, + "199": { + "17": { + "name": "setScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 199, + 17 + ], + [ + 206, + 1 + ] + ] + } + }, + "206": { + "20": { + "name": "getMaxScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 206, + 20 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "18": { + "name": "getScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 209, + 18 + ], + [ + 209, + 40 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "18": { + "name": "setScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 210, + 18 + ], + [ + 214, + 1 + ] + ] + } + }, + "214": { + "25": { + "name": "getLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 214, + 25 + ], + [ + 214, + 46 + ] + ], + "doc": "~Private~" + } + }, + "215": { + "25": { + "name": "setLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 215, + 25 + ], + [ + 215, + 68 + ] + ] + } + }, + "217": { + "23": { + "name": "getDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 217, + 23 + ], + [ + 217, + 42 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "23": { + "name": "setDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultCharWidth" + ], + "range": [ + [ + 218, + 23 + ], + [ + 224, + 1 + ] + ] + } + }, + "224": { + "18": { + "name": "getCursorWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 18 + ], + [ + 224, + 21 + ] + ], + "doc": "~Private~" + } + }, + "226": { + "22": { + "name": "getScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char" + ], + "range": [ + [ + 226, + 22 + ], + [ + 229, + 1 + ] + ], + "doc": "~Private~" + } + }, + "229": { + "23": { + "name": "getScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames" + ], + "range": [ + [ + 229, + 23 + ], + [ + 237, + 1 + ] + ], + "doc": "~Private~" + } + }, + "237": { + "29": { + "name": "batchCharacterMeasurement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 237, + 29 + ], + [ + 244, + 1 + ] + ], + "doc": "~Private~" + } + }, + "244": { + "22": { + "name": "setScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char", + "width" + ], + "range": [ + [ + 244, + 22 + ], + [ + 249, + 1 + ] + ], + "doc": "~Private~" + } + }, + "249": { + "26": { + "name": "characterWidthsChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 249, + 26 + ], + [ + 253, + 1 + ] + ], + "doc": "~Private~" + } + }, + "253": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 253, + 25 + ], + [ + 256, + 1 + ] + ], + "doc": "~Private~" + } + }, + "256": { + "19": { + "name": "getScrollHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 19 + ], + [ + 261, + 1 + ] + ], + "doc": "~Private~" + } + }, + "261": { + "18": { + "name": "getScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 18 + ], + [ + 264, + 1 + ] + ], + "doc": "~Private~" + } + }, + "264": { + "22": { + "name": "getVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 264, + 22 + ], + [ + 273, + 1 + ] + ], + "doc": "~Private~" + } + }, + "273": { + "29": { + "name": "intersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 273, + 29 + ], + [ + 277, + 1 + ] + ], + "doc": "~Private~" + } + }, + "277": { + "38": { + "name": "selectionIntersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 277, + 38 + ], + [ + 281, + 1 + ] + ], + "doc": "~Private~" + } + }, + "281": { + "23": { + "name": "scrollToScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 281, + 23 + ], + [ + 311, + 1 + ] + ], + "doc": "~Private~" + } + }, + "311": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 311, + 26 + ], + [ + 314, + 1 + ] + ], + "doc": "~Private~" + } + }, + "314": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 314, + 26 + ], + [ + 317, + 1 + ] + ], + "doc": "~Private~" + } + }, + "317": { + "27": { + "name": "pixelRectForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 317, + 27 + ], + [ + 333, + 1 + ] + ], + "doc": "~Private~" + } + }, + "333": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 333, + 16 + ], + [ + 339, + 1 + ] + ], + "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " + } + }, + "339": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 339, + 16 + ], + [ + 343, + 1 + ] + ], + "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " + } + }, + "343": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 343, + 15 + ], + [ + 343, + 38 + ] + ], + "doc": "Deprecated: Use the softWrap property directly " + } + }, + "346": { + "15": { + "name": "getSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 15 + ], + [ + 346, + 26 + ] + ], + "doc": "Deprecated: Use the softWrap property directly " + } + }, + "351": { + "25": { + "name": "setEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorWidthInChars" + ], + "range": [ + [ + 351, + 25 + ], + [ + 359, + 1 + ] + ], + "doc": " Private: Set the number of characters that fit horizontally in the editor.\n\neditorWidthInChars - A {Number} of characters. " + } + }, + "359": { + "25": { + "name": "getEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 359, + 25 + ], + [ + 367, + 1 + ] + ], + "doc": "Private: Returns the editor width in characters for soft wrap. " + } + }, + "367": { + "21": { + "name": "getSoftWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 367, + 21 + ], + [ + 378, + 1 + ] + ], + "doc": "~Private~" + } + }, + "378": { + "14": { + "name": "lineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 378, + 14 + ], + [ + 387, + 1 + ] + ], + "doc": " Private: Gets the screen line for the given screen row.\n\nscreenRow - A {Number} indicating the screen row.\n\nReturns a {ScreenLine}. " + } + }, + "387": { + "16": { + "name": "linesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 387, + 16 + ], + [ + 393, + 1 + ] + ], + "doc": " Private: Gets the screen lines for the given screen row range.\n\nstartRow - A {Number} indicating the beginning screen row.\nendRow - A {Number} indicating the ending screen row.\n\nReturns an {Array} of {ScreenLine}s. " + } + }, + "393": { + "12": { + "name": "getLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 393, + 12 + ], + [ + 396, + 1 + ] + ], + "doc": " Private: Gets all the screen lines.\n\nReturns an {Array} of {ScreenLines}s. " + } + }, + "396": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 396, + 22 + ], + [ + 406, + 1 + ] + ], + "doc": "~Private~" + } + }, + "406": { + "27": { + "name": "bufferRowsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 406, + 27 + ], + [ + 416, + 1 + ] + ], + "doc": " Private: Given starting and ending screen rows, this returns an array of the\nbuffer rows corresponding to every screen row in the range\n\nstartScreenRow - The screen row {Number} to start at\nendScreenRow - The screen row {Number} to end at (default: the last screen row)\n\nReturns an {Array} of buffer rows as {Numbers}s. " + } + }, + "416": { + "14": { + "name": "createFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 416, + 14 + ], + [ + 422, + 1 + ] + ], + "doc": " Private: Creates a new fold between two row numbers.\n\nstartRow - The row {Number} to start folding at\nendRow - The row {Number} to end the fold\n\nReturns the new {Fold}. " + } + }, + "422": { + "23": { + "name": "isFoldedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 422, + 23 + ], + [ + 425, + 1 + ] + ], + "doc": "~Private~" + } + }, + "425": { + "23": { + "name": "isFoldedAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 425, + 23 + ], + [ + 429, + 1 + ] + ], + "doc": "~Private~" + } + }, + "429": { + "21": { + "name": "destroyFoldWithId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 429, + 21 + ], + [ + 435, + 1 + ] + ], + "doc": "Private: Destroys the fold with the given id " + } + }, + "435": { + "19": { + "name": "unfoldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 435, + 19 + ], + [ + 446, + 1 + ] + ], + "doc": " Private: Removes any folds found that contain the given buffer row.\n\nbufferRow - The buffer row {Number} to check against " + } + }, + "446": { + "34": { + "name": "largestFoldStartingAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 446, + 34 + ], + [ + 454, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold} or null if none exists. " + } + }, + "454": { + "28": { + "name": "foldsStartingAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 454, + 28 + ], + [ + 466, + 1 + ] + ], + "doc": " Public: Given a buffer row, this returns all folds that start there.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " + } + }, + "466": { + "34": { + "name": "largestFoldStartingAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 466, + 34 + ], + [ + 477, + 1 + ] + ], + "doc": " Private: Given a screen row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nscreenRow - A {Number} indicating the screen row\n\nReturns a {Fold}. " + } + }, + "477": { + "34": { + "name": "largestFoldContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 477, + 34 + ], + [ + 482, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns the largest fold that includes it.\n\nLargest is defined as the fold whose difference between its start and end rows\nis the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold}. " + } + }, + "482": { + "34": { + "name": "outermostFoldsInBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 482, + 34 + ], + [ + 493, + 1 + ] + ], + "doc": " Private: Returns the folds in the given row range (exclusive of end row) that are\nnot contained by any other folds. " + } + }, + "493": { + "28": { + "name": "foldsContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 493, + 28 + ], + [ + 502, + 1 + ] + ], + "doc": " Public: Given a buffer row, this returns folds that include it.\n\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " + } + }, + "502": { + "25": { + "name": "screenRowForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 502, + 25 + ], + [ + 505, + 1 + ] + ], + "doc": " Private: Given a buffer row, this converts it into a screen row.\n\nbufferRow - A {Number} representing a buffer row\n\nReturns a {Number}. " + } + }, + "505": { + "29": { + "name": "lastScreenRowForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 505, + 29 + ], + [ + 513, + 1 + ] + ], + "doc": "~Private~" + } + }, + "513": { + "25": { + "name": "bufferRowForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 513, + 25 + ], + [ + 521, + 1 + ] + ], + "doc": " Private: Given a screen row, this converts it into a buffer row.\n\nscreenRow - A {Number} representing a screen row\n\nReturns a {Number}. " + } + }, + "521": { + "29": { + "name": "screenRangeForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 521, + 29 + ], + [ + 532, + 1 + ] + ], + "doc": " Private: Given a buffer range, this converts it into a screen position.\n\nbufferRange - The {Range} to convert\n\nReturns a {Range}. " + } + }, + "532": { + "29": { + "name": "bufferRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 532, + 29 + ], + [ + 538, + 1 + ] + ], + "doc": " Private: Given a screen range, this converts it into a buffer position.\n\nscreenRange - The {Range} to convert\n\nReturns a {Range}. " + } + }, + "538": { + "28": { + "name": "pixelRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "clip" + ], + "range": [ + [ + 538, + 28 + ], + [ + 542, + 1 + ] + ], + "doc": "~Private~" + } + }, + "542": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "clip" + ], + "range": [ + [ + 542, + 34 + ], + [ + 561, + 1 + ] + ], + "doc": "~Private~" + } + }, + "561": { + "34": { + "name": "screenPositionForPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 561, + 34 + ], + [ + 581, + 1 + ] + ], + "doc": "~Private~" + } + }, + "581": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 581, + 34 + ], + [ + 587, + 1 + ] + ], + "doc": "~Private~" + } + }, + "587": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 587, + 16 + ], + [ + 593, + 1 + ] + ], + "doc": " Private: Gets the number of screen lines.\n\nReturns a {Number}. " + } + }, + "593": { + "14": { + "name": "getLastRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 593, + 14 + ], + [ + 599, + 1 + ] + ], + "doc": " Private: Gets the number of the last screen line.\n\nReturns a {Number}. " + } + }, + "599": { + "20": { + "name": "getMaxLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 599, + 20 + ], + [ + 605, + 1 + ] + ], + "doc": " Private: Gets the length of the longest screen line.\n\nReturns a {Number}. " + } + }, + "605": { + "23": { + "name": "getLongestScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 605, + 23 + ], + [ + 617, + 1 + ] + ], + "doc": " Private: Gets the row number of the longest screen line.\n\nReturn a {} " + } + }, + "617": { + "35": { + "name": "screenPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 617, + 35 + ], + [ + 651, + 1 + ] + ], + "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " + } + }, + "651": { + "35": { + "name": "bufferPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 651, + 35 + ], + [ + 661, + 1 + ] + ], + "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " + } + }, + "661": { + "27": { + "name": "scopesForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 661, + 27 + ], + [ + 664, + 1 + ] + ], + "doc": " Private: Retrieves the grammar's token scopes for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}\n\nReturns an {Array} of {String}s. " + } + }, + "664": { + "33": { + "name": "bufferRangeForScopeAtPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "position" + ], + "range": [ + [ + 664, + 33 + ], + [ + 672, + 1 + ] + ], + "doc": "~Private~" + } + }, + "672": { + "26": { + "name": "tokenForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 672, + 26 + ], + [ + 678, + 1 + ] + ], + "doc": " Private: Retrieves the grammar's token for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}.\n\nReturns a {Token}. " + } + }, + "678": { + "14": { + "name": "getGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 678, + 14 + ], + [ + 684, + 1 + ] + ], + "doc": " Private: Get the grammar for this buffer.\n\nReturns the current {Grammar} or the {NullGrammar}. " + } + }, + "684": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 684, + 14 + ], + [ + 688, + 1 + ] + ], + "doc": " Private: Sets the grammar for the buffer.\n\ngrammar - Sets the new grammar rules " + } + }, + "688": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 688, + 17 + ], + [ + 704, + 1 + ] + ], + "doc": "Private: Reloads the current grammar. " + } + }, + "704": { + "22": { + "name": "clipScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 704, + 22 + ], + [ + 740, + 1 + ] + ], + "doc": " Private: Given a position, this clips it to a real position.\n\nFor example, if `position`'s row exceeds the row count of the buffer,\nor if its column goes beyond a line's length, this \"sanitizes\" the value\nto a real position.\n\nposition - The {Point} to clip\noptions - A hash with the following values:\n wrapBeyondNewlines: if `true`, continues wrapping past newlines\n wrapAtSoftNewlines: if `true`, continues wrapping past soft newlines\n screenLine: if `true`, indicates that you're using a line number, not a row number\n\nReturns the new, clipped {Point}. Note that this could be the same as `position` if no clipping was performed. " + } + }, + "740": { + "18": { + "name": "findWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line", + "softWrapColumn" + ], + "range": [ + [ + 740, + 18 + ], + [ + 758, + 1 + ] + ], + "doc": " Private: Given a line, finds the point where it would wrap.\n\nline - The {String} to check\nsoftWrapColumn - The {Number} where you want soft wrapping to occur\n\nReturns a {Number} representing the `line` position where the wrap would take place.\nReturns `null` if a wrap wouldn't occur. " + } + }, + "758": { + "20": { + "name": "rangeForAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 758, + 20 + ], + [ + 761, + 1 + ] + ], + "doc": " Private: Calculates a {Range} representing the start of the {TextBuffer} until the end.\n\nReturns a {Range}. " + } + }, + "761": { + "19": { + "name": "decorationForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 761, + 19 + ], + [ + 764, + 1 + ] + ], + "doc": "~Private~" + } + }, + "764": { + "32": { + "name": "decorationsForScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 764, + 32 + ], + [ + 771, + 1 + ] + ], + "doc": "~Private~" + } + }, + "771": { + "18": { + "name": "decorateMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "decorationParams" + ], + "range": [ + [ + 771, + 18 + ], + [ + 793, + 1 + ] + ], + "doc": "~Private~" + } + }, + "793": { + "20": { + "name": "removeDecoration", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decoration" + ], + "range": [ + [ + 793, + 20 + ], + [ + 804, + 1 + ] + ], + "doc": "~Private~" + } + }, + "804": { + "33": { + "name": "removeAllDecorationsForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 804, + 33 + ], + [ + 810, + 1 + ] + ], + "doc": "~Private~" + } + }, + "810": { + "31": { + "name": "removedAllMarkerDecorations", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 810, + 31 + ], + [ + 818, + 1 + ] + ], + "doc": "~Private~" + } + }, + "818": { + "21": { + "name": "decorationUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decoration" + ], + "range": [ + [ + 818, + 21 + ], + [ + 826, + 1 + ] + ], + "doc": "~Private~" + } + }, + "826": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 826, + 13 + ], + [ + 836, + 1 + ] + ], + "doc": " Private: Retrieves a {DisplayBufferMarker} based on its id.\n\nid - A {Number} representing a marker id\n\nReturns the {DisplayBufferMarker} (if it exists). " + } + }, + "836": { + "14": { + "name": "getMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 836, + 14 + ], + [ + 839, + 1 + ] + ], + "doc": " Private: Retrieves the active markers in the buffer.\n\nReturns an {Array} of existing {DisplayBufferMarker}s. " + } + }, + "839": { + "18": { + "name": "getMarkerCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 839, + 18 + ], + [ + 848, + 1 + ] + ], + "doc": "~Private~" + } + }, + "848": { + "19": { + "name": "markScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 848, + 19 + ], + [ + 858, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given screen range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "858": { + "19": { + "name": "markBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range", + "options" + ], + "range": [ + [ + 858, + 19 + ], + [ + 867, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given buffer range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "867": { + "22": { + "name": "markScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 867, + 22 + ], + [ + 876, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given screen position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "876": { + "22": { + "name": "markBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 876, + 22 + ], + [ + 882, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given buffer position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "882": { + "17": { + "name": "destroyMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 882, + 17 + ], + [ + 891, + 1 + ] + ], + "doc": " Public: Removes the marker with the given id.\n\nid - The {Number} of the ID to remove " + } + }, + "891": { + "14": { + "name": "findMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 891, + 14 + ], + [ + 912, + 1 + ] + ], + "doc": " Private: Finds the first marker satisfying the given attributes\n\nRefer to {DisplayBuffer::findMarkers} for details.\n\nReturns a {DisplayBufferMarker} or null " + } + }, + "912": { + "15": { + "name": "findMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 912, + 15 + ], + [ + 916, + 1 + ] + ], + "doc": " Public: Find all markers satisfying a set of parameters.\n\nparams - An {Object} containing parameters that all returned markers must\n satisfy. Unreserved keys will be compared against the markers' custom\n properties. There are also the following reserved keys with special\n meaning for the query:\n :startBufferRow - A {Number}. Only returns markers starting at this row in\n buffer coordinates.\n :endBufferRow - A {Number}. Only returns markers ending at this row in\n buffer coordinates.\n :containsBufferRange - A {Range} or range-compatible {Array}. Only returns\n markers containing this range in buffer coordinates.\n :containsBufferPosition - A {Point} or point-compatible {Array}. Only\n returns markers containing this position in buffer coordinates.\n :containedInBufferRange - A {Range} or range-compatible {Array}. Only\n returns markers contained within this range.\n\nReturns an {Array} of {DisplayBufferMarker}s " + } + }, + "916": { + "33": { + "name": "translateToBufferMarkerParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 916, + 33 + ], + [ + 954, + 1 + ] + ], + "doc": "~Private~" + } + }, + "954": { + "18": { + "name": "findFoldMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 954, + 18 + ], + [ + 957, + 1 + ] + ], + "doc": "~Private~" + } + }, + "957": { + "19": { + "name": "findFoldMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 957, + 19 + ], + [ + 960, + 1 + ] + ], + "doc": "~Private~" + } + }, + "960": { + "27": { + "name": "getFoldMarkerAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 960, + 27 + ], + [ + 963, + 1 + ] + ], + "doc": "~Private~" + } + }, + "963": { + "24": { + "name": "pauseMarkerObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 963, + 24 + ], + [ + 966, + 1 + ] + ], + "doc": "~Private~" + } + }, + "966": { + "25": { + "name": "resumeMarkerObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 966, + 25 + ], + [ + 970, + 1 + ] + ], + "doc": "~Private~" + } + }, + "970": { + "32": { + "name": "refreshMarkerScreenPositions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 970, + 32 + ], + [ + 974, + 1 + ] + ], + "doc": "~Private~" + } + }, + "974": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 974, + 13 + ], + [ + 979, + 1 + ] + ], + "doc": "~Private~" + } + }, + "979": { + "12": { + "name": "logLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 979, + 12 + ], + [ + 984, + 1 + ] + ], + "doc": "~Private~" + } + }, + "984": { + "31": { + "name": "handleTokenizedBufferChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tokenizedBufferChange" + ], + "range": [ + [ + 984, + 31 + ], + [ + 989, + 1 + ] + ], + "doc": "~Private~" + } + }, + "989": { + "21": { + "name": "updateScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "endBufferRow", + "bufferDelta", + "options" + ], + "range": [ + [ + 989, + 21 + ], + [ + 1015, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1015": { + "20": { + "name": "buildScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "endBufferRow" + ], + "range": [ + [ + 1015, + 20 + ], + [ + 1061, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1061": { + "21": { + "name": "findMaxLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow", + "newScreenLines", + "screenDelta" + ], + "range": [ + [ + 1061, + 21 + ], + [ + 1083, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1083": { + "22": { + "name": "computeScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1083, + 22 + ], + [ + 1088, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1088": { + "30": { + "name": "handleBufferMarkersUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1088, + 30 + ], + [ + 1093, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1093": { + "29": { + "name": "handleBufferMarkerCreated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1093, + 29 + ], + [ + 1097, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1097": { + "23": { + "name": "createFoldForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1097, + 23 + ], + [ + 1101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1101": { + "17": { + "name": "foldForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1101, + 17 + ], + [ + 1102, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 19 + }, + "src/editor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "10": { + "type": "import", + "range": [ + [ + 0, + 10 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$$", + "exportsProperty": "$$$" + } + }, + "1": { + "13": { + "name": "GutterView", + "type": "import", + "range": [ + [ + 1, + 13 + ], + [ + 1, + 35 + ] + ], + "bindingType": "variable", + "path": "./gutter-view" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "3": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 3, + 9 + ], + [ + 3, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "4": { + "13": { + "name": "CursorView", + "type": "import", + "range": [ + [ + 4, + 13 + ], + [ + 4, + 35 + ] + ], + "bindingType": "variable", + "path": "./cursor-view" + } + }, + "5": { + "16": { + "name": "SelectionView", + "type": "import", + "range": [ + [ + 5, + 16 + ], + [ + 5, + 41 + ] + ], + "bindingType": "variable", + "path": "./selection-view" + } + }, + "6": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 6, + 5 + ], + [ + 6, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2" + } + }, + "7": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "8": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 8, + 13 + ], + [ + 8, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer" + } + }, + "10": { + "15": { + "name": "MeasureRange", + "type": "function", + "range": [ + [ + 10, + 15 + ], + [ + 10, + 36 + ] + ] + } + }, + "11": { + "17": { + "type": "primitive", + "range": [ + [ + 11, + 17 + ], + [ + 11, + 59 + ] + ] + }, + "31": { + "name": "acceptNode", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 11, + 31 + ], + [ + 11, + 57 + ] + ], + "doc": null + } + }, + "12": { + "10": { + "type": "primitive", + "range": [ + [ + 12, + 10 + ], + [ + 12, + 21 + ] + ] + } + }, + "13": { + "17": { + "name": "1000", + "type": "primitive", + "range": [ + [ + 13, + 17 + ], + [ + 13, + 20 + ] + ] + } + }, + "41": { + "0": { + "type": "class", + "name": "EditorView", + "bindingType": "exports", + "classProperties": [ + [ + 42, + 24 + ], + [ + 44, + 4 + ], + [ + 61, + 17 + ], + [ + 63, + 12 + ], + [ + 76, + 12 + ], + [ + 1271, + 21 + ], + [ + 1485, + 18 + ], + [ + 1513, + 21 + ], + [ + 1529, + 14 + ], + [ + 1533, + 13 + ], + [ + 1537, + 23 + ] + ], + "prototypeProperties": [ + [ + 81, + 17 + ], + [ + 82, + 17 + ], + [ + 83, + 14 + ], + [ + 84, + 13 + ], + [ + 85, + 14 + ], + [ + 86, + 15 + ], + [ + 87, + 18 + ], + [ + 88, + 13 + ], + [ + 89, + 13 + ], + [ + 90, + 10 + ], + [ + 91, + 12 + ], + [ + 92, + 16 + ], + [ + 93, + 18 + ], + [ + 94, + 14 + ], + [ + 95, + 17 + ], + [ + 96, + 20 + ], + [ + 97, + 24 + ], + [ + 106, + 14 + ], + [ + 141, + 12 + ], + [ + 251, + 13 + ], + [ + 255, + 11 + ], + [ + 259, + 11 + ], + [ + 263, + 14 + ], + [ + 266, + 20 + ], + [ + 271, + 19 + ], + [ + 277, + 12 + ], + [ + 284, + 10 + ], + [ + 292, + 15 + ], + [ + 298, + 21 + ], + [ + 310, + 17 + ], + [ + 322, + 22 + ], + [ + 332, + 22 + ], + [ + 337, + 22 + ], + [ + 341, + 16 + ], + [ + 345, + 13 + ], + [ + 354, + 16 + ], + [ + 436, + 21 + ], + [ + 476, + 28 + ], + [ + 479, + 33 + ], + [ + 505, + 15 + ], + [ + 538, + 8 + ], + [ + 586, + 12 + ], + [ + 589, + 12 + ], + [ + 592, + 27 + ], + [ + 600, + 13 + ], + [ + 618, + 16 + ], + [ + 624, + 14 + ], + [ + 631, + 15 + ], + [ + 639, + 18 + ], + [ + 646, + 26 + ], + [ + 654, + 26 + ], + [ + 662, + 26 + ], + [ + 673, + 25 + ], + [ + 684, + 39 + ], + [ + 696, + 31 + ], + [ + 702, + 18 + ], + [ + 706, + 18 + ], + [ + 710, + 25 + ], + [ + 713, + 26 + ], + [ + 716, + 21 + ], + [ + 723, + 15 + ], + [ + 733, + 15 + ], + [ + 746, + 15 + ], + [ + 752, + 17 + ], + [ + 762, + 17 + ], + [ + 770, + 17 + ], + [ + 776, + 10 + ], + [ + 786, + 13 + ], + [ + 791, + 14 + ], + [ + 796, + 11 + ], + [ + 801, + 13 + ], + [ + 808, + 11 + ], + [ + 811, + 10 + ], + [ + 816, + 16 + ], + [ + 823, + 17 + ], + [ + 827, + 18 + ], + [ + 830, + 17 + ], + [ + 836, + 20 + ], + [ + 839, + 20 + ], + [ + 843, + 21 + ], + [ + 846, + 20 + ], + [ + 852, + 23 + ], + [ + 855, + 36 + ], + [ + 859, + 21 + ], + [ + 863, + 20 + ], + [ + 884, + 22 + ], + [ + 900, + 23 + ], + [ + 912, + 25 + ], + [ + 924, + 25 + ], + [ + 943, + 12 + ], + [ + 950, + 22 + ], + [ + 955, + 16 + ], + [ + 970, + 24 + ], + [ + 978, + 17 + ], + [ + 994, + 21 + ], + [ + 1006, + 22 + ], + [ + 1012, + 24 + ], + [ + 1023, + 25 + ], + [ + 1031, + 24 + ], + [ + 1034, + 14 + ], + [ + 1046, + 25 + ], + [ + 1057, + 23 + ], + [ + 1084, + 38 + ], + [ + 1102, + 23 + ], + [ + 1144, + 24 + ], + [ + 1158, + 20 + ], + [ + 1173, + 13 + ], + [ + 1178, + 19 + ], + [ + 1201, + 32 + ], + [ + 1214, + 28 + ], + [ + 1223, + 27 + ], + [ + 1234, + 22 + ], + [ + 1237, + 27 + ], + [ + 1241, + 32 + ], + [ + 1244, + 34 + ], + [ + 1249, + 21 + ], + [ + 1256, + 21 + ], + [ + 1298, + 32 + ], + [ + 1304, + 26 + ], + [ + 1313, + 27 + ], + [ + 1316, + 33 + ], + [ + 1325, + 34 + ], + [ + 1334, + 34 + ], + [ + 1348, + 32 + ], + [ + 1371, + 19 + ], + [ + 1416, + 26 + ], + [ + 1424, + 26 + ], + [ + 1432, + 28 + ], + [ + 1435, + 32 + ], + [ + 1440, + 32 + ], + [ + 1470, + 23 + ], + [ + 1481, + 23 + ], + [ + 1563, + 23 + ], + [ + 1573, + 25 + ], + [ + 1575, + 18 + ], + [ + 1578, + 18 + ], + [ + 1581, + 20 + ] + ], + "doc": " Public: Represents the entire visual pane in Atom.\n\nThe EditorView manages the {Editor}, which manages the file buffers.\n\n## Requiring in packages\n\n```coffee\n{EditorView} = require 'atom'\n\nminiEditorView = new EditorView(mini: true)\n```\n\n## Iterating over the open editor views\n\n```coffee\nfor editorView in atom.workspaceView.getEditorViews()\n console.log(editorView.getEditor().getPath())\n```\n\n## Subscribing to every current and future editor\n\n```coffee\natom.workspace.eachEditorView (editorView) ->\n console.log(editorView.getEditor().getPath())\n``` ", + "range": [ + [ + 41, + 0 + ], + [ + 1583, + 35 + ] + ] + } + }, + "42": { + "24": { + "name": "characterWidthCache", + "type": "primitive", + "range": [ + [ + 42, + 24 + ], + [ + 42, + 25 + ] + ], + "bindingType": "classProperty" + } + }, + "44": { + "4": { + "name": "configDefaults", + "type": "primitive", + "range": [ + [ + 44, + 4 + ], + [ + 59, + 32 + ] + ], + "bindingType": "classProperty" + } + }, + "61": { + "17": { + "name": "nextEditorId", + "type": "primitive", + "range": [ + [ + 61, + 17 + ], + [ + 61, + 17 + ] + ], + "bindingType": "classProperty" + } + }, + "63": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 63, + 12 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "12": { + "name": "classes", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 76, + 12 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "17": { + "name": "vScrollMargin", + "type": "primitive", + "range": [ + [ + 81, + 17 + ], + [ + 81, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "82": { + "17": { + "name": "hScrollMargin", + "type": "primitive", + "range": [ + [ + 82, + 17 + ], + [ + 82, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "83": { + "14": { + "name": "lineHeight", + "type": "primitive", + "range": [ + [ + 83, + 14 + ], + [ + 83, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "84": { + "13": { + "name": "charWidth", + "type": "primitive", + "range": [ + [ + 84, + 13 + ], + [ + 84, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "85": { + "14": { + "name": "charHeight", + "type": "primitive", + "range": [ + [ + 85, + 14 + ], + [ + 85, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "86": { + "15": { + "name": "cursorViews", + "type": "primitive", + "range": [ + [ + 86, + 15 + ], + [ + 86, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "87": { + "18": { + "name": "selectionViews", + "type": "primitive", + "range": [ + [ + 87, + 18 + ], + [ + 87, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "88": { + "13": { + "name": "lineCache", + "type": "primitive", + "range": [ + [ + 88, + 13 + ], + [ + 88, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "89": { + "13": { + "name": "isFocused", + "type": "primitive", + "range": [ + [ + 89, + 13 + ], + [ + 89, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "90": { + "10": { + "name": "editor", + "type": "primitive", + "range": [ + [ + 90, + 10 + ], + [ + 90, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "91": { + "12": { + "name": "attached", + "type": "primitive", + "range": [ + [ + 91, + 12 + ], + [ + 91, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "92": { + "16": { + "name": "lineOverdraw", + "type": "primitive", + "range": [ + [ + 92, + 16 + ], + [ + 92, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "93": { + "18": { + "name": "pendingChanges", + "type": "primitive", + "range": [ + [ + 93, + 18 + ], + [ + 93, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "94": { + "14": { + "name": "newCursors", + "type": "primitive", + "range": [ + [ + 94, + 14 + ], + [ + 94, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "95": { + "17": { + "name": "newSelections", + "type": "primitive", + "range": [ + [ + 95, + 17 + ], + [ + 95, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "96": { + "20": { + "name": "redrawOnReattach", + "type": "primitive", + "range": [ + [ + 96, + 20 + ], + [ + 96, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "97": { + "24": { + "name": "bottomPaddingInLines", + "type": "primitive", + "range": [ + [ + 97, + 24 + ], + [ + 97, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "106": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorOrOptions" + ], + "range": [ + [ + 106, + 14 + ], + [ + 141, + 1 + ] + ], + "doc": " Private: The constructor for setting up an `EditorView` instance.\n\neditorOrOptions - Either an {Editor}, or an object with one property, `mini`.\n If `mini` is `true`, a \"miniature\" `Editor` is constructed.\n Typically, this is ideal for scenarios where you need an Atom editor,\n but without all the chrome, like scrollbars, gutter, _e.t.c._.\n\n " + } + }, + "141": { + "12": { + "name": "bindKeys", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 12 + ], + [ + 251, + 1 + ] + ], + "doc": " Private: Sets up the core Atom commands.\n\nSome commands are excluded from mini-editors. " + } + }, + "251": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 251, + 13 + ], + [ + 255, + 1 + ] + ], + "doc": " Public: Get the underlying editor model for this view.\n\nReturns an {Editor}. " + } + }, + "255": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 255, + 11 + ], + [ + 259, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.getText} " + } + }, + "259": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 259, + 11 + ], + [ + 263, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.setText} " + } + }, + "263": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 263, + 14 + ], + [ + 266, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.insertText} " + } + }, + "266": { + "20": { + "name": "setHeightInLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "heightInLines" + ], + "range": [ + [ + 266, + 20 + ], + [ + 271, + 1 + ] + ], + "doc": "~Private~" + } + }, + "271": { + "19": { + "name": "setWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "widthInChars" + ], + "range": [ + [ + 271, + 19 + ], + [ + 277, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.setEditorWidthInChars} " + } + }, + "277": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 277, + 12 + ], + [ + 284, + 1 + ] + ], + "doc": " Public: Emulates the \"page down\" key, where the last row of a buffer scrolls\nto become the first. " + } + }, + "284": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 10 + ], + [ + 292, + 1 + ] + ], + "doc": " Public: Emulates the \"page up\" key, where the frst row of a buffer scrolls\nto become the last. " + } + }, + "292": { + "15": { + "name": "getPageRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 15 + ], + [ + 298, + 1 + ] + ], + "doc": " Private: Gets the number of actual page rows existing in an editor.\n\nReturns a {Number}. " + } + }, + "298": { + "21": { + "name": "setShowInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showInvisibles" + ], + "range": [ + [ + 298, + 21 + ], + [ + 310, + 1 + ] + ], + "doc": " Public: Set whether invisible characters are shown.\n\nshowInvisibles - A {Boolean} which, if `true`, show invisible characters. " + } + }, + "310": { + "17": { + "name": "setInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 310, + 17 + ], + [ + 322, + 1 + ] + ], + "doc": " Public: Defines which characters are invisible.\n\ninvisibles - An {Object} defining the invisible characters:\n :eol - The end of line invisible {String} (default: `\\u00ac`).\n :space - The space invisible {String} (default: `\\u00b7`).\n :tab - The tab invisible {String} (default: `\\u00bb`).\n :cr - The carriage return invisible {String} (default: `\\u00a4`). " + } + }, + "322": { + "22": { + "name": "setShowIndentGuide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showIndentGuide" + ], + "range": [ + [ + 322, + 22 + ], + [ + 332, + 1 + ] + ], + "doc": " Public: Sets whether you want to show the indentation guides.\n\nshowIndentGuide - A {Boolean} you can set to `true` if you want to see the\n indentation guides. " + } + }, + "332": { + "22": { + "name": "setPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "placeholderText" + ], + "range": [ + [ + 332, + 22 + ], + [ + 337, + 1 + ] + ], + "doc": " Public: Set the text to appear in the editor when it is empty.\n\nThis only affects mini editors.\n\nplaceholderText - A {String} of text to display when empty. " + } + }, + "337": { + "22": { + "name": "getPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 337, + 22 + ], + [ + 341, + 1 + ] + ], + "doc": "~Private~" + } + }, + "341": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 341, + 16 + ], + [ + 345, + 1 + ] + ], + "doc": "Private: Checkout the HEAD revision of this editor's file. " + } + }, + "345": { + "13": { + "name": "configure", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 345, + 13 + ], + [ + 354, + 1 + ] + ], + "doc": "~Private~" + } + }, + "354": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 354, + 16 + ], + [ + 436, + 1 + ] + ], + "doc": "~Private~" + } + }, + "436": { + "21": { + "name": "handleInputEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 436, + 21 + ], + [ + 476, + 1 + ] + ], + "doc": "~Private~" + } + }, + "476": { + "28": { + "name": "bringHiddenInputIntoView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 476, + 28 + ], + [ + 479, + 1 + ] + ], + "doc": "~Private~" + } + }, + "479": { + "33": { + "name": "selectOnMousemoveUntilMouseup", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 479, + 33 + ], + [ + 505, + 1 + ] + ], + "doc": "~Private~" + } + }, + "505": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 505, + 15 + ], + [ + 538, + 1 + ] + ], + "doc": "~Private~" + } + }, + "538": { + "8": { + "name": "edit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 538, + 8 + ], + [ + 586, + 1 + ] + ], + "doc": "~Private~" + } + }, + "586": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 586, + 12 + ], + [ + 589, + 1 + ] + ], + "doc": "~Private~" + } + }, + "589": { + "12": { + "name": "setModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 589, + 12 + ], + [ + 592, + 1 + ] + ], + "doc": "~Private~" + } + }, + "592": { + "27": { + "name": "showBufferConflictAlert", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 592, + 27 + ], + [ + 600, + 1 + ] + ], + "doc": "~Private~" + } + }, + "600": { + "13": { + "name": "scrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop", + "options" + ], + "range": [ + [ + 600, + 13 + ], + [ + 618, + 1 + ] + ], + "doc": "~Private~" + } + }, + "618": { + "16": { + "name": "scrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 618, + 16 + ], + [ + 624, + 1 + ] + ], + "doc": "~Private~" + } + }, + "624": { + "14": { + "name": "scrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 624, + 14 + ], + [ + 631, + 1 + ] + ], + "doc": "~Private~" + } + }, + "631": { + "15": { + "name": "scrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 631, + 15 + ], + [ + 639, + 1 + ] + ], + "doc": "~Private~" + } + }, + "639": { + "18": { + "name": "scrollToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 639, + 18 + ], + [ + 646, + 1 + ] + ], + "doc": "Public: Scrolls the editor to the bottom. " + } + }, + "646": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 646, + 26 + ], + [ + 654, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the position of the most recently added\ncursor if it isn't current on screen.\n\nThe editor is centered around the cursor's position if possible. " + } + }, + "654": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 654, + 26 + ], + [ + 662, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given buffer position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " + } + }, + "662": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 662, + 26 + ], + [ + 673, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " + } + }, + "673": { + "25": { + "name": "scrollToPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition", + "options" + ], + "range": [ + [ + 673, + 25 + ], + [ + 684, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given pixel position.\n\npixelPosition - An object that represents a pixel position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or\n {Point}.\noptions - A hash with the following keys:\n :center - if `true`, the position is scrolled such that it's in\n the center of the editor " + } + }, + "684": { + "39": { + "name": "highlightFoldsContainingBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 684, + 39 + ], + [ + 696, + 1 + ] + ], + "doc": " Public: Highlight all the folds within the given buffer range.\n\n\"Highlighting\" essentially just adds the `fold-selected` class to the line's\nDOM element.\n\nbufferRange - The {Range} to check. " + } + }, + "696": { + "31": { + "name": "saveScrollPositionForEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 696, + 31 + ], + [ + 702, + 1 + ] + ], + "doc": "~Private~" + } + }, + "702": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 702, + 18 + ], + [ + 706, + 1 + ] + ], + "doc": "Public: Toggle soft tabs on the edit session. " + } + }, + "706": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 706, + 18 + ], + [ + 710, + 1 + ] + ], + "doc": "Public: Toggle soft wrap on the edit session. " + } + }, + "710": { + "25": { + "name": "calculateWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 710, + 25 + ], + [ + 713, + 1 + ] + ], + "doc": "~Private~" + } + }, + "713": { + "26": { + "name": "calculateHeightInLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 713, + 26 + ], + [ + 716, + 1 + ] + ], + "doc": "~Private~" + } + }, + "716": { + "21": { + "name": "getScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 716, + 21 + ], + [ + 723, + 1 + ] + ], + "doc": "~Private~" + } + }, + "723": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 723, + 15 + ], + [ + 733, + 1 + ] + ], + "doc": " Public: Enables/disables soft wrap on the editor.\n\nsoftWrap - A {Boolean} which, if `true`, enables soft wrap " + } + }, + "733": { + "15": { + "name": "setFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 733, + 15 + ], + [ + 746, + 1 + ] + ], + "doc": " Public: Sets the font size for the editor.\n\nfontSize - A {Number} indicating the font size in pixels. " + } + }, + "746": { + "15": { + "name": "getFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 746, + 15 + ], + [ + 752, + 1 + ] + ], + "doc": " Public: Retrieves the font size for the editor.\n\nReturns a {Number} indicating the font size in pixels. " + } + }, + "752": { + "17": { + "name": "setFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 752, + 17 + ], + [ + 762, + 1 + ] + ], + "doc": " Public: Sets the font family for the editor.\n\nfontFamily - A {String} identifying the CSS `font-family`. " + } + }, + "762": { + "17": { + "name": "getFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 762, + 17 + ], + [ + 762, + 38 + ] + ], + "doc": " Public: Gets the font family for the editor.\n\nReturns a {String} identifying the CSS `font-family`. " + } + }, + "770": { + "17": { + "name": "setLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 770, + 17 + ], + [ + 776, + 1 + ] + ], + "doc": " Public: Sets the line height of the editor.\n\nCalling this method has no effect when called on a mini editor.\n\nlineHeight - A {Number} without a unit suffix identifying the CSS\n`line-height`. " + } + }, + "776": { + "10": { + "name": "redraw", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 776, + 10 + ], + [ + 786, + 1 + ] + ], + "doc": "Public: Redraw the editor " + } + }, + "786": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 786, + 13 + ], + [ + 791, + 1 + ] + ], + "doc": "Public: Split the editor view left. " + } + }, + "791": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 791, + 14 + ], + [ + 796, + 1 + ] + ], + "doc": "Public: Split the editor view right. " + } + }, + "796": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 796, + 11 + ], + [ + 801, + 1 + ] + ], + "doc": "Public: Split the editor view up. " + } + }, + "801": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 801, + 13 + ], + [ + 808, + 1 + ] + ], + "doc": "Public: Split the editor view down. " + } + }, + "808": { + "11": { + "name": "getPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 808, + 11 + ], + [ + 811, + 1 + ] + ], + "doc": " Public: Get this view's pane.\n\nReturns a {Pane}. " + } + }, + "811": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "keepData" + ], + "range": [ + [ + 811, + 10 + ], + [ + 816, + 1 + ] + ], + "doc": "~Private~" + } + }, + "816": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 816, + 16 + ], + [ + 823, + 1 + ] + ], + "doc": "~Private~" + } + }, + "823": { + "17": { + "name": "getCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 823, + 17 + ], + [ + 827, + 1 + ] + ], + "doc": "~Private~" + } + }, + "827": { + "18": { + "name": "getCursorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 827, + 18 + ], + [ + 830, + 1 + ] + ], + "doc": "~Private~" + } + }, + "830": { + "17": { + "name": "addCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursor", + "options" + ], + "range": [ + [ + 830, + 17 + ], + [ + 836, + 1 + ] + ], + "doc": "~Private~" + } + }, + "836": { + "20": { + "name": "removeCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 836, + 20 + ], + [ + 839, + 1 + ] + ], + "doc": "~Private~" + } + }, + "839": { + "20": { + "name": "getSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 839, + 20 + ], + [ + 843, + 1 + ] + ], + "doc": "~Private~" + } + }, + "843": { + "21": { + "name": "getSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 843, + 21 + ], + [ + 846, + 1 + ] + ], + "doc": "~Private~" + } + }, + "846": { + "20": { + "name": "addSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 846, + 20 + ], + [ + 852, + 1 + ] + ], + "doc": "~Private~" + } + }, + "852": { + "23": { + "name": "removeSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selectionView" + ], + "range": [ + [ + 852, + 23 + ], + [ + 855, + 1 + ] + ], + "doc": "~Private~" + } + }, + "855": { + "36": { + "name": "removeAllCursorAndSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 855, + 36 + ], + [ + 859, + 1 + ] + ], + "doc": "~Private~" + } + }, + "859": { + "21": { + "name": "appendToLinesView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 859, + 21 + ], + [ + 863, + 1 + ] + ], + "doc": "~Private~" + } + }, + "863": { + "20": { + "name": "scrollVertically", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition", + null + ], + "range": [ + [ + 863, + 20 + ], + [ + 884, + 1 + ] + ], + "doc": "Private: Scrolls the editor vertically to a given position. " + } + }, + "884": { + "22": { + "name": "scrollHorizontally", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 884, + 22 + ], + [ + 900, + 1 + ] + ], + "doc": "Private: Scrolls the editor horizontally to a given position. " + } + }, + "900": { + "23": { + "name": "calculateDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 900, + 23 + ], + [ + 912, + 1 + ] + ], + "doc": "~Private~" + } + }, + "912": { + "25": { + "name": "recalculateDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 912, + 25 + ], + [ + 924, + 1 + ] + ], + "doc": "~Private~" + } + }, + "924": { + "25": { + "name": "updateLayerDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollViewWidth" + ], + "range": [ + [ + 924, + 25 + ], + [ + 943, + 1 + ] + ], + "doc": "~Private~" + } + }, + "943": { + "12": { + "name": "isHidden", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 943, + 12 + ], + [ + 950, + 1 + ] + ], + "doc": "Private: Override for speed. The base function checks computedStyle, unnecessary here. " + } + }, + "950": { + "22": { + "name": "clearRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 950, + 22 + ], + [ + 955, + 1 + ] + ], + "doc": "~Private~" + } + }, + "955": { + "16": { + "name": "resetDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 955, + 16 + ], + [ + 970, + 1 + ] + ], + "doc": "~Private~" + } + }, + "970": { + "24": { + "name": "requestDisplayUpdate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 970, + 24 + ], + [ + 978, + 1 + ] + ], + "doc": "~Private~" + } + }, + "978": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 978, + 17 + ], + [ + 994, + 1 + ] + ], + "doc": "~Private~" + } + }, + "994": { + "21": { + "name": "updateCursorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 994, + 21 + ], + [ + 1006, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1006": { + "22": { + "name": "shouldUpdateCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 1006, + 22 + ], + [ + 1012, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1012": { + "24": { + "name": "updateSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1012, + 24 + ], + [ + 1023, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1023": { + "25": { + "name": "shouldUpdateSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selectionView" + ], + "range": [ + [ + 1023, + 25 + ], + [ + 1031, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1031": { + "24": { + "name": "syncCursorAnimations", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1031, + 24 + ], + [ + 1034, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1034": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "suppressAutoscroll" + ], + "range": [ + [ + 1034, + 14 + ], + [ + 1046, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1046": { + "25": { + "name": "updatePlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1046, + 25 + ], + [ + 1057, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1057": { + "23": { + "name": "updateRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollViewWidth" + ], + "range": [ + [ + 1057, + 23 + ], + [ + 1084, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1084": { + "38": { + "name": "computeSurroundingEmptyLineChanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "change" + ], + "range": [ + [ + 1084, + 38 + ], + [ + 1102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1102": { + "23": { + "name": "computeIntactRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1102, + 23 + ], + [ + 1144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1144": { + "24": { + "name": "truncateIntactRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges", + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1144, + 24 + ], + [ + 1158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1158": { + "20": { + "name": "clearDirtyRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges" + ], + "range": [ + [ + 1158, + 20 + ], + [ + 1173, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1173": { + "13": { + "name": "clearLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement" + ], + "range": [ + [ + 1173, + 13 + ], + [ + 1178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1178": { + "19": { + "name": "fillDirtyRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges", + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1178, + 19 + ], + [ + 1201, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1201": { + "32": { + "name": "updatePaddingOfRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1201, + 32 + ], + [ + 1214, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1214": { + "28": { + "name": "getFirstVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1214, + 28 + ], + [ + 1223, + 1 + ] + ], + "doc": " Public: Retrieves the number of the row that is visible and currently at the\ntop of the editor.\n\nReturns a {Number}. " + } + }, + "1223": { + "27": { + "name": "getLastVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1223, + 27 + ], + [ + 1234, + 1 + ] + ], + "doc": " Public: Retrieves the number of the row that is visible and currently at the\nbottom of the editor.\n\nReturns a {Number}. " + } + }, + "1234": { + "22": { + "name": "isScreenRowVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 1234, + 22 + ], + [ + 1237, + 1 + ] + ], + "doc": " Public: Given a row number, identifies if it is currently visible.\n\nrow - A row {Number} to check\n\nReturns a {Boolean}. " + } + }, + "1237": { + "27": { + "name": "handleScreenLinesChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "change" + ], + "range": [ + [ + 1237, + 27 + ], + [ + 1241, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1241": { + "32": { + "name": "buildLineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 1241, + 32 + ], + [ + 1244, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1244": { + "34": { + "name": "buildLineElementsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1244, + 34 + ], + [ + 1249, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1249": { + "21": { + "name": "htmlForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1249, + 21 + ], + [ + 1256, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1256": { + "21": { + "name": "htmlForScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine", + "screenRow" + ], + "range": [ + [ + 1256, + 21 + ], + [ + 1271, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1271": { + "21": { + "name": "buildIndentation", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "screenRow", + "editor" + ], + "range": [ + [ + 1271, + 21 + ], + [ + 1298, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1298": { + "32": { + "name": "buildHtmlEndOfLineInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine" + ], + "range": [ + [ + 1298, + 32 + ], + [ + 1304, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1304": { + "26": { + "name": "getEndOfLineInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine" + ], + "range": [ + [ + 1304, + 26 + ], + [ + 1313, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1313": { + "27": { + "name": "lineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 1313, + 27 + ], + [ + 1316, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1316": { + "33": { + "name": "toggleLineCommentsInSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1316, + 33 + ], + [ + 1325, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1325": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1325, + 34 + ], + [ + 1334, + 1 + ] + ], + "doc": " Public: Converts a buffer position to a pixel position.\n\nposition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " + } + }, + "1334": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1334, + 34 + ], + [ + 1348, + 1 + ] + ], + "doc": " Public: Converts a screen position to a pixel position.\n\nposition - An object that represents a screen position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " + } + }, + "1348": { + "32": { + "name": "positionLeftForLineAndColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement", + "screenRow", + "screenColumn" + ], + "range": [ + [ + 1348, + 32 + ], + [ + 1371, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1371": { + "19": { + "name": "measureToColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement", + "tokenizedLine", + "screenColumn" + ], + "range": [ + [ + 1371, + 19 + ], + [ + 1416, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1416": { + "26": { + "name": "getCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "char" + ], + "range": [ + [ + 1416, + 26 + ], + [ + 1424, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1424": { + "26": { + "name": "setCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "char", + "val" + ], + "range": [ + [ + 1424, + 26 + ], + [ + 1432, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1432": { + "28": { + "name": "clearCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1432, + 28 + ], + [ + 1435, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1435": { + "32": { + "name": "pixelOffsetForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1435, + 32 + ], + [ + 1440, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1440": { + "32": { + "name": "screenPositionFromMouseEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 1440, + 32 + ], + [ + 1470, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1470": { + "23": { + "name": "highlightCursorLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1470, + 23 + ], + [ + 1481, + 1 + ] + ], + "doc": "Private: Highlights the current line the cursor is on. " + } + }, + "1481": { + "23": { + "name": "copyPathToClipboard", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1481, + 23 + ], + [ + 1485, + 1 + ] + ], + "doc": "Private: Copies the current file path to the native clipboard. " + } + }, + "1485": { + "18": { + "name": "buildLineHtml", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 1485, + 18 + ], + [ + 1513, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1513": { + "21": { + "name": "updateScopeStack", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 1513, + 21 + ], + [ + 1529, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1529": { + "14": { + "name": "pushScope", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack", + "scope" + ], + "range": [ + [ + 1529, + 14 + ], + [ + 1533, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1533": { + "13": { + "name": "popScope", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack" + ], + "range": [ + [ + 1533, + 13 + ], + [ + 1537, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1537": { + "23": { + "name": "buildEmptyLineHtml", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "showIndentGuide", + "eolInvisibles", + "htmlEolInvisibles", + "indentation", + "editor", + "mini" + ], + "range": [ + [ + 1537, + 23 + ], + [ + 1563, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1563": { + "23": { + "name": "replaceSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "replaceFn" + ], + "range": [ + [ + 1563, + 23 + ], + [ + 1573, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1573": { + "25": { + "name": "consolidateSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 1573, + 25 + ], + [ + 1573, + 89 + ] + ], + "doc": "~Private~" + } + }, + "1575": { + "18": { + "name": "logCursorScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1575, + 18 + ], + [ + 1578, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1578": { + "18": { + "name": "logScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 1578, + 18 + ], + [ + 1581, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1581": { + "20": { + "name": "logRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1581, + 20 + ], + [ + 1583, + 35 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 41 + }, + "src/editor.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "3": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 3, + 12 + ], + [ + 3, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 6, + 8 + ], + [ + 6, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "7": { + "15": { + "name": "LanguageMode", + "type": "import", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 39 + ] + ], + "bindingType": "variable", + "path": "./language-mode" + } + }, + "8": { + "16": { + "name": "DisplayBuffer", + "type": "import", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 41 + ] + ], + "bindingType": "variable", + "path": "./display-buffer" + } + }, + "9": { + "9": { + "name": "Cursor", + "type": "import", + "range": [ + [ + 9, + 9 + ], + [ + 9, + 26 + ] + ], + "bindingType": "variable", + "path": "./cursor" + } + }, + "10": { + "12": { + "name": "Selection", + "type": "import", + "range": [ + [ + 10, + 12 + ], + [ + 10, + 32 + ] + ], + "bindingType": "variable", + "path": "./selection" + } + }, + "11": { + "24": { + "type": "primitive", + "range": [ + [ + 11, + 24 + ], + [ + 11, + 58 + ] + ] + } + }, + "138": { + "0": { + "type": "class", + "name": "Editor", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 143, + 17 + ], + [ + 144, + 32 + ], + [ + 145, + 18 + ], + [ + 146, + 10 + ], + [ + 147, + 16 + ], + [ + 148, + 11 + ], + [ + 149, + 14 + ], + [ + 150, + 28 + ], + [ + 151, + 20 + ], + [ + 152, + 26 + ], + [ + 161, + 15 + ], + [ + 190, + 19 + ], + [ + 197, + 21 + ], + [ + 202, + 21 + ], + [ + 215, + 28 + ], + [ + 228, + 16 + ], + [ + 234, + 13 + ], + [ + 242, + 8 + ], + [ + 258, + 12 + ], + [ + 271, + 16 + ], + [ + 281, + 14 + ], + [ + 288, + 25 + ], + [ + 292, + 21 + ], + [ + 296, + 15 + ], + [ + 301, + 15 + ], + [ + 304, + 18 + ], + [ + 307, + 15 + ], + [ + 312, + 15 + ], + [ + 315, + 18 + ], + [ + 323, + 14 + ], + [ + 328, + 16 + ], + [ + 331, + 16 + ], + [ + 339, + 16 + ], + [ + 361, + 22 + ], + [ + 369, + 19 + ], + [ + 381, + 27 + ], + [ + 396, + 30 + ], + [ + 414, + 22 + ], + [ + 418, + 21 + ], + [ + 428, + 8 + ], + [ + 435, + 10 + ], + [ + 437, + 16 + ], + [ + 442, + 23 + ], + [ + 447, + 11 + ], + [ + 450, + 11 + ], + [ + 453, + 11 + ], + [ + 458, + 18 + ], + [ + 461, + 16 + ], + [ + 464, + 13 + ], + [ + 467, + 10 + ], + [ + 470, + 20 + ], + [ + 473, + 24 + ], + [ + 479, + 25 + ], + [ + 482, + 24 + ], + [ + 486, + 20 + ], + [ + 494, + 27 + ], + [ + 500, + 20 + ], + [ + 506, + 26 + ], + [ + 509, + 8 + ], + [ + 512, + 21 + ], + [ + 515, + 30 + ], + [ + 518, + 14 + ], + [ + 520, + 11 + ], + [ + 524, + 22 + ], + [ + 536, + 35 + ], + [ + 546, + 35 + ], + [ + 551, + 29 + ], + [ + 556, + 29 + ], + [ + 573, + 22 + ], + [ + 576, + 20 + ], + [ + 579, + 22 + ], + [ + 582, + 22 + ], + [ + 585, + 26 + ], + [ + 588, + 20 + ], + [ + 591, + 27 + ], + [ + 593, + 25 + ], + [ + 605, + 27 + ], + [ + 614, + 31 + ], + [ + 618, + 26 + ], + [ + 624, + 19 + ], + [ + 626, + 18 + ], + [ + 633, + 14 + ], + [ + 639, + 17 + ], + [ + 643, + 22 + ], + [ + 649, + 22 + ], + [ + 668, + 10 + ], + [ + 674, + 13 + ], + [ + 678, + 30 + ], + [ + 683, + 30 + ], + [ + 690, + 27 + ], + [ + 696, + 27 + ], + [ + 701, + 10 + ], + [ + 708, + 21 + ], + [ + 714, + 21 + ], + [ + 718, + 14 + ], + [ + 722, + 22 + ], + [ + 726, + 23 + ], + [ + 734, + 33 + ], + [ + 739, + 26 + ], + [ + 744, + 30 + ], + [ + 751, + 18 + ], + [ + 758, + 19 + ], + [ + 765, + 20 + ], + [ + 779, + 13 + ], + [ + 798, + 8 + ], + [ + 803, + 8 + ], + [ + 812, + 18 + ], + [ + 817, + 20 + ], + [ + 822, + 21 + ], + [ + 826, + 11 + ], + [ + 830, + 13 + ], + [ + 836, + 24 + ], + [ + 846, + 17 + ], + [ + 852, + 19 + ], + [ + 862, + 25 + ], + [ + 865, + 25 + ], + [ + 870, + 14 + ], + [ + 874, + 21 + ], + [ + 878, + 39 + ], + [ + 884, + 25 + ], + [ + 893, + 23 + ], + [ + 901, + 23 + ], + [ + 909, + 23 + ], + [ + 913, + 34 + ], + [ + 917, + 34 + ], + [ + 921, + 34 + ], + [ + 926, + 14 + ], + [ + 979, + 16 + ], + [ + 1034, + 18 + ], + [ + 1060, + 17 + ], + [ + 1072, + 22 + ], + [ + 1075, + 23 + ], + [ + 1096, + 32 + ], + [ + 1137, + 18 + ], + [ + 1140, + 19 + ], + [ + 1144, + 13 + ], + [ + 1148, + 14 + ], + [ + 1170, + 15 + ], + [ + 1179, + 19 + ], + [ + 1188, + 19 + ], + [ + 1197, + 22 + ], + [ + 1206, + 22 + ], + [ + 1210, + 17 + ], + [ + 1216, + 18 + ], + [ + 1220, + 22 + ], + [ + 1224, + 14 + ], + [ + 1227, + 13 + ], + [ + 1233, + 29 + ], + [ + 1240, + 29 + ], + [ + 1245, + 13 + ], + [ + 1255, + 16 + ], + [ + 1264, + 16 + ], + [ + 1288, + 30 + ], + [ + 1301, + 26 + ], + [ + 1311, + 26 + ], + [ + 1321, + 27 + ], + [ + 1336, + 19 + ], + [ + 1342, + 19 + ], + [ + 1347, + 25 + ], + [ + 1355, + 31 + ], + [ + 1361, + 17 + ], + [ + 1363, + 27 + ], + [ + 1374, + 16 + ], + [ + 1381, + 20 + ], + [ + 1388, + 40 + ], + [ + 1394, + 28 + ], + [ + 1403, + 34 + ], + [ + 1415, + 27 + ], + [ + 1422, + 27 + ], + [ + 1428, + 22 + ], + [ + 1439, + 27 + ], + [ + 1446, + 27 + ], + [ + 1453, + 26 + ], + [ + 1460, + 26 + ], + [ + 1468, + 27 + ], + [ + 1476, + 27 + ], + [ + 1482, + 19 + ], + [ + 1490, + 24 + ], + [ + 1499, + 24 + ], + [ + 1505, + 34 + ], + [ + 1511, + 22 + ], + [ + 1515, + 16 + ], + [ + 1519, + 18 + ], + [ + 1523, + 18 + ], + [ + 1527, + 19 + ], + [ + 1533, + 19 + ], + [ + 1539, + 22 + ], + [ + 1543, + 37 + ], + [ + 1547, + 31 + ], + [ + 1551, + 36 + ], + [ + 1555, + 31 + ], + [ + 1559, + 25 + ], + [ + 1563, + 31 + ], + [ + 1567, + 25 + ], + [ + 1571, + 35 + ], + [ + 1575, + 36 + ], + [ + 1579, + 32 + ], + [ + 1583, + 40 + ], + [ + 1587, + 44 + ], + [ + 1596, + 26 + ], + [ + 1599, + 10 + ], + [ + 1604, + 12 + ], + [ + 1609, + 16 + ], + [ + 1612, + 18 + ], + [ + 1616, + 18 + ], + [ + 1619, + 15 + ], + [ + 1626, + 15 + ], + [ + 1636, + 26 + ], + [ + 1645, + 15 + ], + [ + 1652, + 14 + ], + [ + 1659, + 12 + ], + [ + 1666, + 14 + ], + [ + 1673, + 15 + ], + [ + 1679, + 13 + ], + [ + 1686, + 18 + ], + [ + 1693, + 27 + ], + [ + 1702, + 32 + ], + [ + 1709, + 21 + ], + [ + 1716, + 32 + ], + [ + 1723, + 28 + ], + [ + 1729, + 14 + ], + [ + 1740, + 21 + ], + [ + 1751, + 21 + ], + [ + 1759, + 28 + ], + [ + 1776, + 13 + ], + [ + 1791, + 13 + ], + [ + 1798, + 13 + ], + [ + 1809, + 13 + ], + [ + 1816, + 27 + ], + [ + 1823, + 21 + ], + [ + 1830, + 31 + ], + [ + 1834, + 14 + ], + [ + 1841, + 36 + ], + [ + 1848, + 40 + ], + [ + 1856, + 16 + ], + [ + 1863, + 16 + ], + [ + 1873, + 27 + ], + [ + 1879, + 28 + ], + [ + 1883, + 22 + ], + [ + 1889, + 31 + ], + [ + 1910, + 40 + ], + [ + 1919, + 14 + ], + [ + 1926, + 14 + ], + [ + 1930, + 17 + ], + [ + 1933, + 20 + ], + [ + 1944, + 12 + ], + [ + 1952, + 20 + ], + [ + 1958, + 21 + ], + [ + 1962, + 20 + ], + [ + 1964, + 11 + ], + [ + 1967, + 18 + ], + [ + 1969, + 22 + ], + [ + 1972, + 23 + ], + [ + 1976, + 23 + ], + [ + 1980, + 32 + ], + [ + 1983, + 27 + ], + [ + 1984, + 27 + ], + [ + 1986, + 29 + ], + [ + 1987, + 29 + ], + [ + 1989, + 25 + ], + [ + 1990, + 25 + ], + [ + 1992, + 29 + ], + [ + 1994, + 22 + ], + [ + 1995, + 22 + ], + [ + 1997, + 23 + ], + [ + 1999, + 25 + ], + [ + 2001, + 23 + ], + [ + 2002, + 23 + ], + [ + 2004, + 13 + ], + [ + 2005, + 13 + ], + [ + 2007, + 19 + ], + [ + 2009, + 12 + ], + [ + 2010, + 12 + ], + [ + 2012, + 16 + ], + [ + 2013, + 16 + ], + [ + 2015, + 19 + ], + [ + 2016, + 19 + ], + [ + 2018, + 17 + ], + [ + 2019, + 17 + ], + [ + 2021, + 18 + ], + [ + 2022, + 18 + ], + [ + 2024, + 19 + ], + [ + 2025, + 18 + ], + [ + 2027, + 22 + ], + [ + 2029, + 29 + ], + [ + 2031, + 38 + ], + [ + 2033, + 34 + ], + [ + 2035, + 34 + ], + [ + 2037, + 34 + ], + [ + 2039, + 27 + ], + [ + 2041, + 23 + ], + [ + 2043, + 26 + ], + [ + 2045, + 26 + ], + [ + 2047, + 26 + ], + [ + 2049, + 24 + ], + [ + 2051, + 32 + ], + [ + 2052, + 32 + ], + [ + 2054, + 29 + ], + [ + 2055, + 29 + ], + [ + 2058, + 12 + ] + ], + "doc": " Public: This class represents all essential editing state for a single\n{TextBuffer}, including cursor and selection positions, folds, and soft wraps.\nIf you're manipulating the state of an editor, use this class. If you're\ninterested in the visual appearance of editors, use {EditorView} instead.\n\nA single {TextBuffer} can belong to multiple editors. For example, if the\nsame file is open in two different panes, Atom creates a separate editor for\neach pane. If the buffer is manipulated the changes are reflected in both\neditors, but each maintains its own cursor position, folded lines, etc.\n\n## Accessing Editor Instances\n\nThe easiest way to get hold of `Editor` objects is by registering a callback\nwith `::eachEditor` on the `atom.workspace` global. Your callback will then\nbe called with all current editor instances and also when any editor is\ncreated in the future.\n\n```coffeescript\n atom.workspace.eachEditor (editor) ->\n editor.insertText('Hello World')\n```\n\n## Buffer vs. Screen Coordinates\n\nBecause editors support folds and soft-wrapping, the lines on screen don't\nalways match the lines in the buffer. For example, a long line that soft wraps\ntwice renders as three lines on screen, but only represents one line in the\nbuffer. Similarly, if rows 5-10 are folded, then row 6 on screen corresponds\nto row 11 in the buffer.\n\nYour choice of coordinates systems will depend on what you're trying to\nachieve. For example, if you're writing a command that jumps the cursor up or\ndown by 10 lines, you'll want to use screen coordinates because the user\nprobably wants to skip lines *on screen*. However, if you're writing a package\nthat jumps between method definitions, you'll want to work in buffer\ncoordinates.\n\n**When in doubt, just default to buffer coordinates**, then experiment with\nsoft wraps and folds to ensure your code interacts with them correctly.\n\n## Common Tasks\n\nThis is a subset of methods on this class. Refer to the complete summary for\nits full capabilities.\n\n### Cursors\n- {::setCursorBufferPosition}\n- {::setCursorScreenPosition}\n- {::moveCursorUp}\n- {::moveCursorDown}\n- {::moveCursorLeft}\n- {::moveCursorRight}\n- {::moveCursorToBeginningOfWord}\n- {::moveCursorToEndOfWord}\n- {::moveCursorToPreviousWordBoundary}\n- {::moveCursorToNextWordBoundary}\n- {::moveCursorToBeginningOfNextWord}\n- {::moveCursorToBeginningOfLine}\n- {::moveCursorToEndOfLine}\n- {::moveCursorToFirstCharacterOfLine}\n- {::moveCursorToTop}\n- {::moveCursorToBottom}\n\n### Selections\n- {::getSelectedBufferRange}\n- {::getSelectedBufferRanges}\n- {::setSelectedBufferRange}\n- {::setSelectedBufferRanges}\n- {::selectUp}\n- {::selectDown}\n- {::selectLeft}\n- {::selectRight}\n- {::selectToBeginningOfWord}\n- {::selectToEndOfWord}\n- {::selectToPreviousWordBoundary}\n- {::selectToNextWordBoundary}\n- {::selectWord}\n- {::selectToBeginningOfLine}\n- {::selectToEndOfLine}\n- {::selectToFirstCharacterOfLine}\n- {::selectToTop}\n- {::selectToBottom}\n- {::selectAll}\n- {::addSelectionForBufferRange}\n- {::addSelectionAbove}\n- {::addSelectionBelow}\n- {::splitSelectionsIntoLines}\n\n### Manipulating Text\n- {::getText}\n- {::getSelectedText}\n- {::setText}\n- {::setTextInBufferRange}\n- {::insertText}\n- {::insertNewline}\n- {::insertNewlineAbove}\n- {::insertNewlineBelow}\n- {::backspace}\n- {::deleteToBeginningOfWord}\n- {::deleteToBeginningOfLine}\n- {::delete}\n- {::deleteToEndOfLine}\n- {::deleteToEndOfWord}\n- {::deleteLine}\n- {::cutSelectedText}\n- {::cutToEndOfLine}\n- {::copySelectedText}\n- {::pasteText}\n\n### Undo, Redo, and Transactions\n- {::undo}\n- {::redo}\n- {::transact}\n- {::abortTransaction}\n\n### Markers\n- {::markBufferRange}\n- {::markScreenRange}\n- {::getMarker}\n- {::findMarkers}\n\n### Decorations\n- {::decorateMarker}\n- {::decorationsForScreenRowRange} ", + "range": [ + [ + 138, + 0 + ], + [ + 2060, + 16 + ] + ] + } + }, + "143": { + "17": { + "name": "deserializing", + "type": "primitive", + "range": [ + [ + 143, + 17 + ], + [ + 143, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "144": { + "32": { + "name": "callDisplayBufferCreatedHook", + "type": "primitive", + "range": [ + [ + 144, + 32 + ], + [ + 144, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "145": { + "18": { + "name": "registerEditor", + "type": "primitive", + "range": [ + [ + 145, + 18 + ], + [ + 145, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "146": { + "10": { + "name": "buffer", + "type": "primitive", + "range": [ + [ + 146, + 10 + ], + [ + 146, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "147": { + "16": { + "name": "languageMode", + "type": "primitive", + "range": [ + [ + 147, + 16 + ], + [ + 147, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "148": { + "11": { + "name": "cursors", + "type": "primitive", + "range": [ + [ + 148, + 11 + ], + [ + 148, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "149": { + "14": { + "name": "selections", + "type": "primitive", + "range": [ + [ + 149, + 14 + ], + [ + 149, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "150": { + "28": { + "name": "suppressSelectionMerging", + "type": "primitive", + "range": [ + [ + 150, + 28 + ], + [ + 150, + 32 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "151": { + "20": { + "name": "updateBatchDepth", + "type": "primitive", + "range": [ + [ + 151, + 20 + ], + [ + 151, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "152": { + "26": { + "name": "selectionFlashDuration", + "type": "primitive", + "range": [ + [ + 152, + 26 + ], + [ + 152, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "161": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 161, + 15 + ], + [ + 190, + 1 + ] + ], + "doc": "~Private~" + } + }, + "190": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 19 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 197, + 21 + ], + [ + 202, + 1 + ] + ], + "doc": "~Private~" + } + }, + "202": { + "21": { + "name": "subscribeToBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 202, + 21 + ], + [ + 215, + 1 + ] + ], + "doc": "~Private~" + } + }, + "215": { + "28": { + "name": "subscribeToDisplayBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 215, + 28 + ], + [ + 228, + 1 + ] + ], + "doc": "~Private~" + } + }, + "228": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 228, + 16 + ], + [ + 234, + 1 + ] + ], + "doc": "~Private~" + } + }, + "234": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 13 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 242, + 8 + ], + [ + 258, + 1 + ] + ], + "doc": "Private: Create an {Editor} with its initial state based on this object " + } + }, + "258": { + "12": { + "name": "getTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 258, + 12 + ], + [ + 271, + 1 + ] + ], + "doc": " Public: Get the title the editor's title for display in other parts of the\nUI such as the tabs.\n\nIf the editor's buffer is saved, its title is the file name. If it is\nunsaved, its title is \"untitled\".\n\nReturns a {String}. " + } + }, + "271": { + "16": { + "name": "getLongTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 271, + 16 + ], + [ + 281, + 1 + ] + ], + "doc": " Public: Get the editor's long title for display in other parts of the UI\nsuch as the window title.\n\nIf the editor's buffer is saved, its long title is formatted as\n\" - \". If it is unsaved, its title is \"untitled\"\n\nReturns a {String}. " + } + }, + "281": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 281, + 14 + ], + [ + 281, + 60 + ] + ], + "doc": "Private: Controls visibility based on the given {Boolean}. " + } + }, + "288": { + "25": { + "name": "setEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorWidthInChars" + ], + "range": [ + [ + 288, + 25 + ], + [ + 292, + 1 + ] + ], + "doc": " Private: Set the number of characters that can be displayed horizontally in the\neditor.\n\neditorWidthInChars - A {Number} representing the width of the {EditorView}\nin characters. " + } + }, + "292": { + "21": { + "name": "getSoftWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 21 + ], + [ + 292, + 57 + ] + ], + "doc": "Public: Sets the column at which column will soft wrap " + } + }, + "296": { + "15": { + "name": "getSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 296, + 15 + ], + [ + 296, + 26 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether softTabs are enabled for this\neditor. " + } + }, + "301": { + "15": { + "name": "setSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 301, + 15 + ], + [ + 301, + 38 + ] + ], + "doc": " Public: Enable or disable soft tabs for this editor.\n\nsoftTabs - A {Boolean} " + } + }, + "304": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 304, + 18 + ], + [ + 304, + 52 + ] + ], + "doc": "Public: Toggle soft tabs for this editor " + } + }, + "307": { + "15": { + "name": "getSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 307, + 15 + ], + [ + 307, + 45 + ] + ], + "doc": "Public: Get whether soft wrap is enabled for this editor. " + } + }, + "312": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 312, + 15 + ], + [ + 312, + 64 + ] + ], + "doc": " Public: Enable or disable soft wrap for this editor.\n\nsoftWrap - A {Boolean} " + } + }, + "315": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 18 + ], + [ + 315, + 52 + ] + ], + "doc": "Public: Toggle soft wrap for this editor " + } + }, + "323": { + "14": { + "name": "getTabText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 323, + 14 + ], + [ + 323, + 37 + ] + ], + "doc": " Public: Get the text representing a single level of indent.\n\nIf soft tabs are enabled, the text is composed of N spaces, where N is the\ntab length. Otherwise the text is a tab character (`\\t`).\n\nReturns a {String}. " + } + }, + "328": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 328, + 16 + ], + [ + 328, + 47 + ] + ], + "doc": " Public: Get the on-screen length of tab characters.\n\nReturns a {Number}. " + } + }, + "331": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 331, + 16 + ], + [ + 331, + 68 + ] + ], + "doc": "Public: Set the on-screen length of tab characters. " + } + }, + "339": { + "16": { + "name": "usesSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 339, + 16 + ], + [ + 361, + 1 + ] + ], + "doc": " Public: Determine if the buffer uses hard or soft tabs.\n\nReturns `true` if the first non-comment line with leading whitespace starts\nwith a space character. Returns `false` if it starts with a hard tab (`\\t`).\n\nReturns a {Boolean}, " + } + }, + "361": { + "22": { + "name": "clipBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 361, + 22 + ], + [ + 361, + 77 + ] + ], + "doc": " Public: Clip the given {Point} to a valid position in the buffer.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the buffer, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " + } + }, + "369": { + "19": { + "name": "clipBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 369, + 19 + ], + [ + 369, + 53 + ] + ], + "doc": " Public: Clip the start and end of the given range to valid positions in the\nbuffer. See {::clipBufferPosition} for more information.\n\nrange - The {Range} to clip.\n\nReturns a {Range}. " + } + }, + "381": { + "27": { + "name": "indentationForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 381, + 27 + ], + [ + 396, + 1 + ] + ], + "doc": " Public: Get the indentation level of the given a buffer row.\n\nReturns how deeply the given row is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nbufferRow - A {Number} indicating the buffer row.\n\nReturns a {Number}. " + } + }, + "396": { + "30": { + "name": "setIndentationForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "newLevel", + null + ], + "range": [ + [ + 396, + 30 + ], + [ + 414, + 1 + ] + ], + "doc": " Public: Set the indentation level for the given buffer row.\n\nInserts or removes hard tabs or spaces based on the soft tabs and tab length\nsettings of this editor in order to bring it to the given indentation level.\nNote that if soft tabs are enabled and the tab length is 2, a row with 4\nleading spaces would have an indentation level of 2.\n\nbufferRow - A {Number} indicating the buffer row.\nnewLevel - A {Number} indicating the new indentation level.\noptions - An {Object} with the following keys:\n :preserveLeadingWhitespace - true to preserve any whitespace already at\n the beginning of the line (default: false). " + } + }, + "414": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 414, + 22 + ], + [ + 418, + 1 + ] + ], + "doc": " Public: Get the indentation level of the given line of text.\n\nReturns how deeply the given line is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nline - A {String} representing a line of text.\n\nReturns a {Number}. " + } + }, + "418": { + "21": { + "name": "buildIndentString", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "number", + "column" + ], + "range": [ + [ + 418, + 21 + ], + [ + 428, + 1 + ] + ], + "doc": "Private: Constructs the string used for tabs. " + } + }, + "428": { + "8": { + "name": "save", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 8 + ], + [ + 428, + 24 + ] + ], + "doc": " Public: Saves the editor's text buffer.\n\nSee {TextBuffer::save} for more details. " + } + }, + "435": { + "10": { + "name": "saveAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 435, + 10 + ], + [ + 435, + 47 + ] + ], + "doc": " Public: Saves the editor's text buffer as the given path.\n\nSee {TextBuffer::saveAs} for more details.\n\nfilePath - A {String} path. " + } + }, + "437": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 437, + 16 + ], + [ + 442, + 1 + ] + ], + "doc": "~Private~" + } + }, + "442": { + "23": { + "name": "copyPathToClipboard", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 442, + 23 + ], + [ + 447, + 1 + ] + ], + "doc": "Private: Copies the current file path to the native clipboard. " + } + }, + "447": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 447, + 11 + ], + [ + 447, + 30 + ] + ], + "doc": "Public: Returns the {String} path of this editor's text buffer. " + } + }, + "450": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 450, + 11 + ], + [ + 450, + 30 + ] + ], + "doc": "Public: Returns a {String} representing the entire contents of the editor. " + } + }, + "453": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 453, + 11 + ], + [ + 453, + 41 + ] + ], + "doc": "Public: Replaces the entire contents of the buffer with the given {String}. " + } + }, + "458": { + "18": { + "name": "getTextInRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 458, + 18 + ], + [ + 458, + 57 + ] + ], + "doc": " Private: Get the text in the given {Range}.\n\nReturns a {String}. " + } + }, + "461": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 461, + 16 + ], + [ + 461, + 40 + ] + ], + "doc": "Public: Returns a {Number} representing the number of lines in the editor. " + } + }, + "464": { + "13": { + "name": "getBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 464, + 13 + ], + [ + 464, + 22 + ] + ], + "doc": "Private: Retrieves the current {TextBuffer}. " + } + }, + "467": { + "10": { + "name": "getUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 467, + 10 + ], + [ + 467, + 28 + ] + ], + "doc": "Public: Retrieves the current buffer's URI. " + } + }, + "470": { + "20": { + "name": "isBufferRowBlank", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 470, + 20 + ], + [ + 470, + 63 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.isRowBlank} " + } + }, + "473": { + "24": { + "name": "isBufferRowCommented", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 473, + 24 + ], + [ + 479, + 1 + ] + ], + "doc": "Public: Determine if the given row is entirely a comment " + } + }, + "479": { + "25": { + "name": "nextNonBlankBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 479, + 25 + ], + [ + 479, + 73 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.nextNonBlankRow} " + } + }, + "482": { + "24": { + "name": "getEofBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 482, + 24 + ], + [ + 482, + 50 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.getEndPosition} " + } + }, + "486": { + "20": { + "name": "getLastBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 486, + 20 + ], + [ + 486, + 42 + ] + ], + "doc": " Public: Returns a {Number} representing the last zero-indexed buffer row\nnumber of the editor. " + } + }, + "494": { + "27": { + "name": "bufferRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + null + ], + "range": [ + [ + 494, + 27 + ], + [ + 494, + 96 + ] + ], + "doc": " Private: Returns the range for the given buffer row.\n\nrow - A row {Number}.\noptions - An options hash with an `includeNewline` key.\n\nReturns a {Range}. " + } + }, + "500": { + "20": { + "name": "lineForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 500, + 20 + ], + [ + 500, + 51 + ] + ], + "doc": " Public: Returns a {String} representing the contents of the line at the\ngiven buffer row.\n\nrow - A {Number} representing a zero-indexed buffer row. " + } + }, + "506": { + "26": { + "name": "lineLengthForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 506, + 26 + ], + [ + 506, + 63 + ] + ], + "doc": " Public: Returns a {Number} representing the line length for the given\nbuffer row, exclusive of its line-ending character(s).\n\nrow - A {Number} indicating the buffer row. " + } + }, + "509": { + "8": { + "name": "scan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 509, + 8 + ], + [ + 509, + 41 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.scan} " + } + }, + "512": { + "21": { + "name": "scanInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 512, + 21 + ], + [ + 512, + 61 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.scanInRange} " + } + }, + "515": { + "30": { + "name": "backwardsScanInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 515, + 30 + ], + [ + 515, + 79 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.backwardsScanInRange} " + } + }, + "518": { + "14": { + "name": "isModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 518, + 14 + ], + [ + 518, + 36 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.isModified} " + } + }, + "520": { + "11": { + "name": "isEmpty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 520, + 11 + ], + [ + 520, + 30 + ] + ], + "doc": "~Private~" + } + }, + "524": { + "22": { + "name": "shouldPromptToSave", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 524, + 22 + ], + [ + 524, + 74 + ] + ], + "doc": " Public: Determine whether the user should be prompted to save before closing\nthis editor. " + } + }, + "536": { + "35": { + "name": "screenPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 536, + 35 + ], + [ + 536, + 134 + ] + ], + "doc": " Public: Convert a position in buffer-coordinates to screen-coordinates.\n\nThe position is clipped via {::clipBufferPosition} prior to the conversion.\nThe position is also clipped via {::clipScreenPosition} following the\nconversion, which only makes a difference when `options` are supplied.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " + } + }, + "546": { + "35": { + "name": "bufferPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 546, + 35 + ], + [ + 546, + 134 + ] + ], + "doc": " Public: Convert a position in screen-coordinates to buffer-coordinates.\n\nThe position is clipped via {::clipScreenPosition} prior to the conversion.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " + } + }, + "551": { + "29": { + "name": "screenRangeForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 551, + 29 + ], + [ + 551, + 98 + ] + ], + "doc": " Public: Convert a range in buffer-coordinates to screen-coordinates.\n\nReturns a {Range}. " + } + }, + "556": { + "29": { + "name": "bufferRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 556, + 29 + ], + [ + 556, + 98 + ] + ], + "doc": " Public: Convert a range in screen-coordinates to buffer-coordinates.\n\nReturns a {Range}. " + } + }, + "573": { + "22": { + "name": "clipScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 573, + 22 + ], + [ + 573, + 108 + ] + ], + "doc": " Public: Clip the given {Point} to a valid position on screen.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the screen, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at screen row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " + } + }, + "576": { + "20": { + "name": "lineForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 576, + 20 + ], + [ + 576, + 58 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.lineForRow} " + } + }, + "579": { + "22": { + "name": "linesForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 579, + 22 + ], + [ + 579, + 76 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.linesForRows} " + } + }, + "582": { + "22": { + "name": "getScreenLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 582, + 22 + ], + [ + 582, + 53 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getLineCount} " + } + }, + "585": { + "26": { + "name": "getMaxScreenLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 585, + 26 + ], + [ + 585, + 61 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getMaxLineLength} " + } + }, + "588": { + "20": { + "name": "getLastScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 588, + 20 + ], + [ + 588, + 49 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getLastRow} " + } + }, + "591": { + "27": { + "name": "bufferRowsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 591, + 27 + ], + [ + 591, + 104 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.bufferRowsForScreenRows} " + } + }, + "593": { + "25": { + "name": "bufferRowForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 593, + 25 + ], + [ + 593, + 74 + ] + ], + "doc": "~Private~" + } + }, + "605": { + "27": { + "name": "scopesForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 605, + 27 + ], + [ + 605, + 100 + ] + ], + "doc": " Public: Get the syntactic scopes for the given position in buffer\ncoordinates.\n\nFor example, if called with a position inside the parameter list of an\nanonymous CoffeeScript function, the method returns the following array:\n`[\"source.coffee\", \"meta.inline.function.coffee\", \"variable.parameter.function.coffee\"]`\n\nbufferPosition - A {Point} or {Array} of [row, column].\n\nReturns an {Array} of {String}s. " + } + }, + "614": { + "31": { + "name": "bufferRangeForScopeAtCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 614, + 31 + ], + [ + 618, + 1 + ] + ], + "doc": " Public: Get the range in buffer coordinates of all tokens surrounding the\ncursor that match the given scope selector.\n\nFor example, if you wanted to find the string surrounding the cursor, you\ncould call `editor.bufferRangeForScopeAtCursor(\".string.quoted\")`.\n\nReturns a {Range}. " + } + }, + "618": { + "26": { + "name": "tokenForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 618, + 26 + ], + [ + 618, + 98 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.tokenForBufferPosition} " + } + }, + "624": { + "19": { + "name": "getCursorScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 624, + 19 + ], + [ + 624, + 45 + ] + ], + "doc": " Public: Get the syntactic scopes for the most recently added cursor's\nposition. See {::scopesForBufferPosition} for more information.\n\nReturns an {Array} of {String}s. " + } + }, + "626": { + "18": { + "name": "logCursorScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 626, + 18 + ], + [ + 633, + 1 + ] + ], + "doc": "~Private~" + } + }, + "633": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 633, + 14 + ], + [ + 639, + 1 + ] + ], + "doc": " Public: For each selection, replace the selected text with the given text.\n\ntext - A {String} representing the text to insert.\noptions - See {Selection::insertText}. " + } + }, + "639": { + "17": { + "name": "insertNewline", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 639, + 17 + ], + [ + 643, + 1 + ] + ], + "doc": "Public: For each selection, replace the selected text with a newline. " + } + }, + "643": { + "22": { + "name": "insertNewlineBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 643, + 22 + ], + [ + 649, + 1 + ] + ], + "doc": "Public: For each cursor, insert a newline at beginning the following line. " + } + }, + "649": { + "22": { + "name": "insertNewlineAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 649, + 22 + ], + [ + 668, + 1 + ] + ], + "doc": "Public: For each cursor, insert a newline at the end of the preceding line. " + } + }, + "668": { + "10": { + "name": "indent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 668, + 10 + ], + [ + 674, + 1 + ] + ], + "doc": " Private: Indent all lines intersecting selections. See {Selection::indent} for more\ninformation. " + } + }, + "674": { + "13": { + "name": "backspace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 674, + 13 + ], + [ + 678, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete the character\npreceding the cursor. Otherwise delete the selected text. " + } + }, + "678": { + "30": { + "name": "backspaceToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 678, + 30 + ], + [ + 683, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " + } + }, + "683": { + "30": { + "name": "backspaceToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 683, + 30 + ], + [ + 690, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " + } + }, + "690": { + "27": { + "name": "deleteToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 690, + 27 + ], + [ + 696, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word that precede the cursor. Otherwise delete the\nselected text. " + } + }, + "696": { + "27": { + "name": "deleteToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 696, + 27 + ], + [ + 701, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing line that precede the cursor. Otherwise delete the\nselected text. " + } + }, + "701": { + "10": { + "name": "delete", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 701, + 10 + ], + [ + 708, + 1 + ] + ] + } + }, + "708": { + "21": { + "name": "deleteToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 708, + 21 + ], + [ + 714, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is not empty, deletes the\nselection; otherwise, deletes all characters of the containing line\nfollowing the cursor. If the cursor is already at the end of the line,\ndeletes the following newline. " + } + }, + "714": { + "21": { + "name": "deleteToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 714, + 21 + ], + [ + 718, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word following the cursor. Otherwise delete the selected\ntext. " + } + }, + "718": { + "14": { + "name": "deleteLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 718, + 14 + ], + [ + 722, + 1 + ] + ], + "doc": "Public: Delete all lines intersecting selections. " + } + }, + "722": { + "22": { + "name": "indentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 722, + 22 + ], + [ + 726, + 1 + ] + ], + "doc": "Public: Indent rows intersecting selections by one level. " + } + }, + "726": { + "23": { + "name": "outdentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 726, + 23 + ], + [ + 734, + 1 + ] + ], + "doc": "Public: Outdent rows intersecting selections by one level. " + } + }, + "734": { + "33": { + "name": "toggleLineCommentsInSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 734, + 33 + ], + [ + 739, + 1 + ] + ], + "doc": " Public: Toggle line comments for rows intersecting selections.\n\nIf the current grammar doesn't support comments, does nothing.\n\nReturns an {Array} of the commented {Range}s. " + } + }, + "739": { + "26": { + "name": "autoIndentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 739, + 26 + ], + [ + 744, + 1 + ] + ], + "doc": " Public: Indent rows intersecting selections based on the grammar's suggested\nindent level. " + } + }, + "744": { + "30": { + "name": "normalizeTabsInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 744, + 30 + ], + [ + 751, + 1 + ] + ], + "doc": " Private: If soft tabs are enabled, convert all hard tabs to soft tabs in the given\n{Range}. " + } + }, + "751": { + "18": { + "name": "cutToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 751, + 18 + ], + [ + 758, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, cut all characters\nof the containing line following the cursor. Otherwise cut the selected\ntext. " + } + }, + "758": { + "19": { + "name": "cutSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 758, + 19 + ], + [ + 765, + 1 + ] + ], + "doc": "Public: For each selection, cut the selected text. " + } + }, + "765": { + "20": { + "name": "copySelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 765, + 20 + ], + [ + 779, + 1 + ] + ], + "doc": "Public: For each selection, copy the selected text. " + } + }, + "779": { + "13": { + "name": "pasteText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 779, + 13 + ], + [ + 798, + 1 + ] + ], + "doc": " Public: For each selection, replace the selected text with the contents of\nthe clipboard.\n\nIf the clipboard contains the same number of selections as the current\neditor, each selection will be replaced with the content of the\ncorresponding clipboard selection text.\n\noptions - See {Selection::insertText}. " + } + }, + "798": { + "8": { + "name": "undo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 798, + 8 + ], + [ + 803, + 1 + ] + ], + "doc": "Public: Undo the last change. " + } + }, + "803": { + "8": { + "name": "redo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 803, + 8 + ], + [ + 812, + 1 + ] + ], + "doc": "Public: Redo the last change. " + } + }, + "812": { + "18": { + "name": "foldCurrentRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 812, + 18 + ], + [ + 817, + 1 + ] + ], + "doc": " Public: Fold the most recent cursor's row based on its indentation level.\n\nThe fold will extend from the nearest preceding line with a lower\nindentation level up to the nearest following row with a lower indentation\nlevel. " + } + }, + "817": { + "20": { + "name": "unfoldCurrentRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 817, + 20 + ], + [ + 822, + 1 + ] + ], + "doc": "Public: Unfold the most recent cursor's row by one level. " + } + }, + "822": { + "21": { + "name": "foldSelectedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 822, + 21 + ], + [ + 826, + 1 + ] + ], + "doc": "Public: For each selection, fold the rows it intersects. " + } + }, + "826": { + "11": { + "name": "foldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 826, + 11 + ], + [ + 830, + 1 + ] + ], + "doc": "Public: Fold all foldable lines. " + } + }, + "830": { + "13": { + "name": "unfoldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 830, + 13 + ], + [ + 836, + 1 + ] + ], + "doc": "Public: Unfold all existing folds. " + } + }, + "836": { + "24": { + "name": "foldAllAtIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "level" + ], + "range": [ + [ + 836, + 24 + ], + [ + 846, + 1 + ] + ], + "doc": " Public: Fold all foldable lines at the given indent level.\n\nlevel - A {Number}. " + } + }, + "846": { + "17": { + "name": "foldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 846, + 17 + ], + [ + 852, + 1 + ] + ], + "doc": " Public: Fold the given row in buffer coordinates based on its indentation\nlevel.\n\nIf the given row is foldable, the fold will begin there. Otherwise, it will\nbegin at the first foldable row preceding the given row.\n\nbufferRow - A {Number}. " + } + }, + "852": { + "19": { + "name": "unfoldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 852, + 19 + ], + [ + 862, + 1 + ] + ], + "doc": " Public: Unfold all folds containing the given row in buffer coordinates.\n\nbufferRow - A {Number} " + } + }, + "862": { + "25": { + "name": "isFoldableAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 862, + 25 + ], + [ + 865, + 1 + ] + ], + "doc": " Public: Determine whether the given row in buffer coordinates is foldable.\n\nA *foldable* row is a row that *starts* a row range that can be folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "865": { + "25": { + "name": "isFoldableAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 865, + 25 + ], + [ + 870, + 1 + ] + ], + "doc": "~Private~" + } + }, + "870": { + "14": { + "name": "createFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 870, + 14 + ], + [ + 874, + 1 + ] + ], + "doc": "TODO: Rename to foldRowRange? " + } + }, + "874": { + "21": { + "name": "destroyFoldWithId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 874, + 21 + ], + [ + 878, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.destroyFoldWithId} " + } + }, + "878": { + "39": { + "name": "destroyFoldsIntersectingBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 878, + 39 + ], + [ + 884, + 1 + ] + ], + "doc": "Private: Remove any {Fold}s found that intersect the given buffer row. " + } + }, + "884": { + "25": { + "name": "toggleFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 884, + 25 + ], + [ + 893, + 1 + ] + ], + "doc": " Public: Fold the given buffer row if it isn't currently folded, and unfold\nit otherwise. " + } + }, + "893": { + "23": { + "name": "isFoldedAtCursorRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 893, + 23 + ], + [ + 901, + 1 + ] + ], + "doc": " Public: Determine whether the most recently added cursor's row is folded.\n\nReturns a {Boolean}. " + } + }, + "901": { + "23": { + "name": "isFoldedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 901, + 23 + ], + [ + 909, + 1 + ] + ], + "doc": " Public: Determine whether the given row in buffer coordinates is folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "909": { + "23": { + "name": "isFoldedAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 909, + 23 + ], + [ + 913, + 1 + ] + ], + "doc": " Public: Determine whether the given row in screen coordinates is folded.\n\nscreenRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "913": { + "34": { + "name": "largestFoldContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 913, + 34 + ], + [ + 917, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.largestFoldContainingBufferRow} " + } + }, + "917": { + "34": { + "name": "largestFoldStartingAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 917, + 34 + ], + [ + 921, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.largestFoldStartingAtScreenRow} " + } + }, + "921": { + "34": { + "name": "outermostFoldsInBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 921, + 34 + ], + [ + 926, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.outermostFoldsForBufferRowRange} " + } + }, + "926": { + "14": { + "name": "moveLineUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 926, + 14 + ], + [ + 979, + 1 + ] + ], + "doc": " Private: Move lines intersection the most recent selection up by one row in screen\ncoordinates. " + } + }, + "979": { + "16": { + "name": "moveLineDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 979, + 16 + ], + [ + 1034, + 1 + ] + ], + "doc": " Private: Move lines intersecting the most recent selection down by one row in screen\ncoordinates. " + } + }, + "1034": { + "18": { + "name": "duplicateLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1034, + 18 + ], + [ + 1060, + 1 + ] + ], + "doc": "Private: Duplicate the most recent cursor's current line. " + } + }, + "1060": { + "17": { + "name": "duplicateLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1060, + 17 + ], + [ + 1072, + 1 + ] + ], + "doc": "Deprecated: Use {::duplicateLines} instead. " + } + }, + "1072": { + "22": { + "name": "mutateSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1072, + 22 + ], + [ + 1075, + 1 + ] + ], + "doc": " Public: Mutate the text of all the selections in a single transaction.\n\nAll the changes made inside the given {Function} can be reverted with a\nsingle call to {::undo}.\n\nfn - A {Function} that will be called once for each {Selection}. The first\n argument will be a {Selection} and the second argument will be the\n {Number} index of that selection. " + } + }, + "1075": { + "23": { + "name": "replaceSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options", + "fn" + ], + "range": [ + [ + 1075, + 23 + ], + [ + 1096, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1096": { + "32": { + "name": "decorationsForScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 1096, + 32 + ], + [ + 1137, + 1 + ] + ], + "doc": " Public: Get all the decorations within a screen row range.\n\nstartScreenRow - the {Number} beginning screen row\nendScreenRow - the {Number} end screen row (inclusive)\n\nReturns an {Object} of decorations in the form\n `{1: [{id: 10, type: 'gutter', class: 'someclass'}], 2: ...}`\n where the keys are {Marker} IDs, and the values are an array of decoration\n params objects attached to the marker.\nReturns an empty object when no decorations are found " + } + }, + "1137": { + "18": { + "name": "decorateMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "decorationParams" + ], + "range": [ + [ + 1137, + 18 + ], + [ + 1140, + 1 + ] + ], + "doc": " Public: Adds a decoration that tracks a {Marker}. When the marker moves,\nis invalidated, or is destroyed, the decoration will be updated to reflect\nthe marker's state.\n\nThere are three types of supported decorations:\n* `line`: Adds your CSS `class` to the line nodes within the range\n marked by the marker\n* `gutter`: Adds your CSS `class` to the line number nodes within the\n range marked by the marker\n* `highlight`: Adds a new highlight div to the editor surrounding the\n range marked by the marker. When the user selects text, the selection is\n visualized with a highlight decoration internally. The structure of this\n highlight will be:\n ```html\n
    \">\n \n
    \n
    \n ```\n\nmarker - A {Marker} you want this decoration to follow.\ndecorationParams - An {Object} representing the decoration eg. `{type: 'gutter', class: 'linter-error'}`\n :type - There are a few supported decoration types:\n * `gutter`: Applies the decoration to the line numbers spanned by the marker.\n * `line`: Applies the decoration to the lines spanned by the marker.\n * `highlight`: Applies the decoration to a \"highlight\" behind the marked range.\n :class - This CSS class will be applied to the decorated line number,\n line, or highlight.\n :onlyHead - If `true`, the decoration will only be applied to the head\n of the marker. Only applicable to the `line` and `gutter` types.\n :onlyEmpty - If `true`, the decoration will only be applied if the\n associated marker is empty. Only applicable to the `line` and\n `gutter` types.\n :onlyNonEmpty - If `true`, the decoration will only be applied if the\n associated marker is non-empty. Only applicable to the `line` and\n gutter types.\n\nReturns a {Decoration} object " + } + }, + "1140": { + "19": { + "name": "decorationForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 1140, + 19 + ], + [ + 1144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1144": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 1144, + 13 + ], + [ + 1148, + 1 + ] + ], + "doc": "Public: Get the {DisplayBufferMarker} for the given marker id. " + } + }, + "1148": { + "14": { + "name": "getMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1148, + 14 + ], + [ + 1170, + 1 + ] + ], + "doc": "Public: Get all {DisplayBufferMarker}s. " + } + }, + "1170": { + "15": { + "name": "findMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "properties" + ], + "range": [ + [ + 1170, + 15 + ], + [ + 1179, + 1 + ] + ], + "doc": " Public: Find all {DisplayBufferMarker}s that match the given properties.\n\nThis method finds markers based on the given properties. Markers can be\nassociated with custom properties that will be compared with basic equality.\nIn addition, there are several special properties that will be compared\nwith the range of the markers rather than their properties.\n\nproperties - An {Object} containing properties that each returned marker\n must satisfy. Markers can be associated with custom properties, which are\n compared with basic equality. In addition, several reserved properties\n can be used to filter markers based on their current range:\n :startBufferRow - Only include markers starting at this row in buffer\n coordinates.\n :endBufferRow - Only include markers ending at this row in buffer\n coordinates.\n :containsBufferRange - Only include markers containing this {Range} or\n in range-compatible {Array} in buffer coordinates.\n :containsBufferPosition - Only include markers containing this {Point}\n or {Array} of `[row, column]` in buffer coordinates. " + } + }, + "1179": { + "19": { + "name": "markScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1179, + 19 + ], + [ + 1188, + 1 + ] + ], + "doc": " Public: Mark the given range in screen coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1188": { + "19": { + "name": "markBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1188, + 19 + ], + [ + 1197, + 1 + ] + ], + "doc": " Public: Mark the given range in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1197": { + "22": { + "name": "markScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1197, + 22 + ], + [ + 1206, + 1 + ] + ], + "doc": " Public: Mark the given position in screen coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1206": { + "22": { + "name": "markBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1206, + 22 + ], + [ + 1210, + 1 + ] + ], + "doc": " Public: Mark the given position in buffer coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1210": { + "17": { + "name": "destroyMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1210, + 17 + ], + [ + 1216, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.destroyMarker} " + } + }, + "1216": { + "18": { + "name": "getMarkerCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1216, + 18 + ], + [ + 1220, + 1 + ] + ], + "doc": " Public: Get the number of markers in this editor's buffer.\n\nReturns a {Number}. " + } + }, + "1220": { + "22": { + "name": "hasMultipleCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1220, + 22 + ], + [ + 1224, + 1 + ] + ], + "doc": "Public: Determine if there are multiple cursors. " + } + }, + "1224": { + "14": { + "name": "getCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1224, + 14 + ], + [ + 1224, + 38 + ] + ], + "doc": "Public: Get an Array of all {Cursor}s. " + } + }, + "1227": { + "13": { + "name": "getCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1227, + 13 + ], + [ + 1233, + 1 + ] + ], + "doc": "Public: Get the most recently added {Cursor}. " + } + }, + "1233": { + "29": { + "name": "addCursorAtScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 1233, + 29 + ], + [ + 1240, + 1 + ] + ], + "doc": " Public: Add a cursor at the position in screen coordinates.\n\nReturns a {Cursor}. " + } + }, + "1240": { + "29": { + "name": "addCursorAtBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 1240, + 29 + ], + [ + 1245, + 1 + ] + ], + "doc": " Public: Add a cursor at the given position in buffer coordinates.\n\nReturns a {Cursor}. " + } + }, + "1245": { + "13": { + "name": "addCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1245, + 13 + ], + [ + 1255, + 1 + ] + ], + "doc": "Private: Add a cursor based on the given {DisplayBufferMarker}. " + } + }, + "1255": { + "16": { + "name": "removeCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursor" + ], + "range": [ + [ + 1255, + 16 + ], + [ + 1264, + 1 + ] + ], + "doc": "Private: Remove the given cursor from this editor. " + } + }, + "1264": { + "16": { + "name": "addSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "options" + ], + "range": [ + [ + 1264, + 16 + ], + [ + 1288, + 1 + ] + ], + "doc": " Private: Add a {Selection} based on the given {DisplayBufferMarker}.\n\nmarker - The {DisplayBufferMarker} to highlight\noptions - An {Object} that pertains to the {Selection} constructor.\n\nReturns the new {Selection}. " + } + }, + "1288": { + "30": { + "name": "addSelectionForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 1288, + 30 + ], + [ + 1301, + 1 + ] + ], + "doc": " Public: Add a selection for the given range in buffer coordinates.\n\nbufferRange - A {Range}\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation.\n\nReturns the added {Selection}. " + } + }, + "1301": { + "26": { + "name": "setSelectedBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 1301, + 26 + ], + [ + 1311, + 1 + ] + ], + "doc": " Public: Set the selected range in buffer coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nbufferRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1311": { + "26": { + "name": "setSelectedScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 1311, + 26 + ], + [ + 1321, + 1 + ] + ], + "doc": " Public: Set the selected range in screen coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nscreenRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1321": { + "27": { + "name": "setSelectedBufferRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRanges", + "options" + ], + "range": [ + [ + 1321, + 27 + ], + [ + 1336, + 1 + ] + ], + "doc": " Public: Set the selected ranges in buffer coordinates. If there are multiple\nselections, they are replaced by new selections with the given ranges.\n\nbufferRanges - An {Array} of {Range}s or range-compatible {Array}s.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1336": { + "19": { + "name": "removeSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 1336, + 19 + ], + [ + 1342, + 1 + ] + ], + "doc": "Private: Remove the given selection. " + } + }, + "1342": { + "19": { + "name": "clearSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1342, + 19 + ], + [ + 1347, + 1 + ] + ], + "doc": " Private: Reduce one or more selections to a single empty selection based on the most\nrecently added cursor. " + } + }, + "1347": { + "25": { + "name": "consolidateSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1347, + 25 + ], + [ + 1355, + 1 + ] + ], + "doc": "Private: Reduce multiple selections to the most recently added selection. " + } + }, + "1355": { + "31": { + "name": "selectionScreenRangeChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 1355, + 31 + ], + [ + 1361, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1361": { + "17": { + "name": "getSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1361, + 17 + ], + [ + 1361, + 44 + ] + ], + "doc": " Public: Get current {Selection}s.\n\nReturns: An {Array} of {Selection}s. " + } + }, + "1363": { + "27": { + "name": "selectionsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1363, + 27 + ], + [ + 1374, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1374": { + "16": { + "name": "getSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 1374, + 16 + ], + [ + 1381, + 1 + ] + ], + "doc": " Public: Get the most recent {Selection} or the selection at the given\nindex.\n\nindex - Optional. The index of the selection to return, based on the order\n in which the selections were added.\n\nReturns a {Selection}.\nor the at the specified index. " + } + }, + "1381": { + "20": { + "name": "getLastSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1381, + 20 + ], + [ + 1388, + 1 + ] + ], + "doc": " Public: Get the most recently added {Selection}.\n\nReturns a {Selection}. " + } + }, + "1388": { + "40": { + "name": "getSelectionsOrderedByBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1388, + 40 + ], + [ + 1394, + 1 + ] + ], + "doc": " Public: Get all {Selection}s, ordered by their position in the buffer\ninstead of the order in which they were added.\n\nReturns an {Array} of {Selection}s. " + } + }, + "1394": { + "28": { + "name": "getLastSelectionInBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1394, + 28 + ], + [ + 1403, + 1 + ] + ], + "doc": " Public: Get the last {Selection} based on its position in the buffer.\n\nReturns a {Selection}. " + } + }, + "1403": { + "34": { + "name": "selectionIntersectsBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 1403, + 34 + ], + [ + 1415, + 1 + ] + ], + "doc": " Public: Determine if a given range in buffer coordinates intersects a\nselection.\n\nbufferRange - A {Range} or range-compatible {Array}.\n\nReturns a {Boolean}. " + } + }, + "1415": { + "27": { + "name": "setCursorScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "options" + ], + "range": [ + [ + 1415, + 27 + ], + [ + 1422, + 1 + ] + ], + "doc": " Public: Move the cursor to the given position in screen coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " + } + }, + "1422": { + "27": { + "name": "getCursorScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1422, + 27 + ], + [ + 1428, + 1 + ] + ], + "doc": " Public: Get the position of the most recently added cursor in screen\ncoordinates.\n\nReturns a {Point}. " + } + }, + "1428": { + "22": { + "name": "getCursorScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1428, + 22 + ], + [ + 1439, + 1 + ] + ], + "doc": " Public: Get the row of the most recently added cursor in screen coordinates.\n\nReturns the screen row {Number}. " + } + }, + "1439": { + "27": { + "name": "setCursorBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "options" + ], + "range": [ + [ + 1439, + 27 + ], + [ + 1446, + 1 + ] + ], + "doc": " Public: Move the cursor to the given position in buffer coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " + } + }, + "1446": { + "27": { + "name": "getCursorBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1446, + 27 + ], + [ + 1453, + 1 + ] + ], + "doc": " Public: Get the position of the most recently added cursor in buffer\ncoordinates.\n\nReturns a {Point}. " + } + }, + "1453": { + "26": { + "name": "getSelectedScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1453, + 26 + ], + [ + 1460, + 1 + ] + ], + "doc": " Public: Get the {Range} of the most recently added selection in screen\ncoordinates.\n\nReturns a {Range}. " + } + }, + "1460": { + "26": { + "name": "getSelectedBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1460, + 26 + ], + [ + 1468, + 1 + ] + ], + "doc": " Public: Get the {Range} of the most recently added selection in buffer\ncoordinates.\n\nReturns a {Range}. " + } + }, + "1468": { + "27": { + "name": "getSelectedBufferRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1468, + 27 + ], + [ + 1476, + 1 + ] + ], + "doc": " Public: Get the {Range}s of all selections in buffer coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " + } + }, + "1476": { + "27": { + "name": "getSelectedScreenRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1476, + 27 + ], + [ + 1482, + 1 + ] + ], + "doc": " Public: Get the {Range}s of all selections in screen coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " + } + }, + "1482": { + "19": { + "name": "getSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1482, + 19 + ], + [ + 1490, + 1 + ] + ], + "doc": " Public: Get the selected text of the most recently added selection.\n\nReturns a {String}. " + } + }, + "1490": { + "24": { + "name": "getTextInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 1490, + 24 + ], + [ + 1499, + 1 + ] + ], + "doc": " Public: Get the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\n\nReturns a {String}. " + } + }, + "1499": { + "24": { + "name": "setTextInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range", + "text", + "normalizeLineEndings" + ], + "range": [ + [ + 1499, + 24 + ], + [ + 1499, + 124 + ] + ], + "doc": " Public: Set the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\ntext - A {String}\n\nReturns the {Range} of the newly-inserted text. " + } + }, + "1505": { + "34": { + "name": "getCurrentParagraphBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1505, + 34 + ], + [ + 1511, + 1 + ] + ], + "doc": " Public: Get the {Range} of the paragraph surrounding the most recently added\ncursor.\n\nReturns a {Range}. " + } + }, + "1511": { + "22": { + "name": "getWordUnderCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 1511, + 22 + ], + [ + 1515, + 1 + ] + ], + "doc": " Public: Returns the word surrounding the most recently added cursor.\n\noptions - See {Cursor::getBeginningOfCurrentWordBufferPosition}. " + } + }, + "1515": { + "16": { + "name": "moveCursorUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineCount" + ], + "range": [ + [ + 1515, + 16 + ], + [ + 1519, + 1 + ] + ], + "doc": "Public: Move every cursor up one row in screen coordinates. " + } + }, + "1519": { + "18": { + "name": "moveCursorDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineCount" + ], + "range": [ + [ + 1519, + 18 + ], + [ + 1523, + 1 + ] + ], + "doc": "Public: Move every cursor down one row in screen coordinates. " + } + }, + "1523": { + "18": { + "name": "moveCursorLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1523, + 18 + ], + [ + 1527, + 1 + ] + ], + "doc": "Public: Move every cursor left one column. " + } + }, + "1527": { + "19": { + "name": "moveCursorRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1527, + 19 + ], + [ + 1533, + 1 + ] + ], + "doc": "Public: Move every cursor right one column. " + } + }, + "1533": { + "19": { + "name": "moveCursorToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1533, + 19 + ], + [ + 1539, + 1 + ] + ], + "doc": " Public: Move every cursor to the top of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " + } + }, + "1539": { + "22": { + "name": "moveCursorToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1539, + 22 + ], + [ + 1543, + 1 + ] + ], + "doc": " Public: Move every cursor to the bottom of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " + } + }, + "1543": { + "37": { + "name": "moveCursorToBeginningOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1543, + 37 + ], + [ + 1547, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its line in screen coordinates. " + } + }, + "1547": { + "31": { + "name": "moveCursorToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1547, + 31 + ], + [ + 1551, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its line in buffer coordinates. " + } + }, + "1551": { + "36": { + "name": "moveCursorToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1551, + 36 + ], + [ + 1555, + 1 + ] + ], + "doc": "Public: Move every cursor to the first non-whitespace character of its line. " + } + }, + "1555": { + "31": { + "name": "moveCursorToEndOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1555, + 31 + ], + [ + 1559, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its line in screen coordinates. " + } + }, + "1559": { + "25": { + "name": "moveCursorToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1559, + 25 + ], + [ + 1563, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its line in buffer coordinates. " + } + }, + "1563": { + "31": { + "name": "moveCursorToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1563, + 31 + ], + [ + 1567, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its surrounding word. " + } + }, + "1567": { + "25": { + "name": "moveCursorToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1567, + 25 + ], + [ + 1571, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its surrounding word. " + } + }, + "1571": { + "35": { + "name": "moveCursorToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1571, + 35 + ], + [ + 1575, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the next word. " + } + }, + "1575": { + "36": { + "name": "moveCursorToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1575, + 36 + ], + [ + 1579, + 1 + ] + ], + "doc": "Public: Move every cursor to the previous word boundary. " + } + }, + "1579": { + "32": { + "name": "moveCursorToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1579, + 32 + ], + [ + 1583, + 1 + ] + ], + "doc": "Public: Move every cursor to the next word boundary. " + } + }, + "1583": { + "40": { + "name": "moveCursorToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1583, + 40 + ], + [ + 1587, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the next paragraph. " + } + }, + "1587": { + "44": { + "name": "moveCursorToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1587, + 44 + ], + [ + 1596, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the previous paragraph. " + } + }, + "1596": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 1596, + 26 + ], + [ + 1599, + 1 + ] + ], + "doc": " Public: Scroll the editor to reveal the most recently added cursor if it is\noff-screen.\n\noptions - An optional hash of options.\n :center - Center the editor around the cursor if possible. Defauls to\n true. " + } + }, + "1599": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1599, + 10 + ], + [ + 1604, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1604": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1604, + 12 + ], + [ + 1609, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1609": { + "16": { + "name": "selectPageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1609, + 16 + ], + [ + 1612, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1612": { + "18": { + "name": "selectPageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1612, + 18 + ], + [ + 1616, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1616": { + "18": { + "name": "getRowsPerPage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1616, + 18 + ], + [ + 1619, + 1 + ] + ], + "doc": "Private: Returns the number of rows per page " + } + }, + "1619": { + "15": { + "name": "moveCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1619, + 15 + ], + [ + 1626, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1626": { + "15": { + "name": "cursorMoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 1626, + 15 + ], + [ + 1636, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1636": { + "26": { + "name": "selectToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1636, + 26 + ], + [ + 1645, + 1 + ] + ], + "doc": " Public: Select from the current cursor position to the given position in\nscreen coordinates.\n\nThis method may merge selections that end up intesecting.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "1645": { + "15": { + "name": "selectRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1645, + 15 + ], + [ + 1652, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character rightward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1652": { + "14": { + "name": "selectLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1652, + 14 + ], + [ + 1659, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character leftward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1659": { + "12": { + "name": "selectUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 1659, + 12 + ], + [ + 1666, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character upward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1666": { + "14": { + "name": "selectDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 1666, + 14 + ], + [ + 1673, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character downward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1673": { + "15": { + "name": "selectToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1673, + 15 + ], + [ + 1679, + 1 + ] + ], + "doc": " Public: Select from the top of the buffer to the end of the last selection\nin the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1679": { + "13": { + "name": "selectAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1679, + 13 + ], + [ + 1686, + 1 + ] + ], + "doc": " Public: Select all text in the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1686": { + "18": { + "name": "selectToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1686, + 18 + ], + [ + 1693, + 1 + ] + ], + "doc": " Public: Selects from the top of the first selection in the buffer to the end\nof the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1693": { + "27": { + "name": "selectToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1693, + 27 + ], + [ + 1702, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the beginning of its line\nwhile preserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1702": { + "32": { + "name": "selectToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1702, + 32 + ], + [ + 1709, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the first non-whitespace\ncharacter of its line while preserving the selection's tail position. If the\ncursor is already on the first character of the line, move it to the\nbeginning of the line.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1709": { + "21": { + "name": "selectToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1709, + 21 + ], + [ + 1716, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the end of its line while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1716": { + "32": { + "name": "selectToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1716, + 32 + ], + [ + 1723, + 1 + ] + ], + "doc": " Public: For each selection, move its cursor to the preceding word boundary\nwhile maintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1723": { + "28": { + "name": "selectToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1723, + 28 + ], + [ + 1729, + 1 + ] + ], + "doc": " Public: For each selection, move its cursor to the next word boundary while\nmaintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1729": { + "14": { + "name": "selectLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1729, + 14 + ], + [ + 1740, + 1 + ] + ], + "doc": " Public: For each cursor, select the containing line.\n\nThis method merges selections on successive lines. " + } + }, + "1740": { + "21": { + "name": "addSelectionBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1740, + 21 + ], + [ + 1751, + 1 + ] + ], + "doc": " Public: Add a similarly-shaped selection to the next eligible line below\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next following non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " + } + }, + "1751": { + "21": { + "name": "addSelectionAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1751, + 21 + ], + [ + 1759, + 1 + ] + ], + "doc": " Public: Add a similarly-shaped selection to the next eligible line above\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next preceding non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " + } + }, + "1759": { + "28": { + "name": "splitSelectionsIntoLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1759, + 28 + ], + [ + 1776, + 1 + ] + ], + "doc": " Public: Split multi-line selections into one selection per line.\n\nOperates on all selections. This method breaks apart all multi-line\nselections to create multiple single-line selections that cumulatively cover\nthe same original area. " + } + }, + "1776": { + "13": { + "name": "transpose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1776, + 13 + ], + [ + 1791, + 1 + ] + ], + "doc": " Public: For each selection, transpose the selected text.\n\nIf the selection is empty, the characters preceding and following the cursor\nare swapped. Otherwise, the selected characters are reversed. " + } + }, + "1791": { + "13": { + "name": "upperCase", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1791, + 13 + ], + [ + 1798, + 1 + ] + ], + "doc": " Public: Convert the selected text to upper case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " + } + }, + "1798": { + "13": { + "name": "lowerCase", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1798, + 13 + ], + [ + 1809, + 1 + ] + ], + "doc": " Public: Convert the selected text to lower case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " + } + }, + "1809": { + "13": { + "name": "joinLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1809, + 13 + ], + [ + 1816, + 1 + ] + ], + "doc": " Private: Convert multiple lines to a single line.\n\nOperates on all selections. If the selection is empty, joins the current\nline with the next line. Otherwise it joins all lines that intersect the\nselection.\n\nJoining a line means that multiple lines are converted to a single line with\nthe contents of each of the original non-empty lines separated by a space. " + } + }, + "1816": { + "27": { + "name": "selectToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1816, + 27 + ], + [ + 1823, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of their containing word.\n\nOperates on all selections. Moves the cursor to the beginning of the\ncontaining word while preserving the selection's tail position. " + } + }, + "1823": { + "21": { + "name": "selectToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1823, + 21 + ], + [ + 1830, + 1 + ] + ], + "doc": " Public: Expand selections to the end of their containing word.\n\nOperates on all selections. Moves the cursor to the end of the containing\nword while preserving the selection's tail position. " + } + }, + "1830": { + "31": { + "name": "selectToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1830, + 31 + ], + [ + 1834, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next word.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nword while preserving the selection's tail position. " + } + }, + "1834": { + "14": { + "name": "selectWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1834, + 14 + ], + [ + 1841, + 1 + ] + ], + "doc": "Public: Select the word containing each cursor. " + } + }, + "1841": { + "36": { + "name": "selectToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1841, + 36 + ], + [ + 1848, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " + } + }, + "1848": { + "40": { + "name": "selectToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1848, + 40 + ], + [ + 1856, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " + } + }, + "1856": { + "16": { + "name": "selectMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1856, + 16 + ], + [ + 1863, + 1 + ] + ], + "doc": " Public: Select the range of the given marker if it is valid.\n\nmarker - A {DisplayBufferMarker}\n\nReturns the selected {Range} or `undefined` if the marker is invalid. " + } + }, + "1863": { + "16": { + "name": "mergeCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1863, + 16 + ], + [ + 1873, + 1 + ] + ], + "doc": "Private: Merge cursors that have the same screen position " + } + }, + "1873": { + "27": { + "name": "expandSelectionsForward", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1873, + 27 + ], + [ + 1879, + 1 + ] + ], + "doc": "Private: Calls the given function with each selection, then merges selections " + } + }, + "1879": { + "28": { + "name": "expandSelectionsBackward", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1879, + 28 + ], + [ + 1883, + 1 + ] + ], + "doc": " Private: Calls the given function with each selection, then merges selections in the\nreversed orientation " + } + }, + "1883": { + "22": { + "name": "finalizeSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1883, + 22 + ], + [ + 1889, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1889": { + "31": { + "name": "mergeIntersectingSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1889, + 31 + ], + [ + 1910, + 1 + ] + ], + "doc": " Private: Merges intersecting selections. If passed a function, it executes\nthe function with merging suppressed, then merges intersecting selections\nafterward. " + } + }, + "1910": { + "40": { + "name": "preserveCursorPositionOnBufferReload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1910, + 40 + ], + [ + 1919, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1919": { + "14": { + "name": "getGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1919, + 14 + ], + [ + 1926, + 1 + ] + ], + "doc": "Public: Get the current {Grammar} of this editor. " + } + }, + "1926": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 1926, + 14 + ], + [ + 1930, + 1 + ] + ], + "doc": " Public: Set the current {Grammar} of this editor.\n\nAssigning a grammar will cause the editor to re-tokenize based on the new\ngrammar. " + } + }, + "1930": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1930, + 17 + ], + [ + 1933, + 1 + ] + ], + "doc": "Private: Reload the grammar based on the file name. " + } + }, + "1933": { + "20": { + "name": "shouldAutoIndent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1933, + 20 + ], + [ + 1944, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1944": { + "12": { + "name": "transact", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1944, + 12 + ], + [ + 1944, + 39 + ] + ], + "doc": " Public: Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " + } + }, + "1952": { + "20": { + "name": "beginTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1952, + 20 + ], + [ + 1952, + 48 + ] + ], + "doc": " Public: Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " + } + }, + "1958": { + "21": { + "name": "commitTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1958, + 21 + ], + [ + 1958, + 50 + ] + ], + "doc": " Public: Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " + } + }, + "1962": { + "20": { + "name": "abortTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1962, + 20 + ], + [ + 1962, + 48 + ] + ], + "doc": " Public: Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " + } + }, + "1964": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1964, + 11 + ], + [ + 1967, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1967": { + "18": { + "name": "logScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 1967, + 18 + ], + [ + 1967, + 68 + ] + ], + "doc": "~Private~" + } + }, + "1969": { + "22": { + "name": "handleTokenization", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1969, + 22 + ], + [ + 1972, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1972": { + "23": { + "name": "handleGrammarChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1972, + 23 + ], + [ + 1976, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1976": { + "23": { + "name": "handleMarkerCreated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1976, + 23 + ], + [ + 1980, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1980": { + "32": { + "name": "getSelectionMarkerAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1980, + 32 + ], + [ + 1983, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1983": { + "27": { + "name": "getVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1983, + 27 + ], + [ + 1983, + 69 + ] + ], + "doc": "~Private~" + } + }, + "1984": { + "27": { + "name": "setVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "verticalScrollMargin" + ], + "range": [ + [ + 1984, + 27 + ], + [ + 1984, + 112 + ] + ] + } + }, + "1986": { + "29": { + "name": "getHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1986, + 29 + ], + [ + 1986, + 73 + ] + ], + "doc": "~Private~" + } + }, + "1987": { + "29": { + "name": "setHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "horizontalScrollMargin" + ], + "range": [ + [ + 1987, + 29 + ], + [ + 1987, + 120 + ] + ] + } + }, + "1989": { + "25": { + "name": "getLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1989, + 25 + ], + [ + 1989, + 65 + ] + ], + "doc": "~Private~" + } + }, + "1990": { + "25": { + "name": "setLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeightInPixels" + ], + "range": [ + [ + 1990, + 25 + ], + [ + 1990, + 104 + ] + ] + } + }, + "1992": { + "29": { + "name": "batchCharacterMeasurement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1992, + 29 + ], + [ + 1992, + 80 + ] + ], + "doc": "~Private~" + } + }, + "1994": { + "22": { + "name": "getScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char" + ], + "range": [ + [ + 1994, + 22 + ], + [ + 1994, + 94 + ] + ], + "doc": "~Private~" + } + }, + "1995": { + "22": { + "name": "setScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char", + "width" + ], + "range": [ + [ + 1995, + 22 + ], + [ + 1995, + 108 + ] + ] + } + }, + "1997": { + "23": { + "name": "getScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames" + ], + "range": [ + [ + 1997, + 23 + ], + [ + 1997, + 84 + ] + ], + "doc": "~Private~" + } + }, + "1999": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1999, + 25 + ], + [ + 1999, + 65 + ] + ], + "doc": "~Private~" + } + }, + "2001": { + "23": { + "name": "getDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2001, + 23 + ], + [ + 2001, + 61 + ] + ], + "doc": "~Private~" + } + }, + "2002": { + "23": { + "name": "setDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultCharWidth" + ], + "range": [ + [ + 2002, + 23 + ], + [ + 2002, + 96 + ] + ] + } + }, + "2004": { + "13": { + "name": "setHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "height" + ], + "range": [ + [ + 2004, + 13 + ], + [ + 2004, + 56 + ] + ], + "doc": "~Private~" + } + }, + "2005": { + "13": { + "name": "getHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2005, + 13 + ], + [ + 2005, + 41 + ] + ] + } + }, + "2007": { + "19": { + "name": "getClientHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2007, + 19 + ], + [ + 2007, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2009": { + "12": { + "name": "setWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width" + ], + "range": [ + [ + 2009, + 12 + ], + [ + 2009, + 52 + ] + ], + "doc": "~Private~" + } + }, + "2010": { + "12": { + "name": "getWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2010, + 12 + ], + [ + 2010, + 39 + ] + ] + } + }, + "2012": { + "16": { + "name": "getScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2012, + 16 + ], + [ + 2012, + 47 + ] + ], + "doc": "~Private~" + } + }, + "2013": { + "16": { + "name": "setScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 2013, + 16 + ], + [ + 2013, + 68 + ] + ] + } + }, + "2015": { + "19": { + "name": "getScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2015, + 19 + ], + [ + 2015, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2016": { + "19": { + "name": "setScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 2016, + 19 + ], + [ + 2016, + 80 + ] + ] + } + }, + "2018": { + "17": { + "name": "getScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2018, + 17 + ], + [ + 2018, + 49 + ] + ], + "doc": "~Private~" + } + }, + "2019": { + "17": { + "name": "setScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 2019, + 17 + ], + [ + 2019, + 72 + ] + ] + } + }, + "2021": { + "18": { + "name": "getScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2021, + 18 + ], + [ + 2021, + 51 + ] + ], + "doc": "~Private~" + } + }, + "2022": { + "18": { + "name": "setScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 2022, + 18 + ], + [ + 2022, + 76 + ] + ] + } + }, + "2024": { + "19": { + "name": "getScrollHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2024, + 19 + ], + [ + 2024, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2025": { + "18": { + "name": "getScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollWidth" + ], + "range": [ + [ + 2025, + 18 + ], + [ + 2025, + 76 + ] + ] + } + }, + "2027": { + "22": { + "name": "getVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2027, + 22 + ], + [ + 2027, + 59 + ] + ], + "doc": "~Private~" + } + }, + "2029": { + "29": { + "name": "intersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 2029, + 29 + ], + [ + 2029, + 108 + ] + ], + "doc": "~Private~" + } + }, + "2031": { + "38": { + "name": "selectionIntersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 2031, + 38 + ], + [ + 2031, + 112 + ] + ], + "doc": "~Private~" + } + }, + "2033": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 2033, + 34 + ], + [ + 2033, + 114 + ] + ], + "doc": "~Private~" + } + }, + "2035": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 2035, + 34 + ], + [ + 2035, + 114 + ] + ], + "doc": "~Private~" + } + }, + "2037": { + "34": { + "name": "screenPositionForPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 2037, + 34 + ], + [ + 2037, + 112 + ] + ], + "doc": "~Private~" + } + }, + "2039": { + "27": { + "name": "pixelRectForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 2039, + 27 + ], + [ + 2039, + 94 + ] + ], + "doc": "~Private~" + } + }, + "2041": { + "23": { + "name": "scrollToScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 2041, + 23 + ], + [ + 2041, + 104 + ] + ], + "doc": "~Private~" + } + }, + "2043": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 2043, + 26 + ], + [ + 2043, + 116 + ] + ], + "doc": "~Private~" + } + }, + "2045": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 2045, + 26 + ], + [ + 2045, + 116 + ] + ], + "doc": "~Private~" + } + }, + "2047": { + "26": { + "name": "horizontallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2047, + 26 + ], + [ + 2047, + 67 + ] + ], + "doc": "~Private~" + } + }, + "2049": { + "24": { + "name": "verticallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2049, + 24 + ], + [ + 2049, + 63 + ] + ], + "doc": "~Private~" + } + }, + "2051": { + "32": { + "name": "getHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2051, + 32 + ], + [ + 2051, + 79 + ] + ], + "doc": "~Private~" + } + }, + "2052": { + "32": { + "name": "setHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "height" + ], + "range": [ + [ + 2052, + 32 + ], + [ + 2052, + 94 + ] + ] + } + }, + "2054": { + "29": { + "name": "getVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2054, + 29 + ], + [ + 2054, + 73 + ] + ], + "doc": "~Private~" + } + }, + "2055": { + "29": { + "name": "setVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width" + ], + "range": [ + [ + 2055, + 29 + ], + [ + 2055, + 86 + ] + ] + } + }, + "2058": { + "12": { + "name": "joinLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2058, + 12 + ], + [ + 2060, + 16 + ] + ], + "doc": "Deprecated: Call {::joinLines} instead. " + } + } + }, + "exports": 138 + }, + "src/fold.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "7": { + "0": { + "type": "class", + "name": "Fold", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 8, + 6 + ], + [ + 9, + 17 + ], + [ + 10, + 10 + ], + [ + 12, + 15 + ], + [ + 20, + 22 + ], + [ + 27, + 11 + ], + [ + 35, + 18 + ], + [ + 48, + 21 + ], + [ + 53, + 15 + ], + [ + 57, + 13 + ], + [ + 61, + 11 + ], + [ + 67, + 21 + ], + [ + 75, + 21 + ], + [ + 78, + 23 + ], + [ + 82, + 13 + ] + ], + "doc": " Private: Represents a fold that collapses multiple buffer lines into a single\nline on the screen.\n\nTheir creation is managed by the {DisplayBuffer}. ", + "range": [ + [ + 7, + 0 + ], + [ + 84, + 26 + ] + ] + } + }, + "8": { + "6": { + "name": "id", + "type": "primitive", + "range": [ + [ + 8, + 6 + ], + [ + 8, + 9 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "17": { + "name": "displayBuffer", + "type": "primitive", + "range": [ + [ + 9, + 17 + ], + [ + 9, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "10": { + "name": "marker", + "type": "primitive", + "range": [ + [ + 10, + 10 + ], + [ + 10, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 20, + 1 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "22": { + "name": "isInsideLargerFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 22 + ], + [ + 27, + 1 + ] + ], + "doc": "Private: Returns whether this fold is contained within another fold " + } + }, + "27": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 11 + ], + [ + 35, + 1 + ] + ], + "doc": "Private: Destroys this fold " + } + }, + "35": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 35, + 18 + ], + [ + 48, + 1 + ] + ], + "doc": " Private: Returns the fold's {Range} in buffer coordinates\n\nincludeNewline - A {Boolean} which, if `true`, includes the trailing newline\n\nReturns a {Range}. " + } + }, + "48": { + "21": { + "name": "getBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 21 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "15": { + "name": "getStartRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 15 + ], + [ + 57, + 1 + ] + ], + "doc": "Private: Returns the fold's start row as a {Number}. " + } + }, + "57": { + "13": { + "name": "getEndRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 13 + ], + [ + 61, + 1 + ] + ], + "doc": "Private: Returns the fold's end row as a {Number}. " + } + }, + "61": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 11 + ], + [ + 67, + 1 + ] + ], + "doc": "Private: Returns a {String} representation of the fold. " + } + }, + "67": { + "21": { + "name": "getBufferRowCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 21 + ], + [ + 75, + 1 + ] + ], + "doc": " Private: Retrieves the number of buffer rows spanned by the fold.\n\nReturns a {Number}. " + } + }, + "75": { + "21": { + "name": "isContainedByFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fold" + ], + "range": [ + [ + 75, + 21 + ], + [ + 78, + 1 + ] + ], + "doc": " Private: Identifies if a fold is nested within a fold.\n\nfold - A {Fold} to check\n\nReturns a {Boolean}. " + } + }, + "78": { + "23": { + "name": "updateDisplayBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 78, + 23 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 13 + ], + [ + 84, + 26 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 7 + }, + "src/git.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true, + "name": "join", + "exportsProperty": "join" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2" + } + }, + "5": { + "11": { + "name": "GitUtils", + "type": "import", + "range": [ + [ + 5, + 11 + ], + [ + 5, + 29 + ] + ], + "bindingType": "variable", + "module": "git-utils" + } + }, + "7": { + "7": { + "name": "Task", + "type": "import", + "range": [ + [ + 7, + 7 + ], + [ + 7, + 22 + ] + ], + "bindingType": "variable", + "path": "./task" + } + }, + "40": { + "0": { + "type": "class", + "name": "Git", + "bindingType": "exports", + "classProperties": [ + [ + 52, + 9 + ], + [ + 59, + 11 + ] + ], + "prototypeProperties": [ + [ + 66, + 15 + ], + [ + 89, + 21 + ], + [ + 97, + 11 + ], + [ + 109, + 11 + ], + [ + 117, + 16 + ], + [ + 120, + 11 + ], + [ + 124, + 23 + ], + [ + 132, + 17 + ], + [ + 149, + 17 + ], + [ + 152, + 20 + ], + [ + 155, + 18 + ], + [ + 158, + 15 + ], + [ + 161, + 13 + ], + [ + 165, + 19 + ], + [ + 169, + 14 + ], + [ + 181, + 16 + ], + [ + 196, + 16 + ], + [ + 209, + 21 + ], + [ + 222, + 16 + ], + [ + 231, + 15 + ], + [ + 247, + 22 + ], + [ + 265, + 16 + ], + [ + 276, + 18 + ], + [ + 282, + 16 + ], + [ + 291, + 21 + ], + [ + 298, + 22 + ], + [ + 310, + 17 + ], + [ + 318, + 23 + ], + [ + 330, + 37 + ], + [ + 338, + 23 + ], + [ + 342, + 13 + ], + [ + 346, + 17 + ] + ], + "doc": " Public: Represents the underlying git operations performed by Atom.\n\nThis class shouldn't be instantiated directly but instead by accessing the\n`atom.project` global and calling `getRepo()`. Note that this will only be\navailable when the project is backed by a Git repository.\n\nThis class handles submodules automatically by taking a `path` argument to many\nof the methods. This `path` argument will determine which underlying\nrepository is used.\n\nFor a repository with submodules this would have the following outcome:\n\n```coffee\nrepo = atom.project.getRepo()\nrepo.getShortHead() # 'master'\nrepo.getShortHead('vendor/path/to/a/submodule') # 'dead1234'\n```\n\n## Example\n\n```coffeescript\ngit = atom.project.getRepo()\nconsole.log git.getOriginUrl()\n```\n\n## Requiring in packages\n\n```coffee\n {Git} = require 'atom'\n``` ", + "range": [ + [ + 40, + 0 + ], + [ + 364, + 55 + ] + ] + } + }, + "52": { + "9": { + "name": "open", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "path", + "options" + ], + "range": [ + [ + 52, + 9 + ], + [ + 59, + 1 + ] + ], + "doc": " Public: Creates a new Git instance.\n\npath - The path to the Git repository to open.\noptions - An object with the following keys (default: {}):\n :refreshOnWindowFocus - `true` to refresh the index and statuses when the\n window is focused.\n\nReturns a Git instance or null if the repository could not be opened. " + } + }, + "59": { + "11": { + "name": "exists", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 59, + 11 + ], + [ + 66, + 1 + ] + ], + "doc": "~Private~" + } + }, + "66": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "options" + ], + "range": [ + [ + 66, + 15 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "subscribeToBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer" + ], + "range": [ + [ + 89, + 21 + ], + [ + 97, + 1 + ] + ], + "doc": "Private: Subscribes to buffer events. " + } + }, + "97": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 97, + 11 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Destroy this `Git` object. This destroys any tasks and subscriptions\nand releases the underlying libgit2 repository handle. " + } + }, + "109": { + "11": { + "name": "getRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 109, + 11 + ], + [ + 117, + 1 + ] + ], + "doc": "Private: Returns the corresponding {Repository} " + } + }, + "117": { + "16": { + "name": "refreshIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 16 + ], + [ + 117, + 43 + ] + ], + "doc": " Private: Reread the index to update any values that have changed since the\nlast time the index was read. " + } + }, + "120": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 120, + 11 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Returns the {String} path of the repository. " + } + }, + "124": { + "23": { + "name": "getWorkingDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 23 + ], + [ + 124, + 57 + ] + ], + "doc": "Public: Returns the {String} working directory path of the repository. " + } + }, + "132": { + "17": { + "name": "getPathStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 132, + 17 + ], + [ + 149, + 1 + ] + ], + "doc": " Public: Get the status of a single path in the repository.\n\npath - A {String} repository-relative path.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " + } + }, + "149": { + "17": { + "name": "isPathIgnored", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 149, + 17 + ], + [ + 149, + 65 + ] + ], + "doc": " Public: Is the given path ignored?\n\nReturns a {Boolean}. " + } + }, + "152": { + "20": { + "name": "isStatusModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 152, + 20 + ], + [ + 152, + 66 + ] + ], + "doc": "Public: Returns true if the given status indicates modification. " + } + }, + "155": { + "18": { + "name": "isPathModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 155, + 18 + ], + [ + 155, + 66 + ] + ], + "doc": "Public: Returns true if the given path is modified. " + } + }, + "158": { + "15": { + "name": "isStatusNew", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 158, + 15 + ], + [ + 158, + 56 + ] + ], + "doc": "Public: Returns true if the given status indicates a new path. " + } + }, + "161": { + "13": { + "name": "isPathNew", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 161, + 13 + ], + [ + 161, + 56 + ] + ], + "doc": "Public: Returns true if the given path is new. " + } + }, + "165": { + "19": { + "name": "isProjectAtRoot", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 19 + ], + [ + 169, + 1 + ] + ], + "doc": " Public: Returns true if at the root, false if in a subfolder of the\nrepository. " + } + }, + "169": { + "14": { + "name": "relativize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 169, + 14 + ], + [ + 169, + 50 + ] + ], + "doc": "Public: Makes a path relative to the repository's working directory. " + } + }, + "181": { + "16": { + "name": "getShortHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 181, + 16 + ], + [ + 181, + 54 + ] + ], + "doc": " Public: Retrieves a shortened version of the HEAD reference value.\n\nThis removes the leading segments of `refs/heads`, `refs/tags`, or\n`refs/remotes`. It also shortens the SHA-1 of a detached `HEAD` to 7\ncharacters.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository contains submodules.\n\nReturns a {String}. " + } + }, + "196": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 196, + 16 + ], + [ + 209, + 1 + ] + ], + "doc": " Public: Restore the contents of a path in the working directory and index\nto the version at `HEAD`.\n\nThis is essentially the same as running:\n\n```\ngit reset HEAD -- \ngit checkout HEAD -- \n```\n\npath - The {String} path to checkout.\n\nReturns a {Boolean} that's true if the method was successful. " + } + }, + "209": { + "21": { + "name": "checkoutReference", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "create" + ], + "range": [ + [ + 209, + 21 + ], + [ + 222, + 1 + ] + ], + "doc": " Public: Checks out a branch in your repository.\n\nreference - The String reference to checkout\ncreate - A Boolean value which, if true creates the new reference if it\n doesn't exist.\n\nReturns a Boolean that's true if the method was successful. " + } + }, + "222": { + "16": { + "name": "getDiffStats", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 222, + 16 + ], + [ + 231, + 1 + ] + ], + "doc": " Public: Retrieves the number of lines added and removed to a path.\n\nThis compares the working directory contents of the path to the `HEAD`\nversion.\n\npath - The {String} path to check.\n\nReturns an {Object} with the following keys:\n :added - The {Number} of added lines.\n :deleted - The {Number} of deleted lines. " + } + }, + "231": { + "15": { + "name": "isSubmodule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 231, + 15 + ], + [ + 247, + 1 + ] + ], + "doc": " Public: Is the given path a submodule in the repository?\n\npath - The {String} path to check.\n\nReturns a {Boolean}. " + } + }, + "247": { + "22": { + "name": "getDirectoryStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "directoryPath" + ], + "range": [ + [ + 247, + 22 + ], + [ + 265, + 1 + ] + ], + "doc": " Public: Get the status of a directory in the repository's working directory.\n\npath - The {String} path to check.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " + } + }, + "265": { + "16": { + "name": "getLineDiffs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "text" + ], + "range": [ + [ + 265, + 16 + ], + [ + 276, + 1 + ] + ], + "doc": " Public: Retrieves the line diffs comparing the `HEAD` version of the given\npath and the given text.\n\npath - The {String} path relative to the repository.\ntext - The {String} to compare against the `HEAD` contents\n\nReturns an {Array} of hunk {Object}s with the following keys:\n :oldStart - The line {Number} of the old hunk.\n :newStart - The line {Number} of the new hunk.\n :oldLines - The {Number} of lines in the old hunk.\n :newLines - The {Number} of lines in the new hunk " + } + }, + "276": { + "18": { + "name": "getConfigValue", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "key", + "path" + ], + "range": [ + [ + 276, + 18 + ], + [ + 276, + 66 + ] + ], + "doc": " Public: Returns the git configuration value specified by the key.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " + } + }, + "282": { + "16": { + "name": "getOriginUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 282, + 16 + ], + [ + 282, + 67 + ] + ], + "doc": " Public: Returns the origin url of the repository.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " + } + }, + "291": { + "21": { + "name": "getUpstreamBranch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 291, + 21 + ], + [ + 291, + 64 + ] + ], + "doc": " Public: Returns the upstream branch for the current HEAD, or null if there\nis no upstream branch for the current HEAD.\n\npath - An optional {String} path in the repo to get this information for,\n only needed if the repository contains submodules.\n\nReturns a {String} branch name such as `refs/remotes/origin/master`. " + } + }, + "298": { + "22": { + "name": "getReferenceTarget", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "path" + ], + "range": [ + [ + 298, + 22 + ], + [ + 310, + 1 + ] + ], + "doc": " Public: Returns the current SHA for the given reference.\n\nreference - The {String} reference to get the target of.\npath - An optional {String} path in the repo to get the reference target\n for. Only needed if the repository contains submodules. " + } + }, + "310": { + "17": { + "name": "getReferences", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 310, + 17 + ], + [ + 310, + 56 + ] + ], + "doc": " Public: Gets all the local and remote references.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :heads - An {Array} of head reference names.\n :remotes - An {Array} of remote reference names.\n :tags - An {Array} of tag reference names. " + } + }, + "318": { + "23": { + "name": "getAheadBehindCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "path" + ], + "range": [ + [ + 318, + 23 + ], + [ + 330, + 1 + ] + ], + "doc": " Public: Returns the number of commits behind the current branch is from the\nits upstream remote branch.\n\nreference - The {String} branch reference name.\npath - The {String} path in the repository to get this information for,\n only needed if the repository contains submodules. " + } + }, + "330": { + "37": { + "name": "getCachedUpstreamAheadBehindCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 330, + 37 + ], + [ + 338, + 1 + ] + ], + "doc": " Public: Get the cached ahead/behind commit counts for the current branch's\nupstream branch.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :ahead - The {Number} of commits ahead.\n :behind - The {Number} of commits behind. " + } + }, + "338": { + "23": { + "name": "getCachedPathStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 338, + 23 + ], + [ + 342, + 1 + ] + ], + "doc": " Public: Get the cached status for the given path.\n\npath - A {String} path in the repository, relative or absolute.\n\nReturns a status {Number} or null if the path is not in the cache. " + } + }, + "342": { + "13": { + "name": "hasBranch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "branch" + ], + "range": [ + [ + 342, + 13 + ], + [ + 342, + 68 + ] + ], + "doc": "Public: Returns true if the given branch exists. " + } + }, + "346": { + "17": { + "name": "refreshStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 17 + ], + [ + 364, + 55 + ] + ], + "doc": " Private: Refreshes the current git status in an outside process and asynchronously\nupdates the relevant properties. " + } + } + }, + "exports": 40 + }, + "src/gutter-component.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "isEqual", + "exportsProperty": "isEqual" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 29 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "32": { + "type": "import", + "range": [ + [ + 3, + 32 + ], + [ + 3, + 45 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "multiplyString", + "exportsProperty": "multiplyString" + }, + "48": { + "type": "import", + "range": [ + [ + 3, + 48 + ], + [ + 3, + 54 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "toArray", + "exportsProperty": "toArray" + } + }, + "4": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 4, + 13 + ], + [ + 4, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "5": { + "18": { + "name": "SubscriberMixin", + "type": "import", + "range": [ + [ + 5, + 18 + ], + [ + 5, + 45 + ] + ], + "bindingType": "variable", + "path": "./subscriber-mixin" + } + }, + "7": { + "13": { + "name": "WrapperDiv", + "type": "function", + "range": [ + [ + 7, + 13 + ], + [ + 7, + 41 + ] + ] + } + }, + "10": { + "18": { + "name": "GutterComponent", + "type": "function", + "range": [ + [ + 10, + 18 + ], + [ + 227, + 39 + ] + ] + } + }, + "11": { + "15": { + "name": "'GutterComponent'", + "type": "primitive", + "range": [ + [ + 11, + 15 + ], + [ + 11, + 31 + ] + ] + } + }, + "12": { + "10": { + "type": "primitive", + "range": [ + [ + 12, + 10 + ], + [ + 12, + 26 + ] + ] + } + }, + "14": { + "23": { + "type": "primitive", + "range": [ + [ + 14, + 23 + ], + [ + 14, + 26 + ] + ] + } + }, + "15": { + "17": { + "type": "primitive", + "range": [ + [ + 15, + 17 + ], + [ + 15, + 20 + ] + ] + } + }, + "17": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 10 + ], + [ + 29, + 1 + ] + ], + "doc": null + } + }, + "29": { + "16": { + "name": "getTransform", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 16 + ], + [ + 37, + 1 + ] + ], + "doc": null + } + }, + "37": { + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 37, + 22 + ], + [ + 43, + 1 + ] + ], + "doc": null + } + }, + "43": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 21 + ], + [ + 50, + 1 + ] + ], + "doc": null + } + }, + "50": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 50, + 25 + ], + [ + 64, + 1 + ] + ], + "doc": null + } + }, + "64": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "oldProps" + ], + "range": [ + [ + 64, + 22 + ], + [ + 74, + 1 + ] + ], + "doc": null + } + }, + "74": { + "24": { + "name": "clearScreenRowCaches", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 24 + ], + [ + 80, + 1 + ] + ], + "doc": null + } + }, + "80": { + "25": { + "name": "appendDummyLineNumber", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 80, + 25 + ], + [ + 86, + 1 + ] + ], + "doc": null + } + }, + "86": { + "25": { + "name": "updateDummyLineNumber", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 25 + ], + [ + 89, + 1 + ] + ], + "doc": null + } + }, + "89": { + "21": { + "name": "updateLineNumbers", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 93, + 1 + ] + ], + "doc": null + } + }, + "93": { + "40": { + "name": "appendOrUpdateVisibleLineNumberNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 93, + 40 + ], + [ + 138, + 1 + ] + ], + "doc": null + } + }, + "138": { + "25": { + "name": "removeLineNumberNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberIdsToPreserve" + ], + "range": [ + [ + 138, + 25 + ], + [ + 150, + 1 + ] + ], + "doc": null + } + }, + "150": { + "23": { + "name": "buildLineNumberHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bufferRow", + "softWrapped", + "maxLineNumberDigits", + "screenRow" + ], + "range": [ + [ + 150, + 23 + ], + [ + 169, + 1 + ] + ], + "doc": null + } + }, + "169": { + "28": { + "name": "buildLineNumberInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bufferRow", + "softWrapped", + "maxLineNumberDigits" + ], + "range": [ + [ + 169, + 28 + ], + [ + 179, + 1 + ] + ], + "doc": null + } + }, + "179": { + "24": { + "name": "updateLineNumberNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberId", + "bufferRow", + "screenRow", + "softWrapped" + ], + "range": [ + [ + 179, + 24 + ], + [ + 208, + 1 + ] + ], + "doc": null + } + }, + "208": { + "17": { + "name": "hasDecoration", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "decorations", + "decoration" + ], + "range": [ + [ + 208, + 17 + ], + [ + 211, + 1 + ] + ], + "doc": null + } + }, + "211": { + "21": { + "name": "hasLineNumberNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberId" + ], + "range": [ + [ + 211, + 21 + ], + [ + 214, + 1 + ] + ], + "doc": null + } + }, + "214": { + "30": { + "name": "lineNumberNodeForScreenRow", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 214, + 30 + ], + [ + 217, + 1 + ] + ], + "doc": null + } + }, + "217": { + "11": { + "name": "onClick", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 217, + 11 + ], + [ + 227, + 39 + ] + ], + "doc": null + } + } + }, + "exports": 10 + }, + "src/gutter-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "10": { + "type": "import", + "range": [ + [ + 0, + 10 + ], + [ + 0, + 11 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + }, + "14": { + "type": "import", + "range": [ + [ + 0, + 14 + ], + [ + 0, + 16 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$$", + "exportsProperty": "$$$" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "8": { + "0": { + "type": "class", + "name": "GutterView", + "bindingType": "exports", + "classProperties": [ + [ + 9, + 12 + ] + ], + "prototypeProperties": [ + [ + 13, + 18 + ], + [ + 14, + 17 + ], + [ + 16, + 14 + ], + [ + 19, + 15 + ], + [ + 28, + 16 + ], + [ + 31, + 21 + ], + [ + 53, + 17 + ], + [ + 56, + 13 + ], + [ + 62, + 22 + ], + [ + 68, + 25 + ], + [ + 74, + 33 + ], + [ + 83, + 24 + ], + [ + 91, + 22 + ], + [ + 101, + 27 + ], + [ + 115, + 18 + ], + [ + 126, + 23 + ], + [ + 135, + 21 + ], + [ + 169, + 23 + ], + [ + 175, + 22 + ], + [ + 179, + 22 + ], + [ + 190, + 21 + ], + [ + 194, + 25 + ], + [ + 221, + 25 + ], + [ + 235, + 24 + ], + [ + 242, + 20 + ], + [ + 250, + 18 + ] + ], + "doc": " Private: Represents the portion of the {EditorView} containing row numbers.\n\nThe gutter also indicates if rows are folded. ", + "range": [ + [ + 8, + 0 + ], + [ + 274, + 29 + ] + ] + } + }, + "9": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 12 + ], + [ + 13, + 1 + ] + ] + } + }, + "13": { + "18": { + "name": "firstScreenRow", + "type": "primitive", + "range": [ + [ + 13, + 18 + ], + [ + 13, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "17": { + "name": "lastScreenRow", + "type": "primitive", + "range": [ + [ + 14, + 17 + ], + [ + 14, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 14 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 19, + 15 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 16 + ], + [ + 31, + 1 + ] + ], + "doc": "~Private~" + } + }, + "31": { + "21": { + "name": "handleMouseEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 31, + 21 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "17": { + "name": "getEditorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 17 + ], + [ + 56, + 1 + ] + ], + "doc": " Private: Retrieves the containing {EditorView}.\n\nReturns an {EditorView}. " + } + }, + "56": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 13 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "22": { + "name": "setShowLineNumbers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showLineNumbers" + ], + "range": [ + [ + 62, + 22 + ], + [ + 68, + 1 + ] + ], + "doc": " Private: Defines whether to show the gutter or not.\n\nshowLineNumbers - A {Boolean} which, if `false`, hides the gutter " + } + }, + "68": { + "25": { + "name": "getLineNumberElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 25 + ], + [ + 74, + 1 + ] + ], + "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " + } + }, + "74": { + "33": { + "name": "getLineNumberElementsForClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 74, + 33 + ], + [ + 83, + 1 + ] + ], + "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " + } + }, + "83": { + "24": { + "name": "getLineNumberElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 83, + 24 + ], + [ + 91, + 1 + ] + ], + "doc": " Private: Get a single line-number div.\n\n* bufferRow: 0 based line number\n\nReturns a list of {HTMLElement}s that correspond to the bufferRow. More than\none in the list indicates a wrapped line. " + } + }, + "91": { + "22": { + "name": "addClassToAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 91, + 22 + ], + [ + 101, + 1 + ] + ], + "doc": " Private: Add a class to all line-number divs.\n\n* klass: string class name\n\nReturns true if the class was added to any lines " + } + }, + "101": { + "27": { + "name": "removeClassFromAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 101, + 27 + ], + [ + 115, + 1 + ] + ], + "doc": " Private: Remove a class from all line-number divs.\n\n* klass: string class name. Can only be one class name. i.e. 'my-class'\n\nReturns true if the class was removed from any lines " + } + }, + "115": { + "18": { + "name": "addClassToLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "klass" + ], + "range": [ + [ + 115, + 18 + ], + [ + 126, + 1 + ] + ], + "doc": " Private: Add a class to a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was added to " + } + }, + "126": { + "23": { + "name": "removeClassFromLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "klass" + ], + "range": [ + [ + 126, + 23 + ], + [ + 135, + 1 + ] + ], + "doc": " Private: Remove a class from a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was removed from " + } + }, + "135": { + "21": { + "name": "updateLineNumbers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "changes", + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 135, + 21 + ], + [ + 169, + 1 + ] + ], + "doc": "~Private~" + } + }, + "169": { + "23": { + "name": "prependLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElements" + ], + "range": [ + [ + 169, + 23 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "22": { + "name": "appendLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElements" + ], + "range": [ + [ + 175, + 22 + ], + [ + 179, + 1 + ] + ], + "doc": "~Private~" + } + }, + "179": { + "22": { + "name": "removeLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "numberOfElements" + ], + "range": [ + [ + 179, + 22 + ], + [ + 190, + 1 + ] + ], + "doc": "~Private~" + } + }, + "190": { + "21": { + "name": "buildLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 190, + 21 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "25": { + "name": "buildLineElementsHtml", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 194, + 25 + ], + [ + 221, + 1 + ] + ], + "doc": "~Private~" + } + }, + "221": { + "25": { + "name": "updateFoldableClasses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "changes" + ], + "range": [ + [ + 221, + 25 + ], + [ + 235, + 1 + ] + ], + "doc": " Private: Called to update the 'foldable' class of line numbers when there's\na change to the display buffer that doesn't regenerate all the line numbers\nanyway. " + } + }, + "235": { + "24": { + "name": "removeLineHighlights", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 235, + 24 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "20": { + "name": "addLineHighlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "emptySelection" + ], + "range": [ + [ + 242, + 20 + ], + [ + 250, + 1 + ] + ], + "doc": "~Private~" + } + }, + "250": { + "18": { + "name": "highlightLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 250, + 18 + ], + [ + 274, + 29 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/highlight-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "21": { + "name": "HighlightComponent", + "type": "function", + "range": [ + [ + 5, + 21 + ], + [ + 89, + 110 + ] + ] + } + }, + "6": { + "15": { + "name": "'HighlightComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 34 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 20, + 1 + ] + ], + "doc": null + } + }, + "20": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 21 + ], + [ + 27, + 1 + ] + ], + "doc": null + } + }, + "27": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 24 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "23": { + "name": "startFlashAnimation", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 23 + ], + [ + 42, + 1 + ] + ], + "doc": null + } + }, + "42": { + "27": { + "name": "renderSingleLineRegions", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 27 + ], + [ + 53, + 1 + ] + ], + "doc": null + } + }, + "53": { + "26": { + "name": "renderMultiLineRegions", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 26 + ], + [ + 88, + 1 + ] + ], + "doc": null + } + }, + "88": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 88, + 25 + ], + [ + 89, + 110 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/highlights-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "3": { + "21": { + "name": "HighlightComponent", + "type": "import", + "range": [ + [ + 3, + 21 + ], + [ + 3, + 51 + ] + ], + "bindingType": "variable", + "path": "./highlight-component" + } + }, + "6": { + "22": { + "name": "HighlightsComponent", + "type": "function", + "range": [ + [ + 6, + 22 + ], + [ + 24, + 148 + ] + ] + } + }, + "7": { + "15": { + "name": "'HighlightsComponent'", + "type": "primitive", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 35 + ] + ] + } + }, + "9": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 10 + ], + [ + 13, + 1 + ] + ], + "doc": null + } + }, + "13": { + "20": { + "name": "renderHighlights", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 20 + ], + [ + 23, + 1 + ] + ], + "doc": null + } + }, + "23": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 23, + 25 + ], + [ + 24, + 148 + ] + ], + "doc": null + } + } + }, + "exports": 6 + }, + "src/input-component.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "last", + "exportsProperty": "last" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 13 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "isEqual", + "exportsProperty": "isEqual" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "input", + "exportsProperty": "input" + } + }, + "5": { + "17": { + "name": "InputComponent", + "type": "function", + "range": [ + [ + 5, + 17 + ], + [ + 43, + 25 + ] + ] + } + }, + "6": { + "15": { + "name": "'InputComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 30 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 13, + 1 + ] + ], + "doc": null + } + }, + "13": { + "19": { + "name": "getInitialState", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 19 + ], + [ + 16, + 1 + ] + ], + "doc": null + } + }, + "16": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 21 + ], + [ + 21, + 1 + ] + ], + "doc": null + } + }, + "21": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 22 + ], + [ + 27, + 1 + ] + ], + "doc": null + } + }, + "27": { + "27": { + "name": "isPressAndHoldCharacter", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "char" + ], + "range": [ + [ + 27, + 27 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 30, + 25 + ], + [ + 33, + 1 + ] + ], + "doc": null + } + }, + "33": { + "11": { + "name": "onPaste", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 33, + 11 + ], + [ + 36, + 1 + ] + ], + "doc": null + } + }, + "36": { + "11": { + "name": "onFocus", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 36, + 11 + ], + [ + 39, + 1 + ] + ], + "doc": null + } + }, + "39": { + "10": { + "name": "onBlur", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 39, + 10 + ], + [ + 42, + 1 + ] + ], + "doc": null + } + }, + "42": { + "9": { + "name": "focus", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 9 + ], + [ + 43, + 25 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/keymap-extensions.coffee": { + "objects": { + "0": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 0, + 5 + ], + [ + 0, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "16": { + "name": "KeymapManager", + "type": "import", + "range": [ + [ + 2, + 16 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "atom-keymap" + } + }, + "3": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 6 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "jQuery", + "exportsProperty": "jQuery" + } + }, + "6": { + "36": { + "name": "KeymapManager.prototype.loadBundledKeymaps", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 36 + ], + [ + 9, + 0 + ] + ], + "doc": null + } + }, + "10": { + "35": { + "name": "KeymapManager.prototype.getUserKeymapPath", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 35 + ], + [ + 15, + 0 + ] + ], + "doc": null + } + }, + "16": { + "32": { + "name": "KeymapManager.prototype.loadUserKeymap", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 32 + ], + [ + 22, + 74 + ] + ], + "doc": null + } + }, + "23": { + "32": { + "name": "jQuery.Event.prototype.abortKeyBinding", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 23, + 32 + ], + [ + 25, + 0 + ] + ], + "doc": null + } + } + }, + "exports": 26 + }, + "src/language-mode.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 10 + ] + ], + "bindingType": "variable", + "module": "oniguruma@^3", + "name": "OnigRegExp", + "exportsProperty": "OnigRegExp" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "6": { + "0": { + "type": "class", + "name": "LanguageMode", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 15 + ], + [ + 16, + 11 + ], + [ + 19, + 33 + ], + [ + 30, + 35 + ], + [ + 100, + 11 + ], + [ + 107, + 13 + ], + [ + 114, + 24 + ], + [ + 128, + 17 + ], + [ + 141, + 30 + ], + [ + 146, + 33 + ], + [ + 161, + 34 + ], + [ + 181, + 25 + ], + [ + 186, + 29 + ], + [ + 194, + 32 + ], + [ + 201, + 30 + ], + [ + 208, + 35 + ], + [ + 241, + 31 + ], + [ + 265, + 29 + ], + [ + 274, + 24 + ], + [ + 281, + 23 + ], + [ + 288, + 34 + ], + [ + 308, + 23 + ], + [ + 312, + 32 + ], + [ + 315, + 32 + ], + [ + 318, + 25 + ] + ], + "doc": "~Private~", + "range": [ + [ + 6, + 0 + ], + [ + 319, + 57 + ] + ] + } + }, + "13": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 13, + 15 + ], + [ + 16, + 1 + ] + ], + "doc": " Private: Sets up a `LanguageMode` for the given {Editor}.\n\neditor - The {Editor} to associate with " + } + }, + "16": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 11 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "33": { + "name": "toggleLineCommentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 19, + 33 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "35": { + "name": "toggleLineCommentsForBufferRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 30, + 35 + ], + [ + 100, + 1 + ] + ], + "doc": " Private: Wraps the lines between two rows in comments.\n\nIf the language doesn't have comment, nothing happens.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns an {Array} of the commented {Ranges}. " + } + }, + "100": { + "11": { + "name": "foldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 100, + 11 + ], + [ + 107, + 1 + ] + ], + "doc": "Private: Folds all the foldable lines in the buffer. " + } + }, + "107": { + "13": { + "name": "unfoldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 13 + ], + [ + 114, + 1 + ] + ], + "doc": "Private: Unfolds all the foldable lines in the buffer. " + } + }, + "114": { + "24": { + "name": "foldAllAtIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "indentLevel" + ], + "range": [ + [ + 114, + 24 + ], + [ + 128, + 1 + ] + ], + "doc": " Private: Fold all comment and code blocks at a given indentLevel\n\nindentLevel - A {Number} indicating indentLevel; 0 based. " + } + }, + "128": { + "17": { + "name": "foldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 128, + 17 + ], + [ + 141, + 1 + ] + ], + "doc": " Private: Given a buffer row, creates a fold at it.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns the new {Fold}. " + } + }, + "141": { + "30": { + "name": "rowRangeForFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 141, + 30 + ], + [ + 146, + 1 + ] + ], + "doc": " Private: Find the row range for a fold at a given bufferRow. Will handle comments\nand code.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of the [startRow, endRow]. Returns null if no range. " + } + }, + "146": { + "33": { + "name": "rowRangeForCommentAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 146, + 33 + ], + [ + 161, + 1 + ] + ], + "doc": "~Private~" + } + }, + "161": { + "34": { + "name": "rowRangeForCodeFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 161, + 34 + ], + [ + 181, + 1 + ] + ], + "doc": "~Private~" + } + }, + "181": { + "25": { + "name": "isFoldableAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 181, + 25 + ], + [ + 186, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether the given buffer row starts a\nfoldable row range. Rows that are \"foldable\" have a fold icon next to their\nicon in the gutter in the default configuration. " + } + }, + "186": { + "29": { + "name": "isFoldableCodeAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 186, + 29 + ], + [ + 194, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na a foldable row range due to the code's indentation patterns. " + } + }, + "194": { + "32": { + "name": "isFoldableCommentAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 194, + 32 + ], + [ + 201, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na foldable row range due to being the start of a multi-line comment. " + } + }, + "201": { + "30": { + "name": "isLineCommentedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 201, + 30 + ], + [ + 208, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the line at the given buffer\nrow is a comment. " + } + }, + "208": { + "35": { + "name": "rowRangeForParagraphAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 208, + 35 + ], + [ + 241, + 1 + ] + ], + "doc": " Private: Find a row range for a 'paragraph' around specified bufferRow.\nRight now, a paragraph is a block of text bounded by and empty line or a\nblock of text that is not the same type (comments next to source code). " + } + }, + "241": { + "31": { + "name": "suggestedIndentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 241, + 31 + ], + [ + 265, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns a suggested indentation level.\n\nThe indentation level provided is based on the current {LanguageMode}.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Number}. " + } + }, + "265": { + "29": { + "name": "minIndentLevelForRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 265, + 29 + ], + [ + 274, + 1 + ] + ], + "doc": " Private: Calculate a minimum indent level for a range of lines excluding empty lines.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns a {Number} of the indent level of the block of lines. " + } + }, + "274": { + "24": { + "name": "autoIndentBufferRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 274, + 24 + ], + [ + 281, + 1 + ] + ], + "doc": " Private: Indents all the rows between two buffer row numbers.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at " + } + }, + "281": { + "23": { + "name": "autoIndentBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "options" + ], + "range": [ + [ + 281, + 23 + ], + [ + 288, + 1 + ] + ], + "doc": " Private: Given a buffer row, this indents it.\n\nbufferRow - The row {Number}.\noptions - An options {Object} to pass through to {Editor::setIndentationForBufferRow}. " + } + }, + "288": { + "34": { + "name": "autoDecreaseIndentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 288, + 34 + ], + [ + 308, + 1 + ] + ], + "doc": " Private: Given a buffer row, this decreases the indentation.\n\nbufferRow - The row {Number} " + } + }, + "308": { + "23": { + "name": "getRegexForProperty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "property" + ], + "range": [ + [ + 308, + 23 + ], + [ + 312, + 1 + ] + ], + "doc": "~Private~" + } + }, + "312": { + "32": { + "name": "increaseIndentRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 312, + 32 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "32": { + "name": "decreaseIndentRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 315, + 32 + ], + [ + 318, + 1 + ] + ], + "doc": "~Private~" + } + }, + "318": { + "25": { + "name": "foldEndRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 318, + 25 + ], + [ + 319, + 57 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 6 + }, + "src/less-compile-cache.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2" + } + }, + "2": { + "12": { + "name": "LessCache", + "type": "import", + "range": [ + [ + 2, + 12 + ], + [ + 2, + 31 + ] + ], + "bindingType": "variable", + "module": "less-cache" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "7": { + "0": { + "type": "class", + "name": "LessCompileCache", + "bindingType": "exports", + "classProperties": [ + [ + 10, + 13 + ] + ], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 29, + 18 + ], + [ + 32, + 8 + ], + [ + 35, + 14 + ], + [ + 38, + 11 + ] + ], + "doc": "Private: {LessCache} wrapper used by {ThemeManager} to read stylesheets. ", + "range": [ + [ + 7, + 0 + ], + [ + 38, + 28 + ] + ] + } + }, + "10": { + "13": { + "name": "cacheDir", + "type": "function", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 71 + ] + ], + "bindingType": "classProperty" + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 29, + 1 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "18": { + "name": "setImportPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "importPaths" + ], + "range": [ + [ + 29, + 18 + ], + [ + 32, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "8": { + "name": "read", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 32, + 8 + ], + [ + 35, + 1 + ] + ], + "doc": "~Private~" + } + }, + "35": { + "14": { + "name": "cssForFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "lessContent" + ], + "range": [ + [ + 35, + 14 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 38, + 11 + ], + [ + 38, + 27 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 7 + }, + "src/lines-component.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + }, + "6": { + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 9 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "span", + "exportsProperty": "span" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "debounce", + "exportsProperty": "debounce" + }, + "11": { + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 17 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "isEqual", + "exportsProperty": "isEqual" + }, + "20": { + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 39 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "42": { + "type": "import", + "range": [ + [ + 3, + 42 + ], + [ + 3, + 55 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "multiplyString", + "exportsProperty": "multiplyString" + }, + "58": { + "type": "import", + "range": [ + [ + 3, + 58 + ], + [ + 3, + 64 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "toArray", + "exportsProperty": "toArray" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 2 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "$$", + "exportsProperty": "$$" + } + }, + "6": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 6, + 13 + ], + [ + 6, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "7": { + "19": { + "name": "CursorsComponent", + "type": "import", + "range": [ + [ + 7, + 19 + ], + [ + 7, + 47 + ] + ], + "bindingType": "variable", + "path": "./cursors-component" + } + }, + "8": { + "22": { + "name": "HighlightsComponent", + "type": "import", + "range": [ + [ + 8, + 22 + ], + [ + 8, + 53 + ] + ], + "bindingType": "variable", + "path": "./highlights-component" + } + }, + "10": { + "16": { + "type": "primitive", + "range": [ + [ + 10, + 16 + ], + [ + 10, + 111 + ] + ] + } + }, + "11": { + "15": { + "type": "primitive", + "range": [ + [ + 11, + 15 + ], + [ + 11, + 55 + ] + ] + }, + "28": { + "name": "acceptNode", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 11, + 28 + ], + [ + 11, + 54 + ] + ], + "doc": null + } + }, + "12": { + "13": { + "name": "WrapperDiv", + "type": "function", + "range": [ + [ + 12, + 13 + ], + [ + 12, + 41 + ] + ] + } + }, + "15": { + "17": { + "name": "LinesComponent", + "type": "function", + "range": [ + [ + 15, + 17 + ], + [ + 348, + 41 + ] + ] + } + }, + "16": { + "15": { + "name": "'LinesComponent'", + "type": "primitive", + "range": [ + [ + 16, + 15 + ], + [ + 16, + 30 + ] + ] + } + }, + "18": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 18, + 10 + ], + [ + 44, + 1 + ] + ], + "doc": null + } + }, + "44": { + "16": { + "name": "getTransform", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 16 + ], + [ + 52, + 1 + ] + ], + "doc": null + } + }, + "52": { + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 22 + ], + [ + 59, + 1 + ] + ], + "doc": null + } + }, + "59": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 59, + 25 + ], + [ + 79, + 1 + ] + ], + "doc": null + } + }, + "79": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "prevProps" + ], + "range": [ + [ + 79, + 22 + ], + [ + 88, + 1 + ] + ], + "doc": null + } + }, + "88": { + "24": { + "name": "clearScreenRowCaches", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 24 + ], + [ + 92, + 1 + ] + ], + "doc": null + } + }, + "92": { + "15": { + "name": "updateLines", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "updateWidth" + ], + "range": [ + [ + 92, + 15 + ], + [ + 100, + 1 + ] + ], + "doc": null + } + }, + "100": { + "19": { + "name": "removeLineNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "visibleLines" + ], + "range": [ + [ + 100, + 19 + ], + [ + 114, + 1 + ] + ], + "doc": null + } + }, + "114": { + "34": { + "name": "appendOrUpdateVisibleLineNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "visibleLines", + "startRow", + "updateWidth" + ], + "range": [ + [ + 114, + 34 + ], + [ + 145, + 1 + ] + ], + "doc": null + } + }, + "145": { + "15": { + "name": "hasLineNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineId" + ], + "range": [ + [ + 145, + 15 + ], + [ + 148, + 1 + ] + ], + "doc": null + } + }, + "148": { + "17": { + "name": "buildLineHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "screenRow" + ], + "range": [ + [ + 148, + 17 + ], + [ + 171, + 1 + ] + ], + "doc": null + } + }, + "171": { + "27": { + "name": "buildEmptyLineInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 171, + 27 + ], + [ + 198, + 1 + ] + ], + "doc": null + } + }, + "198": { + "22": { + "name": "buildLineInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 198, + 22 + ], + [ + 215, + 1 + ] + ], + "doc": null + } + }, + "215": { + "22": { + "name": "buildEndOfLineHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "invisibles" + ], + "range": [ + [ + 215, + 22 + ], + [ + 228, + 1 + ] + ], + "doc": null + } + }, + "228": { + "20": { + "name": "updateScopeStack", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 228, + 20 + ], + [ + 245, + 1 + ] + ], + "doc": null + } + }, + "245": { + "12": { + "name": "popScope", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack" + ], + "range": [ + [ + 245, + 12 + ], + [ + 249, + 1 + ] + ], + "doc": null + } + }, + "249": { + "13": { + "name": "pushScope", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack", + "scope" + ], + "range": [ + [ + 249, + 13 + ], + [ + 253, + 1 + ] + ], + "doc": null + } + }, + "253": { + "18": { + "name": "updateLineNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "screenRow", + "updateWidth" + ], + "range": [ + [ + 253, + 18 + ], + [ + 278, + 1 + ] + ], + "doc": null + } + }, + "278": { + "17": { + "name": "hasDecoration", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "decorations", + "decoration" + ], + "range": [ + [ + 278, + 17 + ], + [ + 281, + 1 + ] + ], + "doc": null + } + }, + "281": { + "24": { + "name": "lineNodeForScreenRow", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 281, + 24 + ], + [ + 284, + 1 + ] + ], + "doc": null + } + }, + "284": { + "40": { + "name": "measureLineHeightAndDefaultCharWidth", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 40 + ], + [ + 295, + 1 + ] + ], + "doc": null + } + }, + "295": { + "28": { + "name": "remeasureCharacterWidths", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 295, + 28 + ], + [ + 299, + 1 + ] + ], + "doc": null + } + }, + "299": { + "31": { + "name": "measureCharactersInNewLines", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 299, + 31 + ], + [ + 311, + 1 + ] + ], + "doc": null + } + }, + "311": { + "27": { + "name": "measureCharactersInLine", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "tokenizedLine", + "lineNode" + ], + "range": [ + [ + 311, + 27 + ], + [ + 346, + 1 + ] + ], + "doc": null + } + }, + "346": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 25 + ], + [ + 348, + 41 + ] + ], + "doc": null + } + } + }, + "exports": 15 + }, + "src/menu-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "3": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 3, + 6 + ], + [ + 3, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2" + } + }, + "12": { + "0": { + "type": "class", + "name": "MenuManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 15 + ], + [ + 37, + 7 + ], + [ + 47, + 19 + ], + [ + 79, + 10 + ], + [ + 88, + 21 + ], + [ + 96, + 9 + ], + [ + 107, + 27 + ], + [ + 117, + 24 + ], + [ + 121, + 18 + ], + [ + 130, + 21 + ] + ], + "doc": " Public: Provides a registry for menu items that you'd like to appear in the\napplication menu.\n\nAn instance of this class is always available as the `atom.menu` global. ", + "range": [ + [ + 12, + 0 + ], + [ + 131, + 49 + ] + ] + } + }, + "13": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 13, + 15 + ], + [ + 37, + 1 + ] + ] + } + }, + "37": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 37, + 7 + ], + [ + 47, + 1 + ] + ], + "doc": " Public: Adds the given item definition to the existing template.\n\n## Example\n```coffee\n atom.menu.add [\n {\n label: 'Hello'\n submenu : [{label: 'World!', command: 'hello:world'}]\n }\n ]\n```\n\nitems - An {Array} of menu item {Object}s containing the keys:\n :label - The {String} menu label.\n :submenu - An optional {Array} of sub menu items.\n :command - An optional {String} command to trigger when the item is\n clicked.\n\nReturns nothing. " + } + }, + "47": { + "19": { + "name": "includeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 47, + 19 + ], + [ + 79, + 1 + ] + ], + "doc": " Private: Should the binding for the given selector be included in the menu\ncommands.\n\nselector - A {String} selector to check.\n\nReturns true to include the selector, false otherwise. " + } + }, + "79": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 10 + ], + [ + 88, + 1 + ] + ], + "doc": "Public: Refreshes the currently visible menu. " + } + }, + "88": { + "21": { + "name": "loadPlatformItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 21 + ], + [ + 96, + 1 + ] + ], + "doc": "~Private~" + } + }, + "96": { + "9": { + "name": "merge", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "menu", + "item" + ], + "range": [ + [ + 96, + 9 + ], + [ + 107, + 1 + ] + ], + "doc": " Private: Merges an item in a submenu aware way such that new items are always\nappended to the bottom of existing menus where possible. " + } + }, + "107": { + "27": { + "name": "filterMultipleKeystroke", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystrokesByCommand" + ], + "range": [ + [ + 107, + 27 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: OSX can't handle displaying accelerators for multiple keystrokes.\nIf they are sent across, it will stop processing accelerators for the rest\nof the menu items. " + } + }, + "117": { + "24": { + "name": "sendToBrowserProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 117, + 24 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "18": { + "name": "normalizeLabel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "label" + ], + "range": [ + [ + 121, + 18 + ], + [ + 130, + 1 + ] + ], + "doc": "~Private~" + } + }, + "130": { + "21": { + "name": "classesForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 130, + 21 + ], + [ + 131, + 49 + ] + ], + "doc": "Private: Get an {Array} of {String} classes for the given element. " + } + } + }, + "exports": 12 + }, + "src/package-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "7": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 7, + 10 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "8": { + "15": { + "name": "ThemePackage", + "type": "import", + "range": [ + [ + 8, + 15 + ], + [ + 8, + 39 + ] + ], + "bindingType": "variable", + "path": "./theme-package" + } + }, + "26": { + "0": { + "type": "class", + "name": "PackageManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 44, + 14 + ], + [ + 52, + 22 + ], + [ + 55, + 19 + ], + [ + 58, + 19 + ], + [ + 62, + 17 + ], + [ + 68, + 18 + ], + [ + 74, + 12 + ], + [ + 82, + 28 + ], + [ + 85, + 20 + ], + [ + 90, + 19 + ], + [ + 100, + 22 + ], + [ + 105, + 21 + ], + [ + 113, + 21 + ], + [ + 117, + 20 + ], + [ + 121, + 19 + ], + [ + 124, + 29 + ], + [ + 128, + 27 + ], + [ + 137, + 16 + ], + [ + 148, + 15 + ], + [ + 168, + 18 + ], + [ + 172, + 17 + ], + [ + 182, + 20 + ], + [ + 186, + 19 + ], + [ + 190, + 21 + ], + [ + 196, + 29 + ], + [ + 200, + 22 + ], + [ + 210, + 21 + ], + [ + 213, + 17 + ], + [ + 218, + 20 + ], + [ + 221, + 26 + ], + [ + 231, + 28 + ], + [ + 246, + 28 + ], + [ + 250, + 31 + ] + ], + "doc": " Public: Package manager for coordinating the lifecycle of Atom packages.\n\nAn instance of this class is always available as the `atom.packages` global.\n\nPackages can be loaded, activated, and deactivated, and unloaded:\n * Loading a package reads and parses the package's metadata and resources\n such as keymaps, menus, stylesheets, etc.\n * Activating a package registers the loaded resources and calls `activate()`\n on the package's main module.\n * Deactivating a package unregisters the package's resources and calls\n `deactivate()` on the package's main module.\n * Unloading a package removes it completely from the package manager.\n\nPackages can also be enabled/disabled via the `core.disabledPackages` config\nsettings and also by calling `enablePackage()/disablePackage()`. ", + "range": [ + [ + 26, + 0 + ], + [ + 256, + 12 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 29, + 15 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "14": { + "name": "getApmPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 14 + ], + [ + 52, + 1 + ] + ], + "doc": "Public: Get the path to the apm command " + } + }, + "52": { + "22": { + "name": "getPackageDirPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 22 + ], + [ + 55, + 1 + ] + ], + "doc": " Public: Get the paths being used to look for packages.\n\nReturns an Array of String directory paths. " + } + }, + "55": { + "19": { + "name": "getPackageState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 55, + 19 + ], + [ + 58, + 1 + ] + ], + "doc": "~Private~" + } + }, + "58": { + "19": { + "name": "setPackageState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "state" + ], + "range": [ + [ + 58, + 19 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "17": { + "name": "enablePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 62, + 17 + ], + [ + 68, + 1 + ] + ], + "doc": "Public: Enable the package with the given name " + } + }, + "68": { + "18": { + "name": "disablePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 68, + 18 + ], + [ + 74, + 1 + ] + ], + "doc": "Public: Disable the package with the given name " + } + }, + "74": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 12 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Activate all the packages that should be activated. " + } + }, + "82": { + "28": { + "name": "registerPackageActivator", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "activator", + "types" + ], + "range": [ + [ + 82, + 28 + ], + [ + 85, + 1 + ] + ], + "doc": " Private: another type of package manager can handle other package types.\nSee ThemeManager " + } + }, + "85": { + "20": { + "name": "activatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "packages" + ], + "range": [ + [ + 85, + 20 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "19": { + "name": "activatePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 90, + 19 + ], + [ + 100, + 1 + ] + ], + "doc": "Private: Activate a single package by name " + } + }, + "100": { + "22": { + "name": "deactivatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 100, + 22 + ], + [ + 105, + 1 + ] + ], + "doc": "Private: Deactivate all packages " + } + }, + "105": { + "21": { + "name": "deactivatePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 105, + 21 + ], + [ + 113, + 1 + ] + ], + "doc": "Private: Deactivate the package with the given name " + } + }, + "113": { + "21": { + "name": "getActivePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 113, + 21 + ], + [ + 117, + 1 + ] + ], + "doc": "Public: Get an array of all the active packages " + } + }, + "117": { + "20": { + "name": "getActivePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 117, + 20 + ], + [ + 121, + 1 + ] + ], + "doc": "Public: Get the active package with the given name " + } + }, + "121": { + "19": { + "name": "isPackageActive", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 121, + 19 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Is the package with the given name active? " + } + }, + "124": { + "29": { + "name": "unobserveDisabledPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 29 + ], + [ + 128, + 1 + ] + ], + "doc": "~Private~" + } + }, + "128": { + "27": { + "name": "observeDisabledPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 128, + 27 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "16": { + "name": "loadPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 16 + ], + [ + 148, + 1 + ] + ], + "doc": "~Private~" + } + }, + "148": { + "15": { + "name": "loadPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "nameOrPath" + ], + "range": [ + [ + 148, + 15 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "18": { + "name": "unloadPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 18 + ], + [ + 172, + 1 + ] + ], + "doc": "~Private~" + } + }, + "172": { + "17": { + "name": "unloadPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 172, + 17 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "20": { + "name": "getLoadedPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 182, + 20 + ], + [ + 186, + 1 + ] + ], + "doc": "Public: Get the loaded package with the given name " + } + }, + "186": { + "19": { + "name": "isPackageLoaded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 186, + 19 + ], + [ + 190, + 1 + ] + ], + "doc": "Public: Is the package with the given name loaded? " + } + }, + "190": { + "21": { + "name": "getLoadedPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 21 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded packages " + } + }, + "196": { + "29": { + "name": "getLoadedPackagesForTypes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "types" + ], + "range": [ + [ + 196, + 29 + ], + [ + 200, + 1 + ] + ], + "doc": " Private: Get packages for a certain package type\n\ntypes - an {Array} of {String}s like ['atom', 'textmate']. " + } + }, + "200": { + "22": { + "name": "resolvePackagePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 200, + 22 + ], + [ + 210, + 1 + ] + ], + "doc": "Public: Resolve the given package name to a path on disk. " + } + }, + "210": { + "21": { + "name": "isPackageDisabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 210, + 21 + ], + [ + 213, + 1 + ] + ], + "doc": "Public: Is the package with the given name disabled? " + } + }, + "213": { + "17": { + "name": "hasAtomEngine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "packagePath" + ], + "range": [ + [ + 213, + 17 + ], + [ + 218, + 1 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "20": { + "name": "isBundledPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 218, + 20 + ], + [ + 221, + 1 + ] + ], + "doc": "Public: Is the package with the given name bundled with Atom? " + } + }, + "221": { + "26": { + "name": "getPackageDependencies", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 221, + 26 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "28": { + "name": "getAvailablePackagePaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 231, + 28 + ], + [ + 246, + 1 + ] + ], + "doc": "Public: Get an array of all the available package paths. " + } + }, + "246": { + "28": { + "name": "getAvailablePackageNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 246, + 28 + ], + [ + 250, + 1 + ] + ], + "doc": "Public: Get an array of all the available package names. " + } + }, + "250": { + "31": { + "name": "getAvailablePackageMetadata", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 250, + 31 + ], + [ + 256, + 12 + ] + ], + "doc": "Public: Get an array of all the available package metadata. " + } + } + }, + "exports": 26 + }, + "src/package.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "3": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 3, + 8 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "async" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "7": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "9": { + "4": { + "type": "primitive", + "range": [ + [ + 9, + 4 + ], + [ + 9, + 7 + ] + ] + } + }, + "10": { + "19": { + "name": "ScopedProperties", + "type": "import", + "range": [ + [ + 10, + 19 + ], + [ + 10, + 47 + ] + ], + "bindingType": "variable", + "path": "./scoped-properties" + } + }, + "15": { + "0": { + "type": "class", + "name": "Package", + "bindingType": "exports", + "classProperties": [ + [ + 18, + 19 + ], + [ + 20, + 17 + ] + ], + "prototypeProperties": [ + [ + 30, + 11 + ], + [ + 31, + 9 + ], + [ + 32, + 15 + ], + [ + 33, + 12 + ], + [ + 34, + 20 + ], + [ + 35, + 18 + ], + [ + 36, + 26 + ], + [ + 37, + 14 + ], + [ + 39, + 15 + ], + [ + 44, + 10 + ], + [ + 47, + 11 + ], + [ + 50, + 11 + ], + [ + 53, + 11 + ], + [ + 59, + 11 + ], + [ + 61, + 21 + ], + [ + 63, + 8 + ], + [ + 76, + 9 + ], + [ + 83, + 12 + ], + [ + 97, + 15 + ], + [ + 109, + 18 + ], + [ + 118, + 23 + ], + [ + 126, + 21 + ], + [ + 138, + 15 + ], + [ + 141, + 13 + ], + [ + 144, + 18 + ], + [ + 151, + 16 + ], + [ + 158, + 19 + ], + [ + 162, + 22 + ], + [ + 165, + 22 + ], + [ + 177, + 20 + ], + [ + 194, + 16 + ], + [ + 213, + 24 + ], + [ + 231, + 13 + ], + [ + 238, + 14 + ], + [ + 247, + 20 + ], + [ + 251, + 23 + ], + [ + 260, + 21 + ], + [ + 266, + 20 + ], + [ + 269, + 21 + ], + [ + 275, + 21 + ], + [ + 285, + 23 + ], + [ + 297, + 31 + ], + [ + 306, + 25 + ], + [ + 315, + 35 + ], + [ + 325, + 36 + ], + [ + 339, + 36 + ], + [ + 345, + 18 + ], + [ + 353, + 34 + ], + [ + 371, + 32 + ], + [ + 401, + 16 + ] + ], + "doc": " Private: Loads and activates a package's main module and resources such as\nstylesheets, keymaps, grammar, editor properties, and menus. ", + "range": [ + [ + 15, + 0 + ], + [ + 411, + 24 + ] + ] + } + }, + "18": { + "19": { + "name": "stylesheetsDir", + "type": "primitive", + "range": [ + [ + 18, + 19 + ], + [ + 18, + 31 + ] + ], + "bindingType": "classProperty" + } + }, + "20": { + "17": { + "name": "loadMetadata", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "packagePath", + "ignoreErrors" + ], + "range": [ + [ + 20, + 17 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "keymaps", + "type": "primitive", + "range": [ + [ + 30, + 11 + ], + [ + 30, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "31": { + "9": { + "name": "menus", + "type": "primitive", + "range": [ + [ + 31, + 9 + ], + [ + 31, + 12 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "32": { + "15": { + "name": "stylesheets", + "type": "primitive", + "range": [ + [ + 32, + 15 + ], + [ + 32, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "33": { + "12": { + "name": "grammars", + "type": "primitive", + "range": [ + [ + 33, + 12 + ], + [ + 33, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "34": { + "20": { + "name": "scopedProperties", + "type": "primitive", + "range": [ + [ + 34, + 20 + ], + [ + 34, + 23 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "35": { + "18": { + "name": "mainModulePath", + "type": "primitive", + "range": [ + [ + 35, + 18 + ], + [ + 35, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "36": { + "26": { + "name": "resolvedMainModulePath", + "type": "primitive", + "range": [ + [ + 36, + 26 + ], + [ + 36, + 30 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "37": { + "14": { + "name": "mainModule", + "type": "primitive", + "range": [ + [ + 37, + 14 + ], + [ + 37, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "39": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 39, + 15 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "10": { + "name": "enable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 10 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "11": { + "name": "disable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 47, + 11 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "11": { + "name": "isTheme", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 11 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "11": { + "name": "measure", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "key", + "fn" + ], + "range": [ + [ + 53, + 11 + ], + [ + 59, + 1 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "11": { + "name": "getType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 11 + ], + [ + 59, + 19 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "21": { + "name": "getStylesheetType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 21 + ], + [ + 61, + 32 + ] + ], + "doc": "~Private~" + } + }, + "63": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 63, + 8 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "9": { + "name": "reset", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 9 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 83, + 12 + ], + [ + 97, + 1 + ] + ], + "doc": "~Private~" + } + }, + "97": { + "15": { + "name": "activateNow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 97, + 15 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "18": { + "name": "activateConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 18 + ], + [ + 118, + 1 + ] + ], + "doc": "~Private~" + } + }, + "118": { + "23": { + "name": "activateStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 118, + 23 + ], + [ + 126, + 1 + ] + ], + "doc": "~Private~" + } + }, + "126": { + "21": { + "name": "activateResources", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 21 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "15": { + "name": "loadKeymaps", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 15 + ], + [ + 141, + 1 + ] + ], + "doc": "~Private~" + } + }, + "141": { + "13": { + "name": "loadMenus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 13 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "18": { + "name": "getKeymapPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 144, + 18 + ], + [ + 151, + 1 + ] + ], + "doc": "~Private~" + } + }, + "151": { + "16": { + "name": "getMenuPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 151, + 16 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "19": { + "name": "loadStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 19 + ], + [ + 162, + 1 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "22": { + "name": "getStylesheetsPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 22 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "22": { + "name": "getStylesheetPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 22 + ], + [ + 177, + 1 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "20": { + "name": "loadGrammarsSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 20 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "16": { + "name": "loadGrammars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 194, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "24": { + "name": "loadScopedProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 24 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "13": { + "name": "serialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 231, + 13 + ], + [ + 238, + 1 + ] + ], + "doc": "~Private~" + } + }, + "238": { + "14": { + "name": "deactivate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 238, + 14 + ], + [ + 247, + 1 + ] + ], + "doc": "~Private~" + } + }, + "247": { + "20": { + "name": "deactivateConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 247, + 20 + ], + [ + 251, + 1 + ] + ], + "doc": "~Private~" + } + }, + "251": { + "23": { + "name": "deactivateResources", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 251, + 23 + ], + [ + 260, + 1 + ] + ], + "doc": "~Private~" + } + }, + "260": { + "21": { + "name": "reloadStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 21 + ], + [ + 266, + 1 + ] + ], + "doc": "~Private~" + } + }, + "266": { + "20": { + "name": "reloadStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "content" + ], + "range": [ + [ + 266, + 20 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "21": { + "name": "requireMainModule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 21 + ], + [ + 275, + 1 + ] + ] + } + }, + "275": { + "21": { + "name": "getMainModulePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 275, + 21 + ], + [ + 285, + 1 + ] + ], + "doc": "~Private~" + } + }, + "285": { + "23": { + "name": "hasActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 285, + 23 + ], + [ + 297, + 1 + ] + ], + "doc": "~Private~" + } + }, + "297": { + "31": { + "name": "subscribeToActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 31 + ], + [ + 306, + 1 + ] + ], + "doc": "~Private~" + } + }, + "306": { + "25": { + "name": "handleActivationEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 306, + 25 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "35": { + "name": "unsubscribeFromActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 35 + ], + [ + 325, + 1 + ] + ], + "doc": "~Private~" + } + }, + "325": { + "36": { + "name": "disableEventHandlersOnBubblePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 325, + 36 + ], + [ + 339, + 1 + ] + ], + "doc": "~Private~" + } + }, + "339": { + "36": { + "name": "restoreEventHandlersOnBubblePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventHandlers" + ], + "range": [ + [ + 339, + 36 + ], + [ + 345, + 1 + ] + ], + "doc": "~Private~" + } + }, + "345": { + "18": { + "name": "isNativeModule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "modulePath" + ], + "range": [ + [ + 345, + 18 + ], + [ + 353, + 1 + ] + ], + "doc": "Private: Does the given module path contain native code? " + } + }, + "353": { + "34": { + "name": "getNativeModuleDependencyPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 353, + 34 + ], + [ + 371, + 1 + ] + ], + "doc": " Private: Get an array of all the native modules that this package depends on.\nThis will recurse through all dependencies. " + } + }, + "371": { + "32": { + "name": "getIncompatibleNativeModules", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 371, + 32 + ], + [ + 401, + 1 + ] + ], + "doc": " Private: Get the incompatible native modules that this package depends on.\nThis recurses through all dependencies and requires all modules that\ncontain a `.node` file.\n\nThis information is cached in local storage on a per package/version basis\nto minimize the impact on startup time. " + } + }, + "401": { + "16": { + "name": "isCompatible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 401, + 16 + ], + [ + 411, + 24 + ] + ], + "doc": " Public: Is this package compatible with this version of Atom?\n\nIncompatible packages cannot be activated. This will include packages\ninstalled to ~/.atom/packages that were built against node 0.11.10 but\nnow need to be upgrade to node 0.11.13.\n\nReturns a {Boolean}, true if compatible, false if incompatible. " + } + } + }, + "exports": 15 + }, + "src/pane-axis-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "11": { + "type": "primitive", + "range": [ + [ + 1, + 11 + ], + [ + 1, + 14 + ] + ] + } + }, + "4": { + "0": { + "type": "class", + "name": "PaneAxisView", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 5, + 14 + ], + [ + 9, + 15 + ], + [ + 12, + 16 + ], + [ + 16, + 22 + ], + [ + 22, + 16 + ], + [ + 26, + 18 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 31, + 48 + ] + ] + } + }, + "5": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 5, + 14 + ], + [ + 9, + 1 + ] + ] + } + }, + "9": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 15 + ], + [ + 12, + 1 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "16": { + "name": "viewForModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "model" + ], + "range": [ + [ + 12, + 16 + ], + [ + 16, + 1 + ] + ], + "doc": "~Private~" + } + }, + "16": { + "22": { + "name": "onChildrenChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 16, + 22 + ], + [ + 22, + 1 + ] + ], + "doc": "~Private~" + } + }, + "22": { + "16": { + "name": "onChildAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child", + "index" + ], + "range": [ + [ + 22, + 16 + ], + [ + 26, + 1 + ] + ], + "doc": "~Private~" + } + }, + "26": { + "18": { + "name": "onChildRemoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 26, + 18 + ], + [ + 31, + 48 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/pane-axis.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 15 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Sequence", + "exportsProperty": "Sequence" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 7 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "flatten", + "exportsProperty": "flatten" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "4": { + "14": { + "type": "primitive", + "range": [ + [ + 4, + 14 + ], + [ + 4, + 17 + ] + ] + } + }, + "5": { + "17": { + "type": "primitive", + "range": [ + [ + 5, + 17 + ], + [ + 5, + 20 + ] + ] + } + }, + "8": { + "0": { + "type": "class", + "name": "PaneAxis", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 25, + 21 + ], + [ + 30, + 19 + ], + [ + 34, + 16 + ], + [ + 40, + 12 + ], + [ + 43, + 12 + ], + [ + 46, + 15 + ], + [ + 51, + 16 + ], + [ + 56, + 21 + ], + [ + 60, + 20 + ], + [ + 64, + 21 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 65, + 44 + ] + ] + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 25, + 21 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 19 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 16 + ], + [ + 40, + 1 + ] + ], + "doc": "~Private~" + } + }, + "40": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 40, + 12 + ], + [ + 43, + 1 + ] + ], + "doc": "~Private~" + } + }, + "43": { + "12": { + "name": "addChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child", + "index" + ], + "range": [ + [ + 43, + 12 + ], + [ + 46, + 1 + ] + ], + "doc": "~Private~" + } + }, + "46": { + "15": { + "name": "removeChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 46, + 15 + ], + [ + 51, + 1 + ] + ], + "doc": "~Private~" + } + }, + "51": { + "16": { + "name": "replaceChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "oldChild", + "newChild" + ], + "range": [ + [ + 51, + 16 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "21": { + "name": "insertChildBefore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "currentChild", + "newChild" + ], + "range": [ + [ + 56, + 21 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "20": { + "name": "insertChildAfter", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "currentChild", + "newChild" + ], + "range": [ + [ + 60, + 20 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "21": { + "name": "reparentLastChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 21 + ], + [ + 65, + 44 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/pane-column-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "2": { + "15": { + "name": "PaneAxisView", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 40 + ] + ], + "bindingType": "variable", + "path": "./pane-axis-view" + } + }, + "5": { + "0": { + "type": "class", + "name": "PaneColumnView", + "bindingType": "exports", + "classProperties": [ + [ + 7, + 12 + ] + ], + "prototypeProperties": [ + [ + 10, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 11, + 16 + ] + ] + } + }, + "7": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 7, + 12 + ], + [ + 10, + 1 + ] + ], + "doc": "~Private~" + } + }, + "10": { + "13": { + "name": "className", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 13 + ], + [ + 11, + 16 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "src/pane-container-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "1": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "3": { + "11": { + "name": "PaneView", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-view" + } + }, + "4": { + "16": { + "name": "PaneContainer", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 41 + ] + ], + "bindingType": "variable", + "path": "./pane-container" + } + }, + "8": { + "0": { + "type": "class", + "name": "PaneContainerView", + "bindingType": "exports", + "classProperties": [ + [ + 13, + 12 + ] + ], + "prototypeProperties": [ + [ + 16, + 14 + ], + [ + 25, + 16 + ], + [ + 30, + 11 + ], + [ + 33, + 17 + ], + [ + 47, + 27 + ], + [ + 50, + 15 + ], + [ + 55, + 16 + ], + [ + 64, + 16 + ], + [ + 67, + 15 + ], + [ + 70, + 15 + ], + [ + 73, + 16 + ], + [ + 79, + 18 + ], + [ + 82, + 17 + ], + [ + 86, + 21 + ], + [ + 89, + 21 + ], + [ + 92, + 17 + ], + [ + 95, + 14 + ], + [ + 98, + 21 + ], + [ + 101, + 25 + ], + [ + 104, + 22 + ], + [ + 107, + 22 + ], + [ + 110, + 23 + ], + [ + 113, + 24 + ], + [ + 116, + 26 + ], + [ + 143, + 26 + ], + [ + 152, + 12 + ] + ], + "doc": "Private: Manages the list of panes within a {WorkspaceView} ", + "range": [ + [ + 8, + 0 + ], + [ + 154, + 19 + ] + ] + } + }, + "13": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 12 + ], + [ + 16, + 1 + ] + ], + "doc": "~Private~" + } + }, + "16": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 16, + 14 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "16": { + "name": "viewForModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "model" + ], + "range": [ + [ + 25, + 16 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "getRoot", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 11 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "17": { + "name": "onRootChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "root" + ], + "range": [ + [ + 33, + 17 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "27": { + "name": "onActivePaneItemChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "activeItem" + ], + "range": [ + [ + 47, + 27 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "15": { + "name": "removeChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 50, + 15 + ], + [ + 55, + 1 + ] + ], + "doc": "~Private~" + } + }, + "55": { + "16": { + "name": "confirmClose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 16 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "16": { + "name": "getPaneViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 16 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "15": { + "name": "indexOfPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "paneView" + ], + "range": [ + [ + 67, + 15 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "15": { + "name": "paneAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 70, + 15 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "16": { + "name": "eachPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 73, + 16 + ], + [ + 79, + 1 + ] + ], + "doc": "~Private~" + } + }, + "79": { + "18": { + "name": "getFocusedPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 18 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 17 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "21": { + "name": "getActivePaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 21 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "17": { + "name": "getActiveView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 92, + 17 + ], + [ + 95, + 1 + ] + ], + "doc": "~Private~" + } + }, + "95": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 95, + 14 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "21": { + "name": "focusNextPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 21 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "focusPreviousPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 25 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "22": { + "name": "focusPaneViewAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 22 + ], + [ + 107, + 1 + ] + ], + "doc": "~Private~" + } + }, + "107": { + "22": { + "name": "focusPaneViewBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 22 + ], + [ + 110, + 1 + ] + ], + "doc": "~Private~" + } + }, + "110": { + "23": { + "name": "focusPaneViewOnLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 23 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "24": { + "name": "focusPaneViewOnRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 113, + 24 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "26": { + "name": "nearestPaneInDirection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "direction" + ], + "range": [ + [ + 116, + 26 + ], + [ + 143, + 1 + ] + ], + "doc": "~Private~" + } + }, + "143": { + "26": { + "name": "boundingBoxForPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "paneView" + ], + "range": [ + [ + 143, + 26 + ], + [ + 152, + 1 + ] + ], + "doc": "~Private~" + } + }, + "152": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 152, + 12 + ], + [ + 154, + 19 + ] + ], + "doc": "Private: Deprecated " + } + } + }, + "exports": 8 + }, + "src/pane-container.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "find", + "exportsProperty": "find" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "3": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "6": { + "0": { + "type": "class", + "name": "PaneContainer", + "bindingType": "exports", + "classProperties": [ + [ + 10, + 12 + ] + ], + "prototypeProperties": [ + [ + 16, + 16 + ], + [ + 23, + 15 + ], + [ + 28, + 21 + ], + [ + 34, + 19 + ], + [ + 38, + 16 + ], + [ + 42, + 12 + ], + [ + 45, + 17 + ], + [ + 48, + 14 + ], + [ + 51, + 11 + ], + [ + 54, + 20 + ], + [ + 64, + 24 + ], + [ + 75, + 17 + ], + [ + 89, + 21 + ], + [ + 92, + 17 + ], + [ + 96, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 6, + 0 + ], + [ + 97, + 42 + ] + ] + } + }, + "10": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 10, + 12 + ], + [ + 10, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "16": { + "16": { + "name": "previousRoot", + "type": "primitive", + "range": [ + [ + 16, + 16 + ], + [ + 16, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "23": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 23, + 15 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 28, + 21 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 34, + 19 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "16": { + "name": "replaceChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "oldChild", + "newChild" + ], + "range": [ + [ + 38, + 16 + ], + [ + 42, + 1 + ] + ], + "doc": "~Private~" + } + }, + "42": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 12 + ], + [ + 45, + 1 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 17 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 48, + 14 + ], + [ + 51, + 1 + ] + ], + "doc": "~Private~" + } + }, + "51": { + "11": { + "name": "saveAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 51, + 11 + ], + [ + 54, + 1 + ] + ], + "doc": "~Private~" + } + }, + "54": { + "20": { + "name": "activateNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 54, + 20 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "24": { + "name": "activatePreviousPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 24 + ], + [ + 75, + 1 + ] + ], + "doc": "~Private~" + } + }, + "75": { + "17": { + "name": "onRootChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "root" + ], + "range": [ + [ + 75, + 17 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "destroyEmptyPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "17": { + "name": "itemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 92, + 17 + ], + [ + 96, + 1 + ] + ], + "doc": "~Private~" + } + }, + "96": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 13 + ], + [ + 97, + 42 + ] + ], + "doc": "Private: Called by Model superclass when destroyed " + } + } + }, + "exports": 6 + }, + "src/pane-row-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "2": { + "15": { + "name": "PaneAxisView", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 40 + ] + ], + "bindingType": "variable", + "path": "./pane-axis-view" + } + }, + "5": { + "0": { + "type": "class", + "name": "PaneRowView", + "bindingType": "exports", + "classProperties": [ + [ + 6, + 12 + ] + ], + "prototypeProperties": [ + [ + 9, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 10, + 13 + ] + ] + } + }, + "6": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 12 + ], + [ + 9, + 1 + ] + ] + } + }, + "9": { + "13": { + "name": "className", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 13 + ], + [ + 10, + 13 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "src/pane-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "3": { + "20": { + "name": "PropertyAccessors", + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 47 + ] + ], + "bindingType": "variable", + "module": "property-accessors" + } + }, + "5": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "14": { + "0": { + "type": "class", + "name": "PaneView", + "bindingType": "exports", + "classProperties": [ + [ + 18, + 12 + ], + [ + 20, + 12 + ] + ], + "prototypeProperties": [ + [ + 32, + 22 + ], + [ + 34, + 14 + ], + [ + 45, + 16 + ], + [ + 84, + 14 + ], + [ + 89, + 12 + ], + [ + 94, + 18 + ], + [ + 99, + 19 + ], + [ + 104, + 16 + ], + [ + 109, + 20 + ], + [ + 113, + 15 + ], + [ + 121, + 15 + ], + [ + 124, + 25 + ], + [ + 133, + 15 + ], + [ + 139, + 21 + ], + [ + 142, + 23 + ], + [ + 158, + 15 + ], + [ + 161, + 17 + ], + [ + 175, + 15 + ], + [ + 178, + 25 + ], + [ + 182, + 26 + ], + [ + 185, + 15 + ], + [ + 199, + 13 + ], + [ + 201, + 14 + ], + [ + 203, + 11 + ], + [ + 205, + 13 + ], + [ + 210, + 16 + ], + [ + 213, + 16 + ], + [ + 216, + 10 + ] + ], + "doc": " Public: A container which can contains multiple items to be switched between.\n\nItems can be almost anything however most commonly they're {EditorView}s.\n\nMost packages won't need to use this class, unless you're interested in\nbuilding a package that deals with switching between panes or items. ", + "range": [ + [ + 14, + 0 + ], + [ + 219, + 9 + ] + ] + } + }, + "18": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 18, + 12 + ], + [ + 18, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "20": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "wrappedView" + ], + "range": [ + [ + 20, + 12 + ], + [ + 24, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "22": { + "name": "previousActiveItem", + "type": "primitive", + "range": [ + [ + 32, + 22 + ], + [ + 32, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "34": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 34, + 14 + ], + [ + 45, + 1 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 16 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "14": { + "name": "removeItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 84, + 14 + ], + [ + 89, + 1 + ] + ], + "doc": "Deprecated: Use ::destroyItem " + } + }, + "89": { + "12": { + "name": "showItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 89, + 12 + ], + [ + 94, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItem " + } + }, + "94": { + "18": { + "name": "showItemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 94, + 18 + ], + [ + 99, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItemForUri " + } + }, + "99": { + "19": { + "name": "showItemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 99, + 19 + ], + [ + 104, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItemAtIndex " + } + }, + "104": { + "16": { + "name": "showNextItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 16 + ], + [ + 109, + 1 + ] + ], + "doc": "Deprecated: Use ::activateNextItem " + } + }, + "109": { + "20": { + "name": "showPreviousItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 20 + ], + [ + 113, + 1 + ] + ], + "doc": "Deprecated: Use ::activatePreviousItem " + } + }, + "113": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 113, + 15 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "15": { + "name": "onActivated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 121, + 15 + ], + [ + 124, + 1 + ] + ], + "doc": "~Private~" + } + }, + "124": { + "25": { + "name": "onActiveStatusChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "active" + ], + "range": [ + [ + 124, + 25 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "15": { + "name": "getNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 15 + ], + [ + 139, + 1 + ] + ], + "doc": "Public: Returns the next pane, ordered by creation. " + } + }, + "139": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 139, + 21 + ], + [ + 142, + 1 + ] + ], + "doc": "~Private~" + } + }, + "142": { + "23": { + "name": "onActiveItemChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 142, + 23 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "15": { + "name": "onItemAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index" + ], + "range": [ + [ + 158, + 15 + ], + [ + 161, + 1 + ] + ], + "doc": "~Private~" + } + }, + "161": { + "17": { + "name": "onItemRemoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index", + "destroyed" + ], + "range": [ + [ + 161, + 17 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "15": { + "name": "onItemMoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "newIndex" + ], + "range": [ + [ + 175, + 15 + ], + [ + 178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "178": { + "25": { + "name": "onBeforeItemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 178, + 25 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "26": { + "name": "activeItemTitleChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 182, + 26 + ], + [ + 185, + 1 + ] + ], + "doc": "~Private~" + } + }, + "185": { + "15": { + "name": "viewForItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 185, + 15 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "199": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 199, + 13 + ], + [ + 199, + 57 + ] + ], + "doc": "~Private~" + } + }, + "201": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 201, + 14 + ], + [ + 201, + 59 + ] + ], + "doc": "~Private~" + } + }, + "203": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 203, + 11 + ], + [ + 203, + 53 + ] + ], + "doc": "~Private~" + } + }, + "205": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 205, + 13 + ], + [ + 205, + 57 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "16": { + "name": "getContainer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": " Public: Get the container view housing this pane.\n\nReturns a {View}. " + } + }, + "213": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 16 + ], + [ + 216, + 1 + ] + ], + "doc": "~Private~" + } + }, + "216": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "keepData" + ], + "range": [ + [ + 216, + 10 + ], + [ + 219, + 9 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 14 + }, + "src/pane.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "find", + "exportsProperty": "find" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 13 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "compact", + "exportsProperty": "compact" + }, + "16": { + "type": "import", + "range": [ + [ + 0, + 16 + ], + [ + 0, + 21 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "extend", + "exportsProperty": "extend" + }, + "24": { + "type": "import", + "range": [ + [ + 0, + 24 + ], + [ + 0, + 27 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "last", + "exportsProperty": "last" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + }, + "8": { + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 15 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Sequence", + "exportsProperty": "Sequence" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "3": { + "11": { + "name": "PaneAxis", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-axis" + } + }, + "4": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "5": { + "11": { + "type": "primitive", + "range": [ + [ + 5, + 11 + ], + [ + 5, + 14 + ] + ] + } + }, + "11": { + "0": { + "type": "class", + "name": "Pane", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 43, + 19 + ], + [ + 50, + 21 + ], + [ + 57, + 16 + ], + [ + 59, + 12 + ], + [ + 62, + 9 + ], + [ + 67, + 8 + ], + [ + 73, + 12 + ], + [ + 77, + 12 + ], + [ + 82, + 12 + ], + [ + 88, + 17 + ], + [ + 93, + 19 + ], + [ + 97, + 15 + ], + [ + 101, + 20 + ], + [ + 109, + 24 + ], + [ + 117, + 22 + ], + [ + 121, + 23 + ], + [ + 125, + 16 + ], + [ + 137, + 11 + ], + [ + 154, + 12 + ], + [ + 159, + 14 + ], + [ + 175, + 12 + ], + [ + 182, + 18 + ], + [ + 187, + 21 + ], + [ + 193, + 15 + ], + [ + 204, + 16 + ], + [ + 208, + 24 + ], + [ + 211, + 11 + ], + [ + 218, + 13 + ], + [ + 224, + 20 + ], + [ + 239, + 18 + ], + [ + 243, + 20 + ], + [ + 251, + 12 + ], + [ + 263, + 14 + ], + [ + 273, + 13 + ], + [ + 278, + 14 + ], + [ + 283, + 22 + ], + [ + 290, + 18 + ], + [ + 300, + 13 + ], + [ + 309, + 14 + ], + [ + 318, + 11 + ], + [ + 327, + 13 + ], + [ + 330, + 9 + ], + [ + 344, + 23 + ], + [ + 356, + 32 + ] + ], + "doc": " Public: A container for multiple items, one of which is *active* at a given\ntime. With the default packages, a tab is displayed for each item and the\nactive item's view is displayed. ", + "range": [ + [ + 11, + 0 + ], + [ + 364, + 19 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 29, + 15 + ], + [ + 43, + 1 + ] + ], + "doc": "~Private~" + } + }, + "43": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 19 + ], + [ + 50, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during serialization. " + } + }, + "50": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 50, + 21 + ], + [ + 57, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during deserialization. " + } + }, + "57": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 16 + ], + [ + 57, + 51 + ] + ], + "doc": "Private: Called by the view layer to construct a view for this model. " + } + }, + "59": { + "12": { + "name": "isActive", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 12 + ], + [ + 59, + 21 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 62, + 9 + ], + [ + 67, + 1 + ] + ], + "doc": "Private: Called by the view layer to indicate that the pane has gained focus. " + } + }, + "67": { + "8": { + "name": "blur", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 8 + ], + [ + 73, + 1 + ] + ], + "doc": "Private: Called by the view layer to indicate that the pane has lost focus. " + } + }, + "73": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 12 + ], + [ + 77, + 1 + ] + ], + "doc": " Public: Makes this pane the *active* pane, causing it to gain focus\nimmediately. " + } + }, + "77": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 77, + 12 + ], + [ + 77, + 20 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "12": { + "name": "getItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 12 + ], + [ + 88, + 1 + ] + ], + "doc": " Public: Get the items in this pane.\n\nReturns an {Array} of items. " + } + }, + "88": { + "17": { + "name": "getActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 17 + ], + [ + 93, + 1 + ] + ], + "doc": " Public: Get the active pane item in this pane.\n\nReturns a pane item. " + } + }, + "93": { + "19": { + "name": "getActiveEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 93, + 19 + ], + [ + 97, + 1 + ] + ], + "doc": " Public: Returns an {Editor} if the pane item is an {Editor}, or null\notherwise. " + } + }, + "97": { + "15": { + "name": "itemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 97, + 15 + ], + [ + 101, + 1 + ] + ], + "doc": "Public: Returns the item at the specified index. " + } + }, + "101": { + "20": { + "name": "activateNextItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 20 + ], + [ + 109, + 1 + ] + ], + "doc": "Public: Makes the next item active. " + } + }, + "109": { + "24": { + "name": "activatePreviousItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 24 + ], + [ + 117, + 1 + ] + ], + "doc": "Public: Makes the previous item active. " + } + }, + "117": { + "22": { + "name": "getActiveItemIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 22 + ], + [ + 121, + 1 + ] + ], + "doc": "Private: Returns the index of the current active item. " + } + }, + "121": { + "23": { + "name": "activateItemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 121, + 23 + ], + [ + 125, + 1 + ] + ], + "doc": "Private: Makes the item at the given index active. " + } + }, + "125": { + "16": { + "name": "activateItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 125, + 16 + ], + [ + 137, + 1 + ] + ], + "doc": "Private: Makes the given item active, adding the item if necessary. " + } + }, + "137": { + "11": { + "name": "addItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index" + ], + "range": [ + [ + 137, + 11 + ], + [ + 154, + 1 + ] + ], + "doc": " Public: Adds the item to the pane.\n\nitem - The item to add. It can be a model with an associated view or a view.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns the added item " + } + }, + "154": { + "12": { + "name": "addItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items", + "index" + ], + "range": [ + [ + 154, + 12 + ], + [ + 159, + 1 + ] + ], + "doc": " Public: Adds the given items to the pane.\n\nitems - An {Array} of items to add. Items can be models with associated\n views or views. Any items that are already present in items will\n not be added.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns an {Array} of the added items " + } + }, + "159": { + "14": { + "name": "removeItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "destroying" + ], + "range": [ + [ + 159, + 14 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "12": { + "name": "moveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "newIndex" + ], + "range": [ + [ + 175, + 12 + ], + [ + 182, + 1 + ] + ], + "doc": "Public: Moves the given item to the specified index. " + } + }, + "182": { + "18": { + "name": "moveItemToPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "pane", + "index" + ], + "range": [ + [ + 182, + 18 + ], + [ + 187, + 1 + ] + ], + "doc": "Public: Moves the given item to the given index at another pane. " + } + }, + "187": { + "21": { + "name": "destroyActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 187, + 21 + ], + [ + 193, + 1 + ] + ], + "doc": "Public: Destroys the currently active item and make the next item active. " + } + }, + "193": { + "15": { + "name": "destroyItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 193, + 15 + ], + [ + 204, + 1 + ] + ], + "doc": " Public: Destroys the given item. If it is the active item, activate the next\none. If this is the last item, also destroys the pane. " + } + }, + "204": { + "16": { + "name": "destroyItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 204, + 16 + ], + [ + 208, + 1 + ] + ], + "doc": "Public: Destroys all items and destroys the pane. " + } + }, + "208": { + "24": { + "name": "destroyInactiveItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 208, + 24 + ], + [ + 211, + 1 + ] + ], + "doc": "Public: Destroys all items but the active one. " + } + }, + "211": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 211, + 11 + ], + [ + 218, + 1 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 218, + 13 + ], + [ + 224, + 1 + ] + ], + "doc": "Private: Called by model superclass. " + } + }, + "224": { + "20": { + "name": "promptToSaveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 224, + 20 + ], + [ + 239, + 1 + ] + ], + "doc": " Public: Prompts the user to save the given item if it can be saved and is\ncurrently unsaved. " + } + }, + "239": { + "18": { + "name": "saveActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 239, + 18 + ], + [ + 243, + 1 + ] + ], + "doc": "Public: Saves the active item. " + } + }, + "243": { + "20": { + "name": "saveActiveItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 243, + 20 + ], + [ + 251, + 1 + ] + ], + "doc": "Public: Saves the active item at a prompted-for location. " + } + }, + "251": { + "12": { + "name": "saveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "nextAction" + ], + "range": [ + [ + 251, + 12 + ], + [ + 263, + 1 + ] + ], + "doc": " Public: Saves the specified item.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " + } + }, + "263": { + "14": { + "name": "saveItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "nextAction" + ], + "range": [ + [ + 263, + 14 + ], + [ + 273, + 1 + ] + ], + "doc": " Public: Saves the given item at a prompted-for location.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " + } + }, + "273": { + "13": { + "name": "saveItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 273, + 13 + ], + [ + 278, + 1 + ] + ], + "doc": "Public: Saves all items. " + } + }, + "278": { + "14": { + "name": "itemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 278, + 14 + ], + [ + 283, + 1 + ] + ], + "doc": " Public: Returns the first item that matches the given URI or undefined if\nnone exists. " + } + }, + "283": { + "22": { + "name": "activateItemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 283, + 22 + ], + [ + 290, + 1 + ] + ], + "doc": " Public: Activates the first item that matches the given URI. Returns a\nboolean indicating whether a matching item was found. " + } + }, + "290": { + "18": { + "name": "copyActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 290, + 18 + ], + [ + 300, + 1 + ] + ], + "doc": "~Private~" + } + }, + "300": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 300, + 13 + ], + [ + 309, + 1 + ] + ], + "doc": " Public: Creates a new pane to the left of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "309": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 309, + 14 + ], + [ + 318, + 1 + ] + ], + "doc": " Public: Creates a new pane to the right of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "318": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 318, + 11 + ], + [ + 327, + 1 + ] + ], + "doc": " Public: Creates a new pane above the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "327": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 327, + 13 + ], + [ + 330, + 1 + ] + ], + "doc": " Public: Creates a new pane below the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "330": { + "9": { + "name": "split", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "orientation", + "side", + "params" + ], + "range": [ + [ + 330, + 9 + ], + [ + 344, + 1 + ] + ], + "doc": "~Private~" + } + }, + "344": { + "23": { + "name": "findLeftmostSibling", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 344, + 23 + ], + [ + 356, + 1 + ] + ], + "doc": " Private: If the parent is a horizontal axis, returns its first child if it is a pane;\notherwise returns this pane. " + } + }, + "356": { + "32": { + "name": "findOrCreateRightmostSibling", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 356, + 32 + ], + [ + 364, + 19 + ] + ], + "doc": " Private: If the parent is a horizontal axis, returns its last child if it is a pane;\notherwise returns a new pane created by splitting this pane rightward. " + } + } + }, + "exports": 11 + }, + "src/project.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "9": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 9, + 15 + ], + [ + 9, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "10": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer" + } + }, + "11": { + "1": { + "type": "import", + "range": [ + [ + 11, + 1 + ], + [ + 11, + 9 + ] + ], + "bindingType": "variable", + "module": "pathwatcher", + "name": "Directory", + "exportsProperty": "Directory" + } + }, + "13": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 13, + 9 + ], + [ + 13, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "14": { + "7": { + "name": "Task", + "type": "import", + "range": [ + [ + 14, + 7 + ], + [ + 14, + 22 + ] + ], + "bindingType": "variable", + "path": "./task" + } + }, + "15": { + "6": { + "name": "Git", + "type": "import", + "range": [ + [ + 15, + 6 + ], + [ + 15, + 20 + ] + ], + "bindingType": "variable", + "path": "./git" + } + }, + "21": { + "0": { + "type": "class", + "name": "Project", + "bindingType": "exports", + "classProperties": [ + [ + 26, + 25 + ] + ], + "prototypeProperties": [ + [ + 31, + 15 + ], + [ + 40, + 19 + ], + [ + 44, + 21 + ], + [ + 48, + 13 + ], + [ + 52, + 15 + ], + [ + 57, + 28 + ], + [ + 61, + 11 + ], + [ + 64, + 11 + ], + [ + 68, + 11 + ], + [ + 85, + 20 + ], + [ + 95, + 11 + ], + [ + 109, + 14 + ], + [ + 114, + 12 + ], + [ + 124, + 8 + ], + [ + 130, + 12 + ], + [ + 139, + 14 + ], + [ + 143, + 18 + ], + [ + 146, + 21 + ], + [ + 150, + 21 + ], + [ + 163, + 17 + ], + [ + 168, + 15 + ], + [ + 172, + 19 + ], + [ + 184, + 15 + ], + [ + 194, + 13 + ], + [ + 198, + 20 + ], + [ + 207, + 16 + ], + [ + 211, + 23 + ], + [ + 221, + 8 + ], + [ + 268, + 11 + ], + [ + 300, + 24 + ], + [ + 304, + 14 + ], + [ + 315, + 18 + ], + [ + 320, + 20 + ], + [ + 325, + 14 + ], + [ + 330, + 14 + ] + ], + "doc": " Public: Represents a project that's opened in Atom.\n\nAn instance of this class is always available as the `atom.project` global. ", + "range": [ + [ + 21, + 0 + ], + [ + 332, + 31 + ] + ] + } + }, + "26": { + "25": { + "name": "pathForRepositoryUrl", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "repoUrl" + ], + "range": [ + [ + 26, + 25 + ], + [ + 31, + 1 + ] + ], + "doc": "Public: Find the local path for the given repository URL. " + } + }, + "31": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 31, + 15 + ], + [ + 40, + 1 + ] + ], + "doc": "~Private~" + } + }, + "40": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 40, + 19 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 44, + 21 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 13 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "15": { + "name": "destroyRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 15 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "28": { + "name": "destroyUnretainedBuffers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 28 + ], + [ + 61, + 1 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "11": { + "name": "getRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 11 + ], + [ + 61, + 18 + ] + ], + "doc": "Public: Returns the {Git} repository if available. " + } + }, + "64": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 11 + ], + [ + 68, + 1 + ] + ], + "doc": "Public: Returns the project's fullpath. " + } + }, + "68": { + "11": { + "name": "setPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "projectPath" + ], + "range": [ + [ + 68, + 11 + ], + [ + 85, + 1 + ] + ], + "doc": "Public: Sets the project's fullpath. " + } + }, + "85": { + "20": { + "name": "getRootDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 85, + 20 + ], + [ + 95, + 1 + ] + ], + "doc": "Public: Returns the root {Directory} object for this project. " + } + }, + "95": { + "11": { + "name": "resolve", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 95, + 11 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Given a uri, this resolves it relative to the project directory. If\nthe path is already absolute or if it is prefixed with a scheme, it is\nreturned unchanged.\n\nuri - The {String} name of the path to convert.\n\nReturns a {String} or undefined if the uri is not missing or empty. " + } + }, + "109": { + "14": { + "name": "relativize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fullPath" + ], + "range": [ + [ + 109, + 14 + ], + [ + 114, + 1 + ] + ], + "doc": "Public: Make the given path relative to the project directory. " + } + }, + "114": { + "12": { + "name": "contains", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToCheck" + ], + "range": [ + [ + 114, + 12 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Returns whether the given path is inside this project. " + } + }, + "124": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "options" + ], + "range": [ + [ + 124, + 8 + ], + [ + 130, + 1 + ] + ], + "doc": " Private: Given a path to a file, this constructs and associates a new\n{Editor}, showing the file.\n\nfilePath - The {String} path of the file to associate with.\noptions - Options that you can pass to the {Editor} constructor.\n\nReturns a promise that resolves to an {Editor}. " + } + }, + "130": { + "12": { + "name": "openSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "options" + ], + "range": [ + [ + 130, + 12 + ], + [ + 139, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "139": { + "14": { + "name": "getBuffers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 139, + 14 + ], + [ + 143, + 1 + ] + ], + "doc": " Private: Retrieves all the {TextBuffer}s in the project; that is, the\nbuffers for all open files.\n\nReturns an {Array} of {TextBuffer}s. " + } + }, + "143": { + "18": { + "name": "isPathModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 143, + 18 + ], + [ + 146, + 1 + ] + ], + "doc": "Private: Is the buffer for the given path modified? " + } + }, + "146": { + "21": { + "name": "findBufferForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 146, + 21 + ], + [ + 150, + 1 + ] + ], + "doc": "~Private~" + } + }, + "150": { + "21": { + "name": "bufferForPathSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 150, + 21 + ], + [ + 163, + 1 + ] + ], + "doc": "Private: Only to be used in specs " + } + }, + "163": { + "17": { + "name": "bufferForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 163, + 17 + ], + [ + 168, + 1 + ] + ], + "doc": " Private: Given a file path, this retrieves or creates a new {TextBuffer}.\n\nIf the `filePath` already has a `buffer`, that value is used instead. Otherwise,\n`text` is used as the contents of the new buffer.\n\nfilePath - A {String} representing a path. If `null`, an \"Untitled\" buffer is created.\n\nReturns a promise that resolves to the {TextBuffer}. " + } + }, + "168": { + "15": { + "name": "bufferForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 168, + 15 + ], + [ + 172, + 1 + ] + ], + "doc": "~Private~" + } + }, + "172": { + "19": { + "name": "buildBufferSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "absoluteFilePath" + ], + "range": [ + [ + 172, + 19 + ], + [ + 184, + 1 + ] + ], + "doc": "Private: Still needed when deserializing a tokenized buffer " + } + }, + "184": { + "15": { + "name": "buildBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "absoluteFilePath" + ], + "range": [ + [ + 184, + 15 + ], + [ + 194, + 1 + ] + ], + "doc": " Private: Given a file path, this sets its {TextBuffer}.\n\nabsoluteFilePath - A {String} representing a path.\ntext - The {String} text to use as a buffer.\n\nReturns a promise that resolves to the {TextBuffer}. " + } + }, + "194": { + "13": { + "name": "addBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "options" + ], + "range": [ + [ + 194, + 13 + ], + [ + 198, + 1 + ] + ], + "doc": "~Private~" + } + }, + "198": { + "20": { + "name": "addBufferAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "index", + "options" + ], + "range": [ + [ + 198, + 20 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "16": { + "name": "removeBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer" + ], + "range": [ + [ + 207, + 16 + ], + [ + 211, + 1 + ] + ], + "doc": " Private: Removes a {TextBuffer} association from the project.\n\nReturns the removed {TextBuffer}. " + } + }, + "211": { + "23": { + "name": "removeBufferAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index", + "options" + ], + "range": [ + [ + 211, + 23 + ], + [ + 221, + 1 + ] + ], + "doc": "~Private~" + } + }, + "221": { + "8": { + "name": "scan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "options", + "iterator" + ], + "range": [ + [ + 221, + 8 + ], + [ + 268, + 1 + ] + ], + "doc": " Public: Performs a search across all the files in the project.\n\nregex - A {RegExp} to search with.\noptions - An optional options {Object} (default: {}):\n :paths - An {Array} of glob patterns to search within\niterator - A {Function} callback on each file found " + } + }, + "268": { + "11": { + "name": "replace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "replacementText", + "filePaths", + "iterator" + ], + "range": [ + [ + 268, + 11 + ], + [ + 300, + 1 + ] + ], + "doc": " Public: Performs a replace across all the specified files in the project.\n\nregex - A {RegExp} to search with.\nreplacementText - Text to replace all matches of regex with\nfilePaths - List of file path strings to run the replace on.\niterator - A {Function} callback on each file with replacements:\n `({filePath, replacements}) ->`. " + } + }, + "300": { + "24": { + "name": "buildEditorForBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "editorOptions" + ], + "range": [ + [ + 300, + 24 + ], + [ + 304, + 1 + ] + ], + "doc": "~Private~" + } + }, + "304": { + "14": { + "name": "eachBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 304, + 14 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "18": { + "name": "registerOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 315, + 18 + ], + [ + 320, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "320": { + "20": { + "name": "unregisterOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 320, + 20 + ], + [ + 325, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "325": { + "14": { + "name": "eachEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 325, + 14 + ], + [ + 330, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "330": { + "14": { + "name": "getEditors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 330, + 14 + ], + [ + 332, + 31 + ] + ], + "doc": "Deprecated: delegate " + } + } + }, + "exports": 21 + }, + "src/react-editor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "defaults", + "exportsProperty": "defaults" + } + }, + "3": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 3, + 13 + ], + [ + 3, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer" + } + }, + "4": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "5": { + "18": { + "name": "EditorComponent", + "type": "import", + "range": [ + [ + 5, + 18 + ], + [ + 5, + 45 + ] + ], + "bindingType": "variable", + "path": "./editor-component" + } + }, + "8": { + "0": { + "type": "class", + "name": "ReactEditorView", + "bindingType": "exports", + "classProperties": [ + [ + 9, + 12 + ] + ], + "prototypeProperties": [ + [ + 14, + 17 + ], + [ + 16, + 15 + ], + [ + 58, + 13 + ], + [ + 60, + 12 + ], + [ + 69, + 15 + ], + [ + 77, + 13 + ], + [ + 83, + 14 + ], + [ + 89, + 18 + ], + [ + 92, + 26 + ], + [ + 95, + 26 + ], + [ + 98, + 26 + ], + [ + 101, + 25 + ], + [ + 105, + 34 + ], + [ + 108, + 34 + ], + [ + 111, + 21 + ], + [ + 116, + 16 + ], + [ + 122, + 13 + ], + [ + 127, + 14 + ], + [ + 132, + 11 + ], + [ + 137, + 13 + ], + [ + 141, + 11 + ], + [ + 144, + 9 + ], + [ + 150, + 8 + ], + [ + 154, + 8 + ], + [ + 158, + 20 + ], + [ + 165, + 12 + ], + [ + 168, + 10 + ], + [ + 171, + 12 + ], + [ + 174, + 28 + ], + [ + 177, + 27 + ], + [ + 180, + 17 + ], + [ + 183, + 17 + ], + [ + 186, + 15 + ], + [ + 189, + 15 + ], + [ + 192, + 19 + ], + [ + 195, + 17 + ], + [ + 198, + 22 + ], + [ + 201, + 15 + ], + [ + 204, + 21 + ], + [ + 207, + 18 + ], + [ + 210, + 18 + ], + [ + 213, + 11 + ], + [ + 216, + 11 + ], + [ + 219, + 14 + ], + [ + 222, + 18 + ], + [ + 225, + 19 + ], + [ + 228, + 24 + ], + [ + 230, + 17 + ], + [ + 232, + 16 + ], + [ + 234, + 10 + ], + [ + 236, + 22 + ], + [ + 242, + 27 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 243, + 49 + ] + ] + } + }, + "9": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 9, + 12 + ], + [ + 14, + 1 + ] + ] + } + }, + "14": { + "17": { + "name": "focusOnAttach", + "type": "primitive", + "range": [ + [ + 14, + 17 + ], + [ + 14, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorOrParams", + "props" + ], + "range": [ + [ + 16, + 15 + ], + [ + 58, + 1 + ] + ], + "doc": "~Private~" + } + }, + "58": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 58, + 13 + ], + [ + 58, + 22 + ] + ], + "doc": "~Private~" + } + }, + "69": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 69, + 15 + ], + [ + 77, + 1 + ] + ], + "doc": "~Private~" + } + }, + "77": { + "13": { + "name": "scrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 77, + 13 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "14": { + "name": "scrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 83, + 14 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "18": { + "name": "scrollToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 18 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 92, + 26 + ], + [ + 95, + 1 + ] + ], + "doc": "~Private~" + } + }, + "95": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 95, + 26 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 26 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "scrollToPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 101, + 25 + ], + [ + 105, + 1 + ] + ], + "doc": "~Private~" + } + }, + "105": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 105, + 34 + ], + [ + 108, + 1 + ] + ], + "doc": "~Private~" + } + }, + "108": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 108, + 34 + ], + [ + 111, + 1 + ] + ], + "doc": "~Private~" + } + }, + "111": { + "21": { + "name": "appendToLinesView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 111, + 21 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 16 + ], + [ + 122, + 1 + ] + ], + "doc": "~Private~" + } + }, + "122": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 122, + 13 + ], + [ + 127, + 1 + ] + ], + "doc": "Public: Split the editor view left. " + } + }, + "127": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 127, + 14 + ], + [ + 132, + 1 + ] + ], + "doc": "Public: Split the editor view right. " + } + }, + "132": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 132, + 11 + ], + [ + 137, + 1 + ] + ], + "doc": "Public: Split the editor view up. " + } + }, + "137": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 13 + ], + [ + 141, + 1 + ] + ], + "doc": "Public: Split the editor view down. " + } + }, + "141": { + "11": { + "name": "getPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 11 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 144, + 9 + ], + [ + 150, + 1 + ] + ], + "doc": "~Private~" + } + }, + "150": { + "8": { + "name": "hide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 150, + 8 + ], + [ + 154, + 1 + ] + ], + "doc": "~Private~" + } + }, + "154": { + "8": { + "name": "show", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 8 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "20": { + "name": "pollComponentDOM", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 20 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 12 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 10 + ], + [ + 171, + 1 + ] + ], + "doc": "~Private~" + } + }, + "171": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 12 + ], + [ + 174, + 1 + ] + ], + "doc": "~Private~" + } + }, + "174": { + "28": { + "name": "getFirstVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 174, + 28 + ], + [ + 177, + 1 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "27": { + "name": "getLastVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 27 + ], + [ + 180, + 1 + ] + ], + "doc": "~Private~" + } + }, + "180": { + "17": { + "name": "getFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 180, + 17 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "17": { + "name": "setFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 183, + 17 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "15": { + "name": "getFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 186, + 15 + ], + [ + 189, + 1 + ] + ], + "doc": "~Private~" + } + }, + "189": { + "15": { + "name": "setFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 189, + 15 + ], + [ + 192, + 1 + ] + ], + "doc": "~Private~" + } + }, + "192": { + "19": { + "name": "setWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "widthInChars" + ], + "range": [ + [ + 192, + 19 + ], + [ + 195, + 1 + ] + ], + "doc": "~Private~" + } + }, + "195": { + "17": { + "name": "setLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 195, + 17 + ], + [ + 198, + 1 + ] + ], + "doc": "~Private~" + } + }, + "198": { + "22": { + "name": "setShowIndentGuide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showIndentGuide" + ], + "range": [ + [ + 198, + 22 + ], + [ + 201, + 1 + ] + ], + "doc": "~Private~" + } + }, + "201": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 201, + 15 + ], + [ + 204, + 1 + ] + ], + "doc": "~Private~" + } + }, + "204": { + "21": { + "name": "setShowInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showInvisibles" + ], + "range": [ + [ + 204, + 21 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 207, + 18 + ], + [ + 210, + 1 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 18 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 11 + ], + [ + 216, + 1 + ] + ], + "doc": "~Private~" + } + }, + "216": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 216, + 11 + ], + [ + 219, + 1 + ] + ], + "doc": "~Private~" + } + }, + "219": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 219, + 14 + ], + [ + 222, + 1 + ] + ], + "doc": "~Private~" + } + }, + "222": { + "18": { + "name": "isInputEnabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 222, + 18 + ], + [ + 225, + 1 + ] + ], + "doc": "~Private~" + } + }, + "225": { + "19": { + "name": "setInputEnabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "inputEnabled" + ], + "range": [ + [ + 225, + 19 + ], + [ + 228, + 1 + ] + ], + "doc": "~Private~" + } + }, + "228": { + "24": { + "name": "requestDisplayUpdate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 228, + 24 + ], + [ + 228, + 25 + ] + ], + "doc": "~Private~" + } + }, + "230": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 230, + 17 + ], + [ + 230, + 18 + ] + ], + "doc": "~Private~" + } + }, + "232": { + "16": { + "name": "resetDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 232, + 16 + ], + [ + 232, + 17 + ] + ], + "doc": "~Private~" + } + }, + "234": { + "10": { + "name": "redraw", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 10 + ], + [ + 234, + 11 + ] + ], + "doc": "~Private~" + } + }, + "236": { + "22": { + "name": "setPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "placeholderText" + ], + "range": [ + [ + 236, + 22 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "27": { + "name": "lineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 242, + 27 + ], + [ + 243, + 49 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/replace-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "PathReplacer", + "exportsProperty": "PathReplacer" + } + } + }, + "exports": 2 + }, + "src/repository-status-handler.coffee": { + "objects": { + "0": { + "6": { + "name": "Git", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "git-utils" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + } + }, + "exports": 3 + }, + "src/row-map.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 15 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "spliceWithArray", + "exportsProperty": "spliceWithArray" + } + }, + "16": { + "0": { + "type": "class", + "name": "RowMap", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 15 + ], + [ + 21, + 14 + ], + [ + 27, + 30 + ], + [ + 40, + 30 + ], + [ + 50, + 30 + ], + [ + 61, + 17 + ], + [ + 83, + 23 + ], + [ + 93, + 23 + ], + [ + 103, + 35 + ], + [ + 116, + 11 + ] + ], + "doc": " Private: Used by the display buffer to map screen rows to buffer rows and vice-versa.\nThis mapping may not be 1:1 due to folds and soft-wraps. This object maintains\nan array of regions, which contain `bufferRows` and `screenRows` fields.\n\nRectangular Regions:\nIf a region has the same number of buffer rows and screen rows, it is referred\nto as \"rectangular\", and represents one or more non-soft-wrapped, non-folded\nlines.\n\nTrapezoidal Regions:\nIf a region has one buffer row and more than one screen row, it represents a\nsoft-wrapped line. If a region has one screen row and more than one buffer\nrow, it represents folded lines ", + "range": [ + [ + 16, + 0 + ], + [ + 118, + 35 + ] + ] + } + }, + "17": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 15 + ], + [ + 21, + 1 + ] + ] + } + }, + "21": { + "14": { + "name": "getRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 14 + ], + [ + 27, + 1 + ] + ], + "doc": "Public: Returns a copy of all the regions in the map " + } + }, + "27": { + "30": { + "name": "screenRowRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 27, + 30 + ], + [ + 40, + 1 + ] + ], + "doc": " Public: Returns an end-row-exclusive range of screen rows corresponding to\nthe given buffer row. If the buffer row is soft-wrapped, the range may span\nmultiple screen rows. Otherwise it will span a single screen row. " + } + }, + "40": { + "30": { + "name": "bufferRowRangeForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetScreenRow" + ], + "range": [ + [ + 40, + 30 + ], + [ + 50, + 1 + ] + ], + "doc": " Public: Returns an end-row-exclusive range of buffer rows corresponding to\nthe given screen row. If the screen row is the first line of a folded range\nof buffer rows, the range may span multiple buffer rows. Otherwise it will\nspan a single buffer row. " + } + }, + "50": { + "30": { + "name": "bufferRowRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 50, + 30 + ], + [ + 61, + 1 + ] + ], + "doc": " Public: If the given buffer row is part of a folded row range, returns that\nrow range. Otherwise returns a range spanning only the given buffer row. " + } + }, + "61": { + "17": { + "name": "spliceRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "bufferRowCount", + "regions" + ], + "range": [ + [ + 61, + 17 + ], + [ + 83, + 1 + ] + ], + "doc": " Public: Given a starting buffer row, the number of buffer rows to replace,\nand an array of regions of shape {bufferRows: n, screenRows: m}, splices\nthe regions at the appropriate location in the map. This method is used by\ndisplay buffer to keep the map updated when the underlying buffer changes. " + } + }, + "83": { + "23": { + "name": "traverseToBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 83, + 23 + ], + [ + 93, + 1 + ] + ], + "doc": "~Private~" + } + }, + "93": { + "23": { + "name": "traverseToScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetScreenRow" + ], + "range": [ + [ + 93, + 23 + ], + [ + 103, + 1 + ] + ], + "doc": "~Private~" + } + }, + "103": { + "35": { + "name": "mergeAdjacentRectangularRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startIndex", + "endIndex" + ], + "range": [ + [ + 103, + 35 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 11 + ], + [ + 118, + 35 + ] + ], + "doc": "Public: Returns an array of strings describing the map's regions. " + } + } + }, + "exports": 16 + }, + "src/scan-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "PathSearcher", + "exportsProperty": "PathSearcher" + }, + "15": { + "type": "import", + "range": [ + [ + 0, + 15 + ], + [ + 0, + 25 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "PathScanner", + "exportsProperty": "PathScanner" + }, + "28": { + "type": "import", + "range": [ + [ + 0, + 28 + ], + [ + 0, + 33 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "search", + "exportsProperty": "search" + } + } + }, + "exports": 2 + }, + "src/scoped-properties.coffee": { + "objects": { + "0": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1" + } + }, + "3": { + "0": { + "type": "class", + "name": "ScopedProperties", + "bindingType": "exports", + "classProperties": [ + [ + 4, + 9 + ] + ], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 13, + 12 + ], + [ + 17, + 14 + ] + ], + "doc": "~Private~", + "range": [ + [ + 3, + 0 + ], + [ + 18, + 39 + ] + ] + } + }, + "4": { + "9": { + "name": "load", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "scopedPropertiesPath", + "callback" + ], + "range": [ + [ + 4, + 9 + ], + [ + 11, + 1 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 11, + 43 + ] + ], + "doc": "~Private~" + } + }, + "13": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 12 + ], + [ + 17, + 1 + ] + ], + "doc": "~Private~" + } + }, + "17": { + "14": { + "name": "deactivate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 14 + ], + [ + 18, + 39 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 3 + }, + "src/scroll-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "21": { + "0": { + "type": "class", + "name": "ScrollView", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 22, + 14 + ] + ], + "doc": " Public: Represents a view that scrolls.\n\nSubclasses must call `super` if overriding the `initialize` method or else\nthe following events won't be handled by the ScrollView.\n\n## Events\n * `core:move-up`\n * `core:move-down`\n * `core:page-up`\n * `core:page-down`\n * `core:move-to-top`\n * `core:move-to-bottom`\n\n## Requiring in packages\n\n```coffee\n {ScrollView} = require 'atom'\n``` ", + "range": [ + [ + 21, + 0 + ], + [ + 28, + 51 + ] + ] + } + }, + "22": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 22, + 14 + ], + [ + 28, + 51 + ] + ] + } + } + }, + "exports": 21 + }, + "src/scrollbar-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 6 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "extend", + "exportsProperty": "extend" + }, + "9": { + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "21": { + "name": "ScrollbarComponent", + "type": "function", + "range": [ + [ + 5, + 21 + ], + [ + 69, + 28 + ] + ] + } + }, + "6": { + "15": { + "name": "'ScrollbarComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 34 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 21 + ], + [ + 36, + 1 + ] + ], + "doc": null + } + }, + "36": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 36, + 25 + ], + [ + 45, + 1 + ] + ], + "doc": null + } + }, + "45": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 22 + ], + [ + 57, + 1 + ] + ], + "doc": null + } + }, + "57": { + "12": { + "name": "onScroll", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 12 + ], + [ + 69, + 28 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/scrollbar-corner-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "27": { + "name": "ScrollbarCornerComponent", + "type": "function", + "range": [ + [ + 5, + 27 + ], + [ + 23, + 99 + ] + ] + } + }, + "6": { + "15": { + "name": "'ScrollbarCornerComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 40 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 22, + 1 + ] + ], + "doc": null + } + }, + "22": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 22, + 25 + ], + [ + 23, + 99 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/select-list-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "4": { + "15": { + "name": "EditorView", + "type": "import", + "range": [ + [ + 4, + 15 + ], + [ + 4, + 37 + ] + ], + "bindingType": "variable", + "path": "./editor-view" + } + }, + "5": { + "14": { + "type": "primitive", + "range": [ + [ + 5, + 14 + ], + [ + 5, + 41 + ] + ] + } + }, + "36": { + "0": { + "type": "class", + "name": "SelectListView", + "bindingType": "exports", + "classProperties": [ + [ + 37, + 12 + ] + ], + "prototypeProperties": [ + [ + 46, + 12 + ], + [ + 47, + 19 + ], + [ + 48, + 17 + ], + [ + 49, + 14 + ], + [ + 55, + 14 + ], + [ + 90, + 24 + ], + [ + 102, + 12 + ], + [ + 109, + 12 + ], + [ + 119, + 14 + ], + [ + 136, + 18 + ], + [ + 143, + 16 + ], + [ + 174, + 19 + ], + [ + 179, + 15 + ], + [ + 181, + 26 + ], + [ + 186, + 22 + ], + [ + 191, + 18 + ], + [ + 197, + 20 + ], + [ + 207, + 23 + ], + [ + 213, + 19 + ], + [ + 216, + 20 + ], + [ + 233, + 15 + ], + [ + 244, + 13 + ], + [ + 258, + 16 + ], + [ + 261, + 21 + ], + [ + 266, + 23 + ], + [ + 269, + 16 + ], + [ + 275, + 13 + ], + [ + 283, + 10 + ] + ], + "doc": " Public: Provides a view that renders a list of items with an editor that\nfilters the items. Used by many packages such as the fuzzy-finder,\ncommand-palette, symbols-view and autocomplete.\n\nSubclasses must implement the following methods:\n\n* {::viewForItem}\n* {::confirmed}\n\n## Requiring in packages\n\n```coffee\n{SelectListView} = require 'atom'\n\nclass MySelectListView extends SelectListView\n initialize: ->\n super\n @addClass('overlay from-top')\n @setItems(['Hello', 'World'])\n atom.workspaceView.append(this)\n @focusFilterEditor()\n\n viewForItem: (item) ->\n \"
  • #{item}
  • \"\n\n confirmed: (item) ->\n console.log(\"#{item} was selected\")\n``` ", + "range": [ + [ + 36, + 0 + ], + [ + 291, + 34 + ] + ] + } + }, + "37": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 37, + 12 + ], + [ + 46, + 1 + ] + ] + } + }, + "46": { + "12": { + "name": "maxItems", + "type": "primitive", + "range": [ + [ + 46, + 12 + ], + [ + 46, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "47": { + "19": { + "name": "scheduleTimeout", + "type": "primitive", + "range": [ + [ + 47, + 19 + ], + [ + 47, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "48": { + "17": { + "name": "inputThrottle", + "type": "primitive", + "range": [ + [ + 48, + 17 + ], + [ + 48, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "49": { + "14": { + "name": "cancelling", + "type": "primitive", + "range": [ + [ + 49, + 14 + ], + [ + 49, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "55": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 14 + ], + [ + 90, + 1 + ] + ], + "doc": " Public: Initialize the select list view.\n\nThis method can be overridden by subclasses but `super` should always\nbe called. " + } + }, + "90": { + "24": { + "name": "schedulePopulateList", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 24 + ], + [ + 102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "102": { + "12": { + "name": "setItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 102, + 12 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Set the array of items to display in the list.\n\nThis should be model items not actual views. {::viewForItem} will be\ncalled to render the item when it is being appended to the list view.\n\nitems - The {Array} of model items to display in the list (default: []). " + } + }, + "109": { + "12": { + "name": "setError", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 109, + 12 + ], + [ + 119, + 1 + ] + ], + "doc": " Public: Set the error message to display.\n\nmessage - The {String} error message (default: ''). " + } + }, + "119": { + "14": { + "name": "setLoading", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 119, + 14 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Set the loading message to display.\n\nmessage - The {String} loading message (default: ''). " + } + }, + "136": { + "18": { + "name": "getFilterQuery", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 18 + ], + [ + 143, + 1 + ] + ], + "doc": " Public: Get the filter query to use when fuzzy filtering the visible\nelements.\n\nBy default this method returns the text in the mini editor but it can be\noverridden by subclasses if needed.\n\nReturns a {String} to use when fuzzy filtering the elements to display. " + } + }, + "143": { + "16": { + "name": "populateList", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 143, + 16 + ], + [ + 174, + 1 + ] + ], + "doc": " Public: Populate the list view with the model items previously set by\ncalling {::setItems}.\n\nSubclasses may override this method but should always call `super`. " + } + }, + "174": { + "19": { + "name": "getEmptyMessage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "itemCount", + "filteredItemCount" + ], + "range": [ + [ + 174, + 19 + ], + [ + 174, + 70 + ] + ], + "doc": " Public: Get the message to display when there are no items.\n\nSubclasses may override this method to customize the message.\n\nitemCount - The {Number} of items in the array specified to {::setItems}\nfilteredItemCount - The {Number} of items that pass the fuzzy filter test.\n\nReturns a {String} message (default: 'No matches found'). " + } + }, + "179": { + "15": { + "name": "setMaxItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 179, + 15 + ], + [ + 179, + 28 + ] + ], + "doc": " Public: Set the maximum numbers of items to display in the list.\n\nmaxItems - The maximum {Number} of items to display. " + } + }, + "181": { + "26": { + "name": "selectPreviousItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 181, + 26 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "22": { + "name": "selectNextItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 186, + 22 + ], + [ + 191, + 1 + ] + ], + "doc": "~Private~" + } + }, + "191": { + "18": { + "name": "selectItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 191, + 18 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "20": { + "name": "scrollToItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 197, + 20 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "23": { + "name": "getSelectedItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 207, + 23 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "19": { + "name": "getSelectedItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 19 + ], + [ + 216, + 1 + ] + ], + "doc": " Public: Get the model item that is currently selected in the list view.\n\nReturns a model item. " + } + }, + "216": { + "20": { + "name": "confirmSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 216, + 20 + ], + [ + 233, + 1 + ] + ], + "doc": "~Private~" + } + }, + "233": { + "15": { + "name": "viewForItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 233, + 15 + ], + [ + 244, + 1 + ] + ], + "doc": " Public: Create a view for the given model item.\n\nThis method must be overridden by subclasses.\n\nThis is called when the item is about to appended to the list view.\n\nitem - The model item being rendered. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a String of HTML, DOM element, jQuery object, or View. " + } + }, + "244": { + "13": { + "name": "confirmed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 244, + 13 + ], + [ + 258, + 1 + ] + ], + "doc": " Public: Callback function for when an item is selected.\n\nThis method must be overridden by subclasses.\n\nitem - The selected model item. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a DOM element, jQuery object, or {View}. " + } + }, + "258": { + "16": { + "name": "getFilterKey", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 258, + 16 + ], + [ + 258, + 17 + ] + ], + "doc": " Public: Get the property name to use when filtering items.\n\nThis method may be overridden by classes to allow fuzzy filtering based\non a specific property of the item objects.\n\nFor example if the objects you pass to {::setItems} are of the type\n`{\"id\": 3, \"name\": \"Atom\"}` then you would return `\"name\"` from this method\nto fuzzy filter by that property when text is entered into this view's\neditor.\n\nReturns the property name to fuzzy filter by. " + } + }, + "261": { + "21": { + "name": "focusFilterEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 21 + ], + [ + 266, + 1 + ] + ], + "doc": "Public: Focus the fuzzy filter editor view. " + } + }, + "266": { + "23": { + "name": "storeFocusedElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 266, + 23 + ], + [ + 269, + 1 + ] + ], + "doc": " Public: Store the currently focused element. This element will be given\nback focus when {::cancel} is called. " + } + }, + "269": { + "16": { + "name": "restoreFocus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 16 + ], + [ + 275, + 1 + ] + ], + "doc": "~Private~" + } + }, + "275": { + "13": { + "name": "cancelled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 275, + 13 + ], + [ + 283, + 1 + ] + ], + "doc": "~Private~" + } + }, + "283": { + "10": { + "name": "cancel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 283, + 10 + ], + [ + 291, + 34 + ] + ], + "doc": " Public: Cancel and close this select list view.\n\nThis restores focus to the previously focused element if\n{::storeFocusedElement} was called prior to this view being attached. " + } + } + }, + "exports": 36 + }, + "src/selection-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 8 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + } + }, + "4": { + "0": { + "type": "class", + "name": "SelectionView", + "bindingType": "exports", + "classProperties": [ + [ + 6, + 12 + ] + ], + "prototypeProperties": [ + [ + 9, + 11 + ], + [ + 10, + 16 + ], + [ + 12, + 14 + ], + [ + 19, + 17 + ], + [ + 37, + 16 + ], + [ + 50, + 26 + ], + [ + 57, + 16 + ], + [ + 61, + 18 + ], + [ + 64, + 18 + ], + [ + 67, + 19 + ], + [ + 70, + 19 + ], + [ + 73, + 13 + ], + [ + 79, + 15 + ], + [ + 82, + 10 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 84, + 9 + ] + ] + } + }, + "6": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 12 + ], + [ + 9, + 1 + ] + ], + "doc": "~Private~" + } + }, + "9": { + "11": { + "name": "regions", + "type": "primitive", + "range": [ + [ + 9, + 11 + ], + [ + 9, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "16": { + "name": "needsRemoval", + "type": "primitive", + "range": [ + [ + 10, + 16 + ], + [ + 10, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 14 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 19, + 17 + ], + [ + 37, + 1 + ] + ], + "doc": "~Private~" + } + }, + "37": { + "16": { + "name": "appendRegion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rows", + "start", + "end" + ], + "range": [ + [ + 37, + 16 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "26": { + "name": "getCenterPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 26 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "16": { + "name": "clearRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 16 + ], + [ + 61, + 1 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 18 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 18 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "19": { + "name": "needsAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 19 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 70, + 19 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "13": { + "name": "highlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 13 + ], + [ + 79, + 1 + ] + ], + "doc": "~Private~" + } + }, + "79": { + "15": { + "name": "unhighlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 15 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 10 + ], + [ + 84, + 9 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/selection.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1", + "name": "pick", + "exportsProperty": "pick" + } + }, + "6": { + "0": { + "type": "class", + "name": "Selection", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 7, + 10 + ], + [ + 8, + 10 + ], + [ + 9, + 10 + ], + [ + 10, + 22 + ], + [ + 11, + 12 + ], + [ + 12, + 19 + ], + [ + 14, + 15 + ], + [ + 25, + 11 + ], + [ + 28, + 12 + ], + [ + 34, + 19 + ], + [ + 38, + 11 + ], + [ + 45, + 14 + ], + [ + 49, + 22 + ], + [ + 53, + 18 + ], + [ + 60, + 18 + ], + [ + 64, + 18 + ], + [ + 74, + 18 + ], + [ + 91, + 21 + ], + [ + 98, + 25 + ], + [ + 101, + 25 + ], + [ + 104, + 25 + ], + [ + 107, + 25 + ], + [ + 110, + 14 + ], + [ + 114, + 11 + ], + [ + 118, + 9 + ], + [ + 126, + 14 + ], + [ + 138, + 18 + ], + [ + 144, + 14 + ], + [ + 155, + 18 + ], + [ + 163, + 26 + ], + [ + 184, + 26 + ], + [ + 188, + 15 + ], + [ + 192, + 14 + ], + [ + 196, + 12 + ], + [ + 200, + 14 + ], + [ + 205, + 15 + ], + [ + 210, + 18 + ], + [ + 214, + 13 + ], + [ + 219, + 27 + ], + [ + 224, + 32 + ], + [ + 229, + 21 + ], + [ + 234, + 27 + ], + [ + 239, + 21 + ], + [ + 244, + 31 + ], + [ + 248, + 32 + ], + [ + 252, + 28 + ], + [ + 257, + 36 + ], + [ + 262, + 40 + ], + [ + 266, + 21 + ], + [ + 284, + 22 + ], + [ + 289, + 21 + ], + [ + 316, + 14 + ], + [ + 349, + 20 + ], + [ + 383, + 10 + ], + [ + 399, + 22 + ], + [ + 405, + 25 + ], + [ + 412, + 13 + ], + [ + 417, + 30 + ], + [ + 422, + 30 + ], + [ + 428, + 27 + ], + [ + 434, + 27 + ], + [ + 443, + 10 + ], + [ + 455, + 21 + ], + [ + 462, + 21 + ], + [ + 467, + 22 + ], + [ + 477, + 14 + ], + [ + 496, + 13 + ], + [ + 522, + 23 + ], + [ + 532, + 26 + ], + [ + 542, + 22 + ], + [ + 546, + 18 + ], + [ + 551, + 7 + ], + [ + 561, + 8 + ], + [ + 579, + 8 + ], + [ + 584, + 19 + ], + [ + 595, + 13 + ], + [ + 603, + 25 + ], + [ + 606, + 28 + ], + [ + 609, + 23 + ], + [ + 617, + 18 + ], + [ + 625, + 9 + ], + [ + 641, + 11 + ], + [ + 644, + 22 + ] + ], + "doc": "Public: Represents a selection in the {Editor}. ", + "range": [ + [ + 6, + 0 + ], + [ + 647, + 45 + ] + ] + } + }, + "7": { + "10": { + "name": "cursor", + "type": "primitive", + "range": [ + [ + 7, + 10 + ], + [ + 7, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "8": { + "10": { + "name": "marker", + "type": "primitive", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "10": { + "name": "editor", + "type": "primitive", + "range": [ + [ + 9, + 10 + ], + [ + 9, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "22": { + "name": "initialScreenRange", + "type": "primitive", + "range": [ + [ + 10, + 22 + ], + [ + 10, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "11": { + "12": { + "name": "wordwise", + "type": "primitive", + "range": [ + [ + 11, + 12 + ], + [ + 11, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "19": { + "name": "needsAutoscroll", + "type": "primitive", + "range": [ + [ + 12, + 19 + ], + [ + 12, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 14, + 15 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 11 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "12": { + "name": "finalize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 12 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 19 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "11": { + "name": "isEmpty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 38, + 11 + ], + [ + 45, + 1 + ] + ], + "doc": "Public: Determines if the selection contains anything. " + } + }, + "45": { + "14": { + "name": "isReversed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 14 + ], + [ + 49, + 1 + ] + ], + "doc": " Public: Determines if the ending position of a marker is greater than the\nstarting position.\n\nThis can happen when, for example, you highlight text \"up\" in a {TextBuffer}. " + } + }, + "49": { + "22": { + "name": "isSingleScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 22 + ], + [ + 53, + 1 + ] + ], + "doc": "Public: Returns whether the selection is a single line or not. " + } + }, + "53": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 18 + ], + [ + 60, + 1 + ] + ], + "doc": "Public: Returns the screen {Range} for the selection. " + } + }, + "60": { + "18": { + "name": "setScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 60, + 18 + ], + [ + 64, + 1 + ] + ], + "doc": " Public: Modifies the screen range for the selection.\n\nscreenRange - The new {Range} to use.\noptions - A hash of options matching those found in {::setBufferRange}. " + } + }, + "64": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 18 + ], + [ + 74, + 1 + ] + ], + "doc": "Public: Returns the buffer {Range} for the selection. " + } + }, + "74": { + "18": { + "name": "setBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 74, + 18 + ], + [ + 91, + 1 + ] + ], + "doc": " Public: Modifies the buffer {Range} for the selection.\n\nscreenRange - The new {Range} to select.\noptions - An {Object} with the keys:\n :preserveFolds - if `true`, the fold settings are preserved after the\n selection moves.\n :autoscroll - if `true`, the {Editor} scrolls to the new selection. " + } + }, + "91": { + "21": { + "name": "getBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 21 + ], + [ + 98, + 1 + ] + ], + "doc": " Public: Returns the starting and ending buffer rows the selection is\nhighlighting.\n\nReturns an {Array} of two {Number}s: the starting row, and the ending row. " + } + }, + "98": { + "25": { + "name": "getTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 25 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "getTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 25 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "25": { + "name": "getHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 25 + ], + [ + 107, + 1 + ] + ], + "doc": "~Private~" + } + }, + "107": { + "25": { + "name": "getHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 25 + ], + [ + 110, + 1 + ] + ], + "doc": "~Private~" + } + }, + "110": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 14 + ], + [ + 114, + 1 + ] + ], + "doc": "~Private~" + } + }, + "114": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 114, + 11 + ], + [ + 118, + 1 + ] + ], + "doc": "Public: Returns the text in the selection. " + } + }, + "118": { + "9": { + "name": "clear", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 118, + 9 + ], + [ + 126, + 1 + ] + ], + "doc": "Public: Clears the selection, moving the marker to the head. " + } + }, + "126": { + "14": { + "name": "selectWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 14 + ], + [ + 138, + 1 + ] + ], + "doc": " Public: Modifies the selection to encompass the current word.\n\nReturns a {Range}. " + } + }, + "138": { + "18": { + "name": "expandOverWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 18 + ], + [ + 144, + 1 + ] + ], + "doc": " Public: Expands the newest selection to include the entire word on which\nthe cursors rests. " + } + }, + "144": { + "14": { + "name": "selectLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 144, + 14 + ], + [ + 155, + 1 + ] + ], + "doc": " Public: Selects an entire line in the buffer.\n\nrow - The line {Number} to select (default: the row of the cursor). " + } + }, + "155": { + "18": { + "name": "expandOverLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 155, + 18 + ], + [ + 163, + 1 + ] + ], + "doc": " Public: Expands the newest selection to include the entire line on which\nthe cursor currently rests.\n\nIt also includes the newline character. " + } + }, + "163": { + "26": { + "name": "selectToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 163, + 26 + ], + [ + 184, + 1 + ] + ], + "doc": " Public: Selects the text from the current cursor position to a given screen\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "184": { + "26": { + "name": "selectToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 184, + 26 + ], + [ + 188, + 1 + ] + ], + "doc": " Public: Selects the text from the current cursor position to a given buffer\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "188": { + "15": { + "name": "selectRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 15 + ], + [ + 192, + 1 + ] + ], + "doc": "Public: Selects the text one position right of the cursor. " + } + }, + "192": { + "14": { + "name": "selectLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 192, + 14 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Selects the text one position left of the cursor. " + } + }, + "196": { + "12": { + "name": "selectUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 196, + 12 + ], + [ + 200, + 1 + ] + ], + "doc": "Public: Selects all the text one position above the cursor. " + } + }, + "200": { + "14": { + "name": "selectDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 200, + 14 + ], + [ + 205, + 1 + ] + ], + "doc": "Public: Selects all the text one position below the cursor. " + } + }, + "205": { + "15": { + "name": "selectToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 205, + 15 + ], + [ + 210, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the top of\nthe buffer. " + } + }, + "210": { + "18": { + "name": "selectToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 18 + ], + [ + 214, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the bottom\nof the buffer. " + } + }, + "214": { + "13": { + "name": "selectAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 214, + 13 + ], + [ + 219, + 1 + ] + ], + "doc": "Public: Selects all the text in the buffer. " + } + }, + "219": { + "27": { + "name": "selectToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 219, + 27 + ], + [ + 224, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the line. " + } + }, + "224": { + "32": { + "name": "selectToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 32 + ], + [ + 229, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the first\ncharacter of the line. " + } + }, + "229": { + "21": { + "name": "selectToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 229, + 21 + ], + [ + 234, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the end of\nthe line. " + } + }, + "234": { + "27": { + "name": "selectToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 27 + ], + [ + 239, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the word. " + } + }, + "239": { + "21": { + "name": "selectToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 239, + 21 + ], + [ + 244, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the end of\nthe word. " + } + }, + "244": { + "31": { + "name": "selectToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 244, + 31 + ], + [ + 248, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next word. " + } + }, + "248": { + "32": { + "name": "selectToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 248, + 32 + ], + [ + 252, + 1 + ] + ], + "doc": "Public: Selects text to the previous word boundary. " + } + }, + "252": { + "28": { + "name": "selectToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 252, + 28 + ], + [ + 257, + 1 + ] + ], + "doc": "Public: Selects text to the next word boundary. " + } + }, + "257": { + "36": { + "name": "selectToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 257, + 36 + ], + [ + 262, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next paragraph. " + } + }, + "262": { + "40": { + "name": "selectToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 262, + 40 + ], + [ + 266, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the previous paragraph. " + } + }, + "266": { + "21": { + "name": "addSelectionBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 266, + 21 + ], + [ + 284, + 1 + ] + ], + "doc": "Public: Moves the selection down one row. " + } + }, + "284": { + "22": { + "name": "getGoalBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 22 + ], + [ + 289, + 1 + ] + ], + "doc": "FIXME: I have no idea what this does. " + } + }, + "289": { + "21": { + "name": "addSelectionAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 289, + 21 + ], + [ + 316, + 1 + ] + ], + "doc": "Public: Moves the selection up one row. " + } + }, + "316": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 316, + 14 + ], + [ + 349, + 1 + ] + ], + "doc": " Public: Replaces text at the current selection.\n\ntext - A {String} representing the text to add\noptions - An {Object} with keys:\n :select - if `true`, selects the newly added text.\n :autoIndent - if `true`, indents all inserted text appropriately.\n :autoIndentNewline - if `true`, indent newline appropriately.\n :autoDecreaseIndent - if `true`, decreases indent level appropriately\n (for example, when a closing bracket is inserted).\n :undo - if `skip`, skips the undo stack for this operation. " + } + }, + "349": { + "20": { + "name": "normalizeIndents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "indentBasis" + ], + "range": [ + [ + 349, + 20 + ], + [ + 383, + 1 + ] + ], + "doc": " Public: Indents the given text to the suggested level based on the grammar.\n\ntext - The {String} to indent within the selection.\nindentBasis - The beginning indent level. " + } + }, + "383": { + "10": { + "name": "indent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 383, + 10 + ], + [ + 399, + 1 + ] + ], + "doc": " Private: Indent the current line(s).\n\nIf the selection is empty, indents the current line if the cursor precedes\nnon-whitespace characters, and otherwise inserts a tab. If the selection is\nnon empty, calls {::indentSelectedRows}.\n\noptions - A {Object} with the keys:\n :autoIndent - If `true`, the line is indented to an automatically-inferred\n level. Otherwise, {Editor::getTabText} is inserted. " + } + }, + "399": { + "22": { + "name": "indentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 399, + 22 + ], + [ + 405, + 1 + ] + ], + "doc": "Public: If the selection spans multiple rows, indent all of them. " + } + }, + "405": { + "25": { + "name": "setIndentationForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line", + "indentLevel" + ], + "range": [ + [ + 405, + 25 + ], + [ + 412, + 1 + ] + ], + "doc": "Public: ? " + } + }, + "412": { + "13": { + "name": "backspace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 412, + 13 + ], + [ + 417, + 1 + ] + ], + "doc": " Public: Removes the first character before the selection if the selection\nis empty otherwise it deletes the selection. " + } + }, + "417": { + "30": { + "name": "backspaceToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 417, + 30 + ], + [ + 422, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " + } + }, + "422": { + "30": { + "name": "backspaceToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 422, + 30 + ], + [ + 428, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " + } + }, + "428": { + "27": { + "name": "deleteToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 27 + ], + [ + 434, + 1 + ] + ], + "doc": " Public: Removes from the start of the selection to the beginning of the\ncurrent word if the selection is empty otherwise it deletes the selection. " + } + }, + "434": { + "27": { + "name": "deleteToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 434, + 27 + ], + [ + 443, + 1 + ] + ], + "doc": " Public: Removes from the beginning of the line which the selection begins on\nall the way through to the end of the selection. " + } + }, + "443": { + "10": { + "name": "delete", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 443, + 10 + ], + [ + 455, + 1 + ] + ] + } + }, + "455": { + "21": { + "name": "deleteToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 455, + 21 + ], + [ + 462, + 1 + ] + ], + "doc": " Public: If the selection is empty, removes all text from the cursor to the\nend of the line. If the cursor is already at the end of the line, it\nremoves the following newline. If the selection isn't empty, only deletes\nthe contents of the selection. " + } + }, + "462": { + "21": { + "name": "deleteToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 462, + 21 + ], + [ + 467, + 1 + ] + ], + "doc": " Public: Removes the selection or all characters from the start of the\nselection to the end of the current word if nothing is selected. " + } + }, + "467": { + "22": { + "name": "deleteSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 467, + 22 + ], + [ + 477, + 1 + ] + ], + "doc": "Public: Removes only the selected text. " + } + }, + "477": { + "14": { + "name": "deleteLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 477, + 14 + ], + [ + 496, + 1 + ] + ], + "doc": " Public: Removes the line at the beginning of the selection if the selection\nis empty unless the selection spans multiple lines in which case all lines\nare removed. " + } + }, + "496": { + "13": { + "name": "joinLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 496, + 13 + ], + [ + 522, + 1 + ] + ], + "doc": " Public: Joins the current line with the one below it.\n\nIf there selection spans more than one line, all the lines are joined together. " + } + }, + "522": { + "23": { + "name": "outdentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 522, + 23 + ], + [ + 532, + 1 + ] + ], + "doc": "Public: Removes one level of indent from the currently selected rows. " + } + }, + "532": { + "26": { + "name": "autoIndentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 532, + 26 + ], + [ + 542, + 1 + ] + ], + "doc": " Public: Sets the indentation level of all selected rows to values suggested\nby the relevant grammars. " + } + }, + "542": { + "22": { + "name": "toggleLineComments", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 542, + 22 + ], + [ + 546, + 1 + ] + ], + "doc": " Public: Wraps the selected lines in comments if they aren't currently part\nof a comment.\n\nRemoves the comment if they are currently wrapped in a comment.\n\nReturns an Array of the commented {Range}s. " + } + }, + "546": { + "18": { + "name": "cutToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 546, + 18 + ], + [ + 551, + 1 + ] + ], + "doc": "Public: Cuts the selection until the end of the line. " + } + }, + "551": { + "7": { + "name": "cut", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 551, + 7 + ], + [ + 561, + 1 + ] + ], + "doc": "Public: Copies the selection to the clipboard and then deletes it. " + } + }, + "561": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 561, + 8 + ], + [ + 579, + 1 + ] + ], + "doc": " Public: Copies the current selection to the clipboard.\n\nIf the `maintainClipboard` is set to `true`, a specific metadata property\nis created to store each content copied to the clipboard. The clipboard\n`text` still contains the concatenation of the clipboard with the\ncurrent selection. " + } + }, + "579": { + "8": { + "name": "fold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 579, + 8 + ], + [ + 584, + 1 + ] + ], + "doc": "Public: Creates a fold containing the current selection. " + } + }, + "584": { + "19": { + "name": "modifySelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 584, + 19 + ], + [ + 595, + 1 + ] + ], + "doc": "~Private~" + } + }, + "595": { + "13": { + "name": "plantTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 595, + 13 + ], + [ + 603, + 1 + ] + ], + "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " + } + }, + "603": { + "25": { + "name": "intersectsBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 603, + 25 + ], + [ + 606, + 1 + ] + ], + "doc": " Public: Identifies if a selection intersects with a given buffer range.\n\nbufferRange - A {Range} to check against.\n\nReturns a Boolean. " + } + }, + "606": { + "28": { + "name": "intersectsScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 606, + 28 + ], + [ + 609, + 1 + ] + ], + "doc": "~Private~" + } + }, + "609": { + "23": { + "name": "intersectsScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 609, + 23 + ], + [ + 617, + 1 + ] + ], + "doc": "~Private~" + } + }, + "617": { + "18": { + "name": "intersectsWith", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection" + ], + "range": [ + [ + 617, + 18 + ], + [ + 625, + 1 + ] + ], + "doc": " Public: Identifies if a selection intersects with another selection.\n\notherSelection - A {Selection} to check against.\n\nReturns a Boolean. " + } + }, + "625": { + "9": { + "name": "merge", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection", + "options" + ], + "range": [ + [ + 625, + 9 + ], + [ + 641, + 1 + ] + ], + "doc": " Public: Combines the given selection into this selection and then destroys\nthe given selection.\n\notherSelection - A {Selection} to merge with.\noptions - A hash of options matching those found in {::setBufferRange}. " + } + }, + "641": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection" + ], + "range": [ + [ + 641, + 11 + ], + [ + 644, + 1 + ] + ], + "doc": " Public: Compare this selection's buffer range to another selection's buffer\nrange.\n\nSee {Range::compare} for more details.\n\notherSelection - A {Selection} to compare against. " + } + }, + "644": { + "22": { + "name": "screenRangeChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 644, + 22 + ], + [ + 647, + 45 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 6 + }, + "src/space-pen-extensions.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "1": { + "11": { + "name": "spacePen", + "type": "import", + "range": [ + [ + 1, + 11 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "space-pen" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "6": { + "9": { + "name": "spacePen", + "type": "primitive", + "range": [ + [ + 6, + 9 + ], + [ + 6, + 16 + ] + ] + } + }, + "7": { + "20": { + "name": "jQuery", + "type": "primitive", + "range": [ + [ + 7, + 20 + ], + [ + 7, + 25 + ] + ] + } + }, + "8": { + "19": { + "name": "jQuery.cleanData", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "elements" + ], + "range": [ + [ + 8, + 19 + ], + [ + 11, + 0 + ] + ], + "doc": null + } + }, + "13": { + "2": { + "type": "primitive", + "range": [ + [ + 13, + 2 + ], + [ + 19, + 19 + ] + ] + } + }, + "14": { + "4": { + "type": "primitive", + "range": [ + [ + 14, + 4 + ], + [ + 15, + 12 + ] + ] + }, + "10": { + "name": "1000", + "type": "primitive", + "range": [ + [ + 14, + 10 + ], + [ + 14, + 13 + ] + ] + } + }, + "15": { + "10": { + "name": "100", + "type": "primitive", + "range": [ + [ + 15, + 10 + ], + [ + 15, + 12 + ] + ] + } + }, + "16": { + "13": { + "name": "'body'", + "type": "primitive", + "range": [ + [ + 16, + 13 + ], + [ + 16, + 18 + ] + ] + } + }, + "17": { + "8": { + "type": "primitive", + "range": [ + [ + 17, + 8 + ], + [ + 17, + 11 + ] + ] + } + }, + "18": { + "13": { + "name": "'auto top'", + "type": "primitive", + "range": [ + [ + 18, + 13 + ], + [ + 18, + 22 + ] + ] + } + }, + "19": { + "19": { + "name": "2", + "type": "primitive", + "range": [ + [ + 19, + 19 + ], + [ + 19, + 19 + ] + ] + } + }, + "21": { + "21": { + "name": "humanizeKeystrokes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "keystroke" + ], + "range": [ + [ + 21, + 21 + ], + [ + 25, + 0 + ] + ], + "doc": "~Private~" + } + }, + "26": { + "15": { + "name": "getKeystroke", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bindings" + ], + "range": [ + [ + 26, + 15 + ], + [ + 31, + 0 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "26": { + "name": "requireBootstrapTooltip", + "type": "function", + "range": [ + [ + 32, + 26 + ], + [ + 35, + 59 + ] + ] + } + }, + "36": { + "23": { + "name": "jQuery.fn.setTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "tooltipOptions", + null + ], + "range": [ + [ + 36, + 23 + ], + [ + 49, + 0 + ] + ], + "doc": null + } + }, + "50": { + "24": { + "name": "jQuery.fn.hideTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 24 + ], + [ + 55, + 0 + ] + ], + "doc": null + } + }, + "56": { + "27": { + "name": "jQuery.fn.destroyTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 27 + ], + [ + 61, + 38 + ] + ], + "doc": null + } + }, + "68": { + "36": { + "name": "getKeystroke", + "type": "primitive", + "range": [ + [ + 68, + 36 + ], + [ + 68, + 47 + ] + ] + } + }, + "69": { + "42": { + "name": "humanizeKeystrokes", + "type": "primitive", + "range": [ + [ + 69, + 42 + ], + [ + 69, + 59 + ] + ] + } + }, + "71": { + "49": { + "name": "get", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 71, + 49 + ], + [ + 71, + 55 + ] + ], + "doc": null + } + } + }, + "exports": 73 + }, + "src/subscriber-mixin.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "1": { + "18": { + "type": "primitive", + "range": [ + [ + 1, + 18 + ], + [ + 1, + 55 + ] + ] + }, + "39": { + "name": "componentDidUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 1, + 39 + ], + [ + 1, + 55 + ] + ], + "doc": null + } + } + }, + "exports": 3 + }, + "src/syntax.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 11 + ] + ], + "bindingType": "variable", + "module": "clear-cut", + "name": "specificity", + "exportsProperty": "specificity" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 15 + ] + ], + "bindingType": "variable", + "module": "first-mate", + "name": "GrammarRegistry", + "exportsProperty": "GrammarRegistry" + }, + "18": { + "type": "import", + "range": [ + [ + 4, + 18 + ], + [ + 4, + 30 + ] + ], + "bindingType": "variable", + "module": "first-mate", + "name": "ScopeSelector", + "exportsProperty": "ScopeSelector" + } + }, + "5": { + "22": { + "name": "ScopedPropertyStore", + "type": "import", + "range": [ + [ + 5, + 22 + ], + [ + 5, + 52 + ] + ], + "bindingType": "variable", + "module": "scoped-property-store" + } + }, + "6": { + "20": { + "name": "PropertyAccessors", + "type": "import", + "range": [ + [ + 6, + 20 + ], + [ + 6, + 47 + ] + ], + "bindingType": "variable", + "module": "property-accessors" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 8, + 4 + ], + [ + 8, + 5 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + } + }, + "9": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 9, + 8 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "18": { + "0": { + "type": "class", + "name": "Syntax", + "bindingType": "exports", + "classProperties": [ + [ + 23, + 16 + ] + ], + "prototypeProperties": [ + [ + 28, + 15 + ], + [ + 32, + 13 + ], + [ + 35, + 15 + ], + [ + 42, + 17 + ], + [ + 49, + 20 + ], + [ + 52, + 19 + ], + [ + 67, + 15 + ], + [ + 75, + 22 + ], + [ + 84, + 32 + ] + ], + "doc": " Public: Syntax class holding the grammars used for tokenizing.\n\nAn instance of this class is always available as the `atom.syntax` global.\n\nThe Syntax class also contains properties for things such as the\nlanguage-specific comment regexes. ", + "range": [ + [ + 18, + 0 + ], + [ + 85, + 52 + ] + ] + } + }, + "23": { + "16": { + "name": "deserialize", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 23, + 16 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 15 + ], + [ + 32, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "13": { + "name": "serialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 32, + 13 + ], + [ + 35, + 1 + ] + ], + "doc": "~Private~" + } + }, + "35": { + "15": { + "name": "createToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "scopes" + ], + "range": [ + [ + 35, + 15 + ], + [ + 35, + 59 + ] + ], + "doc": "~Private~" + } + }, + "42": { + "17": { + "name": "addProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 42, + 17 + ], + [ + 49, + 1 + ] + ], + "doc": "~Private~" + } + }, + "49": { + "20": { + "name": "removeProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 49, + 20 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "19": { + "name": "clearProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 19 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "15": { + "name": "getProperty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scope", + "keyPath" + ], + "range": [ + [ + 67, + 15 + ], + [ + 75, + 1 + ] + ], + "doc": " Public: Get a property for the given scope and key path.\n\n## Example\n```coffee\ncomment = atom.syntax.getProperty(['.source.ruby'], 'editor.commentStart')\nconsole.log(comment) # '# '\n```\n\nscope - An {Array} of {String} scopes.\nkeyPath - A {String} key path.\n\nReturns a {String} property value or undefined. " + } + }, + "75": { + "22": { + "name": "propertiesForScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scope", + "keyPath" + ], + "range": [ + [ + 75, + 22 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "32": { + "name": "cssSelectorFromScopeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeSelector" + ], + "range": [ + [ + 84, + 32 + ], + [ + 85, + 52 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 18 + }, + "src/task-bootstrap.coffee": { + "objects": { + "0": { + "1": { + "type": "primitive", + "name": "userAgent", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "exportsProperty": "userAgent" + }, + "12": { + "type": "primitive", + "name": "taskPath", + "range": [ + [ + 0, + 12 + ], + [ + 0, + 19 + ] + ], + "exportsProperty": "taskPath" + } + }, + "3": { + "15": { + "name": "setupGlobals", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 3, + 15 + ], + [ + 28, + 0 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "15": { + "name": "handleEvents", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 15 + ], + [ + 42, + 0 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "10": { + "name": "handler", + "type": "import", + "range": [ + [ + 45, + 10 + ], + [ + 45, + 26 + ] + ], + "bindingType": "variable", + "module": "askPat" + } + } + }, + "exports": {} + }, + "src/task.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "1": { + "16": { + "name": "child_process", + "type": "import", + "range": [ + [ + 1, + 16 + ], + [ + 1, + 38 + ] + ], + "bindingType": "variable", + "module": "child_process", + "builtin": true + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "21": { + "0": { + "type": "class", + "name": "Task", + "bindingType": "exports", + "classProperties": [ + [ + 29, + 9 + ] + ], + "prototypeProperties": [ + [ + 41, + 12 + ], + [ + 47, + 15 + ], + [ + 73, + 16 + ], + [ + 82, + 9 + ], + [ + 95, + 8 + ], + [ + 102, + 13 + ] + ], + "doc": " Public: Run a node script in a separate process.\n\nUsed by the fuzzy-finder.\n\n## Events\n\n* task:log - Emitted when console.log is called within the task.\n* task:warn - Emitted when console.warn is called within the task.\n* task:error - Emitted when console.error is called within the task.\n* task:completed - Emitted when the task has succeeded or failed.\n\n## Requiring in packages\n\n```coffee\n {Task} = require 'atom'\n``` ", + "range": [ + [ + 21, + 0 + ], + [ + 109, + 10 + ] + ] + } + }, + "29": { + "9": { + "name": "once", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "taskPath", + "args" + ], + "range": [ + [ + 29, + 9 + ], + [ + 41, + 1 + ] + ], + "doc": " Public: A helper method to easily launch and run a task once.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file which\n exports a single {Function} to execute.\nargs - The arguments to pass to the exported function. " + } + }, + "41": { + "12": { + "name": "callback", + "type": "primitive", + "range": [ + [ + 41, + 12 + ], + [ + 41, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "47": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "taskPath" + ], + "range": [ + [ + 47, + 15 + ], + [ + 73, + 1 + ] + ], + "doc": " Public: Creates a task.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file that\n exports a single {Function} to execute. " + } + }, + "73": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 16 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Routes messages from the child to the appropriate event. " + } + }, + "82": { + "9": { + "name": "start", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args", + "callback" + ], + "range": [ + [ + 82, + 9 + ], + [ + 95, + 1 + ] + ], + "doc": " Public: Starts the task.\n\nargs - The arguments to pass to the function exported by this task's script.\ncallback - An optional {Function} to call when the task completes. " + } + }, + "95": { + "8": { + "name": "send", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 95, + 8 + ], + [ + 102, + 1 + ] + ], + "doc": " Public: Send message to the task.\n\nmessage - The message to send to the task. " + } + }, + "102": { + "13": { + "name": "terminate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 13 + ], + [ + 109, + 10 + ] + ], + "doc": " Public: Forcefully stop the running task.\n\nNo events are emitted. " + } + } + }, + "exports": 21 + }, + "src/text-utils.coffee": { + "objects": { + "0": { + "18": { + "name": "isHighSurrogate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 0, + 18 + ], + [ + 2, + 0 + ] + ], + "doc": "~Private~" + } + }, + "3": { + "17": { + "name": "isLowSurrogate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 3, + 17 + ], + [ + 11, + 21 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "18": { + "name": "isSurrogatePair", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 12, + 18 + ], + [ + 22, + 21 + ] + ], + "doc": " Private: Is the character at the given index the start of a high/low surrogate pair?\n\nstring - The {String} to check for a surrogate pair.\nindex - The {Number} index to look for a surrogate pair at.\n\nReturn a {Boolean}. " + } + }, + "23": { + "20": { + "name": "getCharacterCount", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 23, + 20 + ], + [ + 32, + 22 + ] + ], + "doc": " Private: Get the number of characters in the string accounting for surrogate pairs.\n\nThis method counts high/low surrogate pairs as a single character and will\nalways returns a value less than or equal to `string.length`.\n\nstring - The {String} to count the number of full characters in.\n\nReturns a {Number}. " + } + }, + "33": { + "19": { + "name": "hasSurrogatePair", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 33, + 19 + ], + [ + 35, + 0 + ] + ], + "doc": " Private: Does the given string contain at least one surrogate pair?\n\nstring - The {String} to check for the presence of surrogate pairs.\n\nReturns a {Boolean}. " + } + } + }, + "exports": 36 + }, + "src/theme-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "8": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "9": { + "1": { + "type": "import", + "range": [ + [ + 9, + 1 + ], + [ + 9, + 4 + ] + ], + "bindingType": "variable", + "module": "pathwatcher", + "name": "File", + "exportsProperty": "File" + } + }, + "15": { + "0": { + "type": "class", + "name": "ThemeManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 18, + 15 + ], + [ + 22, + 21 + ], + [ + 27, + 18 + ], + [ + 31, + 18 + ], + [ + 35, + 19 + ], + [ + 39, + 19 + ], + [ + 42, + 20 + ], + [ + 47, + 24 + ], + [ + 57, + 18 + ], + [ + 82, + 20 + ], + [ + 87, + 20 + ], + [ + 93, + 20 + ], + [ + 96, + 18 + ], + [ + 109, + 25 + ], + [ + 116, + 25 + ], + [ + 121, + 22 + ], + [ + 133, + 23 + ], + [ + 137, + 25 + ], + [ + 142, + 26 + ], + [ + 145, + 21 + ], + [ + 160, + 21 + ], + [ + 169, + 18 + ], + [ + 175, + 22 + ], + [ + 197, + 14 + ], + [ + 200, + 20 + ], + [ + 209, + 19 + ] + ], + "doc": " Public: Handles loading and activating available themes.\n\nAn instance of this class is always available as the `atom.themes` global. ", + "range": [ + [ + 15, + 0 + ], + [ + 222, + 31 + ] + ] + } + }, + "18": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 18, + 15 + ], + [ + 22, + 1 + ] + ], + "doc": "~Private~" + } + }, + "22": { + "21": { + "name": "getAvailableNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 22, + 21 + ], + [ + 27, + 1 + ] + ], + "doc": "~Private~" + } + }, + "27": { + "18": { + "name": "getLoadedNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 18 + ], + [ + 31, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded theme names. " + } + }, + "31": { + "18": { + "name": "getActiveNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 31, + 18 + ], + [ + 35, + 1 + ] + ], + "doc": "Public: Get an array of all the active theme names. " + } + }, + "35": { + "19": { + "name": "getActiveThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 35, + 19 + ], + [ + 39, + 1 + ] + ], + "doc": "Public: Get an array of all the active themes. " + } + }, + "39": { + "19": { + "name": "getLoadedThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 39, + 19 + ], + [ + 42, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded themes. " + } + }, + "42": { + "20": { + "name": "activatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "themePackages" + ], + "range": [ + [ + 42, + 20 + ], + [ + 42, + 55 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "24": { + "name": "getEnabledThemeNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 47, + 24 + ], + [ + 57, + 1 + ] + ], + "doc": " Private: Get the enabled theme names from the config.\n\nReturns an array of theme names in the order that they should be activated. " + } + }, + "57": { + "18": { + "name": "activateThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 18 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "20": { + "name": "deactivateThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 20 + ], + [ + 87, + 1 + ] + ], + "doc": "~Private~" + } + }, + "87": { + "20": { + "name": "refreshLessCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 87, + 20 + ], + [ + 93, + 1 + ] + ], + "doc": "~Private~" + } + }, + "93": { + "20": { + "name": "setEnabledThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "enabledThemeNames" + ], + "range": [ + [ + 93, + 20 + ], + [ + 96, + 1 + ] + ], + "doc": " Public: Set the list of enabled themes.\n\nenabledThemeNames - An {Array} of {String} theme names. " + } + }, + "96": { + "18": { + "name": "getImportPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 18 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "25": { + "name": "getUserStylesheetPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 25 + ], + [ + 116, + 1 + ] + ], + "doc": "Public: Returns the {String} path to the user's stylesheet under ~/.atom " + } + }, + "116": { + "25": { + "name": "unwatchUserStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 25 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "22": { + "name": "loadUserStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 121, + 22 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "23": { + "name": "loadBaseStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 23 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "25": { + "name": "reloadBaseStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 25 + ], + [ + 142, + 1 + ] + ], + "doc": "~Private~" + } + }, + "142": { + "26": { + "name": "stylesheetElementForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id", + "htmlElement" + ], + "range": [ + [ + 142, + 26 + ], + [ + 145, + 1 + ] + ], + "doc": "~Private~" + } + }, + "145": { + "21": { + "name": "resolveStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 145, + 21 + ], + [ + 160, + 1 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "21": { + "name": "requireStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "type", + "htmlElement" + ], + "range": [ + [ + 160, + 21 + ], + [ + 169, + 1 + ] + ], + "doc": " Public: Resolve and apply the stylesheet specified by the path.\n\nThis supports both CSS and LESS stylsheets.\n\nstylesheetPath - A {String} path to the stylesheet that can be an absolute\n path or a relative path that will be resolved against the\n load path.\n\nReturns the absolute path to the required stylesheet. " + } + }, + "169": { + "18": { + "name": "loadStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "importFallbackVariables" + ], + "range": [ + [ + 169, + 18 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "22": { + "name": "loadLessStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lessStylesheetPath", + "importFallbackVariables" + ], + "range": [ + [ + 175, + 22 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "14": { + "name": "stringToId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 197, + 14 + ], + [ + 200, + 1 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "20": { + "name": "removeStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 200, + 20 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "19": { + "name": "applyStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "text", + "type", + "htmlElement" + ], + "range": [ + [ + 209, + 19 + ], + [ + 222, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 15 + }, + "src/theme-package.coffee": { + "objects": { + "0": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "1": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 1, + 10 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "4": { + "0": { + "type": "class", + "name": "ThemePackage", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 5, + 11 + ], + [ + 7, + 21 + ], + [ + 9, + 10 + ], + [ + 12, + 11 + ], + [ + 15, + 8 + ], + [ + 23, + 12 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 31, + 31 + ] + ] + } + }, + "5": { + "11": { + "name": "getType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 11 + ], + [ + 5, + 20 + ] + ] + } + }, + "7": { + "21": { + "name": "getStylesheetType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 7, + 21 + ], + [ + 7, + 30 + ] + ], + "doc": "~Private~" + } + }, + "9": { + "10": { + "name": "enable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 10 + ], + [ + 12, + 1 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "11": { + "name": "disable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 12, + 11 + ], + [ + 15, + 1 + ] + ], + "doc": "~Private~" + } + }, + "15": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 15, + 8 + ], + [ + 23, + 1 + ] + ], + "doc": "~Private~" + } + }, + "23": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 23, + 12 + ], + [ + 31, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/token.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "1": { + "12": { + "name": "textUtils", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 33 + ] + ], + "bindingType": "variable", + "path": "./text-utils" + } + }, + "3": { + "31": { + "type": "primitive", + "range": [ + [ + 3, + 31 + ], + [ + 3, + 32 + ] + ] + } + }, + "4": { + "20": { + "name": "/^[ ]+/", + "type": "primitive", + "range": [ + [ + 4, + 20 + ], + [ + 4, + 26 + ] + ] + } + }, + "5": { + "21": { + "name": "/[ ]+$/", + "type": "primitive", + "range": [ + [ + 5, + 21 + ], + [ + 5, + 27 + ] + ] + } + }, + "6": { + "14": { + "name": "/[&\"'<>]/g", + "type": "primitive", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 23 + ] + ] + } + }, + "7": { + "17": { + "name": "/./g", + "type": "primitive", + "range": [ + [ + 7, + 17 + ], + [ + 7, + 20 + ] + ] + } + }, + "8": { + "22": { + "name": "/^./", + "type": "primitive", + "range": [ + [ + 8, + 22 + ], + [ + 8, + 25 + ] + ] + } + }, + "9": { + "16": { + "name": "/^\\.?/", + "type": "primitive", + "range": [ + [ + 9, + 16 + ], + [ + 9, + 21 + ] + ] + } + }, + "10": { + "18": { + "name": "/\\S/", + "type": "primitive", + "range": [ + [ + 10, + 18 + ], + [ + 10, + 21 + ] + ] + } + }, + "12": { + "17": { + "name": "20000", + "type": "primitive", + "range": [ + [ + 12, + 17 + ], + [ + 12, + 21 + ] + ] + } + }, + "16": { + "0": { + "type": "class", + "name": "Token", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 9 + ], + [ + 18, + 20 + ], + [ + 19, + 10 + ], + [ + 20, + 12 + ], + [ + 21, + 13 + ], + [ + 22, + 24 + ], + [ + 23, + 25 + ], + [ + 25, + 15 + ], + [ + 30, + 11 + ], + [ + 33, + 13 + ], + [ + 36, + 11 + ], + [ + 41, + 31 + ], + [ + 44, + 24 + ], + [ + 86, + 26 + ], + [ + 106, + 27 + ], + [ + 113, + 21 + ], + [ + 116, + 21 + ], + [ + 119, + 17 + ], + [ + 129, + 20 + ], + [ + 132, + 24 + ], + [ + 138, + 18 + ], + [ + 185, + 16 + ], + [ + 194, + 23 + ] + ], + "doc": "Private: Represents a single unit of text as selected by a grammar. ", + "range": [ + [ + 16, + 0 + ], + [ + 201, + 16 + ] + ] + } + }, + "17": { + "9": { + "name": "value", + "type": "primitive", + "range": [ + [ + 17, + 9 + ], + [ + 17, + 12 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "20": { + "name": "hasSurrogatePair", + "type": "primitive", + "range": [ + [ + 18, + 20 + ], + [ + 18, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "10": { + "name": "scopes", + "type": "primitive", + "range": [ + [ + 19, + 10 + ], + [ + 19, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "20": { + "12": { + "name": "isAtomic", + "type": "primitive", + "range": [ + [ + 20, + 12 + ], + [ + 20, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "13": { + "name": "isHardTab", + "type": "primitive", + "range": [ + [ + 21, + 13 + ], + [ + 21, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "22": { + "24": { + "name": "hasLeadingWhitespace", + "type": "primitive", + "range": [ + [ + 22, + 24 + ], + [ + 22, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "23": { + "25": { + "name": "hasTrailingWhitespace", + "type": "primitive", + "range": [ + [ + 23, + 25 + ], + [ + 23, + 29 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "25": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 25, + 15 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "isEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 30, + 11 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "13": { + "name": "isBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 33, + 13 + ], + [ + 36, + 1 + ] + ], + "doc": "~Private~" + } + }, + "36": { + "11": { + "name": "splitAt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "splitIndex" + ], + "range": [ + [ + 36, + 11 + ], + [ + 41, + 1 + ] + ], + "doc": "~Private~" + } + }, + "41": { + "31": { + "name": "whitespaceRegexForTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 41, + 31 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "24": { + "name": "breakOutAtomicTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "breakOutLeadingSoftTabs", + "startColumn" + ], + "range": [ + [ + 44, + 24 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "26": { + "name": "breakOutSurrogatePairs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 26 + ], + [ + 106, + 1 + ] + ], + "doc": "~Private~" + } + }, + "106": { + "27": { + "name": "buildSurrogatePairToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "index" + ], + "range": [ + [ + 106, + 27 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "21": { + "name": "buildHardTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "column" + ], + "range": [ + [ + 113, + 21 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "21": { + "name": "buildSoftTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 116, + 21 + ], + [ + 119, + 1 + ] + ], + "doc": "~Private~" + } + }, + "119": { + "17": { + "name": "buildTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "isHardTab", + "column" + ], + "range": [ + [ + 119, + 17 + ], + [ + 129, + 1 + ] + ], + "doc": "~Private~" + } + }, + "129": { + "20": { + "name": "isOnlyWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 129, + 20 + ], + [ + 132, + 1 + ] + ], + "doc": "~Private~" + } + }, + "132": { + "24": { + "name": "matchesScopeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 132, + 24 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "18": { + "name": "getValueAsHtml", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 138, + 18 + ], + [ + 185, + 1 + ] + ], + "doc": "~Private~" + } + }, + "185": { + "16": { + "name": "escapeString", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "str", + "startIndex", + "endIndex" + ], + "range": [ + [ + 185, + 16 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "23": { + "name": "escapeStringReplace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "match" + ], + "range": [ + [ + 194, + 23 + ], + [ + 201, + 16 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 16 + }, + "src/tokenized-buffer.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "3": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "4": { + "16": { + "name": "TokenizedLine", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 41 + ] + ], + "bindingType": "variable", + "path": "./tokenized-line" + } + }, + "5": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "8": { + "0": { + "type": "class", + "name": "TokenizedBuffer", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 11 + ], + [ + 14, + 23 + ], + [ + 15, + 10 + ], + [ + 16, + 18 + ], + [ + 17, + 13 + ], + [ + 18, + 15 + ], + [ + 19, + 11 + ], + [ + 21, + 15 + ], + [ + 48, + 19 + ], + [ + 52, + 21 + ], + [ + 56, + 14 + ], + [ + 64, + 17 + ], + [ + 70, + 23 + ], + [ + 76, + 23 + ], + [ + 82, + 14 + ], + [ + 88, + 16 + ], + [ + 94, + 16 + ], + [ + 96, + 24 + ], + [ + 103, + 21 + ], + [ + 133, + 19 + ], + [ + 136, + 15 + ], + [ + 139, + 17 + ], + [ + 144, + 21 + ], + [ + 153, + 22 + ], + [ + 173, + 48 + ], + [ + 183, + 30 + ], + [ + 200, + 41 + ], + [ + 203, + 39 + ], + [ + 210, + 37 + ], + [ + 220, + 20 + ], + [ + 225, + 22 + ], + [ + 228, + 15 + ], + [ + 231, + 21 + ], + [ + 257, + 22 + ], + [ + 266, + 21 + ], + [ + 269, + 20 + ], + [ + 273, + 33 + ], + [ + 278, + 33 + ], + [ + 299, + 30 + ], + [ + 314, + 39 + ], + [ + 329, + 22 + ], + [ + 344, + 22 + ], + [ + 362, + 14 + ], + [ + 365, + 16 + ], + [ + 368, + 12 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 371, + 40 + ] + ] + } + }, + "13": { + "11": { + "name": "grammar", + "type": "primitive", + "range": [ + [ + 13, + 11 + ], + [ + 13, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "23": { + "name": "currentGrammarScore", + "type": "primitive", + "range": [ + [ + 14, + 23 + ], + [ + 14, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "15": { + "10": { + "name": "buffer", + "type": "primitive", + "range": [ + [ + 15, + 10 + ], + [ + 15, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "18": { + "name": "tokenizedLines", + "type": "primitive", + "range": [ + [ + 16, + 18 + ], + [ + 16, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "17": { + "13": { + "name": "chunkSize", + "type": "primitive", + "range": [ + [ + 17, + 13 + ], + [ + 17, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "15": { + "name": "invalidRows", + "type": "primitive", + "range": [ + [ + 18, + 15 + ], + [ + 18, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 19, + 11 + ], + [ + 19, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 21, + 15 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 19 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 52, + 21 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar", + "score" + ], + "range": [ + [ + 56, + 14 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 17 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "23": { + "name": "hasTokenForSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 70, + 23 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "23": { + "name": "resetTokenizedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 23 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 82, + 14 + ], + [ + 88, + 1 + ] + ], + "doc": "~Private~" + } + }, + "88": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 16 + ], + [ + 94, + 1 + ] + ], + "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " + } + }, + "94": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 94, + 16 + ], + [ + 94, + 30 + ] + ], + "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " + } + }, + "96": { + "24": { + "name": "tokenizeInBackground", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 24 + ], + [ + 103, + 1 + ] + ], + "doc": "~Private~" + } + }, + "103": { + "21": { + "name": "tokenizeNextChunk", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 103, + 21 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "19": { + "name": "firstInvalidRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 19 + ], + [ + 136, + 1 + ] + ], + "doc": "~Private~" + } + }, + "136": { + "15": { + "name": "validateRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 136, + 15 + ], + [ + 139, + 1 + ] + ], + "doc": "~Private~" + } + }, + "139": { + "17": { + "name": "invalidateRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 139, + 17 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "21": { + "name": "updateInvalidRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end", + "delta" + ], + "range": [ + [ + 144, + 21 + ], + [ + 153, + 1 + ] + ], + "doc": "~Private~" + } + }, + "153": { + "22": { + "name": "handleBufferChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 153, + 22 + ], + [ + 173, + 1 + ] + ], + "doc": "~Private~" + } + }, + "173": { + "48": { + "name": "retokenizeWhitespaceRowsIfIndentLevelChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "increment" + ], + "range": [ + [ + 173, + 48 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "30": { + "name": "buildTokenizedLinesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow", + "startingStack" + ], + "range": [ + [ + 183, + 30 + ], + [ + 200, + 1 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "41": { + "name": "buildPlaceholderTokenizedLinesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 200, + 41 + ], + [ + 203, + 1 + ] + ], + "doc": "~Private~" + } + }, + "203": { + "39": { + "name": "buildPlaceholderTokenizedLineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 203, + 39 + ], + [ + 210, + 1 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "37": { + "name": "buildTokenizedTokenizedLineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "ruleStack" + ], + "range": [ + [ + 210, + 37 + ], + [ + 220, + 1 + ] + ], + "doc": "~Private~" + } + }, + "220": { + "20": { + "name": "lineForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 220, + 20 + ], + [ + 225, + 1 + ] + ], + "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " + } + }, + "225": { + "22": { + "name": "linesForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 225, + 22 + ], + [ + 228, + 1 + ] + ], + "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " + } + }, + "228": { + "15": { + "name": "stackForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 228, + 15 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "21": { + "name": "indentLevelForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 231, + 21 + ], + [ + 257, + 1 + ] + ], + "doc": "~Private~" + } + }, + "257": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 257, + 22 + ], + [ + 266, + 1 + ] + ], + "doc": "~Private~" + } + }, + "266": { + "21": { + "name": "scopesForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 266, + 21 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "20": { + "name": "tokenForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 269, + 20 + ], + [ + 273, + 1 + ] + ], + "doc": "~Private~" + } + }, + "273": { + "33": { + "name": "tokenStartPositionForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 273, + 33 + ], + [ + 278, + 1 + ] + ], + "doc": "~Private~" + } + }, + "278": { + "33": { + "name": "bufferRangeForScopeAtPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "position" + ], + "range": [ + [ + 278, + 33 + ], + [ + 299, + 1 + ] + ], + "doc": "~Private~" + } + }, + "299": { + "30": { + "name": "iterateTokensInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "iterator" + ], + "range": [ + [ + 299, + 30 + ], + [ + 314, + 1 + ] + ], + "doc": "~Private~" + } + }, + "314": { + "39": { + "name": "backwardsIterateTokensInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "iterator" + ], + "range": [ + [ + 314, + 39 + ], + [ + 329, + 1 + ] + ], + "doc": "~Private~" + } + }, + "329": { + "22": { + "name": "findOpeningBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferPosition" + ], + "range": [ + [ + 329, + 22 + ], + [ + 344, + 1 + ] + ], + "doc": "~Private~" + } + }, + "344": { + "22": { + "name": "findClosingBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferPosition" + ], + "range": [ + [ + 344, + 22 + ], + [ + 362, + 1 + ] + ], + "doc": "~Private~" + } + }, + "362": { + "14": { + "name": "getLastRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 362, + 14 + ], + [ + 365, + 1 + ] + ], + "doc": " Private: Gets the row number of the last line.\n\nReturns a {Number}. " + } + }, + "365": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 365, + 16 + ], + [ + 368, + 1 + ] + ], + "doc": "~Private~" + } + }, + "368": { + "12": { + "name": "logLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 368, + 12 + ], + [ + 371, + 40 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/tokenized-line.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "2": { + "12": { + "name": "1", + "type": "primitive", + "range": [ + [ + 2, + 12 + ], + [ + 2, + 12 + ] + ] + } + }, + "5": { + "0": { + "type": "class", + "name": "TokenizedLine", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 6, + 15 + ], + [ + 15, + 13 + ], + [ + 20, + 20 + ], + [ + 25, + 8 + ], + [ + 28, + 20 + ], + [ + 47, + 31 + ], + [ + 57, + 31 + ], + [ + 66, + 22 + ], + [ + 72, + 22 + ], + [ + 75, + 14 + ], + [ + 102, + 17 + ], + [ + 105, + 23 + ], + [ + 108, + 28 + ], + [ + 115, + 35 + ], + [ + 123, + 24 + ], + [ + 134, + 42 + ], + [ + 145, + 13 + ], + [ + 154, + 20 + ], + [ + 162, + 16 + ], + [ + 165, + 17 + ], + [ + 168, + 24 + ], + [ + 174, + 16 + ], + [ + 186, + 20 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 199, + 0 + ] + ] + } + }, + "6": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 6, + 15 + ], + [ + 15, + 1 + ] + ] + } + }, + "15": { + "13": { + "name": "buildText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 15, + 13 + ], + [ + 20, + 1 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "20": { + "name": "buildBufferDelta", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 20 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 8 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "20": { + "name": "clipScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "column", + "options" + ], + "range": [ + [ + 28, + 20 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "31": { + "name": "screenColumnForBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn", + "options" + ], + "range": [ + [ + 47, + 31 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "31": { + "name": "bufferColumnForScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenColumn", + "options" + ], + "range": [ + [ + 57, + 31 + ], + [ + 66, + 1 + ] + ], + "doc": "~Private~" + } + }, + "66": { + "22": { + "name": "getMaxScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 66, + 22 + ], + [ + 72, + 1 + ] + ], + "doc": "~Private~" + } + }, + "72": { + "22": { + "name": "getMaxBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 72, + 22 + ], + [ + 75, + 1 + ] + ], + "doc": "~Private~" + } + }, + "75": { + "14": { + "name": "softWrapAt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "column" + ], + "range": [ + [ + 75, + 14 + ], + [ + 102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "102": { + "17": { + "name": "isSoftWrapped", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 17 + ], + [ + 105, + 1 + ] + ], + "doc": "~Private~" + } + }, + "105": { + "23": { + "name": "tokenAtBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 105, + 23 + ], + [ + 108, + 1 + ] + ], + "doc": "~Private~" + } + }, + "108": { + "28": { + "name": "tokenIndexAtBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 108, + 28 + ], + [ + 115, + 1 + ] + ], + "doc": "~Private~" + } + }, + "115": { + "35": { + "name": "tokenStartColumnForBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 115, + 35 + ], + [ + 123, + 1 + ] + ], + "doc": "~Private~" + } + }, + "123": { + "24": { + "name": "breakOutAtomicTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "inputTokens" + ], + "range": [ + [ + 123, + 24 + ], + [ + 134, + 1 + ] + ], + "doc": "~Private~" + } + }, + "134": { + "42": { + "name": "markLeadingAndTrailingWhitespaceTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 134, + 42 + ], + [ + 145, + 1 + ] + ], + "doc": "~Private~" + } + }, + "145": { + "13": { + "name": "isComment", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 145, + 13 + ], + [ + 154, + 1 + ] + ], + "doc": "~Private~" + } + }, + "154": { + "20": { + "name": "isOnlyWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 20 + ], + [ + 162, + 1 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "16": { + "name": "tokenAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 162, + 16 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "17": { + "name": "getTokenCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 17 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "24": { + "name": "bufferColumnForToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetToken" + ], + "range": [ + [ + 168, + 24 + ], + [ + 174, + 1 + ] + ], + "doc": "~Private~" + } + }, + "174": { + "16": { + "name": "getScopeTree", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 174, + 16 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "20": { + "name": "updateScopeStack", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 186, + 20 + ], + [ + 199, + 0 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "0": { + "type": "class", + "name": "Scope", + "classProperties": [], + "prototypeProperties": [ + [ + 201, + 15 + ] + ], + "doc": "~Private~", + "range": [ + [ + 200, + 0 + ], + [ + 202, + 18 + ] + ] + } + }, + "201": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 201, + 15 + ], + [ + 202, + 18 + ] + ] + } + } + }, + "exports": 5 + }, + "src/window-bootstrap.coffee": { + "objects": { + "1": { + "12": { + "name": "startTime", + "type": "function", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 21 + ] + ] + } + }, + "5": { + "7": { + "name": "Atom", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "path": "./atom" + } + }, + "6": { + "14": { + "name": "window.atom", + "type": "function", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 40 + ] + ] + } + } + }, + "exports": {} + }, + "src/window-event-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "2": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "3": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 3, + 8 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2" + } + }, + "9": { + "0": { + "type": "class", + "name": "WindowEventHandler", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 81, + 27 + ], + [ + 96, + 13 + ], + [ + 100, + 12 + ], + [ + 106, + 25 + ], + [ + 116, + 13 + ], + [ + 137, + 17 + ] + ], + "doc": "Private: Handles low-level events related to the window. ", + "range": [ + [ + 9, + 0 + ], + [ + 156, + 28 + ] + ] + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 12, + 15 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "27": { + "name": "handleNativeKeybindings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 81, + 27 + ], + [ + 96, + 1 + ] + ], + "doc": " Private: Wire commands that should be handled by the native menu\nfor elements with the `.native-key-bindings` class. " + } + }, + "96": { + "13": { + "name": "onKeydown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 96, + 13 + ], + [ + 100, + 1 + ] + ], + "doc": "~Private~" + } + }, + "100": { + "12": { + "name": "openLink", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 100, + 12 + ], + [ + 106, + 1 + ] + ], + "doc": "~Private~" + } + }, + "106": { + "25": { + "name": "eachTabIndexedElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 106, + 25 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "13": { + "name": "focusNext", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 13 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "17": { + "name": "focusPrevious", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 17 + ], + [ + 156, + 28 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 9 + }, + "src/window.coffee": { + "objects": { + "7": { + "17": { + "name": "window.measure", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "description", + "fn" + ], + "range": [ + [ + 7, + 17 + ], + [ + 20, + 51 + ] + ], + "doc": null + } + }, + "21": { + "17": { + "name": "window.profile", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "description", + "fn" + ], + "range": [ + [ + 21, + 17 + ], + [ + 26, + 9 + ] + ], + "doc": null + } + } + }, + "exports": {} + }, + "src/workspace-view.coffee": { + "objects": { + "0": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "4": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 4, + 12 + ], + [ + 4, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + }, + "12": { + "type": "import", + "range": [ + [ + 5, + 12 + ], + [ + 5, + 33 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "logDeprecationWarnings", + "exportsProperty": "logDeprecationWarnings" + } + }, + "6": { + "17": { + "name": "scrollbarStyle", + "type": "import", + "range": [ + [ + 6, + 17 + ], + [ + 6, + 41 + ] + ], + "bindingType": "variable", + "module": "scrollbar-style" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 5 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + }, + "8": { + "type": "import", + "range": [ + [ + 7, + 8 + ], + [ + 7, + 11 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "8": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 8, + 5 + ], + [ + 8, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2" + } + }, + "9": { + "12": { + "name": "Workspace", + "type": "import", + "range": [ + [ + 9, + 12 + ], + [ + 9, + 32 + ] + ], + "bindingType": "variable", + "path": "./workspace" + } + }, + "10": { + "19": { + "name": "CommandInstaller", + "type": "import", + "range": [ + [ + 10, + 19 + ], + [ + 10, + 47 + ] + ], + "bindingType": "variable", + "path": "./command-installer" + } + }, + "11": { + "13": { + "name": "EditorView", + "type": "import", + "range": [ + [ + 11, + 13 + ], + [ + 11, + 35 + ] + ], + "bindingType": "variable", + "path": "./editor-view" + } + }, + "12": { + "11": { + "name": "PaneView", + "type": "import", + "range": [ + [ + 12, + 11 + ], + [ + 12, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-view" + } + }, + "13": { + "17": { + "name": "PaneColumnView", + "type": "import", + "range": [ + [ + 13, + 17 + ], + [ + 13, + 44 + ] + ], + "bindingType": "variable", + "path": "./pane-column-view" + } + }, + "14": { + "14": { + "name": "PaneRowView", + "type": "import", + "range": [ + [ + 14, + 14 + ], + [ + 14, + 38 + ] + ], + "bindingType": "variable", + "path": "./pane-row-view" + } + }, + "15": { + "20": { + "name": "PaneContainerView", + "type": "import", + "range": [ + [ + 15, + 20 + ], + [ + 15, + 50 + ] + ], + "bindingType": "variable", + "path": "./pane-container-view" + } + }, + "16": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 16, + 9 + ], + [ + 16, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "55": { + "0": { + "type": "class", + "name": "WorkspaceView", + "bindingType": "exports", + "classProperties": [ + [ + 63, + 12 + ], + [ + 66, + 4 + ], + [ + 75, + 12 + ] + ], + "prototypeProperties": [ + [ + 81, + 14 + ], + [ + 168, + 12 + ], + [ + 171, + 24 + ], + [ + 191, + 15 + ], + [ + 205, + 15 + ], + [ + 209, + 16 + ], + [ + 213, + 15 + ], + [ + 223, + 12 + ], + [ + 233, + 18 + ], + [ + 238, + 16 + ], + [ + 242, + 15 + ], + [ + 247, + 19 + ], + [ + 252, + 18 + ], + [ + 257, + 17 + ], + [ + 262, + 16 + ], + [ + 267, + 18 + ], + [ + 272, + 17 + ], + [ + 281, + 21 + ], + [ + 287, + 17 + ], + [ + 291, + 25 + ], + [ + 294, + 21 + ], + [ + 297, + 22 + ], + [ + 300, + 22 + ], + [ + 303, + 23 + ], + [ + 306, + 24 + ], + [ + 315, + 16 + ], + [ + 325, + 16 + ], + [ + 336, + 18 + ], + [ + 344, + 16 + ], + [ + 347, + 21 + ], + [ + 350, + 23 + ], + [ + 353, + 23 + ], + [ + 356, + 18 + ], + [ + 368, + 12 + ], + [ + 373, + 12 + ], + [ + 378, + 17 + ], + [ + 383, + 21 + ] + ], + "doc": " Public: The top-level view for the entire window. An instance of this class is\navailable via the `atom.workspaceView` global.\n\nIt is backed by a model object, an instance of {Workspace}, which is available\nvia the `atom.workspace` global or {::getModel}. You should prefer to interact\nwith the model object when possible, but it won't always be possible with the\ncurrent API.\n\n## Adding Perimeter Panels\n\nUse the following methods if possible to attach panels to the perimeter of the\nworkspace rather than manipulating the DOM directly to better insulate you to\nchanges in the workspace markup:\n\n* {::prependToTop}\n* {::appendToTop}\n* {::prependToBottom}\n* {::appendToBottom}\n* {::prependToLeft}\n* {::appendToLeft}\n* {::prependToRight}\n* {::appendToRight}\n\n## Requiring in package specs\n\nIf you need a `WorkspaceView` instance to test your package, require it via\nthe built-in `atom` module.\n\n```coffee\n {WorkspaceView} = require 'atom'\n```\n\nYou can assign it to the `atom.workspaceView` global in the spec or just use\nit as a local, depending on what you're trying to accomplish. Building the\n`WorkspaceView` is currently expensive, so you should try build a {Workspace}\ninstead if possible. ", + "range": [ + [ + 55, + 0 + ], + [ + 385, + 25 + ] + ] + } + }, + "63": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 63, + 12 + ], + [ + 63, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "66": { + "4": { + "name": "configDefaults", + "type": "primitive", + "range": [ + [ + 66, + 4 + ], + [ + 73, + 23 + ] + ], + "bindingType": "classProperty" + } + }, + "75": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 75, + 12 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 81, + 14 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 12 + ], + [ + 168, + 20 + ] + ], + "doc": " Public: Get the underlying model object.\n\nReturns a {Workspace}. " + } + }, + "171": { + "24": { + "name": "installShellCommands", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 24 + ], + [ + 191, + 1 + ] + ], + "doc": "Public: Install the Atom shell commands on the user's system. " + } + }, + "191": { + "15": { + "name": "handleFocus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 191, + 15 + ], + [ + 205, + 1 + ] + ], + "doc": "~Private~" + } + }, + "205": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 205, + 15 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "16": { + "name": "confirmClose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 209, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": "Private: Prompts to save all unsaved items " + } + }, + "213": { + "15": { + "name": "updateTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 15 + ], + [ + 223, + 1 + ] + ], + "doc": "Private: Updates the application's title, based on whichever file is open. " + } + }, + "223": { + "12": { + "name": "setTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "title" + ], + "range": [ + [ + 223, + 12 + ], + [ + 233, + 1 + ] + ], + "doc": "Private: Sets the application's title. " + } + }, + "233": { + "18": { + "name": "getEditorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 233, + 18 + ], + [ + 238, + 1 + ] + ], + "doc": " Private: Get all editor views.\n\nYou should prefer {Workspace::getEditors} unless you absolutely need access\nto the view objects. Also consider using {::eachEditorView}, which will call\na callback for all current and *future* editor views.\n\nReturns an {Array} of {EditorView}s. " + } + }, + "238": { + "16": { + "name": "prependToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 238, + 16 + ], + [ + 242, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the top of the\nworkspace. " + } + }, + "242": { + "15": { + "name": "appendToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 242, + 15 + ], + [ + 247, + 1 + ] + ], + "doc": "Public: Append an element or view to the panels at the top of the workspace. " + } + }, + "247": { + "19": { + "name": "prependToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 247, + 19 + ], + [ + 252, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the bottom of the\nworkspace. " + } + }, + "252": { + "18": { + "name": "appendToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 252, + 18 + ], + [ + 257, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the bottom of the\nworkspace. " + } + }, + "257": { + "17": { + "name": "prependToLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 257, + 17 + ], + [ + 262, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the left of the\nworkspace. " + } + }, + "262": { + "16": { + "name": "appendToLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 262, + 16 + ], + [ + 267, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the left of the\nworkspace. " + } + }, + "267": { + "18": { + "name": "prependToRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 267, + 18 + ], + [ + 272, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the right of the\nworkspace. " + } + }, + "272": { + "17": { + "name": "appendToRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 272, + 17 + ], + [ + 281, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the right of the\nworkspace. " + } + }, + "281": { + "21": { + "name": "getActivePaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 281, + 21 + ], + [ + 287, + 1 + ] + ], + "doc": " Public: Get the active pane view.\n\nPrefer {Workspace::getActivePane} if you don't actually need access to the\nview.\n\nReturns a {PaneView}. " + } + }, + "287": { + "17": { + "name": "getActiveView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 287, + 17 + ], + [ + 291, + 1 + ] + ], + "doc": " Public: Get the view associated with the active pane item.\n\nReturns a view. " + } + }, + "291": { + "25": { + "name": "focusPreviousPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 291, + 25 + ], + [ + 291, + 56 + ] + ], + "doc": "Private: Focus the previous pane by id. " + } + }, + "294": { + "21": { + "name": "focusNextPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 294, + 21 + ], + [ + 294, + 48 + ] + ], + "doc": "Private: Focus the next pane by id. " + } + }, + "297": { + "22": { + "name": "focusPaneViewAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 22 + ], + [ + 297, + 51 + ] + ], + "doc": "Public: Focus the pane directly above the active pane. " + } + }, + "300": { + "22": { + "name": "focusPaneViewBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 300, + 22 + ], + [ + 300, + 51 + ] + ], + "doc": "Public: Focus the pane directly below the active pane. " + } + }, + "303": { + "23": { + "name": "focusPaneViewOnLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 303, + 23 + ], + [ + 303, + 53 + ] + ], + "doc": "Public: Focus the pane directly to the left of the active pane. " + } + }, + "306": { + "24": { + "name": "focusPaneViewOnRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 306, + 24 + ], + [ + 306, + 55 + ] + ], + "doc": "Public: Focus the pane directly to the right of the active pane. " + } + }, + "315": { + "16": { + "name": "eachPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 315, + 16 + ], + [ + 325, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\npane view in the workspace.\n\ncallback - A {Function} with a {PaneView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "325": { + "16": { + "name": "getPaneViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 325, + 16 + ], + [ + 336, + 1 + ] + ], + "doc": " Public: Get all existing pane views.\n\nPrefer {Workspace::getPanes} if you don't need access to the view objects.\nAlso consider using {::eachPaneView} if you want to register a callback for\nall current and *future* pane views.\n\nReturns an Array of all open {PaneView}s. " + } + }, + "336": { + "18": { + "name": "eachEditorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 336, + 18 + ], + [ + 344, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\neditor view in the workspace (only includes {EditorView}s that are pane\nitems).\n\ncallback - A {Function} with an {EditorView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "344": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 344, + 16 + ], + [ + 347, + 1 + ] + ], + "doc": "Private: Called by SpacePen " + } + }, + "347": { + "21": { + "name": "setEditorFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 347, + 21 + ], + [ + 350, + 1 + ] + ], + "doc": "~Private~" + } + }, + "350": { + "23": { + "name": "setEditorFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 350, + 23 + ], + [ + 353, + 1 + ] + ], + "doc": "~Private~" + } + }, + "353": { + "23": { + "name": "setEditorLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 353, + 23 + ], + [ + 356, + 1 + ] + ], + "doc": "~Private~" + } + }, + "356": { + "18": { + "name": "setEditorStyle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "property", + "value" + ], + "range": [ + [ + 356, + 18 + ], + [ + 368, + 1 + ] + ], + "doc": "~Private~" + } + }, + "368": { + "12": { + "name": "eachPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 368, + 12 + ], + [ + 373, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "373": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 373, + 12 + ], + [ + 378, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "378": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 378, + 17 + ], + [ + 383, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "383": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 383, + 21 + ], + [ + 385, + 25 + ] + ], + "doc": "Deprecated: Call {Workspace::getActivePaneItem} instead. " + } + } + }, + "exports": 55 + }, + "src/workspace.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 4 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true, + "name": "join", + "exportsProperty": "join" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "4": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 4, + 4 + ], + [ + 4, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "5": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 5, + 15 + ], + [ + 5, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "6": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 6, + 12 + ], + [ + 6, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato" + } + }, + "7": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "8": { + "16": { + "name": "PaneContainer", + "type": "import", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 41 + ] + ], + "bindingType": "variable", + "path": "./pane-container" + } + }, + "9": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 9, + 7 + ], + [ + 9, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "18": { + "0": { + "type": "class", + "name": "Workspace", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 47, + 21 + ], + [ + 55, + 19 + ], + [ + 60, + 37 + ], + [ + 74, + 15 + ], + [ + 84, + 14 + ], + [ + 91, + 14 + ], + [ + 118, + 8 + ], + [ + 135, + 15 + ], + [ + 150, + 12 + ], + [ + 168, + 17 + ], + [ + 193, + 14 + ], + [ + 200, + 18 + ], + [ + 217, + 18 + ], + [ + 221, + 20 + ], + [ + 224, + 14 + ], + [ + 230, + 17 + ], + [ + 236, + 12 + ], + [ + 240, + 11 + ], + [ + 244, + 20 + ], + [ + 248, + 24 + ], + [ + 254, + 14 + ], + [ + 260, + 21 + ], + [ + 269, + 22 + ], + [ + 277, + 24 + ], + [ + 284, + 25 + ], + [ + 288, + 21 + ], + [ + 295, + 19 + ], + [ + 299, + 20 + ], + [ + 303, + 20 + ], + [ + 308, + 17 + ], + [ + 312, + 14 + ], + [ + 317, + 23 + ], + [ + 322, + 13 + ] + ], + "doc": " Public: Represents the state of the user interface for the entire window.\nAn instance of this class is available via the `atom.workspace` global.\n\nInteract with this object to open files, be notified of current and future\neditors, and manipulate panes. To add panels, you'll need to use the\n{WorkspaceView} class for now until we establish APIs at the model layer. ", + "range": [ + [ + 18, + 0 + ], + [ + 323, + 28 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 15 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 47, + 21 + ], + [ + 55, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during deserialization " + } + }, + "55": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 19 + ], + [ + 60, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during serialization. " + } + }, + "60": { + "37": { + "name": "getPackageNamesWithActiveGrammars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 60, + 37 + ], + [ + 74, + 1 + ] + ], + "doc": "~Private~" + } + }, + "74": { + "15": { + "name": "editorAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 74, + 15 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "14": { + "name": "eachEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 84, + 14 + ], + [ + 91, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\n{Editor} in the workspace.\n\ncallback - A {Function} with an {Editor} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "91": { + "14": { + "name": "getEditors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 14 + ], + [ + 118, + 1 + ] + ], + "doc": " Public: Get all current editors in the workspace.\n\nReturns an {Array} of {Editor}s. " + } + }, + "118": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "options" + ], + "range": [ + [ + 118, + 8 + ], + [ + 135, + 1 + ] + ], + "doc": " Public: Open a given a URI in Atom asynchronously.\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :split - Either 'left' or 'right'. If 'left', the item will be opened in\n leftmost pane of the current active pane's row. If 'right', the\n item will be opened in the rightmost pane of the current active\n pane's row.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`.\n :searchAllPanes - A {Boolean}. If `true`, the workspace will attempt to\n activate an existing item for the given URI on any pane.\n If `false`, only the active pane will be searched for\n an existing item for the same URI. Defaults to `false`.\n\nReturns a promise that resolves to the {Editor} for the file URI. " + } + }, + "135": { + "15": { + "name": "openLicense", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 135, + 15 + ], + [ + 150, + 1 + ] + ], + "doc": "Public: Open Atom's license in the active pane. " + } + }, + "150": { + "12": { + "name": "openSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "options" + ], + "range": [ + [ + 150, + 12 + ], + [ + 168, + 1 + ] + ], + "doc": " Private: Synchronously open the given URI in the active pane. **Only use this method\nin specs. Calling this in production code will block the UI thread and\neveryone will be mad at you.**\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`. " + } + }, + "168": { + "17": { + "name": "openUriInPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "pane", + "options" + ], + "range": [ + [ + 168, + 17 + ], + [ + 193, + 1 + ] + ], + "doc": "~Private~" + } + }, + "193": { + "14": { + "name": "reopenItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 193, + 14 + ], + [ + 200, + 1 + ] + ], + "doc": " Public: Asynchronously reopens the last-closed item's URI if it hasn't already been\nreopened.\n\nReturns a promise that is resolved when the item is opened " + } + }, + "200": { + "18": { + "name": "reopenItemSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 200, + 18 + ], + [ + 217, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "217": { + "18": { + "name": "registerOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 217, + 18 + ], + [ + 221, + 1 + ] + ], + "doc": " Public: Register an opener for a uri.\n\nAn {Editor} will be used if no openers return a value.\n\n## Example\n```coffeescript\n atom.project.registerOpener (uri) ->\n if path.extname(uri) is '.toml'\n return new TomlEditor(uri)\n```\n\nopener - A {Function} to be called when a path is being opened. " + } + }, + "221": { + "20": { + "name": "unregisterOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 221, + 20 + ], + [ + 224, + 1 + ] + ], + "doc": "Public: Unregister an opener registered with {::registerOpener}. " + } + }, + "224": { + "14": { + "name": "getOpeners", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 14 + ], + [ + 230, + 1 + ] + ], + "doc": "~Private~" + } + }, + "230": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 230, + 17 + ], + [ + 236, + 1 + ] + ], + "doc": " Public: Get the active {Pane}.\n\nReturns a {Pane}. " + } + }, + "236": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 236, + 12 + ], + [ + 240, + 1 + ] + ], + "doc": " Public: Get all {Pane}s.\n\nReturns an {Array} of {Pane}s. " + } + }, + "240": { + "11": { + "name": "saveAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 240, + 11 + ], + [ + 244, + 1 + ] + ], + "doc": "Public: Save all pane items. " + } + }, + "244": { + "20": { + "name": "activateNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 244, + 20 + ], + [ + 248, + 1 + ] + ], + "doc": "Public: Make the next pane active. " + } + }, + "248": { + "24": { + "name": "activatePreviousPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 248, + 24 + ], + [ + 254, + 1 + ] + ], + "doc": "Public: Make the previous pane active. " + } + }, + "254": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 254, + 14 + ], + [ + 260, + 1 + ] + ], + "doc": " Public: Get the first pane {Pane} with an item for the given URI.\n\nReturns a {Pane} or `undefined` if no pane exists for the given URI. " + } + }, + "260": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 21 + ], + [ + 269, + 1 + ] + ], + "doc": " Public: Get the active {Pane}'s active item.\n\nReturns an pane item {Object}. " + } + }, + "269": { + "22": { + "name": "saveActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 22 + ], + [ + 277, + 1 + ] + ], + "doc": " Public: Save the active pane item.\n\nIf the active pane item currently has a URI according to the item's\n`.getUri` method, calls `.save` on the item. Otherwise\n{::saveActivePaneItemAs} # will be called instead. This method does nothing\nif the active item does not implement a `.save` method. " + } + }, + "277": { + "24": { + "name": "saveActivePaneItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 277, + 24 + ], + [ + 284, + 1 + ] + ], + "doc": " Public: Prompt the user for a path and save the active pane item to it.\n\nOpens a native dialog where the user selects a path on disk, then calls\n`.saveAs` on the item with the selected path. This method does nothing if\nthe active item does not implement a `.saveAs` method. " + } + }, + "284": { + "25": { + "name": "destroyActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 25 + ], + [ + 288, + 1 + ] + ], + "doc": " Public: Destroy (close) the active pane item.\n\nRemoves the active pane item and calls the `.destroy` method on it if one is\ndefined. " + } + }, + "288": { + "21": { + "name": "destroyActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 288, + 21 + ], + [ + 295, + 1 + ] + ], + "doc": "Public: Destroy (close) the active pane. " + } + }, + "295": { + "19": { + "name": "getActiveEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 295, + 19 + ], + [ + 299, + 1 + ] + ], + "doc": " Public: Get the active item if it is an {Editor}.\n\nReturns an {Editor} or `undefined` if the current active item is not an\n{Editor}. " + } + }, + "299": { + "20": { + "name": "increaseFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 299, + 20 + ], + [ + 303, + 1 + ] + ], + "doc": "Public: Increase the editor font size by 1px. " + } + }, + "303": { + "20": { + "name": "decreaseFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 303, + 20 + ], + [ + 308, + 1 + ] + ], + "doc": "Public: Decrease the editor font size by 1px. " + } + }, + "308": { + "17": { + "name": "resetFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 308, + 17 + ], + [ + 312, + 1 + ] + ], + "doc": "Public: Restore to a default editor font size. " + } + }, + "312": { + "14": { + "name": "itemOpened", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 312, + 14 + ], + [ + 317, + 1 + ] + ], + "doc": "Private: Removes the item's uri from the list of potential items to reopen. " + } + }, + "317": { + "23": { + "name": "onPaneItemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 317, + 23 + ], + [ + 322, + 1 + ] + ], + "doc": "Private: Adds the destroyed item's uri to the list of items to reopen. " + } + }, + "322": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 322, + 13 + ], + [ + 323, + 28 + ] + ], + "doc": "Private: Called by Model superclass when destroyed " + } + } + }, + "exports": 18 + }, + "src/key-binding.coffee": { + "objects": { + "0": { + "7": { + "name": "Grim", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "grim" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "calculateSpecificity", + "exportsProperty": "calculateSpecificity" + } + }, + "4": { + "0": { + "type": "class", + "name": "KeyBinding", + "bindingType": "exports", + "classProperties": [ + [ + 5, + 17 + ] + ], + "prototypeProperties": [ + [ + 7, + 11 + ], + [ + 9, + 15 + ], + [ + 23, + 11 + ], + [ + 30, + 11 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 34, + 43 + ] + ] + } + }, + "5": { + "17": { + "name": "currentIndex", + "type": "primitive", + "range": [ + [ + 5, + 17 + ], + [ + 5, + 17 + ] + ], + "bindingType": "classProperty" + } + }, + "7": { + "11": { + "name": "enabled", + "type": "primitive", + "range": [ + [ + 7, + 11 + ], + [ + 7, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null, + null, + "selector" + ], + "range": [ + [ + 9, + 15 + ], + [ + 23, + 1 + ] + ], + "doc": "~Private~" + } + }, + "23": { + "11": { + "name": "matches", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystroke" + ], + "range": [ + [ + 23, + 11 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyBinding" + ], + "range": [ + [ + 30, + 11 + ], + [ + 34, + 43 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/keymap-manager.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "1": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1" + } + }, + "2": { + "7": { + "name": "Grim", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "grim" + } + }, + "3": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 3, + 5 + ], + [ + 3, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2" + } + }, + "4": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 4 + ] + ], + "bindingType": "variable", + "module": "pathwatcher", + "name": "File", + "exportsProperty": "File" + } + }, + "7": { + "13": { + "name": "KeyBinding", + "type": "import", + "range": [ + [ + 7, + 13 + ], + [ + 7, + 35 + ] + ], + "bindingType": "variable", + "path": "./key-binding" + } + }, + "8": { + "15": { + "name": "CommandEvent", + "type": "import", + "range": [ + [ + 8, + 15 + ], + [ + 8, + 39 + ] + ], + "bindingType": "variable", + "path": "./command-event" + } + }, + "9": { + "1": { + "type": "import", + "range": [ + [ + 9, + 1 + ], + [ + 9, + 19 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "normalizeKeystrokes", + "exportsProperty": "normalizeKeystrokes" + }, + "22": { + "type": "import", + "range": [ + [ + 9, + 22 + ], + [ + 9, + 46 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "keystrokeForKeyboardEvent", + "exportsProperty": "keystrokeForKeyboardEvent" + }, + "49": { + "type": "import", + "range": [ + [ + 9, + 49 + ], + [ + 9, + 62 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "isAtomModifier", + "exportsProperty": "isAtomModifier" + }, + "65": { + "type": "import", + "range": [ + [ + 9, + 65 + ], + [ + 9, + 76 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "keydownEvent", + "exportsProperty": "keydownEvent" + } + }, + "11": { + "12": { + "type": "primitive", + "range": [ + [ + 11, + 12 + ], + [ + 11, + 59 + ] + ] + } + }, + "12": { + "17": { + "name": "OtherPlatforms", + "type": "function", + "range": [ + [ + 12, + 17 + ], + [ + 12, + 77 + ] + ] + } + }, + "84": { + "0": { + "type": "class", + "name": "KeymapManager", + "bindingType": "exports", + "classProperties": [ + [ + 99, + 17 + ] + ], + "prototypeProperties": [ + [ + 103, + 23 + ], + [ + 105, + 17 + ], + [ + 106, + 25 + ], + [ + 107, + 29 + ], + [ + 117, + 15 + ], + [ + 125, + 11 + ], + [ + 132, + 18 + ], + [ + 141, + 7 + ], + [ + 164, + 14 + ], + [ + 179, + 15 + ], + [ + 190, + 10 + ], + [ + 212, + 23 + ], + [ + 289, + 19 + ], + [ + 314, + 16 + ], + [ + 324, + 14 + ], + [ + 338, + 27 + ], + [ + 345, + 21 + ], + [ + 349, + 23 + ], + [ + 365, + 22 + ], + [ + 385, + 20 + ], + [ + 390, + 25 + ], + [ + 394, + 21 + ], + [ + 400, + 22 + ], + [ + 410, + 25 + ], + [ + 427, + 24 + ], + [ + 446, + 36 + ], + [ + 460, + 29 + ], + [ + 464, + 13 + ], + [ + 469, + 16 + ], + [ + 475, + 18 + ], + [ + 484, + 27 + ], + [ + 490, + 12 + ], + [ + 497, + 25 + ], + [ + 502, + 27 + ], + [ + 507, + 30 + ], + [ + 513, + 40 + ], + [ + 519, + 42 + ] + ], + "doc": " Public: Allows commands to be associated with keystrokes in a\ncontext-sensitive way. In Atom, you can access a global instance of this\nobject via `atom.keymap`.\n\nKey bindings are plain JavaScript objects containing **CSS selectors** as\ntheir top level keys, then **keystroke patterns** mapped to commands.\n\n```cson\n'.workspace':\n 'ctrl-l': 'package:do-something'\n 'ctrl-z': 'package:do-something-else'\n'.mini.editor':\n 'enter': 'core:confirm'\n```\n\nWhen a keystroke sequence matches a binding in a given context, a custom DOM\nevent with a type based on the command is dispatched on the target of the\nkeyboard event.\n\nTo match a keystroke sequence, the keymap starts at the target element for the\nkeyboard event. It looks for key bindings associated with selectors that match\nthe target element. If multiple match, the most specific is selected. If there\nis a tie in specificity, the most recently added binding wins. If no bindings\nare found for the events target, the search is repeated again for the target's\nparent node and so on recursively until a binding is found or we traverse off\nthe top of the document.\n\nWhen a binding is found, its command event is always dispatched on the\noriginal target of the keyboard event, even if the matching element is higher\nup in the DOM. In addition, `.preventDefault()` is called on the keyboard\nevent to prevent the browser from taking action. `.preventDefault` is only\ncalled if a matching binding is found.\n\nCommand event objects have a non-standard method called `.abortKeyBinding()`.\nIf your command handler is invoked but you programmatically determine that no\naction can be taken and you want to allow other bindings to be matched, call\n`.abortKeyBinding()` on the event object. An example of where this is useful\nis binding snippet expansion to `tab`. If `snippets:expand` is invoked when\nthe cursor does not follow a valid snippet prefix, we abort the binding and\nallow `tab` to be handled by the default handler, which inserts whitespace.\n\nMulti-keystroke bindings are possible. If a sequence of one or more keystrokes\n*partially* matches a multi-keystroke binding, the keymap enters a pending\nstate. The pending state is terminated on the next keystroke, or after\n{::partialMatchTimeout} milliseconds has elapsed. When the pending state is\nterminated via a timeout or a keystroke that leads to no matches, the longest\nambiguous bindings that caused the pending state are temporarily disabled and\nthe previous keystrokes are replayed. If there is ambiguity again during the\nreplay, the next longest bindings are disabled and the keystrokes are replayed\nagain.\n\n## Events\n\n* `matched` -\n Emitted when keystrokes match a binding.\n * keystrokes - The keystroke {String} that matched the binding\n * binding - The {KeyBinding} that was used\n * keyboardEventTarget - The target element of the keyboard event\n\n* `matched-partially` -\n Emitted when keystrokes partially match one or more bindings.\n * keystrokes - The keystroke {String} that partially match some bindings\n * partiallyMatchedBindings - The {KeyBinding}s that partially matched\n * keyboardEventTarget - The target element of the keyboard event\n\n* `match-failed` -\n Emitted when keystrokes don't match any bindings.\n * keystrokes - The keystroke {String} that matched no bindings\n * keyboardEventTarget - The target element of the keyboard event ", + "range": [ + [ + 84, + 0 + ], + [ + 521, + 62 + ] + ] + } + }, + "99": { + "17": { + "name": "keydownEvent", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "key", + "options" + ], + "range": [ + [ + 99, + 17 + ], + [ + 99, + 60 + ] + ], + "doc": " Public: Create a keydown DOM event for testing purposes.\n\nkey - The key or keyIdentifier of the event. For example, 'a', '1',\n 'escape', 'backspace', etc.\noptions - An {Object} containing any of the following:\n :ctrl - A {Boolean} indicating the ctrl modifier key\n :alt - A {Boolean} indicating the alt modifier key\n :shift - A {Boolean} indicating the shift modifier key\n :cmd - A {Boolean} indicating the cmd modifier key\n :which - A {Number} indicating `which` value of the event. See\n the docs for KeyboardEvent for more information.\n :target - The target element of the event. " + } + }, + "103": { + "23": { + "name": "partialMatchTimeout", + "type": "primitive", + "range": [ + [ + 103, + 23 + ], + [ + 103, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "105": { + "17": { + "name": "defaultTarget", + "type": "primitive", + "range": [ + [ + 105, + 17 + ], + [ + 105, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "106": { + "25": { + "name": "pendingPartialMatches", + "type": "primitive", + "range": [ + [ + 106, + 25 + ], + [ + 106, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "107": { + "29": { + "name": "pendingStateTimeoutHandle", + "type": "primitive", + "range": [ + [ + 107, + 29 + ], + [ + 107, + 32 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "117": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 117, + 15 + ], + [ + 125, + 1 + ] + ], + "doc": " Public:\n\noptions - An {Object} containing properties to assign to the keymap: You can\n pass custom properties to be used by extension methods. The following\n properties are also supported:\n :defaultTarget - This will be used as the target of events whose target\n is `document.body` to allow for a catch-all element when nothing is\n focused " + } + }, + "125": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 125, + 11 + ], + [ + 132, + 1 + ] + ], + "doc": "Public: Unwatch all watched paths. " + } + }, + "132": { + "18": { + "name": "getKeyBindings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 132, + 18 + ], + [ + 141, + 1 + ] + ], + "doc": " Public: Get all current key bindings.\n\nReturns an {Array} of {KeyBinding}s. " + } + }, + "141": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source", + "keyBindingsBySelector" + ], + "range": [ + [ + 141, + 7 + ], + [ + 164, + 1 + ] + ], + "doc": " Public: Add sets of key bindings grouped by CSS selector.\n\nsource - A {String} (usually a path) uniquely identifying the given bindings\n so they can be removed later.\nbindings - An {Object} whose top-level keys point at sub-objects mapping\n keystroke patterns to commands. " + } + }, + "164": { + "14": { + "name": "loadKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bindingsPath", + "options" + ], + "range": [ + [ + 164, + 14 + ], + [ + 179, + 1 + ] + ], + "doc": " Public: Load the key bindings from the given path.\n\npath - A {String} containing a path to a file or a directory. If the path is\n a directory, all files inside it will be loaded.\noptions - An {Object} containing the following optional keys:\n :watch - If `true`, the keymap will also reload the file at the given path\n whenever it changes. This option cannot be used with directory paths. " + } + }, + "179": { + "15": { + "name": "watchKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 179, + 15 + ], + [ + 190, + 1 + ] + ], + "doc": " Public: Cause the keymap to reload the key bindings file at the given path\nwhenever it changes.\n\nThis method doesn't perform the initial load of the key bindings file. If\nthat's what you're looking for, call {::loadKeymap} with `watch: true`. " + } + }, + "190": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source" + ], + "range": [ + [ + 190, + 10 + ], + [ + 212, + 1 + ] + ], + "doc": " Public: Remove the key bindings added with {::addKeymap} or\n{::loadKeymap}.\n\nsource - A {String} representing the `source` in a previous call to\n {::addKeymap} or the path in {::loadKeymap}. " + } + }, + "212": { + "23": { + "name": "handleKeyboardEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event", + "replaying" + ], + "range": [ + [ + 212, + 23 + ], + [ + 289, + 1 + ] + ], + "doc": " Public: Dispatch a custom event associated with the matching key binding for\nthe given `KeyboardEvent` if one can be found.\n\nIf a matching binding is found on the event's target or one of its\nancestors, `.preventDefault()` is called on the keyboard event and the\nbinding's command is emitted as a custom event on the matching element.\n\nIf the matching binding's command is 'native!', the method will terminate\nwithout calling `.preventDefault()` on the keyboard event, allowing the\nbrowser to handle it as normal.\n\nIf the matching binding's command is 'unset!', the search will continue from\nthe current element's parent.\n\nIf the matching binding's command is 'abort!', the search will terminate\nwithout dispatching a command event.\n\nIf the event's target is `document.body`, it will be treated as if its\ntarget is `.defaultTarget` if that property is assigned on the keymap. " + } + }, + "289": { + "19": { + "name": "findKeyBindings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 289, + 19 + ], + [ + 314, + 1 + ] + ], + "doc": " Public: Get the key bindings for a given command and optional target.\n\nparams - An {Object} whose keys constrain the binding search:\n :keystrokes - A {String} representing one or more keystrokes, such as\n 'ctrl-x ctrl-s'\n :command - A {String} representing the name of a command, such as\n 'editor:backspace'\n :target - An optional DOM element constraining the search. If this\n parameter is supplied, the call will only return bindings that can be\n invoked by a KeyboardEvent originating from the target element. " + } + }, + "314": { + "16": { + "name": "reloadKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 314, + 16 + ], + [ + 324, + 1 + ] + ], + "doc": " Private: Called by the path watcher callback to reload a file at the given path. If\nwe can't read the file cleanly, we don't proceed with the reload. " + } + }, + "324": { + "14": { + "name": "readKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "suppressErrors" + ], + "range": [ + [ + 324, + 14 + ], + [ + 338, + 1 + ] + ], + "doc": "~Private~" + } + }, + "338": { + "27": { + "name": "filePathMatchesPlatform", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 338, + 27 + ], + [ + 345, + 1 + ] + ], + "doc": " Private: Determine if the given path should be loaded on this platform. If the\nfilename has the pattern '.cson' or 'foo..cson' and\n does not match the current platform, returns false. Otherwise\nreturns true. " + } + }, + "345": { + "21": { + "name": "getOtherPlatforms", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 345, + 21 + ], + [ + 345, + 37 + ] + ], + "doc": "Private: For testing purposes " + } + }, + "349": { + "23": { + "name": "findMatchCandidates", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystrokes" + ], + "range": [ + [ + 349, + 23 + ], + [ + 365, + 1 + ] + ], + "doc": " Private: Finds all key bindings whose keystrokes match the given keystrokes. Returns\nboth partial and exact matches. " + } + }, + "365": { + "22": { + "name": "findPartialMatches", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "partialMatchCandidates", + "target" + ], + "range": [ + [ + 365, + 22 + ], + [ + 385, + 1 + ] + ], + "doc": " Private: Determine which of the given bindings have selectors matching the target or\none of its ancestors. This is used by {::handleKeyboardEvent} to determine\nif there are any partial matches for the keyboard event. " + } + }, + "385": { + "20": { + "name": "findExactMatches", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "exactMatchCandidates", + "target" + ], + "range": [ + [ + 385, + 20 + ], + [ + 390, + 1 + ] + ], + "doc": " Private: Find the matching bindings among the given candidates for the given target,\nordered by specificity. Does not traverse up the target's ancestors. This is\nused by {::handleKeyboardEvent} to find a matching binding when there are no\npartially-matching bindings. " + } + }, + "390": { + "25": { + "name": "clearQueuedKeystrokes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 390, + 25 + ], + [ + 394, + 1 + ] + ], + "doc": "~Private~" + } + }, + "394": { + "21": { + "name": "enterPendingState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pendingPartialMatches", + "enableTimeout" + ], + "range": [ + [ + 394, + 21 + ], + [ + 400, + 1 + ] + ], + "doc": "~Private~" + } + }, + "400": { + "22": { + "name": "cancelPendingState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 400, + 22 + ], + [ + 410, + 1 + ] + ], + "doc": "~Private~" + } + }, + "410": { + "25": { + "name": "terminatePendingState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 410, + 25 + ], + [ + 427, + 1 + ] + ], + "doc": " Private: This is called by {::handleKeyboardEvent} when no matching bindings are\nfound for the currently queued keystrokes or by the pending state timeout.\nIt disables the longest of the pending partially matching bindings, then\nreplays the queued keyboard events to allow any bindings with shorter\nkeystroke sequences to be matched unambiguously. " + } + }, + "427": { + "24": { + "name": "dispatchCommandEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "target", + "keyboardEvent" + ], + "range": [ + [ + 427, + 24 + ], + [ + 446, + 1 + ] + ], + "doc": " Private: After we match a binding, we call this method to dispatch a custom event\nbased on the binding's command. " + } + }, + "446": { + "36": { + "name": "simulateBubblingOnDetachedTarget", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "target", + "commandEvent" + ], + "range": [ + [ + 446, + 36 + ], + [ + 460, + 1 + ] + ], + "doc": " Private: Chromium does not bubble events dispatched on detached targets, which makes\ntesting a pain in the ass. This method simulates bubbling manually. " + } + }, + "460": { + "29": { + "name": "keystrokeForKeyboardEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 460, + 29 + ], + [ + 464, + 1 + ] + ], + "doc": " Public: Translate a keydown event to a keystroke string.\n\nevent - A `KeyboardEvent` of type 'keydown'\n\nReturns a {String} describing the keystroke. " + } + }, + "464": { + "13": { + "name": "addKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source", + "bindings" + ], + "range": [ + [ + 464, + 13 + ], + [ + 469, + 1 + ] + ], + "doc": "Deprecated: Use {::addKeymap} instead. " + } + }, + "469": { + "16": { + "name": "removeKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source" + ], + "range": [ + [ + 469, + 16 + ], + [ + 475, + 1 + ] + ], + "doc": "Deprecated: Use {::removeKeymap} instead. " + } + }, + "475": { + "18": { + "name": "handleKeyEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 475, + 18 + ], + [ + 484, + 1 + ] + ], + "doc": " Deprecated: Handle a jQuery keyboard event. Use {::handleKeyboardEvent} with\na raw keyboard event instead. " + } + }, + "484": { + "27": { + "name": "keystrokeStringForEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 484, + 27 + ], + [ + 490, + 1 + ] + ], + "doc": " Deprecated: Translate a jQuery keyboard event to a keystroke string. Use\n{::keystrokeForKeyboardEvent} with a raw KeyboardEvent instead. " + } + }, + "490": { + "12": { + "name": "bindKeys", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source", + "selector", + "keyBindings" + ], + "range": [ + [ + 490, + 12 + ], + [ + 497, + 1 + ] + ], + "doc": " Deprecated: Use {::addKeymap} with a map from selectors to key\nbindings. " + } + }, + "497": { + "25": { + "name": "keyBindingsForCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command" + ], + "range": [ + [ + 497, + 25 + ], + [ + 502, + 1 + ] + ], + "doc": "Deprecated: Use {::findKeyBindings} with the 'command' param. " + } + }, + "502": { + "27": { + "name": "keyBindingsForKeystroke", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystroke" + ], + "range": [ + [ + 502, + 27 + ], + [ + 507, + 1 + ] + ], + "doc": "Deprecated: Use {::findKeyBindings} with the 'keystrokes' param. " + } + }, + "507": { + "30": { + "name": "keyBindingsMatchingElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "target", + "keyBindings" + ], + "range": [ + [ + 507, + 30 + ], + [ + 513, + 1 + ] + ], + "doc": "Deprecated: Use {::findKeyBindings} with the 'target' param. " + } + }, + "513": { + "40": { + "name": "keyBindingsForCommandMatchingElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "target" + ], + "range": [ + [ + 513, + 40 + ], + [ + 519, + 1 + ] + ], + "doc": " Deprecated: Use {::findKeyBindings} with the 'command' and 'target'\nparams " + } + }, + "519": { + "42": { + "name": "keyBindingsForKeystrokeMatchingElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystrokes", + "target" + ], + "range": [ + [ + 519, + 42 + ], + [ + 521, + 62 + ] + ], + "doc": " Deprecated: Use {::findKeyBindings} with the 'keystrokes' and 'target'\nparams " + } + } + }, + "exports": 84 + }, + "src/grammar-registry.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "1": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "10": { + "name": "Grammar", + "type": "import", + "range": [ + [ + 4, + 10 + ], + [ + 4, + 28 + ] + ], + "bindingType": "variable", + "path": "./grammar" + } + }, + "5": { + "14": { + "name": "NullGrammar", + "type": "import", + "range": [ + [ + 5, + 14 + ], + [ + 5, + 37 + ] + ], + "bindingType": "variable", + "path": "./null-grammar" + } + }, + "9": { + "0": { + "type": "class", + "name": "GrammarRegistry", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 24, + 15 + ], + [ + 32, + 23 + ], + [ + 38, + 17 + ], + [ + 47, + 29 + ], + [ + 57, + 14 + ], + [ + 69, + 19 + ], + [ + 81, + 15 + ], + [ + 96, + 19 + ], + [ + 106, + 15 + ], + [ + 119, + 26 + ], + [ + 128, + 29 + ], + [ + 135, + 31 + ], + [ + 139, + 25 + ], + [ + 151, + 17 + ], + [ + 154, + 15 + ], + [ + 156, + 18 + ], + [ + 160, + 17 + ] + ], + "doc": "Public: Registry containing one or more grammars. ", + "range": [ + [ + 9, + 0 + ], + [ + 164, + 11 + ] + ] + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 12, + 15 + ], + [ + 24, + 1 + ] + ], + "doc": "~Private~" + } + }, + "24": { + "15": { + "name": "getGrammars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 24, + 15 + ], + [ + 32, + 1 + ] + ], + "doc": " Public: Get all the grammars in this registry.\n\nReturns a non-empty {Array} of {Grammar} instances. " + } + }, + "32": { + "23": { + "name": "grammarForScopeName", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeName" + ], + "range": [ + [ + 32, + 23 + ], + [ + 38, + 1 + ] + ], + "doc": " Public: Get a grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`.\n\nReturns a {Grammar} or undefined. " + } + }, + "38": { + "17": { + "name": "removeGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 38, + 17 + ], + [ + 47, + 1 + ] + ], + "doc": " Public: Remove a grammar from this registry.\n\ngrammar - The {Grammar} to remove. " + } + }, + "47": { + "29": { + "name": "removeGrammarForScopeName", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeName" + ], + "range": [ + [ + 47, + 29 + ], + [ + 57, + 1 + ] + ], + "doc": " Public: Remove the grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`. " + } + }, + "57": { + "14": { + "name": "addGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 57, + 14 + ], + [ + 69, + 1 + ] + ], + "doc": " Public: Add a grammar to this registry.\n\nA 'grammar-added' event is emitted after the grammar is added.\n\ngrammar - The {Grammar} to add. This should be a value previously returned\n from {::readGrammar} or {::readGrammarSync}. " + } + }, + "69": { + "19": { + "name": "readGrammarSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath" + ], + "range": [ + [ + 69, + 19 + ], + [ + 81, + 1 + ] + ], + "doc": " Public: Read a grammar synchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\n\nReturns a {Grammar}. " + } + }, + "81": { + "15": { + "name": "readGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath", + "callback" + ], + "range": [ + [ + 81, + 15 + ], + [ + 96, + 1 + ] + ], + "doc": " Public: Read a grammar asynchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " + } + }, + "96": { + "19": { + "name": "loadGrammarSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath" + ], + "range": [ + [ + 96, + 19 + ], + [ + 106, + 1 + ] + ], + "doc": " Public: Read a grammar synchronously and add it to this registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\n\nReturns a {Grammar}. " + } + }, + "106": { + "15": { + "name": "loadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath", + "callback" + ], + "range": [ + [ + 106, + 15 + ], + [ + 119, + 1 + ] + ], + "doc": " Public: Read a grammar asynchronously and add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " + } + }, + "119": { + "26": { + "name": "grammarOverrideForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 119, + 26 + ], + [ + 128, + 1 + ] + ], + "doc": " Public: Get the grammar override for the given file path.\n\nfilePath - A {String} file path.\n\nReturns a {Grammar} or undefined. " + } + }, + "128": { + "29": { + "name": "setGrammarOverrideForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "scopeName" + ], + "range": [ + [ + 128, + 29 + ], + [ + 135, + 1 + ] + ], + "doc": " Public: Set the grammar override for the given file path.\n\nfilePath - A non-empty {String} file path.\nscopeName - A {String} such as `\"source.js\"`.\n\nReturns a {Grammar} or undefined. " + } + }, + "135": { + "31": { + "name": "clearGrammarOverrideForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 135, + 31 + ], + [ + 139, + 1 + ] + ], + "doc": " Public: Remove the grammar override for the given file path.\n\nfilePath - A {String} file path. " + } + }, + "139": { + "25": { + "name": "clearGrammarOverrides", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 139, + 25 + ], + [ + 151, + 1 + ] + ], + "doc": "Public: Remove all grammar overrides. " + } + }, + "151": { + "17": { + "name": "selectGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "fileContents" + ], + "range": [ + [ + 151, + 17 + ], + [ + 154, + 1 + ] + ], + "doc": " Public: Select a grammar for the given file path and file contents.\n\nThis picks the best match by checking the file path and contents against\neach grammar.\n\nfilePath - A {String} file path.\nfileContents - A {String} of text for the file path.\n\nReturns a {Grammar}, never null. " + } + }, + "154": { + "15": { + "name": "createToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "scopes" + ], + "range": [ + [ + 154, + 15 + ], + [ + 154, + 48 + ] + ], + "doc": "~Private~" + } + }, + "156": { + "18": { + "name": "grammarUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeName" + ], + "range": [ + [ + 156, + 18 + ], + [ + 160, + 1 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "17": { + "name": "createGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath", + "object" + ], + "range": [ + [ + 160, + 17 + ], + [ + 164, + 11 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 9 + }, + "src/grammar.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1" + } + }, + "3": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 3, + 5 + ], + [ + 3, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 10 + ] + ], + "bindingType": "variable", + "module": "oniguruma@^3", + "name": "OnigRegExp", + "exportsProperty": "OnigRegExp" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "7": { + "13": { + "name": "Injections", + "type": "import", + "range": [ + [ + 7, + 13 + ], + [ + 7, + 34 + ] + ], + "bindingType": "variable", + "path": "./injections" + } + }, + "8": { + "10": { + "name": "Pattern", + "type": "import", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 28 + ] + ], + "bindingType": "variable", + "path": "./pattern" + } + }, + "9": { + "7": { + "name": "Rule", + "type": "import", + "range": [ + [ + 9, + 7 + ], + [ + 9, + 22 + ] + ], + "bindingType": "variable", + "path": "./rule" + } + }, + "10": { + "16": { + "name": "ScopeSelector", + "type": "import", + "range": [ + [ + 10, + 16 + ], + [ + 10, + 41 + ] + ], + "bindingType": "variable", + "path": "./scope-selector" + } + }, + "12": { + "21": { + "name": "pathSplitRegex", + "type": "function", + "range": [ + [ + 12, + 21 + ], + [ + 12, + 34 + ] + ] + } + }, + "19": { + "0": { + "type": "class", + "name": "Grammar", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 22, + 15 + ], + [ + 51, + 17 + ], + [ + 73, + 16 + ], + [ + 141, + 12 + ], + [ + 144, + 14 + ], + [ + 147, + 14 + ], + [ + 151, + 18 + ], + [ + 154, + 17 + ], + [ + 162, + 27 + ], + [ + 165, + 18 + ], + [ + 172, + 12 + ], + [ + 182, + 19 + ], + [ + 199, + 16 + ], + [ + 214, + 15 + ], + [ + 216, + 14 + ], + [ + 218, + 17 + ], + [ + 220, + 23 + ], + [ + 223, + 19 + ] + ], + "doc": " Public: Grammar that tokenizes lines of text.\n\nThis class should not be instantiated directly but instead obtained from\na {GrammarRegistry} by calling {GrammarRegistry::loadGrammar}. ", + "range": [ + [ + 19, + 0 + ], + [ + 235, + 10 + ] + ] + } + }, + "22": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + "options" + ], + "range": [ + [ + 22, + 15 + ], + [ + 51, + 1 + ] + ], + "doc": "~Private~" + } + }, + "51": { + "17": { + "name": "tokenizeLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 51, + 17 + ], + [ + 73, + 1 + ] + ], + "doc": " Public: Tokenize all lines in the given text.\n\ntext - A {String} containing one or more lines.\n\nReturns an {Array} of token arrays for each line tokenized. " + } + }, + "73": { + "16": { + "name": "tokenizeLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line", + "ruleStack", + "firstLine" + ], + "range": [ + [ + 73, + 16 + ], + [ + 141, + 1 + ] + ], + "doc": " Public: Tokenize the line of text.\n\nline - A {String} of text to tokenize.\nruleStack - An optional {Array} of rules previously returned from this\n method. This should be null when tokenizing the first line in\n the file.\nfirstLine - A {Boolean} denoting whether this is the first line in the file\n which defaults to `false`. This should be `true` when\n tokenizing the first line in the file.\n\nReturns an {Object} containing `tokens` and `ruleStack` properties:\n :token - An {Array} of tokens covering the entire line of text.\n :ruleStack - An {Array} of rules representing the tokenized state at the\n end of the line. These should be passed back into this method\n when tokenizing the next line in the file. " + } + }, + "141": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 12 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "14": { + "name": "deactivate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 144, + 14 + ], + [ + 147, + 1 + ] + ], + "doc": "~Private~" + } + }, + "147": { + "14": { + "name": "clearRules", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 147, + 14 + ], + [ + 151, + 1 + ] + ], + "doc": "~Private~" + } + }, + "151": { + "18": { + "name": "getInitialRule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 151, + 18 + ], + [ + 154, + 1 + ] + ], + "doc": "~Private~" + } + }, + "154": { + "17": { + "name": "getRepository", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 17 + ], + [ + 162, + 1 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "27": { + "name": "addIncludedGrammarScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scope" + ], + "range": [ + [ + 162, + 27 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "18": { + "name": "grammarUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeName" + ], + "range": [ + [ + 165, + 18 + ], + [ + 172, + 1 + ] + ], + "doc": "~Private~" + } + }, + "172": { + "12": { + "name": "getScore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "contents" + ], + "range": [ + [ + 172, + 12 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "19": { + "name": "matchesContents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "contents" + ], + "range": [ + [ + 182, + 19 + ], + [ + 199, + 1 + ] + ], + "doc": "~Private~" + } + }, + "199": { + "16": { + "name": "getPathScore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 199, + 16 + ], + [ + 214, + 1 + ] + ], + "doc": "~Private~" + } + }, + "214": { + "15": { + "name": "createToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "scopes" + ], + "range": [ + [ + 214, + 15 + ], + [ + 214, + 69 + ] + ], + "doc": "~Private~" + } + }, + "216": { + "14": { + "name": "createRule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 216, + 14 + ], + [ + 216, + 60 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "17": { + "name": "createPattern", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 218, + 17 + ], + [ + 218, + 66 + ] + ], + "doc": "~Private~" + } + }, + "220": { + "23": { + "name": "getMaxTokensPerLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 220, + 23 + ], + [ + 223, + 1 + ] + ], + "doc": "~Private~" + } + }, + "223": { + "19": { + "name": "scopesFromStack", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stack", + "rule", + "endPatternMatch" + ], + "range": [ + [ + 223, + 19 + ], + [ + 235, + 10 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 19 + } + } + }, + { + "repository": "https://github.com/atom/node-pathwatcher.git", + "version": "2.0.6", + "files": { + "src/atom.coffee": { + "objects": { + "0": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 0, + 9 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "1": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "2": { + "5": { + "name": "os", + "type": "import", + "range": [ + [ + 2, + 5 + ], + [ + 2, + 16 + ] + ], + "bindingType": "variable", + "module": "os", + "builtin": true + } + }, + "3": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "4": { + "9": { + "name": "remote", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 24 + ] + ], + "bindingType": "variable", + "module": "remote" + } + }, + "5": { + "9": { + "name": "screen", + "type": "import", + "range": [ + [ + 5, + 9 + ], + [ + 5, + 24 + ] + ], + "bindingType": "variable", + "module": "screen" + } + }, + "6": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 6, + 8 + ], + [ + 6, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "8": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 8, + 4 + ], + [ + 8, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "9": { + "1": { + "type": "import", + "range": [ + [ + 9, + 1 + ], + [ + 9, + 10 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecated", + "exportsProperty": "deprecated" + } + }, + "10": { + "1": { + "type": "import", + "range": [ + [ + 10, + 1 + ], + [ + 10, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "11": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 11, + 5 + ], + [ + 11, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.1" + } + }, + "13": { + "1": { + "type": "import", + "range": [ + [ + 13, + 1 + ], + [ + 13, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "14": { + "21": { + "name": "WindowEventHandler", + "type": "import", + "range": [ + [ + 14, + 21 + ], + [ + 14, + 52 + ] + ], + "bindingType": "variable", + "path": "./window-event-handler" + } + }, + "35": { + "0": { + "type": "class", + "name": "Atom", + "bindingType": "exports", + "classProperties": [ + [ + 36, + 12 + ], + [ + 44, + 17 + ], + [ + 48, + 16 + ], + [ + 53, + 14 + ], + [ + 71, + 17 + ], + [ + 89, + 21 + ], + [ + 95, + 22 + ], + [ + 99, + 20 + ], + [ + 109, + 21 + ] + ], + "prototypeProperties": [ + [ + 112, + 31 + ], + [ + 115, + 15 + ], + [ + 123, + 14 + ], + [ + 177, + 31 + ], + [ + 181, + 33 + ], + [ + 184, + 24 + ], + [ + 188, + 20 + ], + [ + 194, + 23 + ], + [ + 211, + 23 + ], + [ + 221, + 21 + ], + [ + 224, + 32 + ], + [ + 229, + 30 + ], + [ + 246, + 27 + ], + [ + 252, + 25 + ], + [ + 259, + 19 + ], + [ + 262, + 22 + ], + [ + 269, + 28 + ], + [ + 281, + 28 + ], + [ + 285, + 27 + ], + [ + 292, + 21 + ], + [ + 320, + 22 + ], + [ + 336, + 14 + ], + [ + 339, + 15 + ], + [ + 353, + 8 + ], + [ + 377, + 11 + ], + [ + 397, + 18 + ], + [ + 400, + 22 + ], + [ + 407, + 16 + ], + [ + 411, + 18 + ], + [ + 415, + 31 + ], + [ + 419, + 10 + ], + [ + 423, + 9 + ], + [ + 428, + 8 + ], + [ + 432, + 8 + ], + [ + 439, + 11 + ], + [ + 446, + 15 + ], + [ + 450, + 10 + ], + [ + 457, + 17 + ], + [ + 464, + 9 + ], + [ + 467, + 8 + ], + [ + 473, + 13 + ], + [ + 477, + 14 + ], + [ + 481, + 20 + ], + [ + 485, + 17 + ], + [ + 490, + 16 + ], + [ + 496, + 14 + ], + [ + 500, + 21 + ], + [ + 506, + 20 + ], + [ + 509, + 12 + ], + [ + 523, + 21 + ], + [ + 526, + 20 + ], + [ + 529, + 22 + ], + [ + 533, + 8 + ], + [ + 537, + 25 + ], + [ + 541, + 25 + ], + [ + 555, + 22 + ] + ], + "doc": " Public: Atom global for dealing with packages, themes, menus, and the window.\n\nAn instance of this class is always available as the `atom` global.\n\n## Useful properties available:\n\n * `atom.clipboard` - A {Clipboard} instance\n * `atom.config` - A {Config} instance\n * `atom.contextMenu` - A {ContextMenuManager} instance\n * `atom.deserializers` - A {DeserializerManager} instance\n * `atom.keymaps` - A {KeymapManager} instance\n * `atom.menu` - A {MenuManager} instance\n * `atom.packages` - A {PackageManager} instance\n * `atom.project` - A {Project} instance\n * `atom.syntax` - A {Syntax} instance\n * `atom.themes` - A {ThemeManager} instance\n * `atom.workspace` - A {Workspace} instance\n * `atom.workspaceView` - A {WorkspaceView} instance ", + "range": [ + [ + 35, + 0 + ], + [ + 567, + 27 + ] + ] + } + }, + "36": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 36, + 12 + ], + [ + 36, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "44": { + "17": { + "name": "loadOrCreate", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 44, + 17 + ], + [ + 48, + 1 + ] + ], + "doc": " Public: Load or create the Atom environment in the given mode.\n\nmode - Pass 'editor' or 'spec' depending on the kind of environment you\n want to build.\n\nReturns an Atom instance, fully initialized " + } + }, + "48": { + "16": { + "name": "deserialize", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 48, + 16 + ], + [ + 53, + 1 + ] + ], + "doc": "Private: Deserializes the Atom environment from a state object " + } + }, + "53": { + "14": { + "name": "loadState", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 53, + 14 + ], + [ + 71, + 1 + ] + ], + "doc": " Private: Loads and returns the serialized state corresponding to this window\nif it exists; otherwise returns undefined. " + } + }, + "71": { + "17": { + "name": "getStatePath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 71, + 17 + ], + [ + 89, + 1 + ] + ], + "doc": " Private: Returns the path where the state for the current window will be\nlocated if it exists. " + } + }, + "89": { + "21": { + "name": "getConfigDirPath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 95, + 1 + ] + ], + "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " + } + }, + "95": { + "22": { + "name": "getStorageDirPath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 95, + 22 + ], + [ + 99, + 1 + ] + ], + "doc": " Private: Get the path to Atom's storage directory.\n\nReturns the absolute path to ~/.atom/storage " + } + }, + "99": { + "20": { + "name": "getLoadSettings", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 99, + 20 + ], + [ + 109, + 1 + ] + ], + "doc": "Private: Returns the load settings hash associated with the current window. " + } + }, + "109": { + "21": { + "name": "getCurrentWindow", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 21 + ], + [ + 112, + 1 + ] + ], + "doc": "~Private~" + } + }, + "112": { + "31": { + "name": "workspaceViewParentSelector", + "type": "primitive", + "range": [ + [ + 112, + 31 + ], + [ + 112, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "115": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 115, + 15 + ], + [ + 123, + 1 + ] + ], + "doc": "Private: Call .loadOrCreate instead " + } + }, + "123": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 123, + 14 + ], + [ + 177, + 1 + ] + ], + "doc": " Public: Sets up the basic services that should be available in all modes\n(both spec and application). Call after this instance has been assigned to\nthe `atom` global. " + } + }, + "177": { + "31": { + "name": "registerRepresentationClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 31 + ], + [ + 181, + 1 + ] + ], + "doc": "Deprecated: Callers should be converted to use atom.deserializers " + } + }, + "181": { + "33": { + "name": "registerRepresentationClasses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 181, + 33 + ], + [ + 184, + 1 + ] + ], + "doc": "Deprecated: Callers should be converted to use atom.deserializers " + } + }, + "184": { + "24": { + "name": "setBodyPlatformClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 184, + 24 + ], + [ + 188, + 1 + ] + ], + "doc": "~Private~" + } + }, + "188": { + "20": { + "name": "getCurrentWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 20 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "23": { + "name": "getWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 194, + 23 + ], + [ + 211, + 1 + ] + ], + "doc": " Public: Get the dimensions of this window.\n\nReturns an object with x, y, width, and height keys. " + } + }, + "211": { + "23": { + "name": "setWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 211, + 23 + ], + [ + 221, + 1 + ] + ], + "doc": " Public: Set the dimensions of the window.\n\nThe window will be centered if either the x or y coordinate is not set\nin the dimensions parameter. If x or y are omitted the window will be\ncentered. If height or width are omitted only the position will be changed.\n\ndimensions - An {Object} with the following keys:\n :x - The new x coordinate.\n :y - The new y coordinate.\n :width - The new width.\n :height - The new height. " + } + }, + "221": { + "21": { + "name": "isValidDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 221, + 21 + ], + [ + 224, + 1 + ] + ], + "doc": " Private: Returns true if the dimensions are useable, false if they should be ignored.\nWork around for https://github.com/atom/atom-shell/issues/473 " + } + }, + "224": { + "32": { + "name": "storeDefaultWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 32 + ], + [ + 229, + 1 + ] + ], + "doc": "~Private~" + } + }, + "229": { + "30": { + "name": "getDefaultWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 229, + 30 + ], + [ + 246, + 1 + ] + ], + "doc": "~Private~" + } + }, + "246": { + "27": { + "name": "restoreWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 246, + 27 + ], + [ + 252, + 1 + ] + ], + "doc": "~Private~" + } + }, + "252": { + "25": { + "name": "storeWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 252, + 25 + ], + [ + 259, + 1 + ] + ], + "doc": "~Private~" + } + }, + "259": { + "19": { + "name": "getLoadSettings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 259, + 19 + ], + [ + 262, + 1 + ] + ], + "doc": "Private: Returns the load settings hash associated with the current window. " + } + }, + "262": { + "22": { + "name": "deserializeProject", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 262, + 22 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "28": { + "name": "deserializeWorkspaceView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 28 + ], + [ + 281, + 1 + ] + ], + "doc": "~Private~" + } + }, + "281": { + "28": { + "name": "deserializePackageStates", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 281, + 28 + ], + [ + 285, + 1 + ] + ], + "doc": "~Private~" + } + }, + "285": { + "27": { + "name": "deserializeEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 285, + 27 + ], + [ + 292, + 1 + ] + ], + "doc": "~Private~" + } + }, + "292": { + "21": { + "name": "startEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 21 + ], + [ + 320, + 1 + ] + ], + "doc": "Private: Call this method when establishing a real application window. " + } + }, + "320": { + "22": { + "name": "unloadEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 320, + 22 + ], + [ + 336, + 1 + ] + ], + "doc": "~Private~" + } + }, + "336": { + "14": { + "name": "loadThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 336, + 14 + ], + [ + 339, + 1 + ] + ], + "doc": "~Private~" + } + }, + "339": { + "15": { + "name": "watchThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 339, + 15 + ], + [ + 353, + 1 + ] + ], + "doc": "~Private~" + } + }, + "353": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 353, + 8 + ], + [ + 377, + 1 + ] + ], + "doc": " Public: Open a new Atom window using the given options.\n\nCalling this method without an options parameter will open a prompt to pick\na file/folder to open in the new window.\n\noptions - An {Object} with the following keys:\n :pathsToOpen - An {Array} of {String} paths to open. " + } + }, + "377": { + "11": { + "name": "confirm", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 377, + 11 + ], + [ + 397, + 1 + ] + ], + "doc": " Public: Open a confirm dialog.\n\n## Example\n\n```coffee\n atom.confirm\n message: 'How you feeling?'\n detailedMessage: 'Be honest.'\n buttons:\n Good: -> window.alert('good to hear')\n Bad: -> window.alert('bummer')\n```\n\noptions - An {Object} with the following keys:\n :message - The {String} message to display.\n :detailedMessage - The {String} detailed message to display.\n :buttons - Either an array of strings or an object where keys are\n button names and the values are callbacks to invoke when\n clicked.\n\nReturns the chosen button index {Number} if the buttons option was an array. " + } + }, + "397": { + "18": { + "name": "showSaveDialog", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 397, + 18 + ], + [ + 400, + 1 + ] + ], + "doc": "~Private~" + } + }, + "400": { + "22": { + "name": "showSaveDialogSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultPath" + ], + "range": [ + [ + 400, + 22 + ], + [ + 407, + 1 + ] + ], + "doc": "~Private~" + } + }, + "407": { + "16": { + "name": "openDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 407, + 16 + ], + [ + 411, + 1 + ] + ], + "doc": "Public: Open the dev tools for the current window. " + } + }, + "411": { + "18": { + "name": "toggleDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 411, + 18 + ], + [ + 415, + 1 + ] + ], + "doc": "Public: Toggle the visibility of the dev tools for the current window. " + } + }, + "415": { + "31": { + "name": "executeJavaScriptInDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "code" + ], + "range": [ + [ + 415, + 31 + ], + [ + 419, + 1 + ] + ], + "doc": "Public: Execute code in dev tools. " + } + }, + "419": { + "10": { + "name": "reload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 419, + 10 + ], + [ + 423, + 1 + ] + ], + "doc": "Public: Reload the current window. " + } + }, + "423": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 423, + 9 + ], + [ + 428, + 1 + ] + ], + "doc": "Public: Focus the current window. " + } + }, + "428": { + "8": { + "name": "show", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 8 + ], + [ + 432, + 1 + ] + ], + "doc": "Public: Show the current window. " + } + }, + "432": { + "8": { + "name": "hide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 432, + 8 + ], + [ + 439, + 1 + ] + ], + "doc": "Public: Hide the current window. " + } + }, + "439": { + "11": { + "name": "setSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width", + "height" + ], + "range": [ + [ + 439, + 11 + ], + [ + 446, + 1 + ] + ], + "doc": " Public: Set the size of current window.\n\nwidth - The {Number} of pixels.\nheight - The {Number} of pixels. " + } + }, + "446": { + "15": { + "name": "setPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "x", + "y" + ], + "range": [ + [ + 446, + 15 + ], + [ + 450, + 1 + ] + ], + "doc": " Public: Set the position of current window.\n\nx - The {Number} of pixels.\ny - The {Number} of pixels. " + } + }, + "450": { + "10": { + "name": "center", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 450, + 10 + ], + [ + 457, + 1 + ] + ], + "doc": "Public: Move current window to the center of the screen. " + } + }, + "457": { + "17": { + "name": "displayWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 457, + 17 + ], + [ + 464, + 1 + ] + ], + "doc": " Private: Schedule the window to be shown and focused on the next tick.\n\nThis is done in a next tick to prevent a white flicker from occurring\nif called synchronously. " + } + }, + "464": { + "9": { + "name": "close", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 464, + 9 + ], + [ + 467, + 1 + ] + ], + "doc": "Public: Close the current window. " + } + }, + "467": { + "8": { + "name": "exit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 467, + 8 + ], + [ + 473, + 1 + ] + ], + "doc": "~Private~" + } + }, + "473": { + "13": { + "name": "inDevMode", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 473, + 13 + ], + [ + 477, + 1 + ] + ], + "doc": "Public: Is the current window in development mode? " + } + }, + "477": { + "14": { + "name": "inSpecMode", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 477, + 14 + ], + [ + 481, + 1 + ] + ], + "doc": "Public: Is the current window running specs? " + } + }, + "481": { + "20": { + "name": "toggleFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 481, + 20 + ], + [ + 485, + 1 + ] + ], + "doc": "Public: Toggle the full screen state of the current window. " + } + }, + "485": { + "17": { + "name": "setFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fullScreen" + ], + "range": [ + [ + 485, + 17 + ], + [ + 490, + 1 + ] + ], + "doc": "Public: Set the full screen state of the current window. " + } + }, + "490": { + "16": { + "name": "isFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 490, + 16 + ], + [ + 496, + 1 + ] + ], + "doc": "Public: Is the current window in full screen mode? " + } + }, + "496": { + "14": { + "name": "getVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 496, + 14 + ], + [ + 500, + 1 + ] + ], + "doc": " Public: Get the version of the Atom application.\n\nReturns the version text {String}. " + } + }, + "500": { + "21": { + "name": "isReleasedVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 500, + 21 + ], + [ + 506, + 1 + ] + ], + "doc": "Public: Determine whether the current version is an official release. " + } + }, + "506": { + "20": { + "name": "getConfigDirPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 506, + 20 + ], + [ + 509, + 1 + ] + ], + "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " + } + }, + "509": { + "12": { + "name": "saveSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 509, + 12 + ], + [ + 523, + 1 + ] + ], + "doc": "~Private~" + } + }, + "523": { + "21": { + "name": "getWindowLoadTime", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 523, + 21 + ], + [ + 526, + 1 + ] + ], + "doc": " Public: Get the time taken to completely load the current window.\n\nThis time include things like loading and activating packages, creating\nDOM elements for the editor, and reading the config.\n\nReturns the number of milliseconds taken to load the window or null\nif the window hasn't finished loading yet. " + } + }, + "526": { + "20": { + "name": "crashMainProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 526, + 20 + ], + [ + 529, + 1 + ] + ], + "doc": "~Private~" + } + }, + "529": { + "22": { + "name": "crashRenderProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 529, + 22 + ], + [ + 533, + 1 + ] + ], + "doc": "~Private~" + } + }, + "533": { + "8": { + "name": "beep", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 533, + 8 + ], + [ + 537, + 1 + ] + ], + "doc": "Public: Visually and audibly trigger a beep. " + } + }, + "537": { + "25": { + "name": "getUserInitScriptPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 537, + 25 + ], + [ + 541, + 1 + ] + ], + "doc": "~Private~" + } + }, + "541": { + "25": { + "name": "requireUserInitScript", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 541, + 25 + ], + [ + 555, + 1 + ] + ] + } + }, + "555": { + "22": { + "name": "requireWithGlobals", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id", + "globals" + ], + "range": [ + [ + 555, + 22 + ], + [ + 567, + 27 + ] + ], + "doc": " Public: Require the module with the given globals.\n\nThe globals will be set on the `window` object and removed after the\nrequire completes.\n\nid - The {String} module name or path.\nglobals - An {Object} to set as globals during require (default: {}) " + } + } + }, + "exports": 35 + }, + "src/browser/application-menu.coffee": { + "objects": { + "0": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "1": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "2": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "10": { + "0": { + "type": "class", + "name": "ApplicationMenu", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 22, + 10 + ], + [ + 35, + 20 + ], + [ + 47, + 23 + ], + [ + 58, + 29 + ], + [ + 63, + 21 + ], + [ + 68, + 22 + ], + [ + 90, + 22 + ], + [ + 102, + 17 + ], + [ + 113, + 21 + ], + [ + 131, + 25 + ] + ], + "doc": " Private: Used to manage the global application menu.\n\nIt's created by {AtomApplication} upon instantiation and used to add, remove\nand maintain the state of all menu items. ", + "range": [ + [ + 10, + 0 + ], + [ + 145, + 18 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 22, + 1 + ] + ] + } + }, + "22": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 22, + 10 + ], + [ + 35, + 1 + ] + ], + "doc": " Public: Updates the entire menu with the given keybindings.\n\ntemplate - The Object which describes the menu to display.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke. " + } + }, + "35": { + "20": { + "name": "flattenMenuItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "menu" + ], + "range": [ + [ + 35, + 20 + ], + [ + 47, + 1 + ] + ], + "doc": " Private: Flattens the given menu and submenu items into an single Array.\n\nmenu - A complete menu configuration object for atom-shell's menu API.\n\nReturns an Array of native menu items. " + } + }, + "47": { + "23": { + "name": "flattenMenuTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 47, + 23 + ], + [ + 58, + 1 + ] + ], + "doc": " Private: Flattens the given menu template into an single Array.\n\ntemplate - An object describing the menu item.\n\nReturns an Array of native menu items. " + } + }, + "58": { + "29": { + "name": "enableWindowSpecificItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "enable" + ], + "range": [ + [ + 58, + 29 + ], + [ + 63, + 1 + ] + ], + "doc": " Public: Used to make all window related menu items are active.\n\nenable - If true enables all window specific items, if false disables all\n window specific items. " + } + }, + "63": { + "21": { + "name": "substituteVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 63, + 21 + ], + [ + 68, + 1 + ] + ], + "doc": "Private: Replaces VERSION with the current version. " + } + }, + "68": { + "22": { + "name": "showUpdateMenuItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 68, + 22 + ], + [ + 90, + 1 + ] + ], + "doc": "Private: Sets the proper visible state the update menu items " + } + }, + "90": { + "22": { + "name": "getDefaultTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 22 + ], + [ + 102, + 1 + ] + ], + "doc": " Private: Default list of menu items.\n\nReturns an Array of menu item Objects. " + } + }, + "102": { + "17": { + "name": "focusedWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 17 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "21": { + "name": "translateTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 113, + 21 + ], + [ + 131, + 1 + ] + ], + "doc": " Private: Combines a menu template with the appropriate keystroke.\n\ntemplate - An Object conforming to atom-shell's menu api but lacking\n accelerator and click properties.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a complete menu configuration object for atom-shell's menu API. " + } + }, + "131": { + "25": { + "name": "acceleratorForCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "keystrokesByCommand" + ], + "range": [ + [ + 131, + 25 + ], + [ + 145, + 18 + ] + ], + "doc": " Private: Determine the accelerator for a given command.\n\ncommand - The name of the command.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a String containing the keystroke in a format that can be interpreted\n by atom shell to provide nice icons where available. " + } + } + }, + "exports": 10 + }, + "src/browser/atom-application.coffee": { + "objects": { + "0": { + "13": { + "name": "AtomWindow", + "type": "import", + "range": [ + [ + 0, + 13 + ], + [ + 0, + 35 + ] + ], + "bindingType": "variable", + "path": "./atom-window" + } + }, + "1": { + "18": { + "name": "ApplicationMenu", + "type": "import", + "range": [ + [ + 1, + 18 + ], + [ + 1, + 45 + ] + ], + "bindingType": "variable", + "path": "./application-menu" + } + }, + "2": { + "22": { + "name": "AtomProtocolHandler", + "type": "import", + "range": [ + [ + 2, + 22 + ], + [ + 2, + 54 + ] + ], + "bindingType": "variable", + "path": "./atom-protocol-handler" + } + }, + "3": { + "20": { + "name": "AutoUpdateManager", + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 50 + ] + ], + "bindingType": "variable", + "path": "./auto-update-manager" + } + }, + "4": { + "16": { + "name": "BrowserWindow", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 39 + ] + ], + "bindingType": "variable", + "module": "browser-window" + } + }, + "5": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "6": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 6, + 6 + ], + [ + 6, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "7": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "8": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 8, + 5 + ], + [ + 8, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "9": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 9, + 6 + ], + [ + 9, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "10": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 10, + 7 + ], + [ + 10, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "11": { + "5": { + "name": "os", + "type": "import", + "range": [ + [ + 11, + 5 + ], + [ + 11, + 16 + ] + ], + "bindingType": "variable", + "module": "os", + "builtin": true + } + }, + "12": { + "6": { + "name": "net", + "type": "import", + "range": [ + [ + 12, + 6 + ], + [ + 12, + 18 + ] + ], + "bindingType": "variable", + "module": "net", + "builtin": true + } + }, + "13": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 13, + 8 + ], + [ + 13, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "14": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 14, + 6 + ], + [ + 14, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "15": { + "1": { + "type": "import", + "range": [ + [ + 15, + 1 + ], + [ + 15, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "16": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 16, + 4 + ], + [ + 16, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "30": { + "0": { + "type": "class", + "name": "AtomApplication", + "bindingType": "exports", + "classProperties": [ + [ + 34, + 9 + ] + ], + "prototypeProperties": [ + [ + 52, + 11 + ], + [ + 53, + 19 + ], + [ + 54, + 23 + ], + [ + 55, + 16 + ], + [ + 56, + 11 + ], + [ + 58, + 8 + ], + [ + 60, + 15 + ], + [ + 83, + 19 + ], + [ + 94, + 16 + ], + [ + 99, + 13 + ], + [ + 110, + 36 + ], + [ + 119, + 20 + ], + [ + 132, + 28 + ], + [ + 136, + 16 + ], + [ + 232, + 15 + ], + [ + 245, + 23 + ], + [ + 254, + 31 + ], + [ + 274, + 19 + ], + [ + 282, + 17 + ], + [ + 287, + 17 + ], + [ + 298, + 13 + ], + [ + 311, + 12 + ], + [ + 337, + 20 + ], + [ + 341, + 24 + ], + [ + 346, + 15 + ], + [ + 364, + 11 + ], + [ + 393, + 12 + ], + [ + 406, + 17 + ], + [ + 415, + 25 + ], + [ + 440, + 17 + ] + ], + "doc": " Private: The application's singleton class.\n\nIt's the entry point into the Atom application and maintains the global state\nof the application.\n\n ", + "range": [ + [ + 30, + 0 + ], + [ + 449, + 50 + ] + ] + } + }, + "34": { + "9": { + "name": "open", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 34, + 9 + ], + [ + 52, + 1 + ] + ], + "doc": "Public: The entry point into the Atom application. " + } + }, + "52": { + "11": { + "name": "windows", + "type": "primitive", + "range": [ + [ + 52, + 11 + ], + [ + 52, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "53": { + "19": { + "name": "applicationMenu", + "type": "primitive", + "range": [ + [ + 53, + 19 + ], + [ + 53, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "54": { + "23": { + "name": "atomProtocolHandler", + "type": "primitive", + "range": [ + [ + 54, + 23 + ], + [ + 54, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "55": { + "16": { + "name": "resourcePath", + "type": "primitive", + "range": [ + [ + 55, + 16 + ], + [ + 55, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "56": { + "11": { + "name": "version", + "type": "primitive", + "range": [ + [ + 56, + 11 + ], + [ + 56, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "58": { + "8": { + "name": "exit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 58, + 8 + ], + [ + 58, + 35 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 60, + 15 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "19": { + "name": "openWithOptions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 83, + 19 + ], + [ + 94, + 1 + ] + ], + "doc": "Private: Opens a new window based on the options provided. " + } + }, + "94": { + "16": { + "name": "removeWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "window" + ], + "range": [ + [ + 94, + 16 + ], + [ + 99, + 1 + ] + ], + "doc": "Public: Removes the {AtomWindow} from the global window list. " + } + }, + "99": { + "13": { + "name": "addWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "window" + ], + "range": [ + [ + 99, + 13 + ], + [ + 110, + 1 + ] + ], + "doc": "Public: Adds the {AtomWindow} to the global window list. " + } + }, + "110": { + "36": { + "name": "listenForArgumentsFromNewProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 36 + ], + [ + 119, + 1 + ] + ], + "doc": " Private: Creates server to listen for additional atom application launches.\n\nYou can run the atom command multiple times, but after the first launch\nthe other launches will just pass their information to this server and then\nclose immediately. " + } + }, + "119": { + "20": { + "name": "deleteSocketFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 119, + 20 + ], + [ + 132, + 1 + ] + ], + "doc": "~Private~" + } + }, + "132": { + "28": { + "name": "setupJavaScriptArguments", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 132, + 28 + ], + [ + 136, + 1 + ] + ], + "doc": "Private: Configures required javascript environment flags. " + } + }, + "136": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 16 + ], + [ + 232, + 1 + ] + ], + "doc": "Private: Registers basic application commands, non-idempotent. " + } + }, + "232": { + "15": { + "name": "sendCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 232, + 15 + ], + [ + 245, + 1 + ] + ], + "doc": " Public: Executes the given command.\n\nIf it isn't handled globally, delegate to the currently focused window.\n\ncommand - The string representing the command.\nargs - The optional arguments to pass along. " + } + }, + "245": { + "23": { + "name": "sendCommandToWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "atomWindow", + "args" + ], + "range": [ + [ + 245, + 23 + ], + [ + 254, + 1 + ] + ], + "doc": " Public: Executes the given command on the given window.\n\ncommand - The string representing the command.\natomWindow - The {AtomWindow} to send the command to.\nargs - The optional arguments to pass along. " + } + }, + "254": { + "31": { + "name": "sendCommandToFirstResponder", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command" + ], + "range": [ + [ + 254, + 31 + ], + [ + 274, + 1 + ] + ], + "doc": " Private: Translates the command into OS X action and sends it to application's first\nresponder. " + } + }, + "274": { + "19": { + "name": "openPathOnEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventName", + "pathToOpen" + ], + "range": [ + [ + 274, + 19 + ], + [ + 282, + 1 + ] + ], + "doc": " Public: Open the given path in the focused window when the event is\ntriggered.\n\nA new window will be created if there is no currently focused window.\n\neventName - The event to listen for.\npathToOpen - The path to open when the event is triggered. " + } + }, + "282": { + "17": { + "name": "windowForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen" + ], + "range": [ + [ + 282, + 17 + ], + [ + 287, + 1 + ] + ], + "doc": "Private: Returns the {AtomWindow} for the given path. " + } + }, + "287": { + "17": { + "name": "focusedWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 287, + 17 + ], + [ + 298, + 1 + ] + ], + "doc": "Public: Returns the currently focused {AtomWindow} or undefined if none. " + } + }, + "298": { + "13": { + "name": "openPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 298, + 13 + ], + [ + 311, + 1 + ] + ], + "doc": " Public: Opens multiple paths, in existing windows if possible.\n\noptions -\n :pathsToOpen - The array of file paths to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " + } + }, + "311": { + "12": { + "name": "openPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 311, + 12 + ], + [ + 337, + 1 + ] + ], + "doc": " Public: Opens a single path, in an existing window if possible.\n\noptions -\n :pathToOpen - The file path to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode.\n :windowDimensions - Object with height and width keys. " + } + }, + "337": { + "20": { + "name": "killAllProcesses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 337, + 20 + ], + [ + 341, + 1 + ] + ], + "doc": "Private: Kill all processes associated with opened windows. " + } + }, + "341": { + "24": { + "name": "killProcessForWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "openedWindow" + ], + "range": [ + [ + 341, + 24 + ], + [ + 346, + 1 + ] + ], + "doc": "Private: Kill process associated with the given opened window. " + } + }, + "346": { + "15": { + "name": "killProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pid" + ], + "range": [ + [ + 346, + 15 + ], + [ + 364, + 1 + ] + ], + "doc": "Private: Kill the process with the given pid. " + } + }, + "364": { + "11": { + "name": "openUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 364, + 11 + ], + [ + 393, + 1 + ] + ], + "doc": " Private: Open an atom:// url.\n\nThe host of the URL being opened is assumed to be the package name\nresponsible for opening the URL. A new window will be created with\nthat package's `urlMain` as the bootstrap script.\n\noptions -\n :urlToOpen - The atom:// url to open.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " + } + }, + "393": { + "12": { + "name": "runSpecs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 393, + 12 + ], + [ + 406, + 1 + ] + ], + "doc": " Private: Opens up a new {AtomWindow} to run specs within.\n\noptions -\n :exitWhenDone - A Boolean that if true, will close the window upon\n completion.\n :resourcePath - The path to include specs from.\n :specPath - The directory to load specs from. " + } + }, + "406": { + "17": { + "name": "runBenchmarks", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 406, + 17 + ], + [ + 415, + 1 + ] + ], + "doc": "~Private~" + } + }, + "415": { + "25": { + "name": "locationForPathToOpen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen" + ], + "range": [ + [ + 415, + 25 + ], + [ + 440, + 1 + ] + ], + "doc": "~Private~" + } + }, + "440": { + "17": { + "name": "promptForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 440, + 17 + ], + [ + 449, + 50 + ] + ], + "doc": " Private: Opens a native dialog to prompt the user for a path.\n\nOnce paths are selected, they're opened in a new or existing {AtomWindow}s.\n\noptions -\n :type - A String which specifies the type of the dialog, could be 'file',\n 'folder' or 'all'. The 'all' is only available on OS X.\n :devMode - A Boolean which controls whether any newly opened windows\n should be in dev mode or not.\n :safeMode - A Boolean which controls whether any newly opened windows\n should be in safe mode or not. " + } + } + }, + "exports": 30 + }, + "src/browser/atom-protocol-handler.coffee": { + "objects": { + "0": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.1" + } + }, + "2": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "3": { + "11": { + "name": "protocol", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "protocol" + } + }, + "10": { + "0": { + "type": "class", + "name": "AtomProtocolHandler", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 21, + 24 + ] + ], + "doc": " Private: Handles requests with 'atom' protocol.\n\nIt's created by {AtomApplication} upon instantiation, and is used to create a\ncustom resource loader by adding the 'atom' custom protocol. ", + "range": [ + [ + 10, + 0 + ], + [ + 27, + 50 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 21, + 1 + ] + ] + } + }, + "21": { + "24": { + "name": "registerAtomProtocol", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 24 + ], + [ + 27, + 50 + ] + ], + "doc": "Private: Creates the 'atom' custom protocol handler. " + } + } + }, + "exports": 10 + }, + "src/browser/atom-window.coffee": { + "objects": { + "0": { + "16": { + "name": "BrowserWindow", + "type": "import", + "range": [ + [ + 0, + 16 + ], + [ + 0, + 39 + ] + ], + "bindingType": "variable", + "module": "browser-window" + } + }, + "1": { + "14": { + "name": "ContextMenu", + "type": "import", + "range": [ + [ + 1, + 14 + ], + [ + 1, + 37 + ] + ], + "bindingType": "variable", + "path": "./context-menu" + } + }, + "2": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "3": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 3, + 9 + ], + [ + 3, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "4": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "6": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 6, + 6 + ], + [ + 6, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "7": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "11": { + "0": { + "type": "class", + "name": "AtomWindow", + "bindingType": "exports", + "classProperties": [ + [ + 14, + 13 + ], + [ + 15, + 25 + ] + ], + "prototypeProperties": [ + [ + 17, + 17 + ], + [ + 18, + 10 + ], + [ + 19, + 10 + ], + [ + 21, + 15 + ], + [ + 56, + 10 + ], + [ + 68, + 18 + ], + [ + 71, + 16 + ], + [ + 86, + 16 + ], + [ + 126, + 12 + ], + [ + 133, + 15 + ], + [ + 147, + 30 + ], + [ + 151, + 17 + ], + [ + 156, + 9 + ], + [ + 158, + 9 + ], + [ + 160, + 12 + ], + [ + 162, + 12 + ], + [ + 164, + 11 + ], + [ + 166, + 23 + ], + [ + 169, + 13 + ], + [ + 171, + 20 + ], + [ + 173, + 16 + ], + [ + 175, + 10 + ], + [ + 177, + 18 + ] + ], + "doc": "~Private~", + "range": [ + [ + 11, + 0 + ], + [ + 177, + 52 + ] + ] + } + }, + "14": { + "13": { + "name": "iconPath", + "type": "function", + "range": [ + [ + 14, + 13 + ], + [ + 14, + 72 + ] + ], + "bindingType": "classProperty" + } + }, + "15": { + "25": { + "name": "includeShellLoadTime", + "type": "primitive", + "range": [ + [ + 15, + 25 + ], + [ + 15, + 28 + ] + ], + "bindingType": "classProperty" + } + }, + "17": { + "17": { + "name": "browserWindow", + "type": "primitive", + "range": [ + [ + 17, + 17 + ], + [ + 17, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "10": { + "name": "loaded", + "type": "primitive", + "range": [ + [ + 18, + 10 + ], + [ + 18, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "10": { + "name": "isSpec", + "type": "primitive", + "range": [ + [ + 19, + 10 + ], + [ + 19, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "settings" + ], + "range": [ + [ + 21, + 15 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "10": { + "name": "getUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "loadSettingsObj" + ], + "range": [ + [ + 56, + 10 + ], + [ + 68, + 1 + ] + ], + "doc": "~Private~" + } + }, + "68": { + "18": { + "name": "getInitialPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 18 + ], + [ + 71, + 1 + ] + ], + "doc": "~Private~" + } + }, + "71": { + "16": { + "name": "containsPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToCheck" + ], + "range": [ + [ + 71, + 16 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 16 + ], + [ + 126, + 1 + ] + ], + "doc": "~Private~" + } + }, + "126": { + "12": { + "name": "openPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen", + "initialLine", + "initialColumn" + ], + "range": [ + [ + 126, + 12 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "15": { + "name": "sendCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 133, + 15 + ], + [ + 147, + 1 + ] + ], + "doc": "~Private~" + } + }, + "147": { + "30": { + "name": "sendCommandToBrowserWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 147, + 30 + ], + [ + 151, + 1 + ] + ], + "doc": "~Private~" + } + }, + "151": { + "17": { + "name": "getDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 151, + 17 + ], + [ + 156, + 1 + ] + ], + "doc": "~Private~" + } + }, + "156": { + "9": { + "name": "close", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 156, + 9 + ], + [ + 156, + 33 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 9 + ], + [ + 158, + 33 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "12": { + "name": "minimize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 160, + 12 + ], + [ + 160, + 39 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "12": { + "name": "maximize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 12 + ], + [ + 162, + 39 + ] + ], + "doc": "~Private~" + } + }, + "164": { + "11": { + "name": "restore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 164, + 11 + ], + [ + 164, + 37 + ] + ], + "doc": "~Private~" + } + }, + "166": { + "23": { + "name": "handlesAtomCommands", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 166, + 23 + ], + [ + 169, + 1 + ] + ], + "doc": "~Private~" + } + }, + "169": { + "13": { + "name": "isFocused", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 169, + 13 + ], + [ + 169, + 41 + ] + ], + "doc": "~Private~" + } + }, + "171": { + "20": { + "name": "isWebViewFocused", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 20 + ], + [ + 171, + 55 + ] + ], + "doc": "~Private~" + } + }, + "173": { + "16": { + "name": "isSpecWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 173, + 16 + ], + [ + 173, + 25 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "10": { + "name": "reload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 175, + 10 + ], + [ + 175, + 36 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "18": { + "name": "toggleDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 18 + ], + [ + 177, + 51 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 11 + }, + "src/browser/auto-update-manager.coffee": { + "objects": { + "0": { + "8": { + "name": "https", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 22 + ] + ], + "bindingType": "variable", + "module": "https", + "builtin": true + } + }, + "1": { + "14": { + "name": "autoUpdater", + "type": "import", + "range": [ + [ + 1, + 14 + ], + [ + 1, + 35 + ] + ], + "bindingType": "variable", + "module": "auto-updater" + } + }, + "2": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "6": { + "11": { + "name": "'idle'", + "type": "primitive", + "range": [ + [ + 6, + 11 + ], + [ + 6, + 16 + ] + ] + } + }, + "7": { + "15": { + "name": "'checking'", + "type": "primitive", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 24 + ] + ] + } + }, + "8": { + "18": { + "name": "'downloading'", + "type": "primitive", + "range": [ + [ + 8, + 18 + ], + [ + 8, + 30 + ] + ] + } + }, + "9": { + "23": { + "name": "'update-available'", + "type": "primitive", + "range": [ + [ + 9, + 23 + ], + [ + 9, + 40 + ] + ] + } + }, + "10": { + "26": { + "name": "'no-update-available'", + "type": "primitive", + "range": [ + [ + 10, + 26 + ], + [ + 10, + 46 + ] + ] + } + }, + "11": { + "12": { + "name": "'error'", + "type": "primitive", + "range": [ + [ + 11, + 12 + ], + [ + 11, + 18 + ] + ] + } + }, + "14": { + "0": { + "type": "class", + "name": "AutoUpdateManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 15 + ], + [ + 48, + 23 + ], + [ + 63, + 28 + ], + [ + 68, + 12 + ], + [ + 73, + 12 + ], + [ + 76, + 9 + ], + [ + 83, + 11 + ], + [ + 86, + 24 + ], + [ + 90, + 17 + ], + [ + 94, + 14 + ] + ], + "doc": "~Private~", + "range": [ + [ + 14, + 0 + ], + [ + 95, + 34 + ] + ] + } + }, + "17": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 17, + 15 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "23": { + "name": "checkForUpdatesShim", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 23 + ], + [ + 63, + 1 + ] + ], + "doc": "Private: Windows doesn't have an auto-updater, so use this method to shim the events. " + } + }, + "63": { + "28": { + "name": "emitUpdateAvailableEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "windows" + ], + "range": [ + [ + 63, + 28 + ], + [ + 68, + 1 + ] + ], + "doc": "~Private~" + } + }, + "68": { + "12": { + "name": "setState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 68, + 12 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "12": { + "name": "getState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 12 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "9": { + "name": "check", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 76, + 9 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "11": { + "name": "install", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 83, + 11 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "24": { + "name": "onUpdateNotAvailable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 24 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "17": { + "name": "onUpdateError", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event", + "message" + ], + "range": [ + [ + 90, + 17 + ], + [ + 94, + 1 + ] + ], + "doc": "~Private~" + } + }, + "94": { + "14": { + "name": "getWindows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 14 + ], + [ + 95, + 34 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 14 + }, + "src/browser/context-menu.coffee": { + "objects": { + "0": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "3": { + "0": { + "type": "class", + "name": "ContextMenu", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 4, + 15 + ], + [ + 12, + 23 + ] + ], + "doc": "~Private~", + "range": [ + [ + 3, + 0 + ], + [ + 23, + 10 + ] + ] + } + }, + "4": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + null + ], + "range": [ + [ + 4, + 15 + ], + [ + 12, + 1 + ] + ] + } + }, + "12": { + "23": { + "name": "createClickHandlers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 12, + 23 + ], + [ + 23, + 10 + ] + ], + "doc": " Private: It's necessary to build the event handlers in this process, otherwise\nclosures are drug across processes and failed to be garbage collected\nappropriately. " + } + } + }, + "exports": 3 + }, + "src/browser/main.coffee": { + "objects": { + "0": { + "24": { + "name": "global.shellStartTime", + "type": "function", + "range": [ + [ + 0, + 24 + ], + [ + 0, + 33 + ] + ] + } + }, + "2": { + "16": { + "name": "crashReporter", + "type": "import", + "range": [ + [ + 2, + 16 + ], + [ + 2, + 39 + ] + ], + "bindingType": "variable", + "module": "crash-reporter" + } + }, + "3": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 3, + 6 + ], + [ + 3, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "6": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 6, + 7 + ], + [ + 6, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "7": { + "11": { + "name": "optimist", + "type": "import", + "range": [ + [ + 7, + 11 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "optimist" + } + }, + "8": { + "8": { + "name": "nslog", + "type": "import", + "range": [ + [ + 8, + 8 + ], + [ + 8, + 22 + ] + ], + "bindingType": "variable", + "module": "nslog" + } + }, + "9": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 9, + 9 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "11": { + "14": { + "name": "nslog", + "type": "primitive", + "range": [ + [ + 11, + 14 + ], + [ + 11, + 18 + ] + ] + } + }, + "17": { + "8": { + "name": "start", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 8 + ], + [ + 51, + 0 + ] + ], + "doc": "~Private~" + } + }, + "54": { + "25": { + "name": "global.devResourcePath", + "type": "function", + "range": [ + [ + 54, + 25 + ], + [ + 54, + 62 + ] + ] + } + }, + "56": { + "21": { + "name": "setupCrashReporter", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 21 + ], + [ + 58, + 0 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "19": { + "name": "parseCommandLine", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 19 + ], + [ + 110, + 0 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": {} + }, + "src/buffered-node-process.coffee": { + "objects": { + "0": { + "18": { + "name": "BufferedProcess", + "type": "import", + "range": [ + [ + 0, + 18 + ], + [ + 0, + 45 + ] + ], + "bindingType": "variable", + "path": "./buffered-process" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "14": { + "0": { + "type": "class", + "name": "BufferedNodeProcess", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 36, + 15 + ] + ], + "doc": " Public: Like {BufferedProcess}, but accepts a Node script as the command\nto run.\n\nThis is necessary on Windows since it doesn't support shebang `#!` lines.\n\n## Requiring in packages\n\n```coffee\n{BufferedNodeProcess} = require 'atom'\n``` ", + "range": [ + [ + 14, + 0 + ], + [ + 50, + 63 + ] + ] + } + }, + "36": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 36, + 15 + ], + [ + 50, + 63 + ] + ], + "doc": " Public: Runs the given Node script by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} path to the JavaScript script to execute.\n :args - The {Array} of arguments to pass to the script (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " + } + } + }, + "exports": 14 + }, + "src/buffered-process.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "1": { + "15": { + "name": "ChildProcess", + "type": "import", + "range": [ + [ + 1, + 15 + ], + [ + 1, + 37 + ] + ], + "bindingType": "variable", + "module": "child_process", + "builtin": true + } + }, + "18": { + "0": { + "type": "class", + "name": "BufferedProcess", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 40, + 15 + ], + [ + 99, + 16 + ], + [ + 117, + 8 + ] + ], + "doc": " Public: A wrapper which provides standard error/output line buffering for\nNode's ChildProcess.\n\n## Requiring in packages\n\n```coffee\n{BufferedProcess} = require 'atom'\n\ncommand = 'ps'\nargs = ['-ef']\nstdout = (output) -> console.log(output)\nexit = (code) -> console.log(\"ps -ef exited with #{code}\")\nprocess = new BufferedProcess({command, args, stdout, exit})\n``` ", + "range": [ + [ + 18, + 0 + ], + [ + 120, + 19 + ] + ] + } + }, + "40": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 40, + 15 + ], + [ + 99, + 1 + ] + ], + "doc": " Public: Runs the given command by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} command to execute.\n :args - The {Array} of arguments to pass to the command (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " + } + }, + "99": { + "16": { + "name": "bufferStream", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stream", + "onLines", + "onDone" + ], + "range": [ + [ + 99, + 16 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: Helper method to pass data line by line.\n\nstream - The Stream to read from.\nonLines - The callback to call with each line of data.\nonDone - The callback to call when the stream has closed. " + } + }, + "117": { + "8": { + "name": "kill", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 8 + ], + [ + 120, + 19 + ] + ], + "doc": "Public: Terminate the process. " + } + } + }, + "exports": 18 + }, + "src/clipboard.coffee": { + "objects": { + "0": { + "12": { + "name": "clipboard", + "type": "import", + "range": [ + [ + 0, + 12 + ], + [ + 0, + 30 + ] + ], + "bindingType": "variable", + "module": "clipboard" + } + }, + "1": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 1, + 9 + ], + [ + 1, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "7": { + "0": { + "type": "class", + "name": "Clipboard", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 8, + 12 + ], + [ + 9, + 24 + ], + [ + 16, + 7 + ], + [ + 26, + 9 + ], + [ + 34, + 8 + ], + [ + 43, + 20 + ] + ], + "doc": " Public: Represents the clipboard used for copying and pasting in Atom.\n\nAn instance of this class is always available as the `atom.clipboard` global. ", + "range": [ + [ + 7, + 0 + ], + [ + 48, + 12 + ] + ] + } + }, + "8": { + "12": { + "name": "metadata", + "type": "primitive", + "range": [ + [ + 8, + 12 + ], + [ + 8, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "24": { + "name": "signatureForMetadata", + "type": "primitive", + "range": [ + [ + 9, + 24 + ], + [ + 9, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "7": { + "name": "md5", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 16, + 7 + ], + [ + 26, + 1 + ] + ], + "doc": " Private: Creates an `md5` hash of some text.\n\ntext - A {String} to hash.\n\nReturns a hashed {String}. " + } + }, + "26": { + "9": { + "name": "write", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "metadata" + ], + "range": [ + [ + 26, + 9 + ], + [ + 34, + 1 + ] + ], + "doc": " Public: Write the given text to the clipboard.\n\nThe metadata associated with the text is available by calling\n{::readWithMetadata}.\n\ntext - The {String} to store.\nmetadata - The additional info to associate with the text. " + } + }, + "34": { + "8": { + "name": "read", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 8 + ], + [ + 43, + 1 + ] + ], + "doc": " Public: Read the text from the clipboard.\n\nReturns a {String}. " + } + }, + "43": { + "20": { + "name": "readWithMetadata", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 20 + ], + [ + 48, + 12 + ] + ], + "doc": " Public: Read the text from the clipboard and return both the text and the\nassociated metadata.\n\nReturns an {Object} with the following keys:\n :text - The {String} clipboard text.\n :metadata - The metadata stored by an earlier call to {::write}. " + } + } + }, + "exports": 7 + }, + "src/coffee-cache.coffee": { + "objects": { + "0": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 0, + 9 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "3": { + "15": { + "name": "CoffeeScript", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 37 + ] + ], + "bindingType": "variable", + "module": "coffee-script" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.1" + } + }, + "8": { + "17": { + "name": "coffeeCacheDir", + "type": "function", + "range": [ + [ + 8, + 17 + ], + [ + 8, + 45 + ] + ] + } + }, + "11": { + "15": { + "name": "getCachePath", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "coffee" + ], + "range": [ + [ + 11, + 15 + ], + [ + 14, + 0 + ] + ], + "doc": "~Private~" + } + }, + "15": { + "22": { + "name": "getCachedJavaScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "cachePath" + ], + "range": [ + [ + 15, + 22 + ], + [ + 19, + 0 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "18": { + "name": "convertFilePath", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 20, + 18 + ], + [ + 24, + 0 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "22": { + "name": "compileCoffeeScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "coffee", + "filePath", + "cachePath" + ], + "range": [ + [ + 25, + 22 + ], + [ + 33, + 0 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "22": { + "name": "requireCoffeeScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "module", + "filePath" + ], + "range": [ + [ + 34, + 22 + ], + [ + 39, + 0 + ] + ] + } + }, + "41": { + "12": { + "name": "cacheDir", + "type": "primitive", + "range": [ + [ + 41, + 12 + ], + [ + 41, + 19 + ] + ] + } + }, + "42": { + "12": { + "name": "register", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 12 + ], + [ + 46, + 6 + ] + ], + "doc": null + } + } + }, + "exports": 41 + }, + "src/command-installer.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "2": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 22 + ] + ], + "bindingType": "variable", + "module": "async@~0.2.10" + } + }, + "3": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 3, + 5 + ], + [ + 3, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.1" + } + }, + "4": { + "9": { + "name": "mkdirp", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 24 + ] + ], + "bindingType": "variable", + "module": "mkdirp" + } + }, + "5": { + "8": { + "name": "runas", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "module": "runas@^1.0.1" + } + }, + "7": { + "17": { + "name": "symlinkCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "sourcePath", + "destinationPath", + "callback" + ], + "range": [ + [ + 7, + 17 + ], + [ + 17, + 0 + ] + ], + "doc": "~Private~" + } + }, + "18": { + "34": { + "name": "symlinkCommandWithPrivilegeSync", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "sourcePath", + "destinationPath" + ], + "range": [ + [ + 18, + 34 + ], + [ + 27, + 0 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "23": { + "name": "getInstallDirectory", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 23 + ], + [ + 32, + 1 + ] + ], + "doc": null + } + }, + "32": { + "11": { + "name": "install", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "commandPath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 32, + 11 + ], + [ + 52, + 1 + ] + ], + "doc": null + } + }, + "52": { + "22": { + "name": "installAtomCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "resourcePath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 52, + 22 + ], + [ + 56, + 1 + ] + ], + "doc": null + } + }, + "56": { + "21": { + "name": "installApmCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "resourcePath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 56, + 21 + ], + [ + 58, + 51 + ] + ], + "doc": null + } + } + }, + "exports": 29 + }, + "src/config.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "3": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "4": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "5": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "module": "async@~0.2.10" + } + }, + "6": { + "14": { + "name": "pathWatcher", + "type": "import", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 34 + ] + ], + "bindingType": "variable", + "module": "pathwatcher" + } + }, + "25": { + "0": { + "type": "class", + "name": "Config", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 36, + 29 + ], + [ + 52, + 8 + ], + [ + 57, + 18 + ], + [ + 72, + 21 + ], + [ + 76, + 23 + ], + [ + 80, + 15 + ], + [ + 91, + 21 + ], + [ + 95, + 15 + ], + [ + 104, + 7 + ], + [ + 114, + 10 + ], + [ + 125, + 18 + ], + [ + 136, + 7 + ], + [ + 152, + 10 + ], + [ + 160, + 18 + ], + [ + 168, + 14 + ], + [ + 178, + 13 + ], + [ + 187, + 17 + ], + [ + 199, + 20 + ], + [ + 211, + 19 + ], + [ + 231, + 11 + ], + [ + 253, + 13 + ], + [ + 256, + 10 + ], + [ + 261, + 8 + ] + ], + "doc": " Public: Used to access all of Atom's configuration details.\n\nAn instance of this class is always available as the `atom.config` global.\n\n## Best practices\n\n* Create your own root keypath using your package's name.\n* Don't depend on (or write to) configuration keys outside of your keypath.\n\n## Example\n\n```coffeescript\natom.config.set('my-package.key', 'value')\natom.config.observe 'my-package.key', ->\n console.log 'My configuration changed:', atom.config.get('my-package.key')\n``` ", + "range": [ + [ + 25, + 0 + ], + [ + 262, + 50 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 29, + 15 + ], + [ + 36, + 1 + ] + ], + "doc": "Private: Created during initialization, available as `atom.config` " + } + }, + "36": { + "29": { + "name": "initializeConfigDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "done" + ], + "range": [ + [ + 36, + 29 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 8 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "18": { + "name": "loadUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 18 + ], + [ + 72, + 1 + ] + ], + "doc": "~Private~" + } + }, + "72": { + "21": { + "name": "observeUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 72, + 21 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "23": { + "name": "unobserveUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 23 + ], + [ + 80, + 1 + ] + ], + "doc": "~Private~" + } + }, + "80": { + "15": { + "name": "setDefaults", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "defaults" + ], + "range": [ + [ + 80, + 15 + ], + [ + 91, + 1 + ] + ], + "doc": "~Private~" + } + }, + "91": { + "21": { + "name": "getUserConfigPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 21 + ], + [ + 95, + 1 + ] + ], + "doc": "Public: Get the {String} path to the config file being used. " + } + }, + "95": { + "15": { + "name": "getSettings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 95, + 15 + ], + [ + 104, + 1 + ] + ], + "doc": "Public: Returns a new {Object} containing all of settings and defaults. " + } + }, + "104": { + "7": { + "name": "get", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 104, + 7 + ], + [ + 114, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key.\n\nkeyPath - The {String} name of the key to retrieve.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `null` if the key doesn't exist in either. " + } + }, + "114": { + "10": { + "name": "getInt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 114, + 10 + ], + [ + 125, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key as an integer.\n\nkeyPath - The {String} name of the key to retrieve\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `NaN` if the key doesn't exist in either. " + } + }, + "125": { + "18": { + "name": "getPositiveInt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "defaultValue" + ], + "range": [ + [ + 125, + 18 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key as a positive integer.\n\nkeyPath - The {String} name of the key to retrieve\ndefaultValue - The integer {Number} to fall back to if the value isn't\n positive, defaults to 0.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `defaultValue` if the key value isn't greater than zero. " + } + }, + "136": { + "7": { + "name": "set", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 136, + 7 + ], + [ + 152, + 1 + ] + ], + "doc": " Public: Sets the value for a configuration setting.\n\nThis value is stored in Atom's internal configuration file.\n\nkeyPath - The {String} name of the key.\nvalue - The value of the setting.\n\nReturns the `value`. " + } + }, + "152": { + "10": { + "name": "toggle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 152, + 10 + ], + [ + 160, + 1 + ] + ], + "doc": " Public: Toggle the value at the key path.\n\nThe new value will be `true` if the value is currently falsy and will be\n`false` if the value is currently truthy.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " + } + }, + "160": { + "18": { + "name": "restoreDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 160, + 18 + ], + [ + 168, + 1 + ] + ], + "doc": " Public: Restore the key path to its default value.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " + } + }, + "168": { + "14": { + "name": "getDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 168, + 14 + ], + [ + 178, + 1 + ] + ], + "doc": " Public: Get the default value of the key path.\n\nkeyPath - The {String} name of the key.\n\nReturns the default value. " + } + }, + "178": { + "13": { + "name": "isDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 178, + 13 + ], + [ + 187, + 1 + ] + ], + "doc": " Public: Is the key path value its default value?\n\nkeyPath - The {String} name of the key.\n\nReturns a {Boolean}, `true` if the current value is the default, `false`\notherwise. " + } + }, + "187": { + "17": { + "name": "pushAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 187, + 17 + ], + [ + 199, + 1 + ] + ], + "doc": " Public: Push the value to the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to push to the array.\n\nReturns the new array length {Number} of the setting. " + } + }, + "199": { + "20": { + "name": "unshiftAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 199, + 20 + ], + [ + 211, + 1 + ] + ], + "doc": " Public: Add the value to the beginning of the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to shift onto the array.\n\nReturns the new array length {Number} of the setting. " + } + }, + "211": { + "19": { + "name": "removeAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 211, + 19 + ], + [ + 231, + 1 + ] + ], + "doc": " Public: Remove the value from the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to remove from the array.\n\nReturns the new array value of the setting. " + } + }, + "231": { + "11": { + "name": "observe", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "options", + "callback" + ], + "range": [ + [ + 231, + 11 + ], + [ + 253, + 1 + ] + ], + "doc": " Public: Establishes an event listener for a given key.\n\n`callback` is fired whenever the value of the key is changed and will\n be fired immediately unless the `callNow` option is `false`.\n\nkeyPath - The {String} name of the key to observe\noptions - An optional {Object} containing the `callNow` key.\ncallback - The {Function} to call when the value of the key changes.\n The first argument will be the new value of the key and the\n  second argument will be an {Object} with a `previous` property\n that is the prior value of the key.\n\nReturns an {Object} with the following keys:\n :off - A {Function} that unobserves the `keyPath` when called. " + } + }, + "253": { + "13": { + "name": "unobserve", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 253, + 13 + ], + [ + 256, + 1 + ] + ], + "doc": " Public: Unobserve all callbacks on a given key.\n\nkeyPath - The {String} name of the key to unobserve. " + } + }, + "256": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 10 + ], + [ + 261, + 1 + ] + ], + "doc": "~Private~" + } + }, + "261": { + "8": { + "name": "save", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 8 + ], + [ + 262, + 50 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 25 + }, + "src/context-menu-manager.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "2": { + "9": { + "name": "remote", + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 24 + ] + ], + "bindingType": "variable", + "module": "remote" + } + }, + "10": { + "0": { + "type": "class", + "name": "ContextMenuManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 33, + 7 + ], + [ + 45, + 17 + ], + [ + 60, + 17 + ], + [ + 66, + 25 + ], + [ + 82, + 38 + ], + [ + 91, + 34 + ], + [ + 105, + 24 + ], + [ + 111, + 16 + ] + ], + "doc": " Public: Provides a registry for commands that you'd like to appear in the\ncontext menu.\n\nAn instance of this class is always available as the `atom.contextMenu`\nglobal. ", + "range": [ + [ + 10, + 0 + ], + [ + 116, + 64 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 33, + 1 + ] + ] + } + }, + "33": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "object", + null + ], + "range": [ + [ + 33, + 7 + ], + [ + 45, + 1 + ] + ], + "doc": " Public: Creates menu definitions from the object specified by the menu\ncson API.\n\nname - The path of the file that contains the menu definitions.\nobject - The 'context-menu' object specified in the menu cson API.\noptions - An {Object} with the following keys:\n :devMode - Determines whether the entries should only be shown when\n the window is in dev mode.\n\nReturns nothing. " + } + }, + "45": { + "17": { + "name": "buildMenuItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "label", + "command" + ], + "range": [ + [ + 45, + 17 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "17": { + "name": "addBySelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "definition", + null + ], + "range": [ + [ + 60, + 17 + ], + [ + 66, + 1 + ] + ], + "doc": " Private: Registers a command to be displayed when the relevant item is right\nclicked.\n\nselector - The css selector for the active element which should include\n the given command in its context menu.\ndefinition - The object containing keys which match the menu template API.\noptions - An {Object} with the following keys:\n :devMode - Indicates whether this command should only appear while the\n editor is in dev mode. " + } + }, + "66": { + "25": { + "name": "definitionsForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element", + null + ], + "range": [ + [ + 66, + 25 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Returns definitions which match the element and devMode. " + } + }, + "82": { + "38": { + "name": "menuTemplateForMostSpecificElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element", + null + ], + "range": [ + [ + 82, + 38 + ], + [ + 91, + 1 + ] + ], + "doc": " Private: Used to generate the context menu for a specific element and it's\nparents.\n\nThe menu items are sorted such that menu items that match closest to the\nactive element are listed first. The further down the list you go, the higher\nup the ancestor hierarchy they match.\n\nelement - The DOM element to generate the menu template for. " + } + }, + "91": { + "34": { + "name": "combinedMenuTemplateForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 91, + 34 + ], + [ + 105, + 1 + ] + ], + "doc": " Private: Returns a menu template for both normal entries as well as\ndevelopment mode entries. " + } + }, + "105": { + "24": { + "name": "executeBuildHandlers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event", + "menuTemplate" + ], + "range": [ + [ + 105, + 24 + ], + [ + 111, + 1 + ] + ], + "doc": " Private: Executes `executeAtBuild` if defined for each menu item with\nthe provided event and then removes the `executeAtBuild` property from\nthe menu item.\n\nThis is useful for commands that need to provide data about the event\nto the command. " + } + }, + "111": { + "16": { + "name": "showForEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 111, + 16 + ], + [ + 116, + 64 + ] + ], + "doc": "Public: Request a context menu to be displayed. " + } + } + }, + "exports": 10 + }, + "src/cursor-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "18": { + "name": "CursorComponent", + "type": "function", + "range": [ + [ + 5, + 18 + ], + [ + 17, + 79 + ] + ] + } + }, + "6": { + "15": { + "name": "'CursorComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 31 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 16, + 1 + ] + ], + "doc": null + } + }, + "16": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 16, + 25 + ], + [ + 17, + 79 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/cursor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "4": { + "0": { + "type": "class", + "name": "CursorView", + "bindingType": "exports", + "classProperties": [ + [ + 5, + 12 + ], + [ + 8, + 16 + ], + [ + 10, + 17 + ], + [ + 13, + 18 + ], + [ + 19, + 17 + ] + ], + "prototypeProperties": [ + [ + 24, + 12 + ], + [ + 25, + 11 + ], + [ + 26, + 15 + ], + [ + 27, + 16 + ], + [ + 28, + 23 + ], + [ + 30, + 14 + ], + [ + 44, + 16 + ], + [ + 48, + 17 + ], + [ + 65, + 12 + ], + [ + 68, + 19 + ], + [ + 71, + 19 + ], + [ + 74, + 20 + ], + [ + 77, + 14 + ], + [ + 86, + 16 + ], + [ + 90, + 17 + ], + [ + 94, + 17 + ], + [ + 98, + 21 + ], + [ + 101, + 21 + ], + [ + 104, + 30 + ], + [ + 109, + 24 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 112, + 31 + ] + ] + } + }, + "5": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 12 + ], + [ + 8, + 1 + ] + ] + } + }, + "8": { + "16": { + "name": "blinkPeriod", + "type": "primitive", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 18 + ] + ], + "bindingType": "classProperty" + } + }, + "10": { + "17": { + "name": "blinkCursors", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 17 + ], + [ + 13, + 1 + ] + ], + "doc": "~Private~" + } + }, + "13": { + "18": { + "name": "startBlinking", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 13, + 18 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "17": { + "name": "stopBlinking", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 19, + 17 + ], + [ + 24, + 1 + ] + ], + "doc": "~Private~" + } + }, + "24": { + "12": { + "name": "blinking", + "type": "primitive", + "range": [ + [ + 24, + 12 + ], + [ + 24, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "25": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 25, + 11 + ], + [ + 25, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "26": { + "15": { + "name": "needsUpdate", + "type": "primitive", + "range": [ + [ + 26, + 15 + ], + [ + 26, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "27": { + "16": { + "name": "needsRemoval", + "type": "primitive", + "range": [ + [ + 27, + 16 + ], + [ + 27, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "28": { + "23": { + "name": "shouldPauseBlinking", + "type": "primitive", + "range": [ + [ + 28, + 23 + ], + [ + 28, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "30": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 30, + 14 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 16 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 17 + ], + [ + 65, + 1 + ] + ], + "doc": "~Private~" + } + }, + "65": { + "12": { + "name": "isHidden", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 65, + 12 + ], + [ + 68, + 1 + ] + ], + "doc": "Private: Override for speed. The base function checks the computedStyle " + } + }, + "68": { + "19": { + "name": "needsAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 19 + ], + [ + 71, + 1 + ] + ], + "doc": "~Private~" + } + }, + "71": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 71, + 19 + ], + [ + 74, + 1 + ] + ], + "doc": "~Private~" + } + }, + "74": { + "20": { + "name": "getPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 20 + ], + [ + 77, + 1 + ] + ], + "doc": "~Private~" + } + }, + "77": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 77, + 14 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "16": { + "name": "stopBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 16 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "17": { + "name": "startBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 17 + ], + [ + 94, + 1 + ] + ], + "doc": "~Private~" + } + }, + "94": { + "17": { + "name": "resetBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 17 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "21": { + "name": "getBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 21 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "21": { + "name": "getScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 21 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "30": { + "name": "removeIdleClassTemporarily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 30 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "24": { + "name": "resetCursorAnimation", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 24 + ], + [ + 112, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/cursor.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "10": { + "0": { + "type": "class", + "name": "Cursor", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 18 + ], + [ + 12, + 18 + ], + [ + 13, + 14 + ], + [ + 14, + 11 + ], + [ + 15, + 19 + ], + [ + 18, + 15 + ], + [ + 49, + 11 + ], + [ + 52, + 18 + ], + [ + 60, + 16 + ], + [ + 70, + 21 + ], + [ + 75, + 21 + ], + [ + 78, + 18 + ], + [ + 89, + 21 + ], + [ + 94, + 21 + ], + [ + 97, + 14 + ], + [ + 101, + 20 + ], + [ + 105, + 14 + ], + [ + 112, + 13 + ], + [ + 122, + 14 + ], + [ + 136, + 16 + ], + [ + 145, + 28 + ], + [ + 158, + 27 + ], + [ + 170, + 16 + ], + [ + 176, + 19 + ], + [ + 180, + 18 + ], + [ + 184, + 16 + ], + [ + 188, + 19 + ], + [ + 192, + 16 + ], + [ + 196, + 19 + ], + [ + 201, + 24 + ], + [ + 205, + 10 + ], + [ + 217, + 12 + ], + [ + 233, + 12 + ], + [ + 247, + 13 + ], + [ + 256, + 13 + ], + [ + 260, + 16 + ], + [ + 264, + 31 + ], + [ + 268, + 25 + ], + [ + 273, + 30 + ], + [ + 283, + 25 + ], + [ + 293, + 25 + ], + [ + 297, + 19 + ], + [ + 301, + 25 + ], + [ + 305, + 19 + ], + [ + 310, + 29 + ], + [ + 315, + 30 + ], + [ + 320, + 26 + ], + [ + 336, + 43 + ], + [ + 358, + 41 + ], + [ + 380, + 41 + ], + [ + 409, + 37 + ], + [ + 430, + 40 + ], + [ + 447, + 29 + ], + [ + 457, + 29 + ], + [ + 461, + 34 + ], + [ + 466, + 38 + ], + [ + 470, + 45 + ], + [ + 484, + 49 + ], + [ + 502, + 34 + ], + [ + 506, + 24 + ], + [ + 510, + 23 + ], + [ + 514, + 18 + ], + [ + 521, + 17 + ], + [ + 527, + 13 + ], + [ + 532, + 32 + ] + ], + "doc": " Public: The `Cursor` class represents the little blinking line identifying\nwhere text can be inserted.\n\nCursors belong to {Editor}s and have some metadata attached in the form\nof a {Marker}. ", + "range": [ + [ + 10, + 0 + ], + [ + 540, + 50 + ] + ] + } + }, + "11": { + "18": { + "name": "screenPosition", + "type": "primitive", + "range": [ + [ + 11, + 18 + ], + [ + 11, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "18": { + "name": "bufferPosition", + "type": "primitive", + "range": [ + [ + 12, + 18 + ], + [ + 12, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "13": { + "14": { + "name": "goalColumn", + "type": "primitive", + "range": [ + [ + 13, + 14 + ], + [ + 13, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 14, + 11 + ], + [ + 14, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "15": { + "19": { + "name": "needsAutoscroll", + "type": "primitive", + "range": [ + [ + 15, + 19 + ], + [ + 15, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 18, + 15 + ], + [ + 49, + 1 + ] + ], + "doc": "Private: Instantiated by an {Editor} " + } + }, + "49": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 11 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "18": { + "name": "changePosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options", + "fn" + ], + "range": [ + [ + 52, + 18 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "16": { + "name": "getPixelRect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 60, + 16 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "21": { + "name": "setScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 70, + 21 + ], + [ + 75, + 1 + ] + ], + "doc": " Public: Moves a cursor to a given screen position.\n\nscreenPosition - An {Array} of two numbers: the screen row, and the screen\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " + } + }, + "75": { + "21": { + "name": "getScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 75, + 21 + ], + [ + 78, + 1 + ] + ], + "doc": "Public: Returns the screen position of the cursor as an Array. " + } + }, + "78": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 78, + 18 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "setBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 89, + 21 + ], + [ + 94, + 1 + ] + ], + "doc": " Public: Moves a cursor to a given buffer position.\n\nbufferPosition - An {Array} of two numbers: the buffer row, and the buffer\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " + } + }, + "94": { + "21": { + "name": "getBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 21 + ], + [ + 97, + 1 + ] + ], + "doc": "Public: Returns the current buffer position as an Array. " + } + }, + "97": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 97, + 14 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "20": { + "name": "updateVisibility", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 20 + ], + [ + 105, + 1 + ] + ], + "doc": "Public: If the marker range is empty, the cursor is marked as being visible. " + } + }, + "105": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 105, + 14 + ], + [ + 112, + 1 + ] + ], + "doc": "Public: Sets whether the cursor is visible. " + } + }, + "112": { + "13": { + "name": "isVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 112, + 13 + ], + [ + 112, + 23 + ] + ], + "doc": "Public: Returns the visibility of the cursor. " + } + }, + "122": { + "14": { + "name": "wordRegExp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 122, + 14 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Get the RegExp used by the cursor to determine what a \"word\" is.\n\noptions: An optional {Object} with the following keys:\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the regex.\n (default: true)\n\nReturns a {RegExp}. " + } + }, + "136": { + "16": { + "name": "isLastCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 16 + ], + [ + 145, + 1 + ] + ], + "doc": " Public: Identifies if this cursor is the last in the {Editor}.\n\n\"Last\" is defined as the most recently added cursor.\n\nReturns a {Boolean}. " + } + }, + "145": { + "28": { + "name": "isSurroundedByWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 145, + 28 + ], + [ + 158, + 1 + ] + ], + "doc": " Public: Identifies if the cursor is surrounded by whitespace.\n\n\"Surrounded\" here means that the character directly before and after the\ncursor are both whitespace.\n\nReturns a {Boolean}. " + } + }, + "158": { + "27": { + "name": "isBetweenWordAndNonWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 27 + ], + [ + 170, + 1 + ] + ], + "doc": " Public: Returns whether the cursor is currently between a word and non-word\ncharacter. The non-word characters are defined by the\n`editor.nonWordCharacters` config value.\n\nThis method returns false if the character before or after the cursor is\nwhitespace.\n\nReturns a Boolean. " + } + }, + "170": { + "16": { + "name": "isInsideWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 170, + 16 + ], + [ + 176, + 1 + ] + ], + "doc": "Public: Returns whether this cursor is between a word's start and end. " + } + }, + "176": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 176, + 19 + ], + [ + 180, + 1 + ] + ], + "doc": "Public: Prevents this cursor from causing scrolling. " + } + }, + "180": { + "18": { + "name": "clearSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 180, + 18 + ], + [ + 184, + 1 + ] + ], + "doc": "Public: Deselects the current selection. " + } + }, + "184": { + "16": { + "name": "getScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 184, + 16 + ], + [ + 188, + 1 + ] + ], + "doc": "Public: Returns the cursor's current screen row. " + } + }, + "188": { + "19": { + "name": "getScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 19 + ], + [ + 192, + 1 + ] + ], + "doc": "Public: Returns the cursor's current screen column. " + } + }, + "192": { + "16": { + "name": "getBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 192, + 16 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Retrieves the cursor's current buffer row. " + } + }, + "196": { + "19": { + "name": "getBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 196, + 19 + ], + [ + 201, + 1 + ] + ], + "doc": "Public: Returns the cursor's current buffer column. " + } + }, + "201": { + "24": { + "name": "getCurrentBufferLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 201, + 24 + ], + [ + 205, + 1 + ] + ], + "doc": " Public: Returns the cursor's current buffer row of text excluding its line\nending. " + } + }, + "205": { + "10": { + "name": "moveUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount", + null + ], + "range": [ + [ + 205, + 10 + ], + [ + 217, + 1 + ] + ], + "doc": "Public: Moves the cursor up one screen row. " + } + }, + "217": { + "12": { + "name": "moveDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount", + null + ], + "range": [ + [ + 217, + 12 + ], + [ + 233, + 1 + ] + ], + "doc": "Public: Moves the cursor down one screen row. " + } + }, + "233": { + "12": { + "name": "moveLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 233, + 12 + ], + [ + 247, + 1 + ] + ], + "doc": " Public: Moves the cursor left one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the left of the selection if a\n selection exists. " + } + }, + "247": { + "13": { + "name": "moveRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 247, + 13 + ], + [ + 256, + 1 + ] + ], + "doc": " Public: Moves the cursor right one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the right of the selection if a\n selection exists. " + } + }, + "256": { + "13": { + "name": "moveToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 13 + ], + [ + 260, + 1 + ] + ], + "doc": "Public: Moves the cursor to the top of the buffer. " + } + }, + "260": { + "16": { + "name": "moveToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 16 + ], + [ + 264, + 1 + ] + ], + "doc": "Public: Moves the cursor to the bottom of the buffer. " + } + }, + "264": { + "31": { + "name": "moveToBeginningOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 264, + 31 + ], + [ + 268, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the line. " + } + }, + "268": { + "25": { + "name": "moveToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 268, + 25 + ], + [ + 273, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the buffer line. " + } + }, + "273": { + "30": { + "name": "moveToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 273, + 30 + ], + [ + 283, + 1 + ] + ], + "doc": " Public: Moves the cursor to the beginning of the first character in the\nline. " + } + }, + "283": { + "25": { + "name": "skipLeadingWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 283, + 25 + ], + [ + 293, + 1 + ] + ], + "doc": " Public: Moves the cursor to the beginning of the buffer line, skipping all\nwhitespace. " + } + }, + "293": { + "25": { + "name": "moveToEndOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 293, + 25 + ], + [ + 297, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the line. " + } + }, + "297": { + "19": { + "name": "moveToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 19 + ], + [ + 301, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the buffer line. " + } + }, + "301": { + "25": { + "name": "moveToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 301, + 25 + ], + [ + 305, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the word. " + } + }, + "305": { + "19": { + "name": "moveToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 305, + 19 + ], + [ + 310, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the word. " + } + }, + "310": { + "29": { + "name": "moveToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 310, + 29 + ], + [ + 315, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the next word. " + } + }, + "315": { + "30": { + "name": "moveToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 30 + ], + [ + 320, + 1 + ] + ], + "doc": "Public: Moves the cursor to the previous word boundary. " + } + }, + "320": { + "26": { + "name": "moveToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 320, + 26 + ], + [ + 336, + 1 + ] + ], + "doc": "Public: Moves the cursor to the next word boundary. " + } + }, + "336": { + "43": { + "name": "getBeginningOfCurrentWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 336, + 43 + ], + [ + 358, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the current word starts.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n :allowPrevious - A {Boolean} indicating whether the beginning of the\n previous word can be returned.\n\nReturns a {Range}. " + } + }, + "358": { + "41": { + "name": "getPreviousWordBoundaryBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 358, + 41 + ], + [ + 380, + 1 + ] + ], + "doc": " Public: Retrieves buffer position of previous word boundary. It might be on\nthe current word, or the previous word. " + } + }, + "380": { + "41": { + "name": "getMoveNextWordBoundaryBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 380, + 41 + ], + [ + 409, + 1 + ] + ], + "doc": " Public: Retrieves buffer position of the next word boundary. It might be on\nthe current word, or the previous word. " + } + }, + "409": { + "37": { + "name": "getEndOfCurrentWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 409, + 37 + ], + [ + 430, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the current word ends.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp})\n :includeNonWordCharacters - A Boolean indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n\nReturns a {Range}. " + } + }, + "430": { + "40": { + "name": "getBeginningOfNextWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 430, + 40 + ], + [ + 447, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the next word starts.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n\nReturns a {Range}. " + } + }, + "447": { + "29": { + "name": "getCurrentWordBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 447, + 29 + ], + [ + 457, + 1 + ] + ], + "doc": " Public: Returns the buffer Range occupied by the word located under the cursor.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}). " + } + }, + "457": { + "29": { + "name": "getCurrentLineBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 457, + 29 + ], + [ + 461, + 1 + ] + ], + "doc": " Public: Returns the buffer Range for the current line.\n\noptions -\n :includeNewline: - A {Boolean} which controls whether the Range should\n include the newline. " + } + }, + "461": { + "34": { + "name": "moveToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 461, + 34 + ], + [ + 466, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the next paragraph " + } + }, + "466": { + "38": { + "name": "moveToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 466, + 38 + ], + [ + 470, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the previous paragraph " + } + }, + "470": { + "45": { + "name": "getBeginningOfNextParagraphBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 470, + 45 + ], + [ + 484, + 1 + ] + ], + "doc": "~Private~" + } + }, + "484": { + "49": { + "name": "getBeginningOfPreviousParagraphBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 484, + 49 + ], + [ + 502, + 1 + ] + ], + "doc": "~Private~" + } + }, + "502": { + "34": { + "name": "getCurrentParagraphBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 502, + 34 + ], + [ + 506, + 1 + ] + ], + "doc": " Public: Retrieves the range for the current paragraph.\n\nA paragraph is defined as a block of text surrounded by empty lines.\n\nReturns a {Range}. " + } + }, + "506": { + "24": { + "name": "getCurrentWordPrefix", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 506, + 24 + ], + [ + 510, + 1 + ] + ], + "doc": "Public: Returns the characters preceding the cursor in the current word. " + } + }, + "510": { + "23": { + "name": "isAtBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 510, + 23 + ], + [ + 514, + 1 + ] + ], + "doc": "Public: Returns whether the cursor is at the start of a line. " + } + }, + "514": { + "18": { + "name": "getIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 514, + 18 + ], + [ + 521, + 1 + ] + ], + "doc": "Public: Returns the indentation level of the current line. " + } + }, + "521": { + "17": { + "name": "isAtEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 521, + 17 + ], + [ + 527, + 1 + ] + ], + "doc": "Public: Returns whether the cursor is on the line return character. " + } + }, + "527": { + "13": { + "name": "getScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 527, + 13 + ], + [ + 532, + 1 + ] + ], + "doc": " Public: Retrieves the grammar's token scopes for the line.\n\nReturns an {Array} of {String}s. " + } + }, + "532": { + "32": { + "name": "hasPrecedingCharactersOnLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 532, + 32 + ], + [ + 540, + 50 + ] + ], + "doc": " Public: Returns true if this cursor has no non-whitespace characters before\nits current position. " + } + } + }, + "exports": 10 + }, + "src/cursors-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "debounce", + "exportsProperty": "debounce" + }, + "11": { + "type": "import", + "range": [ + [ + 2, + 11 + ], + [ + 2, + 17 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "toArray", + "exportsProperty": "toArray" + }, + "20": { + "type": "import", + "range": [ + [ + 2, + 20 + ], + [ + 2, + 39 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "42": { + "type": "import", + "range": [ + [ + 2, + 42 + ], + [ + 2, + 48 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "isEqual", + "exportsProperty": "isEqual" + } + }, + "3": { + "18": { + "name": "SubscriberMixin", + "type": "import", + "range": [ + [ + 3, + 18 + ], + [ + 3, + 45 + ] + ], + "bindingType": "variable", + "path": "./subscriber-mixin" + } + }, + "4": { + "18": { + "name": "CursorComponent", + "type": "import", + "range": [ + [ + 4, + 18 + ], + [ + 4, + 45 + ] + ], + "bindingType": "variable", + "path": "./cursor-component" + } + }, + "7": { + "19": { + "name": "CursorsComponent", + "type": "function", + "range": [ + [ + 7, + 19 + ], + [ + 60, + 37 + ] + ] + } + }, + "8": { + "15": { + "name": "'CursorsComponent'", + "type": "primitive", + "range": [ + [ + 8, + 15 + ], + [ + 8, + 32 + ] + ] + } + }, + "9": { + "10": { + "type": "primitive", + "range": [ + [ + 9, + 10 + ], + [ + 9, + 26 + ] + ] + } + }, + "11": { + "29": { + "type": "primitive", + "range": [ + [ + 11, + 29 + ], + [ + 11, + 32 + ] + ] + } + }, + "13": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 10 + ], + [ + 25, + 1 + ] + ], + "doc": null + } + }, + "25": { + "19": { + "name": "getInitialState", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 19 + ], + [ + 28, + 1 + ] + ], + "doc": null + } + }, + "28": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 21 + ], + [ + 31, + 1 + ] + ], + "doc": null + } + }, + "31": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 31, + 24 + ], + [ + 34, + 1 + ] + ], + "doc": null + } + }, + "34": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps", + "newState" + ], + "range": [ + [ + 34, + 25 + ], + [ + 38, + 1 + ] + ], + "doc": null + } + }, + "38": { + "23": { + "name": "componentWillUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 38, + 23 + ], + [ + 45, + 1 + ] + ], + "doc": null + } + }, + "45": { + "24": { + "name": "startBlinkingCursors", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 24 + ], + [ + 48, + 1 + ] + ], + "doc": null + } + }, + "48": { + "34": { + "type": "primitive", + "range": [ + [ + 48, + 34 + ], + [ + 48, + 37 + ] + ] + } + }, + "50": { + "23": { + "name": "stopBlinkingCursors", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 23 + ], + [ + 53, + 1 + ] + ], + "doc": null + } + }, + "53": { + "21": { + "name": "toggleCursorBlink", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 21 + ], + [ + 56, + 1 + ] + ], + "doc": null + } + }, + "56": { + "23": { + "name": "pauseCursorBlinking", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 23 + ], + [ + 60, + 37 + ] + ], + "doc": null + } + } + }, + "exports": 7 + }, + "src/custom-event-mixin.coffee": { + "objects": { + "2": { + "2": { + "type": "primitive", + "range": [ + [ + 2, + 2 + ], + [ + 14, + 52 + ] + ] + }, + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 2, + 22 + ], + [ + 5, + 1 + ] + ], + "doc": null + } + }, + "5": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 24 + ], + [ + 10, + 1 + ] + ], + "doc": null + } + }, + "10": { + "27": { + "name": "addCustomEventListeners", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "customEventListeners" + ], + "range": [ + [ + 10, + 27 + ], + [ + 14, + 52 + ] + ], + "doc": null + } + } + }, + "exports": 2 + }, + "src/decoration.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Subscriber", + "exportsProperty": "Subscriber" + }, + "13": { + "type": "import", + "range": [ + [ + 1, + 13 + ], + [ + 1, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "3": { + "12": { + "name": "0", + "type": "primitive", + "range": [ + [ + 3, + 12 + ], + [ + 3, + 12 + ] + ] + } + }, + "4": { + "9": { + "name": "nextId", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 4, + 9 + ], + [ + 4, + 22 + ] + ] + } + }, + "40": { + "0": { + "type": "class", + "name": "Decoration", + "bindingType": "exports", + "classProperties": [ + [ + 43, + 11 + ] + ], + "prototypeProperties": [ + [ + 49, + 15 + ], + [ + 59, + 11 + ], + [ + 70, + 10 + ], + [ + 79, + 13 + ], + [ + 82, + 13 + ], + [ + 89, + 10 + ], + [ + 92, + 18 + ], + [ + 98, + 9 + ], + [ + 104, + 20 + ] + ], + "doc": " Public: Represents a decoration that follows a {Marker}. A decoration is\nbasically a visual representation of a marker. It allows you to add CSS\nclasses to line numbers in the gutter, lines, and add selection-line regions\naround marked ranges of text.\n\n{Decoration} objects are not meant to be created directly, but created with\n{Editor::decorateMarker}. eg.\n\n```coffee\nrange = editor.getSelectedBufferRange() # any range you like\nmarker = editor.markBufferRange(range)\ndecoration = editor.decorateMarker(marker, {type: 'line', class: 'my-line-class'})\n```\n\nBest practice for destorying the decoration is by destroying the {Marker}.\n\n```\nmarker.destroy()\n```\n\nYou should only use {Decoration::destroy} when you still need or do not own\nthe marker.\n\n### IDs\nEach {Decoration} has a unique ID available via `decoration.id`.\n\n### Events\nA couple of events are emitted:\n\n* `destroyed`: When the {Decoration} is destroyed\n* `updated`: When the {Decoration} is updated via {Decoration::update}.\n Event object has properties `oldParams` and `newParams`\n\n ", + "range": [ + [ + 40, + 0 + ], + [ + 106, + 8 + ] + ] + } + }, + "43": { + "11": { + "name": "isType", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "decorationParams", + "type" + ], + "range": [ + [ + 43, + 11 + ], + [ + 49, + 1 + ] + ], + "doc": "~Private~" + } + }, + "49": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null, + null + ], + "range": [ + [ + 49, + 15 + ], + [ + 59, + 1 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 11 + ], + [ + 70, + 1 + ] + ], + "doc": " Public: Destroy this marker.\n\nIf you own the marker, you should use {Marker::destroy} which will destroy\nthis decoration. " + } + }, + "70": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "newParams" + ], + "range": [ + [ + 70, + 10 + ], + [ + 79, + 1 + ] + ], + "doc": " Public: Update the marker with new params. Allows you to change the decoration's class.\n\n```\ndecoration.update({type: 'gutter', class: 'my-new-class'})\n``` " + } + }, + "79": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 13 + ], + [ + 79, + 22 + ] + ], + "doc": "Public: Returns the marker associated with this {Decoration} " + } + }, + "82": { + "13": { + "name": "getParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 13 + ], + [ + 82, + 22 + ] + ], + "doc": "Public: Returns the {Decoration}'s params. " + } + }, + "89": { + "10": { + "name": "isType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "type" + ], + "range": [ + [ + 89, + 10 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "18": { + "name": "matchesPattern", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decorationPattern" + ], + "range": [ + [ + 92, + 18 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "9": { + "name": "flash", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass", + "duration" + ], + "range": [ + [ + 98, + 9 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "20": { + "name": "consumeNextFlash", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 20 + ], + [ + 106, + 8 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 40 + }, + "src/deserializer-manager.coffee": { + "objects": { + "20": { + "0": { + "type": "class", + "name": "DeserializerManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 21, + 15 + ], + [ + 27, + 7 + ], + [ + 33, + 10 + ], + [ + 41, + 15 + ], + [ + 54, + 7 + ] + ], + "doc": " Public: Manages the deserializers used for serialized state\n\nAn instance of this class is always available as the `atom.deserializers`\nglobal.\n\n### Registering a deserializer\n\n```coffee\nclass MyPackageView extends View\n atom.deserializers.add(this)\n\n @deserialize: (state) ->\n new MyPackageView(state)\n\n constructor: (@state) ->\n\n serialize: ->\n @state\n``` ", + "range": [ + [ + 20, + 0 + ], + [ + 58, + 24 + ] + ] + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 15 + ], + [ + 27, + 1 + ] + ] + } + }, + "27": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "classes" + ], + "range": [ + [ + 27, + 7 + ], + [ + 33, + 1 + ] + ], + "doc": " Public: Register the given class(es) as deserializers.\n\nclasses - One or more classes to register. " + } + }, + "33": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "classes" + ], + "range": [ + [ + 33, + 10 + ], + [ + 41, + 1 + ] + ], + "doc": " Public: Remove the given class(es) as deserializers.\n\nclasses - One or more classes to remove. " + } + }, + "41": { + "15": { + "name": "deserialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state", + "params" + ], + "range": [ + [ + 41, + 15 + ], + [ + 54, + 1 + ] + ], + "doc": " Public: Deserialize the state and params.\n\nstate - The state {Object} to deserialize.\nparams - The params {Object} to pass as the second arguments to the\n deserialize method of the deserializer. " + } + }, + "54": { + "7": { + "name": "get", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 54, + 7 + ], + [ + 58, + 24 + ] + ], + "doc": " Private: Get the deserializer for the state.\n\nstate - The state {Object} being deserialized. " + } + } + }, + "exports": 20 + }, + "src/display-buffer-marker.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 2, + 10 + ], + [ + 2, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "5": { + "0": { + "type": "class", + "name": "DisplayBufferMarker", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 9, + 28 + ], + [ + 10, + 25 + ], + [ + 11, + 25 + ], + [ + 12, + 25 + ], + [ + 13, + 25 + ], + [ + 14, + 12 + ], + [ + 16, + 15 + ], + [ + 27, + 8 + ], + [ + 33, + 18 + ], + [ + 40, + 18 + ], + [ + 46, + 18 + ], + [ + 53, + 18 + ], + [ + 56, + 17 + ], + [ + 62, + 25 + ], + [ + 69, + 25 + ], + [ + 76, + 25 + ], + [ + 83, + 25 + ], + [ + 89, + 25 + ], + [ + 96, + 25 + ], + [ + 103, + 25 + ], + [ + 110, + 25 + ], + [ + 117, + 26 + ], + [ + 124, + 26 + ], + [ + 131, + 24 + ], + [ + 138, + 24 + ], + [ + 146, + 13 + ], + [ + 150, + 13 + ], + [ + 153, + 11 + ], + [ + 157, + 14 + ], + [ + 162, + 11 + ], + [ + 169, + 15 + ], + [ + 172, + 17 + ], + [ + 175, + 17 + ], + [ + 178, + 21 + ], + [ + 183, + 11 + ], + [ + 187, + 11 + ], + [ + 191, + 11 + ], + [ + 195, + 11 + ], + [ + 198, + 13 + ], + [ + 202, + 19 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 230, + 23 + ] + ] + } + }, + "9": { + "28": { + "name": "bufferMarkerSubscription", + "type": "primitive", + "range": [ + [ + 9, + 28 + ], + [ + 9, + 31 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "25": { + "name": "oldHeadBufferPosition", + "type": "primitive", + "range": [ + [ + 10, + 25 + ], + [ + 10, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "11": { + "25": { + "name": "oldHeadScreenPosition", + "type": "primitive", + "range": [ + [ + 11, + 25 + ], + [ + 11, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "25": { + "name": "oldTailBufferPosition", + "type": "primitive", + "range": [ + [ + 12, + 25 + ], + [ + 12, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "13": { + "25": { + "name": "oldTailScreenPosition", + "type": "primitive", + "range": [ + [ + 13, + 25 + ], + [ + 13, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "12": { + "name": "wasValid", + "type": "primitive", + "range": [ + [ + 14, + 12 + ], + [ + 14, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 16, + 15 + ], + [ + 27, + 1 + ] + ], + "doc": "~Private~" + } + }, + "27": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 27, + 8 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 33, + 18 + ], + [ + 40, + 1 + ] + ], + "doc": " Private: Gets the screen range of the display marker.\n\nReturns a {Range}. " + } + }, + "40": { + "18": { + "name": "setScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 40, + 18 + ], + [ + 46, + 1 + ] + ], + "doc": " Private: Modifies the screen range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " + } + }, + "46": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 46, + 18 + ], + [ + 53, + 1 + ] + ], + "doc": " Private: Gets the buffer range of the display marker.\n\nReturns a {Range}. " + } + }, + "53": { + "18": { + "name": "setBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 53, + 18 + ], + [ + 56, + 1 + ] + ], + "doc": " Private: Modifies the buffer range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " + } + }, + "56": { + "17": { + "name": "getPixelRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 17 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "25": { + "name": "getHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 62, + 25 + ], + [ + 69, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's head.\n\nReturns a {Point}. " + } + }, + "69": { + "25": { + "name": "setHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 69, + 25 + ], + [ + 76, + 1 + ] + ], + "doc": " Private: Sets the screen position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "76": { + "25": { + "name": "getHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 25 + ], + [ + 83, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's head.\n\nReturns a {Point}. " + } + }, + "83": { + "25": { + "name": "setHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 83, + 25 + ], + [ + 89, + 1 + ] + ], + "doc": " Private: Sets the buffer position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "89": { + "25": { + "name": "getTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 25 + ], + [ + 96, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's tail.\n\nReturns a {Point}. " + } + }, + "96": { + "25": { + "name": "setTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 96, + 25 + ], + [ + 103, + 1 + ] + ], + "doc": " Private: Sets the screen position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "103": { + "25": { + "name": "getTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 103, + 25 + ], + [ + 110, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's tail.\n\nReturns a {Point}. " + } + }, + "110": { + "25": { + "name": "setTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 110, + 25 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: Sets the buffer position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "117": { + "26": { + "name": "getStartScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 26 + ], + [ + 124, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndScreenPosition}.\n\nReturns a {Point}. " + } + }, + "124": { + "26": { + "name": "getStartBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 26 + ], + [ + 131, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndBufferPosition}.\n\nReturns a {Point}. " + } + }, + "131": { + "24": { + "name": "getEndScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 131, + 24 + ], + [ + 138, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartScreenPosition}.\n\nReturns a {Point}. " + } + }, + "138": { + "24": { + "name": "getEndBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 24 + ], + [ + 146, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartBufferPosition}.\n\nReturns a {Point}. " + } + }, + "146": { + "13": { + "name": "plantTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 146, + 13 + ], + [ + 150, + 1 + ] + ], + "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " + } + }, + "150": { + "13": { + "name": "clearTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 150, + 13 + ], + [ + 153, + 1 + ] + ], + "doc": "Private: Removes the tail from the marker. " + } + }, + "153": { + "11": { + "name": "hasTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 153, + 11 + ], + [ + 157, + 1 + ] + ], + "doc": "~Private~" + } + }, + "157": { + "14": { + "name": "isReversed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 157, + 14 + ], + [ + 162, + 1 + ] + ], + "doc": "Private: Returns whether the head precedes the tail in the buffer " + } + }, + "162": { + "11": { + "name": "isValid", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 11 + ], + [ + 169, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the marker is valid. Markers can be\ninvalidated when a region surrounding them in the buffer is changed. " + } + }, + "169": { + "15": { + "name": "isDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 169, + 15 + ], + [ + 172, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the marker has been destroyed. A marker\ncan be invalid without being destroyed, in which case undoing the invalidating\noperation would restore the marker. Once a marker is destroyed by calling\n{Marker::destroy}, no undo/redo operation can ever bring it back. " + } + }, + "172": { + "17": { + "name": "getAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 172, + 17 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "17": { + "name": "setAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 175, + 17 + ], + [ + 178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "178": { + "21": { + "name": "matchesAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 178, + 21 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 183, + 11 + ], + [ + 187, + 1 + ] + ], + "doc": "Private: Destroys the marker " + } + }, + "187": { + "11": { + "name": "isEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 187, + 11 + ], + [ + 191, + 1 + ] + ], + "doc": "~Private~" + } + }, + "191": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 191, + 11 + ], + [ + 195, + 1 + ] + ], + "doc": "~Private~" + } + }, + "195": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 195, + 11 + ], + [ + 198, + 1 + ] + ], + "doc": "Private: Returns a {String} representation of the marker " + } + }, + "198": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 198, + 13 + ], + [ + 202, + 1 + ] + ], + "doc": "~Private~" + } + }, + "202": { + "19": { + "name": "notifyObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 202, + 19 + ], + [ + 230, + 23 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "src/display-buffer.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "2": { + "7": { + "name": "guid", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "guid" + } + }, + "3": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "6": { + "18": { + "name": "TokenizedBuffer", + "type": "import", + "range": [ + [ + 6, + 18 + ], + [ + 6, + 45 + ] + ], + "bindingType": "variable", + "path": "./tokenized-buffer" + } + }, + "7": { + "9": { + "name": "RowMap", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 27 + ] + ], + "bindingType": "variable", + "path": "./row-map" + } + }, + "8": { + "7": { + "name": "Fold", + "type": "import", + "range": [ + [ + 8, + 7 + ], + [ + 8, + 22 + ] + ], + "bindingType": "variable", + "path": "./fold" + } + }, + "9": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 9, + 8 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "10": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "11": { + "22": { + "name": "DisplayBufferMarker", + "type": "import", + "range": [ + [ + 11, + 22 + ], + [ + 11, + 54 + ] + ], + "bindingType": "variable", + "path": "./display-buffer-marker" + } + }, + "13": { + "0": { + "type": "class", + "name": "BufferToScreenConversionError", + "classProperties": [], + "prototypeProperties": [ + [ + 14, + 15 + ] + ], + "doc": "~Private~", + "range": [ + [ + 13, + 0 + ], + [ + 17, + 0 + ] + ] + } + }, + "14": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 14, + 15 + ], + [ + 17, + 0 + ] + ] + } + }, + "19": { + "0": { + "type": "class", + "name": "DisplayBuffer", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 34, + 24 + ], + [ + 35, + 26 + ], + [ + 36, + 29 + ], + [ + 37, + 26 + ], + [ + 38, + 36 + ], + [ + 40, + 15 + ], + [ + 70, + 19 + ], + [ + 78, + 21 + ], + [ + 82, + 8 + ], + [ + 91, + 24 + ], + [ + 97, + 15 + ], + [ + 104, + 28 + ], + [ + 115, + 14 + ], + [ + 117, + 27 + ], + [ + 118, + 27 + ], + [ + 120, + 29 + ], + [ + 121, + 29 + ], + [ + 123, + 32 + ], + [ + 124, + 32 + ], + [ + 126, + 29 + ], + [ + 127, + 29 + ], + [ + 129, + 13 + ], + [ + 138, + 13 + ], + [ + 140, + 19 + ], + [ + 146, + 18 + ], + [ + 152, + 26 + ], + [ + 160, + 24 + ], + [ + 167, + 12 + ], + [ + 176, + 12 + ], + [ + 183, + 16 + ], + [ + 184, + 16 + ], + [ + 190, + 19 + ], + [ + 193, + 19 + ], + [ + 194, + 19 + ], + [ + 198, + 17 + ], + [ + 199, + 17 + ], + [ + 206, + 20 + ], + [ + 209, + 18 + ], + [ + 210, + 18 + ], + [ + 214, + 25 + ], + [ + 215, + 25 + ], + [ + 217, + 23 + ], + [ + 218, + 23 + ], + [ + 224, + 18 + ], + [ + 226, + 22 + ], + [ + 229, + 23 + ], + [ + 237, + 29 + ], + [ + 244, + 22 + ], + [ + 249, + 26 + ], + [ + 253, + 25 + ], + [ + 256, + 19 + ], + [ + 261, + 18 + ], + [ + 264, + 22 + ], + [ + 273, + 29 + ], + [ + 277, + 38 + ], + [ + 281, + 23 + ], + [ + 311, + 26 + ], + [ + 314, + 26 + ], + [ + 317, + 27 + ], + [ + 333, + 16 + ], + [ + 339, + 16 + ], + [ + 343, + 15 + ], + [ + 346, + 15 + ], + [ + 351, + 25 + ], + [ + 359, + 25 + ], + [ + 367, + 21 + ], + [ + 378, + 14 + ], + [ + 387, + 16 + ], + [ + 393, + 12 + ], + [ + 396, + 22 + ], + [ + 406, + 27 + ], + [ + 416, + 14 + ], + [ + 422, + 23 + ], + [ + 425, + 23 + ], + [ + 429, + 21 + ], + [ + 435, + 19 + ], + [ + 446, + 34 + ], + [ + 454, + 28 + ], + [ + 466, + 34 + ], + [ + 477, + 34 + ], + [ + 482, + 34 + ], + [ + 493, + 28 + ], + [ + 502, + 25 + ], + [ + 505, + 29 + ], + [ + 513, + 25 + ], + [ + 521, + 29 + ], + [ + 532, + 29 + ], + [ + 538, + 28 + ], + [ + 542, + 34 + ], + [ + 561, + 34 + ], + [ + 581, + 34 + ], + [ + 587, + 16 + ], + [ + 593, + 14 + ], + [ + 599, + 20 + ], + [ + 605, + 23 + ], + [ + 617, + 35 + ], + [ + 651, + 35 + ], + [ + 661, + 27 + ], + [ + 664, + 33 + ], + [ + 672, + 26 + ], + [ + 678, + 14 + ], + [ + 684, + 14 + ], + [ + 688, + 17 + ], + [ + 704, + 22 + ], + [ + 740, + 18 + ], + [ + 758, + 20 + ], + [ + 761, + 19 + ], + [ + 764, + 32 + ], + [ + 771, + 18 + ], + [ + 793, + 20 + ], + [ + 804, + 33 + ], + [ + 810, + 31 + ], + [ + 818, + 21 + ], + [ + 826, + 13 + ], + [ + 836, + 14 + ], + [ + 839, + 18 + ], + [ + 848, + 19 + ], + [ + 858, + 19 + ], + [ + 867, + 22 + ], + [ + 876, + 22 + ], + [ + 882, + 17 + ], + [ + 891, + 14 + ], + [ + 912, + 15 + ], + [ + 916, + 33 + ], + [ + 954, + 18 + ], + [ + 957, + 19 + ], + [ + 960, + 27 + ], + [ + 963, + 24 + ], + [ + 966, + 25 + ], + [ + 970, + 32 + ], + [ + 974, + 13 + ], + [ + 979, + 12 + ], + [ + 984, + 31 + ], + [ + 989, + 21 + ], + [ + 1015, + 20 + ], + [ + 1061, + 21 + ], + [ + 1083, + 22 + ], + [ + 1088, + 30 + ], + [ + 1093, + 29 + ], + [ + 1097, + 23 + ], + [ + 1101, + 17 + ] + ], + "doc": "~Private~", + "range": [ + [ + 19, + 0 + ], + [ + 1102, + 31 + ] + ] + } + }, + "34": { + "24": { + "name": "verticalScrollMargin", + "type": "primitive", + "range": [ + [ + 34, + 24 + ], + [ + 34, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "35": { + "26": { + "name": "horizontalScrollMargin", + "type": "primitive", + "range": [ + [ + 35, + 26 + ], + [ + 35, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "36": { + "29": { + "name": "horizontalScrollbarHeight", + "type": "primitive", + "range": [ + [ + 36, + 29 + ], + [ + 36, + 30 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "37": { + "26": { + "name": "verticalScrollbarWidth", + "type": "primitive", + "range": [ + [ + 37, + 26 + ], + [ + 37, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "38": { + "36": { + "name": "scopedCharacterWidthsChangeCount", + "type": "primitive", + "range": [ + [ + 38, + 36 + ], + [ + 38, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "40": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 40, + 15 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 70, + 19 + ], + [ + 78, + 1 + ] + ], + "doc": "~Private~" + } + }, + "78": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 78, + 21 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 8 + ], + [ + 91, + 1 + ] + ], + "doc": "~Private~" + } + }, + "91": { + "24": { + "name": "updateAllScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 24 + ], + [ + 97, + 1 + ] + ], + "doc": "~Private~" + } + }, + "97": { + "15": { + "name": "emitChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventProperties", + "refreshMarkers" + ], + "range": [ + [ + 97, + 15 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "28": { + "name": "updateWrappedScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 28 + ], + [ + 115, + 1 + ] + ], + "doc": "~Private~" + } + }, + "115": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 115, + 14 + ], + [ + 115, + 62 + ] + ], + "doc": " Private: Sets the visibility of the tokenized buffer.\n\nvisible - A {Boolean} indicating of the tokenized buffer is shown " + } + }, + "117": { + "27": { + "name": "getVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 27 + ], + [ + 117, + 50 + ] + ], + "doc": "~Private~" + } + }, + "118": { + "27": { + "name": "setVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 118, + 27 + ], + [ + 118, + 74 + ] + ] + } + }, + "120": { + "29": { + "name": "getHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 120, + 29 + ], + [ + 120, + 54 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "29": { + "name": "setHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 121, + 29 + ], + [ + 121, + 80 + ] + ] + } + }, + "123": { + "32": { + "name": "getHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 123, + 32 + ], + [ + 123, + 60 + ] + ], + "doc": "~Private~" + } + }, + "124": { + "32": { + "name": "setHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 124, + 32 + ], + [ + 124, + 89 + ] + ] + } + }, + "126": { + "29": { + "name": "getVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 29 + ], + [ + 126, + 54 + ] + ], + "doc": "~Private~" + } + }, + "127": { + "29": { + "name": "setVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 127, + 29 + ], + [ + 127, + 80 + ] + ] + } + }, + "129": { + "13": { + "name": "getHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 129, + 13 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "13": { + "name": "setHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 138, + 13 + ], + [ + 138, + 32 + ] + ], + "doc": "~Private~" + } + }, + "140": { + "19": { + "name": "getClientHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 140, + 19 + ], + [ + 146, + 1 + ] + ], + "doc": "~Private~" + } + }, + "146": { + "18": { + "name": "getClientWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 146, + 18 + ], + [ + 152, + 1 + ] + ], + "doc": "~Private~" + } + }, + "152": { + "26": { + "name": "horizontallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 152, + 26 + ], + [ + 160, + 1 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "24": { + "name": "verticallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 160, + 24 + ], + [ + 167, + 1 + ] + ], + "doc": "~Private~" + } + }, + "167": { + "12": { + "name": "getWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 167, + 12 + ], + [ + 176, + 1 + ] + ], + "doc": "~Private~" + } + }, + "176": { + "12": { + "name": "setWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "newWidth" + ], + "range": [ + [ + 176, + 12 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "16": { + "name": "getScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 183, + 16 + ], + [ + 183, + 28 + ] + ], + "doc": "~Private~" + } + }, + "184": { + "16": { + "name": "setScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 184, + 16 + ], + [ + 190, + 1 + ] + ] + } + }, + "190": { + "19": { + "name": "getMaxScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 19 + ], + [ + 193, + 1 + ] + ], + "doc": "~Private~" + } + }, + "193": { + "19": { + "name": "getScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 193, + 19 + ], + [ + 193, + 41 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "19": { + "name": "setScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 194, + 19 + ], + [ + 198, + 1 + ] + ] + } + }, + "198": { + "17": { + "name": "getScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 198, + 17 + ], + [ + 198, + 30 + ] + ], + "doc": "~Private~" + } + }, + "199": { + "17": { + "name": "setScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 199, + 17 + ], + [ + 206, + 1 + ] + ] + } + }, + "206": { + "20": { + "name": "getMaxScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 206, + 20 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "18": { + "name": "getScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 209, + 18 + ], + [ + 209, + 40 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "18": { + "name": "setScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 210, + 18 + ], + [ + 214, + 1 + ] + ] + } + }, + "214": { + "25": { + "name": "getLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 214, + 25 + ], + [ + 214, + 46 + ] + ], + "doc": "~Private~" + } + }, + "215": { + "25": { + "name": "setLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 215, + 25 + ], + [ + 215, + 68 + ] + ] + } + }, + "217": { + "23": { + "name": "getDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 217, + 23 + ], + [ + 217, + 42 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "23": { + "name": "setDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultCharWidth" + ], + "range": [ + [ + 218, + 23 + ], + [ + 224, + 1 + ] + ] + } + }, + "224": { + "18": { + "name": "getCursorWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 18 + ], + [ + 224, + 21 + ] + ], + "doc": "~Private~" + } + }, + "226": { + "22": { + "name": "getScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char" + ], + "range": [ + [ + 226, + 22 + ], + [ + 229, + 1 + ] + ], + "doc": "~Private~" + } + }, + "229": { + "23": { + "name": "getScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames" + ], + "range": [ + [ + 229, + 23 + ], + [ + 237, + 1 + ] + ], + "doc": "~Private~" + } + }, + "237": { + "29": { + "name": "batchCharacterMeasurement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 237, + 29 + ], + [ + 244, + 1 + ] + ], + "doc": "~Private~" + } + }, + "244": { + "22": { + "name": "setScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char", + "width" + ], + "range": [ + [ + 244, + 22 + ], + [ + 249, + 1 + ] + ], + "doc": "~Private~" + } + }, + "249": { + "26": { + "name": "characterWidthsChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 249, + 26 + ], + [ + 253, + 1 + ] + ], + "doc": "~Private~" + } + }, + "253": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 253, + 25 + ], + [ + 256, + 1 + ] + ], + "doc": "~Private~" + } + }, + "256": { + "19": { + "name": "getScrollHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 19 + ], + [ + 261, + 1 + ] + ], + "doc": "~Private~" + } + }, + "261": { + "18": { + "name": "getScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 18 + ], + [ + 264, + 1 + ] + ], + "doc": "~Private~" + } + }, + "264": { + "22": { + "name": "getVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 264, + 22 + ], + [ + 273, + 1 + ] + ], + "doc": "~Private~" + } + }, + "273": { + "29": { + "name": "intersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 273, + 29 + ], + [ + 277, + 1 + ] + ], + "doc": "~Private~" + } + }, + "277": { + "38": { + "name": "selectionIntersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 277, + 38 + ], + [ + 281, + 1 + ] + ], + "doc": "~Private~" + } + }, + "281": { + "23": { + "name": "scrollToScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 281, + 23 + ], + [ + 311, + 1 + ] + ], + "doc": "~Private~" + } + }, + "311": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 311, + 26 + ], + [ + 314, + 1 + ] + ], + "doc": "~Private~" + } + }, + "314": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 314, + 26 + ], + [ + 317, + 1 + ] + ], + "doc": "~Private~" + } + }, + "317": { + "27": { + "name": "pixelRectForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 317, + 27 + ], + [ + 333, + 1 + ] + ], + "doc": "~Private~" + } + }, + "333": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 333, + 16 + ], + [ + 339, + 1 + ] + ], + "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " + } + }, + "339": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 339, + 16 + ], + [ + 343, + 1 + ] + ], + "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " + } + }, + "343": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 343, + 15 + ], + [ + 343, + 38 + ] + ], + "doc": "Deprecated: Use the softWrap property directly " + } + }, + "346": { + "15": { + "name": "getSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 15 + ], + [ + 346, + 26 + ] + ], + "doc": "Deprecated: Use the softWrap property directly " + } + }, + "351": { + "25": { + "name": "setEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorWidthInChars" + ], + "range": [ + [ + 351, + 25 + ], + [ + 359, + 1 + ] + ], + "doc": " Private: Set the number of characters that fit horizontally in the editor.\n\neditorWidthInChars - A {Number} of characters. " + } + }, + "359": { + "25": { + "name": "getEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 359, + 25 + ], + [ + 367, + 1 + ] + ], + "doc": "Private: Returns the editor width in characters for soft wrap. " + } + }, + "367": { + "21": { + "name": "getSoftWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 367, + 21 + ], + [ + 378, + 1 + ] + ], + "doc": "~Private~" + } + }, + "378": { + "14": { + "name": "lineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 378, + 14 + ], + [ + 387, + 1 + ] + ], + "doc": " Private: Gets the screen line for the given screen row.\n\nscreenRow - A {Number} indicating the screen row.\n\nReturns a {ScreenLine}. " + } + }, + "387": { + "16": { + "name": "linesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 387, + 16 + ], + [ + 393, + 1 + ] + ], + "doc": " Private: Gets the screen lines for the given screen row range.\n\nstartRow - A {Number} indicating the beginning screen row.\nendRow - A {Number} indicating the ending screen row.\n\nReturns an {Array} of {ScreenLine}s. " + } + }, + "393": { + "12": { + "name": "getLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 393, + 12 + ], + [ + 396, + 1 + ] + ], + "doc": " Private: Gets all the screen lines.\n\nReturns an {Array} of {ScreenLines}s. " + } + }, + "396": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 396, + 22 + ], + [ + 406, + 1 + ] + ], + "doc": "~Private~" + } + }, + "406": { + "27": { + "name": "bufferRowsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 406, + 27 + ], + [ + 416, + 1 + ] + ], + "doc": " Private: Given starting and ending screen rows, this returns an array of the\nbuffer rows corresponding to every screen row in the range\n\nstartScreenRow - The screen row {Number} to start at\nendScreenRow - The screen row {Number} to end at (default: the last screen row)\n\nReturns an {Array} of buffer rows as {Numbers}s. " + } + }, + "416": { + "14": { + "name": "createFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 416, + 14 + ], + [ + 422, + 1 + ] + ], + "doc": " Private: Creates a new fold between two row numbers.\n\nstartRow - The row {Number} to start folding at\nendRow - The row {Number} to end the fold\n\nReturns the new {Fold}. " + } + }, + "422": { + "23": { + "name": "isFoldedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 422, + 23 + ], + [ + 425, + 1 + ] + ], + "doc": "~Private~" + } + }, + "425": { + "23": { + "name": "isFoldedAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 425, + 23 + ], + [ + 429, + 1 + ] + ], + "doc": "~Private~" + } + }, + "429": { + "21": { + "name": "destroyFoldWithId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 429, + 21 + ], + [ + 435, + 1 + ] + ], + "doc": "Private: Destroys the fold with the given id " + } + }, + "435": { + "19": { + "name": "unfoldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 435, + 19 + ], + [ + 446, + 1 + ] + ], + "doc": " Private: Removes any folds found that contain the given buffer row.\n\nbufferRow - The buffer row {Number} to check against " + } + }, + "446": { + "34": { + "name": "largestFoldStartingAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 446, + 34 + ], + [ + 454, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold} or null if none exists. " + } + }, + "454": { + "28": { + "name": "foldsStartingAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 454, + 28 + ], + [ + 466, + 1 + ] + ], + "doc": " Public: Given a buffer row, this returns all folds that start there.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " + } + }, + "466": { + "34": { + "name": "largestFoldStartingAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 466, + 34 + ], + [ + 477, + 1 + ] + ], + "doc": " Private: Given a screen row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nscreenRow - A {Number} indicating the screen row\n\nReturns a {Fold}. " + } + }, + "477": { + "34": { + "name": "largestFoldContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 477, + 34 + ], + [ + 482, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns the largest fold that includes it.\n\nLargest is defined as the fold whose difference between its start and end rows\nis the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold}. " + } + }, + "482": { + "34": { + "name": "outermostFoldsInBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 482, + 34 + ], + [ + 493, + 1 + ] + ], + "doc": " Private: Returns the folds in the given row range (exclusive of end row) that are\nnot contained by any other folds. " + } + }, + "493": { + "28": { + "name": "foldsContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 493, + 28 + ], + [ + 502, + 1 + ] + ], + "doc": " Public: Given a buffer row, this returns folds that include it.\n\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " + } + }, + "502": { + "25": { + "name": "screenRowForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 502, + 25 + ], + [ + 505, + 1 + ] + ], + "doc": " Private: Given a buffer row, this converts it into a screen row.\n\nbufferRow - A {Number} representing a buffer row\n\nReturns a {Number}. " + } + }, + "505": { + "29": { + "name": "lastScreenRowForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 505, + 29 + ], + [ + 513, + 1 + ] + ], + "doc": "~Private~" + } + }, + "513": { + "25": { + "name": "bufferRowForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 513, + 25 + ], + [ + 521, + 1 + ] + ], + "doc": " Private: Given a screen row, this converts it into a buffer row.\n\nscreenRow - A {Number} representing a screen row\n\nReturns a {Number}. " + } + }, + "521": { + "29": { + "name": "screenRangeForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 521, + 29 + ], + [ + 532, + 1 + ] + ], + "doc": " Private: Given a buffer range, this converts it into a screen position.\n\nbufferRange - The {Range} to convert\n\nReturns a {Range}. " + } + }, + "532": { + "29": { + "name": "bufferRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 532, + 29 + ], + [ + 538, + 1 + ] + ], + "doc": " Private: Given a screen range, this converts it into a buffer position.\n\nscreenRange - The {Range} to convert\n\nReturns a {Range}. " + } + }, + "538": { + "28": { + "name": "pixelRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "clip" + ], + "range": [ + [ + 538, + 28 + ], + [ + 542, + 1 + ] + ], + "doc": "~Private~" + } + }, + "542": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "clip" + ], + "range": [ + [ + 542, + 34 + ], + [ + 561, + 1 + ] + ], + "doc": "~Private~" + } + }, + "561": { + "34": { + "name": "screenPositionForPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 561, + 34 + ], + [ + 581, + 1 + ] + ], + "doc": "~Private~" + } + }, + "581": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 581, + 34 + ], + [ + 587, + 1 + ] + ], + "doc": "~Private~" + } + }, + "587": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 587, + 16 + ], + [ + 593, + 1 + ] + ], + "doc": " Private: Gets the number of screen lines.\n\nReturns a {Number}. " + } + }, + "593": { + "14": { + "name": "getLastRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 593, + 14 + ], + [ + 599, + 1 + ] + ], + "doc": " Private: Gets the number of the last screen line.\n\nReturns a {Number}. " + } + }, + "599": { + "20": { + "name": "getMaxLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 599, + 20 + ], + [ + 605, + 1 + ] + ], + "doc": " Private: Gets the length of the longest screen line.\n\nReturns a {Number}. " + } + }, + "605": { + "23": { + "name": "getLongestScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 605, + 23 + ], + [ + 617, + 1 + ] + ], + "doc": " Private: Gets the row number of the longest screen line.\n\nReturn a {} " + } + }, + "617": { + "35": { + "name": "screenPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 617, + 35 + ], + [ + 651, + 1 + ] + ], + "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " + } + }, + "651": { + "35": { + "name": "bufferPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 651, + 35 + ], + [ + 661, + 1 + ] + ], + "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " + } + }, + "661": { + "27": { + "name": "scopesForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 661, + 27 + ], + [ + 664, + 1 + ] + ], + "doc": " Private: Retrieves the grammar's token scopes for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}\n\nReturns an {Array} of {String}s. " + } + }, + "664": { + "33": { + "name": "bufferRangeForScopeAtPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "position" + ], + "range": [ + [ + 664, + 33 + ], + [ + 672, + 1 + ] + ], + "doc": "~Private~" + } + }, + "672": { + "26": { + "name": "tokenForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 672, + 26 + ], + [ + 678, + 1 + ] + ], + "doc": " Private: Retrieves the grammar's token for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}.\n\nReturns a {Token}. " + } + }, + "678": { + "14": { + "name": "getGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 678, + 14 + ], + [ + 684, + 1 + ] + ], + "doc": " Private: Get the grammar for this buffer.\n\nReturns the current {Grammar} or the {NullGrammar}. " + } + }, + "684": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 684, + 14 + ], + [ + 688, + 1 + ] + ], + "doc": " Private: Sets the grammar for the buffer.\n\ngrammar - Sets the new grammar rules " + } + }, + "688": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 688, + 17 + ], + [ + 704, + 1 + ] + ], + "doc": "Private: Reloads the current grammar. " + } + }, + "704": { + "22": { + "name": "clipScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 704, + 22 + ], + [ + 740, + 1 + ] + ], + "doc": " Private: Given a position, this clips it to a real position.\n\nFor example, if `position`'s row exceeds the row count of the buffer,\nor if its column goes beyond a line's length, this \"sanitizes\" the value\nto a real position.\n\nposition - The {Point} to clip\noptions - A hash with the following values:\n wrapBeyondNewlines: if `true`, continues wrapping past newlines\n wrapAtSoftNewlines: if `true`, continues wrapping past soft newlines\n screenLine: if `true`, indicates that you're using a line number, not a row number\n\nReturns the new, clipped {Point}. Note that this could be the same as `position` if no clipping was performed. " + } + }, + "740": { + "18": { + "name": "findWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line", + "softWrapColumn" + ], + "range": [ + [ + 740, + 18 + ], + [ + 758, + 1 + ] + ], + "doc": " Private: Given a line, finds the point where it would wrap.\n\nline - The {String} to check\nsoftWrapColumn - The {Number} where you want soft wrapping to occur\n\nReturns a {Number} representing the `line` position where the wrap would take place.\nReturns `null` if a wrap wouldn't occur. " + } + }, + "758": { + "20": { + "name": "rangeForAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 758, + 20 + ], + [ + 761, + 1 + ] + ], + "doc": " Private: Calculates a {Range} representing the start of the {TextBuffer} until the end.\n\nReturns a {Range}. " + } + }, + "761": { + "19": { + "name": "decorationForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 761, + 19 + ], + [ + 764, + 1 + ] + ], + "doc": "~Private~" + } + }, + "764": { + "32": { + "name": "decorationsForScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 764, + 32 + ], + [ + 771, + 1 + ] + ], + "doc": "~Private~" + } + }, + "771": { + "18": { + "name": "decorateMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "decorationParams" + ], + "range": [ + [ + 771, + 18 + ], + [ + 793, + 1 + ] + ], + "doc": "~Private~" + } + }, + "793": { + "20": { + "name": "removeDecoration", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decoration" + ], + "range": [ + [ + 793, + 20 + ], + [ + 804, + 1 + ] + ], + "doc": "~Private~" + } + }, + "804": { + "33": { + "name": "removeAllDecorationsForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 804, + 33 + ], + [ + 810, + 1 + ] + ], + "doc": "~Private~" + } + }, + "810": { + "31": { + "name": "removedAllMarkerDecorations", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 810, + 31 + ], + [ + 818, + 1 + ] + ], + "doc": "~Private~" + } + }, + "818": { + "21": { + "name": "decorationUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decoration" + ], + "range": [ + [ + 818, + 21 + ], + [ + 826, + 1 + ] + ], + "doc": "~Private~" + } + }, + "826": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 826, + 13 + ], + [ + 836, + 1 + ] + ], + "doc": " Private: Retrieves a {DisplayBufferMarker} based on its id.\n\nid - A {Number} representing a marker id\n\nReturns the {DisplayBufferMarker} (if it exists). " + } + }, + "836": { + "14": { + "name": "getMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 836, + 14 + ], + [ + 839, + 1 + ] + ], + "doc": " Private: Retrieves the active markers in the buffer.\n\nReturns an {Array} of existing {DisplayBufferMarker}s. " + } + }, + "839": { + "18": { + "name": "getMarkerCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 839, + 18 + ], + [ + 848, + 1 + ] + ], + "doc": "~Private~" + } + }, + "848": { + "19": { + "name": "markScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 848, + 19 + ], + [ + 858, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given screen range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "858": { + "19": { + "name": "markBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range", + "options" + ], + "range": [ + [ + 858, + 19 + ], + [ + 867, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given buffer range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "867": { + "22": { + "name": "markScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 867, + 22 + ], + [ + 876, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given screen position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "876": { + "22": { + "name": "markBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 876, + 22 + ], + [ + 882, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given buffer position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "882": { + "17": { + "name": "destroyMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 882, + 17 + ], + [ + 891, + 1 + ] + ], + "doc": " Public: Removes the marker with the given id.\n\nid - The {Number} of the ID to remove " + } + }, + "891": { + "14": { + "name": "findMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 891, + 14 + ], + [ + 912, + 1 + ] + ], + "doc": " Private: Finds the first marker satisfying the given attributes\n\nRefer to {DisplayBuffer::findMarkers} for details.\n\nReturns a {DisplayBufferMarker} or null " + } + }, + "912": { + "15": { + "name": "findMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 912, + 15 + ], + [ + 916, + 1 + ] + ], + "doc": " Public: Find all markers satisfying a set of parameters.\n\nparams - An {Object} containing parameters that all returned markers must\n satisfy. Unreserved keys will be compared against the markers' custom\n properties. There are also the following reserved keys with special\n meaning for the query:\n :startBufferRow - A {Number}. Only returns markers starting at this row in\n buffer coordinates.\n :endBufferRow - A {Number}. Only returns markers ending at this row in\n buffer coordinates.\n :containsBufferRange - A {Range} or range-compatible {Array}. Only returns\n markers containing this range in buffer coordinates.\n :containsBufferPosition - A {Point} or point-compatible {Array}. Only\n returns markers containing this position in buffer coordinates.\n :containedInBufferRange - A {Range} or range-compatible {Array}. Only\n returns markers contained within this range.\n\nReturns an {Array} of {DisplayBufferMarker}s " + } + }, + "916": { + "33": { + "name": "translateToBufferMarkerParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 916, + 33 + ], + [ + 954, + 1 + ] + ], + "doc": "~Private~" + } + }, + "954": { + "18": { + "name": "findFoldMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 954, + 18 + ], + [ + 957, + 1 + ] + ], + "doc": "~Private~" + } + }, + "957": { + "19": { + "name": "findFoldMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 957, + 19 + ], + [ + 960, + 1 + ] + ], + "doc": "~Private~" + } + }, + "960": { + "27": { + "name": "getFoldMarkerAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 960, + 27 + ], + [ + 963, + 1 + ] + ], + "doc": "~Private~" + } + }, + "963": { + "24": { + "name": "pauseMarkerObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 963, + 24 + ], + [ + 966, + 1 + ] + ], + "doc": "~Private~" + } + }, + "966": { + "25": { + "name": "resumeMarkerObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 966, + 25 + ], + [ + 970, + 1 + ] + ], + "doc": "~Private~" + } + }, + "970": { + "32": { + "name": "refreshMarkerScreenPositions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 970, + 32 + ], + [ + 974, + 1 + ] + ], + "doc": "~Private~" + } + }, + "974": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 974, + 13 + ], + [ + 979, + 1 + ] + ], + "doc": "~Private~" + } + }, + "979": { + "12": { + "name": "logLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 979, + 12 + ], + [ + 984, + 1 + ] + ], + "doc": "~Private~" + } + }, + "984": { + "31": { + "name": "handleTokenizedBufferChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tokenizedBufferChange" + ], + "range": [ + [ + 984, + 31 + ], + [ + 989, + 1 + ] + ], + "doc": "~Private~" + } + }, + "989": { + "21": { + "name": "updateScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "endBufferRow", + "bufferDelta", + "options" + ], + "range": [ + [ + 989, + 21 + ], + [ + 1015, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1015": { + "20": { + "name": "buildScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "endBufferRow" + ], + "range": [ + [ + 1015, + 20 + ], + [ + 1061, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1061": { + "21": { + "name": "findMaxLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow", + "newScreenLines", + "screenDelta" + ], + "range": [ + [ + 1061, + 21 + ], + [ + 1083, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1083": { + "22": { + "name": "computeScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1083, + 22 + ], + [ + 1088, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1088": { + "30": { + "name": "handleBufferMarkersUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1088, + 30 + ], + [ + 1093, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1093": { + "29": { + "name": "handleBufferMarkerCreated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1093, + 29 + ], + [ + 1097, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1097": { + "23": { + "name": "createFoldForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1097, + 23 + ], + [ + 1101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1101": { + "17": { + "name": "foldForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1101, + 17 + ], + [ + 1102, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 19 + }, + "src/editor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "10": { + "type": "import", + "range": [ + [ + 0, + 10 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$$", + "exportsProperty": "$$$" + } + }, + "1": { + "13": { + "name": "GutterView", + "type": "import", + "range": [ + [ + 1, + 13 + ], + [ + 1, + 35 + ] + ], + "bindingType": "variable", + "path": "./gutter-view" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "3": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 3, + 9 + ], + [ + 3, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "4": { + "13": { + "name": "CursorView", + "type": "import", + "range": [ + [ + 4, + 13 + ], + [ + 4, + 35 + ] + ], + "bindingType": "variable", + "path": "./cursor-view" + } + }, + "5": { + "16": { + "name": "SelectionView", + "type": "import", + "range": [ + [ + 5, + 16 + ], + [ + 5, + 41 + ] + ], + "bindingType": "variable", + "path": "./selection-view" + } + }, + "6": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 6, + 5 + ], + [ + 6, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.1" + } + }, + "7": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "8": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 8, + 13 + ], + [ + 8, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer" + } + }, + "10": { + "15": { + "name": "MeasureRange", + "type": "function", + "range": [ + [ + 10, + 15 + ], + [ + 10, + 36 + ] + ] + } + }, + "11": { + "17": { + "type": "primitive", + "range": [ + [ + 11, + 17 + ], + [ + 11, + 59 + ] + ] + }, + "31": { + "name": "acceptNode", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 11, + 31 + ], + [ + 11, + 57 + ] + ], + "doc": null + } + }, + "12": { + "10": { + "type": "primitive", + "range": [ + [ + 12, + 10 + ], + [ + 12, + 21 + ] + ] + } + }, + "13": { + "17": { + "name": "1000", + "type": "primitive", + "range": [ + [ + 13, + 17 + ], + [ + 13, + 20 + ] + ] + } + }, + "41": { + "0": { + "type": "class", + "name": "EditorView", + "bindingType": "exports", + "classProperties": [ + [ + 42, + 24 + ], + [ + 44, + 4 + ], + [ + 61, + 17 + ], + [ + 63, + 12 + ], + [ + 76, + 12 + ], + [ + 1271, + 21 + ], + [ + 1485, + 18 + ], + [ + 1513, + 21 + ], + [ + 1529, + 14 + ], + [ + 1533, + 13 + ], + [ + 1537, + 23 + ] + ], + "prototypeProperties": [ + [ + 81, + 17 + ], + [ + 82, + 17 + ], + [ + 83, + 14 + ], + [ + 84, + 13 + ], + [ + 85, + 14 + ], + [ + 86, + 15 + ], + [ + 87, + 18 + ], + [ + 88, + 13 + ], + [ + 89, + 13 + ], + [ + 90, + 10 + ], + [ + 91, + 12 + ], + [ + 92, + 16 + ], + [ + 93, + 18 + ], + [ + 94, + 14 + ], + [ + 95, + 17 + ], + [ + 96, + 20 + ], + [ + 97, + 24 + ], + [ + 106, + 14 + ], + [ + 141, + 12 + ], + [ + 251, + 13 + ], + [ + 255, + 11 + ], + [ + 259, + 11 + ], + [ + 263, + 14 + ], + [ + 266, + 20 + ], + [ + 271, + 19 + ], + [ + 277, + 12 + ], + [ + 284, + 10 + ], + [ + 292, + 15 + ], + [ + 298, + 21 + ], + [ + 310, + 17 + ], + [ + 322, + 22 + ], + [ + 332, + 22 + ], + [ + 337, + 22 + ], + [ + 341, + 16 + ], + [ + 345, + 13 + ], + [ + 354, + 16 + ], + [ + 436, + 21 + ], + [ + 476, + 28 + ], + [ + 479, + 33 + ], + [ + 505, + 15 + ], + [ + 538, + 8 + ], + [ + 586, + 12 + ], + [ + 589, + 12 + ], + [ + 592, + 27 + ], + [ + 600, + 13 + ], + [ + 618, + 16 + ], + [ + 624, + 14 + ], + [ + 631, + 15 + ], + [ + 639, + 18 + ], + [ + 646, + 26 + ], + [ + 654, + 26 + ], + [ + 662, + 26 + ], + [ + 673, + 25 + ], + [ + 684, + 39 + ], + [ + 696, + 31 + ], + [ + 702, + 18 + ], + [ + 706, + 18 + ], + [ + 710, + 25 + ], + [ + 713, + 26 + ], + [ + 716, + 21 + ], + [ + 723, + 15 + ], + [ + 733, + 15 + ], + [ + 746, + 15 + ], + [ + 752, + 17 + ], + [ + 762, + 17 + ], + [ + 770, + 17 + ], + [ + 776, + 10 + ], + [ + 786, + 13 + ], + [ + 791, + 14 + ], + [ + 796, + 11 + ], + [ + 801, + 13 + ], + [ + 808, + 11 + ], + [ + 811, + 10 + ], + [ + 816, + 16 + ], + [ + 823, + 17 + ], + [ + 827, + 18 + ], + [ + 830, + 17 + ], + [ + 836, + 20 + ], + [ + 839, + 20 + ], + [ + 843, + 21 + ], + [ + 846, + 20 + ], + [ + 852, + 23 + ], + [ + 855, + 36 + ], + [ + 859, + 21 + ], + [ + 863, + 20 + ], + [ + 884, + 22 + ], + [ + 900, + 23 + ], + [ + 912, + 25 + ], + [ + 924, + 25 + ], + [ + 943, + 12 + ], + [ + 950, + 22 + ], + [ + 955, + 16 + ], + [ + 970, + 24 + ], + [ + 978, + 17 + ], + [ + 994, + 21 + ], + [ + 1006, + 22 + ], + [ + 1012, + 24 + ], + [ + 1023, + 25 + ], + [ + 1031, + 24 + ], + [ + 1034, + 14 + ], + [ + 1046, + 25 + ], + [ + 1057, + 23 + ], + [ + 1084, + 38 + ], + [ + 1102, + 23 + ], + [ + 1144, + 24 + ], + [ + 1158, + 20 + ], + [ + 1173, + 13 + ], + [ + 1178, + 19 + ], + [ + 1201, + 32 + ], + [ + 1214, + 28 + ], + [ + 1223, + 27 + ], + [ + 1234, + 22 + ], + [ + 1237, + 27 + ], + [ + 1241, + 32 + ], + [ + 1244, + 34 + ], + [ + 1249, + 21 + ], + [ + 1256, + 21 + ], + [ + 1298, + 32 + ], + [ + 1304, + 26 + ], + [ + 1313, + 27 + ], + [ + 1316, + 33 + ], + [ + 1325, + 34 + ], + [ + 1334, + 34 + ], + [ + 1348, + 32 + ], + [ + 1371, + 19 + ], + [ + 1416, + 26 + ], + [ + 1424, + 26 + ], + [ + 1432, + 28 + ], + [ + 1435, + 32 + ], + [ + 1440, + 32 + ], + [ + 1470, + 23 + ], + [ + 1481, + 23 + ], + [ + 1563, + 23 + ], + [ + 1573, + 25 + ], + [ + 1575, + 18 + ], + [ + 1578, + 18 + ], + [ + 1581, + 20 + ] + ], + "doc": " Public: Represents the entire visual pane in Atom.\n\nThe EditorView manages the {Editor}, which manages the file buffers.\n\n## Requiring in packages\n\n```coffee\n{EditorView} = require 'atom'\n\nminiEditorView = new EditorView(mini: true)\n```\n\n## Iterating over the open editor views\n\n```coffee\nfor editorView in atom.workspaceView.getEditorViews()\n console.log(editorView.getEditor().getPath())\n```\n\n## Subscribing to every current and future editor\n\n```coffee\natom.workspace.eachEditorView (editorView) ->\n console.log(editorView.getEditor().getPath())\n``` ", + "range": [ + [ + 41, + 0 + ], + [ + 1583, + 35 + ] + ] + } + }, + "42": { + "24": { + "name": "characterWidthCache", + "type": "primitive", + "range": [ + [ + 42, + 24 + ], + [ + 42, + 25 + ] + ], + "bindingType": "classProperty" + } + }, + "44": { + "4": { + "name": "configDefaults", + "type": "primitive", + "range": [ + [ + 44, + 4 + ], + [ + 59, + 32 + ] + ], + "bindingType": "classProperty" + } + }, + "61": { + "17": { + "name": "nextEditorId", + "type": "primitive", + "range": [ + [ + 61, + 17 + ], + [ + 61, + 17 + ] + ], + "bindingType": "classProperty" + } + }, + "63": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 63, + 12 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "12": { + "name": "classes", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 76, + 12 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "17": { + "name": "vScrollMargin", + "type": "primitive", + "range": [ + [ + 81, + 17 + ], + [ + 81, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "82": { + "17": { + "name": "hScrollMargin", + "type": "primitive", + "range": [ + [ + 82, + 17 + ], + [ + 82, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "83": { + "14": { + "name": "lineHeight", + "type": "primitive", + "range": [ + [ + 83, + 14 + ], + [ + 83, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "84": { + "13": { + "name": "charWidth", + "type": "primitive", + "range": [ + [ + 84, + 13 + ], + [ + 84, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "85": { + "14": { + "name": "charHeight", + "type": "primitive", + "range": [ + [ + 85, + 14 + ], + [ + 85, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "86": { + "15": { + "name": "cursorViews", + "type": "primitive", + "range": [ + [ + 86, + 15 + ], + [ + 86, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "87": { + "18": { + "name": "selectionViews", + "type": "primitive", + "range": [ + [ + 87, + 18 + ], + [ + 87, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "88": { + "13": { + "name": "lineCache", + "type": "primitive", + "range": [ + [ + 88, + 13 + ], + [ + 88, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "89": { + "13": { + "name": "isFocused", + "type": "primitive", + "range": [ + [ + 89, + 13 + ], + [ + 89, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "90": { + "10": { + "name": "editor", + "type": "primitive", + "range": [ + [ + 90, + 10 + ], + [ + 90, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "91": { + "12": { + "name": "attached", + "type": "primitive", + "range": [ + [ + 91, + 12 + ], + [ + 91, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "92": { + "16": { + "name": "lineOverdraw", + "type": "primitive", + "range": [ + [ + 92, + 16 + ], + [ + 92, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "93": { + "18": { + "name": "pendingChanges", + "type": "primitive", + "range": [ + [ + 93, + 18 + ], + [ + 93, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "94": { + "14": { + "name": "newCursors", + "type": "primitive", + "range": [ + [ + 94, + 14 + ], + [ + 94, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "95": { + "17": { + "name": "newSelections", + "type": "primitive", + "range": [ + [ + 95, + 17 + ], + [ + 95, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "96": { + "20": { + "name": "redrawOnReattach", + "type": "primitive", + "range": [ + [ + 96, + 20 + ], + [ + 96, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "97": { + "24": { + "name": "bottomPaddingInLines", + "type": "primitive", + "range": [ + [ + 97, + 24 + ], + [ + 97, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "106": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorOrOptions" + ], + "range": [ + [ + 106, + 14 + ], + [ + 141, + 1 + ] + ], + "doc": " Private: The constructor for setting up an `EditorView` instance.\n\neditorOrOptions - Either an {Editor}, or an object with one property, `mini`.\n If `mini` is `true`, a \"miniature\" `Editor` is constructed.\n Typically, this is ideal for scenarios where you need an Atom editor,\n but without all the chrome, like scrollbars, gutter, _e.t.c._.\n\n " + } + }, + "141": { + "12": { + "name": "bindKeys", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 12 + ], + [ + 251, + 1 + ] + ], + "doc": " Private: Sets up the core Atom commands.\n\nSome commands are excluded from mini-editors. " + } + }, + "251": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 251, + 13 + ], + [ + 255, + 1 + ] + ], + "doc": " Public: Get the underlying editor model for this view.\n\nReturns an {Editor}. " + } + }, + "255": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 255, + 11 + ], + [ + 259, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.getText} " + } + }, + "259": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 259, + 11 + ], + [ + 263, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.setText} " + } + }, + "263": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 263, + 14 + ], + [ + 266, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.insertText} " + } + }, + "266": { + "20": { + "name": "setHeightInLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "heightInLines" + ], + "range": [ + [ + 266, + 20 + ], + [ + 271, + 1 + ] + ], + "doc": "~Private~" + } + }, + "271": { + "19": { + "name": "setWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "widthInChars" + ], + "range": [ + [ + 271, + 19 + ], + [ + 277, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.setEditorWidthInChars} " + } + }, + "277": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 277, + 12 + ], + [ + 284, + 1 + ] + ], + "doc": " Public: Emulates the \"page down\" key, where the last row of a buffer scrolls\nto become the first. " + } + }, + "284": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 10 + ], + [ + 292, + 1 + ] + ], + "doc": " Public: Emulates the \"page up\" key, where the frst row of a buffer scrolls\nto become the last. " + } + }, + "292": { + "15": { + "name": "getPageRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 15 + ], + [ + 298, + 1 + ] + ], + "doc": " Private: Gets the number of actual page rows existing in an editor.\n\nReturns a {Number}. " + } + }, + "298": { + "21": { + "name": "setShowInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showInvisibles" + ], + "range": [ + [ + 298, + 21 + ], + [ + 310, + 1 + ] + ], + "doc": " Public: Set whether invisible characters are shown.\n\nshowInvisibles - A {Boolean} which, if `true`, show invisible characters. " + } + }, + "310": { + "17": { + "name": "setInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 310, + 17 + ], + [ + 322, + 1 + ] + ], + "doc": " Public: Defines which characters are invisible.\n\ninvisibles - An {Object} defining the invisible characters:\n :eol - The end of line invisible {String} (default: `\\u00ac`).\n :space - The space invisible {String} (default: `\\u00b7`).\n :tab - The tab invisible {String} (default: `\\u00bb`).\n :cr - The carriage return invisible {String} (default: `\\u00a4`). " + } + }, + "322": { + "22": { + "name": "setShowIndentGuide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showIndentGuide" + ], + "range": [ + [ + 322, + 22 + ], + [ + 332, + 1 + ] + ], + "doc": " Public: Sets whether you want to show the indentation guides.\n\nshowIndentGuide - A {Boolean} you can set to `true` if you want to see the\n indentation guides. " + } + }, + "332": { + "22": { + "name": "setPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "placeholderText" + ], + "range": [ + [ + 332, + 22 + ], + [ + 337, + 1 + ] + ], + "doc": " Public: Set the text to appear in the editor when it is empty.\n\nThis only affects mini editors.\n\nplaceholderText - A {String} of text to display when empty. " + } + }, + "337": { + "22": { + "name": "getPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 337, + 22 + ], + [ + 341, + 1 + ] + ], + "doc": "~Private~" + } + }, + "341": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 341, + 16 + ], + [ + 345, + 1 + ] + ], + "doc": "Private: Checkout the HEAD revision of this editor's file. " + } + }, + "345": { + "13": { + "name": "configure", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 345, + 13 + ], + [ + 354, + 1 + ] + ], + "doc": "~Private~" + } + }, + "354": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 354, + 16 + ], + [ + 436, + 1 + ] + ], + "doc": "~Private~" + } + }, + "436": { + "21": { + "name": "handleInputEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 436, + 21 + ], + [ + 476, + 1 + ] + ], + "doc": "~Private~" + } + }, + "476": { + "28": { + "name": "bringHiddenInputIntoView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 476, + 28 + ], + [ + 479, + 1 + ] + ], + "doc": "~Private~" + } + }, + "479": { + "33": { + "name": "selectOnMousemoveUntilMouseup", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 479, + 33 + ], + [ + 505, + 1 + ] + ], + "doc": "~Private~" + } + }, + "505": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 505, + 15 + ], + [ + 538, + 1 + ] + ], + "doc": "~Private~" + } + }, + "538": { + "8": { + "name": "edit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 538, + 8 + ], + [ + 586, + 1 + ] + ], + "doc": "~Private~" + } + }, + "586": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 586, + 12 + ], + [ + 589, + 1 + ] + ], + "doc": "~Private~" + } + }, + "589": { + "12": { + "name": "setModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 589, + 12 + ], + [ + 592, + 1 + ] + ], + "doc": "~Private~" + } + }, + "592": { + "27": { + "name": "showBufferConflictAlert", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 592, + 27 + ], + [ + 600, + 1 + ] + ], + "doc": "~Private~" + } + }, + "600": { + "13": { + "name": "scrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop", + "options" + ], + "range": [ + [ + 600, + 13 + ], + [ + 618, + 1 + ] + ], + "doc": "~Private~" + } + }, + "618": { + "16": { + "name": "scrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 618, + 16 + ], + [ + 624, + 1 + ] + ], + "doc": "~Private~" + } + }, + "624": { + "14": { + "name": "scrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 624, + 14 + ], + [ + 631, + 1 + ] + ], + "doc": "~Private~" + } + }, + "631": { + "15": { + "name": "scrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 631, + 15 + ], + [ + 639, + 1 + ] + ], + "doc": "~Private~" + } + }, + "639": { + "18": { + "name": "scrollToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 639, + 18 + ], + [ + 646, + 1 + ] + ], + "doc": "Public: Scrolls the editor to the bottom. " + } + }, + "646": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 646, + 26 + ], + [ + 654, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the position of the most recently added\ncursor if it isn't current on screen.\n\nThe editor is centered around the cursor's position if possible. " + } + }, + "654": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 654, + 26 + ], + [ + 662, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given buffer position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " + } + }, + "662": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 662, + 26 + ], + [ + 673, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " + } + }, + "673": { + "25": { + "name": "scrollToPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition", + "options" + ], + "range": [ + [ + 673, + 25 + ], + [ + 684, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given pixel position.\n\npixelPosition - An object that represents a pixel position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or\n {Point}.\noptions - A hash with the following keys:\n :center - if `true`, the position is scrolled such that it's in\n the center of the editor " + } + }, + "684": { + "39": { + "name": "highlightFoldsContainingBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 684, + 39 + ], + [ + 696, + 1 + ] + ], + "doc": " Public: Highlight all the folds within the given buffer range.\n\n\"Highlighting\" essentially just adds the `fold-selected` class to the line's\nDOM element.\n\nbufferRange - The {Range} to check. " + } + }, + "696": { + "31": { + "name": "saveScrollPositionForEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 696, + 31 + ], + [ + 702, + 1 + ] + ], + "doc": "~Private~" + } + }, + "702": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 702, + 18 + ], + [ + 706, + 1 + ] + ], + "doc": "Public: Toggle soft tabs on the edit session. " + } + }, + "706": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 706, + 18 + ], + [ + 710, + 1 + ] + ], + "doc": "Public: Toggle soft wrap on the edit session. " + } + }, + "710": { + "25": { + "name": "calculateWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 710, + 25 + ], + [ + 713, + 1 + ] + ], + "doc": "~Private~" + } + }, + "713": { + "26": { + "name": "calculateHeightInLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 713, + 26 + ], + [ + 716, + 1 + ] + ], + "doc": "~Private~" + } + }, + "716": { + "21": { + "name": "getScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 716, + 21 + ], + [ + 723, + 1 + ] + ], + "doc": "~Private~" + } + }, + "723": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 723, + 15 + ], + [ + 733, + 1 + ] + ], + "doc": " Public: Enables/disables soft wrap on the editor.\n\nsoftWrap - A {Boolean} which, if `true`, enables soft wrap " + } + }, + "733": { + "15": { + "name": "setFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 733, + 15 + ], + [ + 746, + 1 + ] + ], + "doc": " Public: Sets the font size for the editor.\n\nfontSize - A {Number} indicating the font size in pixels. " + } + }, + "746": { + "15": { + "name": "getFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 746, + 15 + ], + [ + 752, + 1 + ] + ], + "doc": " Public: Retrieves the font size for the editor.\n\nReturns a {Number} indicating the font size in pixels. " + } + }, + "752": { + "17": { + "name": "setFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 752, + 17 + ], + [ + 762, + 1 + ] + ], + "doc": " Public: Sets the font family for the editor.\n\nfontFamily - A {String} identifying the CSS `font-family`. " + } + }, + "762": { + "17": { + "name": "getFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 762, + 17 + ], + [ + 762, + 38 + ] + ], + "doc": " Public: Gets the font family for the editor.\n\nReturns a {String} identifying the CSS `font-family`. " + } + }, + "770": { + "17": { + "name": "setLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 770, + 17 + ], + [ + 776, + 1 + ] + ], + "doc": " Public: Sets the line height of the editor.\n\nCalling this method has no effect when called on a mini editor.\n\nlineHeight - A {Number} without a unit suffix identifying the CSS\n`line-height`. " + } + }, + "776": { + "10": { + "name": "redraw", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 776, + 10 + ], + [ + 786, + 1 + ] + ], + "doc": "Public: Redraw the editor " + } + }, + "786": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 786, + 13 + ], + [ + 791, + 1 + ] + ], + "doc": "Public: Split the editor view left. " + } + }, + "791": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 791, + 14 + ], + [ + 796, + 1 + ] + ], + "doc": "Public: Split the editor view right. " + } + }, + "796": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 796, + 11 + ], + [ + 801, + 1 + ] + ], + "doc": "Public: Split the editor view up. " + } + }, + "801": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 801, + 13 + ], + [ + 808, + 1 + ] + ], + "doc": "Public: Split the editor view down. " + } + }, + "808": { + "11": { + "name": "getPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 808, + 11 + ], + [ + 811, + 1 + ] + ], + "doc": " Public: Get this view's pane.\n\nReturns a {Pane}. " + } + }, + "811": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "keepData" + ], + "range": [ + [ + 811, + 10 + ], + [ + 816, + 1 + ] + ], + "doc": "~Private~" + } + }, + "816": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 816, + 16 + ], + [ + 823, + 1 + ] + ], + "doc": "~Private~" + } + }, + "823": { + "17": { + "name": "getCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 823, + 17 + ], + [ + 827, + 1 + ] + ], + "doc": "~Private~" + } + }, + "827": { + "18": { + "name": "getCursorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 827, + 18 + ], + [ + 830, + 1 + ] + ], + "doc": "~Private~" + } + }, + "830": { + "17": { + "name": "addCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursor", + "options" + ], + "range": [ + [ + 830, + 17 + ], + [ + 836, + 1 + ] + ], + "doc": "~Private~" + } + }, + "836": { + "20": { + "name": "removeCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 836, + 20 + ], + [ + 839, + 1 + ] + ], + "doc": "~Private~" + } + }, + "839": { + "20": { + "name": "getSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 839, + 20 + ], + [ + 843, + 1 + ] + ], + "doc": "~Private~" + } + }, + "843": { + "21": { + "name": "getSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 843, + 21 + ], + [ + 846, + 1 + ] + ], + "doc": "~Private~" + } + }, + "846": { + "20": { + "name": "addSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 846, + 20 + ], + [ + 852, + 1 + ] + ], + "doc": "~Private~" + } + }, + "852": { + "23": { + "name": "removeSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selectionView" + ], + "range": [ + [ + 852, + 23 + ], + [ + 855, + 1 + ] + ], + "doc": "~Private~" + } + }, + "855": { + "36": { + "name": "removeAllCursorAndSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 855, + 36 + ], + [ + 859, + 1 + ] + ], + "doc": "~Private~" + } + }, + "859": { + "21": { + "name": "appendToLinesView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 859, + 21 + ], + [ + 863, + 1 + ] + ], + "doc": "~Private~" + } + }, + "863": { + "20": { + "name": "scrollVertically", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition", + null + ], + "range": [ + [ + 863, + 20 + ], + [ + 884, + 1 + ] + ], + "doc": "Private: Scrolls the editor vertically to a given position. " + } + }, + "884": { + "22": { + "name": "scrollHorizontally", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 884, + 22 + ], + [ + 900, + 1 + ] + ], + "doc": "Private: Scrolls the editor horizontally to a given position. " + } + }, + "900": { + "23": { + "name": "calculateDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 900, + 23 + ], + [ + 912, + 1 + ] + ], + "doc": "~Private~" + } + }, + "912": { + "25": { + "name": "recalculateDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 912, + 25 + ], + [ + 924, + 1 + ] + ], + "doc": "~Private~" + } + }, + "924": { + "25": { + "name": "updateLayerDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollViewWidth" + ], + "range": [ + [ + 924, + 25 + ], + [ + 943, + 1 + ] + ], + "doc": "~Private~" + } + }, + "943": { + "12": { + "name": "isHidden", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 943, + 12 + ], + [ + 950, + 1 + ] + ], + "doc": "Private: Override for speed. The base function checks computedStyle, unnecessary here. " + } + }, + "950": { + "22": { + "name": "clearRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 950, + 22 + ], + [ + 955, + 1 + ] + ], + "doc": "~Private~" + } + }, + "955": { + "16": { + "name": "resetDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 955, + 16 + ], + [ + 970, + 1 + ] + ], + "doc": "~Private~" + } + }, + "970": { + "24": { + "name": "requestDisplayUpdate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 970, + 24 + ], + [ + 978, + 1 + ] + ], + "doc": "~Private~" + } + }, + "978": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 978, + 17 + ], + [ + 994, + 1 + ] + ], + "doc": "~Private~" + } + }, + "994": { + "21": { + "name": "updateCursorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 994, + 21 + ], + [ + 1006, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1006": { + "22": { + "name": "shouldUpdateCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 1006, + 22 + ], + [ + 1012, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1012": { + "24": { + "name": "updateSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1012, + 24 + ], + [ + 1023, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1023": { + "25": { + "name": "shouldUpdateSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selectionView" + ], + "range": [ + [ + 1023, + 25 + ], + [ + 1031, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1031": { + "24": { + "name": "syncCursorAnimations", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1031, + 24 + ], + [ + 1034, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1034": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "suppressAutoscroll" + ], + "range": [ + [ + 1034, + 14 + ], + [ + 1046, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1046": { + "25": { + "name": "updatePlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1046, + 25 + ], + [ + 1057, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1057": { + "23": { + "name": "updateRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollViewWidth" + ], + "range": [ + [ + 1057, + 23 + ], + [ + 1084, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1084": { + "38": { + "name": "computeSurroundingEmptyLineChanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "change" + ], + "range": [ + [ + 1084, + 38 + ], + [ + 1102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1102": { + "23": { + "name": "computeIntactRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1102, + 23 + ], + [ + 1144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1144": { + "24": { + "name": "truncateIntactRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges", + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1144, + 24 + ], + [ + 1158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1158": { + "20": { + "name": "clearDirtyRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges" + ], + "range": [ + [ + 1158, + 20 + ], + [ + 1173, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1173": { + "13": { + "name": "clearLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement" + ], + "range": [ + [ + 1173, + 13 + ], + [ + 1178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1178": { + "19": { + "name": "fillDirtyRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges", + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1178, + 19 + ], + [ + 1201, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1201": { + "32": { + "name": "updatePaddingOfRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1201, + 32 + ], + [ + 1214, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1214": { + "28": { + "name": "getFirstVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1214, + 28 + ], + [ + 1223, + 1 + ] + ], + "doc": " Public: Retrieves the number of the row that is visible and currently at the\ntop of the editor.\n\nReturns a {Number}. " + } + }, + "1223": { + "27": { + "name": "getLastVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1223, + 27 + ], + [ + 1234, + 1 + ] + ], + "doc": " Public: Retrieves the number of the row that is visible and currently at the\nbottom of the editor.\n\nReturns a {Number}. " + } + }, + "1234": { + "22": { + "name": "isScreenRowVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 1234, + 22 + ], + [ + 1237, + 1 + ] + ], + "doc": " Public: Given a row number, identifies if it is currently visible.\n\nrow - A row {Number} to check\n\nReturns a {Boolean}. " + } + }, + "1237": { + "27": { + "name": "handleScreenLinesChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "change" + ], + "range": [ + [ + 1237, + 27 + ], + [ + 1241, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1241": { + "32": { + "name": "buildLineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 1241, + 32 + ], + [ + 1244, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1244": { + "34": { + "name": "buildLineElementsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1244, + 34 + ], + [ + 1249, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1249": { + "21": { + "name": "htmlForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1249, + 21 + ], + [ + 1256, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1256": { + "21": { + "name": "htmlForScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine", + "screenRow" + ], + "range": [ + [ + 1256, + 21 + ], + [ + 1271, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1271": { + "21": { + "name": "buildIndentation", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "screenRow", + "editor" + ], + "range": [ + [ + 1271, + 21 + ], + [ + 1298, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1298": { + "32": { + "name": "buildHtmlEndOfLineInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine" + ], + "range": [ + [ + 1298, + 32 + ], + [ + 1304, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1304": { + "26": { + "name": "getEndOfLineInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine" + ], + "range": [ + [ + 1304, + 26 + ], + [ + 1313, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1313": { + "27": { + "name": "lineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 1313, + 27 + ], + [ + 1316, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1316": { + "33": { + "name": "toggleLineCommentsInSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1316, + 33 + ], + [ + 1325, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1325": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1325, + 34 + ], + [ + 1334, + 1 + ] + ], + "doc": " Public: Converts a buffer position to a pixel position.\n\nposition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " + } + }, + "1334": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1334, + 34 + ], + [ + 1348, + 1 + ] + ], + "doc": " Public: Converts a screen position to a pixel position.\n\nposition - An object that represents a screen position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " + } + }, + "1348": { + "32": { + "name": "positionLeftForLineAndColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement", + "screenRow", + "screenColumn" + ], + "range": [ + [ + 1348, + 32 + ], + [ + 1371, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1371": { + "19": { + "name": "measureToColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement", + "tokenizedLine", + "screenColumn" + ], + "range": [ + [ + 1371, + 19 + ], + [ + 1416, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1416": { + "26": { + "name": "getCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "char" + ], + "range": [ + [ + 1416, + 26 + ], + [ + 1424, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1424": { + "26": { + "name": "setCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "char", + "val" + ], + "range": [ + [ + 1424, + 26 + ], + [ + 1432, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1432": { + "28": { + "name": "clearCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1432, + 28 + ], + [ + 1435, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1435": { + "32": { + "name": "pixelOffsetForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1435, + 32 + ], + [ + 1440, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1440": { + "32": { + "name": "screenPositionFromMouseEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 1440, + 32 + ], + [ + 1470, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1470": { + "23": { + "name": "highlightCursorLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1470, + 23 + ], + [ + 1481, + 1 + ] + ], + "doc": "Private: Highlights the current line the cursor is on. " + } + }, + "1481": { + "23": { + "name": "copyPathToClipboard", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1481, + 23 + ], + [ + 1485, + 1 + ] + ], + "doc": "Private: Copies the current file path to the native clipboard. " + } + }, + "1485": { + "18": { + "name": "buildLineHtml", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 1485, + 18 + ], + [ + 1513, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1513": { + "21": { + "name": "updateScopeStack", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 1513, + 21 + ], + [ + 1529, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1529": { + "14": { + "name": "pushScope", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack", + "scope" + ], + "range": [ + [ + 1529, + 14 + ], + [ + 1533, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1533": { + "13": { + "name": "popScope", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack" + ], + "range": [ + [ + 1533, + 13 + ], + [ + 1537, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1537": { + "23": { + "name": "buildEmptyLineHtml", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "showIndentGuide", + "eolInvisibles", + "htmlEolInvisibles", + "indentation", + "editor", + "mini" + ], + "range": [ + [ + 1537, + 23 + ], + [ + 1563, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1563": { + "23": { + "name": "replaceSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "replaceFn" + ], + "range": [ + [ + 1563, + 23 + ], + [ + 1573, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1573": { + "25": { + "name": "consolidateSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 1573, + 25 + ], + [ + 1573, + 89 + ] + ], + "doc": "~Private~" + } + }, + "1575": { + "18": { + "name": "logCursorScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1575, + 18 + ], + [ + 1578, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1578": { + "18": { + "name": "logScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 1578, + 18 + ], + [ + 1581, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1581": { + "20": { + "name": "logRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1581, + 20 + ], + [ + 1583, + 35 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 41 + }, + "src/editor.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "3": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 3, + 12 + ], + [ + 3, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 6, + 8 + ], + [ + 6, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "7": { + "15": { + "name": "LanguageMode", + "type": "import", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 39 + ] + ], + "bindingType": "variable", + "path": "./language-mode" + } + }, + "8": { + "16": { + "name": "DisplayBuffer", + "type": "import", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 41 + ] + ], + "bindingType": "variable", + "path": "./display-buffer" + } + }, + "9": { + "9": { + "name": "Cursor", + "type": "import", + "range": [ + [ + 9, + 9 + ], + [ + 9, + 26 + ] + ], + "bindingType": "variable", + "path": "./cursor" + } + }, + "10": { + "12": { + "name": "Selection", + "type": "import", + "range": [ + [ + 10, + 12 + ], + [ + 10, + 32 + ] + ], + "bindingType": "variable", + "path": "./selection" + } + }, + "11": { + "24": { + "type": "primitive", + "range": [ + [ + 11, + 24 + ], + [ + 11, + 58 + ] + ] + } + }, + "138": { + "0": { + "type": "class", + "name": "Editor", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 143, + 17 + ], + [ + 144, + 32 + ], + [ + 145, + 18 + ], + [ + 146, + 10 + ], + [ + 147, + 16 + ], + [ + 148, + 11 + ], + [ + 149, + 14 + ], + [ + 150, + 28 + ], + [ + 151, + 20 + ], + [ + 152, + 26 + ], + [ + 161, + 15 + ], + [ + 190, + 19 + ], + [ + 197, + 21 + ], + [ + 202, + 21 + ], + [ + 215, + 28 + ], + [ + 228, + 16 + ], + [ + 234, + 13 + ], + [ + 242, + 8 + ], + [ + 258, + 12 + ], + [ + 271, + 16 + ], + [ + 281, + 14 + ], + [ + 288, + 25 + ], + [ + 292, + 21 + ], + [ + 296, + 15 + ], + [ + 301, + 15 + ], + [ + 304, + 18 + ], + [ + 307, + 15 + ], + [ + 312, + 15 + ], + [ + 315, + 18 + ], + [ + 323, + 14 + ], + [ + 328, + 16 + ], + [ + 331, + 16 + ], + [ + 339, + 16 + ], + [ + 361, + 22 + ], + [ + 369, + 19 + ], + [ + 381, + 27 + ], + [ + 396, + 30 + ], + [ + 414, + 22 + ], + [ + 418, + 21 + ], + [ + 428, + 8 + ], + [ + 435, + 10 + ], + [ + 437, + 16 + ], + [ + 442, + 23 + ], + [ + 447, + 11 + ], + [ + 450, + 11 + ], + [ + 453, + 11 + ], + [ + 458, + 18 + ], + [ + 461, + 16 + ], + [ + 464, + 13 + ], + [ + 467, + 10 + ], + [ + 470, + 20 + ], + [ + 473, + 24 + ], + [ + 479, + 25 + ], + [ + 482, + 24 + ], + [ + 486, + 20 + ], + [ + 494, + 27 + ], + [ + 500, + 20 + ], + [ + 506, + 26 + ], + [ + 509, + 8 + ], + [ + 512, + 21 + ], + [ + 515, + 30 + ], + [ + 518, + 14 + ], + [ + 520, + 11 + ], + [ + 524, + 22 + ], + [ + 536, + 35 + ], + [ + 546, + 35 + ], + [ + 551, + 29 + ], + [ + 556, + 29 + ], + [ + 573, + 22 + ], + [ + 576, + 20 + ], + [ + 579, + 22 + ], + [ + 582, + 22 + ], + [ + 585, + 26 + ], + [ + 588, + 20 + ], + [ + 591, + 27 + ], + [ + 593, + 25 + ], + [ + 605, + 27 + ], + [ + 614, + 31 + ], + [ + 618, + 26 + ], + [ + 624, + 19 + ], + [ + 626, + 18 + ], + [ + 633, + 14 + ], + [ + 639, + 17 + ], + [ + 643, + 22 + ], + [ + 649, + 22 + ], + [ + 668, + 10 + ], + [ + 674, + 13 + ], + [ + 678, + 30 + ], + [ + 683, + 30 + ], + [ + 690, + 27 + ], + [ + 696, + 27 + ], + [ + 701, + 10 + ], + [ + 708, + 21 + ], + [ + 714, + 21 + ], + [ + 718, + 14 + ], + [ + 722, + 22 + ], + [ + 726, + 23 + ], + [ + 734, + 33 + ], + [ + 739, + 26 + ], + [ + 744, + 30 + ], + [ + 751, + 18 + ], + [ + 758, + 19 + ], + [ + 765, + 20 + ], + [ + 779, + 13 + ], + [ + 798, + 8 + ], + [ + 803, + 8 + ], + [ + 812, + 18 + ], + [ + 817, + 20 + ], + [ + 822, + 21 + ], + [ + 826, + 11 + ], + [ + 830, + 13 + ], + [ + 836, + 24 + ], + [ + 846, + 17 + ], + [ + 852, + 19 + ], + [ + 862, + 25 + ], + [ + 865, + 25 + ], + [ + 870, + 14 + ], + [ + 874, + 21 + ], + [ + 878, + 39 + ], + [ + 884, + 25 + ], + [ + 893, + 23 + ], + [ + 901, + 23 + ], + [ + 909, + 23 + ], + [ + 913, + 34 + ], + [ + 917, + 34 + ], + [ + 921, + 34 + ], + [ + 926, + 14 + ], + [ + 979, + 16 + ], + [ + 1034, + 18 + ], + [ + 1060, + 17 + ], + [ + 1072, + 22 + ], + [ + 1075, + 23 + ], + [ + 1096, + 32 + ], + [ + 1137, + 18 + ], + [ + 1140, + 19 + ], + [ + 1144, + 13 + ], + [ + 1148, + 14 + ], + [ + 1170, + 15 + ], + [ + 1179, + 19 + ], + [ + 1188, + 19 + ], + [ + 1197, + 22 + ], + [ + 1206, + 22 + ], + [ + 1210, + 17 + ], + [ + 1216, + 18 + ], + [ + 1220, + 22 + ], + [ + 1224, + 14 + ], + [ + 1227, + 13 + ], + [ + 1233, + 29 + ], + [ + 1240, + 29 + ], + [ + 1245, + 13 + ], + [ + 1255, + 16 + ], + [ + 1264, + 16 + ], + [ + 1288, + 30 + ], + [ + 1301, + 26 + ], + [ + 1311, + 26 + ], + [ + 1321, + 27 + ], + [ + 1336, + 19 + ], + [ + 1342, + 19 + ], + [ + 1347, + 25 + ], + [ + 1355, + 31 + ], + [ + 1361, + 17 + ], + [ + 1363, + 27 + ], + [ + 1374, + 16 + ], + [ + 1381, + 20 + ], + [ + 1388, + 40 + ], + [ + 1394, + 28 + ], + [ + 1403, + 34 + ], + [ + 1415, + 27 + ], + [ + 1422, + 27 + ], + [ + 1428, + 22 + ], + [ + 1439, + 27 + ], + [ + 1446, + 27 + ], + [ + 1453, + 26 + ], + [ + 1460, + 26 + ], + [ + 1468, + 27 + ], + [ + 1476, + 27 + ], + [ + 1482, + 19 + ], + [ + 1490, + 24 + ], + [ + 1499, + 24 + ], + [ + 1505, + 34 + ], + [ + 1511, + 22 + ], + [ + 1515, + 16 + ], + [ + 1519, + 18 + ], + [ + 1523, + 18 + ], + [ + 1527, + 19 + ], + [ + 1533, + 19 + ], + [ + 1539, + 22 + ], + [ + 1543, + 37 + ], + [ + 1547, + 31 + ], + [ + 1551, + 36 + ], + [ + 1555, + 31 + ], + [ + 1559, + 25 + ], + [ + 1563, + 31 + ], + [ + 1567, + 25 + ], + [ + 1571, + 35 + ], + [ + 1575, + 36 + ], + [ + 1579, + 32 + ], + [ + 1583, + 40 + ], + [ + 1587, + 44 + ], + [ + 1596, + 26 + ], + [ + 1599, + 10 + ], + [ + 1604, + 12 + ], + [ + 1609, + 16 + ], + [ + 1612, + 18 + ], + [ + 1616, + 18 + ], + [ + 1619, + 15 + ], + [ + 1626, + 15 + ], + [ + 1636, + 26 + ], + [ + 1645, + 15 + ], + [ + 1652, + 14 + ], + [ + 1659, + 12 + ], + [ + 1666, + 14 + ], + [ + 1673, + 15 + ], + [ + 1679, + 13 + ], + [ + 1686, + 18 + ], + [ + 1693, + 27 + ], + [ + 1702, + 32 + ], + [ + 1709, + 21 + ], + [ + 1716, + 32 + ], + [ + 1723, + 28 + ], + [ + 1729, + 14 + ], + [ + 1740, + 21 + ], + [ + 1751, + 21 + ], + [ + 1759, + 28 + ], + [ + 1776, + 13 + ], + [ + 1791, + 13 + ], + [ + 1798, + 13 + ], + [ + 1809, + 13 + ], + [ + 1816, + 27 + ], + [ + 1823, + 21 + ], + [ + 1830, + 31 + ], + [ + 1834, + 14 + ], + [ + 1841, + 36 + ], + [ + 1848, + 40 + ], + [ + 1856, + 16 + ], + [ + 1863, + 16 + ], + [ + 1873, + 27 + ], + [ + 1879, + 28 + ], + [ + 1883, + 22 + ], + [ + 1889, + 31 + ], + [ + 1910, + 40 + ], + [ + 1919, + 14 + ], + [ + 1926, + 14 + ], + [ + 1930, + 17 + ], + [ + 1933, + 20 + ], + [ + 1944, + 12 + ], + [ + 1952, + 20 + ], + [ + 1958, + 21 + ], + [ + 1962, + 20 + ], + [ + 1964, + 11 + ], + [ + 1967, + 18 + ], + [ + 1969, + 22 + ], + [ + 1972, + 23 + ], + [ + 1976, + 23 + ], + [ + 1980, + 32 + ], + [ + 1983, + 27 + ], + [ + 1984, + 27 + ], + [ + 1986, + 29 + ], + [ + 1987, + 29 + ], + [ + 1989, + 25 + ], + [ + 1990, + 25 + ], + [ + 1992, + 29 + ], + [ + 1994, + 22 + ], + [ + 1995, + 22 + ], + [ + 1997, + 23 + ], + [ + 1999, + 25 + ], + [ + 2001, + 23 + ], + [ + 2002, + 23 + ], + [ + 2004, + 13 + ], + [ + 2005, + 13 + ], + [ + 2007, + 19 + ], + [ + 2009, + 12 + ], + [ + 2010, + 12 + ], + [ + 2012, + 16 + ], + [ + 2013, + 16 + ], + [ + 2015, + 19 + ], + [ + 2016, + 19 + ], + [ + 2018, + 17 + ], + [ + 2019, + 17 + ], + [ + 2021, + 18 + ], + [ + 2022, + 18 + ], + [ + 2024, + 19 + ], + [ + 2025, + 18 + ], + [ + 2027, + 22 + ], + [ + 2029, + 29 + ], + [ + 2031, + 38 + ], + [ + 2033, + 34 + ], + [ + 2035, + 34 + ], + [ + 2037, + 34 + ], + [ + 2039, + 27 + ], + [ + 2041, + 23 + ], + [ + 2043, + 26 + ], + [ + 2045, + 26 + ], + [ + 2047, + 26 + ], + [ + 2049, + 24 + ], + [ + 2051, + 32 + ], + [ + 2052, + 32 + ], + [ + 2054, + 29 + ], + [ + 2055, + 29 + ], + [ + 2058, + 12 + ] + ], + "doc": " Public: This class represents all essential editing state for a single\n{TextBuffer}, including cursor and selection positions, folds, and soft wraps.\nIf you're manipulating the state of an editor, use this class. If you're\ninterested in the visual appearance of editors, use {EditorView} instead.\n\nA single {TextBuffer} can belong to multiple editors. For example, if the\nsame file is open in two different panes, Atom creates a separate editor for\neach pane. If the buffer is manipulated the changes are reflected in both\neditors, but each maintains its own cursor position, folded lines, etc.\n\n## Accessing Editor Instances\n\nThe easiest way to get hold of `Editor` objects is by registering a callback\nwith `::eachEditor` on the `atom.workspace` global. Your callback will then\nbe called with all current editor instances and also when any editor is\ncreated in the future.\n\n```coffeescript\n atom.workspace.eachEditor (editor) ->\n editor.insertText('Hello World')\n```\n\n## Buffer vs. Screen Coordinates\n\nBecause editors support folds and soft-wrapping, the lines on screen don't\nalways match the lines in the buffer. For example, a long line that soft wraps\ntwice renders as three lines on screen, but only represents one line in the\nbuffer. Similarly, if rows 5-10 are folded, then row 6 on screen corresponds\nto row 11 in the buffer.\n\nYour choice of coordinates systems will depend on what you're trying to\nachieve. For example, if you're writing a command that jumps the cursor up or\ndown by 10 lines, you'll want to use screen coordinates because the user\nprobably wants to skip lines *on screen*. However, if you're writing a package\nthat jumps between method definitions, you'll want to work in buffer\ncoordinates.\n\n**When in doubt, just default to buffer coordinates**, then experiment with\nsoft wraps and folds to ensure your code interacts with them correctly.\n\n## Common Tasks\n\nThis is a subset of methods on this class. Refer to the complete summary for\nits full capabilities.\n\n### Cursors\n- {::setCursorBufferPosition}\n- {::setCursorScreenPosition}\n- {::moveCursorUp}\n- {::moveCursorDown}\n- {::moveCursorLeft}\n- {::moveCursorRight}\n- {::moveCursorToBeginningOfWord}\n- {::moveCursorToEndOfWord}\n- {::moveCursorToPreviousWordBoundary}\n- {::moveCursorToNextWordBoundary}\n- {::moveCursorToBeginningOfNextWord}\n- {::moveCursorToBeginningOfLine}\n- {::moveCursorToEndOfLine}\n- {::moveCursorToFirstCharacterOfLine}\n- {::moveCursorToTop}\n- {::moveCursorToBottom}\n\n### Selections\n- {::getSelectedBufferRange}\n- {::getSelectedBufferRanges}\n- {::setSelectedBufferRange}\n- {::setSelectedBufferRanges}\n- {::selectUp}\n- {::selectDown}\n- {::selectLeft}\n- {::selectRight}\n- {::selectToBeginningOfWord}\n- {::selectToEndOfWord}\n- {::selectToPreviousWordBoundary}\n- {::selectToNextWordBoundary}\n- {::selectWord}\n- {::selectToBeginningOfLine}\n- {::selectToEndOfLine}\n- {::selectToFirstCharacterOfLine}\n- {::selectToTop}\n- {::selectToBottom}\n- {::selectAll}\n- {::addSelectionForBufferRange}\n- {::addSelectionAbove}\n- {::addSelectionBelow}\n- {::splitSelectionsIntoLines}\n\n### Manipulating Text\n- {::getText}\n- {::getSelectedText}\n- {::setText}\n- {::setTextInBufferRange}\n- {::insertText}\n- {::insertNewline}\n- {::insertNewlineAbove}\n- {::insertNewlineBelow}\n- {::backspace}\n- {::deleteToBeginningOfWord}\n- {::deleteToBeginningOfLine}\n- {::delete}\n- {::deleteToEndOfLine}\n- {::deleteToEndOfWord}\n- {::deleteLine}\n- {::cutSelectedText}\n- {::cutToEndOfLine}\n- {::copySelectedText}\n- {::pasteText}\n\n### Undo, Redo, and Transactions\n- {::undo}\n- {::redo}\n- {::transact}\n- {::abortTransaction}\n\n### Markers\n- {::markBufferRange}\n- {::markScreenRange}\n- {::getMarker}\n- {::findMarkers}\n\n### Decorations\n- {::decorateMarker}\n- {::decorationsForScreenRowRange} ", + "range": [ + [ + 138, + 0 + ], + [ + 2060, + 16 + ] + ] + } + }, + "143": { + "17": { + "name": "deserializing", + "type": "primitive", + "range": [ + [ + 143, + 17 + ], + [ + 143, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "144": { + "32": { + "name": "callDisplayBufferCreatedHook", + "type": "primitive", + "range": [ + [ + 144, + 32 + ], + [ + 144, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "145": { + "18": { + "name": "registerEditor", + "type": "primitive", + "range": [ + [ + 145, + 18 + ], + [ + 145, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "146": { + "10": { + "name": "buffer", + "type": "primitive", + "range": [ + [ + 146, + 10 + ], + [ + 146, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "147": { + "16": { + "name": "languageMode", + "type": "primitive", + "range": [ + [ + 147, + 16 + ], + [ + 147, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "148": { + "11": { + "name": "cursors", + "type": "primitive", + "range": [ + [ + 148, + 11 + ], + [ + 148, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "149": { + "14": { + "name": "selections", + "type": "primitive", + "range": [ + [ + 149, + 14 + ], + [ + 149, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "150": { + "28": { + "name": "suppressSelectionMerging", + "type": "primitive", + "range": [ + [ + 150, + 28 + ], + [ + 150, + 32 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "151": { + "20": { + "name": "updateBatchDepth", + "type": "primitive", + "range": [ + [ + 151, + 20 + ], + [ + 151, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "152": { + "26": { + "name": "selectionFlashDuration", + "type": "primitive", + "range": [ + [ + 152, + 26 + ], + [ + 152, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "161": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 161, + 15 + ], + [ + 190, + 1 + ] + ], + "doc": "~Private~" + } + }, + "190": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 19 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 197, + 21 + ], + [ + 202, + 1 + ] + ], + "doc": "~Private~" + } + }, + "202": { + "21": { + "name": "subscribeToBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 202, + 21 + ], + [ + 215, + 1 + ] + ], + "doc": "~Private~" + } + }, + "215": { + "28": { + "name": "subscribeToDisplayBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 215, + 28 + ], + [ + 228, + 1 + ] + ], + "doc": "~Private~" + } + }, + "228": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 228, + 16 + ], + [ + 234, + 1 + ] + ], + "doc": "~Private~" + } + }, + "234": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 13 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 242, + 8 + ], + [ + 258, + 1 + ] + ], + "doc": "Private: Create an {Editor} with its initial state based on this object " + } + }, + "258": { + "12": { + "name": "getTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 258, + 12 + ], + [ + 271, + 1 + ] + ], + "doc": " Public: Get the title the editor's title for display in other parts of the\nUI such as the tabs.\n\nIf the editor's buffer is saved, its title is the file name. If it is\nunsaved, its title is \"untitled\".\n\nReturns a {String}. " + } + }, + "271": { + "16": { + "name": "getLongTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 271, + 16 + ], + [ + 281, + 1 + ] + ], + "doc": " Public: Get the editor's long title for display in other parts of the UI\nsuch as the window title.\n\nIf the editor's buffer is saved, its long title is formatted as\n\" - \". If it is unsaved, its title is \"untitled\"\n\nReturns a {String}. " + } + }, + "281": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 281, + 14 + ], + [ + 281, + 60 + ] + ], + "doc": "Private: Controls visibility based on the given {Boolean}. " + } + }, + "288": { + "25": { + "name": "setEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorWidthInChars" + ], + "range": [ + [ + 288, + 25 + ], + [ + 292, + 1 + ] + ], + "doc": " Private: Set the number of characters that can be displayed horizontally in the\neditor.\n\neditorWidthInChars - A {Number} representing the width of the {EditorView}\nin characters. " + } + }, + "292": { + "21": { + "name": "getSoftWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 21 + ], + [ + 292, + 57 + ] + ], + "doc": "Public: Sets the column at which column will soft wrap " + } + }, + "296": { + "15": { + "name": "getSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 296, + 15 + ], + [ + 296, + 26 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether softTabs are enabled for this\neditor. " + } + }, + "301": { + "15": { + "name": "setSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 301, + 15 + ], + [ + 301, + 38 + ] + ], + "doc": " Public: Enable or disable soft tabs for this editor.\n\nsoftTabs - A {Boolean} " + } + }, + "304": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 304, + 18 + ], + [ + 304, + 52 + ] + ], + "doc": "Public: Toggle soft tabs for this editor " + } + }, + "307": { + "15": { + "name": "getSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 307, + 15 + ], + [ + 307, + 45 + ] + ], + "doc": "Public: Get whether soft wrap is enabled for this editor. " + } + }, + "312": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 312, + 15 + ], + [ + 312, + 64 + ] + ], + "doc": " Public: Enable or disable soft wrap for this editor.\n\nsoftWrap - A {Boolean} " + } + }, + "315": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 18 + ], + [ + 315, + 52 + ] + ], + "doc": "Public: Toggle soft wrap for this editor " + } + }, + "323": { + "14": { + "name": "getTabText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 323, + 14 + ], + [ + 323, + 37 + ] + ], + "doc": " Public: Get the text representing a single level of indent.\n\nIf soft tabs are enabled, the text is composed of N spaces, where N is the\ntab length. Otherwise the text is a tab character (`\\t`).\n\nReturns a {String}. " + } + }, + "328": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 328, + 16 + ], + [ + 328, + 47 + ] + ], + "doc": " Public: Get the on-screen length of tab characters.\n\nReturns a {Number}. " + } + }, + "331": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 331, + 16 + ], + [ + 331, + 68 + ] + ], + "doc": "Public: Set the on-screen length of tab characters. " + } + }, + "339": { + "16": { + "name": "usesSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 339, + 16 + ], + [ + 361, + 1 + ] + ], + "doc": " Public: Determine if the buffer uses hard or soft tabs.\n\nReturns `true` if the first non-comment line with leading whitespace starts\nwith a space character. Returns `false` if it starts with a hard tab (`\\t`).\n\nReturns a {Boolean}, " + } + }, + "361": { + "22": { + "name": "clipBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 361, + 22 + ], + [ + 361, + 77 + ] + ], + "doc": " Public: Clip the given {Point} to a valid position in the buffer.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the buffer, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " + } + }, + "369": { + "19": { + "name": "clipBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 369, + 19 + ], + [ + 369, + 53 + ] + ], + "doc": " Public: Clip the start and end of the given range to valid positions in the\nbuffer. See {::clipBufferPosition} for more information.\n\nrange - The {Range} to clip.\n\nReturns a {Range}. " + } + }, + "381": { + "27": { + "name": "indentationForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 381, + 27 + ], + [ + 396, + 1 + ] + ], + "doc": " Public: Get the indentation level of the given a buffer row.\n\nReturns how deeply the given row is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nbufferRow - A {Number} indicating the buffer row.\n\nReturns a {Number}. " + } + }, + "396": { + "30": { + "name": "setIndentationForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "newLevel", + null + ], + "range": [ + [ + 396, + 30 + ], + [ + 414, + 1 + ] + ], + "doc": " Public: Set the indentation level for the given buffer row.\n\nInserts or removes hard tabs or spaces based on the soft tabs and tab length\nsettings of this editor in order to bring it to the given indentation level.\nNote that if soft tabs are enabled and the tab length is 2, a row with 4\nleading spaces would have an indentation level of 2.\n\nbufferRow - A {Number} indicating the buffer row.\nnewLevel - A {Number} indicating the new indentation level.\noptions - An {Object} with the following keys:\n :preserveLeadingWhitespace - true to preserve any whitespace already at\n the beginning of the line (default: false). " + } + }, + "414": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 414, + 22 + ], + [ + 418, + 1 + ] + ], + "doc": " Public: Get the indentation level of the given line of text.\n\nReturns how deeply the given line is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nline - A {String} representing a line of text.\n\nReturns a {Number}. " + } + }, + "418": { + "21": { + "name": "buildIndentString", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "number", + "column" + ], + "range": [ + [ + 418, + 21 + ], + [ + 428, + 1 + ] + ], + "doc": "Private: Constructs the string used for tabs. " + } + }, + "428": { + "8": { + "name": "save", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 8 + ], + [ + 428, + 24 + ] + ], + "doc": " Public: Saves the editor's text buffer.\n\nSee {TextBuffer::save} for more details. " + } + }, + "435": { + "10": { + "name": "saveAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 435, + 10 + ], + [ + 435, + 47 + ] + ], + "doc": " Public: Saves the editor's text buffer as the given path.\n\nSee {TextBuffer::saveAs} for more details.\n\nfilePath - A {String} path. " + } + }, + "437": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 437, + 16 + ], + [ + 442, + 1 + ] + ], + "doc": "~Private~" + } + }, + "442": { + "23": { + "name": "copyPathToClipboard", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 442, + 23 + ], + [ + 447, + 1 + ] + ], + "doc": "Private: Copies the current file path to the native clipboard. " + } + }, + "447": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 447, + 11 + ], + [ + 447, + 30 + ] + ], + "doc": "Public: Returns the {String} path of this editor's text buffer. " + } + }, + "450": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 450, + 11 + ], + [ + 450, + 30 + ] + ], + "doc": "Public: Returns a {String} representing the entire contents of the editor. " + } + }, + "453": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 453, + 11 + ], + [ + 453, + 41 + ] + ], + "doc": "Public: Replaces the entire contents of the buffer with the given {String}. " + } + }, + "458": { + "18": { + "name": "getTextInRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 458, + 18 + ], + [ + 458, + 57 + ] + ], + "doc": " Private: Get the text in the given {Range}.\n\nReturns a {String}. " + } + }, + "461": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 461, + 16 + ], + [ + 461, + 40 + ] + ], + "doc": "Public: Returns a {Number} representing the number of lines in the editor. " + } + }, + "464": { + "13": { + "name": "getBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 464, + 13 + ], + [ + 464, + 22 + ] + ], + "doc": "Private: Retrieves the current {TextBuffer}. " + } + }, + "467": { + "10": { + "name": "getUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 467, + 10 + ], + [ + 467, + 28 + ] + ], + "doc": "Public: Retrieves the current buffer's URI. " + } + }, + "470": { + "20": { + "name": "isBufferRowBlank", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 470, + 20 + ], + [ + 470, + 63 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.isRowBlank} " + } + }, + "473": { + "24": { + "name": "isBufferRowCommented", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 473, + 24 + ], + [ + 479, + 1 + ] + ], + "doc": "Public: Determine if the given row is entirely a comment " + } + }, + "479": { + "25": { + "name": "nextNonBlankBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 479, + 25 + ], + [ + 479, + 73 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.nextNonBlankRow} " + } + }, + "482": { + "24": { + "name": "getEofBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 482, + 24 + ], + [ + 482, + 50 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.getEndPosition} " + } + }, + "486": { + "20": { + "name": "getLastBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 486, + 20 + ], + [ + 486, + 42 + ] + ], + "doc": " Public: Returns a {Number} representing the last zero-indexed buffer row\nnumber of the editor. " + } + }, + "494": { + "27": { + "name": "bufferRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + null + ], + "range": [ + [ + 494, + 27 + ], + [ + 494, + 96 + ] + ], + "doc": " Private: Returns the range for the given buffer row.\n\nrow - A row {Number}.\noptions - An options hash with an `includeNewline` key.\n\nReturns a {Range}. " + } + }, + "500": { + "20": { + "name": "lineForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 500, + 20 + ], + [ + 500, + 51 + ] + ], + "doc": " Public: Returns a {String} representing the contents of the line at the\ngiven buffer row.\n\nrow - A {Number} representing a zero-indexed buffer row. " + } + }, + "506": { + "26": { + "name": "lineLengthForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 506, + 26 + ], + [ + 506, + 63 + ] + ], + "doc": " Public: Returns a {Number} representing the line length for the given\nbuffer row, exclusive of its line-ending character(s).\n\nrow - A {Number} indicating the buffer row. " + } + }, + "509": { + "8": { + "name": "scan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 509, + 8 + ], + [ + 509, + 41 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.scan} " + } + }, + "512": { + "21": { + "name": "scanInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 512, + 21 + ], + [ + 512, + 61 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.scanInRange} " + } + }, + "515": { + "30": { + "name": "backwardsScanInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 515, + 30 + ], + [ + 515, + 79 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.backwardsScanInRange} " + } + }, + "518": { + "14": { + "name": "isModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 518, + 14 + ], + [ + 518, + 36 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.isModified} " + } + }, + "520": { + "11": { + "name": "isEmpty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 520, + 11 + ], + [ + 520, + 30 + ] + ], + "doc": "~Private~" + } + }, + "524": { + "22": { + "name": "shouldPromptToSave", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 524, + 22 + ], + [ + 524, + 74 + ] + ], + "doc": " Public: Determine whether the user should be prompted to save before closing\nthis editor. " + } + }, + "536": { + "35": { + "name": "screenPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 536, + 35 + ], + [ + 536, + 134 + ] + ], + "doc": " Public: Convert a position in buffer-coordinates to screen-coordinates.\n\nThe position is clipped via {::clipBufferPosition} prior to the conversion.\nThe position is also clipped via {::clipScreenPosition} following the\nconversion, which only makes a difference when `options` are supplied.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " + } + }, + "546": { + "35": { + "name": "bufferPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 546, + 35 + ], + [ + 546, + 134 + ] + ], + "doc": " Public: Convert a position in screen-coordinates to buffer-coordinates.\n\nThe position is clipped via {::clipScreenPosition} prior to the conversion.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " + } + }, + "551": { + "29": { + "name": "screenRangeForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 551, + 29 + ], + [ + 551, + 98 + ] + ], + "doc": " Public: Convert a range in buffer-coordinates to screen-coordinates.\n\nReturns a {Range}. " + } + }, + "556": { + "29": { + "name": "bufferRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 556, + 29 + ], + [ + 556, + 98 + ] + ], + "doc": " Public: Convert a range in screen-coordinates to buffer-coordinates.\n\nReturns a {Range}. " + } + }, + "573": { + "22": { + "name": "clipScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 573, + 22 + ], + [ + 573, + 108 + ] + ], + "doc": " Public: Clip the given {Point} to a valid position on screen.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the screen, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at screen row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " + } + }, + "576": { + "20": { + "name": "lineForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 576, + 20 + ], + [ + 576, + 58 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.lineForRow} " + } + }, + "579": { + "22": { + "name": "linesForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 579, + 22 + ], + [ + 579, + 76 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.linesForRows} " + } + }, + "582": { + "22": { + "name": "getScreenLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 582, + 22 + ], + [ + 582, + 53 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getLineCount} " + } + }, + "585": { + "26": { + "name": "getMaxScreenLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 585, + 26 + ], + [ + 585, + 61 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getMaxLineLength} " + } + }, + "588": { + "20": { + "name": "getLastScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 588, + 20 + ], + [ + 588, + 49 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getLastRow} " + } + }, + "591": { + "27": { + "name": "bufferRowsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 591, + 27 + ], + [ + 591, + 104 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.bufferRowsForScreenRows} " + } + }, + "593": { + "25": { + "name": "bufferRowForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 593, + 25 + ], + [ + 593, + 74 + ] + ], + "doc": "~Private~" + } + }, + "605": { + "27": { + "name": "scopesForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 605, + 27 + ], + [ + 605, + 100 + ] + ], + "doc": " Public: Get the syntactic scopes for the given position in buffer\ncoordinates.\n\nFor example, if called with a position inside the parameter list of an\nanonymous CoffeeScript function, the method returns the following array:\n`[\"source.coffee\", \"meta.inline.function.coffee\", \"variable.parameter.function.coffee\"]`\n\nbufferPosition - A {Point} or {Array} of [row, column].\n\nReturns an {Array} of {String}s. " + } + }, + "614": { + "31": { + "name": "bufferRangeForScopeAtCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 614, + 31 + ], + [ + 618, + 1 + ] + ], + "doc": " Public: Get the range in buffer coordinates of all tokens surrounding the\ncursor that match the given scope selector.\n\nFor example, if you wanted to find the string surrounding the cursor, you\ncould call `editor.bufferRangeForScopeAtCursor(\".string.quoted\")`.\n\nReturns a {Range}. " + } + }, + "618": { + "26": { + "name": "tokenForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 618, + 26 + ], + [ + 618, + 98 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.tokenForBufferPosition} " + } + }, + "624": { + "19": { + "name": "getCursorScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 624, + 19 + ], + [ + 624, + 45 + ] + ], + "doc": " Public: Get the syntactic scopes for the most recently added cursor's\nposition. See {::scopesForBufferPosition} for more information.\n\nReturns an {Array} of {String}s. " + } + }, + "626": { + "18": { + "name": "logCursorScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 626, + 18 + ], + [ + 633, + 1 + ] + ], + "doc": "~Private~" + } + }, + "633": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 633, + 14 + ], + [ + 639, + 1 + ] + ], + "doc": " Public: For each selection, replace the selected text with the given text.\n\ntext - A {String} representing the text to insert.\noptions - See {Selection::insertText}. " + } + }, + "639": { + "17": { + "name": "insertNewline", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 639, + 17 + ], + [ + 643, + 1 + ] + ], + "doc": "Public: For each selection, replace the selected text with a newline. " + } + }, + "643": { + "22": { + "name": "insertNewlineBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 643, + 22 + ], + [ + 649, + 1 + ] + ], + "doc": "Public: For each cursor, insert a newline at beginning the following line. " + } + }, + "649": { + "22": { + "name": "insertNewlineAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 649, + 22 + ], + [ + 668, + 1 + ] + ], + "doc": "Public: For each cursor, insert a newline at the end of the preceding line. " + } + }, + "668": { + "10": { + "name": "indent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 668, + 10 + ], + [ + 674, + 1 + ] + ], + "doc": " Private: Indent all lines intersecting selections. See {Selection::indent} for more\ninformation. " + } + }, + "674": { + "13": { + "name": "backspace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 674, + 13 + ], + [ + 678, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete the character\npreceding the cursor. Otherwise delete the selected text. " + } + }, + "678": { + "30": { + "name": "backspaceToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 678, + 30 + ], + [ + 683, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " + } + }, + "683": { + "30": { + "name": "backspaceToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 683, + 30 + ], + [ + 690, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " + } + }, + "690": { + "27": { + "name": "deleteToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 690, + 27 + ], + [ + 696, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word that precede the cursor. Otherwise delete the\nselected text. " + } + }, + "696": { + "27": { + "name": "deleteToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 696, + 27 + ], + [ + 701, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing line that precede the cursor. Otherwise delete the\nselected text. " + } + }, + "701": { + "10": { + "name": "delete", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 701, + 10 + ], + [ + 708, + 1 + ] + ] + } + }, + "708": { + "21": { + "name": "deleteToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 708, + 21 + ], + [ + 714, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is not empty, deletes the\nselection; otherwise, deletes all characters of the containing line\nfollowing the cursor. If the cursor is already at the end of the line,\ndeletes the following newline. " + } + }, + "714": { + "21": { + "name": "deleteToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 714, + 21 + ], + [ + 718, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word following the cursor. Otherwise delete the selected\ntext. " + } + }, + "718": { + "14": { + "name": "deleteLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 718, + 14 + ], + [ + 722, + 1 + ] + ], + "doc": "Public: Delete all lines intersecting selections. " + } + }, + "722": { + "22": { + "name": "indentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 722, + 22 + ], + [ + 726, + 1 + ] + ], + "doc": "Public: Indent rows intersecting selections by one level. " + } + }, + "726": { + "23": { + "name": "outdentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 726, + 23 + ], + [ + 734, + 1 + ] + ], + "doc": "Public: Outdent rows intersecting selections by one level. " + } + }, + "734": { + "33": { + "name": "toggleLineCommentsInSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 734, + 33 + ], + [ + 739, + 1 + ] + ], + "doc": " Public: Toggle line comments for rows intersecting selections.\n\nIf the current grammar doesn't support comments, does nothing.\n\nReturns an {Array} of the commented {Range}s. " + } + }, + "739": { + "26": { + "name": "autoIndentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 739, + 26 + ], + [ + 744, + 1 + ] + ], + "doc": " Public: Indent rows intersecting selections based on the grammar's suggested\nindent level. " + } + }, + "744": { + "30": { + "name": "normalizeTabsInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 744, + 30 + ], + [ + 751, + 1 + ] + ], + "doc": " Private: If soft tabs are enabled, convert all hard tabs to soft tabs in the given\n{Range}. " + } + }, + "751": { + "18": { + "name": "cutToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 751, + 18 + ], + [ + 758, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, cut all characters\nof the containing line following the cursor. Otherwise cut the selected\ntext. " + } + }, + "758": { + "19": { + "name": "cutSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 758, + 19 + ], + [ + 765, + 1 + ] + ], + "doc": "Public: For each selection, cut the selected text. " + } + }, + "765": { + "20": { + "name": "copySelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 765, + 20 + ], + [ + 779, + 1 + ] + ], + "doc": "Public: For each selection, copy the selected text. " + } + }, + "779": { + "13": { + "name": "pasteText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 779, + 13 + ], + [ + 798, + 1 + ] + ], + "doc": " Public: For each selection, replace the selected text with the contents of\nthe clipboard.\n\nIf the clipboard contains the same number of selections as the current\neditor, each selection will be replaced with the content of the\ncorresponding clipboard selection text.\n\noptions - See {Selection::insertText}. " + } + }, + "798": { + "8": { + "name": "undo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 798, + 8 + ], + [ + 803, + 1 + ] + ], + "doc": "Public: Undo the last change. " + } + }, + "803": { + "8": { + "name": "redo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 803, + 8 + ], + [ + 812, + 1 + ] + ], + "doc": "Public: Redo the last change. " + } + }, + "812": { + "18": { + "name": "foldCurrentRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 812, + 18 + ], + [ + 817, + 1 + ] + ], + "doc": " Public: Fold the most recent cursor's row based on its indentation level.\n\nThe fold will extend from the nearest preceding line with a lower\nindentation level up to the nearest following row with a lower indentation\nlevel. " + } + }, + "817": { + "20": { + "name": "unfoldCurrentRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 817, + 20 + ], + [ + 822, + 1 + ] + ], + "doc": "Public: Unfold the most recent cursor's row by one level. " + } + }, + "822": { + "21": { + "name": "foldSelectedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 822, + 21 + ], + [ + 826, + 1 + ] + ], + "doc": "Public: For each selection, fold the rows it intersects. " + } + }, + "826": { + "11": { + "name": "foldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 826, + 11 + ], + [ + 830, + 1 + ] + ], + "doc": "Public: Fold all foldable lines. " + } + }, + "830": { + "13": { + "name": "unfoldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 830, + 13 + ], + [ + 836, + 1 + ] + ], + "doc": "Public: Unfold all existing folds. " + } + }, + "836": { + "24": { + "name": "foldAllAtIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "level" + ], + "range": [ + [ + 836, + 24 + ], + [ + 846, + 1 + ] + ], + "doc": " Public: Fold all foldable lines at the given indent level.\n\nlevel - A {Number}. " + } + }, + "846": { + "17": { + "name": "foldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 846, + 17 + ], + [ + 852, + 1 + ] + ], + "doc": " Public: Fold the given row in buffer coordinates based on its indentation\nlevel.\n\nIf the given row is foldable, the fold will begin there. Otherwise, it will\nbegin at the first foldable row preceding the given row.\n\nbufferRow - A {Number}. " + } + }, + "852": { + "19": { + "name": "unfoldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 852, + 19 + ], + [ + 862, + 1 + ] + ], + "doc": " Public: Unfold all folds containing the given row in buffer coordinates.\n\nbufferRow - A {Number} " + } + }, + "862": { + "25": { + "name": "isFoldableAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 862, + 25 + ], + [ + 865, + 1 + ] + ], + "doc": " Public: Determine whether the given row in buffer coordinates is foldable.\n\nA *foldable* row is a row that *starts* a row range that can be folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "865": { + "25": { + "name": "isFoldableAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 865, + 25 + ], + [ + 870, + 1 + ] + ], + "doc": "~Private~" + } + }, + "870": { + "14": { + "name": "createFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 870, + 14 + ], + [ + 874, + 1 + ] + ], + "doc": "TODO: Rename to foldRowRange? " + } + }, + "874": { + "21": { + "name": "destroyFoldWithId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 874, + 21 + ], + [ + 878, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.destroyFoldWithId} " + } + }, + "878": { + "39": { + "name": "destroyFoldsIntersectingBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 878, + 39 + ], + [ + 884, + 1 + ] + ], + "doc": "Private: Remove any {Fold}s found that intersect the given buffer row. " + } + }, + "884": { + "25": { + "name": "toggleFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 884, + 25 + ], + [ + 893, + 1 + ] + ], + "doc": " Public: Fold the given buffer row if it isn't currently folded, and unfold\nit otherwise. " + } + }, + "893": { + "23": { + "name": "isFoldedAtCursorRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 893, + 23 + ], + [ + 901, + 1 + ] + ], + "doc": " Public: Determine whether the most recently added cursor's row is folded.\n\nReturns a {Boolean}. " + } + }, + "901": { + "23": { + "name": "isFoldedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 901, + 23 + ], + [ + 909, + 1 + ] + ], + "doc": " Public: Determine whether the given row in buffer coordinates is folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "909": { + "23": { + "name": "isFoldedAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 909, + 23 + ], + [ + 913, + 1 + ] + ], + "doc": " Public: Determine whether the given row in screen coordinates is folded.\n\nscreenRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "913": { + "34": { + "name": "largestFoldContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 913, + 34 + ], + [ + 917, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.largestFoldContainingBufferRow} " + } + }, + "917": { + "34": { + "name": "largestFoldStartingAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 917, + 34 + ], + [ + 921, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.largestFoldStartingAtScreenRow} " + } + }, + "921": { + "34": { + "name": "outermostFoldsInBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 921, + 34 + ], + [ + 926, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.outermostFoldsForBufferRowRange} " + } + }, + "926": { + "14": { + "name": "moveLineUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 926, + 14 + ], + [ + 979, + 1 + ] + ], + "doc": " Private: Move lines intersection the most recent selection up by one row in screen\ncoordinates. " + } + }, + "979": { + "16": { + "name": "moveLineDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 979, + 16 + ], + [ + 1034, + 1 + ] + ], + "doc": " Private: Move lines intersecting the most recent selection down by one row in screen\ncoordinates. " + } + }, + "1034": { + "18": { + "name": "duplicateLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1034, + 18 + ], + [ + 1060, + 1 + ] + ], + "doc": "Private: Duplicate the most recent cursor's current line. " + } + }, + "1060": { + "17": { + "name": "duplicateLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1060, + 17 + ], + [ + 1072, + 1 + ] + ], + "doc": "Deprecated: Use {::duplicateLines} instead. " + } + }, + "1072": { + "22": { + "name": "mutateSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1072, + 22 + ], + [ + 1075, + 1 + ] + ], + "doc": " Public: Mutate the text of all the selections in a single transaction.\n\nAll the changes made inside the given {Function} can be reverted with a\nsingle call to {::undo}.\n\nfn - A {Function} that will be called once for each {Selection}. The first\n argument will be a {Selection} and the second argument will be the\n {Number} index of that selection. " + } + }, + "1075": { + "23": { + "name": "replaceSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options", + "fn" + ], + "range": [ + [ + 1075, + 23 + ], + [ + 1096, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1096": { + "32": { + "name": "decorationsForScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 1096, + 32 + ], + [ + 1137, + 1 + ] + ], + "doc": " Public: Get all the decorations within a screen row range.\n\nstartScreenRow - the {Number} beginning screen row\nendScreenRow - the {Number} end screen row (inclusive)\n\nReturns an {Object} of decorations in the form\n `{1: [{id: 10, type: 'gutter', class: 'someclass'}], 2: ...}`\n where the keys are {Marker} IDs, and the values are an array of decoration\n params objects attached to the marker.\nReturns an empty object when no decorations are found " + } + }, + "1137": { + "18": { + "name": "decorateMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "decorationParams" + ], + "range": [ + [ + 1137, + 18 + ], + [ + 1140, + 1 + ] + ], + "doc": " Public: Adds a decoration that tracks a {Marker}. When the marker moves,\nis invalidated, or is destroyed, the decoration will be updated to reflect\nthe marker's state.\n\nThere are three types of supported decorations:\n* `line`: Adds your CSS `class` to the line nodes within the range\n marked by the marker\n* `gutter`: Adds your CSS `class` to the line number nodes within the\n range marked by the marker\n* `highlight`: Adds a new highlight div to the editor surrounding the\n range marked by the marker. When the user selects text, the selection is\n visualized with a highlight decoration internally. The structure of this\n highlight will be:\n ```html\n
    \">\n \n
    \n
    \n ```\n\nmarker - A {Marker} you want this decoration to follow.\ndecorationParams - An {Object} representing the decoration eg. `{type: 'gutter', class: 'linter-error'}`\n :type - There are a few supported decoration types:\n * `gutter`: Applies the decoration to the line numbers spanned by the marker.\n * `line`: Applies the decoration to the lines spanned by the marker.\n * `highlight`: Applies the decoration to a \"highlight\" behind the marked range.\n :class - This CSS class will be applied to the decorated line number,\n line, or highlight.\n :onlyHead - If `true`, the decoration will only be applied to the head\n of the marker. Only applicable to the `line` and `gutter` types.\n :onlyEmpty - If `true`, the decoration will only be applied if the\n associated marker is empty. Only applicable to the `line` and\n `gutter` types.\n :onlyNonEmpty - If `true`, the decoration will only be applied if the\n associated marker is non-empty. Only applicable to the `line` and\n gutter types.\n\nReturns a {Decoration} object " + } + }, + "1140": { + "19": { + "name": "decorationForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 1140, + 19 + ], + [ + 1144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1144": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 1144, + 13 + ], + [ + 1148, + 1 + ] + ], + "doc": "Public: Get the {DisplayBufferMarker} for the given marker id. " + } + }, + "1148": { + "14": { + "name": "getMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1148, + 14 + ], + [ + 1170, + 1 + ] + ], + "doc": "Public: Get all {DisplayBufferMarker}s. " + } + }, + "1170": { + "15": { + "name": "findMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "properties" + ], + "range": [ + [ + 1170, + 15 + ], + [ + 1179, + 1 + ] + ], + "doc": " Public: Find all {DisplayBufferMarker}s that match the given properties.\n\nThis method finds markers based on the given properties. Markers can be\nassociated with custom properties that will be compared with basic equality.\nIn addition, there are several special properties that will be compared\nwith the range of the markers rather than their properties.\n\nproperties - An {Object} containing properties that each returned marker\n must satisfy. Markers can be associated with custom properties, which are\n compared with basic equality. In addition, several reserved properties\n can be used to filter markers based on their current range:\n :startBufferRow - Only include markers starting at this row in buffer\n coordinates.\n :endBufferRow - Only include markers ending at this row in buffer\n coordinates.\n :containsBufferRange - Only include markers containing this {Range} or\n in range-compatible {Array} in buffer coordinates.\n :containsBufferPosition - Only include markers containing this {Point}\n or {Array} of `[row, column]` in buffer coordinates. " + } + }, + "1179": { + "19": { + "name": "markScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1179, + 19 + ], + [ + 1188, + 1 + ] + ], + "doc": " Public: Mark the given range in screen coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1188": { + "19": { + "name": "markBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1188, + 19 + ], + [ + 1197, + 1 + ] + ], + "doc": " Public: Mark the given range in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1197": { + "22": { + "name": "markScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1197, + 22 + ], + [ + 1206, + 1 + ] + ], + "doc": " Public: Mark the given position in screen coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1206": { + "22": { + "name": "markBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1206, + 22 + ], + [ + 1210, + 1 + ] + ], + "doc": " Public: Mark the given position in buffer coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1210": { + "17": { + "name": "destroyMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1210, + 17 + ], + [ + 1216, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.destroyMarker} " + } + }, + "1216": { + "18": { + "name": "getMarkerCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1216, + 18 + ], + [ + 1220, + 1 + ] + ], + "doc": " Public: Get the number of markers in this editor's buffer.\n\nReturns a {Number}. " + } + }, + "1220": { + "22": { + "name": "hasMultipleCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1220, + 22 + ], + [ + 1224, + 1 + ] + ], + "doc": "Public: Determine if there are multiple cursors. " + } + }, + "1224": { + "14": { + "name": "getCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1224, + 14 + ], + [ + 1224, + 38 + ] + ], + "doc": "Public: Get an Array of all {Cursor}s. " + } + }, + "1227": { + "13": { + "name": "getCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1227, + 13 + ], + [ + 1233, + 1 + ] + ], + "doc": "Public: Get the most recently added {Cursor}. " + } + }, + "1233": { + "29": { + "name": "addCursorAtScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 1233, + 29 + ], + [ + 1240, + 1 + ] + ], + "doc": " Public: Add a cursor at the position in screen coordinates.\n\nReturns a {Cursor}. " + } + }, + "1240": { + "29": { + "name": "addCursorAtBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 1240, + 29 + ], + [ + 1245, + 1 + ] + ], + "doc": " Public: Add a cursor at the given position in buffer coordinates.\n\nReturns a {Cursor}. " + } + }, + "1245": { + "13": { + "name": "addCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1245, + 13 + ], + [ + 1255, + 1 + ] + ], + "doc": "Private: Add a cursor based on the given {DisplayBufferMarker}. " + } + }, + "1255": { + "16": { + "name": "removeCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursor" + ], + "range": [ + [ + 1255, + 16 + ], + [ + 1264, + 1 + ] + ], + "doc": "Private: Remove the given cursor from this editor. " + } + }, + "1264": { + "16": { + "name": "addSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "options" + ], + "range": [ + [ + 1264, + 16 + ], + [ + 1288, + 1 + ] + ], + "doc": " Private: Add a {Selection} based on the given {DisplayBufferMarker}.\n\nmarker - The {DisplayBufferMarker} to highlight\noptions - An {Object} that pertains to the {Selection} constructor.\n\nReturns the new {Selection}. " + } + }, + "1288": { + "30": { + "name": "addSelectionForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 1288, + 30 + ], + [ + 1301, + 1 + ] + ], + "doc": " Public: Add a selection for the given range in buffer coordinates.\n\nbufferRange - A {Range}\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation.\n\nReturns the added {Selection}. " + } + }, + "1301": { + "26": { + "name": "setSelectedBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 1301, + 26 + ], + [ + 1311, + 1 + ] + ], + "doc": " Public: Set the selected range in buffer coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nbufferRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1311": { + "26": { + "name": "setSelectedScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 1311, + 26 + ], + [ + 1321, + 1 + ] + ], + "doc": " Public: Set the selected range in screen coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nscreenRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1321": { + "27": { + "name": "setSelectedBufferRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRanges", + "options" + ], + "range": [ + [ + 1321, + 27 + ], + [ + 1336, + 1 + ] + ], + "doc": " Public: Set the selected ranges in buffer coordinates. If there are multiple\nselections, they are replaced by new selections with the given ranges.\n\nbufferRanges - An {Array} of {Range}s or range-compatible {Array}s.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1336": { + "19": { + "name": "removeSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 1336, + 19 + ], + [ + 1342, + 1 + ] + ], + "doc": "Private: Remove the given selection. " + } + }, + "1342": { + "19": { + "name": "clearSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1342, + 19 + ], + [ + 1347, + 1 + ] + ], + "doc": " Private: Reduce one or more selections to a single empty selection based on the most\nrecently added cursor. " + } + }, + "1347": { + "25": { + "name": "consolidateSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1347, + 25 + ], + [ + 1355, + 1 + ] + ], + "doc": "Private: Reduce multiple selections to the most recently added selection. " + } + }, + "1355": { + "31": { + "name": "selectionScreenRangeChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 1355, + 31 + ], + [ + 1361, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1361": { + "17": { + "name": "getSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1361, + 17 + ], + [ + 1361, + 44 + ] + ], + "doc": " Public: Get current {Selection}s.\n\nReturns: An {Array} of {Selection}s. " + } + }, + "1363": { + "27": { + "name": "selectionsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1363, + 27 + ], + [ + 1374, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1374": { + "16": { + "name": "getSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 1374, + 16 + ], + [ + 1381, + 1 + ] + ], + "doc": " Public: Get the most recent {Selection} or the selection at the given\nindex.\n\nindex - Optional. The index of the selection to return, based on the order\n in which the selections were added.\n\nReturns a {Selection}.\nor the at the specified index. " + } + }, + "1381": { + "20": { + "name": "getLastSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1381, + 20 + ], + [ + 1388, + 1 + ] + ], + "doc": " Public: Get the most recently added {Selection}.\n\nReturns a {Selection}. " + } + }, + "1388": { + "40": { + "name": "getSelectionsOrderedByBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1388, + 40 + ], + [ + 1394, + 1 + ] + ], + "doc": " Public: Get all {Selection}s, ordered by their position in the buffer\ninstead of the order in which they were added.\n\nReturns an {Array} of {Selection}s. " + } + }, + "1394": { + "28": { + "name": "getLastSelectionInBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1394, + 28 + ], + [ + 1403, + 1 + ] + ], + "doc": " Public: Get the last {Selection} based on its position in the buffer.\n\nReturns a {Selection}. " + } + }, + "1403": { + "34": { + "name": "selectionIntersectsBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 1403, + 34 + ], + [ + 1415, + 1 + ] + ], + "doc": " Public: Determine if a given range in buffer coordinates intersects a\nselection.\n\nbufferRange - A {Range} or range-compatible {Array}.\n\nReturns a {Boolean}. " + } + }, + "1415": { + "27": { + "name": "setCursorScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "options" + ], + "range": [ + [ + 1415, + 27 + ], + [ + 1422, + 1 + ] + ], + "doc": " Public: Move the cursor to the given position in screen coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " + } + }, + "1422": { + "27": { + "name": "getCursorScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1422, + 27 + ], + [ + 1428, + 1 + ] + ], + "doc": " Public: Get the position of the most recently added cursor in screen\ncoordinates.\n\nReturns a {Point}. " + } + }, + "1428": { + "22": { + "name": "getCursorScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1428, + 22 + ], + [ + 1439, + 1 + ] + ], + "doc": " Public: Get the row of the most recently added cursor in screen coordinates.\n\nReturns the screen row {Number}. " + } + }, + "1439": { + "27": { + "name": "setCursorBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "options" + ], + "range": [ + [ + 1439, + 27 + ], + [ + 1446, + 1 + ] + ], + "doc": " Public: Move the cursor to the given position in buffer coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " + } + }, + "1446": { + "27": { + "name": "getCursorBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1446, + 27 + ], + [ + 1453, + 1 + ] + ], + "doc": " Public: Get the position of the most recently added cursor in buffer\ncoordinates.\n\nReturns a {Point}. " + } + }, + "1453": { + "26": { + "name": "getSelectedScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1453, + 26 + ], + [ + 1460, + 1 + ] + ], + "doc": " Public: Get the {Range} of the most recently added selection in screen\ncoordinates.\n\nReturns a {Range}. " + } + }, + "1460": { + "26": { + "name": "getSelectedBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1460, + 26 + ], + [ + 1468, + 1 + ] + ], + "doc": " Public: Get the {Range} of the most recently added selection in buffer\ncoordinates.\n\nReturns a {Range}. " + } + }, + "1468": { + "27": { + "name": "getSelectedBufferRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1468, + 27 + ], + [ + 1476, + 1 + ] + ], + "doc": " Public: Get the {Range}s of all selections in buffer coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " + } + }, + "1476": { + "27": { + "name": "getSelectedScreenRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1476, + 27 + ], + [ + 1482, + 1 + ] + ], + "doc": " Public: Get the {Range}s of all selections in screen coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " + } + }, + "1482": { + "19": { + "name": "getSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1482, + 19 + ], + [ + 1490, + 1 + ] + ], + "doc": " Public: Get the selected text of the most recently added selection.\n\nReturns a {String}. " + } + }, + "1490": { + "24": { + "name": "getTextInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 1490, + 24 + ], + [ + 1499, + 1 + ] + ], + "doc": " Public: Get the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\n\nReturns a {String}. " + } + }, + "1499": { + "24": { + "name": "setTextInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range", + "text", + "normalizeLineEndings" + ], + "range": [ + [ + 1499, + 24 + ], + [ + 1499, + 124 + ] + ], + "doc": " Public: Set the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\ntext - A {String}\n\nReturns the {Range} of the newly-inserted text. " + } + }, + "1505": { + "34": { + "name": "getCurrentParagraphBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1505, + 34 + ], + [ + 1511, + 1 + ] + ], + "doc": " Public: Get the {Range} of the paragraph surrounding the most recently added\ncursor.\n\nReturns a {Range}. " + } + }, + "1511": { + "22": { + "name": "getWordUnderCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 1511, + 22 + ], + [ + 1515, + 1 + ] + ], + "doc": " Public: Returns the word surrounding the most recently added cursor.\n\noptions - See {Cursor::getBeginningOfCurrentWordBufferPosition}. " + } + }, + "1515": { + "16": { + "name": "moveCursorUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineCount" + ], + "range": [ + [ + 1515, + 16 + ], + [ + 1519, + 1 + ] + ], + "doc": "Public: Move every cursor up one row in screen coordinates. " + } + }, + "1519": { + "18": { + "name": "moveCursorDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineCount" + ], + "range": [ + [ + 1519, + 18 + ], + [ + 1523, + 1 + ] + ], + "doc": "Public: Move every cursor down one row in screen coordinates. " + } + }, + "1523": { + "18": { + "name": "moveCursorLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1523, + 18 + ], + [ + 1527, + 1 + ] + ], + "doc": "Public: Move every cursor left one column. " + } + }, + "1527": { + "19": { + "name": "moveCursorRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1527, + 19 + ], + [ + 1533, + 1 + ] + ], + "doc": "Public: Move every cursor right one column. " + } + }, + "1533": { + "19": { + "name": "moveCursorToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1533, + 19 + ], + [ + 1539, + 1 + ] + ], + "doc": " Public: Move every cursor to the top of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " + } + }, + "1539": { + "22": { + "name": "moveCursorToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1539, + 22 + ], + [ + 1543, + 1 + ] + ], + "doc": " Public: Move every cursor to the bottom of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " + } + }, + "1543": { + "37": { + "name": "moveCursorToBeginningOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1543, + 37 + ], + [ + 1547, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its line in screen coordinates. " + } + }, + "1547": { + "31": { + "name": "moveCursorToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1547, + 31 + ], + [ + 1551, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its line in buffer coordinates. " + } + }, + "1551": { + "36": { + "name": "moveCursorToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1551, + 36 + ], + [ + 1555, + 1 + ] + ], + "doc": "Public: Move every cursor to the first non-whitespace character of its line. " + } + }, + "1555": { + "31": { + "name": "moveCursorToEndOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1555, + 31 + ], + [ + 1559, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its line in screen coordinates. " + } + }, + "1559": { + "25": { + "name": "moveCursorToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1559, + 25 + ], + [ + 1563, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its line in buffer coordinates. " + } + }, + "1563": { + "31": { + "name": "moveCursorToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1563, + 31 + ], + [ + 1567, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its surrounding word. " + } + }, + "1567": { + "25": { + "name": "moveCursorToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1567, + 25 + ], + [ + 1571, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its surrounding word. " + } + }, + "1571": { + "35": { + "name": "moveCursorToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1571, + 35 + ], + [ + 1575, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the next word. " + } + }, + "1575": { + "36": { + "name": "moveCursorToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1575, + 36 + ], + [ + 1579, + 1 + ] + ], + "doc": "Public: Move every cursor to the previous word boundary. " + } + }, + "1579": { + "32": { + "name": "moveCursorToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1579, + 32 + ], + [ + 1583, + 1 + ] + ], + "doc": "Public: Move every cursor to the next word boundary. " + } + }, + "1583": { + "40": { + "name": "moveCursorToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1583, + 40 + ], + [ + 1587, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the next paragraph. " + } + }, + "1587": { + "44": { + "name": "moveCursorToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1587, + 44 + ], + [ + 1596, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the previous paragraph. " + } + }, + "1596": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 1596, + 26 + ], + [ + 1599, + 1 + ] + ], + "doc": " Public: Scroll the editor to reveal the most recently added cursor if it is\noff-screen.\n\noptions - An optional hash of options.\n :center - Center the editor around the cursor if possible. Defauls to\n true. " + } + }, + "1599": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1599, + 10 + ], + [ + 1604, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1604": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1604, + 12 + ], + [ + 1609, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1609": { + "16": { + "name": "selectPageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1609, + 16 + ], + [ + 1612, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1612": { + "18": { + "name": "selectPageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1612, + 18 + ], + [ + 1616, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1616": { + "18": { + "name": "getRowsPerPage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1616, + 18 + ], + [ + 1619, + 1 + ] + ], + "doc": "Private: Returns the number of rows per page " + } + }, + "1619": { + "15": { + "name": "moveCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1619, + 15 + ], + [ + 1626, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1626": { + "15": { + "name": "cursorMoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 1626, + 15 + ], + [ + 1636, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1636": { + "26": { + "name": "selectToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1636, + 26 + ], + [ + 1645, + 1 + ] + ], + "doc": " Public: Select from the current cursor position to the given position in\nscreen coordinates.\n\nThis method may merge selections that end up intesecting.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "1645": { + "15": { + "name": "selectRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1645, + 15 + ], + [ + 1652, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character rightward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1652": { + "14": { + "name": "selectLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1652, + 14 + ], + [ + 1659, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character leftward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1659": { + "12": { + "name": "selectUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 1659, + 12 + ], + [ + 1666, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character upward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1666": { + "14": { + "name": "selectDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 1666, + 14 + ], + [ + 1673, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character downward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1673": { + "15": { + "name": "selectToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1673, + 15 + ], + [ + 1679, + 1 + ] + ], + "doc": " Public: Select from the top of the buffer to the end of the last selection\nin the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1679": { + "13": { + "name": "selectAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1679, + 13 + ], + [ + 1686, + 1 + ] + ], + "doc": " Public: Select all text in the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1686": { + "18": { + "name": "selectToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1686, + 18 + ], + [ + 1693, + 1 + ] + ], + "doc": " Public: Selects from the top of the first selection in the buffer to the end\nof the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1693": { + "27": { + "name": "selectToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1693, + 27 + ], + [ + 1702, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the beginning of its line\nwhile preserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1702": { + "32": { + "name": "selectToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1702, + 32 + ], + [ + 1709, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the first non-whitespace\ncharacter of its line while preserving the selection's tail position. If the\ncursor is already on the first character of the line, move it to the\nbeginning of the line.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1709": { + "21": { + "name": "selectToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1709, + 21 + ], + [ + 1716, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the end of its line while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1716": { + "32": { + "name": "selectToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1716, + 32 + ], + [ + 1723, + 1 + ] + ], + "doc": " Public: For each selection, move its cursor to the preceding word boundary\nwhile maintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1723": { + "28": { + "name": "selectToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1723, + 28 + ], + [ + 1729, + 1 + ] + ], + "doc": " Public: For each selection, move its cursor to the next word boundary while\nmaintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1729": { + "14": { + "name": "selectLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1729, + 14 + ], + [ + 1740, + 1 + ] + ], + "doc": " Public: For each cursor, select the containing line.\n\nThis method merges selections on successive lines. " + } + }, + "1740": { + "21": { + "name": "addSelectionBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1740, + 21 + ], + [ + 1751, + 1 + ] + ], + "doc": " Public: Add a similarly-shaped selection to the next eligible line below\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next following non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " + } + }, + "1751": { + "21": { + "name": "addSelectionAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1751, + 21 + ], + [ + 1759, + 1 + ] + ], + "doc": " Public: Add a similarly-shaped selection to the next eligible line above\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next preceding non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " + } + }, + "1759": { + "28": { + "name": "splitSelectionsIntoLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1759, + 28 + ], + [ + 1776, + 1 + ] + ], + "doc": " Public: Split multi-line selections into one selection per line.\n\nOperates on all selections. This method breaks apart all multi-line\nselections to create multiple single-line selections that cumulatively cover\nthe same original area. " + } + }, + "1776": { + "13": { + "name": "transpose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1776, + 13 + ], + [ + 1791, + 1 + ] + ], + "doc": " Public: For each selection, transpose the selected text.\n\nIf the selection is empty, the characters preceding and following the cursor\nare swapped. Otherwise, the selected characters are reversed. " + } + }, + "1791": { + "13": { + "name": "upperCase", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1791, + 13 + ], + [ + 1798, + 1 + ] + ], + "doc": " Public: Convert the selected text to upper case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " + } + }, + "1798": { + "13": { + "name": "lowerCase", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1798, + 13 + ], + [ + 1809, + 1 + ] + ], + "doc": " Public: Convert the selected text to lower case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " + } + }, + "1809": { + "13": { + "name": "joinLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1809, + 13 + ], + [ + 1816, + 1 + ] + ], + "doc": " Private: Convert multiple lines to a single line.\n\nOperates on all selections. If the selection is empty, joins the current\nline with the next line. Otherwise it joins all lines that intersect the\nselection.\n\nJoining a line means that multiple lines are converted to a single line with\nthe contents of each of the original non-empty lines separated by a space. " + } + }, + "1816": { + "27": { + "name": "selectToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1816, + 27 + ], + [ + 1823, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of their containing word.\n\nOperates on all selections. Moves the cursor to the beginning of the\ncontaining word while preserving the selection's tail position. " + } + }, + "1823": { + "21": { + "name": "selectToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1823, + 21 + ], + [ + 1830, + 1 + ] + ], + "doc": " Public: Expand selections to the end of their containing word.\n\nOperates on all selections. Moves the cursor to the end of the containing\nword while preserving the selection's tail position. " + } + }, + "1830": { + "31": { + "name": "selectToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1830, + 31 + ], + [ + 1834, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next word.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nword while preserving the selection's tail position. " + } + }, + "1834": { + "14": { + "name": "selectWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1834, + 14 + ], + [ + 1841, + 1 + ] + ], + "doc": "Public: Select the word containing each cursor. " + } + }, + "1841": { + "36": { + "name": "selectToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1841, + 36 + ], + [ + 1848, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " + } + }, + "1848": { + "40": { + "name": "selectToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1848, + 40 + ], + [ + 1856, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " + } + }, + "1856": { + "16": { + "name": "selectMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1856, + 16 + ], + [ + 1863, + 1 + ] + ], + "doc": " Public: Select the range of the given marker if it is valid.\n\nmarker - A {DisplayBufferMarker}\n\nReturns the selected {Range} or `undefined` if the marker is invalid. " + } + }, + "1863": { + "16": { + "name": "mergeCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1863, + 16 + ], + [ + 1873, + 1 + ] + ], + "doc": "Private: Merge cursors that have the same screen position " + } + }, + "1873": { + "27": { + "name": "expandSelectionsForward", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1873, + 27 + ], + [ + 1879, + 1 + ] + ], + "doc": "Private: Calls the given function with each selection, then merges selections " + } + }, + "1879": { + "28": { + "name": "expandSelectionsBackward", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1879, + 28 + ], + [ + 1883, + 1 + ] + ], + "doc": " Private: Calls the given function with each selection, then merges selections in the\nreversed orientation " + } + }, + "1883": { + "22": { + "name": "finalizeSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1883, + 22 + ], + [ + 1889, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1889": { + "31": { + "name": "mergeIntersectingSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1889, + 31 + ], + [ + 1910, + 1 + ] + ], + "doc": " Private: Merges intersecting selections. If passed a function, it executes\nthe function with merging suppressed, then merges intersecting selections\nafterward. " + } + }, + "1910": { + "40": { + "name": "preserveCursorPositionOnBufferReload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1910, + 40 + ], + [ + 1919, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1919": { + "14": { + "name": "getGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1919, + 14 + ], + [ + 1926, + 1 + ] + ], + "doc": "Public: Get the current {Grammar} of this editor. " + } + }, + "1926": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 1926, + 14 + ], + [ + 1930, + 1 + ] + ], + "doc": " Public: Set the current {Grammar} of this editor.\n\nAssigning a grammar will cause the editor to re-tokenize based on the new\ngrammar. " + } + }, + "1930": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1930, + 17 + ], + [ + 1933, + 1 + ] + ], + "doc": "Private: Reload the grammar based on the file name. " + } + }, + "1933": { + "20": { + "name": "shouldAutoIndent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1933, + 20 + ], + [ + 1944, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1944": { + "12": { + "name": "transact", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1944, + 12 + ], + [ + 1944, + 39 + ] + ], + "doc": " Public: Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " + } + }, + "1952": { + "20": { + "name": "beginTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1952, + 20 + ], + [ + 1952, + 48 + ] + ], + "doc": " Public: Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " + } + }, + "1958": { + "21": { + "name": "commitTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1958, + 21 + ], + [ + 1958, + 50 + ] + ], + "doc": " Public: Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " + } + }, + "1962": { + "20": { + "name": "abortTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1962, + 20 + ], + [ + 1962, + 48 + ] + ], + "doc": " Public: Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " + } + }, + "1964": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1964, + 11 + ], + [ + 1967, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1967": { + "18": { + "name": "logScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 1967, + 18 + ], + [ + 1967, + 68 + ] + ], + "doc": "~Private~" + } + }, + "1969": { + "22": { + "name": "handleTokenization", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1969, + 22 + ], + [ + 1972, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1972": { + "23": { + "name": "handleGrammarChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1972, + 23 + ], + [ + 1976, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1976": { + "23": { + "name": "handleMarkerCreated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1976, + 23 + ], + [ + 1980, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1980": { + "32": { + "name": "getSelectionMarkerAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1980, + 32 + ], + [ + 1983, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1983": { + "27": { + "name": "getVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1983, + 27 + ], + [ + 1983, + 69 + ] + ], + "doc": "~Private~" + } + }, + "1984": { + "27": { + "name": "setVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "verticalScrollMargin" + ], + "range": [ + [ + 1984, + 27 + ], + [ + 1984, + 112 + ] + ] + } + }, + "1986": { + "29": { + "name": "getHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1986, + 29 + ], + [ + 1986, + 73 + ] + ], + "doc": "~Private~" + } + }, + "1987": { + "29": { + "name": "setHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "horizontalScrollMargin" + ], + "range": [ + [ + 1987, + 29 + ], + [ + 1987, + 120 + ] + ] + } + }, + "1989": { + "25": { + "name": "getLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1989, + 25 + ], + [ + 1989, + 65 + ] + ], + "doc": "~Private~" + } + }, + "1990": { + "25": { + "name": "setLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeightInPixels" + ], + "range": [ + [ + 1990, + 25 + ], + [ + 1990, + 104 + ] + ] + } + }, + "1992": { + "29": { + "name": "batchCharacterMeasurement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1992, + 29 + ], + [ + 1992, + 80 + ] + ], + "doc": "~Private~" + } + }, + "1994": { + "22": { + "name": "getScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char" + ], + "range": [ + [ + 1994, + 22 + ], + [ + 1994, + 94 + ] + ], + "doc": "~Private~" + } + }, + "1995": { + "22": { + "name": "setScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char", + "width" + ], + "range": [ + [ + 1995, + 22 + ], + [ + 1995, + 108 + ] + ] + } + }, + "1997": { + "23": { + "name": "getScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames" + ], + "range": [ + [ + 1997, + 23 + ], + [ + 1997, + 84 + ] + ], + "doc": "~Private~" + } + }, + "1999": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1999, + 25 + ], + [ + 1999, + 65 + ] + ], + "doc": "~Private~" + } + }, + "2001": { + "23": { + "name": "getDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2001, + 23 + ], + [ + 2001, + 61 + ] + ], + "doc": "~Private~" + } + }, + "2002": { + "23": { + "name": "setDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultCharWidth" + ], + "range": [ + [ + 2002, + 23 + ], + [ + 2002, + 96 + ] + ] + } + }, + "2004": { + "13": { + "name": "setHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "height" + ], + "range": [ + [ + 2004, + 13 + ], + [ + 2004, + 56 + ] + ], + "doc": "~Private~" + } + }, + "2005": { + "13": { + "name": "getHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2005, + 13 + ], + [ + 2005, + 41 + ] + ] + } + }, + "2007": { + "19": { + "name": "getClientHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2007, + 19 + ], + [ + 2007, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2009": { + "12": { + "name": "setWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width" + ], + "range": [ + [ + 2009, + 12 + ], + [ + 2009, + 52 + ] + ], + "doc": "~Private~" + } + }, + "2010": { + "12": { + "name": "getWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2010, + 12 + ], + [ + 2010, + 39 + ] + ] + } + }, + "2012": { + "16": { + "name": "getScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2012, + 16 + ], + [ + 2012, + 47 + ] + ], + "doc": "~Private~" + } + }, + "2013": { + "16": { + "name": "setScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 2013, + 16 + ], + [ + 2013, + 68 + ] + ] + } + }, + "2015": { + "19": { + "name": "getScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2015, + 19 + ], + [ + 2015, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2016": { + "19": { + "name": "setScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 2016, + 19 + ], + [ + 2016, + 80 + ] + ] + } + }, + "2018": { + "17": { + "name": "getScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2018, + 17 + ], + [ + 2018, + 49 + ] + ], + "doc": "~Private~" + } + }, + "2019": { + "17": { + "name": "setScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 2019, + 17 + ], + [ + 2019, + 72 + ] + ] + } + }, + "2021": { + "18": { + "name": "getScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2021, + 18 + ], + [ + 2021, + 51 + ] + ], + "doc": "~Private~" + } + }, + "2022": { + "18": { + "name": "setScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 2022, + 18 + ], + [ + 2022, + 76 + ] + ] + } + }, + "2024": { + "19": { + "name": "getScrollHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2024, + 19 + ], + [ + 2024, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2025": { + "18": { + "name": "getScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollWidth" + ], + "range": [ + [ + 2025, + 18 + ], + [ + 2025, + 76 + ] + ] + } + }, + "2027": { + "22": { + "name": "getVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2027, + 22 + ], + [ + 2027, + 59 + ] + ], + "doc": "~Private~" + } + }, + "2029": { + "29": { + "name": "intersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 2029, + 29 + ], + [ + 2029, + 108 + ] + ], + "doc": "~Private~" + } + }, + "2031": { + "38": { + "name": "selectionIntersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 2031, + 38 + ], + [ + 2031, + 112 + ] + ], + "doc": "~Private~" + } + }, + "2033": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 2033, + 34 + ], + [ + 2033, + 114 + ] + ], + "doc": "~Private~" + } + }, + "2035": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 2035, + 34 + ], + [ + 2035, + 114 + ] + ], + "doc": "~Private~" + } + }, + "2037": { + "34": { + "name": "screenPositionForPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 2037, + 34 + ], + [ + 2037, + 112 + ] + ], + "doc": "~Private~" + } + }, + "2039": { + "27": { + "name": "pixelRectForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 2039, + 27 + ], + [ + 2039, + 94 + ] + ], + "doc": "~Private~" + } + }, + "2041": { + "23": { + "name": "scrollToScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 2041, + 23 + ], + [ + 2041, + 104 + ] + ], + "doc": "~Private~" + } + }, + "2043": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 2043, + 26 + ], + [ + 2043, + 116 + ] + ], + "doc": "~Private~" + } + }, + "2045": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 2045, + 26 + ], + [ + 2045, + 116 + ] + ], + "doc": "~Private~" + } + }, + "2047": { + "26": { + "name": "horizontallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2047, + 26 + ], + [ + 2047, + 67 + ] + ], + "doc": "~Private~" + } + }, + "2049": { + "24": { + "name": "verticallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2049, + 24 + ], + [ + 2049, + 63 + ] + ], + "doc": "~Private~" + } + }, + "2051": { + "32": { + "name": "getHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2051, + 32 + ], + [ + 2051, + 79 + ] + ], + "doc": "~Private~" + } + }, + "2052": { + "32": { + "name": "setHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "height" + ], + "range": [ + [ + 2052, + 32 + ], + [ + 2052, + 94 + ] + ] + } + }, + "2054": { + "29": { + "name": "getVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2054, + 29 + ], + [ + 2054, + 73 + ] + ], + "doc": "~Private~" + } + }, + "2055": { + "29": { + "name": "setVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width" + ], + "range": [ + [ + 2055, + 29 + ], + [ + 2055, + 86 + ] + ] + } + }, + "2058": { + "12": { + "name": "joinLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2058, + 12 + ], + [ + 2060, + 16 + ] + ], + "doc": "Deprecated: Call {::joinLines} instead. " + } + } + }, + "exports": 138 + }, + "src/fold.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "7": { + "0": { + "type": "class", + "name": "Fold", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 8, + 6 + ], + [ + 9, + 17 + ], + [ + 10, + 10 + ], + [ + 12, + 15 + ], + [ + 20, + 22 + ], + [ + 27, + 11 + ], + [ + 35, + 18 + ], + [ + 48, + 21 + ], + [ + 53, + 15 + ], + [ + 57, + 13 + ], + [ + 61, + 11 + ], + [ + 67, + 21 + ], + [ + 75, + 21 + ], + [ + 78, + 23 + ], + [ + 82, + 13 + ] + ], + "doc": " Private: Represents a fold that collapses multiple buffer lines into a single\nline on the screen.\n\nTheir creation is managed by the {DisplayBuffer}. ", + "range": [ + [ + 7, + 0 + ], + [ + 84, + 26 + ] + ] + } + }, + "8": { + "6": { + "name": "id", + "type": "primitive", + "range": [ + [ + 8, + 6 + ], + [ + 8, + 9 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "17": { + "name": "displayBuffer", + "type": "primitive", + "range": [ + [ + 9, + 17 + ], + [ + 9, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "10": { + "name": "marker", + "type": "primitive", + "range": [ + [ + 10, + 10 + ], + [ + 10, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 20, + 1 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "22": { + "name": "isInsideLargerFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 22 + ], + [ + 27, + 1 + ] + ], + "doc": "Private: Returns whether this fold is contained within another fold " + } + }, + "27": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 11 + ], + [ + 35, + 1 + ] + ], + "doc": "Private: Destroys this fold " + } + }, + "35": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 35, + 18 + ], + [ + 48, + 1 + ] + ], + "doc": " Private: Returns the fold's {Range} in buffer coordinates\n\nincludeNewline - A {Boolean} which, if `true`, includes the trailing newline\n\nReturns a {Range}. " + } + }, + "48": { + "21": { + "name": "getBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 21 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "15": { + "name": "getStartRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 15 + ], + [ + 57, + 1 + ] + ], + "doc": "Private: Returns the fold's start row as a {Number}. " + } + }, + "57": { + "13": { + "name": "getEndRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 13 + ], + [ + 61, + 1 + ] + ], + "doc": "Private: Returns the fold's end row as a {Number}. " + } + }, + "61": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 11 + ], + [ + 67, + 1 + ] + ], + "doc": "Private: Returns a {String} representation of the fold. " + } + }, + "67": { + "21": { + "name": "getBufferRowCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 21 + ], + [ + 75, + 1 + ] + ], + "doc": " Private: Retrieves the number of buffer rows spanned by the fold.\n\nReturns a {Number}. " + } + }, + "75": { + "21": { + "name": "isContainedByFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fold" + ], + "range": [ + [ + 75, + 21 + ], + [ + 78, + 1 + ] + ], + "doc": " Private: Identifies if a fold is nested within a fold.\n\nfold - A {Fold} to check\n\nReturns a {Boolean}. " + } + }, + "78": { + "23": { + "name": "updateDisplayBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 78, + 23 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 13 + ], + [ + 84, + 26 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 7 + }, + "src/git.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true, + "name": "join", + "exportsProperty": "join" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.1" + } + }, + "5": { + "11": { + "name": "GitUtils", + "type": "import", + "range": [ + [ + 5, + 11 + ], + [ + 5, + 29 + ] + ], + "bindingType": "variable", + "module": "git-utils" + } + }, + "7": { + "7": { + "name": "Task", + "type": "import", + "range": [ + [ + 7, + 7 + ], + [ + 7, + 22 + ] + ], + "bindingType": "variable", + "path": "./task" + } + }, + "40": { + "0": { + "type": "class", + "name": "Git", + "bindingType": "exports", + "classProperties": [ + [ + 52, + 9 + ], + [ + 59, + 11 + ] + ], + "prototypeProperties": [ + [ + 66, + 15 + ], + [ + 89, + 21 + ], + [ + 97, + 11 + ], + [ + 109, + 11 + ], + [ + 117, + 16 + ], + [ + 120, + 11 + ], + [ + 124, + 23 + ], + [ + 132, + 17 + ], + [ + 149, + 17 + ], + [ + 152, + 20 + ], + [ + 155, + 18 + ], + [ + 158, + 15 + ], + [ + 161, + 13 + ], + [ + 165, + 19 + ], + [ + 169, + 14 + ], + [ + 181, + 16 + ], + [ + 196, + 16 + ], + [ + 209, + 21 + ], + [ + 222, + 16 + ], + [ + 231, + 15 + ], + [ + 247, + 22 + ], + [ + 265, + 16 + ], + [ + 276, + 18 + ], + [ + 282, + 16 + ], + [ + 291, + 21 + ], + [ + 298, + 22 + ], + [ + 310, + 17 + ], + [ + 318, + 23 + ], + [ + 330, + 37 + ], + [ + 338, + 23 + ], + [ + 342, + 13 + ], + [ + 346, + 17 + ] + ], + "doc": " Public: Represents the underlying git operations performed by Atom.\n\nThis class shouldn't be instantiated directly but instead by accessing the\n`atom.project` global and calling `getRepo()`. Note that this will only be\navailable when the project is backed by a Git repository.\n\nThis class handles submodules automatically by taking a `path` argument to many\nof the methods. This `path` argument will determine which underlying\nrepository is used.\n\nFor a repository with submodules this would have the following outcome:\n\n```coffee\nrepo = atom.project.getRepo()\nrepo.getShortHead() # 'master'\nrepo.getShortHead('vendor/path/to/a/submodule') # 'dead1234'\n```\n\n## Example\n\n```coffeescript\ngit = atom.project.getRepo()\nconsole.log git.getOriginUrl()\n```\n\n## Requiring in packages\n\n```coffee\n {Git} = require 'atom'\n``` ", + "range": [ + [ + 40, + 0 + ], + [ + 364, + 55 + ] + ] + } + }, + "52": { + "9": { + "name": "open", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "path", + "options" + ], + "range": [ + [ + 52, + 9 + ], + [ + 59, + 1 + ] + ], + "doc": " Public: Creates a new Git instance.\n\npath - The path to the Git repository to open.\noptions - An object with the following keys (default: {}):\n :refreshOnWindowFocus - `true` to refresh the index and statuses when the\n window is focused.\n\nReturns a Git instance or null if the repository could not be opened. " + } + }, + "59": { + "11": { + "name": "exists", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 59, + 11 + ], + [ + 66, + 1 + ] + ], + "doc": "~Private~" + } + }, + "66": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "options" + ], + "range": [ + [ + 66, + 15 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "subscribeToBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer" + ], + "range": [ + [ + 89, + 21 + ], + [ + 97, + 1 + ] + ], + "doc": "Private: Subscribes to buffer events. " + } + }, + "97": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 97, + 11 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Destroy this `Git` object. This destroys any tasks and subscriptions\nand releases the underlying libgit2 repository handle. " + } + }, + "109": { + "11": { + "name": "getRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 109, + 11 + ], + [ + 117, + 1 + ] + ], + "doc": "Private: Returns the corresponding {Repository} " + } + }, + "117": { + "16": { + "name": "refreshIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 16 + ], + [ + 117, + 43 + ] + ], + "doc": " Private: Reread the index to update any values that have changed since the\nlast time the index was read. " + } + }, + "120": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 120, + 11 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Returns the {String} path of the repository. " + } + }, + "124": { + "23": { + "name": "getWorkingDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 23 + ], + [ + 124, + 57 + ] + ], + "doc": "Public: Returns the {String} working directory path of the repository. " + } + }, + "132": { + "17": { + "name": "getPathStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 132, + 17 + ], + [ + 149, + 1 + ] + ], + "doc": " Public: Get the status of a single path in the repository.\n\npath - A {String} repository-relative path.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " + } + }, + "149": { + "17": { + "name": "isPathIgnored", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 149, + 17 + ], + [ + 149, + 65 + ] + ], + "doc": " Public: Is the given path ignored?\n\nReturns a {Boolean}. " + } + }, + "152": { + "20": { + "name": "isStatusModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 152, + 20 + ], + [ + 152, + 66 + ] + ], + "doc": "Public: Returns true if the given status indicates modification. " + } + }, + "155": { + "18": { + "name": "isPathModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 155, + 18 + ], + [ + 155, + 66 + ] + ], + "doc": "Public: Returns true if the given path is modified. " + } + }, + "158": { + "15": { + "name": "isStatusNew", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 158, + 15 + ], + [ + 158, + 56 + ] + ], + "doc": "Public: Returns true if the given status indicates a new path. " + } + }, + "161": { + "13": { + "name": "isPathNew", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 161, + 13 + ], + [ + 161, + 56 + ] + ], + "doc": "Public: Returns true if the given path is new. " + } + }, + "165": { + "19": { + "name": "isProjectAtRoot", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 19 + ], + [ + 169, + 1 + ] + ], + "doc": " Public: Returns true if at the root, false if in a subfolder of the\nrepository. " + } + }, + "169": { + "14": { + "name": "relativize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 169, + 14 + ], + [ + 169, + 50 + ] + ], + "doc": "Public: Makes a path relative to the repository's working directory. " + } + }, + "181": { + "16": { + "name": "getShortHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 181, + 16 + ], + [ + 181, + 54 + ] + ], + "doc": " Public: Retrieves a shortened version of the HEAD reference value.\n\nThis removes the leading segments of `refs/heads`, `refs/tags`, or\n`refs/remotes`. It also shortens the SHA-1 of a detached `HEAD` to 7\ncharacters.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository contains submodules.\n\nReturns a {String}. " + } + }, + "196": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 196, + 16 + ], + [ + 209, + 1 + ] + ], + "doc": " Public: Restore the contents of a path in the working directory and index\nto the version at `HEAD`.\n\nThis is essentially the same as running:\n\n```\ngit reset HEAD -- \ngit checkout HEAD -- \n```\n\npath - The {String} path to checkout.\n\nReturns a {Boolean} that's true if the method was successful. " + } + }, + "209": { + "21": { + "name": "checkoutReference", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "create" + ], + "range": [ + [ + 209, + 21 + ], + [ + 222, + 1 + ] + ], + "doc": " Public: Checks out a branch in your repository.\n\nreference - The String reference to checkout\ncreate - A Boolean value which, if true creates the new reference if it\n doesn't exist.\n\nReturns a Boolean that's true if the method was successful. " + } + }, + "222": { + "16": { + "name": "getDiffStats", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 222, + 16 + ], + [ + 231, + 1 + ] + ], + "doc": " Public: Retrieves the number of lines added and removed to a path.\n\nThis compares the working directory contents of the path to the `HEAD`\nversion.\n\npath - The {String} path to check.\n\nReturns an {Object} with the following keys:\n :added - The {Number} of added lines.\n :deleted - The {Number} of deleted lines. " + } + }, + "231": { + "15": { + "name": "isSubmodule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 231, + 15 + ], + [ + 247, + 1 + ] + ], + "doc": " Public: Is the given path a submodule in the repository?\n\npath - The {String} path to check.\n\nReturns a {Boolean}. " + } + }, + "247": { + "22": { + "name": "getDirectoryStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "directoryPath" + ], + "range": [ + [ + 247, + 22 + ], + [ + 265, + 1 + ] + ], + "doc": " Public: Get the status of a directory in the repository's working directory.\n\npath - The {String} path to check.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " + } + }, + "265": { + "16": { + "name": "getLineDiffs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "text" + ], + "range": [ + [ + 265, + 16 + ], + [ + 276, + 1 + ] + ], + "doc": " Public: Retrieves the line diffs comparing the `HEAD` version of the given\npath and the given text.\n\npath - The {String} path relative to the repository.\ntext - The {String} to compare against the `HEAD` contents\n\nReturns an {Array} of hunk {Object}s with the following keys:\n :oldStart - The line {Number} of the old hunk.\n :newStart - The line {Number} of the new hunk.\n :oldLines - The {Number} of lines in the old hunk.\n :newLines - The {Number} of lines in the new hunk " + } + }, + "276": { + "18": { + "name": "getConfigValue", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "key", + "path" + ], + "range": [ + [ + 276, + 18 + ], + [ + 276, + 66 + ] + ], + "doc": " Public: Returns the git configuration value specified by the key.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " + } + }, + "282": { + "16": { + "name": "getOriginUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 282, + 16 + ], + [ + 282, + 67 + ] + ], + "doc": " Public: Returns the origin url of the repository.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " + } + }, + "291": { + "21": { + "name": "getUpstreamBranch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 291, + 21 + ], + [ + 291, + 64 + ] + ], + "doc": " Public: Returns the upstream branch for the current HEAD, or null if there\nis no upstream branch for the current HEAD.\n\npath - An optional {String} path in the repo to get this information for,\n only needed if the repository contains submodules.\n\nReturns a {String} branch name such as `refs/remotes/origin/master`. " + } + }, + "298": { + "22": { + "name": "getReferenceTarget", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "path" + ], + "range": [ + [ + 298, + 22 + ], + [ + 310, + 1 + ] + ], + "doc": " Public: Returns the current SHA for the given reference.\n\nreference - The {String} reference to get the target of.\npath - An optional {String} path in the repo to get the reference target\n for. Only needed if the repository contains submodules. " + } + }, + "310": { + "17": { + "name": "getReferences", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 310, + 17 + ], + [ + 310, + 56 + ] + ], + "doc": " Public: Gets all the local and remote references.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :heads - An {Array} of head reference names.\n :remotes - An {Array} of remote reference names.\n :tags - An {Array} of tag reference names. " + } + }, + "318": { + "23": { + "name": "getAheadBehindCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "path" + ], + "range": [ + [ + 318, + 23 + ], + [ + 330, + 1 + ] + ], + "doc": " Public: Returns the number of commits behind the current branch is from the\nits upstream remote branch.\n\nreference - The {String} branch reference name.\npath - The {String} path in the repository to get this information for,\n only needed if the repository contains submodules. " + } + }, + "330": { + "37": { + "name": "getCachedUpstreamAheadBehindCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 330, + 37 + ], + [ + 338, + 1 + ] + ], + "doc": " Public: Get the cached ahead/behind commit counts for the current branch's\nupstream branch.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :ahead - The {Number} of commits ahead.\n :behind - The {Number} of commits behind. " + } + }, + "338": { + "23": { + "name": "getCachedPathStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 338, + 23 + ], + [ + 342, + 1 + ] + ], + "doc": " Public: Get the cached status for the given path.\n\npath - A {String} path in the repository, relative or absolute.\n\nReturns a status {Number} or null if the path is not in the cache. " + } + }, + "342": { + "13": { + "name": "hasBranch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "branch" + ], + "range": [ + [ + 342, + 13 + ], + [ + 342, + 68 + ] + ], + "doc": "Public: Returns true if the given branch exists. " + } + }, + "346": { + "17": { + "name": "refreshStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 17 + ], + [ + 364, + 55 + ] + ], + "doc": " Private: Refreshes the current git status in an outside process and asynchronously\nupdates the relevant properties. " + } + } + }, + "exports": 40 + }, + "src/gutter-component.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "isEqual", + "exportsProperty": "isEqual" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 29 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "32": { + "type": "import", + "range": [ + [ + 3, + 32 + ], + [ + 3, + 45 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "multiplyString", + "exportsProperty": "multiplyString" + }, + "48": { + "type": "import", + "range": [ + [ + 3, + 48 + ], + [ + 3, + 54 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "toArray", + "exportsProperty": "toArray" + } + }, + "4": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 4, + 13 + ], + [ + 4, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "5": { + "18": { + "name": "SubscriberMixin", + "type": "import", + "range": [ + [ + 5, + 18 + ], + [ + 5, + 45 + ] + ], + "bindingType": "variable", + "path": "./subscriber-mixin" + } + }, + "7": { + "13": { + "name": "WrapperDiv", + "type": "function", + "range": [ + [ + 7, + 13 + ], + [ + 7, + 41 + ] + ] + } + }, + "10": { + "18": { + "name": "GutterComponent", + "type": "function", + "range": [ + [ + 10, + 18 + ], + [ + 227, + 39 + ] + ] + } + }, + "11": { + "15": { + "name": "'GutterComponent'", + "type": "primitive", + "range": [ + [ + 11, + 15 + ], + [ + 11, + 31 + ] + ] + } + }, + "12": { + "10": { + "type": "primitive", + "range": [ + [ + 12, + 10 + ], + [ + 12, + 26 + ] + ] + } + }, + "14": { + "23": { + "type": "primitive", + "range": [ + [ + 14, + 23 + ], + [ + 14, + 26 + ] + ] + } + }, + "15": { + "17": { + "type": "primitive", + "range": [ + [ + 15, + 17 + ], + [ + 15, + 20 + ] + ] + } + }, + "17": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 10 + ], + [ + 29, + 1 + ] + ], + "doc": null + } + }, + "29": { + "16": { + "name": "getTransform", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 16 + ], + [ + 37, + 1 + ] + ], + "doc": null + } + }, + "37": { + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 37, + 22 + ], + [ + 43, + 1 + ] + ], + "doc": null + } + }, + "43": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 21 + ], + [ + 50, + 1 + ] + ], + "doc": null + } + }, + "50": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 50, + 25 + ], + [ + 64, + 1 + ] + ], + "doc": null + } + }, + "64": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "oldProps" + ], + "range": [ + [ + 64, + 22 + ], + [ + 74, + 1 + ] + ], + "doc": null + } + }, + "74": { + "24": { + "name": "clearScreenRowCaches", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 24 + ], + [ + 80, + 1 + ] + ], + "doc": null + } + }, + "80": { + "25": { + "name": "appendDummyLineNumber", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 80, + 25 + ], + [ + 86, + 1 + ] + ], + "doc": null + } + }, + "86": { + "25": { + "name": "updateDummyLineNumber", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 25 + ], + [ + 89, + 1 + ] + ], + "doc": null + } + }, + "89": { + "21": { + "name": "updateLineNumbers", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 93, + 1 + ] + ], + "doc": null + } + }, + "93": { + "40": { + "name": "appendOrUpdateVisibleLineNumberNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 93, + 40 + ], + [ + 138, + 1 + ] + ], + "doc": null + } + }, + "138": { + "25": { + "name": "removeLineNumberNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberIdsToPreserve" + ], + "range": [ + [ + 138, + 25 + ], + [ + 150, + 1 + ] + ], + "doc": null + } + }, + "150": { + "23": { + "name": "buildLineNumberHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bufferRow", + "softWrapped", + "maxLineNumberDigits", + "screenRow" + ], + "range": [ + [ + 150, + 23 + ], + [ + 169, + 1 + ] + ], + "doc": null + } + }, + "169": { + "28": { + "name": "buildLineNumberInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bufferRow", + "softWrapped", + "maxLineNumberDigits" + ], + "range": [ + [ + 169, + 28 + ], + [ + 179, + 1 + ] + ], + "doc": null + } + }, + "179": { + "24": { + "name": "updateLineNumberNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberId", + "bufferRow", + "screenRow", + "softWrapped" + ], + "range": [ + [ + 179, + 24 + ], + [ + 208, + 1 + ] + ], + "doc": null + } + }, + "208": { + "17": { + "name": "hasDecoration", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "decorations", + "decoration" + ], + "range": [ + [ + 208, + 17 + ], + [ + 211, + 1 + ] + ], + "doc": null + } + }, + "211": { + "21": { + "name": "hasLineNumberNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberId" + ], + "range": [ + [ + 211, + 21 + ], + [ + 214, + 1 + ] + ], + "doc": null + } + }, + "214": { + "30": { + "name": "lineNumberNodeForScreenRow", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 214, + 30 + ], + [ + 217, + 1 + ] + ], + "doc": null + } + }, + "217": { + "11": { + "name": "onClick", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 217, + 11 + ], + [ + 227, + 39 + ] + ], + "doc": null + } + } + }, + "exports": 10 + }, + "src/gutter-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "10": { + "type": "import", + "range": [ + [ + 0, + 10 + ], + [ + 0, + 11 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + }, + "14": { + "type": "import", + "range": [ + [ + 0, + 14 + ], + [ + 0, + 16 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$$", + "exportsProperty": "$$$" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "8": { + "0": { + "type": "class", + "name": "GutterView", + "bindingType": "exports", + "classProperties": [ + [ + 9, + 12 + ] + ], + "prototypeProperties": [ + [ + 13, + 18 + ], + [ + 14, + 17 + ], + [ + 16, + 14 + ], + [ + 19, + 15 + ], + [ + 28, + 16 + ], + [ + 31, + 21 + ], + [ + 53, + 17 + ], + [ + 56, + 13 + ], + [ + 62, + 22 + ], + [ + 68, + 25 + ], + [ + 74, + 33 + ], + [ + 83, + 24 + ], + [ + 91, + 22 + ], + [ + 101, + 27 + ], + [ + 115, + 18 + ], + [ + 126, + 23 + ], + [ + 135, + 21 + ], + [ + 169, + 23 + ], + [ + 175, + 22 + ], + [ + 179, + 22 + ], + [ + 190, + 21 + ], + [ + 194, + 25 + ], + [ + 221, + 25 + ], + [ + 235, + 24 + ], + [ + 242, + 20 + ], + [ + 250, + 18 + ] + ], + "doc": " Private: Represents the portion of the {EditorView} containing row numbers.\n\nThe gutter also indicates if rows are folded. ", + "range": [ + [ + 8, + 0 + ], + [ + 274, + 29 + ] + ] + } + }, + "9": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 12 + ], + [ + 13, + 1 + ] + ] + } + }, + "13": { + "18": { + "name": "firstScreenRow", + "type": "primitive", + "range": [ + [ + 13, + 18 + ], + [ + 13, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "17": { + "name": "lastScreenRow", + "type": "primitive", + "range": [ + [ + 14, + 17 + ], + [ + 14, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 14 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 19, + 15 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 16 + ], + [ + 31, + 1 + ] + ], + "doc": "~Private~" + } + }, + "31": { + "21": { + "name": "handleMouseEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 31, + 21 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "17": { + "name": "getEditorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 17 + ], + [ + 56, + 1 + ] + ], + "doc": " Private: Retrieves the containing {EditorView}.\n\nReturns an {EditorView}. " + } + }, + "56": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 13 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "22": { + "name": "setShowLineNumbers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showLineNumbers" + ], + "range": [ + [ + 62, + 22 + ], + [ + 68, + 1 + ] + ], + "doc": " Private: Defines whether to show the gutter or not.\n\nshowLineNumbers - A {Boolean} which, if `false`, hides the gutter " + } + }, + "68": { + "25": { + "name": "getLineNumberElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 25 + ], + [ + 74, + 1 + ] + ], + "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " + } + }, + "74": { + "33": { + "name": "getLineNumberElementsForClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 74, + 33 + ], + [ + 83, + 1 + ] + ], + "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " + } + }, + "83": { + "24": { + "name": "getLineNumberElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 83, + 24 + ], + [ + 91, + 1 + ] + ], + "doc": " Private: Get a single line-number div.\n\n* bufferRow: 0 based line number\n\nReturns a list of {HTMLElement}s that correspond to the bufferRow. More than\none in the list indicates a wrapped line. " + } + }, + "91": { + "22": { + "name": "addClassToAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 91, + 22 + ], + [ + 101, + 1 + ] + ], + "doc": " Private: Add a class to all line-number divs.\n\n* klass: string class name\n\nReturns true if the class was added to any lines " + } + }, + "101": { + "27": { + "name": "removeClassFromAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 101, + 27 + ], + [ + 115, + 1 + ] + ], + "doc": " Private: Remove a class from all line-number divs.\n\n* klass: string class name. Can only be one class name. i.e. 'my-class'\n\nReturns true if the class was removed from any lines " + } + }, + "115": { + "18": { + "name": "addClassToLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "klass" + ], + "range": [ + [ + 115, + 18 + ], + [ + 126, + 1 + ] + ], + "doc": " Private: Add a class to a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was added to " + } + }, + "126": { + "23": { + "name": "removeClassFromLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "klass" + ], + "range": [ + [ + 126, + 23 + ], + [ + 135, + 1 + ] + ], + "doc": " Private: Remove a class from a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was removed from " + } + }, + "135": { + "21": { + "name": "updateLineNumbers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "changes", + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 135, + 21 + ], + [ + 169, + 1 + ] + ], + "doc": "~Private~" + } + }, + "169": { + "23": { + "name": "prependLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElements" + ], + "range": [ + [ + 169, + 23 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "22": { + "name": "appendLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElements" + ], + "range": [ + [ + 175, + 22 + ], + [ + 179, + 1 + ] + ], + "doc": "~Private~" + } + }, + "179": { + "22": { + "name": "removeLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "numberOfElements" + ], + "range": [ + [ + 179, + 22 + ], + [ + 190, + 1 + ] + ], + "doc": "~Private~" + } + }, + "190": { + "21": { + "name": "buildLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 190, + 21 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "25": { + "name": "buildLineElementsHtml", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 194, + 25 + ], + [ + 221, + 1 + ] + ], + "doc": "~Private~" + } + }, + "221": { + "25": { + "name": "updateFoldableClasses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "changes" + ], + "range": [ + [ + 221, + 25 + ], + [ + 235, + 1 + ] + ], + "doc": " Private: Called to update the 'foldable' class of line numbers when there's\na change to the display buffer that doesn't regenerate all the line numbers\nanyway. " + } + }, + "235": { + "24": { + "name": "removeLineHighlights", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 235, + 24 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "20": { + "name": "addLineHighlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "emptySelection" + ], + "range": [ + [ + 242, + 20 + ], + [ + 250, + 1 + ] + ], + "doc": "~Private~" + } + }, + "250": { + "18": { + "name": "highlightLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 250, + 18 + ], + [ + 274, + 29 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/highlight-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "21": { + "name": "HighlightComponent", + "type": "function", + "range": [ + [ + 5, + 21 + ], + [ + 89, + 110 + ] + ] + } + }, + "6": { + "15": { + "name": "'HighlightComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 34 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 20, + 1 + ] + ], + "doc": null + } + }, + "20": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 21 + ], + [ + 27, + 1 + ] + ], + "doc": null + } + }, + "27": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 24 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "23": { + "name": "startFlashAnimation", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 23 + ], + [ + 42, + 1 + ] + ], + "doc": null + } + }, + "42": { + "27": { + "name": "renderSingleLineRegions", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 27 + ], + [ + 53, + 1 + ] + ], + "doc": null + } + }, + "53": { + "26": { + "name": "renderMultiLineRegions", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 26 + ], + [ + 88, + 1 + ] + ], + "doc": null + } + }, + "88": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 88, + 25 + ], + [ + 89, + 110 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/highlights-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "3": { + "21": { + "name": "HighlightComponent", + "type": "import", + "range": [ + [ + 3, + 21 + ], + [ + 3, + 51 + ] + ], + "bindingType": "variable", + "path": "./highlight-component" + } + }, + "6": { + "22": { + "name": "HighlightsComponent", + "type": "function", + "range": [ + [ + 6, + 22 + ], + [ + 24, + 148 + ] + ] + } + }, + "7": { + "15": { + "name": "'HighlightsComponent'", + "type": "primitive", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 35 + ] + ] + } + }, + "9": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 10 + ], + [ + 13, + 1 + ] + ], + "doc": null + } + }, + "13": { + "20": { + "name": "renderHighlights", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 20 + ], + [ + 23, + 1 + ] + ], + "doc": null + } + }, + "23": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 23, + 25 + ], + [ + 24, + 148 + ] + ], + "doc": null + } + } + }, + "exports": 6 + }, + "src/input-component.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "last", + "exportsProperty": "last" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 13 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "isEqual", + "exportsProperty": "isEqual" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "input", + "exportsProperty": "input" + } + }, + "5": { + "17": { + "name": "InputComponent", + "type": "function", + "range": [ + [ + 5, + 17 + ], + [ + 43, + 25 + ] + ] + } + }, + "6": { + "15": { + "name": "'InputComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 30 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 13, + 1 + ] + ], + "doc": null + } + }, + "13": { + "19": { + "name": "getInitialState", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 19 + ], + [ + 16, + 1 + ] + ], + "doc": null + } + }, + "16": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 21 + ], + [ + 21, + 1 + ] + ], + "doc": null + } + }, + "21": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 22 + ], + [ + 27, + 1 + ] + ], + "doc": null + } + }, + "27": { + "27": { + "name": "isPressAndHoldCharacter", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "char" + ], + "range": [ + [ + 27, + 27 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 30, + 25 + ], + [ + 33, + 1 + ] + ], + "doc": null + } + }, + "33": { + "11": { + "name": "onPaste", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 33, + 11 + ], + [ + 36, + 1 + ] + ], + "doc": null + } + }, + "36": { + "11": { + "name": "onFocus", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 36, + 11 + ], + [ + 39, + 1 + ] + ], + "doc": null + } + }, + "39": { + "10": { + "name": "onBlur", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 39, + 10 + ], + [ + 42, + 1 + ] + ], + "doc": null + } + }, + "42": { + "9": { + "name": "focus", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 9 + ], + [ + 43, + 25 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/keymap-extensions.coffee": { + "objects": { + "0": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 0, + 5 + ], + [ + 0, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.1" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "16": { + "name": "KeymapManager", + "type": "import", + "range": [ + [ + 2, + 16 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "atom-keymap" + } + }, + "3": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 6 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "jQuery", + "exportsProperty": "jQuery" + } + }, + "6": { + "36": { + "name": "KeymapManager.prototype.loadBundledKeymaps", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 36 + ], + [ + 9, + 0 + ] + ], + "doc": null + } + }, + "10": { + "35": { + "name": "KeymapManager.prototype.getUserKeymapPath", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 35 + ], + [ + 15, + 0 + ] + ], + "doc": null + } + }, + "16": { + "32": { + "name": "KeymapManager.prototype.loadUserKeymap", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 32 + ], + [ + 22, + 74 + ] + ], + "doc": null + } + }, + "23": { + "32": { + "name": "jQuery.Event.prototype.abortKeyBinding", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 23, + 32 + ], + [ + 25, + 0 + ] + ], + "doc": null + } + } + }, + "exports": 26 + }, + "src/language-mode.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 10 + ] + ], + "bindingType": "variable", + "module": "oniguruma", + "name": "OnigRegExp", + "exportsProperty": "OnigRegExp" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "6": { + "0": { + "type": "class", + "name": "LanguageMode", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 15 + ], + [ + 16, + 11 + ], + [ + 19, + 33 + ], + [ + 30, + 35 + ], + [ + 100, + 11 + ], + [ + 107, + 13 + ], + [ + 114, + 24 + ], + [ + 128, + 17 + ], + [ + 141, + 30 + ], + [ + 146, + 33 + ], + [ + 161, + 34 + ], + [ + 181, + 25 + ], + [ + 186, + 29 + ], + [ + 194, + 32 + ], + [ + 201, + 30 + ], + [ + 208, + 35 + ], + [ + 241, + 31 + ], + [ + 265, + 29 + ], + [ + 274, + 24 + ], + [ + 281, + 23 + ], + [ + 288, + 34 + ], + [ + 308, + 23 + ], + [ + 312, + 32 + ], + [ + 315, + 32 + ], + [ + 318, + 25 + ] + ], + "doc": "~Private~", + "range": [ + [ + 6, + 0 + ], + [ + 319, + 57 + ] + ] + } + }, + "13": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 13, + 15 + ], + [ + 16, + 1 + ] + ], + "doc": " Private: Sets up a `LanguageMode` for the given {Editor}.\n\neditor - The {Editor} to associate with " + } + }, + "16": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 11 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "33": { + "name": "toggleLineCommentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 19, + 33 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "35": { + "name": "toggleLineCommentsForBufferRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 30, + 35 + ], + [ + 100, + 1 + ] + ], + "doc": " Private: Wraps the lines between two rows in comments.\n\nIf the language doesn't have comment, nothing happens.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns an {Array} of the commented {Ranges}. " + } + }, + "100": { + "11": { + "name": "foldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 100, + 11 + ], + [ + 107, + 1 + ] + ], + "doc": "Private: Folds all the foldable lines in the buffer. " + } + }, + "107": { + "13": { + "name": "unfoldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 13 + ], + [ + 114, + 1 + ] + ], + "doc": "Private: Unfolds all the foldable lines in the buffer. " + } + }, + "114": { + "24": { + "name": "foldAllAtIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "indentLevel" + ], + "range": [ + [ + 114, + 24 + ], + [ + 128, + 1 + ] + ], + "doc": " Private: Fold all comment and code blocks at a given indentLevel\n\nindentLevel - A {Number} indicating indentLevel; 0 based. " + } + }, + "128": { + "17": { + "name": "foldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 128, + 17 + ], + [ + 141, + 1 + ] + ], + "doc": " Private: Given a buffer row, creates a fold at it.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns the new {Fold}. " + } + }, + "141": { + "30": { + "name": "rowRangeForFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 141, + 30 + ], + [ + 146, + 1 + ] + ], + "doc": " Private: Find the row range for a fold at a given bufferRow. Will handle comments\nand code.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of the [startRow, endRow]. Returns null if no range. " + } + }, + "146": { + "33": { + "name": "rowRangeForCommentAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 146, + 33 + ], + [ + 161, + 1 + ] + ], + "doc": "~Private~" + } + }, + "161": { + "34": { + "name": "rowRangeForCodeFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 161, + 34 + ], + [ + 181, + 1 + ] + ], + "doc": "~Private~" + } + }, + "181": { + "25": { + "name": "isFoldableAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 181, + 25 + ], + [ + 186, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether the given buffer row starts a\nfoldable row range. Rows that are \"foldable\" have a fold icon next to their\nicon in the gutter in the default configuration. " + } + }, + "186": { + "29": { + "name": "isFoldableCodeAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 186, + 29 + ], + [ + 194, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na a foldable row range due to the code's indentation patterns. " + } + }, + "194": { + "32": { + "name": "isFoldableCommentAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 194, + 32 + ], + [ + 201, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na foldable row range due to being the start of a multi-line comment. " + } + }, + "201": { + "30": { + "name": "isLineCommentedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 201, + 30 + ], + [ + 208, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the line at the given buffer\nrow is a comment. " + } + }, + "208": { + "35": { + "name": "rowRangeForParagraphAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 208, + 35 + ], + [ + 241, + 1 + ] + ], + "doc": " Private: Find a row range for a 'paragraph' around specified bufferRow.\nRight now, a paragraph is a block of text bounded by and empty line or a\nblock of text that is not the same type (comments next to source code). " + } + }, + "241": { + "31": { + "name": "suggestedIndentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 241, + 31 + ], + [ + 265, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns a suggested indentation level.\n\nThe indentation level provided is based on the current {LanguageMode}.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Number}. " + } + }, + "265": { + "29": { + "name": "minIndentLevelForRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 265, + 29 + ], + [ + 274, + 1 + ] + ], + "doc": " Private: Calculate a minimum indent level for a range of lines excluding empty lines.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns a {Number} of the indent level of the block of lines. " + } + }, + "274": { + "24": { + "name": "autoIndentBufferRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 274, + 24 + ], + [ + 281, + 1 + ] + ], + "doc": " Private: Indents all the rows between two buffer row numbers.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at " + } + }, + "281": { + "23": { + "name": "autoIndentBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "options" + ], + "range": [ + [ + 281, + 23 + ], + [ + 288, + 1 + ] + ], + "doc": " Private: Given a buffer row, this indents it.\n\nbufferRow - The row {Number}.\noptions - An options {Object} to pass through to {Editor::setIndentationForBufferRow}. " + } + }, + "288": { + "34": { + "name": "autoDecreaseIndentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 288, + 34 + ], + [ + 308, + 1 + ] + ], + "doc": " Private: Given a buffer row, this decreases the indentation.\n\nbufferRow - The row {Number} " + } + }, + "308": { + "23": { + "name": "getRegexForProperty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "property" + ], + "range": [ + [ + 308, + 23 + ], + [ + 312, + 1 + ] + ], + "doc": "~Private~" + } + }, + "312": { + "32": { + "name": "increaseIndentRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 312, + 32 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "32": { + "name": "decreaseIndentRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 315, + 32 + ], + [ + 318, + 1 + ] + ], + "doc": "~Private~" + } + }, + "318": { + "25": { + "name": "foldEndRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 318, + 25 + ], + [ + 319, + 57 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 6 + }, + "src/less-compile-cache.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.1" + } + }, + "2": { + "12": { + "name": "LessCache", + "type": "import", + "range": [ + [ + 2, + 12 + ], + [ + 2, + 31 + ] + ], + "bindingType": "variable", + "module": "less-cache" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "7": { + "0": { + "type": "class", + "name": "LessCompileCache", + "bindingType": "exports", + "classProperties": [ + [ + 10, + 13 + ] + ], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 29, + 18 + ], + [ + 32, + 8 + ], + [ + 35, + 14 + ], + [ + 38, + 11 + ] + ], + "doc": "Private: {LessCache} wrapper used by {ThemeManager} to read stylesheets. ", + "range": [ + [ + 7, + 0 + ], + [ + 38, + 28 + ] + ] + } + }, + "10": { + "13": { + "name": "cacheDir", + "type": "function", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 71 + ] + ], + "bindingType": "classProperty" + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 29, + 1 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "18": { + "name": "setImportPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "importPaths" + ], + "range": [ + [ + 29, + 18 + ], + [ + 32, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "8": { + "name": "read", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 32, + 8 + ], + [ + 35, + 1 + ] + ], + "doc": "~Private~" + } + }, + "35": { + "14": { + "name": "cssForFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "lessContent" + ], + "range": [ + [ + 35, + 14 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 38, + 11 + ], + [ + 38, + 27 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 7 + }, + "src/lines-component.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + }, + "6": { + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 9 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "span", + "exportsProperty": "span" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "debounce", + "exportsProperty": "debounce" + }, + "11": { + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 17 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "isEqual", + "exportsProperty": "isEqual" + }, + "20": { + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 39 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "42": { + "type": "import", + "range": [ + [ + 3, + 42 + ], + [ + 3, + 55 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "multiplyString", + "exportsProperty": "multiplyString" + }, + "58": { + "type": "import", + "range": [ + [ + 3, + 58 + ], + [ + 3, + 64 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "toArray", + "exportsProperty": "toArray" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 2 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "$$", + "exportsProperty": "$$" + } + }, + "6": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 6, + 13 + ], + [ + 6, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "7": { + "19": { + "name": "CursorsComponent", + "type": "import", + "range": [ + [ + 7, + 19 + ], + [ + 7, + 47 + ] + ], + "bindingType": "variable", + "path": "./cursors-component" + } + }, + "8": { + "22": { + "name": "HighlightsComponent", + "type": "import", + "range": [ + [ + 8, + 22 + ], + [ + 8, + 53 + ] + ], + "bindingType": "variable", + "path": "./highlights-component" + } + }, + "10": { + "16": { + "type": "primitive", + "range": [ + [ + 10, + 16 + ], + [ + 10, + 111 + ] + ] + } + }, + "11": { + "15": { + "type": "primitive", + "range": [ + [ + 11, + 15 + ], + [ + 11, + 55 + ] + ] + }, + "28": { + "name": "acceptNode", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 11, + 28 + ], + [ + 11, + 54 + ] + ], + "doc": null + } + }, + "12": { + "13": { + "name": "WrapperDiv", + "type": "function", + "range": [ + [ + 12, + 13 + ], + [ + 12, + 41 + ] + ] + } + }, + "15": { + "17": { + "name": "LinesComponent", + "type": "function", + "range": [ + [ + 15, + 17 + ], + [ + 348, + 41 + ] + ] + } + }, + "16": { + "15": { + "name": "'LinesComponent'", + "type": "primitive", + "range": [ + [ + 16, + 15 + ], + [ + 16, + 30 + ] + ] + } + }, + "18": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 18, + 10 + ], + [ + 44, + 1 + ] + ], + "doc": null + } + }, + "44": { + "16": { + "name": "getTransform", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 16 + ], + [ + 52, + 1 + ] + ], + "doc": null + } + }, + "52": { + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 22 + ], + [ + 59, + 1 + ] + ], + "doc": null + } + }, + "59": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 59, + 25 + ], + [ + 79, + 1 + ] + ], + "doc": null + } + }, + "79": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "prevProps" + ], + "range": [ + [ + 79, + 22 + ], + [ + 88, + 1 + ] + ], + "doc": null + } + }, + "88": { + "24": { + "name": "clearScreenRowCaches", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 24 + ], + [ + 92, + 1 + ] + ], + "doc": null + } + }, + "92": { + "15": { + "name": "updateLines", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "updateWidth" + ], + "range": [ + [ + 92, + 15 + ], + [ + 100, + 1 + ] + ], + "doc": null + } + }, + "100": { + "19": { + "name": "removeLineNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "visibleLines" + ], + "range": [ + [ + 100, + 19 + ], + [ + 114, + 1 + ] + ], + "doc": null + } + }, + "114": { + "34": { + "name": "appendOrUpdateVisibleLineNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "visibleLines", + "startRow", + "updateWidth" + ], + "range": [ + [ + 114, + 34 + ], + [ + 145, + 1 + ] + ], + "doc": null + } + }, + "145": { + "15": { + "name": "hasLineNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineId" + ], + "range": [ + [ + 145, + 15 + ], + [ + 148, + 1 + ] + ], + "doc": null + } + }, + "148": { + "17": { + "name": "buildLineHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "screenRow" + ], + "range": [ + [ + 148, + 17 + ], + [ + 171, + 1 + ] + ], + "doc": null + } + }, + "171": { + "27": { + "name": "buildEmptyLineInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 171, + 27 + ], + [ + 198, + 1 + ] + ], + "doc": null + } + }, + "198": { + "22": { + "name": "buildLineInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 198, + 22 + ], + [ + 215, + 1 + ] + ], + "doc": null + } + }, + "215": { + "22": { + "name": "buildEndOfLineHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "invisibles" + ], + "range": [ + [ + 215, + 22 + ], + [ + 228, + 1 + ] + ], + "doc": null + } + }, + "228": { + "20": { + "name": "updateScopeStack", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 228, + 20 + ], + [ + 245, + 1 + ] + ], + "doc": null + } + }, + "245": { + "12": { + "name": "popScope", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack" + ], + "range": [ + [ + 245, + 12 + ], + [ + 249, + 1 + ] + ], + "doc": null + } + }, + "249": { + "13": { + "name": "pushScope", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack", + "scope" + ], + "range": [ + [ + 249, + 13 + ], + [ + 253, + 1 + ] + ], + "doc": null + } + }, + "253": { + "18": { + "name": "updateLineNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "screenRow", + "updateWidth" + ], + "range": [ + [ + 253, + 18 + ], + [ + 278, + 1 + ] + ], + "doc": null + } + }, + "278": { + "17": { + "name": "hasDecoration", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "decorations", + "decoration" + ], + "range": [ + [ + 278, + 17 + ], + [ + 281, + 1 + ] + ], + "doc": null + } + }, + "281": { + "24": { + "name": "lineNodeForScreenRow", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 281, + 24 + ], + [ + 284, + 1 + ] + ], + "doc": null + } + }, + "284": { + "40": { + "name": "measureLineHeightAndDefaultCharWidth", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 40 + ], + [ + 295, + 1 + ] + ], + "doc": null + } + }, + "295": { + "28": { + "name": "remeasureCharacterWidths", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 295, + 28 + ], + [ + 299, + 1 + ] + ], + "doc": null + } + }, + "299": { + "31": { + "name": "measureCharactersInNewLines", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 299, + 31 + ], + [ + 311, + 1 + ] + ], + "doc": null + } + }, + "311": { + "27": { + "name": "measureCharactersInLine", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "tokenizedLine", + "lineNode" + ], + "range": [ + [ + 311, + 27 + ], + [ + 346, + 1 + ] + ], + "doc": null + } + }, + "346": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 25 + ], + [ + 348, + 41 + ] + ], + "doc": null + } + } + }, + "exports": 15 + }, + "src/menu-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "3": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 3, + 6 + ], + [ + 3, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.1" + } + }, + "12": { + "0": { + "type": "class", + "name": "MenuManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 15 + ], + [ + 37, + 7 + ], + [ + 47, + 19 + ], + [ + 79, + 10 + ], + [ + 88, + 21 + ], + [ + 96, + 9 + ], + [ + 107, + 27 + ], + [ + 117, + 24 + ], + [ + 121, + 18 + ], + [ + 130, + 21 + ] + ], + "doc": " Public: Provides a registry for menu items that you'd like to appear in the\napplication menu.\n\nAn instance of this class is always available as the `atom.menu` global. ", + "range": [ + [ + 12, + 0 + ], + [ + 131, + 49 + ] + ] + } + }, + "13": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 13, + 15 + ], + [ + 37, + 1 + ] + ] + } + }, + "37": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 37, + 7 + ], + [ + 47, + 1 + ] + ], + "doc": " Public: Adds the given item definition to the existing template.\n\n## Example\n```coffee\n atom.menu.add [\n {\n label: 'Hello'\n submenu : [{label: 'World!', command: 'hello:world'}]\n }\n ]\n```\n\nitems - An {Array} of menu item {Object}s containing the keys:\n :label - The {String} menu label.\n :submenu - An optional {Array} of sub menu items.\n :command - An optional {String} command to trigger when the item is\n clicked.\n\nReturns nothing. " + } + }, + "47": { + "19": { + "name": "includeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 47, + 19 + ], + [ + 79, + 1 + ] + ], + "doc": " Private: Should the binding for the given selector be included in the menu\ncommands.\n\nselector - A {String} selector to check.\n\nReturns true to include the selector, false otherwise. " + } + }, + "79": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 10 + ], + [ + 88, + 1 + ] + ], + "doc": "Public: Refreshes the currently visible menu. " + } + }, + "88": { + "21": { + "name": "loadPlatformItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 21 + ], + [ + 96, + 1 + ] + ], + "doc": "~Private~" + } + }, + "96": { + "9": { + "name": "merge", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "menu", + "item" + ], + "range": [ + [ + 96, + 9 + ], + [ + 107, + 1 + ] + ], + "doc": " Private: Merges an item in a submenu aware way such that new items are always\nappended to the bottom of existing menus where possible. " + } + }, + "107": { + "27": { + "name": "filterMultipleKeystroke", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystrokesByCommand" + ], + "range": [ + [ + 107, + 27 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: OSX can't handle displaying accelerators for multiple keystrokes.\nIf they are sent across, it will stop processing accelerators for the rest\nof the menu items. " + } + }, + "117": { + "24": { + "name": "sendToBrowserProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 117, + 24 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "18": { + "name": "normalizeLabel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "label" + ], + "range": [ + [ + 121, + 18 + ], + [ + 130, + 1 + ] + ], + "doc": "~Private~" + } + }, + "130": { + "21": { + "name": "classesForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 130, + 21 + ], + [ + 131, + 49 + ] + ], + "doc": "Private: Get an {Array} of {String} classes for the given element. " + } + } + }, + "exports": 12 + }, + "src/package-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.1" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q@~1.0.1" + } + }, + "7": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 7, + 10 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "8": { + "15": { + "name": "ThemePackage", + "type": "import", + "range": [ + [ + 8, + 15 + ], + [ + 8, + 39 + ] + ], + "bindingType": "variable", + "path": "./theme-package" + } + }, + "26": { + "0": { + "type": "class", + "name": "PackageManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 44, + 14 + ], + [ + 52, + 22 + ], + [ + 55, + 19 + ], + [ + 58, + 19 + ], + [ + 62, + 17 + ], + [ + 68, + 18 + ], + [ + 74, + 12 + ], + [ + 82, + 28 + ], + [ + 85, + 20 + ], + [ + 90, + 19 + ], + [ + 100, + 22 + ], + [ + 105, + 21 + ], + [ + 113, + 21 + ], + [ + 117, + 20 + ], + [ + 121, + 19 + ], + [ + 124, + 29 + ], + [ + 128, + 27 + ], + [ + 137, + 16 + ], + [ + 148, + 15 + ], + [ + 168, + 18 + ], + [ + 172, + 17 + ], + [ + 182, + 20 + ], + [ + 186, + 19 + ], + [ + 190, + 21 + ], + [ + 196, + 29 + ], + [ + 200, + 22 + ], + [ + 210, + 21 + ], + [ + 213, + 17 + ], + [ + 218, + 20 + ], + [ + 221, + 26 + ], + [ + 231, + 28 + ], + [ + 246, + 28 + ], + [ + 250, + 31 + ] + ], + "doc": " Public: Package manager for coordinating the lifecycle of Atom packages.\n\nAn instance of this class is always available as the `atom.packages` global.\n\nPackages can be loaded, activated, and deactivated, and unloaded:\n * Loading a package reads and parses the package's metadata and resources\n such as keymaps, menus, stylesheets, etc.\n * Activating a package registers the loaded resources and calls `activate()`\n on the package's main module.\n * Deactivating a package unregisters the package's resources and calls\n `deactivate()` on the package's main module.\n * Unloading a package removes it completely from the package manager.\n\nPackages can also be enabled/disabled via the `core.disabledPackages` config\nsettings and also by calling `enablePackage()/disablePackage()`. ", + "range": [ + [ + 26, + 0 + ], + [ + 256, + 12 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 29, + 15 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "14": { + "name": "getApmPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 14 + ], + [ + 52, + 1 + ] + ], + "doc": "Public: Get the path to the apm command " + } + }, + "52": { + "22": { + "name": "getPackageDirPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 22 + ], + [ + 55, + 1 + ] + ], + "doc": " Public: Get the paths being used to look for packages.\n\nReturns an Array of String directory paths. " + } + }, + "55": { + "19": { + "name": "getPackageState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 55, + 19 + ], + [ + 58, + 1 + ] + ], + "doc": "~Private~" + } + }, + "58": { + "19": { + "name": "setPackageState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "state" + ], + "range": [ + [ + 58, + 19 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "17": { + "name": "enablePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 62, + 17 + ], + [ + 68, + 1 + ] + ], + "doc": "Public: Enable the package with the given name " + } + }, + "68": { + "18": { + "name": "disablePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 68, + 18 + ], + [ + 74, + 1 + ] + ], + "doc": "Public: Disable the package with the given name " + } + }, + "74": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 12 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Activate all the packages that should be activated. " + } + }, + "82": { + "28": { + "name": "registerPackageActivator", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "activator", + "types" + ], + "range": [ + [ + 82, + 28 + ], + [ + 85, + 1 + ] + ], + "doc": " Private: another type of package manager can handle other package types.\nSee ThemeManager " + } + }, + "85": { + "20": { + "name": "activatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "packages" + ], + "range": [ + [ + 85, + 20 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "19": { + "name": "activatePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 90, + 19 + ], + [ + 100, + 1 + ] + ], + "doc": "Private: Activate a single package by name " + } + }, + "100": { + "22": { + "name": "deactivatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 100, + 22 + ], + [ + 105, + 1 + ] + ], + "doc": "Private: Deactivate all packages " + } + }, + "105": { + "21": { + "name": "deactivatePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 105, + 21 + ], + [ + 113, + 1 + ] + ], + "doc": "Private: Deactivate the package with the given name " + } + }, + "113": { + "21": { + "name": "getActivePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 113, + 21 + ], + [ + 117, + 1 + ] + ], + "doc": "Public: Get an array of all the active packages " + } + }, + "117": { + "20": { + "name": "getActivePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 117, + 20 + ], + [ + 121, + 1 + ] + ], + "doc": "Public: Get the active package with the given name " + } + }, + "121": { + "19": { + "name": "isPackageActive", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 121, + 19 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Is the package with the given name active? " + } + }, + "124": { + "29": { + "name": "unobserveDisabledPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 29 + ], + [ + 128, + 1 + ] + ], + "doc": "~Private~" + } + }, + "128": { + "27": { + "name": "observeDisabledPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 128, + 27 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "16": { + "name": "loadPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 16 + ], + [ + 148, + 1 + ] + ], + "doc": "~Private~" + } + }, + "148": { + "15": { + "name": "loadPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "nameOrPath" + ], + "range": [ + [ + 148, + 15 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "18": { + "name": "unloadPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 18 + ], + [ + 172, + 1 + ] + ], + "doc": "~Private~" + } + }, + "172": { + "17": { + "name": "unloadPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 172, + 17 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "20": { + "name": "getLoadedPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 182, + 20 + ], + [ + 186, + 1 + ] + ], + "doc": "Public: Get the loaded package with the given name " + } + }, + "186": { + "19": { + "name": "isPackageLoaded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 186, + 19 + ], + [ + 190, + 1 + ] + ], + "doc": "Public: Is the package with the given name loaded? " + } + }, + "190": { + "21": { + "name": "getLoadedPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 21 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded packages " + } + }, + "196": { + "29": { + "name": "getLoadedPackagesForTypes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "types" + ], + "range": [ + [ + 196, + 29 + ], + [ + 200, + 1 + ] + ], + "doc": " Private: Get packages for a certain package type\n\ntypes - an {Array} of {String}s like ['atom', 'textmate']. " + } + }, + "200": { + "22": { + "name": "resolvePackagePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 200, + 22 + ], + [ + 210, + 1 + ] + ], + "doc": "Public: Resolve the given package name to a path on disk. " + } + }, + "210": { + "21": { + "name": "isPackageDisabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 210, + 21 + ], + [ + 213, + 1 + ] + ], + "doc": "Public: Is the package with the given name disabled? " + } + }, + "213": { + "17": { + "name": "hasAtomEngine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "packagePath" + ], + "range": [ + [ + 213, + 17 + ], + [ + 218, + 1 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "20": { + "name": "isBundledPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 218, + 20 + ], + [ + 221, + 1 + ] + ], + "doc": "Public: Is the package with the given name bundled with Atom? " + } + }, + "221": { + "26": { + "name": "getPackageDependencies", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 221, + 26 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "28": { + "name": "getAvailablePackagePaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 231, + 28 + ], + [ + 246, + 1 + ] + ], + "doc": "Public: Get an array of all the available package paths. " + } + }, + "246": { + "28": { + "name": "getAvailablePackageNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 246, + 28 + ], + [ + 250, + 1 + ] + ], + "doc": "Public: Get an array of all the available package names. " + } + }, + "250": { + "31": { + "name": "getAvailablePackageMetadata", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 250, + 31 + ], + [ + 256, + 12 + ] + ], + "doc": "Public: Get an array of all the available package metadata. " + } + } + }, + "exports": 26 + }, + "src/package.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "3": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 3, + 8 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "async@~0.2.10" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.1" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "7": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 14 + ] + ], + "bindingType": "variable", + "module": "q@~1.0.1" + } + }, + "9": { + "4": { + "type": "primitive", + "range": [ + [ + 9, + 4 + ], + [ + 9, + 7 + ] + ] + } + }, + "10": { + "19": { + "name": "ScopedProperties", + "type": "import", + "range": [ + [ + 10, + 19 + ], + [ + 10, + 47 + ] + ], + "bindingType": "variable", + "path": "./scoped-properties" + } + }, + "15": { + "0": { + "type": "class", + "name": "Package", + "bindingType": "exports", + "classProperties": [ + [ + 18, + 19 + ], + [ + 20, + 17 + ] + ], + "prototypeProperties": [ + [ + 30, + 11 + ], + [ + 31, + 9 + ], + [ + 32, + 15 + ], + [ + 33, + 12 + ], + [ + 34, + 20 + ], + [ + 35, + 18 + ], + [ + 36, + 26 + ], + [ + 37, + 14 + ], + [ + 39, + 15 + ], + [ + 44, + 10 + ], + [ + 47, + 11 + ], + [ + 50, + 11 + ], + [ + 53, + 11 + ], + [ + 59, + 11 + ], + [ + 61, + 21 + ], + [ + 63, + 8 + ], + [ + 76, + 9 + ], + [ + 83, + 12 + ], + [ + 97, + 15 + ], + [ + 109, + 18 + ], + [ + 118, + 23 + ], + [ + 126, + 21 + ], + [ + 138, + 15 + ], + [ + 141, + 13 + ], + [ + 144, + 18 + ], + [ + 151, + 16 + ], + [ + 158, + 19 + ], + [ + 162, + 22 + ], + [ + 165, + 22 + ], + [ + 177, + 20 + ], + [ + 194, + 16 + ], + [ + 213, + 24 + ], + [ + 231, + 13 + ], + [ + 238, + 14 + ], + [ + 247, + 20 + ], + [ + 251, + 23 + ], + [ + 260, + 21 + ], + [ + 266, + 20 + ], + [ + 269, + 21 + ], + [ + 275, + 21 + ], + [ + 285, + 23 + ], + [ + 297, + 31 + ], + [ + 306, + 25 + ], + [ + 315, + 35 + ], + [ + 325, + 36 + ], + [ + 339, + 36 + ], + [ + 345, + 18 + ], + [ + 353, + 34 + ], + [ + 371, + 32 + ], + [ + 401, + 16 + ] + ], + "doc": " Private: Loads and activates a package's main module and resources such as\nstylesheets, keymaps, grammar, editor properties, and menus. ", + "range": [ + [ + 15, + 0 + ], + [ + 411, + 24 + ] + ] + } + }, + "18": { + "19": { + "name": "stylesheetsDir", + "type": "primitive", + "range": [ + [ + 18, + 19 + ], + [ + 18, + 31 + ] + ], + "bindingType": "classProperty" + } + }, + "20": { + "17": { + "name": "loadMetadata", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "packagePath", + "ignoreErrors" + ], + "range": [ + [ + 20, + 17 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "keymaps", + "type": "primitive", + "range": [ + [ + 30, + 11 + ], + [ + 30, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "31": { + "9": { + "name": "menus", + "type": "primitive", + "range": [ + [ + 31, + 9 + ], + [ + 31, + 12 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "32": { + "15": { + "name": "stylesheets", + "type": "primitive", + "range": [ + [ + 32, + 15 + ], + [ + 32, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "33": { + "12": { + "name": "grammars", + "type": "primitive", + "range": [ + [ + 33, + 12 + ], + [ + 33, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "34": { + "20": { + "name": "scopedProperties", + "type": "primitive", + "range": [ + [ + 34, + 20 + ], + [ + 34, + 23 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "35": { + "18": { + "name": "mainModulePath", + "type": "primitive", + "range": [ + [ + 35, + 18 + ], + [ + 35, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "36": { + "26": { + "name": "resolvedMainModulePath", + "type": "primitive", + "range": [ + [ + 36, + 26 + ], + [ + 36, + 30 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "37": { + "14": { + "name": "mainModule", + "type": "primitive", + "range": [ + [ + 37, + 14 + ], + [ + 37, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "39": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 39, + 15 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "10": { + "name": "enable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 10 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "11": { + "name": "disable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 47, + 11 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "11": { + "name": "isTheme", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 11 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "11": { + "name": "measure", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "key", + "fn" + ], + "range": [ + [ + 53, + 11 + ], + [ + 59, + 1 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "11": { + "name": "getType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 11 + ], + [ + 59, + 19 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "21": { + "name": "getStylesheetType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 21 + ], + [ + 61, + 32 + ] + ], + "doc": "~Private~" + } + }, + "63": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 63, + 8 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "9": { + "name": "reset", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 9 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 83, + 12 + ], + [ + 97, + 1 + ] + ], + "doc": "~Private~" + } + }, + "97": { + "15": { + "name": "activateNow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 97, + 15 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "18": { + "name": "activateConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 18 + ], + [ + 118, + 1 + ] + ], + "doc": "~Private~" + } + }, + "118": { + "23": { + "name": "activateStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 118, + 23 + ], + [ + 126, + 1 + ] + ], + "doc": "~Private~" + } + }, + "126": { + "21": { + "name": "activateResources", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 21 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "15": { + "name": "loadKeymaps", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 15 + ], + [ + 141, + 1 + ] + ], + "doc": "~Private~" + } + }, + "141": { + "13": { + "name": "loadMenus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 13 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "18": { + "name": "getKeymapPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 144, + 18 + ], + [ + 151, + 1 + ] + ], + "doc": "~Private~" + } + }, + "151": { + "16": { + "name": "getMenuPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 151, + 16 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "19": { + "name": "loadStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 19 + ], + [ + 162, + 1 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "22": { + "name": "getStylesheetsPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 22 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "22": { + "name": "getStylesheetPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 22 + ], + [ + 177, + 1 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "20": { + "name": "loadGrammarsSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 20 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "16": { + "name": "loadGrammars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 194, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "24": { + "name": "loadScopedProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 24 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "13": { + "name": "serialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 231, + 13 + ], + [ + 238, + 1 + ] + ], + "doc": "~Private~" + } + }, + "238": { + "14": { + "name": "deactivate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 238, + 14 + ], + [ + 247, + 1 + ] + ], + "doc": "~Private~" + } + }, + "247": { + "20": { + "name": "deactivateConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 247, + 20 + ], + [ + 251, + 1 + ] + ], + "doc": "~Private~" + } + }, + "251": { + "23": { + "name": "deactivateResources", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 251, + 23 + ], + [ + 260, + 1 + ] + ], + "doc": "~Private~" + } + }, + "260": { + "21": { + "name": "reloadStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 21 + ], + [ + 266, + 1 + ] + ], + "doc": "~Private~" + } + }, + "266": { + "20": { + "name": "reloadStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "content" + ], + "range": [ + [ + 266, + 20 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "21": { + "name": "requireMainModule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 21 + ], + [ + 275, + 1 + ] + ] + } + }, + "275": { + "21": { + "name": "getMainModulePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 275, + 21 + ], + [ + 285, + 1 + ] + ], + "doc": "~Private~" + } + }, + "285": { + "23": { + "name": "hasActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 285, + 23 + ], + [ + 297, + 1 + ] + ], + "doc": "~Private~" + } + }, + "297": { + "31": { + "name": "subscribeToActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 31 + ], + [ + 306, + 1 + ] + ], + "doc": "~Private~" + } + }, + "306": { + "25": { + "name": "handleActivationEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 306, + 25 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "35": { + "name": "unsubscribeFromActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 35 + ], + [ + 325, + 1 + ] + ], + "doc": "~Private~" + } + }, + "325": { + "36": { + "name": "disableEventHandlersOnBubblePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 325, + 36 + ], + [ + 339, + 1 + ] + ], + "doc": "~Private~" + } + }, + "339": { + "36": { + "name": "restoreEventHandlersOnBubblePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventHandlers" + ], + "range": [ + [ + 339, + 36 + ], + [ + 345, + 1 + ] + ], + "doc": "~Private~" + } + }, + "345": { + "18": { + "name": "isNativeModule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "modulePath" + ], + "range": [ + [ + 345, + 18 + ], + [ + 353, + 1 + ] + ], + "doc": "Private: Does the given module path contain native code? " + } + }, + "353": { + "34": { + "name": "getNativeModuleDependencyPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 353, + 34 + ], + [ + 371, + 1 + ] + ], + "doc": " Private: Get an array of all the native modules that this package depends on.\nThis will recurse through all dependencies. " + } + }, + "371": { + "32": { + "name": "getIncompatibleNativeModules", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 371, + 32 + ], + [ + 401, + 1 + ] + ], + "doc": " Private: Get the incompatible native modules that this package depends on.\nThis recurses through all dependencies and requires all modules that\ncontain a `.node` file.\n\nThis information is cached in local storage on a per package/version basis\nto minimize the impact on startup time. " + } + }, + "401": { + "16": { + "name": "isCompatible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 401, + 16 + ], + [ + 411, + 24 + ] + ], + "doc": " Public: Is this package compatible with this version of Atom?\n\nIncompatible packages cannot be activated. This will include packages\ninstalled to ~/.atom/packages that were built against node 0.11.10 but\nnow need to be upgrade to node 0.11.13.\n\nReturns a {Boolean}, true if compatible, false if incompatible. " + } + } + }, + "exports": 15 + }, + "src/pane-axis-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "11": { + "type": "primitive", + "range": [ + [ + 1, + 11 + ], + [ + 1, + 14 + ] + ] + } + }, + "4": { + "0": { + "type": "class", + "name": "PaneAxisView", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 5, + 14 + ], + [ + 9, + 15 + ], + [ + 12, + 16 + ], + [ + 16, + 22 + ], + [ + 22, + 16 + ], + [ + 26, + 18 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 31, + 48 + ] + ] + } + }, + "5": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 5, + 14 + ], + [ + 9, + 1 + ] + ] + } + }, + "9": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 15 + ], + [ + 12, + 1 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "16": { + "name": "viewForModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "model" + ], + "range": [ + [ + 12, + 16 + ], + [ + 16, + 1 + ] + ], + "doc": "~Private~" + } + }, + "16": { + "22": { + "name": "onChildrenChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 16, + 22 + ], + [ + 22, + 1 + ] + ], + "doc": "~Private~" + } + }, + "22": { + "16": { + "name": "onChildAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child", + "index" + ], + "range": [ + [ + 22, + 16 + ], + [ + 26, + 1 + ] + ], + "doc": "~Private~" + } + }, + "26": { + "18": { + "name": "onChildRemoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 26, + 18 + ], + [ + 31, + 48 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/pane-axis.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 15 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Sequence", + "exportsProperty": "Sequence" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 7 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "flatten", + "exportsProperty": "flatten" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "4": { + "14": { + "type": "primitive", + "range": [ + [ + 4, + 14 + ], + [ + 4, + 17 + ] + ] + } + }, + "5": { + "17": { + "type": "primitive", + "range": [ + [ + 5, + 17 + ], + [ + 5, + 20 + ] + ] + } + }, + "8": { + "0": { + "type": "class", + "name": "PaneAxis", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 25, + 21 + ], + [ + 30, + 19 + ], + [ + 34, + 16 + ], + [ + 40, + 12 + ], + [ + 43, + 12 + ], + [ + 46, + 15 + ], + [ + 51, + 16 + ], + [ + 56, + 21 + ], + [ + 60, + 20 + ], + [ + 64, + 21 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 65, + 44 + ] + ] + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 25, + 21 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 19 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 16 + ], + [ + 40, + 1 + ] + ], + "doc": "~Private~" + } + }, + "40": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 40, + 12 + ], + [ + 43, + 1 + ] + ], + "doc": "~Private~" + } + }, + "43": { + "12": { + "name": "addChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child", + "index" + ], + "range": [ + [ + 43, + 12 + ], + [ + 46, + 1 + ] + ], + "doc": "~Private~" + } + }, + "46": { + "15": { + "name": "removeChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 46, + 15 + ], + [ + 51, + 1 + ] + ], + "doc": "~Private~" + } + }, + "51": { + "16": { + "name": "replaceChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "oldChild", + "newChild" + ], + "range": [ + [ + 51, + 16 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "21": { + "name": "insertChildBefore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "currentChild", + "newChild" + ], + "range": [ + [ + 56, + 21 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "20": { + "name": "insertChildAfter", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "currentChild", + "newChild" + ], + "range": [ + [ + 60, + 20 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "21": { + "name": "reparentLastChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 21 + ], + [ + 65, + 44 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/pane-column-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "2": { + "15": { + "name": "PaneAxisView", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 40 + ] + ], + "bindingType": "variable", + "path": "./pane-axis-view" + } + }, + "5": { + "0": { + "type": "class", + "name": "PaneColumnView", + "bindingType": "exports", + "classProperties": [ + [ + 7, + 12 + ] + ], + "prototypeProperties": [ + [ + 10, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 11, + 16 + ] + ] + } + }, + "7": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 7, + 12 + ], + [ + 10, + 1 + ] + ], + "doc": "~Private~" + } + }, + "10": { + "13": { + "name": "className", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 13 + ], + [ + 11, + 16 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "src/pane-container-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "1": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "3": { + "11": { + "name": "PaneView", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-view" + } + }, + "4": { + "16": { + "name": "PaneContainer", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 41 + ] + ], + "bindingType": "variable", + "path": "./pane-container" + } + }, + "8": { + "0": { + "type": "class", + "name": "PaneContainerView", + "bindingType": "exports", + "classProperties": [ + [ + 13, + 12 + ] + ], + "prototypeProperties": [ + [ + 16, + 14 + ], + [ + 25, + 16 + ], + [ + 30, + 11 + ], + [ + 33, + 17 + ], + [ + 47, + 27 + ], + [ + 50, + 15 + ], + [ + 55, + 16 + ], + [ + 64, + 16 + ], + [ + 67, + 15 + ], + [ + 70, + 15 + ], + [ + 73, + 16 + ], + [ + 79, + 18 + ], + [ + 82, + 17 + ], + [ + 86, + 21 + ], + [ + 89, + 21 + ], + [ + 92, + 17 + ], + [ + 95, + 14 + ], + [ + 98, + 21 + ], + [ + 101, + 25 + ], + [ + 104, + 22 + ], + [ + 107, + 22 + ], + [ + 110, + 23 + ], + [ + 113, + 24 + ], + [ + 116, + 26 + ], + [ + 143, + 26 + ], + [ + 152, + 12 + ] + ], + "doc": "Private: Manages the list of panes within a {WorkspaceView} ", + "range": [ + [ + 8, + 0 + ], + [ + 154, + 19 + ] + ] + } + }, + "13": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 12 + ], + [ + 16, + 1 + ] + ], + "doc": "~Private~" + } + }, + "16": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 16, + 14 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "16": { + "name": "viewForModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "model" + ], + "range": [ + [ + 25, + 16 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "getRoot", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 11 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "17": { + "name": "onRootChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "root" + ], + "range": [ + [ + 33, + 17 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "27": { + "name": "onActivePaneItemChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "activeItem" + ], + "range": [ + [ + 47, + 27 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "15": { + "name": "removeChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 50, + 15 + ], + [ + 55, + 1 + ] + ], + "doc": "~Private~" + } + }, + "55": { + "16": { + "name": "confirmClose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 16 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "16": { + "name": "getPaneViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 16 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "15": { + "name": "indexOfPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "paneView" + ], + "range": [ + [ + 67, + 15 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "15": { + "name": "paneAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 70, + 15 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "16": { + "name": "eachPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 73, + 16 + ], + [ + 79, + 1 + ] + ], + "doc": "~Private~" + } + }, + "79": { + "18": { + "name": "getFocusedPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 18 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 17 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "21": { + "name": "getActivePaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 21 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "17": { + "name": "getActiveView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 92, + 17 + ], + [ + 95, + 1 + ] + ], + "doc": "~Private~" + } + }, + "95": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 95, + 14 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "21": { + "name": "focusNextPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 21 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "focusPreviousPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 25 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "22": { + "name": "focusPaneViewAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 22 + ], + [ + 107, + 1 + ] + ], + "doc": "~Private~" + } + }, + "107": { + "22": { + "name": "focusPaneViewBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 22 + ], + [ + 110, + 1 + ] + ], + "doc": "~Private~" + } + }, + "110": { + "23": { + "name": "focusPaneViewOnLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 23 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "24": { + "name": "focusPaneViewOnRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 113, + 24 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "26": { + "name": "nearestPaneInDirection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "direction" + ], + "range": [ + [ + 116, + 26 + ], + [ + 143, + 1 + ] + ], + "doc": "~Private~" + } + }, + "143": { + "26": { + "name": "boundingBoxForPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "paneView" + ], + "range": [ + [ + 143, + 26 + ], + [ + 152, + 1 + ] + ], + "doc": "~Private~" + } + }, + "152": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 152, + 12 + ], + [ + 154, + 19 + ] + ], + "doc": "Private: Deprecated " + } + } + }, + "exports": 8 + }, + "src/pane-container.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "find", + "exportsProperty": "find" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "3": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "6": { + "0": { + "type": "class", + "name": "PaneContainer", + "bindingType": "exports", + "classProperties": [ + [ + 10, + 12 + ] + ], + "prototypeProperties": [ + [ + 16, + 16 + ], + [ + 23, + 15 + ], + [ + 28, + 21 + ], + [ + 34, + 19 + ], + [ + 38, + 16 + ], + [ + 42, + 12 + ], + [ + 45, + 17 + ], + [ + 48, + 14 + ], + [ + 51, + 11 + ], + [ + 54, + 20 + ], + [ + 64, + 24 + ], + [ + 75, + 17 + ], + [ + 89, + 21 + ], + [ + 92, + 17 + ], + [ + 96, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 6, + 0 + ], + [ + 97, + 42 + ] + ] + } + }, + "10": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 10, + 12 + ], + [ + 10, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "16": { + "16": { + "name": "previousRoot", + "type": "primitive", + "range": [ + [ + 16, + 16 + ], + [ + 16, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "23": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 23, + 15 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 28, + 21 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 34, + 19 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "16": { + "name": "replaceChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "oldChild", + "newChild" + ], + "range": [ + [ + 38, + 16 + ], + [ + 42, + 1 + ] + ], + "doc": "~Private~" + } + }, + "42": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 12 + ], + [ + 45, + 1 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 17 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 48, + 14 + ], + [ + 51, + 1 + ] + ], + "doc": "~Private~" + } + }, + "51": { + "11": { + "name": "saveAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 51, + 11 + ], + [ + 54, + 1 + ] + ], + "doc": "~Private~" + } + }, + "54": { + "20": { + "name": "activateNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 54, + 20 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "24": { + "name": "activatePreviousPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 24 + ], + [ + 75, + 1 + ] + ], + "doc": "~Private~" + } + }, + "75": { + "17": { + "name": "onRootChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "root" + ], + "range": [ + [ + 75, + 17 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "destroyEmptyPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "17": { + "name": "itemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 92, + 17 + ], + [ + 96, + 1 + ] + ], + "doc": "~Private~" + } + }, + "96": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 13 + ], + [ + 97, + 42 + ] + ], + "doc": "Private: Called by Model superclass when destroyed " + } + } + }, + "exports": 6 + }, + "src/pane-row-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "2": { + "15": { + "name": "PaneAxisView", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 40 + ] + ], + "bindingType": "variable", + "path": "./pane-axis-view" + } + }, + "5": { + "0": { + "type": "class", + "name": "PaneRowView", + "bindingType": "exports", + "classProperties": [ + [ + 6, + 12 + ] + ], + "prototypeProperties": [ + [ + 9, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 10, + 13 + ] + ] + } + }, + "6": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 12 + ], + [ + 9, + 1 + ] + ] + } + }, + "9": { + "13": { + "name": "className", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 13 + ], + [ + 10, + 13 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "src/pane-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "3": { + "20": { + "name": "PropertyAccessors", + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 47 + ] + ], + "bindingType": "variable", + "module": "property-accessors" + } + }, + "5": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "14": { + "0": { + "type": "class", + "name": "PaneView", + "bindingType": "exports", + "classProperties": [ + [ + 18, + 12 + ], + [ + 20, + 12 + ] + ], + "prototypeProperties": [ + [ + 32, + 22 + ], + [ + 34, + 14 + ], + [ + 45, + 16 + ], + [ + 84, + 14 + ], + [ + 89, + 12 + ], + [ + 94, + 18 + ], + [ + 99, + 19 + ], + [ + 104, + 16 + ], + [ + 109, + 20 + ], + [ + 113, + 15 + ], + [ + 121, + 15 + ], + [ + 124, + 25 + ], + [ + 133, + 15 + ], + [ + 139, + 21 + ], + [ + 142, + 23 + ], + [ + 158, + 15 + ], + [ + 161, + 17 + ], + [ + 175, + 15 + ], + [ + 178, + 25 + ], + [ + 182, + 26 + ], + [ + 185, + 15 + ], + [ + 199, + 13 + ], + [ + 201, + 14 + ], + [ + 203, + 11 + ], + [ + 205, + 13 + ], + [ + 210, + 16 + ], + [ + 213, + 16 + ], + [ + 216, + 10 + ] + ], + "doc": " Public: A container which can contains multiple items to be switched between.\n\nItems can be almost anything however most commonly they're {EditorView}s.\n\nMost packages won't need to use this class, unless you're interested in\nbuilding a package that deals with switching between panes or items. ", + "range": [ + [ + 14, + 0 + ], + [ + 219, + 9 + ] + ] + } + }, + "18": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 18, + 12 + ], + [ + 18, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "20": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "wrappedView" + ], + "range": [ + [ + 20, + 12 + ], + [ + 24, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "22": { + "name": "previousActiveItem", + "type": "primitive", + "range": [ + [ + 32, + 22 + ], + [ + 32, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "34": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 34, + 14 + ], + [ + 45, + 1 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 16 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "14": { + "name": "removeItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 84, + 14 + ], + [ + 89, + 1 + ] + ], + "doc": "Deprecated: Use ::destroyItem " + } + }, + "89": { + "12": { + "name": "showItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 89, + 12 + ], + [ + 94, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItem " + } + }, + "94": { + "18": { + "name": "showItemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 94, + 18 + ], + [ + 99, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItemForUri " + } + }, + "99": { + "19": { + "name": "showItemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 99, + 19 + ], + [ + 104, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItemAtIndex " + } + }, + "104": { + "16": { + "name": "showNextItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 16 + ], + [ + 109, + 1 + ] + ], + "doc": "Deprecated: Use ::activateNextItem " + } + }, + "109": { + "20": { + "name": "showPreviousItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 20 + ], + [ + 113, + 1 + ] + ], + "doc": "Deprecated: Use ::activatePreviousItem " + } + }, + "113": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 113, + 15 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "15": { + "name": "onActivated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 121, + 15 + ], + [ + 124, + 1 + ] + ], + "doc": "~Private~" + } + }, + "124": { + "25": { + "name": "onActiveStatusChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "active" + ], + "range": [ + [ + 124, + 25 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "15": { + "name": "getNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 15 + ], + [ + 139, + 1 + ] + ], + "doc": "Public: Returns the next pane, ordered by creation. " + } + }, + "139": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 139, + 21 + ], + [ + 142, + 1 + ] + ], + "doc": "~Private~" + } + }, + "142": { + "23": { + "name": "onActiveItemChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 142, + 23 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "15": { + "name": "onItemAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index" + ], + "range": [ + [ + 158, + 15 + ], + [ + 161, + 1 + ] + ], + "doc": "~Private~" + } + }, + "161": { + "17": { + "name": "onItemRemoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index", + "destroyed" + ], + "range": [ + [ + 161, + 17 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "15": { + "name": "onItemMoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "newIndex" + ], + "range": [ + [ + 175, + 15 + ], + [ + 178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "178": { + "25": { + "name": "onBeforeItemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 178, + 25 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "26": { + "name": "activeItemTitleChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 182, + 26 + ], + [ + 185, + 1 + ] + ], + "doc": "~Private~" + } + }, + "185": { + "15": { + "name": "viewForItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 185, + 15 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "199": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 199, + 13 + ], + [ + 199, + 57 + ] + ], + "doc": "~Private~" + } + }, + "201": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 201, + 14 + ], + [ + 201, + 59 + ] + ], + "doc": "~Private~" + } + }, + "203": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 203, + 11 + ], + [ + 203, + 53 + ] + ], + "doc": "~Private~" + } + }, + "205": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 205, + 13 + ], + [ + 205, + 57 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "16": { + "name": "getContainer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": " Public: Get the container view housing this pane.\n\nReturns a {View}. " + } + }, + "213": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 16 + ], + [ + 216, + 1 + ] + ], + "doc": "~Private~" + } + }, + "216": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "keepData" + ], + "range": [ + [ + 216, + 10 + ], + [ + 219, + 9 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 14 + }, + "src/pane.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "find", + "exportsProperty": "find" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 13 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "compact", + "exportsProperty": "compact" + }, + "16": { + "type": "import", + "range": [ + [ + 0, + 16 + ], + [ + 0, + 21 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "extend", + "exportsProperty": "extend" + }, + "24": { + "type": "import", + "range": [ + [ + 0, + 24 + ], + [ + 0, + 27 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "last", + "exportsProperty": "last" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + }, + "8": { + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 15 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Sequence", + "exportsProperty": "Sequence" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "3": { + "11": { + "name": "PaneAxis", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-axis" + } + }, + "4": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "5": { + "11": { + "type": "primitive", + "range": [ + [ + 5, + 11 + ], + [ + 5, + 14 + ] + ] + } + }, + "11": { + "0": { + "type": "class", + "name": "Pane", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 43, + 19 + ], + [ + 50, + 21 + ], + [ + 57, + 16 + ], + [ + 59, + 12 + ], + [ + 62, + 9 + ], + [ + 67, + 8 + ], + [ + 73, + 12 + ], + [ + 77, + 12 + ], + [ + 82, + 12 + ], + [ + 88, + 17 + ], + [ + 93, + 19 + ], + [ + 97, + 15 + ], + [ + 101, + 20 + ], + [ + 109, + 24 + ], + [ + 117, + 22 + ], + [ + 121, + 23 + ], + [ + 125, + 16 + ], + [ + 137, + 11 + ], + [ + 154, + 12 + ], + [ + 159, + 14 + ], + [ + 175, + 12 + ], + [ + 182, + 18 + ], + [ + 187, + 21 + ], + [ + 193, + 15 + ], + [ + 204, + 16 + ], + [ + 208, + 24 + ], + [ + 211, + 11 + ], + [ + 218, + 13 + ], + [ + 224, + 20 + ], + [ + 239, + 18 + ], + [ + 243, + 20 + ], + [ + 251, + 12 + ], + [ + 263, + 14 + ], + [ + 273, + 13 + ], + [ + 278, + 14 + ], + [ + 283, + 22 + ], + [ + 290, + 18 + ], + [ + 300, + 13 + ], + [ + 309, + 14 + ], + [ + 318, + 11 + ], + [ + 327, + 13 + ], + [ + 330, + 9 + ], + [ + 344, + 23 + ], + [ + 356, + 32 + ] + ], + "doc": " Public: A container for multiple items, one of which is *active* at a given\ntime. With the default packages, a tab is displayed for each item and the\nactive item's view is displayed. ", + "range": [ + [ + 11, + 0 + ], + [ + 364, + 19 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 29, + 15 + ], + [ + 43, + 1 + ] + ], + "doc": "~Private~" + } + }, + "43": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 19 + ], + [ + 50, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during serialization. " + } + }, + "50": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 50, + 21 + ], + [ + 57, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during deserialization. " + } + }, + "57": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 16 + ], + [ + 57, + 51 + ] + ], + "doc": "Private: Called by the view layer to construct a view for this model. " + } + }, + "59": { + "12": { + "name": "isActive", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 12 + ], + [ + 59, + 21 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 62, + 9 + ], + [ + 67, + 1 + ] + ], + "doc": "Private: Called by the view layer to indicate that the pane has gained focus. " + } + }, + "67": { + "8": { + "name": "blur", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 8 + ], + [ + 73, + 1 + ] + ], + "doc": "Private: Called by the view layer to indicate that the pane has lost focus. " + } + }, + "73": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 12 + ], + [ + 77, + 1 + ] + ], + "doc": " Public: Makes this pane the *active* pane, causing it to gain focus\nimmediately. " + } + }, + "77": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 77, + 12 + ], + [ + 77, + 20 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "12": { + "name": "getItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 12 + ], + [ + 88, + 1 + ] + ], + "doc": " Public: Get the items in this pane.\n\nReturns an {Array} of items. " + } + }, + "88": { + "17": { + "name": "getActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 17 + ], + [ + 93, + 1 + ] + ], + "doc": " Public: Get the active pane item in this pane.\n\nReturns a pane item. " + } + }, + "93": { + "19": { + "name": "getActiveEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 93, + 19 + ], + [ + 97, + 1 + ] + ], + "doc": " Public: Returns an {Editor} if the pane item is an {Editor}, or null\notherwise. " + } + }, + "97": { + "15": { + "name": "itemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 97, + 15 + ], + [ + 101, + 1 + ] + ], + "doc": "Public: Returns the item at the specified index. " + } + }, + "101": { + "20": { + "name": "activateNextItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 20 + ], + [ + 109, + 1 + ] + ], + "doc": "Public: Makes the next item active. " + } + }, + "109": { + "24": { + "name": "activatePreviousItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 24 + ], + [ + 117, + 1 + ] + ], + "doc": "Public: Makes the previous item active. " + } + }, + "117": { + "22": { + "name": "getActiveItemIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 22 + ], + [ + 121, + 1 + ] + ], + "doc": "Private: Returns the index of the current active item. " + } + }, + "121": { + "23": { + "name": "activateItemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 121, + 23 + ], + [ + 125, + 1 + ] + ], + "doc": "Private: Makes the item at the given index active. " + } + }, + "125": { + "16": { + "name": "activateItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 125, + 16 + ], + [ + 137, + 1 + ] + ], + "doc": "Private: Makes the given item active, adding the item if necessary. " + } + }, + "137": { + "11": { + "name": "addItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index" + ], + "range": [ + [ + 137, + 11 + ], + [ + 154, + 1 + ] + ], + "doc": " Public: Adds the item to the pane.\n\nitem - The item to add. It can be a model with an associated view or a view.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns the added item " + } + }, + "154": { + "12": { + "name": "addItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items", + "index" + ], + "range": [ + [ + 154, + 12 + ], + [ + 159, + 1 + ] + ], + "doc": " Public: Adds the given items to the pane.\n\nitems - An {Array} of items to add. Items can be models with associated\n views or views. Any items that are already present in items will\n not be added.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns an {Array} of the added items " + } + }, + "159": { + "14": { + "name": "removeItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "destroying" + ], + "range": [ + [ + 159, + 14 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "12": { + "name": "moveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "newIndex" + ], + "range": [ + [ + 175, + 12 + ], + [ + 182, + 1 + ] + ], + "doc": "Public: Moves the given item to the specified index. " + } + }, + "182": { + "18": { + "name": "moveItemToPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "pane", + "index" + ], + "range": [ + [ + 182, + 18 + ], + [ + 187, + 1 + ] + ], + "doc": "Public: Moves the given item to the given index at another pane. " + } + }, + "187": { + "21": { + "name": "destroyActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 187, + 21 + ], + [ + 193, + 1 + ] + ], + "doc": "Public: Destroys the currently active item and make the next item active. " + } + }, + "193": { + "15": { + "name": "destroyItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 193, + 15 + ], + [ + 204, + 1 + ] + ], + "doc": " Public: Destroys the given item. If it is the active item, activate the next\none. If this is the last item, also destroys the pane. " + } + }, + "204": { + "16": { + "name": "destroyItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 204, + 16 + ], + [ + 208, + 1 + ] + ], + "doc": "Public: Destroys all items and destroys the pane. " + } + }, + "208": { + "24": { + "name": "destroyInactiveItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 208, + 24 + ], + [ + 211, + 1 + ] + ], + "doc": "Public: Destroys all items but the active one. " + } + }, + "211": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 211, + 11 + ], + [ + 218, + 1 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 218, + 13 + ], + [ + 224, + 1 + ] + ], + "doc": "Private: Called by model superclass. " + } + }, + "224": { + "20": { + "name": "promptToSaveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 224, + 20 + ], + [ + 239, + 1 + ] + ], + "doc": " Public: Prompts the user to save the given item if it can be saved and is\ncurrently unsaved. " + } + }, + "239": { + "18": { + "name": "saveActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 239, + 18 + ], + [ + 243, + 1 + ] + ], + "doc": "Public: Saves the active item. " + } + }, + "243": { + "20": { + "name": "saveActiveItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 243, + 20 + ], + [ + 251, + 1 + ] + ], + "doc": "Public: Saves the active item at a prompted-for location. " + } + }, + "251": { + "12": { + "name": "saveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "nextAction" + ], + "range": [ + [ + 251, + 12 + ], + [ + 263, + 1 + ] + ], + "doc": " Public: Saves the specified item.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " + } + }, + "263": { + "14": { + "name": "saveItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "nextAction" + ], + "range": [ + [ + 263, + 14 + ], + [ + 273, + 1 + ] + ], + "doc": " Public: Saves the given item at a prompted-for location.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " + } + }, + "273": { + "13": { + "name": "saveItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 273, + 13 + ], + [ + 278, + 1 + ] + ], + "doc": "Public: Saves all items. " + } + }, + "278": { + "14": { + "name": "itemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 278, + 14 + ], + [ + 283, + 1 + ] + ], + "doc": " Public: Returns the first item that matches the given URI or undefined if\nnone exists. " + } + }, + "283": { + "22": { + "name": "activateItemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 283, + 22 + ], + [ + 290, + 1 + ] + ], + "doc": " Public: Activates the first item that matches the given URI. Returns a\nboolean indicating whether a matching item was found. " + } + }, + "290": { + "18": { + "name": "copyActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 290, + 18 + ], + [ + 300, + 1 + ] + ], + "doc": "~Private~" + } + }, + "300": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 300, + 13 + ], + [ + 309, + 1 + ] + ], + "doc": " Public: Creates a new pane to the left of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "309": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 309, + 14 + ], + [ + 318, + 1 + ] + ], + "doc": " Public: Creates a new pane to the right of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "318": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 318, + 11 + ], + [ + 327, + 1 + ] + ], + "doc": " Public: Creates a new pane above the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "327": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 327, + 13 + ], + [ + 330, + 1 + ] + ], + "doc": " Public: Creates a new pane below the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "330": { + "9": { + "name": "split", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "orientation", + "side", + "params" + ], + "range": [ + [ + 330, + 9 + ], + [ + 344, + 1 + ] + ], + "doc": "~Private~" + } + }, + "344": { + "23": { + "name": "findLeftmostSibling", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 344, + 23 + ], + [ + 356, + 1 + ] + ], + "doc": " Private: If the parent is a horizontal axis, returns its first child if it is a pane;\notherwise returns this pane. " + } + }, + "356": { + "32": { + "name": "findOrCreateRightmostSibling", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 356, + 32 + ], + [ + 364, + 19 + ] + ], + "doc": " Private: If the parent is a horizontal axis, returns its last child if it is a pane;\notherwise returns a new pane created by splitting this pane rightward. " + } + } + }, + "exports": 11 + }, + "src/project.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.1" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q@~1.0.1" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "9": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 9, + 15 + ], + [ + 9, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "10": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer" + } + }, + "11": { + "1": { + "type": "import", + "range": [ + [ + 11, + 1 + ], + [ + 11, + 9 + ] + ], + "bindingType": "variable", + "module": "pathwatcher", + "name": "Directory", + "exportsProperty": "Directory" + } + }, + "13": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 13, + 9 + ], + [ + 13, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "14": { + "7": { + "name": "Task", + "type": "import", + "range": [ + [ + 14, + 7 + ], + [ + 14, + 22 + ] + ], + "bindingType": "variable", + "path": "./task" + } + }, + "15": { + "6": { + "name": "Git", + "type": "import", + "range": [ + [ + 15, + 6 + ], + [ + 15, + 20 + ] + ], + "bindingType": "variable", + "path": "./git" + } + }, + "21": { + "0": { + "type": "class", + "name": "Project", + "bindingType": "exports", + "classProperties": [ + [ + 26, + 25 + ] + ], + "prototypeProperties": [ + [ + 31, + 15 + ], + [ + 40, + 19 + ], + [ + 44, + 21 + ], + [ + 48, + 13 + ], + [ + 52, + 15 + ], + [ + 57, + 28 + ], + [ + 61, + 11 + ], + [ + 64, + 11 + ], + [ + 68, + 11 + ], + [ + 85, + 20 + ], + [ + 95, + 11 + ], + [ + 109, + 14 + ], + [ + 114, + 12 + ], + [ + 124, + 8 + ], + [ + 130, + 12 + ], + [ + 139, + 14 + ], + [ + 143, + 18 + ], + [ + 146, + 21 + ], + [ + 150, + 21 + ], + [ + 163, + 17 + ], + [ + 168, + 15 + ], + [ + 172, + 19 + ], + [ + 184, + 15 + ], + [ + 194, + 13 + ], + [ + 198, + 20 + ], + [ + 207, + 16 + ], + [ + 211, + 23 + ], + [ + 221, + 8 + ], + [ + 268, + 11 + ], + [ + 300, + 24 + ], + [ + 304, + 14 + ], + [ + 315, + 18 + ], + [ + 320, + 20 + ], + [ + 325, + 14 + ], + [ + 330, + 14 + ] + ], + "doc": " Public: Represents a project that's opened in Atom.\n\nAn instance of this class is always available as the `atom.project` global. ", + "range": [ + [ + 21, + 0 + ], + [ + 332, + 31 + ] + ] + } + }, + "26": { + "25": { + "name": "pathForRepositoryUrl", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "repoUrl" + ], + "range": [ + [ + 26, + 25 + ], + [ + 31, + 1 + ] + ], + "doc": "Public: Find the local path for the given repository URL. " + } + }, + "31": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 31, + 15 + ], + [ + 40, + 1 + ] + ], + "doc": "~Private~" + } + }, + "40": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 40, + 19 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 44, + 21 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 13 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "15": { + "name": "destroyRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 15 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "28": { + "name": "destroyUnretainedBuffers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 28 + ], + [ + 61, + 1 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "11": { + "name": "getRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 11 + ], + [ + 61, + 18 + ] + ], + "doc": "Public: Returns the {Git} repository if available. " + } + }, + "64": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 11 + ], + [ + 68, + 1 + ] + ], + "doc": "Public: Returns the project's fullpath. " + } + }, + "68": { + "11": { + "name": "setPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "projectPath" + ], + "range": [ + [ + 68, + 11 + ], + [ + 85, + 1 + ] + ], + "doc": "Public: Sets the project's fullpath. " + } + }, + "85": { + "20": { + "name": "getRootDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 85, + 20 + ], + [ + 95, + 1 + ] + ], + "doc": "Public: Returns the root {Directory} object for this project. " + } + }, + "95": { + "11": { + "name": "resolve", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 95, + 11 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Given a uri, this resolves it relative to the project directory. If\nthe path is already absolute or if it is prefixed with a scheme, it is\nreturned unchanged.\n\nuri - The {String} name of the path to convert.\n\nReturns a {String} or undefined if the uri is not missing or empty. " + } + }, + "109": { + "14": { + "name": "relativize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fullPath" + ], + "range": [ + [ + 109, + 14 + ], + [ + 114, + 1 + ] + ], + "doc": "Public: Make the given path relative to the project directory. " + } + }, + "114": { + "12": { + "name": "contains", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToCheck" + ], + "range": [ + [ + 114, + 12 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Returns whether the given path is inside this project. " + } + }, + "124": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "options" + ], + "range": [ + [ + 124, + 8 + ], + [ + 130, + 1 + ] + ], + "doc": " Private: Given a path to a file, this constructs and associates a new\n{Editor}, showing the file.\n\nfilePath - The {String} path of the file to associate with.\noptions - Options that you can pass to the {Editor} constructor.\n\nReturns a promise that resolves to an {Editor}. " + } + }, + "130": { + "12": { + "name": "openSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "options" + ], + "range": [ + [ + 130, + 12 + ], + [ + 139, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "139": { + "14": { + "name": "getBuffers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 139, + 14 + ], + [ + 143, + 1 + ] + ], + "doc": " Private: Retrieves all the {TextBuffer}s in the project; that is, the\nbuffers for all open files.\n\nReturns an {Array} of {TextBuffer}s. " + } + }, + "143": { + "18": { + "name": "isPathModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 143, + 18 + ], + [ + 146, + 1 + ] + ], + "doc": "Private: Is the buffer for the given path modified? " + } + }, + "146": { + "21": { + "name": "findBufferForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 146, + 21 + ], + [ + 150, + 1 + ] + ], + "doc": "~Private~" + } + }, + "150": { + "21": { + "name": "bufferForPathSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 150, + 21 + ], + [ + 163, + 1 + ] + ], + "doc": "Private: Only to be used in specs " + } + }, + "163": { + "17": { + "name": "bufferForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 163, + 17 + ], + [ + 168, + 1 + ] + ], + "doc": " Private: Given a file path, this retrieves or creates a new {TextBuffer}.\n\nIf the `filePath` already has a `buffer`, that value is used instead. Otherwise,\n`text` is used as the contents of the new buffer.\n\nfilePath - A {String} representing a path. If `null`, an \"Untitled\" buffer is created.\n\nReturns a promise that resolves to the {TextBuffer}. " + } + }, + "168": { + "15": { + "name": "bufferForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 168, + 15 + ], + [ + 172, + 1 + ] + ], + "doc": "~Private~" + } + }, + "172": { + "19": { + "name": "buildBufferSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "absoluteFilePath" + ], + "range": [ + [ + 172, + 19 + ], + [ + 184, + 1 + ] + ], + "doc": "Private: Still needed when deserializing a tokenized buffer " + } + }, + "184": { + "15": { + "name": "buildBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "absoluteFilePath" + ], + "range": [ + [ + 184, + 15 + ], + [ + 194, + 1 + ] + ], + "doc": " Private: Given a file path, this sets its {TextBuffer}.\n\nabsoluteFilePath - A {String} representing a path.\ntext - The {String} text to use as a buffer.\n\nReturns a promise that resolves to the {TextBuffer}. " + } + }, + "194": { + "13": { + "name": "addBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "options" + ], + "range": [ + [ + 194, + 13 + ], + [ + 198, + 1 + ] + ], + "doc": "~Private~" + } + }, + "198": { + "20": { + "name": "addBufferAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "index", + "options" + ], + "range": [ + [ + 198, + 20 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "16": { + "name": "removeBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer" + ], + "range": [ + [ + 207, + 16 + ], + [ + 211, + 1 + ] + ], + "doc": " Private: Removes a {TextBuffer} association from the project.\n\nReturns the removed {TextBuffer}. " + } + }, + "211": { + "23": { + "name": "removeBufferAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index", + "options" + ], + "range": [ + [ + 211, + 23 + ], + [ + 221, + 1 + ] + ], + "doc": "~Private~" + } + }, + "221": { + "8": { + "name": "scan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "options", + "iterator" + ], + "range": [ + [ + 221, + 8 + ], + [ + 268, + 1 + ] + ], + "doc": " Public: Performs a search across all the files in the project.\n\nregex - A {RegExp} to search with.\noptions - An optional options {Object} (default: {}):\n :paths - An {Array} of glob patterns to search within\niterator - A {Function} callback on each file found " + } + }, + "268": { + "11": { + "name": "replace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "replacementText", + "filePaths", + "iterator" + ], + "range": [ + [ + 268, + 11 + ], + [ + 300, + 1 + ] + ], + "doc": " Public: Performs a replace across all the specified files in the project.\n\nregex - A {RegExp} to search with.\nreplacementText - Text to replace all matches of regex with\nfilePaths - List of file path strings to run the replace on.\niterator - A {Function} callback on each file with replacements:\n `({filePath, replacements}) ->`. " + } + }, + "300": { + "24": { + "name": "buildEditorForBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "editorOptions" + ], + "range": [ + [ + 300, + 24 + ], + [ + 304, + 1 + ] + ], + "doc": "~Private~" + } + }, + "304": { + "14": { + "name": "eachBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 304, + 14 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "18": { + "name": "registerOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 315, + 18 + ], + [ + 320, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "320": { + "20": { + "name": "unregisterOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 320, + 20 + ], + [ + 325, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "325": { + "14": { + "name": "eachEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 325, + 14 + ], + [ + 330, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "330": { + "14": { + "name": "getEditors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 330, + 14 + ], + [ + 332, + 31 + ] + ], + "doc": "Deprecated: delegate " + } + } + }, + "exports": 21 + }, + "src/react-editor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "defaults", + "exportsProperty": "defaults" + } + }, + "3": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 3, + 13 + ], + [ + 3, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer" + } + }, + "4": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "5": { + "18": { + "name": "EditorComponent", + "type": "import", + "range": [ + [ + 5, + 18 + ], + [ + 5, + 45 + ] + ], + "bindingType": "variable", + "path": "./editor-component" + } + }, + "8": { + "0": { + "type": "class", + "name": "ReactEditorView", + "bindingType": "exports", + "classProperties": [ + [ + 9, + 12 + ] + ], + "prototypeProperties": [ + [ + 14, + 17 + ], + [ + 16, + 15 + ], + [ + 58, + 13 + ], + [ + 60, + 12 + ], + [ + 69, + 15 + ], + [ + 77, + 13 + ], + [ + 83, + 14 + ], + [ + 89, + 18 + ], + [ + 92, + 26 + ], + [ + 95, + 26 + ], + [ + 98, + 26 + ], + [ + 101, + 25 + ], + [ + 105, + 34 + ], + [ + 108, + 34 + ], + [ + 111, + 21 + ], + [ + 116, + 16 + ], + [ + 122, + 13 + ], + [ + 127, + 14 + ], + [ + 132, + 11 + ], + [ + 137, + 13 + ], + [ + 141, + 11 + ], + [ + 144, + 9 + ], + [ + 150, + 8 + ], + [ + 154, + 8 + ], + [ + 158, + 20 + ], + [ + 165, + 12 + ], + [ + 168, + 10 + ], + [ + 171, + 12 + ], + [ + 174, + 28 + ], + [ + 177, + 27 + ], + [ + 180, + 17 + ], + [ + 183, + 17 + ], + [ + 186, + 15 + ], + [ + 189, + 15 + ], + [ + 192, + 19 + ], + [ + 195, + 17 + ], + [ + 198, + 22 + ], + [ + 201, + 15 + ], + [ + 204, + 21 + ], + [ + 207, + 18 + ], + [ + 210, + 18 + ], + [ + 213, + 11 + ], + [ + 216, + 11 + ], + [ + 219, + 14 + ], + [ + 222, + 18 + ], + [ + 225, + 19 + ], + [ + 228, + 24 + ], + [ + 230, + 17 + ], + [ + 232, + 16 + ], + [ + 234, + 10 + ], + [ + 236, + 22 + ], + [ + 242, + 27 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 243, + 49 + ] + ] + } + }, + "9": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 9, + 12 + ], + [ + 14, + 1 + ] + ] + } + }, + "14": { + "17": { + "name": "focusOnAttach", + "type": "primitive", + "range": [ + [ + 14, + 17 + ], + [ + 14, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorOrParams", + "props" + ], + "range": [ + [ + 16, + 15 + ], + [ + 58, + 1 + ] + ], + "doc": "~Private~" + } + }, + "58": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 58, + 13 + ], + [ + 58, + 22 + ] + ], + "doc": "~Private~" + } + }, + "69": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 69, + 15 + ], + [ + 77, + 1 + ] + ], + "doc": "~Private~" + } + }, + "77": { + "13": { + "name": "scrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 77, + 13 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "14": { + "name": "scrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 83, + 14 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "18": { + "name": "scrollToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 18 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 92, + 26 + ], + [ + 95, + 1 + ] + ], + "doc": "~Private~" + } + }, + "95": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 95, + 26 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 26 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "scrollToPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 101, + 25 + ], + [ + 105, + 1 + ] + ], + "doc": "~Private~" + } + }, + "105": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 105, + 34 + ], + [ + 108, + 1 + ] + ], + "doc": "~Private~" + } + }, + "108": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 108, + 34 + ], + [ + 111, + 1 + ] + ], + "doc": "~Private~" + } + }, + "111": { + "21": { + "name": "appendToLinesView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 111, + 21 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 16 + ], + [ + 122, + 1 + ] + ], + "doc": "~Private~" + } + }, + "122": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 122, + 13 + ], + [ + 127, + 1 + ] + ], + "doc": "Public: Split the editor view left. " + } + }, + "127": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 127, + 14 + ], + [ + 132, + 1 + ] + ], + "doc": "Public: Split the editor view right. " + } + }, + "132": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 132, + 11 + ], + [ + 137, + 1 + ] + ], + "doc": "Public: Split the editor view up. " + } + }, + "137": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 13 + ], + [ + 141, + 1 + ] + ], + "doc": "Public: Split the editor view down. " + } + }, + "141": { + "11": { + "name": "getPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 11 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 144, + 9 + ], + [ + 150, + 1 + ] + ], + "doc": "~Private~" + } + }, + "150": { + "8": { + "name": "hide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 150, + 8 + ], + [ + 154, + 1 + ] + ], + "doc": "~Private~" + } + }, + "154": { + "8": { + "name": "show", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 8 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "20": { + "name": "pollComponentDOM", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 20 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 12 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 10 + ], + [ + 171, + 1 + ] + ], + "doc": "~Private~" + } + }, + "171": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 12 + ], + [ + 174, + 1 + ] + ], + "doc": "~Private~" + } + }, + "174": { + "28": { + "name": "getFirstVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 174, + 28 + ], + [ + 177, + 1 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "27": { + "name": "getLastVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 27 + ], + [ + 180, + 1 + ] + ], + "doc": "~Private~" + } + }, + "180": { + "17": { + "name": "getFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 180, + 17 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "17": { + "name": "setFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 183, + 17 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "15": { + "name": "getFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 186, + 15 + ], + [ + 189, + 1 + ] + ], + "doc": "~Private~" + } + }, + "189": { + "15": { + "name": "setFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 189, + 15 + ], + [ + 192, + 1 + ] + ], + "doc": "~Private~" + } + }, + "192": { + "19": { + "name": "setWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "widthInChars" + ], + "range": [ + [ + 192, + 19 + ], + [ + 195, + 1 + ] + ], + "doc": "~Private~" + } + }, + "195": { + "17": { + "name": "setLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 195, + 17 + ], + [ + 198, + 1 + ] + ], + "doc": "~Private~" + } + }, + "198": { + "22": { + "name": "setShowIndentGuide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showIndentGuide" + ], + "range": [ + [ + 198, + 22 + ], + [ + 201, + 1 + ] + ], + "doc": "~Private~" + } + }, + "201": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 201, + 15 + ], + [ + 204, + 1 + ] + ], + "doc": "~Private~" + } + }, + "204": { + "21": { + "name": "setShowInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showInvisibles" + ], + "range": [ + [ + 204, + 21 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 207, + 18 + ], + [ + 210, + 1 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 18 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 11 + ], + [ + 216, + 1 + ] + ], + "doc": "~Private~" + } + }, + "216": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 216, + 11 + ], + [ + 219, + 1 + ] + ], + "doc": "~Private~" + } + }, + "219": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 219, + 14 + ], + [ + 222, + 1 + ] + ], + "doc": "~Private~" + } + }, + "222": { + "18": { + "name": "isInputEnabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 222, + 18 + ], + [ + 225, + 1 + ] + ], + "doc": "~Private~" + } + }, + "225": { + "19": { + "name": "setInputEnabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "inputEnabled" + ], + "range": [ + [ + 225, + 19 + ], + [ + 228, + 1 + ] + ], + "doc": "~Private~" + } + }, + "228": { + "24": { + "name": "requestDisplayUpdate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 228, + 24 + ], + [ + 228, + 25 + ] + ], + "doc": "~Private~" + } + }, + "230": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 230, + 17 + ], + [ + 230, + 18 + ] + ], + "doc": "~Private~" + } + }, + "232": { + "16": { + "name": "resetDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 232, + 16 + ], + [ + 232, + 17 + ] + ], + "doc": "~Private~" + } + }, + "234": { + "10": { + "name": "redraw", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 10 + ], + [ + 234, + 11 + ] + ], + "doc": "~Private~" + } + }, + "236": { + "22": { + "name": "setPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "placeholderText" + ], + "range": [ + [ + 236, + 22 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "27": { + "name": "lineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 242, + 27 + ], + [ + 243, + 49 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/replace-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "PathReplacer", + "exportsProperty": "PathReplacer" + } + } + }, + "exports": 2 + }, + "src/repository-status-handler.coffee": { + "objects": { + "0": { + "6": { + "name": "Git", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "git-utils" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + } + }, + "exports": 3 + }, + "src/row-map.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 15 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "spliceWithArray", + "exportsProperty": "spliceWithArray" + } + }, + "16": { + "0": { + "type": "class", + "name": "RowMap", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 15 + ], + [ + 21, + 14 + ], + [ + 27, + 30 + ], + [ + 40, + 30 + ], + [ + 50, + 30 + ], + [ + 61, + 17 + ], + [ + 83, + 23 + ], + [ + 93, + 23 + ], + [ + 103, + 35 + ], + [ + 116, + 11 + ] + ], + "doc": " Private: Used by the display buffer to map screen rows to buffer rows and vice-versa.\nThis mapping may not be 1:1 due to folds and soft-wraps. This object maintains\nan array of regions, which contain `bufferRows` and `screenRows` fields.\n\nRectangular Regions:\nIf a region has the same number of buffer rows and screen rows, it is referred\nto as \"rectangular\", and represents one or more non-soft-wrapped, non-folded\nlines.\n\nTrapezoidal Regions:\nIf a region has one buffer row and more than one screen row, it represents a\nsoft-wrapped line. If a region has one screen row and more than one buffer\nrow, it represents folded lines ", + "range": [ + [ + 16, + 0 + ], + [ + 118, + 35 + ] + ] + } + }, + "17": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 15 + ], + [ + 21, + 1 + ] + ] + } + }, + "21": { + "14": { + "name": "getRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 14 + ], + [ + 27, + 1 + ] + ], + "doc": "Public: Returns a copy of all the regions in the map " + } + }, + "27": { + "30": { + "name": "screenRowRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 27, + 30 + ], + [ + 40, + 1 + ] + ], + "doc": " Public: Returns an end-row-exclusive range of screen rows corresponding to\nthe given buffer row. If the buffer row is soft-wrapped, the range may span\nmultiple screen rows. Otherwise it will span a single screen row. " + } + }, + "40": { + "30": { + "name": "bufferRowRangeForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetScreenRow" + ], + "range": [ + [ + 40, + 30 + ], + [ + 50, + 1 + ] + ], + "doc": " Public: Returns an end-row-exclusive range of buffer rows corresponding to\nthe given screen row. If the screen row is the first line of a folded range\nof buffer rows, the range may span multiple buffer rows. Otherwise it will\nspan a single buffer row. " + } + }, + "50": { + "30": { + "name": "bufferRowRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 50, + 30 + ], + [ + 61, + 1 + ] + ], + "doc": " Public: If the given buffer row is part of a folded row range, returns that\nrow range. Otherwise returns a range spanning only the given buffer row. " + } + }, + "61": { + "17": { + "name": "spliceRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "bufferRowCount", + "regions" + ], + "range": [ + [ + 61, + 17 + ], + [ + 83, + 1 + ] + ], + "doc": " Public: Given a starting buffer row, the number of buffer rows to replace,\nand an array of regions of shape {bufferRows: n, screenRows: m}, splices\nthe regions at the appropriate location in the map. This method is used by\ndisplay buffer to keep the map updated when the underlying buffer changes. " + } + }, + "83": { + "23": { + "name": "traverseToBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 83, + 23 + ], + [ + 93, + 1 + ] + ], + "doc": "~Private~" + } + }, + "93": { + "23": { + "name": "traverseToScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetScreenRow" + ], + "range": [ + [ + 93, + 23 + ], + [ + 103, + 1 + ] + ], + "doc": "~Private~" + } + }, + "103": { + "35": { + "name": "mergeAdjacentRectangularRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startIndex", + "endIndex" + ], + "range": [ + [ + 103, + 35 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 11 + ], + [ + 118, + 35 + ] + ], + "doc": "Public: Returns an array of strings describing the map's regions. " + } + } + }, + "exports": 16 + }, + "src/scan-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "PathSearcher", + "exportsProperty": "PathSearcher" + }, + "15": { + "type": "import", + "range": [ + [ + 0, + 15 + ], + [ + 0, + 25 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "PathScanner", + "exportsProperty": "PathScanner" + }, + "28": { + "type": "import", + "range": [ + [ + 0, + 28 + ], + [ + 0, + 33 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "search", + "exportsProperty": "search" + } + } + }, + "exports": 2 + }, + "src/scoped-properties.coffee": { + "objects": { + "0": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "3": { + "0": { + "type": "class", + "name": "ScopedProperties", + "bindingType": "exports", + "classProperties": [ + [ + 4, + 9 + ] + ], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 13, + 12 + ], + [ + 17, + 14 + ] + ], + "doc": "~Private~", + "range": [ + [ + 3, + 0 + ], + [ + 18, + 39 + ] + ] + } + }, + "4": { + "9": { + "name": "load", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "scopedPropertiesPath", + "callback" + ], + "range": [ + [ + 4, + 9 + ], + [ + 11, + 1 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 11, + 43 + ] + ], + "doc": "~Private~" + } + }, + "13": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 12 + ], + [ + 17, + 1 + ] + ], + "doc": "~Private~" + } + }, + "17": { + "14": { + "name": "deactivate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 14 + ], + [ + 18, + 39 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 3 + }, + "src/scroll-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "21": { + "0": { + "type": "class", + "name": "ScrollView", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 22, + 14 + ] + ], + "doc": " Public: Represents a view that scrolls.\n\nSubclasses must call `super` if overriding the `initialize` method or else\nthe following events won't be handled by the ScrollView.\n\n## Events\n * `core:move-up`\n * `core:move-down`\n * `core:page-up`\n * `core:page-down`\n * `core:move-to-top`\n * `core:move-to-bottom`\n\n## Requiring in packages\n\n```coffee\n {ScrollView} = require 'atom'\n``` ", + "range": [ + [ + 21, + 0 + ], + [ + 28, + 51 + ] + ] + } + }, + "22": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 22, + 14 + ], + [ + 28, + 51 + ] + ] + } + } + }, + "exports": 21 + }, + "src/scrollbar-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 6 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "extend", + "exportsProperty": "extend" + }, + "9": { + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "21": { + "name": "ScrollbarComponent", + "type": "function", + "range": [ + [ + 5, + 21 + ], + [ + 69, + 28 + ] + ] + } + }, + "6": { + "15": { + "name": "'ScrollbarComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 34 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 21 + ], + [ + 36, + 1 + ] + ], + "doc": null + } + }, + "36": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 36, + 25 + ], + [ + 45, + 1 + ] + ], + "doc": null + } + }, + "45": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 22 + ], + [ + 57, + 1 + ] + ], + "doc": null + } + }, + "57": { + "12": { + "name": "onScroll", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 12 + ], + [ + 69, + 28 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/scrollbar-corner-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "27": { + "name": "ScrollbarCornerComponent", + "type": "function", + "range": [ + [ + 5, + 27 + ], + [ + 23, + 99 + ] + ] + } + }, + "6": { + "15": { + "name": "'ScrollbarCornerComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 40 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 22, + 1 + ] + ], + "doc": null + } + }, + "22": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 22, + 25 + ], + [ + 23, + 99 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/select-list-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "4": { + "15": { + "name": "EditorView", + "type": "import", + "range": [ + [ + 4, + 15 + ], + [ + 4, + 37 + ] + ], + "bindingType": "variable", + "path": "./editor-view" + } + }, + "5": { + "14": { + "type": "primitive", + "range": [ + [ + 5, + 14 + ], + [ + 5, + 41 + ] + ] + } + }, + "36": { + "0": { + "type": "class", + "name": "SelectListView", + "bindingType": "exports", + "classProperties": [ + [ + 37, + 12 + ] + ], + "prototypeProperties": [ + [ + 46, + 12 + ], + [ + 47, + 19 + ], + [ + 48, + 17 + ], + [ + 49, + 14 + ], + [ + 55, + 14 + ], + [ + 90, + 24 + ], + [ + 102, + 12 + ], + [ + 109, + 12 + ], + [ + 119, + 14 + ], + [ + 136, + 18 + ], + [ + 143, + 16 + ], + [ + 174, + 19 + ], + [ + 179, + 15 + ], + [ + 181, + 26 + ], + [ + 186, + 22 + ], + [ + 191, + 18 + ], + [ + 197, + 20 + ], + [ + 207, + 23 + ], + [ + 213, + 19 + ], + [ + 216, + 20 + ], + [ + 233, + 15 + ], + [ + 244, + 13 + ], + [ + 258, + 16 + ], + [ + 261, + 21 + ], + [ + 266, + 23 + ], + [ + 269, + 16 + ], + [ + 275, + 13 + ], + [ + 283, + 10 + ] + ], + "doc": " Public: Provides a view that renders a list of items with an editor that\nfilters the items. Used by many packages such as the fuzzy-finder,\ncommand-palette, symbols-view and autocomplete.\n\nSubclasses must implement the following methods:\n\n* {::viewForItem}\n* {::confirmed}\n\n## Requiring in packages\n\n```coffee\n{SelectListView} = require 'atom'\n\nclass MySelectListView extends SelectListView\n initialize: ->\n super\n @addClass('overlay from-top')\n @setItems(['Hello', 'World'])\n atom.workspaceView.append(this)\n @focusFilterEditor()\n\n viewForItem: (item) ->\n \"
  • #{item}
  • \"\n\n confirmed: (item) ->\n console.log(\"#{item} was selected\")\n``` ", + "range": [ + [ + 36, + 0 + ], + [ + 291, + 34 + ] + ] + } + }, + "37": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 37, + 12 + ], + [ + 46, + 1 + ] + ] + } + }, + "46": { + "12": { + "name": "maxItems", + "type": "primitive", + "range": [ + [ + 46, + 12 + ], + [ + 46, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "47": { + "19": { + "name": "scheduleTimeout", + "type": "primitive", + "range": [ + [ + 47, + 19 + ], + [ + 47, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "48": { + "17": { + "name": "inputThrottle", + "type": "primitive", + "range": [ + [ + 48, + 17 + ], + [ + 48, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "49": { + "14": { + "name": "cancelling", + "type": "primitive", + "range": [ + [ + 49, + 14 + ], + [ + 49, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "55": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 14 + ], + [ + 90, + 1 + ] + ], + "doc": " Public: Initialize the select list view.\n\nThis method can be overridden by subclasses but `super` should always\nbe called. " + } + }, + "90": { + "24": { + "name": "schedulePopulateList", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 24 + ], + [ + 102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "102": { + "12": { + "name": "setItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 102, + 12 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Set the array of items to display in the list.\n\nThis should be model items not actual views. {::viewForItem} will be\ncalled to render the item when it is being appended to the list view.\n\nitems - The {Array} of model items to display in the list (default: []). " + } + }, + "109": { + "12": { + "name": "setError", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 109, + 12 + ], + [ + 119, + 1 + ] + ], + "doc": " Public: Set the error message to display.\n\nmessage - The {String} error message (default: ''). " + } + }, + "119": { + "14": { + "name": "setLoading", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 119, + 14 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Set the loading message to display.\n\nmessage - The {String} loading message (default: ''). " + } + }, + "136": { + "18": { + "name": "getFilterQuery", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 18 + ], + [ + 143, + 1 + ] + ], + "doc": " Public: Get the filter query to use when fuzzy filtering the visible\nelements.\n\nBy default this method returns the text in the mini editor but it can be\noverridden by subclasses if needed.\n\nReturns a {String} to use when fuzzy filtering the elements to display. " + } + }, + "143": { + "16": { + "name": "populateList", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 143, + 16 + ], + [ + 174, + 1 + ] + ], + "doc": " Public: Populate the list view with the model items previously set by\ncalling {::setItems}.\n\nSubclasses may override this method but should always call `super`. " + } + }, + "174": { + "19": { + "name": "getEmptyMessage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "itemCount", + "filteredItemCount" + ], + "range": [ + [ + 174, + 19 + ], + [ + 174, + 70 + ] + ], + "doc": " Public: Get the message to display when there are no items.\n\nSubclasses may override this method to customize the message.\n\nitemCount - The {Number} of items in the array specified to {::setItems}\nfilteredItemCount - The {Number} of items that pass the fuzzy filter test.\n\nReturns a {String} message (default: 'No matches found'). " + } + }, + "179": { + "15": { + "name": "setMaxItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 179, + 15 + ], + [ + 179, + 28 + ] + ], + "doc": " Public: Set the maximum numbers of items to display in the list.\n\nmaxItems - The maximum {Number} of items to display. " + } + }, + "181": { + "26": { + "name": "selectPreviousItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 181, + 26 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "22": { + "name": "selectNextItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 186, + 22 + ], + [ + 191, + 1 + ] + ], + "doc": "~Private~" + } + }, + "191": { + "18": { + "name": "selectItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 191, + 18 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "20": { + "name": "scrollToItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 197, + 20 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "23": { + "name": "getSelectedItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 207, + 23 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "19": { + "name": "getSelectedItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 19 + ], + [ + 216, + 1 + ] + ], + "doc": " Public: Get the model item that is currently selected in the list view.\n\nReturns a model item. " + } + }, + "216": { + "20": { + "name": "confirmSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 216, + 20 + ], + [ + 233, + 1 + ] + ], + "doc": "~Private~" + } + }, + "233": { + "15": { + "name": "viewForItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 233, + 15 + ], + [ + 244, + 1 + ] + ], + "doc": " Public: Create a view for the given model item.\n\nThis method must be overridden by subclasses.\n\nThis is called when the item is about to appended to the list view.\n\nitem - The model item being rendered. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a String of HTML, DOM element, jQuery object, or View. " + } + }, + "244": { + "13": { + "name": "confirmed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 244, + 13 + ], + [ + 258, + 1 + ] + ], + "doc": " Public: Callback function for when an item is selected.\n\nThis method must be overridden by subclasses.\n\nitem - The selected model item. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a DOM element, jQuery object, or {View}. " + } + }, + "258": { + "16": { + "name": "getFilterKey", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 258, + 16 + ], + [ + 258, + 17 + ] + ], + "doc": " Public: Get the property name to use when filtering items.\n\nThis method may be overridden by classes to allow fuzzy filtering based\non a specific property of the item objects.\n\nFor example if the objects you pass to {::setItems} are of the type\n`{\"id\": 3, \"name\": \"Atom\"}` then you would return `\"name\"` from this method\nto fuzzy filter by that property when text is entered into this view's\neditor.\n\nReturns the property name to fuzzy filter by. " + } + }, + "261": { + "21": { + "name": "focusFilterEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 21 + ], + [ + 266, + 1 + ] + ], + "doc": "Public: Focus the fuzzy filter editor view. " + } + }, + "266": { + "23": { + "name": "storeFocusedElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 266, + 23 + ], + [ + 269, + 1 + ] + ], + "doc": " Public: Store the currently focused element. This element will be given\nback focus when {::cancel} is called. " + } + }, + "269": { + "16": { + "name": "restoreFocus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 16 + ], + [ + 275, + 1 + ] + ], + "doc": "~Private~" + } + }, + "275": { + "13": { + "name": "cancelled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 275, + 13 + ], + [ + 283, + 1 + ] + ], + "doc": "~Private~" + } + }, + "283": { + "10": { + "name": "cancel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 283, + 10 + ], + [ + 291, + 34 + ] + ], + "doc": " Public: Cancel and close this select list view.\n\nThis restores focus to the previously focused element if\n{::storeFocusedElement} was called prior to this view being attached. " + } + } + }, + "exports": 36 + }, + "src/selection-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 8 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + } + }, + "4": { + "0": { + "type": "class", + "name": "SelectionView", + "bindingType": "exports", + "classProperties": [ + [ + 6, + 12 + ] + ], + "prototypeProperties": [ + [ + 9, + 11 + ], + [ + 10, + 16 + ], + [ + 12, + 14 + ], + [ + 19, + 17 + ], + [ + 37, + 16 + ], + [ + 50, + 26 + ], + [ + 57, + 16 + ], + [ + 61, + 18 + ], + [ + 64, + 18 + ], + [ + 67, + 19 + ], + [ + 70, + 19 + ], + [ + 73, + 13 + ], + [ + 79, + 15 + ], + [ + 82, + 10 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 84, + 9 + ] + ] + } + }, + "6": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 12 + ], + [ + 9, + 1 + ] + ], + "doc": "~Private~" + } + }, + "9": { + "11": { + "name": "regions", + "type": "primitive", + "range": [ + [ + 9, + 11 + ], + [ + 9, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "16": { + "name": "needsRemoval", + "type": "primitive", + "range": [ + [ + 10, + 16 + ], + [ + 10, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 14 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 19, + 17 + ], + [ + 37, + 1 + ] + ], + "doc": "~Private~" + } + }, + "37": { + "16": { + "name": "appendRegion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rows", + "start", + "end" + ], + "range": [ + [ + 37, + 16 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "26": { + "name": "getCenterPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 26 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "16": { + "name": "clearRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 16 + ], + [ + 61, + 1 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 18 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 18 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "19": { + "name": "needsAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 19 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 70, + 19 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "13": { + "name": "highlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 13 + ], + [ + 79, + 1 + ] + ], + "doc": "~Private~" + } + }, + "79": { + "15": { + "name": "unhighlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 15 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 10 + ], + [ + 84, + 9 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/selection.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x", + "name": "pick", + "exportsProperty": "pick" + } + }, + "6": { + "0": { + "type": "class", + "name": "Selection", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 7, + 10 + ], + [ + 8, + 10 + ], + [ + 9, + 10 + ], + [ + 10, + 22 + ], + [ + 11, + 12 + ], + [ + 12, + 19 + ], + [ + 14, + 15 + ], + [ + 25, + 11 + ], + [ + 28, + 12 + ], + [ + 34, + 19 + ], + [ + 38, + 11 + ], + [ + 45, + 14 + ], + [ + 49, + 22 + ], + [ + 53, + 18 + ], + [ + 60, + 18 + ], + [ + 64, + 18 + ], + [ + 74, + 18 + ], + [ + 91, + 21 + ], + [ + 98, + 25 + ], + [ + 101, + 25 + ], + [ + 104, + 25 + ], + [ + 107, + 25 + ], + [ + 110, + 14 + ], + [ + 114, + 11 + ], + [ + 118, + 9 + ], + [ + 126, + 14 + ], + [ + 138, + 18 + ], + [ + 144, + 14 + ], + [ + 155, + 18 + ], + [ + 163, + 26 + ], + [ + 184, + 26 + ], + [ + 188, + 15 + ], + [ + 192, + 14 + ], + [ + 196, + 12 + ], + [ + 200, + 14 + ], + [ + 205, + 15 + ], + [ + 210, + 18 + ], + [ + 214, + 13 + ], + [ + 219, + 27 + ], + [ + 224, + 32 + ], + [ + 229, + 21 + ], + [ + 234, + 27 + ], + [ + 239, + 21 + ], + [ + 244, + 31 + ], + [ + 248, + 32 + ], + [ + 252, + 28 + ], + [ + 257, + 36 + ], + [ + 262, + 40 + ], + [ + 266, + 21 + ], + [ + 284, + 22 + ], + [ + 289, + 21 + ], + [ + 316, + 14 + ], + [ + 349, + 20 + ], + [ + 383, + 10 + ], + [ + 399, + 22 + ], + [ + 405, + 25 + ], + [ + 412, + 13 + ], + [ + 417, + 30 + ], + [ + 422, + 30 + ], + [ + 428, + 27 + ], + [ + 434, + 27 + ], + [ + 443, + 10 + ], + [ + 455, + 21 + ], + [ + 462, + 21 + ], + [ + 467, + 22 + ], + [ + 477, + 14 + ], + [ + 496, + 13 + ], + [ + 522, + 23 + ], + [ + 532, + 26 + ], + [ + 542, + 22 + ], + [ + 546, + 18 + ], + [ + 551, + 7 + ], + [ + 561, + 8 + ], + [ + 579, + 8 + ], + [ + 584, + 19 + ], + [ + 595, + 13 + ], + [ + 603, + 25 + ], + [ + 606, + 28 + ], + [ + 609, + 23 + ], + [ + 617, + 18 + ], + [ + 625, + 9 + ], + [ + 641, + 11 + ], + [ + 644, + 22 + ] + ], + "doc": "Public: Represents a selection in the {Editor}. ", + "range": [ + [ + 6, + 0 + ], + [ + 647, + 45 + ] + ] + } + }, + "7": { + "10": { + "name": "cursor", + "type": "primitive", + "range": [ + [ + 7, + 10 + ], + [ + 7, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "8": { + "10": { + "name": "marker", + "type": "primitive", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "10": { + "name": "editor", + "type": "primitive", + "range": [ + [ + 9, + 10 + ], + [ + 9, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "22": { + "name": "initialScreenRange", + "type": "primitive", + "range": [ + [ + 10, + 22 + ], + [ + 10, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "11": { + "12": { + "name": "wordwise", + "type": "primitive", + "range": [ + [ + 11, + 12 + ], + [ + 11, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "19": { + "name": "needsAutoscroll", + "type": "primitive", + "range": [ + [ + 12, + 19 + ], + [ + 12, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 14, + 15 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 11 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "12": { + "name": "finalize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 12 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 19 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "11": { + "name": "isEmpty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 38, + 11 + ], + [ + 45, + 1 + ] + ], + "doc": "Public: Determines if the selection contains anything. " + } + }, + "45": { + "14": { + "name": "isReversed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 14 + ], + [ + 49, + 1 + ] + ], + "doc": " Public: Determines if the ending position of a marker is greater than the\nstarting position.\n\nThis can happen when, for example, you highlight text \"up\" in a {TextBuffer}. " + } + }, + "49": { + "22": { + "name": "isSingleScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 22 + ], + [ + 53, + 1 + ] + ], + "doc": "Public: Returns whether the selection is a single line or not. " + } + }, + "53": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 18 + ], + [ + 60, + 1 + ] + ], + "doc": "Public: Returns the screen {Range} for the selection. " + } + }, + "60": { + "18": { + "name": "setScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 60, + 18 + ], + [ + 64, + 1 + ] + ], + "doc": " Public: Modifies the screen range for the selection.\n\nscreenRange - The new {Range} to use.\noptions - A hash of options matching those found in {::setBufferRange}. " + } + }, + "64": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 18 + ], + [ + 74, + 1 + ] + ], + "doc": "Public: Returns the buffer {Range} for the selection. " + } + }, + "74": { + "18": { + "name": "setBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 74, + 18 + ], + [ + 91, + 1 + ] + ], + "doc": " Public: Modifies the buffer {Range} for the selection.\n\nscreenRange - The new {Range} to select.\noptions - An {Object} with the keys:\n :preserveFolds - if `true`, the fold settings are preserved after the\n selection moves.\n :autoscroll - if `true`, the {Editor} scrolls to the new selection. " + } + }, + "91": { + "21": { + "name": "getBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 21 + ], + [ + 98, + 1 + ] + ], + "doc": " Public: Returns the starting and ending buffer rows the selection is\nhighlighting.\n\nReturns an {Array} of two {Number}s: the starting row, and the ending row. " + } + }, + "98": { + "25": { + "name": "getTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 25 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "getTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 25 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "25": { + "name": "getHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 25 + ], + [ + 107, + 1 + ] + ], + "doc": "~Private~" + } + }, + "107": { + "25": { + "name": "getHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 25 + ], + [ + 110, + 1 + ] + ], + "doc": "~Private~" + } + }, + "110": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 14 + ], + [ + 114, + 1 + ] + ], + "doc": "~Private~" + } + }, + "114": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 114, + 11 + ], + [ + 118, + 1 + ] + ], + "doc": "Public: Returns the text in the selection. " + } + }, + "118": { + "9": { + "name": "clear", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 118, + 9 + ], + [ + 126, + 1 + ] + ], + "doc": "Public: Clears the selection, moving the marker to the head. " + } + }, + "126": { + "14": { + "name": "selectWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 14 + ], + [ + 138, + 1 + ] + ], + "doc": " Public: Modifies the selection to encompass the current word.\n\nReturns a {Range}. " + } + }, + "138": { + "18": { + "name": "expandOverWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 18 + ], + [ + 144, + 1 + ] + ], + "doc": " Public: Expands the newest selection to include the entire word on which\nthe cursors rests. " + } + }, + "144": { + "14": { + "name": "selectLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 144, + 14 + ], + [ + 155, + 1 + ] + ], + "doc": " Public: Selects an entire line in the buffer.\n\nrow - The line {Number} to select (default: the row of the cursor). " + } + }, + "155": { + "18": { + "name": "expandOverLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 155, + 18 + ], + [ + 163, + 1 + ] + ], + "doc": " Public: Expands the newest selection to include the entire line on which\nthe cursor currently rests.\n\nIt also includes the newline character. " + } + }, + "163": { + "26": { + "name": "selectToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 163, + 26 + ], + [ + 184, + 1 + ] + ], + "doc": " Public: Selects the text from the current cursor position to a given screen\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "184": { + "26": { + "name": "selectToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 184, + 26 + ], + [ + 188, + 1 + ] + ], + "doc": " Public: Selects the text from the current cursor position to a given buffer\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "188": { + "15": { + "name": "selectRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 15 + ], + [ + 192, + 1 + ] + ], + "doc": "Public: Selects the text one position right of the cursor. " + } + }, + "192": { + "14": { + "name": "selectLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 192, + 14 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Selects the text one position left of the cursor. " + } + }, + "196": { + "12": { + "name": "selectUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 196, + 12 + ], + [ + 200, + 1 + ] + ], + "doc": "Public: Selects all the text one position above the cursor. " + } + }, + "200": { + "14": { + "name": "selectDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 200, + 14 + ], + [ + 205, + 1 + ] + ], + "doc": "Public: Selects all the text one position below the cursor. " + } + }, + "205": { + "15": { + "name": "selectToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 205, + 15 + ], + [ + 210, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the top of\nthe buffer. " + } + }, + "210": { + "18": { + "name": "selectToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 18 + ], + [ + 214, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the bottom\nof the buffer. " + } + }, + "214": { + "13": { + "name": "selectAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 214, + 13 + ], + [ + 219, + 1 + ] + ], + "doc": "Public: Selects all the text in the buffer. " + } + }, + "219": { + "27": { + "name": "selectToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 219, + 27 + ], + [ + 224, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the line. " + } + }, + "224": { + "32": { + "name": "selectToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 32 + ], + [ + 229, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the first\ncharacter of the line. " + } + }, + "229": { + "21": { + "name": "selectToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 229, + 21 + ], + [ + 234, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the end of\nthe line. " + } + }, + "234": { + "27": { + "name": "selectToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 27 + ], + [ + 239, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the word. " + } + }, + "239": { + "21": { + "name": "selectToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 239, + 21 + ], + [ + 244, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the end of\nthe word. " + } + }, + "244": { + "31": { + "name": "selectToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 244, + 31 + ], + [ + 248, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next word. " + } + }, + "248": { + "32": { + "name": "selectToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 248, + 32 + ], + [ + 252, + 1 + ] + ], + "doc": "Public: Selects text to the previous word boundary. " + } + }, + "252": { + "28": { + "name": "selectToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 252, + 28 + ], + [ + 257, + 1 + ] + ], + "doc": "Public: Selects text to the next word boundary. " + } + }, + "257": { + "36": { + "name": "selectToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 257, + 36 + ], + [ + 262, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next paragraph. " + } + }, + "262": { + "40": { + "name": "selectToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 262, + 40 + ], + [ + 266, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the previous paragraph. " + } + }, + "266": { + "21": { + "name": "addSelectionBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 266, + 21 + ], + [ + 284, + 1 + ] + ], + "doc": "Public: Moves the selection down one row. " + } + }, + "284": { + "22": { + "name": "getGoalBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 22 + ], + [ + 289, + 1 + ] + ], + "doc": "FIXME: I have no idea what this does. " + } + }, + "289": { + "21": { + "name": "addSelectionAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 289, + 21 + ], + [ + 316, + 1 + ] + ], + "doc": "Public: Moves the selection up one row. " + } + }, + "316": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 316, + 14 + ], + [ + 349, + 1 + ] + ], + "doc": " Public: Replaces text at the current selection.\n\ntext - A {String} representing the text to add\noptions - An {Object} with keys:\n :select - if `true`, selects the newly added text.\n :autoIndent - if `true`, indents all inserted text appropriately.\n :autoIndentNewline - if `true`, indent newline appropriately.\n :autoDecreaseIndent - if `true`, decreases indent level appropriately\n (for example, when a closing bracket is inserted).\n :undo - if `skip`, skips the undo stack for this operation. " + } + }, + "349": { + "20": { + "name": "normalizeIndents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "indentBasis" + ], + "range": [ + [ + 349, + 20 + ], + [ + 383, + 1 + ] + ], + "doc": " Public: Indents the given text to the suggested level based on the grammar.\n\ntext - The {String} to indent within the selection.\nindentBasis - The beginning indent level. " + } + }, + "383": { + "10": { + "name": "indent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 383, + 10 + ], + [ + 399, + 1 + ] + ], + "doc": " Private: Indent the current line(s).\n\nIf the selection is empty, indents the current line if the cursor precedes\nnon-whitespace characters, and otherwise inserts a tab. If the selection is\nnon empty, calls {::indentSelectedRows}.\n\noptions - A {Object} with the keys:\n :autoIndent - If `true`, the line is indented to an automatically-inferred\n level. Otherwise, {Editor::getTabText} is inserted. " + } + }, + "399": { + "22": { + "name": "indentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 399, + 22 + ], + [ + 405, + 1 + ] + ], + "doc": "Public: If the selection spans multiple rows, indent all of them. " + } + }, + "405": { + "25": { + "name": "setIndentationForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line", + "indentLevel" + ], + "range": [ + [ + 405, + 25 + ], + [ + 412, + 1 + ] + ], + "doc": "Public: ? " + } + }, + "412": { + "13": { + "name": "backspace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 412, + 13 + ], + [ + 417, + 1 + ] + ], + "doc": " Public: Removes the first character before the selection if the selection\nis empty otherwise it deletes the selection. " + } + }, + "417": { + "30": { + "name": "backspaceToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 417, + 30 + ], + [ + 422, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " + } + }, + "422": { + "30": { + "name": "backspaceToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 422, + 30 + ], + [ + 428, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " + } + }, + "428": { + "27": { + "name": "deleteToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 27 + ], + [ + 434, + 1 + ] + ], + "doc": " Public: Removes from the start of the selection to the beginning of the\ncurrent word if the selection is empty otherwise it deletes the selection. " + } + }, + "434": { + "27": { + "name": "deleteToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 434, + 27 + ], + [ + 443, + 1 + ] + ], + "doc": " Public: Removes from the beginning of the line which the selection begins on\nall the way through to the end of the selection. " + } + }, + "443": { + "10": { + "name": "delete", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 443, + 10 + ], + [ + 455, + 1 + ] + ] + } + }, + "455": { + "21": { + "name": "deleteToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 455, + 21 + ], + [ + 462, + 1 + ] + ], + "doc": " Public: If the selection is empty, removes all text from the cursor to the\nend of the line. If the cursor is already at the end of the line, it\nremoves the following newline. If the selection isn't empty, only deletes\nthe contents of the selection. " + } + }, + "462": { + "21": { + "name": "deleteToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 462, + 21 + ], + [ + 467, + 1 + ] + ], + "doc": " Public: Removes the selection or all characters from the start of the\nselection to the end of the current word if nothing is selected. " + } + }, + "467": { + "22": { + "name": "deleteSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 467, + 22 + ], + [ + 477, + 1 + ] + ], + "doc": "Public: Removes only the selected text. " + } + }, + "477": { + "14": { + "name": "deleteLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 477, + 14 + ], + [ + 496, + 1 + ] + ], + "doc": " Public: Removes the line at the beginning of the selection if the selection\nis empty unless the selection spans multiple lines in which case all lines\nare removed. " + } + }, + "496": { + "13": { + "name": "joinLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 496, + 13 + ], + [ + 522, + 1 + ] + ], + "doc": " Public: Joins the current line with the one below it.\n\nIf there selection spans more than one line, all the lines are joined together. " + } + }, + "522": { + "23": { + "name": "outdentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 522, + 23 + ], + [ + 532, + 1 + ] + ], + "doc": "Public: Removes one level of indent from the currently selected rows. " + } + }, + "532": { + "26": { + "name": "autoIndentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 532, + 26 + ], + [ + 542, + 1 + ] + ], + "doc": " Public: Sets the indentation level of all selected rows to values suggested\nby the relevant grammars. " + } + }, + "542": { + "22": { + "name": "toggleLineComments", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 542, + 22 + ], + [ + 546, + 1 + ] + ], + "doc": " Public: Wraps the selected lines in comments if they aren't currently part\nof a comment.\n\nRemoves the comment if they are currently wrapped in a comment.\n\nReturns an Array of the commented {Range}s. " + } + }, + "546": { + "18": { + "name": "cutToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 546, + 18 + ], + [ + 551, + 1 + ] + ], + "doc": "Public: Cuts the selection until the end of the line. " + } + }, + "551": { + "7": { + "name": "cut", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 551, + 7 + ], + [ + 561, + 1 + ] + ], + "doc": "Public: Copies the selection to the clipboard and then deletes it. " + } + }, + "561": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 561, + 8 + ], + [ + 579, + 1 + ] + ], + "doc": " Public: Copies the current selection to the clipboard.\n\nIf the `maintainClipboard` is set to `true`, a specific metadata property\nis created to store each content copied to the clipboard. The clipboard\n`text` still contains the concatenation of the clipboard with the\ncurrent selection. " + } + }, + "579": { + "8": { + "name": "fold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 579, + 8 + ], + [ + 584, + 1 + ] + ], + "doc": "Public: Creates a fold containing the current selection. " + } + }, + "584": { + "19": { + "name": "modifySelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 584, + 19 + ], + [ + 595, + 1 + ] + ], + "doc": "~Private~" + } + }, + "595": { + "13": { + "name": "plantTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 595, + 13 + ], + [ + 603, + 1 + ] + ], + "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " + } + }, + "603": { + "25": { + "name": "intersectsBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 603, + 25 + ], + [ + 606, + 1 + ] + ], + "doc": " Public: Identifies if a selection intersects with a given buffer range.\n\nbufferRange - A {Range} to check against.\n\nReturns a Boolean. " + } + }, + "606": { + "28": { + "name": "intersectsScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 606, + 28 + ], + [ + 609, + 1 + ] + ], + "doc": "~Private~" + } + }, + "609": { + "23": { + "name": "intersectsScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 609, + 23 + ], + [ + 617, + 1 + ] + ], + "doc": "~Private~" + } + }, + "617": { + "18": { + "name": "intersectsWith", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection" + ], + "range": [ + [ + 617, + 18 + ], + [ + 625, + 1 + ] + ], + "doc": " Public: Identifies if a selection intersects with another selection.\n\notherSelection - A {Selection} to check against.\n\nReturns a Boolean. " + } + }, + "625": { + "9": { + "name": "merge", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection", + "options" + ], + "range": [ + [ + 625, + 9 + ], + [ + 641, + 1 + ] + ], + "doc": " Public: Combines the given selection into this selection and then destroys\nthe given selection.\n\notherSelection - A {Selection} to merge with.\noptions - A hash of options matching those found in {::setBufferRange}. " + } + }, + "641": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection" + ], + "range": [ + [ + 641, + 11 + ], + [ + 644, + 1 + ] + ], + "doc": " Public: Compare this selection's buffer range to another selection's buffer\nrange.\n\nSee {Range::compare} for more details.\n\notherSelection - A {Selection} to compare against. " + } + }, + "644": { + "22": { + "name": "screenRangeChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 644, + 22 + ], + [ + 647, + 45 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 6 + }, + "src/space-pen-extensions.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "1": { + "11": { + "name": "spacePen", + "type": "import", + "range": [ + [ + 1, + 11 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "space-pen" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "6": { + "9": { + "name": "spacePen", + "type": "primitive", + "range": [ + [ + 6, + 9 + ], + [ + 6, + 16 + ] + ] + } + }, + "7": { + "20": { + "name": "jQuery", + "type": "primitive", + "range": [ + [ + 7, + 20 + ], + [ + 7, + 25 + ] + ] + } + }, + "8": { + "19": { + "name": "jQuery.cleanData", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "elements" + ], + "range": [ + [ + 8, + 19 + ], + [ + 11, + 0 + ] + ], + "doc": null + } + }, + "13": { + "2": { + "type": "primitive", + "range": [ + [ + 13, + 2 + ], + [ + 19, + 19 + ] + ] + } + }, + "14": { + "4": { + "type": "primitive", + "range": [ + [ + 14, + 4 + ], + [ + 15, + 12 + ] + ] + }, + "10": { + "name": "1000", + "type": "primitive", + "range": [ + [ + 14, + 10 + ], + [ + 14, + 13 + ] + ] + } + }, + "15": { + "10": { + "name": "100", + "type": "primitive", + "range": [ + [ + 15, + 10 + ], + [ + 15, + 12 + ] + ] + } + }, + "16": { + "13": { + "name": "'body'", + "type": "primitive", + "range": [ + [ + 16, + 13 + ], + [ + 16, + 18 + ] + ] + } + }, + "17": { + "8": { + "type": "primitive", + "range": [ + [ + 17, + 8 + ], + [ + 17, + 11 + ] + ] + } + }, + "18": { + "13": { + "name": "'auto top'", + "type": "primitive", + "range": [ + [ + 18, + 13 + ], + [ + 18, + 22 + ] + ] + } + }, + "19": { + "19": { + "name": "2", + "type": "primitive", + "range": [ + [ + 19, + 19 + ], + [ + 19, + 19 + ] + ] + } + }, + "21": { + "21": { + "name": "humanizeKeystrokes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "keystroke" + ], + "range": [ + [ + 21, + 21 + ], + [ + 25, + 0 + ] + ], + "doc": "~Private~" + } + }, + "26": { + "15": { + "name": "getKeystroke", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bindings" + ], + "range": [ + [ + 26, + 15 + ], + [ + 31, + 0 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "26": { + "name": "requireBootstrapTooltip", + "type": "function", + "range": [ + [ + 32, + 26 + ], + [ + 35, + 59 + ] + ] + } + }, + "36": { + "23": { + "name": "jQuery.fn.setTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "tooltipOptions", + null + ], + "range": [ + [ + 36, + 23 + ], + [ + 49, + 0 + ] + ], + "doc": null + } + }, + "50": { + "24": { + "name": "jQuery.fn.hideTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 24 + ], + [ + 55, + 0 + ] + ], + "doc": null + } + }, + "56": { + "27": { + "name": "jQuery.fn.destroyTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 27 + ], + [ + 61, + 38 + ] + ], + "doc": null + } + }, + "68": { + "36": { + "name": "getKeystroke", + "type": "primitive", + "range": [ + [ + 68, + 36 + ], + [ + 68, + 47 + ] + ] + } + }, + "69": { + "42": { + "name": "humanizeKeystrokes", + "type": "primitive", + "range": [ + [ + 69, + 42 + ], + [ + 69, + 59 + ] + ] + } + }, + "71": { + "49": { + "name": "get", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 71, + 49 + ], + [ + 71, + 55 + ] + ], + "doc": null + } + } + }, + "exports": 73 + }, + "src/subscriber-mixin.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "1": { + "18": { + "type": "primitive", + "range": [ + [ + 1, + 18 + ], + [ + 1, + 55 + ] + ] + }, + "39": { + "name": "componentDidUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 1, + 39 + ], + [ + 1, + 55 + ] + ], + "doc": null + } + } + }, + "exports": 3 + }, + "src/syntax.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 11 + ] + ], + "bindingType": "variable", + "module": "clear-cut", + "name": "specificity", + "exportsProperty": "specificity" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 15 + ] + ], + "bindingType": "variable", + "module": "first-mate", + "name": "GrammarRegistry", + "exportsProperty": "GrammarRegistry" + }, + "18": { + "type": "import", + "range": [ + [ + 4, + 18 + ], + [ + 4, + 30 + ] + ], + "bindingType": "variable", + "module": "first-mate", + "name": "ScopeSelector", + "exportsProperty": "ScopeSelector" + } + }, + "5": { + "22": { + "name": "ScopedPropertyStore", + "type": "import", + "range": [ + [ + 5, + 22 + ], + [ + 5, + 52 + ] + ], + "bindingType": "variable", + "module": "scoped-property-store" + } + }, + "6": { + "20": { + "name": "PropertyAccessors", + "type": "import", + "range": [ + [ + 6, + 20 + ], + [ + 6, + 47 + ] + ], + "bindingType": "variable", + "module": "property-accessors" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 8, + 4 + ], + [ + 8, + 5 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + } + }, + "9": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 9, + 8 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "18": { + "0": { + "type": "class", + "name": "Syntax", + "bindingType": "exports", + "classProperties": [ + [ + 23, + 16 + ] + ], + "prototypeProperties": [ + [ + 28, + 15 + ], + [ + 32, + 13 + ], + [ + 35, + 15 + ], + [ + 42, + 17 + ], + [ + 49, + 20 + ], + [ + 52, + 19 + ], + [ + 67, + 15 + ], + [ + 75, + 22 + ], + [ + 84, + 32 + ] + ], + "doc": " Public: Syntax class holding the grammars used for tokenizing.\n\nAn instance of this class is always available as the `atom.syntax` global.\n\nThe Syntax class also contains properties for things such as the\nlanguage-specific comment regexes. ", + "range": [ + [ + 18, + 0 + ], + [ + 85, + 52 + ] + ] + } + }, + "23": { + "16": { + "name": "deserialize", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 23, + 16 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 15 + ], + [ + 32, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "13": { + "name": "serialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 32, + 13 + ], + [ + 35, + 1 + ] + ], + "doc": "~Private~" + } + }, + "35": { + "15": { + "name": "createToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "scopes" + ], + "range": [ + [ + 35, + 15 + ], + [ + 35, + 59 + ] + ], + "doc": "~Private~" + } + }, + "42": { + "17": { + "name": "addProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 42, + 17 + ], + [ + 49, + 1 + ] + ], + "doc": "~Private~" + } + }, + "49": { + "20": { + "name": "removeProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 49, + 20 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "19": { + "name": "clearProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 19 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "15": { + "name": "getProperty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scope", + "keyPath" + ], + "range": [ + [ + 67, + 15 + ], + [ + 75, + 1 + ] + ], + "doc": " Public: Get a property for the given scope and key path.\n\n## Example\n```coffee\ncomment = atom.syntax.getProperty(['.source.ruby'], 'editor.commentStart')\nconsole.log(comment) # '# '\n```\n\nscope - An {Array} of {String} scopes.\nkeyPath - A {String} key path.\n\nReturns a {String} property value or undefined. " + } + }, + "75": { + "22": { + "name": "propertiesForScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scope", + "keyPath" + ], + "range": [ + [ + 75, + 22 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "32": { + "name": "cssSelectorFromScopeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeSelector" + ], + "range": [ + [ + 84, + 32 + ], + [ + 85, + 52 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 18 + }, + "src/task-bootstrap.coffee": { + "objects": { + "0": { + "1": { + "type": "primitive", + "name": "userAgent", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "exportsProperty": "userAgent" + }, + "12": { + "type": "primitive", + "name": "taskPath", + "range": [ + [ + 0, + 12 + ], + [ + 0, + 19 + ] + ], + "exportsProperty": "taskPath" + } + }, + "3": { + "15": { + "name": "setupGlobals", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 3, + 15 + ], + [ + 28, + 0 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "15": { + "name": "handleEvents", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 15 + ], + [ + 42, + 0 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "10": { + "name": "handler", + "type": "import", + "range": [ + [ + 45, + 10 + ], + [ + 45, + 26 + ] + ], + "bindingType": "variable", + "module": "askPat" + } + } + }, + "exports": {} + }, + "src/task.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "1": { + "16": { + "name": "child_process", + "type": "import", + "range": [ + [ + 1, + 16 + ], + [ + 1, + 38 + ] + ], + "bindingType": "variable", + "module": "child_process", + "builtin": true + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "21": { + "0": { + "type": "class", + "name": "Task", + "bindingType": "exports", + "classProperties": [ + [ + 29, + 9 + ] + ], + "prototypeProperties": [ + [ + 41, + 12 + ], + [ + 47, + 15 + ], + [ + 73, + 16 + ], + [ + 82, + 9 + ], + [ + 95, + 8 + ], + [ + 102, + 13 + ] + ], + "doc": " Public: Run a node script in a separate process.\n\nUsed by the fuzzy-finder.\n\n## Events\n\n* task:log - Emitted when console.log is called within the task.\n* task:warn - Emitted when console.warn is called within the task.\n* task:error - Emitted when console.error is called within the task.\n* task:completed - Emitted when the task has succeeded or failed.\n\n## Requiring in packages\n\n```coffee\n {Task} = require 'atom'\n``` ", + "range": [ + [ + 21, + 0 + ], + [ + 109, + 10 + ] + ] + } + }, + "29": { + "9": { + "name": "once", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "taskPath", + "args" + ], + "range": [ + [ + 29, + 9 + ], + [ + 41, + 1 + ] + ], + "doc": " Public: A helper method to easily launch and run a task once.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file which\n exports a single {Function} to execute.\nargs - The arguments to pass to the exported function. " + } + }, + "41": { + "12": { + "name": "callback", + "type": "primitive", + "range": [ + [ + 41, + 12 + ], + [ + 41, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "47": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "taskPath" + ], + "range": [ + [ + 47, + 15 + ], + [ + 73, + 1 + ] + ], + "doc": " Public: Creates a task.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file that\n exports a single {Function} to execute. " + } + }, + "73": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 16 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Routes messages from the child to the appropriate event. " + } + }, + "82": { + "9": { + "name": "start", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args", + "callback" + ], + "range": [ + [ + 82, + 9 + ], + [ + 95, + 1 + ] + ], + "doc": " Public: Starts the task.\n\nargs - The arguments to pass to the function exported by this task's script.\ncallback - An optional {Function} to call when the task completes. " + } + }, + "95": { + "8": { + "name": "send", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 95, + 8 + ], + [ + 102, + 1 + ] + ], + "doc": " Public: Send message to the task.\n\nmessage - The message to send to the task. " + } + }, + "102": { + "13": { + "name": "terminate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 13 + ], + [ + 109, + 10 + ] + ], + "doc": " Public: Forcefully stop the running task.\n\nNo events are emitted. " + } + } + }, + "exports": 21 + }, + "src/text-utils.coffee": { + "objects": { + "0": { + "18": { + "name": "isHighSurrogate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 0, + 18 + ], + [ + 2, + 0 + ] + ], + "doc": "~Private~" + } + }, + "3": { + "17": { + "name": "isLowSurrogate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 3, + 17 + ], + [ + 11, + 21 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "18": { + "name": "isSurrogatePair", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 12, + 18 + ], + [ + 22, + 21 + ] + ], + "doc": " Private: Is the character at the given index the start of a high/low surrogate pair?\n\nstring - The {String} to check for a surrogate pair.\nindex - The {Number} index to look for a surrogate pair at.\n\nReturn a {Boolean}. " + } + }, + "23": { + "20": { + "name": "getCharacterCount", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 23, + 20 + ], + [ + 32, + 22 + ] + ], + "doc": " Private: Get the number of characters in the string accounting for surrogate pairs.\n\nThis method counts high/low surrogate pairs as a single character and will\nalways returns a value less than or equal to `string.length`.\n\nstring - The {String} to count the number of full characters in.\n\nReturns a {Number}. " + } + }, + "33": { + "19": { + "name": "hasSurrogatePair", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 33, + 19 + ], + [ + 35, + 0 + ] + ], + "doc": " Private: Does the given string contain at least one surrogate pair?\n\nstring - The {String} to check for the presence of surrogate pairs.\n\nReturns a {Boolean}. " + } + } + }, + "exports": 36 + }, + "src/theme-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.1" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q@~1.0.1" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "8": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "9": { + "1": { + "type": "import", + "range": [ + [ + 9, + 1 + ], + [ + 9, + 4 + ] + ], + "bindingType": "variable", + "module": "pathwatcher", + "name": "File", + "exportsProperty": "File" + } + }, + "15": { + "0": { + "type": "class", + "name": "ThemeManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 18, + 15 + ], + [ + 22, + 21 + ], + [ + 27, + 18 + ], + [ + 31, + 18 + ], + [ + 35, + 19 + ], + [ + 39, + 19 + ], + [ + 42, + 20 + ], + [ + 47, + 24 + ], + [ + 57, + 18 + ], + [ + 82, + 20 + ], + [ + 87, + 20 + ], + [ + 93, + 20 + ], + [ + 96, + 18 + ], + [ + 109, + 25 + ], + [ + 116, + 25 + ], + [ + 121, + 22 + ], + [ + 133, + 23 + ], + [ + 137, + 25 + ], + [ + 142, + 26 + ], + [ + 145, + 21 + ], + [ + 160, + 21 + ], + [ + 169, + 18 + ], + [ + 175, + 22 + ], + [ + 197, + 14 + ], + [ + 200, + 20 + ], + [ + 209, + 19 + ] + ], + "doc": " Public: Handles loading and activating available themes.\n\nAn instance of this class is always available as the `atom.themes` global. ", + "range": [ + [ + 15, + 0 + ], + [ + 222, + 31 + ] + ] + } + }, + "18": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 18, + 15 + ], + [ + 22, + 1 + ] + ], + "doc": "~Private~" + } + }, + "22": { + "21": { + "name": "getAvailableNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 22, + 21 + ], + [ + 27, + 1 + ] + ], + "doc": "~Private~" + } + }, + "27": { + "18": { + "name": "getLoadedNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 18 + ], + [ + 31, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded theme names. " + } + }, + "31": { + "18": { + "name": "getActiveNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 31, + 18 + ], + [ + 35, + 1 + ] + ], + "doc": "Public: Get an array of all the active theme names. " + } + }, + "35": { + "19": { + "name": "getActiveThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 35, + 19 + ], + [ + 39, + 1 + ] + ], + "doc": "Public: Get an array of all the active themes. " + } + }, + "39": { + "19": { + "name": "getLoadedThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 39, + 19 + ], + [ + 42, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded themes. " + } + }, + "42": { + "20": { + "name": "activatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "themePackages" + ], + "range": [ + [ + 42, + 20 + ], + [ + 42, + 55 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "24": { + "name": "getEnabledThemeNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 47, + 24 + ], + [ + 57, + 1 + ] + ], + "doc": " Private: Get the enabled theme names from the config.\n\nReturns an array of theme names in the order that they should be activated. " + } + }, + "57": { + "18": { + "name": "activateThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 18 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "20": { + "name": "deactivateThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 20 + ], + [ + 87, + 1 + ] + ], + "doc": "~Private~" + } + }, + "87": { + "20": { + "name": "refreshLessCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 87, + 20 + ], + [ + 93, + 1 + ] + ], + "doc": "~Private~" + } + }, + "93": { + "20": { + "name": "setEnabledThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "enabledThemeNames" + ], + "range": [ + [ + 93, + 20 + ], + [ + 96, + 1 + ] + ], + "doc": " Public: Set the list of enabled themes.\n\nenabledThemeNames - An {Array} of {String} theme names. " + } + }, + "96": { + "18": { + "name": "getImportPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 18 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "25": { + "name": "getUserStylesheetPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 25 + ], + [ + 116, + 1 + ] + ], + "doc": "Public: Returns the {String} path to the user's stylesheet under ~/.atom " + } + }, + "116": { + "25": { + "name": "unwatchUserStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 25 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "22": { + "name": "loadUserStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 121, + 22 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "23": { + "name": "loadBaseStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 23 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "25": { + "name": "reloadBaseStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 25 + ], + [ + 142, + 1 + ] + ], + "doc": "~Private~" + } + }, + "142": { + "26": { + "name": "stylesheetElementForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id", + "htmlElement" + ], + "range": [ + [ + 142, + 26 + ], + [ + 145, + 1 + ] + ], + "doc": "~Private~" + } + }, + "145": { + "21": { + "name": "resolveStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 145, + 21 + ], + [ + 160, + 1 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "21": { + "name": "requireStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "type", + "htmlElement" + ], + "range": [ + [ + 160, + 21 + ], + [ + 169, + 1 + ] + ], + "doc": " Public: Resolve and apply the stylesheet specified by the path.\n\nThis supports both CSS and LESS stylsheets.\n\nstylesheetPath - A {String} path to the stylesheet that can be an absolute\n path or a relative path that will be resolved against the\n load path.\n\nReturns the absolute path to the required stylesheet. " + } + }, + "169": { + "18": { + "name": "loadStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "importFallbackVariables" + ], + "range": [ + [ + 169, + 18 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "22": { + "name": "loadLessStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lessStylesheetPath", + "importFallbackVariables" + ], + "range": [ + [ + 175, + 22 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "14": { + "name": "stringToId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 197, + 14 + ], + [ + 200, + 1 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "20": { + "name": "removeStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 200, + 20 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "19": { + "name": "applyStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "text", + "type", + "htmlElement" + ], + "range": [ + [ + 209, + 19 + ], + [ + 222, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 15 + }, + "src/theme-package.coffee": { + "objects": { + "0": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 14 + ] + ], + "bindingType": "variable", + "module": "q@~1.0.1" + } + }, + "1": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 1, + 10 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "4": { + "0": { + "type": "class", + "name": "ThemePackage", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 5, + 11 + ], + [ + 7, + 21 + ], + [ + 9, + 10 + ], + [ + 12, + 11 + ], + [ + 15, + 8 + ], + [ + 23, + 12 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 31, + 31 + ] + ] + } + }, + "5": { + "11": { + "name": "getType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 11 + ], + [ + 5, + 20 + ] + ] + } + }, + "7": { + "21": { + "name": "getStylesheetType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 7, + 21 + ], + [ + 7, + 30 + ] + ], + "doc": "~Private~" + } + }, + "9": { + "10": { + "name": "enable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 10 + ], + [ + 12, + 1 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "11": { + "name": "disable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 12, + 11 + ], + [ + 15, + 1 + ] + ], + "doc": "~Private~" + } + }, + "15": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 15, + 8 + ], + [ + 23, + 1 + ] + ], + "doc": "~Private~" + } + }, + "23": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 23, + 12 + ], + [ + 31, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/token.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "1": { + "12": { + "name": "textUtils", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 33 + ] + ], + "bindingType": "variable", + "path": "./text-utils" + } + }, + "3": { + "31": { + "type": "primitive", + "range": [ + [ + 3, + 31 + ], + [ + 3, + 32 + ] + ] + } + }, + "4": { + "20": { + "name": "/^[ ]+/", + "type": "primitive", + "range": [ + [ + 4, + 20 + ], + [ + 4, + 26 + ] + ] + } + }, + "5": { + "21": { + "name": "/[ ]+$/", + "type": "primitive", + "range": [ + [ + 5, + 21 + ], + [ + 5, + 27 + ] + ] + } + }, + "6": { + "14": { + "name": "/[&\"'<>]/g", + "type": "primitive", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 23 + ] + ] + } + }, + "7": { + "17": { + "name": "/./g", + "type": "primitive", + "range": [ + [ + 7, + 17 + ], + [ + 7, + 20 + ] + ] + } + }, + "8": { + "22": { + "name": "/^./", + "type": "primitive", + "range": [ + [ + 8, + 22 + ], + [ + 8, + 25 + ] + ] + } + }, + "9": { + "16": { + "name": "/^\\.?/", + "type": "primitive", + "range": [ + [ + 9, + 16 + ], + [ + 9, + 21 + ] + ] + } + }, + "10": { + "18": { + "name": "/\\S/", + "type": "primitive", + "range": [ + [ + 10, + 18 + ], + [ + 10, + 21 + ] + ] + } + }, + "12": { + "17": { + "name": "20000", + "type": "primitive", + "range": [ + [ + 12, + 17 + ], + [ + 12, + 21 + ] + ] + } + }, + "16": { + "0": { + "type": "class", + "name": "Token", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 9 + ], + [ + 18, + 20 + ], + [ + 19, + 10 + ], + [ + 20, + 12 + ], + [ + 21, + 13 + ], + [ + 22, + 24 + ], + [ + 23, + 25 + ], + [ + 25, + 15 + ], + [ + 30, + 11 + ], + [ + 33, + 13 + ], + [ + 36, + 11 + ], + [ + 41, + 31 + ], + [ + 44, + 24 + ], + [ + 86, + 26 + ], + [ + 106, + 27 + ], + [ + 113, + 21 + ], + [ + 116, + 21 + ], + [ + 119, + 17 + ], + [ + 129, + 20 + ], + [ + 132, + 24 + ], + [ + 138, + 18 + ], + [ + 185, + 16 + ], + [ + 194, + 23 + ] + ], + "doc": "Private: Represents a single unit of text as selected by a grammar. ", + "range": [ + [ + 16, + 0 + ], + [ + 201, + 16 + ] + ] + } + }, + "17": { + "9": { + "name": "value", + "type": "primitive", + "range": [ + [ + 17, + 9 + ], + [ + 17, + 12 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "20": { + "name": "hasSurrogatePair", + "type": "primitive", + "range": [ + [ + 18, + 20 + ], + [ + 18, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "10": { + "name": "scopes", + "type": "primitive", + "range": [ + [ + 19, + 10 + ], + [ + 19, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "20": { + "12": { + "name": "isAtomic", + "type": "primitive", + "range": [ + [ + 20, + 12 + ], + [ + 20, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "13": { + "name": "isHardTab", + "type": "primitive", + "range": [ + [ + 21, + 13 + ], + [ + 21, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "22": { + "24": { + "name": "hasLeadingWhitespace", + "type": "primitive", + "range": [ + [ + 22, + 24 + ], + [ + 22, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "23": { + "25": { + "name": "hasTrailingWhitespace", + "type": "primitive", + "range": [ + [ + 23, + 25 + ], + [ + 23, + 29 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "25": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 25, + 15 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "isEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 30, + 11 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "13": { + "name": "isBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 33, + 13 + ], + [ + 36, + 1 + ] + ], + "doc": "~Private~" + } + }, + "36": { + "11": { + "name": "splitAt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "splitIndex" + ], + "range": [ + [ + 36, + 11 + ], + [ + 41, + 1 + ] + ], + "doc": "~Private~" + } + }, + "41": { + "31": { + "name": "whitespaceRegexForTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 41, + 31 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "24": { + "name": "breakOutAtomicTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "breakOutLeadingSoftTabs", + "startColumn" + ], + "range": [ + [ + 44, + 24 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "26": { + "name": "breakOutSurrogatePairs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 26 + ], + [ + 106, + 1 + ] + ], + "doc": "~Private~" + } + }, + "106": { + "27": { + "name": "buildSurrogatePairToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "index" + ], + "range": [ + [ + 106, + 27 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "21": { + "name": "buildHardTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "column" + ], + "range": [ + [ + 113, + 21 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "21": { + "name": "buildSoftTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 116, + 21 + ], + [ + 119, + 1 + ] + ], + "doc": "~Private~" + } + }, + "119": { + "17": { + "name": "buildTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "isHardTab", + "column" + ], + "range": [ + [ + 119, + 17 + ], + [ + 129, + 1 + ] + ], + "doc": "~Private~" + } + }, + "129": { + "20": { + "name": "isOnlyWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 129, + 20 + ], + [ + 132, + 1 + ] + ], + "doc": "~Private~" + } + }, + "132": { + "24": { + "name": "matchesScopeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 132, + 24 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "18": { + "name": "getValueAsHtml", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 138, + 18 + ], + [ + 185, + 1 + ] + ], + "doc": "~Private~" + } + }, + "185": { + "16": { + "name": "escapeString", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "str", + "startIndex", + "endIndex" + ], + "range": [ + [ + 185, + 16 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "23": { + "name": "escapeStringReplace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "match" + ], + "range": [ + [ + 194, + 23 + ], + [ + 201, + 16 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 16 + }, + "src/tokenized-buffer.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "3": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "4": { + "16": { + "name": "TokenizedLine", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 41 + ] + ], + "bindingType": "variable", + "path": "./tokenized-line" + } + }, + "5": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "8": { + "0": { + "type": "class", + "name": "TokenizedBuffer", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 11 + ], + [ + 14, + 23 + ], + [ + 15, + 10 + ], + [ + 16, + 18 + ], + [ + 17, + 13 + ], + [ + 18, + 15 + ], + [ + 19, + 11 + ], + [ + 21, + 15 + ], + [ + 48, + 19 + ], + [ + 52, + 21 + ], + [ + 56, + 14 + ], + [ + 64, + 17 + ], + [ + 70, + 23 + ], + [ + 76, + 23 + ], + [ + 82, + 14 + ], + [ + 88, + 16 + ], + [ + 94, + 16 + ], + [ + 96, + 24 + ], + [ + 103, + 21 + ], + [ + 133, + 19 + ], + [ + 136, + 15 + ], + [ + 139, + 17 + ], + [ + 144, + 21 + ], + [ + 153, + 22 + ], + [ + 173, + 48 + ], + [ + 183, + 30 + ], + [ + 200, + 41 + ], + [ + 203, + 39 + ], + [ + 210, + 37 + ], + [ + 220, + 20 + ], + [ + 225, + 22 + ], + [ + 228, + 15 + ], + [ + 231, + 21 + ], + [ + 257, + 22 + ], + [ + 266, + 21 + ], + [ + 269, + 20 + ], + [ + 273, + 33 + ], + [ + 278, + 33 + ], + [ + 299, + 30 + ], + [ + 314, + 39 + ], + [ + 329, + 22 + ], + [ + 344, + 22 + ], + [ + 362, + 14 + ], + [ + 365, + 16 + ], + [ + 368, + 12 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 371, + 40 + ] + ] + } + }, + "13": { + "11": { + "name": "grammar", + "type": "primitive", + "range": [ + [ + 13, + 11 + ], + [ + 13, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "23": { + "name": "currentGrammarScore", + "type": "primitive", + "range": [ + [ + 14, + 23 + ], + [ + 14, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "15": { + "10": { + "name": "buffer", + "type": "primitive", + "range": [ + [ + 15, + 10 + ], + [ + 15, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "18": { + "name": "tokenizedLines", + "type": "primitive", + "range": [ + [ + 16, + 18 + ], + [ + 16, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "17": { + "13": { + "name": "chunkSize", + "type": "primitive", + "range": [ + [ + 17, + 13 + ], + [ + 17, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "15": { + "name": "invalidRows", + "type": "primitive", + "range": [ + [ + 18, + 15 + ], + [ + 18, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 19, + 11 + ], + [ + 19, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 21, + 15 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 19 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 52, + 21 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar", + "score" + ], + "range": [ + [ + 56, + 14 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 17 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "23": { + "name": "hasTokenForSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 70, + 23 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "23": { + "name": "resetTokenizedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 23 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 82, + 14 + ], + [ + 88, + 1 + ] + ], + "doc": "~Private~" + } + }, + "88": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 16 + ], + [ + 94, + 1 + ] + ], + "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " + } + }, + "94": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 94, + 16 + ], + [ + 94, + 30 + ] + ], + "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " + } + }, + "96": { + "24": { + "name": "tokenizeInBackground", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 24 + ], + [ + 103, + 1 + ] + ], + "doc": "~Private~" + } + }, + "103": { + "21": { + "name": "tokenizeNextChunk", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 103, + 21 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "19": { + "name": "firstInvalidRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 19 + ], + [ + 136, + 1 + ] + ], + "doc": "~Private~" + } + }, + "136": { + "15": { + "name": "validateRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 136, + 15 + ], + [ + 139, + 1 + ] + ], + "doc": "~Private~" + } + }, + "139": { + "17": { + "name": "invalidateRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 139, + 17 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "21": { + "name": "updateInvalidRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end", + "delta" + ], + "range": [ + [ + 144, + 21 + ], + [ + 153, + 1 + ] + ], + "doc": "~Private~" + } + }, + "153": { + "22": { + "name": "handleBufferChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 153, + 22 + ], + [ + 173, + 1 + ] + ], + "doc": "~Private~" + } + }, + "173": { + "48": { + "name": "retokenizeWhitespaceRowsIfIndentLevelChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "increment" + ], + "range": [ + [ + 173, + 48 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "30": { + "name": "buildTokenizedLinesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow", + "startingStack" + ], + "range": [ + [ + 183, + 30 + ], + [ + 200, + 1 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "41": { + "name": "buildPlaceholderTokenizedLinesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 200, + 41 + ], + [ + 203, + 1 + ] + ], + "doc": "~Private~" + } + }, + "203": { + "39": { + "name": "buildPlaceholderTokenizedLineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 203, + 39 + ], + [ + 210, + 1 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "37": { + "name": "buildTokenizedTokenizedLineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "ruleStack" + ], + "range": [ + [ + 210, + 37 + ], + [ + 220, + 1 + ] + ], + "doc": "~Private~" + } + }, + "220": { + "20": { + "name": "lineForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 220, + 20 + ], + [ + 225, + 1 + ] + ], + "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " + } + }, + "225": { + "22": { + "name": "linesForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 225, + 22 + ], + [ + 228, + 1 + ] + ], + "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " + } + }, + "228": { + "15": { + "name": "stackForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 228, + 15 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "21": { + "name": "indentLevelForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 231, + 21 + ], + [ + 257, + 1 + ] + ], + "doc": "~Private~" + } + }, + "257": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 257, + 22 + ], + [ + 266, + 1 + ] + ], + "doc": "~Private~" + } + }, + "266": { + "21": { + "name": "scopesForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 266, + 21 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "20": { + "name": "tokenForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 269, + 20 + ], + [ + 273, + 1 + ] + ], + "doc": "~Private~" + } + }, + "273": { + "33": { + "name": "tokenStartPositionForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 273, + 33 + ], + [ + 278, + 1 + ] + ], + "doc": "~Private~" + } + }, + "278": { + "33": { + "name": "bufferRangeForScopeAtPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "position" + ], + "range": [ + [ + 278, + 33 + ], + [ + 299, + 1 + ] + ], + "doc": "~Private~" + } + }, + "299": { + "30": { + "name": "iterateTokensInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "iterator" + ], + "range": [ + [ + 299, + 30 + ], + [ + 314, + 1 + ] + ], + "doc": "~Private~" + } + }, + "314": { + "39": { + "name": "backwardsIterateTokensInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "iterator" + ], + "range": [ + [ + 314, + 39 + ], + [ + 329, + 1 + ] + ], + "doc": "~Private~" + } + }, + "329": { + "22": { + "name": "findOpeningBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferPosition" + ], + "range": [ + [ + 329, + 22 + ], + [ + 344, + 1 + ] + ], + "doc": "~Private~" + } + }, + "344": { + "22": { + "name": "findClosingBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferPosition" + ], + "range": [ + [ + 344, + 22 + ], + [ + 362, + 1 + ] + ], + "doc": "~Private~" + } + }, + "362": { + "14": { + "name": "getLastRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 362, + 14 + ], + [ + 365, + 1 + ] + ], + "doc": " Private: Gets the row number of the last line.\n\nReturns a {Number}. " + } + }, + "365": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 365, + 16 + ], + [ + 368, + 1 + ] + ], + "doc": "~Private~" + } + }, + "368": { + "12": { + "name": "logLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 368, + 12 + ], + [ + 371, + 40 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/tokenized-line.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "2": { + "12": { + "name": "1", + "type": "primitive", + "range": [ + [ + 2, + 12 + ], + [ + 2, + 12 + ] + ] + } + }, + "5": { + "0": { + "type": "class", + "name": "TokenizedLine", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 6, + 15 + ], + [ + 15, + 13 + ], + [ + 20, + 20 + ], + [ + 25, + 8 + ], + [ + 28, + 20 + ], + [ + 47, + 31 + ], + [ + 57, + 31 + ], + [ + 66, + 22 + ], + [ + 72, + 22 + ], + [ + 75, + 14 + ], + [ + 102, + 17 + ], + [ + 105, + 23 + ], + [ + 108, + 28 + ], + [ + 115, + 35 + ], + [ + 123, + 24 + ], + [ + 134, + 42 + ], + [ + 145, + 13 + ], + [ + 154, + 20 + ], + [ + 162, + 16 + ], + [ + 165, + 17 + ], + [ + 168, + 24 + ], + [ + 174, + 16 + ], + [ + 186, + 20 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 199, + 0 + ] + ] + } + }, + "6": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 6, + 15 + ], + [ + 15, + 1 + ] + ] + } + }, + "15": { + "13": { + "name": "buildText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 15, + 13 + ], + [ + 20, + 1 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "20": { + "name": "buildBufferDelta", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 20 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 8 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "20": { + "name": "clipScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "column", + "options" + ], + "range": [ + [ + 28, + 20 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "31": { + "name": "screenColumnForBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn", + "options" + ], + "range": [ + [ + 47, + 31 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "31": { + "name": "bufferColumnForScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenColumn", + "options" + ], + "range": [ + [ + 57, + 31 + ], + [ + 66, + 1 + ] + ], + "doc": "~Private~" + } + }, + "66": { + "22": { + "name": "getMaxScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 66, + 22 + ], + [ + 72, + 1 + ] + ], + "doc": "~Private~" + } + }, + "72": { + "22": { + "name": "getMaxBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 72, + 22 + ], + [ + 75, + 1 + ] + ], + "doc": "~Private~" + } + }, + "75": { + "14": { + "name": "softWrapAt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "column" + ], + "range": [ + [ + 75, + 14 + ], + [ + 102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "102": { + "17": { + "name": "isSoftWrapped", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 17 + ], + [ + 105, + 1 + ] + ], + "doc": "~Private~" + } + }, + "105": { + "23": { + "name": "tokenAtBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 105, + 23 + ], + [ + 108, + 1 + ] + ], + "doc": "~Private~" + } + }, + "108": { + "28": { + "name": "tokenIndexAtBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 108, + 28 + ], + [ + 115, + 1 + ] + ], + "doc": "~Private~" + } + }, + "115": { + "35": { + "name": "tokenStartColumnForBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 115, + 35 + ], + [ + 123, + 1 + ] + ], + "doc": "~Private~" + } + }, + "123": { + "24": { + "name": "breakOutAtomicTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "inputTokens" + ], + "range": [ + [ + 123, + 24 + ], + [ + 134, + 1 + ] + ], + "doc": "~Private~" + } + }, + "134": { + "42": { + "name": "markLeadingAndTrailingWhitespaceTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 134, + 42 + ], + [ + 145, + 1 + ] + ], + "doc": "~Private~" + } + }, + "145": { + "13": { + "name": "isComment", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 145, + 13 + ], + [ + 154, + 1 + ] + ], + "doc": "~Private~" + } + }, + "154": { + "20": { + "name": "isOnlyWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 20 + ], + [ + 162, + 1 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "16": { + "name": "tokenAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 162, + 16 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "17": { + "name": "getTokenCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 17 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "24": { + "name": "bufferColumnForToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetToken" + ], + "range": [ + [ + 168, + 24 + ], + [ + 174, + 1 + ] + ], + "doc": "~Private~" + } + }, + "174": { + "16": { + "name": "getScopeTree", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 174, + 16 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "20": { + "name": "updateScopeStack", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 186, + 20 + ], + [ + 199, + 0 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "0": { + "type": "class", + "name": "Scope", + "classProperties": [], + "prototypeProperties": [ + [ + 201, + 15 + ] + ], + "doc": "~Private~", + "range": [ + [ + 200, + 0 + ], + [ + 202, + 18 + ] + ] + } + }, + "201": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 201, + 15 + ], + [ + 202, + 18 + ] + ] + } + } + }, + "exports": 5 + }, + "src/window-bootstrap.coffee": { + "objects": { + "1": { + "12": { + "name": "startTime", + "type": "function", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 21 + ] + ] + } + }, + "5": { + "7": { + "name": "Atom", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "path": "./atom" + } + }, + "6": { + "14": { + "name": "window.atom", + "type": "function", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 40 + ] + ] + } + } + }, + "exports": {} + }, + "src/window-event-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "2": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "3": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 3, + 8 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.1" + } + }, + "9": { + "0": { + "type": "class", + "name": "WindowEventHandler", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 81, + 27 + ], + [ + 96, + 13 + ], + [ + 100, + 12 + ], + [ + 106, + 25 + ], + [ + 116, + 13 + ], + [ + 137, + 17 + ] + ], + "doc": "Private: Handles low-level events related to the window. ", + "range": [ + [ + 9, + 0 + ], + [ + 156, + 28 + ] + ] + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 12, + 15 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "27": { + "name": "handleNativeKeybindings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 81, + 27 + ], + [ + 96, + 1 + ] + ], + "doc": " Private: Wire commands that should be handled by the native menu\nfor elements with the `.native-key-bindings` class. " + } + }, + "96": { + "13": { + "name": "onKeydown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 96, + 13 + ], + [ + 100, + 1 + ] + ], + "doc": "~Private~" + } + }, + "100": { + "12": { + "name": "openLink", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 100, + 12 + ], + [ + 106, + 1 + ] + ], + "doc": "~Private~" + } + }, + "106": { + "25": { + "name": "eachTabIndexedElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 106, + 25 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "13": { + "name": "focusNext", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 13 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "17": { + "name": "focusPrevious", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 17 + ], + [ + 156, + 28 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 9 + }, + "src/window.coffee": { + "objects": { + "7": { + "17": { + "name": "window.measure", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "description", + "fn" + ], + "range": [ + [ + 7, + 17 + ], + [ + 20, + 51 + ] + ], + "doc": null + } + }, + "21": { + "17": { + "name": "window.profile", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "description", + "fn" + ], + "range": [ + [ + 21, + 17 + ], + [ + 26, + 9 + ] + ], + "doc": null + } + } + }, + "exports": {} + }, + "src/workspace-view.coffee": { + "objects": { + "0": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 14 + ] + ], + "bindingType": "variable", + "module": "q@~1.0.1" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "4": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 4, + 12 + ], + [ + 4, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + }, + "12": { + "type": "import", + "range": [ + [ + 5, + 12 + ], + [ + 5, + 33 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "logDeprecationWarnings", + "exportsProperty": "logDeprecationWarnings" + } + }, + "6": { + "17": { + "name": "scrollbarStyle", + "type": "import", + "range": [ + [ + 6, + 17 + ], + [ + 6, + 41 + ] + ], + "bindingType": "variable", + "module": "scrollbar-style" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 5 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + }, + "8": { + "type": "import", + "range": [ + [ + 7, + 8 + ], + [ + 7, + 11 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "8": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 8, + 5 + ], + [ + 8, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.1" + } + }, + "9": { + "12": { + "name": "Workspace", + "type": "import", + "range": [ + [ + 9, + 12 + ], + [ + 9, + 32 + ] + ], + "bindingType": "variable", + "path": "./workspace" + } + }, + "10": { + "19": { + "name": "CommandInstaller", + "type": "import", + "range": [ + [ + 10, + 19 + ], + [ + 10, + 47 + ] + ], + "bindingType": "variable", + "path": "./command-installer" + } + }, + "11": { + "13": { + "name": "EditorView", + "type": "import", + "range": [ + [ + 11, + 13 + ], + [ + 11, + 35 + ] + ], + "bindingType": "variable", + "path": "./editor-view" + } + }, + "12": { + "11": { + "name": "PaneView", + "type": "import", + "range": [ + [ + 12, + 11 + ], + [ + 12, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-view" + } + }, + "13": { + "17": { + "name": "PaneColumnView", + "type": "import", + "range": [ + [ + 13, + 17 + ], + [ + 13, + 44 + ] + ], + "bindingType": "variable", + "path": "./pane-column-view" + } + }, + "14": { + "14": { + "name": "PaneRowView", + "type": "import", + "range": [ + [ + 14, + 14 + ], + [ + 14, + 38 + ] + ], + "bindingType": "variable", + "path": "./pane-row-view" + } + }, + "15": { + "20": { + "name": "PaneContainerView", + "type": "import", + "range": [ + [ + 15, + 20 + ], + [ + 15, + 50 + ] + ], + "bindingType": "variable", + "path": "./pane-container-view" + } + }, + "16": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 16, + 9 + ], + [ + 16, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "55": { + "0": { + "type": "class", + "name": "WorkspaceView", + "bindingType": "exports", + "classProperties": [ + [ + 63, + 12 + ], + [ + 66, + 4 + ], + [ + 75, + 12 + ] + ], + "prototypeProperties": [ + [ + 81, + 14 + ], + [ + 168, + 12 + ], + [ + 171, + 24 + ], + [ + 191, + 15 + ], + [ + 205, + 15 + ], + [ + 209, + 16 + ], + [ + 213, + 15 + ], + [ + 223, + 12 + ], + [ + 233, + 18 + ], + [ + 238, + 16 + ], + [ + 242, + 15 + ], + [ + 247, + 19 + ], + [ + 252, + 18 + ], + [ + 257, + 17 + ], + [ + 262, + 16 + ], + [ + 267, + 18 + ], + [ + 272, + 17 + ], + [ + 281, + 21 + ], + [ + 287, + 17 + ], + [ + 291, + 25 + ], + [ + 294, + 21 + ], + [ + 297, + 22 + ], + [ + 300, + 22 + ], + [ + 303, + 23 + ], + [ + 306, + 24 + ], + [ + 315, + 16 + ], + [ + 325, + 16 + ], + [ + 336, + 18 + ], + [ + 344, + 16 + ], + [ + 347, + 21 + ], + [ + 350, + 23 + ], + [ + 353, + 23 + ], + [ + 356, + 18 + ], + [ + 368, + 12 + ], + [ + 373, + 12 + ], + [ + 378, + 17 + ], + [ + 383, + 21 + ] + ], + "doc": " Public: The top-level view for the entire window. An instance of this class is\navailable via the `atom.workspaceView` global.\n\nIt is backed by a model object, an instance of {Workspace}, which is available\nvia the `atom.workspace` global or {::getModel}. You should prefer to interact\nwith the model object when possible, but it won't always be possible with the\ncurrent API.\n\n## Adding Perimeter Panels\n\nUse the following methods if possible to attach panels to the perimeter of the\nworkspace rather than manipulating the DOM directly to better insulate you to\nchanges in the workspace markup:\n\n* {::prependToTop}\n* {::appendToTop}\n* {::prependToBottom}\n* {::appendToBottom}\n* {::prependToLeft}\n* {::appendToLeft}\n* {::prependToRight}\n* {::appendToRight}\n\n## Requiring in package specs\n\nIf you need a `WorkspaceView` instance to test your package, require it via\nthe built-in `atom` module.\n\n```coffee\n {WorkspaceView} = require 'atom'\n```\n\nYou can assign it to the `atom.workspaceView` global in the spec or just use\nit as a local, depending on what you're trying to accomplish. Building the\n`WorkspaceView` is currently expensive, so you should try build a {Workspace}\ninstead if possible. ", + "range": [ + [ + 55, + 0 + ], + [ + 385, + 25 + ] + ] + } + }, + "63": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 63, + 12 + ], + [ + 63, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "66": { + "4": { + "name": "configDefaults", + "type": "primitive", + "range": [ + [ + 66, + 4 + ], + [ + 73, + 23 + ] + ], + "bindingType": "classProperty" + } + }, + "75": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 75, + 12 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 81, + 14 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 12 + ], + [ + 168, + 20 + ] + ], + "doc": " Public: Get the underlying model object.\n\nReturns a {Workspace}. " + } + }, + "171": { + "24": { + "name": "installShellCommands", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 24 + ], + [ + 191, + 1 + ] + ], + "doc": "Public: Install the Atom shell commands on the user's system. " + } + }, + "191": { + "15": { + "name": "handleFocus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 191, + 15 + ], + [ + 205, + 1 + ] + ], + "doc": "~Private~" + } + }, + "205": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 205, + 15 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "16": { + "name": "confirmClose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 209, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": "Private: Prompts to save all unsaved items " + } + }, + "213": { + "15": { + "name": "updateTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 15 + ], + [ + 223, + 1 + ] + ], + "doc": "Private: Updates the application's title, based on whichever file is open. " + } + }, + "223": { + "12": { + "name": "setTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "title" + ], + "range": [ + [ + 223, + 12 + ], + [ + 233, + 1 + ] + ], + "doc": "Private: Sets the application's title. " + } + }, + "233": { + "18": { + "name": "getEditorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 233, + 18 + ], + [ + 238, + 1 + ] + ], + "doc": " Private: Get all editor views.\n\nYou should prefer {Workspace::getEditors} unless you absolutely need access\nto the view objects. Also consider using {::eachEditorView}, which will call\na callback for all current and *future* editor views.\n\nReturns an {Array} of {EditorView}s. " + } + }, + "238": { + "16": { + "name": "prependToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 238, + 16 + ], + [ + 242, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the top of the\nworkspace. " + } + }, + "242": { + "15": { + "name": "appendToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 242, + 15 + ], + [ + 247, + 1 + ] + ], + "doc": "Public: Append an element or view to the panels at the top of the workspace. " + } + }, + "247": { + "19": { + "name": "prependToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 247, + 19 + ], + [ + 252, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the bottom of the\nworkspace. " + } + }, + "252": { + "18": { + "name": "appendToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 252, + 18 + ], + [ + 257, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the bottom of the\nworkspace. " + } + }, + "257": { + "17": { + "name": "prependToLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 257, + 17 + ], + [ + 262, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the left of the\nworkspace. " + } + }, + "262": { + "16": { + "name": "appendToLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 262, + 16 + ], + [ + 267, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the left of the\nworkspace. " + } + }, + "267": { + "18": { + "name": "prependToRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 267, + 18 + ], + [ + 272, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the right of the\nworkspace. " + } + }, + "272": { + "17": { + "name": "appendToRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 272, + 17 + ], + [ + 281, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the right of the\nworkspace. " + } + }, + "281": { + "21": { + "name": "getActivePaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 281, + 21 + ], + [ + 287, + 1 + ] + ], + "doc": " Public: Get the active pane view.\n\nPrefer {Workspace::getActivePane} if you don't actually need access to the\nview.\n\nReturns a {PaneView}. " + } + }, + "287": { + "17": { + "name": "getActiveView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 287, + 17 + ], + [ + 291, + 1 + ] + ], + "doc": " Public: Get the view associated with the active pane item.\n\nReturns a view. " + } + }, + "291": { + "25": { + "name": "focusPreviousPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 291, + 25 + ], + [ + 291, + 56 + ] + ], + "doc": "Private: Focus the previous pane by id. " + } + }, + "294": { + "21": { + "name": "focusNextPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 294, + 21 + ], + [ + 294, + 48 + ] + ], + "doc": "Private: Focus the next pane by id. " + } + }, + "297": { + "22": { + "name": "focusPaneViewAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 22 + ], + [ + 297, + 51 + ] + ], + "doc": "Public: Focus the pane directly above the active pane. " + } + }, + "300": { + "22": { + "name": "focusPaneViewBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 300, + 22 + ], + [ + 300, + 51 + ] + ], + "doc": "Public: Focus the pane directly below the active pane. " + } + }, + "303": { + "23": { + "name": "focusPaneViewOnLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 303, + 23 + ], + [ + 303, + 53 + ] + ], + "doc": "Public: Focus the pane directly to the left of the active pane. " + } + }, + "306": { + "24": { + "name": "focusPaneViewOnRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 306, + 24 + ], + [ + 306, + 55 + ] + ], + "doc": "Public: Focus the pane directly to the right of the active pane. " + } + }, + "315": { + "16": { + "name": "eachPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 315, + 16 + ], + [ + 325, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\npane view in the workspace.\n\ncallback - A {Function} with a {PaneView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "325": { + "16": { + "name": "getPaneViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 325, + 16 + ], + [ + 336, + 1 + ] + ], + "doc": " Public: Get all existing pane views.\n\nPrefer {Workspace::getPanes} if you don't need access to the view objects.\nAlso consider using {::eachPaneView} if you want to register a callback for\nall current and *future* pane views.\n\nReturns an Array of all open {PaneView}s. " + } + }, + "336": { + "18": { + "name": "eachEditorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 336, + 18 + ], + [ + 344, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\neditor view in the workspace (only includes {EditorView}s that are pane\nitems).\n\ncallback - A {Function} with an {EditorView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "344": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 344, + 16 + ], + [ + 347, + 1 + ] + ], + "doc": "Private: Called by SpacePen " + } + }, + "347": { + "21": { + "name": "setEditorFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 347, + 21 + ], + [ + 350, + 1 + ] + ], + "doc": "~Private~" + } + }, + "350": { + "23": { + "name": "setEditorFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 350, + 23 + ], + [ + 353, + 1 + ] + ], + "doc": "~Private~" + } + }, + "353": { + "23": { + "name": "setEditorLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 353, + 23 + ], + [ + 356, + 1 + ] + ], + "doc": "~Private~" + } + }, + "356": { + "18": { + "name": "setEditorStyle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "property", + "value" + ], + "range": [ + [ + 356, + 18 + ], + [ + 368, + 1 + ] + ], + "doc": "~Private~" + } + }, + "368": { + "12": { + "name": "eachPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 368, + 12 + ], + [ + 373, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "373": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 373, + 12 + ], + [ + 378, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "378": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 378, + 17 + ], + [ + 383, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "383": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 383, + 21 + ], + [ + 385, + 25 + ] + ], + "doc": "Deprecated: Call {Workspace::getActivePaneItem} instead. " + } + } + }, + "exports": 55 + }, + "src/workspace.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 4 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true, + "name": "join", + "exportsProperty": "join" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "4": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 4, + 4 + ], + [ + 4, + 14 + ] + ], + "bindingType": "variable", + "module": "q@~1.0.1" + } + }, + "5": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 5, + 15 + ], + [ + 5, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "6": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 6, + 12 + ], + [ + 6, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato" + } + }, + "7": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "8": { + "16": { + "name": "PaneContainer", + "type": "import", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 41 + ] + ], + "bindingType": "variable", + "path": "./pane-container" + } + }, + "9": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 9, + 7 + ], + [ + 9, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "18": { + "0": { + "type": "class", + "name": "Workspace", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 47, + 21 + ], + [ + 55, + 19 + ], + [ + 60, + 37 + ], + [ + 74, + 15 + ], + [ + 84, + 14 + ], + [ + 91, + 14 + ], + [ + 118, + 8 + ], + [ + 135, + 15 + ], + [ + 150, + 12 + ], + [ + 168, + 17 + ], + [ + 193, + 14 + ], + [ + 200, + 18 + ], + [ + 217, + 18 + ], + [ + 221, + 20 + ], + [ + 224, + 14 + ], + [ + 230, + 17 + ], + [ + 236, + 12 + ], + [ + 240, + 11 + ], + [ + 244, + 20 + ], + [ + 248, + 24 + ], + [ + 254, + 14 + ], + [ + 260, + 21 + ], + [ + 269, + 22 + ], + [ + 277, + 24 + ], + [ + 284, + 25 + ], + [ + 288, + 21 + ], + [ + 295, + 19 + ], + [ + 299, + 20 + ], + [ + 303, + 20 + ], + [ + 308, + 17 + ], + [ + 312, + 14 + ], + [ + 317, + 23 + ], + [ + 322, + 13 + ] + ], + "doc": " Public: Represents the state of the user interface for the entire window.\nAn instance of this class is available via the `atom.workspace` global.\n\nInteract with this object to open files, be notified of current and future\neditors, and manipulate panes. To add panels, you'll need to use the\n{WorkspaceView} class for now until we establish APIs at the model layer. ", + "range": [ + [ + 18, + 0 + ], + [ + 323, + 28 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 15 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 47, + 21 + ], + [ + 55, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during deserialization " + } + }, + "55": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 19 + ], + [ + 60, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during serialization. " + } + }, + "60": { + "37": { + "name": "getPackageNamesWithActiveGrammars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 60, + 37 + ], + [ + 74, + 1 + ] + ], + "doc": "~Private~" + } + }, + "74": { + "15": { + "name": "editorAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 74, + 15 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "14": { + "name": "eachEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 84, + 14 + ], + [ + 91, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\n{Editor} in the workspace.\n\ncallback - A {Function} with an {Editor} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "91": { + "14": { + "name": "getEditors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 14 + ], + [ + 118, + 1 + ] + ], + "doc": " Public: Get all current editors in the workspace.\n\nReturns an {Array} of {Editor}s. " + } + }, + "118": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "options" + ], + "range": [ + [ + 118, + 8 + ], + [ + 135, + 1 + ] + ], + "doc": " Public: Open a given a URI in Atom asynchronously.\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :split - Either 'left' or 'right'. If 'left', the item will be opened in\n leftmost pane of the current active pane's row. If 'right', the\n item will be opened in the rightmost pane of the current active\n pane's row.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`.\n :searchAllPanes - A {Boolean}. If `true`, the workspace will attempt to\n activate an existing item for the given URI on any pane.\n If `false`, only the active pane will be searched for\n an existing item for the same URI. Defaults to `false`.\n\nReturns a promise that resolves to the {Editor} for the file URI. " + } + }, + "135": { + "15": { + "name": "openLicense", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 135, + 15 + ], + [ + 150, + 1 + ] + ], + "doc": "Public: Open Atom's license in the active pane. " + } + }, + "150": { + "12": { + "name": "openSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "options" + ], + "range": [ + [ + 150, + 12 + ], + [ + 168, + 1 + ] + ], + "doc": " Private: Synchronously open the given URI in the active pane. **Only use this method\nin specs. Calling this in production code will block the UI thread and\neveryone will be mad at you.**\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`. " + } + }, + "168": { + "17": { + "name": "openUriInPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "pane", + "options" + ], + "range": [ + [ + 168, + 17 + ], + [ + 193, + 1 + ] + ], + "doc": "~Private~" + } + }, + "193": { + "14": { + "name": "reopenItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 193, + 14 + ], + [ + 200, + 1 + ] + ], + "doc": " Public: Asynchronously reopens the last-closed item's URI if it hasn't already been\nreopened.\n\nReturns a promise that is resolved when the item is opened " + } + }, + "200": { + "18": { + "name": "reopenItemSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 200, + 18 + ], + [ + 217, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "217": { + "18": { + "name": "registerOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 217, + 18 + ], + [ + 221, + 1 + ] + ], + "doc": " Public: Register an opener for a uri.\n\nAn {Editor} will be used if no openers return a value.\n\n## Example\n```coffeescript\n atom.project.registerOpener (uri) ->\n if path.extname(uri) is '.toml'\n return new TomlEditor(uri)\n```\n\nopener - A {Function} to be called when a path is being opened. " + } + }, + "221": { + "20": { + "name": "unregisterOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 221, + 20 + ], + [ + 224, + 1 + ] + ], + "doc": "Public: Unregister an opener registered with {::registerOpener}. " + } + }, + "224": { + "14": { + "name": "getOpeners", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 14 + ], + [ + 230, + 1 + ] + ], + "doc": "~Private~" + } + }, + "230": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 230, + 17 + ], + [ + 236, + 1 + ] + ], + "doc": " Public: Get the active {Pane}.\n\nReturns a {Pane}. " + } + }, + "236": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 236, + 12 + ], + [ + 240, + 1 + ] + ], + "doc": " Public: Get all {Pane}s.\n\nReturns an {Array} of {Pane}s. " + } + }, + "240": { + "11": { + "name": "saveAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 240, + 11 + ], + [ + 244, + 1 + ] + ], + "doc": "Public: Save all pane items. " + } + }, + "244": { + "20": { + "name": "activateNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 244, + 20 + ], + [ + 248, + 1 + ] + ], + "doc": "Public: Make the next pane active. " + } + }, + "248": { + "24": { + "name": "activatePreviousPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 248, + 24 + ], + [ + 254, + 1 + ] + ], + "doc": "Public: Make the previous pane active. " + } + }, + "254": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 254, + 14 + ], + [ + 260, + 1 + ] + ], + "doc": " Public: Get the first pane {Pane} with an item for the given URI.\n\nReturns a {Pane} or `undefined` if no pane exists for the given URI. " + } + }, + "260": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 21 + ], + [ + 269, + 1 + ] + ], + "doc": " Public: Get the active {Pane}'s active item.\n\nReturns an pane item {Object}. " + } + }, + "269": { + "22": { + "name": "saveActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 22 + ], + [ + 277, + 1 + ] + ], + "doc": " Public: Save the active pane item.\n\nIf the active pane item currently has a URI according to the item's\n`.getUri` method, calls `.save` on the item. Otherwise\n{::saveActivePaneItemAs} # will be called instead. This method does nothing\nif the active item does not implement a `.save` method. " + } + }, + "277": { + "24": { + "name": "saveActivePaneItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 277, + 24 + ], + [ + 284, + 1 + ] + ], + "doc": " Public: Prompt the user for a path and save the active pane item to it.\n\nOpens a native dialog where the user selects a path on disk, then calls\n`.saveAs` on the item with the selected path. This method does nothing if\nthe active item does not implement a `.saveAs` method. " + } + }, + "284": { + "25": { + "name": "destroyActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 25 + ], + [ + 288, + 1 + ] + ], + "doc": " Public: Destroy (close) the active pane item.\n\nRemoves the active pane item and calls the `.destroy` method on it if one is\ndefined. " + } + }, + "288": { + "21": { + "name": "destroyActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 288, + 21 + ], + [ + 295, + 1 + ] + ], + "doc": "Public: Destroy (close) the active pane. " + } + }, + "295": { + "19": { + "name": "getActiveEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 295, + 19 + ], + [ + 299, + 1 + ] + ], + "doc": " Public: Get the active item if it is an {Editor}.\n\nReturns an {Editor} or `undefined` if the current active item is not an\n{Editor}. " + } + }, + "299": { + "20": { + "name": "increaseFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 299, + 20 + ], + [ + 303, + 1 + ] + ], + "doc": "Public: Increase the editor font size by 1px. " + } + }, + "303": { + "20": { + "name": "decreaseFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 303, + 20 + ], + [ + 308, + 1 + ] + ], + "doc": "Public: Decrease the editor font size by 1px. " + } + }, + "308": { + "17": { + "name": "resetFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 308, + 17 + ], + [ + 312, + 1 + ] + ], + "doc": "Public: Restore to a default editor font size. " + } + }, + "312": { + "14": { + "name": "itemOpened", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 312, + 14 + ], + [ + 317, + 1 + ] + ], + "doc": "Private: Removes the item's uri from the list of potential items to reopen. " + } + }, + "317": { + "23": { + "name": "onPaneItemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 317, + 23 + ], + [ + 322, + 1 + ] + ], + "doc": "Private: Adds the destroyed item's uri to the list of items to reopen. " + } + }, + "322": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 322, + 13 + ], + [ + 323, + 28 + ] + ], + "doc": "Private: Called by Model superclass when destroyed " + } + } + }, + "exports": 18 + }, + "src/key-binding.coffee": { + "objects": { + "0": { + "7": { + "name": "Grim", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "grim" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "calculateSpecificity", + "exportsProperty": "calculateSpecificity" + } + }, + "4": { + "0": { + "type": "class", + "name": "KeyBinding", + "bindingType": "exports", + "classProperties": [ + [ + 5, + 17 + ] + ], + "prototypeProperties": [ + [ + 7, + 11 + ], + [ + 9, + 15 + ], + [ + 23, + 11 + ], + [ + 30, + 11 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 34, + 43 + ] + ] + } + }, + "5": { + "17": { + "name": "currentIndex", + "type": "primitive", + "range": [ + [ + 5, + 17 + ], + [ + 5, + 17 + ] + ], + "bindingType": "classProperty" + } + }, + "7": { + "11": { + "name": "enabled", + "type": "primitive", + "range": [ + [ + 7, + 11 + ], + [ + 7, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null, + null, + "selector" + ], + "range": [ + [ + 9, + 15 + ], + [ + 23, + 1 + ] + ], + "doc": "~Private~" + } + }, + "23": { + "11": { + "name": "matches", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystroke" + ], + "range": [ + [ + 23, + 11 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyBinding" + ], + "range": [ + [ + 30, + 11 + ], + [ + 34, + 43 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/keymap-manager.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "1": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "2": { + "7": { + "name": "Grim", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "grim" + } + }, + "3": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 3, + 5 + ], + [ + 3, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.1" + } + }, + "4": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 4 + ] + ], + "bindingType": "variable", + "module": "pathwatcher", + "name": "File", + "exportsProperty": "File" + } + }, + "7": { + "13": { + "name": "KeyBinding", + "type": "import", + "range": [ + [ + 7, + 13 + ], + [ + 7, + 35 + ] + ], + "bindingType": "variable", + "path": "./key-binding" + } + }, + "8": { + "15": { + "name": "CommandEvent", + "type": "import", + "range": [ + [ + 8, + 15 + ], + [ + 8, + 39 + ] + ], + "bindingType": "variable", + "path": "./command-event" + } + }, + "9": { + "1": { + "type": "import", + "range": [ + [ + 9, + 1 + ], + [ + 9, + 19 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "normalizeKeystrokes", + "exportsProperty": "normalizeKeystrokes" + }, + "22": { + "type": "import", + "range": [ + [ + 9, + 22 + ], + [ + 9, + 46 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "keystrokeForKeyboardEvent", + "exportsProperty": "keystrokeForKeyboardEvent" + }, + "49": { + "type": "import", + "range": [ + [ + 9, + 49 + ], + [ + 9, + 62 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "isAtomModifier", + "exportsProperty": "isAtomModifier" + }, + "65": { + "type": "import", + "range": [ + [ + 9, + 65 + ], + [ + 9, + 76 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "keydownEvent", + "exportsProperty": "keydownEvent" + } + }, + "11": { + "12": { + "type": "primitive", + "range": [ + [ + 11, + 12 + ], + [ + 11, + 59 + ] + ] + } + }, + "12": { + "17": { + "name": "OtherPlatforms", + "type": "function", + "range": [ + [ + 12, + 17 + ], + [ + 12, + 77 + ] + ] + } + }, + "84": { + "0": { + "type": "class", + "name": "KeymapManager", + "bindingType": "exports", + "classProperties": [ + [ + 99, + 17 + ] + ], + "prototypeProperties": [ + [ + 103, + 23 + ], + [ + 105, + 17 + ], + [ + 106, + 25 + ], + [ + 107, + 29 + ], + [ + 117, + 15 + ], + [ + 125, + 11 + ], + [ + 132, + 18 + ], + [ + 141, + 7 + ], + [ + 164, + 14 + ], + [ + 179, + 15 + ], + [ + 190, + 10 + ], + [ + 212, + 23 + ], + [ + 289, + 19 + ], + [ + 314, + 16 + ], + [ + 324, + 14 + ], + [ + 338, + 27 + ], + [ + 345, + 21 + ], + [ + 349, + 23 + ], + [ + 365, + 22 + ], + [ + 385, + 20 + ], + [ + 390, + 25 + ], + [ + 394, + 21 + ], + [ + 400, + 22 + ], + [ + 410, + 25 + ], + [ + 427, + 24 + ], + [ + 446, + 36 + ], + [ + 460, + 29 + ], + [ + 464, + 13 + ], + [ + 469, + 16 + ], + [ + 475, + 18 + ], + [ + 484, + 27 + ], + [ + 490, + 12 + ], + [ + 497, + 25 + ], + [ + 502, + 27 + ], + [ + 507, + 30 + ], + [ + 513, + 40 + ], + [ + 519, + 42 + ] + ], + "doc": " Public: Allows commands to be associated with keystrokes in a\ncontext-sensitive way. In Atom, you can access a global instance of this\nobject via `atom.keymap`.\n\nKey bindings are plain JavaScript objects containing **CSS selectors** as\ntheir top level keys, then **keystroke patterns** mapped to commands.\n\n```cson\n'.workspace':\n 'ctrl-l': 'package:do-something'\n 'ctrl-z': 'package:do-something-else'\n'.mini.editor':\n 'enter': 'core:confirm'\n```\n\nWhen a keystroke sequence matches a binding in a given context, a custom DOM\nevent with a type based on the command is dispatched on the target of the\nkeyboard event.\n\nTo match a keystroke sequence, the keymap starts at the target element for the\nkeyboard event. It looks for key bindings associated with selectors that match\nthe target element. If multiple match, the most specific is selected. If there\nis a tie in specificity, the most recently added binding wins. If no bindings\nare found for the events target, the search is repeated again for the target's\nparent node and so on recursively until a binding is found or we traverse off\nthe top of the document.\n\nWhen a binding is found, its command event is always dispatched on the\noriginal target of the keyboard event, even if the matching element is higher\nup in the DOM. In addition, `.preventDefault()` is called on the keyboard\nevent to prevent the browser from taking action. `.preventDefault` is only\ncalled if a matching binding is found.\n\nCommand event objects have a non-standard method called `.abortKeyBinding()`.\nIf your command handler is invoked but you programmatically determine that no\naction can be taken and you want to allow other bindings to be matched, call\n`.abortKeyBinding()` on the event object. An example of where this is useful\nis binding snippet expansion to `tab`. If `snippets:expand` is invoked when\nthe cursor does not follow a valid snippet prefix, we abort the binding and\nallow `tab` to be handled by the default handler, which inserts whitespace.\n\nMulti-keystroke bindings are possible. If a sequence of one or more keystrokes\n*partially* matches a multi-keystroke binding, the keymap enters a pending\nstate. The pending state is terminated on the next keystroke, or after\n{::partialMatchTimeout} milliseconds has elapsed. When the pending state is\nterminated via a timeout or a keystroke that leads to no matches, the longest\nambiguous bindings that caused the pending state are temporarily disabled and\nthe previous keystrokes are replayed. If there is ambiguity again during the\nreplay, the next longest bindings are disabled and the keystrokes are replayed\nagain.\n\n## Events\n\n* `matched` -\n Emitted when keystrokes match a binding.\n * keystrokes - The keystroke {String} that matched the binding\n * binding - The {KeyBinding} that was used\n * keyboardEventTarget - The target element of the keyboard event\n\n* `matched-partially` -\n Emitted when keystrokes partially match one or more bindings.\n * keystrokes - The keystroke {String} that partially match some bindings\n * partiallyMatchedBindings - The {KeyBinding}s that partially matched\n * keyboardEventTarget - The target element of the keyboard event\n\n* `match-failed` -\n Emitted when keystrokes don't match any bindings.\n * keystrokes - The keystroke {String} that matched no bindings\n * keyboardEventTarget - The target element of the keyboard event ", + "range": [ + [ + 84, + 0 + ], + [ + 521, + 62 + ] + ] + } + }, + "99": { + "17": { + "name": "keydownEvent", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "key", + "options" + ], + "range": [ + [ + 99, + 17 + ], + [ + 99, + 60 + ] + ], + "doc": " Public: Create a keydown DOM event for testing purposes.\n\nkey - The key or keyIdentifier of the event. For example, 'a', '1',\n 'escape', 'backspace', etc.\noptions - An {Object} containing any of the following:\n :ctrl - A {Boolean} indicating the ctrl modifier key\n :alt - A {Boolean} indicating the alt modifier key\n :shift - A {Boolean} indicating the shift modifier key\n :cmd - A {Boolean} indicating the cmd modifier key\n :which - A {Number} indicating `which` value of the event. See\n the docs for KeyboardEvent for more information.\n :target - The target element of the event. " + } + }, + "103": { + "23": { + "name": "partialMatchTimeout", + "type": "primitive", + "range": [ + [ + 103, + 23 + ], + [ + 103, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "105": { + "17": { + "name": "defaultTarget", + "type": "primitive", + "range": [ + [ + 105, + 17 + ], + [ + 105, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "106": { + "25": { + "name": "pendingPartialMatches", + "type": "primitive", + "range": [ + [ + 106, + 25 + ], + [ + 106, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "107": { + "29": { + "name": "pendingStateTimeoutHandle", + "type": "primitive", + "range": [ + [ + 107, + 29 + ], + [ + 107, + 32 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "117": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 117, + 15 + ], + [ + 125, + 1 + ] + ], + "doc": " Public:\n\noptions - An {Object} containing properties to assign to the keymap: You can\n pass custom properties to be used by extension methods. The following\n properties are also supported:\n :defaultTarget - This will be used as the target of events whose target\n is `document.body` to allow for a catch-all element when nothing is\n focused " + } + }, + "125": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 125, + 11 + ], + [ + 132, + 1 + ] + ], + "doc": "Public: Unwatch all watched paths. " + } + }, + "132": { + "18": { + "name": "getKeyBindings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 132, + 18 + ], + [ + 141, + 1 + ] + ], + "doc": " Public: Get all current key bindings.\n\nReturns an {Array} of {KeyBinding}s. " + } + }, + "141": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source", + "keyBindingsBySelector" + ], + "range": [ + [ + 141, + 7 + ], + [ + 164, + 1 + ] + ], + "doc": " Public: Add sets of key bindings grouped by CSS selector.\n\nsource - A {String} (usually a path) uniquely identifying the given bindings\n so they can be removed later.\nbindings - An {Object} whose top-level keys point at sub-objects mapping\n keystroke patterns to commands. " + } + }, + "164": { + "14": { + "name": "loadKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bindingsPath", + "options" + ], + "range": [ + [ + 164, + 14 + ], + [ + 179, + 1 + ] + ], + "doc": " Public: Load the key bindings from the given path.\n\npath - A {String} containing a path to a file or a directory. If the path is\n a directory, all files inside it will be loaded.\noptions - An {Object} containing the following optional keys:\n :watch - If `true`, the keymap will also reload the file at the given path\n whenever it changes. This option cannot be used with directory paths. " + } + }, + "179": { + "15": { + "name": "watchKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 179, + 15 + ], + [ + 190, + 1 + ] + ], + "doc": " Public: Cause the keymap to reload the key bindings file at the given path\nwhenever it changes.\n\nThis method doesn't perform the initial load of the key bindings file. If\nthat's what you're looking for, call {::loadKeymap} with `watch: true`. " + } + }, + "190": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source" + ], + "range": [ + [ + 190, + 10 + ], + [ + 212, + 1 + ] + ], + "doc": " Public: Remove the key bindings added with {::addKeymap} or\n{::loadKeymap}.\n\nsource - A {String} representing the `source` in a previous call to\n {::addKeymap} or the path in {::loadKeymap}. " + } + }, + "212": { + "23": { + "name": "handleKeyboardEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event", + "replaying" + ], + "range": [ + [ + 212, + 23 + ], + [ + 289, + 1 + ] + ], + "doc": " Public: Dispatch a custom event associated with the matching key binding for\nthe given `KeyboardEvent` if one can be found.\n\nIf a matching binding is found on the event's target or one of its\nancestors, `.preventDefault()` is called on the keyboard event and the\nbinding's command is emitted as a custom event on the matching element.\n\nIf the matching binding's command is 'native!', the method will terminate\nwithout calling `.preventDefault()` on the keyboard event, allowing the\nbrowser to handle it as normal.\n\nIf the matching binding's command is 'unset!', the search will continue from\nthe current element's parent.\n\nIf the matching binding's command is 'abort!', the search will terminate\nwithout dispatching a command event.\n\nIf the event's target is `document.body`, it will be treated as if its\ntarget is `.defaultTarget` if that property is assigned on the keymap. " + } + }, + "289": { + "19": { + "name": "findKeyBindings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 289, + 19 + ], + [ + 314, + 1 + ] + ], + "doc": " Public: Get the key bindings for a given command and optional target.\n\nparams - An {Object} whose keys constrain the binding search:\n :keystrokes - A {String} representing one or more keystrokes, such as\n 'ctrl-x ctrl-s'\n :command - A {String} representing the name of a command, such as\n 'editor:backspace'\n :target - An optional DOM element constraining the search. If this\n parameter is supplied, the call will only return bindings that can be\n invoked by a KeyboardEvent originating from the target element. " + } + }, + "314": { + "16": { + "name": "reloadKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 314, + 16 + ], + [ + 324, + 1 + ] + ], + "doc": " Private: Called by the path watcher callback to reload a file at the given path. If\nwe can't read the file cleanly, we don't proceed with the reload. " + } + }, + "324": { + "14": { + "name": "readKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "suppressErrors" + ], + "range": [ + [ + 324, + 14 + ], + [ + 338, + 1 + ] + ], + "doc": "~Private~" + } + }, + "338": { + "27": { + "name": "filePathMatchesPlatform", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 338, + 27 + ], + [ + 345, + 1 + ] + ], + "doc": " Private: Determine if the given path should be loaded on this platform. If the\nfilename has the pattern '.cson' or 'foo..cson' and\n does not match the current platform, returns false. Otherwise\nreturns true. " + } + }, + "345": { + "21": { + "name": "getOtherPlatforms", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 345, + 21 + ], + [ + 345, + 37 + ] + ], + "doc": "Private: For testing purposes " + } + }, + "349": { + "23": { + "name": "findMatchCandidates", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystrokes" + ], + "range": [ + [ + 349, + 23 + ], + [ + 365, + 1 + ] + ], + "doc": " Private: Finds all key bindings whose keystrokes match the given keystrokes. Returns\nboth partial and exact matches. " + } + }, + "365": { + "22": { + "name": "findPartialMatches", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "partialMatchCandidates", + "target" + ], + "range": [ + [ + 365, + 22 + ], + [ + 385, + 1 + ] + ], + "doc": " Private: Determine which of the given bindings have selectors matching the target or\none of its ancestors. This is used by {::handleKeyboardEvent} to determine\nif there are any partial matches for the keyboard event. " + } + }, + "385": { + "20": { + "name": "findExactMatches", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "exactMatchCandidates", + "target" + ], + "range": [ + [ + 385, + 20 + ], + [ + 390, + 1 + ] + ], + "doc": " Private: Find the matching bindings among the given candidates for the given target,\nordered by specificity. Does not traverse up the target's ancestors. This is\nused by {::handleKeyboardEvent} to find a matching binding when there are no\npartially-matching bindings. " + } + }, + "390": { + "25": { + "name": "clearQueuedKeystrokes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 390, + 25 + ], + [ + 394, + 1 + ] + ], + "doc": "~Private~" + } + }, + "394": { + "21": { + "name": "enterPendingState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pendingPartialMatches", + "enableTimeout" + ], + "range": [ + [ + 394, + 21 + ], + [ + 400, + 1 + ] + ], + "doc": "~Private~" + } + }, + "400": { + "22": { + "name": "cancelPendingState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 400, + 22 + ], + [ + 410, + 1 + ] + ], + "doc": "~Private~" + } + }, + "410": { + "25": { + "name": "terminatePendingState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 410, + 25 + ], + [ + 427, + 1 + ] + ], + "doc": " Private: This is called by {::handleKeyboardEvent} when no matching bindings are\nfound for the currently queued keystrokes or by the pending state timeout.\nIt disables the longest of the pending partially matching bindings, then\nreplays the queued keyboard events to allow any bindings with shorter\nkeystroke sequences to be matched unambiguously. " + } + }, + "427": { + "24": { + "name": "dispatchCommandEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "target", + "keyboardEvent" + ], + "range": [ + [ + 427, + 24 + ], + [ + 446, + 1 + ] + ], + "doc": " Private: After we match a binding, we call this method to dispatch a custom event\nbased on the binding's command. " + } + }, + "446": { + "36": { + "name": "simulateBubblingOnDetachedTarget", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "target", + "commandEvent" + ], + "range": [ + [ + 446, + 36 + ], + [ + 460, + 1 + ] + ], + "doc": " Private: Chromium does not bubble events dispatched on detached targets, which makes\ntesting a pain in the ass. This method simulates bubbling manually. " + } + }, + "460": { + "29": { + "name": "keystrokeForKeyboardEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 460, + 29 + ], + [ + 464, + 1 + ] + ], + "doc": " Public: Translate a keydown event to a keystroke string.\n\nevent - A `KeyboardEvent` of type 'keydown'\n\nReturns a {String} describing the keystroke. " + } + }, + "464": { + "13": { + "name": "addKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source", + "bindings" + ], + "range": [ + [ + 464, + 13 + ], + [ + 469, + 1 + ] + ], + "doc": "Deprecated: Use {::addKeymap} instead. " + } + }, + "469": { + "16": { + "name": "removeKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source" + ], + "range": [ + [ + 469, + 16 + ], + [ + 475, + 1 + ] + ], + "doc": "Deprecated: Use {::removeKeymap} instead. " + } + }, + "475": { + "18": { + "name": "handleKeyEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 475, + 18 + ], + [ + 484, + 1 + ] + ], + "doc": " Deprecated: Handle a jQuery keyboard event. Use {::handleKeyboardEvent} with\na raw keyboard event instead. " + } + }, + "484": { + "27": { + "name": "keystrokeStringForEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 484, + 27 + ], + [ + 490, + 1 + ] + ], + "doc": " Deprecated: Translate a jQuery keyboard event to a keystroke string. Use\n{::keystrokeForKeyboardEvent} with a raw KeyboardEvent instead. " + } + }, + "490": { + "12": { + "name": "bindKeys", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source", + "selector", + "keyBindings" + ], + "range": [ + [ + 490, + 12 + ], + [ + 497, + 1 + ] + ], + "doc": " Deprecated: Use {::addKeymap} with a map from selectors to key\nbindings. " + } + }, + "497": { + "25": { + "name": "keyBindingsForCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command" + ], + "range": [ + [ + 497, + 25 + ], + [ + 502, + 1 + ] + ], + "doc": "Deprecated: Use {::findKeyBindings} with the 'command' param. " + } + }, + "502": { + "27": { + "name": "keyBindingsForKeystroke", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystroke" + ], + "range": [ + [ + 502, + 27 + ], + [ + 507, + 1 + ] + ], + "doc": "Deprecated: Use {::findKeyBindings} with the 'keystrokes' param. " + } + }, + "507": { + "30": { + "name": "keyBindingsMatchingElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "target", + "keyBindings" + ], + "range": [ + [ + 507, + 30 + ], + [ + 513, + 1 + ] + ], + "doc": "Deprecated: Use {::findKeyBindings} with the 'target' param. " + } + }, + "513": { + "40": { + "name": "keyBindingsForCommandMatchingElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "target" + ], + "range": [ + [ + 513, + 40 + ], + [ + 519, + 1 + ] + ], + "doc": " Deprecated: Use {::findKeyBindings} with the 'command' and 'target'\nparams " + } + }, + "519": { + "42": { + "name": "keyBindingsForKeystrokeMatchingElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystrokes", + "target" + ], + "range": [ + [ + 519, + 42 + ], + [ + 521, + 62 + ] + ], + "doc": " Deprecated: Use {::findKeyBindings} with the 'keystrokes' and 'target'\nparams " + } + } + }, + "exports": 84 + }, + "src/grammar-registry.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "1": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "10": { + "name": "Grammar", + "type": "import", + "range": [ + [ + 4, + 10 + ], + [ + 4, + 28 + ] + ], + "bindingType": "variable", + "path": "./grammar" + } + }, + "5": { + "14": { + "name": "NullGrammar", + "type": "import", + "range": [ + [ + 5, + 14 + ], + [ + 5, + 37 + ] + ], + "bindingType": "variable", + "path": "./null-grammar" + } + }, + "9": { + "0": { + "type": "class", + "name": "GrammarRegistry", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 24, + 15 + ], + [ + 32, + 23 + ], + [ + 38, + 17 + ], + [ + 47, + 29 + ], + [ + 57, + 14 + ], + [ + 69, + 19 + ], + [ + 81, + 15 + ], + [ + 96, + 19 + ], + [ + 106, + 15 + ], + [ + 119, + 26 + ], + [ + 128, + 29 + ], + [ + 135, + 31 + ], + [ + 139, + 25 + ], + [ + 151, + 17 + ], + [ + 154, + 15 + ], + [ + 156, + 18 + ], + [ + 160, + 17 + ] + ], + "doc": "Public: Registry containing one or more grammars. ", + "range": [ + [ + 9, + 0 + ], + [ + 164, + 11 + ] + ] + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 12, + 15 + ], + [ + 24, + 1 + ] + ], + "doc": "~Private~" + } + }, + "24": { + "15": { + "name": "getGrammars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 24, + 15 + ], + [ + 32, + 1 + ] + ], + "doc": " Public: Get all the grammars in this registry.\n\nReturns a non-empty {Array} of {Grammar} instances. " + } + }, + "32": { + "23": { + "name": "grammarForScopeName", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeName" + ], + "range": [ + [ + 32, + 23 + ], + [ + 38, + 1 + ] + ], + "doc": " Public: Get a grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`.\n\nReturns a {Grammar} or undefined. " + } + }, + "38": { + "17": { + "name": "removeGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 38, + 17 + ], + [ + 47, + 1 + ] + ], + "doc": " Public: Remove a grammar from this registry.\n\ngrammar - The {Grammar} to remove. " + } + }, + "47": { + "29": { + "name": "removeGrammarForScopeName", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeName" + ], + "range": [ + [ + 47, + 29 + ], + [ + 57, + 1 + ] + ], + "doc": " Public: Remove the grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`. " + } + }, + "57": { + "14": { + "name": "addGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 57, + 14 + ], + [ + 69, + 1 + ] + ], + "doc": " Public: Add a grammar to this registry.\n\nA 'grammar-added' event is emitted after the grammar is added.\n\ngrammar - The {Grammar} to add. This should be a value previously returned\n from {::readGrammar} or {::readGrammarSync}. " + } + }, + "69": { + "19": { + "name": "readGrammarSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath" + ], + "range": [ + [ + 69, + 19 + ], + [ + 81, + 1 + ] + ], + "doc": " Public: Read a grammar synchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\n\nReturns a {Grammar}. " + } + }, + "81": { + "15": { + "name": "readGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath", + "callback" + ], + "range": [ + [ + 81, + 15 + ], + [ + 96, + 1 + ] + ], + "doc": " Public: Read a grammar asynchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " + } + }, + "96": { + "19": { + "name": "loadGrammarSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath" + ], + "range": [ + [ + 96, + 19 + ], + [ + 106, + 1 + ] + ], + "doc": " Public: Read a grammar synchronously and add it to this registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\n\nReturns a {Grammar}. " + } + }, + "106": { + "15": { + "name": "loadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath", + "callback" + ], + "range": [ + [ + 106, + 15 + ], + [ + 119, + 1 + ] + ], + "doc": " Public: Read a grammar asynchronously and add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " + } + }, + "119": { + "26": { + "name": "grammarOverrideForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 119, + 26 + ], + [ + 128, + 1 + ] + ], + "doc": " Public: Get the grammar override for the given file path.\n\nfilePath - A {String} file path.\n\nReturns a {Grammar} or undefined. " + } + }, + "128": { + "29": { + "name": "setGrammarOverrideForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "scopeName" + ], + "range": [ + [ + 128, + 29 + ], + [ + 135, + 1 + ] + ], + "doc": " Public: Set the grammar override for the given file path.\n\nfilePath - A non-empty {String} file path.\nscopeName - A {String} such as `\"source.js\"`.\n\nReturns a {Grammar} or undefined. " + } + }, + "135": { + "31": { + "name": "clearGrammarOverrideForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 135, + 31 + ], + [ + 139, + 1 + ] + ], + "doc": " Public: Remove the grammar override for the given file path.\n\nfilePath - A {String} file path. " + } + }, + "139": { + "25": { + "name": "clearGrammarOverrides", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 139, + 25 + ], + [ + 151, + 1 + ] + ], + "doc": "Public: Remove all grammar overrides. " + } + }, + "151": { + "17": { + "name": "selectGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "fileContents" + ], + "range": [ + [ + 151, + 17 + ], + [ + 154, + 1 + ] + ], + "doc": " Public: Select a grammar for the given file path and file contents.\n\nThis picks the best match by checking the file path and contents against\neach grammar.\n\nfilePath - A {String} file path.\nfileContents - A {String} of text for the file path.\n\nReturns a {Grammar}, never null. " + } + }, + "154": { + "15": { + "name": "createToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "scopes" + ], + "range": [ + [ + 154, + 15 + ], + [ + 154, + 48 + ] + ], + "doc": "~Private~" + } + }, + "156": { + "18": { + "name": "grammarUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeName" + ], + "range": [ + [ + 156, + 18 + ], + [ + 160, + 1 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "17": { + "name": "createGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath", + "object" + ], + "range": [ + [ + 160, + 17 + ], + [ + 164, + 11 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 9 + }, + "src/grammar.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "3": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 3, + 5 + ], + [ + 3, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.1" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 10 + ] + ], + "bindingType": "variable", + "module": "oniguruma", + "name": "OnigRegExp", + "exportsProperty": "OnigRegExp" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "7": { + "13": { + "name": "Injections", + "type": "import", + "range": [ + [ + 7, + 13 + ], + [ + 7, + 34 + ] + ], + "bindingType": "variable", + "path": "./injections" + } + }, + "8": { + "10": { + "name": "Pattern", + "type": "import", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 28 + ] + ], + "bindingType": "variable", + "path": "./pattern" + } + }, + "9": { + "7": { + "name": "Rule", + "type": "import", + "range": [ + [ + 9, + 7 + ], + [ + 9, + 22 + ] + ], + "bindingType": "variable", + "path": "./rule" + } + }, + "10": { + "16": { + "name": "ScopeSelector", + "type": "import", + "range": [ + [ + 10, + 16 + ], + [ + 10, + 41 + ] + ], + "bindingType": "variable", + "path": "./scope-selector" + } + }, + "12": { + "21": { + "name": "pathSplitRegex", + "type": "function", + "range": [ + [ + 12, + 21 + ], + [ + 12, + 34 + ] + ] + } + }, + "19": { + "0": { + "type": "class", + "name": "Grammar", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 22, + 15 + ], + [ + 51, + 17 + ], + [ + 73, + 16 + ], + [ + 141, + 12 + ], + [ + 144, + 14 + ], + [ + 147, + 14 + ], + [ + 151, + 18 + ], + [ + 154, + 17 + ], + [ + 162, + 27 + ], + [ + 165, + 18 + ], + [ + 172, + 12 + ], + [ + 182, + 19 + ], + [ + 199, + 16 + ], + [ + 214, + 15 + ], + [ + 216, + 14 + ], + [ + 218, + 17 + ], + [ + 220, + 23 + ], + [ + 223, + 19 + ] + ], + "doc": " Public: Grammar that tokenizes lines of text.\n\nThis class should not be instantiated directly but instead obtained from\na {GrammarRegistry} by calling {GrammarRegistry::loadGrammar}. ", + "range": [ + [ + 19, + 0 + ], + [ + 235, + 10 + ] + ] + } + }, + "22": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + "options" + ], + "range": [ + [ + 22, + 15 + ], + [ + 51, + 1 + ] + ], + "doc": "~Private~" + } + }, + "51": { + "17": { + "name": "tokenizeLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 51, + 17 + ], + [ + 73, + 1 + ] + ], + "doc": " Public: Tokenize all lines in the given text.\n\ntext - A {String} containing one or more lines.\n\nReturns an {Array} of token arrays for each line tokenized. " + } + }, + "73": { + "16": { + "name": "tokenizeLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line", + "ruleStack", + "firstLine" + ], + "range": [ + [ + 73, + 16 + ], + [ + 141, + 1 + ] + ], + "doc": " Public: Tokenize the line of text.\n\nline - A {String} of text to tokenize.\nruleStack - An optional {Array} of rules previously returned from this\n method. This should be null when tokenizing the first line in\n the file.\nfirstLine - A {Boolean} denoting whether this is the first line in the file\n which defaults to `false`. This should be `true` when\n tokenizing the first line in the file.\n\nReturns an {Object} containing `tokens` and `ruleStack` properties:\n :token - An {Array} of tokens covering the entire line of text.\n :ruleStack - An {Array} of rules representing the tokenized state at the\n end of the line. These should be passed back into this method\n when tokenizing the next line in the file. " + } + }, + "141": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 12 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "14": { + "name": "deactivate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 144, + 14 + ], + [ + 147, + 1 + ] + ], + "doc": "~Private~" + } + }, + "147": { + "14": { + "name": "clearRules", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 147, + 14 + ], + [ + 151, + 1 + ] + ], + "doc": "~Private~" + } + }, + "151": { + "18": { + "name": "getInitialRule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 151, + 18 + ], + [ + 154, + 1 + ] + ], + "doc": "~Private~" + } + }, + "154": { + "17": { + "name": "getRepository", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 17 + ], + [ + 162, + 1 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "27": { + "name": "addIncludedGrammarScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scope" + ], + "range": [ + [ + 162, + 27 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "18": { + "name": "grammarUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeName" + ], + "range": [ + [ + 165, + 18 + ], + [ + 172, + 1 + ] + ], + "doc": "~Private~" + } + }, + "172": { + "12": { + "name": "getScore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "contents" + ], + "range": [ + [ + 172, + 12 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "19": { + "name": "matchesContents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "contents" + ], + "range": [ + [ + 182, + 19 + ], + [ + 199, + 1 + ] + ], + "doc": "~Private~" + } + }, + "199": { + "16": { + "name": "getPathScore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 199, + 16 + ], + [ + 214, + 1 + ] + ], + "doc": "~Private~" + } + }, + "214": { + "15": { + "name": "createToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "scopes" + ], + "range": [ + [ + 214, + 15 + ], + [ + 214, + 69 + ] + ], + "doc": "~Private~" + } + }, + "216": { + "14": { + "name": "createRule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 216, + 14 + ], + [ + 216, + 60 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "17": { + "name": "createPattern", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 218, + 17 + ], + [ + 218, + 66 + ] + ], + "doc": "~Private~" + } + }, + "220": { + "23": { + "name": "getMaxTokensPerLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 220, + 23 + ], + [ + 223, + 1 + ] + ], + "doc": "~Private~" + } + }, + "223": { + "19": { + "name": "scopesFromStack", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stack", + "rule", + "endPatternMatch" + ], + "range": [ + [ + 223, + 19 + ], + [ + 235, + 10 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 19 + }, + "src/directory.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 22 + ] + ], + "bindingType": "variable", + "module": "async@~0.2.10" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.1" + } + }, + "6": { + "7": { + "name": "File", + "type": "import", + "range": [ + [ + 6, + 7 + ], + [ + 6, + 22 + ] + ], + "bindingType": "variable", + "path": "./file" + } + }, + "7": { + "14": { + "name": "PathWatcher", + "type": "import", + "range": [ + [ + 7, + 14 + ], + [ + 7, + 29 + ] + ], + "bindingType": "variable", + "path": "./main" + } + }, + "11": { + "0": { + "type": "class", + "name": "Directory", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 14, + 12 + ], + [ + 20, + 15 + ], + [ + 39, + 15 + ], + [ + 46, + 11 + ], + [ + 49, + 10 + ], + [ + 52, + 15 + ], + [ + 58, + 11 + ], + [ + 66, + 19 + ], + [ + 70, + 13 + ], + [ + 75, + 10 + ], + [ + 82, + 19 + ], + [ + 95, + 12 + ], + [ + 119, + 14 + ], + [ + 154, + 18 + ], + [ + 174, + 14 + ], + [ + 198, + 33 + ], + [ + 202, + 37 + ], + [ + 208, + 18 + ] + ], + "doc": "Public: Represents a directory on disk that can be watched for changes. ", + "range": [ + [ + 11, + 0 + ], + [ + 209, + 73 + ] + ] + } + }, + "14": { + "12": { + "name": "realPath", + "type": "primitive", + "range": [ + [ + 14, + 12 + ], + [ + 14, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "20": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "directoryPath", + null + ], + "range": [ + [ + 20, + 15 + ], + [ + 39, + 1 + ] + ], + "doc": " Public: Configures a new Directory instance, no files are accessed.\n\ndirectoryPath - A {String} containing the absolute path to the directory.\nsymlink - A {Boolean} indicating if the path is a symlink (default: false). " + } + }, + "39": { + "15": { + "name": "getBaseName", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 39, + 15 + ], + [ + 46, + 1 + ] + ], + "doc": "Public: Returns the {String} basename of the directory. " + } + }, + "46": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 46, + 11 + ], + [ + 46, + 18 + ] + ], + "doc": " Public: Returns the directory's symbolic path.\n\nThis may include unfollowed symlinks or relative directory entries. Or it\nmay be fully resolved, it depends on what you give it. " + } + }, + "49": { + "10": { + "name": "isFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 10 + ], + [ + 49, + 17 + ] + ], + "doc": "Public: Distinguishes Files from Directories during traversal. " + } + }, + "52": { + "15": { + "name": "isDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 15 + ], + [ + 52, + 21 + ] + ], + "doc": "Public: Distinguishes Files from Directories during traversal. " + } + }, + "58": { + "11": { + "name": "getFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filename" + ], + "range": [ + [ + 58, + 11 + ], + [ + 66, + 1 + ] + ], + "doc": " Public: Traverse within this Directory to a child File. This method doesn't\nactually check to see if the File exists, it just creates the File object.\n\nfilename - The name of a File within this Directory. " + } + }, + "66": { + "19": { + "name": "getSubdirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "dirname" + ], + "range": [ + [ + 66, + 19 + ], + [ + 70, + 1 + ] + ], + "doc": " Public: Traverse within this a Directory to a child Directory. This method\ndoesn't actually check to see if the Directory exists, it just creates the\nDirectory object.\n\ndirname - The name of the child Directory. " + } + }, + "70": { + "13": { + "name": "getParent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 70, + 13 + ], + [ + 75, + 1 + ] + ], + "doc": "Public: Traverse to the parent Directory. " + } + }, + "75": { + "10": { + "name": "isRoot", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 75, + 10 + ], + [ + 82, + 1 + ] + ], + "doc": " Public: Return true if this {Directory} is the root directory of the\nfilesystem, or false if it isn't. " + } + }, + "82": { + "19": { + "name": "getRealPathSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 19 + ], + [ + 95, + 1 + ] + ], + "doc": " Public: Returns this directory's completely resolved path.\n\nAll relative directory entries are removed and symlinks are resolved to\ntheir final destination. " + } + }, + "95": { + "12": { + "name": "contains", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToCheck" + ], + "range": [ + [ + 95, + 12 + ], + [ + 119, + 1 + ] + ], + "doc": " Public: Returns whether the given path (real or symbolic) is inside this\ndirectory. This method does not actually check if the path exists, it just\nchecks if the path is under this directory. " + } + }, + "119": { + "14": { + "name": "relativize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fullPath" + ], + "range": [ + [ + 119, + 14 + ], + [ + 154, + 1 + ] + ], + "doc": "Public: Returns the relative path to the given path from this directory. " + } + }, + "154": { + "18": { + "name": "getEntriesSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 18 + ], + [ + 174, + 1 + ] + ], + "doc": " Public: Reads file entries in this directory from disk synchronously.\n\nReturns an {Array} of {File} and {Directory} objects. " + } + }, + "174": { + "14": { + "name": "getEntries", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 174, + 14 + ], + [ + 198, + 1 + ] + ], + "doc": " Public: Reads file entries in this directory from disk asynchronously.\n\ncallback - A {Function} to call with an {Error} as the 1st argument and\n an {Array} of {File} and {Directory} objects as the 2nd argument. " + } + }, + "198": { + "33": { + "name": "subscribeToNativeChangeEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 198, + 33 + ], + [ + 202, + 1 + ] + ], + "doc": "~Private~" + } + }, + "202": { + "37": { + "name": "unsubscribeFromNativeChangeEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 202, + 37 + ], + [ + 208, + 1 + ] + ], + "doc": "~Private~" + } + }, + "208": { + "18": { + "name": "isPathPrefixOf", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "prefix", + "fullPath" + ], + "range": [ + [ + 208, + 18 + ], + [ + 209, + 73 + ] + ], + "doc": "Private: Does given full path start with the given prefix? " + } + } + }, + "exports": 11 + }, + "src/file.coffee": { + "objects": { + "0": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 0, + 9 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@~1.x" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.1.0", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.1" + } + }, + "6": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 6, + 4 + ], + [ + 6, + 14 + ] + ], + "bindingType": "variable", + "module": "q@~1.0.1" + } + }, + "7": { + "8": { + "name": "runas", + "type": "import", + "range": [ + [ + 7, + 8 + ], + [ + 7, + 22 + ] + ], + "bindingType": "variable", + "module": "runas@^1.0.1" + } + }, + "9": { + "12": { + "type": "primitive", + "range": [ + [ + 9, + 12 + ], + [ + 9, + 15 + ] + ] + } + }, + "10": { + "14": { + "name": "PathWatcher", + "type": "import", + "range": [ + [ + 10, + 14 + ], + [ + 10, + 29 + ] + ], + "bindingType": "variable", + "path": "./main" + } + }, + "15": { + "0": { + "type": "class", + "name": "File", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 18, + 12 + ], + [ + 24, + 15 + ], + [ + 34, + 28 + ], + [ + 49, + 10 + ], + [ + 52, + 15 + ], + [ + 55, + 11 + ], + [ + 59, + 11 + ], + [ + 62, + 13 + ], + [ + 67, + 19 + ], + [ + 76, + 15 + ], + [ + 80, + 9 + ], + [ + 86, + 12 + ], + [ + 101, + 8 + ], + [ + 128, + 10 + ], + [ + 131, + 13 + ], + [ + 135, + 13 + ], + [ + 142, + 40 + ], + [ + 154, + 27 + ], + [ + 167, + 32 + ], + [ + 170, + 22 + ], + [ + 178, + 33 + ], + [ + 182, + 37 + ] + ], + "doc": " Public: Represents an individual file that can be watched, read from, and\nwritten to. ", + "range": [ + [ + 15, + 0 + ], + [ + 185, + 31 + ] + ] + } + }, + "18": { + "12": { + "name": "realPath", + "type": "primitive", + "range": [ + [ + 18, + 12 + ], + [ + 18, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "24": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + null + ], + "range": [ + [ + 24, + 15 + ], + [ + 34, + 1 + ] + ], + "doc": " Public: Creates a new file.\n\nfilePath - A {String} containing the absolute path to the file\nsymlink - A {Boolean} indicating if the path is a symlink (default: false). " + } + }, + "34": { + "28": { + "name": "handleEventSubscriptions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 28 + ], + [ + 49, + 1 + ] + ], + "doc": "Private: Subscribes to file system notifications when necessary. " + } + }, + "49": { + "10": { + "name": "isFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 10 + ], + [ + 49, + 16 + ] + ], + "doc": "Public: Distinguishes Files from Directories during traversal. " + } + }, + "52": { + "15": { + "name": "isDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 15 + ], + [ + 52, + 22 + ] + ], + "doc": "Public: Distinguishes Files from Directories during traversal. " + } + }, + "55": { + "11": { + "name": "setPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 55, + 11 + ], + [ + 59, + 1 + ] + ], + "doc": "Private: Sets the path for the file. " + } + }, + "59": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 11 + ], + [ + 59, + 18 + ] + ], + "doc": "Public: Returns the {String} path for the file. " + } + }, + "62": { + "13": { + "name": "getParent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 62, + 13 + ], + [ + 67, + 1 + ] + ], + "doc": "Public: Return the {Directory} that contains this file. " + } + }, + "67": { + "19": { + "name": "getRealPathSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 19 + ], + [ + 76, + 1 + ] + ], + "doc": "Public: Returns this file's completely resolved path. " + } + }, + "76": { + "15": { + "name": "getBaseName", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 15 + ], + [ + 80, + 1 + ] + ], + "doc": "Public: Return the {String} filename without any directory information. " + } + }, + "80": { + "9": { + "name": "write", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 80, + 9 + ], + [ + 86, + 1 + ] + ], + "doc": "Public: Overwrites the file with the given String. " + } + }, + "86": { + "12": { + "name": "readSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "flushCache" + ], + "range": [ + [ + 86, + 12 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "8": { + "name": "read", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "flushCache" + ], + "range": [ + [ + 101, + 8 + ], + [ + 128, + 1 + ] + ], + "doc": " Public: Reads the contents of the file.\n\nflushCache - A {Boolean} indicating whether to require a direct read or if\n a cached copy is acceptable.\n\nReturns a promise that resovles to a String. " + } + }, + "128": { + "10": { + "name": "exists", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 128, + 10 + ], + [ + 131, + 1 + ] + ], + "doc": "Public: Returns whether the file exists. " + } + }, + "131": { + "13": { + "name": "setDigest", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "contents" + ], + "range": [ + [ + 131, + 13 + ], + [ + 135, + 1 + ] + ], + "doc": "~Private~" + } + }, + "135": { + "13": { + "name": "getDigest", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 135, + 13 + ], + [ + 142, + 1 + ] + ], + "doc": "Public: Get the SHA-1 digest of this file " + } + }, + "142": { + "40": { + "name": "writeFileWithPrivilegeEscalationSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "text" + ], + "range": [ + [ + 142, + 40 + ], + [ + 154, + 1 + ] + ], + "doc": " Private: Writes the text to specified path.\n\nPrivilege escalation would be asked when current user doesn't have\npermission to the path. " + } + }, + "154": { + "27": { + "name": "handleNativeChangeEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventType", + "eventPath" + ], + "range": [ + [ + 154, + 27 + ], + [ + 167, + 1 + ] + ], + "doc": "~Private~" + } + }, + "167": { + "32": { + "name": "detectResurrectionAfterDelay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 167, + 32 + ], + [ + 170, + 1 + ] + ], + "doc": "~Private~" + } + }, + "170": { + "22": { + "name": "detectResurrection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 170, + 22 + ], + [ + 178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "178": { + "33": { + "name": "subscribeToNativeChangeEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 178, + 33 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "37": { + "name": "unsubscribeFromNativeChangeEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 182, + 37 + ], + [ + 185, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 15 + } + } + }, + { + "main": "./src/space-pen.coffee", + "repository": "https://github.com/atom/space-pen.git", + "version": "3.3.0", + "files": { + "src/atom.coffee": { + "objects": { + "0": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 0, + 9 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "1": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "2": { + "5": { + "name": "os", + "type": "import", + "range": [ + [ + 2, + 5 + ], + [ + 2, + 16 + ] + ], + "bindingType": "variable", + "module": "os", + "builtin": true + } + }, + "3": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "4": { + "9": { + "name": "remote", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 24 + ] + ], + "bindingType": "variable", + "module": "remote" + } + }, + "5": { + "9": { + "name": "screen", + "type": "import", + "range": [ + [ + 5, + 9 + ], + [ + 5, + 24 + ] + ], + "bindingType": "variable", + "module": "screen" + } + }, + "6": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 6, + 8 + ], + [ + 6, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "8": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 8, + 4 + ], + [ + 8, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "9": { + "1": { + "type": "import", + "range": [ + [ + 9, + 1 + ], + [ + 9, + 10 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecated", + "exportsProperty": "deprecated" + } + }, + "10": { + "1": { + "type": "import", + "range": [ + [ + 10, + 1 + ], + [ + 10, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "11": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 11, + 5 + ], + [ + 11, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "13": { + "1": { + "type": "import", + "range": [ + [ + 13, + 1 + ], + [ + 13, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "14": { + "21": { + "name": "WindowEventHandler", + "type": "import", + "range": [ + [ + 14, + 21 + ], + [ + 14, + 52 + ] + ], + "bindingType": "variable", + "path": "./window-event-handler" + } + }, + "35": { + "0": { + "type": "class", + "name": "Atom", + "bindingType": "exports", + "classProperties": [ + [ + 36, + 12 + ], + [ + 44, + 17 + ], + [ + 48, + 16 + ], + [ + 53, + 14 + ], + [ + 71, + 17 + ], + [ + 89, + 21 + ], + [ + 95, + 22 + ], + [ + 99, + 20 + ], + [ + 109, + 21 + ] + ], + "prototypeProperties": [ + [ + 112, + 31 + ], + [ + 115, + 15 + ], + [ + 123, + 14 + ], + [ + 177, + 31 + ], + [ + 181, + 33 + ], + [ + 184, + 24 + ], + [ + 188, + 20 + ], + [ + 194, + 23 + ], + [ + 211, + 23 + ], + [ + 221, + 21 + ], + [ + 224, + 32 + ], + [ + 229, + 30 + ], + [ + 246, + 27 + ], + [ + 252, + 25 + ], + [ + 259, + 19 + ], + [ + 262, + 22 + ], + [ + 269, + 28 + ], + [ + 281, + 28 + ], + [ + 285, + 27 + ], + [ + 292, + 21 + ], + [ + 320, + 22 + ], + [ + 336, + 14 + ], + [ + 339, + 15 + ], + [ + 353, + 8 + ], + [ + 377, + 11 + ], + [ + 397, + 18 + ], + [ + 400, + 22 + ], + [ + 407, + 16 + ], + [ + 411, + 18 + ], + [ + 415, + 31 + ], + [ + 419, + 10 + ], + [ + 423, + 9 + ], + [ + 428, + 8 + ], + [ + 432, + 8 + ], + [ + 439, + 11 + ], + [ + 446, + 15 + ], + [ + 450, + 10 + ], + [ + 457, + 17 + ], + [ + 464, + 9 + ], + [ + 467, + 8 + ], + [ + 473, + 13 + ], + [ + 477, + 14 + ], + [ + 481, + 20 + ], + [ + 485, + 17 + ], + [ + 490, + 16 + ], + [ + 496, + 14 + ], + [ + 500, + 21 + ], + [ + 506, + 20 + ], + [ + 509, + 12 + ], + [ + 523, + 21 + ], + [ + 526, + 20 + ], + [ + 529, + 22 + ], + [ + 533, + 8 + ], + [ + 537, + 25 + ], + [ + 541, + 25 + ], + [ + 555, + 22 + ] + ], + "doc": " Public: Atom global for dealing with packages, themes, menus, and the window.\n\nAn instance of this class is always available as the `atom` global.\n\n## Useful properties available:\n\n * `atom.clipboard` - A {Clipboard} instance\n * `atom.config` - A {Config} instance\n * `atom.contextMenu` - A {ContextMenuManager} instance\n * `atom.deserializers` - A {DeserializerManager} instance\n * `atom.keymaps` - A {KeymapManager} instance\n * `atom.menu` - A {MenuManager} instance\n * `atom.packages` - A {PackageManager} instance\n * `atom.project` - A {Project} instance\n * `atom.syntax` - A {Syntax} instance\n * `atom.themes` - A {ThemeManager} instance\n * `atom.workspace` - A {Workspace} instance\n * `atom.workspaceView` - A {WorkspaceView} instance ", + "range": [ + [ + 35, + 0 + ], + [ + 567, + 27 + ] + ] + } + }, + "36": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 36, + 12 + ], + [ + 36, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "44": { + "17": { + "name": "loadOrCreate", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 44, + 17 + ], + [ + 48, + 1 + ] + ], + "doc": " Public: Load or create the Atom environment in the given mode.\n\nmode - Pass 'editor' or 'spec' depending on the kind of environment you\n want to build.\n\nReturns an Atom instance, fully initialized " + } + }, + "48": { + "16": { + "name": "deserialize", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 48, + 16 + ], + [ + 53, + 1 + ] + ], + "doc": "Private: Deserializes the Atom environment from a state object " + } + }, + "53": { + "14": { + "name": "loadState", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 53, + 14 + ], + [ + 71, + 1 + ] + ], + "doc": " Private: Loads and returns the serialized state corresponding to this window\nif it exists; otherwise returns undefined. " + } + }, + "71": { + "17": { + "name": "getStatePath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 71, + 17 + ], + [ + 89, + 1 + ] + ], + "doc": " Private: Returns the path where the state for the current window will be\nlocated if it exists. " + } + }, + "89": { + "21": { + "name": "getConfigDirPath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 95, + 1 + ] + ], + "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " + } + }, + "95": { + "22": { + "name": "getStorageDirPath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 95, + 22 + ], + [ + 99, + 1 + ] + ], + "doc": " Private: Get the path to Atom's storage directory.\n\nReturns the absolute path to ~/.atom/storage " + } + }, + "99": { + "20": { + "name": "getLoadSettings", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 99, + 20 + ], + [ + 109, + 1 + ] + ], + "doc": "Private: Returns the load settings hash associated with the current window. " + } + }, + "109": { + "21": { + "name": "getCurrentWindow", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 21 + ], + [ + 112, + 1 + ] + ], + "doc": "~Private~" + } + }, + "112": { + "31": { + "name": "workspaceViewParentSelector", + "type": "primitive", + "range": [ + [ + 112, + 31 + ], + [ + 112, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "115": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 115, + 15 + ], + [ + 123, + 1 + ] + ], + "doc": "Private: Call .loadOrCreate instead " + } + }, + "123": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 123, + 14 + ], + [ + 177, + 1 + ] + ], + "doc": " Public: Sets up the basic services that should be available in all modes\n(both spec and application). Call after this instance has been assigned to\nthe `atom` global. " + } + }, + "177": { + "31": { + "name": "registerRepresentationClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 31 + ], + [ + 181, + 1 + ] + ], + "doc": "Deprecated: Callers should be converted to use atom.deserializers " + } + }, + "181": { + "33": { + "name": "registerRepresentationClasses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 181, + 33 + ], + [ + 184, + 1 + ] + ], + "doc": "Deprecated: Callers should be converted to use atom.deserializers " + } + }, + "184": { + "24": { + "name": "setBodyPlatformClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 184, + 24 + ], + [ + 188, + 1 + ] + ], + "doc": "~Private~" + } + }, + "188": { + "20": { + "name": "getCurrentWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 20 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "23": { + "name": "getWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 194, + 23 + ], + [ + 211, + 1 + ] + ], + "doc": " Public: Get the dimensions of this window.\n\nReturns an object with x, y, width, and height keys. " + } + }, + "211": { + "23": { + "name": "setWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 211, + 23 + ], + [ + 221, + 1 + ] + ], + "doc": " Public: Set the dimensions of the window.\n\nThe window will be centered if either the x or y coordinate is not set\nin the dimensions parameter. If x or y are omitted the window will be\ncentered. If height or width are omitted only the position will be changed.\n\ndimensions - An {Object} with the following keys:\n :x - The new x coordinate.\n :y - The new y coordinate.\n :width - The new width.\n :height - The new height. " + } + }, + "221": { + "21": { + "name": "isValidDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 221, + 21 + ], + [ + 224, + 1 + ] + ], + "doc": " Private: Returns true if the dimensions are useable, false if they should be ignored.\nWork around for https://github.com/atom/atom-shell/issues/473 " + } + }, + "224": { + "32": { + "name": "storeDefaultWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 32 + ], + [ + 229, + 1 + ] + ], + "doc": "~Private~" + } + }, + "229": { + "30": { + "name": "getDefaultWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 229, + 30 + ], + [ + 246, + 1 + ] + ], + "doc": "~Private~" + } + }, + "246": { + "27": { + "name": "restoreWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 246, + 27 + ], + [ + 252, + 1 + ] + ], + "doc": "~Private~" + } + }, + "252": { + "25": { + "name": "storeWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 252, + 25 + ], + [ + 259, + 1 + ] + ], + "doc": "~Private~" + } + }, + "259": { + "19": { + "name": "getLoadSettings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 259, + 19 + ], + [ + 262, + 1 + ] + ], + "doc": "Private: Returns the load settings hash associated with the current window. " + } + }, + "262": { + "22": { + "name": "deserializeProject", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 262, + 22 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "28": { + "name": "deserializeWorkspaceView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 28 + ], + [ + 281, + 1 + ] + ], + "doc": "~Private~" + } + }, + "281": { + "28": { + "name": "deserializePackageStates", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 281, + 28 + ], + [ + 285, + 1 + ] + ], + "doc": "~Private~" + } + }, + "285": { + "27": { + "name": "deserializeEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 285, + 27 + ], + [ + 292, + 1 + ] + ], + "doc": "~Private~" + } + }, + "292": { + "21": { + "name": "startEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 21 + ], + [ + 320, + 1 + ] + ], + "doc": "Private: Call this method when establishing a real application window. " + } + }, + "320": { + "22": { + "name": "unloadEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 320, + 22 + ], + [ + 336, + 1 + ] + ], + "doc": "~Private~" + } + }, + "336": { + "14": { + "name": "loadThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 336, + 14 + ], + [ + 339, + 1 + ] + ], + "doc": "~Private~" + } + }, + "339": { + "15": { + "name": "watchThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 339, + 15 + ], + [ + 353, + 1 + ] + ], + "doc": "~Private~" + } + }, + "353": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 353, + 8 + ], + [ + 377, + 1 + ] + ], + "doc": " Public: Open a new Atom window using the given options.\n\nCalling this method without an options parameter will open a prompt to pick\na file/folder to open in the new window.\n\noptions - An {Object} with the following keys:\n :pathsToOpen - An {Array} of {String} paths to open. " + } + }, + "377": { + "11": { + "name": "confirm", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 377, + 11 + ], + [ + 397, + 1 + ] + ], + "doc": " Public: Open a confirm dialog.\n\n## Example\n\n```coffee\n atom.confirm\n message: 'How you feeling?'\n detailedMessage: 'Be honest.'\n buttons:\n Good: -> window.alert('good to hear')\n Bad: -> window.alert('bummer')\n```\n\noptions - An {Object} with the following keys:\n :message - The {String} message to display.\n :detailedMessage - The {String} detailed message to display.\n :buttons - Either an array of strings or an object where keys are\n button names and the values are callbacks to invoke when\n clicked.\n\nReturns the chosen button index {Number} if the buttons option was an array. " + } + }, + "397": { + "18": { + "name": "showSaveDialog", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 397, + 18 + ], + [ + 400, + 1 + ] + ], + "doc": "~Private~" + } + }, + "400": { + "22": { + "name": "showSaveDialogSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultPath" + ], + "range": [ + [ + 400, + 22 + ], + [ + 407, + 1 + ] + ], + "doc": "~Private~" + } + }, + "407": { + "16": { + "name": "openDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 407, + 16 + ], + [ + 411, + 1 + ] + ], + "doc": "Public: Open the dev tools for the current window. " + } + }, + "411": { + "18": { + "name": "toggleDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 411, + 18 + ], + [ + 415, + 1 + ] + ], + "doc": "Public: Toggle the visibility of the dev tools for the current window. " + } + }, + "415": { + "31": { + "name": "executeJavaScriptInDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "code" + ], + "range": [ + [ + 415, + 31 + ], + [ + 419, + 1 + ] + ], + "doc": "Public: Execute code in dev tools. " + } + }, + "419": { + "10": { + "name": "reload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 419, + 10 + ], + [ + 423, + 1 + ] + ], + "doc": "Public: Reload the current window. " + } + }, + "423": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 423, + 9 + ], + [ + 428, + 1 + ] + ], + "doc": "Public: Focus the current window. " + } + }, + "428": { + "8": { + "name": "show", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 8 + ], + [ + 432, + 1 + ] + ], + "doc": "Public: Show the current window. " + } + }, + "432": { + "8": { + "name": "hide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 432, + 8 + ], + [ + 439, + 1 + ] + ], + "doc": "Public: Hide the current window. " + } + }, + "439": { + "11": { + "name": "setSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width", + "height" + ], + "range": [ + [ + 439, + 11 + ], + [ + 446, + 1 + ] + ], + "doc": " Public: Set the size of current window.\n\nwidth - The {Number} of pixels.\nheight - The {Number} of pixels. " + } + }, + "446": { + "15": { + "name": "setPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "x", + "y" + ], + "range": [ + [ + 446, + 15 + ], + [ + 450, + 1 + ] + ], + "doc": " Public: Set the position of current window.\n\nx - The {Number} of pixels.\ny - The {Number} of pixels. " + } + }, + "450": { + "10": { + "name": "center", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 450, + 10 + ], + [ + 457, + 1 + ] + ], + "doc": "Public: Move current window to the center of the screen. " + } + }, + "457": { + "17": { + "name": "displayWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 457, + 17 + ], + [ + 464, + 1 + ] + ], + "doc": " Private: Schedule the window to be shown and focused on the next tick.\n\nThis is done in a next tick to prevent a white flicker from occurring\nif called synchronously. " + } + }, + "464": { + "9": { + "name": "close", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 464, + 9 + ], + [ + 467, + 1 + ] + ], + "doc": "Public: Close the current window. " + } + }, + "467": { + "8": { + "name": "exit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 467, + 8 + ], + [ + 473, + 1 + ] + ], + "doc": "~Private~" + } + }, + "473": { + "13": { + "name": "inDevMode", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 473, + 13 + ], + [ + 477, + 1 + ] + ], + "doc": "Public: Is the current window in development mode? " + } + }, + "477": { + "14": { + "name": "inSpecMode", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 477, + 14 + ], + [ + 481, + 1 + ] + ], + "doc": "Public: Is the current window running specs? " + } + }, + "481": { + "20": { + "name": "toggleFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 481, + 20 + ], + [ + 485, + 1 + ] + ], + "doc": "Public: Toggle the full screen state of the current window. " + } + }, + "485": { + "17": { + "name": "setFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fullScreen" + ], + "range": [ + [ + 485, + 17 + ], + [ + 490, + 1 + ] + ], + "doc": "Public: Set the full screen state of the current window. " + } + }, + "490": { + "16": { + "name": "isFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 490, + 16 + ], + [ + 496, + 1 + ] + ], + "doc": "Public: Is the current window in full screen mode? " + } + }, + "496": { + "14": { + "name": "getVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 496, + 14 + ], + [ + 500, + 1 + ] + ], + "doc": " Public: Get the version of the Atom application.\n\nReturns the version text {String}. " + } + }, + "500": { + "21": { + "name": "isReleasedVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 500, + 21 + ], + [ + 506, + 1 + ] + ], + "doc": "Public: Determine whether the current version is an official release. " + } + }, + "506": { + "20": { + "name": "getConfigDirPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 506, + 20 + ], + [ + 509, + 1 + ] + ], + "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " + } + }, + "509": { + "12": { + "name": "saveSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 509, + 12 + ], + [ + 523, + 1 + ] + ], + "doc": "~Private~" + } + }, + "523": { + "21": { + "name": "getWindowLoadTime", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 523, + 21 + ], + [ + 526, + 1 + ] + ], + "doc": " Public: Get the time taken to completely load the current window.\n\nThis time include things like loading and activating packages, creating\nDOM elements for the editor, and reading the config.\n\nReturns the number of milliseconds taken to load the window or null\nif the window hasn't finished loading yet. " + } + }, + "526": { + "20": { + "name": "crashMainProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 526, + 20 + ], + [ + 529, + 1 + ] + ], + "doc": "~Private~" + } + }, + "529": { + "22": { + "name": "crashRenderProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 529, + 22 + ], + [ + 533, + 1 + ] + ], + "doc": "~Private~" + } + }, + "533": { + "8": { + "name": "beep", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 533, + 8 + ], + [ + 537, + 1 + ] + ], + "doc": "Public: Visually and audibly trigger a beep. " + } + }, + "537": { + "25": { + "name": "getUserInitScriptPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 537, + 25 + ], + [ + 541, + 1 + ] + ], + "doc": "~Private~" + } + }, + "541": { + "25": { + "name": "requireUserInitScript", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 541, + 25 + ], + [ + 555, + 1 + ] + ] + } + }, + "555": { + "22": { + "name": "requireWithGlobals", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id", + "globals" + ], + "range": [ + [ + 555, + 22 + ], + [ + 567, + 27 + ] + ], + "doc": " Public: Require the module with the given globals.\n\nThe globals will be set on the `window` object and removed after the\nrequire completes.\n\nid - The {String} module name or path.\nglobals - An {Object} to set as globals during require (default: {}) " + } + } + }, + "exports": 35 + }, + "src/browser/application-menu.coffee": { + "objects": { + "0": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "1": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "2": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "10": { + "0": { + "type": "class", + "name": "ApplicationMenu", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 22, + 10 + ], + [ + 35, + 20 + ], + [ + 47, + 23 + ], + [ + 58, + 29 + ], + [ + 63, + 21 + ], + [ + 68, + 22 + ], + [ + 90, + 22 + ], + [ + 102, + 17 + ], + [ + 113, + 21 + ], + [ + 131, + 25 + ] + ], + "doc": " Private: Used to manage the global application menu.\n\nIt's created by {AtomApplication} upon instantiation and used to add, remove\nand maintain the state of all menu items. ", + "range": [ + [ + 10, + 0 + ], + [ + 145, + 18 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 22, + 1 + ] + ] + } + }, + "22": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 22, + 10 + ], + [ + 35, + 1 + ] + ], + "doc": " Public: Updates the entire menu with the given keybindings.\n\ntemplate - The Object which describes the menu to display.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke. " + } + }, + "35": { + "20": { + "name": "flattenMenuItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "menu" + ], + "range": [ + [ + 35, + 20 + ], + [ + 47, + 1 + ] + ], + "doc": " Private: Flattens the given menu and submenu items into an single Array.\n\nmenu - A complete menu configuration object for atom-shell's menu API.\n\nReturns an Array of native menu items. " + } + }, + "47": { + "23": { + "name": "flattenMenuTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 47, + 23 + ], + [ + 58, + 1 + ] + ], + "doc": " Private: Flattens the given menu template into an single Array.\n\ntemplate - An object describing the menu item.\n\nReturns an Array of native menu items. " + } + }, + "58": { + "29": { + "name": "enableWindowSpecificItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "enable" + ], + "range": [ + [ + 58, + 29 + ], + [ + 63, + 1 + ] + ], + "doc": " Public: Used to make all window related menu items are active.\n\nenable - If true enables all window specific items, if false disables all\n window specific items. " + } + }, + "63": { + "21": { + "name": "substituteVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 63, + 21 + ], + [ + 68, + 1 + ] + ], + "doc": "Private: Replaces VERSION with the current version. " + } + }, + "68": { + "22": { + "name": "showUpdateMenuItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 68, + 22 + ], + [ + 90, + 1 + ] + ], + "doc": "Private: Sets the proper visible state the update menu items " + } + }, + "90": { + "22": { + "name": "getDefaultTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 22 + ], + [ + 102, + 1 + ] + ], + "doc": " Private: Default list of menu items.\n\nReturns an Array of menu item Objects. " + } + }, + "102": { + "17": { + "name": "focusedWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 17 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "21": { + "name": "translateTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 113, + 21 + ], + [ + 131, + 1 + ] + ], + "doc": " Private: Combines a menu template with the appropriate keystroke.\n\ntemplate - An Object conforming to atom-shell's menu api but lacking\n accelerator and click properties.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a complete menu configuration object for atom-shell's menu API. " + } + }, + "131": { + "25": { + "name": "acceleratorForCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "keystrokesByCommand" + ], + "range": [ + [ + 131, + 25 + ], + [ + 145, + 18 + ] + ], + "doc": " Private: Determine the accelerator for a given command.\n\ncommand - The name of the command.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a String containing the keystroke in a format that can be interpreted\n by atom shell to provide nice icons where available. " + } + } + }, + "exports": 10 + }, + "src/browser/atom-application.coffee": { + "objects": { + "0": { + "13": { + "name": "AtomWindow", + "type": "import", + "range": [ + [ + 0, + 13 + ], + [ + 0, + 35 + ] + ], + "bindingType": "variable", + "path": "./atom-window" + } + }, + "1": { + "18": { + "name": "ApplicationMenu", + "type": "import", + "range": [ + [ + 1, + 18 + ], + [ + 1, + 45 + ] + ], + "bindingType": "variable", + "path": "./application-menu" + } + }, + "2": { + "22": { + "name": "AtomProtocolHandler", + "type": "import", + "range": [ + [ + 2, + 22 + ], + [ + 2, + 54 + ] + ], + "bindingType": "variable", + "path": "./atom-protocol-handler" + } + }, + "3": { + "20": { + "name": "AutoUpdateManager", + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 50 + ] + ], + "bindingType": "variable", + "path": "./auto-update-manager" + } + }, + "4": { + "16": { + "name": "BrowserWindow", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 39 + ] + ], + "bindingType": "variable", + "module": "browser-window" + } + }, + "5": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "6": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 6, + 6 + ], + [ + 6, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "7": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "8": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 8, + 5 + ], + [ + 8, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "9": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 9, + 6 + ], + [ + 9, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "10": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 10, + 7 + ], + [ + 10, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "11": { + "5": { + "name": "os", + "type": "import", + "range": [ + [ + 11, + 5 + ], + [ + 11, + 16 + ] + ], + "bindingType": "variable", + "module": "os", + "builtin": true + } + }, + "12": { + "6": { + "name": "net", + "type": "import", + "range": [ + [ + 12, + 6 + ], + [ + 12, + 18 + ] + ], + "bindingType": "variable", + "module": "net", + "builtin": true + } + }, + "13": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 13, + 8 + ], + [ + 13, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "14": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 14, + 6 + ], + [ + 14, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "15": { + "1": { + "type": "import", + "range": [ + [ + 15, + 1 + ], + [ + 15, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "16": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 16, + 4 + ], + [ + 16, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "30": { + "0": { + "type": "class", + "name": "AtomApplication", + "bindingType": "exports", + "classProperties": [ + [ + 34, + 9 + ] + ], + "prototypeProperties": [ + [ + 52, + 11 + ], + [ + 53, + 19 + ], + [ + 54, + 23 + ], + [ + 55, + 16 + ], + [ + 56, + 11 + ], + [ + 58, + 8 + ], + [ + 60, + 15 + ], + [ + 83, + 19 + ], + [ + 94, + 16 + ], + [ + 99, + 13 + ], + [ + 110, + 36 + ], + [ + 119, + 20 + ], + [ + 132, + 28 + ], + [ + 136, + 16 + ], + [ + 232, + 15 + ], + [ + 245, + 23 + ], + [ + 254, + 31 + ], + [ + 274, + 19 + ], + [ + 282, + 17 + ], + [ + 287, + 17 + ], + [ + 298, + 13 + ], + [ + 311, + 12 + ], + [ + 337, + 20 + ], + [ + 341, + 24 + ], + [ + 346, + 15 + ], + [ + 364, + 11 + ], + [ + 393, + 12 + ], + [ + 406, + 17 + ], + [ + 415, + 25 + ], + [ + 440, + 17 + ] + ], + "doc": " Private: The application's singleton class.\n\nIt's the entry point into the Atom application and maintains the global state\nof the application.\n\n ", + "range": [ + [ + 30, + 0 + ], + [ + 449, + 50 + ] + ] + } + }, + "34": { + "9": { + "name": "open", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 34, + 9 + ], + [ + 52, + 1 + ] + ], + "doc": "Public: The entry point into the Atom application. " + } + }, + "52": { + "11": { + "name": "windows", + "type": "primitive", + "range": [ + [ + 52, + 11 + ], + [ + 52, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "53": { + "19": { + "name": "applicationMenu", + "type": "primitive", + "range": [ + [ + 53, + 19 + ], + [ + 53, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "54": { + "23": { + "name": "atomProtocolHandler", + "type": "primitive", + "range": [ + [ + 54, + 23 + ], + [ + 54, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "55": { + "16": { + "name": "resourcePath", + "type": "primitive", + "range": [ + [ + 55, + 16 + ], + [ + 55, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "56": { + "11": { + "name": "version", + "type": "primitive", + "range": [ + [ + 56, + 11 + ], + [ + 56, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "58": { + "8": { + "name": "exit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 58, + 8 + ], + [ + 58, + 35 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 60, + 15 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "19": { + "name": "openWithOptions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 83, + 19 + ], + [ + 94, + 1 + ] + ], + "doc": "Private: Opens a new window based on the options provided. " + } + }, + "94": { + "16": { + "name": "removeWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "window" + ], + "range": [ + [ + 94, + 16 + ], + [ + 99, + 1 + ] + ], + "doc": "Public: Removes the {AtomWindow} from the global window list. " + } + }, + "99": { + "13": { + "name": "addWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "window" + ], + "range": [ + [ + 99, + 13 + ], + [ + 110, + 1 + ] + ], + "doc": "Public: Adds the {AtomWindow} to the global window list. " + } + }, + "110": { + "36": { + "name": "listenForArgumentsFromNewProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 36 + ], + [ + 119, + 1 + ] + ], + "doc": " Private: Creates server to listen for additional atom application launches.\n\nYou can run the atom command multiple times, but after the first launch\nthe other launches will just pass their information to this server and then\nclose immediately. " + } + }, + "119": { + "20": { + "name": "deleteSocketFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 119, + 20 + ], + [ + 132, + 1 + ] + ], + "doc": "~Private~" + } + }, + "132": { + "28": { + "name": "setupJavaScriptArguments", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 132, + 28 + ], + [ + 136, + 1 + ] + ], + "doc": "Private: Configures required javascript environment flags. " + } + }, + "136": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 16 + ], + [ + 232, + 1 + ] + ], + "doc": "Private: Registers basic application commands, non-idempotent. " + } + }, + "232": { + "15": { + "name": "sendCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 232, + 15 + ], + [ + 245, + 1 + ] + ], + "doc": " Public: Executes the given command.\n\nIf it isn't handled globally, delegate to the currently focused window.\n\ncommand - The string representing the command.\nargs - The optional arguments to pass along. " + } + }, + "245": { + "23": { + "name": "sendCommandToWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "atomWindow", + "args" + ], + "range": [ + [ + 245, + 23 + ], + [ + 254, + 1 + ] + ], + "doc": " Public: Executes the given command on the given window.\n\ncommand - The string representing the command.\natomWindow - The {AtomWindow} to send the command to.\nargs - The optional arguments to pass along. " + } + }, + "254": { + "31": { + "name": "sendCommandToFirstResponder", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command" + ], + "range": [ + [ + 254, + 31 + ], + [ + 274, + 1 + ] + ], + "doc": " Private: Translates the command into OS X action and sends it to application's first\nresponder. " + } + }, + "274": { + "19": { + "name": "openPathOnEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventName", + "pathToOpen" + ], + "range": [ + [ + 274, + 19 + ], + [ + 282, + 1 + ] + ], + "doc": " Public: Open the given path in the focused window when the event is\ntriggered.\n\nA new window will be created if there is no currently focused window.\n\neventName - The event to listen for.\npathToOpen - The path to open when the event is triggered. " + } + }, + "282": { + "17": { + "name": "windowForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen" + ], + "range": [ + [ + 282, + 17 + ], + [ + 287, + 1 + ] + ], + "doc": "Private: Returns the {AtomWindow} for the given path. " + } + }, + "287": { + "17": { + "name": "focusedWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 287, + 17 + ], + [ + 298, + 1 + ] + ], + "doc": "Public: Returns the currently focused {AtomWindow} or undefined if none. " + } + }, + "298": { + "13": { + "name": "openPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 298, + 13 + ], + [ + 311, + 1 + ] + ], + "doc": " Public: Opens multiple paths, in existing windows if possible.\n\noptions -\n :pathsToOpen - The array of file paths to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " + } + }, + "311": { + "12": { + "name": "openPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 311, + 12 + ], + [ + 337, + 1 + ] + ], + "doc": " Public: Opens a single path, in an existing window if possible.\n\noptions -\n :pathToOpen - The file path to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode.\n :windowDimensions - Object with height and width keys. " + } + }, + "337": { + "20": { + "name": "killAllProcesses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 337, + 20 + ], + [ + 341, + 1 + ] + ], + "doc": "Private: Kill all processes associated with opened windows. " + } + }, + "341": { + "24": { + "name": "killProcessForWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "openedWindow" + ], + "range": [ + [ + 341, + 24 + ], + [ + 346, + 1 + ] + ], + "doc": "Private: Kill process associated with the given opened window. " + } + }, + "346": { + "15": { + "name": "killProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pid" + ], + "range": [ + [ + 346, + 15 + ], + [ + 364, + 1 + ] + ], + "doc": "Private: Kill the process with the given pid. " + } + }, + "364": { + "11": { + "name": "openUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 364, + 11 + ], + [ + 393, + 1 + ] + ], + "doc": " Private: Open an atom:// url.\n\nThe host of the URL being opened is assumed to be the package name\nresponsible for opening the URL. A new window will be created with\nthat package's `urlMain` as the bootstrap script.\n\noptions -\n :urlToOpen - The atom:// url to open.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " + } + }, + "393": { + "12": { + "name": "runSpecs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 393, + 12 + ], + [ + 406, + 1 + ] + ], + "doc": " Private: Opens up a new {AtomWindow} to run specs within.\n\noptions -\n :exitWhenDone - A Boolean that if true, will close the window upon\n completion.\n :resourcePath - The path to include specs from.\n :specPath - The directory to load specs from. " + } + }, + "406": { + "17": { + "name": "runBenchmarks", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 406, + 17 + ], + [ + 415, + 1 + ] + ], + "doc": "~Private~" + } + }, + "415": { + "25": { + "name": "locationForPathToOpen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen" + ], + "range": [ + [ + 415, + 25 + ], + [ + 440, + 1 + ] + ], + "doc": "~Private~" + } + }, + "440": { + "17": { + "name": "promptForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 440, + 17 + ], + [ + 449, + 50 + ] + ], + "doc": " Private: Opens a native dialog to prompt the user for a path.\n\nOnce paths are selected, they're opened in a new or existing {AtomWindow}s.\n\noptions -\n :type - A String which specifies the type of the dialog, could be 'file',\n 'folder' or 'all'. The 'all' is only available on OS X.\n :devMode - A Boolean which controls whether any newly opened windows\n should be in dev mode or not.\n :safeMode - A Boolean which controls whether any newly opened windows\n should be in safe mode or not. " + } + } + }, + "exports": 30 + }, + "src/browser/atom-protocol-handler.coffee": { + "objects": { + "0": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "2": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "3": { + "11": { + "name": "protocol", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "protocol" + } + }, + "10": { + "0": { + "type": "class", + "name": "AtomProtocolHandler", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 21, + 24 + ] + ], + "doc": " Private: Handles requests with 'atom' protocol.\n\nIt's created by {AtomApplication} upon instantiation, and is used to create a\ncustom resource loader by adding the 'atom' custom protocol. ", + "range": [ + [ + 10, + 0 + ], + [ + 27, + 50 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 21, + 1 + ] + ] + } + }, + "21": { + "24": { + "name": "registerAtomProtocol", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 24 + ], + [ + 27, + 50 + ] + ], + "doc": "Private: Creates the 'atom' custom protocol handler. " + } + } + }, + "exports": 10 + }, + "src/browser/atom-window.coffee": { + "objects": { + "0": { + "16": { + "name": "BrowserWindow", + "type": "import", + "range": [ + [ + 0, + 16 + ], + [ + 0, + 39 + ] + ], + "bindingType": "variable", + "module": "browser-window" + } + }, + "1": { + "14": { + "name": "ContextMenu", + "type": "import", + "range": [ + [ + 1, + 14 + ], + [ + 1, + 37 + ] + ], + "bindingType": "variable", + "path": "./context-menu" + } + }, + "2": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "3": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 3, + 9 + ], + [ + 3, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "4": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "6": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 6, + 6 + ], + [ + 6, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "7": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "11": { + "0": { + "type": "class", + "name": "AtomWindow", + "bindingType": "exports", + "classProperties": [ + [ + 14, + 13 + ], + [ + 15, + 25 + ] + ], + "prototypeProperties": [ + [ + 17, + 17 + ], + [ + 18, + 10 + ], + [ + 19, + 10 + ], + [ + 21, + 15 + ], + [ + 56, + 10 + ], + [ + 68, + 18 + ], + [ + 71, + 16 + ], + [ + 86, + 16 + ], + [ + 126, + 12 + ], + [ + 133, + 15 + ], + [ + 147, + 30 + ], + [ + 151, + 17 + ], + [ + 156, + 9 + ], + [ + 158, + 9 + ], + [ + 160, + 12 + ], + [ + 162, + 12 + ], + [ + 164, + 11 + ], + [ + 166, + 23 + ], + [ + 169, + 13 + ], + [ + 171, + 20 + ], + [ + 173, + 16 + ], + [ + 175, + 10 + ], + [ + 177, + 18 + ] + ], + "doc": "~Private~", + "range": [ + [ + 11, + 0 + ], + [ + 177, + 52 + ] + ] + } + }, + "14": { + "13": { + "name": "iconPath", + "type": "function", + "range": [ + [ + 14, + 13 + ], + [ + 14, + 72 + ] + ], + "bindingType": "classProperty" + } + }, + "15": { + "25": { + "name": "includeShellLoadTime", + "type": "primitive", + "range": [ + [ + 15, + 25 + ], + [ + 15, + 28 + ] + ], + "bindingType": "classProperty" + } + }, + "17": { + "17": { + "name": "browserWindow", + "type": "primitive", + "range": [ + [ + 17, + 17 + ], + [ + 17, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "10": { + "name": "loaded", + "type": "primitive", + "range": [ + [ + 18, + 10 + ], + [ + 18, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "10": { + "name": "isSpec", + "type": "primitive", + "range": [ + [ + 19, + 10 + ], + [ + 19, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "settings" + ], + "range": [ + [ + 21, + 15 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "10": { + "name": "getUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "loadSettingsObj" + ], + "range": [ + [ + 56, + 10 + ], + [ + 68, + 1 + ] + ], + "doc": "~Private~" + } + }, + "68": { + "18": { + "name": "getInitialPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 18 + ], + [ + 71, + 1 + ] + ], + "doc": "~Private~" + } + }, + "71": { + "16": { + "name": "containsPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToCheck" + ], + "range": [ + [ + 71, + 16 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 16 + ], + [ + 126, + 1 + ] + ], + "doc": "~Private~" + } + }, + "126": { + "12": { + "name": "openPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen", + "initialLine", + "initialColumn" + ], + "range": [ + [ + 126, + 12 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "15": { + "name": "sendCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 133, + 15 + ], + [ + 147, + 1 + ] + ], + "doc": "~Private~" + } + }, + "147": { + "30": { + "name": "sendCommandToBrowserWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 147, + 30 + ], + [ + 151, + 1 + ] + ], + "doc": "~Private~" + } + }, + "151": { + "17": { + "name": "getDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 151, + 17 + ], + [ + 156, + 1 + ] + ], + "doc": "~Private~" + } + }, + "156": { + "9": { + "name": "close", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 156, + 9 + ], + [ + 156, + 33 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 9 + ], + [ + 158, + 33 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "12": { + "name": "minimize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 160, + 12 + ], + [ + 160, + 39 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "12": { + "name": "maximize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 12 + ], + [ + 162, + 39 + ] + ], + "doc": "~Private~" + } + }, + "164": { + "11": { + "name": "restore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 164, + 11 + ], + [ + 164, + 37 + ] + ], + "doc": "~Private~" + } + }, + "166": { + "23": { + "name": "handlesAtomCommands", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 166, + 23 + ], + [ + 169, + 1 + ] + ], + "doc": "~Private~" + } + }, + "169": { + "13": { + "name": "isFocused", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 169, + 13 + ], + [ + 169, + 41 + ] + ], + "doc": "~Private~" + } + }, + "171": { + "20": { + "name": "isWebViewFocused", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 20 + ], + [ + 171, + 55 + ] + ], + "doc": "~Private~" + } + }, + "173": { + "16": { + "name": "isSpecWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 173, + 16 + ], + [ + 173, + 25 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "10": { + "name": "reload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 175, + 10 + ], + [ + 175, + 36 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "18": { + "name": "toggleDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 18 + ], + [ + 177, + 51 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 11 + }, + "src/browser/auto-update-manager.coffee": { + "objects": { + "0": { + "8": { + "name": "https", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 22 + ] + ], + "bindingType": "variable", + "module": "https", + "builtin": true + } + }, + "1": { + "14": { + "name": "autoUpdater", + "type": "import", + "range": [ + [ + 1, + 14 + ], + [ + 1, + 35 + ] + ], + "bindingType": "variable", + "module": "auto-updater" + } + }, + "2": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "6": { + "11": { + "name": "'idle'", + "type": "primitive", + "range": [ + [ + 6, + 11 + ], + [ + 6, + 16 + ] + ] + } + }, + "7": { + "15": { + "name": "'checking'", + "type": "primitive", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 24 + ] + ] + } + }, + "8": { + "18": { + "name": "'downloading'", + "type": "primitive", + "range": [ + [ + 8, + 18 + ], + [ + 8, + 30 + ] + ] + } + }, + "9": { + "23": { + "name": "'update-available'", + "type": "primitive", + "range": [ + [ + 9, + 23 + ], + [ + 9, + 40 + ] + ] + } + }, + "10": { + "26": { + "name": "'no-update-available'", + "type": "primitive", + "range": [ + [ + 10, + 26 + ], + [ + 10, + 46 + ] + ] + } + }, + "11": { + "12": { + "name": "'error'", + "type": "primitive", + "range": [ + [ + 11, + 12 + ], + [ + 11, + 18 + ] + ] + } + }, + "14": { + "0": { + "type": "class", + "name": "AutoUpdateManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 15 + ], + [ + 48, + 23 + ], + [ + 63, + 28 + ], + [ + 68, + 12 + ], + [ + 73, + 12 + ], + [ + 76, + 9 + ], + [ + 83, + 11 + ], + [ + 86, + 24 + ], + [ + 90, + 17 + ], + [ + 94, + 14 + ] + ], + "doc": "~Private~", + "range": [ + [ + 14, + 0 + ], + [ + 95, + 34 + ] + ] + } + }, + "17": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 17, + 15 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "23": { + "name": "checkForUpdatesShim", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 23 + ], + [ + 63, + 1 + ] + ], + "doc": "Private: Windows doesn't have an auto-updater, so use this method to shim the events. " + } + }, + "63": { + "28": { + "name": "emitUpdateAvailableEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "windows" + ], + "range": [ + [ + 63, + 28 + ], + [ + 68, + 1 + ] + ], + "doc": "~Private~" + } + }, + "68": { + "12": { + "name": "setState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 68, + 12 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "12": { + "name": "getState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 12 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "9": { + "name": "check", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 76, + 9 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "11": { + "name": "install", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 83, + 11 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "24": { + "name": "onUpdateNotAvailable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 24 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "17": { + "name": "onUpdateError", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event", + "message" + ], + "range": [ + [ + 90, + 17 + ], + [ + 94, + 1 + ] + ], + "doc": "~Private~" + } + }, + "94": { + "14": { + "name": "getWindows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 14 + ], + [ + 95, + 34 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 14 + }, + "src/browser/context-menu.coffee": { + "objects": { + "0": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "3": { + "0": { + "type": "class", + "name": "ContextMenu", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 4, + 15 + ], + [ + 12, + 23 + ] + ], + "doc": "~Private~", + "range": [ + [ + 3, + 0 + ], + [ + 23, + 10 + ] + ] + } + }, + "4": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + null + ], + "range": [ + [ + 4, + 15 + ], + [ + 12, + 1 + ] + ] + } + }, + "12": { + "23": { + "name": "createClickHandlers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 12, + 23 + ], + [ + 23, + 10 + ] + ], + "doc": " Private: It's necessary to build the event handlers in this process, otherwise\nclosures are drug across processes and failed to be garbage collected\nappropriately. " + } + } + }, + "exports": 3 + }, + "src/browser/main.coffee": { + "objects": { + "0": { + "24": { + "name": "global.shellStartTime", + "type": "function", + "range": [ + [ + 0, + 24 + ], + [ + 0, + 33 + ] + ] + } + }, + "2": { + "16": { + "name": "crashReporter", + "type": "import", + "range": [ + [ + 2, + 16 + ], + [ + 2, + 39 + ] + ], + "bindingType": "variable", + "module": "crash-reporter" + } + }, + "3": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 3, + 6 + ], + [ + 3, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "6": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 6, + 7 + ], + [ + 6, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "7": { + "11": { + "name": "optimist", + "type": "import", + "range": [ + [ + 7, + 11 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "optimist" + } + }, + "8": { + "8": { + "name": "nslog", + "type": "import", + "range": [ + [ + 8, + 8 + ], + [ + 8, + 22 + ] + ], + "bindingType": "variable", + "module": "nslog" + } + }, + "9": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 9, + 9 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "11": { + "14": { + "name": "nslog", + "type": "primitive", + "range": [ + [ + 11, + 14 + ], + [ + 11, + 18 + ] + ] + } + }, + "17": { + "8": { + "name": "start", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 8 + ], + [ + 51, + 0 + ] + ], + "doc": "~Private~" + } + }, + "54": { + "25": { + "name": "global.devResourcePath", + "type": "function", + "range": [ + [ + 54, + 25 + ], + [ + 54, + 62 + ] + ] + } + }, + "56": { + "21": { + "name": "setupCrashReporter", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 21 + ], + [ + 58, + 0 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "19": { + "name": "parseCommandLine", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 19 + ], + [ + 110, + 0 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": {} + }, + "src/buffered-node-process.coffee": { + "objects": { + "0": { + "18": { + "name": "BufferedProcess", + "type": "import", + "range": [ + [ + 0, + 18 + ], + [ + 0, + 45 + ] + ], + "bindingType": "variable", + "path": "./buffered-process" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "14": { + "0": { + "type": "class", + "name": "BufferedNodeProcess", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 36, + 15 + ] + ], + "doc": " Public: Like {BufferedProcess}, but accepts a Node script as the command\nto run.\n\nThis is necessary on Windows since it doesn't support shebang `#!` lines.\n\n## Requiring in packages\n\n```coffee\n{BufferedNodeProcess} = require 'atom'\n``` ", + "range": [ + [ + 14, + 0 + ], + [ + 50, + 63 + ] + ] + } + }, + "36": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 36, + 15 + ], + [ + 50, + 63 + ] + ], + "doc": " Public: Runs the given Node script by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} path to the JavaScript script to execute.\n :args - The {Array} of arguments to pass to the script (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " + } + } + }, + "exports": 14 + }, + "src/buffered-process.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "15": { + "name": "ChildProcess", + "type": "import", + "range": [ + [ + 1, + 15 + ], + [ + 1, + 37 + ] + ], + "bindingType": "variable", + "module": "child_process", + "builtin": true + } + }, + "18": { + "0": { + "type": "class", + "name": "BufferedProcess", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 40, + 15 + ], + [ + 99, + 16 + ], + [ + 117, + 8 + ] + ], + "doc": " Public: A wrapper which provides standard error/output line buffering for\nNode's ChildProcess.\n\n## Requiring in packages\n\n```coffee\n{BufferedProcess} = require 'atom'\n\ncommand = 'ps'\nargs = ['-ef']\nstdout = (output) -> console.log(output)\nexit = (code) -> console.log(\"ps -ef exited with #{code}\")\nprocess = new BufferedProcess({command, args, stdout, exit})\n``` ", + "range": [ + [ + 18, + 0 + ], + [ + 120, + 19 + ] + ] + } + }, + "40": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 40, + 15 + ], + [ + 99, + 1 + ] + ], + "doc": " Public: Runs the given command by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} command to execute.\n :args - The {Array} of arguments to pass to the command (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " + } + }, + "99": { + "16": { + "name": "bufferStream", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stream", + "onLines", + "onDone" + ], + "range": [ + [ + 99, + 16 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: Helper method to pass data line by line.\n\nstream - The Stream to read from.\nonLines - The callback to call with each line of data.\nonDone - The callback to call when the stream has closed. " + } + }, + "117": { + "8": { + "name": "kill", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 8 + ], + [ + 120, + 19 + ] + ], + "doc": "Public: Terminate the process. " + } + } + }, + "exports": 18 + }, + "src/clipboard.coffee": { + "objects": { + "0": { + "12": { + "name": "clipboard", + "type": "import", + "range": [ + [ + 0, + 12 + ], + [ + 0, + 30 + ] + ], + "bindingType": "variable", + "module": "clipboard" + } + }, + "1": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 1, + 9 + ], + [ + 1, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "7": { + "0": { + "type": "class", + "name": "Clipboard", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 8, + 12 + ], + [ + 9, + 24 + ], + [ + 16, + 7 + ], + [ + 26, + 9 + ], + [ + 34, + 8 + ], + [ + 43, + 20 + ] + ], + "doc": " Public: Represents the clipboard used for copying and pasting in Atom.\n\nAn instance of this class is always available as the `atom.clipboard` global. ", + "range": [ + [ + 7, + 0 + ], + [ + 48, + 12 + ] + ] + } + }, + "8": { + "12": { + "name": "metadata", + "type": "primitive", + "range": [ + [ + 8, + 12 + ], + [ + 8, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "24": { + "name": "signatureForMetadata", + "type": "primitive", + "range": [ + [ + 9, + 24 + ], + [ + 9, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "7": { + "name": "md5", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 16, + 7 + ], + [ + 26, + 1 + ] + ], + "doc": " Private: Creates an `md5` hash of some text.\n\ntext - A {String} to hash.\n\nReturns a hashed {String}. " + } + }, + "26": { + "9": { + "name": "write", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "metadata" + ], + "range": [ + [ + 26, + 9 + ], + [ + 34, + 1 + ] + ], + "doc": " Public: Write the given text to the clipboard.\n\nThe metadata associated with the text is available by calling\n{::readWithMetadata}.\n\ntext - The {String} to store.\nmetadata - The additional info to associate with the text. " + } + }, + "34": { + "8": { + "name": "read", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 8 + ], + [ + 43, + 1 + ] + ], + "doc": " Public: Read the text from the clipboard.\n\nReturns a {String}. " + } + }, + "43": { + "20": { + "name": "readWithMetadata", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 20 + ], + [ + 48, + 12 + ] + ], + "doc": " Public: Read the text from the clipboard and return both the text and the\nassociated metadata.\n\nReturns an {Object} with the following keys:\n :text - The {String} clipboard text.\n :metadata - The metadata stored by an earlier call to {::write}. " + } + } + }, + "exports": 7 + }, + "src/coffee-cache.coffee": { + "objects": { + "0": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 0, + 9 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "3": { + "15": { + "name": "CoffeeScript", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 37 + ] + ], + "bindingType": "variable", + "module": "coffee-script" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "8": { + "17": { + "name": "coffeeCacheDir", + "type": "function", + "range": [ + [ + 8, + 17 + ], + [ + 8, + 45 + ] + ] + } + }, + "11": { + "15": { + "name": "getCachePath", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "coffee" + ], + "range": [ + [ + 11, + 15 + ], + [ + 14, + 0 + ] + ], + "doc": "~Private~" + } + }, + "15": { + "22": { + "name": "getCachedJavaScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "cachePath" + ], + "range": [ + [ + 15, + 22 + ], + [ + 19, + 0 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "18": { + "name": "convertFilePath", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 20, + 18 + ], + [ + 24, + 0 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "22": { + "name": "compileCoffeeScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "coffee", + "filePath", + "cachePath" + ], + "range": [ + [ + 25, + 22 + ], + [ + 33, + 0 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "22": { + "name": "requireCoffeeScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "module", + "filePath" + ], + "range": [ + [ + 34, + 22 + ], + [ + 39, + 0 + ] + ] + } + }, + "41": { + "12": { + "name": "cacheDir", + "type": "primitive", + "range": [ + [ + 41, + 12 + ], + [ + 41, + 19 + ] + ] + } + }, + "42": { + "12": { + "name": "register", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 12 + ], + [ + 46, + 6 + ] + ], + "doc": null + } + } + }, + "exports": 41 + }, + "src/command-installer.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 22 + ] + ], + "bindingType": "variable", + "module": "async" + } + }, + "3": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 3, + 5 + ], + [ + 3, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "4": { + "9": { + "name": "mkdirp", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 24 + ] + ], + "bindingType": "variable", + "module": "mkdirp" + } + }, + "5": { + "8": { + "name": "runas", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "module": "runas" + } + }, + "7": { + "17": { + "name": "symlinkCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "sourcePath", + "destinationPath", + "callback" + ], + "range": [ + [ + 7, + 17 + ], + [ + 17, + 0 + ] + ], + "doc": "~Private~" + } + }, + "18": { + "34": { + "name": "symlinkCommandWithPrivilegeSync", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "sourcePath", + "destinationPath" + ], + "range": [ + [ + 18, + 34 + ], + [ + 27, + 0 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "23": { + "name": "getInstallDirectory", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 23 + ], + [ + 32, + 1 + ] + ], + "doc": null + } + }, + "32": { + "11": { + "name": "install", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "commandPath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 32, + 11 + ], + [ + 52, + 1 + ] + ], + "doc": null + } + }, + "52": { + "22": { + "name": "installAtomCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "resourcePath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 52, + 22 + ], + [ + 56, + 1 + ] + ], + "doc": null + } + }, + "56": { + "21": { + "name": "installApmCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "resourcePath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 56, + 21 + ], + [ + 58, + 51 + ] + ], + "doc": null + } + } + }, + "exports": 29 + }, + "src/config.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "3": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "4": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "5": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "module": "async" + } + }, + "6": { + "14": { + "name": "pathWatcher", + "type": "import", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 34 + ] + ], + "bindingType": "variable", + "module": "pathwatcher" + } + }, + "25": { + "0": { + "type": "class", + "name": "Config", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 36, + 29 + ], + [ + 52, + 8 + ], + [ + 57, + 18 + ], + [ + 72, + 21 + ], + [ + 76, + 23 + ], + [ + 80, + 15 + ], + [ + 91, + 21 + ], + [ + 95, + 15 + ], + [ + 104, + 7 + ], + [ + 114, + 10 + ], + [ + 125, + 18 + ], + [ + 136, + 7 + ], + [ + 152, + 10 + ], + [ + 160, + 18 + ], + [ + 168, + 14 + ], + [ + 178, + 13 + ], + [ + 187, + 17 + ], + [ + 199, + 20 + ], + [ + 211, + 19 + ], + [ + 231, + 11 + ], + [ + 253, + 13 + ], + [ + 256, + 10 + ], + [ + 261, + 8 + ] + ], + "doc": " Public: Used to access all of Atom's configuration details.\n\nAn instance of this class is always available as the `atom.config` global.\n\n## Best practices\n\n* Create your own root keypath using your package's name.\n* Don't depend on (or write to) configuration keys outside of your keypath.\n\n## Example\n\n```coffeescript\natom.config.set('my-package.key', 'value')\natom.config.observe 'my-package.key', ->\n console.log 'My configuration changed:', atom.config.get('my-package.key')\n``` ", + "range": [ + [ + 25, + 0 + ], + [ + 262, + 50 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 29, + 15 + ], + [ + 36, + 1 + ] + ], + "doc": "Private: Created during initialization, available as `atom.config` " + } + }, + "36": { + "29": { + "name": "initializeConfigDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "done" + ], + "range": [ + [ + 36, + 29 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 8 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "18": { + "name": "loadUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 18 + ], + [ + 72, + 1 + ] + ], + "doc": "~Private~" + } + }, + "72": { + "21": { + "name": "observeUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 72, + 21 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "23": { + "name": "unobserveUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 23 + ], + [ + 80, + 1 + ] + ], + "doc": "~Private~" + } + }, + "80": { + "15": { + "name": "setDefaults", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "defaults" + ], + "range": [ + [ + 80, + 15 + ], + [ + 91, + 1 + ] + ], + "doc": "~Private~" + } + }, + "91": { + "21": { + "name": "getUserConfigPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 21 + ], + [ + 95, + 1 + ] + ], + "doc": "Public: Get the {String} path to the config file being used. " + } + }, + "95": { + "15": { + "name": "getSettings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 95, + 15 + ], + [ + 104, + 1 + ] + ], + "doc": "Public: Returns a new {Object} containing all of settings and defaults. " + } + }, + "104": { + "7": { + "name": "get", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 104, + 7 + ], + [ + 114, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key.\n\nkeyPath - The {String} name of the key to retrieve.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `null` if the key doesn't exist in either. " + } + }, + "114": { + "10": { + "name": "getInt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 114, + 10 + ], + [ + 125, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key as an integer.\n\nkeyPath - The {String} name of the key to retrieve\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `NaN` if the key doesn't exist in either. " + } + }, + "125": { + "18": { + "name": "getPositiveInt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "defaultValue" + ], + "range": [ + [ + 125, + 18 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key as a positive integer.\n\nkeyPath - The {String} name of the key to retrieve\ndefaultValue - The integer {Number} to fall back to if the value isn't\n positive, defaults to 0.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `defaultValue` if the key value isn't greater than zero. " + } + }, + "136": { + "7": { + "name": "set", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 136, + 7 + ], + [ + 152, + 1 + ] + ], + "doc": " Public: Sets the value for a configuration setting.\n\nThis value is stored in Atom's internal configuration file.\n\nkeyPath - The {String} name of the key.\nvalue - The value of the setting.\n\nReturns the `value`. " + } + }, + "152": { + "10": { + "name": "toggle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 152, + 10 + ], + [ + 160, + 1 + ] + ], + "doc": " Public: Toggle the value at the key path.\n\nThe new value will be `true` if the value is currently falsy and will be\n`false` if the value is currently truthy.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " + } + }, + "160": { + "18": { + "name": "restoreDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 160, + 18 + ], + [ + 168, + 1 + ] + ], + "doc": " Public: Restore the key path to its default value.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " + } + }, + "168": { + "14": { + "name": "getDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 168, + 14 + ], + [ + 178, + 1 + ] + ], + "doc": " Public: Get the default value of the key path.\n\nkeyPath - The {String} name of the key.\n\nReturns the default value. " + } + }, + "178": { + "13": { + "name": "isDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 178, + 13 + ], + [ + 187, + 1 + ] + ], + "doc": " Public: Is the key path value its default value?\n\nkeyPath - The {String} name of the key.\n\nReturns a {Boolean}, `true` if the current value is the default, `false`\notherwise. " + } + }, + "187": { + "17": { + "name": "pushAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 187, + 17 + ], + [ + 199, + 1 + ] + ], + "doc": " Public: Push the value to the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to push to the array.\n\nReturns the new array length {Number} of the setting. " + } + }, + "199": { + "20": { + "name": "unshiftAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 199, + 20 + ], + [ + 211, + 1 + ] + ], + "doc": " Public: Add the value to the beginning of the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to shift onto the array.\n\nReturns the new array length {Number} of the setting. " + } + }, + "211": { + "19": { + "name": "removeAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 211, + 19 + ], + [ + 231, + 1 + ] + ], + "doc": " Public: Remove the value from the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to remove from the array.\n\nReturns the new array value of the setting. " + } + }, + "231": { + "11": { + "name": "observe", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "options", + "callback" + ], + "range": [ + [ + 231, + 11 + ], + [ + 253, + 1 + ] + ], + "doc": " Public: Establishes an event listener for a given key.\n\n`callback` is fired whenever the value of the key is changed and will\n be fired immediately unless the `callNow` option is `false`.\n\nkeyPath - The {String} name of the key to observe\noptions - An optional {Object} containing the `callNow` key.\ncallback - The {Function} to call when the value of the key changes.\n The first argument will be the new value of the key and the\n  second argument will be an {Object} with a `previous` property\n that is the prior value of the key.\n\nReturns an {Object} with the following keys:\n :off - A {Function} that unobserves the `keyPath` when called. " + } + }, + "253": { + "13": { + "name": "unobserve", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 253, + 13 + ], + [ + 256, + 1 + ] + ], + "doc": " Public: Unobserve all callbacks on a given key.\n\nkeyPath - The {String} name of the key to unobserve. " + } + }, + "256": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 10 + ], + [ + 261, + 1 + ] + ], + "doc": "~Private~" + } + }, + "261": { + "8": { + "name": "save", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 8 + ], + [ + 262, + 50 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 25 + }, + "src/context-menu-manager.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "9": { + "name": "remote", + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 24 + ] + ], + "bindingType": "variable", + "module": "remote" + } + }, + "10": { + "0": { + "type": "class", + "name": "ContextMenuManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 33, + 7 + ], + [ + 45, + 17 + ], + [ + 60, + 17 + ], + [ + 66, + 25 + ], + [ + 82, + 38 + ], + [ + 91, + 34 + ], + [ + 105, + 24 + ], + [ + 111, + 16 + ] + ], + "doc": " Public: Provides a registry for commands that you'd like to appear in the\ncontext menu.\n\nAn instance of this class is always available as the `atom.contextMenu`\nglobal. ", + "range": [ + [ + 10, + 0 + ], + [ + 116, + 64 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 33, + 1 + ] + ] + } + }, + "33": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "object", + null + ], + "range": [ + [ + 33, + 7 + ], + [ + 45, + 1 + ] + ], + "doc": " Public: Creates menu definitions from the object specified by the menu\ncson API.\n\nname - The path of the file that contains the menu definitions.\nobject - The 'context-menu' object specified in the menu cson API.\noptions - An {Object} with the following keys:\n :devMode - Determines whether the entries should only be shown when\n the window is in dev mode.\n\nReturns nothing. " + } + }, + "45": { + "17": { + "name": "buildMenuItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "label", + "command" + ], + "range": [ + [ + 45, + 17 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "17": { + "name": "addBySelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "definition", + null + ], + "range": [ + [ + 60, + 17 + ], + [ + 66, + 1 + ] + ], + "doc": " Private: Registers a command to be displayed when the relevant item is right\nclicked.\n\nselector - The css selector for the active element which should include\n the given command in its context menu.\ndefinition - The object containing keys which match the menu template API.\noptions - An {Object} with the following keys:\n :devMode - Indicates whether this command should only appear while the\n editor is in dev mode. " + } + }, + "66": { + "25": { + "name": "definitionsForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element", + null + ], + "range": [ + [ + 66, + 25 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Returns definitions which match the element and devMode. " + } + }, + "82": { + "38": { + "name": "menuTemplateForMostSpecificElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element", + null + ], + "range": [ + [ + 82, + 38 + ], + [ + 91, + 1 + ] + ], + "doc": " Private: Used to generate the context menu for a specific element and it's\nparents.\n\nThe menu items are sorted such that menu items that match closest to the\nactive element are listed first. The further down the list you go, the higher\nup the ancestor hierarchy they match.\n\nelement - The DOM element to generate the menu template for. " + } + }, + "91": { + "34": { + "name": "combinedMenuTemplateForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 91, + 34 + ], + [ + 105, + 1 + ] + ], + "doc": " Private: Returns a menu template for both normal entries as well as\ndevelopment mode entries. " + } + }, + "105": { + "24": { + "name": "executeBuildHandlers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event", + "menuTemplate" + ], + "range": [ + [ + 105, + 24 + ], + [ + 111, + 1 + ] + ], + "doc": " Private: Executes `executeAtBuild` if defined for each menu item with\nthe provided event and then removes the `executeAtBuild` property from\nthe menu item.\n\nThis is useful for commands that need to provide data about the event\nto the command. " + } + }, + "111": { + "16": { + "name": "showForEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 111, + 16 + ], + [ + 116, + 64 + ] + ], + "doc": "Public: Request a context menu to be displayed. " + } + } + }, + "exports": 10 + }, + "src/cursor-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "18": { + "name": "CursorComponent", + "type": "function", + "range": [ + [ + 5, + 18 + ], + [ + 17, + 79 + ] + ] + } + }, + "6": { + "15": { + "name": "'CursorComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 31 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 16, + 1 + ] + ], + "doc": null + } + }, + "16": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 16, + 25 + ], + [ + 17, + 79 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/cursor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "4": { + "0": { + "type": "class", + "name": "CursorView", + "bindingType": "exports", + "classProperties": [ + [ + 5, + 12 + ], + [ + 8, + 16 + ], + [ + 10, + 17 + ], + [ + 13, + 18 + ], + [ + 19, + 17 + ] + ], + "prototypeProperties": [ + [ + 24, + 12 + ], + [ + 25, + 11 + ], + [ + 26, + 15 + ], + [ + 27, + 16 + ], + [ + 28, + 23 + ], + [ + 30, + 14 + ], + [ + 44, + 16 + ], + [ + 48, + 17 + ], + [ + 65, + 12 + ], + [ + 68, + 19 + ], + [ + 71, + 19 + ], + [ + 74, + 20 + ], + [ + 77, + 14 + ], + [ + 86, + 16 + ], + [ + 90, + 17 + ], + [ + 94, + 17 + ], + [ + 98, + 21 + ], + [ + 101, + 21 + ], + [ + 104, + 30 + ], + [ + 109, + 24 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 112, + 31 + ] + ] + } + }, + "5": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 12 + ], + [ + 8, + 1 + ] + ] + } + }, + "8": { + "16": { + "name": "blinkPeriod", + "type": "primitive", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 18 + ] + ], + "bindingType": "classProperty" + } + }, + "10": { + "17": { + "name": "blinkCursors", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 17 + ], + [ + 13, + 1 + ] + ], + "doc": "~Private~" + } + }, + "13": { + "18": { + "name": "startBlinking", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 13, + 18 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "17": { + "name": "stopBlinking", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 19, + 17 + ], + [ + 24, + 1 + ] + ], + "doc": "~Private~" + } + }, + "24": { + "12": { + "name": "blinking", + "type": "primitive", + "range": [ + [ + 24, + 12 + ], + [ + 24, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "25": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 25, + 11 + ], + [ + 25, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "26": { + "15": { + "name": "needsUpdate", + "type": "primitive", + "range": [ + [ + 26, + 15 + ], + [ + 26, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "27": { + "16": { + "name": "needsRemoval", + "type": "primitive", + "range": [ + [ + 27, + 16 + ], + [ + 27, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "28": { + "23": { + "name": "shouldPauseBlinking", + "type": "primitive", + "range": [ + [ + 28, + 23 + ], + [ + 28, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "30": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 30, + 14 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 16 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 17 + ], + [ + 65, + 1 + ] + ], + "doc": "~Private~" + } + }, + "65": { + "12": { + "name": "isHidden", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 65, + 12 + ], + [ + 68, + 1 + ] + ], + "doc": "Private: Override for speed. The base function checks the computedStyle " + } + }, + "68": { + "19": { + "name": "needsAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 19 + ], + [ + 71, + 1 + ] + ], + "doc": "~Private~" + } + }, + "71": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 71, + 19 + ], + [ + 74, + 1 + ] + ], + "doc": "~Private~" + } + }, + "74": { + "20": { + "name": "getPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 20 + ], + [ + 77, + 1 + ] + ], + "doc": "~Private~" + } + }, + "77": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 77, + 14 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "16": { + "name": "stopBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 16 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "17": { + "name": "startBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 17 + ], + [ + 94, + 1 + ] + ], + "doc": "~Private~" + } + }, + "94": { + "17": { + "name": "resetBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 17 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "21": { + "name": "getBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 21 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "21": { + "name": "getScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 21 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "30": { + "name": "removeIdleClassTemporarily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 30 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "24": { + "name": "resetCursorAnimation", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 24 + ], + [ + 112, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/cursor.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "10": { + "0": { + "type": "class", + "name": "Cursor", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 18 + ], + [ + 12, + 18 + ], + [ + 13, + 14 + ], + [ + 14, + 11 + ], + [ + 15, + 19 + ], + [ + 18, + 15 + ], + [ + 49, + 11 + ], + [ + 52, + 18 + ], + [ + 60, + 16 + ], + [ + 70, + 21 + ], + [ + 75, + 21 + ], + [ + 78, + 18 + ], + [ + 89, + 21 + ], + [ + 94, + 21 + ], + [ + 97, + 14 + ], + [ + 101, + 20 + ], + [ + 105, + 14 + ], + [ + 112, + 13 + ], + [ + 122, + 14 + ], + [ + 136, + 16 + ], + [ + 145, + 28 + ], + [ + 158, + 27 + ], + [ + 170, + 16 + ], + [ + 176, + 19 + ], + [ + 180, + 18 + ], + [ + 184, + 16 + ], + [ + 188, + 19 + ], + [ + 192, + 16 + ], + [ + 196, + 19 + ], + [ + 201, + 24 + ], + [ + 205, + 10 + ], + [ + 217, + 12 + ], + [ + 233, + 12 + ], + [ + 247, + 13 + ], + [ + 256, + 13 + ], + [ + 260, + 16 + ], + [ + 264, + 31 + ], + [ + 268, + 25 + ], + [ + 273, + 30 + ], + [ + 283, + 25 + ], + [ + 293, + 25 + ], + [ + 297, + 19 + ], + [ + 301, + 25 + ], + [ + 305, + 19 + ], + [ + 310, + 29 + ], + [ + 315, + 30 + ], + [ + 320, + 26 + ], + [ + 336, + 43 + ], + [ + 358, + 41 + ], + [ + 380, + 41 + ], + [ + 409, + 37 + ], + [ + 430, + 40 + ], + [ + 447, + 29 + ], + [ + 457, + 29 + ], + [ + 461, + 34 + ], + [ + 466, + 38 + ], + [ + 470, + 45 + ], + [ + 484, + 49 + ], + [ + 502, + 34 + ], + [ + 506, + 24 + ], + [ + 510, + 23 + ], + [ + 514, + 18 + ], + [ + 521, + 17 + ], + [ + 527, + 13 + ], + [ + 532, + 32 + ] + ], + "doc": " Public: The `Cursor` class represents the little blinking line identifying\nwhere text can be inserted.\n\nCursors belong to {Editor}s and have some metadata attached in the form\nof a {Marker}. ", + "range": [ + [ + 10, + 0 + ], + [ + 540, + 50 + ] + ] + } + }, + "11": { + "18": { + "name": "screenPosition", + "type": "primitive", + "range": [ + [ + 11, + 18 + ], + [ + 11, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "18": { + "name": "bufferPosition", + "type": "primitive", + "range": [ + [ + 12, + 18 + ], + [ + 12, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "13": { + "14": { + "name": "goalColumn", + "type": "primitive", + "range": [ + [ + 13, + 14 + ], + [ + 13, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 14, + 11 + ], + [ + 14, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "15": { + "19": { + "name": "needsAutoscroll", + "type": "primitive", + "range": [ + [ + 15, + 19 + ], + [ + 15, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 18, + 15 + ], + [ + 49, + 1 + ] + ], + "doc": "Private: Instantiated by an {Editor} " + } + }, + "49": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 11 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "18": { + "name": "changePosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options", + "fn" + ], + "range": [ + [ + 52, + 18 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "16": { + "name": "getPixelRect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 60, + 16 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "21": { + "name": "setScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 70, + 21 + ], + [ + 75, + 1 + ] + ], + "doc": " Public: Moves a cursor to a given screen position.\n\nscreenPosition - An {Array} of two numbers: the screen row, and the screen\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " + } + }, + "75": { + "21": { + "name": "getScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 75, + 21 + ], + [ + 78, + 1 + ] + ], + "doc": "Public: Returns the screen position of the cursor as an Array. " + } + }, + "78": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 78, + 18 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "setBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 89, + 21 + ], + [ + 94, + 1 + ] + ], + "doc": " Public: Moves a cursor to a given buffer position.\n\nbufferPosition - An {Array} of two numbers: the buffer row, and the buffer\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " + } + }, + "94": { + "21": { + "name": "getBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 21 + ], + [ + 97, + 1 + ] + ], + "doc": "Public: Returns the current buffer position as an Array. " + } + }, + "97": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 97, + 14 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "20": { + "name": "updateVisibility", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 20 + ], + [ + 105, + 1 + ] + ], + "doc": "Public: If the marker range is empty, the cursor is marked as being visible. " + } + }, + "105": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 105, + 14 + ], + [ + 112, + 1 + ] + ], + "doc": "Public: Sets whether the cursor is visible. " + } + }, + "112": { + "13": { + "name": "isVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 112, + 13 + ], + [ + 112, + 23 + ] + ], + "doc": "Public: Returns the visibility of the cursor. " + } + }, + "122": { + "14": { + "name": "wordRegExp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 122, + 14 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Get the RegExp used by the cursor to determine what a \"word\" is.\n\noptions: An optional {Object} with the following keys:\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the regex.\n (default: true)\n\nReturns a {RegExp}. " + } + }, + "136": { + "16": { + "name": "isLastCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 16 + ], + [ + 145, + 1 + ] + ], + "doc": " Public: Identifies if this cursor is the last in the {Editor}.\n\n\"Last\" is defined as the most recently added cursor.\n\nReturns a {Boolean}. " + } + }, + "145": { + "28": { + "name": "isSurroundedByWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 145, + 28 + ], + [ + 158, + 1 + ] + ], + "doc": " Public: Identifies if the cursor is surrounded by whitespace.\n\n\"Surrounded\" here means that the character directly before and after the\ncursor are both whitespace.\n\nReturns a {Boolean}. " + } + }, + "158": { + "27": { + "name": "isBetweenWordAndNonWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 27 + ], + [ + 170, + 1 + ] + ], + "doc": " Public: Returns whether the cursor is currently between a word and non-word\ncharacter. The non-word characters are defined by the\n`editor.nonWordCharacters` config value.\n\nThis method returns false if the character before or after the cursor is\nwhitespace.\n\nReturns a Boolean. " + } + }, + "170": { + "16": { + "name": "isInsideWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 170, + 16 + ], + [ + 176, + 1 + ] + ], + "doc": "Public: Returns whether this cursor is between a word's start and end. " + } + }, + "176": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 176, + 19 + ], + [ + 180, + 1 + ] + ], + "doc": "Public: Prevents this cursor from causing scrolling. " + } + }, + "180": { + "18": { + "name": "clearSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 180, + 18 + ], + [ + 184, + 1 + ] + ], + "doc": "Public: Deselects the current selection. " + } + }, + "184": { + "16": { + "name": "getScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 184, + 16 + ], + [ + 188, + 1 + ] + ], + "doc": "Public: Returns the cursor's current screen row. " + } + }, + "188": { + "19": { + "name": "getScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 19 + ], + [ + 192, + 1 + ] + ], + "doc": "Public: Returns the cursor's current screen column. " + } + }, + "192": { + "16": { + "name": "getBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 192, + 16 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Retrieves the cursor's current buffer row. " + } + }, + "196": { + "19": { + "name": "getBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 196, + 19 + ], + [ + 201, + 1 + ] + ], + "doc": "Public: Returns the cursor's current buffer column. " + } + }, + "201": { + "24": { + "name": "getCurrentBufferLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 201, + 24 + ], + [ + 205, + 1 + ] + ], + "doc": " Public: Returns the cursor's current buffer row of text excluding its line\nending. " + } + }, + "205": { + "10": { + "name": "moveUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount", + null + ], + "range": [ + [ + 205, + 10 + ], + [ + 217, + 1 + ] + ], + "doc": "Public: Moves the cursor up one screen row. " + } + }, + "217": { + "12": { + "name": "moveDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount", + null + ], + "range": [ + [ + 217, + 12 + ], + [ + 233, + 1 + ] + ], + "doc": "Public: Moves the cursor down one screen row. " + } + }, + "233": { + "12": { + "name": "moveLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 233, + 12 + ], + [ + 247, + 1 + ] + ], + "doc": " Public: Moves the cursor left one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the left of the selection if a\n selection exists. " + } + }, + "247": { + "13": { + "name": "moveRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 247, + 13 + ], + [ + 256, + 1 + ] + ], + "doc": " Public: Moves the cursor right one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the right of the selection if a\n selection exists. " + } + }, + "256": { + "13": { + "name": "moveToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 13 + ], + [ + 260, + 1 + ] + ], + "doc": "Public: Moves the cursor to the top of the buffer. " + } + }, + "260": { + "16": { + "name": "moveToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 16 + ], + [ + 264, + 1 + ] + ], + "doc": "Public: Moves the cursor to the bottom of the buffer. " + } + }, + "264": { + "31": { + "name": "moveToBeginningOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 264, + 31 + ], + [ + 268, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the line. " + } + }, + "268": { + "25": { + "name": "moveToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 268, + 25 + ], + [ + 273, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the buffer line. " + } + }, + "273": { + "30": { + "name": "moveToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 273, + 30 + ], + [ + 283, + 1 + ] + ], + "doc": " Public: Moves the cursor to the beginning of the first character in the\nline. " + } + }, + "283": { + "25": { + "name": "skipLeadingWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 283, + 25 + ], + [ + 293, + 1 + ] + ], + "doc": " Public: Moves the cursor to the beginning of the buffer line, skipping all\nwhitespace. " + } + }, + "293": { + "25": { + "name": "moveToEndOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 293, + 25 + ], + [ + 297, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the line. " + } + }, + "297": { + "19": { + "name": "moveToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 19 + ], + [ + 301, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the buffer line. " + } + }, + "301": { + "25": { + "name": "moveToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 301, + 25 + ], + [ + 305, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the word. " + } + }, + "305": { + "19": { + "name": "moveToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 305, + 19 + ], + [ + 310, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the word. " + } + }, + "310": { + "29": { + "name": "moveToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 310, + 29 + ], + [ + 315, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the next word. " + } + }, + "315": { + "30": { + "name": "moveToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 30 + ], + [ + 320, + 1 + ] + ], + "doc": "Public: Moves the cursor to the previous word boundary. " + } + }, + "320": { + "26": { + "name": "moveToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 320, + 26 + ], + [ + 336, + 1 + ] + ], + "doc": "Public: Moves the cursor to the next word boundary. " + } + }, + "336": { + "43": { + "name": "getBeginningOfCurrentWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 336, + 43 + ], + [ + 358, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the current word starts.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n :allowPrevious - A {Boolean} indicating whether the beginning of the\n previous word can be returned.\n\nReturns a {Range}. " + } + }, + "358": { + "41": { + "name": "getPreviousWordBoundaryBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 358, + 41 + ], + [ + 380, + 1 + ] + ], + "doc": " Public: Retrieves buffer position of previous word boundary. It might be on\nthe current word, or the previous word. " + } + }, + "380": { + "41": { + "name": "getMoveNextWordBoundaryBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 380, + 41 + ], + [ + 409, + 1 + ] + ], + "doc": " Public: Retrieves buffer position of the next word boundary. It might be on\nthe current word, or the previous word. " + } + }, + "409": { + "37": { + "name": "getEndOfCurrentWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 409, + 37 + ], + [ + 430, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the current word ends.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp})\n :includeNonWordCharacters - A Boolean indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n\nReturns a {Range}. " + } + }, + "430": { + "40": { + "name": "getBeginningOfNextWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 430, + 40 + ], + [ + 447, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the next word starts.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n\nReturns a {Range}. " + } + }, + "447": { + "29": { + "name": "getCurrentWordBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 447, + 29 + ], + [ + 457, + 1 + ] + ], + "doc": " Public: Returns the buffer Range occupied by the word located under the cursor.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}). " + } + }, + "457": { + "29": { + "name": "getCurrentLineBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 457, + 29 + ], + [ + 461, + 1 + ] + ], + "doc": " Public: Returns the buffer Range for the current line.\n\noptions -\n :includeNewline: - A {Boolean} which controls whether the Range should\n include the newline. " + } + }, + "461": { + "34": { + "name": "moveToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 461, + 34 + ], + [ + 466, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the next paragraph " + } + }, + "466": { + "38": { + "name": "moveToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 466, + 38 + ], + [ + 470, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the previous paragraph " + } + }, + "470": { + "45": { + "name": "getBeginningOfNextParagraphBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 470, + 45 + ], + [ + 484, + 1 + ] + ], + "doc": "~Private~" + } + }, + "484": { + "49": { + "name": "getBeginningOfPreviousParagraphBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 484, + 49 + ], + [ + 502, + 1 + ] + ], + "doc": "~Private~" + } + }, + "502": { + "34": { + "name": "getCurrentParagraphBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 502, + 34 + ], + [ + 506, + 1 + ] + ], + "doc": " Public: Retrieves the range for the current paragraph.\n\nA paragraph is defined as a block of text surrounded by empty lines.\n\nReturns a {Range}. " + } + }, + "506": { + "24": { + "name": "getCurrentWordPrefix", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 506, + 24 + ], + [ + 510, + 1 + ] + ], + "doc": "Public: Returns the characters preceding the cursor in the current word. " + } + }, + "510": { + "23": { + "name": "isAtBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 510, + 23 + ], + [ + 514, + 1 + ] + ], + "doc": "Public: Returns whether the cursor is at the start of a line. " + } + }, + "514": { + "18": { + "name": "getIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 514, + 18 + ], + [ + 521, + 1 + ] + ], + "doc": "Public: Returns the indentation level of the current line. " + } + }, + "521": { + "17": { + "name": "isAtEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 521, + 17 + ], + [ + 527, + 1 + ] + ], + "doc": "Public: Returns whether the cursor is on the line return character. " + } + }, + "527": { + "13": { + "name": "getScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 527, + 13 + ], + [ + 532, + 1 + ] + ], + "doc": " Public: Retrieves the grammar's token scopes for the line.\n\nReturns an {Array} of {String}s. " + } + }, + "532": { + "32": { + "name": "hasPrecedingCharactersOnLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 532, + 32 + ], + [ + 540, + 50 + ] + ], + "doc": " Public: Returns true if this cursor has no non-whitespace characters before\nits current position. " + } + } + }, + "exports": 10 + }, + "src/cursors-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "debounce", + "exportsProperty": "debounce" + }, + "11": { + "type": "import", + "range": [ + [ + 2, + 11 + ], + [ + 2, + 17 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "toArray", + "exportsProperty": "toArray" + }, + "20": { + "type": "import", + "range": [ + [ + 2, + 20 + ], + [ + 2, + 39 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "42": { + "type": "import", + "range": [ + [ + 2, + 42 + ], + [ + 2, + 48 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqual", + "exportsProperty": "isEqual" + } + }, + "3": { + "18": { + "name": "SubscriberMixin", + "type": "import", + "range": [ + [ + 3, + 18 + ], + [ + 3, + 45 + ] + ], + "bindingType": "variable", + "path": "./subscriber-mixin" + } + }, + "4": { + "18": { + "name": "CursorComponent", + "type": "import", + "range": [ + [ + 4, + 18 + ], + [ + 4, + 45 + ] + ], + "bindingType": "variable", + "path": "./cursor-component" + } + }, + "7": { + "19": { + "name": "CursorsComponent", + "type": "function", + "range": [ + [ + 7, + 19 + ], + [ + 60, + 37 + ] + ] + } + }, + "8": { + "15": { + "name": "'CursorsComponent'", + "type": "primitive", + "range": [ + [ + 8, + 15 + ], + [ + 8, + 32 + ] + ] + } + }, + "9": { + "10": { + "type": "primitive", + "range": [ + [ + 9, + 10 + ], + [ + 9, + 26 + ] + ] + } + }, + "11": { + "29": { + "type": "primitive", + "range": [ + [ + 11, + 29 + ], + [ + 11, + 32 + ] + ] + } + }, + "13": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 10 + ], + [ + 25, + 1 + ] + ], + "doc": null + } + }, + "25": { + "19": { + "name": "getInitialState", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 19 + ], + [ + 28, + 1 + ] + ], + "doc": null + } + }, + "28": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 21 + ], + [ + 31, + 1 + ] + ], + "doc": null + } + }, + "31": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 31, + 24 + ], + [ + 34, + 1 + ] + ], + "doc": null + } + }, + "34": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps", + "newState" + ], + "range": [ + [ + 34, + 25 + ], + [ + 38, + 1 + ] + ], + "doc": null + } + }, + "38": { + "23": { + "name": "componentWillUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 38, + 23 + ], + [ + 45, + 1 + ] + ], + "doc": null + } + }, + "45": { + "24": { + "name": "startBlinkingCursors", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 24 + ], + [ + 48, + 1 + ] + ], + "doc": null + } + }, + "48": { + "34": { + "type": "primitive", + "range": [ + [ + 48, + 34 + ], + [ + 48, + 37 + ] + ] + } + }, + "50": { + "23": { + "name": "stopBlinkingCursors", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 23 + ], + [ + 53, + 1 + ] + ], + "doc": null + } + }, + "53": { + "21": { + "name": "toggleCursorBlink", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 21 + ], + [ + 56, + 1 + ] + ], + "doc": null + } + }, + "56": { + "23": { + "name": "pauseCursorBlinking", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 23 + ], + [ + 60, + 37 + ] + ], + "doc": null + } + } + }, + "exports": 7 + }, + "src/custom-event-mixin.coffee": { + "objects": { + "2": { + "2": { + "type": "primitive", + "range": [ + [ + 2, + 2 + ], + [ + 14, + 52 + ] + ] + }, + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 2, + 22 + ], + [ + 5, + 1 + ] + ], + "doc": null + } + }, + "5": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 24 + ], + [ + 10, + 1 + ] + ], + "doc": null + } + }, + "10": { + "27": { + "name": "addCustomEventListeners", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "customEventListeners" + ], + "range": [ + [ + 10, + 27 + ], + [ + 14, + 52 + ] + ], + "doc": null + } + } + }, + "exports": 2 + }, + "src/decoration.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Subscriber", + "exportsProperty": "Subscriber" + }, + "13": { + "type": "import", + "range": [ + [ + 1, + 13 + ], + [ + 1, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "3": { + "12": { + "name": "0", + "type": "primitive", + "range": [ + [ + 3, + 12 + ], + [ + 3, + 12 + ] + ] + } + }, + "4": { + "9": { + "name": "nextId", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 4, + 9 + ], + [ + 4, + 22 + ] + ] + } + }, + "40": { + "0": { + "type": "class", + "name": "Decoration", + "bindingType": "exports", + "classProperties": [ + [ + 43, + 11 + ] + ], + "prototypeProperties": [ + [ + 49, + 15 + ], + [ + 59, + 11 + ], + [ + 70, + 10 + ], + [ + 79, + 13 + ], + [ + 82, + 13 + ], + [ + 89, + 10 + ], + [ + 92, + 18 + ], + [ + 98, + 9 + ], + [ + 104, + 20 + ] + ], + "doc": " Public: Represents a decoration that follows a {Marker}. A decoration is\nbasically a visual representation of a marker. It allows you to add CSS\nclasses to line numbers in the gutter, lines, and add selection-line regions\naround marked ranges of text.\n\n{Decoration} objects are not meant to be created directly, but created with\n{Editor::decorateMarker}. eg.\n\n```coffee\nrange = editor.getSelectedBufferRange() # any range you like\nmarker = editor.markBufferRange(range)\ndecoration = editor.decorateMarker(marker, {type: 'line', class: 'my-line-class'})\n```\n\nBest practice for destorying the decoration is by destroying the {Marker}.\n\n```\nmarker.destroy()\n```\n\nYou should only use {Decoration::destroy} when you still need or do not own\nthe marker.\n\n### IDs\nEach {Decoration} has a unique ID available via `decoration.id`.\n\n### Events\nA couple of events are emitted:\n\n* `destroyed`: When the {Decoration} is destroyed\n* `updated`: When the {Decoration} is updated via {Decoration::update}.\n Event object has properties `oldParams` and `newParams`\n\n ", + "range": [ + [ + 40, + 0 + ], + [ + 106, + 8 + ] + ] + } + }, + "43": { + "11": { + "name": "isType", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "decorationParams", + "type" + ], + "range": [ + [ + 43, + 11 + ], + [ + 49, + 1 + ] + ], + "doc": "~Private~" + } + }, + "49": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null, + null + ], + "range": [ + [ + 49, + 15 + ], + [ + 59, + 1 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 11 + ], + [ + 70, + 1 + ] + ], + "doc": " Public: Destroy this marker.\n\nIf you own the marker, you should use {Marker::destroy} which will destroy\nthis decoration. " + } + }, + "70": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "newParams" + ], + "range": [ + [ + 70, + 10 + ], + [ + 79, + 1 + ] + ], + "doc": " Public: Update the marker with new params. Allows you to change the decoration's class.\n\n```\ndecoration.update({type: 'gutter', class: 'my-new-class'})\n``` " + } + }, + "79": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 13 + ], + [ + 79, + 22 + ] + ], + "doc": "Public: Returns the marker associated with this {Decoration} " + } + }, + "82": { + "13": { + "name": "getParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 13 + ], + [ + 82, + 22 + ] + ], + "doc": "Public: Returns the {Decoration}'s params. " + } + }, + "89": { + "10": { + "name": "isType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "type" + ], + "range": [ + [ + 89, + 10 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "18": { + "name": "matchesPattern", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decorationPattern" + ], + "range": [ + [ + 92, + 18 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "9": { + "name": "flash", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass", + "duration" + ], + "range": [ + [ + 98, + 9 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "20": { + "name": "consumeNextFlash", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 20 + ], + [ + 106, + 8 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 40 + }, + "src/deserializer-manager.coffee": { + "objects": { + "20": { + "0": { + "type": "class", + "name": "DeserializerManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 21, + 15 + ], + [ + 27, + 7 + ], + [ + 33, + 10 + ], + [ + 41, + 15 + ], + [ + 54, + 7 + ] + ], + "doc": " Public: Manages the deserializers used for serialized state\n\nAn instance of this class is always available as the `atom.deserializers`\nglobal.\n\n### Registering a deserializer\n\n```coffee\nclass MyPackageView extends View\n atom.deserializers.add(this)\n\n @deserialize: (state) ->\n new MyPackageView(state)\n\n constructor: (@state) ->\n\n serialize: ->\n @state\n``` ", + "range": [ + [ + 20, + 0 + ], + [ + 58, + 24 + ] + ] + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 15 + ], + [ + 27, + 1 + ] + ] + } + }, + "27": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "classes" + ], + "range": [ + [ + 27, + 7 + ], + [ + 33, + 1 + ] + ], + "doc": " Public: Register the given class(es) as deserializers.\n\nclasses - One or more classes to register. " + } + }, + "33": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "classes" + ], + "range": [ + [ + 33, + 10 + ], + [ + 41, + 1 + ] + ], + "doc": " Public: Remove the given class(es) as deserializers.\n\nclasses - One or more classes to remove. " + } + }, + "41": { + "15": { + "name": "deserialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state", + "params" + ], + "range": [ + [ + 41, + 15 + ], + [ + 54, + 1 + ] + ], + "doc": " Public: Deserialize the state and params.\n\nstate - The state {Object} to deserialize.\nparams - The params {Object} to pass as the second arguments to the\n deserialize method of the deserializer. " + } + }, + "54": { + "7": { + "name": "get", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 54, + 7 + ], + [ + 58, + 24 + ] + ], + "doc": " Private: Get the deserializer for the state.\n\nstate - The state {Object} being deserialized. " + } + } + }, + "exports": 20 + }, + "src/display-buffer-marker.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 2, + 10 + ], + [ + 2, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "5": { + "0": { + "type": "class", + "name": "DisplayBufferMarker", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 9, + 28 + ], + [ + 10, + 25 + ], + [ + 11, + 25 + ], + [ + 12, + 25 + ], + [ + 13, + 25 + ], + [ + 14, + 12 + ], + [ + 16, + 15 + ], + [ + 27, + 8 + ], + [ + 33, + 18 + ], + [ + 40, + 18 + ], + [ + 46, + 18 + ], + [ + 53, + 18 + ], + [ + 56, + 17 + ], + [ + 62, + 25 + ], + [ + 69, + 25 + ], + [ + 76, + 25 + ], + [ + 83, + 25 + ], + [ + 89, + 25 + ], + [ + 96, + 25 + ], + [ + 103, + 25 + ], + [ + 110, + 25 + ], + [ + 117, + 26 + ], + [ + 124, + 26 + ], + [ + 131, + 24 + ], + [ + 138, + 24 + ], + [ + 146, + 13 + ], + [ + 150, + 13 + ], + [ + 153, + 11 + ], + [ + 157, + 14 + ], + [ + 162, + 11 + ], + [ + 169, + 15 + ], + [ + 172, + 17 + ], + [ + 175, + 17 + ], + [ + 178, + 21 + ], + [ + 183, + 11 + ], + [ + 187, + 11 + ], + [ + 191, + 11 + ], + [ + 195, + 11 + ], + [ + 198, + 13 + ], + [ + 202, + 19 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 230, + 23 + ] + ] + } + }, + "9": { + "28": { + "name": "bufferMarkerSubscription", + "type": "primitive", + "range": [ + [ + 9, + 28 + ], + [ + 9, + 31 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "25": { + "name": "oldHeadBufferPosition", + "type": "primitive", + "range": [ + [ + 10, + 25 + ], + [ + 10, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "11": { + "25": { + "name": "oldHeadScreenPosition", + "type": "primitive", + "range": [ + [ + 11, + 25 + ], + [ + 11, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "25": { + "name": "oldTailBufferPosition", + "type": "primitive", + "range": [ + [ + 12, + 25 + ], + [ + 12, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "13": { + "25": { + "name": "oldTailScreenPosition", + "type": "primitive", + "range": [ + [ + 13, + 25 + ], + [ + 13, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "12": { + "name": "wasValid", + "type": "primitive", + "range": [ + [ + 14, + 12 + ], + [ + 14, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 16, + 15 + ], + [ + 27, + 1 + ] + ], + "doc": "~Private~" + } + }, + "27": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 27, + 8 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 33, + 18 + ], + [ + 40, + 1 + ] + ], + "doc": " Private: Gets the screen range of the display marker.\n\nReturns a {Range}. " + } + }, + "40": { + "18": { + "name": "setScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 40, + 18 + ], + [ + 46, + 1 + ] + ], + "doc": " Private: Modifies the screen range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " + } + }, + "46": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 46, + 18 + ], + [ + 53, + 1 + ] + ], + "doc": " Private: Gets the buffer range of the display marker.\n\nReturns a {Range}. " + } + }, + "53": { + "18": { + "name": "setBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 53, + 18 + ], + [ + 56, + 1 + ] + ], + "doc": " Private: Modifies the buffer range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " + } + }, + "56": { + "17": { + "name": "getPixelRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 17 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "25": { + "name": "getHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 62, + 25 + ], + [ + 69, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's head.\n\nReturns a {Point}. " + } + }, + "69": { + "25": { + "name": "setHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 69, + 25 + ], + [ + 76, + 1 + ] + ], + "doc": " Private: Sets the screen position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "76": { + "25": { + "name": "getHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 25 + ], + [ + 83, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's head.\n\nReturns a {Point}. " + } + }, + "83": { + "25": { + "name": "setHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 83, + 25 + ], + [ + 89, + 1 + ] + ], + "doc": " Private: Sets the buffer position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "89": { + "25": { + "name": "getTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 25 + ], + [ + 96, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's tail.\n\nReturns a {Point}. " + } + }, + "96": { + "25": { + "name": "setTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 96, + 25 + ], + [ + 103, + 1 + ] + ], + "doc": " Private: Sets the screen position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "103": { + "25": { + "name": "getTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 103, + 25 + ], + [ + 110, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's tail.\n\nReturns a {Point}. " + } + }, + "110": { + "25": { + "name": "setTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 110, + 25 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: Sets the buffer position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "117": { + "26": { + "name": "getStartScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 26 + ], + [ + 124, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndScreenPosition}.\n\nReturns a {Point}. " + } + }, + "124": { + "26": { + "name": "getStartBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 26 + ], + [ + 131, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndBufferPosition}.\n\nReturns a {Point}. " + } + }, + "131": { + "24": { + "name": "getEndScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 131, + 24 + ], + [ + 138, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartScreenPosition}.\n\nReturns a {Point}. " + } + }, + "138": { + "24": { + "name": "getEndBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 24 + ], + [ + 146, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartBufferPosition}.\n\nReturns a {Point}. " + } + }, + "146": { + "13": { + "name": "plantTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 146, + 13 + ], + [ + 150, + 1 + ] + ], + "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " + } + }, + "150": { + "13": { + "name": "clearTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 150, + 13 + ], + [ + 153, + 1 + ] + ], + "doc": "Private: Removes the tail from the marker. " + } + }, + "153": { + "11": { + "name": "hasTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 153, + 11 + ], + [ + 157, + 1 + ] + ], + "doc": "~Private~" + } + }, + "157": { + "14": { + "name": "isReversed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 157, + 14 + ], + [ + 162, + 1 + ] + ], + "doc": "Private: Returns whether the head precedes the tail in the buffer " + } + }, + "162": { + "11": { + "name": "isValid", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 11 + ], + [ + 169, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the marker is valid. Markers can be\ninvalidated when a region surrounding them in the buffer is changed. " + } + }, + "169": { + "15": { + "name": "isDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 169, + 15 + ], + [ + 172, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the marker has been destroyed. A marker\ncan be invalid without being destroyed, in which case undoing the invalidating\noperation would restore the marker. Once a marker is destroyed by calling\n{Marker::destroy}, no undo/redo operation can ever bring it back. " + } + }, + "172": { + "17": { + "name": "getAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 172, + 17 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "17": { + "name": "setAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 175, + 17 + ], + [ + 178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "178": { + "21": { + "name": "matchesAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 178, + 21 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 183, + 11 + ], + [ + 187, + 1 + ] + ], + "doc": "Private: Destroys the marker " + } + }, + "187": { + "11": { + "name": "isEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 187, + 11 + ], + [ + 191, + 1 + ] + ], + "doc": "~Private~" + } + }, + "191": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 191, + 11 + ], + [ + 195, + 1 + ] + ], + "doc": "~Private~" + } + }, + "195": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 195, + 11 + ], + [ + 198, + 1 + ] + ], + "doc": "Private: Returns a {String} representation of the marker " + } + }, + "198": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 198, + 13 + ], + [ + 202, + 1 + ] + ], + "doc": "~Private~" + } + }, + "202": { + "19": { + "name": "notifyObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 202, + 19 + ], + [ + 230, + 23 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "src/display-buffer.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "2": { + "7": { + "name": "guid", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "guid" + } + }, + "3": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "6": { + "18": { + "name": "TokenizedBuffer", + "type": "import", + "range": [ + [ + 6, + 18 + ], + [ + 6, + 45 + ] + ], + "bindingType": "variable", + "path": "./tokenized-buffer" + } + }, + "7": { + "9": { + "name": "RowMap", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 27 + ] + ], + "bindingType": "variable", + "path": "./row-map" + } + }, + "8": { + "7": { + "name": "Fold", + "type": "import", + "range": [ + [ + 8, + 7 + ], + [ + 8, + 22 + ] + ], + "bindingType": "variable", + "path": "./fold" + } + }, + "9": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 9, + 8 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "10": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "11": { + "22": { + "name": "DisplayBufferMarker", + "type": "import", + "range": [ + [ + 11, + 22 + ], + [ + 11, + 54 + ] + ], + "bindingType": "variable", + "path": "./display-buffer-marker" + } + }, + "13": { + "0": { + "type": "class", + "name": "BufferToScreenConversionError", + "classProperties": [], + "prototypeProperties": [ + [ + 14, + 15 + ] + ], + "doc": "~Private~", + "range": [ + [ + 13, + 0 + ], + [ + 17, + 0 + ] + ] + } + }, + "14": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 14, + 15 + ], + [ + 17, + 0 + ] + ] + } + }, + "19": { + "0": { + "type": "class", + "name": "DisplayBuffer", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 34, + 24 + ], + [ + 35, + 26 + ], + [ + 36, + 29 + ], + [ + 37, + 26 + ], + [ + 38, + 36 + ], + [ + 40, + 15 + ], + [ + 70, + 19 + ], + [ + 78, + 21 + ], + [ + 82, + 8 + ], + [ + 91, + 24 + ], + [ + 97, + 15 + ], + [ + 104, + 28 + ], + [ + 115, + 14 + ], + [ + 117, + 27 + ], + [ + 118, + 27 + ], + [ + 120, + 29 + ], + [ + 121, + 29 + ], + [ + 123, + 32 + ], + [ + 124, + 32 + ], + [ + 126, + 29 + ], + [ + 127, + 29 + ], + [ + 129, + 13 + ], + [ + 138, + 13 + ], + [ + 140, + 19 + ], + [ + 146, + 18 + ], + [ + 152, + 26 + ], + [ + 160, + 24 + ], + [ + 167, + 12 + ], + [ + 176, + 12 + ], + [ + 183, + 16 + ], + [ + 184, + 16 + ], + [ + 190, + 19 + ], + [ + 193, + 19 + ], + [ + 194, + 19 + ], + [ + 198, + 17 + ], + [ + 199, + 17 + ], + [ + 206, + 20 + ], + [ + 209, + 18 + ], + [ + 210, + 18 + ], + [ + 214, + 25 + ], + [ + 215, + 25 + ], + [ + 217, + 23 + ], + [ + 218, + 23 + ], + [ + 224, + 18 + ], + [ + 226, + 22 + ], + [ + 229, + 23 + ], + [ + 237, + 29 + ], + [ + 244, + 22 + ], + [ + 249, + 26 + ], + [ + 253, + 25 + ], + [ + 256, + 19 + ], + [ + 261, + 18 + ], + [ + 264, + 22 + ], + [ + 273, + 29 + ], + [ + 277, + 38 + ], + [ + 281, + 23 + ], + [ + 311, + 26 + ], + [ + 314, + 26 + ], + [ + 317, + 27 + ], + [ + 333, + 16 + ], + [ + 339, + 16 + ], + [ + 343, + 15 + ], + [ + 346, + 15 + ], + [ + 351, + 25 + ], + [ + 359, + 25 + ], + [ + 367, + 21 + ], + [ + 378, + 14 + ], + [ + 387, + 16 + ], + [ + 393, + 12 + ], + [ + 396, + 22 + ], + [ + 406, + 27 + ], + [ + 416, + 14 + ], + [ + 422, + 23 + ], + [ + 425, + 23 + ], + [ + 429, + 21 + ], + [ + 435, + 19 + ], + [ + 446, + 34 + ], + [ + 454, + 28 + ], + [ + 466, + 34 + ], + [ + 477, + 34 + ], + [ + 482, + 34 + ], + [ + 493, + 28 + ], + [ + 502, + 25 + ], + [ + 505, + 29 + ], + [ + 513, + 25 + ], + [ + 521, + 29 + ], + [ + 532, + 29 + ], + [ + 538, + 28 + ], + [ + 542, + 34 + ], + [ + 561, + 34 + ], + [ + 581, + 34 + ], + [ + 587, + 16 + ], + [ + 593, + 14 + ], + [ + 599, + 20 + ], + [ + 605, + 23 + ], + [ + 617, + 35 + ], + [ + 651, + 35 + ], + [ + 661, + 27 + ], + [ + 664, + 33 + ], + [ + 672, + 26 + ], + [ + 678, + 14 + ], + [ + 684, + 14 + ], + [ + 688, + 17 + ], + [ + 704, + 22 + ], + [ + 740, + 18 + ], + [ + 758, + 20 + ], + [ + 761, + 19 + ], + [ + 764, + 32 + ], + [ + 771, + 18 + ], + [ + 793, + 20 + ], + [ + 804, + 33 + ], + [ + 810, + 31 + ], + [ + 818, + 21 + ], + [ + 826, + 13 + ], + [ + 836, + 14 + ], + [ + 839, + 18 + ], + [ + 848, + 19 + ], + [ + 858, + 19 + ], + [ + 867, + 22 + ], + [ + 876, + 22 + ], + [ + 882, + 17 + ], + [ + 891, + 14 + ], + [ + 912, + 15 + ], + [ + 916, + 33 + ], + [ + 954, + 18 + ], + [ + 957, + 19 + ], + [ + 960, + 27 + ], + [ + 963, + 24 + ], + [ + 966, + 25 + ], + [ + 970, + 32 + ], + [ + 974, + 13 + ], + [ + 979, + 12 + ], + [ + 984, + 31 + ], + [ + 989, + 21 + ], + [ + 1015, + 20 + ], + [ + 1061, + 21 + ], + [ + 1083, + 22 + ], + [ + 1088, + 30 + ], + [ + 1093, + 29 + ], + [ + 1097, + 23 + ], + [ + 1101, + 17 + ] + ], + "doc": "~Private~", + "range": [ + [ + 19, + 0 + ], + [ + 1102, + 31 + ] + ] + } + }, + "34": { + "24": { + "name": "verticalScrollMargin", + "type": "primitive", + "range": [ + [ + 34, + 24 + ], + [ + 34, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "35": { + "26": { + "name": "horizontalScrollMargin", + "type": "primitive", + "range": [ + [ + 35, + 26 + ], + [ + 35, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "36": { + "29": { + "name": "horizontalScrollbarHeight", + "type": "primitive", + "range": [ + [ + 36, + 29 + ], + [ + 36, + 30 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "37": { + "26": { + "name": "verticalScrollbarWidth", + "type": "primitive", + "range": [ + [ + 37, + 26 + ], + [ + 37, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "38": { + "36": { + "name": "scopedCharacterWidthsChangeCount", + "type": "primitive", + "range": [ + [ + 38, + 36 + ], + [ + 38, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "40": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 40, + 15 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 70, + 19 + ], + [ + 78, + 1 + ] + ], + "doc": "~Private~" + } + }, + "78": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 78, + 21 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 8 + ], + [ + 91, + 1 + ] + ], + "doc": "~Private~" + } + }, + "91": { + "24": { + "name": "updateAllScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 24 + ], + [ + 97, + 1 + ] + ], + "doc": "~Private~" + } + }, + "97": { + "15": { + "name": "emitChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventProperties", + "refreshMarkers" + ], + "range": [ + [ + 97, + 15 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "28": { + "name": "updateWrappedScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 28 + ], + [ + 115, + 1 + ] + ], + "doc": "~Private~" + } + }, + "115": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 115, + 14 + ], + [ + 115, + 62 + ] + ], + "doc": " Private: Sets the visibility of the tokenized buffer.\n\nvisible - A {Boolean} indicating of the tokenized buffer is shown " + } + }, + "117": { + "27": { + "name": "getVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 27 + ], + [ + 117, + 50 + ] + ], + "doc": "~Private~" + } + }, + "118": { + "27": { + "name": "setVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 118, + 27 + ], + [ + 118, + 74 + ] + ] + } + }, + "120": { + "29": { + "name": "getHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 120, + 29 + ], + [ + 120, + 54 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "29": { + "name": "setHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 121, + 29 + ], + [ + 121, + 80 + ] + ] + } + }, + "123": { + "32": { + "name": "getHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 123, + 32 + ], + [ + 123, + 60 + ] + ], + "doc": "~Private~" + } + }, + "124": { + "32": { + "name": "setHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 124, + 32 + ], + [ + 124, + 89 + ] + ] + } + }, + "126": { + "29": { + "name": "getVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 29 + ], + [ + 126, + 54 + ] + ], + "doc": "~Private~" + } + }, + "127": { + "29": { + "name": "setVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 127, + 29 + ], + [ + 127, + 80 + ] + ] + } + }, + "129": { + "13": { + "name": "getHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 129, + 13 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "13": { + "name": "setHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 138, + 13 + ], + [ + 138, + 32 + ] + ], + "doc": "~Private~" + } + }, + "140": { + "19": { + "name": "getClientHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 140, + 19 + ], + [ + 146, + 1 + ] + ], + "doc": "~Private~" + } + }, + "146": { + "18": { + "name": "getClientWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 146, + 18 + ], + [ + 152, + 1 + ] + ], + "doc": "~Private~" + } + }, + "152": { + "26": { + "name": "horizontallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 152, + 26 + ], + [ + 160, + 1 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "24": { + "name": "verticallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 160, + 24 + ], + [ + 167, + 1 + ] + ], + "doc": "~Private~" + } + }, + "167": { + "12": { + "name": "getWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 167, + 12 + ], + [ + 176, + 1 + ] + ], + "doc": "~Private~" + } + }, + "176": { + "12": { + "name": "setWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "newWidth" + ], + "range": [ + [ + 176, + 12 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "16": { + "name": "getScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 183, + 16 + ], + [ + 183, + 28 + ] + ], + "doc": "~Private~" + } + }, + "184": { + "16": { + "name": "setScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 184, + 16 + ], + [ + 190, + 1 + ] + ] + } + }, + "190": { + "19": { + "name": "getMaxScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 19 + ], + [ + 193, + 1 + ] + ], + "doc": "~Private~" + } + }, + "193": { + "19": { + "name": "getScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 193, + 19 + ], + [ + 193, + 41 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "19": { + "name": "setScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 194, + 19 + ], + [ + 198, + 1 + ] + ] + } + }, + "198": { + "17": { + "name": "getScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 198, + 17 + ], + [ + 198, + 30 + ] + ], + "doc": "~Private~" + } + }, + "199": { + "17": { + "name": "setScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 199, + 17 + ], + [ + 206, + 1 + ] + ] + } + }, + "206": { + "20": { + "name": "getMaxScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 206, + 20 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "18": { + "name": "getScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 209, + 18 + ], + [ + 209, + 40 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "18": { + "name": "setScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 210, + 18 + ], + [ + 214, + 1 + ] + ] + } + }, + "214": { + "25": { + "name": "getLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 214, + 25 + ], + [ + 214, + 46 + ] + ], + "doc": "~Private~" + } + }, + "215": { + "25": { + "name": "setLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 215, + 25 + ], + [ + 215, + 68 + ] + ] + } + }, + "217": { + "23": { + "name": "getDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 217, + 23 + ], + [ + 217, + 42 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "23": { + "name": "setDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultCharWidth" + ], + "range": [ + [ + 218, + 23 + ], + [ + 224, + 1 + ] + ] + } + }, + "224": { + "18": { + "name": "getCursorWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 18 + ], + [ + 224, + 21 + ] + ], + "doc": "~Private~" + } + }, + "226": { + "22": { + "name": "getScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char" + ], + "range": [ + [ + 226, + 22 + ], + [ + 229, + 1 + ] + ], + "doc": "~Private~" + } + }, + "229": { + "23": { + "name": "getScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames" + ], + "range": [ + [ + 229, + 23 + ], + [ + 237, + 1 + ] + ], + "doc": "~Private~" + } + }, + "237": { + "29": { + "name": "batchCharacterMeasurement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 237, + 29 + ], + [ + 244, + 1 + ] + ], + "doc": "~Private~" + } + }, + "244": { + "22": { + "name": "setScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char", + "width" + ], + "range": [ + [ + 244, + 22 + ], + [ + 249, + 1 + ] + ], + "doc": "~Private~" + } + }, + "249": { + "26": { + "name": "characterWidthsChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 249, + 26 + ], + [ + 253, + 1 + ] + ], + "doc": "~Private~" + } + }, + "253": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 253, + 25 + ], + [ + 256, + 1 + ] + ], + "doc": "~Private~" + } + }, + "256": { + "19": { + "name": "getScrollHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 19 + ], + [ + 261, + 1 + ] + ], + "doc": "~Private~" + } + }, + "261": { + "18": { + "name": "getScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 18 + ], + [ + 264, + 1 + ] + ], + "doc": "~Private~" + } + }, + "264": { + "22": { + "name": "getVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 264, + 22 + ], + [ + 273, + 1 + ] + ], + "doc": "~Private~" + } + }, + "273": { + "29": { + "name": "intersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 273, + 29 + ], + [ + 277, + 1 + ] + ], + "doc": "~Private~" + } + }, + "277": { + "38": { + "name": "selectionIntersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 277, + 38 + ], + [ + 281, + 1 + ] + ], + "doc": "~Private~" + } + }, + "281": { + "23": { + "name": "scrollToScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 281, + 23 + ], + [ + 311, + 1 + ] + ], + "doc": "~Private~" + } + }, + "311": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 311, + 26 + ], + [ + 314, + 1 + ] + ], + "doc": "~Private~" + } + }, + "314": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 314, + 26 + ], + [ + 317, + 1 + ] + ], + "doc": "~Private~" + } + }, + "317": { + "27": { + "name": "pixelRectForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 317, + 27 + ], + [ + 333, + 1 + ] + ], + "doc": "~Private~" + } + }, + "333": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 333, + 16 + ], + [ + 339, + 1 + ] + ], + "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " + } + }, + "339": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 339, + 16 + ], + [ + 343, + 1 + ] + ], + "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " + } + }, + "343": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 343, + 15 + ], + [ + 343, + 38 + ] + ], + "doc": "Deprecated: Use the softWrap property directly " + } + }, + "346": { + "15": { + "name": "getSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 15 + ], + [ + 346, + 26 + ] + ], + "doc": "Deprecated: Use the softWrap property directly " + } + }, + "351": { + "25": { + "name": "setEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorWidthInChars" + ], + "range": [ + [ + 351, + 25 + ], + [ + 359, + 1 + ] + ], + "doc": " Private: Set the number of characters that fit horizontally in the editor.\n\neditorWidthInChars - A {Number} of characters. " + } + }, + "359": { + "25": { + "name": "getEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 359, + 25 + ], + [ + 367, + 1 + ] + ], + "doc": "Private: Returns the editor width in characters for soft wrap. " + } + }, + "367": { + "21": { + "name": "getSoftWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 367, + 21 + ], + [ + 378, + 1 + ] + ], + "doc": "~Private~" + } + }, + "378": { + "14": { + "name": "lineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 378, + 14 + ], + [ + 387, + 1 + ] + ], + "doc": " Private: Gets the screen line for the given screen row.\n\nscreenRow - A {Number} indicating the screen row.\n\nReturns a {ScreenLine}. " + } + }, + "387": { + "16": { + "name": "linesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 387, + 16 + ], + [ + 393, + 1 + ] + ], + "doc": " Private: Gets the screen lines for the given screen row range.\n\nstartRow - A {Number} indicating the beginning screen row.\nendRow - A {Number} indicating the ending screen row.\n\nReturns an {Array} of {ScreenLine}s. " + } + }, + "393": { + "12": { + "name": "getLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 393, + 12 + ], + [ + 396, + 1 + ] + ], + "doc": " Private: Gets all the screen lines.\n\nReturns an {Array} of {ScreenLines}s. " + } + }, + "396": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 396, + 22 + ], + [ + 406, + 1 + ] + ], + "doc": "~Private~" + } + }, + "406": { + "27": { + "name": "bufferRowsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 406, + 27 + ], + [ + 416, + 1 + ] + ], + "doc": " Private: Given starting and ending screen rows, this returns an array of the\nbuffer rows corresponding to every screen row in the range\n\nstartScreenRow - The screen row {Number} to start at\nendScreenRow - The screen row {Number} to end at (default: the last screen row)\n\nReturns an {Array} of buffer rows as {Numbers}s. " + } + }, + "416": { + "14": { + "name": "createFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 416, + 14 + ], + [ + 422, + 1 + ] + ], + "doc": " Private: Creates a new fold between two row numbers.\n\nstartRow - The row {Number} to start folding at\nendRow - The row {Number} to end the fold\n\nReturns the new {Fold}. " + } + }, + "422": { + "23": { + "name": "isFoldedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 422, + 23 + ], + [ + 425, + 1 + ] + ], + "doc": "~Private~" + } + }, + "425": { + "23": { + "name": "isFoldedAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 425, + 23 + ], + [ + 429, + 1 + ] + ], + "doc": "~Private~" + } + }, + "429": { + "21": { + "name": "destroyFoldWithId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 429, + 21 + ], + [ + 435, + 1 + ] + ], + "doc": "Private: Destroys the fold with the given id " + } + }, + "435": { + "19": { + "name": "unfoldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 435, + 19 + ], + [ + 446, + 1 + ] + ], + "doc": " Private: Removes any folds found that contain the given buffer row.\n\nbufferRow - The buffer row {Number} to check against " + } + }, + "446": { + "34": { + "name": "largestFoldStartingAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 446, + 34 + ], + [ + 454, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold} or null if none exists. " + } + }, + "454": { + "28": { + "name": "foldsStartingAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 454, + 28 + ], + [ + 466, + 1 + ] + ], + "doc": " Public: Given a buffer row, this returns all folds that start there.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " + } + }, + "466": { + "34": { + "name": "largestFoldStartingAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 466, + 34 + ], + [ + 477, + 1 + ] + ], + "doc": " Private: Given a screen row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nscreenRow - A {Number} indicating the screen row\n\nReturns a {Fold}. " + } + }, + "477": { + "34": { + "name": "largestFoldContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 477, + 34 + ], + [ + 482, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns the largest fold that includes it.\n\nLargest is defined as the fold whose difference between its start and end rows\nis the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold}. " + } + }, + "482": { + "34": { + "name": "outermostFoldsInBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 482, + 34 + ], + [ + 493, + 1 + ] + ], + "doc": " Private: Returns the folds in the given row range (exclusive of end row) that are\nnot contained by any other folds. " + } + }, + "493": { + "28": { + "name": "foldsContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 493, + 28 + ], + [ + 502, + 1 + ] + ], + "doc": " Public: Given a buffer row, this returns folds that include it.\n\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " + } + }, + "502": { + "25": { + "name": "screenRowForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 502, + 25 + ], + [ + 505, + 1 + ] + ], + "doc": " Private: Given a buffer row, this converts it into a screen row.\n\nbufferRow - A {Number} representing a buffer row\n\nReturns a {Number}. " + } + }, + "505": { + "29": { + "name": "lastScreenRowForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 505, + 29 + ], + [ + 513, + 1 + ] + ], + "doc": "~Private~" + } + }, + "513": { + "25": { + "name": "bufferRowForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 513, + 25 + ], + [ + 521, + 1 + ] + ], + "doc": " Private: Given a screen row, this converts it into a buffer row.\n\nscreenRow - A {Number} representing a screen row\n\nReturns a {Number}. " + } + }, + "521": { + "29": { + "name": "screenRangeForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 521, + 29 + ], + [ + 532, + 1 + ] + ], + "doc": " Private: Given a buffer range, this converts it into a screen position.\n\nbufferRange - The {Range} to convert\n\nReturns a {Range}. " + } + }, + "532": { + "29": { + "name": "bufferRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 532, + 29 + ], + [ + 538, + 1 + ] + ], + "doc": " Private: Given a screen range, this converts it into a buffer position.\n\nscreenRange - The {Range} to convert\n\nReturns a {Range}. " + } + }, + "538": { + "28": { + "name": "pixelRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "clip" + ], + "range": [ + [ + 538, + 28 + ], + [ + 542, + 1 + ] + ], + "doc": "~Private~" + } + }, + "542": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "clip" + ], + "range": [ + [ + 542, + 34 + ], + [ + 561, + 1 + ] + ], + "doc": "~Private~" + } + }, + "561": { + "34": { + "name": "screenPositionForPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 561, + 34 + ], + [ + 581, + 1 + ] + ], + "doc": "~Private~" + } + }, + "581": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 581, + 34 + ], + [ + 587, + 1 + ] + ], + "doc": "~Private~" + } + }, + "587": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 587, + 16 + ], + [ + 593, + 1 + ] + ], + "doc": " Private: Gets the number of screen lines.\n\nReturns a {Number}. " + } + }, + "593": { + "14": { + "name": "getLastRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 593, + 14 + ], + [ + 599, + 1 + ] + ], + "doc": " Private: Gets the number of the last screen line.\n\nReturns a {Number}. " + } + }, + "599": { + "20": { + "name": "getMaxLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 599, + 20 + ], + [ + 605, + 1 + ] + ], + "doc": " Private: Gets the length of the longest screen line.\n\nReturns a {Number}. " + } + }, + "605": { + "23": { + "name": "getLongestScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 605, + 23 + ], + [ + 617, + 1 + ] + ], + "doc": " Private: Gets the row number of the longest screen line.\n\nReturn a {} " + } + }, + "617": { + "35": { + "name": "screenPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 617, + 35 + ], + [ + 651, + 1 + ] + ], + "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " + } + }, + "651": { + "35": { + "name": "bufferPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 651, + 35 + ], + [ + 661, + 1 + ] + ], + "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " + } + }, + "661": { + "27": { + "name": "scopesForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 661, + 27 + ], + [ + 664, + 1 + ] + ], + "doc": " Private: Retrieves the grammar's token scopes for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}\n\nReturns an {Array} of {String}s. " + } + }, + "664": { + "33": { + "name": "bufferRangeForScopeAtPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "position" + ], + "range": [ + [ + 664, + 33 + ], + [ + 672, + 1 + ] + ], + "doc": "~Private~" + } + }, + "672": { + "26": { + "name": "tokenForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 672, + 26 + ], + [ + 678, + 1 + ] + ], + "doc": " Private: Retrieves the grammar's token for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}.\n\nReturns a {Token}. " + } + }, + "678": { + "14": { + "name": "getGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 678, + 14 + ], + [ + 684, + 1 + ] + ], + "doc": " Private: Get the grammar for this buffer.\n\nReturns the current {Grammar} or the {NullGrammar}. " + } + }, + "684": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 684, + 14 + ], + [ + 688, + 1 + ] + ], + "doc": " Private: Sets the grammar for the buffer.\n\ngrammar - Sets the new grammar rules " + } + }, + "688": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 688, + 17 + ], + [ + 704, + 1 + ] + ], + "doc": "Private: Reloads the current grammar. " + } + }, + "704": { + "22": { + "name": "clipScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 704, + 22 + ], + [ + 740, + 1 + ] + ], + "doc": " Private: Given a position, this clips it to a real position.\n\nFor example, if `position`'s row exceeds the row count of the buffer,\nor if its column goes beyond a line's length, this \"sanitizes\" the value\nto a real position.\n\nposition - The {Point} to clip\noptions - A hash with the following values:\n wrapBeyondNewlines: if `true`, continues wrapping past newlines\n wrapAtSoftNewlines: if `true`, continues wrapping past soft newlines\n screenLine: if `true`, indicates that you're using a line number, not a row number\n\nReturns the new, clipped {Point}. Note that this could be the same as `position` if no clipping was performed. " + } + }, + "740": { + "18": { + "name": "findWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line", + "softWrapColumn" + ], + "range": [ + [ + 740, + 18 + ], + [ + 758, + 1 + ] + ], + "doc": " Private: Given a line, finds the point where it would wrap.\n\nline - The {String} to check\nsoftWrapColumn - The {Number} where you want soft wrapping to occur\n\nReturns a {Number} representing the `line` position where the wrap would take place.\nReturns `null` if a wrap wouldn't occur. " + } + }, + "758": { + "20": { + "name": "rangeForAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 758, + 20 + ], + [ + 761, + 1 + ] + ], + "doc": " Private: Calculates a {Range} representing the start of the {TextBuffer} until the end.\n\nReturns a {Range}. " + } + }, + "761": { + "19": { + "name": "decorationForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 761, + 19 + ], + [ + 764, + 1 + ] + ], + "doc": "~Private~" + } + }, + "764": { + "32": { + "name": "decorationsForScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 764, + 32 + ], + [ + 771, + 1 + ] + ], + "doc": "~Private~" + } + }, + "771": { + "18": { + "name": "decorateMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "decorationParams" + ], + "range": [ + [ + 771, + 18 + ], + [ + 793, + 1 + ] + ], + "doc": "~Private~" + } + }, + "793": { + "20": { + "name": "removeDecoration", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decoration" + ], + "range": [ + [ + 793, + 20 + ], + [ + 804, + 1 + ] + ], + "doc": "~Private~" + } + }, + "804": { + "33": { + "name": "removeAllDecorationsForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 804, + 33 + ], + [ + 810, + 1 + ] + ], + "doc": "~Private~" + } + }, + "810": { + "31": { + "name": "removedAllMarkerDecorations", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 810, + 31 + ], + [ + 818, + 1 + ] + ], + "doc": "~Private~" + } + }, + "818": { + "21": { + "name": "decorationUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decoration" + ], + "range": [ + [ + 818, + 21 + ], + [ + 826, + 1 + ] + ], + "doc": "~Private~" + } + }, + "826": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 826, + 13 + ], + [ + 836, + 1 + ] + ], + "doc": " Private: Retrieves a {DisplayBufferMarker} based on its id.\n\nid - A {Number} representing a marker id\n\nReturns the {DisplayBufferMarker} (if it exists). " + } + }, + "836": { + "14": { + "name": "getMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 836, + 14 + ], + [ + 839, + 1 + ] + ], + "doc": " Private: Retrieves the active markers in the buffer.\n\nReturns an {Array} of existing {DisplayBufferMarker}s. " + } + }, + "839": { + "18": { + "name": "getMarkerCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 839, + 18 + ], + [ + 848, + 1 + ] + ], + "doc": "~Private~" + } + }, + "848": { + "19": { + "name": "markScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 848, + 19 + ], + [ + 858, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given screen range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "858": { + "19": { + "name": "markBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range", + "options" + ], + "range": [ + [ + 858, + 19 + ], + [ + 867, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given buffer range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "867": { + "22": { + "name": "markScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 867, + 22 + ], + [ + 876, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given screen position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "876": { + "22": { + "name": "markBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 876, + 22 + ], + [ + 882, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given buffer position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "882": { + "17": { + "name": "destroyMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 882, + 17 + ], + [ + 891, + 1 + ] + ], + "doc": " Public: Removes the marker with the given id.\n\nid - The {Number} of the ID to remove " + } + }, + "891": { + "14": { + "name": "findMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 891, + 14 + ], + [ + 912, + 1 + ] + ], + "doc": " Private: Finds the first marker satisfying the given attributes\n\nRefer to {DisplayBuffer::findMarkers} for details.\n\nReturns a {DisplayBufferMarker} or null " + } + }, + "912": { + "15": { + "name": "findMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 912, + 15 + ], + [ + 916, + 1 + ] + ], + "doc": " Public: Find all markers satisfying a set of parameters.\n\nparams - An {Object} containing parameters that all returned markers must\n satisfy. Unreserved keys will be compared against the markers' custom\n properties. There are also the following reserved keys with special\n meaning for the query:\n :startBufferRow - A {Number}. Only returns markers starting at this row in\n buffer coordinates.\n :endBufferRow - A {Number}. Only returns markers ending at this row in\n buffer coordinates.\n :containsBufferRange - A {Range} or range-compatible {Array}. Only returns\n markers containing this range in buffer coordinates.\n :containsBufferPosition - A {Point} or point-compatible {Array}. Only\n returns markers containing this position in buffer coordinates.\n :containedInBufferRange - A {Range} or range-compatible {Array}. Only\n returns markers contained within this range.\n\nReturns an {Array} of {DisplayBufferMarker}s " + } + }, + "916": { + "33": { + "name": "translateToBufferMarkerParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 916, + 33 + ], + [ + 954, + 1 + ] + ], + "doc": "~Private~" + } + }, + "954": { + "18": { + "name": "findFoldMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 954, + 18 + ], + [ + 957, + 1 + ] + ], + "doc": "~Private~" + } + }, + "957": { + "19": { + "name": "findFoldMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 957, + 19 + ], + [ + 960, + 1 + ] + ], + "doc": "~Private~" + } + }, + "960": { + "27": { + "name": "getFoldMarkerAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 960, + 27 + ], + [ + 963, + 1 + ] + ], + "doc": "~Private~" + } + }, + "963": { + "24": { + "name": "pauseMarkerObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 963, + 24 + ], + [ + 966, + 1 + ] + ], + "doc": "~Private~" + } + }, + "966": { + "25": { + "name": "resumeMarkerObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 966, + 25 + ], + [ + 970, + 1 + ] + ], + "doc": "~Private~" + } + }, + "970": { + "32": { + "name": "refreshMarkerScreenPositions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 970, + 32 + ], + [ + 974, + 1 + ] + ], + "doc": "~Private~" + } + }, + "974": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 974, + 13 + ], + [ + 979, + 1 + ] + ], + "doc": "~Private~" + } + }, + "979": { + "12": { + "name": "logLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 979, + 12 + ], + [ + 984, + 1 + ] + ], + "doc": "~Private~" + } + }, + "984": { + "31": { + "name": "handleTokenizedBufferChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tokenizedBufferChange" + ], + "range": [ + [ + 984, + 31 + ], + [ + 989, + 1 + ] + ], + "doc": "~Private~" + } + }, + "989": { + "21": { + "name": "updateScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "endBufferRow", + "bufferDelta", + "options" + ], + "range": [ + [ + 989, + 21 + ], + [ + 1015, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1015": { + "20": { + "name": "buildScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "endBufferRow" + ], + "range": [ + [ + 1015, + 20 + ], + [ + 1061, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1061": { + "21": { + "name": "findMaxLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow", + "newScreenLines", + "screenDelta" + ], + "range": [ + [ + 1061, + 21 + ], + [ + 1083, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1083": { + "22": { + "name": "computeScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1083, + 22 + ], + [ + 1088, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1088": { + "30": { + "name": "handleBufferMarkersUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1088, + 30 + ], + [ + 1093, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1093": { + "29": { + "name": "handleBufferMarkerCreated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1093, + 29 + ], + [ + 1097, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1097": { + "23": { + "name": "createFoldForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1097, + 23 + ], + [ + 1101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1101": { + "17": { + "name": "foldForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1101, + 17 + ], + [ + 1102, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 19 + }, + "src/editor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "10": { + "type": "import", + "range": [ + [ + 0, + 10 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$$", + "exportsProperty": "$$$" + } + }, + "1": { + "13": { + "name": "GutterView", + "type": "import", + "range": [ + [ + 1, + 13 + ], + [ + 1, + 35 + ] + ], + "bindingType": "variable", + "path": "./gutter-view" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "3": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 3, + 9 + ], + [ + 3, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "4": { + "13": { + "name": "CursorView", + "type": "import", + "range": [ + [ + 4, + 13 + ], + [ + 4, + 35 + ] + ], + "bindingType": "variable", + "path": "./cursor-view" + } + }, + "5": { + "16": { + "name": "SelectionView", + "type": "import", + "range": [ + [ + 5, + 16 + ], + [ + 5, + 41 + ] + ], + "bindingType": "variable", + "path": "./selection-view" + } + }, + "6": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 6, + 5 + ], + [ + 6, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "7": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "8": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 8, + 13 + ], + [ + 8, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer" + } + }, + "10": { + "15": { + "name": "MeasureRange", + "type": "function", + "range": [ + [ + 10, + 15 + ], + [ + 10, + 36 + ] + ] + } + }, + "11": { + "17": { + "type": "primitive", + "range": [ + [ + 11, + 17 + ], + [ + 11, + 59 + ] + ] + }, + "31": { + "name": "acceptNode", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 11, + 31 + ], + [ + 11, + 57 + ] + ], + "doc": null + } + }, + "12": { + "10": { + "type": "primitive", + "range": [ + [ + 12, + 10 + ], + [ + 12, + 21 + ] + ] + } + }, + "13": { + "17": { + "name": "1000", + "type": "primitive", + "range": [ + [ + 13, + 17 + ], + [ + 13, + 20 + ] + ] + } + }, + "41": { + "0": { + "type": "class", + "name": "EditorView", + "bindingType": "exports", + "classProperties": [ + [ + 42, + 24 + ], + [ + 44, + 4 + ], + [ + 61, + 17 + ], + [ + 63, + 12 + ], + [ + 76, + 12 + ], + [ + 1271, + 21 + ], + [ + 1485, + 18 + ], + [ + 1513, + 21 + ], + [ + 1529, + 14 + ], + [ + 1533, + 13 + ], + [ + 1537, + 23 + ] + ], + "prototypeProperties": [ + [ + 81, + 17 + ], + [ + 82, + 17 + ], + [ + 83, + 14 + ], + [ + 84, + 13 + ], + [ + 85, + 14 + ], + [ + 86, + 15 + ], + [ + 87, + 18 + ], + [ + 88, + 13 + ], + [ + 89, + 13 + ], + [ + 90, + 10 + ], + [ + 91, + 12 + ], + [ + 92, + 16 + ], + [ + 93, + 18 + ], + [ + 94, + 14 + ], + [ + 95, + 17 + ], + [ + 96, + 20 + ], + [ + 97, + 24 + ], + [ + 106, + 14 + ], + [ + 141, + 12 + ], + [ + 251, + 13 + ], + [ + 255, + 11 + ], + [ + 259, + 11 + ], + [ + 263, + 14 + ], + [ + 266, + 20 + ], + [ + 271, + 19 + ], + [ + 277, + 12 + ], + [ + 284, + 10 + ], + [ + 292, + 15 + ], + [ + 298, + 21 + ], + [ + 310, + 17 + ], + [ + 322, + 22 + ], + [ + 332, + 22 + ], + [ + 337, + 22 + ], + [ + 341, + 16 + ], + [ + 345, + 13 + ], + [ + 354, + 16 + ], + [ + 436, + 21 + ], + [ + 476, + 28 + ], + [ + 479, + 33 + ], + [ + 505, + 15 + ], + [ + 538, + 8 + ], + [ + 586, + 12 + ], + [ + 589, + 12 + ], + [ + 592, + 27 + ], + [ + 600, + 13 + ], + [ + 618, + 16 + ], + [ + 624, + 14 + ], + [ + 631, + 15 + ], + [ + 639, + 18 + ], + [ + 646, + 26 + ], + [ + 654, + 26 + ], + [ + 662, + 26 + ], + [ + 673, + 25 + ], + [ + 684, + 39 + ], + [ + 696, + 31 + ], + [ + 702, + 18 + ], + [ + 706, + 18 + ], + [ + 710, + 25 + ], + [ + 713, + 26 + ], + [ + 716, + 21 + ], + [ + 723, + 15 + ], + [ + 733, + 15 + ], + [ + 746, + 15 + ], + [ + 752, + 17 + ], + [ + 762, + 17 + ], + [ + 770, + 17 + ], + [ + 776, + 10 + ], + [ + 786, + 13 + ], + [ + 791, + 14 + ], + [ + 796, + 11 + ], + [ + 801, + 13 + ], + [ + 808, + 11 + ], + [ + 811, + 10 + ], + [ + 816, + 16 + ], + [ + 823, + 17 + ], + [ + 827, + 18 + ], + [ + 830, + 17 + ], + [ + 836, + 20 + ], + [ + 839, + 20 + ], + [ + 843, + 21 + ], + [ + 846, + 20 + ], + [ + 852, + 23 + ], + [ + 855, + 36 + ], + [ + 859, + 21 + ], + [ + 863, + 20 + ], + [ + 884, + 22 + ], + [ + 900, + 23 + ], + [ + 912, + 25 + ], + [ + 924, + 25 + ], + [ + 943, + 12 + ], + [ + 950, + 22 + ], + [ + 955, + 16 + ], + [ + 970, + 24 + ], + [ + 978, + 17 + ], + [ + 994, + 21 + ], + [ + 1006, + 22 + ], + [ + 1012, + 24 + ], + [ + 1023, + 25 + ], + [ + 1031, + 24 + ], + [ + 1034, + 14 + ], + [ + 1046, + 25 + ], + [ + 1057, + 23 + ], + [ + 1084, + 38 + ], + [ + 1102, + 23 + ], + [ + 1144, + 24 + ], + [ + 1158, + 20 + ], + [ + 1173, + 13 + ], + [ + 1178, + 19 + ], + [ + 1201, + 32 + ], + [ + 1214, + 28 + ], + [ + 1223, + 27 + ], + [ + 1234, + 22 + ], + [ + 1237, + 27 + ], + [ + 1241, + 32 + ], + [ + 1244, + 34 + ], + [ + 1249, + 21 + ], + [ + 1256, + 21 + ], + [ + 1298, + 32 + ], + [ + 1304, + 26 + ], + [ + 1313, + 27 + ], + [ + 1316, + 33 + ], + [ + 1325, + 34 + ], + [ + 1334, + 34 + ], + [ + 1348, + 32 + ], + [ + 1371, + 19 + ], + [ + 1416, + 26 + ], + [ + 1424, + 26 + ], + [ + 1432, + 28 + ], + [ + 1435, + 32 + ], + [ + 1440, + 32 + ], + [ + 1470, + 23 + ], + [ + 1481, + 23 + ], + [ + 1563, + 23 + ], + [ + 1573, + 25 + ], + [ + 1575, + 18 + ], + [ + 1578, + 18 + ], + [ + 1581, + 20 + ] + ], + "doc": " Public: Represents the entire visual pane in Atom.\n\nThe EditorView manages the {Editor}, which manages the file buffers.\n\n## Requiring in packages\n\n```coffee\n{EditorView} = require 'atom'\n\nminiEditorView = new EditorView(mini: true)\n```\n\n## Iterating over the open editor views\n\n```coffee\nfor editorView in atom.workspaceView.getEditorViews()\n console.log(editorView.getEditor().getPath())\n```\n\n## Subscribing to every current and future editor\n\n```coffee\natom.workspace.eachEditorView (editorView) ->\n console.log(editorView.getEditor().getPath())\n``` ", + "range": [ + [ + 41, + 0 + ], + [ + 1583, + 35 + ] + ] + } + }, + "42": { + "24": { + "name": "characterWidthCache", + "type": "primitive", + "range": [ + [ + 42, + 24 + ], + [ + 42, + 25 + ] + ], + "bindingType": "classProperty" + } + }, + "44": { + "4": { + "name": "configDefaults", + "type": "primitive", + "range": [ + [ + 44, + 4 + ], + [ + 59, + 32 + ] + ], + "bindingType": "classProperty" + } + }, + "61": { + "17": { + "name": "nextEditorId", + "type": "primitive", + "range": [ + [ + 61, + 17 + ], + [ + 61, + 17 + ] + ], + "bindingType": "classProperty" + } + }, + "63": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 63, + 12 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "12": { + "name": "classes", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 76, + 12 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "17": { + "name": "vScrollMargin", + "type": "primitive", + "range": [ + [ + 81, + 17 + ], + [ + 81, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "82": { + "17": { + "name": "hScrollMargin", + "type": "primitive", + "range": [ + [ + 82, + 17 + ], + [ + 82, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "83": { + "14": { + "name": "lineHeight", + "type": "primitive", + "range": [ + [ + 83, + 14 + ], + [ + 83, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "84": { + "13": { + "name": "charWidth", + "type": "primitive", + "range": [ + [ + 84, + 13 + ], + [ + 84, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "85": { + "14": { + "name": "charHeight", + "type": "primitive", + "range": [ + [ + 85, + 14 + ], + [ + 85, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "86": { + "15": { + "name": "cursorViews", + "type": "primitive", + "range": [ + [ + 86, + 15 + ], + [ + 86, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "87": { + "18": { + "name": "selectionViews", + "type": "primitive", + "range": [ + [ + 87, + 18 + ], + [ + 87, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "88": { + "13": { + "name": "lineCache", + "type": "primitive", + "range": [ + [ + 88, + 13 + ], + [ + 88, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "89": { + "13": { + "name": "isFocused", + "type": "primitive", + "range": [ + [ + 89, + 13 + ], + [ + 89, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "90": { + "10": { + "name": "editor", + "type": "primitive", + "range": [ + [ + 90, + 10 + ], + [ + 90, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "91": { + "12": { + "name": "attached", + "type": "primitive", + "range": [ + [ + 91, + 12 + ], + [ + 91, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "92": { + "16": { + "name": "lineOverdraw", + "type": "primitive", + "range": [ + [ + 92, + 16 + ], + [ + 92, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "93": { + "18": { + "name": "pendingChanges", + "type": "primitive", + "range": [ + [ + 93, + 18 + ], + [ + 93, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "94": { + "14": { + "name": "newCursors", + "type": "primitive", + "range": [ + [ + 94, + 14 + ], + [ + 94, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "95": { + "17": { + "name": "newSelections", + "type": "primitive", + "range": [ + [ + 95, + 17 + ], + [ + 95, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "96": { + "20": { + "name": "redrawOnReattach", + "type": "primitive", + "range": [ + [ + 96, + 20 + ], + [ + 96, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "97": { + "24": { + "name": "bottomPaddingInLines", + "type": "primitive", + "range": [ + [ + 97, + 24 + ], + [ + 97, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "106": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorOrOptions" + ], + "range": [ + [ + 106, + 14 + ], + [ + 141, + 1 + ] + ], + "doc": " Private: The constructor for setting up an `EditorView` instance.\n\neditorOrOptions - Either an {Editor}, or an object with one property, `mini`.\n If `mini` is `true`, a \"miniature\" `Editor` is constructed.\n Typically, this is ideal for scenarios where you need an Atom editor,\n but without all the chrome, like scrollbars, gutter, _e.t.c._.\n\n " + } + }, + "141": { + "12": { + "name": "bindKeys", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 12 + ], + [ + 251, + 1 + ] + ], + "doc": " Private: Sets up the core Atom commands.\n\nSome commands are excluded from mini-editors. " + } + }, + "251": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 251, + 13 + ], + [ + 255, + 1 + ] + ], + "doc": " Public: Get the underlying editor model for this view.\n\nReturns an {Editor}. " + } + }, + "255": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 255, + 11 + ], + [ + 259, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.getText} " + } + }, + "259": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 259, + 11 + ], + [ + 263, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.setText} " + } + }, + "263": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 263, + 14 + ], + [ + 266, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.insertText} " + } + }, + "266": { + "20": { + "name": "setHeightInLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "heightInLines" + ], + "range": [ + [ + 266, + 20 + ], + [ + 271, + 1 + ] + ], + "doc": "~Private~" + } + }, + "271": { + "19": { + "name": "setWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "widthInChars" + ], + "range": [ + [ + 271, + 19 + ], + [ + 277, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.setEditorWidthInChars} " + } + }, + "277": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 277, + 12 + ], + [ + 284, + 1 + ] + ], + "doc": " Public: Emulates the \"page down\" key, where the last row of a buffer scrolls\nto become the first. " + } + }, + "284": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 10 + ], + [ + 292, + 1 + ] + ], + "doc": " Public: Emulates the \"page up\" key, where the frst row of a buffer scrolls\nto become the last. " + } + }, + "292": { + "15": { + "name": "getPageRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 15 + ], + [ + 298, + 1 + ] + ], + "doc": " Private: Gets the number of actual page rows existing in an editor.\n\nReturns a {Number}. " + } + }, + "298": { + "21": { + "name": "setShowInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showInvisibles" + ], + "range": [ + [ + 298, + 21 + ], + [ + 310, + 1 + ] + ], + "doc": " Public: Set whether invisible characters are shown.\n\nshowInvisibles - A {Boolean} which, if `true`, show invisible characters. " + } + }, + "310": { + "17": { + "name": "setInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 310, + 17 + ], + [ + 322, + 1 + ] + ], + "doc": " Public: Defines which characters are invisible.\n\ninvisibles - An {Object} defining the invisible characters:\n :eol - The end of line invisible {String} (default: `\\u00ac`).\n :space - The space invisible {String} (default: `\\u00b7`).\n :tab - The tab invisible {String} (default: `\\u00bb`).\n :cr - The carriage return invisible {String} (default: `\\u00a4`). " + } + }, + "322": { + "22": { + "name": "setShowIndentGuide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showIndentGuide" + ], + "range": [ + [ + 322, + 22 + ], + [ + 332, + 1 + ] + ], + "doc": " Public: Sets whether you want to show the indentation guides.\n\nshowIndentGuide - A {Boolean} you can set to `true` if you want to see the\n indentation guides. " + } + }, + "332": { + "22": { + "name": "setPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "placeholderText" + ], + "range": [ + [ + 332, + 22 + ], + [ + 337, + 1 + ] + ], + "doc": " Public: Set the text to appear in the editor when it is empty.\n\nThis only affects mini editors.\n\nplaceholderText - A {String} of text to display when empty. " + } + }, + "337": { + "22": { + "name": "getPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 337, + 22 + ], + [ + 341, + 1 + ] + ], + "doc": "~Private~" + } + }, + "341": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 341, + 16 + ], + [ + 345, + 1 + ] + ], + "doc": "Private: Checkout the HEAD revision of this editor's file. " + } + }, + "345": { + "13": { + "name": "configure", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 345, + 13 + ], + [ + 354, + 1 + ] + ], + "doc": "~Private~" + } + }, + "354": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 354, + 16 + ], + [ + 436, + 1 + ] + ], + "doc": "~Private~" + } + }, + "436": { + "21": { + "name": "handleInputEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 436, + 21 + ], + [ + 476, + 1 + ] + ], + "doc": "~Private~" + } + }, + "476": { + "28": { + "name": "bringHiddenInputIntoView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 476, + 28 + ], + [ + 479, + 1 + ] + ], + "doc": "~Private~" + } + }, + "479": { + "33": { + "name": "selectOnMousemoveUntilMouseup", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 479, + 33 + ], + [ + 505, + 1 + ] + ], + "doc": "~Private~" + } + }, + "505": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 505, + 15 + ], + [ + 538, + 1 + ] + ], + "doc": "~Private~" + } + }, + "538": { + "8": { + "name": "edit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 538, + 8 + ], + [ + 586, + 1 + ] + ], + "doc": "~Private~" + } + }, + "586": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 586, + 12 + ], + [ + 589, + 1 + ] + ], + "doc": "~Private~" + } + }, + "589": { + "12": { + "name": "setModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 589, + 12 + ], + [ + 592, + 1 + ] + ], + "doc": "~Private~" + } + }, + "592": { + "27": { + "name": "showBufferConflictAlert", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 592, + 27 + ], + [ + 600, + 1 + ] + ], + "doc": "~Private~" + } + }, + "600": { + "13": { + "name": "scrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop", + "options" + ], + "range": [ + [ + 600, + 13 + ], + [ + 618, + 1 + ] + ], + "doc": "~Private~" + } + }, + "618": { + "16": { + "name": "scrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 618, + 16 + ], + [ + 624, + 1 + ] + ], + "doc": "~Private~" + } + }, + "624": { + "14": { + "name": "scrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 624, + 14 + ], + [ + 631, + 1 + ] + ], + "doc": "~Private~" + } + }, + "631": { + "15": { + "name": "scrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 631, + 15 + ], + [ + 639, + 1 + ] + ], + "doc": "~Private~" + } + }, + "639": { + "18": { + "name": "scrollToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 639, + 18 + ], + [ + 646, + 1 + ] + ], + "doc": "Public: Scrolls the editor to the bottom. " + } + }, + "646": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 646, + 26 + ], + [ + 654, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the position of the most recently added\ncursor if it isn't current on screen.\n\nThe editor is centered around the cursor's position if possible. " + } + }, + "654": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 654, + 26 + ], + [ + 662, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given buffer position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " + } + }, + "662": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 662, + 26 + ], + [ + 673, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " + } + }, + "673": { + "25": { + "name": "scrollToPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition", + "options" + ], + "range": [ + [ + 673, + 25 + ], + [ + 684, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given pixel position.\n\npixelPosition - An object that represents a pixel position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or\n {Point}.\noptions - A hash with the following keys:\n :center - if `true`, the position is scrolled such that it's in\n the center of the editor " + } + }, + "684": { + "39": { + "name": "highlightFoldsContainingBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 684, + 39 + ], + [ + 696, + 1 + ] + ], + "doc": " Public: Highlight all the folds within the given buffer range.\n\n\"Highlighting\" essentially just adds the `fold-selected` class to the line's\nDOM element.\n\nbufferRange - The {Range} to check. " + } + }, + "696": { + "31": { + "name": "saveScrollPositionForEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 696, + 31 + ], + [ + 702, + 1 + ] + ], + "doc": "~Private~" + } + }, + "702": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 702, + 18 + ], + [ + 706, + 1 + ] + ], + "doc": "Public: Toggle soft tabs on the edit session. " + } + }, + "706": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 706, + 18 + ], + [ + 710, + 1 + ] + ], + "doc": "Public: Toggle soft wrap on the edit session. " + } + }, + "710": { + "25": { + "name": "calculateWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 710, + 25 + ], + [ + 713, + 1 + ] + ], + "doc": "~Private~" + } + }, + "713": { + "26": { + "name": "calculateHeightInLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 713, + 26 + ], + [ + 716, + 1 + ] + ], + "doc": "~Private~" + } + }, + "716": { + "21": { + "name": "getScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 716, + 21 + ], + [ + 723, + 1 + ] + ], + "doc": "~Private~" + } + }, + "723": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 723, + 15 + ], + [ + 733, + 1 + ] + ], + "doc": " Public: Enables/disables soft wrap on the editor.\n\nsoftWrap - A {Boolean} which, if `true`, enables soft wrap " + } + }, + "733": { + "15": { + "name": "setFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 733, + 15 + ], + [ + 746, + 1 + ] + ], + "doc": " Public: Sets the font size for the editor.\n\nfontSize - A {Number} indicating the font size in pixels. " + } + }, + "746": { + "15": { + "name": "getFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 746, + 15 + ], + [ + 752, + 1 + ] + ], + "doc": " Public: Retrieves the font size for the editor.\n\nReturns a {Number} indicating the font size in pixels. " + } + }, + "752": { + "17": { + "name": "setFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 752, + 17 + ], + [ + 762, + 1 + ] + ], + "doc": " Public: Sets the font family for the editor.\n\nfontFamily - A {String} identifying the CSS `font-family`. " + } + }, + "762": { + "17": { + "name": "getFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 762, + 17 + ], + [ + 762, + 38 + ] + ], + "doc": " Public: Gets the font family for the editor.\n\nReturns a {String} identifying the CSS `font-family`. " + } + }, + "770": { + "17": { + "name": "setLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 770, + 17 + ], + [ + 776, + 1 + ] + ], + "doc": " Public: Sets the line height of the editor.\n\nCalling this method has no effect when called on a mini editor.\n\nlineHeight - A {Number} without a unit suffix identifying the CSS\n`line-height`. " + } + }, + "776": { + "10": { + "name": "redraw", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 776, + 10 + ], + [ + 786, + 1 + ] + ], + "doc": "Public: Redraw the editor " + } + }, + "786": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 786, + 13 + ], + [ + 791, + 1 + ] + ], + "doc": "Public: Split the editor view left. " + } + }, + "791": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 791, + 14 + ], + [ + 796, + 1 + ] + ], + "doc": "Public: Split the editor view right. " + } + }, + "796": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 796, + 11 + ], + [ + 801, + 1 + ] + ], + "doc": "Public: Split the editor view up. " + } + }, + "801": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 801, + 13 + ], + [ + 808, + 1 + ] + ], + "doc": "Public: Split the editor view down. " + } + }, + "808": { + "11": { + "name": "getPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 808, + 11 + ], + [ + 811, + 1 + ] + ], + "doc": " Public: Get this view's pane.\n\nReturns a {Pane}. " + } + }, + "811": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "keepData" + ], + "range": [ + [ + 811, + 10 + ], + [ + 816, + 1 + ] + ], + "doc": "~Private~" + } + }, + "816": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 816, + 16 + ], + [ + 823, + 1 + ] + ], + "doc": "~Private~" + } + }, + "823": { + "17": { + "name": "getCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 823, + 17 + ], + [ + 827, + 1 + ] + ], + "doc": "~Private~" + } + }, + "827": { + "18": { + "name": "getCursorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 827, + 18 + ], + [ + 830, + 1 + ] + ], + "doc": "~Private~" + } + }, + "830": { + "17": { + "name": "addCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursor", + "options" + ], + "range": [ + [ + 830, + 17 + ], + [ + 836, + 1 + ] + ], + "doc": "~Private~" + } + }, + "836": { + "20": { + "name": "removeCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 836, + 20 + ], + [ + 839, + 1 + ] + ], + "doc": "~Private~" + } + }, + "839": { + "20": { + "name": "getSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 839, + 20 + ], + [ + 843, + 1 + ] + ], + "doc": "~Private~" + } + }, + "843": { + "21": { + "name": "getSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 843, + 21 + ], + [ + 846, + 1 + ] + ], + "doc": "~Private~" + } + }, + "846": { + "20": { + "name": "addSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 846, + 20 + ], + [ + 852, + 1 + ] + ], + "doc": "~Private~" + } + }, + "852": { + "23": { + "name": "removeSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selectionView" + ], + "range": [ + [ + 852, + 23 + ], + [ + 855, + 1 + ] + ], + "doc": "~Private~" + } + }, + "855": { + "36": { + "name": "removeAllCursorAndSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 855, + 36 + ], + [ + 859, + 1 + ] + ], + "doc": "~Private~" + } + }, + "859": { + "21": { + "name": "appendToLinesView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 859, + 21 + ], + [ + 863, + 1 + ] + ], + "doc": "~Private~" + } + }, + "863": { + "20": { + "name": "scrollVertically", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition", + null + ], + "range": [ + [ + 863, + 20 + ], + [ + 884, + 1 + ] + ], + "doc": "Private: Scrolls the editor vertically to a given position. " + } + }, + "884": { + "22": { + "name": "scrollHorizontally", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 884, + 22 + ], + [ + 900, + 1 + ] + ], + "doc": "Private: Scrolls the editor horizontally to a given position. " + } + }, + "900": { + "23": { + "name": "calculateDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 900, + 23 + ], + [ + 912, + 1 + ] + ], + "doc": "~Private~" + } + }, + "912": { + "25": { + "name": "recalculateDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 912, + 25 + ], + [ + 924, + 1 + ] + ], + "doc": "~Private~" + } + }, + "924": { + "25": { + "name": "updateLayerDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollViewWidth" + ], + "range": [ + [ + 924, + 25 + ], + [ + 943, + 1 + ] + ], + "doc": "~Private~" + } + }, + "943": { + "12": { + "name": "isHidden", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 943, + 12 + ], + [ + 950, + 1 + ] + ], + "doc": "Private: Override for speed. The base function checks computedStyle, unnecessary here. " + } + }, + "950": { + "22": { + "name": "clearRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 950, + 22 + ], + [ + 955, + 1 + ] + ], + "doc": "~Private~" + } + }, + "955": { + "16": { + "name": "resetDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 955, + 16 + ], + [ + 970, + 1 + ] + ], + "doc": "~Private~" + } + }, + "970": { + "24": { + "name": "requestDisplayUpdate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 970, + 24 + ], + [ + 978, + 1 + ] + ], + "doc": "~Private~" + } + }, + "978": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 978, + 17 + ], + [ + 994, + 1 + ] + ], + "doc": "~Private~" + } + }, + "994": { + "21": { + "name": "updateCursorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 994, + 21 + ], + [ + 1006, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1006": { + "22": { + "name": "shouldUpdateCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 1006, + 22 + ], + [ + 1012, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1012": { + "24": { + "name": "updateSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1012, + 24 + ], + [ + 1023, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1023": { + "25": { + "name": "shouldUpdateSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selectionView" + ], + "range": [ + [ + 1023, + 25 + ], + [ + 1031, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1031": { + "24": { + "name": "syncCursorAnimations", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1031, + 24 + ], + [ + 1034, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1034": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "suppressAutoscroll" + ], + "range": [ + [ + 1034, + 14 + ], + [ + 1046, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1046": { + "25": { + "name": "updatePlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1046, + 25 + ], + [ + 1057, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1057": { + "23": { + "name": "updateRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollViewWidth" + ], + "range": [ + [ + 1057, + 23 + ], + [ + 1084, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1084": { + "38": { + "name": "computeSurroundingEmptyLineChanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "change" + ], + "range": [ + [ + 1084, + 38 + ], + [ + 1102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1102": { + "23": { + "name": "computeIntactRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1102, + 23 + ], + [ + 1144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1144": { + "24": { + "name": "truncateIntactRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges", + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1144, + 24 + ], + [ + 1158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1158": { + "20": { + "name": "clearDirtyRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges" + ], + "range": [ + [ + 1158, + 20 + ], + [ + 1173, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1173": { + "13": { + "name": "clearLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement" + ], + "range": [ + [ + 1173, + 13 + ], + [ + 1178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1178": { + "19": { + "name": "fillDirtyRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges", + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1178, + 19 + ], + [ + 1201, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1201": { + "32": { + "name": "updatePaddingOfRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1201, + 32 + ], + [ + 1214, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1214": { + "28": { + "name": "getFirstVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1214, + 28 + ], + [ + 1223, + 1 + ] + ], + "doc": " Public: Retrieves the number of the row that is visible and currently at the\ntop of the editor.\n\nReturns a {Number}. " + } + }, + "1223": { + "27": { + "name": "getLastVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1223, + 27 + ], + [ + 1234, + 1 + ] + ], + "doc": " Public: Retrieves the number of the row that is visible and currently at the\nbottom of the editor.\n\nReturns a {Number}. " + } + }, + "1234": { + "22": { + "name": "isScreenRowVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 1234, + 22 + ], + [ + 1237, + 1 + ] + ], + "doc": " Public: Given a row number, identifies if it is currently visible.\n\nrow - A row {Number} to check\n\nReturns a {Boolean}. " + } + }, + "1237": { + "27": { + "name": "handleScreenLinesChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "change" + ], + "range": [ + [ + 1237, + 27 + ], + [ + 1241, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1241": { + "32": { + "name": "buildLineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 1241, + 32 + ], + [ + 1244, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1244": { + "34": { + "name": "buildLineElementsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1244, + 34 + ], + [ + 1249, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1249": { + "21": { + "name": "htmlForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1249, + 21 + ], + [ + 1256, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1256": { + "21": { + "name": "htmlForScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine", + "screenRow" + ], + "range": [ + [ + 1256, + 21 + ], + [ + 1271, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1271": { + "21": { + "name": "buildIndentation", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "screenRow", + "editor" + ], + "range": [ + [ + 1271, + 21 + ], + [ + 1298, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1298": { + "32": { + "name": "buildHtmlEndOfLineInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine" + ], + "range": [ + [ + 1298, + 32 + ], + [ + 1304, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1304": { + "26": { + "name": "getEndOfLineInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine" + ], + "range": [ + [ + 1304, + 26 + ], + [ + 1313, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1313": { + "27": { + "name": "lineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 1313, + 27 + ], + [ + 1316, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1316": { + "33": { + "name": "toggleLineCommentsInSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1316, + 33 + ], + [ + 1325, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1325": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1325, + 34 + ], + [ + 1334, + 1 + ] + ], + "doc": " Public: Converts a buffer position to a pixel position.\n\nposition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " + } + }, + "1334": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1334, + 34 + ], + [ + 1348, + 1 + ] + ], + "doc": " Public: Converts a screen position to a pixel position.\n\nposition - An object that represents a screen position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " + } + }, + "1348": { + "32": { + "name": "positionLeftForLineAndColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement", + "screenRow", + "screenColumn" + ], + "range": [ + [ + 1348, + 32 + ], + [ + 1371, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1371": { + "19": { + "name": "measureToColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement", + "tokenizedLine", + "screenColumn" + ], + "range": [ + [ + 1371, + 19 + ], + [ + 1416, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1416": { + "26": { + "name": "getCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "char" + ], + "range": [ + [ + 1416, + 26 + ], + [ + 1424, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1424": { + "26": { + "name": "setCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "char", + "val" + ], + "range": [ + [ + 1424, + 26 + ], + [ + 1432, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1432": { + "28": { + "name": "clearCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1432, + 28 + ], + [ + 1435, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1435": { + "32": { + "name": "pixelOffsetForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1435, + 32 + ], + [ + 1440, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1440": { + "32": { + "name": "screenPositionFromMouseEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 1440, + 32 + ], + [ + 1470, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1470": { + "23": { + "name": "highlightCursorLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1470, + 23 + ], + [ + 1481, + 1 + ] + ], + "doc": "Private: Highlights the current line the cursor is on. " + } + }, + "1481": { + "23": { + "name": "copyPathToClipboard", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1481, + 23 + ], + [ + 1485, + 1 + ] + ], + "doc": "Private: Copies the current file path to the native clipboard. " + } + }, + "1485": { + "18": { + "name": "buildLineHtml", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 1485, + 18 + ], + [ + 1513, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1513": { + "21": { + "name": "updateScopeStack", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 1513, + 21 + ], + [ + 1529, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1529": { + "14": { + "name": "pushScope", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack", + "scope" + ], + "range": [ + [ + 1529, + 14 + ], + [ + 1533, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1533": { + "13": { + "name": "popScope", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack" + ], + "range": [ + [ + 1533, + 13 + ], + [ + 1537, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1537": { + "23": { + "name": "buildEmptyLineHtml", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "showIndentGuide", + "eolInvisibles", + "htmlEolInvisibles", + "indentation", + "editor", + "mini" + ], + "range": [ + [ + 1537, + 23 + ], + [ + 1563, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1563": { + "23": { + "name": "replaceSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "replaceFn" + ], + "range": [ + [ + 1563, + 23 + ], + [ + 1573, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1573": { + "25": { + "name": "consolidateSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 1573, + 25 + ], + [ + 1573, + 89 + ] + ], + "doc": "~Private~" + } + }, + "1575": { + "18": { + "name": "logCursorScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1575, + 18 + ], + [ + 1578, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1578": { + "18": { + "name": "logScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 1578, + 18 + ], + [ + 1581, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1581": { + "20": { + "name": "logRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1581, + 20 + ], + [ + 1583, + 35 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 41 + }, + "src/editor.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "3": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 3, + 12 + ], + [ + 3, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 6, + 8 + ], + [ + 6, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "7": { + "15": { + "name": "LanguageMode", + "type": "import", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 39 + ] + ], + "bindingType": "variable", + "path": "./language-mode" + } + }, + "8": { + "16": { + "name": "DisplayBuffer", + "type": "import", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 41 + ] + ], + "bindingType": "variable", + "path": "./display-buffer" + } + }, + "9": { + "9": { + "name": "Cursor", + "type": "import", + "range": [ + [ + 9, + 9 + ], + [ + 9, + 26 + ] + ], + "bindingType": "variable", + "path": "./cursor" + } + }, + "10": { + "12": { + "name": "Selection", + "type": "import", + "range": [ + [ + 10, + 12 + ], + [ + 10, + 32 + ] + ], + "bindingType": "variable", + "path": "./selection" + } + }, + "11": { + "24": { + "type": "primitive", + "range": [ + [ + 11, + 24 + ], + [ + 11, + 58 + ] + ] + } + }, + "138": { + "0": { + "type": "class", + "name": "Editor", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 143, + 17 + ], + [ + 144, + 32 + ], + [ + 145, + 18 + ], + [ + 146, + 10 + ], + [ + 147, + 16 + ], + [ + 148, + 11 + ], + [ + 149, + 14 + ], + [ + 150, + 28 + ], + [ + 151, + 20 + ], + [ + 152, + 26 + ], + [ + 161, + 15 + ], + [ + 190, + 19 + ], + [ + 197, + 21 + ], + [ + 202, + 21 + ], + [ + 215, + 28 + ], + [ + 228, + 16 + ], + [ + 234, + 13 + ], + [ + 242, + 8 + ], + [ + 258, + 12 + ], + [ + 271, + 16 + ], + [ + 281, + 14 + ], + [ + 288, + 25 + ], + [ + 292, + 21 + ], + [ + 296, + 15 + ], + [ + 301, + 15 + ], + [ + 304, + 18 + ], + [ + 307, + 15 + ], + [ + 312, + 15 + ], + [ + 315, + 18 + ], + [ + 323, + 14 + ], + [ + 328, + 16 + ], + [ + 331, + 16 + ], + [ + 339, + 16 + ], + [ + 361, + 22 + ], + [ + 369, + 19 + ], + [ + 381, + 27 + ], + [ + 396, + 30 + ], + [ + 414, + 22 + ], + [ + 418, + 21 + ], + [ + 428, + 8 + ], + [ + 435, + 10 + ], + [ + 437, + 16 + ], + [ + 442, + 23 + ], + [ + 447, + 11 + ], + [ + 450, + 11 + ], + [ + 453, + 11 + ], + [ + 458, + 18 + ], + [ + 461, + 16 + ], + [ + 464, + 13 + ], + [ + 467, + 10 + ], + [ + 470, + 20 + ], + [ + 473, + 24 + ], + [ + 479, + 25 + ], + [ + 482, + 24 + ], + [ + 486, + 20 + ], + [ + 494, + 27 + ], + [ + 500, + 20 + ], + [ + 506, + 26 + ], + [ + 509, + 8 + ], + [ + 512, + 21 + ], + [ + 515, + 30 + ], + [ + 518, + 14 + ], + [ + 520, + 11 + ], + [ + 524, + 22 + ], + [ + 536, + 35 + ], + [ + 546, + 35 + ], + [ + 551, + 29 + ], + [ + 556, + 29 + ], + [ + 573, + 22 + ], + [ + 576, + 20 + ], + [ + 579, + 22 + ], + [ + 582, + 22 + ], + [ + 585, + 26 + ], + [ + 588, + 20 + ], + [ + 591, + 27 + ], + [ + 593, + 25 + ], + [ + 605, + 27 + ], + [ + 614, + 31 + ], + [ + 618, + 26 + ], + [ + 624, + 19 + ], + [ + 626, + 18 + ], + [ + 633, + 14 + ], + [ + 639, + 17 + ], + [ + 643, + 22 + ], + [ + 649, + 22 + ], + [ + 668, + 10 + ], + [ + 674, + 13 + ], + [ + 678, + 30 + ], + [ + 683, + 30 + ], + [ + 690, + 27 + ], + [ + 696, + 27 + ], + [ + 701, + 10 + ], + [ + 708, + 21 + ], + [ + 714, + 21 + ], + [ + 718, + 14 + ], + [ + 722, + 22 + ], + [ + 726, + 23 + ], + [ + 734, + 33 + ], + [ + 739, + 26 + ], + [ + 744, + 30 + ], + [ + 751, + 18 + ], + [ + 758, + 19 + ], + [ + 765, + 20 + ], + [ + 779, + 13 + ], + [ + 798, + 8 + ], + [ + 803, + 8 + ], + [ + 812, + 18 + ], + [ + 817, + 20 + ], + [ + 822, + 21 + ], + [ + 826, + 11 + ], + [ + 830, + 13 + ], + [ + 836, + 24 + ], + [ + 846, + 17 + ], + [ + 852, + 19 + ], + [ + 862, + 25 + ], + [ + 865, + 25 + ], + [ + 870, + 14 + ], + [ + 874, + 21 + ], + [ + 878, + 39 + ], + [ + 884, + 25 + ], + [ + 893, + 23 + ], + [ + 901, + 23 + ], + [ + 909, + 23 + ], + [ + 913, + 34 + ], + [ + 917, + 34 + ], + [ + 921, + 34 + ], + [ + 926, + 14 + ], + [ + 979, + 16 + ], + [ + 1034, + 18 + ], + [ + 1060, + 17 + ], + [ + 1072, + 22 + ], + [ + 1075, + 23 + ], + [ + 1096, + 32 + ], + [ + 1137, + 18 + ], + [ + 1140, + 19 + ], + [ + 1144, + 13 + ], + [ + 1148, + 14 + ], + [ + 1170, + 15 + ], + [ + 1179, + 19 + ], + [ + 1188, + 19 + ], + [ + 1197, + 22 + ], + [ + 1206, + 22 + ], + [ + 1210, + 17 + ], + [ + 1216, + 18 + ], + [ + 1220, + 22 + ], + [ + 1224, + 14 + ], + [ + 1227, + 13 + ], + [ + 1233, + 29 + ], + [ + 1240, + 29 + ], + [ + 1245, + 13 + ], + [ + 1255, + 16 + ], + [ + 1264, + 16 + ], + [ + 1288, + 30 + ], + [ + 1301, + 26 + ], + [ + 1311, + 26 + ], + [ + 1321, + 27 + ], + [ + 1336, + 19 + ], + [ + 1342, + 19 + ], + [ + 1347, + 25 + ], + [ + 1355, + 31 + ], + [ + 1361, + 17 + ], + [ + 1363, + 27 + ], + [ + 1374, + 16 + ], + [ + 1381, + 20 + ], + [ + 1388, + 40 + ], + [ + 1394, + 28 + ], + [ + 1403, + 34 + ], + [ + 1415, + 27 + ], + [ + 1422, + 27 + ], + [ + 1428, + 22 + ], + [ + 1439, + 27 + ], + [ + 1446, + 27 + ], + [ + 1453, + 26 + ], + [ + 1460, + 26 + ], + [ + 1468, + 27 + ], + [ + 1476, + 27 + ], + [ + 1482, + 19 + ], + [ + 1490, + 24 + ], + [ + 1499, + 24 + ], + [ + 1505, + 34 + ], + [ + 1511, + 22 + ], + [ + 1515, + 16 + ], + [ + 1519, + 18 + ], + [ + 1523, + 18 + ], + [ + 1527, + 19 + ], + [ + 1533, + 19 + ], + [ + 1539, + 22 + ], + [ + 1543, + 37 + ], + [ + 1547, + 31 + ], + [ + 1551, + 36 + ], + [ + 1555, + 31 + ], + [ + 1559, + 25 + ], + [ + 1563, + 31 + ], + [ + 1567, + 25 + ], + [ + 1571, + 35 + ], + [ + 1575, + 36 + ], + [ + 1579, + 32 + ], + [ + 1583, + 40 + ], + [ + 1587, + 44 + ], + [ + 1596, + 26 + ], + [ + 1599, + 10 + ], + [ + 1604, + 12 + ], + [ + 1609, + 16 + ], + [ + 1612, + 18 + ], + [ + 1616, + 18 + ], + [ + 1619, + 15 + ], + [ + 1626, + 15 + ], + [ + 1636, + 26 + ], + [ + 1645, + 15 + ], + [ + 1652, + 14 + ], + [ + 1659, + 12 + ], + [ + 1666, + 14 + ], + [ + 1673, + 15 + ], + [ + 1679, + 13 + ], + [ + 1686, + 18 + ], + [ + 1693, + 27 + ], + [ + 1702, + 32 + ], + [ + 1709, + 21 + ], + [ + 1716, + 32 + ], + [ + 1723, + 28 + ], + [ + 1729, + 14 + ], + [ + 1740, + 21 + ], + [ + 1751, + 21 + ], + [ + 1759, + 28 + ], + [ + 1776, + 13 + ], + [ + 1791, + 13 + ], + [ + 1798, + 13 + ], + [ + 1809, + 13 + ], + [ + 1816, + 27 + ], + [ + 1823, + 21 + ], + [ + 1830, + 31 + ], + [ + 1834, + 14 + ], + [ + 1841, + 36 + ], + [ + 1848, + 40 + ], + [ + 1856, + 16 + ], + [ + 1863, + 16 + ], + [ + 1873, + 27 + ], + [ + 1879, + 28 + ], + [ + 1883, + 22 + ], + [ + 1889, + 31 + ], + [ + 1910, + 40 + ], + [ + 1919, + 14 + ], + [ + 1926, + 14 + ], + [ + 1930, + 17 + ], + [ + 1933, + 20 + ], + [ + 1944, + 12 + ], + [ + 1952, + 20 + ], + [ + 1958, + 21 + ], + [ + 1962, + 20 + ], + [ + 1964, + 11 + ], + [ + 1967, + 18 + ], + [ + 1969, + 22 + ], + [ + 1972, + 23 + ], + [ + 1976, + 23 + ], + [ + 1980, + 32 + ], + [ + 1983, + 27 + ], + [ + 1984, + 27 + ], + [ + 1986, + 29 + ], + [ + 1987, + 29 + ], + [ + 1989, + 25 + ], + [ + 1990, + 25 + ], + [ + 1992, + 29 + ], + [ + 1994, + 22 + ], + [ + 1995, + 22 + ], + [ + 1997, + 23 + ], + [ + 1999, + 25 + ], + [ + 2001, + 23 + ], + [ + 2002, + 23 + ], + [ + 2004, + 13 + ], + [ + 2005, + 13 + ], + [ + 2007, + 19 + ], + [ + 2009, + 12 + ], + [ + 2010, + 12 + ], + [ + 2012, + 16 + ], + [ + 2013, + 16 + ], + [ + 2015, + 19 + ], + [ + 2016, + 19 + ], + [ + 2018, + 17 + ], + [ + 2019, + 17 + ], + [ + 2021, + 18 + ], + [ + 2022, + 18 + ], + [ + 2024, + 19 + ], + [ + 2025, + 18 + ], + [ + 2027, + 22 + ], + [ + 2029, + 29 + ], + [ + 2031, + 38 + ], + [ + 2033, + 34 + ], + [ + 2035, + 34 + ], + [ + 2037, + 34 + ], + [ + 2039, + 27 + ], + [ + 2041, + 23 + ], + [ + 2043, + 26 + ], + [ + 2045, + 26 + ], + [ + 2047, + 26 + ], + [ + 2049, + 24 + ], + [ + 2051, + 32 + ], + [ + 2052, + 32 + ], + [ + 2054, + 29 + ], + [ + 2055, + 29 + ], + [ + 2058, + 12 + ] + ], + "doc": " Public: This class represents all essential editing state for a single\n{TextBuffer}, including cursor and selection positions, folds, and soft wraps.\nIf you're manipulating the state of an editor, use this class. If you're\ninterested in the visual appearance of editors, use {EditorView} instead.\n\nA single {TextBuffer} can belong to multiple editors. For example, if the\nsame file is open in two different panes, Atom creates a separate editor for\neach pane. If the buffer is manipulated the changes are reflected in both\neditors, but each maintains its own cursor position, folded lines, etc.\n\n## Accessing Editor Instances\n\nThe easiest way to get hold of `Editor` objects is by registering a callback\nwith `::eachEditor` on the `atom.workspace` global. Your callback will then\nbe called with all current editor instances and also when any editor is\ncreated in the future.\n\n```coffeescript\n atom.workspace.eachEditor (editor) ->\n editor.insertText('Hello World')\n```\n\n## Buffer vs. Screen Coordinates\n\nBecause editors support folds and soft-wrapping, the lines on screen don't\nalways match the lines in the buffer. For example, a long line that soft wraps\ntwice renders as three lines on screen, but only represents one line in the\nbuffer. Similarly, if rows 5-10 are folded, then row 6 on screen corresponds\nto row 11 in the buffer.\n\nYour choice of coordinates systems will depend on what you're trying to\nachieve. For example, if you're writing a command that jumps the cursor up or\ndown by 10 lines, you'll want to use screen coordinates because the user\nprobably wants to skip lines *on screen*. However, if you're writing a package\nthat jumps between method definitions, you'll want to work in buffer\ncoordinates.\n\n**When in doubt, just default to buffer coordinates**, then experiment with\nsoft wraps and folds to ensure your code interacts with them correctly.\n\n## Common Tasks\n\nThis is a subset of methods on this class. Refer to the complete summary for\nits full capabilities.\n\n### Cursors\n- {::setCursorBufferPosition}\n- {::setCursorScreenPosition}\n- {::moveCursorUp}\n- {::moveCursorDown}\n- {::moveCursorLeft}\n- {::moveCursorRight}\n- {::moveCursorToBeginningOfWord}\n- {::moveCursorToEndOfWord}\n- {::moveCursorToPreviousWordBoundary}\n- {::moveCursorToNextWordBoundary}\n- {::moveCursorToBeginningOfNextWord}\n- {::moveCursorToBeginningOfLine}\n- {::moveCursorToEndOfLine}\n- {::moveCursorToFirstCharacterOfLine}\n- {::moveCursorToTop}\n- {::moveCursorToBottom}\n\n### Selections\n- {::getSelectedBufferRange}\n- {::getSelectedBufferRanges}\n- {::setSelectedBufferRange}\n- {::setSelectedBufferRanges}\n- {::selectUp}\n- {::selectDown}\n- {::selectLeft}\n- {::selectRight}\n- {::selectToBeginningOfWord}\n- {::selectToEndOfWord}\n- {::selectToPreviousWordBoundary}\n- {::selectToNextWordBoundary}\n- {::selectWord}\n- {::selectToBeginningOfLine}\n- {::selectToEndOfLine}\n- {::selectToFirstCharacterOfLine}\n- {::selectToTop}\n- {::selectToBottom}\n- {::selectAll}\n- {::addSelectionForBufferRange}\n- {::addSelectionAbove}\n- {::addSelectionBelow}\n- {::splitSelectionsIntoLines}\n\n### Manipulating Text\n- {::getText}\n- {::getSelectedText}\n- {::setText}\n- {::setTextInBufferRange}\n- {::insertText}\n- {::insertNewline}\n- {::insertNewlineAbove}\n- {::insertNewlineBelow}\n- {::backspace}\n- {::deleteToBeginningOfWord}\n- {::deleteToBeginningOfLine}\n- {::delete}\n- {::deleteToEndOfLine}\n- {::deleteToEndOfWord}\n- {::deleteLine}\n- {::cutSelectedText}\n- {::cutToEndOfLine}\n- {::copySelectedText}\n- {::pasteText}\n\n### Undo, Redo, and Transactions\n- {::undo}\n- {::redo}\n- {::transact}\n- {::abortTransaction}\n\n### Markers\n- {::markBufferRange}\n- {::markScreenRange}\n- {::getMarker}\n- {::findMarkers}\n\n### Decorations\n- {::decorateMarker}\n- {::decorationsForScreenRowRange} ", + "range": [ + [ + 138, + 0 + ], + [ + 2060, + 16 + ] + ] + } + }, + "143": { + "17": { + "name": "deserializing", + "type": "primitive", + "range": [ + [ + 143, + 17 + ], + [ + 143, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "144": { + "32": { + "name": "callDisplayBufferCreatedHook", + "type": "primitive", + "range": [ + [ + 144, + 32 + ], + [ + 144, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "145": { + "18": { + "name": "registerEditor", + "type": "primitive", + "range": [ + [ + 145, + 18 + ], + [ + 145, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "146": { + "10": { + "name": "buffer", + "type": "primitive", + "range": [ + [ + 146, + 10 + ], + [ + 146, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "147": { + "16": { + "name": "languageMode", + "type": "primitive", + "range": [ + [ + 147, + 16 + ], + [ + 147, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "148": { + "11": { + "name": "cursors", + "type": "primitive", + "range": [ + [ + 148, + 11 + ], + [ + 148, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "149": { + "14": { + "name": "selections", + "type": "primitive", + "range": [ + [ + 149, + 14 + ], + [ + 149, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "150": { + "28": { + "name": "suppressSelectionMerging", + "type": "primitive", + "range": [ + [ + 150, + 28 + ], + [ + 150, + 32 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "151": { + "20": { + "name": "updateBatchDepth", + "type": "primitive", + "range": [ + [ + 151, + 20 + ], + [ + 151, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "152": { + "26": { + "name": "selectionFlashDuration", + "type": "primitive", + "range": [ + [ + 152, + 26 + ], + [ + 152, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "161": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 161, + 15 + ], + [ + 190, + 1 + ] + ], + "doc": "~Private~" + } + }, + "190": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 19 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 197, + 21 + ], + [ + 202, + 1 + ] + ], + "doc": "~Private~" + } + }, + "202": { + "21": { + "name": "subscribeToBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 202, + 21 + ], + [ + 215, + 1 + ] + ], + "doc": "~Private~" + } + }, + "215": { + "28": { + "name": "subscribeToDisplayBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 215, + 28 + ], + [ + 228, + 1 + ] + ], + "doc": "~Private~" + } + }, + "228": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 228, + 16 + ], + [ + 234, + 1 + ] + ], + "doc": "~Private~" + } + }, + "234": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 13 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 242, + 8 + ], + [ + 258, + 1 + ] + ], + "doc": "Private: Create an {Editor} with its initial state based on this object " + } + }, + "258": { + "12": { + "name": "getTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 258, + 12 + ], + [ + 271, + 1 + ] + ], + "doc": " Public: Get the title the editor's title for display in other parts of the\nUI such as the tabs.\n\nIf the editor's buffer is saved, its title is the file name. If it is\nunsaved, its title is \"untitled\".\n\nReturns a {String}. " + } + }, + "271": { + "16": { + "name": "getLongTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 271, + 16 + ], + [ + 281, + 1 + ] + ], + "doc": " Public: Get the editor's long title for display in other parts of the UI\nsuch as the window title.\n\nIf the editor's buffer is saved, its long title is formatted as\n\" - \". If it is unsaved, its title is \"untitled\"\n\nReturns a {String}. " + } + }, + "281": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 281, + 14 + ], + [ + 281, + 60 + ] + ], + "doc": "Private: Controls visibility based on the given {Boolean}. " + } + }, + "288": { + "25": { + "name": "setEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorWidthInChars" + ], + "range": [ + [ + 288, + 25 + ], + [ + 292, + 1 + ] + ], + "doc": " Private: Set the number of characters that can be displayed horizontally in the\neditor.\n\neditorWidthInChars - A {Number} representing the width of the {EditorView}\nin characters. " + } + }, + "292": { + "21": { + "name": "getSoftWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 21 + ], + [ + 292, + 57 + ] + ], + "doc": "Public: Sets the column at which column will soft wrap " + } + }, + "296": { + "15": { + "name": "getSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 296, + 15 + ], + [ + 296, + 26 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether softTabs are enabled for this\neditor. " + } + }, + "301": { + "15": { + "name": "setSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 301, + 15 + ], + [ + 301, + 38 + ] + ], + "doc": " Public: Enable or disable soft tabs for this editor.\n\nsoftTabs - A {Boolean} " + } + }, + "304": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 304, + 18 + ], + [ + 304, + 52 + ] + ], + "doc": "Public: Toggle soft tabs for this editor " + } + }, + "307": { + "15": { + "name": "getSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 307, + 15 + ], + [ + 307, + 45 + ] + ], + "doc": "Public: Get whether soft wrap is enabled for this editor. " + } + }, + "312": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 312, + 15 + ], + [ + 312, + 64 + ] + ], + "doc": " Public: Enable or disable soft wrap for this editor.\n\nsoftWrap - A {Boolean} " + } + }, + "315": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 18 + ], + [ + 315, + 52 + ] + ], + "doc": "Public: Toggle soft wrap for this editor " + } + }, + "323": { + "14": { + "name": "getTabText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 323, + 14 + ], + [ + 323, + 37 + ] + ], + "doc": " Public: Get the text representing a single level of indent.\n\nIf soft tabs are enabled, the text is composed of N spaces, where N is the\ntab length. Otherwise the text is a tab character (`\\t`).\n\nReturns a {String}. " + } + }, + "328": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 328, + 16 + ], + [ + 328, + 47 + ] + ], + "doc": " Public: Get the on-screen length of tab characters.\n\nReturns a {Number}. " + } + }, + "331": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 331, + 16 + ], + [ + 331, + 68 + ] + ], + "doc": "Public: Set the on-screen length of tab characters. " + } + }, + "339": { + "16": { + "name": "usesSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 339, + 16 + ], + [ + 361, + 1 + ] + ], + "doc": " Public: Determine if the buffer uses hard or soft tabs.\n\nReturns `true` if the first non-comment line with leading whitespace starts\nwith a space character. Returns `false` if it starts with a hard tab (`\\t`).\n\nReturns a {Boolean}, " + } + }, + "361": { + "22": { + "name": "clipBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 361, + 22 + ], + [ + 361, + 77 + ] + ], + "doc": " Public: Clip the given {Point} to a valid position in the buffer.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the buffer, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " + } + }, + "369": { + "19": { + "name": "clipBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 369, + 19 + ], + [ + 369, + 53 + ] + ], + "doc": " Public: Clip the start and end of the given range to valid positions in the\nbuffer. See {::clipBufferPosition} for more information.\n\nrange - The {Range} to clip.\n\nReturns a {Range}. " + } + }, + "381": { + "27": { + "name": "indentationForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 381, + 27 + ], + [ + 396, + 1 + ] + ], + "doc": " Public: Get the indentation level of the given a buffer row.\n\nReturns how deeply the given row is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nbufferRow - A {Number} indicating the buffer row.\n\nReturns a {Number}. " + } + }, + "396": { + "30": { + "name": "setIndentationForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "newLevel", + null + ], + "range": [ + [ + 396, + 30 + ], + [ + 414, + 1 + ] + ], + "doc": " Public: Set the indentation level for the given buffer row.\n\nInserts or removes hard tabs or spaces based on the soft tabs and tab length\nsettings of this editor in order to bring it to the given indentation level.\nNote that if soft tabs are enabled and the tab length is 2, a row with 4\nleading spaces would have an indentation level of 2.\n\nbufferRow - A {Number} indicating the buffer row.\nnewLevel - A {Number} indicating the new indentation level.\noptions - An {Object} with the following keys:\n :preserveLeadingWhitespace - true to preserve any whitespace already at\n the beginning of the line (default: false). " + } + }, + "414": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 414, + 22 + ], + [ + 418, + 1 + ] + ], + "doc": " Public: Get the indentation level of the given line of text.\n\nReturns how deeply the given line is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nline - A {String} representing a line of text.\n\nReturns a {Number}. " + } + }, + "418": { + "21": { + "name": "buildIndentString", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "number", + "column" + ], + "range": [ + [ + 418, + 21 + ], + [ + 428, + 1 + ] + ], + "doc": "Private: Constructs the string used for tabs. " + } + }, + "428": { + "8": { + "name": "save", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 8 + ], + [ + 428, + 24 + ] + ], + "doc": " Public: Saves the editor's text buffer.\n\nSee {TextBuffer::save} for more details. " + } + }, + "435": { + "10": { + "name": "saveAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 435, + 10 + ], + [ + 435, + 47 + ] + ], + "doc": " Public: Saves the editor's text buffer as the given path.\n\nSee {TextBuffer::saveAs} for more details.\n\nfilePath - A {String} path. " + } + }, + "437": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 437, + 16 + ], + [ + 442, + 1 + ] + ], + "doc": "~Private~" + } + }, + "442": { + "23": { + "name": "copyPathToClipboard", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 442, + 23 + ], + [ + 447, + 1 + ] + ], + "doc": "Private: Copies the current file path to the native clipboard. " + } + }, + "447": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 447, + 11 + ], + [ + 447, + 30 + ] + ], + "doc": "Public: Returns the {String} path of this editor's text buffer. " + } + }, + "450": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 450, + 11 + ], + [ + 450, + 30 + ] + ], + "doc": "Public: Returns a {String} representing the entire contents of the editor. " + } + }, + "453": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 453, + 11 + ], + [ + 453, + 41 + ] + ], + "doc": "Public: Replaces the entire contents of the buffer with the given {String}. " + } + }, + "458": { + "18": { + "name": "getTextInRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 458, + 18 + ], + [ + 458, + 57 + ] + ], + "doc": " Private: Get the text in the given {Range}.\n\nReturns a {String}. " + } + }, + "461": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 461, + 16 + ], + [ + 461, + 40 + ] + ], + "doc": "Public: Returns a {Number} representing the number of lines in the editor. " + } + }, + "464": { + "13": { + "name": "getBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 464, + 13 + ], + [ + 464, + 22 + ] + ], + "doc": "Private: Retrieves the current {TextBuffer}. " + } + }, + "467": { + "10": { + "name": "getUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 467, + 10 + ], + [ + 467, + 28 + ] + ], + "doc": "Public: Retrieves the current buffer's URI. " + } + }, + "470": { + "20": { + "name": "isBufferRowBlank", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 470, + 20 + ], + [ + 470, + 63 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.isRowBlank} " + } + }, + "473": { + "24": { + "name": "isBufferRowCommented", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 473, + 24 + ], + [ + 479, + 1 + ] + ], + "doc": "Public: Determine if the given row is entirely a comment " + } + }, + "479": { + "25": { + "name": "nextNonBlankBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 479, + 25 + ], + [ + 479, + 73 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.nextNonBlankRow} " + } + }, + "482": { + "24": { + "name": "getEofBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 482, + 24 + ], + [ + 482, + 50 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.getEndPosition} " + } + }, + "486": { + "20": { + "name": "getLastBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 486, + 20 + ], + [ + 486, + 42 + ] + ], + "doc": " Public: Returns a {Number} representing the last zero-indexed buffer row\nnumber of the editor. " + } + }, + "494": { + "27": { + "name": "bufferRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + null + ], + "range": [ + [ + 494, + 27 + ], + [ + 494, + 96 + ] + ], + "doc": " Private: Returns the range for the given buffer row.\n\nrow - A row {Number}.\noptions - An options hash with an `includeNewline` key.\n\nReturns a {Range}. " + } + }, + "500": { + "20": { + "name": "lineForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 500, + 20 + ], + [ + 500, + 51 + ] + ], + "doc": " Public: Returns a {String} representing the contents of the line at the\ngiven buffer row.\n\nrow - A {Number} representing a zero-indexed buffer row. " + } + }, + "506": { + "26": { + "name": "lineLengthForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 506, + 26 + ], + [ + 506, + 63 + ] + ], + "doc": " Public: Returns a {Number} representing the line length for the given\nbuffer row, exclusive of its line-ending character(s).\n\nrow - A {Number} indicating the buffer row. " + } + }, + "509": { + "8": { + "name": "scan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 509, + 8 + ], + [ + 509, + 41 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.scan} " + } + }, + "512": { + "21": { + "name": "scanInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 512, + 21 + ], + [ + 512, + 61 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.scanInRange} " + } + }, + "515": { + "30": { + "name": "backwardsScanInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 515, + 30 + ], + [ + 515, + 79 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.backwardsScanInRange} " + } + }, + "518": { + "14": { + "name": "isModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 518, + 14 + ], + [ + 518, + 36 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.isModified} " + } + }, + "520": { + "11": { + "name": "isEmpty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 520, + 11 + ], + [ + 520, + 30 + ] + ], + "doc": "~Private~" + } + }, + "524": { + "22": { + "name": "shouldPromptToSave", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 524, + 22 + ], + [ + 524, + 74 + ] + ], + "doc": " Public: Determine whether the user should be prompted to save before closing\nthis editor. " + } + }, + "536": { + "35": { + "name": "screenPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 536, + 35 + ], + [ + 536, + 134 + ] + ], + "doc": " Public: Convert a position in buffer-coordinates to screen-coordinates.\n\nThe position is clipped via {::clipBufferPosition} prior to the conversion.\nThe position is also clipped via {::clipScreenPosition} following the\nconversion, which only makes a difference when `options` are supplied.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " + } + }, + "546": { + "35": { + "name": "bufferPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 546, + 35 + ], + [ + 546, + 134 + ] + ], + "doc": " Public: Convert a position in screen-coordinates to buffer-coordinates.\n\nThe position is clipped via {::clipScreenPosition} prior to the conversion.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " + } + }, + "551": { + "29": { + "name": "screenRangeForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 551, + 29 + ], + [ + 551, + 98 + ] + ], + "doc": " Public: Convert a range in buffer-coordinates to screen-coordinates.\n\nReturns a {Range}. " + } + }, + "556": { + "29": { + "name": "bufferRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 556, + 29 + ], + [ + 556, + 98 + ] + ], + "doc": " Public: Convert a range in screen-coordinates to buffer-coordinates.\n\nReturns a {Range}. " + } + }, + "573": { + "22": { + "name": "clipScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 573, + 22 + ], + [ + 573, + 108 + ] + ], + "doc": " Public: Clip the given {Point} to a valid position on screen.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the screen, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at screen row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " + } + }, + "576": { + "20": { + "name": "lineForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 576, + 20 + ], + [ + 576, + 58 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.lineForRow} " + } + }, + "579": { + "22": { + "name": "linesForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 579, + 22 + ], + [ + 579, + 76 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.linesForRows} " + } + }, + "582": { + "22": { + "name": "getScreenLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 582, + 22 + ], + [ + 582, + 53 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getLineCount} " + } + }, + "585": { + "26": { + "name": "getMaxScreenLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 585, + 26 + ], + [ + 585, + 61 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getMaxLineLength} " + } + }, + "588": { + "20": { + "name": "getLastScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 588, + 20 + ], + [ + 588, + 49 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getLastRow} " + } + }, + "591": { + "27": { + "name": "bufferRowsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 591, + 27 + ], + [ + 591, + 104 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.bufferRowsForScreenRows} " + } + }, + "593": { + "25": { + "name": "bufferRowForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 593, + 25 + ], + [ + 593, + 74 + ] + ], + "doc": "~Private~" + } + }, + "605": { + "27": { + "name": "scopesForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 605, + 27 + ], + [ + 605, + 100 + ] + ], + "doc": " Public: Get the syntactic scopes for the given position in buffer\ncoordinates.\n\nFor example, if called with a position inside the parameter list of an\nanonymous CoffeeScript function, the method returns the following array:\n`[\"source.coffee\", \"meta.inline.function.coffee\", \"variable.parameter.function.coffee\"]`\n\nbufferPosition - A {Point} or {Array} of [row, column].\n\nReturns an {Array} of {String}s. " + } + }, + "614": { + "31": { + "name": "bufferRangeForScopeAtCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 614, + 31 + ], + [ + 618, + 1 + ] + ], + "doc": " Public: Get the range in buffer coordinates of all tokens surrounding the\ncursor that match the given scope selector.\n\nFor example, if you wanted to find the string surrounding the cursor, you\ncould call `editor.bufferRangeForScopeAtCursor(\".string.quoted\")`.\n\nReturns a {Range}. " + } + }, + "618": { + "26": { + "name": "tokenForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 618, + 26 + ], + [ + 618, + 98 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.tokenForBufferPosition} " + } + }, + "624": { + "19": { + "name": "getCursorScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 624, + 19 + ], + [ + 624, + 45 + ] + ], + "doc": " Public: Get the syntactic scopes for the most recently added cursor's\nposition. See {::scopesForBufferPosition} for more information.\n\nReturns an {Array} of {String}s. " + } + }, + "626": { + "18": { + "name": "logCursorScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 626, + 18 + ], + [ + 633, + 1 + ] + ], + "doc": "~Private~" + } + }, + "633": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 633, + 14 + ], + [ + 639, + 1 + ] + ], + "doc": " Public: For each selection, replace the selected text with the given text.\n\ntext - A {String} representing the text to insert.\noptions - See {Selection::insertText}. " + } + }, + "639": { + "17": { + "name": "insertNewline", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 639, + 17 + ], + [ + 643, + 1 + ] + ], + "doc": "Public: For each selection, replace the selected text with a newline. " + } + }, + "643": { + "22": { + "name": "insertNewlineBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 643, + 22 + ], + [ + 649, + 1 + ] + ], + "doc": "Public: For each cursor, insert a newline at beginning the following line. " + } + }, + "649": { + "22": { + "name": "insertNewlineAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 649, + 22 + ], + [ + 668, + 1 + ] + ], + "doc": "Public: For each cursor, insert a newline at the end of the preceding line. " + } + }, + "668": { + "10": { + "name": "indent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 668, + 10 + ], + [ + 674, + 1 + ] + ], + "doc": " Private: Indent all lines intersecting selections. See {Selection::indent} for more\ninformation. " + } + }, + "674": { + "13": { + "name": "backspace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 674, + 13 + ], + [ + 678, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete the character\npreceding the cursor. Otherwise delete the selected text. " + } + }, + "678": { + "30": { + "name": "backspaceToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 678, + 30 + ], + [ + 683, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " + } + }, + "683": { + "30": { + "name": "backspaceToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 683, + 30 + ], + [ + 690, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " + } + }, + "690": { + "27": { + "name": "deleteToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 690, + 27 + ], + [ + 696, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word that precede the cursor. Otherwise delete the\nselected text. " + } + }, + "696": { + "27": { + "name": "deleteToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 696, + 27 + ], + [ + 701, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing line that precede the cursor. Otherwise delete the\nselected text. " + } + }, + "701": { + "10": { + "name": "delete", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 701, + 10 + ], + [ + 708, + 1 + ] + ] + } + }, + "708": { + "21": { + "name": "deleteToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 708, + 21 + ], + [ + 714, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is not empty, deletes the\nselection; otherwise, deletes all characters of the containing line\nfollowing the cursor. If the cursor is already at the end of the line,\ndeletes the following newline. " + } + }, + "714": { + "21": { + "name": "deleteToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 714, + 21 + ], + [ + 718, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word following the cursor. Otherwise delete the selected\ntext. " + } + }, + "718": { + "14": { + "name": "deleteLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 718, + 14 + ], + [ + 722, + 1 + ] + ], + "doc": "Public: Delete all lines intersecting selections. " + } + }, + "722": { + "22": { + "name": "indentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 722, + 22 + ], + [ + 726, + 1 + ] + ], + "doc": "Public: Indent rows intersecting selections by one level. " + } + }, + "726": { + "23": { + "name": "outdentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 726, + 23 + ], + [ + 734, + 1 + ] + ], + "doc": "Public: Outdent rows intersecting selections by one level. " + } + }, + "734": { + "33": { + "name": "toggleLineCommentsInSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 734, + 33 + ], + [ + 739, + 1 + ] + ], + "doc": " Public: Toggle line comments for rows intersecting selections.\n\nIf the current grammar doesn't support comments, does nothing.\n\nReturns an {Array} of the commented {Range}s. " + } + }, + "739": { + "26": { + "name": "autoIndentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 739, + 26 + ], + [ + 744, + 1 + ] + ], + "doc": " Public: Indent rows intersecting selections based on the grammar's suggested\nindent level. " + } + }, + "744": { + "30": { + "name": "normalizeTabsInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 744, + 30 + ], + [ + 751, + 1 + ] + ], + "doc": " Private: If soft tabs are enabled, convert all hard tabs to soft tabs in the given\n{Range}. " + } + }, + "751": { + "18": { + "name": "cutToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 751, + 18 + ], + [ + 758, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, cut all characters\nof the containing line following the cursor. Otherwise cut the selected\ntext. " + } + }, + "758": { + "19": { + "name": "cutSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 758, + 19 + ], + [ + 765, + 1 + ] + ], + "doc": "Public: For each selection, cut the selected text. " + } + }, + "765": { + "20": { + "name": "copySelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 765, + 20 + ], + [ + 779, + 1 + ] + ], + "doc": "Public: For each selection, copy the selected text. " + } + }, + "779": { + "13": { + "name": "pasteText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 779, + 13 + ], + [ + 798, + 1 + ] + ], + "doc": " Public: For each selection, replace the selected text with the contents of\nthe clipboard.\n\nIf the clipboard contains the same number of selections as the current\neditor, each selection will be replaced with the content of the\ncorresponding clipboard selection text.\n\noptions - See {Selection::insertText}. " + } + }, + "798": { + "8": { + "name": "undo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 798, + 8 + ], + [ + 803, + 1 + ] + ], + "doc": "Public: Undo the last change. " + } + }, + "803": { + "8": { + "name": "redo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 803, + 8 + ], + [ + 812, + 1 + ] + ], + "doc": "Public: Redo the last change. " + } + }, + "812": { + "18": { + "name": "foldCurrentRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 812, + 18 + ], + [ + 817, + 1 + ] + ], + "doc": " Public: Fold the most recent cursor's row based on its indentation level.\n\nThe fold will extend from the nearest preceding line with a lower\nindentation level up to the nearest following row with a lower indentation\nlevel. " + } + }, + "817": { + "20": { + "name": "unfoldCurrentRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 817, + 20 + ], + [ + 822, + 1 + ] + ], + "doc": "Public: Unfold the most recent cursor's row by one level. " + } + }, + "822": { + "21": { + "name": "foldSelectedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 822, + 21 + ], + [ + 826, + 1 + ] + ], + "doc": "Public: For each selection, fold the rows it intersects. " + } + }, + "826": { + "11": { + "name": "foldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 826, + 11 + ], + [ + 830, + 1 + ] + ], + "doc": "Public: Fold all foldable lines. " + } + }, + "830": { + "13": { + "name": "unfoldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 830, + 13 + ], + [ + 836, + 1 + ] + ], + "doc": "Public: Unfold all existing folds. " + } + }, + "836": { + "24": { + "name": "foldAllAtIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "level" + ], + "range": [ + [ + 836, + 24 + ], + [ + 846, + 1 + ] + ], + "doc": " Public: Fold all foldable lines at the given indent level.\n\nlevel - A {Number}. " + } + }, + "846": { + "17": { + "name": "foldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 846, + 17 + ], + [ + 852, + 1 + ] + ], + "doc": " Public: Fold the given row in buffer coordinates based on its indentation\nlevel.\n\nIf the given row is foldable, the fold will begin there. Otherwise, it will\nbegin at the first foldable row preceding the given row.\n\nbufferRow - A {Number}. " + } + }, + "852": { + "19": { + "name": "unfoldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 852, + 19 + ], + [ + 862, + 1 + ] + ], + "doc": " Public: Unfold all folds containing the given row in buffer coordinates.\n\nbufferRow - A {Number} " + } + }, + "862": { + "25": { + "name": "isFoldableAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 862, + 25 + ], + [ + 865, + 1 + ] + ], + "doc": " Public: Determine whether the given row in buffer coordinates is foldable.\n\nA *foldable* row is a row that *starts* a row range that can be folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "865": { + "25": { + "name": "isFoldableAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 865, + 25 + ], + [ + 870, + 1 + ] + ], + "doc": "~Private~" + } + }, + "870": { + "14": { + "name": "createFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 870, + 14 + ], + [ + 874, + 1 + ] + ], + "doc": "TODO: Rename to foldRowRange? " + } + }, + "874": { + "21": { + "name": "destroyFoldWithId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 874, + 21 + ], + [ + 878, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.destroyFoldWithId} " + } + }, + "878": { + "39": { + "name": "destroyFoldsIntersectingBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 878, + 39 + ], + [ + 884, + 1 + ] + ], + "doc": "Private: Remove any {Fold}s found that intersect the given buffer row. " + } + }, + "884": { + "25": { + "name": "toggleFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 884, + 25 + ], + [ + 893, + 1 + ] + ], + "doc": " Public: Fold the given buffer row if it isn't currently folded, and unfold\nit otherwise. " + } + }, + "893": { + "23": { + "name": "isFoldedAtCursorRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 893, + 23 + ], + [ + 901, + 1 + ] + ], + "doc": " Public: Determine whether the most recently added cursor's row is folded.\n\nReturns a {Boolean}. " + } + }, + "901": { + "23": { + "name": "isFoldedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 901, + 23 + ], + [ + 909, + 1 + ] + ], + "doc": " Public: Determine whether the given row in buffer coordinates is folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "909": { + "23": { + "name": "isFoldedAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 909, + 23 + ], + [ + 913, + 1 + ] + ], + "doc": " Public: Determine whether the given row in screen coordinates is folded.\n\nscreenRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "913": { + "34": { + "name": "largestFoldContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 913, + 34 + ], + [ + 917, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.largestFoldContainingBufferRow} " + } + }, + "917": { + "34": { + "name": "largestFoldStartingAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 917, + 34 + ], + [ + 921, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.largestFoldStartingAtScreenRow} " + } + }, + "921": { + "34": { + "name": "outermostFoldsInBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 921, + 34 + ], + [ + 926, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.outermostFoldsForBufferRowRange} " + } + }, + "926": { + "14": { + "name": "moveLineUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 926, + 14 + ], + [ + 979, + 1 + ] + ], + "doc": " Private: Move lines intersection the most recent selection up by one row in screen\ncoordinates. " + } + }, + "979": { + "16": { + "name": "moveLineDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 979, + 16 + ], + [ + 1034, + 1 + ] + ], + "doc": " Private: Move lines intersecting the most recent selection down by one row in screen\ncoordinates. " + } + }, + "1034": { + "18": { + "name": "duplicateLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1034, + 18 + ], + [ + 1060, + 1 + ] + ], + "doc": "Private: Duplicate the most recent cursor's current line. " + } + }, + "1060": { + "17": { + "name": "duplicateLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1060, + 17 + ], + [ + 1072, + 1 + ] + ], + "doc": "Deprecated: Use {::duplicateLines} instead. " + } + }, + "1072": { + "22": { + "name": "mutateSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1072, + 22 + ], + [ + 1075, + 1 + ] + ], + "doc": " Public: Mutate the text of all the selections in a single transaction.\n\nAll the changes made inside the given {Function} can be reverted with a\nsingle call to {::undo}.\n\nfn - A {Function} that will be called once for each {Selection}. The first\n argument will be a {Selection} and the second argument will be the\n {Number} index of that selection. " + } + }, + "1075": { + "23": { + "name": "replaceSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options", + "fn" + ], + "range": [ + [ + 1075, + 23 + ], + [ + 1096, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1096": { + "32": { + "name": "decorationsForScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 1096, + 32 + ], + [ + 1137, + 1 + ] + ], + "doc": " Public: Get all the decorations within a screen row range.\n\nstartScreenRow - the {Number} beginning screen row\nendScreenRow - the {Number} end screen row (inclusive)\n\nReturns an {Object} of decorations in the form\n `{1: [{id: 10, type: 'gutter', class: 'someclass'}], 2: ...}`\n where the keys are {Marker} IDs, and the values are an array of decoration\n params objects attached to the marker.\nReturns an empty object when no decorations are found " + } + }, + "1137": { + "18": { + "name": "decorateMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "decorationParams" + ], + "range": [ + [ + 1137, + 18 + ], + [ + 1140, + 1 + ] + ], + "doc": " Public: Adds a decoration that tracks a {Marker}. When the marker moves,\nis invalidated, or is destroyed, the decoration will be updated to reflect\nthe marker's state.\n\nThere are three types of supported decorations:\n* `line`: Adds your CSS `class` to the line nodes within the range\n marked by the marker\n* `gutter`: Adds your CSS `class` to the line number nodes within the\n range marked by the marker\n* `highlight`: Adds a new highlight div to the editor surrounding the\n range marked by the marker. When the user selects text, the selection is\n visualized with a highlight decoration internally. The structure of this\n highlight will be:\n ```html\n
    \">\n \n
    \n
    \n ```\n\nmarker - A {Marker} you want this decoration to follow.\ndecorationParams - An {Object} representing the decoration eg. `{type: 'gutter', class: 'linter-error'}`\n :type - There are a few supported decoration types:\n * `gutter`: Applies the decoration to the line numbers spanned by the marker.\n * `line`: Applies the decoration to the lines spanned by the marker.\n * `highlight`: Applies the decoration to a \"highlight\" behind the marked range.\n :class - This CSS class will be applied to the decorated line number,\n line, or highlight.\n :onlyHead - If `true`, the decoration will only be applied to the head\n of the marker. Only applicable to the `line` and `gutter` types.\n :onlyEmpty - If `true`, the decoration will only be applied if the\n associated marker is empty. Only applicable to the `line` and\n `gutter` types.\n :onlyNonEmpty - If `true`, the decoration will only be applied if the\n associated marker is non-empty. Only applicable to the `line` and\n gutter types.\n\nReturns a {Decoration} object " + } + }, + "1140": { + "19": { + "name": "decorationForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 1140, + 19 + ], + [ + 1144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1144": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 1144, + 13 + ], + [ + 1148, + 1 + ] + ], + "doc": "Public: Get the {DisplayBufferMarker} for the given marker id. " + } + }, + "1148": { + "14": { + "name": "getMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1148, + 14 + ], + [ + 1170, + 1 + ] + ], + "doc": "Public: Get all {DisplayBufferMarker}s. " + } + }, + "1170": { + "15": { + "name": "findMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "properties" + ], + "range": [ + [ + 1170, + 15 + ], + [ + 1179, + 1 + ] + ], + "doc": " Public: Find all {DisplayBufferMarker}s that match the given properties.\n\nThis method finds markers based on the given properties. Markers can be\nassociated with custom properties that will be compared with basic equality.\nIn addition, there are several special properties that will be compared\nwith the range of the markers rather than their properties.\n\nproperties - An {Object} containing properties that each returned marker\n must satisfy. Markers can be associated with custom properties, which are\n compared with basic equality. In addition, several reserved properties\n can be used to filter markers based on their current range:\n :startBufferRow - Only include markers starting at this row in buffer\n coordinates.\n :endBufferRow - Only include markers ending at this row in buffer\n coordinates.\n :containsBufferRange - Only include markers containing this {Range} or\n in range-compatible {Array} in buffer coordinates.\n :containsBufferPosition - Only include markers containing this {Point}\n or {Array} of `[row, column]` in buffer coordinates. " + } + }, + "1179": { + "19": { + "name": "markScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1179, + 19 + ], + [ + 1188, + 1 + ] + ], + "doc": " Public: Mark the given range in screen coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1188": { + "19": { + "name": "markBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1188, + 19 + ], + [ + 1197, + 1 + ] + ], + "doc": " Public: Mark the given range in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1197": { + "22": { + "name": "markScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1197, + 22 + ], + [ + 1206, + 1 + ] + ], + "doc": " Public: Mark the given position in screen coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1206": { + "22": { + "name": "markBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1206, + 22 + ], + [ + 1210, + 1 + ] + ], + "doc": " Public: Mark the given position in buffer coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1210": { + "17": { + "name": "destroyMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1210, + 17 + ], + [ + 1216, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.destroyMarker} " + } + }, + "1216": { + "18": { + "name": "getMarkerCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1216, + 18 + ], + [ + 1220, + 1 + ] + ], + "doc": " Public: Get the number of markers in this editor's buffer.\n\nReturns a {Number}. " + } + }, + "1220": { + "22": { + "name": "hasMultipleCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1220, + 22 + ], + [ + 1224, + 1 + ] + ], + "doc": "Public: Determine if there are multiple cursors. " + } + }, + "1224": { + "14": { + "name": "getCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1224, + 14 + ], + [ + 1224, + 38 + ] + ], + "doc": "Public: Get an Array of all {Cursor}s. " + } + }, + "1227": { + "13": { + "name": "getCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1227, + 13 + ], + [ + 1233, + 1 + ] + ], + "doc": "Public: Get the most recently added {Cursor}. " + } + }, + "1233": { + "29": { + "name": "addCursorAtScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 1233, + 29 + ], + [ + 1240, + 1 + ] + ], + "doc": " Public: Add a cursor at the position in screen coordinates.\n\nReturns a {Cursor}. " + } + }, + "1240": { + "29": { + "name": "addCursorAtBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 1240, + 29 + ], + [ + 1245, + 1 + ] + ], + "doc": " Public: Add a cursor at the given position in buffer coordinates.\n\nReturns a {Cursor}. " + } + }, + "1245": { + "13": { + "name": "addCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1245, + 13 + ], + [ + 1255, + 1 + ] + ], + "doc": "Private: Add a cursor based on the given {DisplayBufferMarker}. " + } + }, + "1255": { + "16": { + "name": "removeCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursor" + ], + "range": [ + [ + 1255, + 16 + ], + [ + 1264, + 1 + ] + ], + "doc": "Private: Remove the given cursor from this editor. " + } + }, + "1264": { + "16": { + "name": "addSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "options" + ], + "range": [ + [ + 1264, + 16 + ], + [ + 1288, + 1 + ] + ], + "doc": " Private: Add a {Selection} based on the given {DisplayBufferMarker}.\n\nmarker - The {DisplayBufferMarker} to highlight\noptions - An {Object} that pertains to the {Selection} constructor.\n\nReturns the new {Selection}. " + } + }, + "1288": { + "30": { + "name": "addSelectionForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 1288, + 30 + ], + [ + 1301, + 1 + ] + ], + "doc": " Public: Add a selection for the given range in buffer coordinates.\n\nbufferRange - A {Range}\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation.\n\nReturns the added {Selection}. " + } + }, + "1301": { + "26": { + "name": "setSelectedBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 1301, + 26 + ], + [ + 1311, + 1 + ] + ], + "doc": " Public: Set the selected range in buffer coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nbufferRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1311": { + "26": { + "name": "setSelectedScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 1311, + 26 + ], + [ + 1321, + 1 + ] + ], + "doc": " Public: Set the selected range in screen coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nscreenRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1321": { + "27": { + "name": "setSelectedBufferRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRanges", + "options" + ], + "range": [ + [ + 1321, + 27 + ], + [ + 1336, + 1 + ] + ], + "doc": " Public: Set the selected ranges in buffer coordinates. If there are multiple\nselections, they are replaced by new selections with the given ranges.\n\nbufferRanges - An {Array} of {Range}s or range-compatible {Array}s.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1336": { + "19": { + "name": "removeSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 1336, + 19 + ], + [ + 1342, + 1 + ] + ], + "doc": "Private: Remove the given selection. " + } + }, + "1342": { + "19": { + "name": "clearSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1342, + 19 + ], + [ + 1347, + 1 + ] + ], + "doc": " Private: Reduce one or more selections to a single empty selection based on the most\nrecently added cursor. " + } + }, + "1347": { + "25": { + "name": "consolidateSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1347, + 25 + ], + [ + 1355, + 1 + ] + ], + "doc": "Private: Reduce multiple selections to the most recently added selection. " + } + }, + "1355": { + "31": { + "name": "selectionScreenRangeChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 1355, + 31 + ], + [ + 1361, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1361": { + "17": { + "name": "getSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1361, + 17 + ], + [ + 1361, + 44 + ] + ], + "doc": " Public: Get current {Selection}s.\n\nReturns: An {Array} of {Selection}s. " + } + }, + "1363": { + "27": { + "name": "selectionsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1363, + 27 + ], + [ + 1374, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1374": { + "16": { + "name": "getSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 1374, + 16 + ], + [ + 1381, + 1 + ] + ], + "doc": " Public: Get the most recent {Selection} or the selection at the given\nindex.\n\nindex - Optional. The index of the selection to return, based on the order\n in which the selections were added.\n\nReturns a {Selection}.\nor the at the specified index. " + } + }, + "1381": { + "20": { + "name": "getLastSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1381, + 20 + ], + [ + 1388, + 1 + ] + ], + "doc": " Public: Get the most recently added {Selection}.\n\nReturns a {Selection}. " + } + }, + "1388": { + "40": { + "name": "getSelectionsOrderedByBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1388, + 40 + ], + [ + 1394, + 1 + ] + ], + "doc": " Public: Get all {Selection}s, ordered by their position in the buffer\ninstead of the order in which they were added.\n\nReturns an {Array} of {Selection}s. " + } + }, + "1394": { + "28": { + "name": "getLastSelectionInBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1394, + 28 + ], + [ + 1403, + 1 + ] + ], + "doc": " Public: Get the last {Selection} based on its position in the buffer.\n\nReturns a {Selection}. " + } + }, + "1403": { + "34": { + "name": "selectionIntersectsBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 1403, + 34 + ], + [ + 1415, + 1 + ] + ], + "doc": " Public: Determine if a given range in buffer coordinates intersects a\nselection.\n\nbufferRange - A {Range} or range-compatible {Array}.\n\nReturns a {Boolean}. " + } + }, + "1415": { + "27": { + "name": "setCursorScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "options" + ], + "range": [ + [ + 1415, + 27 + ], + [ + 1422, + 1 + ] + ], + "doc": " Public: Move the cursor to the given position in screen coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " + } + }, + "1422": { + "27": { + "name": "getCursorScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1422, + 27 + ], + [ + 1428, + 1 + ] + ], + "doc": " Public: Get the position of the most recently added cursor in screen\ncoordinates.\n\nReturns a {Point}. " + } + }, + "1428": { + "22": { + "name": "getCursorScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1428, + 22 + ], + [ + 1439, + 1 + ] + ], + "doc": " Public: Get the row of the most recently added cursor in screen coordinates.\n\nReturns the screen row {Number}. " + } + }, + "1439": { + "27": { + "name": "setCursorBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "options" + ], + "range": [ + [ + 1439, + 27 + ], + [ + 1446, + 1 + ] + ], + "doc": " Public: Move the cursor to the given position in buffer coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " + } + }, + "1446": { + "27": { + "name": "getCursorBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1446, + 27 + ], + [ + 1453, + 1 + ] + ], + "doc": " Public: Get the position of the most recently added cursor in buffer\ncoordinates.\n\nReturns a {Point}. " + } + }, + "1453": { + "26": { + "name": "getSelectedScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1453, + 26 + ], + [ + 1460, + 1 + ] + ], + "doc": " Public: Get the {Range} of the most recently added selection in screen\ncoordinates.\n\nReturns a {Range}. " + } + }, + "1460": { + "26": { + "name": "getSelectedBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1460, + 26 + ], + [ + 1468, + 1 + ] + ], + "doc": " Public: Get the {Range} of the most recently added selection in buffer\ncoordinates.\n\nReturns a {Range}. " + } + }, + "1468": { + "27": { + "name": "getSelectedBufferRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1468, + 27 + ], + [ + 1476, + 1 + ] + ], + "doc": " Public: Get the {Range}s of all selections in buffer coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " + } + }, + "1476": { + "27": { + "name": "getSelectedScreenRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1476, + 27 + ], + [ + 1482, + 1 + ] + ], + "doc": " Public: Get the {Range}s of all selections in screen coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " + } + }, + "1482": { + "19": { + "name": "getSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1482, + 19 + ], + [ + 1490, + 1 + ] + ], + "doc": " Public: Get the selected text of the most recently added selection.\n\nReturns a {String}. " + } + }, + "1490": { + "24": { + "name": "getTextInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 1490, + 24 + ], + [ + 1499, + 1 + ] + ], + "doc": " Public: Get the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\n\nReturns a {String}. " + } + }, + "1499": { + "24": { + "name": "setTextInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range", + "text", + "normalizeLineEndings" + ], + "range": [ + [ + 1499, + 24 + ], + [ + 1499, + 124 + ] + ], + "doc": " Public: Set the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\ntext - A {String}\n\nReturns the {Range} of the newly-inserted text. " + } + }, + "1505": { + "34": { + "name": "getCurrentParagraphBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1505, + 34 + ], + [ + 1511, + 1 + ] + ], + "doc": " Public: Get the {Range} of the paragraph surrounding the most recently added\ncursor.\n\nReturns a {Range}. " + } + }, + "1511": { + "22": { + "name": "getWordUnderCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 1511, + 22 + ], + [ + 1515, + 1 + ] + ], + "doc": " Public: Returns the word surrounding the most recently added cursor.\n\noptions - See {Cursor::getBeginningOfCurrentWordBufferPosition}. " + } + }, + "1515": { + "16": { + "name": "moveCursorUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineCount" + ], + "range": [ + [ + 1515, + 16 + ], + [ + 1519, + 1 + ] + ], + "doc": "Public: Move every cursor up one row in screen coordinates. " + } + }, + "1519": { + "18": { + "name": "moveCursorDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineCount" + ], + "range": [ + [ + 1519, + 18 + ], + [ + 1523, + 1 + ] + ], + "doc": "Public: Move every cursor down one row in screen coordinates. " + } + }, + "1523": { + "18": { + "name": "moveCursorLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1523, + 18 + ], + [ + 1527, + 1 + ] + ], + "doc": "Public: Move every cursor left one column. " + } + }, + "1527": { + "19": { + "name": "moveCursorRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1527, + 19 + ], + [ + 1533, + 1 + ] + ], + "doc": "Public: Move every cursor right one column. " + } + }, + "1533": { + "19": { + "name": "moveCursorToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1533, + 19 + ], + [ + 1539, + 1 + ] + ], + "doc": " Public: Move every cursor to the top of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " + } + }, + "1539": { + "22": { + "name": "moveCursorToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1539, + 22 + ], + [ + 1543, + 1 + ] + ], + "doc": " Public: Move every cursor to the bottom of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " + } + }, + "1543": { + "37": { + "name": "moveCursorToBeginningOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1543, + 37 + ], + [ + 1547, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its line in screen coordinates. " + } + }, + "1547": { + "31": { + "name": "moveCursorToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1547, + 31 + ], + [ + 1551, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its line in buffer coordinates. " + } + }, + "1551": { + "36": { + "name": "moveCursorToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1551, + 36 + ], + [ + 1555, + 1 + ] + ], + "doc": "Public: Move every cursor to the first non-whitespace character of its line. " + } + }, + "1555": { + "31": { + "name": "moveCursorToEndOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1555, + 31 + ], + [ + 1559, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its line in screen coordinates. " + } + }, + "1559": { + "25": { + "name": "moveCursorToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1559, + 25 + ], + [ + 1563, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its line in buffer coordinates. " + } + }, + "1563": { + "31": { + "name": "moveCursorToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1563, + 31 + ], + [ + 1567, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its surrounding word. " + } + }, + "1567": { + "25": { + "name": "moveCursorToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1567, + 25 + ], + [ + 1571, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its surrounding word. " + } + }, + "1571": { + "35": { + "name": "moveCursorToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1571, + 35 + ], + [ + 1575, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the next word. " + } + }, + "1575": { + "36": { + "name": "moveCursorToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1575, + 36 + ], + [ + 1579, + 1 + ] + ], + "doc": "Public: Move every cursor to the previous word boundary. " + } + }, + "1579": { + "32": { + "name": "moveCursorToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1579, + 32 + ], + [ + 1583, + 1 + ] + ], + "doc": "Public: Move every cursor to the next word boundary. " + } + }, + "1583": { + "40": { + "name": "moveCursorToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1583, + 40 + ], + [ + 1587, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the next paragraph. " + } + }, + "1587": { + "44": { + "name": "moveCursorToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1587, + 44 + ], + [ + 1596, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the previous paragraph. " + } + }, + "1596": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 1596, + 26 + ], + [ + 1599, + 1 + ] + ], + "doc": " Public: Scroll the editor to reveal the most recently added cursor if it is\noff-screen.\n\noptions - An optional hash of options.\n :center - Center the editor around the cursor if possible. Defauls to\n true. " + } + }, + "1599": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1599, + 10 + ], + [ + 1604, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1604": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1604, + 12 + ], + [ + 1609, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1609": { + "16": { + "name": "selectPageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1609, + 16 + ], + [ + 1612, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1612": { + "18": { + "name": "selectPageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1612, + 18 + ], + [ + 1616, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1616": { + "18": { + "name": "getRowsPerPage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1616, + 18 + ], + [ + 1619, + 1 + ] + ], + "doc": "Private: Returns the number of rows per page " + } + }, + "1619": { + "15": { + "name": "moveCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1619, + 15 + ], + [ + 1626, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1626": { + "15": { + "name": "cursorMoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 1626, + 15 + ], + [ + 1636, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1636": { + "26": { + "name": "selectToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1636, + 26 + ], + [ + 1645, + 1 + ] + ], + "doc": " Public: Select from the current cursor position to the given position in\nscreen coordinates.\n\nThis method may merge selections that end up intesecting.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "1645": { + "15": { + "name": "selectRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1645, + 15 + ], + [ + 1652, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character rightward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1652": { + "14": { + "name": "selectLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1652, + 14 + ], + [ + 1659, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character leftward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1659": { + "12": { + "name": "selectUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 1659, + 12 + ], + [ + 1666, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character upward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1666": { + "14": { + "name": "selectDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 1666, + 14 + ], + [ + 1673, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character downward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1673": { + "15": { + "name": "selectToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1673, + 15 + ], + [ + 1679, + 1 + ] + ], + "doc": " Public: Select from the top of the buffer to the end of the last selection\nin the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1679": { + "13": { + "name": "selectAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1679, + 13 + ], + [ + 1686, + 1 + ] + ], + "doc": " Public: Select all text in the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1686": { + "18": { + "name": "selectToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1686, + 18 + ], + [ + 1693, + 1 + ] + ], + "doc": " Public: Selects from the top of the first selection in the buffer to the end\nof the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1693": { + "27": { + "name": "selectToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1693, + 27 + ], + [ + 1702, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the beginning of its line\nwhile preserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1702": { + "32": { + "name": "selectToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1702, + 32 + ], + [ + 1709, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the first non-whitespace\ncharacter of its line while preserving the selection's tail position. If the\ncursor is already on the first character of the line, move it to the\nbeginning of the line.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1709": { + "21": { + "name": "selectToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1709, + 21 + ], + [ + 1716, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the end of its line while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1716": { + "32": { + "name": "selectToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1716, + 32 + ], + [ + 1723, + 1 + ] + ], + "doc": " Public: For each selection, move its cursor to the preceding word boundary\nwhile maintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1723": { + "28": { + "name": "selectToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1723, + 28 + ], + [ + 1729, + 1 + ] + ], + "doc": " Public: For each selection, move its cursor to the next word boundary while\nmaintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1729": { + "14": { + "name": "selectLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1729, + 14 + ], + [ + 1740, + 1 + ] + ], + "doc": " Public: For each cursor, select the containing line.\n\nThis method merges selections on successive lines. " + } + }, + "1740": { + "21": { + "name": "addSelectionBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1740, + 21 + ], + [ + 1751, + 1 + ] + ], + "doc": " Public: Add a similarly-shaped selection to the next eligible line below\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next following non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " + } + }, + "1751": { + "21": { + "name": "addSelectionAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1751, + 21 + ], + [ + 1759, + 1 + ] + ], + "doc": " Public: Add a similarly-shaped selection to the next eligible line above\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next preceding non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " + } + }, + "1759": { + "28": { + "name": "splitSelectionsIntoLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1759, + 28 + ], + [ + 1776, + 1 + ] + ], + "doc": " Public: Split multi-line selections into one selection per line.\n\nOperates on all selections. This method breaks apart all multi-line\nselections to create multiple single-line selections that cumulatively cover\nthe same original area. " + } + }, + "1776": { + "13": { + "name": "transpose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1776, + 13 + ], + [ + 1791, + 1 + ] + ], + "doc": " Public: For each selection, transpose the selected text.\n\nIf the selection is empty, the characters preceding and following the cursor\nare swapped. Otherwise, the selected characters are reversed. " + } + }, + "1791": { + "13": { + "name": "upperCase", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1791, + 13 + ], + [ + 1798, + 1 + ] + ], + "doc": " Public: Convert the selected text to upper case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " + } + }, + "1798": { + "13": { + "name": "lowerCase", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1798, + 13 + ], + [ + 1809, + 1 + ] + ], + "doc": " Public: Convert the selected text to lower case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " + } + }, + "1809": { + "13": { + "name": "joinLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1809, + 13 + ], + [ + 1816, + 1 + ] + ], + "doc": " Private: Convert multiple lines to a single line.\n\nOperates on all selections. If the selection is empty, joins the current\nline with the next line. Otherwise it joins all lines that intersect the\nselection.\n\nJoining a line means that multiple lines are converted to a single line with\nthe contents of each of the original non-empty lines separated by a space. " + } + }, + "1816": { + "27": { + "name": "selectToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1816, + 27 + ], + [ + 1823, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of their containing word.\n\nOperates on all selections. Moves the cursor to the beginning of the\ncontaining word while preserving the selection's tail position. " + } + }, + "1823": { + "21": { + "name": "selectToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1823, + 21 + ], + [ + 1830, + 1 + ] + ], + "doc": " Public: Expand selections to the end of their containing word.\n\nOperates on all selections. Moves the cursor to the end of the containing\nword while preserving the selection's tail position. " + } + }, + "1830": { + "31": { + "name": "selectToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1830, + 31 + ], + [ + 1834, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next word.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nword while preserving the selection's tail position. " + } + }, + "1834": { + "14": { + "name": "selectWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1834, + 14 + ], + [ + 1841, + 1 + ] + ], + "doc": "Public: Select the word containing each cursor. " + } + }, + "1841": { + "36": { + "name": "selectToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1841, + 36 + ], + [ + 1848, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " + } + }, + "1848": { + "40": { + "name": "selectToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1848, + 40 + ], + [ + 1856, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " + } + }, + "1856": { + "16": { + "name": "selectMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1856, + 16 + ], + [ + 1863, + 1 + ] + ], + "doc": " Public: Select the range of the given marker if it is valid.\n\nmarker - A {DisplayBufferMarker}\n\nReturns the selected {Range} or `undefined` if the marker is invalid. " + } + }, + "1863": { + "16": { + "name": "mergeCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1863, + 16 + ], + [ + 1873, + 1 + ] + ], + "doc": "Private: Merge cursors that have the same screen position " + } + }, + "1873": { + "27": { + "name": "expandSelectionsForward", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1873, + 27 + ], + [ + 1879, + 1 + ] + ], + "doc": "Private: Calls the given function with each selection, then merges selections " + } + }, + "1879": { + "28": { + "name": "expandSelectionsBackward", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1879, + 28 + ], + [ + 1883, + 1 + ] + ], + "doc": " Private: Calls the given function with each selection, then merges selections in the\nreversed orientation " + } + }, + "1883": { + "22": { + "name": "finalizeSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1883, + 22 + ], + [ + 1889, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1889": { + "31": { + "name": "mergeIntersectingSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1889, + 31 + ], + [ + 1910, + 1 + ] + ], + "doc": " Private: Merges intersecting selections. If passed a function, it executes\nthe function with merging suppressed, then merges intersecting selections\nafterward. " + } + }, + "1910": { + "40": { + "name": "preserveCursorPositionOnBufferReload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1910, + 40 + ], + [ + 1919, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1919": { + "14": { + "name": "getGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1919, + 14 + ], + [ + 1926, + 1 + ] + ], + "doc": "Public: Get the current {Grammar} of this editor. " + } + }, + "1926": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 1926, + 14 + ], + [ + 1930, + 1 + ] + ], + "doc": " Public: Set the current {Grammar} of this editor.\n\nAssigning a grammar will cause the editor to re-tokenize based on the new\ngrammar. " + } + }, + "1930": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1930, + 17 + ], + [ + 1933, + 1 + ] + ], + "doc": "Private: Reload the grammar based on the file name. " + } + }, + "1933": { + "20": { + "name": "shouldAutoIndent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1933, + 20 + ], + [ + 1944, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1944": { + "12": { + "name": "transact", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1944, + 12 + ], + [ + 1944, + 39 + ] + ], + "doc": " Public: Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " + } + }, + "1952": { + "20": { + "name": "beginTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1952, + 20 + ], + [ + 1952, + 48 + ] + ], + "doc": " Public: Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " + } + }, + "1958": { + "21": { + "name": "commitTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1958, + 21 + ], + [ + 1958, + 50 + ] + ], + "doc": " Public: Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " + } + }, + "1962": { + "20": { + "name": "abortTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1962, + 20 + ], + [ + 1962, + 48 + ] + ], + "doc": " Public: Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " + } + }, + "1964": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1964, + 11 + ], + [ + 1967, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1967": { + "18": { + "name": "logScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 1967, + 18 + ], + [ + 1967, + 68 + ] + ], + "doc": "~Private~" + } + }, + "1969": { + "22": { + "name": "handleTokenization", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1969, + 22 + ], + [ + 1972, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1972": { + "23": { + "name": "handleGrammarChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1972, + 23 + ], + [ + 1976, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1976": { + "23": { + "name": "handleMarkerCreated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1976, + 23 + ], + [ + 1980, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1980": { + "32": { + "name": "getSelectionMarkerAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1980, + 32 + ], + [ + 1983, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1983": { + "27": { + "name": "getVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1983, + 27 + ], + [ + 1983, + 69 + ] + ], + "doc": "~Private~" + } + }, + "1984": { + "27": { + "name": "setVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "verticalScrollMargin" + ], + "range": [ + [ + 1984, + 27 + ], + [ + 1984, + 112 + ] + ] + } + }, + "1986": { + "29": { + "name": "getHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1986, + 29 + ], + [ + 1986, + 73 + ] + ], + "doc": "~Private~" + } + }, + "1987": { + "29": { + "name": "setHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "horizontalScrollMargin" + ], + "range": [ + [ + 1987, + 29 + ], + [ + 1987, + 120 + ] + ] + } + }, + "1989": { + "25": { + "name": "getLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1989, + 25 + ], + [ + 1989, + 65 + ] + ], + "doc": "~Private~" + } + }, + "1990": { + "25": { + "name": "setLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeightInPixels" + ], + "range": [ + [ + 1990, + 25 + ], + [ + 1990, + 104 + ] + ] + } + }, + "1992": { + "29": { + "name": "batchCharacterMeasurement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1992, + 29 + ], + [ + 1992, + 80 + ] + ], + "doc": "~Private~" + } + }, + "1994": { + "22": { + "name": "getScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char" + ], + "range": [ + [ + 1994, + 22 + ], + [ + 1994, + 94 + ] + ], + "doc": "~Private~" + } + }, + "1995": { + "22": { + "name": "setScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char", + "width" + ], + "range": [ + [ + 1995, + 22 + ], + [ + 1995, + 108 + ] + ] + } + }, + "1997": { + "23": { + "name": "getScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames" + ], + "range": [ + [ + 1997, + 23 + ], + [ + 1997, + 84 + ] + ], + "doc": "~Private~" + } + }, + "1999": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1999, + 25 + ], + [ + 1999, + 65 + ] + ], + "doc": "~Private~" + } + }, + "2001": { + "23": { + "name": "getDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2001, + 23 + ], + [ + 2001, + 61 + ] + ], + "doc": "~Private~" + } + }, + "2002": { + "23": { + "name": "setDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultCharWidth" + ], + "range": [ + [ + 2002, + 23 + ], + [ + 2002, + 96 + ] + ] + } + }, + "2004": { + "13": { + "name": "setHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "height" + ], + "range": [ + [ + 2004, + 13 + ], + [ + 2004, + 56 + ] + ], + "doc": "~Private~" + } + }, + "2005": { + "13": { + "name": "getHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2005, + 13 + ], + [ + 2005, + 41 + ] + ] + } + }, + "2007": { + "19": { + "name": "getClientHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2007, + 19 + ], + [ + 2007, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2009": { + "12": { + "name": "setWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width" + ], + "range": [ + [ + 2009, + 12 + ], + [ + 2009, + 52 + ] + ], + "doc": "~Private~" + } + }, + "2010": { + "12": { + "name": "getWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2010, + 12 + ], + [ + 2010, + 39 + ] + ] + } + }, + "2012": { + "16": { + "name": "getScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2012, + 16 + ], + [ + 2012, + 47 + ] + ], + "doc": "~Private~" + } + }, + "2013": { + "16": { + "name": "setScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 2013, + 16 + ], + [ + 2013, + 68 + ] + ] + } + }, + "2015": { + "19": { + "name": "getScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2015, + 19 + ], + [ + 2015, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2016": { + "19": { + "name": "setScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 2016, + 19 + ], + [ + 2016, + 80 + ] + ] + } + }, + "2018": { + "17": { + "name": "getScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2018, + 17 + ], + [ + 2018, + 49 + ] + ], + "doc": "~Private~" + } + }, + "2019": { + "17": { + "name": "setScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 2019, + 17 + ], + [ + 2019, + 72 + ] + ] + } + }, + "2021": { + "18": { + "name": "getScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2021, + 18 + ], + [ + 2021, + 51 + ] + ], + "doc": "~Private~" + } + }, + "2022": { + "18": { + "name": "setScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 2022, + 18 + ], + [ + 2022, + 76 + ] + ] + } + }, + "2024": { + "19": { + "name": "getScrollHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2024, + 19 + ], + [ + 2024, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2025": { + "18": { + "name": "getScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollWidth" + ], + "range": [ + [ + 2025, + 18 + ], + [ + 2025, + 76 + ] + ] + } + }, + "2027": { + "22": { + "name": "getVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2027, + 22 + ], + [ + 2027, + 59 + ] + ], + "doc": "~Private~" + } + }, + "2029": { + "29": { + "name": "intersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 2029, + 29 + ], + [ + 2029, + 108 + ] + ], + "doc": "~Private~" + } + }, + "2031": { + "38": { + "name": "selectionIntersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 2031, + 38 + ], + [ + 2031, + 112 + ] + ], + "doc": "~Private~" + } + }, + "2033": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 2033, + 34 + ], + [ + 2033, + 114 + ] + ], + "doc": "~Private~" + } + }, + "2035": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 2035, + 34 + ], + [ + 2035, + 114 + ] + ], + "doc": "~Private~" + } + }, + "2037": { + "34": { + "name": "screenPositionForPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 2037, + 34 + ], + [ + 2037, + 112 + ] + ], + "doc": "~Private~" + } + }, + "2039": { + "27": { + "name": "pixelRectForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 2039, + 27 + ], + [ + 2039, + 94 + ] + ], + "doc": "~Private~" + } + }, + "2041": { + "23": { + "name": "scrollToScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 2041, + 23 + ], + [ + 2041, + 104 + ] + ], + "doc": "~Private~" + } + }, + "2043": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 2043, + 26 + ], + [ + 2043, + 116 + ] + ], + "doc": "~Private~" + } + }, + "2045": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 2045, + 26 + ], + [ + 2045, + 116 + ] + ], + "doc": "~Private~" + } + }, + "2047": { + "26": { + "name": "horizontallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2047, + 26 + ], + [ + 2047, + 67 + ] + ], + "doc": "~Private~" + } + }, + "2049": { + "24": { + "name": "verticallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2049, + 24 + ], + [ + 2049, + 63 + ] + ], + "doc": "~Private~" + } + }, + "2051": { + "32": { + "name": "getHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2051, + 32 + ], + [ + 2051, + 79 + ] + ], + "doc": "~Private~" + } + }, + "2052": { + "32": { + "name": "setHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "height" + ], + "range": [ + [ + 2052, + 32 + ], + [ + 2052, + 94 + ] + ] + } + }, + "2054": { + "29": { + "name": "getVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2054, + 29 + ], + [ + 2054, + 73 + ] + ], + "doc": "~Private~" + } + }, + "2055": { + "29": { + "name": "setVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width" + ], + "range": [ + [ + 2055, + 29 + ], + [ + 2055, + 86 + ] + ] + } + }, + "2058": { + "12": { + "name": "joinLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2058, + 12 + ], + [ + 2060, + 16 + ] + ], + "doc": "Deprecated: Call {::joinLines} instead. " + } + } + }, + "exports": 138 + }, + "src/fold.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "7": { + "0": { + "type": "class", + "name": "Fold", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 8, + 6 + ], + [ + 9, + 17 + ], + [ + 10, + 10 + ], + [ + 12, + 15 + ], + [ + 20, + 22 + ], + [ + 27, + 11 + ], + [ + 35, + 18 + ], + [ + 48, + 21 + ], + [ + 53, + 15 + ], + [ + 57, + 13 + ], + [ + 61, + 11 + ], + [ + 67, + 21 + ], + [ + 75, + 21 + ], + [ + 78, + 23 + ], + [ + 82, + 13 + ] + ], + "doc": " Private: Represents a fold that collapses multiple buffer lines into a single\nline on the screen.\n\nTheir creation is managed by the {DisplayBuffer}. ", + "range": [ + [ + 7, + 0 + ], + [ + 84, + 26 + ] + ] + } + }, + "8": { + "6": { + "name": "id", + "type": "primitive", + "range": [ + [ + 8, + 6 + ], + [ + 8, + 9 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "17": { + "name": "displayBuffer", + "type": "primitive", + "range": [ + [ + 9, + 17 + ], + [ + 9, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "10": { + "name": "marker", + "type": "primitive", + "range": [ + [ + 10, + 10 + ], + [ + 10, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 20, + 1 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "22": { + "name": "isInsideLargerFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 22 + ], + [ + 27, + 1 + ] + ], + "doc": "Private: Returns whether this fold is contained within another fold " + } + }, + "27": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 11 + ], + [ + 35, + 1 + ] + ], + "doc": "Private: Destroys this fold " + } + }, + "35": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 35, + 18 + ], + [ + 48, + 1 + ] + ], + "doc": " Private: Returns the fold's {Range} in buffer coordinates\n\nincludeNewline - A {Boolean} which, if `true`, includes the trailing newline\n\nReturns a {Range}. " + } + }, + "48": { + "21": { + "name": "getBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 21 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "15": { + "name": "getStartRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 15 + ], + [ + 57, + 1 + ] + ], + "doc": "Private: Returns the fold's start row as a {Number}. " + } + }, + "57": { + "13": { + "name": "getEndRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 13 + ], + [ + 61, + 1 + ] + ], + "doc": "Private: Returns the fold's end row as a {Number}. " + } + }, + "61": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 11 + ], + [ + 67, + 1 + ] + ], + "doc": "Private: Returns a {String} representation of the fold. " + } + }, + "67": { + "21": { + "name": "getBufferRowCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 21 + ], + [ + 75, + 1 + ] + ], + "doc": " Private: Retrieves the number of buffer rows spanned by the fold.\n\nReturns a {Number}. " + } + }, + "75": { + "21": { + "name": "isContainedByFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fold" + ], + "range": [ + [ + 75, + 21 + ], + [ + 78, + 1 + ] + ], + "doc": " Private: Identifies if a fold is nested within a fold.\n\nfold - A {Fold} to check\n\nReturns a {Boolean}. " + } + }, + "78": { + "23": { + "name": "updateDisplayBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 78, + 23 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 13 + ], + [ + 84, + 26 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 7 + }, + "src/git.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true, + "name": "join", + "exportsProperty": "join" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "5": { + "11": { + "name": "GitUtils", + "type": "import", + "range": [ + [ + 5, + 11 + ], + [ + 5, + 29 + ] + ], + "bindingType": "variable", + "module": "git-utils" + } + }, + "7": { + "7": { + "name": "Task", + "type": "import", + "range": [ + [ + 7, + 7 + ], + [ + 7, + 22 + ] + ], + "bindingType": "variable", + "path": "./task" + } + }, + "40": { + "0": { + "type": "class", + "name": "Git", + "bindingType": "exports", + "classProperties": [ + [ + 52, + 9 + ], + [ + 59, + 11 + ] + ], + "prototypeProperties": [ + [ + 66, + 15 + ], + [ + 89, + 21 + ], + [ + 97, + 11 + ], + [ + 109, + 11 + ], + [ + 117, + 16 + ], + [ + 120, + 11 + ], + [ + 124, + 23 + ], + [ + 132, + 17 + ], + [ + 149, + 17 + ], + [ + 152, + 20 + ], + [ + 155, + 18 + ], + [ + 158, + 15 + ], + [ + 161, + 13 + ], + [ + 165, + 19 + ], + [ + 169, + 14 + ], + [ + 181, + 16 + ], + [ + 196, + 16 + ], + [ + 209, + 21 + ], + [ + 222, + 16 + ], + [ + 231, + 15 + ], + [ + 247, + 22 + ], + [ + 265, + 16 + ], + [ + 276, + 18 + ], + [ + 282, + 16 + ], + [ + 291, + 21 + ], + [ + 298, + 22 + ], + [ + 310, + 17 + ], + [ + 318, + 23 + ], + [ + 330, + 37 + ], + [ + 338, + 23 + ], + [ + 342, + 13 + ], + [ + 346, + 17 + ] + ], + "doc": " Public: Represents the underlying git operations performed by Atom.\n\nThis class shouldn't be instantiated directly but instead by accessing the\n`atom.project` global and calling `getRepo()`. Note that this will only be\navailable when the project is backed by a Git repository.\n\nThis class handles submodules automatically by taking a `path` argument to many\nof the methods. This `path` argument will determine which underlying\nrepository is used.\n\nFor a repository with submodules this would have the following outcome:\n\n```coffee\nrepo = atom.project.getRepo()\nrepo.getShortHead() # 'master'\nrepo.getShortHead('vendor/path/to/a/submodule') # 'dead1234'\n```\n\n## Example\n\n```coffeescript\ngit = atom.project.getRepo()\nconsole.log git.getOriginUrl()\n```\n\n## Requiring in packages\n\n```coffee\n {Git} = require 'atom'\n``` ", + "range": [ + [ + 40, + 0 + ], + [ + 364, + 55 + ] + ] + } + }, + "52": { + "9": { + "name": "open", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "path", + "options" + ], + "range": [ + [ + 52, + 9 + ], + [ + 59, + 1 + ] + ], + "doc": " Public: Creates a new Git instance.\n\npath - The path to the Git repository to open.\noptions - An object with the following keys (default: {}):\n :refreshOnWindowFocus - `true` to refresh the index and statuses when the\n window is focused.\n\nReturns a Git instance or null if the repository could not be opened. " + } + }, + "59": { + "11": { + "name": "exists", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 59, + 11 + ], + [ + 66, + 1 + ] + ], + "doc": "~Private~" + } + }, + "66": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "options" + ], + "range": [ + [ + 66, + 15 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "subscribeToBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer" + ], + "range": [ + [ + 89, + 21 + ], + [ + 97, + 1 + ] + ], + "doc": "Private: Subscribes to buffer events. " + } + }, + "97": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 97, + 11 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Destroy this `Git` object. This destroys any tasks and subscriptions\nand releases the underlying libgit2 repository handle. " + } + }, + "109": { + "11": { + "name": "getRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 109, + 11 + ], + [ + 117, + 1 + ] + ], + "doc": "Private: Returns the corresponding {Repository} " + } + }, + "117": { + "16": { + "name": "refreshIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 16 + ], + [ + 117, + 43 + ] + ], + "doc": " Private: Reread the index to update any values that have changed since the\nlast time the index was read. " + } + }, + "120": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 120, + 11 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Returns the {String} path of the repository. " + } + }, + "124": { + "23": { + "name": "getWorkingDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 23 + ], + [ + 124, + 57 + ] + ], + "doc": "Public: Returns the {String} working directory path of the repository. " + } + }, + "132": { + "17": { + "name": "getPathStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 132, + 17 + ], + [ + 149, + 1 + ] + ], + "doc": " Public: Get the status of a single path in the repository.\n\npath - A {String} repository-relative path.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " + } + }, + "149": { + "17": { + "name": "isPathIgnored", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 149, + 17 + ], + [ + 149, + 65 + ] + ], + "doc": " Public: Is the given path ignored?\n\nReturns a {Boolean}. " + } + }, + "152": { + "20": { + "name": "isStatusModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 152, + 20 + ], + [ + 152, + 66 + ] + ], + "doc": "Public: Returns true if the given status indicates modification. " + } + }, + "155": { + "18": { + "name": "isPathModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 155, + 18 + ], + [ + 155, + 66 + ] + ], + "doc": "Public: Returns true if the given path is modified. " + } + }, + "158": { + "15": { + "name": "isStatusNew", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 158, + 15 + ], + [ + 158, + 56 + ] + ], + "doc": "Public: Returns true if the given status indicates a new path. " + } + }, + "161": { + "13": { + "name": "isPathNew", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 161, + 13 + ], + [ + 161, + 56 + ] + ], + "doc": "Public: Returns true if the given path is new. " + } + }, + "165": { + "19": { + "name": "isProjectAtRoot", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 19 + ], + [ + 169, + 1 + ] + ], + "doc": " Public: Returns true if at the root, false if in a subfolder of the\nrepository. " + } + }, + "169": { + "14": { + "name": "relativize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 169, + 14 + ], + [ + 169, + 50 + ] + ], + "doc": "Public: Makes a path relative to the repository's working directory. " + } + }, + "181": { + "16": { + "name": "getShortHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 181, + 16 + ], + [ + 181, + 54 + ] + ], + "doc": " Public: Retrieves a shortened version of the HEAD reference value.\n\nThis removes the leading segments of `refs/heads`, `refs/tags`, or\n`refs/remotes`. It also shortens the SHA-1 of a detached `HEAD` to 7\ncharacters.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository contains submodules.\n\nReturns a {String}. " + } + }, + "196": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 196, + 16 + ], + [ + 209, + 1 + ] + ], + "doc": " Public: Restore the contents of a path in the working directory and index\nto the version at `HEAD`.\n\nThis is essentially the same as running:\n\n```\ngit reset HEAD -- \ngit checkout HEAD -- \n```\n\npath - The {String} path to checkout.\n\nReturns a {Boolean} that's true if the method was successful. " + } + }, + "209": { + "21": { + "name": "checkoutReference", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "create" + ], + "range": [ + [ + 209, + 21 + ], + [ + 222, + 1 + ] + ], + "doc": " Public: Checks out a branch in your repository.\n\nreference - The String reference to checkout\ncreate - A Boolean value which, if true creates the new reference if it\n doesn't exist.\n\nReturns a Boolean that's true if the method was successful. " + } + }, + "222": { + "16": { + "name": "getDiffStats", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 222, + 16 + ], + [ + 231, + 1 + ] + ], + "doc": " Public: Retrieves the number of lines added and removed to a path.\n\nThis compares the working directory contents of the path to the `HEAD`\nversion.\n\npath - The {String} path to check.\n\nReturns an {Object} with the following keys:\n :added - The {Number} of added lines.\n :deleted - The {Number} of deleted lines. " + } + }, + "231": { + "15": { + "name": "isSubmodule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 231, + 15 + ], + [ + 247, + 1 + ] + ], + "doc": " Public: Is the given path a submodule in the repository?\n\npath - The {String} path to check.\n\nReturns a {Boolean}. " + } + }, + "247": { + "22": { + "name": "getDirectoryStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "directoryPath" + ], + "range": [ + [ + 247, + 22 + ], + [ + 265, + 1 + ] + ], + "doc": " Public: Get the status of a directory in the repository's working directory.\n\npath - The {String} path to check.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " + } + }, + "265": { + "16": { + "name": "getLineDiffs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "text" + ], + "range": [ + [ + 265, + 16 + ], + [ + 276, + 1 + ] + ], + "doc": " Public: Retrieves the line diffs comparing the `HEAD` version of the given\npath and the given text.\n\npath - The {String} path relative to the repository.\ntext - The {String} to compare against the `HEAD` contents\n\nReturns an {Array} of hunk {Object}s with the following keys:\n :oldStart - The line {Number} of the old hunk.\n :newStart - The line {Number} of the new hunk.\n :oldLines - The {Number} of lines in the old hunk.\n :newLines - The {Number} of lines in the new hunk " + } + }, + "276": { + "18": { + "name": "getConfigValue", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "key", + "path" + ], + "range": [ + [ + 276, + 18 + ], + [ + 276, + 66 + ] + ], + "doc": " Public: Returns the git configuration value specified by the key.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " + } + }, + "282": { + "16": { + "name": "getOriginUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 282, + 16 + ], + [ + 282, + 67 + ] + ], + "doc": " Public: Returns the origin url of the repository.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " + } + }, + "291": { + "21": { + "name": "getUpstreamBranch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 291, + 21 + ], + [ + 291, + 64 + ] + ], + "doc": " Public: Returns the upstream branch for the current HEAD, or null if there\nis no upstream branch for the current HEAD.\n\npath - An optional {String} path in the repo to get this information for,\n only needed if the repository contains submodules.\n\nReturns a {String} branch name such as `refs/remotes/origin/master`. " + } + }, + "298": { + "22": { + "name": "getReferenceTarget", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "path" + ], + "range": [ + [ + 298, + 22 + ], + [ + 310, + 1 + ] + ], + "doc": " Public: Returns the current SHA for the given reference.\n\nreference - The {String} reference to get the target of.\npath - An optional {String} path in the repo to get the reference target\n for. Only needed if the repository contains submodules. " + } + }, + "310": { + "17": { + "name": "getReferences", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 310, + 17 + ], + [ + 310, + 56 + ] + ], + "doc": " Public: Gets all the local and remote references.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :heads - An {Array} of head reference names.\n :remotes - An {Array} of remote reference names.\n :tags - An {Array} of tag reference names. " + } + }, + "318": { + "23": { + "name": "getAheadBehindCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "path" + ], + "range": [ + [ + 318, + 23 + ], + [ + 330, + 1 + ] + ], + "doc": " Public: Returns the number of commits behind the current branch is from the\nits upstream remote branch.\n\nreference - The {String} branch reference name.\npath - The {String} path in the repository to get this information for,\n only needed if the repository contains submodules. " + } + }, + "330": { + "37": { + "name": "getCachedUpstreamAheadBehindCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 330, + 37 + ], + [ + 338, + 1 + ] + ], + "doc": " Public: Get the cached ahead/behind commit counts for the current branch's\nupstream branch.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :ahead - The {Number} of commits ahead.\n :behind - The {Number} of commits behind. " + } + }, + "338": { + "23": { + "name": "getCachedPathStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 338, + 23 + ], + [ + 342, + 1 + ] + ], + "doc": " Public: Get the cached status for the given path.\n\npath - A {String} path in the repository, relative or absolute.\n\nReturns a status {Number} or null if the path is not in the cache. " + } + }, + "342": { + "13": { + "name": "hasBranch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "branch" + ], + "range": [ + [ + 342, + 13 + ], + [ + 342, + 68 + ] + ], + "doc": "Public: Returns true if the given branch exists. " + } + }, + "346": { + "17": { + "name": "refreshStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 17 + ], + [ + 364, + 55 + ] + ], + "doc": " Private: Refreshes the current git status in an outside process and asynchronously\nupdates the relevant properties. " + } + } + }, + "exports": 40 + }, + "src/gutter-component.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqual", + "exportsProperty": "isEqual" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 29 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "32": { + "type": "import", + "range": [ + [ + 3, + 32 + ], + [ + 3, + 45 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "multiplyString", + "exportsProperty": "multiplyString" + }, + "48": { + "type": "import", + "range": [ + [ + 3, + 48 + ], + [ + 3, + 54 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "toArray", + "exportsProperty": "toArray" + } + }, + "4": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 4, + 13 + ], + [ + 4, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "5": { + "18": { + "name": "SubscriberMixin", + "type": "import", + "range": [ + [ + 5, + 18 + ], + [ + 5, + 45 + ] + ], + "bindingType": "variable", + "path": "./subscriber-mixin" + } + }, + "7": { + "13": { + "name": "WrapperDiv", + "type": "function", + "range": [ + [ + 7, + 13 + ], + [ + 7, + 41 + ] + ] + } + }, + "10": { + "18": { + "name": "GutterComponent", + "type": "function", + "range": [ + [ + 10, + 18 + ], + [ + 227, + 39 + ] + ] + } + }, + "11": { + "15": { + "name": "'GutterComponent'", + "type": "primitive", + "range": [ + [ + 11, + 15 + ], + [ + 11, + 31 + ] + ] + } + }, + "12": { + "10": { + "type": "primitive", + "range": [ + [ + 12, + 10 + ], + [ + 12, + 26 + ] + ] + } + }, + "14": { + "23": { + "type": "primitive", + "range": [ + [ + 14, + 23 + ], + [ + 14, + 26 + ] + ] + } + }, + "15": { + "17": { + "type": "primitive", + "range": [ + [ + 15, + 17 + ], + [ + 15, + 20 + ] + ] + } + }, + "17": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 10 + ], + [ + 29, + 1 + ] + ], + "doc": null + } + }, + "29": { + "16": { + "name": "getTransform", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 16 + ], + [ + 37, + 1 + ] + ], + "doc": null + } + }, + "37": { + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 37, + 22 + ], + [ + 43, + 1 + ] + ], + "doc": null + } + }, + "43": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 21 + ], + [ + 50, + 1 + ] + ], + "doc": null + } + }, + "50": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 50, + 25 + ], + [ + 64, + 1 + ] + ], + "doc": null + } + }, + "64": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "oldProps" + ], + "range": [ + [ + 64, + 22 + ], + [ + 74, + 1 + ] + ], + "doc": null + } + }, + "74": { + "24": { + "name": "clearScreenRowCaches", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 24 + ], + [ + 80, + 1 + ] + ], + "doc": null + } + }, + "80": { + "25": { + "name": "appendDummyLineNumber", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 80, + 25 + ], + [ + 86, + 1 + ] + ], + "doc": null + } + }, + "86": { + "25": { + "name": "updateDummyLineNumber", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 25 + ], + [ + 89, + 1 + ] + ], + "doc": null + } + }, + "89": { + "21": { + "name": "updateLineNumbers", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 93, + 1 + ] + ], + "doc": null + } + }, + "93": { + "40": { + "name": "appendOrUpdateVisibleLineNumberNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 93, + 40 + ], + [ + 138, + 1 + ] + ], + "doc": null + } + }, + "138": { + "25": { + "name": "removeLineNumberNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberIdsToPreserve" + ], + "range": [ + [ + 138, + 25 + ], + [ + 150, + 1 + ] + ], + "doc": null + } + }, + "150": { + "23": { + "name": "buildLineNumberHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bufferRow", + "softWrapped", + "maxLineNumberDigits", + "screenRow" + ], + "range": [ + [ + 150, + 23 + ], + [ + 169, + 1 + ] + ], + "doc": null + } + }, + "169": { + "28": { + "name": "buildLineNumberInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bufferRow", + "softWrapped", + "maxLineNumberDigits" + ], + "range": [ + [ + 169, + 28 + ], + [ + 179, + 1 + ] + ], + "doc": null + } + }, + "179": { + "24": { + "name": "updateLineNumberNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberId", + "bufferRow", + "screenRow", + "softWrapped" + ], + "range": [ + [ + 179, + 24 + ], + [ + 208, + 1 + ] + ], + "doc": null + } + }, + "208": { + "17": { + "name": "hasDecoration", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "decorations", + "decoration" + ], + "range": [ + [ + 208, + 17 + ], + [ + 211, + 1 + ] + ], + "doc": null + } + }, + "211": { + "21": { + "name": "hasLineNumberNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberId" + ], + "range": [ + [ + 211, + 21 + ], + [ + 214, + 1 + ] + ], + "doc": null + } + }, + "214": { + "30": { + "name": "lineNumberNodeForScreenRow", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 214, + 30 + ], + [ + 217, + 1 + ] + ], + "doc": null + } + }, + "217": { + "11": { + "name": "onClick", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 217, + 11 + ], + [ + 227, + 39 + ] + ], + "doc": null + } + } + }, + "exports": 10 + }, + "src/gutter-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "10": { + "type": "import", + "range": [ + [ + 0, + 10 + ], + [ + 0, + 11 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + }, + "14": { + "type": "import", + "range": [ + [ + 0, + 14 + ], + [ + 0, + 16 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$$", + "exportsProperty": "$$$" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "8": { + "0": { + "type": "class", + "name": "GutterView", + "bindingType": "exports", + "classProperties": [ + [ + 9, + 12 + ] + ], + "prototypeProperties": [ + [ + 13, + 18 + ], + [ + 14, + 17 + ], + [ + 16, + 14 + ], + [ + 19, + 15 + ], + [ + 28, + 16 + ], + [ + 31, + 21 + ], + [ + 53, + 17 + ], + [ + 56, + 13 + ], + [ + 62, + 22 + ], + [ + 68, + 25 + ], + [ + 74, + 33 + ], + [ + 83, + 24 + ], + [ + 91, + 22 + ], + [ + 101, + 27 + ], + [ + 115, + 18 + ], + [ + 126, + 23 + ], + [ + 135, + 21 + ], + [ + 169, + 23 + ], + [ + 175, + 22 + ], + [ + 179, + 22 + ], + [ + 190, + 21 + ], + [ + 194, + 25 + ], + [ + 221, + 25 + ], + [ + 235, + 24 + ], + [ + 242, + 20 + ], + [ + 250, + 18 + ] + ], + "doc": " Private: Represents the portion of the {EditorView} containing row numbers.\n\nThe gutter also indicates if rows are folded. ", + "range": [ + [ + 8, + 0 + ], + [ + 274, + 29 + ] + ] + } + }, + "9": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 12 + ], + [ + 13, + 1 + ] + ] + } + }, + "13": { + "18": { + "name": "firstScreenRow", + "type": "primitive", + "range": [ + [ + 13, + 18 + ], + [ + 13, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "17": { + "name": "lastScreenRow", + "type": "primitive", + "range": [ + [ + 14, + 17 + ], + [ + 14, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 14 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 19, + 15 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 16 + ], + [ + 31, + 1 + ] + ], + "doc": "~Private~" + } + }, + "31": { + "21": { + "name": "handleMouseEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 31, + 21 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "17": { + "name": "getEditorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 17 + ], + [ + 56, + 1 + ] + ], + "doc": " Private: Retrieves the containing {EditorView}.\n\nReturns an {EditorView}. " + } + }, + "56": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 13 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "22": { + "name": "setShowLineNumbers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showLineNumbers" + ], + "range": [ + [ + 62, + 22 + ], + [ + 68, + 1 + ] + ], + "doc": " Private: Defines whether to show the gutter or not.\n\nshowLineNumbers - A {Boolean} which, if `false`, hides the gutter " + } + }, + "68": { + "25": { + "name": "getLineNumberElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 25 + ], + [ + 74, + 1 + ] + ], + "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " + } + }, + "74": { + "33": { + "name": "getLineNumberElementsForClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 74, + 33 + ], + [ + 83, + 1 + ] + ], + "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " + } + }, + "83": { + "24": { + "name": "getLineNumberElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 83, + 24 + ], + [ + 91, + 1 + ] + ], + "doc": " Private: Get a single line-number div.\n\n* bufferRow: 0 based line number\n\nReturns a list of {HTMLElement}s that correspond to the bufferRow. More than\none in the list indicates a wrapped line. " + } + }, + "91": { + "22": { + "name": "addClassToAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 91, + 22 + ], + [ + 101, + 1 + ] + ], + "doc": " Private: Add a class to all line-number divs.\n\n* klass: string class name\n\nReturns true if the class was added to any lines " + } + }, + "101": { + "27": { + "name": "removeClassFromAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 101, + 27 + ], + [ + 115, + 1 + ] + ], + "doc": " Private: Remove a class from all line-number divs.\n\n* klass: string class name. Can only be one class name. i.e. 'my-class'\n\nReturns true if the class was removed from any lines " + } + }, + "115": { + "18": { + "name": "addClassToLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "klass" + ], + "range": [ + [ + 115, + 18 + ], + [ + 126, + 1 + ] + ], + "doc": " Private: Add a class to a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was added to " + } + }, + "126": { + "23": { + "name": "removeClassFromLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "klass" + ], + "range": [ + [ + 126, + 23 + ], + [ + 135, + 1 + ] + ], + "doc": " Private: Remove a class from a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was removed from " + } + }, + "135": { + "21": { + "name": "updateLineNumbers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "changes", + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 135, + 21 + ], + [ + 169, + 1 + ] + ], + "doc": "~Private~" + } + }, + "169": { + "23": { + "name": "prependLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElements" + ], + "range": [ + [ + 169, + 23 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "22": { + "name": "appendLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElements" + ], + "range": [ + [ + 175, + 22 + ], + [ + 179, + 1 + ] + ], + "doc": "~Private~" + } + }, + "179": { + "22": { + "name": "removeLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "numberOfElements" + ], + "range": [ + [ + 179, + 22 + ], + [ + 190, + 1 + ] + ], + "doc": "~Private~" + } + }, + "190": { + "21": { + "name": "buildLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 190, + 21 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "25": { + "name": "buildLineElementsHtml", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 194, + 25 + ], + [ + 221, + 1 + ] + ], + "doc": "~Private~" + } + }, + "221": { + "25": { + "name": "updateFoldableClasses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "changes" + ], + "range": [ + [ + 221, + 25 + ], + [ + 235, + 1 + ] + ], + "doc": " Private: Called to update the 'foldable' class of line numbers when there's\na change to the display buffer that doesn't regenerate all the line numbers\nanyway. " + } + }, + "235": { + "24": { + "name": "removeLineHighlights", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 235, + 24 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "20": { + "name": "addLineHighlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "emptySelection" + ], + "range": [ + [ + 242, + 20 + ], + [ + 250, + 1 + ] + ], + "doc": "~Private~" + } + }, + "250": { + "18": { + "name": "highlightLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 250, + 18 + ], + [ + 274, + 29 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/highlight-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "21": { + "name": "HighlightComponent", + "type": "function", + "range": [ + [ + 5, + 21 + ], + [ + 89, + 110 + ] + ] + } + }, + "6": { + "15": { + "name": "'HighlightComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 34 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 20, + 1 + ] + ], + "doc": null + } + }, + "20": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 21 + ], + [ + 27, + 1 + ] + ], + "doc": null + } + }, + "27": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 24 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "23": { + "name": "startFlashAnimation", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 23 + ], + [ + 42, + 1 + ] + ], + "doc": null + } + }, + "42": { + "27": { + "name": "renderSingleLineRegions", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 27 + ], + [ + 53, + 1 + ] + ], + "doc": null + } + }, + "53": { + "26": { + "name": "renderMultiLineRegions", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 26 + ], + [ + 88, + 1 + ] + ], + "doc": null + } + }, + "88": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 88, + 25 + ], + [ + 89, + 110 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/highlights-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "3": { + "21": { + "name": "HighlightComponent", + "type": "import", + "range": [ + [ + 3, + 21 + ], + [ + 3, + 51 + ] + ], + "bindingType": "variable", + "path": "./highlight-component" + } + }, + "6": { + "22": { + "name": "HighlightsComponent", + "type": "function", + "range": [ + [ + 6, + 22 + ], + [ + 24, + 148 + ] + ] + } + }, + "7": { + "15": { + "name": "'HighlightsComponent'", + "type": "primitive", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 35 + ] + ] + } + }, + "9": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 10 + ], + [ + 13, + 1 + ] + ], + "doc": null + } + }, + "13": { + "20": { + "name": "renderHighlights", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 20 + ], + [ + 23, + 1 + ] + ], + "doc": null + } + }, + "23": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 23, + 25 + ], + [ + 24, + 148 + ] + ], + "doc": null + } + } + }, + "exports": 6 + }, + "src/input-component.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "last", + "exportsProperty": "last" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 13 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqual", + "exportsProperty": "isEqual" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "input", + "exportsProperty": "input" + } + }, + "5": { + "17": { + "name": "InputComponent", + "type": "function", + "range": [ + [ + 5, + 17 + ], + [ + 43, + 25 + ] + ] + } + }, + "6": { + "15": { + "name": "'InputComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 30 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 13, + 1 + ] + ], + "doc": null + } + }, + "13": { + "19": { + "name": "getInitialState", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 19 + ], + [ + 16, + 1 + ] + ], + "doc": null + } + }, + "16": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 21 + ], + [ + 21, + 1 + ] + ], + "doc": null + } + }, + "21": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 22 + ], + [ + 27, + 1 + ] + ], + "doc": null + } + }, + "27": { + "27": { + "name": "isPressAndHoldCharacter", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "char" + ], + "range": [ + [ + 27, + 27 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 30, + 25 + ], + [ + 33, + 1 + ] + ], + "doc": null + } + }, + "33": { + "11": { + "name": "onPaste", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 33, + 11 + ], + [ + 36, + 1 + ] + ], + "doc": null + } + }, + "36": { + "11": { + "name": "onFocus", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 36, + 11 + ], + [ + 39, + 1 + ] + ], + "doc": null + } + }, + "39": { + "10": { + "name": "onBlur", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 39, + 10 + ], + [ + 42, + 1 + ] + ], + "doc": null + } + }, + "42": { + "9": { + "name": "focus", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 9 + ], + [ + 43, + 25 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/keymap-extensions.coffee": { + "objects": { + "0": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 0, + 5 + ], + [ + 0, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "16": { + "name": "KeymapManager", + "type": "import", + "range": [ + [ + 2, + 16 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "atom-keymap" + } + }, + "3": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 6 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "jQuery", + "exportsProperty": "jQuery" + } + }, + "6": { + "36": { + "name": "KeymapManager.prototype.loadBundledKeymaps", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 36 + ], + [ + 9, + 0 + ] + ], + "doc": null + } + }, + "10": { + "35": { + "name": "KeymapManager.prototype.getUserKeymapPath", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 35 + ], + [ + 15, + 0 + ] + ], + "doc": null + } + }, + "16": { + "32": { + "name": "KeymapManager.prototype.loadUserKeymap", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 32 + ], + [ + 22, + 74 + ] + ], + "doc": null + } + }, + "23": { + "32": { + "name": "jQuery.Event.prototype.abortKeyBinding", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 23, + 32 + ], + [ + 25, + 0 + ] + ], + "doc": null + } + } + }, + "exports": 26 + }, + "src/language-mode.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 10 + ] + ], + "bindingType": "variable", + "module": "oniguruma", + "name": "OnigRegExp", + "exportsProperty": "OnigRegExp" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "6": { + "0": { + "type": "class", + "name": "LanguageMode", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 15 + ], + [ + 16, + 11 + ], + [ + 19, + 33 + ], + [ + 30, + 35 + ], + [ + 100, + 11 + ], + [ + 107, + 13 + ], + [ + 114, + 24 + ], + [ + 128, + 17 + ], + [ + 141, + 30 + ], + [ + 146, + 33 + ], + [ + 161, + 34 + ], + [ + 181, + 25 + ], + [ + 186, + 29 + ], + [ + 194, + 32 + ], + [ + 201, + 30 + ], + [ + 208, + 35 + ], + [ + 241, + 31 + ], + [ + 265, + 29 + ], + [ + 274, + 24 + ], + [ + 281, + 23 + ], + [ + 288, + 34 + ], + [ + 308, + 23 + ], + [ + 312, + 32 + ], + [ + 315, + 32 + ], + [ + 318, + 25 + ] + ], + "doc": "~Private~", + "range": [ + [ + 6, + 0 + ], + [ + 319, + 57 + ] + ] + } + }, + "13": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 13, + 15 + ], + [ + 16, + 1 + ] + ], + "doc": " Private: Sets up a `LanguageMode` for the given {Editor}.\n\neditor - The {Editor} to associate with " + } + }, + "16": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 11 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "33": { + "name": "toggleLineCommentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 19, + 33 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "35": { + "name": "toggleLineCommentsForBufferRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 30, + 35 + ], + [ + 100, + 1 + ] + ], + "doc": " Private: Wraps the lines between two rows in comments.\n\nIf the language doesn't have comment, nothing happens.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns an {Array} of the commented {Ranges}. " + } + }, + "100": { + "11": { + "name": "foldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 100, + 11 + ], + [ + 107, + 1 + ] + ], + "doc": "Private: Folds all the foldable lines in the buffer. " + } + }, + "107": { + "13": { + "name": "unfoldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 13 + ], + [ + 114, + 1 + ] + ], + "doc": "Private: Unfolds all the foldable lines in the buffer. " + } + }, + "114": { + "24": { + "name": "foldAllAtIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "indentLevel" + ], + "range": [ + [ + 114, + 24 + ], + [ + 128, + 1 + ] + ], + "doc": " Private: Fold all comment and code blocks at a given indentLevel\n\nindentLevel - A {Number} indicating indentLevel; 0 based. " + } + }, + "128": { + "17": { + "name": "foldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 128, + 17 + ], + [ + 141, + 1 + ] + ], + "doc": " Private: Given a buffer row, creates a fold at it.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns the new {Fold}. " + } + }, + "141": { + "30": { + "name": "rowRangeForFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 141, + 30 + ], + [ + 146, + 1 + ] + ], + "doc": " Private: Find the row range for a fold at a given bufferRow. Will handle comments\nand code.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of the [startRow, endRow]. Returns null if no range. " + } + }, + "146": { + "33": { + "name": "rowRangeForCommentAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 146, + 33 + ], + [ + 161, + 1 + ] + ], + "doc": "~Private~" + } + }, + "161": { + "34": { + "name": "rowRangeForCodeFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 161, + 34 + ], + [ + 181, + 1 + ] + ], + "doc": "~Private~" + } + }, + "181": { + "25": { + "name": "isFoldableAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 181, + 25 + ], + [ + 186, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether the given buffer row starts a\nfoldable row range. Rows that are \"foldable\" have a fold icon next to their\nicon in the gutter in the default configuration. " + } + }, + "186": { + "29": { + "name": "isFoldableCodeAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 186, + 29 + ], + [ + 194, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na a foldable row range due to the code's indentation patterns. " + } + }, + "194": { + "32": { + "name": "isFoldableCommentAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 194, + 32 + ], + [ + 201, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na foldable row range due to being the start of a multi-line comment. " + } + }, + "201": { + "30": { + "name": "isLineCommentedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 201, + 30 + ], + [ + 208, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the line at the given buffer\nrow is a comment. " + } + }, + "208": { + "35": { + "name": "rowRangeForParagraphAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 208, + 35 + ], + [ + 241, + 1 + ] + ], + "doc": " Private: Find a row range for a 'paragraph' around specified bufferRow.\nRight now, a paragraph is a block of text bounded by and empty line or a\nblock of text that is not the same type (comments next to source code). " + } + }, + "241": { + "31": { + "name": "suggestedIndentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 241, + 31 + ], + [ + 265, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns a suggested indentation level.\n\nThe indentation level provided is based on the current {LanguageMode}.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Number}. " + } + }, + "265": { + "29": { + "name": "minIndentLevelForRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 265, + 29 + ], + [ + 274, + 1 + ] + ], + "doc": " Private: Calculate a minimum indent level for a range of lines excluding empty lines.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns a {Number} of the indent level of the block of lines. " + } + }, + "274": { + "24": { + "name": "autoIndentBufferRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 274, + 24 + ], + [ + 281, + 1 + ] + ], + "doc": " Private: Indents all the rows between two buffer row numbers.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at " + } + }, + "281": { + "23": { + "name": "autoIndentBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "options" + ], + "range": [ + [ + 281, + 23 + ], + [ + 288, + 1 + ] + ], + "doc": " Private: Given a buffer row, this indents it.\n\nbufferRow - The row {Number}.\noptions - An options {Object} to pass through to {Editor::setIndentationForBufferRow}. " + } + }, + "288": { + "34": { + "name": "autoDecreaseIndentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 288, + 34 + ], + [ + 308, + 1 + ] + ], + "doc": " Private: Given a buffer row, this decreases the indentation.\n\nbufferRow - The row {Number} " + } + }, + "308": { + "23": { + "name": "getRegexForProperty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "property" + ], + "range": [ + [ + 308, + 23 + ], + [ + 312, + 1 + ] + ], + "doc": "~Private~" + } + }, + "312": { + "32": { + "name": "increaseIndentRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 312, + 32 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "32": { + "name": "decreaseIndentRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 315, + 32 + ], + [ + 318, + 1 + ] + ], + "doc": "~Private~" + } + }, + "318": { + "25": { + "name": "foldEndRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 318, + 25 + ], + [ + 319, + 57 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 6 + }, + "src/less-compile-cache.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "2": { + "12": { + "name": "LessCache", + "type": "import", + "range": [ + [ + 2, + 12 + ], + [ + 2, + 31 + ] + ], + "bindingType": "variable", + "module": "less-cache" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "7": { + "0": { + "type": "class", + "name": "LessCompileCache", + "bindingType": "exports", + "classProperties": [ + [ + 10, + 13 + ] + ], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 29, + 18 + ], + [ + 32, + 8 + ], + [ + 35, + 14 + ], + [ + 38, + 11 + ] + ], + "doc": "Private: {LessCache} wrapper used by {ThemeManager} to read stylesheets. ", + "range": [ + [ + 7, + 0 + ], + [ + 38, + 28 + ] + ] + } + }, + "10": { + "13": { + "name": "cacheDir", + "type": "function", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 71 + ] + ], + "bindingType": "classProperty" + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 29, + 1 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "18": { + "name": "setImportPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "importPaths" + ], + "range": [ + [ + 29, + 18 + ], + [ + 32, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "8": { + "name": "read", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 32, + 8 + ], + [ + 35, + 1 + ] + ], + "doc": "~Private~" + } + }, + "35": { + "14": { + "name": "cssForFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "lessContent" + ], + "range": [ + [ + 35, + 14 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 38, + 11 + ], + [ + 38, + 27 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 7 + }, + "src/lines-component.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + }, + "6": { + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 9 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "span", + "exportsProperty": "span" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "debounce", + "exportsProperty": "debounce" + }, + "11": { + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 17 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqual", + "exportsProperty": "isEqual" + }, + "20": { + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 39 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "42": { + "type": "import", + "range": [ + [ + 3, + 42 + ], + [ + 3, + 55 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "multiplyString", + "exportsProperty": "multiplyString" + }, + "58": { + "type": "import", + "range": [ + [ + 3, + 58 + ], + [ + 3, + 64 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "toArray", + "exportsProperty": "toArray" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 2 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "$$", + "exportsProperty": "$$" + } + }, + "6": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 6, + 13 + ], + [ + 6, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "7": { + "19": { + "name": "CursorsComponent", + "type": "import", + "range": [ + [ + 7, + 19 + ], + [ + 7, + 47 + ] + ], + "bindingType": "variable", + "path": "./cursors-component" + } + }, + "8": { + "22": { + "name": "HighlightsComponent", + "type": "import", + "range": [ + [ + 8, + 22 + ], + [ + 8, + 53 + ] + ], + "bindingType": "variable", + "path": "./highlights-component" + } + }, + "10": { + "16": { + "type": "primitive", + "range": [ + [ + 10, + 16 + ], + [ + 10, + 111 + ] + ] + } + }, + "11": { + "15": { + "type": "primitive", + "range": [ + [ + 11, + 15 + ], + [ + 11, + 55 + ] + ] + }, + "28": { + "name": "acceptNode", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 11, + 28 + ], + [ + 11, + 54 + ] + ], + "doc": null + } + }, + "12": { + "13": { + "name": "WrapperDiv", + "type": "function", + "range": [ + [ + 12, + 13 + ], + [ + 12, + 41 + ] + ] + } + }, + "15": { + "17": { + "name": "LinesComponent", + "type": "function", + "range": [ + [ + 15, + 17 + ], + [ + 348, + 41 + ] + ] + } + }, + "16": { + "15": { + "name": "'LinesComponent'", + "type": "primitive", + "range": [ + [ + 16, + 15 + ], + [ + 16, + 30 + ] + ] + } + }, + "18": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 18, + 10 + ], + [ + 44, + 1 + ] + ], + "doc": null + } + }, + "44": { + "16": { + "name": "getTransform", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 16 + ], + [ + 52, + 1 + ] + ], + "doc": null + } + }, + "52": { + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 22 + ], + [ + 59, + 1 + ] + ], + "doc": null + } + }, + "59": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 59, + 25 + ], + [ + 79, + 1 + ] + ], + "doc": null + } + }, + "79": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "prevProps" + ], + "range": [ + [ + 79, + 22 + ], + [ + 88, + 1 + ] + ], + "doc": null + } + }, + "88": { + "24": { + "name": "clearScreenRowCaches", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 24 + ], + [ + 92, + 1 + ] + ], + "doc": null + } + }, + "92": { + "15": { + "name": "updateLines", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "updateWidth" + ], + "range": [ + [ + 92, + 15 + ], + [ + 100, + 1 + ] + ], + "doc": null + } + }, + "100": { + "19": { + "name": "removeLineNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "visibleLines" + ], + "range": [ + [ + 100, + 19 + ], + [ + 114, + 1 + ] + ], + "doc": null + } + }, + "114": { + "34": { + "name": "appendOrUpdateVisibleLineNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "visibleLines", + "startRow", + "updateWidth" + ], + "range": [ + [ + 114, + 34 + ], + [ + 145, + 1 + ] + ], + "doc": null + } + }, + "145": { + "15": { + "name": "hasLineNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineId" + ], + "range": [ + [ + 145, + 15 + ], + [ + 148, + 1 + ] + ], + "doc": null + } + }, + "148": { + "17": { + "name": "buildLineHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "screenRow" + ], + "range": [ + [ + 148, + 17 + ], + [ + 171, + 1 + ] + ], + "doc": null + } + }, + "171": { + "27": { + "name": "buildEmptyLineInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 171, + 27 + ], + [ + 198, + 1 + ] + ], + "doc": null + } + }, + "198": { + "22": { + "name": "buildLineInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 198, + 22 + ], + [ + 215, + 1 + ] + ], + "doc": null + } + }, + "215": { + "22": { + "name": "buildEndOfLineHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "invisibles" + ], + "range": [ + [ + 215, + 22 + ], + [ + 228, + 1 + ] + ], + "doc": null + } + }, + "228": { + "20": { + "name": "updateScopeStack", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 228, + 20 + ], + [ + 245, + 1 + ] + ], + "doc": null + } + }, + "245": { + "12": { + "name": "popScope", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack" + ], + "range": [ + [ + 245, + 12 + ], + [ + 249, + 1 + ] + ], + "doc": null + } + }, + "249": { + "13": { + "name": "pushScope", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack", + "scope" + ], + "range": [ + [ + 249, + 13 + ], + [ + 253, + 1 + ] + ], + "doc": null + } + }, + "253": { + "18": { + "name": "updateLineNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "screenRow", + "updateWidth" + ], + "range": [ + [ + 253, + 18 + ], + [ + 278, + 1 + ] + ], + "doc": null + } + }, + "278": { + "17": { + "name": "hasDecoration", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "decorations", + "decoration" + ], + "range": [ + [ + 278, + 17 + ], + [ + 281, + 1 + ] + ], + "doc": null + } + }, + "281": { + "24": { + "name": "lineNodeForScreenRow", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 281, + 24 + ], + [ + 284, + 1 + ] + ], + "doc": null + } + }, + "284": { + "40": { + "name": "measureLineHeightAndDefaultCharWidth", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 40 + ], + [ + 295, + 1 + ] + ], + "doc": null + } + }, + "295": { + "28": { + "name": "remeasureCharacterWidths", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 295, + 28 + ], + [ + 299, + 1 + ] + ], + "doc": null + } + }, + "299": { + "31": { + "name": "measureCharactersInNewLines", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 299, + 31 + ], + [ + 311, + 1 + ] + ], + "doc": null + } + }, + "311": { + "27": { + "name": "measureCharactersInLine", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "tokenizedLine", + "lineNode" + ], + "range": [ + [ + 311, + 27 + ], + [ + 346, + 1 + ] + ], + "doc": null + } + }, + "346": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 25 + ], + [ + 348, + 41 + ] + ], + "doc": null + } + } + }, + "exports": 15 + }, + "src/menu-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "3": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 3, + 6 + ], + [ + 3, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "12": { + "0": { + "type": "class", + "name": "MenuManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 15 + ], + [ + 37, + 7 + ], + [ + 47, + 19 + ], + [ + 79, + 10 + ], + [ + 88, + 21 + ], + [ + 96, + 9 + ], + [ + 107, + 27 + ], + [ + 117, + 24 + ], + [ + 121, + 18 + ], + [ + 130, + 21 + ] + ], + "doc": " Public: Provides a registry for menu items that you'd like to appear in the\napplication menu.\n\nAn instance of this class is always available as the `atom.menu` global. ", + "range": [ + [ + 12, + 0 + ], + [ + 131, + 49 + ] + ] + } + }, + "13": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 13, + 15 + ], + [ + 37, + 1 + ] + ] + } + }, + "37": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 37, + 7 + ], + [ + 47, + 1 + ] + ], + "doc": " Public: Adds the given item definition to the existing template.\n\n## Example\n```coffee\n atom.menu.add [\n {\n label: 'Hello'\n submenu : [{label: 'World!', command: 'hello:world'}]\n }\n ]\n```\n\nitems - An {Array} of menu item {Object}s containing the keys:\n :label - The {String} menu label.\n :submenu - An optional {Array} of sub menu items.\n :command - An optional {String} command to trigger when the item is\n clicked.\n\nReturns nothing. " + } + }, + "47": { + "19": { + "name": "includeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 47, + 19 + ], + [ + 79, + 1 + ] + ], + "doc": " Private: Should the binding for the given selector be included in the menu\ncommands.\n\nselector - A {String} selector to check.\n\nReturns true to include the selector, false otherwise. " + } + }, + "79": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 10 + ], + [ + 88, + 1 + ] + ], + "doc": "Public: Refreshes the currently visible menu. " + } + }, + "88": { + "21": { + "name": "loadPlatformItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 21 + ], + [ + 96, + 1 + ] + ], + "doc": "~Private~" + } + }, + "96": { + "9": { + "name": "merge", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "menu", + "item" + ], + "range": [ + [ + 96, + 9 + ], + [ + 107, + 1 + ] + ], + "doc": " Private: Merges an item in a submenu aware way such that new items are always\nappended to the bottom of existing menus where possible. " + } + }, + "107": { + "27": { + "name": "filterMultipleKeystroke", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystrokesByCommand" + ], + "range": [ + [ + 107, + 27 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: OSX can't handle displaying accelerators for multiple keystrokes.\nIf they are sent across, it will stop processing accelerators for the rest\nof the menu items. " + } + }, + "117": { + "24": { + "name": "sendToBrowserProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 117, + 24 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "18": { + "name": "normalizeLabel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "label" + ], + "range": [ + [ + 121, + 18 + ], + [ + 130, + 1 + ] + ], + "doc": "~Private~" + } + }, + "130": { + "21": { + "name": "classesForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 130, + 21 + ], + [ + 131, + 49 + ] + ], + "doc": "Private: Get an {Array} of {String} classes for the given element. " + } + } + }, + "exports": 12 + }, + "src/package-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "7": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 7, + 10 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "8": { + "15": { + "name": "ThemePackage", + "type": "import", + "range": [ + [ + 8, + 15 + ], + [ + 8, + 39 + ] + ], + "bindingType": "variable", + "path": "./theme-package" + } + }, + "26": { + "0": { + "type": "class", + "name": "PackageManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 44, + 14 + ], + [ + 52, + 22 + ], + [ + 55, + 19 + ], + [ + 58, + 19 + ], + [ + 62, + 17 + ], + [ + 68, + 18 + ], + [ + 74, + 12 + ], + [ + 82, + 28 + ], + [ + 85, + 20 + ], + [ + 90, + 19 + ], + [ + 100, + 22 + ], + [ + 105, + 21 + ], + [ + 113, + 21 + ], + [ + 117, + 20 + ], + [ + 121, + 19 + ], + [ + 124, + 29 + ], + [ + 128, + 27 + ], + [ + 137, + 16 + ], + [ + 148, + 15 + ], + [ + 168, + 18 + ], + [ + 172, + 17 + ], + [ + 182, + 20 + ], + [ + 186, + 19 + ], + [ + 190, + 21 + ], + [ + 196, + 29 + ], + [ + 200, + 22 + ], + [ + 210, + 21 + ], + [ + 213, + 17 + ], + [ + 218, + 20 + ], + [ + 221, + 26 + ], + [ + 231, + 28 + ], + [ + 246, + 28 + ], + [ + 250, + 31 + ] + ], + "doc": " Public: Package manager for coordinating the lifecycle of Atom packages.\n\nAn instance of this class is always available as the `atom.packages` global.\n\nPackages can be loaded, activated, and deactivated, and unloaded:\n * Loading a package reads and parses the package's metadata and resources\n such as keymaps, menus, stylesheets, etc.\n * Activating a package registers the loaded resources and calls `activate()`\n on the package's main module.\n * Deactivating a package unregisters the package's resources and calls\n `deactivate()` on the package's main module.\n * Unloading a package removes it completely from the package manager.\n\nPackages can also be enabled/disabled via the `core.disabledPackages` config\nsettings and also by calling `enablePackage()/disablePackage()`. ", + "range": [ + [ + 26, + 0 + ], + [ + 256, + 12 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 29, + 15 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "14": { + "name": "getApmPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 14 + ], + [ + 52, + 1 + ] + ], + "doc": "Public: Get the path to the apm command " + } + }, + "52": { + "22": { + "name": "getPackageDirPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 22 + ], + [ + 55, + 1 + ] + ], + "doc": " Public: Get the paths being used to look for packages.\n\nReturns an Array of String directory paths. " + } + }, + "55": { + "19": { + "name": "getPackageState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 55, + 19 + ], + [ + 58, + 1 + ] + ], + "doc": "~Private~" + } + }, + "58": { + "19": { + "name": "setPackageState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "state" + ], + "range": [ + [ + 58, + 19 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "17": { + "name": "enablePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 62, + 17 + ], + [ + 68, + 1 + ] + ], + "doc": "Public: Enable the package with the given name " + } + }, + "68": { + "18": { + "name": "disablePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 68, + 18 + ], + [ + 74, + 1 + ] + ], + "doc": "Public: Disable the package with the given name " + } + }, + "74": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 12 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Activate all the packages that should be activated. " + } + }, + "82": { + "28": { + "name": "registerPackageActivator", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "activator", + "types" + ], + "range": [ + [ + 82, + 28 + ], + [ + 85, + 1 + ] + ], + "doc": " Private: another type of package manager can handle other package types.\nSee ThemeManager " + } + }, + "85": { + "20": { + "name": "activatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "packages" + ], + "range": [ + [ + 85, + 20 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "19": { + "name": "activatePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 90, + 19 + ], + [ + 100, + 1 + ] + ], + "doc": "Private: Activate a single package by name " + } + }, + "100": { + "22": { + "name": "deactivatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 100, + 22 + ], + [ + 105, + 1 + ] + ], + "doc": "Private: Deactivate all packages " + } + }, + "105": { + "21": { + "name": "deactivatePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 105, + 21 + ], + [ + 113, + 1 + ] + ], + "doc": "Private: Deactivate the package with the given name " + } + }, + "113": { + "21": { + "name": "getActivePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 113, + 21 + ], + [ + 117, + 1 + ] + ], + "doc": "Public: Get an array of all the active packages " + } + }, + "117": { + "20": { + "name": "getActivePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 117, + 20 + ], + [ + 121, + 1 + ] + ], + "doc": "Public: Get the active package with the given name " + } + }, + "121": { + "19": { + "name": "isPackageActive", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 121, + 19 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Is the package with the given name active? " + } + }, + "124": { + "29": { + "name": "unobserveDisabledPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 29 + ], + [ + 128, + 1 + ] + ], + "doc": "~Private~" + } + }, + "128": { + "27": { + "name": "observeDisabledPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 128, + 27 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "16": { + "name": "loadPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 16 + ], + [ + 148, + 1 + ] + ], + "doc": "~Private~" + } + }, + "148": { + "15": { + "name": "loadPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "nameOrPath" + ], + "range": [ + [ + 148, + 15 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "18": { + "name": "unloadPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 18 + ], + [ + 172, + 1 + ] + ], + "doc": "~Private~" + } + }, + "172": { + "17": { + "name": "unloadPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 172, + 17 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "20": { + "name": "getLoadedPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 182, + 20 + ], + [ + 186, + 1 + ] + ], + "doc": "Public: Get the loaded package with the given name " + } + }, + "186": { + "19": { + "name": "isPackageLoaded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 186, + 19 + ], + [ + 190, + 1 + ] + ], + "doc": "Public: Is the package with the given name loaded? " + } + }, + "190": { + "21": { + "name": "getLoadedPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 21 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded packages " + } + }, + "196": { + "29": { + "name": "getLoadedPackagesForTypes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "types" + ], + "range": [ + [ + 196, + 29 + ], + [ + 200, + 1 + ] + ], + "doc": " Private: Get packages for a certain package type\n\ntypes - an {Array} of {String}s like ['atom', 'textmate']. " + } + }, + "200": { + "22": { + "name": "resolvePackagePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 200, + 22 + ], + [ + 210, + 1 + ] + ], + "doc": "Public: Resolve the given package name to a path on disk. " + } + }, + "210": { + "21": { + "name": "isPackageDisabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 210, + 21 + ], + [ + 213, + 1 + ] + ], + "doc": "Public: Is the package with the given name disabled? " + } + }, + "213": { + "17": { + "name": "hasAtomEngine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "packagePath" + ], + "range": [ + [ + 213, + 17 + ], + [ + 218, + 1 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "20": { + "name": "isBundledPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 218, + 20 + ], + [ + 221, + 1 + ] + ], + "doc": "Public: Is the package with the given name bundled with Atom? " + } + }, + "221": { + "26": { + "name": "getPackageDependencies", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 221, + 26 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "28": { + "name": "getAvailablePackagePaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 231, + 28 + ], + [ + 246, + 1 + ] + ], + "doc": "Public: Get an array of all the available package paths. " + } + }, + "246": { + "28": { + "name": "getAvailablePackageNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 246, + 28 + ], + [ + 250, + 1 + ] + ], + "doc": "Public: Get an array of all the available package names. " + } + }, + "250": { + "31": { + "name": "getAvailablePackageMetadata", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 250, + 31 + ], + [ + 256, + 12 + ] + ], + "doc": "Public: Get an array of all the available package metadata. " + } + } + }, + "exports": 26 + }, + "src/package.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "3": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 3, + 8 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "async" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "7": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "9": { + "4": { + "type": "primitive", + "range": [ + [ + 9, + 4 + ], + [ + 9, + 7 + ] + ] + } + }, + "10": { + "19": { + "name": "ScopedProperties", + "type": "import", + "range": [ + [ + 10, + 19 + ], + [ + 10, + 47 + ] + ], + "bindingType": "variable", + "path": "./scoped-properties" + } + }, + "15": { + "0": { + "type": "class", + "name": "Package", + "bindingType": "exports", + "classProperties": [ + [ + 18, + 19 + ], + [ + 20, + 17 + ] + ], + "prototypeProperties": [ + [ + 30, + 11 + ], + [ + 31, + 9 + ], + [ + 32, + 15 + ], + [ + 33, + 12 + ], + [ + 34, + 20 + ], + [ + 35, + 18 + ], + [ + 36, + 26 + ], + [ + 37, + 14 + ], + [ + 39, + 15 + ], + [ + 44, + 10 + ], + [ + 47, + 11 + ], + [ + 50, + 11 + ], + [ + 53, + 11 + ], + [ + 59, + 11 + ], + [ + 61, + 21 + ], + [ + 63, + 8 + ], + [ + 76, + 9 + ], + [ + 83, + 12 + ], + [ + 97, + 15 + ], + [ + 109, + 18 + ], + [ + 118, + 23 + ], + [ + 126, + 21 + ], + [ + 138, + 15 + ], + [ + 141, + 13 + ], + [ + 144, + 18 + ], + [ + 151, + 16 + ], + [ + 158, + 19 + ], + [ + 162, + 22 + ], + [ + 165, + 22 + ], + [ + 177, + 20 + ], + [ + 194, + 16 + ], + [ + 213, + 24 + ], + [ + 231, + 13 + ], + [ + 238, + 14 + ], + [ + 247, + 20 + ], + [ + 251, + 23 + ], + [ + 260, + 21 + ], + [ + 266, + 20 + ], + [ + 269, + 21 + ], + [ + 275, + 21 + ], + [ + 285, + 23 + ], + [ + 297, + 31 + ], + [ + 306, + 25 + ], + [ + 315, + 35 + ], + [ + 325, + 36 + ], + [ + 339, + 36 + ], + [ + 345, + 18 + ], + [ + 353, + 34 + ], + [ + 371, + 32 + ], + [ + 401, + 16 + ] + ], + "doc": " Private: Loads and activates a package's main module and resources such as\nstylesheets, keymaps, grammar, editor properties, and menus. ", + "range": [ + [ + 15, + 0 + ], + [ + 411, + 24 + ] + ] + } + }, + "18": { + "19": { + "name": "stylesheetsDir", + "type": "primitive", + "range": [ + [ + 18, + 19 + ], + [ + 18, + 31 + ] + ], + "bindingType": "classProperty" + } + }, + "20": { + "17": { + "name": "loadMetadata", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "packagePath", + "ignoreErrors" + ], + "range": [ + [ + 20, + 17 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "keymaps", + "type": "primitive", + "range": [ + [ + 30, + 11 + ], + [ + 30, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "31": { + "9": { + "name": "menus", + "type": "primitive", + "range": [ + [ + 31, + 9 + ], + [ + 31, + 12 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "32": { + "15": { + "name": "stylesheets", + "type": "primitive", + "range": [ + [ + 32, + 15 + ], + [ + 32, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "33": { + "12": { + "name": "grammars", + "type": "primitive", + "range": [ + [ + 33, + 12 + ], + [ + 33, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "34": { + "20": { + "name": "scopedProperties", + "type": "primitive", + "range": [ + [ + 34, + 20 + ], + [ + 34, + 23 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "35": { + "18": { + "name": "mainModulePath", + "type": "primitive", + "range": [ + [ + 35, + 18 + ], + [ + 35, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "36": { + "26": { + "name": "resolvedMainModulePath", + "type": "primitive", + "range": [ + [ + 36, + 26 + ], + [ + 36, + 30 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "37": { + "14": { + "name": "mainModule", + "type": "primitive", + "range": [ + [ + 37, + 14 + ], + [ + 37, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "39": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 39, + 15 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "10": { + "name": "enable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 10 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "11": { + "name": "disable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 47, + 11 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "11": { + "name": "isTheme", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 11 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "11": { + "name": "measure", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "key", + "fn" + ], + "range": [ + [ + 53, + 11 + ], + [ + 59, + 1 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "11": { + "name": "getType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 11 + ], + [ + 59, + 19 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "21": { + "name": "getStylesheetType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 21 + ], + [ + 61, + 32 + ] + ], + "doc": "~Private~" + } + }, + "63": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 63, + 8 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "9": { + "name": "reset", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 9 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 83, + 12 + ], + [ + 97, + 1 + ] + ], + "doc": "~Private~" + } + }, + "97": { + "15": { + "name": "activateNow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 97, + 15 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "18": { + "name": "activateConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 18 + ], + [ + 118, + 1 + ] + ], + "doc": "~Private~" + } + }, + "118": { + "23": { + "name": "activateStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 118, + 23 + ], + [ + 126, + 1 + ] + ], + "doc": "~Private~" + } + }, + "126": { + "21": { + "name": "activateResources", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 21 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "15": { + "name": "loadKeymaps", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 15 + ], + [ + 141, + 1 + ] + ], + "doc": "~Private~" + } + }, + "141": { + "13": { + "name": "loadMenus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 13 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "18": { + "name": "getKeymapPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 144, + 18 + ], + [ + 151, + 1 + ] + ], + "doc": "~Private~" + } + }, + "151": { + "16": { + "name": "getMenuPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 151, + 16 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "19": { + "name": "loadStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 19 + ], + [ + 162, + 1 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "22": { + "name": "getStylesheetsPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 22 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "22": { + "name": "getStylesheetPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 22 + ], + [ + 177, + 1 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "20": { + "name": "loadGrammarsSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 20 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "16": { + "name": "loadGrammars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 194, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "24": { + "name": "loadScopedProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 24 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "13": { + "name": "serialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 231, + 13 + ], + [ + 238, + 1 + ] + ], + "doc": "~Private~" + } + }, + "238": { + "14": { + "name": "deactivate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 238, + 14 + ], + [ + 247, + 1 + ] + ], + "doc": "~Private~" + } + }, + "247": { + "20": { + "name": "deactivateConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 247, + 20 + ], + [ + 251, + 1 + ] + ], + "doc": "~Private~" + } + }, + "251": { + "23": { + "name": "deactivateResources", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 251, + 23 + ], + [ + 260, + 1 + ] + ], + "doc": "~Private~" + } + }, + "260": { + "21": { + "name": "reloadStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 21 + ], + [ + 266, + 1 + ] + ], + "doc": "~Private~" + } + }, + "266": { + "20": { + "name": "reloadStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "content" + ], + "range": [ + [ + 266, + 20 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "21": { + "name": "requireMainModule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 21 + ], + [ + 275, + 1 + ] + ] + } + }, + "275": { + "21": { + "name": "getMainModulePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 275, + 21 + ], + [ + 285, + 1 + ] + ], + "doc": "~Private~" + } + }, + "285": { + "23": { + "name": "hasActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 285, + 23 + ], + [ + 297, + 1 + ] + ], + "doc": "~Private~" + } + }, + "297": { + "31": { + "name": "subscribeToActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 31 + ], + [ + 306, + 1 + ] + ], + "doc": "~Private~" + } + }, + "306": { + "25": { + "name": "handleActivationEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 306, + 25 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "35": { + "name": "unsubscribeFromActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 35 + ], + [ + 325, + 1 + ] + ], + "doc": "~Private~" + } + }, + "325": { + "36": { + "name": "disableEventHandlersOnBubblePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 325, + 36 + ], + [ + 339, + 1 + ] + ], + "doc": "~Private~" + } + }, + "339": { + "36": { + "name": "restoreEventHandlersOnBubblePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventHandlers" + ], + "range": [ + [ + 339, + 36 + ], + [ + 345, + 1 + ] + ], + "doc": "~Private~" + } + }, + "345": { + "18": { + "name": "isNativeModule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "modulePath" + ], + "range": [ + [ + 345, + 18 + ], + [ + 353, + 1 + ] + ], + "doc": "Private: Does the given module path contain native code? " + } + }, + "353": { + "34": { + "name": "getNativeModuleDependencyPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 353, + 34 + ], + [ + 371, + 1 + ] + ], + "doc": " Private: Get an array of all the native modules that this package depends on.\nThis will recurse through all dependencies. " + } + }, + "371": { + "32": { + "name": "getIncompatibleNativeModules", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 371, + 32 + ], + [ + 401, + 1 + ] + ], + "doc": " Private: Get the incompatible native modules that this package depends on.\nThis recurses through all dependencies and requires all modules that\ncontain a `.node` file.\n\nThis information is cached in local storage on a per package/version basis\nto minimize the impact on startup time. " + } + }, + "401": { + "16": { + "name": "isCompatible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 401, + 16 + ], + [ + 411, + 24 + ] + ], + "doc": " Public: Is this package compatible with this version of Atom?\n\nIncompatible packages cannot be activated. This will include packages\ninstalled to ~/.atom/packages that were built against node 0.11.10 but\nnow need to be upgrade to node 0.11.13.\n\nReturns a {Boolean}, true if compatible, false if incompatible. " + } + } + }, + "exports": 15 + }, + "src/pane-axis-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "11": { + "type": "primitive", + "range": [ + [ + 1, + 11 + ], + [ + 1, + 14 + ] + ] + } + }, + "4": { + "0": { + "type": "class", + "name": "PaneAxisView", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 5, + 14 + ], + [ + 9, + 15 + ], + [ + 12, + 16 + ], + [ + 16, + 22 + ], + [ + 22, + 16 + ], + [ + 26, + 18 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 31, + 48 + ] + ] + } + }, + "5": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 5, + 14 + ], + [ + 9, + 1 + ] + ] + } + }, + "9": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 15 + ], + [ + 12, + 1 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "16": { + "name": "viewForModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "model" + ], + "range": [ + [ + 12, + 16 + ], + [ + 16, + 1 + ] + ], + "doc": "~Private~" + } + }, + "16": { + "22": { + "name": "onChildrenChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 16, + 22 + ], + [ + 22, + 1 + ] + ], + "doc": "~Private~" + } + }, + "22": { + "16": { + "name": "onChildAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child", + "index" + ], + "range": [ + [ + 22, + 16 + ], + [ + 26, + 1 + ] + ], + "doc": "~Private~" + } + }, + "26": { + "18": { + "name": "onChildRemoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 26, + 18 + ], + [ + 31, + 48 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/pane-axis.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 15 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Sequence", + "exportsProperty": "Sequence" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 7 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "flatten", + "exportsProperty": "flatten" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "4": { + "14": { + "type": "primitive", + "range": [ + [ + 4, + 14 + ], + [ + 4, + 17 + ] + ] + } + }, + "5": { + "17": { + "type": "primitive", + "range": [ + [ + 5, + 17 + ], + [ + 5, + 20 + ] + ] + } + }, + "8": { + "0": { + "type": "class", + "name": "PaneAxis", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 25, + 21 + ], + [ + 30, + 19 + ], + [ + 34, + 16 + ], + [ + 40, + 12 + ], + [ + 43, + 12 + ], + [ + 46, + 15 + ], + [ + 51, + 16 + ], + [ + 56, + 21 + ], + [ + 60, + 20 + ], + [ + 64, + 21 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 65, + 44 + ] + ] + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 25, + 21 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 19 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 16 + ], + [ + 40, + 1 + ] + ], + "doc": "~Private~" + } + }, + "40": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 40, + 12 + ], + [ + 43, + 1 + ] + ], + "doc": "~Private~" + } + }, + "43": { + "12": { + "name": "addChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child", + "index" + ], + "range": [ + [ + 43, + 12 + ], + [ + 46, + 1 + ] + ], + "doc": "~Private~" + } + }, + "46": { + "15": { + "name": "removeChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 46, + 15 + ], + [ + 51, + 1 + ] + ], + "doc": "~Private~" + } + }, + "51": { + "16": { + "name": "replaceChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "oldChild", + "newChild" + ], + "range": [ + [ + 51, + 16 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "21": { + "name": "insertChildBefore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "currentChild", + "newChild" + ], + "range": [ + [ + 56, + 21 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "20": { + "name": "insertChildAfter", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "currentChild", + "newChild" + ], + "range": [ + [ + 60, + 20 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "21": { + "name": "reparentLastChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 21 + ], + [ + 65, + 44 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/pane-column-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "15": { + "name": "PaneAxisView", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 40 + ] + ], + "bindingType": "variable", + "path": "./pane-axis-view" + } + }, + "5": { + "0": { + "type": "class", + "name": "PaneColumnView", + "bindingType": "exports", + "classProperties": [ + [ + 7, + 12 + ] + ], + "prototypeProperties": [ + [ + 10, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 11, + 16 + ] + ] + } + }, + "7": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 7, + 12 + ], + [ + 10, + 1 + ] + ], + "doc": "~Private~" + } + }, + "10": { + "13": { + "name": "className", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 13 + ], + [ + 11, + 16 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "src/pane-container-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "1": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "3": { + "11": { + "name": "PaneView", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-view" + } + }, + "4": { + "16": { + "name": "PaneContainer", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 41 + ] + ], + "bindingType": "variable", + "path": "./pane-container" + } + }, + "8": { + "0": { + "type": "class", + "name": "PaneContainerView", + "bindingType": "exports", + "classProperties": [ + [ + 13, + 12 + ] + ], + "prototypeProperties": [ + [ + 16, + 14 + ], + [ + 25, + 16 + ], + [ + 30, + 11 + ], + [ + 33, + 17 + ], + [ + 47, + 27 + ], + [ + 50, + 15 + ], + [ + 55, + 16 + ], + [ + 64, + 16 + ], + [ + 67, + 15 + ], + [ + 70, + 15 + ], + [ + 73, + 16 + ], + [ + 79, + 18 + ], + [ + 82, + 17 + ], + [ + 86, + 21 + ], + [ + 89, + 21 + ], + [ + 92, + 17 + ], + [ + 95, + 14 + ], + [ + 98, + 21 + ], + [ + 101, + 25 + ], + [ + 104, + 22 + ], + [ + 107, + 22 + ], + [ + 110, + 23 + ], + [ + 113, + 24 + ], + [ + 116, + 26 + ], + [ + 143, + 26 + ], + [ + 152, + 12 + ] + ], + "doc": "Private: Manages the list of panes within a {WorkspaceView} ", + "range": [ + [ + 8, + 0 + ], + [ + 154, + 19 + ] + ] + } + }, + "13": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 12 + ], + [ + 16, + 1 + ] + ], + "doc": "~Private~" + } + }, + "16": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 16, + 14 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "16": { + "name": "viewForModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "model" + ], + "range": [ + [ + 25, + 16 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "getRoot", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 11 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "17": { + "name": "onRootChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "root" + ], + "range": [ + [ + 33, + 17 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "27": { + "name": "onActivePaneItemChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "activeItem" + ], + "range": [ + [ + 47, + 27 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "15": { + "name": "removeChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 50, + 15 + ], + [ + 55, + 1 + ] + ], + "doc": "~Private~" + } + }, + "55": { + "16": { + "name": "confirmClose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 16 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "16": { + "name": "getPaneViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 16 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "15": { + "name": "indexOfPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "paneView" + ], + "range": [ + [ + 67, + 15 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "15": { + "name": "paneAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 70, + 15 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "16": { + "name": "eachPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 73, + 16 + ], + [ + 79, + 1 + ] + ], + "doc": "~Private~" + } + }, + "79": { + "18": { + "name": "getFocusedPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 18 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 17 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "21": { + "name": "getActivePaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 21 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "17": { + "name": "getActiveView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 92, + 17 + ], + [ + 95, + 1 + ] + ], + "doc": "~Private~" + } + }, + "95": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 95, + 14 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "21": { + "name": "focusNextPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 21 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "focusPreviousPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 25 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "22": { + "name": "focusPaneViewAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 22 + ], + [ + 107, + 1 + ] + ], + "doc": "~Private~" + } + }, + "107": { + "22": { + "name": "focusPaneViewBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 22 + ], + [ + 110, + 1 + ] + ], + "doc": "~Private~" + } + }, + "110": { + "23": { + "name": "focusPaneViewOnLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 23 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "24": { + "name": "focusPaneViewOnRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 113, + 24 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "26": { + "name": "nearestPaneInDirection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "direction" + ], + "range": [ + [ + 116, + 26 + ], + [ + 143, + 1 + ] + ], + "doc": "~Private~" + } + }, + "143": { + "26": { + "name": "boundingBoxForPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "paneView" + ], + "range": [ + [ + 143, + 26 + ], + [ + 152, + 1 + ] + ], + "doc": "~Private~" + } + }, + "152": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 152, + 12 + ], + [ + 154, + 19 + ] + ], + "doc": "Private: Deprecated " + } + } + }, + "exports": 8 + }, + "src/pane-container.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "find", + "exportsProperty": "find" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "3": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "6": { + "0": { + "type": "class", + "name": "PaneContainer", + "bindingType": "exports", + "classProperties": [ + [ + 10, + 12 + ] + ], + "prototypeProperties": [ + [ + 16, + 16 + ], + [ + 23, + 15 + ], + [ + 28, + 21 + ], + [ + 34, + 19 + ], + [ + 38, + 16 + ], + [ + 42, + 12 + ], + [ + 45, + 17 + ], + [ + 48, + 14 + ], + [ + 51, + 11 + ], + [ + 54, + 20 + ], + [ + 64, + 24 + ], + [ + 75, + 17 + ], + [ + 89, + 21 + ], + [ + 92, + 17 + ], + [ + 96, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 6, + 0 + ], + [ + 97, + 42 + ] + ] + } + }, + "10": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 10, + 12 + ], + [ + 10, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "16": { + "16": { + "name": "previousRoot", + "type": "primitive", + "range": [ + [ + 16, + 16 + ], + [ + 16, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "23": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 23, + 15 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 28, + 21 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 34, + 19 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "16": { + "name": "replaceChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "oldChild", + "newChild" + ], + "range": [ + [ + 38, + 16 + ], + [ + 42, + 1 + ] + ], + "doc": "~Private~" + } + }, + "42": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 12 + ], + [ + 45, + 1 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 17 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 48, + 14 + ], + [ + 51, + 1 + ] + ], + "doc": "~Private~" + } + }, + "51": { + "11": { + "name": "saveAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 51, + 11 + ], + [ + 54, + 1 + ] + ], + "doc": "~Private~" + } + }, + "54": { + "20": { + "name": "activateNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 54, + 20 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "24": { + "name": "activatePreviousPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 24 + ], + [ + 75, + 1 + ] + ], + "doc": "~Private~" + } + }, + "75": { + "17": { + "name": "onRootChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "root" + ], + "range": [ + [ + 75, + 17 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "destroyEmptyPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "17": { + "name": "itemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 92, + 17 + ], + [ + 96, + 1 + ] + ], + "doc": "~Private~" + } + }, + "96": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 13 + ], + [ + 97, + 42 + ] + ], + "doc": "Private: Called by Model superclass when destroyed " + } + } + }, + "exports": 6 + }, + "src/pane-row-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "15": { + "name": "PaneAxisView", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 40 + ] + ], + "bindingType": "variable", + "path": "./pane-axis-view" + } + }, + "5": { + "0": { + "type": "class", + "name": "PaneRowView", + "bindingType": "exports", + "classProperties": [ + [ + 6, + 12 + ] + ], + "prototypeProperties": [ + [ + 9, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 10, + 13 + ] + ] + } + }, + "6": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 12 + ], + [ + 9, + 1 + ] + ] + } + }, + "9": { + "13": { + "name": "className", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 13 + ], + [ + 10, + 13 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "src/pane-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "3": { + "20": { + "name": "PropertyAccessors", + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 47 + ] + ], + "bindingType": "variable", + "module": "property-accessors" + } + }, + "5": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "14": { + "0": { + "type": "class", + "name": "PaneView", + "bindingType": "exports", + "classProperties": [ + [ + 18, + 12 + ], + [ + 20, + 12 + ] + ], + "prototypeProperties": [ + [ + 32, + 22 + ], + [ + 34, + 14 + ], + [ + 45, + 16 + ], + [ + 84, + 14 + ], + [ + 89, + 12 + ], + [ + 94, + 18 + ], + [ + 99, + 19 + ], + [ + 104, + 16 + ], + [ + 109, + 20 + ], + [ + 113, + 15 + ], + [ + 121, + 15 + ], + [ + 124, + 25 + ], + [ + 133, + 15 + ], + [ + 139, + 21 + ], + [ + 142, + 23 + ], + [ + 158, + 15 + ], + [ + 161, + 17 + ], + [ + 175, + 15 + ], + [ + 178, + 25 + ], + [ + 182, + 26 + ], + [ + 185, + 15 + ], + [ + 199, + 13 + ], + [ + 201, + 14 + ], + [ + 203, + 11 + ], + [ + 205, + 13 + ], + [ + 210, + 16 + ], + [ + 213, + 16 + ], + [ + 216, + 10 + ] + ], + "doc": " Public: A container which can contains multiple items to be switched between.\n\nItems can be almost anything however most commonly they're {EditorView}s.\n\nMost packages won't need to use this class, unless you're interested in\nbuilding a package that deals with switching between panes or items. ", + "range": [ + [ + 14, + 0 + ], + [ + 219, + 9 + ] + ] + } + }, + "18": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 18, + 12 + ], + [ + 18, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "20": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "wrappedView" + ], + "range": [ + [ + 20, + 12 + ], + [ + 24, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "22": { + "name": "previousActiveItem", + "type": "primitive", + "range": [ + [ + 32, + 22 + ], + [ + 32, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "34": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 34, + 14 + ], + [ + 45, + 1 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 16 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "14": { + "name": "removeItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 84, + 14 + ], + [ + 89, + 1 + ] + ], + "doc": "Deprecated: Use ::destroyItem " + } + }, + "89": { + "12": { + "name": "showItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 89, + 12 + ], + [ + 94, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItem " + } + }, + "94": { + "18": { + "name": "showItemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 94, + 18 + ], + [ + 99, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItemForUri " + } + }, + "99": { + "19": { + "name": "showItemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 99, + 19 + ], + [ + 104, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItemAtIndex " + } + }, + "104": { + "16": { + "name": "showNextItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 16 + ], + [ + 109, + 1 + ] + ], + "doc": "Deprecated: Use ::activateNextItem " + } + }, + "109": { + "20": { + "name": "showPreviousItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 20 + ], + [ + 113, + 1 + ] + ], + "doc": "Deprecated: Use ::activatePreviousItem " + } + }, + "113": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 113, + 15 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "15": { + "name": "onActivated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 121, + 15 + ], + [ + 124, + 1 + ] + ], + "doc": "~Private~" + } + }, + "124": { + "25": { + "name": "onActiveStatusChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "active" + ], + "range": [ + [ + 124, + 25 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "15": { + "name": "getNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 15 + ], + [ + 139, + 1 + ] + ], + "doc": "Public: Returns the next pane, ordered by creation. " + } + }, + "139": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 139, + 21 + ], + [ + 142, + 1 + ] + ], + "doc": "~Private~" + } + }, + "142": { + "23": { + "name": "onActiveItemChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 142, + 23 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "15": { + "name": "onItemAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index" + ], + "range": [ + [ + 158, + 15 + ], + [ + 161, + 1 + ] + ], + "doc": "~Private~" + } + }, + "161": { + "17": { + "name": "onItemRemoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index", + "destroyed" + ], + "range": [ + [ + 161, + 17 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "15": { + "name": "onItemMoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "newIndex" + ], + "range": [ + [ + 175, + 15 + ], + [ + 178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "178": { + "25": { + "name": "onBeforeItemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 178, + 25 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "26": { + "name": "activeItemTitleChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 182, + 26 + ], + [ + 185, + 1 + ] + ], + "doc": "~Private~" + } + }, + "185": { + "15": { + "name": "viewForItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 185, + 15 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "199": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 199, + 13 + ], + [ + 199, + 57 + ] + ], + "doc": "~Private~" + } + }, + "201": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 201, + 14 + ], + [ + 201, + 59 + ] + ], + "doc": "~Private~" + } + }, + "203": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 203, + 11 + ], + [ + 203, + 53 + ] + ], + "doc": "~Private~" + } + }, + "205": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 205, + 13 + ], + [ + 205, + 57 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "16": { + "name": "getContainer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": " Public: Get the container view housing this pane.\n\nReturns a {View}. " + } + }, + "213": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 16 + ], + [ + 216, + 1 + ] + ], + "doc": "~Private~" + } + }, + "216": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "keepData" + ], + "range": [ + [ + 216, + 10 + ], + [ + 219, + 9 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 14 + }, + "src/pane.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "find", + "exportsProperty": "find" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 13 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "compact", + "exportsProperty": "compact" + }, + "16": { + "type": "import", + "range": [ + [ + 0, + 16 + ], + [ + 0, + 21 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "extend", + "exportsProperty": "extend" + }, + "24": { + "type": "import", + "range": [ + [ + 0, + 24 + ], + [ + 0, + 27 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "last", + "exportsProperty": "last" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + }, + "8": { + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 15 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Sequence", + "exportsProperty": "Sequence" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "3": { + "11": { + "name": "PaneAxis", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-axis" + } + }, + "4": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "5": { + "11": { + "type": "primitive", + "range": [ + [ + 5, + 11 + ], + [ + 5, + 14 + ] + ] + } + }, + "11": { + "0": { + "type": "class", + "name": "Pane", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 43, + 19 + ], + [ + 50, + 21 + ], + [ + 57, + 16 + ], + [ + 59, + 12 + ], + [ + 62, + 9 + ], + [ + 67, + 8 + ], + [ + 73, + 12 + ], + [ + 77, + 12 + ], + [ + 82, + 12 + ], + [ + 88, + 17 + ], + [ + 93, + 19 + ], + [ + 97, + 15 + ], + [ + 101, + 20 + ], + [ + 109, + 24 + ], + [ + 117, + 22 + ], + [ + 121, + 23 + ], + [ + 125, + 16 + ], + [ + 137, + 11 + ], + [ + 154, + 12 + ], + [ + 159, + 14 + ], + [ + 175, + 12 + ], + [ + 182, + 18 + ], + [ + 187, + 21 + ], + [ + 193, + 15 + ], + [ + 204, + 16 + ], + [ + 208, + 24 + ], + [ + 211, + 11 + ], + [ + 218, + 13 + ], + [ + 224, + 20 + ], + [ + 239, + 18 + ], + [ + 243, + 20 + ], + [ + 251, + 12 + ], + [ + 263, + 14 + ], + [ + 273, + 13 + ], + [ + 278, + 14 + ], + [ + 283, + 22 + ], + [ + 290, + 18 + ], + [ + 300, + 13 + ], + [ + 309, + 14 + ], + [ + 318, + 11 + ], + [ + 327, + 13 + ], + [ + 330, + 9 + ], + [ + 344, + 23 + ], + [ + 356, + 32 + ] + ], + "doc": " Public: A container for multiple items, one of which is *active* at a given\ntime. With the default packages, a tab is displayed for each item and the\nactive item's view is displayed. ", + "range": [ + [ + 11, + 0 + ], + [ + 364, + 19 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 29, + 15 + ], + [ + 43, + 1 + ] + ], + "doc": "~Private~" + } + }, + "43": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 19 + ], + [ + 50, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during serialization. " + } + }, + "50": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 50, + 21 + ], + [ + 57, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during deserialization. " + } + }, + "57": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 16 + ], + [ + 57, + 51 + ] + ], + "doc": "Private: Called by the view layer to construct a view for this model. " + } + }, + "59": { + "12": { + "name": "isActive", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 12 + ], + [ + 59, + 21 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 62, + 9 + ], + [ + 67, + 1 + ] + ], + "doc": "Private: Called by the view layer to indicate that the pane has gained focus. " + } + }, + "67": { + "8": { + "name": "blur", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 8 + ], + [ + 73, + 1 + ] + ], + "doc": "Private: Called by the view layer to indicate that the pane has lost focus. " + } + }, + "73": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 12 + ], + [ + 77, + 1 + ] + ], + "doc": " Public: Makes this pane the *active* pane, causing it to gain focus\nimmediately. " + } + }, + "77": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 77, + 12 + ], + [ + 77, + 20 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "12": { + "name": "getItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 12 + ], + [ + 88, + 1 + ] + ], + "doc": " Public: Get the items in this pane.\n\nReturns an {Array} of items. " + } + }, + "88": { + "17": { + "name": "getActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 17 + ], + [ + 93, + 1 + ] + ], + "doc": " Public: Get the active pane item in this pane.\n\nReturns a pane item. " + } + }, + "93": { + "19": { + "name": "getActiveEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 93, + 19 + ], + [ + 97, + 1 + ] + ], + "doc": " Public: Returns an {Editor} if the pane item is an {Editor}, or null\notherwise. " + } + }, + "97": { + "15": { + "name": "itemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 97, + 15 + ], + [ + 101, + 1 + ] + ], + "doc": "Public: Returns the item at the specified index. " + } + }, + "101": { + "20": { + "name": "activateNextItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 20 + ], + [ + 109, + 1 + ] + ], + "doc": "Public: Makes the next item active. " + } + }, + "109": { + "24": { + "name": "activatePreviousItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 24 + ], + [ + 117, + 1 + ] + ], + "doc": "Public: Makes the previous item active. " + } + }, + "117": { + "22": { + "name": "getActiveItemIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 22 + ], + [ + 121, + 1 + ] + ], + "doc": "Private: Returns the index of the current active item. " + } + }, + "121": { + "23": { + "name": "activateItemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 121, + 23 + ], + [ + 125, + 1 + ] + ], + "doc": "Private: Makes the item at the given index active. " + } + }, + "125": { + "16": { + "name": "activateItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 125, + 16 + ], + [ + 137, + 1 + ] + ], + "doc": "Private: Makes the given item active, adding the item if necessary. " + } + }, + "137": { + "11": { + "name": "addItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index" + ], + "range": [ + [ + 137, + 11 + ], + [ + 154, + 1 + ] + ], + "doc": " Public: Adds the item to the pane.\n\nitem - The item to add. It can be a model with an associated view or a view.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns the added item " + } + }, + "154": { + "12": { + "name": "addItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items", + "index" + ], + "range": [ + [ + 154, + 12 + ], + [ + 159, + 1 + ] + ], + "doc": " Public: Adds the given items to the pane.\n\nitems - An {Array} of items to add. Items can be models with associated\n views or views. Any items that are already present in items will\n not be added.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns an {Array} of the added items " + } + }, + "159": { + "14": { + "name": "removeItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "destroying" + ], + "range": [ + [ + 159, + 14 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "12": { + "name": "moveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "newIndex" + ], + "range": [ + [ + 175, + 12 + ], + [ + 182, + 1 + ] + ], + "doc": "Public: Moves the given item to the specified index. " + } + }, + "182": { + "18": { + "name": "moveItemToPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "pane", + "index" + ], + "range": [ + [ + 182, + 18 + ], + [ + 187, + 1 + ] + ], + "doc": "Public: Moves the given item to the given index at another pane. " + } + }, + "187": { + "21": { + "name": "destroyActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 187, + 21 + ], + [ + 193, + 1 + ] + ], + "doc": "Public: Destroys the currently active item and make the next item active. " + } + }, + "193": { + "15": { + "name": "destroyItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 193, + 15 + ], + [ + 204, + 1 + ] + ], + "doc": " Public: Destroys the given item. If it is the active item, activate the next\none. If this is the last item, also destroys the pane. " + } + }, + "204": { + "16": { + "name": "destroyItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 204, + 16 + ], + [ + 208, + 1 + ] + ], + "doc": "Public: Destroys all items and destroys the pane. " + } + }, + "208": { + "24": { + "name": "destroyInactiveItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 208, + 24 + ], + [ + 211, + 1 + ] + ], + "doc": "Public: Destroys all items but the active one. " + } + }, + "211": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 211, + 11 + ], + [ + 218, + 1 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 218, + 13 + ], + [ + 224, + 1 + ] + ], + "doc": "Private: Called by model superclass. " + } + }, + "224": { + "20": { + "name": "promptToSaveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 224, + 20 + ], + [ + 239, + 1 + ] + ], + "doc": " Public: Prompts the user to save the given item if it can be saved and is\ncurrently unsaved. " + } + }, + "239": { + "18": { + "name": "saveActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 239, + 18 + ], + [ + 243, + 1 + ] + ], + "doc": "Public: Saves the active item. " + } + }, + "243": { + "20": { + "name": "saveActiveItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 243, + 20 + ], + [ + 251, + 1 + ] + ], + "doc": "Public: Saves the active item at a prompted-for location. " + } + }, + "251": { + "12": { + "name": "saveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "nextAction" + ], + "range": [ + [ + 251, + 12 + ], + [ + 263, + 1 + ] + ], + "doc": " Public: Saves the specified item.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " + } + }, + "263": { + "14": { + "name": "saveItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "nextAction" + ], + "range": [ + [ + 263, + 14 + ], + [ + 273, + 1 + ] + ], + "doc": " Public: Saves the given item at a prompted-for location.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " + } + }, + "273": { + "13": { + "name": "saveItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 273, + 13 + ], + [ + 278, + 1 + ] + ], + "doc": "Public: Saves all items. " + } + }, + "278": { + "14": { + "name": "itemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 278, + 14 + ], + [ + 283, + 1 + ] + ], + "doc": " Public: Returns the first item that matches the given URI or undefined if\nnone exists. " + } + }, + "283": { + "22": { + "name": "activateItemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 283, + 22 + ], + [ + 290, + 1 + ] + ], + "doc": " Public: Activates the first item that matches the given URI. Returns a\nboolean indicating whether a matching item was found. " + } + }, + "290": { + "18": { + "name": "copyActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 290, + 18 + ], + [ + 300, + 1 + ] + ], + "doc": "~Private~" + } + }, + "300": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 300, + 13 + ], + [ + 309, + 1 + ] + ], + "doc": " Public: Creates a new pane to the left of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "309": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 309, + 14 + ], + [ + 318, + 1 + ] + ], + "doc": " Public: Creates a new pane to the right of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "318": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 318, + 11 + ], + [ + 327, + 1 + ] + ], + "doc": " Public: Creates a new pane above the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "327": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 327, + 13 + ], + [ + 330, + 1 + ] + ], + "doc": " Public: Creates a new pane below the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "330": { + "9": { + "name": "split", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "orientation", + "side", + "params" + ], + "range": [ + [ + 330, + 9 + ], + [ + 344, + 1 + ] + ], + "doc": "~Private~" + } + }, + "344": { + "23": { + "name": "findLeftmostSibling", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 344, + 23 + ], + [ + 356, + 1 + ] + ], + "doc": " Private: If the parent is a horizontal axis, returns its first child if it is a pane;\notherwise returns this pane. " + } + }, + "356": { + "32": { + "name": "findOrCreateRightmostSibling", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 356, + 32 + ], + [ + 364, + 19 + ] + ], + "doc": " Private: If the parent is a horizontal axis, returns its last child if it is a pane;\notherwise returns a new pane created by splitting this pane rightward. " + } + } + }, + "exports": 11 + }, + "src/project.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "9": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 9, + 15 + ], + [ + 9, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "10": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer" + } + }, + "11": { + "1": { + "type": "import", + "range": [ + [ + 11, + 1 + ], + [ + 11, + 9 + ] + ], + "bindingType": "variable", + "module": "pathwatcher", + "name": "Directory", + "exportsProperty": "Directory" + } + }, + "13": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 13, + 9 + ], + [ + 13, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "14": { + "7": { + "name": "Task", + "type": "import", + "range": [ + [ + 14, + 7 + ], + [ + 14, + 22 + ] + ], + "bindingType": "variable", + "path": "./task" + } + }, + "15": { + "6": { + "name": "Git", + "type": "import", + "range": [ + [ + 15, + 6 + ], + [ + 15, + 20 + ] + ], + "bindingType": "variable", + "path": "./git" + } + }, + "21": { + "0": { + "type": "class", + "name": "Project", + "bindingType": "exports", + "classProperties": [ + [ + 26, + 25 + ] + ], + "prototypeProperties": [ + [ + 31, + 15 + ], + [ + 40, + 19 + ], + [ + 44, + 21 + ], + [ + 48, + 13 + ], + [ + 52, + 15 + ], + [ + 57, + 28 + ], + [ + 61, + 11 + ], + [ + 64, + 11 + ], + [ + 68, + 11 + ], + [ + 85, + 20 + ], + [ + 95, + 11 + ], + [ + 109, + 14 + ], + [ + 114, + 12 + ], + [ + 124, + 8 + ], + [ + 130, + 12 + ], + [ + 139, + 14 + ], + [ + 143, + 18 + ], + [ + 146, + 21 + ], + [ + 150, + 21 + ], + [ + 163, + 17 + ], + [ + 168, + 15 + ], + [ + 172, + 19 + ], + [ + 184, + 15 + ], + [ + 194, + 13 + ], + [ + 198, + 20 + ], + [ + 207, + 16 + ], + [ + 211, + 23 + ], + [ + 221, + 8 + ], + [ + 268, + 11 + ], + [ + 300, + 24 + ], + [ + 304, + 14 + ], + [ + 315, + 18 + ], + [ + 320, + 20 + ], + [ + 325, + 14 + ], + [ + 330, + 14 + ] + ], + "doc": " Public: Represents a project that's opened in Atom.\n\nAn instance of this class is always available as the `atom.project` global. ", + "range": [ + [ + 21, + 0 + ], + [ + 332, + 31 + ] + ] + } + }, + "26": { + "25": { + "name": "pathForRepositoryUrl", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "repoUrl" + ], + "range": [ + [ + 26, + 25 + ], + [ + 31, + 1 + ] + ], + "doc": "Public: Find the local path for the given repository URL. " + } + }, + "31": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 31, + 15 + ], + [ + 40, + 1 + ] + ], + "doc": "~Private~" + } + }, + "40": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 40, + 19 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 44, + 21 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 13 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "15": { + "name": "destroyRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 15 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "28": { + "name": "destroyUnretainedBuffers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 28 + ], + [ + 61, + 1 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "11": { + "name": "getRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 11 + ], + [ + 61, + 18 + ] + ], + "doc": "Public: Returns the {Git} repository if available. " + } + }, + "64": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 11 + ], + [ + 68, + 1 + ] + ], + "doc": "Public: Returns the project's fullpath. " + } + }, + "68": { + "11": { + "name": "setPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "projectPath" + ], + "range": [ + [ + 68, + 11 + ], + [ + 85, + 1 + ] + ], + "doc": "Public: Sets the project's fullpath. " + } + }, + "85": { + "20": { + "name": "getRootDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 85, + 20 + ], + [ + 95, + 1 + ] + ], + "doc": "Public: Returns the root {Directory} object for this project. " + } + }, + "95": { + "11": { + "name": "resolve", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 95, + 11 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Given a uri, this resolves it relative to the project directory. If\nthe path is already absolute or if it is prefixed with a scheme, it is\nreturned unchanged.\n\nuri - The {String} name of the path to convert.\n\nReturns a {String} or undefined if the uri is not missing or empty. " + } + }, + "109": { + "14": { + "name": "relativize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fullPath" + ], + "range": [ + [ + 109, + 14 + ], + [ + 114, + 1 + ] + ], + "doc": "Public: Make the given path relative to the project directory. " + } + }, + "114": { + "12": { + "name": "contains", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToCheck" + ], + "range": [ + [ + 114, + 12 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Returns whether the given path is inside this project. " + } + }, + "124": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "options" + ], + "range": [ + [ + 124, + 8 + ], + [ + 130, + 1 + ] + ], + "doc": " Private: Given a path to a file, this constructs and associates a new\n{Editor}, showing the file.\n\nfilePath - The {String} path of the file to associate with.\noptions - Options that you can pass to the {Editor} constructor.\n\nReturns a promise that resolves to an {Editor}. " + } + }, + "130": { + "12": { + "name": "openSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "options" + ], + "range": [ + [ + 130, + 12 + ], + [ + 139, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "139": { + "14": { + "name": "getBuffers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 139, + 14 + ], + [ + 143, + 1 + ] + ], + "doc": " Private: Retrieves all the {TextBuffer}s in the project; that is, the\nbuffers for all open files.\n\nReturns an {Array} of {TextBuffer}s. " + } + }, + "143": { + "18": { + "name": "isPathModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 143, + 18 + ], + [ + 146, + 1 + ] + ], + "doc": "Private: Is the buffer for the given path modified? " + } + }, + "146": { + "21": { + "name": "findBufferForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 146, + 21 + ], + [ + 150, + 1 + ] + ], + "doc": "~Private~" + } + }, + "150": { + "21": { + "name": "bufferForPathSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 150, + 21 + ], + [ + 163, + 1 + ] + ], + "doc": "Private: Only to be used in specs " + } + }, + "163": { + "17": { + "name": "bufferForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 163, + 17 + ], + [ + 168, + 1 + ] + ], + "doc": " Private: Given a file path, this retrieves or creates a new {TextBuffer}.\n\nIf the `filePath` already has a `buffer`, that value is used instead. Otherwise,\n`text` is used as the contents of the new buffer.\n\nfilePath - A {String} representing a path. If `null`, an \"Untitled\" buffer is created.\n\nReturns a promise that resolves to the {TextBuffer}. " + } + }, + "168": { + "15": { + "name": "bufferForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 168, + 15 + ], + [ + 172, + 1 + ] + ], + "doc": "~Private~" + } + }, + "172": { + "19": { + "name": "buildBufferSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "absoluteFilePath" + ], + "range": [ + [ + 172, + 19 + ], + [ + 184, + 1 + ] + ], + "doc": "Private: Still needed when deserializing a tokenized buffer " + } + }, + "184": { + "15": { + "name": "buildBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "absoluteFilePath" + ], + "range": [ + [ + 184, + 15 + ], + [ + 194, + 1 + ] + ], + "doc": " Private: Given a file path, this sets its {TextBuffer}.\n\nabsoluteFilePath - A {String} representing a path.\ntext - The {String} text to use as a buffer.\n\nReturns a promise that resolves to the {TextBuffer}. " + } + }, + "194": { + "13": { + "name": "addBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "options" + ], + "range": [ + [ + 194, + 13 + ], + [ + 198, + 1 + ] + ], + "doc": "~Private~" + } + }, + "198": { + "20": { + "name": "addBufferAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "index", + "options" + ], + "range": [ + [ + 198, + 20 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "16": { + "name": "removeBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer" + ], + "range": [ + [ + 207, + 16 + ], + [ + 211, + 1 + ] + ], + "doc": " Private: Removes a {TextBuffer} association from the project.\n\nReturns the removed {TextBuffer}. " + } + }, + "211": { + "23": { + "name": "removeBufferAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index", + "options" + ], + "range": [ + [ + 211, + 23 + ], + [ + 221, + 1 + ] + ], + "doc": "~Private~" + } + }, + "221": { + "8": { + "name": "scan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "options", + "iterator" + ], + "range": [ + [ + 221, + 8 + ], + [ + 268, + 1 + ] + ], + "doc": " Public: Performs a search across all the files in the project.\n\nregex - A {RegExp} to search with.\noptions - An optional options {Object} (default: {}):\n :paths - An {Array} of glob patterns to search within\niterator - A {Function} callback on each file found " + } + }, + "268": { + "11": { + "name": "replace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "replacementText", + "filePaths", + "iterator" + ], + "range": [ + [ + 268, + 11 + ], + [ + 300, + 1 + ] + ], + "doc": " Public: Performs a replace across all the specified files in the project.\n\nregex - A {RegExp} to search with.\nreplacementText - Text to replace all matches of regex with\nfilePaths - List of file path strings to run the replace on.\niterator - A {Function} callback on each file with replacements:\n `({filePath, replacements}) ->`. " + } + }, + "300": { + "24": { + "name": "buildEditorForBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "editorOptions" + ], + "range": [ + [ + 300, + 24 + ], + [ + 304, + 1 + ] + ], + "doc": "~Private~" + } + }, + "304": { + "14": { + "name": "eachBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 304, + 14 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "18": { + "name": "registerOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 315, + 18 + ], + [ + 320, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "320": { + "20": { + "name": "unregisterOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 320, + 20 + ], + [ + 325, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "325": { + "14": { + "name": "eachEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 325, + 14 + ], + [ + 330, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "330": { + "14": { + "name": "getEditors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 330, + 14 + ], + [ + 332, + 31 + ] + ], + "doc": "Deprecated: delegate " + } + } + }, + "exports": 21 + }, + "src/react-editor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "defaults", + "exportsProperty": "defaults" + } + }, + "3": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 3, + 13 + ], + [ + 3, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer" + } + }, + "4": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "5": { + "18": { + "name": "EditorComponent", + "type": "import", + "range": [ + [ + 5, + 18 + ], + [ + 5, + 45 + ] + ], + "bindingType": "variable", + "path": "./editor-component" + } + }, + "8": { + "0": { + "type": "class", + "name": "ReactEditorView", + "bindingType": "exports", + "classProperties": [ + [ + 9, + 12 + ] + ], + "prototypeProperties": [ + [ + 14, + 17 + ], + [ + 16, + 15 + ], + [ + 58, + 13 + ], + [ + 60, + 12 + ], + [ + 69, + 15 + ], + [ + 77, + 13 + ], + [ + 83, + 14 + ], + [ + 89, + 18 + ], + [ + 92, + 26 + ], + [ + 95, + 26 + ], + [ + 98, + 26 + ], + [ + 101, + 25 + ], + [ + 105, + 34 + ], + [ + 108, + 34 + ], + [ + 111, + 21 + ], + [ + 116, + 16 + ], + [ + 122, + 13 + ], + [ + 127, + 14 + ], + [ + 132, + 11 + ], + [ + 137, + 13 + ], + [ + 141, + 11 + ], + [ + 144, + 9 + ], + [ + 150, + 8 + ], + [ + 154, + 8 + ], + [ + 158, + 20 + ], + [ + 165, + 12 + ], + [ + 168, + 10 + ], + [ + 171, + 12 + ], + [ + 174, + 28 + ], + [ + 177, + 27 + ], + [ + 180, + 17 + ], + [ + 183, + 17 + ], + [ + 186, + 15 + ], + [ + 189, + 15 + ], + [ + 192, + 19 + ], + [ + 195, + 17 + ], + [ + 198, + 22 + ], + [ + 201, + 15 + ], + [ + 204, + 21 + ], + [ + 207, + 18 + ], + [ + 210, + 18 + ], + [ + 213, + 11 + ], + [ + 216, + 11 + ], + [ + 219, + 14 + ], + [ + 222, + 18 + ], + [ + 225, + 19 + ], + [ + 228, + 24 + ], + [ + 230, + 17 + ], + [ + 232, + 16 + ], + [ + 234, + 10 + ], + [ + 236, + 22 + ], + [ + 242, + 27 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 243, + 49 + ] + ] + } + }, + "9": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 9, + 12 + ], + [ + 14, + 1 + ] + ] + } + }, + "14": { + "17": { + "name": "focusOnAttach", + "type": "primitive", + "range": [ + [ + 14, + 17 + ], + [ + 14, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorOrParams", + "props" + ], + "range": [ + [ + 16, + 15 + ], + [ + 58, + 1 + ] + ], + "doc": "~Private~" + } + }, + "58": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 58, + 13 + ], + [ + 58, + 22 + ] + ], + "doc": "~Private~" + } + }, + "69": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 69, + 15 + ], + [ + 77, + 1 + ] + ], + "doc": "~Private~" + } + }, + "77": { + "13": { + "name": "scrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 77, + 13 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "14": { + "name": "scrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 83, + 14 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "18": { + "name": "scrollToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 18 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 92, + 26 + ], + [ + 95, + 1 + ] + ], + "doc": "~Private~" + } + }, + "95": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 95, + 26 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 26 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "scrollToPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 101, + 25 + ], + [ + 105, + 1 + ] + ], + "doc": "~Private~" + } + }, + "105": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 105, + 34 + ], + [ + 108, + 1 + ] + ], + "doc": "~Private~" + } + }, + "108": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 108, + 34 + ], + [ + 111, + 1 + ] + ], + "doc": "~Private~" + } + }, + "111": { + "21": { + "name": "appendToLinesView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 111, + 21 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 16 + ], + [ + 122, + 1 + ] + ], + "doc": "~Private~" + } + }, + "122": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 122, + 13 + ], + [ + 127, + 1 + ] + ], + "doc": "Public: Split the editor view left. " + } + }, + "127": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 127, + 14 + ], + [ + 132, + 1 + ] + ], + "doc": "Public: Split the editor view right. " + } + }, + "132": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 132, + 11 + ], + [ + 137, + 1 + ] + ], + "doc": "Public: Split the editor view up. " + } + }, + "137": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 13 + ], + [ + 141, + 1 + ] + ], + "doc": "Public: Split the editor view down. " + } + }, + "141": { + "11": { + "name": "getPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 11 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 144, + 9 + ], + [ + 150, + 1 + ] + ], + "doc": "~Private~" + } + }, + "150": { + "8": { + "name": "hide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 150, + 8 + ], + [ + 154, + 1 + ] + ], + "doc": "~Private~" + } + }, + "154": { + "8": { + "name": "show", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 8 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "20": { + "name": "pollComponentDOM", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 20 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 12 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 10 + ], + [ + 171, + 1 + ] + ], + "doc": "~Private~" + } + }, + "171": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 12 + ], + [ + 174, + 1 + ] + ], + "doc": "~Private~" + } + }, + "174": { + "28": { + "name": "getFirstVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 174, + 28 + ], + [ + 177, + 1 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "27": { + "name": "getLastVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 27 + ], + [ + 180, + 1 + ] + ], + "doc": "~Private~" + } + }, + "180": { + "17": { + "name": "getFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 180, + 17 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "17": { + "name": "setFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 183, + 17 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "15": { + "name": "getFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 186, + 15 + ], + [ + 189, + 1 + ] + ], + "doc": "~Private~" + } + }, + "189": { + "15": { + "name": "setFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 189, + 15 + ], + [ + 192, + 1 + ] + ], + "doc": "~Private~" + } + }, + "192": { + "19": { + "name": "setWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "widthInChars" + ], + "range": [ + [ + 192, + 19 + ], + [ + 195, + 1 + ] + ], + "doc": "~Private~" + } + }, + "195": { + "17": { + "name": "setLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 195, + 17 + ], + [ + 198, + 1 + ] + ], + "doc": "~Private~" + } + }, + "198": { + "22": { + "name": "setShowIndentGuide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showIndentGuide" + ], + "range": [ + [ + 198, + 22 + ], + [ + 201, + 1 + ] + ], + "doc": "~Private~" + } + }, + "201": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 201, + 15 + ], + [ + 204, + 1 + ] + ], + "doc": "~Private~" + } + }, + "204": { + "21": { + "name": "setShowInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showInvisibles" + ], + "range": [ + [ + 204, + 21 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 207, + 18 + ], + [ + 210, + 1 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 18 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 11 + ], + [ + 216, + 1 + ] + ], + "doc": "~Private~" + } + }, + "216": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 216, + 11 + ], + [ + 219, + 1 + ] + ], + "doc": "~Private~" + } + }, + "219": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 219, + 14 + ], + [ + 222, + 1 + ] + ], + "doc": "~Private~" + } + }, + "222": { + "18": { + "name": "isInputEnabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 222, + 18 + ], + [ + 225, + 1 + ] + ], + "doc": "~Private~" + } + }, + "225": { + "19": { + "name": "setInputEnabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "inputEnabled" + ], + "range": [ + [ + 225, + 19 + ], + [ + 228, + 1 + ] + ], + "doc": "~Private~" + } + }, + "228": { + "24": { + "name": "requestDisplayUpdate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 228, + 24 + ], + [ + 228, + 25 + ] + ], + "doc": "~Private~" + } + }, + "230": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 230, + 17 + ], + [ + 230, + 18 + ] + ], + "doc": "~Private~" + } + }, + "232": { + "16": { + "name": "resetDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 232, + 16 + ], + [ + 232, + 17 + ] + ], + "doc": "~Private~" + } + }, + "234": { + "10": { + "name": "redraw", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 10 + ], + [ + 234, + 11 + ] + ], + "doc": "~Private~" + } + }, + "236": { + "22": { + "name": "setPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "placeholderText" + ], + "range": [ + [ + 236, + 22 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "27": { + "name": "lineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 242, + 27 + ], + [ + 243, + 49 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/replace-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "PathReplacer", + "exportsProperty": "PathReplacer" + } + } + }, + "exports": 2 + }, + "src/repository-status-handler.coffee": { + "objects": { + "0": { + "6": { + "name": "Git", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "git-utils" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + } + }, + "exports": 3 + }, + "src/row-map.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 15 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "spliceWithArray", + "exportsProperty": "spliceWithArray" + } + }, + "16": { + "0": { + "type": "class", + "name": "RowMap", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 15 + ], + [ + 21, + 14 + ], + [ + 27, + 30 + ], + [ + 40, + 30 + ], + [ + 50, + 30 + ], + [ + 61, + 17 + ], + [ + 83, + 23 + ], + [ + 93, + 23 + ], + [ + 103, + 35 + ], + [ + 116, + 11 + ] + ], + "doc": " Private: Used by the display buffer to map screen rows to buffer rows and vice-versa.\nThis mapping may not be 1:1 due to folds and soft-wraps. This object maintains\nan array of regions, which contain `bufferRows` and `screenRows` fields.\n\nRectangular Regions:\nIf a region has the same number of buffer rows and screen rows, it is referred\nto as \"rectangular\", and represents one or more non-soft-wrapped, non-folded\nlines.\n\nTrapezoidal Regions:\nIf a region has one buffer row and more than one screen row, it represents a\nsoft-wrapped line. If a region has one screen row and more than one buffer\nrow, it represents folded lines ", + "range": [ + [ + 16, + 0 + ], + [ + 118, + 35 + ] + ] + } + }, + "17": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 15 + ], + [ + 21, + 1 + ] + ] + } + }, + "21": { + "14": { + "name": "getRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 14 + ], + [ + 27, + 1 + ] + ], + "doc": "Public: Returns a copy of all the regions in the map " + } + }, + "27": { + "30": { + "name": "screenRowRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 27, + 30 + ], + [ + 40, + 1 + ] + ], + "doc": " Public: Returns an end-row-exclusive range of screen rows corresponding to\nthe given buffer row. If the buffer row is soft-wrapped, the range may span\nmultiple screen rows. Otherwise it will span a single screen row. " + } + }, + "40": { + "30": { + "name": "bufferRowRangeForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetScreenRow" + ], + "range": [ + [ + 40, + 30 + ], + [ + 50, + 1 + ] + ], + "doc": " Public: Returns an end-row-exclusive range of buffer rows corresponding to\nthe given screen row. If the screen row is the first line of a folded range\nof buffer rows, the range may span multiple buffer rows. Otherwise it will\nspan a single buffer row. " + } + }, + "50": { + "30": { + "name": "bufferRowRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 50, + 30 + ], + [ + 61, + 1 + ] + ], + "doc": " Public: If the given buffer row is part of a folded row range, returns that\nrow range. Otherwise returns a range spanning only the given buffer row. " + } + }, + "61": { + "17": { + "name": "spliceRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "bufferRowCount", + "regions" + ], + "range": [ + [ + 61, + 17 + ], + [ + 83, + 1 + ] + ], + "doc": " Public: Given a starting buffer row, the number of buffer rows to replace,\nand an array of regions of shape {bufferRows: n, screenRows: m}, splices\nthe regions at the appropriate location in the map. This method is used by\ndisplay buffer to keep the map updated when the underlying buffer changes. " + } + }, + "83": { + "23": { + "name": "traverseToBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 83, + 23 + ], + [ + 93, + 1 + ] + ], + "doc": "~Private~" + } + }, + "93": { + "23": { + "name": "traverseToScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetScreenRow" + ], + "range": [ + [ + 93, + 23 + ], + [ + 103, + 1 + ] + ], + "doc": "~Private~" + } + }, + "103": { + "35": { + "name": "mergeAdjacentRectangularRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startIndex", + "endIndex" + ], + "range": [ + [ + 103, + 35 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 11 + ], + [ + 118, + 35 + ] + ], + "doc": "Public: Returns an array of strings describing the map's regions. " + } + } + }, + "exports": 16 + }, + "src/scan-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "PathSearcher", + "exportsProperty": "PathSearcher" + }, + "15": { + "type": "import", + "range": [ + [ + 0, + 15 + ], + [ + 0, + 25 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "PathScanner", + "exportsProperty": "PathScanner" + }, + "28": { + "type": "import", + "range": [ + [ + 0, + 28 + ], + [ + 0, + 33 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "search", + "exportsProperty": "search" + } + } + }, + "exports": 2 + }, + "src/scoped-properties.coffee": { + "objects": { + "0": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "3": { + "0": { + "type": "class", + "name": "ScopedProperties", + "bindingType": "exports", + "classProperties": [ + [ + 4, + 9 + ] + ], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 13, + 12 + ], + [ + 17, + 14 + ] + ], + "doc": "~Private~", + "range": [ + [ + 3, + 0 + ], + [ + 18, + 39 + ] + ] + } + }, + "4": { + "9": { + "name": "load", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "scopedPropertiesPath", + "callback" + ], + "range": [ + [ + 4, + 9 + ], + [ + 11, + 1 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 11, + 43 + ] + ], + "doc": "~Private~" + } + }, + "13": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 12 + ], + [ + 17, + 1 + ] + ], + "doc": "~Private~" + } + }, + "17": { + "14": { + "name": "deactivate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 14 + ], + [ + 18, + 39 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 3 + }, + "src/scroll-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "21": { + "0": { + "type": "class", + "name": "ScrollView", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 22, + 14 + ] + ], + "doc": " Public: Represents a view that scrolls.\n\nSubclasses must call `super` if overriding the `initialize` method or else\nthe following events won't be handled by the ScrollView.\n\n## Events\n * `core:move-up`\n * `core:move-down`\n * `core:page-up`\n * `core:page-down`\n * `core:move-to-top`\n * `core:move-to-bottom`\n\n## Requiring in packages\n\n```coffee\n {ScrollView} = require 'atom'\n``` ", + "range": [ + [ + 21, + 0 + ], + [ + 28, + 51 + ] + ] + } + }, + "22": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 22, + 14 + ], + [ + 28, + 51 + ] + ] + } + } + }, + "exports": 21 + }, + "src/scrollbar-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 6 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "extend", + "exportsProperty": "extend" + }, + "9": { + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "21": { + "name": "ScrollbarComponent", + "type": "function", + "range": [ + [ + 5, + 21 + ], + [ + 69, + 28 + ] + ] + } + }, + "6": { + "15": { + "name": "'ScrollbarComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 34 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 21 + ], + [ + 36, + 1 + ] + ], + "doc": null + } + }, + "36": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 36, + 25 + ], + [ + 45, + 1 + ] + ], + "doc": null + } + }, + "45": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 22 + ], + [ + 57, + 1 + ] + ], + "doc": null + } + }, + "57": { + "12": { + "name": "onScroll", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 12 + ], + [ + 69, + 28 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/scrollbar-corner-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "27": { + "name": "ScrollbarCornerComponent", + "type": "function", + "range": [ + [ + 5, + 27 + ], + [ + 23, + 99 + ] + ] + } + }, + "6": { + "15": { + "name": "'ScrollbarCornerComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 40 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 22, + 1 + ] + ], + "doc": null + } + }, + "22": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 22, + 25 + ], + [ + 23, + 99 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/select-list-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "4": { + "15": { + "name": "EditorView", + "type": "import", + "range": [ + [ + 4, + 15 + ], + [ + 4, + 37 + ] + ], + "bindingType": "variable", + "path": "./editor-view" + } + }, + "5": { + "14": { + "type": "primitive", + "range": [ + [ + 5, + 14 + ], + [ + 5, + 41 + ] + ] + } + }, + "36": { + "0": { + "type": "class", + "name": "SelectListView", + "bindingType": "exports", + "classProperties": [ + [ + 37, + 12 + ] + ], + "prototypeProperties": [ + [ + 46, + 12 + ], + [ + 47, + 19 + ], + [ + 48, + 17 + ], + [ + 49, + 14 + ], + [ + 55, + 14 + ], + [ + 90, + 24 + ], + [ + 102, + 12 + ], + [ + 109, + 12 + ], + [ + 119, + 14 + ], + [ + 136, + 18 + ], + [ + 143, + 16 + ], + [ + 174, + 19 + ], + [ + 179, + 15 + ], + [ + 181, + 26 + ], + [ + 186, + 22 + ], + [ + 191, + 18 + ], + [ + 197, + 20 + ], + [ + 207, + 23 + ], + [ + 213, + 19 + ], + [ + 216, + 20 + ], + [ + 233, + 15 + ], + [ + 244, + 13 + ], + [ + 258, + 16 + ], + [ + 261, + 21 + ], + [ + 266, + 23 + ], + [ + 269, + 16 + ], + [ + 275, + 13 + ], + [ + 283, + 10 + ] + ], + "doc": " Public: Provides a view that renders a list of items with an editor that\nfilters the items. Used by many packages such as the fuzzy-finder,\ncommand-palette, symbols-view and autocomplete.\n\nSubclasses must implement the following methods:\n\n* {::viewForItem}\n* {::confirmed}\n\n## Requiring in packages\n\n```coffee\n{SelectListView} = require 'atom'\n\nclass MySelectListView extends SelectListView\n initialize: ->\n super\n @addClass('overlay from-top')\n @setItems(['Hello', 'World'])\n atom.workspaceView.append(this)\n @focusFilterEditor()\n\n viewForItem: (item) ->\n \"
  • #{item}
  • \"\n\n confirmed: (item) ->\n console.log(\"#{item} was selected\")\n``` ", + "range": [ + [ + 36, + 0 + ], + [ + 291, + 34 + ] + ] + } + }, + "37": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 37, + 12 + ], + [ + 46, + 1 + ] + ] + } + }, + "46": { + "12": { + "name": "maxItems", + "type": "primitive", + "range": [ + [ + 46, + 12 + ], + [ + 46, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "47": { + "19": { + "name": "scheduleTimeout", + "type": "primitive", + "range": [ + [ + 47, + 19 + ], + [ + 47, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "48": { + "17": { + "name": "inputThrottle", + "type": "primitive", + "range": [ + [ + 48, + 17 + ], + [ + 48, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "49": { + "14": { + "name": "cancelling", + "type": "primitive", + "range": [ + [ + 49, + 14 + ], + [ + 49, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "55": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 14 + ], + [ + 90, + 1 + ] + ], + "doc": " Public: Initialize the select list view.\n\nThis method can be overridden by subclasses but `super` should always\nbe called. " + } + }, + "90": { + "24": { + "name": "schedulePopulateList", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 24 + ], + [ + 102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "102": { + "12": { + "name": "setItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 102, + 12 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Set the array of items to display in the list.\n\nThis should be model items not actual views. {::viewForItem} will be\ncalled to render the item when it is being appended to the list view.\n\nitems - The {Array} of model items to display in the list (default: []). " + } + }, + "109": { + "12": { + "name": "setError", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 109, + 12 + ], + [ + 119, + 1 + ] + ], + "doc": " Public: Set the error message to display.\n\nmessage - The {String} error message (default: ''). " + } + }, + "119": { + "14": { + "name": "setLoading", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 119, + 14 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Set the loading message to display.\n\nmessage - The {String} loading message (default: ''). " + } + }, + "136": { + "18": { + "name": "getFilterQuery", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 18 + ], + [ + 143, + 1 + ] + ], + "doc": " Public: Get the filter query to use when fuzzy filtering the visible\nelements.\n\nBy default this method returns the text in the mini editor but it can be\noverridden by subclasses if needed.\n\nReturns a {String} to use when fuzzy filtering the elements to display. " + } + }, + "143": { + "16": { + "name": "populateList", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 143, + 16 + ], + [ + 174, + 1 + ] + ], + "doc": " Public: Populate the list view with the model items previously set by\ncalling {::setItems}.\n\nSubclasses may override this method but should always call `super`. " + } + }, + "174": { + "19": { + "name": "getEmptyMessage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "itemCount", + "filteredItemCount" + ], + "range": [ + [ + 174, + 19 + ], + [ + 174, + 70 + ] + ], + "doc": " Public: Get the message to display when there are no items.\n\nSubclasses may override this method to customize the message.\n\nitemCount - The {Number} of items in the array specified to {::setItems}\nfilteredItemCount - The {Number} of items that pass the fuzzy filter test.\n\nReturns a {String} message (default: 'No matches found'). " + } + }, + "179": { + "15": { + "name": "setMaxItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 179, + 15 + ], + [ + 179, + 28 + ] + ], + "doc": " Public: Set the maximum numbers of items to display in the list.\n\nmaxItems - The maximum {Number} of items to display. " + } + }, + "181": { + "26": { + "name": "selectPreviousItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 181, + 26 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "22": { + "name": "selectNextItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 186, + 22 + ], + [ + 191, + 1 + ] + ], + "doc": "~Private~" + } + }, + "191": { + "18": { + "name": "selectItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 191, + 18 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "20": { + "name": "scrollToItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 197, + 20 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "23": { + "name": "getSelectedItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 207, + 23 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "19": { + "name": "getSelectedItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 19 + ], + [ + 216, + 1 + ] + ], + "doc": " Public: Get the model item that is currently selected in the list view.\n\nReturns a model item. " + } + }, + "216": { + "20": { + "name": "confirmSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 216, + 20 + ], + [ + 233, + 1 + ] + ], + "doc": "~Private~" + } + }, + "233": { + "15": { + "name": "viewForItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 233, + 15 + ], + [ + 244, + 1 + ] + ], + "doc": " Public: Create a view for the given model item.\n\nThis method must be overridden by subclasses.\n\nThis is called when the item is about to appended to the list view.\n\nitem - The model item being rendered. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a String of HTML, DOM element, jQuery object, or View. " + } + }, + "244": { + "13": { + "name": "confirmed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 244, + 13 + ], + [ + 258, + 1 + ] + ], + "doc": " Public: Callback function for when an item is selected.\n\nThis method must be overridden by subclasses.\n\nitem - The selected model item. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a DOM element, jQuery object, or {View}. " + } + }, + "258": { + "16": { + "name": "getFilterKey", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 258, + 16 + ], + [ + 258, + 17 + ] + ], + "doc": " Public: Get the property name to use when filtering items.\n\nThis method may be overridden by classes to allow fuzzy filtering based\non a specific property of the item objects.\n\nFor example if the objects you pass to {::setItems} are of the type\n`{\"id\": 3, \"name\": \"Atom\"}` then you would return `\"name\"` from this method\nto fuzzy filter by that property when text is entered into this view's\neditor.\n\nReturns the property name to fuzzy filter by. " + } + }, + "261": { + "21": { + "name": "focusFilterEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 21 + ], + [ + 266, + 1 + ] + ], + "doc": "Public: Focus the fuzzy filter editor view. " + } + }, + "266": { + "23": { + "name": "storeFocusedElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 266, + 23 + ], + [ + 269, + 1 + ] + ], + "doc": " Public: Store the currently focused element. This element will be given\nback focus when {::cancel} is called. " + } + }, + "269": { + "16": { + "name": "restoreFocus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 16 + ], + [ + 275, + 1 + ] + ], + "doc": "~Private~" + } + }, + "275": { + "13": { + "name": "cancelled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 275, + 13 + ], + [ + 283, + 1 + ] + ], + "doc": "~Private~" + } + }, + "283": { + "10": { + "name": "cancel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 283, + 10 + ], + [ + 291, + 34 + ] + ], + "doc": " Public: Cancel and close this select list view.\n\nThis restores focus to the previously focused element if\n{::storeFocusedElement} was called prior to this view being attached. " + } + } + }, + "exports": 36 + }, + "src/selection-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 8 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + } + }, + "4": { + "0": { + "type": "class", + "name": "SelectionView", + "bindingType": "exports", + "classProperties": [ + [ + 6, + 12 + ] + ], + "prototypeProperties": [ + [ + 9, + 11 + ], + [ + 10, + 16 + ], + [ + 12, + 14 + ], + [ + 19, + 17 + ], + [ + 37, + 16 + ], + [ + 50, + 26 + ], + [ + 57, + 16 + ], + [ + 61, + 18 + ], + [ + 64, + 18 + ], + [ + 67, + 19 + ], + [ + 70, + 19 + ], + [ + 73, + 13 + ], + [ + 79, + 15 + ], + [ + 82, + 10 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 84, + 9 + ] + ] + } + }, + "6": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 12 + ], + [ + 9, + 1 + ] + ], + "doc": "~Private~" + } + }, + "9": { + "11": { + "name": "regions", + "type": "primitive", + "range": [ + [ + 9, + 11 + ], + [ + 9, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "16": { + "name": "needsRemoval", + "type": "primitive", + "range": [ + [ + 10, + 16 + ], + [ + 10, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 14 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 19, + 17 + ], + [ + 37, + 1 + ] + ], + "doc": "~Private~" + } + }, + "37": { + "16": { + "name": "appendRegion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rows", + "start", + "end" + ], + "range": [ + [ + 37, + 16 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "26": { + "name": "getCenterPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 26 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "16": { + "name": "clearRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 16 + ], + [ + 61, + 1 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 18 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 18 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "19": { + "name": "needsAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 19 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 70, + 19 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "13": { + "name": "highlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 13 + ], + [ + 79, + 1 + ] + ], + "doc": "~Private~" + } + }, + "79": { + "15": { + "name": "unhighlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 15 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 10 + ], + [ + 84, + 9 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/selection.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "pick", + "exportsProperty": "pick" + } + }, + "6": { + "0": { + "type": "class", + "name": "Selection", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 7, + 10 + ], + [ + 8, + 10 + ], + [ + 9, + 10 + ], + [ + 10, + 22 + ], + [ + 11, + 12 + ], + [ + 12, + 19 + ], + [ + 14, + 15 + ], + [ + 25, + 11 + ], + [ + 28, + 12 + ], + [ + 34, + 19 + ], + [ + 38, + 11 + ], + [ + 45, + 14 + ], + [ + 49, + 22 + ], + [ + 53, + 18 + ], + [ + 60, + 18 + ], + [ + 64, + 18 + ], + [ + 74, + 18 + ], + [ + 91, + 21 + ], + [ + 98, + 25 + ], + [ + 101, + 25 + ], + [ + 104, + 25 + ], + [ + 107, + 25 + ], + [ + 110, + 14 + ], + [ + 114, + 11 + ], + [ + 118, + 9 + ], + [ + 126, + 14 + ], + [ + 138, + 18 + ], + [ + 144, + 14 + ], + [ + 155, + 18 + ], + [ + 163, + 26 + ], + [ + 184, + 26 + ], + [ + 188, + 15 + ], + [ + 192, + 14 + ], + [ + 196, + 12 + ], + [ + 200, + 14 + ], + [ + 205, + 15 + ], + [ + 210, + 18 + ], + [ + 214, + 13 + ], + [ + 219, + 27 + ], + [ + 224, + 32 + ], + [ + 229, + 21 + ], + [ + 234, + 27 + ], + [ + 239, + 21 + ], + [ + 244, + 31 + ], + [ + 248, + 32 + ], + [ + 252, + 28 + ], + [ + 257, + 36 + ], + [ + 262, + 40 + ], + [ + 266, + 21 + ], + [ + 284, + 22 + ], + [ + 289, + 21 + ], + [ + 316, + 14 + ], + [ + 349, + 20 + ], + [ + 383, + 10 + ], + [ + 399, + 22 + ], + [ + 405, + 25 + ], + [ + 412, + 13 + ], + [ + 417, + 30 + ], + [ + 422, + 30 + ], + [ + 428, + 27 + ], + [ + 434, + 27 + ], + [ + 443, + 10 + ], + [ + 455, + 21 + ], + [ + 462, + 21 + ], + [ + 467, + 22 + ], + [ + 477, + 14 + ], + [ + 496, + 13 + ], + [ + 522, + 23 + ], + [ + 532, + 26 + ], + [ + 542, + 22 + ], + [ + 546, + 18 + ], + [ + 551, + 7 + ], + [ + 561, + 8 + ], + [ + 579, + 8 + ], + [ + 584, + 19 + ], + [ + 595, + 13 + ], + [ + 603, + 25 + ], + [ + 606, + 28 + ], + [ + 609, + 23 + ], + [ + 617, + 18 + ], + [ + 625, + 9 + ], + [ + 641, + 11 + ], + [ + 644, + 22 + ] + ], + "doc": "Public: Represents a selection in the {Editor}. ", + "range": [ + [ + 6, + 0 + ], + [ + 647, + 45 + ] + ] + } + }, + "7": { + "10": { + "name": "cursor", + "type": "primitive", + "range": [ + [ + 7, + 10 + ], + [ + 7, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "8": { + "10": { + "name": "marker", + "type": "primitive", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "10": { + "name": "editor", + "type": "primitive", + "range": [ + [ + 9, + 10 + ], + [ + 9, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "22": { + "name": "initialScreenRange", + "type": "primitive", + "range": [ + [ + 10, + 22 + ], + [ + 10, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "11": { + "12": { + "name": "wordwise", + "type": "primitive", + "range": [ + [ + 11, + 12 + ], + [ + 11, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "19": { + "name": "needsAutoscroll", + "type": "primitive", + "range": [ + [ + 12, + 19 + ], + [ + 12, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 14, + 15 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 11 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "12": { + "name": "finalize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 12 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 19 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "11": { + "name": "isEmpty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 38, + 11 + ], + [ + 45, + 1 + ] + ], + "doc": "Public: Determines if the selection contains anything. " + } + }, + "45": { + "14": { + "name": "isReversed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 14 + ], + [ + 49, + 1 + ] + ], + "doc": " Public: Determines if the ending position of a marker is greater than the\nstarting position.\n\nThis can happen when, for example, you highlight text \"up\" in a {TextBuffer}. " + } + }, + "49": { + "22": { + "name": "isSingleScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 22 + ], + [ + 53, + 1 + ] + ], + "doc": "Public: Returns whether the selection is a single line or not. " + } + }, + "53": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 18 + ], + [ + 60, + 1 + ] + ], + "doc": "Public: Returns the screen {Range} for the selection. " + } + }, + "60": { + "18": { + "name": "setScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 60, + 18 + ], + [ + 64, + 1 + ] + ], + "doc": " Public: Modifies the screen range for the selection.\n\nscreenRange - The new {Range} to use.\noptions - A hash of options matching those found in {::setBufferRange}. " + } + }, + "64": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 18 + ], + [ + 74, + 1 + ] + ], + "doc": "Public: Returns the buffer {Range} for the selection. " + } + }, + "74": { + "18": { + "name": "setBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 74, + 18 + ], + [ + 91, + 1 + ] + ], + "doc": " Public: Modifies the buffer {Range} for the selection.\n\nscreenRange - The new {Range} to select.\noptions - An {Object} with the keys:\n :preserveFolds - if `true`, the fold settings are preserved after the\n selection moves.\n :autoscroll - if `true`, the {Editor} scrolls to the new selection. " + } + }, + "91": { + "21": { + "name": "getBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 21 + ], + [ + 98, + 1 + ] + ], + "doc": " Public: Returns the starting and ending buffer rows the selection is\nhighlighting.\n\nReturns an {Array} of two {Number}s: the starting row, and the ending row. " + } + }, + "98": { + "25": { + "name": "getTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 25 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "getTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 25 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "25": { + "name": "getHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 25 + ], + [ + 107, + 1 + ] + ], + "doc": "~Private~" + } + }, + "107": { + "25": { + "name": "getHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 25 + ], + [ + 110, + 1 + ] + ], + "doc": "~Private~" + } + }, + "110": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 14 + ], + [ + 114, + 1 + ] + ], + "doc": "~Private~" + } + }, + "114": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 114, + 11 + ], + [ + 118, + 1 + ] + ], + "doc": "Public: Returns the text in the selection. " + } + }, + "118": { + "9": { + "name": "clear", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 118, + 9 + ], + [ + 126, + 1 + ] + ], + "doc": "Public: Clears the selection, moving the marker to the head. " + } + }, + "126": { + "14": { + "name": "selectWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 14 + ], + [ + 138, + 1 + ] + ], + "doc": " Public: Modifies the selection to encompass the current word.\n\nReturns a {Range}. " + } + }, + "138": { + "18": { + "name": "expandOverWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 18 + ], + [ + 144, + 1 + ] + ], + "doc": " Public: Expands the newest selection to include the entire word on which\nthe cursors rests. " + } + }, + "144": { + "14": { + "name": "selectLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 144, + 14 + ], + [ + 155, + 1 + ] + ], + "doc": " Public: Selects an entire line in the buffer.\n\nrow - The line {Number} to select (default: the row of the cursor). " + } + }, + "155": { + "18": { + "name": "expandOverLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 155, + 18 + ], + [ + 163, + 1 + ] + ], + "doc": " Public: Expands the newest selection to include the entire line on which\nthe cursor currently rests.\n\nIt also includes the newline character. " + } + }, + "163": { + "26": { + "name": "selectToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 163, + 26 + ], + [ + 184, + 1 + ] + ], + "doc": " Public: Selects the text from the current cursor position to a given screen\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "184": { + "26": { + "name": "selectToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 184, + 26 + ], + [ + 188, + 1 + ] + ], + "doc": " Public: Selects the text from the current cursor position to a given buffer\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "188": { + "15": { + "name": "selectRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 15 + ], + [ + 192, + 1 + ] + ], + "doc": "Public: Selects the text one position right of the cursor. " + } + }, + "192": { + "14": { + "name": "selectLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 192, + 14 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Selects the text one position left of the cursor. " + } + }, + "196": { + "12": { + "name": "selectUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 196, + 12 + ], + [ + 200, + 1 + ] + ], + "doc": "Public: Selects all the text one position above the cursor. " + } + }, + "200": { + "14": { + "name": "selectDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 200, + 14 + ], + [ + 205, + 1 + ] + ], + "doc": "Public: Selects all the text one position below the cursor. " + } + }, + "205": { + "15": { + "name": "selectToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 205, + 15 + ], + [ + 210, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the top of\nthe buffer. " + } + }, + "210": { + "18": { + "name": "selectToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 18 + ], + [ + 214, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the bottom\nof the buffer. " + } + }, + "214": { + "13": { + "name": "selectAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 214, + 13 + ], + [ + 219, + 1 + ] + ], + "doc": "Public: Selects all the text in the buffer. " + } + }, + "219": { + "27": { + "name": "selectToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 219, + 27 + ], + [ + 224, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the line. " + } + }, + "224": { + "32": { + "name": "selectToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 32 + ], + [ + 229, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the first\ncharacter of the line. " + } + }, + "229": { + "21": { + "name": "selectToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 229, + 21 + ], + [ + 234, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the end of\nthe line. " + } + }, + "234": { + "27": { + "name": "selectToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 27 + ], + [ + 239, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the word. " + } + }, + "239": { + "21": { + "name": "selectToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 239, + 21 + ], + [ + 244, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the end of\nthe word. " + } + }, + "244": { + "31": { + "name": "selectToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 244, + 31 + ], + [ + 248, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next word. " + } + }, + "248": { + "32": { + "name": "selectToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 248, + 32 + ], + [ + 252, + 1 + ] + ], + "doc": "Public: Selects text to the previous word boundary. " + } + }, + "252": { + "28": { + "name": "selectToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 252, + 28 + ], + [ + 257, + 1 + ] + ], + "doc": "Public: Selects text to the next word boundary. " + } + }, + "257": { + "36": { + "name": "selectToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 257, + 36 + ], + [ + 262, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next paragraph. " + } + }, + "262": { + "40": { + "name": "selectToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 262, + 40 + ], + [ + 266, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the previous paragraph. " + } + }, + "266": { + "21": { + "name": "addSelectionBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 266, + 21 + ], + [ + 284, + 1 + ] + ], + "doc": "Public: Moves the selection down one row. " + } + }, + "284": { + "22": { + "name": "getGoalBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 22 + ], + [ + 289, + 1 + ] + ], + "doc": "FIXME: I have no idea what this does. " + } + }, + "289": { + "21": { + "name": "addSelectionAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 289, + 21 + ], + [ + 316, + 1 + ] + ], + "doc": "Public: Moves the selection up one row. " + } + }, + "316": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 316, + 14 + ], + [ + 349, + 1 + ] + ], + "doc": " Public: Replaces text at the current selection.\n\ntext - A {String} representing the text to add\noptions - An {Object} with keys:\n :select - if `true`, selects the newly added text.\n :autoIndent - if `true`, indents all inserted text appropriately.\n :autoIndentNewline - if `true`, indent newline appropriately.\n :autoDecreaseIndent - if `true`, decreases indent level appropriately\n (for example, when a closing bracket is inserted).\n :undo - if `skip`, skips the undo stack for this operation. " + } + }, + "349": { + "20": { + "name": "normalizeIndents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "indentBasis" + ], + "range": [ + [ + 349, + 20 + ], + [ + 383, + 1 + ] + ], + "doc": " Public: Indents the given text to the suggested level based on the grammar.\n\ntext - The {String} to indent within the selection.\nindentBasis - The beginning indent level. " + } + }, + "383": { + "10": { + "name": "indent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 383, + 10 + ], + [ + 399, + 1 + ] + ], + "doc": " Private: Indent the current line(s).\n\nIf the selection is empty, indents the current line if the cursor precedes\nnon-whitespace characters, and otherwise inserts a tab. If the selection is\nnon empty, calls {::indentSelectedRows}.\n\noptions - A {Object} with the keys:\n :autoIndent - If `true`, the line is indented to an automatically-inferred\n level. Otherwise, {Editor::getTabText} is inserted. " + } + }, + "399": { + "22": { + "name": "indentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 399, + 22 + ], + [ + 405, + 1 + ] + ], + "doc": "Public: If the selection spans multiple rows, indent all of them. " + } + }, + "405": { + "25": { + "name": "setIndentationForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line", + "indentLevel" + ], + "range": [ + [ + 405, + 25 + ], + [ + 412, + 1 + ] + ], + "doc": "Public: ? " + } + }, + "412": { + "13": { + "name": "backspace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 412, + 13 + ], + [ + 417, + 1 + ] + ], + "doc": " Public: Removes the first character before the selection if the selection\nis empty otherwise it deletes the selection. " + } + }, + "417": { + "30": { + "name": "backspaceToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 417, + 30 + ], + [ + 422, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " + } + }, + "422": { + "30": { + "name": "backspaceToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 422, + 30 + ], + [ + 428, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " + } + }, + "428": { + "27": { + "name": "deleteToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 27 + ], + [ + 434, + 1 + ] + ], + "doc": " Public: Removes from the start of the selection to the beginning of the\ncurrent word if the selection is empty otherwise it deletes the selection. " + } + }, + "434": { + "27": { + "name": "deleteToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 434, + 27 + ], + [ + 443, + 1 + ] + ], + "doc": " Public: Removes from the beginning of the line which the selection begins on\nall the way through to the end of the selection. " + } + }, + "443": { + "10": { + "name": "delete", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 443, + 10 + ], + [ + 455, + 1 + ] + ] + } + }, + "455": { + "21": { + "name": "deleteToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 455, + 21 + ], + [ + 462, + 1 + ] + ], + "doc": " Public: If the selection is empty, removes all text from the cursor to the\nend of the line. If the cursor is already at the end of the line, it\nremoves the following newline. If the selection isn't empty, only deletes\nthe contents of the selection. " + } + }, + "462": { + "21": { + "name": "deleteToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 462, + 21 + ], + [ + 467, + 1 + ] + ], + "doc": " Public: Removes the selection or all characters from the start of the\nselection to the end of the current word if nothing is selected. " + } + }, + "467": { + "22": { + "name": "deleteSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 467, + 22 + ], + [ + 477, + 1 + ] + ], + "doc": "Public: Removes only the selected text. " + } + }, + "477": { + "14": { + "name": "deleteLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 477, + 14 + ], + [ + 496, + 1 + ] + ], + "doc": " Public: Removes the line at the beginning of the selection if the selection\nis empty unless the selection spans multiple lines in which case all lines\nare removed. " + } + }, + "496": { + "13": { + "name": "joinLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 496, + 13 + ], + [ + 522, + 1 + ] + ], + "doc": " Public: Joins the current line with the one below it.\n\nIf there selection spans more than one line, all the lines are joined together. " + } + }, + "522": { + "23": { + "name": "outdentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 522, + 23 + ], + [ + 532, + 1 + ] + ], + "doc": "Public: Removes one level of indent from the currently selected rows. " + } + }, + "532": { + "26": { + "name": "autoIndentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 532, + 26 + ], + [ + 542, + 1 + ] + ], + "doc": " Public: Sets the indentation level of all selected rows to values suggested\nby the relevant grammars. " + } + }, + "542": { + "22": { + "name": "toggleLineComments", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 542, + 22 + ], + [ + 546, + 1 + ] + ], + "doc": " Public: Wraps the selected lines in comments if they aren't currently part\nof a comment.\n\nRemoves the comment if they are currently wrapped in a comment.\n\nReturns an Array of the commented {Range}s. " + } + }, + "546": { + "18": { + "name": "cutToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 546, + 18 + ], + [ + 551, + 1 + ] + ], + "doc": "Public: Cuts the selection until the end of the line. " + } + }, + "551": { + "7": { + "name": "cut", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 551, + 7 + ], + [ + 561, + 1 + ] + ], + "doc": "Public: Copies the selection to the clipboard and then deletes it. " + } + }, + "561": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 561, + 8 + ], + [ + 579, + 1 + ] + ], + "doc": " Public: Copies the current selection to the clipboard.\n\nIf the `maintainClipboard` is set to `true`, a specific metadata property\nis created to store each content copied to the clipboard. The clipboard\n`text` still contains the concatenation of the clipboard with the\ncurrent selection. " + } + }, + "579": { + "8": { + "name": "fold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 579, + 8 + ], + [ + 584, + 1 + ] + ], + "doc": "Public: Creates a fold containing the current selection. " + } + }, + "584": { + "19": { + "name": "modifySelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 584, + 19 + ], + [ + 595, + 1 + ] + ], + "doc": "~Private~" + } + }, + "595": { + "13": { + "name": "plantTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 595, + 13 + ], + [ + 603, + 1 + ] + ], + "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " + } + }, + "603": { + "25": { + "name": "intersectsBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 603, + 25 + ], + [ + 606, + 1 + ] + ], + "doc": " Public: Identifies if a selection intersects with a given buffer range.\n\nbufferRange - A {Range} to check against.\n\nReturns a Boolean. " + } + }, + "606": { + "28": { + "name": "intersectsScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 606, + 28 + ], + [ + 609, + 1 + ] + ], + "doc": "~Private~" + } + }, + "609": { + "23": { + "name": "intersectsScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 609, + 23 + ], + [ + 617, + 1 + ] + ], + "doc": "~Private~" + } + }, + "617": { + "18": { + "name": "intersectsWith", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection" + ], + "range": [ + [ + 617, + 18 + ], + [ + 625, + 1 + ] + ], + "doc": " Public: Identifies if a selection intersects with another selection.\n\notherSelection - A {Selection} to check against.\n\nReturns a Boolean. " + } + }, + "625": { + "9": { + "name": "merge", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection", + "options" + ], + "range": [ + [ + 625, + 9 + ], + [ + 641, + 1 + ] + ], + "doc": " Public: Combines the given selection into this selection and then destroys\nthe given selection.\n\notherSelection - A {Selection} to merge with.\noptions - A hash of options matching those found in {::setBufferRange}. " + } + }, + "641": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection" + ], + "range": [ + [ + 641, + 11 + ], + [ + 644, + 1 + ] + ], + "doc": " Public: Compare this selection's buffer range to another selection's buffer\nrange.\n\nSee {Range::compare} for more details.\n\notherSelection - A {Selection} to compare against. " + } + }, + "644": { + "22": { + "name": "screenRangeChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 644, + 22 + ], + [ + 647, + 45 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 6 + }, + "src/space-pen-extensions.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "11": { + "name": "spacePen", + "type": "import", + "range": [ + [ + 1, + 11 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "space-pen" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "6": { + "9": { + "name": "spacePen", + "type": "primitive", + "range": [ + [ + 6, + 9 + ], + [ + 6, + 16 + ] + ] + } + }, + "7": { + "20": { + "name": "jQuery", + "type": "primitive", + "range": [ + [ + 7, + 20 + ], + [ + 7, + 25 + ] + ] + } + }, + "8": { + "19": { + "name": "jQuery.cleanData", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "elements" + ], + "range": [ + [ + 8, + 19 + ], + [ + 11, + 0 + ] + ], + "doc": null + } + }, + "13": { + "2": { + "type": "primitive", + "range": [ + [ + 13, + 2 + ], + [ + 19, + 19 + ] + ] + } + }, + "14": { + "4": { + "type": "primitive", + "range": [ + [ + 14, + 4 + ], + [ + 15, + 12 + ] + ] + }, + "10": { + "name": "1000", + "type": "primitive", + "range": [ + [ + 14, + 10 + ], + [ + 14, + 13 + ] + ] + } + }, + "15": { + "10": { + "name": "100", + "type": "primitive", + "range": [ + [ + 15, + 10 + ], + [ + 15, + 12 + ] + ] + } + }, + "16": { + "13": { + "name": "'body'", + "type": "primitive", + "range": [ + [ + 16, + 13 + ], + [ + 16, + 18 + ] + ] + } + }, + "17": { + "8": { + "type": "primitive", + "range": [ + [ + 17, + 8 + ], + [ + 17, + 11 + ] + ] + } + }, + "18": { + "13": { + "name": "'auto top'", + "type": "primitive", + "range": [ + [ + 18, + 13 + ], + [ + 18, + 22 + ] + ] + } + }, + "19": { + "19": { + "name": "2", + "type": "primitive", + "range": [ + [ + 19, + 19 + ], + [ + 19, + 19 + ] + ] + } + }, + "21": { + "21": { + "name": "humanizeKeystrokes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "keystroke" + ], + "range": [ + [ + 21, + 21 + ], + [ + 25, + 0 + ] + ], + "doc": "~Private~" + } + }, + "26": { + "15": { + "name": "getKeystroke", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bindings" + ], + "range": [ + [ + 26, + 15 + ], + [ + 31, + 0 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "26": { + "name": "requireBootstrapTooltip", + "type": "function", + "range": [ + [ + 32, + 26 + ], + [ + 35, + 59 + ] + ] + } + }, + "36": { + "23": { + "name": "jQuery.fn.setTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "tooltipOptions", + null + ], + "range": [ + [ + 36, + 23 + ], + [ + 49, + 0 + ] + ], + "doc": null + } + }, + "50": { + "24": { + "name": "jQuery.fn.hideTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 24 + ], + [ + 55, + 0 + ] + ], + "doc": null + } + }, + "56": { + "27": { + "name": "jQuery.fn.destroyTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 27 + ], + [ + 61, + 38 + ] + ], + "doc": null + } + }, + "68": { + "36": { + "name": "getKeystroke", + "type": "primitive", + "range": [ + [ + 68, + 36 + ], + [ + 68, + 47 + ] + ] + } + }, + "69": { + "42": { + "name": "humanizeKeystrokes", + "type": "primitive", + "range": [ + [ + 69, + 42 + ], + [ + 69, + 59 + ] + ] + } + }, + "71": { + "49": { + "name": "get", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 71, + 49 + ], + [ + 71, + 55 + ] + ], + "doc": null + } + } + }, + "exports": 73 + }, + "src/subscriber-mixin.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "1": { + "18": { + "type": "primitive", + "range": [ + [ + 1, + 18 + ], + [ + 1, + 55 + ] + ] + }, + "39": { + "name": "componentDidUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 1, + 39 + ], + [ + 1, + 55 + ] + ], + "doc": null + } + } + }, + "exports": 3 + }, + "src/syntax.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 11 + ] + ], + "bindingType": "variable", + "module": "clear-cut", + "name": "specificity", + "exportsProperty": "specificity" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 15 + ] + ], + "bindingType": "variable", + "module": "first-mate", + "name": "GrammarRegistry", + "exportsProperty": "GrammarRegistry" + }, + "18": { + "type": "import", + "range": [ + [ + 4, + 18 + ], + [ + 4, + 30 + ] + ], + "bindingType": "variable", + "module": "first-mate", + "name": "ScopeSelector", + "exportsProperty": "ScopeSelector" + } + }, + "5": { + "22": { + "name": "ScopedPropertyStore", + "type": "import", + "range": [ + [ + 5, + 22 + ], + [ + 5, + 52 + ] + ], + "bindingType": "variable", + "module": "scoped-property-store" + } + }, + "6": { + "20": { + "name": "PropertyAccessors", + "type": "import", + "range": [ + [ + 6, + 20 + ], + [ + 6, + 47 + ] + ], + "bindingType": "variable", + "module": "property-accessors" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 8, + 4 + ], + [ + 8, + 5 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + } + }, + "9": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 9, + 8 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "18": { + "0": { + "type": "class", + "name": "Syntax", + "bindingType": "exports", + "classProperties": [ + [ + 23, + 16 + ] + ], + "prototypeProperties": [ + [ + 28, + 15 + ], + [ + 32, + 13 + ], + [ + 35, + 15 + ], + [ + 42, + 17 + ], + [ + 49, + 20 + ], + [ + 52, + 19 + ], + [ + 67, + 15 + ], + [ + 75, + 22 + ], + [ + 84, + 32 + ] + ], + "doc": " Public: Syntax class holding the grammars used for tokenizing.\n\nAn instance of this class is always available as the `atom.syntax` global.\n\nThe Syntax class also contains properties for things such as the\nlanguage-specific comment regexes. ", + "range": [ + [ + 18, + 0 + ], + [ + 85, + 52 + ] + ] + } + }, + "23": { + "16": { + "name": "deserialize", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 23, + 16 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 15 + ], + [ + 32, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "13": { + "name": "serialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 32, + 13 + ], + [ + 35, + 1 + ] + ], + "doc": "~Private~" + } + }, + "35": { + "15": { + "name": "createToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "scopes" + ], + "range": [ + [ + 35, + 15 + ], + [ + 35, + 59 + ] + ], + "doc": "~Private~" + } + }, + "42": { + "17": { + "name": "addProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 42, + 17 + ], + [ + 49, + 1 + ] + ], + "doc": "~Private~" + } + }, + "49": { + "20": { + "name": "removeProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 49, + 20 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "19": { + "name": "clearProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 19 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "15": { + "name": "getProperty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scope", + "keyPath" + ], + "range": [ + [ + 67, + 15 + ], + [ + 75, + 1 + ] + ], + "doc": " Public: Get a property for the given scope and key path.\n\n## Example\n```coffee\ncomment = atom.syntax.getProperty(['.source.ruby'], 'editor.commentStart')\nconsole.log(comment) # '# '\n```\n\nscope - An {Array} of {String} scopes.\nkeyPath - A {String} key path.\n\nReturns a {String} property value or undefined. " + } + }, + "75": { + "22": { + "name": "propertiesForScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scope", + "keyPath" + ], + "range": [ + [ + 75, + 22 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "32": { + "name": "cssSelectorFromScopeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeSelector" + ], + "range": [ + [ + 84, + 32 + ], + [ + 85, + 52 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 18 + }, + "src/task-bootstrap.coffee": { + "objects": { + "0": { + "1": { + "type": "primitive", + "name": "userAgent", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "exportsProperty": "userAgent" + }, + "12": { + "type": "primitive", + "name": "taskPath", + "range": [ + [ + 0, + 12 + ], + [ + 0, + 19 + ] + ], + "exportsProperty": "taskPath" + } + }, + "3": { + "15": { + "name": "setupGlobals", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 3, + 15 + ], + [ + 28, + 0 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "15": { + "name": "handleEvents", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 15 + ], + [ + 42, + 0 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "10": { + "name": "handler", + "type": "import", + "range": [ + [ + 45, + 10 + ], + [ + 45, + 26 + ] + ], + "bindingType": "variable", + "module": "askPat" + } + } + }, + "exports": {} + }, + "src/task.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "16": { + "name": "child_process", + "type": "import", + "range": [ + [ + 1, + 16 + ], + [ + 1, + 38 + ] + ], + "bindingType": "variable", + "module": "child_process", + "builtin": true + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "21": { + "0": { + "type": "class", + "name": "Task", + "bindingType": "exports", + "classProperties": [ + [ + 29, + 9 + ] + ], + "prototypeProperties": [ + [ + 41, + 12 + ], + [ + 47, + 15 + ], + [ + 73, + 16 + ], + [ + 82, + 9 + ], + [ + 95, + 8 + ], + [ + 102, + 13 + ] + ], + "doc": " Public: Run a node script in a separate process.\n\nUsed by the fuzzy-finder.\n\n## Events\n\n* task:log - Emitted when console.log is called within the task.\n* task:warn - Emitted when console.warn is called within the task.\n* task:error - Emitted when console.error is called within the task.\n* task:completed - Emitted when the task has succeeded or failed.\n\n## Requiring in packages\n\n```coffee\n {Task} = require 'atom'\n``` ", + "range": [ + [ + 21, + 0 + ], + [ + 109, + 10 + ] + ] + } + }, + "29": { + "9": { + "name": "once", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "taskPath", + "args" + ], + "range": [ + [ + 29, + 9 + ], + [ + 41, + 1 + ] + ], + "doc": " Public: A helper method to easily launch and run a task once.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file which\n exports a single {Function} to execute.\nargs - The arguments to pass to the exported function. " + } + }, + "41": { + "12": { + "name": "callback", + "type": "primitive", + "range": [ + [ + 41, + 12 + ], + [ + 41, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "47": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "taskPath" + ], + "range": [ + [ + 47, + 15 + ], + [ + 73, + 1 + ] + ], + "doc": " Public: Creates a task.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file that\n exports a single {Function} to execute. " + } + }, + "73": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 16 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Routes messages from the child to the appropriate event. " + } + }, + "82": { + "9": { + "name": "start", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args", + "callback" + ], + "range": [ + [ + 82, + 9 + ], + [ + 95, + 1 + ] + ], + "doc": " Public: Starts the task.\n\nargs - The arguments to pass to the function exported by this task's script.\ncallback - An optional {Function} to call when the task completes. " + } + }, + "95": { + "8": { + "name": "send", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 95, + 8 + ], + [ + 102, + 1 + ] + ], + "doc": " Public: Send message to the task.\n\nmessage - The message to send to the task. " + } + }, + "102": { + "13": { + "name": "terminate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 13 + ], + [ + 109, + 10 + ] + ], + "doc": " Public: Forcefully stop the running task.\n\nNo events are emitted. " + } + } + }, + "exports": 21 + }, + "src/text-utils.coffee": { + "objects": { + "0": { + "18": { + "name": "isHighSurrogate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 0, + 18 + ], + [ + 2, + 0 + ] + ], + "doc": "~Private~" + } + }, + "3": { + "17": { + "name": "isLowSurrogate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 3, + 17 + ], + [ + 11, + 21 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "18": { + "name": "isSurrogatePair", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 12, + 18 + ], + [ + 22, + 21 + ] + ], + "doc": " Private: Is the character at the given index the start of a high/low surrogate pair?\n\nstring - The {String} to check for a surrogate pair.\nindex - The {Number} index to look for a surrogate pair at.\n\nReturn a {Boolean}. " + } + }, + "23": { + "20": { + "name": "getCharacterCount", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 23, + 20 + ], + [ + 32, + 22 + ] + ], + "doc": " Private: Get the number of characters in the string accounting for surrogate pairs.\n\nThis method counts high/low surrogate pairs as a single character and will\nalways returns a value less than or equal to `string.length`.\n\nstring - The {String} to count the number of full characters in.\n\nReturns a {Number}. " + } + }, + "33": { + "19": { + "name": "hasSurrogatePair", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 33, + 19 + ], + [ + 35, + 0 + ] + ], + "doc": " Private: Does the given string contain at least one surrogate pair?\n\nstring - The {String} to check for the presence of surrogate pairs.\n\nReturns a {Boolean}. " + } + } + }, + "exports": 36 + }, + "src/theme-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "8": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "9": { + "1": { + "type": "import", + "range": [ + [ + 9, + 1 + ], + [ + 9, + 4 + ] + ], + "bindingType": "variable", + "module": "pathwatcher", + "name": "File", + "exportsProperty": "File" + } + }, + "15": { + "0": { + "type": "class", + "name": "ThemeManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 18, + 15 + ], + [ + 22, + 21 + ], + [ + 27, + 18 + ], + [ + 31, + 18 + ], + [ + 35, + 19 + ], + [ + 39, + 19 + ], + [ + 42, + 20 + ], + [ + 47, + 24 + ], + [ + 57, + 18 + ], + [ + 82, + 20 + ], + [ + 87, + 20 + ], + [ + 93, + 20 + ], + [ + 96, + 18 + ], + [ + 109, + 25 + ], + [ + 116, + 25 + ], + [ + 121, + 22 + ], + [ + 133, + 23 + ], + [ + 137, + 25 + ], + [ + 142, + 26 + ], + [ + 145, + 21 + ], + [ + 160, + 21 + ], + [ + 169, + 18 + ], + [ + 175, + 22 + ], + [ + 197, + 14 + ], + [ + 200, + 20 + ], + [ + 209, + 19 + ] + ], + "doc": " Public: Handles loading and activating available themes.\n\nAn instance of this class is always available as the `atom.themes` global. ", + "range": [ + [ + 15, + 0 + ], + [ + 222, + 31 + ] + ] + } + }, + "18": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 18, + 15 + ], + [ + 22, + 1 + ] + ], + "doc": "~Private~" + } + }, + "22": { + "21": { + "name": "getAvailableNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 22, + 21 + ], + [ + 27, + 1 + ] + ], + "doc": "~Private~" + } + }, + "27": { + "18": { + "name": "getLoadedNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 18 + ], + [ + 31, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded theme names. " + } + }, + "31": { + "18": { + "name": "getActiveNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 31, + 18 + ], + [ + 35, + 1 + ] + ], + "doc": "Public: Get an array of all the active theme names. " + } + }, + "35": { + "19": { + "name": "getActiveThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 35, + 19 + ], + [ + 39, + 1 + ] + ], + "doc": "Public: Get an array of all the active themes. " + } + }, + "39": { + "19": { + "name": "getLoadedThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 39, + 19 + ], + [ + 42, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded themes. " + } + }, + "42": { + "20": { + "name": "activatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "themePackages" + ], + "range": [ + [ + 42, + 20 + ], + [ + 42, + 55 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "24": { + "name": "getEnabledThemeNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 47, + 24 + ], + [ + 57, + 1 + ] + ], + "doc": " Private: Get the enabled theme names from the config.\n\nReturns an array of theme names in the order that they should be activated. " + } + }, + "57": { + "18": { + "name": "activateThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 18 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "20": { + "name": "deactivateThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 20 + ], + [ + 87, + 1 + ] + ], + "doc": "~Private~" + } + }, + "87": { + "20": { + "name": "refreshLessCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 87, + 20 + ], + [ + 93, + 1 + ] + ], + "doc": "~Private~" + } + }, + "93": { + "20": { + "name": "setEnabledThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "enabledThemeNames" + ], + "range": [ + [ + 93, + 20 + ], + [ + 96, + 1 + ] + ], + "doc": " Public: Set the list of enabled themes.\n\nenabledThemeNames - An {Array} of {String} theme names. " + } + }, + "96": { + "18": { + "name": "getImportPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 18 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "25": { + "name": "getUserStylesheetPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 25 + ], + [ + 116, + 1 + ] + ], + "doc": "Public: Returns the {String} path to the user's stylesheet under ~/.atom " + } + }, + "116": { + "25": { + "name": "unwatchUserStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 25 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "22": { + "name": "loadUserStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 121, + 22 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "23": { + "name": "loadBaseStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 23 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "25": { + "name": "reloadBaseStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 25 + ], + [ + 142, + 1 + ] + ], + "doc": "~Private~" + } + }, + "142": { + "26": { + "name": "stylesheetElementForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id", + "htmlElement" + ], + "range": [ + [ + 142, + 26 + ], + [ + 145, + 1 + ] + ], + "doc": "~Private~" + } + }, + "145": { + "21": { + "name": "resolveStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 145, + 21 + ], + [ + 160, + 1 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "21": { + "name": "requireStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "type", + "htmlElement" + ], + "range": [ + [ + 160, + 21 + ], + [ + 169, + 1 + ] + ], + "doc": " Public: Resolve and apply the stylesheet specified by the path.\n\nThis supports both CSS and LESS stylsheets.\n\nstylesheetPath - A {String} path to the stylesheet that can be an absolute\n path or a relative path that will be resolved against the\n load path.\n\nReturns the absolute path to the required stylesheet. " + } + }, + "169": { + "18": { + "name": "loadStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "importFallbackVariables" + ], + "range": [ + [ + 169, + 18 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "22": { + "name": "loadLessStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lessStylesheetPath", + "importFallbackVariables" + ], + "range": [ + [ + 175, + 22 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "14": { + "name": "stringToId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 197, + 14 + ], + [ + 200, + 1 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "20": { + "name": "removeStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 200, + 20 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "19": { + "name": "applyStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "text", + "type", + "htmlElement" + ], + "range": [ + [ + 209, + 19 + ], + [ + 222, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 15 + }, + "src/theme-package.coffee": { + "objects": { + "0": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "1": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 1, + 10 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "4": { + "0": { + "type": "class", + "name": "ThemePackage", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 5, + 11 + ], + [ + 7, + 21 + ], + [ + 9, + 10 + ], + [ + 12, + 11 + ], + [ + 15, + 8 + ], + [ + 23, + 12 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 31, + 31 + ] + ] + } + }, + "5": { + "11": { + "name": "getType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 11 + ], + [ + 5, + 20 + ] + ] + } + }, + "7": { + "21": { + "name": "getStylesheetType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 7, + 21 + ], + [ + 7, + 30 + ] + ], + "doc": "~Private~" + } + }, + "9": { + "10": { + "name": "enable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 10 + ], + [ + 12, + 1 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "11": { + "name": "disable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 12, + 11 + ], + [ + 15, + 1 + ] + ], + "doc": "~Private~" + } + }, + "15": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 15, + 8 + ], + [ + 23, + 1 + ] + ], + "doc": "~Private~" + } + }, + "23": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 23, + 12 + ], + [ + 31, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/token.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "12": { + "name": "textUtils", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 33 + ] + ], + "bindingType": "variable", + "path": "./text-utils" + } + }, + "3": { + "31": { + "type": "primitive", + "range": [ + [ + 3, + 31 + ], + [ + 3, + 32 + ] + ] + } + }, + "4": { + "20": { + "name": "/^[ ]+/", + "type": "primitive", + "range": [ + [ + 4, + 20 + ], + [ + 4, + 26 + ] + ] + } + }, + "5": { + "21": { + "name": "/[ ]+$/", + "type": "primitive", + "range": [ + [ + 5, + 21 + ], + [ + 5, + 27 + ] + ] + } + }, + "6": { + "14": { + "name": "/[&\"'<>]/g", + "type": "primitive", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 23 + ] + ] + } + }, + "7": { + "17": { + "name": "/./g", + "type": "primitive", + "range": [ + [ + 7, + 17 + ], + [ + 7, + 20 + ] + ] + } + }, + "8": { + "22": { + "name": "/^./", + "type": "primitive", + "range": [ + [ + 8, + 22 + ], + [ + 8, + 25 + ] + ] + } + }, + "9": { + "16": { + "name": "/^\\.?/", + "type": "primitive", + "range": [ + [ + 9, + 16 + ], + [ + 9, + 21 + ] + ] + } + }, + "10": { + "18": { + "name": "/\\S/", + "type": "primitive", + "range": [ + [ + 10, + 18 + ], + [ + 10, + 21 + ] + ] + } + }, + "12": { + "17": { + "name": "20000", + "type": "primitive", + "range": [ + [ + 12, + 17 + ], + [ + 12, + 21 + ] + ] + } + }, + "16": { + "0": { + "type": "class", + "name": "Token", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 9 + ], + [ + 18, + 20 + ], + [ + 19, + 10 + ], + [ + 20, + 12 + ], + [ + 21, + 13 + ], + [ + 22, + 24 + ], + [ + 23, + 25 + ], + [ + 25, + 15 + ], + [ + 30, + 11 + ], + [ + 33, + 13 + ], + [ + 36, + 11 + ], + [ + 41, + 31 + ], + [ + 44, + 24 + ], + [ + 86, + 26 + ], + [ + 106, + 27 + ], + [ + 113, + 21 + ], + [ + 116, + 21 + ], + [ + 119, + 17 + ], + [ + 129, + 20 + ], + [ + 132, + 24 + ], + [ + 138, + 18 + ], + [ + 185, + 16 + ], + [ + 194, + 23 + ] + ], + "doc": "Private: Represents a single unit of text as selected by a grammar. ", + "range": [ + [ + 16, + 0 + ], + [ + 201, + 16 + ] + ] + } + }, + "17": { + "9": { + "name": "value", + "type": "primitive", + "range": [ + [ + 17, + 9 + ], + [ + 17, + 12 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "20": { + "name": "hasSurrogatePair", + "type": "primitive", + "range": [ + [ + 18, + 20 + ], + [ + 18, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "10": { + "name": "scopes", + "type": "primitive", + "range": [ + [ + 19, + 10 + ], + [ + 19, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "20": { + "12": { + "name": "isAtomic", + "type": "primitive", + "range": [ + [ + 20, + 12 + ], + [ + 20, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "13": { + "name": "isHardTab", + "type": "primitive", + "range": [ + [ + 21, + 13 + ], + [ + 21, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "22": { + "24": { + "name": "hasLeadingWhitespace", + "type": "primitive", + "range": [ + [ + 22, + 24 + ], + [ + 22, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "23": { + "25": { + "name": "hasTrailingWhitespace", + "type": "primitive", + "range": [ + [ + 23, + 25 + ], + [ + 23, + 29 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "25": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 25, + 15 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "isEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 30, + 11 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "13": { + "name": "isBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 33, + 13 + ], + [ + 36, + 1 + ] + ], + "doc": "~Private~" + } + }, + "36": { + "11": { + "name": "splitAt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "splitIndex" + ], + "range": [ + [ + 36, + 11 + ], + [ + 41, + 1 + ] + ], + "doc": "~Private~" + } + }, + "41": { + "31": { + "name": "whitespaceRegexForTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 41, + 31 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "24": { + "name": "breakOutAtomicTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "breakOutLeadingSoftTabs", + "startColumn" + ], + "range": [ + [ + 44, + 24 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "26": { + "name": "breakOutSurrogatePairs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 26 + ], + [ + 106, + 1 + ] + ], + "doc": "~Private~" + } + }, + "106": { + "27": { + "name": "buildSurrogatePairToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "index" + ], + "range": [ + [ + 106, + 27 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "21": { + "name": "buildHardTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "column" + ], + "range": [ + [ + 113, + 21 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "21": { + "name": "buildSoftTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 116, + 21 + ], + [ + 119, + 1 + ] + ], + "doc": "~Private~" + } + }, + "119": { + "17": { + "name": "buildTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "isHardTab", + "column" + ], + "range": [ + [ + 119, + 17 + ], + [ + 129, + 1 + ] + ], + "doc": "~Private~" + } + }, + "129": { + "20": { + "name": "isOnlyWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 129, + 20 + ], + [ + 132, + 1 + ] + ], + "doc": "~Private~" + } + }, + "132": { + "24": { + "name": "matchesScopeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 132, + 24 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "18": { + "name": "getValueAsHtml", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 138, + 18 + ], + [ + 185, + 1 + ] + ], + "doc": "~Private~" + } + }, + "185": { + "16": { + "name": "escapeString", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "str", + "startIndex", + "endIndex" + ], + "range": [ + [ + 185, + 16 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "23": { + "name": "escapeStringReplace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "match" + ], + "range": [ + [ + 194, + 23 + ], + [ + 201, + 16 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 16 + }, + "src/tokenized-buffer.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "3": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "4": { + "16": { + "name": "TokenizedLine", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 41 + ] + ], + "bindingType": "variable", + "path": "./tokenized-line" + } + }, + "5": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "8": { + "0": { + "type": "class", + "name": "TokenizedBuffer", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 11 + ], + [ + 14, + 23 + ], + [ + 15, + 10 + ], + [ + 16, + 18 + ], + [ + 17, + 13 + ], + [ + 18, + 15 + ], + [ + 19, + 11 + ], + [ + 21, + 15 + ], + [ + 48, + 19 + ], + [ + 52, + 21 + ], + [ + 56, + 14 + ], + [ + 64, + 17 + ], + [ + 70, + 23 + ], + [ + 76, + 23 + ], + [ + 82, + 14 + ], + [ + 88, + 16 + ], + [ + 94, + 16 + ], + [ + 96, + 24 + ], + [ + 103, + 21 + ], + [ + 133, + 19 + ], + [ + 136, + 15 + ], + [ + 139, + 17 + ], + [ + 144, + 21 + ], + [ + 153, + 22 + ], + [ + 173, + 48 + ], + [ + 183, + 30 + ], + [ + 200, + 41 + ], + [ + 203, + 39 + ], + [ + 210, + 37 + ], + [ + 220, + 20 + ], + [ + 225, + 22 + ], + [ + 228, + 15 + ], + [ + 231, + 21 + ], + [ + 257, + 22 + ], + [ + 266, + 21 + ], + [ + 269, + 20 + ], + [ + 273, + 33 + ], + [ + 278, + 33 + ], + [ + 299, + 30 + ], + [ + 314, + 39 + ], + [ + 329, + 22 + ], + [ + 344, + 22 + ], + [ + 362, + 14 + ], + [ + 365, + 16 + ], + [ + 368, + 12 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 371, + 40 + ] + ] + } + }, + "13": { + "11": { + "name": "grammar", + "type": "primitive", + "range": [ + [ + 13, + 11 + ], + [ + 13, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "23": { + "name": "currentGrammarScore", + "type": "primitive", + "range": [ + [ + 14, + 23 + ], + [ + 14, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "15": { + "10": { + "name": "buffer", + "type": "primitive", + "range": [ + [ + 15, + 10 + ], + [ + 15, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "18": { + "name": "tokenizedLines", + "type": "primitive", + "range": [ + [ + 16, + 18 + ], + [ + 16, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "17": { + "13": { + "name": "chunkSize", + "type": "primitive", + "range": [ + [ + 17, + 13 + ], + [ + 17, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "15": { + "name": "invalidRows", + "type": "primitive", + "range": [ + [ + 18, + 15 + ], + [ + 18, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 19, + 11 + ], + [ + 19, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 21, + 15 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 19 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 52, + 21 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar", + "score" + ], + "range": [ + [ + 56, + 14 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 17 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "23": { + "name": "hasTokenForSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 70, + 23 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "23": { + "name": "resetTokenizedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 23 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 82, + 14 + ], + [ + 88, + 1 + ] + ], + "doc": "~Private~" + } + }, + "88": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 16 + ], + [ + 94, + 1 + ] + ], + "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " + } + }, + "94": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 94, + 16 + ], + [ + 94, + 30 + ] + ], + "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " + } + }, + "96": { + "24": { + "name": "tokenizeInBackground", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 24 + ], + [ + 103, + 1 + ] + ], + "doc": "~Private~" + } + }, + "103": { + "21": { + "name": "tokenizeNextChunk", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 103, + 21 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "19": { + "name": "firstInvalidRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 19 + ], + [ + 136, + 1 + ] + ], + "doc": "~Private~" + } + }, + "136": { + "15": { + "name": "validateRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 136, + 15 + ], + [ + 139, + 1 + ] + ], + "doc": "~Private~" + } + }, + "139": { + "17": { + "name": "invalidateRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 139, + 17 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "21": { + "name": "updateInvalidRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end", + "delta" + ], + "range": [ + [ + 144, + 21 + ], + [ + 153, + 1 + ] + ], + "doc": "~Private~" + } + }, + "153": { + "22": { + "name": "handleBufferChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 153, + 22 + ], + [ + 173, + 1 + ] + ], + "doc": "~Private~" + } + }, + "173": { + "48": { + "name": "retokenizeWhitespaceRowsIfIndentLevelChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "increment" + ], + "range": [ + [ + 173, + 48 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "30": { + "name": "buildTokenizedLinesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow", + "startingStack" + ], + "range": [ + [ + 183, + 30 + ], + [ + 200, + 1 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "41": { + "name": "buildPlaceholderTokenizedLinesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 200, + 41 + ], + [ + 203, + 1 + ] + ], + "doc": "~Private~" + } + }, + "203": { + "39": { + "name": "buildPlaceholderTokenizedLineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 203, + 39 + ], + [ + 210, + 1 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "37": { + "name": "buildTokenizedTokenizedLineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "ruleStack" + ], + "range": [ + [ + 210, + 37 + ], + [ + 220, + 1 + ] + ], + "doc": "~Private~" + } + }, + "220": { + "20": { + "name": "lineForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 220, + 20 + ], + [ + 225, + 1 + ] + ], + "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " + } + }, + "225": { + "22": { + "name": "linesForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 225, + 22 + ], + [ + 228, + 1 + ] + ], + "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " + } + }, + "228": { + "15": { + "name": "stackForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 228, + 15 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "21": { + "name": "indentLevelForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 231, + 21 + ], + [ + 257, + 1 + ] + ], + "doc": "~Private~" + } + }, + "257": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 257, + 22 + ], + [ + 266, + 1 + ] + ], + "doc": "~Private~" + } + }, + "266": { + "21": { + "name": "scopesForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 266, + 21 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "20": { + "name": "tokenForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 269, + 20 + ], + [ + 273, + 1 + ] + ], + "doc": "~Private~" + } + }, + "273": { + "33": { + "name": "tokenStartPositionForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 273, + 33 + ], + [ + 278, + 1 + ] + ], + "doc": "~Private~" + } + }, + "278": { + "33": { + "name": "bufferRangeForScopeAtPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "position" + ], + "range": [ + [ + 278, + 33 + ], + [ + 299, + 1 + ] + ], + "doc": "~Private~" + } + }, + "299": { + "30": { + "name": "iterateTokensInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "iterator" + ], + "range": [ + [ + 299, + 30 + ], + [ + 314, + 1 + ] + ], + "doc": "~Private~" + } + }, + "314": { + "39": { + "name": "backwardsIterateTokensInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "iterator" + ], + "range": [ + [ + 314, + 39 + ], + [ + 329, + 1 + ] + ], + "doc": "~Private~" + } + }, + "329": { + "22": { + "name": "findOpeningBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferPosition" + ], + "range": [ + [ + 329, + 22 + ], + [ + 344, + 1 + ] + ], + "doc": "~Private~" + } + }, + "344": { + "22": { + "name": "findClosingBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferPosition" + ], + "range": [ + [ + 344, + 22 + ], + [ + 362, + 1 + ] + ], + "doc": "~Private~" + } + }, + "362": { + "14": { + "name": "getLastRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 362, + 14 + ], + [ + 365, + 1 + ] + ], + "doc": " Private: Gets the row number of the last line.\n\nReturns a {Number}. " + } + }, + "365": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 365, + 16 + ], + [ + 368, + 1 + ] + ], + "doc": "~Private~" + } + }, + "368": { + "12": { + "name": "logLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 368, + 12 + ], + [ + 371, + 40 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/tokenized-line.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "12": { + "name": "1", + "type": "primitive", + "range": [ + [ + 2, + 12 + ], + [ + 2, + 12 + ] + ] + } + }, + "5": { + "0": { + "type": "class", + "name": "TokenizedLine", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 6, + 15 + ], + [ + 15, + 13 + ], + [ + 20, + 20 + ], + [ + 25, + 8 + ], + [ + 28, + 20 + ], + [ + 47, + 31 + ], + [ + 57, + 31 + ], + [ + 66, + 22 + ], + [ + 72, + 22 + ], + [ + 75, + 14 + ], + [ + 102, + 17 + ], + [ + 105, + 23 + ], + [ + 108, + 28 + ], + [ + 115, + 35 + ], + [ + 123, + 24 + ], + [ + 134, + 42 + ], + [ + 145, + 13 + ], + [ + 154, + 20 + ], + [ + 162, + 16 + ], + [ + 165, + 17 + ], + [ + 168, + 24 + ], + [ + 174, + 16 + ], + [ + 186, + 20 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 199, + 0 + ] + ] + } + }, + "6": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 6, + 15 + ], + [ + 15, + 1 + ] + ] + } + }, + "15": { + "13": { + "name": "buildText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 15, + 13 + ], + [ + 20, + 1 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "20": { + "name": "buildBufferDelta", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 20 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 8 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "20": { + "name": "clipScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "column", + "options" + ], + "range": [ + [ + 28, + 20 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "31": { + "name": "screenColumnForBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn", + "options" + ], + "range": [ + [ + 47, + 31 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "31": { + "name": "bufferColumnForScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenColumn", + "options" + ], + "range": [ + [ + 57, + 31 + ], + [ + 66, + 1 + ] + ], + "doc": "~Private~" + } + }, + "66": { + "22": { + "name": "getMaxScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 66, + 22 + ], + [ + 72, + 1 + ] + ], + "doc": "~Private~" + } + }, + "72": { + "22": { + "name": "getMaxBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 72, + 22 + ], + [ + 75, + 1 + ] + ], + "doc": "~Private~" + } + }, + "75": { + "14": { + "name": "softWrapAt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "column" + ], + "range": [ + [ + 75, + 14 + ], + [ + 102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "102": { + "17": { + "name": "isSoftWrapped", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 17 + ], + [ + 105, + 1 + ] + ], + "doc": "~Private~" + } + }, + "105": { + "23": { + "name": "tokenAtBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 105, + 23 + ], + [ + 108, + 1 + ] + ], + "doc": "~Private~" + } + }, + "108": { + "28": { + "name": "tokenIndexAtBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 108, + 28 + ], + [ + 115, + 1 + ] + ], + "doc": "~Private~" + } + }, + "115": { + "35": { + "name": "tokenStartColumnForBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 115, + 35 + ], + [ + 123, + 1 + ] + ], + "doc": "~Private~" + } + }, + "123": { + "24": { + "name": "breakOutAtomicTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "inputTokens" + ], + "range": [ + [ + 123, + 24 + ], + [ + 134, + 1 + ] + ], + "doc": "~Private~" + } + }, + "134": { + "42": { + "name": "markLeadingAndTrailingWhitespaceTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 134, + 42 + ], + [ + 145, + 1 + ] + ], + "doc": "~Private~" + } + }, + "145": { + "13": { + "name": "isComment", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 145, + 13 + ], + [ + 154, + 1 + ] + ], + "doc": "~Private~" + } + }, + "154": { + "20": { + "name": "isOnlyWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 20 + ], + [ + 162, + 1 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "16": { + "name": "tokenAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 162, + 16 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "17": { + "name": "getTokenCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 17 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "24": { + "name": "bufferColumnForToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetToken" + ], + "range": [ + [ + 168, + 24 + ], + [ + 174, + 1 + ] + ], + "doc": "~Private~" + } + }, + "174": { + "16": { + "name": "getScopeTree", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 174, + 16 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "20": { + "name": "updateScopeStack", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 186, + 20 + ], + [ + 199, + 0 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "0": { + "type": "class", + "name": "Scope", + "classProperties": [], + "prototypeProperties": [ + [ + 201, + 15 + ] + ], + "doc": "~Private~", + "range": [ + [ + 200, + 0 + ], + [ + 202, + 18 + ] + ] + } + }, + "201": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 201, + 15 + ], + [ + 202, + 18 + ] + ] + } + } + }, + "exports": 5 + }, + "src/window-bootstrap.coffee": { + "objects": { + "1": { + "12": { + "name": "startTime", + "type": "function", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 21 + ] + ] + } + }, + "5": { + "7": { + "name": "Atom", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "path": "./atom" + } + }, + "6": { + "14": { + "name": "window.atom", + "type": "function", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 40 + ] + ] + } + } + }, + "exports": {} + }, + "src/window-event-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "3": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 3, + 8 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "9": { + "0": { + "type": "class", + "name": "WindowEventHandler", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 81, + 27 + ], + [ + 96, + 13 + ], + [ + 100, + 12 + ], + [ + 106, + 25 + ], + [ + 116, + 13 + ], + [ + 137, + 17 + ] + ], + "doc": "Private: Handles low-level events related to the window. ", + "range": [ + [ + 9, + 0 + ], + [ + 156, + 28 + ] + ] + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 12, + 15 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "27": { + "name": "handleNativeKeybindings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 81, + 27 + ], + [ + 96, + 1 + ] + ], + "doc": " Private: Wire commands that should be handled by the native menu\nfor elements with the `.native-key-bindings` class. " + } + }, + "96": { + "13": { + "name": "onKeydown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 96, + 13 + ], + [ + 100, + 1 + ] + ], + "doc": "~Private~" + } + }, + "100": { + "12": { + "name": "openLink", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 100, + 12 + ], + [ + 106, + 1 + ] + ], + "doc": "~Private~" + } + }, + "106": { + "25": { + "name": "eachTabIndexedElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 106, + 25 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "13": { + "name": "focusNext", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 13 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "17": { + "name": "focusPrevious", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 17 + ], + [ + 156, + 28 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 9 + }, + "src/window.coffee": { + "objects": { + "7": { + "17": { + "name": "window.measure", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "description", + "fn" + ], + "range": [ + [ + 7, + 17 + ], + [ + 20, + 51 + ] + ], + "doc": null + } + }, + "21": { + "17": { + "name": "window.profile", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "description", + "fn" + ], + "range": [ + [ + 21, + 17 + ], + [ + 26, + 9 + ] + ], + "doc": null + } + } + }, + "exports": {} + }, + "src/workspace-view.coffee": { + "objects": { + "0": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "4": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 4, + 12 + ], + [ + 4, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + }, + "12": { + "type": "import", + "range": [ + [ + 5, + 12 + ], + [ + 5, + 33 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "logDeprecationWarnings", + "exportsProperty": "logDeprecationWarnings" + } + }, + "6": { + "17": { + "name": "scrollbarStyle", + "type": "import", + "range": [ + [ + 6, + 17 + ], + [ + 6, + 41 + ] + ], + "bindingType": "variable", + "module": "scrollbar-style" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 5 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + }, + "8": { + "type": "import", + "range": [ + [ + 7, + 8 + ], + [ + 7, + 11 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "8": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 8, + 5 + ], + [ + 8, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "9": { + "12": { + "name": "Workspace", + "type": "import", + "range": [ + [ + 9, + 12 + ], + [ + 9, + 32 + ] + ], + "bindingType": "variable", + "path": "./workspace" + } + }, + "10": { + "19": { + "name": "CommandInstaller", + "type": "import", + "range": [ + [ + 10, + 19 + ], + [ + 10, + 47 + ] + ], + "bindingType": "variable", + "path": "./command-installer" + } + }, + "11": { + "13": { + "name": "EditorView", + "type": "import", + "range": [ + [ + 11, + 13 + ], + [ + 11, + 35 + ] + ], + "bindingType": "variable", + "path": "./editor-view" + } + }, + "12": { + "11": { + "name": "PaneView", + "type": "import", + "range": [ + [ + 12, + 11 + ], + [ + 12, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-view" + } + }, + "13": { + "17": { + "name": "PaneColumnView", + "type": "import", + "range": [ + [ + 13, + 17 + ], + [ + 13, + 44 + ] + ], + "bindingType": "variable", + "path": "./pane-column-view" + } + }, + "14": { + "14": { + "name": "PaneRowView", + "type": "import", + "range": [ + [ + 14, + 14 + ], + [ + 14, + 38 + ] + ], + "bindingType": "variable", + "path": "./pane-row-view" + } + }, + "15": { + "20": { + "name": "PaneContainerView", + "type": "import", + "range": [ + [ + 15, + 20 + ], + [ + 15, + 50 + ] + ], + "bindingType": "variable", + "path": "./pane-container-view" + } + }, + "16": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 16, + 9 + ], + [ + 16, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "55": { + "0": { + "type": "class", + "name": "WorkspaceView", + "bindingType": "exports", + "classProperties": [ + [ + 63, + 12 + ], + [ + 66, + 4 + ], + [ + 75, + 12 + ] + ], + "prototypeProperties": [ + [ + 81, + 14 + ], + [ + 168, + 12 + ], + [ + 171, + 24 + ], + [ + 191, + 15 + ], + [ + 205, + 15 + ], + [ + 209, + 16 + ], + [ + 213, + 15 + ], + [ + 223, + 12 + ], + [ + 233, + 18 + ], + [ + 238, + 16 + ], + [ + 242, + 15 + ], + [ + 247, + 19 + ], + [ + 252, + 18 + ], + [ + 257, + 17 + ], + [ + 262, + 16 + ], + [ + 267, + 18 + ], + [ + 272, + 17 + ], + [ + 281, + 21 + ], + [ + 287, + 17 + ], + [ + 291, + 25 + ], + [ + 294, + 21 + ], + [ + 297, + 22 + ], + [ + 300, + 22 + ], + [ + 303, + 23 + ], + [ + 306, + 24 + ], + [ + 315, + 16 + ], + [ + 325, + 16 + ], + [ + 336, + 18 + ], + [ + 344, + 16 + ], + [ + 347, + 21 + ], + [ + 350, + 23 + ], + [ + 353, + 23 + ], + [ + 356, + 18 + ], + [ + 368, + 12 + ], + [ + 373, + 12 + ], + [ + 378, + 17 + ], + [ + 383, + 21 + ] + ], + "doc": " Public: The top-level view for the entire window. An instance of this class is\navailable via the `atom.workspaceView` global.\n\nIt is backed by a model object, an instance of {Workspace}, which is available\nvia the `atom.workspace` global or {::getModel}. You should prefer to interact\nwith the model object when possible, but it won't always be possible with the\ncurrent API.\n\n## Adding Perimeter Panels\n\nUse the following methods if possible to attach panels to the perimeter of the\nworkspace rather than manipulating the DOM directly to better insulate you to\nchanges in the workspace markup:\n\n* {::prependToTop}\n* {::appendToTop}\n* {::prependToBottom}\n* {::appendToBottom}\n* {::prependToLeft}\n* {::appendToLeft}\n* {::prependToRight}\n* {::appendToRight}\n\n## Requiring in package specs\n\nIf you need a `WorkspaceView` instance to test your package, require it via\nthe built-in `atom` module.\n\n```coffee\n {WorkspaceView} = require 'atom'\n```\n\nYou can assign it to the `atom.workspaceView` global in the spec or just use\nit as a local, depending on what you're trying to accomplish. Building the\n`WorkspaceView` is currently expensive, so you should try build a {Workspace}\ninstead if possible. ", + "range": [ + [ + 55, + 0 + ], + [ + 385, + 25 + ] + ] + } + }, + "63": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 63, + 12 + ], + [ + 63, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "66": { + "4": { + "name": "configDefaults", + "type": "primitive", + "range": [ + [ + 66, + 4 + ], + [ + 73, + 23 + ] + ], + "bindingType": "classProperty" + } + }, + "75": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 75, + 12 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 81, + 14 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 12 + ], + [ + 168, + 20 + ] + ], + "doc": " Public: Get the underlying model object.\n\nReturns a {Workspace}. " + } + }, + "171": { + "24": { + "name": "installShellCommands", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 24 + ], + [ + 191, + 1 + ] + ], + "doc": "Public: Install the Atom shell commands on the user's system. " + } + }, + "191": { + "15": { + "name": "handleFocus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 191, + 15 + ], + [ + 205, + 1 + ] + ], + "doc": "~Private~" + } + }, + "205": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 205, + 15 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "16": { + "name": "confirmClose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 209, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": "Private: Prompts to save all unsaved items " + } + }, + "213": { + "15": { + "name": "updateTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 15 + ], + [ + 223, + 1 + ] + ], + "doc": "Private: Updates the application's title, based on whichever file is open. " + } + }, + "223": { + "12": { + "name": "setTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "title" + ], + "range": [ + [ + 223, + 12 + ], + [ + 233, + 1 + ] + ], + "doc": "Private: Sets the application's title. " + } + }, + "233": { + "18": { + "name": "getEditorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 233, + 18 + ], + [ + 238, + 1 + ] + ], + "doc": " Private: Get all editor views.\n\nYou should prefer {Workspace::getEditors} unless you absolutely need access\nto the view objects. Also consider using {::eachEditorView}, which will call\na callback for all current and *future* editor views.\n\nReturns an {Array} of {EditorView}s. " + } + }, + "238": { + "16": { + "name": "prependToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 238, + 16 + ], + [ + 242, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the top of the\nworkspace. " + } + }, + "242": { + "15": { + "name": "appendToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 242, + 15 + ], + [ + 247, + 1 + ] + ], + "doc": "Public: Append an element or view to the panels at the top of the workspace. " + } + }, + "247": { + "19": { + "name": "prependToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 247, + 19 + ], + [ + 252, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the bottom of the\nworkspace. " + } + }, + "252": { + "18": { + "name": "appendToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 252, + 18 + ], + [ + 257, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the bottom of the\nworkspace. " + } + }, + "257": { + "17": { + "name": "prependToLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 257, + 17 + ], + [ + 262, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the left of the\nworkspace. " + } + }, + "262": { + "16": { + "name": "appendToLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 262, + 16 + ], + [ + 267, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the left of the\nworkspace. " + } + }, + "267": { + "18": { + "name": "prependToRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 267, + 18 + ], + [ + 272, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the right of the\nworkspace. " + } + }, + "272": { + "17": { + "name": "appendToRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 272, + 17 + ], + [ + 281, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the right of the\nworkspace. " + } + }, + "281": { + "21": { + "name": "getActivePaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 281, + 21 + ], + [ + 287, + 1 + ] + ], + "doc": " Public: Get the active pane view.\n\nPrefer {Workspace::getActivePane} if you don't actually need access to the\nview.\n\nReturns a {PaneView}. " + } + }, + "287": { + "17": { + "name": "getActiveView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 287, + 17 + ], + [ + 291, + 1 + ] + ], + "doc": " Public: Get the view associated with the active pane item.\n\nReturns a view. " + } + }, + "291": { + "25": { + "name": "focusPreviousPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 291, + 25 + ], + [ + 291, + 56 + ] + ], + "doc": "Private: Focus the previous pane by id. " + } + }, + "294": { + "21": { + "name": "focusNextPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 294, + 21 + ], + [ + 294, + 48 + ] + ], + "doc": "Private: Focus the next pane by id. " + } + }, + "297": { + "22": { + "name": "focusPaneViewAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 22 + ], + [ + 297, + 51 + ] + ], + "doc": "Public: Focus the pane directly above the active pane. " + } + }, + "300": { + "22": { + "name": "focusPaneViewBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 300, + 22 + ], + [ + 300, + 51 + ] + ], + "doc": "Public: Focus the pane directly below the active pane. " + } + }, + "303": { + "23": { + "name": "focusPaneViewOnLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 303, + 23 + ], + [ + 303, + 53 + ] + ], + "doc": "Public: Focus the pane directly to the left of the active pane. " + } + }, + "306": { + "24": { + "name": "focusPaneViewOnRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 306, + 24 + ], + [ + 306, + 55 + ] + ], + "doc": "Public: Focus the pane directly to the right of the active pane. " + } + }, + "315": { + "16": { + "name": "eachPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 315, + 16 + ], + [ + 325, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\npane view in the workspace.\n\ncallback - A {Function} with a {PaneView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "325": { + "16": { + "name": "getPaneViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 325, + 16 + ], + [ + 336, + 1 + ] + ], + "doc": " Public: Get all existing pane views.\n\nPrefer {Workspace::getPanes} if you don't need access to the view objects.\nAlso consider using {::eachPaneView} if you want to register a callback for\nall current and *future* pane views.\n\nReturns an Array of all open {PaneView}s. " + } + }, + "336": { + "18": { + "name": "eachEditorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 336, + 18 + ], + [ + 344, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\neditor view in the workspace (only includes {EditorView}s that are pane\nitems).\n\ncallback - A {Function} with an {EditorView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "344": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 344, + 16 + ], + [ + 347, + 1 + ] + ], + "doc": "Private: Called by SpacePen " + } + }, + "347": { + "21": { + "name": "setEditorFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 347, + 21 + ], + [ + 350, + 1 + ] + ], + "doc": "~Private~" + } + }, + "350": { + "23": { + "name": "setEditorFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 350, + 23 + ], + [ + 353, + 1 + ] + ], + "doc": "~Private~" + } + }, + "353": { + "23": { + "name": "setEditorLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 353, + 23 + ], + [ + 356, + 1 + ] + ], + "doc": "~Private~" + } + }, + "356": { + "18": { + "name": "setEditorStyle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "property", + "value" + ], + "range": [ + [ + 356, + 18 + ], + [ + 368, + 1 + ] + ], + "doc": "~Private~" + } + }, + "368": { + "12": { + "name": "eachPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 368, + 12 + ], + [ + 373, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "373": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 373, + 12 + ], + [ + 378, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "378": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 378, + 17 + ], + [ + 383, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "383": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 383, + 21 + ], + [ + 385, + 25 + ] + ], + "doc": "Deprecated: Call {Workspace::getActivePaneItem} instead. " + } + } + }, + "exports": 55 + }, + "src/workspace.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 4 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true, + "name": "join", + "exportsProperty": "join" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "4": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 4, + 4 + ], + [ + 4, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "5": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 5, + 15 + ], + [ + 5, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "6": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 6, + 12 + ], + [ + 6, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato" + } + }, + "7": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "8": { + "16": { + "name": "PaneContainer", + "type": "import", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 41 + ] + ], + "bindingType": "variable", + "path": "./pane-container" + } + }, + "9": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 9, + 7 + ], + [ + 9, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "18": { + "0": { + "type": "class", + "name": "Workspace", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 47, + 21 + ], + [ + 55, + 19 + ], + [ + 60, + 37 + ], + [ + 74, + 15 + ], + [ + 84, + 14 + ], + [ + 91, + 14 + ], + [ + 118, + 8 + ], + [ + 135, + 15 + ], + [ + 150, + 12 + ], + [ + 168, + 17 + ], + [ + 193, + 14 + ], + [ + 200, + 18 + ], + [ + 217, + 18 + ], + [ + 221, + 20 + ], + [ + 224, + 14 + ], + [ + 230, + 17 + ], + [ + 236, + 12 + ], + [ + 240, + 11 + ], + [ + 244, + 20 + ], + [ + 248, + 24 + ], + [ + 254, + 14 + ], + [ + 260, + 21 + ], + [ + 269, + 22 + ], + [ + 277, + 24 + ], + [ + 284, + 25 + ], + [ + 288, + 21 + ], + [ + 295, + 19 + ], + [ + 299, + 20 + ], + [ + 303, + 20 + ], + [ + 308, + 17 + ], + [ + 312, + 14 + ], + [ + 317, + 23 + ], + [ + 322, + 13 + ] + ], + "doc": " Public: Represents the state of the user interface for the entire window.\nAn instance of this class is available via the `atom.workspace` global.\n\nInteract with this object to open files, be notified of current and future\neditors, and manipulate panes. To add panels, you'll need to use the\n{WorkspaceView} class for now until we establish APIs at the model layer. ", + "range": [ + [ + 18, + 0 + ], + [ + 323, + 28 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 15 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 47, + 21 + ], + [ + 55, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during deserialization " + } + }, + "55": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 19 + ], + [ + 60, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during serialization. " + } + }, + "60": { + "37": { + "name": "getPackageNamesWithActiveGrammars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 60, + 37 + ], + [ + 74, + 1 + ] + ], + "doc": "~Private~" + } + }, + "74": { + "15": { + "name": "editorAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 74, + 15 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "14": { + "name": "eachEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 84, + 14 + ], + [ + 91, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\n{Editor} in the workspace.\n\ncallback - A {Function} with an {Editor} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "91": { + "14": { + "name": "getEditors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 14 + ], + [ + 118, + 1 + ] + ], + "doc": " Public: Get all current editors in the workspace.\n\nReturns an {Array} of {Editor}s. " + } + }, + "118": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "options" + ], + "range": [ + [ + 118, + 8 + ], + [ + 135, + 1 + ] + ], + "doc": " Public: Open a given a URI in Atom asynchronously.\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :split - Either 'left' or 'right'. If 'left', the item will be opened in\n leftmost pane of the current active pane's row. If 'right', the\n item will be opened in the rightmost pane of the current active\n pane's row.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`.\n :searchAllPanes - A {Boolean}. If `true`, the workspace will attempt to\n activate an existing item for the given URI on any pane.\n If `false`, only the active pane will be searched for\n an existing item for the same URI. Defaults to `false`.\n\nReturns a promise that resolves to the {Editor} for the file URI. " + } + }, + "135": { + "15": { + "name": "openLicense", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 135, + 15 + ], + [ + 150, + 1 + ] + ], + "doc": "Public: Open Atom's license in the active pane. " + } + }, + "150": { + "12": { + "name": "openSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "options" + ], + "range": [ + [ + 150, + 12 + ], + [ + 168, + 1 + ] + ], + "doc": " Private: Synchronously open the given URI in the active pane. **Only use this method\nin specs. Calling this in production code will block the UI thread and\neveryone will be mad at you.**\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`. " + } + }, + "168": { + "17": { + "name": "openUriInPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "pane", + "options" + ], + "range": [ + [ + 168, + 17 + ], + [ + 193, + 1 + ] + ], + "doc": "~Private~" + } + }, + "193": { + "14": { + "name": "reopenItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 193, + 14 + ], + [ + 200, + 1 + ] + ], + "doc": " Public: Asynchronously reopens the last-closed item's URI if it hasn't already been\nreopened.\n\nReturns a promise that is resolved when the item is opened " + } + }, + "200": { + "18": { + "name": "reopenItemSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 200, + 18 + ], + [ + 217, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "217": { + "18": { + "name": "registerOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 217, + 18 + ], + [ + 221, + 1 + ] + ], + "doc": " Public: Register an opener for a uri.\n\nAn {Editor} will be used if no openers return a value.\n\n## Example\n```coffeescript\n atom.project.registerOpener (uri) ->\n if path.extname(uri) is '.toml'\n return new TomlEditor(uri)\n```\n\nopener - A {Function} to be called when a path is being opened. " + } + }, + "221": { + "20": { + "name": "unregisterOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 221, + 20 + ], + [ + 224, + 1 + ] + ], + "doc": "Public: Unregister an opener registered with {::registerOpener}. " + } + }, + "224": { + "14": { + "name": "getOpeners", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 14 + ], + [ + 230, + 1 + ] + ], + "doc": "~Private~" + } + }, + "230": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 230, + 17 + ], + [ + 236, + 1 + ] + ], + "doc": " Public: Get the active {Pane}.\n\nReturns a {Pane}. " + } + }, + "236": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 236, + 12 + ], + [ + 240, + 1 + ] + ], + "doc": " Public: Get all {Pane}s.\n\nReturns an {Array} of {Pane}s. " + } + }, + "240": { + "11": { + "name": "saveAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 240, + 11 + ], + [ + 244, + 1 + ] + ], + "doc": "Public: Save all pane items. " + } + }, + "244": { + "20": { + "name": "activateNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 244, + 20 + ], + [ + 248, + 1 + ] + ], + "doc": "Public: Make the next pane active. " + } + }, + "248": { + "24": { + "name": "activatePreviousPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 248, + 24 + ], + [ + 254, + 1 + ] + ], + "doc": "Public: Make the previous pane active. " + } + }, + "254": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 254, + 14 + ], + [ + 260, + 1 + ] + ], + "doc": " Public: Get the first pane {Pane} with an item for the given URI.\n\nReturns a {Pane} or `undefined` if no pane exists for the given URI. " + } + }, + "260": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 21 + ], + [ + 269, + 1 + ] + ], + "doc": " Public: Get the active {Pane}'s active item.\n\nReturns an pane item {Object}. " + } + }, + "269": { + "22": { + "name": "saveActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 22 + ], + [ + 277, + 1 + ] + ], + "doc": " Public: Save the active pane item.\n\nIf the active pane item currently has a URI according to the item's\n`.getUri` method, calls `.save` on the item. Otherwise\n{::saveActivePaneItemAs} # will be called instead. This method does nothing\nif the active item does not implement a `.save` method. " + } + }, + "277": { + "24": { + "name": "saveActivePaneItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 277, + 24 + ], + [ + 284, + 1 + ] + ], + "doc": " Public: Prompt the user for a path and save the active pane item to it.\n\nOpens a native dialog where the user selects a path on disk, then calls\n`.saveAs` on the item with the selected path. This method does nothing if\nthe active item does not implement a `.saveAs` method. " + } + }, + "284": { + "25": { + "name": "destroyActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 25 + ], + [ + 288, + 1 + ] + ], + "doc": " Public: Destroy (close) the active pane item.\n\nRemoves the active pane item and calls the `.destroy` method on it if one is\ndefined. " + } + }, + "288": { + "21": { + "name": "destroyActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 288, + 21 + ], + [ + 295, + 1 + ] + ], + "doc": "Public: Destroy (close) the active pane. " + } + }, + "295": { + "19": { + "name": "getActiveEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 295, + 19 + ], + [ + 299, + 1 + ] + ], + "doc": " Public: Get the active item if it is an {Editor}.\n\nReturns an {Editor} or `undefined` if the current active item is not an\n{Editor}. " + } + }, + "299": { + "20": { + "name": "increaseFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 299, + 20 + ], + [ + 303, + 1 + ] + ], + "doc": "Public: Increase the editor font size by 1px. " + } + }, + "303": { + "20": { + "name": "decreaseFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 303, + 20 + ], + [ + 308, + 1 + ] + ], + "doc": "Public: Decrease the editor font size by 1px. " + } + }, + "308": { + "17": { + "name": "resetFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 308, + 17 + ], + [ + 312, + 1 + ] + ], + "doc": "Public: Restore to a default editor font size. " + } + }, + "312": { + "14": { + "name": "itemOpened", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 312, + 14 + ], + [ + 317, + 1 + ] + ], + "doc": "Private: Removes the item's uri from the list of potential items to reopen. " + } + }, + "317": { + "23": { + "name": "onPaneItemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 317, + 23 + ], + [ + 322, + 1 + ] + ], + "doc": "Private: Adds the destroyed item's uri to the list of items to reopen. " + } + }, + "322": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 322, + 13 + ], + [ + 323, + 28 + ] + ], + "doc": "Private: Called by Model superclass when destroyed " + } + } + }, + "exports": 18 + }, + "src/key-binding.coffee": { + "objects": { + "0": { + "7": { + "name": "Grim", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "grim" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "calculateSpecificity", + "exportsProperty": "calculateSpecificity" + } + }, + "4": { + "0": { + "type": "class", + "name": "KeyBinding", + "bindingType": "exports", + "classProperties": [ + [ + 5, + 17 + ] + ], + "prototypeProperties": [ + [ + 7, + 11 + ], + [ + 9, + 15 + ], + [ + 23, + 11 + ], + [ + 30, + 11 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 34, + 43 + ] + ] + } + }, + "5": { + "17": { + "name": "currentIndex", + "type": "primitive", + "range": [ + [ + 5, + 17 + ], + [ + 5, + 17 + ] + ], + "bindingType": "classProperty" + } + }, + "7": { + "11": { + "name": "enabled", + "type": "primitive", + "range": [ + [ + 7, + 11 + ], + [ + 7, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null, + null, + "selector" + ], + "range": [ + [ + 9, + 15 + ], + [ + 23, + 1 + ] + ], + "doc": "~Private~" + } + }, + "23": { + "11": { + "name": "matches", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystroke" + ], + "range": [ + [ + 23, + 11 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyBinding" + ], + "range": [ + [ + 30, + 11 + ], + [ + 34, + 43 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/keymap-manager.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "2": { + "7": { + "name": "Grim", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "grim" + } + }, + "3": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 3, + 5 + ], + [ + 3, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "4": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 4 + ] + ], + "bindingType": "variable", + "module": "pathwatcher", + "name": "File", + "exportsProperty": "File" + } + }, + "7": { + "13": { + "name": "KeyBinding", + "type": "import", + "range": [ + [ + 7, + 13 + ], + [ + 7, + 35 + ] + ], + "bindingType": "variable", + "path": "./key-binding" + } + }, + "8": { + "15": { + "name": "CommandEvent", + "type": "import", + "range": [ + [ + 8, + 15 + ], + [ + 8, + 39 + ] + ], + "bindingType": "variable", + "path": "./command-event" + } + }, + "9": { + "1": { + "type": "import", + "range": [ + [ + 9, + 1 + ], + [ + 9, + 19 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "normalizeKeystrokes", + "exportsProperty": "normalizeKeystrokes" + }, + "22": { + "type": "import", + "range": [ + [ + 9, + 22 + ], + [ + 9, + 46 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "keystrokeForKeyboardEvent", + "exportsProperty": "keystrokeForKeyboardEvent" + }, + "49": { + "type": "import", + "range": [ + [ + 9, + 49 + ], + [ + 9, + 62 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "isAtomModifier", + "exportsProperty": "isAtomModifier" + }, + "65": { + "type": "import", + "range": [ + [ + 9, + 65 + ], + [ + 9, + 76 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "keydownEvent", + "exportsProperty": "keydownEvent" + } + }, + "11": { + "12": { + "type": "primitive", + "range": [ + [ + 11, + 12 + ], + [ + 11, + 59 + ] + ] + } + }, + "12": { + "17": { + "name": "OtherPlatforms", + "type": "function", + "range": [ + [ + 12, + 17 + ], + [ + 12, + 77 + ] + ] + } + }, + "84": { + "0": { + "type": "class", + "name": "KeymapManager", + "bindingType": "exports", + "classProperties": [ + [ + 99, + 17 + ] + ], + "prototypeProperties": [ + [ + 103, + 23 + ], + [ + 105, + 17 + ], + [ + 106, + 25 + ], + [ + 107, + 29 + ], + [ + 117, + 15 + ], + [ + 125, + 11 + ], + [ + 132, + 18 + ], + [ + 141, + 7 + ], + [ + 164, + 14 + ], + [ + 179, + 15 + ], + [ + 190, + 10 + ], + [ + 212, + 23 + ], + [ + 289, + 19 + ], + [ + 314, + 16 + ], + [ + 324, + 14 + ], + [ + 338, + 27 + ], + [ + 345, + 21 + ], + [ + 349, + 23 + ], + [ + 365, + 22 + ], + [ + 385, + 20 + ], + [ + 390, + 25 + ], + [ + 394, + 21 + ], + [ + 400, + 22 + ], + [ + 410, + 25 + ], + [ + 427, + 24 + ], + [ + 446, + 36 + ], + [ + 460, + 29 + ], + [ + 464, + 13 + ], + [ + 469, + 16 + ], + [ + 475, + 18 + ], + [ + 484, + 27 + ], + [ + 490, + 12 + ], + [ + 497, + 25 + ], + [ + 502, + 27 + ], + [ + 507, + 30 + ], + [ + 513, + 40 + ], + [ + 519, + 42 + ] + ], + "doc": " Public: Allows commands to be associated with keystrokes in a\ncontext-sensitive way. In Atom, you can access a global instance of this\nobject via `atom.keymap`.\n\nKey bindings are plain JavaScript objects containing **CSS selectors** as\ntheir top level keys, then **keystroke patterns** mapped to commands.\n\n```cson\n'.workspace':\n 'ctrl-l': 'package:do-something'\n 'ctrl-z': 'package:do-something-else'\n'.mini.editor':\n 'enter': 'core:confirm'\n```\n\nWhen a keystroke sequence matches a binding in a given context, a custom DOM\nevent with a type based on the command is dispatched on the target of the\nkeyboard event.\n\nTo match a keystroke sequence, the keymap starts at the target element for the\nkeyboard event. It looks for key bindings associated with selectors that match\nthe target element. If multiple match, the most specific is selected. If there\nis a tie in specificity, the most recently added binding wins. If no bindings\nare found for the events target, the search is repeated again for the target's\nparent node and so on recursively until a binding is found or we traverse off\nthe top of the document.\n\nWhen a binding is found, its command event is always dispatched on the\noriginal target of the keyboard event, even if the matching element is higher\nup in the DOM. In addition, `.preventDefault()` is called on the keyboard\nevent to prevent the browser from taking action. `.preventDefault` is only\ncalled if a matching binding is found.\n\nCommand event objects have a non-standard method called `.abortKeyBinding()`.\nIf your command handler is invoked but you programmatically determine that no\naction can be taken and you want to allow other bindings to be matched, call\n`.abortKeyBinding()` on the event object. An example of where this is useful\nis binding snippet expansion to `tab`. If `snippets:expand` is invoked when\nthe cursor does not follow a valid snippet prefix, we abort the binding and\nallow `tab` to be handled by the default handler, which inserts whitespace.\n\nMulti-keystroke bindings are possible. If a sequence of one or more keystrokes\n*partially* matches a multi-keystroke binding, the keymap enters a pending\nstate. The pending state is terminated on the next keystroke, or after\n{::partialMatchTimeout} milliseconds has elapsed. When the pending state is\nterminated via a timeout or a keystroke that leads to no matches, the longest\nambiguous bindings that caused the pending state are temporarily disabled and\nthe previous keystrokes are replayed. If there is ambiguity again during the\nreplay, the next longest bindings are disabled and the keystrokes are replayed\nagain.\n\n## Events\n\n* `matched` -\n Emitted when keystrokes match a binding.\n * keystrokes - The keystroke {String} that matched the binding\n * binding - The {KeyBinding} that was used\n * keyboardEventTarget - The target element of the keyboard event\n\n* `matched-partially` -\n Emitted when keystrokes partially match one or more bindings.\n * keystrokes - The keystroke {String} that partially match some bindings\n * partiallyMatchedBindings - The {KeyBinding}s that partially matched\n * keyboardEventTarget - The target element of the keyboard event\n\n* `match-failed` -\n Emitted when keystrokes don't match any bindings.\n * keystrokes - The keystroke {String} that matched no bindings\n * keyboardEventTarget - The target element of the keyboard event ", + "range": [ + [ + 84, + 0 + ], + [ + 521, + 62 + ] + ] + } + }, + "99": { + "17": { + "name": "keydownEvent", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "key", + "options" + ], + "range": [ + [ + 99, + 17 + ], + [ + 99, + 60 + ] + ], + "doc": " Public: Create a keydown DOM event for testing purposes.\n\nkey - The key or keyIdentifier of the event. For example, 'a', '1',\n 'escape', 'backspace', etc.\noptions - An {Object} containing any of the following:\n :ctrl - A {Boolean} indicating the ctrl modifier key\n :alt - A {Boolean} indicating the alt modifier key\n :shift - A {Boolean} indicating the shift modifier key\n :cmd - A {Boolean} indicating the cmd modifier key\n :which - A {Number} indicating `which` value of the event. See\n the docs for KeyboardEvent for more information.\n :target - The target element of the event. " + } + }, + "103": { + "23": { + "name": "partialMatchTimeout", + "type": "primitive", + "range": [ + [ + 103, + 23 + ], + [ + 103, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "105": { + "17": { + "name": "defaultTarget", + "type": "primitive", + "range": [ + [ + 105, + 17 + ], + [ + 105, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "106": { + "25": { + "name": "pendingPartialMatches", + "type": "primitive", + "range": [ + [ + 106, + 25 + ], + [ + 106, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "107": { + "29": { + "name": "pendingStateTimeoutHandle", + "type": "primitive", + "range": [ + [ + 107, + 29 + ], + [ + 107, + 32 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "117": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 117, + 15 + ], + [ + 125, + 1 + ] + ], + "doc": " Public:\n\noptions - An {Object} containing properties to assign to the keymap: You can\n pass custom properties to be used by extension methods. The following\n properties are also supported:\n :defaultTarget - This will be used as the target of events whose target\n is `document.body` to allow for a catch-all element when nothing is\n focused " + } + }, + "125": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 125, + 11 + ], + [ + 132, + 1 + ] + ], + "doc": "Public: Unwatch all watched paths. " + } + }, + "132": { + "18": { + "name": "getKeyBindings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 132, + 18 + ], + [ + 141, + 1 + ] + ], + "doc": " Public: Get all current key bindings.\n\nReturns an {Array} of {KeyBinding}s. " + } + }, + "141": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source", + "keyBindingsBySelector" + ], + "range": [ + [ + 141, + 7 + ], + [ + 164, + 1 + ] + ], + "doc": " Public: Add sets of key bindings grouped by CSS selector.\n\nsource - A {String} (usually a path) uniquely identifying the given bindings\n so they can be removed later.\nbindings - An {Object} whose top-level keys point at sub-objects mapping\n keystroke patterns to commands. " + } + }, + "164": { + "14": { + "name": "loadKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bindingsPath", + "options" + ], + "range": [ + [ + 164, + 14 + ], + [ + 179, + 1 + ] + ], + "doc": " Public: Load the key bindings from the given path.\n\npath - A {String} containing a path to a file or a directory. If the path is\n a directory, all files inside it will be loaded.\noptions - An {Object} containing the following optional keys:\n :watch - If `true`, the keymap will also reload the file at the given path\n whenever it changes. This option cannot be used with directory paths. " + } + }, + "179": { + "15": { + "name": "watchKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 179, + 15 + ], + [ + 190, + 1 + ] + ], + "doc": " Public: Cause the keymap to reload the key bindings file at the given path\nwhenever it changes.\n\nThis method doesn't perform the initial load of the key bindings file. If\nthat's what you're looking for, call {::loadKeymap} with `watch: true`. " + } + }, + "190": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source" + ], + "range": [ + [ + 190, + 10 + ], + [ + 212, + 1 + ] + ], + "doc": " Public: Remove the key bindings added with {::addKeymap} or\n{::loadKeymap}.\n\nsource - A {String} representing the `source` in a previous call to\n {::addKeymap} or the path in {::loadKeymap}. " + } + }, + "212": { + "23": { + "name": "handleKeyboardEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event", + "replaying" + ], + "range": [ + [ + 212, + 23 + ], + [ + 289, + 1 + ] + ], + "doc": " Public: Dispatch a custom event associated with the matching key binding for\nthe given `KeyboardEvent` if one can be found.\n\nIf a matching binding is found on the event's target or one of its\nancestors, `.preventDefault()` is called on the keyboard event and the\nbinding's command is emitted as a custom event on the matching element.\n\nIf the matching binding's command is 'native!', the method will terminate\nwithout calling `.preventDefault()` on the keyboard event, allowing the\nbrowser to handle it as normal.\n\nIf the matching binding's command is 'unset!', the search will continue from\nthe current element's parent.\n\nIf the matching binding's command is 'abort!', the search will terminate\nwithout dispatching a command event.\n\nIf the event's target is `document.body`, it will be treated as if its\ntarget is `.defaultTarget` if that property is assigned on the keymap. " + } + }, + "289": { + "19": { + "name": "findKeyBindings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 289, + 19 + ], + [ + 314, + 1 + ] + ], + "doc": " Public: Get the key bindings for a given command and optional target.\n\nparams - An {Object} whose keys constrain the binding search:\n :keystrokes - A {String} representing one or more keystrokes, such as\n 'ctrl-x ctrl-s'\n :command - A {String} representing the name of a command, such as\n 'editor:backspace'\n :target - An optional DOM element constraining the search. If this\n parameter is supplied, the call will only return bindings that can be\n invoked by a KeyboardEvent originating from the target element. " + } + }, + "314": { + "16": { + "name": "reloadKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 314, + 16 + ], + [ + 324, + 1 + ] + ], + "doc": " Private: Called by the path watcher callback to reload a file at the given path. If\nwe can't read the file cleanly, we don't proceed with the reload. " + } + }, + "324": { + "14": { + "name": "readKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "suppressErrors" + ], + "range": [ + [ + 324, + 14 + ], + [ + 338, + 1 + ] + ], + "doc": "~Private~" + } + }, + "338": { + "27": { + "name": "filePathMatchesPlatform", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 338, + 27 + ], + [ + 345, + 1 + ] + ], + "doc": " Private: Determine if the given path should be loaded on this platform. If the\nfilename has the pattern '.cson' or 'foo..cson' and\n does not match the current platform, returns false. Otherwise\nreturns true. " + } + }, + "345": { + "21": { + "name": "getOtherPlatforms", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 345, + 21 + ], + [ + 345, + 37 + ] + ], + "doc": "Private: For testing purposes " + } + }, + "349": { + "23": { + "name": "findMatchCandidates", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystrokes" + ], + "range": [ + [ + 349, + 23 + ], + [ + 365, + 1 + ] + ], + "doc": " Private: Finds all key bindings whose keystrokes match the given keystrokes. Returns\nboth partial and exact matches. " + } + }, + "365": { + "22": { + "name": "findPartialMatches", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "partialMatchCandidates", + "target" + ], + "range": [ + [ + 365, + 22 + ], + [ + 385, + 1 + ] + ], + "doc": " Private: Determine which of the given bindings have selectors matching the target or\none of its ancestors. This is used by {::handleKeyboardEvent} to determine\nif there are any partial matches for the keyboard event. " + } + }, + "385": { + "20": { + "name": "findExactMatches", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "exactMatchCandidates", + "target" + ], + "range": [ + [ + 385, + 20 + ], + [ + 390, + 1 + ] + ], + "doc": " Private: Find the matching bindings among the given candidates for the given target,\nordered by specificity. Does not traverse up the target's ancestors. This is\nused by {::handleKeyboardEvent} to find a matching binding when there are no\npartially-matching bindings. " + } + }, + "390": { + "25": { + "name": "clearQueuedKeystrokes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 390, + 25 + ], + [ + 394, + 1 + ] + ], + "doc": "~Private~" + } + }, + "394": { + "21": { + "name": "enterPendingState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pendingPartialMatches", + "enableTimeout" + ], + "range": [ + [ + 394, + 21 + ], + [ + 400, + 1 + ] + ], + "doc": "~Private~" + } + }, + "400": { + "22": { + "name": "cancelPendingState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 400, + 22 + ], + [ + 410, + 1 + ] + ], + "doc": "~Private~" + } + }, + "410": { + "25": { + "name": "terminatePendingState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 410, + 25 + ], + [ + 427, + 1 + ] + ], + "doc": " Private: This is called by {::handleKeyboardEvent} when no matching bindings are\nfound for the currently queued keystrokes or by the pending state timeout.\nIt disables the longest of the pending partially matching bindings, then\nreplays the queued keyboard events to allow any bindings with shorter\nkeystroke sequences to be matched unambiguously. " + } + }, + "427": { + "24": { + "name": "dispatchCommandEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "target", + "keyboardEvent" + ], + "range": [ + [ + 427, + 24 + ], + [ + 446, + 1 + ] + ], + "doc": " Private: After we match a binding, we call this method to dispatch a custom event\nbased on the binding's command. " + } + }, + "446": { + "36": { + "name": "simulateBubblingOnDetachedTarget", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "target", + "commandEvent" + ], + "range": [ + [ + 446, + 36 + ], + [ + 460, + 1 + ] + ], + "doc": " Private: Chromium does not bubble events dispatched on detached targets, which makes\ntesting a pain in the ass. This method simulates bubbling manually. " + } + }, + "460": { + "29": { + "name": "keystrokeForKeyboardEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 460, + 29 + ], + [ + 464, + 1 + ] + ], + "doc": " Public: Translate a keydown event to a keystroke string.\n\nevent - A `KeyboardEvent` of type 'keydown'\n\nReturns a {String} describing the keystroke. " + } + }, + "464": { + "13": { + "name": "addKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source", + "bindings" + ], + "range": [ + [ + 464, + 13 + ], + [ + 469, + 1 + ] + ], + "doc": "Deprecated: Use {::addKeymap} instead. " + } + }, + "469": { + "16": { + "name": "removeKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source" + ], + "range": [ + [ + 469, + 16 + ], + [ + 475, + 1 + ] + ], + "doc": "Deprecated: Use {::removeKeymap} instead. " + } + }, + "475": { + "18": { + "name": "handleKeyEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 475, + 18 + ], + [ + 484, + 1 + ] + ], + "doc": " Deprecated: Handle a jQuery keyboard event. Use {::handleKeyboardEvent} with\na raw keyboard event instead. " + } + }, + "484": { + "27": { + "name": "keystrokeStringForEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 484, + 27 + ], + [ + 490, + 1 + ] + ], + "doc": " Deprecated: Translate a jQuery keyboard event to a keystroke string. Use\n{::keystrokeForKeyboardEvent} with a raw KeyboardEvent instead. " + } + }, + "490": { + "12": { + "name": "bindKeys", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source", + "selector", + "keyBindings" + ], + "range": [ + [ + 490, + 12 + ], + [ + 497, + 1 + ] + ], + "doc": " Deprecated: Use {::addKeymap} with a map from selectors to key\nbindings. " + } + }, + "497": { + "25": { + "name": "keyBindingsForCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command" + ], + "range": [ + [ + 497, + 25 + ], + [ + 502, + 1 + ] + ], + "doc": "Deprecated: Use {::findKeyBindings} with the 'command' param. " + } + }, + "502": { + "27": { + "name": "keyBindingsForKeystroke", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystroke" + ], + "range": [ + [ + 502, + 27 + ], + [ + 507, + 1 + ] + ], + "doc": "Deprecated: Use {::findKeyBindings} with the 'keystrokes' param. " + } + }, + "507": { + "30": { + "name": "keyBindingsMatchingElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "target", + "keyBindings" + ], + "range": [ + [ + 507, + 30 + ], + [ + 513, + 1 + ] + ], + "doc": "Deprecated: Use {::findKeyBindings} with the 'target' param. " + } + }, + "513": { + "40": { + "name": "keyBindingsForCommandMatchingElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "target" + ], + "range": [ + [ + 513, + 40 + ], + [ + 519, + 1 + ] + ], + "doc": " Deprecated: Use {::findKeyBindings} with the 'command' and 'target'\nparams " + } + }, + "519": { + "42": { + "name": "keyBindingsForKeystrokeMatchingElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystrokes", + "target" + ], + "range": [ + [ + 519, + 42 + ], + [ + 521, + 62 + ] + ], + "doc": " Deprecated: Use {::findKeyBindings} with the 'keystrokes' and 'target'\nparams " + } + } + }, + "exports": 84 + }, + "src/grammar-registry.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "10": { + "name": "Grammar", + "type": "import", + "range": [ + [ + 4, + 10 + ], + [ + 4, + 28 + ] + ], + "bindingType": "variable", + "path": "./grammar" + } + }, + "5": { + "14": { + "name": "NullGrammar", + "type": "import", + "range": [ + [ + 5, + 14 + ], + [ + 5, + 37 + ] + ], + "bindingType": "variable", + "path": "./null-grammar" + } + }, + "9": { + "0": { + "type": "class", + "name": "GrammarRegistry", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 24, + 15 + ], + [ + 32, + 23 + ], + [ + 38, + 17 + ], + [ + 47, + 29 + ], + [ + 57, + 14 + ], + [ + 69, + 19 + ], + [ + 81, + 15 + ], + [ + 96, + 19 + ], + [ + 106, + 15 + ], + [ + 119, + 26 + ], + [ + 128, + 29 + ], + [ + 135, + 31 + ], + [ + 139, + 25 + ], + [ + 151, + 17 + ], + [ + 154, + 15 + ], + [ + 156, + 18 + ], + [ + 160, + 17 + ] + ], + "doc": "Public: Registry containing one or more grammars. ", + "range": [ + [ + 9, + 0 + ], + [ + 164, + 11 + ] + ] + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 12, + 15 + ], + [ + 24, + 1 + ] + ], + "doc": "~Private~" + } + }, + "24": { + "15": { + "name": "getGrammars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 24, + 15 + ], + [ + 32, + 1 + ] + ], + "doc": " Public: Get all the grammars in this registry.\n\nReturns a non-empty {Array} of {Grammar} instances. " + } + }, + "32": { + "23": { + "name": "grammarForScopeName", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeName" + ], + "range": [ + [ + 32, + 23 + ], + [ + 38, + 1 + ] + ], + "doc": " Public: Get a grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`.\n\nReturns a {Grammar} or undefined. " + } + }, + "38": { + "17": { + "name": "removeGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 38, + 17 + ], + [ + 47, + 1 + ] + ], + "doc": " Public: Remove a grammar from this registry.\n\ngrammar - The {Grammar} to remove. " + } + }, + "47": { + "29": { + "name": "removeGrammarForScopeName", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeName" + ], + "range": [ + [ + 47, + 29 + ], + [ + 57, + 1 + ] + ], + "doc": " Public: Remove the grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`. " + } + }, + "57": { + "14": { + "name": "addGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 57, + 14 + ], + [ + 69, + 1 + ] + ], + "doc": " Public: Add a grammar to this registry.\n\nA 'grammar-added' event is emitted after the grammar is added.\n\ngrammar - The {Grammar} to add. This should be a value previously returned\n from {::readGrammar} or {::readGrammarSync}. " + } + }, + "69": { + "19": { + "name": "readGrammarSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath" + ], + "range": [ + [ + 69, + 19 + ], + [ + 81, + 1 + ] + ], + "doc": " Public: Read a grammar synchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\n\nReturns a {Grammar}. " + } + }, + "81": { + "15": { + "name": "readGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath", + "callback" + ], + "range": [ + [ + 81, + 15 + ], + [ + 96, + 1 + ] + ], + "doc": " Public: Read a grammar asynchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " + } + }, + "96": { + "19": { + "name": "loadGrammarSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath" + ], + "range": [ + [ + 96, + 19 + ], + [ + 106, + 1 + ] + ], + "doc": " Public: Read a grammar synchronously and add it to this registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\n\nReturns a {Grammar}. " + } + }, + "106": { + "15": { + "name": "loadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath", + "callback" + ], + "range": [ + [ + 106, + 15 + ], + [ + 119, + 1 + ] + ], + "doc": " Public: Read a grammar asynchronously and add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " + } + }, + "119": { + "26": { + "name": "grammarOverrideForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 119, + 26 + ], + [ + 128, + 1 + ] + ], + "doc": " Public: Get the grammar override for the given file path.\n\nfilePath - A {String} file path.\n\nReturns a {Grammar} or undefined. " + } + }, + "128": { + "29": { + "name": "setGrammarOverrideForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "scopeName" + ], + "range": [ + [ + 128, + 29 + ], + [ + 135, + 1 + ] + ], + "doc": " Public: Set the grammar override for the given file path.\n\nfilePath - A non-empty {String} file path.\nscopeName - A {String} such as `\"source.js\"`.\n\nReturns a {Grammar} or undefined. " + } + }, + "135": { + "31": { + "name": "clearGrammarOverrideForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 135, + 31 + ], + [ + 139, + 1 + ] + ], + "doc": " Public: Remove the grammar override for the given file path.\n\nfilePath - A {String} file path. " + } + }, + "139": { + "25": { + "name": "clearGrammarOverrides", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 139, + 25 + ], + [ + 151, + 1 + ] + ], + "doc": "Public: Remove all grammar overrides. " + } + }, + "151": { + "17": { + "name": "selectGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "fileContents" + ], + "range": [ + [ + 151, + 17 + ], + [ + 154, + 1 + ] + ], + "doc": " Public: Select a grammar for the given file path and file contents.\n\nThis picks the best match by checking the file path and contents against\neach grammar.\n\nfilePath - A {String} file path.\nfileContents - A {String} of text for the file path.\n\nReturns a {Grammar}, never null. " + } + }, + "154": { + "15": { + "name": "createToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "scopes" + ], + "range": [ + [ + 154, + 15 + ], + [ + 154, + 48 + ] + ], + "doc": "~Private~" + } + }, + "156": { + "18": { + "name": "grammarUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeName" + ], + "range": [ + [ + 156, + 18 + ], + [ + 160, + 1 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "17": { + "name": "createGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath", + "object" + ], + "range": [ + [ + 160, + 17 + ], + [ + 164, + 11 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 9 + }, + "src/grammar.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "3": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 3, + 5 + ], + [ + 3, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 10 + ] + ], + "bindingType": "variable", + "module": "oniguruma", + "name": "OnigRegExp", + "exportsProperty": "OnigRegExp" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "7": { + "13": { + "name": "Injections", + "type": "import", + "range": [ + [ + 7, + 13 + ], + [ + 7, + 34 + ] + ], + "bindingType": "variable", + "path": "./injections" + } + }, + "8": { + "10": { + "name": "Pattern", + "type": "import", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 28 + ] + ], + "bindingType": "variable", + "path": "./pattern" + } + }, + "9": { + "7": { + "name": "Rule", + "type": "import", + "range": [ + [ + 9, + 7 + ], + [ + 9, + 22 + ] + ], + "bindingType": "variable", + "path": "./rule" + } + }, + "10": { + "16": { + "name": "ScopeSelector", + "type": "import", + "range": [ + [ + 10, + 16 + ], + [ + 10, + 41 + ] + ], + "bindingType": "variable", + "path": "./scope-selector" + } + }, + "12": { + "21": { + "name": "pathSplitRegex", + "type": "function", + "range": [ + [ + 12, + 21 + ], + [ + 12, + 34 + ] + ] + } + }, + "19": { + "0": { + "type": "class", + "name": "Grammar", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 22, + 15 + ], + [ + 51, + 17 + ], + [ + 73, + 16 + ], + [ + 141, + 12 + ], + [ + 144, + 14 + ], + [ + 147, + 14 + ], + [ + 151, + 18 + ], + [ + 154, + 17 + ], + [ + 162, + 27 + ], + [ + 165, + 18 + ], + [ + 172, + 12 + ], + [ + 182, + 19 + ], + [ + 199, + 16 + ], + [ + 214, + 15 + ], + [ + 216, + 14 + ], + [ + 218, + 17 + ], + [ + 220, + 23 + ], + [ + 223, + 19 + ] + ], + "doc": " Public: Grammar that tokenizes lines of text.\n\nThis class should not be instantiated directly but instead obtained from\na {GrammarRegistry} by calling {GrammarRegistry::loadGrammar}. ", + "range": [ + [ + 19, + 0 + ], + [ + 235, + 10 + ] + ] + } + }, + "22": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + "options" + ], + "range": [ + [ + 22, + 15 + ], + [ + 51, + 1 + ] + ], + "doc": "~Private~" + } + }, + "51": { + "17": { + "name": "tokenizeLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 51, + 17 + ], + [ + 73, + 1 + ] + ], + "doc": " Public: Tokenize all lines in the given text.\n\ntext - A {String} containing one or more lines.\n\nReturns an {Array} of token arrays for each line tokenized. " + } + }, + "73": { + "16": { + "name": "tokenizeLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line", + "ruleStack", + "firstLine" + ], + "range": [ + [ + 73, + 16 + ], + [ + 141, + 1 + ] + ], + "doc": " Public: Tokenize the line of text.\n\nline - A {String} of text to tokenize.\nruleStack - An optional {Array} of rules previously returned from this\n method. This should be null when tokenizing the first line in\n the file.\nfirstLine - A {Boolean} denoting whether this is the first line in the file\n which defaults to `false`. This should be `true` when\n tokenizing the first line in the file.\n\nReturns an {Object} containing `tokens` and `ruleStack` properties:\n :token - An {Array} of tokens covering the entire line of text.\n :ruleStack - An {Array} of rules representing the tokenized state at the\n end of the line. These should be passed back into this method\n when tokenizing the next line in the file. " + } + }, + "141": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 12 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "14": { + "name": "deactivate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 144, + 14 + ], + [ + 147, + 1 + ] + ], + "doc": "~Private~" + } + }, + "147": { + "14": { + "name": "clearRules", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 147, + 14 + ], + [ + 151, + 1 + ] + ], + "doc": "~Private~" + } + }, + "151": { + "18": { + "name": "getInitialRule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 151, + 18 + ], + [ + 154, + 1 + ] + ], + "doc": "~Private~" + } + }, + "154": { + "17": { + "name": "getRepository", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 17 + ], + [ + 162, + 1 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "27": { + "name": "addIncludedGrammarScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scope" + ], + "range": [ + [ + 162, + 27 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "18": { + "name": "grammarUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeName" + ], + "range": [ + [ + 165, + 18 + ], + [ + 172, + 1 + ] + ], + "doc": "~Private~" + } + }, + "172": { + "12": { + "name": "getScore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "contents" + ], + "range": [ + [ + 172, + 12 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "19": { + "name": "matchesContents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "contents" + ], + "range": [ + [ + 182, + 19 + ], + [ + 199, + 1 + ] + ], + "doc": "~Private~" + } + }, + "199": { + "16": { + "name": "getPathScore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 199, + 16 + ], + [ + 214, + 1 + ] + ], + "doc": "~Private~" + } + }, + "214": { + "15": { + "name": "createToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "scopes" + ], + "range": [ + [ + 214, + 15 + ], + [ + 214, + 69 + ] + ], + "doc": "~Private~" + } + }, + "216": { + "14": { + "name": "createRule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 216, + 14 + ], + [ + 216, + 60 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "17": { + "name": "createPattern", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 218, + 17 + ], + [ + 218, + 66 + ] + ], + "doc": "~Private~" + } + }, + "220": { + "23": { + "name": "getMaxTokensPerLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 220, + 23 + ], + [ + 223, + 1 + ] + ], + "doc": "~Private~" + } + }, + "223": { + "19": { + "name": "scopesFromStack", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stack", + "rule", + "endPatternMatch" + ], + "range": [ + [ + 223, + 19 + ], + [ + 235, + 10 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 19 + }, + "src/directory.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 22 + ] + ], + "bindingType": "variable", + "module": "async" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "6": { + "7": { + "name": "File", + "type": "import", + "range": [ + [ + 6, + 7 + ], + [ + 6, + 22 + ] + ], + "bindingType": "variable", + "path": "./file" + } + }, + "7": { + "14": { + "name": "PathWatcher", + "type": "import", + "range": [ + [ + 7, + 14 + ], + [ + 7, + 29 + ] + ], + "bindingType": "variable", + "path": "./main" + } + }, + "11": { + "0": { + "type": "class", + "name": "Directory", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 14, + 12 + ], + [ + 20, + 15 + ], + [ + 39, + 15 + ], + [ + 46, + 11 + ], + [ + 49, + 10 + ], + [ + 52, + 15 + ], + [ + 58, + 11 + ], + [ + 66, + 19 + ], + [ + 70, + 13 + ], + [ + 75, + 10 + ], + [ + 82, + 19 + ], + [ + 95, + 12 + ], + [ + 119, + 14 + ], + [ + 154, + 18 + ], + [ + 174, + 14 + ], + [ + 198, + 33 + ], + [ + 202, + 37 + ], + [ + 208, + 18 + ] + ], + "doc": "Public: Represents a directory on disk that can be watched for changes. ", + "range": [ + [ + 11, + 0 + ], + [ + 209, + 73 + ] + ] + } + }, + "14": { + "12": { + "name": "realPath", + "type": "primitive", + "range": [ + [ + 14, + 12 + ], + [ + 14, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "20": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "directoryPath", + null + ], + "range": [ + [ + 20, + 15 + ], + [ + 39, + 1 + ] + ], + "doc": " Public: Configures a new Directory instance, no files are accessed.\n\ndirectoryPath - A {String} containing the absolute path to the directory.\nsymlink - A {Boolean} indicating if the path is a symlink (default: false). " + } + }, + "39": { + "15": { + "name": "getBaseName", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 39, + 15 + ], + [ + 46, + 1 + ] + ], + "doc": "Public: Returns the {String} basename of the directory. " + } + }, + "46": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 46, + 11 + ], + [ + 46, + 18 + ] + ], + "doc": " Public: Returns the directory's symbolic path.\n\nThis may include unfollowed symlinks or relative directory entries. Or it\nmay be fully resolved, it depends on what you give it. " + } + }, + "49": { + "10": { + "name": "isFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 10 + ], + [ + 49, + 17 + ] + ], + "doc": "Public: Distinguishes Files from Directories during traversal. " + } + }, + "52": { + "15": { + "name": "isDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 15 + ], + [ + 52, + 21 + ] + ], + "doc": "Public: Distinguishes Files from Directories during traversal. " + } + }, + "58": { + "11": { + "name": "getFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filename" + ], + "range": [ + [ + 58, + 11 + ], + [ + 66, + 1 + ] + ], + "doc": " Public: Traverse within this Directory to a child File. This method doesn't\nactually check to see if the File exists, it just creates the File object.\n\nfilename - The name of a File within this Directory. " + } + }, + "66": { + "19": { + "name": "getSubdirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "dirname" + ], + "range": [ + [ + 66, + 19 + ], + [ + 70, + 1 + ] + ], + "doc": " Public: Traverse within this a Directory to a child Directory. This method\ndoesn't actually check to see if the Directory exists, it just creates the\nDirectory object.\n\ndirname - The name of the child Directory. " + } + }, + "70": { + "13": { + "name": "getParent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 70, + 13 + ], + [ + 75, + 1 + ] + ], + "doc": "Public: Traverse to the parent Directory. " + } + }, + "75": { + "10": { + "name": "isRoot", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 75, + 10 + ], + [ + 82, + 1 + ] + ], + "doc": " Public: Return true if this {Directory} is the root directory of the\nfilesystem, or false if it isn't. " + } + }, + "82": { + "19": { + "name": "getRealPathSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 19 + ], + [ + 95, + 1 + ] + ], + "doc": " Public: Returns this directory's completely resolved path.\n\nAll relative directory entries are removed and symlinks are resolved to\ntheir final destination. " + } + }, + "95": { + "12": { + "name": "contains", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToCheck" + ], + "range": [ + [ + 95, + 12 + ], + [ + 119, + 1 + ] + ], + "doc": " Public: Returns whether the given path (real or symbolic) is inside this\ndirectory. This method does not actually check if the path exists, it just\nchecks if the path is under this directory. " + } + }, + "119": { + "14": { + "name": "relativize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fullPath" + ], + "range": [ + [ + 119, + 14 + ], + [ + 154, + 1 + ] + ], + "doc": "Public: Returns the relative path to the given path from this directory. " + } + }, + "154": { + "18": { + "name": "getEntriesSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 18 + ], + [ + 174, + 1 + ] + ], + "doc": " Public: Reads file entries in this directory from disk synchronously.\n\nReturns an {Array} of {File} and {Directory} objects. " + } + }, + "174": { + "14": { + "name": "getEntries", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 174, + 14 + ], + [ + 198, + 1 + ] + ], + "doc": " Public: Reads file entries in this directory from disk asynchronously.\n\ncallback - A {Function} to call with an {Error} as the 1st argument and\n an {Array} of {File} and {Directory} objects as the 2nd argument. " + } + }, + "198": { + "33": { + "name": "subscribeToNativeChangeEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 198, + 33 + ], + [ + 202, + 1 + ] + ], + "doc": "~Private~" + } + }, + "202": { + "37": { + "name": "unsubscribeFromNativeChangeEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 202, + 37 + ], + [ + 208, + 1 + ] + ], + "doc": "~Private~" + } + }, + "208": { + "18": { + "name": "isPathPrefixOf", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "prefix", + "fullPath" + ], + "range": [ + [ + 208, + 18 + ], + [ + 209, + 73 + ] + ], + "doc": "Private: Does given full path start with the given prefix? " + } + } + }, + "exports": 11 + }, + "src/file.coffee": { + "objects": { + "0": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 0, + 9 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "6": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 6, + 4 + ], + [ + 6, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "7": { + "8": { + "name": "runas", + "type": "import", + "range": [ + [ + 7, + 8 + ], + [ + 7, + 22 + ] + ], + "bindingType": "variable", + "module": "runas" + } + }, + "9": { + "12": { + "type": "primitive", + "range": [ + [ + 9, + 12 + ], + [ + 9, + 15 + ] + ] + } + }, + "10": { + "14": { + "name": "PathWatcher", + "type": "import", + "range": [ + [ + 10, + 14 + ], + [ + 10, + 29 + ] + ], + "bindingType": "variable", + "path": "./main" + } + }, + "15": { + "0": { + "type": "class", + "name": "File", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 18, + 12 + ], + [ + 24, + 15 + ], + [ + 34, + 28 + ], + [ + 49, + 10 + ], + [ + 52, + 15 + ], + [ + 55, + 11 + ], + [ + 59, + 11 + ], + [ + 62, + 13 + ], + [ + 67, + 19 + ], + [ + 76, + 15 + ], + [ + 80, + 9 + ], + [ + 86, + 12 + ], + [ + 101, + 8 + ], + [ + 128, + 10 + ], + [ + 131, + 13 + ], + [ + 135, + 13 + ], + [ + 142, + 40 + ], + [ + 154, + 27 + ], + [ + 167, + 32 + ], + [ + 170, + 22 + ], + [ + 178, + 33 + ], + [ + 182, + 37 + ] + ], + "doc": " Public: Represents an individual file that can be watched, read from, and\nwritten to. ", + "range": [ + [ + 15, + 0 + ], + [ + 185, + 31 + ] + ] + } + }, + "18": { + "12": { + "name": "realPath", + "type": "primitive", + "range": [ + [ + 18, + 12 + ], + [ + 18, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "24": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + null + ], + "range": [ + [ + 24, + 15 + ], + [ + 34, + 1 + ] + ], + "doc": " Public: Creates a new file.\n\nfilePath - A {String} containing the absolute path to the file\nsymlink - A {Boolean} indicating if the path is a symlink (default: false). " + } + }, + "34": { + "28": { + "name": "handleEventSubscriptions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 28 + ], + [ + 49, + 1 + ] + ], + "doc": "Private: Subscribes to file system notifications when necessary. " + } + }, + "49": { + "10": { + "name": "isFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 10 + ], + [ + 49, + 16 + ] + ], + "doc": "Public: Distinguishes Files from Directories during traversal. " + } + }, + "52": { + "15": { + "name": "isDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 15 + ], + [ + 52, + 22 + ] + ], + "doc": "Public: Distinguishes Files from Directories during traversal. " + } + }, + "55": { + "11": { + "name": "setPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 55, + 11 + ], + [ + 59, + 1 + ] + ], + "doc": "Private: Sets the path for the file. " + } + }, + "59": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 11 + ], + [ + 59, + 18 + ] + ], + "doc": "Public: Returns the {String} path for the file. " + } + }, + "62": { + "13": { + "name": "getParent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 62, + 13 + ], + [ + 67, + 1 + ] + ], + "doc": "Public: Return the {Directory} that contains this file. " + } + }, + "67": { + "19": { + "name": "getRealPathSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 19 + ], + [ + 76, + 1 + ] + ], + "doc": "Public: Returns this file's completely resolved path. " + } + }, + "76": { + "15": { + "name": "getBaseName", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 15 + ], + [ + 80, + 1 + ] + ], + "doc": "Public: Return the {String} filename without any directory information. " + } + }, + "80": { + "9": { + "name": "write", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 80, + 9 + ], + [ + 86, + 1 + ] + ], + "doc": "Public: Overwrites the file with the given String. " + } + }, + "86": { + "12": { + "name": "readSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "flushCache" + ], + "range": [ + [ + 86, + 12 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "8": { + "name": "read", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "flushCache" + ], + "range": [ + [ + 101, + 8 + ], + [ + 128, + 1 + ] + ], + "doc": " Public: Reads the contents of the file.\n\nflushCache - A {Boolean} indicating whether to require a direct read or if\n a cached copy is acceptable.\n\nReturns a promise that resovles to a String. " + } + }, + "128": { + "10": { + "name": "exists", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 128, + 10 + ], + [ + 131, + 1 + ] + ], + "doc": "Public: Returns whether the file exists. " + } + }, + "131": { + "13": { + "name": "setDigest", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "contents" + ], + "range": [ + [ + 131, + 13 + ], + [ + 135, + 1 + ] + ], + "doc": "~Private~" + } + }, + "135": { + "13": { + "name": "getDigest", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 135, + 13 + ], + [ + 142, + 1 + ] + ], + "doc": "Public: Get the SHA-1 digest of this file " + } + }, + "142": { + "40": { + "name": "writeFileWithPrivilegeEscalationSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "text" + ], + "range": [ + [ + 142, + 40 + ], + [ + 154, + 1 + ] + ], + "doc": " Private: Writes the text to specified path.\n\nPrivilege escalation would be asked when current user doesn't have\npermission to the path. " + } + }, + "154": { + "27": { + "name": "handleNativeChangeEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventType", + "eventPath" + ], + "range": [ + [ + 154, + 27 + ], + [ + 167, + 1 + ] + ], + "doc": "~Private~" + } + }, + "167": { + "32": { + "name": "detectResurrectionAfterDelay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 167, + 32 + ], + [ + 170, + 1 + ] + ], + "doc": "~Private~" + } + }, + "170": { + "22": { + "name": "detectResurrection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 170, + 22 + ], + [ + 178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "178": { + "33": { + "name": "subscribeToNativeChangeEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 178, + 33 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "37": { + "name": "unsubscribeFromNativeChangeEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 182, + 37 + ], + [ + 185, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 15 + }, + "src/space-pen.coffee": { + "objects": { + "4": { + "3": { + "type": "primitive", + "name": "_", + "range": [ + [ + 4, + 3 + ], + [ + 4, + 3 + ] + ], + "exportsProperty": "_" + }, + "6": { + "type": "primitive", + "name": "jQuery", + "range": [ + [ + 4, + 6 + ], + [ + 4, + 11 + ] + ], + "exportsProperty": "jQuery" + } + }, + "5": { + "6": { + "name": "jQuery", + "type": "primitive", + "range": [ + [ + 5, + 6 + ], + [ + 5, + 11 + ] + ] + } + }, + "8": { + "2": { + "name": "Tags", + "type": "function", + "range": [ + [ + 8, + 2 + ], + [ + 15, + 60 + ] + ] + } + }, + "17": { + "18": { + "type": "primitive", + "range": [ + [ + 17, + 18 + ], + [ + 17, + 19 + ] + ] + } + }, + "22": { + "2": { + "name": "Events", + "type": "function", + "range": [ + [ + 22, + 2 + ], + [ + 24, + 57 + ] + ] + } + }, + "28": { + "8": { + "name": "document", + "type": "primitive", + "range": [ + [ + 28, + 8 + ], + [ + 28, + 15 + ] + ] + } + }, + "32": { + "12": { + "name": "0", + "type": "primitive", + "range": [ + [ + 32, + 12 + ], + [ + 32, + 12 + ] + ] + } + }, + "58": { + "0": { + "type": "class", + "name": "View", + "classProperties": [ + [ + 59, + 17 + ], + [ + 65, + 12 + ], + [ + 69, + 9 + ], + [ + 72, + 8 + ], + [ + 75, + 8 + ], + [ + 77, + 16 + ], + [ + 83, + 15 + ], + [ + 87, + 14 + ], + [ + 92, + 11 + ] + ], + "prototypeProperties": [ + [ + 100, + 15 + ], + [ + 113, + 13 + ], + [ + 120, + 15 + ], + [ + 128, + 21 + ], + [ + 147, + 13 + ], + [ + 153, + 7 + ], + [ + 167, + 11 + ], + [ + 174, + 11 + ] + ], + "doc": " Public: View class that extends the jQuery prototype.\n\nExtending classes must implement a `@content` method.\n\n## Example\n```coffee\nclass Spacecraft extends View\n @content: ->\n @div =>\n @h1 'Spacecraft'\n @ol =>\n @li 'Apollo'\n @li 'Soyuz'\n @li 'Space Shuttle'\n```\n\nEach view instance will have all the methods from the jQuery prototype\navailable on it.\n\n```coffee\n craft = new Spacecraft()\n craft.find('h1').text() # 'Spacecraft'\n craft.appendTo(document.body) # View is now a child of the tag\n``` ", + "range": [ + [ + 58, + 0 + ], + [ + 176, + 0 + ] + ] + } + }, + "59": { + "17": { + "name": "builderStack", + "type": "primitive", + "range": [ + [ + 59, + 17 + ], + [ + 59, + 20 + ] + ], + "bindingType": "classProperty" + } + }, + "65": { + "12": { + "name": "subview", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "name", + "view" + ], + "range": [ + [ + 65, + 12 + ], + [ + 69, + 1 + ] + ], + "doc": "Public: Add the given subview wired to an outlet with the given name " + } + }, + "69": { + "9": { + "name": "text", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 69, + 9 + ], + [ + 69, + 48 + ] + ], + "doc": "Public: Add a text node with the given text content " + } + }, + "72": { + "8": { + "name": "tag", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "tagName", + "args" + ], + "range": [ + [ + 72, + 8 + ], + [ + 72, + 66 + ] + ], + "doc": "Public: Add a new tag with the given name " + } + }, + "75": { + "8": { + "name": "raw", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 75, + 8 + ], + [ + 75, + 46 + ] + ], + "doc": "Public: Add new child DOM nodes from the given raw HTML string. " + } + }, + "77": { + "16": { + "name": "pushBuilder", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 77, + 16 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "15": { + "name": "popBuilder", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 83, + 15 + ], + [ + 87, + 1 + ] + ], + "doc": "~Private~" + } + }, + "87": { + "14": { + "name": "buildHtml", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 87, + 14 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "11": { + "name": "render", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 92, + 11 + ], + [ + 100, + 1 + ] + ], + "doc": "~Private~" + } + }, + "100": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 100, + 15 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "13": { + "name": "buildHtml", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 113, + 13 + ], + [ + 120, + 1 + ] + ], + "doc": "~Private~" + } + }, + "120": { + "15": { + "name": "wireOutlets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 120, + 15 + ], + [ + 128, + 1 + ] + ], + "doc": "~Private~" + } + }, + "128": { + "21": { + "name": "bindEventHandlers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 128, + 21 + ], + [ + 147, + 1 + ] + ], + "doc": "~Private~" + } + }, + "147": { + "13": { + "name": "pushStack", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "elems" + ], + "range": [ + [ + 147, + 13 + ], + [ + 153, + 1 + ] + ], + "doc": " Private: `pushStack` and `end` are jQuery methods that construct new wrappers.\nwe override them here to construct plain wrappers with `jQuery` rather\nthan wrappers that are instances of our view class. " + } + }, + "153": { + "7": { + "name": "end", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 153, + 7 + ], + [ + 167, + 1 + ] + ], + "doc": "~Private~" + } + }, + "167": { + "11": { + "name": "command", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "commandName", + "selector", + "options", + "handler" + ], + "range": [ + [ + 167, + 11 + ], + [ + 174, + 1 + ] + ], + "doc": " Public: Calls the given handler when commandName is triggered on the {View}.\n\nThis is enhanced version of jQuery's `::on` method. It listens for a custom\nDOM event and adds metadata to the DOM to maintain a list of all commands.\n\ncommandName - A namespaced {String} describing the command, such as\n `find-and-replace:toggle`.\nselector - An optional selector {String} to filter the descendants of the\n elements that trigger the event.\noptions - An optional options {Object} with an `data` key.\nhandler - A {Function} to execute when the command is triggered. " + } + }, + "174": { + "11": { + "name": "preempt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventName", + "handler" + ], + "range": [ + [ + 174, + 11 + ], + [ + 176, + 0 + ] + ], + "doc": " Public: Preempt events registered with jQuery's `::on`.\n\neventName - A event name {String}.\nhandler - A {Function} to execute when the eventName is triggered. " + } + }, + "177": { + "0": { + "type": "class", + "name": "Builder", + "classProperties": [], + "prototypeProperties": [ + [ + 178, + 15 + ], + [ + 182, + 13 + ], + [ + 185, + 7 + ], + [ + 198, + 11 + ], + [ + 211, + 12 + ], + [ + 214, + 8 + ], + [ + 224, + 7 + ], + [ + 227, + 11 + ], + [ + 235, + 18 + ] + ], + "doc": "~Private~", + "range": [ + [ + 177, + 0 + ], + [ + 247, + 54 + ] + ] + } + }, + "178": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 178, + 15 + ], + [ + 182, + 1 + ] + ] + } + }, + "182": { + "13": { + "name": "buildHtml", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 182, + 13 + ], + [ + 185, + 1 + ] + ], + "doc": "~Private~" + } + }, + "185": { + "7": { + "name": "tag", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "args" + ], + "range": [ + [ + 185, + 7 + ], + [ + 198, + 1 + ] + ], + "doc": "~Private~" + } + }, + "198": { + "11": { + "name": "openTag", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "attributes" + ], + "range": [ + [ + 198, + 11 + ], + [ + 211, + 1 + ] + ], + "doc": "~Private~" + } + }, + "211": { + "12": { + "name": "closeTag", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 211, + 12 + ], + [ + 214, + 1 + ] + ], + "doc": "~Private~" + } + }, + "214": { + "8": { + "name": "text", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 214, + 8 + ], + [ + 224, + 1 + ] + ], + "doc": "~Private~" + } + }, + "224": { + "7": { + "name": "raw", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 224, + 7 + ], + [ + 227, + 1 + ] + ], + "doc": "~Private~" + } + }, + "227": { + "11": { + "name": "subview", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "outletName", + "subview" + ], + "range": [ + [ + 227, + 11 + ], + [ + 235, + 1 + ] + ], + "doc": "~Private~" + } + }, + "235": { + "18": { + "name": "extractOptions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 235, + 18 + ], + [ + 247, + 54 + ] + ], + "doc": "~Private~" + } + }, + "248": { + "17": { + "name": "callAttachHook", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 248, + 17 + ], + [ + 260, + 0 + ] + ], + "doc": "Private: Trigger attach event when views are added to the DOM " + } + }, + "278": { + "20": { + "name": "jQuery", + "type": "primitive", + "range": [ + [ + 278, + 20 + ], + [ + 278, + 25 + ] + ] + } + }, + "279": { + "19": { + "name": "jQuery.cleanData", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "elements" + ], + "range": [ + [ + 279, + 19 + ], + [ + 286, + 0 + ] + ], + "doc": null + } + }, + "287": { + "12": { + "name": "$.fn.view", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 287, + 12 + ], + [ + 289, + 0 + ] + ], + "doc": null + } + }, + "290": { + "13": { + "name": "$.fn.views", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 290, + 13 + ], + [ + 293, + 0 + ] + ], + "doc": null + } + }, + "294": { + "22": { + "name": "$.fn.containingView", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 294, + 22 + ], + [ + 299, + 0 + ] + ], + "doc": null + } + }, + "300": { + "20": { + "name": "$.fn.scrollBottom", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newValue" + ], + "range": [ + [ + 300, + 20 + ], + [ + 305, + 0 + ] + ], + "doc": null + } + }, + "306": { + "18": { + "name": "$.fn.scrollDown", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 306, + 18 + ], + [ + 308, + 0 + ] + ], + "doc": null + } + }, + "309": { + "16": { + "name": "$.fn.scrollUp", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 309, + 16 + ], + [ + 311, + 0 + ] + ], + "doc": null + } + }, + "312": { + "19": { + "name": "$.fn.scrollToTop", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 312, + 19 + ], + [ + 314, + 0 + ] + ], + "doc": null + } + }, + "315": { + "22": { + "name": "$.fn.scrollToBottom", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 22 + ], + [ + 317, + 0 + ] + ], + "doc": null + } + }, + "318": { + "19": { + "name": "$.fn.scrollRight", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newValue" + ], + "range": [ + [ + 318, + 19 + ], + [ + 323, + 0 + ] + ], + "doc": null + } + }, + "324": { + "14": { + "name": "$.fn.pageUp", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 324, + 14 + ], + [ + 326, + 0 + ] + ], + "doc": null + } + }, + "327": { + "16": { + "name": "$.fn.pageDown", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 327, + 16 + ], + [ + 329, + 0 + ] + ], + "doc": null + } + }, + "330": { + "15": { + "name": "$.fn.isOnDom", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 330, + 15 + ], + [ + 332, + 0 + ] + ], + "doc": null + } + }, + "333": { + "17": { + "name": "$.fn.isVisible", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 333, + 17 + ], + [ + 335, + 0 + ] + ], + "doc": null + } + }, + "336": { + "16": { + "name": "$.fn.isHidden", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 336, + 16 + ], + [ + 347, + 0 + ] + ], + "doc": null + } + }, + "348": { + "18": { + "name": "$.fn.isDisabled", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 348, + 18 + ], + [ + 350, + 0 + ] + ], + "doc": null + } + }, + "351": { + "14": { + "name": "$.fn.enable", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 351, + 14 + ], + [ + 353, + 0 + ] + ], + "doc": null + } + }, + "354": { + "15": { + "name": "$.fn.disable", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 354, + 15 + ], + [ + 356, + 0 + ] + ], + "doc": null + } + }, + "357": { + "16": { + "name": "$.fn.insertAt", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "index", + "element" + ], + "range": [ + [ + 357, + 16 + ], + [ + 363, + 0 + ] + ], + "doc": null + } + }, + "364": { + "16": { + "name": "$.fn.removeAt", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 364, + 16 + ], + [ + 366, + 0 + ] + ], + "doc": null + } + }, + "367": { + "15": { + "name": "$.fn.indexOf", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 367, + 15 + ], + [ + 369, + 0 + ] + ], + "doc": null + } + }, + "370": { + "23": { + "name": "$.fn.containsElement", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 370, + 23 + ], + [ + 372, + 0 + ] + ], + "doc": null + } + }, + "373": { + "15": { + "name": "$.fn.preempt", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "eventName", + "handler" + ], + "range": [ + [ + 373, + 15 + ], + [ + 387, + 57 + ] + ], + "doc": null + } + }, + "388": { + "16": { + "name": "$.fn.handlers", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "eventName" + ], + "range": [ + [ + 388, + 16 + ], + [ + 392, + 0 + ] + ], + "doc": null + } + }, + "393": { + "17": { + "name": "$.fn.hasParent", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 393, + 17 + ], + [ + 395, + 0 + ] + ], + "doc": null + } + }, + "396": { + "16": { + "name": "$.fn.hasFocus", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 396, + 16 + ], + [ + 398, + 0 + ] + ], + "doc": null + } + }, + "399": { + "18": { + "name": "$.fn.flashError", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 399, + 18 + ], + [ + 403, + 0 + ] + ], + "doc": null + } + }, + "404": { + "18": { + "name": "$.fn.trueHeight", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 404, + 18 + ], + [ + 406, + 0 + ] + ], + "doc": null + } + }, + "407": { + "17": { + "name": "$.fn.trueWidth", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 407, + 17 + ], + [ + 409, + 0 + ] + ], + "doc": null + } + }, + "410": { + "16": { + "name": "$.fn.document", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "eventName", + "docString" + ], + "range": [ + [ + 410, + 16 + ], + [ + 415, + 0 + ] + ], + "doc": null + } + }, + "416": { + "14": { + "name": "$.fn.events", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 416, + 14 + ], + [ + 427, + 0 + ] + ], + "doc": null + } + }, + "428": { + "15": { + "name": "$.fn.command", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "eventName", + "selector", + "options", + "handler" + ], + "range": [ + [ + 428, + 15 + ], + [ + 442, + 0 + ] + ], + "doc": null + } + }, + "443": { + "16": { + "name": "$.fn.iconSize", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "size" + ], + "range": [ + [ + 443, + 16 + ], + [ + 445, + 0 + ] + ], + "doc": null + } + }, + "446": { + "16": { + "name": "$.fn.intValue", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 446, + 16 + ], + [ + 448, + 0 + ] + ], + "doc": null + } + }, + "449": { + "36": { + "name": "$.Event.prototype.abortKeyBinding", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 449, + 36 + ], + [ + 449, + 37 + ] + ], + "doc": null + } + }, + "450": { + "38": { + "name": "$.Event.prototype.currentTargetView", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 450, + 38 + ], + [ + 450, + 74 + ] + ], + "doc": null + } + }, + "451": { + "31": { + "name": "$.Event.prototype.targetView", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 451, + 31 + ], + [ + 451, + 60 + ] + ], + "doc": null + } + }, + "459": { + "0": { + "name": "$$", + "bindingType": "exportsProperty", + "type": "function", + "range": [ + [ + 459, + 0 + ], + [ + 459, + 6 + ] + ] + } + }, + "460": { + "0": { + "name": "$$$", + "bindingType": "exportsProperty", + "type": "function", + "range": [ + [ + 460, + 0 + ], + [ + 460, + 6 + ] + ] + } + } + }, + "exports": { + "_default": { + "operator": "?", + "first": { + "base": { + "value": "exports", + "locationData": { + "first_line": 455, + "first_column": 10, + "last_line": 455, + "last_column": 16 + } + }, + "properties": [], + "locationData": { + "first_line": 455, + "first_column": 10, + "last_line": 455, + "last_column": 16 + } + }, + "second": { + "base": { + "value": "this", + "locationData": { + "first_line": 455, + "first_column": 20, + "last_line": 455, + "last_column": 23 + } + }, + "properties": [], + "locationData": { + "first_line": 455, + "first_column": 20, + "last_line": 455, + "last_column": 23 + } + }, + "flip": false, + "locationData": { + "first_line": 455, + "first_column": 10, + "last_line": 455, + "last_column": 23 + } + }, + "View": { + "startLineNumber": 456 + }, + "jQuery": { + "startLineNumber": 457 + }, + "$": { + "startLineNumber": 458 + }, + "$$": { + "startLineNumber": 459 + }, + "$$$": { + "startLineNumber": 460 + } + } + } + } + }, + { + "main": "./src/text-buffer.coffee", + "repository": "https://github.com/atom/text-buffer.git", + "version": "3.0.0", + "files": { + "src/atom.coffee": { + "objects": { + "0": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 0, + 9 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "1": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "2": { + "5": { + "name": "os", + "type": "import", + "range": [ + [ + 2, + 5 + ], + [ + 2, + 16 + ] + ], + "bindingType": "variable", + "module": "os", + "builtin": true + } + }, + "3": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "4": { + "9": { + "name": "remote", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 24 + ] + ], + "bindingType": "variable", + "module": "remote" + } + }, + "5": { + "9": { + "name": "screen", + "type": "import", + "range": [ + [ + 5, + 9 + ], + [ + 5, + 24 + ] + ], + "bindingType": "variable", + "module": "screen" + } + }, + "6": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 6, + 8 + ], + [ + 6, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "8": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 8, + 4 + ], + [ + 8, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "9": { + "1": { + "type": "import", + "range": [ + [ + 9, + 1 + ], + [ + 9, + 10 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecated", + "exportsProperty": "deprecated" + } + }, + "10": { + "1": { + "type": "import", + "range": [ + [ + 10, + 1 + ], + [ + 10, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "11": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 11, + 5 + ], + [ + 11, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@2.x" + } + }, + "13": { + "1": { + "type": "import", + "range": [ + [ + 13, + 1 + ], + [ + 13, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "14": { + "21": { + "name": "WindowEventHandler", + "type": "import", + "range": [ + [ + 14, + 21 + ], + [ + 14, + 52 + ] + ], + "bindingType": "variable", + "path": "./window-event-handler" + } + }, + "35": { + "0": { + "type": "class", + "name": "Atom", + "bindingType": "exports", + "classProperties": [ + [ + 36, + 12 + ], + [ + 44, + 17 + ], + [ + 48, + 16 + ], + [ + 53, + 14 + ], + [ + 71, + 17 + ], + [ + 89, + 21 + ], + [ + 95, + 22 + ], + [ + 99, + 20 + ], + [ + 109, + 21 + ] + ], + "prototypeProperties": [ + [ + 112, + 31 + ], + [ + 115, + 15 + ], + [ + 123, + 14 + ], + [ + 177, + 31 + ], + [ + 181, + 33 + ], + [ + 184, + 24 + ], + [ + 188, + 20 + ], + [ + 194, + 23 + ], + [ + 211, + 23 + ], + [ + 221, + 21 + ], + [ + 224, + 32 + ], + [ + 229, + 30 + ], + [ + 246, + 27 + ], + [ + 252, + 25 + ], + [ + 259, + 19 + ], + [ + 262, + 22 + ], + [ + 269, + 28 + ], + [ + 281, + 28 + ], + [ + 285, + 27 + ], + [ + 292, + 21 + ], + [ + 320, + 22 + ], + [ + 336, + 14 + ], + [ + 339, + 15 + ], + [ + 353, + 8 + ], + [ + 377, + 11 + ], + [ + 397, + 18 + ], + [ + 400, + 22 + ], + [ + 407, + 16 + ], + [ + 411, + 18 + ], + [ + 415, + 31 + ], + [ + 419, + 10 + ], + [ + 423, + 9 + ], + [ + 428, + 8 + ], + [ + 432, + 8 + ], + [ + 439, + 11 + ], + [ + 446, + 15 + ], + [ + 450, + 10 + ], + [ + 457, + 17 + ], + [ + 464, + 9 + ], + [ + 467, + 8 + ], + [ + 473, + 13 + ], + [ + 477, + 14 + ], + [ + 481, + 20 + ], + [ + 485, + 17 + ], + [ + 490, + 16 + ], + [ + 496, + 14 + ], + [ + 500, + 21 + ], + [ + 506, + 20 + ], + [ + 509, + 12 + ], + [ + 523, + 21 + ], + [ + 526, + 20 + ], + [ + 529, + 22 + ], + [ + 533, + 8 + ], + [ + 537, + 25 + ], + [ + 541, + 25 + ], + [ + 555, + 22 + ] + ], + "doc": " Public: Atom global for dealing with packages, themes, menus, and the window.\n\nAn instance of this class is always available as the `atom` global.\n\n## Useful properties available:\n\n * `atom.clipboard` - A {Clipboard} instance\n * `atom.config` - A {Config} instance\n * `atom.contextMenu` - A {ContextMenuManager} instance\n * `atom.deserializers` - A {DeserializerManager} instance\n * `atom.keymaps` - A {KeymapManager} instance\n * `atom.menu` - A {MenuManager} instance\n * `atom.packages` - A {PackageManager} instance\n * `atom.project` - A {Project} instance\n * `atom.syntax` - A {Syntax} instance\n * `atom.themes` - A {ThemeManager} instance\n * `atom.workspace` - A {Workspace} instance\n * `atom.workspaceView` - A {WorkspaceView} instance ", + "range": [ + [ + 35, + 0 + ], + [ + 567, + 27 + ] + ] + } + }, + "36": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 36, + 12 + ], + [ + 36, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "44": { + "17": { + "name": "loadOrCreate", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 44, + 17 + ], + [ + 48, + 1 + ] + ], + "doc": " Public: Load or create the Atom environment in the given mode.\n\nmode - Pass 'editor' or 'spec' depending on the kind of environment you\n want to build.\n\nReturns an Atom instance, fully initialized " + } + }, + "48": { + "16": { + "name": "deserialize", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 48, + 16 + ], + [ + 53, + 1 + ] + ], + "doc": "Private: Deserializes the Atom environment from a state object " + } + }, + "53": { + "14": { + "name": "loadState", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 53, + 14 + ], + [ + 71, + 1 + ] + ], + "doc": " Private: Loads and returns the serialized state corresponding to this window\nif it exists; otherwise returns undefined. " + } + }, + "71": { + "17": { + "name": "getStatePath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 71, + 17 + ], + [ + 89, + 1 + ] + ], + "doc": " Private: Returns the path where the state for the current window will be\nlocated if it exists. " + } + }, + "89": { + "21": { + "name": "getConfigDirPath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 95, + 1 + ] + ], + "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " + } + }, + "95": { + "22": { + "name": "getStorageDirPath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 95, + 22 + ], + [ + 99, + 1 + ] + ], + "doc": " Private: Get the path to Atom's storage directory.\n\nReturns the absolute path to ~/.atom/storage " + } + }, + "99": { + "20": { + "name": "getLoadSettings", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 99, + 20 + ], + [ + 109, + 1 + ] + ], + "doc": "Private: Returns the load settings hash associated with the current window. " + } + }, + "109": { + "21": { + "name": "getCurrentWindow", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 21 + ], + [ + 112, + 1 + ] + ], + "doc": "~Private~" + } + }, + "112": { + "31": { + "name": "workspaceViewParentSelector", + "type": "primitive", + "range": [ + [ + 112, + 31 + ], + [ + 112, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "115": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 115, + 15 + ], + [ + 123, + 1 + ] + ], + "doc": "Private: Call .loadOrCreate instead " + } + }, + "123": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 123, + 14 + ], + [ + 177, + 1 + ] + ], + "doc": " Public: Sets up the basic services that should be available in all modes\n(both spec and application). Call after this instance has been assigned to\nthe `atom` global. " + } + }, + "177": { + "31": { + "name": "registerRepresentationClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 31 + ], + [ + 181, + 1 + ] + ], + "doc": "Deprecated: Callers should be converted to use atom.deserializers " + } + }, + "181": { + "33": { + "name": "registerRepresentationClasses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 181, + 33 + ], + [ + 184, + 1 + ] + ], + "doc": "Deprecated: Callers should be converted to use atom.deserializers " + } + }, + "184": { + "24": { + "name": "setBodyPlatformClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 184, + 24 + ], + [ + 188, + 1 + ] + ], + "doc": "~Private~" + } + }, + "188": { + "20": { + "name": "getCurrentWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 20 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "23": { + "name": "getWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 194, + 23 + ], + [ + 211, + 1 + ] + ], + "doc": " Public: Get the dimensions of this window.\n\nReturns an object with x, y, width, and height keys. " + } + }, + "211": { + "23": { + "name": "setWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 211, + 23 + ], + [ + 221, + 1 + ] + ], + "doc": " Public: Set the dimensions of the window.\n\nThe window will be centered if either the x or y coordinate is not set\nin the dimensions parameter. If x or y are omitted the window will be\ncentered. If height or width are omitted only the position will be changed.\n\ndimensions - An {Object} with the following keys:\n :x - The new x coordinate.\n :y - The new y coordinate.\n :width - The new width.\n :height - The new height. " + } + }, + "221": { + "21": { + "name": "isValidDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 221, + 21 + ], + [ + 224, + 1 + ] + ], + "doc": " Private: Returns true if the dimensions are useable, false if they should be ignored.\nWork around for https://github.com/atom/atom-shell/issues/473 " + } + }, + "224": { + "32": { + "name": "storeDefaultWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 32 + ], + [ + 229, + 1 + ] + ], + "doc": "~Private~" + } + }, + "229": { + "30": { + "name": "getDefaultWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 229, + 30 + ], + [ + 246, + 1 + ] + ], + "doc": "~Private~" + } + }, + "246": { + "27": { + "name": "restoreWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 246, + 27 + ], + [ + 252, + 1 + ] + ], + "doc": "~Private~" + } + }, + "252": { + "25": { + "name": "storeWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 252, + 25 + ], + [ + 259, + 1 + ] + ], + "doc": "~Private~" + } + }, + "259": { + "19": { + "name": "getLoadSettings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 259, + 19 + ], + [ + 262, + 1 + ] + ], + "doc": "Private: Returns the load settings hash associated with the current window. " + } + }, + "262": { + "22": { + "name": "deserializeProject", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 262, + 22 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "28": { + "name": "deserializeWorkspaceView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 28 + ], + [ + 281, + 1 + ] + ], + "doc": "~Private~" + } + }, + "281": { + "28": { + "name": "deserializePackageStates", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 281, + 28 + ], + [ + 285, + 1 + ] + ], + "doc": "~Private~" + } + }, + "285": { + "27": { + "name": "deserializeEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 285, + 27 + ], + [ + 292, + 1 + ] + ], + "doc": "~Private~" + } + }, + "292": { + "21": { + "name": "startEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 21 + ], + [ + 320, + 1 + ] + ], + "doc": "Private: Call this method when establishing a real application window. " + } + }, + "320": { + "22": { + "name": "unloadEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 320, + 22 + ], + [ + 336, + 1 + ] + ], + "doc": "~Private~" + } + }, + "336": { + "14": { + "name": "loadThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 336, + 14 + ], + [ + 339, + 1 + ] + ], + "doc": "~Private~" + } + }, + "339": { + "15": { + "name": "watchThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 339, + 15 + ], + [ + 353, + 1 + ] + ], + "doc": "~Private~" + } + }, + "353": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 353, + 8 + ], + [ + 377, + 1 + ] + ], + "doc": " Public: Open a new Atom window using the given options.\n\nCalling this method without an options parameter will open a prompt to pick\na file/folder to open in the new window.\n\noptions - An {Object} with the following keys:\n :pathsToOpen - An {Array} of {String} paths to open. " + } + }, + "377": { + "11": { + "name": "confirm", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 377, + 11 + ], + [ + 397, + 1 + ] + ], + "doc": " Public: Open a confirm dialog.\n\n## Example\n\n```coffee\n atom.confirm\n message: 'How you feeling?'\n detailedMessage: 'Be honest.'\n buttons:\n Good: -> window.alert('good to hear')\n Bad: -> window.alert('bummer')\n```\n\noptions - An {Object} with the following keys:\n :message - The {String} message to display.\n :detailedMessage - The {String} detailed message to display.\n :buttons - Either an array of strings or an object where keys are\n button names and the values are callbacks to invoke when\n clicked.\n\nReturns the chosen button index {Number} if the buttons option was an array. " + } + }, + "397": { + "18": { + "name": "showSaveDialog", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 397, + 18 + ], + [ + 400, + 1 + ] + ], + "doc": "~Private~" + } + }, + "400": { + "22": { + "name": "showSaveDialogSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultPath" + ], + "range": [ + [ + 400, + 22 + ], + [ + 407, + 1 + ] + ], + "doc": "~Private~" + } + }, + "407": { + "16": { + "name": "openDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 407, + 16 + ], + [ + 411, + 1 + ] + ], + "doc": "Public: Open the dev tools for the current window. " + } + }, + "411": { + "18": { + "name": "toggleDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 411, + 18 + ], + [ + 415, + 1 + ] + ], + "doc": "Public: Toggle the visibility of the dev tools for the current window. " + } + }, + "415": { + "31": { + "name": "executeJavaScriptInDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "code" + ], + "range": [ + [ + 415, + 31 + ], + [ + 419, + 1 + ] + ], + "doc": "Public: Execute code in dev tools. " + } + }, + "419": { + "10": { + "name": "reload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 419, + 10 + ], + [ + 423, + 1 + ] + ], + "doc": "Public: Reload the current window. " + } + }, + "423": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 423, + 9 + ], + [ + 428, + 1 + ] + ], + "doc": "Public: Focus the current window. " + } + }, + "428": { + "8": { + "name": "show", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 8 + ], + [ + 432, + 1 + ] + ], + "doc": "Public: Show the current window. " + } + }, + "432": { + "8": { + "name": "hide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 432, + 8 + ], + [ + 439, + 1 + ] + ], + "doc": "Public: Hide the current window. " + } + }, + "439": { + "11": { + "name": "setSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width", + "height" + ], + "range": [ + [ + 439, + 11 + ], + [ + 446, + 1 + ] + ], + "doc": " Public: Set the size of current window.\n\nwidth - The {Number} of pixels.\nheight - The {Number} of pixels. " + } + }, + "446": { + "15": { + "name": "setPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "x", + "y" + ], + "range": [ + [ + 446, + 15 + ], + [ + 450, + 1 + ] + ], + "doc": " Public: Set the position of current window.\n\nx - The {Number} of pixels.\ny - The {Number} of pixels. " + } + }, + "450": { + "10": { + "name": "center", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 450, + 10 + ], + [ + 457, + 1 + ] + ], + "doc": "Public: Move current window to the center of the screen. " + } + }, + "457": { + "17": { + "name": "displayWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 457, + 17 + ], + [ + 464, + 1 + ] + ], + "doc": " Private: Schedule the window to be shown and focused on the next tick.\n\nThis is done in a next tick to prevent a white flicker from occurring\nif called synchronously. " + } + }, + "464": { + "9": { + "name": "close", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 464, + 9 + ], + [ + 467, + 1 + ] + ], + "doc": "Public: Close the current window. " + } + }, + "467": { + "8": { + "name": "exit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 467, + 8 + ], + [ + 473, + 1 + ] + ], + "doc": "~Private~" + } + }, + "473": { + "13": { + "name": "inDevMode", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 473, + 13 + ], + [ + 477, + 1 + ] + ], + "doc": "Public: Is the current window in development mode? " + } + }, + "477": { + "14": { + "name": "inSpecMode", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 477, + 14 + ], + [ + 481, + 1 + ] + ], + "doc": "Public: Is the current window running specs? " + } + }, + "481": { + "20": { + "name": "toggleFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 481, + 20 + ], + [ + 485, + 1 + ] + ], + "doc": "Public: Toggle the full screen state of the current window. " + } + }, + "485": { + "17": { + "name": "setFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fullScreen" + ], + "range": [ + [ + 485, + 17 + ], + [ + 490, + 1 + ] + ], + "doc": "Public: Set the full screen state of the current window. " + } + }, + "490": { + "16": { + "name": "isFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 490, + 16 + ], + [ + 496, + 1 + ] + ], + "doc": "Public: Is the current window in full screen mode? " + } + }, + "496": { + "14": { + "name": "getVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 496, + 14 + ], + [ + 500, + 1 + ] + ], + "doc": " Public: Get the version of the Atom application.\n\nReturns the version text {String}. " + } + }, + "500": { + "21": { + "name": "isReleasedVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 500, + 21 + ], + [ + 506, + 1 + ] + ], + "doc": "Public: Determine whether the current version is an official release. " + } + }, + "506": { + "20": { + "name": "getConfigDirPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 506, + 20 + ], + [ + 509, + 1 + ] + ], + "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " + } + }, + "509": { + "12": { + "name": "saveSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 509, + 12 + ], + [ + 523, + 1 + ] + ], + "doc": "~Private~" + } + }, + "523": { + "21": { + "name": "getWindowLoadTime", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 523, + 21 + ], + [ + 526, + 1 + ] + ], + "doc": " Public: Get the time taken to completely load the current window.\n\nThis time include things like loading and activating packages, creating\nDOM elements for the editor, and reading the config.\n\nReturns the number of milliseconds taken to load the window or null\nif the window hasn't finished loading yet. " + } + }, + "526": { + "20": { + "name": "crashMainProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 526, + 20 + ], + [ + 529, + 1 + ] + ], + "doc": "~Private~" + } + }, + "529": { + "22": { + "name": "crashRenderProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 529, + 22 + ], + [ + 533, + 1 + ] + ], + "doc": "~Private~" + } + }, + "533": { + "8": { + "name": "beep", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 533, + 8 + ], + [ + 537, + 1 + ] + ], + "doc": "Public: Visually and audibly trigger a beep. " + } + }, + "537": { + "25": { + "name": "getUserInitScriptPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 537, + 25 + ], + [ + 541, + 1 + ] + ], + "doc": "~Private~" + } + }, + "541": { + "25": { + "name": "requireUserInitScript", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 541, + 25 + ], + [ + 555, + 1 + ] + ] + } + }, + "555": { + "22": { + "name": "requireWithGlobals", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id", + "globals" + ], + "range": [ + [ + 555, + 22 + ], + [ + 567, + 27 + ] + ], + "doc": " Public: Require the module with the given globals.\n\nThe globals will be set on the `window` object and removed after the\nrequire completes.\n\nid - The {String} module name or path.\nglobals - An {Object} to set as globals during require (default: {}) " + } + } + }, + "exports": 35 + }, + "src/browser/application-menu.coffee": { + "objects": { + "0": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "1": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "2": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "10": { + "0": { + "type": "class", + "name": "ApplicationMenu", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 22, + 10 + ], + [ + 35, + 20 + ], + [ + 47, + 23 + ], + [ + 58, + 29 + ], + [ + 63, + 21 + ], + [ + 68, + 22 + ], + [ + 90, + 22 + ], + [ + 102, + 17 + ], + [ + 113, + 21 + ], + [ + 131, + 25 + ] + ], + "doc": " Private: Used to manage the global application menu.\n\nIt's created by {AtomApplication} upon instantiation and used to add, remove\nand maintain the state of all menu items. ", + "range": [ + [ + 10, + 0 + ], + [ + 145, + 18 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 22, + 1 + ] + ] + } + }, + "22": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 22, + 10 + ], + [ + 35, + 1 + ] + ], + "doc": " Public: Updates the entire menu with the given keybindings.\n\ntemplate - The Object which describes the menu to display.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke. " + } + }, + "35": { + "20": { + "name": "flattenMenuItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "menu" + ], + "range": [ + [ + 35, + 20 + ], + [ + 47, + 1 + ] + ], + "doc": " Private: Flattens the given menu and submenu items into an single Array.\n\nmenu - A complete menu configuration object for atom-shell's menu API.\n\nReturns an Array of native menu items. " + } + }, + "47": { + "23": { + "name": "flattenMenuTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 47, + 23 + ], + [ + 58, + 1 + ] + ], + "doc": " Private: Flattens the given menu template into an single Array.\n\ntemplate - An object describing the menu item.\n\nReturns an Array of native menu items. " + } + }, + "58": { + "29": { + "name": "enableWindowSpecificItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "enable" + ], + "range": [ + [ + 58, + 29 + ], + [ + 63, + 1 + ] + ], + "doc": " Public: Used to make all window related menu items are active.\n\nenable - If true enables all window specific items, if false disables all\n window specific items. " + } + }, + "63": { + "21": { + "name": "substituteVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 63, + 21 + ], + [ + 68, + 1 + ] + ], + "doc": "Private: Replaces VERSION with the current version. " + } + }, + "68": { + "22": { + "name": "showUpdateMenuItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 68, + 22 + ], + [ + 90, + 1 + ] + ], + "doc": "Private: Sets the proper visible state the update menu items " + } + }, + "90": { + "22": { + "name": "getDefaultTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 22 + ], + [ + 102, + 1 + ] + ], + "doc": " Private: Default list of menu items.\n\nReturns an Array of menu item Objects. " + } + }, + "102": { + "17": { + "name": "focusedWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 17 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "21": { + "name": "translateTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 113, + 21 + ], + [ + 131, + 1 + ] + ], + "doc": " Private: Combines a menu template with the appropriate keystroke.\n\ntemplate - An Object conforming to atom-shell's menu api but lacking\n accelerator and click properties.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a complete menu configuration object for atom-shell's menu API. " + } + }, + "131": { + "25": { + "name": "acceleratorForCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "keystrokesByCommand" + ], + "range": [ + [ + 131, + 25 + ], + [ + 145, + 18 + ] + ], + "doc": " Private: Determine the accelerator for a given command.\n\ncommand - The name of the command.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a String containing the keystroke in a format that can be interpreted\n by atom shell to provide nice icons where available. " + } + } + }, + "exports": 10 + }, + "src/browser/atom-application.coffee": { + "objects": { + "0": { + "13": { + "name": "AtomWindow", + "type": "import", + "range": [ + [ + 0, + 13 + ], + [ + 0, + 35 + ] + ], + "bindingType": "variable", + "path": "./atom-window" + } + }, + "1": { + "18": { + "name": "ApplicationMenu", + "type": "import", + "range": [ + [ + 1, + 18 + ], + [ + 1, + 45 + ] + ], + "bindingType": "variable", + "path": "./application-menu" + } + }, + "2": { + "22": { + "name": "AtomProtocolHandler", + "type": "import", + "range": [ + [ + 2, + 22 + ], + [ + 2, + 54 + ] + ], + "bindingType": "variable", + "path": "./atom-protocol-handler" + } + }, + "3": { + "20": { + "name": "AutoUpdateManager", + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 50 + ] + ], + "bindingType": "variable", + "path": "./auto-update-manager" + } + }, + "4": { + "16": { + "name": "BrowserWindow", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 39 + ] + ], + "bindingType": "variable", + "module": "browser-window" + } + }, + "5": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "6": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 6, + 6 + ], + [ + 6, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "7": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "8": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 8, + 5 + ], + [ + 8, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "9": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 9, + 6 + ], + [ + 9, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "10": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 10, + 7 + ], + [ + 10, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "11": { + "5": { + "name": "os", + "type": "import", + "range": [ + [ + 11, + 5 + ], + [ + 11, + 16 + ] + ], + "bindingType": "variable", + "module": "os", + "builtin": true + } + }, + "12": { + "6": { + "name": "net", + "type": "import", + "range": [ + [ + 12, + 6 + ], + [ + 12, + 18 + ] + ], + "bindingType": "variable", + "module": "net", + "builtin": true + } + }, + "13": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 13, + 8 + ], + [ + 13, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "14": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 14, + 6 + ], + [ + 14, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "15": { + "1": { + "type": "import", + "range": [ + [ + 15, + 1 + ], + [ + 15, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "16": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 16, + 4 + ], + [ + 16, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "30": { + "0": { + "type": "class", + "name": "AtomApplication", + "bindingType": "exports", + "classProperties": [ + [ + 34, + 9 + ] + ], + "prototypeProperties": [ + [ + 52, + 11 + ], + [ + 53, + 19 + ], + [ + 54, + 23 + ], + [ + 55, + 16 + ], + [ + 56, + 11 + ], + [ + 58, + 8 + ], + [ + 60, + 15 + ], + [ + 83, + 19 + ], + [ + 94, + 16 + ], + [ + 99, + 13 + ], + [ + 110, + 36 + ], + [ + 119, + 20 + ], + [ + 132, + 28 + ], + [ + 136, + 16 + ], + [ + 232, + 15 + ], + [ + 245, + 23 + ], + [ + 254, + 31 + ], + [ + 274, + 19 + ], + [ + 282, + 17 + ], + [ + 287, + 17 + ], + [ + 298, + 13 + ], + [ + 311, + 12 + ], + [ + 337, + 20 + ], + [ + 341, + 24 + ], + [ + 346, + 15 + ], + [ + 364, + 11 + ], + [ + 393, + 12 + ], + [ + 406, + 17 + ], + [ + 415, + 25 + ], + [ + 440, + 17 + ] + ], + "doc": " Private: The application's singleton class.\n\nIt's the entry point into the Atom application and maintains the global state\nof the application.\n\n ", + "range": [ + [ + 30, + 0 + ], + [ + 449, + 50 + ] + ] + } + }, + "34": { + "9": { + "name": "open", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 34, + 9 + ], + [ + 52, + 1 + ] + ], + "doc": "Public: The entry point into the Atom application. " + } + }, + "52": { + "11": { + "name": "windows", + "type": "primitive", + "range": [ + [ + 52, + 11 + ], + [ + 52, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "53": { + "19": { + "name": "applicationMenu", + "type": "primitive", + "range": [ + [ + 53, + 19 + ], + [ + 53, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "54": { + "23": { + "name": "atomProtocolHandler", + "type": "primitive", + "range": [ + [ + 54, + 23 + ], + [ + 54, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "55": { + "16": { + "name": "resourcePath", + "type": "primitive", + "range": [ + [ + 55, + 16 + ], + [ + 55, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "56": { + "11": { + "name": "version", + "type": "primitive", + "range": [ + [ + 56, + 11 + ], + [ + 56, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "58": { + "8": { + "name": "exit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 58, + 8 + ], + [ + 58, + 35 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 60, + 15 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "19": { + "name": "openWithOptions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 83, + 19 + ], + [ + 94, + 1 + ] + ], + "doc": "Private: Opens a new window based on the options provided. " + } + }, + "94": { + "16": { + "name": "removeWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "window" + ], + "range": [ + [ + 94, + 16 + ], + [ + 99, + 1 + ] + ], + "doc": "Public: Removes the {AtomWindow} from the global window list. " + } + }, + "99": { + "13": { + "name": "addWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "window" + ], + "range": [ + [ + 99, + 13 + ], + [ + 110, + 1 + ] + ], + "doc": "Public: Adds the {AtomWindow} to the global window list. " + } + }, + "110": { + "36": { + "name": "listenForArgumentsFromNewProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 36 + ], + [ + 119, + 1 + ] + ], + "doc": " Private: Creates server to listen for additional atom application launches.\n\nYou can run the atom command multiple times, but after the first launch\nthe other launches will just pass their information to this server and then\nclose immediately. " + } + }, + "119": { + "20": { + "name": "deleteSocketFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 119, + 20 + ], + [ + 132, + 1 + ] + ], + "doc": "~Private~" + } + }, + "132": { + "28": { + "name": "setupJavaScriptArguments", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 132, + 28 + ], + [ + 136, + 1 + ] + ], + "doc": "Private: Configures required javascript environment flags. " + } + }, + "136": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 16 + ], + [ + 232, + 1 + ] + ], + "doc": "Private: Registers basic application commands, non-idempotent. " + } + }, + "232": { + "15": { + "name": "sendCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 232, + 15 + ], + [ + 245, + 1 + ] + ], + "doc": " Public: Executes the given command.\n\nIf it isn't handled globally, delegate to the currently focused window.\n\ncommand - The string representing the command.\nargs - The optional arguments to pass along. " + } + }, + "245": { + "23": { + "name": "sendCommandToWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "atomWindow", + "args" + ], + "range": [ + [ + 245, + 23 + ], + [ + 254, + 1 + ] + ], + "doc": " Public: Executes the given command on the given window.\n\ncommand - The string representing the command.\natomWindow - The {AtomWindow} to send the command to.\nargs - The optional arguments to pass along. " + } + }, + "254": { + "31": { + "name": "sendCommandToFirstResponder", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command" + ], + "range": [ + [ + 254, + 31 + ], + [ + 274, + 1 + ] + ], + "doc": " Private: Translates the command into OS X action and sends it to application's first\nresponder. " + } + }, + "274": { + "19": { + "name": "openPathOnEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventName", + "pathToOpen" + ], + "range": [ + [ + 274, + 19 + ], + [ + 282, + 1 + ] + ], + "doc": " Public: Open the given path in the focused window when the event is\ntriggered.\n\nA new window will be created if there is no currently focused window.\n\neventName - The event to listen for.\npathToOpen - The path to open when the event is triggered. " + } + }, + "282": { + "17": { + "name": "windowForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen" + ], + "range": [ + [ + 282, + 17 + ], + [ + 287, + 1 + ] + ], + "doc": "Private: Returns the {AtomWindow} for the given path. " + } + }, + "287": { + "17": { + "name": "focusedWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 287, + 17 + ], + [ + 298, + 1 + ] + ], + "doc": "Public: Returns the currently focused {AtomWindow} or undefined if none. " + } + }, + "298": { + "13": { + "name": "openPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 298, + 13 + ], + [ + 311, + 1 + ] + ], + "doc": " Public: Opens multiple paths, in existing windows if possible.\n\noptions -\n :pathsToOpen - The array of file paths to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " + } + }, + "311": { + "12": { + "name": "openPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 311, + 12 + ], + [ + 337, + 1 + ] + ], + "doc": " Public: Opens a single path, in an existing window if possible.\n\noptions -\n :pathToOpen - The file path to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode.\n :windowDimensions - Object with height and width keys. " + } + }, + "337": { + "20": { + "name": "killAllProcesses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 337, + 20 + ], + [ + 341, + 1 + ] + ], + "doc": "Private: Kill all processes associated with opened windows. " + } + }, + "341": { + "24": { + "name": "killProcessForWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "openedWindow" + ], + "range": [ + [ + 341, + 24 + ], + [ + 346, + 1 + ] + ], + "doc": "Private: Kill process associated with the given opened window. " + } + }, + "346": { + "15": { + "name": "killProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pid" + ], + "range": [ + [ + 346, + 15 + ], + [ + 364, + 1 + ] + ], + "doc": "Private: Kill the process with the given pid. " + } + }, + "364": { + "11": { + "name": "openUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 364, + 11 + ], + [ + 393, + 1 + ] + ], + "doc": " Private: Open an atom:// url.\n\nThe host of the URL being opened is assumed to be the package name\nresponsible for opening the URL. A new window will be created with\nthat package's `urlMain` as the bootstrap script.\n\noptions -\n :urlToOpen - The atom:// url to open.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " + } + }, + "393": { + "12": { + "name": "runSpecs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 393, + 12 + ], + [ + 406, + 1 + ] + ], + "doc": " Private: Opens up a new {AtomWindow} to run specs within.\n\noptions -\n :exitWhenDone - A Boolean that if true, will close the window upon\n completion.\n :resourcePath - The path to include specs from.\n :specPath - The directory to load specs from. " + } + }, + "406": { + "17": { + "name": "runBenchmarks", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 406, + 17 + ], + [ + 415, + 1 + ] + ], + "doc": "~Private~" + } + }, + "415": { + "25": { + "name": "locationForPathToOpen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen" + ], + "range": [ + [ + 415, + 25 + ], + [ + 440, + 1 + ] + ], + "doc": "~Private~" + } + }, + "440": { + "17": { + "name": "promptForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 440, + 17 + ], + [ + 449, + 50 + ] + ], + "doc": " Private: Opens a native dialog to prompt the user for a path.\n\nOnce paths are selected, they're opened in a new or existing {AtomWindow}s.\n\noptions -\n :type - A String which specifies the type of the dialog, could be 'file',\n 'folder' or 'all'. The 'all' is only available on OS X.\n :devMode - A Boolean which controls whether any newly opened windows\n should be in dev mode or not.\n :safeMode - A Boolean which controls whether any newly opened windows\n should be in safe mode or not. " + } + } + }, + "exports": 30 + }, + "src/browser/atom-protocol-handler.coffee": { + "objects": { + "0": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@2.x" + } + }, + "2": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "3": { + "11": { + "name": "protocol", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "protocol" + } + }, + "10": { + "0": { + "type": "class", + "name": "AtomProtocolHandler", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 21, + 24 + ] + ], + "doc": " Private: Handles requests with 'atom' protocol.\n\nIt's created by {AtomApplication} upon instantiation, and is used to create a\ncustom resource loader by adding the 'atom' custom protocol. ", + "range": [ + [ + 10, + 0 + ], + [ + 27, + 50 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 21, + 1 + ] + ] + } + }, + "21": { + "24": { + "name": "registerAtomProtocol", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 24 + ], + [ + 27, + 50 + ] + ], + "doc": "Private: Creates the 'atom' custom protocol handler. " + } + } + }, + "exports": 10 + }, + "src/browser/atom-window.coffee": { + "objects": { + "0": { + "16": { + "name": "BrowserWindow", + "type": "import", + "range": [ + [ + 0, + 16 + ], + [ + 0, + 39 + ] + ], + "bindingType": "variable", + "module": "browser-window" + } + }, + "1": { + "14": { + "name": "ContextMenu", + "type": "import", + "range": [ + [ + 1, + 14 + ], + [ + 1, + 37 + ] + ], + "bindingType": "variable", + "path": "./context-menu" + } + }, + "2": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "3": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 3, + 9 + ], + [ + 3, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "4": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "6": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 6, + 6 + ], + [ + 6, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "7": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "11": { + "0": { + "type": "class", + "name": "AtomWindow", + "bindingType": "exports", + "classProperties": [ + [ + 14, + 13 + ], + [ + 15, + 25 + ] + ], + "prototypeProperties": [ + [ + 17, + 17 + ], + [ + 18, + 10 + ], + [ + 19, + 10 + ], + [ + 21, + 15 + ], + [ + 56, + 10 + ], + [ + 68, + 18 + ], + [ + 71, + 16 + ], + [ + 86, + 16 + ], + [ + 126, + 12 + ], + [ + 133, + 15 + ], + [ + 147, + 30 + ], + [ + 151, + 17 + ], + [ + 156, + 9 + ], + [ + 158, + 9 + ], + [ + 160, + 12 + ], + [ + 162, + 12 + ], + [ + 164, + 11 + ], + [ + 166, + 23 + ], + [ + 169, + 13 + ], + [ + 171, + 20 + ], + [ + 173, + 16 + ], + [ + 175, + 10 + ], + [ + 177, + 18 + ] + ], + "doc": "~Private~", + "range": [ + [ + 11, + 0 + ], + [ + 177, + 52 + ] + ] + } + }, + "14": { + "13": { + "name": "iconPath", + "type": "function", + "range": [ + [ + 14, + 13 + ], + [ + 14, + 72 + ] + ], + "bindingType": "classProperty" + } + }, + "15": { + "25": { + "name": "includeShellLoadTime", + "type": "primitive", + "range": [ + [ + 15, + 25 + ], + [ + 15, + 28 + ] + ], + "bindingType": "classProperty" + } + }, + "17": { + "17": { + "name": "browserWindow", + "type": "primitive", + "range": [ + [ + 17, + 17 + ], + [ + 17, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "10": { + "name": "loaded", + "type": "primitive", + "range": [ + [ + 18, + 10 + ], + [ + 18, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "10": { + "name": "isSpec", + "type": "primitive", + "range": [ + [ + 19, + 10 + ], + [ + 19, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "settings" + ], + "range": [ + [ + 21, + 15 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "10": { + "name": "getUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "loadSettingsObj" + ], + "range": [ + [ + 56, + 10 + ], + [ + 68, + 1 + ] + ], + "doc": "~Private~" + } + }, + "68": { + "18": { + "name": "getInitialPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 18 + ], + [ + 71, + 1 + ] + ], + "doc": "~Private~" + } + }, + "71": { + "16": { + "name": "containsPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToCheck" + ], + "range": [ + [ + 71, + 16 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 16 + ], + [ + 126, + 1 + ] + ], + "doc": "~Private~" + } + }, + "126": { + "12": { + "name": "openPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen", + "initialLine", + "initialColumn" + ], + "range": [ + [ + 126, + 12 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "15": { + "name": "sendCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 133, + 15 + ], + [ + 147, + 1 + ] + ], + "doc": "~Private~" + } + }, + "147": { + "30": { + "name": "sendCommandToBrowserWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 147, + 30 + ], + [ + 151, + 1 + ] + ], + "doc": "~Private~" + } + }, + "151": { + "17": { + "name": "getDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 151, + 17 + ], + [ + 156, + 1 + ] + ], + "doc": "~Private~" + } + }, + "156": { + "9": { + "name": "close", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 156, + 9 + ], + [ + 156, + 33 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 9 + ], + [ + 158, + 33 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "12": { + "name": "minimize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 160, + 12 + ], + [ + 160, + 39 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "12": { + "name": "maximize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 12 + ], + [ + 162, + 39 + ] + ], + "doc": "~Private~" + } + }, + "164": { + "11": { + "name": "restore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 164, + 11 + ], + [ + 164, + 37 + ] + ], + "doc": "~Private~" + } + }, + "166": { + "23": { + "name": "handlesAtomCommands", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 166, + 23 + ], + [ + 169, + 1 + ] + ], + "doc": "~Private~" + } + }, + "169": { + "13": { + "name": "isFocused", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 169, + 13 + ], + [ + 169, + 41 + ] + ], + "doc": "~Private~" + } + }, + "171": { + "20": { + "name": "isWebViewFocused", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 20 + ], + [ + 171, + 55 + ] + ], + "doc": "~Private~" + } + }, + "173": { + "16": { + "name": "isSpecWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 173, + 16 + ], + [ + 173, + 25 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "10": { + "name": "reload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 175, + 10 + ], + [ + 175, + 36 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "18": { + "name": "toggleDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 18 + ], + [ + 177, + 51 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 11 + }, + "src/browser/auto-update-manager.coffee": { + "objects": { + "0": { + "8": { + "name": "https", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 22 + ] + ], + "bindingType": "variable", + "module": "https", + "builtin": true + } + }, + "1": { + "14": { + "name": "autoUpdater", + "type": "import", + "range": [ + [ + 1, + 14 + ], + [ + 1, + 35 + ] + ], + "bindingType": "variable", + "module": "auto-updater" + } + }, + "2": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "6": { + "11": { + "name": "'idle'", + "type": "primitive", + "range": [ + [ + 6, + 11 + ], + [ + 6, + 16 + ] + ] + } + }, + "7": { + "15": { + "name": "'checking'", + "type": "primitive", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 24 + ] + ] + } + }, + "8": { + "18": { + "name": "'downloading'", + "type": "primitive", + "range": [ + [ + 8, + 18 + ], + [ + 8, + 30 + ] + ] + } + }, + "9": { + "23": { + "name": "'update-available'", + "type": "primitive", + "range": [ + [ + 9, + 23 + ], + [ + 9, + 40 + ] + ] + } + }, + "10": { + "26": { + "name": "'no-update-available'", + "type": "primitive", + "range": [ + [ + 10, + 26 + ], + [ + 10, + 46 + ] + ] + } + }, + "11": { + "12": { + "name": "'error'", + "type": "primitive", + "range": [ + [ + 11, + 12 + ], + [ + 11, + 18 + ] + ] + } + }, + "14": { + "0": { + "type": "class", + "name": "AutoUpdateManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 15 + ], + [ + 48, + 23 + ], + [ + 63, + 28 + ], + [ + 68, + 12 + ], + [ + 73, + 12 + ], + [ + 76, + 9 + ], + [ + 83, + 11 + ], + [ + 86, + 24 + ], + [ + 90, + 17 + ], + [ + 94, + 14 + ] + ], + "doc": "~Private~", + "range": [ + [ + 14, + 0 + ], + [ + 95, + 34 + ] + ] + } + }, + "17": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 17, + 15 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "23": { + "name": "checkForUpdatesShim", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 23 + ], + [ + 63, + 1 + ] + ], + "doc": "Private: Windows doesn't have an auto-updater, so use this method to shim the events. " + } + }, + "63": { + "28": { + "name": "emitUpdateAvailableEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "windows" + ], + "range": [ + [ + 63, + 28 + ], + [ + 68, + 1 + ] + ], + "doc": "~Private~" + } + }, + "68": { + "12": { + "name": "setState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 68, + 12 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "12": { + "name": "getState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 12 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "9": { + "name": "check", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 76, + 9 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "11": { + "name": "install", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 83, + 11 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "24": { + "name": "onUpdateNotAvailable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 24 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "17": { + "name": "onUpdateError", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event", + "message" + ], + "range": [ + [ + 90, + 17 + ], + [ + 94, + 1 + ] + ], + "doc": "~Private~" + } + }, + "94": { + "14": { + "name": "getWindows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 14 + ], + [ + 95, + 34 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 14 + }, + "src/browser/context-menu.coffee": { + "objects": { + "0": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "3": { + "0": { + "type": "class", + "name": "ContextMenu", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 4, + 15 + ], + [ + 12, + 23 + ] + ], + "doc": "~Private~", + "range": [ + [ + 3, + 0 + ], + [ + 23, + 10 + ] + ] + } + }, + "4": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + null + ], + "range": [ + [ + 4, + 15 + ], + [ + 12, + 1 + ] + ] + } + }, + "12": { + "23": { + "name": "createClickHandlers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 12, + 23 + ], + [ + 23, + 10 + ] + ], + "doc": " Private: It's necessary to build the event handlers in this process, otherwise\nclosures are drug across processes and failed to be garbage collected\nappropriately. " + } + } + }, + "exports": 3 + }, + "src/browser/main.coffee": { + "objects": { + "0": { + "24": { + "name": "global.shellStartTime", + "type": "function", + "range": [ + [ + 0, + 24 + ], + [ + 0, + 33 + ] + ] + } + }, + "2": { + "16": { + "name": "crashReporter", + "type": "import", + "range": [ + [ + 2, + 16 + ], + [ + 2, + 39 + ] + ], + "bindingType": "variable", + "module": "crash-reporter" + } + }, + "3": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 3, + 6 + ], + [ + 3, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "6": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 6, + 7 + ], + [ + 6, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "7": { + "11": { + "name": "optimist", + "type": "import", + "range": [ + [ + 7, + 11 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "optimist" + } + }, + "8": { + "8": { + "name": "nslog", + "type": "import", + "range": [ + [ + 8, + 8 + ], + [ + 8, + 22 + ] + ], + "bindingType": "variable", + "module": "nslog" + } + }, + "9": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 9, + 9 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "11": { + "14": { + "name": "nslog", + "type": "primitive", + "range": [ + [ + 11, + 14 + ], + [ + 11, + 18 + ] + ] + } + }, + "17": { + "8": { + "name": "start", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 8 + ], + [ + 51, + 0 + ] + ], + "doc": "~Private~" + } + }, + "54": { + "25": { + "name": "global.devResourcePath", + "type": "function", + "range": [ + [ + 54, + 25 + ], + [ + 54, + 62 + ] + ] + } + }, + "56": { + "21": { + "name": "setupCrashReporter", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 21 + ], + [ + 58, + 0 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "19": { + "name": "parseCommandLine", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 19 + ], + [ + 110, + 0 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": {} + }, + "src/buffered-node-process.coffee": { + "objects": { + "0": { + "18": { + "name": "BufferedProcess", + "type": "import", + "range": [ + [ + 0, + 18 + ], + [ + 0, + 45 + ] + ], + "bindingType": "variable", + "path": "./buffered-process" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "14": { + "0": { + "type": "class", + "name": "BufferedNodeProcess", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 36, + 15 + ] + ], + "doc": " Public: Like {BufferedProcess}, but accepts a Node script as the command\nto run.\n\nThis is necessary on Windows since it doesn't support shebang `#!` lines.\n\n## Requiring in packages\n\n```coffee\n{BufferedNodeProcess} = require 'atom'\n``` ", + "range": [ + [ + 14, + 0 + ], + [ + 50, + 63 + ] + ] + } + }, + "36": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 36, + 15 + ], + [ + 50, + 63 + ] + ], + "doc": " Public: Runs the given Node script by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} path to the JavaScript script to execute.\n :args - The {Array} of arguments to pass to the script (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " + } + } + }, + "exports": 14 + }, + "src/buffered-process.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "15": { + "name": "ChildProcess", + "type": "import", + "range": [ + [ + 1, + 15 + ], + [ + 1, + 37 + ] + ], + "bindingType": "variable", + "module": "child_process", + "builtin": true + } + }, + "18": { + "0": { + "type": "class", + "name": "BufferedProcess", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 40, + 15 + ], + [ + 99, + 16 + ], + [ + 117, + 8 + ] + ], + "doc": " Public: A wrapper which provides standard error/output line buffering for\nNode's ChildProcess.\n\n## Requiring in packages\n\n```coffee\n{BufferedProcess} = require 'atom'\n\ncommand = 'ps'\nargs = ['-ef']\nstdout = (output) -> console.log(output)\nexit = (code) -> console.log(\"ps -ef exited with #{code}\")\nprocess = new BufferedProcess({command, args, stdout, exit})\n``` ", + "range": [ + [ + 18, + 0 + ], + [ + 120, + 19 + ] + ] + } + }, + "40": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 40, + 15 + ], + [ + 99, + 1 + ] + ], + "doc": " Public: Runs the given command by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} command to execute.\n :args - The {Array} of arguments to pass to the command (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " + } + }, + "99": { + "16": { + "name": "bufferStream", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stream", + "onLines", + "onDone" + ], + "range": [ + [ + 99, + 16 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: Helper method to pass data line by line.\n\nstream - The Stream to read from.\nonLines - The callback to call with each line of data.\nonDone - The callback to call when the stream has closed. " + } + }, + "117": { + "8": { + "name": "kill", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 8 + ], + [ + 120, + 19 + ] + ], + "doc": "Public: Terminate the process. " + } + } + }, + "exports": 18 + }, + "src/clipboard.coffee": { + "objects": { + "0": { + "12": { + "name": "clipboard", + "type": "import", + "range": [ + [ + 0, + 12 + ], + [ + 0, + 30 + ] + ], + "bindingType": "variable", + "module": "clipboard" + } + }, + "1": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 1, + 9 + ], + [ + 1, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "7": { + "0": { + "type": "class", + "name": "Clipboard", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 8, + 12 + ], + [ + 9, + 24 + ], + [ + 16, + 7 + ], + [ + 26, + 9 + ], + [ + 34, + 8 + ], + [ + 43, + 20 + ] + ], + "doc": " Public: Represents the clipboard used for copying and pasting in Atom.\n\nAn instance of this class is always available as the `atom.clipboard` global. ", + "range": [ + [ + 7, + 0 + ], + [ + 48, + 12 + ] + ] + } + }, + "8": { + "12": { + "name": "metadata", + "type": "primitive", + "range": [ + [ + 8, + 12 + ], + [ + 8, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "24": { + "name": "signatureForMetadata", + "type": "primitive", + "range": [ + [ + 9, + 24 + ], + [ + 9, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "7": { + "name": "md5", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 16, + 7 + ], + [ + 26, + 1 + ] + ], + "doc": " Private: Creates an `md5` hash of some text.\n\ntext - A {String} to hash.\n\nReturns a hashed {String}. " + } + }, + "26": { + "9": { + "name": "write", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "metadata" + ], + "range": [ + [ + 26, + 9 + ], + [ + 34, + 1 + ] + ], + "doc": " Public: Write the given text to the clipboard.\n\nThe metadata associated with the text is available by calling\n{::readWithMetadata}.\n\ntext - The {String} to store.\nmetadata - The additional info to associate with the text. " + } + }, + "34": { + "8": { + "name": "read", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 8 + ], + [ + 43, + 1 + ] + ], + "doc": " Public: Read the text from the clipboard.\n\nReturns a {String}. " + } + }, + "43": { + "20": { + "name": "readWithMetadata", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 20 + ], + [ + 48, + 12 + ] + ], + "doc": " Public: Read the text from the clipboard and return both the text and the\nassociated metadata.\n\nReturns an {Object} with the following keys:\n :text - The {String} clipboard text.\n :metadata - The metadata stored by an earlier call to {::write}. " + } + } + }, + "exports": 7 + }, + "src/coffee-cache.coffee": { + "objects": { + "0": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 0, + 9 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "3": { + "15": { + "name": "CoffeeScript", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 37 + ] + ], + "bindingType": "variable", + "module": "coffee-script" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@2.x" + } + }, + "8": { + "17": { + "name": "coffeeCacheDir", + "type": "function", + "range": [ + [ + 8, + 17 + ], + [ + 8, + 45 + ] + ] + } + }, + "11": { + "15": { + "name": "getCachePath", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "coffee" + ], + "range": [ + [ + 11, + 15 + ], + [ + 14, + 0 + ] + ], + "doc": "~Private~" + } + }, + "15": { + "22": { + "name": "getCachedJavaScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "cachePath" + ], + "range": [ + [ + 15, + 22 + ], + [ + 19, + 0 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "18": { + "name": "convertFilePath", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 20, + 18 + ], + [ + 24, + 0 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "22": { + "name": "compileCoffeeScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "coffee", + "filePath", + "cachePath" + ], + "range": [ + [ + 25, + 22 + ], + [ + 33, + 0 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "22": { + "name": "requireCoffeeScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "module", + "filePath" + ], + "range": [ + [ + 34, + 22 + ], + [ + 39, + 0 + ] + ] + } + }, + "41": { + "12": { + "name": "cacheDir", + "type": "primitive", + "range": [ + [ + 41, + 12 + ], + [ + 41, + 19 + ] + ] + } + }, + "42": { + "12": { + "name": "register", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 12 + ], + [ + 46, + 6 + ] + ], + "doc": null + } + } + }, + "exports": 41 + }, + "src/command-installer.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 22 + ] + ], + "bindingType": "variable", + "module": "async" + } + }, + "3": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 3, + 5 + ], + [ + 3, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@2.x" + } + }, + "4": { + "9": { + "name": "mkdirp", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 24 + ] + ], + "bindingType": "variable", + "module": "mkdirp" + } + }, + "5": { + "8": { + "name": "runas", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "module": "runas" + } + }, + "7": { + "17": { + "name": "symlinkCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "sourcePath", + "destinationPath", + "callback" + ], + "range": [ + [ + 7, + 17 + ], + [ + 17, + 0 + ] + ], + "doc": "~Private~" + } + }, + "18": { + "34": { + "name": "symlinkCommandWithPrivilegeSync", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "sourcePath", + "destinationPath" + ], + "range": [ + [ + 18, + 34 + ], + [ + 27, + 0 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "23": { + "name": "getInstallDirectory", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 23 + ], + [ + 32, + 1 + ] + ], + "doc": null + } + }, + "32": { + "11": { + "name": "install", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "commandPath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 32, + 11 + ], + [ + 52, + 1 + ] + ], + "doc": null + } + }, + "52": { + "22": { + "name": "installAtomCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "resourcePath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 52, + 22 + ], + [ + 56, + 1 + ] + ], + "doc": null + } + }, + "56": { + "21": { + "name": "installApmCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "resourcePath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 56, + 21 + ], + [ + 58, + 51 + ] + ], + "doc": null + } + } + }, + "exports": 29 + }, + "src/config.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@2.x" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "3": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "4": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "5": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "module": "async" + } + }, + "6": { + "14": { + "name": "pathWatcher", + "type": "import", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 34 + ] + ], + "bindingType": "variable", + "module": "pathwatcher@^2.0.2" + } + }, + "25": { + "0": { + "type": "class", + "name": "Config", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 36, + 29 + ], + [ + 52, + 8 + ], + [ + 57, + 18 + ], + [ + 72, + 21 + ], + [ + 76, + 23 + ], + [ + 80, + 15 + ], + [ + 91, + 21 + ], + [ + 95, + 15 + ], + [ + 104, + 7 + ], + [ + 114, + 10 + ], + [ + 125, + 18 + ], + [ + 136, + 7 + ], + [ + 152, + 10 + ], + [ + 160, + 18 + ], + [ + 168, + 14 + ], + [ + 178, + 13 + ], + [ + 187, + 17 + ], + [ + 199, + 20 + ], + [ + 211, + 19 + ], + [ + 231, + 11 + ], + [ + 253, + 13 + ], + [ + 256, + 10 + ], + [ + 261, + 8 + ] + ], + "doc": " Public: Used to access all of Atom's configuration details.\n\nAn instance of this class is always available as the `atom.config` global.\n\n## Best practices\n\n* Create your own root keypath using your package's name.\n* Don't depend on (or write to) configuration keys outside of your keypath.\n\n## Example\n\n```coffeescript\natom.config.set('my-package.key', 'value')\natom.config.observe 'my-package.key', ->\n console.log 'My configuration changed:', atom.config.get('my-package.key')\n``` ", + "range": [ + [ + 25, + 0 + ], + [ + 262, + 50 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 29, + 15 + ], + [ + 36, + 1 + ] + ], + "doc": "Private: Created during initialization, available as `atom.config` " + } + }, + "36": { + "29": { + "name": "initializeConfigDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "done" + ], + "range": [ + [ + 36, + 29 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 8 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "18": { + "name": "loadUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 18 + ], + [ + 72, + 1 + ] + ], + "doc": "~Private~" + } + }, + "72": { + "21": { + "name": "observeUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 72, + 21 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "23": { + "name": "unobserveUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 23 + ], + [ + 80, + 1 + ] + ], + "doc": "~Private~" + } + }, + "80": { + "15": { + "name": "setDefaults", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "defaults" + ], + "range": [ + [ + 80, + 15 + ], + [ + 91, + 1 + ] + ], + "doc": "~Private~" + } + }, + "91": { + "21": { + "name": "getUserConfigPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 21 + ], + [ + 95, + 1 + ] + ], + "doc": "Public: Get the {String} path to the config file being used. " + } + }, + "95": { + "15": { + "name": "getSettings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 95, + 15 + ], + [ + 104, + 1 + ] + ], + "doc": "Public: Returns a new {Object} containing all of settings and defaults. " + } + }, + "104": { + "7": { + "name": "get", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 104, + 7 + ], + [ + 114, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key.\n\nkeyPath - The {String} name of the key to retrieve.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `null` if the key doesn't exist in either. " + } + }, + "114": { + "10": { + "name": "getInt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 114, + 10 + ], + [ + 125, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key as an integer.\n\nkeyPath - The {String} name of the key to retrieve\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `NaN` if the key doesn't exist in either. " + } + }, + "125": { + "18": { + "name": "getPositiveInt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "defaultValue" + ], + "range": [ + [ + 125, + 18 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key as a positive integer.\n\nkeyPath - The {String} name of the key to retrieve\ndefaultValue - The integer {Number} to fall back to if the value isn't\n positive, defaults to 0.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `defaultValue` if the key value isn't greater than zero. " + } + }, + "136": { + "7": { + "name": "set", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 136, + 7 + ], + [ + 152, + 1 + ] + ], + "doc": " Public: Sets the value for a configuration setting.\n\nThis value is stored in Atom's internal configuration file.\n\nkeyPath - The {String} name of the key.\nvalue - The value of the setting.\n\nReturns the `value`. " + } + }, + "152": { + "10": { + "name": "toggle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 152, + 10 + ], + [ + 160, + 1 + ] + ], + "doc": " Public: Toggle the value at the key path.\n\nThe new value will be `true` if the value is currently falsy and will be\n`false` if the value is currently truthy.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " + } + }, + "160": { + "18": { + "name": "restoreDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 160, + 18 + ], + [ + 168, + 1 + ] + ], + "doc": " Public: Restore the key path to its default value.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " + } + }, + "168": { + "14": { + "name": "getDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 168, + 14 + ], + [ + 178, + 1 + ] + ], + "doc": " Public: Get the default value of the key path.\n\nkeyPath - The {String} name of the key.\n\nReturns the default value. " + } + }, + "178": { + "13": { + "name": "isDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 178, + 13 + ], + [ + 187, + 1 + ] + ], + "doc": " Public: Is the key path value its default value?\n\nkeyPath - The {String} name of the key.\n\nReturns a {Boolean}, `true` if the current value is the default, `false`\notherwise. " + } + }, + "187": { + "17": { + "name": "pushAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 187, + 17 + ], + [ + 199, + 1 + ] + ], + "doc": " Public: Push the value to the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to push to the array.\n\nReturns the new array length {Number} of the setting. " + } + }, + "199": { + "20": { + "name": "unshiftAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 199, + 20 + ], + [ + 211, + 1 + ] + ], + "doc": " Public: Add the value to the beginning of the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to shift onto the array.\n\nReturns the new array length {Number} of the setting. " + } + }, + "211": { + "19": { + "name": "removeAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 211, + 19 + ], + [ + 231, + 1 + ] + ], + "doc": " Public: Remove the value from the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to remove from the array.\n\nReturns the new array value of the setting. " + } + }, + "231": { + "11": { + "name": "observe", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "options", + "callback" + ], + "range": [ + [ + 231, + 11 + ], + [ + 253, + 1 + ] + ], + "doc": " Public: Establishes an event listener for a given key.\n\n`callback` is fired whenever the value of the key is changed and will\n be fired immediately unless the `callNow` option is `false`.\n\nkeyPath - The {String} name of the key to observe\noptions - An optional {Object} containing the `callNow` key.\ncallback - The {Function} to call when the value of the key changes.\n The first argument will be the new value of the key and the\n  second argument will be an {Object} with a `previous` property\n that is the prior value of the key.\n\nReturns an {Object} with the following keys:\n :off - A {Function} that unobserves the `keyPath` when called. " + } + }, + "253": { + "13": { + "name": "unobserve", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 253, + 13 + ], + [ + 256, + 1 + ] + ], + "doc": " Public: Unobserve all callbacks on a given key.\n\nkeyPath - The {String} name of the key to unobserve. " + } + }, + "256": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 10 + ], + [ + 261, + 1 + ] + ], + "doc": "~Private~" + } + }, + "261": { + "8": { + "name": "save", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 8 + ], + [ + 262, + 50 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 25 + }, + "src/context-menu-manager.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "9": { + "name": "remote", + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 24 + ] + ], + "bindingType": "variable", + "module": "remote" + } + }, + "10": { + "0": { + "type": "class", + "name": "ContextMenuManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 33, + 7 + ], + [ + 45, + 17 + ], + [ + 60, + 17 + ], + [ + 66, + 25 + ], + [ + 82, + 38 + ], + [ + 91, + 34 + ], + [ + 105, + 24 + ], + [ + 111, + 16 + ] + ], + "doc": " Public: Provides a registry for commands that you'd like to appear in the\ncontext menu.\n\nAn instance of this class is always available as the `atom.contextMenu`\nglobal. ", + "range": [ + [ + 10, + 0 + ], + [ + 116, + 64 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 33, + 1 + ] + ] + } + }, + "33": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "object", + null + ], + "range": [ + [ + 33, + 7 + ], + [ + 45, + 1 + ] + ], + "doc": " Public: Creates menu definitions from the object specified by the menu\ncson API.\n\nname - The path of the file that contains the menu definitions.\nobject - The 'context-menu' object specified in the menu cson API.\noptions - An {Object} with the following keys:\n :devMode - Determines whether the entries should only be shown when\n the window is in dev mode.\n\nReturns nothing. " + } + }, + "45": { + "17": { + "name": "buildMenuItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "label", + "command" + ], + "range": [ + [ + 45, + 17 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "17": { + "name": "addBySelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "definition", + null + ], + "range": [ + [ + 60, + 17 + ], + [ + 66, + 1 + ] + ], + "doc": " Private: Registers a command to be displayed when the relevant item is right\nclicked.\n\nselector - The css selector for the active element which should include\n the given command in its context menu.\ndefinition - The object containing keys which match the menu template API.\noptions - An {Object} with the following keys:\n :devMode - Indicates whether this command should only appear while the\n editor is in dev mode. " + } + }, + "66": { + "25": { + "name": "definitionsForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element", + null + ], + "range": [ + [ + 66, + 25 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Returns definitions which match the element and devMode. " + } + }, + "82": { + "38": { + "name": "menuTemplateForMostSpecificElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element", + null + ], + "range": [ + [ + 82, + 38 + ], + [ + 91, + 1 + ] + ], + "doc": " Private: Used to generate the context menu for a specific element and it's\nparents.\n\nThe menu items are sorted such that menu items that match closest to the\nactive element are listed first. The further down the list you go, the higher\nup the ancestor hierarchy they match.\n\nelement - The DOM element to generate the menu template for. " + } + }, + "91": { + "34": { + "name": "combinedMenuTemplateForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 91, + 34 + ], + [ + 105, + 1 + ] + ], + "doc": " Private: Returns a menu template for both normal entries as well as\ndevelopment mode entries. " + } + }, + "105": { + "24": { + "name": "executeBuildHandlers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event", + "menuTemplate" + ], + "range": [ + [ + 105, + 24 + ], + [ + 111, + 1 + ] + ], + "doc": " Private: Executes `executeAtBuild` if defined for each menu item with\nthe provided event and then removes the `executeAtBuild` property from\nthe menu item.\n\nThis is useful for commands that need to provide data about the event\nto the command. " + } + }, + "111": { + "16": { + "name": "showForEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 111, + 16 + ], + [ + 116, + 64 + ] + ], + "doc": "Public: Request a context menu to be displayed. " + } + } + }, + "exports": 10 + }, + "src/cursor-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "18": { + "name": "CursorComponent", + "type": "function", + "range": [ + [ + 5, + 18 + ], + [ + 17, + 79 + ] + ] + } + }, + "6": { + "15": { + "name": "'CursorComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 31 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 16, + 1 + ] + ], + "doc": null + } + }, + "16": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 16, + 25 + ], + [ + 17, + 79 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/cursor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "4": { + "0": { + "type": "class", + "name": "CursorView", + "bindingType": "exports", + "classProperties": [ + [ + 5, + 12 + ], + [ + 8, + 16 + ], + [ + 10, + 17 + ], + [ + 13, + 18 + ], + [ + 19, + 17 + ] + ], + "prototypeProperties": [ + [ + 24, + 12 + ], + [ + 25, + 11 + ], + [ + 26, + 15 + ], + [ + 27, + 16 + ], + [ + 28, + 23 + ], + [ + 30, + 14 + ], + [ + 44, + 16 + ], + [ + 48, + 17 + ], + [ + 65, + 12 + ], + [ + 68, + 19 + ], + [ + 71, + 19 + ], + [ + 74, + 20 + ], + [ + 77, + 14 + ], + [ + 86, + 16 + ], + [ + 90, + 17 + ], + [ + 94, + 17 + ], + [ + 98, + 21 + ], + [ + 101, + 21 + ], + [ + 104, + 30 + ], + [ + 109, + 24 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 112, + 31 + ] + ] + } + }, + "5": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 12 + ], + [ + 8, + 1 + ] + ] + } + }, + "8": { + "16": { + "name": "blinkPeriod", + "type": "primitive", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 18 + ] + ], + "bindingType": "classProperty" + } + }, + "10": { + "17": { + "name": "blinkCursors", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 17 + ], + [ + 13, + 1 + ] + ], + "doc": "~Private~" + } + }, + "13": { + "18": { + "name": "startBlinking", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 13, + 18 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "17": { + "name": "stopBlinking", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 19, + 17 + ], + [ + 24, + 1 + ] + ], + "doc": "~Private~" + } + }, + "24": { + "12": { + "name": "blinking", + "type": "primitive", + "range": [ + [ + 24, + 12 + ], + [ + 24, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "25": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 25, + 11 + ], + [ + 25, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "26": { + "15": { + "name": "needsUpdate", + "type": "primitive", + "range": [ + [ + 26, + 15 + ], + [ + 26, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "27": { + "16": { + "name": "needsRemoval", + "type": "primitive", + "range": [ + [ + 27, + 16 + ], + [ + 27, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "28": { + "23": { + "name": "shouldPauseBlinking", + "type": "primitive", + "range": [ + [ + 28, + 23 + ], + [ + 28, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "30": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 30, + 14 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 16 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 17 + ], + [ + 65, + 1 + ] + ], + "doc": "~Private~" + } + }, + "65": { + "12": { + "name": "isHidden", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 65, + 12 + ], + [ + 68, + 1 + ] + ], + "doc": "Private: Override for speed. The base function checks the computedStyle " + } + }, + "68": { + "19": { + "name": "needsAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 19 + ], + [ + 71, + 1 + ] + ], + "doc": "~Private~" + } + }, + "71": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 71, + 19 + ], + [ + 74, + 1 + ] + ], + "doc": "~Private~" + } + }, + "74": { + "20": { + "name": "getPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 20 + ], + [ + 77, + 1 + ] + ], + "doc": "~Private~" + } + }, + "77": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 77, + 14 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "16": { + "name": "stopBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 16 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "17": { + "name": "startBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 17 + ], + [ + 94, + 1 + ] + ], + "doc": "~Private~" + } + }, + "94": { + "17": { + "name": "resetBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 17 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "21": { + "name": "getBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 21 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "21": { + "name": "getScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 21 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "30": { + "name": "removeIdleClassTemporarily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 30 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "24": { + "name": "resetCursorAnimation", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 24 + ], + [ + 112, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/cursor.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "10": { + "0": { + "type": "class", + "name": "Cursor", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 18 + ], + [ + 12, + 18 + ], + [ + 13, + 14 + ], + [ + 14, + 11 + ], + [ + 15, + 19 + ], + [ + 18, + 15 + ], + [ + 49, + 11 + ], + [ + 52, + 18 + ], + [ + 60, + 16 + ], + [ + 70, + 21 + ], + [ + 75, + 21 + ], + [ + 78, + 18 + ], + [ + 89, + 21 + ], + [ + 94, + 21 + ], + [ + 97, + 14 + ], + [ + 101, + 20 + ], + [ + 105, + 14 + ], + [ + 112, + 13 + ], + [ + 122, + 14 + ], + [ + 136, + 16 + ], + [ + 145, + 28 + ], + [ + 158, + 27 + ], + [ + 170, + 16 + ], + [ + 176, + 19 + ], + [ + 180, + 18 + ], + [ + 184, + 16 + ], + [ + 188, + 19 + ], + [ + 192, + 16 + ], + [ + 196, + 19 + ], + [ + 201, + 24 + ], + [ + 205, + 10 + ], + [ + 217, + 12 + ], + [ + 233, + 12 + ], + [ + 247, + 13 + ], + [ + 256, + 13 + ], + [ + 260, + 16 + ], + [ + 264, + 31 + ], + [ + 268, + 25 + ], + [ + 273, + 30 + ], + [ + 283, + 25 + ], + [ + 293, + 25 + ], + [ + 297, + 19 + ], + [ + 301, + 25 + ], + [ + 305, + 19 + ], + [ + 310, + 29 + ], + [ + 315, + 30 + ], + [ + 320, + 26 + ], + [ + 336, + 43 + ], + [ + 358, + 41 + ], + [ + 380, + 41 + ], + [ + 409, + 37 + ], + [ + 430, + 40 + ], + [ + 447, + 29 + ], + [ + 457, + 29 + ], + [ + 461, + 34 + ], + [ + 466, + 38 + ], + [ + 470, + 45 + ], + [ + 484, + 49 + ], + [ + 502, + 34 + ], + [ + 506, + 24 + ], + [ + 510, + 23 + ], + [ + 514, + 18 + ], + [ + 521, + 17 + ], + [ + 527, + 13 + ], + [ + 532, + 32 + ] + ], + "doc": " Public: The `Cursor` class represents the little blinking line identifying\nwhere text can be inserted.\n\nCursors belong to {Editor}s and have some metadata attached in the form\nof a {Marker}. ", + "range": [ + [ + 10, + 0 + ], + [ + 540, + 50 + ] + ] + } + }, + "11": { + "18": { + "name": "screenPosition", + "type": "primitive", + "range": [ + [ + 11, + 18 + ], + [ + 11, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "18": { + "name": "bufferPosition", + "type": "primitive", + "range": [ + [ + 12, + 18 + ], + [ + 12, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "13": { + "14": { + "name": "goalColumn", + "type": "primitive", + "range": [ + [ + 13, + 14 + ], + [ + 13, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 14, + 11 + ], + [ + 14, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "15": { + "19": { + "name": "needsAutoscroll", + "type": "primitive", + "range": [ + [ + 15, + 19 + ], + [ + 15, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 18, + 15 + ], + [ + 49, + 1 + ] + ], + "doc": "Private: Instantiated by an {Editor} " + } + }, + "49": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 11 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "18": { + "name": "changePosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options", + "fn" + ], + "range": [ + [ + 52, + 18 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "16": { + "name": "getPixelRect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 60, + 16 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "21": { + "name": "setScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 70, + 21 + ], + [ + 75, + 1 + ] + ], + "doc": " Public: Moves a cursor to a given screen position.\n\nscreenPosition - An {Array} of two numbers: the screen row, and the screen\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " + } + }, + "75": { + "21": { + "name": "getScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 75, + 21 + ], + [ + 78, + 1 + ] + ], + "doc": "Public: Returns the screen position of the cursor as an Array. " + } + }, + "78": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 78, + 18 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "setBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 89, + 21 + ], + [ + 94, + 1 + ] + ], + "doc": " Public: Moves a cursor to a given buffer position.\n\nbufferPosition - An {Array} of two numbers: the buffer row, and the buffer\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " + } + }, + "94": { + "21": { + "name": "getBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 21 + ], + [ + 97, + 1 + ] + ], + "doc": "Public: Returns the current buffer position as an Array. " + } + }, + "97": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 97, + 14 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "20": { + "name": "updateVisibility", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 20 + ], + [ + 105, + 1 + ] + ], + "doc": "Public: If the marker range is empty, the cursor is marked as being visible. " + } + }, + "105": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 105, + 14 + ], + [ + 112, + 1 + ] + ], + "doc": "Public: Sets whether the cursor is visible. " + } + }, + "112": { + "13": { + "name": "isVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 112, + 13 + ], + [ + 112, + 23 + ] + ], + "doc": "Public: Returns the visibility of the cursor. " + } + }, + "122": { + "14": { + "name": "wordRegExp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 122, + 14 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Get the RegExp used by the cursor to determine what a \"word\" is.\n\noptions: An optional {Object} with the following keys:\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the regex.\n (default: true)\n\nReturns a {RegExp}. " + } + }, + "136": { + "16": { + "name": "isLastCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 16 + ], + [ + 145, + 1 + ] + ], + "doc": " Public: Identifies if this cursor is the last in the {Editor}.\n\n\"Last\" is defined as the most recently added cursor.\n\nReturns a {Boolean}. " + } + }, + "145": { + "28": { + "name": "isSurroundedByWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 145, + 28 + ], + [ + 158, + 1 + ] + ], + "doc": " Public: Identifies if the cursor is surrounded by whitespace.\n\n\"Surrounded\" here means that the character directly before and after the\ncursor are both whitespace.\n\nReturns a {Boolean}. " + } + }, + "158": { + "27": { + "name": "isBetweenWordAndNonWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 27 + ], + [ + 170, + 1 + ] + ], + "doc": " Public: Returns whether the cursor is currently between a word and non-word\ncharacter. The non-word characters are defined by the\n`editor.nonWordCharacters` config value.\n\nThis method returns false if the character before or after the cursor is\nwhitespace.\n\nReturns a Boolean. " + } + }, + "170": { + "16": { + "name": "isInsideWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 170, + 16 + ], + [ + 176, + 1 + ] + ], + "doc": "Public: Returns whether this cursor is between a word's start and end. " + } + }, + "176": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 176, + 19 + ], + [ + 180, + 1 + ] + ], + "doc": "Public: Prevents this cursor from causing scrolling. " + } + }, + "180": { + "18": { + "name": "clearSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 180, + 18 + ], + [ + 184, + 1 + ] + ], + "doc": "Public: Deselects the current selection. " + } + }, + "184": { + "16": { + "name": "getScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 184, + 16 + ], + [ + 188, + 1 + ] + ], + "doc": "Public: Returns the cursor's current screen row. " + } + }, + "188": { + "19": { + "name": "getScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 19 + ], + [ + 192, + 1 + ] + ], + "doc": "Public: Returns the cursor's current screen column. " + } + }, + "192": { + "16": { + "name": "getBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 192, + 16 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Retrieves the cursor's current buffer row. " + } + }, + "196": { + "19": { + "name": "getBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 196, + 19 + ], + [ + 201, + 1 + ] + ], + "doc": "Public: Returns the cursor's current buffer column. " + } + }, + "201": { + "24": { + "name": "getCurrentBufferLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 201, + 24 + ], + [ + 205, + 1 + ] + ], + "doc": " Public: Returns the cursor's current buffer row of text excluding its line\nending. " + } + }, + "205": { + "10": { + "name": "moveUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount", + null + ], + "range": [ + [ + 205, + 10 + ], + [ + 217, + 1 + ] + ], + "doc": "Public: Moves the cursor up one screen row. " + } + }, + "217": { + "12": { + "name": "moveDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount", + null + ], + "range": [ + [ + 217, + 12 + ], + [ + 233, + 1 + ] + ], + "doc": "Public: Moves the cursor down one screen row. " + } + }, + "233": { + "12": { + "name": "moveLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 233, + 12 + ], + [ + 247, + 1 + ] + ], + "doc": " Public: Moves the cursor left one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the left of the selection if a\n selection exists. " + } + }, + "247": { + "13": { + "name": "moveRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 247, + 13 + ], + [ + 256, + 1 + ] + ], + "doc": " Public: Moves the cursor right one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the right of the selection if a\n selection exists. " + } + }, + "256": { + "13": { + "name": "moveToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 13 + ], + [ + 260, + 1 + ] + ], + "doc": "Public: Moves the cursor to the top of the buffer. " + } + }, + "260": { + "16": { + "name": "moveToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 16 + ], + [ + 264, + 1 + ] + ], + "doc": "Public: Moves the cursor to the bottom of the buffer. " + } + }, + "264": { + "31": { + "name": "moveToBeginningOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 264, + 31 + ], + [ + 268, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the line. " + } + }, + "268": { + "25": { + "name": "moveToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 268, + 25 + ], + [ + 273, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the buffer line. " + } + }, + "273": { + "30": { + "name": "moveToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 273, + 30 + ], + [ + 283, + 1 + ] + ], + "doc": " Public: Moves the cursor to the beginning of the first character in the\nline. " + } + }, + "283": { + "25": { + "name": "skipLeadingWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 283, + 25 + ], + [ + 293, + 1 + ] + ], + "doc": " Public: Moves the cursor to the beginning of the buffer line, skipping all\nwhitespace. " + } + }, + "293": { + "25": { + "name": "moveToEndOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 293, + 25 + ], + [ + 297, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the line. " + } + }, + "297": { + "19": { + "name": "moveToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 19 + ], + [ + 301, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the buffer line. " + } + }, + "301": { + "25": { + "name": "moveToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 301, + 25 + ], + [ + 305, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the word. " + } + }, + "305": { + "19": { + "name": "moveToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 305, + 19 + ], + [ + 310, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the word. " + } + }, + "310": { + "29": { + "name": "moveToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 310, + 29 + ], + [ + 315, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the next word. " + } + }, + "315": { + "30": { + "name": "moveToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 30 + ], + [ + 320, + 1 + ] + ], + "doc": "Public: Moves the cursor to the previous word boundary. " + } + }, + "320": { + "26": { + "name": "moveToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 320, + 26 + ], + [ + 336, + 1 + ] + ], + "doc": "Public: Moves the cursor to the next word boundary. " + } + }, + "336": { + "43": { + "name": "getBeginningOfCurrentWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 336, + 43 + ], + [ + 358, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the current word starts.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n :allowPrevious - A {Boolean} indicating whether the beginning of the\n previous word can be returned.\n\nReturns a {Range}. " + } + }, + "358": { + "41": { + "name": "getPreviousWordBoundaryBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 358, + 41 + ], + [ + 380, + 1 + ] + ], + "doc": " Public: Retrieves buffer position of previous word boundary. It might be on\nthe current word, or the previous word. " + } + }, + "380": { + "41": { + "name": "getMoveNextWordBoundaryBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 380, + 41 + ], + [ + 409, + 1 + ] + ], + "doc": " Public: Retrieves buffer position of the next word boundary. It might be on\nthe current word, or the previous word. " + } + }, + "409": { + "37": { + "name": "getEndOfCurrentWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 409, + 37 + ], + [ + 430, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the current word ends.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp})\n :includeNonWordCharacters - A Boolean indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n\nReturns a {Range}. " + } + }, + "430": { + "40": { + "name": "getBeginningOfNextWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 430, + 40 + ], + [ + 447, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the next word starts.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n\nReturns a {Range}. " + } + }, + "447": { + "29": { + "name": "getCurrentWordBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 447, + 29 + ], + [ + 457, + 1 + ] + ], + "doc": " Public: Returns the buffer Range occupied by the word located under the cursor.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}). " + } + }, + "457": { + "29": { + "name": "getCurrentLineBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 457, + 29 + ], + [ + 461, + 1 + ] + ], + "doc": " Public: Returns the buffer Range for the current line.\n\noptions -\n :includeNewline: - A {Boolean} which controls whether the Range should\n include the newline. " + } + }, + "461": { + "34": { + "name": "moveToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 461, + 34 + ], + [ + 466, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the next paragraph " + } + }, + "466": { + "38": { + "name": "moveToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 466, + 38 + ], + [ + 470, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the previous paragraph " + } + }, + "470": { + "45": { + "name": "getBeginningOfNextParagraphBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 470, + 45 + ], + [ + 484, + 1 + ] + ], + "doc": "~Private~" + } + }, + "484": { + "49": { + "name": "getBeginningOfPreviousParagraphBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 484, + 49 + ], + [ + 502, + 1 + ] + ], + "doc": "~Private~" + } + }, + "502": { + "34": { + "name": "getCurrentParagraphBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 502, + 34 + ], + [ + 506, + 1 + ] + ], + "doc": " Public: Retrieves the range for the current paragraph.\n\nA paragraph is defined as a block of text surrounded by empty lines.\n\nReturns a {Range}. " + } + }, + "506": { + "24": { + "name": "getCurrentWordPrefix", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 506, + 24 + ], + [ + 510, + 1 + ] + ], + "doc": "Public: Returns the characters preceding the cursor in the current word. " + } + }, + "510": { + "23": { + "name": "isAtBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 510, + 23 + ], + [ + 514, + 1 + ] + ], + "doc": "Public: Returns whether the cursor is at the start of a line. " + } + }, + "514": { + "18": { + "name": "getIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 514, + 18 + ], + [ + 521, + 1 + ] + ], + "doc": "Public: Returns the indentation level of the current line. " + } + }, + "521": { + "17": { + "name": "isAtEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 521, + 17 + ], + [ + 527, + 1 + ] + ], + "doc": "Public: Returns whether the cursor is on the line return character. " + } + }, + "527": { + "13": { + "name": "getScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 527, + 13 + ], + [ + 532, + 1 + ] + ], + "doc": " Public: Retrieves the grammar's token scopes for the line.\n\nReturns an {Array} of {String}s. " + } + }, + "532": { + "32": { + "name": "hasPrecedingCharactersOnLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 532, + 32 + ], + [ + 540, + 50 + ] + ], + "doc": " Public: Returns true if this cursor has no non-whitespace characters before\nits current position. " + } + } + }, + "exports": 10 + }, + "src/cursors-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "debounce", + "exportsProperty": "debounce" + }, + "11": { + "type": "import", + "range": [ + [ + 2, + 11 + ], + [ + 2, + 17 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "toArray", + "exportsProperty": "toArray" + }, + "20": { + "type": "import", + "range": [ + [ + 2, + 20 + ], + [ + 2, + 39 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "42": { + "type": "import", + "range": [ + [ + 2, + 42 + ], + [ + 2, + 48 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqual", + "exportsProperty": "isEqual" + } + }, + "3": { + "18": { + "name": "SubscriberMixin", + "type": "import", + "range": [ + [ + 3, + 18 + ], + [ + 3, + 45 + ] + ], + "bindingType": "variable", + "path": "./subscriber-mixin" + } + }, + "4": { + "18": { + "name": "CursorComponent", + "type": "import", + "range": [ + [ + 4, + 18 + ], + [ + 4, + 45 + ] + ], + "bindingType": "variable", + "path": "./cursor-component" + } + }, + "7": { + "19": { + "name": "CursorsComponent", + "type": "function", + "range": [ + [ + 7, + 19 + ], + [ + 60, + 37 + ] + ] + } + }, + "8": { + "15": { + "name": "'CursorsComponent'", + "type": "primitive", + "range": [ + [ + 8, + 15 + ], + [ + 8, + 32 + ] + ] + } + }, + "9": { + "10": { + "type": "primitive", + "range": [ + [ + 9, + 10 + ], + [ + 9, + 26 + ] + ] + } + }, + "11": { + "29": { + "type": "primitive", + "range": [ + [ + 11, + 29 + ], + [ + 11, + 32 + ] + ] + } + }, + "13": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 10 + ], + [ + 25, + 1 + ] + ], + "doc": null + } + }, + "25": { + "19": { + "name": "getInitialState", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 19 + ], + [ + 28, + 1 + ] + ], + "doc": null + } + }, + "28": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 21 + ], + [ + 31, + 1 + ] + ], + "doc": null + } + }, + "31": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 31, + 24 + ], + [ + 34, + 1 + ] + ], + "doc": null + } + }, + "34": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps", + "newState" + ], + "range": [ + [ + 34, + 25 + ], + [ + 38, + 1 + ] + ], + "doc": null + } + }, + "38": { + "23": { + "name": "componentWillUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 38, + 23 + ], + [ + 45, + 1 + ] + ], + "doc": null + } + }, + "45": { + "24": { + "name": "startBlinkingCursors", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 24 + ], + [ + 48, + 1 + ] + ], + "doc": null + } + }, + "48": { + "34": { + "type": "primitive", + "range": [ + [ + 48, + 34 + ], + [ + 48, + 37 + ] + ] + } + }, + "50": { + "23": { + "name": "stopBlinkingCursors", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 23 + ], + [ + 53, + 1 + ] + ], + "doc": null + } + }, + "53": { + "21": { + "name": "toggleCursorBlink", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 21 + ], + [ + 56, + 1 + ] + ], + "doc": null + } + }, + "56": { + "23": { + "name": "pauseCursorBlinking", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 23 + ], + [ + 60, + 37 + ] + ], + "doc": null + } + } + }, + "exports": 7 + }, + "src/custom-event-mixin.coffee": { + "objects": { + "2": { + "2": { + "type": "primitive", + "range": [ + [ + 2, + 2 + ], + [ + 14, + 52 + ] + ] + }, + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 2, + 22 + ], + [ + 5, + 1 + ] + ], + "doc": null + } + }, + "5": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 24 + ], + [ + 10, + 1 + ] + ], + "doc": null + } + }, + "10": { + "27": { + "name": "addCustomEventListeners", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "customEventListeners" + ], + "range": [ + [ + 10, + 27 + ], + [ + 14, + 52 + ] + ], + "doc": null + } + } + }, + "exports": 2 + }, + "src/decoration.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + }, + "13": { + "type": "import", + "range": [ + [ + 1, + 13 + ], + [ + 1, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "3": { + "12": { + "name": "0", + "type": "primitive", + "range": [ + [ + 3, + 12 + ], + [ + 3, + 12 + ] + ] + } + }, + "4": { + "9": { + "name": "nextId", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 4, + 9 + ], + [ + 4, + 22 + ] + ] + } + }, + "40": { + "0": { + "type": "class", + "name": "Decoration", + "bindingType": "exports", + "classProperties": [ + [ + 43, + 11 + ] + ], + "prototypeProperties": [ + [ + 49, + 15 + ], + [ + 59, + 11 + ], + [ + 70, + 10 + ], + [ + 79, + 13 + ], + [ + 82, + 13 + ], + [ + 89, + 10 + ], + [ + 92, + 18 + ], + [ + 98, + 9 + ], + [ + 104, + 20 + ] + ], + "doc": " Public: Represents a decoration that follows a {Marker}. A decoration is\nbasically a visual representation of a marker. It allows you to add CSS\nclasses to line numbers in the gutter, lines, and add selection-line regions\naround marked ranges of text.\n\n{Decoration} objects are not meant to be created directly, but created with\n{Editor::decorateMarker}. eg.\n\n```coffee\nrange = editor.getSelectedBufferRange() # any range you like\nmarker = editor.markBufferRange(range)\ndecoration = editor.decorateMarker(marker, {type: 'line', class: 'my-line-class'})\n```\n\nBest practice for destorying the decoration is by destroying the {Marker}.\n\n```\nmarker.destroy()\n```\n\nYou should only use {Decoration::destroy} when you still need or do not own\nthe marker.\n\n### IDs\nEach {Decoration} has a unique ID available via `decoration.id`.\n\n### Events\nA couple of events are emitted:\n\n* `destroyed`: When the {Decoration} is destroyed\n* `updated`: When the {Decoration} is updated via {Decoration::update}.\n Event object has properties `oldParams` and `newParams`\n\n ", + "range": [ + [ + 40, + 0 + ], + [ + 106, + 8 + ] + ] + } + }, + "43": { + "11": { + "name": "isType", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "decorationParams", + "type" + ], + "range": [ + [ + 43, + 11 + ], + [ + 49, + 1 + ] + ], + "doc": "~Private~" + } + }, + "49": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null, + null + ], + "range": [ + [ + 49, + 15 + ], + [ + 59, + 1 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 11 + ], + [ + 70, + 1 + ] + ], + "doc": " Public: Destroy this marker.\n\nIf you own the marker, you should use {Marker::destroy} which will destroy\nthis decoration. " + } + }, + "70": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "newParams" + ], + "range": [ + [ + 70, + 10 + ], + [ + 79, + 1 + ] + ], + "doc": " Public: Update the marker with new params. Allows you to change the decoration's class.\n\n```\ndecoration.update({type: 'gutter', class: 'my-new-class'})\n``` " + } + }, + "79": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 13 + ], + [ + 79, + 22 + ] + ], + "doc": "Public: Returns the marker associated with this {Decoration} " + } + }, + "82": { + "13": { + "name": "getParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 13 + ], + [ + 82, + 22 + ] + ], + "doc": "Public: Returns the {Decoration}'s params. " + } + }, + "89": { + "10": { + "name": "isType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "type" + ], + "range": [ + [ + 89, + 10 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "18": { + "name": "matchesPattern", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decorationPattern" + ], + "range": [ + [ + 92, + 18 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "9": { + "name": "flash", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass", + "duration" + ], + "range": [ + [ + 98, + 9 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "20": { + "name": "consumeNextFlash", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 20 + ], + [ + 106, + 8 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 40 + }, + "src/deserializer-manager.coffee": { + "objects": { + "20": { + "0": { + "type": "class", + "name": "DeserializerManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 21, + 15 + ], + [ + 27, + 7 + ], + [ + 33, + 10 + ], + [ + 41, + 15 + ], + [ + 54, + 7 + ] + ], + "doc": " Public: Manages the deserializers used for serialized state\n\nAn instance of this class is always available as the `atom.deserializers`\nglobal.\n\n### Registering a deserializer\n\n```coffee\nclass MyPackageView extends View\n atom.deserializers.add(this)\n\n @deserialize: (state) ->\n new MyPackageView(state)\n\n constructor: (@state) ->\n\n serialize: ->\n @state\n``` ", + "range": [ + [ + 20, + 0 + ], + [ + 58, + 24 + ] + ] + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 15 + ], + [ + 27, + 1 + ] + ] + } + }, + "27": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "classes" + ], + "range": [ + [ + 27, + 7 + ], + [ + 33, + 1 + ] + ], + "doc": " Public: Register the given class(es) as deserializers.\n\nclasses - One or more classes to register. " + } + }, + "33": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "classes" + ], + "range": [ + [ + 33, + 10 + ], + [ + 41, + 1 + ] + ], + "doc": " Public: Remove the given class(es) as deserializers.\n\nclasses - One or more classes to remove. " + } + }, + "41": { + "15": { + "name": "deserialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state", + "params" + ], + "range": [ + [ + 41, + 15 + ], + [ + 54, + 1 + ] + ], + "doc": " Public: Deserialize the state and params.\n\nstate - The state {Object} to deserialize.\nparams - The params {Object} to pass as the second arguments to the\n deserialize method of the deserializer. " + } + }, + "54": { + "7": { + "name": "get", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 54, + 7 + ], + [ + 58, + 24 + ] + ], + "doc": " Private: Get the deserializer for the state.\n\nstate - The state {Object} being deserialized. " + } + } + }, + "exports": 20 + }, + "src/display-buffer-marker.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 2, + 10 + ], + [ + 2, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "5": { + "0": { + "type": "class", + "name": "DisplayBufferMarker", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 9, + 28 + ], + [ + 10, + 25 + ], + [ + 11, + 25 + ], + [ + 12, + 25 + ], + [ + 13, + 25 + ], + [ + 14, + 12 + ], + [ + 16, + 15 + ], + [ + 27, + 8 + ], + [ + 33, + 18 + ], + [ + 40, + 18 + ], + [ + 46, + 18 + ], + [ + 53, + 18 + ], + [ + 56, + 17 + ], + [ + 62, + 25 + ], + [ + 69, + 25 + ], + [ + 76, + 25 + ], + [ + 83, + 25 + ], + [ + 89, + 25 + ], + [ + 96, + 25 + ], + [ + 103, + 25 + ], + [ + 110, + 25 + ], + [ + 117, + 26 + ], + [ + 124, + 26 + ], + [ + 131, + 24 + ], + [ + 138, + 24 + ], + [ + 146, + 13 + ], + [ + 150, + 13 + ], + [ + 153, + 11 + ], + [ + 157, + 14 + ], + [ + 162, + 11 + ], + [ + 169, + 15 + ], + [ + 172, + 17 + ], + [ + 175, + 17 + ], + [ + 178, + 21 + ], + [ + 183, + 11 + ], + [ + 187, + 11 + ], + [ + 191, + 11 + ], + [ + 195, + 11 + ], + [ + 198, + 13 + ], + [ + 202, + 19 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 230, + 23 + ] + ] + } + }, + "9": { + "28": { + "name": "bufferMarkerSubscription", + "type": "primitive", + "range": [ + [ + 9, + 28 + ], + [ + 9, + 31 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "25": { + "name": "oldHeadBufferPosition", + "type": "primitive", + "range": [ + [ + 10, + 25 + ], + [ + 10, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "11": { + "25": { + "name": "oldHeadScreenPosition", + "type": "primitive", + "range": [ + [ + 11, + 25 + ], + [ + 11, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "25": { + "name": "oldTailBufferPosition", + "type": "primitive", + "range": [ + [ + 12, + 25 + ], + [ + 12, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "13": { + "25": { + "name": "oldTailScreenPosition", + "type": "primitive", + "range": [ + [ + 13, + 25 + ], + [ + 13, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "12": { + "name": "wasValid", + "type": "primitive", + "range": [ + [ + 14, + 12 + ], + [ + 14, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 16, + 15 + ], + [ + 27, + 1 + ] + ], + "doc": "~Private~" + } + }, + "27": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 27, + 8 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 33, + 18 + ], + [ + 40, + 1 + ] + ], + "doc": " Private: Gets the screen range of the display marker.\n\nReturns a {Range}. " + } + }, + "40": { + "18": { + "name": "setScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 40, + 18 + ], + [ + 46, + 1 + ] + ], + "doc": " Private: Modifies the screen range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " + } + }, + "46": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 46, + 18 + ], + [ + 53, + 1 + ] + ], + "doc": " Private: Gets the buffer range of the display marker.\n\nReturns a {Range}. " + } + }, + "53": { + "18": { + "name": "setBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 53, + 18 + ], + [ + 56, + 1 + ] + ], + "doc": " Private: Modifies the buffer range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " + } + }, + "56": { + "17": { + "name": "getPixelRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 17 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "25": { + "name": "getHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 62, + 25 + ], + [ + 69, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's head.\n\nReturns a {Point}. " + } + }, + "69": { + "25": { + "name": "setHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 69, + 25 + ], + [ + 76, + 1 + ] + ], + "doc": " Private: Sets the screen position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "76": { + "25": { + "name": "getHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 25 + ], + [ + 83, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's head.\n\nReturns a {Point}. " + } + }, + "83": { + "25": { + "name": "setHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 83, + 25 + ], + [ + 89, + 1 + ] + ], + "doc": " Private: Sets the buffer position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "89": { + "25": { + "name": "getTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 25 + ], + [ + 96, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's tail.\n\nReturns a {Point}. " + } + }, + "96": { + "25": { + "name": "setTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 96, + 25 + ], + [ + 103, + 1 + ] + ], + "doc": " Private: Sets the screen position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "103": { + "25": { + "name": "getTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 103, + 25 + ], + [ + 110, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's tail.\n\nReturns a {Point}. " + } + }, + "110": { + "25": { + "name": "setTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 110, + 25 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: Sets the buffer position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "117": { + "26": { + "name": "getStartScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 26 + ], + [ + 124, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndScreenPosition}.\n\nReturns a {Point}. " + } + }, + "124": { + "26": { + "name": "getStartBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 26 + ], + [ + 131, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndBufferPosition}.\n\nReturns a {Point}. " + } + }, + "131": { + "24": { + "name": "getEndScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 131, + 24 + ], + [ + 138, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartScreenPosition}.\n\nReturns a {Point}. " + } + }, + "138": { + "24": { + "name": "getEndBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 24 + ], + [ + 146, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartBufferPosition}.\n\nReturns a {Point}. " + } + }, + "146": { + "13": { + "name": "plantTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 146, + 13 + ], + [ + 150, + 1 + ] + ], + "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " + } + }, + "150": { + "13": { + "name": "clearTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 150, + 13 + ], + [ + 153, + 1 + ] + ], + "doc": "Private: Removes the tail from the marker. " + } + }, + "153": { + "11": { + "name": "hasTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 153, + 11 + ], + [ + 157, + 1 + ] + ], + "doc": "~Private~" + } + }, + "157": { + "14": { + "name": "isReversed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 157, + 14 + ], + [ + 162, + 1 + ] + ], + "doc": "Private: Returns whether the head precedes the tail in the buffer " + } + }, + "162": { + "11": { + "name": "isValid", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 11 + ], + [ + 169, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the marker is valid. Markers can be\ninvalidated when a region surrounding them in the buffer is changed. " + } + }, + "169": { + "15": { + "name": "isDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 169, + 15 + ], + [ + 172, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the marker has been destroyed. A marker\ncan be invalid without being destroyed, in which case undoing the invalidating\noperation would restore the marker. Once a marker is destroyed by calling\n{Marker::destroy}, no undo/redo operation can ever bring it back. " + } + }, + "172": { + "17": { + "name": "getAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 172, + 17 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "17": { + "name": "setAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 175, + 17 + ], + [ + 178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "178": { + "21": { + "name": "matchesAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 178, + 21 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 183, + 11 + ], + [ + 187, + 1 + ] + ], + "doc": "Private: Destroys the marker " + } + }, + "187": { + "11": { + "name": "isEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 187, + 11 + ], + [ + 191, + 1 + ] + ], + "doc": "~Private~" + } + }, + "191": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 191, + 11 + ], + [ + 195, + 1 + ] + ], + "doc": "~Private~" + } + }, + "195": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 195, + 11 + ], + [ + 198, + 1 + ] + ], + "doc": "Private: Returns a {String} representation of the marker " + } + }, + "198": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 198, + 13 + ], + [ + 202, + 1 + ] + ], + "doc": "~Private~" + } + }, + "202": { + "19": { + "name": "notifyObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 202, + 19 + ], + [ + 230, + 23 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "src/display-buffer.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "2": { + "7": { + "name": "guid", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "guid" + } + }, + "3": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@1.x" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "6": { + "18": { + "name": "TokenizedBuffer", + "type": "import", + "range": [ + [ + 6, + 18 + ], + [ + 6, + 45 + ] + ], + "bindingType": "variable", + "path": "./tokenized-buffer" + } + }, + "7": { + "9": { + "name": "RowMap", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 27 + ] + ], + "bindingType": "variable", + "path": "./row-map" + } + }, + "8": { + "7": { + "name": "Fold", + "type": "import", + "range": [ + [ + 8, + 7 + ], + [ + 8, + 22 + ] + ], + "bindingType": "variable", + "path": "./fold" + } + }, + "9": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 9, + 8 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "10": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "11": { + "22": { + "name": "DisplayBufferMarker", + "type": "import", + "range": [ + [ + 11, + 22 + ], + [ + 11, + 54 + ] + ], + "bindingType": "variable", + "path": "./display-buffer-marker" + } + }, + "13": { + "0": { + "type": "class", + "name": "BufferToScreenConversionError", + "classProperties": [], + "prototypeProperties": [ + [ + 14, + 15 + ] + ], + "doc": "~Private~", + "range": [ + [ + 13, + 0 + ], + [ + 17, + 0 + ] + ] + } + }, + "14": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 14, + 15 + ], + [ + 17, + 0 + ] + ] + } + }, + "19": { + "0": { + "type": "class", + "name": "DisplayBuffer", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 34, + 24 + ], + [ + 35, + 26 + ], + [ + 36, + 29 + ], + [ + 37, + 26 + ], + [ + 38, + 36 + ], + [ + 40, + 15 + ], + [ + 70, + 19 + ], + [ + 78, + 21 + ], + [ + 82, + 8 + ], + [ + 91, + 24 + ], + [ + 97, + 15 + ], + [ + 104, + 28 + ], + [ + 115, + 14 + ], + [ + 117, + 27 + ], + [ + 118, + 27 + ], + [ + 120, + 29 + ], + [ + 121, + 29 + ], + [ + 123, + 32 + ], + [ + 124, + 32 + ], + [ + 126, + 29 + ], + [ + 127, + 29 + ], + [ + 129, + 13 + ], + [ + 138, + 13 + ], + [ + 140, + 19 + ], + [ + 146, + 18 + ], + [ + 152, + 26 + ], + [ + 160, + 24 + ], + [ + 167, + 12 + ], + [ + 176, + 12 + ], + [ + 183, + 16 + ], + [ + 184, + 16 + ], + [ + 190, + 19 + ], + [ + 193, + 19 + ], + [ + 194, + 19 + ], + [ + 198, + 17 + ], + [ + 199, + 17 + ], + [ + 206, + 20 + ], + [ + 209, + 18 + ], + [ + 210, + 18 + ], + [ + 214, + 25 + ], + [ + 215, + 25 + ], + [ + 217, + 23 + ], + [ + 218, + 23 + ], + [ + 224, + 18 + ], + [ + 226, + 22 + ], + [ + 229, + 23 + ], + [ + 237, + 29 + ], + [ + 244, + 22 + ], + [ + 249, + 26 + ], + [ + 253, + 25 + ], + [ + 256, + 19 + ], + [ + 261, + 18 + ], + [ + 264, + 22 + ], + [ + 273, + 29 + ], + [ + 277, + 38 + ], + [ + 281, + 23 + ], + [ + 311, + 26 + ], + [ + 314, + 26 + ], + [ + 317, + 27 + ], + [ + 333, + 16 + ], + [ + 339, + 16 + ], + [ + 343, + 15 + ], + [ + 346, + 15 + ], + [ + 351, + 25 + ], + [ + 359, + 25 + ], + [ + 367, + 21 + ], + [ + 378, + 14 + ], + [ + 387, + 16 + ], + [ + 393, + 12 + ], + [ + 396, + 22 + ], + [ + 406, + 27 + ], + [ + 416, + 14 + ], + [ + 422, + 23 + ], + [ + 425, + 23 + ], + [ + 429, + 21 + ], + [ + 435, + 19 + ], + [ + 446, + 34 + ], + [ + 454, + 28 + ], + [ + 466, + 34 + ], + [ + 477, + 34 + ], + [ + 482, + 34 + ], + [ + 493, + 28 + ], + [ + 502, + 25 + ], + [ + 505, + 29 + ], + [ + 513, + 25 + ], + [ + 521, + 29 + ], + [ + 532, + 29 + ], + [ + 538, + 28 + ], + [ + 542, + 34 + ], + [ + 561, + 34 + ], + [ + 581, + 34 + ], + [ + 587, + 16 + ], + [ + 593, + 14 + ], + [ + 599, + 20 + ], + [ + 605, + 23 + ], + [ + 617, + 35 + ], + [ + 651, + 35 + ], + [ + 661, + 27 + ], + [ + 664, + 33 + ], + [ + 672, + 26 + ], + [ + 678, + 14 + ], + [ + 684, + 14 + ], + [ + 688, + 17 + ], + [ + 704, + 22 + ], + [ + 740, + 18 + ], + [ + 758, + 20 + ], + [ + 761, + 19 + ], + [ + 764, + 32 + ], + [ + 771, + 18 + ], + [ + 793, + 20 + ], + [ + 804, + 33 + ], + [ + 810, + 31 + ], + [ + 818, + 21 + ], + [ + 826, + 13 + ], + [ + 836, + 14 + ], + [ + 839, + 18 + ], + [ + 848, + 19 + ], + [ + 858, + 19 + ], + [ + 867, + 22 + ], + [ + 876, + 22 + ], + [ + 882, + 17 + ], + [ + 891, + 14 + ], + [ + 912, + 15 + ], + [ + 916, + 33 + ], + [ + 954, + 18 + ], + [ + 957, + 19 + ], + [ + 960, + 27 + ], + [ + 963, + 24 + ], + [ + 966, + 25 + ], + [ + 970, + 32 + ], + [ + 974, + 13 + ], + [ + 979, + 12 + ], + [ + 984, + 31 + ], + [ + 989, + 21 + ], + [ + 1015, + 20 + ], + [ + 1061, + 21 + ], + [ + 1083, + 22 + ], + [ + 1088, + 30 + ], + [ + 1093, + 29 + ], + [ + 1097, + 23 + ], + [ + 1101, + 17 + ] + ], + "doc": "~Private~", + "range": [ + [ + 19, + 0 + ], + [ + 1102, + 31 + ] + ] + } + }, + "34": { + "24": { + "name": "verticalScrollMargin", + "type": "primitive", + "range": [ + [ + 34, + 24 + ], + [ + 34, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "35": { + "26": { + "name": "horizontalScrollMargin", + "type": "primitive", + "range": [ + [ + 35, + 26 + ], + [ + 35, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "36": { + "29": { + "name": "horizontalScrollbarHeight", + "type": "primitive", + "range": [ + [ + 36, + 29 + ], + [ + 36, + 30 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "37": { + "26": { + "name": "verticalScrollbarWidth", + "type": "primitive", + "range": [ + [ + 37, + 26 + ], + [ + 37, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "38": { + "36": { + "name": "scopedCharacterWidthsChangeCount", + "type": "primitive", + "range": [ + [ + 38, + 36 + ], + [ + 38, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "40": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 40, + 15 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 70, + 19 + ], + [ + 78, + 1 + ] + ], + "doc": "~Private~" + } + }, + "78": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 78, + 21 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 8 + ], + [ + 91, + 1 + ] + ], + "doc": "~Private~" + } + }, + "91": { + "24": { + "name": "updateAllScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 24 + ], + [ + 97, + 1 + ] + ], + "doc": "~Private~" + } + }, + "97": { + "15": { + "name": "emitChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventProperties", + "refreshMarkers" + ], + "range": [ + [ + 97, + 15 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "28": { + "name": "updateWrappedScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 28 + ], + [ + 115, + 1 + ] + ], + "doc": "~Private~" + } + }, + "115": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 115, + 14 + ], + [ + 115, + 62 + ] + ], + "doc": " Private: Sets the visibility of the tokenized buffer.\n\nvisible - A {Boolean} indicating of the tokenized buffer is shown " + } + }, + "117": { + "27": { + "name": "getVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 27 + ], + [ + 117, + 50 + ] + ], + "doc": "~Private~" + } + }, + "118": { + "27": { + "name": "setVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 118, + 27 + ], + [ + 118, + 74 + ] + ] + } + }, + "120": { + "29": { + "name": "getHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 120, + 29 + ], + [ + 120, + 54 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "29": { + "name": "setHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 121, + 29 + ], + [ + 121, + 80 + ] + ] + } + }, + "123": { + "32": { + "name": "getHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 123, + 32 + ], + [ + 123, + 60 + ] + ], + "doc": "~Private~" + } + }, + "124": { + "32": { + "name": "setHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 124, + 32 + ], + [ + 124, + 89 + ] + ] + } + }, + "126": { + "29": { + "name": "getVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 29 + ], + [ + 126, + 54 + ] + ], + "doc": "~Private~" + } + }, + "127": { + "29": { + "name": "setVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 127, + 29 + ], + [ + 127, + 80 + ] + ] + } + }, + "129": { + "13": { + "name": "getHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 129, + 13 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "13": { + "name": "setHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 138, + 13 + ], + [ + 138, + 32 + ] + ], + "doc": "~Private~" + } + }, + "140": { + "19": { + "name": "getClientHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 140, + 19 + ], + [ + 146, + 1 + ] + ], + "doc": "~Private~" + } + }, + "146": { + "18": { + "name": "getClientWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 146, + 18 + ], + [ + 152, + 1 + ] + ], + "doc": "~Private~" + } + }, + "152": { + "26": { + "name": "horizontallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 152, + 26 + ], + [ + 160, + 1 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "24": { + "name": "verticallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 160, + 24 + ], + [ + 167, + 1 + ] + ], + "doc": "~Private~" + } + }, + "167": { + "12": { + "name": "getWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 167, + 12 + ], + [ + 176, + 1 + ] + ], + "doc": "~Private~" + } + }, + "176": { + "12": { + "name": "setWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "newWidth" + ], + "range": [ + [ + 176, + 12 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "16": { + "name": "getScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 183, + 16 + ], + [ + 183, + 28 + ] + ], + "doc": "~Private~" + } + }, + "184": { + "16": { + "name": "setScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 184, + 16 + ], + [ + 190, + 1 + ] + ] + } + }, + "190": { + "19": { + "name": "getMaxScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 19 + ], + [ + 193, + 1 + ] + ], + "doc": "~Private~" + } + }, + "193": { + "19": { + "name": "getScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 193, + 19 + ], + [ + 193, + 41 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "19": { + "name": "setScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 194, + 19 + ], + [ + 198, + 1 + ] + ] + } + }, + "198": { + "17": { + "name": "getScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 198, + 17 + ], + [ + 198, + 30 + ] + ], + "doc": "~Private~" + } + }, + "199": { + "17": { + "name": "setScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 199, + 17 + ], + [ + 206, + 1 + ] + ] + } + }, + "206": { + "20": { + "name": "getMaxScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 206, + 20 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "18": { + "name": "getScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 209, + 18 + ], + [ + 209, + 40 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "18": { + "name": "setScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 210, + 18 + ], + [ + 214, + 1 + ] + ] + } + }, + "214": { + "25": { + "name": "getLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 214, + 25 + ], + [ + 214, + 46 + ] + ], + "doc": "~Private~" + } + }, + "215": { + "25": { + "name": "setLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 215, + 25 + ], + [ + 215, + 68 + ] + ] + } + }, + "217": { + "23": { + "name": "getDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 217, + 23 + ], + [ + 217, + 42 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "23": { + "name": "setDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultCharWidth" + ], + "range": [ + [ + 218, + 23 + ], + [ + 224, + 1 + ] + ] + } + }, + "224": { + "18": { + "name": "getCursorWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 18 + ], + [ + 224, + 21 + ] + ], + "doc": "~Private~" + } + }, + "226": { + "22": { + "name": "getScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char" + ], + "range": [ + [ + 226, + 22 + ], + [ + 229, + 1 + ] + ], + "doc": "~Private~" + } + }, + "229": { + "23": { + "name": "getScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames" + ], + "range": [ + [ + 229, + 23 + ], + [ + 237, + 1 + ] + ], + "doc": "~Private~" + } + }, + "237": { + "29": { + "name": "batchCharacterMeasurement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 237, + 29 + ], + [ + 244, + 1 + ] + ], + "doc": "~Private~" + } + }, + "244": { + "22": { + "name": "setScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char", + "width" + ], + "range": [ + [ + 244, + 22 + ], + [ + 249, + 1 + ] + ], + "doc": "~Private~" + } + }, + "249": { + "26": { + "name": "characterWidthsChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 249, + 26 + ], + [ + 253, + 1 + ] + ], + "doc": "~Private~" + } + }, + "253": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 253, + 25 + ], + [ + 256, + 1 + ] + ], + "doc": "~Private~" + } + }, + "256": { + "19": { + "name": "getScrollHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 19 + ], + [ + 261, + 1 + ] + ], + "doc": "~Private~" + } + }, + "261": { + "18": { + "name": "getScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 18 + ], + [ + 264, + 1 + ] + ], + "doc": "~Private~" + } + }, + "264": { + "22": { + "name": "getVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 264, + 22 + ], + [ + 273, + 1 + ] + ], + "doc": "~Private~" + } + }, + "273": { + "29": { + "name": "intersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 273, + 29 + ], + [ + 277, + 1 + ] + ], + "doc": "~Private~" + } + }, + "277": { + "38": { + "name": "selectionIntersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 277, + 38 + ], + [ + 281, + 1 + ] + ], + "doc": "~Private~" + } + }, + "281": { + "23": { + "name": "scrollToScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 281, + 23 + ], + [ + 311, + 1 + ] + ], + "doc": "~Private~" + } + }, + "311": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 311, + 26 + ], + [ + 314, + 1 + ] + ], + "doc": "~Private~" + } + }, + "314": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 314, + 26 + ], + [ + 317, + 1 + ] + ], + "doc": "~Private~" + } + }, + "317": { + "27": { + "name": "pixelRectForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 317, + 27 + ], + [ + 333, + 1 + ] + ], + "doc": "~Private~" + } + }, + "333": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 333, + 16 + ], + [ + 339, + 1 + ] + ], + "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " + } + }, + "339": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 339, + 16 + ], + [ + 343, + 1 + ] + ], + "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " + } + }, + "343": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 343, + 15 + ], + [ + 343, + 38 + ] + ], + "doc": "Deprecated: Use the softWrap property directly " + } + }, + "346": { + "15": { + "name": "getSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 15 + ], + [ + 346, + 26 + ] + ], + "doc": "Deprecated: Use the softWrap property directly " + } + }, + "351": { + "25": { + "name": "setEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorWidthInChars" + ], + "range": [ + [ + 351, + 25 + ], + [ + 359, + 1 + ] + ], + "doc": " Private: Set the number of characters that fit horizontally in the editor.\n\neditorWidthInChars - A {Number} of characters. " + } + }, + "359": { + "25": { + "name": "getEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 359, + 25 + ], + [ + 367, + 1 + ] + ], + "doc": "Private: Returns the editor width in characters for soft wrap. " + } + }, + "367": { + "21": { + "name": "getSoftWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 367, + 21 + ], + [ + 378, + 1 + ] + ], + "doc": "~Private~" + } + }, + "378": { + "14": { + "name": "lineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 378, + 14 + ], + [ + 387, + 1 + ] + ], + "doc": " Private: Gets the screen line for the given screen row.\n\nscreenRow - A {Number} indicating the screen row.\n\nReturns a {ScreenLine}. " + } + }, + "387": { + "16": { + "name": "linesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 387, + 16 + ], + [ + 393, + 1 + ] + ], + "doc": " Private: Gets the screen lines for the given screen row range.\n\nstartRow - A {Number} indicating the beginning screen row.\nendRow - A {Number} indicating the ending screen row.\n\nReturns an {Array} of {ScreenLine}s. " + } + }, + "393": { + "12": { + "name": "getLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 393, + 12 + ], + [ + 396, + 1 + ] + ], + "doc": " Private: Gets all the screen lines.\n\nReturns an {Array} of {ScreenLines}s. " + } + }, + "396": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 396, + 22 + ], + [ + 406, + 1 + ] + ], + "doc": "~Private~" + } + }, + "406": { + "27": { + "name": "bufferRowsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 406, + 27 + ], + [ + 416, + 1 + ] + ], + "doc": " Private: Given starting and ending screen rows, this returns an array of the\nbuffer rows corresponding to every screen row in the range\n\nstartScreenRow - The screen row {Number} to start at\nendScreenRow - The screen row {Number} to end at (default: the last screen row)\n\nReturns an {Array} of buffer rows as {Numbers}s. " + } + }, + "416": { + "14": { + "name": "createFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 416, + 14 + ], + [ + 422, + 1 + ] + ], + "doc": " Private: Creates a new fold between two row numbers.\n\nstartRow - The row {Number} to start folding at\nendRow - The row {Number} to end the fold\n\nReturns the new {Fold}. " + } + }, + "422": { + "23": { + "name": "isFoldedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 422, + 23 + ], + [ + 425, + 1 + ] + ], + "doc": "~Private~" + } + }, + "425": { + "23": { + "name": "isFoldedAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 425, + 23 + ], + [ + 429, + 1 + ] + ], + "doc": "~Private~" + } + }, + "429": { + "21": { + "name": "destroyFoldWithId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 429, + 21 + ], + [ + 435, + 1 + ] + ], + "doc": "Private: Destroys the fold with the given id " + } + }, + "435": { + "19": { + "name": "unfoldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 435, + 19 + ], + [ + 446, + 1 + ] + ], + "doc": " Private: Removes any folds found that contain the given buffer row.\n\nbufferRow - The buffer row {Number} to check against " + } + }, + "446": { + "34": { + "name": "largestFoldStartingAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 446, + 34 + ], + [ + 454, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold} or null if none exists. " + } + }, + "454": { + "28": { + "name": "foldsStartingAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 454, + 28 + ], + [ + 466, + 1 + ] + ], + "doc": " Public: Given a buffer row, this returns all folds that start there.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " + } + }, + "466": { + "34": { + "name": "largestFoldStartingAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 466, + 34 + ], + [ + 477, + 1 + ] + ], + "doc": " Private: Given a screen row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nscreenRow - A {Number} indicating the screen row\n\nReturns a {Fold}. " + } + }, + "477": { + "34": { + "name": "largestFoldContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 477, + 34 + ], + [ + 482, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns the largest fold that includes it.\n\nLargest is defined as the fold whose difference between its start and end rows\nis the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold}. " + } + }, + "482": { + "34": { + "name": "outermostFoldsInBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 482, + 34 + ], + [ + 493, + 1 + ] + ], + "doc": " Private: Returns the folds in the given row range (exclusive of end row) that are\nnot contained by any other folds. " + } + }, + "493": { + "28": { + "name": "foldsContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 493, + 28 + ], + [ + 502, + 1 + ] + ], + "doc": " Public: Given a buffer row, this returns folds that include it.\n\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " + } + }, + "502": { + "25": { + "name": "screenRowForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 502, + 25 + ], + [ + 505, + 1 + ] + ], + "doc": " Private: Given a buffer row, this converts it into a screen row.\n\nbufferRow - A {Number} representing a buffer row\n\nReturns a {Number}. " + } + }, + "505": { + "29": { + "name": "lastScreenRowForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 505, + 29 + ], + [ + 513, + 1 + ] + ], + "doc": "~Private~" + } + }, + "513": { + "25": { + "name": "bufferRowForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 513, + 25 + ], + [ + 521, + 1 + ] + ], + "doc": " Private: Given a screen row, this converts it into a buffer row.\n\nscreenRow - A {Number} representing a screen row\n\nReturns a {Number}. " + } + }, + "521": { + "29": { + "name": "screenRangeForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 521, + 29 + ], + [ + 532, + 1 + ] + ], + "doc": " Private: Given a buffer range, this converts it into a screen position.\n\nbufferRange - The {Range} to convert\n\nReturns a {Range}. " + } + }, + "532": { + "29": { + "name": "bufferRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 532, + 29 + ], + [ + 538, + 1 + ] + ], + "doc": " Private: Given a screen range, this converts it into a buffer position.\n\nscreenRange - The {Range} to convert\n\nReturns a {Range}. " + } + }, + "538": { + "28": { + "name": "pixelRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "clip" + ], + "range": [ + [ + 538, + 28 + ], + [ + 542, + 1 + ] + ], + "doc": "~Private~" + } + }, + "542": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "clip" + ], + "range": [ + [ + 542, + 34 + ], + [ + 561, + 1 + ] + ], + "doc": "~Private~" + } + }, + "561": { + "34": { + "name": "screenPositionForPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 561, + 34 + ], + [ + 581, + 1 + ] + ], + "doc": "~Private~" + } + }, + "581": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 581, + 34 + ], + [ + 587, + 1 + ] + ], + "doc": "~Private~" + } + }, + "587": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 587, + 16 + ], + [ + 593, + 1 + ] + ], + "doc": " Private: Gets the number of screen lines.\n\nReturns a {Number}. " + } + }, + "593": { + "14": { + "name": "getLastRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 593, + 14 + ], + [ + 599, + 1 + ] + ], + "doc": " Private: Gets the number of the last screen line.\n\nReturns a {Number}. " + } + }, + "599": { + "20": { + "name": "getMaxLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 599, + 20 + ], + [ + 605, + 1 + ] + ], + "doc": " Private: Gets the length of the longest screen line.\n\nReturns a {Number}. " + } + }, + "605": { + "23": { + "name": "getLongestScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 605, + 23 + ], + [ + 617, + 1 + ] + ], + "doc": " Private: Gets the row number of the longest screen line.\n\nReturn a {} " + } + }, + "617": { + "35": { + "name": "screenPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 617, + 35 + ], + [ + 651, + 1 + ] + ], + "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " + } + }, + "651": { + "35": { + "name": "bufferPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 651, + 35 + ], + [ + 661, + 1 + ] + ], + "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " + } + }, + "661": { + "27": { + "name": "scopesForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 661, + 27 + ], + [ + 664, + 1 + ] + ], + "doc": " Private: Retrieves the grammar's token scopes for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}\n\nReturns an {Array} of {String}s. " + } + }, + "664": { + "33": { + "name": "bufferRangeForScopeAtPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "position" + ], + "range": [ + [ + 664, + 33 + ], + [ + 672, + 1 + ] + ], + "doc": "~Private~" + } + }, + "672": { + "26": { + "name": "tokenForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 672, + 26 + ], + [ + 678, + 1 + ] + ], + "doc": " Private: Retrieves the grammar's token for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}.\n\nReturns a {Token}. " + } + }, + "678": { + "14": { + "name": "getGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 678, + 14 + ], + [ + 684, + 1 + ] + ], + "doc": " Private: Get the grammar for this buffer.\n\nReturns the current {Grammar} or the {NullGrammar}. " + } + }, + "684": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 684, + 14 + ], + [ + 688, + 1 + ] + ], + "doc": " Private: Sets the grammar for the buffer.\n\ngrammar - Sets the new grammar rules " + } + }, + "688": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 688, + 17 + ], + [ + 704, + 1 + ] + ], + "doc": "Private: Reloads the current grammar. " + } + }, + "704": { + "22": { + "name": "clipScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 704, + 22 + ], + [ + 740, + 1 + ] + ], + "doc": " Private: Given a position, this clips it to a real position.\n\nFor example, if `position`'s row exceeds the row count of the buffer,\nor if its column goes beyond a line's length, this \"sanitizes\" the value\nto a real position.\n\nposition - The {Point} to clip\noptions - A hash with the following values:\n wrapBeyondNewlines: if `true`, continues wrapping past newlines\n wrapAtSoftNewlines: if `true`, continues wrapping past soft newlines\n screenLine: if `true`, indicates that you're using a line number, not a row number\n\nReturns the new, clipped {Point}. Note that this could be the same as `position` if no clipping was performed. " + } + }, + "740": { + "18": { + "name": "findWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line", + "softWrapColumn" + ], + "range": [ + [ + 740, + 18 + ], + [ + 758, + 1 + ] + ], + "doc": " Private: Given a line, finds the point where it would wrap.\n\nline - The {String} to check\nsoftWrapColumn - The {Number} where you want soft wrapping to occur\n\nReturns a {Number} representing the `line` position where the wrap would take place.\nReturns `null` if a wrap wouldn't occur. " + } + }, + "758": { + "20": { + "name": "rangeForAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 758, + 20 + ], + [ + 761, + 1 + ] + ], + "doc": " Private: Calculates a {Range} representing the start of the {TextBuffer} until the end.\n\nReturns a {Range}. " + } + }, + "761": { + "19": { + "name": "decorationForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 761, + 19 + ], + [ + 764, + 1 + ] + ], + "doc": "~Private~" + } + }, + "764": { + "32": { + "name": "decorationsForScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 764, + 32 + ], + [ + 771, + 1 + ] + ], + "doc": "~Private~" + } + }, + "771": { + "18": { + "name": "decorateMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "decorationParams" + ], + "range": [ + [ + 771, + 18 + ], + [ + 793, + 1 + ] + ], + "doc": "~Private~" + } + }, + "793": { + "20": { + "name": "removeDecoration", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decoration" + ], + "range": [ + [ + 793, + 20 + ], + [ + 804, + 1 + ] + ], + "doc": "~Private~" + } + }, + "804": { + "33": { + "name": "removeAllDecorationsForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 804, + 33 + ], + [ + 810, + 1 + ] + ], + "doc": "~Private~" + } + }, + "810": { + "31": { + "name": "removedAllMarkerDecorations", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 810, + 31 + ], + [ + 818, + 1 + ] + ], + "doc": "~Private~" + } + }, + "818": { + "21": { + "name": "decorationUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decoration" + ], + "range": [ + [ + 818, + 21 + ], + [ + 826, + 1 + ] + ], + "doc": "~Private~" + } + }, + "826": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 826, + 13 + ], + [ + 836, + 1 + ] + ], + "doc": " Private: Retrieves a {DisplayBufferMarker} based on its id.\n\nid - A {Number} representing a marker id\n\nReturns the {DisplayBufferMarker} (if it exists). " + } + }, + "836": { + "14": { + "name": "getMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 836, + 14 + ], + [ + 839, + 1 + ] + ], + "doc": " Private: Retrieves the active markers in the buffer.\n\nReturns an {Array} of existing {DisplayBufferMarker}s. " + } + }, + "839": { + "18": { + "name": "getMarkerCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 839, + 18 + ], + [ + 848, + 1 + ] + ], + "doc": "~Private~" + } + }, + "848": { + "19": { + "name": "markScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 848, + 19 + ], + [ + 858, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given screen range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "858": { + "19": { + "name": "markBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range", + "options" + ], + "range": [ + [ + 858, + 19 + ], + [ + 867, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given buffer range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "867": { + "22": { + "name": "markScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 867, + 22 + ], + [ + 876, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given screen position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "876": { + "22": { + "name": "markBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 876, + 22 + ], + [ + 882, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given buffer position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "882": { + "17": { + "name": "destroyMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 882, + 17 + ], + [ + 891, + 1 + ] + ], + "doc": " Public: Removes the marker with the given id.\n\nid - The {Number} of the ID to remove " + } + }, + "891": { + "14": { + "name": "findMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 891, + 14 + ], + [ + 912, + 1 + ] + ], + "doc": " Private: Finds the first marker satisfying the given attributes\n\nRefer to {DisplayBuffer::findMarkers} for details.\n\nReturns a {DisplayBufferMarker} or null " + } + }, + "912": { + "15": { + "name": "findMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 912, + 15 + ], + [ + 916, + 1 + ] + ], + "doc": " Public: Find all markers satisfying a set of parameters.\n\nparams - An {Object} containing parameters that all returned markers must\n satisfy. Unreserved keys will be compared against the markers' custom\n properties. There are also the following reserved keys with special\n meaning for the query:\n :startBufferRow - A {Number}. Only returns markers starting at this row in\n buffer coordinates.\n :endBufferRow - A {Number}. Only returns markers ending at this row in\n buffer coordinates.\n :containsBufferRange - A {Range} or range-compatible {Array}. Only returns\n markers containing this range in buffer coordinates.\n :containsBufferPosition - A {Point} or point-compatible {Array}. Only\n returns markers containing this position in buffer coordinates.\n :containedInBufferRange - A {Range} or range-compatible {Array}. Only\n returns markers contained within this range.\n\nReturns an {Array} of {DisplayBufferMarker}s " + } + }, + "916": { + "33": { + "name": "translateToBufferMarkerParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 916, + 33 + ], + [ + 954, + 1 + ] + ], + "doc": "~Private~" + } + }, + "954": { + "18": { + "name": "findFoldMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 954, + 18 + ], + [ + 957, + 1 + ] + ], + "doc": "~Private~" + } + }, + "957": { + "19": { + "name": "findFoldMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 957, + 19 + ], + [ + 960, + 1 + ] + ], + "doc": "~Private~" + } + }, + "960": { + "27": { + "name": "getFoldMarkerAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 960, + 27 + ], + [ + 963, + 1 + ] + ], + "doc": "~Private~" + } + }, + "963": { + "24": { + "name": "pauseMarkerObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 963, + 24 + ], + [ + 966, + 1 + ] + ], + "doc": "~Private~" + } + }, + "966": { + "25": { + "name": "resumeMarkerObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 966, + 25 + ], + [ + 970, + 1 + ] + ], + "doc": "~Private~" + } + }, + "970": { + "32": { + "name": "refreshMarkerScreenPositions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 970, + 32 + ], + [ + 974, + 1 + ] + ], + "doc": "~Private~" + } + }, + "974": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 974, + 13 + ], + [ + 979, + 1 + ] + ], + "doc": "~Private~" + } + }, + "979": { + "12": { + "name": "logLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 979, + 12 + ], + [ + 984, + 1 + ] + ], + "doc": "~Private~" + } + }, + "984": { + "31": { + "name": "handleTokenizedBufferChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tokenizedBufferChange" + ], + "range": [ + [ + 984, + 31 + ], + [ + 989, + 1 + ] + ], + "doc": "~Private~" + } + }, + "989": { + "21": { + "name": "updateScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "endBufferRow", + "bufferDelta", + "options" + ], + "range": [ + [ + 989, + 21 + ], + [ + 1015, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1015": { + "20": { + "name": "buildScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "endBufferRow" + ], + "range": [ + [ + 1015, + 20 + ], + [ + 1061, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1061": { + "21": { + "name": "findMaxLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow", + "newScreenLines", + "screenDelta" + ], + "range": [ + [ + 1061, + 21 + ], + [ + 1083, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1083": { + "22": { + "name": "computeScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1083, + 22 + ], + [ + 1088, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1088": { + "30": { + "name": "handleBufferMarkersUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1088, + 30 + ], + [ + 1093, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1093": { + "29": { + "name": "handleBufferMarkerCreated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1093, + 29 + ], + [ + 1097, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1097": { + "23": { + "name": "createFoldForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1097, + 23 + ], + [ + 1101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1101": { + "17": { + "name": "foldForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1101, + 17 + ], + [ + 1102, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 19 + }, + "src/editor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "10": { + "type": "import", + "range": [ + [ + 0, + 10 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$$", + "exportsProperty": "$$$" + } + }, + "1": { + "13": { + "name": "GutterView", + "type": "import", + "range": [ + [ + 1, + 13 + ], + [ + 1, + 35 + ] + ], + "bindingType": "variable", + "path": "./gutter-view" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "3": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 3, + 9 + ], + [ + 3, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "4": { + "13": { + "name": "CursorView", + "type": "import", + "range": [ + [ + 4, + 13 + ], + [ + 4, + 35 + ] + ], + "bindingType": "variable", + "path": "./cursor-view" + } + }, + "5": { + "16": { + "name": "SelectionView", + "type": "import", + "range": [ + [ + 5, + 16 + ], + [ + 5, + 41 + ] + ], + "bindingType": "variable", + "path": "./selection-view" + } + }, + "6": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 6, + 5 + ], + [ + 6, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@2.x" + } + }, + "7": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "8": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 8, + 13 + ], + [ + 8, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer" + } + }, + "10": { + "15": { + "name": "MeasureRange", + "type": "function", + "range": [ + [ + 10, + 15 + ], + [ + 10, + 36 + ] + ] + } + }, + "11": { + "17": { + "type": "primitive", + "range": [ + [ + 11, + 17 + ], + [ + 11, + 59 + ] + ] + }, + "31": { + "name": "acceptNode", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 11, + 31 + ], + [ + 11, + 57 + ] + ], + "doc": null + } + }, + "12": { + "10": { + "type": "primitive", + "range": [ + [ + 12, + 10 + ], + [ + 12, + 21 + ] + ] + } + }, + "13": { + "17": { + "name": "1000", + "type": "primitive", + "range": [ + [ + 13, + 17 + ], + [ + 13, + 20 + ] + ] + } + }, + "41": { + "0": { + "type": "class", + "name": "EditorView", + "bindingType": "exports", + "classProperties": [ + [ + 42, + 24 + ], + [ + 44, + 4 + ], + [ + 61, + 17 + ], + [ + 63, + 12 + ], + [ + 76, + 12 + ], + [ + 1271, + 21 + ], + [ + 1485, + 18 + ], + [ + 1513, + 21 + ], + [ + 1529, + 14 + ], + [ + 1533, + 13 + ], + [ + 1537, + 23 + ] + ], + "prototypeProperties": [ + [ + 81, + 17 + ], + [ + 82, + 17 + ], + [ + 83, + 14 + ], + [ + 84, + 13 + ], + [ + 85, + 14 + ], + [ + 86, + 15 + ], + [ + 87, + 18 + ], + [ + 88, + 13 + ], + [ + 89, + 13 + ], + [ + 90, + 10 + ], + [ + 91, + 12 + ], + [ + 92, + 16 + ], + [ + 93, + 18 + ], + [ + 94, + 14 + ], + [ + 95, + 17 + ], + [ + 96, + 20 + ], + [ + 97, + 24 + ], + [ + 106, + 14 + ], + [ + 141, + 12 + ], + [ + 251, + 13 + ], + [ + 255, + 11 + ], + [ + 259, + 11 + ], + [ + 263, + 14 + ], + [ + 266, + 20 + ], + [ + 271, + 19 + ], + [ + 277, + 12 + ], + [ + 284, + 10 + ], + [ + 292, + 15 + ], + [ + 298, + 21 + ], + [ + 310, + 17 + ], + [ + 322, + 22 + ], + [ + 332, + 22 + ], + [ + 337, + 22 + ], + [ + 341, + 16 + ], + [ + 345, + 13 + ], + [ + 354, + 16 + ], + [ + 436, + 21 + ], + [ + 476, + 28 + ], + [ + 479, + 33 + ], + [ + 505, + 15 + ], + [ + 538, + 8 + ], + [ + 586, + 12 + ], + [ + 589, + 12 + ], + [ + 592, + 27 + ], + [ + 600, + 13 + ], + [ + 618, + 16 + ], + [ + 624, + 14 + ], + [ + 631, + 15 + ], + [ + 639, + 18 + ], + [ + 646, + 26 + ], + [ + 654, + 26 + ], + [ + 662, + 26 + ], + [ + 673, + 25 + ], + [ + 684, + 39 + ], + [ + 696, + 31 + ], + [ + 702, + 18 + ], + [ + 706, + 18 + ], + [ + 710, + 25 + ], + [ + 713, + 26 + ], + [ + 716, + 21 + ], + [ + 723, + 15 + ], + [ + 733, + 15 + ], + [ + 746, + 15 + ], + [ + 752, + 17 + ], + [ + 762, + 17 + ], + [ + 770, + 17 + ], + [ + 776, + 10 + ], + [ + 786, + 13 + ], + [ + 791, + 14 + ], + [ + 796, + 11 + ], + [ + 801, + 13 + ], + [ + 808, + 11 + ], + [ + 811, + 10 + ], + [ + 816, + 16 + ], + [ + 823, + 17 + ], + [ + 827, + 18 + ], + [ + 830, + 17 + ], + [ + 836, + 20 + ], + [ + 839, + 20 + ], + [ + 843, + 21 + ], + [ + 846, + 20 + ], + [ + 852, + 23 + ], + [ + 855, + 36 + ], + [ + 859, + 21 + ], + [ + 863, + 20 + ], + [ + 884, + 22 + ], + [ + 900, + 23 + ], + [ + 912, + 25 + ], + [ + 924, + 25 + ], + [ + 943, + 12 + ], + [ + 950, + 22 + ], + [ + 955, + 16 + ], + [ + 970, + 24 + ], + [ + 978, + 17 + ], + [ + 994, + 21 + ], + [ + 1006, + 22 + ], + [ + 1012, + 24 + ], + [ + 1023, + 25 + ], + [ + 1031, + 24 + ], + [ + 1034, + 14 + ], + [ + 1046, + 25 + ], + [ + 1057, + 23 + ], + [ + 1084, + 38 + ], + [ + 1102, + 23 + ], + [ + 1144, + 24 + ], + [ + 1158, + 20 + ], + [ + 1173, + 13 + ], + [ + 1178, + 19 + ], + [ + 1201, + 32 + ], + [ + 1214, + 28 + ], + [ + 1223, + 27 + ], + [ + 1234, + 22 + ], + [ + 1237, + 27 + ], + [ + 1241, + 32 + ], + [ + 1244, + 34 + ], + [ + 1249, + 21 + ], + [ + 1256, + 21 + ], + [ + 1298, + 32 + ], + [ + 1304, + 26 + ], + [ + 1313, + 27 + ], + [ + 1316, + 33 + ], + [ + 1325, + 34 + ], + [ + 1334, + 34 + ], + [ + 1348, + 32 + ], + [ + 1371, + 19 + ], + [ + 1416, + 26 + ], + [ + 1424, + 26 + ], + [ + 1432, + 28 + ], + [ + 1435, + 32 + ], + [ + 1440, + 32 + ], + [ + 1470, + 23 + ], + [ + 1481, + 23 + ], + [ + 1563, + 23 + ], + [ + 1573, + 25 + ], + [ + 1575, + 18 + ], + [ + 1578, + 18 + ], + [ + 1581, + 20 + ] + ], + "doc": " Public: Represents the entire visual pane in Atom.\n\nThe EditorView manages the {Editor}, which manages the file buffers.\n\n## Requiring in packages\n\n```coffee\n{EditorView} = require 'atom'\n\nminiEditorView = new EditorView(mini: true)\n```\n\n## Iterating over the open editor views\n\n```coffee\nfor editorView in atom.workspaceView.getEditorViews()\n console.log(editorView.getEditor().getPath())\n```\n\n## Subscribing to every current and future editor\n\n```coffee\natom.workspace.eachEditorView (editorView) ->\n console.log(editorView.getEditor().getPath())\n``` ", + "range": [ + [ + 41, + 0 + ], + [ + 1583, + 35 + ] + ] + } + }, + "42": { + "24": { + "name": "characterWidthCache", + "type": "primitive", + "range": [ + [ + 42, + 24 + ], + [ + 42, + 25 + ] + ], + "bindingType": "classProperty" + } + }, + "44": { + "4": { + "name": "configDefaults", + "type": "primitive", + "range": [ + [ + 44, + 4 + ], + [ + 59, + 32 + ] + ], + "bindingType": "classProperty" + } + }, + "61": { + "17": { + "name": "nextEditorId", + "type": "primitive", + "range": [ + [ + 61, + 17 + ], + [ + 61, + 17 + ] + ], + "bindingType": "classProperty" + } + }, + "63": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 63, + 12 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "12": { + "name": "classes", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 76, + 12 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "17": { + "name": "vScrollMargin", + "type": "primitive", + "range": [ + [ + 81, + 17 + ], + [ + 81, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "82": { + "17": { + "name": "hScrollMargin", + "type": "primitive", + "range": [ + [ + 82, + 17 + ], + [ + 82, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "83": { + "14": { + "name": "lineHeight", + "type": "primitive", + "range": [ + [ + 83, + 14 + ], + [ + 83, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "84": { + "13": { + "name": "charWidth", + "type": "primitive", + "range": [ + [ + 84, + 13 + ], + [ + 84, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "85": { + "14": { + "name": "charHeight", + "type": "primitive", + "range": [ + [ + 85, + 14 + ], + [ + 85, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "86": { + "15": { + "name": "cursorViews", + "type": "primitive", + "range": [ + [ + 86, + 15 + ], + [ + 86, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "87": { + "18": { + "name": "selectionViews", + "type": "primitive", + "range": [ + [ + 87, + 18 + ], + [ + 87, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "88": { + "13": { + "name": "lineCache", + "type": "primitive", + "range": [ + [ + 88, + 13 + ], + [ + 88, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "89": { + "13": { + "name": "isFocused", + "type": "primitive", + "range": [ + [ + 89, + 13 + ], + [ + 89, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "90": { + "10": { + "name": "editor", + "type": "primitive", + "range": [ + [ + 90, + 10 + ], + [ + 90, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "91": { + "12": { + "name": "attached", + "type": "primitive", + "range": [ + [ + 91, + 12 + ], + [ + 91, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "92": { + "16": { + "name": "lineOverdraw", + "type": "primitive", + "range": [ + [ + 92, + 16 + ], + [ + 92, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "93": { + "18": { + "name": "pendingChanges", + "type": "primitive", + "range": [ + [ + 93, + 18 + ], + [ + 93, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "94": { + "14": { + "name": "newCursors", + "type": "primitive", + "range": [ + [ + 94, + 14 + ], + [ + 94, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "95": { + "17": { + "name": "newSelections", + "type": "primitive", + "range": [ + [ + 95, + 17 + ], + [ + 95, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "96": { + "20": { + "name": "redrawOnReattach", + "type": "primitive", + "range": [ + [ + 96, + 20 + ], + [ + 96, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "97": { + "24": { + "name": "bottomPaddingInLines", + "type": "primitive", + "range": [ + [ + 97, + 24 + ], + [ + 97, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "106": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorOrOptions" + ], + "range": [ + [ + 106, + 14 + ], + [ + 141, + 1 + ] + ], + "doc": " Private: The constructor for setting up an `EditorView` instance.\n\neditorOrOptions - Either an {Editor}, or an object with one property, `mini`.\n If `mini` is `true`, a \"miniature\" `Editor` is constructed.\n Typically, this is ideal for scenarios where you need an Atom editor,\n but without all the chrome, like scrollbars, gutter, _e.t.c._.\n\n " + } + }, + "141": { + "12": { + "name": "bindKeys", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 12 + ], + [ + 251, + 1 + ] + ], + "doc": " Private: Sets up the core Atom commands.\n\nSome commands are excluded from mini-editors. " + } + }, + "251": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 251, + 13 + ], + [ + 255, + 1 + ] + ], + "doc": " Public: Get the underlying editor model for this view.\n\nReturns an {Editor}. " + } + }, + "255": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 255, + 11 + ], + [ + 259, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.getText} " + } + }, + "259": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 259, + 11 + ], + [ + 263, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.setText} " + } + }, + "263": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 263, + 14 + ], + [ + 266, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.insertText} " + } + }, + "266": { + "20": { + "name": "setHeightInLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "heightInLines" + ], + "range": [ + [ + 266, + 20 + ], + [ + 271, + 1 + ] + ], + "doc": "~Private~" + } + }, + "271": { + "19": { + "name": "setWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "widthInChars" + ], + "range": [ + [ + 271, + 19 + ], + [ + 277, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.setEditorWidthInChars} " + } + }, + "277": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 277, + 12 + ], + [ + 284, + 1 + ] + ], + "doc": " Public: Emulates the \"page down\" key, where the last row of a buffer scrolls\nto become the first. " + } + }, + "284": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 10 + ], + [ + 292, + 1 + ] + ], + "doc": " Public: Emulates the \"page up\" key, where the frst row of a buffer scrolls\nto become the last. " + } + }, + "292": { + "15": { + "name": "getPageRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 15 + ], + [ + 298, + 1 + ] + ], + "doc": " Private: Gets the number of actual page rows existing in an editor.\n\nReturns a {Number}. " + } + }, + "298": { + "21": { + "name": "setShowInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showInvisibles" + ], + "range": [ + [ + 298, + 21 + ], + [ + 310, + 1 + ] + ], + "doc": " Public: Set whether invisible characters are shown.\n\nshowInvisibles - A {Boolean} which, if `true`, show invisible characters. " + } + }, + "310": { + "17": { + "name": "setInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 310, + 17 + ], + [ + 322, + 1 + ] + ], + "doc": " Public: Defines which characters are invisible.\n\ninvisibles - An {Object} defining the invisible characters:\n :eol - The end of line invisible {String} (default: `\\u00ac`).\n :space - The space invisible {String} (default: `\\u00b7`).\n :tab - The tab invisible {String} (default: `\\u00bb`).\n :cr - The carriage return invisible {String} (default: `\\u00a4`). " + } + }, + "322": { + "22": { + "name": "setShowIndentGuide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showIndentGuide" + ], + "range": [ + [ + 322, + 22 + ], + [ + 332, + 1 + ] + ], + "doc": " Public: Sets whether you want to show the indentation guides.\n\nshowIndentGuide - A {Boolean} you can set to `true` if you want to see the\n indentation guides. " + } + }, + "332": { + "22": { + "name": "setPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "placeholderText" + ], + "range": [ + [ + 332, + 22 + ], + [ + 337, + 1 + ] + ], + "doc": " Public: Set the text to appear in the editor when it is empty.\n\nThis only affects mini editors.\n\nplaceholderText - A {String} of text to display when empty. " + } + }, + "337": { + "22": { + "name": "getPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 337, + 22 + ], + [ + 341, + 1 + ] + ], + "doc": "~Private~" + } + }, + "341": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 341, + 16 + ], + [ + 345, + 1 + ] + ], + "doc": "Private: Checkout the HEAD revision of this editor's file. " + } + }, + "345": { + "13": { + "name": "configure", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 345, + 13 + ], + [ + 354, + 1 + ] + ], + "doc": "~Private~" + } + }, + "354": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 354, + 16 + ], + [ + 436, + 1 + ] + ], + "doc": "~Private~" + } + }, + "436": { + "21": { + "name": "handleInputEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 436, + 21 + ], + [ + 476, + 1 + ] + ], + "doc": "~Private~" + } + }, + "476": { + "28": { + "name": "bringHiddenInputIntoView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 476, + 28 + ], + [ + 479, + 1 + ] + ], + "doc": "~Private~" + } + }, + "479": { + "33": { + "name": "selectOnMousemoveUntilMouseup", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 479, + 33 + ], + [ + 505, + 1 + ] + ], + "doc": "~Private~" + } + }, + "505": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 505, + 15 + ], + [ + 538, + 1 + ] + ], + "doc": "~Private~" + } + }, + "538": { + "8": { + "name": "edit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 538, + 8 + ], + [ + 586, + 1 + ] + ], + "doc": "~Private~" + } + }, + "586": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 586, + 12 + ], + [ + 589, + 1 + ] + ], + "doc": "~Private~" + } + }, + "589": { + "12": { + "name": "setModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 589, + 12 + ], + [ + 592, + 1 + ] + ], + "doc": "~Private~" + } + }, + "592": { + "27": { + "name": "showBufferConflictAlert", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 592, + 27 + ], + [ + 600, + 1 + ] + ], + "doc": "~Private~" + } + }, + "600": { + "13": { + "name": "scrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop", + "options" + ], + "range": [ + [ + 600, + 13 + ], + [ + 618, + 1 + ] + ], + "doc": "~Private~" + } + }, + "618": { + "16": { + "name": "scrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 618, + 16 + ], + [ + 624, + 1 + ] + ], + "doc": "~Private~" + } + }, + "624": { + "14": { + "name": "scrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 624, + 14 + ], + [ + 631, + 1 + ] + ], + "doc": "~Private~" + } + }, + "631": { + "15": { + "name": "scrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 631, + 15 + ], + [ + 639, + 1 + ] + ], + "doc": "~Private~" + } + }, + "639": { + "18": { + "name": "scrollToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 639, + 18 + ], + [ + 646, + 1 + ] + ], + "doc": "Public: Scrolls the editor to the bottom. " + } + }, + "646": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 646, + 26 + ], + [ + 654, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the position of the most recently added\ncursor if it isn't current on screen.\n\nThe editor is centered around the cursor's position if possible. " + } + }, + "654": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 654, + 26 + ], + [ + 662, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given buffer position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " + } + }, + "662": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 662, + 26 + ], + [ + 673, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " + } + }, + "673": { + "25": { + "name": "scrollToPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition", + "options" + ], + "range": [ + [ + 673, + 25 + ], + [ + 684, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given pixel position.\n\npixelPosition - An object that represents a pixel position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or\n {Point}.\noptions - A hash with the following keys:\n :center - if `true`, the position is scrolled such that it's in\n the center of the editor " + } + }, + "684": { + "39": { + "name": "highlightFoldsContainingBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 684, + 39 + ], + [ + 696, + 1 + ] + ], + "doc": " Public: Highlight all the folds within the given buffer range.\n\n\"Highlighting\" essentially just adds the `fold-selected` class to the line's\nDOM element.\n\nbufferRange - The {Range} to check. " + } + }, + "696": { + "31": { + "name": "saveScrollPositionForEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 696, + 31 + ], + [ + 702, + 1 + ] + ], + "doc": "~Private~" + } + }, + "702": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 702, + 18 + ], + [ + 706, + 1 + ] + ], + "doc": "Public: Toggle soft tabs on the edit session. " + } + }, + "706": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 706, + 18 + ], + [ + 710, + 1 + ] + ], + "doc": "Public: Toggle soft wrap on the edit session. " + } + }, + "710": { + "25": { + "name": "calculateWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 710, + 25 + ], + [ + 713, + 1 + ] + ], + "doc": "~Private~" + } + }, + "713": { + "26": { + "name": "calculateHeightInLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 713, + 26 + ], + [ + 716, + 1 + ] + ], + "doc": "~Private~" + } + }, + "716": { + "21": { + "name": "getScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 716, + 21 + ], + [ + 723, + 1 + ] + ], + "doc": "~Private~" + } + }, + "723": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 723, + 15 + ], + [ + 733, + 1 + ] + ], + "doc": " Public: Enables/disables soft wrap on the editor.\n\nsoftWrap - A {Boolean} which, if `true`, enables soft wrap " + } + }, + "733": { + "15": { + "name": "setFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 733, + 15 + ], + [ + 746, + 1 + ] + ], + "doc": " Public: Sets the font size for the editor.\n\nfontSize - A {Number} indicating the font size in pixels. " + } + }, + "746": { + "15": { + "name": "getFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 746, + 15 + ], + [ + 752, + 1 + ] + ], + "doc": " Public: Retrieves the font size for the editor.\n\nReturns a {Number} indicating the font size in pixels. " + } + }, + "752": { + "17": { + "name": "setFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 752, + 17 + ], + [ + 762, + 1 + ] + ], + "doc": " Public: Sets the font family for the editor.\n\nfontFamily - A {String} identifying the CSS `font-family`. " + } + }, + "762": { + "17": { + "name": "getFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 762, + 17 + ], + [ + 762, + 38 + ] + ], + "doc": " Public: Gets the font family for the editor.\n\nReturns a {String} identifying the CSS `font-family`. " + } + }, + "770": { + "17": { + "name": "setLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 770, + 17 + ], + [ + 776, + 1 + ] + ], + "doc": " Public: Sets the line height of the editor.\n\nCalling this method has no effect when called on a mini editor.\n\nlineHeight - A {Number} without a unit suffix identifying the CSS\n`line-height`. " + } + }, + "776": { + "10": { + "name": "redraw", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 776, + 10 + ], + [ + 786, + 1 + ] + ], + "doc": "Public: Redraw the editor " + } + }, + "786": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 786, + 13 + ], + [ + 791, + 1 + ] + ], + "doc": "Public: Split the editor view left. " + } + }, + "791": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 791, + 14 + ], + [ + 796, + 1 + ] + ], + "doc": "Public: Split the editor view right. " + } + }, + "796": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 796, + 11 + ], + [ + 801, + 1 + ] + ], + "doc": "Public: Split the editor view up. " + } + }, + "801": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 801, + 13 + ], + [ + 808, + 1 + ] + ], + "doc": "Public: Split the editor view down. " + } + }, + "808": { + "11": { + "name": "getPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 808, + 11 + ], + [ + 811, + 1 + ] + ], + "doc": " Public: Get this view's pane.\n\nReturns a {Pane}. " + } + }, + "811": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "keepData" + ], + "range": [ + [ + 811, + 10 + ], + [ + 816, + 1 + ] + ], + "doc": "~Private~" + } + }, + "816": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 816, + 16 + ], + [ + 823, + 1 + ] + ], + "doc": "~Private~" + } + }, + "823": { + "17": { + "name": "getCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 823, + 17 + ], + [ + 827, + 1 + ] + ], + "doc": "~Private~" + } + }, + "827": { + "18": { + "name": "getCursorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 827, + 18 + ], + [ + 830, + 1 + ] + ], + "doc": "~Private~" + } + }, + "830": { + "17": { + "name": "addCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursor", + "options" + ], + "range": [ + [ + 830, + 17 + ], + [ + 836, + 1 + ] + ], + "doc": "~Private~" + } + }, + "836": { + "20": { + "name": "removeCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 836, + 20 + ], + [ + 839, + 1 + ] + ], + "doc": "~Private~" + } + }, + "839": { + "20": { + "name": "getSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 839, + 20 + ], + [ + 843, + 1 + ] + ], + "doc": "~Private~" + } + }, + "843": { + "21": { + "name": "getSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 843, + 21 + ], + [ + 846, + 1 + ] + ], + "doc": "~Private~" + } + }, + "846": { + "20": { + "name": "addSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 846, + 20 + ], + [ + 852, + 1 + ] + ], + "doc": "~Private~" + } + }, + "852": { + "23": { + "name": "removeSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selectionView" + ], + "range": [ + [ + 852, + 23 + ], + [ + 855, + 1 + ] + ], + "doc": "~Private~" + } + }, + "855": { + "36": { + "name": "removeAllCursorAndSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 855, + 36 + ], + [ + 859, + 1 + ] + ], + "doc": "~Private~" + } + }, + "859": { + "21": { + "name": "appendToLinesView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 859, + 21 + ], + [ + 863, + 1 + ] + ], + "doc": "~Private~" + } + }, + "863": { + "20": { + "name": "scrollVertically", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition", + null + ], + "range": [ + [ + 863, + 20 + ], + [ + 884, + 1 + ] + ], + "doc": "Private: Scrolls the editor vertically to a given position. " + } + }, + "884": { + "22": { + "name": "scrollHorizontally", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 884, + 22 + ], + [ + 900, + 1 + ] + ], + "doc": "Private: Scrolls the editor horizontally to a given position. " + } + }, + "900": { + "23": { + "name": "calculateDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 900, + 23 + ], + [ + 912, + 1 + ] + ], + "doc": "~Private~" + } + }, + "912": { + "25": { + "name": "recalculateDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 912, + 25 + ], + [ + 924, + 1 + ] + ], + "doc": "~Private~" + } + }, + "924": { + "25": { + "name": "updateLayerDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollViewWidth" + ], + "range": [ + [ + 924, + 25 + ], + [ + 943, + 1 + ] + ], + "doc": "~Private~" + } + }, + "943": { + "12": { + "name": "isHidden", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 943, + 12 + ], + [ + 950, + 1 + ] + ], + "doc": "Private: Override for speed. The base function checks computedStyle, unnecessary here. " + } + }, + "950": { + "22": { + "name": "clearRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 950, + 22 + ], + [ + 955, + 1 + ] + ], + "doc": "~Private~" + } + }, + "955": { + "16": { + "name": "resetDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 955, + 16 + ], + [ + 970, + 1 + ] + ], + "doc": "~Private~" + } + }, + "970": { + "24": { + "name": "requestDisplayUpdate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 970, + 24 + ], + [ + 978, + 1 + ] + ], + "doc": "~Private~" + } + }, + "978": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 978, + 17 + ], + [ + 994, + 1 + ] + ], + "doc": "~Private~" + } + }, + "994": { + "21": { + "name": "updateCursorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 994, + 21 + ], + [ + 1006, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1006": { + "22": { + "name": "shouldUpdateCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 1006, + 22 + ], + [ + 1012, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1012": { + "24": { + "name": "updateSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1012, + 24 + ], + [ + 1023, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1023": { + "25": { + "name": "shouldUpdateSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selectionView" + ], + "range": [ + [ + 1023, + 25 + ], + [ + 1031, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1031": { + "24": { + "name": "syncCursorAnimations", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1031, + 24 + ], + [ + 1034, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1034": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "suppressAutoscroll" + ], + "range": [ + [ + 1034, + 14 + ], + [ + 1046, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1046": { + "25": { + "name": "updatePlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1046, + 25 + ], + [ + 1057, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1057": { + "23": { + "name": "updateRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollViewWidth" + ], + "range": [ + [ + 1057, + 23 + ], + [ + 1084, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1084": { + "38": { + "name": "computeSurroundingEmptyLineChanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "change" + ], + "range": [ + [ + 1084, + 38 + ], + [ + 1102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1102": { + "23": { + "name": "computeIntactRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1102, + 23 + ], + [ + 1144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1144": { + "24": { + "name": "truncateIntactRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges", + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1144, + 24 + ], + [ + 1158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1158": { + "20": { + "name": "clearDirtyRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges" + ], + "range": [ + [ + 1158, + 20 + ], + [ + 1173, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1173": { + "13": { + "name": "clearLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement" + ], + "range": [ + [ + 1173, + 13 + ], + [ + 1178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1178": { + "19": { + "name": "fillDirtyRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges", + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1178, + 19 + ], + [ + 1201, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1201": { + "32": { + "name": "updatePaddingOfRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1201, + 32 + ], + [ + 1214, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1214": { + "28": { + "name": "getFirstVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1214, + 28 + ], + [ + 1223, + 1 + ] + ], + "doc": " Public: Retrieves the number of the row that is visible and currently at the\ntop of the editor.\n\nReturns a {Number}. " + } + }, + "1223": { + "27": { + "name": "getLastVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1223, + 27 + ], + [ + 1234, + 1 + ] + ], + "doc": " Public: Retrieves the number of the row that is visible and currently at the\nbottom of the editor.\n\nReturns a {Number}. " + } + }, + "1234": { + "22": { + "name": "isScreenRowVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 1234, + 22 + ], + [ + 1237, + 1 + ] + ], + "doc": " Public: Given a row number, identifies if it is currently visible.\n\nrow - A row {Number} to check\n\nReturns a {Boolean}. " + } + }, + "1237": { + "27": { + "name": "handleScreenLinesChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "change" + ], + "range": [ + [ + 1237, + 27 + ], + [ + 1241, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1241": { + "32": { + "name": "buildLineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 1241, + 32 + ], + [ + 1244, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1244": { + "34": { + "name": "buildLineElementsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1244, + 34 + ], + [ + 1249, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1249": { + "21": { + "name": "htmlForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1249, + 21 + ], + [ + 1256, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1256": { + "21": { + "name": "htmlForScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine", + "screenRow" + ], + "range": [ + [ + 1256, + 21 + ], + [ + 1271, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1271": { + "21": { + "name": "buildIndentation", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "screenRow", + "editor" + ], + "range": [ + [ + 1271, + 21 + ], + [ + 1298, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1298": { + "32": { + "name": "buildHtmlEndOfLineInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine" + ], + "range": [ + [ + 1298, + 32 + ], + [ + 1304, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1304": { + "26": { + "name": "getEndOfLineInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine" + ], + "range": [ + [ + 1304, + 26 + ], + [ + 1313, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1313": { + "27": { + "name": "lineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 1313, + 27 + ], + [ + 1316, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1316": { + "33": { + "name": "toggleLineCommentsInSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1316, + 33 + ], + [ + 1325, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1325": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1325, + 34 + ], + [ + 1334, + 1 + ] + ], + "doc": " Public: Converts a buffer position to a pixel position.\n\nposition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " + } + }, + "1334": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1334, + 34 + ], + [ + 1348, + 1 + ] + ], + "doc": " Public: Converts a screen position to a pixel position.\n\nposition - An object that represents a screen position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " + } + }, + "1348": { + "32": { + "name": "positionLeftForLineAndColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement", + "screenRow", + "screenColumn" + ], + "range": [ + [ + 1348, + 32 + ], + [ + 1371, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1371": { + "19": { + "name": "measureToColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement", + "tokenizedLine", + "screenColumn" + ], + "range": [ + [ + 1371, + 19 + ], + [ + 1416, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1416": { + "26": { + "name": "getCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "char" + ], + "range": [ + [ + 1416, + 26 + ], + [ + 1424, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1424": { + "26": { + "name": "setCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "char", + "val" + ], + "range": [ + [ + 1424, + 26 + ], + [ + 1432, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1432": { + "28": { + "name": "clearCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1432, + 28 + ], + [ + 1435, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1435": { + "32": { + "name": "pixelOffsetForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1435, + 32 + ], + [ + 1440, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1440": { + "32": { + "name": "screenPositionFromMouseEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 1440, + 32 + ], + [ + 1470, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1470": { + "23": { + "name": "highlightCursorLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1470, + 23 + ], + [ + 1481, + 1 + ] + ], + "doc": "Private: Highlights the current line the cursor is on. " + } + }, + "1481": { + "23": { + "name": "copyPathToClipboard", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1481, + 23 + ], + [ + 1485, + 1 + ] + ], + "doc": "Private: Copies the current file path to the native clipboard. " + } + }, + "1485": { + "18": { + "name": "buildLineHtml", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 1485, + 18 + ], + [ + 1513, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1513": { + "21": { + "name": "updateScopeStack", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 1513, + 21 + ], + [ + 1529, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1529": { + "14": { + "name": "pushScope", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack", + "scope" + ], + "range": [ + [ + 1529, + 14 + ], + [ + 1533, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1533": { + "13": { + "name": "popScope", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack" + ], + "range": [ + [ + 1533, + 13 + ], + [ + 1537, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1537": { + "23": { + "name": "buildEmptyLineHtml", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "showIndentGuide", + "eolInvisibles", + "htmlEolInvisibles", + "indentation", + "editor", + "mini" + ], + "range": [ + [ + 1537, + 23 + ], + [ + 1563, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1563": { + "23": { + "name": "replaceSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "replaceFn" + ], + "range": [ + [ + 1563, + 23 + ], + [ + 1573, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1573": { + "25": { + "name": "consolidateSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 1573, + 25 + ], + [ + 1573, + 89 + ] + ], + "doc": "~Private~" + } + }, + "1575": { + "18": { + "name": "logCursorScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1575, + 18 + ], + [ + 1578, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1578": { + "18": { + "name": "logScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 1578, + 18 + ], + [ + 1581, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1581": { + "20": { + "name": "logRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1581, + 20 + ], + [ + 1583, + 35 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 41 + }, + "src/editor.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@1.x" + } + }, + "3": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 3, + 12 + ], + [ + 3, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@1.x" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 6, + 8 + ], + [ + 6, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "7": { + "15": { + "name": "LanguageMode", + "type": "import", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 39 + ] + ], + "bindingType": "variable", + "path": "./language-mode" + } + }, + "8": { + "16": { + "name": "DisplayBuffer", + "type": "import", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 41 + ] + ], + "bindingType": "variable", + "path": "./display-buffer" + } + }, + "9": { + "9": { + "name": "Cursor", + "type": "import", + "range": [ + [ + 9, + 9 + ], + [ + 9, + 26 + ] + ], + "bindingType": "variable", + "path": "./cursor" + } + }, + "10": { + "12": { + "name": "Selection", + "type": "import", + "range": [ + [ + 10, + 12 + ], + [ + 10, + 32 + ] + ], + "bindingType": "variable", + "path": "./selection" + } + }, + "11": { + "24": { + "type": "primitive", + "range": [ + [ + 11, + 24 + ], + [ + 11, + 58 + ] + ] + } + }, + "138": { + "0": { + "type": "class", + "name": "Editor", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 143, + 17 + ], + [ + 144, + 32 + ], + [ + 145, + 18 + ], + [ + 146, + 10 + ], + [ + 147, + 16 + ], + [ + 148, + 11 + ], + [ + 149, + 14 + ], + [ + 150, + 28 + ], + [ + 151, + 20 + ], + [ + 152, + 26 + ], + [ + 161, + 15 + ], + [ + 190, + 19 + ], + [ + 197, + 21 + ], + [ + 202, + 21 + ], + [ + 215, + 28 + ], + [ + 228, + 16 + ], + [ + 234, + 13 + ], + [ + 242, + 8 + ], + [ + 258, + 12 + ], + [ + 271, + 16 + ], + [ + 281, + 14 + ], + [ + 288, + 25 + ], + [ + 292, + 21 + ], + [ + 296, + 15 + ], + [ + 301, + 15 + ], + [ + 304, + 18 + ], + [ + 307, + 15 + ], + [ + 312, + 15 + ], + [ + 315, + 18 + ], + [ + 323, + 14 + ], + [ + 328, + 16 + ], + [ + 331, + 16 + ], + [ + 339, + 16 + ], + [ + 361, + 22 + ], + [ + 369, + 19 + ], + [ + 381, + 27 + ], + [ + 396, + 30 + ], + [ + 414, + 22 + ], + [ + 418, + 21 + ], + [ + 428, + 8 + ], + [ + 435, + 10 + ], + [ + 437, + 16 + ], + [ + 442, + 23 + ], + [ + 447, + 11 + ], + [ + 450, + 11 + ], + [ + 453, + 11 + ], + [ + 458, + 18 + ], + [ + 461, + 16 + ], + [ + 464, + 13 + ], + [ + 467, + 10 + ], + [ + 470, + 20 + ], + [ + 473, + 24 + ], + [ + 479, + 25 + ], + [ + 482, + 24 + ], + [ + 486, + 20 + ], + [ + 494, + 27 + ], + [ + 500, + 20 + ], + [ + 506, + 26 + ], + [ + 509, + 8 + ], + [ + 512, + 21 + ], + [ + 515, + 30 + ], + [ + 518, + 14 + ], + [ + 520, + 11 + ], + [ + 524, + 22 + ], + [ + 536, + 35 + ], + [ + 546, + 35 + ], + [ + 551, + 29 + ], + [ + 556, + 29 + ], + [ + 573, + 22 + ], + [ + 576, + 20 + ], + [ + 579, + 22 + ], + [ + 582, + 22 + ], + [ + 585, + 26 + ], + [ + 588, + 20 + ], + [ + 591, + 27 + ], + [ + 593, + 25 + ], + [ + 605, + 27 + ], + [ + 614, + 31 + ], + [ + 618, + 26 + ], + [ + 624, + 19 + ], + [ + 626, + 18 + ], + [ + 633, + 14 + ], + [ + 639, + 17 + ], + [ + 643, + 22 + ], + [ + 649, + 22 + ], + [ + 668, + 10 + ], + [ + 674, + 13 + ], + [ + 678, + 30 + ], + [ + 683, + 30 + ], + [ + 690, + 27 + ], + [ + 696, + 27 + ], + [ + 701, + 10 + ], + [ + 708, + 21 + ], + [ + 714, + 21 + ], + [ + 718, + 14 + ], + [ + 722, + 22 + ], + [ + 726, + 23 + ], + [ + 734, + 33 + ], + [ + 739, + 26 + ], + [ + 744, + 30 + ], + [ + 751, + 18 + ], + [ + 758, + 19 + ], + [ + 765, + 20 + ], + [ + 779, + 13 + ], + [ + 798, + 8 + ], + [ + 803, + 8 + ], + [ + 812, + 18 + ], + [ + 817, + 20 + ], + [ + 822, + 21 + ], + [ + 826, + 11 + ], + [ + 830, + 13 + ], + [ + 836, + 24 + ], + [ + 846, + 17 + ], + [ + 852, + 19 + ], + [ + 862, + 25 + ], + [ + 865, + 25 + ], + [ + 870, + 14 + ], + [ + 874, + 21 + ], + [ + 878, + 39 + ], + [ + 884, + 25 + ], + [ + 893, + 23 + ], + [ + 901, + 23 + ], + [ + 909, + 23 + ], + [ + 913, + 34 + ], + [ + 917, + 34 + ], + [ + 921, + 34 + ], + [ + 926, + 14 + ], + [ + 979, + 16 + ], + [ + 1034, + 18 + ], + [ + 1060, + 17 + ], + [ + 1072, + 22 + ], + [ + 1075, + 23 + ], + [ + 1096, + 32 + ], + [ + 1137, + 18 + ], + [ + 1140, + 19 + ], + [ + 1144, + 13 + ], + [ + 1148, + 14 + ], + [ + 1170, + 15 + ], + [ + 1179, + 19 + ], + [ + 1188, + 19 + ], + [ + 1197, + 22 + ], + [ + 1206, + 22 + ], + [ + 1210, + 17 + ], + [ + 1216, + 18 + ], + [ + 1220, + 22 + ], + [ + 1224, + 14 + ], + [ + 1227, + 13 + ], + [ + 1233, + 29 + ], + [ + 1240, + 29 + ], + [ + 1245, + 13 + ], + [ + 1255, + 16 + ], + [ + 1264, + 16 + ], + [ + 1288, + 30 + ], + [ + 1301, + 26 + ], + [ + 1311, + 26 + ], + [ + 1321, + 27 + ], + [ + 1336, + 19 + ], + [ + 1342, + 19 + ], + [ + 1347, + 25 + ], + [ + 1355, + 31 + ], + [ + 1361, + 17 + ], + [ + 1363, + 27 + ], + [ + 1374, + 16 + ], + [ + 1381, + 20 + ], + [ + 1388, + 40 + ], + [ + 1394, + 28 + ], + [ + 1403, + 34 + ], + [ + 1415, + 27 + ], + [ + 1422, + 27 + ], + [ + 1428, + 22 + ], + [ + 1439, + 27 + ], + [ + 1446, + 27 + ], + [ + 1453, + 26 + ], + [ + 1460, + 26 + ], + [ + 1468, + 27 + ], + [ + 1476, + 27 + ], + [ + 1482, + 19 + ], + [ + 1490, + 24 + ], + [ + 1499, + 24 + ], + [ + 1505, + 34 + ], + [ + 1511, + 22 + ], + [ + 1515, + 16 + ], + [ + 1519, + 18 + ], + [ + 1523, + 18 + ], + [ + 1527, + 19 + ], + [ + 1533, + 19 + ], + [ + 1539, + 22 + ], + [ + 1543, + 37 + ], + [ + 1547, + 31 + ], + [ + 1551, + 36 + ], + [ + 1555, + 31 + ], + [ + 1559, + 25 + ], + [ + 1563, + 31 + ], + [ + 1567, + 25 + ], + [ + 1571, + 35 + ], + [ + 1575, + 36 + ], + [ + 1579, + 32 + ], + [ + 1583, + 40 + ], + [ + 1587, + 44 + ], + [ + 1596, + 26 + ], + [ + 1599, + 10 + ], + [ + 1604, + 12 + ], + [ + 1609, + 16 + ], + [ + 1612, + 18 + ], + [ + 1616, + 18 + ], + [ + 1619, + 15 + ], + [ + 1626, + 15 + ], + [ + 1636, + 26 + ], + [ + 1645, + 15 + ], + [ + 1652, + 14 + ], + [ + 1659, + 12 + ], + [ + 1666, + 14 + ], + [ + 1673, + 15 + ], + [ + 1679, + 13 + ], + [ + 1686, + 18 + ], + [ + 1693, + 27 + ], + [ + 1702, + 32 + ], + [ + 1709, + 21 + ], + [ + 1716, + 32 + ], + [ + 1723, + 28 + ], + [ + 1729, + 14 + ], + [ + 1740, + 21 + ], + [ + 1751, + 21 + ], + [ + 1759, + 28 + ], + [ + 1776, + 13 + ], + [ + 1791, + 13 + ], + [ + 1798, + 13 + ], + [ + 1809, + 13 + ], + [ + 1816, + 27 + ], + [ + 1823, + 21 + ], + [ + 1830, + 31 + ], + [ + 1834, + 14 + ], + [ + 1841, + 36 + ], + [ + 1848, + 40 + ], + [ + 1856, + 16 + ], + [ + 1863, + 16 + ], + [ + 1873, + 27 + ], + [ + 1879, + 28 + ], + [ + 1883, + 22 + ], + [ + 1889, + 31 + ], + [ + 1910, + 40 + ], + [ + 1919, + 14 + ], + [ + 1926, + 14 + ], + [ + 1930, + 17 + ], + [ + 1933, + 20 + ], + [ + 1944, + 12 + ], + [ + 1952, + 20 + ], + [ + 1958, + 21 + ], + [ + 1962, + 20 + ], + [ + 1964, + 11 + ], + [ + 1967, + 18 + ], + [ + 1969, + 22 + ], + [ + 1972, + 23 + ], + [ + 1976, + 23 + ], + [ + 1980, + 32 + ], + [ + 1983, + 27 + ], + [ + 1984, + 27 + ], + [ + 1986, + 29 + ], + [ + 1987, + 29 + ], + [ + 1989, + 25 + ], + [ + 1990, + 25 + ], + [ + 1992, + 29 + ], + [ + 1994, + 22 + ], + [ + 1995, + 22 + ], + [ + 1997, + 23 + ], + [ + 1999, + 25 + ], + [ + 2001, + 23 + ], + [ + 2002, + 23 + ], + [ + 2004, + 13 + ], + [ + 2005, + 13 + ], + [ + 2007, + 19 + ], + [ + 2009, + 12 + ], + [ + 2010, + 12 + ], + [ + 2012, + 16 + ], + [ + 2013, + 16 + ], + [ + 2015, + 19 + ], + [ + 2016, + 19 + ], + [ + 2018, + 17 + ], + [ + 2019, + 17 + ], + [ + 2021, + 18 + ], + [ + 2022, + 18 + ], + [ + 2024, + 19 + ], + [ + 2025, + 18 + ], + [ + 2027, + 22 + ], + [ + 2029, + 29 + ], + [ + 2031, + 38 + ], + [ + 2033, + 34 + ], + [ + 2035, + 34 + ], + [ + 2037, + 34 + ], + [ + 2039, + 27 + ], + [ + 2041, + 23 + ], + [ + 2043, + 26 + ], + [ + 2045, + 26 + ], + [ + 2047, + 26 + ], + [ + 2049, + 24 + ], + [ + 2051, + 32 + ], + [ + 2052, + 32 + ], + [ + 2054, + 29 + ], + [ + 2055, + 29 + ], + [ + 2058, + 12 + ] + ], + "doc": " Public: This class represents all essential editing state for a single\n{TextBuffer}, including cursor and selection positions, folds, and soft wraps.\nIf you're manipulating the state of an editor, use this class. If you're\ninterested in the visual appearance of editors, use {EditorView} instead.\n\nA single {TextBuffer} can belong to multiple editors. For example, if the\nsame file is open in two different panes, Atom creates a separate editor for\neach pane. If the buffer is manipulated the changes are reflected in both\neditors, but each maintains its own cursor position, folded lines, etc.\n\n## Accessing Editor Instances\n\nThe easiest way to get hold of `Editor` objects is by registering a callback\nwith `::eachEditor` on the `atom.workspace` global. Your callback will then\nbe called with all current editor instances and also when any editor is\ncreated in the future.\n\n```coffeescript\n atom.workspace.eachEditor (editor) ->\n editor.insertText('Hello World')\n```\n\n## Buffer vs. Screen Coordinates\n\nBecause editors support folds and soft-wrapping, the lines on screen don't\nalways match the lines in the buffer. For example, a long line that soft wraps\ntwice renders as three lines on screen, but only represents one line in the\nbuffer. Similarly, if rows 5-10 are folded, then row 6 on screen corresponds\nto row 11 in the buffer.\n\nYour choice of coordinates systems will depend on what you're trying to\nachieve. For example, if you're writing a command that jumps the cursor up or\ndown by 10 lines, you'll want to use screen coordinates because the user\nprobably wants to skip lines *on screen*. However, if you're writing a package\nthat jumps between method definitions, you'll want to work in buffer\ncoordinates.\n\n**When in doubt, just default to buffer coordinates**, then experiment with\nsoft wraps and folds to ensure your code interacts with them correctly.\n\n## Common Tasks\n\nThis is a subset of methods on this class. Refer to the complete summary for\nits full capabilities.\n\n### Cursors\n- {::setCursorBufferPosition}\n- {::setCursorScreenPosition}\n- {::moveCursorUp}\n- {::moveCursorDown}\n- {::moveCursorLeft}\n- {::moveCursorRight}\n- {::moveCursorToBeginningOfWord}\n- {::moveCursorToEndOfWord}\n- {::moveCursorToPreviousWordBoundary}\n- {::moveCursorToNextWordBoundary}\n- {::moveCursorToBeginningOfNextWord}\n- {::moveCursorToBeginningOfLine}\n- {::moveCursorToEndOfLine}\n- {::moveCursorToFirstCharacterOfLine}\n- {::moveCursorToTop}\n- {::moveCursorToBottom}\n\n### Selections\n- {::getSelectedBufferRange}\n- {::getSelectedBufferRanges}\n- {::setSelectedBufferRange}\n- {::setSelectedBufferRanges}\n- {::selectUp}\n- {::selectDown}\n- {::selectLeft}\n- {::selectRight}\n- {::selectToBeginningOfWord}\n- {::selectToEndOfWord}\n- {::selectToPreviousWordBoundary}\n- {::selectToNextWordBoundary}\n- {::selectWord}\n- {::selectToBeginningOfLine}\n- {::selectToEndOfLine}\n- {::selectToFirstCharacterOfLine}\n- {::selectToTop}\n- {::selectToBottom}\n- {::selectAll}\n- {::addSelectionForBufferRange}\n- {::addSelectionAbove}\n- {::addSelectionBelow}\n- {::splitSelectionsIntoLines}\n\n### Manipulating Text\n- {::getText}\n- {::getSelectedText}\n- {::setText}\n- {::setTextInBufferRange}\n- {::insertText}\n- {::insertNewline}\n- {::insertNewlineAbove}\n- {::insertNewlineBelow}\n- {::backspace}\n- {::deleteToBeginningOfWord}\n- {::deleteToBeginningOfLine}\n- {::delete}\n- {::deleteToEndOfLine}\n- {::deleteToEndOfWord}\n- {::deleteLine}\n- {::cutSelectedText}\n- {::cutToEndOfLine}\n- {::copySelectedText}\n- {::pasteText}\n\n### Undo, Redo, and Transactions\n- {::undo}\n- {::redo}\n- {::transact}\n- {::abortTransaction}\n\n### Markers\n- {::markBufferRange}\n- {::markScreenRange}\n- {::getMarker}\n- {::findMarkers}\n\n### Decorations\n- {::decorateMarker}\n- {::decorationsForScreenRowRange} ", + "range": [ + [ + 138, + 0 + ], + [ + 2060, + 16 + ] + ] + } + }, + "143": { + "17": { + "name": "deserializing", + "type": "primitive", + "range": [ + [ + 143, + 17 + ], + [ + 143, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "144": { + "32": { + "name": "callDisplayBufferCreatedHook", + "type": "primitive", + "range": [ + [ + 144, + 32 + ], + [ + 144, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "145": { + "18": { + "name": "registerEditor", + "type": "primitive", + "range": [ + [ + 145, + 18 + ], + [ + 145, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "146": { + "10": { + "name": "buffer", + "type": "primitive", + "range": [ + [ + 146, + 10 + ], + [ + 146, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "147": { + "16": { + "name": "languageMode", + "type": "primitive", + "range": [ + [ + 147, + 16 + ], + [ + 147, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "148": { + "11": { + "name": "cursors", + "type": "primitive", + "range": [ + [ + 148, + 11 + ], + [ + 148, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "149": { + "14": { + "name": "selections", + "type": "primitive", + "range": [ + [ + 149, + 14 + ], + [ + 149, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "150": { + "28": { + "name": "suppressSelectionMerging", + "type": "primitive", + "range": [ + [ + 150, + 28 + ], + [ + 150, + 32 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "151": { + "20": { + "name": "updateBatchDepth", + "type": "primitive", + "range": [ + [ + 151, + 20 + ], + [ + 151, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "152": { + "26": { + "name": "selectionFlashDuration", + "type": "primitive", + "range": [ + [ + 152, + 26 + ], + [ + 152, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "161": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 161, + 15 + ], + [ + 190, + 1 + ] + ], + "doc": "~Private~" + } + }, + "190": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 19 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 197, + 21 + ], + [ + 202, + 1 + ] + ], + "doc": "~Private~" + } + }, + "202": { + "21": { + "name": "subscribeToBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 202, + 21 + ], + [ + 215, + 1 + ] + ], + "doc": "~Private~" + } + }, + "215": { + "28": { + "name": "subscribeToDisplayBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 215, + 28 + ], + [ + 228, + 1 + ] + ], + "doc": "~Private~" + } + }, + "228": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 228, + 16 + ], + [ + 234, + 1 + ] + ], + "doc": "~Private~" + } + }, + "234": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 13 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 242, + 8 + ], + [ + 258, + 1 + ] + ], + "doc": "Private: Create an {Editor} with its initial state based on this object " + } + }, + "258": { + "12": { + "name": "getTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 258, + 12 + ], + [ + 271, + 1 + ] + ], + "doc": " Public: Get the title the editor's title for display in other parts of the\nUI such as the tabs.\n\nIf the editor's buffer is saved, its title is the file name. If it is\nunsaved, its title is \"untitled\".\n\nReturns a {String}. " + } + }, + "271": { + "16": { + "name": "getLongTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 271, + 16 + ], + [ + 281, + 1 + ] + ], + "doc": " Public: Get the editor's long title for display in other parts of the UI\nsuch as the window title.\n\nIf the editor's buffer is saved, its long title is formatted as\n\" - \". If it is unsaved, its title is \"untitled\"\n\nReturns a {String}. " + } + }, + "281": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 281, + 14 + ], + [ + 281, + 60 + ] + ], + "doc": "Private: Controls visibility based on the given {Boolean}. " + } + }, + "288": { + "25": { + "name": "setEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorWidthInChars" + ], + "range": [ + [ + 288, + 25 + ], + [ + 292, + 1 + ] + ], + "doc": " Private: Set the number of characters that can be displayed horizontally in the\neditor.\n\neditorWidthInChars - A {Number} representing the width of the {EditorView}\nin characters. " + } + }, + "292": { + "21": { + "name": "getSoftWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 21 + ], + [ + 292, + 57 + ] + ], + "doc": "Public: Sets the column at which column will soft wrap " + } + }, + "296": { + "15": { + "name": "getSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 296, + 15 + ], + [ + 296, + 26 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether softTabs are enabled for this\neditor. " + } + }, + "301": { + "15": { + "name": "setSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 301, + 15 + ], + [ + 301, + 38 + ] + ], + "doc": " Public: Enable or disable soft tabs for this editor.\n\nsoftTabs - A {Boolean} " + } + }, + "304": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 304, + 18 + ], + [ + 304, + 52 + ] + ], + "doc": "Public: Toggle soft tabs for this editor " + } + }, + "307": { + "15": { + "name": "getSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 307, + 15 + ], + [ + 307, + 45 + ] + ], + "doc": "Public: Get whether soft wrap is enabled for this editor. " + } + }, + "312": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 312, + 15 + ], + [ + 312, + 64 + ] + ], + "doc": " Public: Enable or disable soft wrap for this editor.\n\nsoftWrap - A {Boolean} " + } + }, + "315": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 18 + ], + [ + 315, + 52 + ] + ], + "doc": "Public: Toggle soft wrap for this editor " + } + }, + "323": { + "14": { + "name": "getTabText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 323, + 14 + ], + [ + 323, + 37 + ] + ], + "doc": " Public: Get the text representing a single level of indent.\n\nIf soft tabs are enabled, the text is composed of N spaces, where N is the\ntab length. Otherwise the text is a tab character (`\\t`).\n\nReturns a {String}. " + } + }, + "328": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 328, + 16 + ], + [ + 328, + 47 + ] + ], + "doc": " Public: Get the on-screen length of tab characters.\n\nReturns a {Number}. " + } + }, + "331": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 331, + 16 + ], + [ + 331, + 68 + ] + ], + "doc": "Public: Set the on-screen length of tab characters. " + } + }, + "339": { + "16": { + "name": "usesSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 339, + 16 + ], + [ + 361, + 1 + ] + ], + "doc": " Public: Determine if the buffer uses hard or soft tabs.\n\nReturns `true` if the first non-comment line with leading whitespace starts\nwith a space character. Returns `false` if it starts with a hard tab (`\\t`).\n\nReturns a {Boolean}, " + } + }, + "361": { + "22": { + "name": "clipBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 361, + 22 + ], + [ + 361, + 77 + ] + ], + "doc": " Public: Clip the given {Point} to a valid position in the buffer.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the buffer, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " + } + }, + "369": { + "19": { + "name": "clipBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 369, + 19 + ], + [ + 369, + 53 + ] + ], + "doc": " Public: Clip the start and end of the given range to valid positions in the\nbuffer. See {::clipBufferPosition} for more information.\n\nrange - The {Range} to clip.\n\nReturns a {Range}. " + } + }, + "381": { + "27": { + "name": "indentationForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 381, + 27 + ], + [ + 396, + 1 + ] + ], + "doc": " Public: Get the indentation level of the given a buffer row.\n\nReturns how deeply the given row is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nbufferRow - A {Number} indicating the buffer row.\n\nReturns a {Number}. " + } + }, + "396": { + "30": { + "name": "setIndentationForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "newLevel", + null + ], + "range": [ + [ + 396, + 30 + ], + [ + 414, + 1 + ] + ], + "doc": " Public: Set the indentation level for the given buffer row.\n\nInserts or removes hard tabs or spaces based on the soft tabs and tab length\nsettings of this editor in order to bring it to the given indentation level.\nNote that if soft tabs are enabled and the tab length is 2, a row with 4\nleading spaces would have an indentation level of 2.\n\nbufferRow - A {Number} indicating the buffer row.\nnewLevel - A {Number} indicating the new indentation level.\noptions - An {Object} with the following keys:\n :preserveLeadingWhitespace - true to preserve any whitespace already at\n the beginning of the line (default: false). " + } + }, + "414": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 414, + 22 + ], + [ + 418, + 1 + ] + ], + "doc": " Public: Get the indentation level of the given line of text.\n\nReturns how deeply the given line is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nline - A {String} representing a line of text.\n\nReturns a {Number}. " + } + }, + "418": { + "21": { + "name": "buildIndentString", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "number", + "column" + ], + "range": [ + [ + 418, + 21 + ], + [ + 428, + 1 + ] + ], + "doc": "Private: Constructs the string used for tabs. " + } + }, + "428": { + "8": { + "name": "save", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 8 + ], + [ + 428, + 24 + ] + ], + "doc": " Public: Saves the editor's text buffer.\n\nSee {TextBuffer::save} for more details. " + } + }, + "435": { + "10": { + "name": "saveAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 435, + 10 + ], + [ + 435, + 47 + ] + ], + "doc": " Public: Saves the editor's text buffer as the given path.\n\nSee {TextBuffer::saveAs} for more details.\n\nfilePath - A {String} path. " + } + }, + "437": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 437, + 16 + ], + [ + 442, + 1 + ] + ], + "doc": "~Private~" + } + }, + "442": { + "23": { + "name": "copyPathToClipboard", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 442, + 23 + ], + [ + 447, + 1 + ] + ], + "doc": "Private: Copies the current file path to the native clipboard. " + } + }, + "447": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 447, + 11 + ], + [ + 447, + 30 + ] + ], + "doc": "Public: Returns the {String} path of this editor's text buffer. " + } + }, + "450": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 450, + 11 + ], + [ + 450, + 30 + ] + ], + "doc": "Public: Returns a {String} representing the entire contents of the editor. " + } + }, + "453": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 453, + 11 + ], + [ + 453, + 41 + ] + ], + "doc": "Public: Replaces the entire contents of the buffer with the given {String}. " + } + }, + "458": { + "18": { + "name": "getTextInRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 458, + 18 + ], + [ + 458, + 57 + ] + ], + "doc": " Private: Get the text in the given {Range}.\n\nReturns a {String}. " + } + }, + "461": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 461, + 16 + ], + [ + 461, + 40 + ] + ], + "doc": "Public: Returns a {Number} representing the number of lines in the editor. " + } + }, + "464": { + "13": { + "name": "getBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 464, + 13 + ], + [ + 464, + 22 + ] + ], + "doc": "Private: Retrieves the current {TextBuffer}. " + } + }, + "467": { + "10": { + "name": "getUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 467, + 10 + ], + [ + 467, + 28 + ] + ], + "doc": "Public: Retrieves the current buffer's URI. " + } + }, + "470": { + "20": { + "name": "isBufferRowBlank", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 470, + 20 + ], + [ + 470, + 63 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.isRowBlank} " + } + }, + "473": { + "24": { + "name": "isBufferRowCommented", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 473, + 24 + ], + [ + 479, + 1 + ] + ], + "doc": "Public: Determine if the given row is entirely a comment " + } + }, + "479": { + "25": { + "name": "nextNonBlankBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 479, + 25 + ], + [ + 479, + 73 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.nextNonBlankRow} " + } + }, + "482": { + "24": { + "name": "getEofBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 482, + 24 + ], + [ + 482, + 50 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.getEndPosition} " + } + }, + "486": { + "20": { + "name": "getLastBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 486, + 20 + ], + [ + 486, + 42 + ] + ], + "doc": " Public: Returns a {Number} representing the last zero-indexed buffer row\nnumber of the editor. " + } + }, + "494": { + "27": { + "name": "bufferRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + null + ], + "range": [ + [ + 494, + 27 + ], + [ + 494, + 96 + ] + ], + "doc": " Private: Returns the range for the given buffer row.\n\nrow - A row {Number}.\noptions - An options hash with an `includeNewline` key.\n\nReturns a {Range}. " + } + }, + "500": { + "20": { + "name": "lineForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 500, + 20 + ], + [ + 500, + 51 + ] + ], + "doc": " Public: Returns a {String} representing the contents of the line at the\ngiven buffer row.\n\nrow - A {Number} representing a zero-indexed buffer row. " + } + }, + "506": { + "26": { + "name": "lineLengthForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 506, + 26 + ], + [ + 506, + 63 + ] + ], + "doc": " Public: Returns a {Number} representing the line length for the given\nbuffer row, exclusive of its line-ending character(s).\n\nrow - A {Number} indicating the buffer row. " + } + }, + "509": { + "8": { + "name": "scan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 509, + 8 + ], + [ + 509, + 41 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.scan} " + } + }, + "512": { + "21": { + "name": "scanInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 512, + 21 + ], + [ + 512, + 61 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.scanInRange} " + } + }, + "515": { + "30": { + "name": "backwardsScanInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 515, + 30 + ], + [ + 515, + 79 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.backwardsScanInRange} " + } + }, + "518": { + "14": { + "name": "isModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 518, + 14 + ], + [ + 518, + 36 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.isModified} " + } + }, + "520": { + "11": { + "name": "isEmpty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 520, + 11 + ], + [ + 520, + 30 + ] + ], + "doc": "~Private~" + } + }, + "524": { + "22": { + "name": "shouldPromptToSave", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 524, + 22 + ], + [ + 524, + 74 + ] + ], + "doc": " Public: Determine whether the user should be prompted to save before closing\nthis editor. " + } + }, + "536": { + "35": { + "name": "screenPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 536, + 35 + ], + [ + 536, + 134 + ] + ], + "doc": " Public: Convert a position in buffer-coordinates to screen-coordinates.\n\nThe position is clipped via {::clipBufferPosition} prior to the conversion.\nThe position is also clipped via {::clipScreenPosition} following the\nconversion, which only makes a difference when `options` are supplied.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " + } + }, + "546": { + "35": { + "name": "bufferPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 546, + 35 + ], + [ + 546, + 134 + ] + ], + "doc": " Public: Convert a position in screen-coordinates to buffer-coordinates.\n\nThe position is clipped via {::clipScreenPosition} prior to the conversion.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " + } + }, + "551": { + "29": { + "name": "screenRangeForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 551, + 29 + ], + [ + 551, + 98 + ] + ], + "doc": " Public: Convert a range in buffer-coordinates to screen-coordinates.\n\nReturns a {Range}. " + } + }, + "556": { + "29": { + "name": "bufferRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 556, + 29 + ], + [ + 556, + 98 + ] + ], + "doc": " Public: Convert a range in screen-coordinates to buffer-coordinates.\n\nReturns a {Range}. " + } + }, + "573": { + "22": { + "name": "clipScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 573, + 22 + ], + [ + 573, + 108 + ] + ], + "doc": " Public: Clip the given {Point} to a valid position on screen.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the screen, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at screen row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " + } + }, + "576": { + "20": { + "name": "lineForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 576, + 20 + ], + [ + 576, + 58 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.lineForRow} " + } + }, + "579": { + "22": { + "name": "linesForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 579, + 22 + ], + [ + 579, + 76 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.linesForRows} " + } + }, + "582": { + "22": { + "name": "getScreenLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 582, + 22 + ], + [ + 582, + 53 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getLineCount} " + } + }, + "585": { + "26": { + "name": "getMaxScreenLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 585, + 26 + ], + [ + 585, + 61 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getMaxLineLength} " + } + }, + "588": { + "20": { + "name": "getLastScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 588, + 20 + ], + [ + 588, + 49 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getLastRow} " + } + }, + "591": { + "27": { + "name": "bufferRowsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 591, + 27 + ], + [ + 591, + 104 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.bufferRowsForScreenRows} " + } + }, + "593": { + "25": { + "name": "bufferRowForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 593, + 25 + ], + [ + 593, + 74 + ] + ], + "doc": "~Private~" + } + }, + "605": { + "27": { + "name": "scopesForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 605, + 27 + ], + [ + 605, + 100 + ] + ], + "doc": " Public: Get the syntactic scopes for the given position in buffer\ncoordinates.\n\nFor example, if called with a position inside the parameter list of an\nanonymous CoffeeScript function, the method returns the following array:\n`[\"source.coffee\", \"meta.inline.function.coffee\", \"variable.parameter.function.coffee\"]`\n\nbufferPosition - A {Point} or {Array} of [row, column].\n\nReturns an {Array} of {String}s. " + } + }, + "614": { + "31": { + "name": "bufferRangeForScopeAtCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 614, + 31 + ], + [ + 618, + 1 + ] + ], + "doc": " Public: Get the range in buffer coordinates of all tokens surrounding the\ncursor that match the given scope selector.\n\nFor example, if you wanted to find the string surrounding the cursor, you\ncould call `editor.bufferRangeForScopeAtCursor(\".string.quoted\")`.\n\nReturns a {Range}. " + } + }, + "618": { + "26": { + "name": "tokenForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 618, + 26 + ], + [ + 618, + 98 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.tokenForBufferPosition} " + } + }, + "624": { + "19": { + "name": "getCursorScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 624, + 19 + ], + [ + 624, + 45 + ] + ], + "doc": " Public: Get the syntactic scopes for the most recently added cursor's\nposition. See {::scopesForBufferPosition} for more information.\n\nReturns an {Array} of {String}s. " + } + }, + "626": { + "18": { + "name": "logCursorScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 626, + 18 + ], + [ + 633, + 1 + ] + ], + "doc": "~Private~" + } + }, + "633": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 633, + 14 + ], + [ + 639, + 1 + ] + ], + "doc": " Public: For each selection, replace the selected text with the given text.\n\ntext - A {String} representing the text to insert.\noptions - See {Selection::insertText}. " + } + }, + "639": { + "17": { + "name": "insertNewline", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 639, + 17 + ], + [ + 643, + 1 + ] + ], + "doc": "Public: For each selection, replace the selected text with a newline. " + } + }, + "643": { + "22": { + "name": "insertNewlineBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 643, + 22 + ], + [ + 649, + 1 + ] + ], + "doc": "Public: For each cursor, insert a newline at beginning the following line. " + } + }, + "649": { + "22": { + "name": "insertNewlineAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 649, + 22 + ], + [ + 668, + 1 + ] + ], + "doc": "Public: For each cursor, insert a newline at the end of the preceding line. " + } + }, + "668": { + "10": { + "name": "indent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 668, + 10 + ], + [ + 674, + 1 + ] + ], + "doc": " Private: Indent all lines intersecting selections. See {Selection::indent} for more\ninformation. " + } + }, + "674": { + "13": { + "name": "backspace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 674, + 13 + ], + [ + 678, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete the character\npreceding the cursor. Otherwise delete the selected text. " + } + }, + "678": { + "30": { + "name": "backspaceToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 678, + 30 + ], + [ + 683, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " + } + }, + "683": { + "30": { + "name": "backspaceToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 683, + 30 + ], + [ + 690, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " + } + }, + "690": { + "27": { + "name": "deleteToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 690, + 27 + ], + [ + 696, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word that precede the cursor. Otherwise delete the\nselected text. " + } + }, + "696": { + "27": { + "name": "deleteToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 696, + 27 + ], + [ + 701, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing line that precede the cursor. Otherwise delete the\nselected text. " + } + }, + "701": { + "10": { + "name": "delete", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 701, + 10 + ], + [ + 708, + 1 + ] + ] + } + }, + "708": { + "21": { + "name": "deleteToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 708, + 21 + ], + [ + 714, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is not empty, deletes the\nselection; otherwise, deletes all characters of the containing line\nfollowing the cursor. If the cursor is already at the end of the line,\ndeletes the following newline. " + } + }, + "714": { + "21": { + "name": "deleteToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 714, + 21 + ], + [ + 718, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word following the cursor. Otherwise delete the selected\ntext. " + } + }, + "718": { + "14": { + "name": "deleteLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 718, + 14 + ], + [ + 722, + 1 + ] + ], + "doc": "Public: Delete all lines intersecting selections. " + } + }, + "722": { + "22": { + "name": "indentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 722, + 22 + ], + [ + 726, + 1 + ] + ], + "doc": "Public: Indent rows intersecting selections by one level. " + } + }, + "726": { + "23": { + "name": "outdentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 726, + 23 + ], + [ + 734, + 1 + ] + ], + "doc": "Public: Outdent rows intersecting selections by one level. " + } + }, + "734": { + "33": { + "name": "toggleLineCommentsInSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 734, + 33 + ], + [ + 739, + 1 + ] + ], + "doc": " Public: Toggle line comments for rows intersecting selections.\n\nIf the current grammar doesn't support comments, does nothing.\n\nReturns an {Array} of the commented {Range}s. " + } + }, + "739": { + "26": { + "name": "autoIndentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 739, + 26 + ], + [ + 744, + 1 + ] + ], + "doc": " Public: Indent rows intersecting selections based on the grammar's suggested\nindent level. " + } + }, + "744": { + "30": { + "name": "normalizeTabsInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 744, + 30 + ], + [ + 751, + 1 + ] + ], + "doc": " Private: If soft tabs are enabled, convert all hard tabs to soft tabs in the given\n{Range}. " + } + }, + "751": { + "18": { + "name": "cutToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 751, + 18 + ], + [ + 758, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, cut all characters\nof the containing line following the cursor. Otherwise cut the selected\ntext. " + } + }, + "758": { + "19": { + "name": "cutSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 758, + 19 + ], + [ + 765, + 1 + ] + ], + "doc": "Public: For each selection, cut the selected text. " + } + }, + "765": { + "20": { + "name": "copySelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 765, + 20 + ], + [ + 779, + 1 + ] + ], + "doc": "Public: For each selection, copy the selected text. " + } + }, + "779": { + "13": { + "name": "pasteText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 779, + 13 + ], + [ + 798, + 1 + ] + ], + "doc": " Public: For each selection, replace the selected text with the contents of\nthe clipboard.\n\nIf the clipboard contains the same number of selections as the current\neditor, each selection will be replaced with the content of the\ncorresponding clipboard selection text.\n\noptions - See {Selection::insertText}. " + } + }, + "798": { + "8": { + "name": "undo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 798, + 8 + ], + [ + 803, + 1 + ] + ], + "doc": "Public: Undo the last change. " + } + }, + "803": { + "8": { + "name": "redo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 803, + 8 + ], + [ + 812, + 1 + ] + ], + "doc": "Public: Redo the last change. " + } + }, + "812": { + "18": { + "name": "foldCurrentRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 812, + 18 + ], + [ + 817, + 1 + ] + ], + "doc": " Public: Fold the most recent cursor's row based on its indentation level.\n\nThe fold will extend from the nearest preceding line with a lower\nindentation level up to the nearest following row with a lower indentation\nlevel. " + } + }, + "817": { + "20": { + "name": "unfoldCurrentRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 817, + 20 + ], + [ + 822, + 1 + ] + ], + "doc": "Public: Unfold the most recent cursor's row by one level. " + } + }, + "822": { + "21": { + "name": "foldSelectedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 822, + 21 + ], + [ + 826, + 1 + ] + ], + "doc": "Public: For each selection, fold the rows it intersects. " + } + }, + "826": { + "11": { + "name": "foldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 826, + 11 + ], + [ + 830, + 1 + ] + ], + "doc": "Public: Fold all foldable lines. " + } + }, + "830": { + "13": { + "name": "unfoldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 830, + 13 + ], + [ + 836, + 1 + ] + ], + "doc": "Public: Unfold all existing folds. " + } + }, + "836": { + "24": { + "name": "foldAllAtIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "level" + ], + "range": [ + [ + 836, + 24 + ], + [ + 846, + 1 + ] + ], + "doc": " Public: Fold all foldable lines at the given indent level.\n\nlevel - A {Number}. " + } + }, + "846": { + "17": { + "name": "foldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 846, + 17 + ], + [ + 852, + 1 + ] + ], + "doc": " Public: Fold the given row in buffer coordinates based on its indentation\nlevel.\n\nIf the given row is foldable, the fold will begin there. Otherwise, it will\nbegin at the first foldable row preceding the given row.\n\nbufferRow - A {Number}. " + } + }, + "852": { + "19": { + "name": "unfoldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 852, + 19 + ], + [ + 862, + 1 + ] + ], + "doc": " Public: Unfold all folds containing the given row in buffer coordinates.\n\nbufferRow - A {Number} " + } + }, + "862": { + "25": { + "name": "isFoldableAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 862, + 25 + ], + [ + 865, + 1 + ] + ], + "doc": " Public: Determine whether the given row in buffer coordinates is foldable.\n\nA *foldable* row is a row that *starts* a row range that can be folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "865": { + "25": { + "name": "isFoldableAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 865, + 25 + ], + [ + 870, + 1 + ] + ], + "doc": "~Private~" + } + }, + "870": { + "14": { + "name": "createFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 870, + 14 + ], + [ + 874, + 1 + ] + ], + "doc": "TODO: Rename to foldRowRange? " + } + }, + "874": { + "21": { + "name": "destroyFoldWithId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 874, + 21 + ], + [ + 878, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.destroyFoldWithId} " + } + }, + "878": { + "39": { + "name": "destroyFoldsIntersectingBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 878, + 39 + ], + [ + 884, + 1 + ] + ], + "doc": "Private: Remove any {Fold}s found that intersect the given buffer row. " + } + }, + "884": { + "25": { + "name": "toggleFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 884, + 25 + ], + [ + 893, + 1 + ] + ], + "doc": " Public: Fold the given buffer row if it isn't currently folded, and unfold\nit otherwise. " + } + }, + "893": { + "23": { + "name": "isFoldedAtCursorRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 893, + 23 + ], + [ + 901, + 1 + ] + ], + "doc": " Public: Determine whether the most recently added cursor's row is folded.\n\nReturns a {Boolean}. " + } + }, + "901": { + "23": { + "name": "isFoldedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 901, + 23 + ], + [ + 909, + 1 + ] + ], + "doc": " Public: Determine whether the given row in buffer coordinates is folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "909": { + "23": { + "name": "isFoldedAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 909, + 23 + ], + [ + 913, + 1 + ] + ], + "doc": " Public: Determine whether the given row in screen coordinates is folded.\n\nscreenRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "913": { + "34": { + "name": "largestFoldContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 913, + 34 + ], + [ + 917, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.largestFoldContainingBufferRow} " + } + }, + "917": { + "34": { + "name": "largestFoldStartingAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 917, + 34 + ], + [ + 921, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.largestFoldStartingAtScreenRow} " + } + }, + "921": { + "34": { + "name": "outermostFoldsInBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 921, + 34 + ], + [ + 926, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.outermostFoldsForBufferRowRange} " + } + }, + "926": { + "14": { + "name": "moveLineUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 926, + 14 + ], + [ + 979, + 1 + ] + ], + "doc": " Private: Move lines intersection the most recent selection up by one row in screen\ncoordinates. " + } + }, + "979": { + "16": { + "name": "moveLineDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 979, + 16 + ], + [ + 1034, + 1 + ] + ], + "doc": " Private: Move lines intersecting the most recent selection down by one row in screen\ncoordinates. " + } + }, + "1034": { + "18": { + "name": "duplicateLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1034, + 18 + ], + [ + 1060, + 1 + ] + ], + "doc": "Private: Duplicate the most recent cursor's current line. " + } + }, + "1060": { + "17": { + "name": "duplicateLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1060, + 17 + ], + [ + 1072, + 1 + ] + ], + "doc": "Deprecated: Use {::duplicateLines} instead. " + } + }, + "1072": { + "22": { + "name": "mutateSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1072, + 22 + ], + [ + 1075, + 1 + ] + ], + "doc": " Public: Mutate the text of all the selections in a single transaction.\n\nAll the changes made inside the given {Function} can be reverted with a\nsingle call to {::undo}.\n\nfn - A {Function} that will be called once for each {Selection}. The first\n argument will be a {Selection} and the second argument will be the\n {Number} index of that selection. " + } + }, + "1075": { + "23": { + "name": "replaceSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options", + "fn" + ], + "range": [ + [ + 1075, + 23 + ], + [ + 1096, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1096": { + "32": { + "name": "decorationsForScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 1096, + 32 + ], + [ + 1137, + 1 + ] + ], + "doc": " Public: Get all the decorations within a screen row range.\n\nstartScreenRow - the {Number} beginning screen row\nendScreenRow - the {Number} end screen row (inclusive)\n\nReturns an {Object} of decorations in the form\n `{1: [{id: 10, type: 'gutter', class: 'someclass'}], 2: ...}`\n where the keys are {Marker} IDs, and the values are an array of decoration\n params objects attached to the marker.\nReturns an empty object when no decorations are found " + } + }, + "1137": { + "18": { + "name": "decorateMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "decorationParams" + ], + "range": [ + [ + 1137, + 18 + ], + [ + 1140, + 1 + ] + ], + "doc": " Public: Adds a decoration that tracks a {Marker}. When the marker moves,\nis invalidated, or is destroyed, the decoration will be updated to reflect\nthe marker's state.\n\nThere are three types of supported decorations:\n* `line`: Adds your CSS `class` to the line nodes within the range\n marked by the marker\n* `gutter`: Adds your CSS `class` to the line number nodes within the\n range marked by the marker\n* `highlight`: Adds a new highlight div to the editor surrounding the\n range marked by the marker. When the user selects text, the selection is\n visualized with a highlight decoration internally. The structure of this\n highlight will be:\n ```html\n
    \">\n \n
    \n
    \n ```\n\nmarker - A {Marker} you want this decoration to follow.\ndecorationParams - An {Object} representing the decoration eg. `{type: 'gutter', class: 'linter-error'}`\n :type - There are a few supported decoration types:\n * `gutter`: Applies the decoration to the line numbers spanned by the marker.\n * `line`: Applies the decoration to the lines spanned by the marker.\n * `highlight`: Applies the decoration to a \"highlight\" behind the marked range.\n :class - This CSS class will be applied to the decorated line number,\n line, or highlight.\n :onlyHead - If `true`, the decoration will only be applied to the head\n of the marker. Only applicable to the `line` and `gutter` types.\n :onlyEmpty - If `true`, the decoration will only be applied if the\n associated marker is empty. Only applicable to the `line` and\n `gutter` types.\n :onlyNonEmpty - If `true`, the decoration will only be applied if the\n associated marker is non-empty. Only applicable to the `line` and\n gutter types.\n\nReturns a {Decoration} object " + } + }, + "1140": { + "19": { + "name": "decorationForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 1140, + 19 + ], + [ + 1144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1144": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 1144, + 13 + ], + [ + 1148, + 1 + ] + ], + "doc": "Public: Get the {DisplayBufferMarker} for the given marker id. " + } + }, + "1148": { + "14": { + "name": "getMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1148, + 14 + ], + [ + 1170, + 1 + ] + ], + "doc": "Public: Get all {DisplayBufferMarker}s. " + } + }, + "1170": { + "15": { + "name": "findMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "properties" + ], + "range": [ + [ + 1170, + 15 + ], + [ + 1179, + 1 + ] + ], + "doc": " Public: Find all {DisplayBufferMarker}s that match the given properties.\n\nThis method finds markers based on the given properties. Markers can be\nassociated with custom properties that will be compared with basic equality.\nIn addition, there are several special properties that will be compared\nwith the range of the markers rather than their properties.\n\nproperties - An {Object} containing properties that each returned marker\n must satisfy. Markers can be associated with custom properties, which are\n compared with basic equality. In addition, several reserved properties\n can be used to filter markers based on their current range:\n :startBufferRow - Only include markers starting at this row in buffer\n coordinates.\n :endBufferRow - Only include markers ending at this row in buffer\n coordinates.\n :containsBufferRange - Only include markers containing this {Range} or\n in range-compatible {Array} in buffer coordinates.\n :containsBufferPosition - Only include markers containing this {Point}\n or {Array} of `[row, column]` in buffer coordinates. " + } + }, + "1179": { + "19": { + "name": "markScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1179, + 19 + ], + [ + 1188, + 1 + ] + ], + "doc": " Public: Mark the given range in screen coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1188": { + "19": { + "name": "markBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1188, + 19 + ], + [ + 1197, + 1 + ] + ], + "doc": " Public: Mark the given range in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1197": { + "22": { + "name": "markScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1197, + 22 + ], + [ + 1206, + 1 + ] + ], + "doc": " Public: Mark the given position in screen coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1206": { + "22": { + "name": "markBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1206, + 22 + ], + [ + 1210, + 1 + ] + ], + "doc": " Public: Mark the given position in buffer coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1210": { + "17": { + "name": "destroyMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1210, + 17 + ], + [ + 1216, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.destroyMarker} " + } + }, + "1216": { + "18": { + "name": "getMarkerCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1216, + 18 + ], + [ + 1220, + 1 + ] + ], + "doc": " Public: Get the number of markers in this editor's buffer.\n\nReturns a {Number}. " + } + }, + "1220": { + "22": { + "name": "hasMultipleCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1220, + 22 + ], + [ + 1224, + 1 + ] + ], + "doc": "Public: Determine if there are multiple cursors. " + } + }, + "1224": { + "14": { + "name": "getCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1224, + 14 + ], + [ + 1224, + 38 + ] + ], + "doc": "Public: Get an Array of all {Cursor}s. " + } + }, + "1227": { + "13": { + "name": "getCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1227, + 13 + ], + [ + 1233, + 1 + ] + ], + "doc": "Public: Get the most recently added {Cursor}. " + } + }, + "1233": { + "29": { + "name": "addCursorAtScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 1233, + 29 + ], + [ + 1240, + 1 + ] + ], + "doc": " Public: Add a cursor at the position in screen coordinates.\n\nReturns a {Cursor}. " + } + }, + "1240": { + "29": { + "name": "addCursorAtBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 1240, + 29 + ], + [ + 1245, + 1 + ] + ], + "doc": " Public: Add a cursor at the given position in buffer coordinates.\n\nReturns a {Cursor}. " + } + }, + "1245": { + "13": { + "name": "addCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1245, + 13 + ], + [ + 1255, + 1 + ] + ], + "doc": "Private: Add a cursor based on the given {DisplayBufferMarker}. " + } + }, + "1255": { + "16": { + "name": "removeCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursor" + ], + "range": [ + [ + 1255, + 16 + ], + [ + 1264, + 1 + ] + ], + "doc": "Private: Remove the given cursor from this editor. " + } + }, + "1264": { + "16": { + "name": "addSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "options" + ], + "range": [ + [ + 1264, + 16 + ], + [ + 1288, + 1 + ] + ], + "doc": " Private: Add a {Selection} based on the given {DisplayBufferMarker}.\n\nmarker - The {DisplayBufferMarker} to highlight\noptions - An {Object} that pertains to the {Selection} constructor.\n\nReturns the new {Selection}. " + } + }, + "1288": { + "30": { + "name": "addSelectionForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 1288, + 30 + ], + [ + 1301, + 1 + ] + ], + "doc": " Public: Add a selection for the given range in buffer coordinates.\n\nbufferRange - A {Range}\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation.\n\nReturns the added {Selection}. " + } + }, + "1301": { + "26": { + "name": "setSelectedBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 1301, + 26 + ], + [ + 1311, + 1 + ] + ], + "doc": " Public: Set the selected range in buffer coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nbufferRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1311": { + "26": { + "name": "setSelectedScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 1311, + 26 + ], + [ + 1321, + 1 + ] + ], + "doc": " Public: Set the selected range in screen coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nscreenRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1321": { + "27": { + "name": "setSelectedBufferRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRanges", + "options" + ], + "range": [ + [ + 1321, + 27 + ], + [ + 1336, + 1 + ] + ], + "doc": " Public: Set the selected ranges in buffer coordinates. If there are multiple\nselections, they are replaced by new selections with the given ranges.\n\nbufferRanges - An {Array} of {Range}s or range-compatible {Array}s.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1336": { + "19": { + "name": "removeSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 1336, + 19 + ], + [ + 1342, + 1 + ] + ], + "doc": "Private: Remove the given selection. " + } + }, + "1342": { + "19": { + "name": "clearSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1342, + 19 + ], + [ + 1347, + 1 + ] + ], + "doc": " Private: Reduce one or more selections to a single empty selection based on the most\nrecently added cursor. " + } + }, + "1347": { + "25": { + "name": "consolidateSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1347, + 25 + ], + [ + 1355, + 1 + ] + ], + "doc": "Private: Reduce multiple selections to the most recently added selection. " + } + }, + "1355": { + "31": { + "name": "selectionScreenRangeChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 1355, + 31 + ], + [ + 1361, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1361": { + "17": { + "name": "getSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1361, + 17 + ], + [ + 1361, + 44 + ] + ], + "doc": " Public: Get current {Selection}s.\n\nReturns: An {Array} of {Selection}s. " + } + }, + "1363": { + "27": { + "name": "selectionsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1363, + 27 + ], + [ + 1374, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1374": { + "16": { + "name": "getSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 1374, + 16 + ], + [ + 1381, + 1 + ] + ], + "doc": " Public: Get the most recent {Selection} or the selection at the given\nindex.\n\nindex - Optional. The index of the selection to return, based on the order\n in which the selections were added.\n\nReturns a {Selection}.\nor the at the specified index. " + } + }, + "1381": { + "20": { + "name": "getLastSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1381, + 20 + ], + [ + 1388, + 1 + ] + ], + "doc": " Public: Get the most recently added {Selection}.\n\nReturns a {Selection}. " + } + }, + "1388": { + "40": { + "name": "getSelectionsOrderedByBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1388, + 40 + ], + [ + 1394, + 1 + ] + ], + "doc": " Public: Get all {Selection}s, ordered by their position in the buffer\ninstead of the order in which they were added.\n\nReturns an {Array} of {Selection}s. " + } + }, + "1394": { + "28": { + "name": "getLastSelectionInBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1394, + 28 + ], + [ + 1403, + 1 + ] + ], + "doc": " Public: Get the last {Selection} based on its position in the buffer.\n\nReturns a {Selection}. " + } + }, + "1403": { + "34": { + "name": "selectionIntersectsBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 1403, + 34 + ], + [ + 1415, + 1 + ] + ], + "doc": " Public: Determine if a given range in buffer coordinates intersects a\nselection.\n\nbufferRange - A {Range} or range-compatible {Array}.\n\nReturns a {Boolean}. " + } + }, + "1415": { + "27": { + "name": "setCursorScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "options" + ], + "range": [ + [ + 1415, + 27 + ], + [ + 1422, + 1 + ] + ], + "doc": " Public: Move the cursor to the given position in screen coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " + } + }, + "1422": { + "27": { + "name": "getCursorScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1422, + 27 + ], + [ + 1428, + 1 + ] + ], + "doc": " Public: Get the position of the most recently added cursor in screen\ncoordinates.\n\nReturns a {Point}. " + } + }, + "1428": { + "22": { + "name": "getCursorScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1428, + 22 + ], + [ + 1439, + 1 + ] + ], + "doc": " Public: Get the row of the most recently added cursor in screen coordinates.\n\nReturns the screen row {Number}. " + } + }, + "1439": { + "27": { + "name": "setCursorBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "options" + ], + "range": [ + [ + 1439, + 27 + ], + [ + 1446, + 1 + ] + ], + "doc": " Public: Move the cursor to the given position in buffer coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " + } + }, + "1446": { + "27": { + "name": "getCursorBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1446, + 27 + ], + [ + 1453, + 1 + ] + ], + "doc": " Public: Get the position of the most recently added cursor in buffer\ncoordinates.\n\nReturns a {Point}. " + } + }, + "1453": { + "26": { + "name": "getSelectedScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1453, + 26 + ], + [ + 1460, + 1 + ] + ], + "doc": " Public: Get the {Range} of the most recently added selection in screen\ncoordinates.\n\nReturns a {Range}. " + } + }, + "1460": { + "26": { + "name": "getSelectedBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1460, + 26 + ], + [ + 1468, + 1 + ] + ], + "doc": " Public: Get the {Range} of the most recently added selection in buffer\ncoordinates.\n\nReturns a {Range}. " + } + }, + "1468": { + "27": { + "name": "getSelectedBufferRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1468, + 27 + ], + [ + 1476, + 1 + ] + ], + "doc": " Public: Get the {Range}s of all selections in buffer coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " + } + }, + "1476": { + "27": { + "name": "getSelectedScreenRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1476, + 27 + ], + [ + 1482, + 1 + ] + ], + "doc": " Public: Get the {Range}s of all selections in screen coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " + } + }, + "1482": { + "19": { + "name": "getSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1482, + 19 + ], + [ + 1490, + 1 + ] + ], + "doc": " Public: Get the selected text of the most recently added selection.\n\nReturns a {String}. " + } + }, + "1490": { + "24": { + "name": "getTextInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 1490, + 24 + ], + [ + 1499, + 1 + ] + ], + "doc": " Public: Get the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\n\nReturns a {String}. " + } + }, + "1499": { + "24": { + "name": "setTextInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range", + "text", + "normalizeLineEndings" + ], + "range": [ + [ + 1499, + 24 + ], + [ + 1499, + 124 + ] + ], + "doc": " Public: Set the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\ntext - A {String}\n\nReturns the {Range} of the newly-inserted text. " + } + }, + "1505": { + "34": { + "name": "getCurrentParagraphBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1505, + 34 + ], + [ + 1511, + 1 + ] + ], + "doc": " Public: Get the {Range} of the paragraph surrounding the most recently added\ncursor.\n\nReturns a {Range}. " + } + }, + "1511": { + "22": { + "name": "getWordUnderCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 1511, + 22 + ], + [ + 1515, + 1 + ] + ], + "doc": " Public: Returns the word surrounding the most recently added cursor.\n\noptions - See {Cursor::getBeginningOfCurrentWordBufferPosition}. " + } + }, + "1515": { + "16": { + "name": "moveCursorUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineCount" + ], + "range": [ + [ + 1515, + 16 + ], + [ + 1519, + 1 + ] + ], + "doc": "Public: Move every cursor up one row in screen coordinates. " + } + }, + "1519": { + "18": { + "name": "moveCursorDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineCount" + ], + "range": [ + [ + 1519, + 18 + ], + [ + 1523, + 1 + ] + ], + "doc": "Public: Move every cursor down one row in screen coordinates. " + } + }, + "1523": { + "18": { + "name": "moveCursorLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1523, + 18 + ], + [ + 1527, + 1 + ] + ], + "doc": "Public: Move every cursor left one column. " + } + }, + "1527": { + "19": { + "name": "moveCursorRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1527, + 19 + ], + [ + 1533, + 1 + ] + ], + "doc": "Public: Move every cursor right one column. " + } + }, + "1533": { + "19": { + "name": "moveCursorToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1533, + 19 + ], + [ + 1539, + 1 + ] + ], + "doc": " Public: Move every cursor to the top of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " + } + }, + "1539": { + "22": { + "name": "moveCursorToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1539, + 22 + ], + [ + 1543, + 1 + ] + ], + "doc": " Public: Move every cursor to the bottom of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " + } + }, + "1543": { + "37": { + "name": "moveCursorToBeginningOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1543, + 37 + ], + [ + 1547, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its line in screen coordinates. " + } + }, + "1547": { + "31": { + "name": "moveCursorToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1547, + 31 + ], + [ + 1551, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its line in buffer coordinates. " + } + }, + "1551": { + "36": { + "name": "moveCursorToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1551, + 36 + ], + [ + 1555, + 1 + ] + ], + "doc": "Public: Move every cursor to the first non-whitespace character of its line. " + } + }, + "1555": { + "31": { + "name": "moveCursorToEndOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1555, + 31 + ], + [ + 1559, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its line in screen coordinates. " + } + }, + "1559": { + "25": { + "name": "moveCursorToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1559, + 25 + ], + [ + 1563, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its line in buffer coordinates. " + } + }, + "1563": { + "31": { + "name": "moveCursorToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1563, + 31 + ], + [ + 1567, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its surrounding word. " + } + }, + "1567": { + "25": { + "name": "moveCursorToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1567, + 25 + ], + [ + 1571, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its surrounding word. " + } + }, + "1571": { + "35": { + "name": "moveCursorToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1571, + 35 + ], + [ + 1575, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the next word. " + } + }, + "1575": { + "36": { + "name": "moveCursorToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1575, + 36 + ], + [ + 1579, + 1 + ] + ], + "doc": "Public: Move every cursor to the previous word boundary. " + } + }, + "1579": { + "32": { + "name": "moveCursorToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1579, + 32 + ], + [ + 1583, + 1 + ] + ], + "doc": "Public: Move every cursor to the next word boundary. " + } + }, + "1583": { + "40": { + "name": "moveCursorToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1583, + 40 + ], + [ + 1587, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the next paragraph. " + } + }, + "1587": { + "44": { + "name": "moveCursorToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1587, + 44 + ], + [ + 1596, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the previous paragraph. " + } + }, + "1596": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 1596, + 26 + ], + [ + 1599, + 1 + ] + ], + "doc": " Public: Scroll the editor to reveal the most recently added cursor if it is\noff-screen.\n\noptions - An optional hash of options.\n :center - Center the editor around the cursor if possible. Defauls to\n true. " + } + }, + "1599": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1599, + 10 + ], + [ + 1604, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1604": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1604, + 12 + ], + [ + 1609, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1609": { + "16": { + "name": "selectPageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1609, + 16 + ], + [ + 1612, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1612": { + "18": { + "name": "selectPageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1612, + 18 + ], + [ + 1616, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1616": { + "18": { + "name": "getRowsPerPage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1616, + 18 + ], + [ + 1619, + 1 + ] + ], + "doc": "Private: Returns the number of rows per page " + } + }, + "1619": { + "15": { + "name": "moveCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1619, + 15 + ], + [ + 1626, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1626": { + "15": { + "name": "cursorMoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 1626, + 15 + ], + [ + 1636, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1636": { + "26": { + "name": "selectToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1636, + 26 + ], + [ + 1645, + 1 + ] + ], + "doc": " Public: Select from the current cursor position to the given position in\nscreen coordinates.\n\nThis method may merge selections that end up intesecting.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "1645": { + "15": { + "name": "selectRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1645, + 15 + ], + [ + 1652, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character rightward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1652": { + "14": { + "name": "selectLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1652, + 14 + ], + [ + 1659, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character leftward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1659": { + "12": { + "name": "selectUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 1659, + 12 + ], + [ + 1666, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character upward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1666": { + "14": { + "name": "selectDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 1666, + 14 + ], + [ + 1673, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character downward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1673": { + "15": { + "name": "selectToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1673, + 15 + ], + [ + 1679, + 1 + ] + ], + "doc": " Public: Select from the top of the buffer to the end of the last selection\nin the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1679": { + "13": { + "name": "selectAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1679, + 13 + ], + [ + 1686, + 1 + ] + ], + "doc": " Public: Select all text in the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1686": { + "18": { + "name": "selectToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1686, + 18 + ], + [ + 1693, + 1 + ] + ], + "doc": " Public: Selects from the top of the first selection in the buffer to the end\nof the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1693": { + "27": { + "name": "selectToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1693, + 27 + ], + [ + 1702, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the beginning of its line\nwhile preserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1702": { + "32": { + "name": "selectToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1702, + 32 + ], + [ + 1709, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the first non-whitespace\ncharacter of its line while preserving the selection's tail position. If the\ncursor is already on the first character of the line, move it to the\nbeginning of the line.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1709": { + "21": { + "name": "selectToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1709, + 21 + ], + [ + 1716, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the end of its line while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1716": { + "32": { + "name": "selectToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1716, + 32 + ], + [ + 1723, + 1 + ] + ], + "doc": " Public: For each selection, move its cursor to the preceding word boundary\nwhile maintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1723": { + "28": { + "name": "selectToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1723, + 28 + ], + [ + 1729, + 1 + ] + ], + "doc": " Public: For each selection, move its cursor to the next word boundary while\nmaintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1729": { + "14": { + "name": "selectLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1729, + 14 + ], + [ + 1740, + 1 + ] + ], + "doc": " Public: For each cursor, select the containing line.\n\nThis method merges selections on successive lines. " + } + }, + "1740": { + "21": { + "name": "addSelectionBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1740, + 21 + ], + [ + 1751, + 1 + ] + ], + "doc": " Public: Add a similarly-shaped selection to the next eligible line below\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next following non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " + } + }, + "1751": { + "21": { + "name": "addSelectionAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1751, + 21 + ], + [ + 1759, + 1 + ] + ], + "doc": " Public: Add a similarly-shaped selection to the next eligible line above\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next preceding non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " + } + }, + "1759": { + "28": { + "name": "splitSelectionsIntoLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1759, + 28 + ], + [ + 1776, + 1 + ] + ], + "doc": " Public: Split multi-line selections into one selection per line.\n\nOperates on all selections. This method breaks apart all multi-line\nselections to create multiple single-line selections that cumulatively cover\nthe same original area. " + } + }, + "1776": { + "13": { + "name": "transpose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1776, + 13 + ], + [ + 1791, + 1 + ] + ], + "doc": " Public: For each selection, transpose the selected text.\n\nIf the selection is empty, the characters preceding and following the cursor\nare swapped. Otherwise, the selected characters are reversed. " + } + }, + "1791": { + "13": { + "name": "upperCase", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1791, + 13 + ], + [ + 1798, + 1 + ] + ], + "doc": " Public: Convert the selected text to upper case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " + } + }, + "1798": { + "13": { + "name": "lowerCase", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1798, + 13 + ], + [ + 1809, + 1 + ] + ], + "doc": " Public: Convert the selected text to lower case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " + } + }, + "1809": { + "13": { + "name": "joinLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1809, + 13 + ], + [ + 1816, + 1 + ] + ], + "doc": " Private: Convert multiple lines to a single line.\n\nOperates on all selections. If the selection is empty, joins the current\nline with the next line. Otherwise it joins all lines that intersect the\nselection.\n\nJoining a line means that multiple lines are converted to a single line with\nthe contents of each of the original non-empty lines separated by a space. " + } + }, + "1816": { + "27": { + "name": "selectToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1816, + 27 + ], + [ + 1823, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of their containing word.\n\nOperates on all selections. Moves the cursor to the beginning of the\ncontaining word while preserving the selection's tail position. " + } + }, + "1823": { + "21": { + "name": "selectToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1823, + 21 + ], + [ + 1830, + 1 + ] + ], + "doc": " Public: Expand selections to the end of their containing word.\n\nOperates on all selections. Moves the cursor to the end of the containing\nword while preserving the selection's tail position. " + } + }, + "1830": { + "31": { + "name": "selectToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1830, + 31 + ], + [ + 1834, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next word.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nword while preserving the selection's tail position. " + } + }, + "1834": { + "14": { + "name": "selectWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1834, + 14 + ], + [ + 1841, + 1 + ] + ], + "doc": "Public: Select the word containing each cursor. " + } + }, + "1841": { + "36": { + "name": "selectToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1841, + 36 + ], + [ + 1848, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " + } + }, + "1848": { + "40": { + "name": "selectToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1848, + 40 + ], + [ + 1856, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " + } + }, + "1856": { + "16": { + "name": "selectMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1856, + 16 + ], + [ + 1863, + 1 + ] + ], + "doc": " Public: Select the range of the given marker if it is valid.\n\nmarker - A {DisplayBufferMarker}\n\nReturns the selected {Range} or `undefined` if the marker is invalid. " + } + }, + "1863": { + "16": { + "name": "mergeCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1863, + 16 + ], + [ + 1873, + 1 + ] + ], + "doc": "Private: Merge cursors that have the same screen position " + } + }, + "1873": { + "27": { + "name": "expandSelectionsForward", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1873, + 27 + ], + [ + 1879, + 1 + ] + ], + "doc": "Private: Calls the given function with each selection, then merges selections " + } + }, + "1879": { + "28": { + "name": "expandSelectionsBackward", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1879, + 28 + ], + [ + 1883, + 1 + ] + ], + "doc": " Private: Calls the given function with each selection, then merges selections in the\nreversed orientation " + } + }, + "1883": { + "22": { + "name": "finalizeSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1883, + 22 + ], + [ + 1889, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1889": { + "31": { + "name": "mergeIntersectingSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1889, + 31 + ], + [ + 1910, + 1 + ] + ], + "doc": " Private: Merges intersecting selections. If passed a function, it executes\nthe function with merging suppressed, then merges intersecting selections\nafterward. " + } + }, + "1910": { + "40": { + "name": "preserveCursorPositionOnBufferReload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1910, + 40 + ], + [ + 1919, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1919": { + "14": { + "name": "getGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1919, + 14 + ], + [ + 1926, + 1 + ] + ], + "doc": "Public: Get the current {Grammar} of this editor. " + } + }, + "1926": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 1926, + 14 + ], + [ + 1930, + 1 + ] + ], + "doc": " Public: Set the current {Grammar} of this editor.\n\nAssigning a grammar will cause the editor to re-tokenize based on the new\ngrammar. " + } + }, + "1930": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1930, + 17 + ], + [ + 1933, + 1 + ] + ], + "doc": "Private: Reload the grammar based on the file name. " + } + }, + "1933": { + "20": { + "name": "shouldAutoIndent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1933, + 20 + ], + [ + 1944, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1944": { + "12": { + "name": "transact", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1944, + 12 + ], + [ + 1944, + 39 + ] + ], + "doc": " Public: Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " + } + }, + "1952": { + "20": { + "name": "beginTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1952, + 20 + ], + [ + 1952, + 48 + ] + ], + "doc": " Public: Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " + } + }, + "1958": { + "21": { + "name": "commitTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1958, + 21 + ], + [ + 1958, + 50 + ] + ], + "doc": " Public: Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " + } + }, + "1962": { + "20": { + "name": "abortTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1962, + 20 + ], + [ + 1962, + 48 + ] + ], + "doc": " Public: Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " + } + }, + "1964": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1964, + 11 + ], + [ + 1967, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1967": { + "18": { + "name": "logScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 1967, + 18 + ], + [ + 1967, + 68 + ] + ], + "doc": "~Private~" + } + }, + "1969": { + "22": { + "name": "handleTokenization", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1969, + 22 + ], + [ + 1972, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1972": { + "23": { + "name": "handleGrammarChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1972, + 23 + ], + [ + 1976, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1976": { + "23": { + "name": "handleMarkerCreated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1976, + 23 + ], + [ + 1980, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1980": { + "32": { + "name": "getSelectionMarkerAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1980, + 32 + ], + [ + 1983, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1983": { + "27": { + "name": "getVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1983, + 27 + ], + [ + 1983, + 69 + ] + ], + "doc": "~Private~" + } + }, + "1984": { + "27": { + "name": "setVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "verticalScrollMargin" + ], + "range": [ + [ + 1984, + 27 + ], + [ + 1984, + 112 + ] + ] + } + }, + "1986": { + "29": { + "name": "getHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1986, + 29 + ], + [ + 1986, + 73 + ] + ], + "doc": "~Private~" + } + }, + "1987": { + "29": { + "name": "setHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "horizontalScrollMargin" + ], + "range": [ + [ + 1987, + 29 + ], + [ + 1987, + 120 + ] + ] + } + }, + "1989": { + "25": { + "name": "getLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1989, + 25 + ], + [ + 1989, + 65 + ] + ], + "doc": "~Private~" + } + }, + "1990": { + "25": { + "name": "setLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeightInPixels" + ], + "range": [ + [ + 1990, + 25 + ], + [ + 1990, + 104 + ] + ] + } + }, + "1992": { + "29": { + "name": "batchCharacterMeasurement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1992, + 29 + ], + [ + 1992, + 80 + ] + ], + "doc": "~Private~" + } + }, + "1994": { + "22": { + "name": "getScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char" + ], + "range": [ + [ + 1994, + 22 + ], + [ + 1994, + 94 + ] + ], + "doc": "~Private~" + } + }, + "1995": { + "22": { + "name": "setScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char", + "width" + ], + "range": [ + [ + 1995, + 22 + ], + [ + 1995, + 108 + ] + ] + } + }, + "1997": { + "23": { + "name": "getScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames" + ], + "range": [ + [ + 1997, + 23 + ], + [ + 1997, + 84 + ] + ], + "doc": "~Private~" + } + }, + "1999": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1999, + 25 + ], + [ + 1999, + 65 + ] + ], + "doc": "~Private~" + } + }, + "2001": { + "23": { + "name": "getDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2001, + 23 + ], + [ + 2001, + 61 + ] + ], + "doc": "~Private~" + } + }, + "2002": { + "23": { + "name": "setDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultCharWidth" + ], + "range": [ + [ + 2002, + 23 + ], + [ + 2002, + 96 + ] + ] + } + }, + "2004": { + "13": { + "name": "setHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "height" + ], + "range": [ + [ + 2004, + 13 + ], + [ + 2004, + 56 + ] + ], + "doc": "~Private~" + } + }, + "2005": { + "13": { + "name": "getHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2005, + 13 + ], + [ + 2005, + 41 + ] + ] + } + }, + "2007": { + "19": { + "name": "getClientHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2007, + 19 + ], + [ + 2007, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2009": { + "12": { + "name": "setWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width" + ], + "range": [ + [ + 2009, + 12 + ], + [ + 2009, + 52 + ] + ], + "doc": "~Private~" + } + }, + "2010": { + "12": { + "name": "getWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2010, + 12 + ], + [ + 2010, + 39 + ] + ] + } + }, + "2012": { + "16": { + "name": "getScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2012, + 16 + ], + [ + 2012, + 47 + ] + ], + "doc": "~Private~" + } + }, + "2013": { + "16": { + "name": "setScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 2013, + 16 + ], + [ + 2013, + 68 + ] + ] + } + }, + "2015": { + "19": { + "name": "getScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2015, + 19 + ], + [ + 2015, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2016": { + "19": { + "name": "setScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 2016, + 19 + ], + [ + 2016, + 80 + ] + ] + } + }, + "2018": { + "17": { + "name": "getScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2018, + 17 + ], + [ + 2018, + 49 + ] + ], + "doc": "~Private~" + } + }, + "2019": { + "17": { + "name": "setScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 2019, + 17 + ], + [ + 2019, + 72 + ] + ] + } + }, + "2021": { + "18": { + "name": "getScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2021, + 18 + ], + [ + 2021, + 51 + ] + ], + "doc": "~Private~" + } + }, + "2022": { + "18": { + "name": "setScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 2022, + 18 + ], + [ + 2022, + 76 + ] + ] + } + }, + "2024": { + "19": { + "name": "getScrollHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2024, + 19 + ], + [ + 2024, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2025": { + "18": { + "name": "getScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollWidth" + ], + "range": [ + [ + 2025, + 18 + ], + [ + 2025, + 76 + ] + ] + } + }, + "2027": { + "22": { + "name": "getVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2027, + 22 + ], + [ + 2027, + 59 + ] + ], + "doc": "~Private~" + } + }, + "2029": { + "29": { + "name": "intersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 2029, + 29 + ], + [ + 2029, + 108 + ] + ], + "doc": "~Private~" + } + }, + "2031": { + "38": { + "name": "selectionIntersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 2031, + 38 + ], + [ + 2031, + 112 + ] + ], + "doc": "~Private~" + } + }, + "2033": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 2033, + 34 + ], + [ + 2033, + 114 + ] + ], + "doc": "~Private~" + } + }, + "2035": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 2035, + 34 + ], + [ + 2035, + 114 + ] + ], + "doc": "~Private~" + } + }, + "2037": { + "34": { + "name": "screenPositionForPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 2037, + 34 + ], + [ + 2037, + 112 + ] + ], + "doc": "~Private~" + } + }, + "2039": { + "27": { + "name": "pixelRectForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 2039, + 27 + ], + [ + 2039, + 94 + ] + ], + "doc": "~Private~" + } + }, + "2041": { + "23": { + "name": "scrollToScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 2041, + 23 + ], + [ + 2041, + 104 + ] + ], + "doc": "~Private~" + } + }, + "2043": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 2043, + 26 + ], + [ + 2043, + 116 + ] + ], + "doc": "~Private~" + } + }, + "2045": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 2045, + 26 + ], + [ + 2045, + 116 + ] + ], + "doc": "~Private~" + } + }, + "2047": { + "26": { + "name": "horizontallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2047, + 26 + ], + [ + 2047, + 67 + ] + ], + "doc": "~Private~" + } + }, + "2049": { + "24": { + "name": "verticallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2049, + 24 + ], + [ + 2049, + 63 + ] + ], + "doc": "~Private~" + } + }, + "2051": { + "32": { + "name": "getHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2051, + 32 + ], + [ + 2051, + 79 + ] + ], + "doc": "~Private~" + } + }, + "2052": { + "32": { + "name": "setHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "height" + ], + "range": [ + [ + 2052, + 32 + ], + [ + 2052, + 94 + ] + ] + } + }, + "2054": { + "29": { + "name": "getVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2054, + 29 + ], + [ + 2054, + 73 + ] + ], + "doc": "~Private~" + } + }, + "2055": { + "29": { + "name": "setVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width" + ], + "range": [ + [ + 2055, + 29 + ], + [ + 2055, + 86 + ] + ] + } + }, + "2058": { + "12": { + "name": "joinLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2058, + 12 + ], + [ + 2060, + 16 + ] + ], + "doc": "Deprecated: Call {::joinLines} instead. " + } + } + }, + "exports": 138 + }, + "src/fold.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "7": { + "0": { + "type": "class", + "name": "Fold", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 8, + 6 + ], + [ + 9, + 17 + ], + [ + 10, + 10 + ], + [ + 12, + 15 + ], + [ + 20, + 22 + ], + [ + 27, + 11 + ], + [ + 35, + 18 + ], + [ + 48, + 21 + ], + [ + 53, + 15 + ], + [ + 57, + 13 + ], + [ + 61, + 11 + ], + [ + 67, + 21 + ], + [ + 75, + 21 + ], + [ + 78, + 23 + ], + [ + 82, + 13 + ] + ], + "doc": " Private: Represents a fold that collapses multiple buffer lines into a single\nline on the screen.\n\nTheir creation is managed by the {DisplayBuffer}. ", + "range": [ + [ + 7, + 0 + ], + [ + 84, + 26 + ] + ] + } + }, + "8": { + "6": { + "name": "id", + "type": "primitive", + "range": [ + [ + 8, + 6 + ], + [ + 8, + 9 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "17": { + "name": "displayBuffer", + "type": "primitive", + "range": [ + [ + 9, + 17 + ], + [ + 9, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "10": { + "name": "marker", + "type": "primitive", + "range": [ + [ + 10, + 10 + ], + [ + 10, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 20, + 1 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "22": { + "name": "isInsideLargerFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 22 + ], + [ + 27, + 1 + ] + ], + "doc": "Private: Returns whether this fold is contained within another fold " + } + }, + "27": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 11 + ], + [ + 35, + 1 + ] + ], + "doc": "Private: Destroys this fold " + } + }, + "35": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 35, + 18 + ], + [ + 48, + 1 + ] + ], + "doc": " Private: Returns the fold's {Range} in buffer coordinates\n\nincludeNewline - A {Boolean} which, if `true`, includes the trailing newline\n\nReturns a {Range}. " + } + }, + "48": { + "21": { + "name": "getBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 21 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "15": { + "name": "getStartRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 15 + ], + [ + 57, + 1 + ] + ], + "doc": "Private: Returns the fold's start row as a {Number}. " + } + }, + "57": { + "13": { + "name": "getEndRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 13 + ], + [ + 61, + 1 + ] + ], + "doc": "Private: Returns the fold's end row as a {Number}. " + } + }, + "61": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 11 + ], + [ + 67, + 1 + ] + ], + "doc": "Private: Returns a {String} representation of the fold. " + } + }, + "67": { + "21": { + "name": "getBufferRowCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 21 + ], + [ + 75, + 1 + ] + ], + "doc": " Private: Retrieves the number of buffer rows spanned by the fold.\n\nReturns a {Number}. " + } + }, + "75": { + "21": { + "name": "isContainedByFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fold" + ], + "range": [ + [ + 75, + 21 + ], + [ + 78, + 1 + ] + ], + "doc": " Private: Identifies if a fold is nested within a fold.\n\nfold - A {Fold} to check\n\nReturns a {Boolean}. " + } + }, + "78": { + "23": { + "name": "updateDisplayBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 78, + 23 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 13 + ], + [ + 84, + 26 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 7 + }, + "src/git.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true, + "name": "join", + "exportsProperty": "join" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@2.x" + } + }, + "5": { + "11": { + "name": "GitUtils", + "type": "import", + "range": [ + [ + 5, + 11 + ], + [ + 5, + 29 + ] + ], + "bindingType": "variable", + "module": "git-utils" + } + }, + "7": { + "7": { + "name": "Task", + "type": "import", + "range": [ + [ + 7, + 7 + ], + [ + 7, + 22 + ] + ], + "bindingType": "variable", + "path": "./task" + } + }, + "40": { + "0": { + "type": "class", + "name": "Git", + "bindingType": "exports", + "classProperties": [ + [ + 52, + 9 + ], + [ + 59, + 11 + ] + ], + "prototypeProperties": [ + [ + 66, + 15 + ], + [ + 89, + 21 + ], + [ + 97, + 11 + ], + [ + 109, + 11 + ], + [ + 117, + 16 + ], + [ + 120, + 11 + ], + [ + 124, + 23 + ], + [ + 132, + 17 + ], + [ + 149, + 17 + ], + [ + 152, + 20 + ], + [ + 155, + 18 + ], + [ + 158, + 15 + ], + [ + 161, + 13 + ], + [ + 165, + 19 + ], + [ + 169, + 14 + ], + [ + 181, + 16 + ], + [ + 196, + 16 + ], + [ + 209, + 21 + ], + [ + 222, + 16 + ], + [ + 231, + 15 + ], + [ + 247, + 22 + ], + [ + 265, + 16 + ], + [ + 276, + 18 + ], + [ + 282, + 16 + ], + [ + 291, + 21 + ], + [ + 298, + 22 + ], + [ + 310, + 17 + ], + [ + 318, + 23 + ], + [ + 330, + 37 + ], + [ + 338, + 23 + ], + [ + 342, + 13 + ], + [ + 346, + 17 + ] + ], + "doc": " Public: Represents the underlying git operations performed by Atom.\n\nThis class shouldn't be instantiated directly but instead by accessing the\n`atom.project` global and calling `getRepo()`. Note that this will only be\navailable when the project is backed by a Git repository.\n\nThis class handles submodules automatically by taking a `path` argument to many\nof the methods. This `path` argument will determine which underlying\nrepository is used.\n\nFor a repository with submodules this would have the following outcome:\n\n```coffee\nrepo = atom.project.getRepo()\nrepo.getShortHead() # 'master'\nrepo.getShortHead('vendor/path/to/a/submodule') # 'dead1234'\n```\n\n## Example\n\n```coffeescript\ngit = atom.project.getRepo()\nconsole.log git.getOriginUrl()\n```\n\n## Requiring in packages\n\n```coffee\n {Git} = require 'atom'\n``` ", + "range": [ + [ + 40, + 0 + ], + [ + 364, + 55 + ] + ] + } + }, + "52": { + "9": { + "name": "open", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "path", + "options" + ], + "range": [ + [ + 52, + 9 + ], + [ + 59, + 1 + ] + ], + "doc": " Public: Creates a new Git instance.\n\npath - The path to the Git repository to open.\noptions - An object with the following keys (default: {}):\n :refreshOnWindowFocus - `true` to refresh the index and statuses when the\n window is focused.\n\nReturns a Git instance or null if the repository could not be opened. " + } + }, + "59": { + "11": { + "name": "exists", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 59, + 11 + ], + [ + 66, + 1 + ] + ], + "doc": "~Private~" + } + }, + "66": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "options" + ], + "range": [ + [ + 66, + 15 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "subscribeToBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer" + ], + "range": [ + [ + 89, + 21 + ], + [ + 97, + 1 + ] + ], + "doc": "Private: Subscribes to buffer events. " + } + }, + "97": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 97, + 11 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Destroy this `Git` object. This destroys any tasks and subscriptions\nand releases the underlying libgit2 repository handle. " + } + }, + "109": { + "11": { + "name": "getRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 109, + 11 + ], + [ + 117, + 1 + ] + ], + "doc": "Private: Returns the corresponding {Repository} " + } + }, + "117": { + "16": { + "name": "refreshIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 16 + ], + [ + 117, + 43 + ] + ], + "doc": " Private: Reread the index to update any values that have changed since the\nlast time the index was read. " + } + }, + "120": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 120, + 11 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Returns the {String} path of the repository. " + } + }, + "124": { + "23": { + "name": "getWorkingDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 23 + ], + [ + 124, + 57 + ] + ], + "doc": "Public: Returns the {String} working directory path of the repository. " + } + }, + "132": { + "17": { + "name": "getPathStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 132, + 17 + ], + [ + 149, + 1 + ] + ], + "doc": " Public: Get the status of a single path in the repository.\n\npath - A {String} repository-relative path.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " + } + }, + "149": { + "17": { + "name": "isPathIgnored", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 149, + 17 + ], + [ + 149, + 65 + ] + ], + "doc": " Public: Is the given path ignored?\n\nReturns a {Boolean}. " + } + }, + "152": { + "20": { + "name": "isStatusModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 152, + 20 + ], + [ + 152, + 66 + ] + ], + "doc": "Public: Returns true if the given status indicates modification. " + } + }, + "155": { + "18": { + "name": "isPathModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 155, + 18 + ], + [ + 155, + 66 + ] + ], + "doc": "Public: Returns true if the given path is modified. " + } + }, + "158": { + "15": { + "name": "isStatusNew", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 158, + 15 + ], + [ + 158, + 56 + ] + ], + "doc": "Public: Returns true if the given status indicates a new path. " + } + }, + "161": { + "13": { + "name": "isPathNew", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 161, + 13 + ], + [ + 161, + 56 + ] + ], + "doc": "Public: Returns true if the given path is new. " + } + }, + "165": { + "19": { + "name": "isProjectAtRoot", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 19 + ], + [ + 169, + 1 + ] + ], + "doc": " Public: Returns true if at the root, false if in a subfolder of the\nrepository. " + } + }, + "169": { + "14": { + "name": "relativize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 169, + 14 + ], + [ + 169, + 50 + ] + ], + "doc": "Public: Makes a path relative to the repository's working directory. " + } + }, + "181": { + "16": { + "name": "getShortHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 181, + 16 + ], + [ + 181, + 54 + ] + ], + "doc": " Public: Retrieves a shortened version of the HEAD reference value.\n\nThis removes the leading segments of `refs/heads`, `refs/tags`, or\n`refs/remotes`. It also shortens the SHA-1 of a detached `HEAD` to 7\ncharacters.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository contains submodules.\n\nReturns a {String}. " + } + }, + "196": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 196, + 16 + ], + [ + 209, + 1 + ] + ], + "doc": " Public: Restore the contents of a path in the working directory and index\nto the version at `HEAD`.\n\nThis is essentially the same as running:\n\n```\ngit reset HEAD -- \ngit checkout HEAD -- \n```\n\npath - The {String} path to checkout.\n\nReturns a {Boolean} that's true if the method was successful. " + } + }, + "209": { + "21": { + "name": "checkoutReference", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "create" + ], + "range": [ + [ + 209, + 21 + ], + [ + 222, + 1 + ] + ], + "doc": " Public: Checks out a branch in your repository.\n\nreference - The String reference to checkout\ncreate - A Boolean value which, if true creates the new reference if it\n doesn't exist.\n\nReturns a Boolean that's true if the method was successful. " + } + }, + "222": { + "16": { + "name": "getDiffStats", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 222, + 16 + ], + [ + 231, + 1 + ] + ], + "doc": " Public: Retrieves the number of lines added and removed to a path.\n\nThis compares the working directory contents of the path to the `HEAD`\nversion.\n\npath - The {String} path to check.\n\nReturns an {Object} with the following keys:\n :added - The {Number} of added lines.\n :deleted - The {Number} of deleted lines. " + } + }, + "231": { + "15": { + "name": "isSubmodule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 231, + 15 + ], + [ + 247, + 1 + ] + ], + "doc": " Public: Is the given path a submodule in the repository?\n\npath - The {String} path to check.\n\nReturns a {Boolean}. " + } + }, + "247": { + "22": { + "name": "getDirectoryStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "directoryPath" + ], + "range": [ + [ + 247, + 22 + ], + [ + 265, + 1 + ] + ], + "doc": " Public: Get the status of a directory in the repository's working directory.\n\npath - The {String} path to check.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " + } + }, + "265": { + "16": { + "name": "getLineDiffs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "text" + ], + "range": [ + [ + 265, + 16 + ], + [ + 276, + 1 + ] + ], + "doc": " Public: Retrieves the line diffs comparing the `HEAD` version of the given\npath and the given text.\n\npath - The {String} path relative to the repository.\ntext - The {String} to compare against the `HEAD` contents\n\nReturns an {Array} of hunk {Object}s with the following keys:\n :oldStart - The line {Number} of the old hunk.\n :newStart - The line {Number} of the new hunk.\n :oldLines - The {Number} of lines in the old hunk.\n :newLines - The {Number} of lines in the new hunk " + } + }, + "276": { + "18": { + "name": "getConfigValue", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "key", + "path" + ], + "range": [ + [ + 276, + 18 + ], + [ + 276, + 66 + ] + ], + "doc": " Public: Returns the git configuration value specified by the key.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " + } + }, + "282": { + "16": { + "name": "getOriginUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 282, + 16 + ], + [ + 282, + 67 + ] + ], + "doc": " Public: Returns the origin url of the repository.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " + } + }, + "291": { + "21": { + "name": "getUpstreamBranch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 291, + 21 + ], + [ + 291, + 64 + ] + ], + "doc": " Public: Returns the upstream branch for the current HEAD, or null if there\nis no upstream branch for the current HEAD.\n\npath - An optional {String} path in the repo to get this information for,\n only needed if the repository contains submodules.\n\nReturns a {String} branch name such as `refs/remotes/origin/master`. " + } + }, + "298": { + "22": { + "name": "getReferenceTarget", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "path" + ], + "range": [ + [ + 298, + 22 + ], + [ + 310, + 1 + ] + ], + "doc": " Public: Returns the current SHA for the given reference.\n\nreference - The {String} reference to get the target of.\npath - An optional {String} path in the repo to get the reference target\n for. Only needed if the repository contains submodules. " + } + }, + "310": { + "17": { + "name": "getReferences", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 310, + 17 + ], + [ + 310, + 56 + ] + ], + "doc": " Public: Gets all the local and remote references.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :heads - An {Array} of head reference names.\n :remotes - An {Array} of remote reference names.\n :tags - An {Array} of tag reference names. " + } + }, + "318": { + "23": { + "name": "getAheadBehindCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "path" + ], + "range": [ + [ + 318, + 23 + ], + [ + 330, + 1 + ] + ], + "doc": " Public: Returns the number of commits behind the current branch is from the\nits upstream remote branch.\n\nreference - The {String} branch reference name.\npath - The {String} path in the repository to get this information for,\n only needed if the repository contains submodules. " + } + }, + "330": { + "37": { + "name": "getCachedUpstreamAheadBehindCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 330, + 37 + ], + [ + 338, + 1 + ] + ], + "doc": " Public: Get the cached ahead/behind commit counts for the current branch's\nupstream branch.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :ahead - The {Number} of commits ahead.\n :behind - The {Number} of commits behind. " + } + }, + "338": { + "23": { + "name": "getCachedPathStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 338, + 23 + ], + [ + 342, + 1 + ] + ], + "doc": " Public: Get the cached status for the given path.\n\npath - A {String} path in the repository, relative or absolute.\n\nReturns a status {Number} or null if the path is not in the cache. " + } + }, + "342": { + "13": { + "name": "hasBranch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "branch" + ], + "range": [ + [ + 342, + 13 + ], + [ + 342, + 68 + ] + ], + "doc": "Public: Returns true if the given branch exists. " + } + }, + "346": { + "17": { + "name": "refreshStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 17 + ], + [ + 364, + 55 + ] + ], + "doc": " Private: Refreshes the current git status in an outside process and asynchronously\nupdates the relevant properties. " + } + } + }, + "exports": 40 + }, + "src/gutter-component.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqual", + "exportsProperty": "isEqual" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 29 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "32": { + "type": "import", + "range": [ + [ + 3, + 32 + ], + [ + 3, + 45 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "multiplyString", + "exportsProperty": "multiplyString" + }, + "48": { + "type": "import", + "range": [ + [ + 3, + 48 + ], + [ + 3, + 54 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "toArray", + "exportsProperty": "toArray" + } + }, + "4": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 4, + 13 + ], + [ + 4, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "5": { + "18": { + "name": "SubscriberMixin", + "type": "import", + "range": [ + [ + 5, + 18 + ], + [ + 5, + 45 + ] + ], + "bindingType": "variable", + "path": "./subscriber-mixin" + } + }, + "7": { + "13": { + "name": "WrapperDiv", + "type": "function", + "range": [ + [ + 7, + 13 + ], + [ + 7, + 41 + ] + ] + } + }, + "10": { + "18": { + "name": "GutterComponent", + "type": "function", + "range": [ + [ + 10, + 18 + ], + [ + 227, + 39 + ] + ] + } + }, + "11": { + "15": { + "name": "'GutterComponent'", + "type": "primitive", + "range": [ + [ + 11, + 15 + ], + [ + 11, + 31 + ] + ] + } + }, + "12": { + "10": { + "type": "primitive", + "range": [ + [ + 12, + 10 + ], + [ + 12, + 26 + ] + ] + } + }, + "14": { + "23": { + "type": "primitive", + "range": [ + [ + 14, + 23 + ], + [ + 14, + 26 + ] + ] + } + }, + "15": { + "17": { + "type": "primitive", + "range": [ + [ + 15, + 17 + ], + [ + 15, + 20 + ] + ] + } + }, + "17": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 10 + ], + [ + 29, + 1 + ] + ], + "doc": null + } + }, + "29": { + "16": { + "name": "getTransform", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 16 + ], + [ + 37, + 1 + ] + ], + "doc": null + } + }, + "37": { + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 37, + 22 + ], + [ + 43, + 1 + ] + ], + "doc": null + } + }, + "43": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 21 + ], + [ + 50, + 1 + ] + ], + "doc": null + } + }, + "50": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 50, + 25 + ], + [ + 64, + 1 + ] + ], + "doc": null + } + }, + "64": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "oldProps" + ], + "range": [ + [ + 64, + 22 + ], + [ + 74, + 1 + ] + ], + "doc": null + } + }, + "74": { + "24": { + "name": "clearScreenRowCaches", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 24 + ], + [ + 80, + 1 + ] + ], + "doc": null + } + }, + "80": { + "25": { + "name": "appendDummyLineNumber", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 80, + 25 + ], + [ + 86, + 1 + ] + ], + "doc": null + } + }, + "86": { + "25": { + "name": "updateDummyLineNumber", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 25 + ], + [ + 89, + 1 + ] + ], + "doc": null + } + }, + "89": { + "21": { + "name": "updateLineNumbers", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 93, + 1 + ] + ], + "doc": null + } + }, + "93": { + "40": { + "name": "appendOrUpdateVisibleLineNumberNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 93, + 40 + ], + [ + 138, + 1 + ] + ], + "doc": null + } + }, + "138": { + "25": { + "name": "removeLineNumberNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberIdsToPreserve" + ], + "range": [ + [ + 138, + 25 + ], + [ + 150, + 1 + ] + ], + "doc": null + } + }, + "150": { + "23": { + "name": "buildLineNumberHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bufferRow", + "softWrapped", + "maxLineNumberDigits", + "screenRow" + ], + "range": [ + [ + 150, + 23 + ], + [ + 169, + 1 + ] + ], + "doc": null + } + }, + "169": { + "28": { + "name": "buildLineNumberInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bufferRow", + "softWrapped", + "maxLineNumberDigits" + ], + "range": [ + [ + 169, + 28 + ], + [ + 179, + 1 + ] + ], + "doc": null + } + }, + "179": { + "24": { + "name": "updateLineNumberNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberId", + "bufferRow", + "screenRow", + "softWrapped" + ], + "range": [ + [ + 179, + 24 + ], + [ + 208, + 1 + ] + ], + "doc": null + } + }, + "208": { + "17": { + "name": "hasDecoration", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "decorations", + "decoration" + ], + "range": [ + [ + 208, + 17 + ], + [ + 211, + 1 + ] + ], + "doc": null + } + }, + "211": { + "21": { + "name": "hasLineNumberNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberId" + ], + "range": [ + [ + 211, + 21 + ], + [ + 214, + 1 + ] + ], + "doc": null + } + }, + "214": { + "30": { + "name": "lineNumberNodeForScreenRow", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 214, + 30 + ], + [ + 217, + 1 + ] + ], + "doc": null + } + }, + "217": { + "11": { + "name": "onClick", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 217, + 11 + ], + [ + 227, + 39 + ] + ], + "doc": null + } + } + }, + "exports": 10 + }, + "src/gutter-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "10": { + "type": "import", + "range": [ + [ + 0, + 10 + ], + [ + 0, + 11 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + }, + "14": { + "type": "import", + "range": [ + [ + 0, + 14 + ], + [ + 0, + 16 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$$", + "exportsProperty": "$$$" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "8": { + "0": { + "type": "class", + "name": "GutterView", + "bindingType": "exports", + "classProperties": [ + [ + 9, + 12 + ] + ], + "prototypeProperties": [ + [ + 13, + 18 + ], + [ + 14, + 17 + ], + [ + 16, + 14 + ], + [ + 19, + 15 + ], + [ + 28, + 16 + ], + [ + 31, + 21 + ], + [ + 53, + 17 + ], + [ + 56, + 13 + ], + [ + 62, + 22 + ], + [ + 68, + 25 + ], + [ + 74, + 33 + ], + [ + 83, + 24 + ], + [ + 91, + 22 + ], + [ + 101, + 27 + ], + [ + 115, + 18 + ], + [ + 126, + 23 + ], + [ + 135, + 21 + ], + [ + 169, + 23 + ], + [ + 175, + 22 + ], + [ + 179, + 22 + ], + [ + 190, + 21 + ], + [ + 194, + 25 + ], + [ + 221, + 25 + ], + [ + 235, + 24 + ], + [ + 242, + 20 + ], + [ + 250, + 18 + ] + ], + "doc": " Private: Represents the portion of the {EditorView} containing row numbers.\n\nThe gutter also indicates if rows are folded. ", + "range": [ + [ + 8, + 0 + ], + [ + 274, + 29 + ] + ] + } + }, + "9": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 12 + ], + [ + 13, + 1 + ] + ] + } + }, + "13": { + "18": { + "name": "firstScreenRow", + "type": "primitive", + "range": [ + [ + 13, + 18 + ], + [ + 13, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "17": { + "name": "lastScreenRow", + "type": "primitive", + "range": [ + [ + 14, + 17 + ], + [ + 14, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 14 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 19, + 15 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 16 + ], + [ + 31, + 1 + ] + ], + "doc": "~Private~" + } + }, + "31": { + "21": { + "name": "handleMouseEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 31, + 21 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "17": { + "name": "getEditorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 17 + ], + [ + 56, + 1 + ] + ], + "doc": " Private: Retrieves the containing {EditorView}.\n\nReturns an {EditorView}. " + } + }, + "56": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 13 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "22": { + "name": "setShowLineNumbers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showLineNumbers" + ], + "range": [ + [ + 62, + 22 + ], + [ + 68, + 1 + ] + ], + "doc": " Private: Defines whether to show the gutter or not.\n\nshowLineNumbers - A {Boolean} which, if `false`, hides the gutter " + } + }, + "68": { + "25": { + "name": "getLineNumberElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 25 + ], + [ + 74, + 1 + ] + ], + "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " + } + }, + "74": { + "33": { + "name": "getLineNumberElementsForClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 74, + 33 + ], + [ + 83, + 1 + ] + ], + "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " + } + }, + "83": { + "24": { + "name": "getLineNumberElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 83, + 24 + ], + [ + 91, + 1 + ] + ], + "doc": " Private: Get a single line-number div.\n\n* bufferRow: 0 based line number\n\nReturns a list of {HTMLElement}s that correspond to the bufferRow. More than\none in the list indicates a wrapped line. " + } + }, + "91": { + "22": { + "name": "addClassToAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 91, + 22 + ], + [ + 101, + 1 + ] + ], + "doc": " Private: Add a class to all line-number divs.\n\n* klass: string class name\n\nReturns true if the class was added to any lines " + } + }, + "101": { + "27": { + "name": "removeClassFromAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 101, + 27 + ], + [ + 115, + 1 + ] + ], + "doc": " Private: Remove a class from all line-number divs.\n\n* klass: string class name. Can only be one class name. i.e. 'my-class'\n\nReturns true if the class was removed from any lines " + } + }, + "115": { + "18": { + "name": "addClassToLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "klass" + ], + "range": [ + [ + 115, + 18 + ], + [ + 126, + 1 + ] + ], + "doc": " Private: Add a class to a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was added to " + } + }, + "126": { + "23": { + "name": "removeClassFromLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "klass" + ], + "range": [ + [ + 126, + 23 + ], + [ + 135, + 1 + ] + ], + "doc": " Private: Remove a class from a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was removed from " + } + }, + "135": { + "21": { + "name": "updateLineNumbers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "changes", + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 135, + 21 + ], + [ + 169, + 1 + ] + ], + "doc": "~Private~" + } + }, + "169": { + "23": { + "name": "prependLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElements" + ], + "range": [ + [ + 169, + 23 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "22": { + "name": "appendLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElements" + ], + "range": [ + [ + 175, + 22 + ], + [ + 179, + 1 + ] + ], + "doc": "~Private~" + } + }, + "179": { + "22": { + "name": "removeLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "numberOfElements" + ], + "range": [ + [ + 179, + 22 + ], + [ + 190, + 1 + ] + ], + "doc": "~Private~" + } + }, + "190": { + "21": { + "name": "buildLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 190, + 21 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "25": { + "name": "buildLineElementsHtml", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 194, + 25 + ], + [ + 221, + 1 + ] + ], + "doc": "~Private~" + } + }, + "221": { + "25": { + "name": "updateFoldableClasses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "changes" + ], + "range": [ + [ + 221, + 25 + ], + [ + 235, + 1 + ] + ], + "doc": " Private: Called to update the 'foldable' class of line numbers when there's\na change to the display buffer that doesn't regenerate all the line numbers\nanyway. " + } + }, + "235": { + "24": { + "name": "removeLineHighlights", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 235, + 24 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "20": { + "name": "addLineHighlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "emptySelection" + ], + "range": [ + [ + 242, + 20 + ], + [ + 250, + 1 + ] + ], + "doc": "~Private~" + } + }, + "250": { + "18": { + "name": "highlightLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 250, + 18 + ], + [ + 274, + 29 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/highlight-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "21": { + "name": "HighlightComponent", + "type": "function", + "range": [ + [ + 5, + 21 + ], + [ + 89, + 110 + ] + ] + } + }, + "6": { + "15": { + "name": "'HighlightComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 34 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 20, + 1 + ] + ], + "doc": null + } + }, + "20": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 21 + ], + [ + 27, + 1 + ] + ], + "doc": null + } + }, + "27": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 24 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "23": { + "name": "startFlashAnimation", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 23 + ], + [ + 42, + 1 + ] + ], + "doc": null + } + }, + "42": { + "27": { + "name": "renderSingleLineRegions", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 27 + ], + [ + 53, + 1 + ] + ], + "doc": null + } + }, + "53": { + "26": { + "name": "renderMultiLineRegions", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 26 + ], + [ + 88, + 1 + ] + ], + "doc": null + } + }, + "88": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 88, + 25 + ], + [ + 89, + 110 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/highlights-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "3": { + "21": { + "name": "HighlightComponent", + "type": "import", + "range": [ + [ + 3, + 21 + ], + [ + 3, + 51 + ] + ], + "bindingType": "variable", + "path": "./highlight-component" + } + }, + "6": { + "22": { + "name": "HighlightsComponent", + "type": "function", + "range": [ + [ + 6, + 22 + ], + [ + 24, + 148 + ] + ] + } + }, + "7": { + "15": { + "name": "'HighlightsComponent'", + "type": "primitive", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 35 + ] + ] + } + }, + "9": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 10 + ], + [ + 13, + 1 + ] + ], + "doc": null + } + }, + "13": { + "20": { + "name": "renderHighlights", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 20 + ], + [ + 23, + 1 + ] + ], + "doc": null + } + }, + "23": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 23, + 25 + ], + [ + 24, + 148 + ] + ], + "doc": null + } + } + }, + "exports": 6 + }, + "src/input-component.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "last", + "exportsProperty": "last" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 13 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqual", + "exportsProperty": "isEqual" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "input", + "exportsProperty": "input" + } + }, + "5": { + "17": { + "name": "InputComponent", + "type": "function", + "range": [ + [ + 5, + 17 + ], + [ + 43, + 25 + ] + ] + } + }, + "6": { + "15": { + "name": "'InputComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 30 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 13, + 1 + ] + ], + "doc": null + } + }, + "13": { + "19": { + "name": "getInitialState", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 19 + ], + [ + 16, + 1 + ] + ], + "doc": null + } + }, + "16": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 21 + ], + [ + 21, + 1 + ] + ], + "doc": null + } + }, + "21": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 22 + ], + [ + 27, + 1 + ] + ], + "doc": null + } + }, + "27": { + "27": { + "name": "isPressAndHoldCharacter", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "char" + ], + "range": [ + [ + 27, + 27 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 30, + 25 + ], + [ + 33, + 1 + ] + ], + "doc": null + } + }, + "33": { + "11": { + "name": "onPaste", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 33, + 11 + ], + [ + 36, + 1 + ] + ], + "doc": null + } + }, + "36": { + "11": { + "name": "onFocus", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 36, + 11 + ], + [ + 39, + 1 + ] + ], + "doc": null + } + }, + "39": { + "10": { + "name": "onBlur", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 39, + 10 + ], + [ + 42, + 1 + ] + ], + "doc": null + } + }, + "42": { + "9": { + "name": "focus", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 9 + ], + [ + 43, + 25 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/keymap-extensions.coffee": { + "objects": { + "0": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 0, + 5 + ], + [ + 0, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@2.x" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "16": { + "name": "KeymapManager", + "type": "import", + "range": [ + [ + 2, + 16 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "atom-keymap" + } + }, + "3": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 6 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "jQuery", + "exportsProperty": "jQuery" + } + }, + "6": { + "36": { + "name": "KeymapManager.prototype.loadBundledKeymaps", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 36 + ], + [ + 9, + 0 + ] + ], + "doc": null + } + }, + "10": { + "35": { + "name": "KeymapManager.prototype.getUserKeymapPath", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 35 + ], + [ + 15, + 0 + ] + ], + "doc": null + } + }, + "16": { + "32": { + "name": "KeymapManager.prototype.loadUserKeymap", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 32 + ], + [ + 22, + 74 + ] + ], + "doc": null + } + }, + "23": { + "32": { + "name": "jQuery.Event.prototype.abortKeyBinding", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 23, + 32 + ], + [ + 25, + 0 + ] + ], + "doc": null + } + } + }, + "exports": 26 + }, + "src/language-mode.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 10 + ] + ], + "bindingType": "variable", + "module": "oniguruma", + "name": "OnigRegExp", + "exportsProperty": "OnigRegExp" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "6": { + "0": { + "type": "class", + "name": "LanguageMode", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 15 + ], + [ + 16, + 11 + ], + [ + 19, + 33 + ], + [ + 30, + 35 + ], + [ + 100, + 11 + ], + [ + 107, + 13 + ], + [ + 114, + 24 + ], + [ + 128, + 17 + ], + [ + 141, + 30 + ], + [ + 146, + 33 + ], + [ + 161, + 34 + ], + [ + 181, + 25 + ], + [ + 186, + 29 + ], + [ + 194, + 32 + ], + [ + 201, + 30 + ], + [ + 208, + 35 + ], + [ + 241, + 31 + ], + [ + 265, + 29 + ], + [ + 274, + 24 + ], + [ + 281, + 23 + ], + [ + 288, + 34 + ], + [ + 308, + 23 + ], + [ + 312, + 32 + ], + [ + 315, + 32 + ], + [ + 318, + 25 + ] + ], + "doc": "~Private~", + "range": [ + [ + 6, + 0 + ], + [ + 319, + 57 + ] + ] + } + }, + "13": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 13, + 15 + ], + [ + 16, + 1 + ] + ], + "doc": " Private: Sets up a `LanguageMode` for the given {Editor}.\n\neditor - The {Editor} to associate with " + } + }, + "16": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 11 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "33": { + "name": "toggleLineCommentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 19, + 33 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "35": { + "name": "toggleLineCommentsForBufferRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 30, + 35 + ], + [ + 100, + 1 + ] + ], + "doc": " Private: Wraps the lines between two rows in comments.\n\nIf the language doesn't have comment, nothing happens.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns an {Array} of the commented {Ranges}. " + } + }, + "100": { + "11": { + "name": "foldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 100, + 11 + ], + [ + 107, + 1 + ] + ], + "doc": "Private: Folds all the foldable lines in the buffer. " + } + }, + "107": { + "13": { + "name": "unfoldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 13 + ], + [ + 114, + 1 + ] + ], + "doc": "Private: Unfolds all the foldable lines in the buffer. " + } + }, + "114": { + "24": { + "name": "foldAllAtIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "indentLevel" + ], + "range": [ + [ + 114, + 24 + ], + [ + 128, + 1 + ] + ], + "doc": " Private: Fold all comment and code blocks at a given indentLevel\n\nindentLevel - A {Number} indicating indentLevel; 0 based. " + } + }, + "128": { + "17": { + "name": "foldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 128, + 17 + ], + [ + 141, + 1 + ] + ], + "doc": " Private: Given a buffer row, creates a fold at it.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns the new {Fold}. " + } + }, + "141": { + "30": { + "name": "rowRangeForFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 141, + 30 + ], + [ + 146, + 1 + ] + ], + "doc": " Private: Find the row range for a fold at a given bufferRow. Will handle comments\nand code.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of the [startRow, endRow]. Returns null if no range. " + } + }, + "146": { + "33": { + "name": "rowRangeForCommentAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 146, + 33 + ], + [ + 161, + 1 + ] + ], + "doc": "~Private~" + } + }, + "161": { + "34": { + "name": "rowRangeForCodeFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 161, + 34 + ], + [ + 181, + 1 + ] + ], + "doc": "~Private~" + } + }, + "181": { + "25": { + "name": "isFoldableAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 181, + 25 + ], + [ + 186, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether the given buffer row starts a\nfoldable row range. Rows that are \"foldable\" have a fold icon next to their\nicon in the gutter in the default configuration. " + } + }, + "186": { + "29": { + "name": "isFoldableCodeAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 186, + 29 + ], + [ + 194, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na a foldable row range due to the code's indentation patterns. " + } + }, + "194": { + "32": { + "name": "isFoldableCommentAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 194, + 32 + ], + [ + 201, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na foldable row range due to being the start of a multi-line comment. " + } + }, + "201": { + "30": { + "name": "isLineCommentedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 201, + 30 + ], + [ + 208, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the line at the given buffer\nrow is a comment. " + } + }, + "208": { + "35": { + "name": "rowRangeForParagraphAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 208, + 35 + ], + [ + 241, + 1 + ] + ], + "doc": " Private: Find a row range for a 'paragraph' around specified bufferRow.\nRight now, a paragraph is a block of text bounded by and empty line or a\nblock of text that is not the same type (comments next to source code). " + } + }, + "241": { + "31": { + "name": "suggestedIndentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 241, + 31 + ], + [ + 265, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns a suggested indentation level.\n\nThe indentation level provided is based on the current {LanguageMode}.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Number}. " + } + }, + "265": { + "29": { + "name": "minIndentLevelForRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 265, + 29 + ], + [ + 274, + 1 + ] + ], + "doc": " Private: Calculate a minimum indent level for a range of lines excluding empty lines.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns a {Number} of the indent level of the block of lines. " + } + }, + "274": { + "24": { + "name": "autoIndentBufferRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 274, + 24 + ], + [ + 281, + 1 + ] + ], + "doc": " Private: Indents all the rows between two buffer row numbers.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at " + } + }, + "281": { + "23": { + "name": "autoIndentBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "options" + ], + "range": [ + [ + 281, + 23 + ], + [ + 288, + 1 + ] + ], + "doc": " Private: Given a buffer row, this indents it.\n\nbufferRow - The row {Number}.\noptions - An options {Object} to pass through to {Editor::setIndentationForBufferRow}. " + } + }, + "288": { + "34": { + "name": "autoDecreaseIndentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 288, + 34 + ], + [ + 308, + 1 + ] + ], + "doc": " Private: Given a buffer row, this decreases the indentation.\n\nbufferRow - The row {Number} " + } + }, + "308": { + "23": { + "name": "getRegexForProperty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "property" + ], + "range": [ + [ + 308, + 23 + ], + [ + 312, + 1 + ] + ], + "doc": "~Private~" + } + }, + "312": { + "32": { + "name": "increaseIndentRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 312, + 32 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "32": { + "name": "decreaseIndentRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 315, + 32 + ], + [ + 318, + 1 + ] + ], + "doc": "~Private~" + } + }, + "318": { + "25": { + "name": "foldEndRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 318, + 25 + ], + [ + 319, + 57 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 6 + }, + "src/less-compile-cache.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@2.x" + } + }, + "2": { + "12": { + "name": "LessCache", + "type": "import", + "range": [ + [ + 2, + 12 + ], + [ + 2, + 31 + ] + ], + "bindingType": "variable", + "module": "less-cache" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "7": { + "0": { + "type": "class", + "name": "LessCompileCache", + "bindingType": "exports", + "classProperties": [ + [ + 10, + 13 + ] + ], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 29, + 18 + ], + [ + 32, + 8 + ], + [ + 35, + 14 + ], + [ + 38, + 11 + ] + ], + "doc": "Private: {LessCache} wrapper used by {ThemeManager} to read stylesheets. ", + "range": [ + [ + 7, + 0 + ], + [ + 38, + 28 + ] + ] + } + }, + "10": { + "13": { + "name": "cacheDir", + "type": "function", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 71 + ] + ], + "bindingType": "classProperty" + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 29, + 1 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "18": { + "name": "setImportPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "importPaths" + ], + "range": [ + [ + 29, + 18 + ], + [ + 32, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "8": { + "name": "read", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 32, + 8 + ], + [ + 35, + 1 + ] + ], + "doc": "~Private~" + } + }, + "35": { + "14": { + "name": "cssForFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "lessContent" + ], + "range": [ + [ + 35, + 14 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 38, + 11 + ], + [ + 38, + 27 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 7 + }, + "src/lines-component.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + }, + "6": { + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 9 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "span", + "exportsProperty": "span" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "debounce", + "exportsProperty": "debounce" + }, + "11": { + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 17 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqual", + "exportsProperty": "isEqual" + }, + "20": { + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 39 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "42": { + "type": "import", + "range": [ + [ + 3, + 42 + ], + [ + 3, + 55 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "multiplyString", + "exportsProperty": "multiplyString" + }, + "58": { + "type": "import", + "range": [ + [ + 3, + 58 + ], + [ + 3, + 64 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "toArray", + "exportsProperty": "toArray" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 2 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "$$", + "exportsProperty": "$$" + } + }, + "6": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 6, + 13 + ], + [ + 6, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "7": { + "19": { + "name": "CursorsComponent", + "type": "import", + "range": [ + [ + 7, + 19 + ], + [ + 7, + 47 + ] + ], + "bindingType": "variable", + "path": "./cursors-component" + } + }, + "8": { + "22": { + "name": "HighlightsComponent", + "type": "import", + "range": [ + [ + 8, + 22 + ], + [ + 8, + 53 + ] + ], + "bindingType": "variable", + "path": "./highlights-component" + } + }, + "10": { + "16": { + "type": "primitive", + "range": [ + [ + 10, + 16 + ], + [ + 10, + 111 + ] + ] + } + }, + "11": { + "15": { + "type": "primitive", + "range": [ + [ + 11, + 15 + ], + [ + 11, + 55 + ] + ] + }, + "28": { + "name": "acceptNode", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 11, + 28 + ], + [ + 11, + 54 + ] + ], + "doc": null + } + }, + "12": { + "13": { + "name": "WrapperDiv", + "type": "function", + "range": [ + [ + 12, + 13 + ], + [ + 12, + 41 + ] + ] + } + }, + "15": { + "17": { + "name": "LinesComponent", + "type": "function", + "range": [ + [ + 15, + 17 + ], + [ + 348, + 41 + ] + ] + } + }, + "16": { + "15": { + "name": "'LinesComponent'", + "type": "primitive", + "range": [ + [ + 16, + 15 + ], + [ + 16, + 30 + ] + ] + } + }, + "18": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 18, + 10 + ], + [ + 44, + 1 + ] + ], + "doc": null + } + }, + "44": { + "16": { + "name": "getTransform", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 16 + ], + [ + 52, + 1 + ] + ], + "doc": null + } + }, + "52": { + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 22 + ], + [ + 59, + 1 + ] + ], + "doc": null + } + }, + "59": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 59, + 25 + ], + [ + 79, + 1 + ] + ], + "doc": null + } + }, + "79": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "prevProps" + ], + "range": [ + [ + 79, + 22 + ], + [ + 88, + 1 + ] + ], + "doc": null + } + }, + "88": { + "24": { + "name": "clearScreenRowCaches", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 24 + ], + [ + 92, + 1 + ] + ], + "doc": null + } + }, + "92": { + "15": { + "name": "updateLines", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "updateWidth" + ], + "range": [ + [ + 92, + 15 + ], + [ + 100, + 1 + ] + ], + "doc": null + } + }, + "100": { + "19": { + "name": "removeLineNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "visibleLines" + ], + "range": [ + [ + 100, + 19 + ], + [ + 114, + 1 + ] + ], + "doc": null + } + }, + "114": { + "34": { + "name": "appendOrUpdateVisibleLineNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "visibleLines", + "startRow", + "updateWidth" + ], + "range": [ + [ + 114, + 34 + ], + [ + 145, + 1 + ] + ], + "doc": null + } + }, + "145": { + "15": { + "name": "hasLineNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineId" + ], + "range": [ + [ + 145, + 15 + ], + [ + 148, + 1 + ] + ], + "doc": null + } + }, + "148": { + "17": { + "name": "buildLineHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "screenRow" + ], + "range": [ + [ + 148, + 17 + ], + [ + 171, + 1 + ] + ], + "doc": null + } + }, + "171": { + "27": { + "name": "buildEmptyLineInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 171, + 27 + ], + [ + 198, + 1 + ] + ], + "doc": null + } + }, + "198": { + "22": { + "name": "buildLineInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 198, + 22 + ], + [ + 215, + 1 + ] + ], + "doc": null + } + }, + "215": { + "22": { + "name": "buildEndOfLineHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "invisibles" + ], + "range": [ + [ + 215, + 22 + ], + [ + 228, + 1 + ] + ], + "doc": null + } + }, + "228": { + "20": { + "name": "updateScopeStack", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 228, + 20 + ], + [ + 245, + 1 + ] + ], + "doc": null + } + }, + "245": { + "12": { + "name": "popScope", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack" + ], + "range": [ + [ + 245, + 12 + ], + [ + 249, + 1 + ] + ], + "doc": null + } + }, + "249": { + "13": { + "name": "pushScope", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack", + "scope" + ], + "range": [ + [ + 249, + 13 + ], + [ + 253, + 1 + ] + ], + "doc": null + } + }, + "253": { + "18": { + "name": "updateLineNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "screenRow", + "updateWidth" + ], + "range": [ + [ + 253, + 18 + ], + [ + 278, + 1 + ] + ], + "doc": null + } + }, + "278": { + "17": { + "name": "hasDecoration", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "decorations", + "decoration" + ], + "range": [ + [ + 278, + 17 + ], + [ + 281, + 1 + ] + ], + "doc": null + } + }, + "281": { + "24": { + "name": "lineNodeForScreenRow", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 281, + 24 + ], + [ + 284, + 1 + ] + ], + "doc": null + } + }, + "284": { + "40": { + "name": "measureLineHeightAndDefaultCharWidth", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 40 + ], + [ + 295, + 1 + ] + ], + "doc": null + } + }, + "295": { + "28": { + "name": "remeasureCharacterWidths", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 295, + 28 + ], + [ + 299, + 1 + ] + ], + "doc": null + } + }, + "299": { + "31": { + "name": "measureCharactersInNewLines", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 299, + 31 + ], + [ + 311, + 1 + ] + ], + "doc": null + } + }, + "311": { + "27": { + "name": "measureCharactersInLine", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "tokenizedLine", + "lineNode" + ], + "range": [ + [ + 311, + 27 + ], + [ + 346, + 1 + ] + ], + "doc": null + } + }, + "346": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 25 + ], + [ + 348, + 41 + ] + ], + "doc": null + } + } + }, + "exports": 15 + }, + "src/menu-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "3": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 3, + 6 + ], + [ + 3, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@2.x" + } + }, + "12": { + "0": { + "type": "class", + "name": "MenuManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 15 + ], + [ + 37, + 7 + ], + [ + 47, + 19 + ], + [ + 79, + 10 + ], + [ + 88, + 21 + ], + [ + 96, + 9 + ], + [ + 107, + 27 + ], + [ + 117, + 24 + ], + [ + 121, + 18 + ], + [ + 130, + 21 + ] + ], + "doc": " Public: Provides a registry for menu items that you'd like to appear in the\napplication menu.\n\nAn instance of this class is always available as the `atom.menu` global. ", + "range": [ + [ + 12, + 0 + ], + [ + 131, + 49 + ] + ] + } + }, + "13": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 13, + 15 + ], + [ + 37, + 1 + ] + ] + } + }, + "37": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 37, + 7 + ], + [ + 47, + 1 + ] + ], + "doc": " Public: Adds the given item definition to the existing template.\n\n## Example\n```coffee\n atom.menu.add [\n {\n label: 'Hello'\n submenu : [{label: 'World!', command: 'hello:world'}]\n }\n ]\n```\n\nitems - An {Array} of menu item {Object}s containing the keys:\n :label - The {String} menu label.\n :submenu - An optional {Array} of sub menu items.\n :command - An optional {String} command to trigger when the item is\n clicked.\n\nReturns nothing. " + } + }, + "47": { + "19": { + "name": "includeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 47, + 19 + ], + [ + 79, + 1 + ] + ], + "doc": " Private: Should the binding for the given selector be included in the menu\ncommands.\n\nselector - A {String} selector to check.\n\nReturns true to include the selector, false otherwise. " + } + }, + "79": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 10 + ], + [ + 88, + 1 + ] + ], + "doc": "Public: Refreshes the currently visible menu. " + } + }, + "88": { + "21": { + "name": "loadPlatformItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 21 + ], + [ + 96, + 1 + ] + ], + "doc": "~Private~" + } + }, + "96": { + "9": { + "name": "merge", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "menu", + "item" + ], + "range": [ + [ + 96, + 9 + ], + [ + 107, + 1 + ] + ], + "doc": " Private: Merges an item in a submenu aware way such that new items are always\nappended to the bottom of existing menus where possible. " + } + }, + "107": { + "27": { + "name": "filterMultipleKeystroke", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystrokesByCommand" + ], + "range": [ + [ + 107, + 27 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: OSX can't handle displaying accelerators for multiple keystrokes.\nIf they are sent across, it will stop processing accelerators for the rest\nof the menu items. " + } + }, + "117": { + "24": { + "name": "sendToBrowserProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 117, + 24 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "18": { + "name": "normalizeLabel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "label" + ], + "range": [ + [ + 121, + 18 + ], + [ + 130, + 1 + ] + ], + "doc": "~Private~" + } + }, + "130": { + "21": { + "name": "classesForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 130, + 21 + ], + [ + 131, + 49 + ] + ], + "doc": "Private: Get an {Array} of {String} classes for the given element. " + } + } + }, + "exports": 12 + }, + "src/package-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@2.x" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q@~1.0.1" + } + }, + "7": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 7, + 10 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "8": { + "15": { + "name": "ThemePackage", + "type": "import", + "range": [ + [ + 8, + 15 + ], + [ + 8, + 39 + ] + ], + "bindingType": "variable", + "path": "./theme-package" + } + }, + "26": { + "0": { + "type": "class", + "name": "PackageManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 44, + 14 + ], + [ + 52, + 22 + ], + [ + 55, + 19 + ], + [ + 58, + 19 + ], + [ + 62, + 17 + ], + [ + 68, + 18 + ], + [ + 74, + 12 + ], + [ + 82, + 28 + ], + [ + 85, + 20 + ], + [ + 90, + 19 + ], + [ + 100, + 22 + ], + [ + 105, + 21 + ], + [ + 113, + 21 + ], + [ + 117, + 20 + ], + [ + 121, + 19 + ], + [ + 124, + 29 + ], + [ + 128, + 27 + ], + [ + 137, + 16 + ], + [ + 148, + 15 + ], + [ + 168, + 18 + ], + [ + 172, + 17 + ], + [ + 182, + 20 + ], + [ + 186, + 19 + ], + [ + 190, + 21 + ], + [ + 196, + 29 + ], + [ + 200, + 22 + ], + [ + 210, + 21 + ], + [ + 213, + 17 + ], + [ + 218, + 20 + ], + [ + 221, + 26 + ], + [ + 231, + 28 + ], + [ + 246, + 28 + ], + [ + 250, + 31 + ] + ], + "doc": " Public: Package manager for coordinating the lifecycle of Atom packages.\n\nAn instance of this class is always available as the `atom.packages` global.\n\nPackages can be loaded, activated, and deactivated, and unloaded:\n * Loading a package reads and parses the package's metadata and resources\n such as keymaps, menus, stylesheets, etc.\n * Activating a package registers the loaded resources and calls `activate()`\n on the package's main module.\n * Deactivating a package unregisters the package's resources and calls\n `deactivate()` on the package's main module.\n * Unloading a package removes it completely from the package manager.\n\nPackages can also be enabled/disabled via the `core.disabledPackages` config\nsettings and also by calling `enablePackage()/disablePackage()`. ", + "range": [ + [ + 26, + 0 + ], + [ + 256, + 12 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 29, + 15 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "14": { + "name": "getApmPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 14 + ], + [ + 52, + 1 + ] + ], + "doc": "Public: Get the path to the apm command " + } + }, + "52": { + "22": { + "name": "getPackageDirPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 22 + ], + [ + 55, + 1 + ] + ], + "doc": " Public: Get the paths being used to look for packages.\n\nReturns an Array of String directory paths. " + } + }, + "55": { + "19": { + "name": "getPackageState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 55, + 19 + ], + [ + 58, + 1 + ] + ], + "doc": "~Private~" + } + }, + "58": { + "19": { + "name": "setPackageState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "state" + ], + "range": [ + [ + 58, + 19 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "17": { + "name": "enablePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 62, + 17 + ], + [ + 68, + 1 + ] + ], + "doc": "Public: Enable the package with the given name " + } + }, + "68": { + "18": { + "name": "disablePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 68, + 18 + ], + [ + 74, + 1 + ] + ], + "doc": "Public: Disable the package with the given name " + } + }, + "74": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 12 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Activate all the packages that should be activated. " + } + }, + "82": { + "28": { + "name": "registerPackageActivator", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "activator", + "types" + ], + "range": [ + [ + 82, + 28 + ], + [ + 85, + 1 + ] + ], + "doc": " Private: another type of package manager can handle other package types.\nSee ThemeManager " + } + }, + "85": { + "20": { + "name": "activatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "packages" + ], + "range": [ + [ + 85, + 20 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "19": { + "name": "activatePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 90, + 19 + ], + [ + 100, + 1 + ] + ], + "doc": "Private: Activate a single package by name " + } + }, + "100": { + "22": { + "name": "deactivatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 100, + 22 + ], + [ + 105, + 1 + ] + ], + "doc": "Private: Deactivate all packages " + } + }, + "105": { + "21": { + "name": "deactivatePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 105, + 21 + ], + [ + 113, + 1 + ] + ], + "doc": "Private: Deactivate the package with the given name " + } + }, + "113": { + "21": { + "name": "getActivePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 113, + 21 + ], + [ + 117, + 1 + ] + ], + "doc": "Public: Get an array of all the active packages " + } + }, + "117": { + "20": { + "name": "getActivePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 117, + 20 + ], + [ + 121, + 1 + ] + ], + "doc": "Public: Get the active package with the given name " + } + }, + "121": { + "19": { + "name": "isPackageActive", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 121, + 19 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Is the package with the given name active? " + } + }, + "124": { + "29": { + "name": "unobserveDisabledPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 29 + ], + [ + 128, + 1 + ] + ], + "doc": "~Private~" + } + }, + "128": { + "27": { + "name": "observeDisabledPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 128, + 27 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "16": { + "name": "loadPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 16 + ], + [ + 148, + 1 + ] + ], + "doc": "~Private~" + } + }, + "148": { + "15": { + "name": "loadPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "nameOrPath" + ], + "range": [ + [ + 148, + 15 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "18": { + "name": "unloadPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 18 + ], + [ + 172, + 1 + ] + ], + "doc": "~Private~" + } + }, + "172": { + "17": { + "name": "unloadPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 172, + 17 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "20": { + "name": "getLoadedPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 182, + 20 + ], + [ + 186, + 1 + ] + ], + "doc": "Public: Get the loaded package with the given name " + } + }, + "186": { + "19": { + "name": "isPackageLoaded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 186, + 19 + ], + [ + 190, + 1 + ] + ], + "doc": "Public: Is the package with the given name loaded? " + } + }, + "190": { + "21": { + "name": "getLoadedPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 21 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded packages " + } + }, + "196": { + "29": { + "name": "getLoadedPackagesForTypes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "types" + ], + "range": [ + [ + 196, + 29 + ], + [ + 200, + 1 + ] + ], + "doc": " Private: Get packages for a certain package type\n\ntypes - an {Array} of {String}s like ['atom', 'textmate']. " + } + }, + "200": { + "22": { + "name": "resolvePackagePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 200, + 22 + ], + [ + 210, + 1 + ] + ], + "doc": "Public: Resolve the given package name to a path on disk. " + } + }, + "210": { + "21": { + "name": "isPackageDisabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 210, + 21 + ], + [ + 213, + 1 + ] + ], + "doc": "Public: Is the package with the given name disabled? " + } + }, + "213": { + "17": { + "name": "hasAtomEngine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "packagePath" + ], + "range": [ + [ + 213, + 17 + ], + [ + 218, + 1 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "20": { + "name": "isBundledPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 218, + 20 + ], + [ + 221, + 1 + ] + ], + "doc": "Public: Is the package with the given name bundled with Atom? " + } + }, + "221": { + "26": { + "name": "getPackageDependencies", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 221, + 26 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "28": { + "name": "getAvailablePackagePaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 231, + 28 + ], + [ + 246, + 1 + ] + ], + "doc": "Public: Get an array of all the available package paths. " + } + }, + "246": { + "28": { + "name": "getAvailablePackageNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 246, + 28 + ], + [ + 250, + 1 + ] + ], + "doc": "Public: Get an array of all the available package names. " + } + }, + "250": { + "31": { + "name": "getAvailablePackageMetadata", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 250, + 31 + ], + [ + 256, + 12 + ] + ], + "doc": "Public: Get an array of all the available package metadata. " + } + } + }, + "exports": 26 + }, + "src/package.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "3": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 3, + 8 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "async" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@2.x" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "7": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 14 + ] + ], + "bindingType": "variable", + "module": "q@~1.0.1" + } + }, + "9": { + "4": { + "type": "primitive", + "range": [ + [ + 9, + 4 + ], + [ + 9, + 7 + ] + ] + } + }, + "10": { + "19": { + "name": "ScopedProperties", + "type": "import", + "range": [ + [ + 10, + 19 + ], + [ + 10, + 47 + ] + ], + "bindingType": "variable", + "path": "./scoped-properties" + } + }, + "15": { + "0": { + "type": "class", + "name": "Package", + "bindingType": "exports", + "classProperties": [ + [ + 18, + 19 + ], + [ + 20, + 17 + ] + ], + "prototypeProperties": [ + [ + 30, + 11 + ], + [ + 31, + 9 + ], + [ + 32, + 15 + ], + [ + 33, + 12 + ], + [ + 34, + 20 + ], + [ + 35, + 18 + ], + [ + 36, + 26 + ], + [ + 37, + 14 + ], + [ + 39, + 15 + ], + [ + 44, + 10 + ], + [ + 47, + 11 + ], + [ + 50, + 11 + ], + [ + 53, + 11 + ], + [ + 59, + 11 + ], + [ + 61, + 21 + ], + [ + 63, + 8 + ], + [ + 76, + 9 + ], + [ + 83, + 12 + ], + [ + 97, + 15 + ], + [ + 109, + 18 + ], + [ + 118, + 23 + ], + [ + 126, + 21 + ], + [ + 138, + 15 + ], + [ + 141, + 13 + ], + [ + 144, + 18 + ], + [ + 151, + 16 + ], + [ + 158, + 19 + ], + [ + 162, + 22 + ], + [ + 165, + 22 + ], + [ + 177, + 20 + ], + [ + 194, + 16 + ], + [ + 213, + 24 + ], + [ + 231, + 13 + ], + [ + 238, + 14 + ], + [ + 247, + 20 + ], + [ + 251, + 23 + ], + [ + 260, + 21 + ], + [ + 266, + 20 + ], + [ + 269, + 21 + ], + [ + 275, + 21 + ], + [ + 285, + 23 + ], + [ + 297, + 31 + ], + [ + 306, + 25 + ], + [ + 315, + 35 + ], + [ + 325, + 36 + ], + [ + 339, + 36 + ], + [ + 345, + 18 + ], + [ + 353, + 34 + ], + [ + 371, + 32 + ], + [ + 401, + 16 + ] + ], + "doc": " Private: Loads and activates a package's main module and resources such as\nstylesheets, keymaps, grammar, editor properties, and menus. ", + "range": [ + [ + 15, + 0 + ], + [ + 411, + 24 + ] + ] + } + }, + "18": { + "19": { + "name": "stylesheetsDir", + "type": "primitive", + "range": [ + [ + 18, + 19 + ], + [ + 18, + 31 + ] + ], + "bindingType": "classProperty" + } + }, + "20": { + "17": { + "name": "loadMetadata", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "packagePath", + "ignoreErrors" + ], + "range": [ + [ + 20, + 17 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "keymaps", + "type": "primitive", + "range": [ + [ + 30, + 11 + ], + [ + 30, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "31": { + "9": { + "name": "menus", + "type": "primitive", + "range": [ + [ + 31, + 9 + ], + [ + 31, + 12 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "32": { + "15": { + "name": "stylesheets", + "type": "primitive", + "range": [ + [ + 32, + 15 + ], + [ + 32, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "33": { + "12": { + "name": "grammars", + "type": "primitive", + "range": [ + [ + 33, + 12 + ], + [ + 33, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "34": { + "20": { + "name": "scopedProperties", + "type": "primitive", + "range": [ + [ + 34, + 20 + ], + [ + 34, + 23 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "35": { + "18": { + "name": "mainModulePath", + "type": "primitive", + "range": [ + [ + 35, + 18 + ], + [ + 35, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "36": { + "26": { + "name": "resolvedMainModulePath", + "type": "primitive", + "range": [ + [ + 36, + 26 + ], + [ + 36, + 30 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "37": { + "14": { + "name": "mainModule", + "type": "primitive", + "range": [ + [ + 37, + 14 + ], + [ + 37, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "39": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 39, + 15 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "10": { + "name": "enable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 10 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "11": { + "name": "disable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 47, + 11 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "11": { + "name": "isTheme", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 11 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "11": { + "name": "measure", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "key", + "fn" + ], + "range": [ + [ + 53, + 11 + ], + [ + 59, + 1 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "11": { + "name": "getType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 11 + ], + [ + 59, + 19 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "21": { + "name": "getStylesheetType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 21 + ], + [ + 61, + 32 + ] + ], + "doc": "~Private~" + } + }, + "63": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 63, + 8 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "9": { + "name": "reset", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 9 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 83, + 12 + ], + [ + 97, + 1 + ] + ], + "doc": "~Private~" + } + }, + "97": { + "15": { + "name": "activateNow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 97, + 15 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "18": { + "name": "activateConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 18 + ], + [ + 118, + 1 + ] + ], + "doc": "~Private~" + } + }, + "118": { + "23": { + "name": "activateStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 118, + 23 + ], + [ + 126, + 1 + ] + ], + "doc": "~Private~" + } + }, + "126": { + "21": { + "name": "activateResources", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 21 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "15": { + "name": "loadKeymaps", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 15 + ], + [ + 141, + 1 + ] + ], + "doc": "~Private~" + } + }, + "141": { + "13": { + "name": "loadMenus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 13 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "18": { + "name": "getKeymapPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 144, + 18 + ], + [ + 151, + 1 + ] + ], + "doc": "~Private~" + } + }, + "151": { + "16": { + "name": "getMenuPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 151, + 16 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "19": { + "name": "loadStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 19 + ], + [ + 162, + 1 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "22": { + "name": "getStylesheetsPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 22 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "22": { + "name": "getStylesheetPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 22 + ], + [ + 177, + 1 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "20": { + "name": "loadGrammarsSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 20 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "16": { + "name": "loadGrammars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 194, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "24": { + "name": "loadScopedProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 24 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "13": { + "name": "serialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 231, + 13 + ], + [ + 238, + 1 + ] + ], + "doc": "~Private~" + } + }, + "238": { + "14": { + "name": "deactivate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 238, + 14 + ], + [ + 247, + 1 + ] + ], + "doc": "~Private~" + } + }, + "247": { + "20": { + "name": "deactivateConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 247, + 20 + ], + [ + 251, + 1 + ] + ], + "doc": "~Private~" + } + }, + "251": { + "23": { + "name": "deactivateResources", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 251, + 23 + ], + [ + 260, + 1 + ] + ], + "doc": "~Private~" + } + }, + "260": { + "21": { + "name": "reloadStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 21 + ], + [ + 266, + 1 + ] + ], + "doc": "~Private~" + } + }, + "266": { + "20": { + "name": "reloadStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "content" + ], + "range": [ + [ + 266, + 20 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "21": { + "name": "requireMainModule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 21 + ], + [ + 275, + 1 + ] + ] + } + }, + "275": { + "21": { + "name": "getMainModulePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 275, + 21 + ], + [ + 285, + 1 + ] + ], + "doc": "~Private~" + } + }, + "285": { + "23": { + "name": "hasActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 285, + 23 + ], + [ + 297, + 1 + ] + ], + "doc": "~Private~" + } + }, + "297": { + "31": { + "name": "subscribeToActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 31 + ], + [ + 306, + 1 + ] + ], + "doc": "~Private~" + } + }, + "306": { + "25": { + "name": "handleActivationEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 306, + 25 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "35": { + "name": "unsubscribeFromActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 35 + ], + [ + 325, + 1 + ] + ], + "doc": "~Private~" + } + }, + "325": { + "36": { + "name": "disableEventHandlersOnBubblePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 325, + 36 + ], + [ + 339, + 1 + ] + ], + "doc": "~Private~" + } + }, + "339": { + "36": { + "name": "restoreEventHandlersOnBubblePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventHandlers" + ], + "range": [ + [ + 339, + 36 + ], + [ + 345, + 1 + ] + ], + "doc": "~Private~" + } + }, + "345": { + "18": { + "name": "isNativeModule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "modulePath" + ], + "range": [ + [ + 345, + 18 + ], + [ + 353, + 1 + ] + ], + "doc": "Private: Does the given module path contain native code? " + } + }, + "353": { + "34": { + "name": "getNativeModuleDependencyPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 353, + 34 + ], + [ + 371, + 1 + ] + ], + "doc": " Private: Get an array of all the native modules that this package depends on.\nThis will recurse through all dependencies. " + } + }, + "371": { + "32": { + "name": "getIncompatibleNativeModules", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 371, + 32 + ], + [ + 401, + 1 + ] + ], + "doc": " Private: Get the incompatible native modules that this package depends on.\nThis recurses through all dependencies and requires all modules that\ncontain a `.node` file.\n\nThis information is cached in local storage on a per package/version basis\nto minimize the impact on startup time. " + } + }, + "401": { + "16": { + "name": "isCompatible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 401, + 16 + ], + [ + 411, + 24 + ] + ], + "doc": " Public: Is this package compatible with this version of Atom?\n\nIncompatible packages cannot be activated. This will include packages\ninstalled to ~/.atom/packages that were built against node 0.11.10 but\nnow need to be upgrade to node 0.11.13.\n\nReturns a {Boolean}, true if compatible, false if incompatible. " + } + } + }, + "exports": 15 + }, + "src/pane-axis-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "11": { + "type": "primitive", + "range": [ + [ + 1, + 11 + ], + [ + 1, + 14 + ] + ] + } + }, + "4": { + "0": { + "type": "class", + "name": "PaneAxisView", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 5, + 14 + ], + [ + 9, + 15 + ], + [ + 12, + 16 + ], + [ + 16, + 22 + ], + [ + 22, + 16 + ], + [ + 26, + 18 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 31, + 48 + ] + ] + } + }, + "5": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 5, + 14 + ], + [ + 9, + 1 + ] + ] + } + }, + "9": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 15 + ], + [ + 12, + 1 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "16": { + "name": "viewForModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "model" + ], + "range": [ + [ + 12, + 16 + ], + [ + 16, + 1 + ] + ], + "doc": "~Private~" + } + }, + "16": { + "22": { + "name": "onChildrenChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 16, + 22 + ], + [ + 22, + 1 + ] + ], + "doc": "~Private~" + } + }, + "22": { + "16": { + "name": "onChildAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child", + "index" + ], + "range": [ + [ + 22, + 16 + ], + [ + 26, + 1 + ] + ], + "doc": "~Private~" + } + }, + "26": { + "18": { + "name": "onChildRemoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 26, + 18 + ], + [ + 31, + 48 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/pane-axis.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 15 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Sequence", + "exportsProperty": "Sequence" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 7 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "flatten", + "exportsProperty": "flatten" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@1.x" + } + }, + "4": { + "14": { + "type": "primitive", + "range": [ + [ + 4, + 14 + ], + [ + 4, + 17 + ] + ] + } + }, + "5": { + "17": { + "type": "primitive", + "range": [ + [ + 5, + 17 + ], + [ + 5, + 20 + ] + ] + } + }, + "8": { + "0": { + "type": "class", + "name": "PaneAxis", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 25, + 21 + ], + [ + 30, + 19 + ], + [ + 34, + 16 + ], + [ + 40, + 12 + ], + [ + 43, + 12 + ], + [ + 46, + 15 + ], + [ + 51, + 16 + ], + [ + 56, + 21 + ], + [ + 60, + 20 + ], + [ + 64, + 21 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 65, + 44 + ] + ] + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 25, + 21 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 19 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 16 + ], + [ + 40, + 1 + ] + ], + "doc": "~Private~" + } + }, + "40": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 40, + 12 + ], + [ + 43, + 1 + ] + ], + "doc": "~Private~" + } + }, + "43": { + "12": { + "name": "addChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child", + "index" + ], + "range": [ + [ + 43, + 12 + ], + [ + 46, + 1 + ] + ], + "doc": "~Private~" + } + }, + "46": { + "15": { + "name": "removeChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 46, + 15 + ], + [ + 51, + 1 + ] + ], + "doc": "~Private~" + } + }, + "51": { + "16": { + "name": "replaceChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "oldChild", + "newChild" + ], + "range": [ + [ + 51, + 16 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "21": { + "name": "insertChildBefore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "currentChild", + "newChild" + ], + "range": [ + [ + 56, + 21 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "20": { + "name": "insertChildAfter", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "currentChild", + "newChild" + ], + "range": [ + [ + 60, + 20 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "21": { + "name": "reparentLastChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 21 + ], + [ + 65, + 44 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/pane-column-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "15": { + "name": "PaneAxisView", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 40 + ] + ], + "bindingType": "variable", + "path": "./pane-axis-view" + } + }, + "5": { + "0": { + "type": "class", + "name": "PaneColumnView", + "bindingType": "exports", + "classProperties": [ + [ + 7, + 12 + ] + ], + "prototypeProperties": [ + [ + 10, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 11, + 16 + ] + ] + } + }, + "7": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 7, + 12 + ], + [ + 10, + 1 + ] + ], + "doc": "~Private~" + } + }, + "10": { + "13": { + "name": "className", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 13 + ], + [ + 11, + 16 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "src/pane-container-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "1": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@1.x" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "3": { + "11": { + "name": "PaneView", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-view" + } + }, + "4": { + "16": { + "name": "PaneContainer", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 41 + ] + ], + "bindingType": "variable", + "path": "./pane-container" + } + }, + "8": { + "0": { + "type": "class", + "name": "PaneContainerView", + "bindingType": "exports", + "classProperties": [ + [ + 13, + 12 + ] + ], + "prototypeProperties": [ + [ + 16, + 14 + ], + [ + 25, + 16 + ], + [ + 30, + 11 + ], + [ + 33, + 17 + ], + [ + 47, + 27 + ], + [ + 50, + 15 + ], + [ + 55, + 16 + ], + [ + 64, + 16 + ], + [ + 67, + 15 + ], + [ + 70, + 15 + ], + [ + 73, + 16 + ], + [ + 79, + 18 + ], + [ + 82, + 17 + ], + [ + 86, + 21 + ], + [ + 89, + 21 + ], + [ + 92, + 17 + ], + [ + 95, + 14 + ], + [ + 98, + 21 + ], + [ + 101, + 25 + ], + [ + 104, + 22 + ], + [ + 107, + 22 + ], + [ + 110, + 23 + ], + [ + 113, + 24 + ], + [ + 116, + 26 + ], + [ + 143, + 26 + ], + [ + 152, + 12 + ] + ], + "doc": "Private: Manages the list of panes within a {WorkspaceView} ", + "range": [ + [ + 8, + 0 + ], + [ + 154, + 19 + ] + ] + } + }, + "13": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 12 + ], + [ + 16, + 1 + ] + ], + "doc": "~Private~" + } + }, + "16": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 16, + 14 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "16": { + "name": "viewForModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "model" + ], + "range": [ + [ + 25, + 16 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "getRoot", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 11 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "17": { + "name": "onRootChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "root" + ], + "range": [ + [ + 33, + 17 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "27": { + "name": "onActivePaneItemChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "activeItem" + ], + "range": [ + [ + 47, + 27 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "15": { + "name": "removeChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 50, + 15 + ], + [ + 55, + 1 + ] + ], + "doc": "~Private~" + } + }, + "55": { + "16": { + "name": "confirmClose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 16 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "16": { + "name": "getPaneViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 16 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "15": { + "name": "indexOfPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "paneView" + ], + "range": [ + [ + 67, + 15 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "15": { + "name": "paneAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 70, + 15 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "16": { + "name": "eachPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 73, + 16 + ], + [ + 79, + 1 + ] + ], + "doc": "~Private~" + } + }, + "79": { + "18": { + "name": "getFocusedPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 18 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 17 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "21": { + "name": "getActivePaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 21 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "17": { + "name": "getActiveView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 92, + 17 + ], + [ + 95, + 1 + ] + ], + "doc": "~Private~" + } + }, + "95": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 95, + 14 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "21": { + "name": "focusNextPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 21 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "focusPreviousPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 25 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "22": { + "name": "focusPaneViewAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 22 + ], + [ + 107, + 1 + ] + ], + "doc": "~Private~" + } + }, + "107": { + "22": { + "name": "focusPaneViewBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 22 + ], + [ + 110, + 1 + ] + ], + "doc": "~Private~" + } + }, + "110": { + "23": { + "name": "focusPaneViewOnLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 23 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "24": { + "name": "focusPaneViewOnRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 113, + 24 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "26": { + "name": "nearestPaneInDirection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "direction" + ], + "range": [ + [ + 116, + 26 + ], + [ + 143, + 1 + ] + ], + "doc": "~Private~" + } + }, + "143": { + "26": { + "name": "boundingBoxForPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "paneView" + ], + "range": [ + [ + 143, + 26 + ], + [ + 152, + 1 + ] + ], + "doc": "~Private~" + } + }, + "152": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 152, + 12 + ], + [ + 154, + 19 + ] + ], + "doc": "Private: Deprecated " + } + } + }, + "exports": 8 + }, + "src/pane-container.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "find", + "exportsProperty": "find" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@1.x" + } + }, + "3": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "6": { + "0": { + "type": "class", + "name": "PaneContainer", + "bindingType": "exports", + "classProperties": [ + [ + 10, + 12 + ] + ], + "prototypeProperties": [ + [ + 16, + 16 + ], + [ + 23, + 15 + ], + [ + 28, + 21 + ], + [ + 34, + 19 + ], + [ + 38, + 16 + ], + [ + 42, + 12 + ], + [ + 45, + 17 + ], + [ + 48, + 14 + ], + [ + 51, + 11 + ], + [ + 54, + 20 + ], + [ + 64, + 24 + ], + [ + 75, + 17 + ], + [ + 89, + 21 + ], + [ + 92, + 17 + ], + [ + 96, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 6, + 0 + ], + [ + 97, + 42 + ] + ] + } + }, + "10": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 10, + 12 + ], + [ + 10, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "16": { + "16": { + "name": "previousRoot", + "type": "primitive", + "range": [ + [ + 16, + 16 + ], + [ + 16, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "23": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 23, + 15 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 28, + 21 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 34, + 19 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "16": { + "name": "replaceChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "oldChild", + "newChild" + ], + "range": [ + [ + 38, + 16 + ], + [ + 42, + 1 + ] + ], + "doc": "~Private~" + } + }, + "42": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 12 + ], + [ + 45, + 1 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 17 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 48, + 14 + ], + [ + 51, + 1 + ] + ], + "doc": "~Private~" + } + }, + "51": { + "11": { + "name": "saveAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 51, + 11 + ], + [ + 54, + 1 + ] + ], + "doc": "~Private~" + } + }, + "54": { + "20": { + "name": "activateNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 54, + 20 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "24": { + "name": "activatePreviousPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 24 + ], + [ + 75, + 1 + ] + ], + "doc": "~Private~" + } + }, + "75": { + "17": { + "name": "onRootChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "root" + ], + "range": [ + [ + 75, + 17 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "destroyEmptyPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "17": { + "name": "itemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 92, + 17 + ], + [ + 96, + 1 + ] + ], + "doc": "~Private~" + } + }, + "96": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 13 + ], + [ + 97, + 42 + ] + ], + "doc": "Private: Called by Model superclass when destroyed " + } + } + }, + "exports": 6 + }, + "src/pane-row-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "15": { + "name": "PaneAxisView", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 40 + ] + ], + "bindingType": "variable", + "path": "./pane-axis-view" + } + }, + "5": { + "0": { + "type": "class", + "name": "PaneRowView", + "bindingType": "exports", + "classProperties": [ + [ + 6, + 12 + ] + ], + "prototypeProperties": [ + [ + 9, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 10, + 13 + ] + ] + } + }, + "6": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 12 + ], + [ + 9, + 1 + ] + ] + } + }, + "9": { + "13": { + "name": "className", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 13 + ], + [ + 10, + 13 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "src/pane-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@1.x" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "3": { + "20": { + "name": "PropertyAccessors", + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 47 + ] + ], + "bindingType": "variable", + "module": "property-accessors" + } + }, + "5": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "14": { + "0": { + "type": "class", + "name": "PaneView", + "bindingType": "exports", + "classProperties": [ + [ + 18, + 12 + ], + [ + 20, + 12 + ] + ], + "prototypeProperties": [ + [ + 32, + 22 + ], + [ + 34, + 14 + ], + [ + 45, + 16 + ], + [ + 84, + 14 + ], + [ + 89, + 12 + ], + [ + 94, + 18 + ], + [ + 99, + 19 + ], + [ + 104, + 16 + ], + [ + 109, + 20 + ], + [ + 113, + 15 + ], + [ + 121, + 15 + ], + [ + 124, + 25 + ], + [ + 133, + 15 + ], + [ + 139, + 21 + ], + [ + 142, + 23 + ], + [ + 158, + 15 + ], + [ + 161, + 17 + ], + [ + 175, + 15 + ], + [ + 178, + 25 + ], + [ + 182, + 26 + ], + [ + 185, + 15 + ], + [ + 199, + 13 + ], + [ + 201, + 14 + ], + [ + 203, + 11 + ], + [ + 205, + 13 + ], + [ + 210, + 16 + ], + [ + 213, + 16 + ], + [ + 216, + 10 + ] + ], + "doc": " Public: A container which can contains multiple items to be switched between.\n\nItems can be almost anything however most commonly they're {EditorView}s.\n\nMost packages won't need to use this class, unless you're interested in\nbuilding a package that deals with switching between panes or items. ", + "range": [ + [ + 14, + 0 + ], + [ + 219, + 9 + ] + ] + } + }, + "18": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 18, + 12 + ], + [ + 18, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "20": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "wrappedView" + ], + "range": [ + [ + 20, + 12 + ], + [ + 24, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "22": { + "name": "previousActiveItem", + "type": "primitive", + "range": [ + [ + 32, + 22 + ], + [ + 32, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "34": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 34, + 14 + ], + [ + 45, + 1 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 16 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "14": { + "name": "removeItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 84, + 14 + ], + [ + 89, + 1 + ] + ], + "doc": "Deprecated: Use ::destroyItem " + } + }, + "89": { + "12": { + "name": "showItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 89, + 12 + ], + [ + 94, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItem " + } + }, + "94": { + "18": { + "name": "showItemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 94, + 18 + ], + [ + 99, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItemForUri " + } + }, + "99": { + "19": { + "name": "showItemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 99, + 19 + ], + [ + 104, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItemAtIndex " + } + }, + "104": { + "16": { + "name": "showNextItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 16 + ], + [ + 109, + 1 + ] + ], + "doc": "Deprecated: Use ::activateNextItem " + } + }, + "109": { + "20": { + "name": "showPreviousItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 20 + ], + [ + 113, + 1 + ] + ], + "doc": "Deprecated: Use ::activatePreviousItem " + } + }, + "113": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 113, + 15 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "15": { + "name": "onActivated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 121, + 15 + ], + [ + 124, + 1 + ] + ], + "doc": "~Private~" + } + }, + "124": { + "25": { + "name": "onActiveStatusChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "active" + ], + "range": [ + [ + 124, + 25 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "15": { + "name": "getNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 15 + ], + [ + 139, + 1 + ] + ], + "doc": "Public: Returns the next pane, ordered by creation. " + } + }, + "139": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 139, + 21 + ], + [ + 142, + 1 + ] + ], + "doc": "~Private~" + } + }, + "142": { + "23": { + "name": "onActiveItemChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 142, + 23 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "15": { + "name": "onItemAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index" + ], + "range": [ + [ + 158, + 15 + ], + [ + 161, + 1 + ] + ], + "doc": "~Private~" + } + }, + "161": { + "17": { + "name": "onItemRemoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index", + "destroyed" + ], + "range": [ + [ + 161, + 17 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "15": { + "name": "onItemMoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "newIndex" + ], + "range": [ + [ + 175, + 15 + ], + [ + 178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "178": { + "25": { + "name": "onBeforeItemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 178, + 25 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "26": { + "name": "activeItemTitleChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 182, + 26 + ], + [ + 185, + 1 + ] + ], + "doc": "~Private~" + } + }, + "185": { + "15": { + "name": "viewForItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 185, + 15 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "199": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 199, + 13 + ], + [ + 199, + 57 + ] + ], + "doc": "~Private~" + } + }, + "201": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 201, + 14 + ], + [ + 201, + 59 + ] + ], + "doc": "~Private~" + } + }, + "203": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 203, + 11 + ], + [ + 203, + 53 + ] + ], + "doc": "~Private~" + } + }, + "205": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 205, + 13 + ], + [ + 205, + 57 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "16": { + "name": "getContainer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": " Public: Get the container view housing this pane.\n\nReturns a {View}. " + } + }, + "213": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 16 + ], + [ + 216, + 1 + ] + ], + "doc": "~Private~" + } + }, + "216": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "keepData" + ], + "range": [ + [ + 216, + 10 + ], + [ + 219, + 9 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 14 + }, + "src/pane.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "find", + "exportsProperty": "find" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 13 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "compact", + "exportsProperty": "compact" + }, + "16": { + "type": "import", + "range": [ + [ + 0, + 16 + ], + [ + 0, + 21 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "extend", + "exportsProperty": "extend" + }, + "24": { + "type": "import", + "range": [ + [ + 0, + 24 + ], + [ + 0, + 27 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "last", + "exportsProperty": "last" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + }, + "8": { + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 15 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Sequence", + "exportsProperty": "Sequence" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@1.x" + } + }, + "3": { + "11": { + "name": "PaneAxis", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-axis" + } + }, + "4": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "5": { + "11": { + "type": "primitive", + "range": [ + [ + 5, + 11 + ], + [ + 5, + 14 + ] + ] + } + }, + "11": { + "0": { + "type": "class", + "name": "Pane", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 43, + 19 + ], + [ + 50, + 21 + ], + [ + 57, + 16 + ], + [ + 59, + 12 + ], + [ + 62, + 9 + ], + [ + 67, + 8 + ], + [ + 73, + 12 + ], + [ + 77, + 12 + ], + [ + 82, + 12 + ], + [ + 88, + 17 + ], + [ + 93, + 19 + ], + [ + 97, + 15 + ], + [ + 101, + 20 + ], + [ + 109, + 24 + ], + [ + 117, + 22 + ], + [ + 121, + 23 + ], + [ + 125, + 16 + ], + [ + 137, + 11 + ], + [ + 154, + 12 + ], + [ + 159, + 14 + ], + [ + 175, + 12 + ], + [ + 182, + 18 + ], + [ + 187, + 21 + ], + [ + 193, + 15 + ], + [ + 204, + 16 + ], + [ + 208, + 24 + ], + [ + 211, + 11 + ], + [ + 218, + 13 + ], + [ + 224, + 20 + ], + [ + 239, + 18 + ], + [ + 243, + 20 + ], + [ + 251, + 12 + ], + [ + 263, + 14 + ], + [ + 273, + 13 + ], + [ + 278, + 14 + ], + [ + 283, + 22 + ], + [ + 290, + 18 + ], + [ + 300, + 13 + ], + [ + 309, + 14 + ], + [ + 318, + 11 + ], + [ + 327, + 13 + ], + [ + 330, + 9 + ], + [ + 344, + 23 + ], + [ + 356, + 32 + ] + ], + "doc": " Public: A container for multiple items, one of which is *active* at a given\ntime. With the default packages, a tab is displayed for each item and the\nactive item's view is displayed. ", + "range": [ + [ + 11, + 0 + ], + [ + 364, + 19 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 29, + 15 + ], + [ + 43, + 1 + ] + ], + "doc": "~Private~" + } + }, + "43": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 19 + ], + [ + 50, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during serialization. " + } + }, + "50": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 50, + 21 + ], + [ + 57, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during deserialization. " + } + }, + "57": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 16 + ], + [ + 57, + 51 + ] + ], + "doc": "Private: Called by the view layer to construct a view for this model. " + } + }, + "59": { + "12": { + "name": "isActive", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 12 + ], + [ + 59, + 21 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 62, + 9 + ], + [ + 67, + 1 + ] + ], + "doc": "Private: Called by the view layer to indicate that the pane has gained focus. " + } + }, + "67": { + "8": { + "name": "blur", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 8 + ], + [ + 73, + 1 + ] + ], + "doc": "Private: Called by the view layer to indicate that the pane has lost focus. " + } + }, + "73": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 12 + ], + [ + 77, + 1 + ] + ], + "doc": " Public: Makes this pane the *active* pane, causing it to gain focus\nimmediately. " + } + }, + "77": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 77, + 12 + ], + [ + 77, + 20 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "12": { + "name": "getItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 12 + ], + [ + 88, + 1 + ] + ], + "doc": " Public: Get the items in this pane.\n\nReturns an {Array} of items. " + } + }, + "88": { + "17": { + "name": "getActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 17 + ], + [ + 93, + 1 + ] + ], + "doc": " Public: Get the active pane item in this pane.\n\nReturns a pane item. " + } + }, + "93": { + "19": { + "name": "getActiveEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 93, + 19 + ], + [ + 97, + 1 + ] + ], + "doc": " Public: Returns an {Editor} if the pane item is an {Editor}, or null\notherwise. " + } + }, + "97": { + "15": { + "name": "itemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 97, + 15 + ], + [ + 101, + 1 + ] + ], + "doc": "Public: Returns the item at the specified index. " + } + }, + "101": { + "20": { + "name": "activateNextItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 20 + ], + [ + 109, + 1 + ] + ], + "doc": "Public: Makes the next item active. " + } + }, + "109": { + "24": { + "name": "activatePreviousItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 24 + ], + [ + 117, + 1 + ] + ], + "doc": "Public: Makes the previous item active. " + } + }, + "117": { + "22": { + "name": "getActiveItemIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 22 + ], + [ + 121, + 1 + ] + ], + "doc": "Private: Returns the index of the current active item. " + } + }, + "121": { + "23": { + "name": "activateItemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 121, + 23 + ], + [ + 125, + 1 + ] + ], + "doc": "Private: Makes the item at the given index active. " + } + }, + "125": { + "16": { + "name": "activateItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 125, + 16 + ], + [ + 137, + 1 + ] + ], + "doc": "Private: Makes the given item active, adding the item if necessary. " + } + }, + "137": { + "11": { + "name": "addItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index" + ], + "range": [ + [ + 137, + 11 + ], + [ + 154, + 1 + ] + ], + "doc": " Public: Adds the item to the pane.\n\nitem - The item to add. It can be a model with an associated view or a view.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns the added item " + } + }, + "154": { + "12": { + "name": "addItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items", + "index" + ], + "range": [ + [ + 154, + 12 + ], + [ + 159, + 1 + ] + ], + "doc": " Public: Adds the given items to the pane.\n\nitems - An {Array} of items to add. Items can be models with associated\n views or views. Any items that are already present in items will\n not be added.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns an {Array} of the added items " + } + }, + "159": { + "14": { + "name": "removeItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "destroying" + ], + "range": [ + [ + 159, + 14 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "12": { + "name": "moveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "newIndex" + ], + "range": [ + [ + 175, + 12 + ], + [ + 182, + 1 + ] + ], + "doc": "Public: Moves the given item to the specified index. " + } + }, + "182": { + "18": { + "name": "moveItemToPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "pane", + "index" + ], + "range": [ + [ + 182, + 18 + ], + [ + 187, + 1 + ] + ], + "doc": "Public: Moves the given item to the given index at another pane. " + } + }, + "187": { + "21": { + "name": "destroyActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 187, + 21 + ], + [ + 193, + 1 + ] + ], + "doc": "Public: Destroys the currently active item and make the next item active. " + } + }, + "193": { + "15": { + "name": "destroyItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 193, + 15 + ], + [ + 204, + 1 + ] + ], + "doc": " Public: Destroys the given item. If it is the active item, activate the next\none. If this is the last item, also destroys the pane. " + } + }, + "204": { + "16": { + "name": "destroyItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 204, + 16 + ], + [ + 208, + 1 + ] + ], + "doc": "Public: Destroys all items and destroys the pane. " + } + }, + "208": { + "24": { + "name": "destroyInactiveItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 208, + 24 + ], + [ + 211, + 1 + ] + ], + "doc": "Public: Destroys all items but the active one. " + } + }, + "211": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 211, + 11 + ], + [ + 218, + 1 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 218, + 13 + ], + [ + 224, + 1 + ] + ], + "doc": "Private: Called by model superclass. " + } + }, + "224": { + "20": { + "name": "promptToSaveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 224, + 20 + ], + [ + 239, + 1 + ] + ], + "doc": " Public: Prompts the user to save the given item if it can be saved and is\ncurrently unsaved. " + } + }, + "239": { + "18": { + "name": "saveActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 239, + 18 + ], + [ + 243, + 1 + ] + ], + "doc": "Public: Saves the active item. " + } + }, + "243": { + "20": { + "name": "saveActiveItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 243, + 20 + ], + [ + 251, + 1 + ] + ], + "doc": "Public: Saves the active item at a prompted-for location. " + } + }, + "251": { + "12": { + "name": "saveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "nextAction" + ], + "range": [ + [ + 251, + 12 + ], + [ + 263, + 1 + ] + ], + "doc": " Public: Saves the specified item.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " + } + }, + "263": { + "14": { + "name": "saveItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "nextAction" + ], + "range": [ + [ + 263, + 14 + ], + [ + 273, + 1 + ] + ], + "doc": " Public: Saves the given item at a prompted-for location.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " + } + }, + "273": { + "13": { + "name": "saveItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 273, + 13 + ], + [ + 278, + 1 + ] + ], + "doc": "Public: Saves all items. " + } + }, + "278": { + "14": { + "name": "itemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 278, + 14 + ], + [ + 283, + 1 + ] + ], + "doc": " Public: Returns the first item that matches the given URI or undefined if\nnone exists. " + } + }, + "283": { + "22": { + "name": "activateItemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 283, + 22 + ], + [ + 290, + 1 + ] + ], + "doc": " Public: Activates the first item that matches the given URI. Returns a\nboolean indicating whether a matching item was found. " + } + }, + "290": { + "18": { + "name": "copyActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 290, + 18 + ], + [ + 300, + 1 + ] + ], + "doc": "~Private~" + } + }, + "300": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 300, + 13 + ], + [ + 309, + 1 + ] + ], + "doc": " Public: Creates a new pane to the left of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "309": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 309, + 14 + ], + [ + 318, + 1 + ] + ], + "doc": " Public: Creates a new pane to the right of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "318": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 318, + 11 + ], + [ + 327, + 1 + ] + ], + "doc": " Public: Creates a new pane above the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "327": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 327, + 13 + ], + [ + 330, + 1 + ] + ], + "doc": " Public: Creates a new pane below the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "330": { + "9": { + "name": "split", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "orientation", + "side", + "params" + ], + "range": [ + [ + 330, + 9 + ], + [ + 344, + 1 + ] + ], + "doc": "~Private~" + } + }, + "344": { + "23": { + "name": "findLeftmostSibling", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 344, + 23 + ], + [ + 356, + 1 + ] + ], + "doc": " Private: If the parent is a horizontal axis, returns its first child if it is a pane;\notherwise returns this pane. " + } + }, + "356": { + "32": { + "name": "findOrCreateRightmostSibling", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 356, + 32 + ], + [ + 364, + 19 + ] + ], + "doc": " Private: If the parent is a horizontal axis, returns its last child if it is a pane;\notherwise returns a new pane created by splitting this pane rightward. " + } + } + }, + "exports": 11 + }, + "src/project.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@2.x" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q@~1.0.1" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "9": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 9, + 15 + ], + [ + 9, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@1.x" + } + }, + "10": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer" + } + }, + "11": { + "1": { + "type": "import", + "range": [ + [ + 11, + 1 + ], + [ + 11, + 9 + ] + ], + "bindingType": "variable", + "module": "pathwatcher@^2.0.2", + "name": "Directory", + "exportsProperty": "Directory" + } + }, + "13": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 13, + 9 + ], + [ + 13, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "14": { + "7": { + "name": "Task", + "type": "import", + "range": [ + [ + 14, + 7 + ], + [ + 14, + 22 + ] + ], + "bindingType": "variable", + "path": "./task" + } + }, + "15": { + "6": { + "name": "Git", + "type": "import", + "range": [ + [ + 15, + 6 + ], + [ + 15, + 20 + ] + ], + "bindingType": "variable", + "path": "./git" + } + }, + "21": { + "0": { + "type": "class", + "name": "Project", + "bindingType": "exports", + "classProperties": [ + [ + 26, + 25 + ] + ], + "prototypeProperties": [ + [ + 31, + 15 + ], + [ + 40, + 19 + ], + [ + 44, + 21 + ], + [ + 48, + 13 + ], + [ + 52, + 15 + ], + [ + 57, + 28 + ], + [ + 61, + 11 + ], + [ + 64, + 11 + ], + [ + 68, + 11 + ], + [ + 85, + 20 + ], + [ + 95, + 11 + ], + [ + 109, + 14 + ], + [ + 114, + 12 + ], + [ + 124, + 8 + ], + [ + 130, + 12 + ], + [ + 139, + 14 + ], + [ + 143, + 18 + ], + [ + 146, + 21 + ], + [ + 150, + 21 + ], + [ + 163, + 17 + ], + [ + 168, + 15 + ], + [ + 172, + 19 + ], + [ + 184, + 15 + ], + [ + 194, + 13 + ], + [ + 198, + 20 + ], + [ + 207, + 16 + ], + [ + 211, + 23 + ], + [ + 221, + 8 + ], + [ + 268, + 11 + ], + [ + 300, + 24 + ], + [ + 304, + 14 + ], + [ + 315, + 18 + ], + [ + 320, + 20 + ], + [ + 325, + 14 + ], + [ + 330, + 14 + ] + ], + "doc": " Public: Represents a project that's opened in Atom.\n\nAn instance of this class is always available as the `atom.project` global. ", + "range": [ + [ + 21, + 0 + ], + [ + 332, + 31 + ] + ] + } + }, + "26": { + "25": { + "name": "pathForRepositoryUrl", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "repoUrl" + ], + "range": [ + [ + 26, + 25 + ], + [ + 31, + 1 + ] + ], + "doc": "Public: Find the local path for the given repository URL. " + } + }, + "31": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 31, + 15 + ], + [ + 40, + 1 + ] + ], + "doc": "~Private~" + } + }, + "40": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 40, + 19 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 44, + 21 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 13 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "15": { + "name": "destroyRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 15 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "28": { + "name": "destroyUnretainedBuffers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 28 + ], + [ + 61, + 1 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "11": { + "name": "getRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 11 + ], + [ + 61, + 18 + ] + ], + "doc": "Public: Returns the {Git} repository if available. " + } + }, + "64": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 11 + ], + [ + 68, + 1 + ] + ], + "doc": "Public: Returns the project's fullpath. " + } + }, + "68": { + "11": { + "name": "setPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "projectPath" + ], + "range": [ + [ + 68, + 11 + ], + [ + 85, + 1 + ] + ], + "doc": "Public: Sets the project's fullpath. " + } + }, + "85": { + "20": { + "name": "getRootDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 85, + 20 + ], + [ + 95, + 1 + ] + ], + "doc": "Public: Returns the root {Directory} object for this project. " + } + }, + "95": { + "11": { + "name": "resolve", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 95, + 11 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Given a uri, this resolves it relative to the project directory. If\nthe path is already absolute or if it is prefixed with a scheme, it is\nreturned unchanged.\n\nuri - The {String} name of the path to convert.\n\nReturns a {String} or undefined if the uri is not missing or empty. " + } + }, + "109": { + "14": { + "name": "relativize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fullPath" + ], + "range": [ + [ + 109, + 14 + ], + [ + 114, + 1 + ] + ], + "doc": "Public: Make the given path relative to the project directory. " + } + }, + "114": { + "12": { + "name": "contains", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToCheck" + ], + "range": [ + [ + 114, + 12 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Returns whether the given path is inside this project. " + } + }, + "124": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "options" + ], + "range": [ + [ + 124, + 8 + ], + [ + 130, + 1 + ] + ], + "doc": " Private: Given a path to a file, this constructs and associates a new\n{Editor}, showing the file.\n\nfilePath - The {String} path of the file to associate with.\noptions - Options that you can pass to the {Editor} constructor.\n\nReturns a promise that resolves to an {Editor}. " + } + }, + "130": { + "12": { + "name": "openSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "options" + ], + "range": [ + [ + 130, + 12 + ], + [ + 139, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "139": { + "14": { + "name": "getBuffers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 139, + 14 + ], + [ + 143, + 1 + ] + ], + "doc": " Private: Retrieves all the {TextBuffer}s in the project; that is, the\nbuffers for all open files.\n\nReturns an {Array} of {TextBuffer}s. " + } + }, + "143": { + "18": { + "name": "isPathModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 143, + 18 + ], + [ + 146, + 1 + ] + ], + "doc": "Private: Is the buffer for the given path modified? " + } + }, + "146": { + "21": { + "name": "findBufferForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 146, + 21 + ], + [ + 150, + 1 + ] + ], + "doc": "~Private~" + } + }, + "150": { + "21": { + "name": "bufferForPathSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 150, + 21 + ], + [ + 163, + 1 + ] + ], + "doc": "Private: Only to be used in specs " + } + }, + "163": { + "17": { + "name": "bufferForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 163, + 17 + ], + [ + 168, + 1 + ] + ], + "doc": " Private: Given a file path, this retrieves or creates a new {TextBuffer}.\n\nIf the `filePath` already has a `buffer`, that value is used instead. Otherwise,\n`text` is used as the contents of the new buffer.\n\nfilePath - A {String} representing a path. If `null`, an \"Untitled\" buffer is created.\n\nReturns a promise that resolves to the {TextBuffer}. " + } + }, + "168": { + "15": { + "name": "bufferForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 168, + 15 + ], + [ + 172, + 1 + ] + ], + "doc": "~Private~" + } + }, + "172": { + "19": { + "name": "buildBufferSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "absoluteFilePath" + ], + "range": [ + [ + 172, + 19 + ], + [ + 184, + 1 + ] + ], + "doc": "Private: Still needed when deserializing a tokenized buffer " + } + }, + "184": { + "15": { + "name": "buildBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "absoluteFilePath" + ], + "range": [ + [ + 184, + 15 + ], + [ + 194, + 1 + ] + ], + "doc": " Private: Given a file path, this sets its {TextBuffer}.\n\nabsoluteFilePath - A {String} representing a path.\ntext - The {String} text to use as a buffer.\n\nReturns a promise that resolves to the {TextBuffer}. " + } + }, + "194": { + "13": { + "name": "addBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "options" + ], + "range": [ + [ + 194, + 13 + ], + [ + 198, + 1 + ] + ], + "doc": "~Private~" + } + }, + "198": { + "20": { + "name": "addBufferAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "index", + "options" + ], + "range": [ + [ + 198, + 20 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "16": { + "name": "removeBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer" + ], + "range": [ + [ + 207, + 16 + ], + [ + 211, + 1 + ] + ], + "doc": " Private: Removes a {TextBuffer} association from the project.\n\nReturns the removed {TextBuffer}. " + } + }, + "211": { + "23": { + "name": "removeBufferAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index", + "options" + ], + "range": [ + [ + 211, + 23 + ], + [ + 221, + 1 + ] + ], + "doc": "~Private~" + } + }, + "221": { + "8": { + "name": "scan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "options", + "iterator" + ], + "range": [ + [ + 221, + 8 + ], + [ + 268, + 1 + ] + ], + "doc": " Public: Performs a search across all the files in the project.\n\nregex - A {RegExp} to search with.\noptions - An optional options {Object} (default: {}):\n :paths - An {Array} of glob patterns to search within\niterator - A {Function} callback on each file found " + } + }, + "268": { + "11": { + "name": "replace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "replacementText", + "filePaths", + "iterator" + ], + "range": [ + [ + 268, + 11 + ], + [ + 300, + 1 + ] + ], + "doc": " Public: Performs a replace across all the specified files in the project.\n\nregex - A {RegExp} to search with.\nreplacementText - Text to replace all matches of regex with\nfilePaths - List of file path strings to run the replace on.\niterator - A {Function} callback on each file with replacements:\n `({filePath, replacements}) ->`. " + } + }, + "300": { + "24": { + "name": "buildEditorForBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "editorOptions" + ], + "range": [ + [ + 300, + 24 + ], + [ + 304, + 1 + ] + ], + "doc": "~Private~" + } + }, + "304": { + "14": { + "name": "eachBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 304, + 14 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "18": { + "name": "registerOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 315, + 18 + ], + [ + 320, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "320": { + "20": { + "name": "unregisterOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 320, + 20 + ], + [ + 325, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "325": { + "14": { + "name": "eachEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 325, + 14 + ], + [ + 330, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "330": { + "14": { + "name": "getEditors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 330, + 14 + ], + [ + 332, + 31 + ] + ], + "doc": "Deprecated: delegate " + } + } + }, + "exports": 21 + }, + "src/react-editor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "defaults", + "exportsProperty": "defaults" + } + }, + "3": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 3, + 13 + ], + [ + 3, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer" + } + }, + "4": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "5": { + "18": { + "name": "EditorComponent", + "type": "import", + "range": [ + [ + 5, + 18 + ], + [ + 5, + 45 + ] + ], + "bindingType": "variable", + "path": "./editor-component" + } + }, + "8": { + "0": { + "type": "class", + "name": "ReactEditorView", + "bindingType": "exports", + "classProperties": [ + [ + 9, + 12 + ] + ], + "prototypeProperties": [ + [ + 14, + 17 + ], + [ + 16, + 15 + ], + [ + 58, + 13 + ], + [ + 60, + 12 + ], + [ + 69, + 15 + ], + [ + 77, + 13 + ], + [ + 83, + 14 + ], + [ + 89, + 18 + ], + [ + 92, + 26 + ], + [ + 95, + 26 + ], + [ + 98, + 26 + ], + [ + 101, + 25 + ], + [ + 105, + 34 + ], + [ + 108, + 34 + ], + [ + 111, + 21 + ], + [ + 116, + 16 + ], + [ + 122, + 13 + ], + [ + 127, + 14 + ], + [ + 132, + 11 + ], + [ + 137, + 13 + ], + [ + 141, + 11 + ], + [ + 144, + 9 + ], + [ + 150, + 8 + ], + [ + 154, + 8 + ], + [ + 158, + 20 + ], + [ + 165, + 12 + ], + [ + 168, + 10 + ], + [ + 171, + 12 + ], + [ + 174, + 28 + ], + [ + 177, + 27 + ], + [ + 180, + 17 + ], + [ + 183, + 17 + ], + [ + 186, + 15 + ], + [ + 189, + 15 + ], + [ + 192, + 19 + ], + [ + 195, + 17 + ], + [ + 198, + 22 + ], + [ + 201, + 15 + ], + [ + 204, + 21 + ], + [ + 207, + 18 + ], + [ + 210, + 18 + ], + [ + 213, + 11 + ], + [ + 216, + 11 + ], + [ + 219, + 14 + ], + [ + 222, + 18 + ], + [ + 225, + 19 + ], + [ + 228, + 24 + ], + [ + 230, + 17 + ], + [ + 232, + 16 + ], + [ + 234, + 10 + ], + [ + 236, + 22 + ], + [ + 242, + 27 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 243, + 49 + ] + ] + } + }, + "9": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 9, + 12 + ], + [ + 14, + 1 + ] + ] + } + }, + "14": { + "17": { + "name": "focusOnAttach", + "type": "primitive", + "range": [ + [ + 14, + 17 + ], + [ + 14, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorOrParams", + "props" + ], + "range": [ + [ + 16, + 15 + ], + [ + 58, + 1 + ] + ], + "doc": "~Private~" + } + }, + "58": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 58, + 13 + ], + [ + 58, + 22 + ] + ], + "doc": "~Private~" + } + }, + "69": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 69, + 15 + ], + [ + 77, + 1 + ] + ], + "doc": "~Private~" + } + }, + "77": { + "13": { + "name": "scrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 77, + 13 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "14": { + "name": "scrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 83, + 14 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "18": { + "name": "scrollToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 18 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 92, + 26 + ], + [ + 95, + 1 + ] + ], + "doc": "~Private~" + } + }, + "95": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 95, + 26 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 26 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "scrollToPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 101, + 25 + ], + [ + 105, + 1 + ] + ], + "doc": "~Private~" + } + }, + "105": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 105, + 34 + ], + [ + 108, + 1 + ] + ], + "doc": "~Private~" + } + }, + "108": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 108, + 34 + ], + [ + 111, + 1 + ] + ], + "doc": "~Private~" + } + }, + "111": { + "21": { + "name": "appendToLinesView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 111, + 21 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 16 + ], + [ + 122, + 1 + ] + ], + "doc": "~Private~" + } + }, + "122": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 122, + 13 + ], + [ + 127, + 1 + ] + ], + "doc": "Public: Split the editor view left. " + } + }, + "127": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 127, + 14 + ], + [ + 132, + 1 + ] + ], + "doc": "Public: Split the editor view right. " + } + }, + "132": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 132, + 11 + ], + [ + 137, + 1 + ] + ], + "doc": "Public: Split the editor view up. " + } + }, + "137": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 13 + ], + [ + 141, + 1 + ] + ], + "doc": "Public: Split the editor view down. " + } + }, + "141": { + "11": { + "name": "getPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 11 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 144, + 9 + ], + [ + 150, + 1 + ] + ], + "doc": "~Private~" + } + }, + "150": { + "8": { + "name": "hide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 150, + 8 + ], + [ + 154, + 1 + ] + ], + "doc": "~Private~" + } + }, + "154": { + "8": { + "name": "show", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 8 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "20": { + "name": "pollComponentDOM", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 20 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 12 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 10 + ], + [ + 171, + 1 + ] + ], + "doc": "~Private~" + } + }, + "171": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 12 + ], + [ + 174, + 1 + ] + ], + "doc": "~Private~" + } + }, + "174": { + "28": { + "name": "getFirstVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 174, + 28 + ], + [ + 177, + 1 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "27": { + "name": "getLastVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 27 + ], + [ + 180, + 1 + ] + ], + "doc": "~Private~" + } + }, + "180": { + "17": { + "name": "getFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 180, + 17 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "17": { + "name": "setFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 183, + 17 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "15": { + "name": "getFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 186, + 15 + ], + [ + 189, + 1 + ] + ], + "doc": "~Private~" + } + }, + "189": { + "15": { + "name": "setFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 189, + 15 + ], + [ + 192, + 1 + ] + ], + "doc": "~Private~" + } + }, + "192": { + "19": { + "name": "setWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "widthInChars" + ], + "range": [ + [ + 192, + 19 + ], + [ + 195, + 1 + ] + ], + "doc": "~Private~" + } + }, + "195": { + "17": { + "name": "setLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 195, + 17 + ], + [ + 198, + 1 + ] + ], + "doc": "~Private~" + } + }, + "198": { + "22": { + "name": "setShowIndentGuide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showIndentGuide" + ], + "range": [ + [ + 198, + 22 + ], + [ + 201, + 1 + ] + ], + "doc": "~Private~" + } + }, + "201": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 201, + 15 + ], + [ + 204, + 1 + ] + ], + "doc": "~Private~" + } + }, + "204": { + "21": { + "name": "setShowInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showInvisibles" + ], + "range": [ + [ + 204, + 21 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 207, + 18 + ], + [ + 210, + 1 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 18 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 11 + ], + [ + 216, + 1 + ] + ], + "doc": "~Private~" + } + }, + "216": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 216, + 11 + ], + [ + 219, + 1 + ] + ], + "doc": "~Private~" + } + }, + "219": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 219, + 14 + ], + [ + 222, + 1 + ] + ], + "doc": "~Private~" + } + }, + "222": { + "18": { + "name": "isInputEnabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 222, + 18 + ], + [ + 225, + 1 + ] + ], + "doc": "~Private~" + } + }, + "225": { + "19": { + "name": "setInputEnabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "inputEnabled" + ], + "range": [ + [ + 225, + 19 + ], + [ + 228, + 1 + ] + ], + "doc": "~Private~" + } + }, + "228": { + "24": { + "name": "requestDisplayUpdate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 228, + 24 + ], + [ + 228, + 25 + ] + ], + "doc": "~Private~" + } + }, + "230": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 230, + 17 + ], + [ + 230, + 18 + ] + ], + "doc": "~Private~" + } + }, + "232": { + "16": { + "name": "resetDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 232, + 16 + ], + [ + 232, + 17 + ] + ], + "doc": "~Private~" + } + }, + "234": { + "10": { + "name": "redraw", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 10 + ], + [ + 234, + 11 + ] + ], + "doc": "~Private~" + } + }, + "236": { + "22": { + "name": "setPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "placeholderText" + ], + "range": [ + [ + 236, + 22 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "27": { + "name": "lineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 242, + 27 + ], + [ + 243, + 49 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/replace-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "PathReplacer", + "exportsProperty": "PathReplacer" + } + } + }, + "exports": 2 + }, + "src/repository-status-handler.coffee": { + "objects": { + "0": { + "6": { + "name": "Git", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "git-utils" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + } + }, + "exports": 3 + }, + "src/row-map.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 15 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "spliceWithArray", + "exportsProperty": "spliceWithArray" + } + }, + "16": { + "0": { + "type": "class", + "name": "RowMap", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 15 + ], + [ + 21, + 14 + ], + [ + 27, + 30 + ], + [ + 40, + 30 + ], + [ + 50, + 30 + ], + [ + 61, + 17 + ], + [ + 83, + 23 + ], + [ + 93, + 23 + ], + [ + 103, + 35 + ], + [ + 116, + 11 + ] + ], + "doc": " Private: Used by the display buffer to map screen rows to buffer rows and vice-versa.\nThis mapping may not be 1:1 due to folds and soft-wraps. This object maintains\nan array of regions, which contain `bufferRows` and `screenRows` fields.\n\nRectangular Regions:\nIf a region has the same number of buffer rows and screen rows, it is referred\nto as \"rectangular\", and represents one or more non-soft-wrapped, non-folded\nlines.\n\nTrapezoidal Regions:\nIf a region has one buffer row and more than one screen row, it represents a\nsoft-wrapped line. If a region has one screen row and more than one buffer\nrow, it represents folded lines ", + "range": [ + [ + 16, + 0 + ], + [ + 118, + 35 + ] + ] + } + }, + "17": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 15 + ], + [ + 21, + 1 + ] + ] + } + }, + "21": { + "14": { + "name": "getRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 14 + ], + [ + 27, + 1 + ] + ], + "doc": "Public: Returns a copy of all the regions in the map " + } + }, + "27": { + "30": { + "name": "screenRowRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 27, + 30 + ], + [ + 40, + 1 + ] + ], + "doc": " Public: Returns an end-row-exclusive range of screen rows corresponding to\nthe given buffer row. If the buffer row is soft-wrapped, the range may span\nmultiple screen rows. Otherwise it will span a single screen row. " + } + }, + "40": { + "30": { + "name": "bufferRowRangeForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetScreenRow" + ], + "range": [ + [ + 40, + 30 + ], + [ + 50, + 1 + ] + ], + "doc": " Public: Returns an end-row-exclusive range of buffer rows corresponding to\nthe given screen row. If the screen row is the first line of a folded range\nof buffer rows, the range may span multiple buffer rows. Otherwise it will\nspan a single buffer row. " + } + }, + "50": { + "30": { + "name": "bufferRowRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 50, + 30 + ], + [ + 61, + 1 + ] + ], + "doc": " Public: If the given buffer row is part of a folded row range, returns that\nrow range. Otherwise returns a range spanning only the given buffer row. " + } + }, + "61": { + "17": { + "name": "spliceRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "bufferRowCount", + "regions" + ], + "range": [ + [ + 61, + 17 + ], + [ + 83, + 1 + ] + ], + "doc": " Public: Given a starting buffer row, the number of buffer rows to replace,\nand an array of regions of shape {bufferRows: n, screenRows: m}, splices\nthe regions at the appropriate location in the map. This method is used by\ndisplay buffer to keep the map updated when the underlying buffer changes. " + } + }, + "83": { + "23": { + "name": "traverseToBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 83, + 23 + ], + [ + 93, + 1 + ] + ], + "doc": "~Private~" + } + }, + "93": { + "23": { + "name": "traverseToScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetScreenRow" + ], + "range": [ + [ + 93, + 23 + ], + [ + 103, + 1 + ] + ], + "doc": "~Private~" + } + }, + "103": { + "35": { + "name": "mergeAdjacentRectangularRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startIndex", + "endIndex" + ], + "range": [ + [ + 103, + 35 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 11 + ], + [ + 118, + 35 + ] + ], + "doc": "Public: Returns an array of strings describing the map's regions. " + } + } + }, + "exports": 16 + }, + "src/scan-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "PathSearcher", + "exportsProperty": "PathSearcher" + }, + "15": { + "type": "import", + "range": [ + [ + 0, + 15 + ], + [ + 0, + 25 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "PathScanner", + "exportsProperty": "PathScanner" + }, + "28": { + "type": "import", + "range": [ + [ + 0, + 28 + ], + [ + 0, + 33 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "search", + "exportsProperty": "search" + } + } + }, + "exports": 2 + }, + "src/scoped-properties.coffee": { + "objects": { + "0": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "3": { + "0": { + "type": "class", + "name": "ScopedProperties", + "bindingType": "exports", + "classProperties": [ + [ + 4, + 9 + ] + ], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 13, + 12 + ], + [ + 17, + 14 + ] + ], + "doc": "~Private~", + "range": [ + [ + 3, + 0 + ], + [ + 18, + 39 + ] + ] + } + }, + "4": { + "9": { + "name": "load", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "scopedPropertiesPath", + "callback" + ], + "range": [ + [ + 4, + 9 + ], + [ + 11, + 1 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 11, + 43 + ] + ], + "doc": "~Private~" + } + }, + "13": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 12 + ], + [ + 17, + 1 + ] + ], + "doc": "~Private~" + } + }, + "17": { + "14": { + "name": "deactivate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 14 + ], + [ + 18, + 39 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 3 + }, + "src/scroll-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "21": { + "0": { + "type": "class", + "name": "ScrollView", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 22, + 14 + ] + ], + "doc": " Public: Represents a view that scrolls.\n\nSubclasses must call `super` if overriding the `initialize` method or else\nthe following events won't be handled by the ScrollView.\n\n## Events\n * `core:move-up`\n * `core:move-down`\n * `core:page-up`\n * `core:page-down`\n * `core:move-to-top`\n * `core:move-to-bottom`\n\n## Requiring in packages\n\n```coffee\n {ScrollView} = require 'atom'\n``` ", + "range": [ + [ + 21, + 0 + ], + [ + 28, + 51 + ] + ] + } + }, + "22": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 22, + 14 + ], + [ + 28, + 51 + ] + ] + } + } + }, + "exports": 21 + }, + "src/scrollbar-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 6 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "extend", + "exportsProperty": "extend" + }, + "9": { + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "21": { + "name": "ScrollbarComponent", + "type": "function", + "range": [ + [ + 5, + 21 + ], + [ + 69, + 28 + ] + ] + } + }, + "6": { + "15": { + "name": "'ScrollbarComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 34 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 21 + ], + [ + 36, + 1 + ] + ], + "doc": null + } + }, + "36": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 36, + 25 + ], + [ + 45, + 1 + ] + ], + "doc": null + } + }, + "45": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 22 + ], + [ + 57, + 1 + ] + ], + "doc": null + } + }, + "57": { + "12": { + "name": "onScroll", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 12 + ], + [ + 69, + 28 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/scrollbar-corner-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "27": { + "name": "ScrollbarCornerComponent", + "type": "function", + "range": [ + [ + 5, + 27 + ], + [ + 23, + 99 + ] + ] + } + }, + "6": { + "15": { + "name": "'ScrollbarCornerComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 40 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 22, + 1 + ] + ], + "doc": null + } + }, + "22": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 22, + 25 + ], + [ + 23, + 99 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/select-list-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "4": { + "15": { + "name": "EditorView", + "type": "import", + "range": [ + [ + 4, + 15 + ], + [ + 4, + 37 + ] + ], + "bindingType": "variable", + "path": "./editor-view" + } + }, + "5": { + "14": { + "type": "primitive", + "range": [ + [ + 5, + 14 + ], + [ + 5, + 41 + ] + ] + } + }, + "36": { + "0": { + "type": "class", + "name": "SelectListView", + "bindingType": "exports", + "classProperties": [ + [ + 37, + 12 + ] + ], + "prototypeProperties": [ + [ + 46, + 12 + ], + [ + 47, + 19 + ], + [ + 48, + 17 + ], + [ + 49, + 14 + ], + [ + 55, + 14 + ], + [ + 90, + 24 + ], + [ + 102, + 12 + ], + [ + 109, + 12 + ], + [ + 119, + 14 + ], + [ + 136, + 18 + ], + [ + 143, + 16 + ], + [ + 174, + 19 + ], + [ + 179, + 15 + ], + [ + 181, + 26 + ], + [ + 186, + 22 + ], + [ + 191, + 18 + ], + [ + 197, + 20 + ], + [ + 207, + 23 + ], + [ + 213, + 19 + ], + [ + 216, + 20 + ], + [ + 233, + 15 + ], + [ + 244, + 13 + ], + [ + 258, + 16 + ], + [ + 261, + 21 + ], + [ + 266, + 23 + ], + [ + 269, + 16 + ], + [ + 275, + 13 + ], + [ + 283, + 10 + ] + ], + "doc": " Public: Provides a view that renders a list of items with an editor that\nfilters the items. Used by many packages such as the fuzzy-finder,\ncommand-palette, symbols-view and autocomplete.\n\nSubclasses must implement the following methods:\n\n* {::viewForItem}\n* {::confirmed}\n\n## Requiring in packages\n\n```coffee\n{SelectListView} = require 'atom'\n\nclass MySelectListView extends SelectListView\n initialize: ->\n super\n @addClass('overlay from-top')\n @setItems(['Hello', 'World'])\n atom.workspaceView.append(this)\n @focusFilterEditor()\n\n viewForItem: (item) ->\n \"
  • #{item}
  • \"\n\n confirmed: (item) ->\n console.log(\"#{item} was selected\")\n``` ", + "range": [ + [ + 36, + 0 + ], + [ + 291, + 34 + ] + ] + } + }, + "37": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 37, + 12 + ], + [ + 46, + 1 + ] + ] + } + }, + "46": { + "12": { + "name": "maxItems", + "type": "primitive", + "range": [ + [ + 46, + 12 + ], + [ + 46, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "47": { + "19": { + "name": "scheduleTimeout", + "type": "primitive", + "range": [ + [ + 47, + 19 + ], + [ + 47, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "48": { + "17": { + "name": "inputThrottle", + "type": "primitive", + "range": [ + [ + 48, + 17 + ], + [ + 48, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "49": { + "14": { + "name": "cancelling", + "type": "primitive", + "range": [ + [ + 49, + 14 + ], + [ + 49, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "55": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 14 + ], + [ + 90, + 1 + ] + ], + "doc": " Public: Initialize the select list view.\n\nThis method can be overridden by subclasses but `super` should always\nbe called. " + } + }, + "90": { + "24": { + "name": "schedulePopulateList", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 24 + ], + [ + 102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "102": { + "12": { + "name": "setItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 102, + 12 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Set the array of items to display in the list.\n\nThis should be model items not actual views. {::viewForItem} will be\ncalled to render the item when it is being appended to the list view.\n\nitems - The {Array} of model items to display in the list (default: []). " + } + }, + "109": { + "12": { + "name": "setError", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 109, + 12 + ], + [ + 119, + 1 + ] + ], + "doc": " Public: Set the error message to display.\n\nmessage - The {String} error message (default: ''). " + } + }, + "119": { + "14": { + "name": "setLoading", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 119, + 14 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Set the loading message to display.\n\nmessage - The {String} loading message (default: ''). " + } + }, + "136": { + "18": { + "name": "getFilterQuery", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 18 + ], + [ + 143, + 1 + ] + ], + "doc": " Public: Get the filter query to use when fuzzy filtering the visible\nelements.\n\nBy default this method returns the text in the mini editor but it can be\noverridden by subclasses if needed.\n\nReturns a {String} to use when fuzzy filtering the elements to display. " + } + }, + "143": { + "16": { + "name": "populateList", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 143, + 16 + ], + [ + 174, + 1 + ] + ], + "doc": " Public: Populate the list view with the model items previously set by\ncalling {::setItems}.\n\nSubclasses may override this method but should always call `super`. " + } + }, + "174": { + "19": { + "name": "getEmptyMessage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "itemCount", + "filteredItemCount" + ], + "range": [ + [ + 174, + 19 + ], + [ + 174, + 70 + ] + ], + "doc": " Public: Get the message to display when there are no items.\n\nSubclasses may override this method to customize the message.\n\nitemCount - The {Number} of items in the array specified to {::setItems}\nfilteredItemCount - The {Number} of items that pass the fuzzy filter test.\n\nReturns a {String} message (default: 'No matches found'). " + } + }, + "179": { + "15": { + "name": "setMaxItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 179, + 15 + ], + [ + 179, + 28 + ] + ], + "doc": " Public: Set the maximum numbers of items to display in the list.\n\nmaxItems - The maximum {Number} of items to display. " + } + }, + "181": { + "26": { + "name": "selectPreviousItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 181, + 26 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "22": { + "name": "selectNextItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 186, + 22 + ], + [ + 191, + 1 + ] + ], + "doc": "~Private~" + } + }, + "191": { + "18": { + "name": "selectItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 191, + 18 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "20": { + "name": "scrollToItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 197, + 20 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "23": { + "name": "getSelectedItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 207, + 23 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "19": { + "name": "getSelectedItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 19 + ], + [ + 216, + 1 + ] + ], + "doc": " Public: Get the model item that is currently selected in the list view.\n\nReturns a model item. " + } + }, + "216": { + "20": { + "name": "confirmSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 216, + 20 + ], + [ + 233, + 1 + ] + ], + "doc": "~Private~" + } + }, + "233": { + "15": { + "name": "viewForItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 233, + 15 + ], + [ + 244, + 1 + ] + ], + "doc": " Public: Create a view for the given model item.\n\nThis method must be overridden by subclasses.\n\nThis is called when the item is about to appended to the list view.\n\nitem - The model item being rendered. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a String of HTML, DOM element, jQuery object, or View. " + } + }, + "244": { + "13": { + "name": "confirmed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 244, + 13 + ], + [ + 258, + 1 + ] + ], + "doc": " Public: Callback function for when an item is selected.\n\nThis method must be overridden by subclasses.\n\nitem - The selected model item. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a DOM element, jQuery object, or {View}. " + } + }, + "258": { + "16": { + "name": "getFilterKey", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 258, + 16 + ], + [ + 258, + 17 + ] + ], + "doc": " Public: Get the property name to use when filtering items.\n\nThis method may be overridden by classes to allow fuzzy filtering based\non a specific property of the item objects.\n\nFor example if the objects you pass to {::setItems} are of the type\n`{\"id\": 3, \"name\": \"Atom\"}` then you would return `\"name\"` from this method\nto fuzzy filter by that property when text is entered into this view's\neditor.\n\nReturns the property name to fuzzy filter by. " + } + }, + "261": { + "21": { + "name": "focusFilterEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 21 + ], + [ + 266, + 1 + ] + ], + "doc": "Public: Focus the fuzzy filter editor view. " + } + }, + "266": { + "23": { + "name": "storeFocusedElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 266, + 23 + ], + [ + 269, + 1 + ] + ], + "doc": " Public: Store the currently focused element. This element will be given\nback focus when {::cancel} is called. " + } + }, + "269": { + "16": { + "name": "restoreFocus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 16 + ], + [ + 275, + 1 + ] + ], + "doc": "~Private~" + } + }, + "275": { + "13": { + "name": "cancelled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 275, + 13 + ], + [ + 283, + 1 + ] + ], + "doc": "~Private~" + } + }, + "283": { + "10": { + "name": "cancel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 283, + 10 + ], + [ + 291, + 34 + ] + ], + "doc": " Public: Cancel and close this select list view.\n\nThis restores focus to the previously focused element if\n{::storeFocusedElement} was called prior to this view being attached. " + } + } + }, + "exports": 36 + }, + "src/selection-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 8 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + } + }, + "4": { + "0": { + "type": "class", + "name": "SelectionView", + "bindingType": "exports", + "classProperties": [ + [ + 6, + 12 + ] + ], + "prototypeProperties": [ + [ + 9, + 11 + ], + [ + 10, + 16 + ], + [ + 12, + 14 + ], + [ + 19, + 17 + ], + [ + 37, + 16 + ], + [ + 50, + 26 + ], + [ + 57, + 16 + ], + [ + 61, + 18 + ], + [ + 64, + 18 + ], + [ + 67, + 19 + ], + [ + 70, + 19 + ], + [ + 73, + 13 + ], + [ + 79, + 15 + ], + [ + 82, + 10 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 84, + 9 + ] + ] + } + }, + "6": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 12 + ], + [ + 9, + 1 + ] + ], + "doc": "~Private~" + } + }, + "9": { + "11": { + "name": "regions", + "type": "primitive", + "range": [ + [ + 9, + 11 + ], + [ + 9, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "16": { + "name": "needsRemoval", + "type": "primitive", + "range": [ + [ + 10, + 16 + ], + [ + 10, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 14 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 19, + 17 + ], + [ + 37, + 1 + ] + ], + "doc": "~Private~" + } + }, + "37": { + "16": { + "name": "appendRegion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rows", + "start", + "end" + ], + "range": [ + [ + 37, + 16 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "26": { + "name": "getCenterPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 26 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "16": { + "name": "clearRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 16 + ], + [ + 61, + 1 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 18 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 18 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "19": { + "name": "needsAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 19 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 70, + 19 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "13": { + "name": "highlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 13 + ], + [ + 79, + 1 + ] + ], + "doc": "~Private~" + } + }, + "79": { + "15": { + "name": "unhighlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 15 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 10 + ], + [ + 84, + 9 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/selection.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "pick", + "exportsProperty": "pick" + } + }, + "6": { + "0": { + "type": "class", + "name": "Selection", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 7, + 10 + ], + [ + 8, + 10 + ], + [ + 9, + 10 + ], + [ + 10, + 22 + ], + [ + 11, + 12 + ], + [ + 12, + 19 + ], + [ + 14, + 15 + ], + [ + 25, + 11 + ], + [ + 28, + 12 + ], + [ + 34, + 19 + ], + [ + 38, + 11 + ], + [ + 45, + 14 + ], + [ + 49, + 22 + ], + [ + 53, + 18 + ], + [ + 60, + 18 + ], + [ + 64, + 18 + ], + [ + 74, + 18 + ], + [ + 91, + 21 + ], + [ + 98, + 25 + ], + [ + 101, + 25 + ], + [ + 104, + 25 + ], + [ + 107, + 25 + ], + [ + 110, + 14 + ], + [ + 114, + 11 + ], + [ + 118, + 9 + ], + [ + 126, + 14 + ], + [ + 138, + 18 + ], + [ + 144, + 14 + ], + [ + 155, + 18 + ], + [ + 163, + 26 + ], + [ + 184, + 26 + ], + [ + 188, + 15 + ], + [ + 192, + 14 + ], + [ + 196, + 12 + ], + [ + 200, + 14 + ], + [ + 205, + 15 + ], + [ + 210, + 18 + ], + [ + 214, + 13 + ], + [ + 219, + 27 + ], + [ + 224, + 32 + ], + [ + 229, + 21 + ], + [ + 234, + 27 + ], + [ + 239, + 21 + ], + [ + 244, + 31 + ], + [ + 248, + 32 + ], + [ + 252, + 28 + ], + [ + 257, + 36 + ], + [ + 262, + 40 + ], + [ + 266, + 21 + ], + [ + 284, + 22 + ], + [ + 289, + 21 + ], + [ + 316, + 14 + ], + [ + 349, + 20 + ], + [ + 383, + 10 + ], + [ + 399, + 22 + ], + [ + 405, + 25 + ], + [ + 412, + 13 + ], + [ + 417, + 30 + ], + [ + 422, + 30 + ], + [ + 428, + 27 + ], + [ + 434, + 27 + ], + [ + 443, + 10 + ], + [ + 455, + 21 + ], + [ + 462, + 21 + ], + [ + 467, + 22 + ], + [ + 477, + 14 + ], + [ + 496, + 13 + ], + [ + 522, + 23 + ], + [ + 532, + 26 + ], + [ + 542, + 22 + ], + [ + 546, + 18 + ], + [ + 551, + 7 + ], + [ + 561, + 8 + ], + [ + 579, + 8 + ], + [ + 584, + 19 + ], + [ + 595, + 13 + ], + [ + 603, + 25 + ], + [ + 606, + 28 + ], + [ + 609, + 23 + ], + [ + 617, + 18 + ], + [ + 625, + 9 + ], + [ + 641, + 11 + ], + [ + 644, + 22 + ] + ], + "doc": "Public: Represents a selection in the {Editor}. ", + "range": [ + [ + 6, + 0 + ], + [ + 647, + 45 + ] + ] + } + }, + "7": { + "10": { + "name": "cursor", + "type": "primitive", + "range": [ + [ + 7, + 10 + ], + [ + 7, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "8": { + "10": { + "name": "marker", + "type": "primitive", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "10": { + "name": "editor", + "type": "primitive", + "range": [ + [ + 9, + 10 + ], + [ + 9, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "22": { + "name": "initialScreenRange", + "type": "primitive", + "range": [ + [ + 10, + 22 + ], + [ + 10, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "11": { + "12": { + "name": "wordwise", + "type": "primitive", + "range": [ + [ + 11, + 12 + ], + [ + 11, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "19": { + "name": "needsAutoscroll", + "type": "primitive", + "range": [ + [ + 12, + 19 + ], + [ + 12, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 14, + 15 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 11 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "12": { + "name": "finalize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 12 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 19 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "11": { + "name": "isEmpty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 38, + 11 + ], + [ + 45, + 1 + ] + ], + "doc": "Public: Determines if the selection contains anything. " + } + }, + "45": { + "14": { + "name": "isReversed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 14 + ], + [ + 49, + 1 + ] + ], + "doc": " Public: Determines if the ending position of a marker is greater than the\nstarting position.\n\nThis can happen when, for example, you highlight text \"up\" in a {TextBuffer}. " + } + }, + "49": { + "22": { + "name": "isSingleScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 22 + ], + [ + 53, + 1 + ] + ], + "doc": "Public: Returns whether the selection is a single line or not. " + } + }, + "53": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 18 + ], + [ + 60, + 1 + ] + ], + "doc": "Public: Returns the screen {Range} for the selection. " + } + }, + "60": { + "18": { + "name": "setScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 60, + 18 + ], + [ + 64, + 1 + ] + ], + "doc": " Public: Modifies the screen range for the selection.\n\nscreenRange - The new {Range} to use.\noptions - A hash of options matching those found in {::setBufferRange}. " + } + }, + "64": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 18 + ], + [ + 74, + 1 + ] + ], + "doc": "Public: Returns the buffer {Range} for the selection. " + } + }, + "74": { + "18": { + "name": "setBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 74, + 18 + ], + [ + 91, + 1 + ] + ], + "doc": " Public: Modifies the buffer {Range} for the selection.\n\nscreenRange - The new {Range} to select.\noptions - An {Object} with the keys:\n :preserveFolds - if `true`, the fold settings are preserved after the\n selection moves.\n :autoscroll - if `true`, the {Editor} scrolls to the new selection. " + } + }, + "91": { + "21": { + "name": "getBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 21 + ], + [ + 98, + 1 + ] + ], + "doc": " Public: Returns the starting and ending buffer rows the selection is\nhighlighting.\n\nReturns an {Array} of two {Number}s: the starting row, and the ending row. " + } + }, + "98": { + "25": { + "name": "getTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 25 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "getTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 25 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "25": { + "name": "getHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 25 + ], + [ + 107, + 1 + ] + ], + "doc": "~Private~" + } + }, + "107": { + "25": { + "name": "getHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 25 + ], + [ + 110, + 1 + ] + ], + "doc": "~Private~" + } + }, + "110": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 14 + ], + [ + 114, + 1 + ] + ], + "doc": "~Private~" + } + }, + "114": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 114, + 11 + ], + [ + 118, + 1 + ] + ], + "doc": "Public: Returns the text in the selection. " + } + }, + "118": { + "9": { + "name": "clear", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 118, + 9 + ], + [ + 126, + 1 + ] + ], + "doc": "Public: Clears the selection, moving the marker to the head. " + } + }, + "126": { + "14": { + "name": "selectWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 14 + ], + [ + 138, + 1 + ] + ], + "doc": " Public: Modifies the selection to encompass the current word.\n\nReturns a {Range}. " + } + }, + "138": { + "18": { + "name": "expandOverWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 18 + ], + [ + 144, + 1 + ] + ], + "doc": " Public: Expands the newest selection to include the entire word on which\nthe cursors rests. " + } + }, + "144": { + "14": { + "name": "selectLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 144, + 14 + ], + [ + 155, + 1 + ] + ], + "doc": " Public: Selects an entire line in the buffer.\n\nrow - The line {Number} to select (default: the row of the cursor). " + } + }, + "155": { + "18": { + "name": "expandOverLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 155, + 18 + ], + [ + 163, + 1 + ] + ], + "doc": " Public: Expands the newest selection to include the entire line on which\nthe cursor currently rests.\n\nIt also includes the newline character. " + } + }, + "163": { + "26": { + "name": "selectToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 163, + 26 + ], + [ + 184, + 1 + ] + ], + "doc": " Public: Selects the text from the current cursor position to a given screen\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "184": { + "26": { + "name": "selectToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 184, + 26 + ], + [ + 188, + 1 + ] + ], + "doc": " Public: Selects the text from the current cursor position to a given buffer\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "188": { + "15": { + "name": "selectRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 15 + ], + [ + 192, + 1 + ] + ], + "doc": "Public: Selects the text one position right of the cursor. " + } + }, + "192": { + "14": { + "name": "selectLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 192, + 14 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Selects the text one position left of the cursor. " + } + }, + "196": { + "12": { + "name": "selectUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 196, + 12 + ], + [ + 200, + 1 + ] + ], + "doc": "Public: Selects all the text one position above the cursor. " + } + }, + "200": { + "14": { + "name": "selectDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 200, + 14 + ], + [ + 205, + 1 + ] + ], + "doc": "Public: Selects all the text one position below the cursor. " + } + }, + "205": { + "15": { + "name": "selectToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 205, + 15 + ], + [ + 210, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the top of\nthe buffer. " + } + }, + "210": { + "18": { + "name": "selectToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 18 + ], + [ + 214, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the bottom\nof the buffer. " + } + }, + "214": { + "13": { + "name": "selectAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 214, + 13 + ], + [ + 219, + 1 + ] + ], + "doc": "Public: Selects all the text in the buffer. " + } + }, + "219": { + "27": { + "name": "selectToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 219, + 27 + ], + [ + 224, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the line. " + } + }, + "224": { + "32": { + "name": "selectToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 32 + ], + [ + 229, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the first\ncharacter of the line. " + } + }, + "229": { + "21": { + "name": "selectToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 229, + 21 + ], + [ + 234, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the end of\nthe line. " + } + }, + "234": { + "27": { + "name": "selectToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 27 + ], + [ + 239, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the word. " + } + }, + "239": { + "21": { + "name": "selectToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 239, + 21 + ], + [ + 244, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the end of\nthe word. " + } + }, + "244": { + "31": { + "name": "selectToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 244, + 31 + ], + [ + 248, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next word. " + } + }, + "248": { + "32": { + "name": "selectToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 248, + 32 + ], + [ + 252, + 1 + ] + ], + "doc": "Public: Selects text to the previous word boundary. " + } + }, + "252": { + "28": { + "name": "selectToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 252, + 28 + ], + [ + 257, + 1 + ] + ], + "doc": "Public: Selects text to the next word boundary. " + } + }, + "257": { + "36": { + "name": "selectToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 257, + 36 + ], + [ + 262, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next paragraph. " + } + }, + "262": { + "40": { + "name": "selectToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 262, + 40 + ], + [ + 266, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the previous paragraph. " + } + }, + "266": { + "21": { + "name": "addSelectionBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 266, + 21 + ], + [ + 284, + 1 + ] + ], + "doc": "Public: Moves the selection down one row. " + } + }, + "284": { + "22": { + "name": "getGoalBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 22 + ], + [ + 289, + 1 + ] + ], + "doc": "FIXME: I have no idea what this does. " + } + }, + "289": { + "21": { + "name": "addSelectionAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 289, + 21 + ], + [ + 316, + 1 + ] + ], + "doc": "Public: Moves the selection up one row. " + } + }, + "316": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 316, + 14 + ], + [ + 349, + 1 + ] + ], + "doc": " Public: Replaces text at the current selection.\n\ntext - A {String} representing the text to add\noptions - An {Object} with keys:\n :select - if `true`, selects the newly added text.\n :autoIndent - if `true`, indents all inserted text appropriately.\n :autoIndentNewline - if `true`, indent newline appropriately.\n :autoDecreaseIndent - if `true`, decreases indent level appropriately\n (for example, when a closing bracket is inserted).\n :undo - if `skip`, skips the undo stack for this operation. " + } + }, + "349": { + "20": { + "name": "normalizeIndents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "indentBasis" + ], + "range": [ + [ + 349, + 20 + ], + [ + 383, + 1 + ] + ], + "doc": " Public: Indents the given text to the suggested level based on the grammar.\n\ntext - The {String} to indent within the selection.\nindentBasis - The beginning indent level. " + } + }, + "383": { + "10": { + "name": "indent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 383, + 10 + ], + [ + 399, + 1 + ] + ], + "doc": " Private: Indent the current line(s).\n\nIf the selection is empty, indents the current line if the cursor precedes\nnon-whitespace characters, and otherwise inserts a tab. If the selection is\nnon empty, calls {::indentSelectedRows}.\n\noptions - A {Object} with the keys:\n :autoIndent - If `true`, the line is indented to an automatically-inferred\n level. Otherwise, {Editor::getTabText} is inserted. " + } + }, + "399": { + "22": { + "name": "indentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 399, + 22 + ], + [ + 405, + 1 + ] + ], + "doc": "Public: If the selection spans multiple rows, indent all of them. " + } + }, + "405": { + "25": { + "name": "setIndentationForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line", + "indentLevel" + ], + "range": [ + [ + 405, + 25 + ], + [ + 412, + 1 + ] + ], + "doc": "Public: ? " + } + }, + "412": { + "13": { + "name": "backspace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 412, + 13 + ], + [ + 417, + 1 + ] + ], + "doc": " Public: Removes the first character before the selection if the selection\nis empty otherwise it deletes the selection. " + } + }, + "417": { + "30": { + "name": "backspaceToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 417, + 30 + ], + [ + 422, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " + } + }, + "422": { + "30": { + "name": "backspaceToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 422, + 30 + ], + [ + 428, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " + } + }, + "428": { + "27": { + "name": "deleteToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 27 + ], + [ + 434, + 1 + ] + ], + "doc": " Public: Removes from the start of the selection to the beginning of the\ncurrent word if the selection is empty otherwise it deletes the selection. " + } + }, + "434": { + "27": { + "name": "deleteToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 434, + 27 + ], + [ + 443, + 1 + ] + ], + "doc": " Public: Removes from the beginning of the line which the selection begins on\nall the way through to the end of the selection. " + } + }, + "443": { + "10": { + "name": "delete", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 443, + 10 + ], + [ + 455, + 1 + ] + ] + } + }, + "455": { + "21": { + "name": "deleteToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 455, + 21 + ], + [ + 462, + 1 + ] + ], + "doc": " Public: If the selection is empty, removes all text from the cursor to the\nend of the line. If the cursor is already at the end of the line, it\nremoves the following newline. If the selection isn't empty, only deletes\nthe contents of the selection. " + } + }, + "462": { + "21": { + "name": "deleteToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 462, + 21 + ], + [ + 467, + 1 + ] + ], + "doc": " Public: Removes the selection or all characters from the start of the\nselection to the end of the current word if nothing is selected. " + } + }, + "467": { + "22": { + "name": "deleteSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 467, + 22 + ], + [ + 477, + 1 + ] + ], + "doc": "Public: Removes only the selected text. " + } + }, + "477": { + "14": { + "name": "deleteLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 477, + 14 + ], + [ + 496, + 1 + ] + ], + "doc": " Public: Removes the line at the beginning of the selection if the selection\nis empty unless the selection spans multiple lines in which case all lines\nare removed. " + } + }, + "496": { + "13": { + "name": "joinLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 496, + 13 + ], + [ + 522, + 1 + ] + ], + "doc": " Public: Joins the current line with the one below it.\n\nIf there selection spans more than one line, all the lines are joined together. " + } + }, + "522": { + "23": { + "name": "outdentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 522, + 23 + ], + [ + 532, + 1 + ] + ], + "doc": "Public: Removes one level of indent from the currently selected rows. " + } + }, + "532": { + "26": { + "name": "autoIndentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 532, + 26 + ], + [ + 542, + 1 + ] + ], + "doc": " Public: Sets the indentation level of all selected rows to values suggested\nby the relevant grammars. " + } + }, + "542": { + "22": { + "name": "toggleLineComments", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 542, + 22 + ], + [ + 546, + 1 + ] + ], + "doc": " Public: Wraps the selected lines in comments if they aren't currently part\nof a comment.\n\nRemoves the comment if they are currently wrapped in a comment.\n\nReturns an Array of the commented {Range}s. " + } + }, + "546": { + "18": { + "name": "cutToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 546, + 18 + ], + [ + 551, + 1 + ] + ], + "doc": "Public: Cuts the selection until the end of the line. " + } + }, + "551": { + "7": { + "name": "cut", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 551, + 7 + ], + [ + 561, + 1 + ] + ], + "doc": "Public: Copies the selection to the clipboard and then deletes it. " + } + }, + "561": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 561, + 8 + ], + [ + 579, + 1 + ] + ], + "doc": " Public: Copies the current selection to the clipboard.\n\nIf the `maintainClipboard` is set to `true`, a specific metadata property\nis created to store each content copied to the clipboard. The clipboard\n`text` still contains the concatenation of the clipboard with the\ncurrent selection. " + } + }, + "579": { + "8": { + "name": "fold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 579, + 8 + ], + [ + 584, + 1 + ] + ], + "doc": "Public: Creates a fold containing the current selection. " + } + }, + "584": { + "19": { + "name": "modifySelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 584, + 19 + ], + [ + 595, + 1 + ] + ], + "doc": "~Private~" + } + }, + "595": { + "13": { + "name": "plantTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 595, + 13 + ], + [ + 603, + 1 + ] + ], + "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " + } + }, + "603": { + "25": { + "name": "intersectsBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 603, + 25 + ], + [ + 606, + 1 + ] + ], + "doc": " Public: Identifies if a selection intersects with a given buffer range.\n\nbufferRange - A {Range} to check against.\n\nReturns a Boolean. " + } + }, + "606": { + "28": { + "name": "intersectsScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 606, + 28 + ], + [ + 609, + 1 + ] + ], + "doc": "~Private~" + } + }, + "609": { + "23": { + "name": "intersectsScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 609, + 23 + ], + [ + 617, + 1 + ] + ], + "doc": "~Private~" + } + }, + "617": { + "18": { + "name": "intersectsWith", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection" + ], + "range": [ + [ + 617, + 18 + ], + [ + 625, + 1 + ] + ], + "doc": " Public: Identifies if a selection intersects with another selection.\n\notherSelection - A {Selection} to check against.\n\nReturns a Boolean. " + } + }, + "625": { + "9": { + "name": "merge", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection", + "options" + ], + "range": [ + [ + 625, + 9 + ], + [ + 641, + 1 + ] + ], + "doc": " Public: Combines the given selection into this selection and then destroys\nthe given selection.\n\notherSelection - A {Selection} to merge with.\noptions - A hash of options matching those found in {::setBufferRange}. " + } + }, + "641": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection" + ], + "range": [ + [ + 641, + 11 + ], + [ + 644, + 1 + ] + ], + "doc": " Public: Compare this selection's buffer range to another selection's buffer\nrange.\n\nSee {Range::compare} for more details.\n\notherSelection - A {Selection} to compare against. " + } + }, + "644": { + "22": { + "name": "screenRangeChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 644, + 22 + ], + [ + 647, + 45 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 6 + }, + "src/space-pen-extensions.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "11": { + "name": "spacePen", + "type": "import", + "range": [ + [ + 1, + 11 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "space-pen" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "6": { + "9": { + "name": "spacePen", + "type": "primitive", + "range": [ + [ + 6, + 9 + ], + [ + 6, + 16 + ] + ] + } + }, + "7": { + "20": { + "name": "jQuery", + "type": "primitive", + "range": [ + [ + 7, + 20 + ], + [ + 7, + 25 + ] + ] + } + }, + "8": { + "19": { + "name": "jQuery.cleanData", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "elements" + ], + "range": [ + [ + 8, + 19 + ], + [ + 11, + 0 + ] + ], + "doc": null + } + }, + "13": { + "2": { + "type": "primitive", + "range": [ + [ + 13, + 2 + ], + [ + 19, + 19 + ] + ] + } + }, + "14": { + "4": { + "type": "primitive", + "range": [ + [ + 14, + 4 + ], + [ + 15, + 12 + ] + ] + }, + "10": { + "name": "1000", + "type": "primitive", + "range": [ + [ + 14, + 10 + ], + [ + 14, + 13 + ] + ] + } + }, + "15": { + "10": { + "name": "100", + "type": "primitive", + "range": [ + [ + 15, + 10 + ], + [ + 15, + 12 + ] + ] + } + }, + "16": { + "13": { + "name": "'body'", + "type": "primitive", + "range": [ + [ + 16, + 13 + ], + [ + 16, + 18 + ] + ] + } + }, + "17": { + "8": { + "type": "primitive", + "range": [ + [ + 17, + 8 + ], + [ + 17, + 11 + ] + ] + } + }, + "18": { + "13": { + "name": "'auto top'", + "type": "primitive", + "range": [ + [ + 18, + 13 + ], + [ + 18, + 22 + ] + ] + } + }, + "19": { + "19": { + "name": "2", + "type": "primitive", + "range": [ + [ + 19, + 19 + ], + [ + 19, + 19 + ] + ] + } + }, + "21": { + "21": { + "name": "humanizeKeystrokes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "keystroke" + ], + "range": [ + [ + 21, + 21 + ], + [ + 25, + 0 + ] + ], + "doc": "~Private~" + } + }, + "26": { + "15": { + "name": "getKeystroke", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bindings" + ], + "range": [ + [ + 26, + 15 + ], + [ + 31, + 0 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "26": { + "name": "requireBootstrapTooltip", + "type": "function", + "range": [ + [ + 32, + 26 + ], + [ + 35, + 59 + ] + ] + } + }, + "36": { + "23": { + "name": "jQuery.fn.setTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "tooltipOptions", + null + ], + "range": [ + [ + 36, + 23 + ], + [ + 49, + 0 + ] + ], + "doc": null + } + }, + "50": { + "24": { + "name": "jQuery.fn.hideTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 24 + ], + [ + 55, + 0 + ] + ], + "doc": null + } + }, + "56": { + "27": { + "name": "jQuery.fn.destroyTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 27 + ], + [ + 61, + 38 + ] + ], + "doc": null + } + }, + "68": { + "36": { + "name": "getKeystroke", + "type": "primitive", + "range": [ + [ + 68, + 36 + ], + [ + 68, + 47 + ] + ] + } + }, + "69": { + "42": { + "name": "humanizeKeystrokes", + "type": "primitive", + "range": [ + [ + 69, + 42 + ], + [ + 69, + 59 + ] + ] + } + }, + "71": { + "49": { + "name": "get", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 71, + 49 + ], + [ + 71, + 55 + ] + ], + "doc": null + } + } + }, + "exports": 73 + }, + "src/subscriber-mixin.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "1": { + "18": { + "type": "primitive", + "range": [ + [ + 1, + 18 + ], + [ + 1, + 55 + ] + ] + }, + "39": { + "name": "componentDidUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 1, + 39 + ], + [ + 1, + 55 + ] + ], + "doc": null + } + } + }, + "exports": 3 + }, + "src/syntax.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 11 + ] + ], + "bindingType": "variable", + "module": "clear-cut", + "name": "specificity", + "exportsProperty": "specificity" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 15 + ] + ], + "bindingType": "variable", + "module": "first-mate", + "name": "GrammarRegistry", + "exportsProperty": "GrammarRegistry" + }, + "18": { + "type": "import", + "range": [ + [ + 4, + 18 + ], + [ + 4, + 30 + ] + ], + "bindingType": "variable", + "module": "first-mate", + "name": "ScopeSelector", + "exportsProperty": "ScopeSelector" + } + }, + "5": { + "22": { + "name": "ScopedPropertyStore", + "type": "import", + "range": [ + [ + 5, + 22 + ], + [ + 5, + 52 + ] + ], + "bindingType": "variable", + "module": "scoped-property-store" + } + }, + "6": { + "20": { + "name": "PropertyAccessors", + "type": "import", + "range": [ + [ + 6, + 20 + ], + [ + 6, + 47 + ] + ], + "bindingType": "variable", + "module": "property-accessors" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 8, + 4 + ], + [ + 8, + 5 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + } + }, + "9": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 9, + 8 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "18": { + "0": { + "type": "class", + "name": "Syntax", + "bindingType": "exports", + "classProperties": [ + [ + 23, + 16 + ] + ], + "prototypeProperties": [ + [ + 28, + 15 + ], + [ + 32, + 13 + ], + [ + 35, + 15 + ], + [ + 42, + 17 + ], + [ + 49, + 20 + ], + [ + 52, + 19 + ], + [ + 67, + 15 + ], + [ + 75, + 22 + ], + [ + 84, + 32 + ] + ], + "doc": " Public: Syntax class holding the grammars used for tokenizing.\n\nAn instance of this class is always available as the `atom.syntax` global.\n\nThe Syntax class also contains properties for things such as the\nlanguage-specific comment regexes. ", + "range": [ + [ + 18, + 0 + ], + [ + 85, + 52 + ] + ] + } + }, + "23": { + "16": { + "name": "deserialize", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 23, + 16 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 15 + ], + [ + 32, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "13": { + "name": "serialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 32, + 13 + ], + [ + 35, + 1 + ] + ], + "doc": "~Private~" + } + }, + "35": { + "15": { + "name": "createToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "scopes" + ], + "range": [ + [ + 35, + 15 + ], + [ + 35, + 59 + ] + ], + "doc": "~Private~" + } + }, + "42": { + "17": { + "name": "addProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 42, + 17 + ], + [ + 49, + 1 + ] + ], + "doc": "~Private~" + } + }, + "49": { + "20": { + "name": "removeProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 49, + 20 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "19": { + "name": "clearProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 19 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "15": { + "name": "getProperty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scope", + "keyPath" + ], + "range": [ + [ + 67, + 15 + ], + [ + 75, + 1 + ] + ], + "doc": " Public: Get a property for the given scope and key path.\n\n## Example\n```coffee\ncomment = atom.syntax.getProperty(['.source.ruby'], 'editor.commentStart')\nconsole.log(comment) # '# '\n```\n\nscope - An {Array} of {String} scopes.\nkeyPath - A {String} key path.\n\nReturns a {String} property value or undefined. " + } + }, + "75": { + "22": { + "name": "propertiesForScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scope", + "keyPath" + ], + "range": [ + [ + 75, + 22 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "32": { + "name": "cssSelectorFromScopeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeSelector" + ], + "range": [ + [ + 84, + 32 + ], + [ + 85, + 52 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 18 + }, + "src/task-bootstrap.coffee": { + "objects": { + "0": { + "1": { + "type": "primitive", + "name": "userAgent", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "exportsProperty": "userAgent" + }, + "12": { + "type": "primitive", + "name": "taskPath", + "range": [ + [ + 0, + 12 + ], + [ + 0, + 19 + ] + ], + "exportsProperty": "taskPath" + } + }, + "3": { + "15": { + "name": "setupGlobals", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 3, + 15 + ], + [ + 28, + 0 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "15": { + "name": "handleEvents", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 15 + ], + [ + 42, + 0 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "10": { + "name": "handler", + "type": "import", + "range": [ + [ + 45, + 10 + ], + [ + 45, + 26 + ] + ], + "bindingType": "variable", + "module": "askPat" + } + } + }, + "exports": {} + }, + "src/task.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "16": { + "name": "child_process", + "type": "import", + "range": [ + [ + 1, + 16 + ], + [ + 1, + 38 + ] + ], + "bindingType": "variable", + "module": "child_process", + "builtin": true + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "21": { + "0": { + "type": "class", + "name": "Task", + "bindingType": "exports", + "classProperties": [ + [ + 29, + 9 + ] + ], + "prototypeProperties": [ + [ + 41, + 12 + ], + [ + 47, + 15 + ], + [ + 73, + 16 + ], + [ + 82, + 9 + ], + [ + 95, + 8 + ], + [ + 102, + 13 + ] + ], + "doc": " Public: Run a node script in a separate process.\n\nUsed by the fuzzy-finder.\n\n## Events\n\n* task:log - Emitted when console.log is called within the task.\n* task:warn - Emitted when console.warn is called within the task.\n* task:error - Emitted when console.error is called within the task.\n* task:completed - Emitted when the task has succeeded or failed.\n\n## Requiring in packages\n\n```coffee\n {Task} = require 'atom'\n``` ", + "range": [ + [ + 21, + 0 + ], + [ + 109, + 10 + ] + ] + } + }, + "29": { + "9": { + "name": "once", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "taskPath", + "args" + ], + "range": [ + [ + 29, + 9 + ], + [ + 41, + 1 + ] + ], + "doc": " Public: A helper method to easily launch and run a task once.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file which\n exports a single {Function} to execute.\nargs - The arguments to pass to the exported function. " + } + }, + "41": { + "12": { + "name": "callback", + "type": "primitive", + "range": [ + [ + 41, + 12 + ], + [ + 41, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "47": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "taskPath" + ], + "range": [ + [ + 47, + 15 + ], + [ + 73, + 1 + ] + ], + "doc": " Public: Creates a task.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file that\n exports a single {Function} to execute. " + } + }, + "73": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 16 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Routes messages from the child to the appropriate event. " + } + }, + "82": { + "9": { + "name": "start", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args", + "callback" + ], + "range": [ + [ + 82, + 9 + ], + [ + 95, + 1 + ] + ], + "doc": " Public: Starts the task.\n\nargs - The arguments to pass to the function exported by this task's script.\ncallback - An optional {Function} to call when the task completes. " + } + }, + "95": { + "8": { + "name": "send", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 95, + 8 + ], + [ + 102, + 1 + ] + ], + "doc": " Public: Send message to the task.\n\nmessage - The message to send to the task. " + } + }, + "102": { + "13": { + "name": "terminate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 13 + ], + [ + 109, + 10 + ] + ], + "doc": " Public: Forcefully stop the running task.\n\nNo events are emitted. " + } + } + }, + "exports": 21 + }, + "src/text-utils.coffee": { + "objects": { + "0": { + "18": { + "name": "isHighSurrogate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 0, + 18 + ], + [ + 2, + 0 + ] + ], + "doc": "~Private~" + } + }, + "3": { + "17": { + "name": "isLowSurrogate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 3, + 17 + ], + [ + 11, + 21 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "18": { + "name": "isSurrogatePair", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 12, + 18 + ], + [ + 22, + 21 + ] + ], + "doc": " Private: Is the character at the given index the start of a high/low surrogate pair?\n\nstring - The {String} to check for a surrogate pair.\nindex - The {Number} index to look for a surrogate pair at.\n\nReturn a {Boolean}. " + } + }, + "23": { + "20": { + "name": "getCharacterCount", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 23, + 20 + ], + [ + 32, + 22 + ] + ], + "doc": " Private: Get the number of characters in the string accounting for surrogate pairs.\n\nThis method counts high/low surrogate pairs as a single character and will\nalways returns a value less than or equal to `string.length`.\n\nstring - The {String} to count the number of full characters in.\n\nReturns a {Number}. " + } + }, + "33": { + "19": { + "name": "hasSurrogatePair", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 33, + 19 + ], + [ + 35, + 0 + ] + ], + "doc": " Private: Does the given string contain at least one surrogate pair?\n\nstring - The {String} to check for the presence of surrogate pairs.\n\nReturns a {Boolean}. " + } + } + }, + "exports": 36 + }, + "src/theme-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@2.x" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q@~1.0.1" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "8": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "9": { + "1": { + "type": "import", + "range": [ + [ + 9, + 1 + ], + [ + 9, + 4 + ] + ], + "bindingType": "variable", + "module": "pathwatcher@^2.0.2", + "name": "File", + "exportsProperty": "File" + } + }, + "15": { + "0": { + "type": "class", + "name": "ThemeManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 18, + 15 + ], + [ + 22, + 21 + ], + [ + 27, + 18 + ], + [ + 31, + 18 + ], + [ + 35, + 19 + ], + [ + 39, + 19 + ], + [ + 42, + 20 + ], + [ + 47, + 24 + ], + [ + 57, + 18 + ], + [ + 82, + 20 + ], + [ + 87, + 20 + ], + [ + 93, + 20 + ], + [ + 96, + 18 + ], + [ + 109, + 25 + ], + [ + 116, + 25 + ], + [ + 121, + 22 + ], + [ + 133, + 23 + ], + [ + 137, + 25 + ], + [ + 142, + 26 + ], + [ + 145, + 21 + ], + [ + 160, + 21 + ], + [ + 169, + 18 + ], + [ + 175, + 22 + ], + [ + 197, + 14 + ], + [ + 200, + 20 + ], + [ + 209, + 19 + ] + ], + "doc": " Public: Handles loading and activating available themes.\n\nAn instance of this class is always available as the `atom.themes` global. ", + "range": [ + [ + 15, + 0 + ], + [ + 222, + 31 + ] + ] + } + }, + "18": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 18, + 15 + ], + [ + 22, + 1 + ] + ], + "doc": "~Private~" + } + }, + "22": { + "21": { + "name": "getAvailableNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 22, + 21 + ], + [ + 27, + 1 + ] + ], + "doc": "~Private~" + } + }, + "27": { + "18": { + "name": "getLoadedNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 18 + ], + [ + 31, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded theme names. " + } + }, + "31": { + "18": { + "name": "getActiveNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 31, + 18 + ], + [ + 35, + 1 + ] + ], + "doc": "Public: Get an array of all the active theme names. " + } + }, + "35": { + "19": { + "name": "getActiveThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 35, + 19 + ], + [ + 39, + 1 + ] + ], + "doc": "Public: Get an array of all the active themes. " + } + }, + "39": { + "19": { + "name": "getLoadedThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 39, + 19 + ], + [ + 42, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded themes. " + } + }, + "42": { + "20": { + "name": "activatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "themePackages" + ], + "range": [ + [ + 42, + 20 + ], + [ + 42, + 55 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "24": { + "name": "getEnabledThemeNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 47, + 24 + ], + [ + 57, + 1 + ] + ], + "doc": " Private: Get the enabled theme names from the config.\n\nReturns an array of theme names in the order that they should be activated. " + } + }, + "57": { + "18": { + "name": "activateThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 18 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "20": { + "name": "deactivateThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 20 + ], + [ + 87, + 1 + ] + ], + "doc": "~Private~" + } + }, + "87": { + "20": { + "name": "refreshLessCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 87, + 20 + ], + [ + 93, + 1 + ] + ], + "doc": "~Private~" + } + }, + "93": { + "20": { + "name": "setEnabledThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "enabledThemeNames" + ], + "range": [ + [ + 93, + 20 + ], + [ + 96, + 1 + ] + ], + "doc": " Public: Set the list of enabled themes.\n\nenabledThemeNames - An {Array} of {String} theme names. " + } + }, + "96": { + "18": { + "name": "getImportPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 18 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "25": { + "name": "getUserStylesheetPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 25 + ], + [ + 116, + 1 + ] + ], + "doc": "Public: Returns the {String} path to the user's stylesheet under ~/.atom " + } + }, + "116": { + "25": { + "name": "unwatchUserStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 25 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "22": { + "name": "loadUserStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 121, + 22 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "23": { + "name": "loadBaseStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 23 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "25": { + "name": "reloadBaseStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 25 + ], + [ + 142, + 1 + ] + ], + "doc": "~Private~" + } + }, + "142": { + "26": { + "name": "stylesheetElementForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id", + "htmlElement" + ], + "range": [ + [ + 142, + 26 + ], + [ + 145, + 1 + ] + ], + "doc": "~Private~" + } + }, + "145": { + "21": { + "name": "resolveStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 145, + 21 + ], + [ + 160, + 1 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "21": { + "name": "requireStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "type", + "htmlElement" + ], + "range": [ + [ + 160, + 21 + ], + [ + 169, + 1 + ] + ], + "doc": " Public: Resolve and apply the stylesheet specified by the path.\n\nThis supports both CSS and LESS stylsheets.\n\nstylesheetPath - A {String} path to the stylesheet that can be an absolute\n path or a relative path that will be resolved against the\n load path.\n\nReturns the absolute path to the required stylesheet. " + } + }, + "169": { + "18": { + "name": "loadStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "importFallbackVariables" + ], + "range": [ + [ + 169, + 18 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "22": { + "name": "loadLessStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lessStylesheetPath", + "importFallbackVariables" + ], + "range": [ + [ + 175, + 22 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "14": { + "name": "stringToId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 197, + 14 + ], + [ + 200, + 1 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "20": { + "name": "removeStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 200, + 20 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "19": { + "name": "applyStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "text", + "type", + "htmlElement" + ], + "range": [ + [ + 209, + 19 + ], + [ + 222, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 15 + }, + "src/theme-package.coffee": { + "objects": { + "0": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 14 + ] + ], + "bindingType": "variable", + "module": "q@~1.0.1" + } + }, + "1": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 1, + 10 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "4": { + "0": { + "type": "class", + "name": "ThemePackage", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 5, + 11 + ], + [ + 7, + 21 + ], + [ + 9, + 10 + ], + [ + 12, + 11 + ], + [ + 15, + 8 + ], + [ + 23, + 12 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 31, + 31 + ] + ] + } + }, + "5": { + "11": { + "name": "getType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 11 + ], + [ + 5, + 20 + ] + ] + } + }, + "7": { + "21": { + "name": "getStylesheetType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 7, + 21 + ], + [ + 7, + 30 + ] + ], + "doc": "~Private~" + } + }, + "9": { + "10": { + "name": "enable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 10 + ], + [ + 12, + 1 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "11": { + "name": "disable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 12, + 11 + ], + [ + 15, + 1 + ] + ], + "doc": "~Private~" + } + }, + "15": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 15, + 8 + ], + [ + 23, + 1 + ] + ], + "doc": "~Private~" + } + }, + "23": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 23, + 12 + ], + [ + 31, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/token.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "12": { + "name": "textUtils", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 33 + ] + ], + "bindingType": "variable", + "path": "./text-utils" + } + }, + "3": { + "31": { + "type": "primitive", + "range": [ + [ + 3, + 31 + ], + [ + 3, + 32 + ] + ] + } + }, + "4": { + "20": { + "name": "/^[ ]+/", + "type": "primitive", + "range": [ + [ + 4, + 20 + ], + [ + 4, + 26 + ] + ] + } + }, + "5": { + "21": { + "name": "/[ ]+$/", + "type": "primitive", + "range": [ + [ + 5, + 21 + ], + [ + 5, + 27 + ] + ] + } + }, + "6": { + "14": { + "name": "/[&\"'<>]/g", + "type": "primitive", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 23 + ] + ] + } + }, + "7": { + "17": { + "name": "/./g", + "type": "primitive", + "range": [ + [ + 7, + 17 + ], + [ + 7, + 20 + ] + ] + } + }, + "8": { + "22": { + "name": "/^./", + "type": "primitive", + "range": [ + [ + 8, + 22 + ], + [ + 8, + 25 + ] + ] + } + }, + "9": { + "16": { + "name": "/^\\.?/", + "type": "primitive", + "range": [ + [ + 9, + 16 + ], + [ + 9, + 21 + ] + ] + } + }, + "10": { + "18": { + "name": "/\\S/", + "type": "primitive", + "range": [ + [ + 10, + 18 + ], + [ + 10, + 21 + ] + ] + } + }, + "12": { + "17": { + "name": "20000", + "type": "primitive", + "range": [ + [ + 12, + 17 + ], + [ + 12, + 21 + ] + ] + } + }, + "16": { + "0": { + "type": "class", + "name": "Token", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 9 + ], + [ + 18, + 20 + ], + [ + 19, + 10 + ], + [ + 20, + 12 + ], + [ + 21, + 13 + ], + [ + 22, + 24 + ], + [ + 23, + 25 + ], + [ + 25, + 15 + ], + [ + 30, + 11 + ], + [ + 33, + 13 + ], + [ + 36, + 11 + ], + [ + 41, + 31 + ], + [ + 44, + 24 + ], + [ + 86, + 26 + ], + [ + 106, + 27 + ], + [ + 113, + 21 + ], + [ + 116, + 21 + ], + [ + 119, + 17 + ], + [ + 129, + 20 + ], + [ + 132, + 24 + ], + [ + 138, + 18 + ], + [ + 185, + 16 + ], + [ + 194, + 23 + ] + ], + "doc": "Private: Represents a single unit of text as selected by a grammar. ", + "range": [ + [ + 16, + 0 + ], + [ + 201, + 16 + ] + ] + } + }, + "17": { + "9": { + "name": "value", + "type": "primitive", + "range": [ + [ + 17, + 9 + ], + [ + 17, + 12 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "20": { + "name": "hasSurrogatePair", + "type": "primitive", + "range": [ + [ + 18, + 20 + ], + [ + 18, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "10": { + "name": "scopes", + "type": "primitive", + "range": [ + [ + 19, + 10 + ], + [ + 19, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "20": { + "12": { + "name": "isAtomic", + "type": "primitive", + "range": [ + [ + 20, + 12 + ], + [ + 20, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "13": { + "name": "isHardTab", + "type": "primitive", + "range": [ + [ + 21, + 13 + ], + [ + 21, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "22": { + "24": { + "name": "hasLeadingWhitespace", + "type": "primitive", + "range": [ + [ + 22, + 24 + ], + [ + 22, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "23": { + "25": { + "name": "hasTrailingWhitespace", + "type": "primitive", + "range": [ + [ + 23, + 25 + ], + [ + 23, + 29 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "25": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 25, + 15 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "isEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 30, + 11 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "13": { + "name": "isBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 33, + 13 + ], + [ + 36, + 1 + ] + ], + "doc": "~Private~" + } + }, + "36": { + "11": { + "name": "splitAt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "splitIndex" + ], + "range": [ + [ + 36, + 11 + ], + [ + 41, + 1 + ] + ], + "doc": "~Private~" + } + }, + "41": { + "31": { + "name": "whitespaceRegexForTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 41, + 31 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "24": { + "name": "breakOutAtomicTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "breakOutLeadingSoftTabs", + "startColumn" + ], + "range": [ + [ + 44, + 24 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "26": { + "name": "breakOutSurrogatePairs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 26 + ], + [ + 106, + 1 + ] + ], + "doc": "~Private~" + } + }, + "106": { + "27": { + "name": "buildSurrogatePairToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "index" + ], + "range": [ + [ + 106, + 27 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "21": { + "name": "buildHardTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "column" + ], + "range": [ + [ + 113, + 21 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "21": { + "name": "buildSoftTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 116, + 21 + ], + [ + 119, + 1 + ] + ], + "doc": "~Private~" + } + }, + "119": { + "17": { + "name": "buildTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "isHardTab", + "column" + ], + "range": [ + [ + 119, + 17 + ], + [ + 129, + 1 + ] + ], + "doc": "~Private~" + } + }, + "129": { + "20": { + "name": "isOnlyWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 129, + 20 + ], + [ + 132, + 1 + ] + ], + "doc": "~Private~" + } + }, + "132": { + "24": { + "name": "matchesScopeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 132, + 24 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "18": { + "name": "getValueAsHtml", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 138, + 18 + ], + [ + 185, + 1 + ] + ], + "doc": "~Private~" + } + }, + "185": { + "16": { + "name": "escapeString", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "str", + "startIndex", + "endIndex" + ], + "range": [ + [ + 185, + 16 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "23": { + "name": "escapeStringReplace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "match" + ], + "range": [ + [ + 194, + 23 + ], + [ + 201, + 16 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 16 + }, + "src/tokenized-buffer.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "3": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@1.x" + } + }, + "4": { + "16": { + "name": "TokenizedLine", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 41 + ] + ], + "bindingType": "variable", + "path": "./tokenized-line" + } + }, + "5": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "8": { + "0": { + "type": "class", + "name": "TokenizedBuffer", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 11 + ], + [ + 14, + 23 + ], + [ + 15, + 10 + ], + [ + 16, + 18 + ], + [ + 17, + 13 + ], + [ + 18, + 15 + ], + [ + 19, + 11 + ], + [ + 21, + 15 + ], + [ + 48, + 19 + ], + [ + 52, + 21 + ], + [ + 56, + 14 + ], + [ + 64, + 17 + ], + [ + 70, + 23 + ], + [ + 76, + 23 + ], + [ + 82, + 14 + ], + [ + 88, + 16 + ], + [ + 94, + 16 + ], + [ + 96, + 24 + ], + [ + 103, + 21 + ], + [ + 133, + 19 + ], + [ + 136, + 15 + ], + [ + 139, + 17 + ], + [ + 144, + 21 + ], + [ + 153, + 22 + ], + [ + 173, + 48 + ], + [ + 183, + 30 + ], + [ + 200, + 41 + ], + [ + 203, + 39 + ], + [ + 210, + 37 + ], + [ + 220, + 20 + ], + [ + 225, + 22 + ], + [ + 228, + 15 + ], + [ + 231, + 21 + ], + [ + 257, + 22 + ], + [ + 266, + 21 + ], + [ + 269, + 20 + ], + [ + 273, + 33 + ], + [ + 278, + 33 + ], + [ + 299, + 30 + ], + [ + 314, + 39 + ], + [ + 329, + 22 + ], + [ + 344, + 22 + ], + [ + 362, + 14 + ], + [ + 365, + 16 + ], + [ + 368, + 12 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 371, + 40 + ] + ] + } + }, + "13": { + "11": { + "name": "grammar", + "type": "primitive", + "range": [ + [ + 13, + 11 + ], + [ + 13, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "23": { + "name": "currentGrammarScore", + "type": "primitive", + "range": [ + [ + 14, + 23 + ], + [ + 14, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "15": { + "10": { + "name": "buffer", + "type": "primitive", + "range": [ + [ + 15, + 10 + ], + [ + 15, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "18": { + "name": "tokenizedLines", + "type": "primitive", + "range": [ + [ + 16, + 18 + ], + [ + 16, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "17": { + "13": { + "name": "chunkSize", + "type": "primitive", + "range": [ + [ + 17, + 13 + ], + [ + 17, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "15": { + "name": "invalidRows", + "type": "primitive", + "range": [ + [ + 18, + 15 + ], + [ + 18, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 19, + 11 + ], + [ + 19, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 21, + 15 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 19 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 52, + 21 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar", + "score" + ], + "range": [ + [ + 56, + 14 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 17 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "23": { + "name": "hasTokenForSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 70, + 23 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "23": { + "name": "resetTokenizedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 23 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 82, + 14 + ], + [ + 88, + 1 + ] + ], + "doc": "~Private~" + } + }, + "88": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 16 + ], + [ + 94, + 1 + ] + ], + "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " + } + }, + "94": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 94, + 16 + ], + [ + 94, + 30 + ] + ], + "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " + } + }, + "96": { + "24": { + "name": "tokenizeInBackground", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 24 + ], + [ + 103, + 1 + ] + ], + "doc": "~Private~" + } + }, + "103": { + "21": { + "name": "tokenizeNextChunk", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 103, + 21 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "19": { + "name": "firstInvalidRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 19 + ], + [ + 136, + 1 + ] + ], + "doc": "~Private~" + } + }, + "136": { + "15": { + "name": "validateRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 136, + 15 + ], + [ + 139, + 1 + ] + ], + "doc": "~Private~" + } + }, + "139": { + "17": { + "name": "invalidateRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 139, + 17 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "21": { + "name": "updateInvalidRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end", + "delta" + ], + "range": [ + [ + 144, + 21 + ], + [ + 153, + 1 + ] + ], + "doc": "~Private~" + } + }, + "153": { + "22": { + "name": "handleBufferChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 153, + 22 + ], + [ + 173, + 1 + ] + ], + "doc": "~Private~" + } + }, + "173": { + "48": { + "name": "retokenizeWhitespaceRowsIfIndentLevelChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "increment" + ], + "range": [ + [ + 173, + 48 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "30": { + "name": "buildTokenizedLinesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow", + "startingStack" + ], + "range": [ + [ + 183, + 30 + ], + [ + 200, + 1 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "41": { + "name": "buildPlaceholderTokenizedLinesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 200, + 41 + ], + [ + 203, + 1 + ] + ], + "doc": "~Private~" + } + }, + "203": { + "39": { + "name": "buildPlaceholderTokenizedLineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 203, + 39 + ], + [ + 210, + 1 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "37": { + "name": "buildTokenizedTokenizedLineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "ruleStack" + ], + "range": [ + [ + 210, + 37 + ], + [ + 220, + 1 + ] + ], + "doc": "~Private~" + } + }, + "220": { + "20": { + "name": "lineForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 220, + 20 + ], + [ + 225, + 1 + ] + ], + "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " + } + }, + "225": { + "22": { + "name": "linesForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 225, + 22 + ], + [ + 228, + 1 + ] + ], + "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " + } + }, + "228": { + "15": { + "name": "stackForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 228, + 15 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "21": { + "name": "indentLevelForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 231, + 21 + ], + [ + 257, + 1 + ] + ], + "doc": "~Private~" + } + }, + "257": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 257, + 22 + ], + [ + 266, + 1 + ] + ], + "doc": "~Private~" + } + }, + "266": { + "21": { + "name": "scopesForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 266, + 21 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "20": { + "name": "tokenForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 269, + 20 + ], + [ + 273, + 1 + ] + ], + "doc": "~Private~" + } + }, + "273": { + "33": { + "name": "tokenStartPositionForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 273, + 33 + ], + [ + 278, + 1 + ] + ], + "doc": "~Private~" + } + }, + "278": { + "33": { + "name": "bufferRangeForScopeAtPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "position" + ], + "range": [ + [ + 278, + 33 + ], + [ + 299, + 1 + ] + ], + "doc": "~Private~" + } + }, + "299": { + "30": { + "name": "iterateTokensInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "iterator" + ], + "range": [ + [ + 299, + 30 + ], + [ + 314, + 1 + ] + ], + "doc": "~Private~" + } + }, + "314": { + "39": { + "name": "backwardsIterateTokensInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "iterator" + ], + "range": [ + [ + 314, + 39 + ], + [ + 329, + 1 + ] + ], + "doc": "~Private~" + } + }, + "329": { + "22": { + "name": "findOpeningBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferPosition" + ], + "range": [ + [ + 329, + 22 + ], + [ + 344, + 1 + ] + ], + "doc": "~Private~" + } + }, + "344": { + "22": { + "name": "findClosingBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferPosition" + ], + "range": [ + [ + 344, + 22 + ], + [ + 362, + 1 + ] + ], + "doc": "~Private~" + } + }, + "362": { + "14": { + "name": "getLastRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 362, + 14 + ], + [ + 365, + 1 + ] + ], + "doc": " Private: Gets the row number of the last line.\n\nReturns a {Number}. " + } + }, + "365": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 365, + 16 + ], + [ + 368, + 1 + ] + ], + "doc": "~Private~" + } + }, + "368": { + "12": { + "name": "logLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 368, + 12 + ], + [ + 371, + 40 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/tokenized-line.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "12": { + "name": "1", + "type": "primitive", + "range": [ + [ + 2, + 12 + ], + [ + 2, + 12 + ] + ] + } + }, + "5": { + "0": { + "type": "class", + "name": "TokenizedLine", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 6, + 15 + ], + [ + 15, + 13 + ], + [ + 20, + 20 + ], + [ + 25, + 8 + ], + [ + 28, + 20 + ], + [ + 47, + 31 + ], + [ + 57, + 31 + ], + [ + 66, + 22 + ], + [ + 72, + 22 + ], + [ + 75, + 14 + ], + [ + 102, + 17 + ], + [ + 105, + 23 + ], + [ + 108, + 28 + ], + [ + 115, + 35 + ], + [ + 123, + 24 + ], + [ + 134, + 42 + ], + [ + 145, + 13 + ], + [ + 154, + 20 + ], + [ + 162, + 16 + ], + [ + 165, + 17 + ], + [ + 168, + 24 + ], + [ + 174, + 16 + ], + [ + 186, + 20 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 199, + 0 + ] + ] + } + }, + "6": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 6, + 15 + ], + [ + 15, + 1 + ] + ] + } + }, + "15": { + "13": { + "name": "buildText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 15, + 13 + ], + [ + 20, + 1 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "20": { + "name": "buildBufferDelta", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 20 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 8 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "20": { + "name": "clipScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "column", + "options" + ], + "range": [ + [ + 28, + 20 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "31": { + "name": "screenColumnForBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn", + "options" + ], + "range": [ + [ + 47, + 31 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "31": { + "name": "bufferColumnForScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenColumn", + "options" + ], + "range": [ + [ + 57, + 31 + ], + [ + 66, + 1 + ] + ], + "doc": "~Private~" + } + }, + "66": { + "22": { + "name": "getMaxScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 66, + 22 + ], + [ + 72, + 1 + ] + ], + "doc": "~Private~" + } + }, + "72": { + "22": { + "name": "getMaxBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 72, + 22 + ], + [ + 75, + 1 + ] + ], + "doc": "~Private~" + } + }, + "75": { + "14": { + "name": "softWrapAt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "column" + ], + "range": [ + [ + 75, + 14 + ], + [ + 102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "102": { + "17": { + "name": "isSoftWrapped", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 17 + ], + [ + 105, + 1 + ] + ], + "doc": "~Private~" + } + }, + "105": { + "23": { + "name": "tokenAtBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 105, + 23 + ], + [ + 108, + 1 + ] + ], + "doc": "~Private~" + } + }, + "108": { + "28": { + "name": "tokenIndexAtBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 108, + 28 + ], + [ + 115, + 1 + ] + ], + "doc": "~Private~" + } + }, + "115": { + "35": { + "name": "tokenStartColumnForBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 115, + 35 + ], + [ + 123, + 1 + ] + ], + "doc": "~Private~" + } + }, + "123": { + "24": { + "name": "breakOutAtomicTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "inputTokens" + ], + "range": [ + [ + 123, + 24 + ], + [ + 134, + 1 + ] + ], + "doc": "~Private~" + } + }, + "134": { + "42": { + "name": "markLeadingAndTrailingWhitespaceTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 134, + 42 + ], + [ + 145, + 1 + ] + ], + "doc": "~Private~" + } + }, + "145": { + "13": { + "name": "isComment", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 145, + 13 + ], + [ + 154, + 1 + ] + ], + "doc": "~Private~" + } + }, + "154": { + "20": { + "name": "isOnlyWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 20 + ], + [ + 162, + 1 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "16": { + "name": "tokenAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 162, + 16 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "17": { + "name": "getTokenCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 17 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "24": { + "name": "bufferColumnForToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetToken" + ], + "range": [ + [ + 168, + 24 + ], + [ + 174, + 1 + ] + ], + "doc": "~Private~" + } + }, + "174": { + "16": { + "name": "getScopeTree", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 174, + 16 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "20": { + "name": "updateScopeStack", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 186, + 20 + ], + [ + 199, + 0 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "0": { + "type": "class", + "name": "Scope", + "classProperties": [], + "prototypeProperties": [ + [ + 201, + 15 + ] + ], + "doc": "~Private~", + "range": [ + [ + 200, + 0 + ], + [ + 202, + 18 + ] + ] + } + }, + "201": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 201, + 15 + ], + [ + 202, + 18 + ] + ] + } + } + }, + "exports": 5 + }, + "src/window-bootstrap.coffee": { + "objects": { + "1": { + "12": { + "name": "startTime", + "type": "function", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 21 + ] + ] + } + }, + "5": { + "7": { + "name": "Atom", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "path": "./atom" + } + }, + "6": { + "14": { + "name": "window.atom", + "type": "function", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 40 + ] + ] + } + } + }, + "exports": {} + }, + "src/window-event-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "3": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 3, + 8 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@2.x" + } + }, + "9": { + "0": { + "type": "class", + "name": "WindowEventHandler", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 81, + 27 + ], + [ + 96, + 13 + ], + [ + 100, + 12 + ], + [ + 106, + 25 + ], + [ + 116, + 13 + ], + [ + 137, + 17 + ] + ], + "doc": "Private: Handles low-level events related to the window. ", + "range": [ + [ + 9, + 0 + ], + [ + 156, + 28 + ] + ] + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 12, + 15 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "27": { + "name": "handleNativeKeybindings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 81, + 27 + ], + [ + 96, + 1 + ] + ], + "doc": " Private: Wire commands that should be handled by the native menu\nfor elements with the `.native-key-bindings` class. " + } + }, + "96": { + "13": { + "name": "onKeydown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 96, + 13 + ], + [ + 100, + 1 + ] + ], + "doc": "~Private~" + } + }, + "100": { + "12": { + "name": "openLink", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 100, + 12 + ], + [ + 106, + 1 + ] + ], + "doc": "~Private~" + } + }, + "106": { + "25": { + "name": "eachTabIndexedElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 106, + 25 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "13": { + "name": "focusNext", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 13 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "17": { + "name": "focusPrevious", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 17 + ], + [ + 156, + 28 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 9 + }, + "src/window.coffee": { + "objects": { + "7": { + "17": { + "name": "window.measure", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "description", + "fn" + ], + "range": [ + [ + 7, + 17 + ], + [ + 20, + 51 + ] + ], + "doc": null + } + }, + "21": { + "17": { + "name": "window.profile", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "description", + "fn" + ], + "range": [ + [ + 21, + 17 + ], + [ + 26, + 9 + ] + ], + "doc": null + } + } + }, + "exports": {} + }, + "src/workspace-view.coffee": { + "objects": { + "0": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 14 + ] + ], + "bindingType": "variable", + "module": "q@~1.0.1" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "4": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 4, + 12 + ], + [ + 4, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@1.x" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + }, + "12": { + "type": "import", + "range": [ + [ + 5, + 12 + ], + [ + 5, + 33 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "logDeprecationWarnings", + "exportsProperty": "logDeprecationWarnings" + } + }, + "6": { + "17": { + "name": "scrollbarStyle", + "type": "import", + "range": [ + [ + 6, + 17 + ], + [ + 6, + 41 + ] + ], + "bindingType": "variable", + "module": "scrollbar-style" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 5 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + }, + "8": { + "type": "import", + "range": [ + [ + 7, + 8 + ], + [ + 7, + 11 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "8": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 8, + 5 + ], + [ + 8, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@2.x" + } + }, + "9": { + "12": { + "name": "Workspace", + "type": "import", + "range": [ + [ + 9, + 12 + ], + [ + 9, + 32 + ] + ], + "bindingType": "variable", + "path": "./workspace" + } + }, + "10": { + "19": { + "name": "CommandInstaller", + "type": "import", + "range": [ + [ + 10, + 19 + ], + [ + 10, + 47 + ] + ], + "bindingType": "variable", + "path": "./command-installer" + } + }, + "11": { + "13": { + "name": "EditorView", + "type": "import", + "range": [ + [ + 11, + 13 + ], + [ + 11, + 35 + ] + ], + "bindingType": "variable", + "path": "./editor-view" + } + }, + "12": { + "11": { + "name": "PaneView", + "type": "import", + "range": [ + [ + 12, + 11 + ], + [ + 12, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-view" + } + }, + "13": { + "17": { + "name": "PaneColumnView", + "type": "import", + "range": [ + [ + 13, + 17 + ], + [ + 13, + 44 + ] + ], + "bindingType": "variable", + "path": "./pane-column-view" + } + }, + "14": { + "14": { + "name": "PaneRowView", + "type": "import", + "range": [ + [ + 14, + 14 + ], + [ + 14, + 38 + ] + ], + "bindingType": "variable", + "path": "./pane-row-view" + } + }, + "15": { + "20": { + "name": "PaneContainerView", + "type": "import", + "range": [ + [ + 15, + 20 + ], + [ + 15, + 50 + ] + ], + "bindingType": "variable", + "path": "./pane-container-view" + } + }, + "16": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 16, + 9 + ], + [ + 16, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "55": { + "0": { + "type": "class", + "name": "WorkspaceView", + "bindingType": "exports", + "classProperties": [ + [ + 63, + 12 + ], + [ + 66, + 4 + ], + [ + 75, + 12 + ] + ], + "prototypeProperties": [ + [ + 81, + 14 + ], + [ + 168, + 12 + ], + [ + 171, + 24 + ], + [ + 191, + 15 + ], + [ + 205, + 15 + ], + [ + 209, + 16 + ], + [ + 213, + 15 + ], + [ + 223, + 12 + ], + [ + 233, + 18 + ], + [ + 238, + 16 + ], + [ + 242, + 15 + ], + [ + 247, + 19 + ], + [ + 252, + 18 + ], + [ + 257, + 17 + ], + [ + 262, + 16 + ], + [ + 267, + 18 + ], + [ + 272, + 17 + ], + [ + 281, + 21 + ], + [ + 287, + 17 + ], + [ + 291, + 25 + ], + [ + 294, + 21 + ], + [ + 297, + 22 + ], + [ + 300, + 22 + ], + [ + 303, + 23 + ], + [ + 306, + 24 + ], + [ + 315, + 16 + ], + [ + 325, + 16 + ], + [ + 336, + 18 + ], + [ + 344, + 16 + ], + [ + 347, + 21 + ], + [ + 350, + 23 + ], + [ + 353, + 23 + ], + [ + 356, + 18 + ], + [ + 368, + 12 + ], + [ + 373, + 12 + ], + [ + 378, + 17 + ], + [ + 383, + 21 + ] + ], + "doc": " Public: The top-level view for the entire window. An instance of this class is\navailable via the `atom.workspaceView` global.\n\nIt is backed by a model object, an instance of {Workspace}, which is available\nvia the `atom.workspace` global or {::getModel}. You should prefer to interact\nwith the model object when possible, but it won't always be possible with the\ncurrent API.\n\n## Adding Perimeter Panels\n\nUse the following methods if possible to attach panels to the perimeter of the\nworkspace rather than manipulating the DOM directly to better insulate you to\nchanges in the workspace markup:\n\n* {::prependToTop}\n* {::appendToTop}\n* {::prependToBottom}\n* {::appendToBottom}\n* {::prependToLeft}\n* {::appendToLeft}\n* {::prependToRight}\n* {::appendToRight}\n\n## Requiring in package specs\n\nIf you need a `WorkspaceView` instance to test your package, require it via\nthe built-in `atom` module.\n\n```coffee\n {WorkspaceView} = require 'atom'\n```\n\nYou can assign it to the `atom.workspaceView` global in the spec or just use\nit as a local, depending on what you're trying to accomplish. Building the\n`WorkspaceView` is currently expensive, so you should try build a {Workspace}\ninstead if possible. ", + "range": [ + [ + 55, + 0 + ], + [ + 385, + 25 + ] + ] + } + }, + "63": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 63, + 12 + ], + [ + 63, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "66": { + "4": { + "name": "configDefaults", + "type": "primitive", + "range": [ + [ + 66, + 4 + ], + [ + 73, + 23 + ] + ], + "bindingType": "classProperty" + } + }, + "75": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 75, + 12 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 81, + 14 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 12 + ], + [ + 168, + 20 + ] + ], + "doc": " Public: Get the underlying model object.\n\nReturns a {Workspace}. " + } + }, + "171": { + "24": { + "name": "installShellCommands", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 24 + ], + [ + 191, + 1 + ] + ], + "doc": "Public: Install the Atom shell commands on the user's system. " + } + }, + "191": { + "15": { + "name": "handleFocus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 191, + 15 + ], + [ + 205, + 1 + ] + ], + "doc": "~Private~" + } + }, + "205": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 205, + 15 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "16": { + "name": "confirmClose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 209, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": "Private: Prompts to save all unsaved items " + } + }, + "213": { + "15": { + "name": "updateTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 15 + ], + [ + 223, + 1 + ] + ], + "doc": "Private: Updates the application's title, based on whichever file is open. " + } + }, + "223": { + "12": { + "name": "setTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "title" + ], + "range": [ + [ + 223, + 12 + ], + [ + 233, + 1 + ] + ], + "doc": "Private: Sets the application's title. " + } + }, + "233": { + "18": { + "name": "getEditorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 233, + 18 + ], + [ + 238, + 1 + ] + ], + "doc": " Private: Get all editor views.\n\nYou should prefer {Workspace::getEditors} unless you absolutely need access\nto the view objects. Also consider using {::eachEditorView}, which will call\na callback for all current and *future* editor views.\n\nReturns an {Array} of {EditorView}s. " + } + }, + "238": { + "16": { + "name": "prependToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 238, + 16 + ], + [ + 242, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the top of the\nworkspace. " + } + }, + "242": { + "15": { + "name": "appendToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 242, + 15 + ], + [ + 247, + 1 + ] + ], + "doc": "Public: Append an element or view to the panels at the top of the workspace. " + } + }, + "247": { + "19": { + "name": "prependToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 247, + 19 + ], + [ + 252, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the bottom of the\nworkspace. " + } + }, + "252": { + "18": { + "name": "appendToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 252, + 18 + ], + [ + 257, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the bottom of the\nworkspace. " + } + }, + "257": { + "17": { + "name": "prependToLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 257, + 17 + ], + [ + 262, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the left of the\nworkspace. " + } + }, + "262": { + "16": { + "name": "appendToLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 262, + 16 + ], + [ + 267, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the left of the\nworkspace. " + } + }, + "267": { + "18": { + "name": "prependToRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 267, + 18 + ], + [ + 272, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the right of the\nworkspace. " + } + }, + "272": { + "17": { + "name": "appendToRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 272, + 17 + ], + [ + 281, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the right of the\nworkspace. " + } + }, + "281": { + "21": { + "name": "getActivePaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 281, + 21 + ], + [ + 287, + 1 + ] + ], + "doc": " Public: Get the active pane view.\n\nPrefer {Workspace::getActivePane} if you don't actually need access to the\nview.\n\nReturns a {PaneView}. " + } + }, + "287": { + "17": { + "name": "getActiveView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 287, + 17 + ], + [ + 291, + 1 + ] + ], + "doc": " Public: Get the view associated with the active pane item.\n\nReturns a view. " + } + }, + "291": { + "25": { + "name": "focusPreviousPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 291, + 25 + ], + [ + 291, + 56 + ] + ], + "doc": "Private: Focus the previous pane by id. " + } + }, + "294": { + "21": { + "name": "focusNextPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 294, + 21 + ], + [ + 294, + 48 + ] + ], + "doc": "Private: Focus the next pane by id. " + } + }, + "297": { + "22": { + "name": "focusPaneViewAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 22 + ], + [ + 297, + 51 + ] + ], + "doc": "Public: Focus the pane directly above the active pane. " + } + }, + "300": { + "22": { + "name": "focusPaneViewBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 300, + 22 + ], + [ + 300, + 51 + ] + ], + "doc": "Public: Focus the pane directly below the active pane. " + } + }, + "303": { + "23": { + "name": "focusPaneViewOnLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 303, + 23 + ], + [ + 303, + 53 + ] + ], + "doc": "Public: Focus the pane directly to the left of the active pane. " + } + }, + "306": { + "24": { + "name": "focusPaneViewOnRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 306, + 24 + ], + [ + 306, + 55 + ] + ], + "doc": "Public: Focus the pane directly to the right of the active pane. " + } + }, + "315": { + "16": { + "name": "eachPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 315, + 16 + ], + [ + 325, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\npane view in the workspace.\n\ncallback - A {Function} with a {PaneView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "325": { + "16": { + "name": "getPaneViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 325, + 16 + ], + [ + 336, + 1 + ] + ], + "doc": " Public: Get all existing pane views.\n\nPrefer {Workspace::getPanes} if you don't need access to the view objects.\nAlso consider using {::eachPaneView} if you want to register a callback for\nall current and *future* pane views.\n\nReturns an Array of all open {PaneView}s. " + } + }, + "336": { + "18": { + "name": "eachEditorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 336, + 18 + ], + [ + 344, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\neditor view in the workspace (only includes {EditorView}s that are pane\nitems).\n\ncallback - A {Function} with an {EditorView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "344": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 344, + 16 + ], + [ + 347, + 1 + ] + ], + "doc": "Private: Called by SpacePen " + } + }, + "347": { + "21": { + "name": "setEditorFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 347, + 21 + ], + [ + 350, + 1 + ] + ], + "doc": "~Private~" + } + }, + "350": { + "23": { + "name": "setEditorFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 350, + 23 + ], + [ + 353, + 1 + ] + ], + "doc": "~Private~" + } + }, + "353": { + "23": { + "name": "setEditorLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 353, + 23 + ], + [ + 356, + 1 + ] + ], + "doc": "~Private~" + } + }, + "356": { + "18": { + "name": "setEditorStyle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "property", + "value" + ], + "range": [ + [ + 356, + 18 + ], + [ + 368, + 1 + ] + ], + "doc": "~Private~" + } + }, + "368": { + "12": { + "name": "eachPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 368, + 12 + ], + [ + 373, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "373": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 373, + 12 + ], + [ + 378, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "378": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 378, + 17 + ], + [ + 383, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "383": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 383, + 21 + ], + [ + 385, + 25 + ] + ], + "doc": "Deprecated: Call {Workspace::getActivePaneItem} instead. " + } + } + }, + "exports": 55 + }, + "src/workspace.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 4 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true, + "name": "join", + "exportsProperty": "join" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "4": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 4, + 4 + ], + [ + 4, + 14 + ] + ], + "bindingType": "variable", + "module": "q@~1.0.1" + } + }, + "5": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 5, + 15 + ], + [ + 5, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@1.x" + } + }, + "6": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 6, + 12 + ], + [ + 6, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@1.x" + } + }, + "7": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "8": { + "16": { + "name": "PaneContainer", + "type": "import", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 41 + ] + ], + "bindingType": "variable", + "path": "./pane-container" + } + }, + "9": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 9, + 7 + ], + [ + 9, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "18": { + "0": { + "type": "class", + "name": "Workspace", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 47, + 21 + ], + [ + 55, + 19 + ], + [ + 60, + 37 + ], + [ + 74, + 15 + ], + [ + 84, + 14 + ], + [ + 91, + 14 + ], + [ + 118, + 8 + ], + [ + 135, + 15 + ], + [ + 150, + 12 + ], + [ + 168, + 17 + ], + [ + 193, + 14 + ], + [ + 200, + 18 + ], + [ + 217, + 18 + ], + [ + 221, + 20 + ], + [ + 224, + 14 + ], + [ + 230, + 17 + ], + [ + 236, + 12 + ], + [ + 240, + 11 + ], + [ + 244, + 20 + ], + [ + 248, + 24 + ], + [ + 254, + 14 + ], + [ + 260, + 21 + ], + [ + 269, + 22 + ], + [ + 277, + 24 + ], + [ + 284, + 25 + ], + [ + 288, + 21 + ], + [ + 295, + 19 + ], + [ + 299, + 20 + ], + [ + 303, + 20 + ], + [ + 308, + 17 + ], + [ + 312, + 14 + ], + [ + 317, + 23 + ], + [ + 322, + 13 + ] + ], + "doc": " Public: Represents the state of the user interface for the entire window.\nAn instance of this class is available via the `atom.workspace` global.\n\nInteract with this object to open files, be notified of current and future\neditors, and manipulate panes. To add panels, you'll need to use the\n{WorkspaceView} class for now until we establish APIs at the model layer. ", + "range": [ + [ + 18, + 0 + ], + [ + 323, + 28 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 15 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 47, + 21 + ], + [ + 55, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during deserialization " + } + }, + "55": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 19 + ], + [ + 60, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during serialization. " + } + }, + "60": { + "37": { + "name": "getPackageNamesWithActiveGrammars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 60, + 37 + ], + [ + 74, + 1 + ] + ], + "doc": "~Private~" + } + }, + "74": { + "15": { + "name": "editorAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 74, + 15 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "14": { + "name": "eachEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 84, + 14 + ], + [ + 91, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\n{Editor} in the workspace.\n\ncallback - A {Function} with an {Editor} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "91": { + "14": { + "name": "getEditors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 14 + ], + [ + 118, + 1 + ] + ], + "doc": " Public: Get all current editors in the workspace.\n\nReturns an {Array} of {Editor}s. " + } + }, + "118": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "options" + ], + "range": [ + [ + 118, + 8 + ], + [ + 135, + 1 + ] + ], + "doc": " Public: Open a given a URI in Atom asynchronously.\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :split - Either 'left' or 'right'. If 'left', the item will be opened in\n leftmost pane of the current active pane's row. If 'right', the\n item will be opened in the rightmost pane of the current active\n pane's row.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`.\n :searchAllPanes - A {Boolean}. If `true`, the workspace will attempt to\n activate an existing item for the given URI on any pane.\n If `false`, only the active pane will be searched for\n an existing item for the same URI. Defaults to `false`.\n\nReturns a promise that resolves to the {Editor} for the file URI. " + } + }, + "135": { + "15": { + "name": "openLicense", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 135, + 15 + ], + [ + 150, + 1 + ] + ], + "doc": "Public: Open Atom's license in the active pane. " + } + }, + "150": { + "12": { + "name": "openSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "options" + ], + "range": [ + [ + 150, + 12 + ], + [ + 168, + 1 + ] + ], + "doc": " Private: Synchronously open the given URI in the active pane. **Only use this method\nin specs. Calling this in production code will block the UI thread and\neveryone will be mad at you.**\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`. " + } + }, + "168": { + "17": { + "name": "openUriInPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "pane", + "options" + ], + "range": [ + [ + 168, + 17 + ], + [ + 193, + 1 + ] + ], + "doc": "~Private~" + } + }, + "193": { + "14": { + "name": "reopenItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 193, + 14 + ], + [ + 200, + 1 + ] + ], + "doc": " Public: Asynchronously reopens the last-closed item's URI if it hasn't already been\nreopened.\n\nReturns a promise that is resolved when the item is opened " + } + }, + "200": { + "18": { + "name": "reopenItemSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 200, + 18 + ], + [ + 217, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "217": { + "18": { + "name": "registerOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 217, + 18 + ], + [ + 221, + 1 + ] + ], + "doc": " Public: Register an opener for a uri.\n\nAn {Editor} will be used if no openers return a value.\n\n## Example\n```coffeescript\n atom.project.registerOpener (uri) ->\n if path.extname(uri) is '.toml'\n return new TomlEditor(uri)\n```\n\nopener - A {Function} to be called when a path is being opened. " + } + }, + "221": { + "20": { + "name": "unregisterOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 221, + 20 + ], + [ + 224, + 1 + ] + ], + "doc": "Public: Unregister an opener registered with {::registerOpener}. " + } + }, + "224": { + "14": { + "name": "getOpeners", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 14 + ], + [ + 230, + 1 + ] + ], + "doc": "~Private~" + } + }, + "230": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 230, + 17 + ], + [ + 236, + 1 + ] + ], + "doc": " Public: Get the active {Pane}.\n\nReturns a {Pane}. " + } + }, + "236": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 236, + 12 + ], + [ + 240, + 1 + ] + ], + "doc": " Public: Get all {Pane}s.\n\nReturns an {Array} of {Pane}s. " + } + }, + "240": { + "11": { + "name": "saveAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 240, + 11 + ], + [ + 244, + 1 + ] + ], + "doc": "Public: Save all pane items. " + } + }, + "244": { + "20": { + "name": "activateNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 244, + 20 + ], + [ + 248, + 1 + ] + ], + "doc": "Public: Make the next pane active. " + } + }, + "248": { + "24": { + "name": "activatePreviousPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 248, + 24 + ], + [ + 254, + 1 + ] + ], + "doc": "Public: Make the previous pane active. " + } + }, + "254": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 254, + 14 + ], + [ + 260, + 1 + ] + ], + "doc": " Public: Get the first pane {Pane} with an item for the given URI.\n\nReturns a {Pane} or `undefined` if no pane exists for the given URI. " + } + }, + "260": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 21 + ], + [ + 269, + 1 + ] + ], + "doc": " Public: Get the active {Pane}'s active item.\n\nReturns an pane item {Object}. " + } + }, + "269": { + "22": { + "name": "saveActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 22 + ], + [ + 277, + 1 + ] + ], + "doc": " Public: Save the active pane item.\n\nIf the active pane item currently has a URI according to the item's\n`.getUri` method, calls `.save` on the item. Otherwise\n{::saveActivePaneItemAs} # will be called instead. This method does nothing\nif the active item does not implement a `.save` method. " + } + }, + "277": { + "24": { + "name": "saveActivePaneItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 277, + 24 + ], + [ + 284, + 1 + ] + ], + "doc": " Public: Prompt the user for a path and save the active pane item to it.\n\nOpens a native dialog where the user selects a path on disk, then calls\n`.saveAs` on the item with the selected path. This method does nothing if\nthe active item does not implement a `.saveAs` method. " + } + }, + "284": { + "25": { + "name": "destroyActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 25 + ], + [ + 288, + 1 + ] + ], + "doc": " Public: Destroy (close) the active pane item.\n\nRemoves the active pane item and calls the `.destroy` method on it if one is\ndefined. " + } + }, + "288": { + "21": { + "name": "destroyActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 288, + 21 + ], + [ + 295, + 1 + ] + ], + "doc": "Public: Destroy (close) the active pane. " + } + }, + "295": { + "19": { + "name": "getActiveEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 295, + 19 + ], + [ + 299, + 1 + ] + ], + "doc": " Public: Get the active item if it is an {Editor}.\n\nReturns an {Editor} or `undefined` if the current active item is not an\n{Editor}. " + } + }, + "299": { + "20": { + "name": "increaseFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 299, + 20 + ], + [ + 303, + 1 + ] + ], + "doc": "Public: Increase the editor font size by 1px. " + } + }, + "303": { + "20": { + "name": "decreaseFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 303, + 20 + ], + [ + 308, + 1 + ] + ], + "doc": "Public: Decrease the editor font size by 1px. " + } + }, + "308": { + "17": { + "name": "resetFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 308, + 17 + ], + [ + 312, + 1 + ] + ], + "doc": "Public: Restore to a default editor font size. " + } + }, + "312": { + "14": { + "name": "itemOpened", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 312, + 14 + ], + [ + 317, + 1 + ] + ], + "doc": "Private: Removes the item's uri from the list of potential items to reopen. " + } + }, + "317": { + "23": { + "name": "onPaneItemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 317, + 23 + ], + [ + 322, + 1 + ] + ], + "doc": "Private: Adds the destroyed item's uri to the list of items to reopen. " + } + }, + "322": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 322, + 13 + ], + [ + 323, + 28 + ] + ], + "doc": "Private: Called by Model superclass when destroyed " + } + } + }, + "exports": 18 + }, + "src/key-binding.coffee": { + "objects": { + "0": { + "7": { + "name": "Grim", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "calculateSpecificity", + "exportsProperty": "calculateSpecificity" + } + }, + "4": { + "0": { + "type": "class", + "name": "KeyBinding", + "bindingType": "exports", + "classProperties": [ + [ + 5, + 17 + ] + ], + "prototypeProperties": [ + [ + 7, + 11 + ], + [ + 9, + 15 + ], + [ + 23, + 11 + ], + [ + 30, + 11 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 34, + 43 + ] + ] + } + }, + "5": { + "17": { + "name": "currentIndex", + "type": "primitive", + "range": [ + [ + 5, + 17 + ], + [ + 5, + 17 + ] + ], + "bindingType": "classProperty" + } + }, + "7": { + "11": { + "name": "enabled", + "type": "primitive", + "range": [ + [ + 7, + 11 + ], + [ + 7, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null, + null, + "selector" + ], + "range": [ + [ + 9, + 15 + ], + [ + 23, + 1 + ] + ], + "doc": "~Private~" + } + }, + "23": { + "11": { + "name": "matches", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystroke" + ], + "range": [ + [ + 23, + 11 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyBinding" + ], + "range": [ + [ + 30, + 11 + ], + [ + 34, + 43 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/keymap-manager.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "2": { + "7": { + "name": "Grim", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0" + } + }, + "3": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 3, + 5 + ], + [ + 3, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@2.x" + } + }, + "4": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 4 + ] + ], + "bindingType": "variable", + "module": "pathwatcher@^2.0.2", + "name": "File", + "exportsProperty": "File" + } + }, + "7": { + "13": { + "name": "KeyBinding", + "type": "import", + "range": [ + [ + 7, + 13 + ], + [ + 7, + 35 + ] + ], + "bindingType": "variable", + "path": "./key-binding" + } + }, + "8": { + "15": { + "name": "CommandEvent", + "type": "import", + "range": [ + [ + 8, + 15 + ], + [ + 8, + 39 + ] + ], + "bindingType": "variable", + "path": "./command-event" + } + }, + "9": { + "1": { + "type": "import", + "range": [ + [ + 9, + 1 + ], + [ + 9, + 19 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "normalizeKeystrokes", + "exportsProperty": "normalizeKeystrokes" + }, + "22": { + "type": "import", + "range": [ + [ + 9, + 22 + ], + [ + 9, + 46 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "keystrokeForKeyboardEvent", + "exportsProperty": "keystrokeForKeyboardEvent" + }, + "49": { + "type": "import", + "range": [ + [ + 9, + 49 + ], + [ + 9, + 62 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "isAtomModifier", + "exportsProperty": "isAtomModifier" + }, + "65": { + "type": "import", + "range": [ + [ + 9, + 65 + ], + [ + 9, + 76 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "keydownEvent", + "exportsProperty": "keydownEvent" + } + }, + "11": { + "12": { + "type": "primitive", + "range": [ + [ + 11, + 12 + ], + [ + 11, + 59 + ] + ] + } + }, + "12": { + "17": { + "name": "OtherPlatforms", + "type": "function", + "range": [ + [ + 12, + 17 + ], + [ + 12, + 77 + ] + ] + } + }, + "84": { + "0": { + "type": "class", + "name": "KeymapManager", + "bindingType": "exports", + "classProperties": [ + [ + 99, + 17 + ] + ], + "prototypeProperties": [ + [ + 103, + 23 + ], + [ + 105, + 17 + ], + [ + 106, + 25 + ], + [ + 107, + 29 + ], + [ + 117, + 15 + ], + [ + 125, + 11 + ], + [ + 132, + 18 + ], + [ + 141, + 7 + ], + [ + 164, + 14 + ], + [ + 179, + 15 + ], + [ + 190, + 10 + ], + [ + 212, + 23 + ], + [ + 289, + 19 + ], + [ + 314, + 16 + ], + [ + 324, + 14 + ], + [ + 338, + 27 + ], + [ + 345, + 21 + ], + [ + 349, + 23 + ], + [ + 365, + 22 + ], + [ + 385, + 20 + ], + [ + 390, + 25 + ], + [ + 394, + 21 + ], + [ + 400, + 22 + ], + [ + 410, + 25 + ], + [ + 427, + 24 + ], + [ + 446, + 36 + ], + [ + 460, + 29 + ], + [ + 464, + 13 + ], + [ + 469, + 16 + ], + [ + 475, + 18 + ], + [ + 484, + 27 + ], + [ + 490, + 12 + ], + [ + 497, + 25 + ], + [ + 502, + 27 + ], + [ + 507, + 30 + ], + [ + 513, + 40 + ], + [ + 519, + 42 + ] + ], + "doc": " Public: Allows commands to be associated with keystrokes in a\ncontext-sensitive way. In Atom, you can access a global instance of this\nobject via `atom.keymap`.\n\nKey bindings are plain JavaScript objects containing **CSS selectors** as\ntheir top level keys, then **keystroke patterns** mapped to commands.\n\n```cson\n'.workspace':\n 'ctrl-l': 'package:do-something'\n 'ctrl-z': 'package:do-something-else'\n'.mini.editor':\n 'enter': 'core:confirm'\n```\n\nWhen a keystroke sequence matches a binding in a given context, a custom DOM\nevent with a type based on the command is dispatched on the target of the\nkeyboard event.\n\nTo match a keystroke sequence, the keymap starts at the target element for the\nkeyboard event. It looks for key bindings associated with selectors that match\nthe target element. If multiple match, the most specific is selected. If there\nis a tie in specificity, the most recently added binding wins. If no bindings\nare found for the events target, the search is repeated again for the target's\nparent node and so on recursively until a binding is found or we traverse off\nthe top of the document.\n\nWhen a binding is found, its command event is always dispatched on the\noriginal target of the keyboard event, even if the matching element is higher\nup in the DOM. In addition, `.preventDefault()` is called on the keyboard\nevent to prevent the browser from taking action. `.preventDefault` is only\ncalled if a matching binding is found.\n\nCommand event objects have a non-standard method called `.abortKeyBinding()`.\nIf your command handler is invoked but you programmatically determine that no\naction can be taken and you want to allow other bindings to be matched, call\n`.abortKeyBinding()` on the event object. An example of where this is useful\nis binding snippet expansion to `tab`. If `snippets:expand` is invoked when\nthe cursor does not follow a valid snippet prefix, we abort the binding and\nallow `tab` to be handled by the default handler, which inserts whitespace.\n\nMulti-keystroke bindings are possible. If a sequence of one or more keystrokes\n*partially* matches a multi-keystroke binding, the keymap enters a pending\nstate. The pending state is terminated on the next keystroke, or after\n{::partialMatchTimeout} milliseconds has elapsed. When the pending state is\nterminated via a timeout or a keystroke that leads to no matches, the longest\nambiguous bindings that caused the pending state are temporarily disabled and\nthe previous keystrokes are replayed. If there is ambiguity again during the\nreplay, the next longest bindings are disabled and the keystrokes are replayed\nagain.\n\n## Events\n\n* `matched` -\n Emitted when keystrokes match a binding.\n * keystrokes - The keystroke {String} that matched the binding\n * binding - The {KeyBinding} that was used\n * keyboardEventTarget - The target element of the keyboard event\n\n* `matched-partially` -\n Emitted when keystrokes partially match one or more bindings.\n * keystrokes - The keystroke {String} that partially match some bindings\n * partiallyMatchedBindings - The {KeyBinding}s that partially matched\n * keyboardEventTarget - The target element of the keyboard event\n\n* `match-failed` -\n Emitted when keystrokes don't match any bindings.\n * keystrokes - The keystroke {String} that matched no bindings\n * keyboardEventTarget - The target element of the keyboard event ", + "range": [ + [ + 84, + 0 + ], + [ + 521, + 62 + ] + ] + } + }, + "99": { + "17": { + "name": "keydownEvent", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "key", + "options" + ], + "range": [ + [ + 99, + 17 + ], + [ + 99, + 60 + ] + ], + "doc": " Public: Create a keydown DOM event for testing purposes.\n\nkey - The key or keyIdentifier of the event. For example, 'a', '1',\n 'escape', 'backspace', etc.\noptions - An {Object} containing any of the following:\n :ctrl - A {Boolean} indicating the ctrl modifier key\n :alt - A {Boolean} indicating the alt modifier key\n :shift - A {Boolean} indicating the shift modifier key\n :cmd - A {Boolean} indicating the cmd modifier key\n :which - A {Number} indicating `which` value of the event. See\n the docs for KeyboardEvent for more information.\n :target - The target element of the event. " + } + }, + "103": { + "23": { + "name": "partialMatchTimeout", + "type": "primitive", + "range": [ + [ + 103, + 23 + ], + [ + 103, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "105": { + "17": { + "name": "defaultTarget", + "type": "primitive", + "range": [ + [ + 105, + 17 + ], + [ + 105, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "106": { + "25": { + "name": "pendingPartialMatches", + "type": "primitive", + "range": [ + [ + 106, + 25 + ], + [ + 106, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "107": { + "29": { + "name": "pendingStateTimeoutHandle", + "type": "primitive", + "range": [ + [ + 107, + 29 + ], + [ + 107, + 32 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "117": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 117, + 15 + ], + [ + 125, + 1 + ] + ], + "doc": " Public:\n\noptions - An {Object} containing properties to assign to the keymap: You can\n pass custom properties to be used by extension methods. The following\n properties are also supported:\n :defaultTarget - This will be used as the target of events whose target\n is `document.body` to allow for a catch-all element when nothing is\n focused " + } + }, + "125": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 125, + 11 + ], + [ + 132, + 1 + ] + ], + "doc": "Public: Unwatch all watched paths. " + } + }, + "132": { + "18": { + "name": "getKeyBindings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 132, + 18 + ], + [ + 141, + 1 + ] + ], + "doc": " Public: Get all current key bindings.\n\nReturns an {Array} of {KeyBinding}s. " + } + }, + "141": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source", + "keyBindingsBySelector" + ], + "range": [ + [ + 141, + 7 + ], + [ + 164, + 1 + ] + ], + "doc": " Public: Add sets of key bindings grouped by CSS selector.\n\nsource - A {String} (usually a path) uniquely identifying the given bindings\n so they can be removed later.\nbindings - An {Object} whose top-level keys point at sub-objects mapping\n keystroke patterns to commands. " + } + }, + "164": { + "14": { + "name": "loadKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bindingsPath", + "options" + ], + "range": [ + [ + 164, + 14 + ], + [ + 179, + 1 + ] + ], + "doc": " Public: Load the key bindings from the given path.\n\npath - A {String} containing a path to a file or a directory. If the path is\n a directory, all files inside it will be loaded.\noptions - An {Object} containing the following optional keys:\n :watch - If `true`, the keymap will also reload the file at the given path\n whenever it changes. This option cannot be used with directory paths. " + } + }, + "179": { + "15": { + "name": "watchKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 179, + 15 + ], + [ + 190, + 1 + ] + ], + "doc": " Public: Cause the keymap to reload the key bindings file at the given path\nwhenever it changes.\n\nThis method doesn't perform the initial load of the key bindings file. If\nthat's what you're looking for, call {::loadKeymap} with `watch: true`. " + } + }, + "190": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source" + ], + "range": [ + [ + 190, + 10 + ], + [ + 212, + 1 + ] + ], + "doc": " Public: Remove the key bindings added with {::addKeymap} or\n{::loadKeymap}.\n\nsource - A {String} representing the `source` in a previous call to\n {::addKeymap} or the path in {::loadKeymap}. " + } + }, + "212": { + "23": { + "name": "handleKeyboardEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event", + "replaying" + ], + "range": [ + [ + 212, + 23 + ], + [ + 289, + 1 + ] + ], + "doc": " Public: Dispatch a custom event associated with the matching key binding for\nthe given `KeyboardEvent` if one can be found.\n\nIf a matching binding is found on the event's target or one of its\nancestors, `.preventDefault()` is called on the keyboard event and the\nbinding's command is emitted as a custom event on the matching element.\n\nIf the matching binding's command is 'native!', the method will terminate\nwithout calling `.preventDefault()` on the keyboard event, allowing the\nbrowser to handle it as normal.\n\nIf the matching binding's command is 'unset!', the search will continue from\nthe current element's parent.\n\nIf the matching binding's command is 'abort!', the search will terminate\nwithout dispatching a command event.\n\nIf the event's target is `document.body`, it will be treated as if its\ntarget is `.defaultTarget` if that property is assigned on the keymap. " + } + }, + "289": { + "19": { + "name": "findKeyBindings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 289, + 19 + ], + [ + 314, + 1 + ] + ], + "doc": " Public: Get the key bindings for a given command and optional target.\n\nparams - An {Object} whose keys constrain the binding search:\n :keystrokes - A {String} representing one or more keystrokes, such as\n 'ctrl-x ctrl-s'\n :command - A {String} representing the name of a command, such as\n 'editor:backspace'\n :target - An optional DOM element constraining the search. If this\n parameter is supplied, the call will only return bindings that can be\n invoked by a KeyboardEvent originating from the target element. " + } + }, + "314": { + "16": { + "name": "reloadKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 314, + 16 + ], + [ + 324, + 1 + ] + ], + "doc": " Private: Called by the path watcher callback to reload a file at the given path. If\nwe can't read the file cleanly, we don't proceed with the reload. " + } + }, + "324": { + "14": { + "name": "readKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "suppressErrors" + ], + "range": [ + [ + 324, + 14 + ], + [ + 338, + 1 + ] + ], + "doc": "~Private~" + } + }, + "338": { + "27": { + "name": "filePathMatchesPlatform", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 338, + 27 + ], + [ + 345, + 1 + ] + ], + "doc": " Private: Determine if the given path should be loaded on this platform. If the\nfilename has the pattern '.cson' or 'foo..cson' and\n does not match the current platform, returns false. Otherwise\nreturns true. " + } + }, + "345": { + "21": { + "name": "getOtherPlatforms", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 345, + 21 + ], + [ + 345, + 37 + ] + ], + "doc": "Private: For testing purposes " + } + }, + "349": { + "23": { + "name": "findMatchCandidates", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystrokes" + ], + "range": [ + [ + 349, + 23 + ], + [ + 365, + 1 + ] + ], + "doc": " Private: Finds all key bindings whose keystrokes match the given keystrokes. Returns\nboth partial and exact matches. " + } + }, + "365": { + "22": { + "name": "findPartialMatches", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "partialMatchCandidates", + "target" + ], + "range": [ + [ + 365, + 22 + ], + [ + 385, + 1 + ] + ], + "doc": " Private: Determine which of the given bindings have selectors matching the target or\none of its ancestors. This is used by {::handleKeyboardEvent} to determine\nif there are any partial matches for the keyboard event. " + } + }, + "385": { + "20": { + "name": "findExactMatches", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "exactMatchCandidates", + "target" + ], + "range": [ + [ + 385, + 20 + ], + [ + 390, + 1 + ] + ], + "doc": " Private: Find the matching bindings among the given candidates for the given target,\nordered by specificity. Does not traverse up the target's ancestors. This is\nused by {::handleKeyboardEvent} to find a matching binding when there are no\npartially-matching bindings. " + } + }, + "390": { + "25": { + "name": "clearQueuedKeystrokes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 390, + 25 + ], + [ + 394, + 1 + ] + ], + "doc": "~Private~" + } + }, + "394": { + "21": { + "name": "enterPendingState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pendingPartialMatches", + "enableTimeout" + ], + "range": [ + [ + 394, + 21 + ], + [ + 400, + 1 + ] + ], + "doc": "~Private~" + } + }, + "400": { + "22": { + "name": "cancelPendingState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 400, + 22 + ], + [ + 410, + 1 + ] + ], + "doc": "~Private~" + } + }, + "410": { + "25": { + "name": "terminatePendingState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 410, + 25 + ], + [ + 427, + 1 + ] + ], + "doc": " Private: This is called by {::handleKeyboardEvent} when no matching bindings are\nfound for the currently queued keystrokes or by the pending state timeout.\nIt disables the longest of the pending partially matching bindings, then\nreplays the queued keyboard events to allow any bindings with shorter\nkeystroke sequences to be matched unambiguously. " + } + }, + "427": { + "24": { + "name": "dispatchCommandEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "target", + "keyboardEvent" + ], + "range": [ + [ + 427, + 24 + ], + [ + 446, + 1 + ] + ], + "doc": " Private: After we match a binding, we call this method to dispatch a custom event\nbased on the binding's command. " + } + }, + "446": { + "36": { + "name": "simulateBubblingOnDetachedTarget", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "target", + "commandEvent" + ], + "range": [ + [ + 446, + 36 + ], + [ + 460, + 1 + ] + ], + "doc": " Private: Chromium does not bubble events dispatched on detached targets, which makes\ntesting a pain in the ass. This method simulates bubbling manually. " + } + }, + "460": { + "29": { + "name": "keystrokeForKeyboardEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 460, + 29 + ], + [ + 464, + 1 + ] + ], + "doc": " Public: Translate a keydown event to a keystroke string.\n\nevent - A `KeyboardEvent` of type 'keydown'\n\nReturns a {String} describing the keystroke. " + } + }, + "464": { + "13": { + "name": "addKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source", + "bindings" + ], + "range": [ + [ + 464, + 13 + ], + [ + 469, + 1 + ] + ], + "doc": "Deprecated: Use {::addKeymap} instead. " + } + }, + "469": { + "16": { + "name": "removeKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source" + ], + "range": [ + [ + 469, + 16 + ], + [ + 475, + 1 + ] + ], + "doc": "Deprecated: Use {::removeKeymap} instead. " + } + }, + "475": { + "18": { + "name": "handleKeyEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 475, + 18 + ], + [ + 484, + 1 + ] + ], + "doc": " Deprecated: Handle a jQuery keyboard event. Use {::handleKeyboardEvent} with\na raw keyboard event instead. " + } + }, + "484": { + "27": { + "name": "keystrokeStringForEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 484, + 27 + ], + [ + 490, + 1 + ] + ], + "doc": " Deprecated: Translate a jQuery keyboard event to a keystroke string. Use\n{::keystrokeForKeyboardEvent} with a raw KeyboardEvent instead. " + } + }, + "490": { + "12": { + "name": "bindKeys", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source", + "selector", + "keyBindings" + ], + "range": [ + [ + 490, + 12 + ], + [ + 497, + 1 + ] + ], + "doc": " Deprecated: Use {::addKeymap} with a map from selectors to key\nbindings. " + } + }, + "497": { + "25": { + "name": "keyBindingsForCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command" + ], + "range": [ + [ + 497, + 25 + ], + [ + 502, + 1 + ] + ], + "doc": "Deprecated: Use {::findKeyBindings} with the 'command' param. " + } + }, + "502": { + "27": { + "name": "keyBindingsForKeystroke", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystroke" + ], + "range": [ + [ + 502, + 27 + ], + [ + 507, + 1 + ] + ], + "doc": "Deprecated: Use {::findKeyBindings} with the 'keystrokes' param. " + } + }, + "507": { + "30": { + "name": "keyBindingsMatchingElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "target", + "keyBindings" + ], + "range": [ + [ + 507, + 30 + ], + [ + 513, + 1 + ] + ], + "doc": "Deprecated: Use {::findKeyBindings} with the 'target' param. " + } + }, + "513": { + "40": { + "name": "keyBindingsForCommandMatchingElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "target" + ], + "range": [ + [ + 513, + 40 + ], + [ + 519, + 1 + ] + ], + "doc": " Deprecated: Use {::findKeyBindings} with the 'command' and 'target'\nparams " + } + }, + "519": { + "42": { + "name": "keyBindingsForKeystrokeMatchingElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystrokes", + "target" + ], + "range": [ + [ + 519, + 42 + ], + [ + 521, + 62 + ] + ], + "doc": " Deprecated: Use {::findKeyBindings} with the 'keystrokes' and 'target'\nparams " + } + } + }, + "exports": 84 + }, + "src/grammar-registry.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "10": { + "name": "Grammar", + "type": "import", + "range": [ + [ + 4, + 10 + ], + [ + 4, + 28 + ] + ], + "bindingType": "variable", + "path": "./grammar" + } + }, + "5": { + "14": { + "name": "NullGrammar", + "type": "import", + "range": [ + [ + 5, + 14 + ], + [ + 5, + 37 + ] + ], + "bindingType": "variable", + "path": "./null-grammar" + } + }, + "9": { + "0": { + "type": "class", + "name": "GrammarRegistry", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 24, + 15 + ], + [ + 32, + 23 + ], + [ + 38, + 17 + ], + [ + 47, + 29 + ], + [ + 57, + 14 + ], + [ + 69, + 19 + ], + [ + 81, + 15 + ], + [ + 96, + 19 + ], + [ + 106, + 15 + ], + [ + 119, + 26 + ], + [ + 128, + 29 + ], + [ + 135, + 31 + ], + [ + 139, + 25 + ], + [ + 151, + 17 + ], + [ + 154, + 15 + ], + [ + 156, + 18 + ], + [ + 160, + 17 + ] + ], + "doc": "Public: Registry containing one or more grammars. ", + "range": [ + [ + 9, + 0 + ], + [ + 164, + 11 + ] + ] + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 12, + 15 + ], + [ + 24, + 1 + ] + ], + "doc": "~Private~" + } + }, + "24": { + "15": { + "name": "getGrammars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 24, + 15 + ], + [ + 32, + 1 + ] + ], + "doc": " Public: Get all the grammars in this registry.\n\nReturns a non-empty {Array} of {Grammar} instances. " + } + }, + "32": { + "23": { + "name": "grammarForScopeName", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeName" + ], + "range": [ + [ + 32, + 23 + ], + [ + 38, + 1 + ] + ], + "doc": " Public: Get a grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`.\n\nReturns a {Grammar} or undefined. " + } + }, + "38": { + "17": { + "name": "removeGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 38, + 17 + ], + [ + 47, + 1 + ] + ], + "doc": " Public: Remove a grammar from this registry.\n\ngrammar - The {Grammar} to remove. " + } + }, + "47": { + "29": { + "name": "removeGrammarForScopeName", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeName" + ], + "range": [ + [ + 47, + 29 + ], + [ + 57, + 1 + ] + ], + "doc": " Public: Remove the grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`. " + } + }, + "57": { + "14": { + "name": "addGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 57, + 14 + ], + [ + 69, + 1 + ] + ], + "doc": " Public: Add a grammar to this registry.\n\nA 'grammar-added' event is emitted after the grammar is added.\n\ngrammar - The {Grammar} to add. This should be a value previously returned\n from {::readGrammar} or {::readGrammarSync}. " + } + }, + "69": { + "19": { + "name": "readGrammarSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath" + ], + "range": [ + [ + 69, + 19 + ], + [ + 81, + 1 + ] + ], + "doc": " Public: Read a grammar synchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\n\nReturns a {Grammar}. " + } + }, + "81": { + "15": { + "name": "readGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath", + "callback" + ], + "range": [ + [ + 81, + 15 + ], + [ + 96, + 1 + ] + ], + "doc": " Public: Read a grammar asynchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " + } + }, + "96": { + "19": { + "name": "loadGrammarSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath" + ], + "range": [ + [ + 96, + 19 + ], + [ + 106, + 1 + ] + ], + "doc": " Public: Read a grammar synchronously and add it to this registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\n\nReturns a {Grammar}. " + } + }, + "106": { + "15": { + "name": "loadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath", + "callback" + ], + "range": [ + [ + 106, + 15 + ], + [ + 119, + 1 + ] + ], + "doc": " Public: Read a grammar asynchronously and add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " + } + }, + "119": { + "26": { + "name": "grammarOverrideForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 119, + 26 + ], + [ + 128, + 1 + ] + ], + "doc": " Public: Get the grammar override for the given file path.\n\nfilePath - A {String} file path.\n\nReturns a {Grammar} or undefined. " + } + }, + "128": { + "29": { + "name": "setGrammarOverrideForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "scopeName" + ], + "range": [ + [ + 128, + 29 + ], + [ + 135, + 1 + ] + ], + "doc": " Public: Set the grammar override for the given file path.\n\nfilePath - A non-empty {String} file path.\nscopeName - A {String} such as `\"source.js\"`.\n\nReturns a {Grammar} or undefined. " + } + }, + "135": { + "31": { + "name": "clearGrammarOverrideForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 135, + 31 + ], + [ + 139, + 1 + ] + ], + "doc": " Public: Remove the grammar override for the given file path.\n\nfilePath - A {String} file path. " + } + }, + "139": { + "25": { + "name": "clearGrammarOverrides", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 139, + 25 + ], + [ + 151, + 1 + ] + ], + "doc": "Public: Remove all grammar overrides. " + } + }, + "151": { + "17": { + "name": "selectGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "fileContents" + ], + "range": [ + [ + 151, + 17 + ], + [ + 154, + 1 + ] + ], + "doc": " Public: Select a grammar for the given file path and file contents.\n\nThis picks the best match by checking the file path and contents against\neach grammar.\n\nfilePath - A {String} file path.\nfileContents - A {String} of text for the file path.\n\nReturns a {Grammar}, never null. " + } + }, + "154": { + "15": { + "name": "createToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "scopes" + ], + "range": [ + [ + 154, + 15 + ], + [ + 154, + 48 + ] + ], + "doc": "~Private~" + } + }, + "156": { + "18": { + "name": "grammarUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeName" + ], + "range": [ + [ + 156, + 18 + ], + [ + 160, + 1 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "17": { + "name": "createGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath", + "object" + ], + "range": [ + [ + 160, + 17 + ], + [ + 164, + 11 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 9 + }, + "src/grammar.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "3": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 3, + 5 + ], + [ + 3, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@2.x" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 10 + ] + ], + "bindingType": "variable", + "module": "oniguruma", + "name": "OnigRegExp", + "exportsProperty": "OnigRegExp" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "7": { + "13": { + "name": "Injections", + "type": "import", + "range": [ + [ + 7, + 13 + ], + [ + 7, + 34 + ] + ], + "bindingType": "variable", + "path": "./injections" + } + }, + "8": { + "10": { + "name": "Pattern", + "type": "import", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 28 + ] + ], + "bindingType": "variable", + "path": "./pattern" + } + }, + "9": { + "7": { + "name": "Rule", + "type": "import", + "range": [ + [ + 9, + 7 + ], + [ + 9, + 22 + ] + ], + "bindingType": "variable", + "path": "./rule" + } + }, + "10": { + "16": { + "name": "ScopeSelector", + "type": "import", + "range": [ + [ + 10, + 16 + ], + [ + 10, + 41 + ] + ], + "bindingType": "variable", + "path": "./scope-selector" + } + }, + "12": { + "21": { + "name": "pathSplitRegex", + "type": "function", + "range": [ + [ + 12, + 21 + ], + [ + 12, + 34 + ] + ] + } + }, + "19": { + "0": { + "type": "class", + "name": "Grammar", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 22, + 15 + ], + [ + 51, + 17 + ], + [ + 73, + 16 + ], + [ + 141, + 12 + ], + [ + 144, + 14 + ], + [ + 147, + 14 + ], + [ + 151, + 18 + ], + [ + 154, + 17 + ], + [ + 162, + 27 + ], + [ + 165, + 18 + ], + [ + 172, + 12 + ], + [ + 182, + 19 + ], + [ + 199, + 16 + ], + [ + 214, + 15 + ], + [ + 216, + 14 + ], + [ + 218, + 17 + ], + [ + 220, + 23 + ], + [ + 223, + 19 + ] + ], + "doc": " Public: Grammar that tokenizes lines of text.\n\nThis class should not be instantiated directly but instead obtained from\na {GrammarRegistry} by calling {GrammarRegistry::loadGrammar}. ", + "range": [ + [ + 19, + 0 + ], + [ + 235, + 10 + ] + ] + } + }, + "22": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + "options" + ], + "range": [ + [ + 22, + 15 + ], + [ + 51, + 1 + ] + ], + "doc": "~Private~" + } + }, + "51": { + "17": { + "name": "tokenizeLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 51, + 17 + ], + [ + 73, + 1 + ] + ], + "doc": " Public: Tokenize all lines in the given text.\n\ntext - A {String} containing one or more lines.\n\nReturns an {Array} of token arrays for each line tokenized. " + } + }, + "73": { + "16": { + "name": "tokenizeLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line", + "ruleStack", + "firstLine" + ], + "range": [ + [ + 73, + 16 + ], + [ + 141, + 1 + ] + ], + "doc": " Public: Tokenize the line of text.\n\nline - A {String} of text to tokenize.\nruleStack - An optional {Array} of rules previously returned from this\n method. This should be null when tokenizing the first line in\n the file.\nfirstLine - A {Boolean} denoting whether this is the first line in the file\n which defaults to `false`. This should be `true` when\n tokenizing the first line in the file.\n\nReturns an {Object} containing `tokens` and `ruleStack` properties:\n :token - An {Array} of tokens covering the entire line of text.\n :ruleStack - An {Array} of rules representing the tokenized state at the\n end of the line. These should be passed back into this method\n when tokenizing the next line in the file. " + } + }, + "141": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 12 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "14": { + "name": "deactivate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 144, + 14 + ], + [ + 147, + 1 + ] + ], + "doc": "~Private~" + } + }, + "147": { + "14": { + "name": "clearRules", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 147, + 14 + ], + [ + 151, + 1 + ] + ], + "doc": "~Private~" + } + }, + "151": { + "18": { + "name": "getInitialRule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 151, + 18 + ], + [ + 154, + 1 + ] + ], + "doc": "~Private~" + } + }, + "154": { + "17": { + "name": "getRepository", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 17 + ], + [ + 162, + 1 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "27": { + "name": "addIncludedGrammarScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scope" + ], + "range": [ + [ + 162, + 27 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "18": { + "name": "grammarUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeName" + ], + "range": [ + [ + 165, + 18 + ], + [ + 172, + 1 + ] + ], + "doc": "~Private~" + } + }, + "172": { + "12": { + "name": "getScore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "contents" + ], + "range": [ + [ + 172, + 12 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "19": { + "name": "matchesContents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "contents" + ], + "range": [ + [ + 182, + 19 + ], + [ + 199, + 1 + ] + ], + "doc": "~Private~" + } + }, + "199": { + "16": { + "name": "getPathScore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 199, + 16 + ], + [ + 214, + 1 + ] + ], + "doc": "~Private~" + } + }, + "214": { + "15": { + "name": "createToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "scopes" + ], + "range": [ + [ + 214, + 15 + ], + [ + 214, + 69 + ] + ], + "doc": "~Private~" + } + }, + "216": { + "14": { + "name": "createRule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 216, + 14 + ], + [ + 216, + 60 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "17": { + "name": "createPattern", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 218, + 17 + ], + [ + 218, + 66 + ] + ], + "doc": "~Private~" + } + }, + "220": { + "23": { + "name": "getMaxTokensPerLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 220, + 23 + ], + [ + 223, + 1 + ] + ], + "doc": "~Private~" + } + }, + "223": { + "19": { + "name": "scopesFromStack", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stack", + "rule", + "endPatternMatch" + ], + "range": [ + [ + 223, + 19 + ], + [ + 235, + 10 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 19 + }, + "src/directory.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 22 + ] + ], + "bindingType": "variable", + "module": "async" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@2.x" + } + }, + "6": { + "7": { + "name": "File", + "type": "import", + "range": [ + [ + 6, + 7 + ], + [ + 6, + 22 + ] + ], + "bindingType": "variable", + "path": "./file" + } + }, + "7": { + "14": { + "name": "PathWatcher", + "type": "import", + "range": [ + [ + 7, + 14 + ], + [ + 7, + 29 + ] + ], + "bindingType": "variable", + "path": "./main" + } + }, + "11": { + "0": { + "type": "class", + "name": "Directory", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 14, + 12 + ], + [ + 20, + 15 + ], + [ + 39, + 15 + ], + [ + 46, + 11 + ], + [ + 49, + 10 + ], + [ + 52, + 15 + ], + [ + 58, + 11 + ], + [ + 66, + 19 + ], + [ + 70, + 13 + ], + [ + 75, + 10 + ], + [ + 82, + 19 + ], + [ + 95, + 12 + ], + [ + 119, + 14 + ], + [ + 154, + 18 + ], + [ + 174, + 14 + ], + [ + 198, + 33 + ], + [ + 202, + 37 + ], + [ + 208, + 18 + ] + ], + "doc": "Public: Represents a directory on disk that can be watched for changes. ", + "range": [ + [ + 11, + 0 + ], + [ + 209, + 73 + ] + ] + } + }, + "14": { + "12": { + "name": "realPath", + "type": "primitive", + "range": [ + [ + 14, + 12 + ], + [ + 14, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "20": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "directoryPath", + null + ], + "range": [ + [ + 20, + 15 + ], + [ + 39, + 1 + ] + ], + "doc": " Public: Configures a new Directory instance, no files are accessed.\n\ndirectoryPath - A {String} containing the absolute path to the directory.\nsymlink - A {Boolean} indicating if the path is a symlink (default: false). " + } + }, + "39": { + "15": { + "name": "getBaseName", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 39, + 15 + ], + [ + 46, + 1 + ] + ], + "doc": "Public: Returns the {String} basename of the directory. " + } + }, + "46": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 46, + 11 + ], + [ + 46, + 18 + ] + ], + "doc": " Public: Returns the directory's symbolic path.\n\nThis may include unfollowed symlinks or relative directory entries. Or it\nmay be fully resolved, it depends on what you give it. " + } + }, + "49": { + "10": { + "name": "isFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 10 + ], + [ + 49, + 17 + ] + ], + "doc": "Public: Distinguishes Files from Directories during traversal. " + } + }, + "52": { + "15": { + "name": "isDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 15 + ], + [ + 52, + 21 + ] + ], + "doc": "Public: Distinguishes Files from Directories during traversal. " + } + }, + "58": { + "11": { + "name": "getFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filename" + ], + "range": [ + [ + 58, + 11 + ], + [ + 66, + 1 + ] + ], + "doc": " Public: Traverse within this Directory to a child File. This method doesn't\nactually check to see if the File exists, it just creates the File object.\n\nfilename - The name of a File within this Directory. " + } + }, + "66": { + "19": { + "name": "getSubdirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "dirname" + ], + "range": [ + [ + 66, + 19 + ], + [ + 70, + 1 + ] + ], + "doc": " Public: Traverse within this a Directory to a child Directory. This method\ndoesn't actually check to see if the Directory exists, it just creates the\nDirectory object.\n\ndirname - The name of the child Directory. " + } + }, + "70": { + "13": { + "name": "getParent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 70, + 13 + ], + [ + 75, + 1 + ] + ], + "doc": "Public: Traverse to the parent Directory. " + } + }, + "75": { + "10": { + "name": "isRoot", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 75, + 10 + ], + [ + 82, + 1 + ] + ], + "doc": " Public: Return true if this {Directory} is the root directory of the\nfilesystem, or false if it isn't. " + } + }, + "82": { + "19": { + "name": "getRealPathSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 19 + ], + [ + 95, + 1 + ] + ], + "doc": " Public: Returns this directory's completely resolved path.\n\nAll relative directory entries are removed and symlinks are resolved to\ntheir final destination. " + } + }, + "95": { + "12": { + "name": "contains", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToCheck" + ], + "range": [ + [ + 95, + 12 + ], + [ + 119, + 1 + ] + ], + "doc": " Public: Returns whether the given path (real or symbolic) is inside this\ndirectory. This method does not actually check if the path exists, it just\nchecks if the path is under this directory. " + } + }, + "119": { + "14": { + "name": "relativize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fullPath" + ], + "range": [ + [ + 119, + 14 + ], + [ + 154, + 1 + ] + ], + "doc": "Public: Returns the relative path to the given path from this directory. " + } + }, + "154": { + "18": { + "name": "getEntriesSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 18 + ], + [ + 174, + 1 + ] + ], + "doc": " Public: Reads file entries in this directory from disk synchronously.\n\nReturns an {Array} of {File} and {Directory} objects. " + } + }, + "174": { + "14": { + "name": "getEntries", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 174, + 14 + ], + [ + 198, + 1 + ] + ], + "doc": " Public: Reads file entries in this directory from disk asynchronously.\n\ncallback - A {Function} to call with an {Error} as the 1st argument and\n an {Array} of {File} and {Directory} objects as the 2nd argument. " + } + }, + "198": { + "33": { + "name": "subscribeToNativeChangeEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 198, + 33 + ], + [ + 202, + 1 + ] + ], + "doc": "~Private~" + } + }, + "202": { + "37": { + "name": "unsubscribeFromNativeChangeEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 202, + 37 + ], + [ + 208, + 1 + ] + ], + "doc": "~Private~" + } + }, + "208": { + "18": { + "name": "isPathPrefixOf", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "prefix", + "fullPath" + ], + "range": [ + [ + 208, + 18 + ], + [ + 209, + 73 + ] + ], + "doc": "Private: Does given full path start with the given prefix? " + } + } + }, + "exports": 11 + }, + "src/file.coffee": { + "objects": { + "0": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 0, + 9 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@2.x" + } + }, + "6": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 6, + 4 + ], + [ + 6, + 14 + ] + ], + "bindingType": "variable", + "module": "q@~1.0.1" + } + }, + "7": { + "8": { + "name": "runas", + "type": "import", + "range": [ + [ + 7, + 8 + ], + [ + 7, + 22 + ] + ], + "bindingType": "variable", + "module": "runas" + } + }, + "9": { + "12": { + "type": "primitive", + "range": [ + [ + 9, + 12 + ], + [ + 9, + 15 + ] + ] + } + }, + "10": { + "14": { + "name": "PathWatcher", + "type": "import", + "range": [ + [ + 10, + 14 + ], + [ + 10, + 29 + ] + ], + "bindingType": "variable", + "path": "./main" + } + }, + "15": { + "0": { + "type": "class", + "name": "File", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 18, + 12 + ], + [ + 24, + 15 + ], + [ + 34, + 28 + ], + [ + 49, + 10 + ], + [ + 52, + 15 + ], + [ + 55, + 11 + ], + [ + 59, + 11 + ], + [ + 62, + 13 + ], + [ + 67, + 19 + ], + [ + 76, + 15 + ], + [ + 80, + 9 + ], + [ + 86, + 12 + ], + [ + 101, + 8 + ], + [ + 128, + 10 + ], + [ + 131, + 13 + ], + [ + 135, + 13 + ], + [ + 142, + 40 + ], + [ + 154, + 27 + ], + [ + 167, + 32 + ], + [ + 170, + 22 + ], + [ + 178, + 33 + ], + [ + 182, + 37 + ] + ], + "doc": " Public: Represents an individual file that can be watched, read from, and\nwritten to. ", + "range": [ + [ + 15, + 0 + ], + [ + 185, + 31 + ] + ] + } + }, + "18": { + "12": { + "name": "realPath", + "type": "primitive", + "range": [ + [ + 18, + 12 + ], + [ + 18, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "24": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + null + ], + "range": [ + [ + 24, + 15 + ], + [ + 34, + 1 + ] + ], + "doc": " Public: Creates a new file.\n\nfilePath - A {String} containing the absolute path to the file\nsymlink - A {Boolean} indicating if the path is a symlink (default: false). " + } + }, + "34": { + "28": { + "name": "handleEventSubscriptions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 28 + ], + [ + 49, + 1 + ] + ], + "doc": "Private: Subscribes to file system notifications when necessary. " + } + }, + "49": { + "10": { + "name": "isFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 10 + ], + [ + 49, + 16 + ] + ], + "doc": "Public: Distinguishes Files from Directories during traversal. " + } + }, + "52": { + "15": { + "name": "isDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 15 + ], + [ + 52, + 22 + ] + ], + "doc": "Public: Distinguishes Files from Directories during traversal. " + } + }, + "55": { + "11": { + "name": "setPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 55, + 11 + ], + [ + 59, + 1 + ] + ], + "doc": "Private: Sets the path for the file. " + } + }, + "59": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 11 + ], + [ + 59, + 18 + ] + ], + "doc": "Public: Returns the {String} path for the file. " + } + }, + "62": { + "13": { + "name": "getParent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 62, + 13 + ], + [ + 67, + 1 + ] + ], + "doc": "Public: Return the {Directory} that contains this file. " + } + }, + "67": { + "19": { + "name": "getRealPathSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 19 + ], + [ + 76, + 1 + ] + ], + "doc": "Public: Returns this file's completely resolved path. " + } + }, + "76": { + "15": { + "name": "getBaseName", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 15 + ], + [ + 80, + 1 + ] + ], + "doc": "Public: Return the {String} filename without any directory information. " + } + }, + "80": { + "9": { + "name": "write", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 80, + 9 + ], + [ + 86, + 1 + ] + ], + "doc": "Public: Overwrites the file with the given String. " + } + }, + "86": { + "12": { + "name": "readSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "flushCache" + ], + "range": [ + [ + 86, + 12 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "8": { + "name": "read", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "flushCache" + ], + "range": [ + [ + 101, + 8 + ], + [ + 128, + 1 + ] + ], + "doc": " Public: Reads the contents of the file.\n\nflushCache - A {Boolean} indicating whether to require a direct read or if\n a cached copy is acceptable.\n\nReturns a promise that resovles to a String. " + } + }, + "128": { + "10": { + "name": "exists", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 128, + 10 + ], + [ + 131, + 1 + ] + ], + "doc": "Public: Returns whether the file exists. " + } + }, + "131": { + "13": { + "name": "setDigest", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "contents" + ], + "range": [ + [ + 131, + 13 + ], + [ + 135, + 1 + ] + ], + "doc": "~Private~" + } + }, + "135": { + "13": { + "name": "getDigest", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 135, + 13 + ], + [ + 142, + 1 + ] + ], + "doc": "Public: Get the SHA-1 digest of this file " + } + }, + "142": { + "40": { + "name": "writeFileWithPrivilegeEscalationSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "text" + ], + "range": [ + [ + 142, + 40 + ], + [ + 154, + 1 + ] + ], + "doc": " Private: Writes the text to specified path.\n\nPrivilege escalation would be asked when current user doesn't have\npermission to the path. " + } + }, + "154": { + "27": { + "name": "handleNativeChangeEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventType", + "eventPath" + ], + "range": [ + [ + 154, + 27 + ], + [ + 167, + 1 + ] + ], + "doc": "~Private~" + } + }, + "167": { + "32": { + "name": "detectResurrectionAfterDelay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 167, + 32 + ], + [ + 170, + 1 + ] + ], + "doc": "~Private~" + } + }, + "170": { + "22": { + "name": "detectResurrection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 170, + 22 + ], + [ + 178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "178": { + "33": { + "name": "subscribeToNativeChangeEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 178, + 33 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "37": { + "name": "unsubscribeFromNativeChangeEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 182, + 37 + ], + [ + 185, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 15 + }, + "src/space-pen.coffee": { + "objects": { + "4": { + "3": { + "type": "primitive", + "name": "_", + "range": [ + [ + 4, + 3 + ], + [ + 4, + 3 + ] + ], + "exportsProperty": "_" + }, + "6": { + "type": "primitive", + "name": "jQuery", + "range": [ + [ + 4, + 6 + ], + [ + 4, + 11 + ] + ], + "exportsProperty": "jQuery" + } + }, + "5": { + "6": { + "name": "jQuery", + "type": "primitive", + "range": [ + [ + 5, + 6 + ], + [ + 5, + 11 + ] + ] + } + }, + "8": { + "2": { + "name": "Tags", + "type": "function", + "range": [ + [ + 8, + 2 + ], + [ + 15, + 60 + ] + ] + } + }, + "17": { + "18": { + "type": "primitive", + "range": [ + [ + 17, + 18 + ], + [ + 17, + 19 + ] + ] + } + }, + "22": { + "2": { + "name": "Events", + "type": "function", + "range": [ + [ + 22, + 2 + ], + [ + 24, + 57 + ] + ] + } + }, + "28": { + "8": { + "name": "document", + "type": "primitive", + "range": [ + [ + 28, + 8 + ], + [ + 28, + 15 + ] + ] + } + }, + "32": { + "12": { + "name": "0", + "type": "primitive", + "range": [ + [ + 32, + 12 + ], + [ + 32, + 12 + ] + ] + } + }, + "58": { + "0": { + "type": "class", + "name": "View", + "classProperties": [ + [ + 59, + 17 + ], + [ + 65, + 12 + ], + [ + 69, + 9 + ], + [ + 72, + 8 + ], + [ + 75, + 8 + ], + [ + 77, + 16 + ], + [ + 83, + 15 + ], + [ + 87, + 14 + ], + [ + 92, + 11 + ] + ], + "prototypeProperties": [ + [ + 100, + 15 + ], + [ + 113, + 13 + ], + [ + 120, + 15 + ], + [ + 128, + 21 + ], + [ + 147, + 13 + ], + [ + 153, + 7 + ], + [ + 167, + 11 + ], + [ + 174, + 11 + ] + ], + "doc": " Public: View class that extends the jQuery prototype.\n\nExtending classes must implement a `@content` method.\n\n## Example\n```coffee\nclass Spacecraft extends View\n @content: ->\n @div =>\n @h1 'Spacecraft'\n @ol =>\n @li 'Apollo'\n @li 'Soyuz'\n @li 'Space Shuttle'\n```\n\nEach view instance will have all the methods from the jQuery prototype\navailable on it.\n\n```coffee\n craft = new Spacecraft()\n craft.find('h1').text() # 'Spacecraft'\n craft.appendTo(document.body) # View is now a child of the tag\n``` ", + "range": [ + [ + 58, + 0 + ], + [ + 176, + 0 + ] + ] + } + }, + "59": { + "17": { + "name": "builderStack", + "type": "primitive", + "range": [ + [ + 59, + 17 + ], + [ + 59, + 20 + ] + ], + "bindingType": "classProperty" + } + }, + "65": { + "12": { + "name": "subview", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "name", + "view" + ], + "range": [ + [ + 65, + 12 + ], + [ + 69, + 1 + ] + ], + "doc": "Public: Add the given subview wired to an outlet with the given name " + } + }, + "69": { + "9": { + "name": "text", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 69, + 9 + ], + [ + 69, + 48 + ] + ], + "doc": "Public: Add a text node with the given text content " + } + }, + "72": { + "8": { + "name": "tag", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "tagName", + "args" + ], + "range": [ + [ + 72, + 8 + ], + [ + 72, + 66 + ] + ], + "doc": "Public: Add a new tag with the given name " + } + }, + "75": { + "8": { + "name": "raw", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 75, + 8 + ], + [ + 75, + 46 + ] + ], + "doc": "Public: Add new child DOM nodes from the given raw HTML string. " + } + }, + "77": { + "16": { + "name": "pushBuilder", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 77, + 16 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "15": { + "name": "popBuilder", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 83, + 15 + ], + [ + 87, + 1 + ] + ], + "doc": "~Private~" + } + }, + "87": { + "14": { + "name": "buildHtml", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 87, + 14 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "11": { + "name": "render", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 92, + 11 + ], + [ + 100, + 1 + ] + ], + "doc": "~Private~" + } + }, + "100": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 100, + 15 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "13": { + "name": "buildHtml", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 113, + 13 + ], + [ + 120, + 1 + ] + ], + "doc": "~Private~" + } + }, + "120": { + "15": { + "name": "wireOutlets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 120, + 15 + ], + [ + 128, + 1 + ] + ], + "doc": "~Private~" + } + }, + "128": { + "21": { + "name": "bindEventHandlers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 128, + 21 + ], + [ + 147, + 1 + ] + ], + "doc": "~Private~" + } + }, + "147": { + "13": { + "name": "pushStack", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "elems" + ], + "range": [ + [ + 147, + 13 + ], + [ + 153, + 1 + ] + ], + "doc": " Private: `pushStack` and `end` are jQuery methods that construct new wrappers.\nwe override them here to construct plain wrappers with `jQuery` rather\nthan wrappers that are instances of our view class. " + } + }, + "153": { + "7": { + "name": "end", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 153, + 7 + ], + [ + 167, + 1 + ] + ], + "doc": "~Private~" + } + }, + "167": { + "11": { + "name": "command", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "commandName", + "selector", + "options", + "handler" + ], + "range": [ + [ + 167, + 11 + ], + [ + 174, + 1 + ] + ], + "doc": " Public: Calls the given handler when commandName is triggered on the {View}.\n\nThis is enhanced version of jQuery's `::on` method. It listens for a custom\nDOM event and adds metadata to the DOM to maintain a list of all commands.\n\ncommandName - A namespaced {String} describing the command, such as\n `find-and-replace:toggle`.\nselector - An optional selector {String} to filter the descendants of the\n elements that trigger the event.\noptions - An optional options {Object} with an `data` key.\nhandler - A {Function} to execute when the command is triggered. " + } + }, + "174": { + "11": { + "name": "preempt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventName", + "handler" + ], + "range": [ + [ + 174, + 11 + ], + [ + 176, + 0 + ] + ], + "doc": " Public: Preempt events registered with jQuery's `::on`.\n\neventName - A event name {String}.\nhandler - A {Function} to execute when the eventName is triggered. " + } + }, + "177": { + "0": { + "type": "class", + "name": "Builder", + "classProperties": [], + "prototypeProperties": [ + [ + 178, + 15 + ], + [ + 182, + 13 + ], + [ + 185, + 7 + ], + [ + 198, + 11 + ], + [ + 211, + 12 + ], + [ + 214, + 8 + ], + [ + 224, + 7 + ], + [ + 227, + 11 + ], + [ + 235, + 18 + ] + ], + "doc": "~Private~", + "range": [ + [ + 177, + 0 + ], + [ + 247, + 54 + ] + ] + } + }, + "178": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 178, + 15 + ], + [ + 182, + 1 + ] + ] + } + }, + "182": { + "13": { + "name": "buildHtml", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 182, + 13 + ], + [ + 185, + 1 + ] + ], + "doc": "~Private~" + } + }, + "185": { + "7": { + "name": "tag", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "args" + ], + "range": [ + [ + 185, + 7 + ], + [ + 198, + 1 + ] + ], + "doc": "~Private~" + } + }, + "198": { + "11": { + "name": "openTag", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "attributes" + ], + "range": [ + [ + 198, + 11 + ], + [ + 211, + 1 + ] + ], + "doc": "~Private~" + } + }, + "211": { + "12": { + "name": "closeTag", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 211, + 12 + ], + [ + 214, + 1 + ] + ], + "doc": "~Private~" + } + }, + "214": { + "8": { + "name": "text", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 214, + 8 + ], + [ + 224, + 1 + ] + ], + "doc": "~Private~" + } + }, + "224": { + "7": { + "name": "raw", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 224, + 7 + ], + [ + 227, + 1 + ] + ], + "doc": "~Private~" + } + }, + "227": { + "11": { + "name": "subview", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "outletName", + "subview" + ], + "range": [ + [ + 227, + 11 + ], + [ + 235, + 1 + ] + ], + "doc": "~Private~" + } + }, + "235": { + "18": { + "name": "extractOptions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 235, + 18 + ], + [ + 247, + 54 + ] + ], + "doc": "~Private~" + } + }, + "248": { + "17": { + "name": "callAttachHook", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 248, + 17 + ], + [ + 260, + 0 + ] + ], + "doc": "Private: Trigger attach event when views are added to the DOM " + } + }, + "278": { + "20": { + "name": "jQuery", + "type": "primitive", + "range": [ + [ + 278, + 20 + ], + [ + 278, + 25 + ] + ] + } + }, + "279": { + "19": { + "name": "jQuery.cleanData", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "elements" + ], + "range": [ + [ + 279, + 19 + ], + [ + 286, + 0 + ] + ], + "doc": null + } + }, + "287": { + "12": { + "name": "$.fn.view", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 287, + 12 + ], + [ + 289, + 0 + ] + ], + "doc": null + } + }, + "290": { + "13": { + "name": "$.fn.views", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 290, + 13 + ], + [ + 293, + 0 + ] + ], + "doc": null + } + }, + "294": { + "22": { + "name": "$.fn.containingView", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 294, + 22 + ], + [ + 299, + 0 + ] + ], + "doc": null + } + }, + "300": { + "20": { + "name": "$.fn.scrollBottom", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newValue" + ], + "range": [ + [ + 300, + 20 + ], + [ + 305, + 0 + ] + ], + "doc": null + } + }, + "306": { + "18": { + "name": "$.fn.scrollDown", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 306, + 18 + ], + [ + 308, + 0 + ] + ], + "doc": null + } + }, + "309": { + "16": { + "name": "$.fn.scrollUp", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 309, + 16 + ], + [ + 311, + 0 + ] + ], + "doc": null + } + }, + "312": { + "19": { + "name": "$.fn.scrollToTop", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 312, + 19 + ], + [ + 314, + 0 + ] + ], + "doc": null + } + }, + "315": { + "22": { + "name": "$.fn.scrollToBottom", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 22 + ], + [ + 317, + 0 + ] + ], + "doc": null + } + }, + "318": { + "19": { + "name": "$.fn.scrollRight", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newValue" + ], + "range": [ + [ + 318, + 19 + ], + [ + 323, + 0 + ] + ], + "doc": null + } + }, + "324": { + "14": { + "name": "$.fn.pageUp", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 324, + 14 + ], + [ + 326, + 0 + ] + ], + "doc": null + } + }, + "327": { + "16": { + "name": "$.fn.pageDown", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 327, + 16 + ], + [ + 329, + 0 + ] + ], + "doc": null + } + }, + "330": { + "15": { + "name": "$.fn.isOnDom", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 330, + 15 + ], + [ + 332, + 0 + ] + ], + "doc": null + } + }, + "333": { + "17": { + "name": "$.fn.isVisible", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 333, + 17 + ], + [ + 335, + 0 + ] + ], + "doc": null + } + }, + "336": { + "16": { + "name": "$.fn.isHidden", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 336, + 16 + ], + [ + 347, + 0 + ] + ], + "doc": null + } + }, + "348": { + "18": { + "name": "$.fn.isDisabled", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 348, + 18 + ], + [ + 350, + 0 + ] + ], + "doc": null + } + }, + "351": { + "14": { + "name": "$.fn.enable", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 351, + 14 + ], + [ + 353, + 0 + ] + ], + "doc": null + } + }, + "354": { + "15": { + "name": "$.fn.disable", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 354, + 15 + ], + [ + 356, + 0 + ] + ], + "doc": null + } + }, + "357": { + "16": { + "name": "$.fn.insertAt", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "index", + "element" + ], + "range": [ + [ + 357, + 16 + ], + [ + 363, + 0 + ] + ], + "doc": null + } + }, + "364": { + "16": { + "name": "$.fn.removeAt", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 364, + 16 + ], + [ + 366, + 0 + ] + ], + "doc": null + } + }, + "367": { + "15": { + "name": "$.fn.indexOf", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 367, + 15 + ], + [ + 369, + 0 + ] + ], + "doc": null + } + }, + "370": { + "23": { + "name": "$.fn.containsElement", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 370, + 23 + ], + [ + 372, + 0 + ] + ], + "doc": null + } + }, + "373": { + "15": { + "name": "$.fn.preempt", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "eventName", + "handler" + ], + "range": [ + [ + 373, + 15 + ], + [ + 387, + 57 + ] + ], + "doc": null + } + }, + "388": { + "16": { + "name": "$.fn.handlers", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "eventName" + ], + "range": [ + [ + 388, + 16 + ], + [ + 392, + 0 + ] + ], + "doc": null + } + }, + "393": { + "17": { + "name": "$.fn.hasParent", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 393, + 17 + ], + [ + 395, + 0 + ] + ], + "doc": null + } + }, + "396": { + "16": { + "name": "$.fn.hasFocus", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 396, + 16 + ], + [ + 398, + 0 + ] + ], + "doc": null + } + }, + "399": { + "18": { + "name": "$.fn.flashError", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 399, + 18 + ], + [ + 403, + 0 + ] + ], + "doc": null + } + }, + "404": { + "18": { + "name": "$.fn.trueHeight", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 404, + 18 + ], + [ + 406, + 0 + ] + ], + "doc": null + } + }, + "407": { + "17": { + "name": "$.fn.trueWidth", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 407, + 17 + ], + [ + 409, + 0 + ] + ], + "doc": null + } + }, + "410": { + "16": { + "name": "$.fn.document", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "eventName", + "docString" + ], + "range": [ + [ + 410, + 16 + ], + [ + 415, + 0 + ] + ], + "doc": null + } + }, + "416": { + "14": { + "name": "$.fn.events", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 416, + 14 + ], + [ + 427, + 0 + ] + ], + "doc": null + } + }, + "428": { + "15": { + "name": "$.fn.command", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "eventName", + "selector", + "options", + "handler" + ], + "range": [ + [ + 428, + 15 + ], + [ + 442, + 0 + ] + ], + "doc": null + } + }, + "443": { + "16": { + "name": "$.fn.iconSize", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "size" + ], + "range": [ + [ + 443, + 16 + ], + [ + 445, + 0 + ] + ], + "doc": null + } + }, + "446": { + "16": { + "name": "$.fn.intValue", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 446, + 16 + ], + [ + 448, + 0 + ] + ], + "doc": null + } + }, + "449": { + "36": { + "name": "$.Event.prototype.abortKeyBinding", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 449, + 36 + ], + [ + 449, + 37 + ] + ], + "doc": null + } + }, + "450": { + "38": { + "name": "$.Event.prototype.currentTargetView", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 450, + 38 + ], + [ + 450, + 74 + ] + ], + "doc": null + } + }, + "451": { + "31": { + "name": "$.Event.prototype.targetView", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 451, + 31 + ], + [ + 451, + 60 + ] + ], + "doc": null + } + }, + "459": { + "0": { + "name": "$$", + "bindingType": "exportsProperty", + "type": "function", + "range": [ + [ + 459, + 0 + ], + [ + 459, + 6 + ] + ] + } + }, + "460": { + "0": { + "name": "$$$", + "bindingType": "exportsProperty", + "type": "function", + "range": [ + [ + 460, + 0 + ], + [ + 460, + 6 + ] + ] + } + } + }, + "exports": { + "_default": { + "operator": "?", + "first": { + "base": { + "value": "exports", + "locationData": { + "first_line": 455, + "first_column": 10, + "last_line": 455, + "last_column": 16 + } + }, + "properties": [], + "locationData": { + "first_line": 455, + "first_column": 10, + "last_line": 455, + "last_column": 16 + } + }, + "second": { + "base": { + "value": "this", + "locationData": { + "first_line": 455, + "first_column": 20, + "last_line": 455, + "last_column": 23 + } + }, + "properties": [], + "locationData": { + "first_line": 455, + "first_column": 20, + "last_line": 455, + "last_column": 23 + } + }, + "flip": false, + "locationData": { + "first_line": 455, + "first_column": 10, + "last_line": 455, + "last_column": 23 + } + }, + "View": { + "startLineNumber": 456 + }, + "jQuery": { + "startLineNumber": 457 + }, + "$": { + "startLineNumber": 458 + }, + "$$": { + "startLineNumber": 459 + }, + "$$$": { + "startLineNumber": 460 + } + } + }, + "src/marker.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 6 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "extend", + "exportsProperty": "extend" + }, + "9": { + "type": "import", + "range": [ + [ + 0, + 9 + ], + [ + 0, + 15 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqual", + "exportsProperty": "isEqual" + }, + "18": { + "type": "import", + "range": [ + [ + 0, + 18 + ], + [ + 0, + 21 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "omit", + "exportsProperty": "omit" + }, + "24": { + "type": "import", + "range": [ + [ + 0, + 24 + ], + [ + 0, + 27 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "pick", + "exportsProperty": "pick" + }, + "30": { + "type": "import", + "range": [ + [ + 0, + 30 + ], + [ + 0, + 33 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "size", + "exportsProperty": "size" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "2": { + "7": { + "name": "Grim", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0" + } + }, + "3": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 3, + 12 + ], + [ + 3, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@1.x" + } + }, + "4": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 4, + 15 + ], + [ + 4, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@1.x" + } + }, + "5": { + "14": { + "name": "MarkerPatch", + "type": "import", + "range": [ + [ + 5, + 14 + ], + [ + 5, + 37 + ] + ], + "bindingType": "variable", + "path": "./marker-patch" + } + }, + "6": { + "8": { + "name": "Point", + "type": "import", + "range": [ + [ + 6, + 8 + ], + [ + 6, + 24 + ] + ], + "bindingType": "variable", + "path": "./point" + } + }, + "7": { + "8": { + "name": "Range", + "type": "import", + "range": [ + [ + 7, + 8 + ], + [ + 7, + 24 + ] + ], + "bindingType": "variable", + "path": "./range" + } + }, + "9": { + "13": { + "type": "primitive", + "range": [ + [ + 9, + 13 + ], + [ + 9, + 62 + ] + ] + } + }, + "59": { + "0": { + "type": "class", + "name": "Marker", + "bindingType": "exports", + "classProperties": [ + [ + 64, + 18 + ], + [ + 73, + 27 + ] + ], + "prototypeProperties": [ + [ + 97, + 15 + ], + [ + 111, + 19 + ], + [ + 116, + 21 + ], + [ + 121, + 12 + ], + [ + 130, + 12 + ], + [ + 137, + 19 + ], + [ + 148, + 19 + ], + [ + 173, + 19 + ], + [ + 188, + 19 + ], + [ + 210, + 20 + ], + [ + 218, + 18 + ], + [ + 229, + 13 + ], + [ + 241, + 13 + ], + [ + 249, + 14 + ], + [ + 253, + 11 + ], + [ + 259, + 11 + ], + [ + 265, + 15 + ], + [ + 270, + 11 + ], + [ + 278, + 27 + ], + [ + 282, + 17 + ], + [ + 287, + 17 + ], + [ + 293, + 17 + ], + [ + 298, + 17 + ], + [ + 303, + 8 + ], + [ + 308, + 11 + ], + [ + 314, + 17 + ], + [ + 320, + 11 + ], + [ + 324, + 21 + ], + [ + 329, + 17 + ], + [ + 336, + 16 + ], + [ + 357, + 12 + ], + [ + 362, + 10 + ], + [ + 372, + 22 + ], + [ + 419, + 14 + ], + [ + 430, + 14 + ], + [ + 477, + 19 + ] + ], + "doc": " Public: Reprents a buffer annotation that remains logically stationary even\nas the buffer changes. This is used to represent cursors, folds, snippet\ntargets, misspelled words, and anything else that needs to track a logical\nlocation in the buffer over time.\n\nHead and Tail:\nMarkers always have a *head* and sometimes have a *tail*. If you think of a\nmarker as an editor selection, the tail is the part that's stationary and the\nhead is the part that moves when the mouse is moved. A marker without a tail\nalways reports an empty range at the head position. A marker with a head position\ngreater than the tail is in a \"normal\" orientation. If the head precedes the\ntail the marker is in a \"reversed\" orientation.\n\nValidity:\nMarkers are considered *valid* when they are first created. Depending on the\ninvalidation strategy you choose, certain changes to the buffer can cause a\nmarker to become invalid, for example if the text surrounding the marker is\ndeleted. See {TextBuffer::markRange} for invalidation strategies.\n\nChange events:\nWhen markers change in position for any reason, the emit a 'changed' event with\nthe following properties:\n\n* oldHeadPosition:\n A {Point} representing the former head position\n* newHeadPosition:\n A {Point} representing the new head position\n* oldTailPosition:\n A {Point} representing the former tail position\n* newTailPosition:\n A {Point} representing the new tail position\n* wasValid:\n A {Boolean} indicating whether the marker was valid before the change\n* isValid:\n A {Boolean} indicating whether the marker is now valid\n* hadTail:\n A {Boolean} indicating whether the marker had a tail before the change\n* hasTail:\n A {Boolean} indicating whether the marker now has a tail\n* oldProperties:\n An {Object} containing the marker's custom properties before the change.\n* newProperties:\n An {Object} containing the marker's custom properties after the change.\n* textChanged:\n A {Boolean} indicating whether this change was caused by a textual change\n to the buffer or whether the marker was manipulated directly via its public\n API. ", + "range": [ + [ + 59, + 0 + ], + [ + 478, + 60 + ] + ] + } + }, + "64": { + "18": { + "name": "extractParams", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "inputParams" + ], + "range": [ + [ + 64, + 18 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "27": { + "name": "handleDeprecatedParams", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 73, + 27 + ], + [ + 94, + 1 + ] + ], + "doc": "~Private~" + } + }, + "97": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 97, + 15 + ], + [ + 111, + 1 + ] + ], + "doc": "~Private~" + } + }, + "111": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 111, + 19 + ], + [ + 116, + 1 + ] + ], + "doc": "Private: Used by {Serializable} during serialization. " + } + }, + "116": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 116, + 21 + ], + [ + 121, + 1 + ] + ], + "doc": "Private: Used by {Serializable} during deserialization. " + } + }, + "121": { + "12": { + "name": "getRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 121, + 12 + ], + [ + 130, + 1 + ] + ], + "doc": "Public: Returns the current {Range} of the marker. The range is immutable. " + } + }, + "130": { + "12": { + "name": "setRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range", + "properties" + ], + "range": [ + [ + 130, + 12 + ], + [ + 137, + 1 + ] + ], + "doc": " Public: Sets the range of the marker.\n\nrange - A {Range} or range-compatible {Array}. The range will be clipped\n before it is assigned.\nproperties - An optional hash of properties to associate with the marker.\n :reversed - If true, the marker will to be in a reversed orientation. " + } + }, + "137": { + "19": { + "name": "getHeadPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 19 + ], + [ + 148, + 1 + ] + ], + "doc": "Public: Returns a {Point} representing the marker's current head position. " + } + }, + "148": { + "19": { + "name": "setHeadPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "properties" + ], + "range": [ + [ + 148, + 19 + ], + [ + 173, + 1 + ] + ], + "doc": " Public: Sets the head position of the marker.\n\nposition - A {Point} or point-compatible {Array}. The position will be\n clipped before it is assigned.\nproperties - An optional hash of properties to associate with the marker. " + } + }, + "173": { + "19": { + "name": "getTailPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 173, + 19 + ], + [ + 188, + 1 + ] + ], + "doc": " Public: Returns a {Point} representing the marker's current tail position.\nIf the marker has no tail, the head position will be returned instead. " + } + }, + "188": { + "19": { + "name": "setTailPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "properties" + ], + "range": [ + [ + 188, + 19 + ], + [ + 210, + 1 + ] + ], + "doc": " Public: Sets the head position of the marker. If the marker doesn't have a\ntail, it will after calling this method.\n\nposition - A {Point} or point-compatible {Array}. The position will be\n clipped before it is assigned.\nproperties - An optional hash of properties to associate with the marker. " + } + }, + "210": { + "20": { + "name": "getStartPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 20 + ], + [ + 218, + 1 + ] + ], + "doc": " Public: Returns a {Point} representing the start position of the marker,\nwhich could be the head or tail position, depending on its orientation. " + } + }, + "218": { + "18": { + "name": "getEndPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 218, + 18 + ], + [ + 229, + 1 + ] + ], + "doc": " Public: Returns a {Point} representing the end position of the marker,\nwhich could be the head or tail position, depending on its orientation. " + } + }, + "229": { + "13": { + "name": "clearTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "properties" + ], + "range": [ + [ + 229, + 13 + ], + [ + 241, + 1 + ] + ], + "doc": " Public: Removes the marker's tail. After calling the marker's head position\nwill be reported as its current tail position until the tail is planted\nagain.\n\nproperties - An optional hash of properties to associate with the marker. " + } + }, + "241": { + "13": { + "name": "plantTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "properties" + ], + "range": [ + [ + 241, + 13 + ], + [ + 249, + 1 + ] + ], + "doc": " Public: Plants the marker's tail at the current head position. After calling\nthe marker's tail position will be its head position at the time of the\ncall, regardless of where the marker's head is moved.\n\nproperties - An optional hash of properties to associate with the marker. " + } + }, + "249": { + "14": { + "name": "isReversed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 249, + 14 + ], + [ + 253, + 1 + ] + ], + "doc": "Public: Returns a {Boolean} indicating whether the head precedes the tail. " + } + }, + "253": { + "11": { + "name": "hasTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 253, + 11 + ], + [ + 259, + 1 + ] + ], + "doc": "Public: Returns a {Boolean} indicating whether the marker has a tail. " + } + }, + "259": { + "11": { + "name": "isValid", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 259, + 11 + ], + [ + 265, + 1 + ] + ], + "doc": " Public: Is the marker valid?\n\nReturns a {Boolean}. " + } + }, + "265": { + "15": { + "name": "isDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 265, + 15 + ], + [ + 270, + 1 + ] + ], + "doc": " Public: Is the marker destroyed?\n\nReturns a {Boolean}. " + } + }, + "270": { + "11": { + "name": "isEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 270, + 11 + ], + [ + 278, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this marker is equivalent to\nanother marker, meaning they have the same range and options. " + } + }, + "278": { + "27": { + "name": "getInvalidationStrategy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 278, + 27 + ], + [ + 282, + 1 + ] + ], + "doc": " Public: Get the invalidation strategy for this marker.\n\nValid values include: `never`, `surround`, `overlap`, `inside`, and `touch`.\n\nReturns a {String}. " + } + }, + "282": { + "17": { + "name": "getAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 282, + 17 + ], + [ + 287, + 1 + ] + ], + "doc": "Deprecated: Use ::getProperties instead " + } + }, + "287": { + "17": { + "name": "setAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 287, + 17 + ], + [ + 293, + 1 + ] + ], + "doc": "Deprecated: Use ::setProperties instead " + } + }, + "293": { + "17": { + "name": "getProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 293, + 17 + ], + [ + 298, + 1 + ] + ], + "doc": " Public: Returns an {Object} containing any custom properties associated with\nthe marker. " + } + }, + "298": { + "17": { + "name": "setProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "properties" + ], + "range": [ + [ + 298, + 17 + ], + [ + 303, + 1 + ] + ], + "doc": " Public: Merges an {Object} containing new properties into the marker's\nexisting properties. " + } + }, + "303": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 303, + 8 + ], + [ + 308, + 1 + ] + ], + "doc": " Public: Creates and returns a new {Marker} with the same properties as this\nmarker. " + } + }, + "308": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 308, + 11 + ], + [ + 314, + 1 + ] + ], + "doc": " Public: Destroys the marker, causing it to emit the 'destroyed' event. Once\ndestroyed, a marker cannot be restored by undo/redo operations. " + } + }, + "314": { + "17": { + "name": "extractParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 314, + 17 + ], + [ + 320, + 1 + ] + ], + "doc": "~Private~" + } + }, + "320": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 320, + 11 + ], + [ + 324, + 1 + ] + ], + "doc": "Public: Compares this marker to another based on their ranges. " + } + }, + "324": { + "21": { + "name": "matchesAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 324, + 21 + ], + [ + 329, + 1 + ] + ], + "doc": "Deprecated: Use ::matchesParams instead " + } + }, + "329": { + "17": { + "name": "matchesParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 329, + 17 + ], + [ + 336, + 1 + ] + ], + "doc": " Private: Returns whether this marker matches the given parameters. The parameters\nare the same as {MarkerManager::findMarkers}. " + } + }, + "336": { + "16": { + "name": "matchesParam", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "key", + "value" + ], + "range": [ + [ + 336, + 16 + ], + [ + 357, + 1 + ] + ], + "doc": " Private: Returns whether this marker matches the given parameter name and value.\nThe parameters are the same as {MarkerManager::findMarkers}. " + } + }, + "357": { + "12": { + "name": "toParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "omitId" + ], + "range": [ + [ + 357, + 12 + ], + [ + 362, + 1 + ] + ], + "doc": "~Private~" + } + }, + "362": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 362, + 10 + ], + [ + 372, + 1 + ] + ], + "doc": "~Private~" + } + }, + "372": { + "22": { + "name": "handleBufferChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "patch" + ], + "range": [ + [ + 372, + 22 + ], + [ + 419, + 1 + ] + ], + "doc": " Private: Adjusts the marker's start and end positions and possibly its validity\nbased on the given {BufferPatch}. " + } + }, + "419": { + "14": { + "name": "buildPatch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "newParams" + ], + "range": [ + [ + 419, + 14 + ], + [ + 430, + 1 + ] + ], + "doc": "~Private~" + } + }, + "430": { + "14": { + "name": "applyPatch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "patch", + "textChanged" + ], + "range": [ + [ + 430, + 14 + ], + [ + 477, + 1 + ] + ], + "doc": "~Private~" + } + }, + "477": { + "19": { + "name": "updateIntervals", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 477, + 19 + ], + [ + 478, + 60 + ] + ], + "doc": " Private: Updates the interval index on the marker manager with the marker's current\nrange. " + } + } + }, + "exports": 59 + }, + "src/point.coffee": { + "objects": { + "11": { + "0": { + "type": "class", + "name": "Point", + "bindingType": "exports", + "classProperties": [ + [ + 24, + 15 + ], + [ + 36, + 8 + ] + ], + "prototypeProperties": [ + [ + 44, + 15 + ], + [ + 47, + 8 + ], + [ + 51, + 10 + ], + [ + 56, + 13 + ], + [ + 60, + 7 + ], + [ + 70, + 11 + ], + [ + 86, + 11 + ], + [ + 101, + 11 + ], + [ + 108, + 14 + ], + [ + 113, + 21 + ], + [ + 118, + 17 + ], + [ + 123, + 24 + ], + [ + 127, + 11 + ], + [ + 131, + 13 + ], + [ + 135, + 12 + ] + ], + "doc": " Public: Represents a point in a buffer in row/column coordinates.\n\nEvery public method that takes a point also accepts a *point-compatible*\n{Array}. This means a 2-element array containing {Number}s representing the\nrow and column. So the following are equivalent:\n\n```coffee\nnew Point(1, 2)\n[1, 2]\n``` ", + "range": [ + [ + 11, + 0 + ], + [ + 136, + 27 + ] + ] + } + }, + "24": { + "15": { + "name": "fromObject", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "object", + "copy" + ], + "range": [ + [ + 24, + 15 + ], + [ + 36, + 1 + ] + ], + "doc": " Public: Convert any point-compatible object to a {Point}.\n\n* object:\n This can be an object that's already a {Point}, in which case it's\n simply returned, or an array containing two {Number}s representing the\n row and column.\n\n* copy:\n An optional boolean indicating whether to force the copying of objects\n that are already points.\n\nReturns: A {Point} based on the given object. " + } + }, + "36": { + "8": { + "name": "min", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "point1", + "point2" + ], + "range": [ + [ + 36, + 8 + ], + [ + 44, + 1 + ] + ], + "doc": "Public: Returns the given point that is earlier in the buffer. " + } + }, + "44": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 44, + 15 + ], + [ + 44, + 36 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 47, + 8 + ], + [ + 51, + 1 + ] + ], + "doc": "Public: Returns a new {Point} with the same row and column. " + } + }, + "51": { + "10": { + "name": "freeze", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 51, + 10 + ], + [ + 56, + 1 + ] + ], + "doc": "Public: Makes this point immutable and returns itself. " + } + }, + "56": { + "13": { + "name": "translate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "delta" + ], + "range": [ + [ + 56, + 13 + ], + [ + 60, + 1 + ] + ], + "doc": " Public: Return a new {Point} based on shifting this point by the given delta,\nwhich is represented by another {Point}. " + } + }, + "60": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 60, + 7 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "11": { + "name": "splitAt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "column" + ], + "range": [ + [ + 70, + 11 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 86, + 11 + ], + [ + 101, + 1 + ] + ], + "doc": " Public:\n\n* other: A {Point} or point-compatible {Array}.\n\nReturns:\n * -1 if this point precedes the argument.\n * 0 if this point is equivalent to the argument.\n * 1 if this point follows the argument. " + } + }, + "101": { + "11": { + "name": "isEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 101, + 11 + ], + [ + 108, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this point has the same row\nand column as the given {Point} or point-compatible {Array}. " + } + }, + "108": { + "14": { + "name": "isLessThan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 108, + 14 + ], + [ + 113, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this point precedes the given\n{Point} or point-compatible {Array}. " + } + }, + "113": { + "21": { + "name": "isLessThanOrEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 113, + 21 + ], + [ + 118, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this point precedes or is\nequal to the given {Point} or point-compatible {Array}. " + } + }, + "118": { + "17": { + "name": "isGreaterThan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 118, + 17 + ], + [ + 123, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this point follows the given\n{Point} or point-compatible {Array}. " + } + }, + "123": { + "24": { + "name": "isGreaterThanOrEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 123, + 24 + ], + [ + 127, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this point follows or is\nequal to the given {Point} or point-compatible {Array}. " + } + }, + "127": { + "11": { + "name": "toArray", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 127, + 11 + ], + [ + 131, + 1 + ] + ], + "doc": "Public: Returns an array of this point's row and column. " + } + }, + "131": { + "13": { + "name": "serialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 131, + 13 + ], + [ + 135, + 1 + ] + ], + "doc": "Public: Returns an array of this point's row and column. " + } + }, + "135": { + "12": { + "name": "toString", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 135, + 12 + ], + [ + 136, + 27 + ] + ], + "doc": "Public: Returns a string representation of the point. " + } + } + }, + "exports": 11 + }, + "src/range.coffee": { + "objects": { + "0": { + "7": { + "name": "Grim", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0" + } + }, + "1": { + "8": { + "name": "Point", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 24 + ] + ], + "bindingType": "variable", + "path": "./point" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 12 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "newlineRegex", + "exportsProperty": "newlineRegex" + } + }, + "16": { + "0": { + "type": "class", + "name": "Range", + "bindingType": "exports", + "classProperties": [ + [ + 18, + 16 + ], + [ + 32, + 15 + ], + [ + 50, + 13 + ], + [ + 79, + 23 + ] + ], + "prototypeProperties": [ + [ + 84, + 15 + ], + [ + 96, + 13 + ], + [ + 100, + 8 + ], + [ + 105, + 10 + ], + [ + 112, + 11 + ], + [ + 125, + 11 + ], + [ + 134, + 16 + ], + [ + 139, + 18 + ], + [ + 142, + 7 + ], + [ + 145, + 13 + ], + [ + 149, + 18 + ], + [ + 162, + 17 + ], + [ + 173, + 17 + ], + [ + 187, + 17 + ], + [ + 192, + 22 + ], + [ + 197, + 9 + ], + [ + 205, + 11 + ], + [ + 208, + 11 + ], + [ + 219, + 15 + ], + [ + 223, + 11 + ], + [ + 227, + 12 + ] + ], + "doc": " Public: Represents a region in a buffer in row/column coordinates.\n\nEvery public method that takes a range also accepts a *range-compatible*\n{Array}. This means a 2-element array containing {Point}s or point-compatible\narrays. So the following are equivalent:\n\n```coffee\nnew Range(new Point(0, 1), new Point(2, 3))\nnew Range([0, 1], [2, 3])\n[[0, 1], [2, 3]]\n``` ", + "range": [ + [ + 16, + 0 + ], + [ + 228, + 27 + ] + ] + } + }, + "18": { + "16": { + "name": "deserialize", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "array" + ], + "range": [ + [ + 18, + 16 + ], + [ + 32, + 1 + ] + ], + "doc": "Public: Call this with the result of {Range::serialize} to construct a new Range. " + } + }, + "32": { + "15": { + "name": "fromObject", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "object", + "copy" + ], + "range": [ + [ + 32, + 15 + ], + [ + 50, + 1 + ] + ], + "doc": " Public: Convert any range-compatible object to a {Range}.\n\n* object:\n This can be an object that's already a {Range}, in which case it's\n simply returned, or an array containing two {Point}s or point-compatible\n arrays.\n* copy:\n An optional boolean indicating whether to force the copying of objects\n that are already ranges.\n\nReturns: A {Range} based on the given object. " + } + }, + "50": { + "13": { + "name": "fromText", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 50, + 13 + ], + [ + 79, + 1 + ] + ], + "doc": " Private: Returns a range based on an optional starting point and the given text. If\nno starting point is given it will be assumed to be [0, 0].\n\n* startPoint: A {Point} where the range should start.\n* text:\n A {String} after which the range should end. The range will have as many\n rows as the text has lines have an end column based on the length of the\n last line.\n\nReturns: A {Range} " + } + }, + "79": { + "23": { + "name": "fromPointWithDelta", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "startPoint", + "rowDelta", + "columnDelta" + ], + "range": [ + [ + 79, + 23 + ], + [ + 84, + 1 + ] + ], + "doc": " Public: Returns a {Range} that starts at the given point and ends at the\nstart point plus the given row and column deltas.\n\n* startPoint:\n A {Point} or point-compatible {Array}\n* rowDelta:\n A {Number} indicating how many rows to add to the start point to get the\n end point.\n* columnDelta:\n A {Number} indicating how many rows to columns to the start point to get\n the end point.\n\nReturns a {Range} " + } + }, + "84": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pointA", + "pointB" + ], + "range": [ + [ + 84, + 15 + ], + [ + 96, + 1 + ] + ], + "doc": "~Private~" + } + }, + "96": { + "13": { + "name": "serialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 13 + ], + [ + 100, + 1 + ] + ], + "doc": "Public: Returns a plain javascript object representation of the range. " + } + }, + "100": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 100, + 8 + ], + [ + 105, + 1 + ] + ], + "doc": "Public: Returns a new range with the same start and end positions. " + } + }, + "105": { + "10": { + "name": "freeze", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 105, + 10 + ], + [ + 112, + 1 + ] + ], + "doc": " Public: Freezes the range and its start and end point so it becomes\nimmutable and returns itself. " + } + }, + "112": { + "11": { + "name": "isEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 112, + 11 + ], + [ + 125, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this range has the same start\nand end points as the given {Range} or range-compatible {Array}. " + } + }, + "125": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 125, + 11 + ], + [ + 134, + 1 + ] + ], + "doc": " Public:\n\n* other: A {Range} or range-compatible {Array}.\n\nReturns:\n * -1 if this range starts before the argument or contains it\n * 0 if this range is equivalent to the argument.\n * 1 if this range starts after the argument or is contained by it. " + } + }, + "134": { + "16": { + "name": "isSingleLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 134, + 16 + ], + [ + 139, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this range starts and ends on\nthe same row. " + } + }, + "139": { + "18": { + "name": "coversSameRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 139, + 18 + ], + [ + 142, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this range starts and ends on\nthe same row as the argument. " + } + }, + "142": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "delta" + ], + "range": [ + [ + 142, + 7 + ], + [ + 145, + 1 + ] + ], + "doc": "~Private~" + } + }, + "145": { + "13": { + "name": "translate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startPoint", + "endPoint" + ], + "range": [ + [ + 145, + 13 + ], + [ + 149, + 1 + ] + ], + "doc": "~Private~" + } + }, + "149": { + "18": { + "name": "intersectsWith", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherRange" + ], + "range": [ + [ + 149, + 18 + ], + [ + 162, + 1 + ] + ], + "doc": "Public: Determines whether this range intersects with the argument. " + } + }, + "162": { + "17": { + "name": "containsRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherRange", + "exclusive" + ], + "range": [ + [ + 162, + 17 + ], + [ + 173, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this range contains the given\nrange.\n\n* otherRange: A {Range} or range-compatible {Array}\n* exclusive:\n A boolean value including that the containment should be exclusive of\n endpoints. Defaults to false. " + } + }, + "173": { + "17": { + "name": "containsPoint", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "point", + "exclusive" + ], + "range": [ + [ + 173, + 17 + ], + [ + 187, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this range contains the given\npoint.\n\n* point: A {Point} or point-compatible {Array}\n* exclusive:\n A boolean value including that the containment should be exclusive of\n endpoints. Defaults to false. " + } + }, + "187": { + "17": { + "name": "intersectsRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 187, + 17 + ], + [ + 192, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this range intersects the\ngiven row {Number}. " + } + }, + "192": { + "22": { + "name": "intersectsRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 192, + 22 + ], + [ + 197, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this range intersects the\nrow range indicated by the given startRow and endRow {Number}s. " + } + }, + "197": { + "9": { + "name": "union", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherRange" + ], + "range": [ + [ + 197, + 9 + ], + [ + 205, + 1 + ] + ], + "doc": "Public: Returns a new range that contains this range and the given range. " + } + }, + "205": { + "11": { + "name": "isEmpty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 205, + 11 + ], + [ + 208, + 1 + ] + ], + "doc": " Public: Is the start position of this range equal to the end position?\n\nReturns a {Boolean}. " + } + }, + "208": { + "11": { + "name": "toDelta", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 208, + 11 + ], + [ + 219, + 1 + ] + ], + "doc": "~Private~" + } + }, + "219": { + "15": { + "name": "getRowCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 219, + 15 + ], + [ + 223, + 1 + ] + ], + "doc": " Public: Get the number of rows in this range.\n\nReturns a {Number}. " + } + }, + "223": { + "11": { + "name": "getRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 223, + 11 + ], + [ + 227, + 1 + ] + ], + "doc": "Public: Returns an array of all rows in the range. " + } + }, + "227": { + "12": { + "name": "toString", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 227, + 12 + ], + [ + 228, + 27 + ] + ], + "doc": "Public: Returns a string representation of the range. " + } + } + }, + "exports": 16 + }, + "src/text-buffer.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@1.x" + } + }, + "2": { + "7": { + "name": "Grim", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0" + } + }, + "3": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@1.x" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 4, + 10 + ], + [ + 4, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 4 + ] + ], + "bindingType": "variable", + "module": "pathwatcher@^2.0.2", + "name": "File", + "exportsProperty": "File" + } + }, + "6": { + "15": { + "name": "SpanSkipList", + "type": "import", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 38 + ] + ], + "bindingType": "variable", + "module": "span-skip-list@~0.1.1" + } + }, + "7": { + "7": { + "name": "diff", + "type": "import", + "range": [ + [ + 7, + 7 + ], + [ + 7, + 20 + ] + ], + "bindingType": "variable", + "module": "diff@git://github.com/benogle/jsdiff.git" + } + }, + "8": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 8, + 4 + ], + [ + 8, + 14 + ] + ], + "bindingType": "variable", + "module": "q@~1.0.1" + } + }, + "9": { + "8": { + "name": "Point", + "type": "import", + "range": [ + [ + 9, + 8 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "path": "./point" + } + }, + "10": { + "8": { + "name": "Range", + "type": "import", + "range": [ + [ + 10, + 8 + ], + [ + 10, + 24 + ] + ], + "bindingType": "variable", + "path": "./range" + } + }, + "11": { + "10": { + "name": "History", + "type": "import", + "range": [ + [ + 11, + 10 + ], + [ + 11, + 28 + ] + ], + "bindingType": "variable", + "path": "./history" + } + }, + "12": { + "16": { + "name": "MarkerManager", + "type": "import", + "range": [ + [ + 12, + 16 + ], + [ + 12, + 41 + ] + ], + "bindingType": "variable", + "path": "./marker-manager" + } + }, + "13": { + "14": { + "name": "BufferPatch", + "type": "import", + "range": [ + [ + 13, + 14 + ], + [ + 13, + 37 + ] + ], + "bindingType": "variable", + "path": "./buffer-patch" + } + }, + "14": { + "1": { + "type": "import", + "range": [ + [ + 14, + 1 + ], + [ + 14, + 11 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "spliceArray", + "exportsProperty": "spliceArray" + }, + "14": { + "type": "import", + "range": [ + [ + 14, + 14 + ], + [ + 14, + 25 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "newlineRegex", + "exportsProperty": "newlineRegex" + } + }, + "68": { + "0": { + "type": "class", + "name": "TextBuffer", + "bindingType": "exports", + "classProperties": [ + [ + 69, + 10 + ], + [ + 70, + 10 + ], + [ + 71, + 17 + ] + ], + "prototypeProperties": [ + [ + 78, + 14 + ], + [ + 79, + 24 + ], + [ + 80, + 26 + ], + [ + 81, + 22 + ], + [ + 82, + 12 + ], + [ + 83, + 8 + ], + [ + 84, + 12 + ], + [ + 92, + 15 + ], + [ + 112, + 21 + ], + [ + 119, + 19 + ], + [ + 130, + 11 + ], + [ + 142, + 12 + ], + [ + 148, + 11 + ], + [ + 154, + 16 + ], + [ + 160, + 14 + ], + [ + 168, + 14 + ], + [ + 175, + 15 + ], + [ + 187, + 20 + ], + [ + 196, + 20 + ], + [ + 204, + 11 + ], + [ + 211, + 18 + ], + [ + 260, + 18 + ], + [ + 273, + 10 + ], + [ + 281, + 10 + ], + [ + 289, + 10 + ], + [ + 297, + 13 + ], + [ + 309, + 14 + ], + [ + 337, + 14 + ], + [ + 347, + 14 + ], + [ + 406, + 18 + ], + [ + 436, + 13 + ], + [ + 454, + 16 + ], + [ + 471, + 20 + ], + [ + 478, + 18 + ], + [ + 485, + 12 + ], + [ + 496, + 15 + ], + [ + 515, + 29 + ], + [ + 532, + 29 + ], + [ + 545, + 24 + ], + [ + 548, + 12 + ], + [ + 552, + 8 + ], + [ + 555, + 17 + ], + [ + 565, + 20 + ], + [ + 569, + 11 + ], + [ + 577, + 11 + ], + [ + 579, + 15 + ], + [ + 581, + 14 + ], + [ + 583, + 10 + ], + [ + 587, + 11 + ], + [ + 592, + 19 + ], + [ + 624, + 22 + ], + [ + 629, + 10 + ], + [ + 636, + 32 + ], + [ + 640, + 28 + ], + [ + 650, + 15 + ], + [ + 656, + 11 + ], + [ + 662, + 10 + ], + [ + 668, + 11 + ], + [ + 682, + 18 + ], + [ + 687, + 8 + ], + [ + 693, + 10 + ], + [ + 710, + 14 + ], + [ + 724, + 16 + ], + [ + 726, + 17 + ], + [ + 736, + 27 + ], + [ + 774, + 8 + ], + [ + 792, + 17 + ], + [ + 804, + 11 + ], + [ + 830, + 15 + ], + [ + 881, + 24 + ], + [ + 889, + 14 + ], + [ + 897, + 23 + ], + [ + 910, + 19 + ], + [ + 918, + 16 + ], + [ + 926, + 10 + ], + [ + 930, + 32 + ], + [ + 933, + 26 + ], + [ + 942, + 29 + ], + [ + 947, + 12 + ], + [ + 956, + 8 + ], + [ + 959, + 8 + ], + [ + 969, + 12 + ], + [ + 977, + 20 + ], + [ + 983, + 21 + ], + [ + 987, + 20 + ], + [ + 990, + 18 + ], + [ + 1029, + 13 + ], + [ + 1037, + 16 + ], + [ + 1042, + 13 + ], + [ + 1047, + 14 + ], + [ + 1069, + 15 + ], + [ + 1074, + 18 + ] + ], + "doc": " Public: A mutable text container with undo/redo support and the ability to\nannotate logical regions in the text.\n\n## Events\n\n* `changed` -\n Emitted synchronously whenever the buffer changes. Binding a slow handler\n to this event has the potential to destroy typing performance. Consider\n using `contents-modified` instead and aim for extremely fast performance\n (< 2 ms) if you must bind to it. Your handler will be called with an\n object containing the following keys.\n * `oldRange` - The {Range} of the old text\n * `newRange` - The {Range} of the new text\n * `oldText` - A {String} containing the text that was replaced\n * `newText` - A {String} containing the text that was inserted\n\n* `markers-updated` -\n Emitted synchronously when the `changed` events of all markers have been\n fired for a change. The order of events is as follows:\n * The text of the buffer is changed\n * All markers are updated accordingly, but their `changed` events are not\n emited\n * The `changed` event is emitted\n * The `changed` events of all updated markers are emitted\n * The `markers-updated` event is emitted.\n\n* `contents-modified` -\n Emitted asynchronously 300ms (or `TextBuffer::stoppedChangingDelay`)\n after the last buffer change. This is a good place to handle changes to\n the buffer without compromising typing performance.\n\n* `modified-status-changed` -\n Emitted with a {Boolean} when the result of {::isModified} changes.\n\n* `contents-conflicted` -\n Emitted when the buffer's underlying file changes on disk at a moment\n when the result of {::isModified} is true.\n\n* `will-reload` -\n Emitted before the in-memory contents of the buffer are refreshed from\n the contents of the file on disk.\n\n* `reloaded` -\n Emitted after the in-memory contents of the buffer are refreshed from\n the contents of the file on disk.\n\n* `will-be-saved` - Emitted before the buffer is saved to disk.\n\n* `saved` - Emitted after the buffer is saved to disk.\n\n* `destroyed` - Emitted when the buffer is destroyed. ", + "range": [ + [ + 68, + 0 + ], + [ + 1074, + 46 + ] + ] + } + }, + "69": { + "10": { + "name": "Point", + "type": "primitive", + "range": [ + [ + 69, + 10 + ], + [ + 69, + 14 + ] + ], + "bindingType": "classProperty", + "reference": { + "position": [ + 9, + 8 + ] + } + } + }, + "70": { + "10": { + "name": "Range", + "type": "primitive", + "range": [ + [ + 70, + 10 + ], + [ + 70, + 14 + ] + ], + "bindingType": "classProperty", + "reference": { + "position": [ + 10, + 8 + ] + } + } + }, + "71": { + "17": { + "name": "newlineRegex", + "type": "primitive", + "range": [ + [ + 71, + 17 + ], + [ + 71, + 28 + ] + ], + "bindingType": "classProperty", + "reference": { + "position": [ + 14, + 14 + ] + } + } + }, + "78": { + "14": { + "name": "cachedText", + "type": "primitive", + "range": [ + [ + 78, + 14 + ], + [ + 78, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "79": { + "24": { + "name": "stoppedChangingDelay", + "type": "primitive", + "range": [ + [ + 79, + 24 + ], + [ + 79, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "80": { + "26": { + "name": "stoppedChangingTimeout", + "type": "primitive", + "range": [ + [ + 80, + 26 + ], + [ + 80, + 29 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "81": { + "22": { + "name": "cachedDiskContents", + "type": "primitive", + "range": [ + [ + 81, + 22 + ], + [ + 81, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "82": { + "12": { + "name": "conflict", + "type": "primitive", + "range": [ + [ + 82, + 12 + ], + [ + 82, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "83": { + "8": { + "name": "file", + "type": "primitive", + "range": [ + [ + 83, + 8 + ], + [ + 83, + 11 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "84": { + "12": { + "name": "refcount", + "type": "primitive", + "range": [ + [ + 84, + 12 + ], + [ + 84, + 12 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "92": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 92, + 15 + ], + [ + 112, + 1 + ] + ], + "doc": " Public: Create a new buffer with the given params.\n\nparams - A {String} of text or an {Object} with the following keys:\n :load - A {Boolean}, `true` to asynchronously load the buffer from disk\n after initialization.\n :text - The initial {String} text of the buffer. " + } + }, + "112": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 112, + 21 + ], + [ + 119, + 1 + ] + ], + "doc": "Private: Called by {Serializable} mixin during deserialization. " + } + }, + "119": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 119, + 19 + ], + [ + 130, + 1 + ] + ], + "doc": "Private: Called by {Serializable} mixin during serialization. " + } + }, + "130": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 130, + 11 + ], + [ + 142, + 1 + ] + ], + "doc": " Public: Get the entire text of the buffer.\n\nReturns a {String}. " + } + }, + "142": { + "12": { + "name": "getLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 142, + 12 + ], + [ + 148, + 1 + ] + ], + "doc": " Public: Get the text of all lines in the buffer, without their line endings.\n\nReturns an {Array} of {String}s. " + } + }, + "148": { + "11": { + "name": "isEmpty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 148, + 11 + ], + [ + 154, + 1 + ] + ], + "doc": " Public: Determine whether the buffer is empty.\n\nReturns a {Boolean}. " + } + }, + "154": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 16 + ], + [ + 160, + 1 + ] + ], + "doc": " Public: Get the number of lines in the buffer.\n\nReturns a {Number}. " + } + }, + "160": { + "14": { + "name": "getLastRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 160, + 14 + ], + [ + 168, + 1 + ] + ], + "doc": " Public: Get the last 0-indexed row in the buffer.\n\nReturns a {Number}. " + } + }, + "168": { + "14": { + "name": "lineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 168, + 14 + ], + [ + 175, + 1 + ] + ], + "doc": " Public: Get the text of the line at the given row, without its line ending.\n\nrow - A {Number} representing a 0-indexed row.\n\nReturns a {String}. " + } + }, + "175": { + "15": { + "name": "getLastLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 175, + 15 + ], + [ + 187, + 1 + ] + ], + "doc": " Public: Get the text of the last line of the buffer, without its line\nending.\n\nReturns a {String}. " + } + }, + "187": { + "20": { + "name": "lineEndingForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 187, + 20 + ], + [ + 196, + 1 + ] + ], + "doc": " Public: Get the line ending for the given 0-indexed row.\n\nrow - A {Number} indicating the row.\n\nThe returned newline is represented as a literal string: `'\\n'`, `'\\r'`,\n`'\\r\\n'`, or `''` for the last line of the buffer, which doesn't end in a\nnewline.\n\nReturns a {String}. " + } + }, + "196": { + "20": { + "name": "lineLengthForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 196, + 20 + ], + [ + 204, + 1 + ] + ], + "doc": " Public: Get the length of the line for the given 0-indexed row, without its\nline ending.\n\nrow - A {Number} indicating the row.\n\nReturns a {Number}. " + } + }, + "204": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 204, + 11 + ], + [ + 211, + 1 + ] + ], + "doc": " Public: Replace the entire contents of the buffer with the given text.\n\ntext - A {String}\n\nReturns a {Range} spanning the new buffer contents. " + } + }, + "211": { + "18": { + "name": "setTextViaDiff", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 211, + 18 + ], + [ + 260, + 1 + ] + ], + "doc": " Public: Replace the current buffer contents by applying a diff based on the\ngiven text.\n\ntext - A {String} containing the new buffer contents. " + } + }, + "260": { + "18": { + "name": "setTextInRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range", + "text", + "normalizeLineEndings" + ], + "range": [ + [ + 260, + 18 + ], + [ + 273, + 1 + ] + ], + "doc": " Public: Set the text in the given range.\n\nrange - A {Range}.\ntext - A {String}.\n\nReturns the {Range} of the inserted text. " + } + }, + "273": { + "10": { + "name": "insert", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "text", + "normalizeLineEndings" + ], + "range": [ + [ + 273, + 10 + ], + [ + 281, + 1 + ] + ], + "doc": " Public: Insert text at the given position.\n\nposition - A {Point} representing the insertion location. The position is\n clipped before insertion.\ntext - A {String} representing the text to insert.\n\nReturns the {Range} of the inserted text. " + } + }, + "281": { + "10": { + "name": "append", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "normalizeLineEndings" + ], + "range": [ + [ + 281, + 10 + ], + [ + 289, + 1 + ] + ], + "doc": " Public: Append text to the end of the buffer.\n\ntext - A {String} representing the text text to append.\n\nReturns the {Range} of the inserted text " + } + }, + "289": { + "10": { + "name": "delete", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 289, + 10 + ], + [ + 297, + 1 + ] + ] + } + }, + "297": { + "13": { + "name": "deleteRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 297, + 13 + ], + [ + 309, + 1 + ] + ], + "doc": " Public: Delete the line associated with a specified row.\n\nrow - A {Number} representing the 0-indexed row to delete.\n\nReturns the {Range} of the deleted text. " + } + }, + "309": { + "14": { + "name": "deleteRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 309, + 14 + ], + [ + 337, + 1 + ] + ], + "doc": " Public: Delete the lines associated with the specified row range.\n\nstartRow - A {Number} representing the first row to delete.\nendRow - A {Number} representing the last row to delete, inclusive.\n\nIf the row range is out of bounds, it will be clipped. If the startRow is\ngreater than the end row, they will be reordered.\n\nReturns the {Range} of the deleted text. " + } + }, + "337": { + "14": { + "name": "buildPatch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "oldRange", + "newText", + "normalizeLineEndings" + ], + "range": [ + [ + 337, + 14 + ], + [ + 347, + 1 + ] + ], + "doc": " Private: Builds a {BufferPatch}, which is used to modify the buffer and is also\npushed into the undo history so it can be undone. " + } + }, + "347": { + "14": { + "name": "applyPatch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 347, + 14 + ], + [ + 406, + 1 + ] + ], + "doc": " Private: Applies a {BufferPatch} to the buffer based on its old range and new text.\nAlso applies any {MarkerPatch}es associated with the {BufferPatch}. " + } + }, + "406": { + "18": { + "name": "getTextInRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 406, + 18 + ], + [ + 436, + 1 + ] + ], + "doc": " Public: Get the text in a range.\n\nrange - A {Range}\n\nReturns a {String} " + } + }, + "436": { + "13": { + "name": "clipRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 436, + 13 + ], + [ + 454, + 1 + ] + ], + "doc": " Public: Clip the given range so it starts and ends at valid positions.\n\nFor example, the position [1, 100] is out of bounds if the line at row 1 is\nonly 10 characters long, and it would be clipped to (1, 10).\n\nrange - A {Range} or range-compatible {Array} to clip.\n\nReturns the given {Range} if it is already in bounds, or a new clipped\n{Range} if the given range is out-of-bounds. " + } + }, + "454": { + "16": { + "name": "clipPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 454, + 16 + ], + [ + 471, + 1 + ] + ], + "doc": " Public: Clip the given point so it is at a valid position in the buffer.\n\nFor example, the position (1, 100) is out of bounds if the line at row 1 is\nonly 10 characters long, and it would be clipped to (1, 10)\n\nposition - A {Point} or point-compatible {Array}.\n\nReturns a new {Point} if the given position is invalid, otherwise returns\nthe given position. " + } + }, + "471": { + "20": { + "name": "getFirstPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 471, + 20 + ], + [ + 478, + 1 + ] + ], + "doc": " Public: Get the first position in the buffer, which is always `[0, 0]`.\n\nReturns a {Point}. " + } + }, + "478": { + "18": { + "name": "getEndPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 478, + 18 + ], + [ + 485, + 1 + ] + ], + "doc": " Public: Get the maximal position in the buffer, where new text would be\nappended.\n\nReturns a {Point}. " + } + }, + "485": { + "12": { + "name": "getRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 485, + 12 + ], + [ + 496, + 1 + ] + ], + "doc": " Public: Get the range spanning from `[0, 0]` to {::getEndPosition}.\n\nReturns a {Range}. " + } + }, + "496": { + "15": { + "name": "rangeForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "includeNewline" + ], + "range": [ + [ + 496, + 15 + ], + [ + 515, + 1 + ] + ], + "doc": " Public: Get the range for the given row\n\nrow - A {Number} representing a 0-indexed row.\nincludeNewline - A {Boolean} indicating whether or not to include the\n newline, which results in a range that extends to the start\n of the next line.\n\nReturns a {Range}. " + } + }, + "515": { + "29": { + "name": "characterIndexForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 515, + 29 + ], + [ + 532, + 1 + ] + ], + "doc": " Public: Convert a position in the buffer in row/column coordinates to an\nabsolute character offset, inclusive of line ending characters.\n\nThe position is clipped prior to translating.\n\nposition - A {Point}.\n\nReturns a {Number}. " + } + }, + "532": { + "29": { + "name": "positionForCharacterIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "offset" + ], + "range": [ + [ + 532, + 29 + ], + [ + 545, + 1 + ] + ], + "doc": " Public: Convert an absolute character offset, inclusive of newlines, to a\nposition in the buffer in row/column coordinates.\n\nThe offset is clipped prior to translating.\n\noffset - A {Number}.\n\nReturns a {Point}. " + } + }, + "545": { + "24": { + "name": "getMaxCharacterIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 545, + 24 + ], + [ + 548, + 1 + ] + ], + "doc": " Public: Get the length of the buffer in characters.\n\nReturns a {Number}. " + } + }, + "548": { + "12": { + "name": "loadSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 548, + 12 + ], + [ + 552, + 1 + ] + ], + "doc": "~Private~" + } + }, + "552": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 552, + 8 + ], + [ + 555, + 1 + ] + ], + "doc": "~Private~" + } + }, + "555": { + "17": { + "name": "finishLoading", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 555, + 17 + ], + [ + 565, + 1 + ] + ], + "doc": "~Private~" + } + }, + "565": { + "20": { + "name": "handleTextChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 565, + 20 + ], + [ + 569, + 1 + ] + ], + "doc": "~Private~" + } + }, + "569": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 569, + 11 + ], + [ + 577, + 1 + ] + ], + "doc": "~Private~" + } + }, + "577": { + "11": { + "name": "isAlive", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 577, + 11 + ], + [ + 577, + 27 + ] + ], + "doc": "~Private~" + } + }, + "579": { + "15": { + "name": "isDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 579, + 15 + ], + [ + 579, + 27 + ] + ], + "doc": "~Private~" + } + }, + "581": { + "14": { + "name": "isRetained", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 581, + 14 + ], + [ + 581, + 29 + ] + ], + "doc": "~Private~" + } + }, + "583": { + "10": { + "name": "retain", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 583, + 10 + ], + [ + 587, + 1 + ] + ], + "doc": "~Private~" + } + }, + "587": { + "11": { + "name": "release", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 587, + 11 + ], + [ + 592, + 1 + ] + ], + "doc": "~Private~" + } + }, + "592": { + "19": { + "name": "subscribeToFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 592, + 19 + ], + [ + 624, + 1 + ] + ], + "doc": "~Private~" + } + }, + "624": { + "22": { + "name": "hasMultipleEditors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 624, + 22 + ], + [ + 624, + 37 + ] + ], + "doc": " Private: Identifies if the buffer belongs to multiple editors.\n\nFor example, if the {EditorView} was split.\n\nReturns a {Boolean}. " + } + }, + "629": { + "10": { + "name": "reload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 629, + 10 + ], + [ + 636, + 1 + ] + ], + "doc": " Public: Reload the buffer's contents from disk.\n\nSets the buffer's content to the cached disk contents " + } + }, + "636": { + "32": { + "name": "updateCachedDiskContentsSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 636, + 32 + ], + [ + 640, + 1 + ] + ], + "doc": "Private: Rereads the contents of the file, and stores them in the cache. " + } + }, + "640": { + "28": { + "name": "updateCachedDiskContents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 640, + 28 + ], + [ + 650, + 1 + ] + ], + "doc": "Private: Rereads the contents of the file, and stores them in the cache. " + } + }, + "650": { + "15": { + "name": "getBaseName", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 650, + 15 + ], + [ + 656, + 1 + ] + ], + "doc": " Private: Get the basename of the associated file.\n\nThe basename is the name portion of the file's path, without the containing\ndirectories.\n\nReturns a {String}. " + } + }, + "656": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 656, + 11 + ], + [ + 662, + 1 + ] + ], + "doc": " Pubilc: Get the path of the associated file.\n\nReturns a {String}. " + } + }, + "662": { + "10": { + "name": "getUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 662, + 10 + ], + [ + 668, + 1 + ] + ], + "doc": " Public: Get the path of the associated file.\n\nReturns a {String}. " + } + }, + "668": { + "11": { + "name": "setPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 668, + 11 + ], + [ + 682, + 1 + ] + ], + "doc": " Public: Set the path for the buffer's associated file.\n\nfilePath - A {String} representing the new file path " + } + }, + "682": { + "18": { + "name": "getEofPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 682, + 18 + ], + [ + 687, + 1 + ] + ], + "doc": "Deprecated: Use {::getEndPosition} instead " + } + }, + "687": { + "8": { + "name": "save", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 687, + 8 + ], + [ + 693, + 1 + ] + ], + "doc": "Public: Save the buffer. " + } + }, + "693": { + "10": { + "name": "saveAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 693, + 10 + ], + [ + 710, + 1 + ] + ], + "doc": " Public: Save the buffer at a specific path.\n\nfilePath - The path to save at. " + } + }, + "710": { + "14": { + "name": "isModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 710, + 14 + ], + [ + 724, + 1 + ] + ], + "doc": " Public: Determine if the in-memory contents of the buffer differ from its\ncontents on disk.\n\nIf the buffer is unsaved, always returns `true` unless the buffer is empty.\n\nReturns a {Boolean}. " + } + }, + "724": { + "16": { + "name": "isInConflict", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 724, + 16 + ], + [ + 724, + 27 + ] + ], + "doc": " Public: Determine if the in-memory contents of the buffer conflict with the\non-disk contents of its associated file.\n\nReturns a {Boolean}. " + } + }, + "726": { + "17": { + "name": "destroyMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 726, + 17 + ], + [ + 736, + 1 + ] + ], + "doc": "~Private~" + } + }, + "736": { + "27": { + "name": "matchesInCharacterRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "startIndex", + "endIndex" + ], + "range": [ + [ + 736, + 27 + ], + [ + 774, + 1 + ] + ], + "doc": " Private: Identifies if a character sequence is within a certain range.\n\nregex - The {RegExp} to match.\nstartIndex - A {Number} representing the starting character offset.\nendIndex - A {Number} representing the ending character offset.\n\nReturns an {Array} of matches for the given regex. " + } + }, + "774": { + "8": { + "name": "scan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "iterator" + ], + "range": [ + [ + 774, + 8 + ], + [ + 792, + 1 + ] + ], + "doc": " Public: Scan regular expression matches in the entire buffer, calling the\ngiven iterator function on each match.\n\nIf you're programmatically modifying the results, you may want to try\n{::backwardsScan} to avoid tripping over your own changes.\n\nregex - A {RegExp} to search for.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " + } + }, + "792": { + "17": { + "name": "backwardsScan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "iterator" + ], + "range": [ + [ + 792, + 17 + ], + [ + 804, + 1 + ] + ], + "doc": " Public: Scan regular expression matches in the entire buffer in reverse\norder, calling the given iterator function on each match.\n\nregex - A {RegExp} to search for.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " + } + }, + "804": { + "11": { + "name": "replace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "replacementText" + ], + "range": [ + [ + 804, + 11 + ], + [ + 830, + 1 + ] + ], + "doc": " Public: Replace all regular expression matches in the entire buffer.\n\nregex - A {RegExp} representing the matches to be replaced.\nreplacementText - A {String} representing the text to replace each match.\n\nReturns a {Number} representing the number of replacements made. " + } + }, + "830": { + "15": { + "name": "scanInRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "range", + "iterator", + "reverse" + ], + "range": [ + [ + 830, + 15 + ], + [ + 881, + 1 + ] + ], + "doc": " Public: Scan regular expression matches in a given range , calling the given\niterator function on each match.\n\nregex - A {RegExp} to search for.\nrange - A {Range} in which to search.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " + } + }, + "881": { + "24": { + "name": "backwardsScanInRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "range", + "iterator" + ], + "range": [ + [ + 881, + 24 + ], + [ + 889, + 1 + ] + ], + "doc": " Public: Scan regular expression matches in a given range in reverse order,\ncalling the given iterator function on each match.\n\nregex - A {RegExp} to search for.\nrange - A {Range} in which to search.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " + } + }, + "889": { + "14": { + "name": "isRowBlank", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 889, + 14 + ], + [ + 897, + 1 + ] + ], + "doc": " Public: Determine if the given row contains only whitespace.\n\nrow - A {Number} representing a 0-indexed row.\n\nReturns a {Boolean}. " + } + }, + "897": { + "23": { + "name": "previousNonBlankRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow" + ], + "range": [ + [ + 897, + 23 + ], + [ + 910, + 1 + ] + ], + "doc": " Public: Given a row, find the first preceding row that's not blank.\n\nstartRow - A {Number} identifying the row to start checking at.\n\nReturns a {Number} or `null` if there's no preceding non-blank row. " + } + }, + "910": { + "19": { + "name": "nextNonBlankRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow" + ], + "range": [ + [ + 910, + 19 + ], + [ + 918, + 1 + ] + ], + "doc": " Public: Given a row, find the next row that's not blank.\n\nstartRow - A {Number} identifying the row to start checking at.\n\nReturns a {Number} or `null` if there's no next non-blank row. " + } + }, + "918": { + "16": { + "name": "usesSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 918, + 16 + ], + [ + 926, + 1 + ] + ], + "doc": "Private: Deprecate " + } + }, + "926": { + "10": { + "name": "change", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "oldRange", + "newText", + "options" + ], + "range": [ + [ + 926, + 10 + ], + [ + 930, + 1 + ] + ], + "doc": "Deprecated: Call {::setTextInRange} instead. " + } + }, + "930": { + "32": { + "name": "cancelStoppedChangingTimeout", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 930, + 32 + ], + [ + 933, + 1 + ] + ], + "doc": "~Private~" + } + }, + "933": { + "26": { + "name": "scheduleModifiedEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 933, + 26 + ], + [ + 942, + 1 + ] + ], + "doc": "~Private~" + } + }, + "942": { + "29": { + "name": "emitModifiedStatusChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "modifiedStatus" + ], + "range": [ + [ + 942, + 29 + ], + [ + 947, + 1 + ] + ], + "doc": "~Private~" + } + }, + "947": { + "12": { + "name": "logLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 947, + 12 + ], + [ + 952, + 1 + ] + ], + "doc": "~Private~" + } + }, + "956": { + "8": { + "name": "undo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 956, + 8 + ], + [ + 956, + 25 + ] + ], + "doc": "Public: Undo the last operation. If a transaction is in progress, aborts it. " + } + }, + "959": { + "8": { + "name": "redo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 959, + 8 + ], + [ + 959, + 25 + ] + ], + "doc": "Public: Redo the last operation " + } + }, + "969": { + "12": { + "name": "transact", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 969, + 12 + ], + [ + 969, + 40 + ] + ], + "doc": " Public: Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " + } + }, + "977": { + "20": { + "name": "beginTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 977, + 20 + ], + [ + 977, + 49 + ] + ], + "doc": " Public: Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " + } + }, + "983": { + "21": { + "name": "commitTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 983, + 21 + ], + [ + 983, + 51 + ] + ], + "doc": " Public: Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " + } + }, + "987": { + "20": { + "name": "abortTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 987, + 20 + ], + [ + 987, + 49 + ] + ], + "doc": " Public: Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " + } + }, + "990": { + "18": { + "name": "clearUndoStack", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 990, + 18 + ], + [ + 990, + 45 + ] + ], + "doc": "Public: Clear the undo stack. " + } + }, + "1029": { + "13": { + "name": "markRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range", + "properties" + ], + "range": [ + [ + 1029, + 13 + ], + [ + 1029, + 72 + ] + ], + "doc": " Public: Create a marker with the given range. This marker will maintain\nits logical location as the buffer is changed, so if you mark a particular\nword, the marker will remain over that word even if the word's location in\nthe buffer changes.\n\n* range: A {Range} or range-compatible {Array}\n* properties:\n A hash of key-value pairs to associate with the marker. There are also\n reserved property names that have marker-specific meaning:\n :reversed -\n Creates the marker in a reversed orientation. Defaults to false.\n :persistent -\n Whether to include this marker when serializing the buffer. Defaults\n to true.\n :invalidate -\n Determines the rules by which changes to the buffer *invalidate* the\n marker. Defaults to 'overlap', but can be any of the following\n strategies, in order of fragility:\n * 'never':\n The marker is never marked as invalid. This is a good choice for\n markers representing selections in an editor.\n * 'surround':\n The marker is invalidated by changes that completely surround it.\n * 'overlap':\n The marker is invalidated by changes that surround the start or\n end of the marker. This is the default.\n * 'inside':\n The marker is invalidated by changes that extend into the\n inside of the marker. Changes that end at the marker's start or\n start at the marker's end do not invalidate the marker.\n * 'touch':\n The marker is invalidated by a change that touches the marked\n region in any way, including changes that end at the marker's\n start or start at the marker's end. This is the most fragile\n strategy.\n\nReturns a {Marker}. " + } + }, + "1037": { + "16": { + "name": "markPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "properties" + ], + "range": [ + [ + 1037, + 16 + ], + [ + 1037, + 84 + ] + ], + "doc": " Public: Create a marker at the given position with no tail.\n\n:position - {Point} or point-compatible {Array}\n:properties - This is the same as the `properties` parameter in {::markRange}\n\nReturns a {Marker}. " + } + }, + "1042": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 1042, + 13 + ], + [ + 1042, + 42 + ] + ], + "doc": " Public: Get an existing marker by its id.\n\nReturns a {Marker}. " + } + }, + "1047": { + "14": { + "name": "getMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1047, + 14 + ], + [ + 1047, + 37 + ] + ], + "doc": " Public: Get all existing markers on the buffer.\n\nReturns an {Array} of {Marker}s. " + } + }, + "1069": { + "15": { + "name": "findMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 1069, + 15 + ], + [ + 1069, + 54 + ] + ], + "doc": " Public: Find markers conforming to the given parameters.\n\n:params -\n A hash of key-value pairs constraining the set of returned markers. You\n can query against custom marker properties by listing the desired\n key-value pairs here. In addition, the following keys are reserved and\n have special semantics:\n * 'startPosition': Only include markers that start at the given {Point}.\n * 'endPosition': Only include markers that end at the given {Point}.\n * 'containsPoint': Only include markers that contain the given {Point}, inclusive.\n * 'containsRange': Only include markers that contain the given {Range}, inclusive.\n * 'startRow': Only include markers that start at the given row {Number}.\n * 'endRow': Only include markers that end at the given row {Number}.\n * 'intersectsRow': Only include markers that intersect the given row {Number}.\n\nFinds markers that conform to all of the given parameters. Markers are\nsorted based on their position in the buffer. If two markers start at the\nsame position, the larger marker comes first.\n\nReturns an {Array} of {Marker}s. " + } + }, + "1074": { + "18": { + "name": "getMarkerCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1074, + 18 + ], + [ + 1074, + 45 + ] + ], + "doc": " Public: Get the number of markers in the buffer.\n\nReturns a {Number}. " + } + } + }, + "exports": 68 + } + } + }, + { + "repository": "https://github.com/atom/theorist.git", + "version": "1.0.1", + "files": { + "src/atom.coffee": { + "objects": { + "0": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 0, + 9 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "1": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "2": { + "5": { + "name": "os", + "type": "import", + "range": [ + [ + 2, + 5 + ], + [ + 2, + 16 + ] + ], + "bindingType": "variable", + "module": "os", + "builtin": true + } + }, + "3": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "4": { + "9": { + "name": "remote", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 24 + ] + ], + "bindingType": "variable", + "module": "remote" + } + }, + "5": { + "9": { + "name": "screen", + "type": "import", + "range": [ + [ + 5, + 9 + ], + [ + 5, + 24 + ] + ], + "bindingType": "variable", + "module": "screen" + } + }, + "6": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 6, + 8 + ], + [ + 6, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "8": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 8, + 4 + ], + [ + 8, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "9": { + "1": { + "type": "import", + "range": [ + [ + 9, + 1 + ], + [ + 9, + 10 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecated", + "exportsProperty": "deprecated" + } + }, + "10": { + "1": { + "type": "import", + "range": [ + [ + 10, + 1 + ], + [ + 10, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "11": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 11, + 5 + ], + [ + 11, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "13": { + "1": { + "type": "import", + "range": [ + [ + 13, + 1 + ], + [ + 13, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "14": { + "21": { + "name": "WindowEventHandler", + "type": "import", + "range": [ + [ + 14, + 21 + ], + [ + 14, + 52 + ] + ], + "bindingType": "variable", + "path": "./window-event-handler" + } + }, + "35": { + "0": { + "type": "class", + "name": "Atom", + "bindingType": "exports", + "classProperties": [ + [ + 36, + 12 + ], + [ + 44, + 17 + ], + [ + 48, + 16 + ], + [ + 53, + 14 + ], + [ + 71, + 17 + ], + [ + 89, + 21 + ], + [ + 95, + 22 + ], + [ + 99, + 20 + ], + [ + 109, + 21 + ] + ], + "prototypeProperties": [ + [ + 112, + 31 + ], + [ + 115, + 15 + ], + [ + 123, + 14 + ], + [ + 177, + 31 + ], + [ + 181, + 33 + ], + [ + 184, + 24 + ], + [ + 188, + 20 + ], + [ + 194, + 23 + ], + [ + 211, + 23 + ], + [ + 221, + 21 + ], + [ + 224, + 32 + ], + [ + 229, + 30 + ], + [ + 246, + 27 + ], + [ + 252, + 25 + ], + [ + 259, + 19 + ], + [ + 262, + 22 + ], + [ + 269, + 28 + ], + [ + 281, + 28 + ], + [ + 285, + 27 + ], + [ + 292, + 21 + ], + [ + 320, + 22 + ], + [ + 336, + 14 + ], + [ + 339, + 15 + ], + [ + 353, + 8 + ], + [ + 377, + 11 + ], + [ + 397, + 18 + ], + [ + 400, + 22 + ], + [ + 407, + 16 + ], + [ + 411, + 18 + ], + [ + 415, + 31 + ], + [ + 419, + 10 + ], + [ + 423, + 9 + ], + [ + 428, + 8 + ], + [ + 432, + 8 + ], + [ + 439, + 11 + ], + [ + 446, + 15 + ], + [ + 450, + 10 + ], + [ + 457, + 17 + ], + [ + 464, + 9 + ], + [ + 467, + 8 + ], + [ + 473, + 13 + ], + [ + 477, + 14 + ], + [ + 481, + 20 + ], + [ + 485, + 17 + ], + [ + 490, + 16 + ], + [ + 496, + 14 + ], + [ + 500, + 21 + ], + [ + 506, + 20 + ], + [ + 509, + 12 + ], + [ + 523, + 21 + ], + [ + 526, + 20 + ], + [ + 529, + 22 + ], + [ + 533, + 8 + ], + [ + 537, + 25 + ], + [ + 541, + 25 + ], + [ + 555, + 22 + ] + ], + "doc": " Public: Atom global for dealing with packages, themes, menus, and the window.\n\nAn instance of this class is always available as the `atom` global.\n\n## Useful properties available:\n\n * `atom.clipboard` - A {Clipboard} instance\n * `atom.config` - A {Config} instance\n * `atom.contextMenu` - A {ContextMenuManager} instance\n * `atom.deserializers` - A {DeserializerManager} instance\n * `atom.keymaps` - A {KeymapManager} instance\n * `atom.menu` - A {MenuManager} instance\n * `atom.packages` - A {PackageManager} instance\n * `atom.project` - A {Project} instance\n * `atom.syntax` - A {Syntax} instance\n * `atom.themes` - A {ThemeManager} instance\n * `atom.workspace` - A {Workspace} instance\n * `atom.workspaceView` - A {WorkspaceView} instance ", + "range": [ + [ + 35, + 0 + ], + [ + 567, + 27 + ] + ] + } + }, + "36": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 36, + 12 + ], + [ + 36, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "44": { + "17": { + "name": "loadOrCreate", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 44, + 17 + ], + [ + 48, + 1 + ] + ], + "doc": " Public: Load or create the Atom environment in the given mode.\n\nmode - Pass 'editor' or 'spec' depending on the kind of environment you\n want to build.\n\nReturns an Atom instance, fully initialized " + } + }, + "48": { + "16": { + "name": "deserialize", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 48, + 16 + ], + [ + 53, + 1 + ] + ], + "doc": "Private: Deserializes the Atom environment from a state object " + } + }, + "53": { + "14": { + "name": "loadState", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 53, + 14 + ], + [ + 71, + 1 + ] + ], + "doc": " Private: Loads and returns the serialized state corresponding to this window\nif it exists; otherwise returns undefined. " + } + }, + "71": { + "17": { + "name": "getStatePath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 71, + 17 + ], + [ + 89, + 1 + ] + ], + "doc": " Private: Returns the path where the state for the current window will be\nlocated if it exists. " + } + }, + "89": { + "21": { + "name": "getConfigDirPath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 95, + 1 + ] + ], + "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " + } + }, + "95": { + "22": { + "name": "getStorageDirPath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 95, + 22 + ], + [ + 99, + 1 + ] + ], + "doc": " Private: Get the path to Atom's storage directory.\n\nReturns the absolute path to ~/.atom/storage " + } + }, + "99": { + "20": { + "name": "getLoadSettings", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 99, + 20 + ], + [ + 109, + 1 + ] + ], + "doc": "Private: Returns the load settings hash associated with the current window. " + } + }, + "109": { + "21": { + "name": "getCurrentWindow", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 21 + ], + [ + 112, + 1 + ] + ], + "doc": "~Private~" + } + }, + "112": { + "31": { + "name": "workspaceViewParentSelector", + "type": "primitive", + "range": [ + [ + 112, + 31 + ], + [ + 112, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "115": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 115, + 15 + ], + [ + 123, + 1 + ] + ], + "doc": "Private: Call .loadOrCreate instead " + } + }, + "123": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 123, + 14 + ], + [ + 177, + 1 + ] + ], + "doc": " Public: Sets up the basic services that should be available in all modes\n(both spec and application). Call after this instance has been assigned to\nthe `atom` global. " + } + }, + "177": { + "31": { + "name": "registerRepresentationClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 31 + ], + [ + 181, + 1 + ] + ], + "doc": "Deprecated: Callers should be converted to use atom.deserializers " + } + }, + "181": { + "33": { + "name": "registerRepresentationClasses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 181, + 33 + ], + [ + 184, + 1 + ] + ], + "doc": "Deprecated: Callers should be converted to use atom.deserializers " + } + }, + "184": { + "24": { + "name": "setBodyPlatformClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 184, + 24 + ], + [ + 188, + 1 + ] + ], + "doc": "~Private~" + } + }, + "188": { + "20": { + "name": "getCurrentWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 20 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "23": { + "name": "getWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 194, + 23 + ], + [ + 211, + 1 + ] + ], + "doc": " Public: Get the dimensions of this window.\n\nReturns an object with x, y, width, and height keys. " + } + }, + "211": { + "23": { + "name": "setWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 211, + 23 + ], + [ + 221, + 1 + ] + ], + "doc": " Public: Set the dimensions of the window.\n\nThe window will be centered if either the x or y coordinate is not set\nin the dimensions parameter. If x or y are omitted the window will be\ncentered. If height or width are omitted only the position will be changed.\n\ndimensions - An {Object} with the following keys:\n :x - The new x coordinate.\n :y - The new y coordinate.\n :width - The new width.\n :height - The new height. " + } + }, + "221": { + "21": { + "name": "isValidDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 221, + 21 + ], + [ + 224, + 1 + ] + ], + "doc": " Private: Returns true if the dimensions are useable, false if they should be ignored.\nWork around for https://github.com/atom/atom-shell/issues/473 " + } + }, + "224": { + "32": { + "name": "storeDefaultWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 32 + ], + [ + 229, + 1 + ] + ], + "doc": "~Private~" + } + }, + "229": { + "30": { + "name": "getDefaultWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 229, + 30 + ], + [ + 246, + 1 + ] + ], + "doc": "~Private~" + } + }, + "246": { + "27": { + "name": "restoreWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 246, + 27 + ], + [ + 252, + 1 + ] + ], + "doc": "~Private~" + } + }, + "252": { + "25": { + "name": "storeWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 252, + 25 + ], + [ + 259, + 1 + ] + ], + "doc": "~Private~" + } + }, + "259": { + "19": { + "name": "getLoadSettings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 259, + 19 + ], + [ + 262, + 1 + ] + ], + "doc": "Private: Returns the load settings hash associated with the current window. " + } + }, + "262": { + "22": { + "name": "deserializeProject", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 262, + 22 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "28": { + "name": "deserializeWorkspaceView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 28 + ], + [ + 281, + 1 + ] + ], + "doc": "~Private~" + } + }, + "281": { + "28": { + "name": "deserializePackageStates", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 281, + 28 + ], + [ + 285, + 1 + ] + ], + "doc": "~Private~" + } + }, + "285": { + "27": { + "name": "deserializeEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 285, + 27 + ], + [ + 292, + 1 + ] + ], + "doc": "~Private~" + } + }, + "292": { + "21": { + "name": "startEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 21 + ], + [ + 320, + 1 + ] + ], + "doc": "Private: Call this method when establishing a real application window. " + } + }, + "320": { + "22": { + "name": "unloadEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 320, + 22 + ], + [ + 336, + 1 + ] + ], + "doc": "~Private~" + } + }, + "336": { + "14": { + "name": "loadThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 336, + 14 + ], + [ + 339, + 1 + ] + ], + "doc": "~Private~" + } + }, + "339": { + "15": { + "name": "watchThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 339, + 15 + ], + [ + 353, + 1 + ] + ], + "doc": "~Private~" + } + }, + "353": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 353, + 8 + ], + [ + 377, + 1 + ] + ], + "doc": " Public: Open a new Atom window using the given options.\n\nCalling this method without an options parameter will open a prompt to pick\na file/folder to open in the new window.\n\noptions - An {Object} with the following keys:\n :pathsToOpen - An {Array} of {String} paths to open. " + } + }, + "377": { + "11": { + "name": "confirm", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 377, + 11 + ], + [ + 397, + 1 + ] + ], + "doc": " Public: Open a confirm dialog.\n\n## Example\n\n```coffee\n atom.confirm\n message: 'How you feeling?'\n detailedMessage: 'Be honest.'\n buttons:\n Good: -> window.alert('good to hear')\n Bad: -> window.alert('bummer')\n```\n\noptions - An {Object} with the following keys:\n :message - The {String} message to display.\n :detailedMessage - The {String} detailed message to display.\n :buttons - Either an array of strings or an object where keys are\n button names and the values are callbacks to invoke when\n clicked.\n\nReturns the chosen button index {Number} if the buttons option was an array. " + } + }, + "397": { + "18": { + "name": "showSaveDialog", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 397, + 18 + ], + [ + 400, + 1 + ] + ], + "doc": "~Private~" + } + }, + "400": { + "22": { + "name": "showSaveDialogSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultPath" + ], + "range": [ + [ + 400, + 22 + ], + [ + 407, + 1 + ] + ], + "doc": "~Private~" + } + }, + "407": { + "16": { + "name": "openDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 407, + 16 + ], + [ + 411, + 1 + ] + ], + "doc": "Public: Open the dev tools for the current window. " + } + }, + "411": { + "18": { + "name": "toggleDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 411, + 18 + ], + [ + 415, + 1 + ] + ], + "doc": "Public: Toggle the visibility of the dev tools for the current window. " + } + }, + "415": { + "31": { + "name": "executeJavaScriptInDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "code" + ], + "range": [ + [ + 415, + 31 + ], + [ + 419, + 1 + ] + ], + "doc": "Public: Execute code in dev tools. " + } + }, + "419": { + "10": { + "name": "reload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 419, + 10 + ], + [ + 423, + 1 + ] + ], + "doc": "Public: Reload the current window. " + } + }, + "423": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 423, + 9 + ], + [ + 428, + 1 + ] + ], + "doc": "Public: Focus the current window. " + } + }, + "428": { + "8": { + "name": "show", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 8 + ], + [ + 432, + 1 + ] + ], + "doc": "Public: Show the current window. " + } + }, + "432": { + "8": { + "name": "hide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 432, + 8 + ], + [ + 439, + 1 + ] + ], + "doc": "Public: Hide the current window. " + } + }, + "439": { + "11": { + "name": "setSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width", + "height" + ], + "range": [ + [ + 439, + 11 + ], + [ + 446, + 1 + ] + ], + "doc": " Public: Set the size of current window.\n\nwidth - The {Number} of pixels.\nheight - The {Number} of pixels. " + } + }, + "446": { + "15": { + "name": "setPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "x", + "y" + ], + "range": [ + [ + 446, + 15 + ], + [ + 450, + 1 + ] + ], + "doc": " Public: Set the position of current window.\n\nx - The {Number} of pixels.\ny - The {Number} of pixels. " + } + }, + "450": { + "10": { + "name": "center", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 450, + 10 + ], + [ + 457, + 1 + ] + ], + "doc": "Public: Move current window to the center of the screen. " + } + }, + "457": { + "17": { + "name": "displayWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 457, + 17 + ], + [ + 464, + 1 + ] + ], + "doc": " Private: Schedule the window to be shown and focused on the next tick.\n\nThis is done in a next tick to prevent a white flicker from occurring\nif called synchronously. " + } + }, + "464": { + "9": { + "name": "close", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 464, + 9 + ], + [ + 467, + 1 + ] + ], + "doc": "Public: Close the current window. " + } + }, + "467": { + "8": { + "name": "exit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 467, + 8 + ], + [ + 473, + 1 + ] + ], + "doc": "~Private~" + } + }, + "473": { + "13": { + "name": "inDevMode", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 473, + 13 + ], + [ + 477, + 1 + ] + ], + "doc": "Public: Is the current window in development mode? " + } + }, + "477": { + "14": { + "name": "inSpecMode", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 477, + 14 + ], + [ + 481, + 1 + ] + ], + "doc": "Public: Is the current window running specs? " + } + }, + "481": { + "20": { + "name": "toggleFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 481, + 20 + ], + [ + 485, + 1 + ] + ], + "doc": "Public: Toggle the full screen state of the current window. " + } + }, + "485": { + "17": { + "name": "setFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fullScreen" + ], + "range": [ + [ + 485, + 17 + ], + [ + 490, + 1 + ] + ], + "doc": "Public: Set the full screen state of the current window. " + } + }, + "490": { + "16": { + "name": "isFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 490, + 16 + ], + [ + 496, + 1 + ] + ], + "doc": "Public: Is the current window in full screen mode? " + } + }, + "496": { + "14": { + "name": "getVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 496, + 14 + ], + [ + 500, + 1 + ] + ], + "doc": " Public: Get the version of the Atom application.\n\nReturns the version text {String}. " + } + }, + "500": { + "21": { + "name": "isReleasedVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 500, + 21 + ], + [ + 506, + 1 + ] + ], + "doc": "Public: Determine whether the current version is an official release. " + } + }, + "506": { + "20": { + "name": "getConfigDirPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 506, + 20 + ], + [ + 509, + 1 + ] + ], + "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " + } + }, + "509": { + "12": { + "name": "saveSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 509, + 12 + ], + [ + 523, + 1 + ] + ], + "doc": "~Private~" + } + }, + "523": { + "21": { + "name": "getWindowLoadTime", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 523, + 21 + ], + [ + 526, + 1 + ] + ], + "doc": " Public: Get the time taken to completely load the current window.\n\nThis time include things like loading and activating packages, creating\nDOM elements for the editor, and reading the config.\n\nReturns the number of milliseconds taken to load the window or null\nif the window hasn't finished loading yet. " + } + }, + "526": { + "20": { + "name": "crashMainProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 526, + 20 + ], + [ + 529, + 1 + ] + ], + "doc": "~Private~" + } + }, + "529": { + "22": { + "name": "crashRenderProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 529, + 22 + ], + [ + 533, + 1 + ] + ], + "doc": "~Private~" + } + }, + "533": { + "8": { + "name": "beep", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 533, + 8 + ], + [ + 537, + 1 + ] + ], + "doc": "Public: Visually and audibly trigger a beep. " + } + }, + "537": { + "25": { + "name": "getUserInitScriptPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 537, + 25 + ], + [ + 541, + 1 + ] + ], + "doc": "~Private~" + } + }, + "541": { + "25": { + "name": "requireUserInitScript", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 541, + 25 + ], + [ + 555, + 1 + ] + ] + } + }, + "555": { + "22": { + "name": "requireWithGlobals", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id", + "globals" + ], + "range": [ + [ + 555, + 22 + ], + [ + 567, + 27 + ] + ], + "doc": " Public: Require the module with the given globals.\n\nThe globals will be set on the `window` object and removed after the\nrequire completes.\n\nid - The {String} module name or path.\nglobals - An {Object} to set as globals during require (default: {}) " + } + } + }, + "exports": 35 + }, + "src/browser/application-menu.coffee": { + "objects": { + "0": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "1": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "2": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "10": { + "0": { + "type": "class", + "name": "ApplicationMenu", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 22, + 10 + ], + [ + 35, + 20 + ], + [ + 47, + 23 + ], + [ + 58, + 29 + ], + [ + 63, + 21 + ], + [ + 68, + 22 + ], + [ + 90, + 22 + ], + [ + 102, + 17 + ], + [ + 113, + 21 + ], + [ + 131, + 25 + ] + ], + "doc": " Private: Used to manage the global application menu.\n\nIt's created by {AtomApplication} upon instantiation and used to add, remove\nand maintain the state of all menu items. ", + "range": [ + [ + 10, + 0 + ], + [ + 145, + 18 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 22, + 1 + ] + ] + } + }, + "22": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 22, + 10 + ], + [ + 35, + 1 + ] + ], + "doc": " Public: Updates the entire menu with the given keybindings.\n\ntemplate - The Object which describes the menu to display.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke. " + } + }, + "35": { + "20": { + "name": "flattenMenuItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "menu" + ], + "range": [ + [ + 35, + 20 + ], + [ + 47, + 1 + ] + ], + "doc": " Private: Flattens the given menu and submenu items into an single Array.\n\nmenu - A complete menu configuration object for atom-shell's menu API.\n\nReturns an Array of native menu items. " + } + }, + "47": { + "23": { + "name": "flattenMenuTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 47, + 23 + ], + [ + 58, + 1 + ] + ], + "doc": " Private: Flattens the given menu template into an single Array.\n\ntemplate - An object describing the menu item.\n\nReturns an Array of native menu items. " + } + }, + "58": { + "29": { + "name": "enableWindowSpecificItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "enable" + ], + "range": [ + [ + 58, + 29 + ], + [ + 63, + 1 + ] + ], + "doc": " Public: Used to make all window related menu items are active.\n\nenable - If true enables all window specific items, if false disables all\n window specific items. " + } + }, + "63": { + "21": { + "name": "substituteVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 63, + 21 + ], + [ + 68, + 1 + ] + ], + "doc": "Private: Replaces VERSION with the current version. " + } + }, + "68": { + "22": { + "name": "showUpdateMenuItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 68, + 22 + ], + [ + 90, + 1 + ] + ], + "doc": "Private: Sets the proper visible state the update menu items " + } + }, + "90": { + "22": { + "name": "getDefaultTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 22 + ], + [ + 102, + 1 + ] + ], + "doc": " Private: Default list of menu items.\n\nReturns an Array of menu item Objects. " + } + }, + "102": { + "17": { + "name": "focusedWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 17 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "21": { + "name": "translateTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 113, + 21 + ], + [ + 131, + 1 + ] + ], + "doc": " Private: Combines a menu template with the appropriate keystroke.\n\ntemplate - An Object conforming to atom-shell's menu api but lacking\n accelerator and click properties.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a complete menu configuration object for atom-shell's menu API. " + } + }, + "131": { + "25": { + "name": "acceleratorForCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "keystrokesByCommand" + ], + "range": [ + [ + 131, + 25 + ], + [ + 145, + 18 + ] + ], + "doc": " Private: Determine the accelerator for a given command.\n\ncommand - The name of the command.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a String containing the keystroke in a format that can be interpreted\n by atom shell to provide nice icons where available. " + } + } + }, + "exports": 10 + }, + "src/browser/atom-application.coffee": { + "objects": { + "0": { + "13": { + "name": "AtomWindow", + "type": "import", + "range": [ + [ + 0, + 13 + ], + [ + 0, + 35 + ] + ], + "bindingType": "variable", + "path": "./atom-window" + } + }, + "1": { + "18": { + "name": "ApplicationMenu", + "type": "import", + "range": [ + [ + 1, + 18 + ], + [ + 1, + 45 + ] + ], + "bindingType": "variable", + "path": "./application-menu" + } + }, + "2": { + "22": { + "name": "AtomProtocolHandler", + "type": "import", + "range": [ + [ + 2, + 22 + ], + [ + 2, + 54 + ] + ], + "bindingType": "variable", + "path": "./atom-protocol-handler" + } + }, + "3": { + "20": { + "name": "AutoUpdateManager", + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 50 + ] + ], + "bindingType": "variable", + "path": "./auto-update-manager" + } + }, + "4": { + "16": { + "name": "BrowserWindow", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 39 + ] + ], + "bindingType": "variable", + "module": "browser-window" + } + }, + "5": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "6": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 6, + 6 + ], + [ + 6, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "7": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "8": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 8, + 5 + ], + [ + 8, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "9": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 9, + 6 + ], + [ + 9, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "10": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 10, + 7 + ], + [ + 10, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "11": { + "5": { + "name": "os", + "type": "import", + "range": [ + [ + 11, + 5 + ], + [ + 11, + 16 + ] + ], + "bindingType": "variable", + "module": "os", + "builtin": true + } + }, + "12": { + "6": { + "name": "net", + "type": "import", + "range": [ + [ + 12, + 6 + ], + [ + 12, + 18 + ] + ], + "bindingType": "variable", + "module": "net", + "builtin": true + } + }, + "13": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 13, + 8 + ], + [ + 13, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "14": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 14, + 6 + ], + [ + 14, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "15": { + "1": { + "type": "import", + "range": [ + [ + 15, + 1 + ], + [ + 15, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "16": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 16, + 4 + ], + [ + 16, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "30": { + "0": { + "type": "class", + "name": "AtomApplication", + "bindingType": "exports", + "classProperties": [ + [ + 34, + 9 + ] + ], + "prototypeProperties": [ + [ + 52, + 11 + ], + [ + 53, + 19 + ], + [ + 54, + 23 + ], + [ + 55, + 16 + ], + [ + 56, + 11 + ], + [ + 58, + 8 + ], + [ + 60, + 15 + ], + [ + 83, + 19 + ], + [ + 94, + 16 + ], + [ + 99, + 13 + ], + [ + 110, + 36 + ], + [ + 119, + 20 + ], + [ + 132, + 28 + ], + [ + 136, + 16 + ], + [ + 232, + 15 + ], + [ + 245, + 23 + ], + [ + 254, + 31 + ], + [ + 274, + 19 + ], + [ + 282, + 17 + ], + [ + 287, + 17 + ], + [ + 298, + 13 + ], + [ + 311, + 12 + ], + [ + 337, + 20 + ], + [ + 341, + 24 + ], + [ + 346, + 15 + ], + [ + 364, + 11 + ], + [ + 393, + 12 + ], + [ + 406, + 17 + ], + [ + 415, + 25 + ], + [ + 440, + 17 + ] + ], + "doc": " Private: The application's singleton class.\n\nIt's the entry point into the Atom application and maintains the global state\nof the application.\n\n ", + "range": [ + [ + 30, + 0 + ], + [ + 449, + 50 + ] + ] + } + }, + "34": { + "9": { + "name": "open", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 34, + 9 + ], + [ + 52, + 1 + ] + ], + "doc": "Public: The entry point into the Atom application. " + } + }, + "52": { + "11": { + "name": "windows", + "type": "primitive", + "range": [ + [ + 52, + 11 + ], + [ + 52, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "53": { + "19": { + "name": "applicationMenu", + "type": "primitive", + "range": [ + [ + 53, + 19 + ], + [ + 53, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "54": { + "23": { + "name": "atomProtocolHandler", + "type": "primitive", + "range": [ + [ + 54, + 23 + ], + [ + 54, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "55": { + "16": { + "name": "resourcePath", + "type": "primitive", + "range": [ + [ + 55, + 16 + ], + [ + 55, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "56": { + "11": { + "name": "version", + "type": "primitive", + "range": [ + [ + 56, + 11 + ], + [ + 56, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "58": { + "8": { + "name": "exit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 58, + 8 + ], + [ + 58, + 35 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 60, + 15 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "19": { + "name": "openWithOptions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 83, + 19 + ], + [ + 94, + 1 + ] + ], + "doc": "Private: Opens a new window based on the options provided. " + } + }, + "94": { + "16": { + "name": "removeWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "window" + ], + "range": [ + [ + 94, + 16 + ], + [ + 99, + 1 + ] + ], + "doc": "Public: Removes the {AtomWindow} from the global window list. " + } + }, + "99": { + "13": { + "name": "addWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "window" + ], + "range": [ + [ + 99, + 13 + ], + [ + 110, + 1 + ] + ], + "doc": "Public: Adds the {AtomWindow} to the global window list. " + } + }, + "110": { + "36": { + "name": "listenForArgumentsFromNewProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 36 + ], + [ + 119, + 1 + ] + ], + "doc": " Private: Creates server to listen for additional atom application launches.\n\nYou can run the atom command multiple times, but after the first launch\nthe other launches will just pass their information to this server and then\nclose immediately. " + } + }, + "119": { + "20": { + "name": "deleteSocketFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 119, + 20 + ], + [ + 132, + 1 + ] + ], + "doc": "~Private~" + } + }, + "132": { + "28": { + "name": "setupJavaScriptArguments", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 132, + 28 + ], + [ + 136, + 1 + ] + ], + "doc": "Private: Configures required javascript environment flags. " + } + }, + "136": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 16 + ], + [ + 232, + 1 + ] + ], + "doc": "Private: Registers basic application commands, non-idempotent. " + } + }, + "232": { + "15": { + "name": "sendCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 232, + 15 + ], + [ + 245, + 1 + ] + ], + "doc": " Public: Executes the given command.\n\nIf it isn't handled globally, delegate to the currently focused window.\n\ncommand - The string representing the command.\nargs - The optional arguments to pass along. " + } + }, + "245": { + "23": { + "name": "sendCommandToWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "atomWindow", + "args" + ], + "range": [ + [ + 245, + 23 + ], + [ + 254, + 1 + ] + ], + "doc": " Public: Executes the given command on the given window.\n\ncommand - The string representing the command.\natomWindow - The {AtomWindow} to send the command to.\nargs - The optional arguments to pass along. " + } + }, + "254": { + "31": { + "name": "sendCommandToFirstResponder", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command" + ], + "range": [ + [ + 254, + 31 + ], + [ + 274, + 1 + ] + ], + "doc": " Private: Translates the command into OS X action and sends it to application's first\nresponder. " + } + }, + "274": { + "19": { + "name": "openPathOnEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventName", + "pathToOpen" + ], + "range": [ + [ + 274, + 19 + ], + [ + 282, + 1 + ] + ], + "doc": " Public: Open the given path in the focused window when the event is\ntriggered.\n\nA new window will be created if there is no currently focused window.\n\neventName - The event to listen for.\npathToOpen - The path to open when the event is triggered. " + } + }, + "282": { + "17": { + "name": "windowForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen" + ], + "range": [ + [ + 282, + 17 + ], + [ + 287, + 1 + ] + ], + "doc": "Private: Returns the {AtomWindow} for the given path. " + } + }, + "287": { + "17": { + "name": "focusedWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 287, + 17 + ], + [ + 298, + 1 + ] + ], + "doc": "Public: Returns the currently focused {AtomWindow} or undefined if none. " + } + }, + "298": { + "13": { + "name": "openPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 298, + 13 + ], + [ + 311, + 1 + ] + ], + "doc": " Public: Opens multiple paths, in existing windows if possible.\n\noptions -\n :pathsToOpen - The array of file paths to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " + } + }, + "311": { + "12": { + "name": "openPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 311, + 12 + ], + [ + 337, + 1 + ] + ], + "doc": " Public: Opens a single path, in an existing window if possible.\n\noptions -\n :pathToOpen - The file path to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode.\n :windowDimensions - Object with height and width keys. " + } + }, + "337": { + "20": { + "name": "killAllProcesses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 337, + 20 + ], + [ + 341, + 1 + ] + ], + "doc": "Private: Kill all processes associated with opened windows. " + } + }, + "341": { + "24": { + "name": "killProcessForWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "openedWindow" + ], + "range": [ + [ + 341, + 24 + ], + [ + 346, + 1 + ] + ], + "doc": "Private: Kill process associated with the given opened window. " + } + }, + "346": { + "15": { + "name": "killProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pid" + ], + "range": [ + [ + 346, + 15 + ], + [ + 364, + 1 + ] + ], + "doc": "Private: Kill the process with the given pid. " + } + }, + "364": { + "11": { + "name": "openUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 364, + 11 + ], + [ + 393, + 1 + ] + ], + "doc": " Private: Open an atom:// url.\n\nThe host of the URL being opened is assumed to be the package name\nresponsible for opening the URL. A new window will be created with\nthat package's `urlMain` as the bootstrap script.\n\noptions -\n :urlToOpen - The atom:// url to open.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " + } + }, + "393": { + "12": { + "name": "runSpecs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 393, + 12 + ], + [ + 406, + 1 + ] + ], + "doc": " Private: Opens up a new {AtomWindow} to run specs within.\n\noptions -\n :exitWhenDone - A Boolean that if true, will close the window upon\n completion.\n :resourcePath - The path to include specs from.\n :specPath - The directory to load specs from. " + } + }, + "406": { + "17": { + "name": "runBenchmarks", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 406, + 17 + ], + [ + 415, + 1 + ] + ], + "doc": "~Private~" + } + }, + "415": { + "25": { + "name": "locationForPathToOpen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen" + ], + "range": [ + [ + 415, + 25 + ], + [ + 440, + 1 + ] + ], + "doc": "~Private~" + } + }, + "440": { + "17": { + "name": "promptForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 440, + 17 + ], + [ + 449, + 50 + ] + ], + "doc": " Private: Opens a native dialog to prompt the user for a path.\n\nOnce paths are selected, they're opened in a new or existing {AtomWindow}s.\n\noptions -\n :type - A String which specifies the type of the dialog, could be 'file',\n 'folder' or 'all'. The 'all' is only available on OS X.\n :devMode - A Boolean which controls whether any newly opened windows\n should be in dev mode or not.\n :safeMode - A Boolean which controls whether any newly opened windows\n should be in safe mode or not. " + } + } + }, + "exports": 30 + }, + "src/browser/atom-protocol-handler.coffee": { + "objects": { + "0": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "2": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "3": { + "11": { + "name": "protocol", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "protocol" + } + }, + "10": { + "0": { + "type": "class", + "name": "AtomProtocolHandler", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 21, + 24 + ] + ], + "doc": " Private: Handles requests with 'atom' protocol.\n\nIt's created by {AtomApplication} upon instantiation, and is used to create a\ncustom resource loader by adding the 'atom' custom protocol. ", + "range": [ + [ + 10, + 0 + ], + [ + 27, + 50 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 21, + 1 + ] + ] + } + }, + "21": { + "24": { + "name": "registerAtomProtocol", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 24 + ], + [ + 27, + 50 + ] + ], + "doc": "Private: Creates the 'atom' custom protocol handler. " + } + } + }, + "exports": 10 + }, + "src/browser/atom-window.coffee": { + "objects": { + "0": { + "16": { + "name": "BrowserWindow", + "type": "import", + "range": [ + [ + 0, + 16 + ], + [ + 0, + 39 + ] + ], + "bindingType": "variable", + "module": "browser-window" + } + }, + "1": { + "14": { + "name": "ContextMenu", + "type": "import", + "range": [ + [ + 1, + 14 + ], + [ + 1, + 37 + ] + ], + "bindingType": "variable", + "path": "./context-menu" + } + }, + "2": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "3": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 3, + 9 + ], + [ + 3, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "4": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "6": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 6, + 6 + ], + [ + 6, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "7": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "11": { + "0": { + "type": "class", + "name": "AtomWindow", + "bindingType": "exports", + "classProperties": [ + [ + 14, + 13 + ], + [ + 15, + 25 + ] + ], + "prototypeProperties": [ + [ + 17, + 17 + ], + [ + 18, + 10 + ], + [ + 19, + 10 + ], + [ + 21, + 15 + ], + [ + 56, + 10 + ], + [ + 68, + 18 + ], + [ + 71, + 16 + ], + [ + 86, + 16 + ], + [ + 126, + 12 + ], + [ + 133, + 15 + ], + [ + 147, + 30 + ], + [ + 151, + 17 + ], + [ + 156, + 9 + ], + [ + 158, + 9 + ], + [ + 160, + 12 + ], + [ + 162, + 12 + ], + [ + 164, + 11 + ], + [ + 166, + 23 + ], + [ + 169, + 13 + ], + [ + 171, + 20 + ], + [ + 173, + 16 + ], + [ + 175, + 10 + ], + [ + 177, + 18 + ] + ], + "doc": "~Private~", + "range": [ + [ + 11, + 0 + ], + [ + 177, + 52 + ] + ] + } + }, + "14": { + "13": { + "name": "iconPath", + "type": "function", + "range": [ + [ + 14, + 13 + ], + [ + 14, + 72 + ] + ], + "bindingType": "classProperty" + } + }, + "15": { + "25": { + "name": "includeShellLoadTime", + "type": "primitive", + "range": [ + [ + 15, + 25 + ], + [ + 15, + 28 + ] + ], + "bindingType": "classProperty" + } + }, + "17": { + "17": { + "name": "browserWindow", + "type": "primitive", + "range": [ + [ + 17, + 17 + ], + [ + 17, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "10": { + "name": "loaded", + "type": "primitive", + "range": [ + [ + 18, + 10 + ], + [ + 18, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "10": { + "name": "isSpec", + "type": "primitive", + "range": [ + [ + 19, + 10 + ], + [ + 19, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "settings" + ], + "range": [ + [ + 21, + 15 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "10": { + "name": "getUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "loadSettingsObj" + ], + "range": [ + [ + 56, + 10 + ], + [ + 68, + 1 + ] + ], + "doc": "~Private~" + } + }, + "68": { + "18": { + "name": "getInitialPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 18 + ], + [ + 71, + 1 + ] + ], + "doc": "~Private~" + } + }, + "71": { + "16": { + "name": "containsPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToCheck" + ], + "range": [ + [ + 71, + 16 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 16 + ], + [ + 126, + 1 + ] + ], + "doc": "~Private~" + } + }, + "126": { + "12": { + "name": "openPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen", + "initialLine", + "initialColumn" + ], + "range": [ + [ + 126, + 12 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "15": { + "name": "sendCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 133, + 15 + ], + [ + 147, + 1 + ] + ], + "doc": "~Private~" + } + }, + "147": { + "30": { + "name": "sendCommandToBrowserWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 147, + 30 + ], + [ + 151, + 1 + ] + ], + "doc": "~Private~" + } + }, + "151": { + "17": { + "name": "getDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 151, + 17 + ], + [ + 156, + 1 + ] + ], + "doc": "~Private~" + } + }, + "156": { + "9": { + "name": "close", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 156, + 9 + ], + [ + 156, + 33 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 9 + ], + [ + 158, + 33 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "12": { + "name": "minimize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 160, + 12 + ], + [ + 160, + 39 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "12": { + "name": "maximize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 12 + ], + [ + 162, + 39 + ] + ], + "doc": "~Private~" + } + }, + "164": { + "11": { + "name": "restore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 164, + 11 + ], + [ + 164, + 37 + ] + ], + "doc": "~Private~" + } + }, + "166": { + "23": { + "name": "handlesAtomCommands", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 166, + 23 + ], + [ + 169, + 1 + ] + ], + "doc": "~Private~" + } + }, + "169": { + "13": { + "name": "isFocused", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 169, + 13 + ], + [ + 169, + 41 + ] + ], + "doc": "~Private~" + } + }, + "171": { + "20": { + "name": "isWebViewFocused", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 20 + ], + [ + 171, + 55 + ] + ], + "doc": "~Private~" + } + }, + "173": { + "16": { + "name": "isSpecWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 173, + 16 + ], + [ + 173, + 25 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "10": { + "name": "reload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 175, + 10 + ], + [ + 175, + 36 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "18": { + "name": "toggleDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 18 + ], + [ + 177, + 51 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 11 + }, + "src/browser/auto-update-manager.coffee": { + "objects": { + "0": { + "8": { + "name": "https", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 22 + ] + ], + "bindingType": "variable", + "module": "https", + "builtin": true + } + }, + "1": { + "14": { + "name": "autoUpdater", + "type": "import", + "range": [ + [ + 1, + 14 + ], + [ + 1, + 35 + ] + ], + "bindingType": "variable", + "module": "auto-updater" + } + }, + "2": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "6": { + "11": { + "name": "'idle'", + "type": "primitive", + "range": [ + [ + 6, + 11 + ], + [ + 6, + 16 + ] + ] + } + }, + "7": { + "15": { + "name": "'checking'", + "type": "primitive", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 24 + ] + ] + } + }, + "8": { + "18": { + "name": "'downloading'", + "type": "primitive", + "range": [ + [ + 8, + 18 + ], + [ + 8, + 30 + ] + ] + } + }, + "9": { + "23": { + "name": "'update-available'", + "type": "primitive", + "range": [ + [ + 9, + 23 + ], + [ + 9, + 40 + ] + ] + } + }, + "10": { + "26": { + "name": "'no-update-available'", + "type": "primitive", + "range": [ + [ + 10, + 26 + ], + [ + 10, + 46 + ] + ] + } + }, + "11": { + "12": { + "name": "'error'", + "type": "primitive", + "range": [ + [ + 11, + 12 + ], + [ + 11, + 18 + ] + ] + } + }, + "14": { + "0": { + "type": "class", + "name": "AutoUpdateManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 15 + ], + [ + 48, + 23 + ], + [ + 63, + 28 + ], + [ + 68, + 12 + ], + [ + 73, + 12 + ], + [ + 76, + 9 + ], + [ + 83, + 11 + ], + [ + 86, + 24 + ], + [ + 90, + 17 + ], + [ + 94, + 14 + ] + ], + "doc": "~Private~", + "range": [ + [ + 14, + 0 + ], + [ + 95, + 34 + ] + ] + } + }, + "17": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 17, + 15 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "23": { + "name": "checkForUpdatesShim", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 23 + ], + [ + 63, + 1 + ] + ], + "doc": "Private: Windows doesn't have an auto-updater, so use this method to shim the events. " + } + }, + "63": { + "28": { + "name": "emitUpdateAvailableEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "windows" + ], + "range": [ + [ + 63, + 28 + ], + [ + 68, + 1 + ] + ], + "doc": "~Private~" + } + }, + "68": { + "12": { + "name": "setState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 68, + 12 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "12": { + "name": "getState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 12 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "9": { + "name": "check", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 76, + 9 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "11": { + "name": "install", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 83, + 11 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "24": { + "name": "onUpdateNotAvailable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 24 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "17": { + "name": "onUpdateError", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event", + "message" + ], + "range": [ + [ + 90, + 17 + ], + [ + 94, + 1 + ] + ], + "doc": "~Private~" + } + }, + "94": { + "14": { + "name": "getWindows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 14 + ], + [ + 95, + 34 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 14 + }, + "src/browser/context-menu.coffee": { + "objects": { + "0": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "3": { + "0": { + "type": "class", + "name": "ContextMenu", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 4, + 15 + ], + [ + 12, + 23 + ] + ], + "doc": "~Private~", + "range": [ + [ + 3, + 0 + ], + [ + 23, + 10 + ] + ] + } + }, + "4": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + null + ], + "range": [ + [ + 4, + 15 + ], + [ + 12, + 1 + ] + ] + } + }, + "12": { + "23": { + "name": "createClickHandlers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 12, + 23 + ], + [ + 23, + 10 + ] + ], + "doc": " Private: It's necessary to build the event handlers in this process, otherwise\nclosures are drug across processes and failed to be garbage collected\nappropriately. " + } + } + }, + "exports": 3 + }, + "src/browser/main.coffee": { + "objects": { + "0": { + "24": { + "name": "global.shellStartTime", + "type": "function", + "range": [ + [ + 0, + 24 + ], + [ + 0, + 33 + ] + ] + } + }, + "2": { + "16": { + "name": "crashReporter", + "type": "import", + "range": [ + [ + 2, + 16 + ], + [ + 2, + 39 + ] + ], + "bindingType": "variable", + "module": "crash-reporter" + } + }, + "3": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 3, + 6 + ], + [ + 3, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "6": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 6, + 7 + ], + [ + 6, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "7": { + "11": { + "name": "optimist", + "type": "import", + "range": [ + [ + 7, + 11 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "optimist" + } + }, + "8": { + "8": { + "name": "nslog", + "type": "import", + "range": [ + [ + 8, + 8 + ], + [ + 8, + 22 + ] + ], + "bindingType": "variable", + "module": "nslog" + } + }, + "9": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 9, + 9 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "11": { + "14": { + "name": "nslog", + "type": "primitive", + "range": [ + [ + 11, + 14 + ], + [ + 11, + 18 + ] + ] + } + }, + "17": { + "8": { + "name": "start", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 8 + ], + [ + 51, + 0 + ] + ], + "doc": "~Private~" + } + }, + "54": { + "25": { + "name": "global.devResourcePath", + "type": "function", + "range": [ + [ + 54, + 25 + ], + [ + 54, + 62 + ] + ] + } + }, + "56": { + "21": { + "name": "setupCrashReporter", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 21 + ], + [ + 58, + 0 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "19": { + "name": "parseCommandLine", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 19 + ], + [ + 110, + 0 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": {} + }, + "src/buffered-node-process.coffee": { + "objects": { + "0": { + "18": { + "name": "BufferedProcess", + "type": "import", + "range": [ + [ + 0, + 18 + ], + [ + 0, + 45 + ] + ], + "bindingType": "variable", + "path": "./buffered-process" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "14": { + "0": { + "type": "class", + "name": "BufferedNodeProcess", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 36, + 15 + ] + ], + "doc": " Public: Like {BufferedProcess}, but accepts a Node script as the command\nto run.\n\nThis is necessary on Windows since it doesn't support shebang `#!` lines.\n\n## Requiring in packages\n\n```coffee\n{BufferedNodeProcess} = require 'atom'\n``` ", + "range": [ + [ + 14, + 0 + ], + [ + 50, + 63 + ] + ] + } + }, + "36": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 36, + 15 + ], + [ + 50, + 63 + ] + ], + "doc": " Public: Runs the given Node script by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} path to the JavaScript script to execute.\n :args - The {Array} of arguments to pass to the script (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " + } + } + }, + "exports": 14 + }, + "src/buffered-process.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "15": { + "name": "ChildProcess", + "type": "import", + "range": [ + [ + 1, + 15 + ], + [ + 1, + 37 + ] + ], + "bindingType": "variable", + "module": "child_process", + "builtin": true + } + }, + "18": { + "0": { + "type": "class", + "name": "BufferedProcess", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 40, + 15 + ], + [ + 99, + 16 + ], + [ + 117, + 8 + ] + ], + "doc": " Public: A wrapper which provides standard error/output line buffering for\nNode's ChildProcess.\n\n## Requiring in packages\n\n```coffee\n{BufferedProcess} = require 'atom'\n\ncommand = 'ps'\nargs = ['-ef']\nstdout = (output) -> console.log(output)\nexit = (code) -> console.log(\"ps -ef exited with #{code}\")\nprocess = new BufferedProcess({command, args, stdout, exit})\n``` ", + "range": [ + [ + 18, + 0 + ], + [ + 120, + 19 + ] + ] + } + }, + "40": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 40, + 15 + ], + [ + 99, + 1 + ] + ], + "doc": " Public: Runs the given command by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} command to execute.\n :args - The {Array} of arguments to pass to the command (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " + } + }, + "99": { + "16": { + "name": "bufferStream", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stream", + "onLines", + "onDone" + ], + "range": [ + [ + 99, + 16 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: Helper method to pass data line by line.\n\nstream - The Stream to read from.\nonLines - The callback to call with each line of data.\nonDone - The callback to call when the stream has closed. " + } + }, + "117": { + "8": { + "name": "kill", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 8 + ], + [ + 120, + 19 + ] + ], + "doc": "Public: Terminate the process. " + } + } + }, + "exports": 18 + }, + "src/clipboard.coffee": { + "objects": { + "0": { + "12": { + "name": "clipboard", + "type": "import", + "range": [ + [ + 0, + 12 + ], + [ + 0, + 30 + ] + ], + "bindingType": "variable", + "module": "clipboard" + } + }, + "1": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 1, + 9 + ], + [ + 1, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "7": { + "0": { + "type": "class", + "name": "Clipboard", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 8, + 12 + ], + [ + 9, + 24 + ], + [ + 16, + 7 + ], + [ + 26, + 9 + ], + [ + 34, + 8 + ], + [ + 43, + 20 + ] + ], + "doc": " Public: Represents the clipboard used for copying and pasting in Atom.\n\nAn instance of this class is always available as the `atom.clipboard` global. ", + "range": [ + [ + 7, + 0 + ], + [ + 48, + 12 + ] + ] + } + }, + "8": { + "12": { + "name": "metadata", + "type": "primitive", + "range": [ + [ + 8, + 12 + ], + [ + 8, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "24": { + "name": "signatureForMetadata", + "type": "primitive", + "range": [ + [ + 9, + 24 + ], + [ + 9, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "7": { + "name": "md5", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 16, + 7 + ], + [ + 26, + 1 + ] + ], + "doc": " Private: Creates an `md5` hash of some text.\n\ntext - A {String} to hash.\n\nReturns a hashed {String}. " + } + }, + "26": { + "9": { + "name": "write", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "metadata" + ], + "range": [ + [ + 26, + 9 + ], + [ + 34, + 1 + ] + ], + "doc": " Public: Write the given text to the clipboard.\n\nThe metadata associated with the text is available by calling\n{::readWithMetadata}.\n\ntext - The {String} to store.\nmetadata - The additional info to associate with the text. " + } + }, + "34": { + "8": { + "name": "read", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 8 + ], + [ + 43, + 1 + ] + ], + "doc": " Public: Read the text from the clipboard.\n\nReturns a {String}. " + } + }, + "43": { + "20": { + "name": "readWithMetadata", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 20 + ], + [ + 48, + 12 + ] + ], + "doc": " Public: Read the text from the clipboard and return both the text and the\nassociated metadata.\n\nReturns an {Object} with the following keys:\n :text - The {String} clipboard text.\n :metadata - The metadata stored by an earlier call to {::write}. " + } + } + }, + "exports": 7 + }, + "src/coffee-cache.coffee": { + "objects": { + "0": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 0, + 9 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "3": { + "15": { + "name": "CoffeeScript", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 37 + ] + ], + "bindingType": "variable", + "module": "coffee-script" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "8": { + "17": { + "name": "coffeeCacheDir", + "type": "function", + "range": [ + [ + 8, + 17 + ], + [ + 8, + 45 + ] + ] + } + }, + "11": { + "15": { + "name": "getCachePath", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "coffee" + ], + "range": [ + [ + 11, + 15 + ], + [ + 14, + 0 + ] + ], + "doc": "~Private~" + } + }, + "15": { + "22": { + "name": "getCachedJavaScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "cachePath" + ], + "range": [ + [ + 15, + 22 + ], + [ + 19, + 0 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "18": { + "name": "convertFilePath", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 20, + 18 + ], + [ + 24, + 0 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "22": { + "name": "compileCoffeeScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "coffee", + "filePath", + "cachePath" + ], + "range": [ + [ + 25, + 22 + ], + [ + 33, + 0 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "22": { + "name": "requireCoffeeScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "module", + "filePath" + ], + "range": [ + [ + 34, + 22 + ], + [ + 39, + 0 + ] + ] + } + }, + "41": { + "12": { + "name": "cacheDir", + "type": "primitive", + "range": [ + [ + 41, + 12 + ], + [ + 41, + 19 + ] + ] + } + }, + "42": { + "12": { + "name": "register", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 12 + ], + [ + 46, + 6 + ] + ], + "doc": null + } + } + }, + "exports": 41 + }, + "src/command-installer.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 22 + ] + ], + "bindingType": "variable", + "module": "async" + } + }, + "3": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 3, + 5 + ], + [ + 3, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "4": { + "9": { + "name": "mkdirp", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 24 + ] + ], + "bindingType": "variable", + "module": "mkdirp" + } + }, + "5": { + "8": { + "name": "runas", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "module": "runas" + } + }, + "7": { + "17": { + "name": "symlinkCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "sourcePath", + "destinationPath", + "callback" + ], + "range": [ + [ + 7, + 17 + ], + [ + 17, + 0 + ] + ], + "doc": "~Private~" + } + }, + "18": { + "34": { + "name": "symlinkCommandWithPrivilegeSync", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "sourcePath", + "destinationPath" + ], + "range": [ + [ + 18, + 34 + ], + [ + 27, + 0 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "23": { + "name": "getInstallDirectory", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 23 + ], + [ + 32, + 1 + ] + ], + "doc": null + } + }, + "32": { + "11": { + "name": "install", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "commandPath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 32, + 11 + ], + [ + 52, + 1 + ] + ], + "doc": null + } + }, + "52": { + "22": { + "name": "installAtomCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "resourcePath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 52, + 22 + ], + [ + 56, + 1 + ] + ], + "doc": null + } + }, + "56": { + "21": { + "name": "installApmCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "resourcePath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 56, + 21 + ], + [ + 58, + 51 + ] + ], + "doc": null + } + } + }, + "exports": 29 + }, + "src/config.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "3": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "4": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "5": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "module": "async" + } + }, + "6": { + "14": { + "name": "pathWatcher", + "type": "import", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 34 + ] + ], + "bindingType": "variable", + "module": "pathwatcher" + } + }, + "25": { + "0": { + "type": "class", + "name": "Config", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 36, + 29 + ], + [ + 52, + 8 + ], + [ + 57, + 18 + ], + [ + 72, + 21 + ], + [ + 76, + 23 + ], + [ + 80, + 15 + ], + [ + 91, + 21 + ], + [ + 95, + 15 + ], + [ + 104, + 7 + ], + [ + 114, + 10 + ], + [ + 125, + 18 + ], + [ + 136, + 7 + ], + [ + 152, + 10 + ], + [ + 160, + 18 + ], + [ + 168, + 14 + ], + [ + 178, + 13 + ], + [ + 187, + 17 + ], + [ + 199, + 20 + ], + [ + 211, + 19 + ], + [ + 231, + 11 + ], + [ + 253, + 13 + ], + [ + 256, + 10 + ], + [ + 261, + 8 + ] + ], + "doc": " Public: Used to access all of Atom's configuration details.\n\nAn instance of this class is always available as the `atom.config` global.\n\n## Best practices\n\n* Create your own root keypath using your package's name.\n* Don't depend on (or write to) configuration keys outside of your keypath.\n\n## Example\n\n```coffeescript\natom.config.set('my-package.key', 'value')\natom.config.observe 'my-package.key', ->\n console.log 'My configuration changed:', atom.config.get('my-package.key')\n``` ", + "range": [ + [ + 25, + 0 + ], + [ + 262, + 50 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 29, + 15 + ], + [ + 36, + 1 + ] + ], + "doc": "Private: Created during initialization, available as `atom.config` " + } + }, + "36": { + "29": { + "name": "initializeConfigDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "done" + ], + "range": [ + [ + 36, + 29 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 8 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "18": { + "name": "loadUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 18 + ], + [ + 72, + 1 + ] + ], + "doc": "~Private~" + } + }, + "72": { + "21": { + "name": "observeUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 72, + 21 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "23": { + "name": "unobserveUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 23 + ], + [ + 80, + 1 + ] + ], + "doc": "~Private~" + } + }, + "80": { + "15": { + "name": "setDefaults", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "defaults" + ], + "range": [ + [ + 80, + 15 + ], + [ + 91, + 1 + ] + ], + "doc": "~Private~" + } + }, + "91": { + "21": { + "name": "getUserConfigPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 21 + ], + [ + 95, + 1 + ] + ], + "doc": "Public: Get the {String} path to the config file being used. " + } + }, + "95": { + "15": { + "name": "getSettings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 95, + 15 + ], + [ + 104, + 1 + ] + ], + "doc": "Public: Returns a new {Object} containing all of settings and defaults. " + } + }, + "104": { + "7": { + "name": "get", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 104, + 7 + ], + [ + 114, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key.\n\nkeyPath - The {String} name of the key to retrieve.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `null` if the key doesn't exist in either. " + } + }, + "114": { + "10": { + "name": "getInt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 114, + 10 + ], + [ + 125, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key as an integer.\n\nkeyPath - The {String} name of the key to retrieve\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `NaN` if the key doesn't exist in either. " + } + }, + "125": { + "18": { + "name": "getPositiveInt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "defaultValue" + ], + "range": [ + [ + 125, + 18 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key as a positive integer.\n\nkeyPath - The {String} name of the key to retrieve\ndefaultValue - The integer {Number} to fall back to if the value isn't\n positive, defaults to 0.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `defaultValue` if the key value isn't greater than zero. " + } + }, + "136": { + "7": { + "name": "set", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 136, + 7 + ], + [ + 152, + 1 + ] + ], + "doc": " Public: Sets the value for a configuration setting.\n\nThis value is stored in Atom's internal configuration file.\n\nkeyPath - The {String} name of the key.\nvalue - The value of the setting.\n\nReturns the `value`. " + } + }, + "152": { + "10": { + "name": "toggle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 152, + 10 + ], + [ + 160, + 1 + ] + ], + "doc": " Public: Toggle the value at the key path.\n\nThe new value will be `true` if the value is currently falsy and will be\n`false` if the value is currently truthy.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " + } + }, + "160": { + "18": { + "name": "restoreDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 160, + 18 + ], + [ + 168, + 1 + ] + ], + "doc": " Public: Restore the key path to its default value.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " + } + }, + "168": { + "14": { + "name": "getDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 168, + 14 + ], + [ + 178, + 1 + ] + ], + "doc": " Public: Get the default value of the key path.\n\nkeyPath - The {String} name of the key.\n\nReturns the default value. " + } + }, + "178": { + "13": { + "name": "isDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 178, + 13 + ], + [ + 187, + 1 + ] + ], + "doc": " Public: Is the key path value its default value?\n\nkeyPath - The {String} name of the key.\n\nReturns a {Boolean}, `true` if the current value is the default, `false`\notherwise. " + } + }, + "187": { + "17": { + "name": "pushAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 187, + 17 + ], + [ + 199, + 1 + ] + ], + "doc": " Public: Push the value to the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to push to the array.\n\nReturns the new array length {Number} of the setting. " + } + }, + "199": { + "20": { + "name": "unshiftAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 199, + 20 + ], + [ + 211, + 1 + ] + ], + "doc": " Public: Add the value to the beginning of the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to shift onto the array.\n\nReturns the new array length {Number} of the setting. " + } + }, + "211": { + "19": { + "name": "removeAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 211, + 19 + ], + [ + 231, + 1 + ] + ], + "doc": " Public: Remove the value from the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to remove from the array.\n\nReturns the new array value of the setting. " + } + }, + "231": { + "11": { + "name": "observe", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "options", + "callback" + ], + "range": [ + [ + 231, + 11 + ], + [ + 253, + 1 + ] + ], + "doc": " Public: Establishes an event listener for a given key.\n\n`callback` is fired whenever the value of the key is changed and will\n be fired immediately unless the `callNow` option is `false`.\n\nkeyPath - The {String} name of the key to observe\noptions - An optional {Object} containing the `callNow` key.\ncallback - The {Function} to call when the value of the key changes.\n The first argument will be the new value of the key and the\n  second argument will be an {Object} with a `previous` property\n that is the prior value of the key.\n\nReturns an {Object} with the following keys:\n :off - A {Function} that unobserves the `keyPath` when called. " + } + }, + "253": { + "13": { + "name": "unobserve", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 253, + 13 + ], + [ + 256, + 1 + ] + ], + "doc": " Public: Unobserve all callbacks on a given key.\n\nkeyPath - The {String} name of the key to unobserve. " + } + }, + "256": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 10 + ], + [ + 261, + 1 + ] + ], + "doc": "~Private~" + } + }, + "261": { + "8": { + "name": "save", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 8 + ], + [ + 262, + 50 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 25 + }, + "src/context-menu-manager.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "9": { + "name": "remote", + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 24 + ] + ], + "bindingType": "variable", + "module": "remote" + } + }, + "10": { + "0": { + "type": "class", + "name": "ContextMenuManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 33, + 7 + ], + [ + 45, + 17 + ], + [ + 60, + 17 + ], + [ + 66, + 25 + ], + [ + 82, + 38 + ], + [ + 91, + 34 + ], + [ + 105, + 24 + ], + [ + 111, + 16 + ] + ], + "doc": " Public: Provides a registry for commands that you'd like to appear in the\ncontext menu.\n\nAn instance of this class is always available as the `atom.contextMenu`\nglobal. ", + "range": [ + [ + 10, + 0 + ], + [ + 116, + 64 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 33, + 1 + ] + ] + } + }, + "33": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "object", + null + ], + "range": [ + [ + 33, + 7 + ], + [ + 45, + 1 + ] + ], + "doc": " Public: Creates menu definitions from the object specified by the menu\ncson API.\n\nname - The path of the file that contains the menu definitions.\nobject - The 'context-menu' object specified in the menu cson API.\noptions - An {Object} with the following keys:\n :devMode - Determines whether the entries should only be shown when\n the window is in dev mode.\n\nReturns nothing. " + } + }, + "45": { + "17": { + "name": "buildMenuItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "label", + "command" + ], + "range": [ + [ + 45, + 17 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "17": { + "name": "addBySelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "definition", + null + ], + "range": [ + [ + 60, + 17 + ], + [ + 66, + 1 + ] + ], + "doc": " Private: Registers a command to be displayed when the relevant item is right\nclicked.\n\nselector - The css selector for the active element which should include\n the given command in its context menu.\ndefinition - The object containing keys which match the menu template API.\noptions - An {Object} with the following keys:\n :devMode - Indicates whether this command should only appear while the\n editor is in dev mode. " + } + }, + "66": { + "25": { + "name": "definitionsForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element", + null + ], + "range": [ + [ + 66, + 25 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Returns definitions which match the element and devMode. " + } + }, + "82": { + "38": { + "name": "menuTemplateForMostSpecificElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element", + null + ], + "range": [ + [ + 82, + 38 + ], + [ + 91, + 1 + ] + ], + "doc": " Private: Used to generate the context menu for a specific element and it's\nparents.\n\nThe menu items are sorted such that menu items that match closest to the\nactive element are listed first. The further down the list you go, the higher\nup the ancestor hierarchy they match.\n\nelement - The DOM element to generate the menu template for. " + } + }, + "91": { + "34": { + "name": "combinedMenuTemplateForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 91, + 34 + ], + [ + 105, + 1 + ] + ], + "doc": " Private: Returns a menu template for both normal entries as well as\ndevelopment mode entries. " + } + }, + "105": { + "24": { + "name": "executeBuildHandlers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event", + "menuTemplate" + ], + "range": [ + [ + 105, + 24 + ], + [ + 111, + 1 + ] + ], + "doc": " Private: Executes `executeAtBuild` if defined for each menu item with\nthe provided event and then removes the `executeAtBuild` property from\nthe menu item.\n\nThis is useful for commands that need to provide data about the event\nto the command. " + } + }, + "111": { + "16": { + "name": "showForEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 111, + 16 + ], + [ + 116, + 64 + ] + ], + "doc": "Public: Request a context menu to be displayed. " + } + } + }, + "exports": 10 + }, + "src/cursor-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "18": { + "name": "CursorComponent", + "type": "function", + "range": [ + [ + 5, + 18 + ], + [ + 17, + 79 + ] + ] + } + }, + "6": { + "15": { + "name": "'CursorComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 31 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 16, + 1 + ] + ], + "doc": null + } + }, + "16": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 16, + 25 + ], + [ + 17, + 79 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/cursor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "4": { + "0": { + "type": "class", + "name": "CursorView", + "bindingType": "exports", + "classProperties": [ + [ + 5, + 12 + ], + [ + 8, + 16 + ], + [ + 10, + 17 + ], + [ + 13, + 18 + ], + [ + 19, + 17 + ] + ], + "prototypeProperties": [ + [ + 24, + 12 + ], + [ + 25, + 11 + ], + [ + 26, + 15 + ], + [ + 27, + 16 + ], + [ + 28, + 23 + ], + [ + 30, + 14 + ], + [ + 44, + 16 + ], + [ + 48, + 17 + ], + [ + 65, + 12 + ], + [ + 68, + 19 + ], + [ + 71, + 19 + ], + [ + 74, + 20 + ], + [ + 77, + 14 + ], + [ + 86, + 16 + ], + [ + 90, + 17 + ], + [ + 94, + 17 + ], + [ + 98, + 21 + ], + [ + 101, + 21 + ], + [ + 104, + 30 + ], + [ + 109, + 24 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 112, + 31 + ] + ] + } + }, + "5": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 12 + ], + [ + 8, + 1 + ] + ] + } + }, + "8": { + "16": { + "name": "blinkPeriod", + "type": "primitive", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 18 + ] + ], + "bindingType": "classProperty" + } + }, + "10": { + "17": { + "name": "blinkCursors", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 17 + ], + [ + 13, + 1 + ] + ], + "doc": "~Private~" + } + }, + "13": { + "18": { + "name": "startBlinking", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 13, + 18 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "17": { + "name": "stopBlinking", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 19, + 17 + ], + [ + 24, + 1 + ] + ], + "doc": "~Private~" + } + }, + "24": { + "12": { + "name": "blinking", + "type": "primitive", + "range": [ + [ + 24, + 12 + ], + [ + 24, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "25": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 25, + 11 + ], + [ + 25, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "26": { + "15": { + "name": "needsUpdate", + "type": "primitive", + "range": [ + [ + 26, + 15 + ], + [ + 26, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "27": { + "16": { + "name": "needsRemoval", + "type": "primitive", + "range": [ + [ + 27, + 16 + ], + [ + 27, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "28": { + "23": { + "name": "shouldPauseBlinking", + "type": "primitive", + "range": [ + [ + 28, + 23 + ], + [ + 28, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "30": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 30, + 14 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 16 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 17 + ], + [ + 65, + 1 + ] + ], + "doc": "~Private~" + } + }, + "65": { + "12": { + "name": "isHidden", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 65, + 12 + ], + [ + 68, + 1 + ] + ], + "doc": "Private: Override for speed. The base function checks the computedStyle " + } + }, + "68": { + "19": { + "name": "needsAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 19 + ], + [ + 71, + 1 + ] + ], + "doc": "~Private~" + } + }, + "71": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 71, + 19 + ], + [ + 74, + 1 + ] + ], + "doc": "~Private~" + } + }, + "74": { + "20": { + "name": "getPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 20 + ], + [ + 77, + 1 + ] + ], + "doc": "~Private~" + } + }, + "77": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 77, + 14 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "16": { + "name": "stopBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 16 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "17": { + "name": "startBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 17 + ], + [ + 94, + 1 + ] + ], + "doc": "~Private~" + } + }, + "94": { + "17": { + "name": "resetBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 17 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "21": { + "name": "getBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 21 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "21": { + "name": "getScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 21 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "30": { + "name": "removeIdleClassTemporarily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 30 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "24": { + "name": "resetCursorAnimation", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 24 + ], + [ + 112, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/cursor.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "10": { + "0": { + "type": "class", + "name": "Cursor", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 18 + ], + [ + 12, + 18 + ], + [ + 13, + 14 + ], + [ + 14, + 11 + ], + [ + 15, + 19 + ], + [ + 18, + 15 + ], + [ + 49, + 11 + ], + [ + 52, + 18 + ], + [ + 60, + 16 + ], + [ + 70, + 21 + ], + [ + 75, + 21 + ], + [ + 78, + 18 + ], + [ + 89, + 21 + ], + [ + 94, + 21 + ], + [ + 97, + 14 + ], + [ + 101, + 20 + ], + [ + 105, + 14 + ], + [ + 112, + 13 + ], + [ + 122, + 14 + ], + [ + 136, + 16 + ], + [ + 145, + 28 + ], + [ + 158, + 27 + ], + [ + 170, + 16 + ], + [ + 176, + 19 + ], + [ + 180, + 18 + ], + [ + 184, + 16 + ], + [ + 188, + 19 + ], + [ + 192, + 16 + ], + [ + 196, + 19 + ], + [ + 201, + 24 + ], + [ + 205, + 10 + ], + [ + 217, + 12 + ], + [ + 233, + 12 + ], + [ + 247, + 13 + ], + [ + 256, + 13 + ], + [ + 260, + 16 + ], + [ + 264, + 31 + ], + [ + 268, + 25 + ], + [ + 273, + 30 + ], + [ + 283, + 25 + ], + [ + 293, + 25 + ], + [ + 297, + 19 + ], + [ + 301, + 25 + ], + [ + 305, + 19 + ], + [ + 310, + 29 + ], + [ + 315, + 30 + ], + [ + 320, + 26 + ], + [ + 336, + 43 + ], + [ + 358, + 41 + ], + [ + 380, + 41 + ], + [ + 409, + 37 + ], + [ + 430, + 40 + ], + [ + 447, + 29 + ], + [ + 457, + 29 + ], + [ + 461, + 34 + ], + [ + 466, + 38 + ], + [ + 470, + 45 + ], + [ + 484, + 49 + ], + [ + 502, + 34 + ], + [ + 506, + 24 + ], + [ + 510, + 23 + ], + [ + 514, + 18 + ], + [ + 521, + 17 + ], + [ + 527, + 13 + ], + [ + 532, + 32 + ] + ], + "doc": " Public: The `Cursor` class represents the little blinking line identifying\nwhere text can be inserted.\n\nCursors belong to {Editor}s and have some metadata attached in the form\nof a {Marker}. ", + "range": [ + [ + 10, + 0 + ], + [ + 540, + 50 + ] + ] + } + }, + "11": { + "18": { + "name": "screenPosition", + "type": "primitive", + "range": [ + [ + 11, + 18 + ], + [ + 11, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "18": { + "name": "bufferPosition", + "type": "primitive", + "range": [ + [ + 12, + 18 + ], + [ + 12, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "13": { + "14": { + "name": "goalColumn", + "type": "primitive", + "range": [ + [ + 13, + 14 + ], + [ + 13, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 14, + 11 + ], + [ + 14, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "15": { + "19": { + "name": "needsAutoscroll", + "type": "primitive", + "range": [ + [ + 15, + 19 + ], + [ + 15, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 18, + 15 + ], + [ + 49, + 1 + ] + ], + "doc": "Private: Instantiated by an {Editor} " + } + }, + "49": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 11 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "18": { + "name": "changePosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options", + "fn" + ], + "range": [ + [ + 52, + 18 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "16": { + "name": "getPixelRect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 60, + 16 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "21": { + "name": "setScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 70, + 21 + ], + [ + 75, + 1 + ] + ], + "doc": " Public: Moves a cursor to a given screen position.\n\nscreenPosition - An {Array} of two numbers: the screen row, and the screen\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " + } + }, + "75": { + "21": { + "name": "getScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 75, + 21 + ], + [ + 78, + 1 + ] + ], + "doc": "Public: Returns the screen position of the cursor as an Array. " + } + }, + "78": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 78, + 18 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "setBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 89, + 21 + ], + [ + 94, + 1 + ] + ], + "doc": " Public: Moves a cursor to a given buffer position.\n\nbufferPosition - An {Array} of two numbers: the buffer row, and the buffer\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " + } + }, + "94": { + "21": { + "name": "getBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 21 + ], + [ + 97, + 1 + ] + ], + "doc": "Public: Returns the current buffer position as an Array. " + } + }, + "97": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 97, + 14 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "20": { + "name": "updateVisibility", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 20 + ], + [ + 105, + 1 + ] + ], + "doc": "Public: If the marker range is empty, the cursor is marked as being visible. " + } + }, + "105": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 105, + 14 + ], + [ + 112, + 1 + ] + ], + "doc": "Public: Sets whether the cursor is visible. " + } + }, + "112": { + "13": { + "name": "isVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 112, + 13 + ], + [ + 112, + 23 + ] + ], + "doc": "Public: Returns the visibility of the cursor. " + } + }, + "122": { + "14": { + "name": "wordRegExp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 122, + 14 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Get the RegExp used by the cursor to determine what a \"word\" is.\n\noptions: An optional {Object} with the following keys:\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the regex.\n (default: true)\n\nReturns a {RegExp}. " + } + }, + "136": { + "16": { + "name": "isLastCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 16 + ], + [ + 145, + 1 + ] + ], + "doc": " Public: Identifies if this cursor is the last in the {Editor}.\n\n\"Last\" is defined as the most recently added cursor.\n\nReturns a {Boolean}. " + } + }, + "145": { + "28": { + "name": "isSurroundedByWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 145, + 28 + ], + [ + 158, + 1 + ] + ], + "doc": " Public: Identifies if the cursor is surrounded by whitespace.\n\n\"Surrounded\" here means that the character directly before and after the\ncursor are both whitespace.\n\nReturns a {Boolean}. " + } + }, + "158": { + "27": { + "name": "isBetweenWordAndNonWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 27 + ], + [ + 170, + 1 + ] + ], + "doc": " Public: Returns whether the cursor is currently between a word and non-word\ncharacter. The non-word characters are defined by the\n`editor.nonWordCharacters` config value.\n\nThis method returns false if the character before or after the cursor is\nwhitespace.\n\nReturns a Boolean. " + } + }, + "170": { + "16": { + "name": "isInsideWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 170, + 16 + ], + [ + 176, + 1 + ] + ], + "doc": "Public: Returns whether this cursor is between a word's start and end. " + } + }, + "176": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 176, + 19 + ], + [ + 180, + 1 + ] + ], + "doc": "Public: Prevents this cursor from causing scrolling. " + } + }, + "180": { + "18": { + "name": "clearSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 180, + 18 + ], + [ + 184, + 1 + ] + ], + "doc": "Public: Deselects the current selection. " + } + }, + "184": { + "16": { + "name": "getScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 184, + 16 + ], + [ + 188, + 1 + ] + ], + "doc": "Public: Returns the cursor's current screen row. " + } + }, + "188": { + "19": { + "name": "getScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 19 + ], + [ + 192, + 1 + ] + ], + "doc": "Public: Returns the cursor's current screen column. " + } + }, + "192": { + "16": { + "name": "getBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 192, + 16 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Retrieves the cursor's current buffer row. " + } + }, + "196": { + "19": { + "name": "getBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 196, + 19 + ], + [ + 201, + 1 + ] + ], + "doc": "Public: Returns the cursor's current buffer column. " + } + }, + "201": { + "24": { + "name": "getCurrentBufferLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 201, + 24 + ], + [ + 205, + 1 + ] + ], + "doc": " Public: Returns the cursor's current buffer row of text excluding its line\nending. " + } + }, + "205": { + "10": { + "name": "moveUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount", + null + ], + "range": [ + [ + 205, + 10 + ], + [ + 217, + 1 + ] + ], + "doc": "Public: Moves the cursor up one screen row. " + } + }, + "217": { + "12": { + "name": "moveDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount", + null + ], + "range": [ + [ + 217, + 12 + ], + [ + 233, + 1 + ] + ], + "doc": "Public: Moves the cursor down one screen row. " + } + }, + "233": { + "12": { + "name": "moveLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 233, + 12 + ], + [ + 247, + 1 + ] + ], + "doc": " Public: Moves the cursor left one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the left of the selection if a\n selection exists. " + } + }, + "247": { + "13": { + "name": "moveRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 247, + 13 + ], + [ + 256, + 1 + ] + ], + "doc": " Public: Moves the cursor right one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the right of the selection if a\n selection exists. " + } + }, + "256": { + "13": { + "name": "moveToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 13 + ], + [ + 260, + 1 + ] + ], + "doc": "Public: Moves the cursor to the top of the buffer. " + } + }, + "260": { + "16": { + "name": "moveToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 16 + ], + [ + 264, + 1 + ] + ], + "doc": "Public: Moves the cursor to the bottom of the buffer. " + } + }, + "264": { + "31": { + "name": "moveToBeginningOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 264, + 31 + ], + [ + 268, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the line. " + } + }, + "268": { + "25": { + "name": "moveToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 268, + 25 + ], + [ + 273, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the buffer line. " + } + }, + "273": { + "30": { + "name": "moveToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 273, + 30 + ], + [ + 283, + 1 + ] + ], + "doc": " Public: Moves the cursor to the beginning of the first character in the\nline. " + } + }, + "283": { + "25": { + "name": "skipLeadingWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 283, + 25 + ], + [ + 293, + 1 + ] + ], + "doc": " Public: Moves the cursor to the beginning of the buffer line, skipping all\nwhitespace. " + } + }, + "293": { + "25": { + "name": "moveToEndOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 293, + 25 + ], + [ + 297, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the line. " + } + }, + "297": { + "19": { + "name": "moveToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 19 + ], + [ + 301, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the buffer line. " + } + }, + "301": { + "25": { + "name": "moveToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 301, + 25 + ], + [ + 305, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the word. " + } + }, + "305": { + "19": { + "name": "moveToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 305, + 19 + ], + [ + 310, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the word. " + } + }, + "310": { + "29": { + "name": "moveToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 310, + 29 + ], + [ + 315, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the next word. " + } + }, + "315": { + "30": { + "name": "moveToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 30 + ], + [ + 320, + 1 + ] + ], + "doc": "Public: Moves the cursor to the previous word boundary. " + } + }, + "320": { + "26": { + "name": "moveToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 320, + 26 + ], + [ + 336, + 1 + ] + ], + "doc": "Public: Moves the cursor to the next word boundary. " + } + }, + "336": { + "43": { + "name": "getBeginningOfCurrentWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 336, + 43 + ], + [ + 358, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the current word starts.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n :allowPrevious - A {Boolean} indicating whether the beginning of the\n previous word can be returned.\n\nReturns a {Range}. " + } + }, + "358": { + "41": { + "name": "getPreviousWordBoundaryBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 358, + 41 + ], + [ + 380, + 1 + ] + ], + "doc": " Public: Retrieves buffer position of previous word boundary. It might be on\nthe current word, or the previous word. " + } + }, + "380": { + "41": { + "name": "getMoveNextWordBoundaryBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 380, + 41 + ], + [ + 409, + 1 + ] + ], + "doc": " Public: Retrieves buffer position of the next word boundary. It might be on\nthe current word, or the previous word. " + } + }, + "409": { + "37": { + "name": "getEndOfCurrentWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 409, + 37 + ], + [ + 430, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the current word ends.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp})\n :includeNonWordCharacters - A Boolean indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n\nReturns a {Range}. " + } + }, + "430": { + "40": { + "name": "getBeginningOfNextWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 430, + 40 + ], + [ + 447, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the next word starts.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n\nReturns a {Range}. " + } + }, + "447": { + "29": { + "name": "getCurrentWordBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 447, + 29 + ], + [ + 457, + 1 + ] + ], + "doc": " Public: Returns the buffer Range occupied by the word located under the cursor.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}). " + } + }, + "457": { + "29": { + "name": "getCurrentLineBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 457, + 29 + ], + [ + 461, + 1 + ] + ], + "doc": " Public: Returns the buffer Range for the current line.\n\noptions -\n :includeNewline: - A {Boolean} which controls whether the Range should\n include the newline. " + } + }, + "461": { + "34": { + "name": "moveToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 461, + 34 + ], + [ + 466, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the next paragraph " + } + }, + "466": { + "38": { + "name": "moveToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 466, + 38 + ], + [ + 470, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the previous paragraph " + } + }, + "470": { + "45": { + "name": "getBeginningOfNextParagraphBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 470, + 45 + ], + [ + 484, + 1 + ] + ], + "doc": "~Private~" + } + }, + "484": { + "49": { + "name": "getBeginningOfPreviousParagraphBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 484, + 49 + ], + [ + 502, + 1 + ] + ], + "doc": "~Private~" + } + }, + "502": { + "34": { + "name": "getCurrentParagraphBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 502, + 34 + ], + [ + 506, + 1 + ] + ], + "doc": " Public: Retrieves the range for the current paragraph.\n\nA paragraph is defined as a block of text surrounded by empty lines.\n\nReturns a {Range}. " + } + }, + "506": { + "24": { + "name": "getCurrentWordPrefix", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 506, + 24 + ], + [ + 510, + 1 + ] + ], + "doc": "Public: Returns the characters preceding the cursor in the current word. " + } + }, + "510": { + "23": { + "name": "isAtBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 510, + 23 + ], + [ + 514, + 1 + ] + ], + "doc": "Public: Returns whether the cursor is at the start of a line. " + } + }, + "514": { + "18": { + "name": "getIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 514, + 18 + ], + [ + 521, + 1 + ] + ], + "doc": "Public: Returns the indentation level of the current line. " + } + }, + "521": { + "17": { + "name": "isAtEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 521, + 17 + ], + [ + 527, + 1 + ] + ], + "doc": "Public: Returns whether the cursor is on the line return character. " + } + }, + "527": { + "13": { + "name": "getScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 527, + 13 + ], + [ + 532, + 1 + ] + ], + "doc": " Public: Retrieves the grammar's token scopes for the line.\n\nReturns an {Array} of {String}s. " + } + }, + "532": { + "32": { + "name": "hasPrecedingCharactersOnLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 532, + 32 + ], + [ + 540, + 50 + ] + ], + "doc": " Public: Returns true if this cursor has no non-whitespace characters before\nits current position. " + } + } + }, + "exports": 10 + }, + "src/cursors-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "debounce", + "exportsProperty": "debounce" + }, + "11": { + "type": "import", + "range": [ + [ + 2, + 11 + ], + [ + 2, + 17 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "toArray", + "exportsProperty": "toArray" + }, + "20": { + "type": "import", + "range": [ + [ + 2, + 20 + ], + [ + 2, + 39 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "42": { + "type": "import", + "range": [ + [ + 2, + 42 + ], + [ + 2, + 48 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqual", + "exportsProperty": "isEqual" + } + }, + "3": { + "18": { + "name": "SubscriberMixin", + "type": "import", + "range": [ + [ + 3, + 18 + ], + [ + 3, + 45 + ] + ], + "bindingType": "variable", + "path": "./subscriber-mixin" + } + }, + "4": { + "18": { + "name": "CursorComponent", + "type": "import", + "range": [ + [ + 4, + 18 + ], + [ + 4, + 45 + ] + ], + "bindingType": "variable", + "path": "./cursor-component" + } + }, + "7": { + "19": { + "name": "CursorsComponent", + "type": "function", + "range": [ + [ + 7, + 19 + ], + [ + 60, + 37 + ] + ] + } + }, + "8": { + "15": { + "name": "'CursorsComponent'", + "type": "primitive", + "range": [ + [ + 8, + 15 + ], + [ + 8, + 32 + ] + ] + } + }, + "9": { + "10": { + "type": "primitive", + "range": [ + [ + 9, + 10 + ], + [ + 9, + 26 + ] + ] + } + }, + "11": { + "29": { + "type": "primitive", + "range": [ + [ + 11, + 29 + ], + [ + 11, + 32 + ] + ] + } + }, + "13": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 10 + ], + [ + 25, + 1 + ] + ], + "doc": null + } + }, + "25": { + "19": { + "name": "getInitialState", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 19 + ], + [ + 28, + 1 + ] + ], + "doc": null + } + }, + "28": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 21 + ], + [ + 31, + 1 + ] + ], + "doc": null + } + }, + "31": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 31, + 24 + ], + [ + 34, + 1 + ] + ], + "doc": null + } + }, + "34": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps", + "newState" + ], + "range": [ + [ + 34, + 25 + ], + [ + 38, + 1 + ] + ], + "doc": null + } + }, + "38": { + "23": { + "name": "componentWillUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 38, + 23 + ], + [ + 45, + 1 + ] + ], + "doc": null + } + }, + "45": { + "24": { + "name": "startBlinkingCursors", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 24 + ], + [ + 48, + 1 + ] + ], + "doc": null + } + }, + "48": { + "34": { + "type": "primitive", + "range": [ + [ + 48, + 34 + ], + [ + 48, + 37 + ] + ] + } + }, + "50": { + "23": { + "name": "stopBlinkingCursors", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 23 + ], + [ + 53, + 1 + ] + ], + "doc": null + } + }, + "53": { + "21": { + "name": "toggleCursorBlink", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 21 + ], + [ + 56, + 1 + ] + ], + "doc": null + } + }, + "56": { + "23": { + "name": "pauseCursorBlinking", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 23 + ], + [ + 60, + 37 + ] + ], + "doc": null + } + } + }, + "exports": 7 + }, + "src/custom-event-mixin.coffee": { + "objects": { + "2": { + "2": { + "type": "primitive", + "range": [ + [ + 2, + 2 + ], + [ + 14, + 52 + ] + ] + }, + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 2, + 22 + ], + [ + 5, + 1 + ] + ], + "doc": null + } + }, + "5": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 24 + ], + [ + 10, + 1 + ] + ], + "doc": null + } + }, + "10": { + "27": { + "name": "addCustomEventListeners", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "customEventListeners" + ], + "range": [ + [ + 10, + 27 + ], + [ + 14, + 52 + ] + ], + "doc": null + } + } + }, + "exports": 2 + }, + "src/decoration.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + }, + "13": { + "type": "import", + "range": [ + [ + 1, + 13 + ], + [ + 1, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "3": { + "12": { + "name": "0", + "type": "primitive", + "range": [ + [ + 3, + 12 + ], + [ + 3, + 12 + ] + ] + } + }, + "4": { + "9": { + "name": "nextId", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 4, + 9 + ], + [ + 4, + 22 + ] + ] + } + }, + "40": { + "0": { + "type": "class", + "name": "Decoration", + "bindingType": "exports", + "classProperties": [ + [ + 43, + 11 + ] + ], + "prototypeProperties": [ + [ + 49, + 15 + ], + [ + 59, + 11 + ], + [ + 70, + 10 + ], + [ + 79, + 13 + ], + [ + 82, + 13 + ], + [ + 89, + 10 + ], + [ + 92, + 18 + ], + [ + 98, + 9 + ], + [ + 104, + 20 + ] + ], + "doc": " Public: Represents a decoration that follows a {Marker}. A decoration is\nbasically a visual representation of a marker. It allows you to add CSS\nclasses to line numbers in the gutter, lines, and add selection-line regions\naround marked ranges of text.\n\n{Decoration} objects are not meant to be created directly, but created with\n{Editor::decorateMarker}. eg.\n\n```coffee\nrange = editor.getSelectedBufferRange() # any range you like\nmarker = editor.markBufferRange(range)\ndecoration = editor.decorateMarker(marker, {type: 'line', class: 'my-line-class'})\n```\n\nBest practice for destorying the decoration is by destroying the {Marker}.\n\n```\nmarker.destroy()\n```\n\nYou should only use {Decoration::destroy} when you still need or do not own\nthe marker.\n\n### IDs\nEach {Decoration} has a unique ID available via `decoration.id`.\n\n### Events\nA couple of events are emitted:\n\n* `destroyed`: When the {Decoration} is destroyed\n* `updated`: When the {Decoration} is updated via {Decoration::update}.\n Event object has properties `oldParams` and `newParams`\n\n ", + "range": [ + [ + 40, + 0 + ], + [ + 106, + 8 + ] + ] + } + }, + "43": { + "11": { + "name": "isType", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "decorationParams", + "type" + ], + "range": [ + [ + 43, + 11 + ], + [ + 49, + 1 + ] + ], + "doc": "~Private~" + } + }, + "49": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null, + null + ], + "range": [ + [ + 49, + 15 + ], + [ + 59, + 1 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 11 + ], + [ + 70, + 1 + ] + ], + "doc": " Public: Destroy this marker.\n\nIf you own the marker, you should use {Marker::destroy} which will destroy\nthis decoration. " + } + }, + "70": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "newParams" + ], + "range": [ + [ + 70, + 10 + ], + [ + 79, + 1 + ] + ], + "doc": " Public: Update the marker with new params. Allows you to change the decoration's class.\n\n```\ndecoration.update({type: 'gutter', class: 'my-new-class'})\n``` " + } + }, + "79": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 13 + ], + [ + 79, + 22 + ] + ], + "doc": "Public: Returns the marker associated with this {Decoration} " + } + }, + "82": { + "13": { + "name": "getParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 13 + ], + [ + 82, + 22 + ] + ], + "doc": "Public: Returns the {Decoration}'s params. " + } + }, + "89": { + "10": { + "name": "isType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "type" + ], + "range": [ + [ + 89, + 10 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "18": { + "name": "matchesPattern", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decorationPattern" + ], + "range": [ + [ + 92, + 18 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "9": { + "name": "flash", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass", + "duration" + ], + "range": [ + [ + 98, + 9 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "20": { + "name": "consumeNextFlash", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 20 + ], + [ + 106, + 8 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 40 + }, + "src/deserializer-manager.coffee": { + "objects": { + "20": { + "0": { + "type": "class", + "name": "DeserializerManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 21, + 15 + ], + [ + 27, + 7 + ], + [ + 33, + 10 + ], + [ + 41, + 15 + ], + [ + 54, + 7 + ] + ], + "doc": " Public: Manages the deserializers used for serialized state\n\nAn instance of this class is always available as the `atom.deserializers`\nglobal.\n\n### Registering a deserializer\n\n```coffee\nclass MyPackageView extends View\n atom.deserializers.add(this)\n\n @deserialize: (state) ->\n new MyPackageView(state)\n\n constructor: (@state) ->\n\n serialize: ->\n @state\n``` ", + "range": [ + [ + 20, + 0 + ], + [ + 58, + 24 + ] + ] + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 15 + ], + [ + 27, + 1 + ] + ] + } + }, + "27": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "classes" + ], + "range": [ + [ + 27, + 7 + ], + [ + 33, + 1 + ] + ], + "doc": " Public: Register the given class(es) as deserializers.\n\nclasses - One or more classes to register. " + } + }, + "33": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "classes" + ], + "range": [ + [ + 33, + 10 + ], + [ + 41, + 1 + ] + ], + "doc": " Public: Remove the given class(es) as deserializers.\n\nclasses - One or more classes to remove. " + } + }, + "41": { + "15": { + "name": "deserialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state", + "params" + ], + "range": [ + [ + 41, + 15 + ], + [ + 54, + 1 + ] + ], + "doc": " Public: Deserialize the state and params.\n\nstate - The state {Object} to deserialize.\nparams - The params {Object} to pass as the second arguments to the\n deserialize method of the deserializer. " + } + }, + "54": { + "7": { + "name": "get", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 54, + 7 + ], + [ + 58, + 24 + ] + ], + "doc": " Private: Get the deserializer for the state.\n\nstate - The state {Object} being deserialized. " + } + } + }, + "exports": 20 + }, + "src/display-buffer-marker.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 2, + 10 + ], + [ + 2, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "5": { + "0": { + "type": "class", + "name": "DisplayBufferMarker", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 9, + 28 + ], + [ + 10, + 25 + ], + [ + 11, + 25 + ], + [ + 12, + 25 + ], + [ + 13, + 25 + ], + [ + 14, + 12 + ], + [ + 16, + 15 + ], + [ + 27, + 8 + ], + [ + 33, + 18 + ], + [ + 40, + 18 + ], + [ + 46, + 18 + ], + [ + 53, + 18 + ], + [ + 56, + 17 + ], + [ + 62, + 25 + ], + [ + 69, + 25 + ], + [ + 76, + 25 + ], + [ + 83, + 25 + ], + [ + 89, + 25 + ], + [ + 96, + 25 + ], + [ + 103, + 25 + ], + [ + 110, + 25 + ], + [ + 117, + 26 + ], + [ + 124, + 26 + ], + [ + 131, + 24 + ], + [ + 138, + 24 + ], + [ + 146, + 13 + ], + [ + 150, + 13 + ], + [ + 153, + 11 + ], + [ + 157, + 14 + ], + [ + 162, + 11 + ], + [ + 169, + 15 + ], + [ + 172, + 17 + ], + [ + 175, + 17 + ], + [ + 178, + 21 + ], + [ + 183, + 11 + ], + [ + 187, + 11 + ], + [ + 191, + 11 + ], + [ + 195, + 11 + ], + [ + 198, + 13 + ], + [ + 202, + 19 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 230, + 23 + ] + ] + } + }, + "9": { + "28": { + "name": "bufferMarkerSubscription", + "type": "primitive", + "range": [ + [ + 9, + 28 + ], + [ + 9, + 31 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "25": { + "name": "oldHeadBufferPosition", + "type": "primitive", + "range": [ + [ + 10, + 25 + ], + [ + 10, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "11": { + "25": { + "name": "oldHeadScreenPosition", + "type": "primitive", + "range": [ + [ + 11, + 25 + ], + [ + 11, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "25": { + "name": "oldTailBufferPosition", + "type": "primitive", + "range": [ + [ + 12, + 25 + ], + [ + 12, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "13": { + "25": { + "name": "oldTailScreenPosition", + "type": "primitive", + "range": [ + [ + 13, + 25 + ], + [ + 13, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "12": { + "name": "wasValid", + "type": "primitive", + "range": [ + [ + 14, + 12 + ], + [ + 14, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 16, + 15 + ], + [ + 27, + 1 + ] + ], + "doc": "~Private~" + } + }, + "27": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 27, + 8 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 33, + 18 + ], + [ + 40, + 1 + ] + ], + "doc": " Private: Gets the screen range of the display marker.\n\nReturns a {Range}. " + } + }, + "40": { + "18": { + "name": "setScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 40, + 18 + ], + [ + 46, + 1 + ] + ], + "doc": " Private: Modifies the screen range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " + } + }, + "46": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 46, + 18 + ], + [ + 53, + 1 + ] + ], + "doc": " Private: Gets the buffer range of the display marker.\n\nReturns a {Range}. " + } + }, + "53": { + "18": { + "name": "setBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 53, + 18 + ], + [ + 56, + 1 + ] + ], + "doc": " Private: Modifies the buffer range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " + } + }, + "56": { + "17": { + "name": "getPixelRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 17 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "25": { + "name": "getHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 62, + 25 + ], + [ + 69, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's head.\n\nReturns a {Point}. " + } + }, + "69": { + "25": { + "name": "setHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 69, + 25 + ], + [ + 76, + 1 + ] + ], + "doc": " Private: Sets the screen position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "76": { + "25": { + "name": "getHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 25 + ], + [ + 83, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's head.\n\nReturns a {Point}. " + } + }, + "83": { + "25": { + "name": "setHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 83, + 25 + ], + [ + 89, + 1 + ] + ], + "doc": " Private: Sets the buffer position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "89": { + "25": { + "name": "getTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 25 + ], + [ + 96, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's tail.\n\nReturns a {Point}. " + } + }, + "96": { + "25": { + "name": "setTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 96, + 25 + ], + [ + 103, + 1 + ] + ], + "doc": " Private: Sets the screen position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "103": { + "25": { + "name": "getTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 103, + 25 + ], + [ + 110, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's tail.\n\nReturns a {Point}. " + } + }, + "110": { + "25": { + "name": "setTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 110, + 25 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: Sets the buffer position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "117": { + "26": { + "name": "getStartScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 26 + ], + [ + 124, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndScreenPosition}.\n\nReturns a {Point}. " + } + }, + "124": { + "26": { + "name": "getStartBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 26 + ], + [ + 131, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndBufferPosition}.\n\nReturns a {Point}. " + } + }, + "131": { + "24": { + "name": "getEndScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 131, + 24 + ], + [ + 138, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartScreenPosition}.\n\nReturns a {Point}. " + } + }, + "138": { + "24": { + "name": "getEndBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 24 + ], + [ + 146, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartBufferPosition}.\n\nReturns a {Point}. " + } + }, + "146": { + "13": { + "name": "plantTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 146, + 13 + ], + [ + 150, + 1 + ] + ], + "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " + } + }, + "150": { + "13": { + "name": "clearTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 150, + 13 + ], + [ + 153, + 1 + ] + ], + "doc": "Private: Removes the tail from the marker. " + } + }, + "153": { + "11": { + "name": "hasTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 153, + 11 + ], + [ + 157, + 1 + ] + ], + "doc": "~Private~" + } + }, + "157": { + "14": { + "name": "isReversed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 157, + 14 + ], + [ + 162, + 1 + ] + ], + "doc": "Private: Returns whether the head precedes the tail in the buffer " + } + }, + "162": { + "11": { + "name": "isValid", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 11 + ], + [ + 169, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the marker is valid. Markers can be\ninvalidated when a region surrounding them in the buffer is changed. " + } + }, + "169": { + "15": { + "name": "isDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 169, + 15 + ], + [ + 172, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the marker has been destroyed. A marker\ncan be invalid without being destroyed, in which case undoing the invalidating\noperation would restore the marker. Once a marker is destroyed by calling\n{Marker::destroy}, no undo/redo operation can ever bring it back. " + } + }, + "172": { + "17": { + "name": "getAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 172, + 17 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "17": { + "name": "setAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 175, + 17 + ], + [ + 178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "178": { + "21": { + "name": "matchesAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 178, + 21 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 183, + 11 + ], + [ + 187, + 1 + ] + ], + "doc": "Private: Destroys the marker " + } + }, + "187": { + "11": { + "name": "isEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 187, + 11 + ], + [ + 191, + 1 + ] + ], + "doc": "~Private~" + } + }, + "191": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 191, + 11 + ], + [ + 195, + 1 + ] + ], + "doc": "~Private~" + } + }, + "195": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 195, + 11 + ], + [ + 198, + 1 + ] + ], + "doc": "Private: Returns a {String} representation of the marker " + } + }, + "198": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 198, + 13 + ], + [ + 202, + 1 + ] + ], + "doc": "~Private~" + } + }, + "202": { + "19": { + "name": "notifyObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 202, + 19 + ], + [ + 230, + 23 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "src/display-buffer.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "2": { + "7": { + "name": "guid", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "guid" + } + }, + "3": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "6": { + "18": { + "name": "TokenizedBuffer", + "type": "import", + "range": [ + [ + 6, + 18 + ], + [ + 6, + 45 + ] + ], + "bindingType": "variable", + "path": "./tokenized-buffer" + } + }, + "7": { + "9": { + "name": "RowMap", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 27 + ] + ], + "bindingType": "variable", + "path": "./row-map" + } + }, + "8": { + "7": { + "name": "Fold", + "type": "import", + "range": [ + [ + 8, + 7 + ], + [ + 8, + 22 + ] + ], + "bindingType": "variable", + "path": "./fold" + } + }, + "9": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 9, + 8 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "10": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "11": { + "22": { + "name": "DisplayBufferMarker", + "type": "import", + "range": [ + [ + 11, + 22 + ], + [ + 11, + 54 + ] + ], + "bindingType": "variable", + "path": "./display-buffer-marker" + } + }, + "13": { + "0": { + "type": "class", + "name": "BufferToScreenConversionError", + "classProperties": [], + "prototypeProperties": [ + [ + 14, + 15 + ] + ], + "doc": "~Private~", + "range": [ + [ + 13, + 0 + ], + [ + 17, + 0 + ] + ] + } + }, + "14": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 14, + 15 + ], + [ + 17, + 0 + ] + ] + } + }, + "19": { + "0": { + "type": "class", + "name": "DisplayBuffer", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 34, + 24 + ], + [ + 35, + 26 + ], + [ + 36, + 29 + ], + [ + 37, + 26 + ], + [ + 38, + 36 + ], + [ + 40, + 15 + ], + [ + 70, + 19 + ], + [ + 78, + 21 + ], + [ + 82, + 8 + ], + [ + 91, + 24 + ], + [ + 97, + 15 + ], + [ + 104, + 28 + ], + [ + 115, + 14 + ], + [ + 117, + 27 + ], + [ + 118, + 27 + ], + [ + 120, + 29 + ], + [ + 121, + 29 + ], + [ + 123, + 32 + ], + [ + 124, + 32 + ], + [ + 126, + 29 + ], + [ + 127, + 29 + ], + [ + 129, + 13 + ], + [ + 138, + 13 + ], + [ + 140, + 19 + ], + [ + 146, + 18 + ], + [ + 152, + 26 + ], + [ + 160, + 24 + ], + [ + 167, + 12 + ], + [ + 176, + 12 + ], + [ + 183, + 16 + ], + [ + 184, + 16 + ], + [ + 190, + 19 + ], + [ + 193, + 19 + ], + [ + 194, + 19 + ], + [ + 198, + 17 + ], + [ + 199, + 17 + ], + [ + 206, + 20 + ], + [ + 209, + 18 + ], + [ + 210, + 18 + ], + [ + 214, + 25 + ], + [ + 215, + 25 + ], + [ + 217, + 23 + ], + [ + 218, + 23 + ], + [ + 224, + 18 + ], + [ + 226, + 22 + ], + [ + 229, + 23 + ], + [ + 237, + 29 + ], + [ + 244, + 22 + ], + [ + 249, + 26 + ], + [ + 253, + 25 + ], + [ + 256, + 19 + ], + [ + 261, + 18 + ], + [ + 264, + 22 + ], + [ + 273, + 29 + ], + [ + 277, + 38 + ], + [ + 281, + 23 + ], + [ + 311, + 26 + ], + [ + 314, + 26 + ], + [ + 317, + 27 + ], + [ + 333, + 16 + ], + [ + 339, + 16 + ], + [ + 343, + 15 + ], + [ + 346, + 15 + ], + [ + 351, + 25 + ], + [ + 359, + 25 + ], + [ + 367, + 21 + ], + [ + 378, + 14 + ], + [ + 387, + 16 + ], + [ + 393, + 12 + ], + [ + 396, + 22 + ], + [ + 406, + 27 + ], + [ + 416, + 14 + ], + [ + 422, + 23 + ], + [ + 425, + 23 + ], + [ + 429, + 21 + ], + [ + 435, + 19 + ], + [ + 446, + 34 + ], + [ + 454, + 28 + ], + [ + 466, + 34 + ], + [ + 477, + 34 + ], + [ + 482, + 34 + ], + [ + 493, + 28 + ], + [ + 502, + 25 + ], + [ + 505, + 29 + ], + [ + 513, + 25 + ], + [ + 521, + 29 + ], + [ + 532, + 29 + ], + [ + 538, + 28 + ], + [ + 542, + 34 + ], + [ + 561, + 34 + ], + [ + 581, + 34 + ], + [ + 587, + 16 + ], + [ + 593, + 14 + ], + [ + 599, + 20 + ], + [ + 605, + 23 + ], + [ + 617, + 35 + ], + [ + 651, + 35 + ], + [ + 661, + 27 + ], + [ + 664, + 33 + ], + [ + 672, + 26 + ], + [ + 678, + 14 + ], + [ + 684, + 14 + ], + [ + 688, + 17 + ], + [ + 704, + 22 + ], + [ + 740, + 18 + ], + [ + 758, + 20 + ], + [ + 761, + 19 + ], + [ + 764, + 32 + ], + [ + 771, + 18 + ], + [ + 793, + 20 + ], + [ + 804, + 33 + ], + [ + 810, + 31 + ], + [ + 818, + 21 + ], + [ + 826, + 13 + ], + [ + 836, + 14 + ], + [ + 839, + 18 + ], + [ + 848, + 19 + ], + [ + 858, + 19 + ], + [ + 867, + 22 + ], + [ + 876, + 22 + ], + [ + 882, + 17 + ], + [ + 891, + 14 + ], + [ + 912, + 15 + ], + [ + 916, + 33 + ], + [ + 954, + 18 + ], + [ + 957, + 19 + ], + [ + 960, + 27 + ], + [ + 963, + 24 + ], + [ + 966, + 25 + ], + [ + 970, + 32 + ], + [ + 974, + 13 + ], + [ + 979, + 12 + ], + [ + 984, + 31 + ], + [ + 989, + 21 + ], + [ + 1015, + 20 + ], + [ + 1061, + 21 + ], + [ + 1083, + 22 + ], + [ + 1088, + 30 + ], + [ + 1093, + 29 + ], + [ + 1097, + 23 + ], + [ + 1101, + 17 + ] + ], + "doc": "~Private~", + "range": [ + [ + 19, + 0 + ], + [ + 1102, + 31 + ] + ] + } + }, + "34": { + "24": { + "name": "verticalScrollMargin", + "type": "primitive", + "range": [ + [ + 34, + 24 + ], + [ + 34, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "35": { + "26": { + "name": "horizontalScrollMargin", + "type": "primitive", + "range": [ + [ + 35, + 26 + ], + [ + 35, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "36": { + "29": { + "name": "horizontalScrollbarHeight", + "type": "primitive", + "range": [ + [ + 36, + 29 + ], + [ + 36, + 30 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "37": { + "26": { + "name": "verticalScrollbarWidth", + "type": "primitive", + "range": [ + [ + 37, + 26 + ], + [ + 37, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "38": { + "36": { + "name": "scopedCharacterWidthsChangeCount", + "type": "primitive", + "range": [ + [ + 38, + 36 + ], + [ + 38, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "40": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 40, + 15 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 70, + 19 + ], + [ + 78, + 1 + ] + ], + "doc": "~Private~" + } + }, + "78": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 78, + 21 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 8 + ], + [ + 91, + 1 + ] + ], + "doc": "~Private~" + } + }, + "91": { + "24": { + "name": "updateAllScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 24 + ], + [ + 97, + 1 + ] + ], + "doc": "~Private~" + } + }, + "97": { + "15": { + "name": "emitChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventProperties", + "refreshMarkers" + ], + "range": [ + [ + 97, + 15 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "28": { + "name": "updateWrappedScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 28 + ], + [ + 115, + 1 + ] + ], + "doc": "~Private~" + } + }, + "115": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 115, + 14 + ], + [ + 115, + 62 + ] + ], + "doc": " Private: Sets the visibility of the tokenized buffer.\n\nvisible - A {Boolean} indicating of the tokenized buffer is shown " + } + }, + "117": { + "27": { + "name": "getVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 27 + ], + [ + 117, + 50 + ] + ], + "doc": "~Private~" + } + }, + "118": { + "27": { + "name": "setVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 118, + 27 + ], + [ + 118, + 74 + ] + ] + } + }, + "120": { + "29": { + "name": "getHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 120, + 29 + ], + [ + 120, + 54 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "29": { + "name": "setHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 121, + 29 + ], + [ + 121, + 80 + ] + ] + } + }, + "123": { + "32": { + "name": "getHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 123, + 32 + ], + [ + 123, + 60 + ] + ], + "doc": "~Private~" + } + }, + "124": { + "32": { + "name": "setHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 124, + 32 + ], + [ + 124, + 89 + ] + ] + } + }, + "126": { + "29": { + "name": "getVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 29 + ], + [ + 126, + 54 + ] + ], + "doc": "~Private~" + } + }, + "127": { + "29": { + "name": "setVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 127, + 29 + ], + [ + 127, + 80 + ] + ] + } + }, + "129": { + "13": { + "name": "getHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 129, + 13 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "13": { + "name": "setHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 138, + 13 + ], + [ + 138, + 32 + ] + ], + "doc": "~Private~" + } + }, + "140": { + "19": { + "name": "getClientHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 140, + 19 + ], + [ + 146, + 1 + ] + ], + "doc": "~Private~" + } + }, + "146": { + "18": { + "name": "getClientWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 146, + 18 + ], + [ + 152, + 1 + ] + ], + "doc": "~Private~" + } + }, + "152": { + "26": { + "name": "horizontallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 152, + 26 + ], + [ + 160, + 1 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "24": { + "name": "verticallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 160, + 24 + ], + [ + 167, + 1 + ] + ], + "doc": "~Private~" + } + }, + "167": { + "12": { + "name": "getWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 167, + 12 + ], + [ + 176, + 1 + ] + ], + "doc": "~Private~" + } + }, + "176": { + "12": { + "name": "setWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "newWidth" + ], + "range": [ + [ + 176, + 12 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "16": { + "name": "getScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 183, + 16 + ], + [ + 183, + 28 + ] + ], + "doc": "~Private~" + } + }, + "184": { + "16": { + "name": "setScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 184, + 16 + ], + [ + 190, + 1 + ] + ] + } + }, + "190": { + "19": { + "name": "getMaxScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 19 + ], + [ + 193, + 1 + ] + ], + "doc": "~Private~" + } + }, + "193": { + "19": { + "name": "getScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 193, + 19 + ], + [ + 193, + 41 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "19": { + "name": "setScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 194, + 19 + ], + [ + 198, + 1 + ] + ] + } + }, + "198": { + "17": { + "name": "getScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 198, + 17 + ], + [ + 198, + 30 + ] + ], + "doc": "~Private~" + } + }, + "199": { + "17": { + "name": "setScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 199, + 17 + ], + [ + 206, + 1 + ] + ] + } + }, + "206": { + "20": { + "name": "getMaxScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 206, + 20 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "18": { + "name": "getScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 209, + 18 + ], + [ + 209, + 40 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "18": { + "name": "setScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 210, + 18 + ], + [ + 214, + 1 + ] + ] + } + }, + "214": { + "25": { + "name": "getLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 214, + 25 + ], + [ + 214, + 46 + ] + ], + "doc": "~Private~" + } + }, + "215": { + "25": { + "name": "setLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 215, + 25 + ], + [ + 215, + 68 + ] + ] + } + }, + "217": { + "23": { + "name": "getDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 217, + 23 + ], + [ + 217, + 42 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "23": { + "name": "setDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultCharWidth" + ], + "range": [ + [ + 218, + 23 + ], + [ + 224, + 1 + ] + ] + } + }, + "224": { + "18": { + "name": "getCursorWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 18 + ], + [ + 224, + 21 + ] + ], + "doc": "~Private~" + } + }, + "226": { + "22": { + "name": "getScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char" + ], + "range": [ + [ + 226, + 22 + ], + [ + 229, + 1 + ] + ], + "doc": "~Private~" + } + }, + "229": { + "23": { + "name": "getScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames" + ], + "range": [ + [ + 229, + 23 + ], + [ + 237, + 1 + ] + ], + "doc": "~Private~" + } + }, + "237": { + "29": { + "name": "batchCharacterMeasurement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 237, + 29 + ], + [ + 244, + 1 + ] + ], + "doc": "~Private~" + } + }, + "244": { + "22": { + "name": "setScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char", + "width" + ], + "range": [ + [ + 244, + 22 + ], + [ + 249, + 1 + ] + ], + "doc": "~Private~" + } + }, + "249": { + "26": { + "name": "characterWidthsChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 249, + 26 + ], + [ + 253, + 1 + ] + ], + "doc": "~Private~" + } + }, + "253": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 253, + 25 + ], + [ + 256, + 1 + ] + ], + "doc": "~Private~" + } + }, + "256": { + "19": { + "name": "getScrollHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 19 + ], + [ + 261, + 1 + ] + ], + "doc": "~Private~" + } + }, + "261": { + "18": { + "name": "getScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 18 + ], + [ + 264, + 1 + ] + ], + "doc": "~Private~" + } + }, + "264": { + "22": { + "name": "getVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 264, + 22 + ], + [ + 273, + 1 + ] + ], + "doc": "~Private~" + } + }, + "273": { + "29": { + "name": "intersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 273, + 29 + ], + [ + 277, + 1 + ] + ], + "doc": "~Private~" + } + }, + "277": { + "38": { + "name": "selectionIntersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 277, + 38 + ], + [ + 281, + 1 + ] + ], + "doc": "~Private~" + } + }, + "281": { + "23": { + "name": "scrollToScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 281, + 23 + ], + [ + 311, + 1 + ] + ], + "doc": "~Private~" + } + }, + "311": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 311, + 26 + ], + [ + 314, + 1 + ] + ], + "doc": "~Private~" + } + }, + "314": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 314, + 26 + ], + [ + 317, + 1 + ] + ], + "doc": "~Private~" + } + }, + "317": { + "27": { + "name": "pixelRectForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 317, + 27 + ], + [ + 333, + 1 + ] + ], + "doc": "~Private~" + } + }, + "333": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 333, + 16 + ], + [ + 339, + 1 + ] + ], + "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " + } + }, + "339": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 339, + 16 + ], + [ + 343, + 1 + ] + ], + "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " + } + }, + "343": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 343, + 15 + ], + [ + 343, + 38 + ] + ], + "doc": "Deprecated: Use the softWrap property directly " + } + }, + "346": { + "15": { + "name": "getSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 15 + ], + [ + 346, + 26 + ] + ], + "doc": "Deprecated: Use the softWrap property directly " + } + }, + "351": { + "25": { + "name": "setEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorWidthInChars" + ], + "range": [ + [ + 351, + 25 + ], + [ + 359, + 1 + ] + ], + "doc": " Private: Set the number of characters that fit horizontally in the editor.\n\neditorWidthInChars - A {Number} of characters. " + } + }, + "359": { + "25": { + "name": "getEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 359, + 25 + ], + [ + 367, + 1 + ] + ], + "doc": "Private: Returns the editor width in characters for soft wrap. " + } + }, + "367": { + "21": { + "name": "getSoftWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 367, + 21 + ], + [ + 378, + 1 + ] + ], + "doc": "~Private~" + } + }, + "378": { + "14": { + "name": "lineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 378, + 14 + ], + [ + 387, + 1 + ] + ], + "doc": " Private: Gets the screen line for the given screen row.\n\nscreenRow - A {Number} indicating the screen row.\n\nReturns a {ScreenLine}. " + } + }, + "387": { + "16": { + "name": "linesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 387, + 16 + ], + [ + 393, + 1 + ] + ], + "doc": " Private: Gets the screen lines for the given screen row range.\n\nstartRow - A {Number} indicating the beginning screen row.\nendRow - A {Number} indicating the ending screen row.\n\nReturns an {Array} of {ScreenLine}s. " + } + }, + "393": { + "12": { + "name": "getLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 393, + 12 + ], + [ + 396, + 1 + ] + ], + "doc": " Private: Gets all the screen lines.\n\nReturns an {Array} of {ScreenLines}s. " + } + }, + "396": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 396, + 22 + ], + [ + 406, + 1 + ] + ], + "doc": "~Private~" + } + }, + "406": { + "27": { + "name": "bufferRowsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 406, + 27 + ], + [ + 416, + 1 + ] + ], + "doc": " Private: Given starting and ending screen rows, this returns an array of the\nbuffer rows corresponding to every screen row in the range\n\nstartScreenRow - The screen row {Number} to start at\nendScreenRow - The screen row {Number} to end at (default: the last screen row)\n\nReturns an {Array} of buffer rows as {Numbers}s. " + } + }, + "416": { + "14": { + "name": "createFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 416, + 14 + ], + [ + 422, + 1 + ] + ], + "doc": " Private: Creates a new fold between two row numbers.\n\nstartRow - The row {Number} to start folding at\nendRow - The row {Number} to end the fold\n\nReturns the new {Fold}. " + } + }, + "422": { + "23": { + "name": "isFoldedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 422, + 23 + ], + [ + 425, + 1 + ] + ], + "doc": "~Private~" + } + }, + "425": { + "23": { + "name": "isFoldedAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 425, + 23 + ], + [ + 429, + 1 + ] + ], + "doc": "~Private~" + } + }, + "429": { + "21": { + "name": "destroyFoldWithId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 429, + 21 + ], + [ + 435, + 1 + ] + ], + "doc": "Private: Destroys the fold with the given id " + } + }, + "435": { + "19": { + "name": "unfoldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 435, + 19 + ], + [ + 446, + 1 + ] + ], + "doc": " Private: Removes any folds found that contain the given buffer row.\n\nbufferRow - The buffer row {Number} to check against " + } + }, + "446": { + "34": { + "name": "largestFoldStartingAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 446, + 34 + ], + [ + 454, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold} or null if none exists. " + } + }, + "454": { + "28": { + "name": "foldsStartingAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 454, + 28 + ], + [ + 466, + 1 + ] + ], + "doc": " Public: Given a buffer row, this returns all folds that start there.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " + } + }, + "466": { + "34": { + "name": "largestFoldStartingAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 466, + 34 + ], + [ + 477, + 1 + ] + ], + "doc": " Private: Given a screen row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nscreenRow - A {Number} indicating the screen row\n\nReturns a {Fold}. " + } + }, + "477": { + "34": { + "name": "largestFoldContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 477, + 34 + ], + [ + 482, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns the largest fold that includes it.\n\nLargest is defined as the fold whose difference between its start and end rows\nis the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold}. " + } + }, + "482": { + "34": { + "name": "outermostFoldsInBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 482, + 34 + ], + [ + 493, + 1 + ] + ], + "doc": " Private: Returns the folds in the given row range (exclusive of end row) that are\nnot contained by any other folds. " + } + }, + "493": { + "28": { + "name": "foldsContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 493, + 28 + ], + [ + 502, + 1 + ] + ], + "doc": " Public: Given a buffer row, this returns folds that include it.\n\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " + } + }, + "502": { + "25": { + "name": "screenRowForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 502, + 25 + ], + [ + 505, + 1 + ] + ], + "doc": " Private: Given a buffer row, this converts it into a screen row.\n\nbufferRow - A {Number} representing a buffer row\n\nReturns a {Number}. " + } + }, + "505": { + "29": { + "name": "lastScreenRowForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 505, + 29 + ], + [ + 513, + 1 + ] + ], + "doc": "~Private~" + } + }, + "513": { + "25": { + "name": "bufferRowForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 513, + 25 + ], + [ + 521, + 1 + ] + ], + "doc": " Private: Given a screen row, this converts it into a buffer row.\n\nscreenRow - A {Number} representing a screen row\n\nReturns a {Number}. " + } + }, + "521": { + "29": { + "name": "screenRangeForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 521, + 29 + ], + [ + 532, + 1 + ] + ], + "doc": " Private: Given a buffer range, this converts it into a screen position.\n\nbufferRange - The {Range} to convert\n\nReturns a {Range}. " + } + }, + "532": { + "29": { + "name": "bufferRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 532, + 29 + ], + [ + 538, + 1 + ] + ], + "doc": " Private: Given a screen range, this converts it into a buffer position.\n\nscreenRange - The {Range} to convert\n\nReturns a {Range}. " + } + }, + "538": { + "28": { + "name": "pixelRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "clip" + ], + "range": [ + [ + 538, + 28 + ], + [ + 542, + 1 + ] + ], + "doc": "~Private~" + } + }, + "542": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "clip" + ], + "range": [ + [ + 542, + 34 + ], + [ + 561, + 1 + ] + ], + "doc": "~Private~" + } + }, + "561": { + "34": { + "name": "screenPositionForPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 561, + 34 + ], + [ + 581, + 1 + ] + ], + "doc": "~Private~" + } + }, + "581": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 581, + 34 + ], + [ + 587, + 1 + ] + ], + "doc": "~Private~" + } + }, + "587": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 587, + 16 + ], + [ + 593, + 1 + ] + ], + "doc": " Private: Gets the number of screen lines.\n\nReturns a {Number}. " + } + }, + "593": { + "14": { + "name": "getLastRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 593, + 14 + ], + [ + 599, + 1 + ] + ], + "doc": " Private: Gets the number of the last screen line.\n\nReturns a {Number}. " + } + }, + "599": { + "20": { + "name": "getMaxLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 599, + 20 + ], + [ + 605, + 1 + ] + ], + "doc": " Private: Gets the length of the longest screen line.\n\nReturns a {Number}. " + } + }, + "605": { + "23": { + "name": "getLongestScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 605, + 23 + ], + [ + 617, + 1 + ] + ], + "doc": " Private: Gets the row number of the longest screen line.\n\nReturn a {} " + } + }, + "617": { + "35": { + "name": "screenPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 617, + 35 + ], + [ + 651, + 1 + ] + ], + "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " + } + }, + "651": { + "35": { + "name": "bufferPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 651, + 35 + ], + [ + 661, + 1 + ] + ], + "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " + } + }, + "661": { + "27": { + "name": "scopesForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 661, + 27 + ], + [ + 664, + 1 + ] + ], + "doc": " Private: Retrieves the grammar's token scopes for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}\n\nReturns an {Array} of {String}s. " + } + }, + "664": { + "33": { + "name": "bufferRangeForScopeAtPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "position" + ], + "range": [ + [ + 664, + 33 + ], + [ + 672, + 1 + ] + ], + "doc": "~Private~" + } + }, + "672": { + "26": { + "name": "tokenForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 672, + 26 + ], + [ + 678, + 1 + ] + ], + "doc": " Private: Retrieves the grammar's token for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}.\n\nReturns a {Token}. " + } + }, + "678": { + "14": { + "name": "getGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 678, + 14 + ], + [ + 684, + 1 + ] + ], + "doc": " Private: Get the grammar for this buffer.\n\nReturns the current {Grammar} or the {NullGrammar}. " + } + }, + "684": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 684, + 14 + ], + [ + 688, + 1 + ] + ], + "doc": " Private: Sets the grammar for the buffer.\n\ngrammar - Sets the new grammar rules " + } + }, + "688": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 688, + 17 + ], + [ + 704, + 1 + ] + ], + "doc": "Private: Reloads the current grammar. " + } + }, + "704": { + "22": { + "name": "clipScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 704, + 22 + ], + [ + 740, + 1 + ] + ], + "doc": " Private: Given a position, this clips it to a real position.\n\nFor example, if `position`'s row exceeds the row count of the buffer,\nor if its column goes beyond a line's length, this \"sanitizes\" the value\nto a real position.\n\nposition - The {Point} to clip\noptions - A hash with the following values:\n wrapBeyondNewlines: if `true`, continues wrapping past newlines\n wrapAtSoftNewlines: if `true`, continues wrapping past soft newlines\n screenLine: if `true`, indicates that you're using a line number, not a row number\n\nReturns the new, clipped {Point}. Note that this could be the same as `position` if no clipping was performed. " + } + }, + "740": { + "18": { + "name": "findWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line", + "softWrapColumn" + ], + "range": [ + [ + 740, + 18 + ], + [ + 758, + 1 + ] + ], + "doc": " Private: Given a line, finds the point where it would wrap.\n\nline - The {String} to check\nsoftWrapColumn - The {Number} where you want soft wrapping to occur\n\nReturns a {Number} representing the `line` position where the wrap would take place.\nReturns `null` if a wrap wouldn't occur. " + } + }, + "758": { + "20": { + "name": "rangeForAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 758, + 20 + ], + [ + 761, + 1 + ] + ], + "doc": " Private: Calculates a {Range} representing the start of the {TextBuffer} until the end.\n\nReturns a {Range}. " + } + }, + "761": { + "19": { + "name": "decorationForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 761, + 19 + ], + [ + 764, + 1 + ] + ], + "doc": "~Private~" + } + }, + "764": { + "32": { + "name": "decorationsForScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 764, + 32 + ], + [ + 771, + 1 + ] + ], + "doc": "~Private~" + } + }, + "771": { + "18": { + "name": "decorateMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "decorationParams" + ], + "range": [ + [ + 771, + 18 + ], + [ + 793, + 1 + ] + ], + "doc": "~Private~" + } + }, + "793": { + "20": { + "name": "removeDecoration", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decoration" + ], + "range": [ + [ + 793, + 20 + ], + [ + 804, + 1 + ] + ], + "doc": "~Private~" + } + }, + "804": { + "33": { + "name": "removeAllDecorationsForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 804, + 33 + ], + [ + 810, + 1 + ] + ], + "doc": "~Private~" + } + }, + "810": { + "31": { + "name": "removedAllMarkerDecorations", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 810, + 31 + ], + [ + 818, + 1 + ] + ], + "doc": "~Private~" + } + }, + "818": { + "21": { + "name": "decorationUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decoration" + ], + "range": [ + [ + 818, + 21 + ], + [ + 826, + 1 + ] + ], + "doc": "~Private~" + } + }, + "826": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 826, + 13 + ], + [ + 836, + 1 + ] + ], + "doc": " Private: Retrieves a {DisplayBufferMarker} based on its id.\n\nid - A {Number} representing a marker id\n\nReturns the {DisplayBufferMarker} (if it exists). " + } + }, + "836": { + "14": { + "name": "getMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 836, + 14 + ], + [ + 839, + 1 + ] + ], + "doc": " Private: Retrieves the active markers in the buffer.\n\nReturns an {Array} of existing {DisplayBufferMarker}s. " + } + }, + "839": { + "18": { + "name": "getMarkerCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 839, + 18 + ], + [ + 848, + 1 + ] + ], + "doc": "~Private~" + } + }, + "848": { + "19": { + "name": "markScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 848, + 19 + ], + [ + 858, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given screen range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "858": { + "19": { + "name": "markBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range", + "options" + ], + "range": [ + [ + 858, + 19 + ], + [ + 867, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given buffer range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "867": { + "22": { + "name": "markScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 867, + 22 + ], + [ + 876, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given screen position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "876": { + "22": { + "name": "markBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 876, + 22 + ], + [ + 882, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given buffer position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "882": { + "17": { + "name": "destroyMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 882, + 17 + ], + [ + 891, + 1 + ] + ], + "doc": " Public: Removes the marker with the given id.\n\nid - The {Number} of the ID to remove " + } + }, + "891": { + "14": { + "name": "findMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 891, + 14 + ], + [ + 912, + 1 + ] + ], + "doc": " Private: Finds the first marker satisfying the given attributes\n\nRefer to {DisplayBuffer::findMarkers} for details.\n\nReturns a {DisplayBufferMarker} or null " + } + }, + "912": { + "15": { + "name": "findMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 912, + 15 + ], + [ + 916, + 1 + ] + ], + "doc": " Public: Find all markers satisfying a set of parameters.\n\nparams - An {Object} containing parameters that all returned markers must\n satisfy. Unreserved keys will be compared against the markers' custom\n properties. There are also the following reserved keys with special\n meaning for the query:\n :startBufferRow - A {Number}. Only returns markers starting at this row in\n buffer coordinates.\n :endBufferRow - A {Number}. Only returns markers ending at this row in\n buffer coordinates.\n :containsBufferRange - A {Range} or range-compatible {Array}. Only returns\n markers containing this range in buffer coordinates.\n :containsBufferPosition - A {Point} or point-compatible {Array}. Only\n returns markers containing this position in buffer coordinates.\n :containedInBufferRange - A {Range} or range-compatible {Array}. Only\n returns markers contained within this range.\n\nReturns an {Array} of {DisplayBufferMarker}s " + } + }, + "916": { + "33": { + "name": "translateToBufferMarkerParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 916, + 33 + ], + [ + 954, + 1 + ] + ], + "doc": "~Private~" + } + }, + "954": { + "18": { + "name": "findFoldMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 954, + 18 + ], + [ + 957, + 1 + ] + ], + "doc": "~Private~" + } + }, + "957": { + "19": { + "name": "findFoldMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 957, + 19 + ], + [ + 960, + 1 + ] + ], + "doc": "~Private~" + } + }, + "960": { + "27": { + "name": "getFoldMarkerAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 960, + 27 + ], + [ + 963, + 1 + ] + ], + "doc": "~Private~" + } + }, + "963": { + "24": { + "name": "pauseMarkerObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 963, + 24 + ], + [ + 966, + 1 + ] + ], + "doc": "~Private~" + } + }, + "966": { + "25": { + "name": "resumeMarkerObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 966, + 25 + ], + [ + 970, + 1 + ] + ], + "doc": "~Private~" + } + }, + "970": { + "32": { + "name": "refreshMarkerScreenPositions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 970, + 32 + ], + [ + 974, + 1 + ] + ], + "doc": "~Private~" + } + }, + "974": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 974, + 13 + ], + [ + 979, + 1 + ] + ], + "doc": "~Private~" + } + }, + "979": { + "12": { + "name": "logLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 979, + 12 + ], + [ + 984, + 1 + ] + ], + "doc": "~Private~" + } + }, + "984": { + "31": { + "name": "handleTokenizedBufferChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tokenizedBufferChange" + ], + "range": [ + [ + 984, + 31 + ], + [ + 989, + 1 + ] + ], + "doc": "~Private~" + } + }, + "989": { + "21": { + "name": "updateScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "endBufferRow", + "bufferDelta", + "options" + ], + "range": [ + [ + 989, + 21 + ], + [ + 1015, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1015": { + "20": { + "name": "buildScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "endBufferRow" + ], + "range": [ + [ + 1015, + 20 + ], + [ + 1061, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1061": { + "21": { + "name": "findMaxLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow", + "newScreenLines", + "screenDelta" + ], + "range": [ + [ + 1061, + 21 + ], + [ + 1083, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1083": { + "22": { + "name": "computeScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1083, + 22 + ], + [ + 1088, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1088": { + "30": { + "name": "handleBufferMarkersUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1088, + 30 + ], + [ + 1093, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1093": { + "29": { + "name": "handleBufferMarkerCreated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1093, + 29 + ], + [ + 1097, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1097": { + "23": { + "name": "createFoldForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1097, + 23 + ], + [ + 1101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1101": { + "17": { + "name": "foldForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1101, + 17 + ], + [ + 1102, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 19 + }, + "src/editor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "10": { + "type": "import", + "range": [ + [ + 0, + 10 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$$", + "exportsProperty": "$$$" + } + }, + "1": { + "13": { + "name": "GutterView", + "type": "import", + "range": [ + [ + 1, + 13 + ], + [ + 1, + 35 + ] + ], + "bindingType": "variable", + "path": "./gutter-view" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "3": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 3, + 9 + ], + [ + 3, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "4": { + "13": { + "name": "CursorView", + "type": "import", + "range": [ + [ + 4, + 13 + ], + [ + 4, + 35 + ] + ], + "bindingType": "variable", + "path": "./cursor-view" + } + }, + "5": { + "16": { + "name": "SelectionView", + "type": "import", + "range": [ + [ + 5, + 16 + ], + [ + 5, + 41 + ] + ], + "bindingType": "variable", + "path": "./selection-view" + } + }, + "6": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 6, + 5 + ], + [ + 6, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "7": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "8": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 8, + 13 + ], + [ + 8, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer" + } + }, + "10": { + "15": { + "name": "MeasureRange", + "type": "function", + "range": [ + [ + 10, + 15 + ], + [ + 10, + 36 + ] + ] + } + }, + "11": { + "17": { + "type": "primitive", + "range": [ + [ + 11, + 17 + ], + [ + 11, + 59 + ] + ] + }, + "31": { + "name": "acceptNode", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 11, + 31 + ], + [ + 11, + 57 + ] + ], + "doc": null + } + }, + "12": { + "10": { + "type": "primitive", + "range": [ + [ + 12, + 10 + ], + [ + 12, + 21 + ] + ] + } + }, + "13": { + "17": { + "name": "1000", + "type": "primitive", + "range": [ + [ + 13, + 17 + ], + [ + 13, + 20 + ] + ] + } + }, + "41": { + "0": { + "type": "class", + "name": "EditorView", + "bindingType": "exports", + "classProperties": [ + [ + 42, + 24 + ], + [ + 44, + 4 + ], + [ + 61, + 17 + ], + [ + 63, + 12 + ], + [ + 76, + 12 + ], + [ + 1271, + 21 + ], + [ + 1485, + 18 + ], + [ + 1513, + 21 + ], + [ + 1529, + 14 + ], + [ + 1533, + 13 + ], + [ + 1537, + 23 + ] + ], + "prototypeProperties": [ + [ + 81, + 17 + ], + [ + 82, + 17 + ], + [ + 83, + 14 + ], + [ + 84, + 13 + ], + [ + 85, + 14 + ], + [ + 86, + 15 + ], + [ + 87, + 18 + ], + [ + 88, + 13 + ], + [ + 89, + 13 + ], + [ + 90, + 10 + ], + [ + 91, + 12 + ], + [ + 92, + 16 + ], + [ + 93, + 18 + ], + [ + 94, + 14 + ], + [ + 95, + 17 + ], + [ + 96, + 20 + ], + [ + 97, + 24 + ], + [ + 106, + 14 + ], + [ + 141, + 12 + ], + [ + 251, + 13 + ], + [ + 255, + 11 + ], + [ + 259, + 11 + ], + [ + 263, + 14 + ], + [ + 266, + 20 + ], + [ + 271, + 19 + ], + [ + 277, + 12 + ], + [ + 284, + 10 + ], + [ + 292, + 15 + ], + [ + 298, + 21 + ], + [ + 310, + 17 + ], + [ + 322, + 22 + ], + [ + 332, + 22 + ], + [ + 337, + 22 + ], + [ + 341, + 16 + ], + [ + 345, + 13 + ], + [ + 354, + 16 + ], + [ + 436, + 21 + ], + [ + 476, + 28 + ], + [ + 479, + 33 + ], + [ + 505, + 15 + ], + [ + 538, + 8 + ], + [ + 586, + 12 + ], + [ + 589, + 12 + ], + [ + 592, + 27 + ], + [ + 600, + 13 + ], + [ + 618, + 16 + ], + [ + 624, + 14 + ], + [ + 631, + 15 + ], + [ + 639, + 18 + ], + [ + 646, + 26 + ], + [ + 654, + 26 + ], + [ + 662, + 26 + ], + [ + 673, + 25 + ], + [ + 684, + 39 + ], + [ + 696, + 31 + ], + [ + 702, + 18 + ], + [ + 706, + 18 + ], + [ + 710, + 25 + ], + [ + 713, + 26 + ], + [ + 716, + 21 + ], + [ + 723, + 15 + ], + [ + 733, + 15 + ], + [ + 746, + 15 + ], + [ + 752, + 17 + ], + [ + 762, + 17 + ], + [ + 770, + 17 + ], + [ + 776, + 10 + ], + [ + 786, + 13 + ], + [ + 791, + 14 + ], + [ + 796, + 11 + ], + [ + 801, + 13 + ], + [ + 808, + 11 + ], + [ + 811, + 10 + ], + [ + 816, + 16 + ], + [ + 823, + 17 + ], + [ + 827, + 18 + ], + [ + 830, + 17 + ], + [ + 836, + 20 + ], + [ + 839, + 20 + ], + [ + 843, + 21 + ], + [ + 846, + 20 + ], + [ + 852, + 23 + ], + [ + 855, + 36 + ], + [ + 859, + 21 + ], + [ + 863, + 20 + ], + [ + 884, + 22 + ], + [ + 900, + 23 + ], + [ + 912, + 25 + ], + [ + 924, + 25 + ], + [ + 943, + 12 + ], + [ + 950, + 22 + ], + [ + 955, + 16 + ], + [ + 970, + 24 + ], + [ + 978, + 17 + ], + [ + 994, + 21 + ], + [ + 1006, + 22 + ], + [ + 1012, + 24 + ], + [ + 1023, + 25 + ], + [ + 1031, + 24 + ], + [ + 1034, + 14 + ], + [ + 1046, + 25 + ], + [ + 1057, + 23 + ], + [ + 1084, + 38 + ], + [ + 1102, + 23 + ], + [ + 1144, + 24 + ], + [ + 1158, + 20 + ], + [ + 1173, + 13 + ], + [ + 1178, + 19 + ], + [ + 1201, + 32 + ], + [ + 1214, + 28 + ], + [ + 1223, + 27 + ], + [ + 1234, + 22 + ], + [ + 1237, + 27 + ], + [ + 1241, + 32 + ], + [ + 1244, + 34 + ], + [ + 1249, + 21 + ], + [ + 1256, + 21 + ], + [ + 1298, + 32 + ], + [ + 1304, + 26 + ], + [ + 1313, + 27 + ], + [ + 1316, + 33 + ], + [ + 1325, + 34 + ], + [ + 1334, + 34 + ], + [ + 1348, + 32 + ], + [ + 1371, + 19 + ], + [ + 1416, + 26 + ], + [ + 1424, + 26 + ], + [ + 1432, + 28 + ], + [ + 1435, + 32 + ], + [ + 1440, + 32 + ], + [ + 1470, + 23 + ], + [ + 1481, + 23 + ], + [ + 1563, + 23 + ], + [ + 1573, + 25 + ], + [ + 1575, + 18 + ], + [ + 1578, + 18 + ], + [ + 1581, + 20 + ] + ], + "doc": " Public: Represents the entire visual pane in Atom.\n\nThe EditorView manages the {Editor}, which manages the file buffers.\n\n## Requiring in packages\n\n```coffee\n{EditorView} = require 'atom'\n\nminiEditorView = new EditorView(mini: true)\n```\n\n## Iterating over the open editor views\n\n```coffee\nfor editorView in atom.workspaceView.getEditorViews()\n console.log(editorView.getEditor().getPath())\n```\n\n## Subscribing to every current and future editor\n\n```coffee\natom.workspace.eachEditorView (editorView) ->\n console.log(editorView.getEditor().getPath())\n``` ", + "range": [ + [ + 41, + 0 + ], + [ + 1583, + 35 + ] + ] + } + }, + "42": { + "24": { + "name": "characterWidthCache", + "type": "primitive", + "range": [ + [ + 42, + 24 + ], + [ + 42, + 25 + ] + ], + "bindingType": "classProperty" + } + }, + "44": { + "4": { + "name": "configDefaults", + "type": "primitive", + "range": [ + [ + 44, + 4 + ], + [ + 59, + 32 + ] + ], + "bindingType": "classProperty" + } + }, + "61": { + "17": { + "name": "nextEditorId", + "type": "primitive", + "range": [ + [ + 61, + 17 + ], + [ + 61, + 17 + ] + ], + "bindingType": "classProperty" + } + }, + "63": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 63, + 12 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "12": { + "name": "classes", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 76, + 12 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "17": { + "name": "vScrollMargin", + "type": "primitive", + "range": [ + [ + 81, + 17 + ], + [ + 81, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "82": { + "17": { + "name": "hScrollMargin", + "type": "primitive", + "range": [ + [ + 82, + 17 + ], + [ + 82, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "83": { + "14": { + "name": "lineHeight", + "type": "primitive", + "range": [ + [ + 83, + 14 + ], + [ + 83, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "84": { + "13": { + "name": "charWidth", + "type": "primitive", + "range": [ + [ + 84, + 13 + ], + [ + 84, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "85": { + "14": { + "name": "charHeight", + "type": "primitive", + "range": [ + [ + 85, + 14 + ], + [ + 85, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "86": { + "15": { + "name": "cursorViews", + "type": "primitive", + "range": [ + [ + 86, + 15 + ], + [ + 86, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "87": { + "18": { + "name": "selectionViews", + "type": "primitive", + "range": [ + [ + 87, + 18 + ], + [ + 87, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "88": { + "13": { + "name": "lineCache", + "type": "primitive", + "range": [ + [ + 88, + 13 + ], + [ + 88, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "89": { + "13": { + "name": "isFocused", + "type": "primitive", + "range": [ + [ + 89, + 13 + ], + [ + 89, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "90": { + "10": { + "name": "editor", + "type": "primitive", + "range": [ + [ + 90, + 10 + ], + [ + 90, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "91": { + "12": { + "name": "attached", + "type": "primitive", + "range": [ + [ + 91, + 12 + ], + [ + 91, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "92": { + "16": { + "name": "lineOverdraw", + "type": "primitive", + "range": [ + [ + 92, + 16 + ], + [ + 92, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "93": { + "18": { + "name": "pendingChanges", + "type": "primitive", + "range": [ + [ + 93, + 18 + ], + [ + 93, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "94": { + "14": { + "name": "newCursors", + "type": "primitive", + "range": [ + [ + 94, + 14 + ], + [ + 94, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "95": { + "17": { + "name": "newSelections", + "type": "primitive", + "range": [ + [ + 95, + 17 + ], + [ + 95, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "96": { + "20": { + "name": "redrawOnReattach", + "type": "primitive", + "range": [ + [ + 96, + 20 + ], + [ + 96, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "97": { + "24": { + "name": "bottomPaddingInLines", + "type": "primitive", + "range": [ + [ + 97, + 24 + ], + [ + 97, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "106": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorOrOptions" + ], + "range": [ + [ + 106, + 14 + ], + [ + 141, + 1 + ] + ], + "doc": " Private: The constructor for setting up an `EditorView` instance.\n\neditorOrOptions - Either an {Editor}, or an object with one property, `mini`.\n If `mini` is `true`, a \"miniature\" `Editor` is constructed.\n Typically, this is ideal for scenarios where you need an Atom editor,\n but without all the chrome, like scrollbars, gutter, _e.t.c._.\n\n " + } + }, + "141": { + "12": { + "name": "bindKeys", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 12 + ], + [ + 251, + 1 + ] + ], + "doc": " Private: Sets up the core Atom commands.\n\nSome commands are excluded from mini-editors. " + } + }, + "251": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 251, + 13 + ], + [ + 255, + 1 + ] + ], + "doc": " Public: Get the underlying editor model for this view.\n\nReturns an {Editor}. " + } + }, + "255": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 255, + 11 + ], + [ + 259, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.getText} " + } + }, + "259": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 259, + 11 + ], + [ + 263, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.setText} " + } + }, + "263": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 263, + 14 + ], + [ + 266, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.insertText} " + } + }, + "266": { + "20": { + "name": "setHeightInLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "heightInLines" + ], + "range": [ + [ + 266, + 20 + ], + [ + 271, + 1 + ] + ], + "doc": "~Private~" + } + }, + "271": { + "19": { + "name": "setWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "widthInChars" + ], + "range": [ + [ + 271, + 19 + ], + [ + 277, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.setEditorWidthInChars} " + } + }, + "277": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 277, + 12 + ], + [ + 284, + 1 + ] + ], + "doc": " Public: Emulates the \"page down\" key, where the last row of a buffer scrolls\nto become the first. " + } + }, + "284": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 10 + ], + [ + 292, + 1 + ] + ], + "doc": " Public: Emulates the \"page up\" key, where the frst row of a buffer scrolls\nto become the last. " + } + }, + "292": { + "15": { + "name": "getPageRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 15 + ], + [ + 298, + 1 + ] + ], + "doc": " Private: Gets the number of actual page rows existing in an editor.\n\nReturns a {Number}. " + } + }, + "298": { + "21": { + "name": "setShowInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showInvisibles" + ], + "range": [ + [ + 298, + 21 + ], + [ + 310, + 1 + ] + ], + "doc": " Public: Set whether invisible characters are shown.\n\nshowInvisibles - A {Boolean} which, if `true`, show invisible characters. " + } + }, + "310": { + "17": { + "name": "setInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 310, + 17 + ], + [ + 322, + 1 + ] + ], + "doc": " Public: Defines which characters are invisible.\n\ninvisibles - An {Object} defining the invisible characters:\n :eol - The end of line invisible {String} (default: `\\u00ac`).\n :space - The space invisible {String} (default: `\\u00b7`).\n :tab - The tab invisible {String} (default: `\\u00bb`).\n :cr - The carriage return invisible {String} (default: `\\u00a4`). " + } + }, + "322": { + "22": { + "name": "setShowIndentGuide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showIndentGuide" + ], + "range": [ + [ + 322, + 22 + ], + [ + 332, + 1 + ] + ], + "doc": " Public: Sets whether you want to show the indentation guides.\n\nshowIndentGuide - A {Boolean} you can set to `true` if you want to see the\n indentation guides. " + } + }, + "332": { + "22": { + "name": "setPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "placeholderText" + ], + "range": [ + [ + 332, + 22 + ], + [ + 337, + 1 + ] + ], + "doc": " Public: Set the text to appear in the editor when it is empty.\n\nThis only affects mini editors.\n\nplaceholderText - A {String} of text to display when empty. " + } + }, + "337": { + "22": { + "name": "getPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 337, + 22 + ], + [ + 341, + 1 + ] + ], + "doc": "~Private~" + } + }, + "341": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 341, + 16 + ], + [ + 345, + 1 + ] + ], + "doc": "Private: Checkout the HEAD revision of this editor's file. " + } + }, + "345": { + "13": { + "name": "configure", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 345, + 13 + ], + [ + 354, + 1 + ] + ], + "doc": "~Private~" + } + }, + "354": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 354, + 16 + ], + [ + 436, + 1 + ] + ], + "doc": "~Private~" + } + }, + "436": { + "21": { + "name": "handleInputEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 436, + 21 + ], + [ + 476, + 1 + ] + ], + "doc": "~Private~" + } + }, + "476": { + "28": { + "name": "bringHiddenInputIntoView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 476, + 28 + ], + [ + 479, + 1 + ] + ], + "doc": "~Private~" + } + }, + "479": { + "33": { + "name": "selectOnMousemoveUntilMouseup", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 479, + 33 + ], + [ + 505, + 1 + ] + ], + "doc": "~Private~" + } + }, + "505": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 505, + 15 + ], + [ + 538, + 1 + ] + ], + "doc": "~Private~" + } + }, + "538": { + "8": { + "name": "edit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 538, + 8 + ], + [ + 586, + 1 + ] + ], + "doc": "~Private~" + } + }, + "586": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 586, + 12 + ], + [ + 589, + 1 + ] + ], + "doc": "~Private~" + } + }, + "589": { + "12": { + "name": "setModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 589, + 12 + ], + [ + 592, + 1 + ] + ], + "doc": "~Private~" + } + }, + "592": { + "27": { + "name": "showBufferConflictAlert", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 592, + 27 + ], + [ + 600, + 1 + ] + ], + "doc": "~Private~" + } + }, + "600": { + "13": { + "name": "scrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop", + "options" + ], + "range": [ + [ + 600, + 13 + ], + [ + 618, + 1 + ] + ], + "doc": "~Private~" + } + }, + "618": { + "16": { + "name": "scrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 618, + 16 + ], + [ + 624, + 1 + ] + ], + "doc": "~Private~" + } + }, + "624": { + "14": { + "name": "scrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 624, + 14 + ], + [ + 631, + 1 + ] + ], + "doc": "~Private~" + } + }, + "631": { + "15": { + "name": "scrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 631, + 15 + ], + [ + 639, + 1 + ] + ], + "doc": "~Private~" + } + }, + "639": { + "18": { + "name": "scrollToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 639, + 18 + ], + [ + 646, + 1 + ] + ], + "doc": "Public: Scrolls the editor to the bottom. " + } + }, + "646": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 646, + 26 + ], + [ + 654, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the position of the most recently added\ncursor if it isn't current on screen.\n\nThe editor is centered around the cursor's position if possible. " + } + }, + "654": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 654, + 26 + ], + [ + 662, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given buffer position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " + } + }, + "662": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 662, + 26 + ], + [ + 673, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " + } + }, + "673": { + "25": { + "name": "scrollToPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition", + "options" + ], + "range": [ + [ + 673, + 25 + ], + [ + 684, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given pixel position.\n\npixelPosition - An object that represents a pixel position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or\n {Point}.\noptions - A hash with the following keys:\n :center - if `true`, the position is scrolled such that it's in\n the center of the editor " + } + }, + "684": { + "39": { + "name": "highlightFoldsContainingBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 684, + 39 + ], + [ + 696, + 1 + ] + ], + "doc": " Public: Highlight all the folds within the given buffer range.\n\n\"Highlighting\" essentially just adds the `fold-selected` class to the line's\nDOM element.\n\nbufferRange - The {Range} to check. " + } + }, + "696": { + "31": { + "name": "saveScrollPositionForEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 696, + 31 + ], + [ + 702, + 1 + ] + ], + "doc": "~Private~" + } + }, + "702": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 702, + 18 + ], + [ + 706, + 1 + ] + ], + "doc": "Public: Toggle soft tabs on the edit session. " + } + }, + "706": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 706, + 18 + ], + [ + 710, + 1 + ] + ], + "doc": "Public: Toggle soft wrap on the edit session. " + } + }, + "710": { + "25": { + "name": "calculateWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 710, + 25 + ], + [ + 713, + 1 + ] + ], + "doc": "~Private~" + } + }, + "713": { + "26": { + "name": "calculateHeightInLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 713, + 26 + ], + [ + 716, + 1 + ] + ], + "doc": "~Private~" + } + }, + "716": { + "21": { + "name": "getScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 716, + 21 + ], + [ + 723, + 1 + ] + ], + "doc": "~Private~" + } + }, + "723": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 723, + 15 + ], + [ + 733, + 1 + ] + ], + "doc": " Public: Enables/disables soft wrap on the editor.\n\nsoftWrap - A {Boolean} which, if `true`, enables soft wrap " + } + }, + "733": { + "15": { + "name": "setFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 733, + 15 + ], + [ + 746, + 1 + ] + ], + "doc": " Public: Sets the font size for the editor.\n\nfontSize - A {Number} indicating the font size in pixels. " + } + }, + "746": { + "15": { + "name": "getFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 746, + 15 + ], + [ + 752, + 1 + ] + ], + "doc": " Public: Retrieves the font size for the editor.\n\nReturns a {Number} indicating the font size in pixels. " + } + }, + "752": { + "17": { + "name": "setFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 752, + 17 + ], + [ + 762, + 1 + ] + ], + "doc": " Public: Sets the font family for the editor.\n\nfontFamily - A {String} identifying the CSS `font-family`. " + } + }, + "762": { + "17": { + "name": "getFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 762, + 17 + ], + [ + 762, + 38 + ] + ], + "doc": " Public: Gets the font family for the editor.\n\nReturns a {String} identifying the CSS `font-family`. " + } + }, + "770": { + "17": { + "name": "setLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 770, + 17 + ], + [ + 776, + 1 + ] + ], + "doc": " Public: Sets the line height of the editor.\n\nCalling this method has no effect when called on a mini editor.\n\nlineHeight - A {Number} without a unit suffix identifying the CSS\n`line-height`. " + } + }, + "776": { + "10": { + "name": "redraw", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 776, + 10 + ], + [ + 786, + 1 + ] + ], + "doc": "Public: Redraw the editor " + } + }, + "786": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 786, + 13 + ], + [ + 791, + 1 + ] + ], + "doc": "Public: Split the editor view left. " + } + }, + "791": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 791, + 14 + ], + [ + 796, + 1 + ] + ], + "doc": "Public: Split the editor view right. " + } + }, + "796": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 796, + 11 + ], + [ + 801, + 1 + ] + ], + "doc": "Public: Split the editor view up. " + } + }, + "801": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 801, + 13 + ], + [ + 808, + 1 + ] + ], + "doc": "Public: Split the editor view down. " + } + }, + "808": { + "11": { + "name": "getPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 808, + 11 + ], + [ + 811, + 1 + ] + ], + "doc": " Public: Get this view's pane.\n\nReturns a {Pane}. " + } + }, + "811": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "keepData" + ], + "range": [ + [ + 811, + 10 + ], + [ + 816, + 1 + ] + ], + "doc": "~Private~" + } + }, + "816": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 816, + 16 + ], + [ + 823, + 1 + ] + ], + "doc": "~Private~" + } + }, + "823": { + "17": { + "name": "getCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 823, + 17 + ], + [ + 827, + 1 + ] + ], + "doc": "~Private~" + } + }, + "827": { + "18": { + "name": "getCursorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 827, + 18 + ], + [ + 830, + 1 + ] + ], + "doc": "~Private~" + } + }, + "830": { + "17": { + "name": "addCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursor", + "options" + ], + "range": [ + [ + 830, + 17 + ], + [ + 836, + 1 + ] + ], + "doc": "~Private~" + } + }, + "836": { + "20": { + "name": "removeCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 836, + 20 + ], + [ + 839, + 1 + ] + ], + "doc": "~Private~" + } + }, + "839": { + "20": { + "name": "getSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 839, + 20 + ], + [ + 843, + 1 + ] + ], + "doc": "~Private~" + } + }, + "843": { + "21": { + "name": "getSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 843, + 21 + ], + [ + 846, + 1 + ] + ], + "doc": "~Private~" + } + }, + "846": { + "20": { + "name": "addSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 846, + 20 + ], + [ + 852, + 1 + ] + ], + "doc": "~Private~" + } + }, + "852": { + "23": { + "name": "removeSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selectionView" + ], + "range": [ + [ + 852, + 23 + ], + [ + 855, + 1 + ] + ], + "doc": "~Private~" + } + }, + "855": { + "36": { + "name": "removeAllCursorAndSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 855, + 36 + ], + [ + 859, + 1 + ] + ], + "doc": "~Private~" + } + }, + "859": { + "21": { + "name": "appendToLinesView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 859, + 21 + ], + [ + 863, + 1 + ] + ], + "doc": "~Private~" + } + }, + "863": { + "20": { + "name": "scrollVertically", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition", + null + ], + "range": [ + [ + 863, + 20 + ], + [ + 884, + 1 + ] + ], + "doc": "Private: Scrolls the editor vertically to a given position. " + } + }, + "884": { + "22": { + "name": "scrollHorizontally", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 884, + 22 + ], + [ + 900, + 1 + ] + ], + "doc": "Private: Scrolls the editor horizontally to a given position. " + } + }, + "900": { + "23": { + "name": "calculateDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 900, + 23 + ], + [ + 912, + 1 + ] + ], + "doc": "~Private~" + } + }, + "912": { + "25": { + "name": "recalculateDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 912, + 25 + ], + [ + 924, + 1 + ] + ], + "doc": "~Private~" + } + }, + "924": { + "25": { + "name": "updateLayerDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollViewWidth" + ], + "range": [ + [ + 924, + 25 + ], + [ + 943, + 1 + ] + ], + "doc": "~Private~" + } + }, + "943": { + "12": { + "name": "isHidden", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 943, + 12 + ], + [ + 950, + 1 + ] + ], + "doc": "Private: Override for speed. The base function checks computedStyle, unnecessary here. " + } + }, + "950": { + "22": { + "name": "clearRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 950, + 22 + ], + [ + 955, + 1 + ] + ], + "doc": "~Private~" + } + }, + "955": { + "16": { + "name": "resetDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 955, + 16 + ], + [ + 970, + 1 + ] + ], + "doc": "~Private~" + } + }, + "970": { + "24": { + "name": "requestDisplayUpdate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 970, + 24 + ], + [ + 978, + 1 + ] + ], + "doc": "~Private~" + } + }, + "978": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 978, + 17 + ], + [ + 994, + 1 + ] + ], + "doc": "~Private~" + } + }, + "994": { + "21": { + "name": "updateCursorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 994, + 21 + ], + [ + 1006, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1006": { + "22": { + "name": "shouldUpdateCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 1006, + 22 + ], + [ + 1012, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1012": { + "24": { + "name": "updateSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1012, + 24 + ], + [ + 1023, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1023": { + "25": { + "name": "shouldUpdateSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selectionView" + ], + "range": [ + [ + 1023, + 25 + ], + [ + 1031, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1031": { + "24": { + "name": "syncCursorAnimations", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1031, + 24 + ], + [ + 1034, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1034": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "suppressAutoscroll" + ], + "range": [ + [ + 1034, + 14 + ], + [ + 1046, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1046": { + "25": { + "name": "updatePlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1046, + 25 + ], + [ + 1057, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1057": { + "23": { + "name": "updateRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollViewWidth" + ], + "range": [ + [ + 1057, + 23 + ], + [ + 1084, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1084": { + "38": { + "name": "computeSurroundingEmptyLineChanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "change" + ], + "range": [ + [ + 1084, + 38 + ], + [ + 1102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1102": { + "23": { + "name": "computeIntactRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1102, + 23 + ], + [ + 1144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1144": { + "24": { + "name": "truncateIntactRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges", + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1144, + 24 + ], + [ + 1158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1158": { + "20": { + "name": "clearDirtyRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges" + ], + "range": [ + [ + 1158, + 20 + ], + [ + 1173, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1173": { + "13": { + "name": "clearLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement" + ], + "range": [ + [ + 1173, + 13 + ], + [ + 1178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1178": { + "19": { + "name": "fillDirtyRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges", + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1178, + 19 + ], + [ + 1201, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1201": { + "32": { + "name": "updatePaddingOfRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1201, + 32 + ], + [ + 1214, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1214": { + "28": { + "name": "getFirstVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1214, + 28 + ], + [ + 1223, + 1 + ] + ], + "doc": " Public: Retrieves the number of the row that is visible and currently at the\ntop of the editor.\n\nReturns a {Number}. " + } + }, + "1223": { + "27": { + "name": "getLastVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1223, + 27 + ], + [ + 1234, + 1 + ] + ], + "doc": " Public: Retrieves the number of the row that is visible and currently at the\nbottom of the editor.\n\nReturns a {Number}. " + } + }, + "1234": { + "22": { + "name": "isScreenRowVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 1234, + 22 + ], + [ + 1237, + 1 + ] + ], + "doc": " Public: Given a row number, identifies if it is currently visible.\n\nrow - A row {Number} to check\n\nReturns a {Boolean}. " + } + }, + "1237": { + "27": { + "name": "handleScreenLinesChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "change" + ], + "range": [ + [ + 1237, + 27 + ], + [ + 1241, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1241": { + "32": { + "name": "buildLineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 1241, + 32 + ], + [ + 1244, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1244": { + "34": { + "name": "buildLineElementsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1244, + 34 + ], + [ + 1249, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1249": { + "21": { + "name": "htmlForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1249, + 21 + ], + [ + 1256, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1256": { + "21": { + "name": "htmlForScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine", + "screenRow" + ], + "range": [ + [ + 1256, + 21 + ], + [ + 1271, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1271": { + "21": { + "name": "buildIndentation", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "screenRow", + "editor" + ], + "range": [ + [ + 1271, + 21 + ], + [ + 1298, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1298": { + "32": { + "name": "buildHtmlEndOfLineInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine" + ], + "range": [ + [ + 1298, + 32 + ], + [ + 1304, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1304": { + "26": { + "name": "getEndOfLineInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine" + ], + "range": [ + [ + 1304, + 26 + ], + [ + 1313, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1313": { + "27": { + "name": "lineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 1313, + 27 + ], + [ + 1316, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1316": { + "33": { + "name": "toggleLineCommentsInSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1316, + 33 + ], + [ + 1325, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1325": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1325, + 34 + ], + [ + 1334, + 1 + ] + ], + "doc": " Public: Converts a buffer position to a pixel position.\n\nposition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " + } + }, + "1334": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1334, + 34 + ], + [ + 1348, + 1 + ] + ], + "doc": " Public: Converts a screen position to a pixel position.\n\nposition - An object that represents a screen position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " + } + }, + "1348": { + "32": { + "name": "positionLeftForLineAndColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement", + "screenRow", + "screenColumn" + ], + "range": [ + [ + 1348, + 32 + ], + [ + 1371, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1371": { + "19": { + "name": "measureToColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement", + "tokenizedLine", + "screenColumn" + ], + "range": [ + [ + 1371, + 19 + ], + [ + 1416, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1416": { + "26": { + "name": "getCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "char" + ], + "range": [ + [ + 1416, + 26 + ], + [ + 1424, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1424": { + "26": { + "name": "setCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "char", + "val" + ], + "range": [ + [ + 1424, + 26 + ], + [ + 1432, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1432": { + "28": { + "name": "clearCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1432, + 28 + ], + [ + 1435, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1435": { + "32": { + "name": "pixelOffsetForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1435, + 32 + ], + [ + 1440, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1440": { + "32": { + "name": "screenPositionFromMouseEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 1440, + 32 + ], + [ + 1470, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1470": { + "23": { + "name": "highlightCursorLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1470, + 23 + ], + [ + 1481, + 1 + ] + ], + "doc": "Private: Highlights the current line the cursor is on. " + } + }, + "1481": { + "23": { + "name": "copyPathToClipboard", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1481, + 23 + ], + [ + 1485, + 1 + ] + ], + "doc": "Private: Copies the current file path to the native clipboard. " + } + }, + "1485": { + "18": { + "name": "buildLineHtml", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 1485, + 18 + ], + [ + 1513, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1513": { + "21": { + "name": "updateScopeStack", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 1513, + 21 + ], + [ + 1529, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1529": { + "14": { + "name": "pushScope", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack", + "scope" + ], + "range": [ + [ + 1529, + 14 + ], + [ + 1533, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1533": { + "13": { + "name": "popScope", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack" + ], + "range": [ + [ + 1533, + 13 + ], + [ + 1537, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1537": { + "23": { + "name": "buildEmptyLineHtml", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "showIndentGuide", + "eolInvisibles", + "htmlEolInvisibles", + "indentation", + "editor", + "mini" + ], + "range": [ + [ + 1537, + 23 + ], + [ + 1563, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1563": { + "23": { + "name": "replaceSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "replaceFn" + ], + "range": [ + [ + 1563, + 23 + ], + [ + 1573, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1573": { + "25": { + "name": "consolidateSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 1573, + 25 + ], + [ + 1573, + 89 + ] + ], + "doc": "~Private~" + } + }, + "1575": { + "18": { + "name": "logCursorScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1575, + 18 + ], + [ + 1578, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1578": { + "18": { + "name": "logScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 1578, + 18 + ], + [ + 1581, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1581": { + "20": { + "name": "logRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1581, + 20 + ], + [ + 1583, + 35 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 41 + }, + "src/editor.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "3": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 3, + 12 + ], + [ + 3, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@1.x" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 6, + 8 + ], + [ + 6, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "7": { + "15": { + "name": "LanguageMode", + "type": "import", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 39 + ] + ], + "bindingType": "variable", + "path": "./language-mode" + } + }, + "8": { + "16": { + "name": "DisplayBuffer", + "type": "import", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 41 + ] + ], + "bindingType": "variable", + "path": "./display-buffer" + } + }, + "9": { + "9": { + "name": "Cursor", + "type": "import", + "range": [ + [ + 9, + 9 + ], + [ + 9, + 26 + ] + ], + "bindingType": "variable", + "path": "./cursor" + } + }, + "10": { + "12": { + "name": "Selection", + "type": "import", + "range": [ + [ + 10, + 12 + ], + [ + 10, + 32 + ] + ], + "bindingType": "variable", + "path": "./selection" + } + }, + "11": { + "24": { + "type": "primitive", + "range": [ + [ + 11, + 24 + ], + [ + 11, + 58 + ] + ] + } + }, + "138": { + "0": { + "type": "class", + "name": "Editor", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 143, + 17 + ], + [ + 144, + 32 + ], + [ + 145, + 18 + ], + [ + 146, + 10 + ], + [ + 147, + 16 + ], + [ + 148, + 11 + ], + [ + 149, + 14 + ], + [ + 150, + 28 + ], + [ + 151, + 20 + ], + [ + 152, + 26 + ], + [ + 161, + 15 + ], + [ + 190, + 19 + ], + [ + 197, + 21 + ], + [ + 202, + 21 + ], + [ + 215, + 28 + ], + [ + 228, + 16 + ], + [ + 234, + 13 + ], + [ + 242, + 8 + ], + [ + 258, + 12 + ], + [ + 271, + 16 + ], + [ + 281, + 14 + ], + [ + 288, + 25 + ], + [ + 292, + 21 + ], + [ + 296, + 15 + ], + [ + 301, + 15 + ], + [ + 304, + 18 + ], + [ + 307, + 15 + ], + [ + 312, + 15 + ], + [ + 315, + 18 + ], + [ + 323, + 14 + ], + [ + 328, + 16 + ], + [ + 331, + 16 + ], + [ + 339, + 16 + ], + [ + 361, + 22 + ], + [ + 369, + 19 + ], + [ + 381, + 27 + ], + [ + 396, + 30 + ], + [ + 414, + 22 + ], + [ + 418, + 21 + ], + [ + 428, + 8 + ], + [ + 435, + 10 + ], + [ + 437, + 16 + ], + [ + 442, + 23 + ], + [ + 447, + 11 + ], + [ + 450, + 11 + ], + [ + 453, + 11 + ], + [ + 458, + 18 + ], + [ + 461, + 16 + ], + [ + 464, + 13 + ], + [ + 467, + 10 + ], + [ + 470, + 20 + ], + [ + 473, + 24 + ], + [ + 479, + 25 + ], + [ + 482, + 24 + ], + [ + 486, + 20 + ], + [ + 494, + 27 + ], + [ + 500, + 20 + ], + [ + 506, + 26 + ], + [ + 509, + 8 + ], + [ + 512, + 21 + ], + [ + 515, + 30 + ], + [ + 518, + 14 + ], + [ + 520, + 11 + ], + [ + 524, + 22 + ], + [ + 536, + 35 + ], + [ + 546, + 35 + ], + [ + 551, + 29 + ], + [ + 556, + 29 + ], + [ + 573, + 22 + ], + [ + 576, + 20 + ], + [ + 579, + 22 + ], + [ + 582, + 22 + ], + [ + 585, + 26 + ], + [ + 588, + 20 + ], + [ + 591, + 27 + ], + [ + 593, + 25 + ], + [ + 605, + 27 + ], + [ + 614, + 31 + ], + [ + 618, + 26 + ], + [ + 624, + 19 + ], + [ + 626, + 18 + ], + [ + 633, + 14 + ], + [ + 639, + 17 + ], + [ + 643, + 22 + ], + [ + 649, + 22 + ], + [ + 668, + 10 + ], + [ + 674, + 13 + ], + [ + 678, + 30 + ], + [ + 683, + 30 + ], + [ + 690, + 27 + ], + [ + 696, + 27 + ], + [ + 701, + 10 + ], + [ + 708, + 21 + ], + [ + 714, + 21 + ], + [ + 718, + 14 + ], + [ + 722, + 22 + ], + [ + 726, + 23 + ], + [ + 734, + 33 + ], + [ + 739, + 26 + ], + [ + 744, + 30 + ], + [ + 751, + 18 + ], + [ + 758, + 19 + ], + [ + 765, + 20 + ], + [ + 779, + 13 + ], + [ + 798, + 8 + ], + [ + 803, + 8 + ], + [ + 812, + 18 + ], + [ + 817, + 20 + ], + [ + 822, + 21 + ], + [ + 826, + 11 + ], + [ + 830, + 13 + ], + [ + 836, + 24 + ], + [ + 846, + 17 + ], + [ + 852, + 19 + ], + [ + 862, + 25 + ], + [ + 865, + 25 + ], + [ + 870, + 14 + ], + [ + 874, + 21 + ], + [ + 878, + 39 + ], + [ + 884, + 25 + ], + [ + 893, + 23 + ], + [ + 901, + 23 + ], + [ + 909, + 23 + ], + [ + 913, + 34 + ], + [ + 917, + 34 + ], + [ + 921, + 34 + ], + [ + 926, + 14 + ], + [ + 979, + 16 + ], + [ + 1034, + 18 + ], + [ + 1060, + 17 + ], + [ + 1072, + 22 + ], + [ + 1075, + 23 + ], + [ + 1096, + 32 + ], + [ + 1137, + 18 + ], + [ + 1140, + 19 + ], + [ + 1144, + 13 + ], + [ + 1148, + 14 + ], + [ + 1170, + 15 + ], + [ + 1179, + 19 + ], + [ + 1188, + 19 + ], + [ + 1197, + 22 + ], + [ + 1206, + 22 + ], + [ + 1210, + 17 + ], + [ + 1216, + 18 + ], + [ + 1220, + 22 + ], + [ + 1224, + 14 + ], + [ + 1227, + 13 + ], + [ + 1233, + 29 + ], + [ + 1240, + 29 + ], + [ + 1245, + 13 + ], + [ + 1255, + 16 + ], + [ + 1264, + 16 + ], + [ + 1288, + 30 + ], + [ + 1301, + 26 + ], + [ + 1311, + 26 + ], + [ + 1321, + 27 + ], + [ + 1336, + 19 + ], + [ + 1342, + 19 + ], + [ + 1347, + 25 + ], + [ + 1355, + 31 + ], + [ + 1361, + 17 + ], + [ + 1363, + 27 + ], + [ + 1374, + 16 + ], + [ + 1381, + 20 + ], + [ + 1388, + 40 + ], + [ + 1394, + 28 + ], + [ + 1403, + 34 + ], + [ + 1415, + 27 + ], + [ + 1422, + 27 + ], + [ + 1428, + 22 + ], + [ + 1439, + 27 + ], + [ + 1446, + 27 + ], + [ + 1453, + 26 + ], + [ + 1460, + 26 + ], + [ + 1468, + 27 + ], + [ + 1476, + 27 + ], + [ + 1482, + 19 + ], + [ + 1490, + 24 + ], + [ + 1499, + 24 + ], + [ + 1505, + 34 + ], + [ + 1511, + 22 + ], + [ + 1515, + 16 + ], + [ + 1519, + 18 + ], + [ + 1523, + 18 + ], + [ + 1527, + 19 + ], + [ + 1533, + 19 + ], + [ + 1539, + 22 + ], + [ + 1543, + 37 + ], + [ + 1547, + 31 + ], + [ + 1551, + 36 + ], + [ + 1555, + 31 + ], + [ + 1559, + 25 + ], + [ + 1563, + 31 + ], + [ + 1567, + 25 + ], + [ + 1571, + 35 + ], + [ + 1575, + 36 + ], + [ + 1579, + 32 + ], + [ + 1583, + 40 + ], + [ + 1587, + 44 + ], + [ + 1596, + 26 + ], + [ + 1599, + 10 + ], + [ + 1604, + 12 + ], + [ + 1609, + 16 + ], + [ + 1612, + 18 + ], + [ + 1616, + 18 + ], + [ + 1619, + 15 + ], + [ + 1626, + 15 + ], + [ + 1636, + 26 + ], + [ + 1645, + 15 + ], + [ + 1652, + 14 + ], + [ + 1659, + 12 + ], + [ + 1666, + 14 + ], + [ + 1673, + 15 + ], + [ + 1679, + 13 + ], + [ + 1686, + 18 + ], + [ + 1693, + 27 + ], + [ + 1702, + 32 + ], + [ + 1709, + 21 + ], + [ + 1716, + 32 + ], + [ + 1723, + 28 + ], + [ + 1729, + 14 + ], + [ + 1740, + 21 + ], + [ + 1751, + 21 + ], + [ + 1759, + 28 + ], + [ + 1776, + 13 + ], + [ + 1791, + 13 + ], + [ + 1798, + 13 + ], + [ + 1809, + 13 + ], + [ + 1816, + 27 + ], + [ + 1823, + 21 + ], + [ + 1830, + 31 + ], + [ + 1834, + 14 + ], + [ + 1841, + 36 + ], + [ + 1848, + 40 + ], + [ + 1856, + 16 + ], + [ + 1863, + 16 + ], + [ + 1873, + 27 + ], + [ + 1879, + 28 + ], + [ + 1883, + 22 + ], + [ + 1889, + 31 + ], + [ + 1910, + 40 + ], + [ + 1919, + 14 + ], + [ + 1926, + 14 + ], + [ + 1930, + 17 + ], + [ + 1933, + 20 + ], + [ + 1944, + 12 + ], + [ + 1952, + 20 + ], + [ + 1958, + 21 + ], + [ + 1962, + 20 + ], + [ + 1964, + 11 + ], + [ + 1967, + 18 + ], + [ + 1969, + 22 + ], + [ + 1972, + 23 + ], + [ + 1976, + 23 + ], + [ + 1980, + 32 + ], + [ + 1983, + 27 + ], + [ + 1984, + 27 + ], + [ + 1986, + 29 + ], + [ + 1987, + 29 + ], + [ + 1989, + 25 + ], + [ + 1990, + 25 + ], + [ + 1992, + 29 + ], + [ + 1994, + 22 + ], + [ + 1995, + 22 + ], + [ + 1997, + 23 + ], + [ + 1999, + 25 + ], + [ + 2001, + 23 + ], + [ + 2002, + 23 + ], + [ + 2004, + 13 + ], + [ + 2005, + 13 + ], + [ + 2007, + 19 + ], + [ + 2009, + 12 + ], + [ + 2010, + 12 + ], + [ + 2012, + 16 + ], + [ + 2013, + 16 + ], + [ + 2015, + 19 + ], + [ + 2016, + 19 + ], + [ + 2018, + 17 + ], + [ + 2019, + 17 + ], + [ + 2021, + 18 + ], + [ + 2022, + 18 + ], + [ + 2024, + 19 + ], + [ + 2025, + 18 + ], + [ + 2027, + 22 + ], + [ + 2029, + 29 + ], + [ + 2031, + 38 + ], + [ + 2033, + 34 + ], + [ + 2035, + 34 + ], + [ + 2037, + 34 + ], + [ + 2039, + 27 + ], + [ + 2041, + 23 + ], + [ + 2043, + 26 + ], + [ + 2045, + 26 + ], + [ + 2047, + 26 + ], + [ + 2049, + 24 + ], + [ + 2051, + 32 + ], + [ + 2052, + 32 + ], + [ + 2054, + 29 + ], + [ + 2055, + 29 + ], + [ + 2058, + 12 + ] + ], + "doc": " Public: This class represents all essential editing state for a single\n{TextBuffer}, including cursor and selection positions, folds, and soft wraps.\nIf you're manipulating the state of an editor, use this class. If you're\ninterested in the visual appearance of editors, use {EditorView} instead.\n\nA single {TextBuffer} can belong to multiple editors. For example, if the\nsame file is open in two different panes, Atom creates a separate editor for\neach pane. If the buffer is manipulated the changes are reflected in both\neditors, but each maintains its own cursor position, folded lines, etc.\n\n## Accessing Editor Instances\n\nThe easiest way to get hold of `Editor` objects is by registering a callback\nwith `::eachEditor` on the `atom.workspace` global. Your callback will then\nbe called with all current editor instances and also when any editor is\ncreated in the future.\n\n```coffeescript\n atom.workspace.eachEditor (editor) ->\n editor.insertText('Hello World')\n```\n\n## Buffer vs. Screen Coordinates\n\nBecause editors support folds and soft-wrapping, the lines on screen don't\nalways match the lines in the buffer. For example, a long line that soft wraps\ntwice renders as three lines on screen, but only represents one line in the\nbuffer. Similarly, if rows 5-10 are folded, then row 6 on screen corresponds\nto row 11 in the buffer.\n\nYour choice of coordinates systems will depend on what you're trying to\nachieve. For example, if you're writing a command that jumps the cursor up or\ndown by 10 lines, you'll want to use screen coordinates because the user\nprobably wants to skip lines *on screen*. However, if you're writing a package\nthat jumps between method definitions, you'll want to work in buffer\ncoordinates.\n\n**When in doubt, just default to buffer coordinates**, then experiment with\nsoft wraps and folds to ensure your code interacts with them correctly.\n\n## Common Tasks\n\nThis is a subset of methods on this class. Refer to the complete summary for\nits full capabilities.\n\n### Cursors\n- {::setCursorBufferPosition}\n- {::setCursorScreenPosition}\n- {::moveCursorUp}\n- {::moveCursorDown}\n- {::moveCursorLeft}\n- {::moveCursorRight}\n- {::moveCursorToBeginningOfWord}\n- {::moveCursorToEndOfWord}\n- {::moveCursorToPreviousWordBoundary}\n- {::moveCursorToNextWordBoundary}\n- {::moveCursorToBeginningOfNextWord}\n- {::moveCursorToBeginningOfLine}\n- {::moveCursorToEndOfLine}\n- {::moveCursorToFirstCharacterOfLine}\n- {::moveCursorToTop}\n- {::moveCursorToBottom}\n\n### Selections\n- {::getSelectedBufferRange}\n- {::getSelectedBufferRanges}\n- {::setSelectedBufferRange}\n- {::setSelectedBufferRanges}\n- {::selectUp}\n- {::selectDown}\n- {::selectLeft}\n- {::selectRight}\n- {::selectToBeginningOfWord}\n- {::selectToEndOfWord}\n- {::selectToPreviousWordBoundary}\n- {::selectToNextWordBoundary}\n- {::selectWord}\n- {::selectToBeginningOfLine}\n- {::selectToEndOfLine}\n- {::selectToFirstCharacterOfLine}\n- {::selectToTop}\n- {::selectToBottom}\n- {::selectAll}\n- {::addSelectionForBufferRange}\n- {::addSelectionAbove}\n- {::addSelectionBelow}\n- {::splitSelectionsIntoLines}\n\n### Manipulating Text\n- {::getText}\n- {::getSelectedText}\n- {::setText}\n- {::setTextInBufferRange}\n- {::insertText}\n- {::insertNewline}\n- {::insertNewlineAbove}\n- {::insertNewlineBelow}\n- {::backspace}\n- {::deleteToBeginningOfWord}\n- {::deleteToBeginningOfLine}\n- {::delete}\n- {::deleteToEndOfLine}\n- {::deleteToEndOfWord}\n- {::deleteLine}\n- {::cutSelectedText}\n- {::cutToEndOfLine}\n- {::copySelectedText}\n- {::pasteText}\n\n### Undo, Redo, and Transactions\n- {::undo}\n- {::redo}\n- {::transact}\n- {::abortTransaction}\n\n### Markers\n- {::markBufferRange}\n- {::markScreenRange}\n- {::getMarker}\n- {::findMarkers}\n\n### Decorations\n- {::decorateMarker}\n- {::decorationsForScreenRowRange} ", + "range": [ + [ + 138, + 0 + ], + [ + 2060, + 16 + ] + ] + } + }, + "143": { + "17": { + "name": "deserializing", + "type": "primitive", + "range": [ + [ + 143, + 17 + ], + [ + 143, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "144": { + "32": { + "name": "callDisplayBufferCreatedHook", + "type": "primitive", + "range": [ + [ + 144, + 32 + ], + [ + 144, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "145": { + "18": { + "name": "registerEditor", + "type": "primitive", + "range": [ + [ + 145, + 18 + ], + [ + 145, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "146": { + "10": { + "name": "buffer", + "type": "primitive", + "range": [ + [ + 146, + 10 + ], + [ + 146, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "147": { + "16": { + "name": "languageMode", + "type": "primitive", + "range": [ + [ + 147, + 16 + ], + [ + 147, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "148": { + "11": { + "name": "cursors", + "type": "primitive", + "range": [ + [ + 148, + 11 + ], + [ + 148, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "149": { + "14": { + "name": "selections", + "type": "primitive", + "range": [ + [ + 149, + 14 + ], + [ + 149, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "150": { + "28": { + "name": "suppressSelectionMerging", + "type": "primitive", + "range": [ + [ + 150, + 28 + ], + [ + 150, + 32 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "151": { + "20": { + "name": "updateBatchDepth", + "type": "primitive", + "range": [ + [ + 151, + 20 + ], + [ + 151, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "152": { + "26": { + "name": "selectionFlashDuration", + "type": "primitive", + "range": [ + [ + 152, + 26 + ], + [ + 152, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "161": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 161, + 15 + ], + [ + 190, + 1 + ] + ], + "doc": "~Private~" + } + }, + "190": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 19 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 197, + 21 + ], + [ + 202, + 1 + ] + ], + "doc": "~Private~" + } + }, + "202": { + "21": { + "name": "subscribeToBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 202, + 21 + ], + [ + 215, + 1 + ] + ], + "doc": "~Private~" + } + }, + "215": { + "28": { + "name": "subscribeToDisplayBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 215, + 28 + ], + [ + 228, + 1 + ] + ], + "doc": "~Private~" + } + }, + "228": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 228, + 16 + ], + [ + 234, + 1 + ] + ], + "doc": "~Private~" + } + }, + "234": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 13 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 242, + 8 + ], + [ + 258, + 1 + ] + ], + "doc": "Private: Create an {Editor} with its initial state based on this object " + } + }, + "258": { + "12": { + "name": "getTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 258, + 12 + ], + [ + 271, + 1 + ] + ], + "doc": " Public: Get the title the editor's title for display in other parts of the\nUI such as the tabs.\n\nIf the editor's buffer is saved, its title is the file name. If it is\nunsaved, its title is \"untitled\".\n\nReturns a {String}. " + } + }, + "271": { + "16": { + "name": "getLongTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 271, + 16 + ], + [ + 281, + 1 + ] + ], + "doc": " Public: Get the editor's long title for display in other parts of the UI\nsuch as the window title.\n\nIf the editor's buffer is saved, its long title is formatted as\n\" - \". If it is unsaved, its title is \"untitled\"\n\nReturns a {String}. " + } + }, + "281": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 281, + 14 + ], + [ + 281, + 60 + ] + ], + "doc": "Private: Controls visibility based on the given {Boolean}. " + } + }, + "288": { + "25": { + "name": "setEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorWidthInChars" + ], + "range": [ + [ + 288, + 25 + ], + [ + 292, + 1 + ] + ], + "doc": " Private: Set the number of characters that can be displayed horizontally in the\neditor.\n\neditorWidthInChars - A {Number} representing the width of the {EditorView}\nin characters. " + } + }, + "292": { + "21": { + "name": "getSoftWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 21 + ], + [ + 292, + 57 + ] + ], + "doc": "Public: Sets the column at which column will soft wrap " + } + }, + "296": { + "15": { + "name": "getSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 296, + 15 + ], + [ + 296, + 26 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether softTabs are enabled for this\neditor. " + } + }, + "301": { + "15": { + "name": "setSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 301, + 15 + ], + [ + 301, + 38 + ] + ], + "doc": " Public: Enable or disable soft tabs for this editor.\n\nsoftTabs - A {Boolean} " + } + }, + "304": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 304, + 18 + ], + [ + 304, + 52 + ] + ], + "doc": "Public: Toggle soft tabs for this editor " + } + }, + "307": { + "15": { + "name": "getSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 307, + 15 + ], + [ + 307, + 45 + ] + ], + "doc": "Public: Get whether soft wrap is enabled for this editor. " + } + }, + "312": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 312, + 15 + ], + [ + 312, + 64 + ] + ], + "doc": " Public: Enable or disable soft wrap for this editor.\n\nsoftWrap - A {Boolean} " + } + }, + "315": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 18 + ], + [ + 315, + 52 + ] + ], + "doc": "Public: Toggle soft wrap for this editor " + } + }, + "323": { + "14": { + "name": "getTabText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 323, + 14 + ], + [ + 323, + 37 + ] + ], + "doc": " Public: Get the text representing a single level of indent.\n\nIf soft tabs are enabled, the text is composed of N spaces, where N is the\ntab length. Otherwise the text is a tab character (`\\t`).\n\nReturns a {String}. " + } + }, + "328": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 328, + 16 + ], + [ + 328, + 47 + ] + ], + "doc": " Public: Get the on-screen length of tab characters.\n\nReturns a {Number}. " + } + }, + "331": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 331, + 16 + ], + [ + 331, + 68 + ] + ], + "doc": "Public: Set the on-screen length of tab characters. " + } + }, + "339": { + "16": { + "name": "usesSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 339, + 16 + ], + [ + 361, + 1 + ] + ], + "doc": " Public: Determine if the buffer uses hard or soft tabs.\n\nReturns `true` if the first non-comment line with leading whitespace starts\nwith a space character. Returns `false` if it starts with a hard tab (`\\t`).\n\nReturns a {Boolean}, " + } + }, + "361": { + "22": { + "name": "clipBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 361, + 22 + ], + [ + 361, + 77 + ] + ], + "doc": " Public: Clip the given {Point} to a valid position in the buffer.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the buffer, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " + } + }, + "369": { + "19": { + "name": "clipBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 369, + 19 + ], + [ + 369, + 53 + ] + ], + "doc": " Public: Clip the start and end of the given range to valid positions in the\nbuffer. See {::clipBufferPosition} for more information.\n\nrange - The {Range} to clip.\n\nReturns a {Range}. " + } + }, + "381": { + "27": { + "name": "indentationForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 381, + 27 + ], + [ + 396, + 1 + ] + ], + "doc": " Public: Get the indentation level of the given a buffer row.\n\nReturns how deeply the given row is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nbufferRow - A {Number} indicating the buffer row.\n\nReturns a {Number}. " + } + }, + "396": { + "30": { + "name": "setIndentationForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "newLevel", + null + ], + "range": [ + [ + 396, + 30 + ], + [ + 414, + 1 + ] + ], + "doc": " Public: Set the indentation level for the given buffer row.\n\nInserts or removes hard tabs or spaces based on the soft tabs and tab length\nsettings of this editor in order to bring it to the given indentation level.\nNote that if soft tabs are enabled and the tab length is 2, a row with 4\nleading spaces would have an indentation level of 2.\n\nbufferRow - A {Number} indicating the buffer row.\nnewLevel - A {Number} indicating the new indentation level.\noptions - An {Object} with the following keys:\n :preserveLeadingWhitespace - true to preserve any whitespace already at\n the beginning of the line (default: false). " + } + }, + "414": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 414, + 22 + ], + [ + 418, + 1 + ] + ], + "doc": " Public: Get the indentation level of the given line of text.\n\nReturns how deeply the given line is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nline - A {String} representing a line of text.\n\nReturns a {Number}. " + } + }, + "418": { + "21": { + "name": "buildIndentString", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "number", + "column" + ], + "range": [ + [ + 418, + 21 + ], + [ + 428, + 1 + ] + ], + "doc": "Private: Constructs the string used for tabs. " + } + }, + "428": { + "8": { + "name": "save", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 8 + ], + [ + 428, + 24 + ] + ], + "doc": " Public: Saves the editor's text buffer.\n\nSee {TextBuffer::save} for more details. " + } + }, + "435": { + "10": { + "name": "saveAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 435, + 10 + ], + [ + 435, + 47 + ] + ], + "doc": " Public: Saves the editor's text buffer as the given path.\n\nSee {TextBuffer::saveAs} for more details.\n\nfilePath - A {String} path. " + } + }, + "437": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 437, + 16 + ], + [ + 442, + 1 + ] + ], + "doc": "~Private~" + } + }, + "442": { + "23": { + "name": "copyPathToClipboard", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 442, + 23 + ], + [ + 447, + 1 + ] + ], + "doc": "Private: Copies the current file path to the native clipboard. " + } + }, + "447": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 447, + 11 + ], + [ + 447, + 30 + ] + ], + "doc": "Public: Returns the {String} path of this editor's text buffer. " + } + }, + "450": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 450, + 11 + ], + [ + 450, + 30 + ] + ], + "doc": "Public: Returns a {String} representing the entire contents of the editor. " + } + }, + "453": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 453, + 11 + ], + [ + 453, + 41 + ] + ], + "doc": "Public: Replaces the entire contents of the buffer with the given {String}. " + } + }, + "458": { + "18": { + "name": "getTextInRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 458, + 18 + ], + [ + 458, + 57 + ] + ], + "doc": " Private: Get the text in the given {Range}.\n\nReturns a {String}. " + } + }, + "461": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 461, + 16 + ], + [ + 461, + 40 + ] + ], + "doc": "Public: Returns a {Number} representing the number of lines in the editor. " + } + }, + "464": { + "13": { + "name": "getBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 464, + 13 + ], + [ + 464, + 22 + ] + ], + "doc": "Private: Retrieves the current {TextBuffer}. " + } + }, + "467": { + "10": { + "name": "getUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 467, + 10 + ], + [ + 467, + 28 + ] + ], + "doc": "Public: Retrieves the current buffer's URI. " + } + }, + "470": { + "20": { + "name": "isBufferRowBlank", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 470, + 20 + ], + [ + 470, + 63 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.isRowBlank} " + } + }, + "473": { + "24": { + "name": "isBufferRowCommented", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 473, + 24 + ], + [ + 479, + 1 + ] + ], + "doc": "Public: Determine if the given row is entirely a comment " + } + }, + "479": { + "25": { + "name": "nextNonBlankBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 479, + 25 + ], + [ + 479, + 73 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.nextNonBlankRow} " + } + }, + "482": { + "24": { + "name": "getEofBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 482, + 24 + ], + [ + 482, + 50 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.getEndPosition} " + } + }, + "486": { + "20": { + "name": "getLastBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 486, + 20 + ], + [ + 486, + 42 + ] + ], + "doc": " Public: Returns a {Number} representing the last zero-indexed buffer row\nnumber of the editor. " + } + }, + "494": { + "27": { + "name": "bufferRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + null + ], + "range": [ + [ + 494, + 27 + ], + [ + 494, + 96 + ] + ], + "doc": " Private: Returns the range for the given buffer row.\n\nrow - A row {Number}.\noptions - An options hash with an `includeNewline` key.\n\nReturns a {Range}. " + } + }, + "500": { + "20": { + "name": "lineForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 500, + 20 + ], + [ + 500, + 51 + ] + ], + "doc": " Public: Returns a {String} representing the contents of the line at the\ngiven buffer row.\n\nrow - A {Number} representing a zero-indexed buffer row. " + } + }, + "506": { + "26": { + "name": "lineLengthForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 506, + 26 + ], + [ + 506, + 63 + ] + ], + "doc": " Public: Returns a {Number} representing the line length for the given\nbuffer row, exclusive of its line-ending character(s).\n\nrow - A {Number} indicating the buffer row. " + } + }, + "509": { + "8": { + "name": "scan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 509, + 8 + ], + [ + 509, + 41 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.scan} " + } + }, + "512": { + "21": { + "name": "scanInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 512, + 21 + ], + [ + 512, + 61 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.scanInRange} " + } + }, + "515": { + "30": { + "name": "backwardsScanInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 515, + 30 + ], + [ + 515, + 79 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.backwardsScanInRange} " + } + }, + "518": { + "14": { + "name": "isModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 518, + 14 + ], + [ + 518, + 36 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.isModified} " + } + }, + "520": { + "11": { + "name": "isEmpty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 520, + 11 + ], + [ + 520, + 30 + ] + ], + "doc": "~Private~" + } + }, + "524": { + "22": { + "name": "shouldPromptToSave", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 524, + 22 + ], + [ + 524, + 74 + ] + ], + "doc": " Public: Determine whether the user should be prompted to save before closing\nthis editor. " + } + }, + "536": { + "35": { + "name": "screenPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 536, + 35 + ], + [ + 536, + 134 + ] + ], + "doc": " Public: Convert a position in buffer-coordinates to screen-coordinates.\n\nThe position is clipped via {::clipBufferPosition} prior to the conversion.\nThe position is also clipped via {::clipScreenPosition} following the\nconversion, which only makes a difference when `options` are supplied.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " + } + }, + "546": { + "35": { + "name": "bufferPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 546, + 35 + ], + [ + 546, + 134 + ] + ], + "doc": " Public: Convert a position in screen-coordinates to buffer-coordinates.\n\nThe position is clipped via {::clipScreenPosition} prior to the conversion.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " + } + }, + "551": { + "29": { + "name": "screenRangeForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 551, + 29 + ], + [ + 551, + 98 + ] + ], + "doc": " Public: Convert a range in buffer-coordinates to screen-coordinates.\n\nReturns a {Range}. " + } + }, + "556": { + "29": { + "name": "bufferRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 556, + 29 + ], + [ + 556, + 98 + ] + ], + "doc": " Public: Convert a range in screen-coordinates to buffer-coordinates.\n\nReturns a {Range}. " + } + }, + "573": { + "22": { + "name": "clipScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 573, + 22 + ], + [ + 573, + 108 + ] + ], + "doc": " Public: Clip the given {Point} to a valid position on screen.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the screen, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at screen row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " + } + }, + "576": { + "20": { + "name": "lineForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 576, + 20 + ], + [ + 576, + 58 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.lineForRow} " + } + }, + "579": { + "22": { + "name": "linesForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 579, + 22 + ], + [ + 579, + 76 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.linesForRows} " + } + }, + "582": { + "22": { + "name": "getScreenLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 582, + 22 + ], + [ + 582, + 53 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getLineCount} " + } + }, + "585": { + "26": { + "name": "getMaxScreenLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 585, + 26 + ], + [ + 585, + 61 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getMaxLineLength} " + } + }, + "588": { + "20": { + "name": "getLastScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 588, + 20 + ], + [ + 588, + 49 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getLastRow} " + } + }, + "591": { + "27": { + "name": "bufferRowsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 591, + 27 + ], + [ + 591, + 104 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.bufferRowsForScreenRows} " + } + }, + "593": { + "25": { + "name": "bufferRowForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 593, + 25 + ], + [ + 593, + 74 + ] + ], + "doc": "~Private~" + } + }, + "605": { + "27": { + "name": "scopesForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 605, + 27 + ], + [ + 605, + 100 + ] + ], + "doc": " Public: Get the syntactic scopes for the given position in buffer\ncoordinates.\n\nFor example, if called with a position inside the parameter list of an\nanonymous CoffeeScript function, the method returns the following array:\n`[\"source.coffee\", \"meta.inline.function.coffee\", \"variable.parameter.function.coffee\"]`\n\nbufferPosition - A {Point} or {Array} of [row, column].\n\nReturns an {Array} of {String}s. " + } + }, + "614": { + "31": { + "name": "bufferRangeForScopeAtCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 614, + 31 + ], + [ + 618, + 1 + ] + ], + "doc": " Public: Get the range in buffer coordinates of all tokens surrounding the\ncursor that match the given scope selector.\n\nFor example, if you wanted to find the string surrounding the cursor, you\ncould call `editor.bufferRangeForScopeAtCursor(\".string.quoted\")`.\n\nReturns a {Range}. " + } + }, + "618": { + "26": { + "name": "tokenForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 618, + 26 + ], + [ + 618, + 98 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.tokenForBufferPosition} " + } + }, + "624": { + "19": { + "name": "getCursorScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 624, + 19 + ], + [ + 624, + 45 + ] + ], + "doc": " Public: Get the syntactic scopes for the most recently added cursor's\nposition. See {::scopesForBufferPosition} for more information.\n\nReturns an {Array} of {String}s. " + } + }, + "626": { + "18": { + "name": "logCursorScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 626, + 18 + ], + [ + 633, + 1 + ] + ], + "doc": "~Private~" + } + }, + "633": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 633, + 14 + ], + [ + 639, + 1 + ] + ], + "doc": " Public: For each selection, replace the selected text with the given text.\n\ntext - A {String} representing the text to insert.\noptions - See {Selection::insertText}. " + } + }, + "639": { + "17": { + "name": "insertNewline", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 639, + 17 + ], + [ + 643, + 1 + ] + ], + "doc": "Public: For each selection, replace the selected text with a newline. " + } + }, + "643": { + "22": { + "name": "insertNewlineBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 643, + 22 + ], + [ + 649, + 1 + ] + ], + "doc": "Public: For each cursor, insert a newline at beginning the following line. " + } + }, + "649": { + "22": { + "name": "insertNewlineAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 649, + 22 + ], + [ + 668, + 1 + ] + ], + "doc": "Public: For each cursor, insert a newline at the end of the preceding line. " + } + }, + "668": { + "10": { + "name": "indent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 668, + 10 + ], + [ + 674, + 1 + ] + ], + "doc": " Private: Indent all lines intersecting selections. See {Selection::indent} for more\ninformation. " + } + }, + "674": { + "13": { + "name": "backspace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 674, + 13 + ], + [ + 678, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete the character\npreceding the cursor. Otherwise delete the selected text. " + } + }, + "678": { + "30": { + "name": "backspaceToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 678, + 30 + ], + [ + 683, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " + } + }, + "683": { + "30": { + "name": "backspaceToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 683, + 30 + ], + [ + 690, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " + } + }, + "690": { + "27": { + "name": "deleteToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 690, + 27 + ], + [ + 696, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word that precede the cursor. Otherwise delete the\nselected text. " + } + }, + "696": { + "27": { + "name": "deleteToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 696, + 27 + ], + [ + 701, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing line that precede the cursor. Otherwise delete the\nselected text. " + } + }, + "701": { + "10": { + "name": "delete", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 701, + 10 + ], + [ + 708, + 1 + ] + ] + } + }, + "708": { + "21": { + "name": "deleteToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 708, + 21 + ], + [ + 714, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is not empty, deletes the\nselection; otherwise, deletes all characters of the containing line\nfollowing the cursor. If the cursor is already at the end of the line,\ndeletes the following newline. " + } + }, + "714": { + "21": { + "name": "deleteToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 714, + 21 + ], + [ + 718, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word following the cursor. Otherwise delete the selected\ntext. " + } + }, + "718": { + "14": { + "name": "deleteLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 718, + 14 + ], + [ + 722, + 1 + ] + ], + "doc": "Public: Delete all lines intersecting selections. " + } + }, + "722": { + "22": { + "name": "indentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 722, + 22 + ], + [ + 726, + 1 + ] + ], + "doc": "Public: Indent rows intersecting selections by one level. " + } + }, + "726": { + "23": { + "name": "outdentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 726, + 23 + ], + [ + 734, + 1 + ] + ], + "doc": "Public: Outdent rows intersecting selections by one level. " + } + }, + "734": { + "33": { + "name": "toggleLineCommentsInSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 734, + 33 + ], + [ + 739, + 1 + ] + ], + "doc": " Public: Toggle line comments for rows intersecting selections.\n\nIf the current grammar doesn't support comments, does nothing.\n\nReturns an {Array} of the commented {Range}s. " + } + }, + "739": { + "26": { + "name": "autoIndentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 739, + 26 + ], + [ + 744, + 1 + ] + ], + "doc": " Public: Indent rows intersecting selections based on the grammar's suggested\nindent level. " + } + }, + "744": { + "30": { + "name": "normalizeTabsInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 744, + 30 + ], + [ + 751, + 1 + ] + ], + "doc": " Private: If soft tabs are enabled, convert all hard tabs to soft tabs in the given\n{Range}. " + } + }, + "751": { + "18": { + "name": "cutToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 751, + 18 + ], + [ + 758, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, cut all characters\nof the containing line following the cursor. Otherwise cut the selected\ntext. " + } + }, + "758": { + "19": { + "name": "cutSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 758, + 19 + ], + [ + 765, + 1 + ] + ], + "doc": "Public: For each selection, cut the selected text. " + } + }, + "765": { + "20": { + "name": "copySelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 765, + 20 + ], + [ + 779, + 1 + ] + ], + "doc": "Public: For each selection, copy the selected text. " + } + }, + "779": { + "13": { + "name": "pasteText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 779, + 13 + ], + [ + 798, + 1 + ] + ], + "doc": " Public: For each selection, replace the selected text with the contents of\nthe clipboard.\n\nIf the clipboard contains the same number of selections as the current\neditor, each selection will be replaced with the content of the\ncorresponding clipboard selection text.\n\noptions - See {Selection::insertText}. " + } + }, + "798": { + "8": { + "name": "undo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 798, + 8 + ], + [ + 803, + 1 + ] + ], + "doc": "Public: Undo the last change. " + } + }, + "803": { + "8": { + "name": "redo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 803, + 8 + ], + [ + 812, + 1 + ] + ], + "doc": "Public: Redo the last change. " + } + }, + "812": { + "18": { + "name": "foldCurrentRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 812, + 18 + ], + [ + 817, + 1 + ] + ], + "doc": " Public: Fold the most recent cursor's row based on its indentation level.\n\nThe fold will extend from the nearest preceding line with a lower\nindentation level up to the nearest following row with a lower indentation\nlevel. " + } + }, + "817": { + "20": { + "name": "unfoldCurrentRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 817, + 20 + ], + [ + 822, + 1 + ] + ], + "doc": "Public: Unfold the most recent cursor's row by one level. " + } + }, + "822": { + "21": { + "name": "foldSelectedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 822, + 21 + ], + [ + 826, + 1 + ] + ], + "doc": "Public: For each selection, fold the rows it intersects. " + } + }, + "826": { + "11": { + "name": "foldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 826, + 11 + ], + [ + 830, + 1 + ] + ], + "doc": "Public: Fold all foldable lines. " + } + }, + "830": { + "13": { + "name": "unfoldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 830, + 13 + ], + [ + 836, + 1 + ] + ], + "doc": "Public: Unfold all existing folds. " + } + }, + "836": { + "24": { + "name": "foldAllAtIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "level" + ], + "range": [ + [ + 836, + 24 + ], + [ + 846, + 1 + ] + ], + "doc": " Public: Fold all foldable lines at the given indent level.\n\nlevel - A {Number}. " + } + }, + "846": { + "17": { + "name": "foldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 846, + 17 + ], + [ + 852, + 1 + ] + ], + "doc": " Public: Fold the given row in buffer coordinates based on its indentation\nlevel.\n\nIf the given row is foldable, the fold will begin there. Otherwise, it will\nbegin at the first foldable row preceding the given row.\n\nbufferRow - A {Number}. " + } + }, + "852": { + "19": { + "name": "unfoldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 852, + 19 + ], + [ + 862, + 1 + ] + ], + "doc": " Public: Unfold all folds containing the given row in buffer coordinates.\n\nbufferRow - A {Number} " + } + }, + "862": { + "25": { + "name": "isFoldableAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 862, + 25 + ], + [ + 865, + 1 + ] + ], + "doc": " Public: Determine whether the given row in buffer coordinates is foldable.\n\nA *foldable* row is a row that *starts* a row range that can be folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "865": { + "25": { + "name": "isFoldableAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 865, + 25 + ], + [ + 870, + 1 + ] + ], + "doc": "~Private~" + } + }, + "870": { + "14": { + "name": "createFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 870, + 14 + ], + [ + 874, + 1 + ] + ], + "doc": "TODO: Rename to foldRowRange? " + } + }, + "874": { + "21": { + "name": "destroyFoldWithId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 874, + 21 + ], + [ + 878, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.destroyFoldWithId} " + } + }, + "878": { + "39": { + "name": "destroyFoldsIntersectingBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 878, + 39 + ], + [ + 884, + 1 + ] + ], + "doc": "Private: Remove any {Fold}s found that intersect the given buffer row. " + } + }, + "884": { + "25": { + "name": "toggleFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 884, + 25 + ], + [ + 893, + 1 + ] + ], + "doc": " Public: Fold the given buffer row if it isn't currently folded, and unfold\nit otherwise. " + } + }, + "893": { + "23": { + "name": "isFoldedAtCursorRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 893, + 23 + ], + [ + 901, + 1 + ] + ], + "doc": " Public: Determine whether the most recently added cursor's row is folded.\n\nReturns a {Boolean}. " + } + }, + "901": { + "23": { + "name": "isFoldedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 901, + 23 + ], + [ + 909, + 1 + ] + ], + "doc": " Public: Determine whether the given row in buffer coordinates is folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "909": { + "23": { + "name": "isFoldedAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 909, + 23 + ], + [ + 913, + 1 + ] + ], + "doc": " Public: Determine whether the given row in screen coordinates is folded.\n\nscreenRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "913": { + "34": { + "name": "largestFoldContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 913, + 34 + ], + [ + 917, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.largestFoldContainingBufferRow} " + } + }, + "917": { + "34": { + "name": "largestFoldStartingAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 917, + 34 + ], + [ + 921, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.largestFoldStartingAtScreenRow} " + } + }, + "921": { + "34": { + "name": "outermostFoldsInBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 921, + 34 + ], + [ + 926, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.outermostFoldsForBufferRowRange} " + } + }, + "926": { + "14": { + "name": "moveLineUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 926, + 14 + ], + [ + 979, + 1 + ] + ], + "doc": " Private: Move lines intersection the most recent selection up by one row in screen\ncoordinates. " + } + }, + "979": { + "16": { + "name": "moveLineDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 979, + 16 + ], + [ + 1034, + 1 + ] + ], + "doc": " Private: Move lines intersecting the most recent selection down by one row in screen\ncoordinates. " + } + }, + "1034": { + "18": { + "name": "duplicateLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1034, + 18 + ], + [ + 1060, + 1 + ] + ], + "doc": "Private: Duplicate the most recent cursor's current line. " + } + }, + "1060": { + "17": { + "name": "duplicateLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1060, + 17 + ], + [ + 1072, + 1 + ] + ], + "doc": "Deprecated: Use {::duplicateLines} instead. " + } + }, + "1072": { + "22": { + "name": "mutateSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1072, + 22 + ], + [ + 1075, + 1 + ] + ], + "doc": " Public: Mutate the text of all the selections in a single transaction.\n\nAll the changes made inside the given {Function} can be reverted with a\nsingle call to {::undo}.\n\nfn - A {Function} that will be called once for each {Selection}. The first\n argument will be a {Selection} and the second argument will be the\n {Number} index of that selection. " + } + }, + "1075": { + "23": { + "name": "replaceSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options", + "fn" + ], + "range": [ + [ + 1075, + 23 + ], + [ + 1096, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1096": { + "32": { + "name": "decorationsForScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 1096, + 32 + ], + [ + 1137, + 1 + ] + ], + "doc": " Public: Get all the decorations within a screen row range.\n\nstartScreenRow - the {Number} beginning screen row\nendScreenRow - the {Number} end screen row (inclusive)\n\nReturns an {Object} of decorations in the form\n `{1: [{id: 10, type: 'gutter', class: 'someclass'}], 2: ...}`\n where the keys are {Marker} IDs, and the values are an array of decoration\n params objects attached to the marker.\nReturns an empty object when no decorations are found " + } + }, + "1137": { + "18": { + "name": "decorateMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "decorationParams" + ], + "range": [ + [ + 1137, + 18 + ], + [ + 1140, + 1 + ] + ], + "doc": " Public: Adds a decoration that tracks a {Marker}. When the marker moves,\nis invalidated, or is destroyed, the decoration will be updated to reflect\nthe marker's state.\n\nThere are three types of supported decorations:\n* `line`: Adds your CSS `class` to the line nodes within the range\n marked by the marker\n* `gutter`: Adds your CSS `class` to the line number nodes within the\n range marked by the marker\n* `highlight`: Adds a new highlight div to the editor surrounding the\n range marked by the marker. When the user selects text, the selection is\n visualized with a highlight decoration internally. The structure of this\n highlight will be:\n ```html\n
    \">\n \n
    \n
    \n ```\n\nmarker - A {Marker} you want this decoration to follow.\ndecorationParams - An {Object} representing the decoration eg. `{type: 'gutter', class: 'linter-error'}`\n :type - There are a few supported decoration types:\n * `gutter`: Applies the decoration to the line numbers spanned by the marker.\n * `line`: Applies the decoration to the lines spanned by the marker.\n * `highlight`: Applies the decoration to a \"highlight\" behind the marked range.\n :class - This CSS class will be applied to the decorated line number,\n line, or highlight.\n :onlyHead - If `true`, the decoration will only be applied to the head\n of the marker. Only applicable to the `line` and `gutter` types.\n :onlyEmpty - If `true`, the decoration will only be applied if the\n associated marker is empty. Only applicable to the `line` and\n `gutter` types.\n :onlyNonEmpty - If `true`, the decoration will only be applied if the\n associated marker is non-empty. Only applicable to the `line` and\n gutter types.\n\nReturns a {Decoration} object " + } + }, + "1140": { + "19": { + "name": "decorationForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 1140, + 19 + ], + [ + 1144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1144": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 1144, + 13 + ], + [ + 1148, + 1 + ] + ], + "doc": "Public: Get the {DisplayBufferMarker} for the given marker id. " + } + }, + "1148": { + "14": { + "name": "getMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1148, + 14 + ], + [ + 1170, + 1 + ] + ], + "doc": "Public: Get all {DisplayBufferMarker}s. " + } + }, + "1170": { + "15": { + "name": "findMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "properties" + ], + "range": [ + [ + 1170, + 15 + ], + [ + 1179, + 1 + ] + ], + "doc": " Public: Find all {DisplayBufferMarker}s that match the given properties.\n\nThis method finds markers based on the given properties. Markers can be\nassociated with custom properties that will be compared with basic equality.\nIn addition, there are several special properties that will be compared\nwith the range of the markers rather than their properties.\n\nproperties - An {Object} containing properties that each returned marker\n must satisfy. Markers can be associated with custom properties, which are\n compared with basic equality. In addition, several reserved properties\n can be used to filter markers based on their current range:\n :startBufferRow - Only include markers starting at this row in buffer\n coordinates.\n :endBufferRow - Only include markers ending at this row in buffer\n coordinates.\n :containsBufferRange - Only include markers containing this {Range} or\n in range-compatible {Array} in buffer coordinates.\n :containsBufferPosition - Only include markers containing this {Point}\n or {Array} of `[row, column]` in buffer coordinates. " + } + }, + "1179": { + "19": { + "name": "markScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1179, + 19 + ], + [ + 1188, + 1 + ] + ], + "doc": " Public: Mark the given range in screen coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1188": { + "19": { + "name": "markBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1188, + 19 + ], + [ + 1197, + 1 + ] + ], + "doc": " Public: Mark the given range in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1197": { + "22": { + "name": "markScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1197, + 22 + ], + [ + 1206, + 1 + ] + ], + "doc": " Public: Mark the given position in screen coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1206": { + "22": { + "name": "markBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1206, + 22 + ], + [ + 1210, + 1 + ] + ], + "doc": " Public: Mark the given position in buffer coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1210": { + "17": { + "name": "destroyMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1210, + 17 + ], + [ + 1216, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.destroyMarker} " + } + }, + "1216": { + "18": { + "name": "getMarkerCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1216, + 18 + ], + [ + 1220, + 1 + ] + ], + "doc": " Public: Get the number of markers in this editor's buffer.\n\nReturns a {Number}. " + } + }, + "1220": { + "22": { + "name": "hasMultipleCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1220, + 22 + ], + [ + 1224, + 1 + ] + ], + "doc": "Public: Determine if there are multiple cursors. " + } + }, + "1224": { + "14": { + "name": "getCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1224, + 14 + ], + [ + 1224, + 38 + ] + ], + "doc": "Public: Get an Array of all {Cursor}s. " + } + }, + "1227": { + "13": { + "name": "getCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1227, + 13 + ], + [ + 1233, + 1 + ] + ], + "doc": "Public: Get the most recently added {Cursor}. " + } + }, + "1233": { + "29": { + "name": "addCursorAtScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 1233, + 29 + ], + [ + 1240, + 1 + ] + ], + "doc": " Public: Add a cursor at the position in screen coordinates.\n\nReturns a {Cursor}. " + } + }, + "1240": { + "29": { + "name": "addCursorAtBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 1240, + 29 + ], + [ + 1245, + 1 + ] + ], + "doc": " Public: Add a cursor at the given position in buffer coordinates.\n\nReturns a {Cursor}. " + } + }, + "1245": { + "13": { + "name": "addCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1245, + 13 + ], + [ + 1255, + 1 + ] + ], + "doc": "Private: Add a cursor based on the given {DisplayBufferMarker}. " + } + }, + "1255": { + "16": { + "name": "removeCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursor" + ], + "range": [ + [ + 1255, + 16 + ], + [ + 1264, + 1 + ] + ], + "doc": "Private: Remove the given cursor from this editor. " + } + }, + "1264": { + "16": { + "name": "addSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "options" + ], + "range": [ + [ + 1264, + 16 + ], + [ + 1288, + 1 + ] + ], + "doc": " Private: Add a {Selection} based on the given {DisplayBufferMarker}.\n\nmarker - The {DisplayBufferMarker} to highlight\noptions - An {Object} that pertains to the {Selection} constructor.\n\nReturns the new {Selection}. " + } + }, + "1288": { + "30": { + "name": "addSelectionForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 1288, + 30 + ], + [ + 1301, + 1 + ] + ], + "doc": " Public: Add a selection for the given range in buffer coordinates.\n\nbufferRange - A {Range}\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation.\n\nReturns the added {Selection}. " + } + }, + "1301": { + "26": { + "name": "setSelectedBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 1301, + 26 + ], + [ + 1311, + 1 + ] + ], + "doc": " Public: Set the selected range in buffer coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nbufferRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1311": { + "26": { + "name": "setSelectedScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 1311, + 26 + ], + [ + 1321, + 1 + ] + ], + "doc": " Public: Set the selected range in screen coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nscreenRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1321": { + "27": { + "name": "setSelectedBufferRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRanges", + "options" + ], + "range": [ + [ + 1321, + 27 + ], + [ + 1336, + 1 + ] + ], + "doc": " Public: Set the selected ranges in buffer coordinates. If there are multiple\nselections, they are replaced by new selections with the given ranges.\n\nbufferRanges - An {Array} of {Range}s or range-compatible {Array}s.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1336": { + "19": { + "name": "removeSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 1336, + 19 + ], + [ + 1342, + 1 + ] + ], + "doc": "Private: Remove the given selection. " + } + }, + "1342": { + "19": { + "name": "clearSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1342, + 19 + ], + [ + 1347, + 1 + ] + ], + "doc": " Private: Reduce one or more selections to a single empty selection based on the most\nrecently added cursor. " + } + }, + "1347": { + "25": { + "name": "consolidateSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1347, + 25 + ], + [ + 1355, + 1 + ] + ], + "doc": "Private: Reduce multiple selections to the most recently added selection. " + } + }, + "1355": { + "31": { + "name": "selectionScreenRangeChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 1355, + 31 + ], + [ + 1361, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1361": { + "17": { + "name": "getSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1361, + 17 + ], + [ + 1361, + 44 + ] + ], + "doc": " Public: Get current {Selection}s.\n\nReturns: An {Array} of {Selection}s. " + } + }, + "1363": { + "27": { + "name": "selectionsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1363, + 27 + ], + [ + 1374, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1374": { + "16": { + "name": "getSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 1374, + 16 + ], + [ + 1381, + 1 + ] + ], + "doc": " Public: Get the most recent {Selection} or the selection at the given\nindex.\n\nindex - Optional. The index of the selection to return, based on the order\n in which the selections were added.\n\nReturns a {Selection}.\nor the at the specified index. " + } + }, + "1381": { + "20": { + "name": "getLastSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1381, + 20 + ], + [ + 1388, + 1 + ] + ], + "doc": " Public: Get the most recently added {Selection}.\n\nReturns a {Selection}. " + } + }, + "1388": { + "40": { + "name": "getSelectionsOrderedByBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1388, + 40 + ], + [ + 1394, + 1 + ] + ], + "doc": " Public: Get all {Selection}s, ordered by their position in the buffer\ninstead of the order in which they were added.\n\nReturns an {Array} of {Selection}s. " + } + }, + "1394": { + "28": { + "name": "getLastSelectionInBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1394, + 28 + ], + [ + 1403, + 1 + ] + ], + "doc": " Public: Get the last {Selection} based on its position in the buffer.\n\nReturns a {Selection}. " + } + }, + "1403": { + "34": { + "name": "selectionIntersectsBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 1403, + 34 + ], + [ + 1415, + 1 + ] + ], + "doc": " Public: Determine if a given range in buffer coordinates intersects a\nselection.\n\nbufferRange - A {Range} or range-compatible {Array}.\n\nReturns a {Boolean}. " + } + }, + "1415": { + "27": { + "name": "setCursorScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "options" + ], + "range": [ + [ + 1415, + 27 + ], + [ + 1422, + 1 + ] + ], + "doc": " Public: Move the cursor to the given position in screen coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " + } + }, + "1422": { + "27": { + "name": "getCursorScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1422, + 27 + ], + [ + 1428, + 1 + ] + ], + "doc": " Public: Get the position of the most recently added cursor in screen\ncoordinates.\n\nReturns a {Point}. " + } + }, + "1428": { + "22": { + "name": "getCursorScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1428, + 22 + ], + [ + 1439, + 1 + ] + ], + "doc": " Public: Get the row of the most recently added cursor in screen coordinates.\n\nReturns the screen row {Number}. " + } + }, + "1439": { + "27": { + "name": "setCursorBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "options" + ], + "range": [ + [ + 1439, + 27 + ], + [ + 1446, + 1 + ] + ], + "doc": " Public: Move the cursor to the given position in buffer coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " + } + }, + "1446": { + "27": { + "name": "getCursorBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1446, + 27 + ], + [ + 1453, + 1 + ] + ], + "doc": " Public: Get the position of the most recently added cursor in buffer\ncoordinates.\n\nReturns a {Point}. " + } + }, + "1453": { + "26": { + "name": "getSelectedScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1453, + 26 + ], + [ + 1460, + 1 + ] + ], + "doc": " Public: Get the {Range} of the most recently added selection in screen\ncoordinates.\n\nReturns a {Range}. " + } + }, + "1460": { + "26": { + "name": "getSelectedBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1460, + 26 + ], + [ + 1468, + 1 + ] + ], + "doc": " Public: Get the {Range} of the most recently added selection in buffer\ncoordinates.\n\nReturns a {Range}. " + } + }, + "1468": { + "27": { + "name": "getSelectedBufferRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1468, + 27 + ], + [ + 1476, + 1 + ] + ], + "doc": " Public: Get the {Range}s of all selections in buffer coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " + } + }, + "1476": { + "27": { + "name": "getSelectedScreenRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1476, + 27 + ], + [ + 1482, + 1 + ] + ], + "doc": " Public: Get the {Range}s of all selections in screen coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " + } + }, + "1482": { + "19": { + "name": "getSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1482, + 19 + ], + [ + 1490, + 1 + ] + ], + "doc": " Public: Get the selected text of the most recently added selection.\n\nReturns a {String}. " + } + }, + "1490": { + "24": { + "name": "getTextInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 1490, + 24 + ], + [ + 1499, + 1 + ] + ], + "doc": " Public: Get the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\n\nReturns a {String}. " + } + }, + "1499": { + "24": { + "name": "setTextInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range", + "text", + "normalizeLineEndings" + ], + "range": [ + [ + 1499, + 24 + ], + [ + 1499, + 124 + ] + ], + "doc": " Public: Set the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\ntext - A {String}\n\nReturns the {Range} of the newly-inserted text. " + } + }, + "1505": { + "34": { + "name": "getCurrentParagraphBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1505, + 34 + ], + [ + 1511, + 1 + ] + ], + "doc": " Public: Get the {Range} of the paragraph surrounding the most recently added\ncursor.\n\nReturns a {Range}. " + } + }, + "1511": { + "22": { + "name": "getWordUnderCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 1511, + 22 + ], + [ + 1515, + 1 + ] + ], + "doc": " Public: Returns the word surrounding the most recently added cursor.\n\noptions - See {Cursor::getBeginningOfCurrentWordBufferPosition}. " + } + }, + "1515": { + "16": { + "name": "moveCursorUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineCount" + ], + "range": [ + [ + 1515, + 16 + ], + [ + 1519, + 1 + ] + ], + "doc": "Public: Move every cursor up one row in screen coordinates. " + } + }, + "1519": { + "18": { + "name": "moveCursorDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineCount" + ], + "range": [ + [ + 1519, + 18 + ], + [ + 1523, + 1 + ] + ], + "doc": "Public: Move every cursor down one row in screen coordinates. " + } + }, + "1523": { + "18": { + "name": "moveCursorLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1523, + 18 + ], + [ + 1527, + 1 + ] + ], + "doc": "Public: Move every cursor left one column. " + } + }, + "1527": { + "19": { + "name": "moveCursorRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1527, + 19 + ], + [ + 1533, + 1 + ] + ], + "doc": "Public: Move every cursor right one column. " + } + }, + "1533": { + "19": { + "name": "moveCursorToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1533, + 19 + ], + [ + 1539, + 1 + ] + ], + "doc": " Public: Move every cursor to the top of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " + } + }, + "1539": { + "22": { + "name": "moveCursorToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1539, + 22 + ], + [ + 1543, + 1 + ] + ], + "doc": " Public: Move every cursor to the bottom of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " + } + }, + "1543": { + "37": { + "name": "moveCursorToBeginningOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1543, + 37 + ], + [ + 1547, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its line in screen coordinates. " + } + }, + "1547": { + "31": { + "name": "moveCursorToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1547, + 31 + ], + [ + 1551, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its line in buffer coordinates. " + } + }, + "1551": { + "36": { + "name": "moveCursorToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1551, + 36 + ], + [ + 1555, + 1 + ] + ], + "doc": "Public: Move every cursor to the first non-whitespace character of its line. " + } + }, + "1555": { + "31": { + "name": "moveCursorToEndOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1555, + 31 + ], + [ + 1559, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its line in screen coordinates. " + } + }, + "1559": { + "25": { + "name": "moveCursorToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1559, + 25 + ], + [ + 1563, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its line in buffer coordinates. " + } + }, + "1563": { + "31": { + "name": "moveCursorToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1563, + 31 + ], + [ + 1567, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its surrounding word. " + } + }, + "1567": { + "25": { + "name": "moveCursorToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1567, + 25 + ], + [ + 1571, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its surrounding word. " + } + }, + "1571": { + "35": { + "name": "moveCursorToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1571, + 35 + ], + [ + 1575, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the next word. " + } + }, + "1575": { + "36": { + "name": "moveCursorToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1575, + 36 + ], + [ + 1579, + 1 + ] + ], + "doc": "Public: Move every cursor to the previous word boundary. " + } + }, + "1579": { + "32": { + "name": "moveCursorToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1579, + 32 + ], + [ + 1583, + 1 + ] + ], + "doc": "Public: Move every cursor to the next word boundary. " + } + }, + "1583": { + "40": { + "name": "moveCursorToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1583, + 40 + ], + [ + 1587, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the next paragraph. " + } + }, + "1587": { + "44": { + "name": "moveCursorToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1587, + 44 + ], + [ + 1596, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the previous paragraph. " + } + }, + "1596": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 1596, + 26 + ], + [ + 1599, + 1 + ] + ], + "doc": " Public: Scroll the editor to reveal the most recently added cursor if it is\noff-screen.\n\noptions - An optional hash of options.\n :center - Center the editor around the cursor if possible. Defauls to\n true. " + } + }, + "1599": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1599, + 10 + ], + [ + 1604, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1604": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1604, + 12 + ], + [ + 1609, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1609": { + "16": { + "name": "selectPageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1609, + 16 + ], + [ + 1612, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1612": { + "18": { + "name": "selectPageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1612, + 18 + ], + [ + 1616, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1616": { + "18": { + "name": "getRowsPerPage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1616, + 18 + ], + [ + 1619, + 1 + ] + ], + "doc": "Private: Returns the number of rows per page " + } + }, + "1619": { + "15": { + "name": "moveCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1619, + 15 + ], + [ + 1626, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1626": { + "15": { + "name": "cursorMoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 1626, + 15 + ], + [ + 1636, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1636": { + "26": { + "name": "selectToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1636, + 26 + ], + [ + 1645, + 1 + ] + ], + "doc": " Public: Select from the current cursor position to the given position in\nscreen coordinates.\n\nThis method may merge selections that end up intesecting.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "1645": { + "15": { + "name": "selectRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1645, + 15 + ], + [ + 1652, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character rightward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1652": { + "14": { + "name": "selectLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1652, + 14 + ], + [ + 1659, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character leftward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1659": { + "12": { + "name": "selectUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 1659, + 12 + ], + [ + 1666, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character upward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1666": { + "14": { + "name": "selectDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 1666, + 14 + ], + [ + 1673, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character downward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1673": { + "15": { + "name": "selectToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1673, + 15 + ], + [ + 1679, + 1 + ] + ], + "doc": " Public: Select from the top of the buffer to the end of the last selection\nin the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1679": { + "13": { + "name": "selectAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1679, + 13 + ], + [ + 1686, + 1 + ] + ], + "doc": " Public: Select all text in the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1686": { + "18": { + "name": "selectToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1686, + 18 + ], + [ + 1693, + 1 + ] + ], + "doc": " Public: Selects from the top of the first selection in the buffer to the end\nof the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1693": { + "27": { + "name": "selectToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1693, + 27 + ], + [ + 1702, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the beginning of its line\nwhile preserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1702": { + "32": { + "name": "selectToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1702, + 32 + ], + [ + 1709, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the first non-whitespace\ncharacter of its line while preserving the selection's tail position. If the\ncursor is already on the first character of the line, move it to the\nbeginning of the line.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1709": { + "21": { + "name": "selectToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1709, + 21 + ], + [ + 1716, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the end of its line while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1716": { + "32": { + "name": "selectToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1716, + 32 + ], + [ + 1723, + 1 + ] + ], + "doc": " Public: For each selection, move its cursor to the preceding word boundary\nwhile maintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1723": { + "28": { + "name": "selectToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1723, + 28 + ], + [ + 1729, + 1 + ] + ], + "doc": " Public: For each selection, move its cursor to the next word boundary while\nmaintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1729": { + "14": { + "name": "selectLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1729, + 14 + ], + [ + 1740, + 1 + ] + ], + "doc": " Public: For each cursor, select the containing line.\n\nThis method merges selections on successive lines. " + } + }, + "1740": { + "21": { + "name": "addSelectionBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1740, + 21 + ], + [ + 1751, + 1 + ] + ], + "doc": " Public: Add a similarly-shaped selection to the next eligible line below\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next following non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " + } + }, + "1751": { + "21": { + "name": "addSelectionAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1751, + 21 + ], + [ + 1759, + 1 + ] + ], + "doc": " Public: Add a similarly-shaped selection to the next eligible line above\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next preceding non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " + } + }, + "1759": { + "28": { + "name": "splitSelectionsIntoLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1759, + 28 + ], + [ + 1776, + 1 + ] + ], + "doc": " Public: Split multi-line selections into one selection per line.\n\nOperates on all selections. This method breaks apart all multi-line\nselections to create multiple single-line selections that cumulatively cover\nthe same original area. " + } + }, + "1776": { + "13": { + "name": "transpose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1776, + 13 + ], + [ + 1791, + 1 + ] + ], + "doc": " Public: For each selection, transpose the selected text.\n\nIf the selection is empty, the characters preceding and following the cursor\nare swapped. Otherwise, the selected characters are reversed. " + } + }, + "1791": { + "13": { + "name": "upperCase", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1791, + 13 + ], + [ + 1798, + 1 + ] + ], + "doc": " Public: Convert the selected text to upper case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " + } + }, + "1798": { + "13": { + "name": "lowerCase", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1798, + 13 + ], + [ + 1809, + 1 + ] + ], + "doc": " Public: Convert the selected text to lower case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " + } + }, + "1809": { + "13": { + "name": "joinLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1809, + 13 + ], + [ + 1816, + 1 + ] + ], + "doc": " Private: Convert multiple lines to a single line.\n\nOperates on all selections. If the selection is empty, joins the current\nline with the next line. Otherwise it joins all lines that intersect the\nselection.\n\nJoining a line means that multiple lines are converted to a single line with\nthe contents of each of the original non-empty lines separated by a space. " + } + }, + "1816": { + "27": { + "name": "selectToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1816, + 27 + ], + [ + 1823, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of their containing word.\n\nOperates on all selections. Moves the cursor to the beginning of the\ncontaining word while preserving the selection's tail position. " + } + }, + "1823": { + "21": { + "name": "selectToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1823, + 21 + ], + [ + 1830, + 1 + ] + ], + "doc": " Public: Expand selections to the end of their containing word.\n\nOperates on all selections. Moves the cursor to the end of the containing\nword while preserving the selection's tail position. " + } + }, + "1830": { + "31": { + "name": "selectToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1830, + 31 + ], + [ + 1834, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next word.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nword while preserving the selection's tail position. " + } + }, + "1834": { + "14": { + "name": "selectWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1834, + 14 + ], + [ + 1841, + 1 + ] + ], + "doc": "Public: Select the word containing each cursor. " + } + }, + "1841": { + "36": { + "name": "selectToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1841, + 36 + ], + [ + 1848, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " + } + }, + "1848": { + "40": { + "name": "selectToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1848, + 40 + ], + [ + 1856, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " + } + }, + "1856": { + "16": { + "name": "selectMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1856, + 16 + ], + [ + 1863, + 1 + ] + ], + "doc": " Public: Select the range of the given marker if it is valid.\n\nmarker - A {DisplayBufferMarker}\n\nReturns the selected {Range} or `undefined` if the marker is invalid. " + } + }, + "1863": { + "16": { + "name": "mergeCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1863, + 16 + ], + [ + 1873, + 1 + ] + ], + "doc": "Private: Merge cursors that have the same screen position " + } + }, + "1873": { + "27": { + "name": "expandSelectionsForward", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1873, + 27 + ], + [ + 1879, + 1 + ] + ], + "doc": "Private: Calls the given function with each selection, then merges selections " + } + }, + "1879": { + "28": { + "name": "expandSelectionsBackward", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1879, + 28 + ], + [ + 1883, + 1 + ] + ], + "doc": " Private: Calls the given function with each selection, then merges selections in the\nreversed orientation " + } + }, + "1883": { + "22": { + "name": "finalizeSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1883, + 22 + ], + [ + 1889, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1889": { + "31": { + "name": "mergeIntersectingSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1889, + 31 + ], + [ + 1910, + 1 + ] + ], + "doc": " Private: Merges intersecting selections. If passed a function, it executes\nthe function with merging suppressed, then merges intersecting selections\nafterward. " + } + }, + "1910": { + "40": { + "name": "preserveCursorPositionOnBufferReload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1910, + 40 + ], + [ + 1919, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1919": { + "14": { + "name": "getGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1919, + 14 + ], + [ + 1926, + 1 + ] + ], + "doc": "Public: Get the current {Grammar} of this editor. " + } + }, + "1926": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 1926, + 14 + ], + [ + 1930, + 1 + ] + ], + "doc": " Public: Set the current {Grammar} of this editor.\n\nAssigning a grammar will cause the editor to re-tokenize based on the new\ngrammar. " + } + }, + "1930": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1930, + 17 + ], + [ + 1933, + 1 + ] + ], + "doc": "Private: Reload the grammar based on the file name. " + } + }, + "1933": { + "20": { + "name": "shouldAutoIndent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1933, + 20 + ], + [ + 1944, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1944": { + "12": { + "name": "transact", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1944, + 12 + ], + [ + 1944, + 39 + ] + ], + "doc": " Public: Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " + } + }, + "1952": { + "20": { + "name": "beginTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1952, + 20 + ], + [ + 1952, + 48 + ] + ], + "doc": " Public: Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " + } + }, + "1958": { + "21": { + "name": "commitTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1958, + 21 + ], + [ + 1958, + 50 + ] + ], + "doc": " Public: Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " + } + }, + "1962": { + "20": { + "name": "abortTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1962, + 20 + ], + [ + 1962, + 48 + ] + ], + "doc": " Public: Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " + } + }, + "1964": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1964, + 11 + ], + [ + 1967, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1967": { + "18": { + "name": "logScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 1967, + 18 + ], + [ + 1967, + 68 + ] + ], + "doc": "~Private~" + } + }, + "1969": { + "22": { + "name": "handleTokenization", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1969, + 22 + ], + [ + 1972, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1972": { + "23": { + "name": "handleGrammarChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1972, + 23 + ], + [ + 1976, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1976": { + "23": { + "name": "handleMarkerCreated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1976, + 23 + ], + [ + 1980, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1980": { + "32": { + "name": "getSelectionMarkerAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1980, + 32 + ], + [ + 1983, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1983": { + "27": { + "name": "getVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1983, + 27 + ], + [ + 1983, + 69 + ] + ], + "doc": "~Private~" + } + }, + "1984": { + "27": { + "name": "setVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "verticalScrollMargin" + ], + "range": [ + [ + 1984, + 27 + ], + [ + 1984, + 112 + ] + ] + } + }, + "1986": { + "29": { + "name": "getHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1986, + 29 + ], + [ + 1986, + 73 + ] + ], + "doc": "~Private~" + } + }, + "1987": { + "29": { + "name": "setHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "horizontalScrollMargin" + ], + "range": [ + [ + 1987, + 29 + ], + [ + 1987, + 120 + ] + ] + } + }, + "1989": { + "25": { + "name": "getLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1989, + 25 + ], + [ + 1989, + 65 + ] + ], + "doc": "~Private~" + } + }, + "1990": { + "25": { + "name": "setLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeightInPixels" + ], + "range": [ + [ + 1990, + 25 + ], + [ + 1990, + 104 + ] + ] + } + }, + "1992": { + "29": { + "name": "batchCharacterMeasurement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1992, + 29 + ], + [ + 1992, + 80 + ] + ], + "doc": "~Private~" + } + }, + "1994": { + "22": { + "name": "getScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char" + ], + "range": [ + [ + 1994, + 22 + ], + [ + 1994, + 94 + ] + ], + "doc": "~Private~" + } + }, + "1995": { + "22": { + "name": "setScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char", + "width" + ], + "range": [ + [ + 1995, + 22 + ], + [ + 1995, + 108 + ] + ] + } + }, + "1997": { + "23": { + "name": "getScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames" + ], + "range": [ + [ + 1997, + 23 + ], + [ + 1997, + 84 + ] + ], + "doc": "~Private~" + } + }, + "1999": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1999, + 25 + ], + [ + 1999, + 65 + ] + ], + "doc": "~Private~" + } + }, + "2001": { + "23": { + "name": "getDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2001, + 23 + ], + [ + 2001, + 61 + ] + ], + "doc": "~Private~" + } + }, + "2002": { + "23": { + "name": "setDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultCharWidth" + ], + "range": [ + [ + 2002, + 23 + ], + [ + 2002, + 96 + ] + ] + } + }, + "2004": { + "13": { + "name": "setHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "height" + ], + "range": [ + [ + 2004, + 13 + ], + [ + 2004, + 56 + ] + ], + "doc": "~Private~" + } + }, + "2005": { + "13": { + "name": "getHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2005, + 13 + ], + [ + 2005, + 41 + ] + ] + } + }, + "2007": { + "19": { + "name": "getClientHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2007, + 19 + ], + [ + 2007, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2009": { + "12": { + "name": "setWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width" + ], + "range": [ + [ + 2009, + 12 + ], + [ + 2009, + 52 + ] + ], + "doc": "~Private~" + } + }, + "2010": { + "12": { + "name": "getWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2010, + 12 + ], + [ + 2010, + 39 + ] + ] + } + }, + "2012": { + "16": { + "name": "getScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2012, + 16 + ], + [ + 2012, + 47 + ] + ], + "doc": "~Private~" + } + }, + "2013": { + "16": { + "name": "setScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 2013, + 16 + ], + [ + 2013, + 68 + ] + ] + } + }, + "2015": { + "19": { + "name": "getScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2015, + 19 + ], + [ + 2015, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2016": { + "19": { + "name": "setScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 2016, + 19 + ], + [ + 2016, + 80 + ] + ] + } + }, + "2018": { + "17": { + "name": "getScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2018, + 17 + ], + [ + 2018, + 49 + ] + ], + "doc": "~Private~" + } + }, + "2019": { + "17": { + "name": "setScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 2019, + 17 + ], + [ + 2019, + 72 + ] + ] + } + }, + "2021": { + "18": { + "name": "getScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2021, + 18 + ], + [ + 2021, + 51 + ] + ], + "doc": "~Private~" + } + }, + "2022": { + "18": { + "name": "setScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 2022, + 18 + ], + [ + 2022, + 76 + ] + ] + } + }, + "2024": { + "19": { + "name": "getScrollHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2024, + 19 + ], + [ + 2024, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2025": { + "18": { + "name": "getScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollWidth" + ], + "range": [ + [ + 2025, + 18 + ], + [ + 2025, + 76 + ] + ] + } + }, + "2027": { + "22": { + "name": "getVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2027, + 22 + ], + [ + 2027, + 59 + ] + ], + "doc": "~Private~" + } + }, + "2029": { + "29": { + "name": "intersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 2029, + 29 + ], + [ + 2029, + 108 + ] + ], + "doc": "~Private~" + } + }, + "2031": { + "38": { + "name": "selectionIntersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 2031, + 38 + ], + [ + 2031, + 112 + ] + ], + "doc": "~Private~" + } + }, + "2033": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 2033, + 34 + ], + [ + 2033, + 114 + ] + ], + "doc": "~Private~" + } + }, + "2035": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 2035, + 34 + ], + [ + 2035, + 114 + ] + ], + "doc": "~Private~" + } + }, + "2037": { + "34": { + "name": "screenPositionForPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 2037, + 34 + ], + [ + 2037, + 112 + ] + ], + "doc": "~Private~" + } + }, + "2039": { + "27": { + "name": "pixelRectForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 2039, + 27 + ], + [ + 2039, + 94 + ] + ], + "doc": "~Private~" + } + }, + "2041": { + "23": { + "name": "scrollToScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 2041, + 23 + ], + [ + 2041, + 104 + ] + ], + "doc": "~Private~" + } + }, + "2043": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 2043, + 26 + ], + [ + 2043, + 116 + ] + ], + "doc": "~Private~" + } + }, + "2045": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 2045, + 26 + ], + [ + 2045, + 116 + ] + ], + "doc": "~Private~" + } + }, + "2047": { + "26": { + "name": "horizontallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2047, + 26 + ], + [ + 2047, + 67 + ] + ], + "doc": "~Private~" + } + }, + "2049": { + "24": { + "name": "verticallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2049, + 24 + ], + [ + 2049, + 63 + ] + ], + "doc": "~Private~" + } + }, + "2051": { + "32": { + "name": "getHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2051, + 32 + ], + [ + 2051, + 79 + ] + ], + "doc": "~Private~" + } + }, + "2052": { + "32": { + "name": "setHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "height" + ], + "range": [ + [ + 2052, + 32 + ], + [ + 2052, + 94 + ] + ] + } + }, + "2054": { + "29": { + "name": "getVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2054, + 29 + ], + [ + 2054, + 73 + ] + ], + "doc": "~Private~" + } + }, + "2055": { + "29": { + "name": "setVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width" + ], + "range": [ + [ + 2055, + 29 + ], + [ + 2055, + 86 + ] + ] + } + }, + "2058": { + "12": { + "name": "joinLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2058, + 12 + ], + [ + 2060, + 16 + ] + ], + "doc": "Deprecated: Call {::joinLines} instead. " + } + } + }, + "exports": 138 + }, + "src/fold.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "7": { + "0": { + "type": "class", + "name": "Fold", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 8, + 6 + ], + [ + 9, + 17 + ], + [ + 10, + 10 + ], + [ + 12, + 15 + ], + [ + 20, + 22 + ], + [ + 27, + 11 + ], + [ + 35, + 18 + ], + [ + 48, + 21 + ], + [ + 53, + 15 + ], + [ + 57, + 13 + ], + [ + 61, + 11 + ], + [ + 67, + 21 + ], + [ + 75, + 21 + ], + [ + 78, + 23 + ], + [ + 82, + 13 + ] + ], + "doc": " Private: Represents a fold that collapses multiple buffer lines into a single\nline on the screen.\n\nTheir creation is managed by the {DisplayBuffer}. ", + "range": [ + [ + 7, + 0 + ], + [ + 84, + 26 + ] + ] + } + }, + "8": { + "6": { + "name": "id", + "type": "primitive", + "range": [ + [ + 8, + 6 + ], + [ + 8, + 9 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "17": { + "name": "displayBuffer", + "type": "primitive", + "range": [ + [ + 9, + 17 + ], + [ + 9, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "10": { + "name": "marker", + "type": "primitive", + "range": [ + [ + 10, + 10 + ], + [ + 10, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 20, + 1 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "22": { + "name": "isInsideLargerFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 22 + ], + [ + 27, + 1 + ] + ], + "doc": "Private: Returns whether this fold is contained within another fold " + } + }, + "27": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 11 + ], + [ + 35, + 1 + ] + ], + "doc": "Private: Destroys this fold " + } + }, + "35": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 35, + 18 + ], + [ + 48, + 1 + ] + ], + "doc": " Private: Returns the fold's {Range} in buffer coordinates\n\nincludeNewline - A {Boolean} which, if `true`, includes the trailing newline\n\nReturns a {Range}. " + } + }, + "48": { + "21": { + "name": "getBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 21 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "15": { + "name": "getStartRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 15 + ], + [ + 57, + 1 + ] + ], + "doc": "Private: Returns the fold's start row as a {Number}. " + } + }, + "57": { + "13": { + "name": "getEndRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 13 + ], + [ + 61, + 1 + ] + ], + "doc": "Private: Returns the fold's end row as a {Number}. " + } + }, + "61": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 11 + ], + [ + 67, + 1 + ] + ], + "doc": "Private: Returns a {String} representation of the fold. " + } + }, + "67": { + "21": { + "name": "getBufferRowCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 21 + ], + [ + 75, + 1 + ] + ], + "doc": " Private: Retrieves the number of buffer rows spanned by the fold.\n\nReturns a {Number}. " + } + }, + "75": { + "21": { + "name": "isContainedByFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fold" + ], + "range": [ + [ + 75, + 21 + ], + [ + 78, + 1 + ] + ], + "doc": " Private: Identifies if a fold is nested within a fold.\n\nfold - A {Fold} to check\n\nReturns a {Boolean}. " + } + }, + "78": { + "23": { + "name": "updateDisplayBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 78, + 23 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 13 + ], + [ + 84, + 26 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 7 + }, + "src/git.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true, + "name": "join", + "exportsProperty": "join" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "5": { + "11": { + "name": "GitUtils", + "type": "import", + "range": [ + [ + 5, + 11 + ], + [ + 5, + 29 + ] + ], + "bindingType": "variable", + "module": "git-utils" + } + }, + "7": { + "7": { + "name": "Task", + "type": "import", + "range": [ + [ + 7, + 7 + ], + [ + 7, + 22 + ] + ], + "bindingType": "variable", + "path": "./task" + } + }, + "40": { + "0": { + "type": "class", + "name": "Git", + "bindingType": "exports", + "classProperties": [ + [ + 52, + 9 + ], + [ + 59, + 11 + ] + ], + "prototypeProperties": [ + [ + 66, + 15 + ], + [ + 89, + 21 + ], + [ + 97, + 11 + ], + [ + 109, + 11 + ], + [ + 117, + 16 + ], + [ + 120, + 11 + ], + [ + 124, + 23 + ], + [ + 132, + 17 + ], + [ + 149, + 17 + ], + [ + 152, + 20 + ], + [ + 155, + 18 + ], + [ + 158, + 15 + ], + [ + 161, + 13 + ], + [ + 165, + 19 + ], + [ + 169, + 14 + ], + [ + 181, + 16 + ], + [ + 196, + 16 + ], + [ + 209, + 21 + ], + [ + 222, + 16 + ], + [ + 231, + 15 + ], + [ + 247, + 22 + ], + [ + 265, + 16 + ], + [ + 276, + 18 + ], + [ + 282, + 16 + ], + [ + 291, + 21 + ], + [ + 298, + 22 + ], + [ + 310, + 17 + ], + [ + 318, + 23 + ], + [ + 330, + 37 + ], + [ + 338, + 23 + ], + [ + 342, + 13 + ], + [ + 346, + 17 + ] + ], + "doc": " Public: Represents the underlying git operations performed by Atom.\n\nThis class shouldn't be instantiated directly but instead by accessing the\n`atom.project` global and calling `getRepo()`. Note that this will only be\navailable when the project is backed by a Git repository.\n\nThis class handles submodules automatically by taking a `path` argument to many\nof the methods. This `path` argument will determine which underlying\nrepository is used.\n\nFor a repository with submodules this would have the following outcome:\n\n```coffee\nrepo = atom.project.getRepo()\nrepo.getShortHead() # 'master'\nrepo.getShortHead('vendor/path/to/a/submodule') # 'dead1234'\n```\n\n## Example\n\n```coffeescript\ngit = atom.project.getRepo()\nconsole.log git.getOriginUrl()\n```\n\n## Requiring in packages\n\n```coffee\n {Git} = require 'atom'\n``` ", + "range": [ + [ + 40, + 0 + ], + [ + 364, + 55 + ] + ] + } + }, + "52": { + "9": { + "name": "open", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "path", + "options" + ], + "range": [ + [ + 52, + 9 + ], + [ + 59, + 1 + ] + ], + "doc": " Public: Creates a new Git instance.\n\npath - The path to the Git repository to open.\noptions - An object with the following keys (default: {}):\n :refreshOnWindowFocus - `true` to refresh the index and statuses when the\n window is focused.\n\nReturns a Git instance or null if the repository could not be opened. " + } + }, + "59": { + "11": { + "name": "exists", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 59, + 11 + ], + [ + 66, + 1 + ] + ], + "doc": "~Private~" + } + }, + "66": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "options" + ], + "range": [ + [ + 66, + 15 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "subscribeToBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer" + ], + "range": [ + [ + 89, + 21 + ], + [ + 97, + 1 + ] + ], + "doc": "Private: Subscribes to buffer events. " + } + }, + "97": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 97, + 11 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Destroy this `Git` object. This destroys any tasks and subscriptions\nand releases the underlying libgit2 repository handle. " + } + }, + "109": { + "11": { + "name": "getRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 109, + 11 + ], + [ + 117, + 1 + ] + ], + "doc": "Private: Returns the corresponding {Repository} " + } + }, + "117": { + "16": { + "name": "refreshIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 16 + ], + [ + 117, + 43 + ] + ], + "doc": " Private: Reread the index to update any values that have changed since the\nlast time the index was read. " + } + }, + "120": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 120, + 11 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Returns the {String} path of the repository. " + } + }, + "124": { + "23": { + "name": "getWorkingDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 23 + ], + [ + 124, + 57 + ] + ], + "doc": "Public: Returns the {String} working directory path of the repository. " + } + }, + "132": { + "17": { + "name": "getPathStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 132, + 17 + ], + [ + 149, + 1 + ] + ], + "doc": " Public: Get the status of a single path in the repository.\n\npath - A {String} repository-relative path.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " + } + }, + "149": { + "17": { + "name": "isPathIgnored", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 149, + 17 + ], + [ + 149, + 65 + ] + ], + "doc": " Public: Is the given path ignored?\n\nReturns a {Boolean}. " + } + }, + "152": { + "20": { + "name": "isStatusModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 152, + 20 + ], + [ + 152, + 66 + ] + ], + "doc": "Public: Returns true if the given status indicates modification. " + } + }, + "155": { + "18": { + "name": "isPathModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 155, + 18 + ], + [ + 155, + 66 + ] + ], + "doc": "Public: Returns true if the given path is modified. " + } + }, + "158": { + "15": { + "name": "isStatusNew", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 158, + 15 + ], + [ + 158, + 56 + ] + ], + "doc": "Public: Returns true if the given status indicates a new path. " + } + }, + "161": { + "13": { + "name": "isPathNew", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 161, + 13 + ], + [ + 161, + 56 + ] + ], + "doc": "Public: Returns true if the given path is new. " + } + }, + "165": { + "19": { + "name": "isProjectAtRoot", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 19 + ], + [ + 169, + 1 + ] + ], + "doc": " Public: Returns true if at the root, false if in a subfolder of the\nrepository. " + } + }, + "169": { + "14": { + "name": "relativize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 169, + 14 + ], + [ + 169, + 50 + ] + ], + "doc": "Public: Makes a path relative to the repository's working directory. " + } + }, + "181": { + "16": { + "name": "getShortHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 181, + 16 + ], + [ + 181, + 54 + ] + ], + "doc": " Public: Retrieves a shortened version of the HEAD reference value.\n\nThis removes the leading segments of `refs/heads`, `refs/tags`, or\n`refs/remotes`. It also shortens the SHA-1 of a detached `HEAD` to 7\ncharacters.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository contains submodules.\n\nReturns a {String}. " + } + }, + "196": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 196, + 16 + ], + [ + 209, + 1 + ] + ], + "doc": " Public: Restore the contents of a path in the working directory and index\nto the version at `HEAD`.\n\nThis is essentially the same as running:\n\n```\ngit reset HEAD -- \ngit checkout HEAD -- \n```\n\npath - The {String} path to checkout.\n\nReturns a {Boolean} that's true if the method was successful. " + } + }, + "209": { + "21": { + "name": "checkoutReference", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "create" + ], + "range": [ + [ + 209, + 21 + ], + [ + 222, + 1 + ] + ], + "doc": " Public: Checks out a branch in your repository.\n\nreference - The String reference to checkout\ncreate - A Boolean value which, if true creates the new reference if it\n doesn't exist.\n\nReturns a Boolean that's true if the method was successful. " + } + }, + "222": { + "16": { + "name": "getDiffStats", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 222, + 16 + ], + [ + 231, + 1 + ] + ], + "doc": " Public: Retrieves the number of lines added and removed to a path.\n\nThis compares the working directory contents of the path to the `HEAD`\nversion.\n\npath - The {String} path to check.\n\nReturns an {Object} with the following keys:\n :added - The {Number} of added lines.\n :deleted - The {Number} of deleted lines. " + } + }, + "231": { + "15": { + "name": "isSubmodule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 231, + 15 + ], + [ + 247, + 1 + ] + ], + "doc": " Public: Is the given path a submodule in the repository?\n\npath - The {String} path to check.\n\nReturns a {Boolean}. " + } + }, + "247": { + "22": { + "name": "getDirectoryStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "directoryPath" + ], + "range": [ + [ + 247, + 22 + ], + [ + 265, + 1 + ] + ], + "doc": " Public: Get the status of a directory in the repository's working directory.\n\npath - The {String} path to check.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " + } + }, + "265": { + "16": { + "name": "getLineDiffs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "text" + ], + "range": [ + [ + 265, + 16 + ], + [ + 276, + 1 + ] + ], + "doc": " Public: Retrieves the line diffs comparing the `HEAD` version of the given\npath and the given text.\n\npath - The {String} path relative to the repository.\ntext - The {String} to compare against the `HEAD` contents\n\nReturns an {Array} of hunk {Object}s with the following keys:\n :oldStart - The line {Number} of the old hunk.\n :newStart - The line {Number} of the new hunk.\n :oldLines - The {Number} of lines in the old hunk.\n :newLines - The {Number} of lines in the new hunk " + } + }, + "276": { + "18": { + "name": "getConfigValue", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "key", + "path" + ], + "range": [ + [ + 276, + 18 + ], + [ + 276, + 66 + ] + ], + "doc": " Public: Returns the git configuration value specified by the key.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " + } + }, + "282": { + "16": { + "name": "getOriginUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 282, + 16 + ], + [ + 282, + 67 + ] + ], + "doc": " Public: Returns the origin url of the repository.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " + } + }, + "291": { + "21": { + "name": "getUpstreamBranch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 291, + 21 + ], + [ + 291, + 64 + ] + ], + "doc": " Public: Returns the upstream branch for the current HEAD, or null if there\nis no upstream branch for the current HEAD.\n\npath - An optional {String} path in the repo to get this information for,\n only needed if the repository contains submodules.\n\nReturns a {String} branch name such as `refs/remotes/origin/master`. " + } + }, + "298": { + "22": { + "name": "getReferenceTarget", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "path" + ], + "range": [ + [ + 298, + 22 + ], + [ + 310, + 1 + ] + ], + "doc": " Public: Returns the current SHA for the given reference.\n\nreference - The {String} reference to get the target of.\npath - An optional {String} path in the repo to get the reference target\n for. Only needed if the repository contains submodules. " + } + }, + "310": { + "17": { + "name": "getReferences", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 310, + 17 + ], + [ + 310, + 56 + ] + ], + "doc": " Public: Gets all the local and remote references.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :heads - An {Array} of head reference names.\n :remotes - An {Array} of remote reference names.\n :tags - An {Array} of tag reference names. " + } + }, + "318": { + "23": { + "name": "getAheadBehindCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "path" + ], + "range": [ + [ + 318, + 23 + ], + [ + 330, + 1 + ] + ], + "doc": " Public: Returns the number of commits behind the current branch is from the\nits upstream remote branch.\n\nreference - The {String} branch reference name.\npath - The {String} path in the repository to get this information for,\n only needed if the repository contains submodules. " + } + }, + "330": { + "37": { + "name": "getCachedUpstreamAheadBehindCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 330, + 37 + ], + [ + 338, + 1 + ] + ], + "doc": " Public: Get the cached ahead/behind commit counts for the current branch's\nupstream branch.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :ahead - The {Number} of commits ahead.\n :behind - The {Number} of commits behind. " + } + }, + "338": { + "23": { + "name": "getCachedPathStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 338, + 23 + ], + [ + 342, + 1 + ] + ], + "doc": " Public: Get the cached status for the given path.\n\npath - A {String} path in the repository, relative or absolute.\n\nReturns a status {Number} or null if the path is not in the cache. " + } + }, + "342": { + "13": { + "name": "hasBranch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "branch" + ], + "range": [ + [ + 342, + 13 + ], + [ + 342, + 68 + ] + ], + "doc": "Public: Returns true if the given branch exists. " + } + }, + "346": { + "17": { + "name": "refreshStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 17 + ], + [ + 364, + 55 + ] + ], + "doc": " Private: Refreshes the current git status in an outside process and asynchronously\nupdates the relevant properties. " + } + } + }, + "exports": 40 + }, + "src/gutter-component.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqual", + "exportsProperty": "isEqual" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 29 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "32": { + "type": "import", + "range": [ + [ + 3, + 32 + ], + [ + 3, + 45 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "multiplyString", + "exportsProperty": "multiplyString" + }, + "48": { + "type": "import", + "range": [ + [ + 3, + 48 + ], + [ + 3, + 54 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "toArray", + "exportsProperty": "toArray" + } + }, + "4": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 4, + 13 + ], + [ + 4, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "5": { + "18": { + "name": "SubscriberMixin", + "type": "import", + "range": [ + [ + 5, + 18 + ], + [ + 5, + 45 + ] + ], + "bindingType": "variable", + "path": "./subscriber-mixin" + } + }, + "7": { + "13": { + "name": "WrapperDiv", + "type": "function", + "range": [ + [ + 7, + 13 + ], + [ + 7, + 41 + ] + ] + } + }, + "10": { + "18": { + "name": "GutterComponent", + "type": "function", + "range": [ + [ + 10, + 18 + ], + [ + 227, + 39 + ] + ] + } + }, + "11": { + "15": { + "name": "'GutterComponent'", + "type": "primitive", + "range": [ + [ + 11, + 15 + ], + [ + 11, + 31 + ] + ] + } + }, + "12": { + "10": { + "type": "primitive", + "range": [ + [ + 12, + 10 + ], + [ + 12, + 26 + ] + ] + } + }, + "14": { + "23": { + "type": "primitive", + "range": [ + [ + 14, + 23 + ], + [ + 14, + 26 + ] + ] + } + }, + "15": { + "17": { + "type": "primitive", + "range": [ + [ + 15, + 17 + ], + [ + 15, + 20 + ] + ] + } + }, + "17": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 10 + ], + [ + 29, + 1 + ] + ], + "doc": null + } + }, + "29": { + "16": { + "name": "getTransform", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 16 + ], + [ + 37, + 1 + ] + ], + "doc": null + } + }, + "37": { + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 37, + 22 + ], + [ + 43, + 1 + ] + ], + "doc": null + } + }, + "43": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 21 + ], + [ + 50, + 1 + ] + ], + "doc": null + } + }, + "50": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 50, + 25 + ], + [ + 64, + 1 + ] + ], + "doc": null + } + }, + "64": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "oldProps" + ], + "range": [ + [ + 64, + 22 + ], + [ + 74, + 1 + ] + ], + "doc": null + } + }, + "74": { + "24": { + "name": "clearScreenRowCaches", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 24 + ], + [ + 80, + 1 + ] + ], + "doc": null + } + }, + "80": { + "25": { + "name": "appendDummyLineNumber", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 80, + 25 + ], + [ + 86, + 1 + ] + ], + "doc": null + } + }, + "86": { + "25": { + "name": "updateDummyLineNumber", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 25 + ], + [ + 89, + 1 + ] + ], + "doc": null + } + }, + "89": { + "21": { + "name": "updateLineNumbers", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 93, + 1 + ] + ], + "doc": null + } + }, + "93": { + "40": { + "name": "appendOrUpdateVisibleLineNumberNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 93, + 40 + ], + [ + 138, + 1 + ] + ], + "doc": null + } + }, + "138": { + "25": { + "name": "removeLineNumberNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberIdsToPreserve" + ], + "range": [ + [ + 138, + 25 + ], + [ + 150, + 1 + ] + ], + "doc": null + } + }, + "150": { + "23": { + "name": "buildLineNumberHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bufferRow", + "softWrapped", + "maxLineNumberDigits", + "screenRow" + ], + "range": [ + [ + 150, + 23 + ], + [ + 169, + 1 + ] + ], + "doc": null + } + }, + "169": { + "28": { + "name": "buildLineNumberInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bufferRow", + "softWrapped", + "maxLineNumberDigits" + ], + "range": [ + [ + 169, + 28 + ], + [ + 179, + 1 + ] + ], + "doc": null + } + }, + "179": { + "24": { + "name": "updateLineNumberNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberId", + "bufferRow", + "screenRow", + "softWrapped" + ], + "range": [ + [ + 179, + 24 + ], + [ + 208, + 1 + ] + ], + "doc": null + } + }, + "208": { + "17": { + "name": "hasDecoration", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "decorations", + "decoration" + ], + "range": [ + [ + 208, + 17 + ], + [ + 211, + 1 + ] + ], + "doc": null + } + }, + "211": { + "21": { + "name": "hasLineNumberNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberId" + ], + "range": [ + [ + 211, + 21 + ], + [ + 214, + 1 + ] + ], + "doc": null + } + }, + "214": { + "30": { + "name": "lineNumberNodeForScreenRow", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 214, + 30 + ], + [ + 217, + 1 + ] + ], + "doc": null + } + }, + "217": { + "11": { + "name": "onClick", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 217, + 11 + ], + [ + 227, + 39 + ] + ], + "doc": null + } + } + }, + "exports": 10 + }, + "src/gutter-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "10": { + "type": "import", + "range": [ + [ + 0, + 10 + ], + [ + 0, + 11 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + }, + "14": { + "type": "import", + "range": [ + [ + 0, + 14 + ], + [ + 0, + 16 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$$", + "exportsProperty": "$$$" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "8": { + "0": { + "type": "class", + "name": "GutterView", + "bindingType": "exports", + "classProperties": [ + [ + 9, + 12 + ] + ], + "prototypeProperties": [ + [ + 13, + 18 + ], + [ + 14, + 17 + ], + [ + 16, + 14 + ], + [ + 19, + 15 + ], + [ + 28, + 16 + ], + [ + 31, + 21 + ], + [ + 53, + 17 + ], + [ + 56, + 13 + ], + [ + 62, + 22 + ], + [ + 68, + 25 + ], + [ + 74, + 33 + ], + [ + 83, + 24 + ], + [ + 91, + 22 + ], + [ + 101, + 27 + ], + [ + 115, + 18 + ], + [ + 126, + 23 + ], + [ + 135, + 21 + ], + [ + 169, + 23 + ], + [ + 175, + 22 + ], + [ + 179, + 22 + ], + [ + 190, + 21 + ], + [ + 194, + 25 + ], + [ + 221, + 25 + ], + [ + 235, + 24 + ], + [ + 242, + 20 + ], + [ + 250, + 18 + ] + ], + "doc": " Private: Represents the portion of the {EditorView} containing row numbers.\n\nThe gutter also indicates if rows are folded. ", + "range": [ + [ + 8, + 0 + ], + [ + 274, + 29 + ] + ] + } + }, + "9": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 12 + ], + [ + 13, + 1 + ] + ] + } + }, + "13": { + "18": { + "name": "firstScreenRow", + "type": "primitive", + "range": [ + [ + 13, + 18 + ], + [ + 13, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "17": { + "name": "lastScreenRow", + "type": "primitive", + "range": [ + [ + 14, + 17 + ], + [ + 14, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 14 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 19, + 15 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 16 + ], + [ + 31, + 1 + ] + ], + "doc": "~Private~" + } + }, + "31": { + "21": { + "name": "handleMouseEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 31, + 21 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "17": { + "name": "getEditorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 17 + ], + [ + 56, + 1 + ] + ], + "doc": " Private: Retrieves the containing {EditorView}.\n\nReturns an {EditorView}. " + } + }, + "56": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 13 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "22": { + "name": "setShowLineNumbers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showLineNumbers" + ], + "range": [ + [ + 62, + 22 + ], + [ + 68, + 1 + ] + ], + "doc": " Private: Defines whether to show the gutter or not.\n\nshowLineNumbers - A {Boolean} which, if `false`, hides the gutter " + } + }, + "68": { + "25": { + "name": "getLineNumberElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 25 + ], + [ + 74, + 1 + ] + ], + "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " + } + }, + "74": { + "33": { + "name": "getLineNumberElementsForClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 74, + 33 + ], + [ + 83, + 1 + ] + ], + "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " + } + }, + "83": { + "24": { + "name": "getLineNumberElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 83, + 24 + ], + [ + 91, + 1 + ] + ], + "doc": " Private: Get a single line-number div.\n\n* bufferRow: 0 based line number\n\nReturns a list of {HTMLElement}s that correspond to the bufferRow. More than\none in the list indicates a wrapped line. " + } + }, + "91": { + "22": { + "name": "addClassToAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 91, + 22 + ], + [ + 101, + 1 + ] + ], + "doc": " Private: Add a class to all line-number divs.\n\n* klass: string class name\n\nReturns true if the class was added to any lines " + } + }, + "101": { + "27": { + "name": "removeClassFromAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 101, + 27 + ], + [ + 115, + 1 + ] + ], + "doc": " Private: Remove a class from all line-number divs.\n\n* klass: string class name. Can only be one class name. i.e. 'my-class'\n\nReturns true if the class was removed from any lines " + } + }, + "115": { + "18": { + "name": "addClassToLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "klass" + ], + "range": [ + [ + 115, + 18 + ], + [ + 126, + 1 + ] + ], + "doc": " Private: Add a class to a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was added to " + } + }, + "126": { + "23": { + "name": "removeClassFromLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "klass" + ], + "range": [ + [ + 126, + 23 + ], + [ + 135, + 1 + ] + ], + "doc": " Private: Remove a class from a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was removed from " + } + }, + "135": { + "21": { + "name": "updateLineNumbers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "changes", + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 135, + 21 + ], + [ + 169, + 1 + ] + ], + "doc": "~Private~" + } + }, + "169": { + "23": { + "name": "prependLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElements" + ], + "range": [ + [ + 169, + 23 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "22": { + "name": "appendLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElements" + ], + "range": [ + [ + 175, + 22 + ], + [ + 179, + 1 + ] + ], + "doc": "~Private~" + } + }, + "179": { + "22": { + "name": "removeLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "numberOfElements" + ], + "range": [ + [ + 179, + 22 + ], + [ + 190, + 1 + ] + ], + "doc": "~Private~" + } + }, + "190": { + "21": { + "name": "buildLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 190, + 21 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "25": { + "name": "buildLineElementsHtml", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 194, + 25 + ], + [ + 221, + 1 + ] + ], + "doc": "~Private~" + } + }, + "221": { + "25": { + "name": "updateFoldableClasses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "changes" + ], + "range": [ + [ + 221, + 25 + ], + [ + 235, + 1 + ] + ], + "doc": " Private: Called to update the 'foldable' class of line numbers when there's\na change to the display buffer that doesn't regenerate all the line numbers\nanyway. " + } + }, + "235": { + "24": { + "name": "removeLineHighlights", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 235, + 24 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "20": { + "name": "addLineHighlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "emptySelection" + ], + "range": [ + [ + 242, + 20 + ], + [ + 250, + 1 + ] + ], + "doc": "~Private~" + } + }, + "250": { + "18": { + "name": "highlightLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 250, + 18 + ], + [ + 274, + 29 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/highlight-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "21": { + "name": "HighlightComponent", + "type": "function", + "range": [ + [ + 5, + 21 + ], + [ + 89, + 110 + ] + ] + } + }, + "6": { + "15": { + "name": "'HighlightComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 34 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 20, + 1 + ] + ], + "doc": null + } + }, + "20": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 21 + ], + [ + 27, + 1 + ] + ], + "doc": null + } + }, + "27": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 24 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "23": { + "name": "startFlashAnimation", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 23 + ], + [ + 42, + 1 + ] + ], + "doc": null + } + }, + "42": { + "27": { + "name": "renderSingleLineRegions", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 27 + ], + [ + 53, + 1 + ] + ], + "doc": null + } + }, + "53": { + "26": { + "name": "renderMultiLineRegions", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 26 + ], + [ + 88, + 1 + ] + ], + "doc": null + } + }, + "88": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 88, + 25 + ], + [ + 89, + 110 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/highlights-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "3": { + "21": { + "name": "HighlightComponent", + "type": "import", + "range": [ + [ + 3, + 21 + ], + [ + 3, + 51 + ] + ], + "bindingType": "variable", + "path": "./highlight-component" + } + }, + "6": { + "22": { + "name": "HighlightsComponent", + "type": "function", + "range": [ + [ + 6, + 22 + ], + [ + 24, + 148 + ] + ] + } + }, + "7": { + "15": { + "name": "'HighlightsComponent'", + "type": "primitive", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 35 + ] + ] + } + }, + "9": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 10 + ], + [ + 13, + 1 + ] + ], + "doc": null + } + }, + "13": { + "20": { + "name": "renderHighlights", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 20 + ], + [ + 23, + 1 + ] + ], + "doc": null + } + }, + "23": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 23, + 25 + ], + [ + 24, + 148 + ] + ], + "doc": null + } + } + }, + "exports": 6 + }, + "src/input-component.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "last", + "exportsProperty": "last" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 13 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqual", + "exportsProperty": "isEqual" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "input", + "exportsProperty": "input" + } + }, + "5": { + "17": { + "name": "InputComponent", + "type": "function", + "range": [ + [ + 5, + 17 + ], + [ + 43, + 25 + ] + ] + } + }, + "6": { + "15": { + "name": "'InputComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 30 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 13, + 1 + ] + ], + "doc": null + } + }, + "13": { + "19": { + "name": "getInitialState", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 19 + ], + [ + 16, + 1 + ] + ], + "doc": null + } + }, + "16": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 21 + ], + [ + 21, + 1 + ] + ], + "doc": null + } + }, + "21": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 22 + ], + [ + 27, + 1 + ] + ], + "doc": null + } + }, + "27": { + "27": { + "name": "isPressAndHoldCharacter", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "char" + ], + "range": [ + [ + 27, + 27 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 30, + 25 + ], + [ + 33, + 1 + ] + ], + "doc": null + } + }, + "33": { + "11": { + "name": "onPaste", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 33, + 11 + ], + [ + 36, + 1 + ] + ], + "doc": null + } + }, + "36": { + "11": { + "name": "onFocus", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 36, + 11 + ], + [ + 39, + 1 + ] + ], + "doc": null + } + }, + "39": { + "10": { + "name": "onBlur", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 39, + 10 + ], + [ + 42, + 1 + ] + ], + "doc": null + } + }, + "42": { + "9": { + "name": "focus", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 9 + ], + [ + 43, + 25 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/keymap-extensions.coffee": { + "objects": { + "0": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 0, + 5 + ], + [ + 0, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "16": { + "name": "KeymapManager", + "type": "import", + "range": [ + [ + 2, + 16 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "atom-keymap" + } + }, + "3": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 6 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "jQuery", + "exportsProperty": "jQuery" + } + }, + "6": { + "36": { + "name": "KeymapManager.prototype.loadBundledKeymaps", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 36 + ], + [ + 9, + 0 + ] + ], + "doc": null + } + }, + "10": { + "35": { + "name": "KeymapManager.prototype.getUserKeymapPath", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 35 + ], + [ + 15, + 0 + ] + ], + "doc": null + } + }, + "16": { + "32": { + "name": "KeymapManager.prototype.loadUserKeymap", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 32 + ], + [ + 22, + 74 + ] + ], + "doc": null + } + }, + "23": { + "32": { + "name": "jQuery.Event.prototype.abortKeyBinding", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 23, + 32 + ], + [ + 25, + 0 + ] + ], + "doc": null + } + } + }, + "exports": 26 + }, + "src/language-mode.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 10 + ] + ], + "bindingType": "variable", + "module": "oniguruma", + "name": "OnigRegExp", + "exportsProperty": "OnigRegExp" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "6": { + "0": { + "type": "class", + "name": "LanguageMode", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 15 + ], + [ + 16, + 11 + ], + [ + 19, + 33 + ], + [ + 30, + 35 + ], + [ + 100, + 11 + ], + [ + 107, + 13 + ], + [ + 114, + 24 + ], + [ + 128, + 17 + ], + [ + 141, + 30 + ], + [ + 146, + 33 + ], + [ + 161, + 34 + ], + [ + 181, + 25 + ], + [ + 186, + 29 + ], + [ + 194, + 32 + ], + [ + 201, + 30 + ], + [ + 208, + 35 + ], + [ + 241, + 31 + ], + [ + 265, + 29 + ], + [ + 274, + 24 + ], + [ + 281, + 23 + ], + [ + 288, + 34 + ], + [ + 308, + 23 + ], + [ + 312, + 32 + ], + [ + 315, + 32 + ], + [ + 318, + 25 + ] + ], + "doc": "~Private~", + "range": [ + [ + 6, + 0 + ], + [ + 319, + 57 + ] + ] + } + }, + "13": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 13, + 15 + ], + [ + 16, + 1 + ] + ], + "doc": " Private: Sets up a `LanguageMode` for the given {Editor}.\n\neditor - The {Editor} to associate with " + } + }, + "16": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 11 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "33": { + "name": "toggleLineCommentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 19, + 33 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "35": { + "name": "toggleLineCommentsForBufferRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 30, + 35 + ], + [ + 100, + 1 + ] + ], + "doc": " Private: Wraps the lines between two rows in comments.\n\nIf the language doesn't have comment, nothing happens.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns an {Array} of the commented {Ranges}. " + } + }, + "100": { + "11": { + "name": "foldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 100, + 11 + ], + [ + 107, + 1 + ] + ], + "doc": "Private: Folds all the foldable lines in the buffer. " + } + }, + "107": { + "13": { + "name": "unfoldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 13 + ], + [ + 114, + 1 + ] + ], + "doc": "Private: Unfolds all the foldable lines in the buffer. " + } + }, + "114": { + "24": { + "name": "foldAllAtIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "indentLevel" + ], + "range": [ + [ + 114, + 24 + ], + [ + 128, + 1 + ] + ], + "doc": " Private: Fold all comment and code blocks at a given indentLevel\n\nindentLevel - A {Number} indicating indentLevel; 0 based. " + } + }, + "128": { + "17": { + "name": "foldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 128, + 17 + ], + [ + 141, + 1 + ] + ], + "doc": " Private: Given a buffer row, creates a fold at it.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns the new {Fold}. " + } + }, + "141": { + "30": { + "name": "rowRangeForFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 141, + 30 + ], + [ + 146, + 1 + ] + ], + "doc": " Private: Find the row range for a fold at a given bufferRow. Will handle comments\nand code.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of the [startRow, endRow]. Returns null if no range. " + } + }, + "146": { + "33": { + "name": "rowRangeForCommentAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 146, + 33 + ], + [ + 161, + 1 + ] + ], + "doc": "~Private~" + } + }, + "161": { + "34": { + "name": "rowRangeForCodeFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 161, + 34 + ], + [ + 181, + 1 + ] + ], + "doc": "~Private~" + } + }, + "181": { + "25": { + "name": "isFoldableAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 181, + 25 + ], + [ + 186, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether the given buffer row starts a\nfoldable row range. Rows that are \"foldable\" have a fold icon next to their\nicon in the gutter in the default configuration. " + } + }, + "186": { + "29": { + "name": "isFoldableCodeAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 186, + 29 + ], + [ + 194, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na a foldable row range due to the code's indentation patterns. " + } + }, + "194": { + "32": { + "name": "isFoldableCommentAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 194, + 32 + ], + [ + 201, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na foldable row range due to being the start of a multi-line comment. " + } + }, + "201": { + "30": { + "name": "isLineCommentedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 201, + 30 + ], + [ + 208, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the line at the given buffer\nrow is a comment. " + } + }, + "208": { + "35": { + "name": "rowRangeForParagraphAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 208, + 35 + ], + [ + 241, + 1 + ] + ], + "doc": " Private: Find a row range for a 'paragraph' around specified bufferRow.\nRight now, a paragraph is a block of text bounded by and empty line or a\nblock of text that is not the same type (comments next to source code). " + } + }, + "241": { + "31": { + "name": "suggestedIndentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 241, + 31 + ], + [ + 265, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns a suggested indentation level.\n\nThe indentation level provided is based on the current {LanguageMode}.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Number}. " + } + }, + "265": { + "29": { + "name": "minIndentLevelForRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 265, + 29 + ], + [ + 274, + 1 + ] + ], + "doc": " Private: Calculate a minimum indent level for a range of lines excluding empty lines.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns a {Number} of the indent level of the block of lines. " + } + }, + "274": { + "24": { + "name": "autoIndentBufferRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 274, + 24 + ], + [ + 281, + 1 + ] + ], + "doc": " Private: Indents all the rows between two buffer row numbers.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at " + } + }, + "281": { + "23": { + "name": "autoIndentBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "options" + ], + "range": [ + [ + 281, + 23 + ], + [ + 288, + 1 + ] + ], + "doc": " Private: Given a buffer row, this indents it.\n\nbufferRow - The row {Number}.\noptions - An options {Object} to pass through to {Editor::setIndentationForBufferRow}. " + } + }, + "288": { + "34": { + "name": "autoDecreaseIndentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 288, + 34 + ], + [ + 308, + 1 + ] + ], + "doc": " Private: Given a buffer row, this decreases the indentation.\n\nbufferRow - The row {Number} " + } + }, + "308": { + "23": { + "name": "getRegexForProperty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "property" + ], + "range": [ + [ + 308, + 23 + ], + [ + 312, + 1 + ] + ], + "doc": "~Private~" + } + }, + "312": { + "32": { + "name": "increaseIndentRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 312, + 32 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "32": { + "name": "decreaseIndentRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 315, + 32 + ], + [ + 318, + 1 + ] + ], + "doc": "~Private~" + } + }, + "318": { + "25": { + "name": "foldEndRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 318, + 25 + ], + [ + 319, + 57 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 6 + }, + "src/less-compile-cache.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "2": { + "12": { + "name": "LessCache", + "type": "import", + "range": [ + [ + 2, + 12 + ], + [ + 2, + 31 + ] + ], + "bindingType": "variable", + "module": "less-cache" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "7": { + "0": { + "type": "class", + "name": "LessCompileCache", + "bindingType": "exports", + "classProperties": [ + [ + 10, + 13 + ] + ], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 29, + 18 + ], + [ + 32, + 8 + ], + [ + 35, + 14 + ], + [ + 38, + 11 + ] + ], + "doc": "Private: {LessCache} wrapper used by {ThemeManager} to read stylesheets. ", + "range": [ + [ + 7, + 0 + ], + [ + 38, + 28 + ] + ] + } + }, + "10": { + "13": { + "name": "cacheDir", + "type": "function", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 71 + ] + ], + "bindingType": "classProperty" + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 29, + 1 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "18": { + "name": "setImportPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "importPaths" + ], + "range": [ + [ + 29, + 18 + ], + [ + 32, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "8": { + "name": "read", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 32, + 8 + ], + [ + 35, + 1 + ] + ], + "doc": "~Private~" + } + }, + "35": { + "14": { + "name": "cssForFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "lessContent" + ], + "range": [ + [ + 35, + 14 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 38, + 11 + ], + [ + 38, + 27 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 7 + }, + "src/lines-component.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + }, + "6": { + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 9 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "span", + "exportsProperty": "span" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "debounce", + "exportsProperty": "debounce" + }, + "11": { + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 17 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqual", + "exportsProperty": "isEqual" + }, + "20": { + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 39 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "42": { + "type": "import", + "range": [ + [ + 3, + 42 + ], + [ + 3, + 55 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "multiplyString", + "exportsProperty": "multiplyString" + }, + "58": { + "type": "import", + "range": [ + [ + 3, + 58 + ], + [ + 3, + 64 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "toArray", + "exportsProperty": "toArray" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 2 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "$$", + "exportsProperty": "$$" + } + }, + "6": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 6, + 13 + ], + [ + 6, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "7": { + "19": { + "name": "CursorsComponent", + "type": "import", + "range": [ + [ + 7, + 19 + ], + [ + 7, + 47 + ] + ], + "bindingType": "variable", + "path": "./cursors-component" + } + }, + "8": { + "22": { + "name": "HighlightsComponent", + "type": "import", + "range": [ + [ + 8, + 22 + ], + [ + 8, + 53 + ] + ], + "bindingType": "variable", + "path": "./highlights-component" + } + }, + "10": { + "16": { + "type": "primitive", + "range": [ + [ + 10, + 16 + ], + [ + 10, + 111 + ] + ] + } + }, + "11": { + "15": { + "type": "primitive", + "range": [ + [ + 11, + 15 + ], + [ + 11, + 55 + ] + ] + }, + "28": { + "name": "acceptNode", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 11, + 28 + ], + [ + 11, + 54 + ] + ], + "doc": null + } + }, + "12": { + "13": { + "name": "WrapperDiv", + "type": "function", + "range": [ + [ + 12, + 13 + ], + [ + 12, + 41 + ] + ] + } + }, + "15": { + "17": { + "name": "LinesComponent", + "type": "function", + "range": [ + [ + 15, + 17 + ], + [ + 348, + 41 + ] + ] + } + }, + "16": { + "15": { + "name": "'LinesComponent'", + "type": "primitive", + "range": [ + [ + 16, + 15 + ], + [ + 16, + 30 + ] + ] + } + }, + "18": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 18, + 10 + ], + [ + 44, + 1 + ] + ], + "doc": null + } + }, + "44": { + "16": { + "name": "getTransform", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 16 + ], + [ + 52, + 1 + ] + ], + "doc": null + } + }, + "52": { + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 22 + ], + [ + 59, + 1 + ] + ], + "doc": null + } + }, + "59": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 59, + 25 + ], + [ + 79, + 1 + ] + ], + "doc": null + } + }, + "79": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "prevProps" + ], + "range": [ + [ + 79, + 22 + ], + [ + 88, + 1 + ] + ], + "doc": null + } + }, + "88": { + "24": { + "name": "clearScreenRowCaches", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 24 + ], + [ + 92, + 1 + ] + ], + "doc": null + } + }, + "92": { + "15": { + "name": "updateLines", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "updateWidth" + ], + "range": [ + [ + 92, + 15 + ], + [ + 100, + 1 + ] + ], + "doc": null + } + }, + "100": { + "19": { + "name": "removeLineNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "visibleLines" + ], + "range": [ + [ + 100, + 19 + ], + [ + 114, + 1 + ] + ], + "doc": null + } + }, + "114": { + "34": { + "name": "appendOrUpdateVisibleLineNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "visibleLines", + "startRow", + "updateWidth" + ], + "range": [ + [ + 114, + 34 + ], + [ + 145, + 1 + ] + ], + "doc": null + } + }, + "145": { + "15": { + "name": "hasLineNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineId" + ], + "range": [ + [ + 145, + 15 + ], + [ + 148, + 1 + ] + ], + "doc": null + } + }, + "148": { + "17": { + "name": "buildLineHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "screenRow" + ], + "range": [ + [ + 148, + 17 + ], + [ + 171, + 1 + ] + ], + "doc": null + } + }, + "171": { + "27": { + "name": "buildEmptyLineInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 171, + 27 + ], + [ + 198, + 1 + ] + ], + "doc": null + } + }, + "198": { + "22": { + "name": "buildLineInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 198, + 22 + ], + [ + 215, + 1 + ] + ], + "doc": null + } + }, + "215": { + "22": { + "name": "buildEndOfLineHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "invisibles" + ], + "range": [ + [ + 215, + 22 + ], + [ + 228, + 1 + ] + ], + "doc": null + } + }, + "228": { + "20": { + "name": "updateScopeStack", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 228, + 20 + ], + [ + 245, + 1 + ] + ], + "doc": null + } + }, + "245": { + "12": { + "name": "popScope", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack" + ], + "range": [ + [ + 245, + 12 + ], + [ + 249, + 1 + ] + ], + "doc": null + } + }, + "249": { + "13": { + "name": "pushScope", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack", + "scope" + ], + "range": [ + [ + 249, + 13 + ], + [ + 253, + 1 + ] + ], + "doc": null + } + }, + "253": { + "18": { + "name": "updateLineNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "screenRow", + "updateWidth" + ], + "range": [ + [ + 253, + 18 + ], + [ + 278, + 1 + ] + ], + "doc": null + } + }, + "278": { + "17": { + "name": "hasDecoration", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "decorations", + "decoration" + ], + "range": [ + [ + 278, + 17 + ], + [ + 281, + 1 + ] + ], + "doc": null + } + }, + "281": { + "24": { + "name": "lineNodeForScreenRow", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 281, + 24 + ], + [ + 284, + 1 + ] + ], + "doc": null + } + }, + "284": { + "40": { + "name": "measureLineHeightAndDefaultCharWidth", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 40 + ], + [ + 295, + 1 + ] + ], + "doc": null + } + }, + "295": { + "28": { + "name": "remeasureCharacterWidths", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 295, + 28 + ], + [ + 299, + 1 + ] + ], + "doc": null + } + }, + "299": { + "31": { + "name": "measureCharactersInNewLines", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 299, + 31 + ], + [ + 311, + 1 + ] + ], + "doc": null + } + }, + "311": { + "27": { + "name": "measureCharactersInLine", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "tokenizedLine", + "lineNode" + ], + "range": [ + [ + 311, + 27 + ], + [ + 346, + 1 + ] + ], + "doc": null + } + }, + "346": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 25 + ], + [ + 348, + 41 + ] + ], + "doc": null + } + } + }, + "exports": 15 + }, + "src/menu-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "3": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 3, + 6 + ], + [ + 3, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "12": { + "0": { + "type": "class", + "name": "MenuManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 15 + ], + [ + 37, + 7 + ], + [ + 47, + 19 + ], + [ + 79, + 10 + ], + [ + 88, + 21 + ], + [ + 96, + 9 + ], + [ + 107, + 27 + ], + [ + 117, + 24 + ], + [ + 121, + 18 + ], + [ + 130, + 21 + ] + ], + "doc": " Public: Provides a registry for menu items that you'd like to appear in the\napplication menu.\n\nAn instance of this class is always available as the `atom.menu` global. ", + "range": [ + [ + 12, + 0 + ], + [ + 131, + 49 + ] + ] + } + }, + "13": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 13, + 15 + ], + [ + 37, + 1 + ] + ] + } + }, + "37": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 37, + 7 + ], + [ + 47, + 1 + ] + ], + "doc": " Public: Adds the given item definition to the existing template.\n\n## Example\n```coffee\n atom.menu.add [\n {\n label: 'Hello'\n submenu : [{label: 'World!', command: 'hello:world'}]\n }\n ]\n```\n\nitems - An {Array} of menu item {Object}s containing the keys:\n :label - The {String} menu label.\n :submenu - An optional {Array} of sub menu items.\n :command - An optional {String} command to trigger when the item is\n clicked.\n\nReturns nothing. " + } + }, + "47": { + "19": { + "name": "includeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 47, + 19 + ], + [ + 79, + 1 + ] + ], + "doc": " Private: Should the binding for the given selector be included in the menu\ncommands.\n\nselector - A {String} selector to check.\n\nReturns true to include the selector, false otherwise. " + } + }, + "79": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 10 + ], + [ + 88, + 1 + ] + ], + "doc": "Public: Refreshes the currently visible menu. " + } + }, + "88": { + "21": { + "name": "loadPlatformItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 21 + ], + [ + 96, + 1 + ] + ], + "doc": "~Private~" + } + }, + "96": { + "9": { + "name": "merge", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "menu", + "item" + ], + "range": [ + [ + 96, + 9 + ], + [ + 107, + 1 + ] + ], + "doc": " Private: Merges an item in a submenu aware way such that new items are always\nappended to the bottom of existing menus where possible. " + } + }, + "107": { + "27": { + "name": "filterMultipleKeystroke", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystrokesByCommand" + ], + "range": [ + [ + 107, + 27 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: OSX can't handle displaying accelerators for multiple keystrokes.\nIf they are sent across, it will stop processing accelerators for the rest\nof the menu items. " + } + }, + "117": { + "24": { + "name": "sendToBrowserProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 117, + 24 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "18": { + "name": "normalizeLabel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "label" + ], + "range": [ + [ + 121, + 18 + ], + [ + 130, + 1 + ] + ], + "doc": "~Private~" + } + }, + "130": { + "21": { + "name": "classesForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 130, + 21 + ], + [ + 131, + 49 + ] + ], + "doc": "Private: Get an {Array} of {String} classes for the given element. " + } + } + }, + "exports": 12 + }, + "src/package-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "7": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 7, + 10 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "8": { + "15": { + "name": "ThemePackage", + "type": "import", + "range": [ + [ + 8, + 15 + ], + [ + 8, + 39 + ] + ], + "bindingType": "variable", + "path": "./theme-package" + } + }, + "26": { + "0": { + "type": "class", + "name": "PackageManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 44, + 14 + ], + [ + 52, + 22 + ], + [ + 55, + 19 + ], + [ + 58, + 19 + ], + [ + 62, + 17 + ], + [ + 68, + 18 + ], + [ + 74, + 12 + ], + [ + 82, + 28 + ], + [ + 85, + 20 + ], + [ + 90, + 19 + ], + [ + 100, + 22 + ], + [ + 105, + 21 + ], + [ + 113, + 21 + ], + [ + 117, + 20 + ], + [ + 121, + 19 + ], + [ + 124, + 29 + ], + [ + 128, + 27 + ], + [ + 137, + 16 + ], + [ + 148, + 15 + ], + [ + 168, + 18 + ], + [ + 172, + 17 + ], + [ + 182, + 20 + ], + [ + 186, + 19 + ], + [ + 190, + 21 + ], + [ + 196, + 29 + ], + [ + 200, + 22 + ], + [ + 210, + 21 + ], + [ + 213, + 17 + ], + [ + 218, + 20 + ], + [ + 221, + 26 + ], + [ + 231, + 28 + ], + [ + 246, + 28 + ], + [ + 250, + 31 + ] + ], + "doc": " Public: Package manager for coordinating the lifecycle of Atom packages.\n\nAn instance of this class is always available as the `atom.packages` global.\n\nPackages can be loaded, activated, and deactivated, and unloaded:\n * Loading a package reads and parses the package's metadata and resources\n such as keymaps, menus, stylesheets, etc.\n * Activating a package registers the loaded resources and calls `activate()`\n on the package's main module.\n * Deactivating a package unregisters the package's resources and calls\n `deactivate()` on the package's main module.\n * Unloading a package removes it completely from the package manager.\n\nPackages can also be enabled/disabled via the `core.disabledPackages` config\nsettings and also by calling `enablePackage()/disablePackage()`. ", + "range": [ + [ + 26, + 0 + ], + [ + 256, + 12 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 29, + 15 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "14": { + "name": "getApmPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 14 + ], + [ + 52, + 1 + ] + ], + "doc": "Public: Get the path to the apm command " + } + }, + "52": { + "22": { + "name": "getPackageDirPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 22 + ], + [ + 55, + 1 + ] + ], + "doc": " Public: Get the paths being used to look for packages.\n\nReturns an Array of String directory paths. " + } + }, + "55": { + "19": { + "name": "getPackageState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 55, + 19 + ], + [ + 58, + 1 + ] + ], + "doc": "~Private~" + } + }, + "58": { + "19": { + "name": "setPackageState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "state" + ], + "range": [ + [ + 58, + 19 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "17": { + "name": "enablePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 62, + 17 + ], + [ + 68, + 1 + ] + ], + "doc": "Public: Enable the package with the given name " + } + }, + "68": { + "18": { + "name": "disablePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 68, + 18 + ], + [ + 74, + 1 + ] + ], + "doc": "Public: Disable the package with the given name " + } + }, + "74": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 12 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Activate all the packages that should be activated. " + } + }, + "82": { + "28": { + "name": "registerPackageActivator", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "activator", + "types" + ], + "range": [ + [ + 82, + 28 + ], + [ + 85, + 1 + ] + ], + "doc": " Private: another type of package manager can handle other package types.\nSee ThemeManager " + } + }, + "85": { + "20": { + "name": "activatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "packages" + ], + "range": [ + [ + 85, + 20 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "19": { + "name": "activatePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 90, + 19 + ], + [ + 100, + 1 + ] + ], + "doc": "Private: Activate a single package by name " + } + }, + "100": { + "22": { + "name": "deactivatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 100, + 22 + ], + [ + 105, + 1 + ] + ], + "doc": "Private: Deactivate all packages " + } + }, + "105": { + "21": { + "name": "deactivatePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 105, + 21 + ], + [ + 113, + 1 + ] + ], + "doc": "Private: Deactivate the package with the given name " + } + }, + "113": { + "21": { + "name": "getActivePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 113, + 21 + ], + [ + 117, + 1 + ] + ], + "doc": "Public: Get an array of all the active packages " + } + }, + "117": { + "20": { + "name": "getActivePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 117, + 20 + ], + [ + 121, + 1 + ] + ], + "doc": "Public: Get the active package with the given name " + } + }, + "121": { + "19": { + "name": "isPackageActive", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 121, + 19 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Is the package with the given name active? " + } + }, + "124": { + "29": { + "name": "unobserveDisabledPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 29 + ], + [ + 128, + 1 + ] + ], + "doc": "~Private~" + } + }, + "128": { + "27": { + "name": "observeDisabledPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 128, + 27 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "16": { + "name": "loadPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 16 + ], + [ + 148, + 1 + ] + ], + "doc": "~Private~" + } + }, + "148": { + "15": { + "name": "loadPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "nameOrPath" + ], + "range": [ + [ + 148, + 15 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "18": { + "name": "unloadPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 18 + ], + [ + 172, + 1 + ] + ], + "doc": "~Private~" + } + }, + "172": { + "17": { + "name": "unloadPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 172, + 17 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "20": { + "name": "getLoadedPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 182, + 20 + ], + [ + 186, + 1 + ] + ], + "doc": "Public: Get the loaded package with the given name " + } + }, + "186": { + "19": { + "name": "isPackageLoaded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 186, + 19 + ], + [ + 190, + 1 + ] + ], + "doc": "Public: Is the package with the given name loaded? " + } + }, + "190": { + "21": { + "name": "getLoadedPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 21 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded packages " + } + }, + "196": { + "29": { + "name": "getLoadedPackagesForTypes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "types" + ], + "range": [ + [ + 196, + 29 + ], + [ + 200, + 1 + ] + ], + "doc": " Private: Get packages for a certain package type\n\ntypes - an {Array} of {String}s like ['atom', 'textmate']. " + } + }, + "200": { + "22": { + "name": "resolvePackagePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 200, + 22 + ], + [ + 210, + 1 + ] + ], + "doc": "Public: Resolve the given package name to a path on disk. " + } + }, + "210": { + "21": { + "name": "isPackageDisabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 210, + 21 + ], + [ + 213, + 1 + ] + ], + "doc": "Public: Is the package with the given name disabled? " + } + }, + "213": { + "17": { + "name": "hasAtomEngine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "packagePath" + ], + "range": [ + [ + 213, + 17 + ], + [ + 218, + 1 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "20": { + "name": "isBundledPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 218, + 20 + ], + [ + 221, + 1 + ] + ], + "doc": "Public: Is the package with the given name bundled with Atom? " + } + }, + "221": { + "26": { + "name": "getPackageDependencies", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 221, + 26 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "28": { + "name": "getAvailablePackagePaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 231, + 28 + ], + [ + 246, + 1 + ] + ], + "doc": "Public: Get an array of all the available package paths. " + } + }, + "246": { + "28": { + "name": "getAvailablePackageNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 246, + 28 + ], + [ + 250, + 1 + ] + ], + "doc": "Public: Get an array of all the available package names. " + } + }, + "250": { + "31": { + "name": "getAvailablePackageMetadata", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 250, + 31 + ], + [ + 256, + 12 + ] + ], + "doc": "Public: Get an array of all the available package metadata. " + } + } + }, + "exports": 26 + }, + "src/package.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "3": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 3, + 8 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "async" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "7": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "9": { + "4": { + "type": "primitive", + "range": [ + [ + 9, + 4 + ], + [ + 9, + 7 + ] + ] + } + }, + "10": { + "19": { + "name": "ScopedProperties", + "type": "import", + "range": [ + [ + 10, + 19 + ], + [ + 10, + 47 + ] + ], + "bindingType": "variable", + "path": "./scoped-properties" + } + }, + "15": { + "0": { + "type": "class", + "name": "Package", + "bindingType": "exports", + "classProperties": [ + [ + 18, + 19 + ], + [ + 20, + 17 + ] + ], + "prototypeProperties": [ + [ + 30, + 11 + ], + [ + 31, + 9 + ], + [ + 32, + 15 + ], + [ + 33, + 12 + ], + [ + 34, + 20 + ], + [ + 35, + 18 + ], + [ + 36, + 26 + ], + [ + 37, + 14 + ], + [ + 39, + 15 + ], + [ + 44, + 10 + ], + [ + 47, + 11 + ], + [ + 50, + 11 + ], + [ + 53, + 11 + ], + [ + 59, + 11 + ], + [ + 61, + 21 + ], + [ + 63, + 8 + ], + [ + 76, + 9 + ], + [ + 83, + 12 + ], + [ + 97, + 15 + ], + [ + 109, + 18 + ], + [ + 118, + 23 + ], + [ + 126, + 21 + ], + [ + 138, + 15 + ], + [ + 141, + 13 + ], + [ + 144, + 18 + ], + [ + 151, + 16 + ], + [ + 158, + 19 + ], + [ + 162, + 22 + ], + [ + 165, + 22 + ], + [ + 177, + 20 + ], + [ + 194, + 16 + ], + [ + 213, + 24 + ], + [ + 231, + 13 + ], + [ + 238, + 14 + ], + [ + 247, + 20 + ], + [ + 251, + 23 + ], + [ + 260, + 21 + ], + [ + 266, + 20 + ], + [ + 269, + 21 + ], + [ + 275, + 21 + ], + [ + 285, + 23 + ], + [ + 297, + 31 + ], + [ + 306, + 25 + ], + [ + 315, + 35 + ], + [ + 325, + 36 + ], + [ + 339, + 36 + ], + [ + 345, + 18 + ], + [ + 353, + 34 + ], + [ + 371, + 32 + ], + [ + 401, + 16 + ] + ], + "doc": " Private: Loads and activates a package's main module and resources such as\nstylesheets, keymaps, grammar, editor properties, and menus. ", + "range": [ + [ + 15, + 0 + ], + [ + 411, + 24 + ] + ] + } + }, + "18": { + "19": { + "name": "stylesheetsDir", + "type": "primitive", + "range": [ + [ + 18, + 19 + ], + [ + 18, + 31 + ] + ], + "bindingType": "classProperty" + } + }, + "20": { + "17": { + "name": "loadMetadata", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "packagePath", + "ignoreErrors" + ], + "range": [ + [ + 20, + 17 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "keymaps", + "type": "primitive", + "range": [ + [ + 30, + 11 + ], + [ + 30, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "31": { + "9": { + "name": "menus", + "type": "primitive", + "range": [ + [ + 31, + 9 + ], + [ + 31, + 12 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "32": { + "15": { + "name": "stylesheets", + "type": "primitive", + "range": [ + [ + 32, + 15 + ], + [ + 32, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "33": { + "12": { + "name": "grammars", + "type": "primitive", + "range": [ + [ + 33, + 12 + ], + [ + 33, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "34": { + "20": { + "name": "scopedProperties", + "type": "primitive", + "range": [ + [ + 34, + 20 + ], + [ + 34, + 23 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "35": { + "18": { + "name": "mainModulePath", + "type": "primitive", + "range": [ + [ + 35, + 18 + ], + [ + 35, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "36": { + "26": { + "name": "resolvedMainModulePath", + "type": "primitive", + "range": [ + [ + 36, + 26 + ], + [ + 36, + 30 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "37": { + "14": { + "name": "mainModule", + "type": "primitive", + "range": [ + [ + 37, + 14 + ], + [ + 37, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "39": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 39, + 15 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "10": { + "name": "enable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 10 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "11": { + "name": "disable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 47, + 11 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "11": { + "name": "isTheme", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 11 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "11": { + "name": "measure", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "key", + "fn" + ], + "range": [ + [ + 53, + 11 + ], + [ + 59, + 1 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "11": { + "name": "getType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 11 + ], + [ + 59, + 19 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "21": { + "name": "getStylesheetType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 21 + ], + [ + 61, + 32 + ] + ], + "doc": "~Private~" + } + }, + "63": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 63, + 8 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "9": { + "name": "reset", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 9 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 83, + 12 + ], + [ + 97, + 1 + ] + ], + "doc": "~Private~" + } + }, + "97": { + "15": { + "name": "activateNow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 97, + 15 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "18": { + "name": "activateConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 18 + ], + [ + 118, + 1 + ] + ], + "doc": "~Private~" + } + }, + "118": { + "23": { + "name": "activateStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 118, + 23 + ], + [ + 126, + 1 + ] + ], + "doc": "~Private~" + } + }, + "126": { + "21": { + "name": "activateResources", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 21 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "15": { + "name": "loadKeymaps", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 15 + ], + [ + 141, + 1 + ] + ], + "doc": "~Private~" + } + }, + "141": { + "13": { + "name": "loadMenus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 13 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "18": { + "name": "getKeymapPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 144, + 18 + ], + [ + 151, + 1 + ] + ], + "doc": "~Private~" + } + }, + "151": { + "16": { + "name": "getMenuPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 151, + 16 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "19": { + "name": "loadStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 19 + ], + [ + 162, + 1 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "22": { + "name": "getStylesheetsPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 22 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "22": { + "name": "getStylesheetPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 22 + ], + [ + 177, + 1 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "20": { + "name": "loadGrammarsSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 20 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "16": { + "name": "loadGrammars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 194, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "24": { + "name": "loadScopedProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 24 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "13": { + "name": "serialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 231, + 13 + ], + [ + 238, + 1 + ] + ], + "doc": "~Private~" + } + }, + "238": { + "14": { + "name": "deactivate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 238, + 14 + ], + [ + 247, + 1 + ] + ], + "doc": "~Private~" + } + }, + "247": { + "20": { + "name": "deactivateConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 247, + 20 + ], + [ + 251, + 1 + ] + ], + "doc": "~Private~" + } + }, + "251": { + "23": { + "name": "deactivateResources", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 251, + 23 + ], + [ + 260, + 1 + ] + ], + "doc": "~Private~" + } + }, + "260": { + "21": { + "name": "reloadStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 21 + ], + [ + 266, + 1 + ] + ], + "doc": "~Private~" + } + }, + "266": { + "20": { + "name": "reloadStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "content" + ], + "range": [ + [ + 266, + 20 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "21": { + "name": "requireMainModule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 21 + ], + [ + 275, + 1 + ] + ] + } + }, + "275": { + "21": { + "name": "getMainModulePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 275, + 21 + ], + [ + 285, + 1 + ] + ], + "doc": "~Private~" + } + }, + "285": { + "23": { + "name": "hasActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 285, + 23 + ], + [ + 297, + 1 + ] + ], + "doc": "~Private~" + } + }, + "297": { + "31": { + "name": "subscribeToActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 31 + ], + [ + 306, + 1 + ] + ], + "doc": "~Private~" + } + }, + "306": { + "25": { + "name": "handleActivationEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 306, + 25 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "35": { + "name": "unsubscribeFromActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 35 + ], + [ + 325, + 1 + ] + ], + "doc": "~Private~" + } + }, + "325": { + "36": { + "name": "disableEventHandlersOnBubblePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 325, + 36 + ], + [ + 339, + 1 + ] + ], + "doc": "~Private~" + } + }, + "339": { + "36": { + "name": "restoreEventHandlersOnBubblePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventHandlers" + ], + "range": [ + [ + 339, + 36 + ], + [ + 345, + 1 + ] + ], + "doc": "~Private~" + } + }, + "345": { + "18": { + "name": "isNativeModule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "modulePath" + ], + "range": [ + [ + 345, + 18 + ], + [ + 353, + 1 + ] + ], + "doc": "Private: Does the given module path contain native code? " + } + }, + "353": { + "34": { + "name": "getNativeModuleDependencyPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 353, + 34 + ], + [ + 371, + 1 + ] + ], + "doc": " Private: Get an array of all the native modules that this package depends on.\nThis will recurse through all dependencies. " + } + }, + "371": { + "32": { + "name": "getIncompatibleNativeModules", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 371, + 32 + ], + [ + 401, + 1 + ] + ], + "doc": " Private: Get the incompatible native modules that this package depends on.\nThis recurses through all dependencies and requires all modules that\ncontain a `.node` file.\n\nThis information is cached in local storage on a per package/version basis\nto minimize the impact on startup time. " + } + }, + "401": { + "16": { + "name": "isCompatible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 401, + 16 + ], + [ + 411, + 24 + ] + ], + "doc": " Public: Is this package compatible with this version of Atom?\n\nIncompatible packages cannot be activated. This will include packages\ninstalled to ~/.atom/packages that were built against node 0.11.10 but\nnow need to be upgrade to node 0.11.13.\n\nReturns a {Boolean}, true if compatible, false if incompatible. " + } + } + }, + "exports": 15 + }, + "src/pane-axis-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "11": { + "type": "primitive", + "range": [ + [ + 1, + 11 + ], + [ + 1, + 14 + ] + ] + } + }, + "4": { + "0": { + "type": "class", + "name": "PaneAxisView", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 5, + 14 + ], + [ + 9, + 15 + ], + [ + 12, + 16 + ], + [ + 16, + 22 + ], + [ + 22, + 16 + ], + [ + 26, + 18 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 31, + 48 + ] + ] + } + }, + "5": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 5, + 14 + ], + [ + 9, + 1 + ] + ] + } + }, + "9": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 15 + ], + [ + 12, + 1 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "16": { + "name": "viewForModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "model" + ], + "range": [ + [ + 12, + 16 + ], + [ + 16, + 1 + ] + ], + "doc": "~Private~" + } + }, + "16": { + "22": { + "name": "onChildrenChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 16, + 22 + ], + [ + 22, + 1 + ] + ], + "doc": "~Private~" + } + }, + "22": { + "16": { + "name": "onChildAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child", + "index" + ], + "range": [ + [ + 22, + 16 + ], + [ + 26, + 1 + ] + ], + "doc": "~Private~" + } + }, + "26": { + "18": { + "name": "onChildRemoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 26, + 18 + ], + [ + 31, + 48 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/pane-axis.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 15 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Sequence", + "exportsProperty": "Sequence" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 7 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "flatten", + "exportsProperty": "flatten" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "4": { + "14": { + "type": "primitive", + "range": [ + [ + 4, + 14 + ], + [ + 4, + 17 + ] + ] + } + }, + "5": { + "17": { + "type": "primitive", + "range": [ + [ + 5, + 17 + ], + [ + 5, + 20 + ] + ] + } + }, + "8": { + "0": { + "type": "class", + "name": "PaneAxis", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 25, + 21 + ], + [ + 30, + 19 + ], + [ + 34, + 16 + ], + [ + 40, + 12 + ], + [ + 43, + 12 + ], + [ + 46, + 15 + ], + [ + 51, + 16 + ], + [ + 56, + 21 + ], + [ + 60, + 20 + ], + [ + 64, + 21 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 65, + 44 + ] + ] + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 25, + 21 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 19 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 16 + ], + [ + 40, + 1 + ] + ], + "doc": "~Private~" + } + }, + "40": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 40, + 12 + ], + [ + 43, + 1 + ] + ], + "doc": "~Private~" + } + }, + "43": { + "12": { + "name": "addChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child", + "index" + ], + "range": [ + [ + 43, + 12 + ], + [ + 46, + 1 + ] + ], + "doc": "~Private~" + } + }, + "46": { + "15": { + "name": "removeChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 46, + 15 + ], + [ + 51, + 1 + ] + ], + "doc": "~Private~" + } + }, + "51": { + "16": { + "name": "replaceChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "oldChild", + "newChild" + ], + "range": [ + [ + 51, + 16 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "21": { + "name": "insertChildBefore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "currentChild", + "newChild" + ], + "range": [ + [ + 56, + 21 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "20": { + "name": "insertChildAfter", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "currentChild", + "newChild" + ], + "range": [ + [ + 60, + 20 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "21": { + "name": "reparentLastChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 21 + ], + [ + 65, + 44 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/pane-column-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "15": { + "name": "PaneAxisView", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 40 + ] + ], + "bindingType": "variable", + "path": "./pane-axis-view" + } + }, + "5": { + "0": { + "type": "class", + "name": "PaneColumnView", + "bindingType": "exports", + "classProperties": [ + [ + 7, + 12 + ] + ], + "prototypeProperties": [ + [ + 10, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 11, + 16 + ] + ] + } + }, + "7": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 7, + 12 + ], + [ + 10, + 1 + ] + ], + "doc": "~Private~" + } + }, + "10": { + "13": { + "name": "className", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 13 + ], + [ + 11, + 16 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "src/pane-container-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "1": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@1.x" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "3": { + "11": { + "name": "PaneView", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-view" + } + }, + "4": { + "16": { + "name": "PaneContainer", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 41 + ] + ], + "bindingType": "variable", + "path": "./pane-container" + } + }, + "8": { + "0": { + "type": "class", + "name": "PaneContainerView", + "bindingType": "exports", + "classProperties": [ + [ + 13, + 12 + ] + ], + "prototypeProperties": [ + [ + 16, + 14 + ], + [ + 25, + 16 + ], + [ + 30, + 11 + ], + [ + 33, + 17 + ], + [ + 47, + 27 + ], + [ + 50, + 15 + ], + [ + 55, + 16 + ], + [ + 64, + 16 + ], + [ + 67, + 15 + ], + [ + 70, + 15 + ], + [ + 73, + 16 + ], + [ + 79, + 18 + ], + [ + 82, + 17 + ], + [ + 86, + 21 + ], + [ + 89, + 21 + ], + [ + 92, + 17 + ], + [ + 95, + 14 + ], + [ + 98, + 21 + ], + [ + 101, + 25 + ], + [ + 104, + 22 + ], + [ + 107, + 22 + ], + [ + 110, + 23 + ], + [ + 113, + 24 + ], + [ + 116, + 26 + ], + [ + 143, + 26 + ], + [ + 152, + 12 + ] + ], + "doc": "Private: Manages the list of panes within a {WorkspaceView} ", + "range": [ + [ + 8, + 0 + ], + [ + 154, + 19 + ] + ] + } + }, + "13": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 12 + ], + [ + 16, + 1 + ] + ], + "doc": "~Private~" + } + }, + "16": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 16, + 14 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "16": { + "name": "viewForModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "model" + ], + "range": [ + [ + 25, + 16 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "getRoot", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 11 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "17": { + "name": "onRootChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "root" + ], + "range": [ + [ + 33, + 17 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "27": { + "name": "onActivePaneItemChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "activeItem" + ], + "range": [ + [ + 47, + 27 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "15": { + "name": "removeChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 50, + 15 + ], + [ + 55, + 1 + ] + ], + "doc": "~Private~" + } + }, + "55": { + "16": { + "name": "confirmClose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 16 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "16": { + "name": "getPaneViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 16 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "15": { + "name": "indexOfPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "paneView" + ], + "range": [ + [ + 67, + 15 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "15": { + "name": "paneAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 70, + 15 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "16": { + "name": "eachPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 73, + 16 + ], + [ + 79, + 1 + ] + ], + "doc": "~Private~" + } + }, + "79": { + "18": { + "name": "getFocusedPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 18 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 17 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "21": { + "name": "getActivePaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 21 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "17": { + "name": "getActiveView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 92, + 17 + ], + [ + 95, + 1 + ] + ], + "doc": "~Private~" + } + }, + "95": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 95, + 14 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "21": { + "name": "focusNextPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 21 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "focusPreviousPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 25 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "22": { + "name": "focusPaneViewAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 22 + ], + [ + 107, + 1 + ] + ], + "doc": "~Private~" + } + }, + "107": { + "22": { + "name": "focusPaneViewBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 22 + ], + [ + 110, + 1 + ] + ], + "doc": "~Private~" + } + }, + "110": { + "23": { + "name": "focusPaneViewOnLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 23 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "24": { + "name": "focusPaneViewOnRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 113, + 24 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "26": { + "name": "nearestPaneInDirection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "direction" + ], + "range": [ + [ + 116, + 26 + ], + [ + 143, + 1 + ] + ], + "doc": "~Private~" + } + }, + "143": { + "26": { + "name": "boundingBoxForPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "paneView" + ], + "range": [ + [ + 143, + 26 + ], + [ + 152, + 1 + ] + ], + "doc": "~Private~" + } + }, + "152": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 152, + 12 + ], + [ + 154, + 19 + ] + ], + "doc": "Private: Deprecated " + } + } + }, + "exports": 8 + }, + "src/pane-container.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "find", + "exportsProperty": "find" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "3": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "6": { + "0": { + "type": "class", + "name": "PaneContainer", + "bindingType": "exports", + "classProperties": [ + [ + 10, + 12 + ] + ], + "prototypeProperties": [ + [ + 16, + 16 + ], + [ + 23, + 15 + ], + [ + 28, + 21 + ], + [ + 34, + 19 + ], + [ + 38, + 16 + ], + [ + 42, + 12 + ], + [ + 45, + 17 + ], + [ + 48, + 14 + ], + [ + 51, + 11 + ], + [ + 54, + 20 + ], + [ + 64, + 24 + ], + [ + 75, + 17 + ], + [ + 89, + 21 + ], + [ + 92, + 17 + ], + [ + 96, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 6, + 0 + ], + [ + 97, + 42 + ] + ] + } + }, + "10": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 10, + 12 + ], + [ + 10, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "16": { + "16": { + "name": "previousRoot", + "type": "primitive", + "range": [ + [ + 16, + 16 + ], + [ + 16, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "23": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 23, + 15 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 28, + 21 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 34, + 19 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "16": { + "name": "replaceChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "oldChild", + "newChild" + ], + "range": [ + [ + 38, + 16 + ], + [ + 42, + 1 + ] + ], + "doc": "~Private~" + } + }, + "42": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 12 + ], + [ + 45, + 1 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 17 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 48, + 14 + ], + [ + 51, + 1 + ] + ], + "doc": "~Private~" + } + }, + "51": { + "11": { + "name": "saveAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 51, + 11 + ], + [ + 54, + 1 + ] + ], + "doc": "~Private~" + } + }, + "54": { + "20": { + "name": "activateNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 54, + 20 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "24": { + "name": "activatePreviousPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 24 + ], + [ + 75, + 1 + ] + ], + "doc": "~Private~" + } + }, + "75": { + "17": { + "name": "onRootChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "root" + ], + "range": [ + [ + 75, + 17 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "destroyEmptyPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "17": { + "name": "itemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 92, + 17 + ], + [ + 96, + 1 + ] + ], + "doc": "~Private~" + } + }, + "96": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 13 + ], + [ + 97, + 42 + ] + ], + "doc": "Private: Called by Model superclass when destroyed " + } + } + }, + "exports": 6 + }, + "src/pane-row-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "15": { + "name": "PaneAxisView", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 40 + ] + ], + "bindingType": "variable", + "path": "./pane-axis-view" + } + }, + "5": { + "0": { + "type": "class", + "name": "PaneRowView", + "bindingType": "exports", + "classProperties": [ + [ + 6, + 12 + ] + ], + "prototypeProperties": [ + [ + 9, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 10, + 13 + ] + ] + } + }, + "6": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 12 + ], + [ + 9, + 1 + ] + ] + } + }, + "9": { + "13": { + "name": "className", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 13 + ], + [ + 10, + 13 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "src/pane-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@1.x" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "3": { + "20": { + "name": "PropertyAccessors", + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 47 + ] + ], + "bindingType": "variable", + "module": "property-accessors@1.x" + } + }, + "5": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "14": { + "0": { + "type": "class", + "name": "PaneView", + "bindingType": "exports", + "classProperties": [ + [ + 18, + 12 + ], + [ + 20, + 12 + ] + ], + "prototypeProperties": [ + [ + 32, + 22 + ], + [ + 34, + 14 + ], + [ + 45, + 16 + ], + [ + 84, + 14 + ], + [ + 89, + 12 + ], + [ + 94, + 18 + ], + [ + 99, + 19 + ], + [ + 104, + 16 + ], + [ + 109, + 20 + ], + [ + 113, + 15 + ], + [ + 121, + 15 + ], + [ + 124, + 25 + ], + [ + 133, + 15 + ], + [ + 139, + 21 + ], + [ + 142, + 23 + ], + [ + 158, + 15 + ], + [ + 161, + 17 + ], + [ + 175, + 15 + ], + [ + 178, + 25 + ], + [ + 182, + 26 + ], + [ + 185, + 15 + ], + [ + 199, + 13 + ], + [ + 201, + 14 + ], + [ + 203, + 11 + ], + [ + 205, + 13 + ], + [ + 210, + 16 + ], + [ + 213, + 16 + ], + [ + 216, + 10 + ] + ], + "doc": " Public: A container which can contains multiple items to be switched between.\n\nItems can be almost anything however most commonly they're {EditorView}s.\n\nMost packages won't need to use this class, unless you're interested in\nbuilding a package that deals with switching between panes or items. ", + "range": [ + [ + 14, + 0 + ], + [ + 219, + 9 + ] + ] + } + }, + "18": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 18, + 12 + ], + [ + 18, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "20": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "wrappedView" + ], + "range": [ + [ + 20, + 12 + ], + [ + 24, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "22": { + "name": "previousActiveItem", + "type": "primitive", + "range": [ + [ + 32, + 22 + ], + [ + 32, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "34": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 34, + 14 + ], + [ + 45, + 1 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 16 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "14": { + "name": "removeItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 84, + 14 + ], + [ + 89, + 1 + ] + ], + "doc": "Deprecated: Use ::destroyItem " + } + }, + "89": { + "12": { + "name": "showItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 89, + 12 + ], + [ + 94, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItem " + } + }, + "94": { + "18": { + "name": "showItemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 94, + 18 + ], + [ + 99, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItemForUri " + } + }, + "99": { + "19": { + "name": "showItemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 99, + 19 + ], + [ + 104, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItemAtIndex " + } + }, + "104": { + "16": { + "name": "showNextItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 16 + ], + [ + 109, + 1 + ] + ], + "doc": "Deprecated: Use ::activateNextItem " + } + }, + "109": { + "20": { + "name": "showPreviousItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 20 + ], + [ + 113, + 1 + ] + ], + "doc": "Deprecated: Use ::activatePreviousItem " + } + }, + "113": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 113, + 15 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "15": { + "name": "onActivated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 121, + 15 + ], + [ + 124, + 1 + ] + ], + "doc": "~Private~" + } + }, + "124": { + "25": { + "name": "onActiveStatusChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "active" + ], + "range": [ + [ + 124, + 25 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "15": { + "name": "getNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 15 + ], + [ + 139, + 1 + ] + ], + "doc": "Public: Returns the next pane, ordered by creation. " + } + }, + "139": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 139, + 21 + ], + [ + 142, + 1 + ] + ], + "doc": "~Private~" + } + }, + "142": { + "23": { + "name": "onActiveItemChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 142, + 23 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "15": { + "name": "onItemAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index" + ], + "range": [ + [ + 158, + 15 + ], + [ + 161, + 1 + ] + ], + "doc": "~Private~" + } + }, + "161": { + "17": { + "name": "onItemRemoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index", + "destroyed" + ], + "range": [ + [ + 161, + 17 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "15": { + "name": "onItemMoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "newIndex" + ], + "range": [ + [ + 175, + 15 + ], + [ + 178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "178": { + "25": { + "name": "onBeforeItemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 178, + 25 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "26": { + "name": "activeItemTitleChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 182, + 26 + ], + [ + 185, + 1 + ] + ], + "doc": "~Private~" + } + }, + "185": { + "15": { + "name": "viewForItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 185, + 15 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "199": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 199, + 13 + ], + [ + 199, + 57 + ] + ], + "doc": "~Private~" + } + }, + "201": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 201, + 14 + ], + [ + 201, + 59 + ] + ], + "doc": "~Private~" + } + }, + "203": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 203, + 11 + ], + [ + 203, + 53 + ] + ], + "doc": "~Private~" + } + }, + "205": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 205, + 13 + ], + [ + 205, + 57 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "16": { + "name": "getContainer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": " Public: Get the container view housing this pane.\n\nReturns a {View}. " + } + }, + "213": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 16 + ], + [ + 216, + 1 + ] + ], + "doc": "~Private~" + } + }, + "216": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "keepData" + ], + "range": [ + [ + 216, + 10 + ], + [ + 219, + 9 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 14 + }, + "src/pane.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "find", + "exportsProperty": "find" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 13 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "compact", + "exportsProperty": "compact" + }, + "16": { + "type": "import", + "range": [ + [ + 0, + 16 + ], + [ + 0, + 21 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "extend", + "exportsProperty": "extend" + }, + "24": { + "type": "import", + "range": [ + [ + 0, + 24 + ], + [ + 0, + 27 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "last", + "exportsProperty": "last" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + }, + "8": { + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 15 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Sequence", + "exportsProperty": "Sequence" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "3": { + "11": { + "name": "PaneAxis", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-axis" + } + }, + "4": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "5": { + "11": { + "type": "primitive", + "range": [ + [ + 5, + 11 + ], + [ + 5, + 14 + ] + ] + } + }, + "11": { + "0": { + "type": "class", + "name": "Pane", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 43, + 19 + ], + [ + 50, + 21 + ], + [ + 57, + 16 + ], + [ + 59, + 12 + ], + [ + 62, + 9 + ], + [ + 67, + 8 + ], + [ + 73, + 12 + ], + [ + 77, + 12 + ], + [ + 82, + 12 + ], + [ + 88, + 17 + ], + [ + 93, + 19 + ], + [ + 97, + 15 + ], + [ + 101, + 20 + ], + [ + 109, + 24 + ], + [ + 117, + 22 + ], + [ + 121, + 23 + ], + [ + 125, + 16 + ], + [ + 137, + 11 + ], + [ + 154, + 12 + ], + [ + 159, + 14 + ], + [ + 175, + 12 + ], + [ + 182, + 18 + ], + [ + 187, + 21 + ], + [ + 193, + 15 + ], + [ + 204, + 16 + ], + [ + 208, + 24 + ], + [ + 211, + 11 + ], + [ + 218, + 13 + ], + [ + 224, + 20 + ], + [ + 239, + 18 + ], + [ + 243, + 20 + ], + [ + 251, + 12 + ], + [ + 263, + 14 + ], + [ + 273, + 13 + ], + [ + 278, + 14 + ], + [ + 283, + 22 + ], + [ + 290, + 18 + ], + [ + 300, + 13 + ], + [ + 309, + 14 + ], + [ + 318, + 11 + ], + [ + 327, + 13 + ], + [ + 330, + 9 + ], + [ + 344, + 23 + ], + [ + 356, + 32 + ] + ], + "doc": " Public: A container for multiple items, one of which is *active* at a given\ntime. With the default packages, a tab is displayed for each item and the\nactive item's view is displayed. ", + "range": [ + [ + 11, + 0 + ], + [ + 364, + 19 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 29, + 15 + ], + [ + 43, + 1 + ] + ], + "doc": "~Private~" + } + }, + "43": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 19 + ], + [ + 50, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during serialization. " + } + }, + "50": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 50, + 21 + ], + [ + 57, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during deserialization. " + } + }, + "57": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 16 + ], + [ + 57, + 51 + ] + ], + "doc": "Private: Called by the view layer to construct a view for this model. " + } + }, + "59": { + "12": { + "name": "isActive", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 12 + ], + [ + 59, + 21 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 62, + 9 + ], + [ + 67, + 1 + ] + ], + "doc": "Private: Called by the view layer to indicate that the pane has gained focus. " + } + }, + "67": { + "8": { + "name": "blur", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 8 + ], + [ + 73, + 1 + ] + ], + "doc": "Private: Called by the view layer to indicate that the pane has lost focus. " + } + }, + "73": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 12 + ], + [ + 77, + 1 + ] + ], + "doc": " Public: Makes this pane the *active* pane, causing it to gain focus\nimmediately. " + } + }, + "77": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 77, + 12 + ], + [ + 77, + 20 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "12": { + "name": "getItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 12 + ], + [ + 88, + 1 + ] + ], + "doc": " Public: Get the items in this pane.\n\nReturns an {Array} of items. " + } + }, + "88": { + "17": { + "name": "getActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 17 + ], + [ + 93, + 1 + ] + ], + "doc": " Public: Get the active pane item in this pane.\n\nReturns a pane item. " + } + }, + "93": { + "19": { + "name": "getActiveEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 93, + 19 + ], + [ + 97, + 1 + ] + ], + "doc": " Public: Returns an {Editor} if the pane item is an {Editor}, or null\notherwise. " + } + }, + "97": { + "15": { + "name": "itemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 97, + 15 + ], + [ + 101, + 1 + ] + ], + "doc": "Public: Returns the item at the specified index. " + } + }, + "101": { + "20": { + "name": "activateNextItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 20 + ], + [ + 109, + 1 + ] + ], + "doc": "Public: Makes the next item active. " + } + }, + "109": { + "24": { + "name": "activatePreviousItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 24 + ], + [ + 117, + 1 + ] + ], + "doc": "Public: Makes the previous item active. " + } + }, + "117": { + "22": { + "name": "getActiveItemIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 22 + ], + [ + 121, + 1 + ] + ], + "doc": "Private: Returns the index of the current active item. " + } + }, + "121": { + "23": { + "name": "activateItemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 121, + 23 + ], + [ + 125, + 1 + ] + ], + "doc": "Private: Makes the item at the given index active. " + } + }, + "125": { + "16": { + "name": "activateItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 125, + 16 + ], + [ + 137, + 1 + ] + ], + "doc": "Private: Makes the given item active, adding the item if necessary. " + } + }, + "137": { + "11": { + "name": "addItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index" + ], + "range": [ + [ + 137, + 11 + ], + [ + 154, + 1 + ] + ], + "doc": " Public: Adds the item to the pane.\n\nitem - The item to add. It can be a model with an associated view or a view.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns the added item " + } + }, + "154": { + "12": { + "name": "addItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items", + "index" + ], + "range": [ + [ + 154, + 12 + ], + [ + 159, + 1 + ] + ], + "doc": " Public: Adds the given items to the pane.\n\nitems - An {Array} of items to add. Items can be models with associated\n views or views. Any items that are already present in items will\n not be added.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns an {Array} of the added items " + } + }, + "159": { + "14": { + "name": "removeItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "destroying" + ], + "range": [ + [ + 159, + 14 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "12": { + "name": "moveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "newIndex" + ], + "range": [ + [ + 175, + 12 + ], + [ + 182, + 1 + ] + ], + "doc": "Public: Moves the given item to the specified index. " + } + }, + "182": { + "18": { + "name": "moveItemToPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "pane", + "index" + ], + "range": [ + [ + 182, + 18 + ], + [ + 187, + 1 + ] + ], + "doc": "Public: Moves the given item to the given index at another pane. " + } + }, + "187": { + "21": { + "name": "destroyActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 187, + 21 + ], + [ + 193, + 1 + ] + ], + "doc": "Public: Destroys the currently active item and make the next item active. " + } + }, + "193": { + "15": { + "name": "destroyItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 193, + 15 + ], + [ + 204, + 1 + ] + ], + "doc": " Public: Destroys the given item. If it is the active item, activate the next\none. If this is the last item, also destroys the pane. " + } + }, + "204": { + "16": { + "name": "destroyItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 204, + 16 + ], + [ + 208, + 1 + ] + ], + "doc": "Public: Destroys all items and destroys the pane. " + } + }, + "208": { + "24": { + "name": "destroyInactiveItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 208, + 24 + ], + [ + 211, + 1 + ] + ], + "doc": "Public: Destroys all items but the active one. " + } + }, + "211": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 211, + 11 + ], + [ + 218, + 1 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 218, + 13 + ], + [ + 224, + 1 + ] + ], + "doc": "Private: Called by model superclass. " + } + }, + "224": { + "20": { + "name": "promptToSaveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 224, + 20 + ], + [ + 239, + 1 + ] + ], + "doc": " Public: Prompts the user to save the given item if it can be saved and is\ncurrently unsaved. " + } + }, + "239": { + "18": { + "name": "saveActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 239, + 18 + ], + [ + 243, + 1 + ] + ], + "doc": "Public: Saves the active item. " + } + }, + "243": { + "20": { + "name": "saveActiveItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 243, + 20 + ], + [ + 251, + 1 + ] + ], + "doc": "Public: Saves the active item at a prompted-for location. " + } + }, + "251": { + "12": { + "name": "saveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "nextAction" + ], + "range": [ + [ + 251, + 12 + ], + [ + 263, + 1 + ] + ], + "doc": " Public: Saves the specified item.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " + } + }, + "263": { + "14": { + "name": "saveItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "nextAction" + ], + "range": [ + [ + 263, + 14 + ], + [ + 273, + 1 + ] + ], + "doc": " Public: Saves the given item at a prompted-for location.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " + } + }, + "273": { + "13": { + "name": "saveItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 273, + 13 + ], + [ + 278, + 1 + ] + ], + "doc": "Public: Saves all items. " + } + }, + "278": { + "14": { + "name": "itemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 278, + 14 + ], + [ + 283, + 1 + ] + ], + "doc": " Public: Returns the first item that matches the given URI or undefined if\nnone exists. " + } + }, + "283": { + "22": { + "name": "activateItemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 283, + 22 + ], + [ + 290, + 1 + ] + ], + "doc": " Public: Activates the first item that matches the given URI. Returns a\nboolean indicating whether a matching item was found. " + } + }, + "290": { + "18": { + "name": "copyActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 290, + 18 + ], + [ + 300, + 1 + ] + ], + "doc": "~Private~" + } + }, + "300": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 300, + 13 + ], + [ + 309, + 1 + ] + ], + "doc": " Public: Creates a new pane to the left of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "309": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 309, + 14 + ], + [ + 318, + 1 + ] + ], + "doc": " Public: Creates a new pane to the right of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "318": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 318, + 11 + ], + [ + 327, + 1 + ] + ], + "doc": " Public: Creates a new pane above the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "327": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 327, + 13 + ], + [ + 330, + 1 + ] + ], + "doc": " Public: Creates a new pane below the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "330": { + "9": { + "name": "split", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "orientation", + "side", + "params" + ], + "range": [ + [ + 330, + 9 + ], + [ + 344, + 1 + ] + ], + "doc": "~Private~" + } + }, + "344": { + "23": { + "name": "findLeftmostSibling", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 344, + 23 + ], + [ + 356, + 1 + ] + ], + "doc": " Private: If the parent is a horizontal axis, returns its first child if it is a pane;\notherwise returns this pane. " + } + }, + "356": { + "32": { + "name": "findOrCreateRightmostSibling", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 356, + 32 + ], + [ + 364, + 19 + ] + ], + "doc": " Private: If the parent is a horizontal axis, returns its last child if it is a pane;\notherwise returns a new pane created by splitting this pane rightward. " + } + } + }, + "exports": 11 + }, + "src/project.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "9": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 9, + 15 + ], + [ + 9, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "10": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer" + } + }, + "11": { + "1": { + "type": "import", + "range": [ + [ + 11, + 1 + ], + [ + 11, + 9 + ] + ], + "bindingType": "variable", + "module": "pathwatcher", + "name": "Directory", + "exportsProperty": "Directory" + } + }, + "13": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 13, + 9 + ], + [ + 13, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "14": { + "7": { + "name": "Task", + "type": "import", + "range": [ + [ + 14, + 7 + ], + [ + 14, + 22 + ] + ], + "bindingType": "variable", + "path": "./task" + } + }, + "15": { + "6": { + "name": "Git", + "type": "import", + "range": [ + [ + 15, + 6 + ], + [ + 15, + 20 + ] + ], + "bindingType": "variable", + "path": "./git" + } + }, + "21": { + "0": { + "type": "class", + "name": "Project", + "bindingType": "exports", + "classProperties": [ + [ + 26, + 25 + ] + ], + "prototypeProperties": [ + [ + 31, + 15 + ], + [ + 40, + 19 + ], + [ + 44, + 21 + ], + [ + 48, + 13 + ], + [ + 52, + 15 + ], + [ + 57, + 28 + ], + [ + 61, + 11 + ], + [ + 64, + 11 + ], + [ + 68, + 11 + ], + [ + 85, + 20 + ], + [ + 95, + 11 + ], + [ + 109, + 14 + ], + [ + 114, + 12 + ], + [ + 124, + 8 + ], + [ + 130, + 12 + ], + [ + 139, + 14 + ], + [ + 143, + 18 + ], + [ + 146, + 21 + ], + [ + 150, + 21 + ], + [ + 163, + 17 + ], + [ + 168, + 15 + ], + [ + 172, + 19 + ], + [ + 184, + 15 + ], + [ + 194, + 13 + ], + [ + 198, + 20 + ], + [ + 207, + 16 + ], + [ + 211, + 23 + ], + [ + 221, + 8 + ], + [ + 268, + 11 + ], + [ + 300, + 24 + ], + [ + 304, + 14 + ], + [ + 315, + 18 + ], + [ + 320, + 20 + ], + [ + 325, + 14 + ], + [ + 330, + 14 + ] + ], + "doc": " Public: Represents a project that's opened in Atom.\n\nAn instance of this class is always available as the `atom.project` global. ", + "range": [ + [ + 21, + 0 + ], + [ + 332, + 31 + ] + ] + } + }, + "26": { + "25": { + "name": "pathForRepositoryUrl", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "repoUrl" + ], + "range": [ + [ + 26, + 25 + ], + [ + 31, + 1 + ] + ], + "doc": "Public: Find the local path for the given repository URL. " + } + }, + "31": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 31, + 15 + ], + [ + 40, + 1 + ] + ], + "doc": "~Private~" + } + }, + "40": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 40, + 19 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 44, + 21 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 13 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "15": { + "name": "destroyRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 15 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "28": { + "name": "destroyUnretainedBuffers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 28 + ], + [ + 61, + 1 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "11": { + "name": "getRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 11 + ], + [ + 61, + 18 + ] + ], + "doc": "Public: Returns the {Git} repository if available. " + } + }, + "64": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 11 + ], + [ + 68, + 1 + ] + ], + "doc": "Public: Returns the project's fullpath. " + } + }, + "68": { + "11": { + "name": "setPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "projectPath" + ], + "range": [ + [ + 68, + 11 + ], + [ + 85, + 1 + ] + ], + "doc": "Public: Sets the project's fullpath. " + } + }, + "85": { + "20": { + "name": "getRootDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 85, + 20 + ], + [ + 95, + 1 + ] + ], + "doc": "Public: Returns the root {Directory} object for this project. " + } + }, + "95": { + "11": { + "name": "resolve", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 95, + 11 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Given a uri, this resolves it relative to the project directory. If\nthe path is already absolute or if it is prefixed with a scheme, it is\nreturned unchanged.\n\nuri - The {String} name of the path to convert.\n\nReturns a {String} or undefined if the uri is not missing or empty. " + } + }, + "109": { + "14": { + "name": "relativize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fullPath" + ], + "range": [ + [ + 109, + 14 + ], + [ + 114, + 1 + ] + ], + "doc": "Public: Make the given path relative to the project directory. " + } + }, + "114": { + "12": { + "name": "contains", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToCheck" + ], + "range": [ + [ + 114, + 12 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Returns whether the given path is inside this project. " + } + }, + "124": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "options" + ], + "range": [ + [ + 124, + 8 + ], + [ + 130, + 1 + ] + ], + "doc": " Private: Given a path to a file, this constructs and associates a new\n{Editor}, showing the file.\n\nfilePath - The {String} path of the file to associate with.\noptions - Options that you can pass to the {Editor} constructor.\n\nReturns a promise that resolves to an {Editor}. " + } + }, + "130": { + "12": { + "name": "openSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "options" + ], + "range": [ + [ + 130, + 12 + ], + [ + 139, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "139": { + "14": { + "name": "getBuffers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 139, + 14 + ], + [ + 143, + 1 + ] + ], + "doc": " Private: Retrieves all the {TextBuffer}s in the project; that is, the\nbuffers for all open files.\n\nReturns an {Array} of {TextBuffer}s. " + } + }, + "143": { + "18": { + "name": "isPathModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 143, + 18 + ], + [ + 146, + 1 + ] + ], + "doc": "Private: Is the buffer for the given path modified? " + } + }, + "146": { + "21": { + "name": "findBufferForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 146, + 21 + ], + [ + 150, + 1 + ] + ], + "doc": "~Private~" + } + }, + "150": { + "21": { + "name": "bufferForPathSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 150, + 21 + ], + [ + 163, + 1 + ] + ], + "doc": "Private: Only to be used in specs " + } + }, + "163": { + "17": { + "name": "bufferForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 163, + 17 + ], + [ + 168, + 1 + ] + ], + "doc": " Private: Given a file path, this retrieves or creates a new {TextBuffer}.\n\nIf the `filePath` already has a `buffer`, that value is used instead. Otherwise,\n`text` is used as the contents of the new buffer.\n\nfilePath - A {String} representing a path. If `null`, an \"Untitled\" buffer is created.\n\nReturns a promise that resolves to the {TextBuffer}. " + } + }, + "168": { + "15": { + "name": "bufferForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 168, + 15 + ], + [ + 172, + 1 + ] + ], + "doc": "~Private~" + } + }, + "172": { + "19": { + "name": "buildBufferSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "absoluteFilePath" + ], + "range": [ + [ + 172, + 19 + ], + [ + 184, + 1 + ] + ], + "doc": "Private: Still needed when deserializing a tokenized buffer " + } + }, + "184": { + "15": { + "name": "buildBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "absoluteFilePath" + ], + "range": [ + [ + 184, + 15 + ], + [ + 194, + 1 + ] + ], + "doc": " Private: Given a file path, this sets its {TextBuffer}.\n\nabsoluteFilePath - A {String} representing a path.\ntext - The {String} text to use as a buffer.\n\nReturns a promise that resolves to the {TextBuffer}. " + } + }, + "194": { + "13": { + "name": "addBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "options" + ], + "range": [ + [ + 194, + 13 + ], + [ + 198, + 1 + ] + ], + "doc": "~Private~" + } + }, + "198": { + "20": { + "name": "addBufferAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "index", + "options" + ], + "range": [ + [ + 198, + 20 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "16": { + "name": "removeBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer" + ], + "range": [ + [ + 207, + 16 + ], + [ + 211, + 1 + ] + ], + "doc": " Private: Removes a {TextBuffer} association from the project.\n\nReturns the removed {TextBuffer}. " + } + }, + "211": { + "23": { + "name": "removeBufferAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index", + "options" + ], + "range": [ + [ + 211, + 23 + ], + [ + 221, + 1 + ] + ], + "doc": "~Private~" + } + }, + "221": { + "8": { + "name": "scan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "options", + "iterator" + ], + "range": [ + [ + 221, + 8 + ], + [ + 268, + 1 + ] + ], + "doc": " Public: Performs a search across all the files in the project.\n\nregex - A {RegExp} to search with.\noptions - An optional options {Object} (default: {}):\n :paths - An {Array} of glob patterns to search within\niterator - A {Function} callback on each file found " + } + }, + "268": { + "11": { + "name": "replace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "replacementText", + "filePaths", + "iterator" + ], + "range": [ + [ + 268, + 11 + ], + [ + 300, + 1 + ] + ], + "doc": " Public: Performs a replace across all the specified files in the project.\n\nregex - A {RegExp} to search with.\nreplacementText - Text to replace all matches of regex with\nfilePaths - List of file path strings to run the replace on.\niterator - A {Function} callback on each file with replacements:\n `({filePath, replacements}) ->`. " + } + }, + "300": { + "24": { + "name": "buildEditorForBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "editorOptions" + ], + "range": [ + [ + 300, + 24 + ], + [ + 304, + 1 + ] + ], + "doc": "~Private~" + } + }, + "304": { + "14": { + "name": "eachBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 304, + 14 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "18": { + "name": "registerOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 315, + 18 + ], + [ + 320, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "320": { + "20": { + "name": "unregisterOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 320, + 20 + ], + [ + 325, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "325": { + "14": { + "name": "eachEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 325, + 14 + ], + [ + 330, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "330": { + "14": { + "name": "getEditors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 330, + 14 + ], + [ + 332, + 31 + ] + ], + "doc": "Deprecated: delegate " + } + } + }, + "exports": 21 + }, + "src/react-editor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "module": "space-pen", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "defaults", + "exportsProperty": "defaults" + } + }, + "3": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 3, + 13 + ], + [ + 3, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer" + } + }, + "4": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "5": { + "18": { + "name": "EditorComponent", + "type": "import", + "range": [ + [ + 5, + 18 + ], + [ + 5, + 45 + ] + ], + "bindingType": "variable", + "path": "./editor-component" + } + }, + "8": { + "0": { + "type": "class", + "name": "ReactEditorView", + "bindingType": "exports", + "classProperties": [ + [ + 9, + 12 + ] + ], + "prototypeProperties": [ + [ + 14, + 17 + ], + [ + 16, + 15 + ], + [ + 58, + 13 + ], + [ + 60, + 12 + ], + [ + 69, + 15 + ], + [ + 77, + 13 + ], + [ + 83, + 14 + ], + [ + 89, + 18 + ], + [ + 92, + 26 + ], + [ + 95, + 26 + ], + [ + 98, + 26 + ], + [ + 101, + 25 + ], + [ + 105, + 34 + ], + [ + 108, + 34 + ], + [ + 111, + 21 + ], + [ + 116, + 16 + ], + [ + 122, + 13 + ], + [ + 127, + 14 + ], + [ + 132, + 11 + ], + [ + 137, + 13 + ], + [ + 141, + 11 + ], + [ + 144, + 9 + ], + [ + 150, + 8 + ], + [ + 154, + 8 + ], + [ + 158, + 20 + ], + [ + 165, + 12 + ], + [ + 168, + 10 + ], + [ + 171, + 12 + ], + [ + 174, + 28 + ], + [ + 177, + 27 + ], + [ + 180, + 17 + ], + [ + 183, + 17 + ], + [ + 186, + 15 + ], + [ + 189, + 15 + ], + [ + 192, + 19 + ], + [ + 195, + 17 + ], + [ + 198, + 22 + ], + [ + 201, + 15 + ], + [ + 204, + 21 + ], + [ + 207, + 18 + ], + [ + 210, + 18 + ], + [ + 213, + 11 + ], + [ + 216, + 11 + ], + [ + 219, + 14 + ], + [ + 222, + 18 + ], + [ + 225, + 19 + ], + [ + 228, + 24 + ], + [ + 230, + 17 + ], + [ + 232, + 16 + ], + [ + 234, + 10 + ], + [ + 236, + 22 + ], + [ + 242, + 27 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 243, + 49 + ] + ] + } + }, + "9": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 9, + 12 + ], + [ + 14, + 1 + ] + ] + } + }, + "14": { + "17": { + "name": "focusOnAttach", + "type": "primitive", + "range": [ + [ + 14, + 17 + ], + [ + 14, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorOrParams", + "props" + ], + "range": [ + [ + 16, + 15 + ], + [ + 58, + 1 + ] + ], + "doc": "~Private~" + } + }, + "58": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 58, + 13 + ], + [ + 58, + 22 + ] + ], + "doc": "~Private~" + } + }, + "69": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 69, + 15 + ], + [ + 77, + 1 + ] + ], + "doc": "~Private~" + } + }, + "77": { + "13": { + "name": "scrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 77, + 13 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "14": { + "name": "scrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 83, + 14 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "18": { + "name": "scrollToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 18 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 92, + 26 + ], + [ + 95, + 1 + ] + ], + "doc": "~Private~" + } + }, + "95": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 95, + 26 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 26 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "scrollToPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 101, + 25 + ], + [ + 105, + 1 + ] + ], + "doc": "~Private~" + } + }, + "105": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 105, + 34 + ], + [ + 108, + 1 + ] + ], + "doc": "~Private~" + } + }, + "108": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 108, + 34 + ], + [ + 111, + 1 + ] + ], + "doc": "~Private~" + } + }, + "111": { + "21": { + "name": "appendToLinesView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 111, + 21 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 16 + ], + [ + 122, + 1 + ] + ], + "doc": "~Private~" + } + }, + "122": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 122, + 13 + ], + [ + 127, + 1 + ] + ], + "doc": "Public: Split the editor view left. " + } + }, + "127": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 127, + 14 + ], + [ + 132, + 1 + ] + ], + "doc": "Public: Split the editor view right. " + } + }, + "132": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 132, + 11 + ], + [ + 137, + 1 + ] + ], + "doc": "Public: Split the editor view up. " + } + }, + "137": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 13 + ], + [ + 141, + 1 + ] + ], + "doc": "Public: Split the editor view down. " + } + }, + "141": { + "11": { + "name": "getPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 11 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 144, + 9 + ], + [ + 150, + 1 + ] + ], + "doc": "~Private~" + } + }, + "150": { + "8": { + "name": "hide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 150, + 8 + ], + [ + 154, + 1 + ] + ], + "doc": "~Private~" + } + }, + "154": { + "8": { + "name": "show", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 8 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "20": { + "name": "pollComponentDOM", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 20 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 12 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 10 + ], + [ + 171, + 1 + ] + ], + "doc": "~Private~" + } + }, + "171": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 12 + ], + [ + 174, + 1 + ] + ], + "doc": "~Private~" + } + }, + "174": { + "28": { + "name": "getFirstVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 174, + 28 + ], + [ + 177, + 1 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "27": { + "name": "getLastVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 27 + ], + [ + 180, + 1 + ] + ], + "doc": "~Private~" + } + }, + "180": { + "17": { + "name": "getFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 180, + 17 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "17": { + "name": "setFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 183, + 17 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "15": { + "name": "getFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 186, + 15 + ], + [ + 189, + 1 + ] + ], + "doc": "~Private~" + } + }, + "189": { + "15": { + "name": "setFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 189, + 15 + ], + [ + 192, + 1 + ] + ], + "doc": "~Private~" + } + }, + "192": { + "19": { + "name": "setWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "widthInChars" + ], + "range": [ + [ + 192, + 19 + ], + [ + 195, + 1 + ] + ], + "doc": "~Private~" + } + }, + "195": { + "17": { + "name": "setLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 195, + 17 + ], + [ + 198, + 1 + ] + ], + "doc": "~Private~" + } + }, + "198": { + "22": { + "name": "setShowIndentGuide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showIndentGuide" + ], + "range": [ + [ + 198, + 22 + ], + [ + 201, + 1 + ] + ], + "doc": "~Private~" + } + }, + "201": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 201, + 15 + ], + [ + 204, + 1 + ] + ], + "doc": "~Private~" + } + }, + "204": { + "21": { + "name": "setShowInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showInvisibles" + ], + "range": [ + [ + 204, + 21 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 207, + 18 + ], + [ + 210, + 1 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 18 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 11 + ], + [ + 216, + 1 + ] + ], + "doc": "~Private~" + } + }, + "216": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 216, + 11 + ], + [ + 219, + 1 + ] + ], + "doc": "~Private~" + } + }, + "219": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 219, + 14 + ], + [ + 222, + 1 + ] + ], + "doc": "~Private~" + } + }, + "222": { + "18": { + "name": "isInputEnabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 222, + 18 + ], + [ + 225, + 1 + ] + ], + "doc": "~Private~" + } + }, + "225": { + "19": { + "name": "setInputEnabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "inputEnabled" + ], + "range": [ + [ + 225, + 19 + ], + [ + 228, + 1 + ] + ], + "doc": "~Private~" + } + }, + "228": { + "24": { + "name": "requestDisplayUpdate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 228, + 24 + ], + [ + 228, + 25 + ] + ], + "doc": "~Private~" + } + }, + "230": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 230, + 17 + ], + [ + 230, + 18 + ] + ], + "doc": "~Private~" + } + }, + "232": { + "16": { + "name": "resetDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 232, + 16 + ], + [ + 232, + 17 + ] + ], + "doc": "~Private~" + } + }, + "234": { + "10": { + "name": "redraw", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 10 + ], + [ + 234, + 11 + ] + ], + "doc": "~Private~" + } + }, + "236": { + "22": { + "name": "setPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "placeholderText" + ], + "range": [ + [ + 236, + 22 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "27": { + "name": "lineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 242, + 27 + ], + [ + 243, + 49 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/replace-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "PathReplacer", + "exportsProperty": "PathReplacer" + } + } + }, + "exports": 2 + }, + "src/repository-status-handler.coffee": { + "objects": { + "0": { + "6": { + "name": "Git", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "git-utils" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + } + }, + "exports": 3 + }, + "src/row-map.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 15 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "spliceWithArray", + "exportsProperty": "spliceWithArray" + } + }, + "16": { + "0": { + "type": "class", + "name": "RowMap", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 15 + ], + [ + 21, + 14 + ], + [ + 27, + 30 + ], + [ + 40, + 30 + ], + [ + 50, + 30 + ], + [ + 61, + 17 + ], + [ + 83, + 23 + ], + [ + 93, + 23 + ], + [ + 103, + 35 + ], + [ + 116, + 11 + ] + ], + "doc": " Private: Used by the display buffer to map screen rows to buffer rows and vice-versa.\nThis mapping may not be 1:1 due to folds and soft-wraps. This object maintains\nan array of regions, which contain `bufferRows` and `screenRows` fields.\n\nRectangular Regions:\nIf a region has the same number of buffer rows and screen rows, it is referred\nto as \"rectangular\", and represents one or more non-soft-wrapped, non-folded\nlines.\n\nTrapezoidal Regions:\nIf a region has one buffer row and more than one screen row, it represents a\nsoft-wrapped line. If a region has one screen row and more than one buffer\nrow, it represents folded lines ", + "range": [ + [ + 16, + 0 + ], + [ + 118, + 35 + ] + ] + } + }, + "17": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 15 + ], + [ + 21, + 1 + ] + ] + } + }, + "21": { + "14": { + "name": "getRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 14 + ], + [ + 27, + 1 + ] + ], + "doc": "Public: Returns a copy of all the regions in the map " + } + }, + "27": { + "30": { + "name": "screenRowRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 27, + 30 + ], + [ + 40, + 1 + ] + ], + "doc": " Public: Returns an end-row-exclusive range of screen rows corresponding to\nthe given buffer row. If the buffer row is soft-wrapped, the range may span\nmultiple screen rows. Otherwise it will span a single screen row. " + } + }, + "40": { + "30": { + "name": "bufferRowRangeForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetScreenRow" + ], + "range": [ + [ + 40, + 30 + ], + [ + 50, + 1 + ] + ], + "doc": " Public: Returns an end-row-exclusive range of buffer rows corresponding to\nthe given screen row. If the screen row is the first line of a folded range\nof buffer rows, the range may span multiple buffer rows. Otherwise it will\nspan a single buffer row. " + } + }, + "50": { + "30": { + "name": "bufferRowRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 50, + 30 + ], + [ + 61, + 1 + ] + ], + "doc": " Public: If the given buffer row is part of a folded row range, returns that\nrow range. Otherwise returns a range spanning only the given buffer row. " + } + }, + "61": { + "17": { + "name": "spliceRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "bufferRowCount", + "regions" + ], + "range": [ + [ + 61, + 17 + ], + [ + 83, + 1 + ] + ], + "doc": " Public: Given a starting buffer row, the number of buffer rows to replace,\nand an array of regions of shape {bufferRows: n, screenRows: m}, splices\nthe regions at the appropriate location in the map. This method is used by\ndisplay buffer to keep the map updated when the underlying buffer changes. " + } + }, + "83": { + "23": { + "name": "traverseToBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 83, + 23 + ], + [ + 93, + 1 + ] + ], + "doc": "~Private~" + } + }, + "93": { + "23": { + "name": "traverseToScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetScreenRow" + ], + "range": [ + [ + 93, + 23 + ], + [ + 103, + 1 + ] + ], + "doc": "~Private~" + } + }, + "103": { + "35": { + "name": "mergeAdjacentRectangularRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startIndex", + "endIndex" + ], + "range": [ + [ + 103, + 35 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 11 + ], + [ + 118, + 35 + ] + ], + "doc": "Public: Returns an array of strings describing the map's regions. " + } + } + }, + "exports": 16 + }, + "src/scan-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "PathSearcher", + "exportsProperty": "PathSearcher" + }, + "15": { + "type": "import", + "range": [ + [ + 0, + 15 + ], + [ + 0, + 25 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "PathScanner", + "exportsProperty": "PathScanner" + }, + "28": { + "type": "import", + "range": [ + [ + 0, + 28 + ], + [ + 0, + 33 + ] + ], + "bindingType": "variable", + "module": "scandal", + "name": "search", + "exportsProperty": "search" + } + } + }, + "exports": 2 + }, + "src/scoped-properties.coffee": { + "objects": { + "0": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "3": { + "0": { + "type": "class", + "name": "ScopedProperties", + "bindingType": "exports", + "classProperties": [ + [ + 4, + 9 + ] + ], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 13, + 12 + ], + [ + 17, + 14 + ] + ], + "doc": "~Private~", + "range": [ + [ + 3, + 0 + ], + [ + 18, + 39 + ] + ] + } + }, + "4": { + "9": { + "name": "load", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "scopedPropertiesPath", + "callback" + ], + "range": [ + [ + 4, + 9 + ], + [ + 11, + 1 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 11, + 43 + ] + ], + "doc": "~Private~" + } + }, + "13": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 12 + ], + [ + 17, + 1 + ] + ], + "doc": "~Private~" + } + }, + "17": { + "14": { + "name": "deactivate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 14 + ], + [ + 18, + 39 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 3 + }, + "src/scroll-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "21": { + "0": { + "type": "class", + "name": "ScrollView", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 22, + 14 + ] + ], + "doc": " Public: Represents a view that scrolls.\n\nSubclasses must call `super` if overriding the `initialize` method or else\nthe following events won't be handled by the ScrollView.\n\n## Events\n * `core:move-up`\n * `core:move-down`\n * `core:page-up`\n * `core:page-down`\n * `core:move-to-top`\n * `core:move-to-bottom`\n\n## Requiring in packages\n\n```coffee\n {ScrollView} = require 'atom'\n``` ", + "range": [ + [ + 21, + 0 + ], + [ + 28, + 51 + ] + ] + } + }, + "22": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 22, + 14 + ], + [ + 28, + 51 + ] + ] + } + } + }, + "exports": 21 + }, + "src/scrollbar-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 6 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "extend", + "exportsProperty": "extend" + }, + "9": { + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "21": { + "name": "ScrollbarComponent", + "type": "function", + "range": [ + [ + 5, + 21 + ], + [ + 69, + 28 + ] + ] + } + }, + "6": { + "15": { + "name": "'ScrollbarComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 34 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 21 + ], + [ + 36, + 1 + ] + ], + "doc": null + } + }, + "36": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 36, + 25 + ], + [ + 45, + 1 + ] + ], + "doc": null + } + }, + "45": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 22 + ], + [ + 57, + 1 + ] + ], + "doc": null + } + }, + "57": { + "12": { + "name": "onScroll", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 12 + ], + [ + 69, + 28 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/scrollbar-corner-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "27": { + "name": "ScrollbarCornerComponent", + "type": "function", + "range": [ + [ + 5, + 27 + ], + [ + 23, + 99 + ] + ] + } + }, + "6": { + "15": { + "name": "'ScrollbarCornerComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 40 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 22, + 1 + ] + ], + "doc": null + } + }, + "22": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 22, + 25 + ], + [ + 23, + 99 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "src/select-list-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "4": { + "15": { + "name": "EditorView", + "type": "import", + "range": [ + [ + 4, + 15 + ], + [ + 4, + 37 + ] + ], + "bindingType": "variable", + "path": "./editor-view" + } + }, + "5": { + "14": { + "type": "primitive", + "range": [ + [ + 5, + 14 + ], + [ + 5, + 41 + ] + ] + } + }, + "36": { + "0": { + "type": "class", + "name": "SelectListView", + "bindingType": "exports", + "classProperties": [ + [ + 37, + 12 + ] + ], + "prototypeProperties": [ + [ + 46, + 12 + ], + [ + 47, + 19 + ], + [ + 48, + 17 + ], + [ + 49, + 14 + ], + [ + 55, + 14 + ], + [ + 90, + 24 + ], + [ + 102, + 12 + ], + [ + 109, + 12 + ], + [ + 119, + 14 + ], + [ + 136, + 18 + ], + [ + 143, + 16 + ], + [ + 174, + 19 + ], + [ + 179, + 15 + ], + [ + 181, + 26 + ], + [ + 186, + 22 + ], + [ + 191, + 18 + ], + [ + 197, + 20 + ], + [ + 207, + 23 + ], + [ + 213, + 19 + ], + [ + 216, + 20 + ], + [ + 233, + 15 + ], + [ + 244, + 13 + ], + [ + 258, + 16 + ], + [ + 261, + 21 + ], + [ + 266, + 23 + ], + [ + 269, + 16 + ], + [ + 275, + 13 + ], + [ + 283, + 10 + ] + ], + "doc": " Public: Provides a view that renders a list of items with an editor that\nfilters the items. Used by many packages such as the fuzzy-finder,\ncommand-palette, symbols-view and autocomplete.\n\nSubclasses must implement the following methods:\n\n* {::viewForItem}\n* {::confirmed}\n\n## Requiring in packages\n\n```coffee\n{SelectListView} = require 'atom'\n\nclass MySelectListView extends SelectListView\n initialize: ->\n super\n @addClass('overlay from-top')\n @setItems(['Hello', 'World'])\n atom.workspaceView.append(this)\n @focusFilterEditor()\n\n viewForItem: (item) ->\n \"
  • #{item}
  • \"\n\n confirmed: (item) ->\n console.log(\"#{item} was selected\")\n``` ", + "range": [ + [ + 36, + 0 + ], + [ + 291, + 34 + ] + ] + } + }, + "37": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 37, + 12 + ], + [ + 46, + 1 + ] + ] + } + }, + "46": { + "12": { + "name": "maxItems", + "type": "primitive", + "range": [ + [ + 46, + 12 + ], + [ + 46, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "47": { + "19": { + "name": "scheduleTimeout", + "type": "primitive", + "range": [ + [ + 47, + 19 + ], + [ + 47, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "48": { + "17": { + "name": "inputThrottle", + "type": "primitive", + "range": [ + [ + 48, + 17 + ], + [ + 48, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "49": { + "14": { + "name": "cancelling", + "type": "primitive", + "range": [ + [ + 49, + 14 + ], + [ + 49, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "55": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 14 + ], + [ + 90, + 1 + ] + ], + "doc": " Public: Initialize the select list view.\n\nThis method can be overridden by subclasses but `super` should always\nbe called. " + } + }, + "90": { + "24": { + "name": "schedulePopulateList", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 24 + ], + [ + 102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "102": { + "12": { + "name": "setItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 102, + 12 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Set the array of items to display in the list.\n\nThis should be model items not actual views. {::viewForItem} will be\ncalled to render the item when it is being appended to the list view.\n\nitems - The {Array} of model items to display in the list (default: []). " + } + }, + "109": { + "12": { + "name": "setError", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 109, + 12 + ], + [ + 119, + 1 + ] + ], + "doc": " Public: Set the error message to display.\n\nmessage - The {String} error message (default: ''). " + } + }, + "119": { + "14": { + "name": "setLoading", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 119, + 14 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Set the loading message to display.\n\nmessage - The {String} loading message (default: ''). " + } + }, + "136": { + "18": { + "name": "getFilterQuery", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 18 + ], + [ + 143, + 1 + ] + ], + "doc": " Public: Get the filter query to use when fuzzy filtering the visible\nelements.\n\nBy default this method returns the text in the mini editor but it can be\noverridden by subclasses if needed.\n\nReturns a {String} to use when fuzzy filtering the elements to display. " + } + }, + "143": { + "16": { + "name": "populateList", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 143, + 16 + ], + [ + 174, + 1 + ] + ], + "doc": " Public: Populate the list view with the model items previously set by\ncalling {::setItems}.\n\nSubclasses may override this method but should always call `super`. " + } + }, + "174": { + "19": { + "name": "getEmptyMessage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "itemCount", + "filteredItemCount" + ], + "range": [ + [ + 174, + 19 + ], + [ + 174, + 70 + ] + ], + "doc": " Public: Get the message to display when there are no items.\n\nSubclasses may override this method to customize the message.\n\nitemCount - The {Number} of items in the array specified to {::setItems}\nfilteredItemCount - The {Number} of items that pass the fuzzy filter test.\n\nReturns a {String} message (default: 'No matches found'). " + } + }, + "179": { + "15": { + "name": "setMaxItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 179, + 15 + ], + [ + 179, + 28 + ] + ], + "doc": " Public: Set the maximum numbers of items to display in the list.\n\nmaxItems - The maximum {Number} of items to display. " + } + }, + "181": { + "26": { + "name": "selectPreviousItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 181, + 26 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "22": { + "name": "selectNextItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 186, + 22 + ], + [ + 191, + 1 + ] + ], + "doc": "~Private~" + } + }, + "191": { + "18": { + "name": "selectItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 191, + 18 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "20": { + "name": "scrollToItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 197, + 20 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "23": { + "name": "getSelectedItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 207, + 23 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "19": { + "name": "getSelectedItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 19 + ], + [ + 216, + 1 + ] + ], + "doc": " Public: Get the model item that is currently selected in the list view.\n\nReturns a model item. " + } + }, + "216": { + "20": { + "name": "confirmSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 216, + 20 + ], + [ + 233, + 1 + ] + ], + "doc": "~Private~" + } + }, + "233": { + "15": { + "name": "viewForItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 233, + 15 + ], + [ + 244, + 1 + ] + ], + "doc": " Public: Create a view for the given model item.\n\nThis method must be overridden by subclasses.\n\nThis is called when the item is about to appended to the list view.\n\nitem - The model item being rendered. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a String of HTML, DOM element, jQuery object, or View. " + } + }, + "244": { + "13": { + "name": "confirmed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 244, + 13 + ], + [ + 258, + 1 + ] + ], + "doc": " Public: Callback function for when an item is selected.\n\nThis method must be overridden by subclasses.\n\nitem - The selected model item. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a DOM element, jQuery object, or {View}. " + } + }, + "258": { + "16": { + "name": "getFilterKey", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 258, + 16 + ], + [ + 258, + 17 + ] + ], + "doc": " Public: Get the property name to use when filtering items.\n\nThis method may be overridden by classes to allow fuzzy filtering based\non a specific property of the item objects.\n\nFor example if the objects you pass to {::setItems} are of the type\n`{\"id\": 3, \"name\": \"Atom\"}` then you would return `\"name\"` from this method\nto fuzzy filter by that property when text is entered into this view's\neditor.\n\nReturns the property name to fuzzy filter by. " + } + }, + "261": { + "21": { + "name": "focusFilterEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 21 + ], + [ + 266, + 1 + ] + ], + "doc": "Public: Focus the fuzzy filter editor view. " + } + }, + "266": { + "23": { + "name": "storeFocusedElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 266, + 23 + ], + [ + 269, + 1 + ] + ], + "doc": " Public: Store the currently focused element. This element will be given\nback focus when {::cancel} is called. " + } + }, + "269": { + "16": { + "name": "restoreFocus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 16 + ], + [ + 275, + 1 + ] + ], + "doc": "~Private~" + } + }, + "275": { + "13": { + "name": "cancelled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 275, + 13 + ], + [ + 283, + 1 + ] + ], + "doc": "~Private~" + } + }, + "283": { + "10": { + "name": "cancel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 283, + 10 + ], + [ + 291, + 34 + ] + ], + "doc": " Public: Cancel and close this select list view.\n\nThis restores focus to the previously focused element if\n{::storeFocusedElement} was called prior to this view being attached. " + } + } + }, + "exports": 36 + }, + "src/selection-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 8 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + } + }, + "4": { + "0": { + "type": "class", + "name": "SelectionView", + "bindingType": "exports", + "classProperties": [ + [ + 6, + 12 + ] + ], + "prototypeProperties": [ + [ + 9, + 11 + ], + [ + 10, + 16 + ], + [ + 12, + 14 + ], + [ + 19, + 17 + ], + [ + 37, + 16 + ], + [ + 50, + 26 + ], + [ + 57, + 16 + ], + [ + 61, + 18 + ], + [ + 64, + 18 + ], + [ + 67, + 19 + ], + [ + 70, + 19 + ], + [ + 73, + 13 + ], + [ + 79, + 15 + ], + [ + 82, + 10 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 84, + 9 + ] + ] + } + }, + "6": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 12 + ], + [ + 9, + 1 + ] + ], + "doc": "~Private~" + } + }, + "9": { + "11": { + "name": "regions", + "type": "primitive", + "range": [ + [ + 9, + 11 + ], + [ + 9, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "16": { + "name": "needsRemoval", + "type": "primitive", + "range": [ + [ + 10, + 16 + ], + [ + 10, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 14 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 19, + 17 + ], + [ + 37, + 1 + ] + ], + "doc": "~Private~" + } + }, + "37": { + "16": { + "name": "appendRegion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rows", + "start", + "end" + ], + "range": [ + [ + 37, + 16 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "26": { + "name": "getCenterPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 26 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "16": { + "name": "clearRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 16 + ], + [ + 61, + 1 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 18 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 18 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "19": { + "name": "needsAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 19 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 70, + 19 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "13": { + "name": "highlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 13 + ], + [ + 79, + 1 + ] + ], + "doc": "~Private~" + } + }, + "79": { + "15": { + "name": "unhighlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 15 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 10 + ], + [ + 84, + 9 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/selection.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "pick", + "exportsProperty": "pick" + } + }, + "6": { + "0": { + "type": "class", + "name": "Selection", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 7, + 10 + ], + [ + 8, + 10 + ], + [ + 9, + 10 + ], + [ + 10, + 22 + ], + [ + 11, + 12 + ], + [ + 12, + 19 + ], + [ + 14, + 15 + ], + [ + 25, + 11 + ], + [ + 28, + 12 + ], + [ + 34, + 19 + ], + [ + 38, + 11 + ], + [ + 45, + 14 + ], + [ + 49, + 22 + ], + [ + 53, + 18 + ], + [ + 60, + 18 + ], + [ + 64, + 18 + ], + [ + 74, + 18 + ], + [ + 91, + 21 + ], + [ + 98, + 25 + ], + [ + 101, + 25 + ], + [ + 104, + 25 + ], + [ + 107, + 25 + ], + [ + 110, + 14 + ], + [ + 114, + 11 + ], + [ + 118, + 9 + ], + [ + 126, + 14 + ], + [ + 138, + 18 + ], + [ + 144, + 14 + ], + [ + 155, + 18 + ], + [ + 163, + 26 + ], + [ + 184, + 26 + ], + [ + 188, + 15 + ], + [ + 192, + 14 + ], + [ + 196, + 12 + ], + [ + 200, + 14 + ], + [ + 205, + 15 + ], + [ + 210, + 18 + ], + [ + 214, + 13 + ], + [ + 219, + 27 + ], + [ + 224, + 32 + ], + [ + 229, + 21 + ], + [ + 234, + 27 + ], + [ + 239, + 21 + ], + [ + 244, + 31 + ], + [ + 248, + 32 + ], + [ + 252, + 28 + ], + [ + 257, + 36 + ], + [ + 262, + 40 + ], + [ + 266, + 21 + ], + [ + 284, + 22 + ], + [ + 289, + 21 + ], + [ + 316, + 14 + ], + [ + 349, + 20 + ], + [ + 383, + 10 + ], + [ + 399, + 22 + ], + [ + 405, + 25 + ], + [ + 412, + 13 + ], + [ + 417, + 30 + ], + [ + 422, + 30 + ], + [ + 428, + 27 + ], + [ + 434, + 27 + ], + [ + 443, + 10 + ], + [ + 455, + 21 + ], + [ + 462, + 21 + ], + [ + 467, + 22 + ], + [ + 477, + 14 + ], + [ + 496, + 13 + ], + [ + 522, + 23 + ], + [ + 532, + 26 + ], + [ + 542, + 22 + ], + [ + 546, + 18 + ], + [ + 551, + 7 + ], + [ + 561, + 8 + ], + [ + 579, + 8 + ], + [ + 584, + 19 + ], + [ + 595, + 13 + ], + [ + 603, + 25 + ], + [ + 606, + 28 + ], + [ + 609, + 23 + ], + [ + 617, + 18 + ], + [ + 625, + 9 + ], + [ + 641, + 11 + ], + [ + 644, + 22 + ] + ], + "doc": "Public: Represents a selection in the {Editor}. ", + "range": [ + [ + 6, + 0 + ], + [ + 647, + 45 + ] + ] + } + }, + "7": { + "10": { + "name": "cursor", + "type": "primitive", + "range": [ + [ + 7, + 10 + ], + [ + 7, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "8": { + "10": { + "name": "marker", + "type": "primitive", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "10": { + "name": "editor", + "type": "primitive", + "range": [ + [ + 9, + 10 + ], + [ + 9, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "22": { + "name": "initialScreenRange", + "type": "primitive", + "range": [ + [ + 10, + 22 + ], + [ + 10, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "11": { + "12": { + "name": "wordwise", + "type": "primitive", + "range": [ + [ + 11, + 12 + ], + [ + 11, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "19": { + "name": "needsAutoscroll", + "type": "primitive", + "range": [ + [ + 12, + 19 + ], + [ + 12, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 14, + 15 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 11 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "12": { + "name": "finalize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 12 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 19 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "11": { + "name": "isEmpty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 38, + 11 + ], + [ + 45, + 1 + ] + ], + "doc": "Public: Determines if the selection contains anything. " + } + }, + "45": { + "14": { + "name": "isReversed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 14 + ], + [ + 49, + 1 + ] + ], + "doc": " Public: Determines if the ending position of a marker is greater than the\nstarting position.\n\nThis can happen when, for example, you highlight text \"up\" in a {TextBuffer}. " + } + }, + "49": { + "22": { + "name": "isSingleScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 22 + ], + [ + 53, + 1 + ] + ], + "doc": "Public: Returns whether the selection is a single line or not. " + } + }, + "53": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 18 + ], + [ + 60, + 1 + ] + ], + "doc": "Public: Returns the screen {Range} for the selection. " + } + }, + "60": { + "18": { + "name": "setScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 60, + 18 + ], + [ + 64, + 1 + ] + ], + "doc": " Public: Modifies the screen range for the selection.\n\nscreenRange - The new {Range} to use.\noptions - A hash of options matching those found in {::setBufferRange}. " + } + }, + "64": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 18 + ], + [ + 74, + 1 + ] + ], + "doc": "Public: Returns the buffer {Range} for the selection. " + } + }, + "74": { + "18": { + "name": "setBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 74, + 18 + ], + [ + 91, + 1 + ] + ], + "doc": " Public: Modifies the buffer {Range} for the selection.\n\nscreenRange - The new {Range} to select.\noptions - An {Object} with the keys:\n :preserveFolds - if `true`, the fold settings are preserved after the\n selection moves.\n :autoscroll - if `true`, the {Editor} scrolls to the new selection. " + } + }, + "91": { + "21": { + "name": "getBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 21 + ], + [ + 98, + 1 + ] + ], + "doc": " Public: Returns the starting and ending buffer rows the selection is\nhighlighting.\n\nReturns an {Array} of two {Number}s: the starting row, and the ending row. " + } + }, + "98": { + "25": { + "name": "getTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 25 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "getTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 25 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "25": { + "name": "getHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 25 + ], + [ + 107, + 1 + ] + ], + "doc": "~Private~" + } + }, + "107": { + "25": { + "name": "getHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 25 + ], + [ + 110, + 1 + ] + ], + "doc": "~Private~" + } + }, + "110": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 14 + ], + [ + 114, + 1 + ] + ], + "doc": "~Private~" + } + }, + "114": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 114, + 11 + ], + [ + 118, + 1 + ] + ], + "doc": "Public: Returns the text in the selection. " + } + }, + "118": { + "9": { + "name": "clear", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 118, + 9 + ], + [ + 126, + 1 + ] + ], + "doc": "Public: Clears the selection, moving the marker to the head. " + } + }, + "126": { + "14": { + "name": "selectWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 14 + ], + [ + 138, + 1 + ] + ], + "doc": " Public: Modifies the selection to encompass the current word.\n\nReturns a {Range}. " + } + }, + "138": { + "18": { + "name": "expandOverWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 18 + ], + [ + 144, + 1 + ] + ], + "doc": " Public: Expands the newest selection to include the entire word on which\nthe cursors rests. " + } + }, + "144": { + "14": { + "name": "selectLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 144, + 14 + ], + [ + 155, + 1 + ] + ], + "doc": " Public: Selects an entire line in the buffer.\n\nrow - The line {Number} to select (default: the row of the cursor). " + } + }, + "155": { + "18": { + "name": "expandOverLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 155, + 18 + ], + [ + 163, + 1 + ] + ], + "doc": " Public: Expands the newest selection to include the entire line on which\nthe cursor currently rests.\n\nIt also includes the newline character. " + } + }, + "163": { + "26": { + "name": "selectToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 163, + 26 + ], + [ + 184, + 1 + ] + ], + "doc": " Public: Selects the text from the current cursor position to a given screen\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "184": { + "26": { + "name": "selectToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 184, + 26 + ], + [ + 188, + 1 + ] + ], + "doc": " Public: Selects the text from the current cursor position to a given buffer\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "188": { + "15": { + "name": "selectRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 15 + ], + [ + 192, + 1 + ] + ], + "doc": "Public: Selects the text one position right of the cursor. " + } + }, + "192": { + "14": { + "name": "selectLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 192, + 14 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Selects the text one position left of the cursor. " + } + }, + "196": { + "12": { + "name": "selectUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 196, + 12 + ], + [ + 200, + 1 + ] + ], + "doc": "Public: Selects all the text one position above the cursor. " + } + }, + "200": { + "14": { + "name": "selectDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 200, + 14 + ], + [ + 205, + 1 + ] + ], + "doc": "Public: Selects all the text one position below the cursor. " + } + }, + "205": { + "15": { + "name": "selectToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 205, + 15 + ], + [ + 210, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the top of\nthe buffer. " + } + }, + "210": { + "18": { + "name": "selectToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 18 + ], + [ + 214, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the bottom\nof the buffer. " + } + }, + "214": { + "13": { + "name": "selectAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 214, + 13 + ], + [ + 219, + 1 + ] + ], + "doc": "Public: Selects all the text in the buffer. " + } + }, + "219": { + "27": { + "name": "selectToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 219, + 27 + ], + [ + 224, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the line. " + } + }, + "224": { + "32": { + "name": "selectToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 32 + ], + [ + 229, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the first\ncharacter of the line. " + } + }, + "229": { + "21": { + "name": "selectToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 229, + 21 + ], + [ + 234, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the end of\nthe line. " + } + }, + "234": { + "27": { + "name": "selectToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 27 + ], + [ + 239, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the word. " + } + }, + "239": { + "21": { + "name": "selectToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 239, + 21 + ], + [ + 244, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the end of\nthe word. " + } + }, + "244": { + "31": { + "name": "selectToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 244, + 31 + ], + [ + 248, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next word. " + } + }, + "248": { + "32": { + "name": "selectToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 248, + 32 + ], + [ + 252, + 1 + ] + ], + "doc": "Public: Selects text to the previous word boundary. " + } + }, + "252": { + "28": { + "name": "selectToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 252, + 28 + ], + [ + 257, + 1 + ] + ], + "doc": "Public: Selects text to the next word boundary. " + } + }, + "257": { + "36": { + "name": "selectToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 257, + 36 + ], + [ + 262, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next paragraph. " + } + }, + "262": { + "40": { + "name": "selectToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 262, + 40 + ], + [ + 266, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the previous paragraph. " + } + }, + "266": { + "21": { + "name": "addSelectionBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 266, + 21 + ], + [ + 284, + 1 + ] + ], + "doc": "Public: Moves the selection down one row. " + } + }, + "284": { + "22": { + "name": "getGoalBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 22 + ], + [ + 289, + 1 + ] + ], + "doc": "FIXME: I have no idea what this does. " + } + }, + "289": { + "21": { + "name": "addSelectionAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 289, + 21 + ], + [ + 316, + 1 + ] + ], + "doc": "Public: Moves the selection up one row. " + } + }, + "316": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 316, + 14 + ], + [ + 349, + 1 + ] + ], + "doc": " Public: Replaces text at the current selection.\n\ntext - A {String} representing the text to add\noptions - An {Object} with keys:\n :select - if `true`, selects the newly added text.\n :autoIndent - if `true`, indents all inserted text appropriately.\n :autoIndentNewline - if `true`, indent newline appropriately.\n :autoDecreaseIndent - if `true`, decreases indent level appropriately\n (for example, when a closing bracket is inserted).\n :undo - if `skip`, skips the undo stack for this operation. " + } + }, + "349": { + "20": { + "name": "normalizeIndents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "indentBasis" + ], + "range": [ + [ + 349, + 20 + ], + [ + 383, + 1 + ] + ], + "doc": " Public: Indents the given text to the suggested level based on the grammar.\n\ntext - The {String} to indent within the selection.\nindentBasis - The beginning indent level. " + } + }, + "383": { + "10": { + "name": "indent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 383, + 10 + ], + [ + 399, + 1 + ] + ], + "doc": " Private: Indent the current line(s).\n\nIf the selection is empty, indents the current line if the cursor precedes\nnon-whitespace characters, and otherwise inserts a tab. If the selection is\nnon empty, calls {::indentSelectedRows}.\n\noptions - A {Object} with the keys:\n :autoIndent - If `true`, the line is indented to an automatically-inferred\n level. Otherwise, {Editor::getTabText} is inserted. " + } + }, + "399": { + "22": { + "name": "indentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 399, + 22 + ], + [ + 405, + 1 + ] + ], + "doc": "Public: If the selection spans multiple rows, indent all of them. " + } + }, + "405": { + "25": { + "name": "setIndentationForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line", + "indentLevel" + ], + "range": [ + [ + 405, + 25 + ], + [ + 412, + 1 + ] + ], + "doc": "Public: ? " + } + }, + "412": { + "13": { + "name": "backspace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 412, + 13 + ], + [ + 417, + 1 + ] + ], + "doc": " Public: Removes the first character before the selection if the selection\nis empty otherwise it deletes the selection. " + } + }, + "417": { + "30": { + "name": "backspaceToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 417, + 30 + ], + [ + 422, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " + } + }, + "422": { + "30": { + "name": "backspaceToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 422, + 30 + ], + [ + 428, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " + } + }, + "428": { + "27": { + "name": "deleteToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 27 + ], + [ + 434, + 1 + ] + ], + "doc": " Public: Removes from the start of the selection to the beginning of the\ncurrent word if the selection is empty otherwise it deletes the selection. " + } + }, + "434": { + "27": { + "name": "deleteToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 434, + 27 + ], + [ + 443, + 1 + ] + ], + "doc": " Public: Removes from the beginning of the line which the selection begins on\nall the way through to the end of the selection. " + } + }, + "443": { + "10": { + "name": "delete", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 443, + 10 + ], + [ + 455, + 1 + ] + ] + } + }, + "455": { + "21": { + "name": "deleteToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 455, + 21 + ], + [ + 462, + 1 + ] + ], + "doc": " Public: If the selection is empty, removes all text from the cursor to the\nend of the line. If the cursor is already at the end of the line, it\nremoves the following newline. If the selection isn't empty, only deletes\nthe contents of the selection. " + } + }, + "462": { + "21": { + "name": "deleteToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 462, + 21 + ], + [ + 467, + 1 + ] + ], + "doc": " Public: Removes the selection or all characters from the start of the\nselection to the end of the current word if nothing is selected. " + } + }, + "467": { + "22": { + "name": "deleteSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 467, + 22 + ], + [ + 477, + 1 + ] + ], + "doc": "Public: Removes only the selected text. " + } + }, + "477": { + "14": { + "name": "deleteLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 477, + 14 + ], + [ + 496, + 1 + ] + ], + "doc": " Public: Removes the line at the beginning of the selection if the selection\nis empty unless the selection spans multiple lines in which case all lines\nare removed. " + } + }, + "496": { + "13": { + "name": "joinLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 496, + 13 + ], + [ + 522, + 1 + ] + ], + "doc": " Public: Joins the current line with the one below it.\n\nIf there selection spans more than one line, all the lines are joined together. " + } + }, + "522": { + "23": { + "name": "outdentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 522, + 23 + ], + [ + 532, + 1 + ] + ], + "doc": "Public: Removes one level of indent from the currently selected rows. " + } + }, + "532": { + "26": { + "name": "autoIndentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 532, + 26 + ], + [ + 542, + 1 + ] + ], + "doc": " Public: Sets the indentation level of all selected rows to values suggested\nby the relevant grammars. " + } + }, + "542": { + "22": { + "name": "toggleLineComments", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 542, + 22 + ], + [ + 546, + 1 + ] + ], + "doc": " Public: Wraps the selected lines in comments if they aren't currently part\nof a comment.\n\nRemoves the comment if they are currently wrapped in a comment.\n\nReturns an Array of the commented {Range}s. " + } + }, + "546": { + "18": { + "name": "cutToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 546, + 18 + ], + [ + 551, + 1 + ] + ], + "doc": "Public: Cuts the selection until the end of the line. " + } + }, + "551": { + "7": { + "name": "cut", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 551, + 7 + ], + [ + 561, + 1 + ] + ], + "doc": "Public: Copies the selection to the clipboard and then deletes it. " + } + }, + "561": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 561, + 8 + ], + [ + 579, + 1 + ] + ], + "doc": " Public: Copies the current selection to the clipboard.\n\nIf the `maintainClipboard` is set to `true`, a specific metadata property\nis created to store each content copied to the clipboard. The clipboard\n`text` still contains the concatenation of the clipboard with the\ncurrent selection. " + } + }, + "579": { + "8": { + "name": "fold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 579, + 8 + ], + [ + 584, + 1 + ] + ], + "doc": "Public: Creates a fold containing the current selection. " + } + }, + "584": { + "19": { + "name": "modifySelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 584, + 19 + ], + [ + 595, + 1 + ] + ], + "doc": "~Private~" + } + }, + "595": { + "13": { + "name": "plantTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 595, + 13 + ], + [ + 603, + 1 + ] + ], + "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " + } + }, + "603": { + "25": { + "name": "intersectsBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 603, + 25 + ], + [ + 606, + 1 + ] + ], + "doc": " Public: Identifies if a selection intersects with a given buffer range.\n\nbufferRange - A {Range} to check against.\n\nReturns a Boolean. " + } + }, + "606": { + "28": { + "name": "intersectsScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 606, + 28 + ], + [ + 609, + 1 + ] + ], + "doc": "~Private~" + } + }, + "609": { + "23": { + "name": "intersectsScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 609, + 23 + ], + [ + 617, + 1 + ] + ], + "doc": "~Private~" + } + }, + "617": { + "18": { + "name": "intersectsWith", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection" + ], + "range": [ + [ + 617, + 18 + ], + [ + 625, + 1 + ] + ], + "doc": " Public: Identifies if a selection intersects with another selection.\n\notherSelection - A {Selection} to check against.\n\nReturns a Boolean. " + } + }, + "625": { + "9": { + "name": "merge", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection", + "options" + ], + "range": [ + [ + 625, + 9 + ], + [ + 641, + 1 + ] + ], + "doc": " Public: Combines the given selection into this selection and then destroys\nthe given selection.\n\notherSelection - A {Selection} to merge with.\noptions - A hash of options matching those found in {::setBufferRange}. " + } + }, + "641": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection" + ], + "range": [ + [ + 641, + 11 + ], + [ + 644, + 1 + ] + ], + "doc": " Public: Compare this selection's buffer range to another selection's buffer\nrange.\n\nSee {Range::compare} for more details.\n\notherSelection - A {Selection} to compare against. " + } + }, + "644": { + "22": { + "name": "screenRangeChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 644, + 22 + ], + [ + 647, + 45 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 6 + }, + "src/space-pen-extensions.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "11": { + "name": "spacePen", + "type": "import", + "range": [ + [ + 1, + 11 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "space-pen" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "6": { + "9": { + "name": "spacePen", + "type": "primitive", + "range": [ + [ + 6, + 9 + ], + [ + 6, + 16 + ] + ] + } + }, + "7": { + "20": { + "name": "jQuery", + "type": "primitive", + "range": [ + [ + 7, + 20 + ], + [ + 7, + 25 + ] + ] + } + }, + "8": { + "19": { + "name": "jQuery.cleanData", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "elements" + ], + "range": [ + [ + 8, + 19 + ], + [ + 11, + 0 + ] + ], + "doc": null + } + }, + "13": { + "2": { + "type": "primitive", + "range": [ + [ + 13, + 2 + ], + [ + 19, + 19 + ] + ] + } + }, + "14": { + "4": { + "type": "primitive", + "range": [ + [ + 14, + 4 + ], + [ + 15, + 12 + ] + ] + }, + "10": { + "name": "1000", + "type": "primitive", + "range": [ + [ + 14, + 10 + ], + [ + 14, + 13 + ] + ] + } + }, + "15": { + "10": { + "name": "100", + "type": "primitive", + "range": [ + [ + 15, + 10 + ], + [ + 15, + 12 + ] + ] + } + }, + "16": { + "13": { + "name": "'body'", + "type": "primitive", + "range": [ + [ + 16, + 13 + ], + [ + 16, + 18 + ] + ] + } + }, + "17": { + "8": { + "type": "primitive", + "range": [ + [ + 17, + 8 + ], + [ + 17, + 11 + ] + ] + } + }, + "18": { + "13": { + "name": "'auto top'", + "type": "primitive", + "range": [ + [ + 18, + 13 + ], + [ + 18, + 22 + ] + ] + } + }, + "19": { + "19": { + "name": "2", + "type": "primitive", + "range": [ + [ + 19, + 19 + ], + [ + 19, + 19 + ] + ] + } + }, + "21": { + "21": { + "name": "humanizeKeystrokes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "keystroke" + ], + "range": [ + [ + 21, + 21 + ], + [ + 25, + 0 + ] + ], + "doc": "~Private~" + } + }, + "26": { + "15": { + "name": "getKeystroke", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bindings" + ], + "range": [ + [ + 26, + 15 + ], + [ + 31, + 0 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "26": { + "name": "requireBootstrapTooltip", + "type": "function", + "range": [ + [ + 32, + 26 + ], + [ + 35, + 59 + ] + ] + } + }, + "36": { + "23": { + "name": "jQuery.fn.setTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "tooltipOptions", + null + ], + "range": [ + [ + 36, + 23 + ], + [ + 49, + 0 + ] + ], + "doc": null + } + }, + "50": { + "24": { + "name": "jQuery.fn.hideTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 24 + ], + [ + 55, + 0 + ] + ], + "doc": null + } + }, + "56": { + "27": { + "name": "jQuery.fn.destroyTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 27 + ], + [ + 61, + 38 + ] + ], + "doc": null + } + }, + "68": { + "36": { + "name": "getKeystroke", + "type": "primitive", + "range": [ + [ + 68, + 36 + ], + [ + 68, + 47 + ] + ] + } + }, + "69": { + "42": { + "name": "humanizeKeystrokes", + "type": "primitive", + "range": [ + [ + 69, + 42 + ], + [ + 69, + 59 + ] + ] + } + }, + "71": { + "49": { + "name": "get", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 71, + 49 + ], + [ + 71, + 55 + ] + ], + "doc": null + } + } + }, + "exports": 73 + }, + "src/subscriber-mixin.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "1": { + "18": { + "type": "primitive", + "range": [ + [ + 1, + 18 + ], + [ + 1, + 55 + ] + ] + }, + "39": { + "name": "componentDidUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 1, + 39 + ], + [ + 1, + 55 + ] + ], + "doc": null + } + } + }, + "exports": 3 + }, + "src/syntax.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 11 + ] + ], + "bindingType": "variable", + "module": "clear-cut", + "name": "specificity", + "exportsProperty": "specificity" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 15 + ] + ], + "bindingType": "variable", + "module": "first-mate", + "name": "GrammarRegistry", + "exportsProperty": "GrammarRegistry" + }, + "18": { + "type": "import", + "range": [ + [ + 4, + 18 + ], + [ + 4, + 30 + ] + ], + "bindingType": "variable", + "module": "first-mate", + "name": "ScopeSelector", + "exportsProperty": "ScopeSelector" + } + }, + "5": { + "22": { + "name": "ScopedPropertyStore", + "type": "import", + "range": [ + [ + 5, + 22 + ], + [ + 5, + 52 + ] + ], + "bindingType": "variable", + "module": "scoped-property-store" + } + }, + "6": { + "20": { + "name": "PropertyAccessors", + "type": "import", + "range": [ + [ + 6, + 20 + ], + [ + 6, + 47 + ] + ], + "bindingType": "variable", + "module": "property-accessors@1.x" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 8, + 4 + ], + [ + 8, + 5 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + } + }, + "9": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 9, + 8 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "18": { + "0": { + "type": "class", + "name": "Syntax", + "bindingType": "exports", + "classProperties": [ + [ + 23, + 16 + ] + ], + "prototypeProperties": [ + [ + 28, + 15 + ], + [ + 32, + 13 + ], + [ + 35, + 15 + ], + [ + 42, + 17 + ], + [ + 49, + 20 + ], + [ + 52, + 19 + ], + [ + 67, + 15 + ], + [ + 75, + 22 + ], + [ + 84, + 32 + ] + ], + "doc": " Public: Syntax class holding the grammars used for tokenizing.\n\nAn instance of this class is always available as the `atom.syntax` global.\n\nThe Syntax class also contains properties for things such as the\nlanguage-specific comment regexes. ", + "range": [ + [ + 18, + 0 + ], + [ + 85, + 52 + ] + ] + } + }, + "23": { + "16": { + "name": "deserialize", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 23, + 16 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 15 + ], + [ + 32, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "13": { + "name": "serialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 32, + 13 + ], + [ + 35, + 1 + ] + ], + "doc": "~Private~" + } + }, + "35": { + "15": { + "name": "createToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "scopes" + ], + "range": [ + [ + 35, + 15 + ], + [ + 35, + 59 + ] + ], + "doc": "~Private~" + } + }, + "42": { + "17": { + "name": "addProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 42, + 17 + ], + [ + 49, + 1 + ] + ], + "doc": "~Private~" + } + }, + "49": { + "20": { + "name": "removeProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 49, + 20 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "19": { + "name": "clearProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 19 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "15": { + "name": "getProperty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scope", + "keyPath" + ], + "range": [ + [ + 67, + 15 + ], + [ + 75, + 1 + ] + ], + "doc": " Public: Get a property for the given scope and key path.\n\n## Example\n```coffee\ncomment = atom.syntax.getProperty(['.source.ruby'], 'editor.commentStart')\nconsole.log(comment) # '# '\n```\n\nscope - An {Array} of {String} scopes.\nkeyPath - A {String} key path.\n\nReturns a {String} property value or undefined. " + } + }, + "75": { + "22": { + "name": "propertiesForScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scope", + "keyPath" + ], + "range": [ + [ + 75, + 22 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "32": { + "name": "cssSelectorFromScopeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeSelector" + ], + "range": [ + [ + 84, + 32 + ], + [ + 85, + 52 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 18 + }, + "src/task-bootstrap.coffee": { + "objects": { + "0": { + "1": { + "type": "primitive", + "name": "userAgent", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "exportsProperty": "userAgent" + }, + "12": { + "type": "primitive", + "name": "taskPath", + "range": [ + [ + 0, + 12 + ], + [ + 0, + 19 + ] + ], + "exportsProperty": "taskPath" + } + }, + "3": { + "15": { + "name": "setupGlobals", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 3, + 15 + ], + [ + 28, + 0 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "15": { + "name": "handleEvents", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 15 + ], + [ + 42, + 0 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "10": { + "name": "handler", + "type": "import", + "range": [ + [ + 45, + 10 + ], + [ + 45, + 26 + ] + ], + "bindingType": "variable", + "module": "askPat" + } + } + }, + "exports": {} + }, + "src/task.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "16": { + "name": "child_process", + "type": "import", + "range": [ + [ + 1, + 16 + ], + [ + 1, + 38 + ] + ], + "bindingType": "variable", + "module": "child_process", + "builtin": true + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "21": { + "0": { + "type": "class", + "name": "Task", + "bindingType": "exports", + "classProperties": [ + [ + 29, + 9 + ] + ], + "prototypeProperties": [ + [ + 41, + 12 + ], + [ + 47, + 15 + ], + [ + 73, + 16 + ], + [ + 82, + 9 + ], + [ + 95, + 8 + ], + [ + 102, + 13 + ] + ], + "doc": " Public: Run a node script in a separate process.\n\nUsed by the fuzzy-finder.\n\n## Events\n\n* task:log - Emitted when console.log is called within the task.\n* task:warn - Emitted when console.warn is called within the task.\n* task:error - Emitted when console.error is called within the task.\n* task:completed - Emitted when the task has succeeded or failed.\n\n## Requiring in packages\n\n```coffee\n {Task} = require 'atom'\n``` ", + "range": [ + [ + 21, + 0 + ], + [ + 109, + 10 + ] + ] + } + }, + "29": { + "9": { + "name": "once", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "taskPath", + "args" + ], + "range": [ + [ + 29, + 9 + ], + [ + 41, + 1 + ] + ], + "doc": " Public: A helper method to easily launch and run a task once.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file which\n exports a single {Function} to execute.\nargs - The arguments to pass to the exported function. " + } + }, + "41": { + "12": { + "name": "callback", + "type": "primitive", + "range": [ + [ + 41, + 12 + ], + [ + 41, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "47": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "taskPath" + ], + "range": [ + [ + 47, + 15 + ], + [ + 73, + 1 + ] + ], + "doc": " Public: Creates a task.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file that\n exports a single {Function} to execute. " + } + }, + "73": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 16 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Routes messages from the child to the appropriate event. " + } + }, + "82": { + "9": { + "name": "start", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args", + "callback" + ], + "range": [ + [ + 82, + 9 + ], + [ + 95, + 1 + ] + ], + "doc": " Public: Starts the task.\n\nargs - The arguments to pass to the function exported by this task's script.\ncallback - An optional {Function} to call when the task completes. " + } + }, + "95": { + "8": { + "name": "send", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 95, + 8 + ], + [ + 102, + 1 + ] + ], + "doc": " Public: Send message to the task.\n\nmessage - The message to send to the task. " + } + }, + "102": { + "13": { + "name": "terminate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 13 + ], + [ + 109, + 10 + ] + ], + "doc": " Public: Forcefully stop the running task.\n\nNo events are emitted. " + } + } + }, + "exports": 21 + }, + "src/text-utils.coffee": { + "objects": { + "0": { + "18": { + "name": "isHighSurrogate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 0, + 18 + ], + [ + 2, + 0 + ] + ], + "doc": "~Private~" + } + }, + "3": { + "17": { + "name": "isLowSurrogate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 3, + 17 + ], + [ + 11, + 21 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "18": { + "name": "isSurrogatePair", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 12, + 18 + ], + [ + 22, + 21 + ] + ], + "doc": " Private: Is the character at the given index the start of a high/low surrogate pair?\n\nstring - The {String} to check for a surrogate pair.\nindex - The {Number} index to look for a surrogate pair at.\n\nReturn a {Boolean}. " + } + }, + "23": { + "20": { + "name": "getCharacterCount", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 23, + 20 + ], + [ + 32, + 22 + ] + ], + "doc": " Private: Get the number of characters in the string accounting for surrogate pairs.\n\nThis method counts high/low surrogate pairs as a single character and will\nalways returns a value less than or equal to `string.length`.\n\nstring - The {String} to count the number of full characters in.\n\nReturns a {Number}. " + } + }, + "33": { + "19": { + "name": "hasSurrogatePair", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 33, + 19 + ], + [ + 35, + 0 + ] + ], + "doc": " Private: Does the given string contain at least one surrogate pair?\n\nstring - The {String} to check for the presence of surrogate pairs.\n\nReturns a {Boolean}. " + } + } + }, + "exports": 36 + }, + "src/theme-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "8": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "9": { + "1": { + "type": "import", + "range": [ + [ + 9, + 1 + ], + [ + 9, + 4 + ] + ], + "bindingType": "variable", + "module": "pathwatcher", + "name": "File", + "exportsProperty": "File" + } + }, + "15": { + "0": { + "type": "class", + "name": "ThemeManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 18, + 15 + ], + [ + 22, + 21 + ], + [ + 27, + 18 + ], + [ + 31, + 18 + ], + [ + 35, + 19 + ], + [ + 39, + 19 + ], + [ + 42, + 20 + ], + [ + 47, + 24 + ], + [ + 57, + 18 + ], + [ + 82, + 20 + ], + [ + 87, + 20 + ], + [ + 93, + 20 + ], + [ + 96, + 18 + ], + [ + 109, + 25 + ], + [ + 116, + 25 + ], + [ + 121, + 22 + ], + [ + 133, + 23 + ], + [ + 137, + 25 + ], + [ + 142, + 26 + ], + [ + 145, + 21 + ], + [ + 160, + 21 + ], + [ + 169, + 18 + ], + [ + 175, + 22 + ], + [ + 197, + 14 + ], + [ + 200, + 20 + ], + [ + 209, + 19 + ] + ], + "doc": " Public: Handles loading and activating available themes.\n\nAn instance of this class is always available as the `atom.themes` global. ", + "range": [ + [ + 15, + 0 + ], + [ + 222, + 31 + ] + ] + } + }, + "18": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 18, + 15 + ], + [ + 22, + 1 + ] + ], + "doc": "~Private~" + } + }, + "22": { + "21": { + "name": "getAvailableNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 22, + 21 + ], + [ + 27, + 1 + ] + ], + "doc": "~Private~" + } + }, + "27": { + "18": { + "name": "getLoadedNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 18 + ], + [ + 31, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded theme names. " + } + }, + "31": { + "18": { + "name": "getActiveNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 31, + 18 + ], + [ + 35, + 1 + ] + ], + "doc": "Public: Get an array of all the active theme names. " + } + }, + "35": { + "19": { + "name": "getActiveThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 35, + 19 + ], + [ + 39, + 1 + ] + ], + "doc": "Public: Get an array of all the active themes. " + } + }, + "39": { + "19": { + "name": "getLoadedThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 39, + 19 + ], + [ + 42, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded themes. " + } + }, + "42": { + "20": { + "name": "activatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "themePackages" + ], + "range": [ + [ + 42, + 20 + ], + [ + 42, + 55 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "24": { + "name": "getEnabledThemeNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 47, + 24 + ], + [ + 57, + 1 + ] + ], + "doc": " Private: Get the enabled theme names from the config.\n\nReturns an array of theme names in the order that they should be activated. " + } + }, + "57": { + "18": { + "name": "activateThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 18 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "20": { + "name": "deactivateThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 20 + ], + [ + 87, + 1 + ] + ], + "doc": "~Private~" + } + }, + "87": { + "20": { + "name": "refreshLessCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 87, + 20 + ], + [ + 93, + 1 + ] + ], + "doc": "~Private~" + } + }, + "93": { + "20": { + "name": "setEnabledThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "enabledThemeNames" + ], + "range": [ + [ + 93, + 20 + ], + [ + 96, + 1 + ] + ], + "doc": " Public: Set the list of enabled themes.\n\nenabledThemeNames - An {Array} of {String} theme names. " + } + }, + "96": { + "18": { + "name": "getImportPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 18 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "25": { + "name": "getUserStylesheetPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 25 + ], + [ + 116, + 1 + ] + ], + "doc": "Public: Returns the {String} path to the user's stylesheet under ~/.atom " + } + }, + "116": { + "25": { + "name": "unwatchUserStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 25 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "22": { + "name": "loadUserStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 121, + 22 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "23": { + "name": "loadBaseStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 23 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "25": { + "name": "reloadBaseStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 25 + ], + [ + 142, + 1 + ] + ], + "doc": "~Private~" + } + }, + "142": { + "26": { + "name": "stylesheetElementForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id", + "htmlElement" + ], + "range": [ + [ + 142, + 26 + ], + [ + 145, + 1 + ] + ], + "doc": "~Private~" + } + }, + "145": { + "21": { + "name": "resolveStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 145, + 21 + ], + [ + 160, + 1 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "21": { + "name": "requireStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "type", + "htmlElement" + ], + "range": [ + [ + 160, + 21 + ], + [ + 169, + 1 + ] + ], + "doc": " Public: Resolve and apply the stylesheet specified by the path.\n\nThis supports both CSS and LESS stylsheets.\n\nstylesheetPath - A {String} path to the stylesheet that can be an absolute\n path or a relative path that will be resolved against the\n load path.\n\nReturns the absolute path to the required stylesheet. " + } + }, + "169": { + "18": { + "name": "loadStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "importFallbackVariables" + ], + "range": [ + [ + 169, + 18 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "22": { + "name": "loadLessStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lessStylesheetPath", + "importFallbackVariables" + ], + "range": [ + [ + 175, + 22 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "14": { + "name": "stringToId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 197, + 14 + ], + [ + 200, + 1 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "20": { + "name": "removeStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 200, + 20 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "19": { + "name": "applyStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "text", + "type", + "htmlElement" + ], + "range": [ + [ + 209, + 19 + ], + [ + 222, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 15 + }, + "src/theme-package.coffee": { + "objects": { + "0": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "1": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 1, + 10 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "4": { + "0": { + "type": "class", + "name": "ThemePackage", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 5, + 11 + ], + [ + 7, + 21 + ], + [ + 9, + 10 + ], + [ + 12, + 11 + ], + [ + 15, + 8 + ], + [ + 23, + 12 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 31, + 31 + ] + ] + } + }, + "5": { + "11": { + "name": "getType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 11 + ], + [ + 5, + 20 + ] + ] + } + }, + "7": { + "21": { + "name": "getStylesheetType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 7, + 21 + ], + [ + 7, + 30 + ] + ], + "doc": "~Private~" + } + }, + "9": { + "10": { + "name": "enable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 10 + ], + [ + 12, + 1 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "11": { + "name": "disable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 12, + 11 + ], + [ + 15, + 1 + ] + ], + "doc": "~Private~" + } + }, + "15": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 15, + 8 + ], + [ + 23, + 1 + ] + ], + "doc": "~Private~" + } + }, + "23": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 23, + 12 + ], + [ + 31, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/token.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "12": { + "name": "textUtils", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 33 + ] + ], + "bindingType": "variable", + "path": "./text-utils" + } + }, + "3": { + "31": { + "type": "primitive", + "range": [ + [ + 3, + 31 + ], + [ + 3, + 32 + ] + ] + } + }, + "4": { + "20": { + "name": "/^[ ]+/", + "type": "primitive", + "range": [ + [ + 4, + 20 + ], + [ + 4, + 26 + ] + ] + } + }, + "5": { + "21": { + "name": "/[ ]+$/", + "type": "primitive", + "range": [ + [ + 5, + 21 + ], + [ + 5, + 27 + ] + ] + } + }, + "6": { + "14": { + "name": "/[&\"'<>]/g", + "type": "primitive", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 23 + ] + ] + } + }, + "7": { + "17": { + "name": "/./g", + "type": "primitive", + "range": [ + [ + 7, + 17 + ], + [ + 7, + 20 + ] + ] + } + }, + "8": { + "22": { + "name": "/^./", + "type": "primitive", + "range": [ + [ + 8, + 22 + ], + [ + 8, + 25 + ] + ] + } + }, + "9": { + "16": { + "name": "/^\\.?/", + "type": "primitive", + "range": [ + [ + 9, + 16 + ], + [ + 9, + 21 + ] + ] + } + }, + "10": { + "18": { + "name": "/\\S/", + "type": "primitive", + "range": [ + [ + 10, + 18 + ], + [ + 10, + 21 + ] + ] + } + }, + "12": { + "17": { + "name": "20000", + "type": "primitive", + "range": [ + [ + 12, + 17 + ], + [ + 12, + 21 + ] + ] + } + }, + "16": { + "0": { + "type": "class", + "name": "Token", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 9 + ], + [ + 18, + 20 + ], + [ + 19, + 10 + ], + [ + 20, + 12 + ], + [ + 21, + 13 + ], + [ + 22, + 24 + ], + [ + 23, + 25 + ], + [ + 25, + 15 + ], + [ + 30, + 11 + ], + [ + 33, + 13 + ], + [ + 36, + 11 + ], + [ + 41, + 31 + ], + [ + 44, + 24 + ], + [ + 86, + 26 + ], + [ + 106, + 27 + ], + [ + 113, + 21 + ], + [ + 116, + 21 + ], + [ + 119, + 17 + ], + [ + 129, + 20 + ], + [ + 132, + 24 + ], + [ + 138, + 18 + ], + [ + 185, + 16 + ], + [ + 194, + 23 + ] + ], + "doc": "Private: Represents a single unit of text as selected by a grammar. ", + "range": [ + [ + 16, + 0 + ], + [ + 201, + 16 + ] + ] + } + }, + "17": { + "9": { + "name": "value", + "type": "primitive", + "range": [ + [ + 17, + 9 + ], + [ + 17, + 12 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "20": { + "name": "hasSurrogatePair", + "type": "primitive", + "range": [ + [ + 18, + 20 + ], + [ + 18, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "10": { + "name": "scopes", + "type": "primitive", + "range": [ + [ + 19, + 10 + ], + [ + 19, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "20": { + "12": { + "name": "isAtomic", + "type": "primitive", + "range": [ + [ + 20, + 12 + ], + [ + 20, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "13": { + "name": "isHardTab", + "type": "primitive", + "range": [ + [ + 21, + 13 + ], + [ + 21, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "22": { + "24": { + "name": "hasLeadingWhitespace", + "type": "primitive", + "range": [ + [ + 22, + 24 + ], + [ + 22, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "23": { + "25": { + "name": "hasTrailingWhitespace", + "type": "primitive", + "range": [ + [ + 23, + 25 + ], + [ + 23, + 29 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "25": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 25, + 15 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "isEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 30, + 11 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "13": { + "name": "isBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 33, + 13 + ], + [ + 36, + 1 + ] + ], + "doc": "~Private~" + } + }, + "36": { + "11": { + "name": "splitAt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "splitIndex" + ], + "range": [ + [ + 36, + 11 + ], + [ + 41, + 1 + ] + ], + "doc": "~Private~" + } + }, + "41": { + "31": { + "name": "whitespaceRegexForTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 41, + 31 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "24": { + "name": "breakOutAtomicTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "breakOutLeadingSoftTabs", + "startColumn" + ], + "range": [ + [ + 44, + 24 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "26": { + "name": "breakOutSurrogatePairs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 26 + ], + [ + 106, + 1 + ] + ], + "doc": "~Private~" + } + }, + "106": { + "27": { + "name": "buildSurrogatePairToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "index" + ], + "range": [ + [ + 106, + 27 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "21": { + "name": "buildHardTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "column" + ], + "range": [ + [ + 113, + 21 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "21": { + "name": "buildSoftTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 116, + 21 + ], + [ + 119, + 1 + ] + ], + "doc": "~Private~" + } + }, + "119": { + "17": { + "name": "buildTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "isHardTab", + "column" + ], + "range": [ + [ + 119, + 17 + ], + [ + 129, + 1 + ] + ], + "doc": "~Private~" + } + }, + "129": { + "20": { + "name": "isOnlyWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 129, + 20 + ], + [ + 132, + 1 + ] + ], + "doc": "~Private~" + } + }, + "132": { + "24": { + "name": "matchesScopeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 132, + 24 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "18": { + "name": "getValueAsHtml", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 138, + 18 + ], + [ + 185, + 1 + ] + ], + "doc": "~Private~" + } + }, + "185": { + "16": { + "name": "escapeString", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "str", + "startIndex", + "endIndex" + ], + "range": [ + [ + 185, + 16 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "23": { + "name": "escapeStringReplace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "match" + ], + "range": [ + [ + 194, + 23 + ], + [ + 201, + 16 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 16 + }, + "src/tokenized-buffer.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer", + "name": "Range", + "exportsProperty": "Range" + } + }, + "3": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "4": { + "16": { + "name": "TokenizedLine", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 41 + ] + ], + "bindingType": "variable", + "path": "./tokenized-line" + } + }, + "5": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "8": { + "0": { + "type": "class", + "name": "TokenizedBuffer", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 11 + ], + [ + 14, + 23 + ], + [ + 15, + 10 + ], + [ + 16, + 18 + ], + [ + 17, + 13 + ], + [ + 18, + 15 + ], + [ + 19, + 11 + ], + [ + 21, + 15 + ], + [ + 48, + 19 + ], + [ + 52, + 21 + ], + [ + 56, + 14 + ], + [ + 64, + 17 + ], + [ + 70, + 23 + ], + [ + 76, + 23 + ], + [ + 82, + 14 + ], + [ + 88, + 16 + ], + [ + 94, + 16 + ], + [ + 96, + 24 + ], + [ + 103, + 21 + ], + [ + 133, + 19 + ], + [ + 136, + 15 + ], + [ + 139, + 17 + ], + [ + 144, + 21 + ], + [ + 153, + 22 + ], + [ + 173, + 48 + ], + [ + 183, + 30 + ], + [ + 200, + 41 + ], + [ + 203, + 39 + ], + [ + 210, + 37 + ], + [ + 220, + 20 + ], + [ + 225, + 22 + ], + [ + 228, + 15 + ], + [ + 231, + 21 + ], + [ + 257, + 22 + ], + [ + 266, + 21 + ], + [ + 269, + 20 + ], + [ + 273, + 33 + ], + [ + 278, + 33 + ], + [ + 299, + 30 + ], + [ + 314, + 39 + ], + [ + 329, + 22 + ], + [ + 344, + 22 + ], + [ + 362, + 14 + ], + [ + 365, + 16 + ], + [ + 368, + 12 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 371, + 40 + ] + ] + } + }, + "13": { + "11": { + "name": "grammar", + "type": "primitive", + "range": [ + [ + 13, + 11 + ], + [ + 13, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "23": { + "name": "currentGrammarScore", + "type": "primitive", + "range": [ + [ + 14, + 23 + ], + [ + 14, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "15": { + "10": { + "name": "buffer", + "type": "primitive", + "range": [ + [ + 15, + 10 + ], + [ + 15, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "18": { + "name": "tokenizedLines", + "type": "primitive", + "range": [ + [ + 16, + 18 + ], + [ + 16, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "17": { + "13": { + "name": "chunkSize", + "type": "primitive", + "range": [ + [ + 17, + 13 + ], + [ + 17, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "15": { + "name": "invalidRows", + "type": "primitive", + "range": [ + [ + 18, + 15 + ], + [ + 18, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 19, + 11 + ], + [ + 19, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 21, + 15 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 19 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 52, + 21 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar", + "score" + ], + "range": [ + [ + 56, + 14 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 17 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "23": { + "name": "hasTokenForSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 70, + 23 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "23": { + "name": "resetTokenizedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 23 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 82, + 14 + ], + [ + 88, + 1 + ] + ], + "doc": "~Private~" + } + }, + "88": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 16 + ], + [ + 94, + 1 + ] + ], + "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " + } + }, + "94": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 94, + 16 + ], + [ + 94, + 30 + ] + ], + "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " + } + }, + "96": { + "24": { + "name": "tokenizeInBackground", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 24 + ], + [ + 103, + 1 + ] + ], + "doc": "~Private~" + } + }, + "103": { + "21": { + "name": "tokenizeNextChunk", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 103, + 21 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "19": { + "name": "firstInvalidRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 19 + ], + [ + 136, + 1 + ] + ], + "doc": "~Private~" + } + }, + "136": { + "15": { + "name": "validateRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 136, + 15 + ], + [ + 139, + 1 + ] + ], + "doc": "~Private~" + } + }, + "139": { + "17": { + "name": "invalidateRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 139, + 17 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "21": { + "name": "updateInvalidRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end", + "delta" + ], + "range": [ + [ + 144, + 21 + ], + [ + 153, + 1 + ] + ], + "doc": "~Private~" + } + }, + "153": { + "22": { + "name": "handleBufferChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 153, + 22 + ], + [ + 173, + 1 + ] + ], + "doc": "~Private~" + } + }, + "173": { + "48": { + "name": "retokenizeWhitespaceRowsIfIndentLevelChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "increment" + ], + "range": [ + [ + 173, + 48 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "30": { + "name": "buildTokenizedLinesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow", + "startingStack" + ], + "range": [ + [ + 183, + 30 + ], + [ + 200, + 1 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "41": { + "name": "buildPlaceholderTokenizedLinesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 200, + 41 + ], + [ + 203, + 1 + ] + ], + "doc": "~Private~" + } + }, + "203": { + "39": { + "name": "buildPlaceholderTokenizedLineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 203, + 39 + ], + [ + 210, + 1 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "37": { + "name": "buildTokenizedTokenizedLineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "ruleStack" + ], + "range": [ + [ + 210, + 37 + ], + [ + 220, + 1 + ] + ], + "doc": "~Private~" + } + }, + "220": { + "20": { + "name": "lineForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 220, + 20 + ], + [ + 225, + 1 + ] + ], + "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " + } + }, + "225": { + "22": { + "name": "linesForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 225, + 22 + ], + [ + 228, + 1 + ] + ], + "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " + } + }, + "228": { + "15": { + "name": "stackForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 228, + 15 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "21": { + "name": "indentLevelForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 231, + 21 + ], + [ + 257, + 1 + ] + ], + "doc": "~Private~" + } + }, + "257": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 257, + 22 + ], + [ + 266, + 1 + ] + ], + "doc": "~Private~" + } + }, + "266": { + "21": { + "name": "scopesForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 266, + 21 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "20": { + "name": "tokenForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 269, + 20 + ], + [ + 273, + 1 + ] + ], + "doc": "~Private~" + } + }, + "273": { + "33": { + "name": "tokenStartPositionForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 273, + 33 + ], + [ + 278, + 1 + ] + ], + "doc": "~Private~" + } + }, + "278": { + "33": { + "name": "bufferRangeForScopeAtPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "position" + ], + "range": [ + [ + 278, + 33 + ], + [ + 299, + 1 + ] + ], + "doc": "~Private~" + } + }, + "299": { + "30": { + "name": "iterateTokensInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "iterator" + ], + "range": [ + [ + 299, + 30 + ], + [ + 314, + 1 + ] + ], + "doc": "~Private~" + } + }, + "314": { + "39": { + "name": "backwardsIterateTokensInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "iterator" + ], + "range": [ + [ + 314, + 39 + ], + [ + 329, + 1 + ] + ], + "doc": "~Private~" + } + }, + "329": { + "22": { + "name": "findOpeningBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferPosition" + ], + "range": [ + [ + 329, + 22 + ], + [ + 344, + 1 + ] + ], + "doc": "~Private~" + } + }, + "344": { + "22": { + "name": "findClosingBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferPosition" + ], + "range": [ + [ + 344, + 22 + ], + [ + 362, + 1 + ] + ], + "doc": "~Private~" + } + }, + "362": { + "14": { + "name": "getLastRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 362, + 14 + ], + [ + 365, + 1 + ] + ], + "doc": " Private: Gets the row number of the last line.\n\nReturns a {Number}. " + } + }, + "365": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 365, + 16 + ], + [ + 368, + 1 + ] + ], + "doc": "~Private~" + } + }, + "368": { + "12": { + "name": "logLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 368, + 12 + ], + [ + 371, + 40 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "src/tokenized-line.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "12": { + "name": "1", + "type": "primitive", + "range": [ + [ + 2, + 12 + ], + [ + 2, + 12 + ] + ] + } + }, + "5": { + "0": { + "type": "class", + "name": "TokenizedLine", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 6, + 15 + ], + [ + 15, + 13 + ], + [ + 20, + 20 + ], + [ + 25, + 8 + ], + [ + 28, + 20 + ], + [ + 47, + 31 + ], + [ + 57, + 31 + ], + [ + 66, + 22 + ], + [ + 72, + 22 + ], + [ + 75, + 14 + ], + [ + 102, + 17 + ], + [ + 105, + 23 + ], + [ + 108, + 28 + ], + [ + 115, + 35 + ], + [ + 123, + 24 + ], + [ + 134, + 42 + ], + [ + 145, + 13 + ], + [ + 154, + 20 + ], + [ + 162, + 16 + ], + [ + 165, + 17 + ], + [ + 168, + 24 + ], + [ + 174, + 16 + ], + [ + 186, + 20 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 199, + 0 + ] + ] + } + }, + "6": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 6, + 15 + ], + [ + 15, + 1 + ] + ] + } + }, + "15": { + "13": { + "name": "buildText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 15, + 13 + ], + [ + 20, + 1 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "20": { + "name": "buildBufferDelta", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 20 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 8 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "20": { + "name": "clipScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "column", + "options" + ], + "range": [ + [ + 28, + 20 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "31": { + "name": "screenColumnForBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn", + "options" + ], + "range": [ + [ + 47, + 31 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "31": { + "name": "bufferColumnForScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenColumn", + "options" + ], + "range": [ + [ + 57, + 31 + ], + [ + 66, + 1 + ] + ], + "doc": "~Private~" + } + }, + "66": { + "22": { + "name": "getMaxScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 66, + 22 + ], + [ + 72, + 1 + ] + ], + "doc": "~Private~" + } + }, + "72": { + "22": { + "name": "getMaxBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 72, + 22 + ], + [ + 75, + 1 + ] + ], + "doc": "~Private~" + } + }, + "75": { + "14": { + "name": "softWrapAt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "column" + ], + "range": [ + [ + 75, + 14 + ], + [ + 102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "102": { + "17": { + "name": "isSoftWrapped", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 17 + ], + [ + 105, + 1 + ] + ], + "doc": "~Private~" + } + }, + "105": { + "23": { + "name": "tokenAtBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 105, + 23 + ], + [ + 108, + 1 + ] + ], + "doc": "~Private~" + } + }, + "108": { + "28": { + "name": "tokenIndexAtBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 108, + 28 + ], + [ + 115, + 1 + ] + ], + "doc": "~Private~" + } + }, + "115": { + "35": { + "name": "tokenStartColumnForBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 115, + 35 + ], + [ + 123, + 1 + ] + ], + "doc": "~Private~" + } + }, + "123": { + "24": { + "name": "breakOutAtomicTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "inputTokens" + ], + "range": [ + [ + 123, + 24 + ], + [ + 134, + 1 + ] + ], + "doc": "~Private~" + } + }, + "134": { + "42": { + "name": "markLeadingAndTrailingWhitespaceTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 134, + 42 + ], + [ + 145, + 1 + ] + ], + "doc": "~Private~" + } + }, + "145": { + "13": { + "name": "isComment", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 145, + 13 + ], + [ + 154, + 1 + ] + ], + "doc": "~Private~" + } + }, + "154": { + "20": { + "name": "isOnlyWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 20 + ], + [ + 162, + 1 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "16": { + "name": "tokenAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 162, + 16 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "17": { + "name": "getTokenCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 17 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "24": { + "name": "bufferColumnForToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetToken" + ], + "range": [ + [ + 168, + 24 + ], + [ + 174, + 1 + ] + ], + "doc": "~Private~" + } + }, + "174": { + "16": { + "name": "getScopeTree", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 174, + 16 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "20": { + "name": "updateScopeStack", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 186, + 20 + ], + [ + 199, + 0 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "0": { + "type": "class", + "name": "Scope", + "classProperties": [], + "prototypeProperties": [ + [ + 201, + 15 + ] + ], + "doc": "~Private~", + "range": [ + [ + 200, + 0 + ], + [ + 202, + 18 + ] + ] + } + }, + "201": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 201, + 15 + ], + [ + 202, + 18 + ] + ] + } + } + }, + "exports": 5 + }, + "src/window-bootstrap.coffee": { + "objects": { + "1": { + "12": { + "name": "startTime", + "type": "function", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 21 + ] + ] + } + }, + "5": { + "7": { + "name": "Atom", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "path": "./atom" + } + }, + "6": { + "14": { + "name": "window.atom", + "type": "function", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 40 + ] + ] + } + } + }, + "exports": {} + }, + "src/window-event-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "3": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 3, + 8 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "9": { + "0": { + "type": "class", + "name": "WindowEventHandler", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 81, + 27 + ], + [ + 96, + 13 + ], + [ + 100, + 12 + ], + [ + 106, + 25 + ], + [ + 116, + 13 + ], + [ + 137, + 17 + ] + ], + "doc": "Private: Handles low-level events related to the window. ", + "range": [ + [ + 9, + 0 + ], + [ + 156, + 28 + ] + ] + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 12, + 15 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "27": { + "name": "handleNativeKeybindings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 81, + 27 + ], + [ + 96, + 1 + ] + ], + "doc": " Private: Wire commands that should be handled by the native menu\nfor elements with the `.native-key-bindings` class. " + } + }, + "96": { + "13": { + "name": "onKeydown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 96, + 13 + ], + [ + 100, + 1 + ] + ], + "doc": "~Private~" + } + }, + "100": { + "12": { + "name": "openLink", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 100, + 12 + ], + [ + 106, + 1 + ] + ], + "doc": "~Private~" + } + }, + "106": { + "25": { + "name": "eachTabIndexedElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 106, + 25 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "13": { + "name": "focusNext", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 13 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "17": { + "name": "focusPrevious", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 17 + ], + [ + 156, + 28 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 9 + }, + "src/window.coffee": { + "objects": { + "7": { + "17": { + "name": "window.measure", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "description", + "fn" + ], + "range": [ + [ + 7, + 17 + ], + [ + 20, + 51 + ] + ], + "doc": null + } + }, + "21": { + "17": { + "name": "window.profile", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "description", + "fn" + ], + "range": [ + [ + 21, + 17 + ], + [ + 26, + 9 + ] + ], + "doc": null + } + } + }, + "exports": {} + }, + "src/workspace-view.coffee": { + "objects": { + "0": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "4": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 4, + 12 + ], + [ + 4, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@1.x" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + }, + "12": { + "type": "import", + "range": [ + [ + 5, + 12 + ], + [ + 5, + 33 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "logDeprecationWarnings", + "exportsProperty": "logDeprecationWarnings" + } + }, + "6": { + "17": { + "name": "scrollbarStyle", + "type": "import", + "range": [ + [ + 6, + 17 + ], + [ + 6, + 41 + ] + ], + "bindingType": "variable", + "module": "scrollbar-style" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 5 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + }, + "8": { + "type": "import", + "range": [ + [ + 7, + 8 + ], + [ + 7, + 11 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "8": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 8, + 5 + ], + [ + 8, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "9": { + "12": { + "name": "Workspace", + "type": "import", + "range": [ + [ + 9, + 12 + ], + [ + 9, + 32 + ] + ], + "bindingType": "variable", + "path": "./workspace" + } + }, + "10": { + "19": { + "name": "CommandInstaller", + "type": "import", + "range": [ + [ + 10, + 19 + ], + [ + 10, + 47 + ] + ], + "bindingType": "variable", + "path": "./command-installer" + } + }, + "11": { + "13": { + "name": "EditorView", + "type": "import", + "range": [ + [ + 11, + 13 + ], + [ + 11, + 35 + ] + ], + "bindingType": "variable", + "path": "./editor-view" + } + }, + "12": { + "11": { + "name": "PaneView", + "type": "import", + "range": [ + [ + 12, + 11 + ], + [ + 12, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-view" + } + }, + "13": { + "17": { + "name": "PaneColumnView", + "type": "import", + "range": [ + [ + 13, + 17 + ], + [ + 13, + 44 + ] + ], + "bindingType": "variable", + "path": "./pane-column-view" + } + }, + "14": { + "14": { + "name": "PaneRowView", + "type": "import", + "range": [ + [ + 14, + 14 + ], + [ + 14, + 38 + ] + ], + "bindingType": "variable", + "path": "./pane-row-view" + } + }, + "15": { + "20": { + "name": "PaneContainerView", + "type": "import", + "range": [ + [ + 15, + 20 + ], + [ + 15, + 50 + ] + ], + "bindingType": "variable", + "path": "./pane-container-view" + } + }, + "16": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 16, + 9 + ], + [ + 16, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "55": { + "0": { + "type": "class", + "name": "WorkspaceView", + "bindingType": "exports", + "classProperties": [ + [ + 63, + 12 + ], + [ + 66, + 4 + ], + [ + 75, + 12 + ] + ], + "prototypeProperties": [ + [ + 81, + 14 + ], + [ + 168, + 12 + ], + [ + 171, + 24 + ], + [ + 191, + 15 + ], + [ + 205, + 15 + ], + [ + 209, + 16 + ], + [ + 213, + 15 + ], + [ + 223, + 12 + ], + [ + 233, + 18 + ], + [ + 238, + 16 + ], + [ + 242, + 15 + ], + [ + 247, + 19 + ], + [ + 252, + 18 + ], + [ + 257, + 17 + ], + [ + 262, + 16 + ], + [ + 267, + 18 + ], + [ + 272, + 17 + ], + [ + 281, + 21 + ], + [ + 287, + 17 + ], + [ + 291, + 25 + ], + [ + 294, + 21 + ], + [ + 297, + 22 + ], + [ + 300, + 22 + ], + [ + 303, + 23 + ], + [ + 306, + 24 + ], + [ + 315, + 16 + ], + [ + 325, + 16 + ], + [ + 336, + 18 + ], + [ + 344, + 16 + ], + [ + 347, + 21 + ], + [ + 350, + 23 + ], + [ + 353, + 23 + ], + [ + 356, + 18 + ], + [ + 368, + 12 + ], + [ + 373, + 12 + ], + [ + 378, + 17 + ], + [ + 383, + 21 + ] + ], + "doc": " Public: The top-level view for the entire window. An instance of this class is\navailable via the `atom.workspaceView` global.\n\nIt is backed by a model object, an instance of {Workspace}, which is available\nvia the `atom.workspace` global or {::getModel}. You should prefer to interact\nwith the model object when possible, but it won't always be possible with the\ncurrent API.\n\n## Adding Perimeter Panels\n\nUse the following methods if possible to attach panels to the perimeter of the\nworkspace rather than manipulating the DOM directly to better insulate you to\nchanges in the workspace markup:\n\n* {::prependToTop}\n* {::appendToTop}\n* {::prependToBottom}\n* {::appendToBottom}\n* {::prependToLeft}\n* {::appendToLeft}\n* {::prependToRight}\n* {::appendToRight}\n\n## Requiring in package specs\n\nIf you need a `WorkspaceView` instance to test your package, require it via\nthe built-in `atom` module.\n\n```coffee\n {WorkspaceView} = require 'atom'\n```\n\nYou can assign it to the `atom.workspaceView` global in the spec or just use\nit as a local, depending on what you're trying to accomplish. Building the\n`WorkspaceView` is currently expensive, so you should try build a {Workspace}\ninstead if possible. ", + "range": [ + [ + 55, + 0 + ], + [ + 385, + 25 + ] + ] + } + }, + "63": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 63, + 12 + ], + [ + 63, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "66": { + "4": { + "name": "configDefaults", + "type": "primitive", + "range": [ + [ + 66, + 4 + ], + [ + 73, + 23 + ] + ], + "bindingType": "classProperty" + } + }, + "75": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 75, + 12 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 81, + 14 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 12 + ], + [ + 168, + 20 + ] + ], + "doc": " Public: Get the underlying model object.\n\nReturns a {Workspace}. " + } + }, + "171": { + "24": { + "name": "installShellCommands", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 24 + ], + [ + 191, + 1 + ] + ], + "doc": "Public: Install the Atom shell commands on the user's system. " + } + }, + "191": { + "15": { + "name": "handleFocus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 191, + 15 + ], + [ + 205, + 1 + ] + ], + "doc": "~Private~" + } + }, + "205": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 205, + 15 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "16": { + "name": "confirmClose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 209, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": "Private: Prompts to save all unsaved items " + } + }, + "213": { + "15": { + "name": "updateTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 15 + ], + [ + 223, + 1 + ] + ], + "doc": "Private: Updates the application's title, based on whichever file is open. " + } + }, + "223": { + "12": { + "name": "setTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "title" + ], + "range": [ + [ + 223, + 12 + ], + [ + 233, + 1 + ] + ], + "doc": "Private: Sets the application's title. " + } + }, + "233": { + "18": { + "name": "getEditorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 233, + 18 + ], + [ + 238, + 1 + ] + ], + "doc": " Private: Get all editor views.\n\nYou should prefer {Workspace::getEditors} unless you absolutely need access\nto the view objects. Also consider using {::eachEditorView}, which will call\na callback for all current and *future* editor views.\n\nReturns an {Array} of {EditorView}s. " + } + }, + "238": { + "16": { + "name": "prependToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 238, + 16 + ], + [ + 242, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the top of the\nworkspace. " + } + }, + "242": { + "15": { + "name": "appendToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 242, + 15 + ], + [ + 247, + 1 + ] + ], + "doc": "Public: Append an element or view to the panels at the top of the workspace. " + } + }, + "247": { + "19": { + "name": "prependToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 247, + 19 + ], + [ + 252, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the bottom of the\nworkspace. " + } + }, + "252": { + "18": { + "name": "appendToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 252, + 18 + ], + [ + 257, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the bottom of the\nworkspace. " + } + }, + "257": { + "17": { + "name": "prependToLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 257, + 17 + ], + [ + 262, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the left of the\nworkspace. " + } + }, + "262": { + "16": { + "name": "appendToLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 262, + 16 + ], + [ + 267, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the left of the\nworkspace. " + } + }, + "267": { + "18": { + "name": "prependToRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 267, + 18 + ], + [ + 272, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the right of the\nworkspace. " + } + }, + "272": { + "17": { + "name": "appendToRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 272, + 17 + ], + [ + 281, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the right of the\nworkspace. " + } + }, + "281": { + "21": { + "name": "getActivePaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 281, + 21 + ], + [ + 287, + 1 + ] + ], + "doc": " Public: Get the active pane view.\n\nPrefer {Workspace::getActivePane} if you don't actually need access to the\nview.\n\nReturns a {PaneView}. " + } + }, + "287": { + "17": { + "name": "getActiveView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 287, + 17 + ], + [ + 291, + 1 + ] + ], + "doc": " Public: Get the view associated with the active pane item.\n\nReturns a view. " + } + }, + "291": { + "25": { + "name": "focusPreviousPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 291, + 25 + ], + [ + 291, + 56 + ] + ], + "doc": "Private: Focus the previous pane by id. " + } + }, + "294": { + "21": { + "name": "focusNextPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 294, + 21 + ], + [ + 294, + 48 + ] + ], + "doc": "Private: Focus the next pane by id. " + } + }, + "297": { + "22": { + "name": "focusPaneViewAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 22 + ], + [ + 297, + 51 + ] + ], + "doc": "Public: Focus the pane directly above the active pane. " + } + }, + "300": { + "22": { + "name": "focusPaneViewBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 300, + 22 + ], + [ + 300, + 51 + ] + ], + "doc": "Public: Focus the pane directly below the active pane. " + } + }, + "303": { + "23": { + "name": "focusPaneViewOnLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 303, + 23 + ], + [ + 303, + 53 + ] + ], + "doc": "Public: Focus the pane directly to the left of the active pane. " + } + }, + "306": { + "24": { + "name": "focusPaneViewOnRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 306, + 24 + ], + [ + 306, + 55 + ] + ], + "doc": "Public: Focus the pane directly to the right of the active pane. " + } + }, + "315": { + "16": { + "name": "eachPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 315, + 16 + ], + [ + 325, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\npane view in the workspace.\n\ncallback - A {Function} with a {PaneView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "325": { + "16": { + "name": "getPaneViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 325, + 16 + ], + [ + 336, + 1 + ] + ], + "doc": " Public: Get all existing pane views.\n\nPrefer {Workspace::getPanes} if you don't need access to the view objects.\nAlso consider using {::eachPaneView} if you want to register a callback for\nall current and *future* pane views.\n\nReturns an Array of all open {PaneView}s. " + } + }, + "336": { + "18": { + "name": "eachEditorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 336, + 18 + ], + [ + 344, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\neditor view in the workspace (only includes {EditorView}s that are pane\nitems).\n\ncallback - A {Function} with an {EditorView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "344": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 344, + 16 + ], + [ + 347, + 1 + ] + ], + "doc": "Private: Called by SpacePen " + } + }, + "347": { + "21": { + "name": "setEditorFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 347, + 21 + ], + [ + 350, + 1 + ] + ], + "doc": "~Private~" + } + }, + "350": { + "23": { + "name": "setEditorFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 350, + 23 + ], + [ + 353, + 1 + ] + ], + "doc": "~Private~" + } + }, + "353": { + "23": { + "name": "setEditorLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 353, + 23 + ], + [ + 356, + 1 + ] + ], + "doc": "~Private~" + } + }, + "356": { + "18": { + "name": "setEditorStyle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "property", + "value" + ], + "range": [ + [ + 356, + 18 + ], + [ + 368, + 1 + ] + ], + "doc": "~Private~" + } + }, + "368": { + "12": { + "name": "eachPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 368, + 12 + ], + [ + 373, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "373": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 373, + 12 + ], + [ + 378, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "378": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 378, + 17 + ], + [ + 383, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "383": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 383, + 21 + ], + [ + 385, + 25 + ] + ], + "doc": "Deprecated: Call {Workspace::getActivePaneItem} instead. " + } + } + }, + "exports": 55 + }, + "src/workspace.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "bindingType": "variable", + "module": "grim", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 4 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true, + "name": "join", + "exportsProperty": "join" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist", + "name": "Model", + "exportsProperty": "Model" + } + }, + "4": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 4, + 4 + ], + [ + 4, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "5": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 5, + 15 + ], + [ + 5, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "6": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 6, + 12 + ], + [ + 6, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@1.x" + } + }, + "7": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "8": { + "16": { + "name": "PaneContainer", + "type": "import", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 41 + ] + ], + "bindingType": "variable", + "path": "./pane-container" + } + }, + "9": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 9, + 7 + ], + [ + 9, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "18": { + "0": { + "type": "class", + "name": "Workspace", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 47, + 21 + ], + [ + 55, + 19 + ], + [ + 60, + 37 + ], + [ + 74, + 15 + ], + [ + 84, + 14 + ], + [ + 91, + 14 + ], + [ + 118, + 8 + ], + [ + 135, + 15 + ], + [ + 150, + 12 + ], + [ + 168, + 17 + ], + [ + 193, + 14 + ], + [ + 200, + 18 + ], + [ + 217, + 18 + ], + [ + 221, + 20 + ], + [ + 224, + 14 + ], + [ + 230, + 17 + ], + [ + 236, + 12 + ], + [ + 240, + 11 + ], + [ + 244, + 20 + ], + [ + 248, + 24 + ], + [ + 254, + 14 + ], + [ + 260, + 21 + ], + [ + 269, + 22 + ], + [ + 277, + 24 + ], + [ + 284, + 25 + ], + [ + 288, + 21 + ], + [ + 295, + 19 + ], + [ + 299, + 20 + ], + [ + 303, + 20 + ], + [ + 308, + 17 + ], + [ + 312, + 14 + ], + [ + 317, + 23 + ], + [ + 322, + 13 + ] + ], + "doc": " Public: Represents the state of the user interface for the entire window.\nAn instance of this class is available via the `atom.workspace` global.\n\nInteract with this object to open files, be notified of current and future\neditors, and manipulate panes. To add panels, you'll need to use the\n{WorkspaceView} class for now until we establish APIs at the model layer. ", + "range": [ + [ + 18, + 0 + ], + [ + 323, + 28 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 15 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 47, + 21 + ], + [ + 55, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during deserialization " + } + }, + "55": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 19 + ], + [ + 60, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during serialization. " + } + }, + "60": { + "37": { + "name": "getPackageNamesWithActiveGrammars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 60, + 37 + ], + [ + 74, + 1 + ] + ], + "doc": "~Private~" + } + }, + "74": { + "15": { + "name": "editorAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 74, + 15 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "14": { + "name": "eachEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 84, + 14 + ], + [ + 91, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\n{Editor} in the workspace.\n\ncallback - A {Function} with an {Editor} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "91": { + "14": { + "name": "getEditors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 14 + ], + [ + 118, + 1 + ] + ], + "doc": " Public: Get all current editors in the workspace.\n\nReturns an {Array} of {Editor}s. " + } + }, + "118": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "options" + ], + "range": [ + [ + 118, + 8 + ], + [ + 135, + 1 + ] + ], + "doc": " Public: Open a given a URI in Atom asynchronously.\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :split - Either 'left' or 'right'. If 'left', the item will be opened in\n leftmost pane of the current active pane's row. If 'right', the\n item will be opened in the rightmost pane of the current active\n pane's row.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`.\n :searchAllPanes - A {Boolean}. If `true`, the workspace will attempt to\n activate an existing item for the given URI on any pane.\n If `false`, only the active pane will be searched for\n an existing item for the same URI. Defaults to `false`.\n\nReturns a promise that resolves to the {Editor} for the file URI. " + } + }, + "135": { + "15": { + "name": "openLicense", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 135, + 15 + ], + [ + 150, + 1 + ] + ], + "doc": "Public: Open Atom's license in the active pane. " + } + }, + "150": { + "12": { + "name": "openSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "options" + ], + "range": [ + [ + 150, + 12 + ], + [ + 168, + 1 + ] + ], + "doc": " Private: Synchronously open the given URI in the active pane. **Only use this method\nin specs. Calling this in production code will block the UI thread and\neveryone will be mad at you.**\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`. " + } + }, + "168": { + "17": { + "name": "openUriInPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "pane", + "options" + ], + "range": [ + [ + 168, + 17 + ], + [ + 193, + 1 + ] + ], + "doc": "~Private~" + } + }, + "193": { + "14": { + "name": "reopenItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 193, + 14 + ], + [ + 200, + 1 + ] + ], + "doc": " Public: Asynchronously reopens the last-closed item's URI if it hasn't already been\nreopened.\n\nReturns a promise that is resolved when the item is opened " + } + }, + "200": { + "18": { + "name": "reopenItemSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 200, + 18 + ], + [ + 217, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "217": { + "18": { + "name": "registerOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 217, + 18 + ], + [ + 221, + 1 + ] + ], + "doc": " Public: Register an opener for a uri.\n\nAn {Editor} will be used if no openers return a value.\n\n## Example\n```coffeescript\n atom.project.registerOpener (uri) ->\n if path.extname(uri) is '.toml'\n return new TomlEditor(uri)\n```\n\nopener - A {Function} to be called when a path is being opened. " + } + }, + "221": { + "20": { + "name": "unregisterOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 221, + 20 + ], + [ + 224, + 1 + ] + ], + "doc": "Public: Unregister an opener registered with {::registerOpener}. " + } + }, + "224": { + "14": { + "name": "getOpeners", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 14 + ], + [ + 230, + 1 + ] + ], + "doc": "~Private~" + } + }, + "230": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 230, + 17 + ], + [ + 236, + 1 + ] + ], + "doc": " Public: Get the active {Pane}.\n\nReturns a {Pane}. " + } + }, + "236": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 236, + 12 + ], + [ + 240, + 1 + ] + ], + "doc": " Public: Get all {Pane}s.\n\nReturns an {Array} of {Pane}s. " + } + }, + "240": { + "11": { + "name": "saveAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 240, + 11 + ], + [ + 244, + 1 + ] + ], + "doc": "Public: Save all pane items. " + } + }, + "244": { + "20": { + "name": "activateNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 244, + 20 + ], + [ + 248, + 1 + ] + ], + "doc": "Public: Make the next pane active. " + } + }, + "248": { + "24": { + "name": "activatePreviousPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 248, + 24 + ], + [ + 254, + 1 + ] + ], + "doc": "Public: Make the previous pane active. " + } + }, + "254": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 254, + 14 + ], + [ + 260, + 1 + ] + ], + "doc": " Public: Get the first pane {Pane} with an item for the given URI.\n\nReturns a {Pane} or `undefined` if no pane exists for the given URI. " + } + }, + "260": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 21 + ], + [ + 269, + 1 + ] + ], + "doc": " Public: Get the active {Pane}'s active item.\n\nReturns an pane item {Object}. " + } + }, + "269": { + "22": { + "name": "saveActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 22 + ], + [ + 277, + 1 + ] + ], + "doc": " Public: Save the active pane item.\n\nIf the active pane item currently has a URI according to the item's\n`.getUri` method, calls `.save` on the item. Otherwise\n{::saveActivePaneItemAs} # will be called instead. This method does nothing\nif the active item does not implement a `.save` method. " + } + }, + "277": { + "24": { + "name": "saveActivePaneItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 277, + 24 + ], + [ + 284, + 1 + ] + ], + "doc": " Public: Prompt the user for a path and save the active pane item to it.\n\nOpens a native dialog where the user selects a path on disk, then calls\n`.saveAs` on the item with the selected path. This method does nothing if\nthe active item does not implement a `.saveAs` method. " + } + }, + "284": { + "25": { + "name": "destroyActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 25 + ], + [ + 288, + 1 + ] + ], + "doc": " Public: Destroy (close) the active pane item.\n\nRemoves the active pane item and calls the `.destroy` method on it if one is\ndefined. " + } + }, + "288": { + "21": { + "name": "destroyActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 288, + 21 + ], + [ + 295, + 1 + ] + ], + "doc": "Public: Destroy (close) the active pane. " + } + }, + "295": { + "19": { + "name": "getActiveEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 295, + 19 + ], + [ + 299, + 1 + ] + ], + "doc": " Public: Get the active item if it is an {Editor}.\n\nReturns an {Editor} or `undefined` if the current active item is not an\n{Editor}. " + } + }, + "299": { + "20": { + "name": "increaseFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 299, + 20 + ], + [ + 303, + 1 + ] + ], + "doc": "Public: Increase the editor font size by 1px. " + } + }, + "303": { + "20": { + "name": "decreaseFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 303, + 20 + ], + [ + 308, + 1 + ] + ], + "doc": "Public: Decrease the editor font size by 1px. " + } + }, + "308": { + "17": { + "name": "resetFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 308, + 17 + ], + [ + 312, + 1 + ] + ], + "doc": "Public: Restore to a default editor font size. " + } + }, + "312": { + "14": { + "name": "itemOpened", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 312, + 14 + ], + [ + 317, + 1 + ] + ], + "doc": "Private: Removes the item's uri from the list of potential items to reopen. " + } + }, + "317": { + "23": { + "name": "onPaneItemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 317, + 23 + ], + [ + 322, + 1 + ] + ], + "doc": "Private: Adds the destroyed item's uri to the list of items to reopen. " + } + }, + "322": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 322, + 13 + ], + [ + 323, + 28 + ] + ], + "doc": "Private: Called by Model superclass when destroyed " + } + } + }, + "exports": 18 + }, + "src/key-binding.coffee": { + "objects": { + "0": { + "7": { + "name": "Grim", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "grim" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "calculateSpecificity", + "exportsProperty": "calculateSpecificity" + } + }, + "4": { + "0": { + "type": "class", + "name": "KeyBinding", + "bindingType": "exports", + "classProperties": [ + [ + 5, + 17 + ] + ], + "prototypeProperties": [ + [ + 7, + 11 + ], + [ + 9, + 15 + ], + [ + 23, + 11 + ], + [ + 30, + 11 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 34, + 43 + ] + ] + } + }, + "5": { + "17": { + "name": "currentIndex", + "type": "primitive", + "range": [ + [ + 5, + 17 + ], + [ + 5, + 17 + ] + ], + "bindingType": "classProperty" + } + }, + "7": { + "11": { + "name": "enabled", + "type": "primitive", + "range": [ + [ + 7, + 11 + ], + [ + 7, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null, + null, + "selector" + ], + "range": [ + [ + 9, + 15 + ], + [ + 23, + 1 + ] + ], + "doc": "~Private~" + } + }, + "23": { + "11": { + "name": "matches", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystroke" + ], + "range": [ + [ + 23, + 11 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyBinding" + ], + "range": [ + [ + 30, + 11 + ], + [ + 34, + 43 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "src/keymap-manager.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "2": { + "7": { + "name": "Grim", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "grim" + } + }, + "3": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 3, + 5 + ], + [ + 3, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "4": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 4 + ] + ], + "bindingType": "variable", + "module": "pathwatcher", + "name": "File", + "exportsProperty": "File" + } + }, + "7": { + "13": { + "name": "KeyBinding", + "type": "import", + "range": [ + [ + 7, + 13 + ], + [ + 7, + 35 + ] + ], + "bindingType": "variable", + "path": "./key-binding" + } + }, + "8": { + "15": { + "name": "CommandEvent", + "type": "import", + "range": [ + [ + 8, + 15 + ], + [ + 8, + 39 + ] + ], + "bindingType": "variable", + "path": "./command-event" + } + }, + "9": { + "1": { + "type": "import", + "range": [ + [ + 9, + 1 + ], + [ + 9, + 19 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "normalizeKeystrokes", + "exportsProperty": "normalizeKeystrokes" + }, + "22": { + "type": "import", + "range": [ + [ + 9, + 22 + ], + [ + 9, + 46 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "keystrokeForKeyboardEvent", + "exportsProperty": "keystrokeForKeyboardEvent" + }, + "49": { + "type": "import", + "range": [ + [ + 9, + 49 + ], + [ + 9, + 62 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "isAtomModifier", + "exportsProperty": "isAtomModifier" + }, + "65": { + "type": "import", + "range": [ + [ + 9, + 65 + ], + [ + 9, + 76 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "keydownEvent", + "exportsProperty": "keydownEvent" + } + }, + "11": { + "12": { + "type": "primitive", + "range": [ + [ + 11, + 12 + ], + [ + 11, + 59 + ] + ] + } + }, + "12": { + "17": { + "name": "OtherPlatforms", + "type": "function", + "range": [ + [ + 12, + 17 + ], + [ + 12, + 77 + ] + ] + } + }, + "84": { + "0": { + "type": "class", + "name": "KeymapManager", + "bindingType": "exports", + "classProperties": [ + [ + 99, + 17 + ] + ], + "prototypeProperties": [ + [ + 103, + 23 + ], + [ + 105, + 17 + ], + [ + 106, + 25 + ], + [ + 107, + 29 + ], + [ + 117, + 15 + ], + [ + 125, + 11 + ], + [ + 132, + 18 + ], + [ + 141, + 7 + ], + [ + 164, + 14 + ], + [ + 179, + 15 + ], + [ + 190, + 10 + ], + [ + 212, + 23 + ], + [ + 289, + 19 + ], + [ + 314, + 16 + ], + [ + 324, + 14 + ], + [ + 338, + 27 + ], + [ + 345, + 21 + ], + [ + 349, + 23 + ], + [ + 365, + 22 + ], + [ + 385, + 20 + ], + [ + 390, + 25 + ], + [ + 394, + 21 + ], + [ + 400, + 22 + ], + [ + 410, + 25 + ], + [ + 427, + 24 + ], + [ + 446, + 36 + ], + [ + 460, + 29 + ], + [ + 464, + 13 + ], + [ + 469, + 16 + ], + [ + 475, + 18 + ], + [ + 484, + 27 + ], + [ + 490, + 12 + ], + [ + 497, + 25 + ], + [ + 502, + 27 + ], + [ + 507, + 30 + ], + [ + 513, + 40 + ], + [ + 519, + 42 + ] + ], + "doc": " Public: Allows commands to be associated with keystrokes in a\ncontext-sensitive way. In Atom, you can access a global instance of this\nobject via `atom.keymap`.\n\nKey bindings are plain JavaScript objects containing **CSS selectors** as\ntheir top level keys, then **keystroke patterns** mapped to commands.\n\n```cson\n'.workspace':\n 'ctrl-l': 'package:do-something'\n 'ctrl-z': 'package:do-something-else'\n'.mini.editor':\n 'enter': 'core:confirm'\n```\n\nWhen a keystroke sequence matches a binding in a given context, a custom DOM\nevent with a type based on the command is dispatched on the target of the\nkeyboard event.\n\nTo match a keystroke sequence, the keymap starts at the target element for the\nkeyboard event. It looks for key bindings associated with selectors that match\nthe target element. If multiple match, the most specific is selected. If there\nis a tie in specificity, the most recently added binding wins. If no bindings\nare found for the events target, the search is repeated again for the target's\nparent node and so on recursively until a binding is found or we traverse off\nthe top of the document.\n\nWhen a binding is found, its command event is always dispatched on the\noriginal target of the keyboard event, even if the matching element is higher\nup in the DOM. In addition, `.preventDefault()` is called on the keyboard\nevent to prevent the browser from taking action. `.preventDefault` is only\ncalled if a matching binding is found.\n\nCommand event objects have a non-standard method called `.abortKeyBinding()`.\nIf your command handler is invoked but you programmatically determine that no\naction can be taken and you want to allow other bindings to be matched, call\n`.abortKeyBinding()` on the event object. An example of where this is useful\nis binding snippet expansion to `tab`. If `snippets:expand` is invoked when\nthe cursor does not follow a valid snippet prefix, we abort the binding and\nallow `tab` to be handled by the default handler, which inserts whitespace.\n\nMulti-keystroke bindings are possible. If a sequence of one or more keystrokes\n*partially* matches a multi-keystroke binding, the keymap enters a pending\nstate. The pending state is terminated on the next keystroke, or after\n{::partialMatchTimeout} milliseconds has elapsed. When the pending state is\nterminated via a timeout or a keystroke that leads to no matches, the longest\nambiguous bindings that caused the pending state are temporarily disabled and\nthe previous keystrokes are replayed. If there is ambiguity again during the\nreplay, the next longest bindings are disabled and the keystrokes are replayed\nagain.\n\n## Events\n\n* `matched` -\n Emitted when keystrokes match a binding.\n * keystrokes - The keystroke {String} that matched the binding\n * binding - The {KeyBinding} that was used\n * keyboardEventTarget - The target element of the keyboard event\n\n* `matched-partially` -\n Emitted when keystrokes partially match one or more bindings.\n * keystrokes - The keystroke {String} that partially match some bindings\n * partiallyMatchedBindings - The {KeyBinding}s that partially matched\n * keyboardEventTarget - The target element of the keyboard event\n\n* `match-failed` -\n Emitted when keystrokes don't match any bindings.\n * keystrokes - The keystroke {String} that matched no bindings\n * keyboardEventTarget - The target element of the keyboard event ", + "range": [ + [ + 84, + 0 + ], + [ + 521, + 62 + ] + ] + } + }, + "99": { + "17": { + "name": "keydownEvent", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "key", + "options" + ], + "range": [ + [ + 99, + 17 + ], + [ + 99, + 60 + ] + ], + "doc": " Public: Create a keydown DOM event for testing purposes.\n\nkey - The key or keyIdentifier of the event. For example, 'a', '1',\n 'escape', 'backspace', etc.\noptions - An {Object} containing any of the following:\n :ctrl - A {Boolean} indicating the ctrl modifier key\n :alt - A {Boolean} indicating the alt modifier key\n :shift - A {Boolean} indicating the shift modifier key\n :cmd - A {Boolean} indicating the cmd modifier key\n :which - A {Number} indicating `which` value of the event. See\n the docs for KeyboardEvent for more information.\n :target - The target element of the event. " + } + }, + "103": { + "23": { + "name": "partialMatchTimeout", + "type": "primitive", + "range": [ + [ + 103, + 23 + ], + [ + 103, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "105": { + "17": { + "name": "defaultTarget", + "type": "primitive", + "range": [ + [ + 105, + 17 + ], + [ + 105, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "106": { + "25": { + "name": "pendingPartialMatches", + "type": "primitive", + "range": [ + [ + 106, + 25 + ], + [ + 106, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "107": { + "29": { + "name": "pendingStateTimeoutHandle", + "type": "primitive", + "range": [ + [ + 107, + 29 + ], + [ + 107, + 32 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "117": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 117, + 15 + ], + [ + 125, + 1 + ] + ], + "doc": " Public:\n\noptions - An {Object} containing properties to assign to the keymap: You can\n pass custom properties to be used by extension methods. The following\n properties are also supported:\n :defaultTarget - This will be used as the target of events whose target\n is `document.body` to allow for a catch-all element when nothing is\n focused " + } + }, + "125": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 125, + 11 + ], + [ + 132, + 1 + ] + ], + "doc": "Public: Unwatch all watched paths. " + } + }, + "132": { + "18": { + "name": "getKeyBindings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 132, + 18 + ], + [ + 141, + 1 + ] + ], + "doc": " Public: Get all current key bindings.\n\nReturns an {Array} of {KeyBinding}s. " + } + }, + "141": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source", + "keyBindingsBySelector" + ], + "range": [ + [ + 141, + 7 + ], + [ + 164, + 1 + ] + ], + "doc": " Public: Add sets of key bindings grouped by CSS selector.\n\nsource - A {String} (usually a path) uniquely identifying the given bindings\n so they can be removed later.\nbindings - An {Object} whose top-level keys point at sub-objects mapping\n keystroke patterns to commands. " + } + }, + "164": { + "14": { + "name": "loadKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bindingsPath", + "options" + ], + "range": [ + [ + 164, + 14 + ], + [ + 179, + 1 + ] + ], + "doc": " Public: Load the key bindings from the given path.\n\npath - A {String} containing a path to a file or a directory. If the path is\n a directory, all files inside it will be loaded.\noptions - An {Object} containing the following optional keys:\n :watch - If `true`, the keymap will also reload the file at the given path\n whenever it changes. This option cannot be used with directory paths. " + } + }, + "179": { + "15": { + "name": "watchKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 179, + 15 + ], + [ + 190, + 1 + ] + ], + "doc": " Public: Cause the keymap to reload the key bindings file at the given path\nwhenever it changes.\n\nThis method doesn't perform the initial load of the key bindings file. If\nthat's what you're looking for, call {::loadKeymap} with `watch: true`. " + } + }, + "190": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source" + ], + "range": [ + [ + 190, + 10 + ], + [ + 212, + 1 + ] + ], + "doc": " Public: Remove the key bindings added with {::addKeymap} or\n{::loadKeymap}.\n\nsource - A {String} representing the `source` in a previous call to\n {::addKeymap} or the path in {::loadKeymap}. " + } + }, + "212": { + "23": { + "name": "handleKeyboardEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event", + "replaying" + ], + "range": [ + [ + 212, + 23 + ], + [ + 289, + 1 + ] + ], + "doc": " Public: Dispatch a custom event associated with the matching key binding for\nthe given `KeyboardEvent` if one can be found.\n\nIf a matching binding is found on the event's target or one of its\nancestors, `.preventDefault()` is called on the keyboard event and the\nbinding's command is emitted as a custom event on the matching element.\n\nIf the matching binding's command is 'native!', the method will terminate\nwithout calling `.preventDefault()` on the keyboard event, allowing the\nbrowser to handle it as normal.\n\nIf the matching binding's command is 'unset!', the search will continue from\nthe current element's parent.\n\nIf the matching binding's command is 'abort!', the search will terminate\nwithout dispatching a command event.\n\nIf the event's target is `document.body`, it will be treated as if its\ntarget is `.defaultTarget` if that property is assigned on the keymap. " + } + }, + "289": { + "19": { + "name": "findKeyBindings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 289, + 19 + ], + [ + 314, + 1 + ] + ], + "doc": " Public: Get the key bindings for a given command and optional target.\n\nparams - An {Object} whose keys constrain the binding search:\n :keystrokes - A {String} representing one or more keystrokes, such as\n 'ctrl-x ctrl-s'\n :command - A {String} representing the name of a command, such as\n 'editor:backspace'\n :target - An optional DOM element constraining the search. If this\n parameter is supplied, the call will only return bindings that can be\n invoked by a KeyboardEvent originating from the target element. " + } + }, + "314": { + "16": { + "name": "reloadKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 314, + 16 + ], + [ + 324, + 1 + ] + ], + "doc": " Private: Called by the path watcher callback to reload a file at the given path. If\nwe can't read the file cleanly, we don't proceed with the reload. " + } + }, + "324": { + "14": { + "name": "readKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "suppressErrors" + ], + "range": [ + [ + 324, + 14 + ], + [ + 338, + 1 + ] + ], + "doc": "~Private~" + } + }, + "338": { + "27": { + "name": "filePathMatchesPlatform", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 338, + 27 + ], + [ + 345, + 1 + ] + ], + "doc": " Private: Determine if the given path should be loaded on this platform. If the\nfilename has the pattern '.cson' or 'foo..cson' and\n does not match the current platform, returns false. Otherwise\nreturns true. " + } + }, + "345": { + "21": { + "name": "getOtherPlatforms", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 345, + 21 + ], + [ + 345, + 37 + ] + ], + "doc": "Private: For testing purposes " + } + }, + "349": { + "23": { + "name": "findMatchCandidates", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystrokes" + ], + "range": [ + [ + 349, + 23 + ], + [ + 365, + 1 + ] + ], + "doc": " Private: Finds all key bindings whose keystrokes match the given keystrokes. Returns\nboth partial and exact matches. " + } + }, + "365": { + "22": { + "name": "findPartialMatches", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "partialMatchCandidates", + "target" + ], + "range": [ + [ + 365, + 22 + ], + [ + 385, + 1 + ] + ], + "doc": " Private: Determine which of the given bindings have selectors matching the target or\none of its ancestors. This is used by {::handleKeyboardEvent} to determine\nif there are any partial matches for the keyboard event. " + } + }, + "385": { + "20": { + "name": "findExactMatches", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "exactMatchCandidates", + "target" + ], + "range": [ + [ + 385, + 20 + ], + [ + 390, + 1 + ] + ], + "doc": " Private: Find the matching bindings among the given candidates for the given target,\nordered by specificity. Does not traverse up the target's ancestors. This is\nused by {::handleKeyboardEvent} to find a matching binding when there are no\npartially-matching bindings. " + } + }, + "390": { + "25": { + "name": "clearQueuedKeystrokes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 390, + 25 + ], + [ + 394, + 1 + ] + ], + "doc": "~Private~" + } + }, + "394": { + "21": { + "name": "enterPendingState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pendingPartialMatches", + "enableTimeout" + ], + "range": [ + [ + 394, + 21 + ], + [ + 400, + 1 + ] + ], + "doc": "~Private~" + } + }, + "400": { + "22": { + "name": "cancelPendingState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 400, + 22 + ], + [ + 410, + 1 + ] + ], + "doc": "~Private~" + } + }, + "410": { + "25": { + "name": "terminatePendingState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 410, + 25 + ], + [ + 427, + 1 + ] + ], + "doc": " Private: This is called by {::handleKeyboardEvent} when no matching bindings are\nfound for the currently queued keystrokes or by the pending state timeout.\nIt disables the longest of the pending partially matching bindings, then\nreplays the queued keyboard events to allow any bindings with shorter\nkeystroke sequences to be matched unambiguously. " + } + }, + "427": { + "24": { + "name": "dispatchCommandEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "target", + "keyboardEvent" + ], + "range": [ + [ + 427, + 24 + ], + [ + 446, + 1 + ] + ], + "doc": " Private: After we match a binding, we call this method to dispatch a custom event\nbased on the binding's command. " + } + }, + "446": { + "36": { + "name": "simulateBubblingOnDetachedTarget", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "target", + "commandEvent" + ], + "range": [ + [ + 446, + 36 + ], + [ + 460, + 1 + ] + ], + "doc": " Private: Chromium does not bubble events dispatched on detached targets, which makes\ntesting a pain in the ass. This method simulates bubbling manually. " + } + }, + "460": { + "29": { + "name": "keystrokeForKeyboardEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 460, + 29 + ], + [ + 464, + 1 + ] + ], + "doc": " Public: Translate a keydown event to a keystroke string.\n\nevent - A `KeyboardEvent` of type 'keydown'\n\nReturns a {String} describing the keystroke. " + } + }, + "464": { + "13": { + "name": "addKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source", + "bindings" + ], + "range": [ + [ + 464, + 13 + ], + [ + 469, + 1 + ] + ], + "doc": "Deprecated: Use {::addKeymap} instead. " + } + }, + "469": { + "16": { + "name": "removeKeymap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source" + ], + "range": [ + [ + 469, + 16 + ], + [ + 475, + 1 + ] + ], + "doc": "Deprecated: Use {::removeKeymap} instead. " + } + }, + "475": { + "18": { + "name": "handleKeyEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 475, + 18 + ], + [ + 484, + 1 + ] + ], + "doc": " Deprecated: Handle a jQuery keyboard event. Use {::handleKeyboardEvent} with\na raw keyboard event instead. " + } + }, + "484": { + "27": { + "name": "keystrokeStringForEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 484, + 27 + ], + [ + 490, + 1 + ] + ], + "doc": " Deprecated: Translate a jQuery keyboard event to a keystroke string. Use\n{::keystrokeForKeyboardEvent} with a raw KeyboardEvent instead. " + } + }, + "490": { + "12": { + "name": "bindKeys", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "source", + "selector", + "keyBindings" + ], + "range": [ + [ + 490, + 12 + ], + [ + 497, + 1 + ] + ], + "doc": " Deprecated: Use {::addKeymap} with a map from selectors to key\nbindings. " + } + }, + "497": { + "25": { + "name": "keyBindingsForCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command" + ], + "range": [ + [ + 497, + 25 + ], + [ + 502, + 1 + ] + ], + "doc": "Deprecated: Use {::findKeyBindings} with the 'command' param. " + } + }, + "502": { + "27": { + "name": "keyBindingsForKeystroke", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystroke" + ], + "range": [ + [ + 502, + 27 + ], + [ + 507, + 1 + ] + ], + "doc": "Deprecated: Use {::findKeyBindings} with the 'keystrokes' param. " + } + }, + "507": { + "30": { + "name": "keyBindingsMatchingElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "target", + "keyBindings" + ], + "range": [ + [ + 507, + 30 + ], + [ + 513, + 1 + ] + ], + "doc": "Deprecated: Use {::findKeyBindings} with the 'target' param. " + } + }, + "513": { + "40": { + "name": "keyBindingsForCommandMatchingElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "target" + ], + "range": [ + [ + 513, + 40 + ], + [ + 519, + 1 + ] + ], + "doc": " Deprecated: Use {::findKeyBindings} with the 'command' and 'target'\nparams " + } + }, + "519": { + "42": { + "name": "keyBindingsForKeystrokeMatchingElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystrokes", + "target" + ], + "range": [ + [ + 519, + 42 + ], + [ + 521, + 62 + ] + ], + "doc": " Deprecated: Use {::findKeyBindings} with the 'keystrokes' and 'target'\nparams " + } + } + }, + "exports": 84 + }, + "src/grammar-registry.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 22 + ] + ], + "bindingType": "variable", + "module": "season" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "10": { + "name": "Grammar", + "type": "import", + "range": [ + [ + 4, + 10 + ], + [ + 4, + 28 + ] + ], + "bindingType": "variable", + "path": "./grammar" + } + }, + "5": { + "14": { + "name": "NullGrammar", + "type": "import", + "range": [ + [ + 5, + 14 + ], + [ + 5, + 37 + ] + ], + "bindingType": "variable", + "path": "./null-grammar" + } + }, + "9": { + "0": { + "type": "class", + "name": "GrammarRegistry", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 24, + 15 + ], + [ + 32, + 23 + ], + [ + 38, + 17 + ], + [ + 47, + 29 + ], + [ + 57, + 14 + ], + [ + 69, + 19 + ], + [ + 81, + 15 + ], + [ + 96, + 19 + ], + [ + 106, + 15 + ], + [ + 119, + 26 + ], + [ + 128, + 29 + ], + [ + 135, + 31 + ], + [ + 139, + 25 + ], + [ + 151, + 17 + ], + [ + 154, + 15 + ], + [ + 156, + 18 + ], + [ + 160, + 17 + ] + ], + "doc": "Public: Registry containing one or more grammars. ", + "range": [ + [ + 9, + 0 + ], + [ + 164, + 11 + ] + ] + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 12, + 15 + ], + [ + 24, + 1 + ] + ], + "doc": "~Private~" + } + }, + "24": { + "15": { + "name": "getGrammars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 24, + 15 + ], + [ + 32, + 1 + ] + ], + "doc": " Public: Get all the grammars in this registry.\n\nReturns a non-empty {Array} of {Grammar} instances. " + } + }, + "32": { + "23": { + "name": "grammarForScopeName", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeName" + ], + "range": [ + [ + 32, + 23 + ], + [ + 38, + 1 + ] + ], + "doc": " Public: Get a grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`.\n\nReturns a {Grammar} or undefined. " + } + }, + "38": { + "17": { + "name": "removeGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 38, + 17 + ], + [ + 47, + 1 + ] + ], + "doc": " Public: Remove a grammar from this registry.\n\ngrammar - The {Grammar} to remove. " + } + }, + "47": { + "29": { + "name": "removeGrammarForScopeName", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeName" + ], + "range": [ + [ + 47, + 29 + ], + [ + 57, + 1 + ] + ], + "doc": " Public: Remove the grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`. " + } + }, + "57": { + "14": { + "name": "addGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 57, + 14 + ], + [ + 69, + 1 + ] + ], + "doc": " Public: Add a grammar to this registry.\n\nA 'grammar-added' event is emitted after the grammar is added.\n\ngrammar - The {Grammar} to add. This should be a value previously returned\n from {::readGrammar} or {::readGrammarSync}. " + } + }, + "69": { + "19": { + "name": "readGrammarSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath" + ], + "range": [ + [ + 69, + 19 + ], + [ + 81, + 1 + ] + ], + "doc": " Public: Read a grammar synchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\n\nReturns a {Grammar}. " + } + }, + "81": { + "15": { + "name": "readGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath", + "callback" + ], + "range": [ + [ + 81, + 15 + ], + [ + 96, + 1 + ] + ], + "doc": " Public: Read a grammar asynchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " + } + }, + "96": { + "19": { + "name": "loadGrammarSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath" + ], + "range": [ + [ + 96, + 19 + ], + [ + 106, + 1 + ] + ], + "doc": " Public: Read a grammar synchronously and add it to this registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\n\nReturns a {Grammar}. " + } + }, + "106": { + "15": { + "name": "loadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath", + "callback" + ], + "range": [ + [ + 106, + 15 + ], + [ + 119, + 1 + ] + ], + "doc": " Public: Read a grammar asynchronously and add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " + } + }, + "119": { + "26": { + "name": "grammarOverrideForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 119, + 26 + ], + [ + 128, + 1 + ] + ], + "doc": " Public: Get the grammar override for the given file path.\n\nfilePath - A {String} file path.\n\nReturns a {Grammar} or undefined. " + } + }, + "128": { + "29": { + "name": "setGrammarOverrideForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "scopeName" + ], + "range": [ + [ + 128, + 29 + ], + [ + 135, + 1 + ] + ], + "doc": " Public: Set the grammar override for the given file path.\n\nfilePath - A non-empty {String} file path.\nscopeName - A {String} such as `\"source.js\"`.\n\nReturns a {Grammar} or undefined. " + } + }, + "135": { + "31": { + "name": "clearGrammarOverrideForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 135, + 31 + ], + [ + 139, + 1 + ] + ], + "doc": " Public: Remove the grammar override for the given file path.\n\nfilePath - A {String} file path. " + } + }, + "139": { + "25": { + "name": "clearGrammarOverrides", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 139, + 25 + ], + [ + 151, + 1 + ] + ], + "doc": "Public: Remove all grammar overrides. " + } + }, + "151": { + "17": { + "name": "selectGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "fileContents" + ], + "range": [ + [ + 151, + 17 + ], + [ + 154, + 1 + ] + ], + "doc": " Public: Select a grammar for the given file path and file contents.\n\nThis picks the best match by checking the file path and contents against\neach grammar.\n\nfilePath - A {String} file path.\nfileContents - A {String} of text for the file path.\n\nReturns a {Grammar}, never null. " + } + }, + "154": { + "15": { + "name": "createToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "scopes" + ], + "range": [ + [ + 154, + 15 + ], + [ + 154, + 48 + ] + ], + "doc": "~Private~" + } + }, + "156": { + "18": { + "name": "grammarUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeName" + ], + "range": [ + [ + 156, + 18 + ], + [ + 160, + 1 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "17": { + "name": "createGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammarPath", + "object" + ], + "range": [ + [ + 160, + 17 + ], + [ + 164, + 11 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 9 + }, + "src/grammar.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "3": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 3, + 5 + ], + [ + 3, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 10 + ] + ], + "bindingType": "variable", + "module": "oniguruma", + "name": "OnigRegExp", + "exportsProperty": "OnigRegExp" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "7": { + "13": { + "name": "Injections", + "type": "import", + "range": [ + [ + 7, + 13 + ], + [ + 7, + 34 + ] + ], + "bindingType": "variable", + "path": "./injections" + } + }, + "8": { + "10": { + "name": "Pattern", + "type": "import", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 28 + ] + ], + "bindingType": "variable", + "path": "./pattern" + } + }, + "9": { + "7": { + "name": "Rule", + "type": "import", + "range": [ + [ + 9, + 7 + ], + [ + 9, + 22 + ] + ], + "bindingType": "variable", + "path": "./rule" + } + }, + "10": { + "16": { + "name": "ScopeSelector", + "type": "import", + "range": [ + [ + 10, + 16 + ], + [ + 10, + 41 + ] + ], + "bindingType": "variable", + "path": "./scope-selector" + } + }, + "12": { + "21": { + "name": "pathSplitRegex", + "type": "function", + "range": [ + [ + 12, + 21 + ], + [ + 12, + 34 + ] + ] + } + }, + "19": { + "0": { + "type": "class", + "name": "Grammar", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 22, + 15 + ], + [ + 51, + 17 + ], + [ + 73, + 16 + ], + [ + 141, + 12 + ], + [ + 144, + 14 + ], + [ + 147, + 14 + ], + [ + 151, + 18 + ], + [ + 154, + 17 + ], + [ + 162, + 27 + ], + [ + 165, + 18 + ], + [ + 172, + 12 + ], + [ + 182, + 19 + ], + [ + 199, + 16 + ], + [ + 214, + 15 + ], + [ + 216, + 14 + ], + [ + 218, + 17 + ], + [ + 220, + 23 + ], + [ + 223, + 19 + ] + ], + "doc": " Public: Grammar that tokenizes lines of text.\n\nThis class should not be instantiated directly but instead obtained from\na {GrammarRegistry} by calling {GrammarRegistry::loadGrammar}. ", + "range": [ + [ + 19, + 0 + ], + [ + 235, + 10 + ] + ] + } + }, + "22": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + "options" + ], + "range": [ + [ + 22, + 15 + ], + [ + 51, + 1 + ] + ], + "doc": "~Private~" + } + }, + "51": { + "17": { + "name": "tokenizeLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 51, + 17 + ], + [ + 73, + 1 + ] + ], + "doc": " Public: Tokenize all lines in the given text.\n\ntext - A {String} containing one or more lines.\n\nReturns an {Array} of token arrays for each line tokenized. " + } + }, + "73": { + "16": { + "name": "tokenizeLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line", + "ruleStack", + "firstLine" + ], + "range": [ + [ + 73, + 16 + ], + [ + 141, + 1 + ] + ], + "doc": " Public: Tokenize the line of text.\n\nline - A {String} of text to tokenize.\nruleStack - An optional {Array} of rules previously returned from this\n method. This should be null when tokenizing the first line in\n the file.\nfirstLine - A {Boolean} denoting whether this is the first line in the file\n which defaults to `false`. This should be `true` when\n tokenizing the first line in the file.\n\nReturns an {Object} containing `tokens` and `ruleStack` properties:\n :token - An {Array} of tokens covering the entire line of text.\n :ruleStack - An {Array} of rules representing the tokenized state at the\n end of the line. These should be passed back into this method\n when tokenizing the next line in the file. " + } + }, + "141": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 12 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "14": { + "name": "deactivate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 144, + 14 + ], + [ + 147, + 1 + ] + ], + "doc": "~Private~" + } + }, + "147": { + "14": { + "name": "clearRules", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 147, + 14 + ], + [ + 151, + 1 + ] + ], + "doc": "~Private~" + } + }, + "151": { + "18": { + "name": "getInitialRule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 151, + 18 + ], + [ + 154, + 1 + ] + ], + "doc": "~Private~" + } + }, + "154": { + "17": { + "name": "getRepository", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 17 + ], + [ + 162, + 1 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "27": { + "name": "addIncludedGrammarScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scope" + ], + "range": [ + [ + 162, + 27 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "18": { + "name": "grammarUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeName" + ], + "range": [ + [ + 165, + 18 + ], + [ + 172, + 1 + ] + ], + "doc": "~Private~" + } + }, + "172": { + "12": { + "name": "getScore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "contents" + ], + "range": [ + [ + 172, + 12 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "19": { + "name": "matchesContents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "contents" + ], + "range": [ + [ + 182, + 19 + ], + [ + 199, + 1 + ] + ], + "doc": "~Private~" + } + }, + "199": { + "16": { + "name": "getPathScore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 199, + 16 + ], + [ + 214, + 1 + ] + ], + "doc": "~Private~" + } + }, + "214": { + "15": { + "name": "createToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "scopes" + ], + "range": [ + [ + 214, + 15 + ], + [ + 214, + 69 + ] + ], + "doc": "~Private~" + } + }, + "216": { + "14": { + "name": "createRule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 216, + 14 + ], + [ + 216, + 60 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "17": { + "name": "createPattern", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 218, + 17 + ], + [ + 218, + 66 + ] + ], + "doc": "~Private~" + } + }, + "220": { + "23": { + "name": "getMaxTokensPerLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 220, + 23 + ], + [ + 223, + 1 + ] + ], + "doc": "~Private~" + } + }, + "223": { + "19": { + "name": "scopesFromStack", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stack", + "rule", + "endPatternMatch" + ], + "range": [ + [ + 223, + 19 + ], + [ + 235, + 10 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 19 + }, + "src/directory.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 22 + ] + ], + "bindingType": "variable", + "module": "async" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "6": { + "7": { + "name": "File", + "type": "import", + "range": [ + [ + 6, + 7 + ], + [ + 6, + 22 + ] + ], + "bindingType": "variable", + "path": "./file" + } + }, + "7": { + "14": { + "name": "PathWatcher", + "type": "import", + "range": [ + [ + 7, + 14 + ], + [ + 7, + 29 + ] + ], + "bindingType": "variable", + "path": "./main" + } + }, + "11": { + "0": { + "type": "class", + "name": "Directory", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 14, + 12 + ], + [ + 20, + 15 + ], + [ + 39, + 15 + ], + [ + 46, + 11 + ], + [ + 49, + 10 + ], + [ + 52, + 15 + ], + [ + 58, + 11 + ], + [ + 66, + 19 + ], + [ + 70, + 13 + ], + [ + 75, + 10 + ], + [ + 82, + 19 + ], + [ + 95, + 12 + ], + [ + 119, + 14 + ], + [ + 154, + 18 + ], + [ + 174, + 14 + ], + [ + 198, + 33 + ], + [ + 202, + 37 + ], + [ + 208, + 18 + ] + ], + "doc": "Public: Represents a directory on disk that can be watched for changes. ", + "range": [ + [ + 11, + 0 + ], + [ + 209, + 73 + ] + ] + } + }, + "14": { + "12": { + "name": "realPath", + "type": "primitive", + "range": [ + [ + 14, + 12 + ], + [ + 14, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "20": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "directoryPath", + null + ], + "range": [ + [ + 20, + 15 + ], + [ + 39, + 1 + ] + ], + "doc": " Public: Configures a new Directory instance, no files are accessed.\n\ndirectoryPath - A {String} containing the absolute path to the directory.\nsymlink - A {Boolean} indicating if the path is a symlink (default: false). " + } + }, + "39": { + "15": { + "name": "getBaseName", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 39, + 15 + ], + [ + 46, + 1 + ] + ], + "doc": "Public: Returns the {String} basename of the directory. " + } + }, + "46": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 46, + 11 + ], + [ + 46, + 18 + ] + ], + "doc": " Public: Returns the directory's symbolic path.\n\nThis may include unfollowed symlinks or relative directory entries. Or it\nmay be fully resolved, it depends on what you give it. " + } + }, + "49": { + "10": { + "name": "isFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 10 + ], + [ + 49, + 17 + ] + ], + "doc": "Public: Distinguishes Files from Directories during traversal. " + } + }, + "52": { + "15": { + "name": "isDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 15 + ], + [ + 52, + 21 + ] + ], + "doc": "Public: Distinguishes Files from Directories during traversal. " + } + }, + "58": { + "11": { + "name": "getFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filename" + ], + "range": [ + [ + 58, + 11 + ], + [ + 66, + 1 + ] + ], + "doc": " Public: Traverse within this Directory to a child File. This method doesn't\nactually check to see if the File exists, it just creates the File object.\n\nfilename - The name of a File within this Directory. " + } + }, + "66": { + "19": { + "name": "getSubdirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "dirname" + ], + "range": [ + [ + 66, + 19 + ], + [ + 70, + 1 + ] + ], + "doc": " Public: Traverse within this a Directory to a child Directory. This method\ndoesn't actually check to see if the Directory exists, it just creates the\nDirectory object.\n\ndirname - The name of the child Directory. " + } + }, + "70": { + "13": { + "name": "getParent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 70, + 13 + ], + [ + 75, + 1 + ] + ], + "doc": "Public: Traverse to the parent Directory. " + } + }, + "75": { + "10": { + "name": "isRoot", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 75, + 10 + ], + [ + 82, + 1 + ] + ], + "doc": " Public: Return true if this {Directory} is the root directory of the\nfilesystem, or false if it isn't. " + } + }, + "82": { + "19": { + "name": "getRealPathSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 19 + ], + [ + 95, + 1 + ] + ], + "doc": " Public: Returns this directory's completely resolved path.\n\nAll relative directory entries are removed and symlinks are resolved to\ntheir final destination. " + } + }, + "95": { + "12": { + "name": "contains", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToCheck" + ], + "range": [ + [ + 95, + 12 + ], + [ + 119, + 1 + ] + ], + "doc": " Public: Returns whether the given path (real or symbolic) is inside this\ndirectory. This method does not actually check if the path exists, it just\nchecks if the path is under this directory. " + } + }, + "119": { + "14": { + "name": "relativize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fullPath" + ], + "range": [ + [ + 119, + 14 + ], + [ + 154, + 1 + ] + ], + "doc": "Public: Returns the relative path to the given path from this directory. " + } + }, + "154": { + "18": { + "name": "getEntriesSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 18 + ], + [ + 174, + 1 + ] + ], + "doc": " Public: Reads file entries in this directory from disk synchronously.\n\nReturns an {Array} of {File} and {Directory} objects. " + } + }, + "174": { + "14": { + "name": "getEntries", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 174, + 14 + ], + [ + 198, + 1 + ] + ], + "doc": " Public: Reads file entries in this directory from disk asynchronously.\n\ncallback - A {Function} to call with an {Error} as the 1st argument and\n an {Array} of {File} and {Directory} objects as the 2nd argument. " + } + }, + "198": { + "33": { + "name": "subscribeToNativeChangeEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 198, + 33 + ], + [ + 202, + 1 + ] + ], + "doc": "~Private~" + } + }, + "202": { + "37": { + "name": "unsubscribeFromNativeChangeEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 202, + 37 + ], + [ + 208, + 1 + ] + ], + "doc": "~Private~" + } + }, + "208": { + "18": { + "name": "isPathPrefixOf", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "prefix", + "fullPath" + ], + "range": [ + [ + 208, + 18 + ], + [ + 209, + 73 + ] + ], + "doc": "Private: Does given full path start with the given prefix? " + } + } + }, + "exports": 11 + }, + "src/file.coffee": { + "objects": { + "0": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 0, + 9 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus" + } + }, + "6": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 6, + 4 + ], + [ + 6, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "7": { + "8": { + "name": "runas", + "type": "import", + "range": [ + [ + 7, + 8 + ], + [ + 7, + 22 + ] + ], + "bindingType": "variable", + "module": "runas" + } + }, + "9": { + "12": { + "type": "primitive", + "range": [ + [ + 9, + 12 + ], + [ + 9, + 15 + ] + ] + } + }, + "10": { + "14": { + "name": "PathWatcher", + "type": "import", + "range": [ + [ + 10, + 14 + ], + [ + 10, + 29 + ] + ], + "bindingType": "variable", + "path": "./main" + } + }, + "15": { + "0": { + "type": "class", + "name": "File", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 18, + 12 + ], + [ + 24, + 15 + ], + [ + 34, + 28 + ], + [ + 49, + 10 + ], + [ + 52, + 15 + ], + [ + 55, + 11 + ], + [ + 59, + 11 + ], + [ + 62, + 13 + ], + [ + 67, + 19 + ], + [ + 76, + 15 + ], + [ + 80, + 9 + ], + [ + 86, + 12 + ], + [ + 101, + 8 + ], + [ + 128, + 10 + ], + [ + 131, + 13 + ], + [ + 135, + 13 + ], + [ + 142, + 40 + ], + [ + 154, + 27 + ], + [ + 167, + 32 + ], + [ + 170, + 22 + ], + [ + 178, + 33 + ], + [ + 182, + 37 + ] + ], + "doc": " Public: Represents an individual file that can be watched, read from, and\nwritten to. ", + "range": [ + [ + 15, + 0 + ], + [ + 185, + 31 + ] + ] + } + }, + "18": { + "12": { + "name": "realPath", + "type": "primitive", + "range": [ + [ + 18, + 12 + ], + [ + 18, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "24": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + null + ], + "range": [ + [ + 24, + 15 + ], + [ + 34, + 1 + ] + ], + "doc": " Public: Creates a new file.\n\nfilePath - A {String} containing the absolute path to the file\nsymlink - A {Boolean} indicating if the path is a symlink (default: false). " + } + }, + "34": { + "28": { + "name": "handleEventSubscriptions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 28 + ], + [ + 49, + 1 + ] + ], + "doc": "Private: Subscribes to file system notifications when necessary. " + } + }, + "49": { + "10": { + "name": "isFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 10 + ], + [ + 49, + 16 + ] + ], + "doc": "Public: Distinguishes Files from Directories during traversal. " + } + }, + "52": { + "15": { + "name": "isDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 15 + ], + [ + 52, + 22 + ] + ], + "doc": "Public: Distinguishes Files from Directories during traversal. " + } + }, + "55": { + "11": { + "name": "setPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 55, + 11 + ], + [ + 59, + 1 + ] + ], + "doc": "Private: Sets the path for the file. " + } + }, + "59": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 11 + ], + [ + 59, + 18 + ] + ], + "doc": "Public: Returns the {String} path for the file. " + } + }, + "62": { + "13": { + "name": "getParent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 62, + 13 + ], + [ + 67, + 1 + ] + ], + "doc": "Public: Return the {Directory} that contains this file. " + } + }, + "67": { + "19": { + "name": "getRealPathSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 19 + ], + [ + 76, + 1 + ] + ], + "doc": "Public: Returns this file's completely resolved path. " + } + }, + "76": { + "15": { + "name": "getBaseName", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 15 + ], + [ + 80, + 1 + ] + ], + "doc": "Public: Return the {String} filename without any directory information. " + } + }, + "80": { + "9": { + "name": "write", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 80, + 9 + ], + [ + 86, + 1 + ] + ], + "doc": "Public: Overwrites the file with the given String. " + } + }, + "86": { + "12": { + "name": "readSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "flushCache" + ], + "range": [ + [ + 86, + 12 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "8": { + "name": "read", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "flushCache" + ], + "range": [ + [ + 101, + 8 + ], + [ + 128, + 1 + ] + ], + "doc": " Public: Reads the contents of the file.\n\nflushCache - A {Boolean} indicating whether to require a direct read or if\n a cached copy is acceptable.\n\nReturns a promise that resovles to a String. " + } + }, + "128": { + "10": { + "name": "exists", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 128, + 10 + ], + [ + 131, + 1 + ] + ], + "doc": "Public: Returns whether the file exists. " + } + }, + "131": { + "13": { + "name": "setDigest", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "contents" + ], + "range": [ + [ + 131, + 13 + ], + [ + 135, + 1 + ] + ], + "doc": "~Private~" + } + }, + "135": { + "13": { + "name": "getDigest", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 135, + 13 + ], + [ + 142, + 1 + ] + ], + "doc": "Public: Get the SHA-1 digest of this file " + } + }, + "142": { + "40": { + "name": "writeFileWithPrivilegeEscalationSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "text" + ], + "range": [ + [ + 142, + 40 + ], + [ + 154, + 1 + ] + ], + "doc": " Private: Writes the text to specified path.\n\nPrivilege escalation would be asked when current user doesn't have\npermission to the path. " + } + }, + "154": { + "27": { + "name": "handleNativeChangeEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventType", + "eventPath" + ], + "range": [ + [ + 154, + 27 + ], + [ + 167, + 1 + ] + ], + "doc": "~Private~" + } + }, + "167": { + "32": { + "name": "detectResurrectionAfterDelay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 167, + 32 + ], + [ + 170, + 1 + ] + ], + "doc": "~Private~" + } + }, + "170": { + "22": { + "name": "detectResurrection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 170, + 22 + ], + [ + 178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "178": { + "33": { + "name": "subscribeToNativeChangeEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 178, + 33 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "37": { + "name": "unsubscribeFromNativeChangeEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 182, + 37 + ], + [ + 185, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 15 + }, + "src/space-pen.coffee": { + "objects": { + "4": { + "3": { + "type": "primitive", + "name": "_", + "range": [ + [ + 4, + 3 + ], + [ + 4, + 3 + ] + ], + "exportsProperty": "_" + }, + "6": { + "type": "primitive", + "name": "jQuery", + "range": [ + [ + 4, + 6 + ], + [ + 4, + 11 + ] + ], + "exportsProperty": "jQuery" + } + }, + "5": { + "6": { + "name": "jQuery", + "type": "primitive", + "range": [ + [ + 5, + 6 + ], + [ + 5, + 11 + ] + ] + } + }, + "8": { + "2": { + "name": "Tags", + "type": "function", + "range": [ + [ + 8, + 2 + ], + [ + 15, + 60 + ] + ] + } + }, + "17": { + "18": { + "type": "primitive", + "range": [ + [ + 17, + 18 + ], + [ + 17, + 19 + ] + ] + } + }, + "22": { + "2": { + "name": "Events", + "type": "function", + "range": [ + [ + 22, + 2 + ], + [ + 24, + 57 + ] + ] + } + }, + "28": { + "8": { + "name": "document", + "type": "primitive", + "range": [ + [ + 28, + 8 + ], + [ + 28, + 15 + ] + ] + } + }, + "32": { + "12": { + "name": "0", + "type": "primitive", + "range": [ + [ + 32, + 12 + ], + [ + 32, + 12 + ] + ] + } + }, + "58": { + "0": { + "type": "class", + "name": "View", + "classProperties": [ + [ + 59, + 17 + ], + [ + 65, + 12 + ], + [ + 69, + 9 + ], + [ + 72, + 8 + ], + [ + 75, + 8 + ], + [ + 77, + 16 + ], + [ + 83, + 15 + ], + [ + 87, + 14 + ], + [ + 92, + 11 + ] + ], + "prototypeProperties": [ + [ + 100, + 15 + ], + [ + 113, + 13 + ], + [ + 120, + 15 + ], + [ + 128, + 21 + ], + [ + 147, + 13 + ], + [ + 153, + 7 + ], + [ + 167, + 11 + ], + [ + 174, + 11 + ] + ], + "doc": " Public: View class that extends the jQuery prototype.\n\nExtending classes must implement a `@content` method.\n\n## Example\n```coffee\nclass Spacecraft extends View\n @content: ->\n @div =>\n @h1 'Spacecraft'\n @ol =>\n @li 'Apollo'\n @li 'Soyuz'\n @li 'Space Shuttle'\n```\n\nEach view instance will have all the methods from the jQuery prototype\navailable on it.\n\n```coffee\n craft = new Spacecraft()\n craft.find('h1').text() # 'Spacecraft'\n craft.appendTo(document.body) # View is now a child of the tag\n``` ", + "range": [ + [ + 58, + 0 + ], + [ + 176, + 0 + ] + ] + } + }, + "59": { + "17": { + "name": "builderStack", + "type": "primitive", + "range": [ + [ + 59, + 17 + ], + [ + 59, + 20 + ] + ], + "bindingType": "classProperty" + } + }, + "65": { + "12": { + "name": "subview", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "name", + "view" + ], + "range": [ + [ + 65, + 12 + ], + [ + 69, + 1 + ] + ], + "doc": "Public: Add the given subview wired to an outlet with the given name " + } + }, + "69": { + "9": { + "name": "text", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 69, + 9 + ], + [ + 69, + 48 + ] + ], + "doc": "Public: Add a text node with the given text content " + } + }, + "72": { + "8": { + "name": "tag", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "tagName", + "args" + ], + "range": [ + [ + 72, + 8 + ], + [ + 72, + 66 + ] + ], + "doc": "Public: Add a new tag with the given name " + } + }, + "75": { + "8": { + "name": "raw", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 75, + 8 + ], + [ + 75, + 46 + ] + ], + "doc": "Public: Add new child DOM nodes from the given raw HTML string. " + } + }, + "77": { + "16": { + "name": "pushBuilder", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 77, + 16 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "15": { + "name": "popBuilder", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 83, + 15 + ], + [ + 87, + 1 + ] + ], + "doc": "~Private~" + } + }, + "87": { + "14": { + "name": "buildHtml", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 87, + 14 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "11": { + "name": "render", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 92, + 11 + ], + [ + 100, + 1 + ] + ], + "doc": "~Private~" + } + }, + "100": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 100, + 15 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "13": { + "name": "buildHtml", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 113, + 13 + ], + [ + 120, + 1 + ] + ], + "doc": "~Private~" + } + }, + "120": { + "15": { + "name": "wireOutlets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 120, + 15 + ], + [ + 128, + 1 + ] + ], + "doc": "~Private~" + } + }, + "128": { + "21": { + "name": "bindEventHandlers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 128, + 21 + ], + [ + 147, + 1 + ] + ], + "doc": "~Private~" + } + }, + "147": { + "13": { + "name": "pushStack", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "elems" + ], + "range": [ + [ + 147, + 13 + ], + [ + 153, + 1 + ] + ], + "doc": " Private: `pushStack` and `end` are jQuery methods that construct new wrappers.\nwe override them here to construct plain wrappers with `jQuery` rather\nthan wrappers that are instances of our view class. " + } + }, + "153": { + "7": { + "name": "end", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 153, + 7 + ], + [ + 167, + 1 + ] + ], + "doc": "~Private~" + } + }, + "167": { + "11": { + "name": "command", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "commandName", + "selector", + "options", + "handler" + ], + "range": [ + [ + 167, + 11 + ], + [ + 174, + 1 + ] + ], + "doc": " Public: Calls the given handler when commandName is triggered on the {View}.\n\nThis is enhanced version of jQuery's `::on` method. It listens for a custom\nDOM event and adds metadata to the DOM to maintain a list of all commands.\n\ncommandName - A namespaced {String} describing the command, such as\n `find-and-replace:toggle`.\nselector - An optional selector {String} to filter the descendants of the\n elements that trigger the event.\noptions - An optional options {Object} with an `data` key.\nhandler - A {Function} to execute when the command is triggered. " + } + }, + "174": { + "11": { + "name": "preempt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventName", + "handler" + ], + "range": [ + [ + 174, + 11 + ], + [ + 176, + 0 + ] + ], + "doc": " Public: Preempt events registered with jQuery's `::on`.\n\neventName - A event name {String}.\nhandler - A {Function} to execute when the eventName is triggered. " + } + }, + "177": { + "0": { + "type": "class", + "name": "Builder", + "classProperties": [], + "prototypeProperties": [ + [ + 178, + 15 + ], + [ + 182, + 13 + ], + [ + 185, + 7 + ], + [ + 198, + 11 + ], + [ + 211, + 12 + ], + [ + 214, + 8 + ], + [ + 224, + 7 + ], + [ + 227, + 11 + ], + [ + 235, + 18 + ] + ], + "doc": "~Private~", + "range": [ + [ + 177, + 0 + ], + [ + 247, + 54 + ] + ] + } + }, + "178": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 178, + 15 + ], + [ + 182, + 1 + ] + ] + } + }, + "182": { + "13": { + "name": "buildHtml", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 182, + 13 + ], + [ + 185, + 1 + ] + ], + "doc": "~Private~" + } + }, + "185": { + "7": { + "name": "tag", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "args" + ], + "range": [ + [ + 185, + 7 + ], + [ + 198, + 1 + ] + ], + "doc": "~Private~" + } + }, + "198": { + "11": { + "name": "openTag", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "attributes" + ], + "range": [ + [ + 198, + 11 + ], + [ + 211, + 1 + ] + ], + "doc": "~Private~" + } + }, + "211": { + "12": { + "name": "closeTag", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 211, + 12 + ], + [ + 214, + 1 + ] + ], + "doc": "~Private~" + } + }, + "214": { + "8": { + "name": "text", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 214, + 8 + ], + [ + 224, + 1 + ] + ], + "doc": "~Private~" + } + }, + "224": { + "7": { + "name": "raw", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 224, + 7 + ], + [ + 227, + 1 + ] + ], + "doc": "~Private~" + } + }, + "227": { + "11": { + "name": "subview", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "outletName", + "subview" + ], + "range": [ + [ + 227, + 11 + ], + [ + 235, + 1 + ] + ], + "doc": "~Private~" + } + }, + "235": { + "18": { + "name": "extractOptions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 235, + 18 + ], + [ + 247, + 54 + ] + ], + "doc": "~Private~" + } + }, + "248": { + "17": { + "name": "callAttachHook", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 248, + 17 + ], + [ + 260, + 0 + ] + ], + "doc": "Private: Trigger attach event when views are added to the DOM " + } + }, + "278": { + "20": { + "name": "jQuery", + "type": "primitive", + "range": [ + [ + 278, + 20 + ], + [ + 278, + 25 + ] + ] + } + }, + "279": { + "19": { + "name": "jQuery.cleanData", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "elements" + ], + "range": [ + [ + 279, + 19 + ], + [ + 286, + 0 + ] + ], + "doc": null + } + }, + "287": { + "12": { + "name": "$.fn.view", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 287, + 12 + ], + [ + 289, + 0 + ] + ], + "doc": null + } + }, + "290": { + "13": { + "name": "$.fn.views", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 290, + 13 + ], + [ + 293, + 0 + ] + ], + "doc": null + } + }, + "294": { + "22": { + "name": "$.fn.containingView", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 294, + 22 + ], + [ + 299, + 0 + ] + ], + "doc": null + } + }, + "300": { + "20": { + "name": "$.fn.scrollBottom", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newValue" + ], + "range": [ + [ + 300, + 20 + ], + [ + 305, + 0 + ] + ], + "doc": null + } + }, + "306": { + "18": { + "name": "$.fn.scrollDown", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 306, + 18 + ], + [ + 308, + 0 + ] + ], + "doc": null + } + }, + "309": { + "16": { + "name": "$.fn.scrollUp", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 309, + 16 + ], + [ + 311, + 0 + ] + ], + "doc": null + } + }, + "312": { + "19": { + "name": "$.fn.scrollToTop", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 312, + 19 + ], + [ + 314, + 0 + ] + ], + "doc": null + } + }, + "315": { + "22": { + "name": "$.fn.scrollToBottom", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 22 + ], + [ + 317, + 0 + ] + ], + "doc": null + } + }, + "318": { + "19": { + "name": "$.fn.scrollRight", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newValue" + ], + "range": [ + [ + 318, + 19 + ], + [ + 323, + 0 + ] + ], + "doc": null + } + }, + "324": { + "14": { + "name": "$.fn.pageUp", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 324, + 14 + ], + [ + 326, + 0 + ] + ], + "doc": null + } + }, + "327": { + "16": { + "name": "$.fn.pageDown", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 327, + 16 + ], + [ + 329, + 0 + ] + ], + "doc": null + } + }, + "330": { + "15": { + "name": "$.fn.isOnDom", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 330, + 15 + ], + [ + 332, + 0 + ] + ], + "doc": null + } + }, + "333": { + "17": { + "name": "$.fn.isVisible", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 333, + 17 + ], + [ + 335, + 0 + ] + ], + "doc": null + } + }, + "336": { + "16": { + "name": "$.fn.isHidden", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 336, + 16 + ], + [ + 347, + 0 + ] + ], + "doc": null + } + }, + "348": { + "18": { + "name": "$.fn.isDisabled", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 348, + 18 + ], + [ + 350, + 0 + ] + ], + "doc": null + } + }, + "351": { + "14": { + "name": "$.fn.enable", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 351, + 14 + ], + [ + 353, + 0 + ] + ], + "doc": null + } + }, + "354": { + "15": { + "name": "$.fn.disable", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 354, + 15 + ], + [ + 356, + 0 + ] + ], + "doc": null + } + }, + "357": { + "16": { + "name": "$.fn.insertAt", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "index", + "element" + ], + "range": [ + [ + 357, + 16 + ], + [ + 363, + 0 + ] + ], + "doc": null + } + }, + "364": { + "16": { + "name": "$.fn.removeAt", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 364, + 16 + ], + [ + 366, + 0 + ] + ], + "doc": null + } + }, + "367": { + "15": { + "name": "$.fn.indexOf", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 367, + 15 + ], + [ + 369, + 0 + ] + ], + "doc": null + } + }, + "370": { + "23": { + "name": "$.fn.containsElement", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 370, + 23 + ], + [ + 372, + 0 + ] + ], + "doc": null + } + }, + "373": { + "15": { + "name": "$.fn.preempt", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "eventName", + "handler" + ], + "range": [ + [ + 373, + 15 + ], + [ + 387, + 57 + ] + ], + "doc": null + } + }, + "388": { + "16": { + "name": "$.fn.handlers", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "eventName" + ], + "range": [ + [ + 388, + 16 + ], + [ + 392, + 0 + ] + ], + "doc": null + } + }, + "393": { + "17": { + "name": "$.fn.hasParent", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 393, + 17 + ], + [ + 395, + 0 + ] + ], + "doc": null + } + }, + "396": { + "16": { + "name": "$.fn.hasFocus", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 396, + 16 + ], + [ + 398, + 0 + ] + ], + "doc": null + } + }, + "399": { + "18": { + "name": "$.fn.flashError", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 399, + 18 + ], + [ + 403, + 0 + ] + ], + "doc": null + } + }, + "404": { + "18": { + "name": "$.fn.trueHeight", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 404, + 18 + ], + [ + 406, + 0 + ] + ], + "doc": null + } + }, + "407": { + "17": { + "name": "$.fn.trueWidth", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 407, + 17 + ], + [ + 409, + 0 + ] + ], + "doc": null + } + }, + "410": { + "16": { + "name": "$.fn.document", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "eventName", + "docString" + ], + "range": [ + [ + 410, + 16 + ], + [ + 415, + 0 + ] + ], + "doc": null + } + }, + "416": { + "14": { + "name": "$.fn.events", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 416, + 14 + ], + [ + 427, + 0 + ] + ], + "doc": null + } + }, + "428": { + "15": { + "name": "$.fn.command", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "eventName", + "selector", + "options", + "handler" + ], + "range": [ + [ + 428, + 15 + ], + [ + 442, + 0 + ] + ], + "doc": null + } + }, + "443": { + "16": { + "name": "$.fn.iconSize", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "size" + ], + "range": [ + [ + 443, + 16 + ], + [ + 445, + 0 + ] + ], + "doc": null + } + }, + "446": { + "16": { + "name": "$.fn.intValue", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 446, + 16 + ], + [ + 448, + 0 + ] + ], + "doc": null + } + }, + "449": { + "36": { + "name": "$.Event.prototype.abortKeyBinding", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 449, + 36 + ], + [ + 449, + 37 + ] + ], + "doc": null + } + }, + "450": { + "38": { + "name": "$.Event.prototype.currentTargetView", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 450, + 38 + ], + [ + 450, + 74 + ] + ], + "doc": null + } + }, + "451": { + "31": { + "name": "$.Event.prototype.targetView", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 451, + 31 + ], + [ + 451, + 60 + ] + ], + "doc": null + } + }, + "459": { + "0": { + "name": "$$", + "bindingType": "exportsProperty", + "type": "function", + "range": [ + [ + 459, + 0 + ], + [ + 459, + 6 + ] + ] + } + }, + "460": { + "0": { + "name": "$$$", + "bindingType": "exportsProperty", + "type": "function", + "range": [ + [ + 460, + 0 + ], + [ + 460, + 6 + ] + ] + } + } + }, + "exports": { + "_default": { + "operator": "?", + "first": { + "base": { + "value": "exports", + "locationData": { + "first_line": 455, + "first_column": 10, + "last_line": 455, + "last_column": 16 + } + }, + "properties": [], + "locationData": { + "first_line": 455, + "first_column": 10, + "last_line": 455, + "last_column": 16 + } + }, + "second": { + "base": { + "value": "this", + "locationData": { + "first_line": 455, + "first_column": 20, + "last_line": 455, + "last_column": 23 + } + }, + "properties": [], + "locationData": { + "first_line": 455, + "first_column": 20, + "last_line": 455, + "last_column": 23 + } + }, + "flip": false, + "locationData": { + "first_line": 455, + "first_column": 10, + "last_line": 455, + "last_column": 23 + } + }, + "View": { + "startLineNumber": 456 + }, + "jQuery": { + "startLineNumber": 457 + }, + "$": { + "startLineNumber": 458 + }, + "$$": { + "startLineNumber": 459 + }, + "$$$": { + "startLineNumber": 460 + } + } + }, + "src/marker.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 6 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "extend", + "exportsProperty": "extend" + }, + "9": { + "type": "import", + "range": [ + [ + 0, + 9 + ], + [ + 0, + 15 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "isEqual", + "exportsProperty": "isEqual" + }, + "18": { + "type": "import", + "range": [ + [ + 0, + 18 + ], + [ + 0, + 21 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "omit", + "exportsProperty": "omit" + }, + "24": { + "type": "import", + "range": [ + [ + 0, + 24 + ], + [ + 0, + 27 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "pick", + "exportsProperty": "pick" + }, + "30": { + "type": "import", + "range": [ + [ + 0, + 30 + ], + [ + 0, + 33 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x", + "name": "size", + "exportsProperty": "size" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "2": { + "7": { + "name": "Grim", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "grim" + } + }, + "3": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 3, + 12 + ], + [ + 3, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@1.x" + } + }, + "4": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 4, + 15 + ], + [ + 4, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "5": { + "14": { + "name": "MarkerPatch", + "type": "import", + "range": [ + [ + 5, + 14 + ], + [ + 5, + 37 + ] + ], + "bindingType": "variable", + "path": "./marker-patch" + } + }, + "6": { + "8": { + "name": "Point", + "type": "import", + "range": [ + [ + 6, + 8 + ], + [ + 6, + 24 + ] + ], + "bindingType": "variable", + "path": "./point" + } + }, + "7": { + "8": { + "name": "Range", + "type": "import", + "range": [ + [ + 7, + 8 + ], + [ + 7, + 24 + ] + ], + "bindingType": "variable", + "path": "./range" + } + }, + "9": { + "13": { + "type": "primitive", + "range": [ + [ + 9, + 13 + ], + [ + 9, + 62 + ] + ] + } + }, + "59": { + "0": { + "type": "class", + "name": "Marker", + "bindingType": "exports", + "classProperties": [ + [ + 64, + 18 + ], + [ + 73, + 27 + ] + ], + "prototypeProperties": [ + [ + 97, + 15 + ], + [ + 111, + 19 + ], + [ + 116, + 21 + ], + [ + 121, + 12 + ], + [ + 130, + 12 + ], + [ + 137, + 19 + ], + [ + 148, + 19 + ], + [ + 173, + 19 + ], + [ + 188, + 19 + ], + [ + 210, + 20 + ], + [ + 218, + 18 + ], + [ + 229, + 13 + ], + [ + 241, + 13 + ], + [ + 249, + 14 + ], + [ + 253, + 11 + ], + [ + 259, + 11 + ], + [ + 265, + 15 + ], + [ + 270, + 11 + ], + [ + 278, + 27 + ], + [ + 282, + 17 + ], + [ + 287, + 17 + ], + [ + 293, + 17 + ], + [ + 298, + 17 + ], + [ + 303, + 8 + ], + [ + 308, + 11 + ], + [ + 314, + 17 + ], + [ + 320, + 11 + ], + [ + 324, + 21 + ], + [ + 329, + 17 + ], + [ + 336, + 16 + ], + [ + 357, + 12 + ], + [ + 362, + 10 + ], + [ + 372, + 22 + ], + [ + 419, + 14 + ], + [ + 430, + 14 + ], + [ + 477, + 19 + ] + ], + "doc": " Public: Reprents a buffer annotation that remains logically stationary even\nas the buffer changes. This is used to represent cursors, folds, snippet\ntargets, misspelled words, and anything else that needs to track a logical\nlocation in the buffer over time.\n\nHead and Tail:\nMarkers always have a *head* and sometimes have a *tail*. If you think of a\nmarker as an editor selection, the tail is the part that's stationary and the\nhead is the part that moves when the mouse is moved. A marker without a tail\nalways reports an empty range at the head position. A marker with a head position\ngreater than the tail is in a \"normal\" orientation. If the head precedes the\ntail the marker is in a \"reversed\" orientation.\n\nValidity:\nMarkers are considered *valid* when they are first created. Depending on the\ninvalidation strategy you choose, certain changes to the buffer can cause a\nmarker to become invalid, for example if the text surrounding the marker is\ndeleted. See {TextBuffer::markRange} for invalidation strategies.\n\nChange events:\nWhen markers change in position for any reason, the emit a 'changed' event with\nthe following properties:\n\n* oldHeadPosition:\n A {Point} representing the former head position\n* newHeadPosition:\n A {Point} representing the new head position\n* oldTailPosition:\n A {Point} representing the former tail position\n* newTailPosition:\n A {Point} representing the new tail position\n* wasValid:\n A {Boolean} indicating whether the marker was valid before the change\n* isValid:\n A {Boolean} indicating whether the marker is now valid\n* hadTail:\n A {Boolean} indicating whether the marker had a tail before the change\n* hasTail:\n A {Boolean} indicating whether the marker now has a tail\n* oldProperties:\n An {Object} containing the marker's custom properties before the change.\n* newProperties:\n An {Object} containing the marker's custom properties after the change.\n* textChanged:\n A {Boolean} indicating whether this change was caused by a textual change\n to the buffer or whether the marker was manipulated directly via its public\n API. ", + "range": [ + [ + 59, + 0 + ], + [ + 478, + 60 + ] + ] + } + }, + "64": { + "18": { + "name": "extractParams", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "inputParams" + ], + "range": [ + [ + 64, + 18 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "27": { + "name": "handleDeprecatedParams", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 73, + 27 + ], + [ + 94, + 1 + ] + ], + "doc": "~Private~" + } + }, + "97": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 97, + 15 + ], + [ + 111, + 1 + ] + ], + "doc": "~Private~" + } + }, + "111": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 111, + 19 + ], + [ + 116, + 1 + ] + ], + "doc": "Private: Used by {Serializable} during serialization. " + } + }, + "116": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 116, + 21 + ], + [ + 121, + 1 + ] + ], + "doc": "Private: Used by {Serializable} during deserialization. " + } + }, + "121": { + "12": { + "name": "getRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 121, + 12 + ], + [ + 130, + 1 + ] + ], + "doc": "Public: Returns the current {Range} of the marker. The range is immutable. " + } + }, + "130": { + "12": { + "name": "setRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range", + "properties" + ], + "range": [ + [ + 130, + 12 + ], + [ + 137, + 1 + ] + ], + "doc": " Public: Sets the range of the marker.\n\nrange - A {Range} or range-compatible {Array}. The range will be clipped\n before it is assigned.\nproperties - An optional hash of properties to associate with the marker.\n :reversed - If true, the marker will to be in a reversed orientation. " + } + }, + "137": { + "19": { + "name": "getHeadPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 19 + ], + [ + 148, + 1 + ] + ], + "doc": "Public: Returns a {Point} representing the marker's current head position. " + } + }, + "148": { + "19": { + "name": "setHeadPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "properties" + ], + "range": [ + [ + 148, + 19 + ], + [ + 173, + 1 + ] + ], + "doc": " Public: Sets the head position of the marker.\n\nposition - A {Point} or point-compatible {Array}. The position will be\n clipped before it is assigned.\nproperties - An optional hash of properties to associate with the marker. " + } + }, + "173": { + "19": { + "name": "getTailPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 173, + 19 + ], + [ + 188, + 1 + ] + ], + "doc": " Public: Returns a {Point} representing the marker's current tail position.\nIf the marker has no tail, the head position will be returned instead. " + } + }, + "188": { + "19": { + "name": "setTailPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "properties" + ], + "range": [ + [ + 188, + 19 + ], + [ + 210, + 1 + ] + ], + "doc": " Public: Sets the head position of the marker. If the marker doesn't have a\ntail, it will after calling this method.\n\nposition - A {Point} or point-compatible {Array}. The position will be\n clipped before it is assigned.\nproperties - An optional hash of properties to associate with the marker. " + } + }, + "210": { + "20": { + "name": "getStartPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 20 + ], + [ + 218, + 1 + ] + ], + "doc": " Public: Returns a {Point} representing the start position of the marker,\nwhich could be the head or tail position, depending on its orientation. " + } + }, + "218": { + "18": { + "name": "getEndPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 218, + 18 + ], + [ + 229, + 1 + ] + ], + "doc": " Public: Returns a {Point} representing the end position of the marker,\nwhich could be the head or tail position, depending on its orientation. " + } + }, + "229": { + "13": { + "name": "clearTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "properties" + ], + "range": [ + [ + 229, + 13 + ], + [ + 241, + 1 + ] + ], + "doc": " Public: Removes the marker's tail. After calling the marker's head position\nwill be reported as its current tail position until the tail is planted\nagain.\n\nproperties - An optional hash of properties to associate with the marker. " + } + }, + "241": { + "13": { + "name": "plantTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "properties" + ], + "range": [ + [ + 241, + 13 + ], + [ + 249, + 1 + ] + ], + "doc": " Public: Plants the marker's tail at the current head position. After calling\nthe marker's tail position will be its head position at the time of the\ncall, regardless of where the marker's head is moved.\n\nproperties - An optional hash of properties to associate with the marker. " + } + }, + "249": { + "14": { + "name": "isReversed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 249, + 14 + ], + [ + 253, + 1 + ] + ], + "doc": "Public: Returns a {Boolean} indicating whether the head precedes the tail. " + } + }, + "253": { + "11": { + "name": "hasTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 253, + 11 + ], + [ + 259, + 1 + ] + ], + "doc": "Public: Returns a {Boolean} indicating whether the marker has a tail. " + } + }, + "259": { + "11": { + "name": "isValid", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 259, + 11 + ], + [ + 265, + 1 + ] + ], + "doc": " Public: Is the marker valid?\n\nReturns a {Boolean}. " + } + }, + "265": { + "15": { + "name": "isDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 265, + 15 + ], + [ + 270, + 1 + ] + ], + "doc": " Public: Is the marker destroyed?\n\nReturns a {Boolean}. " + } + }, + "270": { + "11": { + "name": "isEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 270, + 11 + ], + [ + 278, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this marker is equivalent to\nanother marker, meaning they have the same range and options. " + } + }, + "278": { + "27": { + "name": "getInvalidationStrategy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 278, + 27 + ], + [ + 282, + 1 + ] + ], + "doc": " Public: Get the invalidation strategy for this marker.\n\nValid values include: `never`, `surround`, `overlap`, `inside`, and `touch`.\n\nReturns a {String}. " + } + }, + "282": { + "17": { + "name": "getAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 282, + 17 + ], + [ + 287, + 1 + ] + ], + "doc": "Deprecated: Use ::getProperties instead " + } + }, + "287": { + "17": { + "name": "setAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 287, + 17 + ], + [ + 293, + 1 + ] + ], + "doc": "Deprecated: Use ::setProperties instead " + } + }, + "293": { + "17": { + "name": "getProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 293, + 17 + ], + [ + 298, + 1 + ] + ], + "doc": " Public: Returns an {Object} containing any custom properties associated with\nthe marker. " + } + }, + "298": { + "17": { + "name": "setProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "properties" + ], + "range": [ + [ + 298, + 17 + ], + [ + 303, + 1 + ] + ], + "doc": " Public: Merges an {Object} containing new properties into the marker's\nexisting properties. " + } + }, + "303": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 303, + 8 + ], + [ + 308, + 1 + ] + ], + "doc": " Public: Creates and returns a new {Marker} with the same properties as this\nmarker. " + } + }, + "308": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 308, + 11 + ], + [ + 314, + 1 + ] + ], + "doc": " Public: Destroys the marker, causing it to emit the 'destroyed' event. Once\ndestroyed, a marker cannot be restored by undo/redo operations. " + } + }, + "314": { + "17": { + "name": "extractParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 314, + 17 + ], + [ + 320, + 1 + ] + ], + "doc": "~Private~" + } + }, + "320": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 320, + 11 + ], + [ + 324, + 1 + ] + ], + "doc": "Public: Compares this marker to another based on their ranges. " + } + }, + "324": { + "21": { + "name": "matchesAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 324, + 21 + ], + [ + 329, + 1 + ] + ], + "doc": "Deprecated: Use ::matchesParams instead " + } + }, + "329": { + "17": { + "name": "matchesParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 329, + 17 + ], + [ + 336, + 1 + ] + ], + "doc": " Private: Returns whether this marker matches the given parameters. The parameters\nare the same as {MarkerManager::findMarkers}. " + } + }, + "336": { + "16": { + "name": "matchesParam", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "key", + "value" + ], + "range": [ + [ + 336, + 16 + ], + [ + 357, + 1 + ] + ], + "doc": " Private: Returns whether this marker matches the given parameter name and value.\nThe parameters are the same as {MarkerManager::findMarkers}. " + } + }, + "357": { + "12": { + "name": "toParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "omitId" + ], + "range": [ + [ + 357, + 12 + ], + [ + 362, + 1 + ] + ], + "doc": "~Private~" + } + }, + "362": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 362, + 10 + ], + [ + 372, + 1 + ] + ], + "doc": "~Private~" + } + }, + "372": { + "22": { + "name": "handleBufferChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "patch" + ], + "range": [ + [ + 372, + 22 + ], + [ + 419, + 1 + ] + ], + "doc": " Private: Adjusts the marker's start and end positions and possibly its validity\nbased on the given {BufferPatch}. " + } + }, + "419": { + "14": { + "name": "buildPatch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "newParams" + ], + "range": [ + [ + 419, + 14 + ], + [ + 430, + 1 + ] + ], + "doc": "~Private~" + } + }, + "430": { + "14": { + "name": "applyPatch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "patch", + "textChanged" + ], + "range": [ + [ + 430, + 14 + ], + [ + 477, + 1 + ] + ], + "doc": "~Private~" + } + }, + "477": { + "19": { + "name": "updateIntervals", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 477, + 19 + ], + [ + 478, + 60 + ] + ], + "doc": " Private: Updates the interval index on the marker manager with the marker's current\nrange. " + } + } + }, + "exports": 59 + }, + "src/point.coffee": { + "objects": { + "11": { + "0": { + "type": "class", + "name": "Point", + "bindingType": "exports", + "classProperties": [ + [ + 24, + 15 + ], + [ + 36, + 8 + ] + ], + "prototypeProperties": [ + [ + 44, + 15 + ], + [ + 47, + 8 + ], + [ + 51, + 10 + ], + [ + 56, + 13 + ], + [ + 60, + 7 + ], + [ + 70, + 11 + ], + [ + 86, + 11 + ], + [ + 101, + 11 + ], + [ + 108, + 14 + ], + [ + 113, + 21 + ], + [ + 118, + 17 + ], + [ + 123, + 24 + ], + [ + 127, + 11 + ], + [ + 131, + 13 + ], + [ + 135, + 12 + ] + ], + "doc": " Public: Represents a point in a buffer in row/column coordinates.\n\nEvery public method that takes a point also accepts a *point-compatible*\n{Array}. This means a 2-element array containing {Number}s representing the\nrow and column. So the following are equivalent:\n\n```coffee\nnew Point(1, 2)\n[1, 2]\n``` ", + "range": [ + [ + 11, + 0 + ], + [ + 136, + 27 + ] + ] + } + }, + "24": { + "15": { + "name": "fromObject", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "object", + "copy" + ], + "range": [ + [ + 24, + 15 + ], + [ + 36, + 1 + ] + ], + "doc": " Public: Convert any point-compatible object to a {Point}.\n\n* object:\n This can be an object that's already a {Point}, in which case it's\n simply returned, or an array containing two {Number}s representing the\n row and column.\n\n* copy:\n An optional boolean indicating whether to force the copying of objects\n that are already points.\n\nReturns: A {Point} based on the given object. " + } + }, + "36": { + "8": { + "name": "min", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "point1", + "point2" + ], + "range": [ + [ + 36, + 8 + ], + [ + 44, + 1 + ] + ], + "doc": "Public: Returns the given point that is earlier in the buffer. " + } + }, + "44": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 44, + 15 + ], + [ + 44, + 36 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 47, + 8 + ], + [ + 51, + 1 + ] + ], + "doc": "Public: Returns a new {Point} with the same row and column. " + } + }, + "51": { + "10": { + "name": "freeze", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 51, + 10 + ], + [ + 56, + 1 + ] + ], + "doc": "Public: Makes this point immutable and returns itself. " + } + }, + "56": { + "13": { + "name": "translate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "delta" + ], + "range": [ + [ + 56, + 13 + ], + [ + 60, + 1 + ] + ], + "doc": " Public: Return a new {Point} based on shifting this point by the given delta,\nwhich is represented by another {Point}. " + } + }, + "60": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 60, + 7 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "11": { + "name": "splitAt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "column" + ], + "range": [ + [ + 70, + 11 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 86, + 11 + ], + [ + 101, + 1 + ] + ], + "doc": " Public:\n\n* other: A {Point} or point-compatible {Array}.\n\nReturns:\n * -1 if this point precedes the argument.\n * 0 if this point is equivalent to the argument.\n * 1 if this point follows the argument. " + } + }, + "101": { + "11": { + "name": "isEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 101, + 11 + ], + [ + 108, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this point has the same row\nand column as the given {Point} or point-compatible {Array}. " + } + }, + "108": { + "14": { + "name": "isLessThan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 108, + 14 + ], + [ + 113, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this point precedes the given\n{Point} or point-compatible {Array}. " + } + }, + "113": { + "21": { + "name": "isLessThanOrEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 113, + 21 + ], + [ + 118, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this point precedes or is\nequal to the given {Point} or point-compatible {Array}. " + } + }, + "118": { + "17": { + "name": "isGreaterThan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 118, + 17 + ], + [ + 123, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this point follows the given\n{Point} or point-compatible {Array}. " + } + }, + "123": { + "24": { + "name": "isGreaterThanOrEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 123, + 24 + ], + [ + 127, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this point follows or is\nequal to the given {Point} or point-compatible {Array}. " + } + }, + "127": { + "11": { + "name": "toArray", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 127, + 11 + ], + [ + 131, + 1 + ] + ], + "doc": "Public: Returns an array of this point's row and column. " + } + }, + "131": { + "13": { + "name": "serialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 131, + 13 + ], + [ + 135, + 1 + ] + ], + "doc": "Public: Returns an array of this point's row and column. " + } + }, + "135": { + "12": { + "name": "toString", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 135, + 12 + ], + [ + 136, + 27 + ] + ], + "doc": "Public: Returns a string representation of the point. " + } + } + }, + "exports": 11 + }, + "src/range.coffee": { + "objects": { + "0": { + "7": { + "name": "Grim", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "grim" + } + }, + "1": { + "8": { + "name": "Point", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 24 + ] + ], + "bindingType": "variable", + "path": "./point" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 12 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "newlineRegex", + "exportsProperty": "newlineRegex" + } + }, + "16": { + "0": { + "type": "class", + "name": "Range", + "bindingType": "exports", + "classProperties": [ + [ + 18, + 16 + ], + [ + 32, + 15 + ], + [ + 50, + 13 + ], + [ + 79, + 23 + ] + ], + "prototypeProperties": [ + [ + 84, + 15 + ], + [ + 96, + 13 + ], + [ + 100, + 8 + ], + [ + 105, + 10 + ], + [ + 112, + 11 + ], + [ + 125, + 11 + ], + [ + 134, + 16 + ], + [ + 139, + 18 + ], + [ + 142, + 7 + ], + [ + 145, + 13 + ], + [ + 149, + 18 + ], + [ + 162, + 17 + ], + [ + 173, + 17 + ], + [ + 187, + 17 + ], + [ + 192, + 22 + ], + [ + 197, + 9 + ], + [ + 205, + 11 + ], + [ + 208, + 11 + ], + [ + 219, + 15 + ], + [ + 223, + 11 + ], + [ + 227, + 12 + ] + ], + "doc": " Public: Represents a region in a buffer in row/column coordinates.\n\nEvery public method that takes a range also accepts a *range-compatible*\n{Array}. This means a 2-element array containing {Point}s or point-compatible\narrays. So the following are equivalent:\n\n```coffee\nnew Range(new Point(0, 1), new Point(2, 3))\nnew Range([0, 1], [2, 3])\n[[0, 1], [2, 3]]\n``` ", + "range": [ + [ + 16, + 0 + ], + [ + 228, + 27 + ] + ] + } + }, + "18": { + "16": { + "name": "deserialize", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "array" + ], + "range": [ + [ + 18, + 16 + ], + [ + 32, + 1 + ] + ], + "doc": "Public: Call this with the result of {Range::serialize} to construct a new Range. " + } + }, + "32": { + "15": { + "name": "fromObject", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "object", + "copy" + ], + "range": [ + [ + 32, + 15 + ], + [ + 50, + 1 + ] + ], + "doc": " Public: Convert any range-compatible object to a {Range}.\n\n* object:\n This can be an object that's already a {Range}, in which case it's\n simply returned, or an array containing two {Point}s or point-compatible\n arrays.\n* copy:\n An optional boolean indicating whether to force the copying of objects\n that are already ranges.\n\nReturns: A {Range} based on the given object. " + } + }, + "50": { + "13": { + "name": "fromText", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 50, + 13 + ], + [ + 79, + 1 + ] + ], + "doc": " Private: Returns a range based on an optional starting point and the given text. If\nno starting point is given it will be assumed to be [0, 0].\n\n* startPoint: A {Point} where the range should start.\n* text:\n A {String} after which the range should end. The range will have as many\n rows as the text has lines have an end column based on the length of the\n last line.\n\nReturns: A {Range} " + } + }, + "79": { + "23": { + "name": "fromPointWithDelta", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "startPoint", + "rowDelta", + "columnDelta" + ], + "range": [ + [ + 79, + 23 + ], + [ + 84, + 1 + ] + ], + "doc": " Public: Returns a {Range} that starts at the given point and ends at the\nstart point plus the given row and column deltas.\n\n* startPoint:\n A {Point} or point-compatible {Array}\n* rowDelta:\n A {Number} indicating how many rows to add to the start point to get the\n end point.\n* columnDelta:\n A {Number} indicating how many rows to columns to the start point to get\n the end point.\n\nReturns a {Range} " + } + }, + "84": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pointA", + "pointB" + ], + "range": [ + [ + 84, + 15 + ], + [ + 96, + 1 + ] + ], + "doc": "~Private~" + } + }, + "96": { + "13": { + "name": "serialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 13 + ], + [ + 100, + 1 + ] + ], + "doc": "Public: Returns a plain javascript object representation of the range. " + } + }, + "100": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 100, + 8 + ], + [ + 105, + 1 + ] + ], + "doc": "Public: Returns a new range with the same start and end positions. " + } + }, + "105": { + "10": { + "name": "freeze", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 105, + 10 + ], + [ + 112, + 1 + ] + ], + "doc": " Public: Freezes the range and its start and end point so it becomes\nimmutable and returns itself. " + } + }, + "112": { + "11": { + "name": "isEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 112, + 11 + ], + [ + 125, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this range has the same start\nand end points as the given {Range} or range-compatible {Array}. " + } + }, + "125": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 125, + 11 + ], + [ + 134, + 1 + ] + ], + "doc": " Public:\n\n* other: A {Range} or range-compatible {Array}.\n\nReturns:\n * -1 if this range starts before the argument or contains it\n * 0 if this range is equivalent to the argument.\n * 1 if this range starts after the argument or is contained by it. " + } + }, + "134": { + "16": { + "name": "isSingleLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 134, + 16 + ], + [ + 139, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this range starts and ends on\nthe same row. " + } + }, + "139": { + "18": { + "name": "coversSameRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 139, + 18 + ], + [ + 142, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this range starts and ends on\nthe same row as the argument. " + } + }, + "142": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "delta" + ], + "range": [ + [ + 142, + 7 + ], + [ + 145, + 1 + ] + ], + "doc": "~Private~" + } + }, + "145": { + "13": { + "name": "translate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startPoint", + "endPoint" + ], + "range": [ + [ + 145, + 13 + ], + [ + 149, + 1 + ] + ], + "doc": "~Private~" + } + }, + "149": { + "18": { + "name": "intersectsWith", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherRange" + ], + "range": [ + [ + 149, + 18 + ], + [ + 162, + 1 + ] + ], + "doc": "Public: Determines whether this range intersects with the argument. " + } + }, + "162": { + "17": { + "name": "containsRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherRange", + "exclusive" + ], + "range": [ + [ + 162, + 17 + ], + [ + 173, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this range contains the given\nrange.\n\n* otherRange: A {Range} or range-compatible {Array}\n* exclusive:\n A boolean value including that the containment should be exclusive of\n endpoints. Defaults to false. " + } + }, + "173": { + "17": { + "name": "containsPoint", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "point", + "exclusive" + ], + "range": [ + [ + 173, + 17 + ], + [ + 187, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this range contains the given\npoint.\n\n* point: A {Point} or point-compatible {Array}\n* exclusive:\n A boolean value including that the containment should be exclusive of\n endpoints. Defaults to false. " + } + }, + "187": { + "17": { + "name": "intersectsRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 187, + 17 + ], + [ + 192, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this range intersects the\ngiven row {Number}. " + } + }, + "192": { + "22": { + "name": "intersectsRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 192, + 22 + ], + [ + 197, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether this range intersects the\nrow range indicated by the given startRow and endRow {Number}s. " + } + }, + "197": { + "9": { + "name": "union", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherRange" + ], + "range": [ + [ + 197, + 9 + ], + [ + 205, + 1 + ] + ], + "doc": "Public: Returns a new range that contains this range and the given range. " + } + }, + "205": { + "11": { + "name": "isEmpty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 205, + 11 + ], + [ + 208, + 1 + ] + ], + "doc": " Public: Is the start position of this range equal to the end position?\n\nReturns a {Boolean}. " + } + }, + "208": { + "11": { + "name": "toDelta", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 208, + 11 + ], + [ + 219, + 1 + ] + ], + "doc": "~Private~" + } + }, + "219": { + "15": { + "name": "getRowCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 219, + 15 + ], + [ + 223, + 1 + ] + ], + "doc": " Public: Get the number of rows in this range.\n\nReturns a {Number}. " + } + }, + "223": { + "11": { + "name": "getRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 223, + 11 + ], + [ + 227, + 1 + ] + ], + "doc": "Public: Returns an array of all rows in the range. " + } + }, + "227": { + "12": { + "name": "toString", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 227, + 12 + ], + [ + 228, + 27 + ] + ], + "doc": "Public: Returns a string representation of the range. " + } + } + }, + "exports": 16 + }, + "src/text-buffer.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@1.x" + } + }, + "1": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@1.x" + } + }, + "2": { + "7": { + "name": "Grim", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "grim" + } + }, + "3": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 4, + 10 + ], + [ + 4, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 4 + ] + ], + "bindingType": "variable", + "module": "pathwatcher", + "name": "File", + "exportsProperty": "File" + } + }, + "6": { + "15": { + "name": "SpanSkipList", + "type": "import", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 38 + ] + ], + "bindingType": "variable", + "module": "span-skip-list" + } + }, + "7": { + "7": { + "name": "diff", + "type": "import", + "range": [ + [ + 7, + 7 + ], + [ + 7, + 20 + ] + ], + "bindingType": "variable", + "module": "diff" + } + }, + "8": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 8, + 4 + ], + [ + 8, + 14 + ] + ], + "bindingType": "variable", + "module": "q" + } + }, + "9": { + "8": { + "name": "Point", + "type": "import", + "range": [ + [ + 9, + 8 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "path": "./point" + } + }, + "10": { + "8": { + "name": "Range", + "type": "import", + "range": [ + [ + 10, + 8 + ], + [ + 10, + 24 + ] + ], + "bindingType": "variable", + "path": "./range" + } + }, + "11": { + "10": { + "name": "History", + "type": "import", + "range": [ + [ + 11, + 10 + ], + [ + 11, + 28 + ] + ], + "bindingType": "variable", + "path": "./history" + } + }, + "12": { + "16": { + "name": "MarkerManager", + "type": "import", + "range": [ + [ + 12, + 16 + ], + [ + 12, + 41 + ] + ], + "bindingType": "variable", + "path": "./marker-manager" + } + }, + "13": { + "14": { + "name": "BufferPatch", + "type": "import", + "range": [ + [ + 13, + 14 + ], + [ + 13, + 37 + ] + ], + "bindingType": "variable", + "path": "./buffer-patch" + } + }, + "14": { + "1": { + "type": "import", + "range": [ + [ + 14, + 1 + ], + [ + 14, + 11 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "spliceArray", + "exportsProperty": "spliceArray" + }, + "14": { + "type": "import", + "range": [ + [ + 14, + 14 + ], + [ + 14, + 25 + ] + ], + "bindingType": "variable", + "path": "./helpers", + "name": "newlineRegex", + "exportsProperty": "newlineRegex" + } + }, + "68": { + "0": { + "type": "class", + "name": "TextBuffer", + "bindingType": "exports", + "classProperties": [ + [ + 69, + 10 + ], + [ + 70, + 10 + ], + [ + 71, + 17 + ] + ], + "prototypeProperties": [ + [ + 78, + 14 + ], + [ + 79, + 24 + ], + [ + 80, + 26 + ], + [ + 81, + 22 + ], + [ + 82, + 12 + ], + [ + 83, + 8 + ], + [ + 84, + 12 + ], + [ + 92, + 15 + ], + [ + 112, + 21 + ], + [ + 119, + 19 + ], + [ + 130, + 11 + ], + [ + 142, + 12 + ], + [ + 148, + 11 + ], + [ + 154, + 16 + ], + [ + 160, + 14 + ], + [ + 168, + 14 + ], + [ + 175, + 15 + ], + [ + 187, + 20 + ], + [ + 196, + 20 + ], + [ + 204, + 11 + ], + [ + 211, + 18 + ], + [ + 260, + 18 + ], + [ + 273, + 10 + ], + [ + 281, + 10 + ], + [ + 289, + 10 + ], + [ + 297, + 13 + ], + [ + 309, + 14 + ], + [ + 337, + 14 + ], + [ + 347, + 14 + ], + [ + 406, + 18 + ], + [ + 436, + 13 + ], + [ + 454, + 16 + ], + [ + 471, + 20 + ], + [ + 478, + 18 + ], + [ + 485, + 12 + ], + [ + 496, + 15 + ], + [ + 515, + 29 + ], + [ + 532, + 29 + ], + [ + 545, + 24 + ], + [ + 548, + 12 + ], + [ + 552, + 8 + ], + [ + 555, + 17 + ], + [ + 565, + 20 + ], + [ + 569, + 11 + ], + [ + 577, + 11 + ], + [ + 579, + 15 + ], + [ + 581, + 14 + ], + [ + 583, + 10 + ], + [ + 587, + 11 + ], + [ + 592, + 19 + ], + [ + 624, + 22 + ], + [ + 629, + 10 + ], + [ + 636, + 32 + ], + [ + 640, + 28 + ], + [ + 650, + 15 + ], + [ + 656, + 11 + ], + [ + 662, + 10 + ], + [ + 668, + 11 + ], + [ + 682, + 18 + ], + [ + 687, + 8 + ], + [ + 693, + 10 + ], + [ + 710, + 14 + ], + [ + 724, + 16 + ], + [ + 726, + 17 + ], + [ + 736, + 27 + ], + [ + 774, + 8 + ], + [ + 792, + 17 + ], + [ + 804, + 11 + ], + [ + 830, + 15 + ], + [ + 881, + 24 + ], + [ + 889, + 14 + ], + [ + 897, + 23 + ], + [ + 910, + 19 + ], + [ + 918, + 16 + ], + [ + 926, + 10 + ], + [ + 930, + 32 + ], + [ + 933, + 26 + ], + [ + 942, + 29 + ], + [ + 947, + 12 + ], + [ + 956, + 8 + ], + [ + 959, + 8 + ], + [ + 969, + 12 + ], + [ + 977, + 20 + ], + [ + 983, + 21 + ], + [ + 987, + 20 + ], + [ + 990, + 18 + ], + [ + 1029, + 13 + ], + [ + 1037, + 16 + ], + [ + 1042, + 13 + ], + [ + 1047, + 14 + ], + [ + 1069, + 15 + ], + [ + 1074, + 18 + ] + ], + "doc": " Public: A mutable text container with undo/redo support and the ability to\nannotate logical regions in the text.\n\n## Events\n\n* `changed` -\n Emitted synchronously whenever the buffer changes. Binding a slow handler\n to this event has the potential to destroy typing performance. Consider\n using `contents-modified` instead and aim for extremely fast performance\n (< 2 ms) if you must bind to it. Your handler will be called with an\n object containing the following keys.\n * `oldRange` - The {Range} of the old text\n * `newRange` - The {Range} of the new text\n * `oldText` - A {String} containing the text that was replaced\n * `newText` - A {String} containing the text that was inserted\n\n* `markers-updated` -\n Emitted synchronously when the `changed` events of all markers have been\n fired for a change. The order of events is as follows:\n * The text of the buffer is changed\n * All markers are updated accordingly, but their `changed` events are not\n emited\n * The `changed` event is emitted\n * The `changed` events of all updated markers are emitted\n * The `markers-updated` event is emitted.\n\n* `contents-modified` -\n Emitted asynchronously 300ms (or `TextBuffer::stoppedChangingDelay`)\n after the last buffer change. This is a good place to handle changes to\n the buffer without compromising typing performance.\n\n* `modified-status-changed` -\n Emitted with a {Boolean} when the result of {::isModified} changes.\n\n* `contents-conflicted` -\n Emitted when the buffer's underlying file changes on disk at a moment\n when the result of {::isModified} is true.\n\n* `will-reload` -\n Emitted before the in-memory contents of the buffer are refreshed from\n the contents of the file on disk.\n\n* `reloaded` -\n Emitted after the in-memory contents of the buffer are refreshed from\n the contents of the file on disk.\n\n* `will-be-saved` - Emitted before the buffer is saved to disk.\n\n* `saved` - Emitted after the buffer is saved to disk.\n\n* `destroyed` - Emitted when the buffer is destroyed. ", + "range": [ + [ + 68, + 0 + ], + [ + 1074, + 46 + ] + ] + } + }, + "69": { + "10": { + "name": "Point", + "type": "primitive", + "range": [ + [ + 69, + 10 + ], + [ + 69, + 14 + ] + ], + "bindingType": "classProperty", + "reference": { + "position": [ + 9, + 8 + ] + } + } + }, + "70": { + "10": { + "name": "Range", + "type": "primitive", + "range": [ + [ + 70, + 10 + ], + [ + 70, + 14 + ] + ], + "bindingType": "classProperty", + "reference": { + "position": [ + 10, + 8 + ] + } + } + }, + "71": { + "17": { + "name": "newlineRegex", + "type": "primitive", + "range": [ + [ + 71, + 17 + ], + [ + 71, + 28 + ] + ], + "bindingType": "classProperty", + "reference": { + "position": [ + 14, + 14 + ] + } + } + }, + "78": { + "14": { + "name": "cachedText", + "type": "primitive", + "range": [ + [ + 78, + 14 + ], + [ + 78, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "79": { + "24": { + "name": "stoppedChangingDelay", + "type": "primitive", + "range": [ + [ + 79, + 24 + ], + [ + 79, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "80": { + "26": { + "name": "stoppedChangingTimeout", + "type": "primitive", + "range": [ + [ + 80, + 26 + ], + [ + 80, + 29 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "81": { + "22": { + "name": "cachedDiskContents", + "type": "primitive", + "range": [ + [ + 81, + 22 + ], + [ + 81, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "82": { + "12": { + "name": "conflict", + "type": "primitive", + "range": [ + [ + 82, + 12 + ], + [ + 82, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "83": { + "8": { + "name": "file", + "type": "primitive", + "range": [ + [ + 83, + 8 + ], + [ + 83, + 11 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "84": { + "12": { + "name": "refcount", + "type": "primitive", + "range": [ + [ + 84, + 12 + ], + [ + 84, + 12 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "92": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 92, + 15 + ], + [ + 112, + 1 + ] + ], + "doc": " Public: Create a new buffer with the given params.\n\nparams - A {String} of text or an {Object} with the following keys:\n :load - A {Boolean}, `true` to asynchronously load the buffer from disk\n after initialization.\n :text - The initial {String} text of the buffer. " + } + }, + "112": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 112, + 21 + ], + [ + 119, + 1 + ] + ], + "doc": "Private: Called by {Serializable} mixin during deserialization. " + } + }, + "119": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 119, + 19 + ], + [ + 130, + 1 + ] + ], + "doc": "Private: Called by {Serializable} mixin during serialization. " + } + }, + "130": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 130, + 11 + ], + [ + 142, + 1 + ] + ], + "doc": " Public: Get the entire text of the buffer.\n\nReturns a {String}. " + } + }, + "142": { + "12": { + "name": "getLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 142, + 12 + ], + [ + 148, + 1 + ] + ], + "doc": " Public: Get the text of all lines in the buffer, without their line endings.\n\nReturns an {Array} of {String}s. " + } + }, + "148": { + "11": { + "name": "isEmpty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 148, + 11 + ], + [ + 154, + 1 + ] + ], + "doc": " Public: Determine whether the buffer is empty.\n\nReturns a {Boolean}. " + } + }, + "154": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 16 + ], + [ + 160, + 1 + ] + ], + "doc": " Public: Get the number of lines in the buffer.\n\nReturns a {Number}. " + } + }, + "160": { + "14": { + "name": "getLastRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 160, + 14 + ], + [ + 168, + 1 + ] + ], + "doc": " Public: Get the last 0-indexed row in the buffer.\n\nReturns a {Number}. " + } + }, + "168": { + "14": { + "name": "lineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 168, + 14 + ], + [ + 175, + 1 + ] + ], + "doc": " Public: Get the text of the line at the given row, without its line ending.\n\nrow - A {Number} representing a 0-indexed row.\n\nReturns a {String}. " + } + }, + "175": { + "15": { + "name": "getLastLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 175, + 15 + ], + [ + 187, + 1 + ] + ], + "doc": " Public: Get the text of the last line of the buffer, without its line\nending.\n\nReturns a {String}. " + } + }, + "187": { + "20": { + "name": "lineEndingForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 187, + 20 + ], + [ + 196, + 1 + ] + ], + "doc": " Public: Get the line ending for the given 0-indexed row.\n\nrow - A {Number} indicating the row.\n\nThe returned newline is represented as a literal string: `'\\n'`, `'\\r'`,\n`'\\r\\n'`, or `''` for the last line of the buffer, which doesn't end in a\nnewline.\n\nReturns a {String}. " + } + }, + "196": { + "20": { + "name": "lineLengthForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 196, + 20 + ], + [ + 204, + 1 + ] + ], + "doc": " Public: Get the length of the line for the given 0-indexed row, without its\nline ending.\n\nrow - A {Number} indicating the row.\n\nReturns a {Number}. " + } + }, + "204": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 204, + 11 + ], + [ + 211, + 1 + ] + ], + "doc": " Public: Replace the entire contents of the buffer with the given text.\n\ntext - A {String}\n\nReturns a {Range} spanning the new buffer contents. " + } + }, + "211": { + "18": { + "name": "setTextViaDiff", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 211, + 18 + ], + [ + 260, + 1 + ] + ], + "doc": " Public: Replace the current buffer contents by applying a diff based on the\ngiven text.\n\ntext - A {String} containing the new buffer contents. " + } + }, + "260": { + "18": { + "name": "setTextInRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range", + "text", + "normalizeLineEndings" + ], + "range": [ + [ + 260, + 18 + ], + [ + 273, + 1 + ] + ], + "doc": " Public: Set the text in the given range.\n\nrange - A {Range}.\ntext - A {String}.\n\nReturns the {Range} of the inserted text. " + } + }, + "273": { + "10": { + "name": "insert", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "text", + "normalizeLineEndings" + ], + "range": [ + [ + 273, + 10 + ], + [ + 281, + 1 + ] + ], + "doc": " Public: Insert text at the given position.\n\nposition - A {Point} representing the insertion location. The position is\n clipped before insertion.\ntext - A {String} representing the text to insert.\n\nReturns the {Range} of the inserted text. " + } + }, + "281": { + "10": { + "name": "append", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "normalizeLineEndings" + ], + "range": [ + [ + 281, + 10 + ], + [ + 289, + 1 + ] + ], + "doc": " Public: Append text to the end of the buffer.\n\ntext - A {String} representing the text text to append.\n\nReturns the {Range} of the inserted text " + } + }, + "289": { + "10": { + "name": "delete", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 289, + 10 + ], + [ + 297, + 1 + ] + ] + } + }, + "297": { + "13": { + "name": "deleteRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 297, + 13 + ], + [ + 309, + 1 + ] + ], + "doc": " Public: Delete the line associated with a specified row.\n\nrow - A {Number} representing the 0-indexed row to delete.\n\nReturns the {Range} of the deleted text. " + } + }, + "309": { + "14": { + "name": "deleteRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 309, + 14 + ], + [ + 337, + 1 + ] + ], + "doc": " Public: Delete the lines associated with the specified row range.\n\nstartRow - A {Number} representing the first row to delete.\nendRow - A {Number} representing the last row to delete, inclusive.\n\nIf the row range is out of bounds, it will be clipped. If the startRow is\ngreater than the end row, they will be reordered.\n\nReturns the {Range} of the deleted text. " + } + }, + "337": { + "14": { + "name": "buildPatch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "oldRange", + "newText", + "normalizeLineEndings" + ], + "range": [ + [ + 337, + 14 + ], + [ + 347, + 1 + ] + ], + "doc": " Private: Builds a {BufferPatch}, which is used to modify the buffer and is also\npushed into the undo history so it can be undone. " + } + }, + "347": { + "14": { + "name": "applyPatch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 347, + 14 + ], + [ + 406, + 1 + ] + ], + "doc": " Private: Applies a {BufferPatch} to the buffer based on its old range and new text.\nAlso applies any {MarkerPatch}es associated with the {BufferPatch}. " + } + }, + "406": { + "18": { + "name": "getTextInRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 406, + 18 + ], + [ + 436, + 1 + ] + ], + "doc": " Public: Get the text in a range.\n\nrange - A {Range}\n\nReturns a {String} " + } + }, + "436": { + "13": { + "name": "clipRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 436, + 13 + ], + [ + 454, + 1 + ] + ], + "doc": " Public: Clip the given range so it starts and ends at valid positions.\n\nFor example, the position [1, 100] is out of bounds if the line at row 1 is\nonly 10 characters long, and it would be clipped to (1, 10).\n\nrange - A {Range} or range-compatible {Array} to clip.\n\nReturns the given {Range} if it is already in bounds, or a new clipped\n{Range} if the given range is out-of-bounds. " + } + }, + "454": { + "16": { + "name": "clipPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 454, + 16 + ], + [ + 471, + 1 + ] + ], + "doc": " Public: Clip the given point so it is at a valid position in the buffer.\n\nFor example, the position (1, 100) is out of bounds if the line at row 1 is\nonly 10 characters long, and it would be clipped to (1, 10)\n\nposition - A {Point} or point-compatible {Array}.\n\nReturns a new {Point} if the given position is invalid, otherwise returns\nthe given position. " + } + }, + "471": { + "20": { + "name": "getFirstPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 471, + 20 + ], + [ + 478, + 1 + ] + ], + "doc": " Public: Get the first position in the buffer, which is always `[0, 0]`.\n\nReturns a {Point}. " + } + }, + "478": { + "18": { + "name": "getEndPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 478, + 18 + ], + [ + 485, + 1 + ] + ], + "doc": " Public: Get the maximal position in the buffer, where new text would be\nappended.\n\nReturns a {Point}. " + } + }, + "485": { + "12": { + "name": "getRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 485, + 12 + ], + [ + 496, + 1 + ] + ], + "doc": " Public: Get the range spanning from `[0, 0]` to {::getEndPosition}.\n\nReturns a {Range}. " + } + }, + "496": { + "15": { + "name": "rangeForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "includeNewline" + ], + "range": [ + [ + 496, + 15 + ], + [ + 515, + 1 + ] + ], + "doc": " Public: Get the range for the given row\n\nrow - A {Number} representing a 0-indexed row.\nincludeNewline - A {Boolean} indicating whether or not to include the\n newline, which results in a range that extends to the start\n of the next line.\n\nReturns a {Range}. " + } + }, + "515": { + "29": { + "name": "characterIndexForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 515, + 29 + ], + [ + 532, + 1 + ] + ], + "doc": " Public: Convert a position in the buffer in row/column coordinates to an\nabsolute character offset, inclusive of line ending characters.\n\nThe position is clipped prior to translating.\n\nposition - A {Point}.\n\nReturns a {Number}. " + } + }, + "532": { + "29": { + "name": "positionForCharacterIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "offset" + ], + "range": [ + [ + 532, + 29 + ], + [ + 545, + 1 + ] + ], + "doc": " Public: Convert an absolute character offset, inclusive of newlines, to a\nposition in the buffer in row/column coordinates.\n\nThe offset is clipped prior to translating.\n\noffset - A {Number}.\n\nReturns a {Point}. " + } + }, + "545": { + "24": { + "name": "getMaxCharacterIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 545, + 24 + ], + [ + 548, + 1 + ] + ], + "doc": " Public: Get the length of the buffer in characters.\n\nReturns a {Number}. " + } + }, + "548": { + "12": { + "name": "loadSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 548, + 12 + ], + [ + 552, + 1 + ] + ], + "doc": "~Private~" + } + }, + "552": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 552, + 8 + ], + [ + 555, + 1 + ] + ], + "doc": "~Private~" + } + }, + "555": { + "17": { + "name": "finishLoading", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 555, + 17 + ], + [ + 565, + 1 + ] + ], + "doc": "~Private~" + } + }, + "565": { + "20": { + "name": "handleTextChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 565, + 20 + ], + [ + 569, + 1 + ] + ], + "doc": "~Private~" + } + }, + "569": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 569, + 11 + ], + [ + 577, + 1 + ] + ], + "doc": "~Private~" + } + }, + "577": { + "11": { + "name": "isAlive", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 577, + 11 + ], + [ + 577, + 27 + ] + ], + "doc": "~Private~" + } + }, + "579": { + "15": { + "name": "isDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 579, + 15 + ], + [ + 579, + 27 + ] + ], + "doc": "~Private~" + } + }, + "581": { + "14": { + "name": "isRetained", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 581, + 14 + ], + [ + 581, + 29 + ] + ], + "doc": "~Private~" + } + }, + "583": { + "10": { + "name": "retain", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 583, + 10 + ], + [ + 587, + 1 + ] + ], + "doc": "~Private~" + } + }, + "587": { + "11": { + "name": "release", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 587, + 11 + ], + [ + 592, + 1 + ] + ], + "doc": "~Private~" + } + }, + "592": { + "19": { + "name": "subscribeToFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 592, + 19 + ], + [ + 624, + 1 + ] + ], + "doc": "~Private~" + } + }, + "624": { + "22": { + "name": "hasMultipleEditors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 624, + 22 + ], + [ + 624, + 37 + ] + ], + "doc": " Private: Identifies if the buffer belongs to multiple editors.\n\nFor example, if the {EditorView} was split.\n\nReturns a {Boolean}. " + } + }, + "629": { + "10": { + "name": "reload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 629, + 10 + ], + [ + 636, + 1 + ] + ], + "doc": " Public: Reload the buffer's contents from disk.\n\nSets the buffer's content to the cached disk contents " + } + }, + "636": { + "32": { + "name": "updateCachedDiskContentsSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 636, + 32 + ], + [ + 640, + 1 + ] + ], + "doc": "Private: Rereads the contents of the file, and stores them in the cache. " + } + }, + "640": { + "28": { + "name": "updateCachedDiskContents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 640, + 28 + ], + [ + 650, + 1 + ] + ], + "doc": "Private: Rereads the contents of the file, and stores them in the cache. " + } + }, + "650": { + "15": { + "name": "getBaseName", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 650, + 15 + ], + [ + 656, + 1 + ] + ], + "doc": " Private: Get the basename of the associated file.\n\nThe basename is the name portion of the file's path, without the containing\ndirectories.\n\nReturns a {String}. " + } + }, + "656": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 656, + 11 + ], + [ + 662, + 1 + ] + ], + "doc": " Pubilc: Get the path of the associated file.\n\nReturns a {String}. " + } + }, + "662": { + "10": { + "name": "getUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 662, + 10 + ], + [ + 668, + 1 + ] + ], + "doc": " Public: Get the path of the associated file.\n\nReturns a {String}. " + } + }, + "668": { + "11": { + "name": "setPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 668, + 11 + ], + [ + 682, + 1 + ] + ], + "doc": " Public: Set the path for the buffer's associated file.\n\nfilePath - A {String} representing the new file path " + } + }, + "682": { + "18": { + "name": "getEofPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 682, + 18 + ], + [ + 687, + 1 + ] + ], + "doc": "Deprecated: Use {::getEndPosition} instead " + } + }, + "687": { + "8": { + "name": "save", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 687, + 8 + ], + [ + 693, + 1 + ] + ], + "doc": "Public: Save the buffer. " + } + }, + "693": { + "10": { + "name": "saveAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 693, + 10 + ], + [ + 710, + 1 + ] + ], + "doc": " Public: Save the buffer at a specific path.\n\nfilePath - The path to save at. " + } + }, + "710": { + "14": { + "name": "isModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 710, + 14 + ], + [ + 724, + 1 + ] + ], + "doc": " Public: Determine if the in-memory contents of the buffer differ from its\ncontents on disk.\n\nIf the buffer is unsaved, always returns `true` unless the buffer is empty.\n\nReturns a {Boolean}. " + } + }, + "724": { + "16": { + "name": "isInConflict", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 724, + 16 + ], + [ + 724, + 27 + ] + ], + "doc": " Public: Determine if the in-memory contents of the buffer conflict with the\non-disk contents of its associated file.\n\nReturns a {Boolean}. " + } + }, + "726": { + "17": { + "name": "destroyMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 726, + 17 + ], + [ + 736, + 1 + ] + ], + "doc": "~Private~" + } + }, + "736": { + "27": { + "name": "matchesInCharacterRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "startIndex", + "endIndex" + ], + "range": [ + [ + 736, + 27 + ], + [ + 774, + 1 + ] + ], + "doc": " Private: Identifies if a character sequence is within a certain range.\n\nregex - The {RegExp} to match.\nstartIndex - A {Number} representing the starting character offset.\nendIndex - A {Number} representing the ending character offset.\n\nReturns an {Array} of matches for the given regex. " + } + }, + "774": { + "8": { + "name": "scan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "iterator" + ], + "range": [ + [ + 774, + 8 + ], + [ + 792, + 1 + ] + ], + "doc": " Public: Scan regular expression matches in the entire buffer, calling the\ngiven iterator function on each match.\n\nIf you're programmatically modifying the results, you may want to try\n{::backwardsScan} to avoid tripping over your own changes.\n\nregex - A {RegExp} to search for.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " + } + }, + "792": { + "17": { + "name": "backwardsScan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "iterator" + ], + "range": [ + [ + 792, + 17 + ], + [ + 804, + 1 + ] + ], + "doc": " Public: Scan regular expression matches in the entire buffer in reverse\norder, calling the given iterator function on each match.\n\nregex - A {RegExp} to search for.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " + } + }, + "804": { + "11": { + "name": "replace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "replacementText" + ], + "range": [ + [ + 804, + 11 + ], + [ + 830, + 1 + ] + ], + "doc": " Public: Replace all regular expression matches in the entire buffer.\n\nregex - A {RegExp} representing the matches to be replaced.\nreplacementText - A {String} representing the text to replace each match.\n\nReturns a {Number} representing the number of replacements made. " + } + }, + "830": { + "15": { + "name": "scanInRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "range", + "iterator", + "reverse" + ], + "range": [ + [ + 830, + 15 + ], + [ + 881, + 1 + ] + ], + "doc": " Public: Scan regular expression matches in a given range , calling the given\niterator function on each match.\n\nregex - A {RegExp} to search for.\nrange - A {Range} in which to search.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " + } + }, + "881": { + "24": { + "name": "backwardsScanInRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "range", + "iterator" + ], + "range": [ + [ + 881, + 24 + ], + [ + 889, + 1 + ] + ], + "doc": " Public: Scan regular expression matches in a given range in reverse order,\ncalling the given iterator function on each match.\n\nregex - A {RegExp} to search for.\nrange - A {Range} in which to search.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " + } + }, + "889": { + "14": { + "name": "isRowBlank", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 889, + 14 + ], + [ + 897, + 1 + ] + ], + "doc": " Public: Determine if the given row contains only whitespace.\n\nrow - A {Number} representing a 0-indexed row.\n\nReturns a {Boolean}. " + } + }, + "897": { + "23": { + "name": "previousNonBlankRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow" + ], + "range": [ + [ + 897, + 23 + ], + [ + 910, + 1 + ] + ], + "doc": " Public: Given a row, find the first preceding row that's not blank.\n\nstartRow - A {Number} identifying the row to start checking at.\n\nReturns a {Number} or `null` if there's no preceding non-blank row. " + } + }, + "910": { + "19": { + "name": "nextNonBlankRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow" + ], + "range": [ + [ + 910, + 19 + ], + [ + 918, + 1 + ] + ], + "doc": " Public: Given a row, find the next row that's not blank.\n\nstartRow - A {Number} identifying the row to start checking at.\n\nReturns a {Number} or `null` if there's no next non-blank row. " + } + }, + "918": { + "16": { + "name": "usesSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 918, + 16 + ], + [ + 926, + 1 + ] + ], + "doc": "Private: Deprecate " + } + }, + "926": { + "10": { + "name": "change", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "oldRange", + "newText", + "options" + ], + "range": [ + [ + 926, + 10 + ], + [ + 930, + 1 + ] + ], + "doc": "Deprecated: Call {::setTextInRange} instead. " + } + }, + "930": { + "32": { + "name": "cancelStoppedChangingTimeout", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 930, + 32 + ], + [ + 933, + 1 + ] + ], + "doc": "~Private~" + } + }, + "933": { + "26": { + "name": "scheduleModifiedEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 933, + 26 + ], + [ + 942, + 1 + ] + ], + "doc": "~Private~" + } + }, + "942": { + "29": { + "name": "emitModifiedStatusChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "modifiedStatus" + ], + "range": [ + [ + 942, + 29 + ], + [ + 947, + 1 + ] + ], + "doc": "~Private~" + } + }, + "947": { + "12": { + "name": "logLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 947, + 12 + ], + [ + 952, + 1 + ] + ], + "doc": "~Private~" + } + }, + "956": { + "8": { + "name": "undo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 956, + 8 + ], + [ + 956, + 25 + ] + ], + "doc": "Public: Undo the last operation. If a transaction is in progress, aborts it. " + } + }, + "959": { + "8": { + "name": "redo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 959, + 8 + ], + [ + 959, + 25 + ] + ], + "doc": "Public: Redo the last operation " + } + }, + "969": { + "12": { + "name": "transact", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 969, + 12 + ], + [ + 969, + 40 + ] + ], + "doc": " Public: Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " + } + }, + "977": { + "20": { + "name": "beginTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 977, + 20 + ], + [ + 977, + 49 + ] + ], + "doc": " Public: Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " + } + }, + "983": { + "21": { + "name": "commitTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 983, + 21 + ], + [ + 983, + 51 + ] + ], + "doc": " Public: Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " + } + }, + "987": { + "20": { + "name": "abortTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 987, + 20 + ], + [ + 987, + 49 + ] + ], + "doc": " Public: Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " + } + }, + "990": { + "18": { + "name": "clearUndoStack", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 990, + 18 + ], + [ + 990, + 45 + ] + ], + "doc": "Public: Clear the undo stack. " + } + }, + "1029": { + "13": { + "name": "markRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range", + "properties" + ], + "range": [ + [ + 1029, + 13 + ], + [ + 1029, + 72 + ] + ], + "doc": " Public: Create a marker with the given range. This marker will maintain\nits logical location as the buffer is changed, so if you mark a particular\nword, the marker will remain over that word even if the word's location in\nthe buffer changes.\n\n* range: A {Range} or range-compatible {Array}\n* properties:\n A hash of key-value pairs to associate with the marker. There are also\n reserved property names that have marker-specific meaning:\n :reversed -\n Creates the marker in a reversed orientation. Defaults to false.\n :persistent -\n Whether to include this marker when serializing the buffer. Defaults\n to true.\n :invalidate -\n Determines the rules by which changes to the buffer *invalidate* the\n marker. Defaults to 'overlap', but can be any of the following\n strategies, in order of fragility:\n * 'never':\n The marker is never marked as invalid. This is a good choice for\n markers representing selections in an editor.\n * 'surround':\n The marker is invalidated by changes that completely surround it.\n * 'overlap':\n The marker is invalidated by changes that surround the start or\n end of the marker. This is the default.\n * 'inside':\n The marker is invalidated by changes that extend into the\n inside of the marker. Changes that end at the marker's start or\n start at the marker's end do not invalidate the marker.\n * 'touch':\n The marker is invalidated by a change that touches the marked\n region in any way, including changes that end at the marker's\n start or start at the marker's end. This is the most fragile\n strategy.\n\nReturns a {Marker}. " + } + }, + "1037": { + "16": { + "name": "markPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "properties" + ], + "range": [ + [ + 1037, + 16 + ], + [ + 1037, + 84 + ] + ], + "doc": " Public: Create a marker at the given position with no tail.\n\n:position - {Point} or point-compatible {Array}\n:properties - This is the same as the `properties` parameter in {::markRange}\n\nReturns a {Marker}. " + } + }, + "1042": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 1042, + 13 + ], + [ + 1042, + 42 + ] + ], + "doc": " Public: Get an existing marker by its id.\n\nReturns a {Marker}. " + } + }, + "1047": { + "14": { + "name": "getMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1047, + 14 + ], + [ + 1047, + 37 + ] + ], + "doc": " Public: Get all existing markers on the buffer.\n\nReturns an {Array} of {Marker}s. " + } + }, + "1069": { + "15": { + "name": "findMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 1069, + 15 + ], + [ + 1069, + 54 + ] + ], + "doc": " Public: Find markers conforming to the given parameters.\n\n:params -\n A hash of key-value pairs constraining the set of returned markers. You\n can query against custom marker properties by listing the desired\n key-value pairs here. In addition, the following keys are reserved and\n have special semantics:\n * 'startPosition': Only include markers that start at the given {Point}.\n * 'endPosition': Only include markers that end at the given {Point}.\n * 'containsPoint': Only include markers that contain the given {Point}, inclusive.\n * 'containsRange': Only include markers that contain the given {Range}, inclusive.\n * 'startRow': Only include markers that start at the given row {Number}.\n * 'endRow': Only include markers that end at the given row {Number}.\n * 'intersectsRow': Only include markers that intersect the given row {Number}.\n\nFinds markers that conform to all of the given parameters. Markers are\nsorted based on their position in the buffer. If two markers start at the\nsame position, the larger marker comes first.\n\nReturns an {Array} of {Marker}s. " + } + }, + "1074": { + "18": { + "name": "getMarkerCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1074, + 18 + ], + [ + 1074, + 45 + ] + ], + "doc": " Public: Get the number of markers in the buffer.\n\nReturns a {Number}. " + } + } + }, + "exports": 68 + }, + "src/model.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 8 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Behavior", + "exportsProperty": "Behavior" + }, + "11": { + "type": "import", + "range": [ + [ + 0, + 11 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Subscriber", + "exportsProperty": "Subscriber" + }, + "23": { + "type": "import", + "range": [ + [ + 0, + 23 + ], + [ + 0, + 29 + ] + ], + "bindingType": "variable", + "module": "emissary@1.x", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "1": { + "20": { + "name": "PropertyAccessors", + "type": "import", + "range": [ + [ + 1, + 20 + ], + [ + 1, + 47 + ] + ], + "bindingType": "variable", + "module": "property-accessors@1.x" + } + }, + "2": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 2, + 12 + ], + [ + 2, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@1.x" + } + }, + "4": { + "17": { + "name": "1", + "type": "primitive", + "range": [ + [ + 4, + 17 + ], + [ + 4, + 17 + ] + ] + } + }, + "7": { + "0": { + "type": "class", + "name": "Model", + "bindingType": "exports", + "classProperties": [ + [ + 13, + 24 + ], + [ + 15, + 15 + ], + [ + 21, + 13 + ], + [ + 32, + 13 + ], + [ + 42, + 24 + ], + [ + 45, + 24 + ], + [ + 48, + 29 + ] + ], + "prototypeProperties": [ + [ + 51, + 26 + ], + [ + 52, + 13 + ], + [ + 53, + 9 + ], + [ + 55, + 15 + ], + [ + 63, + 12 + ], + [ + 66, + 14 + ], + [ + 71, + 7 + ], + [ + 79, + 7 + ], + [ + 97, + 12 + ], + [ + 107, + 8 + ], + [ + 115, + 11 + ], + [ + 123, + 11 + ], + [ + 125, + 15 + ] + ], + "doc": "~Private~", + "range": [ + [ + 7, + 0 + ], + [ + 125, + 32 + ] + ] + } + }, + "13": { + "24": { + "name": "resetNextInstanceId", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 24 + ], + [ + 13, + 44 + ] + ], + "doc": "~Private~" + } + }, + "15": { + "15": { + "name": "properties", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 15, + 15 + ], + [ + 21, + 1 + ] + ], + "doc": "~Private~" + } + }, + "21": { + "13": { + "name": "property", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "name", + "defaultValue" + ], + "range": [ + [ + 21, + 13 + ], + [ + 32, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "13": { + "name": "behavior", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "name", + "definition" + ], + "range": [ + [ + 32, + 13 + ], + [ + 42, + 1 + ] + ], + "doc": "~Private~" + } + }, + "42": { + "24": { + "name": "hasDeclaredProperty", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 42, + 24 + ], + [ + 45, + 1 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "24": { + "name": "hasDeclaredBehavior", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 45, + 24 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "29": { + "name": "evaluateDeclaredBehavior", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "name", + "instance" + ], + "range": [ + [ + 48, + 29 + ], + [ + 51, + 1 + ] + ], + "doc": "~Private~" + } + }, + "51": { + "26": { + "name": "declaredPropertyValues", + "type": "primitive", + "range": [ + [ + 51, + 26 + ], + [ + 51, + 29 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "52": { + "13": { + "name": "behaviors", + "type": "primitive", + "range": [ + [ + 52, + 13 + ], + [ + 52, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "53": { + "9": { + "name": "alive", + "type": "primitive", + "range": [ + [ + 53, + 9 + ], + [ + 53, + 12 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "55": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 55, + 15 + ], + [ + 63, + 1 + ] + ], + "doc": "~Private~" + } + }, + "63": { + "12": { + "name": "assignId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 63, + 12 + ], + [ + 66, + 1 + ] + ], + "doc": "~Private~" + } + }, + "66": { + "14": { + "name": "setDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 66, + 14 + ], + [ + 71, + 1 + ] + ], + "doc": "~Private~" + } + }, + "71": { + "7": { + "name": "get", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "suppressDefault" + ], + "range": [ + [ + 71, + 7 + ], + [ + 79, + 1 + ] + ], + "doc": "~Private~" + } + }, + "79": { + "7": { + "name": "set", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "value" + ], + "range": [ + [ + 79, + 7 + ], + [ + 94, + 1 + ] + ], + "doc": "~Private~" + } + }, + "97": { + "12": { + "name": "behavior", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 97, + 12 + ], + [ + 107, + 1 + ] + ], + "doc": "~Private~" + } + }, + "107": { + "8": { + "name": "when", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "signal", + "action" + ], + "range": [ + [ + 107, + 8 + ], + [ + 115, + 1 + ] + ], + "doc": "~Private~" + } + }, + "115": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 115, + 11 + ], + [ + 123, + 1 + ] + ], + "doc": "~Private~" + } + }, + "123": { + "11": { + "name": "isAlive", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 123, + 11 + ], + [ + 123, + 19 + ] + ], + "doc": "~Private~" + } + }, + "125": { + "15": { + "name": "isDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 125, + 15 + ], + [ + 125, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 7 + } + } + } +] \ No newline at end of file diff --git a/metadata.json b/metadata.json new file mode 100644 index 000000000..c64381941 --- /dev/null +++ b/metadata.json @@ -0,0 +1,53638 @@ +[ + { + "repository": "https://github.com/atom/atom.git", + "version": "0.121.0", + "files": { + "./build/src/atom.coffee": { + "objects": { + "0": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 0, + 9 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "1": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "2": { + "5": { + "name": "os", + "type": "import", + "range": [ + [ + 2, + 5 + ], + [ + 2, + 16 + ] + ], + "bindingType": "variable", + "module": "os", + "builtin": true + } + }, + "3": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "4": { + "9": { + "name": "remote", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 24 + ] + ], + "bindingType": "variable", + "module": "remote" + } + }, + "5": { + "9": { + "name": "screen", + "type": "import", + "range": [ + [ + 5, + 9 + ], + [ + 5, + 24 + ] + ], + "bindingType": "variable", + "module": "screen" + } + }, + "6": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 6, + 8 + ], + [ + 6, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "8": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 8, + 4 + ], + [ + 8, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "9": { + "1": { + "type": "import", + "range": [ + [ + 9, + 1 + ], + [ + 9, + 10 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecated", + "exportsProperty": "deprecated" + } + }, + "10": { + "1": { + "type": "import", + "range": [ + [ + 10, + 1 + ], + [ + 10, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Model", + "exportsProperty": "Model" + } + }, + "11": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 11, + 5 + ], + [ + 11, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "13": { + "1": { + "type": "import", + "range": [ + [ + 13, + 1 + ], + [ + 13, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "14": { + "21": { + "name": "WindowEventHandler", + "type": "import", + "range": [ + [ + 14, + 21 + ], + [ + 14, + 52 + ] + ], + "bindingType": "variable", + "path": "./window-event-handler" + } + }, + "35": { + "0": { + "type": "class", + "name": "Atom", + "bindingType": "exports", + "classProperties": [ + [ + 36, + 12 + ], + [ + 44, + 17 + ], + [ + 48, + 16 + ], + [ + 53, + 14 + ], + [ + 71, + 17 + ], + [ + 89, + 21 + ], + [ + 95, + 22 + ], + [ + 99, + 20 + ], + [ + 109, + 21 + ] + ], + "prototypeProperties": [ + [ + 112, + 31 + ], + [ + 115, + 15 + ], + [ + 123, + 14 + ], + [ + 177, + 31 + ], + [ + 181, + 33 + ], + [ + 184, + 24 + ], + [ + 188, + 20 + ], + [ + 194, + 23 + ], + [ + 211, + 23 + ], + [ + 221, + 21 + ], + [ + 224, + 32 + ], + [ + 229, + 30 + ], + [ + 246, + 27 + ], + [ + 252, + 25 + ], + [ + 259, + 19 + ], + [ + 262, + 22 + ], + [ + 269, + 28 + ], + [ + 281, + 28 + ], + [ + 285, + 27 + ], + [ + 292, + 21 + ], + [ + 320, + 22 + ], + [ + 336, + 14 + ], + [ + 339, + 15 + ], + [ + 353, + 8 + ], + [ + 377, + 11 + ], + [ + 397, + 18 + ], + [ + 400, + 22 + ], + [ + 407, + 16 + ], + [ + 411, + 18 + ], + [ + 415, + 31 + ], + [ + 419, + 10 + ], + [ + 423, + 9 + ], + [ + 428, + 8 + ], + [ + 432, + 8 + ], + [ + 439, + 11 + ], + [ + 446, + 15 + ], + [ + 450, + 10 + ], + [ + 457, + 17 + ], + [ + 464, + 9 + ], + [ + 467, + 8 + ], + [ + 473, + 13 + ], + [ + 477, + 14 + ], + [ + 481, + 20 + ], + [ + 485, + 17 + ], + [ + 490, + 16 + ], + [ + 496, + 14 + ], + [ + 500, + 21 + ], + [ + 506, + 20 + ], + [ + 509, + 12 + ], + [ + 523, + 21 + ], + [ + 526, + 20 + ], + [ + 529, + 22 + ], + [ + 533, + 8 + ], + [ + 537, + 25 + ], + [ + 541, + 25 + ], + [ + 555, + 22 + ] + ], + "doc": " Public: Atom global for dealing with packages, themes, menus, and the window.\n\nAn instance of this class is always available as the `atom` global.\n\n## Useful properties available:\n\n * `atom.clipboard` - A {Clipboard} instance\n * `atom.config` - A {Config} instance\n * `atom.contextMenu` - A {ContextMenuManager} instance\n * `atom.deserializers` - A {DeserializerManager} instance\n * `atom.keymaps` - A {KeymapManager} instance\n * `atom.menu` - A {MenuManager} instance\n * `atom.packages` - A {PackageManager} instance\n * `atom.project` - A {Project} instance\n * `atom.syntax` - A {Syntax} instance\n * `atom.themes` - A {ThemeManager} instance\n * `atom.workspace` - A {Workspace} instance\n * `atom.workspaceView` - A {WorkspaceView} instance ", + "range": [ + [ + 35, + 0 + ], + [ + 567, + 27 + ] + ] + } + }, + "36": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 36, + 12 + ], + [ + 36, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "44": { + "17": { + "name": "loadOrCreate", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 44, + 17 + ], + [ + 48, + 1 + ] + ], + "doc": " Public: Load or create the Atom environment in the given mode.\n\nmode - Pass 'editor' or 'spec' depending on the kind of environment you\n want to build.\n\nReturns an Atom instance, fully initialized " + } + }, + "48": { + "16": { + "name": "deserialize", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 48, + 16 + ], + [ + 53, + 1 + ] + ], + "doc": "Private: Deserializes the Atom environment from a state object " + } + }, + "53": { + "14": { + "name": "loadState", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 53, + 14 + ], + [ + 71, + 1 + ] + ], + "doc": " Private: Loads and returns the serialized state corresponding to this window\nif it exists; otherwise returns undefined. " + } + }, + "71": { + "17": { + "name": "getStatePath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "mode" + ], + "range": [ + [ + 71, + 17 + ], + [ + 89, + 1 + ] + ], + "doc": " Private: Returns the path where the state for the current window will be\nlocated if it exists. " + } + }, + "89": { + "21": { + "name": "getConfigDirPath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 95, + 1 + ] + ], + "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " + } + }, + "95": { + "22": { + "name": "getStorageDirPath", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 95, + 22 + ], + [ + 99, + 1 + ] + ], + "doc": " Private: Get the path to Atom's storage directory.\n\nReturns the absolute path to ~/.atom/storage " + } + }, + "99": { + "20": { + "name": "getLoadSettings", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 99, + 20 + ], + [ + 109, + 1 + ] + ], + "doc": "Private: Returns the load settings hash associated with the current window. " + } + }, + "109": { + "21": { + "name": "getCurrentWindow", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 21 + ], + [ + 112, + 1 + ] + ], + "doc": "~Private~" + } + }, + "112": { + "31": { + "name": "workspaceViewParentSelector", + "type": "primitive", + "range": [ + [ + 112, + 31 + ], + [ + 112, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "115": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 115, + 15 + ], + [ + 123, + 1 + ] + ], + "doc": "Private: Call .loadOrCreate instead " + } + }, + "123": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 123, + 14 + ], + [ + 177, + 1 + ] + ], + "doc": " Public: Sets up the basic services that should be available in all modes\n(both spec and application). Call after this instance has been assigned to\nthe `atom` global. " + } + }, + "177": { + "31": { + "name": "registerRepresentationClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 31 + ], + [ + 181, + 1 + ] + ], + "doc": "Deprecated: Callers should be converted to use atom.deserializers " + } + }, + "181": { + "33": { + "name": "registerRepresentationClasses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 181, + 33 + ], + [ + 184, + 1 + ] + ], + "doc": "Deprecated: Callers should be converted to use atom.deserializers " + } + }, + "184": { + "24": { + "name": "setBodyPlatformClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 184, + 24 + ], + [ + 188, + 1 + ] + ], + "doc": "~Private~" + } + }, + "188": { + "20": { + "name": "getCurrentWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 20 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "23": { + "name": "getWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 194, + 23 + ], + [ + 211, + 1 + ] + ], + "doc": " Public: Get the dimensions of this window.\n\nReturns an object with x, y, width, and height keys. " + } + }, + "211": { + "23": { + "name": "setWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 211, + 23 + ], + [ + 221, + 1 + ] + ], + "doc": " Public: Set the dimensions of the window.\n\nThe window will be centered if either the x or y coordinate is not set\nin the dimensions parameter. If x or y are omitted the window will be\ncentered. If height or width are omitted only the position will be changed.\n\ndimensions - An {Object} with the following keys:\n :x - The new x coordinate.\n :y - The new y coordinate.\n :width - The new width.\n :height - The new height. " + } + }, + "221": { + "21": { + "name": "isValidDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 221, + 21 + ], + [ + 224, + 1 + ] + ], + "doc": " Private: Returns true if the dimensions are useable, false if they should be ignored.\nWork around for https://github.com/atom/atom-shell/issues/473 " + } + }, + "224": { + "32": { + "name": "storeDefaultWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 32 + ], + [ + 229, + 1 + ] + ], + "doc": "~Private~" + } + }, + "229": { + "30": { + "name": "getDefaultWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 229, + 30 + ], + [ + 246, + 1 + ] + ], + "doc": "~Private~" + } + }, + "246": { + "27": { + "name": "restoreWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 246, + 27 + ], + [ + 252, + 1 + ] + ], + "doc": "~Private~" + } + }, + "252": { + "25": { + "name": "storeWindowDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 252, + 25 + ], + [ + 259, + 1 + ] + ], + "doc": "~Private~" + } + }, + "259": { + "19": { + "name": "getLoadSettings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 259, + 19 + ], + [ + 262, + 1 + ] + ], + "doc": "Private: Returns the load settings hash associated with the current window. " + } + }, + "262": { + "22": { + "name": "deserializeProject", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 262, + 22 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "28": { + "name": "deserializeWorkspaceView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 28 + ], + [ + 281, + 1 + ] + ], + "doc": "~Private~" + } + }, + "281": { + "28": { + "name": "deserializePackageStates", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 281, + 28 + ], + [ + 285, + 1 + ] + ], + "doc": "~Private~" + } + }, + "285": { + "27": { + "name": "deserializeEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 285, + 27 + ], + [ + 292, + 1 + ] + ], + "doc": "~Private~" + } + }, + "292": { + "21": { + "name": "startEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 21 + ], + [ + 320, + 1 + ] + ], + "doc": "Private: Call this method when establishing a real application window. " + } + }, + "320": { + "22": { + "name": "unloadEditorWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 320, + 22 + ], + [ + 336, + 1 + ] + ], + "doc": "~Private~" + } + }, + "336": { + "14": { + "name": "loadThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 336, + 14 + ], + [ + 339, + 1 + ] + ], + "doc": "~Private~" + } + }, + "339": { + "15": { + "name": "watchThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 339, + 15 + ], + [ + 353, + 1 + ] + ], + "doc": "~Private~" + } + }, + "353": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 353, + 8 + ], + [ + 377, + 1 + ] + ], + "doc": " Public: Open a new Atom window using the given options.\n\nCalling this method without an options parameter will open a prompt to pick\na file/folder to open in the new window.\n\noptions - An {Object} with the following keys:\n :pathsToOpen - An {Array} of {String} paths to open. " + } + }, + "377": { + "11": { + "name": "confirm", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 377, + 11 + ], + [ + 397, + 1 + ] + ], + "doc": " Public: Open a confirm dialog.\n\n## Example\n\n```coffee\n atom.confirm\n message: 'How you feeling?'\n detailedMessage: 'Be honest.'\n buttons:\n Good: -> window.alert('good to hear')\n Bad: -> window.alert('bummer')\n```\n\noptions - An {Object} with the following keys:\n :message - The {String} message to display.\n :detailedMessage - The {String} detailed message to display.\n :buttons - Either an array of strings or an object where keys are\n button names and the values are callbacks to invoke when\n clicked.\n\nReturns the chosen button index {Number} if the buttons option was an array. " + } + }, + "397": { + "18": { + "name": "showSaveDialog", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 397, + 18 + ], + [ + 400, + 1 + ] + ], + "doc": "~Private~" + } + }, + "400": { + "22": { + "name": "showSaveDialogSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultPath" + ], + "range": [ + [ + 400, + 22 + ], + [ + 407, + 1 + ] + ], + "doc": "~Private~" + } + }, + "407": { + "16": { + "name": "openDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 407, + 16 + ], + [ + 411, + 1 + ] + ], + "doc": "Public: Open the dev tools for the current window. " + } + }, + "411": { + "18": { + "name": "toggleDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 411, + 18 + ], + [ + 415, + 1 + ] + ], + "doc": "Public: Toggle the visibility of the dev tools for the current window. " + } + }, + "415": { + "31": { + "name": "executeJavaScriptInDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "code" + ], + "range": [ + [ + 415, + 31 + ], + [ + 419, + 1 + ] + ], + "doc": "Public: Execute code in dev tools. " + } + }, + "419": { + "10": { + "name": "reload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 419, + 10 + ], + [ + 423, + 1 + ] + ], + "doc": "Public: Reload the current window. " + } + }, + "423": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 423, + 9 + ], + [ + 428, + 1 + ] + ], + "doc": "Public: Focus the current window. " + } + }, + "428": { + "8": { + "name": "show", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 8 + ], + [ + 432, + 1 + ] + ], + "doc": "Public: Show the current window. " + } + }, + "432": { + "8": { + "name": "hide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 432, + 8 + ], + [ + 439, + 1 + ] + ], + "doc": "Public: Hide the current window. " + } + }, + "439": { + "11": { + "name": "setSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width", + "height" + ], + "range": [ + [ + 439, + 11 + ], + [ + 446, + 1 + ] + ], + "doc": " Public: Set the size of current window.\n\nwidth - The {Number} of pixels.\nheight - The {Number} of pixels. " + } + }, + "446": { + "15": { + "name": "setPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "x", + "y" + ], + "range": [ + [ + 446, + 15 + ], + [ + 450, + 1 + ] + ], + "doc": " Public: Set the position of current window.\n\nx - The {Number} of pixels.\ny - The {Number} of pixels. " + } + }, + "450": { + "10": { + "name": "center", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 450, + 10 + ], + [ + 457, + 1 + ] + ], + "doc": "Public: Move current window to the center of the screen. " + } + }, + "457": { + "17": { + "name": "displayWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 457, + 17 + ], + [ + 464, + 1 + ] + ], + "doc": " Private: Schedule the window to be shown and focused on the next tick.\n\nThis is done in a next tick to prevent a white flicker from occurring\nif called synchronously. " + } + }, + "464": { + "9": { + "name": "close", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 464, + 9 + ], + [ + 467, + 1 + ] + ], + "doc": "Public: Close the current window. " + } + }, + "467": { + "8": { + "name": "exit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 467, + 8 + ], + [ + 473, + 1 + ] + ], + "doc": "~Private~" + } + }, + "473": { + "13": { + "name": "inDevMode", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 473, + 13 + ], + [ + 477, + 1 + ] + ], + "doc": "Public: Is the current window in development mode? " + } + }, + "477": { + "14": { + "name": "inSpecMode", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 477, + 14 + ], + [ + 481, + 1 + ] + ], + "doc": "Public: Is the current window running specs? " + } + }, + "481": { + "20": { + "name": "toggleFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 481, + 20 + ], + [ + 485, + 1 + ] + ], + "doc": "Public: Toggle the full screen state of the current window. " + } + }, + "485": { + "17": { + "name": "setFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fullScreen" + ], + "range": [ + [ + 485, + 17 + ], + [ + 490, + 1 + ] + ], + "doc": "Public: Set the full screen state of the current window. " + } + }, + "490": { + "16": { + "name": "isFullScreen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 490, + 16 + ], + [ + 496, + 1 + ] + ], + "doc": "Public: Is the current window in full screen mode? " + } + }, + "496": { + "14": { + "name": "getVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 496, + 14 + ], + [ + 500, + 1 + ] + ], + "doc": " Public: Get the version of the Atom application.\n\nReturns the version text {String}. " + } + }, + "500": { + "21": { + "name": "isReleasedVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 500, + 21 + ], + [ + 506, + 1 + ] + ], + "doc": "Public: Determine whether the current version is an official release. " + } + }, + "506": { + "20": { + "name": "getConfigDirPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 506, + 20 + ], + [ + 509, + 1 + ] + ], + "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " + } + }, + "509": { + "12": { + "name": "saveSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 509, + 12 + ], + [ + 523, + 1 + ] + ], + "doc": "~Private~" + } + }, + "523": { + "21": { + "name": "getWindowLoadTime", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 523, + 21 + ], + [ + 526, + 1 + ] + ], + "doc": " Public: Get the time taken to completely load the current window.\n\nThis time include things like loading and activating packages, creating\nDOM elements for the editor, and reading the config.\n\nReturns the number of milliseconds taken to load the window or null\nif the window hasn't finished loading yet. " + } + }, + "526": { + "20": { + "name": "crashMainProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 526, + 20 + ], + [ + 529, + 1 + ] + ], + "doc": "~Private~" + } + }, + "529": { + "22": { + "name": "crashRenderProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 529, + 22 + ], + [ + 533, + 1 + ] + ], + "doc": "~Private~" + } + }, + "533": { + "8": { + "name": "beep", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 533, + 8 + ], + [ + 537, + 1 + ] + ], + "doc": "Public: Visually and audibly trigger a beep. " + } + }, + "537": { + "25": { + "name": "getUserInitScriptPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 537, + 25 + ], + [ + 541, + 1 + ] + ], + "doc": "~Private~" + } + }, + "541": { + "25": { + "name": "requireUserInitScript", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 541, + 25 + ], + [ + 555, + 1 + ] + ] + } + }, + "555": { + "22": { + "name": "requireWithGlobals", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id", + "globals" + ], + "range": [ + [ + 555, + 22 + ], + [ + 567, + 27 + ] + ], + "doc": " Public: Require the module with the given globals.\n\nThe globals will be set on the `window` object and removed after the\nrequire completes.\n\nid - The {String} module name or path.\nglobals - An {Object} to set as globals during require (default: {}) " + } + } + }, + "exports": 35 + }, + "./build/src/browser/application-menu.coffee": { + "objects": { + "0": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "1": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "2": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "10": { + "0": { + "type": "class", + "name": "ApplicationMenu", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 22, + 10 + ], + [ + 35, + 20 + ], + [ + 47, + 23 + ], + [ + 58, + 29 + ], + [ + 63, + 21 + ], + [ + 68, + 22 + ], + [ + 90, + 22 + ], + [ + 102, + 17 + ], + [ + 113, + 21 + ], + [ + 131, + 25 + ] + ], + "doc": " Private: Used to manage the global application menu.\n\nIt's created by {AtomApplication} upon instantiation and used to add, remove\nand maintain the state of all menu items. ", + "range": [ + [ + 10, + 0 + ], + [ + 145, + 18 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 22, + 1 + ] + ] + } + }, + "22": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 22, + 10 + ], + [ + 35, + 1 + ] + ], + "doc": " Public: Updates the entire menu with the given keybindings.\n\ntemplate - The Object which describes the menu to display.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke. " + } + }, + "35": { + "20": { + "name": "flattenMenuItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "menu" + ], + "range": [ + [ + 35, + 20 + ], + [ + 47, + 1 + ] + ], + "doc": " Private: Flattens the given menu and submenu items into an single Array.\n\nmenu - A complete menu configuration object for atom-shell's menu API.\n\nReturns an Array of native menu items. " + } + }, + "47": { + "23": { + "name": "flattenMenuTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 47, + 23 + ], + [ + 58, + 1 + ] + ], + "doc": " Private: Flattens the given menu template into an single Array.\n\ntemplate - An object describing the menu item.\n\nReturns an Array of native menu items. " + } + }, + "58": { + "29": { + "name": "enableWindowSpecificItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "enable" + ], + "range": [ + [ + 58, + 29 + ], + [ + 63, + 1 + ] + ], + "doc": " Public: Used to make all window related menu items are active.\n\nenable - If true enables all window specific items, if false disables all\n window specific items. " + } + }, + "63": { + "21": { + "name": "substituteVersion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 63, + 21 + ], + [ + 68, + 1 + ] + ], + "doc": "Private: Replaces VERSION with the current version. " + } + }, + "68": { + "22": { + "name": "showUpdateMenuItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 68, + 22 + ], + [ + 90, + 1 + ] + ], + "doc": "Private: Sets the proper visible state the update menu items " + } + }, + "90": { + "22": { + "name": "getDefaultTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 22 + ], + [ + 102, + 1 + ] + ], + "doc": " Private: Default list of menu items.\n\nReturns an Array of menu item Objects. " + } + }, + "102": { + "17": { + "name": "focusedWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 17 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "21": { + "name": "translateTemplate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 113, + 21 + ], + [ + 131, + 1 + ] + ], + "doc": " Private: Combines a menu template with the appropriate keystroke.\n\ntemplate - An Object conforming to atom-shell's menu api but lacking\n accelerator and click properties.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a complete menu configuration object for atom-shell's menu API. " + } + }, + "131": { + "25": { + "name": "acceleratorForCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "keystrokesByCommand" + ], + "range": [ + [ + 131, + 25 + ], + [ + 145, + 18 + ] + ], + "doc": " Private: Determine the accelerator for a given command.\n\ncommand - The name of the command.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a String containing the keystroke in a format that can be interpreted\n by atom shell to provide nice icons where available. " + } + } + }, + "exports": 10 + }, + "./build/src/browser/atom-application.coffee": { + "objects": { + "0": { + "13": { + "name": "AtomWindow", + "type": "import", + "range": [ + [ + 0, + 13 + ], + [ + 0, + 35 + ] + ], + "bindingType": "variable", + "path": "./atom-window" + } + }, + "1": { + "18": { + "name": "ApplicationMenu", + "type": "import", + "range": [ + [ + 1, + 18 + ], + [ + 1, + 45 + ] + ], + "bindingType": "variable", + "path": "./application-menu" + } + }, + "2": { + "22": { + "name": "AtomProtocolHandler", + "type": "import", + "range": [ + [ + 2, + 22 + ], + [ + 2, + 54 + ] + ], + "bindingType": "variable", + "path": "./atom-protocol-handler" + } + }, + "3": { + "20": { + "name": "AutoUpdateManager", + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 50 + ] + ], + "bindingType": "variable", + "path": "./auto-update-manager" + } + }, + "4": { + "16": { + "name": "BrowserWindow", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 39 + ] + ], + "bindingType": "variable", + "module": "browser-window" + } + }, + "5": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "6": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 6, + 6 + ], + [ + 6, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "7": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "8": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 8, + 5 + ], + [ + 8, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "9": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 9, + 6 + ], + [ + 9, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "10": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 10, + 7 + ], + [ + 10, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "11": { + "5": { + "name": "os", + "type": "import", + "range": [ + [ + 11, + 5 + ], + [ + 11, + 16 + ] + ], + "bindingType": "variable", + "module": "os", + "builtin": true + } + }, + "12": { + "6": { + "name": "net", + "type": "import", + "range": [ + [ + 12, + 6 + ], + [ + 12, + 18 + ] + ], + "bindingType": "variable", + "module": "net", + "builtin": true + } + }, + "13": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 13, + 8 + ], + [ + 13, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "14": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 14, + 6 + ], + [ + 14, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "15": { + "1": { + "type": "import", + "range": [ + [ + 15, + 1 + ], + [ + 15, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "16": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 16, + 4 + ], + [ + 16, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "30": { + "0": { + "type": "class", + "name": "AtomApplication", + "bindingType": "exports", + "classProperties": [ + [ + 34, + 9 + ] + ], + "prototypeProperties": [ + [ + 52, + 11 + ], + [ + 53, + 19 + ], + [ + 54, + 23 + ], + [ + 55, + 16 + ], + [ + 56, + 11 + ], + [ + 58, + 8 + ], + [ + 60, + 15 + ], + [ + 83, + 19 + ], + [ + 94, + 16 + ], + [ + 99, + 13 + ], + [ + 110, + 36 + ], + [ + 119, + 20 + ], + [ + 132, + 28 + ], + [ + 136, + 16 + ], + [ + 232, + 15 + ], + [ + 245, + 23 + ], + [ + 254, + 31 + ], + [ + 274, + 19 + ], + [ + 282, + 17 + ], + [ + 287, + 17 + ], + [ + 298, + 13 + ], + [ + 311, + 12 + ], + [ + 337, + 20 + ], + [ + 341, + 24 + ], + [ + 346, + 15 + ], + [ + 364, + 11 + ], + [ + 393, + 12 + ], + [ + 406, + 17 + ], + [ + 415, + 25 + ], + [ + 440, + 17 + ] + ], + "doc": " Private: The application's singleton class.\n\nIt's the entry point into the Atom application and maintains the global state\nof the application.\n\n ", + "range": [ + [ + 30, + 0 + ], + [ + 449, + 50 + ] + ] + } + }, + "34": { + "9": { + "name": "open", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 34, + 9 + ], + [ + 52, + 1 + ] + ], + "doc": "Public: The entry point into the Atom application. " + } + }, + "52": { + "11": { + "name": "windows", + "type": "primitive", + "range": [ + [ + 52, + 11 + ], + [ + 52, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "53": { + "19": { + "name": "applicationMenu", + "type": "primitive", + "range": [ + [ + 53, + 19 + ], + [ + 53, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "54": { + "23": { + "name": "atomProtocolHandler", + "type": "primitive", + "range": [ + [ + 54, + 23 + ], + [ + 54, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "55": { + "16": { + "name": "resourcePath", + "type": "primitive", + "range": [ + [ + 55, + 16 + ], + [ + 55, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "56": { + "11": { + "name": "version", + "type": "primitive", + "range": [ + [ + 56, + 11 + ], + [ + 56, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "58": { + "8": { + "name": "exit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 58, + 8 + ], + [ + 58, + 35 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 60, + 15 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "19": { + "name": "openWithOptions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 83, + 19 + ], + [ + 94, + 1 + ] + ], + "doc": "Private: Opens a new window based on the options provided. " + } + }, + "94": { + "16": { + "name": "removeWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "window" + ], + "range": [ + [ + 94, + 16 + ], + [ + 99, + 1 + ] + ], + "doc": "Public: Removes the {AtomWindow} from the global window list. " + } + }, + "99": { + "13": { + "name": "addWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "window" + ], + "range": [ + [ + 99, + 13 + ], + [ + 110, + 1 + ] + ], + "doc": "Public: Adds the {AtomWindow} to the global window list. " + } + }, + "110": { + "36": { + "name": "listenForArgumentsFromNewProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 36 + ], + [ + 119, + 1 + ] + ], + "doc": " Private: Creates server to listen for additional atom application launches.\n\nYou can run the atom command multiple times, but after the first launch\nthe other launches will just pass their information to this server and then\nclose immediately. " + } + }, + "119": { + "20": { + "name": "deleteSocketFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 119, + 20 + ], + [ + 132, + 1 + ] + ], + "doc": "~Private~" + } + }, + "132": { + "28": { + "name": "setupJavaScriptArguments", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 132, + 28 + ], + [ + 136, + 1 + ] + ], + "doc": "Private: Configures required javascript environment flags. " + } + }, + "136": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 16 + ], + [ + 232, + 1 + ] + ], + "doc": "Private: Registers basic application commands, non-idempotent. " + } + }, + "232": { + "15": { + "name": "sendCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 232, + 15 + ], + [ + 245, + 1 + ] + ], + "doc": " Public: Executes the given command.\n\nIf it isn't handled globally, delegate to the currently focused window.\n\ncommand - The string representing the command.\nargs - The optional arguments to pass along. " + } + }, + "245": { + "23": { + "name": "sendCommandToWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "atomWindow", + "args" + ], + "range": [ + [ + 245, + 23 + ], + [ + 254, + 1 + ] + ], + "doc": " Public: Executes the given command on the given window.\n\ncommand - The string representing the command.\natomWindow - The {AtomWindow} to send the command to.\nargs - The optional arguments to pass along. " + } + }, + "254": { + "31": { + "name": "sendCommandToFirstResponder", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command" + ], + "range": [ + [ + 254, + 31 + ], + [ + 274, + 1 + ] + ], + "doc": " Private: Translates the command into OS X action and sends it to application's first\nresponder. " + } + }, + "274": { + "19": { + "name": "openPathOnEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventName", + "pathToOpen" + ], + "range": [ + [ + 274, + 19 + ], + [ + 282, + 1 + ] + ], + "doc": " Public: Open the given path in the focused window when the event is\ntriggered.\n\nA new window will be created if there is no currently focused window.\n\neventName - The event to listen for.\npathToOpen - The path to open when the event is triggered. " + } + }, + "282": { + "17": { + "name": "windowForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen" + ], + "range": [ + [ + 282, + 17 + ], + [ + 287, + 1 + ] + ], + "doc": "Private: Returns the {AtomWindow} for the given path. " + } + }, + "287": { + "17": { + "name": "focusedWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 287, + 17 + ], + [ + 298, + 1 + ] + ], + "doc": "Public: Returns the currently focused {AtomWindow} or undefined if none. " + } + }, + "298": { + "13": { + "name": "openPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 298, + 13 + ], + [ + 311, + 1 + ] + ], + "doc": " Public: Opens multiple paths, in existing windows if possible.\n\noptions -\n :pathsToOpen - The array of file paths to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " + } + }, + "311": { + "12": { + "name": "openPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 311, + 12 + ], + [ + 337, + 1 + ] + ], + "doc": " Public: Opens a single path, in an existing window if possible.\n\noptions -\n :pathToOpen - The file path to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode.\n :windowDimensions - Object with height and width keys. " + } + }, + "337": { + "20": { + "name": "killAllProcesses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 337, + 20 + ], + [ + 341, + 1 + ] + ], + "doc": "Private: Kill all processes associated with opened windows. " + } + }, + "341": { + "24": { + "name": "killProcessForWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "openedWindow" + ], + "range": [ + [ + 341, + 24 + ], + [ + 346, + 1 + ] + ], + "doc": "Private: Kill process associated with the given opened window. " + } + }, + "346": { + "15": { + "name": "killProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pid" + ], + "range": [ + [ + 346, + 15 + ], + [ + 364, + 1 + ] + ], + "doc": "Private: Kill the process with the given pid. " + } + }, + "364": { + "11": { + "name": "openUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 364, + 11 + ], + [ + 393, + 1 + ] + ], + "doc": " Private: Open an atom:// url.\n\nThe host of the URL being opened is assumed to be the package name\nresponsible for opening the URL. A new window will be created with\nthat package's `urlMain` as the bootstrap script.\n\noptions -\n :urlToOpen - The atom:// url to open.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " + } + }, + "393": { + "12": { + "name": "runSpecs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 393, + 12 + ], + [ + 406, + 1 + ] + ], + "doc": " Private: Opens up a new {AtomWindow} to run specs within.\n\noptions -\n :exitWhenDone - A Boolean that if true, will close the window upon\n completion.\n :resourcePath - The path to include specs from.\n :specPath - The directory to load specs from. " + } + }, + "406": { + "17": { + "name": "runBenchmarks", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 406, + 17 + ], + [ + 415, + 1 + ] + ], + "doc": "~Private~" + } + }, + "415": { + "25": { + "name": "locationForPathToOpen", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen" + ], + "range": [ + [ + 415, + 25 + ], + [ + 440, + 1 + ] + ], + "doc": "~Private~" + } + }, + "440": { + "17": { + "name": "promptForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 440, + 17 + ], + [ + 449, + 50 + ] + ], + "doc": " Private: Opens a native dialog to prompt the user for a path.\n\nOnce paths are selected, they're opened in a new or existing {AtomWindow}s.\n\noptions -\n :type - A String which specifies the type of the dialog, could be 'file',\n 'folder' or 'all'. The 'all' is only available on OS X.\n :devMode - A Boolean which controls whether any newly opened windows\n should be in dev mode or not.\n :safeMode - A Boolean which controls whether any newly opened windows\n should be in safe mode or not. " + } + } + }, + "exports": 30 + }, + "./build/src/browser/atom-protocol-handler.coffee": { + "objects": { + "0": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "2": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "3": { + "11": { + "name": "protocol", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "protocol" + } + }, + "10": { + "0": { + "type": "class", + "name": "AtomProtocolHandler", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 21, + 24 + ] + ], + "doc": " Private: Handles requests with 'atom' protocol.\n\nIt's created by {AtomApplication} upon instantiation, and is used to create a\ncustom resource loader by adding the 'atom' custom protocol. ", + "range": [ + [ + 10, + 0 + ], + [ + 27, + 50 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 21, + 1 + ] + ] + } + }, + "21": { + "24": { + "name": "registerAtomProtocol", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 24 + ], + [ + 27, + 50 + ] + ], + "doc": "Private: Creates the 'atom' custom protocol handler. " + } + } + }, + "exports": 10 + }, + "./build/src/browser/atom-window.coffee": { + "objects": { + "0": { + "16": { + "name": "BrowserWindow", + "type": "import", + "range": [ + [ + 0, + 16 + ], + [ + 0, + 39 + ] + ], + "bindingType": "variable", + "module": "browser-window" + } + }, + "1": { + "14": { + "name": "ContextMenu", + "type": "import", + "range": [ + [ + 1, + 14 + ], + [ + 1, + 37 + ] + ], + "bindingType": "variable", + "path": "./context-menu" + } + }, + "2": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "3": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 3, + 9 + ], + [ + 3, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "4": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "6": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 6, + 6 + ], + [ + 6, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "7": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "11": { + "0": { + "type": "class", + "name": "AtomWindow", + "bindingType": "exports", + "classProperties": [ + [ + 14, + 13 + ], + [ + 15, + 25 + ] + ], + "prototypeProperties": [ + [ + 17, + 17 + ], + [ + 18, + 10 + ], + [ + 19, + 10 + ], + [ + 21, + 15 + ], + [ + 56, + 10 + ], + [ + 68, + 18 + ], + [ + 71, + 16 + ], + [ + 86, + 16 + ], + [ + 126, + 12 + ], + [ + 133, + 15 + ], + [ + 147, + 30 + ], + [ + 151, + 17 + ], + [ + 156, + 9 + ], + [ + 158, + 9 + ], + [ + 160, + 12 + ], + [ + 162, + 12 + ], + [ + 164, + 11 + ], + [ + 166, + 23 + ], + [ + 169, + 13 + ], + [ + 171, + 20 + ], + [ + 173, + 16 + ], + [ + 175, + 10 + ], + [ + 177, + 18 + ] + ], + "doc": "~Private~", + "range": [ + [ + 11, + 0 + ], + [ + 177, + 52 + ] + ] + } + }, + "14": { + "13": { + "name": "iconPath", + "type": "function", + "range": [ + [ + 14, + 13 + ], + [ + 14, + 72 + ] + ], + "bindingType": "classProperty" + } + }, + "15": { + "25": { + "name": "includeShellLoadTime", + "type": "primitive", + "range": [ + [ + 15, + 25 + ], + [ + 15, + 28 + ] + ], + "bindingType": "classProperty" + } + }, + "17": { + "17": { + "name": "browserWindow", + "type": "primitive", + "range": [ + [ + 17, + 17 + ], + [ + 17, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "10": { + "name": "loaded", + "type": "primitive", + "range": [ + [ + 18, + 10 + ], + [ + 18, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "10": { + "name": "isSpec", + "type": "primitive", + "range": [ + [ + 19, + 10 + ], + [ + 19, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "settings" + ], + "range": [ + [ + 21, + 15 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "10": { + "name": "getUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "loadSettingsObj" + ], + "range": [ + [ + 56, + 10 + ], + [ + 68, + 1 + ] + ], + "doc": "~Private~" + } + }, + "68": { + "18": { + "name": "getInitialPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 18 + ], + [ + 71, + 1 + ] + ], + "doc": "~Private~" + } + }, + "71": { + "16": { + "name": "containsPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToCheck" + ], + "range": [ + [ + 71, + 16 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 16 + ], + [ + 126, + 1 + ] + ], + "doc": "~Private~" + } + }, + "126": { + "12": { + "name": "openPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToOpen", + "initialLine", + "initialColumn" + ], + "range": [ + [ + 126, + 12 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "15": { + "name": "sendCommand", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 133, + 15 + ], + [ + 147, + 1 + ] + ], + "doc": "~Private~" + } + }, + "147": { + "30": { + "name": "sendCommandToBrowserWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "command", + "args" + ], + "range": [ + [ + 147, + 30 + ], + [ + 151, + 1 + ] + ], + "doc": "~Private~" + } + }, + "151": { + "17": { + "name": "getDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 151, + 17 + ], + [ + 156, + 1 + ] + ], + "doc": "~Private~" + } + }, + "156": { + "9": { + "name": "close", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 156, + 9 + ], + [ + 156, + 33 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 9 + ], + [ + 158, + 33 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "12": { + "name": "minimize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 160, + 12 + ], + [ + 160, + 39 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "12": { + "name": "maximize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 12 + ], + [ + 162, + 39 + ] + ], + "doc": "~Private~" + } + }, + "164": { + "11": { + "name": "restore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 164, + 11 + ], + [ + 164, + 37 + ] + ], + "doc": "~Private~" + } + }, + "166": { + "23": { + "name": "handlesAtomCommands", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 166, + 23 + ], + [ + 169, + 1 + ] + ], + "doc": "~Private~" + } + }, + "169": { + "13": { + "name": "isFocused", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 169, + 13 + ], + [ + 169, + 41 + ] + ], + "doc": "~Private~" + } + }, + "171": { + "20": { + "name": "isWebViewFocused", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 20 + ], + [ + 171, + 55 + ] + ], + "doc": "~Private~" + } + }, + "173": { + "16": { + "name": "isSpecWindow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 173, + 16 + ], + [ + 173, + 25 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "10": { + "name": "reload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 175, + 10 + ], + [ + 175, + 36 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "18": { + "name": "toggleDevTools", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 18 + ], + [ + 177, + 51 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 11 + }, + "./build/src/browser/auto-update-manager.coffee": { + "objects": { + "0": { + "8": { + "name": "https", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 22 + ] + ], + "bindingType": "variable", + "module": "https", + "builtin": true + } + }, + "1": { + "14": { + "name": "autoUpdater", + "type": "import", + "range": [ + [ + 1, + 14 + ], + [ + 1, + 35 + ] + ], + "bindingType": "variable", + "module": "auto-updater" + } + }, + "2": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 12 + ] + ], + "bindingType": "variable", + "module": "events", + "builtin": true, + "name": "EventEmitter", + "exportsProperty": "EventEmitter" + } + }, + "6": { + "11": { + "name": "'idle'", + "type": "primitive", + "range": [ + [ + 6, + 11 + ], + [ + 6, + 16 + ] + ] + } + }, + "7": { + "15": { + "name": "'checking'", + "type": "primitive", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 24 + ] + ] + } + }, + "8": { + "18": { + "name": "'downloading'", + "type": "primitive", + "range": [ + [ + 8, + 18 + ], + [ + 8, + 30 + ] + ] + } + }, + "9": { + "23": { + "name": "'update-available'", + "type": "primitive", + "range": [ + [ + 9, + 23 + ], + [ + 9, + 40 + ] + ] + } + }, + "10": { + "26": { + "name": "'no-update-available'", + "type": "primitive", + "range": [ + [ + 10, + 26 + ], + [ + 10, + 46 + ] + ] + } + }, + "11": { + "12": { + "name": "'error'", + "type": "primitive", + "range": [ + [ + 11, + 12 + ], + [ + 11, + 18 + ] + ] + } + }, + "14": { + "0": { + "type": "class", + "name": "AutoUpdateManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 15 + ], + [ + 48, + 23 + ], + [ + 63, + 28 + ], + [ + 68, + 12 + ], + [ + 73, + 12 + ], + [ + 76, + 9 + ], + [ + 83, + 11 + ], + [ + 86, + 24 + ], + [ + 90, + 17 + ], + [ + 94, + 14 + ] + ], + "doc": "~Private~", + "range": [ + [ + 14, + 0 + ], + [ + 95, + 34 + ] + ] + } + }, + "17": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 17, + 15 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "23": { + "name": "checkForUpdatesShim", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 23 + ], + [ + 63, + 1 + ] + ], + "doc": "Private: Windows doesn't have an auto-updater, so use this method to shim the events. " + } + }, + "63": { + "28": { + "name": "emitUpdateAvailableEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "windows" + ], + "range": [ + [ + 63, + 28 + ], + [ + 68, + 1 + ] + ], + "doc": "~Private~" + } + }, + "68": { + "12": { + "name": "setState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 68, + 12 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "12": { + "name": "getState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 12 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "9": { + "name": "check", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 76, + 9 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "11": { + "name": "install", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 83, + 11 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "24": { + "name": "onUpdateNotAvailable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 24 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "17": { + "name": "onUpdateError", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event", + "message" + ], + "range": [ + [ + 90, + 17 + ], + [ + 94, + 1 + ] + ], + "doc": "~Private~" + } + }, + "94": { + "14": { + "name": "getWindows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 14 + ], + [ + 95, + 34 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 14 + }, + "./build/src/browser/context-menu.coffee": { + "objects": { + "0": { + "7": { + "name": "Menu", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "menu" + } + }, + "3": { + "0": { + "type": "class", + "name": "ContextMenu", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 4, + 15 + ], + [ + 12, + 23 + ] + ], + "doc": "~Private~", + "range": [ + [ + 3, + 0 + ], + [ + 23, + 10 + ] + ] + } + }, + "4": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + null + ], + "range": [ + [ + 4, + 15 + ], + [ + 12, + 1 + ] + ] + } + }, + "12": { + "23": { + "name": "createClickHandlers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template" + ], + "range": [ + [ + 12, + 23 + ], + [ + 23, + 10 + ] + ], + "doc": " Private: It's necessary to build the event handlers in this process, otherwise\nclosures are drug across processes and failed to be garbage collected\nappropriately. " + } + } + }, + "exports": 3 + }, + "./build/src/browser/main.coffee": { + "objects": { + "0": { + "24": { + "name": "global.shellStartTime", + "type": "function", + "range": [ + [ + 0, + 24 + ], + [ + 0, + 33 + ] + ] + } + }, + "2": { + "16": { + "name": "crashReporter", + "type": "import", + "range": [ + [ + 2, + 16 + ], + [ + 2, + 39 + ] + ], + "bindingType": "variable", + "module": "crash-reporter" + } + }, + "3": { + "6": { + "name": "app", + "type": "import", + "range": [ + [ + 3, + 6 + ], + [ + 3, + 18 + ] + ], + "bindingType": "variable", + "module": "app" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 16 + ] + ], + "bindingType": "variable", + "module": "fs", + "builtin": true + } + }, + "6": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 6, + 7 + ], + [ + 6, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "7": { + "11": { + "name": "optimist", + "type": "import", + "range": [ + [ + 7, + 11 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "optimist@0.4.0" + } + }, + "8": { + "8": { + "name": "nslog", + "type": "import", + "range": [ + [ + 8, + 8 + ], + [ + 8, + 22 + ] + ], + "bindingType": "variable", + "module": "nslog@^1.0.1" + } + }, + "9": { + "9": { + "name": "dialog", + "type": "import", + "range": [ + [ + 9, + 9 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "module": "dialog" + } + }, + "11": { + "14": { + "name": "nslog", + "type": "primitive", + "range": [ + [ + 11, + 14 + ], + [ + 11, + 18 + ] + ] + } + }, + "17": { + "8": { + "name": "start", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 8 + ], + [ + 51, + 0 + ] + ], + "doc": "~Private~" + } + }, + "54": { + "25": { + "name": "global.devResourcePath", + "type": "function", + "range": [ + [ + 54, + 25 + ], + [ + 54, + 62 + ] + ] + } + }, + "56": { + "21": { + "name": "setupCrashReporter", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 21 + ], + [ + 58, + 0 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "19": { + "name": "parseCommandLine", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 19 + ], + [ + 110, + 0 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": {} + }, + "./build/src/buffered-node-process.coffee": { + "objects": { + "0": { + "18": { + "name": "BufferedProcess", + "type": "import", + "range": [ + [ + 0, + 18 + ], + [ + 0, + 45 + ] + ], + "bindingType": "variable", + "path": "./buffered-process" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "14": { + "0": { + "type": "class", + "name": "BufferedNodeProcess", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 36, + 15 + ] + ], + "doc": " Public: Like {BufferedProcess}, but accepts a Node script as the command\nto run.\n\nThis is necessary on Windows since it doesn't support shebang `#!` lines.\n\n## Requiring in packages\n\n```coffee\n{BufferedNodeProcess} = require 'atom'\n``` ", + "range": [ + [ + 14, + 0 + ], + [ + 50, + 63 + ] + ] + } + }, + "36": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 36, + 15 + ], + [ + 50, + 63 + ] + ], + "doc": " Public: Runs the given Node script by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} path to the JavaScript script to execute.\n :args - The {Array} of arguments to pass to the script (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " + } + } + }, + "exports": 14 + }, + "./build/src/buffered-process.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "15": { + "name": "ChildProcess", + "type": "import", + "range": [ + [ + 1, + 15 + ], + [ + 1, + 37 + ] + ], + "bindingType": "variable", + "module": "child_process", + "builtin": true + } + }, + "18": { + "0": { + "type": "class", + "name": "BufferedProcess", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 40, + 15 + ], + [ + 99, + 16 + ], + [ + 117, + 8 + ] + ], + "doc": " Public: A wrapper which provides standard error/output line buffering for\nNode's ChildProcess.\n\n## Requiring in packages\n\n```coffee\n{BufferedProcess} = require 'atom'\n\ncommand = 'ps'\nargs = ['-ef']\nstdout = (output) -> console.log(output)\nexit = (code) -> console.log(\"ps -ef exited with #{code}\")\nprocess = new BufferedProcess({command, args, stdout, exit})\n``` ", + "range": [ + [ + 18, + 0 + ], + [ + 120, + 19 + ] + ] + } + }, + "40": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 40, + 15 + ], + [ + 99, + 1 + ] + ], + "doc": " Public: Runs the given command by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} command to execute.\n :args - The {Array} of arguments to pass to the command (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " + } + }, + "99": { + "16": { + "name": "bufferStream", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stream", + "onLines", + "onDone" + ], + "range": [ + [ + 99, + 16 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: Helper method to pass data line by line.\n\nstream - The Stream to read from.\nonLines - The callback to call with each line of data.\nonDone - The callback to call when the stream has closed. " + } + }, + "117": { + "8": { + "name": "kill", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 8 + ], + [ + 120, + 19 + ] + ], + "doc": "Public: Terminate the process. " + } + } + }, + "exports": 18 + }, + "./build/src/clipboard.coffee": { + "objects": { + "0": { + "12": { + "name": "clipboard", + "type": "import", + "range": [ + [ + 0, + 12 + ], + [ + 0, + 30 + ] + ], + "bindingType": "variable", + "module": "clipboard" + } + }, + "1": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 1, + 9 + ], + [ + 1, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "7": { + "0": { + "type": "class", + "name": "Clipboard", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 8, + 12 + ], + [ + 9, + 24 + ], + [ + 16, + 7 + ], + [ + 26, + 9 + ], + [ + 34, + 8 + ], + [ + 43, + 20 + ] + ], + "doc": " Public: Represents the clipboard used for copying and pasting in Atom.\n\nAn instance of this class is always available as the `atom.clipboard` global. ", + "range": [ + [ + 7, + 0 + ], + [ + 48, + 12 + ] + ] + } + }, + "8": { + "12": { + "name": "metadata", + "type": "primitive", + "range": [ + [ + 8, + 12 + ], + [ + 8, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "24": { + "name": "signatureForMetadata", + "type": "primitive", + "range": [ + [ + 9, + 24 + ], + [ + 9, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "7": { + "name": "md5", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 16, + 7 + ], + [ + 26, + 1 + ] + ], + "doc": " Private: Creates an `md5` hash of some text.\n\ntext - A {String} to hash.\n\nReturns a hashed {String}. " + } + }, + "26": { + "9": { + "name": "write", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "metadata" + ], + "range": [ + [ + 26, + 9 + ], + [ + 34, + 1 + ] + ], + "doc": " Public: Write the given text to the clipboard.\n\nThe metadata associated with the text is available by calling\n{::readWithMetadata}.\n\ntext - The {String} to store.\nmetadata - The additional info to associate with the text. " + } + }, + "34": { + "8": { + "name": "read", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 8 + ], + [ + 43, + 1 + ] + ], + "doc": " Public: Read the text from the clipboard.\n\nReturns a {String}. " + } + }, + "43": { + "20": { + "name": "readWithMetadata", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 20 + ], + [ + 48, + 12 + ] + ], + "doc": " Public: Read the text from the clipboard and return both the text and the\nassociated metadata.\n\nReturns an {Object} with the following keys:\n :text - The {String} clipboard text.\n :metadata - The metadata stored by an earlier call to {::write}. " + } + } + }, + "exports": 7 + }, + "./build/src/coffee-cache.coffee": { + "objects": { + "0": { + "9": { + "name": "crypto", + "type": "import", + "range": [ + [ + 0, + 9 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "crypto", + "builtin": true + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "3": { + "15": { + "name": "CoffeeScript", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 37 + ] + ], + "bindingType": "variable", + "module": "coffee-script@1.7.0" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1.0.2" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "8": { + "17": { + "name": "coffeeCacheDir", + "type": "function", + "range": [ + [ + 8, + 17 + ], + [ + 8, + 45 + ] + ] + } + }, + "11": { + "15": { + "name": "getCachePath", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "coffee" + ], + "range": [ + [ + 11, + 15 + ], + [ + 14, + 0 + ] + ], + "doc": "~Private~" + } + }, + "15": { + "22": { + "name": "getCachedJavaScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "cachePath" + ], + "range": [ + [ + 15, + 22 + ], + [ + 19, + 0 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "18": { + "name": "convertFilePath", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 20, + 18 + ], + [ + 24, + 0 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "22": { + "name": "compileCoffeeScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "coffee", + "filePath", + "cachePath" + ], + "range": [ + [ + 25, + 22 + ], + [ + 33, + 0 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "22": { + "name": "requireCoffeeScript", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "module", + "filePath" + ], + "range": [ + [ + 34, + 22 + ], + [ + 39, + 0 + ] + ] + } + }, + "41": { + "12": { + "name": "cacheDir", + "type": "primitive", + "range": [ + [ + 41, + 12 + ], + [ + 41, + 19 + ] + ] + } + }, + "42": { + "12": { + "name": "register", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 12 + ], + [ + 46, + 6 + ] + ], + "doc": null + } + } + }, + "exports": 41 + }, + "./build/src/command-installer.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "2": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 22 + ] + ], + "bindingType": "variable", + "module": "async@0.2.6" + } + }, + "3": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 3, + 5 + ], + [ + 3, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "4": { + "9": { + "name": "mkdirp", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 24 + ] + ], + "bindingType": "variable", + "module": "mkdirp@0.3.5" + } + }, + "5": { + "8": { + "name": "runas", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "module": "runas@1.0.1" + } + }, + "7": { + "17": { + "name": "symlinkCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "sourcePath", + "destinationPath", + "callback" + ], + "range": [ + [ + 7, + 17 + ], + [ + 17, + 0 + ] + ], + "doc": "~Private~" + } + }, + "18": { + "34": { + "name": "symlinkCommandWithPrivilegeSync", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "sourcePath", + "destinationPath" + ], + "range": [ + [ + 18, + 34 + ], + [ + 27, + 0 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "23": { + "name": "getInstallDirectory", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 23 + ], + [ + 32, + 1 + ] + ], + "doc": null + } + }, + "32": { + "11": { + "name": "install", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "commandPath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 32, + 11 + ], + [ + 52, + 1 + ] + ], + "doc": null + } + }, + "52": { + "22": { + "name": "installAtomCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "resourcePath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 52, + 22 + ], + [ + 56, + 1 + ] + ], + "doc": null + } + }, + "56": { + "21": { + "name": "installApmCommand", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "resourcePath", + "askForPrivilege", + "callback" + ], + "range": [ + [ + 56, + 21 + ], + [ + 58, + 51 + ] + ], + "doc": null + } + } + }, + "exports": 29 + }, + "./build/src/config.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "3": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1.0.2" + } + }, + "4": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "5": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "module": "async@0.2.6" + } + }, + "6": { + "14": { + "name": "pathWatcher", + "type": "import", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 34 + ] + ], + "bindingType": "variable", + "module": "pathwatcher@^2.0.6" + } + }, + "25": { + "0": { + "type": "class", + "name": "Config", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 36, + 29 + ], + [ + 52, + 8 + ], + [ + 57, + 18 + ], + [ + 72, + 21 + ], + [ + 76, + 23 + ], + [ + 80, + 15 + ], + [ + 91, + 21 + ], + [ + 95, + 15 + ], + [ + 104, + 7 + ], + [ + 114, + 10 + ], + [ + 125, + 18 + ], + [ + 136, + 7 + ], + [ + 152, + 10 + ], + [ + 160, + 18 + ], + [ + 168, + 14 + ], + [ + 178, + 13 + ], + [ + 187, + 17 + ], + [ + 199, + 20 + ], + [ + 211, + 19 + ], + [ + 231, + 11 + ], + [ + 253, + 13 + ], + [ + 256, + 10 + ], + [ + 261, + 8 + ] + ], + "doc": " Public: Used to access all of Atom's configuration details.\n\nAn instance of this class is always available as the `atom.config` global.\n\n## Best practices\n\n* Create your own root keypath using your package's name.\n* Don't depend on (or write to) configuration keys outside of your keypath.\n\n## Example\n\n```coffeescript\natom.config.set('my-package.key', 'value')\natom.config.observe 'my-package.key', ->\n console.log 'My configuration changed:', atom.config.get('my-package.key')\n``` ", + "range": [ + [ + 25, + 0 + ], + [ + 262, + 50 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 29, + 15 + ], + [ + 36, + 1 + ] + ], + "doc": "Private: Created during initialization, available as `atom.config` " + } + }, + "36": { + "29": { + "name": "initializeConfigDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "done" + ], + "range": [ + [ + 36, + 29 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 8 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "18": { + "name": "loadUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 18 + ], + [ + 72, + 1 + ] + ], + "doc": "~Private~" + } + }, + "72": { + "21": { + "name": "observeUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 72, + 21 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "23": { + "name": "unobserveUserConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 23 + ], + [ + 80, + 1 + ] + ], + "doc": "~Private~" + } + }, + "80": { + "15": { + "name": "setDefaults", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "defaults" + ], + "range": [ + [ + 80, + 15 + ], + [ + 91, + 1 + ] + ], + "doc": "~Private~" + } + }, + "91": { + "21": { + "name": "getUserConfigPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 21 + ], + [ + 95, + 1 + ] + ], + "doc": "Public: Get the {String} path to the config file being used. " + } + }, + "95": { + "15": { + "name": "getSettings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 95, + 15 + ], + [ + 104, + 1 + ] + ], + "doc": "Public: Returns a new {Object} containing all of settings and defaults. " + } + }, + "104": { + "7": { + "name": "get", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 104, + 7 + ], + [ + 114, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key.\n\nkeyPath - The {String} name of the key to retrieve.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `null` if the key doesn't exist in either. " + } + }, + "114": { + "10": { + "name": "getInt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 114, + 10 + ], + [ + 125, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key as an integer.\n\nkeyPath - The {String} name of the key to retrieve\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `NaN` if the key doesn't exist in either. " + } + }, + "125": { + "18": { + "name": "getPositiveInt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "defaultValue" + ], + "range": [ + [ + 125, + 18 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Retrieves the setting for the given key as a positive integer.\n\nkeyPath - The {String} name of the key to retrieve\ndefaultValue - The integer {Number} to fall back to if the value isn't\n positive, defaults to 0.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `defaultValue` if the key value isn't greater than zero. " + } + }, + "136": { + "7": { + "name": "set", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 136, + 7 + ], + [ + 152, + 1 + ] + ], + "doc": " Public: Sets the value for a configuration setting.\n\nThis value is stored in Atom's internal configuration file.\n\nkeyPath - The {String} name of the key.\nvalue - The value of the setting.\n\nReturns the `value`. " + } + }, + "152": { + "10": { + "name": "toggle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 152, + 10 + ], + [ + 160, + 1 + ] + ], + "doc": " Public: Toggle the value at the key path.\n\nThe new value will be `true` if the value is currently falsy and will be\n`false` if the value is currently truthy.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " + } + }, + "160": { + "18": { + "name": "restoreDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 160, + 18 + ], + [ + 168, + 1 + ] + ], + "doc": " Public: Restore the key path to its default value.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " + } + }, + "168": { + "14": { + "name": "getDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 168, + 14 + ], + [ + 178, + 1 + ] + ], + "doc": " Public: Get the default value of the key path.\n\nkeyPath - The {String} name of the key.\n\nReturns the default value. " + } + }, + "178": { + "13": { + "name": "isDefault", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 178, + 13 + ], + [ + 187, + 1 + ] + ], + "doc": " Public: Is the key path value its default value?\n\nkeyPath - The {String} name of the key.\n\nReturns a {Boolean}, `true` if the current value is the default, `false`\notherwise. " + } + }, + "187": { + "17": { + "name": "pushAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 187, + 17 + ], + [ + 199, + 1 + ] + ], + "doc": " Public: Push the value to the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to push to the array.\n\nReturns the new array length {Number} of the setting. " + } + }, + "199": { + "20": { + "name": "unshiftAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 199, + 20 + ], + [ + 211, + 1 + ] + ], + "doc": " Public: Add the value to the beginning of the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to shift onto the array.\n\nReturns the new array length {Number} of the setting. " + } + }, + "211": { + "19": { + "name": "removeAtKeyPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "value" + ], + "range": [ + [ + 211, + 19 + ], + [ + 231, + 1 + ] + ], + "doc": " Public: Remove the value from the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to remove from the array.\n\nReturns the new array value of the setting. " + } + }, + "231": { + "11": { + "name": "observe", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath", + "options", + "callback" + ], + "range": [ + [ + 231, + 11 + ], + [ + 253, + 1 + ] + ], + "doc": " Public: Establishes an event listener for a given key.\n\n`callback` is fired whenever the value of the key is changed and will\n be fired immediately unless the `callNow` option is `false`.\n\nkeyPath - The {String} name of the key to observe\noptions - An optional {Object} containing the `callNow` key.\ncallback - The {Function} to call when the value of the key changes.\n The first argument will be the new value of the key and the\n  second argument will be an {Object} with a `previous` property\n that is the prior value of the key.\n\nReturns an {Object} with the following keys:\n :off - A {Function} that unobserves the `keyPath` when called. " + } + }, + "253": { + "13": { + "name": "unobserve", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keyPath" + ], + "range": [ + [ + 253, + 13 + ], + [ + 256, + 1 + ] + ], + "doc": " Public: Unobserve all callbacks on a given key.\n\nkeyPath - The {String} name of the key to unobserve. " + } + }, + "256": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 10 + ], + [ + 261, + 1 + ] + ], + "doc": "~Private~" + } + }, + "261": { + "8": { + "name": "save", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 8 + ], + [ + 262, + 50 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 25 + }, + "./build/src/context-menu-manager.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "2": { + "9": { + "name": "remote", + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 24 + ] + ], + "bindingType": "variable", + "module": "remote" + } + }, + "10": { + "0": { + "type": "class", + "name": "ContextMenuManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 33, + 7 + ], + [ + 45, + 17 + ], + [ + 60, + 17 + ], + [ + 66, + 25 + ], + [ + 82, + 38 + ], + [ + 91, + 34 + ], + [ + 105, + 24 + ], + [ + 111, + 16 + ] + ], + "doc": " Public: Provides a registry for commands that you'd like to appear in the\ncontext menu.\n\nAn instance of this class is always available as the `atom.contextMenu`\nglobal. ", + "range": [ + [ + 10, + 0 + ], + [ + 116, + 64 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 33, + 1 + ] + ] + } + }, + "33": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "object", + null + ], + "range": [ + [ + 33, + 7 + ], + [ + 45, + 1 + ] + ], + "doc": " Public: Creates menu definitions from the object specified by the menu\ncson API.\n\nname - The path of the file that contains the menu definitions.\nobject - The 'context-menu' object specified in the menu cson API.\noptions - An {Object} with the following keys:\n :devMode - Determines whether the entries should only be shown when\n the window is in dev mode.\n\nReturns nothing. " + } + }, + "45": { + "17": { + "name": "buildMenuItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "label", + "command" + ], + "range": [ + [ + 45, + 17 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "17": { + "name": "addBySelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "definition", + null + ], + "range": [ + [ + 60, + 17 + ], + [ + 66, + 1 + ] + ], + "doc": " Private: Registers a command to be displayed when the relevant item is right\nclicked.\n\nselector - The css selector for the active element which should include\n the given command in its context menu.\ndefinition - The object containing keys which match the menu template API.\noptions - An {Object} with the following keys:\n :devMode - Indicates whether this command should only appear while the\n editor is in dev mode. " + } + }, + "66": { + "25": { + "name": "definitionsForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element", + null + ], + "range": [ + [ + 66, + 25 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Returns definitions which match the element and devMode. " + } + }, + "82": { + "38": { + "name": "menuTemplateForMostSpecificElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element", + null + ], + "range": [ + [ + 82, + 38 + ], + [ + 91, + 1 + ] + ], + "doc": " Private: Used to generate the context menu for a specific element and it's\nparents.\n\nThe menu items are sorted such that menu items that match closest to the\nactive element are listed first. The further down the list you go, the higher\nup the ancestor hierarchy they match.\n\nelement - The DOM element to generate the menu template for. " + } + }, + "91": { + "34": { + "name": "combinedMenuTemplateForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 91, + 34 + ], + [ + 105, + 1 + ] + ], + "doc": " Private: Returns a menu template for both normal entries as well as\ndevelopment mode entries. " + } + }, + "105": { + "24": { + "name": "executeBuildHandlers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event", + "menuTemplate" + ], + "range": [ + [ + 105, + 24 + ], + [ + 111, + 1 + ] + ], + "doc": " Private: Executes `executeAtBuild` if defined for each menu item with\nthe provided event and then removes the `executeAtBuild` property from\nthe menu item.\n\nThis is useful for commands that need to provide data about the event\nto the command. " + } + }, + "111": { + "16": { + "name": "showForEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 111, + 16 + ], + [ + 116, + 64 + ] + ], + "doc": "Public: Request a context menu to be displayed. " + } + } + }, + "exports": 10 + }, + "./build/src/cursor-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork@^0.11.1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork@^1.0.0", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "18": { + "name": "CursorComponent", + "type": "function", + "range": [ + [ + 5, + 18 + ], + [ + 17, + 79 + ] + ] + } + }, + "6": { + "15": { + "name": "'CursorComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 31 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 16, + 1 + ] + ], + "doc": null + } + }, + "16": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 16, + 25 + ], + [ + 17, + 79 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "./build/src/cursor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "4": { + "0": { + "type": "class", + "name": "CursorView", + "bindingType": "exports", + "classProperties": [ + [ + 5, + 12 + ], + [ + 8, + 16 + ], + [ + 10, + 17 + ], + [ + 13, + 18 + ], + [ + 19, + 17 + ] + ], + "prototypeProperties": [ + [ + 24, + 12 + ], + [ + 25, + 11 + ], + [ + 26, + 15 + ], + [ + 27, + 16 + ], + [ + 28, + 23 + ], + [ + 30, + 14 + ], + [ + 44, + 16 + ], + [ + 48, + 17 + ], + [ + 65, + 12 + ], + [ + 68, + 19 + ], + [ + 71, + 19 + ], + [ + 74, + 20 + ], + [ + 77, + 14 + ], + [ + 86, + 16 + ], + [ + 90, + 17 + ], + [ + 94, + 17 + ], + [ + 98, + 21 + ], + [ + 101, + 21 + ], + [ + 104, + 30 + ], + [ + 109, + 24 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 112, + 31 + ] + ] + } + }, + "5": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 12 + ], + [ + 8, + 1 + ] + ] + } + }, + "8": { + "16": { + "name": "blinkPeriod", + "type": "primitive", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 18 + ] + ], + "bindingType": "classProperty" + } + }, + "10": { + "17": { + "name": "blinkCursors", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 17 + ], + [ + 13, + 1 + ] + ], + "doc": "~Private~" + } + }, + "13": { + "18": { + "name": "startBlinking", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 13, + 18 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "17": { + "name": "stopBlinking", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 19, + 17 + ], + [ + 24, + 1 + ] + ], + "doc": "~Private~" + } + }, + "24": { + "12": { + "name": "blinking", + "type": "primitive", + "range": [ + [ + 24, + 12 + ], + [ + 24, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "25": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 25, + 11 + ], + [ + 25, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "26": { + "15": { + "name": "needsUpdate", + "type": "primitive", + "range": [ + [ + 26, + 15 + ], + [ + 26, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "27": { + "16": { + "name": "needsRemoval", + "type": "primitive", + "range": [ + [ + 27, + 16 + ], + [ + 27, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "28": { + "23": { + "name": "shouldPauseBlinking", + "type": "primitive", + "range": [ + [ + 28, + 23 + ], + [ + 28, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "30": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 30, + 14 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 16 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 17 + ], + [ + 65, + 1 + ] + ], + "doc": "~Private~" + } + }, + "65": { + "12": { + "name": "isHidden", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 65, + 12 + ], + [ + 68, + 1 + ] + ], + "doc": "Private: Override for speed. The base function checks the computedStyle " + } + }, + "68": { + "19": { + "name": "needsAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 19 + ], + [ + 71, + 1 + ] + ], + "doc": "~Private~" + } + }, + "71": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 71, + 19 + ], + [ + 74, + 1 + ] + ], + "doc": "~Private~" + } + }, + "74": { + "20": { + "name": "getPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 20 + ], + [ + 77, + 1 + ] + ], + "doc": "~Private~" + } + }, + "77": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 77, + 14 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "16": { + "name": "stopBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 16 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "17": { + "name": "startBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 17 + ], + [ + 94, + 1 + ] + ], + "doc": "~Private~" + } + }, + "94": { + "17": { + "name": "resetBlinking", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 17 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "21": { + "name": "getBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 21 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "21": { + "name": "getScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 21 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "30": { + "name": "removeIdleClassTemporarily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 30 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "24": { + "name": "resetCursorAnimation", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 24 + ], + [ + 112, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "./build/src/cursor.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "10": { + "0": { + "type": "class", + "name": "Cursor", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 11, + 18 + ], + [ + 12, + 18 + ], + [ + 13, + 14 + ], + [ + 14, + 11 + ], + [ + 15, + 19 + ], + [ + 18, + 15 + ], + [ + 49, + 11 + ], + [ + 52, + 18 + ], + [ + 60, + 16 + ], + [ + 70, + 21 + ], + [ + 75, + 21 + ], + [ + 78, + 18 + ], + [ + 89, + 21 + ], + [ + 94, + 21 + ], + [ + 97, + 14 + ], + [ + 101, + 20 + ], + [ + 105, + 14 + ], + [ + 112, + 13 + ], + [ + 122, + 14 + ], + [ + 136, + 16 + ], + [ + 145, + 28 + ], + [ + 158, + 27 + ], + [ + 170, + 16 + ], + [ + 176, + 19 + ], + [ + 180, + 18 + ], + [ + 184, + 16 + ], + [ + 188, + 19 + ], + [ + 192, + 16 + ], + [ + 196, + 19 + ], + [ + 201, + 24 + ], + [ + 205, + 10 + ], + [ + 217, + 12 + ], + [ + 233, + 12 + ], + [ + 247, + 13 + ], + [ + 256, + 13 + ], + [ + 260, + 16 + ], + [ + 264, + 31 + ], + [ + 268, + 25 + ], + [ + 273, + 30 + ], + [ + 283, + 25 + ], + [ + 293, + 25 + ], + [ + 297, + 19 + ], + [ + 301, + 25 + ], + [ + 305, + 19 + ], + [ + 310, + 29 + ], + [ + 315, + 30 + ], + [ + 320, + 26 + ], + [ + 336, + 43 + ], + [ + 358, + 41 + ], + [ + 380, + 41 + ], + [ + 409, + 37 + ], + [ + 430, + 40 + ], + [ + 447, + 29 + ], + [ + 457, + 29 + ], + [ + 461, + 34 + ], + [ + 466, + 38 + ], + [ + 470, + 45 + ], + [ + 484, + 49 + ], + [ + 502, + 34 + ], + [ + 506, + 24 + ], + [ + 510, + 23 + ], + [ + 514, + 18 + ], + [ + 521, + 17 + ], + [ + 527, + 13 + ], + [ + 532, + 32 + ] + ], + "doc": " Public: The `Cursor` class represents the little blinking line identifying\nwhere text can be inserted.\n\nCursors belong to {Editor}s and have some metadata attached in the form\nof a {Marker}. ", + "range": [ + [ + 10, + 0 + ], + [ + 540, + 50 + ] + ] + } + }, + "11": { + "18": { + "name": "screenPosition", + "type": "primitive", + "range": [ + [ + 11, + 18 + ], + [ + 11, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "18": { + "name": "bufferPosition", + "type": "primitive", + "range": [ + [ + 12, + 18 + ], + [ + 12, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "13": { + "14": { + "name": "goalColumn", + "type": "primitive", + "range": [ + [ + 13, + 14 + ], + [ + 13, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 14, + 11 + ], + [ + 14, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "15": { + "19": { + "name": "needsAutoscroll", + "type": "primitive", + "range": [ + [ + 15, + 19 + ], + [ + 15, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 18, + 15 + ], + [ + 49, + 1 + ] + ], + "doc": "Private: Instantiated by an {Editor} " + } + }, + "49": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 11 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "18": { + "name": "changePosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options", + "fn" + ], + "range": [ + [ + 52, + 18 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "16": { + "name": "getPixelRect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 60, + 16 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "21": { + "name": "setScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 70, + 21 + ], + [ + 75, + 1 + ] + ], + "doc": " Public: Moves a cursor to a given screen position.\n\nscreenPosition - An {Array} of two numbers: the screen row, and the screen\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " + } + }, + "75": { + "21": { + "name": "getScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 75, + 21 + ], + [ + 78, + 1 + ] + ], + "doc": "Public: Returns the screen position of the cursor as an Array. " + } + }, + "78": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 78, + 18 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "setBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 89, + 21 + ], + [ + 94, + 1 + ] + ], + "doc": " Public: Moves a cursor to a given buffer position.\n\nbufferPosition - An {Array} of two numbers: the buffer row, and the buffer\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " + } + }, + "94": { + "21": { + "name": "getBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 94, + 21 + ], + [ + 97, + 1 + ] + ], + "doc": "Public: Returns the current buffer position as an Array. " + } + }, + "97": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 97, + 14 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "20": { + "name": "updateVisibility", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 20 + ], + [ + 105, + 1 + ] + ], + "doc": "Public: If the marker range is empty, the cursor is marked as being visible. " + } + }, + "105": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 105, + 14 + ], + [ + 112, + 1 + ] + ], + "doc": "Public: Sets whether the cursor is visible. " + } + }, + "112": { + "13": { + "name": "isVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 112, + 13 + ], + [ + 112, + 23 + ] + ], + "doc": "Public: Returns the visibility of the cursor. " + } + }, + "122": { + "14": { + "name": "wordRegExp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 122, + 14 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Get the RegExp used by the cursor to determine what a \"word\" is.\n\noptions: An optional {Object} with the following keys:\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the regex.\n (default: true)\n\nReturns a {RegExp}. " + } + }, + "136": { + "16": { + "name": "isLastCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 16 + ], + [ + 145, + 1 + ] + ], + "doc": " Public: Identifies if this cursor is the last in the {Editor}.\n\n\"Last\" is defined as the most recently added cursor.\n\nReturns a {Boolean}. " + } + }, + "145": { + "28": { + "name": "isSurroundedByWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 145, + 28 + ], + [ + 158, + 1 + ] + ], + "doc": " Public: Identifies if the cursor is surrounded by whitespace.\n\n\"Surrounded\" here means that the character directly before and after the\ncursor are both whitespace.\n\nReturns a {Boolean}. " + } + }, + "158": { + "27": { + "name": "isBetweenWordAndNonWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 27 + ], + [ + 170, + 1 + ] + ], + "doc": " Public: Returns whether the cursor is currently between a word and non-word\ncharacter. The non-word characters are defined by the\n`editor.nonWordCharacters` config value.\n\nThis method returns false if the character before or after the cursor is\nwhitespace.\n\nReturns a Boolean. " + } + }, + "170": { + "16": { + "name": "isInsideWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 170, + 16 + ], + [ + 176, + 1 + ] + ], + "doc": "Public: Returns whether this cursor is between a word's start and end. " + } + }, + "176": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 176, + 19 + ], + [ + 180, + 1 + ] + ], + "doc": "Public: Prevents this cursor from causing scrolling. " + } + }, + "180": { + "18": { + "name": "clearSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 180, + 18 + ], + [ + 184, + 1 + ] + ], + "doc": "Public: Deselects the current selection. " + } + }, + "184": { + "16": { + "name": "getScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 184, + 16 + ], + [ + 188, + 1 + ] + ], + "doc": "Public: Returns the cursor's current screen row. " + } + }, + "188": { + "19": { + "name": "getScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 19 + ], + [ + 192, + 1 + ] + ], + "doc": "Public: Returns the cursor's current screen column. " + } + }, + "192": { + "16": { + "name": "getBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 192, + 16 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Retrieves the cursor's current buffer row. " + } + }, + "196": { + "19": { + "name": "getBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 196, + 19 + ], + [ + 201, + 1 + ] + ], + "doc": "Public: Returns the cursor's current buffer column. " + } + }, + "201": { + "24": { + "name": "getCurrentBufferLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 201, + 24 + ], + [ + 205, + 1 + ] + ], + "doc": " Public: Returns the cursor's current buffer row of text excluding its line\nending. " + } + }, + "205": { + "10": { + "name": "moveUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount", + null + ], + "range": [ + [ + 205, + 10 + ], + [ + 217, + 1 + ] + ], + "doc": "Public: Moves the cursor up one screen row. " + } + }, + "217": { + "12": { + "name": "moveDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount", + null + ], + "range": [ + [ + 217, + 12 + ], + [ + 233, + 1 + ] + ], + "doc": "Public: Moves the cursor down one screen row. " + } + }, + "233": { + "12": { + "name": "moveLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 233, + 12 + ], + [ + 247, + 1 + ] + ], + "doc": " Public: Moves the cursor left one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the left of the selection if a\n selection exists. " + } + }, + "247": { + "13": { + "name": "moveRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 247, + 13 + ], + [ + 256, + 1 + ] + ], + "doc": " Public: Moves the cursor right one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the right of the selection if a\n selection exists. " + } + }, + "256": { + "13": { + "name": "moveToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 13 + ], + [ + 260, + 1 + ] + ], + "doc": "Public: Moves the cursor to the top of the buffer. " + } + }, + "260": { + "16": { + "name": "moveToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 16 + ], + [ + 264, + 1 + ] + ], + "doc": "Public: Moves the cursor to the bottom of the buffer. " + } + }, + "264": { + "31": { + "name": "moveToBeginningOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 264, + 31 + ], + [ + 268, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the line. " + } + }, + "268": { + "25": { + "name": "moveToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 268, + 25 + ], + [ + 273, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the buffer line. " + } + }, + "273": { + "30": { + "name": "moveToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 273, + 30 + ], + [ + 283, + 1 + ] + ], + "doc": " Public: Moves the cursor to the beginning of the first character in the\nline. " + } + }, + "283": { + "25": { + "name": "skipLeadingWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 283, + 25 + ], + [ + 293, + 1 + ] + ], + "doc": " Public: Moves the cursor to the beginning of the buffer line, skipping all\nwhitespace. " + } + }, + "293": { + "25": { + "name": "moveToEndOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 293, + 25 + ], + [ + 297, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the line. " + } + }, + "297": { + "19": { + "name": "moveToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 19 + ], + [ + 301, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the buffer line. " + } + }, + "301": { + "25": { + "name": "moveToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 301, + 25 + ], + [ + 305, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the word. " + } + }, + "305": { + "19": { + "name": "moveToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 305, + 19 + ], + [ + 310, + 1 + ] + ], + "doc": "Public: Moves the cursor to the end of the word. " + } + }, + "310": { + "29": { + "name": "moveToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 310, + 29 + ], + [ + 315, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the next word. " + } + }, + "315": { + "30": { + "name": "moveToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 30 + ], + [ + 320, + 1 + ] + ], + "doc": "Public: Moves the cursor to the previous word boundary. " + } + }, + "320": { + "26": { + "name": "moveToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 320, + 26 + ], + [ + 336, + 1 + ] + ], + "doc": "Public: Moves the cursor to the next word boundary. " + } + }, + "336": { + "43": { + "name": "getBeginningOfCurrentWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 336, + 43 + ], + [ + 358, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the current word starts.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n :allowPrevious - A {Boolean} indicating whether the beginning of the\n previous word can be returned.\n\nReturns a {Range}. " + } + }, + "358": { + "41": { + "name": "getPreviousWordBoundaryBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 358, + 41 + ], + [ + 380, + 1 + ] + ], + "doc": " Public: Retrieves buffer position of previous word boundary. It might be on\nthe current word, or the previous word. " + } + }, + "380": { + "41": { + "name": "getMoveNextWordBoundaryBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 380, + 41 + ], + [ + 409, + 1 + ] + ], + "doc": " Public: Retrieves buffer position of the next word boundary. It might be on\nthe current word, or the previous word. " + } + }, + "409": { + "37": { + "name": "getEndOfCurrentWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 409, + 37 + ], + [ + 430, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the current word ends.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp})\n :includeNonWordCharacters - A Boolean indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n\nReturns a {Range}. " + } + }, + "430": { + "40": { + "name": "getBeginningOfNextWordBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 430, + 40 + ], + [ + 447, + 1 + ] + ], + "doc": " Public: Retrieves the buffer position of where the next word starts.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n\nReturns a {Range}. " + } + }, + "447": { + "29": { + "name": "getCurrentWordBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 447, + 29 + ], + [ + 457, + 1 + ] + ], + "doc": " Public: Returns the buffer Range occupied by the word located under the cursor.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}). " + } + }, + "457": { + "29": { + "name": "getCurrentLineBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 457, + 29 + ], + [ + 461, + 1 + ] + ], + "doc": " Public: Returns the buffer Range for the current line.\n\noptions -\n :includeNewline: - A {Boolean} which controls whether the Range should\n include the newline. " + } + }, + "461": { + "34": { + "name": "moveToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 461, + 34 + ], + [ + 466, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the next paragraph " + } + }, + "466": { + "38": { + "name": "moveToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 466, + 38 + ], + [ + 470, + 1 + ] + ], + "doc": "Public: Moves the cursor to the beginning of the previous paragraph " + } + }, + "470": { + "45": { + "name": "getBeginningOfNextParagraphBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 470, + 45 + ], + [ + 484, + 1 + ] + ], + "doc": "~Private~" + } + }, + "484": { + "49": { + "name": "getBeginningOfPreviousParagraphBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 484, + 49 + ], + [ + 502, + 1 + ] + ], + "doc": "~Private~" + } + }, + "502": { + "34": { + "name": "getCurrentParagraphBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 502, + 34 + ], + [ + 506, + 1 + ] + ], + "doc": " Public: Retrieves the range for the current paragraph.\n\nA paragraph is defined as a block of text surrounded by empty lines.\n\nReturns a {Range}. " + } + }, + "506": { + "24": { + "name": "getCurrentWordPrefix", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 506, + 24 + ], + [ + 510, + 1 + ] + ], + "doc": "Public: Returns the characters preceding the cursor in the current word. " + } + }, + "510": { + "23": { + "name": "isAtBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 510, + 23 + ], + [ + 514, + 1 + ] + ], + "doc": "Public: Returns whether the cursor is at the start of a line. " + } + }, + "514": { + "18": { + "name": "getIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 514, + 18 + ], + [ + 521, + 1 + ] + ], + "doc": "Public: Returns the indentation level of the current line. " + } + }, + "521": { + "17": { + "name": "isAtEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 521, + 17 + ], + [ + 527, + 1 + ] + ], + "doc": "Public: Returns whether the cursor is on the line return character. " + } + }, + "527": { + "13": { + "name": "getScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 527, + 13 + ], + [ + 532, + 1 + ] + ], + "doc": " Public: Retrieves the grammar's token scopes for the line.\n\nReturns an {Array} of {String}s. " + } + }, + "532": { + "32": { + "name": "hasPrecedingCharactersOnLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 532, + 32 + ], + [ + 540, + 50 + ] + ], + "doc": " Public: Returns true if this cursor has no non-whitespace characters before\nits current position. " + } + } + }, + "exports": 10 + }, + "./build/src/cursors-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork@^0.11.1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork@^1.0.0", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "debounce", + "exportsProperty": "debounce" + }, + "11": { + "type": "import", + "range": [ + [ + 2, + 11 + ], + [ + 2, + 17 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "toArray", + "exportsProperty": "toArray" + }, + "20": { + "type": "import", + "range": [ + [ + 2, + 20 + ], + [ + 2, + 39 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "42": { + "type": "import", + "range": [ + [ + 2, + 42 + ], + [ + 2, + 48 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqual", + "exportsProperty": "isEqual" + } + }, + "3": { + "18": { + "name": "SubscriberMixin", + "type": "import", + "range": [ + [ + 3, + 18 + ], + [ + 3, + 45 + ] + ], + "bindingType": "variable", + "path": "./subscriber-mixin" + } + }, + "4": { + "18": { + "name": "CursorComponent", + "type": "import", + "range": [ + [ + 4, + 18 + ], + [ + 4, + 45 + ] + ], + "bindingType": "variable", + "path": "./cursor-component" + } + }, + "7": { + "19": { + "name": "CursorsComponent", + "type": "function", + "range": [ + [ + 7, + 19 + ], + [ + 60, + 37 + ] + ] + } + }, + "8": { + "15": { + "name": "'CursorsComponent'", + "type": "primitive", + "range": [ + [ + 8, + 15 + ], + [ + 8, + 32 + ] + ] + } + }, + "9": { + "10": { + "type": "primitive", + "range": [ + [ + 9, + 10 + ], + [ + 9, + 26 + ] + ] + } + }, + "11": { + "29": { + "type": "primitive", + "range": [ + [ + 11, + 29 + ], + [ + 11, + 32 + ] + ] + } + }, + "13": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 10 + ], + [ + 25, + 1 + ] + ], + "doc": null + } + }, + "25": { + "19": { + "name": "getInitialState", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 19 + ], + [ + 28, + 1 + ] + ], + "doc": null + } + }, + "28": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 21 + ], + [ + 31, + 1 + ] + ], + "doc": null + } + }, + "31": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 31, + 24 + ], + [ + 34, + 1 + ] + ], + "doc": null + } + }, + "34": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps", + "newState" + ], + "range": [ + [ + 34, + 25 + ], + [ + 38, + 1 + ] + ], + "doc": null + } + }, + "38": { + "23": { + "name": "componentWillUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 38, + 23 + ], + [ + 45, + 1 + ] + ], + "doc": null + } + }, + "45": { + "24": { + "name": "startBlinkingCursors", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 24 + ], + [ + 48, + 1 + ] + ], + "doc": null + } + }, + "48": { + "34": { + "type": "primitive", + "range": [ + [ + 48, + 34 + ], + [ + 48, + 37 + ] + ] + } + }, + "50": { + "23": { + "name": "stopBlinkingCursors", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 23 + ], + [ + 53, + 1 + ] + ], + "doc": null + } + }, + "53": { + "21": { + "name": "toggleCursorBlink", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 21 + ], + [ + 56, + 1 + ] + ], + "doc": null + } + }, + "56": { + "23": { + "name": "pauseCursorBlinking", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 23 + ], + [ + 60, + 37 + ] + ], + "doc": null + } + } + }, + "exports": 7 + }, + "./build/src/custom-event-mixin.coffee": { + "objects": { + "2": { + "2": { + "type": "primitive", + "range": [ + [ + 2, + 2 + ], + [ + 14, + 52 + ] + ] + }, + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 2, + 22 + ], + [ + 5, + 1 + ] + ], + "doc": null + } + }, + "5": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 24 + ], + [ + 10, + 1 + ] + ], + "doc": null + } + }, + "10": { + "27": { + "name": "addCustomEventListeners", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "customEventListeners" + ], + "range": [ + [ + 10, + 27 + ], + [ + 14, + 52 + ] + ], + "doc": null + } + } + }, + "exports": 2 + }, + "./build/src/decoration.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Subscriber", + "exportsProperty": "Subscriber" + }, + "13": { + "type": "import", + "range": [ + [ + 1, + 13 + ], + [ + 1, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "3": { + "12": { + "name": "0", + "type": "primitive", + "range": [ + [ + 3, + 12 + ], + [ + 3, + 12 + ] + ] + } + }, + "4": { + "9": { + "name": "nextId", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 4, + 9 + ], + [ + 4, + 22 + ] + ] + } + }, + "40": { + "0": { + "type": "class", + "name": "Decoration", + "bindingType": "exports", + "classProperties": [ + [ + 43, + 11 + ] + ], + "prototypeProperties": [ + [ + 49, + 15 + ], + [ + 59, + 11 + ], + [ + 70, + 10 + ], + [ + 79, + 13 + ], + [ + 82, + 13 + ], + [ + 89, + 10 + ], + [ + 92, + 18 + ], + [ + 98, + 9 + ], + [ + 104, + 20 + ] + ], + "doc": " Public: Represents a decoration that follows a {Marker}. A decoration is\nbasically a visual representation of a marker. It allows you to add CSS\nclasses to line numbers in the gutter, lines, and add selection-line regions\naround marked ranges of text.\n\n{Decoration} objects are not meant to be created directly, but created with\n{Editor::decorateMarker}. eg.\n\n```coffee\nrange = editor.getSelectedBufferRange() # any range you like\nmarker = editor.markBufferRange(range)\ndecoration = editor.decorateMarker(marker, {type: 'line', class: 'my-line-class'})\n```\n\nBest practice for destorying the decoration is by destroying the {Marker}.\n\n```\nmarker.destroy()\n```\n\nYou should only use {Decoration::destroy} when you still need or do not own\nthe marker.\n\n### IDs\nEach {Decoration} has a unique ID available via `decoration.id`.\n\n### Events\nA couple of events are emitted:\n\n* `destroyed`: When the {Decoration} is destroyed\n* `updated`: When the {Decoration} is updated via {Decoration::update}.\n Event object has properties `oldParams` and `newParams`\n\n ", + "range": [ + [ + 40, + 0 + ], + [ + 106, + 8 + ] + ] + } + }, + "43": { + "11": { + "name": "isType", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "decorationParams", + "type" + ], + "range": [ + [ + 43, + 11 + ], + [ + 49, + 1 + ] + ], + "doc": "~Private~" + } + }, + "49": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null, + null + ], + "range": [ + [ + 49, + 15 + ], + [ + 59, + 1 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 11 + ], + [ + 70, + 1 + ] + ], + "doc": " Public: Destroy this marker.\n\nIf you own the marker, you should use {Marker::destroy} which will destroy\nthis decoration. " + } + }, + "70": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "newParams" + ], + "range": [ + [ + 70, + 10 + ], + [ + 79, + 1 + ] + ], + "doc": " Public: Update the marker with new params. Allows you to change the decoration's class.\n\n```\ndecoration.update({type: 'gutter', class: 'my-new-class'})\n``` " + } + }, + "79": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 13 + ], + [ + 79, + 22 + ] + ], + "doc": "Public: Returns the marker associated with this {Decoration} " + } + }, + "82": { + "13": { + "name": "getParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 13 + ], + [ + 82, + 22 + ] + ], + "doc": "Public: Returns the {Decoration}'s params. " + } + }, + "89": { + "10": { + "name": "isType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "type" + ], + "range": [ + [ + 89, + 10 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "18": { + "name": "matchesPattern", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decorationPattern" + ], + "range": [ + [ + 92, + 18 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "9": { + "name": "flash", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass", + "duration" + ], + "range": [ + [ + 98, + 9 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "20": { + "name": "consumeNextFlash", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 20 + ], + [ + 106, + 8 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 40 + }, + "./build/src/deserializer-manager.coffee": { + "objects": { + "20": { + "0": { + "type": "class", + "name": "DeserializerManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 21, + 15 + ], + [ + 27, + 7 + ], + [ + 33, + 10 + ], + [ + 41, + 15 + ], + [ + 54, + 7 + ] + ], + "doc": " Public: Manages the deserializers used for serialized state\n\nAn instance of this class is always available as the `atom.deserializers`\nglobal.\n\n### Registering a deserializer\n\n```coffee\nclass MyPackageView extends View\n atom.deserializers.add(this)\n\n @deserialize: (state) ->\n new MyPackageView(state)\n\n constructor: (@state) ->\n\n serialize: ->\n @state\n``` ", + "range": [ + [ + 20, + 0 + ], + [ + 58, + 24 + ] + ] + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 15 + ], + [ + 27, + 1 + ] + ] + } + }, + "27": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "classes" + ], + "range": [ + [ + 27, + 7 + ], + [ + 33, + 1 + ] + ], + "doc": " Public: Register the given class(es) as deserializers.\n\nclasses - One or more classes to register. " + } + }, + "33": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "classes" + ], + "range": [ + [ + 33, + 10 + ], + [ + 41, + 1 + ] + ], + "doc": " Public: Remove the given class(es) as deserializers.\n\nclasses - One or more classes to remove. " + } + }, + "41": { + "15": { + "name": "deserialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state", + "params" + ], + "range": [ + [ + 41, + 15 + ], + [ + 54, + 1 + ] + ], + "doc": " Public: Deserialize the state and params.\n\nstate - The state {Object} to deserialize.\nparams - The params {Object} to pass as the second arguments to the\n deserialize method of the deserializer. " + } + }, + "54": { + "7": { + "name": "get", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "state" + ], + "range": [ + [ + 54, + 7 + ], + [ + 58, + 24 + ] + ], + "doc": " Private: Get the deserializer for the state.\n\nstate - The state {Object} being deserialized. " + } + } + }, + "exports": 20 + }, + "./build/src/display-buffer-marker.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 2, + 10 + ], + [ + 2, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "5": { + "0": { + "type": "class", + "name": "DisplayBufferMarker", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 9, + 28 + ], + [ + 10, + 25 + ], + [ + 11, + 25 + ], + [ + 12, + 25 + ], + [ + 13, + 25 + ], + [ + 14, + 12 + ], + [ + 16, + 15 + ], + [ + 27, + 8 + ], + [ + 33, + 18 + ], + [ + 40, + 18 + ], + [ + 46, + 18 + ], + [ + 53, + 18 + ], + [ + 56, + 17 + ], + [ + 62, + 25 + ], + [ + 69, + 25 + ], + [ + 76, + 25 + ], + [ + 83, + 25 + ], + [ + 89, + 25 + ], + [ + 96, + 25 + ], + [ + 103, + 25 + ], + [ + 110, + 25 + ], + [ + 117, + 26 + ], + [ + 124, + 26 + ], + [ + 131, + 24 + ], + [ + 138, + 24 + ], + [ + 146, + 13 + ], + [ + 150, + 13 + ], + [ + 153, + 11 + ], + [ + 157, + 14 + ], + [ + 162, + 11 + ], + [ + 169, + 15 + ], + [ + 172, + 17 + ], + [ + 175, + 17 + ], + [ + 178, + 21 + ], + [ + 183, + 11 + ], + [ + 187, + 11 + ], + [ + 191, + 11 + ], + [ + 195, + 11 + ], + [ + 198, + 13 + ], + [ + 202, + 19 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 230, + 23 + ] + ] + } + }, + "9": { + "28": { + "name": "bufferMarkerSubscription", + "type": "primitive", + "range": [ + [ + 9, + 28 + ], + [ + 9, + 31 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "25": { + "name": "oldHeadBufferPosition", + "type": "primitive", + "range": [ + [ + 10, + 25 + ], + [ + 10, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "11": { + "25": { + "name": "oldHeadScreenPosition", + "type": "primitive", + "range": [ + [ + 11, + 25 + ], + [ + 11, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "25": { + "name": "oldTailBufferPosition", + "type": "primitive", + "range": [ + [ + 12, + 25 + ], + [ + 12, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "13": { + "25": { + "name": "oldTailScreenPosition", + "type": "primitive", + "range": [ + [ + 13, + 25 + ], + [ + 13, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "12": { + "name": "wasValid", + "type": "primitive", + "range": [ + [ + 14, + 12 + ], + [ + 14, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 16, + 15 + ], + [ + 27, + 1 + ] + ], + "doc": "~Private~" + } + }, + "27": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 27, + 8 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 33, + 18 + ], + [ + 40, + 1 + ] + ], + "doc": " Private: Gets the screen range of the display marker.\n\nReturns a {Range}. " + } + }, + "40": { + "18": { + "name": "setScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 40, + 18 + ], + [ + 46, + 1 + ] + ], + "doc": " Private: Modifies the screen range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " + } + }, + "46": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 46, + 18 + ], + [ + 53, + 1 + ] + ], + "doc": " Private: Gets the buffer range of the display marker.\n\nReturns a {Range}. " + } + }, + "53": { + "18": { + "name": "setBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 53, + 18 + ], + [ + 56, + 1 + ] + ], + "doc": " Private: Modifies the buffer range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " + } + }, + "56": { + "17": { + "name": "getPixelRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 17 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "25": { + "name": "getHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 62, + 25 + ], + [ + 69, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's head.\n\nReturns a {Point}. " + } + }, + "69": { + "25": { + "name": "setHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 69, + 25 + ], + [ + 76, + 1 + ] + ], + "doc": " Private: Sets the screen position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "76": { + "25": { + "name": "getHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 25 + ], + [ + 83, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's head.\n\nReturns a {Point}. " + } + }, + "83": { + "25": { + "name": "setHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 83, + 25 + ], + [ + 89, + 1 + ] + ], + "doc": " Private: Sets the buffer position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "89": { + "25": { + "name": "getTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 25 + ], + [ + 96, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's tail.\n\nReturns a {Point}. " + } + }, + "96": { + "25": { + "name": "setTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 96, + 25 + ], + [ + 103, + 1 + ] + ], + "doc": " Private: Sets the screen position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "103": { + "25": { + "name": "getTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 103, + 25 + ], + [ + 110, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's tail.\n\nReturns a {Point}. " + } + }, + "110": { + "25": { + "name": "setTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 110, + 25 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: Sets the buffer position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " + } + }, + "117": { + "26": { + "name": "getStartScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 26 + ], + [ + 124, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndScreenPosition}.\n\nReturns a {Point}. " + } + }, + "124": { + "26": { + "name": "getStartBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 26 + ], + [ + 131, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndBufferPosition}.\n\nReturns a {Point}. " + } + }, + "131": { + "24": { + "name": "getEndScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 131, + 24 + ], + [ + 138, + 1 + ] + ], + "doc": " Private: Retrieves the screen position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartScreenPosition}.\n\nReturns a {Point}. " + } + }, + "138": { + "24": { + "name": "getEndBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 24 + ], + [ + 146, + 1 + ] + ], + "doc": " Private: Retrieves the buffer position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartBufferPosition}.\n\nReturns a {Point}. " + } + }, + "146": { + "13": { + "name": "plantTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 146, + 13 + ], + [ + 150, + 1 + ] + ], + "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " + } + }, + "150": { + "13": { + "name": "clearTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 150, + 13 + ], + [ + 153, + 1 + ] + ], + "doc": "Private: Removes the tail from the marker. " + } + }, + "153": { + "11": { + "name": "hasTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 153, + 11 + ], + [ + 157, + 1 + ] + ], + "doc": "~Private~" + } + }, + "157": { + "14": { + "name": "isReversed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 157, + 14 + ], + [ + 162, + 1 + ] + ], + "doc": "Private: Returns whether the head precedes the tail in the buffer " + } + }, + "162": { + "11": { + "name": "isValid", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 11 + ], + [ + 169, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the marker is valid. Markers can be\ninvalidated when a region surrounding them in the buffer is changed. " + } + }, + "169": { + "15": { + "name": "isDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 169, + 15 + ], + [ + 172, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the marker has been destroyed. A marker\ncan be invalid without being destroyed, in which case undoing the invalidating\noperation would restore the marker. Once a marker is destroyed by calling\n{Marker::destroy}, no undo/redo operation can ever bring it back. " + } + }, + "172": { + "17": { + "name": "getAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 172, + 17 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "17": { + "name": "setAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 175, + 17 + ], + [ + 178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "178": { + "21": { + "name": "matchesAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 178, + 21 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 183, + 11 + ], + [ + 187, + 1 + ] + ], + "doc": "Private: Destroys the marker " + } + }, + "187": { + "11": { + "name": "isEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 187, + 11 + ], + [ + 191, + 1 + ] + ], + "doc": "~Private~" + } + }, + "191": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 191, + 11 + ], + [ + 195, + 1 + ] + ], + "doc": "~Private~" + } + }, + "195": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 195, + 11 + ], + [ + 198, + 1 + ] + ], + "doc": "Private: Returns a {String} representation of the marker " + } + }, + "198": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 198, + 13 + ], + [ + 202, + 1 + ] + ], + "doc": "~Private~" + } + }, + "202": { + "19": { + "name": "notifyObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 202, + 19 + ], + [ + 230, + 23 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "./build/src/display-buffer.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "2": { + "7": { + "name": "guid", + "type": "import", + "range": [ + [ + 2, + 7 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "guid@0.0.10" + } + }, + "3": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@^1" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Model", + "exportsProperty": "Model" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Range", + "exportsProperty": "Range" + } + }, + "6": { + "18": { + "name": "TokenizedBuffer", + "type": "import", + "range": [ + [ + 6, + 18 + ], + [ + 6, + 45 + ] + ], + "bindingType": "variable", + "path": "./tokenized-buffer" + } + }, + "7": { + "9": { + "name": "RowMap", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 27 + ] + ], + "bindingType": "variable", + "path": "./row-map" + } + }, + "8": { + "7": { + "name": "Fold", + "type": "import", + "range": [ + [ + 8, + 7 + ], + [ + 8, + 22 + ] + ], + "bindingType": "variable", + "path": "./fold" + } + }, + "9": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 9, + 8 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "10": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "11": { + "22": { + "name": "DisplayBufferMarker", + "type": "import", + "range": [ + [ + 11, + 22 + ], + [ + 11, + 54 + ] + ], + "bindingType": "variable", + "path": "./display-buffer-marker" + } + }, + "13": { + "0": { + "type": "class", + "name": "BufferToScreenConversionError", + "classProperties": [], + "prototypeProperties": [ + [ + 14, + 15 + ] + ], + "doc": "~Private~", + "range": [ + [ + 13, + 0 + ], + [ + 17, + 0 + ] + ] + } + }, + "14": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 14, + 15 + ], + [ + 17, + 0 + ] + ] + } + }, + "19": { + "0": { + "type": "class", + "name": "DisplayBuffer", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 34, + 24 + ], + [ + 35, + 26 + ], + [ + 36, + 29 + ], + [ + 37, + 26 + ], + [ + 38, + 36 + ], + [ + 40, + 15 + ], + [ + 70, + 19 + ], + [ + 78, + 21 + ], + [ + 82, + 8 + ], + [ + 91, + 24 + ], + [ + 97, + 15 + ], + [ + 104, + 28 + ], + [ + 115, + 14 + ], + [ + 117, + 27 + ], + [ + 118, + 27 + ], + [ + 120, + 29 + ], + [ + 121, + 29 + ], + [ + 123, + 32 + ], + [ + 124, + 32 + ], + [ + 126, + 29 + ], + [ + 127, + 29 + ], + [ + 129, + 13 + ], + [ + 138, + 13 + ], + [ + 140, + 19 + ], + [ + 146, + 18 + ], + [ + 152, + 26 + ], + [ + 160, + 24 + ], + [ + 167, + 12 + ], + [ + 176, + 12 + ], + [ + 183, + 16 + ], + [ + 184, + 16 + ], + [ + 190, + 19 + ], + [ + 193, + 19 + ], + [ + 194, + 19 + ], + [ + 198, + 17 + ], + [ + 199, + 17 + ], + [ + 206, + 20 + ], + [ + 209, + 18 + ], + [ + 210, + 18 + ], + [ + 214, + 25 + ], + [ + 215, + 25 + ], + [ + 217, + 23 + ], + [ + 218, + 23 + ], + [ + 224, + 18 + ], + [ + 226, + 22 + ], + [ + 229, + 23 + ], + [ + 237, + 29 + ], + [ + 244, + 22 + ], + [ + 249, + 26 + ], + [ + 253, + 25 + ], + [ + 256, + 19 + ], + [ + 261, + 18 + ], + [ + 264, + 22 + ], + [ + 273, + 29 + ], + [ + 277, + 38 + ], + [ + 281, + 23 + ], + [ + 311, + 26 + ], + [ + 314, + 26 + ], + [ + 317, + 27 + ], + [ + 333, + 16 + ], + [ + 339, + 16 + ], + [ + 343, + 15 + ], + [ + 346, + 15 + ], + [ + 351, + 25 + ], + [ + 359, + 25 + ], + [ + 367, + 21 + ], + [ + 378, + 14 + ], + [ + 387, + 16 + ], + [ + 393, + 12 + ], + [ + 396, + 22 + ], + [ + 406, + 27 + ], + [ + 416, + 14 + ], + [ + 422, + 23 + ], + [ + 425, + 23 + ], + [ + 429, + 21 + ], + [ + 435, + 19 + ], + [ + 446, + 34 + ], + [ + 454, + 28 + ], + [ + 466, + 34 + ], + [ + 477, + 34 + ], + [ + 482, + 34 + ], + [ + 493, + 28 + ], + [ + 502, + 25 + ], + [ + 505, + 29 + ], + [ + 513, + 25 + ], + [ + 521, + 29 + ], + [ + 532, + 29 + ], + [ + 538, + 28 + ], + [ + 542, + 34 + ], + [ + 561, + 34 + ], + [ + 581, + 34 + ], + [ + 587, + 16 + ], + [ + 593, + 14 + ], + [ + 599, + 20 + ], + [ + 605, + 23 + ], + [ + 617, + 35 + ], + [ + 651, + 35 + ], + [ + 661, + 27 + ], + [ + 664, + 33 + ], + [ + 672, + 26 + ], + [ + 678, + 14 + ], + [ + 684, + 14 + ], + [ + 688, + 17 + ], + [ + 704, + 22 + ], + [ + 740, + 18 + ], + [ + 758, + 20 + ], + [ + 761, + 19 + ], + [ + 764, + 32 + ], + [ + 771, + 18 + ], + [ + 793, + 20 + ], + [ + 804, + 33 + ], + [ + 810, + 31 + ], + [ + 818, + 21 + ], + [ + 826, + 13 + ], + [ + 836, + 14 + ], + [ + 839, + 18 + ], + [ + 848, + 19 + ], + [ + 858, + 19 + ], + [ + 867, + 22 + ], + [ + 876, + 22 + ], + [ + 882, + 17 + ], + [ + 891, + 14 + ], + [ + 912, + 15 + ], + [ + 916, + 33 + ], + [ + 954, + 18 + ], + [ + 957, + 19 + ], + [ + 960, + 27 + ], + [ + 963, + 24 + ], + [ + 966, + 25 + ], + [ + 970, + 32 + ], + [ + 974, + 13 + ], + [ + 979, + 12 + ], + [ + 984, + 31 + ], + [ + 989, + 21 + ], + [ + 1015, + 20 + ], + [ + 1061, + 21 + ], + [ + 1083, + 22 + ], + [ + 1088, + 30 + ], + [ + 1093, + 29 + ], + [ + 1097, + 23 + ], + [ + 1101, + 17 + ] + ], + "doc": "~Private~", + "range": [ + [ + 19, + 0 + ], + [ + 1102, + 31 + ] + ] + } + }, + "34": { + "24": { + "name": "verticalScrollMargin", + "type": "primitive", + "range": [ + [ + 34, + 24 + ], + [ + 34, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "35": { + "26": { + "name": "horizontalScrollMargin", + "type": "primitive", + "range": [ + [ + 35, + 26 + ], + [ + 35, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "36": { + "29": { + "name": "horizontalScrollbarHeight", + "type": "primitive", + "range": [ + [ + 36, + 29 + ], + [ + 36, + 30 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "37": { + "26": { + "name": "verticalScrollbarWidth", + "type": "primitive", + "range": [ + [ + 37, + 26 + ], + [ + 37, + 27 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "38": { + "36": { + "name": "scopedCharacterWidthsChangeCount", + "type": "primitive", + "range": [ + [ + 38, + 36 + ], + [ + 38, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "40": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 40, + 15 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 70, + 19 + ], + [ + 78, + 1 + ] + ], + "doc": "~Private~" + } + }, + "78": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 78, + 21 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 8 + ], + [ + 91, + 1 + ] + ], + "doc": "~Private~" + } + }, + "91": { + "24": { + "name": "updateAllScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 24 + ], + [ + 97, + 1 + ] + ], + "doc": "~Private~" + } + }, + "97": { + "15": { + "name": "emitChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventProperties", + "refreshMarkers" + ], + "range": [ + [ + 97, + 15 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "28": { + "name": "updateWrappedScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 28 + ], + [ + 115, + 1 + ] + ], + "doc": "~Private~" + } + }, + "115": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 115, + 14 + ], + [ + 115, + 62 + ] + ], + "doc": " Private: Sets the visibility of the tokenized buffer.\n\nvisible - A {Boolean} indicating of the tokenized buffer is shown " + } + }, + "117": { + "27": { + "name": "getVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 27 + ], + [ + 117, + 50 + ] + ], + "doc": "~Private~" + } + }, + "118": { + "27": { + "name": "setVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 118, + 27 + ], + [ + 118, + 74 + ] + ] + } + }, + "120": { + "29": { + "name": "getHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 120, + 29 + ], + [ + 120, + 54 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "29": { + "name": "setHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 121, + 29 + ], + [ + 121, + 80 + ] + ] + } + }, + "123": { + "32": { + "name": "getHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 123, + 32 + ], + [ + 123, + 60 + ] + ], + "doc": "~Private~" + } + }, + "124": { + "32": { + "name": "setHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 124, + 32 + ], + [ + 124, + 89 + ] + ] + } + }, + "126": { + "29": { + "name": "getVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 29 + ], + [ + 126, + 54 + ] + ], + "doc": "~Private~" + } + }, + "127": { + "29": { + "name": "setVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 127, + 29 + ], + [ + 127, + 80 + ] + ] + } + }, + "129": { + "13": { + "name": "getHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 129, + 13 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "13": { + "name": "setHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 138, + 13 + ], + [ + 138, + 32 + ] + ], + "doc": "~Private~" + } + }, + "140": { + "19": { + "name": "getClientHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 140, + 19 + ], + [ + 146, + 1 + ] + ], + "doc": "~Private~" + } + }, + "146": { + "18": { + "name": "getClientWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 146, + 18 + ], + [ + 152, + 1 + ] + ], + "doc": "~Private~" + } + }, + "152": { + "26": { + "name": "horizontallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 152, + 26 + ], + [ + 160, + 1 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "24": { + "name": "verticallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reentrant" + ], + "range": [ + [ + 160, + 24 + ], + [ + 167, + 1 + ] + ], + "doc": "~Private~" + } + }, + "167": { + "12": { + "name": "getWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 167, + 12 + ], + [ + 176, + 1 + ] + ], + "doc": "~Private~" + } + }, + "176": { + "12": { + "name": "setWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "newWidth" + ], + "range": [ + [ + 176, + 12 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "16": { + "name": "getScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 183, + 16 + ], + [ + 183, + 28 + ] + ], + "doc": "~Private~" + } + }, + "184": { + "16": { + "name": "setScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 184, + 16 + ], + [ + 190, + 1 + ] + ] + } + }, + "190": { + "19": { + "name": "getMaxScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 19 + ], + [ + 193, + 1 + ] + ], + "doc": "~Private~" + } + }, + "193": { + "19": { + "name": "getScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 193, + 19 + ], + [ + 193, + 41 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "19": { + "name": "setScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 194, + 19 + ], + [ + 198, + 1 + ] + ] + } + }, + "198": { + "17": { + "name": "getScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 198, + 17 + ], + [ + 198, + 30 + ] + ], + "doc": "~Private~" + } + }, + "199": { + "17": { + "name": "setScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 199, + 17 + ], + [ + 206, + 1 + ] + ] + } + }, + "206": { + "20": { + "name": "getMaxScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 206, + 20 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "18": { + "name": "getScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 209, + 18 + ], + [ + 209, + 40 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "18": { + "name": "setScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 210, + 18 + ], + [ + 214, + 1 + ] + ] + } + }, + "214": { + "25": { + "name": "getLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 214, + 25 + ], + [ + 214, + 46 + ] + ], + "doc": "~Private~" + } + }, + "215": { + "25": { + "name": "setLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 215, + 25 + ], + [ + 215, + 68 + ] + ] + } + }, + "217": { + "23": { + "name": "getDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 217, + 23 + ], + [ + 217, + 42 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "23": { + "name": "setDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultCharWidth" + ], + "range": [ + [ + 218, + 23 + ], + [ + 224, + 1 + ] + ] + } + }, + "224": { + "18": { + "name": "getCursorWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 18 + ], + [ + 224, + 21 + ] + ], + "doc": "~Private~" + } + }, + "226": { + "22": { + "name": "getScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char" + ], + "range": [ + [ + 226, + 22 + ], + [ + 229, + 1 + ] + ], + "doc": "~Private~" + } + }, + "229": { + "23": { + "name": "getScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames" + ], + "range": [ + [ + 229, + 23 + ], + [ + 237, + 1 + ] + ], + "doc": "~Private~" + } + }, + "237": { + "29": { + "name": "batchCharacterMeasurement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 237, + 29 + ], + [ + 244, + 1 + ] + ], + "doc": "~Private~" + } + }, + "244": { + "22": { + "name": "setScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char", + "width" + ], + "range": [ + [ + 244, + 22 + ], + [ + 249, + 1 + ] + ], + "doc": "~Private~" + } + }, + "249": { + "26": { + "name": "characterWidthsChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 249, + 26 + ], + [ + 253, + 1 + ] + ], + "doc": "~Private~" + } + }, + "253": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 253, + 25 + ], + [ + 256, + 1 + ] + ], + "doc": "~Private~" + } + }, + "256": { + "19": { + "name": "getScrollHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 256, + 19 + ], + [ + 261, + 1 + ] + ], + "doc": "~Private~" + } + }, + "261": { + "18": { + "name": "getScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 18 + ], + [ + 264, + 1 + ] + ], + "doc": "~Private~" + } + }, + "264": { + "22": { + "name": "getVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 264, + 22 + ], + [ + 273, + 1 + ] + ], + "doc": "~Private~" + } + }, + "273": { + "29": { + "name": "intersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 273, + 29 + ], + [ + 277, + 1 + ] + ], + "doc": "~Private~" + } + }, + "277": { + "38": { + "name": "selectionIntersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 277, + 38 + ], + [ + 281, + 1 + ] + ], + "doc": "~Private~" + } + }, + "281": { + "23": { + "name": "scrollToScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 281, + 23 + ], + [ + 311, + 1 + ] + ], + "doc": "~Private~" + } + }, + "311": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 311, + 26 + ], + [ + 314, + 1 + ] + ], + "doc": "~Private~" + } + }, + "314": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 314, + 26 + ], + [ + 317, + 1 + ] + ], + "doc": "~Private~" + } + }, + "317": { + "27": { + "name": "pixelRectForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 317, + 27 + ], + [ + 333, + 1 + ] + ], + "doc": "~Private~" + } + }, + "333": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 333, + 16 + ], + [ + 339, + 1 + ] + ], + "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " + } + }, + "339": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 339, + 16 + ], + [ + 343, + 1 + ] + ], + "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " + } + }, + "343": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 343, + 15 + ], + [ + 343, + 38 + ] + ], + "doc": "Deprecated: Use the softWrap property directly " + } + }, + "346": { + "15": { + "name": "getSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 15 + ], + [ + 346, + 26 + ] + ], + "doc": "Deprecated: Use the softWrap property directly " + } + }, + "351": { + "25": { + "name": "setEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorWidthInChars" + ], + "range": [ + [ + 351, + 25 + ], + [ + 359, + 1 + ] + ], + "doc": " Private: Set the number of characters that fit horizontally in the editor.\n\neditorWidthInChars - A {Number} of characters. " + } + }, + "359": { + "25": { + "name": "getEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 359, + 25 + ], + [ + 367, + 1 + ] + ], + "doc": "Private: Returns the editor width in characters for soft wrap. " + } + }, + "367": { + "21": { + "name": "getSoftWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 367, + 21 + ], + [ + 378, + 1 + ] + ], + "doc": "~Private~" + } + }, + "378": { + "14": { + "name": "lineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 378, + 14 + ], + [ + 387, + 1 + ] + ], + "doc": " Private: Gets the screen line for the given screen row.\n\nscreenRow - A {Number} indicating the screen row.\n\nReturns a {ScreenLine}. " + } + }, + "387": { + "16": { + "name": "linesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 387, + 16 + ], + [ + 393, + 1 + ] + ], + "doc": " Private: Gets the screen lines for the given screen row range.\n\nstartRow - A {Number} indicating the beginning screen row.\nendRow - A {Number} indicating the ending screen row.\n\nReturns an {Array} of {ScreenLine}s. " + } + }, + "393": { + "12": { + "name": "getLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 393, + 12 + ], + [ + 396, + 1 + ] + ], + "doc": " Private: Gets all the screen lines.\n\nReturns an {Array} of {ScreenLines}s. " + } + }, + "396": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 396, + 22 + ], + [ + 406, + 1 + ] + ], + "doc": "~Private~" + } + }, + "406": { + "27": { + "name": "bufferRowsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 406, + 27 + ], + [ + 416, + 1 + ] + ], + "doc": " Private: Given starting and ending screen rows, this returns an array of the\nbuffer rows corresponding to every screen row in the range\n\nstartScreenRow - The screen row {Number} to start at\nendScreenRow - The screen row {Number} to end at (default: the last screen row)\n\nReturns an {Array} of buffer rows as {Numbers}s. " + } + }, + "416": { + "14": { + "name": "createFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 416, + 14 + ], + [ + 422, + 1 + ] + ], + "doc": " Private: Creates a new fold between two row numbers.\n\nstartRow - The row {Number} to start folding at\nendRow - The row {Number} to end the fold\n\nReturns the new {Fold}. " + } + }, + "422": { + "23": { + "name": "isFoldedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 422, + 23 + ], + [ + 425, + 1 + ] + ], + "doc": "~Private~" + } + }, + "425": { + "23": { + "name": "isFoldedAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 425, + 23 + ], + [ + 429, + 1 + ] + ], + "doc": "~Private~" + } + }, + "429": { + "21": { + "name": "destroyFoldWithId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 429, + 21 + ], + [ + 435, + 1 + ] + ], + "doc": "Private: Destroys the fold with the given id " + } + }, + "435": { + "19": { + "name": "unfoldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 435, + 19 + ], + [ + 446, + 1 + ] + ], + "doc": " Private: Removes any folds found that contain the given buffer row.\n\nbufferRow - The buffer row {Number} to check against " + } + }, + "446": { + "34": { + "name": "largestFoldStartingAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 446, + 34 + ], + [ + 454, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold} or null if none exists. " + } + }, + "454": { + "28": { + "name": "foldsStartingAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 454, + 28 + ], + [ + 466, + 1 + ] + ], + "doc": " Public: Given a buffer row, this returns all folds that start there.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " + } + }, + "466": { + "34": { + "name": "largestFoldStartingAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 466, + 34 + ], + [ + 477, + 1 + ] + ], + "doc": " Private: Given a screen row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nscreenRow - A {Number} indicating the screen row\n\nReturns a {Fold}. " + } + }, + "477": { + "34": { + "name": "largestFoldContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 477, + 34 + ], + [ + 482, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns the largest fold that includes it.\n\nLargest is defined as the fold whose difference between its start and end rows\nis the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold}. " + } + }, + "482": { + "34": { + "name": "outermostFoldsInBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 482, + 34 + ], + [ + 493, + 1 + ] + ], + "doc": " Private: Returns the folds in the given row range (exclusive of end row) that are\nnot contained by any other folds. " + } + }, + "493": { + "28": { + "name": "foldsContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 493, + 28 + ], + [ + 502, + 1 + ] + ], + "doc": " Public: Given a buffer row, this returns folds that include it.\n\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " + } + }, + "502": { + "25": { + "name": "screenRowForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 502, + 25 + ], + [ + 505, + 1 + ] + ], + "doc": " Private: Given a buffer row, this converts it into a screen row.\n\nbufferRow - A {Number} representing a buffer row\n\nReturns a {Number}. " + } + }, + "505": { + "29": { + "name": "lastScreenRowForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 505, + 29 + ], + [ + 513, + 1 + ] + ], + "doc": "~Private~" + } + }, + "513": { + "25": { + "name": "bufferRowForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 513, + 25 + ], + [ + 521, + 1 + ] + ], + "doc": " Private: Given a screen row, this converts it into a buffer row.\n\nscreenRow - A {Number} representing a screen row\n\nReturns a {Number}. " + } + }, + "521": { + "29": { + "name": "screenRangeForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 521, + 29 + ], + [ + 532, + 1 + ] + ], + "doc": " Private: Given a buffer range, this converts it into a screen position.\n\nbufferRange - The {Range} to convert\n\nReturns a {Range}. " + } + }, + "532": { + "29": { + "name": "bufferRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 532, + 29 + ], + [ + 538, + 1 + ] + ], + "doc": " Private: Given a screen range, this converts it into a buffer position.\n\nscreenRange - The {Range} to convert\n\nReturns a {Range}. " + } + }, + "538": { + "28": { + "name": "pixelRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "clip" + ], + "range": [ + [ + 538, + 28 + ], + [ + 542, + 1 + ] + ], + "doc": "~Private~" + } + }, + "542": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "clip" + ], + "range": [ + [ + 542, + 34 + ], + [ + 561, + 1 + ] + ], + "doc": "~Private~" + } + }, + "561": { + "34": { + "name": "screenPositionForPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 561, + 34 + ], + [ + 581, + 1 + ] + ], + "doc": "~Private~" + } + }, + "581": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 581, + 34 + ], + [ + 587, + 1 + ] + ], + "doc": "~Private~" + } + }, + "587": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 587, + 16 + ], + [ + 593, + 1 + ] + ], + "doc": " Private: Gets the number of screen lines.\n\nReturns a {Number}. " + } + }, + "593": { + "14": { + "name": "getLastRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 593, + 14 + ], + [ + 599, + 1 + ] + ], + "doc": " Private: Gets the number of the last screen line.\n\nReturns a {Number}. " + } + }, + "599": { + "20": { + "name": "getMaxLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 599, + 20 + ], + [ + 605, + 1 + ] + ], + "doc": " Private: Gets the length of the longest screen line.\n\nReturns a {Number}. " + } + }, + "605": { + "23": { + "name": "getLongestScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 605, + 23 + ], + [ + 617, + 1 + ] + ], + "doc": " Private: Gets the row number of the longest screen line.\n\nReturn a {} " + } + }, + "617": { + "35": { + "name": "screenPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 617, + 35 + ], + [ + 651, + 1 + ] + ], + "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " + } + }, + "651": { + "35": { + "name": "bufferPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 651, + 35 + ], + [ + 661, + 1 + ] + ], + "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " + } + }, + "661": { + "27": { + "name": "scopesForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 661, + 27 + ], + [ + 664, + 1 + ] + ], + "doc": " Private: Retrieves the grammar's token scopes for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}\n\nReturns an {Array} of {String}s. " + } + }, + "664": { + "33": { + "name": "bufferRangeForScopeAtPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "position" + ], + "range": [ + [ + 664, + 33 + ], + [ + 672, + 1 + ] + ], + "doc": "~Private~" + } + }, + "672": { + "26": { + "name": "tokenForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 672, + 26 + ], + [ + 678, + 1 + ] + ], + "doc": " Private: Retrieves the grammar's token for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}.\n\nReturns a {Token}. " + } + }, + "678": { + "14": { + "name": "getGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 678, + 14 + ], + [ + 684, + 1 + ] + ], + "doc": " Private: Get the grammar for this buffer.\n\nReturns the current {Grammar} or the {NullGrammar}. " + } + }, + "684": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 684, + 14 + ], + [ + 688, + 1 + ] + ], + "doc": " Private: Sets the grammar for the buffer.\n\ngrammar - Sets the new grammar rules " + } + }, + "688": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 688, + 17 + ], + [ + 704, + 1 + ] + ], + "doc": "Private: Reloads the current grammar. " + } + }, + "704": { + "22": { + "name": "clipScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 704, + 22 + ], + [ + 740, + 1 + ] + ], + "doc": " Private: Given a position, this clips it to a real position.\n\nFor example, if `position`'s row exceeds the row count of the buffer,\nor if its column goes beyond a line's length, this \"sanitizes\" the value\nto a real position.\n\nposition - The {Point} to clip\noptions - A hash with the following values:\n wrapBeyondNewlines: if `true`, continues wrapping past newlines\n wrapAtSoftNewlines: if `true`, continues wrapping past soft newlines\n screenLine: if `true`, indicates that you're using a line number, not a row number\n\nReturns the new, clipped {Point}. Note that this could be the same as `position` if no clipping was performed. " + } + }, + "740": { + "18": { + "name": "findWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line", + "softWrapColumn" + ], + "range": [ + [ + 740, + 18 + ], + [ + 758, + 1 + ] + ], + "doc": " Private: Given a line, finds the point where it would wrap.\n\nline - The {String} to check\nsoftWrapColumn - The {Number} where you want soft wrapping to occur\n\nReturns a {Number} representing the `line` position where the wrap would take place.\nReturns `null` if a wrap wouldn't occur. " + } + }, + "758": { + "20": { + "name": "rangeForAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 758, + 20 + ], + [ + 761, + 1 + ] + ], + "doc": " Private: Calculates a {Range} representing the start of the {TextBuffer} until the end.\n\nReturns a {Range}. " + } + }, + "761": { + "19": { + "name": "decorationForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 761, + 19 + ], + [ + 764, + 1 + ] + ], + "doc": "~Private~" + } + }, + "764": { + "32": { + "name": "decorationsForScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 764, + 32 + ], + [ + 771, + 1 + ] + ], + "doc": "~Private~" + } + }, + "771": { + "18": { + "name": "decorateMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "decorationParams" + ], + "range": [ + [ + 771, + 18 + ], + [ + 793, + 1 + ] + ], + "doc": "~Private~" + } + }, + "793": { + "20": { + "name": "removeDecoration", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decoration" + ], + "range": [ + [ + 793, + 20 + ], + [ + 804, + 1 + ] + ], + "doc": "~Private~" + } + }, + "804": { + "33": { + "name": "removeAllDecorationsForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 804, + 33 + ], + [ + 810, + 1 + ] + ], + "doc": "~Private~" + } + }, + "810": { + "31": { + "name": "removedAllMarkerDecorations", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 810, + 31 + ], + [ + 818, + 1 + ] + ], + "doc": "~Private~" + } + }, + "818": { + "21": { + "name": "decorationUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "decoration" + ], + "range": [ + [ + 818, + 21 + ], + [ + 826, + 1 + ] + ], + "doc": "~Private~" + } + }, + "826": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 826, + 13 + ], + [ + 836, + 1 + ] + ], + "doc": " Private: Retrieves a {DisplayBufferMarker} based on its id.\n\nid - A {Number} representing a marker id\n\nReturns the {DisplayBufferMarker} (if it exists). " + } + }, + "836": { + "14": { + "name": "getMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 836, + 14 + ], + [ + 839, + 1 + ] + ], + "doc": " Private: Retrieves the active markers in the buffer.\n\nReturns an {Array} of existing {DisplayBufferMarker}s. " + } + }, + "839": { + "18": { + "name": "getMarkerCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 839, + 18 + ], + [ + 848, + 1 + ] + ], + "doc": "~Private~" + } + }, + "848": { + "19": { + "name": "markScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 848, + 19 + ], + [ + 858, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given screen range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "858": { + "19": { + "name": "markBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range", + "options" + ], + "range": [ + [ + 858, + 19 + ], + [ + 867, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given buffer range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "867": { + "22": { + "name": "markScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 867, + 22 + ], + [ + 876, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given screen position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "876": { + "22": { + "name": "markBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 876, + 22 + ], + [ + 882, + 1 + ] + ], + "doc": " Public: Constructs a new marker at the given buffer position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " + } + }, + "882": { + "17": { + "name": "destroyMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 882, + 17 + ], + [ + 891, + 1 + ] + ], + "doc": " Public: Removes the marker with the given id.\n\nid - The {Number} of the ID to remove " + } + }, + "891": { + "14": { + "name": "findMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 891, + 14 + ], + [ + 912, + 1 + ] + ], + "doc": " Private: Finds the first marker satisfying the given attributes\n\nRefer to {DisplayBuffer::findMarkers} for details.\n\nReturns a {DisplayBufferMarker} or null " + } + }, + "912": { + "15": { + "name": "findMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 912, + 15 + ], + [ + 916, + 1 + ] + ], + "doc": " Public: Find all markers satisfying a set of parameters.\n\nparams - An {Object} containing parameters that all returned markers must\n satisfy. Unreserved keys will be compared against the markers' custom\n properties. There are also the following reserved keys with special\n meaning for the query:\n :startBufferRow - A {Number}. Only returns markers starting at this row in\n buffer coordinates.\n :endBufferRow - A {Number}. Only returns markers ending at this row in\n buffer coordinates.\n :containsBufferRange - A {Range} or range-compatible {Array}. Only returns\n markers containing this range in buffer coordinates.\n :containsBufferPosition - A {Point} or point-compatible {Array}. Only\n returns markers containing this position in buffer coordinates.\n :containedInBufferRange - A {Range} or range-compatible {Array}. Only\n returns markers contained within this range.\n\nReturns an {Array} of {DisplayBufferMarker}s " + } + }, + "916": { + "33": { + "name": "translateToBufferMarkerParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 916, + 33 + ], + [ + 954, + 1 + ] + ], + "doc": "~Private~" + } + }, + "954": { + "18": { + "name": "findFoldMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 954, + 18 + ], + [ + 957, + 1 + ] + ], + "doc": "~Private~" + } + }, + "957": { + "19": { + "name": "findFoldMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 957, + 19 + ], + [ + 960, + 1 + ] + ], + "doc": "~Private~" + } + }, + "960": { + "27": { + "name": "getFoldMarkerAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "attributes" + ], + "range": [ + [ + 960, + 27 + ], + [ + 963, + 1 + ] + ], + "doc": "~Private~" + } + }, + "963": { + "24": { + "name": "pauseMarkerObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 963, + 24 + ], + [ + 966, + 1 + ] + ], + "doc": "~Private~" + } + }, + "966": { + "25": { + "name": "resumeMarkerObservers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 966, + 25 + ], + [ + 970, + 1 + ] + ], + "doc": "~Private~" + } + }, + "970": { + "32": { + "name": "refreshMarkerScreenPositions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 970, + 32 + ], + [ + 974, + 1 + ] + ], + "doc": "~Private~" + } + }, + "974": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 974, + 13 + ], + [ + 979, + 1 + ] + ], + "doc": "~Private~" + } + }, + "979": { + "12": { + "name": "logLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 979, + 12 + ], + [ + 984, + 1 + ] + ], + "doc": "~Private~" + } + }, + "984": { + "31": { + "name": "handleTokenizedBufferChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tokenizedBufferChange" + ], + "range": [ + [ + 984, + 31 + ], + [ + 989, + 1 + ] + ], + "doc": "~Private~" + } + }, + "989": { + "21": { + "name": "updateScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "endBufferRow", + "bufferDelta", + "options" + ], + "range": [ + [ + 989, + 21 + ], + [ + 1015, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1015": { + "20": { + "name": "buildScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "endBufferRow" + ], + "range": [ + [ + 1015, + 20 + ], + [ + 1061, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1061": { + "21": { + "name": "findMaxLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow", + "newScreenLines", + "screenDelta" + ], + "range": [ + [ + 1061, + 21 + ], + [ + 1083, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1083": { + "22": { + "name": "computeScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1083, + 22 + ], + [ + 1088, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1088": { + "30": { + "name": "handleBufferMarkersUpdated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1088, + 30 + ], + [ + 1093, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1093": { + "29": { + "name": "handleBufferMarkerCreated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1093, + 29 + ], + [ + 1097, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1097": { + "23": { + "name": "createFoldForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1097, + 23 + ], + [ + 1101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1101": { + "17": { + "name": "foldForMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1101, + 17 + ], + [ + 1102, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 19 + }, + "./build/src/editor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "10": { + "type": "import", + "range": [ + [ + 0, + 10 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$$", + "exportsProperty": "$$$" + } + }, + "1": { + "13": { + "name": "GutterView", + "type": "import", + "range": [ + [ + 1, + 13 + ], + [ + 1, + 35 + ] + ], + "bindingType": "variable", + "path": "./gutter-view" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Range", + "exportsProperty": "Range" + } + }, + "3": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 3, + 9 + ], + [ + 3, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "4": { + "13": { + "name": "CursorView", + "type": "import", + "range": [ + [ + 4, + 13 + ], + [ + 4, + 35 + ] + ], + "bindingType": "variable", + "path": "./cursor-view" + } + }, + "5": { + "16": { + "name": "SelectionView", + "type": "import", + "range": [ + [ + 5, + 16 + ], + [ + 5, + 41 + ] + ], + "bindingType": "variable", + "path": "./selection-view" + } + }, + "6": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 6, + 5 + ], + [ + 6, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "7": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "8": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 8, + 13 + ], + [ + 8, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0" + } + }, + "10": { + "15": { + "name": "MeasureRange", + "type": "function", + "range": [ + [ + 10, + 15 + ], + [ + 10, + 36 + ] + ] + } + }, + "11": { + "17": { + "type": "primitive", + "range": [ + [ + 11, + 17 + ], + [ + 11, + 59 + ] + ] + }, + "31": { + "name": "acceptNode", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 11, + 31 + ], + [ + 11, + 57 + ] + ], + "doc": null + } + }, + "12": { + "10": { + "type": "primitive", + "range": [ + [ + 12, + 10 + ], + [ + 12, + 21 + ] + ] + } + }, + "13": { + "17": { + "name": "1000", + "type": "primitive", + "range": [ + [ + 13, + 17 + ], + [ + 13, + 20 + ] + ] + } + }, + "41": { + "0": { + "type": "class", + "name": "EditorView", + "bindingType": "exports", + "classProperties": [ + [ + 42, + 24 + ], + [ + 44, + 4 + ], + [ + 61, + 17 + ], + [ + 63, + 12 + ], + [ + 76, + 12 + ], + [ + 1271, + 21 + ], + [ + 1485, + 18 + ], + [ + 1513, + 21 + ], + [ + 1529, + 14 + ], + [ + 1533, + 13 + ], + [ + 1537, + 23 + ] + ], + "prototypeProperties": [ + [ + 81, + 17 + ], + [ + 82, + 17 + ], + [ + 83, + 14 + ], + [ + 84, + 13 + ], + [ + 85, + 14 + ], + [ + 86, + 15 + ], + [ + 87, + 18 + ], + [ + 88, + 13 + ], + [ + 89, + 13 + ], + [ + 90, + 10 + ], + [ + 91, + 12 + ], + [ + 92, + 16 + ], + [ + 93, + 18 + ], + [ + 94, + 14 + ], + [ + 95, + 17 + ], + [ + 96, + 20 + ], + [ + 97, + 24 + ], + [ + 106, + 14 + ], + [ + 141, + 12 + ], + [ + 251, + 13 + ], + [ + 255, + 11 + ], + [ + 259, + 11 + ], + [ + 263, + 14 + ], + [ + 266, + 20 + ], + [ + 271, + 19 + ], + [ + 277, + 12 + ], + [ + 284, + 10 + ], + [ + 292, + 15 + ], + [ + 298, + 21 + ], + [ + 310, + 17 + ], + [ + 322, + 22 + ], + [ + 332, + 22 + ], + [ + 337, + 22 + ], + [ + 341, + 16 + ], + [ + 345, + 13 + ], + [ + 354, + 16 + ], + [ + 436, + 21 + ], + [ + 476, + 28 + ], + [ + 479, + 33 + ], + [ + 505, + 15 + ], + [ + 538, + 8 + ], + [ + 586, + 12 + ], + [ + 589, + 12 + ], + [ + 592, + 27 + ], + [ + 600, + 13 + ], + [ + 618, + 16 + ], + [ + 624, + 14 + ], + [ + 631, + 15 + ], + [ + 639, + 18 + ], + [ + 646, + 26 + ], + [ + 654, + 26 + ], + [ + 662, + 26 + ], + [ + 673, + 25 + ], + [ + 684, + 39 + ], + [ + 696, + 31 + ], + [ + 702, + 18 + ], + [ + 706, + 18 + ], + [ + 710, + 25 + ], + [ + 713, + 26 + ], + [ + 716, + 21 + ], + [ + 723, + 15 + ], + [ + 733, + 15 + ], + [ + 746, + 15 + ], + [ + 752, + 17 + ], + [ + 762, + 17 + ], + [ + 770, + 17 + ], + [ + 776, + 10 + ], + [ + 786, + 13 + ], + [ + 791, + 14 + ], + [ + 796, + 11 + ], + [ + 801, + 13 + ], + [ + 808, + 11 + ], + [ + 811, + 10 + ], + [ + 816, + 16 + ], + [ + 823, + 17 + ], + [ + 827, + 18 + ], + [ + 830, + 17 + ], + [ + 836, + 20 + ], + [ + 839, + 20 + ], + [ + 843, + 21 + ], + [ + 846, + 20 + ], + [ + 852, + 23 + ], + [ + 855, + 36 + ], + [ + 859, + 21 + ], + [ + 863, + 20 + ], + [ + 884, + 22 + ], + [ + 900, + 23 + ], + [ + 912, + 25 + ], + [ + 924, + 25 + ], + [ + 943, + 12 + ], + [ + 950, + 22 + ], + [ + 955, + 16 + ], + [ + 970, + 24 + ], + [ + 978, + 17 + ], + [ + 994, + 21 + ], + [ + 1006, + 22 + ], + [ + 1012, + 24 + ], + [ + 1023, + 25 + ], + [ + 1031, + 24 + ], + [ + 1034, + 14 + ], + [ + 1046, + 25 + ], + [ + 1057, + 23 + ], + [ + 1084, + 38 + ], + [ + 1102, + 23 + ], + [ + 1144, + 24 + ], + [ + 1158, + 20 + ], + [ + 1173, + 13 + ], + [ + 1178, + 19 + ], + [ + 1201, + 32 + ], + [ + 1214, + 28 + ], + [ + 1223, + 27 + ], + [ + 1234, + 22 + ], + [ + 1237, + 27 + ], + [ + 1241, + 32 + ], + [ + 1244, + 34 + ], + [ + 1249, + 21 + ], + [ + 1256, + 21 + ], + [ + 1298, + 32 + ], + [ + 1304, + 26 + ], + [ + 1313, + 27 + ], + [ + 1316, + 33 + ], + [ + 1325, + 34 + ], + [ + 1334, + 34 + ], + [ + 1348, + 32 + ], + [ + 1371, + 19 + ], + [ + 1416, + 26 + ], + [ + 1424, + 26 + ], + [ + 1432, + 28 + ], + [ + 1435, + 32 + ], + [ + 1440, + 32 + ], + [ + 1470, + 23 + ], + [ + 1481, + 23 + ], + [ + 1563, + 23 + ], + [ + 1573, + 25 + ], + [ + 1575, + 18 + ], + [ + 1578, + 18 + ], + [ + 1581, + 20 + ] + ], + "doc": " Public: Represents the entire visual pane in Atom.\n\nThe EditorView manages the {Editor}, which manages the file buffers.\n\n## Requiring in packages\n\n```coffee\n{EditorView} = require 'atom'\n\nminiEditorView = new EditorView(mini: true)\n```\n\n## Iterating over the open editor views\n\n```coffee\nfor editorView in atom.workspaceView.getEditorViews()\n console.log(editorView.getEditor().getPath())\n```\n\n## Subscribing to every current and future editor\n\n```coffee\natom.workspace.eachEditorView (editorView) ->\n console.log(editorView.getEditor().getPath())\n``` ", + "range": [ + [ + 41, + 0 + ], + [ + 1583, + 35 + ] + ] + } + }, + "42": { + "24": { + "name": "characterWidthCache", + "type": "primitive", + "range": [ + [ + 42, + 24 + ], + [ + 42, + 25 + ] + ], + "bindingType": "classProperty" + } + }, + "44": { + "4": { + "name": "configDefaults", + "type": "primitive", + "range": [ + [ + 44, + 4 + ], + [ + 59, + 32 + ] + ], + "bindingType": "classProperty" + } + }, + "61": { + "17": { + "name": "nextEditorId", + "type": "primitive", + "range": [ + [ + 61, + 17 + ], + [ + 61, + 17 + ] + ], + "bindingType": "classProperty" + } + }, + "63": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 63, + 12 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "12": { + "name": "classes", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 76, + 12 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "17": { + "name": "vScrollMargin", + "type": "primitive", + "range": [ + [ + 81, + 17 + ], + [ + 81, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "82": { + "17": { + "name": "hScrollMargin", + "type": "primitive", + "range": [ + [ + 82, + 17 + ], + [ + 82, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "83": { + "14": { + "name": "lineHeight", + "type": "primitive", + "range": [ + [ + 83, + 14 + ], + [ + 83, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "84": { + "13": { + "name": "charWidth", + "type": "primitive", + "range": [ + [ + 84, + 13 + ], + [ + 84, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "85": { + "14": { + "name": "charHeight", + "type": "primitive", + "range": [ + [ + 85, + 14 + ], + [ + 85, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "86": { + "15": { + "name": "cursorViews", + "type": "primitive", + "range": [ + [ + 86, + 15 + ], + [ + 86, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "87": { + "18": { + "name": "selectionViews", + "type": "primitive", + "range": [ + [ + 87, + 18 + ], + [ + 87, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "88": { + "13": { + "name": "lineCache", + "type": "primitive", + "range": [ + [ + 88, + 13 + ], + [ + 88, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "89": { + "13": { + "name": "isFocused", + "type": "primitive", + "range": [ + [ + 89, + 13 + ], + [ + 89, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "90": { + "10": { + "name": "editor", + "type": "primitive", + "range": [ + [ + 90, + 10 + ], + [ + 90, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "91": { + "12": { + "name": "attached", + "type": "primitive", + "range": [ + [ + 91, + 12 + ], + [ + 91, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "92": { + "16": { + "name": "lineOverdraw", + "type": "primitive", + "range": [ + [ + 92, + 16 + ], + [ + 92, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "93": { + "18": { + "name": "pendingChanges", + "type": "primitive", + "range": [ + [ + 93, + 18 + ], + [ + 93, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "94": { + "14": { + "name": "newCursors", + "type": "primitive", + "range": [ + [ + 94, + 14 + ], + [ + 94, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "95": { + "17": { + "name": "newSelections", + "type": "primitive", + "range": [ + [ + 95, + 17 + ], + [ + 95, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "96": { + "20": { + "name": "redrawOnReattach", + "type": "primitive", + "range": [ + [ + 96, + 20 + ], + [ + 96, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "97": { + "24": { + "name": "bottomPaddingInLines", + "type": "primitive", + "range": [ + [ + 97, + 24 + ], + [ + 97, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "106": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorOrOptions" + ], + "range": [ + [ + 106, + 14 + ], + [ + 141, + 1 + ] + ], + "doc": " Private: The constructor for setting up an `EditorView` instance.\n\neditorOrOptions - Either an {Editor}, or an object with one property, `mini`.\n If `mini` is `true`, a \"miniature\" `Editor` is constructed.\n Typically, this is ideal for scenarios where you need an Atom editor,\n but without all the chrome, like scrollbars, gutter, _e.t.c._.\n\n " + } + }, + "141": { + "12": { + "name": "bindKeys", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 12 + ], + [ + 251, + 1 + ] + ], + "doc": " Private: Sets up the core Atom commands.\n\nSome commands are excluded from mini-editors. " + } + }, + "251": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 251, + 13 + ], + [ + 255, + 1 + ] + ], + "doc": " Public: Get the underlying editor model for this view.\n\nReturns an {Editor}. " + } + }, + "255": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 255, + 11 + ], + [ + 259, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.getText} " + } + }, + "259": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 259, + 11 + ], + [ + 263, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.setText} " + } + }, + "263": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 263, + 14 + ], + [ + 266, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.insertText} " + } + }, + "266": { + "20": { + "name": "setHeightInLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "heightInLines" + ], + "range": [ + [ + 266, + 20 + ], + [ + 271, + 1 + ] + ], + "doc": "~Private~" + } + }, + "271": { + "19": { + "name": "setWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "widthInChars" + ], + "range": [ + [ + 271, + 19 + ], + [ + 277, + 1 + ] + ], + "doc": "Private: {Delegates to: Editor.setEditorWidthInChars} " + } + }, + "277": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 277, + 12 + ], + [ + 284, + 1 + ] + ], + "doc": " Public: Emulates the \"page down\" key, where the last row of a buffer scrolls\nto become the first. " + } + }, + "284": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 10 + ], + [ + 292, + 1 + ] + ], + "doc": " Public: Emulates the \"page up\" key, where the frst row of a buffer scrolls\nto become the last. " + } + }, + "292": { + "15": { + "name": "getPageRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 15 + ], + [ + 298, + 1 + ] + ], + "doc": " Private: Gets the number of actual page rows existing in an editor.\n\nReturns a {Number}. " + } + }, + "298": { + "21": { + "name": "setShowInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showInvisibles" + ], + "range": [ + [ + 298, + 21 + ], + [ + 310, + 1 + ] + ], + "doc": " Public: Set whether invisible characters are shown.\n\nshowInvisibles - A {Boolean} which, if `true`, show invisible characters. " + } + }, + "310": { + "17": { + "name": "setInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 310, + 17 + ], + [ + 322, + 1 + ] + ], + "doc": " Public: Defines which characters are invisible.\n\ninvisibles - An {Object} defining the invisible characters:\n :eol - The end of line invisible {String} (default: `\\u00ac`).\n :space - The space invisible {String} (default: `\\u00b7`).\n :tab - The tab invisible {String} (default: `\\u00bb`).\n :cr - The carriage return invisible {String} (default: `\\u00a4`). " + } + }, + "322": { + "22": { + "name": "setShowIndentGuide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showIndentGuide" + ], + "range": [ + [ + 322, + 22 + ], + [ + 332, + 1 + ] + ], + "doc": " Public: Sets whether you want to show the indentation guides.\n\nshowIndentGuide - A {Boolean} you can set to `true` if you want to see the\n indentation guides. " + } + }, + "332": { + "22": { + "name": "setPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "placeholderText" + ], + "range": [ + [ + 332, + 22 + ], + [ + 337, + 1 + ] + ], + "doc": " Public: Set the text to appear in the editor when it is empty.\n\nThis only affects mini editors.\n\nplaceholderText - A {String} of text to display when empty. " + } + }, + "337": { + "22": { + "name": "getPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 337, + 22 + ], + [ + 341, + 1 + ] + ], + "doc": "~Private~" + } + }, + "341": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 341, + 16 + ], + [ + 345, + 1 + ] + ], + "doc": "Private: Checkout the HEAD revision of this editor's file. " + } + }, + "345": { + "13": { + "name": "configure", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 345, + 13 + ], + [ + 354, + 1 + ] + ], + "doc": "~Private~" + } + }, + "354": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 354, + 16 + ], + [ + 436, + 1 + ] + ], + "doc": "~Private~" + } + }, + "436": { + "21": { + "name": "handleInputEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 436, + 21 + ], + [ + 476, + 1 + ] + ], + "doc": "~Private~" + } + }, + "476": { + "28": { + "name": "bringHiddenInputIntoView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 476, + 28 + ], + [ + 479, + 1 + ] + ], + "doc": "~Private~" + } + }, + "479": { + "33": { + "name": "selectOnMousemoveUntilMouseup", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 479, + 33 + ], + [ + 505, + 1 + ] + ], + "doc": "~Private~" + } + }, + "505": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 505, + 15 + ], + [ + 538, + 1 + ] + ], + "doc": "~Private~" + } + }, + "538": { + "8": { + "name": "edit", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 538, + 8 + ], + [ + 586, + 1 + ] + ], + "doc": "~Private~" + } + }, + "586": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 586, + 12 + ], + [ + 589, + 1 + ] + ], + "doc": "~Private~" + } + }, + "589": { + "12": { + "name": "setModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 589, + 12 + ], + [ + 592, + 1 + ] + ], + "doc": "~Private~" + } + }, + "592": { + "27": { + "name": "showBufferConflictAlert", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 592, + 27 + ], + [ + 600, + 1 + ] + ], + "doc": "~Private~" + } + }, + "600": { + "13": { + "name": "scrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop", + "options" + ], + "range": [ + [ + 600, + 13 + ], + [ + 618, + 1 + ] + ], + "doc": "~Private~" + } + }, + "618": { + "16": { + "name": "scrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 618, + 16 + ], + [ + 624, + 1 + ] + ], + "doc": "~Private~" + } + }, + "624": { + "14": { + "name": "scrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 624, + 14 + ], + [ + 631, + 1 + ] + ], + "doc": "~Private~" + } + }, + "631": { + "15": { + "name": "scrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 631, + 15 + ], + [ + 639, + 1 + ] + ], + "doc": "~Private~" + } + }, + "639": { + "18": { + "name": "scrollToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 639, + 18 + ], + [ + 646, + 1 + ] + ], + "doc": "Public: Scrolls the editor to the bottom. " + } + }, + "646": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 646, + 26 + ], + [ + 654, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the position of the most recently added\ncursor if it isn't current on screen.\n\nThe editor is centered around the cursor's position if possible. " + } + }, + "654": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 654, + 26 + ], + [ + 662, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given buffer position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " + } + }, + "662": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 662, + 26 + ], + [ + 673, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " + } + }, + "673": { + "25": { + "name": "scrollToPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition", + "options" + ], + "range": [ + [ + 673, + 25 + ], + [ + 684, + 1 + ] + ], + "doc": " Public: Scrolls the editor to the given pixel position.\n\npixelPosition - An object that represents a pixel position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or\n {Point}.\noptions - A hash with the following keys:\n :center - if `true`, the position is scrolled such that it's in\n the center of the editor " + } + }, + "684": { + "39": { + "name": "highlightFoldsContainingBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 684, + 39 + ], + [ + 696, + 1 + ] + ], + "doc": " Public: Highlight all the folds within the given buffer range.\n\n\"Highlighting\" essentially just adds the `fold-selected` class to the line's\nDOM element.\n\nbufferRange - The {Range} to check. " + } + }, + "696": { + "31": { + "name": "saveScrollPositionForEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 696, + 31 + ], + [ + 702, + 1 + ] + ], + "doc": "~Private~" + } + }, + "702": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 702, + 18 + ], + [ + 706, + 1 + ] + ], + "doc": "Public: Toggle soft tabs on the edit session. " + } + }, + "706": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 706, + 18 + ], + [ + 710, + 1 + ] + ], + "doc": "Public: Toggle soft wrap on the edit session. " + } + }, + "710": { + "25": { + "name": "calculateWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 710, + 25 + ], + [ + 713, + 1 + ] + ], + "doc": "~Private~" + } + }, + "713": { + "26": { + "name": "calculateHeightInLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 713, + 26 + ], + [ + 716, + 1 + ] + ], + "doc": "~Private~" + } + }, + "716": { + "21": { + "name": "getScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 716, + 21 + ], + [ + 723, + 1 + ] + ], + "doc": "~Private~" + } + }, + "723": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 723, + 15 + ], + [ + 733, + 1 + ] + ], + "doc": " Public: Enables/disables soft wrap on the editor.\n\nsoftWrap - A {Boolean} which, if `true`, enables soft wrap " + } + }, + "733": { + "15": { + "name": "setFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 733, + 15 + ], + [ + 746, + 1 + ] + ], + "doc": " Public: Sets the font size for the editor.\n\nfontSize - A {Number} indicating the font size in pixels. " + } + }, + "746": { + "15": { + "name": "getFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 746, + 15 + ], + [ + 752, + 1 + ] + ], + "doc": " Public: Retrieves the font size for the editor.\n\nReturns a {Number} indicating the font size in pixels. " + } + }, + "752": { + "17": { + "name": "setFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 752, + 17 + ], + [ + 762, + 1 + ] + ], + "doc": " Public: Sets the font family for the editor.\n\nfontFamily - A {String} identifying the CSS `font-family`. " + } + }, + "762": { + "17": { + "name": "getFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 762, + 17 + ], + [ + 762, + 38 + ] + ], + "doc": " Public: Gets the font family for the editor.\n\nReturns a {String} identifying the CSS `font-family`. " + } + }, + "770": { + "17": { + "name": "setLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 770, + 17 + ], + [ + 776, + 1 + ] + ], + "doc": " Public: Sets the line height of the editor.\n\nCalling this method has no effect when called on a mini editor.\n\nlineHeight - A {Number} without a unit suffix identifying the CSS\n`line-height`. " + } + }, + "776": { + "10": { + "name": "redraw", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 776, + 10 + ], + [ + 786, + 1 + ] + ], + "doc": "Public: Redraw the editor " + } + }, + "786": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 786, + 13 + ], + [ + 791, + 1 + ] + ], + "doc": "Public: Split the editor view left. " + } + }, + "791": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 791, + 14 + ], + [ + 796, + 1 + ] + ], + "doc": "Public: Split the editor view right. " + } + }, + "796": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 796, + 11 + ], + [ + 801, + 1 + ] + ], + "doc": "Public: Split the editor view up. " + } + }, + "801": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 801, + 13 + ], + [ + 808, + 1 + ] + ], + "doc": "Public: Split the editor view down. " + } + }, + "808": { + "11": { + "name": "getPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 808, + 11 + ], + [ + 811, + 1 + ] + ], + "doc": " Public: Get this view's pane.\n\nReturns a {Pane}. " + } + }, + "811": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "keepData" + ], + "range": [ + [ + 811, + 10 + ], + [ + 816, + 1 + ] + ], + "doc": "~Private~" + } + }, + "816": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 816, + 16 + ], + [ + 823, + 1 + ] + ], + "doc": "~Private~" + } + }, + "823": { + "17": { + "name": "getCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 823, + 17 + ], + [ + 827, + 1 + ] + ], + "doc": "~Private~" + } + }, + "827": { + "18": { + "name": "getCursorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 827, + 18 + ], + [ + 830, + 1 + ] + ], + "doc": "~Private~" + } + }, + "830": { + "17": { + "name": "addCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursor", + "options" + ], + "range": [ + [ + 830, + 17 + ], + [ + 836, + 1 + ] + ], + "doc": "~Private~" + } + }, + "836": { + "20": { + "name": "removeCursorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 836, + 20 + ], + [ + 839, + 1 + ] + ], + "doc": "~Private~" + } + }, + "839": { + "20": { + "name": "getSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 839, + 20 + ], + [ + 843, + 1 + ] + ], + "doc": "~Private~" + } + }, + "843": { + "21": { + "name": "getSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 843, + 21 + ], + [ + 846, + 1 + ] + ], + "doc": "~Private~" + } + }, + "846": { + "20": { + "name": "addSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 846, + 20 + ], + [ + 852, + 1 + ] + ], + "doc": "~Private~" + } + }, + "852": { + "23": { + "name": "removeSelectionView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selectionView" + ], + "range": [ + [ + 852, + 23 + ], + [ + 855, + 1 + ] + ], + "doc": "~Private~" + } + }, + "855": { + "36": { + "name": "removeAllCursorAndSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 855, + 36 + ], + [ + 859, + 1 + ] + ], + "doc": "~Private~" + } + }, + "859": { + "21": { + "name": "appendToLinesView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 859, + 21 + ], + [ + 863, + 1 + ] + ], + "doc": "~Private~" + } + }, + "863": { + "20": { + "name": "scrollVertically", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition", + null + ], + "range": [ + [ + 863, + 20 + ], + [ + 884, + 1 + ] + ], + "doc": "Private: Scrolls the editor vertically to a given position. " + } + }, + "884": { + "22": { + "name": "scrollHorizontally", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 884, + 22 + ], + [ + 900, + 1 + ] + ], + "doc": "Private: Scrolls the editor horizontally to a given position. " + } + }, + "900": { + "23": { + "name": "calculateDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 900, + 23 + ], + [ + 912, + 1 + ] + ], + "doc": "~Private~" + } + }, + "912": { + "25": { + "name": "recalculateDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 912, + 25 + ], + [ + 924, + 1 + ] + ], + "doc": "~Private~" + } + }, + "924": { + "25": { + "name": "updateLayerDimensions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollViewWidth" + ], + "range": [ + [ + 924, + 25 + ], + [ + 943, + 1 + ] + ], + "doc": "~Private~" + } + }, + "943": { + "12": { + "name": "isHidden", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 943, + 12 + ], + [ + 950, + 1 + ] + ], + "doc": "Private: Override for speed. The base function checks computedStyle, unnecessary here. " + } + }, + "950": { + "22": { + "name": "clearRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 950, + 22 + ], + [ + 955, + 1 + ] + ], + "doc": "~Private~" + } + }, + "955": { + "16": { + "name": "resetDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 955, + 16 + ], + [ + 970, + 1 + ] + ], + "doc": "~Private~" + } + }, + "970": { + "24": { + "name": "requestDisplayUpdate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 970, + 24 + ], + [ + 978, + 1 + ] + ], + "doc": "~Private~" + } + }, + "978": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 978, + 17 + ], + [ + 994, + 1 + ] + ], + "doc": "~Private~" + } + }, + "994": { + "21": { + "name": "updateCursorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 994, + 21 + ], + [ + 1006, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1006": { + "22": { + "name": "shouldUpdateCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursorView" + ], + "range": [ + [ + 1006, + 22 + ], + [ + 1012, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1012": { + "24": { + "name": "updateSelectionViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1012, + 24 + ], + [ + 1023, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1023": { + "25": { + "name": "shouldUpdateSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selectionView" + ], + "range": [ + [ + 1023, + 25 + ], + [ + 1031, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1031": { + "24": { + "name": "syncCursorAnimations", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1031, + 24 + ], + [ + 1034, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1034": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "suppressAutoscroll" + ], + "range": [ + [ + 1034, + 14 + ], + [ + 1046, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1046": { + "25": { + "name": "updatePlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1046, + 25 + ], + [ + 1057, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1057": { + "23": { + "name": "updateRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollViewWidth" + ], + "range": [ + [ + 1057, + 23 + ], + [ + 1084, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1084": { + "38": { + "name": "computeSurroundingEmptyLineChanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "change" + ], + "range": [ + [ + 1084, + 38 + ], + [ + 1102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1102": { + "23": { + "name": "computeIntactRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1102, + 23 + ], + [ + 1144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1144": { + "24": { + "name": "truncateIntactRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges", + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1144, + 24 + ], + [ + 1158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1158": { + "20": { + "name": "clearDirtyRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges" + ], + "range": [ + [ + 1158, + 20 + ], + [ + 1173, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1173": { + "13": { + "name": "clearLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement" + ], + "range": [ + [ + 1173, + 13 + ], + [ + 1178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1178": { + "19": { + "name": "fillDirtyRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "intactRanges", + "renderFrom", + "renderTo" + ], + "range": [ + [ + 1178, + 19 + ], + [ + 1201, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1201": { + "32": { + "name": "updatePaddingOfRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1201, + 32 + ], + [ + 1214, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1214": { + "28": { + "name": "getFirstVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1214, + 28 + ], + [ + 1223, + 1 + ] + ], + "doc": " Public: Retrieves the number of the row that is visible and currently at the\ntop of the editor.\n\nReturns a {Number}. " + } + }, + "1223": { + "27": { + "name": "getLastVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1223, + 27 + ], + [ + 1234, + 1 + ] + ], + "doc": " Public: Retrieves the number of the row that is visible and currently at the\nbottom of the editor.\n\nReturns a {Number}. " + } + }, + "1234": { + "22": { + "name": "isScreenRowVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 1234, + 22 + ], + [ + 1237, + 1 + ] + ], + "doc": " Public: Given a row number, identifies if it is currently visible.\n\nrow - A row {Number} to check\n\nReturns a {Boolean}. " + } + }, + "1237": { + "27": { + "name": "handleScreenLinesChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "change" + ], + "range": [ + [ + 1237, + 27 + ], + [ + 1241, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1241": { + "32": { + "name": "buildLineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 1241, + 32 + ], + [ + 1244, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1244": { + "34": { + "name": "buildLineElementsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1244, + 34 + ], + [ + 1249, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1249": { + "21": { + "name": "htmlForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1249, + 21 + ], + [ + 1256, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1256": { + "21": { + "name": "htmlForScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine", + "screenRow" + ], + "range": [ + [ + 1256, + 21 + ], + [ + 1271, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1271": { + "21": { + "name": "buildIndentation", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "screenRow", + "editor" + ], + "range": [ + [ + 1271, + 21 + ], + [ + 1298, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1298": { + "32": { + "name": "buildHtmlEndOfLineInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine" + ], + "range": [ + [ + 1298, + 32 + ], + [ + 1304, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1304": { + "26": { + "name": "getEndOfLineInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenLine" + ], + "range": [ + [ + 1304, + 26 + ], + [ + 1313, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1313": { + "27": { + "name": "lineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 1313, + 27 + ], + [ + 1316, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1316": { + "33": { + "name": "toggleLineCommentsInSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1316, + 33 + ], + [ + 1325, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1325": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1325, + 34 + ], + [ + 1334, + 1 + ] + ], + "doc": " Public: Converts a buffer position to a pixel position.\n\nposition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " + } + }, + "1334": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1334, + 34 + ], + [ + 1348, + 1 + ] + ], + "doc": " Public: Converts a screen position to a pixel position.\n\nposition - An object that represents a screen position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " + } + }, + "1348": { + "32": { + "name": "positionLeftForLineAndColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement", + "screenRow", + "screenColumn" + ], + "range": [ + [ + 1348, + 32 + ], + [ + 1371, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1371": { + "19": { + "name": "measureToColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElement", + "tokenizedLine", + "screenColumn" + ], + "range": [ + [ + 1371, + 19 + ], + [ + 1416, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1416": { + "26": { + "name": "getCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "char" + ], + "range": [ + [ + 1416, + 26 + ], + [ + 1424, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1424": { + "26": { + "name": "setCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "char", + "val" + ], + "range": [ + [ + 1424, + 26 + ], + [ + 1432, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1432": { + "28": { + "name": "clearCharacterWidthCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1432, + 28 + ], + [ + 1435, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1435": { + "32": { + "name": "pixelOffsetForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1435, + 32 + ], + [ + 1440, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1440": { + "32": { + "name": "screenPositionFromMouseEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 1440, + 32 + ], + [ + 1470, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1470": { + "23": { + "name": "highlightCursorLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1470, + 23 + ], + [ + 1481, + 1 + ] + ], + "doc": "Private: Highlights the current line the cursor is on. " + } + }, + "1481": { + "23": { + "name": "copyPathToClipboard", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1481, + 23 + ], + [ + 1485, + 1 + ] + ], + "doc": "Private: Copies the current file path to the native clipboard. " + } + }, + "1485": { + "18": { + "name": "buildLineHtml", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 1485, + 18 + ], + [ + 1513, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1513": { + "21": { + "name": "updateScopeStack", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 1513, + 21 + ], + [ + 1529, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1529": { + "14": { + "name": "pushScope", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack", + "scope" + ], + "range": [ + [ + 1529, + 14 + ], + [ + 1533, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1533": { + "13": { + "name": "popScope", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "line", + "scopeStack" + ], + "range": [ + [ + 1533, + 13 + ], + [ + 1537, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1537": { + "23": { + "name": "buildEmptyLineHtml", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "showIndentGuide", + "eolInvisibles", + "htmlEolInvisibles", + "indentation", + "editor", + "mini" + ], + "range": [ + [ + 1537, + 23 + ], + [ + 1563, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1563": { + "23": { + "name": "replaceSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "replaceFn" + ], + "range": [ + [ + 1563, + 23 + ], + [ + 1573, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1573": { + "25": { + "name": "consolidateSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 1573, + 25 + ], + [ + 1573, + 89 + ] + ], + "doc": "~Private~" + } + }, + "1575": { + "18": { + "name": "logCursorScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1575, + 18 + ], + [ + 1578, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1578": { + "18": { + "name": "logScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 1578, + 18 + ], + [ + 1581, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1581": { + "20": { + "name": "logRenderedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1581, + 20 + ], + [ + 1583, + 35 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 41 + }, + "./build/src/editor.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@^1" + } + }, + "3": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 3, + 12 + ], + [ + 3, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@^1" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Model", + "exportsProperty": "Model" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 6, + 8 + ], + [ + 6, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Range", + "exportsProperty": "Range" + } + }, + "7": { + "15": { + "name": "LanguageMode", + "type": "import", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 39 + ] + ], + "bindingType": "variable", + "path": "./language-mode" + } + }, + "8": { + "16": { + "name": "DisplayBuffer", + "type": "import", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 41 + ] + ], + "bindingType": "variable", + "path": "./display-buffer" + } + }, + "9": { + "9": { + "name": "Cursor", + "type": "import", + "range": [ + [ + 9, + 9 + ], + [ + 9, + 26 + ] + ], + "bindingType": "variable", + "path": "./cursor" + } + }, + "10": { + "12": { + "name": "Selection", + "type": "import", + "range": [ + [ + 10, + 12 + ], + [ + 10, + 32 + ] + ], + "bindingType": "variable", + "path": "./selection" + } + }, + "11": { + "24": { + "type": "primitive", + "range": [ + [ + 11, + 24 + ], + [ + 11, + 58 + ] + ] + } + }, + "138": { + "0": { + "type": "class", + "name": "Editor", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 143, + 17 + ], + [ + 144, + 32 + ], + [ + 145, + 18 + ], + [ + 146, + 10 + ], + [ + 147, + 16 + ], + [ + 148, + 11 + ], + [ + 149, + 14 + ], + [ + 150, + 28 + ], + [ + 151, + 20 + ], + [ + 152, + 26 + ], + [ + 161, + 15 + ], + [ + 190, + 19 + ], + [ + 197, + 21 + ], + [ + 202, + 21 + ], + [ + 215, + 28 + ], + [ + 228, + 16 + ], + [ + 234, + 13 + ], + [ + 242, + 8 + ], + [ + 258, + 12 + ], + [ + 271, + 16 + ], + [ + 281, + 14 + ], + [ + 288, + 25 + ], + [ + 292, + 21 + ], + [ + 296, + 15 + ], + [ + 301, + 15 + ], + [ + 304, + 18 + ], + [ + 307, + 15 + ], + [ + 312, + 15 + ], + [ + 315, + 18 + ], + [ + 323, + 14 + ], + [ + 328, + 16 + ], + [ + 331, + 16 + ], + [ + 339, + 16 + ], + [ + 361, + 22 + ], + [ + 369, + 19 + ], + [ + 381, + 27 + ], + [ + 396, + 30 + ], + [ + 414, + 22 + ], + [ + 418, + 21 + ], + [ + 428, + 8 + ], + [ + 435, + 10 + ], + [ + 437, + 16 + ], + [ + 442, + 23 + ], + [ + 447, + 11 + ], + [ + 450, + 11 + ], + [ + 453, + 11 + ], + [ + 458, + 18 + ], + [ + 461, + 16 + ], + [ + 464, + 13 + ], + [ + 467, + 10 + ], + [ + 470, + 20 + ], + [ + 473, + 24 + ], + [ + 479, + 25 + ], + [ + 482, + 24 + ], + [ + 486, + 20 + ], + [ + 494, + 27 + ], + [ + 500, + 20 + ], + [ + 506, + 26 + ], + [ + 509, + 8 + ], + [ + 512, + 21 + ], + [ + 515, + 30 + ], + [ + 518, + 14 + ], + [ + 520, + 11 + ], + [ + 524, + 22 + ], + [ + 536, + 35 + ], + [ + 546, + 35 + ], + [ + 551, + 29 + ], + [ + 556, + 29 + ], + [ + 573, + 22 + ], + [ + 576, + 20 + ], + [ + 579, + 22 + ], + [ + 582, + 22 + ], + [ + 585, + 26 + ], + [ + 588, + 20 + ], + [ + 591, + 27 + ], + [ + 593, + 25 + ], + [ + 605, + 27 + ], + [ + 614, + 31 + ], + [ + 618, + 26 + ], + [ + 624, + 19 + ], + [ + 626, + 18 + ], + [ + 633, + 14 + ], + [ + 639, + 17 + ], + [ + 643, + 22 + ], + [ + 649, + 22 + ], + [ + 668, + 10 + ], + [ + 674, + 13 + ], + [ + 678, + 30 + ], + [ + 683, + 30 + ], + [ + 690, + 27 + ], + [ + 696, + 27 + ], + [ + 701, + 10 + ], + [ + 708, + 21 + ], + [ + 714, + 21 + ], + [ + 718, + 14 + ], + [ + 722, + 22 + ], + [ + 726, + 23 + ], + [ + 734, + 33 + ], + [ + 739, + 26 + ], + [ + 744, + 30 + ], + [ + 751, + 18 + ], + [ + 758, + 19 + ], + [ + 765, + 20 + ], + [ + 779, + 13 + ], + [ + 798, + 8 + ], + [ + 803, + 8 + ], + [ + 812, + 18 + ], + [ + 817, + 20 + ], + [ + 822, + 21 + ], + [ + 826, + 11 + ], + [ + 830, + 13 + ], + [ + 836, + 24 + ], + [ + 846, + 17 + ], + [ + 852, + 19 + ], + [ + 862, + 25 + ], + [ + 865, + 25 + ], + [ + 870, + 14 + ], + [ + 874, + 21 + ], + [ + 878, + 39 + ], + [ + 884, + 25 + ], + [ + 893, + 23 + ], + [ + 901, + 23 + ], + [ + 909, + 23 + ], + [ + 913, + 34 + ], + [ + 917, + 34 + ], + [ + 921, + 34 + ], + [ + 926, + 14 + ], + [ + 979, + 16 + ], + [ + 1034, + 18 + ], + [ + 1060, + 17 + ], + [ + 1072, + 22 + ], + [ + 1075, + 23 + ], + [ + 1096, + 32 + ], + [ + 1137, + 18 + ], + [ + 1140, + 19 + ], + [ + 1144, + 13 + ], + [ + 1148, + 14 + ], + [ + 1170, + 15 + ], + [ + 1179, + 19 + ], + [ + 1188, + 19 + ], + [ + 1197, + 22 + ], + [ + 1206, + 22 + ], + [ + 1210, + 17 + ], + [ + 1216, + 18 + ], + [ + 1220, + 22 + ], + [ + 1224, + 14 + ], + [ + 1227, + 13 + ], + [ + 1233, + 29 + ], + [ + 1240, + 29 + ], + [ + 1245, + 13 + ], + [ + 1255, + 16 + ], + [ + 1264, + 16 + ], + [ + 1288, + 30 + ], + [ + 1301, + 26 + ], + [ + 1311, + 26 + ], + [ + 1321, + 27 + ], + [ + 1336, + 19 + ], + [ + 1342, + 19 + ], + [ + 1347, + 25 + ], + [ + 1355, + 31 + ], + [ + 1361, + 17 + ], + [ + 1363, + 27 + ], + [ + 1374, + 16 + ], + [ + 1381, + 20 + ], + [ + 1388, + 40 + ], + [ + 1394, + 28 + ], + [ + 1403, + 34 + ], + [ + 1415, + 27 + ], + [ + 1422, + 27 + ], + [ + 1428, + 22 + ], + [ + 1439, + 27 + ], + [ + 1446, + 27 + ], + [ + 1453, + 26 + ], + [ + 1460, + 26 + ], + [ + 1468, + 27 + ], + [ + 1476, + 27 + ], + [ + 1482, + 19 + ], + [ + 1490, + 24 + ], + [ + 1499, + 24 + ], + [ + 1505, + 34 + ], + [ + 1511, + 22 + ], + [ + 1515, + 16 + ], + [ + 1519, + 18 + ], + [ + 1523, + 18 + ], + [ + 1527, + 19 + ], + [ + 1533, + 19 + ], + [ + 1539, + 22 + ], + [ + 1543, + 37 + ], + [ + 1547, + 31 + ], + [ + 1551, + 36 + ], + [ + 1555, + 31 + ], + [ + 1559, + 25 + ], + [ + 1563, + 31 + ], + [ + 1567, + 25 + ], + [ + 1571, + 35 + ], + [ + 1575, + 36 + ], + [ + 1579, + 32 + ], + [ + 1583, + 40 + ], + [ + 1587, + 44 + ], + [ + 1596, + 26 + ], + [ + 1599, + 10 + ], + [ + 1604, + 12 + ], + [ + 1609, + 16 + ], + [ + 1612, + 18 + ], + [ + 1616, + 18 + ], + [ + 1619, + 15 + ], + [ + 1626, + 15 + ], + [ + 1636, + 26 + ], + [ + 1645, + 15 + ], + [ + 1652, + 14 + ], + [ + 1659, + 12 + ], + [ + 1666, + 14 + ], + [ + 1673, + 15 + ], + [ + 1679, + 13 + ], + [ + 1686, + 18 + ], + [ + 1693, + 27 + ], + [ + 1702, + 32 + ], + [ + 1709, + 21 + ], + [ + 1716, + 32 + ], + [ + 1723, + 28 + ], + [ + 1729, + 14 + ], + [ + 1740, + 21 + ], + [ + 1751, + 21 + ], + [ + 1759, + 28 + ], + [ + 1776, + 13 + ], + [ + 1791, + 13 + ], + [ + 1798, + 13 + ], + [ + 1809, + 13 + ], + [ + 1816, + 27 + ], + [ + 1823, + 21 + ], + [ + 1830, + 31 + ], + [ + 1834, + 14 + ], + [ + 1841, + 36 + ], + [ + 1848, + 40 + ], + [ + 1856, + 16 + ], + [ + 1863, + 16 + ], + [ + 1873, + 27 + ], + [ + 1879, + 28 + ], + [ + 1883, + 22 + ], + [ + 1889, + 31 + ], + [ + 1910, + 40 + ], + [ + 1919, + 14 + ], + [ + 1926, + 14 + ], + [ + 1930, + 17 + ], + [ + 1933, + 20 + ], + [ + 1944, + 12 + ], + [ + 1952, + 20 + ], + [ + 1958, + 21 + ], + [ + 1962, + 20 + ], + [ + 1964, + 11 + ], + [ + 1967, + 18 + ], + [ + 1969, + 22 + ], + [ + 1972, + 23 + ], + [ + 1976, + 23 + ], + [ + 1980, + 32 + ], + [ + 1983, + 27 + ], + [ + 1984, + 27 + ], + [ + 1986, + 29 + ], + [ + 1987, + 29 + ], + [ + 1989, + 25 + ], + [ + 1990, + 25 + ], + [ + 1992, + 29 + ], + [ + 1994, + 22 + ], + [ + 1995, + 22 + ], + [ + 1997, + 23 + ], + [ + 1999, + 25 + ], + [ + 2001, + 23 + ], + [ + 2002, + 23 + ], + [ + 2004, + 13 + ], + [ + 2005, + 13 + ], + [ + 2007, + 19 + ], + [ + 2009, + 12 + ], + [ + 2010, + 12 + ], + [ + 2012, + 16 + ], + [ + 2013, + 16 + ], + [ + 2015, + 19 + ], + [ + 2016, + 19 + ], + [ + 2018, + 17 + ], + [ + 2019, + 17 + ], + [ + 2021, + 18 + ], + [ + 2022, + 18 + ], + [ + 2024, + 19 + ], + [ + 2025, + 18 + ], + [ + 2027, + 22 + ], + [ + 2029, + 29 + ], + [ + 2031, + 38 + ], + [ + 2033, + 34 + ], + [ + 2035, + 34 + ], + [ + 2037, + 34 + ], + [ + 2039, + 27 + ], + [ + 2041, + 23 + ], + [ + 2043, + 26 + ], + [ + 2045, + 26 + ], + [ + 2047, + 26 + ], + [ + 2049, + 24 + ], + [ + 2051, + 32 + ], + [ + 2052, + 32 + ], + [ + 2054, + 29 + ], + [ + 2055, + 29 + ], + [ + 2058, + 12 + ] + ], + "doc": " Public: This class represents all essential editing state for a single\n{TextBuffer}, including cursor and selection positions, folds, and soft wraps.\nIf you're manipulating the state of an editor, use this class. If you're\ninterested in the visual appearance of editors, use {EditorView} instead.\n\nA single {TextBuffer} can belong to multiple editors. For example, if the\nsame file is open in two different panes, Atom creates a separate editor for\neach pane. If the buffer is manipulated the changes are reflected in both\neditors, but each maintains its own cursor position, folded lines, etc.\n\n## Accessing Editor Instances\n\nThe easiest way to get hold of `Editor` objects is by registering a callback\nwith `::eachEditor` on the `atom.workspace` global. Your callback will then\nbe called with all current editor instances and also when any editor is\ncreated in the future.\n\n```coffeescript\n atom.workspace.eachEditor (editor) ->\n editor.insertText('Hello World')\n```\n\n## Buffer vs. Screen Coordinates\n\nBecause editors support folds and soft-wrapping, the lines on screen don't\nalways match the lines in the buffer. For example, a long line that soft wraps\ntwice renders as three lines on screen, but only represents one line in the\nbuffer. Similarly, if rows 5-10 are folded, then row 6 on screen corresponds\nto row 11 in the buffer.\n\nYour choice of coordinates systems will depend on what you're trying to\nachieve. For example, if you're writing a command that jumps the cursor up or\ndown by 10 lines, you'll want to use screen coordinates because the user\nprobably wants to skip lines *on screen*. However, if you're writing a package\nthat jumps between method definitions, you'll want to work in buffer\ncoordinates.\n\n**When in doubt, just default to buffer coordinates**, then experiment with\nsoft wraps and folds to ensure your code interacts with them correctly.\n\n## Common Tasks\n\nThis is a subset of methods on this class. Refer to the complete summary for\nits full capabilities.\n\n### Cursors\n- {::setCursorBufferPosition}\n- {::setCursorScreenPosition}\n- {::moveCursorUp}\n- {::moveCursorDown}\n- {::moveCursorLeft}\n- {::moveCursorRight}\n- {::moveCursorToBeginningOfWord}\n- {::moveCursorToEndOfWord}\n- {::moveCursorToPreviousWordBoundary}\n- {::moveCursorToNextWordBoundary}\n- {::moveCursorToBeginningOfNextWord}\n- {::moveCursorToBeginningOfLine}\n- {::moveCursorToEndOfLine}\n- {::moveCursorToFirstCharacterOfLine}\n- {::moveCursorToTop}\n- {::moveCursorToBottom}\n\n### Selections\n- {::getSelectedBufferRange}\n- {::getSelectedBufferRanges}\n- {::setSelectedBufferRange}\n- {::setSelectedBufferRanges}\n- {::selectUp}\n- {::selectDown}\n- {::selectLeft}\n- {::selectRight}\n- {::selectToBeginningOfWord}\n- {::selectToEndOfWord}\n- {::selectToPreviousWordBoundary}\n- {::selectToNextWordBoundary}\n- {::selectWord}\n- {::selectToBeginningOfLine}\n- {::selectToEndOfLine}\n- {::selectToFirstCharacterOfLine}\n- {::selectToTop}\n- {::selectToBottom}\n- {::selectAll}\n- {::addSelectionForBufferRange}\n- {::addSelectionAbove}\n- {::addSelectionBelow}\n- {::splitSelectionsIntoLines}\n\n### Manipulating Text\n- {::getText}\n- {::getSelectedText}\n- {::setText}\n- {::setTextInBufferRange}\n- {::insertText}\n- {::insertNewline}\n- {::insertNewlineAbove}\n- {::insertNewlineBelow}\n- {::backspace}\n- {::deleteToBeginningOfWord}\n- {::deleteToBeginningOfLine}\n- {::delete}\n- {::deleteToEndOfLine}\n- {::deleteToEndOfWord}\n- {::deleteLine}\n- {::cutSelectedText}\n- {::cutToEndOfLine}\n- {::copySelectedText}\n- {::pasteText}\n\n### Undo, Redo, and Transactions\n- {::undo}\n- {::redo}\n- {::transact}\n- {::abortTransaction}\n\n### Markers\n- {::markBufferRange}\n- {::markScreenRange}\n- {::getMarker}\n- {::findMarkers}\n\n### Decorations\n- {::decorateMarker}\n- {::decorationsForScreenRowRange} ", + "range": [ + [ + 138, + 0 + ], + [ + 2060, + 16 + ] + ] + } + }, + "143": { + "17": { + "name": "deserializing", + "type": "primitive", + "range": [ + [ + 143, + 17 + ], + [ + 143, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "144": { + "32": { + "name": "callDisplayBufferCreatedHook", + "type": "primitive", + "range": [ + [ + 144, + 32 + ], + [ + 144, + 36 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "145": { + "18": { + "name": "registerEditor", + "type": "primitive", + "range": [ + [ + 145, + 18 + ], + [ + 145, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "146": { + "10": { + "name": "buffer", + "type": "primitive", + "range": [ + [ + 146, + 10 + ], + [ + 146, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "147": { + "16": { + "name": "languageMode", + "type": "primitive", + "range": [ + [ + 147, + 16 + ], + [ + 147, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "148": { + "11": { + "name": "cursors", + "type": "primitive", + "range": [ + [ + 148, + 11 + ], + [ + 148, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "149": { + "14": { + "name": "selections", + "type": "primitive", + "range": [ + [ + 149, + 14 + ], + [ + 149, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "150": { + "28": { + "name": "suppressSelectionMerging", + "type": "primitive", + "range": [ + [ + 150, + 28 + ], + [ + 150, + 32 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "151": { + "20": { + "name": "updateBatchDepth", + "type": "primitive", + "range": [ + [ + 151, + 20 + ], + [ + 151, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "152": { + "26": { + "name": "selectionFlashDuration", + "type": "primitive", + "range": [ + [ + 152, + 26 + ], + [ + 152, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "161": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 161, + 15 + ], + [ + 190, + 1 + ] + ], + "doc": "~Private~" + } + }, + "190": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 19 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 197, + 21 + ], + [ + 202, + 1 + ] + ], + "doc": "~Private~" + } + }, + "202": { + "21": { + "name": "subscribeToBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 202, + 21 + ], + [ + 215, + 1 + ] + ], + "doc": "~Private~" + } + }, + "215": { + "28": { + "name": "subscribeToDisplayBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 215, + 28 + ], + [ + 228, + 1 + ] + ], + "doc": "~Private~" + } + }, + "228": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 228, + 16 + ], + [ + 234, + 1 + ] + ], + "doc": "~Private~" + } + }, + "234": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 13 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 242, + 8 + ], + [ + 258, + 1 + ] + ], + "doc": "Private: Create an {Editor} with its initial state based on this object " + } + }, + "258": { + "12": { + "name": "getTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 258, + 12 + ], + [ + 271, + 1 + ] + ], + "doc": " Public: Get the title the editor's title for display in other parts of the\nUI such as the tabs.\n\nIf the editor's buffer is saved, its title is the file name. If it is\nunsaved, its title is \"untitled\".\n\nReturns a {String}. " + } + }, + "271": { + "16": { + "name": "getLongTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 271, + 16 + ], + [ + 281, + 1 + ] + ], + "doc": " Public: Get the editor's long title for display in other parts of the UI\nsuch as the window title.\n\nIf the editor's buffer is saved, its long title is formatted as\n\" - \". If it is unsaved, its title is \"untitled\"\n\nReturns a {String}. " + } + }, + "281": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "visible" + ], + "range": [ + [ + 281, + 14 + ], + [ + 281, + 60 + ] + ], + "doc": "Private: Controls visibility based on the given {Boolean}. " + } + }, + "288": { + "25": { + "name": "setEditorWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorWidthInChars" + ], + "range": [ + [ + 288, + 25 + ], + [ + 292, + 1 + ] + ], + "doc": " Private: Set the number of characters that can be displayed horizontally in the\neditor.\n\neditorWidthInChars - A {Number} representing the width of the {EditorView}\nin characters. " + } + }, + "292": { + "21": { + "name": "getSoftWrapColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 292, + 21 + ], + [ + 292, + 57 + ] + ], + "doc": "Public: Sets the column at which column will soft wrap " + } + }, + "296": { + "15": { + "name": "getSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 296, + 15 + ], + [ + 296, + 26 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether softTabs are enabled for this\neditor. " + } + }, + "301": { + "15": { + "name": "setSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 301, + 15 + ], + [ + 301, + 38 + ] + ], + "doc": " Public: Enable or disable soft tabs for this editor.\n\nsoftTabs - A {Boolean} " + } + }, + "304": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 304, + 18 + ], + [ + 304, + 52 + ] + ], + "doc": "Public: Toggle soft tabs for this editor " + } + }, + "307": { + "15": { + "name": "getSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 307, + 15 + ], + [ + 307, + 45 + ] + ], + "doc": "Public: Get whether soft wrap is enabled for this editor. " + } + }, + "312": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 312, + 15 + ], + [ + 312, + 64 + ] + ], + "doc": " Public: Enable or disable soft wrap for this editor.\n\nsoftWrap - A {Boolean} " + } + }, + "315": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 18 + ], + [ + 315, + 52 + ] + ], + "doc": "Public: Toggle soft wrap for this editor " + } + }, + "323": { + "14": { + "name": "getTabText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 323, + 14 + ], + [ + 323, + 37 + ] + ], + "doc": " Public: Get the text representing a single level of indent.\n\nIf soft tabs are enabled, the text is composed of N spaces, where N is the\ntab length. Otherwise the text is a tab character (`\\t`).\n\nReturns a {String}. " + } + }, + "328": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 328, + 16 + ], + [ + 328, + 47 + ] + ], + "doc": " Public: Get the on-screen length of tab characters.\n\nReturns a {Number}. " + } + }, + "331": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 331, + 16 + ], + [ + 331, + 68 + ] + ], + "doc": "Public: Set the on-screen length of tab characters. " + } + }, + "339": { + "16": { + "name": "usesSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 339, + 16 + ], + [ + 361, + 1 + ] + ], + "doc": " Public: Determine if the buffer uses hard or soft tabs.\n\nReturns `true` if the first non-comment line with leading whitespace starts\nwith a space character. Returns `false` if it starts with a hard tab (`\\t`).\n\nReturns a {Boolean}, " + } + }, + "361": { + "22": { + "name": "clipBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 361, + 22 + ], + [ + 361, + 77 + ] + ], + "doc": " Public: Clip the given {Point} to a valid position in the buffer.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the buffer, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " + } + }, + "369": { + "19": { + "name": "clipBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 369, + 19 + ], + [ + 369, + 53 + ] + ], + "doc": " Public: Clip the start and end of the given range to valid positions in the\nbuffer. See {::clipBufferPosition} for more information.\n\nrange - The {Range} to clip.\n\nReturns a {Range}. " + } + }, + "381": { + "27": { + "name": "indentationForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 381, + 27 + ], + [ + 396, + 1 + ] + ], + "doc": " Public: Get the indentation level of the given a buffer row.\n\nReturns how deeply the given row is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nbufferRow - A {Number} indicating the buffer row.\n\nReturns a {Number}. " + } + }, + "396": { + "30": { + "name": "setIndentationForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "newLevel", + null + ], + "range": [ + [ + 396, + 30 + ], + [ + 414, + 1 + ] + ], + "doc": " Public: Set the indentation level for the given buffer row.\n\nInserts or removes hard tabs or spaces based on the soft tabs and tab length\nsettings of this editor in order to bring it to the given indentation level.\nNote that if soft tabs are enabled and the tab length is 2, a row with 4\nleading spaces would have an indentation level of 2.\n\nbufferRow - A {Number} indicating the buffer row.\nnewLevel - A {Number} indicating the new indentation level.\noptions - An {Object} with the following keys:\n :preserveLeadingWhitespace - true to preserve any whitespace already at\n the beginning of the line (default: false). " + } + }, + "414": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 414, + 22 + ], + [ + 418, + 1 + ] + ], + "doc": " Public: Get the indentation level of the given line of text.\n\nReturns how deeply the given line is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nline - A {String} representing a line of text.\n\nReturns a {Number}. " + } + }, + "418": { + "21": { + "name": "buildIndentString", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "number", + "column" + ], + "range": [ + [ + 418, + 21 + ], + [ + 428, + 1 + ] + ], + "doc": "Private: Constructs the string used for tabs. " + } + }, + "428": { + "8": { + "name": "save", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 8 + ], + [ + 428, + 24 + ] + ], + "doc": " Public: Saves the editor's text buffer.\n\nSee {TextBuffer::save} for more details. " + } + }, + "435": { + "10": { + "name": "saveAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 435, + 10 + ], + [ + 435, + 47 + ] + ], + "doc": " Public: Saves the editor's text buffer as the given path.\n\nSee {TextBuffer::saveAs} for more details.\n\nfilePath - A {String} path. " + } + }, + "437": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 437, + 16 + ], + [ + 442, + 1 + ] + ], + "doc": "~Private~" + } + }, + "442": { + "23": { + "name": "copyPathToClipboard", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 442, + 23 + ], + [ + 447, + 1 + ] + ], + "doc": "Private: Copies the current file path to the native clipboard. " + } + }, + "447": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 447, + 11 + ], + [ + 447, + 30 + ] + ], + "doc": "Public: Returns the {String} path of this editor's text buffer. " + } + }, + "450": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 450, + 11 + ], + [ + 450, + 30 + ] + ], + "doc": "Public: Returns a {String} representing the entire contents of the editor. " + } + }, + "453": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 453, + 11 + ], + [ + 453, + 41 + ] + ], + "doc": "Public: Replaces the entire contents of the buffer with the given {String}. " + } + }, + "458": { + "18": { + "name": "getTextInRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 458, + 18 + ], + [ + 458, + 57 + ] + ], + "doc": " Private: Get the text in the given {Range}.\n\nReturns a {String}. " + } + }, + "461": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 461, + 16 + ], + [ + 461, + 40 + ] + ], + "doc": "Public: Returns a {Number} representing the number of lines in the editor. " + } + }, + "464": { + "13": { + "name": "getBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 464, + 13 + ], + [ + 464, + 22 + ] + ], + "doc": "Private: Retrieves the current {TextBuffer}. " + } + }, + "467": { + "10": { + "name": "getUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 467, + 10 + ], + [ + 467, + 28 + ] + ], + "doc": "Public: Retrieves the current buffer's URI. " + } + }, + "470": { + "20": { + "name": "isBufferRowBlank", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 470, + 20 + ], + [ + 470, + 63 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.isRowBlank} " + } + }, + "473": { + "24": { + "name": "isBufferRowCommented", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 473, + 24 + ], + [ + 479, + 1 + ] + ], + "doc": "Public: Determine if the given row is entirely a comment " + } + }, + "479": { + "25": { + "name": "nextNonBlankBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 479, + 25 + ], + [ + 479, + 73 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.nextNonBlankRow} " + } + }, + "482": { + "24": { + "name": "getEofBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 482, + 24 + ], + [ + 482, + 50 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.getEndPosition} " + } + }, + "486": { + "20": { + "name": "getLastBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 486, + 20 + ], + [ + 486, + 42 + ] + ], + "doc": " Public: Returns a {Number} representing the last zero-indexed buffer row\nnumber of the editor. " + } + }, + "494": { + "27": { + "name": "bufferRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + null + ], + "range": [ + [ + 494, + 27 + ], + [ + 494, + 96 + ] + ], + "doc": " Private: Returns the range for the given buffer row.\n\nrow - A row {Number}.\noptions - An options hash with an `includeNewline` key.\n\nReturns a {Range}. " + } + }, + "500": { + "20": { + "name": "lineForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 500, + 20 + ], + [ + 500, + 51 + ] + ], + "doc": " Public: Returns a {String} representing the contents of the line at the\ngiven buffer row.\n\nrow - A {Number} representing a zero-indexed buffer row. " + } + }, + "506": { + "26": { + "name": "lineLengthForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 506, + 26 + ], + [ + 506, + 63 + ] + ], + "doc": " Public: Returns a {Number} representing the line length for the given\nbuffer row, exclusive of its line-ending character(s).\n\nrow - A {Number} indicating the buffer row. " + } + }, + "509": { + "8": { + "name": "scan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 509, + 8 + ], + [ + 509, + 41 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.scan} " + } + }, + "512": { + "21": { + "name": "scanInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 512, + 21 + ], + [ + 512, + 61 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.scanInRange} " + } + }, + "515": { + "30": { + "name": "backwardsScanInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 515, + 30 + ], + [ + 515, + 79 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.backwardsScanInRange} " + } + }, + "518": { + "14": { + "name": "isModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 518, + 14 + ], + [ + 518, + 36 + ] + ], + "doc": "Private: {Delegates to: TextBuffer.isModified} " + } + }, + "520": { + "11": { + "name": "isEmpty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 520, + 11 + ], + [ + 520, + 30 + ] + ], + "doc": "~Private~" + } + }, + "524": { + "22": { + "name": "shouldPromptToSave", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 524, + 22 + ], + [ + 524, + 74 + ] + ], + "doc": " Public: Determine whether the user should be prompted to save before closing\nthis editor. " + } + }, + "536": { + "35": { + "name": "screenPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 536, + 35 + ], + [ + 536, + 134 + ] + ], + "doc": " Public: Convert a position in buffer-coordinates to screen-coordinates.\n\nThe position is clipped via {::clipBufferPosition} prior to the conversion.\nThe position is also clipped via {::clipScreenPosition} following the\nconversion, which only makes a difference when `options` are supplied.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " + } + }, + "546": { + "35": { + "name": "bufferPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 546, + 35 + ], + [ + 546, + 134 + ] + ], + "doc": " Public: Convert a position in screen-coordinates to buffer-coordinates.\n\nThe position is clipped via {::clipScreenPosition} prior to the conversion.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " + } + }, + "551": { + "29": { + "name": "screenRangeForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 551, + 29 + ], + [ + 551, + 98 + ] + ], + "doc": " Public: Convert a range in buffer-coordinates to screen-coordinates.\n\nReturns a {Range}. " + } + }, + "556": { + "29": { + "name": "bufferRangeForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 556, + 29 + ], + [ + 556, + 98 + ] + ], + "doc": " Public: Convert a range in screen-coordinates to buffer-coordinates.\n\nReturns a {Range}. " + } + }, + "573": { + "22": { + "name": "clipScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 573, + 22 + ], + [ + 573, + 108 + ] + ], + "doc": " Public: Clip the given {Point} to a valid position on screen.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the screen, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at screen row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " + } + }, + "576": { + "20": { + "name": "lineForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 576, + 20 + ], + [ + 576, + 58 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.lineForRow} " + } + }, + "579": { + "22": { + "name": "linesForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 579, + 22 + ], + [ + 579, + 76 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.linesForRows} " + } + }, + "582": { + "22": { + "name": "getScreenLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 582, + 22 + ], + [ + 582, + 53 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getLineCount} " + } + }, + "585": { + "26": { + "name": "getMaxScreenLineLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 585, + 26 + ], + [ + 585, + 61 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getMaxLineLength} " + } + }, + "588": { + "20": { + "name": "getLastScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 588, + 20 + ], + [ + 588, + 49 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.getLastRow} " + } + }, + "591": { + "27": { + "name": "bufferRowsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 591, + 27 + ], + [ + 591, + 104 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.bufferRowsForScreenRows} " + } + }, + "593": { + "25": { + "name": "bufferRowForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 593, + 25 + ], + [ + 593, + 74 + ] + ], + "doc": "~Private~" + } + }, + "605": { + "27": { + "name": "scopesForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 605, + 27 + ], + [ + 605, + 100 + ] + ], + "doc": " Public: Get the syntactic scopes for the given position in buffer\ncoordinates.\n\nFor example, if called with a position inside the parameter list of an\nanonymous CoffeeScript function, the method returns the following array:\n`[\"source.coffee\", \"meta.inline.function.coffee\", \"variable.parameter.function.coffee\"]`\n\nbufferPosition - A {Point} or {Array} of [row, column].\n\nReturns an {Array} of {String}s. " + } + }, + "614": { + "31": { + "name": "bufferRangeForScopeAtCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 614, + 31 + ], + [ + 618, + 1 + ] + ], + "doc": " Public: Get the range in buffer coordinates of all tokens surrounding the\ncursor that match the given scope selector.\n\nFor example, if you wanted to find the string surrounding the cursor, you\ncould call `editor.bufferRangeForScopeAtCursor(\".string.quoted\")`.\n\nReturns a {Range}. " + } + }, + "618": { + "26": { + "name": "tokenForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 618, + 26 + ], + [ + 618, + 98 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.tokenForBufferPosition} " + } + }, + "624": { + "19": { + "name": "getCursorScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 624, + 19 + ], + [ + 624, + 45 + ] + ], + "doc": " Public: Get the syntactic scopes for the most recently added cursor's\nposition. See {::scopesForBufferPosition} for more information.\n\nReturns an {Array} of {String}s. " + } + }, + "626": { + "18": { + "name": "logCursorScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 626, + 18 + ], + [ + 633, + 1 + ] + ], + "doc": "~Private~" + } + }, + "633": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 633, + 14 + ], + [ + 639, + 1 + ] + ], + "doc": " Public: For each selection, replace the selected text with the given text.\n\ntext - A {String} representing the text to insert.\noptions - See {Selection::insertText}. " + } + }, + "639": { + "17": { + "name": "insertNewline", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 639, + 17 + ], + [ + 643, + 1 + ] + ], + "doc": "Public: For each selection, replace the selected text with a newline. " + } + }, + "643": { + "22": { + "name": "insertNewlineBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 643, + 22 + ], + [ + 649, + 1 + ] + ], + "doc": "Public: For each cursor, insert a newline at beginning the following line. " + } + }, + "649": { + "22": { + "name": "insertNewlineAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 649, + 22 + ], + [ + 668, + 1 + ] + ], + "doc": "Public: For each cursor, insert a newline at the end of the preceding line. " + } + }, + "668": { + "10": { + "name": "indent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 668, + 10 + ], + [ + 674, + 1 + ] + ], + "doc": " Private: Indent all lines intersecting selections. See {Selection::indent} for more\ninformation. " + } + }, + "674": { + "13": { + "name": "backspace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 674, + 13 + ], + [ + 678, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete the character\npreceding the cursor. Otherwise delete the selected text. " + } + }, + "678": { + "30": { + "name": "backspaceToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 678, + 30 + ], + [ + 683, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " + } + }, + "683": { + "30": { + "name": "backspaceToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 683, + 30 + ], + [ + 690, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " + } + }, + "690": { + "27": { + "name": "deleteToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 690, + 27 + ], + [ + 696, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word that precede the cursor. Otherwise delete the\nselected text. " + } + }, + "696": { + "27": { + "name": "deleteToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 696, + 27 + ], + [ + 701, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing line that precede the cursor. Otherwise delete the\nselected text. " + } + }, + "701": { + "10": { + "name": "delete", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 701, + 10 + ], + [ + 708, + 1 + ] + ] + } + }, + "708": { + "21": { + "name": "deleteToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 708, + 21 + ], + [ + 714, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is not empty, deletes the\nselection; otherwise, deletes all characters of the containing line\nfollowing the cursor. If the cursor is already at the end of the line,\ndeletes the following newline. " + } + }, + "714": { + "21": { + "name": "deleteToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 714, + 21 + ], + [ + 718, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word following the cursor. Otherwise delete the selected\ntext. " + } + }, + "718": { + "14": { + "name": "deleteLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 718, + 14 + ], + [ + 722, + 1 + ] + ], + "doc": "Public: Delete all lines intersecting selections. " + } + }, + "722": { + "22": { + "name": "indentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 722, + 22 + ], + [ + 726, + 1 + ] + ], + "doc": "Public: Indent rows intersecting selections by one level. " + } + }, + "726": { + "23": { + "name": "outdentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 726, + 23 + ], + [ + 734, + 1 + ] + ], + "doc": "Public: Outdent rows intersecting selections by one level. " + } + }, + "734": { + "33": { + "name": "toggleLineCommentsInSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 734, + 33 + ], + [ + 739, + 1 + ] + ], + "doc": " Public: Toggle line comments for rows intersecting selections.\n\nIf the current grammar doesn't support comments, does nothing.\n\nReturns an {Array} of the commented {Range}s. " + } + }, + "739": { + "26": { + "name": "autoIndentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 739, + 26 + ], + [ + 744, + 1 + ] + ], + "doc": " Public: Indent rows intersecting selections based on the grammar's suggested\nindent level. " + } + }, + "744": { + "30": { + "name": "normalizeTabsInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 744, + 30 + ], + [ + 751, + 1 + ] + ], + "doc": " Private: If soft tabs are enabled, convert all hard tabs to soft tabs in the given\n{Range}. " + } + }, + "751": { + "18": { + "name": "cutToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 751, + 18 + ], + [ + 758, + 1 + ] + ], + "doc": " Public: For each selection, if the selection is empty, cut all characters\nof the containing line following the cursor. Otherwise cut the selected\ntext. " + } + }, + "758": { + "19": { + "name": "cutSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 758, + 19 + ], + [ + 765, + 1 + ] + ], + "doc": "Public: For each selection, cut the selected text. " + } + }, + "765": { + "20": { + "name": "copySelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 765, + 20 + ], + [ + 779, + 1 + ] + ], + "doc": "Public: For each selection, copy the selected text. " + } + }, + "779": { + "13": { + "name": "pasteText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 779, + 13 + ], + [ + 798, + 1 + ] + ], + "doc": " Public: For each selection, replace the selected text with the contents of\nthe clipboard.\n\nIf the clipboard contains the same number of selections as the current\neditor, each selection will be replaced with the content of the\ncorresponding clipboard selection text.\n\noptions - See {Selection::insertText}. " + } + }, + "798": { + "8": { + "name": "undo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 798, + 8 + ], + [ + 803, + 1 + ] + ], + "doc": "Public: Undo the last change. " + } + }, + "803": { + "8": { + "name": "redo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 803, + 8 + ], + [ + 812, + 1 + ] + ], + "doc": "Public: Redo the last change. " + } + }, + "812": { + "18": { + "name": "foldCurrentRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 812, + 18 + ], + [ + 817, + 1 + ] + ], + "doc": " Public: Fold the most recent cursor's row based on its indentation level.\n\nThe fold will extend from the nearest preceding line with a lower\nindentation level up to the nearest following row with a lower indentation\nlevel. " + } + }, + "817": { + "20": { + "name": "unfoldCurrentRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 817, + 20 + ], + [ + 822, + 1 + ] + ], + "doc": "Public: Unfold the most recent cursor's row by one level. " + } + }, + "822": { + "21": { + "name": "foldSelectedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 822, + 21 + ], + [ + 826, + 1 + ] + ], + "doc": "Public: For each selection, fold the rows it intersects. " + } + }, + "826": { + "11": { + "name": "foldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 826, + 11 + ], + [ + 830, + 1 + ] + ], + "doc": "Public: Fold all foldable lines. " + } + }, + "830": { + "13": { + "name": "unfoldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 830, + 13 + ], + [ + 836, + 1 + ] + ], + "doc": "Public: Unfold all existing folds. " + } + }, + "836": { + "24": { + "name": "foldAllAtIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "level" + ], + "range": [ + [ + 836, + 24 + ], + [ + 846, + 1 + ] + ], + "doc": " Public: Fold all foldable lines at the given indent level.\n\nlevel - A {Number}. " + } + }, + "846": { + "17": { + "name": "foldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 846, + 17 + ], + [ + 852, + 1 + ] + ], + "doc": " Public: Fold the given row in buffer coordinates based on its indentation\nlevel.\n\nIf the given row is foldable, the fold will begin there. Otherwise, it will\nbegin at the first foldable row preceding the given row.\n\nbufferRow - A {Number}. " + } + }, + "852": { + "19": { + "name": "unfoldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 852, + 19 + ], + [ + 862, + 1 + ] + ], + "doc": " Public: Unfold all folds containing the given row in buffer coordinates.\n\nbufferRow - A {Number} " + } + }, + "862": { + "25": { + "name": "isFoldableAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 862, + 25 + ], + [ + 865, + 1 + ] + ], + "doc": " Public: Determine whether the given row in buffer coordinates is foldable.\n\nA *foldable* row is a row that *starts* a row range that can be folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "865": { + "25": { + "name": "isFoldableAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 865, + 25 + ], + [ + 870, + 1 + ] + ], + "doc": "~Private~" + } + }, + "870": { + "14": { + "name": "createFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 870, + 14 + ], + [ + 874, + 1 + ] + ], + "doc": "TODO: Rename to foldRowRange? " + } + }, + "874": { + "21": { + "name": "destroyFoldWithId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 874, + 21 + ], + [ + 878, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.destroyFoldWithId} " + } + }, + "878": { + "39": { + "name": "destroyFoldsIntersectingBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 878, + 39 + ], + [ + 884, + 1 + ] + ], + "doc": "Private: Remove any {Fold}s found that intersect the given buffer row. " + } + }, + "884": { + "25": { + "name": "toggleFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 884, + 25 + ], + [ + 893, + 1 + ] + ], + "doc": " Public: Fold the given buffer row if it isn't currently folded, and unfold\nit otherwise. " + } + }, + "893": { + "23": { + "name": "isFoldedAtCursorRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 893, + 23 + ], + [ + 901, + 1 + ] + ], + "doc": " Public: Determine whether the most recently added cursor's row is folded.\n\nReturns a {Boolean}. " + } + }, + "901": { + "23": { + "name": "isFoldedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 901, + 23 + ], + [ + 909, + 1 + ] + ], + "doc": " Public: Determine whether the given row in buffer coordinates is folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "909": { + "23": { + "name": "isFoldedAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 909, + 23 + ], + [ + 913, + 1 + ] + ], + "doc": " Public: Determine whether the given row in screen coordinates is folded.\n\nscreenRow - A {Number}\n\nReturns a {Boolean}. " + } + }, + "913": { + "34": { + "name": "largestFoldContainingBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 913, + 34 + ], + [ + 917, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.largestFoldContainingBufferRow} " + } + }, + "917": { + "34": { + "name": "largestFoldStartingAtScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 917, + 34 + ], + [ + 921, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.largestFoldStartingAtScreenRow} " + } + }, + "921": { + "34": { + "name": "outermostFoldsInBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 921, + 34 + ], + [ + 926, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.outermostFoldsForBufferRowRange} " + } + }, + "926": { + "14": { + "name": "moveLineUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 926, + 14 + ], + [ + 979, + 1 + ] + ], + "doc": " Private: Move lines intersection the most recent selection up by one row in screen\ncoordinates. " + } + }, + "979": { + "16": { + "name": "moveLineDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 979, + 16 + ], + [ + 1034, + 1 + ] + ], + "doc": " Private: Move lines intersecting the most recent selection down by one row in screen\ncoordinates. " + } + }, + "1034": { + "18": { + "name": "duplicateLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1034, + 18 + ], + [ + 1060, + 1 + ] + ], + "doc": "Private: Duplicate the most recent cursor's current line. " + } + }, + "1060": { + "17": { + "name": "duplicateLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1060, + 17 + ], + [ + 1072, + 1 + ] + ], + "doc": "Deprecated: Use {::duplicateLines} instead. " + } + }, + "1072": { + "22": { + "name": "mutateSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1072, + 22 + ], + [ + 1075, + 1 + ] + ], + "doc": " Public: Mutate the text of all the selections in a single transaction.\n\nAll the changes made inside the given {Function} can be reverted with a\nsingle call to {::undo}.\n\nfn - A {Function} that will be called once for each {Selection}. The first\n argument will be a {Selection} and the second argument will be the\n {Number} index of that selection. " + } + }, + "1075": { + "23": { + "name": "replaceSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options", + "fn" + ], + "range": [ + [ + 1075, + 23 + ], + [ + 1096, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1096": { + "32": { + "name": "decorationsForScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 1096, + 32 + ], + [ + 1137, + 1 + ] + ], + "doc": " Public: Get all the decorations within a screen row range.\n\nstartScreenRow - the {Number} beginning screen row\nendScreenRow - the {Number} end screen row (inclusive)\n\nReturns an {Object} of decorations in the form\n `{1: [{id: 10, type: 'gutter', class: 'someclass'}], 2: ...}`\n where the keys are {Marker} IDs, and the values are an array of decoration\n params objects attached to the marker.\nReturns an empty object when no decorations are found " + } + }, + "1137": { + "18": { + "name": "decorateMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "decorationParams" + ], + "range": [ + [ + 1137, + 18 + ], + [ + 1140, + 1 + ] + ], + "doc": " Public: Adds a decoration that tracks a {Marker}. When the marker moves,\nis invalidated, or is destroyed, the decoration will be updated to reflect\nthe marker's state.\n\nThere are three types of supported decorations:\n* `line`: Adds your CSS `class` to the line nodes within the range\n marked by the marker\n* `gutter`: Adds your CSS `class` to the line number nodes within the\n range marked by the marker\n* `highlight`: Adds a new highlight div to the editor surrounding the\n range marked by the marker. When the user selects text, the selection is\n visualized with a highlight decoration internally. The structure of this\n highlight will be:\n ```html\n
    \">\n \n
    \n
    \n ```\n\nmarker - A {Marker} you want this decoration to follow.\ndecorationParams - An {Object} representing the decoration eg. `{type: 'gutter', class: 'linter-error'}`\n :type - There are a few supported decoration types:\n * `gutter`: Applies the decoration to the line numbers spanned by the marker.\n * `line`: Applies the decoration to the lines spanned by the marker.\n * `highlight`: Applies the decoration to a \"highlight\" behind the marked range.\n :class - This CSS class will be applied to the decorated line number,\n line, or highlight.\n :onlyHead - If `true`, the decoration will only be applied to the head\n of the marker. Only applicable to the `line` and `gutter` types.\n :onlyEmpty - If `true`, the decoration will only be applied if the\n associated marker is empty. Only applicable to the `line` and\n `gutter` types.\n :onlyNonEmpty - If `true`, the decoration will only be applied if the\n associated marker is non-empty. Only applicable to the `line` and\n gutter types.\n\nReturns a {Decoration} object " + } + }, + "1140": { + "19": { + "name": "decorationForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 1140, + 19 + ], + [ + 1144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1144": { + "13": { + "name": "getMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 1144, + 13 + ], + [ + 1148, + 1 + ] + ], + "doc": "Public: Get the {DisplayBufferMarker} for the given marker id. " + } + }, + "1148": { + "14": { + "name": "getMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1148, + 14 + ], + [ + 1170, + 1 + ] + ], + "doc": "Public: Get all {DisplayBufferMarker}s. " + } + }, + "1170": { + "15": { + "name": "findMarkers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "properties" + ], + "range": [ + [ + 1170, + 15 + ], + [ + 1179, + 1 + ] + ], + "doc": " Public: Find all {DisplayBufferMarker}s that match the given properties.\n\nThis method finds markers based on the given properties. Markers can be\nassociated with custom properties that will be compared with basic equality.\nIn addition, there are several special properties that will be compared\nwith the range of the markers rather than their properties.\n\nproperties - An {Object} containing properties that each returned marker\n must satisfy. Markers can be associated with custom properties, which are\n compared with basic equality. In addition, several reserved properties\n can be used to filter markers based on their current range:\n :startBufferRow - Only include markers starting at this row in buffer\n coordinates.\n :endBufferRow - Only include markers ending at this row in buffer\n coordinates.\n :containsBufferRange - Only include markers containing this {Range} or\n in range-compatible {Array} in buffer coordinates.\n :containsBufferPosition - Only include markers containing this {Point}\n or {Array} of `[row, column]` in buffer coordinates. " + } + }, + "1179": { + "19": { + "name": "markScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1179, + 19 + ], + [ + 1188, + 1 + ] + ], + "doc": " Public: Mark the given range in screen coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1188": { + "19": { + "name": "markBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1188, + 19 + ], + [ + 1197, + 1 + ] + ], + "doc": " Public: Mark the given range in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1197": { + "22": { + "name": "markScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1197, + 22 + ], + [ + 1206, + 1 + ] + ], + "doc": " Public: Mark the given position in screen coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1206": { + "22": { + "name": "markBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1206, + 22 + ], + [ + 1210, + 1 + ] + ], + "doc": " Public: Mark the given position in buffer coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " + } + }, + "1210": { + "17": { + "name": "destroyMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1210, + 17 + ], + [ + 1216, + 1 + ] + ], + "doc": "Private: {Delegates to: DisplayBuffer.destroyMarker} " + } + }, + "1216": { + "18": { + "name": "getMarkerCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1216, + 18 + ], + [ + 1220, + 1 + ] + ], + "doc": " Public: Get the number of markers in this editor's buffer.\n\nReturns a {Number}. " + } + }, + "1220": { + "22": { + "name": "hasMultipleCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1220, + 22 + ], + [ + 1224, + 1 + ] + ], + "doc": "Public: Determine if there are multiple cursors. " + } + }, + "1224": { + "14": { + "name": "getCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1224, + 14 + ], + [ + 1224, + 38 + ] + ], + "doc": "Public: Get an Array of all {Cursor}s. " + } + }, + "1227": { + "13": { + "name": "getCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1227, + 13 + ], + [ + 1233, + 1 + ] + ], + "doc": "Public: Get the most recently added {Cursor}. " + } + }, + "1233": { + "29": { + "name": "addCursorAtScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 1233, + 29 + ], + [ + 1240, + 1 + ] + ], + "doc": " Public: Add a cursor at the position in screen coordinates.\n\nReturns a {Cursor}. " + } + }, + "1240": { + "29": { + "name": "addCursorAtBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 1240, + 29 + ], + [ + 1245, + 1 + ] + ], + "doc": " Public: Add a cursor at the given position in buffer coordinates.\n\nReturns a {Cursor}. " + } + }, + "1245": { + "13": { + "name": "addCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1245, + 13 + ], + [ + 1255, + 1 + ] + ], + "doc": "Private: Add a cursor based on the given {DisplayBufferMarker}. " + } + }, + "1255": { + "16": { + "name": "removeCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "cursor" + ], + "range": [ + [ + 1255, + 16 + ], + [ + 1264, + 1 + ] + ], + "doc": "Private: Remove the given cursor from this editor. " + } + }, + "1264": { + "16": { + "name": "addSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker", + "options" + ], + "range": [ + [ + 1264, + 16 + ], + [ + 1288, + 1 + ] + ], + "doc": " Private: Add a {Selection} based on the given {DisplayBufferMarker}.\n\nmarker - The {DisplayBufferMarker} to highlight\noptions - An {Object} that pertains to the {Selection} constructor.\n\nReturns the new {Selection}. " + } + }, + "1288": { + "30": { + "name": "addSelectionForBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 1288, + 30 + ], + [ + 1301, + 1 + ] + ], + "doc": " Public: Add a selection for the given range in buffer coordinates.\n\nbufferRange - A {Range}\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation.\n\nReturns the added {Selection}. " + } + }, + "1301": { + "26": { + "name": "setSelectedBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 1301, + 26 + ], + [ + 1311, + 1 + ] + ], + "doc": " Public: Set the selected range in buffer coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nbufferRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1311": { + "26": { + "name": "setSelectedScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 1311, + 26 + ], + [ + 1321, + 1 + ] + ], + "doc": " Public: Set the selected range in screen coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nscreenRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1321": { + "27": { + "name": "setSelectedBufferRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRanges", + "options" + ], + "range": [ + [ + 1321, + 27 + ], + [ + 1336, + 1 + ] + ], + "doc": " Public: Set the selected ranges in buffer coordinates. If there are multiple\nselections, they are replaced by new selections with the given ranges.\n\nbufferRanges - An {Array} of {Range}s or range-compatible {Array}s.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " + } + }, + "1336": { + "19": { + "name": "removeSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 1336, + 19 + ], + [ + 1342, + 1 + ] + ], + "doc": "Private: Remove the given selection. " + } + }, + "1342": { + "19": { + "name": "clearSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1342, + 19 + ], + [ + 1347, + 1 + ] + ], + "doc": " Private: Reduce one or more selections to a single empty selection based on the most\nrecently added cursor. " + } + }, + "1347": { + "25": { + "name": "consolidateSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1347, + 25 + ], + [ + 1355, + 1 + ] + ], + "doc": "Private: Reduce multiple selections to the most recently added selection. " + } + }, + "1355": { + "31": { + "name": "selectionScreenRangeChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 1355, + 31 + ], + [ + 1361, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1361": { + "17": { + "name": "getSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1361, + 17 + ], + [ + 1361, + 44 + ] + ], + "doc": " Public: Get current {Selection}s.\n\nReturns: An {Array} of {Selection}s. " + } + }, + "1363": { + "27": { + "name": "selectionsForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 1363, + 27 + ], + [ + 1374, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1374": { + "16": { + "name": "getSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 1374, + 16 + ], + [ + 1381, + 1 + ] + ], + "doc": " Public: Get the most recent {Selection} or the selection at the given\nindex.\n\nindex - Optional. The index of the selection to return, based on the order\n in which the selections were added.\n\nReturns a {Selection}.\nor the at the specified index. " + } + }, + "1381": { + "20": { + "name": "getLastSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1381, + 20 + ], + [ + 1388, + 1 + ] + ], + "doc": " Public: Get the most recently added {Selection}.\n\nReturns a {Selection}. " + } + }, + "1388": { + "40": { + "name": "getSelectionsOrderedByBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1388, + 40 + ], + [ + 1394, + 1 + ] + ], + "doc": " Public: Get all {Selection}s, ordered by their position in the buffer\ninstead of the order in which they were added.\n\nReturns an {Array} of {Selection}s. " + } + }, + "1394": { + "28": { + "name": "getLastSelectionInBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1394, + 28 + ], + [ + 1403, + 1 + ] + ], + "doc": " Public: Get the last {Selection} based on its position in the buffer.\n\nReturns a {Selection}. " + } + }, + "1403": { + "34": { + "name": "selectionIntersectsBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 1403, + 34 + ], + [ + 1415, + 1 + ] + ], + "doc": " Public: Determine if a given range in buffer coordinates intersects a\nselection.\n\nbufferRange - A {Range} or range-compatible {Array}.\n\nReturns a {Boolean}. " + } + }, + "1415": { + "27": { + "name": "setCursorScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "options" + ], + "range": [ + [ + 1415, + 27 + ], + [ + 1422, + 1 + ] + ], + "doc": " Public: Move the cursor to the given position in screen coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " + } + }, + "1422": { + "27": { + "name": "getCursorScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1422, + 27 + ], + [ + 1428, + 1 + ] + ], + "doc": " Public: Get the position of the most recently added cursor in screen\ncoordinates.\n\nReturns a {Point}. " + } + }, + "1428": { + "22": { + "name": "getCursorScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1428, + 22 + ], + [ + 1439, + 1 + ] + ], + "doc": " Public: Get the row of the most recently added cursor in screen coordinates.\n\nReturns the screen row {Number}. " + } + }, + "1439": { + "27": { + "name": "setCursorBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position", + "options" + ], + "range": [ + [ + 1439, + 27 + ], + [ + 1446, + 1 + ] + ], + "doc": " Public: Move the cursor to the given position in buffer coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " + } + }, + "1446": { + "27": { + "name": "getCursorBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1446, + 27 + ], + [ + 1453, + 1 + ] + ], + "doc": " Public: Get the position of the most recently added cursor in buffer\ncoordinates.\n\nReturns a {Point}. " + } + }, + "1453": { + "26": { + "name": "getSelectedScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1453, + 26 + ], + [ + 1460, + 1 + ] + ], + "doc": " Public: Get the {Range} of the most recently added selection in screen\ncoordinates.\n\nReturns a {Range}. " + } + }, + "1460": { + "26": { + "name": "getSelectedBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1460, + 26 + ], + [ + 1468, + 1 + ] + ], + "doc": " Public: Get the {Range} of the most recently added selection in buffer\ncoordinates.\n\nReturns a {Range}. " + } + }, + "1468": { + "27": { + "name": "getSelectedBufferRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1468, + 27 + ], + [ + 1476, + 1 + ] + ], + "doc": " Public: Get the {Range}s of all selections in buffer coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " + } + }, + "1476": { + "27": { + "name": "getSelectedScreenRanges", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1476, + 27 + ], + [ + 1482, + 1 + ] + ], + "doc": " Public: Get the {Range}s of all selections in screen coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " + } + }, + "1482": { + "19": { + "name": "getSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1482, + 19 + ], + [ + 1490, + 1 + ] + ], + "doc": " Public: Get the selected text of the most recently added selection.\n\nReturns a {String}. " + } + }, + "1490": { + "24": { + "name": "getTextInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range" + ], + "range": [ + [ + 1490, + 24 + ], + [ + 1499, + 1 + ] + ], + "doc": " Public: Get the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\n\nReturns a {String}. " + } + }, + "1499": { + "24": { + "name": "setTextInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "range", + "text", + "normalizeLineEndings" + ], + "range": [ + [ + 1499, + 24 + ], + [ + 1499, + 124 + ] + ], + "doc": " Public: Set the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\ntext - A {String}\n\nReturns the {Range} of the newly-inserted text. " + } + }, + "1505": { + "34": { + "name": "getCurrentParagraphBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1505, + 34 + ], + [ + 1511, + 1 + ] + ], + "doc": " Public: Get the {Range} of the paragraph surrounding the most recently added\ncursor.\n\nReturns a {Range}. " + } + }, + "1511": { + "22": { + "name": "getWordUnderCursor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 1511, + 22 + ], + [ + 1515, + 1 + ] + ], + "doc": " Public: Returns the word surrounding the most recently added cursor.\n\noptions - See {Cursor::getBeginningOfCurrentWordBufferPosition}. " + } + }, + "1515": { + "16": { + "name": "moveCursorUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineCount" + ], + "range": [ + [ + 1515, + 16 + ], + [ + 1519, + 1 + ] + ], + "doc": "Public: Move every cursor up one row in screen coordinates. " + } + }, + "1519": { + "18": { + "name": "moveCursorDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineCount" + ], + "range": [ + [ + 1519, + 18 + ], + [ + 1523, + 1 + ] + ], + "doc": "Public: Move every cursor down one row in screen coordinates. " + } + }, + "1523": { + "18": { + "name": "moveCursorLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1523, + 18 + ], + [ + 1527, + 1 + ] + ], + "doc": "Public: Move every cursor left one column. " + } + }, + "1527": { + "19": { + "name": "moveCursorRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1527, + 19 + ], + [ + 1533, + 1 + ] + ], + "doc": "Public: Move every cursor right one column. " + } + }, + "1533": { + "19": { + "name": "moveCursorToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1533, + 19 + ], + [ + 1539, + 1 + ] + ], + "doc": " Public: Move every cursor to the top of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " + } + }, + "1539": { + "22": { + "name": "moveCursorToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1539, + 22 + ], + [ + 1543, + 1 + ] + ], + "doc": " Public: Move every cursor to the bottom of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " + } + }, + "1543": { + "37": { + "name": "moveCursorToBeginningOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1543, + 37 + ], + [ + 1547, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its line in screen coordinates. " + } + }, + "1547": { + "31": { + "name": "moveCursorToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1547, + 31 + ], + [ + 1551, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its line in buffer coordinates. " + } + }, + "1551": { + "36": { + "name": "moveCursorToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1551, + 36 + ], + [ + 1555, + 1 + ] + ], + "doc": "Public: Move every cursor to the first non-whitespace character of its line. " + } + }, + "1555": { + "31": { + "name": "moveCursorToEndOfScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1555, + 31 + ], + [ + 1559, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its line in screen coordinates. " + } + }, + "1559": { + "25": { + "name": "moveCursorToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1559, + 25 + ], + [ + 1563, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its line in buffer coordinates. " + } + }, + "1563": { + "31": { + "name": "moveCursorToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1563, + 31 + ], + [ + 1567, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of its surrounding word. " + } + }, + "1567": { + "25": { + "name": "moveCursorToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1567, + 25 + ], + [ + 1571, + 1 + ] + ], + "doc": "Public: Move every cursor to the end of its surrounding word. " + } + }, + "1571": { + "35": { + "name": "moveCursorToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1571, + 35 + ], + [ + 1575, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the next word. " + } + }, + "1575": { + "36": { + "name": "moveCursorToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1575, + 36 + ], + [ + 1579, + 1 + ] + ], + "doc": "Public: Move every cursor to the previous word boundary. " + } + }, + "1579": { + "32": { + "name": "moveCursorToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1579, + 32 + ], + [ + 1583, + 1 + ] + ], + "doc": "Public: Move every cursor to the next word boundary. " + } + }, + "1583": { + "40": { + "name": "moveCursorToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1583, + 40 + ], + [ + 1587, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the next paragraph. " + } + }, + "1587": { + "44": { + "name": "moveCursorToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1587, + 44 + ], + [ + 1596, + 1 + ] + ], + "doc": "Public: Move every cursor to the beginning of the previous paragraph. " + } + }, + "1596": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "options" + ], + "range": [ + [ + 1596, + 26 + ], + [ + 1599, + 1 + ] + ], + "doc": " Public: Scroll the editor to reveal the most recently added cursor if it is\noff-screen.\n\noptions - An optional hash of options.\n :center - Center the editor around the cursor if possible. Defauls to\n true. " + } + }, + "1599": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1599, + 10 + ], + [ + 1604, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1604": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1604, + 12 + ], + [ + 1609, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1609": { + "16": { + "name": "selectPageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1609, + 16 + ], + [ + 1612, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1612": { + "18": { + "name": "selectPageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1612, + 18 + ], + [ + 1616, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1616": { + "18": { + "name": "getRowsPerPage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1616, + 18 + ], + [ + 1619, + 1 + ] + ], + "doc": "Private: Returns the number of rows per page " + } + }, + "1619": { + "15": { + "name": "moveCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1619, + 15 + ], + [ + 1626, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1626": { + "15": { + "name": "cursorMoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 1626, + 15 + ], + [ + 1636, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1636": { + "26": { + "name": "selectToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 1636, + 26 + ], + [ + 1645, + 1 + ] + ], + "doc": " Public: Select from the current cursor position to the given position in\nscreen coordinates.\n\nThis method may merge selections that end up intesecting.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "1645": { + "15": { + "name": "selectRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1645, + 15 + ], + [ + 1652, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character rightward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1652": { + "14": { + "name": "selectLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1652, + 14 + ], + [ + 1659, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character leftward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1659": { + "12": { + "name": "selectUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 1659, + 12 + ], + [ + 1666, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character upward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1666": { + "14": { + "name": "selectDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 1666, + 14 + ], + [ + 1673, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection one character downward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1673": { + "15": { + "name": "selectToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1673, + 15 + ], + [ + 1679, + 1 + ] + ], + "doc": " Public: Select from the top of the buffer to the end of the last selection\nin the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1679": { + "13": { + "name": "selectAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1679, + 13 + ], + [ + 1686, + 1 + ] + ], + "doc": " Public: Select all text in the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1686": { + "18": { + "name": "selectToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1686, + 18 + ], + [ + 1693, + 1 + ] + ], + "doc": " Public: Selects from the top of the first selection in the buffer to the end\nof the buffer.\n\nThis method merges multiple selections into a single selection. " + } + }, + "1693": { + "27": { + "name": "selectToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1693, + 27 + ], + [ + 1702, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the beginning of its line\nwhile preserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " + } + }, + "1702": { + "32": { + "name": "selectToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1702, + 32 + ], + [ + 1709, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the first non-whitespace\ncharacter of its line while preserving the selection's tail position. If the\ncursor is already on the first character of the line, move it to the\nbeginning of the line.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1709": { + "21": { + "name": "selectToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1709, + 21 + ], + [ + 1716, + 1 + ] + ], + "doc": " Public: Move the cursor of each selection to the end of its line while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1716": { + "32": { + "name": "selectToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1716, + 32 + ], + [ + 1723, + 1 + ] + ], + "doc": " Public: For each selection, move its cursor to the preceding word boundary\nwhile maintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1723": { + "28": { + "name": "selectToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1723, + 28 + ], + [ + 1729, + 1 + ] + ], + "doc": " Public: For each selection, move its cursor to the next word boundary while\nmaintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " + } + }, + "1729": { + "14": { + "name": "selectLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1729, + 14 + ], + [ + 1740, + 1 + ] + ], + "doc": " Public: For each cursor, select the containing line.\n\nThis method merges selections on successive lines. " + } + }, + "1740": { + "21": { + "name": "addSelectionBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1740, + 21 + ], + [ + 1751, + 1 + ] + ], + "doc": " Public: Add a similarly-shaped selection to the next eligible line below\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next following non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " + } + }, + "1751": { + "21": { + "name": "addSelectionAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1751, + 21 + ], + [ + 1759, + 1 + ] + ], + "doc": " Public: Add a similarly-shaped selection to the next eligible line above\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next preceding non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " + } + }, + "1759": { + "28": { + "name": "splitSelectionsIntoLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1759, + 28 + ], + [ + 1776, + 1 + ] + ], + "doc": " Public: Split multi-line selections into one selection per line.\n\nOperates on all selections. This method breaks apart all multi-line\nselections to create multiple single-line selections that cumulatively cover\nthe same original area. " + } + }, + "1776": { + "13": { + "name": "transpose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1776, + 13 + ], + [ + 1791, + 1 + ] + ], + "doc": " Public: For each selection, transpose the selected text.\n\nIf the selection is empty, the characters preceding and following the cursor\nare swapped. Otherwise, the selected characters are reversed. " + } + }, + "1791": { + "13": { + "name": "upperCase", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1791, + 13 + ], + [ + 1798, + 1 + ] + ], + "doc": " Public: Convert the selected text to upper case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " + } + }, + "1798": { + "13": { + "name": "lowerCase", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1798, + 13 + ], + [ + 1809, + 1 + ] + ], + "doc": " Public: Convert the selected text to lower case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " + } + }, + "1809": { + "13": { + "name": "joinLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1809, + 13 + ], + [ + 1816, + 1 + ] + ], + "doc": " Private: Convert multiple lines to a single line.\n\nOperates on all selections. If the selection is empty, joins the current\nline with the next line. Otherwise it joins all lines that intersect the\nselection.\n\nJoining a line means that multiple lines are converted to a single line with\nthe contents of each of the original non-empty lines separated by a space. " + } + }, + "1816": { + "27": { + "name": "selectToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1816, + 27 + ], + [ + 1823, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of their containing word.\n\nOperates on all selections. Moves the cursor to the beginning of the\ncontaining word while preserving the selection's tail position. " + } + }, + "1823": { + "21": { + "name": "selectToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1823, + 21 + ], + [ + 1830, + 1 + ] + ], + "doc": " Public: Expand selections to the end of their containing word.\n\nOperates on all selections. Moves the cursor to the end of the containing\nword while preserving the selection's tail position. " + } + }, + "1830": { + "31": { + "name": "selectToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1830, + 31 + ], + [ + 1834, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next word.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nword while preserving the selection's tail position. " + } + }, + "1834": { + "14": { + "name": "selectWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1834, + 14 + ], + [ + 1841, + 1 + ] + ], + "doc": "Public: Select the word containing each cursor. " + } + }, + "1841": { + "36": { + "name": "selectToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1841, + 36 + ], + [ + 1848, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " + } + }, + "1848": { + "40": { + "name": "selectToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1848, + 40 + ], + [ + 1856, + 1 + ] + ], + "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " + } + }, + "1856": { + "16": { + "name": "selectMarker", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1856, + 16 + ], + [ + 1863, + 1 + ] + ], + "doc": " Public: Select the range of the given marker if it is valid.\n\nmarker - A {DisplayBufferMarker}\n\nReturns the selected {Range} or `undefined` if the marker is invalid. " + } + }, + "1863": { + "16": { + "name": "mergeCursors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1863, + 16 + ], + [ + 1873, + 1 + ] + ], + "doc": "Private: Merge cursors that have the same screen position " + } + }, + "1873": { + "27": { + "name": "expandSelectionsForward", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1873, + 27 + ], + [ + 1879, + 1 + ] + ], + "doc": "Private: Calls the given function with each selection, then merges selections " + } + }, + "1879": { + "28": { + "name": "expandSelectionsBackward", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1879, + 28 + ], + [ + 1883, + 1 + ] + ], + "doc": " Private: Calls the given function with each selection, then merges selections in the\nreversed orientation " + } + }, + "1883": { + "22": { + "name": "finalizeSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1883, + 22 + ], + [ + 1889, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1889": { + "31": { + "name": "mergeIntersectingSelections", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 1889, + 31 + ], + [ + 1910, + 1 + ] + ], + "doc": " Private: Merges intersecting selections. If passed a function, it executes\nthe function with merging suppressed, then merges intersecting selections\nafterward. " + } + }, + "1910": { + "40": { + "name": "preserveCursorPositionOnBufferReload", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1910, + 40 + ], + [ + 1919, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1919": { + "14": { + "name": "getGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1919, + 14 + ], + [ + 1926, + 1 + ] + ], + "doc": "Public: Get the current {Grammar} of this editor. " + } + }, + "1926": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar" + ], + "range": [ + [ + 1926, + 14 + ], + [ + 1930, + 1 + ] + ], + "doc": " Public: Set the current {Grammar} of this editor.\n\nAssigning a grammar will cause the editor to re-tokenize based on the new\ngrammar. " + } + }, + "1930": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1930, + 17 + ], + [ + 1933, + 1 + ] + ], + "doc": "Private: Reload the grammar based on the file name. " + } + }, + "1933": { + "20": { + "name": "shouldAutoIndent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1933, + 20 + ], + [ + 1944, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1944": { + "12": { + "name": "transact", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1944, + 12 + ], + [ + 1944, + 39 + ] + ], + "doc": " Public: Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " + } + }, + "1952": { + "20": { + "name": "beginTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1952, + 20 + ], + [ + 1952, + 48 + ] + ], + "doc": " Public: Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " + } + }, + "1958": { + "21": { + "name": "commitTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1958, + 21 + ], + [ + 1958, + 50 + ] + ], + "doc": " Public: Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " + } + }, + "1962": { + "20": { + "name": "abortTransaction", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1962, + 20 + ], + [ + 1962, + 48 + ] + ], + "doc": " Public: Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " + } + }, + "1964": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1964, + 11 + ], + [ + 1967, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1967": { + "18": { + "name": "logScreenLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 1967, + 18 + ], + [ + 1967, + 68 + ] + ], + "doc": "~Private~" + } + }, + "1969": { + "22": { + "name": "handleTokenization", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1969, + 22 + ], + [ + 1972, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1972": { + "23": { + "name": "handleGrammarChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1972, + 23 + ], + [ + 1976, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1976": { + "23": { + "name": "handleMarkerCreated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "marker" + ], + "range": [ + [ + 1976, + 23 + ], + [ + 1980, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1980": { + "32": { + "name": "getSelectionMarkerAttributes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1980, + 32 + ], + [ + 1983, + 1 + ] + ], + "doc": "~Private~" + } + }, + "1983": { + "27": { + "name": "getVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1983, + 27 + ], + [ + 1983, + 69 + ] + ], + "doc": "~Private~" + } + }, + "1984": { + "27": { + "name": "setVerticalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "verticalScrollMargin" + ], + "range": [ + [ + 1984, + 27 + ], + [ + 1984, + 112 + ] + ] + } + }, + "1986": { + "29": { + "name": "getHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1986, + 29 + ], + [ + 1986, + 73 + ] + ], + "doc": "~Private~" + } + }, + "1987": { + "29": { + "name": "setHorizontalScrollMargin", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "horizontalScrollMargin" + ], + "range": [ + [ + 1987, + 29 + ], + [ + 1987, + 120 + ] + ] + } + }, + "1989": { + "25": { + "name": "getLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1989, + 25 + ], + [ + 1989, + 65 + ] + ], + "doc": "~Private~" + } + }, + "1990": { + "25": { + "name": "setLineHeightInPixels", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeightInPixels" + ], + "range": [ + [ + 1990, + 25 + ], + [ + 1990, + 104 + ] + ] + } + }, + "1992": { + "29": { + "name": "batchCharacterMeasurement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 1992, + 29 + ], + [ + 1992, + 80 + ] + ], + "doc": "~Private~" + } + }, + "1994": { + "22": { + "name": "getScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char" + ], + "range": [ + [ + 1994, + 22 + ], + [ + 1994, + 94 + ] + ], + "doc": "~Private~" + } + }, + "1995": { + "22": { + "name": "setScopedCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames", + "char", + "width" + ], + "range": [ + [ + 1995, + 22 + ], + [ + 1995, + 108 + ] + ] + } + }, + "1997": { + "23": { + "name": "getScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeNames" + ], + "range": [ + [ + 1997, + 23 + ], + [ + 1997, + 84 + ] + ], + "doc": "~Private~" + } + }, + "1999": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 1999, + 25 + ], + [ + 1999, + 65 + ] + ], + "doc": "~Private~" + } + }, + "2001": { + "23": { + "name": "getDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2001, + 23 + ], + [ + 2001, + 61 + ] + ], + "doc": "~Private~" + } + }, + "2002": { + "23": { + "name": "setDefaultCharWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "defaultCharWidth" + ], + "range": [ + [ + 2002, + 23 + ], + [ + 2002, + 96 + ] + ] + } + }, + "2004": { + "13": { + "name": "setHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "height" + ], + "range": [ + [ + 2004, + 13 + ], + [ + 2004, + 56 + ] + ], + "doc": "~Private~" + } + }, + "2005": { + "13": { + "name": "getHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2005, + 13 + ], + [ + 2005, + 41 + ] + ] + } + }, + "2007": { + "19": { + "name": "getClientHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2007, + 19 + ], + [ + 2007, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2009": { + "12": { + "name": "setWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width" + ], + "range": [ + [ + 2009, + 12 + ], + [ + 2009, + 52 + ] + ], + "doc": "~Private~" + } + }, + "2010": { + "12": { + "name": "getWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2010, + 12 + ], + [ + 2010, + 39 + ] + ] + } + }, + "2012": { + "16": { + "name": "getScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2012, + 16 + ], + [ + 2012, + 47 + ] + ], + "doc": "~Private~" + } + }, + "2013": { + "16": { + "name": "setScrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 2013, + 16 + ], + [ + 2013, + 68 + ] + ] + } + }, + "2015": { + "19": { + "name": "getScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2015, + 19 + ], + [ + 2015, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2016": { + "19": { + "name": "setScrollBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollBottom" + ], + "range": [ + [ + 2016, + 19 + ], + [ + 2016, + 80 + ] + ] + } + }, + "2018": { + "17": { + "name": "getScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2018, + 17 + ], + [ + 2018, + 49 + ] + ], + "doc": "~Private~" + } + }, + "2019": { + "17": { + "name": "setScrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 2019, + 17 + ], + [ + 2019, + 72 + ] + ] + } + }, + "2021": { + "18": { + "name": "getScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2021, + 18 + ], + [ + 2021, + 51 + ] + ], + "doc": "~Private~" + } + }, + "2022": { + "18": { + "name": "setScrollRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollRight" + ], + "range": [ + [ + 2022, + 18 + ], + [ + 2022, + 76 + ] + ] + } + }, + "2024": { + "19": { + "name": "getScrollHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2024, + 19 + ], + [ + 2024, + 53 + ] + ], + "doc": "~Private~" + } + }, + "2025": { + "18": { + "name": "getScrollWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollWidth" + ], + "range": [ + [ + 2025, + 18 + ], + [ + 2025, + 76 + ] + ] + } + }, + "2027": { + "22": { + "name": "getVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2027, + 22 + ], + [ + 2027, + 59 + ] + ], + "doc": "~Private~" + } + }, + "2029": { + "29": { + "name": "intersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 2029, + 29 + ], + [ + 2029, + 108 + ] + ], + "doc": "~Private~" + } + }, + "2031": { + "38": { + "name": "selectionIntersectsVisibleRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selection" + ], + "range": [ + [ + 2031, + 38 + ], + [ + 2031, + 112 + ] + ], + "doc": "~Private~" + } + }, + "2033": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 2033, + 34 + ], + [ + 2033, + 114 + ] + ], + "doc": "~Private~" + } + }, + "2035": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 2035, + 34 + ], + [ + 2035, + 114 + ] + ], + "doc": "~Private~" + } + }, + "2037": { + "34": { + "name": "screenPositionForPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 2037, + 34 + ], + [ + 2037, + 112 + ] + ], + "doc": "~Private~" + } + }, + "2039": { + "27": { + "name": "pixelRectForScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange" + ], + "range": [ + [ + 2039, + 27 + ], + [ + 2039, + 94 + ] + ], + "doc": "~Private~" + } + }, + "2041": { + "23": { + "name": "scrollToScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 2041, + 23 + ], + [ + 2041, + 104 + ] + ], + "doc": "~Private~" + } + }, + "2043": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 2043, + 26 + ], + [ + 2043, + 116 + ] + ], + "doc": "~Private~" + } + }, + "2045": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 2045, + 26 + ], + [ + 2045, + 116 + ] + ], + "doc": "~Private~" + } + }, + "2047": { + "26": { + "name": "horizontallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2047, + 26 + ], + [ + 2047, + 67 + ] + ], + "doc": "~Private~" + } + }, + "2049": { + "24": { + "name": "verticallyScrollable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2049, + 24 + ], + [ + 2049, + 63 + ] + ], + "doc": "~Private~" + } + }, + "2051": { + "32": { + "name": "getHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2051, + 32 + ], + [ + 2051, + 79 + ] + ], + "doc": "~Private~" + } + }, + "2052": { + "32": { + "name": "setHorizontalScrollbarHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "height" + ], + "range": [ + [ + 2052, + 32 + ], + [ + 2052, + 94 + ] + ] + } + }, + "2054": { + "29": { + "name": "getVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2054, + 29 + ], + [ + 2054, + 73 + ] + ], + "doc": "~Private~" + } + }, + "2055": { + "29": { + "name": "setVerticalScrollbarWidth", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "width" + ], + "range": [ + [ + 2055, + 29 + ], + [ + 2055, + 86 + ] + ] + } + }, + "2058": { + "12": { + "name": "joinLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 2058, + 12 + ], + [ + 2060, + 16 + ] + ], + "doc": "Deprecated: Call {::joinLines} instead. " + } + } + }, + "exports": 138 + }, + "./build/src/fold.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Range", + "exportsProperty": "Range" + } + }, + "7": { + "0": { + "type": "class", + "name": "Fold", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 8, + 6 + ], + [ + 9, + 17 + ], + [ + 10, + 10 + ], + [ + 12, + 15 + ], + [ + 20, + 22 + ], + [ + 27, + 11 + ], + [ + 35, + 18 + ], + [ + 48, + 21 + ], + [ + 53, + 15 + ], + [ + 57, + 13 + ], + [ + 61, + 11 + ], + [ + 67, + 21 + ], + [ + 75, + 21 + ], + [ + 78, + 23 + ], + [ + 82, + 13 + ] + ], + "doc": " Private: Represents a fold that collapses multiple buffer lines into a single\nline on the screen.\n\nTheir creation is managed by the {DisplayBuffer}. ", + "range": [ + [ + 7, + 0 + ], + [ + 84, + 26 + ] + ] + } + }, + "8": { + "6": { + "name": "id", + "type": "primitive", + "range": [ + [ + 8, + 6 + ], + [ + 8, + 9 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "17": { + "name": "displayBuffer", + "type": "primitive", + "range": [ + [ + 9, + 17 + ], + [ + 9, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "10": { + "name": "marker", + "type": "primitive", + "range": [ + [ + 10, + 10 + ], + [ + 10, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 20, + 1 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "22": { + "name": "isInsideLargerFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 22 + ], + [ + 27, + 1 + ] + ], + "doc": "Private: Returns whether this fold is contained within another fold " + } + }, + "27": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 11 + ], + [ + 35, + 1 + ] + ], + "doc": "Private: Destroys this fold " + } + }, + "35": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 35, + 18 + ], + [ + 48, + 1 + ] + ], + "doc": " Private: Returns the fold's {Range} in buffer coordinates\n\nincludeNewline - A {Boolean} which, if `true`, includes the trailing newline\n\nReturns a {Range}. " + } + }, + "48": { + "21": { + "name": "getBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 21 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "15": { + "name": "getStartRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 15 + ], + [ + 57, + 1 + ] + ], + "doc": "Private: Returns the fold's start row as a {Number}. " + } + }, + "57": { + "13": { + "name": "getEndRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 13 + ], + [ + 61, + 1 + ] + ], + "doc": "Private: Returns the fold's end row as a {Number}. " + } + }, + "61": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 11 + ], + [ + 67, + 1 + ] + ], + "doc": "Private: Returns a {String} representation of the fold. " + } + }, + "67": { + "21": { + "name": "getBufferRowCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 21 + ], + [ + 75, + 1 + ] + ], + "doc": " Private: Retrieves the number of buffer rows spanned by the fold.\n\nReturns a {Number}. " + } + }, + "75": { + "21": { + "name": "isContainedByFold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fold" + ], + "range": [ + [ + 75, + 21 + ], + [ + 78, + 1 + ] + ], + "doc": " Private: Identifies if a fold is nested within a fold.\n\nfold - A {Fold} to check\n\nReturns a {Boolean}. " + } + }, + "78": { + "23": { + "name": "updateDisplayBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 78, + 23 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 13 + ], + [ + 84, + 26 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 7 + }, + "./build/src/git.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true, + "name": "join", + "exportsProperty": "join" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "5": { + "11": { + "name": "GitUtils", + "type": "import", + "range": [ + [ + 5, + 11 + ], + [ + 5, + 29 + ] + ], + "bindingType": "variable", + "module": "git-utils@^2.1.3" + } + }, + "7": { + "7": { + "name": "Task", + "type": "import", + "range": [ + [ + 7, + 7 + ], + [ + 7, + 22 + ] + ], + "bindingType": "variable", + "path": "./task" + } + }, + "40": { + "0": { + "type": "class", + "name": "Git", + "bindingType": "exports", + "classProperties": [ + [ + 52, + 9 + ], + [ + 59, + 11 + ] + ], + "prototypeProperties": [ + [ + 66, + 15 + ], + [ + 89, + 21 + ], + [ + 97, + 11 + ], + [ + 109, + 11 + ], + [ + 117, + 16 + ], + [ + 120, + 11 + ], + [ + 124, + 23 + ], + [ + 132, + 17 + ], + [ + 149, + 17 + ], + [ + 152, + 20 + ], + [ + 155, + 18 + ], + [ + 158, + 15 + ], + [ + 161, + 13 + ], + [ + 165, + 19 + ], + [ + 169, + 14 + ], + [ + 181, + 16 + ], + [ + 196, + 16 + ], + [ + 209, + 21 + ], + [ + 222, + 16 + ], + [ + 231, + 15 + ], + [ + 247, + 22 + ], + [ + 265, + 16 + ], + [ + 276, + 18 + ], + [ + 282, + 16 + ], + [ + 291, + 21 + ], + [ + 298, + 22 + ], + [ + 310, + 17 + ], + [ + 318, + 23 + ], + [ + 330, + 37 + ], + [ + 338, + 23 + ], + [ + 342, + 13 + ], + [ + 346, + 17 + ] + ], + "doc": " Public: Represents the underlying git operations performed by Atom.\n\nThis class shouldn't be instantiated directly but instead by accessing the\n`atom.project` global and calling `getRepo()`. Note that this will only be\navailable when the project is backed by a Git repository.\n\nThis class handles submodules automatically by taking a `path` argument to many\nof the methods. This `path` argument will determine which underlying\nrepository is used.\n\nFor a repository with submodules this would have the following outcome:\n\n```coffee\nrepo = atom.project.getRepo()\nrepo.getShortHead() # 'master'\nrepo.getShortHead('vendor/path/to/a/submodule') # 'dead1234'\n```\n\n## Example\n\n```coffeescript\ngit = atom.project.getRepo()\nconsole.log git.getOriginUrl()\n```\n\n## Requiring in packages\n\n```coffee\n {Git} = require 'atom'\n``` ", + "range": [ + [ + 40, + 0 + ], + [ + 364, + 55 + ] + ] + } + }, + "52": { + "9": { + "name": "open", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "path", + "options" + ], + "range": [ + [ + 52, + 9 + ], + [ + 59, + 1 + ] + ], + "doc": " Public: Creates a new Git instance.\n\npath - The path to the Git repository to open.\noptions - An object with the following keys (default: {}):\n :refreshOnWindowFocus - `true` to refresh the index and statuses when the\n window is focused.\n\nReturns a Git instance or null if the repository could not be opened. " + } + }, + "59": { + "11": { + "name": "exists", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 59, + 11 + ], + [ + 66, + 1 + ] + ], + "doc": "~Private~" + } + }, + "66": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "options" + ], + "range": [ + [ + 66, + 15 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "subscribeToBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer" + ], + "range": [ + [ + 89, + 21 + ], + [ + 97, + 1 + ] + ], + "doc": "Private: Subscribes to buffer events. " + } + }, + "97": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 97, + 11 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Destroy this `Git` object. This destroys any tasks and subscriptions\nand releases the underlying libgit2 repository handle. " + } + }, + "109": { + "11": { + "name": "getRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 109, + 11 + ], + [ + 117, + 1 + ] + ], + "doc": "Private: Returns the corresponding {Repository} " + } + }, + "117": { + "16": { + "name": "refreshIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 16 + ], + [ + 117, + 43 + ] + ], + "doc": " Private: Reread the index to update any values that have changed since the\nlast time the index was read. " + } + }, + "120": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 120, + 11 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Returns the {String} path of the repository. " + } + }, + "124": { + "23": { + "name": "getWorkingDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 23 + ], + [ + 124, + 57 + ] + ], + "doc": "Public: Returns the {String} working directory path of the repository. " + } + }, + "132": { + "17": { + "name": "getPathStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 132, + 17 + ], + [ + 149, + 1 + ] + ], + "doc": " Public: Get the status of a single path in the repository.\n\npath - A {String} repository-relative path.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " + } + }, + "149": { + "17": { + "name": "isPathIgnored", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 149, + 17 + ], + [ + 149, + 65 + ] + ], + "doc": " Public: Is the given path ignored?\n\nReturns a {Boolean}. " + } + }, + "152": { + "20": { + "name": "isStatusModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 152, + 20 + ], + [ + 152, + 66 + ] + ], + "doc": "Public: Returns true if the given status indicates modification. " + } + }, + "155": { + "18": { + "name": "isPathModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 155, + 18 + ], + [ + 155, + 66 + ] + ], + "doc": "Public: Returns true if the given path is modified. " + } + }, + "158": { + "15": { + "name": "isStatusNew", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "status" + ], + "range": [ + [ + 158, + 15 + ], + [ + 158, + 56 + ] + ], + "doc": "Public: Returns true if the given status indicates a new path. " + } + }, + "161": { + "13": { + "name": "isPathNew", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 161, + 13 + ], + [ + 161, + 56 + ] + ], + "doc": "Public: Returns true if the given path is new. " + } + }, + "165": { + "19": { + "name": "isProjectAtRoot", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 19 + ], + [ + 169, + 1 + ] + ], + "doc": " Public: Returns true if at the root, false if in a subfolder of the\nrepository. " + } + }, + "169": { + "14": { + "name": "relativize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 169, + 14 + ], + [ + 169, + 50 + ] + ], + "doc": "Public: Makes a path relative to the repository's working directory. " + } + }, + "181": { + "16": { + "name": "getShortHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 181, + 16 + ], + [ + 181, + 54 + ] + ], + "doc": " Public: Retrieves a shortened version of the HEAD reference value.\n\nThis removes the leading segments of `refs/heads`, `refs/tags`, or\n`refs/remotes`. It also shortens the SHA-1 of a detached `HEAD` to 7\ncharacters.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository contains submodules.\n\nReturns a {String}. " + } + }, + "196": { + "16": { + "name": "checkoutHead", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 196, + 16 + ], + [ + 209, + 1 + ] + ], + "doc": " Public: Restore the contents of a path in the working directory and index\nto the version at `HEAD`.\n\nThis is essentially the same as running:\n\n```\ngit reset HEAD -- \ngit checkout HEAD -- \n```\n\npath - The {String} path to checkout.\n\nReturns a {Boolean} that's true if the method was successful. " + } + }, + "209": { + "21": { + "name": "checkoutReference", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "create" + ], + "range": [ + [ + 209, + 21 + ], + [ + 222, + 1 + ] + ], + "doc": " Public: Checks out a branch in your repository.\n\nreference - The String reference to checkout\ncreate - A Boolean value which, if true creates the new reference if it\n doesn't exist.\n\nReturns a Boolean that's true if the method was successful. " + } + }, + "222": { + "16": { + "name": "getDiffStats", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 222, + 16 + ], + [ + 231, + 1 + ] + ], + "doc": " Public: Retrieves the number of lines added and removed to a path.\n\nThis compares the working directory contents of the path to the `HEAD`\nversion.\n\npath - The {String} path to check.\n\nReturns an {Object} with the following keys:\n :added - The {Number} of added lines.\n :deleted - The {Number} of deleted lines. " + } + }, + "231": { + "15": { + "name": "isSubmodule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 231, + 15 + ], + [ + 247, + 1 + ] + ], + "doc": " Public: Is the given path a submodule in the repository?\n\npath - The {String} path to check.\n\nReturns a {Boolean}. " + } + }, + "247": { + "22": { + "name": "getDirectoryStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "directoryPath" + ], + "range": [ + [ + 247, + 22 + ], + [ + 265, + 1 + ] + ], + "doc": " Public: Get the status of a directory in the repository's working directory.\n\npath - The {String} path to check.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " + } + }, + "265": { + "16": { + "name": "getLineDiffs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "text" + ], + "range": [ + [ + 265, + 16 + ], + [ + 276, + 1 + ] + ], + "doc": " Public: Retrieves the line diffs comparing the `HEAD` version of the given\npath and the given text.\n\npath - The {String} path relative to the repository.\ntext - The {String} to compare against the `HEAD` contents\n\nReturns an {Array} of hunk {Object}s with the following keys:\n :oldStart - The line {Number} of the old hunk.\n :newStart - The line {Number} of the new hunk.\n :oldLines - The {Number} of lines in the old hunk.\n :newLines - The {Number} of lines in the new hunk " + } + }, + "276": { + "18": { + "name": "getConfigValue", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "key", + "path" + ], + "range": [ + [ + 276, + 18 + ], + [ + 276, + 66 + ] + ], + "doc": " Public: Returns the git configuration value specified by the key.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " + } + }, + "282": { + "16": { + "name": "getOriginUrl", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 282, + 16 + ], + [ + 282, + 67 + ] + ], + "doc": " Public: Returns the origin url of the repository.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " + } + }, + "291": { + "21": { + "name": "getUpstreamBranch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 291, + 21 + ], + [ + 291, + 64 + ] + ], + "doc": " Public: Returns the upstream branch for the current HEAD, or null if there\nis no upstream branch for the current HEAD.\n\npath - An optional {String} path in the repo to get this information for,\n only needed if the repository contains submodules.\n\nReturns a {String} branch name such as `refs/remotes/origin/master`. " + } + }, + "298": { + "22": { + "name": "getReferenceTarget", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "path" + ], + "range": [ + [ + 298, + 22 + ], + [ + 310, + 1 + ] + ], + "doc": " Public: Returns the current SHA for the given reference.\n\nreference - The {String} reference to get the target of.\npath - An optional {String} path in the repo to get the reference target\n for. Only needed if the repository contains submodules. " + } + }, + "310": { + "17": { + "name": "getReferences", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 310, + 17 + ], + [ + 310, + 56 + ] + ], + "doc": " Public: Gets all the local and remote references.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :heads - An {Array} of head reference names.\n :remotes - An {Array} of remote reference names.\n :tags - An {Array} of tag reference names. " + } + }, + "318": { + "23": { + "name": "getAheadBehindCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "reference", + "path" + ], + "range": [ + [ + 318, + 23 + ], + [ + 330, + 1 + ] + ], + "doc": " Public: Returns the number of commits behind the current branch is from the\nits upstream remote branch.\n\nreference - The {String} branch reference name.\npath - The {String} path in the repository to get this information for,\n only needed if the repository contains submodules. " + } + }, + "330": { + "37": { + "name": "getCachedUpstreamAheadBehindCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 330, + 37 + ], + [ + 338, + 1 + ] + ], + "doc": " Public: Get the cached ahead/behind commit counts for the current branch's\nupstream branch.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :ahead - The {Number} of commits ahead.\n :behind - The {Number} of commits behind. " + } + }, + "338": { + "23": { + "name": "getCachedPathStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path" + ], + "range": [ + [ + 338, + 23 + ], + [ + 342, + 1 + ] + ], + "doc": " Public: Get the cached status for the given path.\n\npath - A {String} path in the repository, relative or absolute.\n\nReturns a status {Number} or null if the path is not in the cache. " + } + }, + "342": { + "13": { + "name": "hasBranch", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "branch" + ], + "range": [ + [ + 342, + 13 + ], + [ + 342, + 68 + ] + ], + "doc": "Public: Returns true if the given branch exists. " + } + }, + "346": { + "17": { + "name": "refreshStatus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 17 + ], + [ + 364, + 55 + ] + ], + "doc": " Private: Refreshes the current git status in an outside process and asynchronously\nupdates the relevant properties. " + } + } + }, + "exports": 40 + }, + "./build/src/gutter-component.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork@^0.11.1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork@^1.0.0", + "name": "div", + "exportsProperty": "div" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqual", + "exportsProperty": "isEqual" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 29 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "32": { + "type": "import", + "range": [ + [ + 3, + 32 + ], + [ + 3, + 45 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "multiplyString", + "exportsProperty": "multiplyString" + }, + "48": { + "type": "import", + "range": [ + [ + 3, + 48 + ], + [ + 3, + 54 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "toArray", + "exportsProperty": "toArray" + } + }, + "4": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 4, + 13 + ], + [ + 4, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "5": { + "18": { + "name": "SubscriberMixin", + "type": "import", + "range": [ + [ + 5, + 18 + ], + [ + 5, + 45 + ] + ], + "bindingType": "variable", + "path": "./subscriber-mixin" + } + }, + "7": { + "13": { + "name": "WrapperDiv", + "type": "function", + "range": [ + [ + 7, + 13 + ], + [ + 7, + 41 + ] + ] + } + }, + "10": { + "18": { + "name": "GutterComponent", + "type": "function", + "range": [ + [ + 10, + 18 + ], + [ + 227, + 39 + ] + ] + } + }, + "11": { + "15": { + "name": "'GutterComponent'", + "type": "primitive", + "range": [ + [ + 11, + 15 + ], + [ + 11, + 31 + ] + ] + } + }, + "12": { + "10": { + "type": "primitive", + "range": [ + [ + 12, + 10 + ], + [ + 12, + 26 + ] + ] + } + }, + "14": { + "23": { + "type": "primitive", + "range": [ + [ + 14, + 23 + ], + [ + 14, + 26 + ] + ] + } + }, + "15": { + "17": { + "type": "primitive", + "range": [ + [ + 15, + 17 + ], + [ + 15, + 20 + ] + ] + } + }, + "17": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 10 + ], + [ + 29, + 1 + ] + ], + "doc": null + } + }, + "29": { + "16": { + "name": "getTransform", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 16 + ], + [ + 37, + 1 + ] + ], + "doc": null + } + }, + "37": { + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 37, + 22 + ], + [ + 43, + 1 + ] + ], + "doc": null + } + }, + "43": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 21 + ], + [ + 50, + 1 + ] + ], + "doc": null + } + }, + "50": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 50, + 25 + ], + [ + 64, + 1 + ] + ], + "doc": null + } + }, + "64": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "oldProps" + ], + "range": [ + [ + 64, + 22 + ], + [ + 74, + 1 + ] + ], + "doc": null + } + }, + "74": { + "24": { + "name": "clearScreenRowCaches", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 24 + ], + [ + 80, + 1 + ] + ], + "doc": null + } + }, + "80": { + "25": { + "name": "appendDummyLineNumber", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 80, + 25 + ], + [ + 86, + 1 + ] + ], + "doc": null + } + }, + "86": { + "25": { + "name": "updateDummyLineNumber", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 25 + ], + [ + 89, + 1 + ] + ], + "doc": null + } + }, + "89": { + "21": { + "name": "updateLineNumbers", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 93, + 1 + ] + ], + "doc": null + } + }, + "93": { + "40": { + "name": "appendOrUpdateVisibleLineNumberNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 93, + 40 + ], + [ + 138, + 1 + ] + ], + "doc": null + } + }, + "138": { + "25": { + "name": "removeLineNumberNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberIdsToPreserve" + ], + "range": [ + [ + 138, + 25 + ], + [ + 150, + 1 + ] + ], + "doc": null + } + }, + "150": { + "23": { + "name": "buildLineNumberHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bufferRow", + "softWrapped", + "maxLineNumberDigits", + "screenRow" + ], + "range": [ + [ + 150, + 23 + ], + [ + 169, + 1 + ] + ], + "doc": null + } + }, + "169": { + "28": { + "name": "buildLineNumberInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bufferRow", + "softWrapped", + "maxLineNumberDigits" + ], + "range": [ + [ + 169, + 28 + ], + [ + 179, + 1 + ] + ], + "doc": null + } + }, + "179": { + "24": { + "name": "updateLineNumberNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberId", + "bufferRow", + "screenRow", + "softWrapped" + ], + "range": [ + [ + 179, + 24 + ], + [ + 208, + 1 + ] + ], + "doc": null + } + }, + "208": { + "17": { + "name": "hasDecoration", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "decorations", + "decoration" + ], + "range": [ + [ + 208, + 17 + ], + [ + 211, + 1 + ] + ], + "doc": null + } + }, + "211": { + "21": { + "name": "hasLineNumberNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineNumberId" + ], + "range": [ + [ + 211, + 21 + ], + [ + 214, + 1 + ] + ], + "doc": null + } + }, + "214": { + "30": { + "name": "lineNumberNodeForScreenRow", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 214, + 30 + ], + [ + 217, + 1 + ] + ], + "doc": null + } + }, + "217": { + "11": { + "name": "onClick", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 217, + 11 + ], + [ + 227, + 39 + ] + ], + "doc": null + } + } + }, + "exports": 10 + }, + "./build/src/gutter-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "10": { + "type": "import", + "range": [ + [ + 0, + 10 + ], + [ + 0, + 11 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + }, + "14": { + "type": "import", + "range": [ + [ + 0, + 14 + ], + [ + 0, + 16 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$$", + "exportsProperty": "$$$" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Range", + "exportsProperty": "Range" + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "8": { + "0": { + "type": "class", + "name": "GutterView", + "bindingType": "exports", + "classProperties": [ + [ + 9, + 12 + ] + ], + "prototypeProperties": [ + [ + 13, + 18 + ], + [ + 14, + 17 + ], + [ + 16, + 14 + ], + [ + 19, + 15 + ], + [ + 28, + 16 + ], + [ + 31, + 21 + ], + [ + 53, + 17 + ], + [ + 56, + 13 + ], + [ + 62, + 22 + ], + [ + 68, + 25 + ], + [ + 74, + 33 + ], + [ + 83, + 24 + ], + [ + 91, + 22 + ], + [ + 101, + 27 + ], + [ + 115, + 18 + ], + [ + 126, + 23 + ], + [ + 135, + 21 + ], + [ + 169, + 23 + ], + [ + 175, + 22 + ], + [ + 179, + 22 + ], + [ + 190, + 21 + ], + [ + 194, + 25 + ], + [ + 221, + 25 + ], + [ + 235, + 24 + ], + [ + 242, + 20 + ], + [ + 250, + 18 + ] + ], + "doc": " Private: Represents the portion of the {EditorView} containing row numbers.\n\nThe gutter also indicates if rows are folded. ", + "range": [ + [ + 8, + 0 + ], + [ + 274, + 29 + ] + ] + } + }, + "9": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 12 + ], + [ + 13, + 1 + ] + ] + } + }, + "13": { + "18": { + "name": "firstScreenRow", + "type": "primitive", + "range": [ + [ + 13, + 18 + ], + [ + 13, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "17": { + "name": "lastScreenRow", + "type": "primitive", + "range": [ + [ + 14, + 17 + ], + [ + 14, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 14 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 19, + 15 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 16 + ], + [ + 31, + 1 + ] + ], + "doc": "~Private~" + } + }, + "31": { + "21": { + "name": "handleMouseEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 31, + 21 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "17": { + "name": "getEditorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 17 + ], + [ + 56, + 1 + ] + ], + "doc": " Private: Retrieves the containing {EditorView}.\n\nReturns an {EditorView}. " + } + }, + "56": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 13 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "22": { + "name": "setShowLineNumbers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showLineNumbers" + ], + "range": [ + [ + 62, + 22 + ], + [ + 68, + 1 + ] + ], + "doc": " Private: Defines whether to show the gutter or not.\n\nshowLineNumbers - A {Boolean} which, if `false`, hides the gutter " + } + }, + "68": { + "25": { + "name": "getLineNumberElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 68, + 25 + ], + [ + 74, + 1 + ] + ], + "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " + } + }, + "74": { + "33": { + "name": "getLineNumberElementsForClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 74, + 33 + ], + [ + 83, + 1 + ] + ], + "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " + } + }, + "83": { + "24": { + "name": "getLineNumberElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 83, + 24 + ], + [ + 91, + 1 + ] + ], + "doc": " Private: Get a single line-number div.\n\n* bufferRow: 0 based line number\n\nReturns a list of {HTMLElement}s that correspond to the bufferRow. More than\none in the list indicates a wrapped line. " + } + }, + "91": { + "22": { + "name": "addClassToAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 91, + 22 + ], + [ + 101, + 1 + ] + ], + "doc": " Private: Add a class to all line-number divs.\n\n* klass: string class name\n\nReturns true if the class was added to any lines " + } + }, + "101": { + "27": { + "name": "removeClassFromAllLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "klass" + ], + "range": [ + [ + 101, + 27 + ], + [ + 115, + 1 + ] + ], + "doc": " Private: Remove a class from all line-number divs.\n\n* klass: string class name. Can only be one class name. i.e. 'my-class'\n\nReturns true if the class was removed from any lines " + } + }, + "115": { + "18": { + "name": "addClassToLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "klass" + ], + "range": [ + [ + 115, + 18 + ], + [ + 126, + 1 + ] + ], + "doc": " Private: Add a class to a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was added to " + } + }, + "126": { + "23": { + "name": "removeClassFromLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "klass" + ], + "range": [ + [ + 126, + 23 + ], + [ + 135, + 1 + ] + ], + "doc": " Private: Remove a class from a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was removed from " + } + }, + "135": { + "21": { + "name": "updateLineNumbers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "changes", + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 135, + 21 + ], + [ + 169, + 1 + ] + ], + "doc": "~Private~" + } + }, + "169": { + "23": { + "name": "prependLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElements" + ], + "range": [ + [ + 169, + 23 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "22": { + "name": "appendLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineElements" + ], + "range": [ + [ + 175, + 22 + ], + [ + 179, + 1 + ] + ], + "doc": "~Private~" + } + }, + "179": { + "22": { + "name": "removeLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "numberOfElements" + ], + "range": [ + [ + 179, + 22 + ], + [ + 190, + 1 + ] + ], + "doc": "~Private~" + } + }, + "190": { + "21": { + "name": "buildLineElements", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 190, + 21 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "25": { + "name": "buildLineElementsHtml", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startScreenRow", + "endScreenRow" + ], + "range": [ + [ + 194, + 25 + ], + [ + 221, + 1 + ] + ], + "doc": "~Private~" + } + }, + "221": { + "25": { + "name": "updateFoldableClasses", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "changes" + ], + "range": [ + [ + 221, + 25 + ], + [ + 235, + 1 + ] + ], + "doc": " Private: Called to update the 'foldable' class of line numbers when there's\na change to the display buffer that doesn't regenerate all the line numbers\nanyway. " + } + }, + "235": { + "24": { + "name": "removeLineHighlights", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 235, + 24 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "20": { + "name": "addLineHighlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "emptySelection" + ], + "range": [ + [ + 242, + 20 + ], + [ + 250, + 1 + ] + ], + "doc": "~Private~" + } + }, + "250": { + "18": { + "name": "highlightLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 250, + 18 + ], + [ + 274, + 29 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "./build/src/highlight-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork@^0.11.1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork@^1.0.0", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "21": { + "name": "HighlightComponent", + "type": "function", + "range": [ + [ + 5, + 21 + ], + [ + 89, + 110 + ] + ] + } + }, + "6": { + "15": { + "name": "'HighlightComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 34 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 20, + 1 + ] + ], + "doc": null + } + }, + "20": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 21 + ], + [ + 27, + 1 + ] + ], + "doc": null + } + }, + "27": { + "24": { + "name": "componentWillUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 24 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "23": { + "name": "startFlashAnimation", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 23 + ], + [ + 42, + 1 + ] + ], + "doc": null + } + }, + "42": { + "27": { + "name": "renderSingleLineRegions", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 27 + ], + [ + 53, + 1 + ] + ], + "doc": null + } + }, + "53": { + "26": { + "name": "renderMultiLineRegions", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 26 + ], + [ + 88, + 1 + ] + ], + "doc": null + } + }, + "88": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 88, + 25 + ], + [ + 89, + 110 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "./build/src/highlights-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork@^0.11.1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork@^1.0.0", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "3": { + "21": { + "name": "HighlightComponent", + "type": "import", + "range": [ + [ + 3, + 21 + ], + [ + 3, + 51 + ] + ], + "bindingType": "variable", + "path": "./highlight-component" + } + }, + "6": { + "22": { + "name": "HighlightsComponent", + "type": "function", + "range": [ + [ + 6, + 22 + ], + [ + 24, + 148 + ] + ] + } + }, + "7": { + "15": { + "name": "'HighlightsComponent'", + "type": "primitive", + "range": [ + [ + 7, + 15 + ], + [ + 7, + 35 + ] + ] + } + }, + "9": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 10 + ], + [ + 13, + 1 + ] + ], + "doc": null + } + }, + "13": { + "20": { + "name": "renderHighlights", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 20 + ], + [ + 23, + 1 + ] + ], + "doc": null + } + }, + "23": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 23, + 25 + ], + [ + 24, + 148 + ] + ], + "doc": null + } + } + }, + "exports": 6 + }, + "./build/src/input-component.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "last", + "exportsProperty": "last" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 13 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqual", + "exportsProperty": "isEqual" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork@^0.11.1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork@^1.0.0", + "name": "input", + "exportsProperty": "input" + } + }, + "5": { + "17": { + "name": "InputComponent", + "type": "function", + "range": [ + [ + 5, + 17 + ], + [ + 43, + 25 + ] + ] + } + }, + "6": { + "15": { + "name": "'InputComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 30 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 13, + 1 + ] + ], + "doc": null + } + }, + "13": { + "19": { + "name": "getInitialState", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 19 + ], + [ + 16, + 1 + ] + ], + "doc": null + } + }, + "16": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 21 + ], + [ + 21, + 1 + ] + ], + "doc": null + } + }, + "21": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 22 + ], + [ + 27, + 1 + ] + ], + "doc": null + } + }, + "27": { + "27": { + "name": "isPressAndHoldCharacter", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "char" + ], + "range": [ + [ + 27, + 27 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 30, + 25 + ], + [ + 33, + 1 + ] + ], + "doc": null + } + }, + "33": { + "11": { + "name": "onPaste", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 33, + 11 + ], + [ + 36, + 1 + ] + ], + "doc": null + } + }, + "36": { + "11": { + "name": "onFocus", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 36, + 11 + ], + [ + 39, + 1 + ] + ], + "doc": null + } + }, + "39": { + "10": { + "name": "onBlur", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 39, + 10 + ], + [ + 42, + 1 + ] + ], + "doc": null + } + }, + "42": { + "9": { + "name": "focus", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 9 + ], + [ + 43, + 25 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "./build/src/keymap-extensions.coffee": { + "objects": { + "0": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 0, + 5 + ], + [ + 0, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "16": { + "name": "KeymapManager", + "type": "import", + "range": [ + [ + 2, + 16 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "atom-keymap@^1.0.2" + } + }, + "3": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1.0.2" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 6 + ] + ], + "bindingType": "variable", + "module": "space-pen@3.2.0", + "name": "jQuery", + "exportsProperty": "jQuery" + } + }, + "6": { + "36": { + "name": "KeymapManager.prototype.loadBundledKeymaps", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 36 + ], + [ + 9, + 0 + ] + ], + "doc": null + } + }, + "10": { + "35": { + "name": "KeymapManager.prototype.getUserKeymapPath", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 35 + ], + [ + 15, + 0 + ] + ], + "doc": null + } + }, + "16": { + "32": { + "name": "KeymapManager.prototype.loadUserKeymap", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 32 + ], + [ + 22, + 74 + ] + ], + "doc": null + } + }, + "23": { + "32": { + "name": "jQuery.Event.prototype.abortKeyBinding", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 23, + 32 + ], + [ + 25, + 0 + ] + ], + "doc": null + } + } + }, + "exports": 26 + }, + "./build/src/language-mode.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 10 + ] + ], + "bindingType": "variable", + "module": "oniguruma@^3.0.3", + "name": "OnigRegExp", + "exportsProperty": "OnigRegExp" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 3, + 10 + ], + [ + 3, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "6": { + "0": { + "type": "class", + "name": "LanguageMode", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 15 + ], + [ + 16, + 11 + ], + [ + 19, + 33 + ], + [ + 30, + 35 + ], + [ + 100, + 11 + ], + [ + 107, + 13 + ], + [ + 114, + 24 + ], + [ + 128, + 17 + ], + [ + 141, + 30 + ], + [ + 146, + 33 + ], + [ + 161, + 34 + ], + [ + 181, + 25 + ], + [ + 186, + 29 + ], + [ + 194, + 32 + ], + [ + 201, + 30 + ], + [ + 208, + 35 + ], + [ + 241, + 31 + ], + [ + 265, + 29 + ], + [ + 274, + 24 + ], + [ + 281, + 23 + ], + [ + 288, + 34 + ], + [ + 308, + 23 + ], + [ + 312, + 32 + ], + [ + 315, + 32 + ], + [ + 318, + 25 + ] + ], + "doc": "~Private~", + "range": [ + [ + 6, + 0 + ], + [ + 319, + 57 + ] + ] + } + }, + "13": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 13, + 15 + ], + [ + 16, + 1 + ] + ], + "doc": " Private: Sets up a `LanguageMode` for the given {Editor}.\n\neditor - The {Editor} to associate with " + } + }, + "16": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 16, + 11 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "33": { + "name": "toggleLineCommentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 19, + 33 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "35": { + "name": "toggleLineCommentsForBufferRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 30, + 35 + ], + [ + 100, + 1 + ] + ], + "doc": " Private: Wraps the lines between two rows in comments.\n\nIf the language doesn't have comment, nothing happens.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns an {Array} of the commented {Ranges}. " + } + }, + "100": { + "11": { + "name": "foldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 100, + 11 + ], + [ + 107, + 1 + ] + ], + "doc": "Private: Folds all the foldable lines in the buffer. " + } + }, + "107": { + "13": { + "name": "unfoldAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 13 + ], + [ + 114, + 1 + ] + ], + "doc": "Private: Unfolds all the foldable lines in the buffer. " + } + }, + "114": { + "24": { + "name": "foldAllAtIndentLevel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "indentLevel" + ], + "range": [ + [ + 114, + 24 + ], + [ + 128, + 1 + ] + ], + "doc": " Private: Fold all comment and code blocks at a given indentLevel\n\nindentLevel - A {Number} indicating indentLevel; 0 based. " + } + }, + "128": { + "17": { + "name": "foldBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 128, + 17 + ], + [ + 141, + 1 + ] + ], + "doc": " Private: Given a buffer row, creates a fold at it.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns the new {Fold}. " + } + }, + "141": { + "30": { + "name": "rowRangeForFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 141, + 30 + ], + [ + 146, + 1 + ] + ], + "doc": " Private: Find the row range for a fold at a given bufferRow. Will handle comments\nand code.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of the [startRow, endRow]. Returns null if no range. " + } + }, + "146": { + "33": { + "name": "rowRangeForCommentAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 146, + 33 + ], + [ + 161, + 1 + ] + ], + "doc": "~Private~" + } + }, + "161": { + "34": { + "name": "rowRangeForCodeFoldAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 161, + 34 + ], + [ + 181, + 1 + ] + ], + "doc": "~Private~" + } + }, + "181": { + "25": { + "name": "isFoldableAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 181, + 25 + ], + [ + 186, + 1 + ] + ], + "doc": " Public: Returns a {Boolean} indicating whether the given buffer row starts a\nfoldable row range. Rows that are \"foldable\" have a fold icon next to their\nicon in the gutter in the default configuration. " + } + }, + "186": { + "29": { + "name": "isFoldableCodeAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 186, + 29 + ], + [ + 194, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na a foldable row range due to the code's indentation patterns. " + } + }, + "194": { + "32": { + "name": "isFoldableCommentAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 194, + 32 + ], + [ + 201, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na foldable row range due to being the start of a multi-line comment. " + } + }, + "201": { + "30": { + "name": "isLineCommentedAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 201, + 30 + ], + [ + 208, + 1 + ] + ], + "doc": " Private: Returns a {Boolean} indicating whether the line at the given buffer\nrow is a comment. " + } + }, + "208": { + "35": { + "name": "rowRangeForParagraphAtBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 208, + 35 + ], + [ + 241, + 1 + ] + ], + "doc": " Private: Find a row range for a 'paragraph' around specified bufferRow.\nRight now, a paragraph is a block of text bounded by and empty line or a\nblock of text that is not the same type (comments next to source code). " + } + }, + "241": { + "31": { + "name": "suggestedIndentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 241, + 31 + ], + [ + 265, + 1 + ] + ], + "doc": " Private: Given a buffer row, this returns a suggested indentation level.\n\nThe indentation level provided is based on the current {LanguageMode}.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Number}. " + } + }, + "265": { + "29": { + "name": "minIndentLevelForRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 265, + 29 + ], + [ + 274, + 1 + ] + ], + "doc": " Private: Calculate a minimum indent level for a range of lines excluding empty lines.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns a {Number} of the indent level of the block of lines. " + } + }, + "274": { + "24": { + "name": "autoIndentBufferRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 274, + 24 + ], + [ + 281, + 1 + ] + ], + "doc": " Private: Indents all the rows between two buffer row numbers.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at " + } + }, + "281": { + "23": { + "name": "autoIndentBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow", + "options" + ], + "range": [ + [ + 281, + 23 + ], + [ + 288, + 1 + ] + ], + "doc": " Private: Given a buffer row, this indents it.\n\nbufferRow - The row {Number}.\noptions - An options {Object} to pass through to {Editor::setIndentationForBufferRow}. " + } + }, + "288": { + "34": { + "name": "autoDecreaseIndentForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRow" + ], + "range": [ + [ + 288, + 34 + ], + [ + 308, + 1 + ] + ], + "doc": " Private: Given a buffer row, this decreases the indentation.\n\nbufferRow - The row {Number} " + } + }, + "308": { + "23": { + "name": "getRegexForProperty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes", + "property" + ], + "range": [ + [ + 308, + 23 + ], + [ + 312, + 1 + ] + ], + "doc": "~Private~" + } + }, + "312": { + "32": { + "name": "increaseIndentRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 312, + 32 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "32": { + "name": "decreaseIndentRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 315, + 32 + ], + [ + 318, + 1 + ] + ], + "doc": "~Private~" + } + }, + "318": { + "25": { + "name": "foldEndRegexForScopes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopes" + ], + "range": [ + [ + 318, + 25 + ], + [ + 319, + 57 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 6 + }, + "./build/src/less-compile-cache.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 1, + 5 + ], + [ + 1, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "2": { + "12": { + "name": "LessCache", + "type": "import", + "range": [ + [ + 2, + 12 + ], + [ + 2, + 31 + ] + ], + "bindingType": "variable", + "module": "less-cache@0.13.0" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "7": { + "0": { + "type": "class", + "name": "LessCompileCache", + "bindingType": "exports", + "classProperties": [ + [ + 10, + 13 + ] + ], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 29, + 18 + ], + [ + 32, + 8 + ], + [ + 35, + 14 + ], + [ + 38, + 11 + ] + ], + "doc": "Private: {LessCache} wrapper used by {ThemeManager} to read stylesheets. ", + "range": [ + [ + 7, + 0 + ], + [ + 38, + 28 + ] + ] + } + }, + "10": { + "13": { + "name": "cacheDir", + "type": "function", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 71 + ] + ], + "bindingType": "classProperty" + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 29, + 1 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "18": { + "name": "setImportPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "importPaths" + ], + "range": [ + [ + 29, + 18 + ], + [ + 32, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "8": { + "name": "read", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 32, + 8 + ], + [ + 35, + 1 + ] + ], + "doc": "~Private~" + } + }, + "35": { + "14": { + "name": "cssForFile", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "lessContent" + ], + "range": [ + [ + 35, + 14 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 38, + 11 + ], + [ + 38, + 27 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 7 + }, + "./build/src/lines-component.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork@^0.11.1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork@^1.0.0", + "name": "div", + "exportsProperty": "div" + }, + "6": { + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 9 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork@^1.0.0", + "name": "span", + "exportsProperty": "span" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "debounce", + "exportsProperty": "debounce" + }, + "11": { + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 17 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqual", + "exportsProperty": "isEqual" + }, + "20": { + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 39 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + }, + "42": { + "type": "import", + "range": [ + [ + 3, + 42 + ], + [ + 3, + 55 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "multiplyString", + "exportsProperty": "multiplyString" + }, + "58": { + "type": "import", + "range": [ + [ + 3, + 58 + ], + [ + 3, + 64 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "toArray", + "exportsProperty": "toArray" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 2 + ] + ], + "bindingType": "variable", + "module": "space-pen@3.2.0", + "name": "$$", + "exportsProperty": "$$" + } + }, + "6": { + "13": { + "name": "Decoration", + "type": "import", + "range": [ + [ + 6, + 13 + ], + [ + 6, + 34 + ] + ], + "bindingType": "variable", + "path": "./decoration" + } + }, + "7": { + "19": { + "name": "CursorsComponent", + "type": "import", + "range": [ + [ + 7, + 19 + ], + [ + 7, + 47 + ] + ], + "bindingType": "variable", + "path": "./cursors-component" + } + }, + "8": { + "22": { + "name": "HighlightsComponent", + "type": "import", + "range": [ + [ + 8, + 22 + ], + [ + 8, + 53 + ] + ], + "bindingType": "variable", + "path": "./highlights-component" + } + }, + "10": { + "16": { + "type": "primitive", + "range": [ + [ + 10, + 16 + ], + [ + 10, + 111 + ] + ] + } + }, + "11": { + "15": { + "type": "primitive", + "range": [ + [ + 11, + 15 + ], + [ + 11, + 55 + ] + ] + }, + "28": { + "name": "acceptNode", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 11, + 28 + ], + [ + 11, + 54 + ] + ], + "doc": null + } + }, + "12": { + "13": { + "name": "WrapperDiv", + "type": "function", + "range": [ + [ + 12, + 13 + ], + [ + 12, + 41 + ] + ] + } + }, + "15": { + "17": { + "name": "LinesComponent", + "type": "function", + "range": [ + [ + 15, + 17 + ], + [ + 348, + 41 + ] + ] + } + }, + "16": { + "15": { + "name": "'LinesComponent'", + "type": "primitive", + "range": [ + [ + 16, + 15 + ], + [ + 16, + 30 + ] + ] + } + }, + "18": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 18, + 10 + ], + [ + 44, + 1 + ] + ], + "doc": null + } + }, + "44": { + "16": { + "name": "getTransform", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 16 + ], + [ + 52, + 1 + ] + ], + "doc": null + } + }, + "52": { + "22": { + "name": "componentWillMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 22 + ], + [ + 59, + 1 + ] + ], + "doc": null + } + }, + "59": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 59, + 25 + ], + [ + 79, + 1 + ] + ], + "doc": null + } + }, + "79": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "prevProps" + ], + "range": [ + [ + 79, + 22 + ], + [ + 88, + 1 + ] + ], + "doc": null + } + }, + "88": { + "24": { + "name": "clearScreenRowCaches", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 24 + ], + [ + 92, + 1 + ] + ], + "doc": null + } + }, + "92": { + "15": { + "name": "updateLines", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "updateWidth" + ], + "range": [ + [ + 92, + 15 + ], + [ + 100, + 1 + ] + ], + "doc": null + } + }, + "100": { + "19": { + "name": "removeLineNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "visibleLines" + ], + "range": [ + [ + 100, + 19 + ], + [ + 114, + 1 + ] + ], + "doc": null + } + }, + "114": { + "34": { + "name": "appendOrUpdateVisibleLineNodes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "visibleLines", + "startRow", + "updateWidth" + ], + "range": [ + [ + 114, + 34 + ], + [ + 145, + 1 + ] + ], + "doc": null + } + }, + "145": { + "15": { + "name": "hasLineNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "lineId" + ], + "range": [ + [ + 145, + 15 + ], + [ + 148, + 1 + ] + ], + "doc": null + } + }, + "148": { + "17": { + "name": "buildLineHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "screenRow" + ], + "range": [ + [ + 148, + 17 + ], + [ + 171, + 1 + ] + ], + "doc": null + } + }, + "171": { + "27": { + "name": "buildEmptyLineInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 171, + 27 + ], + [ + 198, + 1 + ] + ], + "doc": null + } + }, + "198": { + "22": { + "name": "buildLineInnerHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 198, + 22 + ], + [ + 215, + 1 + ] + ], + "doc": null + } + }, + "215": { + "22": { + "name": "buildEndOfLineHTML", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "invisibles" + ], + "range": [ + [ + 215, + 22 + ], + [ + 228, + 1 + ] + ], + "doc": null + } + }, + "228": { + "20": { + "name": "updateScopeStack", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 228, + 20 + ], + [ + 245, + 1 + ] + ], + "doc": null + } + }, + "245": { + "12": { + "name": "popScope", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack" + ], + "range": [ + [ + 245, + 12 + ], + [ + 249, + 1 + ] + ], + "doc": null + } + }, + "249": { + "13": { + "name": "pushScope", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "scopeStack", + "scope" + ], + "range": [ + [ + 249, + 13 + ], + [ + 253, + 1 + ] + ], + "doc": null + } + }, + "253": { + "18": { + "name": "updateLineNode", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "line", + "screenRow", + "updateWidth" + ], + "range": [ + [ + 253, + 18 + ], + [ + 278, + 1 + ] + ], + "doc": null + } + }, + "278": { + "17": { + "name": "hasDecoration", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "decorations", + "decoration" + ], + "range": [ + [ + 278, + 17 + ], + [ + 281, + 1 + ] + ], + "doc": null + } + }, + "281": { + "24": { + "name": "lineNodeForScreenRow", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 281, + 24 + ], + [ + 284, + 1 + ] + ], + "doc": null + } + }, + "284": { + "40": { + "name": "measureLineHeightAndDefaultCharWidth", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 40 + ], + [ + 295, + 1 + ] + ], + "doc": null + } + }, + "295": { + "28": { + "name": "remeasureCharacterWidths", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 295, + 28 + ], + [ + 299, + 1 + ] + ], + "doc": null + } + }, + "299": { + "31": { + "name": "measureCharactersInNewLines", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 299, + 31 + ], + [ + 311, + 1 + ] + ], + "doc": null + } + }, + "311": { + "27": { + "name": "measureCharactersInLine", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "tokenizedLine", + "lineNode" + ], + "range": [ + [ + 311, + 27 + ], + [ + 346, + 1 + ] + ], + "doc": null + } + }, + "346": { + "25": { + "name": "clearScopedCharWidths", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 346, + 25 + ], + [ + 348, + 41 + ] + ], + "doc": null + } + } + }, + "exports": 15 + }, + "./build/src/menu-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "3": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 3, + 6 + ], + [ + 3, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1.0.2" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "12": { + "0": { + "type": "class", + "name": "MenuManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 15 + ], + [ + 37, + 7 + ], + [ + 47, + 19 + ], + [ + 79, + 10 + ], + [ + 88, + 21 + ], + [ + 96, + 9 + ], + [ + 107, + 27 + ], + [ + 117, + 24 + ], + [ + 121, + 18 + ], + [ + 130, + 21 + ] + ], + "doc": " Public: Provides a registry for menu items that you'd like to appear in the\napplication menu.\n\nAn instance of this class is always available as the `atom.menu` global. ", + "range": [ + [ + 12, + 0 + ], + [ + 131, + 49 + ] + ] + } + }, + "13": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 13, + 15 + ], + [ + 37, + 1 + ] + ] + } + }, + "37": { + "7": { + "name": "add", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 37, + 7 + ], + [ + 47, + 1 + ] + ], + "doc": " Public: Adds the given item definition to the existing template.\n\n## Example\n```coffee\n atom.menu.add [\n {\n label: 'Hello'\n submenu : [{label: 'World!', command: 'hello:world'}]\n }\n ]\n```\n\nitems - An {Array} of menu item {Object}s containing the keys:\n :label - The {String} menu label.\n :submenu - An optional {Array} of sub menu items.\n :command - An optional {String} command to trigger when the item is\n clicked.\n\nReturns nothing. " + } + }, + "47": { + "19": { + "name": "includeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 47, + 19 + ], + [ + 79, + 1 + ] + ], + "doc": " Private: Should the binding for the given selector be included in the menu\ncommands.\n\nselector - A {String} selector to check.\n\nReturns true to include the selector, false otherwise. " + } + }, + "79": { + "10": { + "name": "update", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 10 + ], + [ + 88, + 1 + ] + ], + "doc": "Public: Refreshes the currently visible menu. " + } + }, + "88": { + "21": { + "name": "loadPlatformItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 21 + ], + [ + 96, + 1 + ] + ], + "doc": "~Private~" + } + }, + "96": { + "9": { + "name": "merge", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "menu", + "item" + ], + "range": [ + [ + 96, + 9 + ], + [ + 107, + 1 + ] + ], + "doc": " Private: Merges an item in a submenu aware way such that new items are always\nappended to the bottom of existing menus where possible. " + } + }, + "107": { + "27": { + "name": "filterMultipleKeystroke", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "keystrokesByCommand" + ], + "range": [ + [ + 107, + 27 + ], + [ + 117, + 1 + ] + ], + "doc": " Private: OSX can't handle displaying accelerators for multiple keystrokes.\nIf they are sent across, it will stop processing accelerators for the rest\nof the menu items. " + } + }, + "117": { + "24": { + "name": "sendToBrowserProcess", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "template", + "keystrokesByCommand" + ], + "range": [ + [ + 117, + 24 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "18": { + "name": "normalizeLabel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "label" + ], + "range": [ + [ + 121, + 18 + ], + [ + 130, + 1 + ] + ], + "doc": "~Private~" + } + }, + "130": { + "21": { + "name": "classesForElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 130, + 21 + ], + [ + 131, + 49 + ] + ], + "doc": "Private: Get an {Array} of {String} classes for the given element. " + } + } + }, + "exports": 12 + }, + "./build/src/package-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q@^1.0.1" + } + }, + "7": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 7, + 10 + ], + [ + 7, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "8": { + "15": { + "name": "ThemePackage", + "type": "import", + "range": [ + [ + 8, + 15 + ], + [ + 8, + 39 + ] + ], + "bindingType": "variable", + "path": "./theme-package" + } + }, + "26": { + "0": { + "type": "class", + "name": "PackageManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 44, + 14 + ], + [ + 52, + 22 + ], + [ + 55, + 19 + ], + [ + 58, + 19 + ], + [ + 62, + 17 + ], + [ + 68, + 18 + ], + [ + 74, + 12 + ], + [ + 82, + 28 + ], + [ + 85, + 20 + ], + [ + 90, + 19 + ], + [ + 100, + 22 + ], + [ + 105, + 21 + ], + [ + 113, + 21 + ], + [ + 117, + 20 + ], + [ + 121, + 19 + ], + [ + 124, + 29 + ], + [ + 128, + 27 + ], + [ + 137, + 16 + ], + [ + 148, + 15 + ], + [ + 168, + 18 + ], + [ + 172, + 17 + ], + [ + 182, + 20 + ], + [ + 186, + 19 + ], + [ + 190, + 21 + ], + [ + 196, + 29 + ], + [ + 200, + 22 + ], + [ + 210, + 21 + ], + [ + 213, + 17 + ], + [ + 218, + 20 + ], + [ + 221, + 26 + ], + [ + 231, + 28 + ], + [ + 246, + 28 + ], + [ + 250, + 31 + ] + ], + "doc": " Public: Package manager for coordinating the lifecycle of Atom packages.\n\nAn instance of this class is always available as the `atom.packages` global.\n\nPackages can be loaded, activated, and deactivated, and unloaded:\n * Loading a package reads and parses the package's metadata and resources\n such as keymaps, menus, stylesheets, etc.\n * Activating a package registers the loaded resources and calls `activate()`\n on the package's main module.\n * Deactivating a package unregisters the package's resources and calls\n `deactivate()` on the package's main module.\n * Unloading a package removes it completely from the package manager.\n\nPackages can also be enabled/disabled via the `core.disabledPackages` config\nsettings and also by calling `enablePackage()/disablePackage()`. ", + "range": [ + [ + 26, + 0 + ], + [ + 256, + 12 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 29, + 15 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "14": { + "name": "getApmPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 14 + ], + [ + 52, + 1 + ] + ], + "doc": "Public: Get the path to the apm command " + } + }, + "52": { + "22": { + "name": "getPackageDirPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 22 + ], + [ + 55, + 1 + ] + ], + "doc": " Public: Get the paths being used to look for packages.\n\nReturns an Array of String directory paths. " + } + }, + "55": { + "19": { + "name": "getPackageState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 55, + 19 + ], + [ + 58, + 1 + ] + ], + "doc": "~Private~" + } + }, + "58": { + "19": { + "name": "setPackageState", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name", + "state" + ], + "range": [ + [ + 58, + 19 + ], + [ + 62, + 1 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "17": { + "name": "enablePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 62, + 17 + ], + [ + 68, + 1 + ] + ], + "doc": "Public: Enable the package with the given name " + } + }, + "68": { + "18": { + "name": "disablePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 68, + 18 + ], + [ + 74, + 1 + ] + ], + "doc": "Public: Disable the package with the given name " + } + }, + "74": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 74, + 12 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Activate all the packages that should be activated. " + } + }, + "82": { + "28": { + "name": "registerPackageActivator", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "activator", + "types" + ], + "range": [ + [ + 82, + 28 + ], + [ + 85, + 1 + ] + ], + "doc": " Private: another type of package manager can handle other package types.\nSee ThemeManager " + } + }, + "85": { + "20": { + "name": "activatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "packages" + ], + "range": [ + [ + 85, + 20 + ], + [ + 90, + 1 + ] + ], + "doc": "~Private~" + } + }, + "90": { + "19": { + "name": "activatePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 90, + 19 + ], + [ + 100, + 1 + ] + ], + "doc": "Private: Activate a single package by name " + } + }, + "100": { + "22": { + "name": "deactivatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 100, + 22 + ], + [ + 105, + 1 + ] + ], + "doc": "Private: Deactivate all packages " + } + }, + "105": { + "21": { + "name": "deactivatePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 105, + 21 + ], + [ + 113, + 1 + ] + ], + "doc": "Private: Deactivate the package with the given name " + } + }, + "113": { + "21": { + "name": "getActivePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 113, + 21 + ], + [ + 117, + 1 + ] + ], + "doc": "Public: Get an array of all the active packages " + } + }, + "117": { + "20": { + "name": "getActivePackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 117, + 20 + ], + [ + 121, + 1 + ] + ], + "doc": "Public: Get the active package with the given name " + } + }, + "121": { + "19": { + "name": "isPackageActive", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 121, + 19 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Is the package with the given name active? " + } + }, + "124": { + "29": { + "name": "unobserveDisabledPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 124, + 29 + ], + [ + 128, + 1 + ] + ], + "doc": "~Private~" + } + }, + "128": { + "27": { + "name": "observeDisabledPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 128, + 27 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "16": { + "name": "loadPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 16 + ], + [ + 148, + 1 + ] + ], + "doc": "~Private~" + } + }, + "148": { + "15": { + "name": "loadPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "nameOrPath" + ], + "range": [ + [ + 148, + 15 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "18": { + "name": "unloadPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 18 + ], + [ + 172, + 1 + ] + ], + "doc": "~Private~" + } + }, + "172": { + "17": { + "name": "unloadPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 172, + 17 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "20": { + "name": "getLoadedPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 182, + 20 + ], + [ + 186, + 1 + ] + ], + "doc": "Public: Get the loaded package with the given name " + } + }, + "186": { + "19": { + "name": "isPackageLoaded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 186, + 19 + ], + [ + 190, + 1 + ] + ], + "doc": "Public: Is the package with the given name loaded? " + } + }, + "190": { + "21": { + "name": "getLoadedPackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 190, + 21 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded packages " + } + }, + "196": { + "29": { + "name": "getLoadedPackagesForTypes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "types" + ], + "range": [ + [ + 196, + 29 + ], + [ + 200, + 1 + ] + ], + "doc": " Private: Get packages for a certain package type\n\ntypes - an {Array} of {String}s like ['atom', 'textmate']. " + } + }, + "200": { + "22": { + "name": "resolvePackagePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 200, + 22 + ], + [ + 210, + 1 + ] + ], + "doc": "Public: Resolve the given package name to a path on disk. " + } + }, + "210": { + "21": { + "name": "isPackageDisabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 210, + 21 + ], + [ + 213, + 1 + ] + ], + "doc": "Public: Is the package with the given name disabled? " + } + }, + "213": { + "17": { + "name": "hasAtomEngine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "packagePath" + ], + "range": [ + [ + 213, + 17 + ], + [ + 218, + 1 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "20": { + "name": "isBundledPackage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 218, + 20 + ], + [ + 221, + 1 + ] + ], + "doc": "Public: Is the package with the given name bundled with Atom? " + } + }, + "221": { + "26": { + "name": "getPackageDependencies", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 221, + 26 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "28": { + "name": "getAvailablePackagePaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 231, + 28 + ], + [ + 246, + 1 + ] + ], + "doc": "Public: Get an array of all the available package paths. " + } + }, + "246": { + "28": { + "name": "getAvailablePackageNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 246, + 28 + ], + [ + 250, + 1 + ] + ], + "doc": "Public: Get an array of all the available package names. " + } + }, + "250": { + "31": { + "name": "getAvailablePackageMetadata", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 250, + 31 + ], + [ + 256, + 12 + ] + ], + "doc": "Public: Get an array of all the available package metadata. " + } + } + }, + "exports": 26 + }, + "./build/src/package.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "3": { + "8": { + "name": "async", + "type": "import", + "range": [ + [ + 3, + 8 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "async@0.2.6" + } + }, + "4": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 4, + 7 + ], + [ + 4, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1.0.2" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "7": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 14 + ] + ], + "bindingType": "variable", + "module": "q@^1.0.1" + } + }, + "9": { + "4": { + "type": "primitive", + "range": [ + [ + 9, + 4 + ], + [ + 9, + 7 + ] + ] + } + }, + "10": { + "19": { + "name": "ScopedProperties", + "type": "import", + "range": [ + [ + 10, + 19 + ], + [ + 10, + 47 + ] + ], + "bindingType": "variable", + "path": "./scoped-properties" + } + }, + "15": { + "0": { + "type": "class", + "name": "Package", + "bindingType": "exports", + "classProperties": [ + [ + 18, + 19 + ], + [ + 20, + 17 + ] + ], + "prototypeProperties": [ + [ + 30, + 11 + ], + [ + 31, + 9 + ], + [ + 32, + 15 + ], + [ + 33, + 12 + ], + [ + 34, + 20 + ], + [ + 35, + 18 + ], + [ + 36, + 26 + ], + [ + 37, + 14 + ], + [ + 39, + 15 + ], + [ + 44, + 10 + ], + [ + 47, + 11 + ], + [ + 50, + 11 + ], + [ + 53, + 11 + ], + [ + 59, + 11 + ], + [ + 61, + 21 + ], + [ + 63, + 8 + ], + [ + 76, + 9 + ], + [ + 83, + 12 + ], + [ + 97, + 15 + ], + [ + 109, + 18 + ], + [ + 118, + 23 + ], + [ + 126, + 21 + ], + [ + 138, + 15 + ], + [ + 141, + 13 + ], + [ + 144, + 18 + ], + [ + 151, + 16 + ], + [ + 158, + 19 + ], + [ + 162, + 22 + ], + [ + 165, + 22 + ], + [ + 177, + 20 + ], + [ + 194, + 16 + ], + [ + 213, + 24 + ], + [ + 231, + 13 + ], + [ + 238, + 14 + ], + [ + 247, + 20 + ], + [ + 251, + 23 + ], + [ + 260, + 21 + ], + [ + 266, + 20 + ], + [ + 269, + 21 + ], + [ + 275, + 21 + ], + [ + 285, + 23 + ], + [ + 297, + 31 + ], + [ + 306, + 25 + ], + [ + 315, + 35 + ], + [ + 325, + 36 + ], + [ + 339, + 36 + ], + [ + 345, + 18 + ], + [ + 353, + 34 + ], + [ + 371, + 32 + ], + [ + 401, + 16 + ] + ], + "doc": " Private: Loads and activates a package's main module and resources such as\nstylesheets, keymaps, grammar, editor properties, and menus. ", + "range": [ + [ + 15, + 0 + ], + [ + 411, + 24 + ] + ] + } + }, + "18": { + "19": { + "name": "stylesheetsDir", + "type": "primitive", + "range": [ + [ + 18, + 19 + ], + [ + 18, + 31 + ] + ], + "bindingType": "classProperty" + } + }, + "20": { + "17": { + "name": "loadMetadata", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "packagePath", + "ignoreErrors" + ], + "range": [ + [ + 20, + 17 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "keymaps", + "type": "primitive", + "range": [ + [ + 30, + 11 + ], + [ + 30, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "31": { + "9": { + "name": "menus", + "type": "primitive", + "range": [ + [ + 31, + 9 + ], + [ + 31, + 12 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "32": { + "15": { + "name": "stylesheets", + "type": "primitive", + "range": [ + [ + 32, + 15 + ], + [ + 32, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "33": { + "12": { + "name": "grammars", + "type": "primitive", + "range": [ + [ + 33, + 12 + ], + [ + 33, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "34": { + "20": { + "name": "scopedProperties", + "type": "primitive", + "range": [ + [ + 34, + 20 + ], + [ + 34, + 23 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "35": { + "18": { + "name": "mainModulePath", + "type": "primitive", + "range": [ + [ + 35, + 18 + ], + [ + 35, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "36": { + "26": { + "name": "resolvedMainModulePath", + "type": "primitive", + "range": [ + [ + 36, + 26 + ], + [ + 36, + 30 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "37": { + "14": { + "name": "mainModule", + "type": "primitive", + "range": [ + [ + 37, + 14 + ], + [ + 37, + 17 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "39": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 39, + 15 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "10": { + "name": "enable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 44, + 10 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "11": { + "name": "disable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 47, + 11 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "11": { + "name": "isTheme", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 11 + ], + [ + 53, + 1 + ] + ], + "doc": "~Private~" + } + }, + "53": { + "11": { + "name": "measure", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "key", + "fn" + ], + "range": [ + [ + 53, + 11 + ], + [ + 59, + 1 + ] + ], + "doc": "~Private~" + } + }, + "59": { + "11": { + "name": "getType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 11 + ], + [ + 59, + 19 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "21": { + "name": "getStylesheetType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 21 + ], + [ + 61, + 32 + ] + ], + "doc": "~Private~" + } + }, + "63": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 63, + 8 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "9": { + "name": "reset", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 9 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 83, + 12 + ], + [ + 97, + 1 + ] + ], + "doc": "~Private~" + } + }, + "97": { + "15": { + "name": "activateNow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 97, + 15 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "18": { + "name": "activateConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 18 + ], + [ + 118, + 1 + ] + ], + "doc": "~Private~" + } + }, + "118": { + "23": { + "name": "activateStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 118, + 23 + ], + [ + 126, + 1 + ] + ], + "doc": "~Private~" + } + }, + "126": { + "21": { + "name": "activateResources", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 21 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "15": { + "name": "loadKeymaps", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 15 + ], + [ + 141, + 1 + ] + ], + "doc": "~Private~" + } + }, + "141": { + "13": { + "name": "loadMenus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 13 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "18": { + "name": "getKeymapPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 144, + 18 + ], + [ + 151, + 1 + ] + ], + "doc": "~Private~" + } + }, + "151": { + "16": { + "name": "getMenuPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 151, + 16 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "19": { + "name": "loadStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 19 + ], + [ + 162, + 1 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "22": { + "name": "getStylesheetsPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 162, + 22 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "22": { + "name": "getStylesheetPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 22 + ], + [ + 177, + 1 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "20": { + "name": "loadGrammarsSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 20 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "16": { + "name": "loadGrammars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 194, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "24": { + "name": "loadScopedProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 24 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "13": { + "name": "serialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 231, + 13 + ], + [ + 238, + 1 + ] + ], + "doc": "~Private~" + } + }, + "238": { + "14": { + "name": "deactivate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 238, + 14 + ], + [ + 247, + 1 + ] + ], + "doc": "~Private~" + } + }, + "247": { + "20": { + "name": "deactivateConfig", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 247, + 20 + ], + [ + 251, + 1 + ] + ], + "doc": "~Private~" + } + }, + "251": { + "23": { + "name": "deactivateResources", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 251, + 23 + ], + [ + 260, + 1 + ] + ], + "doc": "~Private~" + } + }, + "260": { + "21": { + "name": "reloadStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 21 + ], + [ + 266, + 1 + ] + ], + "doc": "~Private~" + } + }, + "266": { + "20": { + "name": "reloadStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "content" + ], + "range": [ + [ + 266, + 20 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "21": { + "name": "requireMainModule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 21 + ], + [ + 275, + 1 + ] + ] + } + }, + "275": { + "21": { + "name": "getMainModulePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 275, + 21 + ], + [ + 285, + 1 + ] + ], + "doc": "~Private~" + } + }, + "285": { + "23": { + "name": "hasActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 285, + 23 + ], + [ + 297, + 1 + ] + ], + "doc": "~Private~" + } + }, + "297": { + "31": { + "name": "subscribeToActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 31 + ], + [ + 306, + 1 + ] + ], + "doc": "~Private~" + } + }, + "306": { + "25": { + "name": "handleActivationEvent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 306, + 25 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "35": { + "name": "unsubscribeFromActivationEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 315, + 35 + ], + [ + 325, + 1 + ] + ], + "doc": "~Private~" + } + }, + "325": { + "36": { + "name": "disableEventHandlersOnBubblePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 325, + 36 + ], + [ + 339, + 1 + ] + ], + "doc": "~Private~" + } + }, + "339": { + "36": { + "name": "restoreEventHandlersOnBubblePath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "eventHandlers" + ], + "range": [ + [ + 339, + 36 + ], + [ + 345, + 1 + ] + ], + "doc": "~Private~" + } + }, + "345": { + "18": { + "name": "isNativeModule", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "modulePath" + ], + "range": [ + [ + 345, + 18 + ], + [ + 353, + 1 + ] + ], + "doc": "Private: Does the given module path contain native code? " + } + }, + "353": { + "34": { + "name": "getNativeModuleDependencyPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 353, + 34 + ], + [ + 371, + 1 + ] + ], + "doc": " Private: Get an array of all the native modules that this package depends on.\nThis will recurse through all dependencies. " + } + }, + "371": { + "32": { + "name": "getIncompatibleNativeModules", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 371, + 32 + ], + [ + 401, + 1 + ] + ], + "doc": " Private: Get the incompatible native modules that this package depends on.\nThis recurses through all dependencies and requires all modules that\ncontain a `.node` file.\n\nThis information is cached in local storage on a per package/version basis\nto minimize the impact on startup time. " + } + }, + "401": { + "16": { + "name": "isCompatible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 401, + 16 + ], + [ + 411, + 24 + ] + ], + "doc": " Public: Is this package compatible with this version of Atom?\n\nIncompatible packages cannot be activated. This will include packages\ninstalled to ~/.atom/packages that were built against node 0.11.10 but\nnow need to be upgrade to node 0.11.13.\n\nReturns a {Boolean}, true if compatible, false if incompatible. " + } + } + }, + "exports": 15 + }, + "./build/src/pane-axis-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "11": { + "type": "primitive", + "range": [ + [ + 1, + 11 + ], + [ + 1, + 14 + ] + ] + } + }, + "4": { + "0": { + "type": "class", + "name": "PaneAxisView", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 5, + 14 + ], + [ + 9, + 15 + ], + [ + 12, + 16 + ], + [ + 16, + 22 + ], + [ + 22, + 16 + ], + [ + 26, + 18 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 31, + 48 + ] + ] + } + }, + "5": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 5, + 14 + ], + [ + 9, + 1 + ] + ] + } + }, + "9": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 15 + ], + [ + 12, + 1 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "16": { + "name": "viewForModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "model" + ], + "range": [ + [ + 12, + 16 + ], + [ + 16, + 1 + ] + ], + "doc": "~Private~" + } + }, + "16": { + "22": { + "name": "onChildrenChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 16, + 22 + ], + [ + 22, + 1 + ] + ], + "doc": "~Private~" + } + }, + "22": { + "16": { + "name": "onChildAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child", + "index" + ], + "range": [ + [ + 22, + 16 + ], + [ + 26, + 1 + ] + ], + "doc": "~Private~" + } + }, + "26": { + "18": { + "name": "onChildRemoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 26, + 18 + ], + [ + 31, + 48 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "./build/src/pane-axis.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Model", + "exportsProperty": "Model" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 15 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Sequence", + "exportsProperty": "Sequence" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 7 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "flatten", + "exportsProperty": "flatten" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@^1" + } + }, + "4": { + "14": { + "type": "primitive", + "range": [ + [ + 4, + 14 + ], + [ + 4, + 17 + ] + ] + } + }, + "5": { + "17": { + "type": "primitive", + "range": [ + [ + 5, + 17 + ], + [ + 5, + 20 + ] + ] + } + }, + "8": { + "0": { + "type": "class", + "name": "PaneAxis", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 25, + 21 + ], + [ + 30, + 19 + ], + [ + 34, + 16 + ], + [ + 40, + 12 + ], + [ + 43, + 12 + ], + [ + 46, + 15 + ], + [ + 51, + 16 + ], + [ + 56, + 21 + ], + [ + 60, + 20 + ], + [ + 64, + 21 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 65, + 44 + ] + ] + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 15 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 25, + 21 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 19 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 16 + ], + [ + 40, + 1 + ] + ], + "doc": "~Private~" + } + }, + "40": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 40, + 12 + ], + [ + 43, + 1 + ] + ], + "doc": "~Private~" + } + }, + "43": { + "12": { + "name": "addChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child", + "index" + ], + "range": [ + [ + 43, + 12 + ], + [ + 46, + 1 + ] + ], + "doc": "~Private~" + } + }, + "46": { + "15": { + "name": "removeChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 46, + 15 + ], + [ + 51, + 1 + ] + ], + "doc": "~Private~" + } + }, + "51": { + "16": { + "name": "replaceChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "oldChild", + "newChild" + ], + "range": [ + [ + 51, + 16 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "21": { + "name": "insertChildBefore", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "currentChild", + "newChild" + ], + "range": [ + [ + 56, + 21 + ], + [ + 60, + 1 + ] + ], + "doc": "~Private~" + } + }, + "60": { + "20": { + "name": "insertChildAfter", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "currentChild", + "newChild" + ], + "range": [ + [ + 60, + 20 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "21": { + "name": "reparentLastChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 21 + ], + [ + 65, + 44 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "./build/src/pane-column-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "2": { + "15": { + "name": "PaneAxisView", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 40 + ] + ], + "bindingType": "variable", + "path": "./pane-axis-view" + } + }, + "5": { + "0": { + "type": "class", + "name": "PaneColumnView", + "bindingType": "exports", + "classProperties": [ + [ + 7, + 12 + ] + ], + "prototypeProperties": [ + [ + 10, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 11, + 16 + ] + ] + } + }, + "7": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 7, + 12 + ], + [ + 10, + 1 + ] + ], + "doc": "~Private~" + } + }, + "10": { + "13": { + "name": "className", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 10, + 13 + ], + [ + 11, + 16 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "./build/src/pane-container-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "1": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@^1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "3": { + "11": { + "name": "PaneView", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-view" + } + }, + "4": { + "16": { + "name": "PaneContainer", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 41 + ] + ], + "bindingType": "variable", + "path": "./pane-container" + } + }, + "8": { + "0": { + "type": "class", + "name": "PaneContainerView", + "bindingType": "exports", + "classProperties": [ + [ + 13, + 12 + ] + ], + "prototypeProperties": [ + [ + 16, + 14 + ], + [ + 25, + 16 + ], + [ + 30, + 11 + ], + [ + 33, + 17 + ], + [ + 47, + 27 + ], + [ + 50, + 15 + ], + [ + 55, + 16 + ], + [ + 64, + 16 + ], + [ + 67, + 15 + ], + [ + 70, + 15 + ], + [ + 73, + 16 + ], + [ + 79, + 18 + ], + [ + 82, + 17 + ], + [ + 86, + 21 + ], + [ + 89, + 21 + ], + [ + 92, + 17 + ], + [ + 95, + 14 + ], + [ + 98, + 21 + ], + [ + 101, + 25 + ], + [ + 104, + 22 + ], + [ + 107, + 22 + ], + [ + 110, + 23 + ], + [ + 113, + 24 + ], + [ + 116, + 26 + ], + [ + 143, + 26 + ], + [ + 152, + 12 + ] + ], + "doc": "Private: Manages the list of panes within a {WorkspaceView} ", + "range": [ + [ + 8, + 0 + ], + [ + 154, + 19 + ] + ] + } + }, + "13": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 12 + ], + [ + 16, + 1 + ] + ], + "doc": "~Private~" + } + }, + "16": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 16, + 14 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "16": { + "name": "viewForModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "model" + ], + "range": [ + [ + 25, + 16 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "getRoot", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 11 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "17": { + "name": "onRootChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "root" + ], + "range": [ + [ + 33, + 17 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "27": { + "name": "onActivePaneItemChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "activeItem" + ], + "range": [ + [ + 47, + 27 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "15": { + "name": "removeChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "child" + ], + "range": [ + [ + 50, + 15 + ], + [ + 55, + 1 + ] + ], + "doc": "~Private~" + } + }, + "55": { + "16": { + "name": "confirmClose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 16 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "16": { + "name": "getPaneViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 16 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "15": { + "name": "indexOfPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "paneView" + ], + "range": [ + [ + 67, + 15 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "15": { + "name": "paneAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 70, + 15 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "16": { + "name": "eachPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 73, + 16 + ], + [ + 79, + 1 + ] + ], + "doc": "~Private~" + } + }, + "79": { + "18": { + "name": "getFocusedPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 18 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 17 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "21": { + "name": "getActivePaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 21 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "17": { + "name": "getActiveView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 92, + 17 + ], + [ + 95, + 1 + ] + ], + "doc": "~Private~" + } + }, + "95": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 95, + 14 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "21": { + "name": "focusNextPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 21 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "focusPreviousPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 25 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "22": { + "name": "focusPaneViewAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 22 + ], + [ + 107, + 1 + ] + ], + "doc": "~Private~" + } + }, + "107": { + "22": { + "name": "focusPaneViewBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 22 + ], + [ + 110, + 1 + ] + ], + "doc": "~Private~" + } + }, + "110": { + "23": { + "name": "focusPaneViewOnLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 23 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "24": { + "name": "focusPaneViewOnRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 113, + 24 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "26": { + "name": "nearestPaneInDirection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "direction" + ], + "range": [ + [ + 116, + 26 + ], + [ + 143, + 1 + ] + ], + "doc": "~Private~" + } + }, + "143": { + "26": { + "name": "boundingBoxForPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "paneView" + ], + "range": [ + [ + 143, + 26 + ], + [ + 152, + 1 + ] + ], + "doc": "~Private~" + } + }, + "152": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 152, + 12 + ], + [ + 154, + 19 + ] + ], + "doc": "Private: Deprecated " + } + } + }, + "exports": 8 + }, + "./build/src/pane-container.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "find", + "exportsProperty": "find" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@^1" + } + }, + "3": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 3, + 7 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "6": { + "0": { + "type": "class", + "name": "PaneContainer", + "bindingType": "exports", + "classProperties": [ + [ + 10, + 12 + ] + ], + "prototypeProperties": [ + [ + 16, + 16 + ], + [ + 23, + 15 + ], + [ + 28, + 21 + ], + [ + 34, + 19 + ], + [ + 38, + 16 + ], + [ + 42, + 12 + ], + [ + 45, + 17 + ], + [ + 48, + 14 + ], + [ + 51, + 11 + ], + [ + 54, + 20 + ], + [ + 64, + 24 + ], + [ + 75, + 17 + ], + [ + 89, + 21 + ], + [ + 92, + 17 + ], + [ + 96, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 6, + 0 + ], + [ + 97, + 42 + ] + ] + } + }, + "10": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 10, + 12 + ], + [ + 10, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "16": { + "16": { + "name": "previousRoot", + "type": "primitive", + "range": [ + [ + 16, + 16 + ], + [ + 16, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "23": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 23, + 15 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 28, + 21 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 34, + 19 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "16": { + "name": "replaceChild", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "oldChild", + "newChild" + ], + "range": [ + [ + 38, + 16 + ], + [ + 42, + 1 + ] + ], + "doc": "~Private~" + } + }, + "42": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 42, + 12 + ], + [ + 45, + 1 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 17 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 48, + 14 + ], + [ + 51, + 1 + ] + ], + "doc": "~Private~" + } + }, + "51": { + "11": { + "name": "saveAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 51, + 11 + ], + [ + 54, + 1 + ] + ], + "doc": "~Private~" + } + }, + "54": { + "20": { + "name": "activateNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 54, + 20 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "24": { + "name": "activatePreviousPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 24 + ], + [ + 75, + 1 + ] + ], + "doc": "~Private~" + } + }, + "75": { + "17": { + "name": "onRootChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "root" + ], + "range": [ + [ + 75, + 17 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "21": { + "name": "destroyEmptyPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 21 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "17": { + "name": "itemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 92, + 17 + ], + [ + 96, + 1 + ] + ], + "doc": "~Private~" + } + }, + "96": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 13 + ], + [ + 97, + 42 + ] + ], + "doc": "Private: Called by Model superclass when destroyed " + } + } + }, + "exports": 6 + }, + "./build/src/pane-row-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "2": { + "15": { + "name": "PaneAxisView", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 40 + ] + ], + "bindingType": "variable", + "path": "./pane-axis-view" + } + }, + "5": { + "0": { + "type": "class", + "name": "PaneRowView", + "bindingType": "exports", + "classProperties": [ + [ + 6, + 12 + ] + ], + "prototypeProperties": [ + [ + 9, + 13 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 10, + 13 + ] + ] + } + }, + "6": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 12 + ], + [ + 9, + 1 + ] + ] + } + }, + "9": { + "13": { + "name": "className", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 13 + ], + [ + 10, + 13 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 5 + }, + "./build/src/pane-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "1": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@^1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "3": { + "20": { + "name": "PropertyAccessors", + "type": "import", + "range": [ + [ + 3, + 20 + ], + [ + 3, + 47 + ] + ], + "bindingType": "variable", + "module": "property-accessors@^1" + } + }, + "5": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "14": { + "0": { + "type": "class", + "name": "PaneView", + "bindingType": "exports", + "classProperties": [ + [ + 18, + 12 + ], + [ + 20, + 12 + ] + ], + "prototypeProperties": [ + [ + 32, + 22 + ], + [ + 34, + 14 + ], + [ + 45, + 16 + ], + [ + 84, + 14 + ], + [ + 89, + 12 + ], + [ + 94, + 18 + ], + [ + 99, + 19 + ], + [ + 104, + 16 + ], + [ + 109, + 20 + ], + [ + 113, + 15 + ], + [ + 121, + 15 + ], + [ + 124, + 25 + ], + [ + 133, + 15 + ], + [ + 139, + 21 + ], + [ + 142, + 23 + ], + [ + 158, + 15 + ], + [ + 161, + 17 + ], + [ + 175, + 15 + ], + [ + 178, + 25 + ], + [ + 182, + 26 + ], + [ + 185, + 15 + ], + [ + 199, + 13 + ], + [ + 201, + 14 + ], + [ + 203, + 11 + ], + [ + 205, + 13 + ], + [ + 210, + 16 + ], + [ + 213, + 16 + ], + [ + 216, + 10 + ] + ], + "doc": " Public: A container which can contains multiple items to be switched between.\n\nItems can be almost anything however most commonly they're {EditorView}s.\n\nMost packages won't need to use this class, unless you're interested in\nbuilding a package that deals with switching between panes or items. ", + "range": [ + [ + 14, + 0 + ], + [ + 219, + 9 + ] + ] + } + }, + "18": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 18, + 12 + ], + [ + 18, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "20": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "wrappedView" + ], + "range": [ + [ + 20, + 12 + ], + [ + 24, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "22": { + "name": "previousActiveItem", + "type": "primitive", + "range": [ + [ + 32, + 22 + ], + [ + 32, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "34": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 34, + 14 + ], + [ + 45, + 1 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 16 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "14": { + "name": "removeItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 84, + 14 + ], + [ + 89, + 1 + ] + ], + "doc": "Deprecated: Use ::destroyItem " + } + }, + "89": { + "12": { + "name": "showItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 89, + 12 + ], + [ + 94, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItem " + } + }, + "94": { + "18": { + "name": "showItemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 94, + 18 + ], + [ + 99, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItemForUri " + } + }, + "99": { + "19": { + "name": "showItemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 99, + 19 + ], + [ + 104, + 1 + ] + ], + "doc": "Deprecated: Use ::activateItemAtIndex " + } + }, + "104": { + "16": { + "name": "showNextItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 16 + ], + [ + 109, + 1 + ] + ], + "doc": "Deprecated: Use ::activateNextItem " + } + }, + "109": { + "20": { + "name": "showPreviousItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 20 + ], + [ + 113, + 1 + ] + ], + "doc": "Deprecated: Use ::activatePreviousItem " + } + }, + "113": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 113, + 15 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "15": { + "name": "onActivated", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 121, + 15 + ], + [ + 124, + 1 + ] + ], + "doc": "~Private~" + } + }, + "124": { + "25": { + "name": "onActiveStatusChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "active" + ], + "range": [ + [ + 124, + 25 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "15": { + "name": "getNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 15 + ], + [ + 139, + 1 + ] + ], + "doc": "Public: Returns the next pane, ordered by creation. " + } + }, + "139": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 139, + 21 + ], + [ + 142, + 1 + ] + ], + "doc": "~Private~" + } + }, + "142": { + "23": { + "name": "onActiveItemChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 142, + 23 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "15": { + "name": "onItemAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index" + ], + "range": [ + [ + 158, + 15 + ], + [ + 161, + 1 + ] + ], + "doc": "~Private~" + } + }, + "161": { + "17": { + "name": "onItemRemoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index", + "destroyed" + ], + "range": [ + [ + 161, + 17 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "15": { + "name": "onItemMoved", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "newIndex" + ], + "range": [ + [ + 175, + 15 + ], + [ + 178, + 1 + ] + ], + "doc": "~Private~" + } + }, + "178": { + "25": { + "name": "onBeforeItemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 178, + 25 + ], + [ + 182, + 1 + ] + ], + "doc": "~Private~" + } + }, + "182": { + "26": { + "name": "activeItemTitleChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 182, + 26 + ], + [ + 185, + 1 + ] + ], + "doc": "~Private~" + } + }, + "185": { + "15": { + "name": "viewForItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 185, + 15 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "199": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 199, + 13 + ], + [ + 199, + 57 + ] + ], + "doc": "~Private~" + } + }, + "201": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 201, + 14 + ], + [ + 201, + 59 + ] + ], + "doc": "~Private~" + } + }, + "203": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 203, + 11 + ], + [ + 203, + 53 + ] + ], + "doc": "~Private~" + } + }, + "205": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items" + ], + "range": [ + [ + 205, + 13 + ], + [ + 205, + 57 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "16": { + "name": "getContainer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": " Public: Get the container view housing this pane.\n\nReturns a {View}. " + } + }, + "213": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 16 + ], + [ + 216, + 1 + ] + ], + "doc": "~Private~" + } + }, + "216": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "keepData" + ], + "range": [ + [ + 216, + 10 + ], + [ + 219, + 9 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 14 + }, + "./build/src/pane.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "find", + "exportsProperty": "find" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 13 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "compact", + "exportsProperty": "compact" + }, + "16": { + "type": "import", + "range": [ + [ + 0, + 16 + ], + [ + 0, + 21 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "extend", + "exportsProperty": "extend" + }, + "24": { + "type": "import", + "range": [ + [ + 0, + 24 + ], + [ + 0, + 27 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "last", + "exportsProperty": "last" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Model", + "exportsProperty": "Model" + }, + "8": { + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 15 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Sequence", + "exportsProperty": "Sequence" + } + }, + "2": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 2, + 15 + ], + [ + 2, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@^1" + } + }, + "3": { + "11": { + "name": "PaneAxis", + "type": "import", + "range": [ + [ + 3, + 11 + ], + [ + 3, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-axis" + } + }, + "4": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "5": { + "11": { + "type": "primitive", + "range": [ + [ + 5, + 11 + ], + [ + 5, + 14 + ] + ] + } + }, + "11": { + "0": { + "type": "class", + "name": "Pane", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 43, + 19 + ], + [ + 50, + 21 + ], + [ + 57, + 16 + ], + [ + 59, + 12 + ], + [ + 62, + 9 + ], + [ + 67, + 8 + ], + [ + 73, + 12 + ], + [ + 77, + 12 + ], + [ + 82, + 12 + ], + [ + 88, + 17 + ], + [ + 93, + 19 + ], + [ + 97, + 15 + ], + [ + 101, + 20 + ], + [ + 109, + 24 + ], + [ + 117, + 22 + ], + [ + 121, + 23 + ], + [ + 125, + 16 + ], + [ + 137, + 11 + ], + [ + 154, + 12 + ], + [ + 159, + 14 + ], + [ + 175, + 12 + ], + [ + 182, + 18 + ], + [ + 187, + 21 + ], + [ + 193, + 15 + ], + [ + 204, + 16 + ], + [ + 208, + 24 + ], + [ + 211, + 11 + ], + [ + 218, + 13 + ], + [ + 224, + 20 + ], + [ + 239, + 18 + ], + [ + 243, + 20 + ], + [ + 251, + 12 + ], + [ + 263, + 14 + ], + [ + 273, + 13 + ], + [ + 278, + 14 + ], + [ + 283, + 22 + ], + [ + 290, + 18 + ], + [ + 300, + 13 + ], + [ + 309, + 14 + ], + [ + 318, + 11 + ], + [ + 327, + 13 + ], + [ + 330, + 9 + ], + [ + 344, + 23 + ], + [ + 356, + 32 + ] + ], + "doc": " Public: A container for multiple items, one of which is *active* at a given\ntime. With the default packages, a tab is displayed for each item and the\nactive item's view is displayed. ", + "range": [ + [ + 11, + 0 + ], + [ + 364, + 19 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 29, + 15 + ], + [ + 43, + 1 + ] + ], + "doc": "~Private~" + } + }, + "43": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 43, + 19 + ], + [ + 50, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during serialization. " + } + }, + "50": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 50, + 21 + ], + [ + 57, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during deserialization. " + } + }, + "57": { + "16": { + "name": "getViewClass", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 16 + ], + [ + 57, + 51 + ] + ], + "doc": "Private: Called by the view layer to construct a view for this model. " + } + }, + "59": { + "12": { + "name": "isActive", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 59, + 12 + ], + [ + 59, + 21 + ] + ], + "doc": "~Private~" + } + }, + "62": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 62, + 9 + ], + [ + 67, + 1 + ] + ], + "doc": "Private: Called by the view layer to indicate that the pane has gained focus. " + } + }, + "67": { + "8": { + "name": "blur", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 8 + ], + [ + 73, + 1 + ] + ], + "doc": "Private: Called by the view layer to indicate that the pane has lost focus. " + } + }, + "73": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 12 + ], + [ + 77, + 1 + ] + ], + "doc": " Public: Makes this pane the *active* pane, causing it to gain focus\nimmediately. " + } + }, + "77": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 77, + 12 + ], + [ + 77, + 20 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "12": { + "name": "getItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 12 + ], + [ + 88, + 1 + ] + ], + "doc": " Public: Get the items in this pane.\n\nReturns an {Array} of items. " + } + }, + "88": { + "17": { + "name": "getActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 17 + ], + [ + 93, + 1 + ] + ], + "doc": " Public: Get the active pane item in this pane.\n\nReturns a pane item. " + } + }, + "93": { + "19": { + "name": "getActiveEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 93, + 19 + ], + [ + 97, + 1 + ] + ], + "doc": " Public: Returns an {Editor} if the pane item is an {Editor}, or null\notherwise. " + } + }, + "97": { + "15": { + "name": "itemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 97, + 15 + ], + [ + 101, + 1 + ] + ], + "doc": "Public: Returns the item at the specified index. " + } + }, + "101": { + "20": { + "name": "activateNextItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 20 + ], + [ + 109, + 1 + ] + ], + "doc": "Public: Makes the next item active. " + } + }, + "109": { + "24": { + "name": "activatePreviousItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 24 + ], + [ + 117, + 1 + ] + ], + "doc": "Public: Makes the previous item active. " + } + }, + "117": { + "22": { + "name": "getActiveItemIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 117, + 22 + ], + [ + 121, + 1 + ] + ], + "doc": "Private: Returns the index of the current active item. " + } + }, + "121": { + "23": { + "name": "activateItemAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 121, + 23 + ], + [ + 125, + 1 + ] + ], + "doc": "Private: Makes the item at the given index active. " + } + }, + "125": { + "16": { + "name": "activateItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 125, + 16 + ], + [ + 137, + 1 + ] + ], + "doc": "Private: Makes the given item active, adding the item if necessary. " + } + }, + "137": { + "11": { + "name": "addItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "index" + ], + "range": [ + [ + 137, + 11 + ], + [ + 154, + 1 + ] + ], + "doc": " Public: Adds the item to the pane.\n\nitem - The item to add. It can be a model with an associated view or a view.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns the added item " + } + }, + "154": { + "12": { + "name": "addItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "items", + "index" + ], + "range": [ + [ + 154, + 12 + ], + [ + 159, + 1 + ] + ], + "doc": " Public: Adds the given items to the pane.\n\nitems - An {Array} of items to add. Items can be models with associated\n views or views. Any items that are already present in items will\n not be added.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns an {Array} of the added items " + } + }, + "159": { + "14": { + "name": "removeItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "destroying" + ], + "range": [ + [ + 159, + 14 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "12": { + "name": "moveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "newIndex" + ], + "range": [ + [ + 175, + 12 + ], + [ + 182, + 1 + ] + ], + "doc": "Public: Moves the given item to the specified index. " + } + }, + "182": { + "18": { + "name": "moveItemToPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "pane", + "index" + ], + "range": [ + [ + 182, + 18 + ], + [ + 187, + 1 + ] + ], + "doc": "Public: Moves the given item to the given index at another pane. " + } + }, + "187": { + "21": { + "name": "destroyActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 187, + 21 + ], + [ + 193, + 1 + ] + ], + "doc": "Public: Destroys the currently active item and make the next item active. " + } + }, + "193": { + "15": { + "name": "destroyItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 193, + 15 + ], + [ + 204, + 1 + ] + ], + "doc": " Public: Destroys the given item. If it is the active item, activate the next\none. If this is the last item, also destroys the pane. " + } + }, + "204": { + "16": { + "name": "destroyItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 204, + 16 + ], + [ + 208, + 1 + ] + ], + "doc": "Public: Destroys all items and destroys the pane. " + } + }, + "208": { + "24": { + "name": "destroyInactiveItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 208, + 24 + ], + [ + 211, + 1 + ] + ], + "doc": "Public: Destroys all items but the active one. " + } + }, + "211": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 211, + 11 + ], + [ + 218, + 1 + ] + ], + "doc": "~Private~" + } + }, + "218": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 218, + 13 + ], + [ + 224, + 1 + ] + ], + "doc": "Private: Called by model superclass. " + } + }, + "224": { + "20": { + "name": "promptToSaveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 224, + 20 + ], + [ + 239, + 1 + ] + ], + "doc": " Public: Prompts the user to save the given item if it can be saved and is\ncurrently unsaved. " + } + }, + "239": { + "18": { + "name": "saveActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 239, + 18 + ], + [ + 243, + 1 + ] + ], + "doc": "Public: Saves the active item. " + } + }, + "243": { + "20": { + "name": "saveActiveItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 243, + 20 + ], + [ + 251, + 1 + ] + ], + "doc": "Public: Saves the active item at a prompted-for location. " + } + }, + "251": { + "12": { + "name": "saveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "nextAction" + ], + "range": [ + [ + 251, + 12 + ], + [ + 263, + 1 + ] + ], + "doc": " Public: Saves the specified item.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " + } + }, + "263": { + "14": { + "name": "saveItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item", + "nextAction" + ], + "range": [ + [ + 263, + 14 + ], + [ + 273, + 1 + ] + ], + "doc": " Public: Saves the given item at a prompted-for location.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " + } + }, + "273": { + "13": { + "name": "saveItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 273, + 13 + ], + [ + 278, + 1 + ] + ], + "doc": "Public: Saves all items. " + } + }, + "278": { + "14": { + "name": "itemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 278, + 14 + ], + [ + 283, + 1 + ] + ], + "doc": " Public: Returns the first item that matches the given URI or undefined if\nnone exists. " + } + }, + "283": { + "22": { + "name": "activateItemForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 283, + 22 + ], + [ + 290, + 1 + ] + ], + "doc": " Public: Activates the first item that matches the given URI. Returns a\nboolean indicating whether a matching item was found. " + } + }, + "290": { + "18": { + "name": "copyActiveItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 290, + 18 + ], + [ + 300, + 1 + ] + ], + "doc": "~Private~" + } + }, + "300": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 300, + 13 + ], + [ + 309, + 1 + ] + ], + "doc": " Public: Creates a new pane to the left of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "309": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 309, + 14 + ], + [ + 318, + 1 + ] + ], + "doc": " Public: Creates a new pane to the right of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "318": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 318, + 11 + ], + [ + 327, + 1 + ] + ], + "doc": " Public: Creates a new pane above the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "327": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 327, + 13 + ], + [ + 330, + 1 + ] + ], + "doc": " Public: Creates a new pane below the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " + } + }, + "330": { + "9": { + "name": "split", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "orientation", + "side", + "params" + ], + "range": [ + [ + 330, + 9 + ], + [ + 344, + 1 + ] + ], + "doc": "~Private~" + } + }, + "344": { + "23": { + "name": "findLeftmostSibling", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 344, + 23 + ], + [ + 356, + 1 + ] + ], + "doc": " Private: If the parent is a horizontal axis, returns its first child if it is a pane;\notherwise returns this pane. " + } + }, + "356": { + "32": { + "name": "findOrCreateRightmostSibling", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 356, + 32 + ], + [ + 364, + 19 + ] + ], + "doc": " Private: If the parent is a horizontal axis, returns its last child if it is a pane;\notherwise returns a new pane created by splitting this pane rightward. " + } + } + }, + "exports": 11 + }, + "./build/src/project.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "1": { + "6": { + "name": "url", + "type": "import", + "range": [ + [ + 1, + 6 + ], + [ + 1, + 18 + ] + ], + "bindingType": "variable", + "module": "url", + "builtin": true + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q@^1.0.1" + } + }, + "6": { + "1": { + "type": "import", + "range": [ + [ + 6, + 1 + ], + [ + 6, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Model", + "exportsProperty": "Model" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Emitter", + "exportsProperty": "Emitter" + }, + "10": { + "type": "import", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 19 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "9": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 9, + 15 + ], + [ + 9, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@^1" + } + }, + "10": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 10, + 13 + ], + [ + 10, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0" + } + }, + "11": { + "1": { + "type": "import", + "range": [ + [ + 11, + 1 + ], + [ + 11, + 9 + ] + ], + "bindingType": "variable", + "module": "pathwatcher@^2.0.6", + "name": "Directory", + "exportsProperty": "Directory" + } + }, + "13": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 13, + 9 + ], + [ + 13, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "14": { + "7": { + "name": "Task", + "type": "import", + "range": [ + [ + 14, + 7 + ], + [ + 14, + 22 + ] + ], + "bindingType": "variable", + "path": "./task" + } + }, + "15": { + "6": { + "name": "Git", + "type": "import", + "range": [ + [ + 15, + 6 + ], + [ + 15, + 20 + ] + ], + "bindingType": "variable", + "path": "./git" + } + }, + "21": { + "0": { + "type": "class", + "name": "Project", + "bindingType": "exports", + "classProperties": [ + [ + 26, + 25 + ] + ], + "prototypeProperties": [ + [ + 31, + 15 + ], + [ + 40, + 19 + ], + [ + 44, + 21 + ], + [ + 48, + 13 + ], + [ + 52, + 15 + ], + [ + 57, + 28 + ], + [ + 61, + 11 + ], + [ + 64, + 11 + ], + [ + 68, + 11 + ], + [ + 85, + 20 + ], + [ + 95, + 11 + ], + [ + 109, + 14 + ], + [ + 114, + 12 + ], + [ + 124, + 8 + ], + [ + 130, + 12 + ], + [ + 139, + 14 + ], + [ + 143, + 18 + ], + [ + 146, + 21 + ], + [ + 150, + 21 + ], + [ + 163, + 17 + ], + [ + 168, + 15 + ], + [ + 172, + 19 + ], + [ + 184, + 15 + ], + [ + 194, + 13 + ], + [ + 198, + 20 + ], + [ + 207, + 16 + ], + [ + 211, + 23 + ], + [ + 221, + 8 + ], + [ + 268, + 11 + ], + [ + 300, + 24 + ], + [ + 304, + 14 + ], + [ + 315, + 18 + ], + [ + 320, + 20 + ], + [ + 325, + 14 + ], + [ + 330, + 14 + ] + ], + "doc": " Public: Represents a project that's opened in Atom.\n\nAn instance of this class is always available as the `atom.project` global. ", + "range": [ + [ + 21, + 0 + ], + [ + 332, + 31 + ] + ] + } + }, + "26": { + "25": { + "name": "pathForRepositoryUrl", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "repoUrl" + ], + "range": [ + [ + 26, + 25 + ], + [ + 31, + 1 + ] + ], + "doc": "Public: Find the local path for the given repository URL. " + } + }, + "31": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 31, + 15 + ], + [ + 40, + 1 + ] + ], + "doc": "~Private~" + } + }, + "40": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 40, + 19 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 44, + 21 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 13 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "15": { + "name": "destroyRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 15 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "28": { + "name": "destroyUnretainedBuffers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 28 + ], + [ + 61, + 1 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "11": { + "name": "getRepo", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 11 + ], + [ + 61, + 18 + ] + ], + "doc": "Public: Returns the {Git} repository if available. " + } + }, + "64": { + "11": { + "name": "getPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 11 + ], + [ + 68, + 1 + ] + ], + "doc": "Public: Returns the project's fullpath. " + } + }, + "68": { + "11": { + "name": "setPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "projectPath" + ], + "range": [ + [ + 68, + 11 + ], + [ + 85, + 1 + ] + ], + "doc": "Public: Sets the project's fullpath. " + } + }, + "85": { + "20": { + "name": "getRootDirectory", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 85, + 20 + ], + [ + 95, + 1 + ] + ], + "doc": "Public: Returns the root {Directory} object for this project. " + } + }, + "95": { + "11": { + "name": "resolve", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 95, + 11 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Given a uri, this resolves it relative to the project directory. If\nthe path is already absolute or if it is prefixed with a scheme, it is\nreturned unchanged.\n\nuri - The {String} name of the path to convert.\n\nReturns a {String} or undefined if the uri is not missing or empty. " + } + }, + "109": { + "14": { + "name": "relativize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fullPath" + ], + "range": [ + [ + 109, + 14 + ], + [ + 114, + 1 + ] + ], + "doc": "Public: Make the given path relative to the project directory. " + } + }, + "114": { + "12": { + "name": "contains", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pathToCheck" + ], + "range": [ + [ + 114, + 12 + ], + [ + 124, + 1 + ] + ], + "doc": "Public: Returns whether the given path is inside this project. " + } + }, + "124": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "options" + ], + "range": [ + [ + 124, + 8 + ], + [ + 130, + 1 + ] + ], + "doc": " Private: Given a path to a file, this constructs and associates a new\n{Editor}, showing the file.\n\nfilePath - The {String} path of the file to associate with.\noptions - Options that you can pass to the {Editor} constructor.\n\nReturns a promise that resolves to an {Editor}. " + } + }, + "130": { + "12": { + "name": "openSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath", + "options" + ], + "range": [ + [ + 130, + 12 + ], + [ + 139, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "139": { + "14": { + "name": "getBuffers", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 139, + 14 + ], + [ + 143, + 1 + ] + ], + "doc": " Private: Retrieves all the {TextBuffer}s in the project; that is, the\nbuffers for all open files.\n\nReturns an {Array} of {TextBuffer}s. " + } + }, + "143": { + "18": { + "name": "isPathModified", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 143, + 18 + ], + [ + 146, + 1 + ] + ], + "doc": "Private: Is the buffer for the given path modified? " + } + }, + "146": { + "21": { + "name": "findBufferForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 146, + 21 + ], + [ + 150, + 1 + ] + ], + "doc": "~Private~" + } + }, + "150": { + "21": { + "name": "bufferForPathSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 150, + 21 + ], + [ + 163, + 1 + ] + ], + "doc": "Private: Only to be used in specs " + } + }, + "163": { + "17": { + "name": "bufferForPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "filePath" + ], + "range": [ + [ + 163, + 17 + ], + [ + 168, + 1 + ] + ], + "doc": " Private: Given a file path, this retrieves or creates a new {TextBuffer}.\n\nIf the `filePath` already has a `buffer`, that value is used instead. Otherwise,\n`text` is used as the contents of the new buffer.\n\nfilePath - A {String} representing a path. If `null`, an \"Untitled\" buffer is created.\n\nReturns a promise that resolves to the {TextBuffer}. " + } + }, + "168": { + "15": { + "name": "bufferForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id" + ], + "range": [ + [ + 168, + 15 + ], + [ + 172, + 1 + ] + ], + "doc": "~Private~" + } + }, + "172": { + "19": { + "name": "buildBufferSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "absoluteFilePath" + ], + "range": [ + [ + 172, + 19 + ], + [ + 184, + 1 + ] + ], + "doc": "Private: Still needed when deserializing a tokenized buffer " + } + }, + "184": { + "15": { + "name": "buildBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "absoluteFilePath" + ], + "range": [ + [ + 184, + 15 + ], + [ + 194, + 1 + ] + ], + "doc": " Private: Given a file path, this sets its {TextBuffer}.\n\nabsoluteFilePath - A {String} representing a path.\ntext - The {String} text to use as a buffer.\n\nReturns a promise that resolves to the {TextBuffer}. " + } + }, + "194": { + "13": { + "name": "addBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "options" + ], + "range": [ + [ + 194, + 13 + ], + [ + 198, + 1 + ] + ], + "doc": "~Private~" + } + }, + "198": { + "20": { + "name": "addBufferAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "index", + "options" + ], + "range": [ + [ + 198, + 20 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "16": { + "name": "removeBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer" + ], + "range": [ + [ + 207, + 16 + ], + [ + 211, + 1 + ] + ], + "doc": " Private: Removes a {TextBuffer} association from the project.\n\nReturns the removed {TextBuffer}. " + } + }, + "211": { + "23": { + "name": "removeBufferAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index", + "options" + ], + "range": [ + [ + 211, + 23 + ], + [ + 221, + 1 + ] + ], + "doc": "~Private~" + } + }, + "221": { + "8": { + "name": "scan", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "options", + "iterator" + ], + "range": [ + [ + 221, + 8 + ], + [ + 268, + 1 + ] + ], + "doc": " Public: Performs a search across all the files in the project.\n\nregex - A {RegExp} to search with.\noptions - An optional options {Object} (default: {}):\n :paths - An {Array} of glob patterns to search within\niterator - A {Function} callback on each file found " + } + }, + "268": { + "11": { + "name": "replace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "regex", + "replacementText", + "filePaths", + "iterator" + ], + "range": [ + [ + 268, + 11 + ], + [ + 300, + 1 + ] + ], + "doc": " Public: Performs a replace across all the specified files in the project.\n\nregex - A {RegExp} to search with.\nreplacementText - Text to replace all matches of regex with\nfilePaths - List of file path strings to run the replace on.\niterator - A {Function} callback on each file with replacements:\n `({filePath, replacements}) ->`. " + } + }, + "300": { + "24": { + "name": "buildEditorForBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "buffer", + "editorOptions" + ], + "range": [ + [ + 300, + 24 + ], + [ + 304, + 1 + ] + ], + "doc": "~Private~" + } + }, + "304": { + "14": { + "name": "eachBuffer", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 304, + 14 + ], + [ + 315, + 1 + ] + ], + "doc": "~Private~" + } + }, + "315": { + "18": { + "name": "registerOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 315, + 18 + ], + [ + 320, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "320": { + "20": { + "name": "unregisterOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 320, + 20 + ], + [ + 325, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "325": { + "14": { + "name": "eachEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 325, + 14 + ], + [ + 330, + 1 + ] + ], + "doc": "Deprecated: delegate " + } + }, + "330": { + "14": { + "name": "getEditors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 330, + 14 + ], + [ + 332, + 31 + ] + ], + "doc": "Deprecated: delegate " + } + } + }, + "exports": 21 + }, + "./build/src/react-editor-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "module": "space-pen@3.2.0", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "module": "space-pen@3.2.0", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 1, + 8 + ], + [ + 1, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork@^0.11.1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 8 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "defaults", + "exportsProperty": "defaults" + } + }, + "3": { + "13": { + "name": "TextBuffer", + "type": "import", + "range": [ + [ + 3, + 13 + ], + [ + 3, + 33 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0" + } + }, + "4": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 4, + 9 + ], + [ + 4, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "5": { + "18": { + "name": "EditorComponent", + "type": "import", + "range": [ + [ + 5, + 18 + ], + [ + 5, + 45 + ] + ], + "bindingType": "variable", + "path": "./editor-component" + } + }, + "8": { + "0": { + "type": "class", + "name": "ReactEditorView", + "bindingType": "exports", + "classProperties": [ + [ + 9, + 12 + ] + ], + "prototypeProperties": [ + [ + 14, + 17 + ], + [ + 16, + 15 + ], + [ + 58, + 13 + ], + [ + 60, + 12 + ], + [ + 69, + 15 + ], + [ + 77, + 13 + ], + [ + 83, + 14 + ], + [ + 89, + 18 + ], + [ + 92, + 26 + ], + [ + 95, + 26 + ], + [ + 98, + 26 + ], + [ + 101, + 25 + ], + [ + 105, + 34 + ], + [ + 108, + 34 + ], + [ + 111, + 21 + ], + [ + 116, + 16 + ], + [ + 122, + 13 + ], + [ + 127, + 14 + ], + [ + 132, + 11 + ], + [ + 137, + 13 + ], + [ + 141, + 11 + ], + [ + 144, + 9 + ], + [ + 150, + 8 + ], + [ + 154, + 8 + ], + [ + 158, + 20 + ], + [ + 165, + 12 + ], + [ + 168, + 10 + ], + [ + 171, + 12 + ], + [ + 174, + 28 + ], + [ + 177, + 27 + ], + [ + 180, + 17 + ], + [ + 183, + 17 + ], + [ + 186, + 15 + ], + [ + 189, + 15 + ], + [ + 192, + 19 + ], + [ + 195, + 17 + ], + [ + 198, + 22 + ], + [ + 201, + 15 + ], + [ + 204, + 21 + ], + [ + 207, + 18 + ], + [ + 210, + 18 + ], + [ + 213, + 11 + ], + [ + 216, + 11 + ], + [ + 219, + 14 + ], + [ + 222, + 18 + ], + [ + 225, + 19 + ], + [ + 228, + 24 + ], + [ + 230, + 17 + ], + [ + 232, + 16 + ], + [ + 234, + 10 + ], + [ + 236, + 22 + ], + [ + 242, + 27 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 243, + 49 + ] + ] + } + }, + "9": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 9, + 12 + ], + [ + 14, + 1 + ] + ] + } + }, + "14": { + "17": { + "name": "focusOnAttach", + "type": "primitive", + "range": [ + [ + 14, + 17 + ], + [ + 14, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editorOrParams", + "props" + ], + "range": [ + [ + 16, + 15 + ], + [ + 58, + 1 + ] + ], + "doc": "~Private~" + } + }, + "58": { + "13": { + "name": "getEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 58, + 13 + ], + [ + 58, + 22 + ] + ], + "doc": "~Private~" + } + }, + "69": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 69, + 15 + ], + [ + 77, + 1 + ] + ], + "doc": "~Private~" + } + }, + "77": { + "13": { + "name": "scrollTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollTop" + ], + "range": [ + [ + 77, + 13 + ], + [ + 83, + 1 + ] + ], + "doc": "~Private~" + } + }, + "83": { + "14": { + "name": "scrollLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scrollLeft" + ], + "range": [ + [ + 83, + 14 + ], + [ + 89, + 1 + ] + ], + "doc": "~Private~" + } + }, + "89": { + "18": { + "name": "scrollToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 89, + 18 + ], + [ + 92, + 1 + ] + ], + "doc": "~Private~" + } + }, + "92": { + "26": { + "name": "scrollToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition", + "options" + ], + "range": [ + [ + 92, + 26 + ], + [ + 95, + 1 + ] + ], + "doc": "~Private~" + } + }, + "95": { + "26": { + "name": "scrollToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition", + "options" + ], + "range": [ + [ + 95, + 26 + ], + [ + 98, + 1 + ] + ], + "doc": "~Private~" + } + }, + "98": { + "26": { + "name": "scrollToCursorPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 26 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "scrollToPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "pixelPosition" + ], + "range": [ + [ + 101, + 25 + ], + [ + 105, + 1 + ] + ], + "doc": "~Private~" + } + }, + "105": { + "34": { + "name": "pixelPositionForBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferPosition" + ], + "range": [ + [ + 105, + 34 + ], + [ + 108, + 1 + ] + ], + "doc": "~Private~" + } + }, + "108": { + "34": { + "name": "pixelPositionForScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenPosition" + ], + "range": [ + [ + 108, + 34 + ], + [ + 111, + 1 + ] + ], + "doc": "~Private~" + } + }, + "111": { + "21": { + "name": "appendToLinesView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 111, + 21 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 16 + ], + [ + 122, + 1 + ] + ], + "doc": "~Private~" + } + }, + "122": { + "13": { + "name": "splitLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 122, + 13 + ], + [ + 127, + 1 + ] + ], + "doc": "Public: Split the editor view left. " + } + }, + "127": { + "14": { + "name": "splitRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 127, + 14 + ], + [ + 132, + 1 + ] + ], + "doc": "Public: Split the editor view right. " + } + }, + "132": { + "11": { + "name": "splitUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 132, + 11 + ], + [ + 137, + 1 + ] + ], + "doc": "Public: Split the editor view up. " + } + }, + "137": { + "13": { + "name": "splitDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 13 + ], + [ + 141, + 1 + ] + ], + "doc": "Public: Split the editor view down. " + } + }, + "141": { + "11": { + "name": "getPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 141, + 11 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "9": { + "name": "focus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 144, + 9 + ], + [ + 150, + 1 + ] + ], + "doc": "~Private~" + } + }, + "150": { + "8": { + "name": "hide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 150, + 8 + ], + [ + 154, + 1 + ] + ], + "doc": "~Private~" + } + }, + "154": { + "8": { + "name": "show", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 8 + ], + [ + 158, + 1 + ] + ], + "doc": "~Private~" + } + }, + "158": { + "20": { + "name": "pollComponentDOM", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 158, + 20 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "12": { + "name": "pageDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 12 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "10": { + "name": "pageUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 10 + ], + [ + 171, + 1 + ] + ], + "doc": "~Private~" + } + }, + "171": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 12 + ], + [ + 174, + 1 + ] + ], + "doc": "~Private~" + } + }, + "174": { + "28": { + "name": "getFirstVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 174, + 28 + ], + [ + 177, + 1 + ] + ], + "doc": "~Private~" + } + }, + "177": { + "27": { + "name": "getLastVisibleScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 177, + 27 + ], + [ + 180, + 1 + ] + ], + "doc": "~Private~" + } + }, + "180": { + "17": { + "name": "getFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 180, + 17 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "17": { + "name": "setFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 183, + 17 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "15": { + "name": "getFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 186, + 15 + ], + [ + 189, + 1 + ] + ], + "doc": "~Private~" + } + }, + "189": { + "15": { + "name": "setFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 189, + 15 + ], + [ + 192, + 1 + ] + ], + "doc": "~Private~" + } + }, + "192": { + "19": { + "name": "setWidthInChars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "widthInChars" + ], + "range": [ + [ + 192, + 19 + ], + [ + 195, + 1 + ] + ], + "doc": "~Private~" + } + }, + "195": { + "17": { + "name": "setLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 195, + 17 + ], + [ + 198, + 1 + ] + ], + "doc": "~Private~" + } + }, + "198": { + "22": { + "name": "setShowIndentGuide", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showIndentGuide" + ], + "range": [ + [ + 198, + 22 + ], + [ + 201, + 1 + ] + ], + "doc": "~Private~" + } + }, + "201": { + "15": { + "name": "setSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "softWrap" + ], + "range": [ + [ + 201, + 15 + ], + [ + 204, + 1 + ] + ], + "doc": "~Private~" + } + }, + "204": { + "21": { + "name": "setShowInvisibles", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "showInvisibles" + ], + "range": [ + [ + 204, + 21 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "18": { + "name": "toggleSoftWrap", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 207, + 18 + ], + [ + 210, + 1 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "18": { + "name": "toggleSoftTabs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 18 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 11 + ], + [ + 216, + 1 + ] + ], + "doc": "~Private~" + } + }, + "216": { + "11": { + "name": "setText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 216, + 11 + ], + [ + 219, + 1 + ] + ], + "doc": "~Private~" + } + }, + "219": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text" + ], + "range": [ + [ + 219, + 14 + ], + [ + 222, + 1 + ] + ], + "doc": "~Private~" + } + }, + "222": { + "18": { + "name": "isInputEnabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 222, + 18 + ], + [ + 225, + 1 + ] + ], + "doc": "~Private~" + } + }, + "225": { + "19": { + "name": "setInputEnabled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "inputEnabled" + ], + "range": [ + [ + 225, + 19 + ], + [ + 228, + 1 + ] + ], + "doc": "~Private~" + } + }, + "228": { + "24": { + "name": "requestDisplayUpdate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 228, + 24 + ], + [ + 228, + 25 + ] + ], + "doc": "~Private~" + } + }, + "230": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 230, + 17 + ], + [ + 230, + 18 + ] + ], + "doc": "~Private~" + } + }, + "232": { + "16": { + "name": "resetDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 232, + 16 + ], + [ + 232, + 17 + ] + ], + "doc": "~Private~" + } + }, + "234": { + "10": { + "name": "redraw", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 10 + ], + [ + 234, + 11 + ] + ], + "doc": "~Private~" + } + }, + "236": { + "22": { + "name": "setPlaceholderText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "placeholderText" + ], + "range": [ + [ + 236, + 22 + ], + [ + 242, + 1 + ] + ], + "doc": "~Private~" + } + }, + "242": { + "27": { + "name": "lineElementForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 242, + 27 + ], + [ + 243, + 49 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "./build/src/replace-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "scandal@1.0.0", + "name": "PathReplacer", + "exportsProperty": "PathReplacer" + } + } + }, + "exports": 2 + }, + "./build/src/repository-status-handler.coffee": { + "objects": { + "0": { + "6": { + "name": "Git", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 24 + ] + ], + "bindingType": "variable", + "module": "git-utils@^2.1.3" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + } + }, + "exports": 3 + }, + "./build/src/row-map.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 15 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "spliceWithArray", + "exportsProperty": "spliceWithArray" + } + }, + "16": { + "0": { + "type": "class", + "name": "RowMap", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 15 + ], + [ + 21, + 14 + ], + [ + 27, + 30 + ], + [ + 40, + 30 + ], + [ + 50, + 30 + ], + [ + 61, + 17 + ], + [ + 83, + 23 + ], + [ + 93, + 23 + ], + [ + 103, + 35 + ], + [ + 116, + 11 + ] + ], + "doc": " Private: Used by the display buffer to map screen rows to buffer rows and vice-versa.\nThis mapping may not be 1:1 due to folds and soft-wraps. This object maintains\nan array of regions, which contain `bufferRows` and `screenRows` fields.\n\nRectangular Regions:\nIf a region has the same number of buffer rows and screen rows, it is referred\nto as \"rectangular\", and represents one or more non-soft-wrapped, non-folded\nlines.\n\nTrapezoidal Regions:\nIf a region has one buffer row and more than one screen row, it represents a\nsoft-wrapped line. If a region has one screen row and more than one buffer\nrow, it represents folded lines ", + "range": [ + [ + 16, + 0 + ], + [ + 118, + 35 + ] + ] + } + }, + "17": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 15 + ], + [ + 21, + 1 + ] + ] + } + }, + "21": { + "14": { + "name": "getRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 21, + 14 + ], + [ + 27, + 1 + ] + ], + "doc": "Public: Returns a copy of all the regions in the map " + } + }, + "27": { + "30": { + "name": "screenRowRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 27, + 30 + ], + [ + 40, + 1 + ] + ], + "doc": " Public: Returns an end-row-exclusive range of screen rows corresponding to\nthe given buffer row. If the buffer row is soft-wrapped, the range may span\nmultiple screen rows. Otherwise it will span a single screen row. " + } + }, + "40": { + "30": { + "name": "bufferRowRangeForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetScreenRow" + ], + "range": [ + [ + 40, + 30 + ], + [ + 50, + 1 + ] + ], + "doc": " Public: Returns an end-row-exclusive range of buffer rows corresponding to\nthe given screen row. If the screen row is the first line of a folded range\nof buffer rows, the range may span multiple buffer rows. Otherwise it will\nspan a single buffer row. " + } + }, + "50": { + "30": { + "name": "bufferRowRangeForBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 50, + 30 + ], + [ + 61, + 1 + ] + ], + "doc": " Public: If the given buffer row is part of a folded row range, returns that\nrow range. Otherwise returns a range spanning only the given buffer row. " + } + }, + "61": { + "17": { + "name": "spliceRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferRow", + "bufferRowCount", + "regions" + ], + "range": [ + [ + 61, + 17 + ], + [ + 83, + 1 + ] + ], + "doc": " Public: Given a starting buffer row, the number of buffer rows to replace,\nand an array of regions of shape {bufferRows: n, screenRows: m}, splices\nthe regions at the appropriate location in the map. This method is used by\ndisplay buffer to keep the map updated when the underlying buffer changes. " + } + }, + "83": { + "23": { + "name": "traverseToBufferRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetBufferRow" + ], + "range": [ + [ + 83, + 23 + ], + [ + 93, + 1 + ] + ], + "doc": "~Private~" + } + }, + "93": { + "23": { + "name": "traverseToScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetScreenRow" + ], + "range": [ + [ + 93, + 23 + ], + [ + 103, + 1 + ] + ], + "doc": "~Private~" + } + }, + "103": { + "35": { + "name": "mergeAdjacentRectangularRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startIndex", + "endIndex" + ], + "range": [ + [ + 103, + 35 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "11": { + "name": "inspect", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 11 + ], + [ + 118, + 35 + ] + ], + "doc": "Public: Returns an array of strings describing the map's regions. " + } + } + }, + "exports": 16 + }, + "./build/src/scan-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "scandal@1.0.0", + "name": "PathSearcher", + "exportsProperty": "PathSearcher" + }, + "15": { + "type": "import", + "range": [ + [ + 0, + 15 + ], + [ + 0, + 25 + ] + ], + "bindingType": "variable", + "module": "scandal@1.0.0", + "name": "PathScanner", + "exportsProperty": "PathScanner" + }, + "28": { + "type": "import", + "range": [ + [ + 0, + 28 + ], + [ + 0, + 33 + ] + ], + "bindingType": "variable", + "module": "scandal@1.0.0", + "name": "search", + "exportsProperty": "search" + } + } + }, + "exports": 2 + }, + "./build/src/scoped-properties.coffee": { + "objects": { + "0": { + "7": { + "name": "CSON", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 22 + ] + ], + "bindingType": "variable", + "module": "season@^1.0.2" + } + }, + "3": { + "0": { + "type": "class", + "name": "ScopedProperties", + "bindingType": "exports", + "classProperties": [ + [ + 4, + 9 + ] + ], + "prototypeProperties": [ + [ + 11, + 15 + ], + [ + 13, + 12 + ], + [ + 17, + 14 + ] + ], + "doc": "~Private~", + "range": [ + [ + 3, + 0 + ], + [ + 18, + 39 + ] + ] + } + }, + "4": { + "9": { + "name": "load", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "scopedPropertiesPath", + "callback" + ], + "range": [ + [ + 4, + 9 + ], + [ + 11, + 1 + ] + ] + } + }, + "11": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null, + null + ], + "range": [ + [ + 11, + 15 + ], + [ + 11, + 43 + ] + ], + "doc": "~Private~" + } + }, + "13": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 13, + 12 + ], + [ + 17, + 1 + ] + ], + "doc": "~Private~" + } + }, + "17": { + "14": { + "name": "deactivate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 17, + 14 + ], + [ + 18, + 39 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 3 + }, + "./build/src/scroll-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "21": { + "0": { + "type": "class", + "name": "ScrollView", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 22, + 14 + ] + ], + "doc": " Public: Represents a view that scrolls.\n\nSubclasses must call `super` if overriding the `initialize` method or else\nthe following events won't be handled by the ScrollView.\n\n## Events\n * `core:move-up`\n * `core:move-down`\n * `core:page-up`\n * `core:page-down`\n * `core:move-to-top`\n * `core:move-to-bottom`\n\n## Requiring in packages\n\n```coffee\n {ScrollView} = require 'atom'\n``` ", + "range": [ + [ + 21, + 0 + ], + [ + 28, + 51 + ] + ] + } + }, + "22": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 22, + 14 + ], + [ + 28, + 51 + ] + ] + } + } + }, + "exports": 21 + }, + "./build/src/scrollbar-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork@^0.11.1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork@^1.0.0", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 6 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "extend", + "exportsProperty": "extend" + }, + "9": { + "type": "import", + "range": [ + [ + 2, + 9 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "21": { + "name": "ScrollbarComponent", + "type": "function", + "range": [ + [ + 5, + 21 + ], + [ + 69, + 28 + ] + ] + } + }, + "6": { + "15": { + "name": "'ScrollbarComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 34 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 30, + 1 + ] + ], + "doc": null + } + }, + "30": { + "21": { + "name": "componentDidMount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 30, + 21 + ], + [ + 36, + 1 + ] + ], + "doc": null + } + }, + "36": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 36, + 25 + ], + [ + 45, + 1 + ] + ], + "doc": null + } + }, + "45": { + "22": { + "name": "componentDidUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 22 + ], + [ + 57, + 1 + ] + ], + "doc": null + } + }, + "57": { + "12": { + "name": "onScroll", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 12 + ], + [ + 69, + 28 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "./build/src/scrollbar-corner-component.coffee": { + "objects": { + "0": { + "8": { + "name": "React", + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 32 + ] + ], + "bindingType": "variable", + "module": "react-atom-fork@^0.11.1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 3 + ] + ], + "bindingType": "variable", + "module": "reactionary-atom-fork@^1.0.0", + "name": "div", + "exportsProperty": "div" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 20 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "isEqualForProperties", + "exportsProperty": "isEqualForProperties" + } + }, + "5": { + "27": { + "name": "ScrollbarCornerComponent", + "type": "function", + "range": [ + [ + 5, + 27 + ], + [ + 23, + 99 + ] + ] + } + }, + "6": { + "15": { + "name": "'ScrollbarCornerComponent'", + "type": "primitive", + "range": [ + [ + 6, + 15 + ], + [ + 6, + 40 + ] + ] + } + }, + "8": { + "10": { + "name": "render", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 8, + 10 + ], + [ + 22, + 1 + ] + ], + "doc": null + } + }, + "22": { + "25": { + "name": "shouldComponentUpdate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "newProps" + ], + "range": [ + [ + 22, + 25 + ], + [ + 23, + 99 + ] + ], + "doc": null + } + } + }, + "exports": 5 + }, + "./build/src/select-list-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 7 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "4": { + "15": { + "name": "EditorView", + "type": "import", + "range": [ + [ + 4, + 15 + ], + [ + 4, + 37 + ] + ], + "bindingType": "variable", + "path": "./editor-view" + } + }, + "5": { + "14": { + "type": "primitive", + "range": [ + [ + 5, + 14 + ], + [ + 5, + 41 + ] + ] + } + }, + "36": { + "0": { + "type": "class", + "name": "SelectListView", + "bindingType": "exports", + "classProperties": [ + [ + 37, + 12 + ] + ], + "prototypeProperties": [ + [ + 46, + 12 + ], + [ + 47, + 19 + ], + [ + 48, + 17 + ], + [ + 49, + 14 + ], + [ + 55, + 14 + ], + [ + 90, + 24 + ], + [ + 102, + 12 + ], + [ + 109, + 12 + ], + [ + 119, + 14 + ], + [ + 136, + 18 + ], + [ + 143, + 16 + ], + [ + 174, + 19 + ], + [ + 179, + 15 + ], + [ + 181, + 26 + ], + [ + 186, + 22 + ], + [ + 191, + 18 + ], + [ + 197, + 20 + ], + [ + 207, + 23 + ], + [ + 213, + 19 + ], + [ + 216, + 20 + ], + [ + 233, + 15 + ], + [ + 244, + 13 + ], + [ + 258, + 16 + ], + [ + 261, + 21 + ], + [ + 266, + 23 + ], + [ + 269, + 16 + ], + [ + 275, + 13 + ], + [ + 283, + 10 + ] + ], + "doc": " Public: Provides a view that renders a list of items with an editor that\nfilters the items. Used by many packages such as the fuzzy-finder,\ncommand-palette, symbols-view and autocomplete.\n\nSubclasses must implement the following methods:\n\n* {::viewForItem}\n* {::confirmed}\n\n## Requiring in packages\n\n```coffee\n{SelectListView} = require 'atom'\n\nclass MySelectListView extends SelectListView\n initialize: ->\n super\n @addClass('overlay from-top')\n @setItems(['Hello', 'World'])\n atom.workspaceView.append(this)\n @focusFilterEditor()\n\n viewForItem: (item) ->\n \"
  • #{item}
  • \"\n\n confirmed: (item) ->\n console.log(\"#{item} was selected\")\n``` ", + "range": [ + [ + 36, + 0 + ], + [ + 291, + 34 + ] + ] + } + }, + "37": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 37, + 12 + ], + [ + 46, + 1 + ] + ] + } + }, + "46": { + "12": { + "name": "maxItems", + "type": "primitive", + "range": [ + [ + 46, + 12 + ], + [ + 46, + 19 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "47": { + "19": { + "name": "scheduleTimeout", + "type": "primitive", + "range": [ + [ + 47, + 19 + ], + [ + 47, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "48": { + "17": { + "name": "inputThrottle", + "type": "primitive", + "range": [ + [ + 48, + 17 + ], + [ + 48, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "49": { + "14": { + "name": "cancelling", + "type": "primitive", + "range": [ + [ + 49, + 14 + ], + [ + 49, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "55": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 14 + ], + [ + 90, + 1 + ] + ], + "doc": " Public: Initialize the select list view.\n\nThis method can be overridden by subclasses but `super` should always\nbe called. " + } + }, + "90": { + "24": { + "name": "schedulePopulateList", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 90, + 24 + ], + [ + 102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "102": { + "12": { + "name": "setItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 102, + 12 + ], + [ + 109, + 1 + ] + ], + "doc": " Public: Set the array of items to display in the list.\n\nThis should be model items not actual views. {::viewForItem} will be\ncalled to render the item when it is being appended to the list view.\n\nitems - The {Array} of model items to display in the list (default: []). " + } + }, + "109": { + "12": { + "name": "setError", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 109, + 12 + ], + [ + 119, + 1 + ] + ], + "doc": " Public: Set the error message to display.\n\nmessage - The {String} error message (default: ''). " + } + }, + "119": { + "14": { + "name": "setLoading", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 119, + 14 + ], + [ + 136, + 1 + ] + ], + "doc": " Public: Set the loading message to display.\n\nmessage - The {String} loading message (default: ''). " + } + }, + "136": { + "18": { + "name": "getFilterQuery", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 136, + 18 + ], + [ + 143, + 1 + ] + ], + "doc": " Public: Get the filter query to use when fuzzy filtering the visible\nelements.\n\nBy default this method returns the text in the mini editor but it can be\noverridden by subclasses if needed.\n\nReturns a {String} to use when fuzzy filtering the elements to display. " + } + }, + "143": { + "16": { + "name": "populateList", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 143, + 16 + ], + [ + 174, + 1 + ] + ], + "doc": " Public: Populate the list view with the model items previously set by\ncalling {::setItems}.\n\nSubclasses may override this method but should always call `super`. " + } + }, + "174": { + "19": { + "name": "getEmptyMessage", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "itemCount", + "filteredItemCount" + ], + "range": [ + [ + 174, + 19 + ], + [ + 174, + 70 + ] + ], + "doc": " Public: Get the message to display when there are no items.\n\nSubclasses may override this method to customize the message.\n\nitemCount - The {Number} of items in the array specified to {::setItems}\nfilteredItemCount - The {Number} of items that pass the fuzzy filter test.\n\nReturns a {String} message (default: 'No matches found'). " + } + }, + "179": { + "15": { + "name": "setMaxItems", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 179, + 15 + ], + [ + 179, + 28 + ] + ], + "doc": " Public: Set the maximum numbers of items to display in the list.\n\nmaxItems - The maximum {Number} of items to display. " + } + }, + "181": { + "26": { + "name": "selectPreviousItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 181, + 26 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "22": { + "name": "selectNextItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 186, + 22 + ], + [ + 191, + 1 + ] + ], + "doc": "~Private~" + } + }, + "191": { + "18": { + "name": "selectItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 191, + 18 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "20": { + "name": "scrollToItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "view" + ], + "range": [ + [ + 197, + 20 + ], + [ + 207, + 1 + ] + ], + "doc": "~Private~" + } + }, + "207": { + "23": { + "name": "getSelectedItemView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 207, + 23 + ], + [ + 213, + 1 + ] + ], + "doc": "~Private~" + } + }, + "213": { + "19": { + "name": "getSelectedItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 19 + ], + [ + 216, + 1 + ] + ], + "doc": " Public: Get the model item that is currently selected in the list view.\n\nReturns a model item. " + } + }, + "216": { + "20": { + "name": "confirmSelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 216, + 20 + ], + [ + 233, + 1 + ] + ], + "doc": "~Private~" + } + }, + "233": { + "15": { + "name": "viewForItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 233, + 15 + ], + [ + 244, + 1 + ] + ], + "doc": " Public: Create a view for the given model item.\n\nThis method must be overridden by subclasses.\n\nThis is called when the item is about to appended to the list view.\n\nitem - The model item being rendered. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a String of HTML, DOM element, jQuery object, or View. " + } + }, + "244": { + "13": { + "name": "confirmed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 244, + 13 + ], + [ + 258, + 1 + ] + ], + "doc": " Public: Callback function for when an item is selected.\n\nThis method must be overridden by subclasses.\n\nitem - The selected model item. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a DOM element, jQuery object, or {View}. " + } + }, + "258": { + "16": { + "name": "getFilterKey", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 258, + 16 + ], + [ + 258, + 17 + ] + ], + "doc": " Public: Get the property name to use when filtering items.\n\nThis method may be overridden by classes to allow fuzzy filtering based\non a specific property of the item objects.\n\nFor example if the objects you pass to {::setItems} are of the type\n`{\"id\": 3, \"name\": \"Atom\"}` then you would return `\"name\"` from this method\nto fuzzy filter by that property when text is entered into this view's\neditor.\n\nReturns the property name to fuzzy filter by. " + } + }, + "261": { + "21": { + "name": "focusFilterEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 261, + 21 + ], + [ + 266, + 1 + ] + ], + "doc": "Public: Focus the fuzzy filter editor view. " + } + }, + "266": { + "23": { + "name": "storeFocusedElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 266, + 23 + ], + [ + 269, + 1 + ] + ], + "doc": " Public: Store the currently focused element. This element will be given\nback focus when {::cancel} is called. " + } + }, + "269": { + "16": { + "name": "restoreFocus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 16 + ], + [ + 275, + 1 + ] + ], + "doc": "~Private~" + } + }, + "275": { + "13": { + "name": "cancelled", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 275, + 13 + ], + [ + 283, + 1 + ] + ], + "doc": "~Private~" + } + }, + "283": { + "10": { + "name": "cancel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 283, + 10 + ], + [ + 291, + 34 + ] + ], + "doc": " Public: Cancel and close this select list view.\n\nThis restores focus to the previously focused element if\n{::storeFocusedElement} was called prior to this view being attached. " + } + } + }, + "exports": 36 + }, + "./build/src/selection-view.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 4 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + }, + "7": { + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 8 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + } + }, + "4": { + "0": { + "type": "class", + "name": "SelectionView", + "bindingType": "exports", + "classProperties": [ + [ + 6, + 12 + ] + ], + "prototypeProperties": [ + [ + 9, + 11 + ], + [ + 10, + 16 + ], + [ + 12, + 14 + ], + [ + 19, + 17 + ], + [ + 37, + 16 + ], + [ + 50, + 26 + ], + [ + 57, + 16 + ], + [ + 61, + 18 + ], + [ + 64, + 18 + ], + [ + 67, + 19 + ], + [ + 70, + 19 + ], + [ + 73, + 13 + ], + [ + 79, + 15 + ], + [ + 82, + 10 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 84, + 9 + ] + ] + } + }, + "6": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 6, + 12 + ], + [ + 9, + 1 + ] + ], + "doc": "~Private~" + } + }, + "9": { + "11": { + "name": "regions", + "type": "primitive", + "range": [ + [ + 9, + 11 + ], + [ + 9, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "16": { + "name": "needsRemoval", + "type": "primitive", + "range": [ + [ + 10, + 16 + ], + [ + 10, + 20 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 12, + 14 + ], + [ + 19, + 1 + ] + ], + "doc": "~Private~" + } + }, + "19": { + "17": { + "name": "updateDisplay", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 19, + 17 + ], + [ + 37, + 1 + ] + ], + "doc": "~Private~" + } + }, + "37": { + "16": { + "name": "appendRegion", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rows", + "start", + "end" + ], + "range": [ + [ + 37, + 16 + ], + [ + 50, + 1 + ] + ], + "doc": "~Private~" + } + }, + "50": { + "26": { + "name": "getCenterPixelPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 26 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "16": { + "name": "clearRegions", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 16 + ], + [ + 61, + 1 + ] + ], + "doc": "~Private~" + } + }, + "61": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 61, + 18 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 18 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "19": { + "name": "needsAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 67, + 19 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 70, + 19 + ], + [ + 73, + 1 + ] + ], + "doc": "~Private~" + } + }, + "73": { + "13": { + "name": "highlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 13 + ], + [ + 79, + 1 + ] + ], + "doc": "~Private~" + } + }, + "79": { + "15": { + "name": "unhighlight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 79, + 15 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "10": { + "name": "remove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 10 + ], + [ + 84, + 9 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "./build/src/selection.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 0, + 8 + ], + [ + 0, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Range", + "exportsProperty": "Range" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 4 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1", + "name": "pick", + "exportsProperty": "pick" + } + }, + "6": { + "0": { + "type": "class", + "name": "Selection", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 7, + 10 + ], + [ + 8, + 10 + ], + [ + 9, + 10 + ], + [ + 10, + 22 + ], + [ + 11, + 12 + ], + [ + 12, + 19 + ], + [ + 14, + 15 + ], + [ + 25, + 11 + ], + [ + 28, + 12 + ], + [ + 34, + 19 + ], + [ + 38, + 11 + ], + [ + 45, + 14 + ], + [ + 49, + 22 + ], + [ + 53, + 18 + ], + [ + 60, + 18 + ], + [ + 64, + 18 + ], + [ + 74, + 18 + ], + [ + 91, + 21 + ], + [ + 98, + 25 + ], + [ + 101, + 25 + ], + [ + 104, + 25 + ], + [ + 107, + 25 + ], + [ + 110, + 14 + ], + [ + 114, + 11 + ], + [ + 118, + 9 + ], + [ + 126, + 14 + ], + [ + 138, + 18 + ], + [ + 144, + 14 + ], + [ + 155, + 18 + ], + [ + 163, + 26 + ], + [ + 184, + 26 + ], + [ + 188, + 15 + ], + [ + 192, + 14 + ], + [ + 196, + 12 + ], + [ + 200, + 14 + ], + [ + 205, + 15 + ], + [ + 210, + 18 + ], + [ + 214, + 13 + ], + [ + 219, + 27 + ], + [ + 224, + 32 + ], + [ + 229, + 21 + ], + [ + 234, + 27 + ], + [ + 239, + 21 + ], + [ + 244, + 31 + ], + [ + 248, + 32 + ], + [ + 252, + 28 + ], + [ + 257, + 36 + ], + [ + 262, + 40 + ], + [ + 266, + 21 + ], + [ + 284, + 22 + ], + [ + 289, + 21 + ], + [ + 316, + 14 + ], + [ + 349, + 20 + ], + [ + 383, + 10 + ], + [ + 399, + 22 + ], + [ + 405, + 25 + ], + [ + 412, + 13 + ], + [ + 417, + 30 + ], + [ + 422, + 30 + ], + [ + 428, + 27 + ], + [ + 434, + 27 + ], + [ + 443, + 10 + ], + [ + 455, + 21 + ], + [ + 462, + 21 + ], + [ + 467, + 22 + ], + [ + 477, + 14 + ], + [ + 496, + 13 + ], + [ + 522, + 23 + ], + [ + 532, + 26 + ], + [ + 542, + 22 + ], + [ + 546, + 18 + ], + [ + 551, + 7 + ], + [ + 561, + 8 + ], + [ + 579, + 8 + ], + [ + 584, + 19 + ], + [ + 595, + 13 + ], + [ + 603, + 25 + ], + [ + 606, + 28 + ], + [ + 609, + 23 + ], + [ + 617, + 18 + ], + [ + 625, + 9 + ], + [ + 641, + 11 + ], + [ + 644, + 22 + ] + ], + "doc": "Public: Represents a selection in the {Editor}. ", + "range": [ + [ + 6, + 0 + ], + [ + 647, + 45 + ] + ] + } + }, + "7": { + "10": { + "name": "cursor", + "type": "primitive", + "range": [ + [ + 7, + 10 + ], + [ + 7, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "8": { + "10": { + "name": "marker", + "type": "primitive", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "9": { + "10": { + "name": "editor", + "type": "primitive", + "range": [ + [ + 9, + 10 + ], + [ + 9, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "10": { + "22": { + "name": "initialScreenRange", + "type": "primitive", + "range": [ + [ + 10, + 22 + ], + [ + 10, + 25 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "11": { + "12": { + "name": "wordwise", + "type": "primitive", + "range": [ + [ + 11, + 12 + ], + [ + 11, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "12": { + "19": { + "name": "needsAutoscroll", + "type": "primitive", + "range": [ + [ + 12, + 19 + ], + [ + 12, + 22 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 14, + 15 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "11": { + "name": "destroy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 11 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "12": { + "name": "finalize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 12 + ], + [ + 34, + 1 + ] + ], + "doc": "~Private~" + } + }, + "34": { + "19": { + "name": "clearAutoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 34, + 19 + ], + [ + 38, + 1 + ] + ], + "doc": "~Private~" + } + }, + "38": { + "11": { + "name": "isEmpty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 38, + 11 + ], + [ + 45, + 1 + ] + ], + "doc": "Public: Determines if the selection contains anything. " + } + }, + "45": { + "14": { + "name": "isReversed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 45, + 14 + ], + [ + 49, + 1 + ] + ], + "doc": " Public: Determines if the ending position of a marker is greater than the\nstarting position.\n\nThis can happen when, for example, you highlight text \"up\" in a {TextBuffer}. " + } + }, + "49": { + "22": { + "name": "isSingleScreenLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 49, + 22 + ], + [ + 53, + 1 + ] + ], + "doc": "Public: Returns whether the selection is a single line or not. " + } + }, + "53": { + "18": { + "name": "getScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 53, + 18 + ], + [ + 60, + 1 + ] + ], + "doc": "Public: Returns the screen {Range} for the selection. " + } + }, + "60": { + "18": { + "name": "setScreenRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRange", + "options" + ], + "range": [ + [ + 60, + 18 + ], + [ + 64, + 1 + ] + ], + "doc": " Public: Modifies the screen range for the selection.\n\nscreenRange - The new {Range} to use.\noptions - A hash of options matching those found in {::setBufferRange}. " + } + }, + "64": { + "18": { + "name": "getBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 18 + ], + [ + 74, + 1 + ] + ], + "doc": "Public: Returns the buffer {Range} for the selection. " + } + }, + "74": { + "18": { + "name": "setBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "options" + ], + "range": [ + [ + 74, + 18 + ], + [ + 91, + 1 + ] + ], + "doc": " Public: Modifies the buffer {Range} for the selection.\n\nscreenRange - The new {Range} to select.\noptions - An {Object} with the keys:\n :preserveFolds - if `true`, the fold settings are preserved after the\n selection moves.\n :autoscroll - if `true`, the {Editor} scrolls to the new selection. " + } + }, + "91": { + "21": { + "name": "getBufferRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 21 + ], + [ + 98, + 1 + ] + ], + "doc": " Public: Returns the starting and ending buffer rows the selection is\nhighlighting.\n\nReturns an {Array} of two {Number}s: the starting row, and the ending row. " + } + }, + "98": { + "25": { + "name": "getTailScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 98, + 25 + ], + [ + 101, + 1 + ] + ], + "doc": "~Private~" + } + }, + "101": { + "25": { + "name": "getTailBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 101, + 25 + ], + [ + 104, + 1 + ] + ], + "doc": "~Private~" + } + }, + "104": { + "25": { + "name": "getHeadScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 104, + 25 + ], + [ + 107, + 1 + ] + ], + "doc": "~Private~" + } + }, + "107": { + "25": { + "name": "getHeadBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 107, + 25 + ], + [ + 110, + 1 + ] + ], + "doc": "~Private~" + } + }, + "110": { + "14": { + "name": "autoscroll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 110, + 14 + ], + [ + 114, + 1 + ] + ], + "doc": "~Private~" + } + }, + "114": { + "11": { + "name": "getText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 114, + 11 + ], + [ + 118, + 1 + ] + ], + "doc": "Public: Returns the text in the selection. " + } + }, + "118": { + "9": { + "name": "clear", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 118, + 9 + ], + [ + 126, + 1 + ] + ], + "doc": "Public: Clears the selection, moving the marker to the head. " + } + }, + "126": { + "14": { + "name": "selectWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 126, + 14 + ], + [ + 138, + 1 + ] + ], + "doc": " Public: Modifies the selection to encompass the current word.\n\nReturns a {Range}. " + } + }, + "138": { + "18": { + "name": "expandOverWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 138, + 18 + ], + [ + 144, + 1 + ] + ], + "doc": " Public: Expands the newest selection to include the entire word on which\nthe cursors rests. " + } + }, + "144": { + "14": { + "name": "selectLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 144, + 14 + ], + [ + 155, + 1 + ] + ], + "doc": " Public: Selects an entire line in the buffer.\n\nrow - The line {Number} to select (default: the row of the cursor). " + } + }, + "155": { + "18": { + "name": "expandOverLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 155, + 18 + ], + [ + 163, + 1 + ] + ], + "doc": " Public: Expands the newest selection to include the entire line on which\nthe cursor currently rests.\n\nIt also includes the newline character. " + } + }, + "163": { + "26": { + "name": "selectToScreenPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 163, + 26 + ], + [ + 184, + 1 + ] + ], + "doc": " Public: Selects the text from the current cursor position to a given screen\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "184": { + "26": { + "name": "selectToBufferPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 184, + 26 + ], + [ + 188, + 1 + ] + ], + "doc": " Public: Selects the text from the current cursor position to a given buffer\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " + } + }, + "188": { + "15": { + "name": "selectRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 188, + 15 + ], + [ + 192, + 1 + ] + ], + "doc": "Public: Selects the text one position right of the cursor. " + } + }, + "192": { + "14": { + "name": "selectLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 192, + 14 + ], + [ + 196, + 1 + ] + ], + "doc": "Public: Selects the text one position left of the cursor. " + } + }, + "196": { + "12": { + "name": "selectUp", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 196, + 12 + ], + [ + 200, + 1 + ] + ], + "doc": "Public: Selects all the text one position above the cursor. " + } + }, + "200": { + "14": { + "name": "selectDown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "rowCount" + ], + "range": [ + [ + 200, + 14 + ], + [ + 205, + 1 + ] + ], + "doc": "Public: Selects all the text one position below the cursor. " + } + }, + "205": { + "15": { + "name": "selectToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 205, + 15 + ], + [ + 210, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the top of\nthe buffer. " + } + }, + "210": { + "18": { + "name": "selectToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 210, + 18 + ], + [ + 214, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the bottom\nof the buffer. " + } + }, + "214": { + "13": { + "name": "selectAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 214, + 13 + ], + [ + 219, + 1 + ] + ], + "doc": "Public: Selects all the text in the buffer. " + } + }, + "219": { + "27": { + "name": "selectToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 219, + 27 + ], + [ + 224, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the line. " + } + }, + "224": { + "32": { + "name": "selectToFirstCharacterOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 32 + ], + [ + 229, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the first\ncharacter of the line. " + } + }, + "229": { + "21": { + "name": "selectToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 229, + 21 + ], + [ + 234, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the end of\nthe line. " + } + }, + "234": { + "27": { + "name": "selectToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 234, + 27 + ], + [ + 239, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the word. " + } + }, + "239": { + "21": { + "name": "selectToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 239, + 21 + ], + [ + 244, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the end of\nthe word. " + } + }, + "244": { + "31": { + "name": "selectToBeginningOfNextWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 244, + 31 + ], + [ + 248, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next word. " + } + }, + "248": { + "32": { + "name": "selectToPreviousWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 248, + 32 + ], + [ + 252, + 1 + ] + ], + "doc": "Public: Selects text to the previous word boundary. " + } + }, + "252": { + "28": { + "name": "selectToNextWordBoundary", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 252, + 28 + ], + [ + 257, + 1 + ] + ], + "doc": "Public: Selects text to the next word boundary. " + } + }, + "257": { + "36": { + "name": "selectToBeginningOfNextParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 257, + 36 + ], + [ + 262, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next paragraph. " + } + }, + "262": { + "40": { + "name": "selectToBeginningOfPreviousParagraph", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 262, + 40 + ], + [ + 266, + 1 + ] + ], + "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the previous paragraph. " + } + }, + "266": { + "21": { + "name": "addSelectionBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 266, + 21 + ], + [ + 284, + 1 + ] + ], + "doc": "Public: Moves the selection down one row. " + } + }, + "284": { + "22": { + "name": "getGoalBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 22 + ], + [ + 289, + 1 + ] + ], + "doc": "FIXME: I have no idea what this does. " + } + }, + "289": { + "21": { + "name": "addSelectionAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 289, + 21 + ], + [ + 316, + 1 + ] + ], + "doc": "Public: Moves the selection up one row. " + } + }, + "316": { + "14": { + "name": "insertText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "options" + ], + "range": [ + [ + 316, + 14 + ], + [ + 349, + 1 + ] + ], + "doc": " Public: Replaces text at the current selection.\n\ntext - A {String} representing the text to add\noptions - An {Object} with keys:\n :select - if `true`, selects the newly added text.\n :autoIndent - if `true`, indents all inserted text appropriately.\n :autoIndentNewline - if `true`, indent newline appropriately.\n :autoDecreaseIndent - if `true`, decreases indent level appropriately\n (for example, when a closing bracket is inserted).\n :undo - if `skip`, skips the undo stack for this operation. " + } + }, + "349": { + "20": { + "name": "normalizeIndents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "text", + "indentBasis" + ], + "range": [ + [ + 349, + 20 + ], + [ + 383, + 1 + ] + ], + "doc": " Public: Indents the given text to the suggested level based on the grammar.\n\ntext - The {String} to indent within the selection.\nindentBasis - The beginning indent level. " + } + }, + "383": { + "10": { + "name": "indent", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 383, + 10 + ], + [ + 399, + 1 + ] + ], + "doc": " Private: Indent the current line(s).\n\nIf the selection is empty, indents the current line if the cursor precedes\nnon-whitespace characters, and otherwise inserts a tab. If the selection is\nnon empty, calls {::indentSelectedRows}.\n\noptions - A {Object} with the keys:\n :autoIndent - If `true`, the line is indented to an automatically-inferred\n level. Otherwise, {Editor::getTabText} is inserted. " + } + }, + "399": { + "22": { + "name": "indentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 399, + 22 + ], + [ + 405, + 1 + ] + ], + "doc": "Public: If the selection spans multiple rows, indent all of them. " + } + }, + "405": { + "25": { + "name": "setIndentationForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line", + "indentLevel" + ], + "range": [ + [ + 405, + 25 + ], + [ + 412, + 1 + ] + ], + "doc": "Public: ? " + } + }, + "412": { + "13": { + "name": "backspace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 412, + 13 + ], + [ + 417, + 1 + ] + ], + "doc": " Public: Removes the first character before the selection if the selection\nis empty otherwise it deletes the selection. " + } + }, + "417": { + "30": { + "name": "backspaceToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 417, + 30 + ], + [ + 422, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " + } + }, + "422": { + "30": { + "name": "backspaceToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 422, + 30 + ], + [ + 428, + 1 + ] + ], + "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " + } + }, + "428": { + "27": { + "name": "deleteToBeginningOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 428, + 27 + ], + [ + 434, + 1 + ] + ], + "doc": " Public: Removes from the start of the selection to the beginning of the\ncurrent word if the selection is empty otherwise it deletes the selection. " + } + }, + "434": { + "27": { + "name": "deleteToBeginningOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 434, + 27 + ], + [ + 443, + 1 + ] + ], + "doc": " Public: Removes from the beginning of the line which the selection begins on\nall the way through to the end of the selection. " + } + }, + "443": { + "10": { + "name": "delete", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 443, + 10 + ], + [ + 455, + 1 + ] + ] + } + }, + "455": { + "21": { + "name": "deleteToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 455, + 21 + ], + [ + 462, + 1 + ] + ], + "doc": " Public: If the selection is empty, removes all text from the cursor to the\nend of the line. If the cursor is already at the end of the line, it\nremoves the following newline. If the selection isn't empty, only deletes\nthe contents of the selection. " + } + }, + "462": { + "21": { + "name": "deleteToEndOfWord", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 462, + 21 + ], + [ + 467, + 1 + ] + ], + "doc": " Public: Removes the selection or all characters from the start of the\nselection to the end of the current word if nothing is selected. " + } + }, + "467": { + "22": { + "name": "deleteSelectedText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 467, + 22 + ], + [ + 477, + 1 + ] + ], + "doc": "Public: Removes only the selected text. " + } + }, + "477": { + "14": { + "name": "deleteLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 477, + 14 + ], + [ + 496, + 1 + ] + ], + "doc": " Public: Removes the line at the beginning of the selection if the selection\nis empty unless the selection spans multiple lines in which case all lines\nare removed. " + } + }, + "496": { + "13": { + "name": "joinLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 496, + 13 + ], + [ + 522, + 1 + ] + ], + "doc": " Public: Joins the current line with the one below it.\n\nIf there selection spans more than one line, all the lines are joined together. " + } + }, + "522": { + "23": { + "name": "outdentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 522, + 23 + ], + [ + 532, + 1 + ] + ], + "doc": "Public: Removes one level of indent from the currently selected rows. " + } + }, + "532": { + "26": { + "name": "autoIndentSelectedRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 532, + 26 + ], + [ + 542, + 1 + ] + ], + "doc": " Public: Sets the indentation level of all selected rows to values suggested\nby the relevant grammars. " + } + }, + "542": { + "22": { + "name": "toggleLineComments", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 542, + 22 + ], + [ + 546, + 1 + ] + ], + "doc": " Public: Wraps the selected lines in comments if they aren't currently part\nof a comment.\n\nRemoves the comment if they are currently wrapped in a comment.\n\nReturns an Array of the commented {Range}s. " + } + }, + "546": { + "18": { + "name": "cutToEndOfLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 546, + 18 + ], + [ + 551, + 1 + ] + ], + "doc": "Public: Cuts the selection until the end of the line. " + } + }, + "551": { + "7": { + "name": "cut", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 551, + 7 + ], + [ + 561, + 1 + ] + ], + "doc": "Public: Copies the selection to the clipboard and then deletes it. " + } + }, + "561": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "maintainClipboard" + ], + "range": [ + [ + 561, + 8 + ], + [ + 579, + 1 + ] + ], + "doc": " Public: Copies the current selection to the clipboard.\n\nIf the `maintainClipboard` is set to `true`, a specific metadata property\nis created to store each content copied to the clipboard. The clipboard\n`text` still contains the concatenation of the clipboard with the\ncurrent selection. " + } + }, + "579": { + "8": { + "name": "fold", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 579, + 8 + ], + [ + 584, + 1 + ] + ], + "doc": "Public: Creates a fold containing the current selection. " + } + }, + "584": { + "19": { + "name": "modifySelection", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fn" + ], + "range": [ + [ + 584, + 19 + ], + [ + 595, + 1 + ] + ], + "doc": "~Private~" + } + }, + "595": { + "13": { + "name": "plantTail", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 595, + 13 + ], + [ + 603, + 1 + ] + ], + "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " + } + }, + "603": { + "25": { + "name": "intersectsBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange" + ], + "range": [ + [ + 603, + 25 + ], + [ + 606, + 1 + ] + ], + "doc": " Public: Identifies if a selection intersects with a given buffer range.\n\nbufferRange - A {Range} to check against.\n\nReturns a Boolean. " + } + }, + "606": { + "28": { + "name": "intersectsScreenRowRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 606, + 28 + ], + [ + 609, + 1 + ] + ], + "doc": "~Private~" + } + }, + "609": { + "23": { + "name": "intersectsScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenRow" + ], + "range": [ + [ + 609, + 23 + ], + [ + 617, + 1 + ] + ], + "doc": "~Private~" + } + }, + "617": { + "18": { + "name": "intersectsWith", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection" + ], + "range": [ + [ + 617, + 18 + ], + [ + 625, + 1 + ] + ], + "doc": " Public: Identifies if a selection intersects with another selection.\n\notherSelection - A {Selection} to check against.\n\nReturns a Boolean. " + } + }, + "625": { + "9": { + "name": "merge", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection", + "options" + ], + "range": [ + [ + 625, + 9 + ], + [ + 641, + 1 + ] + ], + "doc": " Public: Combines the given selection into this selection and then destroys\nthe given selection.\n\notherSelection - A {Selection} to merge with.\noptions - A hash of options matching those found in {::setBufferRange}. " + } + }, + "641": { + "11": { + "name": "compare", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "otherSelection" + ], + "range": [ + [ + 641, + 11 + ], + [ + 644, + 1 + ] + ], + "doc": " Public: Compare this selection's buffer range to another selection's buffer\nrange.\n\nSee {Range::compare} for more details.\n\notherSelection - A {Selection} to compare against. " + } + }, + "644": { + "22": { + "name": "screenRangeChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 644, + 22 + ], + [ + 647, + 45 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 6 + }, + "./build/src/space-pen-extensions.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "11": { + "name": "spacePen", + "type": "import", + "range": [ + [ + 1, + 11 + ], + [ + 1, + 29 + ] + ], + "bindingType": "variable", + "module": "space-pen@3.2.0" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "6": { + "9": { + "name": "spacePen", + "type": "primitive", + "range": [ + [ + 6, + 9 + ], + [ + 6, + 16 + ] + ] + } + }, + "7": { + "20": { + "name": "jQuery", + "type": "primitive", + "range": [ + [ + 7, + 20 + ], + [ + 7, + 25 + ] + ] + } + }, + "8": { + "19": { + "name": "jQuery.cleanData", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "elements" + ], + "range": [ + [ + 8, + 19 + ], + [ + 11, + 0 + ] + ], + "doc": null + } + }, + "13": { + "2": { + "type": "primitive", + "range": [ + [ + 13, + 2 + ], + [ + 19, + 19 + ] + ] + } + }, + "14": { + "4": { + "type": "primitive", + "range": [ + [ + 14, + 4 + ], + [ + 15, + 12 + ] + ] + }, + "10": { + "name": "1000", + "type": "primitive", + "range": [ + [ + 14, + 10 + ], + [ + 14, + 13 + ] + ] + } + }, + "15": { + "10": { + "name": "100", + "type": "primitive", + "range": [ + [ + 15, + 10 + ], + [ + 15, + 12 + ] + ] + } + }, + "16": { + "13": { + "name": "'body'", + "type": "primitive", + "range": [ + [ + 16, + 13 + ], + [ + 16, + 18 + ] + ] + } + }, + "17": { + "8": { + "type": "primitive", + "range": [ + [ + 17, + 8 + ], + [ + 17, + 11 + ] + ] + } + }, + "18": { + "13": { + "name": "'auto top'", + "type": "primitive", + "range": [ + [ + 18, + 13 + ], + [ + 18, + 22 + ] + ] + } + }, + "19": { + "19": { + "name": "2", + "type": "primitive", + "range": [ + [ + 19, + 19 + ], + [ + 19, + 19 + ] + ] + } + }, + "21": { + "21": { + "name": "humanizeKeystrokes", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "keystroke" + ], + "range": [ + [ + 21, + 21 + ], + [ + 25, + 0 + ] + ], + "doc": "~Private~" + } + }, + "26": { + "15": { + "name": "getKeystroke", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "bindings" + ], + "range": [ + [ + 26, + 15 + ], + [ + 31, + 0 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "26": { + "name": "requireBootstrapTooltip", + "type": "function", + "range": [ + [ + 32, + 26 + ], + [ + 35, + 59 + ] + ] + } + }, + "36": { + "23": { + "name": "jQuery.fn.setTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "tooltipOptions", + null + ], + "range": [ + [ + 36, + 23 + ], + [ + 49, + 0 + ] + ], + "doc": null + } + }, + "50": { + "24": { + "name": "jQuery.fn.hideTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 50, + 24 + ], + [ + 55, + 0 + ] + ], + "doc": null + } + }, + "56": { + "27": { + "name": "jQuery.fn.destroyTooltip", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 56, + 27 + ], + [ + 61, + 38 + ] + ], + "doc": null + } + }, + "68": { + "36": { + "name": "getKeystroke", + "type": "primitive", + "range": [ + [ + 68, + 36 + ], + [ + 68, + 47 + ] + ] + } + }, + "69": { + "42": { + "name": "humanizeKeystrokes", + "type": "primitive", + "range": [ + [ + 69, + 42 + ], + [ + 69, + 59 + ] + ] + } + }, + "71": { + "49": { + "name": "get", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 71, + 49 + ], + [ + 71, + 55 + ] + ], + "doc": null + } + } + }, + "exports": 73 + }, + "./build/src/subscriber-mixin.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "1": { + "18": { + "type": "primitive", + "range": [ + [ + 1, + 18 + ], + [ + 1, + 55 + ] + ] + }, + "39": { + "name": "componentDidUnmount", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 1, + 39 + ], + [ + 1, + 55 + ] + ], + "doc": null + } + } + }, + "exports": 3 + }, + "./build/src/syntax.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 11 + ] + ], + "bindingType": "variable", + "module": "clear-cut@0.4.0", + "name": "specificity", + "exportsProperty": "specificity" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 15 + ] + ], + "bindingType": "variable", + "module": "first-mate@^2.0.1", + "name": "GrammarRegistry", + "exportsProperty": "GrammarRegistry" + }, + "18": { + "type": "import", + "range": [ + [ + 4, + 18 + ], + [ + 4, + 30 + ] + ], + "bindingType": "variable", + "module": "first-mate@^2.0.1", + "name": "ScopeSelector", + "exportsProperty": "ScopeSelector" + } + }, + "5": { + "22": { + "name": "ScopedPropertyStore", + "type": "import", + "range": [ + [ + 5, + 22 + ], + [ + 5, + 52 + ] + ], + "bindingType": "variable", + "module": "scoped-property-store@^0.9.0" + } + }, + "6": { + "20": { + "name": "PropertyAccessors", + "type": "import", + "range": [ + [ + 6, + 20 + ], + [ + 6, + 47 + ] + ], + "bindingType": "variable", + "module": "property-accessors@^1" + } + }, + "8": { + "1": { + "type": "import", + "range": [ + [ + 8, + 1 + ], + [ + 8, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 8, + 4 + ], + [ + 8, + 5 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + } + }, + "9": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 9, + 8 + ], + [ + 9, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "18": { + "0": { + "type": "class", + "name": "Syntax", + "bindingType": "exports", + "classProperties": [ + [ + 23, + 16 + ] + ], + "prototypeProperties": [ + [ + 28, + 15 + ], + [ + 32, + 13 + ], + [ + 35, + 15 + ], + [ + 42, + 17 + ], + [ + 49, + 20 + ], + [ + 52, + 19 + ], + [ + 67, + 15 + ], + [ + 75, + 22 + ], + [ + 84, + 32 + ] + ], + "doc": " Public: Syntax class holding the grammars used for tokenizing.\n\nAn instance of this class is always available as the `atom.syntax` global.\n\nThe Syntax class also contains properties for things such as the\nlanguage-specific comment regexes. ", + "range": [ + [ + 18, + 0 + ], + [ + 85, + 52 + ] + ] + } + }, + "23": { + "16": { + "name": "deserialize", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 23, + 16 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 28, + 15 + ], + [ + 32, + 1 + ] + ], + "doc": "~Private~" + } + }, + "32": { + "13": { + "name": "serialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 32, + 13 + ], + [ + 35, + 1 + ] + ], + "doc": "~Private~" + } + }, + "35": { + "15": { + "name": "createToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "scopes" + ], + "range": [ + [ + 35, + 15 + ], + [ + 35, + 59 + ] + ], + "doc": "~Private~" + } + }, + "42": { + "17": { + "name": "addProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args" + ], + "range": [ + [ + 42, + 17 + ], + [ + 49, + 1 + ] + ], + "doc": "~Private~" + } + }, + "49": { + "20": { + "name": "removeProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "name" + ], + "range": [ + [ + 49, + 20 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "19": { + "name": "clearProperties", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 52, + 19 + ], + [ + 67, + 1 + ] + ], + "doc": "~Private~" + } + }, + "67": { + "15": { + "name": "getProperty", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scope", + "keyPath" + ], + "range": [ + [ + 67, + 15 + ], + [ + 75, + 1 + ] + ], + "doc": " Public: Get a property for the given scope and key path.\n\n## Example\n```coffee\ncomment = atom.syntax.getProperty(['.source.ruby'], 'editor.commentStart')\nconsole.log(comment) # '# '\n```\n\nscope - An {Array} of {String} scopes.\nkeyPath - A {String} key path.\n\nReturns a {String} property value or undefined. " + } + }, + "75": { + "22": { + "name": "propertiesForScope", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scope", + "keyPath" + ], + "range": [ + [ + 75, + 22 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "32": { + "name": "cssSelectorFromScopeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeSelector" + ], + "range": [ + [ + 84, + 32 + ], + [ + 85, + 52 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 18 + }, + "./build/src/task-bootstrap.coffee": { + "objects": { + "0": { + "1": { + "type": "primitive", + "name": "userAgent", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "exportsProperty": "userAgent" + }, + "12": { + "type": "primitive", + "name": "taskPath", + "range": [ + [ + 0, + 12 + ], + [ + 0, + 19 + ] + ], + "exportsProperty": "taskPath" + } + }, + "3": { + "15": { + "name": "setupGlobals", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 3, + 15 + ], + [ + 28, + 0 + ] + ], + "doc": "~Private~" + } + }, + "29": { + "15": { + "name": "handleEvents", + "bindingType": "variable", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 15 + ], + [ + 42, + 0 + ] + ], + "doc": "~Private~" + } + }, + "45": { + "10": { + "name": "handler", + "type": "import", + "range": [ + [ + 45, + 10 + ], + [ + 45, + 26 + ] + ], + "bindingType": "variable", + "module": "askPat" + } + } + }, + "exports": {} + }, + "./build/src/task.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "16": { + "name": "child_process", + "type": "import", + "range": [ + [ + 1, + 16 + ], + [ + 1, + 38 + ] + ], + "bindingType": "variable", + "module": "child_process", + "builtin": true + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "21": { + "0": { + "type": "class", + "name": "Task", + "bindingType": "exports", + "classProperties": [ + [ + 29, + 9 + ] + ], + "prototypeProperties": [ + [ + 41, + 12 + ], + [ + 47, + 15 + ], + [ + 73, + 16 + ], + [ + 82, + 9 + ], + [ + 95, + 8 + ], + [ + 102, + 13 + ] + ], + "doc": " Public: Run a node script in a separate process.\n\nUsed by the fuzzy-finder.\n\n## Events\n\n* task:log - Emitted when console.log is called within the task.\n* task:warn - Emitted when console.warn is called within the task.\n* task:error - Emitted when console.error is called within the task.\n* task:completed - Emitted when the task has succeeded or failed.\n\n## Requiring in packages\n\n```coffee\n {Task} = require 'atom'\n``` ", + "range": [ + [ + 21, + 0 + ], + [ + 109, + 10 + ] + ] + } + }, + "29": { + "9": { + "name": "once", + "bindingType": "classProperty", + "type": "function", + "paramNames": [ + "taskPath", + "args" + ], + "range": [ + [ + 29, + 9 + ], + [ + 41, + 1 + ] + ], + "doc": " Public: A helper method to easily launch and run a task once.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file which\n exports a single {Function} to execute.\nargs - The arguments to pass to the exported function. " + } + }, + "41": { + "12": { + "name": "callback", + "type": "primitive", + "range": [ + [ + 41, + 12 + ], + [ + 41, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "47": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "taskPath" + ], + "range": [ + [ + 47, + 15 + ], + [ + 73, + 1 + ] + ], + "doc": " Public: Creates a task.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file that\n exports a single {Function} to execute. " + } + }, + "73": { + "16": { + "name": "handleEvents", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 73, + 16 + ], + [ + 82, + 1 + ] + ], + "doc": "Private: Routes messages from the child to the appropriate event. " + } + }, + "82": { + "9": { + "name": "start", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "args", + "callback" + ], + "range": [ + [ + 82, + 9 + ], + [ + 95, + 1 + ] + ], + "doc": " Public: Starts the task.\n\nargs - The arguments to pass to the function exported by this task's script.\ncallback - An optional {Function} to call when the task completes. " + } + }, + "95": { + "8": { + "name": "send", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "message" + ], + "range": [ + [ + 95, + 8 + ], + [ + 102, + 1 + ] + ], + "doc": " Public: Send message to the task.\n\nmessage - The message to send to the task. " + } + }, + "102": { + "13": { + "name": "terminate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 13 + ], + [ + 109, + 10 + ] + ], + "doc": " Public: Forcefully stop the running task.\n\nNo events are emitted. " + } + } + }, + "exports": 21 + }, + "./build/src/text-utils.coffee": { + "objects": { + "0": { + "18": { + "name": "isHighSurrogate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 0, + 18 + ], + [ + 2, + 0 + ] + ], + "doc": "~Private~" + } + }, + "3": { + "17": { + "name": "isLowSurrogate", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 3, + 17 + ], + [ + 11, + 21 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "18": { + "name": "isSurrogatePair", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string", + "index" + ], + "range": [ + [ + 12, + 18 + ], + [ + 22, + 21 + ] + ], + "doc": " Private: Is the character at the given index the start of a high/low surrogate pair?\n\nstring - The {String} to check for a surrogate pair.\nindex - The {Number} index to look for a surrogate pair at.\n\nReturn a {Boolean}. " + } + }, + "23": { + "20": { + "name": "getCharacterCount", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 23, + 20 + ], + [ + 32, + 22 + ] + ], + "doc": " Private: Get the number of characters in the string accounting for surrogate pairs.\n\nThis method counts high/low surrogate pairs as a single character and will\nalways returns a value less than or equal to `string.length`.\n\nstring - The {String} to count the number of full characters in.\n\nReturns a {Number}. " + } + }, + "33": { + "19": { + "name": "hasSurrogatePair", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 33, + 19 + ], + [ + 35, + 0 + ] + ], + "doc": " Private: Does the given string contain at least one surrogate pair?\n\nstring - The {String} to check for the presence of surrogate pairs.\n\nReturns a {Boolean}. " + } + } + }, + "exports": 36 + }, + "./build/src/theme-manager.coffee": { + "objects": { + "0": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 0, + 7 + ], + [ + 0, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 7 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Emitter", + "exportsProperty": "Emitter" + } + }, + "4": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 4, + 5 + ], + [ + 4, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "5": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 5, + 4 + ], + [ + 5, + 14 + ] + ], + "bindingType": "variable", + "module": "q@^1.0.1" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "8": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 8, + 10 + ], + [ + 8, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "9": { + "1": { + "type": "import", + "range": [ + [ + 9, + 1 + ], + [ + 9, + 4 + ] + ], + "bindingType": "variable", + "module": "pathwatcher@^2.0.6", + "name": "File", + "exportsProperty": "File" + } + }, + "15": { + "0": { + "type": "class", + "name": "ThemeManager", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 18, + 15 + ], + [ + 22, + 21 + ], + [ + 27, + 18 + ], + [ + 31, + 18 + ], + [ + 35, + 19 + ], + [ + 39, + 19 + ], + [ + 42, + 20 + ], + [ + 47, + 24 + ], + [ + 57, + 18 + ], + [ + 82, + 20 + ], + [ + 87, + 20 + ], + [ + 93, + 20 + ], + [ + 96, + 18 + ], + [ + 109, + 25 + ], + [ + 116, + 25 + ], + [ + 121, + 22 + ], + [ + 133, + 23 + ], + [ + 137, + 25 + ], + [ + 142, + 26 + ], + [ + 145, + 21 + ], + [ + 160, + 21 + ], + [ + 169, + 18 + ], + [ + 175, + 22 + ], + [ + 197, + 14 + ], + [ + 200, + 20 + ], + [ + 209, + 19 + ] + ], + "doc": " Public: Handles loading and activating available themes.\n\nAn instance of this class is always available as the `atom.themes` global. ", + "range": [ + [ + 15, + 0 + ], + [ + 222, + 31 + ] + ] + } + }, + "18": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 18, + 15 + ], + [ + 22, + 1 + ] + ], + "doc": "~Private~" + } + }, + "22": { + "21": { + "name": "getAvailableNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 22, + 21 + ], + [ + 27, + 1 + ] + ], + "doc": "~Private~" + } + }, + "27": { + "18": { + "name": "getLoadedNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 27, + 18 + ], + [ + 31, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded theme names. " + } + }, + "31": { + "18": { + "name": "getActiveNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 31, + 18 + ], + [ + 35, + 1 + ] + ], + "doc": "Public: Get an array of all the active theme names. " + } + }, + "35": { + "19": { + "name": "getActiveThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 35, + 19 + ], + [ + 39, + 1 + ] + ], + "doc": "Public: Get an array of all the active themes. " + } + }, + "39": { + "19": { + "name": "getLoadedThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 39, + 19 + ], + [ + 42, + 1 + ] + ], + "doc": "Public: Get an array of all the loaded themes. " + } + }, + "42": { + "20": { + "name": "activatePackages", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "themePackages" + ], + "range": [ + [ + 42, + 20 + ], + [ + 42, + 55 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "24": { + "name": "getEnabledThemeNames", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 47, + 24 + ], + [ + 57, + 1 + ] + ], + "doc": " Private: Get the enabled theme names from the config.\n\nReturns an array of theme names in the order that they should be activated. " + } + }, + "57": { + "18": { + "name": "activateThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 57, + 18 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "20": { + "name": "deactivateThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 82, + 20 + ], + [ + 87, + 1 + ] + ], + "doc": "~Private~" + } + }, + "87": { + "20": { + "name": "refreshLessCache", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 87, + 20 + ], + [ + 93, + 1 + ] + ], + "doc": "~Private~" + } + }, + "93": { + "20": { + "name": "setEnabledThemes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "enabledThemeNames" + ], + "range": [ + [ + 93, + 20 + ], + [ + 96, + 1 + ] + ], + "doc": " Public: Set the list of enabled themes.\n\nenabledThemeNames - An {Array} of {String} theme names. " + } + }, + "96": { + "18": { + "name": "getImportPaths", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 18 + ], + [ + 109, + 1 + ] + ], + "doc": "~Private~" + } + }, + "109": { + "25": { + "name": "getUserStylesheetPath", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 109, + 25 + ], + [ + 116, + 1 + ] + ], + "doc": "Public: Returns the {String} path to the user's stylesheet under ~/.atom " + } + }, + "116": { + "25": { + "name": "unwatchUserStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 25 + ], + [ + 121, + 1 + ] + ], + "doc": "~Private~" + } + }, + "121": { + "22": { + "name": "loadUserStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 121, + 22 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "23": { + "name": "loadBaseStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 23 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "25": { + "name": "reloadBaseStylesheets", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 25 + ], + [ + 142, + 1 + ] + ], + "doc": "~Private~" + } + }, + "142": { + "26": { + "name": "stylesheetElementForId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "id", + "htmlElement" + ], + "range": [ + [ + 142, + 26 + ], + [ + 145, + 1 + ] + ], + "doc": "~Private~" + } + }, + "145": { + "21": { + "name": "resolveStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 145, + 21 + ], + [ + 160, + 1 + ] + ], + "doc": "~Private~" + } + }, + "160": { + "21": { + "name": "requireStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "type", + "htmlElement" + ], + "range": [ + [ + 160, + 21 + ], + [ + 169, + 1 + ] + ], + "doc": " Public: Resolve and apply the stylesheet specified by the path.\n\nThis supports both CSS and LESS stylsheets.\n\nstylesheetPath - A {String} path to the stylesheet that can be an absolute\n path or a relative path that will be resolved against the\n load path.\n\nReturns the absolute path to the required stylesheet. " + } + }, + "169": { + "18": { + "name": "loadStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath", + "importFallbackVariables" + ], + "range": [ + [ + 169, + 18 + ], + [ + 175, + 1 + ] + ], + "doc": "~Private~" + } + }, + "175": { + "22": { + "name": "loadLessStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lessStylesheetPath", + "importFallbackVariables" + ], + "range": [ + [ + 175, + 22 + ], + [ + 197, + 1 + ] + ], + "doc": "~Private~" + } + }, + "197": { + "14": { + "name": "stringToId", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "string" + ], + "range": [ + [ + 197, + 14 + ], + [ + 200, + 1 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "20": { + "name": "removeStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "stylesheetPath" + ], + "range": [ + [ + 200, + 20 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "19": { + "name": "applyStylesheet", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "path", + "text", + "type", + "htmlElement" + ], + "range": [ + [ + 209, + 19 + ], + [ + 222, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 15 + }, + "./build/src/theme-package.coffee": { + "objects": { + "0": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 14 + ] + ], + "bindingType": "variable", + "module": "q@^1.0.1" + } + }, + "1": { + "10": { + "name": "Package", + "type": "import", + "range": [ + [ + 1, + 10 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "path": "./package" + } + }, + "4": { + "0": { + "type": "class", + "name": "ThemePackage", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 5, + 11 + ], + [ + 7, + 21 + ], + [ + 9, + 10 + ], + [ + 12, + 11 + ], + [ + 15, + 8 + ], + [ + 23, + 12 + ] + ], + "doc": "~Private~", + "range": [ + [ + 4, + 0 + ], + [ + 31, + 31 + ] + ] + } + }, + "5": { + "11": { + "name": "getType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 5, + 11 + ], + [ + 5, + 20 + ] + ] + } + }, + "7": { + "21": { + "name": "getStylesheetType", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 7, + 21 + ], + [ + 7, + 30 + ] + ], + "doc": "~Private~" + } + }, + "9": { + "10": { + "name": "enable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 9, + 10 + ], + [ + 12, + 1 + ] + ], + "doc": "~Private~" + } + }, + "12": { + "11": { + "name": "disable", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 12, + 11 + ], + [ + 15, + 1 + ] + ], + "doc": "~Private~" + } + }, + "15": { + "8": { + "name": "load", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 15, + 8 + ], + [ + 23, + 1 + ] + ], + "doc": "~Private~" + } + }, + "23": { + "12": { + "name": "activate", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 23, + 12 + ], + [ + 31, + 31 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 4 + }, + "./build/src/token.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "12": { + "name": "textUtils", + "type": "import", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 33 + ] + ], + "bindingType": "variable", + "path": "./text-utils" + } + }, + "3": { + "31": { + "type": "primitive", + "range": [ + [ + 3, + 31 + ], + [ + 3, + 32 + ] + ] + } + }, + "4": { + "20": { + "name": "/^[ ]+/", + "type": "primitive", + "range": [ + [ + 4, + 20 + ], + [ + 4, + 26 + ] + ] + } + }, + "5": { + "21": { + "name": "/[ ]+$/", + "type": "primitive", + "range": [ + [ + 5, + 21 + ], + [ + 5, + 27 + ] + ] + } + }, + "6": { + "14": { + "name": "/[&\"'<>]/g", + "type": "primitive", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 23 + ] + ] + } + }, + "7": { + "17": { + "name": "/./g", + "type": "primitive", + "range": [ + [ + 7, + 17 + ], + [ + 7, + 20 + ] + ] + } + }, + "8": { + "22": { + "name": "/^./", + "type": "primitive", + "range": [ + [ + 8, + 22 + ], + [ + 8, + 25 + ] + ] + } + }, + "9": { + "16": { + "name": "/^\\.?/", + "type": "primitive", + "range": [ + [ + 9, + 16 + ], + [ + 9, + 21 + ] + ] + } + }, + "10": { + "18": { + "name": "/\\S/", + "type": "primitive", + "range": [ + [ + 10, + 18 + ], + [ + 10, + 21 + ] + ] + } + }, + "12": { + "17": { + "name": "20000", + "type": "primitive", + "range": [ + [ + 12, + 17 + ], + [ + 12, + 21 + ] + ] + } + }, + "16": { + "0": { + "type": "class", + "name": "Token", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 17, + 9 + ], + [ + 18, + 20 + ], + [ + 19, + 10 + ], + [ + 20, + 12 + ], + [ + 21, + 13 + ], + [ + 22, + 24 + ], + [ + 23, + 25 + ], + [ + 25, + 15 + ], + [ + 30, + 11 + ], + [ + 33, + 13 + ], + [ + 36, + 11 + ], + [ + 41, + 31 + ], + [ + 44, + 24 + ], + [ + 86, + 26 + ], + [ + 106, + 27 + ], + [ + 113, + 21 + ], + [ + 116, + 21 + ], + [ + 119, + 17 + ], + [ + 129, + 20 + ], + [ + 132, + 24 + ], + [ + 138, + 18 + ], + [ + 185, + 16 + ], + [ + 194, + 23 + ] + ], + "doc": "Private: Represents a single unit of text as selected by a grammar. ", + "range": [ + [ + 16, + 0 + ], + [ + 201, + 16 + ] + ] + } + }, + "17": { + "9": { + "name": "value", + "type": "primitive", + "range": [ + [ + 17, + 9 + ], + [ + 17, + 12 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "20": { + "name": "hasSurrogatePair", + "type": "primitive", + "range": [ + [ + 18, + 20 + ], + [ + 18, + 24 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "10": { + "name": "scopes", + "type": "primitive", + "range": [ + [ + 19, + 10 + ], + [ + 19, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "20": { + "12": { + "name": "isAtomic", + "type": "primitive", + "range": [ + [ + 20, + 12 + ], + [ + 20, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "13": { + "name": "isHardTab", + "type": "primitive", + "range": [ + [ + 21, + 13 + ], + [ + 21, + 16 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "22": { + "24": { + "name": "hasLeadingWhitespace", + "type": "primitive", + "range": [ + [ + 22, + 24 + ], + [ + 22, + 28 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "23": { + "25": { + "name": "hasTrailingWhitespace", + "type": "primitive", + "range": [ + [ + 23, + 25 + ], + [ + 23, + 29 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "25": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 25, + 15 + ], + [ + 30, + 1 + ] + ], + "doc": "~Private~" + } + }, + "30": { + "11": { + "name": "isEqual", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "other" + ], + "range": [ + [ + 30, + 11 + ], + [ + 33, + 1 + ] + ], + "doc": "~Private~" + } + }, + "33": { + "13": { + "name": "isBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 33, + 13 + ], + [ + 36, + 1 + ] + ], + "doc": "~Private~" + } + }, + "36": { + "11": { + "name": "splitAt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "splitIndex" + ], + "range": [ + [ + 36, + 11 + ], + [ + 41, + 1 + ] + ], + "doc": "~Private~" + } + }, + "41": { + "31": { + "name": "whitespaceRegexForTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 41, + 31 + ], + [ + 44, + 1 + ] + ], + "doc": "~Private~" + } + }, + "44": { + "24": { + "name": "breakOutAtomicTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "breakOutLeadingSoftTabs", + "startColumn" + ], + "range": [ + [ + 44, + 24 + ], + [ + 86, + 1 + ] + ], + "doc": "~Private~" + } + }, + "86": { + "26": { + "name": "breakOutSurrogatePairs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 86, + 26 + ], + [ + 106, + 1 + ] + ], + "doc": "~Private~" + } + }, + "106": { + "27": { + "name": "buildSurrogatePairToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "value", + "index" + ], + "range": [ + [ + 106, + 27 + ], + [ + 113, + 1 + ] + ], + "doc": "~Private~" + } + }, + "113": { + "21": { + "name": "buildHardTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "column" + ], + "range": [ + [ + 113, + 21 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "21": { + "name": "buildSoftTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength" + ], + "range": [ + [ + 116, + 21 + ], + [ + 119, + 1 + ] + ], + "doc": "~Private~" + } + }, + "119": { + "17": { + "name": "buildTabToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "tabLength", + "isHardTab", + "column" + ], + "range": [ + [ + 119, + 17 + ], + [ + 129, + 1 + ] + ], + "doc": "~Private~" + } + }, + "129": { + "20": { + "name": "isOnlyWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 129, + 20 + ], + [ + 132, + 1 + ] + ], + "doc": "~Private~" + } + }, + "132": { + "24": { + "name": "matchesScopeSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 132, + 24 + ], + [ + 138, + 1 + ] + ], + "doc": "~Private~" + } + }, + "138": { + "18": { + "name": "getValueAsHtml", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 138, + 18 + ], + [ + 185, + 1 + ] + ], + "doc": "~Private~" + } + }, + "185": { + "16": { + "name": "escapeString", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "str", + "startIndex", + "endIndex" + ], + "range": [ + [ + 185, + 16 + ], + [ + 194, + 1 + ] + ], + "doc": "~Private~" + } + }, + "194": { + "23": { + "name": "escapeStringReplace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "match" + ], + "range": [ + [ + 194, + 23 + ], + [ + 201, + 16 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 16 + }, + "./build/src/tokenized-buffer.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "1": { + "1": { + "type": "import", + "range": [ + [ + 1, + 1 + ], + [ + 1, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Model", + "exportsProperty": "Model" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 5 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Point", + "exportsProperty": "Point" + }, + "8": { + "type": "import", + "range": [ + [ + 2, + 8 + ], + [ + 2, + 12 + ] + ], + "bindingType": "variable", + "module": "text-buffer@^3.0.0", + "name": "Range", + "exportsProperty": "Range" + } + }, + "3": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 3, + 15 + ], + [ + 3, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@^1" + } + }, + "4": { + "16": { + "name": "TokenizedLine", + "type": "import", + "range": [ + [ + 4, + 16 + ], + [ + 4, + 41 + ] + ], + "bindingType": "variable", + "path": "./tokenized-line" + } + }, + "5": { + "8": { + "name": "Token", + "type": "import", + "range": [ + [ + 5, + 8 + ], + [ + 5, + 24 + ] + ], + "bindingType": "variable", + "path": "./token" + } + }, + "8": { + "0": { + "type": "class", + "name": "TokenizedBuffer", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 13, + 11 + ], + [ + 14, + 23 + ], + [ + 15, + 10 + ], + [ + 16, + 18 + ], + [ + 17, + 13 + ], + [ + 18, + 15 + ], + [ + 19, + 11 + ], + [ + 21, + 15 + ], + [ + 48, + 19 + ], + [ + 52, + 21 + ], + [ + 56, + 14 + ], + [ + 64, + 17 + ], + [ + 70, + 23 + ], + [ + 76, + 23 + ], + [ + 82, + 14 + ], + [ + 88, + 16 + ], + [ + 94, + 16 + ], + [ + 96, + 24 + ], + [ + 103, + 21 + ], + [ + 133, + 19 + ], + [ + 136, + 15 + ], + [ + 139, + 17 + ], + [ + 144, + 21 + ], + [ + 153, + 22 + ], + [ + 173, + 48 + ], + [ + 183, + 30 + ], + [ + 200, + 41 + ], + [ + 203, + 39 + ], + [ + 210, + 37 + ], + [ + 220, + 20 + ], + [ + 225, + 22 + ], + [ + 228, + 15 + ], + [ + 231, + 21 + ], + [ + 257, + 22 + ], + [ + 266, + 21 + ], + [ + 269, + 20 + ], + [ + 273, + 33 + ], + [ + 278, + 33 + ], + [ + 299, + 30 + ], + [ + 314, + 39 + ], + [ + 329, + 22 + ], + [ + 344, + 22 + ], + [ + 362, + 14 + ], + [ + 365, + 16 + ], + [ + 368, + 12 + ] + ], + "doc": "~Private~", + "range": [ + [ + 8, + 0 + ], + [ + 371, + 40 + ] + ] + } + }, + "13": { + "11": { + "name": "grammar", + "type": "primitive", + "range": [ + [ + 13, + 11 + ], + [ + 13, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "14": { + "23": { + "name": "currentGrammarScore", + "type": "primitive", + "range": [ + [ + 14, + 23 + ], + [ + 14, + 26 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "15": { + "10": { + "name": "buffer", + "type": "primitive", + "range": [ + [ + 15, + 10 + ], + [ + 15, + 13 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "16": { + "18": { + "name": "tokenizedLines", + "type": "primitive", + "range": [ + [ + 16, + 18 + ], + [ + 16, + 21 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "17": { + "13": { + "name": "chunkSize", + "type": "primitive", + "range": [ + [ + 17, + 13 + ], + [ + 17, + 14 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "18": { + "15": { + "name": "invalidRows", + "type": "primitive", + "range": [ + [ + 18, + 15 + ], + [ + 18, + 18 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "19": { + "11": { + "name": "visible", + "type": "primitive", + "range": [ + [ + 19, + 11 + ], + [ + 19, + 15 + ] + ], + "bindingType": "prototypeProperty" + } + }, + "21": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 21, + 15 + ], + [ + 48, + 1 + ] + ], + "doc": "~Private~" + } + }, + "48": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 48, + 19 + ], + [ + 52, + 1 + ] + ], + "doc": "~Private~" + } + }, + "52": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 52, + 21 + ], + [ + 56, + 1 + ] + ], + "doc": "~Private~" + } + }, + "56": { + "14": { + "name": "setGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "grammar", + "score" + ], + "range": [ + [ + 56, + 14 + ], + [ + 64, + 1 + ] + ], + "doc": "~Private~" + } + }, + "64": { + "17": { + "name": "reloadGrammar", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 64, + 17 + ], + [ + 70, + 1 + ] + ], + "doc": "~Private~" + } + }, + "70": { + "23": { + "name": "hasTokenForSelector", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector" + ], + "range": [ + [ + 70, + 23 + ], + [ + 76, + 1 + ] + ], + "doc": "~Private~" + } + }, + "76": { + "23": { + "name": "resetTokenizedLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 76, + 23 + ], + [ + 82, + 1 + ] + ], + "doc": "~Private~" + } + }, + "82": { + "14": { + "name": "setVisible", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 82, + 14 + ], + [ + 88, + 1 + ] + ], + "doc": "~Private~" + } + }, + "88": { + "16": { + "name": "getTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 88, + 16 + ], + [ + 94, + 1 + ] + ], + "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " + } + }, + "94": { + "16": { + "name": "setTabLength", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 94, + 16 + ], + [ + 94, + 30 + ] + ], + "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " + } + }, + "96": { + "24": { + "name": "tokenizeInBackground", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 96, + 24 + ], + [ + 103, + 1 + ] + ], + "doc": "~Private~" + } + }, + "103": { + "21": { + "name": "tokenizeNextChunk", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 103, + 21 + ], + [ + 133, + 1 + ] + ], + "doc": "~Private~" + } + }, + "133": { + "19": { + "name": "firstInvalidRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 133, + 19 + ], + [ + 136, + 1 + ] + ], + "doc": "~Private~" + } + }, + "136": { + "15": { + "name": "validateRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 136, + 15 + ], + [ + 139, + 1 + ] + ], + "doc": "~Private~" + } + }, + "139": { + "17": { + "name": "invalidateRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 139, + 17 + ], + [ + 144, + 1 + ] + ], + "doc": "~Private~" + } + }, + "144": { + "21": { + "name": "updateInvalidRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end", + "delta" + ], + "range": [ + [ + 144, + 21 + ], + [ + 153, + 1 + ] + ], + "doc": "~Private~" + } + }, + "153": { + "22": { + "name": "handleBufferChange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "e" + ], + "range": [ + [ + 153, + 22 + ], + [ + 173, + 1 + ] + ], + "doc": "~Private~" + } + }, + "173": { + "48": { + "name": "retokenizeWhitespaceRowsIfIndentLevelChanged", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "increment" + ], + "range": [ + [ + 173, + 48 + ], + [ + 183, + 1 + ] + ], + "doc": "~Private~" + } + }, + "183": { + "30": { + "name": "buildTokenizedLinesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow", + "startingStack" + ], + "range": [ + [ + 183, + 30 + ], + [ + 200, + 1 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "41": { + "name": "buildPlaceholderTokenizedLinesForRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 200, + 41 + ], + [ + 203, + 1 + ] + ], + "doc": "~Private~" + } + }, + "203": { + "39": { + "name": "buildPlaceholderTokenizedLineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 203, + 39 + ], + [ + 210, + 1 + ] + ], + "doc": "~Private~" + } + }, + "210": { + "37": { + "name": "buildTokenizedTokenizedLineForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row", + "ruleStack" + ], + "range": [ + [ + 210, + 37 + ], + [ + 220, + 1 + ] + ], + "doc": "~Private~" + } + }, + "220": { + "20": { + "name": "lineForScreenRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 220, + 20 + ], + [ + 225, + 1 + ] + ], + "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " + } + }, + "225": { + "22": { + "name": "linesForScreenRows", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startRow", + "endRow" + ], + "range": [ + [ + 225, + 22 + ], + [ + 228, + 1 + ] + ], + "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " + } + }, + "228": { + "15": { + "name": "stackForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 228, + 15 + ], + [ + 231, + 1 + ] + ], + "doc": "~Private~" + } + }, + "231": { + "21": { + "name": "indentLevelForRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "row" + ], + "range": [ + [ + 231, + 21 + ], + [ + 257, + 1 + ] + ], + "doc": "~Private~" + } + }, + "257": { + "22": { + "name": "indentLevelForLine", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "line" + ], + "range": [ + [ + 257, + 22 + ], + [ + 266, + 1 + ] + ], + "doc": "~Private~" + } + }, + "266": { + "21": { + "name": "scopesForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 266, + 21 + ], + [ + 269, + 1 + ] + ], + "doc": "~Private~" + } + }, + "269": { + "20": { + "name": "tokenForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 269, + 20 + ], + [ + 273, + 1 + ] + ], + "doc": "~Private~" + } + }, + "273": { + "33": { + "name": "tokenStartPositionForPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "position" + ], + "range": [ + [ + 273, + 33 + ], + [ + 278, + 1 + ] + ], + "doc": "~Private~" + } + }, + "278": { + "33": { + "name": "bufferRangeForScopeAtPosition", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "selector", + "position" + ], + "range": [ + [ + 278, + 33 + ], + [ + 299, + 1 + ] + ], + "doc": "~Private~" + } + }, + "299": { + "30": { + "name": "iterateTokensInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "iterator" + ], + "range": [ + [ + 299, + 30 + ], + [ + 314, + 1 + ] + ], + "doc": "~Private~" + } + }, + "314": { + "39": { + "name": "backwardsIterateTokensInBufferRange", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferRange", + "iterator" + ], + "range": [ + [ + 314, + 39 + ], + [ + 329, + 1 + ] + ], + "doc": "~Private~" + } + }, + "329": { + "22": { + "name": "findOpeningBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferPosition" + ], + "range": [ + [ + 329, + 22 + ], + [ + 344, + 1 + ] + ], + "doc": "~Private~" + } + }, + "344": { + "22": { + "name": "findClosingBracket", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "startBufferPosition" + ], + "range": [ + [ + 344, + 22 + ], + [ + 362, + 1 + ] + ], + "doc": "~Private~" + } + }, + "362": { + "14": { + "name": "getLastRow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 362, + 14 + ], + [ + 365, + 1 + ] + ], + "doc": " Private: Gets the row number of the last line.\n\nReturns a {Number}. " + } + }, + "365": { + "16": { + "name": "getLineCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 365, + 16 + ], + [ + 368, + 1 + ] + ], + "doc": "~Private~" + } + }, + "368": { + "12": { + "name": "logLines", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "start", + "end" + ], + "range": [ + [ + 368, + 12 + ], + [ + 371, + 40 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 8 + }, + "./build/src/tokenized-line.coffee": { + "objects": { + "0": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 0, + 4 + ], + [ + 0, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "2": { + "12": { + "name": "1", + "type": "primitive", + "range": [ + [ + 2, + 12 + ], + [ + 2, + 12 + ] + ] + } + }, + "5": { + "0": { + "type": "class", + "name": "TokenizedLine", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 6, + 15 + ], + [ + 15, + 13 + ], + [ + 20, + 20 + ], + [ + 25, + 8 + ], + [ + 28, + 20 + ], + [ + 47, + 31 + ], + [ + 57, + 31 + ], + [ + 66, + 22 + ], + [ + 72, + 22 + ], + [ + 75, + 14 + ], + [ + 102, + 17 + ], + [ + 105, + 23 + ], + [ + 108, + 28 + ], + [ + 115, + 35 + ], + [ + 123, + 24 + ], + [ + 134, + 42 + ], + [ + 145, + 13 + ], + [ + 154, + 20 + ], + [ + 162, + 16 + ], + [ + 165, + 17 + ], + [ + 168, + 24 + ], + [ + 174, + 16 + ], + [ + 186, + 20 + ] + ], + "doc": "~Private~", + "range": [ + [ + 5, + 0 + ], + [ + 199, + 0 + ] + ] + } + }, + "6": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 6, + 15 + ], + [ + 15, + 1 + ] + ] + } + }, + "15": { + "13": { + "name": "buildText", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 15, + 13 + ], + [ + 20, + 1 + ] + ], + "doc": "~Private~" + } + }, + "20": { + "20": { + "name": "buildBufferDelta", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 20, + 20 + ], + [ + 25, + 1 + ] + ], + "doc": "~Private~" + } + }, + "25": { + "8": { + "name": "copy", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 25, + 8 + ], + [ + 28, + 1 + ] + ], + "doc": "~Private~" + } + }, + "28": { + "20": { + "name": "clipScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "column", + "options" + ], + "range": [ + [ + 28, + 20 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "31": { + "name": "screenColumnForBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn", + "options" + ], + "range": [ + [ + 47, + 31 + ], + [ + 57, + 1 + ] + ], + "doc": "~Private~" + } + }, + "57": { + "31": { + "name": "bufferColumnForScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "screenColumn", + "options" + ], + "range": [ + [ + 57, + 31 + ], + [ + 66, + 1 + ] + ], + "doc": "~Private~" + } + }, + "66": { + "22": { + "name": "getMaxScreenColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 66, + 22 + ], + [ + 72, + 1 + ] + ], + "doc": "~Private~" + } + }, + "72": { + "22": { + "name": "getMaxBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 72, + 22 + ], + [ + 75, + 1 + ] + ], + "doc": "~Private~" + } + }, + "75": { + "14": { + "name": "softWrapAt", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "column" + ], + "range": [ + [ + 75, + 14 + ], + [ + 102, + 1 + ] + ], + "doc": "~Private~" + } + }, + "102": { + "17": { + "name": "isSoftWrapped", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 102, + 17 + ], + [ + 105, + 1 + ] + ], + "doc": "~Private~" + } + }, + "105": { + "23": { + "name": "tokenAtBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 105, + 23 + ], + [ + 108, + 1 + ] + ], + "doc": "~Private~" + } + }, + "108": { + "28": { + "name": "tokenIndexAtBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 108, + 28 + ], + [ + 115, + 1 + ] + ], + "doc": "~Private~" + } + }, + "115": { + "35": { + "name": "tokenStartColumnForBufferColumn", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "bufferColumn" + ], + "range": [ + [ + 115, + 35 + ], + [ + 123, + 1 + ] + ], + "doc": "~Private~" + } + }, + "123": { + "24": { + "name": "breakOutAtomicTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "inputTokens" + ], + "range": [ + [ + 123, + 24 + ], + [ + 134, + 1 + ] + ], + "doc": "~Private~" + } + }, + "134": { + "42": { + "name": "markLeadingAndTrailingWhitespaceTokens", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 134, + 42 + ], + [ + 145, + 1 + ] + ], + "doc": "~Private~" + } + }, + "145": { + "13": { + "name": "isComment", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 145, + 13 + ], + [ + 154, + 1 + ] + ], + "doc": "~Private~" + } + }, + "154": { + "20": { + "name": "isOnlyWhitespace", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 154, + 20 + ], + [ + 162, + 1 + ] + ], + "doc": "~Private~" + } + }, + "162": { + "16": { + "name": "tokenAtIndex", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "index" + ], + "range": [ + [ + 162, + 16 + ], + [ + 165, + 1 + ] + ], + "doc": "~Private~" + } + }, + "165": { + "17": { + "name": "getTokenCount", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 165, + 17 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "24": { + "name": "bufferColumnForToken", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "targetToken" + ], + "range": [ + [ + 168, + 24 + ], + [ + 174, + 1 + ] + ], + "doc": "~Private~" + } + }, + "174": { + "16": { + "name": "getScopeTree", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 174, + 16 + ], + [ + 186, + 1 + ] + ], + "doc": "~Private~" + } + }, + "186": { + "20": { + "name": "updateScopeStack", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "scopeStack", + "desiredScopes" + ], + "range": [ + [ + 186, + 20 + ], + [ + 199, + 0 + ] + ], + "doc": "~Private~" + } + }, + "200": { + "0": { + "type": "class", + "name": "Scope", + "classProperties": [], + "prototypeProperties": [ + [ + 201, + 15 + ] + ], + "doc": "~Private~", + "range": [ + [ + 200, + 0 + ], + [ + 202, + 18 + ] + ] + } + }, + "201": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 201, + 15 + ], + [ + 202, + 18 + ] + ] + } + } + }, + "exports": 5 + }, + "./build/src/window-bootstrap.coffee": { + "objects": { + "1": { + "12": { + "name": "startTime", + "type": "function", + "range": [ + [ + 1, + 12 + ], + [ + 1, + 21 + ] + ] + } + }, + "5": { + "7": { + "name": "Atom", + "type": "import", + "range": [ + [ + 5, + 7 + ], + [ + 5, + 22 + ] + ], + "bindingType": "variable", + "path": "./atom" + } + }, + "6": { + "14": { + "name": "window.atom", + "type": "function", + "range": [ + [ + 6, + 14 + ], + [ + 6, + 40 + ] + ] + } + } + }, + "exports": {} + }, + "./build/src/window-event-handler.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "2": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 2, + 6 + ], + [ + 2, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "3": { + "8": { + "name": "shell", + "type": "import", + "range": [ + [ + 3, + 8 + ], + [ + 3, + 22 + ] + ], + "bindingType": "variable", + "module": "shell" + } + }, + "4": { + "1": { + "type": "import", + "range": [ + [ + 4, + 1 + ], + [ + 4, + 10 + ] + ], + "bindingType": "variable", + "module": "emissary@^1.2.2", + "name": "Subscriber", + "exportsProperty": "Subscriber" + } + }, + "5": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 5, + 5 + ], + [ + 5, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "9": { + "0": { + "type": "class", + "name": "WindowEventHandler", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 12, + 15 + ], + [ + 81, + 27 + ], + [ + 96, + 13 + ], + [ + 100, + 12 + ], + [ + 106, + 25 + ], + [ + 116, + 13 + ], + [ + 137, + 17 + ] + ], + "doc": "Private: Handles low-level events related to the window. ", + "range": [ + [ + 9, + 0 + ], + [ + 156, + 28 + ] + ] + } + }, + "12": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 12, + 15 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "27": { + "name": "handleNativeKeybindings", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 81, + 27 + ], + [ + 96, + 1 + ] + ], + "doc": " Private: Wire commands that should be handled by the native menu\nfor elements with the `.native-key-bindings` class. " + } + }, + "96": { + "13": { + "name": "onKeydown", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "event" + ], + "range": [ + [ + 96, + 13 + ], + [ + 100, + 1 + ] + ], + "doc": "~Private~" + } + }, + "100": { + "12": { + "name": "openLink", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 100, + 12 + ], + [ + 106, + 1 + ] + ], + "doc": "~Private~" + } + }, + "106": { + "25": { + "name": "eachTabIndexedElement", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 106, + 25 + ], + [ + 116, + 1 + ] + ], + "doc": "~Private~" + } + }, + "116": { + "13": { + "name": "focusNext", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 116, + 13 + ], + [ + 137, + 1 + ] + ], + "doc": "~Private~" + } + }, + "137": { + "17": { + "name": "focusPrevious", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 137, + 17 + ], + [ + 156, + 28 + ] + ], + "doc": "~Private~" + } + } + }, + "exports": 9 + }, + "./build/src/window.coffee": { + "objects": { + "7": { + "17": { + "name": "window.measure", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "description", + "fn" + ], + "range": [ + [ + 7, + 17 + ], + [ + 20, + 51 + ] + ], + "doc": null + } + }, + "21": { + "17": { + "name": "window.profile", + "bindingType": "variable", + "type": "function", + "paramNames": [ + "description", + "fn" + ], + "range": [ + [ + 21, + 17 + ], + [ + 26, + 9 + ] + ], + "doc": null + } + } + }, + "exports": {} + }, + "./build/src/workspace-view.coffee": { + "objects": { + "0": { + "6": { + "name": "ipc", + "type": "import", + "range": [ + [ + 0, + 6 + ], + [ + 0, + 18 + ] + ], + "bindingType": "variable", + "module": "ipc" + } + }, + "1": { + "7": { + "name": "path", + "type": "import", + "range": [ + [ + 1, + 7 + ], + [ + 1, + 20 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true + } + }, + "2": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 2, + 4 + ], + [ + 2, + 14 + ] + ], + "bindingType": "variable", + "module": "q@^1.0.1" + } + }, + "3": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 3, + 4 + ], + [ + 3, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "4": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 4, + 12 + ], + [ + 4, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@^1" + } + }, + "5": { + "1": { + "type": "import", + "range": [ + [ + 5, + 1 + ], + [ + 5, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + }, + "12": { + "type": "import", + "range": [ + [ + 5, + 12 + ], + [ + 5, + 33 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "logDeprecationWarnings", + "exportsProperty": "logDeprecationWarnings" + } + }, + "6": { + "17": { + "name": "scrollbarStyle", + "type": "import", + "range": [ + [ + 6, + 17 + ], + [ + 6, + 41 + ] + ], + "bindingType": "variable", + "module": "scrollbar-style@^1.0.2" + } + }, + "7": { + "1": { + "type": "import", + "range": [ + [ + 7, + 1 + ], + [ + 7, + 1 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$", + "exportsProperty": "$" + }, + "4": { + "type": "import", + "range": [ + [ + 7, + 4 + ], + [ + 7, + 5 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "$$", + "exportsProperty": "$$" + }, + "8": { + "type": "import", + "range": [ + [ + 7, + 8 + ], + [ + 7, + 11 + ] + ], + "bindingType": "variable", + "path": "./space-pen-extensions", + "name": "View", + "exportsProperty": "View" + } + }, + "8": { + "5": { + "name": "fs", + "type": "import", + "range": [ + [ + 8, + 5 + ], + [ + 8, + 21 + ] + ], + "bindingType": "variable", + "module": "fs-plus@^2.2.6" + } + }, + "9": { + "12": { + "name": "Workspace", + "type": "import", + "range": [ + [ + 9, + 12 + ], + [ + 9, + 32 + ] + ], + "bindingType": "variable", + "path": "./workspace" + } + }, + "10": { + "19": { + "name": "CommandInstaller", + "type": "import", + "range": [ + [ + 10, + 19 + ], + [ + 10, + 47 + ] + ], + "bindingType": "variable", + "path": "./command-installer" + } + }, + "11": { + "13": { + "name": "EditorView", + "type": "import", + "range": [ + [ + 11, + 13 + ], + [ + 11, + 35 + ] + ], + "bindingType": "variable", + "path": "./editor-view" + } + }, + "12": { + "11": { + "name": "PaneView", + "type": "import", + "range": [ + [ + 12, + 11 + ], + [ + 12, + 31 + ] + ], + "bindingType": "variable", + "path": "./pane-view" + } + }, + "13": { + "17": { + "name": "PaneColumnView", + "type": "import", + "range": [ + [ + 13, + 17 + ], + [ + 13, + 44 + ] + ], + "bindingType": "variable", + "path": "./pane-column-view" + } + }, + "14": { + "14": { + "name": "PaneRowView", + "type": "import", + "range": [ + [ + 14, + 14 + ], + [ + 14, + 38 + ] + ], + "bindingType": "variable", + "path": "./pane-row-view" + } + }, + "15": { + "20": { + "name": "PaneContainerView", + "type": "import", + "range": [ + [ + 15, + 20 + ], + [ + 15, + 50 + ] + ], + "bindingType": "variable", + "path": "./pane-container-view" + } + }, + "16": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 16, + 9 + ], + [ + 16, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "55": { + "0": { + "type": "class", + "name": "WorkspaceView", + "bindingType": "exports", + "classProperties": [ + [ + 63, + 12 + ], + [ + 66, + 4 + ], + [ + 75, + 12 + ] + ], + "prototypeProperties": [ + [ + 81, + 14 + ], + [ + 168, + 12 + ], + [ + 171, + 24 + ], + [ + 191, + 15 + ], + [ + 205, + 15 + ], + [ + 209, + 16 + ], + [ + 213, + 15 + ], + [ + 223, + 12 + ], + [ + 233, + 18 + ], + [ + 238, + 16 + ], + [ + 242, + 15 + ], + [ + 247, + 19 + ], + [ + 252, + 18 + ], + [ + 257, + 17 + ], + [ + 262, + 16 + ], + [ + 267, + 18 + ], + [ + 272, + 17 + ], + [ + 281, + 21 + ], + [ + 287, + 17 + ], + [ + 291, + 25 + ], + [ + 294, + 21 + ], + [ + 297, + 22 + ], + [ + 300, + 22 + ], + [ + 303, + 23 + ], + [ + 306, + 24 + ], + [ + 315, + 16 + ], + [ + 325, + 16 + ], + [ + 336, + 18 + ], + [ + 344, + 16 + ], + [ + 347, + 21 + ], + [ + 350, + 23 + ], + [ + 353, + 23 + ], + [ + 356, + 18 + ], + [ + 368, + 12 + ], + [ + 373, + 12 + ], + [ + 378, + 17 + ], + [ + 383, + 21 + ] + ], + "doc": " Public: The top-level view for the entire window. An instance of this class is\navailable via the `atom.workspaceView` global.\n\nIt is backed by a model object, an instance of {Workspace}, which is available\nvia the `atom.workspace` global or {::getModel}. You should prefer to interact\nwith the model object when possible, but it won't always be possible with the\ncurrent API.\n\n## Adding Perimeter Panels\n\nUse the following methods if possible to attach panels to the perimeter of the\nworkspace rather than manipulating the DOM directly to better insulate you to\nchanges in the workspace markup:\n\n* {::prependToTop}\n* {::appendToTop}\n* {::prependToBottom}\n* {::appendToBottom}\n* {::prependToLeft}\n* {::appendToLeft}\n* {::prependToRight}\n* {::appendToRight}\n\n## Requiring in package specs\n\nIf you need a `WorkspaceView` instance to test your package, require it via\nthe built-in `atom` module.\n\n```coffee\n {WorkspaceView} = require 'atom'\n```\n\nYou can assign it to the `atom.workspaceView` global in the spec or just use\nit as a local, depending on what you're trying to accomplish. Building the\n`WorkspaceView` is currently expensive, so you should try build a {Workspace}\ninstead if possible. ", + "range": [ + [ + 55, + 0 + ], + [ + 385, + 25 + ] + ] + } + }, + "63": { + "12": { + "name": "version", + "type": "primitive", + "range": [ + [ + 63, + 12 + ], + [ + 63, + 12 + ] + ], + "bindingType": "classProperty" + } + }, + "66": { + "4": { + "name": "configDefaults", + "type": "primitive", + "range": [ + [ + 66, + 4 + ], + [ + 73, + 23 + ] + ], + "bindingType": "classProperty" + } + }, + "75": { + "12": { + "name": "content", + "bindingType": "classProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 75, + 12 + ], + [ + 81, + 1 + ] + ], + "doc": "~Private~" + } + }, + "81": { + "14": { + "name": "initialize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + null + ], + "range": [ + [ + 81, + 14 + ], + [ + 168, + 1 + ] + ], + "doc": "~Private~" + } + }, + "168": { + "12": { + "name": "getModel", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 168, + 12 + ], + [ + 168, + 20 + ] + ], + "doc": " Public: Get the underlying model object.\n\nReturns a {Workspace}. " + } + }, + "171": { + "24": { + "name": "installShellCommands", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 171, + 24 + ], + [ + 191, + 1 + ] + ], + "doc": "Public: Install the Atom shell commands on the user's system. " + } + }, + "191": { + "15": { + "name": "handleFocus", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 191, + 15 + ], + [ + 205, + 1 + ] + ], + "doc": "~Private~" + } + }, + "205": { + "15": { + "name": "afterAttach", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "onDom" + ], + "range": [ + [ + 205, + 15 + ], + [ + 209, + 1 + ] + ], + "doc": "~Private~" + } + }, + "209": { + "16": { + "name": "confirmClose", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 209, + 16 + ], + [ + 213, + 1 + ] + ], + "doc": "Private: Prompts to save all unsaved items " + } + }, + "213": { + "15": { + "name": "updateTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 213, + 15 + ], + [ + 223, + 1 + ] + ], + "doc": "Private: Updates the application's title, based on whichever file is open. " + } + }, + "223": { + "12": { + "name": "setTitle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "title" + ], + "range": [ + [ + 223, + 12 + ], + [ + 233, + 1 + ] + ], + "doc": "Private: Sets the application's title. " + } + }, + "233": { + "18": { + "name": "getEditorViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 233, + 18 + ], + [ + 238, + 1 + ] + ], + "doc": " Private: Get all editor views.\n\nYou should prefer {Workspace::getEditors} unless you absolutely need access\nto the view objects. Also consider using {::eachEditorView}, which will call\na callback for all current and *future* editor views.\n\nReturns an {Array} of {EditorView}s. " + } + }, + "238": { + "16": { + "name": "prependToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 238, + 16 + ], + [ + 242, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the top of the\nworkspace. " + } + }, + "242": { + "15": { + "name": "appendToTop", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 242, + 15 + ], + [ + 247, + 1 + ] + ], + "doc": "Public: Append an element or view to the panels at the top of the workspace. " + } + }, + "247": { + "19": { + "name": "prependToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 247, + 19 + ], + [ + 252, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the bottom of the\nworkspace. " + } + }, + "252": { + "18": { + "name": "appendToBottom", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 252, + 18 + ], + [ + 257, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the bottom of the\nworkspace. " + } + }, + "257": { + "17": { + "name": "prependToLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 257, + 17 + ], + [ + 262, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the left of the\nworkspace. " + } + }, + "262": { + "16": { + "name": "appendToLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 262, + 16 + ], + [ + 267, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the left of the\nworkspace. " + } + }, + "267": { + "18": { + "name": "prependToRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 267, + 18 + ], + [ + 272, + 1 + ] + ], + "doc": " Public: Prepend an element or view to the panels at the right of the\nworkspace. " + } + }, + "272": { + "17": { + "name": "appendToRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "element" + ], + "range": [ + [ + 272, + 17 + ], + [ + 281, + 1 + ] + ], + "doc": " Public: Append an element or view to the panels at the right of the\nworkspace. " + } + }, + "281": { + "21": { + "name": "getActivePaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 281, + 21 + ], + [ + 287, + 1 + ] + ], + "doc": " Public: Get the active pane view.\n\nPrefer {Workspace::getActivePane} if you don't actually need access to the\nview.\n\nReturns a {PaneView}. " + } + }, + "287": { + "17": { + "name": "getActiveView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 287, + 17 + ], + [ + 291, + 1 + ] + ], + "doc": " Public: Get the view associated with the active pane item.\n\nReturns a view. " + } + }, + "291": { + "25": { + "name": "focusPreviousPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 291, + 25 + ], + [ + 291, + 56 + ] + ], + "doc": "Private: Focus the previous pane by id. " + } + }, + "294": { + "21": { + "name": "focusNextPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 294, + 21 + ], + [ + 294, + 48 + ] + ], + "doc": "Private: Focus the next pane by id. " + } + }, + "297": { + "22": { + "name": "focusPaneViewAbove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 297, + 22 + ], + [ + 297, + 51 + ] + ], + "doc": "Public: Focus the pane directly above the active pane. " + } + }, + "300": { + "22": { + "name": "focusPaneViewBelow", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 300, + 22 + ], + [ + 300, + 51 + ] + ], + "doc": "Public: Focus the pane directly below the active pane. " + } + }, + "303": { + "23": { + "name": "focusPaneViewOnLeft", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 303, + 23 + ], + [ + 303, + 53 + ] + ], + "doc": "Public: Focus the pane directly to the left of the active pane. " + } + }, + "306": { + "24": { + "name": "focusPaneViewOnRight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 306, + 24 + ], + [ + 306, + 55 + ] + ], + "doc": "Public: Focus the pane directly to the right of the active pane. " + } + }, + "315": { + "16": { + "name": "eachPaneView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 315, + 16 + ], + [ + 325, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\npane view in the workspace.\n\ncallback - A {Function} with a {PaneView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "325": { + "16": { + "name": "getPaneViews", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 325, + 16 + ], + [ + 336, + 1 + ] + ], + "doc": " Public: Get all existing pane views.\n\nPrefer {Workspace::getPanes} if you don't need access to the view objects.\nAlso consider using {::eachPaneView} if you want to register a callback for\nall current and *future* pane views.\n\nReturns an Array of all open {PaneView}s. " + } + }, + "336": { + "18": { + "name": "eachEditorView", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 336, + 18 + ], + [ + 344, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\neditor view in the workspace (only includes {EditorView}s that are pane\nitems).\n\ncallback - A {Function} with an {EditorView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "344": { + "16": { + "name": "beforeRemove", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 344, + 16 + ], + [ + 347, + 1 + ] + ], + "doc": "Private: Called by SpacePen " + } + }, + "347": { + "21": { + "name": "setEditorFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontSize" + ], + "range": [ + [ + 347, + 21 + ], + [ + 350, + 1 + ] + ], + "doc": "~Private~" + } + }, + "350": { + "23": { + "name": "setEditorFontFamily", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "fontFamily" + ], + "range": [ + [ + 350, + 23 + ], + [ + 353, + 1 + ] + ], + "doc": "~Private~" + } + }, + "353": { + "23": { + "name": "setEditorLineHeight", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "lineHeight" + ], + "range": [ + [ + 353, + 23 + ], + [ + 356, + 1 + ] + ], + "doc": "~Private~" + } + }, + "356": { + "18": { + "name": "setEditorStyle", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "property", + "value" + ], + "range": [ + [ + 356, + 18 + ], + [ + 368, + 1 + ] + ], + "doc": "~Private~" + } + }, + "368": { + "12": { + "name": "eachPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 368, + 12 + ], + [ + 373, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "373": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 373, + 12 + ], + [ + 378, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "378": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 378, + 17 + ], + [ + 383, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "383": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 383, + 21 + ], + [ + 385, + 25 + ] + ], + "doc": "Deprecated: Call {Workspace::getActivePaneItem} instead. " + } + } + }, + "exports": 55 + }, + "./build/src/workspace.coffee": { + "objects": { + "0": { + "1": { + "type": "import", + "range": [ + [ + 0, + 1 + ], + [ + 0, + 9 + ] + ], + "bindingType": "variable", + "module": "grim@0.11.0", + "name": "deprecate", + "exportsProperty": "deprecate" + } + }, + "1": { + "4": { + "name": "_", + "type": "import", + "range": [ + [ + 1, + 4 + ], + [ + 1, + 28 + ] + ], + "bindingType": "variable", + "module": "underscore-plus@^1.5.1" + } + }, + "2": { + "1": { + "type": "import", + "range": [ + [ + 2, + 1 + ], + [ + 2, + 4 + ] + ], + "bindingType": "variable", + "module": "path", + "builtin": true, + "name": "join", + "exportsProperty": "join" + } + }, + "3": { + "1": { + "type": "import", + "range": [ + [ + 3, + 1 + ], + [ + 3, + 5 + ] + ], + "bindingType": "variable", + "module": "theorist@^1", + "name": "Model", + "exportsProperty": "Model" + } + }, + "4": { + "4": { + "name": "Q", + "type": "import", + "range": [ + [ + 4, + 4 + ], + [ + 4, + 14 + ] + ], + "bindingType": "variable", + "module": "q@^1.0.1" + } + }, + "5": { + "15": { + "name": "Serializable", + "type": "import", + "range": [ + [ + 5, + 15 + ], + [ + 5, + 36 + ] + ], + "bindingType": "variable", + "module": "serializable@^1" + } + }, + "6": { + "12": { + "name": "Delegator", + "type": "import", + "range": [ + [ + 6, + 12 + ], + [ + 6, + 29 + ] + ], + "bindingType": "variable", + "module": "delegato@^1" + } + }, + "7": { + "9": { + "name": "Editor", + "type": "import", + "range": [ + [ + 7, + 9 + ], + [ + 7, + 26 + ] + ], + "bindingType": "variable", + "path": "./editor" + } + }, + "8": { + "16": { + "name": "PaneContainer", + "type": "import", + "range": [ + [ + 8, + 16 + ], + [ + 8, + 41 + ] + ], + "bindingType": "variable", + "path": "./pane-container" + } + }, + "9": { + "7": { + "name": "Pane", + "type": "import", + "range": [ + [ + 9, + 7 + ], + [ + 9, + 22 + ] + ], + "bindingType": "variable", + "path": "./pane" + } + }, + "18": { + "0": { + "type": "class", + "name": "Workspace", + "bindingType": "exports", + "classProperties": [], + "prototypeProperties": [ + [ + 29, + 15 + ], + [ + 47, + 21 + ], + [ + 55, + 19 + ], + [ + 60, + 37 + ], + [ + 74, + 15 + ], + [ + 84, + 14 + ], + [ + 91, + 14 + ], + [ + 118, + 8 + ], + [ + 135, + 15 + ], + [ + 150, + 12 + ], + [ + 168, + 17 + ], + [ + 193, + 14 + ], + [ + 200, + 18 + ], + [ + 217, + 18 + ], + [ + 221, + 20 + ], + [ + 224, + 14 + ], + [ + 230, + 17 + ], + [ + 236, + 12 + ], + [ + 240, + 11 + ], + [ + 244, + 20 + ], + [ + 248, + 24 + ], + [ + 254, + 14 + ], + [ + 260, + 21 + ], + [ + 269, + 22 + ], + [ + 277, + 24 + ], + [ + 284, + 25 + ], + [ + 288, + 21 + ], + [ + 295, + 19 + ], + [ + 299, + 20 + ], + [ + 303, + 20 + ], + [ + 308, + 17 + ], + [ + 312, + 14 + ], + [ + 317, + 23 + ], + [ + 322, + 13 + ] + ], + "doc": " Public: Represents the state of the user interface for the entire window.\nAn instance of this class is available via the `atom.workspace` global.\n\nInteract with this object to open files, be notified of current and future\neditors, and manipulate panes. To add panels, you'll need to use the\n{WorkspaceView} class for now until we establish APIs at the model layer. ", + "range": [ + [ + 18, + 0 + ], + [ + 323, + 28 + ] + ] + } + }, + "29": { + "15": { + "name": "constructor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 29, + 15 + ], + [ + 47, + 1 + ] + ], + "doc": "~Private~" + } + }, + "47": { + "21": { + "name": "deserializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "params" + ], + "range": [ + [ + 47, + 21 + ], + [ + 55, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during deserialization " + } + }, + "55": { + "19": { + "name": "serializeParams", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 55, + 19 + ], + [ + 60, + 1 + ] + ], + "doc": "Private: Called by the Serializable mixin during serialization. " + } + }, + "60": { + "37": { + "name": "getPackageNamesWithActiveGrammars", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 60, + 37 + ], + [ + 74, + 1 + ] + ], + "doc": "~Private~" + } + }, + "74": { + "15": { + "name": "editorAdded", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "editor" + ], + "range": [ + [ + 74, + 15 + ], + [ + 84, + 1 + ] + ], + "doc": "~Private~" + } + }, + "84": { + "14": { + "name": "eachEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "callback" + ], + "range": [ + [ + 84, + 14 + ], + [ + 91, + 1 + ] + ], + "doc": " Public: Register a function to be called for every current and future\n{Editor} in the workspace.\n\ncallback - A {Function} with an {Editor} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " + } + }, + "91": { + "14": { + "name": "getEditors", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 91, + 14 + ], + [ + 118, + 1 + ] + ], + "doc": " Public: Get all current editors in the workspace.\n\nReturns an {Array} of {Editor}s. " + } + }, + "118": { + "8": { + "name": "open", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "options" + ], + "range": [ + [ + 118, + 8 + ], + [ + 135, + 1 + ] + ], + "doc": " Public: Open a given a URI in Atom asynchronously.\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :split - Either 'left' or 'right'. If 'left', the item will be opened in\n leftmost pane of the current active pane's row. If 'right', the\n item will be opened in the rightmost pane of the current active\n pane's row.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`.\n :searchAllPanes - A {Boolean}. If `true`, the workspace will attempt to\n activate an existing item for the given URI on any pane.\n If `false`, only the active pane will be searched for\n an existing item for the same URI. Defaults to `false`.\n\nReturns a promise that resolves to the {Editor} for the file URI. " + } + }, + "135": { + "15": { + "name": "openLicense", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 135, + 15 + ], + [ + 150, + 1 + ] + ], + "doc": "Public: Open Atom's license in the active pane. " + } + }, + "150": { + "12": { + "name": "openSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "options" + ], + "range": [ + [ + 150, + 12 + ], + [ + 168, + 1 + ] + ], + "doc": " Private: Synchronously open the given URI in the active pane. **Only use this method\nin specs. Calling this in production code will block the UI thread and\neveryone will be mad at you.**\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`. " + } + }, + "168": { + "17": { + "name": "openUriInPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri", + "pane", + "options" + ], + "range": [ + [ + 168, + 17 + ], + [ + 193, + 1 + ] + ], + "doc": "~Private~" + } + }, + "193": { + "14": { + "name": "reopenItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 193, + 14 + ], + [ + 200, + 1 + ] + ], + "doc": " Public: Asynchronously reopens the last-closed item's URI if it hasn't already been\nreopened.\n\nReturns a promise that is resolved when the item is opened " + } + }, + "200": { + "18": { + "name": "reopenItemSync", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 200, + 18 + ], + [ + 217, + 1 + ] + ], + "doc": "Private: Deprecated " + } + }, + "217": { + "18": { + "name": "registerOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 217, + 18 + ], + [ + 221, + 1 + ] + ], + "doc": " Public: Register an opener for a uri.\n\nAn {Editor} will be used if no openers return a value.\n\n## Example\n```coffeescript\n atom.project.registerOpener (uri) ->\n if path.extname(uri) is '.toml'\n return new TomlEditor(uri)\n```\n\nopener - A {Function} to be called when a path is being opened. " + } + }, + "221": { + "20": { + "name": "unregisterOpener", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "opener" + ], + "range": [ + [ + 221, + 20 + ], + [ + 224, + 1 + ] + ], + "doc": "Public: Unregister an opener registered with {::registerOpener}. " + } + }, + "224": { + "14": { + "name": "getOpeners", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 224, + 14 + ], + [ + 230, + 1 + ] + ], + "doc": "~Private~" + } + }, + "230": { + "17": { + "name": "getActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 230, + 17 + ], + [ + 236, + 1 + ] + ], + "doc": " Public: Get the active {Pane}.\n\nReturns a {Pane}. " + } + }, + "236": { + "12": { + "name": "getPanes", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 236, + 12 + ], + [ + 240, + 1 + ] + ], + "doc": " Public: Get all {Pane}s.\n\nReturns an {Array} of {Pane}s. " + } + }, + "240": { + "11": { + "name": "saveAll", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 240, + 11 + ], + [ + 244, + 1 + ] + ], + "doc": "Public: Save all pane items. " + } + }, + "244": { + "20": { + "name": "activateNextPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 244, + 20 + ], + [ + 248, + 1 + ] + ], + "doc": "Public: Make the next pane active. " + } + }, + "248": { + "24": { + "name": "activatePreviousPane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 248, + 24 + ], + [ + 254, + 1 + ] + ], + "doc": "Public: Make the previous pane active. " + } + }, + "254": { + "14": { + "name": "paneForUri", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "uri" + ], + "range": [ + [ + 254, + 14 + ], + [ + 260, + 1 + ] + ], + "doc": " Public: Get the first pane {Pane} with an item for the given URI.\n\nReturns a {Pane} or `undefined` if no pane exists for the given URI. " + } + }, + "260": { + "21": { + "name": "getActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 260, + 21 + ], + [ + 269, + 1 + ] + ], + "doc": " Public: Get the active {Pane}'s active item.\n\nReturns an pane item {Object}. " + } + }, + "269": { + "22": { + "name": "saveActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 269, + 22 + ], + [ + 277, + 1 + ] + ], + "doc": " Public: Save the active pane item.\n\nIf the active pane item currently has a URI according to the item's\n`.getUri` method, calls `.save` on the item. Otherwise\n{::saveActivePaneItemAs} # will be called instead. This method does nothing\nif the active item does not implement a `.save` method. " + } + }, + "277": { + "24": { + "name": "saveActivePaneItemAs", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 277, + 24 + ], + [ + 284, + 1 + ] + ], + "doc": " Public: Prompt the user for a path and save the active pane item to it.\n\nOpens a native dialog where the user selects a path on disk, then calls\n`.saveAs` on the item with the selected path. This method does nothing if\nthe active item does not implement a `.saveAs` method. " + } + }, + "284": { + "25": { + "name": "destroyActivePaneItem", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 284, + 25 + ], + [ + 288, + 1 + ] + ], + "doc": " Public: Destroy (close) the active pane item.\n\nRemoves the active pane item and calls the `.destroy` method on it if one is\ndefined. " + } + }, + "288": { + "21": { + "name": "destroyActivePane", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 288, + 21 + ], + [ + 295, + 1 + ] + ], + "doc": "Public: Destroy (close) the active pane. " + } + }, + "295": { + "19": { + "name": "getActiveEditor", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 295, + 19 + ], + [ + 299, + 1 + ] + ], + "doc": " Public: Get the active item if it is an {Editor}.\n\nReturns an {Editor} or `undefined` if the current active item is not an\n{Editor}. " + } + }, + "299": { + "20": { + "name": "increaseFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 299, + 20 + ], + [ + 303, + 1 + ] + ], + "doc": "Public: Increase the editor font size by 1px. " + } + }, + "303": { + "20": { + "name": "decreaseFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 303, + 20 + ], + [ + 308, + 1 + ] + ], + "doc": "Public: Decrease the editor font size by 1px. " + } + }, + "308": { + "17": { + "name": "resetFontSize", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 308, + 17 + ], + [ + 312, + 1 + ] + ], + "doc": "Public: Restore to a default editor font size. " + } + }, + "312": { + "14": { + "name": "itemOpened", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 312, + 14 + ], + [ + 317, + 1 + ] + ], + "doc": "Private: Removes the item's uri from the list of potential items to reopen. " + } + }, + "317": { + "23": { + "name": "onPaneItemDestroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [ + "item" + ], + "range": [ + [ + 317, + 23 + ], + [ + 322, + 1 + ] + ], + "doc": "Private: Adds the destroyed item's uri to the list of items to reopen. " + } + }, + "322": { + "13": { + "name": "destroyed", + "bindingType": "prototypeProperty", + "type": "function", + "paramNames": [], + "range": [ + [ + 322, + 13 + ], + [ + 323, + 28 + ] + ], + "doc": "Private: Called by Model superclass when destroyed " + } + } + }, + "exports": 18 + } + } + } +] \ No newline at end of file From 3b9d25ae920a832dbb22b1502e2dab6d961d24a9 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Mon, 11 Aug 2014 16:39:00 -0700 Subject: [PATCH 048/144] Use donna and tello. Together. --- build/package.json | 4 ++-- build/tasks/docs-task.coffee | 14 +++++++------- docs/api/{metadata.json => donna.json} | 0 docs/api/{grappa.json => tello.json} | 0 4 files changed, 9 insertions(+), 9 deletions(-) rename docs/api/{metadata.json => donna.json} (100%) rename docs/api/{grappa.json => tello.json} (100%) diff --git a/build/package.json b/build/package.json index 81d0ff7f4..45165dd92 100644 --- a/build/package.json +++ b/build/package.json @@ -7,8 +7,8 @@ }, "dependencies": { "async": "~0.2.9", - "metadoc": "~0.0", - "grappa": "~0.0", + "donna": "~0.0", + "tello": "~0.0", "formidable": "~1.0.14", "fs-plus": "2.x", "github-releases": "~0.2.0", diff --git a/build/tasks/docs-task.coffee b/build/tasks/docs-task.coffee index f2dd1f8e6..8b7885140 100644 --- a/build/tasks/docs-task.coffee +++ b/build/tasks/docs-task.coffee @@ -5,8 +5,8 @@ fs = require 'fs-plus' request = require 'request' _ = require 'underscore-plus' -metadoc = require 'metadoc' -grappa = require 'grappa' +donna = require 'donna' +tello = require 'tello' module.exports = (grunt) -> {rm} = require('./task-helpers')(grunt) @@ -20,15 +20,15 @@ module.exports = (grunt) -> done = @async() docsOutputDir = grunt.config.get('docsOutputDir') downloadIncludes (error, includedModules) -> - metadata = metadoc.generateMetadata(['.'].concat(includedModules)) - grappaJson = grappa.digest(metadata) + metadata = donna.generateMetadata(['.'].concat(includedModules)) + telloJson = tello.digest(metadata) files = [{ - filePath: path.join(docsOutputDir, 'metadata.json') + filePath: path.join(docsOutputDir, 'donna.json') contents: JSON.stringify(metadata, null, ' ') }, { - filePath: path.join(docsOutputDir, 'grappa.json') - contents: JSON.stringify(grappaJson, null, ' ') + filePath: path.join(docsOutputDir, 'tello.json') + contents: JSON.stringify(telloJson, null, ' ') }] writeFile = ({filePath, contents}, callback) -> diff --git a/docs/api/metadata.json b/docs/api/donna.json similarity index 100% rename from docs/api/metadata.json rename to docs/api/donna.json diff --git a/docs/api/grappa.json b/docs/api/tello.json similarity index 100% rename from docs/api/grappa.json rename to docs/api/tello.json From e86b8c1a666e1c9e88212b7c44d98c99826027e6 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Mon, 11 Aug 2014 17:06:39 -0700 Subject: [PATCH 049/144] Remove unnecessary things --- build/tasks/docs-task.coffee | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/build/tasks/docs-task.coffee b/build/tasks/docs-task.coffee index 8b7885140..840f93dfe 100644 --- a/build/tasks/docs-task.coffee +++ b/build/tasks/docs-task.coffee @@ -11,10 +11,7 @@ tello = require 'tello' module.exports = (grunt) -> {rm} = require('./task-helpers')(grunt) - cmd = path.join('node_modules', '.bin', 'coffee') - commonArgs = [path.join('build', 'node_modules', '.bin', 'biscotto'), '--'] - opts = - stdio: 'inherit' + opts = stdio: 'inherit' grunt.registerTask 'build-docs', 'Builds the API docs in src', -> done = @async() @@ -33,7 +30,7 @@ module.exports = (grunt) -> writeFile = ({filePath, contents}, callback) -> fs.writeFile filePath, contents, (error) -> - callback() + callback(error) async.map files, writeFile, -> done() From 720770e2ba63ecc045336401299510b1eaf461d3 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Mon, 11 Aug 2014 17:46:37 -0700 Subject: [PATCH 050/144] Dont dupe classes --- docs/api/donna.json | 345882 ----------------------------------------- docs/api/tello.json | 1438 +- 2 files changed, 719 insertions(+), 346601 deletions(-) diff --git a/docs/api/donna.json b/docs/api/donna.json index 1bead53c0..a2a4f3580 100644 --- a/docs/api/donna.json +++ b/docs/api/donna.json @@ -53640,53636 +53640,6 @@ "repository": "https://github.com/atom/atom-keymap.git", "version": "1.0.2", "files": { - "src/atom.coffee": { - "objects": { - "0": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 0, - 9 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "1": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "2": { - "5": { - "name": "os", - "type": "import", - "range": [ - [ - 2, - 5 - ], - [ - 2, - 16 - ] - ], - "bindingType": "variable", - "module": "os", - "builtin": true - } - }, - "3": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "4": { - "9": { - "name": "remote", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 24 - ] - ], - "bindingType": "variable", - "module": "remote" - } - }, - "5": { - "9": { - "name": "screen", - "type": "import", - "range": [ - [ - 5, - 9 - ], - [ - 5, - 24 - ] - ], - "bindingType": "variable", - "module": "screen" - } - }, - "6": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 6, - 8 - ], - [ - 6, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "8": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 8, - 4 - ], - [ - 8, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "9": { - "1": { - "type": "import", - "range": [ - [ - 9, - 1 - ], - [ - 9, - 10 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecated", - "exportsProperty": "deprecated" - } - }, - "10": { - "1": { - "type": "import", - "range": [ - [ - 10, - 1 - ], - [ - 10, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "11": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 11, - 5 - ], - [ - 11, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.0.4" - } - }, - "13": { - "1": { - "type": "import", - "range": [ - [ - 13, - 1 - ], - [ - 13, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "14": { - "21": { - "name": "WindowEventHandler", - "type": "import", - "range": [ - [ - 14, - 21 - ], - [ - 14, - 52 - ] - ], - "bindingType": "variable", - "path": "./window-event-handler" - } - }, - "35": { - "0": { - "type": "class", - "name": "Atom", - "bindingType": "exports", - "classProperties": [ - [ - 36, - 12 - ], - [ - 44, - 17 - ], - [ - 48, - 16 - ], - [ - 53, - 14 - ], - [ - 71, - 17 - ], - [ - 89, - 21 - ], - [ - 95, - 22 - ], - [ - 99, - 20 - ], - [ - 109, - 21 - ] - ], - "prototypeProperties": [ - [ - 112, - 31 - ], - [ - 115, - 15 - ], - [ - 123, - 14 - ], - [ - 177, - 31 - ], - [ - 181, - 33 - ], - [ - 184, - 24 - ], - [ - 188, - 20 - ], - [ - 194, - 23 - ], - [ - 211, - 23 - ], - [ - 221, - 21 - ], - [ - 224, - 32 - ], - [ - 229, - 30 - ], - [ - 246, - 27 - ], - [ - 252, - 25 - ], - [ - 259, - 19 - ], - [ - 262, - 22 - ], - [ - 269, - 28 - ], - [ - 281, - 28 - ], - [ - 285, - 27 - ], - [ - 292, - 21 - ], - [ - 320, - 22 - ], - [ - 336, - 14 - ], - [ - 339, - 15 - ], - [ - 353, - 8 - ], - [ - 377, - 11 - ], - [ - 397, - 18 - ], - [ - 400, - 22 - ], - [ - 407, - 16 - ], - [ - 411, - 18 - ], - [ - 415, - 31 - ], - [ - 419, - 10 - ], - [ - 423, - 9 - ], - [ - 428, - 8 - ], - [ - 432, - 8 - ], - [ - 439, - 11 - ], - [ - 446, - 15 - ], - [ - 450, - 10 - ], - [ - 457, - 17 - ], - [ - 464, - 9 - ], - [ - 467, - 8 - ], - [ - 473, - 13 - ], - [ - 477, - 14 - ], - [ - 481, - 20 - ], - [ - 485, - 17 - ], - [ - 490, - 16 - ], - [ - 496, - 14 - ], - [ - 500, - 21 - ], - [ - 506, - 20 - ], - [ - 509, - 12 - ], - [ - 523, - 21 - ], - [ - 526, - 20 - ], - [ - 529, - 22 - ], - [ - 533, - 8 - ], - [ - 537, - 25 - ], - [ - 541, - 25 - ], - [ - 555, - 22 - ] - ], - "doc": " Public: Atom global for dealing with packages, themes, menus, and the window.\n\nAn instance of this class is always available as the `atom` global.\n\n## Useful properties available:\n\n * `atom.clipboard` - A {Clipboard} instance\n * `atom.config` - A {Config} instance\n * `atom.contextMenu` - A {ContextMenuManager} instance\n * `atom.deserializers` - A {DeserializerManager} instance\n * `atom.keymaps` - A {KeymapManager} instance\n * `atom.menu` - A {MenuManager} instance\n * `atom.packages` - A {PackageManager} instance\n * `atom.project` - A {Project} instance\n * `atom.syntax` - A {Syntax} instance\n * `atom.themes` - A {ThemeManager} instance\n * `atom.workspace` - A {Workspace} instance\n * `atom.workspaceView` - A {WorkspaceView} instance ", - "range": [ - [ - 35, - 0 - ], - [ - 567, - 27 - ] - ] - } - }, - "36": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 36, - 12 - ], - [ - 36, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "44": { - "17": { - "name": "loadOrCreate", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 44, - 17 - ], - [ - 48, - 1 - ] - ], - "doc": " Public: Load or create the Atom environment in the given mode.\n\nmode - Pass 'editor' or 'spec' depending on the kind of environment you\n want to build.\n\nReturns an Atom instance, fully initialized " - } - }, - "48": { - "16": { - "name": "deserialize", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 48, - 16 - ], - [ - 53, - 1 - ] - ], - "doc": "Private: Deserializes the Atom environment from a state object " - } - }, - "53": { - "14": { - "name": "loadState", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 53, - 14 - ], - [ - 71, - 1 - ] - ], - "doc": " Private: Loads and returns the serialized state corresponding to this window\nif it exists; otherwise returns undefined. " - } - }, - "71": { - "17": { - "name": "getStatePath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 71, - 17 - ], - [ - 89, - 1 - ] - ], - "doc": " Private: Returns the path where the state for the current window will be\nlocated if it exists. " - } - }, - "89": { - "21": { - "name": "getConfigDirPath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 95, - 1 - ] - ], - "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " - } - }, - "95": { - "22": { - "name": "getStorageDirPath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 95, - 22 - ], - [ - 99, - 1 - ] - ], - "doc": " Private: Get the path to Atom's storage directory.\n\nReturns the absolute path to ~/.atom/storage " - } - }, - "99": { - "20": { - "name": "getLoadSettings", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 99, - 20 - ], - [ - 109, - 1 - ] - ], - "doc": "Private: Returns the load settings hash associated with the current window. " - } - }, - "109": { - "21": { - "name": "getCurrentWindow", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 21 - ], - [ - 112, - 1 - ] - ], - "doc": "~Private~" - } - }, - "112": { - "31": { - "name": "workspaceViewParentSelector", - "type": "primitive", - "range": [ - [ - 112, - 31 - ], - [ - 112, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "115": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 115, - 15 - ], - [ - 123, - 1 - ] - ], - "doc": "Private: Call .loadOrCreate instead " - } - }, - "123": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 123, - 14 - ], - [ - 177, - 1 - ] - ], - "doc": " Public: Sets up the basic services that should be available in all modes\n(both spec and application). Call after this instance has been assigned to\nthe `atom` global. " - } - }, - "177": { - "31": { - "name": "registerRepresentationClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 31 - ], - [ - 181, - 1 - ] - ], - "doc": "Deprecated: Callers should be converted to use atom.deserializers " - } - }, - "181": { - "33": { - "name": "registerRepresentationClasses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 181, - 33 - ], - [ - 184, - 1 - ] - ], - "doc": "Deprecated: Callers should be converted to use atom.deserializers " - } - }, - "184": { - "24": { - "name": "setBodyPlatformClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 184, - 24 - ], - [ - 188, - 1 - ] - ], - "doc": "~Private~" - } - }, - "188": { - "20": { - "name": "getCurrentWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 20 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "23": { - "name": "getWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 194, - 23 - ], - [ - 211, - 1 - ] - ], - "doc": " Public: Get the dimensions of this window.\n\nReturns an object with x, y, width, and height keys. " - } - }, - "211": { - "23": { - "name": "setWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 211, - 23 - ], - [ - 221, - 1 - ] - ], - "doc": " Public: Set the dimensions of the window.\n\nThe window will be centered if either the x or y coordinate is not set\nin the dimensions parameter. If x or y are omitted the window will be\ncentered. If height or width are omitted only the position will be changed.\n\ndimensions - An {Object} with the following keys:\n :x - The new x coordinate.\n :y - The new y coordinate.\n :width - The new width.\n :height - The new height. " - } - }, - "221": { - "21": { - "name": "isValidDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 221, - 21 - ], - [ - 224, - 1 - ] - ], - "doc": " Private: Returns true if the dimensions are useable, false if they should be ignored.\nWork around for https://github.com/atom/atom-shell/issues/473 " - } - }, - "224": { - "32": { - "name": "storeDefaultWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 32 - ], - [ - 229, - 1 - ] - ], - "doc": "~Private~" - } - }, - "229": { - "30": { - "name": "getDefaultWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 229, - 30 - ], - [ - 246, - 1 - ] - ], - "doc": "~Private~" - } - }, - "246": { - "27": { - "name": "restoreWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 246, - 27 - ], - [ - 252, - 1 - ] - ], - "doc": "~Private~" - } - }, - "252": { - "25": { - "name": "storeWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 252, - 25 - ], - [ - 259, - 1 - ] - ], - "doc": "~Private~" - } - }, - "259": { - "19": { - "name": "getLoadSettings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 259, - 19 - ], - [ - 262, - 1 - ] - ], - "doc": "Private: Returns the load settings hash associated with the current window. " - } - }, - "262": { - "22": { - "name": "deserializeProject", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 262, - 22 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "28": { - "name": "deserializeWorkspaceView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 28 - ], - [ - 281, - 1 - ] - ], - "doc": "~Private~" - } - }, - "281": { - "28": { - "name": "deserializePackageStates", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 281, - 28 - ], - [ - 285, - 1 - ] - ], - "doc": "~Private~" - } - }, - "285": { - "27": { - "name": "deserializeEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 285, - 27 - ], - [ - 292, - 1 - ] - ], - "doc": "~Private~" - } - }, - "292": { - "21": { - "name": "startEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 21 - ], - [ - 320, - 1 - ] - ], - "doc": "Private: Call this method when establishing a real application window. " - } - }, - "320": { - "22": { - "name": "unloadEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 320, - 22 - ], - [ - 336, - 1 - ] - ], - "doc": "~Private~" - } - }, - "336": { - "14": { - "name": "loadThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 336, - 14 - ], - [ - 339, - 1 - ] - ], - "doc": "~Private~" - } - }, - "339": { - "15": { - "name": "watchThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 339, - 15 - ], - [ - 353, - 1 - ] - ], - "doc": "~Private~" - } - }, - "353": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 353, - 8 - ], - [ - 377, - 1 - ] - ], - "doc": " Public: Open a new Atom window using the given options.\n\nCalling this method without an options parameter will open a prompt to pick\na file/folder to open in the new window.\n\noptions - An {Object} with the following keys:\n :pathsToOpen - An {Array} of {String} paths to open. " - } - }, - "377": { - "11": { - "name": "confirm", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 377, - 11 - ], - [ - 397, - 1 - ] - ], - "doc": " Public: Open a confirm dialog.\n\n## Example\n\n```coffee\n atom.confirm\n message: 'How you feeling?'\n detailedMessage: 'Be honest.'\n buttons:\n Good: -> window.alert('good to hear')\n Bad: -> window.alert('bummer')\n```\n\noptions - An {Object} with the following keys:\n :message - The {String} message to display.\n :detailedMessage - The {String} detailed message to display.\n :buttons - Either an array of strings or an object where keys are\n button names and the values are callbacks to invoke when\n clicked.\n\nReturns the chosen button index {Number} if the buttons option was an array. " - } - }, - "397": { - "18": { - "name": "showSaveDialog", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 397, - 18 - ], - [ - 400, - 1 - ] - ], - "doc": "~Private~" - } - }, - "400": { - "22": { - "name": "showSaveDialogSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultPath" - ], - "range": [ - [ - 400, - 22 - ], - [ - 407, - 1 - ] - ], - "doc": "~Private~" - } - }, - "407": { - "16": { - "name": "openDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 407, - 16 - ], - [ - 411, - 1 - ] - ], - "doc": "Public: Open the dev tools for the current window. " - } - }, - "411": { - "18": { - "name": "toggleDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 411, - 18 - ], - [ - 415, - 1 - ] - ], - "doc": "Public: Toggle the visibility of the dev tools for the current window. " - } - }, - "415": { - "31": { - "name": "executeJavaScriptInDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "code" - ], - "range": [ - [ - 415, - 31 - ], - [ - 419, - 1 - ] - ], - "doc": "Public: Execute code in dev tools. " - } - }, - "419": { - "10": { - "name": "reload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 419, - 10 - ], - [ - 423, - 1 - ] - ], - "doc": "Public: Reload the current window. " - } - }, - "423": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 423, - 9 - ], - [ - 428, - 1 - ] - ], - "doc": "Public: Focus the current window. " - } - }, - "428": { - "8": { - "name": "show", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 8 - ], - [ - 432, - 1 - ] - ], - "doc": "Public: Show the current window. " - } - }, - "432": { - "8": { - "name": "hide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 432, - 8 - ], - [ - 439, - 1 - ] - ], - "doc": "Public: Hide the current window. " - } - }, - "439": { - "11": { - "name": "setSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width", - "height" - ], - "range": [ - [ - 439, - 11 - ], - [ - 446, - 1 - ] - ], - "doc": " Public: Set the size of current window.\n\nwidth - The {Number} of pixels.\nheight - The {Number} of pixels. " - } - }, - "446": { - "15": { - "name": "setPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "x", - "y" - ], - "range": [ - [ - 446, - 15 - ], - [ - 450, - 1 - ] - ], - "doc": " Public: Set the position of current window.\n\nx - The {Number} of pixels.\ny - The {Number} of pixels. " - } - }, - "450": { - "10": { - "name": "center", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 450, - 10 - ], - [ - 457, - 1 - ] - ], - "doc": "Public: Move current window to the center of the screen. " - } - }, - "457": { - "17": { - "name": "displayWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 457, - 17 - ], - [ - 464, - 1 - ] - ], - "doc": " Private: Schedule the window to be shown and focused on the next tick.\n\nThis is done in a next tick to prevent a white flicker from occurring\nif called synchronously. " - } - }, - "464": { - "9": { - "name": "close", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 464, - 9 - ], - [ - 467, - 1 - ] - ], - "doc": "Public: Close the current window. " - } - }, - "467": { - "8": { - "name": "exit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 467, - 8 - ], - [ - 473, - 1 - ] - ], - "doc": "~Private~" - } - }, - "473": { - "13": { - "name": "inDevMode", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 473, - 13 - ], - [ - 477, - 1 - ] - ], - "doc": "Public: Is the current window in development mode? " - } - }, - "477": { - "14": { - "name": "inSpecMode", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 477, - 14 - ], - [ - 481, - 1 - ] - ], - "doc": "Public: Is the current window running specs? " - } - }, - "481": { - "20": { - "name": "toggleFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 481, - 20 - ], - [ - 485, - 1 - ] - ], - "doc": "Public: Toggle the full screen state of the current window. " - } - }, - "485": { - "17": { - "name": "setFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fullScreen" - ], - "range": [ - [ - 485, - 17 - ], - [ - 490, - 1 - ] - ], - "doc": "Public: Set the full screen state of the current window. " - } - }, - "490": { - "16": { - "name": "isFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 490, - 16 - ], - [ - 496, - 1 - ] - ], - "doc": "Public: Is the current window in full screen mode? " - } - }, - "496": { - "14": { - "name": "getVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 496, - 14 - ], - [ - 500, - 1 - ] - ], - "doc": " Public: Get the version of the Atom application.\n\nReturns the version text {String}. " - } - }, - "500": { - "21": { - "name": "isReleasedVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 500, - 21 - ], - [ - 506, - 1 - ] - ], - "doc": "Public: Determine whether the current version is an official release. " - } - }, - "506": { - "20": { - "name": "getConfigDirPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 506, - 20 - ], - [ - 509, - 1 - ] - ], - "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " - } - }, - "509": { - "12": { - "name": "saveSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 509, - 12 - ], - [ - 523, - 1 - ] - ], - "doc": "~Private~" - } - }, - "523": { - "21": { - "name": "getWindowLoadTime", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 523, - 21 - ], - [ - 526, - 1 - ] - ], - "doc": " Public: Get the time taken to completely load the current window.\n\nThis time include things like loading and activating packages, creating\nDOM elements for the editor, and reading the config.\n\nReturns the number of milliseconds taken to load the window or null\nif the window hasn't finished loading yet. " - } - }, - "526": { - "20": { - "name": "crashMainProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 526, - 20 - ], - [ - 529, - 1 - ] - ], - "doc": "~Private~" - } - }, - "529": { - "22": { - "name": "crashRenderProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 529, - 22 - ], - [ - 533, - 1 - ] - ], - "doc": "~Private~" - } - }, - "533": { - "8": { - "name": "beep", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 533, - 8 - ], - [ - 537, - 1 - ] - ], - "doc": "Public: Visually and audibly trigger a beep. " - } - }, - "537": { - "25": { - "name": "getUserInitScriptPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 537, - 25 - ], - [ - 541, - 1 - ] - ], - "doc": "~Private~" - } - }, - "541": { - "25": { - "name": "requireUserInitScript", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 541, - 25 - ], - [ - 555, - 1 - ] - ] - } - }, - "555": { - "22": { - "name": "requireWithGlobals", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id", - "globals" - ], - "range": [ - [ - 555, - 22 - ], - [ - 567, - 27 - ] - ], - "doc": " Public: Require the module with the given globals.\n\nThe globals will be set on the `window` object and removed after the\nrequire completes.\n\nid - The {String} module name or path.\nglobals - An {Object} to set as globals during require (default: {}) " - } - } - }, - "exports": 35 - }, - "src/browser/application-menu.coffee": { - "objects": { - "0": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "1": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "2": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "10": { - "0": { - "type": "class", - "name": "ApplicationMenu", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 22, - 10 - ], - [ - 35, - 20 - ], - [ - 47, - 23 - ], - [ - 58, - 29 - ], - [ - 63, - 21 - ], - [ - 68, - 22 - ], - [ - 90, - 22 - ], - [ - 102, - 17 - ], - [ - 113, - 21 - ], - [ - 131, - 25 - ] - ], - "doc": " Private: Used to manage the global application menu.\n\nIt's created by {AtomApplication} upon instantiation and used to add, remove\nand maintain the state of all menu items. ", - "range": [ - [ - 10, - 0 - ], - [ - 145, - 18 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 22, - 1 - ] - ] - } - }, - "22": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 22, - 10 - ], - [ - 35, - 1 - ] - ], - "doc": " Public: Updates the entire menu with the given keybindings.\n\ntemplate - The Object which describes the menu to display.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke. " - } - }, - "35": { - "20": { - "name": "flattenMenuItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "menu" - ], - "range": [ - [ - 35, - 20 - ], - [ - 47, - 1 - ] - ], - "doc": " Private: Flattens the given menu and submenu items into an single Array.\n\nmenu - A complete menu configuration object for atom-shell's menu API.\n\nReturns an Array of native menu items. " - } - }, - "47": { - "23": { - "name": "flattenMenuTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 47, - 23 - ], - [ - 58, - 1 - ] - ], - "doc": " Private: Flattens the given menu template into an single Array.\n\ntemplate - An object describing the menu item.\n\nReturns an Array of native menu items. " - } - }, - "58": { - "29": { - "name": "enableWindowSpecificItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "enable" - ], - "range": [ - [ - 58, - 29 - ], - [ - 63, - 1 - ] - ], - "doc": " Public: Used to make all window related menu items are active.\n\nenable - If true enables all window specific items, if false disables all\n window specific items. " - } - }, - "63": { - "21": { - "name": "substituteVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 63, - 21 - ], - [ - 68, - 1 - ] - ], - "doc": "Private: Replaces VERSION with the current version. " - } - }, - "68": { - "22": { - "name": "showUpdateMenuItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 68, - 22 - ], - [ - 90, - 1 - ] - ], - "doc": "Private: Sets the proper visible state the update menu items " - } - }, - "90": { - "22": { - "name": "getDefaultTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 22 - ], - [ - 102, - 1 - ] - ], - "doc": " Private: Default list of menu items.\n\nReturns an Array of menu item Objects. " - } - }, - "102": { - "17": { - "name": "focusedWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 17 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "21": { - "name": "translateTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 113, - 21 - ], - [ - 131, - 1 - ] - ], - "doc": " Private: Combines a menu template with the appropriate keystroke.\n\ntemplate - An Object conforming to atom-shell's menu api but lacking\n accelerator and click properties.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a complete menu configuration object for atom-shell's menu API. " - } - }, - "131": { - "25": { - "name": "acceleratorForCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "keystrokesByCommand" - ], - "range": [ - [ - 131, - 25 - ], - [ - 145, - 18 - ] - ], - "doc": " Private: Determine the accelerator for a given command.\n\ncommand - The name of the command.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a String containing the keystroke in a format that can be interpreted\n by atom shell to provide nice icons where available. " - } - } - }, - "exports": 10 - }, - "src/browser/atom-application.coffee": { - "objects": { - "0": { - "13": { - "name": "AtomWindow", - "type": "import", - "range": [ - [ - 0, - 13 - ], - [ - 0, - 35 - ] - ], - "bindingType": "variable", - "path": "./atom-window" - } - }, - "1": { - "18": { - "name": "ApplicationMenu", - "type": "import", - "range": [ - [ - 1, - 18 - ], - [ - 1, - 45 - ] - ], - "bindingType": "variable", - "path": "./application-menu" - } - }, - "2": { - "22": { - "name": "AtomProtocolHandler", - "type": "import", - "range": [ - [ - 2, - 22 - ], - [ - 2, - 54 - ] - ], - "bindingType": "variable", - "path": "./atom-protocol-handler" - } - }, - "3": { - "20": { - "name": "AutoUpdateManager", - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 50 - ] - ], - "bindingType": "variable", - "path": "./auto-update-manager" - } - }, - "4": { - "16": { - "name": "BrowserWindow", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 39 - ] - ], - "bindingType": "variable", - "module": "browser-window" - } - }, - "5": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "6": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 6, - 6 - ], - [ - 6, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "7": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "8": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 8, - 5 - ], - [ - 8, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "9": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 9, - 6 - ], - [ - 9, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "10": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 10, - 7 - ], - [ - 10, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "11": { - "5": { - "name": "os", - "type": "import", - "range": [ - [ - 11, - 5 - ], - [ - 11, - 16 - ] - ], - "bindingType": "variable", - "module": "os", - "builtin": true - } - }, - "12": { - "6": { - "name": "net", - "type": "import", - "range": [ - [ - 12, - 6 - ], - [ - 12, - 18 - ] - ], - "bindingType": "variable", - "module": "net", - "builtin": true - } - }, - "13": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 13, - 8 - ], - [ - 13, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "14": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 14, - 6 - ], - [ - 14, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "15": { - "1": { - "type": "import", - "range": [ - [ - 15, - 1 - ], - [ - 15, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "16": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 16, - 4 - ], - [ - 16, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "30": { - "0": { - "type": "class", - "name": "AtomApplication", - "bindingType": "exports", - "classProperties": [ - [ - 34, - 9 - ] - ], - "prototypeProperties": [ - [ - 52, - 11 - ], - [ - 53, - 19 - ], - [ - 54, - 23 - ], - [ - 55, - 16 - ], - [ - 56, - 11 - ], - [ - 58, - 8 - ], - [ - 60, - 15 - ], - [ - 83, - 19 - ], - [ - 94, - 16 - ], - [ - 99, - 13 - ], - [ - 110, - 36 - ], - [ - 119, - 20 - ], - [ - 132, - 28 - ], - [ - 136, - 16 - ], - [ - 232, - 15 - ], - [ - 245, - 23 - ], - [ - 254, - 31 - ], - [ - 274, - 19 - ], - [ - 282, - 17 - ], - [ - 287, - 17 - ], - [ - 298, - 13 - ], - [ - 311, - 12 - ], - [ - 337, - 20 - ], - [ - 341, - 24 - ], - [ - 346, - 15 - ], - [ - 364, - 11 - ], - [ - 393, - 12 - ], - [ - 406, - 17 - ], - [ - 415, - 25 - ], - [ - 440, - 17 - ] - ], - "doc": " Private: The application's singleton class.\n\nIt's the entry point into the Atom application and maintains the global state\nof the application.\n\n ", - "range": [ - [ - 30, - 0 - ], - [ - 449, - 50 - ] - ] - } - }, - "34": { - "9": { - "name": "open", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 34, - 9 - ], - [ - 52, - 1 - ] - ], - "doc": "Public: The entry point into the Atom application. " - } - }, - "52": { - "11": { - "name": "windows", - "type": "primitive", - "range": [ - [ - 52, - 11 - ], - [ - 52, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "53": { - "19": { - "name": "applicationMenu", - "type": "primitive", - "range": [ - [ - 53, - 19 - ], - [ - 53, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "54": { - "23": { - "name": "atomProtocolHandler", - "type": "primitive", - "range": [ - [ - 54, - 23 - ], - [ - 54, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "55": { - "16": { - "name": "resourcePath", - "type": "primitive", - "range": [ - [ - 55, - 16 - ], - [ - 55, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "56": { - "11": { - "name": "version", - "type": "primitive", - "range": [ - [ - 56, - 11 - ], - [ - 56, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "58": { - "8": { - "name": "exit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 58, - 8 - ], - [ - 58, - 35 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 60, - 15 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "19": { - "name": "openWithOptions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 83, - 19 - ], - [ - 94, - 1 - ] - ], - "doc": "Private: Opens a new window based on the options provided. " - } - }, - "94": { - "16": { - "name": "removeWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "window" - ], - "range": [ - [ - 94, - 16 - ], - [ - 99, - 1 - ] - ], - "doc": "Public: Removes the {AtomWindow} from the global window list. " - } - }, - "99": { - "13": { - "name": "addWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "window" - ], - "range": [ - [ - 99, - 13 - ], - [ - 110, - 1 - ] - ], - "doc": "Public: Adds the {AtomWindow} to the global window list. " - } - }, - "110": { - "36": { - "name": "listenForArgumentsFromNewProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 36 - ], - [ - 119, - 1 - ] - ], - "doc": " Private: Creates server to listen for additional atom application launches.\n\nYou can run the atom command multiple times, but after the first launch\nthe other launches will just pass their information to this server and then\nclose immediately. " - } - }, - "119": { - "20": { - "name": "deleteSocketFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 119, - 20 - ], - [ - 132, - 1 - ] - ], - "doc": "~Private~" - } - }, - "132": { - "28": { - "name": "setupJavaScriptArguments", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 132, - 28 - ], - [ - 136, - 1 - ] - ], - "doc": "Private: Configures required javascript environment flags. " - } - }, - "136": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 16 - ], - [ - 232, - 1 - ] - ], - "doc": "Private: Registers basic application commands, non-idempotent. " - } - }, - "232": { - "15": { - "name": "sendCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 232, - 15 - ], - [ - 245, - 1 - ] - ], - "doc": " Public: Executes the given command.\n\nIf it isn't handled globally, delegate to the currently focused window.\n\ncommand - The string representing the command.\nargs - The optional arguments to pass along. " - } - }, - "245": { - "23": { - "name": "sendCommandToWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "atomWindow", - "args" - ], - "range": [ - [ - 245, - 23 - ], - [ - 254, - 1 - ] - ], - "doc": " Public: Executes the given command on the given window.\n\ncommand - The string representing the command.\natomWindow - The {AtomWindow} to send the command to.\nargs - The optional arguments to pass along. " - } - }, - "254": { - "31": { - "name": "sendCommandToFirstResponder", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command" - ], - "range": [ - [ - 254, - 31 - ], - [ - 274, - 1 - ] - ], - "doc": " Private: Translates the command into OS X action and sends it to application's first\nresponder. " - } - }, - "274": { - "19": { - "name": "openPathOnEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventName", - "pathToOpen" - ], - "range": [ - [ - 274, - 19 - ], - [ - 282, - 1 - ] - ], - "doc": " Public: Open the given path in the focused window when the event is\ntriggered.\n\nA new window will be created if there is no currently focused window.\n\neventName - The event to listen for.\npathToOpen - The path to open when the event is triggered. " - } - }, - "282": { - "17": { - "name": "windowForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen" - ], - "range": [ - [ - 282, - 17 - ], - [ - 287, - 1 - ] - ], - "doc": "Private: Returns the {AtomWindow} for the given path. " - } - }, - "287": { - "17": { - "name": "focusedWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 287, - 17 - ], - [ - 298, - 1 - ] - ], - "doc": "Public: Returns the currently focused {AtomWindow} or undefined if none. " - } - }, - "298": { - "13": { - "name": "openPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 298, - 13 - ], - [ - 311, - 1 - ] - ], - "doc": " Public: Opens multiple paths, in existing windows if possible.\n\noptions -\n :pathsToOpen - The array of file paths to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " - } - }, - "311": { - "12": { - "name": "openPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 311, - 12 - ], - [ - 337, - 1 - ] - ], - "doc": " Public: Opens a single path, in an existing window if possible.\n\noptions -\n :pathToOpen - The file path to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode.\n :windowDimensions - Object with height and width keys. " - } - }, - "337": { - "20": { - "name": "killAllProcesses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 337, - 20 - ], - [ - 341, - 1 - ] - ], - "doc": "Private: Kill all processes associated with opened windows. " - } - }, - "341": { - "24": { - "name": "killProcessForWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "openedWindow" - ], - "range": [ - [ - 341, - 24 - ], - [ - 346, - 1 - ] - ], - "doc": "Private: Kill process associated with the given opened window. " - } - }, - "346": { - "15": { - "name": "killProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pid" - ], - "range": [ - [ - 346, - 15 - ], - [ - 364, - 1 - ] - ], - "doc": "Private: Kill the process with the given pid. " - } - }, - "364": { - "11": { - "name": "openUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 364, - 11 - ], - [ - 393, - 1 - ] - ], - "doc": " Private: Open an atom:// url.\n\nThe host of the URL being opened is assumed to be the package name\nresponsible for opening the URL. A new window will be created with\nthat package's `urlMain` as the bootstrap script.\n\noptions -\n :urlToOpen - The atom:// url to open.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " - } - }, - "393": { - "12": { - "name": "runSpecs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 393, - 12 - ], - [ - 406, - 1 - ] - ], - "doc": " Private: Opens up a new {AtomWindow} to run specs within.\n\noptions -\n :exitWhenDone - A Boolean that if true, will close the window upon\n completion.\n :resourcePath - The path to include specs from.\n :specPath - The directory to load specs from. " - } - }, - "406": { - "17": { - "name": "runBenchmarks", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 406, - 17 - ], - [ - 415, - 1 - ] - ], - "doc": "~Private~" - } - }, - "415": { - "25": { - "name": "locationForPathToOpen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen" - ], - "range": [ - [ - 415, - 25 - ], - [ - 440, - 1 - ] - ], - "doc": "~Private~" - } - }, - "440": { - "17": { - "name": "promptForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 440, - 17 - ], - [ - 449, - 50 - ] - ], - "doc": " Private: Opens a native dialog to prompt the user for a path.\n\nOnce paths are selected, they're opened in a new or existing {AtomWindow}s.\n\noptions -\n :type - A String which specifies the type of the dialog, could be 'file',\n 'folder' or 'all'. The 'all' is only available on OS X.\n :devMode - A Boolean which controls whether any newly opened windows\n should be in dev mode or not.\n :safeMode - A Boolean which controls whether any newly opened windows\n should be in safe mode or not. " - } - } - }, - "exports": 30 - }, - "src/browser/atom-protocol-handler.coffee": { - "objects": { - "0": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.0.4" - } - }, - "2": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "3": { - "11": { - "name": "protocol", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "protocol" - } - }, - "10": { - "0": { - "type": "class", - "name": "AtomProtocolHandler", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 21, - 24 - ] - ], - "doc": " Private: Handles requests with 'atom' protocol.\n\nIt's created by {AtomApplication} upon instantiation, and is used to create a\ncustom resource loader by adding the 'atom' custom protocol. ", - "range": [ - [ - 10, - 0 - ], - [ - 27, - 50 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 21, - 1 - ] - ] - } - }, - "21": { - "24": { - "name": "registerAtomProtocol", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 24 - ], - [ - 27, - 50 - ] - ], - "doc": "Private: Creates the 'atom' custom protocol handler. " - } - } - }, - "exports": 10 - }, - "src/browser/atom-window.coffee": { - "objects": { - "0": { - "16": { - "name": "BrowserWindow", - "type": "import", - "range": [ - [ - 0, - 16 - ], - [ - 0, - 39 - ] - ], - "bindingType": "variable", - "module": "browser-window" - } - }, - "1": { - "14": { - "name": "ContextMenu", - "type": "import", - "range": [ - [ - 1, - 14 - ], - [ - 1, - 37 - ] - ], - "bindingType": "variable", - "path": "./context-menu" - } - }, - "2": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "3": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 3, - 9 - ], - [ - 3, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "4": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "6": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 6, - 6 - ], - [ - 6, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "7": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "11": { - "0": { - "type": "class", - "name": "AtomWindow", - "bindingType": "exports", - "classProperties": [ - [ - 14, - 13 - ], - [ - 15, - 25 - ] - ], - "prototypeProperties": [ - [ - 17, - 17 - ], - [ - 18, - 10 - ], - [ - 19, - 10 - ], - [ - 21, - 15 - ], - [ - 56, - 10 - ], - [ - 68, - 18 - ], - [ - 71, - 16 - ], - [ - 86, - 16 - ], - [ - 126, - 12 - ], - [ - 133, - 15 - ], - [ - 147, - 30 - ], - [ - 151, - 17 - ], - [ - 156, - 9 - ], - [ - 158, - 9 - ], - [ - 160, - 12 - ], - [ - 162, - 12 - ], - [ - 164, - 11 - ], - [ - 166, - 23 - ], - [ - 169, - 13 - ], - [ - 171, - 20 - ], - [ - 173, - 16 - ], - [ - 175, - 10 - ], - [ - 177, - 18 - ] - ], - "doc": "~Private~", - "range": [ - [ - 11, - 0 - ], - [ - 177, - 52 - ] - ] - } - }, - "14": { - "13": { - "name": "iconPath", - "type": "function", - "range": [ - [ - 14, - 13 - ], - [ - 14, - 72 - ] - ], - "bindingType": "classProperty" - } - }, - "15": { - "25": { - "name": "includeShellLoadTime", - "type": "primitive", - "range": [ - [ - 15, - 25 - ], - [ - 15, - 28 - ] - ], - "bindingType": "classProperty" - } - }, - "17": { - "17": { - "name": "browserWindow", - "type": "primitive", - "range": [ - [ - 17, - 17 - ], - [ - 17, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "10": { - "name": "loaded", - "type": "primitive", - "range": [ - [ - 18, - 10 - ], - [ - 18, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "10": { - "name": "isSpec", - "type": "primitive", - "range": [ - [ - 19, - 10 - ], - [ - 19, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "settings" - ], - "range": [ - [ - 21, - 15 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "10": { - "name": "getUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "loadSettingsObj" - ], - "range": [ - [ - 56, - 10 - ], - [ - 68, - 1 - ] - ], - "doc": "~Private~" - } - }, - "68": { - "18": { - "name": "getInitialPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 18 - ], - [ - 71, - 1 - ] - ], - "doc": "~Private~" - } - }, - "71": { - "16": { - "name": "containsPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToCheck" - ], - "range": [ - [ - 71, - 16 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 16 - ], - [ - 126, - 1 - ] - ], - "doc": "~Private~" - } - }, - "126": { - "12": { - "name": "openPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen", - "initialLine", - "initialColumn" - ], - "range": [ - [ - 126, - 12 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "15": { - "name": "sendCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 133, - 15 - ], - [ - 147, - 1 - ] - ], - "doc": "~Private~" - } - }, - "147": { - "30": { - "name": "sendCommandToBrowserWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 147, - 30 - ], - [ - 151, - 1 - ] - ], - "doc": "~Private~" - } - }, - "151": { - "17": { - "name": "getDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 151, - 17 - ], - [ - 156, - 1 - ] - ], - "doc": "~Private~" - } - }, - "156": { - "9": { - "name": "close", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 156, - 9 - ], - [ - 156, - 33 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 9 - ], - [ - 158, - 33 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "12": { - "name": "minimize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 160, - 12 - ], - [ - 160, - 39 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "12": { - "name": "maximize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 12 - ], - [ - 162, - 39 - ] - ], - "doc": "~Private~" - } - }, - "164": { - "11": { - "name": "restore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 164, - 11 - ], - [ - 164, - 37 - ] - ], - "doc": "~Private~" - } - }, - "166": { - "23": { - "name": "handlesAtomCommands", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 166, - 23 - ], - [ - 169, - 1 - ] - ], - "doc": "~Private~" - } - }, - "169": { - "13": { - "name": "isFocused", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 169, - 13 - ], - [ - 169, - 41 - ] - ], - "doc": "~Private~" - } - }, - "171": { - "20": { - "name": "isWebViewFocused", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 20 - ], - [ - 171, - 55 - ] - ], - "doc": "~Private~" - } - }, - "173": { - "16": { - "name": "isSpecWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 173, - 16 - ], - [ - 173, - 25 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "10": { - "name": "reload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 175, - 10 - ], - [ - 175, - 36 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "18": { - "name": "toggleDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 18 - ], - [ - 177, - 51 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 11 - }, - "src/browser/auto-update-manager.coffee": { - "objects": { - "0": { - "8": { - "name": "https", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 22 - ] - ], - "bindingType": "variable", - "module": "https", - "builtin": true - } - }, - "1": { - "14": { - "name": "autoUpdater", - "type": "import", - "range": [ - [ - 1, - 14 - ], - [ - 1, - 35 - ] - ], - "bindingType": "variable", - "module": "auto-updater" - } - }, - "2": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "6": { - "11": { - "name": "'idle'", - "type": "primitive", - "range": [ - [ - 6, - 11 - ], - [ - 6, - 16 - ] - ] - } - }, - "7": { - "15": { - "name": "'checking'", - "type": "primitive", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 24 - ] - ] - } - }, - "8": { - "18": { - "name": "'downloading'", - "type": "primitive", - "range": [ - [ - 8, - 18 - ], - [ - 8, - 30 - ] - ] - } - }, - "9": { - "23": { - "name": "'update-available'", - "type": "primitive", - "range": [ - [ - 9, - 23 - ], - [ - 9, - 40 - ] - ] - } - }, - "10": { - "26": { - "name": "'no-update-available'", - "type": "primitive", - "range": [ - [ - 10, - 26 - ], - [ - 10, - 46 - ] - ] - } - }, - "11": { - "12": { - "name": "'error'", - "type": "primitive", - "range": [ - [ - 11, - 12 - ], - [ - 11, - 18 - ] - ] - } - }, - "14": { - "0": { - "type": "class", - "name": "AutoUpdateManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 15 - ], - [ - 48, - 23 - ], - [ - 63, - 28 - ], - [ - 68, - 12 - ], - [ - 73, - 12 - ], - [ - 76, - 9 - ], - [ - 83, - 11 - ], - [ - 86, - 24 - ], - [ - 90, - 17 - ], - [ - 94, - 14 - ] - ], - "doc": "~Private~", - "range": [ - [ - 14, - 0 - ], - [ - 95, - 34 - ] - ] - } - }, - "17": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 17, - 15 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "23": { - "name": "checkForUpdatesShim", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 23 - ], - [ - 63, - 1 - ] - ], - "doc": "Private: Windows doesn't have an auto-updater, so use this method to shim the events. " - } - }, - "63": { - "28": { - "name": "emitUpdateAvailableEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "windows" - ], - "range": [ - [ - 63, - 28 - ], - [ - 68, - 1 - ] - ], - "doc": "~Private~" - } - }, - "68": { - "12": { - "name": "setState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 68, - 12 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "12": { - "name": "getState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 12 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "9": { - "name": "check", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 76, - 9 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "11": { - "name": "install", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 83, - 11 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "24": { - "name": "onUpdateNotAvailable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 24 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "17": { - "name": "onUpdateError", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event", - "message" - ], - "range": [ - [ - 90, - 17 - ], - [ - 94, - 1 - ] - ], - "doc": "~Private~" - } - }, - "94": { - "14": { - "name": "getWindows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 14 - ], - [ - 95, - 34 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 14 - }, - "src/browser/context-menu.coffee": { - "objects": { - "0": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "3": { - "0": { - "type": "class", - "name": "ContextMenu", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 4, - 15 - ], - [ - 12, - 23 - ] - ], - "doc": "~Private~", - "range": [ - [ - 3, - 0 - ], - [ - 23, - 10 - ] - ] - } - }, - "4": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - null - ], - "range": [ - [ - 4, - 15 - ], - [ - 12, - 1 - ] - ] - } - }, - "12": { - "23": { - "name": "createClickHandlers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 12, - 23 - ], - [ - 23, - 10 - ] - ], - "doc": " Private: It's necessary to build the event handlers in this process, otherwise\nclosures are drug across processes and failed to be garbage collected\nappropriately. " - } - } - }, - "exports": 3 - }, - "src/browser/main.coffee": { - "objects": { - "0": { - "24": { - "name": "global.shellStartTime", - "type": "function", - "range": [ - [ - 0, - 24 - ], - [ - 0, - 33 - ] - ] - } - }, - "2": { - "16": { - "name": "crashReporter", - "type": "import", - "range": [ - [ - 2, - 16 - ], - [ - 2, - 39 - ] - ], - "bindingType": "variable", - "module": "crash-reporter" - } - }, - "3": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 3, - 6 - ], - [ - 3, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "6": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 6, - 7 - ], - [ - 6, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "7": { - "11": { - "name": "optimist", - "type": "import", - "range": [ - [ - 7, - 11 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "optimist" - } - }, - "8": { - "8": { - "name": "nslog", - "type": "import", - "range": [ - [ - 8, - 8 - ], - [ - 8, - 22 - ] - ], - "bindingType": "variable", - "module": "nslog" - } - }, - "9": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 9, - 9 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "11": { - "14": { - "name": "nslog", - "type": "primitive", - "range": [ - [ - 11, - 14 - ], - [ - 11, - 18 - ] - ] - } - }, - "17": { - "8": { - "name": "start", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 8 - ], - [ - 51, - 0 - ] - ], - "doc": "~Private~" - } - }, - "54": { - "25": { - "name": "global.devResourcePath", - "type": "function", - "range": [ - [ - 54, - 25 - ], - [ - 54, - 62 - ] - ] - } - }, - "56": { - "21": { - "name": "setupCrashReporter", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 21 - ], - [ - 58, - 0 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "19": { - "name": "parseCommandLine", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 19 - ], - [ - 110, - 0 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": {} - }, - "src/buffered-node-process.coffee": { - "objects": { - "0": { - "18": { - "name": "BufferedProcess", - "type": "import", - "range": [ - [ - 0, - 18 - ], - [ - 0, - 45 - ] - ], - "bindingType": "variable", - "path": "./buffered-process" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "14": { - "0": { - "type": "class", - "name": "BufferedNodeProcess", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 36, - 15 - ] - ], - "doc": " Public: Like {BufferedProcess}, but accepts a Node script as the command\nto run.\n\nThis is necessary on Windows since it doesn't support shebang `#!` lines.\n\n## Requiring in packages\n\n```coffee\n{BufferedNodeProcess} = require 'atom'\n``` ", - "range": [ - [ - 14, - 0 - ], - [ - 50, - 63 - ] - ] - } - }, - "36": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 36, - 15 - ], - [ - 50, - 63 - ] - ], - "doc": " Public: Runs the given Node script by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} path to the JavaScript script to execute.\n :args - The {Array} of arguments to pass to the script (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " - } - } - }, - "exports": 14 - }, - "src/buffered-process.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "1": { - "15": { - "name": "ChildProcess", - "type": "import", - "range": [ - [ - 1, - 15 - ], - [ - 1, - 37 - ] - ], - "bindingType": "variable", - "module": "child_process", - "builtin": true - } - }, - "18": { - "0": { - "type": "class", - "name": "BufferedProcess", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 40, - 15 - ], - [ - 99, - 16 - ], - [ - 117, - 8 - ] - ], - "doc": " Public: A wrapper which provides standard error/output line buffering for\nNode's ChildProcess.\n\n## Requiring in packages\n\n```coffee\n{BufferedProcess} = require 'atom'\n\ncommand = 'ps'\nargs = ['-ef']\nstdout = (output) -> console.log(output)\nexit = (code) -> console.log(\"ps -ef exited with #{code}\")\nprocess = new BufferedProcess({command, args, stdout, exit})\n``` ", - "range": [ - [ - 18, - 0 - ], - [ - 120, - 19 - ] - ] - } - }, - "40": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 40, - 15 - ], - [ - 99, - 1 - ] - ], - "doc": " Public: Runs the given command by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} command to execute.\n :args - The {Array} of arguments to pass to the command (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " - } - }, - "99": { - "16": { - "name": "bufferStream", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stream", - "onLines", - "onDone" - ], - "range": [ - [ - 99, - 16 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: Helper method to pass data line by line.\n\nstream - The Stream to read from.\nonLines - The callback to call with each line of data.\nonDone - The callback to call when the stream has closed. " - } - }, - "117": { - "8": { - "name": "kill", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 8 - ], - [ - 120, - 19 - ] - ], - "doc": "Public: Terminate the process. " - } - } - }, - "exports": 18 - }, - "src/clipboard.coffee": { - "objects": { - "0": { - "12": { - "name": "clipboard", - "type": "import", - "range": [ - [ - 0, - 12 - ], - [ - 0, - 30 - ] - ], - "bindingType": "variable", - "module": "clipboard" - } - }, - "1": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 1, - 9 - ], - [ - 1, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "7": { - "0": { - "type": "class", - "name": "Clipboard", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 8, - 12 - ], - [ - 9, - 24 - ], - [ - 16, - 7 - ], - [ - 26, - 9 - ], - [ - 34, - 8 - ], - [ - 43, - 20 - ] - ], - "doc": " Public: Represents the clipboard used for copying and pasting in Atom.\n\nAn instance of this class is always available as the `atom.clipboard` global. ", - "range": [ - [ - 7, - 0 - ], - [ - 48, - 12 - ] - ] - } - }, - "8": { - "12": { - "name": "metadata", - "type": "primitive", - "range": [ - [ - 8, - 12 - ], - [ - 8, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "24": { - "name": "signatureForMetadata", - "type": "primitive", - "range": [ - [ - 9, - 24 - ], - [ - 9, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "7": { - "name": "md5", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 16, - 7 - ], - [ - 26, - 1 - ] - ], - "doc": " Private: Creates an `md5` hash of some text.\n\ntext - A {String} to hash.\n\nReturns a hashed {String}. " - } - }, - "26": { - "9": { - "name": "write", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "metadata" - ], - "range": [ - [ - 26, - 9 - ], - [ - 34, - 1 - ] - ], - "doc": " Public: Write the given text to the clipboard.\n\nThe metadata associated with the text is available by calling\n{::readWithMetadata}.\n\ntext - The {String} to store.\nmetadata - The additional info to associate with the text. " - } - }, - "34": { - "8": { - "name": "read", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 8 - ], - [ - 43, - 1 - ] - ], - "doc": " Public: Read the text from the clipboard.\n\nReturns a {String}. " - } - }, - "43": { - "20": { - "name": "readWithMetadata", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 20 - ], - [ - 48, - 12 - ] - ], - "doc": " Public: Read the text from the clipboard and return both the text and the\nassociated metadata.\n\nReturns an {Object} with the following keys:\n :text - The {String} clipboard text.\n :metadata - The metadata stored by an earlier call to {::write}. " - } - } - }, - "exports": 7 - }, - "src/coffee-cache.coffee": { - "objects": { - "0": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 0, - 9 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "3": { - "15": { - "name": "CoffeeScript", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 37 - ] - ], - "bindingType": "variable", - "module": "coffee-script" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1.0.2" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.0.4" - } - }, - "8": { - "17": { - "name": "coffeeCacheDir", - "type": "function", - "range": [ - [ - 8, - 17 - ], - [ - 8, - 45 - ] - ] - } - }, - "11": { - "15": { - "name": "getCachePath", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "coffee" - ], - "range": [ - [ - 11, - 15 - ], - [ - 14, - 0 - ] - ], - "doc": "~Private~" - } - }, - "15": { - "22": { - "name": "getCachedJavaScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "cachePath" - ], - "range": [ - [ - 15, - 22 - ], - [ - 19, - 0 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "18": { - "name": "convertFilePath", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 20, - 18 - ], - [ - 24, - 0 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "22": { - "name": "compileCoffeeScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "coffee", - "filePath", - "cachePath" - ], - "range": [ - [ - 25, - 22 - ], - [ - 33, - 0 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "22": { - "name": "requireCoffeeScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "module", - "filePath" - ], - "range": [ - [ - 34, - 22 - ], - [ - 39, - 0 - ] - ] - } - }, - "41": { - "12": { - "name": "cacheDir", - "type": "primitive", - "range": [ - [ - 41, - 12 - ], - [ - 41, - 19 - ] - ] - } - }, - "42": { - "12": { - "name": "register", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 12 - ], - [ - 46, - 6 - ] - ], - "doc": null - } - } - }, - "exports": 41 - }, - "src/command-installer.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "2": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 22 - ] - ], - "bindingType": "variable", - "module": "async" - } - }, - "3": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 3, - 5 - ], - [ - 3, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.0.4" - } - }, - "4": { - "9": { - "name": "mkdirp", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 24 - ] - ], - "bindingType": "variable", - "module": "mkdirp" - } - }, - "5": { - "8": { - "name": "runas", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "module": "runas" - } - }, - "7": { - "17": { - "name": "symlinkCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "sourcePath", - "destinationPath", - "callback" - ], - "range": [ - [ - 7, - 17 - ], - [ - 17, - 0 - ] - ], - "doc": "~Private~" - } - }, - "18": { - "34": { - "name": "symlinkCommandWithPrivilegeSync", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "sourcePath", - "destinationPath" - ], - "range": [ - [ - 18, - 34 - ], - [ - 27, - 0 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "23": { - "name": "getInstallDirectory", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 23 - ], - [ - 32, - 1 - ] - ], - "doc": null - } - }, - "32": { - "11": { - "name": "install", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "commandPath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 32, - 11 - ], - [ - 52, - 1 - ] - ], - "doc": null - } - }, - "52": { - "22": { - "name": "installAtomCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "resourcePath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 52, - 22 - ], - [ - 56, - 1 - ] - ], - "doc": null - } - }, - "56": { - "21": { - "name": "installApmCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "resourcePath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 56, - 21 - ], - [ - 58, - 51 - ] - ], - "doc": null - } - } - }, - "exports": 29 - }, - "src/config.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.0.4" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "3": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1.0.2" - } - }, - "4": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "5": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "module": "async" - } - }, - "6": { - "14": { - "name": "pathWatcher", - "type": "import", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 34 - ] - ], - "bindingType": "variable", - "module": "pathwatcher@^2.0.4" - } - }, - "25": { - "0": { - "type": "class", - "name": "Config", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 36, - 29 - ], - [ - 52, - 8 - ], - [ - 57, - 18 - ], - [ - 72, - 21 - ], - [ - 76, - 23 - ], - [ - 80, - 15 - ], - [ - 91, - 21 - ], - [ - 95, - 15 - ], - [ - 104, - 7 - ], - [ - 114, - 10 - ], - [ - 125, - 18 - ], - [ - 136, - 7 - ], - [ - 152, - 10 - ], - [ - 160, - 18 - ], - [ - 168, - 14 - ], - [ - 178, - 13 - ], - [ - 187, - 17 - ], - [ - 199, - 20 - ], - [ - 211, - 19 - ], - [ - 231, - 11 - ], - [ - 253, - 13 - ], - [ - 256, - 10 - ], - [ - 261, - 8 - ] - ], - "doc": " Public: Used to access all of Atom's configuration details.\n\nAn instance of this class is always available as the `atom.config` global.\n\n## Best practices\n\n* Create your own root keypath using your package's name.\n* Don't depend on (or write to) configuration keys outside of your keypath.\n\n## Example\n\n```coffeescript\natom.config.set('my-package.key', 'value')\natom.config.observe 'my-package.key', ->\n console.log 'My configuration changed:', atom.config.get('my-package.key')\n``` ", - "range": [ - [ - 25, - 0 - ], - [ - 262, - 50 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 29, - 15 - ], - [ - 36, - 1 - ] - ], - "doc": "Private: Created during initialization, available as `atom.config` " - } - }, - "36": { - "29": { - "name": "initializeConfigDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "done" - ], - "range": [ - [ - 36, - 29 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 8 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "18": { - "name": "loadUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 18 - ], - [ - 72, - 1 - ] - ], - "doc": "~Private~" - } - }, - "72": { - "21": { - "name": "observeUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 72, - 21 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "23": { - "name": "unobserveUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 23 - ], - [ - 80, - 1 - ] - ], - "doc": "~Private~" - } - }, - "80": { - "15": { - "name": "setDefaults", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "defaults" - ], - "range": [ - [ - 80, - 15 - ], - [ - 91, - 1 - ] - ], - "doc": "~Private~" - } - }, - "91": { - "21": { - "name": "getUserConfigPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 21 - ], - [ - 95, - 1 - ] - ], - "doc": "Public: Get the {String} path to the config file being used. " - } - }, - "95": { - "15": { - "name": "getSettings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 95, - 15 - ], - [ - 104, - 1 - ] - ], - "doc": "Public: Returns a new {Object} containing all of settings and defaults. " - } - }, - "104": { - "7": { - "name": "get", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 104, - 7 - ], - [ - 114, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key.\n\nkeyPath - The {String} name of the key to retrieve.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `null` if the key doesn't exist in either. " - } - }, - "114": { - "10": { - "name": "getInt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 114, - 10 - ], - [ - 125, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key as an integer.\n\nkeyPath - The {String} name of the key to retrieve\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `NaN` if the key doesn't exist in either. " - } - }, - "125": { - "18": { - "name": "getPositiveInt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "defaultValue" - ], - "range": [ - [ - 125, - 18 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key as a positive integer.\n\nkeyPath - The {String} name of the key to retrieve\ndefaultValue - The integer {Number} to fall back to if the value isn't\n positive, defaults to 0.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `defaultValue` if the key value isn't greater than zero. " - } - }, - "136": { - "7": { - "name": "set", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 136, - 7 - ], - [ - 152, - 1 - ] - ], - "doc": " Public: Sets the value for a configuration setting.\n\nThis value is stored in Atom's internal configuration file.\n\nkeyPath - The {String} name of the key.\nvalue - The value of the setting.\n\nReturns the `value`. " - } - }, - "152": { - "10": { - "name": "toggle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 152, - 10 - ], - [ - 160, - 1 - ] - ], - "doc": " Public: Toggle the value at the key path.\n\nThe new value will be `true` if the value is currently falsy and will be\n`false` if the value is currently truthy.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " - } - }, - "160": { - "18": { - "name": "restoreDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 160, - 18 - ], - [ - 168, - 1 - ] - ], - "doc": " Public: Restore the key path to its default value.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " - } - }, - "168": { - "14": { - "name": "getDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 168, - 14 - ], - [ - 178, - 1 - ] - ], - "doc": " Public: Get the default value of the key path.\n\nkeyPath - The {String} name of the key.\n\nReturns the default value. " - } - }, - "178": { - "13": { - "name": "isDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 178, - 13 - ], - [ - 187, - 1 - ] - ], - "doc": " Public: Is the key path value its default value?\n\nkeyPath - The {String} name of the key.\n\nReturns a {Boolean}, `true` if the current value is the default, `false`\notherwise. " - } - }, - "187": { - "17": { - "name": "pushAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 187, - 17 - ], - [ - 199, - 1 - ] - ], - "doc": " Public: Push the value to the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to push to the array.\n\nReturns the new array length {Number} of the setting. " - } - }, - "199": { - "20": { - "name": "unshiftAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 199, - 20 - ], - [ - 211, - 1 - ] - ], - "doc": " Public: Add the value to the beginning of the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to shift onto the array.\n\nReturns the new array length {Number} of the setting. " - } - }, - "211": { - "19": { - "name": "removeAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 211, - 19 - ], - [ - 231, - 1 - ] - ], - "doc": " Public: Remove the value from the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to remove from the array.\n\nReturns the new array value of the setting. " - } - }, - "231": { - "11": { - "name": "observe", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "options", - "callback" - ], - "range": [ - [ - 231, - 11 - ], - [ - 253, - 1 - ] - ], - "doc": " Public: Establishes an event listener for a given key.\n\n`callback` is fired whenever the value of the key is changed and will\n be fired immediately unless the `callNow` option is `false`.\n\nkeyPath - The {String} name of the key to observe\noptions - An optional {Object} containing the `callNow` key.\ncallback - The {Function} to call when the value of the key changes.\n The first argument will be the new value of the key and the\n  second argument will be an {Object} with a `previous` property\n that is the prior value of the key.\n\nReturns an {Object} with the following keys:\n :off - A {Function} that unobserves the `keyPath` when called. " - } - }, - "253": { - "13": { - "name": "unobserve", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 253, - 13 - ], - [ - 256, - 1 - ] - ], - "doc": " Public: Unobserve all callbacks on a given key.\n\nkeyPath - The {String} name of the key to unobserve. " - } - }, - "256": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 10 - ], - [ - 261, - 1 - ] - ], - "doc": "~Private~" - } - }, - "261": { - "8": { - "name": "save", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 8 - ], - [ - 262, - 50 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 25 - }, - "src/context-menu-manager.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "2": { - "9": { - "name": "remote", - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 24 - ] - ], - "bindingType": "variable", - "module": "remote" - } - }, - "10": { - "0": { - "type": "class", - "name": "ContextMenuManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 33, - 7 - ], - [ - 45, - 17 - ], - [ - 60, - 17 - ], - [ - 66, - 25 - ], - [ - 82, - 38 - ], - [ - 91, - 34 - ], - [ - 105, - 24 - ], - [ - 111, - 16 - ] - ], - "doc": " Public: Provides a registry for commands that you'd like to appear in the\ncontext menu.\n\nAn instance of this class is always available as the `atom.contextMenu`\nglobal. ", - "range": [ - [ - 10, - 0 - ], - [ - 116, - 64 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 33, - 1 - ] - ] - } - }, - "33": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "object", - null - ], - "range": [ - [ - 33, - 7 - ], - [ - 45, - 1 - ] - ], - "doc": " Public: Creates menu definitions from the object specified by the menu\ncson API.\n\nname - The path of the file that contains the menu definitions.\nobject - The 'context-menu' object specified in the menu cson API.\noptions - An {Object} with the following keys:\n :devMode - Determines whether the entries should only be shown when\n the window is in dev mode.\n\nReturns nothing. " - } - }, - "45": { - "17": { - "name": "buildMenuItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "label", - "command" - ], - "range": [ - [ - 45, - 17 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "17": { - "name": "addBySelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "definition", - null - ], - "range": [ - [ - 60, - 17 - ], - [ - 66, - 1 - ] - ], - "doc": " Private: Registers a command to be displayed when the relevant item is right\nclicked.\n\nselector - The css selector for the active element which should include\n the given command in its context menu.\ndefinition - The object containing keys which match the menu template API.\noptions - An {Object} with the following keys:\n :devMode - Indicates whether this command should only appear while the\n editor is in dev mode. " - } - }, - "66": { - "25": { - "name": "definitionsForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element", - null - ], - "range": [ - [ - 66, - 25 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Returns definitions which match the element and devMode. " - } - }, - "82": { - "38": { - "name": "menuTemplateForMostSpecificElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element", - null - ], - "range": [ - [ - 82, - 38 - ], - [ - 91, - 1 - ] - ], - "doc": " Private: Used to generate the context menu for a specific element and it's\nparents.\n\nThe menu items are sorted such that menu items that match closest to the\nactive element are listed first. The further down the list you go, the higher\nup the ancestor hierarchy they match.\n\nelement - The DOM element to generate the menu template for. " - } - }, - "91": { - "34": { - "name": "combinedMenuTemplateForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 91, - 34 - ], - [ - 105, - 1 - ] - ], - "doc": " Private: Returns a menu template for both normal entries as well as\ndevelopment mode entries. " - } - }, - "105": { - "24": { - "name": "executeBuildHandlers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event", - "menuTemplate" - ], - "range": [ - [ - 105, - 24 - ], - [ - 111, - 1 - ] - ], - "doc": " Private: Executes `executeAtBuild` if defined for each menu item with\nthe provided event and then removes the `executeAtBuild` property from\nthe menu item.\n\nThis is useful for commands that need to provide data about the event\nto the command. " - } - }, - "111": { - "16": { - "name": "showForEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 111, - 16 - ], - [ - 116, - 64 - ] - ], - "doc": "Public: Request a context menu to be displayed. " - } - } - }, - "exports": 10 - }, - "src/cursor-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "18": { - "name": "CursorComponent", - "type": "function", - "range": [ - [ - 5, - 18 - ], - [ - 17, - 79 - ] - ] - } - }, - "6": { - "15": { - "name": "'CursorComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 31 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 16, - 1 - ] - ], - "doc": null - } - }, - "16": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 16, - 25 - ], - [ - 17, - 79 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/cursor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "4": { - "0": { - "type": "class", - "name": "CursorView", - "bindingType": "exports", - "classProperties": [ - [ - 5, - 12 - ], - [ - 8, - 16 - ], - [ - 10, - 17 - ], - [ - 13, - 18 - ], - [ - 19, - 17 - ] - ], - "prototypeProperties": [ - [ - 24, - 12 - ], - [ - 25, - 11 - ], - [ - 26, - 15 - ], - [ - 27, - 16 - ], - [ - 28, - 23 - ], - [ - 30, - 14 - ], - [ - 44, - 16 - ], - [ - 48, - 17 - ], - [ - 65, - 12 - ], - [ - 68, - 19 - ], - [ - 71, - 19 - ], - [ - 74, - 20 - ], - [ - 77, - 14 - ], - [ - 86, - 16 - ], - [ - 90, - 17 - ], - [ - 94, - 17 - ], - [ - 98, - 21 - ], - [ - 101, - 21 - ], - [ - 104, - 30 - ], - [ - 109, - 24 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 112, - 31 - ] - ] - } - }, - "5": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 12 - ], - [ - 8, - 1 - ] - ] - } - }, - "8": { - "16": { - "name": "blinkPeriod", - "type": "primitive", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 18 - ] - ], - "bindingType": "classProperty" - } - }, - "10": { - "17": { - "name": "blinkCursors", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 17 - ], - [ - 13, - 1 - ] - ], - "doc": "~Private~" - } - }, - "13": { - "18": { - "name": "startBlinking", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 13, - 18 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "17": { - "name": "stopBlinking", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 19, - 17 - ], - [ - 24, - 1 - ] - ], - "doc": "~Private~" - } - }, - "24": { - "12": { - "name": "blinking", - "type": "primitive", - "range": [ - [ - 24, - 12 - ], - [ - 24, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "25": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 25, - 11 - ], - [ - 25, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "26": { - "15": { - "name": "needsUpdate", - "type": "primitive", - "range": [ - [ - 26, - 15 - ], - [ - 26, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "27": { - "16": { - "name": "needsRemoval", - "type": "primitive", - "range": [ - [ - 27, - 16 - ], - [ - 27, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "28": { - "23": { - "name": "shouldPauseBlinking", - "type": "primitive", - "range": [ - [ - 28, - 23 - ], - [ - 28, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "30": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 30, - 14 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 16 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 17 - ], - [ - 65, - 1 - ] - ], - "doc": "~Private~" - } - }, - "65": { - "12": { - "name": "isHidden", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 65, - 12 - ], - [ - 68, - 1 - ] - ], - "doc": "Private: Override for speed. The base function checks the computedStyle " - } - }, - "68": { - "19": { - "name": "needsAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 19 - ], - [ - 71, - 1 - ] - ], - "doc": "~Private~" - } - }, - "71": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 71, - 19 - ], - [ - 74, - 1 - ] - ], - "doc": "~Private~" - } - }, - "74": { - "20": { - "name": "getPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 20 - ], - [ - 77, - 1 - ] - ], - "doc": "~Private~" - } - }, - "77": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 77, - 14 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "16": { - "name": "stopBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 16 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "17": { - "name": "startBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 17 - ], - [ - 94, - 1 - ] - ], - "doc": "~Private~" - } - }, - "94": { - "17": { - "name": "resetBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 17 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "21": { - "name": "getBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 21 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "21": { - "name": "getScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 21 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "30": { - "name": "removeIdleClassTemporarily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 30 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "24": { - "name": "resetCursorAnimation", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 24 - ], - [ - 112, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/cursor.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "10": { - "0": { - "type": "class", - "name": "Cursor", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 18 - ], - [ - 12, - 18 - ], - [ - 13, - 14 - ], - [ - 14, - 11 - ], - [ - 15, - 19 - ], - [ - 18, - 15 - ], - [ - 49, - 11 - ], - [ - 52, - 18 - ], - [ - 60, - 16 - ], - [ - 70, - 21 - ], - [ - 75, - 21 - ], - [ - 78, - 18 - ], - [ - 89, - 21 - ], - [ - 94, - 21 - ], - [ - 97, - 14 - ], - [ - 101, - 20 - ], - [ - 105, - 14 - ], - [ - 112, - 13 - ], - [ - 122, - 14 - ], - [ - 136, - 16 - ], - [ - 145, - 28 - ], - [ - 158, - 27 - ], - [ - 170, - 16 - ], - [ - 176, - 19 - ], - [ - 180, - 18 - ], - [ - 184, - 16 - ], - [ - 188, - 19 - ], - [ - 192, - 16 - ], - [ - 196, - 19 - ], - [ - 201, - 24 - ], - [ - 205, - 10 - ], - [ - 217, - 12 - ], - [ - 233, - 12 - ], - [ - 247, - 13 - ], - [ - 256, - 13 - ], - [ - 260, - 16 - ], - [ - 264, - 31 - ], - [ - 268, - 25 - ], - [ - 273, - 30 - ], - [ - 283, - 25 - ], - [ - 293, - 25 - ], - [ - 297, - 19 - ], - [ - 301, - 25 - ], - [ - 305, - 19 - ], - [ - 310, - 29 - ], - [ - 315, - 30 - ], - [ - 320, - 26 - ], - [ - 336, - 43 - ], - [ - 358, - 41 - ], - [ - 380, - 41 - ], - [ - 409, - 37 - ], - [ - 430, - 40 - ], - [ - 447, - 29 - ], - [ - 457, - 29 - ], - [ - 461, - 34 - ], - [ - 466, - 38 - ], - [ - 470, - 45 - ], - [ - 484, - 49 - ], - [ - 502, - 34 - ], - [ - 506, - 24 - ], - [ - 510, - 23 - ], - [ - 514, - 18 - ], - [ - 521, - 17 - ], - [ - 527, - 13 - ], - [ - 532, - 32 - ] - ], - "doc": " Public: The `Cursor` class represents the little blinking line identifying\nwhere text can be inserted.\n\nCursors belong to {Editor}s and have some metadata attached in the form\nof a {Marker}. ", - "range": [ - [ - 10, - 0 - ], - [ - 540, - 50 - ] - ] - } - }, - "11": { - "18": { - "name": "screenPosition", - "type": "primitive", - "range": [ - [ - 11, - 18 - ], - [ - 11, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "18": { - "name": "bufferPosition", - "type": "primitive", - "range": [ - [ - 12, - 18 - ], - [ - 12, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "13": { - "14": { - "name": "goalColumn", - "type": "primitive", - "range": [ - [ - 13, - 14 - ], - [ - 13, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 14, - 11 - ], - [ - 14, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "15": { - "19": { - "name": "needsAutoscroll", - "type": "primitive", - "range": [ - [ - 15, - 19 - ], - [ - 15, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 18, - 15 - ], - [ - 49, - 1 - ] - ], - "doc": "Private: Instantiated by an {Editor} " - } - }, - "49": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 11 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "18": { - "name": "changePosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options", - "fn" - ], - "range": [ - [ - 52, - 18 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "16": { - "name": "getPixelRect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 60, - 16 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "21": { - "name": "setScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 70, - 21 - ], - [ - 75, - 1 - ] - ], - "doc": " Public: Moves a cursor to a given screen position.\n\nscreenPosition - An {Array} of two numbers: the screen row, and the screen\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " - } - }, - "75": { - "21": { - "name": "getScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 75, - 21 - ], - [ - 78, - 1 - ] - ], - "doc": "Public: Returns the screen position of the cursor as an Array. " - } - }, - "78": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 78, - 18 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "setBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 89, - 21 - ], - [ - 94, - 1 - ] - ], - "doc": " Public: Moves a cursor to a given buffer position.\n\nbufferPosition - An {Array} of two numbers: the buffer row, and the buffer\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " - } - }, - "94": { - "21": { - "name": "getBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 21 - ], - [ - 97, - 1 - ] - ], - "doc": "Public: Returns the current buffer position as an Array. " - } - }, - "97": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 97, - 14 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "20": { - "name": "updateVisibility", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 20 - ], - [ - 105, - 1 - ] - ], - "doc": "Public: If the marker range is empty, the cursor is marked as being visible. " - } - }, - "105": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 105, - 14 - ], - [ - 112, - 1 - ] - ], - "doc": "Public: Sets whether the cursor is visible. " - } - }, - "112": { - "13": { - "name": "isVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 112, - 13 - ], - [ - 112, - 23 - ] - ], - "doc": "Public: Returns the visibility of the cursor. " - } - }, - "122": { - "14": { - "name": "wordRegExp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 122, - 14 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Get the RegExp used by the cursor to determine what a \"word\" is.\n\noptions: An optional {Object} with the following keys:\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the regex.\n (default: true)\n\nReturns a {RegExp}. " - } - }, - "136": { - "16": { - "name": "isLastCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 16 - ], - [ - 145, - 1 - ] - ], - "doc": " Public: Identifies if this cursor is the last in the {Editor}.\n\n\"Last\" is defined as the most recently added cursor.\n\nReturns a {Boolean}. " - } - }, - "145": { - "28": { - "name": "isSurroundedByWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 145, - 28 - ], - [ - 158, - 1 - ] - ], - "doc": " Public: Identifies if the cursor is surrounded by whitespace.\n\n\"Surrounded\" here means that the character directly before and after the\ncursor are both whitespace.\n\nReturns a {Boolean}. " - } - }, - "158": { - "27": { - "name": "isBetweenWordAndNonWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 27 - ], - [ - 170, - 1 - ] - ], - "doc": " Public: Returns whether the cursor is currently between a word and non-word\ncharacter. The non-word characters are defined by the\n`editor.nonWordCharacters` config value.\n\nThis method returns false if the character before or after the cursor is\nwhitespace.\n\nReturns a Boolean. " - } - }, - "170": { - "16": { - "name": "isInsideWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 170, - 16 - ], - [ - 176, - 1 - ] - ], - "doc": "Public: Returns whether this cursor is between a word's start and end. " - } - }, - "176": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 176, - 19 - ], - [ - 180, - 1 - ] - ], - "doc": "Public: Prevents this cursor from causing scrolling. " - } - }, - "180": { - "18": { - "name": "clearSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 180, - 18 - ], - [ - 184, - 1 - ] - ], - "doc": "Public: Deselects the current selection. " - } - }, - "184": { - "16": { - "name": "getScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 184, - 16 - ], - [ - 188, - 1 - ] - ], - "doc": "Public: Returns the cursor's current screen row. " - } - }, - "188": { - "19": { - "name": "getScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 19 - ], - [ - 192, - 1 - ] - ], - "doc": "Public: Returns the cursor's current screen column. " - } - }, - "192": { - "16": { - "name": "getBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 192, - 16 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Retrieves the cursor's current buffer row. " - } - }, - "196": { - "19": { - "name": "getBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 196, - 19 - ], - [ - 201, - 1 - ] - ], - "doc": "Public: Returns the cursor's current buffer column. " - } - }, - "201": { - "24": { - "name": "getCurrentBufferLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 201, - 24 - ], - [ - 205, - 1 - ] - ], - "doc": " Public: Returns the cursor's current buffer row of text excluding its line\nending. " - } - }, - "205": { - "10": { - "name": "moveUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount", - null - ], - "range": [ - [ - 205, - 10 - ], - [ - 217, - 1 - ] - ], - "doc": "Public: Moves the cursor up one screen row. " - } - }, - "217": { - "12": { - "name": "moveDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount", - null - ], - "range": [ - [ - 217, - 12 - ], - [ - 233, - 1 - ] - ], - "doc": "Public: Moves the cursor down one screen row. " - } - }, - "233": { - "12": { - "name": "moveLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 233, - 12 - ], - [ - 247, - 1 - ] - ], - "doc": " Public: Moves the cursor left one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the left of the selection if a\n selection exists. " - } - }, - "247": { - "13": { - "name": "moveRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 247, - 13 - ], - [ - 256, - 1 - ] - ], - "doc": " Public: Moves the cursor right one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the right of the selection if a\n selection exists. " - } - }, - "256": { - "13": { - "name": "moveToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 13 - ], - [ - 260, - 1 - ] - ], - "doc": "Public: Moves the cursor to the top of the buffer. " - } - }, - "260": { - "16": { - "name": "moveToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 16 - ], - [ - 264, - 1 - ] - ], - "doc": "Public: Moves the cursor to the bottom of the buffer. " - } - }, - "264": { - "31": { - "name": "moveToBeginningOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 264, - 31 - ], - [ - 268, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the line. " - } - }, - "268": { - "25": { - "name": "moveToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 268, - 25 - ], - [ - 273, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the buffer line. " - } - }, - "273": { - "30": { - "name": "moveToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 273, - 30 - ], - [ - 283, - 1 - ] - ], - "doc": " Public: Moves the cursor to the beginning of the first character in the\nline. " - } - }, - "283": { - "25": { - "name": "skipLeadingWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 283, - 25 - ], - [ - 293, - 1 - ] - ], - "doc": " Public: Moves the cursor to the beginning of the buffer line, skipping all\nwhitespace. " - } - }, - "293": { - "25": { - "name": "moveToEndOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 293, - 25 - ], - [ - 297, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the line. " - } - }, - "297": { - "19": { - "name": "moveToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 19 - ], - [ - 301, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the buffer line. " - } - }, - "301": { - "25": { - "name": "moveToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 301, - 25 - ], - [ - 305, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the word. " - } - }, - "305": { - "19": { - "name": "moveToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 305, - 19 - ], - [ - 310, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the word. " - } - }, - "310": { - "29": { - "name": "moveToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 310, - 29 - ], - [ - 315, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the next word. " - } - }, - "315": { - "30": { - "name": "moveToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 30 - ], - [ - 320, - 1 - ] - ], - "doc": "Public: Moves the cursor to the previous word boundary. " - } - }, - "320": { - "26": { - "name": "moveToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 320, - 26 - ], - [ - 336, - 1 - ] - ], - "doc": "Public: Moves the cursor to the next word boundary. " - } - }, - "336": { - "43": { - "name": "getBeginningOfCurrentWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 336, - 43 - ], - [ - 358, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the current word starts.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n :allowPrevious - A {Boolean} indicating whether the beginning of the\n previous word can be returned.\n\nReturns a {Range}. " - } - }, - "358": { - "41": { - "name": "getPreviousWordBoundaryBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 358, - 41 - ], - [ - 380, - 1 - ] - ], - "doc": " Public: Retrieves buffer position of previous word boundary. It might be on\nthe current word, or the previous word. " - } - }, - "380": { - "41": { - "name": "getMoveNextWordBoundaryBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 380, - 41 - ], - [ - 409, - 1 - ] - ], - "doc": " Public: Retrieves buffer position of the next word boundary. It might be on\nthe current word, or the previous word. " - } - }, - "409": { - "37": { - "name": "getEndOfCurrentWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 409, - 37 - ], - [ - 430, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the current word ends.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp})\n :includeNonWordCharacters - A Boolean indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n\nReturns a {Range}. " - } - }, - "430": { - "40": { - "name": "getBeginningOfNextWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 430, - 40 - ], - [ - 447, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the next word starts.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n\nReturns a {Range}. " - } - }, - "447": { - "29": { - "name": "getCurrentWordBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 447, - 29 - ], - [ - 457, - 1 - ] - ], - "doc": " Public: Returns the buffer Range occupied by the word located under the cursor.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}). " - } - }, - "457": { - "29": { - "name": "getCurrentLineBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 457, - 29 - ], - [ - 461, - 1 - ] - ], - "doc": " Public: Returns the buffer Range for the current line.\n\noptions -\n :includeNewline: - A {Boolean} which controls whether the Range should\n include the newline. " - } - }, - "461": { - "34": { - "name": "moveToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 461, - 34 - ], - [ - 466, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the next paragraph " - } - }, - "466": { - "38": { - "name": "moveToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 466, - 38 - ], - [ - 470, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the previous paragraph " - } - }, - "470": { - "45": { - "name": "getBeginningOfNextParagraphBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 470, - 45 - ], - [ - 484, - 1 - ] - ], - "doc": "~Private~" - } - }, - "484": { - "49": { - "name": "getBeginningOfPreviousParagraphBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 484, - 49 - ], - [ - 502, - 1 - ] - ], - "doc": "~Private~" - } - }, - "502": { - "34": { - "name": "getCurrentParagraphBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 502, - 34 - ], - [ - 506, - 1 - ] - ], - "doc": " Public: Retrieves the range for the current paragraph.\n\nA paragraph is defined as a block of text surrounded by empty lines.\n\nReturns a {Range}. " - } - }, - "506": { - "24": { - "name": "getCurrentWordPrefix", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 506, - 24 - ], - [ - 510, - 1 - ] - ], - "doc": "Public: Returns the characters preceding the cursor in the current word. " - } - }, - "510": { - "23": { - "name": "isAtBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 510, - 23 - ], - [ - 514, - 1 - ] - ], - "doc": "Public: Returns whether the cursor is at the start of a line. " - } - }, - "514": { - "18": { - "name": "getIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 514, - 18 - ], - [ - 521, - 1 - ] - ], - "doc": "Public: Returns the indentation level of the current line. " - } - }, - "521": { - "17": { - "name": "isAtEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 521, - 17 - ], - [ - 527, - 1 - ] - ], - "doc": "Public: Returns whether the cursor is on the line return character. " - } - }, - "527": { - "13": { - "name": "getScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 527, - 13 - ], - [ - 532, - 1 - ] - ], - "doc": " Public: Retrieves the grammar's token scopes for the line.\n\nReturns an {Array} of {String}s. " - } - }, - "532": { - "32": { - "name": "hasPrecedingCharactersOnLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 532, - 32 - ], - [ - 540, - 50 - ] - ], - "doc": " Public: Returns true if this cursor has no non-whitespace characters before\nits current position. " - } - } - }, - "exports": 10 - }, - "src/cursors-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "debounce", - "exportsProperty": "debounce" - }, - "11": { - "type": "import", - "range": [ - [ - 2, - 11 - ], - [ - 2, - 17 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "toArray", - "exportsProperty": "toArray" - }, - "20": { - "type": "import", - "range": [ - [ - 2, - 20 - ], - [ - 2, - 39 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "42": { - "type": "import", - "range": [ - [ - 2, - 42 - ], - [ - 2, - 48 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "isEqual", - "exportsProperty": "isEqual" - } - }, - "3": { - "18": { - "name": "SubscriberMixin", - "type": "import", - "range": [ - [ - 3, - 18 - ], - [ - 3, - 45 - ] - ], - "bindingType": "variable", - "path": "./subscriber-mixin" - } - }, - "4": { - "18": { - "name": "CursorComponent", - "type": "import", - "range": [ - [ - 4, - 18 - ], - [ - 4, - 45 - ] - ], - "bindingType": "variable", - "path": "./cursor-component" - } - }, - "7": { - "19": { - "name": "CursorsComponent", - "type": "function", - "range": [ - [ - 7, - 19 - ], - [ - 60, - 37 - ] - ] - } - }, - "8": { - "15": { - "name": "'CursorsComponent'", - "type": "primitive", - "range": [ - [ - 8, - 15 - ], - [ - 8, - 32 - ] - ] - } - }, - "9": { - "10": { - "type": "primitive", - "range": [ - [ - 9, - 10 - ], - [ - 9, - 26 - ] - ] - } - }, - "11": { - "29": { - "type": "primitive", - "range": [ - [ - 11, - 29 - ], - [ - 11, - 32 - ] - ] - } - }, - "13": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 10 - ], - [ - 25, - 1 - ] - ], - "doc": null - } - }, - "25": { - "19": { - "name": "getInitialState", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 19 - ], - [ - 28, - 1 - ] - ], - "doc": null - } - }, - "28": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 21 - ], - [ - 31, - 1 - ] - ], - "doc": null - } - }, - "31": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 31, - 24 - ], - [ - 34, - 1 - ] - ], - "doc": null - } - }, - "34": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps", - "newState" - ], - "range": [ - [ - 34, - 25 - ], - [ - 38, - 1 - ] - ], - "doc": null - } - }, - "38": { - "23": { - "name": "componentWillUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 38, - 23 - ], - [ - 45, - 1 - ] - ], - "doc": null - } - }, - "45": { - "24": { - "name": "startBlinkingCursors", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 24 - ], - [ - 48, - 1 - ] - ], - "doc": null - } - }, - "48": { - "34": { - "type": "primitive", - "range": [ - [ - 48, - 34 - ], - [ - 48, - 37 - ] - ] - } - }, - "50": { - "23": { - "name": "stopBlinkingCursors", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 23 - ], - [ - 53, - 1 - ] - ], - "doc": null - } - }, - "53": { - "21": { - "name": "toggleCursorBlink", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 21 - ], - [ - 56, - 1 - ] - ], - "doc": null - } - }, - "56": { - "23": { - "name": "pauseCursorBlinking", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 23 - ], - [ - 60, - 37 - ] - ], - "doc": null - } - } - }, - "exports": 7 - }, - "src/custom-event-mixin.coffee": { - "objects": { - "2": { - "2": { - "type": "primitive", - "range": [ - [ - 2, - 2 - ], - [ - 14, - 52 - ] - ] - }, - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 2, - 22 - ], - [ - 5, - 1 - ] - ], - "doc": null - } - }, - "5": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 24 - ], - [ - 10, - 1 - ] - ], - "doc": null - } - }, - "10": { - "27": { - "name": "addCustomEventListeners", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "customEventListeners" - ], - "range": [ - [ - 10, - 27 - ], - [ - 14, - 52 - ] - ], - "doc": null - } - } - }, - "exports": 2 - }, - "src/decoration.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Subscriber", - "exportsProperty": "Subscriber" - }, - "13": { - "type": "import", - "range": [ - [ - 1, - 13 - ], - [ - 1, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "3": { - "12": { - "name": "0", - "type": "primitive", - "range": [ - [ - 3, - 12 - ], - [ - 3, - 12 - ] - ] - } - }, - "4": { - "9": { - "name": "nextId", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 4, - 9 - ], - [ - 4, - 22 - ] - ] - } - }, - "40": { - "0": { - "type": "class", - "name": "Decoration", - "bindingType": "exports", - "classProperties": [ - [ - 43, - 11 - ] - ], - "prototypeProperties": [ - [ - 49, - 15 - ], - [ - 59, - 11 - ], - [ - 70, - 10 - ], - [ - 79, - 13 - ], - [ - 82, - 13 - ], - [ - 89, - 10 - ], - [ - 92, - 18 - ], - [ - 98, - 9 - ], - [ - 104, - 20 - ] - ], - "doc": " Public: Represents a decoration that follows a {Marker}. A decoration is\nbasically a visual representation of a marker. It allows you to add CSS\nclasses to line numbers in the gutter, lines, and add selection-line regions\naround marked ranges of text.\n\n{Decoration} objects are not meant to be created directly, but created with\n{Editor::decorateMarker}. eg.\n\n```coffee\nrange = editor.getSelectedBufferRange() # any range you like\nmarker = editor.markBufferRange(range)\ndecoration = editor.decorateMarker(marker, {type: 'line', class: 'my-line-class'})\n```\n\nBest practice for destorying the decoration is by destroying the {Marker}.\n\n```\nmarker.destroy()\n```\n\nYou should only use {Decoration::destroy} when you still need or do not own\nthe marker.\n\n### IDs\nEach {Decoration} has a unique ID available via `decoration.id`.\n\n### Events\nA couple of events are emitted:\n\n* `destroyed`: When the {Decoration} is destroyed\n* `updated`: When the {Decoration} is updated via {Decoration::update}.\n Event object has properties `oldParams` and `newParams`\n\n ", - "range": [ - [ - 40, - 0 - ], - [ - 106, - 8 - ] - ] - } - }, - "43": { - "11": { - "name": "isType", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "decorationParams", - "type" - ], - "range": [ - [ - 43, - 11 - ], - [ - 49, - 1 - ] - ], - "doc": "~Private~" - } - }, - "49": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null, - null - ], - "range": [ - [ - 49, - 15 - ], - [ - 59, - 1 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 11 - ], - [ - 70, - 1 - ] - ], - "doc": " Public: Destroy this marker.\n\nIf you own the marker, you should use {Marker::destroy} which will destroy\nthis decoration. " - } - }, - "70": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "newParams" - ], - "range": [ - [ - 70, - 10 - ], - [ - 79, - 1 - ] - ], - "doc": " Public: Update the marker with new params. Allows you to change the decoration's class.\n\n```\ndecoration.update({type: 'gutter', class: 'my-new-class'})\n``` " - } - }, - "79": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 13 - ], - [ - 79, - 22 - ] - ], - "doc": "Public: Returns the marker associated with this {Decoration} " - } - }, - "82": { - "13": { - "name": "getParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 13 - ], - [ - 82, - 22 - ] - ], - "doc": "Public: Returns the {Decoration}'s params. " - } - }, - "89": { - "10": { - "name": "isType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "type" - ], - "range": [ - [ - 89, - 10 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "18": { - "name": "matchesPattern", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decorationPattern" - ], - "range": [ - [ - 92, - 18 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "9": { - "name": "flash", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass", - "duration" - ], - "range": [ - [ - 98, - 9 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "20": { - "name": "consumeNextFlash", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 20 - ], - [ - 106, - 8 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 40 - }, - "src/deserializer-manager.coffee": { - "objects": { - "20": { - "0": { - "type": "class", - "name": "DeserializerManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 21, - 15 - ], - [ - 27, - 7 - ], - [ - 33, - 10 - ], - [ - 41, - 15 - ], - [ - 54, - 7 - ] - ], - "doc": " Public: Manages the deserializers used for serialized state\n\nAn instance of this class is always available as the `atom.deserializers`\nglobal.\n\n### Registering a deserializer\n\n```coffee\nclass MyPackageView extends View\n atom.deserializers.add(this)\n\n @deserialize: (state) ->\n new MyPackageView(state)\n\n constructor: (@state) ->\n\n serialize: ->\n @state\n``` ", - "range": [ - [ - 20, - 0 - ], - [ - 58, - 24 - ] - ] - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 15 - ], - [ - 27, - 1 - ] - ] - } - }, - "27": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "classes" - ], - "range": [ - [ - 27, - 7 - ], - [ - 33, - 1 - ] - ], - "doc": " Public: Register the given class(es) as deserializers.\n\nclasses - One or more classes to register. " - } - }, - "33": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "classes" - ], - "range": [ - [ - 33, - 10 - ], - [ - 41, - 1 - ] - ], - "doc": " Public: Remove the given class(es) as deserializers.\n\nclasses - One or more classes to remove. " - } - }, - "41": { - "15": { - "name": "deserialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state", - "params" - ], - "range": [ - [ - 41, - 15 - ], - [ - 54, - 1 - ] - ], - "doc": " Public: Deserialize the state and params.\n\nstate - The state {Object} to deserialize.\nparams - The params {Object} to pass as the second arguments to the\n deserialize method of the deserializer. " - } - }, - "54": { - "7": { - "name": "get", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 54, - 7 - ], - [ - 58, - 24 - ] - ], - "doc": " Private: Get the deserializer for the state.\n\nstate - The state {Object} being deserialized. " - } - } - }, - "exports": 20 - }, - "src/display-buffer-marker.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 2, - 10 - ], - [ - 2, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "5": { - "0": { - "type": "class", - "name": "DisplayBufferMarker", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 9, - 28 - ], - [ - 10, - 25 - ], - [ - 11, - 25 - ], - [ - 12, - 25 - ], - [ - 13, - 25 - ], - [ - 14, - 12 - ], - [ - 16, - 15 - ], - [ - 27, - 8 - ], - [ - 33, - 18 - ], - [ - 40, - 18 - ], - [ - 46, - 18 - ], - [ - 53, - 18 - ], - [ - 56, - 17 - ], - [ - 62, - 25 - ], - [ - 69, - 25 - ], - [ - 76, - 25 - ], - [ - 83, - 25 - ], - [ - 89, - 25 - ], - [ - 96, - 25 - ], - [ - 103, - 25 - ], - [ - 110, - 25 - ], - [ - 117, - 26 - ], - [ - 124, - 26 - ], - [ - 131, - 24 - ], - [ - 138, - 24 - ], - [ - 146, - 13 - ], - [ - 150, - 13 - ], - [ - 153, - 11 - ], - [ - 157, - 14 - ], - [ - 162, - 11 - ], - [ - 169, - 15 - ], - [ - 172, - 17 - ], - [ - 175, - 17 - ], - [ - 178, - 21 - ], - [ - 183, - 11 - ], - [ - 187, - 11 - ], - [ - 191, - 11 - ], - [ - 195, - 11 - ], - [ - 198, - 13 - ], - [ - 202, - 19 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 230, - 23 - ] - ] - } - }, - "9": { - "28": { - "name": "bufferMarkerSubscription", - "type": "primitive", - "range": [ - [ - 9, - 28 - ], - [ - 9, - 31 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "25": { - "name": "oldHeadBufferPosition", - "type": "primitive", - "range": [ - [ - 10, - 25 - ], - [ - 10, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "11": { - "25": { - "name": "oldHeadScreenPosition", - "type": "primitive", - "range": [ - [ - 11, - 25 - ], - [ - 11, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "25": { - "name": "oldTailBufferPosition", - "type": "primitive", - "range": [ - [ - 12, - 25 - ], - [ - 12, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "13": { - "25": { - "name": "oldTailScreenPosition", - "type": "primitive", - "range": [ - [ - 13, - 25 - ], - [ - 13, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "12": { - "name": "wasValid", - "type": "primitive", - "range": [ - [ - 14, - 12 - ], - [ - 14, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 16, - 15 - ], - [ - 27, - 1 - ] - ], - "doc": "~Private~" - } - }, - "27": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 27, - 8 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 33, - 18 - ], - [ - 40, - 1 - ] - ], - "doc": " Private: Gets the screen range of the display marker.\n\nReturns a {Range}. " - } - }, - "40": { - "18": { - "name": "setScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 40, - 18 - ], - [ - 46, - 1 - ] - ], - "doc": " Private: Modifies the screen range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " - } - }, - "46": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 46, - 18 - ], - [ - 53, - 1 - ] - ], - "doc": " Private: Gets the buffer range of the display marker.\n\nReturns a {Range}. " - } - }, - "53": { - "18": { - "name": "setBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 53, - 18 - ], - [ - 56, - 1 - ] - ], - "doc": " Private: Modifies the buffer range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " - } - }, - "56": { - "17": { - "name": "getPixelRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 17 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "25": { - "name": "getHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 62, - 25 - ], - [ - 69, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's head.\n\nReturns a {Point}. " - } - }, - "69": { - "25": { - "name": "setHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 69, - 25 - ], - [ - 76, - 1 - ] - ], - "doc": " Private: Sets the screen position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "76": { - "25": { - "name": "getHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 25 - ], - [ - 83, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's head.\n\nReturns a {Point}. " - } - }, - "83": { - "25": { - "name": "setHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 83, - 25 - ], - [ - 89, - 1 - ] - ], - "doc": " Private: Sets the buffer position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "89": { - "25": { - "name": "getTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 25 - ], - [ - 96, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's tail.\n\nReturns a {Point}. " - } - }, - "96": { - "25": { - "name": "setTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 96, - 25 - ], - [ - 103, - 1 - ] - ], - "doc": " Private: Sets the screen position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "103": { - "25": { - "name": "getTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 103, - 25 - ], - [ - 110, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's tail.\n\nReturns a {Point}. " - } - }, - "110": { - "25": { - "name": "setTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 110, - 25 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: Sets the buffer position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "117": { - "26": { - "name": "getStartScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 26 - ], - [ - 124, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndScreenPosition}.\n\nReturns a {Point}. " - } - }, - "124": { - "26": { - "name": "getStartBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 26 - ], - [ - 131, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndBufferPosition}.\n\nReturns a {Point}. " - } - }, - "131": { - "24": { - "name": "getEndScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 131, - 24 - ], - [ - 138, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartScreenPosition}.\n\nReturns a {Point}. " - } - }, - "138": { - "24": { - "name": "getEndBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 24 - ], - [ - 146, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartBufferPosition}.\n\nReturns a {Point}. " - } - }, - "146": { - "13": { - "name": "plantTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 146, - 13 - ], - [ - 150, - 1 - ] - ], - "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " - } - }, - "150": { - "13": { - "name": "clearTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 150, - 13 - ], - [ - 153, - 1 - ] - ], - "doc": "Private: Removes the tail from the marker. " - } - }, - "153": { - "11": { - "name": "hasTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 153, - 11 - ], - [ - 157, - 1 - ] - ], - "doc": "~Private~" - } - }, - "157": { - "14": { - "name": "isReversed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 157, - 14 - ], - [ - 162, - 1 - ] - ], - "doc": "Private: Returns whether the head precedes the tail in the buffer " - } - }, - "162": { - "11": { - "name": "isValid", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 11 - ], - [ - 169, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the marker is valid. Markers can be\ninvalidated when a region surrounding them in the buffer is changed. " - } - }, - "169": { - "15": { - "name": "isDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 169, - 15 - ], - [ - 172, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the marker has been destroyed. A marker\ncan be invalid without being destroyed, in which case undoing the invalidating\noperation would restore the marker. Once a marker is destroyed by calling\n{Marker::destroy}, no undo/redo operation can ever bring it back. " - } - }, - "172": { - "17": { - "name": "getAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 172, - 17 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "17": { - "name": "setAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 175, - 17 - ], - [ - 178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "178": { - "21": { - "name": "matchesAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 178, - 21 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 183, - 11 - ], - [ - 187, - 1 - ] - ], - "doc": "Private: Destroys the marker " - } - }, - "187": { - "11": { - "name": "isEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 187, - 11 - ], - [ - 191, - 1 - ] - ], - "doc": "~Private~" - } - }, - "191": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 191, - 11 - ], - [ - 195, - 1 - ] - ], - "doc": "~Private~" - } - }, - "195": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 195, - 11 - ], - [ - 198, - 1 - ] - ], - "doc": "Private: Returns a {String} representation of the marker " - } - }, - "198": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 198, - 13 - ], - [ - 202, - 1 - ] - ], - "doc": "~Private~" - } - }, - "202": { - "19": { - "name": "notifyObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 202, - 19 - ], - [ - 230, - 23 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "src/display-buffer.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "2": { - "7": { - "name": "guid", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "guid" - } - }, - "3": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "6": { - "18": { - "name": "TokenizedBuffer", - "type": "import", - "range": [ - [ - 6, - 18 - ], - [ - 6, - 45 - ] - ], - "bindingType": "variable", - "path": "./tokenized-buffer" - } - }, - "7": { - "9": { - "name": "RowMap", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 27 - ] - ], - "bindingType": "variable", - "path": "./row-map" - } - }, - "8": { - "7": { - "name": "Fold", - "type": "import", - "range": [ - [ - 8, - 7 - ], - [ - 8, - 22 - ] - ], - "bindingType": "variable", - "path": "./fold" - } - }, - "9": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 9, - 8 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "10": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "11": { - "22": { - "name": "DisplayBufferMarker", - "type": "import", - "range": [ - [ - 11, - 22 - ], - [ - 11, - 54 - ] - ], - "bindingType": "variable", - "path": "./display-buffer-marker" - } - }, - "13": { - "0": { - "type": "class", - "name": "BufferToScreenConversionError", - "classProperties": [], - "prototypeProperties": [ - [ - 14, - 15 - ] - ], - "doc": "~Private~", - "range": [ - [ - 13, - 0 - ], - [ - 17, - 0 - ] - ] - } - }, - "14": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 14, - 15 - ], - [ - 17, - 0 - ] - ] - } - }, - "19": { - "0": { - "type": "class", - "name": "DisplayBuffer", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 34, - 24 - ], - [ - 35, - 26 - ], - [ - 36, - 29 - ], - [ - 37, - 26 - ], - [ - 38, - 36 - ], - [ - 40, - 15 - ], - [ - 70, - 19 - ], - [ - 78, - 21 - ], - [ - 82, - 8 - ], - [ - 91, - 24 - ], - [ - 97, - 15 - ], - [ - 104, - 28 - ], - [ - 115, - 14 - ], - [ - 117, - 27 - ], - [ - 118, - 27 - ], - [ - 120, - 29 - ], - [ - 121, - 29 - ], - [ - 123, - 32 - ], - [ - 124, - 32 - ], - [ - 126, - 29 - ], - [ - 127, - 29 - ], - [ - 129, - 13 - ], - [ - 138, - 13 - ], - [ - 140, - 19 - ], - [ - 146, - 18 - ], - [ - 152, - 26 - ], - [ - 160, - 24 - ], - [ - 167, - 12 - ], - [ - 176, - 12 - ], - [ - 183, - 16 - ], - [ - 184, - 16 - ], - [ - 190, - 19 - ], - [ - 193, - 19 - ], - [ - 194, - 19 - ], - [ - 198, - 17 - ], - [ - 199, - 17 - ], - [ - 206, - 20 - ], - [ - 209, - 18 - ], - [ - 210, - 18 - ], - [ - 214, - 25 - ], - [ - 215, - 25 - ], - [ - 217, - 23 - ], - [ - 218, - 23 - ], - [ - 224, - 18 - ], - [ - 226, - 22 - ], - [ - 229, - 23 - ], - [ - 237, - 29 - ], - [ - 244, - 22 - ], - [ - 249, - 26 - ], - [ - 253, - 25 - ], - [ - 256, - 19 - ], - [ - 261, - 18 - ], - [ - 264, - 22 - ], - [ - 273, - 29 - ], - [ - 277, - 38 - ], - [ - 281, - 23 - ], - [ - 311, - 26 - ], - [ - 314, - 26 - ], - [ - 317, - 27 - ], - [ - 333, - 16 - ], - [ - 339, - 16 - ], - [ - 343, - 15 - ], - [ - 346, - 15 - ], - [ - 351, - 25 - ], - [ - 359, - 25 - ], - [ - 367, - 21 - ], - [ - 378, - 14 - ], - [ - 387, - 16 - ], - [ - 393, - 12 - ], - [ - 396, - 22 - ], - [ - 406, - 27 - ], - [ - 416, - 14 - ], - [ - 422, - 23 - ], - [ - 425, - 23 - ], - [ - 429, - 21 - ], - [ - 435, - 19 - ], - [ - 446, - 34 - ], - [ - 454, - 28 - ], - [ - 466, - 34 - ], - [ - 477, - 34 - ], - [ - 482, - 34 - ], - [ - 493, - 28 - ], - [ - 502, - 25 - ], - [ - 505, - 29 - ], - [ - 513, - 25 - ], - [ - 521, - 29 - ], - [ - 532, - 29 - ], - [ - 538, - 28 - ], - [ - 542, - 34 - ], - [ - 561, - 34 - ], - [ - 581, - 34 - ], - [ - 587, - 16 - ], - [ - 593, - 14 - ], - [ - 599, - 20 - ], - [ - 605, - 23 - ], - [ - 617, - 35 - ], - [ - 651, - 35 - ], - [ - 661, - 27 - ], - [ - 664, - 33 - ], - [ - 672, - 26 - ], - [ - 678, - 14 - ], - [ - 684, - 14 - ], - [ - 688, - 17 - ], - [ - 704, - 22 - ], - [ - 740, - 18 - ], - [ - 758, - 20 - ], - [ - 761, - 19 - ], - [ - 764, - 32 - ], - [ - 771, - 18 - ], - [ - 793, - 20 - ], - [ - 804, - 33 - ], - [ - 810, - 31 - ], - [ - 818, - 21 - ], - [ - 826, - 13 - ], - [ - 836, - 14 - ], - [ - 839, - 18 - ], - [ - 848, - 19 - ], - [ - 858, - 19 - ], - [ - 867, - 22 - ], - [ - 876, - 22 - ], - [ - 882, - 17 - ], - [ - 891, - 14 - ], - [ - 912, - 15 - ], - [ - 916, - 33 - ], - [ - 954, - 18 - ], - [ - 957, - 19 - ], - [ - 960, - 27 - ], - [ - 963, - 24 - ], - [ - 966, - 25 - ], - [ - 970, - 32 - ], - [ - 974, - 13 - ], - [ - 979, - 12 - ], - [ - 984, - 31 - ], - [ - 989, - 21 - ], - [ - 1015, - 20 - ], - [ - 1061, - 21 - ], - [ - 1083, - 22 - ], - [ - 1088, - 30 - ], - [ - 1093, - 29 - ], - [ - 1097, - 23 - ], - [ - 1101, - 17 - ] - ], - "doc": "~Private~", - "range": [ - [ - 19, - 0 - ], - [ - 1102, - 31 - ] - ] - } - }, - "34": { - "24": { - "name": "verticalScrollMargin", - "type": "primitive", - "range": [ - [ - 34, - 24 - ], - [ - 34, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "35": { - "26": { - "name": "horizontalScrollMargin", - "type": "primitive", - "range": [ - [ - 35, - 26 - ], - [ - 35, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "36": { - "29": { - "name": "horizontalScrollbarHeight", - "type": "primitive", - "range": [ - [ - 36, - 29 - ], - [ - 36, - 30 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "37": { - "26": { - "name": "verticalScrollbarWidth", - "type": "primitive", - "range": [ - [ - 37, - 26 - ], - [ - 37, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "38": { - "36": { - "name": "scopedCharacterWidthsChangeCount", - "type": "primitive", - "range": [ - [ - 38, - 36 - ], - [ - 38, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "40": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 40, - 15 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 70, - 19 - ], - [ - 78, - 1 - ] - ], - "doc": "~Private~" - } - }, - "78": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 78, - 21 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 8 - ], - [ - 91, - 1 - ] - ], - "doc": "~Private~" - } - }, - "91": { - "24": { - "name": "updateAllScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 24 - ], - [ - 97, - 1 - ] - ], - "doc": "~Private~" - } - }, - "97": { - "15": { - "name": "emitChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventProperties", - "refreshMarkers" - ], - "range": [ - [ - 97, - 15 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "28": { - "name": "updateWrappedScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 28 - ], - [ - 115, - 1 - ] - ], - "doc": "~Private~" - } - }, - "115": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 115, - 14 - ], - [ - 115, - 62 - ] - ], - "doc": " Private: Sets the visibility of the tokenized buffer.\n\nvisible - A {Boolean} indicating of the tokenized buffer is shown " - } - }, - "117": { - "27": { - "name": "getVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 27 - ], - [ - 117, - 50 - ] - ], - "doc": "~Private~" - } - }, - "118": { - "27": { - "name": "setVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 118, - 27 - ], - [ - 118, - 74 - ] - ] - } - }, - "120": { - "29": { - "name": "getHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 120, - 29 - ], - [ - 120, - 54 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "29": { - "name": "setHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 121, - 29 - ], - [ - 121, - 80 - ] - ] - } - }, - "123": { - "32": { - "name": "getHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 123, - 32 - ], - [ - 123, - 60 - ] - ], - "doc": "~Private~" - } - }, - "124": { - "32": { - "name": "setHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 124, - 32 - ], - [ - 124, - 89 - ] - ] - } - }, - "126": { - "29": { - "name": "getVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 29 - ], - [ - 126, - 54 - ] - ], - "doc": "~Private~" - } - }, - "127": { - "29": { - "name": "setVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 127, - 29 - ], - [ - 127, - 80 - ] - ] - } - }, - "129": { - "13": { - "name": "getHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 129, - 13 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "13": { - "name": "setHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 138, - 13 - ], - [ - 138, - 32 - ] - ], - "doc": "~Private~" - } - }, - "140": { - "19": { - "name": "getClientHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 140, - 19 - ], - [ - 146, - 1 - ] - ], - "doc": "~Private~" - } - }, - "146": { - "18": { - "name": "getClientWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 146, - 18 - ], - [ - 152, - 1 - ] - ], - "doc": "~Private~" - } - }, - "152": { - "26": { - "name": "horizontallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 152, - 26 - ], - [ - 160, - 1 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "24": { - "name": "verticallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 160, - 24 - ], - [ - 167, - 1 - ] - ], - "doc": "~Private~" - } - }, - "167": { - "12": { - "name": "getWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 167, - 12 - ], - [ - 176, - 1 - ] - ], - "doc": "~Private~" - } - }, - "176": { - "12": { - "name": "setWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "newWidth" - ], - "range": [ - [ - 176, - 12 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "16": { - "name": "getScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 183, - 16 - ], - [ - 183, - 28 - ] - ], - "doc": "~Private~" - } - }, - "184": { - "16": { - "name": "setScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 184, - 16 - ], - [ - 190, - 1 - ] - ] - } - }, - "190": { - "19": { - "name": "getMaxScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 19 - ], - [ - 193, - 1 - ] - ], - "doc": "~Private~" - } - }, - "193": { - "19": { - "name": "getScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 193, - 19 - ], - [ - 193, - 41 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "19": { - "name": "setScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 194, - 19 - ], - [ - 198, - 1 - ] - ] - } - }, - "198": { - "17": { - "name": "getScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 198, - 17 - ], - [ - 198, - 30 - ] - ], - "doc": "~Private~" - } - }, - "199": { - "17": { - "name": "setScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 199, - 17 - ], - [ - 206, - 1 - ] - ] - } - }, - "206": { - "20": { - "name": "getMaxScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 206, - 20 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "18": { - "name": "getScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 209, - 18 - ], - [ - 209, - 40 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "18": { - "name": "setScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 210, - 18 - ], - [ - 214, - 1 - ] - ] - } - }, - "214": { - "25": { - "name": "getLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 214, - 25 - ], - [ - 214, - 46 - ] - ], - "doc": "~Private~" - } - }, - "215": { - "25": { - "name": "setLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 215, - 25 - ], - [ - 215, - 68 - ] - ] - } - }, - "217": { - "23": { - "name": "getDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 217, - 23 - ], - [ - 217, - 42 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "23": { - "name": "setDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultCharWidth" - ], - "range": [ - [ - 218, - 23 - ], - [ - 224, - 1 - ] - ] - } - }, - "224": { - "18": { - "name": "getCursorWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 18 - ], - [ - 224, - 21 - ] - ], - "doc": "~Private~" - } - }, - "226": { - "22": { - "name": "getScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char" - ], - "range": [ - [ - 226, - 22 - ], - [ - 229, - 1 - ] - ], - "doc": "~Private~" - } - }, - "229": { - "23": { - "name": "getScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames" - ], - "range": [ - [ - 229, - 23 - ], - [ - 237, - 1 - ] - ], - "doc": "~Private~" - } - }, - "237": { - "29": { - "name": "batchCharacterMeasurement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 237, - 29 - ], - [ - 244, - 1 - ] - ], - "doc": "~Private~" - } - }, - "244": { - "22": { - "name": "setScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char", - "width" - ], - "range": [ - [ - 244, - 22 - ], - [ - 249, - 1 - ] - ], - "doc": "~Private~" - } - }, - "249": { - "26": { - "name": "characterWidthsChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 249, - 26 - ], - [ - 253, - 1 - ] - ], - "doc": "~Private~" - } - }, - "253": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 253, - 25 - ], - [ - 256, - 1 - ] - ], - "doc": "~Private~" - } - }, - "256": { - "19": { - "name": "getScrollHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 19 - ], - [ - 261, - 1 - ] - ], - "doc": "~Private~" - } - }, - "261": { - "18": { - "name": "getScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 18 - ], - [ - 264, - 1 - ] - ], - "doc": "~Private~" - } - }, - "264": { - "22": { - "name": "getVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 264, - 22 - ], - [ - 273, - 1 - ] - ], - "doc": "~Private~" - } - }, - "273": { - "29": { - "name": "intersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 273, - 29 - ], - [ - 277, - 1 - ] - ], - "doc": "~Private~" - } - }, - "277": { - "38": { - "name": "selectionIntersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 277, - 38 - ], - [ - 281, - 1 - ] - ], - "doc": "~Private~" - } - }, - "281": { - "23": { - "name": "scrollToScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 281, - 23 - ], - [ - 311, - 1 - ] - ], - "doc": "~Private~" - } - }, - "311": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 311, - 26 - ], - [ - 314, - 1 - ] - ], - "doc": "~Private~" - } - }, - "314": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 314, - 26 - ], - [ - 317, - 1 - ] - ], - "doc": "~Private~" - } - }, - "317": { - "27": { - "name": "pixelRectForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 317, - 27 - ], - [ - 333, - 1 - ] - ], - "doc": "~Private~" - } - }, - "333": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 333, - 16 - ], - [ - 339, - 1 - ] - ], - "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " - } - }, - "339": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 339, - 16 - ], - [ - 343, - 1 - ] - ], - "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " - } - }, - "343": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 343, - 15 - ], - [ - 343, - 38 - ] - ], - "doc": "Deprecated: Use the softWrap property directly " - } - }, - "346": { - "15": { - "name": "getSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 15 - ], - [ - 346, - 26 - ] - ], - "doc": "Deprecated: Use the softWrap property directly " - } - }, - "351": { - "25": { - "name": "setEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorWidthInChars" - ], - "range": [ - [ - 351, - 25 - ], - [ - 359, - 1 - ] - ], - "doc": " Private: Set the number of characters that fit horizontally in the editor.\n\neditorWidthInChars - A {Number} of characters. " - } - }, - "359": { - "25": { - "name": "getEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 359, - 25 - ], - [ - 367, - 1 - ] - ], - "doc": "Private: Returns the editor width in characters for soft wrap. " - } - }, - "367": { - "21": { - "name": "getSoftWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 367, - 21 - ], - [ - 378, - 1 - ] - ], - "doc": "~Private~" - } - }, - "378": { - "14": { - "name": "lineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 378, - 14 - ], - [ - 387, - 1 - ] - ], - "doc": " Private: Gets the screen line for the given screen row.\n\nscreenRow - A {Number} indicating the screen row.\n\nReturns a {ScreenLine}. " - } - }, - "387": { - "16": { - "name": "linesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 387, - 16 - ], - [ - 393, - 1 - ] - ], - "doc": " Private: Gets the screen lines for the given screen row range.\n\nstartRow - A {Number} indicating the beginning screen row.\nendRow - A {Number} indicating the ending screen row.\n\nReturns an {Array} of {ScreenLine}s. " - } - }, - "393": { - "12": { - "name": "getLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 393, - 12 - ], - [ - 396, - 1 - ] - ], - "doc": " Private: Gets all the screen lines.\n\nReturns an {Array} of {ScreenLines}s. " - } - }, - "396": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 396, - 22 - ], - [ - 406, - 1 - ] - ], - "doc": "~Private~" - } - }, - "406": { - "27": { - "name": "bufferRowsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 406, - 27 - ], - [ - 416, - 1 - ] - ], - "doc": " Private: Given starting and ending screen rows, this returns an array of the\nbuffer rows corresponding to every screen row in the range\n\nstartScreenRow - The screen row {Number} to start at\nendScreenRow - The screen row {Number} to end at (default: the last screen row)\n\nReturns an {Array} of buffer rows as {Numbers}s. " - } - }, - "416": { - "14": { - "name": "createFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 416, - 14 - ], - [ - 422, - 1 - ] - ], - "doc": " Private: Creates a new fold between two row numbers.\n\nstartRow - The row {Number} to start folding at\nendRow - The row {Number} to end the fold\n\nReturns the new {Fold}. " - } - }, - "422": { - "23": { - "name": "isFoldedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 422, - 23 - ], - [ - 425, - 1 - ] - ], - "doc": "~Private~" - } - }, - "425": { - "23": { - "name": "isFoldedAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 425, - 23 - ], - [ - 429, - 1 - ] - ], - "doc": "~Private~" - } - }, - "429": { - "21": { - "name": "destroyFoldWithId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 429, - 21 - ], - [ - 435, - 1 - ] - ], - "doc": "Private: Destroys the fold with the given id " - } - }, - "435": { - "19": { - "name": "unfoldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 435, - 19 - ], - [ - 446, - 1 - ] - ], - "doc": " Private: Removes any folds found that contain the given buffer row.\n\nbufferRow - The buffer row {Number} to check against " - } - }, - "446": { - "34": { - "name": "largestFoldStartingAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 446, - 34 - ], - [ - 454, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold} or null if none exists. " - } - }, - "454": { - "28": { - "name": "foldsStartingAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 454, - 28 - ], - [ - 466, - 1 - ] - ], - "doc": " Public: Given a buffer row, this returns all folds that start there.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " - } - }, - "466": { - "34": { - "name": "largestFoldStartingAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 466, - 34 - ], - [ - 477, - 1 - ] - ], - "doc": " Private: Given a screen row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nscreenRow - A {Number} indicating the screen row\n\nReturns a {Fold}. " - } - }, - "477": { - "34": { - "name": "largestFoldContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 477, - 34 - ], - [ - 482, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns the largest fold that includes it.\n\nLargest is defined as the fold whose difference between its start and end rows\nis the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold}. " - } - }, - "482": { - "34": { - "name": "outermostFoldsInBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 482, - 34 - ], - [ - 493, - 1 - ] - ], - "doc": " Private: Returns the folds in the given row range (exclusive of end row) that are\nnot contained by any other folds. " - } - }, - "493": { - "28": { - "name": "foldsContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 493, - 28 - ], - [ - 502, - 1 - ] - ], - "doc": " Public: Given a buffer row, this returns folds that include it.\n\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " - } - }, - "502": { - "25": { - "name": "screenRowForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 502, - 25 - ], - [ - 505, - 1 - ] - ], - "doc": " Private: Given a buffer row, this converts it into a screen row.\n\nbufferRow - A {Number} representing a buffer row\n\nReturns a {Number}. " - } - }, - "505": { - "29": { - "name": "lastScreenRowForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 505, - 29 - ], - [ - 513, - 1 - ] - ], - "doc": "~Private~" - } - }, - "513": { - "25": { - "name": "bufferRowForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 513, - 25 - ], - [ - 521, - 1 - ] - ], - "doc": " Private: Given a screen row, this converts it into a buffer row.\n\nscreenRow - A {Number} representing a screen row\n\nReturns a {Number}. " - } - }, - "521": { - "29": { - "name": "screenRangeForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 521, - 29 - ], - [ - 532, - 1 - ] - ], - "doc": " Private: Given a buffer range, this converts it into a screen position.\n\nbufferRange - The {Range} to convert\n\nReturns a {Range}. " - } - }, - "532": { - "29": { - "name": "bufferRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 532, - 29 - ], - [ - 538, - 1 - ] - ], - "doc": " Private: Given a screen range, this converts it into a buffer position.\n\nscreenRange - The {Range} to convert\n\nReturns a {Range}. " - } - }, - "538": { - "28": { - "name": "pixelRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "clip" - ], - "range": [ - [ - 538, - 28 - ], - [ - 542, - 1 - ] - ], - "doc": "~Private~" - } - }, - "542": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "clip" - ], - "range": [ - [ - 542, - 34 - ], - [ - 561, - 1 - ] - ], - "doc": "~Private~" - } - }, - "561": { - "34": { - "name": "screenPositionForPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 561, - 34 - ], - [ - 581, - 1 - ] - ], - "doc": "~Private~" - } - }, - "581": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 581, - 34 - ], - [ - 587, - 1 - ] - ], - "doc": "~Private~" - } - }, - "587": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 587, - 16 - ], - [ - 593, - 1 - ] - ], - "doc": " Private: Gets the number of screen lines.\n\nReturns a {Number}. " - } - }, - "593": { - "14": { - "name": "getLastRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 593, - 14 - ], - [ - 599, - 1 - ] - ], - "doc": " Private: Gets the number of the last screen line.\n\nReturns a {Number}. " - } - }, - "599": { - "20": { - "name": "getMaxLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 599, - 20 - ], - [ - 605, - 1 - ] - ], - "doc": " Private: Gets the length of the longest screen line.\n\nReturns a {Number}. " - } - }, - "605": { - "23": { - "name": "getLongestScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 605, - 23 - ], - [ - 617, - 1 - ] - ], - "doc": " Private: Gets the row number of the longest screen line.\n\nReturn a {} " - } - }, - "617": { - "35": { - "name": "screenPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 617, - 35 - ], - [ - 651, - 1 - ] - ], - "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " - } - }, - "651": { - "35": { - "name": "bufferPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 651, - 35 - ], - [ - 661, - 1 - ] - ], - "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " - } - }, - "661": { - "27": { - "name": "scopesForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 661, - 27 - ], - [ - 664, - 1 - ] - ], - "doc": " Private: Retrieves the grammar's token scopes for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}\n\nReturns an {Array} of {String}s. " - } - }, - "664": { - "33": { - "name": "bufferRangeForScopeAtPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "position" - ], - "range": [ - [ - 664, - 33 - ], - [ - 672, - 1 - ] - ], - "doc": "~Private~" - } - }, - "672": { - "26": { - "name": "tokenForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 672, - 26 - ], - [ - 678, - 1 - ] - ], - "doc": " Private: Retrieves the grammar's token for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}.\n\nReturns a {Token}. " - } - }, - "678": { - "14": { - "name": "getGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 678, - 14 - ], - [ - 684, - 1 - ] - ], - "doc": " Private: Get the grammar for this buffer.\n\nReturns the current {Grammar} or the {NullGrammar}. " - } - }, - "684": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 684, - 14 - ], - [ - 688, - 1 - ] - ], - "doc": " Private: Sets the grammar for the buffer.\n\ngrammar - Sets the new grammar rules " - } - }, - "688": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 688, - 17 - ], - [ - 704, - 1 - ] - ], - "doc": "Private: Reloads the current grammar. " - } - }, - "704": { - "22": { - "name": "clipScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 704, - 22 - ], - [ - 740, - 1 - ] - ], - "doc": " Private: Given a position, this clips it to a real position.\n\nFor example, if `position`'s row exceeds the row count of the buffer,\nor if its column goes beyond a line's length, this \"sanitizes\" the value\nto a real position.\n\nposition - The {Point} to clip\noptions - A hash with the following values:\n wrapBeyondNewlines: if `true`, continues wrapping past newlines\n wrapAtSoftNewlines: if `true`, continues wrapping past soft newlines\n screenLine: if `true`, indicates that you're using a line number, not a row number\n\nReturns the new, clipped {Point}. Note that this could be the same as `position` if no clipping was performed. " - } - }, - "740": { - "18": { - "name": "findWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line", - "softWrapColumn" - ], - "range": [ - [ - 740, - 18 - ], - [ - 758, - 1 - ] - ], - "doc": " Private: Given a line, finds the point where it would wrap.\n\nline - The {String} to check\nsoftWrapColumn - The {Number} where you want soft wrapping to occur\n\nReturns a {Number} representing the `line` position where the wrap would take place.\nReturns `null` if a wrap wouldn't occur. " - } - }, - "758": { - "20": { - "name": "rangeForAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 758, - 20 - ], - [ - 761, - 1 - ] - ], - "doc": " Private: Calculates a {Range} representing the start of the {TextBuffer} until the end.\n\nReturns a {Range}. " - } - }, - "761": { - "19": { - "name": "decorationForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 761, - 19 - ], - [ - 764, - 1 - ] - ], - "doc": "~Private~" - } - }, - "764": { - "32": { - "name": "decorationsForScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 764, - 32 - ], - [ - 771, - 1 - ] - ], - "doc": "~Private~" - } - }, - "771": { - "18": { - "name": "decorateMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "decorationParams" - ], - "range": [ - [ - 771, - 18 - ], - [ - 793, - 1 - ] - ], - "doc": "~Private~" - } - }, - "793": { - "20": { - "name": "removeDecoration", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decoration" - ], - "range": [ - [ - 793, - 20 - ], - [ - 804, - 1 - ] - ], - "doc": "~Private~" - } - }, - "804": { - "33": { - "name": "removeAllDecorationsForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 804, - 33 - ], - [ - 810, - 1 - ] - ], - "doc": "~Private~" - } - }, - "810": { - "31": { - "name": "removedAllMarkerDecorations", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 810, - 31 - ], - [ - 818, - 1 - ] - ], - "doc": "~Private~" - } - }, - "818": { - "21": { - "name": "decorationUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decoration" - ], - "range": [ - [ - 818, - 21 - ], - [ - 826, - 1 - ] - ], - "doc": "~Private~" - } - }, - "826": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 826, - 13 - ], - [ - 836, - 1 - ] - ], - "doc": " Private: Retrieves a {DisplayBufferMarker} based on its id.\n\nid - A {Number} representing a marker id\n\nReturns the {DisplayBufferMarker} (if it exists). " - } - }, - "836": { - "14": { - "name": "getMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 836, - 14 - ], - [ - 839, - 1 - ] - ], - "doc": " Private: Retrieves the active markers in the buffer.\n\nReturns an {Array} of existing {DisplayBufferMarker}s. " - } - }, - "839": { - "18": { - "name": "getMarkerCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 839, - 18 - ], - [ - 848, - 1 - ] - ], - "doc": "~Private~" - } - }, - "848": { - "19": { - "name": "markScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 848, - 19 - ], - [ - 858, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given screen range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "858": { - "19": { - "name": "markBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range", - "options" - ], - "range": [ - [ - 858, - 19 - ], - [ - 867, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given buffer range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "867": { - "22": { - "name": "markScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 867, - 22 - ], - [ - 876, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given screen position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "876": { - "22": { - "name": "markBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 876, - 22 - ], - [ - 882, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given buffer position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "882": { - "17": { - "name": "destroyMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 882, - 17 - ], - [ - 891, - 1 - ] - ], - "doc": " Public: Removes the marker with the given id.\n\nid - The {Number} of the ID to remove " - } - }, - "891": { - "14": { - "name": "findMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 891, - 14 - ], - [ - 912, - 1 - ] - ], - "doc": " Private: Finds the first marker satisfying the given attributes\n\nRefer to {DisplayBuffer::findMarkers} for details.\n\nReturns a {DisplayBufferMarker} or null " - } - }, - "912": { - "15": { - "name": "findMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 912, - 15 - ], - [ - 916, - 1 - ] - ], - "doc": " Public: Find all markers satisfying a set of parameters.\n\nparams - An {Object} containing parameters that all returned markers must\n satisfy. Unreserved keys will be compared against the markers' custom\n properties. There are also the following reserved keys with special\n meaning for the query:\n :startBufferRow - A {Number}. Only returns markers starting at this row in\n buffer coordinates.\n :endBufferRow - A {Number}. Only returns markers ending at this row in\n buffer coordinates.\n :containsBufferRange - A {Range} or range-compatible {Array}. Only returns\n markers containing this range in buffer coordinates.\n :containsBufferPosition - A {Point} or point-compatible {Array}. Only\n returns markers containing this position in buffer coordinates.\n :containedInBufferRange - A {Range} or range-compatible {Array}. Only\n returns markers contained within this range.\n\nReturns an {Array} of {DisplayBufferMarker}s " - } - }, - "916": { - "33": { - "name": "translateToBufferMarkerParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 916, - 33 - ], - [ - 954, - 1 - ] - ], - "doc": "~Private~" - } - }, - "954": { - "18": { - "name": "findFoldMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 954, - 18 - ], - [ - 957, - 1 - ] - ], - "doc": "~Private~" - } - }, - "957": { - "19": { - "name": "findFoldMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 957, - 19 - ], - [ - 960, - 1 - ] - ], - "doc": "~Private~" - } - }, - "960": { - "27": { - "name": "getFoldMarkerAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 960, - 27 - ], - [ - 963, - 1 - ] - ], - "doc": "~Private~" - } - }, - "963": { - "24": { - "name": "pauseMarkerObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 963, - 24 - ], - [ - 966, - 1 - ] - ], - "doc": "~Private~" - } - }, - "966": { - "25": { - "name": "resumeMarkerObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 966, - 25 - ], - [ - 970, - 1 - ] - ], - "doc": "~Private~" - } - }, - "970": { - "32": { - "name": "refreshMarkerScreenPositions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 970, - 32 - ], - [ - 974, - 1 - ] - ], - "doc": "~Private~" - } - }, - "974": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 974, - 13 - ], - [ - 979, - 1 - ] - ], - "doc": "~Private~" - } - }, - "979": { - "12": { - "name": "logLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 979, - 12 - ], - [ - 984, - 1 - ] - ], - "doc": "~Private~" - } - }, - "984": { - "31": { - "name": "handleTokenizedBufferChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tokenizedBufferChange" - ], - "range": [ - [ - 984, - 31 - ], - [ - 989, - 1 - ] - ], - "doc": "~Private~" - } - }, - "989": { - "21": { - "name": "updateScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "endBufferRow", - "bufferDelta", - "options" - ], - "range": [ - [ - 989, - 21 - ], - [ - 1015, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1015": { - "20": { - "name": "buildScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "endBufferRow" - ], - "range": [ - [ - 1015, - 20 - ], - [ - 1061, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1061": { - "21": { - "name": "findMaxLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow", - "newScreenLines", - "screenDelta" - ], - "range": [ - [ - 1061, - 21 - ], - [ - 1083, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1083": { - "22": { - "name": "computeScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1083, - 22 - ], - [ - 1088, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1088": { - "30": { - "name": "handleBufferMarkersUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1088, - 30 - ], - [ - 1093, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1093": { - "29": { - "name": "handleBufferMarkerCreated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1093, - 29 - ], - [ - 1097, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1097": { - "23": { - "name": "createFoldForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1097, - 23 - ], - [ - 1101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1101": { - "17": { - "name": "foldForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1101, - 17 - ], - [ - 1102, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 19 - }, - "src/editor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "10": { - "type": "import", - "range": [ - [ - 0, - 10 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$$", - "exportsProperty": "$$$" - } - }, - "1": { - "13": { - "name": "GutterView", - "type": "import", - "range": [ - [ - 1, - 13 - ], - [ - 1, - 35 - ] - ], - "bindingType": "variable", - "path": "./gutter-view" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "3": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 3, - 9 - ], - [ - 3, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "4": { - "13": { - "name": "CursorView", - "type": "import", - "range": [ - [ - 4, - 13 - ], - [ - 4, - 35 - ] - ], - "bindingType": "variable", - "path": "./cursor-view" - } - }, - "5": { - "16": { - "name": "SelectionView", - "type": "import", - "range": [ - [ - 5, - 16 - ], - [ - 5, - 41 - ] - ], - "bindingType": "variable", - "path": "./selection-view" - } - }, - "6": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 6, - 5 - ], - [ - 6, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.0.4" - } - }, - "7": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "8": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 8, - 13 - ], - [ - 8, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer" - } - }, - "10": { - "15": { - "name": "MeasureRange", - "type": "function", - "range": [ - [ - 10, - 15 - ], - [ - 10, - 36 - ] - ] - } - }, - "11": { - "17": { - "type": "primitive", - "range": [ - [ - 11, - 17 - ], - [ - 11, - 59 - ] - ] - }, - "31": { - "name": "acceptNode", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 11, - 31 - ], - [ - 11, - 57 - ] - ], - "doc": null - } - }, - "12": { - "10": { - "type": "primitive", - "range": [ - [ - 12, - 10 - ], - [ - 12, - 21 - ] - ] - } - }, - "13": { - "17": { - "name": "1000", - "type": "primitive", - "range": [ - [ - 13, - 17 - ], - [ - 13, - 20 - ] - ] - } - }, - "41": { - "0": { - "type": "class", - "name": "EditorView", - "bindingType": "exports", - "classProperties": [ - [ - 42, - 24 - ], - [ - 44, - 4 - ], - [ - 61, - 17 - ], - [ - 63, - 12 - ], - [ - 76, - 12 - ], - [ - 1271, - 21 - ], - [ - 1485, - 18 - ], - [ - 1513, - 21 - ], - [ - 1529, - 14 - ], - [ - 1533, - 13 - ], - [ - 1537, - 23 - ] - ], - "prototypeProperties": [ - [ - 81, - 17 - ], - [ - 82, - 17 - ], - [ - 83, - 14 - ], - [ - 84, - 13 - ], - [ - 85, - 14 - ], - [ - 86, - 15 - ], - [ - 87, - 18 - ], - [ - 88, - 13 - ], - [ - 89, - 13 - ], - [ - 90, - 10 - ], - [ - 91, - 12 - ], - [ - 92, - 16 - ], - [ - 93, - 18 - ], - [ - 94, - 14 - ], - [ - 95, - 17 - ], - [ - 96, - 20 - ], - [ - 97, - 24 - ], - [ - 106, - 14 - ], - [ - 141, - 12 - ], - [ - 251, - 13 - ], - [ - 255, - 11 - ], - [ - 259, - 11 - ], - [ - 263, - 14 - ], - [ - 266, - 20 - ], - [ - 271, - 19 - ], - [ - 277, - 12 - ], - [ - 284, - 10 - ], - [ - 292, - 15 - ], - [ - 298, - 21 - ], - [ - 310, - 17 - ], - [ - 322, - 22 - ], - [ - 332, - 22 - ], - [ - 337, - 22 - ], - [ - 341, - 16 - ], - [ - 345, - 13 - ], - [ - 354, - 16 - ], - [ - 436, - 21 - ], - [ - 476, - 28 - ], - [ - 479, - 33 - ], - [ - 505, - 15 - ], - [ - 538, - 8 - ], - [ - 586, - 12 - ], - [ - 589, - 12 - ], - [ - 592, - 27 - ], - [ - 600, - 13 - ], - [ - 618, - 16 - ], - [ - 624, - 14 - ], - [ - 631, - 15 - ], - [ - 639, - 18 - ], - [ - 646, - 26 - ], - [ - 654, - 26 - ], - [ - 662, - 26 - ], - [ - 673, - 25 - ], - [ - 684, - 39 - ], - [ - 696, - 31 - ], - [ - 702, - 18 - ], - [ - 706, - 18 - ], - [ - 710, - 25 - ], - [ - 713, - 26 - ], - [ - 716, - 21 - ], - [ - 723, - 15 - ], - [ - 733, - 15 - ], - [ - 746, - 15 - ], - [ - 752, - 17 - ], - [ - 762, - 17 - ], - [ - 770, - 17 - ], - [ - 776, - 10 - ], - [ - 786, - 13 - ], - [ - 791, - 14 - ], - [ - 796, - 11 - ], - [ - 801, - 13 - ], - [ - 808, - 11 - ], - [ - 811, - 10 - ], - [ - 816, - 16 - ], - [ - 823, - 17 - ], - [ - 827, - 18 - ], - [ - 830, - 17 - ], - [ - 836, - 20 - ], - [ - 839, - 20 - ], - [ - 843, - 21 - ], - [ - 846, - 20 - ], - [ - 852, - 23 - ], - [ - 855, - 36 - ], - [ - 859, - 21 - ], - [ - 863, - 20 - ], - [ - 884, - 22 - ], - [ - 900, - 23 - ], - [ - 912, - 25 - ], - [ - 924, - 25 - ], - [ - 943, - 12 - ], - [ - 950, - 22 - ], - [ - 955, - 16 - ], - [ - 970, - 24 - ], - [ - 978, - 17 - ], - [ - 994, - 21 - ], - [ - 1006, - 22 - ], - [ - 1012, - 24 - ], - [ - 1023, - 25 - ], - [ - 1031, - 24 - ], - [ - 1034, - 14 - ], - [ - 1046, - 25 - ], - [ - 1057, - 23 - ], - [ - 1084, - 38 - ], - [ - 1102, - 23 - ], - [ - 1144, - 24 - ], - [ - 1158, - 20 - ], - [ - 1173, - 13 - ], - [ - 1178, - 19 - ], - [ - 1201, - 32 - ], - [ - 1214, - 28 - ], - [ - 1223, - 27 - ], - [ - 1234, - 22 - ], - [ - 1237, - 27 - ], - [ - 1241, - 32 - ], - [ - 1244, - 34 - ], - [ - 1249, - 21 - ], - [ - 1256, - 21 - ], - [ - 1298, - 32 - ], - [ - 1304, - 26 - ], - [ - 1313, - 27 - ], - [ - 1316, - 33 - ], - [ - 1325, - 34 - ], - [ - 1334, - 34 - ], - [ - 1348, - 32 - ], - [ - 1371, - 19 - ], - [ - 1416, - 26 - ], - [ - 1424, - 26 - ], - [ - 1432, - 28 - ], - [ - 1435, - 32 - ], - [ - 1440, - 32 - ], - [ - 1470, - 23 - ], - [ - 1481, - 23 - ], - [ - 1563, - 23 - ], - [ - 1573, - 25 - ], - [ - 1575, - 18 - ], - [ - 1578, - 18 - ], - [ - 1581, - 20 - ] - ], - "doc": " Public: Represents the entire visual pane in Atom.\n\nThe EditorView manages the {Editor}, which manages the file buffers.\n\n## Requiring in packages\n\n```coffee\n{EditorView} = require 'atom'\n\nminiEditorView = new EditorView(mini: true)\n```\n\n## Iterating over the open editor views\n\n```coffee\nfor editorView in atom.workspaceView.getEditorViews()\n console.log(editorView.getEditor().getPath())\n```\n\n## Subscribing to every current and future editor\n\n```coffee\natom.workspace.eachEditorView (editorView) ->\n console.log(editorView.getEditor().getPath())\n``` ", - "range": [ - [ - 41, - 0 - ], - [ - 1583, - 35 - ] - ] - } - }, - "42": { - "24": { - "name": "characterWidthCache", - "type": "primitive", - "range": [ - [ - 42, - 24 - ], - [ - 42, - 25 - ] - ], - "bindingType": "classProperty" - } - }, - "44": { - "4": { - "name": "configDefaults", - "type": "primitive", - "range": [ - [ - 44, - 4 - ], - [ - 59, - 32 - ] - ], - "bindingType": "classProperty" - } - }, - "61": { - "17": { - "name": "nextEditorId", - "type": "primitive", - "range": [ - [ - 61, - 17 - ], - [ - 61, - 17 - ] - ], - "bindingType": "classProperty" - } - }, - "63": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 63, - 12 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "12": { - "name": "classes", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 76, - 12 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "17": { - "name": "vScrollMargin", - "type": "primitive", - "range": [ - [ - 81, - 17 - ], - [ - 81, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "82": { - "17": { - "name": "hScrollMargin", - "type": "primitive", - "range": [ - [ - 82, - 17 - ], - [ - 82, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "83": { - "14": { - "name": "lineHeight", - "type": "primitive", - "range": [ - [ - 83, - 14 - ], - [ - 83, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "84": { - "13": { - "name": "charWidth", - "type": "primitive", - "range": [ - [ - 84, - 13 - ], - [ - 84, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "85": { - "14": { - "name": "charHeight", - "type": "primitive", - "range": [ - [ - 85, - 14 - ], - [ - 85, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "86": { - "15": { - "name": "cursorViews", - "type": "primitive", - "range": [ - [ - 86, - 15 - ], - [ - 86, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "87": { - "18": { - "name": "selectionViews", - "type": "primitive", - "range": [ - [ - 87, - 18 - ], - [ - 87, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "88": { - "13": { - "name": "lineCache", - "type": "primitive", - "range": [ - [ - 88, - 13 - ], - [ - 88, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "89": { - "13": { - "name": "isFocused", - "type": "primitive", - "range": [ - [ - 89, - 13 - ], - [ - 89, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "90": { - "10": { - "name": "editor", - "type": "primitive", - "range": [ - [ - 90, - 10 - ], - [ - 90, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "91": { - "12": { - "name": "attached", - "type": "primitive", - "range": [ - [ - 91, - 12 - ], - [ - 91, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "92": { - "16": { - "name": "lineOverdraw", - "type": "primitive", - "range": [ - [ - 92, - 16 - ], - [ - 92, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "93": { - "18": { - "name": "pendingChanges", - "type": "primitive", - "range": [ - [ - 93, - 18 - ], - [ - 93, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "94": { - "14": { - "name": "newCursors", - "type": "primitive", - "range": [ - [ - 94, - 14 - ], - [ - 94, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "95": { - "17": { - "name": "newSelections", - "type": "primitive", - "range": [ - [ - 95, - 17 - ], - [ - 95, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "96": { - "20": { - "name": "redrawOnReattach", - "type": "primitive", - "range": [ - [ - 96, - 20 - ], - [ - 96, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "97": { - "24": { - "name": "bottomPaddingInLines", - "type": "primitive", - "range": [ - [ - 97, - 24 - ], - [ - 97, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "106": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorOrOptions" - ], - "range": [ - [ - 106, - 14 - ], - [ - 141, - 1 - ] - ], - "doc": " Private: The constructor for setting up an `EditorView` instance.\n\neditorOrOptions - Either an {Editor}, or an object with one property, `mini`.\n If `mini` is `true`, a \"miniature\" `Editor` is constructed.\n Typically, this is ideal for scenarios where you need an Atom editor,\n but without all the chrome, like scrollbars, gutter, _e.t.c._.\n\n " - } - }, - "141": { - "12": { - "name": "bindKeys", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 12 - ], - [ - 251, - 1 - ] - ], - "doc": " Private: Sets up the core Atom commands.\n\nSome commands are excluded from mini-editors. " - } - }, - "251": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 251, - 13 - ], - [ - 255, - 1 - ] - ], - "doc": " Public: Get the underlying editor model for this view.\n\nReturns an {Editor}. " - } - }, - "255": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 255, - 11 - ], - [ - 259, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.getText} " - } - }, - "259": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 259, - 11 - ], - [ - 263, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.setText} " - } - }, - "263": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 263, - 14 - ], - [ - 266, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.insertText} " - } - }, - "266": { - "20": { - "name": "setHeightInLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "heightInLines" - ], - "range": [ - [ - 266, - 20 - ], - [ - 271, - 1 - ] - ], - "doc": "~Private~" - } - }, - "271": { - "19": { - "name": "setWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "widthInChars" - ], - "range": [ - [ - 271, - 19 - ], - [ - 277, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.setEditorWidthInChars} " - } - }, - "277": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 277, - 12 - ], - [ - 284, - 1 - ] - ], - "doc": " Public: Emulates the \"page down\" key, where the last row of a buffer scrolls\nto become the first. " - } - }, - "284": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 10 - ], - [ - 292, - 1 - ] - ], - "doc": " Public: Emulates the \"page up\" key, where the frst row of a buffer scrolls\nto become the last. " - } - }, - "292": { - "15": { - "name": "getPageRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 15 - ], - [ - 298, - 1 - ] - ], - "doc": " Private: Gets the number of actual page rows existing in an editor.\n\nReturns a {Number}. " - } - }, - "298": { - "21": { - "name": "setShowInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showInvisibles" - ], - "range": [ - [ - 298, - 21 - ], - [ - 310, - 1 - ] - ], - "doc": " Public: Set whether invisible characters are shown.\n\nshowInvisibles - A {Boolean} which, if `true`, show invisible characters. " - } - }, - "310": { - "17": { - "name": "setInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 310, - 17 - ], - [ - 322, - 1 - ] - ], - "doc": " Public: Defines which characters are invisible.\n\ninvisibles - An {Object} defining the invisible characters:\n :eol - The end of line invisible {String} (default: `\\u00ac`).\n :space - The space invisible {String} (default: `\\u00b7`).\n :tab - The tab invisible {String} (default: `\\u00bb`).\n :cr - The carriage return invisible {String} (default: `\\u00a4`). " - } - }, - "322": { - "22": { - "name": "setShowIndentGuide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showIndentGuide" - ], - "range": [ - [ - 322, - 22 - ], - [ - 332, - 1 - ] - ], - "doc": " Public: Sets whether you want to show the indentation guides.\n\nshowIndentGuide - A {Boolean} you can set to `true` if you want to see the\n indentation guides. " - } - }, - "332": { - "22": { - "name": "setPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "placeholderText" - ], - "range": [ - [ - 332, - 22 - ], - [ - 337, - 1 - ] - ], - "doc": " Public: Set the text to appear in the editor when it is empty.\n\nThis only affects mini editors.\n\nplaceholderText - A {String} of text to display when empty. " - } - }, - "337": { - "22": { - "name": "getPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 337, - 22 - ], - [ - 341, - 1 - ] - ], - "doc": "~Private~" - } - }, - "341": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 341, - 16 - ], - [ - 345, - 1 - ] - ], - "doc": "Private: Checkout the HEAD revision of this editor's file. " - } - }, - "345": { - "13": { - "name": "configure", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 345, - 13 - ], - [ - 354, - 1 - ] - ], - "doc": "~Private~" - } - }, - "354": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 354, - 16 - ], - [ - 436, - 1 - ] - ], - "doc": "~Private~" - } - }, - "436": { - "21": { - "name": "handleInputEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 436, - 21 - ], - [ - 476, - 1 - ] - ], - "doc": "~Private~" - } - }, - "476": { - "28": { - "name": "bringHiddenInputIntoView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 476, - 28 - ], - [ - 479, - 1 - ] - ], - "doc": "~Private~" - } - }, - "479": { - "33": { - "name": "selectOnMousemoveUntilMouseup", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 479, - 33 - ], - [ - 505, - 1 - ] - ], - "doc": "~Private~" - } - }, - "505": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 505, - 15 - ], - [ - 538, - 1 - ] - ], - "doc": "~Private~" - } - }, - "538": { - "8": { - "name": "edit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 538, - 8 - ], - [ - 586, - 1 - ] - ], - "doc": "~Private~" - } - }, - "586": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 586, - 12 - ], - [ - 589, - 1 - ] - ], - "doc": "~Private~" - } - }, - "589": { - "12": { - "name": "setModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 589, - 12 - ], - [ - 592, - 1 - ] - ], - "doc": "~Private~" - } - }, - "592": { - "27": { - "name": "showBufferConflictAlert", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 592, - 27 - ], - [ - 600, - 1 - ] - ], - "doc": "~Private~" - } - }, - "600": { - "13": { - "name": "scrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop", - "options" - ], - "range": [ - [ - 600, - 13 - ], - [ - 618, - 1 - ] - ], - "doc": "~Private~" - } - }, - "618": { - "16": { - "name": "scrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 618, - 16 - ], - [ - 624, - 1 - ] - ], - "doc": "~Private~" - } - }, - "624": { - "14": { - "name": "scrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 624, - 14 - ], - [ - 631, - 1 - ] - ], - "doc": "~Private~" - } - }, - "631": { - "15": { - "name": "scrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 631, - 15 - ], - [ - 639, - 1 - ] - ], - "doc": "~Private~" - } - }, - "639": { - "18": { - "name": "scrollToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 639, - 18 - ], - [ - 646, - 1 - ] - ], - "doc": "Public: Scrolls the editor to the bottom. " - } - }, - "646": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 646, - 26 - ], - [ - 654, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the position of the most recently added\ncursor if it isn't current on screen.\n\nThe editor is centered around the cursor's position if possible. " - } - }, - "654": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 654, - 26 - ], - [ - 662, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given buffer position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " - } - }, - "662": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 662, - 26 - ], - [ - 673, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " - } - }, - "673": { - "25": { - "name": "scrollToPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition", - "options" - ], - "range": [ - [ - 673, - 25 - ], - [ - 684, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given pixel position.\n\npixelPosition - An object that represents a pixel position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or\n {Point}.\noptions - A hash with the following keys:\n :center - if `true`, the position is scrolled such that it's in\n the center of the editor " - } - }, - "684": { - "39": { - "name": "highlightFoldsContainingBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 684, - 39 - ], - [ - 696, - 1 - ] - ], - "doc": " Public: Highlight all the folds within the given buffer range.\n\n\"Highlighting\" essentially just adds the `fold-selected` class to the line's\nDOM element.\n\nbufferRange - The {Range} to check. " - } - }, - "696": { - "31": { - "name": "saveScrollPositionForEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 696, - 31 - ], - [ - 702, - 1 - ] - ], - "doc": "~Private~" - } - }, - "702": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 702, - 18 - ], - [ - 706, - 1 - ] - ], - "doc": "Public: Toggle soft tabs on the edit session. " - } - }, - "706": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 706, - 18 - ], - [ - 710, - 1 - ] - ], - "doc": "Public: Toggle soft wrap on the edit session. " - } - }, - "710": { - "25": { - "name": "calculateWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 710, - 25 - ], - [ - 713, - 1 - ] - ], - "doc": "~Private~" - } - }, - "713": { - "26": { - "name": "calculateHeightInLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 713, - 26 - ], - [ - 716, - 1 - ] - ], - "doc": "~Private~" - } - }, - "716": { - "21": { - "name": "getScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 716, - 21 - ], - [ - 723, - 1 - ] - ], - "doc": "~Private~" - } - }, - "723": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 723, - 15 - ], - [ - 733, - 1 - ] - ], - "doc": " Public: Enables/disables soft wrap on the editor.\n\nsoftWrap - A {Boolean} which, if `true`, enables soft wrap " - } - }, - "733": { - "15": { - "name": "setFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 733, - 15 - ], - [ - 746, - 1 - ] - ], - "doc": " Public: Sets the font size for the editor.\n\nfontSize - A {Number} indicating the font size in pixels. " - } - }, - "746": { - "15": { - "name": "getFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 746, - 15 - ], - [ - 752, - 1 - ] - ], - "doc": " Public: Retrieves the font size for the editor.\n\nReturns a {Number} indicating the font size in pixels. " - } - }, - "752": { - "17": { - "name": "setFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 752, - 17 - ], - [ - 762, - 1 - ] - ], - "doc": " Public: Sets the font family for the editor.\n\nfontFamily - A {String} identifying the CSS `font-family`. " - } - }, - "762": { - "17": { - "name": "getFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 762, - 17 - ], - [ - 762, - 38 - ] - ], - "doc": " Public: Gets the font family for the editor.\n\nReturns a {String} identifying the CSS `font-family`. " - } - }, - "770": { - "17": { - "name": "setLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 770, - 17 - ], - [ - 776, - 1 - ] - ], - "doc": " Public: Sets the line height of the editor.\n\nCalling this method has no effect when called on a mini editor.\n\nlineHeight - A {Number} without a unit suffix identifying the CSS\n`line-height`. " - } - }, - "776": { - "10": { - "name": "redraw", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 776, - 10 - ], - [ - 786, - 1 - ] - ], - "doc": "Public: Redraw the editor " - } - }, - "786": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 786, - 13 - ], - [ - 791, - 1 - ] - ], - "doc": "Public: Split the editor view left. " - } - }, - "791": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 791, - 14 - ], - [ - 796, - 1 - ] - ], - "doc": "Public: Split the editor view right. " - } - }, - "796": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 796, - 11 - ], - [ - 801, - 1 - ] - ], - "doc": "Public: Split the editor view up. " - } - }, - "801": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 801, - 13 - ], - [ - 808, - 1 - ] - ], - "doc": "Public: Split the editor view down. " - } - }, - "808": { - "11": { - "name": "getPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 808, - 11 - ], - [ - 811, - 1 - ] - ], - "doc": " Public: Get this view's pane.\n\nReturns a {Pane}. " - } - }, - "811": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "keepData" - ], - "range": [ - [ - 811, - 10 - ], - [ - 816, - 1 - ] - ], - "doc": "~Private~" - } - }, - "816": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 816, - 16 - ], - [ - 823, - 1 - ] - ], - "doc": "~Private~" - } - }, - "823": { - "17": { - "name": "getCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 823, - 17 - ], - [ - 827, - 1 - ] - ], - "doc": "~Private~" - } - }, - "827": { - "18": { - "name": "getCursorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 827, - 18 - ], - [ - 830, - 1 - ] - ], - "doc": "~Private~" - } - }, - "830": { - "17": { - "name": "addCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursor", - "options" - ], - "range": [ - [ - 830, - 17 - ], - [ - 836, - 1 - ] - ], - "doc": "~Private~" - } - }, - "836": { - "20": { - "name": "removeCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 836, - 20 - ], - [ - 839, - 1 - ] - ], - "doc": "~Private~" - } - }, - "839": { - "20": { - "name": "getSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 839, - 20 - ], - [ - 843, - 1 - ] - ], - "doc": "~Private~" - } - }, - "843": { - "21": { - "name": "getSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 843, - 21 - ], - [ - 846, - 1 - ] - ], - "doc": "~Private~" - } - }, - "846": { - "20": { - "name": "addSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 846, - 20 - ], - [ - 852, - 1 - ] - ], - "doc": "~Private~" - } - }, - "852": { - "23": { - "name": "removeSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selectionView" - ], - "range": [ - [ - 852, - 23 - ], - [ - 855, - 1 - ] - ], - "doc": "~Private~" - } - }, - "855": { - "36": { - "name": "removeAllCursorAndSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 855, - 36 - ], - [ - 859, - 1 - ] - ], - "doc": "~Private~" - } - }, - "859": { - "21": { - "name": "appendToLinesView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 859, - 21 - ], - [ - 863, - 1 - ] - ], - "doc": "~Private~" - } - }, - "863": { - "20": { - "name": "scrollVertically", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition", - null - ], - "range": [ - [ - 863, - 20 - ], - [ - 884, - 1 - ] - ], - "doc": "Private: Scrolls the editor vertically to a given position. " - } - }, - "884": { - "22": { - "name": "scrollHorizontally", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 884, - 22 - ], - [ - 900, - 1 - ] - ], - "doc": "Private: Scrolls the editor horizontally to a given position. " - } - }, - "900": { - "23": { - "name": "calculateDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 900, - 23 - ], - [ - 912, - 1 - ] - ], - "doc": "~Private~" - } - }, - "912": { - "25": { - "name": "recalculateDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 912, - 25 - ], - [ - 924, - 1 - ] - ], - "doc": "~Private~" - } - }, - "924": { - "25": { - "name": "updateLayerDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollViewWidth" - ], - "range": [ - [ - 924, - 25 - ], - [ - 943, - 1 - ] - ], - "doc": "~Private~" - } - }, - "943": { - "12": { - "name": "isHidden", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 943, - 12 - ], - [ - 950, - 1 - ] - ], - "doc": "Private: Override for speed. The base function checks computedStyle, unnecessary here. " - } - }, - "950": { - "22": { - "name": "clearRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 950, - 22 - ], - [ - 955, - 1 - ] - ], - "doc": "~Private~" - } - }, - "955": { - "16": { - "name": "resetDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 955, - 16 - ], - [ - 970, - 1 - ] - ], - "doc": "~Private~" - } - }, - "970": { - "24": { - "name": "requestDisplayUpdate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 970, - 24 - ], - [ - 978, - 1 - ] - ], - "doc": "~Private~" - } - }, - "978": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 978, - 17 - ], - [ - 994, - 1 - ] - ], - "doc": "~Private~" - } - }, - "994": { - "21": { - "name": "updateCursorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 994, - 21 - ], - [ - 1006, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1006": { - "22": { - "name": "shouldUpdateCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 1006, - 22 - ], - [ - 1012, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1012": { - "24": { - "name": "updateSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1012, - 24 - ], - [ - 1023, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1023": { - "25": { - "name": "shouldUpdateSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selectionView" - ], - "range": [ - [ - 1023, - 25 - ], - [ - 1031, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1031": { - "24": { - "name": "syncCursorAnimations", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1031, - 24 - ], - [ - 1034, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1034": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "suppressAutoscroll" - ], - "range": [ - [ - 1034, - 14 - ], - [ - 1046, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1046": { - "25": { - "name": "updatePlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1046, - 25 - ], - [ - 1057, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1057": { - "23": { - "name": "updateRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollViewWidth" - ], - "range": [ - [ - 1057, - 23 - ], - [ - 1084, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1084": { - "38": { - "name": "computeSurroundingEmptyLineChanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "change" - ], - "range": [ - [ - 1084, - 38 - ], - [ - 1102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1102": { - "23": { - "name": "computeIntactRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1102, - 23 - ], - [ - 1144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1144": { - "24": { - "name": "truncateIntactRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges", - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1144, - 24 - ], - [ - 1158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1158": { - "20": { - "name": "clearDirtyRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges" - ], - "range": [ - [ - 1158, - 20 - ], - [ - 1173, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1173": { - "13": { - "name": "clearLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement" - ], - "range": [ - [ - 1173, - 13 - ], - [ - 1178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1178": { - "19": { - "name": "fillDirtyRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges", - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1178, - 19 - ], - [ - 1201, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1201": { - "32": { - "name": "updatePaddingOfRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1201, - 32 - ], - [ - 1214, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1214": { - "28": { - "name": "getFirstVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1214, - 28 - ], - [ - 1223, - 1 - ] - ], - "doc": " Public: Retrieves the number of the row that is visible and currently at the\ntop of the editor.\n\nReturns a {Number}. " - } - }, - "1223": { - "27": { - "name": "getLastVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1223, - 27 - ], - [ - 1234, - 1 - ] - ], - "doc": " Public: Retrieves the number of the row that is visible and currently at the\nbottom of the editor.\n\nReturns a {Number}. " - } - }, - "1234": { - "22": { - "name": "isScreenRowVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 1234, - 22 - ], - [ - 1237, - 1 - ] - ], - "doc": " Public: Given a row number, identifies if it is currently visible.\n\nrow - A row {Number} to check\n\nReturns a {Boolean}. " - } - }, - "1237": { - "27": { - "name": "handleScreenLinesChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "change" - ], - "range": [ - [ - 1237, - 27 - ], - [ - 1241, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1241": { - "32": { - "name": "buildLineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 1241, - 32 - ], - [ - 1244, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1244": { - "34": { - "name": "buildLineElementsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1244, - 34 - ], - [ - 1249, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1249": { - "21": { - "name": "htmlForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1249, - 21 - ], - [ - 1256, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1256": { - "21": { - "name": "htmlForScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine", - "screenRow" - ], - "range": [ - [ - 1256, - 21 - ], - [ - 1271, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1271": { - "21": { - "name": "buildIndentation", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "screenRow", - "editor" - ], - "range": [ - [ - 1271, - 21 - ], - [ - 1298, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1298": { - "32": { - "name": "buildHtmlEndOfLineInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine" - ], - "range": [ - [ - 1298, - 32 - ], - [ - 1304, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1304": { - "26": { - "name": "getEndOfLineInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine" - ], - "range": [ - [ - 1304, - 26 - ], - [ - 1313, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1313": { - "27": { - "name": "lineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 1313, - 27 - ], - [ - 1316, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1316": { - "33": { - "name": "toggleLineCommentsInSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1316, - 33 - ], - [ - 1325, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1325": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1325, - 34 - ], - [ - 1334, - 1 - ] - ], - "doc": " Public: Converts a buffer position to a pixel position.\n\nposition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " - } - }, - "1334": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1334, - 34 - ], - [ - 1348, - 1 - ] - ], - "doc": " Public: Converts a screen position to a pixel position.\n\nposition - An object that represents a screen position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " - } - }, - "1348": { - "32": { - "name": "positionLeftForLineAndColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement", - "screenRow", - "screenColumn" - ], - "range": [ - [ - 1348, - 32 - ], - [ - 1371, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1371": { - "19": { - "name": "measureToColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement", - "tokenizedLine", - "screenColumn" - ], - "range": [ - [ - 1371, - 19 - ], - [ - 1416, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1416": { - "26": { - "name": "getCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "char" - ], - "range": [ - [ - 1416, - 26 - ], - [ - 1424, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1424": { - "26": { - "name": "setCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "char", - "val" - ], - "range": [ - [ - 1424, - 26 - ], - [ - 1432, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1432": { - "28": { - "name": "clearCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1432, - 28 - ], - [ - 1435, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1435": { - "32": { - "name": "pixelOffsetForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1435, - 32 - ], - [ - 1440, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1440": { - "32": { - "name": "screenPositionFromMouseEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 1440, - 32 - ], - [ - 1470, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1470": { - "23": { - "name": "highlightCursorLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1470, - 23 - ], - [ - 1481, - 1 - ] - ], - "doc": "Private: Highlights the current line the cursor is on. " - } - }, - "1481": { - "23": { - "name": "copyPathToClipboard", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1481, - 23 - ], - [ - 1485, - 1 - ] - ], - "doc": "Private: Copies the current file path to the native clipboard. " - } - }, - "1485": { - "18": { - "name": "buildLineHtml", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 1485, - 18 - ], - [ - 1513, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1513": { - "21": { - "name": "updateScopeStack", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 1513, - 21 - ], - [ - 1529, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1529": { - "14": { - "name": "pushScope", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack", - "scope" - ], - "range": [ - [ - 1529, - 14 - ], - [ - 1533, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1533": { - "13": { - "name": "popScope", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack" - ], - "range": [ - [ - 1533, - 13 - ], - [ - 1537, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1537": { - "23": { - "name": "buildEmptyLineHtml", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "showIndentGuide", - "eolInvisibles", - "htmlEolInvisibles", - "indentation", - "editor", - "mini" - ], - "range": [ - [ - 1537, - 23 - ], - [ - 1563, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1563": { - "23": { - "name": "replaceSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "replaceFn" - ], - "range": [ - [ - 1563, - 23 - ], - [ - 1573, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1573": { - "25": { - "name": "consolidateSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 1573, - 25 - ], - [ - 1573, - 89 - ] - ], - "doc": "~Private~" - } - }, - "1575": { - "18": { - "name": "logCursorScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1575, - 18 - ], - [ - 1578, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1578": { - "18": { - "name": "logScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 1578, - 18 - ], - [ - 1581, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1581": { - "20": { - "name": "logRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1581, - 20 - ], - [ - 1583, - 35 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 41 - }, - "src/editor.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "3": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 3, - 12 - ], - [ - 3, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 6, - 8 - ], - [ - 6, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "7": { - "15": { - "name": "LanguageMode", - "type": "import", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 39 - ] - ], - "bindingType": "variable", - "path": "./language-mode" - } - }, - "8": { - "16": { - "name": "DisplayBuffer", - "type": "import", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 41 - ] - ], - "bindingType": "variable", - "path": "./display-buffer" - } - }, - "9": { - "9": { - "name": "Cursor", - "type": "import", - "range": [ - [ - 9, - 9 - ], - [ - 9, - 26 - ] - ], - "bindingType": "variable", - "path": "./cursor" - } - }, - "10": { - "12": { - "name": "Selection", - "type": "import", - "range": [ - [ - 10, - 12 - ], - [ - 10, - 32 - ] - ], - "bindingType": "variable", - "path": "./selection" - } - }, - "11": { - "24": { - "type": "primitive", - "range": [ - [ - 11, - 24 - ], - [ - 11, - 58 - ] - ] - } - }, - "138": { - "0": { - "type": "class", - "name": "Editor", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 143, - 17 - ], - [ - 144, - 32 - ], - [ - 145, - 18 - ], - [ - 146, - 10 - ], - [ - 147, - 16 - ], - [ - 148, - 11 - ], - [ - 149, - 14 - ], - [ - 150, - 28 - ], - [ - 151, - 20 - ], - [ - 152, - 26 - ], - [ - 161, - 15 - ], - [ - 190, - 19 - ], - [ - 197, - 21 - ], - [ - 202, - 21 - ], - [ - 215, - 28 - ], - [ - 228, - 16 - ], - [ - 234, - 13 - ], - [ - 242, - 8 - ], - [ - 258, - 12 - ], - [ - 271, - 16 - ], - [ - 281, - 14 - ], - [ - 288, - 25 - ], - [ - 292, - 21 - ], - [ - 296, - 15 - ], - [ - 301, - 15 - ], - [ - 304, - 18 - ], - [ - 307, - 15 - ], - [ - 312, - 15 - ], - [ - 315, - 18 - ], - [ - 323, - 14 - ], - [ - 328, - 16 - ], - [ - 331, - 16 - ], - [ - 339, - 16 - ], - [ - 361, - 22 - ], - [ - 369, - 19 - ], - [ - 381, - 27 - ], - [ - 396, - 30 - ], - [ - 414, - 22 - ], - [ - 418, - 21 - ], - [ - 428, - 8 - ], - [ - 435, - 10 - ], - [ - 437, - 16 - ], - [ - 442, - 23 - ], - [ - 447, - 11 - ], - [ - 450, - 11 - ], - [ - 453, - 11 - ], - [ - 458, - 18 - ], - [ - 461, - 16 - ], - [ - 464, - 13 - ], - [ - 467, - 10 - ], - [ - 470, - 20 - ], - [ - 473, - 24 - ], - [ - 479, - 25 - ], - [ - 482, - 24 - ], - [ - 486, - 20 - ], - [ - 494, - 27 - ], - [ - 500, - 20 - ], - [ - 506, - 26 - ], - [ - 509, - 8 - ], - [ - 512, - 21 - ], - [ - 515, - 30 - ], - [ - 518, - 14 - ], - [ - 520, - 11 - ], - [ - 524, - 22 - ], - [ - 536, - 35 - ], - [ - 546, - 35 - ], - [ - 551, - 29 - ], - [ - 556, - 29 - ], - [ - 573, - 22 - ], - [ - 576, - 20 - ], - [ - 579, - 22 - ], - [ - 582, - 22 - ], - [ - 585, - 26 - ], - [ - 588, - 20 - ], - [ - 591, - 27 - ], - [ - 593, - 25 - ], - [ - 605, - 27 - ], - [ - 614, - 31 - ], - [ - 618, - 26 - ], - [ - 624, - 19 - ], - [ - 626, - 18 - ], - [ - 633, - 14 - ], - [ - 639, - 17 - ], - [ - 643, - 22 - ], - [ - 649, - 22 - ], - [ - 668, - 10 - ], - [ - 674, - 13 - ], - [ - 678, - 30 - ], - [ - 683, - 30 - ], - [ - 690, - 27 - ], - [ - 696, - 27 - ], - [ - 701, - 10 - ], - [ - 708, - 21 - ], - [ - 714, - 21 - ], - [ - 718, - 14 - ], - [ - 722, - 22 - ], - [ - 726, - 23 - ], - [ - 734, - 33 - ], - [ - 739, - 26 - ], - [ - 744, - 30 - ], - [ - 751, - 18 - ], - [ - 758, - 19 - ], - [ - 765, - 20 - ], - [ - 779, - 13 - ], - [ - 798, - 8 - ], - [ - 803, - 8 - ], - [ - 812, - 18 - ], - [ - 817, - 20 - ], - [ - 822, - 21 - ], - [ - 826, - 11 - ], - [ - 830, - 13 - ], - [ - 836, - 24 - ], - [ - 846, - 17 - ], - [ - 852, - 19 - ], - [ - 862, - 25 - ], - [ - 865, - 25 - ], - [ - 870, - 14 - ], - [ - 874, - 21 - ], - [ - 878, - 39 - ], - [ - 884, - 25 - ], - [ - 893, - 23 - ], - [ - 901, - 23 - ], - [ - 909, - 23 - ], - [ - 913, - 34 - ], - [ - 917, - 34 - ], - [ - 921, - 34 - ], - [ - 926, - 14 - ], - [ - 979, - 16 - ], - [ - 1034, - 18 - ], - [ - 1060, - 17 - ], - [ - 1072, - 22 - ], - [ - 1075, - 23 - ], - [ - 1096, - 32 - ], - [ - 1137, - 18 - ], - [ - 1140, - 19 - ], - [ - 1144, - 13 - ], - [ - 1148, - 14 - ], - [ - 1170, - 15 - ], - [ - 1179, - 19 - ], - [ - 1188, - 19 - ], - [ - 1197, - 22 - ], - [ - 1206, - 22 - ], - [ - 1210, - 17 - ], - [ - 1216, - 18 - ], - [ - 1220, - 22 - ], - [ - 1224, - 14 - ], - [ - 1227, - 13 - ], - [ - 1233, - 29 - ], - [ - 1240, - 29 - ], - [ - 1245, - 13 - ], - [ - 1255, - 16 - ], - [ - 1264, - 16 - ], - [ - 1288, - 30 - ], - [ - 1301, - 26 - ], - [ - 1311, - 26 - ], - [ - 1321, - 27 - ], - [ - 1336, - 19 - ], - [ - 1342, - 19 - ], - [ - 1347, - 25 - ], - [ - 1355, - 31 - ], - [ - 1361, - 17 - ], - [ - 1363, - 27 - ], - [ - 1374, - 16 - ], - [ - 1381, - 20 - ], - [ - 1388, - 40 - ], - [ - 1394, - 28 - ], - [ - 1403, - 34 - ], - [ - 1415, - 27 - ], - [ - 1422, - 27 - ], - [ - 1428, - 22 - ], - [ - 1439, - 27 - ], - [ - 1446, - 27 - ], - [ - 1453, - 26 - ], - [ - 1460, - 26 - ], - [ - 1468, - 27 - ], - [ - 1476, - 27 - ], - [ - 1482, - 19 - ], - [ - 1490, - 24 - ], - [ - 1499, - 24 - ], - [ - 1505, - 34 - ], - [ - 1511, - 22 - ], - [ - 1515, - 16 - ], - [ - 1519, - 18 - ], - [ - 1523, - 18 - ], - [ - 1527, - 19 - ], - [ - 1533, - 19 - ], - [ - 1539, - 22 - ], - [ - 1543, - 37 - ], - [ - 1547, - 31 - ], - [ - 1551, - 36 - ], - [ - 1555, - 31 - ], - [ - 1559, - 25 - ], - [ - 1563, - 31 - ], - [ - 1567, - 25 - ], - [ - 1571, - 35 - ], - [ - 1575, - 36 - ], - [ - 1579, - 32 - ], - [ - 1583, - 40 - ], - [ - 1587, - 44 - ], - [ - 1596, - 26 - ], - [ - 1599, - 10 - ], - [ - 1604, - 12 - ], - [ - 1609, - 16 - ], - [ - 1612, - 18 - ], - [ - 1616, - 18 - ], - [ - 1619, - 15 - ], - [ - 1626, - 15 - ], - [ - 1636, - 26 - ], - [ - 1645, - 15 - ], - [ - 1652, - 14 - ], - [ - 1659, - 12 - ], - [ - 1666, - 14 - ], - [ - 1673, - 15 - ], - [ - 1679, - 13 - ], - [ - 1686, - 18 - ], - [ - 1693, - 27 - ], - [ - 1702, - 32 - ], - [ - 1709, - 21 - ], - [ - 1716, - 32 - ], - [ - 1723, - 28 - ], - [ - 1729, - 14 - ], - [ - 1740, - 21 - ], - [ - 1751, - 21 - ], - [ - 1759, - 28 - ], - [ - 1776, - 13 - ], - [ - 1791, - 13 - ], - [ - 1798, - 13 - ], - [ - 1809, - 13 - ], - [ - 1816, - 27 - ], - [ - 1823, - 21 - ], - [ - 1830, - 31 - ], - [ - 1834, - 14 - ], - [ - 1841, - 36 - ], - [ - 1848, - 40 - ], - [ - 1856, - 16 - ], - [ - 1863, - 16 - ], - [ - 1873, - 27 - ], - [ - 1879, - 28 - ], - [ - 1883, - 22 - ], - [ - 1889, - 31 - ], - [ - 1910, - 40 - ], - [ - 1919, - 14 - ], - [ - 1926, - 14 - ], - [ - 1930, - 17 - ], - [ - 1933, - 20 - ], - [ - 1944, - 12 - ], - [ - 1952, - 20 - ], - [ - 1958, - 21 - ], - [ - 1962, - 20 - ], - [ - 1964, - 11 - ], - [ - 1967, - 18 - ], - [ - 1969, - 22 - ], - [ - 1972, - 23 - ], - [ - 1976, - 23 - ], - [ - 1980, - 32 - ], - [ - 1983, - 27 - ], - [ - 1984, - 27 - ], - [ - 1986, - 29 - ], - [ - 1987, - 29 - ], - [ - 1989, - 25 - ], - [ - 1990, - 25 - ], - [ - 1992, - 29 - ], - [ - 1994, - 22 - ], - [ - 1995, - 22 - ], - [ - 1997, - 23 - ], - [ - 1999, - 25 - ], - [ - 2001, - 23 - ], - [ - 2002, - 23 - ], - [ - 2004, - 13 - ], - [ - 2005, - 13 - ], - [ - 2007, - 19 - ], - [ - 2009, - 12 - ], - [ - 2010, - 12 - ], - [ - 2012, - 16 - ], - [ - 2013, - 16 - ], - [ - 2015, - 19 - ], - [ - 2016, - 19 - ], - [ - 2018, - 17 - ], - [ - 2019, - 17 - ], - [ - 2021, - 18 - ], - [ - 2022, - 18 - ], - [ - 2024, - 19 - ], - [ - 2025, - 18 - ], - [ - 2027, - 22 - ], - [ - 2029, - 29 - ], - [ - 2031, - 38 - ], - [ - 2033, - 34 - ], - [ - 2035, - 34 - ], - [ - 2037, - 34 - ], - [ - 2039, - 27 - ], - [ - 2041, - 23 - ], - [ - 2043, - 26 - ], - [ - 2045, - 26 - ], - [ - 2047, - 26 - ], - [ - 2049, - 24 - ], - [ - 2051, - 32 - ], - [ - 2052, - 32 - ], - [ - 2054, - 29 - ], - [ - 2055, - 29 - ], - [ - 2058, - 12 - ] - ], - "doc": " Public: This class represents all essential editing state for a single\n{TextBuffer}, including cursor and selection positions, folds, and soft wraps.\nIf you're manipulating the state of an editor, use this class. If you're\ninterested in the visual appearance of editors, use {EditorView} instead.\n\nA single {TextBuffer} can belong to multiple editors. For example, if the\nsame file is open in two different panes, Atom creates a separate editor for\neach pane. If the buffer is manipulated the changes are reflected in both\neditors, but each maintains its own cursor position, folded lines, etc.\n\n## Accessing Editor Instances\n\nThe easiest way to get hold of `Editor` objects is by registering a callback\nwith `::eachEditor` on the `atom.workspace` global. Your callback will then\nbe called with all current editor instances and also when any editor is\ncreated in the future.\n\n```coffeescript\n atom.workspace.eachEditor (editor) ->\n editor.insertText('Hello World')\n```\n\n## Buffer vs. Screen Coordinates\n\nBecause editors support folds and soft-wrapping, the lines on screen don't\nalways match the lines in the buffer. For example, a long line that soft wraps\ntwice renders as three lines on screen, but only represents one line in the\nbuffer. Similarly, if rows 5-10 are folded, then row 6 on screen corresponds\nto row 11 in the buffer.\n\nYour choice of coordinates systems will depend on what you're trying to\nachieve. For example, if you're writing a command that jumps the cursor up or\ndown by 10 lines, you'll want to use screen coordinates because the user\nprobably wants to skip lines *on screen*. However, if you're writing a package\nthat jumps between method definitions, you'll want to work in buffer\ncoordinates.\n\n**When in doubt, just default to buffer coordinates**, then experiment with\nsoft wraps and folds to ensure your code interacts with them correctly.\n\n## Common Tasks\n\nThis is a subset of methods on this class. Refer to the complete summary for\nits full capabilities.\n\n### Cursors\n- {::setCursorBufferPosition}\n- {::setCursorScreenPosition}\n- {::moveCursorUp}\n- {::moveCursorDown}\n- {::moveCursorLeft}\n- {::moveCursorRight}\n- {::moveCursorToBeginningOfWord}\n- {::moveCursorToEndOfWord}\n- {::moveCursorToPreviousWordBoundary}\n- {::moveCursorToNextWordBoundary}\n- {::moveCursorToBeginningOfNextWord}\n- {::moveCursorToBeginningOfLine}\n- {::moveCursorToEndOfLine}\n- {::moveCursorToFirstCharacterOfLine}\n- {::moveCursorToTop}\n- {::moveCursorToBottom}\n\n### Selections\n- {::getSelectedBufferRange}\n- {::getSelectedBufferRanges}\n- {::setSelectedBufferRange}\n- {::setSelectedBufferRanges}\n- {::selectUp}\n- {::selectDown}\n- {::selectLeft}\n- {::selectRight}\n- {::selectToBeginningOfWord}\n- {::selectToEndOfWord}\n- {::selectToPreviousWordBoundary}\n- {::selectToNextWordBoundary}\n- {::selectWord}\n- {::selectToBeginningOfLine}\n- {::selectToEndOfLine}\n- {::selectToFirstCharacterOfLine}\n- {::selectToTop}\n- {::selectToBottom}\n- {::selectAll}\n- {::addSelectionForBufferRange}\n- {::addSelectionAbove}\n- {::addSelectionBelow}\n- {::splitSelectionsIntoLines}\n\n### Manipulating Text\n- {::getText}\n- {::getSelectedText}\n- {::setText}\n- {::setTextInBufferRange}\n- {::insertText}\n- {::insertNewline}\n- {::insertNewlineAbove}\n- {::insertNewlineBelow}\n- {::backspace}\n- {::deleteToBeginningOfWord}\n- {::deleteToBeginningOfLine}\n- {::delete}\n- {::deleteToEndOfLine}\n- {::deleteToEndOfWord}\n- {::deleteLine}\n- {::cutSelectedText}\n- {::cutToEndOfLine}\n- {::copySelectedText}\n- {::pasteText}\n\n### Undo, Redo, and Transactions\n- {::undo}\n- {::redo}\n- {::transact}\n- {::abortTransaction}\n\n### Markers\n- {::markBufferRange}\n- {::markScreenRange}\n- {::getMarker}\n- {::findMarkers}\n\n### Decorations\n- {::decorateMarker}\n- {::decorationsForScreenRowRange} ", - "range": [ - [ - 138, - 0 - ], - [ - 2060, - 16 - ] - ] - } - }, - "143": { - "17": { - "name": "deserializing", - "type": "primitive", - "range": [ - [ - 143, - 17 - ], - [ - 143, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "144": { - "32": { - "name": "callDisplayBufferCreatedHook", - "type": "primitive", - "range": [ - [ - 144, - 32 - ], - [ - 144, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "145": { - "18": { - "name": "registerEditor", - "type": "primitive", - "range": [ - [ - 145, - 18 - ], - [ - 145, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "146": { - "10": { - "name": "buffer", - "type": "primitive", - "range": [ - [ - 146, - 10 - ], - [ - 146, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "147": { - "16": { - "name": "languageMode", - "type": "primitive", - "range": [ - [ - 147, - 16 - ], - [ - 147, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "148": { - "11": { - "name": "cursors", - "type": "primitive", - "range": [ - [ - 148, - 11 - ], - [ - 148, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "149": { - "14": { - "name": "selections", - "type": "primitive", - "range": [ - [ - 149, - 14 - ], - [ - 149, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "150": { - "28": { - "name": "suppressSelectionMerging", - "type": "primitive", - "range": [ - [ - 150, - 28 - ], - [ - 150, - 32 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "151": { - "20": { - "name": "updateBatchDepth", - "type": "primitive", - "range": [ - [ - 151, - 20 - ], - [ - 151, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "152": { - "26": { - "name": "selectionFlashDuration", - "type": "primitive", - "range": [ - [ - 152, - 26 - ], - [ - 152, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "161": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 161, - 15 - ], - [ - 190, - 1 - ] - ], - "doc": "~Private~" - } - }, - "190": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 19 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 197, - 21 - ], - [ - 202, - 1 - ] - ], - "doc": "~Private~" - } - }, - "202": { - "21": { - "name": "subscribeToBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 202, - 21 - ], - [ - 215, - 1 - ] - ], - "doc": "~Private~" - } - }, - "215": { - "28": { - "name": "subscribeToDisplayBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 215, - 28 - ], - [ - 228, - 1 - ] - ], - "doc": "~Private~" - } - }, - "228": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 228, - 16 - ], - [ - 234, - 1 - ] - ], - "doc": "~Private~" - } - }, - "234": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 13 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 242, - 8 - ], - [ - 258, - 1 - ] - ], - "doc": "Private: Create an {Editor} with its initial state based on this object " - } - }, - "258": { - "12": { - "name": "getTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 258, - 12 - ], - [ - 271, - 1 - ] - ], - "doc": " Public: Get the title the editor's title for display in other parts of the\nUI such as the tabs.\n\nIf the editor's buffer is saved, its title is the file name. If it is\nunsaved, its title is \"untitled\".\n\nReturns a {String}. " - } - }, - "271": { - "16": { - "name": "getLongTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 271, - 16 - ], - [ - 281, - 1 - ] - ], - "doc": " Public: Get the editor's long title for display in other parts of the UI\nsuch as the window title.\n\nIf the editor's buffer is saved, its long title is formatted as\n\" - \". If it is unsaved, its title is \"untitled\"\n\nReturns a {String}. " - } - }, - "281": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 281, - 14 - ], - [ - 281, - 60 - ] - ], - "doc": "Private: Controls visibility based on the given {Boolean}. " - } - }, - "288": { - "25": { - "name": "setEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorWidthInChars" - ], - "range": [ - [ - 288, - 25 - ], - [ - 292, - 1 - ] - ], - "doc": " Private: Set the number of characters that can be displayed horizontally in the\neditor.\n\neditorWidthInChars - A {Number} representing the width of the {EditorView}\nin characters. " - } - }, - "292": { - "21": { - "name": "getSoftWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 21 - ], - [ - 292, - 57 - ] - ], - "doc": "Public: Sets the column at which column will soft wrap " - } - }, - "296": { - "15": { - "name": "getSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 296, - 15 - ], - [ - 296, - 26 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether softTabs are enabled for this\neditor. " - } - }, - "301": { - "15": { - "name": "setSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 301, - 15 - ], - [ - 301, - 38 - ] - ], - "doc": " Public: Enable or disable soft tabs for this editor.\n\nsoftTabs - A {Boolean} " - } - }, - "304": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 304, - 18 - ], - [ - 304, - 52 - ] - ], - "doc": "Public: Toggle soft tabs for this editor " - } - }, - "307": { - "15": { - "name": "getSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 307, - 15 - ], - [ - 307, - 45 - ] - ], - "doc": "Public: Get whether soft wrap is enabled for this editor. " - } - }, - "312": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 312, - 15 - ], - [ - 312, - 64 - ] - ], - "doc": " Public: Enable or disable soft wrap for this editor.\n\nsoftWrap - A {Boolean} " - } - }, - "315": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 18 - ], - [ - 315, - 52 - ] - ], - "doc": "Public: Toggle soft wrap for this editor " - } - }, - "323": { - "14": { - "name": "getTabText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 323, - 14 - ], - [ - 323, - 37 - ] - ], - "doc": " Public: Get the text representing a single level of indent.\n\nIf soft tabs are enabled, the text is composed of N spaces, where N is the\ntab length. Otherwise the text is a tab character (`\\t`).\n\nReturns a {String}. " - } - }, - "328": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 328, - 16 - ], - [ - 328, - 47 - ] - ], - "doc": " Public: Get the on-screen length of tab characters.\n\nReturns a {Number}. " - } - }, - "331": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 331, - 16 - ], - [ - 331, - 68 - ] - ], - "doc": "Public: Set the on-screen length of tab characters. " - } - }, - "339": { - "16": { - "name": "usesSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 339, - 16 - ], - [ - 361, - 1 - ] - ], - "doc": " Public: Determine if the buffer uses hard or soft tabs.\n\nReturns `true` if the first non-comment line with leading whitespace starts\nwith a space character. Returns `false` if it starts with a hard tab (`\\t`).\n\nReturns a {Boolean}, " - } - }, - "361": { - "22": { - "name": "clipBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 361, - 22 - ], - [ - 361, - 77 - ] - ], - "doc": " Public: Clip the given {Point} to a valid position in the buffer.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the buffer, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " - } - }, - "369": { - "19": { - "name": "clipBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 369, - 19 - ], - [ - 369, - 53 - ] - ], - "doc": " Public: Clip the start and end of the given range to valid positions in the\nbuffer. See {::clipBufferPosition} for more information.\n\nrange - The {Range} to clip.\n\nReturns a {Range}. " - } - }, - "381": { - "27": { - "name": "indentationForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 381, - 27 - ], - [ - 396, - 1 - ] - ], - "doc": " Public: Get the indentation level of the given a buffer row.\n\nReturns how deeply the given row is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nbufferRow - A {Number} indicating the buffer row.\n\nReturns a {Number}. " - } - }, - "396": { - "30": { - "name": "setIndentationForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "newLevel", - null - ], - "range": [ - [ - 396, - 30 - ], - [ - 414, - 1 - ] - ], - "doc": " Public: Set the indentation level for the given buffer row.\n\nInserts or removes hard tabs or spaces based on the soft tabs and tab length\nsettings of this editor in order to bring it to the given indentation level.\nNote that if soft tabs are enabled and the tab length is 2, a row with 4\nleading spaces would have an indentation level of 2.\n\nbufferRow - A {Number} indicating the buffer row.\nnewLevel - A {Number} indicating the new indentation level.\noptions - An {Object} with the following keys:\n :preserveLeadingWhitespace - true to preserve any whitespace already at\n the beginning of the line (default: false). " - } - }, - "414": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 414, - 22 - ], - [ - 418, - 1 - ] - ], - "doc": " Public: Get the indentation level of the given line of text.\n\nReturns how deeply the given line is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nline - A {String} representing a line of text.\n\nReturns a {Number}. " - } - }, - "418": { - "21": { - "name": "buildIndentString", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "number", - "column" - ], - "range": [ - [ - 418, - 21 - ], - [ - 428, - 1 - ] - ], - "doc": "Private: Constructs the string used for tabs. " - } - }, - "428": { - "8": { - "name": "save", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 8 - ], - [ - 428, - 24 - ] - ], - "doc": " Public: Saves the editor's text buffer.\n\nSee {TextBuffer::save} for more details. " - } - }, - "435": { - "10": { - "name": "saveAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 435, - 10 - ], - [ - 435, - 47 - ] - ], - "doc": " Public: Saves the editor's text buffer as the given path.\n\nSee {TextBuffer::saveAs} for more details.\n\nfilePath - A {String} path. " - } - }, - "437": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 437, - 16 - ], - [ - 442, - 1 - ] - ], - "doc": "~Private~" - } - }, - "442": { - "23": { - "name": "copyPathToClipboard", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 442, - 23 - ], - [ - 447, - 1 - ] - ], - "doc": "Private: Copies the current file path to the native clipboard. " - } - }, - "447": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 447, - 11 - ], - [ - 447, - 30 - ] - ], - "doc": "Public: Returns the {String} path of this editor's text buffer. " - } - }, - "450": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 450, - 11 - ], - [ - 450, - 30 - ] - ], - "doc": "Public: Returns a {String} representing the entire contents of the editor. " - } - }, - "453": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 453, - 11 - ], - [ - 453, - 41 - ] - ], - "doc": "Public: Replaces the entire contents of the buffer with the given {String}. " - } - }, - "458": { - "18": { - "name": "getTextInRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 458, - 18 - ], - [ - 458, - 57 - ] - ], - "doc": " Private: Get the text in the given {Range}.\n\nReturns a {String}. " - } - }, - "461": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 461, - 16 - ], - [ - 461, - 40 - ] - ], - "doc": "Public: Returns a {Number} representing the number of lines in the editor. " - } - }, - "464": { - "13": { - "name": "getBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 464, - 13 - ], - [ - 464, - 22 - ] - ], - "doc": "Private: Retrieves the current {TextBuffer}. " - } - }, - "467": { - "10": { - "name": "getUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 467, - 10 - ], - [ - 467, - 28 - ] - ], - "doc": "Public: Retrieves the current buffer's URI. " - } - }, - "470": { - "20": { - "name": "isBufferRowBlank", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 470, - 20 - ], - [ - 470, - 63 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.isRowBlank} " - } - }, - "473": { - "24": { - "name": "isBufferRowCommented", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 473, - 24 - ], - [ - 479, - 1 - ] - ], - "doc": "Public: Determine if the given row is entirely a comment " - } - }, - "479": { - "25": { - "name": "nextNonBlankBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 479, - 25 - ], - [ - 479, - 73 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.nextNonBlankRow} " - } - }, - "482": { - "24": { - "name": "getEofBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 482, - 24 - ], - [ - 482, - 50 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.getEndPosition} " - } - }, - "486": { - "20": { - "name": "getLastBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 486, - 20 - ], - [ - 486, - 42 - ] - ], - "doc": " Public: Returns a {Number} representing the last zero-indexed buffer row\nnumber of the editor. " - } - }, - "494": { - "27": { - "name": "bufferRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - null - ], - "range": [ - [ - 494, - 27 - ], - [ - 494, - 96 - ] - ], - "doc": " Private: Returns the range for the given buffer row.\n\nrow - A row {Number}.\noptions - An options hash with an `includeNewline` key.\n\nReturns a {Range}. " - } - }, - "500": { - "20": { - "name": "lineForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 500, - 20 - ], - [ - 500, - 51 - ] - ], - "doc": " Public: Returns a {String} representing the contents of the line at the\ngiven buffer row.\n\nrow - A {Number} representing a zero-indexed buffer row. " - } - }, - "506": { - "26": { - "name": "lineLengthForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 506, - 26 - ], - [ - 506, - 63 - ] - ], - "doc": " Public: Returns a {Number} representing the line length for the given\nbuffer row, exclusive of its line-ending character(s).\n\nrow - A {Number} indicating the buffer row. " - } - }, - "509": { - "8": { - "name": "scan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 509, - 8 - ], - [ - 509, - 41 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.scan} " - } - }, - "512": { - "21": { - "name": "scanInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 512, - 21 - ], - [ - 512, - 61 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.scanInRange} " - } - }, - "515": { - "30": { - "name": "backwardsScanInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 515, - 30 - ], - [ - 515, - 79 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.backwardsScanInRange} " - } - }, - "518": { - "14": { - "name": "isModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 518, - 14 - ], - [ - 518, - 36 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.isModified} " - } - }, - "520": { - "11": { - "name": "isEmpty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 520, - 11 - ], - [ - 520, - 30 - ] - ], - "doc": "~Private~" - } - }, - "524": { - "22": { - "name": "shouldPromptToSave", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 524, - 22 - ], - [ - 524, - 74 - ] - ], - "doc": " Public: Determine whether the user should be prompted to save before closing\nthis editor. " - } - }, - "536": { - "35": { - "name": "screenPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 536, - 35 - ], - [ - 536, - 134 - ] - ], - "doc": " Public: Convert a position in buffer-coordinates to screen-coordinates.\n\nThe position is clipped via {::clipBufferPosition} prior to the conversion.\nThe position is also clipped via {::clipScreenPosition} following the\nconversion, which only makes a difference when `options` are supplied.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " - } - }, - "546": { - "35": { - "name": "bufferPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 546, - 35 - ], - [ - 546, - 134 - ] - ], - "doc": " Public: Convert a position in screen-coordinates to buffer-coordinates.\n\nThe position is clipped via {::clipScreenPosition} prior to the conversion.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " - } - }, - "551": { - "29": { - "name": "screenRangeForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 551, - 29 - ], - [ - 551, - 98 - ] - ], - "doc": " Public: Convert a range in buffer-coordinates to screen-coordinates.\n\nReturns a {Range}. " - } - }, - "556": { - "29": { - "name": "bufferRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 556, - 29 - ], - [ - 556, - 98 - ] - ], - "doc": " Public: Convert a range in screen-coordinates to buffer-coordinates.\n\nReturns a {Range}. " - } - }, - "573": { - "22": { - "name": "clipScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 573, - 22 - ], - [ - 573, - 108 - ] - ], - "doc": " Public: Clip the given {Point} to a valid position on screen.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the screen, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at screen row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " - } - }, - "576": { - "20": { - "name": "lineForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 576, - 20 - ], - [ - 576, - 58 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.lineForRow} " - } - }, - "579": { - "22": { - "name": "linesForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 579, - 22 - ], - [ - 579, - 76 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.linesForRows} " - } - }, - "582": { - "22": { - "name": "getScreenLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 582, - 22 - ], - [ - 582, - 53 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getLineCount} " - } - }, - "585": { - "26": { - "name": "getMaxScreenLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 585, - 26 - ], - [ - 585, - 61 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getMaxLineLength} " - } - }, - "588": { - "20": { - "name": "getLastScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 588, - 20 - ], - [ - 588, - 49 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getLastRow} " - } - }, - "591": { - "27": { - "name": "bufferRowsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 591, - 27 - ], - [ - 591, - 104 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.bufferRowsForScreenRows} " - } - }, - "593": { - "25": { - "name": "bufferRowForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 593, - 25 - ], - [ - 593, - 74 - ] - ], - "doc": "~Private~" - } - }, - "605": { - "27": { - "name": "scopesForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 605, - 27 - ], - [ - 605, - 100 - ] - ], - "doc": " Public: Get the syntactic scopes for the given position in buffer\ncoordinates.\n\nFor example, if called with a position inside the parameter list of an\nanonymous CoffeeScript function, the method returns the following array:\n`[\"source.coffee\", \"meta.inline.function.coffee\", \"variable.parameter.function.coffee\"]`\n\nbufferPosition - A {Point} or {Array} of [row, column].\n\nReturns an {Array} of {String}s. " - } - }, - "614": { - "31": { - "name": "bufferRangeForScopeAtCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 614, - 31 - ], - [ - 618, - 1 - ] - ], - "doc": " Public: Get the range in buffer coordinates of all tokens surrounding the\ncursor that match the given scope selector.\n\nFor example, if you wanted to find the string surrounding the cursor, you\ncould call `editor.bufferRangeForScopeAtCursor(\".string.quoted\")`.\n\nReturns a {Range}. " - } - }, - "618": { - "26": { - "name": "tokenForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 618, - 26 - ], - [ - 618, - 98 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.tokenForBufferPosition} " - } - }, - "624": { - "19": { - "name": "getCursorScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 624, - 19 - ], - [ - 624, - 45 - ] - ], - "doc": " Public: Get the syntactic scopes for the most recently added cursor's\nposition. See {::scopesForBufferPosition} for more information.\n\nReturns an {Array} of {String}s. " - } - }, - "626": { - "18": { - "name": "logCursorScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 626, - 18 - ], - [ - 633, - 1 - ] - ], - "doc": "~Private~" - } - }, - "633": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 633, - 14 - ], - [ - 639, - 1 - ] - ], - "doc": " Public: For each selection, replace the selected text with the given text.\n\ntext - A {String} representing the text to insert.\noptions - See {Selection::insertText}. " - } - }, - "639": { - "17": { - "name": "insertNewline", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 639, - 17 - ], - [ - 643, - 1 - ] - ], - "doc": "Public: For each selection, replace the selected text with a newline. " - } - }, - "643": { - "22": { - "name": "insertNewlineBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 643, - 22 - ], - [ - 649, - 1 - ] - ], - "doc": "Public: For each cursor, insert a newline at beginning the following line. " - } - }, - "649": { - "22": { - "name": "insertNewlineAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 649, - 22 - ], - [ - 668, - 1 - ] - ], - "doc": "Public: For each cursor, insert a newline at the end of the preceding line. " - } - }, - "668": { - "10": { - "name": "indent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 668, - 10 - ], - [ - 674, - 1 - ] - ], - "doc": " Private: Indent all lines intersecting selections. See {Selection::indent} for more\ninformation. " - } - }, - "674": { - "13": { - "name": "backspace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 674, - 13 - ], - [ - 678, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete the character\npreceding the cursor. Otherwise delete the selected text. " - } - }, - "678": { - "30": { - "name": "backspaceToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 678, - 30 - ], - [ - 683, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " - } - }, - "683": { - "30": { - "name": "backspaceToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 683, - 30 - ], - [ - 690, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " - } - }, - "690": { - "27": { - "name": "deleteToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 690, - 27 - ], - [ - 696, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word that precede the cursor. Otherwise delete the\nselected text. " - } - }, - "696": { - "27": { - "name": "deleteToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 696, - 27 - ], - [ - 701, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing line that precede the cursor. Otherwise delete the\nselected text. " - } - }, - "701": { - "10": { - "name": "delete", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 701, - 10 - ], - [ - 708, - 1 - ] - ] - } - }, - "708": { - "21": { - "name": "deleteToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 708, - 21 - ], - [ - 714, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is not empty, deletes the\nselection; otherwise, deletes all characters of the containing line\nfollowing the cursor. If the cursor is already at the end of the line,\ndeletes the following newline. " - } - }, - "714": { - "21": { - "name": "deleteToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 714, - 21 - ], - [ - 718, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word following the cursor. Otherwise delete the selected\ntext. " - } - }, - "718": { - "14": { - "name": "deleteLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 718, - 14 - ], - [ - 722, - 1 - ] - ], - "doc": "Public: Delete all lines intersecting selections. " - } - }, - "722": { - "22": { - "name": "indentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 722, - 22 - ], - [ - 726, - 1 - ] - ], - "doc": "Public: Indent rows intersecting selections by one level. " - } - }, - "726": { - "23": { - "name": "outdentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 726, - 23 - ], - [ - 734, - 1 - ] - ], - "doc": "Public: Outdent rows intersecting selections by one level. " - } - }, - "734": { - "33": { - "name": "toggleLineCommentsInSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 734, - 33 - ], - [ - 739, - 1 - ] - ], - "doc": " Public: Toggle line comments for rows intersecting selections.\n\nIf the current grammar doesn't support comments, does nothing.\n\nReturns an {Array} of the commented {Range}s. " - } - }, - "739": { - "26": { - "name": "autoIndentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 739, - 26 - ], - [ - 744, - 1 - ] - ], - "doc": " Public: Indent rows intersecting selections based on the grammar's suggested\nindent level. " - } - }, - "744": { - "30": { - "name": "normalizeTabsInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 744, - 30 - ], - [ - 751, - 1 - ] - ], - "doc": " Private: If soft tabs are enabled, convert all hard tabs to soft tabs in the given\n{Range}. " - } - }, - "751": { - "18": { - "name": "cutToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 751, - 18 - ], - [ - 758, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, cut all characters\nof the containing line following the cursor. Otherwise cut the selected\ntext. " - } - }, - "758": { - "19": { - "name": "cutSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 758, - 19 - ], - [ - 765, - 1 - ] - ], - "doc": "Public: For each selection, cut the selected text. " - } - }, - "765": { - "20": { - "name": "copySelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 765, - 20 - ], - [ - 779, - 1 - ] - ], - "doc": "Public: For each selection, copy the selected text. " - } - }, - "779": { - "13": { - "name": "pasteText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 779, - 13 - ], - [ - 798, - 1 - ] - ], - "doc": " Public: For each selection, replace the selected text with the contents of\nthe clipboard.\n\nIf the clipboard contains the same number of selections as the current\neditor, each selection will be replaced with the content of the\ncorresponding clipboard selection text.\n\noptions - See {Selection::insertText}. " - } - }, - "798": { - "8": { - "name": "undo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 798, - 8 - ], - [ - 803, - 1 - ] - ], - "doc": "Public: Undo the last change. " - } - }, - "803": { - "8": { - "name": "redo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 803, - 8 - ], - [ - 812, - 1 - ] - ], - "doc": "Public: Redo the last change. " - } - }, - "812": { - "18": { - "name": "foldCurrentRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 812, - 18 - ], - [ - 817, - 1 - ] - ], - "doc": " Public: Fold the most recent cursor's row based on its indentation level.\n\nThe fold will extend from the nearest preceding line with a lower\nindentation level up to the nearest following row with a lower indentation\nlevel. " - } - }, - "817": { - "20": { - "name": "unfoldCurrentRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 817, - 20 - ], - [ - 822, - 1 - ] - ], - "doc": "Public: Unfold the most recent cursor's row by one level. " - } - }, - "822": { - "21": { - "name": "foldSelectedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 822, - 21 - ], - [ - 826, - 1 - ] - ], - "doc": "Public: For each selection, fold the rows it intersects. " - } - }, - "826": { - "11": { - "name": "foldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 826, - 11 - ], - [ - 830, - 1 - ] - ], - "doc": "Public: Fold all foldable lines. " - } - }, - "830": { - "13": { - "name": "unfoldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 830, - 13 - ], - [ - 836, - 1 - ] - ], - "doc": "Public: Unfold all existing folds. " - } - }, - "836": { - "24": { - "name": "foldAllAtIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "level" - ], - "range": [ - [ - 836, - 24 - ], - [ - 846, - 1 - ] - ], - "doc": " Public: Fold all foldable lines at the given indent level.\n\nlevel - A {Number}. " - } - }, - "846": { - "17": { - "name": "foldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 846, - 17 - ], - [ - 852, - 1 - ] - ], - "doc": " Public: Fold the given row in buffer coordinates based on its indentation\nlevel.\n\nIf the given row is foldable, the fold will begin there. Otherwise, it will\nbegin at the first foldable row preceding the given row.\n\nbufferRow - A {Number}. " - } - }, - "852": { - "19": { - "name": "unfoldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 852, - 19 - ], - [ - 862, - 1 - ] - ], - "doc": " Public: Unfold all folds containing the given row in buffer coordinates.\n\nbufferRow - A {Number} " - } - }, - "862": { - "25": { - "name": "isFoldableAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 862, - 25 - ], - [ - 865, - 1 - ] - ], - "doc": " Public: Determine whether the given row in buffer coordinates is foldable.\n\nA *foldable* row is a row that *starts* a row range that can be folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "865": { - "25": { - "name": "isFoldableAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 865, - 25 - ], - [ - 870, - 1 - ] - ], - "doc": "~Private~" - } - }, - "870": { - "14": { - "name": "createFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 870, - 14 - ], - [ - 874, - 1 - ] - ], - "doc": "TODO: Rename to foldRowRange? " - } - }, - "874": { - "21": { - "name": "destroyFoldWithId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 874, - 21 - ], - [ - 878, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.destroyFoldWithId} " - } - }, - "878": { - "39": { - "name": "destroyFoldsIntersectingBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 878, - 39 - ], - [ - 884, - 1 - ] - ], - "doc": "Private: Remove any {Fold}s found that intersect the given buffer row. " - } - }, - "884": { - "25": { - "name": "toggleFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 884, - 25 - ], - [ - 893, - 1 - ] - ], - "doc": " Public: Fold the given buffer row if it isn't currently folded, and unfold\nit otherwise. " - } - }, - "893": { - "23": { - "name": "isFoldedAtCursorRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 893, - 23 - ], - [ - 901, - 1 - ] - ], - "doc": " Public: Determine whether the most recently added cursor's row is folded.\n\nReturns a {Boolean}. " - } - }, - "901": { - "23": { - "name": "isFoldedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 901, - 23 - ], - [ - 909, - 1 - ] - ], - "doc": " Public: Determine whether the given row in buffer coordinates is folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "909": { - "23": { - "name": "isFoldedAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 909, - 23 - ], - [ - 913, - 1 - ] - ], - "doc": " Public: Determine whether the given row in screen coordinates is folded.\n\nscreenRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "913": { - "34": { - "name": "largestFoldContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 913, - 34 - ], - [ - 917, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.largestFoldContainingBufferRow} " - } - }, - "917": { - "34": { - "name": "largestFoldStartingAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 917, - 34 - ], - [ - 921, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.largestFoldStartingAtScreenRow} " - } - }, - "921": { - "34": { - "name": "outermostFoldsInBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 921, - 34 - ], - [ - 926, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.outermostFoldsForBufferRowRange} " - } - }, - "926": { - "14": { - "name": "moveLineUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 926, - 14 - ], - [ - 979, - 1 - ] - ], - "doc": " Private: Move lines intersection the most recent selection up by one row in screen\ncoordinates. " - } - }, - "979": { - "16": { - "name": "moveLineDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 979, - 16 - ], - [ - 1034, - 1 - ] - ], - "doc": " Private: Move lines intersecting the most recent selection down by one row in screen\ncoordinates. " - } - }, - "1034": { - "18": { - "name": "duplicateLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1034, - 18 - ], - [ - 1060, - 1 - ] - ], - "doc": "Private: Duplicate the most recent cursor's current line. " - } - }, - "1060": { - "17": { - "name": "duplicateLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1060, - 17 - ], - [ - 1072, - 1 - ] - ], - "doc": "Deprecated: Use {::duplicateLines} instead. " - } - }, - "1072": { - "22": { - "name": "mutateSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1072, - 22 - ], - [ - 1075, - 1 - ] - ], - "doc": " Public: Mutate the text of all the selections in a single transaction.\n\nAll the changes made inside the given {Function} can be reverted with a\nsingle call to {::undo}.\n\nfn - A {Function} that will be called once for each {Selection}. The first\n argument will be a {Selection} and the second argument will be the\n {Number} index of that selection. " - } - }, - "1075": { - "23": { - "name": "replaceSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options", - "fn" - ], - "range": [ - [ - 1075, - 23 - ], - [ - 1096, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1096": { - "32": { - "name": "decorationsForScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 1096, - 32 - ], - [ - 1137, - 1 - ] - ], - "doc": " Public: Get all the decorations within a screen row range.\n\nstartScreenRow - the {Number} beginning screen row\nendScreenRow - the {Number} end screen row (inclusive)\n\nReturns an {Object} of decorations in the form\n `{1: [{id: 10, type: 'gutter', class: 'someclass'}], 2: ...}`\n where the keys are {Marker} IDs, and the values are an array of decoration\n params objects attached to the marker.\nReturns an empty object when no decorations are found " - } - }, - "1137": { - "18": { - "name": "decorateMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "decorationParams" - ], - "range": [ - [ - 1137, - 18 - ], - [ - 1140, - 1 - ] - ], - "doc": " Public: Adds a decoration that tracks a {Marker}. When the marker moves,\nis invalidated, or is destroyed, the decoration will be updated to reflect\nthe marker's state.\n\nThere are three types of supported decorations:\n* `line`: Adds your CSS `class` to the line nodes within the range\n marked by the marker\n* `gutter`: Adds your CSS `class` to the line number nodes within the\n range marked by the marker\n* `highlight`: Adds a new highlight div to the editor surrounding the\n range marked by the marker. When the user selects text, the selection is\n visualized with a highlight decoration internally. The structure of this\n highlight will be:\n ```html\n
    \">\n \n
    \n
    \n ```\n\nmarker - A {Marker} you want this decoration to follow.\ndecorationParams - An {Object} representing the decoration eg. `{type: 'gutter', class: 'linter-error'}`\n :type - There are a few supported decoration types:\n * `gutter`: Applies the decoration to the line numbers spanned by the marker.\n * `line`: Applies the decoration to the lines spanned by the marker.\n * `highlight`: Applies the decoration to a \"highlight\" behind the marked range.\n :class - This CSS class will be applied to the decorated line number,\n line, or highlight.\n :onlyHead - If `true`, the decoration will only be applied to the head\n of the marker. Only applicable to the `line` and `gutter` types.\n :onlyEmpty - If `true`, the decoration will only be applied if the\n associated marker is empty. Only applicable to the `line` and\n `gutter` types.\n :onlyNonEmpty - If `true`, the decoration will only be applied if the\n associated marker is non-empty. Only applicable to the `line` and\n gutter types.\n\nReturns a {Decoration} object " - } - }, - "1140": { - "19": { - "name": "decorationForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 1140, - 19 - ], - [ - 1144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1144": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 1144, - 13 - ], - [ - 1148, - 1 - ] - ], - "doc": "Public: Get the {DisplayBufferMarker} for the given marker id. " - } - }, - "1148": { - "14": { - "name": "getMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1148, - 14 - ], - [ - 1170, - 1 - ] - ], - "doc": "Public: Get all {DisplayBufferMarker}s. " - } - }, - "1170": { - "15": { - "name": "findMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "properties" - ], - "range": [ - [ - 1170, - 15 - ], - [ - 1179, - 1 - ] - ], - "doc": " Public: Find all {DisplayBufferMarker}s that match the given properties.\n\nThis method finds markers based on the given properties. Markers can be\nassociated with custom properties that will be compared with basic equality.\nIn addition, there are several special properties that will be compared\nwith the range of the markers rather than their properties.\n\nproperties - An {Object} containing properties that each returned marker\n must satisfy. Markers can be associated with custom properties, which are\n compared with basic equality. In addition, several reserved properties\n can be used to filter markers based on their current range:\n :startBufferRow - Only include markers starting at this row in buffer\n coordinates.\n :endBufferRow - Only include markers ending at this row in buffer\n coordinates.\n :containsBufferRange - Only include markers containing this {Range} or\n in range-compatible {Array} in buffer coordinates.\n :containsBufferPosition - Only include markers containing this {Point}\n or {Array} of `[row, column]` in buffer coordinates. " - } - }, - "1179": { - "19": { - "name": "markScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1179, - 19 - ], - [ - 1188, - 1 - ] - ], - "doc": " Public: Mark the given range in screen coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1188": { - "19": { - "name": "markBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1188, - 19 - ], - [ - 1197, - 1 - ] - ], - "doc": " Public: Mark the given range in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1197": { - "22": { - "name": "markScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1197, - 22 - ], - [ - 1206, - 1 - ] - ], - "doc": " Public: Mark the given position in screen coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1206": { - "22": { - "name": "markBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1206, - 22 - ], - [ - 1210, - 1 - ] - ], - "doc": " Public: Mark the given position in buffer coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1210": { - "17": { - "name": "destroyMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1210, - 17 - ], - [ - 1216, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.destroyMarker} " - } - }, - "1216": { - "18": { - "name": "getMarkerCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1216, - 18 - ], - [ - 1220, - 1 - ] - ], - "doc": " Public: Get the number of markers in this editor's buffer.\n\nReturns a {Number}. " - } - }, - "1220": { - "22": { - "name": "hasMultipleCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1220, - 22 - ], - [ - 1224, - 1 - ] - ], - "doc": "Public: Determine if there are multiple cursors. " - } - }, - "1224": { - "14": { - "name": "getCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1224, - 14 - ], - [ - 1224, - 38 - ] - ], - "doc": "Public: Get an Array of all {Cursor}s. " - } - }, - "1227": { - "13": { - "name": "getCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1227, - 13 - ], - [ - 1233, - 1 - ] - ], - "doc": "Public: Get the most recently added {Cursor}. " - } - }, - "1233": { - "29": { - "name": "addCursorAtScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 1233, - 29 - ], - [ - 1240, - 1 - ] - ], - "doc": " Public: Add a cursor at the position in screen coordinates.\n\nReturns a {Cursor}. " - } - }, - "1240": { - "29": { - "name": "addCursorAtBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 1240, - 29 - ], - [ - 1245, - 1 - ] - ], - "doc": " Public: Add a cursor at the given position in buffer coordinates.\n\nReturns a {Cursor}. " - } - }, - "1245": { - "13": { - "name": "addCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1245, - 13 - ], - [ - 1255, - 1 - ] - ], - "doc": "Private: Add a cursor based on the given {DisplayBufferMarker}. " - } - }, - "1255": { - "16": { - "name": "removeCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursor" - ], - "range": [ - [ - 1255, - 16 - ], - [ - 1264, - 1 - ] - ], - "doc": "Private: Remove the given cursor from this editor. " - } - }, - "1264": { - "16": { - "name": "addSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "options" - ], - "range": [ - [ - 1264, - 16 - ], - [ - 1288, - 1 - ] - ], - "doc": " Private: Add a {Selection} based on the given {DisplayBufferMarker}.\n\nmarker - The {DisplayBufferMarker} to highlight\noptions - An {Object} that pertains to the {Selection} constructor.\n\nReturns the new {Selection}. " - } - }, - "1288": { - "30": { - "name": "addSelectionForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 1288, - 30 - ], - [ - 1301, - 1 - ] - ], - "doc": " Public: Add a selection for the given range in buffer coordinates.\n\nbufferRange - A {Range}\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation.\n\nReturns the added {Selection}. " - } - }, - "1301": { - "26": { - "name": "setSelectedBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 1301, - 26 - ], - [ - 1311, - 1 - ] - ], - "doc": " Public: Set the selected range in buffer coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nbufferRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1311": { - "26": { - "name": "setSelectedScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 1311, - 26 - ], - [ - 1321, - 1 - ] - ], - "doc": " Public: Set the selected range in screen coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nscreenRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1321": { - "27": { - "name": "setSelectedBufferRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRanges", - "options" - ], - "range": [ - [ - 1321, - 27 - ], - [ - 1336, - 1 - ] - ], - "doc": " Public: Set the selected ranges in buffer coordinates. If there are multiple\nselections, they are replaced by new selections with the given ranges.\n\nbufferRanges - An {Array} of {Range}s or range-compatible {Array}s.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1336": { - "19": { - "name": "removeSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 1336, - 19 - ], - [ - 1342, - 1 - ] - ], - "doc": "Private: Remove the given selection. " - } - }, - "1342": { - "19": { - "name": "clearSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1342, - 19 - ], - [ - 1347, - 1 - ] - ], - "doc": " Private: Reduce one or more selections to a single empty selection based on the most\nrecently added cursor. " - } - }, - "1347": { - "25": { - "name": "consolidateSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1347, - 25 - ], - [ - 1355, - 1 - ] - ], - "doc": "Private: Reduce multiple selections to the most recently added selection. " - } - }, - "1355": { - "31": { - "name": "selectionScreenRangeChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 1355, - 31 - ], - [ - 1361, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1361": { - "17": { - "name": "getSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1361, - 17 - ], - [ - 1361, - 44 - ] - ], - "doc": " Public: Get current {Selection}s.\n\nReturns: An {Array} of {Selection}s. " - } - }, - "1363": { - "27": { - "name": "selectionsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1363, - 27 - ], - [ - 1374, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1374": { - "16": { - "name": "getSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 1374, - 16 - ], - [ - 1381, - 1 - ] - ], - "doc": " Public: Get the most recent {Selection} or the selection at the given\nindex.\n\nindex - Optional. The index of the selection to return, based on the order\n in which the selections were added.\n\nReturns a {Selection}.\nor the at the specified index. " - } - }, - "1381": { - "20": { - "name": "getLastSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1381, - 20 - ], - [ - 1388, - 1 - ] - ], - "doc": " Public: Get the most recently added {Selection}.\n\nReturns a {Selection}. " - } - }, - "1388": { - "40": { - "name": "getSelectionsOrderedByBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1388, - 40 - ], - [ - 1394, - 1 - ] - ], - "doc": " Public: Get all {Selection}s, ordered by their position in the buffer\ninstead of the order in which they were added.\n\nReturns an {Array} of {Selection}s. " - } - }, - "1394": { - "28": { - "name": "getLastSelectionInBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1394, - 28 - ], - [ - 1403, - 1 - ] - ], - "doc": " Public: Get the last {Selection} based on its position in the buffer.\n\nReturns a {Selection}. " - } - }, - "1403": { - "34": { - "name": "selectionIntersectsBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 1403, - 34 - ], - [ - 1415, - 1 - ] - ], - "doc": " Public: Determine if a given range in buffer coordinates intersects a\nselection.\n\nbufferRange - A {Range} or range-compatible {Array}.\n\nReturns a {Boolean}. " - } - }, - "1415": { - "27": { - "name": "setCursorScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "options" - ], - "range": [ - [ - 1415, - 27 - ], - [ - 1422, - 1 - ] - ], - "doc": " Public: Move the cursor to the given position in screen coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " - } - }, - "1422": { - "27": { - "name": "getCursorScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1422, - 27 - ], - [ - 1428, - 1 - ] - ], - "doc": " Public: Get the position of the most recently added cursor in screen\ncoordinates.\n\nReturns a {Point}. " - } - }, - "1428": { - "22": { - "name": "getCursorScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1428, - 22 - ], - [ - 1439, - 1 - ] - ], - "doc": " Public: Get the row of the most recently added cursor in screen coordinates.\n\nReturns the screen row {Number}. " - } - }, - "1439": { - "27": { - "name": "setCursorBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "options" - ], - "range": [ - [ - 1439, - 27 - ], - [ - 1446, - 1 - ] - ], - "doc": " Public: Move the cursor to the given position in buffer coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " - } - }, - "1446": { - "27": { - "name": "getCursorBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1446, - 27 - ], - [ - 1453, - 1 - ] - ], - "doc": " Public: Get the position of the most recently added cursor in buffer\ncoordinates.\n\nReturns a {Point}. " - } - }, - "1453": { - "26": { - "name": "getSelectedScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1453, - 26 - ], - [ - 1460, - 1 - ] - ], - "doc": " Public: Get the {Range} of the most recently added selection in screen\ncoordinates.\n\nReturns a {Range}. " - } - }, - "1460": { - "26": { - "name": "getSelectedBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1460, - 26 - ], - [ - 1468, - 1 - ] - ], - "doc": " Public: Get the {Range} of the most recently added selection in buffer\ncoordinates.\n\nReturns a {Range}. " - } - }, - "1468": { - "27": { - "name": "getSelectedBufferRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1468, - 27 - ], - [ - 1476, - 1 - ] - ], - "doc": " Public: Get the {Range}s of all selections in buffer coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " - } - }, - "1476": { - "27": { - "name": "getSelectedScreenRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1476, - 27 - ], - [ - 1482, - 1 - ] - ], - "doc": " Public: Get the {Range}s of all selections in screen coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " - } - }, - "1482": { - "19": { - "name": "getSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1482, - 19 - ], - [ - 1490, - 1 - ] - ], - "doc": " Public: Get the selected text of the most recently added selection.\n\nReturns a {String}. " - } - }, - "1490": { - "24": { - "name": "getTextInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 1490, - 24 - ], - [ - 1499, - 1 - ] - ], - "doc": " Public: Get the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\n\nReturns a {String}. " - } - }, - "1499": { - "24": { - "name": "setTextInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range", - "text", - "normalizeLineEndings" - ], - "range": [ - [ - 1499, - 24 - ], - [ - 1499, - 124 - ] - ], - "doc": " Public: Set the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\ntext - A {String}\n\nReturns the {Range} of the newly-inserted text. " - } - }, - "1505": { - "34": { - "name": "getCurrentParagraphBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1505, - 34 - ], - [ - 1511, - 1 - ] - ], - "doc": " Public: Get the {Range} of the paragraph surrounding the most recently added\ncursor.\n\nReturns a {Range}. " - } - }, - "1511": { - "22": { - "name": "getWordUnderCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 1511, - 22 - ], - [ - 1515, - 1 - ] - ], - "doc": " Public: Returns the word surrounding the most recently added cursor.\n\noptions - See {Cursor::getBeginningOfCurrentWordBufferPosition}. " - } - }, - "1515": { - "16": { - "name": "moveCursorUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineCount" - ], - "range": [ - [ - 1515, - 16 - ], - [ - 1519, - 1 - ] - ], - "doc": "Public: Move every cursor up one row in screen coordinates. " - } - }, - "1519": { - "18": { - "name": "moveCursorDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineCount" - ], - "range": [ - [ - 1519, - 18 - ], - [ - 1523, - 1 - ] - ], - "doc": "Public: Move every cursor down one row in screen coordinates. " - } - }, - "1523": { - "18": { - "name": "moveCursorLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1523, - 18 - ], - [ - 1527, - 1 - ] - ], - "doc": "Public: Move every cursor left one column. " - } - }, - "1527": { - "19": { - "name": "moveCursorRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1527, - 19 - ], - [ - 1533, - 1 - ] - ], - "doc": "Public: Move every cursor right one column. " - } - }, - "1533": { - "19": { - "name": "moveCursorToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1533, - 19 - ], - [ - 1539, - 1 - ] - ], - "doc": " Public: Move every cursor to the top of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " - } - }, - "1539": { - "22": { - "name": "moveCursorToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1539, - 22 - ], - [ - 1543, - 1 - ] - ], - "doc": " Public: Move every cursor to the bottom of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " - } - }, - "1543": { - "37": { - "name": "moveCursorToBeginningOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1543, - 37 - ], - [ - 1547, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its line in screen coordinates. " - } - }, - "1547": { - "31": { - "name": "moveCursorToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1547, - 31 - ], - [ - 1551, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its line in buffer coordinates. " - } - }, - "1551": { - "36": { - "name": "moveCursorToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1551, - 36 - ], - [ - 1555, - 1 - ] - ], - "doc": "Public: Move every cursor to the first non-whitespace character of its line. " - } - }, - "1555": { - "31": { - "name": "moveCursorToEndOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1555, - 31 - ], - [ - 1559, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its line in screen coordinates. " - } - }, - "1559": { - "25": { - "name": "moveCursorToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1559, - 25 - ], - [ - 1563, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its line in buffer coordinates. " - } - }, - "1563": { - "31": { - "name": "moveCursorToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1563, - 31 - ], - [ - 1567, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its surrounding word. " - } - }, - "1567": { - "25": { - "name": "moveCursorToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1567, - 25 - ], - [ - 1571, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its surrounding word. " - } - }, - "1571": { - "35": { - "name": "moveCursorToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1571, - 35 - ], - [ - 1575, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the next word. " - } - }, - "1575": { - "36": { - "name": "moveCursorToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1575, - 36 - ], - [ - 1579, - 1 - ] - ], - "doc": "Public: Move every cursor to the previous word boundary. " - } - }, - "1579": { - "32": { - "name": "moveCursorToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1579, - 32 - ], - [ - 1583, - 1 - ] - ], - "doc": "Public: Move every cursor to the next word boundary. " - } - }, - "1583": { - "40": { - "name": "moveCursorToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1583, - 40 - ], - [ - 1587, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the next paragraph. " - } - }, - "1587": { - "44": { - "name": "moveCursorToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1587, - 44 - ], - [ - 1596, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the previous paragraph. " - } - }, - "1596": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 1596, - 26 - ], - [ - 1599, - 1 - ] - ], - "doc": " Public: Scroll the editor to reveal the most recently added cursor if it is\noff-screen.\n\noptions - An optional hash of options.\n :center - Center the editor around the cursor if possible. Defauls to\n true. " - } - }, - "1599": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1599, - 10 - ], - [ - 1604, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1604": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1604, - 12 - ], - [ - 1609, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1609": { - "16": { - "name": "selectPageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1609, - 16 - ], - [ - 1612, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1612": { - "18": { - "name": "selectPageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1612, - 18 - ], - [ - 1616, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1616": { - "18": { - "name": "getRowsPerPage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1616, - 18 - ], - [ - 1619, - 1 - ] - ], - "doc": "Private: Returns the number of rows per page " - } - }, - "1619": { - "15": { - "name": "moveCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1619, - 15 - ], - [ - 1626, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1626": { - "15": { - "name": "cursorMoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 1626, - 15 - ], - [ - 1636, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1636": { - "26": { - "name": "selectToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1636, - 26 - ], - [ - 1645, - 1 - ] - ], - "doc": " Public: Select from the current cursor position to the given position in\nscreen coordinates.\n\nThis method may merge selections that end up intesecting.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "1645": { - "15": { - "name": "selectRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1645, - 15 - ], - [ - 1652, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character rightward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1652": { - "14": { - "name": "selectLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1652, - 14 - ], - [ - 1659, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character leftward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1659": { - "12": { - "name": "selectUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 1659, - 12 - ], - [ - 1666, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character upward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1666": { - "14": { - "name": "selectDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 1666, - 14 - ], - [ - 1673, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character downward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1673": { - "15": { - "name": "selectToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1673, - 15 - ], - [ - 1679, - 1 - ] - ], - "doc": " Public: Select from the top of the buffer to the end of the last selection\nin the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1679": { - "13": { - "name": "selectAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1679, - 13 - ], - [ - 1686, - 1 - ] - ], - "doc": " Public: Select all text in the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1686": { - "18": { - "name": "selectToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1686, - 18 - ], - [ - 1693, - 1 - ] - ], - "doc": " Public: Selects from the top of the first selection in the buffer to the end\nof the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1693": { - "27": { - "name": "selectToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1693, - 27 - ], - [ - 1702, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the beginning of its line\nwhile preserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1702": { - "32": { - "name": "selectToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1702, - 32 - ], - [ - 1709, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the first non-whitespace\ncharacter of its line while preserving the selection's tail position. If the\ncursor is already on the first character of the line, move it to the\nbeginning of the line.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1709": { - "21": { - "name": "selectToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1709, - 21 - ], - [ - 1716, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the end of its line while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1716": { - "32": { - "name": "selectToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1716, - 32 - ], - [ - 1723, - 1 - ] - ], - "doc": " Public: For each selection, move its cursor to the preceding word boundary\nwhile maintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1723": { - "28": { - "name": "selectToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1723, - 28 - ], - [ - 1729, - 1 - ] - ], - "doc": " Public: For each selection, move its cursor to the next word boundary while\nmaintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1729": { - "14": { - "name": "selectLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1729, - 14 - ], - [ - 1740, - 1 - ] - ], - "doc": " Public: For each cursor, select the containing line.\n\nThis method merges selections on successive lines. " - } - }, - "1740": { - "21": { - "name": "addSelectionBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1740, - 21 - ], - [ - 1751, - 1 - ] - ], - "doc": " Public: Add a similarly-shaped selection to the next eligible line below\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next following non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " - } - }, - "1751": { - "21": { - "name": "addSelectionAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1751, - 21 - ], - [ - 1759, - 1 - ] - ], - "doc": " Public: Add a similarly-shaped selection to the next eligible line above\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next preceding non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " - } - }, - "1759": { - "28": { - "name": "splitSelectionsIntoLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1759, - 28 - ], - [ - 1776, - 1 - ] - ], - "doc": " Public: Split multi-line selections into one selection per line.\n\nOperates on all selections. This method breaks apart all multi-line\nselections to create multiple single-line selections that cumulatively cover\nthe same original area. " - } - }, - "1776": { - "13": { - "name": "transpose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1776, - 13 - ], - [ - 1791, - 1 - ] - ], - "doc": " Public: For each selection, transpose the selected text.\n\nIf the selection is empty, the characters preceding and following the cursor\nare swapped. Otherwise, the selected characters are reversed. " - } - }, - "1791": { - "13": { - "name": "upperCase", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1791, - 13 - ], - [ - 1798, - 1 - ] - ], - "doc": " Public: Convert the selected text to upper case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " - } - }, - "1798": { - "13": { - "name": "lowerCase", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1798, - 13 - ], - [ - 1809, - 1 - ] - ], - "doc": " Public: Convert the selected text to lower case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " - } - }, - "1809": { - "13": { - "name": "joinLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1809, - 13 - ], - [ - 1816, - 1 - ] - ], - "doc": " Private: Convert multiple lines to a single line.\n\nOperates on all selections. If the selection is empty, joins the current\nline with the next line. Otherwise it joins all lines that intersect the\nselection.\n\nJoining a line means that multiple lines are converted to a single line with\nthe contents of each of the original non-empty lines separated by a space. " - } - }, - "1816": { - "27": { - "name": "selectToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1816, - 27 - ], - [ - 1823, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of their containing word.\n\nOperates on all selections. Moves the cursor to the beginning of the\ncontaining word while preserving the selection's tail position. " - } - }, - "1823": { - "21": { - "name": "selectToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1823, - 21 - ], - [ - 1830, - 1 - ] - ], - "doc": " Public: Expand selections to the end of their containing word.\n\nOperates on all selections. Moves the cursor to the end of the containing\nword while preserving the selection's tail position. " - } - }, - "1830": { - "31": { - "name": "selectToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1830, - 31 - ], - [ - 1834, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next word.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nword while preserving the selection's tail position. " - } - }, - "1834": { - "14": { - "name": "selectWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1834, - 14 - ], - [ - 1841, - 1 - ] - ], - "doc": "Public: Select the word containing each cursor. " - } - }, - "1841": { - "36": { - "name": "selectToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1841, - 36 - ], - [ - 1848, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " - } - }, - "1848": { - "40": { - "name": "selectToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1848, - 40 - ], - [ - 1856, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " - } - }, - "1856": { - "16": { - "name": "selectMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1856, - 16 - ], - [ - 1863, - 1 - ] - ], - "doc": " Public: Select the range of the given marker if it is valid.\n\nmarker - A {DisplayBufferMarker}\n\nReturns the selected {Range} or `undefined` if the marker is invalid. " - } - }, - "1863": { - "16": { - "name": "mergeCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1863, - 16 - ], - [ - 1873, - 1 - ] - ], - "doc": "Private: Merge cursors that have the same screen position " - } - }, - "1873": { - "27": { - "name": "expandSelectionsForward", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1873, - 27 - ], - [ - 1879, - 1 - ] - ], - "doc": "Private: Calls the given function with each selection, then merges selections " - } - }, - "1879": { - "28": { - "name": "expandSelectionsBackward", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1879, - 28 - ], - [ - 1883, - 1 - ] - ], - "doc": " Private: Calls the given function with each selection, then merges selections in the\nreversed orientation " - } - }, - "1883": { - "22": { - "name": "finalizeSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1883, - 22 - ], - [ - 1889, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1889": { - "31": { - "name": "mergeIntersectingSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1889, - 31 - ], - [ - 1910, - 1 - ] - ], - "doc": " Private: Merges intersecting selections. If passed a function, it executes\nthe function with merging suppressed, then merges intersecting selections\nafterward. " - } - }, - "1910": { - "40": { - "name": "preserveCursorPositionOnBufferReload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1910, - 40 - ], - [ - 1919, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1919": { - "14": { - "name": "getGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1919, - 14 - ], - [ - 1926, - 1 - ] - ], - "doc": "Public: Get the current {Grammar} of this editor. " - } - }, - "1926": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 1926, - 14 - ], - [ - 1930, - 1 - ] - ], - "doc": " Public: Set the current {Grammar} of this editor.\n\nAssigning a grammar will cause the editor to re-tokenize based on the new\ngrammar. " - } - }, - "1930": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1930, - 17 - ], - [ - 1933, - 1 - ] - ], - "doc": "Private: Reload the grammar based on the file name. " - } - }, - "1933": { - "20": { - "name": "shouldAutoIndent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1933, - 20 - ], - [ - 1944, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1944": { - "12": { - "name": "transact", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1944, - 12 - ], - [ - 1944, - 39 - ] - ], - "doc": " Public: Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " - } - }, - "1952": { - "20": { - "name": "beginTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1952, - 20 - ], - [ - 1952, - 48 - ] - ], - "doc": " Public: Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " - } - }, - "1958": { - "21": { - "name": "commitTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1958, - 21 - ], - [ - 1958, - 50 - ] - ], - "doc": " Public: Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " - } - }, - "1962": { - "20": { - "name": "abortTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1962, - 20 - ], - [ - 1962, - 48 - ] - ], - "doc": " Public: Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " - } - }, - "1964": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1964, - 11 - ], - [ - 1967, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1967": { - "18": { - "name": "logScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 1967, - 18 - ], - [ - 1967, - 68 - ] - ], - "doc": "~Private~" - } - }, - "1969": { - "22": { - "name": "handleTokenization", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1969, - 22 - ], - [ - 1972, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1972": { - "23": { - "name": "handleGrammarChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1972, - 23 - ], - [ - 1976, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1976": { - "23": { - "name": "handleMarkerCreated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1976, - 23 - ], - [ - 1980, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1980": { - "32": { - "name": "getSelectionMarkerAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1980, - 32 - ], - [ - 1983, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1983": { - "27": { - "name": "getVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1983, - 27 - ], - [ - 1983, - 69 - ] - ], - "doc": "~Private~" - } - }, - "1984": { - "27": { - "name": "setVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "verticalScrollMargin" - ], - "range": [ - [ - 1984, - 27 - ], - [ - 1984, - 112 - ] - ] - } - }, - "1986": { - "29": { - "name": "getHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1986, - 29 - ], - [ - 1986, - 73 - ] - ], - "doc": "~Private~" - } - }, - "1987": { - "29": { - "name": "setHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "horizontalScrollMargin" - ], - "range": [ - [ - 1987, - 29 - ], - [ - 1987, - 120 - ] - ] - } - }, - "1989": { - "25": { - "name": "getLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1989, - 25 - ], - [ - 1989, - 65 - ] - ], - "doc": "~Private~" - } - }, - "1990": { - "25": { - "name": "setLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeightInPixels" - ], - "range": [ - [ - 1990, - 25 - ], - [ - 1990, - 104 - ] - ] - } - }, - "1992": { - "29": { - "name": "batchCharacterMeasurement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1992, - 29 - ], - [ - 1992, - 80 - ] - ], - "doc": "~Private~" - } - }, - "1994": { - "22": { - "name": "getScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char" - ], - "range": [ - [ - 1994, - 22 - ], - [ - 1994, - 94 - ] - ], - "doc": "~Private~" - } - }, - "1995": { - "22": { - "name": "setScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char", - "width" - ], - "range": [ - [ - 1995, - 22 - ], - [ - 1995, - 108 - ] - ] - } - }, - "1997": { - "23": { - "name": "getScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames" - ], - "range": [ - [ - 1997, - 23 - ], - [ - 1997, - 84 - ] - ], - "doc": "~Private~" - } - }, - "1999": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1999, - 25 - ], - [ - 1999, - 65 - ] - ], - "doc": "~Private~" - } - }, - "2001": { - "23": { - "name": "getDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2001, - 23 - ], - [ - 2001, - 61 - ] - ], - "doc": "~Private~" - } - }, - "2002": { - "23": { - "name": "setDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultCharWidth" - ], - "range": [ - [ - 2002, - 23 - ], - [ - 2002, - 96 - ] - ] - } - }, - "2004": { - "13": { - "name": "setHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "height" - ], - "range": [ - [ - 2004, - 13 - ], - [ - 2004, - 56 - ] - ], - "doc": "~Private~" - } - }, - "2005": { - "13": { - "name": "getHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2005, - 13 - ], - [ - 2005, - 41 - ] - ] - } - }, - "2007": { - "19": { - "name": "getClientHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2007, - 19 - ], - [ - 2007, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2009": { - "12": { - "name": "setWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width" - ], - "range": [ - [ - 2009, - 12 - ], - [ - 2009, - 52 - ] - ], - "doc": "~Private~" - } - }, - "2010": { - "12": { - "name": "getWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2010, - 12 - ], - [ - 2010, - 39 - ] - ] - } - }, - "2012": { - "16": { - "name": "getScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2012, - 16 - ], - [ - 2012, - 47 - ] - ], - "doc": "~Private~" - } - }, - "2013": { - "16": { - "name": "setScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 2013, - 16 - ], - [ - 2013, - 68 - ] - ] - } - }, - "2015": { - "19": { - "name": "getScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2015, - 19 - ], - [ - 2015, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2016": { - "19": { - "name": "setScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 2016, - 19 - ], - [ - 2016, - 80 - ] - ] - } - }, - "2018": { - "17": { - "name": "getScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2018, - 17 - ], - [ - 2018, - 49 - ] - ], - "doc": "~Private~" - } - }, - "2019": { - "17": { - "name": "setScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 2019, - 17 - ], - [ - 2019, - 72 - ] - ] - } - }, - "2021": { - "18": { - "name": "getScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2021, - 18 - ], - [ - 2021, - 51 - ] - ], - "doc": "~Private~" - } - }, - "2022": { - "18": { - "name": "setScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 2022, - 18 - ], - [ - 2022, - 76 - ] - ] - } - }, - "2024": { - "19": { - "name": "getScrollHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2024, - 19 - ], - [ - 2024, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2025": { - "18": { - "name": "getScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollWidth" - ], - "range": [ - [ - 2025, - 18 - ], - [ - 2025, - 76 - ] - ] - } - }, - "2027": { - "22": { - "name": "getVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2027, - 22 - ], - [ - 2027, - 59 - ] - ], - "doc": "~Private~" - } - }, - "2029": { - "29": { - "name": "intersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 2029, - 29 - ], - [ - 2029, - 108 - ] - ], - "doc": "~Private~" - } - }, - "2031": { - "38": { - "name": "selectionIntersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 2031, - 38 - ], - [ - 2031, - 112 - ] - ], - "doc": "~Private~" - } - }, - "2033": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 2033, - 34 - ], - [ - 2033, - 114 - ] - ], - "doc": "~Private~" - } - }, - "2035": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 2035, - 34 - ], - [ - 2035, - 114 - ] - ], - "doc": "~Private~" - } - }, - "2037": { - "34": { - "name": "screenPositionForPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 2037, - 34 - ], - [ - 2037, - 112 - ] - ], - "doc": "~Private~" - } - }, - "2039": { - "27": { - "name": "pixelRectForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 2039, - 27 - ], - [ - 2039, - 94 - ] - ], - "doc": "~Private~" - } - }, - "2041": { - "23": { - "name": "scrollToScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 2041, - 23 - ], - [ - 2041, - 104 - ] - ], - "doc": "~Private~" - } - }, - "2043": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 2043, - 26 - ], - [ - 2043, - 116 - ] - ], - "doc": "~Private~" - } - }, - "2045": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 2045, - 26 - ], - [ - 2045, - 116 - ] - ], - "doc": "~Private~" - } - }, - "2047": { - "26": { - "name": "horizontallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2047, - 26 - ], - [ - 2047, - 67 - ] - ], - "doc": "~Private~" - } - }, - "2049": { - "24": { - "name": "verticallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2049, - 24 - ], - [ - 2049, - 63 - ] - ], - "doc": "~Private~" - } - }, - "2051": { - "32": { - "name": "getHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2051, - 32 - ], - [ - 2051, - 79 - ] - ], - "doc": "~Private~" - } - }, - "2052": { - "32": { - "name": "setHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "height" - ], - "range": [ - [ - 2052, - 32 - ], - [ - 2052, - 94 - ] - ] - } - }, - "2054": { - "29": { - "name": "getVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2054, - 29 - ], - [ - 2054, - 73 - ] - ], - "doc": "~Private~" - } - }, - "2055": { - "29": { - "name": "setVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width" - ], - "range": [ - [ - 2055, - 29 - ], - [ - 2055, - 86 - ] - ] - } - }, - "2058": { - "12": { - "name": "joinLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2058, - 12 - ], - [ - 2060, - 16 - ] - ], - "doc": "Deprecated: Call {::joinLines} instead. " - } - } - }, - "exports": 138 - }, - "src/fold.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "7": { - "0": { - "type": "class", - "name": "Fold", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 8, - 6 - ], - [ - 9, - 17 - ], - [ - 10, - 10 - ], - [ - 12, - 15 - ], - [ - 20, - 22 - ], - [ - 27, - 11 - ], - [ - 35, - 18 - ], - [ - 48, - 21 - ], - [ - 53, - 15 - ], - [ - 57, - 13 - ], - [ - 61, - 11 - ], - [ - 67, - 21 - ], - [ - 75, - 21 - ], - [ - 78, - 23 - ], - [ - 82, - 13 - ] - ], - "doc": " Private: Represents a fold that collapses multiple buffer lines into a single\nline on the screen.\n\nTheir creation is managed by the {DisplayBuffer}. ", - "range": [ - [ - 7, - 0 - ], - [ - 84, - 26 - ] - ] - } - }, - "8": { - "6": { - "name": "id", - "type": "primitive", - "range": [ - [ - 8, - 6 - ], - [ - 8, - 9 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "17": { - "name": "displayBuffer", - "type": "primitive", - "range": [ - [ - 9, - 17 - ], - [ - 9, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "10": { - "name": "marker", - "type": "primitive", - "range": [ - [ - 10, - 10 - ], - [ - 10, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 20, - 1 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "22": { - "name": "isInsideLargerFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 22 - ], - [ - 27, - 1 - ] - ], - "doc": "Private: Returns whether this fold is contained within another fold " - } - }, - "27": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 11 - ], - [ - 35, - 1 - ] - ], - "doc": "Private: Destroys this fold " - } - }, - "35": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 35, - 18 - ], - [ - 48, - 1 - ] - ], - "doc": " Private: Returns the fold's {Range} in buffer coordinates\n\nincludeNewline - A {Boolean} which, if `true`, includes the trailing newline\n\nReturns a {Range}. " - } - }, - "48": { - "21": { - "name": "getBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 21 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "15": { - "name": "getStartRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 15 - ], - [ - 57, - 1 - ] - ], - "doc": "Private: Returns the fold's start row as a {Number}. " - } - }, - "57": { - "13": { - "name": "getEndRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 13 - ], - [ - 61, - 1 - ] - ], - "doc": "Private: Returns the fold's end row as a {Number}. " - } - }, - "61": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 11 - ], - [ - 67, - 1 - ] - ], - "doc": "Private: Returns a {String} representation of the fold. " - } - }, - "67": { - "21": { - "name": "getBufferRowCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 21 - ], - [ - 75, - 1 - ] - ], - "doc": " Private: Retrieves the number of buffer rows spanned by the fold.\n\nReturns a {Number}. " - } - }, - "75": { - "21": { - "name": "isContainedByFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fold" - ], - "range": [ - [ - 75, - 21 - ], - [ - 78, - 1 - ] - ], - "doc": " Private: Identifies if a fold is nested within a fold.\n\nfold - A {Fold} to check\n\nReturns a {Boolean}. " - } - }, - "78": { - "23": { - "name": "updateDisplayBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 78, - 23 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 13 - ], - [ - 84, - 26 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 7 - }, - "src/git.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true, - "name": "join", - "exportsProperty": "join" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.0.4" - } - }, - "5": { - "11": { - "name": "GitUtils", - "type": "import", - "range": [ - [ - 5, - 11 - ], - [ - 5, - 29 - ] - ], - "bindingType": "variable", - "module": "git-utils" - } - }, - "7": { - "7": { - "name": "Task", - "type": "import", - "range": [ - [ - 7, - 7 - ], - [ - 7, - 22 - ] - ], - "bindingType": "variable", - "path": "./task" - } - }, - "40": { - "0": { - "type": "class", - "name": "Git", - "bindingType": "exports", - "classProperties": [ - [ - 52, - 9 - ], - [ - 59, - 11 - ] - ], - "prototypeProperties": [ - [ - 66, - 15 - ], - [ - 89, - 21 - ], - [ - 97, - 11 - ], - [ - 109, - 11 - ], - [ - 117, - 16 - ], - [ - 120, - 11 - ], - [ - 124, - 23 - ], - [ - 132, - 17 - ], - [ - 149, - 17 - ], - [ - 152, - 20 - ], - [ - 155, - 18 - ], - [ - 158, - 15 - ], - [ - 161, - 13 - ], - [ - 165, - 19 - ], - [ - 169, - 14 - ], - [ - 181, - 16 - ], - [ - 196, - 16 - ], - [ - 209, - 21 - ], - [ - 222, - 16 - ], - [ - 231, - 15 - ], - [ - 247, - 22 - ], - [ - 265, - 16 - ], - [ - 276, - 18 - ], - [ - 282, - 16 - ], - [ - 291, - 21 - ], - [ - 298, - 22 - ], - [ - 310, - 17 - ], - [ - 318, - 23 - ], - [ - 330, - 37 - ], - [ - 338, - 23 - ], - [ - 342, - 13 - ], - [ - 346, - 17 - ] - ], - "doc": " Public: Represents the underlying git operations performed by Atom.\n\nThis class shouldn't be instantiated directly but instead by accessing the\n`atom.project` global and calling `getRepo()`. Note that this will only be\navailable when the project is backed by a Git repository.\n\nThis class handles submodules automatically by taking a `path` argument to many\nof the methods. This `path` argument will determine which underlying\nrepository is used.\n\nFor a repository with submodules this would have the following outcome:\n\n```coffee\nrepo = atom.project.getRepo()\nrepo.getShortHead() # 'master'\nrepo.getShortHead('vendor/path/to/a/submodule') # 'dead1234'\n```\n\n## Example\n\n```coffeescript\ngit = atom.project.getRepo()\nconsole.log git.getOriginUrl()\n```\n\n## Requiring in packages\n\n```coffee\n {Git} = require 'atom'\n``` ", - "range": [ - [ - 40, - 0 - ], - [ - 364, - 55 - ] - ] - } - }, - "52": { - "9": { - "name": "open", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "path", - "options" - ], - "range": [ - [ - 52, - 9 - ], - [ - 59, - 1 - ] - ], - "doc": " Public: Creates a new Git instance.\n\npath - The path to the Git repository to open.\noptions - An object with the following keys (default: {}):\n :refreshOnWindowFocus - `true` to refresh the index and statuses when the\n window is focused.\n\nReturns a Git instance or null if the repository could not be opened. " - } - }, - "59": { - "11": { - "name": "exists", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 59, - 11 - ], - [ - 66, - 1 - ] - ], - "doc": "~Private~" - } - }, - "66": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "options" - ], - "range": [ - [ - 66, - 15 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "subscribeToBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer" - ], - "range": [ - [ - 89, - 21 - ], - [ - 97, - 1 - ] - ], - "doc": "Private: Subscribes to buffer events. " - } - }, - "97": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 97, - 11 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Destroy this `Git` object. This destroys any tasks and subscriptions\nand releases the underlying libgit2 repository handle. " - } - }, - "109": { - "11": { - "name": "getRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 109, - 11 - ], - [ - 117, - 1 - ] - ], - "doc": "Private: Returns the corresponding {Repository} " - } - }, - "117": { - "16": { - "name": "refreshIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 16 - ], - [ - 117, - 43 - ] - ], - "doc": " Private: Reread the index to update any values that have changed since the\nlast time the index was read. " - } - }, - "120": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 120, - 11 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Returns the {String} path of the repository. " - } - }, - "124": { - "23": { - "name": "getWorkingDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 23 - ], - [ - 124, - 57 - ] - ], - "doc": "Public: Returns the {String} working directory path of the repository. " - } - }, - "132": { - "17": { - "name": "getPathStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 132, - 17 - ], - [ - 149, - 1 - ] - ], - "doc": " Public: Get the status of a single path in the repository.\n\npath - A {String} repository-relative path.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " - } - }, - "149": { - "17": { - "name": "isPathIgnored", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 149, - 17 - ], - [ - 149, - 65 - ] - ], - "doc": " Public: Is the given path ignored?\n\nReturns a {Boolean}. " - } - }, - "152": { - "20": { - "name": "isStatusModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 152, - 20 - ], - [ - 152, - 66 - ] - ], - "doc": "Public: Returns true if the given status indicates modification. " - } - }, - "155": { - "18": { - "name": "isPathModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 155, - 18 - ], - [ - 155, - 66 - ] - ], - "doc": "Public: Returns true if the given path is modified. " - } - }, - "158": { - "15": { - "name": "isStatusNew", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 158, - 15 - ], - [ - 158, - 56 - ] - ], - "doc": "Public: Returns true if the given status indicates a new path. " - } - }, - "161": { - "13": { - "name": "isPathNew", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 161, - 13 - ], - [ - 161, - 56 - ] - ], - "doc": "Public: Returns true if the given path is new. " - } - }, - "165": { - "19": { - "name": "isProjectAtRoot", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 19 - ], - [ - 169, - 1 - ] - ], - "doc": " Public: Returns true if at the root, false if in a subfolder of the\nrepository. " - } - }, - "169": { - "14": { - "name": "relativize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 169, - 14 - ], - [ - 169, - 50 - ] - ], - "doc": "Public: Makes a path relative to the repository's working directory. " - } - }, - "181": { - "16": { - "name": "getShortHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 181, - 16 - ], - [ - 181, - 54 - ] - ], - "doc": " Public: Retrieves a shortened version of the HEAD reference value.\n\nThis removes the leading segments of `refs/heads`, `refs/tags`, or\n`refs/remotes`. It also shortens the SHA-1 of a detached `HEAD` to 7\ncharacters.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository contains submodules.\n\nReturns a {String}. " - } - }, - "196": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 196, - 16 - ], - [ - 209, - 1 - ] - ], - "doc": " Public: Restore the contents of a path in the working directory and index\nto the version at `HEAD`.\n\nThis is essentially the same as running:\n\n```\ngit reset HEAD -- \ngit checkout HEAD -- \n```\n\npath - The {String} path to checkout.\n\nReturns a {Boolean} that's true if the method was successful. " - } - }, - "209": { - "21": { - "name": "checkoutReference", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "create" - ], - "range": [ - [ - 209, - 21 - ], - [ - 222, - 1 - ] - ], - "doc": " Public: Checks out a branch in your repository.\n\nreference - The String reference to checkout\ncreate - A Boolean value which, if true creates the new reference if it\n doesn't exist.\n\nReturns a Boolean that's true if the method was successful. " - } - }, - "222": { - "16": { - "name": "getDiffStats", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 222, - 16 - ], - [ - 231, - 1 - ] - ], - "doc": " Public: Retrieves the number of lines added and removed to a path.\n\nThis compares the working directory contents of the path to the `HEAD`\nversion.\n\npath - The {String} path to check.\n\nReturns an {Object} with the following keys:\n :added - The {Number} of added lines.\n :deleted - The {Number} of deleted lines. " - } - }, - "231": { - "15": { - "name": "isSubmodule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 231, - 15 - ], - [ - 247, - 1 - ] - ], - "doc": " Public: Is the given path a submodule in the repository?\n\npath - The {String} path to check.\n\nReturns a {Boolean}. " - } - }, - "247": { - "22": { - "name": "getDirectoryStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "directoryPath" - ], - "range": [ - [ - 247, - 22 - ], - [ - 265, - 1 - ] - ], - "doc": " Public: Get the status of a directory in the repository's working directory.\n\npath - The {String} path to check.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " - } - }, - "265": { - "16": { - "name": "getLineDiffs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "text" - ], - "range": [ - [ - 265, - 16 - ], - [ - 276, - 1 - ] - ], - "doc": " Public: Retrieves the line diffs comparing the `HEAD` version of the given\npath and the given text.\n\npath - The {String} path relative to the repository.\ntext - The {String} to compare against the `HEAD` contents\n\nReturns an {Array} of hunk {Object}s with the following keys:\n :oldStart - The line {Number} of the old hunk.\n :newStart - The line {Number} of the new hunk.\n :oldLines - The {Number} of lines in the old hunk.\n :newLines - The {Number} of lines in the new hunk " - } - }, - "276": { - "18": { - "name": "getConfigValue", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "key", - "path" - ], - "range": [ - [ - 276, - 18 - ], - [ - 276, - 66 - ] - ], - "doc": " Public: Returns the git configuration value specified by the key.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " - } - }, - "282": { - "16": { - "name": "getOriginUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 282, - 16 - ], - [ - 282, - 67 - ] - ], - "doc": " Public: Returns the origin url of the repository.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " - } - }, - "291": { - "21": { - "name": "getUpstreamBranch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 291, - 21 - ], - [ - 291, - 64 - ] - ], - "doc": " Public: Returns the upstream branch for the current HEAD, or null if there\nis no upstream branch for the current HEAD.\n\npath - An optional {String} path in the repo to get this information for,\n only needed if the repository contains submodules.\n\nReturns a {String} branch name such as `refs/remotes/origin/master`. " - } - }, - "298": { - "22": { - "name": "getReferenceTarget", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "path" - ], - "range": [ - [ - 298, - 22 - ], - [ - 310, - 1 - ] - ], - "doc": " Public: Returns the current SHA for the given reference.\n\nreference - The {String} reference to get the target of.\npath - An optional {String} path in the repo to get the reference target\n for. Only needed if the repository contains submodules. " - } - }, - "310": { - "17": { - "name": "getReferences", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 310, - 17 - ], - [ - 310, - 56 - ] - ], - "doc": " Public: Gets all the local and remote references.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :heads - An {Array} of head reference names.\n :remotes - An {Array} of remote reference names.\n :tags - An {Array} of tag reference names. " - } - }, - "318": { - "23": { - "name": "getAheadBehindCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "path" - ], - "range": [ - [ - 318, - 23 - ], - [ - 330, - 1 - ] - ], - "doc": " Public: Returns the number of commits behind the current branch is from the\nits upstream remote branch.\n\nreference - The {String} branch reference name.\npath - The {String} path in the repository to get this information for,\n only needed if the repository contains submodules. " - } - }, - "330": { - "37": { - "name": "getCachedUpstreamAheadBehindCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 330, - 37 - ], - [ - 338, - 1 - ] - ], - "doc": " Public: Get the cached ahead/behind commit counts for the current branch's\nupstream branch.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :ahead - The {Number} of commits ahead.\n :behind - The {Number} of commits behind. " - } - }, - "338": { - "23": { - "name": "getCachedPathStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 338, - 23 - ], - [ - 342, - 1 - ] - ], - "doc": " Public: Get the cached status for the given path.\n\npath - A {String} path in the repository, relative or absolute.\n\nReturns a status {Number} or null if the path is not in the cache. " - } - }, - "342": { - "13": { - "name": "hasBranch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "branch" - ], - "range": [ - [ - 342, - 13 - ], - [ - 342, - 68 - ] - ], - "doc": "Public: Returns true if the given branch exists. " - } - }, - "346": { - "17": { - "name": "refreshStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 17 - ], - [ - 364, - 55 - ] - ], - "doc": " Private: Refreshes the current git status in an outside process and asynchronously\nupdates the relevant properties. " - } - } - }, - "exports": 40 - }, - "src/gutter-component.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "isEqual", - "exportsProperty": "isEqual" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 29 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "32": { - "type": "import", - "range": [ - [ - 3, - 32 - ], - [ - 3, - 45 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "multiplyString", - "exportsProperty": "multiplyString" - }, - "48": { - "type": "import", - "range": [ - [ - 3, - 48 - ], - [ - 3, - 54 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "toArray", - "exportsProperty": "toArray" - } - }, - "4": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 4, - 13 - ], - [ - 4, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "5": { - "18": { - "name": "SubscriberMixin", - "type": "import", - "range": [ - [ - 5, - 18 - ], - [ - 5, - 45 - ] - ], - "bindingType": "variable", - "path": "./subscriber-mixin" - } - }, - "7": { - "13": { - "name": "WrapperDiv", - "type": "function", - "range": [ - [ - 7, - 13 - ], - [ - 7, - 41 - ] - ] - } - }, - "10": { - "18": { - "name": "GutterComponent", - "type": "function", - "range": [ - [ - 10, - 18 - ], - [ - 227, - 39 - ] - ] - } - }, - "11": { - "15": { - "name": "'GutterComponent'", - "type": "primitive", - "range": [ - [ - 11, - 15 - ], - [ - 11, - 31 - ] - ] - } - }, - "12": { - "10": { - "type": "primitive", - "range": [ - [ - 12, - 10 - ], - [ - 12, - 26 - ] - ] - } - }, - "14": { - "23": { - "type": "primitive", - "range": [ - [ - 14, - 23 - ], - [ - 14, - 26 - ] - ] - } - }, - "15": { - "17": { - "type": "primitive", - "range": [ - [ - 15, - 17 - ], - [ - 15, - 20 - ] - ] - } - }, - "17": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 10 - ], - [ - 29, - 1 - ] - ], - "doc": null - } - }, - "29": { - "16": { - "name": "getTransform", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 16 - ], - [ - 37, - 1 - ] - ], - "doc": null - } - }, - "37": { - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 37, - 22 - ], - [ - 43, - 1 - ] - ], - "doc": null - } - }, - "43": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 21 - ], - [ - 50, - 1 - ] - ], - "doc": null - } - }, - "50": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 50, - 25 - ], - [ - 64, - 1 - ] - ], - "doc": null - } - }, - "64": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "oldProps" - ], - "range": [ - [ - 64, - 22 - ], - [ - 74, - 1 - ] - ], - "doc": null - } - }, - "74": { - "24": { - "name": "clearScreenRowCaches", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 24 - ], - [ - 80, - 1 - ] - ], - "doc": null - } - }, - "80": { - "25": { - "name": "appendDummyLineNumber", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 80, - 25 - ], - [ - 86, - 1 - ] - ], - "doc": null - } - }, - "86": { - "25": { - "name": "updateDummyLineNumber", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 25 - ], - [ - 89, - 1 - ] - ], - "doc": null - } - }, - "89": { - "21": { - "name": "updateLineNumbers", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 93, - 1 - ] - ], - "doc": null - } - }, - "93": { - "40": { - "name": "appendOrUpdateVisibleLineNumberNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 93, - 40 - ], - [ - 138, - 1 - ] - ], - "doc": null - } - }, - "138": { - "25": { - "name": "removeLineNumberNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberIdsToPreserve" - ], - "range": [ - [ - 138, - 25 - ], - [ - 150, - 1 - ] - ], - "doc": null - } - }, - "150": { - "23": { - "name": "buildLineNumberHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bufferRow", - "softWrapped", - "maxLineNumberDigits", - "screenRow" - ], - "range": [ - [ - 150, - 23 - ], - [ - 169, - 1 - ] - ], - "doc": null - } - }, - "169": { - "28": { - "name": "buildLineNumberInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bufferRow", - "softWrapped", - "maxLineNumberDigits" - ], - "range": [ - [ - 169, - 28 - ], - [ - 179, - 1 - ] - ], - "doc": null - } - }, - "179": { - "24": { - "name": "updateLineNumberNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberId", - "bufferRow", - "screenRow", - "softWrapped" - ], - "range": [ - [ - 179, - 24 - ], - [ - 208, - 1 - ] - ], - "doc": null - } - }, - "208": { - "17": { - "name": "hasDecoration", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "decorations", - "decoration" - ], - "range": [ - [ - 208, - 17 - ], - [ - 211, - 1 - ] - ], - "doc": null - } - }, - "211": { - "21": { - "name": "hasLineNumberNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberId" - ], - "range": [ - [ - 211, - 21 - ], - [ - 214, - 1 - ] - ], - "doc": null - } - }, - "214": { - "30": { - "name": "lineNumberNodeForScreenRow", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 214, - 30 - ], - [ - 217, - 1 - ] - ], - "doc": null - } - }, - "217": { - "11": { - "name": "onClick", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 217, - 11 - ], - [ - 227, - 39 - ] - ], - "doc": null - } - } - }, - "exports": 10 - }, - "src/gutter-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "10": { - "type": "import", - "range": [ - [ - 0, - 10 - ], - [ - 0, - 11 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - }, - "14": { - "type": "import", - "range": [ - [ - 0, - 14 - ], - [ - 0, - 16 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$$", - "exportsProperty": "$$$" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "8": { - "0": { - "type": "class", - "name": "GutterView", - "bindingType": "exports", - "classProperties": [ - [ - 9, - 12 - ] - ], - "prototypeProperties": [ - [ - 13, - 18 - ], - [ - 14, - 17 - ], - [ - 16, - 14 - ], - [ - 19, - 15 - ], - [ - 28, - 16 - ], - [ - 31, - 21 - ], - [ - 53, - 17 - ], - [ - 56, - 13 - ], - [ - 62, - 22 - ], - [ - 68, - 25 - ], - [ - 74, - 33 - ], - [ - 83, - 24 - ], - [ - 91, - 22 - ], - [ - 101, - 27 - ], - [ - 115, - 18 - ], - [ - 126, - 23 - ], - [ - 135, - 21 - ], - [ - 169, - 23 - ], - [ - 175, - 22 - ], - [ - 179, - 22 - ], - [ - 190, - 21 - ], - [ - 194, - 25 - ], - [ - 221, - 25 - ], - [ - 235, - 24 - ], - [ - 242, - 20 - ], - [ - 250, - 18 - ] - ], - "doc": " Private: Represents the portion of the {EditorView} containing row numbers.\n\nThe gutter also indicates if rows are folded. ", - "range": [ - [ - 8, - 0 - ], - [ - 274, - 29 - ] - ] - } - }, - "9": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 12 - ], - [ - 13, - 1 - ] - ] - } - }, - "13": { - "18": { - "name": "firstScreenRow", - "type": "primitive", - "range": [ - [ - 13, - 18 - ], - [ - 13, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "17": { - "name": "lastScreenRow", - "type": "primitive", - "range": [ - [ - 14, - 17 - ], - [ - 14, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 14 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 19, - 15 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 16 - ], - [ - 31, - 1 - ] - ], - "doc": "~Private~" - } - }, - "31": { - "21": { - "name": "handleMouseEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 31, - 21 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "17": { - "name": "getEditorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 17 - ], - [ - 56, - 1 - ] - ], - "doc": " Private: Retrieves the containing {EditorView}.\n\nReturns an {EditorView}. " - } - }, - "56": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 13 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "22": { - "name": "setShowLineNumbers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showLineNumbers" - ], - "range": [ - [ - 62, - 22 - ], - [ - 68, - 1 - ] - ], - "doc": " Private: Defines whether to show the gutter or not.\n\nshowLineNumbers - A {Boolean} which, if `false`, hides the gutter " - } - }, - "68": { - "25": { - "name": "getLineNumberElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 25 - ], - [ - 74, - 1 - ] - ], - "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " - } - }, - "74": { - "33": { - "name": "getLineNumberElementsForClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 74, - 33 - ], - [ - 83, - 1 - ] - ], - "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " - } - }, - "83": { - "24": { - "name": "getLineNumberElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 83, - 24 - ], - [ - 91, - 1 - ] - ], - "doc": " Private: Get a single line-number div.\n\n* bufferRow: 0 based line number\n\nReturns a list of {HTMLElement}s that correspond to the bufferRow. More than\none in the list indicates a wrapped line. " - } - }, - "91": { - "22": { - "name": "addClassToAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 91, - 22 - ], - [ - 101, - 1 - ] - ], - "doc": " Private: Add a class to all line-number divs.\n\n* klass: string class name\n\nReturns true if the class was added to any lines " - } - }, - "101": { - "27": { - "name": "removeClassFromAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 101, - 27 - ], - [ - 115, - 1 - ] - ], - "doc": " Private: Remove a class from all line-number divs.\n\n* klass: string class name. Can only be one class name. i.e. 'my-class'\n\nReturns true if the class was removed from any lines " - } - }, - "115": { - "18": { - "name": "addClassToLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "klass" - ], - "range": [ - [ - 115, - 18 - ], - [ - 126, - 1 - ] - ], - "doc": " Private: Add a class to a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was added to " - } - }, - "126": { - "23": { - "name": "removeClassFromLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "klass" - ], - "range": [ - [ - 126, - 23 - ], - [ - 135, - 1 - ] - ], - "doc": " Private: Remove a class from a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was removed from " - } - }, - "135": { - "21": { - "name": "updateLineNumbers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "changes", - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 135, - 21 - ], - [ - 169, - 1 - ] - ], - "doc": "~Private~" - } - }, - "169": { - "23": { - "name": "prependLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElements" - ], - "range": [ - [ - 169, - 23 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "22": { - "name": "appendLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElements" - ], - "range": [ - [ - 175, - 22 - ], - [ - 179, - 1 - ] - ], - "doc": "~Private~" - } - }, - "179": { - "22": { - "name": "removeLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "numberOfElements" - ], - "range": [ - [ - 179, - 22 - ], - [ - 190, - 1 - ] - ], - "doc": "~Private~" - } - }, - "190": { - "21": { - "name": "buildLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 190, - 21 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "25": { - "name": "buildLineElementsHtml", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 194, - 25 - ], - [ - 221, - 1 - ] - ], - "doc": "~Private~" - } - }, - "221": { - "25": { - "name": "updateFoldableClasses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "changes" - ], - "range": [ - [ - 221, - 25 - ], - [ - 235, - 1 - ] - ], - "doc": " Private: Called to update the 'foldable' class of line numbers when there's\na change to the display buffer that doesn't regenerate all the line numbers\nanyway. " - } - }, - "235": { - "24": { - "name": "removeLineHighlights", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 235, - 24 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "20": { - "name": "addLineHighlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "emptySelection" - ], - "range": [ - [ - 242, - 20 - ], - [ - 250, - 1 - ] - ], - "doc": "~Private~" - } - }, - "250": { - "18": { - "name": "highlightLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 250, - 18 - ], - [ - 274, - 29 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/highlight-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "21": { - "name": "HighlightComponent", - "type": "function", - "range": [ - [ - 5, - 21 - ], - [ - 89, - 110 - ] - ] - } - }, - "6": { - "15": { - "name": "'HighlightComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 34 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 20, - 1 - ] - ], - "doc": null - } - }, - "20": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 21 - ], - [ - 27, - 1 - ] - ], - "doc": null - } - }, - "27": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 24 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "23": { - "name": "startFlashAnimation", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 23 - ], - [ - 42, - 1 - ] - ], - "doc": null - } - }, - "42": { - "27": { - "name": "renderSingleLineRegions", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 27 - ], - [ - 53, - 1 - ] - ], - "doc": null - } - }, - "53": { - "26": { - "name": "renderMultiLineRegions", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 26 - ], - [ - 88, - 1 - ] - ], - "doc": null - } - }, - "88": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 88, - 25 - ], - [ - 89, - 110 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/highlights-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "3": { - "21": { - "name": "HighlightComponent", - "type": "import", - "range": [ - [ - 3, - 21 - ], - [ - 3, - 51 - ] - ], - "bindingType": "variable", - "path": "./highlight-component" - } - }, - "6": { - "22": { - "name": "HighlightsComponent", - "type": "function", - "range": [ - [ - 6, - 22 - ], - [ - 24, - 148 - ] - ] - } - }, - "7": { - "15": { - "name": "'HighlightsComponent'", - "type": "primitive", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 35 - ] - ] - } - }, - "9": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 10 - ], - [ - 13, - 1 - ] - ], - "doc": null - } - }, - "13": { - "20": { - "name": "renderHighlights", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 20 - ], - [ - 23, - 1 - ] - ], - "doc": null - } - }, - "23": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 23, - 25 - ], - [ - 24, - 148 - ] - ], - "doc": null - } - } - }, - "exports": 6 - }, - "src/input-component.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "last", - "exportsProperty": "last" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 13 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "isEqual", - "exportsProperty": "isEqual" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "input", - "exportsProperty": "input" - } - }, - "5": { - "17": { - "name": "InputComponent", - "type": "function", - "range": [ - [ - 5, - 17 - ], - [ - 43, - 25 - ] - ] - } - }, - "6": { - "15": { - "name": "'InputComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 30 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 13, - 1 - ] - ], - "doc": null - } - }, - "13": { - "19": { - "name": "getInitialState", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 19 - ], - [ - 16, - 1 - ] - ], - "doc": null - } - }, - "16": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 21 - ], - [ - 21, - 1 - ] - ], - "doc": null - } - }, - "21": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 22 - ], - [ - 27, - 1 - ] - ], - "doc": null - } - }, - "27": { - "27": { - "name": "isPressAndHoldCharacter", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "char" - ], - "range": [ - [ - 27, - 27 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 30, - 25 - ], - [ - 33, - 1 - ] - ], - "doc": null - } - }, - "33": { - "11": { - "name": "onPaste", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 33, - 11 - ], - [ - 36, - 1 - ] - ], - "doc": null - } - }, - "36": { - "11": { - "name": "onFocus", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 36, - 11 - ], - [ - 39, - 1 - ] - ], - "doc": null - } - }, - "39": { - "10": { - "name": "onBlur", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 39, - 10 - ], - [ - 42, - 1 - ] - ], - "doc": null - } - }, - "42": { - "9": { - "name": "focus", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 9 - ], - [ - 43, - 25 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/keymap-extensions.coffee": { - "objects": { - "0": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 0, - 5 - ], - [ - 0, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.0.4" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "16": { - "name": "KeymapManager", - "type": "import", - "range": [ - [ - 2, - 16 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "atom-keymap" - } - }, - "3": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1.0.2" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 6 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "jQuery", - "exportsProperty": "jQuery" - } - }, - "6": { - "36": { - "name": "KeymapManager.prototype.loadBundledKeymaps", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 36 - ], - [ - 9, - 0 - ] - ], - "doc": null - } - }, - "10": { - "35": { - "name": "KeymapManager.prototype.getUserKeymapPath", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 35 - ], - [ - 15, - 0 - ] - ], - "doc": null - } - }, - "16": { - "32": { - "name": "KeymapManager.prototype.loadUserKeymap", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 32 - ], - [ - 22, - 74 - ] - ], - "doc": null - } - }, - "23": { - "32": { - "name": "jQuery.Event.prototype.abortKeyBinding", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 23, - 32 - ], - [ - 25, - 0 - ] - ], - "doc": null - } - } - }, - "exports": 26 - }, - "src/language-mode.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 10 - ] - ], - "bindingType": "variable", - "module": "oniguruma", - "name": "OnigRegExp", - "exportsProperty": "OnigRegExp" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "6": { - "0": { - "type": "class", - "name": "LanguageMode", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 15 - ], - [ - 16, - 11 - ], - [ - 19, - 33 - ], - [ - 30, - 35 - ], - [ - 100, - 11 - ], - [ - 107, - 13 - ], - [ - 114, - 24 - ], - [ - 128, - 17 - ], - [ - 141, - 30 - ], - [ - 146, - 33 - ], - [ - 161, - 34 - ], - [ - 181, - 25 - ], - [ - 186, - 29 - ], - [ - 194, - 32 - ], - [ - 201, - 30 - ], - [ - 208, - 35 - ], - [ - 241, - 31 - ], - [ - 265, - 29 - ], - [ - 274, - 24 - ], - [ - 281, - 23 - ], - [ - 288, - 34 - ], - [ - 308, - 23 - ], - [ - 312, - 32 - ], - [ - 315, - 32 - ], - [ - 318, - 25 - ] - ], - "doc": "~Private~", - "range": [ - [ - 6, - 0 - ], - [ - 319, - 57 - ] - ] - } - }, - "13": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 13, - 15 - ], - [ - 16, - 1 - ] - ], - "doc": " Private: Sets up a `LanguageMode` for the given {Editor}.\n\neditor - The {Editor} to associate with " - } - }, - "16": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 11 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "33": { - "name": "toggleLineCommentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 19, - 33 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "35": { - "name": "toggleLineCommentsForBufferRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 30, - 35 - ], - [ - 100, - 1 - ] - ], - "doc": " Private: Wraps the lines between two rows in comments.\n\nIf the language doesn't have comment, nothing happens.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns an {Array} of the commented {Ranges}. " - } - }, - "100": { - "11": { - "name": "foldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 100, - 11 - ], - [ - 107, - 1 - ] - ], - "doc": "Private: Folds all the foldable lines in the buffer. " - } - }, - "107": { - "13": { - "name": "unfoldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 13 - ], - [ - 114, - 1 - ] - ], - "doc": "Private: Unfolds all the foldable lines in the buffer. " - } - }, - "114": { - "24": { - "name": "foldAllAtIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "indentLevel" - ], - "range": [ - [ - 114, - 24 - ], - [ - 128, - 1 - ] - ], - "doc": " Private: Fold all comment and code blocks at a given indentLevel\n\nindentLevel - A {Number} indicating indentLevel; 0 based. " - } - }, - "128": { - "17": { - "name": "foldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 128, - 17 - ], - [ - 141, - 1 - ] - ], - "doc": " Private: Given a buffer row, creates a fold at it.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns the new {Fold}. " - } - }, - "141": { - "30": { - "name": "rowRangeForFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 141, - 30 - ], - [ - 146, - 1 - ] - ], - "doc": " Private: Find the row range for a fold at a given bufferRow. Will handle comments\nand code.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of the [startRow, endRow]. Returns null if no range. " - } - }, - "146": { - "33": { - "name": "rowRangeForCommentAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 146, - 33 - ], - [ - 161, - 1 - ] - ], - "doc": "~Private~" - } - }, - "161": { - "34": { - "name": "rowRangeForCodeFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 161, - 34 - ], - [ - 181, - 1 - ] - ], - "doc": "~Private~" - } - }, - "181": { - "25": { - "name": "isFoldableAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 181, - 25 - ], - [ - 186, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether the given buffer row starts a\nfoldable row range. Rows that are \"foldable\" have a fold icon next to their\nicon in the gutter in the default configuration. " - } - }, - "186": { - "29": { - "name": "isFoldableCodeAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 186, - 29 - ], - [ - 194, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na a foldable row range due to the code's indentation patterns. " - } - }, - "194": { - "32": { - "name": "isFoldableCommentAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 194, - 32 - ], - [ - 201, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na foldable row range due to being the start of a multi-line comment. " - } - }, - "201": { - "30": { - "name": "isLineCommentedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 201, - 30 - ], - [ - 208, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the line at the given buffer\nrow is a comment. " - } - }, - "208": { - "35": { - "name": "rowRangeForParagraphAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 208, - 35 - ], - [ - 241, - 1 - ] - ], - "doc": " Private: Find a row range for a 'paragraph' around specified bufferRow.\nRight now, a paragraph is a block of text bounded by and empty line or a\nblock of text that is not the same type (comments next to source code). " - } - }, - "241": { - "31": { - "name": "suggestedIndentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 241, - 31 - ], - [ - 265, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns a suggested indentation level.\n\nThe indentation level provided is based on the current {LanguageMode}.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Number}. " - } - }, - "265": { - "29": { - "name": "minIndentLevelForRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 265, - 29 - ], - [ - 274, - 1 - ] - ], - "doc": " Private: Calculate a minimum indent level for a range of lines excluding empty lines.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns a {Number} of the indent level of the block of lines. " - } - }, - "274": { - "24": { - "name": "autoIndentBufferRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 274, - 24 - ], - [ - 281, - 1 - ] - ], - "doc": " Private: Indents all the rows between two buffer row numbers.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at " - } - }, - "281": { - "23": { - "name": "autoIndentBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "options" - ], - "range": [ - [ - 281, - 23 - ], - [ - 288, - 1 - ] - ], - "doc": " Private: Given a buffer row, this indents it.\n\nbufferRow - The row {Number}.\noptions - An options {Object} to pass through to {Editor::setIndentationForBufferRow}. " - } - }, - "288": { - "34": { - "name": "autoDecreaseIndentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 288, - 34 - ], - [ - 308, - 1 - ] - ], - "doc": " Private: Given a buffer row, this decreases the indentation.\n\nbufferRow - The row {Number} " - } - }, - "308": { - "23": { - "name": "getRegexForProperty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "property" - ], - "range": [ - [ - 308, - 23 - ], - [ - 312, - 1 - ] - ], - "doc": "~Private~" - } - }, - "312": { - "32": { - "name": "increaseIndentRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 312, - 32 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "32": { - "name": "decreaseIndentRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 315, - 32 - ], - [ - 318, - 1 - ] - ], - "doc": "~Private~" - } - }, - "318": { - "25": { - "name": "foldEndRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 318, - 25 - ], - [ - 319, - 57 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 6 - }, - "src/less-compile-cache.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.0.4" - } - }, - "2": { - "12": { - "name": "LessCache", - "type": "import", - "range": [ - [ - 2, - 12 - ], - [ - 2, - 31 - ] - ], - "bindingType": "variable", - "module": "less-cache" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "7": { - "0": { - "type": "class", - "name": "LessCompileCache", - "bindingType": "exports", - "classProperties": [ - [ - 10, - 13 - ] - ], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 29, - 18 - ], - [ - 32, - 8 - ], - [ - 35, - 14 - ], - [ - 38, - 11 - ] - ], - "doc": "Private: {LessCache} wrapper used by {ThemeManager} to read stylesheets. ", - "range": [ - [ - 7, - 0 - ], - [ - 38, - 28 - ] - ] - } - }, - "10": { - "13": { - "name": "cacheDir", - "type": "function", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 71 - ] - ], - "bindingType": "classProperty" - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 29, - 1 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "18": { - "name": "setImportPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "importPaths" - ], - "range": [ - [ - 29, - 18 - ], - [ - 32, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "8": { - "name": "read", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 32, - 8 - ], - [ - 35, - 1 - ] - ], - "doc": "~Private~" - } - }, - "35": { - "14": { - "name": "cssForFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "lessContent" - ], - "range": [ - [ - 35, - 14 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 38, - 11 - ], - [ - 38, - 27 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 7 - }, - "src/lines-component.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - }, - "6": { - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 9 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "span", - "exportsProperty": "span" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "debounce", - "exportsProperty": "debounce" - }, - "11": { - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 17 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "isEqual", - "exportsProperty": "isEqual" - }, - "20": { - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 39 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "42": { - "type": "import", - "range": [ - [ - 3, - 42 - ], - [ - 3, - 55 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "multiplyString", - "exportsProperty": "multiplyString" - }, - "58": { - "type": "import", - "range": [ - [ - 3, - 58 - ], - [ - 3, - 64 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "toArray", - "exportsProperty": "toArray" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 2 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "$$", - "exportsProperty": "$$" - } - }, - "6": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 6, - 13 - ], - [ - 6, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "7": { - "19": { - "name": "CursorsComponent", - "type": "import", - "range": [ - [ - 7, - 19 - ], - [ - 7, - 47 - ] - ], - "bindingType": "variable", - "path": "./cursors-component" - } - }, - "8": { - "22": { - "name": "HighlightsComponent", - "type": "import", - "range": [ - [ - 8, - 22 - ], - [ - 8, - 53 - ] - ], - "bindingType": "variable", - "path": "./highlights-component" - } - }, - "10": { - "16": { - "type": "primitive", - "range": [ - [ - 10, - 16 - ], - [ - 10, - 111 - ] - ] - } - }, - "11": { - "15": { - "type": "primitive", - "range": [ - [ - 11, - 15 - ], - [ - 11, - 55 - ] - ] - }, - "28": { - "name": "acceptNode", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 11, - 28 - ], - [ - 11, - 54 - ] - ], - "doc": null - } - }, - "12": { - "13": { - "name": "WrapperDiv", - "type": "function", - "range": [ - [ - 12, - 13 - ], - [ - 12, - 41 - ] - ] - } - }, - "15": { - "17": { - "name": "LinesComponent", - "type": "function", - "range": [ - [ - 15, - 17 - ], - [ - 348, - 41 - ] - ] - } - }, - "16": { - "15": { - "name": "'LinesComponent'", - "type": "primitive", - "range": [ - [ - 16, - 15 - ], - [ - 16, - 30 - ] - ] - } - }, - "18": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 18, - 10 - ], - [ - 44, - 1 - ] - ], - "doc": null - } - }, - "44": { - "16": { - "name": "getTransform", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 16 - ], - [ - 52, - 1 - ] - ], - "doc": null - } - }, - "52": { - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 22 - ], - [ - 59, - 1 - ] - ], - "doc": null - } - }, - "59": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 59, - 25 - ], - [ - 79, - 1 - ] - ], - "doc": null - } - }, - "79": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "prevProps" - ], - "range": [ - [ - 79, - 22 - ], - [ - 88, - 1 - ] - ], - "doc": null - } - }, - "88": { - "24": { - "name": "clearScreenRowCaches", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 24 - ], - [ - 92, - 1 - ] - ], - "doc": null - } - }, - "92": { - "15": { - "name": "updateLines", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "updateWidth" - ], - "range": [ - [ - 92, - 15 - ], - [ - 100, - 1 - ] - ], - "doc": null - } - }, - "100": { - "19": { - "name": "removeLineNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "visibleLines" - ], - "range": [ - [ - 100, - 19 - ], - [ - 114, - 1 - ] - ], - "doc": null - } - }, - "114": { - "34": { - "name": "appendOrUpdateVisibleLineNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "visibleLines", - "startRow", - "updateWidth" - ], - "range": [ - [ - 114, - 34 - ], - [ - 145, - 1 - ] - ], - "doc": null - } - }, - "145": { - "15": { - "name": "hasLineNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineId" - ], - "range": [ - [ - 145, - 15 - ], - [ - 148, - 1 - ] - ], - "doc": null - } - }, - "148": { - "17": { - "name": "buildLineHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "screenRow" - ], - "range": [ - [ - 148, - 17 - ], - [ - 171, - 1 - ] - ], - "doc": null - } - }, - "171": { - "27": { - "name": "buildEmptyLineInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 171, - 27 - ], - [ - 198, - 1 - ] - ], - "doc": null - } - }, - "198": { - "22": { - "name": "buildLineInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 198, - 22 - ], - [ - 215, - 1 - ] - ], - "doc": null - } - }, - "215": { - "22": { - "name": "buildEndOfLineHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "invisibles" - ], - "range": [ - [ - 215, - 22 - ], - [ - 228, - 1 - ] - ], - "doc": null - } - }, - "228": { - "20": { - "name": "updateScopeStack", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 228, - 20 - ], - [ - 245, - 1 - ] - ], - "doc": null - } - }, - "245": { - "12": { - "name": "popScope", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack" - ], - "range": [ - [ - 245, - 12 - ], - [ - 249, - 1 - ] - ], - "doc": null - } - }, - "249": { - "13": { - "name": "pushScope", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack", - "scope" - ], - "range": [ - [ - 249, - 13 - ], - [ - 253, - 1 - ] - ], - "doc": null - } - }, - "253": { - "18": { - "name": "updateLineNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "screenRow", - "updateWidth" - ], - "range": [ - [ - 253, - 18 - ], - [ - 278, - 1 - ] - ], - "doc": null - } - }, - "278": { - "17": { - "name": "hasDecoration", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "decorations", - "decoration" - ], - "range": [ - [ - 278, - 17 - ], - [ - 281, - 1 - ] - ], - "doc": null - } - }, - "281": { - "24": { - "name": "lineNodeForScreenRow", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 281, - 24 - ], - [ - 284, - 1 - ] - ], - "doc": null - } - }, - "284": { - "40": { - "name": "measureLineHeightAndDefaultCharWidth", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 40 - ], - [ - 295, - 1 - ] - ], - "doc": null - } - }, - "295": { - "28": { - "name": "remeasureCharacterWidths", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 295, - 28 - ], - [ - 299, - 1 - ] - ], - "doc": null - } - }, - "299": { - "31": { - "name": "measureCharactersInNewLines", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 299, - 31 - ], - [ - 311, - 1 - ] - ], - "doc": null - } - }, - "311": { - "27": { - "name": "measureCharactersInLine", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "tokenizedLine", - "lineNode" - ], - "range": [ - [ - 311, - 27 - ], - [ - 346, - 1 - ] - ], - "doc": null - } - }, - "346": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 25 - ], - [ - 348, - 41 - ] - ], - "doc": null - } - } - }, - "exports": 15 - }, - "src/menu-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "3": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 3, - 6 - ], - [ - 3, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1.0.2" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.0.4" - } - }, - "12": { - "0": { - "type": "class", - "name": "MenuManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 15 - ], - [ - 37, - 7 - ], - [ - 47, - 19 - ], - [ - 79, - 10 - ], - [ - 88, - 21 - ], - [ - 96, - 9 - ], - [ - 107, - 27 - ], - [ - 117, - 24 - ], - [ - 121, - 18 - ], - [ - 130, - 21 - ] - ], - "doc": " Public: Provides a registry for menu items that you'd like to appear in the\napplication menu.\n\nAn instance of this class is always available as the `atom.menu` global. ", - "range": [ - [ - 12, - 0 - ], - [ - 131, - 49 - ] - ] - } - }, - "13": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 13, - 15 - ], - [ - 37, - 1 - ] - ] - } - }, - "37": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 37, - 7 - ], - [ - 47, - 1 - ] - ], - "doc": " Public: Adds the given item definition to the existing template.\n\n## Example\n```coffee\n atom.menu.add [\n {\n label: 'Hello'\n submenu : [{label: 'World!', command: 'hello:world'}]\n }\n ]\n```\n\nitems - An {Array} of menu item {Object}s containing the keys:\n :label - The {String} menu label.\n :submenu - An optional {Array} of sub menu items.\n :command - An optional {String} command to trigger when the item is\n clicked.\n\nReturns nothing. " - } - }, - "47": { - "19": { - "name": "includeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 47, - 19 - ], - [ - 79, - 1 - ] - ], - "doc": " Private: Should the binding for the given selector be included in the menu\ncommands.\n\nselector - A {String} selector to check.\n\nReturns true to include the selector, false otherwise. " - } - }, - "79": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 10 - ], - [ - 88, - 1 - ] - ], - "doc": "Public: Refreshes the currently visible menu. " - } - }, - "88": { - "21": { - "name": "loadPlatformItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 21 - ], - [ - 96, - 1 - ] - ], - "doc": "~Private~" - } - }, - "96": { - "9": { - "name": "merge", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "menu", - "item" - ], - "range": [ - [ - 96, - 9 - ], - [ - 107, - 1 - ] - ], - "doc": " Private: Merges an item in a submenu aware way such that new items are always\nappended to the bottom of existing menus where possible. " - } - }, - "107": { - "27": { - "name": "filterMultipleKeystroke", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystrokesByCommand" - ], - "range": [ - [ - 107, - 27 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: OSX can't handle displaying accelerators for multiple keystrokes.\nIf they are sent across, it will stop processing accelerators for the rest\nof the menu items. " - } - }, - "117": { - "24": { - "name": "sendToBrowserProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 117, - 24 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "18": { - "name": "normalizeLabel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "label" - ], - "range": [ - [ - 121, - 18 - ], - [ - 130, - 1 - ] - ], - "doc": "~Private~" - } - }, - "130": { - "21": { - "name": "classesForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 130, - 21 - ], - [ - 131, - 49 - ] - ], - "doc": "Private: Get an {Array} of {String} classes for the given element. " - } - } - }, - "exports": 12 - }, - "src/package-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.0.4" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "7": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 7, - 10 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "8": { - "15": { - "name": "ThemePackage", - "type": "import", - "range": [ - [ - 8, - 15 - ], - [ - 8, - 39 - ] - ], - "bindingType": "variable", - "path": "./theme-package" - } - }, - "26": { - "0": { - "type": "class", - "name": "PackageManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 44, - 14 - ], - [ - 52, - 22 - ], - [ - 55, - 19 - ], - [ - 58, - 19 - ], - [ - 62, - 17 - ], - [ - 68, - 18 - ], - [ - 74, - 12 - ], - [ - 82, - 28 - ], - [ - 85, - 20 - ], - [ - 90, - 19 - ], - [ - 100, - 22 - ], - [ - 105, - 21 - ], - [ - 113, - 21 - ], - [ - 117, - 20 - ], - [ - 121, - 19 - ], - [ - 124, - 29 - ], - [ - 128, - 27 - ], - [ - 137, - 16 - ], - [ - 148, - 15 - ], - [ - 168, - 18 - ], - [ - 172, - 17 - ], - [ - 182, - 20 - ], - [ - 186, - 19 - ], - [ - 190, - 21 - ], - [ - 196, - 29 - ], - [ - 200, - 22 - ], - [ - 210, - 21 - ], - [ - 213, - 17 - ], - [ - 218, - 20 - ], - [ - 221, - 26 - ], - [ - 231, - 28 - ], - [ - 246, - 28 - ], - [ - 250, - 31 - ] - ], - "doc": " Public: Package manager for coordinating the lifecycle of Atom packages.\n\nAn instance of this class is always available as the `atom.packages` global.\n\nPackages can be loaded, activated, and deactivated, and unloaded:\n * Loading a package reads and parses the package's metadata and resources\n such as keymaps, menus, stylesheets, etc.\n * Activating a package registers the loaded resources and calls `activate()`\n on the package's main module.\n * Deactivating a package unregisters the package's resources and calls\n `deactivate()` on the package's main module.\n * Unloading a package removes it completely from the package manager.\n\nPackages can also be enabled/disabled via the `core.disabledPackages` config\nsettings and also by calling `enablePackage()/disablePackage()`. ", - "range": [ - [ - 26, - 0 - ], - [ - 256, - 12 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 29, - 15 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "14": { - "name": "getApmPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 14 - ], - [ - 52, - 1 - ] - ], - "doc": "Public: Get the path to the apm command " - } - }, - "52": { - "22": { - "name": "getPackageDirPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 22 - ], - [ - 55, - 1 - ] - ], - "doc": " Public: Get the paths being used to look for packages.\n\nReturns an Array of String directory paths. " - } - }, - "55": { - "19": { - "name": "getPackageState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 55, - 19 - ], - [ - 58, - 1 - ] - ], - "doc": "~Private~" - } - }, - "58": { - "19": { - "name": "setPackageState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "state" - ], - "range": [ - [ - 58, - 19 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "17": { - "name": "enablePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 62, - 17 - ], - [ - 68, - 1 - ] - ], - "doc": "Public: Enable the package with the given name " - } - }, - "68": { - "18": { - "name": "disablePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 68, - 18 - ], - [ - 74, - 1 - ] - ], - "doc": "Public: Disable the package with the given name " - } - }, - "74": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 12 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Activate all the packages that should be activated. " - } - }, - "82": { - "28": { - "name": "registerPackageActivator", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "activator", - "types" - ], - "range": [ - [ - 82, - 28 - ], - [ - 85, - 1 - ] - ], - "doc": " Private: another type of package manager can handle other package types.\nSee ThemeManager " - } - }, - "85": { - "20": { - "name": "activatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "packages" - ], - "range": [ - [ - 85, - 20 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "19": { - "name": "activatePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 90, - 19 - ], - [ - 100, - 1 - ] - ], - "doc": "Private: Activate a single package by name " - } - }, - "100": { - "22": { - "name": "deactivatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 100, - 22 - ], - [ - 105, - 1 - ] - ], - "doc": "Private: Deactivate all packages " - } - }, - "105": { - "21": { - "name": "deactivatePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 105, - 21 - ], - [ - 113, - 1 - ] - ], - "doc": "Private: Deactivate the package with the given name " - } - }, - "113": { - "21": { - "name": "getActivePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 113, - 21 - ], - [ - 117, - 1 - ] - ], - "doc": "Public: Get an array of all the active packages " - } - }, - "117": { - "20": { - "name": "getActivePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 117, - 20 - ], - [ - 121, - 1 - ] - ], - "doc": "Public: Get the active package with the given name " - } - }, - "121": { - "19": { - "name": "isPackageActive", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 121, - 19 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Is the package with the given name active? " - } - }, - "124": { - "29": { - "name": "unobserveDisabledPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 29 - ], - [ - 128, - 1 - ] - ], - "doc": "~Private~" - } - }, - "128": { - "27": { - "name": "observeDisabledPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 128, - 27 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "16": { - "name": "loadPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 16 - ], - [ - 148, - 1 - ] - ], - "doc": "~Private~" - } - }, - "148": { - "15": { - "name": "loadPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "nameOrPath" - ], - "range": [ - [ - 148, - 15 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "18": { - "name": "unloadPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 18 - ], - [ - 172, - 1 - ] - ], - "doc": "~Private~" - } - }, - "172": { - "17": { - "name": "unloadPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 172, - 17 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "20": { - "name": "getLoadedPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 182, - 20 - ], - [ - 186, - 1 - ] - ], - "doc": "Public: Get the loaded package with the given name " - } - }, - "186": { - "19": { - "name": "isPackageLoaded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 186, - 19 - ], - [ - 190, - 1 - ] - ], - "doc": "Public: Is the package with the given name loaded? " - } - }, - "190": { - "21": { - "name": "getLoadedPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 21 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded packages " - } - }, - "196": { - "29": { - "name": "getLoadedPackagesForTypes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "types" - ], - "range": [ - [ - 196, - 29 - ], - [ - 200, - 1 - ] - ], - "doc": " Private: Get packages for a certain package type\n\ntypes - an {Array} of {String}s like ['atom', 'textmate']. " - } - }, - "200": { - "22": { - "name": "resolvePackagePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 200, - 22 - ], - [ - 210, - 1 - ] - ], - "doc": "Public: Resolve the given package name to a path on disk. " - } - }, - "210": { - "21": { - "name": "isPackageDisabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 210, - 21 - ], - [ - 213, - 1 - ] - ], - "doc": "Public: Is the package with the given name disabled? " - } - }, - "213": { - "17": { - "name": "hasAtomEngine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "packagePath" - ], - "range": [ - [ - 213, - 17 - ], - [ - 218, - 1 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "20": { - "name": "isBundledPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 218, - 20 - ], - [ - 221, - 1 - ] - ], - "doc": "Public: Is the package with the given name bundled with Atom? " - } - }, - "221": { - "26": { - "name": "getPackageDependencies", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 221, - 26 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "28": { - "name": "getAvailablePackagePaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 231, - 28 - ], - [ - 246, - 1 - ] - ], - "doc": "Public: Get an array of all the available package paths. " - } - }, - "246": { - "28": { - "name": "getAvailablePackageNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 246, - 28 - ], - [ - 250, - 1 - ] - ], - "doc": "Public: Get an array of all the available package names. " - } - }, - "250": { - "31": { - "name": "getAvailablePackageMetadata", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 250, - 31 - ], - [ - 256, - 12 - ] - ], - "doc": "Public: Get an array of all the available package metadata. " - } - } - }, - "exports": 26 - }, - "src/package.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "3": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 3, - 8 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "async" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1.0.2" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.0.4" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "7": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "9": { - "4": { - "type": "primitive", - "range": [ - [ - 9, - 4 - ], - [ - 9, - 7 - ] - ] - } - }, - "10": { - "19": { - "name": "ScopedProperties", - "type": "import", - "range": [ - [ - 10, - 19 - ], - [ - 10, - 47 - ] - ], - "bindingType": "variable", - "path": "./scoped-properties" - } - }, - "15": { - "0": { - "type": "class", - "name": "Package", - "bindingType": "exports", - "classProperties": [ - [ - 18, - 19 - ], - [ - 20, - 17 - ] - ], - "prototypeProperties": [ - [ - 30, - 11 - ], - [ - 31, - 9 - ], - [ - 32, - 15 - ], - [ - 33, - 12 - ], - [ - 34, - 20 - ], - [ - 35, - 18 - ], - [ - 36, - 26 - ], - [ - 37, - 14 - ], - [ - 39, - 15 - ], - [ - 44, - 10 - ], - [ - 47, - 11 - ], - [ - 50, - 11 - ], - [ - 53, - 11 - ], - [ - 59, - 11 - ], - [ - 61, - 21 - ], - [ - 63, - 8 - ], - [ - 76, - 9 - ], - [ - 83, - 12 - ], - [ - 97, - 15 - ], - [ - 109, - 18 - ], - [ - 118, - 23 - ], - [ - 126, - 21 - ], - [ - 138, - 15 - ], - [ - 141, - 13 - ], - [ - 144, - 18 - ], - [ - 151, - 16 - ], - [ - 158, - 19 - ], - [ - 162, - 22 - ], - [ - 165, - 22 - ], - [ - 177, - 20 - ], - [ - 194, - 16 - ], - [ - 213, - 24 - ], - [ - 231, - 13 - ], - [ - 238, - 14 - ], - [ - 247, - 20 - ], - [ - 251, - 23 - ], - [ - 260, - 21 - ], - [ - 266, - 20 - ], - [ - 269, - 21 - ], - [ - 275, - 21 - ], - [ - 285, - 23 - ], - [ - 297, - 31 - ], - [ - 306, - 25 - ], - [ - 315, - 35 - ], - [ - 325, - 36 - ], - [ - 339, - 36 - ], - [ - 345, - 18 - ], - [ - 353, - 34 - ], - [ - 371, - 32 - ], - [ - 401, - 16 - ] - ], - "doc": " Private: Loads and activates a package's main module and resources such as\nstylesheets, keymaps, grammar, editor properties, and menus. ", - "range": [ - [ - 15, - 0 - ], - [ - 411, - 24 - ] - ] - } - }, - "18": { - "19": { - "name": "stylesheetsDir", - "type": "primitive", - "range": [ - [ - 18, - 19 - ], - [ - 18, - 31 - ] - ], - "bindingType": "classProperty" - } - }, - "20": { - "17": { - "name": "loadMetadata", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "packagePath", - "ignoreErrors" - ], - "range": [ - [ - 20, - 17 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "keymaps", - "type": "primitive", - "range": [ - [ - 30, - 11 - ], - [ - 30, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "31": { - "9": { - "name": "menus", - "type": "primitive", - "range": [ - [ - 31, - 9 - ], - [ - 31, - 12 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "32": { - "15": { - "name": "stylesheets", - "type": "primitive", - "range": [ - [ - 32, - 15 - ], - [ - 32, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "33": { - "12": { - "name": "grammars", - "type": "primitive", - "range": [ - [ - 33, - 12 - ], - [ - 33, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "34": { - "20": { - "name": "scopedProperties", - "type": "primitive", - "range": [ - [ - 34, - 20 - ], - [ - 34, - 23 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "35": { - "18": { - "name": "mainModulePath", - "type": "primitive", - "range": [ - [ - 35, - 18 - ], - [ - 35, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "36": { - "26": { - "name": "resolvedMainModulePath", - "type": "primitive", - "range": [ - [ - 36, - 26 - ], - [ - 36, - 30 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "37": { - "14": { - "name": "mainModule", - "type": "primitive", - "range": [ - [ - 37, - 14 - ], - [ - 37, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "39": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 39, - 15 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "10": { - "name": "enable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 10 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "11": { - "name": "disable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 47, - 11 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "11": { - "name": "isTheme", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 11 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "11": { - "name": "measure", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "key", - "fn" - ], - "range": [ - [ - 53, - 11 - ], - [ - 59, - 1 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "11": { - "name": "getType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 11 - ], - [ - 59, - 19 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "21": { - "name": "getStylesheetType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 21 - ], - [ - 61, - 32 - ] - ], - "doc": "~Private~" - } - }, - "63": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 63, - 8 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "9": { - "name": "reset", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 9 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 83, - 12 - ], - [ - 97, - 1 - ] - ], - "doc": "~Private~" - } - }, - "97": { - "15": { - "name": "activateNow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 97, - 15 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "18": { - "name": "activateConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 18 - ], - [ - 118, - 1 - ] - ], - "doc": "~Private~" - } - }, - "118": { - "23": { - "name": "activateStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 118, - 23 - ], - [ - 126, - 1 - ] - ], - "doc": "~Private~" - } - }, - "126": { - "21": { - "name": "activateResources", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 21 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "15": { - "name": "loadKeymaps", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 15 - ], - [ - 141, - 1 - ] - ], - "doc": "~Private~" - } - }, - "141": { - "13": { - "name": "loadMenus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 13 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "18": { - "name": "getKeymapPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 144, - 18 - ], - [ - 151, - 1 - ] - ], - "doc": "~Private~" - } - }, - "151": { - "16": { - "name": "getMenuPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 151, - 16 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "19": { - "name": "loadStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 19 - ], - [ - 162, - 1 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "22": { - "name": "getStylesheetsPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 22 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "22": { - "name": "getStylesheetPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 22 - ], - [ - 177, - 1 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "20": { - "name": "loadGrammarsSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 20 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "16": { - "name": "loadGrammars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 194, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "24": { - "name": "loadScopedProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 24 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "13": { - "name": "serialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 231, - 13 - ], - [ - 238, - 1 - ] - ], - "doc": "~Private~" - } - }, - "238": { - "14": { - "name": "deactivate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 238, - 14 - ], - [ - 247, - 1 - ] - ], - "doc": "~Private~" - } - }, - "247": { - "20": { - "name": "deactivateConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 247, - 20 - ], - [ - 251, - 1 - ] - ], - "doc": "~Private~" - } - }, - "251": { - "23": { - "name": "deactivateResources", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 251, - 23 - ], - [ - 260, - 1 - ] - ], - "doc": "~Private~" - } - }, - "260": { - "21": { - "name": "reloadStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 21 - ], - [ - 266, - 1 - ] - ], - "doc": "~Private~" - } - }, - "266": { - "20": { - "name": "reloadStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "content" - ], - "range": [ - [ - 266, - 20 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "21": { - "name": "requireMainModule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 21 - ], - [ - 275, - 1 - ] - ] - } - }, - "275": { - "21": { - "name": "getMainModulePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 275, - 21 - ], - [ - 285, - 1 - ] - ], - "doc": "~Private~" - } - }, - "285": { - "23": { - "name": "hasActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 285, - 23 - ], - [ - 297, - 1 - ] - ], - "doc": "~Private~" - } - }, - "297": { - "31": { - "name": "subscribeToActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 31 - ], - [ - 306, - 1 - ] - ], - "doc": "~Private~" - } - }, - "306": { - "25": { - "name": "handleActivationEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 306, - 25 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "35": { - "name": "unsubscribeFromActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 35 - ], - [ - 325, - 1 - ] - ], - "doc": "~Private~" - } - }, - "325": { - "36": { - "name": "disableEventHandlersOnBubblePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 325, - 36 - ], - [ - 339, - 1 - ] - ], - "doc": "~Private~" - } - }, - "339": { - "36": { - "name": "restoreEventHandlersOnBubblePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventHandlers" - ], - "range": [ - [ - 339, - 36 - ], - [ - 345, - 1 - ] - ], - "doc": "~Private~" - } - }, - "345": { - "18": { - "name": "isNativeModule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "modulePath" - ], - "range": [ - [ - 345, - 18 - ], - [ - 353, - 1 - ] - ], - "doc": "Private: Does the given module path contain native code? " - } - }, - "353": { - "34": { - "name": "getNativeModuleDependencyPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 353, - 34 - ], - [ - 371, - 1 - ] - ], - "doc": " Private: Get an array of all the native modules that this package depends on.\nThis will recurse through all dependencies. " - } - }, - "371": { - "32": { - "name": "getIncompatibleNativeModules", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 371, - 32 - ], - [ - 401, - 1 - ] - ], - "doc": " Private: Get the incompatible native modules that this package depends on.\nThis recurses through all dependencies and requires all modules that\ncontain a `.node` file.\n\nThis information is cached in local storage on a per package/version basis\nto minimize the impact on startup time. " - } - }, - "401": { - "16": { - "name": "isCompatible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 401, - 16 - ], - [ - 411, - 24 - ] - ], - "doc": " Public: Is this package compatible with this version of Atom?\n\nIncompatible packages cannot be activated. This will include packages\ninstalled to ~/.atom/packages that were built against node 0.11.10 but\nnow need to be upgrade to node 0.11.13.\n\nReturns a {Boolean}, true if compatible, false if incompatible. " - } - } - }, - "exports": 15 - }, - "src/pane-axis-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "11": { - "type": "primitive", - "range": [ - [ - 1, - 11 - ], - [ - 1, - 14 - ] - ] - } - }, - "4": { - "0": { - "type": "class", - "name": "PaneAxisView", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 5, - 14 - ], - [ - 9, - 15 - ], - [ - 12, - 16 - ], - [ - 16, - 22 - ], - [ - 22, - 16 - ], - [ - 26, - 18 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 31, - 48 - ] - ] - } - }, - "5": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 5, - 14 - ], - [ - 9, - 1 - ] - ] - } - }, - "9": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 15 - ], - [ - 12, - 1 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "16": { - "name": "viewForModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "model" - ], - "range": [ - [ - 12, - 16 - ], - [ - 16, - 1 - ] - ], - "doc": "~Private~" - } - }, - "16": { - "22": { - "name": "onChildrenChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 16, - 22 - ], - [ - 22, - 1 - ] - ], - "doc": "~Private~" - } - }, - "22": { - "16": { - "name": "onChildAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child", - "index" - ], - "range": [ - [ - 22, - 16 - ], - [ - 26, - 1 - ] - ], - "doc": "~Private~" - } - }, - "26": { - "18": { - "name": "onChildRemoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 26, - 18 - ], - [ - 31, - 48 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/pane-axis.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 15 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Sequence", - "exportsProperty": "Sequence" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 7 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "flatten", - "exportsProperty": "flatten" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "4": { - "14": { - "type": "primitive", - "range": [ - [ - 4, - 14 - ], - [ - 4, - 17 - ] - ] - } - }, - "5": { - "17": { - "type": "primitive", - "range": [ - [ - 5, - 17 - ], - [ - 5, - 20 - ] - ] - } - }, - "8": { - "0": { - "type": "class", - "name": "PaneAxis", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 25, - 21 - ], - [ - 30, - 19 - ], - [ - 34, - 16 - ], - [ - 40, - 12 - ], - [ - 43, - 12 - ], - [ - 46, - 15 - ], - [ - 51, - 16 - ], - [ - 56, - 21 - ], - [ - 60, - 20 - ], - [ - 64, - 21 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 65, - 44 - ] - ] - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 25, - 21 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 19 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 16 - ], - [ - 40, - 1 - ] - ], - "doc": "~Private~" - } - }, - "40": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 40, - 12 - ], - [ - 43, - 1 - ] - ], - "doc": "~Private~" - } - }, - "43": { - "12": { - "name": "addChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child", - "index" - ], - "range": [ - [ - 43, - 12 - ], - [ - 46, - 1 - ] - ], - "doc": "~Private~" - } - }, - "46": { - "15": { - "name": "removeChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 46, - 15 - ], - [ - 51, - 1 - ] - ], - "doc": "~Private~" - } - }, - "51": { - "16": { - "name": "replaceChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "oldChild", - "newChild" - ], - "range": [ - [ - 51, - 16 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "21": { - "name": "insertChildBefore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "currentChild", - "newChild" - ], - "range": [ - [ - 56, - 21 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "20": { - "name": "insertChildAfter", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "currentChild", - "newChild" - ], - "range": [ - [ - 60, - 20 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "21": { - "name": "reparentLastChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 21 - ], - [ - 65, - 44 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/pane-column-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "2": { - "15": { - "name": "PaneAxisView", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 40 - ] - ], - "bindingType": "variable", - "path": "./pane-axis-view" - } - }, - "5": { - "0": { - "type": "class", - "name": "PaneColumnView", - "bindingType": "exports", - "classProperties": [ - [ - 7, - 12 - ] - ], - "prototypeProperties": [ - [ - 10, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 11, - 16 - ] - ] - } - }, - "7": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 7, - 12 - ], - [ - 10, - 1 - ] - ], - "doc": "~Private~" - } - }, - "10": { - "13": { - "name": "className", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 13 - ], - [ - 11, - 16 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "src/pane-container-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "1": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "3": { - "11": { - "name": "PaneView", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-view" - } - }, - "4": { - "16": { - "name": "PaneContainer", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 41 - ] - ], - "bindingType": "variable", - "path": "./pane-container" - } - }, - "8": { - "0": { - "type": "class", - "name": "PaneContainerView", - "bindingType": "exports", - "classProperties": [ - [ - 13, - 12 - ] - ], - "prototypeProperties": [ - [ - 16, - 14 - ], - [ - 25, - 16 - ], - [ - 30, - 11 - ], - [ - 33, - 17 - ], - [ - 47, - 27 - ], - [ - 50, - 15 - ], - [ - 55, - 16 - ], - [ - 64, - 16 - ], - [ - 67, - 15 - ], - [ - 70, - 15 - ], - [ - 73, - 16 - ], - [ - 79, - 18 - ], - [ - 82, - 17 - ], - [ - 86, - 21 - ], - [ - 89, - 21 - ], - [ - 92, - 17 - ], - [ - 95, - 14 - ], - [ - 98, - 21 - ], - [ - 101, - 25 - ], - [ - 104, - 22 - ], - [ - 107, - 22 - ], - [ - 110, - 23 - ], - [ - 113, - 24 - ], - [ - 116, - 26 - ], - [ - 143, - 26 - ], - [ - 152, - 12 - ] - ], - "doc": "Private: Manages the list of panes within a {WorkspaceView} ", - "range": [ - [ - 8, - 0 - ], - [ - 154, - 19 - ] - ] - } - }, - "13": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 12 - ], - [ - 16, - 1 - ] - ], - "doc": "~Private~" - } - }, - "16": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 16, - 14 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "16": { - "name": "viewForModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "model" - ], - "range": [ - [ - 25, - 16 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "getRoot", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 11 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "17": { - "name": "onRootChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "root" - ], - "range": [ - [ - 33, - 17 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "27": { - "name": "onActivePaneItemChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "activeItem" - ], - "range": [ - [ - 47, - 27 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "15": { - "name": "removeChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 50, - 15 - ], - [ - 55, - 1 - ] - ], - "doc": "~Private~" - } - }, - "55": { - "16": { - "name": "confirmClose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 16 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "16": { - "name": "getPaneViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 16 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "15": { - "name": "indexOfPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "paneView" - ], - "range": [ - [ - 67, - 15 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "15": { - "name": "paneAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 70, - 15 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "16": { - "name": "eachPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 73, - 16 - ], - [ - 79, - 1 - ] - ], - "doc": "~Private~" - } - }, - "79": { - "18": { - "name": "getFocusedPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 18 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 17 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "21": { - "name": "getActivePaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 21 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "17": { - "name": "getActiveView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 92, - 17 - ], - [ - 95, - 1 - ] - ], - "doc": "~Private~" - } - }, - "95": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 95, - 14 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "21": { - "name": "focusNextPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 21 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "focusPreviousPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 25 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "22": { - "name": "focusPaneViewAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 22 - ], - [ - 107, - 1 - ] - ], - "doc": "~Private~" - } - }, - "107": { - "22": { - "name": "focusPaneViewBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 22 - ], - [ - 110, - 1 - ] - ], - "doc": "~Private~" - } - }, - "110": { - "23": { - "name": "focusPaneViewOnLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 23 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "24": { - "name": "focusPaneViewOnRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 113, - 24 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "26": { - "name": "nearestPaneInDirection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "direction" - ], - "range": [ - [ - 116, - 26 - ], - [ - 143, - 1 - ] - ], - "doc": "~Private~" - } - }, - "143": { - "26": { - "name": "boundingBoxForPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "paneView" - ], - "range": [ - [ - 143, - 26 - ], - [ - 152, - 1 - ] - ], - "doc": "~Private~" - } - }, - "152": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 152, - 12 - ], - [ - 154, - 19 - ] - ], - "doc": "Private: Deprecated " - } - } - }, - "exports": 8 - }, - "src/pane-container.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "find", - "exportsProperty": "find" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "3": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "6": { - "0": { - "type": "class", - "name": "PaneContainer", - "bindingType": "exports", - "classProperties": [ - [ - 10, - 12 - ] - ], - "prototypeProperties": [ - [ - 16, - 16 - ], - [ - 23, - 15 - ], - [ - 28, - 21 - ], - [ - 34, - 19 - ], - [ - 38, - 16 - ], - [ - 42, - 12 - ], - [ - 45, - 17 - ], - [ - 48, - 14 - ], - [ - 51, - 11 - ], - [ - 54, - 20 - ], - [ - 64, - 24 - ], - [ - 75, - 17 - ], - [ - 89, - 21 - ], - [ - 92, - 17 - ], - [ - 96, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 6, - 0 - ], - [ - 97, - 42 - ] - ] - } - }, - "10": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 10, - 12 - ], - [ - 10, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "16": { - "16": { - "name": "previousRoot", - "type": "primitive", - "range": [ - [ - 16, - 16 - ], - [ - 16, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "23": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 23, - 15 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 28, - 21 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 34, - 19 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "16": { - "name": "replaceChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "oldChild", - "newChild" - ], - "range": [ - [ - 38, - 16 - ], - [ - 42, - 1 - ] - ], - "doc": "~Private~" - } - }, - "42": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 12 - ], - [ - 45, - 1 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 17 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 48, - 14 - ], - [ - 51, - 1 - ] - ], - "doc": "~Private~" - } - }, - "51": { - "11": { - "name": "saveAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 51, - 11 - ], - [ - 54, - 1 - ] - ], - "doc": "~Private~" - } - }, - "54": { - "20": { - "name": "activateNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 54, - 20 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "24": { - "name": "activatePreviousPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 24 - ], - [ - 75, - 1 - ] - ], - "doc": "~Private~" - } - }, - "75": { - "17": { - "name": "onRootChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "root" - ], - "range": [ - [ - 75, - 17 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "destroyEmptyPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "17": { - "name": "itemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 92, - 17 - ], - [ - 96, - 1 - ] - ], - "doc": "~Private~" - } - }, - "96": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 13 - ], - [ - 97, - 42 - ] - ], - "doc": "Private: Called by Model superclass when destroyed " - } - } - }, - "exports": 6 - }, - "src/pane-row-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "2": { - "15": { - "name": "PaneAxisView", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 40 - ] - ], - "bindingType": "variable", - "path": "./pane-axis-view" - } - }, - "5": { - "0": { - "type": "class", - "name": "PaneRowView", - "bindingType": "exports", - "classProperties": [ - [ - 6, - 12 - ] - ], - "prototypeProperties": [ - [ - 9, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 10, - 13 - ] - ] - } - }, - "6": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 12 - ], - [ - 9, - 1 - ] - ] - } - }, - "9": { - "13": { - "name": "className", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 13 - ], - [ - 10, - 13 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "src/pane-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "3": { - "20": { - "name": "PropertyAccessors", - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 47 - ] - ], - "bindingType": "variable", - "module": "property-accessors" - } - }, - "5": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "14": { - "0": { - "type": "class", - "name": "PaneView", - "bindingType": "exports", - "classProperties": [ - [ - 18, - 12 - ], - [ - 20, - 12 - ] - ], - "prototypeProperties": [ - [ - 32, - 22 - ], - [ - 34, - 14 - ], - [ - 45, - 16 - ], - [ - 84, - 14 - ], - [ - 89, - 12 - ], - [ - 94, - 18 - ], - [ - 99, - 19 - ], - [ - 104, - 16 - ], - [ - 109, - 20 - ], - [ - 113, - 15 - ], - [ - 121, - 15 - ], - [ - 124, - 25 - ], - [ - 133, - 15 - ], - [ - 139, - 21 - ], - [ - 142, - 23 - ], - [ - 158, - 15 - ], - [ - 161, - 17 - ], - [ - 175, - 15 - ], - [ - 178, - 25 - ], - [ - 182, - 26 - ], - [ - 185, - 15 - ], - [ - 199, - 13 - ], - [ - 201, - 14 - ], - [ - 203, - 11 - ], - [ - 205, - 13 - ], - [ - 210, - 16 - ], - [ - 213, - 16 - ], - [ - 216, - 10 - ] - ], - "doc": " Public: A container which can contains multiple items to be switched between.\n\nItems can be almost anything however most commonly they're {EditorView}s.\n\nMost packages won't need to use this class, unless you're interested in\nbuilding a package that deals with switching between panes or items. ", - "range": [ - [ - 14, - 0 - ], - [ - 219, - 9 - ] - ] - } - }, - "18": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 18, - 12 - ], - [ - 18, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "20": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "wrappedView" - ], - "range": [ - [ - 20, - 12 - ], - [ - 24, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "22": { - "name": "previousActiveItem", - "type": "primitive", - "range": [ - [ - 32, - 22 - ], - [ - 32, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "34": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 34, - 14 - ], - [ - 45, - 1 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 16 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "14": { - "name": "removeItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 84, - 14 - ], - [ - 89, - 1 - ] - ], - "doc": "Deprecated: Use ::destroyItem " - } - }, - "89": { - "12": { - "name": "showItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 89, - 12 - ], - [ - 94, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItem " - } - }, - "94": { - "18": { - "name": "showItemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 94, - 18 - ], - [ - 99, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItemForUri " - } - }, - "99": { - "19": { - "name": "showItemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 99, - 19 - ], - [ - 104, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItemAtIndex " - } - }, - "104": { - "16": { - "name": "showNextItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 16 - ], - [ - 109, - 1 - ] - ], - "doc": "Deprecated: Use ::activateNextItem " - } - }, - "109": { - "20": { - "name": "showPreviousItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 20 - ], - [ - 113, - 1 - ] - ], - "doc": "Deprecated: Use ::activatePreviousItem " - } - }, - "113": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 113, - 15 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "15": { - "name": "onActivated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 121, - 15 - ], - [ - 124, - 1 - ] - ], - "doc": "~Private~" - } - }, - "124": { - "25": { - "name": "onActiveStatusChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "active" - ], - "range": [ - [ - 124, - 25 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "15": { - "name": "getNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 15 - ], - [ - 139, - 1 - ] - ], - "doc": "Public: Returns the next pane, ordered by creation. " - } - }, - "139": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 139, - 21 - ], - [ - 142, - 1 - ] - ], - "doc": "~Private~" - } - }, - "142": { - "23": { - "name": "onActiveItemChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 142, - 23 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "15": { - "name": "onItemAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index" - ], - "range": [ - [ - 158, - 15 - ], - [ - 161, - 1 - ] - ], - "doc": "~Private~" - } - }, - "161": { - "17": { - "name": "onItemRemoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index", - "destroyed" - ], - "range": [ - [ - 161, - 17 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "15": { - "name": "onItemMoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "newIndex" - ], - "range": [ - [ - 175, - 15 - ], - [ - 178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "178": { - "25": { - "name": "onBeforeItemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 178, - 25 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "26": { - "name": "activeItemTitleChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 182, - 26 - ], - [ - 185, - 1 - ] - ], - "doc": "~Private~" - } - }, - "185": { - "15": { - "name": "viewForItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 185, - 15 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "199": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 199, - 13 - ], - [ - 199, - 57 - ] - ], - "doc": "~Private~" - } - }, - "201": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 201, - 14 - ], - [ - 201, - 59 - ] - ], - "doc": "~Private~" - } - }, - "203": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 203, - 11 - ], - [ - 203, - 53 - ] - ], - "doc": "~Private~" - } - }, - "205": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 205, - 13 - ], - [ - 205, - 57 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "16": { - "name": "getContainer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": " Public: Get the container view housing this pane.\n\nReturns a {View}. " - } - }, - "213": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 16 - ], - [ - 216, - 1 - ] - ], - "doc": "~Private~" - } - }, - "216": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "keepData" - ], - "range": [ - [ - 216, - 10 - ], - [ - 219, - 9 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 14 - }, - "src/pane.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "find", - "exportsProperty": "find" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 13 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "compact", - "exportsProperty": "compact" - }, - "16": { - "type": "import", - "range": [ - [ - 0, - 16 - ], - [ - 0, - 21 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "extend", - "exportsProperty": "extend" - }, - "24": { - "type": "import", - "range": [ - [ - 0, - 24 - ], - [ - 0, - 27 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "last", - "exportsProperty": "last" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - }, - "8": { - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 15 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Sequence", - "exportsProperty": "Sequence" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "3": { - "11": { - "name": "PaneAxis", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-axis" - } - }, - "4": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "5": { - "11": { - "type": "primitive", - "range": [ - [ - 5, - 11 - ], - [ - 5, - 14 - ] - ] - } - }, - "11": { - "0": { - "type": "class", - "name": "Pane", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 43, - 19 - ], - [ - 50, - 21 - ], - [ - 57, - 16 - ], - [ - 59, - 12 - ], - [ - 62, - 9 - ], - [ - 67, - 8 - ], - [ - 73, - 12 - ], - [ - 77, - 12 - ], - [ - 82, - 12 - ], - [ - 88, - 17 - ], - [ - 93, - 19 - ], - [ - 97, - 15 - ], - [ - 101, - 20 - ], - [ - 109, - 24 - ], - [ - 117, - 22 - ], - [ - 121, - 23 - ], - [ - 125, - 16 - ], - [ - 137, - 11 - ], - [ - 154, - 12 - ], - [ - 159, - 14 - ], - [ - 175, - 12 - ], - [ - 182, - 18 - ], - [ - 187, - 21 - ], - [ - 193, - 15 - ], - [ - 204, - 16 - ], - [ - 208, - 24 - ], - [ - 211, - 11 - ], - [ - 218, - 13 - ], - [ - 224, - 20 - ], - [ - 239, - 18 - ], - [ - 243, - 20 - ], - [ - 251, - 12 - ], - [ - 263, - 14 - ], - [ - 273, - 13 - ], - [ - 278, - 14 - ], - [ - 283, - 22 - ], - [ - 290, - 18 - ], - [ - 300, - 13 - ], - [ - 309, - 14 - ], - [ - 318, - 11 - ], - [ - 327, - 13 - ], - [ - 330, - 9 - ], - [ - 344, - 23 - ], - [ - 356, - 32 - ] - ], - "doc": " Public: A container for multiple items, one of which is *active* at a given\ntime. With the default packages, a tab is displayed for each item and the\nactive item's view is displayed. ", - "range": [ - [ - 11, - 0 - ], - [ - 364, - 19 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 29, - 15 - ], - [ - 43, - 1 - ] - ], - "doc": "~Private~" - } - }, - "43": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 19 - ], - [ - 50, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during serialization. " - } - }, - "50": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 50, - 21 - ], - [ - 57, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during deserialization. " - } - }, - "57": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 16 - ], - [ - 57, - 51 - ] - ], - "doc": "Private: Called by the view layer to construct a view for this model. " - } - }, - "59": { - "12": { - "name": "isActive", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 12 - ], - [ - 59, - 21 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 62, - 9 - ], - [ - 67, - 1 - ] - ], - "doc": "Private: Called by the view layer to indicate that the pane has gained focus. " - } - }, - "67": { - "8": { - "name": "blur", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 8 - ], - [ - 73, - 1 - ] - ], - "doc": "Private: Called by the view layer to indicate that the pane has lost focus. " - } - }, - "73": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 12 - ], - [ - 77, - 1 - ] - ], - "doc": " Public: Makes this pane the *active* pane, causing it to gain focus\nimmediately. " - } - }, - "77": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 77, - 12 - ], - [ - 77, - 20 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "12": { - "name": "getItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 12 - ], - [ - 88, - 1 - ] - ], - "doc": " Public: Get the items in this pane.\n\nReturns an {Array} of items. " - } - }, - "88": { - "17": { - "name": "getActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 17 - ], - [ - 93, - 1 - ] - ], - "doc": " Public: Get the active pane item in this pane.\n\nReturns a pane item. " - } - }, - "93": { - "19": { - "name": "getActiveEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 93, - 19 - ], - [ - 97, - 1 - ] - ], - "doc": " Public: Returns an {Editor} if the pane item is an {Editor}, or null\notherwise. " - } - }, - "97": { - "15": { - "name": "itemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 97, - 15 - ], - [ - 101, - 1 - ] - ], - "doc": "Public: Returns the item at the specified index. " - } - }, - "101": { - "20": { - "name": "activateNextItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 20 - ], - [ - 109, - 1 - ] - ], - "doc": "Public: Makes the next item active. " - } - }, - "109": { - "24": { - "name": "activatePreviousItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 24 - ], - [ - 117, - 1 - ] - ], - "doc": "Public: Makes the previous item active. " - } - }, - "117": { - "22": { - "name": "getActiveItemIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 22 - ], - [ - 121, - 1 - ] - ], - "doc": "Private: Returns the index of the current active item. " - } - }, - "121": { - "23": { - "name": "activateItemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 121, - 23 - ], - [ - 125, - 1 - ] - ], - "doc": "Private: Makes the item at the given index active. " - } - }, - "125": { - "16": { - "name": "activateItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 125, - 16 - ], - [ - 137, - 1 - ] - ], - "doc": "Private: Makes the given item active, adding the item if necessary. " - } - }, - "137": { - "11": { - "name": "addItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index" - ], - "range": [ - [ - 137, - 11 - ], - [ - 154, - 1 - ] - ], - "doc": " Public: Adds the item to the pane.\n\nitem - The item to add. It can be a model with an associated view or a view.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns the added item " - } - }, - "154": { - "12": { - "name": "addItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items", - "index" - ], - "range": [ - [ - 154, - 12 - ], - [ - 159, - 1 - ] - ], - "doc": " Public: Adds the given items to the pane.\n\nitems - An {Array} of items to add. Items can be models with associated\n views or views. Any items that are already present in items will\n not be added.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns an {Array} of the added items " - } - }, - "159": { - "14": { - "name": "removeItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "destroying" - ], - "range": [ - [ - 159, - 14 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "12": { - "name": "moveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "newIndex" - ], - "range": [ - [ - 175, - 12 - ], - [ - 182, - 1 - ] - ], - "doc": "Public: Moves the given item to the specified index. " - } - }, - "182": { - "18": { - "name": "moveItemToPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "pane", - "index" - ], - "range": [ - [ - 182, - 18 - ], - [ - 187, - 1 - ] - ], - "doc": "Public: Moves the given item to the given index at another pane. " - } - }, - "187": { - "21": { - "name": "destroyActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 187, - 21 - ], - [ - 193, - 1 - ] - ], - "doc": "Public: Destroys the currently active item and make the next item active. " - } - }, - "193": { - "15": { - "name": "destroyItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 193, - 15 - ], - [ - 204, - 1 - ] - ], - "doc": " Public: Destroys the given item. If it is the active item, activate the next\none. If this is the last item, also destroys the pane. " - } - }, - "204": { - "16": { - "name": "destroyItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 204, - 16 - ], - [ - 208, - 1 - ] - ], - "doc": "Public: Destroys all items and destroys the pane. " - } - }, - "208": { - "24": { - "name": "destroyInactiveItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 208, - 24 - ], - [ - 211, - 1 - ] - ], - "doc": "Public: Destroys all items but the active one. " - } - }, - "211": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 211, - 11 - ], - [ - 218, - 1 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 218, - 13 - ], - [ - 224, - 1 - ] - ], - "doc": "Private: Called by model superclass. " - } - }, - "224": { - "20": { - "name": "promptToSaveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 224, - 20 - ], - [ - 239, - 1 - ] - ], - "doc": " Public: Prompts the user to save the given item if it can be saved and is\ncurrently unsaved. " - } - }, - "239": { - "18": { - "name": "saveActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 239, - 18 - ], - [ - 243, - 1 - ] - ], - "doc": "Public: Saves the active item. " - } - }, - "243": { - "20": { - "name": "saveActiveItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 243, - 20 - ], - [ - 251, - 1 - ] - ], - "doc": "Public: Saves the active item at a prompted-for location. " - } - }, - "251": { - "12": { - "name": "saveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "nextAction" - ], - "range": [ - [ - 251, - 12 - ], - [ - 263, - 1 - ] - ], - "doc": " Public: Saves the specified item.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " - } - }, - "263": { - "14": { - "name": "saveItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "nextAction" - ], - "range": [ - [ - 263, - 14 - ], - [ - 273, - 1 - ] - ], - "doc": " Public: Saves the given item at a prompted-for location.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " - } - }, - "273": { - "13": { - "name": "saveItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 273, - 13 - ], - [ - 278, - 1 - ] - ], - "doc": "Public: Saves all items. " - } - }, - "278": { - "14": { - "name": "itemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 278, - 14 - ], - [ - 283, - 1 - ] - ], - "doc": " Public: Returns the first item that matches the given URI or undefined if\nnone exists. " - } - }, - "283": { - "22": { - "name": "activateItemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 283, - 22 - ], - [ - 290, - 1 - ] - ], - "doc": " Public: Activates the first item that matches the given URI. Returns a\nboolean indicating whether a matching item was found. " - } - }, - "290": { - "18": { - "name": "copyActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 290, - 18 - ], - [ - 300, - 1 - ] - ], - "doc": "~Private~" - } - }, - "300": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 300, - 13 - ], - [ - 309, - 1 - ] - ], - "doc": " Public: Creates a new pane to the left of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "309": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 309, - 14 - ], - [ - 318, - 1 - ] - ], - "doc": " Public: Creates a new pane to the right of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "318": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 318, - 11 - ], - [ - 327, - 1 - ] - ], - "doc": " Public: Creates a new pane above the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "327": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 327, - 13 - ], - [ - 330, - 1 - ] - ], - "doc": " Public: Creates a new pane below the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "330": { - "9": { - "name": "split", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "orientation", - "side", - "params" - ], - "range": [ - [ - 330, - 9 - ], - [ - 344, - 1 - ] - ], - "doc": "~Private~" - } - }, - "344": { - "23": { - "name": "findLeftmostSibling", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 344, - 23 - ], - [ - 356, - 1 - ] - ], - "doc": " Private: If the parent is a horizontal axis, returns its first child if it is a pane;\notherwise returns this pane. " - } - }, - "356": { - "32": { - "name": "findOrCreateRightmostSibling", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 356, - 32 - ], - [ - 364, - 19 - ] - ], - "doc": " Private: If the parent is a horizontal axis, returns its last child if it is a pane;\notherwise returns a new pane created by splitting this pane rightward. " - } - } - }, - "exports": 11 - }, - "src/project.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.0.4" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "9": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 9, - 15 - ], - [ - 9, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "10": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer" - } - }, - "11": { - "1": { - "type": "import", - "range": [ - [ - 11, - 1 - ], - [ - 11, - 9 - ] - ], - "bindingType": "variable", - "module": "pathwatcher@^2.0.4", - "name": "Directory", - "exportsProperty": "Directory" - } - }, - "13": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 13, - 9 - ], - [ - 13, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "14": { - "7": { - "name": "Task", - "type": "import", - "range": [ - [ - 14, - 7 - ], - [ - 14, - 22 - ] - ], - "bindingType": "variable", - "path": "./task" - } - }, - "15": { - "6": { - "name": "Git", - "type": "import", - "range": [ - [ - 15, - 6 - ], - [ - 15, - 20 - ] - ], - "bindingType": "variable", - "path": "./git" - } - }, - "21": { - "0": { - "type": "class", - "name": "Project", - "bindingType": "exports", - "classProperties": [ - [ - 26, - 25 - ] - ], - "prototypeProperties": [ - [ - 31, - 15 - ], - [ - 40, - 19 - ], - [ - 44, - 21 - ], - [ - 48, - 13 - ], - [ - 52, - 15 - ], - [ - 57, - 28 - ], - [ - 61, - 11 - ], - [ - 64, - 11 - ], - [ - 68, - 11 - ], - [ - 85, - 20 - ], - [ - 95, - 11 - ], - [ - 109, - 14 - ], - [ - 114, - 12 - ], - [ - 124, - 8 - ], - [ - 130, - 12 - ], - [ - 139, - 14 - ], - [ - 143, - 18 - ], - [ - 146, - 21 - ], - [ - 150, - 21 - ], - [ - 163, - 17 - ], - [ - 168, - 15 - ], - [ - 172, - 19 - ], - [ - 184, - 15 - ], - [ - 194, - 13 - ], - [ - 198, - 20 - ], - [ - 207, - 16 - ], - [ - 211, - 23 - ], - [ - 221, - 8 - ], - [ - 268, - 11 - ], - [ - 300, - 24 - ], - [ - 304, - 14 - ], - [ - 315, - 18 - ], - [ - 320, - 20 - ], - [ - 325, - 14 - ], - [ - 330, - 14 - ] - ], - "doc": " Public: Represents a project that's opened in Atom.\n\nAn instance of this class is always available as the `atom.project` global. ", - "range": [ - [ - 21, - 0 - ], - [ - 332, - 31 - ] - ] - } - }, - "26": { - "25": { - "name": "pathForRepositoryUrl", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "repoUrl" - ], - "range": [ - [ - 26, - 25 - ], - [ - 31, - 1 - ] - ], - "doc": "Public: Find the local path for the given repository URL. " - } - }, - "31": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 31, - 15 - ], - [ - 40, - 1 - ] - ], - "doc": "~Private~" - } - }, - "40": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 40, - 19 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 44, - 21 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 13 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "15": { - "name": "destroyRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 15 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "28": { - "name": "destroyUnretainedBuffers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 28 - ], - [ - 61, - 1 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "11": { - "name": "getRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 11 - ], - [ - 61, - 18 - ] - ], - "doc": "Public: Returns the {Git} repository if available. " - } - }, - "64": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 11 - ], - [ - 68, - 1 - ] - ], - "doc": "Public: Returns the project's fullpath. " - } - }, - "68": { - "11": { - "name": "setPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "projectPath" - ], - "range": [ - [ - 68, - 11 - ], - [ - 85, - 1 - ] - ], - "doc": "Public: Sets the project's fullpath. " - } - }, - "85": { - "20": { - "name": "getRootDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 85, - 20 - ], - [ - 95, - 1 - ] - ], - "doc": "Public: Returns the root {Directory} object for this project. " - } - }, - "95": { - "11": { - "name": "resolve", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 95, - 11 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Given a uri, this resolves it relative to the project directory. If\nthe path is already absolute or if it is prefixed with a scheme, it is\nreturned unchanged.\n\nuri - The {String} name of the path to convert.\n\nReturns a {String} or undefined if the uri is not missing or empty. " - } - }, - "109": { - "14": { - "name": "relativize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fullPath" - ], - "range": [ - [ - 109, - 14 - ], - [ - 114, - 1 - ] - ], - "doc": "Public: Make the given path relative to the project directory. " - } - }, - "114": { - "12": { - "name": "contains", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToCheck" - ], - "range": [ - [ - 114, - 12 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Returns whether the given path is inside this project. " - } - }, - "124": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "options" - ], - "range": [ - [ - 124, - 8 - ], - [ - 130, - 1 - ] - ], - "doc": " Private: Given a path to a file, this constructs and associates a new\n{Editor}, showing the file.\n\nfilePath - The {String} path of the file to associate with.\noptions - Options that you can pass to the {Editor} constructor.\n\nReturns a promise that resolves to an {Editor}. " - } - }, - "130": { - "12": { - "name": "openSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "options" - ], - "range": [ - [ - 130, - 12 - ], - [ - 139, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "139": { - "14": { - "name": "getBuffers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 139, - 14 - ], - [ - 143, - 1 - ] - ], - "doc": " Private: Retrieves all the {TextBuffer}s in the project; that is, the\nbuffers for all open files.\n\nReturns an {Array} of {TextBuffer}s. " - } - }, - "143": { - "18": { - "name": "isPathModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 143, - 18 - ], - [ - 146, - 1 - ] - ], - "doc": "Private: Is the buffer for the given path modified? " - } - }, - "146": { - "21": { - "name": "findBufferForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 146, - 21 - ], - [ - 150, - 1 - ] - ], - "doc": "~Private~" - } - }, - "150": { - "21": { - "name": "bufferForPathSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 150, - 21 - ], - [ - 163, - 1 - ] - ], - "doc": "Private: Only to be used in specs " - } - }, - "163": { - "17": { - "name": "bufferForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 163, - 17 - ], - [ - 168, - 1 - ] - ], - "doc": " Private: Given a file path, this retrieves or creates a new {TextBuffer}.\n\nIf the `filePath` already has a `buffer`, that value is used instead. Otherwise,\n`text` is used as the contents of the new buffer.\n\nfilePath - A {String} representing a path. If `null`, an \"Untitled\" buffer is created.\n\nReturns a promise that resolves to the {TextBuffer}. " - } - }, - "168": { - "15": { - "name": "bufferForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 168, - 15 - ], - [ - 172, - 1 - ] - ], - "doc": "~Private~" - } - }, - "172": { - "19": { - "name": "buildBufferSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "absoluteFilePath" - ], - "range": [ - [ - 172, - 19 - ], - [ - 184, - 1 - ] - ], - "doc": "Private: Still needed when deserializing a tokenized buffer " - } - }, - "184": { - "15": { - "name": "buildBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "absoluteFilePath" - ], - "range": [ - [ - 184, - 15 - ], - [ - 194, - 1 - ] - ], - "doc": " Private: Given a file path, this sets its {TextBuffer}.\n\nabsoluteFilePath - A {String} representing a path.\ntext - The {String} text to use as a buffer.\n\nReturns a promise that resolves to the {TextBuffer}. " - } - }, - "194": { - "13": { - "name": "addBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "options" - ], - "range": [ - [ - 194, - 13 - ], - [ - 198, - 1 - ] - ], - "doc": "~Private~" - } - }, - "198": { - "20": { - "name": "addBufferAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "index", - "options" - ], - "range": [ - [ - 198, - 20 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "16": { - "name": "removeBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer" - ], - "range": [ - [ - 207, - 16 - ], - [ - 211, - 1 - ] - ], - "doc": " Private: Removes a {TextBuffer} association from the project.\n\nReturns the removed {TextBuffer}. " - } - }, - "211": { - "23": { - "name": "removeBufferAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index", - "options" - ], - "range": [ - [ - 211, - 23 - ], - [ - 221, - 1 - ] - ], - "doc": "~Private~" - } - }, - "221": { - "8": { - "name": "scan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "options", - "iterator" - ], - "range": [ - [ - 221, - 8 - ], - [ - 268, - 1 - ] - ], - "doc": " Public: Performs a search across all the files in the project.\n\nregex - A {RegExp} to search with.\noptions - An optional options {Object} (default: {}):\n :paths - An {Array} of glob patterns to search within\niterator - A {Function} callback on each file found " - } - }, - "268": { - "11": { - "name": "replace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "replacementText", - "filePaths", - "iterator" - ], - "range": [ - [ - 268, - 11 - ], - [ - 300, - 1 - ] - ], - "doc": " Public: Performs a replace across all the specified files in the project.\n\nregex - A {RegExp} to search with.\nreplacementText - Text to replace all matches of regex with\nfilePaths - List of file path strings to run the replace on.\niterator - A {Function} callback on each file with replacements:\n `({filePath, replacements}) ->`. " - } - }, - "300": { - "24": { - "name": "buildEditorForBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "editorOptions" - ], - "range": [ - [ - 300, - 24 - ], - [ - 304, - 1 - ] - ], - "doc": "~Private~" - } - }, - "304": { - "14": { - "name": "eachBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 304, - 14 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "18": { - "name": "registerOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 315, - 18 - ], - [ - 320, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "320": { - "20": { - "name": "unregisterOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 320, - 20 - ], - [ - 325, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "325": { - "14": { - "name": "eachEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 325, - 14 - ], - [ - 330, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "330": { - "14": { - "name": "getEditors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 330, - 14 - ], - [ - 332, - 31 - ] - ], - "doc": "Deprecated: delegate " - } - } - }, - "exports": 21 - }, - "src/react-editor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "defaults", - "exportsProperty": "defaults" - } - }, - "3": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 3, - 13 - ], - [ - 3, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer" - } - }, - "4": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "5": { - "18": { - "name": "EditorComponent", - "type": "import", - "range": [ - [ - 5, - 18 - ], - [ - 5, - 45 - ] - ], - "bindingType": "variable", - "path": "./editor-component" - } - }, - "8": { - "0": { - "type": "class", - "name": "ReactEditorView", - "bindingType": "exports", - "classProperties": [ - [ - 9, - 12 - ] - ], - "prototypeProperties": [ - [ - 14, - 17 - ], - [ - 16, - 15 - ], - [ - 58, - 13 - ], - [ - 60, - 12 - ], - [ - 69, - 15 - ], - [ - 77, - 13 - ], - [ - 83, - 14 - ], - [ - 89, - 18 - ], - [ - 92, - 26 - ], - [ - 95, - 26 - ], - [ - 98, - 26 - ], - [ - 101, - 25 - ], - [ - 105, - 34 - ], - [ - 108, - 34 - ], - [ - 111, - 21 - ], - [ - 116, - 16 - ], - [ - 122, - 13 - ], - [ - 127, - 14 - ], - [ - 132, - 11 - ], - [ - 137, - 13 - ], - [ - 141, - 11 - ], - [ - 144, - 9 - ], - [ - 150, - 8 - ], - [ - 154, - 8 - ], - [ - 158, - 20 - ], - [ - 165, - 12 - ], - [ - 168, - 10 - ], - [ - 171, - 12 - ], - [ - 174, - 28 - ], - [ - 177, - 27 - ], - [ - 180, - 17 - ], - [ - 183, - 17 - ], - [ - 186, - 15 - ], - [ - 189, - 15 - ], - [ - 192, - 19 - ], - [ - 195, - 17 - ], - [ - 198, - 22 - ], - [ - 201, - 15 - ], - [ - 204, - 21 - ], - [ - 207, - 18 - ], - [ - 210, - 18 - ], - [ - 213, - 11 - ], - [ - 216, - 11 - ], - [ - 219, - 14 - ], - [ - 222, - 18 - ], - [ - 225, - 19 - ], - [ - 228, - 24 - ], - [ - 230, - 17 - ], - [ - 232, - 16 - ], - [ - 234, - 10 - ], - [ - 236, - 22 - ], - [ - 242, - 27 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 243, - 49 - ] - ] - } - }, - "9": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 9, - 12 - ], - [ - 14, - 1 - ] - ] - } - }, - "14": { - "17": { - "name": "focusOnAttach", - "type": "primitive", - "range": [ - [ - 14, - 17 - ], - [ - 14, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorOrParams", - "props" - ], - "range": [ - [ - 16, - 15 - ], - [ - 58, - 1 - ] - ], - "doc": "~Private~" - } - }, - "58": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 58, - 13 - ], - [ - 58, - 22 - ] - ], - "doc": "~Private~" - } - }, - "69": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 69, - 15 - ], - [ - 77, - 1 - ] - ], - "doc": "~Private~" - } - }, - "77": { - "13": { - "name": "scrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 77, - 13 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "14": { - "name": "scrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 83, - 14 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "18": { - "name": "scrollToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 18 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 92, - 26 - ], - [ - 95, - 1 - ] - ], - "doc": "~Private~" - } - }, - "95": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 95, - 26 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 26 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "scrollToPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 101, - 25 - ], - [ - 105, - 1 - ] - ], - "doc": "~Private~" - } - }, - "105": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 105, - 34 - ], - [ - 108, - 1 - ] - ], - "doc": "~Private~" - } - }, - "108": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 108, - 34 - ], - [ - 111, - 1 - ] - ], - "doc": "~Private~" - } - }, - "111": { - "21": { - "name": "appendToLinesView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 111, - 21 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 16 - ], - [ - 122, - 1 - ] - ], - "doc": "~Private~" - } - }, - "122": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 122, - 13 - ], - [ - 127, - 1 - ] - ], - "doc": "Public: Split the editor view left. " - } - }, - "127": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 127, - 14 - ], - [ - 132, - 1 - ] - ], - "doc": "Public: Split the editor view right. " - } - }, - "132": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 132, - 11 - ], - [ - 137, - 1 - ] - ], - "doc": "Public: Split the editor view up. " - } - }, - "137": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 13 - ], - [ - 141, - 1 - ] - ], - "doc": "Public: Split the editor view down. " - } - }, - "141": { - "11": { - "name": "getPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 11 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 144, - 9 - ], - [ - 150, - 1 - ] - ], - "doc": "~Private~" - } - }, - "150": { - "8": { - "name": "hide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 150, - 8 - ], - [ - 154, - 1 - ] - ], - "doc": "~Private~" - } - }, - "154": { - "8": { - "name": "show", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 8 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "20": { - "name": "pollComponentDOM", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 20 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 12 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 10 - ], - [ - 171, - 1 - ] - ], - "doc": "~Private~" - } - }, - "171": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 12 - ], - [ - 174, - 1 - ] - ], - "doc": "~Private~" - } - }, - "174": { - "28": { - "name": "getFirstVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 174, - 28 - ], - [ - 177, - 1 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "27": { - "name": "getLastVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 27 - ], - [ - 180, - 1 - ] - ], - "doc": "~Private~" - } - }, - "180": { - "17": { - "name": "getFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 180, - 17 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "17": { - "name": "setFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 183, - 17 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "15": { - "name": "getFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 186, - 15 - ], - [ - 189, - 1 - ] - ], - "doc": "~Private~" - } - }, - "189": { - "15": { - "name": "setFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 189, - 15 - ], - [ - 192, - 1 - ] - ], - "doc": "~Private~" - } - }, - "192": { - "19": { - "name": "setWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "widthInChars" - ], - "range": [ - [ - 192, - 19 - ], - [ - 195, - 1 - ] - ], - "doc": "~Private~" - } - }, - "195": { - "17": { - "name": "setLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 195, - 17 - ], - [ - 198, - 1 - ] - ], - "doc": "~Private~" - } - }, - "198": { - "22": { - "name": "setShowIndentGuide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showIndentGuide" - ], - "range": [ - [ - 198, - 22 - ], - [ - 201, - 1 - ] - ], - "doc": "~Private~" - } - }, - "201": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 201, - 15 - ], - [ - 204, - 1 - ] - ], - "doc": "~Private~" - } - }, - "204": { - "21": { - "name": "setShowInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showInvisibles" - ], - "range": [ - [ - 204, - 21 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 207, - 18 - ], - [ - 210, - 1 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 18 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 11 - ], - [ - 216, - 1 - ] - ], - "doc": "~Private~" - } - }, - "216": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 216, - 11 - ], - [ - 219, - 1 - ] - ], - "doc": "~Private~" - } - }, - "219": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 219, - 14 - ], - [ - 222, - 1 - ] - ], - "doc": "~Private~" - } - }, - "222": { - "18": { - "name": "isInputEnabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 222, - 18 - ], - [ - 225, - 1 - ] - ], - "doc": "~Private~" - } - }, - "225": { - "19": { - "name": "setInputEnabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "inputEnabled" - ], - "range": [ - [ - 225, - 19 - ], - [ - 228, - 1 - ] - ], - "doc": "~Private~" - } - }, - "228": { - "24": { - "name": "requestDisplayUpdate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 228, - 24 - ], - [ - 228, - 25 - ] - ], - "doc": "~Private~" - } - }, - "230": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 230, - 17 - ], - [ - 230, - 18 - ] - ], - "doc": "~Private~" - } - }, - "232": { - "16": { - "name": "resetDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 232, - 16 - ], - [ - 232, - 17 - ] - ], - "doc": "~Private~" - } - }, - "234": { - "10": { - "name": "redraw", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 10 - ], - [ - 234, - 11 - ] - ], - "doc": "~Private~" - } - }, - "236": { - "22": { - "name": "setPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "placeholderText" - ], - "range": [ - [ - 236, - 22 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "27": { - "name": "lineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 242, - 27 - ], - [ - 243, - 49 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/replace-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "PathReplacer", - "exportsProperty": "PathReplacer" - } - } - }, - "exports": 2 - }, - "src/repository-status-handler.coffee": { - "objects": { - "0": { - "6": { - "name": "Git", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "git-utils" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - } - }, - "exports": 3 - }, - "src/row-map.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 15 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "spliceWithArray", - "exportsProperty": "spliceWithArray" - } - }, - "16": { - "0": { - "type": "class", - "name": "RowMap", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 15 - ], - [ - 21, - 14 - ], - [ - 27, - 30 - ], - [ - 40, - 30 - ], - [ - 50, - 30 - ], - [ - 61, - 17 - ], - [ - 83, - 23 - ], - [ - 93, - 23 - ], - [ - 103, - 35 - ], - [ - 116, - 11 - ] - ], - "doc": " Private: Used by the display buffer to map screen rows to buffer rows and vice-versa.\nThis mapping may not be 1:1 due to folds and soft-wraps. This object maintains\nan array of regions, which contain `bufferRows` and `screenRows` fields.\n\nRectangular Regions:\nIf a region has the same number of buffer rows and screen rows, it is referred\nto as \"rectangular\", and represents one or more non-soft-wrapped, non-folded\nlines.\n\nTrapezoidal Regions:\nIf a region has one buffer row and more than one screen row, it represents a\nsoft-wrapped line. If a region has one screen row and more than one buffer\nrow, it represents folded lines ", - "range": [ - [ - 16, - 0 - ], - [ - 118, - 35 - ] - ] - } - }, - "17": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 15 - ], - [ - 21, - 1 - ] - ] - } - }, - "21": { - "14": { - "name": "getRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 14 - ], - [ - 27, - 1 - ] - ], - "doc": "Public: Returns a copy of all the regions in the map " - } - }, - "27": { - "30": { - "name": "screenRowRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 27, - 30 - ], - [ - 40, - 1 - ] - ], - "doc": " Public: Returns an end-row-exclusive range of screen rows corresponding to\nthe given buffer row. If the buffer row is soft-wrapped, the range may span\nmultiple screen rows. Otherwise it will span a single screen row. " - } - }, - "40": { - "30": { - "name": "bufferRowRangeForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetScreenRow" - ], - "range": [ - [ - 40, - 30 - ], - [ - 50, - 1 - ] - ], - "doc": " Public: Returns an end-row-exclusive range of buffer rows corresponding to\nthe given screen row. If the screen row is the first line of a folded range\nof buffer rows, the range may span multiple buffer rows. Otherwise it will\nspan a single buffer row. " - } - }, - "50": { - "30": { - "name": "bufferRowRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 50, - 30 - ], - [ - 61, - 1 - ] - ], - "doc": " Public: If the given buffer row is part of a folded row range, returns that\nrow range. Otherwise returns a range spanning only the given buffer row. " - } - }, - "61": { - "17": { - "name": "spliceRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "bufferRowCount", - "regions" - ], - "range": [ - [ - 61, - 17 - ], - [ - 83, - 1 - ] - ], - "doc": " Public: Given a starting buffer row, the number of buffer rows to replace,\nand an array of regions of shape {bufferRows: n, screenRows: m}, splices\nthe regions at the appropriate location in the map. This method is used by\ndisplay buffer to keep the map updated when the underlying buffer changes. " - } - }, - "83": { - "23": { - "name": "traverseToBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 83, - 23 - ], - [ - 93, - 1 - ] - ], - "doc": "~Private~" - } - }, - "93": { - "23": { - "name": "traverseToScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetScreenRow" - ], - "range": [ - [ - 93, - 23 - ], - [ - 103, - 1 - ] - ], - "doc": "~Private~" - } - }, - "103": { - "35": { - "name": "mergeAdjacentRectangularRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startIndex", - "endIndex" - ], - "range": [ - [ - 103, - 35 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 11 - ], - [ - 118, - 35 - ] - ], - "doc": "Public: Returns an array of strings describing the map's regions. " - } - } - }, - "exports": 16 - }, - "src/scan-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "PathSearcher", - "exportsProperty": "PathSearcher" - }, - "15": { - "type": "import", - "range": [ - [ - 0, - 15 - ], - [ - 0, - 25 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "PathScanner", - "exportsProperty": "PathScanner" - }, - "28": { - "type": "import", - "range": [ - [ - 0, - 28 - ], - [ - 0, - 33 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "search", - "exportsProperty": "search" - } - } - }, - "exports": 2 - }, - "src/scoped-properties.coffee": { - "objects": { - "0": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1.0.2" - } - }, - "3": { - "0": { - "type": "class", - "name": "ScopedProperties", - "bindingType": "exports", - "classProperties": [ - [ - 4, - 9 - ] - ], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 13, - 12 - ], - [ - 17, - 14 - ] - ], - "doc": "~Private~", - "range": [ - [ - 3, - 0 - ], - [ - 18, - 39 - ] - ] - } - }, - "4": { - "9": { - "name": "load", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "scopedPropertiesPath", - "callback" - ], - "range": [ - [ - 4, - 9 - ], - [ - 11, - 1 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 11, - 43 - ] - ], - "doc": "~Private~" - } - }, - "13": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 12 - ], - [ - 17, - 1 - ] - ], - "doc": "~Private~" - } - }, - "17": { - "14": { - "name": "deactivate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 14 - ], - [ - 18, - 39 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 3 - }, - "src/scroll-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "21": { - "0": { - "type": "class", - "name": "ScrollView", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 22, - 14 - ] - ], - "doc": " Public: Represents a view that scrolls.\n\nSubclasses must call `super` if overriding the `initialize` method or else\nthe following events won't be handled by the ScrollView.\n\n## Events\n * `core:move-up`\n * `core:move-down`\n * `core:page-up`\n * `core:page-down`\n * `core:move-to-top`\n * `core:move-to-bottom`\n\n## Requiring in packages\n\n```coffee\n {ScrollView} = require 'atom'\n``` ", - "range": [ - [ - 21, - 0 - ], - [ - 28, - 51 - ] - ] - } - }, - "22": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 22, - 14 - ], - [ - 28, - 51 - ] - ] - } - } - }, - "exports": 21 - }, - "src/scrollbar-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 6 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "extend", - "exportsProperty": "extend" - }, - "9": { - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "21": { - "name": "ScrollbarComponent", - "type": "function", - "range": [ - [ - 5, - 21 - ], - [ - 69, - 28 - ] - ] - } - }, - "6": { - "15": { - "name": "'ScrollbarComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 34 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 21 - ], - [ - 36, - 1 - ] - ], - "doc": null - } - }, - "36": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 36, - 25 - ], - [ - 45, - 1 - ] - ], - "doc": null - } - }, - "45": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 22 - ], - [ - 57, - 1 - ] - ], - "doc": null - } - }, - "57": { - "12": { - "name": "onScroll", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 12 - ], - [ - 69, - 28 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/scrollbar-corner-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "27": { - "name": "ScrollbarCornerComponent", - "type": "function", - "range": [ - [ - 5, - 27 - ], - [ - 23, - 99 - ] - ] - } - }, - "6": { - "15": { - "name": "'ScrollbarCornerComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 40 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 22, - 1 - ] - ], - "doc": null - } - }, - "22": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 22, - 25 - ], - [ - 23, - 99 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/select-list-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "4": { - "15": { - "name": "EditorView", - "type": "import", - "range": [ - [ - 4, - 15 - ], - [ - 4, - 37 - ] - ], - "bindingType": "variable", - "path": "./editor-view" - } - }, - "5": { - "14": { - "type": "primitive", - "range": [ - [ - 5, - 14 - ], - [ - 5, - 41 - ] - ] - } - }, - "36": { - "0": { - "type": "class", - "name": "SelectListView", - "bindingType": "exports", - "classProperties": [ - [ - 37, - 12 - ] - ], - "prototypeProperties": [ - [ - 46, - 12 - ], - [ - 47, - 19 - ], - [ - 48, - 17 - ], - [ - 49, - 14 - ], - [ - 55, - 14 - ], - [ - 90, - 24 - ], - [ - 102, - 12 - ], - [ - 109, - 12 - ], - [ - 119, - 14 - ], - [ - 136, - 18 - ], - [ - 143, - 16 - ], - [ - 174, - 19 - ], - [ - 179, - 15 - ], - [ - 181, - 26 - ], - [ - 186, - 22 - ], - [ - 191, - 18 - ], - [ - 197, - 20 - ], - [ - 207, - 23 - ], - [ - 213, - 19 - ], - [ - 216, - 20 - ], - [ - 233, - 15 - ], - [ - 244, - 13 - ], - [ - 258, - 16 - ], - [ - 261, - 21 - ], - [ - 266, - 23 - ], - [ - 269, - 16 - ], - [ - 275, - 13 - ], - [ - 283, - 10 - ] - ], - "doc": " Public: Provides a view that renders a list of items with an editor that\nfilters the items. Used by many packages such as the fuzzy-finder,\ncommand-palette, symbols-view and autocomplete.\n\nSubclasses must implement the following methods:\n\n* {::viewForItem}\n* {::confirmed}\n\n## Requiring in packages\n\n```coffee\n{SelectListView} = require 'atom'\n\nclass MySelectListView extends SelectListView\n initialize: ->\n super\n @addClass('overlay from-top')\n @setItems(['Hello', 'World'])\n atom.workspaceView.append(this)\n @focusFilterEditor()\n\n viewForItem: (item) ->\n \"
  • #{item}
  • \"\n\n confirmed: (item) ->\n console.log(\"#{item} was selected\")\n``` ", - "range": [ - [ - 36, - 0 - ], - [ - 291, - 34 - ] - ] - } - }, - "37": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 37, - 12 - ], - [ - 46, - 1 - ] - ] - } - }, - "46": { - "12": { - "name": "maxItems", - "type": "primitive", - "range": [ - [ - 46, - 12 - ], - [ - 46, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "47": { - "19": { - "name": "scheduleTimeout", - "type": "primitive", - "range": [ - [ - 47, - 19 - ], - [ - 47, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "48": { - "17": { - "name": "inputThrottle", - "type": "primitive", - "range": [ - [ - 48, - 17 - ], - [ - 48, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "49": { - "14": { - "name": "cancelling", - "type": "primitive", - "range": [ - [ - 49, - 14 - ], - [ - 49, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "55": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 14 - ], - [ - 90, - 1 - ] - ], - "doc": " Public: Initialize the select list view.\n\nThis method can be overridden by subclasses but `super` should always\nbe called. " - } - }, - "90": { - "24": { - "name": "schedulePopulateList", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 24 - ], - [ - 102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "102": { - "12": { - "name": "setItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 102, - 12 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Set the array of items to display in the list.\n\nThis should be model items not actual views. {::viewForItem} will be\ncalled to render the item when it is being appended to the list view.\n\nitems - The {Array} of model items to display in the list (default: []). " - } - }, - "109": { - "12": { - "name": "setError", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 109, - 12 - ], - [ - 119, - 1 - ] - ], - "doc": " Public: Set the error message to display.\n\nmessage - The {String} error message (default: ''). " - } - }, - "119": { - "14": { - "name": "setLoading", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 119, - 14 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Set the loading message to display.\n\nmessage - The {String} loading message (default: ''). " - } - }, - "136": { - "18": { - "name": "getFilterQuery", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 18 - ], - [ - 143, - 1 - ] - ], - "doc": " Public: Get the filter query to use when fuzzy filtering the visible\nelements.\n\nBy default this method returns the text in the mini editor but it can be\noverridden by subclasses if needed.\n\nReturns a {String} to use when fuzzy filtering the elements to display. " - } - }, - "143": { - "16": { - "name": "populateList", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 143, - 16 - ], - [ - 174, - 1 - ] - ], - "doc": " Public: Populate the list view with the model items previously set by\ncalling {::setItems}.\n\nSubclasses may override this method but should always call `super`. " - } - }, - "174": { - "19": { - "name": "getEmptyMessage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "itemCount", - "filteredItemCount" - ], - "range": [ - [ - 174, - 19 - ], - [ - 174, - 70 - ] - ], - "doc": " Public: Get the message to display when there are no items.\n\nSubclasses may override this method to customize the message.\n\nitemCount - The {Number} of items in the array specified to {::setItems}\nfilteredItemCount - The {Number} of items that pass the fuzzy filter test.\n\nReturns a {String} message (default: 'No matches found'). " - } - }, - "179": { - "15": { - "name": "setMaxItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 179, - 15 - ], - [ - 179, - 28 - ] - ], - "doc": " Public: Set the maximum numbers of items to display in the list.\n\nmaxItems - The maximum {Number} of items to display. " - } - }, - "181": { - "26": { - "name": "selectPreviousItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 181, - 26 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "22": { - "name": "selectNextItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 186, - 22 - ], - [ - 191, - 1 - ] - ], - "doc": "~Private~" - } - }, - "191": { - "18": { - "name": "selectItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 191, - 18 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "20": { - "name": "scrollToItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 197, - 20 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "23": { - "name": "getSelectedItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 207, - 23 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "19": { - "name": "getSelectedItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 19 - ], - [ - 216, - 1 - ] - ], - "doc": " Public: Get the model item that is currently selected in the list view.\n\nReturns a model item. " - } - }, - "216": { - "20": { - "name": "confirmSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 216, - 20 - ], - [ - 233, - 1 - ] - ], - "doc": "~Private~" - } - }, - "233": { - "15": { - "name": "viewForItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 233, - 15 - ], - [ - 244, - 1 - ] - ], - "doc": " Public: Create a view for the given model item.\n\nThis method must be overridden by subclasses.\n\nThis is called when the item is about to appended to the list view.\n\nitem - The model item being rendered. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a String of HTML, DOM element, jQuery object, or View. " - } - }, - "244": { - "13": { - "name": "confirmed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 244, - 13 - ], - [ - 258, - 1 - ] - ], - "doc": " Public: Callback function for when an item is selected.\n\nThis method must be overridden by subclasses.\n\nitem - The selected model item. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a DOM element, jQuery object, or {View}. " - } - }, - "258": { - "16": { - "name": "getFilterKey", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 258, - 16 - ], - [ - 258, - 17 - ] - ], - "doc": " Public: Get the property name to use when filtering items.\n\nThis method may be overridden by classes to allow fuzzy filtering based\non a specific property of the item objects.\n\nFor example if the objects you pass to {::setItems} are of the type\n`{\"id\": 3, \"name\": \"Atom\"}` then you would return `\"name\"` from this method\nto fuzzy filter by that property when text is entered into this view's\neditor.\n\nReturns the property name to fuzzy filter by. " - } - }, - "261": { - "21": { - "name": "focusFilterEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 21 - ], - [ - 266, - 1 - ] - ], - "doc": "Public: Focus the fuzzy filter editor view. " - } - }, - "266": { - "23": { - "name": "storeFocusedElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 266, - 23 - ], - [ - 269, - 1 - ] - ], - "doc": " Public: Store the currently focused element. This element will be given\nback focus when {::cancel} is called. " - } - }, - "269": { - "16": { - "name": "restoreFocus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 16 - ], - [ - 275, - 1 - ] - ], - "doc": "~Private~" - } - }, - "275": { - "13": { - "name": "cancelled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 275, - 13 - ], - [ - 283, - 1 - ] - ], - "doc": "~Private~" - } - }, - "283": { - "10": { - "name": "cancel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 283, - 10 - ], - [ - 291, - 34 - ] - ], - "doc": " Public: Cancel and close this select list view.\n\nThis restores focus to the previously focused element if\n{::storeFocusedElement} was called prior to this view being attached. " - } - } - }, - "exports": 36 - }, - "src/selection-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 8 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - } - }, - "4": { - "0": { - "type": "class", - "name": "SelectionView", - "bindingType": "exports", - "classProperties": [ - [ - 6, - 12 - ] - ], - "prototypeProperties": [ - [ - 9, - 11 - ], - [ - 10, - 16 - ], - [ - 12, - 14 - ], - [ - 19, - 17 - ], - [ - 37, - 16 - ], - [ - 50, - 26 - ], - [ - 57, - 16 - ], - [ - 61, - 18 - ], - [ - 64, - 18 - ], - [ - 67, - 19 - ], - [ - 70, - 19 - ], - [ - 73, - 13 - ], - [ - 79, - 15 - ], - [ - 82, - 10 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 84, - 9 - ] - ] - } - }, - "6": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 12 - ], - [ - 9, - 1 - ] - ], - "doc": "~Private~" - } - }, - "9": { - "11": { - "name": "regions", - "type": "primitive", - "range": [ - [ - 9, - 11 - ], - [ - 9, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "16": { - "name": "needsRemoval", - "type": "primitive", - "range": [ - [ - 10, - 16 - ], - [ - 10, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 14 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 19, - 17 - ], - [ - 37, - 1 - ] - ], - "doc": "~Private~" - } - }, - "37": { - "16": { - "name": "appendRegion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rows", - "start", - "end" - ], - "range": [ - [ - 37, - 16 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "26": { - "name": "getCenterPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 26 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "16": { - "name": "clearRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 16 - ], - [ - 61, - 1 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 18 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 18 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "19": { - "name": "needsAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 19 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 70, - 19 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "13": { - "name": "highlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 13 - ], - [ - 79, - 1 - ] - ], - "doc": "~Private~" - } - }, - "79": { - "15": { - "name": "unhighlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 15 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 10 - ], - [ - 84, - 9 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/selection.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0", - "name": "pick", - "exportsProperty": "pick" - } - }, - "6": { - "0": { - "type": "class", - "name": "Selection", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 7, - 10 - ], - [ - 8, - 10 - ], - [ - 9, - 10 - ], - [ - 10, - 22 - ], - [ - 11, - 12 - ], - [ - 12, - 19 - ], - [ - 14, - 15 - ], - [ - 25, - 11 - ], - [ - 28, - 12 - ], - [ - 34, - 19 - ], - [ - 38, - 11 - ], - [ - 45, - 14 - ], - [ - 49, - 22 - ], - [ - 53, - 18 - ], - [ - 60, - 18 - ], - [ - 64, - 18 - ], - [ - 74, - 18 - ], - [ - 91, - 21 - ], - [ - 98, - 25 - ], - [ - 101, - 25 - ], - [ - 104, - 25 - ], - [ - 107, - 25 - ], - [ - 110, - 14 - ], - [ - 114, - 11 - ], - [ - 118, - 9 - ], - [ - 126, - 14 - ], - [ - 138, - 18 - ], - [ - 144, - 14 - ], - [ - 155, - 18 - ], - [ - 163, - 26 - ], - [ - 184, - 26 - ], - [ - 188, - 15 - ], - [ - 192, - 14 - ], - [ - 196, - 12 - ], - [ - 200, - 14 - ], - [ - 205, - 15 - ], - [ - 210, - 18 - ], - [ - 214, - 13 - ], - [ - 219, - 27 - ], - [ - 224, - 32 - ], - [ - 229, - 21 - ], - [ - 234, - 27 - ], - [ - 239, - 21 - ], - [ - 244, - 31 - ], - [ - 248, - 32 - ], - [ - 252, - 28 - ], - [ - 257, - 36 - ], - [ - 262, - 40 - ], - [ - 266, - 21 - ], - [ - 284, - 22 - ], - [ - 289, - 21 - ], - [ - 316, - 14 - ], - [ - 349, - 20 - ], - [ - 383, - 10 - ], - [ - 399, - 22 - ], - [ - 405, - 25 - ], - [ - 412, - 13 - ], - [ - 417, - 30 - ], - [ - 422, - 30 - ], - [ - 428, - 27 - ], - [ - 434, - 27 - ], - [ - 443, - 10 - ], - [ - 455, - 21 - ], - [ - 462, - 21 - ], - [ - 467, - 22 - ], - [ - 477, - 14 - ], - [ - 496, - 13 - ], - [ - 522, - 23 - ], - [ - 532, - 26 - ], - [ - 542, - 22 - ], - [ - 546, - 18 - ], - [ - 551, - 7 - ], - [ - 561, - 8 - ], - [ - 579, - 8 - ], - [ - 584, - 19 - ], - [ - 595, - 13 - ], - [ - 603, - 25 - ], - [ - 606, - 28 - ], - [ - 609, - 23 - ], - [ - 617, - 18 - ], - [ - 625, - 9 - ], - [ - 641, - 11 - ], - [ - 644, - 22 - ] - ], - "doc": "Public: Represents a selection in the {Editor}. ", - "range": [ - [ - 6, - 0 - ], - [ - 647, - 45 - ] - ] - } - }, - "7": { - "10": { - "name": "cursor", - "type": "primitive", - "range": [ - [ - 7, - 10 - ], - [ - 7, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "8": { - "10": { - "name": "marker", - "type": "primitive", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "10": { - "name": "editor", - "type": "primitive", - "range": [ - [ - 9, - 10 - ], - [ - 9, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "22": { - "name": "initialScreenRange", - "type": "primitive", - "range": [ - [ - 10, - 22 - ], - [ - 10, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "11": { - "12": { - "name": "wordwise", - "type": "primitive", - "range": [ - [ - 11, - 12 - ], - [ - 11, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "19": { - "name": "needsAutoscroll", - "type": "primitive", - "range": [ - [ - 12, - 19 - ], - [ - 12, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 14, - 15 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 11 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "12": { - "name": "finalize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 12 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 19 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "11": { - "name": "isEmpty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 38, - 11 - ], - [ - 45, - 1 - ] - ], - "doc": "Public: Determines if the selection contains anything. " - } - }, - "45": { - "14": { - "name": "isReversed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 14 - ], - [ - 49, - 1 - ] - ], - "doc": " Public: Determines if the ending position of a marker is greater than the\nstarting position.\n\nThis can happen when, for example, you highlight text \"up\" in a {TextBuffer}. " - } - }, - "49": { - "22": { - "name": "isSingleScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 22 - ], - [ - 53, - 1 - ] - ], - "doc": "Public: Returns whether the selection is a single line or not. " - } - }, - "53": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 18 - ], - [ - 60, - 1 - ] - ], - "doc": "Public: Returns the screen {Range} for the selection. " - } - }, - "60": { - "18": { - "name": "setScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 60, - 18 - ], - [ - 64, - 1 - ] - ], - "doc": " Public: Modifies the screen range for the selection.\n\nscreenRange - The new {Range} to use.\noptions - A hash of options matching those found in {::setBufferRange}. " - } - }, - "64": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 18 - ], - [ - 74, - 1 - ] - ], - "doc": "Public: Returns the buffer {Range} for the selection. " - } - }, - "74": { - "18": { - "name": "setBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 74, - 18 - ], - [ - 91, - 1 - ] - ], - "doc": " Public: Modifies the buffer {Range} for the selection.\n\nscreenRange - The new {Range} to select.\noptions - An {Object} with the keys:\n :preserveFolds - if `true`, the fold settings are preserved after the\n selection moves.\n :autoscroll - if `true`, the {Editor} scrolls to the new selection. " - } - }, - "91": { - "21": { - "name": "getBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 21 - ], - [ - 98, - 1 - ] - ], - "doc": " Public: Returns the starting and ending buffer rows the selection is\nhighlighting.\n\nReturns an {Array} of two {Number}s: the starting row, and the ending row. " - } - }, - "98": { - "25": { - "name": "getTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 25 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "getTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 25 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "25": { - "name": "getHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 25 - ], - [ - 107, - 1 - ] - ], - "doc": "~Private~" - } - }, - "107": { - "25": { - "name": "getHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 25 - ], - [ - 110, - 1 - ] - ], - "doc": "~Private~" - } - }, - "110": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 14 - ], - [ - 114, - 1 - ] - ], - "doc": "~Private~" - } - }, - "114": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 114, - 11 - ], - [ - 118, - 1 - ] - ], - "doc": "Public: Returns the text in the selection. " - } - }, - "118": { - "9": { - "name": "clear", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 118, - 9 - ], - [ - 126, - 1 - ] - ], - "doc": "Public: Clears the selection, moving the marker to the head. " - } - }, - "126": { - "14": { - "name": "selectWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 14 - ], - [ - 138, - 1 - ] - ], - "doc": " Public: Modifies the selection to encompass the current word.\n\nReturns a {Range}. " - } - }, - "138": { - "18": { - "name": "expandOverWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 18 - ], - [ - 144, - 1 - ] - ], - "doc": " Public: Expands the newest selection to include the entire word on which\nthe cursors rests. " - } - }, - "144": { - "14": { - "name": "selectLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 144, - 14 - ], - [ - 155, - 1 - ] - ], - "doc": " Public: Selects an entire line in the buffer.\n\nrow - The line {Number} to select (default: the row of the cursor). " - } - }, - "155": { - "18": { - "name": "expandOverLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 155, - 18 - ], - [ - 163, - 1 - ] - ], - "doc": " Public: Expands the newest selection to include the entire line on which\nthe cursor currently rests.\n\nIt also includes the newline character. " - } - }, - "163": { - "26": { - "name": "selectToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 163, - 26 - ], - [ - 184, - 1 - ] - ], - "doc": " Public: Selects the text from the current cursor position to a given screen\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "184": { - "26": { - "name": "selectToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 184, - 26 - ], - [ - 188, - 1 - ] - ], - "doc": " Public: Selects the text from the current cursor position to a given buffer\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "188": { - "15": { - "name": "selectRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 15 - ], - [ - 192, - 1 - ] - ], - "doc": "Public: Selects the text one position right of the cursor. " - } - }, - "192": { - "14": { - "name": "selectLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 192, - 14 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Selects the text one position left of the cursor. " - } - }, - "196": { - "12": { - "name": "selectUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 196, - 12 - ], - [ - 200, - 1 - ] - ], - "doc": "Public: Selects all the text one position above the cursor. " - } - }, - "200": { - "14": { - "name": "selectDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 200, - 14 - ], - [ - 205, - 1 - ] - ], - "doc": "Public: Selects all the text one position below the cursor. " - } - }, - "205": { - "15": { - "name": "selectToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 205, - 15 - ], - [ - 210, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the top of\nthe buffer. " - } - }, - "210": { - "18": { - "name": "selectToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 18 - ], - [ - 214, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the bottom\nof the buffer. " - } - }, - "214": { - "13": { - "name": "selectAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 214, - 13 - ], - [ - 219, - 1 - ] - ], - "doc": "Public: Selects all the text in the buffer. " - } - }, - "219": { - "27": { - "name": "selectToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 219, - 27 - ], - [ - 224, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the line. " - } - }, - "224": { - "32": { - "name": "selectToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 32 - ], - [ - 229, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the first\ncharacter of the line. " - } - }, - "229": { - "21": { - "name": "selectToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 229, - 21 - ], - [ - 234, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the end of\nthe line. " - } - }, - "234": { - "27": { - "name": "selectToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 27 - ], - [ - 239, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the word. " - } - }, - "239": { - "21": { - "name": "selectToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 239, - 21 - ], - [ - 244, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the end of\nthe word. " - } - }, - "244": { - "31": { - "name": "selectToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 244, - 31 - ], - [ - 248, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next word. " - } - }, - "248": { - "32": { - "name": "selectToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 248, - 32 - ], - [ - 252, - 1 - ] - ], - "doc": "Public: Selects text to the previous word boundary. " - } - }, - "252": { - "28": { - "name": "selectToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 252, - 28 - ], - [ - 257, - 1 - ] - ], - "doc": "Public: Selects text to the next word boundary. " - } - }, - "257": { - "36": { - "name": "selectToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 257, - 36 - ], - [ - 262, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next paragraph. " - } - }, - "262": { - "40": { - "name": "selectToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 262, - 40 - ], - [ - 266, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the previous paragraph. " - } - }, - "266": { - "21": { - "name": "addSelectionBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 266, - 21 - ], - [ - 284, - 1 - ] - ], - "doc": "Public: Moves the selection down one row. " - } - }, - "284": { - "22": { - "name": "getGoalBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 22 - ], - [ - 289, - 1 - ] - ], - "doc": "FIXME: I have no idea what this does. " - } - }, - "289": { - "21": { - "name": "addSelectionAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 289, - 21 - ], - [ - 316, - 1 - ] - ], - "doc": "Public: Moves the selection up one row. " - } - }, - "316": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 316, - 14 - ], - [ - 349, - 1 - ] - ], - "doc": " Public: Replaces text at the current selection.\n\ntext - A {String} representing the text to add\noptions - An {Object} with keys:\n :select - if `true`, selects the newly added text.\n :autoIndent - if `true`, indents all inserted text appropriately.\n :autoIndentNewline - if `true`, indent newline appropriately.\n :autoDecreaseIndent - if `true`, decreases indent level appropriately\n (for example, when a closing bracket is inserted).\n :undo - if `skip`, skips the undo stack for this operation. " - } - }, - "349": { - "20": { - "name": "normalizeIndents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "indentBasis" - ], - "range": [ - [ - 349, - 20 - ], - [ - 383, - 1 - ] - ], - "doc": " Public: Indents the given text to the suggested level based on the grammar.\n\ntext - The {String} to indent within the selection.\nindentBasis - The beginning indent level. " - } - }, - "383": { - "10": { - "name": "indent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 383, - 10 - ], - [ - 399, - 1 - ] - ], - "doc": " Private: Indent the current line(s).\n\nIf the selection is empty, indents the current line if the cursor precedes\nnon-whitespace characters, and otherwise inserts a tab. If the selection is\nnon empty, calls {::indentSelectedRows}.\n\noptions - A {Object} with the keys:\n :autoIndent - If `true`, the line is indented to an automatically-inferred\n level. Otherwise, {Editor::getTabText} is inserted. " - } - }, - "399": { - "22": { - "name": "indentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 399, - 22 - ], - [ - 405, - 1 - ] - ], - "doc": "Public: If the selection spans multiple rows, indent all of them. " - } - }, - "405": { - "25": { - "name": "setIndentationForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line", - "indentLevel" - ], - "range": [ - [ - 405, - 25 - ], - [ - 412, - 1 - ] - ], - "doc": "Public: ? " - } - }, - "412": { - "13": { - "name": "backspace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 412, - 13 - ], - [ - 417, - 1 - ] - ], - "doc": " Public: Removes the first character before the selection if the selection\nis empty otherwise it deletes the selection. " - } - }, - "417": { - "30": { - "name": "backspaceToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 417, - 30 - ], - [ - 422, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " - } - }, - "422": { - "30": { - "name": "backspaceToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 422, - 30 - ], - [ - 428, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " - } - }, - "428": { - "27": { - "name": "deleteToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 27 - ], - [ - 434, - 1 - ] - ], - "doc": " Public: Removes from the start of the selection to the beginning of the\ncurrent word if the selection is empty otherwise it deletes the selection. " - } - }, - "434": { - "27": { - "name": "deleteToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 434, - 27 - ], - [ - 443, - 1 - ] - ], - "doc": " Public: Removes from the beginning of the line which the selection begins on\nall the way through to the end of the selection. " - } - }, - "443": { - "10": { - "name": "delete", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 443, - 10 - ], - [ - 455, - 1 - ] - ] - } - }, - "455": { - "21": { - "name": "deleteToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 455, - 21 - ], - [ - 462, - 1 - ] - ], - "doc": " Public: If the selection is empty, removes all text from the cursor to the\nend of the line. If the cursor is already at the end of the line, it\nremoves the following newline. If the selection isn't empty, only deletes\nthe contents of the selection. " - } - }, - "462": { - "21": { - "name": "deleteToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 462, - 21 - ], - [ - 467, - 1 - ] - ], - "doc": " Public: Removes the selection or all characters from the start of the\nselection to the end of the current word if nothing is selected. " - } - }, - "467": { - "22": { - "name": "deleteSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 467, - 22 - ], - [ - 477, - 1 - ] - ], - "doc": "Public: Removes only the selected text. " - } - }, - "477": { - "14": { - "name": "deleteLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 477, - 14 - ], - [ - 496, - 1 - ] - ], - "doc": " Public: Removes the line at the beginning of the selection if the selection\nis empty unless the selection spans multiple lines in which case all lines\nare removed. " - } - }, - "496": { - "13": { - "name": "joinLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 496, - 13 - ], - [ - 522, - 1 - ] - ], - "doc": " Public: Joins the current line with the one below it.\n\nIf there selection spans more than one line, all the lines are joined together. " - } - }, - "522": { - "23": { - "name": "outdentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 522, - 23 - ], - [ - 532, - 1 - ] - ], - "doc": "Public: Removes one level of indent from the currently selected rows. " - } - }, - "532": { - "26": { - "name": "autoIndentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 532, - 26 - ], - [ - 542, - 1 - ] - ], - "doc": " Public: Sets the indentation level of all selected rows to values suggested\nby the relevant grammars. " - } - }, - "542": { - "22": { - "name": "toggleLineComments", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 542, - 22 - ], - [ - 546, - 1 - ] - ], - "doc": " Public: Wraps the selected lines in comments if they aren't currently part\nof a comment.\n\nRemoves the comment if they are currently wrapped in a comment.\n\nReturns an Array of the commented {Range}s. " - } - }, - "546": { - "18": { - "name": "cutToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 546, - 18 - ], - [ - 551, - 1 - ] - ], - "doc": "Public: Cuts the selection until the end of the line. " - } - }, - "551": { - "7": { - "name": "cut", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 551, - 7 - ], - [ - 561, - 1 - ] - ], - "doc": "Public: Copies the selection to the clipboard and then deletes it. " - } - }, - "561": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 561, - 8 - ], - [ - 579, - 1 - ] - ], - "doc": " Public: Copies the current selection to the clipboard.\n\nIf the `maintainClipboard` is set to `true`, a specific metadata property\nis created to store each content copied to the clipboard. The clipboard\n`text` still contains the concatenation of the clipboard with the\ncurrent selection. " - } - }, - "579": { - "8": { - "name": "fold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 579, - 8 - ], - [ - 584, - 1 - ] - ], - "doc": "Public: Creates a fold containing the current selection. " - } - }, - "584": { - "19": { - "name": "modifySelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 584, - 19 - ], - [ - 595, - 1 - ] - ], - "doc": "~Private~" - } - }, - "595": { - "13": { - "name": "plantTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 595, - 13 - ], - [ - 603, - 1 - ] - ], - "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " - } - }, - "603": { - "25": { - "name": "intersectsBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 603, - 25 - ], - [ - 606, - 1 - ] - ], - "doc": " Public: Identifies if a selection intersects with a given buffer range.\n\nbufferRange - A {Range} to check against.\n\nReturns a Boolean. " - } - }, - "606": { - "28": { - "name": "intersectsScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 606, - 28 - ], - [ - 609, - 1 - ] - ], - "doc": "~Private~" - } - }, - "609": { - "23": { - "name": "intersectsScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 609, - 23 - ], - [ - 617, - 1 - ] - ], - "doc": "~Private~" - } - }, - "617": { - "18": { - "name": "intersectsWith", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection" - ], - "range": [ - [ - 617, - 18 - ], - [ - 625, - 1 - ] - ], - "doc": " Public: Identifies if a selection intersects with another selection.\n\notherSelection - A {Selection} to check against.\n\nReturns a Boolean. " - } - }, - "625": { - "9": { - "name": "merge", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection", - "options" - ], - "range": [ - [ - 625, - 9 - ], - [ - 641, - 1 - ] - ], - "doc": " Public: Combines the given selection into this selection and then destroys\nthe given selection.\n\notherSelection - A {Selection} to merge with.\noptions - A hash of options matching those found in {::setBufferRange}. " - } - }, - "641": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection" - ], - "range": [ - [ - 641, - 11 - ], - [ - 644, - 1 - ] - ], - "doc": " Public: Compare this selection's buffer range to another selection's buffer\nrange.\n\nSee {Range::compare} for more details.\n\notherSelection - A {Selection} to compare against. " - } - }, - "644": { - "22": { - "name": "screenRangeChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 644, - 22 - ], - [ - 647, - 45 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 6 - }, - "src/space-pen-extensions.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "1": { - "11": { - "name": "spacePen", - "type": "import", - "range": [ - [ - 1, - 11 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "space-pen" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "6": { - "9": { - "name": "spacePen", - "type": "primitive", - "range": [ - [ - 6, - 9 - ], - [ - 6, - 16 - ] - ] - } - }, - "7": { - "20": { - "name": "jQuery", - "type": "primitive", - "range": [ - [ - 7, - 20 - ], - [ - 7, - 25 - ] - ] - } - }, - "8": { - "19": { - "name": "jQuery.cleanData", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "elements" - ], - "range": [ - [ - 8, - 19 - ], - [ - 11, - 0 - ] - ], - "doc": null - } - }, - "13": { - "2": { - "type": "primitive", - "range": [ - [ - 13, - 2 - ], - [ - 19, - 19 - ] - ] - } - }, - "14": { - "4": { - "type": "primitive", - "range": [ - [ - 14, - 4 - ], - [ - 15, - 12 - ] - ] - }, - "10": { - "name": "1000", - "type": "primitive", - "range": [ - [ - 14, - 10 - ], - [ - 14, - 13 - ] - ] - } - }, - "15": { - "10": { - "name": "100", - "type": "primitive", - "range": [ - [ - 15, - 10 - ], - [ - 15, - 12 - ] - ] - } - }, - "16": { - "13": { - "name": "'body'", - "type": "primitive", - "range": [ - [ - 16, - 13 - ], - [ - 16, - 18 - ] - ] - } - }, - "17": { - "8": { - "type": "primitive", - "range": [ - [ - 17, - 8 - ], - [ - 17, - 11 - ] - ] - } - }, - "18": { - "13": { - "name": "'auto top'", - "type": "primitive", - "range": [ - [ - 18, - 13 - ], - [ - 18, - 22 - ] - ] - } - }, - "19": { - "19": { - "name": "2", - "type": "primitive", - "range": [ - [ - 19, - 19 - ], - [ - 19, - 19 - ] - ] - } - }, - "21": { - "21": { - "name": "humanizeKeystrokes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "keystroke" - ], - "range": [ - [ - 21, - 21 - ], - [ - 25, - 0 - ] - ], - "doc": "~Private~" - } - }, - "26": { - "15": { - "name": "getKeystroke", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bindings" - ], - "range": [ - [ - 26, - 15 - ], - [ - 31, - 0 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "26": { - "name": "requireBootstrapTooltip", - "type": "function", - "range": [ - [ - 32, - 26 - ], - [ - 35, - 59 - ] - ] - } - }, - "36": { - "23": { - "name": "jQuery.fn.setTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "tooltipOptions", - null - ], - "range": [ - [ - 36, - 23 - ], - [ - 49, - 0 - ] - ], - "doc": null - } - }, - "50": { - "24": { - "name": "jQuery.fn.hideTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 24 - ], - [ - 55, - 0 - ] - ], - "doc": null - } - }, - "56": { - "27": { - "name": "jQuery.fn.destroyTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 27 - ], - [ - 61, - 38 - ] - ], - "doc": null - } - }, - "68": { - "36": { - "name": "getKeystroke", - "type": "primitive", - "range": [ - [ - 68, - 36 - ], - [ - 68, - 47 - ] - ] - } - }, - "69": { - "42": { - "name": "humanizeKeystrokes", - "type": "primitive", - "range": [ - [ - 69, - 42 - ], - [ - 69, - 59 - ] - ] - } - }, - "71": { - "49": { - "name": "get", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 71, - 49 - ], - [ - 71, - 55 - ] - ], - "doc": null - } - } - }, - "exports": 73 - }, - "src/subscriber-mixin.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "1": { - "18": { - "type": "primitive", - "range": [ - [ - 1, - 18 - ], - [ - 1, - 55 - ] - ] - }, - "39": { - "name": "componentDidUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 1, - 39 - ], - [ - 1, - 55 - ] - ], - "doc": null - } - } - }, - "exports": 3 - }, - "src/syntax.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 11 - ] - ], - "bindingType": "variable", - "module": "clear-cut@^0.3.0", - "name": "specificity", - "exportsProperty": "specificity" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 15 - ] - ], - "bindingType": "variable", - "module": "first-mate", - "name": "GrammarRegistry", - "exportsProperty": "GrammarRegistry" - }, - "18": { - "type": "import", - "range": [ - [ - 4, - 18 - ], - [ - 4, - 30 - ] - ], - "bindingType": "variable", - "module": "first-mate", - "name": "ScopeSelector", - "exportsProperty": "ScopeSelector" - } - }, - "5": { - "22": { - "name": "ScopedPropertyStore", - "type": "import", - "range": [ - [ - 5, - 22 - ], - [ - 5, - 52 - ] - ], - "bindingType": "variable", - "module": "scoped-property-store" - } - }, - "6": { - "20": { - "name": "PropertyAccessors", - "type": "import", - "range": [ - [ - 6, - 20 - ], - [ - 6, - 47 - ] - ], - "bindingType": "variable", - "module": "property-accessors" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 8, - 4 - ], - [ - 8, - 5 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - } - }, - "9": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 9, - 8 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "18": { - "0": { - "type": "class", - "name": "Syntax", - "bindingType": "exports", - "classProperties": [ - [ - 23, - 16 - ] - ], - "prototypeProperties": [ - [ - 28, - 15 - ], - [ - 32, - 13 - ], - [ - 35, - 15 - ], - [ - 42, - 17 - ], - [ - 49, - 20 - ], - [ - 52, - 19 - ], - [ - 67, - 15 - ], - [ - 75, - 22 - ], - [ - 84, - 32 - ] - ], - "doc": " Public: Syntax class holding the grammars used for tokenizing.\n\nAn instance of this class is always available as the `atom.syntax` global.\n\nThe Syntax class also contains properties for things such as the\nlanguage-specific comment regexes. ", - "range": [ - [ - 18, - 0 - ], - [ - 85, - 52 - ] - ] - } - }, - "23": { - "16": { - "name": "deserialize", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 23, - 16 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 15 - ], - [ - 32, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "13": { - "name": "serialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 32, - 13 - ], - [ - 35, - 1 - ] - ], - "doc": "~Private~" - } - }, - "35": { - "15": { - "name": "createToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "scopes" - ], - "range": [ - [ - 35, - 15 - ], - [ - 35, - 59 - ] - ], - "doc": "~Private~" - } - }, - "42": { - "17": { - "name": "addProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 42, - 17 - ], - [ - 49, - 1 - ] - ], - "doc": "~Private~" - } - }, - "49": { - "20": { - "name": "removeProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 49, - 20 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "19": { - "name": "clearProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 19 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "15": { - "name": "getProperty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scope", - "keyPath" - ], - "range": [ - [ - 67, - 15 - ], - [ - 75, - 1 - ] - ], - "doc": " Public: Get a property for the given scope and key path.\n\n## Example\n```coffee\ncomment = atom.syntax.getProperty(['.source.ruby'], 'editor.commentStart')\nconsole.log(comment) # '# '\n```\n\nscope - An {Array} of {String} scopes.\nkeyPath - A {String} key path.\n\nReturns a {String} property value or undefined. " - } - }, - "75": { - "22": { - "name": "propertiesForScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scope", - "keyPath" - ], - "range": [ - [ - 75, - 22 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "32": { - "name": "cssSelectorFromScopeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeSelector" - ], - "range": [ - [ - 84, - 32 - ], - [ - 85, - 52 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 18 - }, - "src/task-bootstrap.coffee": { - "objects": { - "0": { - "1": { - "type": "primitive", - "name": "userAgent", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "exportsProperty": "userAgent" - }, - "12": { - "type": "primitive", - "name": "taskPath", - "range": [ - [ - 0, - 12 - ], - [ - 0, - 19 - ] - ], - "exportsProperty": "taskPath" - } - }, - "3": { - "15": { - "name": "setupGlobals", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 3, - 15 - ], - [ - 28, - 0 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "15": { - "name": "handleEvents", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 15 - ], - [ - 42, - 0 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "10": { - "name": "handler", - "type": "import", - "range": [ - [ - 45, - 10 - ], - [ - 45, - 26 - ] - ], - "bindingType": "variable", - "module": "askPat" - } - } - }, - "exports": {} - }, - "src/task.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "1": { - "16": { - "name": "child_process", - "type": "import", - "range": [ - [ - 1, - 16 - ], - [ - 1, - 38 - ] - ], - "bindingType": "variable", - "module": "child_process", - "builtin": true - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "21": { - "0": { - "type": "class", - "name": "Task", - "bindingType": "exports", - "classProperties": [ - [ - 29, - 9 - ] - ], - "prototypeProperties": [ - [ - 41, - 12 - ], - [ - 47, - 15 - ], - [ - 73, - 16 - ], - [ - 82, - 9 - ], - [ - 95, - 8 - ], - [ - 102, - 13 - ] - ], - "doc": " Public: Run a node script in a separate process.\n\nUsed by the fuzzy-finder.\n\n## Events\n\n* task:log - Emitted when console.log is called within the task.\n* task:warn - Emitted when console.warn is called within the task.\n* task:error - Emitted when console.error is called within the task.\n* task:completed - Emitted when the task has succeeded or failed.\n\n## Requiring in packages\n\n```coffee\n {Task} = require 'atom'\n``` ", - "range": [ - [ - 21, - 0 - ], - [ - 109, - 10 - ] - ] - } - }, - "29": { - "9": { - "name": "once", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "taskPath", - "args" - ], - "range": [ - [ - 29, - 9 - ], - [ - 41, - 1 - ] - ], - "doc": " Public: A helper method to easily launch and run a task once.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file which\n exports a single {Function} to execute.\nargs - The arguments to pass to the exported function. " - } - }, - "41": { - "12": { - "name": "callback", - "type": "primitive", - "range": [ - [ - 41, - 12 - ], - [ - 41, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "47": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "taskPath" - ], - "range": [ - [ - 47, - 15 - ], - [ - 73, - 1 - ] - ], - "doc": " Public: Creates a task.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file that\n exports a single {Function} to execute. " - } - }, - "73": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 16 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Routes messages from the child to the appropriate event. " - } - }, - "82": { - "9": { - "name": "start", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args", - "callback" - ], - "range": [ - [ - 82, - 9 - ], - [ - 95, - 1 - ] - ], - "doc": " Public: Starts the task.\n\nargs - The arguments to pass to the function exported by this task's script.\ncallback - An optional {Function} to call when the task completes. " - } - }, - "95": { - "8": { - "name": "send", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 95, - 8 - ], - [ - 102, - 1 - ] - ], - "doc": " Public: Send message to the task.\n\nmessage - The message to send to the task. " - } - }, - "102": { - "13": { - "name": "terminate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 13 - ], - [ - 109, - 10 - ] - ], - "doc": " Public: Forcefully stop the running task.\n\nNo events are emitted. " - } - } - }, - "exports": 21 - }, - "src/text-utils.coffee": { - "objects": { - "0": { - "18": { - "name": "isHighSurrogate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 0, - 18 - ], - [ - 2, - 0 - ] - ], - "doc": "~Private~" - } - }, - "3": { - "17": { - "name": "isLowSurrogate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 3, - 17 - ], - [ - 11, - 21 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "18": { - "name": "isSurrogatePair", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 12, - 18 - ], - [ - 22, - 21 - ] - ], - "doc": " Private: Is the character at the given index the start of a high/low surrogate pair?\n\nstring - The {String} to check for a surrogate pair.\nindex - The {Number} index to look for a surrogate pair at.\n\nReturn a {Boolean}. " - } - }, - "23": { - "20": { - "name": "getCharacterCount", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 23, - 20 - ], - [ - 32, - 22 - ] - ], - "doc": " Private: Get the number of characters in the string accounting for surrogate pairs.\n\nThis method counts high/low surrogate pairs as a single character and will\nalways returns a value less than or equal to `string.length`.\n\nstring - The {String} to count the number of full characters in.\n\nReturns a {Number}. " - } - }, - "33": { - "19": { - "name": "hasSurrogatePair", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 33, - 19 - ], - [ - 35, - 0 - ] - ], - "doc": " Private: Does the given string contain at least one surrogate pair?\n\nstring - The {String} to check for the presence of surrogate pairs.\n\nReturns a {Boolean}. " - } - } - }, - "exports": 36 - }, - "src/theme-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.0.4" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "8": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "9": { - "1": { - "type": "import", - "range": [ - [ - 9, - 1 - ], - [ - 9, - 4 - ] - ], - "bindingType": "variable", - "module": "pathwatcher@^2.0.4", - "name": "File", - "exportsProperty": "File" - } - }, - "15": { - "0": { - "type": "class", - "name": "ThemeManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 18, - 15 - ], - [ - 22, - 21 - ], - [ - 27, - 18 - ], - [ - 31, - 18 - ], - [ - 35, - 19 - ], - [ - 39, - 19 - ], - [ - 42, - 20 - ], - [ - 47, - 24 - ], - [ - 57, - 18 - ], - [ - 82, - 20 - ], - [ - 87, - 20 - ], - [ - 93, - 20 - ], - [ - 96, - 18 - ], - [ - 109, - 25 - ], - [ - 116, - 25 - ], - [ - 121, - 22 - ], - [ - 133, - 23 - ], - [ - 137, - 25 - ], - [ - 142, - 26 - ], - [ - 145, - 21 - ], - [ - 160, - 21 - ], - [ - 169, - 18 - ], - [ - 175, - 22 - ], - [ - 197, - 14 - ], - [ - 200, - 20 - ], - [ - 209, - 19 - ] - ], - "doc": " Public: Handles loading and activating available themes.\n\nAn instance of this class is always available as the `atom.themes` global. ", - "range": [ - [ - 15, - 0 - ], - [ - 222, - 31 - ] - ] - } - }, - "18": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 18, - 15 - ], - [ - 22, - 1 - ] - ], - "doc": "~Private~" - } - }, - "22": { - "21": { - "name": "getAvailableNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 22, - 21 - ], - [ - 27, - 1 - ] - ], - "doc": "~Private~" - } - }, - "27": { - "18": { - "name": "getLoadedNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 18 - ], - [ - 31, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded theme names. " - } - }, - "31": { - "18": { - "name": "getActiveNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 31, - 18 - ], - [ - 35, - 1 - ] - ], - "doc": "Public: Get an array of all the active theme names. " - } - }, - "35": { - "19": { - "name": "getActiveThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 35, - 19 - ], - [ - 39, - 1 - ] - ], - "doc": "Public: Get an array of all the active themes. " - } - }, - "39": { - "19": { - "name": "getLoadedThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 39, - 19 - ], - [ - 42, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded themes. " - } - }, - "42": { - "20": { - "name": "activatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "themePackages" - ], - "range": [ - [ - 42, - 20 - ], - [ - 42, - 55 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "24": { - "name": "getEnabledThemeNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 47, - 24 - ], - [ - 57, - 1 - ] - ], - "doc": " Private: Get the enabled theme names from the config.\n\nReturns an array of theme names in the order that they should be activated. " - } - }, - "57": { - "18": { - "name": "activateThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 18 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "20": { - "name": "deactivateThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 20 - ], - [ - 87, - 1 - ] - ], - "doc": "~Private~" - } - }, - "87": { - "20": { - "name": "refreshLessCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 87, - 20 - ], - [ - 93, - 1 - ] - ], - "doc": "~Private~" - } - }, - "93": { - "20": { - "name": "setEnabledThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "enabledThemeNames" - ], - "range": [ - [ - 93, - 20 - ], - [ - 96, - 1 - ] - ], - "doc": " Public: Set the list of enabled themes.\n\nenabledThemeNames - An {Array} of {String} theme names. " - } - }, - "96": { - "18": { - "name": "getImportPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 18 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "25": { - "name": "getUserStylesheetPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 25 - ], - [ - 116, - 1 - ] - ], - "doc": "Public: Returns the {String} path to the user's stylesheet under ~/.atom " - } - }, - "116": { - "25": { - "name": "unwatchUserStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 25 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "22": { - "name": "loadUserStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 121, - 22 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "23": { - "name": "loadBaseStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 23 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "25": { - "name": "reloadBaseStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 25 - ], - [ - 142, - 1 - ] - ], - "doc": "~Private~" - } - }, - "142": { - "26": { - "name": "stylesheetElementForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id", - "htmlElement" - ], - "range": [ - [ - 142, - 26 - ], - [ - 145, - 1 - ] - ], - "doc": "~Private~" - } - }, - "145": { - "21": { - "name": "resolveStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 145, - 21 - ], - [ - 160, - 1 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "21": { - "name": "requireStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "type", - "htmlElement" - ], - "range": [ - [ - 160, - 21 - ], - [ - 169, - 1 - ] - ], - "doc": " Public: Resolve and apply the stylesheet specified by the path.\n\nThis supports both CSS and LESS stylsheets.\n\nstylesheetPath - A {String} path to the stylesheet that can be an absolute\n path or a relative path that will be resolved against the\n load path.\n\nReturns the absolute path to the required stylesheet. " - } - }, - "169": { - "18": { - "name": "loadStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "importFallbackVariables" - ], - "range": [ - [ - 169, - 18 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "22": { - "name": "loadLessStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lessStylesheetPath", - "importFallbackVariables" - ], - "range": [ - [ - 175, - 22 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "14": { - "name": "stringToId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 197, - 14 - ], - [ - 200, - 1 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "20": { - "name": "removeStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 200, - 20 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "19": { - "name": "applyStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "text", - "type", - "htmlElement" - ], - "range": [ - [ - 209, - 19 - ], - [ - 222, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 15 - }, - "src/theme-package.coffee": { - "objects": { - "0": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "1": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 1, - 10 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "4": { - "0": { - "type": "class", - "name": "ThemePackage", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 5, - 11 - ], - [ - 7, - 21 - ], - [ - 9, - 10 - ], - [ - 12, - 11 - ], - [ - 15, - 8 - ], - [ - 23, - 12 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 31, - 31 - ] - ] - } - }, - "5": { - "11": { - "name": "getType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 11 - ], - [ - 5, - 20 - ] - ] - } - }, - "7": { - "21": { - "name": "getStylesheetType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 7, - 21 - ], - [ - 7, - 30 - ] - ], - "doc": "~Private~" - } - }, - "9": { - "10": { - "name": "enable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 10 - ], - [ - 12, - 1 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "11": { - "name": "disable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 12, - 11 - ], - [ - 15, - 1 - ] - ], - "doc": "~Private~" - } - }, - "15": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 15, - 8 - ], - [ - 23, - 1 - ] - ], - "doc": "~Private~" - } - }, - "23": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 23, - 12 - ], - [ - 31, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/token.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "1": { - "12": { - "name": "textUtils", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 33 - ] - ], - "bindingType": "variable", - "path": "./text-utils" - } - }, - "3": { - "31": { - "type": "primitive", - "range": [ - [ - 3, - 31 - ], - [ - 3, - 32 - ] - ] - } - }, - "4": { - "20": { - "name": "/^[ ]+/", - "type": "primitive", - "range": [ - [ - 4, - 20 - ], - [ - 4, - 26 - ] - ] - } - }, - "5": { - "21": { - "name": "/[ ]+$/", - "type": "primitive", - "range": [ - [ - 5, - 21 - ], - [ - 5, - 27 - ] - ] - } - }, - "6": { - "14": { - "name": "/[&\"'<>]/g", - "type": "primitive", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 23 - ] - ] - } - }, - "7": { - "17": { - "name": "/./g", - "type": "primitive", - "range": [ - [ - 7, - 17 - ], - [ - 7, - 20 - ] - ] - } - }, - "8": { - "22": { - "name": "/^./", - "type": "primitive", - "range": [ - [ - 8, - 22 - ], - [ - 8, - 25 - ] - ] - } - }, - "9": { - "16": { - "name": "/^\\.?/", - "type": "primitive", - "range": [ - [ - 9, - 16 - ], - [ - 9, - 21 - ] - ] - } - }, - "10": { - "18": { - "name": "/\\S/", - "type": "primitive", - "range": [ - [ - 10, - 18 - ], - [ - 10, - 21 - ] - ] - } - }, - "12": { - "17": { - "name": "20000", - "type": "primitive", - "range": [ - [ - 12, - 17 - ], - [ - 12, - 21 - ] - ] - } - }, - "16": { - "0": { - "type": "class", - "name": "Token", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 9 - ], - [ - 18, - 20 - ], - [ - 19, - 10 - ], - [ - 20, - 12 - ], - [ - 21, - 13 - ], - [ - 22, - 24 - ], - [ - 23, - 25 - ], - [ - 25, - 15 - ], - [ - 30, - 11 - ], - [ - 33, - 13 - ], - [ - 36, - 11 - ], - [ - 41, - 31 - ], - [ - 44, - 24 - ], - [ - 86, - 26 - ], - [ - 106, - 27 - ], - [ - 113, - 21 - ], - [ - 116, - 21 - ], - [ - 119, - 17 - ], - [ - 129, - 20 - ], - [ - 132, - 24 - ], - [ - 138, - 18 - ], - [ - 185, - 16 - ], - [ - 194, - 23 - ] - ], - "doc": "Private: Represents a single unit of text as selected by a grammar. ", - "range": [ - [ - 16, - 0 - ], - [ - 201, - 16 - ] - ] - } - }, - "17": { - "9": { - "name": "value", - "type": "primitive", - "range": [ - [ - 17, - 9 - ], - [ - 17, - 12 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "20": { - "name": "hasSurrogatePair", - "type": "primitive", - "range": [ - [ - 18, - 20 - ], - [ - 18, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "10": { - "name": "scopes", - "type": "primitive", - "range": [ - [ - 19, - 10 - ], - [ - 19, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "20": { - "12": { - "name": "isAtomic", - "type": "primitive", - "range": [ - [ - 20, - 12 - ], - [ - 20, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "13": { - "name": "isHardTab", - "type": "primitive", - "range": [ - [ - 21, - 13 - ], - [ - 21, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "22": { - "24": { - "name": "hasLeadingWhitespace", - "type": "primitive", - "range": [ - [ - 22, - 24 - ], - [ - 22, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "23": { - "25": { - "name": "hasTrailingWhitespace", - "type": "primitive", - "range": [ - [ - 23, - 25 - ], - [ - 23, - 29 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "25": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 25, - 15 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "isEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 30, - 11 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "13": { - "name": "isBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 33, - 13 - ], - [ - 36, - 1 - ] - ], - "doc": "~Private~" - } - }, - "36": { - "11": { - "name": "splitAt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "splitIndex" - ], - "range": [ - [ - 36, - 11 - ], - [ - 41, - 1 - ] - ], - "doc": "~Private~" - } - }, - "41": { - "31": { - "name": "whitespaceRegexForTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 41, - 31 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "24": { - "name": "breakOutAtomicTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "breakOutLeadingSoftTabs", - "startColumn" - ], - "range": [ - [ - 44, - 24 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "26": { - "name": "breakOutSurrogatePairs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 26 - ], - [ - 106, - 1 - ] - ], - "doc": "~Private~" - } - }, - "106": { - "27": { - "name": "buildSurrogatePairToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "index" - ], - "range": [ - [ - 106, - 27 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "21": { - "name": "buildHardTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "column" - ], - "range": [ - [ - 113, - 21 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "21": { - "name": "buildSoftTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 116, - 21 - ], - [ - 119, - 1 - ] - ], - "doc": "~Private~" - } - }, - "119": { - "17": { - "name": "buildTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "isHardTab", - "column" - ], - "range": [ - [ - 119, - 17 - ], - [ - 129, - 1 - ] - ], - "doc": "~Private~" - } - }, - "129": { - "20": { - "name": "isOnlyWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 129, - 20 - ], - [ - 132, - 1 - ] - ], - "doc": "~Private~" - } - }, - "132": { - "24": { - "name": "matchesScopeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 132, - 24 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "18": { - "name": "getValueAsHtml", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 138, - 18 - ], - [ - 185, - 1 - ] - ], - "doc": "~Private~" - } - }, - "185": { - "16": { - "name": "escapeString", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "str", - "startIndex", - "endIndex" - ], - "range": [ - [ - 185, - 16 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "23": { - "name": "escapeStringReplace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "match" - ], - "range": [ - [ - 194, - 23 - ], - [ - 201, - 16 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 16 - }, - "src/tokenized-buffer.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "3": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "4": { - "16": { - "name": "TokenizedLine", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 41 - ] - ], - "bindingType": "variable", - "path": "./tokenized-line" - } - }, - "5": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "8": { - "0": { - "type": "class", - "name": "TokenizedBuffer", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 11 - ], - [ - 14, - 23 - ], - [ - 15, - 10 - ], - [ - 16, - 18 - ], - [ - 17, - 13 - ], - [ - 18, - 15 - ], - [ - 19, - 11 - ], - [ - 21, - 15 - ], - [ - 48, - 19 - ], - [ - 52, - 21 - ], - [ - 56, - 14 - ], - [ - 64, - 17 - ], - [ - 70, - 23 - ], - [ - 76, - 23 - ], - [ - 82, - 14 - ], - [ - 88, - 16 - ], - [ - 94, - 16 - ], - [ - 96, - 24 - ], - [ - 103, - 21 - ], - [ - 133, - 19 - ], - [ - 136, - 15 - ], - [ - 139, - 17 - ], - [ - 144, - 21 - ], - [ - 153, - 22 - ], - [ - 173, - 48 - ], - [ - 183, - 30 - ], - [ - 200, - 41 - ], - [ - 203, - 39 - ], - [ - 210, - 37 - ], - [ - 220, - 20 - ], - [ - 225, - 22 - ], - [ - 228, - 15 - ], - [ - 231, - 21 - ], - [ - 257, - 22 - ], - [ - 266, - 21 - ], - [ - 269, - 20 - ], - [ - 273, - 33 - ], - [ - 278, - 33 - ], - [ - 299, - 30 - ], - [ - 314, - 39 - ], - [ - 329, - 22 - ], - [ - 344, - 22 - ], - [ - 362, - 14 - ], - [ - 365, - 16 - ], - [ - 368, - 12 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 371, - 40 - ] - ] - } - }, - "13": { - "11": { - "name": "grammar", - "type": "primitive", - "range": [ - [ - 13, - 11 - ], - [ - 13, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "23": { - "name": "currentGrammarScore", - "type": "primitive", - "range": [ - [ - 14, - 23 - ], - [ - 14, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "15": { - "10": { - "name": "buffer", - "type": "primitive", - "range": [ - [ - 15, - 10 - ], - [ - 15, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "18": { - "name": "tokenizedLines", - "type": "primitive", - "range": [ - [ - 16, - 18 - ], - [ - 16, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "17": { - "13": { - "name": "chunkSize", - "type": "primitive", - "range": [ - [ - 17, - 13 - ], - [ - 17, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "15": { - "name": "invalidRows", - "type": "primitive", - "range": [ - [ - 18, - 15 - ], - [ - 18, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 19, - 11 - ], - [ - 19, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 21, - 15 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 19 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 52, - 21 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar", - "score" - ], - "range": [ - [ - 56, - 14 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 17 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "23": { - "name": "hasTokenForSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 70, - 23 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "23": { - "name": "resetTokenizedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 23 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 82, - 14 - ], - [ - 88, - 1 - ] - ], - "doc": "~Private~" - } - }, - "88": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 16 - ], - [ - 94, - 1 - ] - ], - "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " - } - }, - "94": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 94, - 16 - ], - [ - 94, - 30 - ] - ], - "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " - } - }, - "96": { - "24": { - "name": "tokenizeInBackground", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 24 - ], - [ - 103, - 1 - ] - ], - "doc": "~Private~" - } - }, - "103": { - "21": { - "name": "tokenizeNextChunk", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 103, - 21 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "19": { - "name": "firstInvalidRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 19 - ], - [ - 136, - 1 - ] - ], - "doc": "~Private~" - } - }, - "136": { - "15": { - "name": "validateRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 136, - 15 - ], - [ - 139, - 1 - ] - ], - "doc": "~Private~" - } - }, - "139": { - "17": { - "name": "invalidateRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 139, - 17 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "21": { - "name": "updateInvalidRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end", - "delta" - ], - "range": [ - [ - 144, - 21 - ], - [ - 153, - 1 - ] - ], - "doc": "~Private~" - } - }, - "153": { - "22": { - "name": "handleBufferChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 153, - 22 - ], - [ - 173, - 1 - ] - ], - "doc": "~Private~" - } - }, - "173": { - "48": { - "name": "retokenizeWhitespaceRowsIfIndentLevelChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "increment" - ], - "range": [ - [ - 173, - 48 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "30": { - "name": "buildTokenizedLinesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow", - "startingStack" - ], - "range": [ - [ - 183, - 30 - ], - [ - 200, - 1 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "41": { - "name": "buildPlaceholderTokenizedLinesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 200, - 41 - ], - [ - 203, - 1 - ] - ], - "doc": "~Private~" - } - }, - "203": { - "39": { - "name": "buildPlaceholderTokenizedLineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 203, - 39 - ], - [ - 210, - 1 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "37": { - "name": "buildTokenizedTokenizedLineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "ruleStack" - ], - "range": [ - [ - 210, - 37 - ], - [ - 220, - 1 - ] - ], - "doc": "~Private~" - } - }, - "220": { - "20": { - "name": "lineForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 220, - 20 - ], - [ - 225, - 1 - ] - ], - "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " - } - }, - "225": { - "22": { - "name": "linesForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 225, - 22 - ], - [ - 228, - 1 - ] - ], - "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " - } - }, - "228": { - "15": { - "name": "stackForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 228, - 15 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "21": { - "name": "indentLevelForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 231, - 21 - ], - [ - 257, - 1 - ] - ], - "doc": "~Private~" - } - }, - "257": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 257, - 22 - ], - [ - 266, - 1 - ] - ], - "doc": "~Private~" - } - }, - "266": { - "21": { - "name": "scopesForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 266, - 21 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "20": { - "name": "tokenForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 269, - 20 - ], - [ - 273, - 1 - ] - ], - "doc": "~Private~" - } - }, - "273": { - "33": { - "name": "tokenStartPositionForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 273, - 33 - ], - [ - 278, - 1 - ] - ], - "doc": "~Private~" - } - }, - "278": { - "33": { - "name": "bufferRangeForScopeAtPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "position" - ], - "range": [ - [ - 278, - 33 - ], - [ - 299, - 1 - ] - ], - "doc": "~Private~" - } - }, - "299": { - "30": { - "name": "iterateTokensInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "iterator" - ], - "range": [ - [ - 299, - 30 - ], - [ - 314, - 1 - ] - ], - "doc": "~Private~" - } - }, - "314": { - "39": { - "name": "backwardsIterateTokensInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "iterator" - ], - "range": [ - [ - 314, - 39 - ], - [ - 329, - 1 - ] - ], - "doc": "~Private~" - } - }, - "329": { - "22": { - "name": "findOpeningBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferPosition" - ], - "range": [ - [ - 329, - 22 - ], - [ - 344, - 1 - ] - ], - "doc": "~Private~" - } - }, - "344": { - "22": { - "name": "findClosingBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferPosition" - ], - "range": [ - [ - 344, - 22 - ], - [ - 362, - 1 - ] - ], - "doc": "~Private~" - } - }, - "362": { - "14": { - "name": "getLastRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 362, - 14 - ], - [ - 365, - 1 - ] - ], - "doc": " Private: Gets the row number of the last line.\n\nReturns a {Number}. " - } - }, - "365": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 365, - 16 - ], - [ - 368, - 1 - ] - ], - "doc": "~Private~" - } - }, - "368": { - "12": { - "name": "logLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 368, - 12 - ], - [ - 371, - 40 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/tokenized-line.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "2": { - "12": { - "name": "1", - "type": "primitive", - "range": [ - [ - 2, - 12 - ], - [ - 2, - 12 - ] - ] - } - }, - "5": { - "0": { - "type": "class", - "name": "TokenizedLine", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 6, - 15 - ], - [ - 15, - 13 - ], - [ - 20, - 20 - ], - [ - 25, - 8 - ], - [ - 28, - 20 - ], - [ - 47, - 31 - ], - [ - 57, - 31 - ], - [ - 66, - 22 - ], - [ - 72, - 22 - ], - [ - 75, - 14 - ], - [ - 102, - 17 - ], - [ - 105, - 23 - ], - [ - 108, - 28 - ], - [ - 115, - 35 - ], - [ - 123, - 24 - ], - [ - 134, - 42 - ], - [ - 145, - 13 - ], - [ - 154, - 20 - ], - [ - 162, - 16 - ], - [ - 165, - 17 - ], - [ - 168, - 24 - ], - [ - 174, - 16 - ], - [ - 186, - 20 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 199, - 0 - ] - ] - } - }, - "6": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 6, - 15 - ], - [ - 15, - 1 - ] - ] - } - }, - "15": { - "13": { - "name": "buildText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 15, - 13 - ], - [ - 20, - 1 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "20": { - "name": "buildBufferDelta", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 20 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 8 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "20": { - "name": "clipScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "column", - "options" - ], - "range": [ - [ - 28, - 20 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "31": { - "name": "screenColumnForBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn", - "options" - ], - "range": [ - [ - 47, - 31 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "31": { - "name": "bufferColumnForScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenColumn", - "options" - ], - "range": [ - [ - 57, - 31 - ], - [ - 66, - 1 - ] - ], - "doc": "~Private~" - } - }, - "66": { - "22": { - "name": "getMaxScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 66, - 22 - ], - [ - 72, - 1 - ] - ], - "doc": "~Private~" - } - }, - "72": { - "22": { - "name": "getMaxBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 72, - 22 - ], - [ - 75, - 1 - ] - ], - "doc": "~Private~" - } - }, - "75": { - "14": { - "name": "softWrapAt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "column" - ], - "range": [ - [ - 75, - 14 - ], - [ - 102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "102": { - "17": { - "name": "isSoftWrapped", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 17 - ], - [ - 105, - 1 - ] - ], - "doc": "~Private~" - } - }, - "105": { - "23": { - "name": "tokenAtBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 105, - 23 - ], - [ - 108, - 1 - ] - ], - "doc": "~Private~" - } - }, - "108": { - "28": { - "name": "tokenIndexAtBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 108, - 28 - ], - [ - 115, - 1 - ] - ], - "doc": "~Private~" - } - }, - "115": { - "35": { - "name": "tokenStartColumnForBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 115, - 35 - ], - [ - 123, - 1 - ] - ], - "doc": "~Private~" - } - }, - "123": { - "24": { - "name": "breakOutAtomicTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "inputTokens" - ], - "range": [ - [ - 123, - 24 - ], - [ - 134, - 1 - ] - ], - "doc": "~Private~" - } - }, - "134": { - "42": { - "name": "markLeadingAndTrailingWhitespaceTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 134, - 42 - ], - [ - 145, - 1 - ] - ], - "doc": "~Private~" - } - }, - "145": { - "13": { - "name": "isComment", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 145, - 13 - ], - [ - 154, - 1 - ] - ], - "doc": "~Private~" - } - }, - "154": { - "20": { - "name": "isOnlyWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 20 - ], - [ - 162, - 1 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "16": { - "name": "tokenAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 162, - 16 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "17": { - "name": "getTokenCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 17 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "24": { - "name": "bufferColumnForToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetToken" - ], - "range": [ - [ - 168, - 24 - ], - [ - 174, - 1 - ] - ], - "doc": "~Private~" - } - }, - "174": { - "16": { - "name": "getScopeTree", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 174, - 16 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "20": { - "name": "updateScopeStack", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 186, - 20 - ], - [ - 199, - 0 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "0": { - "type": "class", - "name": "Scope", - "classProperties": [], - "prototypeProperties": [ - [ - 201, - 15 - ] - ], - "doc": "~Private~", - "range": [ - [ - 200, - 0 - ], - [ - 202, - 18 - ] - ] - } - }, - "201": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 201, - 15 - ], - [ - 202, - 18 - ] - ] - } - } - }, - "exports": 5 - }, - "src/window-bootstrap.coffee": { - "objects": { - "1": { - "12": { - "name": "startTime", - "type": "function", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 21 - ] - ] - } - }, - "5": { - "7": { - "name": "Atom", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "path": "./atom" - } - }, - "6": { - "14": { - "name": "window.atom", - "type": "function", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 40 - ] - ] - } - } - }, - "exports": {} - }, - "src/window-event-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "2": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "3": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 3, - 8 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.0.4" - } - }, - "9": { - "0": { - "type": "class", - "name": "WindowEventHandler", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 81, - 27 - ], - [ - 96, - 13 - ], - [ - 100, - 12 - ], - [ - 106, - 25 - ], - [ - 116, - 13 - ], - [ - 137, - 17 - ] - ], - "doc": "Private: Handles low-level events related to the window. ", - "range": [ - [ - 9, - 0 - ], - [ - 156, - 28 - ] - ] - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 12, - 15 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "27": { - "name": "handleNativeKeybindings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 81, - 27 - ], - [ - 96, - 1 - ] - ], - "doc": " Private: Wire commands that should be handled by the native menu\nfor elements with the `.native-key-bindings` class. " - } - }, - "96": { - "13": { - "name": "onKeydown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 96, - 13 - ], - [ - 100, - 1 - ] - ], - "doc": "~Private~" - } - }, - "100": { - "12": { - "name": "openLink", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 100, - 12 - ], - [ - 106, - 1 - ] - ], - "doc": "~Private~" - } - }, - "106": { - "25": { - "name": "eachTabIndexedElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 106, - 25 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "13": { - "name": "focusNext", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 13 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "17": { - "name": "focusPrevious", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 17 - ], - [ - 156, - 28 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 9 - }, - "src/window.coffee": { - "objects": { - "7": { - "17": { - "name": "window.measure", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "description", - "fn" - ], - "range": [ - [ - 7, - 17 - ], - [ - 20, - 51 - ] - ], - "doc": null - } - }, - "21": { - "17": { - "name": "window.profile", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "description", - "fn" - ], - "range": [ - [ - 21, - 17 - ], - [ - 26, - 9 - ] - ], - "doc": null - } - } - }, - "exports": {} - }, - "src/workspace-view.coffee": { - "objects": { - "0": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "4": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 4, - 12 - ], - [ - 4, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - }, - "12": { - "type": "import", - "range": [ - [ - 5, - 12 - ], - [ - 5, - 33 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "logDeprecationWarnings", - "exportsProperty": "logDeprecationWarnings" - } - }, - "6": { - "17": { - "name": "scrollbarStyle", - "type": "import", - "range": [ - [ - 6, - 17 - ], - [ - 6, - 41 - ] - ], - "bindingType": "variable", - "module": "scrollbar-style" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 5 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - }, - "8": { - "type": "import", - "range": [ - [ - 7, - 8 - ], - [ - 7, - 11 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "8": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 8, - 5 - ], - [ - 8, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.0.4" - } - }, - "9": { - "12": { - "name": "Workspace", - "type": "import", - "range": [ - [ - 9, - 12 - ], - [ - 9, - 32 - ] - ], - "bindingType": "variable", - "path": "./workspace" - } - }, - "10": { - "19": { - "name": "CommandInstaller", - "type": "import", - "range": [ - [ - 10, - 19 - ], - [ - 10, - 47 - ] - ], - "bindingType": "variable", - "path": "./command-installer" - } - }, - "11": { - "13": { - "name": "EditorView", - "type": "import", - "range": [ - [ - 11, - 13 - ], - [ - 11, - 35 - ] - ], - "bindingType": "variable", - "path": "./editor-view" - } - }, - "12": { - "11": { - "name": "PaneView", - "type": "import", - "range": [ - [ - 12, - 11 - ], - [ - 12, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-view" - } - }, - "13": { - "17": { - "name": "PaneColumnView", - "type": "import", - "range": [ - [ - 13, - 17 - ], - [ - 13, - 44 - ] - ], - "bindingType": "variable", - "path": "./pane-column-view" - } - }, - "14": { - "14": { - "name": "PaneRowView", - "type": "import", - "range": [ - [ - 14, - 14 - ], - [ - 14, - 38 - ] - ], - "bindingType": "variable", - "path": "./pane-row-view" - } - }, - "15": { - "20": { - "name": "PaneContainerView", - "type": "import", - "range": [ - [ - 15, - 20 - ], - [ - 15, - 50 - ] - ], - "bindingType": "variable", - "path": "./pane-container-view" - } - }, - "16": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 16, - 9 - ], - [ - 16, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "55": { - "0": { - "type": "class", - "name": "WorkspaceView", - "bindingType": "exports", - "classProperties": [ - [ - 63, - 12 - ], - [ - 66, - 4 - ], - [ - 75, - 12 - ] - ], - "prototypeProperties": [ - [ - 81, - 14 - ], - [ - 168, - 12 - ], - [ - 171, - 24 - ], - [ - 191, - 15 - ], - [ - 205, - 15 - ], - [ - 209, - 16 - ], - [ - 213, - 15 - ], - [ - 223, - 12 - ], - [ - 233, - 18 - ], - [ - 238, - 16 - ], - [ - 242, - 15 - ], - [ - 247, - 19 - ], - [ - 252, - 18 - ], - [ - 257, - 17 - ], - [ - 262, - 16 - ], - [ - 267, - 18 - ], - [ - 272, - 17 - ], - [ - 281, - 21 - ], - [ - 287, - 17 - ], - [ - 291, - 25 - ], - [ - 294, - 21 - ], - [ - 297, - 22 - ], - [ - 300, - 22 - ], - [ - 303, - 23 - ], - [ - 306, - 24 - ], - [ - 315, - 16 - ], - [ - 325, - 16 - ], - [ - 336, - 18 - ], - [ - 344, - 16 - ], - [ - 347, - 21 - ], - [ - 350, - 23 - ], - [ - 353, - 23 - ], - [ - 356, - 18 - ], - [ - 368, - 12 - ], - [ - 373, - 12 - ], - [ - 378, - 17 - ], - [ - 383, - 21 - ] - ], - "doc": " Public: The top-level view for the entire window. An instance of this class is\navailable via the `atom.workspaceView` global.\n\nIt is backed by a model object, an instance of {Workspace}, which is available\nvia the `atom.workspace` global or {::getModel}. You should prefer to interact\nwith the model object when possible, but it won't always be possible with the\ncurrent API.\n\n## Adding Perimeter Panels\n\nUse the following methods if possible to attach panels to the perimeter of the\nworkspace rather than manipulating the DOM directly to better insulate you to\nchanges in the workspace markup:\n\n* {::prependToTop}\n* {::appendToTop}\n* {::prependToBottom}\n* {::appendToBottom}\n* {::prependToLeft}\n* {::appendToLeft}\n* {::prependToRight}\n* {::appendToRight}\n\n## Requiring in package specs\n\nIf you need a `WorkspaceView` instance to test your package, require it via\nthe built-in `atom` module.\n\n```coffee\n {WorkspaceView} = require 'atom'\n```\n\nYou can assign it to the `atom.workspaceView` global in the spec or just use\nit as a local, depending on what you're trying to accomplish. Building the\n`WorkspaceView` is currently expensive, so you should try build a {Workspace}\ninstead if possible. ", - "range": [ - [ - 55, - 0 - ], - [ - 385, - 25 - ] - ] - } - }, - "63": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 63, - 12 - ], - [ - 63, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "66": { - "4": { - "name": "configDefaults", - "type": "primitive", - "range": [ - [ - 66, - 4 - ], - [ - 73, - 23 - ] - ], - "bindingType": "classProperty" - } - }, - "75": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 75, - 12 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 81, - 14 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 12 - ], - [ - 168, - 20 - ] - ], - "doc": " Public: Get the underlying model object.\n\nReturns a {Workspace}. " - } - }, - "171": { - "24": { - "name": "installShellCommands", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 24 - ], - [ - 191, - 1 - ] - ], - "doc": "Public: Install the Atom shell commands on the user's system. " - } - }, - "191": { - "15": { - "name": "handleFocus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 191, - 15 - ], - [ - 205, - 1 - ] - ], - "doc": "~Private~" - } - }, - "205": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 205, - 15 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "16": { - "name": "confirmClose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 209, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": "Private: Prompts to save all unsaved items " - } - }, - "213": { - "15": { - "name": "updateTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 15 - ], - [ - 223, - 1 - ] - ], - "doc": "Private: Updates the application's title, based on whichever file is open. " - } - }, - "223": { - "12": { - "name": "setTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "title" - ], - "range": [ - [ - 223, - 12 - ], - [ - 233, - 1 - ] - ], - "doc": "Private: Sets the application's title. " - } - }, - "233": { - "18": { - "name": "getEditorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 233, - 18 - ], - [ - 238, - 1 - ] - ], - "doc": " Private: Get all editor views.\n\nYou should prefer {Workspace::getEditors} unless you absolutely need access\nto the view objects. Also consider using {::eachEditorView}, which will call\na callback for all current and *future* editor views.\n\nReturns an {Array} of {EditorView}s. " - } - }, - "238": { - "16": { - "name": "prependToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 238, - 16 - ], - [ - 242, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the top of the\nworkspace. " - } - }, - "242": { - "15": { - "name": "appendToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 242, - 15 - ], - [ - 247, - 1 - ] - ], - "doc": "Public: Append an element or view to the panels at the top of the workspace. " - } - }, - "247": { - "19": { - "name": "prependToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 247, - 19 - ], - [ - 252, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the bottom of the\nworkspace. " - } - }, - "252": { - "18": { - "name": "appendToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 252, - 18 - ], - [ - 257, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the bottom of the\nworkspace. " - } - }, - "257": { - "17": { - "name": "prependToLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 257, - 17 - ], - [ - 262, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the left of the\nworkspace. " - } - }, - "262": { - "16": { - "name": "appendToLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 262, - 16 - ], - [ - 267, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the left of the\nworkspace. " - } - }, - "267": { - "18": { - "name": "prependToRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 267, - 18 - ], - [ - 272, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the right of the\nworkspace. " - } - }, - "272": { - "17": { - "name": "appendToRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 272, - 17 - ], - [ - 281, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the right of the\nworkspace. " - } - }, - "281": { - "21": { - "name": "getActivePaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 281, - 21 - ], - [ - 287, - 1 - ] - ], - "doc": " Public: Get the active pane view.\n\nPrefer {Workspace::getActivePane} if you don't actually need access to the\nview.\n\nReturns a {PaneView}. " - } - }, - "287": { - "17": { - "name": "getActiveView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 287, - 17 - ], - [ - 291, - 1 - ] - ], - "doc": " Public: Get the view associated with the active pane item.\n\nReturns a view. " - } - }, - "291": { - "25": { - "name": "focusPreviousPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 291, - 25 - ], - [ - 291, - 56 - ] - ], - "doc": "Private: Focus the previous pane by id. " - } - }, - "294": { - "21": { - "name": "focusNextPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 294, - 21 - ], - [ - 294, - 48 - ] - ], - "doc": "Private: Focus the next pane by id. " - } - }, - "297": { - "22": { - "name": "focusPaneViewAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 22 - ], - [ - 297, - 51 - ] - ], - "doc": "Public: Focus the pane directly above the active pane. " - } - }, - "300": { - "22": { - "name": "focusPaneViewBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 300, - 22 - ], - [ - 300, - 51 - ] - ], - "doc": "Public: Focus the pane directly below the active pane. " - } - }, - "303": { - "23": { - "name": "focusPaneViewOnLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 303, - 23 - ], - [ - 303, - 53 - ] - ], - "doc": "Public: Focus the pane directly to the left of the active pane. " - } - }, - "306": { - "24": { - "name": "focusPaneViewOnRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 306, - 24 - ], - [ - 306, - 55 - ] - ], - "doc": "Public: Focus the pane directly to the right of the active pane. " - } - }, - "315": { - "16": { - "name": "eachPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 315, - 16 - ], - [ - 325, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\npane view in the workspace.\n\ncallback - A {Function} with a {PaneView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "325": { - "16": { - "name": "getPaneViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 325, - 16 - ], - [ - 336, - 1 - ] - ], - "doc": " Public: Get all existing pane views.\n\nPrefer {Workspace::getPanes} if you don't need access to the view objects.\nAlso consider using {::eachPaneView} if you want to register a callback for\nall current and *future* pane views.\n\nReturns an Array of all open {PaneView}s. " - } - }, - "336": { - "18": { - "name": "eachEditorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 336, - 18 - ], - [ - 344, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\neditor view in the workspace (only includes {EditorView}s that are pane\nitems).\n\ncallback - A {Function} with an {EditorView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "344": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 344, - 16 - ], - [ - 347, - 1 - ] - ], - "doc": "Private: Called by SpacePen " - } - }, - "347": { - "21": { - "name": "setEditorFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 347, - 21 - ], - [ - 350, - 1 - ] - ], - "doc": "~Private~" - } - }, - "350": { - "23": { - "name": "setEditorFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 350, - 23 - ], - [ - 353, - 1 - ] - ], - "doc": "~Private~" - } - }, - "353": { - "23": { - "name": "setEditorLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 353, - 23 - ], - [ - 356, - 1 - ] - ], - "doc": "~Private~" - } - }, - "356": { - "18": { - "name": "setEditorStyle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "property", - "value" - ], - "range": [ - [ - 356, - 18 - ], - [ - 368, - 1 - ] - ], - "doc": "~Private~" - } - }, - "368": { - "12": { - "name": "eachPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 368, - 12 - ], - [ - 373, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "373": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 373, - 12 - ], - [ - 378, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "378": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 378, - 17 - ], - [ - 383, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "383": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 383, - 21 - ], - [ - 385, - 25 - ] - ], - "doc": "Deprecated: Call {Workspace::getActivePaneItem} instead. " - } - } - }, - "exports": 55 - }, - "src/workspace.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 4 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true, - "name": "join", - "exportsProperty": "join" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "4": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 4, - 4 - ], - [ - 4, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "5": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 5, - 15 - ], - [ - 5, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "6": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 6, - 12 - ], - [ - 6, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato" - } - }, - "7": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "8": { - "16": { - "name": "PaneContainer", - "type": "import", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 41 - ] - ], - "bindingType": "variable", - "path": "./pane-container" - } - }, - "9": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 9, - 7 - ], - [ - 9, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "18": { - "0": { - "type": "class", - "name": "Workspace", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 47, - 21 - ], - [ - 55, - 19 - ], - [ - 60, - 37 - ], - [ - 74, - 15 - ], - [ - 84, - 14 - ], - [ - 91, - 14 - ], - [ - 118, - 8 - ], - [ - 135, - 15 - ], - [ - 150, - 12 - ], - [ - 168, - 17 - ], - [ - 193, - 14 - ], - [ - 200, - 18 - ], - [ - 217, - 18 - ], - [ - 221, - 20 - ], - [ - 224, - 14 - ], - [ - 230, - 17 - ], - [ - 236, - 12 - ], - [ - 240, - 11 - ], - [ - 244, - 20 - ], - [ - 248, - 24 - ], - [ - 254, - 14 - ], - [ - 260, - 21 - ], - [ - 269, - 22 - ], - [ - 277, - 24 - ], - [ - 284, - 25 - ], - [ - 288, - 21 - ], - [ - 295, - 19 - ], - [ - 299, - 20 - ], - [ - 303, - 20 - ], - [ - 308, - 17 - ], - [ - 312, - 14 - ], - [ - 317, - 23 - ], - [ - 322, - 13 - ] - ], - "doc": " Public: Represents the state of the user interface for the entire window.\nAn instance of this class is available via the `atom.workspace` global.\n\nInteract with this object to open files, be notified of current and future\neditors, and manipulate panes. To add panels, you'll need to use the\n{WorkspaceView} class for now until we establish APIs at the model layer. ", - "range": [ - [ - 18, - 0 - ], - [ - 323, - 28 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 15 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 47, - 21 - ], - [ - 55, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during deserialization " - } - }, - "55": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 19 - ], - [ - 60, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during serialization. " - } - }, - "60": { - "37": { - "name": "getPackageNamesWithActiveGrammars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 60, - 37 - ], - [ - 74, - 1 - ] - ], - "doc": "~Private~" - } - }, - "74": { - "15": { - "name": "editorAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 74, - 15 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "14": { - "name": "eachEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 84, - 14 - ], - [ - 91, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\n{Editor} in the workspace.\n\ncallback - A {Function} with an {Editor} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "91": { - "14": { - "name": "getEditors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 14 - ], - [ - 118, - 1 - ] - ], - "doc": " Public: Get all current editors in the workspace.\n\nReturns an {Array} of {Editor}s. " - } - }, - "118": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "options" - ], - "range": [ - [ - 118, - 8 - ], - [ - 135, - 1 - ] - ], - "doc": " Public: Open a given a URI in Atom asynchronously.\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :split - Either 'left' or 'right'. If 'left', the item will be opened in\n leftmost pane of the current active pane's row. If 'right', the\n item will be opened in the rightmost pane of the current active\n pane's row.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`.\n :searchAllPanes - A {Boolean}. If `true`, the workspace will attempt to\n activate an existing item for the given URI on any pane.\n If `false`, only the active pane will be searched for\n an existing item for the same URI. Defaults to `false`.\n\nReturns a promise that resolves to the {Editor} for the file URI. " - } - }, - "135": { - "15": { - "name": "openLicense", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 135, - 15 - ], - [ - 150, - 1 - ] - ], - "doc": "Public: Open Atom's license in the active pane. " - } - }, - "150": { - "12": { - "name": "openSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "options" - ], - "range": [ - [ - 150, - 12 - ], - [ - 168, - 1 - ] - ], - "doc": " Private: Synchronously open the given URI in the active pane. **Only use this method\nin specs. Calling this in production code will block the UI thread and\neveryone will be mad at you.**\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`. " - } - }, - "168": { - "17": { - "name": "openUriInPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "pane", - "options" - ], - "range": [ - [ - 168, - 17 - ], - [ - 193, - 1 - ] - ], - "doc": "~Private~" - } - }, - "193": { - "14": { - "name": "reopenItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 193, - 14 - ], - [ - 200, - 1 - ] - ], - "doc": " Public: Asynchronously reopens the last-closed item's URI if it hasn't already been\nreopened.\n\nReturns a promise that is resolved when the item is opened " - } - }, - "200": { - "18": { - "name": "reopenItemSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 200, - 18 - ], - [ - 217, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "217": { - "18": { - "name": "registerOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 217, - 18 - ], - [ - 221, - 1 - ] - ], - "doc": " Public: Register an opener for a uri.\n\nAn {Editor} will be used if no openers return a value.\n\n## Example\n```coffeescript\n atom.project.registerOpener (uri) ->\n if path.extname(uri) is '.toml'\n return new TomlEditor(uri)\n```\n\nopener - A {Function} to be called when a path is being opened. " - } - }, - "221": { - "20": { - "name": "unregisterOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 221, - 20 - ], - [ - 224, - 1 - ] - ], - "doc": "Public: Unregister an opener registered with {::registerOpener}. " - } - }, - "224": { - "14": { - "name": "getOpeners", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 14 - ], - [ - 230, - 1 - ] - ], - "doc": "~Private~" - } - }, - "230": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 230, - 17 - ], - [ - 236, - 1 - ] - ], - "doc": " Public: Get the active {Pane}.\n\nReturns a {Pane}. " - } - }, - "236": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 236, - 12 - ], - [ - 240, - 1 - ] - ], - "doc": " Public: Get all {Pane}s.\n\nReturns an {Array} of {Pane}s. " - } - }, - "240": { - "11": { - "name": "saveAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 240, - 11 - ], - [ - 244, - 1 - ] - ], - "doc": "Public: Save all pane items. " - } - }, - "244": { - "20": { - "name": "activateNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 244, - 20 - ], - [ - 248, - 1 - ] - ], - "doc": "Public: Make the next pane active. " - } - }, - "248": { - "24": { - "name": "activatePreviousPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 248, - 24 - ], - [ - 254, - 1 - ] - ], - "doc": "Public: Make the previous pane active. " - } - }, - "254": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 254, - 14 - ], - [ - 260, - 1 - ] - ], - "doc": " Public: Get the first pane {Pane} with an item for the given URI.\n\nReturns a {Pane} or `undefined` if no pane exists for the given URI. " - } - }, - "260": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 21 - ], - [ - 269, - 1 - ] - ], - "doc": " Public: Get the active {Pane}'s active item.\n\nReturns an pane item {Object}. " - } - }, - "269": { - "22": { - "name": "saveActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 22 - ], - [ - 277, - 1 - ] - ], - "doc": " Public: Save the active pane item.\n\nIf the active pane item currently has a URI according to the item's\n`.getUri` method, calls `.save` on the item. Otherwise\n{::saveActivePaneItemAs} # will be called instead. This method does nothing\nif the active item does not implement a `.save` method. " - } - }, - "277": { - "24": { - "name": "saveActivePaneItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 277, - 24 - ], - [ - 284, - 1 - ] - ], - "doc": " Public: Prompt the user for a path and save the active pane item to it.\n\nOpens a native dialog where the user selects a path on disk, then calls\n`.saveAs` on the item with the selected path. This method does nothing if\nthe active item does not implement a `.saveAs` method. " - } - }, - "284": { - "25": { - "name": "destroyActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 25 - ], - [ - 288, - 1 - ] - ], - "doc": " Public: Destroy (close) the active pane item.\n\nRemoves the active pane item and calls the `.destroy` method on it if one is\ndefined. " - } - }, - "288": { - "21": { - "name": "destroyActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 288, - 21 - ], - [ - 295, - 1 - ] - ], - "doc": "Public: Destroy (close) the active pane. " - } - }, - "295": { - "19": { - "name": "getActiveEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 295, - 19 - ], - [ - 299, - 1 - ] - ], - "doc": " Public: Get the active item if it is an {Editor}.\n\nReturns an {Editor} or `undefined` if the current active item is not an\n{Editor}. " - } - }, - "299": { - "20": { - "name": "increaseFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 299, - 20 - ], - [ - 303, - 1 - ] - ], - "doc": "Public: Increase the editor font size by 1px. " - } - }, - "303": { - "20": { - "name": "decreaseFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 303, - 20 - ], - [ - 308, - 1 - ] - ], - "doc": "Public: Decrease the editor font size by 1px. " - } - }, - "308": { - "17": { - "name": "resetFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 308, - 17 - ], - [ - 312, - 1 - ] - ], - "doc": "Public: Restore to a default editor font size. " - } - }, - "312": { - "14": { - "name": "itemOpened", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 312, - 14 - ], - [ - 317, - 1 - ] - ], - "doc": "Private: Removes the item's uri from the list of potential items to reopen. " - } - }, - "317": { - "23": { - "name": "onPaneItemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 317, - 23 - ], - [ - 322, - 1 - ] - ], - "doc": "Private: Adds the destroyed item's uri to the list of items to reopen. " - } - }, - "322": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 322, - 13 - ], - [ - 323, - 28 - ] - ], - "doc": "Private: Called by Model superclass when destroyed " - } - } - }, - "exports": 18 - }, "src/key-binding.coffee": { "objects": { "0": { @@ -108692,55052 +55062,6 @@ "repository": "https://github.com/atom/first-mate", "version": "2.0.2", "files": { - "src/atom.coffee": { - "objects": { - "0": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 0, - 9 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "1": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "2": { - "5": { - "name": "os", - "type": "import", - "range": [ - [ - 2, - 5 - ], - [ - 2, - 16 - ] - ], - "bindingType": "variable", - "module": "os", - "builtin": true - } - }, - "3": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "4": { - "9": { - "name": "remote", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 24 - ] - ], - "bindingType": "variable", - "module": "remote" - } - }, - "5": { - "9": { - "name": "screen", - "type": "import", - "range": [ - [ - 5, - 9 - ], - [ - 5, - 24 - ] - ], - "bindingType": "variable", - "module": "screen" - } - }, - "6": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 6, - 8 - ], - [ - 6, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "8": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 8, - 4 - ], - [ - 8, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "9": { - "1": { - "type": "import", - "range": [ - [ - 9, - 1 - ], - [ - 9, - 10 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecated", - "exportsProperty": "deprecated" - } - }, - "10": { - "1": { - "type": "import", - "range": [ - [ - 10, - 1 - ], - [ - 10, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "11": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 11, - 5 - ], - [ - 11, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2" - } - }, - "13": { - "1": { - "type": "import", - "range": [ - [ - 13, - 1 - ], - [ - 13, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "14": { - "21": { - "name": "WindowEventHandler", - "type": "import", - "range": [ - [ - 14, - 21 - ], - [ - 14, - 52 - ] - ], - "bindingType": "variable", - "path": "./window-event-handler" - } - }, - "35": { - "0": { - "type": "class", - "name": "Atom", - "bindingType": "exports", - "classProperties": [ - [ - 36, - 12 - ], - [ - 44, - 17 - ], - [ - 48, - 16 - ], - [ - 53, - 14 - ], - [ - 71, - 17 - ], - [ - 89, - 21 - ], - [ - 95, - 22 - ], - [ - 99, - 20 - ], - [ - 109, - 21 - ] - ], - "prototypeProperties": [ - [ - 112, - 31 - ], - [ - 115, - 15 - ], - [ - 123, - 14 - ], - [ - 177, - 31 - ], - [ - 181, - 33 - ], - [ - 184, - 24 - ], - [ - 188, - 20 - ], - [ - 194, - 23 - ], - [ - 211, - 23 - ], - [ - 221, - 21 - ], - [ - 224, - 32 - ], - [ - 229, - 30 - ], - [ - 246, - 27 - ], - [ - 252, - 25 - ], - [ - 259, - 19 - ], - [ - 262, - 22 - ], - [ - 269, - 28 - ], - [ - 281, - 28 - ], - [ - 285, - 27 - ], - [ - 292, - 21 - ], - [ - 320, - 22 - ], - [ - 336, - 14 - ], - [ - 339, - 15 - ], - [ - 353, - 8 - ], - [ - 377, - 11 - ], - [ - 397, - 18 - ], - [ - 400, - 22 - ], - [ - 407, - 16 - ], - [ - 411, - 18 - ], - [ - 415, - 31 - ], - [ - 419, - 10 - ], - [ - 423, - 9 - ], - [ - 428, - 8 - ], - [ - 432, - 8 - ], - [ - 439, - 11 - ], - [ - 446, - 15 - ], - [ - 450, - 10 - ], - [ - 457, - 17 - ], - [ - 464, - 9 - ], - [ - 467, - 8 - ], - [ - 473, - 13 - ], - [ - 477, - 14 - ], - [ - 481, - 20 - ], - [ - 485, - 17 - ], - [ - 490, - 16 - ], - [ - 496, - 14 - ], - [ - 500, - 21 - ], - [ - 506, - 20 - ], - [ - 509, - 12 - ], - [ - 523, - 21 - ], - [ - 526, - 20 - ], - [ - 529, - 22 - ], - [ - 533, - 8 - ], - [ - 537, - 25 - ], - [ - 541, - 25 - ], - [ - 555, - 22 - ] - ], - "doc": " Public: Atom global for dealing with packages, themes, menus, and the window.\n\nAn instance of this class is always available as the `atom` global.\n\n## Useful properties available:\n\n * `atom.clipboard` - A {Clipboard} instance\n * `atom.config` - A {Config} instance\n * `atom.contextMenu` - A {ContextMenuManager} instance\n * `atom.deserializers` - A {DeserializerManager} instance\n * `atom.keymaps` - A {KeymapManager} instance\n * `atom.menu` - A {MenuManager} instance\n * `atom.packages` - A {PackageManager} instance\n * `atom.project` - A {Project} instance\n * `atom.syntax` - A {Syntax} instance\n * `atom.themes` - A {ThemeManager} instance\n * `atom.workspace` - A {Workspace} instance\n * `atom.workspaceView` - A {WorkspaceView} instance ", - "range": [ - [ - 35, - 0 - ], - [ - 567, - 27 - ] - ] - } - }, - "36": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 36, - 12 - ], - [ - 36, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "44": { - "17": { - "name": "loadOrCreate", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 44, - 17 - ], - [ - 48, - 1 - ] - ], - "doc": " Public: Load or create the Atom environment in the given mode.\n\nmode - Pass 'editor' or 'spec' depending on the kind of environment you\n want to build.\n\nReturns an Atom instance, fully initialized " - } - }, - "48": { - "16": { - "name": "deserialize", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 48, - 16 - ], - [ - 53, - 1 - ] - ], - "doc": "Private: Deserializes the Atom environment from a state object " - } - }, - "53": { - "14": { - "name": "loadState", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 53, - 14 - ], - [ - 71, - 1 - ] - ], - "doc": " Private: Loads and returns the serialized state corresponding to this window\nif it exists; otherwise returns undefined. " - } - }, - "71": { - "17": { - "name": "getStatePath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 71, - 17 - ], - [ - 89, - 1 - ] - ], - "doc": " Private: Returns the path where the state for the current window will be\nlocated if it exists. " - } - }, - "89": { - "21": { - "name": "getConfigDirPath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 95, - 1 - ] - ], - "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " - } - }, - "95": { - "22": { - "name": "getStorageDirPath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 95, - 22 - ], - [ - 99, - 1 - ] - ], - "doc": " Private: Get the path to Atom's storage directory.\n\nReturns the absolute path to ~/.atom/storage " - } - }, - "99": { - "20": { - "name": "getLoadSettings", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 99, - 20 - ], - [ - 109, - 1 - ] - ], - "doc": "Private: Returns the load settings hash associated with the current window. " - } - }, - "109": { - "21": { - "name": "getCurrentWindow", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 21 - ], - [ - 112, - 1 - ] - ], - "doc": "~Private~" - } - }, - "112": { - "31": { - "name": "workspaceViewParentSelector", - "type": "primitive", - "range": [ - [ - 112, - 31 - ], - [ - 112, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "115": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 115, - 15 - ], - [ - 123, - 1 - ] - ], - "doc": "Private: Call .loadOrCreate instead " - } - }, - "123": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 123, - 14 - ], - [ - 177, - 1 - ] - ], - "doc": " Public: Sets up the basic services that should be available in all modes\n(both spec and application). Call after this instance has been assigned to\nthe `atom` global. " - } - }, - "177": { - "31": { - "name": "registerRepresentationClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 31 - ], - [ - 181, - 1 - ] - ], - "doc": "Deprecated: Callers should be converted to use atom.deserializers " - } - }, - "181": { - "33": { - "name": "registerRepresentationClasses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 181, - 33 - ], - [ - 184, - 1 - ] - ], - "doc": "Deprecated: Callers should be converted to use atom.deserializers " - } - }, - "184": { - "24": { - "name": "setBodyPlatformClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 184, - 24 - ], - [ - 188, - 1 - ] - ], - "doc": "~Private~" - } - }, - "188": { - "20": { - "name": "getCurrentWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 20 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "23": { - "name": "getWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 194, - 23 - ], - [ - 211, - 1 - ] - ], - "doc": " Public: Get the dimensions of this window.\n\nReturns an object with x, y, width, and height keys. " - } - }, - "211": { - "23": { - "name": "setWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 211, - 23 - ], - [ - 221, - 1 - ] - ], - "doc": " Public: Set the dimensions of the window.\n\nThe window will be centered if either the x or y coordinate is not set\nin the dimensions parameter. If x or y are omitted the window will be\ncentered. If height or width are omitted only the position will be changed.\n\ndimensions - An {Object} with the following keys:\n :x - The new x coordinate.\n :y - The new y coordinate.\n :width - The new width.\n :height - The new height. " - } - }, - "221": { - "21": { - "name": "isValidDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 221, - 21 - ], - [ - 224, - 1 - ] - ], - "doc": " Private: Returns true if the dimensions are useable, false if they should be ignored.\nWork around for https://github.com/atom/atom-shell/issues/473 " - } - }, - "224": { - "32": { - "name": "storeDefaultWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 32 - ], - [ - 229, - 1 - ] - ], - "doc": "~Private~" - } - }, - "229": { - "30": { - "name": "getDefaultWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 229, - 30 - ], - [ - 246, - 1 - ] - ], - "doc": "~Private~" - } - }, - "246": { - "27": { - "name": "restoreWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 246, - 27 - ], - [ - 252, - 1 - ] - ], - "doc": "~Private~" - } - }, - "252": { - "25": { - "name": "storeWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 252, - 25 - ], - [ - 259, - 1 - ] - ], - "doc": "~Private~" - } - }, - "259": { - "19": { - "name": "getLoadSettings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 259, - 19 - ], - [ - 262, - 1 - ] - ], - "doc": "Private: Returns the load settings hash associated with the current window. " - } - }, - "262": { - "22": { - "name": "deserializeProject", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 262, - 22 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "28": { - "name": "deserializeWorkspaceView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 28 - ], - [ - 281, - 1 - ] - ], - "doc": "~Private~" - } - }, - "281": { - "28": { - "name": "deserializePackageStates", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 281, - 28 - ], - [ - 285, - 1 - ] - ], - "doc": "~Private~" - } - }, - "285": { - "27": { - "name": "deserializeEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 285, - 27 - ], - [ - 292, - 1 - ] - ], - "doc": "~Private~" - } - }, - "292": { - "21": { - "name": "startEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 21 - ], - [ - 320, - 1 - ] - ], - "doc": "Private: Call this method when establishing a real application window. " - } - }, - "320": { - "22": { - "name": "unloadEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 320, - 22 - ], - [ - 336, - 1 - ] - ], - "doc": "~Private~" - } - }, - "336": { - "14": { - "name": "loadThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 336, - 14 - ], - [ - 339, - 1 - ] - ], - "doc": "~Private~" - } - }, - "339": { - "15": { - "name": "watchThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 339, - 15 - ], - [ - 353, - 1 - ] - ], - "doc": "~Private~" - } - }, - "353": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 353, - 8 - ], - [ - 377, - 1 - ] - ], - "doc": " Public: Open a new Atom window using the given options.\n\nCalling this method without an options parameter will open a prompt to pick\na file/folder to open in the new window.\n\noptions - An {Object} with the following keys:\n :pathsToOpen - An {Array} of {String} paths to open. " - } - }, - "377": { - "11": { - "name": "confirm", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 377, - 11 - ], - [ - 397, - 1 - ] - ], - "doc": " Public: Open a confirm dialog.\n\n## Example\n\n```coffee\n atom.confirm\n message: 'How you feeling?'\n detailedMessage: 'Be honest.'\n buttons:\n Good: -> window.alert('good to hear')\n Bad: -> window.alert('bummer')\n```\n\noptions - An {Object} with the following keys:\n :message - The {String} message to display.\n :detailedMessage - The {String} detailed message to display.\n :buttons - Either an array of strings or an object where keys are\n button names and the values are callbacks to invoke when\n clicked.\n\nReturns the chosen button index {Number} if the buttons option was an array. " - } - }, - "397": { - "18": { - "name": "showSaveDialog", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 397, - 18 - ], - [ - 400, - 1 - ] - ], - "doc": "~Private~" - } - }, - "400": { - "22": { - "name": "showSaveDialogSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultPath" - ], - "range": [ - [ - 400, - 22 - ], - [ - 407, - 1 - ] - ], - "doc": "~Private~" - } - }, - "407": { - "16": { - "name": "openDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 407, - 16 - ], - [ - 411, - 1 - ] - ], - "doc": "Public: Open the dev tools for the current window. " - } - }, - "411": { - "18": { - "name": "toggleDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 411, - 18 - ], - [ - 415, - 1 - ] - ], - "doc": "Public: Toggle the visibility of the dev tools for the current window. " - } - }, - "415": { - "31": { - "name": "executeJavaScriptInDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "code" - ], - "range": [ - [ - 415, - 31 - ], - [ - 419, - 1 - ] - ], - "doc": "Public: Execute code in dev tools. " - } - }, - "419": { - "10": { - "name": "reload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 419, - 10 - ], - [ - 423, - 1 - ] - ], - "doc": "Public: Reload the current window. " - } - }, - "423": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 423, - 9 - ], - [ - 428, - 1 - ] - ], - "doc": "Public: Focus the current window. " - } - }, - "428": { - "8": { - "name": "show", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 8 - ], - [ - 432, - 1 - ] - ], - "doc": "Public: Show the current window. " - } - }, - "432": { - "8": { - "name": "hide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 432, - 8 - ], - [ - 439, - 1 - ] - ], - "doc": "Public: Hide the current window. " - } - }, - "439": { - "11": { - "name": "setSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width", - "height" - ], - "range": [ - [ - 439, - 11 - ], - [ - 446, - 1 - ] - ], - "doc": " Public: Set the size of current window.\n\nwidth - The {Number} of pixels.\nheight - The {Number} of pixels. " - } - }, - "446": { - "15": { - "name": "setPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "x", - "y" - ], - "range": [ - [ - 446, - 15 - ], - [ - 450, - 1 - ] - ], - "doc": " Public: Set the position of current window.\n\nx - The {Number} of pixels.\ny - The {Number} of pixels. " - } - }, - "450": { - "10": { - "name": "center", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 450, - 10 - ], - [ - 457, - 1 - ] - ], - "doc": "Public: Move current window to the center of the screen. " - } - }, - "457": { - "17": { - "name": "displayWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 457, - 17 - ], - [ - 464, - 1 - ] - ], - "doc": " Private: Schedule the window to be shown and focused on the next tick.\n\nThis is done in a next tick to prevent a white flicker from occurring\nif called synchronously. " - } - }, - "464": { - "9": { - "name": "close", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 464, - 9 - ], - [ - 467, - 1 - ] - ], - "doc": "Public: Close the current window. " - } - }, - "467": { - "8": { - "name": "exit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 467, - 8 - ], - [ - 473, - 1 - ] - ], - "doc": "~Private~" - } - }, - "473": { - "13": { - "name": "inDevMode", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 473, - 13 - ], - [ - 477, - 1 - ] - ], - "doc": "Public: Is the current window in development mode? " - } - }, - "477": { - "14": { - "name": "inSpecMode", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 477, - 14 - ], - [ - 481, - 1 - ] - ], - "doc": "Public: Is the current window running specs? " - } - }, - "481": { - "20": { - "name": "toggleFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 481, - 20 - ], - [ - 485, - 1 - ] - ], - "doc": "Public: Toggle the full screen state of the current window. " - } - }, - "485": { - "17": { - "name": "setFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fullScreen" - ], - "range": [ - [ - 485, - 17 - ], - [ - 490, - 1 - ] - ], - "doc": "Public: Set the full screen state of the current window. " - } - }, - "490": { - "16": { - "name": "isFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 490, - 16 - ], - [ - 496, - 1 - ] - ], - "doc": "Public: Is the current window in full screen mode? " - } - }, - "496": { - "14": { - "name": "getVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 496, - 14 - ], - [ - 500, - 1 - ] - ], - "doc": " Public: Get the version of the Atom application.\n\nReturns the version text {String}. " - } - }, - "500": { - "21": { - "name": "isReleasedVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 500, - 21 - ], - [ - 506, - 1 - ] - ], - "doc": "Public: Determine whether the current version is an official release. " - } - }, - "506": { - "20": { - "name": "getConfigDirPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 506, - 20 - ], - [ - 509, - 1 - ] - ], - "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " - } - }, - "509": { - "12": { - "name": "saveSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 509, - 12 - ], - [ - 523, - 1 - ] - ], - "doc": "~Private~" - } - }, - "523": { - "21": { - "name": "getWindowLoadTime", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 523, - 21 - ], - [ - 526, - 1 - ] - ], - "doc": " Public: Get the time taken to completely load the current window.\n\nThis time include things like loading and activating packages, creating\nDOM elements for the editor, and reading the config.\n\nReturns the number of milliseconds taken to load the window or null\nif the window hasn't finished loading yet. " - } - }, - "526": { - "20": { - "name": "crashMainProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 526, - 20 - ], - [ - 529, - 1 - ] - ], - "doc": "~Private~" - } - }, - "529": { - "22": { - "name": "crashRenderProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 529, - 22 - ], - [ - 533, - 1 - ] - ], - "doc": "~Private~" - } - }, - "533": { - "8": { - "name": "beep", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 533, - 8 - ], - [ - 537, - 1 - ] - ], - "doc": "Public: Visually and audibly trigger a beep. " - } - }, - "537": { - "25": { - "name": "getUserInitScriptPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 537, - 25 - ], - [ - 541, - 1 - ] - ], - "doc": "~Private~" - } - }, - "541": { - "25": { - "name": "requireUserInitScript", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 541, - 25 - ], - [ - 555, - 1 - ] - ] - } - }, - "555": { - "22": { - "name": "requireWithGlobals", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id", - "globals" - ], - "range": [ - [ - 555, - 22 - ], - [ - 567, - 27 - ] - ], - "doc": " Public: Require the module with the given globals.\n\nThe globals will be set on the `window` object and removed after the\nrequire completes.\n\nid - The {String} module name or path.\nglobals - An {Object} to set as globals during require (default: {}) " - } - } - }, - "exports": 35 - }, - "src/browser/application-menu.coffee": { - "objects": { - "0": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "1": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "2": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "10": { - "0": { - "type": "class", - "name": "ApplicationMenu", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 22, - 10 - ], - [ - 35, - 20 - ], - [ - 47, - 23 - ], - [ - 58, - 29 - ], - [ - 63, - 21 - ], - [ - 68, - 22 - ], - [ - 90, - 22 - ], - [ - 102, - 17 - ], - [ - 113, - 21 - ], - [ - 131, - 25 - ] - ], - "doc": " Private: Used to manage the global application menu.\n\nIt's created by {AtomApplication} upon instantiation and used to add, remove\nand maintain the state of all menu items. ", - "range": [ - [ - 10, - 0 - ], - [ - 145, - 18 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 22, - 1 - ] - ] - } - }, - "22": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 22, - 10 - ], - [ - 35, - 1 - ] - ], - "doc": " Public: Updates the entire menu with the given keybindings.\n\ntemplate - The Object which describes the menu to display.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke. " - } - }, - "35": { - "20": { - "name": "flattenMenuItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "menu" - ], - "range": [ - [ - 35, - 20 - ], - [ - 47, - 1 - ] - ], - "doc": " Private: Flattens the given menu and submenu items into an single Array.\n\nmenu - A complete menu configuration object for atom-shell's menu API.\n\nReturns an Array of native menu items. " - } - }, - "47": { - "23": { - "name": "flattenMenuTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 47, - 23 - ], - [ - 58, - 1 - ] - ], - "doc": " Private: Flattens the given menu template into an single Array.\n\ntemplate - An object describing the menu item.\n\nReturns an Array of native menu items. " - } - }, - "58": { - "29": { - "name": "enableWindowSpecificItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "enable" - ], - "range": [ - [ - 58, - 29 - ], - [ - 63, - 1 - ] - ], - "doc": " Public: Used to make all window related menu items are active.\n\nenable - If true enables all window specific items, if false disables all\n window specific items. " - } - }, - "63": { - "21": { - "name": "substituteVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 63, - 21 - ], - [ - 68, - 1 - ] - ], - "doc": "Private: Replaces VERSION with the current version. " - } - }, - "68": { - "22": { - "name": "showUpdateMenuItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 68, - 22 - ], - [ - 90, - 1 - ] - ], - "doc": "Private: Sets the proper visible state the update menu items " - } - }, - "90": { - "22": { - "name": "getDefaultTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 22 - ], - [ - 102, - 1 - ] - ], - "doc": " Private: Default list of menu items.\n\nReturns an Array of menu item Objects. " - } - }, - "102": { - "17": { - "name": "focusedWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 17 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "21": { - "name": "translateTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 113, - 21 - ], - [ - 131, - 1 - ] - ], - "doc": " Private: Combines a menu template with the appropriate keystroke.\n\ntemplate - An Object conforming to atom-shell's menu api but lacking\n accelerator and click properties.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a complete menu configuration object for atom-shell's menu API. " - } - }, - "131": { - "25": { - "name": "acceleratorForCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "keystrokesByCommand" - ], - "range": [ - [ - 131, - 25 - ], - [ - 145, - 18 - ] - ], - "doc": " Private: Determine the accelerator for a given command.\n\ncommand - The name of the command.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a String containing the keystroke in a format that can be interpreted\n by atom shell to provide nice icons where available. " - } - } - }, - "exports": 10 - }, - "src/browser/atom-application.coffee": { - "objects": { - "0": { - "13": { - "name": "AtomWindow", - "type": "import", - "range": [ - [ - 0, - 13 - ], - [ - 0, - 35 - ] - ], - "bindingType": "variable", - "path": "./atom-window" - } - }, - "1": { - "18": { - "name": "ApplicationMenu", - "type": "import", - "range": [ - [ - 1, - 18 - ], - [ - 1, - 45 - ] - ], - "bindingType": "variable", - "path": "./application-menu" - } - }, - "2": { - "22": { - "name": "AtomProtocolHandler", - "type": "import", - "range": [ - [ - 2, - 22 - ], - [ - 2, - 54 - ] - ], - "bindingType": "variable", - "path": "./atom-protocol-handler" - } - }, - "3": { - "20": { - "name": "AutoUpdateManager", - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 50 - ] - ], - "bindingType": "variable", - "path": "./auto-update-manager" - } - }, - "4": { - "16": { - "name": "BrowserWindow", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 39 - ] - ], - "bindingType": "variable", - "module": "browser-window" - } - }, - "5": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "6": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 6, - 6 - ], - [ - 6, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "7": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "8": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 8, - 5 - ], - [ - 8, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "9": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 9, - 6 - ], - [ - 9, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "10": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 10, - 7 - ], - [ - 10, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "11": { - "5": { - "name": "os", - "type": "import", - "range": [ - [ - 11, - 5 - ], - [ - 11, - 16 - ] - ], - "bindingType": "variable", - "module": "os", - "builtin": true - } - }, - "12": { - "6": { - "name": "net", - "type": "import", - "range": [ - [ - 12, - 6 - ], - [ - 12, - 18 - ] - ], - "bindingType": "variable", - "module": "net", - "builtin": true - } - }, - "13": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 13, - 8 - ], - [ - 13, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "14": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 14, - 6 - ], - [ - 14, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "15": { - "1": { - "type": "import", - "range": [ - [ - 15, - 1 - ], - [ - 15, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "16": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 16, - 4 - ], - [ - 16, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "30": { - "0": { - "type": "class", - "name": "AtomApplication", - "bindingType": "exports", - "classProperties": [ - [ - 34, - 9 - ] - ], - "prototypeProperties": [ - [ - 52, - 11 - ], - [ - 53, - 19 - ], - [ - 54, - 23 - ], - [ - 55, - 16 - ], - [ - 56, - 11 - ], - [ - 58, - 8 - ], - [ - 60, - 15 - ], - [ - 83, - 19 - ], - [ - 94, - 16 - ], - [ - 99, - 13 - ], - [ - 110, - 36 - ], - [ - 119, - 20 - ], - [ - 132, - 28 - ], - [ - 136, - 16 - ], - [ - 232, - 15 - ], - [ - 245, - 23 - ], - [ - 254, - 31 - ], - [ - 274, - 19 - ], - [ - 282, - 17 - ], - [ - 287, - 17 - ], - [ - 298, - 13 - ], - [ - 311, - 12 - ], - [ - 337, - 20 - ], - [ - 341, - 24 - ], - [ - 346, - 15 - ], - [ - 364, - 11 - ], - [ - 393, - 12 - ], - [ - 406, - 17 - ], - [ - 415, - 25 - ], - [ - 440, - 17 - ] - ], - "doc": " Private: The application's singleton class.\n\nIt's the entry point into the Atom application and maintains the global state\nof the application.\n\n ", - "range": [ - [ - 30, - 0 - ], - [ - 449, - 50 - ] - ] - } - }, - "34": { - "9": { - "name": "open", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 34, - 9 - ], - [ - 52, - 1 - ] - ], - "doc": "Public: The entry point into the Atom application. " - } - }, - "52": { - "11": { - "name": "windows", - "type": "primitive", - "range": [ - [ - 52, - 11 - ], - [ - 52, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "53": { - "19": { - "name": "applicationMenu", - "type": "primitive", - "range": [ - [ - 53, - 19 - ], - [ - 53, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "54": { - "23": { - "name": "atomProtocolHandler", - "type": "primitive", - "range": [ - [ - 54, - 23 - ], - [ - 54, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "55": { - "16": { - "name": "resourcePath", - "type": "primitive", - "range": [ - [ - 55, - 16 - ], - [ - 55, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "56": { - "11": { - "name": "version", - "type": "primitive", - "range": [ - [ - 56, - 11 - ], - [ - 56, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "58": { - "8": { - "name": "exit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 58, - 8 - ], - [ - 58, - 35 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 60, - 15 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "19": { - "name": "openWithOptions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 83, - 19 - ], - [ - 94, - 1 - ] - ], - "doc": "Private: Opens a new window based on the options provided. " - } - }, - "94": { - "16": { - "name": "removeWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "window" - ], - "range": [ - [ - 94, - 16 - ], - [ - 99, - 1 - ] - ], - "doc": "Public: Removes the {AtomWindow} from the global window list. " - } - }, - "99": { - "13": { - "name": "addWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "window" - ], - "range": [ - [ - 99, - 13 - ], - [ - 110, - 1 - ] - ], - "doc": "Public: Adds the {AtomWindow} to the global window list. " - } - }, - "110": { - "36": { - "name": "listenForArgumentsFromNewProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 36 - ], - [ - 119, - 1 - ] - ], - "doc": " Private: Creates server to listen for additional atom application launches.\n\nYou can run the atom command multiple times, but after the first launch\nthe other launches will just pass their information to this server and then\nclose immediately. " - } - }, - "119": { - "20": { - "name": "deleteSocketFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 119, - 20 - ], - [ - 132, - 1 - ] - ], - "doc": "~Private~" - } - }, - "132": { - "28": { - "name": "setupJavaScriptArguments", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 132, - 28 - ], - [ - 136, - 1 - ] - ], - "doc": "Private: Configures required javascript environment flags. " - } - }, - "136": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 16 - ], - [ - 232, - 1 - ] - ], - "doc": "Private: Registers basic application commands, non-idempotent. " - } - }, - "232": { - "15": { - "name": "sendCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 232, - 15 - ], - [ - 245, - 1 - ] - ], - "doc": " Public: Executes the given command.\n\nIf it isn't handled globally, delegate to the currently focused window.\n\ncommand - The string representing the command.\nargs - The optional arguments to pass along. " - } - }, - "245": { - "23": { - "name": "sendCommandToWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "atomWindow", - "args" - ], - "range": [ - [ - 245, - 23 - ], - [ - 254, - 1 - ] - ], - "doc": " Public: Executes the given command on the given window.\n\ncommand - The string representing the command.\natomWindow - The {AtomWindow} to send the command to.\nargs - The optional arguments to pass along. " - } - }, - "254": { - "31": { - "name": "sendCommandToFirstResponder", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command" - ], - "range": [ - [ - 254, - 31 - ], - [ - 274, - 1 - ] - ], - "doc": " Private: Translates the command into OS X action and sends it to application's first\nresponder. " - } - }, - "274": { - "19": { - "name": "openPathOnEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventName", - "pathToOpen" - ], - "range": [ - [ - 274, - 19 - ], - [ - 282, - 1 - ] - ], - "doc": " Public: Open the given path in the focused window when the event is\ntriggered.\n\nA new window will be created if there is no currently focused window.\n\neventName - The event to listen for.\npathToOpen - The path to open when the event is triggered. " - } - }, - "282": { - "17": { - "name": "windowForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen" - ], - "range": [ - [ - 282, - 17 - ], - [ - 287, - 1 - ] - ], - "doc": "Private: Returns the {AtomWindow} for the given path. " - } - }, - "287": { - "17": { - "name": "focusedWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 287, - 17 - ], - [ - 298, - 1 - ] - ], - "doc": "Public: Returns the currently focused {AtomWindow} or undefined if none. " - } - }, - "298": { - "13": { - "name": "openPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 298, - 13 - ], - [ - 311, - 1 - ] - ], - "doc": " Public: Opens multiple paths, in existing windows if possible.\n\noptions -\n :pathsToOpen - The array of file paths to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " - } - }, - "311": { - "12": { - "name": "openPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 311, - 12 - ], - [ - 337, - 1 - ] - ], - "doc": " Public: Opens a single path, in an existing window if possible.\n\noptions -\n :pathToOpen - The file path to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode.\n :windowDimensions - Object with height and width keys. " - } - }, - "337": { - "20": { - "name": "killAllProcesses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 337, - 20 - ], - [ - 341, - 1 - ] - ], - "doc": "Private: Kill all processes associated with opened windows. " - } - }, - "341": { - "24": { - "name": "killProcessForWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "openedWindow" - ], - "range": [ - [ - 341, - 24 - ], - [ - 346, - 1 - ] - ], - "doc": "Private: Kill process associated with the given opened window. " - } - }, - "346": { - "15": { - "name": "killProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pid" - ], - "range": [ - [ - 346, - 15 - ], - [ - 364, - 1 - ] - ], - "doc": "Private: Kill the process with the given pid. " - } - }, - "364": { - "11": { - "name": "openUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 364, - 11 - ], - [ - 393, - 1 - ] - ], - "doc": " Private: Open an atom:// url.\n\nThe host of the URL being opened is assumed to be the package name\nresponsible for opening the URL. A new window will be created with\nthat package's `urlMain` as the bootstrap script.\n\noptions -\n :urlToOpen - The atom:// url to open.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " - } - }, - "393": { - "12": { - "name": "runSpecs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 393, - 12 - ], - [ - 406, - 1 - ] - ], - "doc": " Private: Opens up a new {AtomWindow} to run specs within.\n\noptions -\n :exitWhenDone - A Boolean that if true, will close the window upon\n completion.\n :resourcePath - The path to include specs from.\n :specPath - The directory to load specs from. " - } - }, - "406": { - "17": { - "name": "runBenchmarks", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 406, - 17 - ], - [ - 415, - 1 - ] - ], - "doc": "~Private~" - } - }, - "415": { - "25": { - "name": "locationForPathToOpen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen" - ], - "range": [ - [ - 415, - 25 - ], - [ - 440, - 1 - ] - ], - "doc": "~Private~" - } - }, - "440": { - "17": { - "name": "promptForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 440, - 17 - ], - [ - 449, - 50 - ] - ], - "doc": " Private: Opens a native dialog to prompt the user for a path.\n\nOnce paths are selected, they're opened in a new or existing {AtomWindow}s.\n\noptions -\n :type - A String which specifies the type of the dialog, could be 'file',\n 'folder' or 'all'. The 'all' is only available on OS X.\n :devMode - A Boolean which controls whether any newly opened windows\n should be in dev mode or not.\n :safeMode - A Boolean which controls whether any newly opened windows\n should be in safe mode or not. " - } - } - }, - "exports": 30 - }, - "src/browser/atom-protocol-handler.coffee": { - "objects": { - "0": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2" - } - }, - "2": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "3": { - "11": { - "name": "protocol", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "protocol" - } - }, - "10": { - "0": { - "type": "class", - "name": "AtomProtocolHandler", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 21, - 24 - ] - ], - "doc": " Private: Handles requests with 'atom' protocol.\n\nIt's created by {AtomApplication} upon instantiation, and is used to create a\ncustom resource loader by adding the 'atom' custom protocol. ", - "range": [ - [ - 10, - 0 - ], - [ - 27, - 50 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 21, - 1 - ] - ] - } - }, - "21": { - "24": { - "name": "registerAtomProtocol", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 24 - ], - [ - 27, - 50 - ] - ], - "doc": "Private: Creates the 'atom' custom protocol handler. " - } - } - }, - "exports": 10 - }, - "src/browser/atom-window.coffee": { - "objects": { - "0": { - "16": { - "name": "BrowserWindow", - "type": "import", - "range": [ - [ - 0, - 16 - ], - [ - 0, - 39 - ] - ], - "bindingType": "variable", - "module": "browser-window" - } - }, - "1": { - "14": { - "name": "ContextMenu", - "type": "import", - "range": [ - [ - 1, - 14 - ], - [ - 1, - 37 - ] - ], - "bindingType": "variable", - "path": "./context-menu" - } - }, - "2": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "3": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 3, - 9 - ], - [ - 3, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "4": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "6": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 6, - 6 - ], - [ - 6, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "7": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "11": { - "0": { - "type": "class", - "name": "AtomWindow", - "bindingType": "exports", - "classProperties": [ - [ - 14, - 13 - ], - [ - 15, - 25 - ] - ], - "prototypeProperties": [ - [ - 17, - 17 - ], - [ - 18, - 10 - ], - [ - 19, - 10 - ], - [ - 21, - 15 - ], - [ - 56, - 10 - ], - [ - 68, - 18 - ], - [ - 71, - 16 - ], - [ - 86, - 16 - ], - [ - 126, - 12 - ], - [ - 133, - 15 - ], - [ - 147, - 30 - ], - [ - 151, - 17 - ], - [ - 156, - 9 - ], - [ - 158, - 9 - ], - [ - 160, - 12 - ], - [ - 162, - 12 - ], - [ - 164, - 11 - ], - [ - 166, - 23 - ], - [ - 169, - 13 - ], - [ - 171, - 20 - ], - [ - 173, - 16 - ], - [ - 175, - 10 - ], - [ - 177, - 18 - ] - ], - "doc": "~Private~", - "range": [ - [ - 11, - 0 - ], - [ - 177, - 52 - ] - ] - } - }, - "14": { - "13": { - "name": "iconPath", - "type": "function", - "range": [ - [ - 14, - 13 - ], - [ - 14, - 72 - ] - ], - "bindingType": "classProperty" - } - }, - "15": { - "25": { - "name": "includeShellLoadTime", - "type": "primitive", - "range": [ - [ - 15, - 25 - ], - [ - 15, - 28 - ] - ], - "bindingType": "classProperty" - } - }, - "17": { - "17": { - "name": "browserWindow", - "type": "primitive", - "range": [ - [ - 17, - 17 - ], - [ - 17, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "10": { - "name": "loaded", - "type": "primitive", - "range": [ - [ - 18, - 10 - ], - [ - 18, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "10": { - "name": "isSpec", - "type": "primitive", - "range": [ - [ - 19, - 10 - ], - [ - 19, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "settings" - ], - "range": [ - [ - 21, - 15 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "10": { - "name": "getUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "loadSettingsObj" - ], - "range": [ - [ - 56, - 10 - ], - [ - 68, - 1 - ] - ], - "doc": "~Private~" - } - }, - "68": { - "18": { - "name": "getInitialPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 18 - ], - [ - 71, - 1 - ] - ], - "doc": "~Private~" - } - }, - "71": { - "16": { - "name": "containsPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToCheck" - ], - "range": [ - [ - 71, - 16 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 16 - ], - [ - 126, - 1 - ] - ], - "doc": "~Private~" - } - }, - "126": { - "12": { - "name": "openPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen", - "initialLine", - "initialColumn" - ], - "range": [ - [ - 126, - 12 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "15": { - "name": "sendCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 133, - 15 - ], - [ - 147, - 1 - ] - ], - "doc": "~Private~" - } - }, - "147": { - "30": { - "name": "sendCommandToBrowserWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 147, - 30 - ], - [ - 151, - 1 - ] - ], - "doc": "~Private~" - } - }, - "151": { - "17": { - "name": "getDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 151, - 17 - ], - [ - 156, - 1 - ] - ], - "doc": "~Private~" - } - }, - "156": { - "9": { - "name": "close", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 156, - 9 - ], - [ - 156, - 33 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 9 - ], - [ - 158, - 33 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "12": { - "name": "minimize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 160, - 12 - ], - [ - 160, - 39 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "12": { - "name": "maximize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 12 - ], - [ - 162, - 39 - ] - ], - "doc": "~Private~" - } - }, - "164": { - "11": { - "name": "restore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 164, - 11 - ], - [ - 164, - 37 - ] - ], - "doc": "~Private~" - } - }, - "166": { - "23": { - "name": "handlesAtomCommands", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 166, - 23 - ], - [ - 169, - 1 - ] - ], - "doc": "~Private~" - } - }, - "169": { - "13": { - "name": "isFocused", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 169, - 13 - ], - [ - 169, - 41 - ] - ], - "doc": "~Private~" - } - }, - "171": { - "20": { - "name": "isWebViewFocused", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 20 - ], - [ - 171, - 55 - ] - ], - "doc": "~Private~" - } - }, - "173": { - "16": { - "name": "isSpecWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 173, - 16 - ], - [ - 173, - 25 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "10": { - "name": "reload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 175, - 10 - ], - [ - 175, - 36 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "18": { - "name": "toggleDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 18 - ], - [ - 177, - 51 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 11 - }, - "src/browser/auto-update-manager.coffee": { - "objects": { - "0": { - "8": { - "name": "https", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 22 - ] - ], - "bindingType": "variable", - "module": "https", - "builtin": true - } - }, - "1": { - "14": { - "name": "autoUpdater", - "type": "import", - "range": [ - [ - 1, - 14 - ], - [ - 1, - 35 - ] - ], - "bindingType": "variable", - "module": "auto-updater" - } - }, - "2": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "6": { - "11": { - "name": "'idle'", - "type": "primitive", - "range": [ - [ - 6, - 11 - ], - [ - 6, - 16 - ] - ] - } - }, - "7": { - "15": { - "name": "'checking'", - "type": "primitive", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 24 - ] - ] - } - }, - "8": { - "18": { - "name": "'downloading'", - "type": "primitive", - "range": [ - [ - 8, - 18 - ], - [ - 8, - 30 - ] - ] - } - }, - "9": { - "23": { - "name": "'update-available'", - "type": "primitive", - "range": [ - [ - 9, - 23 - ], - [ - 9, - 40 - ] - ] - } - }, - "10": { - "26": { - "name": "'no-update-available'", - "type": "primitive", - "range": [ - [ - 10, - 26 - ], - [ - 10, - 46 - ] - ] - } - }, - "11": { - "12": { - "name": "'error'", - "type": "primitive", - "range": [ - [ - 11, - 12 - ], - [ - 11, - 18 - ] - ] - } - }, - "14": { - "0": { - "type": "class", - "name": "AutoUpdateManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 15 - ], - [ - 48, - 23 - ], - [ - 63, - 28 - ], - [ - 68, - 12 - ], - [ - 73, - 12 - ], - [ - 76, - 9 - ], - [ - 83, - 11 - ], - [ - 86, - 24 - ], - [ - 90, - 17 - ], - [ - 94, - 14 - ] - ], - "doc": "~Private~", - "range": [ - [ - 14, - 0 - ], - [ - 95, - 34 - ] - ] - } - }, - "17": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 17, - 15 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "23": { - "name": "checkForUpdatesShim", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 23 - ], - [ - 63, - 1 - ] - ], - "doc": "Private: Windows doesn't have an auto-updater, so use this method to shim the events. " - } - }, - "63": { - "28": { - "name": "emitUpdateAvailableEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "windows" - ], - "range": [ - [ - 63, - 28 - ], - [ - 68, - 1 - ] - ], - "doc": "~Private~" - } - }, - "68": { - "12": { - "name": "setState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 68, - 12 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "12": { - "name": "getState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 12 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "9": { - "name": "check", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 76, - 9 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "11": { - "name": "install", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 83, - 11 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "24": { - "name": "onUpdateNotAvailable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 24 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "17": { - "name": "onUpdateError", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event", - "message" - ], - "range": [ - [ - 90, - 17 - ], - [ - 94, - 1 - ] - ], - "doc": "~Private~" - } - }, - "94": { - "14": { - "name": "getWindows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 14 - ], - [ - 95, - 34 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 14 - }, - "src/browser/context-menu.coffee": { - "objects": { - "0": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "3": { - "0": { - "type": "class", - "name": "ContextMenu", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 4, - 15 - ], - [ - 12, - 23 - ] - ], - "doc": "~Private~", - "range": [ - [ - 3, - 0 - ], - [ - 23, - 10 - ] - ] - } - }, - "4": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - null - ], - "range": [ - [ - 4, - 15 - ], - [ - 12, - 1 - ] - ] - } - }, - "12": { - "23": { - "name": "createClickHandlers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 12, - 23 - ], - [ - 23, - 10 - ] - ], - "doc": " Private: It's necessary to build the event handlers in this process, otherwise\nclosures are drug across processes and failed to be garbage collected\nappropriately. " - } - } - }, - "exports": 3 - }, - "src/browser/main.coffee": { - "objects": { - "0": { - "24": { - "name": "global.shellStartTime", - "type": "function", - "range": [ - [ - 0, - 24 - ], - [ - 0, - 33 - ] - ] - } - }, - "2": { - "16": { - "name": "crashReporter", - "type": "import", - "range": [ - [ - 2, - 16 - ], - [ - 2, - 39 - ] - ], - "bindingType": "variable", - "module": "crash-reporter" - } - }, - "3": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 3, - 6 - ], - [ - 3, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "6": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 6, - 7 - ], - [ - 6, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "7": { - "11": { - "name": "optimist", - "type": "import", - "range": [ - [ - 7, - 11 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "optimist" - } - }, - "8": { - "8": { - "name": "nslog", - "type": "import", - "range": [ - [ - 8, - 8 - ], - [ - 8, - 22 - ] - ], - "bindingType": "variable", - "module": "nslog" - } - }, - "9": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 9, - 9 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "11": { - "14": { - "name": "nslog", - "type": "primitive", - "range": [ - [ - 11, - 14 - ], - [ - 11, - 18 - ] - ] - } - }, - "17": { - "8": { - "name": "start", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 8 - ], - [ - 51, - 0 - ] - ], - "doc": "~Private~" - } - }, - "54": { - "25": { - "name": "global.devResourcePath", - "type": "function", - "range": [ - [ - 54, - 25 - ], - [ - 54, - 62 - ] - ] - } - }, - "56": { - "21": { - "name": "setupCrashReporter", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 21 - ], - [ - 58, - 0 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "19": { - "name": "parseCommandLine", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 19 - ], - [ - 110, - 0 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": {} - }, - "src/buffered-node-process.coffee": { - "objects": { - "0": { - "18": { - "name": "BufferedProcess", - "type": "import", - "range": [ - [ - 0, - 18 - ], - [ - 0, - 45 - ] - ], - "bindingType": "variable", - "path": "./buffered-process" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "14": { - "0": { - "type": "class", - "name": "BufferedNodeProcess", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 36, - 15 - ] - ], - "doc": " Public: Like {BufferedProcess}, but accepts a Node script as the command\nto run.\n\nThis is necessary on Windows since it doesn't support shebang `#!` lines.\n\n## Requiring in packages\n\n```coffee\n{BufferedNodeProcess} = require 'atom'\n``` ", - "range": [ - [ - 14, - 0 - ], - [ - 50, - 63 - ] - ] - } - }, - "36": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 36, - 15 - ], - [ - 50, - 63 - ] - ], - "doc": " Public: Runs the given Node script by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} path to the JavaScript script to execute.\n :args - The {Array} of arguments to pass to the script (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " - } - } - }, - "exports": 14 - }, - "src/buffered-process.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "1": { - "15": { - "name": "ChildProcess", - "type": "import", - "range": [ - [ - 1, - 15 - ], - [ - 1, - 37 - ] - ], - "bindingType": "variable", - "module": "child_process", - "builtin": true - } - }, - "18": { - "0": { - "type": "class", - "name": "BufferedProcess", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 40, - 15 - ], - [ - 99, - 16 - ], - [ - 117, - 8 - ] - ], - "doc": " Public: A wrapper which provides standard error/output line buffering for\nNode's ChildProcess.\n\n## Requiring in packages\n\n```coffee\n{BufferedProcess} = require 'atom'\n\ncommand = 'ps'\nargs = ['-ef']\nstdout = (output) -> console.log(output)\nexit = (code) -> console.log(\"ps -ef exited with #{code}\")\nprocess = new BufferedProcess({command, args, stdout, exit})\n``` ", - "range": [ - [ - 18, - 0 - ], - [ - 120, - 19 - ] - ] - } - }, - "40": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 40, - 15 - ], - [ - 99, - 1 - ] - ], - "doc": " Public: Runs the given command by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} command to execute.\n :args - The {Array} of arguments to pass to the command (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " - } - }, - "99": { - "16": { - "name": "bufferStream", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stream", - "onLines", - "onDone" - ], - "range": [ - [ - 99, - 16 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: Helper method to pass data line by line.\n\nstream - The Stream to read from.\nonLines - The callback to call with each line of data.\nonDone - The callback to call when the stream has closed. " - } - }, - "117": { - "8": { - "name": "kill", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 8 - ], - [ - 120, - 19 - ] - ], - "doc": "Public: Terminate the process. " - } - } - }, - "exports": 18 - }, - "src/clipboard.coffee": { - "objects": { - "0": { - "12": { - "name": "clipboard", - "type": "import", - "range": [ - [ - 0, - 12 - ], - [ - 0, - 30 - ] - ], - "bindingType": "variable", - "module": "clipboard" - } - }, - "1": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 1, - 9 - ], - [ - 1, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "7": { - "0": { - "type": "class", - "name": "Clipboard", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 8, - 12 - ], - [ - 9, - 24 - ], - [ - 16, - 7 - ], - [ - 26, - 9 - ], - [ - 34, - 8 - ], - [ - 43, - 20 - ] - ], - "doc": " Public: Represents the clipboard used for copying and pasting in Atom.\n\nAn instance of this class is always available as the `atom.clipboard` global. ", - "range": [ - [ - 7, - 0 - ], - [ - 48, - 12 - ] - ] - } - }, - "8": { - "12": { - "name": "metadata", - "type": "primitive", - "range": [ - [ - 8, - 12 - ], - [ - 8, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "24": { - "name": "signatureForMetadata", - "type": "primitive", - "range": [ - [ - 9, - 24 - ], - [ - 9, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "7": { - "name": "md5", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 16, - 7 - ], - [ - 26, - 1 - ] - ], - "doc": " Private: Creates an `md5` hash of some text.\n\ntext - A {String} to hash.\n\nReturns a hashed {String}. " - } - }, - "26": { - "9": { - "name": "write", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "metadata" - ], - "range": [ - [ - 26, - 9 - ], - [ - 34, - 1 - ] - ], - "doc": " Public: Write the given text to the clipboard.\n\nThe metadata associated with the text is available by calling\n{::readWithMetadata}.\n\ntext - The {String} to store.\nmetadata - The additional info to associate with the text. " - } - }, - "34": { - "8": { - "name": "read", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 8 - ], - [ - 43, - 1 - ] - ], - "doc": " Public: Read the text from the clipboard.\n\nReturns a {String}. " - } - }, - "43": { - "20": { - "name": "readWithMetadata", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 20 - ], - [ - 48, - 12 - ] - ], - "doc": " Public: Read the text from the clipboard and return both the text and the\nassociated metadata.\n\nReturns an {Object} with the following keys:\n :text - The {String} clipboard text.\n :metadata - The metadata stored by an earlier call to {::write}. " - } - } - }, - "exports": 7 - }, - "src/coffee-cache.coffee": { - "objects": { - "0": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 0, - 9 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "3": { - "15": { - "name": "CoffeeScript", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 37 - ] - ], - "bindingType": "variable", - "module": "coffee-script" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2" - } - }, - "8": { - "17": { - "name": "coffeeCacheDir", - "type": "function", - "range": [ - [ - 8, - 17 - ], - [ - 8, - 45 - ] - ] - } - }, - "11": { - "15": { - "name": "getCachePath", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "coffee" - ], - "range": [ - [ - 11, - 15 - ], - [ - 14, - 0 - ] - ], - "doc": "~Private~" - } - }, - "15": { - "22": { - "name": "getCachedJavaScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "cachePath" - ], - "range": [ - [ - 15, - 22 - ], - [ - 19, - 0 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "18": { - "name": "convertFilePath", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 20, - 18 - ], - [ - 24, - 0 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "22": { - "name": "compileCoffeeScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "coffee", - "filePath", - "cachePath" - ], - "range": [ - [ - 25, - 22 - ], - [ - 33, - 0 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "22": { - "name": "requireCoffeeScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "module", - "filePath" - ], - "range": [ - [ - 34, - 22 - ], - [ - 39, - 0 - ] - ] - } - }, - "41": { - "12": { - "name": "cacheDir", - "type": "primitive", - "range": [ - [ - 41, - 12 - ], - [ - 41, - 19 - ] - ] - } - }, - "42": { - "12": { - "name": "register", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 12 - ], - [ - 46, - 6 - ] - ], - "doc": null - } - } - }, - "exports": 41 - }, - "src/command-installer.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "2": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 22 - ] - ], - "bindingType": "variable", - "module": "async" - } - }, - "3": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 3, - 5 - ], - [ - 3, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2" - } - }, - "4": { - "9": { - "name": "mkdirp", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 24 - ] - ], - "bindingType": "variable", - "module": "mkdirp" - } - }, - "5": { - "8": { - "name": "runas", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "module": "runas" - } - }, - "7": { - "17": { - "name": "symlinkCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "sourcePath", - "destinationPath", - "callback" - ], - "range": [ - [ - 7, - 17 - ], - [ - 17, - 0 - ] - ], - "doc": "~Private~" - } - }, - "18": { - "34": { - "name": "symlinkCommandWithPrivilegeSync", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "sourcePath", - "destinationPath" - ], - "range": [ - [ - 18, - 34 - ], - [ - 27, - 0 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "23": { - "name": "getInstallDirectory", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 23 - ], - [ - 32, - 1 - ] - ], - "doc": null - } - }, - "32": { - "11": { - "name": "install", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "commandPath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 32, - 11 - ], - [ - 52, - 1 - ] - ], - "doc": null - } - }, - "52": { - "22": { - "name": "installAtomCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "resourcePath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 52, - 22 - ], - [ - 56, - 1 - ] - ], - "doc": null - } - }, - "56": { - "21": { - "name": "installApmCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "resourcePath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 56, - 21 - ], - [ - 58, - 51 - ] - ], - "doc": null - } - } - }, - "exports": 29 - }, - "src/config.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "3": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1" - } - }, - "4": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "5": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "module": "async" - } - }, - "6": { - "14": { - "name": "pathWatcher", - "type": "import", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 34 - ] - ], - "bindingType": "variable", - "module": "pathwatcher" - } - }, - "25": { - "0": { - "type": "class", - "name": "Config", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 36, - 29 - ], - [ - 52, - 8 - ], - [ - 57, - 18 - ], - [ - 72, - 21 - ], - [ - 76, - 23 - ], - [ - 80, - 15 - ], - [ - 91, - 21 - ], - [ - 95, - 15 - ], - [ - 104, - 7 - ], - [ - 114, - 10 - ], - [ - 125, - 18 - ], - [ - 136, - 7 - ], - [ - 152, - 10 - ], - [ - 160, - 18 - ], - [ - 168, - 14 - ], - [ - 178, - 13 - ], - [ - 187, - 17 - ], - [ - 199, - 20 - ], - [ - 211, - 19 - ], - [ - 231, - 11 - ], - [ - 253, - 13 - ], - [ - 256, - 10 - ], - [ - 261, - 8 - ] - ], - "doc": " Public: Used to access all of Atom's configuration details.\n\nAn instance of this class is always available as the `atom.config` global.\n\n## Best practices\n\n* Create your own root keypath using your package's name.\n* Don't depend on (or write to) configuration keys outside of your keypath.\n\n## Example\n\n```coffeescript\natom.config.set('my-package.key', 'value')\natom.config.observe 'my-package.key', ->\n console.log 'My configuration changed:', atom.config.get('my-package.key')\n``` ", - "range": [ - [ - 25, - 0 - ], - [ - 262, - 50 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 29, - 15 - ], - [ - 36, - 1 - ] - ], - "doc": "Private: Created during initialization, available as `atom.config` " - } - }, - "36": { - "29": { - "name": "initializeConfigDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "done" - ], - "range": [ - [ - 36, - 29 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 8 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "18": { - "name": "loadUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 18 - ], - [ - 72, - 1 - ] - ], - "doc": "~Private~" - } - }, - "72": { - "21": { - "name": "observeUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 72, - 21 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "23": { - "name": "unobserveUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 23 - ], - [ - 80, - 1 - ] - ], - "doc": "~Private~" - } - }, - "80": { - "15": { - "name": "setDefaults", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "defaults" - ], - "range": [ - [ - 80, - 15 - ], - [ - 91, - 1 - ] - ], - "doc": "~Private~" - } - }, - "91": { - "21": { - "name": "getUserConfigPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 21 - ], - [ - 95, - 1 - ] - ], - "doc": "Public: Get the {String} path to the config file being used. " - } - }, - "95": { - "15": { - "name": "getSettings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 95, - 15 - ], - [ - 104, - 1 - ] - ], - "doc": "Public: Returns a new {Object} containing all of settings and defaults. " - } - }, - "104": { - "7": { - "name": "get", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 104, - 7 - ], - [ - 114, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key.\n\nkeyPath - The {String} name of the key to retrieve.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `null` if the key doesn't exist in either. " - } - }, - "114": { - "10": { - "name": "getInt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 114, - 10 - ], - [ - 125, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key as an integer.\n\nkeyPath - The {String} name of the key to retrieve\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `NaN` if the key doesn't exist in either. " - } - }, - "125": { - "18": { - "name": "getPositiveInt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "defaultValue" - ], - "range": [ - [ - 125, - 18 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key as a positive integer.\n\nkeyPath - The {String} name of the key to retrieve\ndefaultValue - The integer {Number} to fall back to if the value isn't\n positive, defaults to 0.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `defaultValue` if the key value isn't greater than zero. " - } - }, - "136": { - "7": { - "name": "set", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 136, - 7 - ], - [ - 152, - 1 - ] - ], - "doc": " Public: Sets the value for a configuration setting.\n\nThis value is stored in Atom's internal configuration file.\n\nkeyPath - The {String} name of the key.\nvalue - The value of the setting.\n\nReturns the `value`. " - } - }, - "152": { - "10": { - "name": "toggle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 152, - 10 - ], - [ - 160, - 1 - ] - ], - "doc": " Public: Toggle the value at the key path.\n\nThe new value will be `true` if the value is currently falsy and will be\n`false` if the value is currently truthy.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " - } - }, - "160": { - "18": { - "name": "restoreDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 160, - 18 - ], - [ - 168, - 1 - ] - ], - "doc": " Public: Restore the key path to its default value.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " - } - }, - "168": { - "14": { - "name": "getDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 168, - 14 - ], - [ - 178, - 1 - ] - ], - "doc": " Public: Get the default value of the key path.\n\nkeyPath - The {String} name of the key.\n\nReturns the default value. " - } - }, - "178": { - "13": { - "name": "isDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 178, - 13 - ], - [ - 187, - 1 - ] - ], - "doc": " Public: Is the key path value its default value?\n\nkeyPath - The {String} name of the key.\n\nReturns a {Boolean}, `true` if the current value is the default, `false`\notherwise. " - } - }, - "187": { - "17": { - "name": "pushAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 187, - 17 - ], - [ - 199, - 1 - ] - ], - "doc": " Public: Push the value to the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to push to the array.\n\nReturns the new array length {Number} of the setting. " - } - }, - "199": { - "20": { - "name": "unshiftAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 199, - 20 - ], - [ - 211, - 1 - ] - ], - "doc": " Public: Add the value to the beginning of the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to shift onto the array.\n\nReturns the new array length {Number} of the setting. " - } - }, - "211": { - "19": { - "name": "removeAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 211, - 19 - ], - [ - 231, - 1 - ] - ], - "doc": " Public: Remove the value from the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to remove from the array.\n\nReturns the new array value of the setting. " - } - }, - "231": { - "11": { - "name": "observe", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "options", - "callback" - ], - "range": [ - [ - 231, - 11 - ], - [ - 253, - 1 - ] - ], - "doc": " Public: Establishes an event listener for a given key.\n\n`callback` is fired whenever the value of the key is changed and will\n be fired immediately unless the `callNow` option is `false`.\n\nkeyPath - The {String} name of the key to observe\noptions - An optional {Object} containing the `callNow` key.\ncallback - The {Function} to call when the value of the key changes.\n The first argument will be the new value of the key and the\n  second argument will be an {Object} with a `previous` property\n that is the prior value of the key.\n\nReturns an {Object} with the following keys:\n :off - A {Function} that unobserves the `keyPath` when called. " - } - }, - "253": { - "13": { - "name": "unobserve", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 253, - 13 - ], - [ - 256, - 1 - ] - ], - "doc": " Public: Unobserve all callbacks on a given key.\n\nkeyPath - The {String} name of the key to unobserve. " - } - }, - "256": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 10 - ], - [ - 261, - 1 - ] - ], - "doc": "~Private~" - } - }, - "261": { - "8": { - "name": "save", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 8 - ], - [ - 262, - 50 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 25 - }, - "src/context-menu-manager.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "2": { - "9": { - "name": "remote", - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 24 - ] - ], - "bindingType": "variable", - "module": "remote" - } - }, - "10": { - "0": { - "type": "class", - "name": "ContextMenuManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 33, - 7 - ], - [ - 45, - 17 - ], - [ - 60, - 17 - ], - [ - 66, - 25 - ], - [ - 82, - 38 - ], - [ - 91, - 34 - ], - [ - 105, - 24 - ], - [ - 111, - 16 - ] - ], - "doc": " Public: Provides a registry for commands that you'd like to appear in the\ncontext menu.\n\nAn instance of this class is always available as the `atom.contextMenu`\nglobal. ", - "range": [ - [ - 10, - 0 - ], - [ - 116, - 64 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 33, - 1 - ] - ] - } - }, - "33": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "object", - null - ], - "range": [ - [ - 33, - 7 - ], - [ - 45, - 1 - ] - ], - "doc": " Public: Creates menu definitions from the object specified by the menu\ncson API.\n\nname - The path of the file that contains the menu definitions.\nobject - The 'context-menu' object specified in the menu cson API.\noptions - An {Object} with the following keys:\n :devMode - Determines whether the entries should only be shown when\n the window is in dev mode.\n\nReturns nothing. " - } - }, - "45": { - "17": { - "name": "buildMenuItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "label", - "command" - ], - "range": [ - [ - 45, - 17 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "17": { - "name": "addBySelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "definition", - null - ], - "range": [ - [ - 60, - 17 - ], - [ - 66, - 1 - ] - ], - "doc": " Private: Registers a command to be displayed when the relevant item is right\nclicked.\n\nselector - The css selector for the active element which should include\n the given command in its context menu.\ndefinition - The object containing keys which match the menu template API.\noptions - An {Object} with the following keys:\n :devMode - Indicates whether this command should only appear while the\n editor is in dev mode. " - } - }, - "66": { - "25": { - "name": "definitionsForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element", - null - ], - "range": [ - [ - 66, - 25 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Returns definitions which match the element and devMode. " - } - }, - "82": { - "38": { - "name": "menuTemplateForMostSpecificElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element", - null - ], - "range": [ - [ - 82, - 38 - ], - [ - 91, - 1 - ] - ], - "doc": " Private: Used to generate the context menu for a specific element and it's\nparents.\n\nThe menu items are sorted such that menu items that match closest to the\nactive element are listed first. The further down the list you go, the higher\nup the ancestor hierarchy they match.\n\nelement - The DOM element to generate the menu template for. " - } - }, - "91": { - "34": { - "name": "combinedMenuTemplateForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 91, - 34 - ], - [ - 105, - 1 - ] - ], - "doc": " Private: Returns a menu template for both normal entries as well as\ndevelopment mode entries. " - } - }, - "105": { - "24": { - "name": "executeBuildHandlers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event", - "menuTemplate" - ], - "range": [ - [ - 105, - 24 - ], - [ - 111, - 1 - ] - ], - "doc": " Private: Executes `executeAtBuild` if defined for each menu item with\nthe provided event and then removes the `executeAtBuild` property from\nthe menu item.\n\nThis is useful for commands that need to provide data about the event\nto the command. " - } - }, - "111": { - "16": { - "name": "showForEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 111, - 16 - ], - [ - 116, - 64 - ] - ], - "doc": "Public: Request a context menu to be displayed. " - } - } - }, - "exports": 10 - }, - "src/cursor-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "18": { - "name": "CursorComponent", - "type": "function", - "range": [ - [ - 5, - 18 - ], - [ - 17, - 79 - ] - ] - } - }, - "6": { - "15": { - "name": "'CursorComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 31 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 16, - 1 - ] - ], - "doc": null - } - }, - "16": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 16, - 25 - ], - [ - 17, - 79 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/cursor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "4": { - "0": { - "type": "class", - "name": "CursorView", - "bindingType": "exports", - "classProperties": [ - [ - 5, - 12 - ], - [ - 8, - 16 - ], - [ - 10, - 17 - ], - [ - 13, - 18 - ], - [ - 19, - 17 - ] - ], - "prototypeProperties": [ - [ - 24, - 12 - ], - [ - 25, - 11 - ], - [ - 26, - 15 - ], - [ - 27, - 16 - ], - [ - 28, - 23 - ], - [ - 30, - 14 - ], - [ - 44, - 16 - ], - [ - 48, - 17 - ], - [ - 65, - 12 - ], - [ - 68, - 19 - ], - [ - 71, - 19 - ], - [ - 74, - 20 - ], - [ - 77, - 14 - ], - [ - 86, - 16 - ], - [ - 90, - 17 - ], - [ - 94, - 17 - ], - [ - 98, - 21 - ], - [ - 101, - 21 - ], - [ - 104, - 30 - ], - [ - 109, - 24 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 112, - 31 - ] - ] - } - }, - "5": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 12 - ], - [ - 8, - 1 - ] - ] - } - }, - "8": { - "16": { - "name": "blinkPeriod", - "type": "primitive", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 18 - ] - ], - "bindingType": "classProperty" - } - }, - "10": { - "17": { - "name": "blinkCursors", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 17 - ], - [ - 13, - 1 - ] - ], - "doc": "~Private~" - } - }, - "13": { - "18": { - "name": "startBlinking", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 13, - 18 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "17": { - "name": "stopBlinking", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 19, - 17 - ], - [ - 24, - 1 - ] - ], - "doc": "~Private~" - } - }, - "24": { - "12": { - "name": "blinking", - "type": "primitive", - "range": [ - [ - 24, - 12 - ], - [ - 24, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "25": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 25, - 11 - ], - [ - 25, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "26": { - "15": { - "name": "needsUpdate", - "type": "primitive", - "range": [ - [ - 26, - 15 - ], - [ - 26, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "27": { - "16": { - "name": "needsRemoval", - "type": "primitive", - "range": [ - [ - 27, - 16 - ], - [ - 27, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "28": { - "23": { - "name": "shouldPauseBlinking", - "type": "primitive", - "range": [ - [ - 28, - 23 - ], - [ - 28, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "30": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 30, - 14 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 16 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 17 - ], - [ - 65, - 1 - ] - ], - "doc": "~Private~" - } - }, - "65": { - "12": { - "name": "isHidden", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 65, - 12 - ], - [ - 68, - 1 - ] - ], - "doc": "Private: Override for speed. The base function checks the computedStyle " - } - }, - "68": { - "19": { - "name": "needsAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 19 - ], - [ - 71, - 1 - ] - ], - "doc": "~Private~" - } - }, - "71": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 71, - 19 - ], - [ - 74, - 1 - ] - ], - "doc": "~Private~" - } - }, - "74": { - "20": { - "name": "getPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 20 - ], - [ - 77, - 1 - ] - ], - "doc": "~Private~" - } - }, - "77": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 77, - 14 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "16": { - "name": "stopBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 16 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "17": { - "name": "startBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 17 - ], - [ - 94, - 1 - ] - ], - "doc": "~Private~" - } - }, - "94": { - "17": { - "name": "resetBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 17 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "21": { - "name": "getBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 21 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "21": { - "name": "getScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 21 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "30": { - "name": "removeIdleClassTemporarily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 30 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "24": { - "name": "resetCursorAnimation", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 24 - ], - [ - 112, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/cursor.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "10": { - "0": { - "type": "class", - "name": "Cursor", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 18 - ], - [ - 12, - 18 - ], - [ - 13, - 14 - ], - [ - 14, - 11 - ], - [ - 15, - 19 - ], - [ - 18, - 15 - ], - [ - 49, - 11 - ], - [ - 52, - 18 - ], - [ - 60, - 16 - ], - [ - 70, - 21 - ], - [ - 75, - 21 - ], - [ - 78, - 18 - ], - [ - 89, - 21 - ], - [ - 94, - 21 - ], - [ - 97, - 14 - ], - [ - 101, - 20 - ], - [ - 105, - 14 - ], - [ - 112, - 13 - ], - [ - 122, - 14 - ], - [ - 136, - 16 - ], - [ - 145, - 28 - ], - [ - 158, - 27 - ], - [ - 170, - 16 - ], - [ - 176, - 19 - ], - [ - 180, - 18 - ], - [ - 184, - 16 - ], - [ - 188, - 19 - ], - [ - 192, - 16 - ], - [ - 196, - 19 - ], - [ - 201, - 24 - ], - [ - 205, - 10 - ], - [ - 217, - 12 - ], - [ - 233, - 12 - ], - [ - 247, - 13 - ], - [ - 256, - 13 - ], - [ - 260, - 16 - ], - [ - 264, - 31 - ], - [ - 268, - 25 - ], - [ - 273, - 30 - ], - [ - 283, - 25 - ], - [ - 293, - 25 - ], - [ - 297, - 19 - ], - [ - 301, - 25 - ], - [ - 305, - 19 - ], - [ - 310, - 29 - ], - [ - 315, - 30 - ], - [ - 320, - 26 - ], - [ - 336, - 43 - ], - [ - 358, - 41 - ], - [ - 380, - 41 - ], - [ - 409, - 37 - ], - [ - 430, - 40 - ], - [ - 447, - 29 - ], - [ - 457, - 29 - ], - [ - 461, - 34 - ], - [ - 466, - 38 - ], - [ - 470, - 45 - ], - [ - 484, - 49 - ], - [ - 502, - 34 - ], - [ - 506, - 24 - ], - [ - 510, - 23 - ], - [ - 514, - 18 - ], - [ - 521, - 17 - ], - [ - 527, - 13 - ], - [ - 532, - 32 - ] - ], - "doc": " Public: The `Cursor` class represents the little blinking line identifying\nwhere text can be inserted.\n\nCursors belong to {Editor}s and have some metadata attached in the form\nof a {Marker}. ", - "range": [ - [ - 10, - 0 - ], - [ - 540, - 50 - ] - ] - } - }, - "11": { - "18": { - "name": "screenPosition", - "type": "primitive", - "range": [ - [ - 11, - 18 - ], - [ - 11, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "18": { - "name": "bufferPosition", - "type": "primitive", - "range": [ - [ - 12, - 18 - ], - [ - 12, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "13": { - "14": { - "name": "goalColumn", - "type": "primitive", - "range": [ - [ - 13, - 14 - ], - [ - 13, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 14, - 11 - ], - [ - 14, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "15": { - "19": { - "name": "needsAutoscroll", - "type": "primitive", - "range": [ - [ - 15, - 19 - ], - [ - 15, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 18, - 15 - ], - [ - 49, - 1 - ] - ], - "doc": "Private: Instantiated by an {Editor} " - } - }, - "49": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 11 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "18": { - "name": "changePosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options", - "fn" - ], - "range": [ - [ - 52, - 18 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "16": { - "name": "getPixelRect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 60, - 16 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "21": { - "name": "setScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 70, - 21 - ], - [ - 75, - 1 - ] - ], - "doc": " Public: Moves a cursor to a given screen position.\n\nscreenPosition - An {Array} of two numbers: the screen row, and the screen\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " - } - }, - "75": { - "21": { - "name": "getScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 75, - 21 - ], - [ - 78, - 1 - ] - ], - "doc": "Public: Returns the screen position of the cursor as an Array. " - } - }, - "78": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 78, - 18 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "setBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 89, - 21 - ], - [ - 94, - 1 - ] - ], - "doc": " Public: Moves a cursor to a given buffer position.\n\nbufferPosition - An {Array} of two numbers: the buffer row, and the buffer\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " - } - }, - "94": { - "21": { - "name": "getBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 21 - ], - [ - 97, - 1 - ] - ], - "doc": "Public: Returns the current buffer position as an Array. " - } - }, - "97": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 97, - 14 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "20": { - "name": "updateVisibility", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 20 - ], - [ - 105, - 1 - ] - ], - "doc": "Public: If the marker range is empty, the cursor is marked as being visible. " - } - }, - "105": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 105, - 14 - ], - [ - 112, - 1 - ] - ], - "doc": "Public: Sets whether the cursor is visible. " - } - }, - "112": { - "13": { - "name": "isVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 112, - 13 - ], - [ - 112, - 23 - ] - ], - "doc": "Public: Returns the visibility of the cursor. " - } - }, - "122": { - "14": { - "name": "wordRegExp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 122, - 14 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Get the RegExp used by the cursor to determine what a \"word\" is.\n\noptions: An optional {Object} with the following keys:\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the regex.\n (default: true)\n\nReturns a {RegExp}. " - } - }, - "136": { - "16": { - "name": "isLastCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 16 - ], - [ - 145, - 1 - ] - ], - "doc": " Public: Identifies if this cursor is the last in the {Editor}.\n\n\"Last\" is defined as the most recently added cursor.\n\nReturns a {Boolean}. " - } - }, - "145": { - "28": { - "name": "isSurroundedByWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 145, - 28 - ], - [ - 158, - 1 - ] - ], - "doc": " Public: Identifies if the cursor is surrounded by whitespace.\n\n\"Surrounded\" here means that the character directly before and after the\ncursor are both whitespace.\n\nReturns a {Boolean}. " - } - }, - "158": { - "27": { - "name": "isBetweenWordAndNonWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 27 - ], - [ - 170, - 1 - ] - ], - "doc": " Public: Returns whether the cursor is currently between a word and non-word\ncharacter. The non-word characters are defined by the\n`editor.nonWordCharacters` config value.\n\nThis method returns false if the character before or after the cursor is\nwhitespace.\n\nReturns a Boolean. " - } - }, - "170": { - "16": { - "name": "isInsideWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 170, - 16 - ], - [ - 176, - 1 - ] - ], - "doc": "Public: Returns whether this cursor is between a word's start and end. " - } - }, - "176": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 176, - 19 - ], - [ - 180, - 1 - ] - ], - "doc": "Public: Prevents this cursor from causing scrolling. " - } - }, - "180": { - "18": { - "name": "clearSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 180, - 18 - ], - [ - 184, - 1 - ] - ], - "doc": "Public: Deselects the current selection. " - } - }, - "184": { - "16": { - "name": "getScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 184, - 16 - ], - [ - 188, - 1 - ] - ], - "doc": "Public: Returns the cursor's current screen row. " - } - }, - "188": { - "19": { - "name": "getScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 19 - ], - [ - 192, - 1 - ] - ], - "doc": "Public: Returns the cursor's current screen column. " - } - }, - "192": { - "16": { - "name": "getBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 192, - 16 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Retrieves the cursor's current buffer row. " - } - }, - "196": { - "19": { - "name": "getBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 196, - 19 - ], - [ - 201, - 1 - ] - ], - "doc": "Public: Returns the cursor's current buffer column. " - } - }, - "201": { - "24": { - "name": "getCurrentBufferLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 201, - 24 - ], - [ - 205, - 1 - ] - ], - "doc": " Public: Returns the cursor's current buffer row of text excluding its line\nending. " - } - }, - "205": { - "10": { - "name": "moveUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount", - null - ], - "range": [ - [ - 205, - 10 - ], - [ - 217, - 1 - ] - ], - "doc": "Public: Moves the cursor up one screen row. " - } - }, - "217": { - "12": { - "name": "moveDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount", - null - ], - "range": [ - [ - 217, - 12 - ], - [ - 233, - 1 - ] - ], - "doc": "Public: Moves the cursor down one screen row. " - } - }, - "233": { - "12": { - "name": "moveLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 233, - 12 - ], - [ - 247, - 1 - ] - ], - "doc": " Public: Moves the cursor left one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the left of the selection if a\n selection exists. " - } - }, - "247": { - "13": { - "name": "moveRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 247, - 13 - ], - [ - 256, - 1 - ] - ], - "doc": " Public: Moves the cursor right one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the right of the selection if a\n selection exists. " - } - }, - "256": { - "13": { - "name": "moveToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 13 - ], - [ - 260, - 1 - ] - ], - "doc": "Public: Moves the cursor to the top of the buffer. " - } - }, - "260": { - "16": { - "name": "moveToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 16 - ], - [ - 264, - 1 - ] - ], - "doc": "Public: Moves the cursor to the bottom of the buffer. " - } - }, - "264": { - "31": { - "name": "moveToBeginningOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 264, - 31 - ], - [ - 268, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the line. " - } - }, - "268": { - "25": { - "name": "moveToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 268, - 25 - ], - [ - 273, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the buffer line. " - } - }, - "273": { - "30": { - "name": "moveToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 273, - 30 - ], - [ - 283, - 1 - ] - ], - "doc": " Public: Moves the cursor to the beginning of the first character in the\nline. " - } - }, - "283": { - "25": { - "name": "skipLeadingWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 283, - 25 - ], - [ - 293, - 1 - ] - ], - "doc": " Public: Moves the cursor to the beginning of the buffer line, skipping all\nwhitespace. " - } - }, - "293": { - "25": { - "name": "moveToEndOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 293, - 25 - ], - [ - 297, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the line. " - } - }, - "297": { - "19": { - "name": "moveToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 19 - ], - [ - 301, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the buffer line. " - } - }, - "301": { - "25": { - "name": "moveToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 301, - 25 - ], - [ - 305, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the word. " - } - }, - "305": { - "19": { - "name": "moveToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 305, - 19 - ], - [ - 310, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the word. " - } - }, - "310": { - "29": { - "name": "moveToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 310, - 29 - ], - [ - 315, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the next word. " - } - }, - "315": { - "30": { - "name": "moveToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 30 - ], - [ - 320, - 1 - ] - ], - "doc": "Public: Moves the cursor to the previous word boundary. " - } - }, - "320": { - "26": { - "name": "moveToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 320, - 26 - ], - [ - 336, - 1 - ] - ], - "doc": "Public: Moves the cursor to the next word boundary. " - } - }, - "336": { - "43": { - "name": "getBeginningOfCurrentWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 336, - 43 - ], - [ - 358, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the current word starts.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n :allowPrevious - A {Boolean} indicating whether the beginning of the\n previous word can be returned.\n\nReturns a {Range}. " - } - }, - "358": { - "41": { - "name": "getPreviousWordBoundaryBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 358, - 41 - ], - [ - 380, - 1 - ] - ], - "doc": " Public: Retrieves buffer position of previous word boundary. It might be on\nthe current word, or the previous word. " - } - }, - "380": { - "41": { - "name": "getMoveNextWordBoundaryBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 380, - 41 - ], - [ - 409, - 1 - ] - ], - "doc": " Public: Retrieves buffer position of the next word boundary. It might be on\nthe current word, or the previous word. " - } - }, - "409": { - "37": { - "name": "getEndOfCurrentWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 409, - 37 - ], - [ - 430, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the current word ends.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp})\n :includeNonWordCharacters - A Boolean indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n\nReturns a {Range}. " - } - }, - "430": { - "40": { - "name": "getBeginningOfNextWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 430, - 40 - ], - [ - 447, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the next word starts.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n\nReturns a {Range}. " - } - }, - "447": { - "29": { - "name": "getCurrentWordBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 447, - 29 - ], - [ - 457, - 1 - ] - ], - "doc": " Public: Returns the buffer Range occupied by the word located under the cursor.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}). " - } - }, - "457": { - "29": { - "name": "getCurrentLineBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 457, - 29 - ], - [ - 461, - 1 - ] - ], - "doc": " Public: Returns the buffer Range for the current line.\n\noptions -\n :includeNewline: - A {Boolean} which controls whether the Range should\n include the newline. " - } - }, - "461": { - "34": { - "name": "moveToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 461, - 34 - ], - [ - 466, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the next paragraph " - } - }, - "466": { - "38": { - "name": "moveToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 466, - 38 - ], - [ - 470, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the previous paragraph " - } - }, - "470": { - "45": { - "name": "getBeginningOfNextParagraphBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 470, - 45 - ], - [ - 484, - 1 - ] - ], - "doc": "~Private~" - } - }, - "484": { - "49": { - "name": "getBeginningOfPreviousParagraphBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 484, - 49 - ], - [ - 502, - 1 - ] - ], - "doc": "~Private~" - } - }, - "502": { - "34": { - "name": "getCurrentParagraphBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 502, - 34 - ], - [ - 506, - 1 - ] - ], - "doc": " Public: Retrieves the range for the current paragraph.\n\nA paragraph is defined as a block of text surrounded by empty lines.\n\nReturns a {Range}. " - } - }, - "506": { - "24": { - "name": "getCurrentWordPrefix", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 506, - 24 - ], - [ - 510, - 1 - ] - ], - "doc": "Public: Returns the characters preceding the cursor in the current word. " - } - }, - "510": { - "23": { - "name": "isAtBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 510, - 23 - ], - [ - 514, - 1 - ] - ], - "doc": "Public: Returns whether the cursor is at the start of a line. " - } - }, - "514": { - "18": { - "name": "getIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 514, - 18 - ], - [ - 521, - 1 - ] - ], - "doc": "Public: Returns the indentation level of the current line. " - } - }, - "521": { - "17": { - "name": "isAtEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 521, - 17 - ], - [ - 527, - 1 - ] - ], - "doc": "Public: Returns whether the cursor is on the line return character. " - } - }, - "527": { - "13": { - "name": "getScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 527, - 13 - ], - [ - 532, - 1 - ] - ], - "doc": " Public: Retrieves the grammar's token scopes for the line.\n\nReturns an {Array} of {String}s. " - } - }, - "532": { - "32": { - "name": "hasPrecedingCharactersOnLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 532, - 32 - ], - [ - 540, - 50 - ] - ], - "doc": " Public: Returns true if this cursor has no non-whitespace characters before\nits current position. " - } - } - }, - "exports": 10 - }, - "src/cursors-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "debounce", - "exportsProperty": "debounce" - }, - "11": { - "type": "import", - "range": [ - [ - 2, - 11 - ], - [ - 2, - 17 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "toArray", - "exportsProperty": "toArray" - }, - "20": { - "type": "import", - "range": [ - [ - 2, - 20 - ], - [ - 2, - 39 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "42": { - "type": "import", - "range": [ - [ - 2, - 42 - ], - [ - 2, - 48 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "isEqual", - "exportsProperty": "isEqual" - } - }, - "3": { - "18": { - "name": "SubscriberMixin", - "type": "import", - "range": [ - [ - 3, - 18 - ], - [ - 3, - 45 - ] - ], - "bindingType": "variable", - "path": "./subscriber-mixin" - } - }, - "4": { - "18": { - "name": "CursorComponent", - "type": "import", - "range": [ - [ - 4, - 18 - ], - [ - 4, - 45 - ] - ], - "bindingType": "variable", - "path": "./cursor-component" - } - }, - "7": { - "19": { - "name": "CursorsComponent", - "type": "function", - "range": [ - [ - 7, - 19 - ], - [ - 60, - 37 - ] - ] - } - }, - "8": { - "15": { - "name": "'CursorsComponent'", - "type": "primitive", - "range": [ - [ - 8, - 15 - ], - [ - 8, - 32 - ] - ] - } - }, - "9": { - "10": { - "type": "primitive", - "range": [ - [ - 9, - 10 - ], - [ - 9, - 26 - ] - ] - } - }, - "11": { - "29": { - "type": "primitive", - "range": [ - [ - 11, - 29 - ], - [ - 11, - 32 - ] - ] - } - }, - "13": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 10 - ], - [ - 25, - 1 - ] - ], - "doc": null - } - }, - "25": { - "19": { - "name": "getInitialState", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 19 - ], - [ - 28, - 1 - ] - ], - "doc": null - } - }, - "28": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 21 - ], - [ - 31, - 1 - ] - ], - "doc": null - } - }, - "31": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 31, - 24 - ], - [ - 34, - 1 - ] - ], - "doc": null - } - }, - "34": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps", - "newState" - ], - "range": [ - [ - 34, - 25 - ], - [ - 38, - 1 - ] - ], - "doc": null - } - }, - "38": { - "23": { - "name": "componentWillUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 38, - 23 - ], - [ - 45, - 1 - ] - ], - "doc": null - } - }, - "45": { - "24": { - "name": "startBlinkingCursors", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 24 - ], - [ - 48, - 1 - ] - ], - "doc": null - } - }, - "48": { - "34": { - "type": "primitive", - "range": [ - [ - 48, - 34 - ], - [ - 48, - 37 - ] - ] - } - }, - "50": { - "23": { - "name": "stopBlinkingCursors", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 23 - ], - [ - 53, - 1 - ] - ], - "doc": null - } - }, - "53": { - "21": { - "name": "toggleCursorBlink", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 21 - ], - [ - 56, - 1 - ] - ], - "doc": null - } - }, - "56": { - "23": { - "name": "pauseCursorBlinking", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 23 - ], - [ - 60, - 37 - ] - ], - "doc": null - } - } - }, - "exports": 7 - }, - "src/custom-event-mixin.coffee": { - "objects": { - "2": { - "2": { - "type": "primitive", - "range": [ - [ - 2, - 2 - ], - [ - 14, - 52 - ] - ] - }, - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 2, - 22 - ], - [ - 5, - 1 - ] - ], - "doc": null - } - }, - "5": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 24 - ], - [ - 10, - 1 - ] - ], - "doc": null - } - }, - "10": { - "27": { - "name": "addCustomEventListeners", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "customEventListeners" - ], - "range": [ - [ - 10, - 27 - ], - [ - 14, - 52 - ] - ], - "doc": null - } - } - }, - "exports": 2 - }, - "src/decoration.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Subscriber", - "exportsProperty": "Subscriber" - }, - "13": { - "type": "import", - "range": [ - [ - 1, - 13 - ], - [ - 1, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "3": { - "12": { - "name": "0", - "type": "primitive", - "range": [ - [ - 3, - 12 - ], - [ - 3, - 12 - ] - ] - } - }, - "4": { - "9": { - "name": "nextId", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 4, - 9 - ], - [ - 4, - 22 - ] - ] - } - }, - "40": { - "0": { - "type": "class", - "name": "Decoration", - "bindingType": "exports", - "classProperties": [ - [ - 43, - 11 - ] - ], - "prototypeProperties": [ - [ - 49, - 15 - ], - [ - 59, - 11 - ], - [ - 70, - 10 - ], - [ - 79, - 13 - ], - [ - 82, - 13 - ], - [ - 89, - 10 - ], - [ - 92, - 18 - ], - [ - 98, - 9 - ], - [ - 104, - 20 - ] - ], - "doc": " Public: Represents a decoration that follows a {Marker}. A decoration is\nbasically a visual representation of a marker. It allows you to add CSS\nclasses to line numbers in the gutter, lines, and add selection-line regions\naround marked ranges of text.\n\n{Decoration} objects are not meant to be created directly, but created with\n{Editor::decorateMarker}. eg.\n\n```coffee\nrange = editor.getSelectedBufferRange() # any range you like\nmarker = editor.markBufferRange(range)\ndecoration = editor.decorateMarker(marker, {type: 'line', class: 'my-line-class'})\n```\n\nBest practice for destorying the decoration is by destroying the {Marker}.\n\n```\nmarker.destroy()\n```\n\nYou should only use {Decoration::destroy} when you still need or do not own\nthe marker.\n\n### IDs\nEach {Decoration} has a unique ID available via `decoration.id`.\n\n### Events\nA couple of events are emitted:\n\n* `destroyed`: When the {Decoration} is destroyed\n* `updated`: When the {Decoration} is updated via {Decoration::update}.\n Event object has properties `oldParams` and `newParams`\n\n ", - "range": [ - [ - 40, - 0 - ], - [ - 106, - 8 - ] - ] - } - }, - "43": { - "11": { - "name": "isType", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "decorationParams", - "type" - ], - "range": [ - [ - 43, - 11 - ], - [ - 49, - 1 - ] - ], - "doc": "~Private~" - } - }, - "49": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null, - null - ], - "range": [ - [ - 49, - 15 - ], - [ - 59, - 1 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 11 - ], - [ - 70, - 1 - ] - ], - "doc": " Public: Destroy this marker.\n\nIf you own the marker, you should use {Marker::destroy} which will destroy\nthis decoration. " - } - }, - "70": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "newParams" - ], - "range": [ - [ - 70, - 10 - ], - [ - 79, - 1 - ] - ], - "doc": " Public: Update the marker with new params. Allows you to change the decoration's class.\n\n```\ndecoration.update({type: 'gutter', class: 'my-new-class'})\n``` " - } - }, - "79": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 13 - ], - [ - 79, - 22 - ] - ], - "doc": "Public: Returns the marker associated with this {Decoration} " - } - }, - "82": { - "13": { - "name": "getParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 13 - ], - [ - 82, - 22 - ] - ], - "doc": "Public: Returns the {Decoration}'s params. " - } - }, - "89": { - "10": { - "name": "isType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "type" - ], - "range": [ - [ - 89, - 10 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "18": { - "name": "matchesPattern", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decorationPattern" - ], - "range": [ - [ - 92, - 18 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "9": { - "name": "flash", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass", - "duration" - ], - "range": [ - [ - 98, - 9 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "20": { - "name": "consumeNextFlash", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 20 - ], - [ - 106, - 8 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 40 - }, - "src/deserializer-manager.coffee": { - "objects": { - "20": { - "0": { - "type": "class", - "name": "DeserializerManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 21, - 15 - ], - [ - 27, - 7 - ], - [ - 33, - 10 - ], - [ - 41, - 15 - ], - [ - 54, - 7 - ] - ], - "doc": " Public: Manages the deserializers used for serialized state\n\nAn instance of this class is always available as the `atom.deserializers`\nglobal.\n\n### Registering a deserializer\n\n```coffee\nclass MyPackageView extends View\n atom.deserializers.add(this)\n\n @deserialize: (state) ->\n new MyPackageView(state)\n\n constructor: (@state) ->\n\n serialize: ->\n @state\n``` ", - "range": [ - [ - 20, - 0 - ], - [ - 58, - 24 - ] - ] - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 15 - ], - [ - 27, - 1 - ] - ] - } - }, - "27": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "classes" - ], - "range": [ - [ - 27, - 7 - ], - [ - 33, - 1 - ] - ], - "doc": " Public: Register the given class(es) as deserializers.\n\nclasses - One or more classes to register. " - } - }, - "33": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "classes" - ], - "range": [ - [ - 33, - 10 - ], - [ - 41, - 1 - ] - ], - "doc": " Public: Remove the given class(es) as deserializers.\n\nclasses - One or more classes to remove. " - } - }, - "41": { - "15": { - "name": "deserialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state", - "params" - ], - "range": [ - [ - 41, - 15 - ], - [ - 54, - 1 - ] - ], - "doc": " Public: Deserialize the state and params.\n\nstate - The state {Object} to deserialize.\nparams - The params {Object} to pass as the second arguments to the\n deserialize method of the deserializer. " - } - }, - "54": { - "7": { - "name": "get", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 54, - 7 - ], - [ - 58, - 24 - ] - ], - "doc": " Private: Get the deserializer for the state.\n\nstate - The state {Object} being deserialized. " - } - } - }, - "exports": 20 - }, - "src/display-buffer-marker.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 2, - 10 - ], - [ - 2, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "5": { - "0": { - "type": "class", - "name": "DisplayBufferMarker", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 9, - 28 - ], - [ - 10, - 25 - ], - [ - 11, - 25 - ], - [ - 12, - 25 - ], - [ - 13, - 25 - ], - [ - 14, - 12 - ], - [ - 16, - 15 - ], - [ - 27, - 8 - ], - [ - 33, - 18 - ], - [ - 40, - 18 - ], - [ - 46, - 18 - ], - [ - 53, - 18 - ], - [ - 56, - 17 - ], - [ - 62, - 25 - ], - [ - 69, - 25 - ], - [ - 76, - 25 - ], - [ - 83, - 25 - ], - [ - 89, - 25 - ], - [ - 96, - 25 - ], - [ - 103, - 25 - ], - [ - 110, - 25 - ], - [ - 117, - 26 - ], - [ - 124, - 26 - ], - [ - 131, - 24 - ], - [ - 138, - 24 - ], - [ - 146, - 13 - ], - [ - 150, - 13 - ], - [ - 153, - 11 - ], - [ - 157, - 14 - ], - [ - 162, - 11 - ], - [ - 169, - 15 - ], - [ - 172, - 17 - ], - [ - 175, - 17 - ], - [ - 178, - 21 - ], - [ - 183, - 11 - ], - [ - 187, - 11 - ], - [ - 191, - 11 - ], - [ - 195, - 11 - ], - [ - 198, - 13 - ], - [ - 202, - 19 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 230, - 23 - ] - ] - } - }, - "9": { - "28": { - "name": "bufferMarkerSubscription", - "type": "primitive", - "range": [ - [ - 9, - 28 - ], - [ - 9, - 31 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "25": { - "name": "oldHeadBufferPosition", - "type": "primitive", - "range": [ - [ - 10, - 25 - ], - [ - 10, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "11": { - "25": { - "name": "oldHeadScreenPosition", - "type": "primitive", - "range": [ - [ - 11, - 25 - ], - [ - 11, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "25": { - "name": "oldTailBufferPosition", - "type": "primitive", - "range": [ - [ - 12, - 25 - ], - [ - 12, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "13": { - "25": { - "name": "oldTailScreenPosition", - "type": "primitive", - "range": [ - [ - 13, - 25 - ], - [ - 13, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "12": { - "name": "wasValid", - "type": "primitive", - "range": [ - [ - 14, - 12 - ], - [ - 14, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 16, - 15 - ], - [ - 27, - 1 - ] - ], - "doc": "~Private~" - } - }, - "27": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 27, - 8 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 33, - 18 - ], - [ - 40, - 1 - ] - ], - "doc": " Private: Gets the screen range of the display marker.\n\nReturns a {Range}. " - } - }, - "40": { - "18": { - "name": "setScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 40, - 18 - ], - [ - 46, - 1 - ] - ], - "doc": " Private: Modifies the screen range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " - } - }, - "46": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 46, - 18 - ], - [ - 53, - 1 - ] - ], - "doc": " Private: Gets the buffer range of the display marker.\n\nReturns a {Range}. " - } - }, - "53": { - "18": { - "name": "setBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 53, - 18 - ], - [ - 56, - 1 - ] - ], - "doc": " Private: Modifies the buffer range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " - } - }, - "56": { - "17": { - "name": "getPixelRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 17 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "25": { - "name": "getHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 62, - 25 - ], - [ - 69, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's head.\n\nReturns a {Point}. " - } - }, - "69": { - "25": { - "name": "setHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 69, - 25 - ], - [ - 76, - 1 - ] - ], - "doc": " Private: Sets the screen position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "76": { - "25": { - "name": "getHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 25 - ], - [ - 83, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's head.\n\nReturns a {Point}. " - } - }, - "83": { - "25": { - "name": "setHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 83, - 25 - ], - [ - 89, - 1 - ] - ], - "doc": " Private: Sets the buffer position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "89": { - "25": { - "name": "getTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 25 - ], - [ - 96, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's tail.\n\nReturns a {Point}. " - } - }, - "96": { - "25": { - "name": "setTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 96, - 25 - ], - [ - 103, - 1 - ] - ], - "doc": " Private: Sets the screen position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "103": { - "25": { - "name": "getTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 103, - 25 - ], - [ - 110, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's tail.\n\nReturns a {Point}. " - } - }, - "110": { - "25": { - "name": "setTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 110, - 25 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: Sets the buffer position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "117": { - "26": { - "name": "getStartScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 26 - ], - [ - 124, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndScreenPosition}.\n\nReturns a {Point}. " - } - }, - "124": { - "26": { - "name": "getStartBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 26 - ], - [ - 131, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndBufferPosition}.\n\nReturns a {Point}. " - } - }, - "131": { - "24": { - "name": "getEndScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 131, - 24 - ], - [ - 138, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartScreenPosition}.\n\nReturns a {Point}. " - } - }, - "138": { - "24": { - "name": "getEndBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 24 - ], - [ - 146, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartBufferPosition}.\n\nReturns a {Point}. " - } - }, - "146": { - "13": { - "name": "plantTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 146, - 13 - ], - [ - 150, - 1 - ] - ], - "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " - } - }, - "150": { - "13": { - "name": "clearTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 150, - 13 - ], - [ - 153, - 1 - ] - ], - "doc": "Private: Removes the tail from the marker. " - } - }, - "153": { - "11": { - "name": "hasTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 153, - 11 - ], - [ - 157, - 1 - ] - ], - "doc": "~Private~" - } - }, - "157": { - "14": { - "name": "isReversed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 157, - 14 - ], - [ - 162, - 1 - ] - ], - "doc": "Private: Returns whether the head precedes the tail in the buffer " - } - }, - "162": { - "11": { - "name": "isValid", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 11 - ], - [ - 169, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the marker is valid. Markers can be\ninvalidated when a region surrounding them in the buffer is changed. " - } - }, - "169": { - "15": { - "name": "isDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 169, - 15 - ], - [ - 172, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the marker has been destroyed. A marker\ncan be invalid without being destroyed, in which case undoing the invalidating\noperation would restore the marker. Once a marker is destroyed by calling\n{Marker::destroy}, no undo/redo operation can ever bring it back. " - } - }, - "172": { - "17": { - "name": "getAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 172, - 17 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "17": { - "name": "setAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 175, - 17 - ], - [ - 178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "178": { - "21": { - "name": "matchesAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 178, - 21 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 183, - 11 - ], - [ - 187, - 1 - ] - ], - "doc": "Private: Destroys the marker " - } - }, - "187": { - "11": { - "name": "isEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 187, - 11 - ], - [ - 191, - 1 - ] - ], - "doc": "~Private~" - } - }, - "191": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 191, - 11 - ], - [ - 195, - 1 - ] - ], - "doc": "~Private~" - } - }, - "195": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 195, - 11 - ], - [ - 198, - 1 - ] - ], - "doc": "Private: Returns a {String} representation of the marker " - } - }, - "198": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 198, - 13 - ], - [ - 202, - 1 - ] - ], - "doc": "~Private~" - } - }, - "202": { - "19": { - "name": "notifyObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 202, - 19 - ], - [ - 230, - 23 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "src/display-buffer.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "2": { - "7": { - "name": "guid", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "guid" - } - }, - "3": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "6": { - "18": { - "name": "TokenizedBuffer", - "type": "import", - "range": [ - [ - 6, - 18 - ], - [ - 6, - 45 - ] - ], - "bindingType": "variable", - "path": "./tokenized-buffer" - } - }, - "7": { - "9": { - "name": "RowMap", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 27 - ] - ], - "bindingType": "variable", - "path": "./row-map" - } - }, - "8": { - "7": { - "name": "Fold", - "type": "import", - "range": [ - [ - 8, - 7 - ], - [ - 8, - 22 - ] - ], - "bindingType": "variable", - "path": "./fold" - } - }, - "9": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 9, - 8 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "10": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "11": { - "22": { - "name": "DisplayBufferMarker", - "type": "import", - "range": [ - [ - 11, - 22 - ], - [ - 11, - 54 - ] - ], - "bindingType": "variable", - "path": "./display-buffer-marker" - } - }, - "13": { - "0": { - "type": "class", - "name": "BufferToScreenConversionError", - "classProperties": [], - "prototypeProperties": [ - [ - 14, - 15 - ] - ], - "doc": "~Private~", - "range": [ - [ - 13, - 0 - ], - [ - 17, - 0 - ] - ] - } - }, - "14": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 14, - 15 - ], - [ - 17, - 0 - ] - ] - } - }, - "19": { - "0": { - "type": "class", - "name": "DisplayBuffer", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 34, - 24 - ], - [ - 35, - 26 - ], - [ - 36, - 29 - ], - [ - 37, - 26 - ], - [ - 38, - 36 - ], - [ - 40, - 15 - ], - [ - 70, - 19 - ], - [ - 78, - 21 - ], - [ - 82, - 8 - ], - [ - 91, - 24 - ], - [ - 97, - 15 - ], - [ - 104, - 28 - ], - [ - 115, - 14 - ], - [ - 117, - 27 - ], - [ - 118, - 27 - ], - [ - 120, - 29 - ], - [ - 121, - 29 - ], - [ - 123, - 32 - ], - [ - 124, - 32 - ], - [ - 126, - 29 - ], - [ - 127, - 29 - ], - [ - 129, - 13 - ], - [ - 138, - 13 - ], - [ - 140, - 19 - ], - [ - 146, - 18 - ], - [ - 152, - 26 - ], - [ - 160, - 24 - ], - [ - 167, - 12 - ], - [ - 176, - 12 - ], - [ - 183, - 16 - ], - [ - 184, - 16 - ], - [ - 190, - 19 - ], - [ - 193, - 19 - ], - [ - 194, - 19 - ], - [ - 198, - 17 - ], - [ - 199, - 17 - ], - [ - 206, - 20 - ], - [ - 209, - 18 - ], - [ - 210, - 18 - ], - [ - 214, - 25 - ], - [ - 215, - 25 - ], - [ - 217, - 23 - ], - [ - 218, - 23 - ], - [ - 224, - 18 - ], - [ - 226, - 22 - ], - [ - 229, - 23 - ], - [ - 237, - 29 - ], - [ - 244, - 22 - ], - [ - 249, - 26 - ], - [ - 253, - 25 - ], - [ - 256, - 19 - ], - [ - 261, - 18 - ], - [ - 264, - 22 - ], - [ - 273, - 29 - ], - [ - 277, - 38 - ], - [ - 281, - 23 - ], - [ - 311, - 26 - ], - [ - 314, - 26 - ], - [ - 317, - 27 - ], - [ - 333, - 16 - ], - [ - 339, - 16 - ], - [ - 343, - 15 - ], - [ - 346, - 15 - ], - [ - 351, - 25 - ], - [ - 359, - 25 - ], - [ - 367, - 21 - ], - [ - 378, - 14 - ], - [ - 387, - 16 - ], - [ - 393, - 12 - ], - [ - 396, - 22 - ], - [ - 406, - 27 - ], - [ - 416, - 14 - ], - [ - 422, - 23 - ], - [ - 425, - 23 - ], - [ - 429, - 21 - ], - [ - 435, - 19 - ], - [ - 446, - 34 - ], - [ - 454, - 28 - ], - [ - 466, - 34 - ], - [ - 477, - 34 - ], - [ - 482, - 34 - ], - [ - 493, - 28 - ], - [ - 502, - 25 - ], - [ - 505, - 29 - ], - [ - 513, - 25 - ], - [ - 521, - 29 - ], - [ - 532, - 29 - ], - [ - 538, - 28 - ], - [ - 542, - 34 - ], - [ - 561, - 34 - ], - [ - 581, - 34 - ], - [ - 587, - 16 - ], - [ - 593, - 14 - ], - [ - 599, - 20 - ], - [ - 605, - 23 - ], - [ - 617, - 35 - ], - [ - 651, - 35 - ], - [ - 661, - 27 - ], - [ - 664, - 33 - ], - [ - 672, - 26 - ], - [ - 678, - 14 - ], - [ - 684, - 14 - ], - [ - 688, - 17 - ], - [ - 704, - 22 - ], - [ - 740, - 18 - ], - [ - 758, - 20 - ], - [ - 761, - 19 - ], - [ - 764, - 32 - ], - [ - 771, - 18 - ], - [ - 793, - 20 - ], - [ - 804, - 33 - ], - [ - 810, - 31 - ], - [ - 818, - 21 - ], - [ - 826, - 13 - ], - [ - 836, - 14 - ], - [ - 839, - 18 - ], - [ - 848, - 19 - ], - [ - 858, - 19 - ], - [ - 867, - 22 - ], - [ - 876, - 22 - ], - [ - 882, - 17 - ], - [ - 891, - 14 - ], - [ - 912, - 15 - ], - [ - 916, - 33 - ], - [ - 954, - 18 - ], - [ - 957, - 19 - ], - [ - 960, - 27 - ], - [ - 963, - 24 - ], - [ - 966, - 25 - ], - [ - 970, - 32 - ], - [ - 974, - 13 - ], - [ - 979, - 12 - ], - [ - 984, - 31 - ], - [ - 989, - 21 - ], - [ - 1015, - 20 - ], - [ - 1061, - 21 - ], - [ - 1083, - 22 - ], - [ - 1088, - 30 - ], - [ - 1093, - 29 - ], - [ - 1097, - 23 - ], - [ - 1101, - 17 - ] - ], - "doc": "~Private~", - "range": [ - [ - 19, - 0 - ], - [ - 1102, - 31 - ] - ] - } - }, - "34": { - "24": { - "name": "verticalScrollMargin", - "type": "primitive", - "range": [ - [ - 34, - 24 - ], - [ - 34, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "35": { - "26": { - "name": "horizontalScrollMargin", - "type": "primitive", - "range": [ - [ - 35, - 26 - ], - [ - 35, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "36": { - "29": { - "name": "horizontalScrollbarHeight", - "type": "primitive", - "range": [ - [ - 36, - 29 - ], - [ - 36, - 30 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "37": { - "26": { - "name": "verticalScrollbarWidth", - "type": "primitive", - "range": [ - [ - 37, - 26 - ], - [ - 37, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "38": { - "36": { - "name": "scopedCharacterWidthsChangeCount", - "type": "primitive", - "range": [ - [ - 38, - 36 - ], - [ - 38, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "40": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 40, - 15 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 70, - 19 - ], - [ - 78, - 1 - ] - ], - "doc": "~Private~" - } - }, - "78": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 78, - 21 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 8 - ], - [ - 91, - 1 - ] - ], - "doc": "~Private~" - } - }, - "91": { - "24": { - "name": "updateAllScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 24 - ], - [ - 97, - 1 - ] - ], - "doc": "~Private~" - } - }, - "97": { - "15": { - "name": "emitChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventProperties", - "refreshMarkers" - ], - "range": [ - [ - 97, - 15 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "28": { - "name": "updateWrappedScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 28 - ], - [ - 115, - 1 - ] - ], - "doc": "~Private~" - } - }, - "115": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 115, - 14 - ], - [ - 115, - 62 - ] - ], - "doc": " Private: Sets the visibility of the tokenized buffer.\n\nvisible - A {Boolean} indicating of the tokenized buffer is shown " - } - }, - "117": { - "27": { - "name": "getVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 27 - ], - [ - 117, - 50 - ] - ], - "doc": "~Private~" - } - }, - "118": { - "27": { - "name": "setVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 118, - 27 - ], - [ - 118, - 74 - ] - ] - } - }, - "120": { - "29": { - "name": "getHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 120, - 29 - ], - [ - 120, - 54 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "29": { - "name": "setHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 121, - 29 - ], - [ - 121, - 80 - ] - ] - } - }, - "123": { - "32": { - "name": "getHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 123, - 32 - ], - [ - 123, - 60 - ] - ], - "doc": "~Private~" - } - }, - "124": { - "32": { - "name": "setHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 124, - 32 - ], - [ - 124, - 89 - ] - ] - } - }, - "126": { - "29": { - "name": "getVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 29 - ], - [ - 126, - 54 - ] - ], - "doc": "~Private~" - } - }, - "127": { - "29": { - "name": "setVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 127, - 29 - ], - [ - 127, - 80 - ] - ] - } - }, - "129": { - "13": { - "name": "getHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 129, - 13 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "13": { - "name": "setHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 138, - 13 - ], - [ - 138, - 32 - ] - ], - "doc": "~Private~" - } - }, - "140": { - "19": { - "name": "getClientHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 140, - 19 - ], - [ - 146, - 1 - ] - ], - "doc": "~Private~" - } - }, - "146": { - "18": { - "name": "getClientWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 146, - 18 - ], - [ - 152, - 1 - ] - ], - "doc": "~Private~" - } - }, - "152": { - "26": { - "name": "horizontallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 152, - 26 - ], - [ - 160, - 1 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "24": { - "name": "verticallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 160, - 24 - ], - [ - 167, - 1 - ] - ], - "doc": "~Private~" - } - }, - "167": { - "12": { - "name": "getWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 167, - 12 - ], - [ - 176, - 1 - ] - ], - "doc": "~Private~" - } - }, - "176": { - "12": { - "name": "setWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "newWidth" - ], - "range": [ - [ - 176, - 12 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "16": { - "name": "getScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 183, - 16 - ], - [ - 183, - 28 - ] - ], - "doc": "~Private~" - } - }, - "184": { - "16": { - "name": "setScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 184, - 16 - ], - [ - 190, - 1 - ] - ] - } - }, - "190": { - "19": { - "name": "getMaxScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 19 - ], - [ - 193, - 1 - ] - ], - "doc": "~Private~" - } - }, - "193": { - "19": { - "name": "getScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 193, - 19 - ], - [ - 193, - 41 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "19": { - "name": "setScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 194, - 19 - ], - [ - 198, - 1 - ] - ] - } - }, - "198": { - "17": { - "name": "getScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 198, - 17 - ], - [ - 198, - 30 - ] - ], - "doc": "~Private~" - } - }, - "199": { - "17": { - "name": "setScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 199, - 17 - ], - [ - 206, - 1 - ] - ] - } - }, - "206": { - "20": { - "name": "getMaxScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 206, - 20 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "18": { - "name": "getScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 209, - 18 - ], - [ - 209, - 40 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "18": { - "name": "setScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 210, - 18 - ], - [ - 214, - 1 - ] - ] - } - }, - "214": { - "25": { - "name": "getLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 214, - 25 - ], - [ - 214, - 46 - ] - ], - "doc": "~Private~" - } - }, - "215": { - "25": { - "name": "setLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 215, - 25 - ], - [ - 215, - 68 - ] - ] - } - }, - "217": { - "23": { - "name": "getDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 217, - 23 - ], - [ - 217, - 42 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "23": { - "name": "setDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultCharWidth" - ], - "range": [ - [ - 218, - 23 - ], - [ - 224, - 1 - ] - ] - } - }, - "224": { - "18": { - "name": "getCursorWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 18 - ], - [ - 224, - 21 - ] - ], - "doc": "~Private~" - } - }, - "226": { - "22": { - "name": "getScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char" - ], - "range": [ - [ - 226, - 22 - ], - [ - 229, - 1 - ] - ], - "doc": "~Private~" - } - }, - "229": { - "23": { - "name": "getScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames" - ], - "range": [ - [ - 229, - 23 - ], - [ - 237, - 1 - ] - ], - "doc": "~Private~" - } - }, - "237": { - "29": { - "name": "batchCharacterMeasurement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 237, - 29 - ], - [ - 244, - 1 - ] - ], - "doc": "~Private~" - } - }, - "244": { - "22": { - "name": "setScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char", - "width" - ], - "range": [ - [ - 244, - 22 - ], - [ - 249, - 1 - ] - ], - "doc": "~Private~" - } - }, - "249": { - "26": { - "name": "characterWidthsChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 249, - 26 - ], - [ - 253, - 1 - ] - ], - "doc": "~Private~" - } - }, - "253": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 253, - 25 - ], - [ - 256, - 1 - ] - ], - "doc": "~Private~" - } - }, - "256": { - "19": { - "name": "getScrollHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 19 - ], - [ - 261, - 1 - ] - ], - "doc": "~Private~" - } - }, - "261": { - "18": { - "name": "getScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 18 - ], - [ - 264, - 1 - ] - ], - "doc": "~Private~" - } - }, - "264": { - "22": { - "name": "getVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 264, - 22 - ], - [ - 273, - 1 - ] - ], - "doc": "~Private~" - } - }, - "273": { - "29": { - "name": "intersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 273, - 29 - ], - [ - 277, - 1 - ] - ], - "doc": "~Private~" - } - }, - "277": { - "38": { - "name": "selectionIntersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 277, - 38 - ], - [ - 281, - 1 - ] - ], - "doc": "~Private~" - } - }, - "281": { - "23": { - "name": "scrollToScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 281, - 23 - ], - [ - 311, - 1 - ] - ], - "doc": "~Private~" - } - }, - "311": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 311, - 26 - ], - [ - 314, - 1 - ] - ], - "doc": "~Private~" - } - }, - "314": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 314, - 26 - ], - [ - 317, - 1 - ] - ], - "doc": "~Private~" - } - }, - "317": { - "27": { - "name": "pixelRectForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 317, - 27 - ], - [ - 333, - 1 - ] - ], - "doc": "~Private~" - } - }, - "333": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 333, - 16 - ], - [ - 339, - 1 - ] - ], - "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " - } - }, - "339": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 339, - 16 - ], - [ - 343, - 1 - ] - ], - "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " - } - }, - "343": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 343, - 15 - ], - [ - 343, - 38 - ] - ], - "doc": "Deprecated: Use the softWrap property directly " - } - }, - "346": { - "15": { - "name": "getSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 15 - ], - [ - 346, - 26 - ] - ], - "doc": "Deprecated: Use the softWrap property directly " - } - }, - "351": { - "25": { - "name": "setEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorWidthInChars" - ], - "range": [ - [ - 351, - 25 - ], - [ - 359, - 1 - ] - ], - "doc": " Private: Set the number of characters that fit horizontally in the editor.\n\neditorWidthInChars - A {Number} of characters. " - } - }, - "359": { - "25": { - "name": "getEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 359, - 25 - ], - [ - 367, - 1 - ] - ], - "doc": "Private: Returns the editor width in characters for soft wrap. " - } - }, - "367": { - "21": { - "name": "getSoftWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 367, - 21 - ], - [ - 378, - 1 - ] - ], - "doc": "~Private~" - } - }, - "378": { - "14": { - "name": "lineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 378, - 14 - ], - [ - 387, - 1 - ] - ], - "doc": " Private: Gets the screen line for the given screen row.\n\nscreenRow - A {Number} indicating the screen row.\n\nReturns a {ScreenLine}. " - } - }, - "387": { - "16": { - "name": "linesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 387, - 16 - ], - [ - 393, - 1 - ] - ], - "doc": " Private: Gets the screen lines for the given screen row range.\n\nstartRow - A {Number} indicating the beginning screen row.\nendRow - A {Number} indicating the ending screen row.\n\nReturns an {Array} of {ScreenLine}s. " - } - }, - "393": { - "12": { - "name": "getLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 393, - 12 - ], - [ - 396, - 1 - ] - ], - "doc": " Private: Gets all the screen lines.\n\nReturns an {Array} of {ScreenLines}s. " - } - }, - "396": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 396, - 22 - ], - [ - 406, - 1 - ] - ], - "doc": "~Private~" - } - }, - "406": { - "27": { - "name": "bufferRowsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 406, - 27 - ], - [ - 416, - 1 - ] - ], - "doc": " Private: Given starting and ending screen rows, this returns an array of the\nbuffer rows corresponding to every screen row in the range\n\nstartScreenRow - The screen row {Number} to start at\nendScreenRow - The screen row {Number} to end at (default: the last screen row)\n\nReturns an {Array} of buffer rows as {Numbers}s. " - } - }, - "416": { - "14": { - "name": "createFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 416, - 14 - ], - [ - 422, - 1 - ] - ], - "doc": " Private: Creates a new fold between two row numbers.\n\nstartRow - The row {Number} to start folding at\nendRow - The row {Number} to end the fold\n\nReturns the new {Fold}. " - } - }, - "422": { - "23": { - "name": "isFoldedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 422, - 23 - ], - [ - 425, - 1 - ] - ], - "doc": "~Private~" - } - }, - "425": { - "23": { - "name": "isFoldedAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 425, - 23 - ], - [ - 429, - 1 - ] - ], - "doc": "~Private~" - } - }, - "429": { - "21": { - "name": "destroyFoldWithId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 429, - 21 - ], - [ - 435, - 1 - ] - ], - "doc": "Private: Destroys the fold with the given id " - } - }, - "435": { - "19": { - "name": "unfoldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 435, - 19 - ], - [ - 446, - 1 - ] - ], - "doc": " Private: Removes any folds found that contain the given buffer row.\n\nbufferRow - The buffer row {Number} to check against " - } - }, - "446": { - "34": { - "name": "largestFoldStartingAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 446, - 34 - ], - [ - 454, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold} or null if none exists. " - } - }, - "454": { - "28": { - "name": "foldsStartingAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 454, - 28 - ], - [ - 466, - 1 - ] - ], - "doc": " Public: Given a buffer row, this returns all folds that start there.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " - } - }, - "466": { - "34": { - "name": "largestFoldStartingAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 466, - 34 - ], - [ - 477, - 1 - ] - ], - "doc": " Private: Given a screen row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nscreenRow - A {Number} indicating the screen row\n\nReturns a {Fold}. " - } - }, - "477": { - "34": { - "name": "largestFoldContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 477, - 34 - ], - [ - 482, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns the largest fold that includes it.\n\nLargest is defined as the fold whose difference between its start and end rows\nis the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold}. " - } - }, - "482": { - "34": { - "name": "outermostFoldsInBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 482, - 34 - ], - [ - 493, - 1 - ] - ], - "doc": " Private: Returns the folds in the given row range (exclusive of end row) that are\nnot contained by any other folds. " - } - }, - "493": { - "28": { - "name": "foldsContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 493, - 28 - ], - [ - 502, - 1 - ] - ], - "doc": " Public: Given a buffer row, this returns folds that include it.\n\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " - } - }, - "502": { - "25": { - "name": "screenRowForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 502, - 25 - ], - [ - 505, - 1 - ] - ], - "doc": " Private: Given a buffer row, this converts it into a screen row.\n\nbufferRow - A {Number} representing a buffer row\n\nReturns a {Number}. " - } - }, - "505": { - "29": { - "name": "lastScreenRowForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 505, - 29 - ], - [ - 513, - 1 - ] - ], - "doc": "~Private~" - } - }, - "513": { - "25": { - "name": "bufferRowForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 513, - 25 - ], - [ - 521, - 1 - ] - ], - "doc": " Private: Given a screen row, this converts it into a buffer row.\n\nscreenRow - A {Number} representing a screen row\n\nReturns a {Number}. " - } - }, - "521": { - "29": { - "name": "screenRangeForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 521, - 29 - ], - [ - 532, - 1 - ] - ], - "doc": " Private: Given a buffer range, this converts it into a screen position.\n\nbufferRange - The {Range} to convert\n\nReturns a {Range}. " - } - }, - "532": { - "29": { - "name": "bufferRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 532, - 29 - ], - [ - 538, - 1 - ] - ], - "doc": " Private: Given a screen range, this converts it into a buffer position.\n\nscreenRange - The {Range} to convert\n\nReturns a {Range}. " - } - }, - "538": { - "28": { - "name": "pixelRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "clip" - ], - "range": [ - [ - 538, - 28 - ], - [ - 542, - 1 - ] - ], - "doc": "~Private~" - } - }, - "542": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "clip" - ], - "range": [ - [ - 542, - 34 - ], - [ - 561, - 1 - ] - ], - "doc": "~Private~" - } - }, - "561": { - "34": { - "name": "screenPositionForPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 561, - 34 - ], - [ - 581, - 1 - ] - ], - "doc": "~Private~" - } - }, - "581": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 581, - 34 - ], - [ - 587, - 1 - ] - ], - "doc": "~Private~" - } - }, - "587": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 587, - 16 - ], - [ - 593, - 1 - ] - ], - "doc": " Private: Gets the number of screen lines.\n\nReturns a {Number}. " - } - }, - "593": { - "14": { - "name": "getLastRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 593, - 14 - ], - [ - 599, - 1 - ] - ], - "doc": " Private: Gets the number of the last screen line.\n\nReturns a {Number}. " - } - }, - "599": { - "20": { - "name": "getMaxLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 599, - 20 - ], - [ - 605, - 1 - ] - ], - "doc": " Private: Gets the length of the longest screen line.\n\nReturns a {Number}. " - } - }, - "605": { - "23": { - "name": "getLongestScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 605, - 23 - ], - [ - 617, - 1 - ] - ], - "doc": " Private: Gets the row number of the longest screen line.\n\nReturn a {} " - } - }, - "617": { - "35": { - "name": "screenPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 617, - 35 - ], - [ - 651, - 1 - ] - ], - "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " - } - }, - "651": { - "35": { - "name": "bufferPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 651, - 35 - ], - [ - 661, - 1 - ] - ], - "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " - } - }, - "661": { - "27": { - "name": "scopesForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 661, - 27 - ], - [ - 664, - 1 - ] - ], - "doc": " Private: Retrieves the grammar's token scopes for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}\n\nReturns an {Array} of {String}s. " - } - }, - "664": { - "33": { - "name": "bufferRangeForScopeAtPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "position" - ], - "range": [ - [ - 664, - 33 - ], - [ - 672, - 1 - ] - ], - "doc": "~Private~" - } - }, - "672": { - "26": { - "name": "tokenForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 672, - 26 - ], - [ - 678, - 1 - ] - ], - "doc": " Private: Retrieves the grammar's token for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}.\n\nReturns a {Token}. " - } - }, - "678": { - "14": { - "name": "getGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 678, - 14 - ], - [ - 684, - 1 - ] - ], - "doc": " Private: Get the grammar for this buffer.\n\nReturns the current {Grammar} or the {NullGrammar}. " - } - }, - "684": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 684, - 14 - ], - [ - 688, - 1 - ] - ], - "doc": " Private: Sets the grammar for the buffer.\n\ngrammar - Sets the new grammar rules " - } - }, - "688": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 688, - 17 - ], - [ - 704, - 1 - ] - ], - "doc": "Private: Reloads the current grammar. " - } - }, - "704": { - "22": { - "name": "clipScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 704, - 22 - ], - [ - 740, - 1 - ] - ], - "doc": " Private: Given a position, this clips it to a real position.\n\nFor example, if `position`'s row exceeds the row count of the buffer,\nor if its column goes beyond a line's length, this \"sanitizes\" the value\nto a real position.\n\nposition - The {Point} to clip\noptions - A hash with the following values:\n wrapBeyondNewlines: if `true`, continues wrapping past newlines\n wrapAtSoftNewlines: if `true`, continues wrapping past soft newlines\n screenLine: if `true`, indicates that you're using a line number, not a row number\n\nReturns the new, clipped {Point}. Note that this could be the same as `position` if no clipping was performed. " - } - }, - "740": { - "18": { - "name": "findWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line", - "softWrapColumn" - ], - "range": [ - [ - 740, - 18 - ], - [ - 758, - 1 - ] - ], - "doc": " Private: Given a line, finds the point where it would wrap.\n\nline - The {String} to check\nsoftWrapColumn - The {Number} where you want soft wrapping to occur\n\nReturns a {Number} representing the `line` position where the wrap would take place.\nReturns `null` if a wrap wouldn't occur. " - } - }, - "758": { - "20": { - "name": "rangeForAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 758, - 20 - ], - [ - 761, - 1 - ] - ], - "doc": " Private: Calculates a {Range} representing the start of the {TextBuffer} until the end.\n\nReturns a {Range}. " - } - }, - "761": { - "19": { - "name": "decorationForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 761, - 19 - ], - [ - 764, - 1 - ] - ], - "doc": "~Private~" - } - }, - "764": { - "32": { - "name": "decorationsForScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 764, - 32 - ], - [ - 771, - 1 - ] - ], - "doc": "~Private~" - } - }, - "771": { - "18": { - "name": "decorateMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "decorationParams" - ], - "range": [ - [ - 771, - 18 - ], - [ - 793, - 1 - ] - ], - "doc": "~Private~" - } - }, - "793": { - "20": { - "name": "removeDecoration", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decoration" - ], - "range": [ - [ - 793, - 20 - ], - [ - 804, - 1 - ] - ], - "doc": "~Private~" - } - }, - "804": { - "33": { - "name": "removeAllDecorationsForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 804, - 33 - ], - [ - 810, - 1 - ] - ], - "doc": "~Private~" - } - }, - "810": { - "31": { - "name": "removedAllMarkerDecorations", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 810, - 31 - ], - [ - 818, - 1 - ] - ], - "doc": "~Private~" - } - }, - "818": { - "21": { - "name": "decorationUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decoration" - ], - "range": [ - [ - 818, - 21 - ], - [ - 826, - 1 - ] - ], - "doc": "~Private~" - } - }, - "826": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 826, - 13 - ], - [ - 836, - 1 - ] - ], - "doc": " Private: Retrieves a {DisplayBufferMarker} based on its id.\n\nid - A {Number} representing a marker id\n\nReturns the {DisplayBufferMarker} (if it exists). " - } - }, - "836": { - "14": { - "name": "getMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 836, - 14 - ], - [ - 839, - 1 - ] - ], - "doc": " Private: Retrieves the active markers in the buffer.\n\nReturns an {Array} of existing {DisplayBufferMarker}s. " - } - }, - "839": { - "18": { - "name": "getMarkerCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 839, - 18 - ], - [ - 848, - 1 - ] - ], - "doc": "~Private~" - } - }, - "848": { - "19": { - "name": "markScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 848, - 19 - ], - [ - 858, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given screen range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "858": { - "19": { - "name": "markBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range", - "options" - ], - "range": [ - [ - 858, - 19 - ], - [ - 867, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given buffer range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "867": { - "22": { - "name": "markScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 867, - 22 - ], - [ - 876, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given screen position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "876": { - "22": { - "name": "markBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 876, - 22 - ], - [ - 882, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given buffer position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "882": { - "17": { - "name": "destroyMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 882, - 17 - ], - [ - 891, - 1 - ] - ], - "doc": " Public: Removes the marker with the given id.\n\nid - The {Number} of the ID to remove " - } - }, - "891": { - "14": { - "name": "findMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 891, - 14 - ], - [ - 912, - 1 - ] - ], - "doc": " Private: Finds the first marker satisfying the given attributes\n\nRefer to {DisplayBuffer::findMarkers} for details.\n\nReturns a {DisplayBufferMarker} or null " - } - }, - "912": { - "15": { - "name": "findMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 912, - 15 - ], - [ - 916, - 1 - ] - ], - "doc": " Public: Find all markers satisfying a set of parameters.\n\nparams - An {Object} containing parameters that all returned markers must\n satisfy. Unreserved keys will be compared against the markers' custom\n properties. There are also the following reserved keys with special\n meaning for the query:\n :startBufferRow - A {Number}. Only returns markers starting at this row in\n buffer coordinates.\n :endBufferRow - A {Number}. Only returns markers ending at this row in\n buffer coordinates.\n :containsBufferRange - A {Range} or range-compatible {Array}. Only returns\n markers containing this range in buffer coordinates.\n :containsBufferPosition - A {Point} or point-compatible {Array}. Only\n returns markers containing this position in buffer coordinates.\n :containedInBufferRange - A {Range} or range-compatible {Array}. Only\n returns markers contained within this range.\n\nReturns an {Array} of {DisplayBufferMarker}s " - } - }, - "916": { - "33": { - "name": "translateToBufferMarkerParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 916, - 33 - ], - [ - 954, - 1 - ] - ], - "doc": "~Private~" - } - }, - "954": { - "18": { - "name": "findFoldMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 954, - 18 - ], - [ - 957, - 1 - ] - ], - "doc": "~Private~" - } - }, - "957": { - "19": { - "name": "findFoldMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 957, - 19 - ], - [ - 960, - 1 - ] - ], - "doc": "~Private~" - } - }, - "960": { - "27": { - "name": "getFoldMarkerAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 960, - 27 - ], - [ - 963, - 1 - ] - ], - "doc": "~Private~" - } - }, - "963": { - "24": { - "name": "pauseMarkerObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 963, - 24 - ], - [ - 966, - 1 - ] - ], - "doc": "~Private~" - } - }, - "966": { - "25": { - "name": "resumeMarkerObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 966, - 25 - ], - [ - 970, - 1 - ] - ], - "doc": "~Private~" - } - }, - "970": { - "32": { - "name": "refreshMarkerScreenPositions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 970, - 32 - ], - [ - 974, - 1 - ] - ], - "doc": "~Private~" - } - }, - "974": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 974, - 13 - ], - [ - 979, - 1 - ] - ], - "doc": "~Private~" - } - }, - "979": { - "12": { - "name": "logLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 979, - 12 - ], - [ - 984, - 1 - ] - ], - "doc": "~Private~" - } - }, - "984": { - "31": { - "name": "handleTokenizedBufferChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tokenizedBufferChange" - ], - "range": [ - [ - 984, - 31 - ], - [ - 989, - 1 - ] - ], - "doc": "~Private~" - } - }, - "989": { - "21": { - "name": "updateScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "endBufferRow", - "bufferDelta", - "options" - ], - "range": [ - [ - 989, - 21 - ], - [ - 1015, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1015": { - "20": { - "name": "buildScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "endBufferRow" - ], - "range": [ - [ - 1015, - 20 - ], - [ - 1061, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1061": { - "21": { - "name": "findMaxLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow", - "newScreenLines", - "screenDelta" - ], - "range": [ - [ - 1061, - 21 - ], - [ - 1083, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1083": { - "22": { - "name": "computeScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1083, - 22 - ], - [ - 1088, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1088": { - "30": { - "name": "handleBufferMarkersUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1088, - 30 - ], - [ - 1093, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1093": { - "29": { - "name": "handleBufferMarkerCreated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1093, - 29 - ], - [ - 1097, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1097": { - "23": { - "name": "createFoldForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1097, - 23 - ], - [ - 1101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1101": { - "17": { - "name": "foldForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1101, - 17 - ], - [ - 1102, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 19 - }, - "src/editor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "10": { - "type": "import", - "range": [ - [ - 0, - 10 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$$", - "exportsProperty": "$$$" - } - }, - "1": { - "13": { - "name": "GutterView", - "type": "import", - "range": [ - [ - 1, - 13 - ], - [ - 1, - 35 - ] - ], - "bindingType": "variable", - "path": "./gutter-view" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "3": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 3, - 9 - ], - [ - 3, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "4": { - "13": { - "name": "CursorView", - "type": "import", - "range": [ - [ - 4, - 13 - ], - [ - 4, - 35 - ] - ], - "bindingType": "variable", - "path": "./cursor-view" - } - }, - "5": { - "16": { - "name": "SelectionView", - "type": "import", - "range": [ - [ - 5, - 16 - ], - [ - 5, - 41 - ] - ], - "bindingType": "variable", - "path": "./selection-view" - } - }, - "6": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 6, - 5 - ], - [ - 6, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2" - } - }, - "7": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "8": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 8, - 13 - ], - [ - 8, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer" - } - }, - "10": { - "15": { - "name": "MeasureRange", - "type": "function", - "range": [ - [ - 10, - 15 - ], - [ - 10, - 36 - ] - ] - } - }, - "11": { - "17": { - "type": "primitive", - "range": [ - [ - 11, - 17 - ], - [ - 11, - 59 - ] - ] - }, - "31": { - "name": "acceptNode", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 11, - 31 - ], - [ - 11, - 57 - ] - ], - "doc": null - } - }, - "12": { - "10": { - "type": "primitive", - "range": [ - [ - 12, - 10 - ], - [ - 12, - 21 - ] - ] - } - }, - "13": { - "17": { - "name": "1000", - "type": "primitive", - "range": [ - [ - 13, - 17 - ], - [ - 13, - 20 - ] - ] - } - }, - "41": { - "0": { - "type": "class", - "name": "EditorView", - "bindingType": "exports", - "classProperties": [ - [ - 42, - 24 - ], - [ - 44, - 4 - ], - [ - 61, - 17 - ], - [ - 63, - 12 - ], - [ - 76, - 12 - ], - [ - 1271, - 21 - ], - [ - 1485, - 18 - ], - [ - 1513, - 21 - ], - [ - 1529, - 14 - ], - [ - 1533, - 13 - ], - [ - 1537, - 23 - ] - ], - "prototypeProperties": [ - [ - 81, - 17 - ], - [ - 82, - 17 - ], - [ - 83, - 14 - ], - [ - 84, - 13 - ], - [ - 85, - 14 - ], - [ - 86, - 15 - ], - [ - 87, - 18 - ], - [ - 88, - 13 - ], - [ - 89, - 13 - ], - [ - 90, - 10 - ], - [ - 91, - 12 - ], - [ - 92, - 16 - ], - [ - 93, - 18 - ], - [ - 94, - 14 - ], - [ - 95, - 17 - ], - [ - 96, - 20 - ], - [ - 97, - 24 - ], - [ - 106, - 14 - ], - [ - 141, - 12 - ], - [ - 251, - 13 - ], - [ - 255, - 11 - ], - [ - 259, - 11 - ], - [ - 263, - 14 - ], - [ - 266, - 20 - ], - [ - 271, - 19 - ], - [ - 277, - 12 - ], - [ - 284, - 10 - ], - [ - 292, - 15 - ], - [ - 298, - 21 - ], - [ - 310, - 17 - ], - [ - 322, - 22 - ], - [ - 332, - 22 - ], - [ - 337, - 22 - ], - [ - 341, - 16 - ], - [ - 345, - 13 - ], - [ - 354, - 16 - ], - [ - 436, - 21 - ], - [ - 476, - 28 - ], - [ - 479, - 33 - ], - [ - 505, - 15 - ], - [ - 538, - 8 - ], - [ - 586, - 12 - ], - [ - 589, - 12 - ], - [ - 592, - 27 - ], - [ - 600, - 13 - ], - [ - 618, - 16 - ], - [ - 624, - 14 - ], - [ - 631, - 15 - ], - [ - 639, - 18 - ], - [ - 646, - 26 - ], - [ - 654, - 26 - ], - [ - 662, - 26 - ], - [ - 673, - 25 - ], - [ - 684, - 39 - ], - [ - 696, - 31 - ], - [ - 702, - 18 - ], - [ - 706, - 18 - ], - [ - 710, - 25 - ], - [ - 713, - 26 - ], - [ - 716, - 21 - ], - [ - 723, - 15 - ], - [ - 733, - 15 - ], - [ - 746, - 15 - ], - [ - 752, - 17 - ], - [ - 762, - 17 - ], - [ - 770, - 17 - ], - [ - 776, - 10 - ], - [ - 786, - 13 - ], - [ - 791, - 14 - ], - [ - 796, - 11 - ], - [ - 801, - 13 - ], - [ - 808, - 11 - ], - [ - 811, - 10 - ], - [ - 816, - 16 - ], - [ - 823, - 17 - ], - [ - 827, - 18 - ], - [ - 830, - 17 - ], - [ - 836, - 20 - ], - [ - 839, - 20 - ], - [ - 843, - 21 - ], - [ - 846, - 20 - ], - [ - 852, - 23 - ], - [ - 855, - 36 - ], - [ - 859, - 21 - ], - [ - 863, - 20 - ], - [ - 884, - 22 - ], - [ - 900, - 23 - ], - [ - 912, - 25 - ], - [ - 924, - 25 - ], - [ - 943, - 12 - ], - [ - 950, - 22 - ], - [ - 955, - 16 - ], - [ - 970, - 24 - ], - [ - 978, - 17 - ], - [ - 994, - 21 - ], - [ - 1006, - 22 - ], - [ - 1012, - 24 - ], - [ - 1023, - 25 - ], - [ - 1031, - 24 - ], - [ - 1034, - 14 - ], - [ - 1046, - 25 - ], - [ - 1057, - 23 - ], - [ - 1084, - 38 - ], - [ - 1102, - 23 - ], - [ - 1144, - 24 - ], - [ - 1158, - 20 - ], - [ - 1173, - 13 - ], - [ - 1178, - 19 - ], - [ - 1201, - 32 - ], - [ - 1214, - 28 - ], - [ - 1223, - 27 - ], - [ - 1234, - 22 - ], - [ - 1237, - 27 - ], - [ - 1241, - 32 - ], - [ - 1244, - 34 - ], - [ - 1249, - 21 - ], - [ - 1256, - 21 - ], - [ - 1298, - 32 - ], - [ - 1304, - 26 - ], - [ - 1313, - 27 - ], - [ - 1316, - 33 - ], - [ - 1325, - 34 - ], - [ - 1334, - 34 - ], - [ - 1348, - 32 - ], - [ - 1371, - 19 - ], - [ - 1416, - 26 - ], - [ - 1424, - 26 - ], - [ - 1432, - 28 - ], - [ - 1435, - 32 - ], - [ - 1440, - 32 - ], - [ - 1470, - 23 - ], - [ - 1481, - 23 - ], - [ - 1563, - 23 - ], - [ - 1573, - 25 - ], - [ - 1575, - 18 - ], - [ - 1578, - 18 - ], - [ - 1581, - 20 - ] - ], - "doc": " Public: Represents the entire visual pane in Atom.\n\nThe EditorView manages the {Editor}, which manages the file buffers.\n\n## Requiring in packages\n\n```coffee\n{EditorView} = require 'atom'\n\nminiEditorView = new EditorView(mini: true)\n```\n\n## Iterating over the open editor views\n\n```coffee\nfor editorView in atom.workspaceView.getEditorViews()\n console.log(editorView.getEditor().getPath())\n```\n\n## Subscribing to every current and future editor\n\n```coffee\natom.workspace.eachEditorView (editorView) ->\n console.log(editorView.getEditor().getPath())\n``` ", - "range": [ - [ - 41, - 0 - ], - [ - 1583, - 35 - ] - ] - } - }, - "42": { - "24": { - "name": "characterWidthCache", - "type": "primitive", - "range": [ - [ - 42, - 24 - ], - [ - 42, - 25 - ] - ], - "bindingType": "classProperty" - } - }, - "44": { - "4": { - "name": "configDefaults", - "type": "primitive", - "range": [ - [ - 44, - 4 - ], - [ - 59, - 32 - ] - ], - "bindingType": "classProperty" - } - }, - "61": { - "17": { - "name": "nextEditorId", - "type": "primitive", - "range": [ - [ - 61, - 17 - ], - [ - 61, - 17 - ] - ], - "bindingType": "classProperty" - } - }, - "63": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 63, - 12 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "12": { - "name": "classes", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 76, - 12 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "17": { - "name": "vScrollMargin", - "type": "primitive", - "range": [ - [ - 81, - 17 - ], - [ - 81, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "82": { - "17": { - "name": "hScrollMargin", - "type": "primitive", - "range": [ - [ - 82, - 17 - ], - [ - 82, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "83": { - "14": { - "name": "lineHeight", - "type": "primitive", - "range": [ - [ - 83, - 14 - ], - [ - 83, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "84": { - "13": { - "name": "charWidth", - "type": "primitive", - "range": [ - [ - 84, - 13 - ], - [ - 84, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "85": { - "14": { - "name": "charHeight", - "type": "primitive", - "range": [ - [ - 85, - 14 - ], - [ - 85, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "86": { - "15": { - "name": "cursorViews", - "type": "primitive", - "range": [ - [ - 86, - 15 - ], - [ - 86, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "87": { - "18": { - "name": "selectionViews", - "type": "primitive", - "range": [ - [ - 87, - 18 - ], - [ - 87, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "88": { - "13": { - "name": "lineCache", - "type": "primitive", - "range": [ - [ - 88, - 13 - ], - [ - 88, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "89": { - "13": { - "name": "isFocused", - "type": "primitive", - "range": [ - [ - 89, - 13 - ], - [ - 89, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "90": { - "10": { - "name": "editor", - "type": "primitive", - "range": [ - [ - 90, - 10 - ], - [ - 90, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "91": { - "12": { - "name": "attached", - "type": "primitive", - "range": [ - [ - 91, - 12 - ], - [ - 91, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "92": { - "16": { - "name": "lineOverdraw", - "type": "primitive", - "range": [ - [ - 92, - 16 - ], - [ - 92, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "93": { - "18": { - "name": "pendingChanges", - "type": "primitive", - "range": [ - [ - 93, - 18 - ], - [ - 93, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "94": { - "14": { - "name": "newCursors", - "type": "primitive", - "range": [ - [ - 94, - 14 - ], - [ - 94, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "95": { - "17": { - "name": "newSelections", - "type": "primitive", - "range": [ - [ - 95, - 17 - ], - [ - 95, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "96": { - "20": { - "name": "redrawOnReattach", - "type": "primitive", - "range": [ - [ - 96, - 20 - ], - [ - 96, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "97": { - "24": { - "name": "bottomPaddingInLines", - "type": "primitive", - "range": [ - [ - 97, - 24 - ], - [ - 97, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "106": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorOrOptions" - ], - "range": [ - [ - 106, - 14 - ], - [ - 141, - 1 - ] - ], - "doc": " Private: The constructor for setting up an `EditorView` instance.\n\neditorOrOptions - Either an {Editor}, or an object with one property, `mini`.\n If `mini` is `true`, a \"miniature\" `Editor` is constructed.\n Typically, this is ideal for scenarios where you need an Atom editor,\n but without all the chrome, like scrollbars, gutter, _e.t.c._.\n\n " - } - }, - "141": { - "12": { - "name": "bindKeys", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 12 - ], - [ - 251, - 1 - ] - ], - "doc": " Private: Sets up the core Atom commands.\n\nSome commands are excluded from mini-editors. " - } - }, - "251": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 251, - 13 - ], - [ - 255, - 1 - ] - ], - "doc": " Public: Get the underlying editor model for this view.\n\nReturns an {Editor}. " - } - }, - "255": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 255, - 11 - ], - [ - 259, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.getText} " - } - }, - "259": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 259, - 11 - ], - [ - 263, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.setText} " - } - }, - "263": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 263, - 14 - ], - [ - 266, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.insertText} " - } - }, - "266": { - "20": { - "name": "setHeightInLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "heightInLines" - ], - "range": [ - [ - 266, - 20 - ], - [ - 271, - 1 - ] - ], - "doc": "~Private~" - } - }, - "271": { - "19": { - "name": "setWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "widthInChars" - ], - "range": [ - [ - 271, - 19 - ], - [ - 277, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.setEditorWidthInChars} " - } - }, - "277": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 277, - 12 - ], - [ - 284, - 1 - ] - ], - "doc": " Public: Emulates the \"page down\" key, where the last row of a buffer scrolls\nto become the first. " - } - }, - "284": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 10 - ], - [ - 292, - 1 - ] - ], - "doc": " Public: Emulates the \"page up\" key, where the frst row of a buffer scrolls\nto become the last. " - } - }, - "292": { - "15": { - "name": "getPageRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 15 - ], - [ - 298, - 1 - ] - ], - "doc": " Private: Gets the number of actual page rows existing in an editor.\n\nReturns a {Number}. " - } - }, - "298": { - "21": { - "name": "setShowInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showInvisibles" - ], - "range": [ - [ - 298, - 21 - ], - [ - 310, - 1 - ] - ], - "doc": " Public: Set whether invisible characters are shown.\n\nshowInvisibles - A {Boolean} which, if `true`, show invisible characters. " - } - }, - "310": { - "17": { - "name": "setInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 310, - 17 - ], - [ - 322, - 1 - ] - ], - "doc": " Public: Defines which characters are invisible.\n\ninvisibles - An {Object} defining the invisible characters:\n :eol - The end of line invisible {String} (default: `\\u00ac`).\n :space - The space invisible {String} (default: `\\u00b7`).\n :tab - The tab invisible {String} (default: `\\u00bb`).\n :cr - The carriage return invisible {String} (default: `\\u00a4`). " - } - }, - "322": { - "22": { - "name": "setShowIndentGuide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showIndentGuide" - ], - "range": [ - [ - 322, - 22 - ], - [ - 332, - 1 - ] - ], - "doc": " Public: Sets whether you want to show the indentation guides.\n\nshowIndentGuide - A {Boolean} you can set to `true` if you want to see the\n indentation guides. " - } - }, - "332": { - "22": { - "name": "setPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "placeholderText" - ], - "range": [ - [ - 332, - 22 - ], - [ - 337, - 1 - ] - ], - "doc": " Public: Set the text to appear in the editor when it is empty.\n\nThis only affects mini editors.\n\nplaceholderText - A {String} of text to display when empty. " - } - }, - "337": { - "22": { - "name": "getPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 337, - 22 - ], - [ - 341, - 1 - ] - ], - "doc": "~Private~" - } - }, - "341": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 341, - 16 - ], - [ - 345, - 1 - ] - ], - "doc": "Private: Checkout the HEAD revision of this editor's file. " - } - }, - "345": { - "13": { - "name": "configure", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 345, - 13 - ], - [ - 354, - 1 - ] - ], - "doc": "~Private~" - } - }, - "354": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 354, - 16 - ], - [ - 436, - 1 - ] - ], - "doc": "~Private~" - } - }, - "436": { - "21": { - "name": "handleInputEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 436, - 21 - ], - [ - 476, - 1 - ] - ], - "doc": "~Private~" - } - }, - "476": { - "28": { - "name": "bringHiddenInputIntoView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 476, - 28 - ], - [ - 479, - 1 - ] - ], - "doc": "~Private~" - } - }, - "479": { - "33": { - "name": "selectOnMousemoveUntilMouseup", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 479, - 33 - ], - [ - 505, - 1 - ] - ], - "doc": "~Private~" - } - }, - "505": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 505, - 15 - ], - [ - 538, - 1 - ] - ], - "doc": "~Private~" - } - }, - "538": { - "8": { - "name": "edit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 538, - 8 - ], - [ - 586, - 1 - ] - ], - "doc": "~Private~" - } - }, - "586": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 586, - 12 - ], - [ - 589, - 1 - ] - ], - "doc": "~Private~" - } - }, - "589": { - "12": { - "name": "setModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 589, - 12 - ], - [ - 592, - 1 - ] - ], - "doc": "~Private~" - } - }, - "592": { - "27": { - "name": "showBufferConflictAlert", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 592, - 27 - ], - [ - 600, - 1 - ] - ], - "doc": "~Private~" - } - }, - "600": { - "13": { - "name": "scrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop", - "options" - ], - "range": [ - [ - 600, - 13 - ], - [ - 618, - 1 - ] - ], - "doc": "~Private~" - } - }, - "618": { - "16": { - "name": "scrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 618, - 16 - ], - [ - 624, - 1 - ] - ], - "doc": "~Private~" - } - }, - "624": { - "14": { - "name": "scrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 624, - 14 - ], - [ - 631, - 1 - ] - ], - "doc": "~Private~" - } - }, - "631": { - "15": { - "name": "scrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 631, - 15 - ], - [ - 639, - 1 - ] - ], - "doc": "~Private~" - } - }, - "639": { - "18": { - "name": "scrollToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 639, - 18 - ], - [ - 646, - 1 - ] - ], - "doc": "Public: Scrolls the editor to the bottom. " - } - }, - "646": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 646, - 26 - ], - [ - 654, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the position of the most recently added\ncursor if it isn't current on screen.\n\nThe editor is centered around the cursor's position if possible. " - } - }, - "654": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 654, - 26 - ], - [ - 662, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given buffer position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " - } - }, - "662": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 662, - 26 - ], - [ - 673, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " - } - }, - "673": { - "25": { - "name": "scrollToPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition", - "options" - ], - "range": [ - [ - 673, - 25 - ], - [ - 684, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given pixel position.\n\npixelPosition - An object that represents a pixel position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or\n {Point}.\noptions - A hash with the following keys:\n :center - if `true`, the position is scrolled such that it's in\n the center of the editor " - } - }, - "684": { - "39": { - "name": "highlightFoldsContainingBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 684, - 39 - ], - [ - 696, - 1 - ] - ], - "doc": " Public: Highlight all the folds within the given buffer range.\n\n\"Highlighting\" essentially just adds the `fold-selected` class to the line's\nDOM element.\n\nbufferRange - The {Range} to check. " - } - }, - "696": { - "31": { - "name": "saveScrollPositionForEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 696, - 31 - ], - [ - 702, - 1 - ] - ], - "doc": "~Private~" - } - }, - "702": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 702, - 18 - ], - [ - 706, - 1 - ] - ], - "doc": "Public: Toggle soft tabs on the edit session. " - } - }, - "706": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 706, - 18 - ], - [ - 710, - 1 - ] - ], - "doc": "Public: Toggle soft wrap on the edit session. " - } - }, - "710": { - "25": { - "name": "calculateWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 710, - 25 - ], - [ - 713, - 1 - ] - ], - "doc": "~Private~" - } - }, - "713": { - "26": { - "name": "calculateHeightInLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 713, - 26 - ], - [ - 716, - 1 - ] - ], - "doc": "~Private~" - } - }, - "716": { - "21": { - "name": "getScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 716, - 21 - ], - [ - 723, - 1 - ] - ], - "doc": "~Private~" - } - }, - "723": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 723, - 15 - ], - [ - 733, - 1 - ] - ], - "doc": " Public: Enables/disables soft wrap on the editor.\n\nsoftWrap - A {Boolean} which, if `true`, enables soft wrap " - } - }, - "733": { - "15": { - "name": "setFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 733, - 15 - ], - [ - 746, - 1 - ] - ], - "doc": " Public: Sets the font size for the editor.\n\nfontSize - A {Number} indicating the font size in pixels. " - } - }, - "746": { - "15": { - "name": "getFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 746, - 15 - ], - [ - 752, - 1 - ] - ], - "doc": " Public: Retrieves the font size for the editor.\n\nReturns a {Number} indicating the font size in pixels. " - } - }, - "752": { - "17": { - "name": "setFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 752, - 17 - ], - [ - 762, - 1 - ] - ], - "doc": " Public: Sets the font family for the editor.\n\nfontFamily - A {String} identifying the CSS `font-family`. " - } - }, - "762": { - "17": { - "name": "getFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 762, - 17 - ], - [ - 762, - 38 - ] - ], - "doc": " Public: Gets the font family for the editor.\n\nReturns a {String} identifying the CSS `font-family`. " - } - }, - "770": { - "17": { - "name": "setLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 770, - 17 - ], - [ - 776, - 1 - ] - ], - "doc": " Public: Sets the line height of the editor.\n\nCalling this method has no effect when called on a mini editor.\n\nlineHeight - A {Number} without a unit suffix identifying the CSS\n`line-height`. " - } - }, - "776": { - "10": { - "name": "redraw", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 776, - 10 - ], - [ - 786, - 1 - ] - ], - "doc": "Public: Redraw the editor " - } - }, - "786": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 786, - 13 - ], - [ - 791, - 1 - ] - ], - "doc": "Public: Split the editor view left. " - } - }, - "791": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 791, - 14 - ], - [ - 796, - 1 - ] - ], - "doc": "Public: Split the editor view right. " - } - }, - "796": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 796, - 11 - ], - [ - 801, - 1 - ] - ], - "doc": "Public: Split the editor view up. " - } - }, - "801": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 801, - 13 - ], - [ - 808, - 1 - ] - ], - "doc": "Public: Split the editor view down. " - } - }, - "808": { - "11": { - "name": "getPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 808, - 11 - ], - [ - 811, - 1 - ] - ], - "doc": " Public: Get this view's pane.\n\nReturns a {Pane}. " - } - }, - "811": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "keepData" - ], - "range": [ - [ - 811, - 10 - ], - [ - 816, - 1 - ] - ], - "doc": "~Private~" - } - }, - "816": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 816, - 16 - ], - [ - 823, - 1 - ] - ], - "doc": "~Private~" - } - }, - "823": { - "17": { - "name": "getCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 823, - 17 - ], - [ - 827, - 1 - ] - ], - "doc": "~Private~" - } - }, - "827": { - "18": { - "name": "getCursorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 827, - 18 - ], - [ - 830, - 1 - ] - ], - "doc": "~Private~" - } - }, - "830": { - "17": { - "name": "addCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursor", - "options" - ], - "range": [ - [ - 830, - 17 - ], - [ - 836, - 1 - ] - ], - "doc": "~Private~" - } - }, - "836": { - "20": { - "name": "removeCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 836, - 20 - ], - [ - 839, - 1 - ] - ], - "doc": "~Private~" - } - }, - "839": { - "20": { - "name": "getSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 839, - 20 - ], - [ - 843, - 1 - ] - ], - "doc": "~Private~" - } - }, - "843": { - "21": { - "name": "getSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 843, - 21 - ], - [ - 846, - 1 - ] - ], - "doc": "~Private~" - } - }, - "846": { - "20": { - "name": "addSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 846, - 20 - ], - [ - 852, - 1 - ] - ], - "doc": "~Private~" - } - }, - "852": { - "23": { - "name": "removeSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selectionView" - ], - "range": [ - [ - 852, - 23 - ], - [ - 855, - 1 - ] - ], - "doc": "~Private~" - } - }, - "855": { - "36": { - "name": "removeAllCursorAndSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 855, - 36 - ], - [ - 859, - 1 - ] - ], - "doc": "~Private~" - } - }, - "859": { - "21": { - "name": "appendToLinesView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 859, - 21 - ], - [ - 863, - 1 - ] - ], - "doc": "~Private~" - } - }, - "863": { - "20": { - "name": "scrollVertically", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition", - null - ], - "range": [ - [ - 863, - 20 - ], - [ - 884, - 1 - ] - ], - "doc": "Private: Scrolls the editor vertically to a given position. " - } - }, - "884": { - "22": { - "name": "scrollHorizontally", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 884, - 22 - ], - [ - 900, - 1 - ] - ], - "doc": "Private: Scrolls the editor horizontally to a given position. " - } - }, - "900": { - "23": { - "name": "calculateDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 900, - 23 - ], - [ - 912, - 1 - ] - ], - "doc": "~Private~" - } - }, - "912": { - "25": { - "name": "recalculateDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 912, - 25 - ], - [ - 924, - 1 - ] - ], - "doc": "~Private~" - } - }, - "924": { - "25": { - "name": "updateLayerDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollViewWidth" - ], - "range": [ - [ - 924, - 25 - ], - [ - 943, - 1 - ] - ], - "doc": "~Private~" - } - }, - "943": { - "12": { - "name": "isHidden", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 943, - 12 - ], - [ - 950, - 1 - ] - ], - "doc": "Private: Override for speed. The base function checks computedStyle, unnecessary here. " - } - }, - "950": { - "22": { - "name": "clearRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 950, - 22 - ], - [ - 955, - 1 - ] - ], - "doc": "~Private~" - } - }, - "955": { - "16": { - "name": "resetDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 955, - 16 - ], - [ - 970, - 1 - ] - ], - "doc": "~Private~" - } - }, - "970": { - "24": { - "name": "requestDisplayUpdate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 970, - 24 - ], - [ - 978, - 1 - ] - ], - "doc": "~Private~" - } - }, - "978": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 978, - 17 - ], - [ - 994, - 1 - ] - ], - "doc": "~Private~" - } - }, - "994": { - "21": { - "name": "updateCursorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 994, - 21 - ], - [ - 1006, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1006": { - "22": { - "name": "shouldUpdateCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 1006, - 22 - ], - [ - 1012, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1012": { - "24": { - "name": "updateSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1012, - 24 - ], - [ - 1023, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1023": { - "25": { - "name": "shouldUpdateSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selectionView" - ], - "range": [ - [ - 1023, - 25 - ], - [ - 1031, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1031": { - "24": { - "name": "syncCursorAnimations", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1031, - 24 - ], - [ - 1034, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1034": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "suppressAutoscroll" - ], - "range": [ - [ - 1034, - 14 - ], - [ - 1046, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1046": { - "25": { - "name": "updatePlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1046, - 25 - ], - [ - 1057, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1057": { - "23": { - "name": "updateRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollViewWidth" - ], - "range": [ - [ - 1057, - 23 - ], - [ - 1084, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1084": { - "38": { - "name": "computeSurroundingEmptyLineChanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "change" - ], - "range": [ - [ - 1084, - 38 - ], - [ - 1102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1102": { - "23": { - "name": "computeIntactRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1102, - 23 - ], - [ - 1144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1144": { - "24": { - "name": "truncateIntactRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges", - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1144, - 24 - ], - [ - 1158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1158": { - "20": { - "name": "clearDirtyRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges" - ], - "range": [ - [ - 1158, - 20 - ], - [ - 1173, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1173": { - "13": { - "name": "clearLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement" - ], - "range": [ - [ - 1173, - 13 - ], - [ - 1178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1178": { - "19": { - "name": "fillDirtyRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges", - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1178, - 19 - ], - [ - 1201, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1201": { - "32": { - "name": "updatePaddingOfRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1201, - 32 - ], - [ - 1214, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1214": { - "28": { - "name": "getFirstVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1214, - 28 - ], - [ - 1223, - 1 - ] - ], - "doc": " Public: Retrieves the number of the row that is visible and currently at the\ntop of the editor.\n\nReturns a {Number}. " - } - }, - "1223": { - "27": { - "name": "getLastVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1223, - 27 - ], - [ - 1234, - 1 - ] - ], - "doc": " Public: Retrieves the number of the row that is visible and currently at the\nbottom of the editor.\n\nReturns a {Number}. " - } - }, - "1234": { - "22": { - "name": "isScreenRowVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 1234, - 22 - ], - [ - 1237, - 1 - ] - ], - "doc": " Public: Given a row number, identifies if it is currently visible.\n\nrow - A row {Number} to check\n\nReturns a {Boolean}. " - } - }, - "1237": { - "27": { - "name": "handleScreenLinesChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "change" - ], - "range": [ - [ - 1237, - 27 - ], - [ - 1241, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1241": { - "32": { - "name": "buildLineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 1241, - 32 - ], - [ - 1244, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1244": { - "34": { - "name": "buildLineElementsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1244, - 34 - ], - [ - 1249, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1249": { - "21": { - "name": "htmlForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1249, - 21 - ], - [ - 1256, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1256": { - "21": { - "name": "htmlForScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine", - "screenRow" - ], - "range": [ - [ - 1256, - 21 - ], - [ - 1271, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1271": { - "21": { - "name": "buildIndentation", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "screenRow", - "editor" - ], - "range": [ - [ - 1271, - 21 - ], - [ - 1298, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1298": { - "32": { - "name": "buildHtmlEndOfLineInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine" - ], - "range": [ - [ - 1298, - 32 - ], - [ - 1304, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1304": { - "26": { - "name": "getEndOfLineInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine" - ], - "range": [ - [ - 1304, - 26 - ], - [ - 1313, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1313": { - "27": { - "name": "lineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 1313, - 27 - ], - [ - 1316, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1316": { - "33": { - "name": "toggleLineCommentsInSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1316, - 33 - ], - [ - 1325, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1325": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1325, - 34 - ], - [ - 1334, - 1 - ] - ], - "doc": " Public: Converts a buffer position to a pixel position.\n\nposition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " - } - }, - "1334": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1334, - 34 - ], - [ - 1348, - 1 - ] - ], - "doc": " Public: Converts a screen position to a pixel position.\n\nposition - An object that represents a screen position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " - } - }, - "1348": { - "32": { - "name": "positionLeftForLineAndColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement", - "screenRow", - "screenColumn" - ], - "range": [ - [ - 1348, - 32 - ], - [ - 1371, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1371": { - "19": { - "name": "measureToColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement", - "tokenizedLine", - "screenColumn" - ], - "range": [ - [ - 1371, - 19 - ], - [ - 1416, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1416": { - "26": { - "name": "getCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "char" - ], - "range": [ - [ - 1416, - 26 - ], - [ - 1424, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1424": { - "26": { - "name": "setCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "char", - "val" - ], - "range": [ - [ - 1424, - 26 - ], - [ - 1432, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1432": { - "28": { - "name": "clearCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1432, - 28 - ], - [ - 1435, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1435": { - "32": { - "name": "pixelOffsetForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1435, - 32 - ], - [ - 1440, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1440": { - "32": { - "name": "screenPositionFromMouseEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 1440, - 32 - ], - [ - 1470, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1470": { - "23": { - "name": "highlightCursorLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1470, - 23 - ], - [ - 1481, - 1 - ] - ], - "doc": "Private: Highlights the current line the cursor is on. " - } - }, - "1481": { - "23": { - "name": "copyPathToClipboard", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1481, - 23 - ], - [ - 1485, - 1 - ] - ], - "doc": "Private: Copies the current file path to the native clipboard. " - } - }, - "1485": { - "18": { - "name": "buildLineHtml", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 1485, - 18 - ], - [ - 1513, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1513": { - "21": { - "name": "updateScopeStack", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 1513, - 21 - ], - [ - 1529, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1529": { - "14": { - "name": "pushScope", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack", - "scope" - ], - "range": [ - [ - 1529, - 14 - ], - [ - 1533, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1533": { - "13": { - "name": "popScope", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack" - ], - "range": [ - [ - 1533, - 13 - ], - [ - 1537, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1537": { - "23": { - "name": "buildEmptyLineHtml", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "showIndentGuide", - "eolInvisibles", - "htmlEolInvisibles", - "indentation", - "editor", - "mini" - ], - "range": [ - [ - 1537, - 23 - ], - [ - 1563, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1563": { - "23": { - "name": "replaceSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "replaceFn" - ], - "range": [ - [ - 1563, - 23 - ], - [ - 1573, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1573": { - "25": { - "name": "consolidateSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 1573, - 25 - ], - [ - 1573, - 89 - ] - ], - "doc": "~Private~" - } - }, - "1575": { - "18": { - "name": "logCursorScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1575, - 18 - ], - [ - 1578, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1578": { - "18": { - "name": "logScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 1578, - 18 - ], - [ - 1581, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1581": { - "20": { - "name": "logRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1581, - 20 - ], - [ - 1583, - 35 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 41 - }, - "src/editor.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "3": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 3, - 12 - ], - [ - 3, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 6, - 8 - ], - [ - 6, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "7": { - "15": { - "name": "LanguageMode", - "type": "import", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 39 - ] - ], - "bindingType": "variable", - "path": "./language-mode" - } - }, - "8": { - "16": { - "name": "DisplayBuffer", - "type": "import", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 41 - ] - ], - "bindingType": "variable", - "path": "./display-buffer" - } - }, - "9": { - "9": { - "name": "Cursor", - "type": "import", - "range": [ - [ - 9, - 9 - ], - [ - 9, - 26 - ] - ], - "bindingType": "variable", - "path": "./cursor" - } - }, - "10": { - "12": { - "name": "Selection", - "type": "import", - "range": [ - [ - 10, - 12 - ], - [ - 10, - 32 - ] - ], - "bindingType": "variable", - "path": "./selection" - } - }, - "11": { - "24": { - "type": "primitive", - "range": [ - [ - 11, - 24 - ], - [ - 11, - 58 - ] - ] - } - }, - "138": { - "0": { - "type": "class", - "name": "Editor", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 143, - 17 - ], - [ - 144, - 32 - ], - [ - 145, - 18 - ], - [ - 146, - 10 - ], - [ - 147, - 16 - ], - [ - 148, - 11 - ], - [ - 149, - 14 - ], - [ - 150, - 28 - ], - [ - 151, - 20 - ], - [ - 152, - 26 - ], - [ - 161, - 15 - ], - [ - 190, - 19 - ], - [ - 197, - 21 - ], - [ - 202, - 21 - ], - [ - 215, - 28 - ], - [ - 228, - 16 - ], - [ - 234, - 13 - ], - [ - 242, - 8 - ], - [ - 258, - 12 - ], - [ - 271, - 16 - ], - [ - 281, - 14 - ], - [ - 288, - 25 - ], - [ - 292, - 21 - ], - [ - 296, - 15 - ], - [ - 301, - 15 - ], - [ - 304, - 18 - ], - [ - 307, - 15 - ], - [ - 312, - 15 - ], - [ - 315, - 18 - ], - [ - 323, - 14 - ], - [ - 328, - 16 - ], - [ - 331, - 16 - ], - [ - 339, - 16 - ], - [ - 361, - 22 - ], - [ - 369, - 19 - ], - [ - 381, - 27 - ], - [ - 396, - 30 - ], - [ - 414, - 22 - ], - [ - 418, - 21 - ], - [ - 428, - 8 - ], - [ - 435, - 10 - ], - [ - 437, - 16 - ], - [ - 442, - 23 - ], - [ - 447, - 11 - ], - [ - 450, - 11 - ], - [ - 453, - 11 - ], - [ - 458, - 18 - ], - [ - 461, - 16 - ], - [ - 464, - 13 - ], - [ - 467, - 10 - ], - [ - 470, - 20 - ], - [ - 473, - 24 - ], - [ - 479, - 25 - ], - [ - 482, - 24 - ], - [ - 486, - 20 - ], - [ - 494, - 27 - ], - [ - 500, - 20 - ], - [ - 506, - 26 - ], - [ - 509, - 8 - ], - [ - 512, - 21 - ], - [ - 515, - 30 - ], - [ - 518, - 14 - ], - [ - 520, - 11 - ], - [ - 524, - 22 - ], - [ - 536, - 35 - ], - [ - 546, - 35 - ], - [ - 551, - 29 - ], - [ - 556, - 29 - ], - [ - 573, - 22 - ], - [ - 576, - 20 - ], - [ - 579, - 22 - ], - [ - 582, - 22 - ], - [ - 585, - 26 - ], - [ - 588, - 20 - ], - [ - 591, - 27 - ], - [ - 593, - 25 - ], - [ - 605, - 27 - ], - [ - 614, - 31 - ], - [ - 618, - 26 - ], - [ - 624, - 19 - ], - [ - 626, - 18 - ], - [ - 633, - 14 - ], - [ - 639, - 17 - ], - [ - 643, - 22 - ], - [ - 649, - 22 - ], - [ - 668, - 10 - ], - [ - 674, - 13 - ], - [ - 678, - 30 - ], - [ - 683, - 30 - ], - [ - 690, - 27 - ], - [ - 696, - 27 - ], - [ - 701, - 10 - ], - [ - 708, - 21 - ], - [ - 714, - 21 - ], - [ - 718, - 14 - ], - [ - 722, - 22 - ], - [ - 726, - 23 - ], - [ - 734, - 33 - ], - [ - 739, - 26 - ], - [ - 744, - 30 - ], - [ - 751, - 18 - ], - [ - 758, - 19 - ], - [ - 765, - 20 - ], - [ - 779, - 13 - ], - [ - 798, - 8 - ], - [ - 803, - 8 - ], - [ - 812, - 18 - ], - [ - 817, - 20 - ], - [ - 822, - 21 - ], - [ - 826, - 11 - ], - [ - 830, - 13 - ], - [ - 836, - 24 - ], - [ - 846, - 17 - ], - [ - 852, - 19 - ], - [ - 862, - 25 - ], - [ - 865, - 25 - ], - [ - 870, - 14 - ], - [ - 874, - 21 - ], - [ - 878, - 39 - ], - [ - 884, - 25 - ], - [ - 893, - 23 - ], - [ - 901, - 23 - ], - [ - 909, - 23 - ], - [ - 913, - 34 - ], - [ - 917, - 34 - ], - [ - 921, - 34 - ], - [ - 926, - 14 - ], - [ - 979, - 16 - ], - [ - 1034, - 18 - ], - [ - 1060, - 17 - ], - [ - 1072, - 22 - ], - [ - 1075, - 23 - ], - [ - 1096, - 32 - ], - [ - 1137, - 18 - ], - [ - 1140, - 19 - ], - [ - 1144, - 13 - ], - [ - 1148, - 14 - ], - [ - 1170, - 15 - ], - [ - 1179, - 19 - ], - [ - 1188, - 19 - ], - [ - 1197, - 22 - ], - [ - 1206, - 22 - ], - [ - 1210, - 17 - ], - [ - 1216, - 18 - ], - [ - 1220, - 22 - ], - [ - 1224, - 14 - ], - [ - 1227, - 13 - ], - [ - 1233, - 29 - ], - [ - 1240, - 29 - ], - [ - 1245, - 13 - ], - [ - 1255, - 16 - ], - [ - 1264, - 16 - ], - [ - 1288, - 30 - ], - [ - 1301, - 26 - ], - [ - 1311, - 26 - ], - [ - 1321, - 27 - ], - [ - 1336, - 19 - ], - [ - 1342, - 19 - ], - [ - 1347, - 25 - ], - [ - 1355, - 31 - ], - [ - 1361, - 17 - ], - [ - 1363, - 27 - ], - [ - 1374, - 16 - ], - [ - 1381, - 20 - ], - [ - 1388, - 40 - ], - [ - 1394, - 28 - ], - [ - 1403, - 34 - ], - [ - 1415, - 27 - ], - [ - 1422, - 27 - ], - [ - 1428, - 22 - ], - [ - 1439, - 27 - ], - [ - 1446, - 27 - ], - [ - 1453, - 26 - ], - [ - 1460, - 26 - ], - [ - 1468, - 27 - ], - [ - 1476, - 27 - ], - [ - 1482, - 19 - ], - [ - 1490, - 24 - ], - [ - 1499, - 24 - ], - [ - 1505, - 34 - ], - [ - 1511, - 22 - ], - [ - 1515, - 16 - ], - [ - 1519, - 18 - ], - [ - 1523, - 18 - ], - [ - 1527, - 19 - ], - [ - 1533, - 19 - ], - [ - 1539, - 22 - ], - [ - 1543, - 37 - ], - [ - 1547, - 31 - ], - [ - 1551, - 36 - ], - [ - 1555, - 31 - ], - [ - 1559, - 25 - ], - [ - 1563, - 31 - ], - [ - 1567, - 25 - ], - [ - 1571, - 35 - ], - [ - 1575, - 36 - ], - [ - 1579, - 32 - ], - [ - 1583, - 40 - ], - [ - 1587, - 44 - ], - [ - 1596, - 26 - ], - [ - 1599, - 10 - ], - [ - 1604, - 12 - ], - [ - 1609, - 16 - ], - [ - 1612, - 18 - ], - [ - 1616, - 18 - ], - [ - 1619, - 15 - ], - [ - 1626, - 15 - ], - [ - 1636, - 26 - ], - [ - 1645, - 15 - ], - [ - 1652, - 14 - ], - [ - 1659, - 12 - ], - [ - 1666, - 14 - ], - [ - 1673, - 15 - ], - [ - 1679, - 13 - ], - [ - 1686, - 18 - ], - [ - 1693, - 27 - ], - [ - 1702, - 32 - ], - [ - 1709, - 21 - ], - [ - 1716, - 32 - ], - [ - 1723, - 28 - ], - [ - 1729, - 14 - ], - [ - 1740, - 21 - ], - [ - 1751, - 21 - ], - [ - 1759, - 28 - ], - [ - 1776, - 13 - ], - [ - 1791, - 13 - ], - [ - 1798, - 13 - ], - [ - 1809, - 13 - ], - [ - 1816, - 27 - ], - [ - 1823, - 21 - ], - [ - 1830, - 31 - ], - [ - 1834, - 14 - ], - [ - 1841, - 36 - ], - [ - 1848, - 40 - ], - [ - 1856, - 16 - ], - [ - 1863, - 16 - ], - [ - 1873, - 27 - ], - [ - 1879, - 28 - ], - [ - 1883, - 22 - ], - [ - 1889, - 31 - ], - [ - 1910, - 40 - ], - [ - 1919, - 14 - ], - [ - 1926, - 14 - ], - [ - 1930, - 17 - ], - [ - 1933, - 20 - ], - [ - 1944, - 12 - ], - [ - 1952, - 20 - ], - [ - 1958, - 21 - ], - [ - 1962, - 20 - ], - [ - 1964, - 11 - ], - [ - 1967, - 18 - ], - [ - 1969, - 22 - ], - [ - 1972, - 23 - ], - [ - 1976, - 23 - ], - [ - 1980, - 32 - ], - [ - 1983, - 27 - ], - [ - 1984, - 27 - ], - [ - 1986, - 29 - ], - [ - 1987, - 29 - ], - [ - 1989, - 25 - ], - [ - 1990, - 25 - ], - [ - 1992, - 29 - ], - [ - 1994, - 22 - ], - [ - 1995, - 22 - ], - [ - 1997, - 23 - ], - [ - 1999, - 25 - ], - [ - 2001, - 23 - ], - [ - 2002, - 23 - ], - [ - 2004, - 13 - ], - [ - 2005, - 13 - ], - [ - 2007, - 19 - ], - [ - 2009, - 12 - ], - [ - 2010, - 12 - ], - [ - 2012, - 16 - ], - [ - 2013, - 16 - ], - [ - 2015, - 19 - ], - [ - 2016, - 19 - ], - [ - 2018, - 17 - ], - [ - 2019, - 17 - ], - [ - 2021, - 18 - ], - [ - 2022, - 18 - ], - [ - 2024, - 19 - ], - [ - 2025, - 18 - ], - [ - 2027, - 22 - ], - [ - 2029, - 29 - ], - [ - 2031, - 38 - ], - [ - 2033, - 34 - ], - [ - 2035, - 34 - ], - [ - 2037, - 34 - ], - [ - 2039, - 27 - ], - [ - 2041, - 23 - ], - [ - 2043, - 26 - ], - [ - 2045, - 26 - ], - [ - 2047, - 26 - ], - [ - 2049, - 24 - ], - [ - 2051, - 32 - ], - [ - 2052, - 32 - ], - [ - 2054, - 29 - ], - [ - 2055, - 29 - ], - [ - 2058, - 12 - ] - ], - "doc": " Public: This class represents all essential editing state for a single\n{TextBuffer}, including cursor and selection positions, folds, and soft wraps.\nIf you're manipulating the state of an editor, use this class. If you're\ninterested in the visual appearance of editors, use {EditorView} instead.\n\nA single {TextBuffer} can belong to multiple editors. For example, if the\nsame file is open in two different panes, Atom creates a separate editor for\neach pane. If the buffer is manipulated the changes are reflected in both\neditors, but each maintains its own cursor position, folded lines, etc.\n\n## Accessing Editor Instances\n\nThe easiest way to get hold of `Editor` objects is by registering a callback\nwith `::eachEditor` on the `atom.workspace` global. Your callback will then\nbe called with all current editor instances and also when any editor is\ncreated in the future.\n\n```coffeescript\n atom.workspace.eachEditor (editor) ->\n editor.insertText('Hello World')\n```\n\n## Buffer vs. Screen Coordinates\n\nBecause editors support folds and soft-wrapping, the lines on screen don't\nalways match the lines in the buffer. For example, a long line that soft wraps\ntwice renders as three lines on screen, but only represents one line in the\nbuffer. Similarly, if rows 5-10 are folded, then row 6 on screen corresponds\nto row 11 in the buffer.\n\nYour choice of coordinates systems will depend on what you're trying to\nachieve. For example, if you're writing a command that jumps the cursor up or\ndown by 10 lines, you'll want to use screen coordinates because the user\nprobably wants to skip lines *on screen*. However, if you're writing a package\nthat jumps between method definitions, you'll want to work in buffer\ncoordinates.\n\n**When in doubt, just default to buffer coordinates**, then experiment with\nsoft wraps and folds to ensure your code interacts with them correctly.\n\n## Common Tasks\n\nThis is a subset of methods on this class. Refer to the complete summary for\nits full capabilities.\n\n### Cursors\n- {::setCursorBufferPosition}\n- {::setCursorScreenPosition}\n- {::moveCursorUp}\n- {::moveCursorDown}\n- {::moveCursorLeft}\n- {::moveCursorRight}\n- {::moveCursorToBeginningOfWord}\n- {::moveCursorToEndOfWord}\n- {::moveCursorToPreviousWordBoundary}\n- {::moveCursorToNextWordBoundary}\n- {::moveCursorToBeginningOfNextWord}\n- {::moveCursorToBeginningOfLine}\n- {::moveCursorToEndOfLine}\n- {::moveCursorToFirstCharacterOfLine}\n- {::moveCursorToTop}\n- {::moveCursorToBottom}\n\n### Selections\n- {::getSelectedBufferRange}\n- {::getSelectedBufferRanges}\n- {::setSelectedBufferRange}\n- {::setSelectedBufferRanges}\n- {::selectUp}\n- {::selectDown}\n- {::selectLeft}\n- {::selectRight}\n- {::selectToBeginningOfWord}\n- {::selectToEndOfWord}\n- {::selectToPreviousWordBoundary}\n- {::selectToNextWordBoundary}\n- {::selectWord}\n- {::selectToBeginningOfLine}\n- {::selectToEndOfLine}\n- {::selectToFirstCharacterOfLine}\n- {::selectToTop}\n- {::selectToBottom}\n- {::selectAll}\n- {::addSelectionForBufferRange}\n- {::addSelectionAbove}\n- {::addSelectionBelow}\n- {::splitSelectionsIntoLines}\n\n### Manipulating Text\n- {::getText}\n- {::getSelectedText}\n- {::setText}\n- {::setTextInBufferRange}\n- {::insertText}\n- {::insertNewline}\n- {::insertNewlineAbove}\n- {::insertNewlineBelow}\n- {::backspace}\n- {::deleteToBeginningOfWord}\n- {::deleteToBeginningOfLine}\n- {::delete}\n- {::deleteToEndOfLine}\n- {::deleteToEndOfWord}\n- {::deleteLine}\n- {::cutSelectedText}\n- {::cutToEndOfLine}\n- {::copySelectedText}\n- {::pasteText}\n\n### Undo, Redo, and Transactions\n- {::undo}\n- {::redo}\n- {::transact}\n- {::abortTransaction}\n\n### Markers\n- {::markBufferRange}\n- {::markScreenRange}\n- {::getMarker}\n- {::findMarkers}\n\n### Decorations\n- {::decorateMarker}\n- {::decorationsForScreenRowRange} ", - "range": [ - [ - 138, - 0 - ], - [ - 2060, - 16 - ] - ] - } - }, - "143": { - "17": { - "name": "deserializing", - "type": "primitive", - "range": [ - [ - 143, - 17 - ], - [ - 143, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "144": { - "32": { - "name": "callDisplayBufferCreatedHook", - "type": "primitive", - "range": [ - [ - 144, - 32 - ], - [ - 144, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "145": { - "18": { - "name": "registerEditor", - "type": "primitive", - "range": [ - [ - 145, - 18 - ], - [ - 145, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "146": { - "10": { - "name": "buffer", - "type": "primitive", - "range": [ - [ - 146, - 10 - ], - [ - 146, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "147": { - "16": { - "name": "languageMode", - "type": "primitive", - "range": [ - [ - 147, - 16 - ], - [ - 147, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "148": { - "11": { - "name": "cursors", - "type": "primitive", - "range": [ - [ - 148, - 11 - ], - [ - 148, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "149": { - "14": { - "name": "selections", - "type": "primitive", - "range": [ - [ - 149, - 14 - ], - [ - 149, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "150": { - "28": { - "name": "suppressSelectionMerging", - "type": "primitive", - "range": [ - [ - 150, - 28 - ], - [ - 150, - 32 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "151": { - "20": { - "name": "updateBatchDepth", - "type": "primitive", - "range": [ - [ - 151, - 20 - ], - [ - 151, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "152": { - "26": { - "name": "selectionFlashDuration", - "type": "primitive", - "range": [ - [ - 152, - 26 - ], - [ - 152, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "161": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 161, - 15 - ], - [ - 190, - 1 - ] - ], - "doc": "~Private~" - } - }, - "190": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 19 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 197, - 21 - ], - [ - 202, - 1 - ] - ], - "doc": "~Private~" - } - }, - "202": { - "21": { - "name": "subscribeToBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 202, - 21 - ], - [ - 215, - 1 - ] - ], - "doc": "~Private~" - } - }, - "215": { - "28": { - "name": "subscribeToDisplayBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 215, - 28 - ], - [ - 228, - 1 - ] - ], - "doc": "~Private~" - } - }, - "228": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 228, - 16 - ], - [ - 234, - 1 - ] - ], - "doc": "~Private~" - } - }, - "234": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 13 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 242, - 8 - ], - [ - 258, - 1 - ] - ], - "doc": "Private: Create an {Editor} with its initial state based on this object " - } - }, - "258": { - "12": { - "name": "getTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 258, - 12 - ], - [ - 271, - 1 - ] - ], - "doc": " Public: Get the title the editor's title for display in other parts of the\nUI such as the tabs.\n\nIf the editor's buffer is saved, its title is the file name. If it is\nunsaved, its title is \"untitled\".\n\nReturns a {String}. " - } - }, - "271": { - "16": { - "name": "getLongTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 271, - 16 - ], - [ - 281, - 1 - ] - ], - "doc": " Public: Get the editor's long title for display in other parts of the UI\nsuch as the window title.\n\nIf the editor's buffer is saved, its long title is formatted as\n\" - \". If it is unsaved, its title is \"untitled\"\n\nReturns a {String}. " - } - }, - "281": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 281, - 14 - ], - [ - 281, - 60 - ] - ], - "doc": "Private: Controls visibility based on the given {Boolean}. " - } - }, - "288": { - "25": { - "name": "setEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorWidthInChars" - ], - "range": [ - [ - 288, - 25 - ], - [ - 292, - 1 - ] - ], - "doc": " Private: Set the number of characters that can be displayed horizontally in the\neditor.\n\neditorWidthInChars - A {Number} representing the width of the {EditorView}\nin characters. " - } - }, - "292": { - "21": { - "name": "getSoftWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 21 - ], - [ - 292, - 57 - ] - ], - "doc": "Public: Sets the column at which column will soft wrap " - } - }, - "296": { - "15": { - "name": "getSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 296, - 15 - ], - [ - 296, - 26 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether softTabs are enabled for this\neditor. " - } - }, - "301": { - "15": { - "name": "setSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 301, - 15 - ], - [ - 301, - 38 - ] - ], - "doc": " Public: Enable or disable soft tabs for this editor.\n\nsoftTabs - A {Boolean} " - } - }, - "304": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 304, - 18 - ], - [ - 304, - 52 - ] - ], - "doc": "Public: Toggle soft tabs for this editor " - } - }, - "307": { - "15": { - "name": "getSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 307, - 15 - ], - [ - 307, - 45 - ] - ], - "doc": "Public: Get whether soft wrap is enabled for this editor. " - } - }, - "312": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 312, - 15 - ], - [ - 312, - 64 - ] - ], - "doc": " Public: Enable or disable soft wrap for this editor.\n\nsoftWrap - A {Boolean} " - } - }, - "315": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 18 - ], - [ - 315, - 52 - ] - ], - "doc": "Public: Toggle soft wrap for this editor " - } - }, - "323": { - "14": { - "name": "getTabText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 323, - 14 - ], - [ - 323, - 37 - ] - ], - "doc": " Public: Get the text representing a single level of indent.\n\nIf soft tabs are enabled, the text is composed of N spaces, where N is the\ntab length. Otherwise the text is a tab character (`\\t`).\n\nReturns a {String}. " - } - }, - "328": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 328, - 16 - ], - [ - 328, - 47 - ] - ], - "doc": " Public: Get the on-screen length of tab characters.\n\nReturns a {Number}. " - } - }, - "331": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 331, - 16 - ], - [ - 331, - 68 - ] - ], - "doc": "Public: Set the on-screen length of tab characters. " - } - }, - "339": { - "16": { - "name": "usesSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 339, - 16 - ], - [ - 361, - 1 - ] - ], - "doc": " Public: Determine if the buffer uses hard or soft tabs.\n\nReturns `true` if the first non-comment line with leading whitespace starts\nwith a space character. Returns `false` if it starts with a hard tab (`\\t`).\n\nReturns a {Boolean}, " - } - }, - "361": { - "22": { - "name": "clipBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 361, - 22 - ], - [ - 361, - 77 - ] - ], - "doc": " Public: Clip the given {Point} to a valid position in the buffer.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the buffer, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " - } - }, - "369": { - "19": { - "name": "clipBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 369, - 19 - ], - [ - 369, - 53 - ] - ], - "doc": " Public: Clip the start and end of the given range to valid positions in the\nbuffer. See {::clipBufferPosition} for more information.\n\nrange - The {Range} to clip.\n\nReturns a {Range}. " - } - }, - "381": { - "27": { - "name": "indentationForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 381, - 27 - ], - [ - 396, - 1 - ] - ], - "doc": " Public: Get the indentation level of the given a buffer row.\n\nReturns how deeply the given row is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nbufferRow - A {Number} indicating the buffer row.\n\nReturns a {Number}. " - } - }, - "396": { - "30": { - "name": "setIndentationForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "newLevel", - null - ], - "range": [ - [ - 396, - 30 - ], - [ - 414, - 1 - ] - ], - "doc": " Public: Set the indentation level for the given buffer row.\n\nInserts or removes hard tabs or spaces based on the soft tabs and tab length\nsettings of this editor in order to bring it to the given indentation level.\nNote that if soft tabs are enabled and the tab length is 2, a row with 4\nleading spaces would have an indentation level of 2.\n\nbufferRow - A {Number} indicating the buffer row.\nnewLevel - A {Number} indicating the new indentation level.\noptions - An {Object} with the following keys:\n :preserveLeadingWhitespace - true to preserve any whitespace already at\n the beginning of the line (default: false). " - } - }, - "414": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 414, - 22 - ], - [ - 418, - 1 - ] - ], - "doc": " Public: Get the indentation level of the given line of text.\n\nReturns how deeply the given line is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nline - A {String} representing a line of text.\n\nReturns a {Number}. " - } - }, - "418": { - "21": { - "name": "buildIndentString", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "number", - "column" - ], - "range": [ - [ - 418, - 21 - ], - [ - 428, - 1 - ] - ], - "doc": "Private: Constructs the string used for tabs. " - } - }, - "428": { - "8": { - "name": "save", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 8 - ], - [ - 428, - 24 - ] - ], - "doc": " Public: Saves the editor's text buffer.\n\nSee {TextBuffer::save} for more details. " - } - }, - "435": { - "10": { - "name": "saveAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 435, - 10 - ], - [ - 435, - 47 - ] - ], - "doc": " Public: Saves the editor's text buffer as the given path.\n\nSee {TextBuffer::saveAs} for more details.\n\nfilePath - A {String} path. " - } - }, - "437": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 437, - 16 - ], - [ - 442, - 1 - ] - ], - "doc": "~Private~" - } - }, - "442": { - "23": { - "name": "copyPathToClipboard", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 442, - 23 - ], - [ - 447, - 1 - ] - ], - "doc": "Private: Copies the current file path to the native clipboard. " - } - }, - "447": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 447, - 11 - ], - [ - 447, - 30 - ] - ], - "doc": "Public: Returns the {String} path of this editor's text buffer. " - } - }, - "450": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 450, - 11 - ], - [ - 450, - 30 - ] - ], - "doc": "Public: Returns a {String} representing the entire contents of the editor. " - } - }, - "453": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 453, - 11 - ], - [ - 453, - 41 - ] - ], - "doc": "Public: Replaces the entire contents of the buffer with the given {String}. " - } - }, - "458": { - "18": { - "name": "getTextInRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 458, - 18 - ], - [ - 458, - 57 - ] - ], - "doc": " Private: Get the text in the given {Range}.\n\nReturns a {String}. " - } - }, - "461": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 461, - 16 - ], - [ - 461, - 40 - ] - ], - "doc": "Public: Returns a {Number} representing the number of lines in the editor. " - } - }, - "464": { - "13": { - "name": "getBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 464, - 13 - ], - [ - 464, - 22 - ] - ], - "doc": "Private: Retrieves the current {TextBuffer}. " - } - }, - "467": { - "10": { - "name": "getUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 467, - 10 - ], - [ - 467, - 28 - ] - ], - "doc": "Public: Retrieves the current buffer's URI. " - } - }, - "470": { - "20": { - "name": "isBufferRowBlank", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 470, - 20 - ], - [ - 470, - 63 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.isRowBlank} " - } - }, - "473": { - "24": { - "name": "isBufferRowCommented", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 473, - 24 - ], - [ - 479, - 1 - ] - ], - "doc": "Public: Determine if the given row is entirely a comment " - } - }, - "479": { - "25": { - "name": "nextNonBlankBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 479, - 25 - ], - [ - 479, - 73 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.nextNonBlankRow} " - } - }, - "482": { - "24": { - "name": "getEofBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 482, - 24 - ], - [ - 482, - 50 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.getEndPosition} " - } - }, - "486": { - "20": { - "name": "getLastBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 486, - 20 - ], - [ - 486, - 42 - ] - ], - "doc": " Public: Returns a {Number} representing the last zero-indexed buffer row\nnumber of the editor. " - } - }, - "494": { - "27": { - "name": "bufferRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - null - ], - "range": [ - [ - 494, - 27 - ], - [ - 494, - 96 - ] - ], - "doc": " Private: Returns the range for the given buffer row.\n\nrow - A row {Number}.\noptions - An options hash with an `includeNewline` key.\n\nReturns a {Range}. " - } - }, - "500": { - "20": { - "name": "lineForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 500, - 20 - ], - [ - 500, - 51 - ] - ], - "doc": " Public: Returns a {String} representing the contents of the line at the\ngiven buffer row.\n\nrow - A {Number} representing a zero-indexed buffer row. " - } - }, - "506": { - "26": { - "name": "lineLengthForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 506, - 26 - ], - [ - 506, - 63 - ] - ], - "doc": " Public: Returns a {Number} representing the line length for the given\nbuffer row, exclusive of its line-ending character(s).\n\nrow - A {Number} indicating the buffer row. " - } - }, - "509": { - "8": { - "name": "scan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 509, - 8 - ], - [ - 509, - 41 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.scan} " - } - }, - "512": { - "21": { - "name": "scanInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 512, - 21 - ], - [ - 512, - 61 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.scanInRange} " - } - }, - "515": { - "30": { - "name": "backwardsScanInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 515, - 30 - ], - [ - 515, - 79 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.backwardsScanInRange} " - } - }, - "518": { - "14": { - "name": "isModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 518, - 14 - ], - [ - 518, - 36 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.isModified} " - } - }, - "520": { - "11": { - "name": "isEmpty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 520, - 11 - ], - [ - 520, - 30 - ] - ], - "doc": "~Private~" - } - }, - "524": { - "22": { - "name": "shouldPromptToSave", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 524, - 22 - ], - [ - 524, - 74 - ] - ], - "doc": " Public: Determine whether the user should be prompted to save before closing\nthis editor. " - } - }, - "536": { - "35": { - "name": "screenPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 536, - 35 - ], - [ - 536, - 134 - ] - ], - "doc": " Public: Convert a position in buffer-coordinates to screen-coordinates.\n\nThe position is clipped via {::clipBufferPosition} prior to the conversion.\nThe position is also clipped via {::clipScreenPosition} following the\nconversion, which only makes a difference when `options` are supplied.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " - } - }, - "546": { - "35": { - "name": "bufferPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 546, - 35 - ], - [ - 546, - 134 - ] - ], - "doc": " Public: Convert a position in screen-coordinates to buffer-coordinates.\n\nThe position is clipped via {::clipScreenPosition} prior to the conversion.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " - } - }, - "551": { - "29": { - "name": "screenRangeForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 551, - 29 - ], - [ - 551, - 98 - ] - ], - "doc": " Public: Convert a range in buffer-coordinates to screen-coordinates.\n\nReturns a {Range}. " - } - }, - "556": { - "29": { - "name": "bufferRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 556, - 29 - ], - [ - 556, - 98 - ] - ], - "doc": " Public: Convert a range in screen-coordinates to buffer-coordinates.\n\nReturns a {Range}. " - } - }, - "573": { - "22": { - "name": "clipScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 573, - 22 - ], - [ - 573, - 108 - ] - ], - "doc": " Public: Clip the given {Point} to a valid position on screen.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the screen, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at screen row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " - } - }, - "576": { - "20": { - "name": "lineForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 576, - 20 - ], - [ - 576, - 58 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.lineForRow} " - } - }, - "579": { - "22": { - "name": "linesForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 579, - 22 - ], - [ - 579, - 76 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.linesForRows} " - } - }, - "582": { - "22": { - "name": "getScreenLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 582, - 22 - ], - [ - 582, - 53 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getLineCount} " - } - }, - "585": { - "26": { - "name": "getMaxScreenLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 585, - 26 - ], - [ - 585, - 61 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getMaxLineLength} " - } - }, - "588": { - "20": { - "name": "getLastScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 588, - 20 - ], - [ - 588, - 49 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getLastRow} " - } - }, - "591": { - "27": { - "name": "bufferRowsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 591, - 27 - ], - [ - 591, - 104 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.bufferRowsForScreenRows} " - } - }, - "593": { - "25": { - "name": "bufferRowForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 593, - 25 - ], - [ - 593, - 74 - ] - ], - "doc": "~Private~" - } - }, - "605": { - "27": { - "name": "scopesForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 605, - 27 - ], - [ - 605, - 100 - ] - ], - "doc": " Public: Get the syntactic scopes for the given position in buffer\ncoordinates.\n\nFor example, if called with a position inside the parameter list of an\nanonymous CoffeeScript function, the method returns the following array:\n`[\"source.coffee\", \"meta.inline.function.coffee\", \"variable.parameter.function.coffee\"]`\n\nbufferPosition - A {Point} or {Array} of [row, column].\n\nReturns an {Array} of {String}s. " - } - }, - "614": { - "31": { - "name": "bufferRangeForScopeAtCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 614, - 31 - ], - [ - 618, - 1 - ] - ], - "doc": " Public: Get the range in buffer coordinates of all tokens surrounding the\ncursor that match the given scope selector.\n\nFor example, if you wanted to find the string surrounding the cursor, you\ncould call `editor.bufferRangeForScopeAtCursor(\".string.quoted\")`.\n\nReturns a {Range}. " - } - }, - "618": { - "26": { - "name": "tokenForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 618, - 26 - ], - [ - 618, - 98 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.tokenForBufferPosition} " - } - }, - "624": { - "19": { - "name": "getCursorScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 624, - 19 - ], - [ - 624, - 45 - ] - ], - "doc": " Public: Get the syntactic scopes for the most recently added cursor's\nposition. See {::scopesForBufferPosition} for more information.\n\nReturns an {Array} of {String}s. " - } - }, - "626": { - "18": { - "name": "logCursorScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 626, - 18 - ], - [ - 633, - 1 - ] - ], - "doc": "~Private~" - } - }, - "633": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 633, - 14 - ], - [ - 639, - 1 - ] - ], - "doc": " Public: For each selection, replace the selected text with the given text.\n\ntext - A {String} representing the text to insert.\noptions - See {Selection::insertText}. " - } - }, - "639": { - "17": { - "name": "insertNewline", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 639, - 17 - ], - [ - 643, - 1 - ] - ], - "doc": "Public: For each selection, replace the selected text with a newline. " - } - }, - "643": { - "22": { - "name": "insertNewlineBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 643, - 22 - ], - [ - 649, - 1 - ] - ], - "doc": "Public: For each cursor, insert a newline at beginning the following line. " - } - }, - "649": { - "22": { - "name": "insertNewlineAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 649, - 22 - ], - [ - 668, - 1 - ] - ], - "doc": "Public: For each cursor, insert a newline at the end of the preceding line. " - } - }, - "668": { - "10": { - "name": "indent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 668, - 10 - ], - [ - 674, - 1 - ] - ], - "doc": " Private: Indent all lines intersecting selections. See {Selection::indent} for more\ninformation. " - } - }, - "674": { - "13": { - "name": "backspace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 674, - 13 - ], - [ - 678, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete the character\npreceding the cursor. Otherwise delete the selected text. " - } - }, - "678": { - "30": { - "name": "backspaceToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 678, - 30 - ], - [ - 683, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " - } - }, - "683": { - "30": { - "name": "backspaceToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 683, - 30 - ], - [ - 690, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " - } - }, - "690": { - "27": { - "name": "deleteToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 690, - 27 - ], - [ - 696, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word that precede the cursor. Otherwise delete the\nselected text. " - } - }, - "696": { - "27": { - "name": "deleteToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 696, - 27 - ], - [ - 701, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing line that precede the cursor. Otherwise delete the\nselected text. " - } - }, - "701": { - "10": { - "name": "delete", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 701, - 10 - ], - [ - 708, - 1 - ] - ] - } - }, - "708": { - "21": { - "name": "deleteToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 708, - 21 - ], - [ - 714, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is not empty, deletes the\nselection; otherwise, deletes all characters of the containing line\nfollowing the cursor. If the cursor is already at the end of the line,\ndeletes the following newline. " - } - }, - "714": { - "21": { - "name": "deleteToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 714, - 21 - ], - [ - 718, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word following the cursor. Otherwise delete the selected\ntext. " - } - }, - "718": { - "14": { - "name": "deleteLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 718, - 14 - ], - [ - 722, - 1 - ] - ], - "doc": "Public: Delete all lines intersecting selections. " - } - }, - "722": { - "22": { - "name": "indentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 722, - 22 - ], - [ - 726, - 1 - ] - ], - "doc": "Public: Indent rows intersecting selections by one level. " - } - }, - "726": { - "23": { - "name": "outdentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 726, - 23 - ], - [ - 734, - 1 - ] - ], - "doc": "Public: Outdent rows intersecting selections by one level. " - } - }, - "734": { - "33": { - "name": "toggleLineCommentsInSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 734, - 33 - ], - [ - 739, - 1 - ] - ], - "doc": " Public: Toggle line comments for rows intersecting selections.\n\nIf the current grammar doesn't support comments, does nothing.\n\nReturns an {Array} of the commented {Range}s. " - } - }, - "739": { - "26": { - "name": "autoIndentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 739, - 26 - ], - [ - 744, - 1 - ] - ], - "doc": " Public: Indent rows intersecting selections based on the grammar's suggested\nindent level. " - } - }, - "744": { - "30": { - "name": "normalizeTabsInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 744, - 30 - ], - [ - 751, - 1 - ] - ], - "doc": " Private: If soft tabs are enabled, convert all hard tabs to soft tabs in the given\n{Range}. " - } - }, - "751": { - "18": { - "name": "cutToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 751, - 18 - ], - [ - 758, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, cut all characters\nof the containing line following the cursor. Otherwise cut the selected\ntext. " - } - }, - "758": { - "19": { - "name": "cutSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 758, - 19 - ], - [ - 765, - 1 - ] - ], - "doc": "Public: For each selection, cut the selected text. " - } - }, - "765": { - "20": { - "name": "copySelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 765, - 20 - ], - [ - 779, - 1 - ] - ], - "doc": "Public: For each selection, copy the selected text. " - } - }, - "779": { - "13": { - "name": "pasteText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 779, - 13 - ], - [ - 798, - 1 - ] - ], - "doc": " Public: For each selection, replace the selected text with the contents of\nthe clipboard.\n\nIf the clipboard contains the same number of selections as the current\neditor, each selection will be replaced with the content of the\ncorresponding clipboard selection text.\n\noptions - See {Selection::insertText}. " - } - }, - "798": { - "8": { - "name": "undo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 798, - 8 - ], - [ - 803, - 1 - ] - ], - "doc": "Public: Undo the last change. " - } - }, - "803": { - "8": { - "name": "redo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 803, - 8 - ], - [ - 812, - 1 - ] - ], - "doc": "Public: Redo the last change. " - } - }, - "812": { - "18": { - "name": "foldCurrentRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 812, - 18 - ], - [ - 817, - 1 - ] - ], - "doc": " Public: Fold the most recent cursor's row based on its indentation level.\n\nThe fold will extend from the nearest preceding line with a lower\nindentation level up to the nearest following row with a lower indentation\nlevel. " - } - }, - "817": { - "20": { - "name": "unfoldCurrentRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 817, - 20 - ], - [ - 822, - 1 - ] - ], - "doc": "Public: Unfold the most recent cursor's row by one level. " - } - }, - "822": { - "21": { - "name": "foldSelectedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 822, - 21 - ], - [ - 826, - 1 - ] - ], - "doc": "Public: For each selection, fold the rows it intersects. " - } - }, - "826": { - "11": { - "name": "foldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 826, - 11 - ], - [ - 830, - 1 - ] - ], - "doc": "Public: Fold all foldable lines. " - } - }, - "830": { - "13": { - "name": "unfoldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 830, - 13 - ], - [ - 836, - 1 - ] - ], - "doc": "Public: Unfold all existing folds. " - } - }, - "836": { - "24": { - "name": "foldAllAtIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "level" - ], - "range": [ - [ - 836, - 24 - ], - [ - 846, - 1 - ] - ], - "doc": " Public: Fold all foldable lines at the given indent level.\n\nlevel - A {Number}. " - } - }, - "846": { - "17": { - "name": "foldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 846, - 17 - ], - [ - 852, - 1 - ] - ], - "doc": " Public: Fold the given row in buffer coordinates based on its indentation\nlevel.\n\nIf the given row is foldable, the fold will begin there. Otherwise, it will\nbegin at the first foldable row preceding the given row.\n\nbufferRow - A {Number}. " - } - }, - "852": { - "19": { - "name": "unfoldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 852, - 19 - ], - [ - 862, - 1 - ] - ], - "doc": " Public: Unfold all folds containing the given row in buffer coordinates.\n\nbufferRow - A {Number} " - } - }, - "862": { - "25": { - "name": "isFoldableAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 862, - 25 - ], - [ - 865, - 1 - ] - ], - "doc": " Public: Determine whether the given row in buffer coordinates is foldable.\n\nA *foldable* row is a row that *starts* a row range that can be folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "865": { - "25": { - "name": "isFoldableAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 865, - 25 - ], - [ - 870, - 1 - ] - ], - "doc": "~Private~" - } - }, - "870": { - "14": { - "name": "createFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 870, - 14 - ], - [ - 874, - 1 - ] - ], - "doc": "TODO: Rename to foldRowRange? " - } - }, - "874": { - "21": { - "name": "destroyFoldWithId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 874, - 21 - ], - [ - 878, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.destroyFoldWithId} " - } - }, - "878": { - "39": { - "name": "destroyFoldsIntersectingBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 878, - 39 - ], - [ - 884, - 1 - ] - ], - "doc": "Private: Remove any {Fold}s found that intersect the given buffer row. " - } - }, - "884": { - "25": { - "name": "toggleFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 884, - 25 - ], - [ - 893, - 1 - ] - ], - "doc": " Public: Fold the given buffer row if it isn't currently folded, and unfold\nit otherwise. " - } - }, - "893": { - "23": { - "name": "isFoldedAtCursorRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 893, - 23 - ], - [ - 901, - 1 - ] - ], - "doc": " Public: Determine whether the most recently added cursor's row is folded.\n\nReturns a {Boolean}. " - } - }, - "901": { - "23": { - "name": "isFoldedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 901, - 23 - ], - [ - 909, - 1 - ] - ], - "doc": " Public: Determine whether the given row in buffer coordinates is folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "909": { - "23": { - "name": "isFoldedAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 909, - 23 - ], - [ - 913, - 1 - ] - ], - "doc": " Public: Determine whether the given row in screen coordinates is folded.\n\nscreenRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "913": { - "34": { - "name": "largestFoldContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 913, - 34 - ], - [ - 917, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.largestFoldContainingBufferRow} " - } - }, - "917": { - "34": { - "name": "largestFoldStartingAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 917, - 34 - ], - [ - 921, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.largestFoldStartingAtScreenRow} " - } - }, - "921": { - "34": { - "name": "outermostFoldsInBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 921, - 34 - ], - [ - 926, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.outermostFoldsForBufferRowRange} " - } - }, - "926": { - "14": { - "name": "moveLineUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 926, - 14 - ], - [ - 979, - 1 - ] - ], - "doc": " Private: Move lines intersection the most recent selection up by one row in screen\ncoordinates. " - } - }, - "979": { - "16": { - "name": "moveLineDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 979, - 16 - ], - [ - 1034, - 1 - ] - ], - "doc": " Private: Move lines intersecting the most recent selection down by one row in screen\ncoordinates. " - } - }, - "1034": { - "18": { - "name": "duplicateLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1034, - 18 - ], - [ - 1060, - 1 - ] - ], - "doc": "Private: Duplicate the most recent cursor's current line. " - } - }, - "1060": { - "17": { - "name": "duplicateLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1060, - 17 - ], - [ - 1072, - 1 - ] - ], - "doc": "Deprecated: Use {::duplicateLines} instead. " - } - }, - "1072": { - "22": { - "name": "mutateSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1072, - 22 - ], - [ - 1075, - 1 - ] - ], - "doc": " Public: Mutate the text of all the selections in a single transaction.\n\nAll the changes made inside the given {Function} can be reverted with a\nsingle call to {::undo}.\n\nfn - A {Function} that will be called once for each {Selection}. The first\n argument will be a {Selection} and the second argument will be the\n {Number} index of that selection. " - } - }, - "1075": { - "23": { - "name": "replaceSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options", - "fn" - ], - "range": [ - [ - 1075, - 23 - ], - [ - 1096, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1096": { - "32": { - "name": "decorationsForScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 1096, - 32 - ], - [ - 1137, - 1 - ] - ], - "doc": " Public: Get all the decorations within a screen row range.\n\nstartScreenRow - the {Number} beginning screen row\nendScreenRow - the {Number} end screen row (inclusive)\n\nReturns an {Object} of decorations in the form\n `{1: [{id: 10, type: 'gutter', class: 'someclass'}], 2: ...}`\n where the keys are {Marker} IDs, and the values are an array of decoration\n params objects attached to the marker.\nReturns an empty object when no decorations are found " - } - }, - "1137": { - "18": { - "name": "decorateMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "decorationParams" - ], - "range": [ - [ - 1137, - 18 - ], - [ - 1140, - 1 - ] - ], - "doc": " Public: Adds a decoration that tracks a {Marker}. When the marker moves,\nis invalidated, or is destroyed, the decoration will be updated to reflect\nthe marker's state.\n\nThere are three types of supported decorations:\n* `line`: Adds your CSS `class` to the line nodes within the range\n marked by the marker\n* `gutter`: Adds your CSS `class` to the line number nodes within the\n range marked by the marker\n* `highlight`: Adds a new highlight div to the editor surrounding the\n range marked by the marker. When the user selects text, the selection is\n visualized with a highlight decoration internally. The structure of this\n highlight will be:\n ```html\n
    \">\n \n
    \n
    \n ```\n\nmarker - A {Marker} you want this decoration to follow.\ndecorationParams - An {Object} representing the decoration eg. `{type: 'gutter', class: 'linter-error'}`\n :type - There are a few supported decoration types:\n * `gutter`: Applies the decoration to the line numbers spanned by the marker.\n * `line`: Applies the decoration to the lines spanned by the marker.\n * `highlight`: Applies the decoration to a \"highlight\" behind the marked range.\n :class - This CSS class will be applied to the decorated line number,\n line, or highlight.\n :onlyHead - If `true`, the decoration will only be applied to the head\n of the marker. Only applicable to the `line` and `gutter` types.\n :onlyEmpty - If `true`, the decoration will only be applied if the\n associated marker is empty. Only applicable to the `line` and\n `gutter` types.\n :onlyNonEmpty - If `true`, the decoration will only be applied if the\n associated marker is non-empty. Only applicable to the `line` and\n gutter types.\n\nReturns a {Decoration} object " - } - }, - "1140": { - "19": { - "name": "decorationForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 1140, - 19 - ], - [ - 1144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1144": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 1144, - 13 - ], - [ - 1148, - 1 - ] - ], - "doc": "Public: Get the {DisplayBufferMarker} for the given marker id. " - } - }, - "1148": { - "14": { - "name": "getMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1148, - 14 - ], - [ - 1170, - 1 - ] - ], - "doc": "Public: Get all {DisplayBufferMarker}s. " - } - }, - "1170": { - "15": { - "name": "findMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "properties" - ], - "range": [ - [ - 1170, - 15 - ], - [ - 1179, - 1 - ] - ], - "doc": " Public: Find all {DisplayBufferMarker}s that match the given properties.\n\nThis method finds markers based on the given properties. Markers can be\nassociated with custom properties that will be compared with basic equality.\nIn addition, there are several special properties that will be compared\nwith the range of the markers rather than their properties.\n\nproperties - An {Object} containing properties that each returned marker\n must satisfy. Markers can be associated with custom properties, which are\n compared with basic equality. In addition, several reserved properties\n can be used to filter markers based on their current range:\n :startBufferRow - Only include markers starting at this row in buffer\n coordinates.\n :endBufferRow - Only include markers ending at this row in buffer\n coordinates.\n :containsBufferRange - Only include markers containing this {Range} or\n in range-compatible {Array} in buffer coordinates.\n :containsBufferPosition - Only include markers containing this {Point}\n or {Array} of `[row, column]` in buffer coordinates. " - } - }, - "1179": { - "19": { - "name": "markScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1179, - 19 - ], - [ - 1188, - 1 - ] - ], - "doc": " Public: Mark the given range in screen coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1188": { - "19": { - "name": "markBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1188, - 19 - ], - [ - 1197, - 1 - ] - ], - "doc": " Public: Mark the given range in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1197": { - "22": { - "name": "markScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1197, - 22 - ], - [ - 1206, - 1 - ] - ], - "doc": " Public: Mark the given position in screen coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1206": { - "22": { - "name": "markBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1206, - 22 - ], - [ - 1210, - 1 - ] - ], - "doc": " Public: Mark the given position in buffer coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1210": { - "17": { - "name": "destroyMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1210, - 17 - ], - [ - 1216, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.destroyMarker} " - } - }, - "1216": { - "18": { - "name": "getMarkerCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1216, - 18 - ], - [ - 1220, - 1 - ] - ], - "doc": " Public: Get the number of markers in this editor's buffer.\n\nReturns a {Number}. " - } - }, - "1220": { - "22": { - "name": "hasMultipleCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1220, - 22 - ], - [ - 1224, - 1 - ] - ], - "doc": "Public: Determine if there are multiple cursors. " - } - }, - "1224": { - "14": { - "name": "getCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1224, - 14 - ], - [ - 1224, - 38 - ] - ], - "doc": "Public: Get an Array of all {Cursor}s. " - } - }, - "1227": { - "13": { - "name": "getCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1227, - 13 - ], - [ - 1233, - 1 - ] - ], - "doc": "Public: Get the most recently added {Cursor}. " - } - }, - "1233": { - "29": { - "name": "addCursorAtScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 1233, - 29 - ], - [ - 1240, - 1 - ] - ], - "doc": " Public: Add a cursor at the position in screen coordinates.\n\nReturns a {Cursor}. " - } - }, - "1240": { - "29": { - "name": "addCursorAtBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 1240, - 29 - ], - [ - 1245, - 1 - ] - ], - "doc": " Public: Add a cursor at the given position in buffer coordinates.\n\nReturns a {Cursor}. " - } - }, - "1245": { - "13": { - "name": "addCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1245, - 13 - ], - [ - 1255, - 1 - ] - ], - "doc": "Private: Add a cursor based on the given {DisplayBufferMarker}. " - } - }, - "1255": { - "16": { - "name": "removeCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursor" - ], - "range": [ - [ - 1255, - 16 - ], - [ - 1264, - 1 - ] - ], - "doc": "Private: Remove the given cursor from this editor. " - } - }, - "1264": { - "16": { - "name": "addSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "options" - ], - "range": [ - [ - 1264, - 16 - ], - [ - 1288, - 1 - ] - ], - "doc": " Private: Add a {Selection} based on the given {DisplayBufferMarker}.\n\nmarker - The {DisplayBufferMarker} to highlight\noptions - An {Object} that pertains to the {Selection} constructor.\n\nReturns the new {Selection}. " - } - }, - "1288": { - "30": { - "name": "addSelectionForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 1288, - 30 - ], - [ - 1301, - 1 - ] - ], - "doc": " Public: Add a selection for the given range in buffer coordinates.\n\nbufferRange - A {Range}\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation.\n\nReturns the added {Selection}. " - } - }, - "1301": { - "26": { - "name": "setSelectedBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 1301, - 26 - ], - [ - 1311, - 1 - ] - ], - "doc": " Public: Set the selected range in buffer coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nbufferRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1311": { - "26": { - "name": "setSelectedScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 1311, - 26 - ], - [ - 1321, - 1 - ] - ], - "doc": " Public: Set the selected range in screen coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nscreenRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1321": { - "27": { - "name": "setSelectedBufferRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRanges", - "options" - ], - "range": [ - [ - 1321, - 27 - ], - [ - 1336, - 1 - ] - ], - "doc": " Public: Set the selected ranges in buffer coordinates. If there are multiple\nselections, they are replaced by new selections with the given ranges.\n\nbufferRanges - An {Array} of {Range}s or range-compatible {Array}s.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1336": { - "19": { - "name": "removeSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 1336, - 19 - ], - [ - 1342, - 1 - ] - ], - "doc": "Private: Remove the given selection. " - } - }, - "1342": { - "19": { - "name": "clearSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1342, - 19 - ], - [ - 1347, - 1 - ] - ], - "doc": " Private: Reduce one or more selections to a single empty selection based on the most\nrecently added cursor. " - } - }, - "1347": { - "25": { - "name": "consolidateSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1347, - 25 - ], - [ - 1355, - 1 - ] - ], - "doc": "Private: Reduce multiple selections to the most recently added selection. " - } - }, - "1355": { - "31": { - "name": "selectionScreenRangeChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 1355, - 31 - ], - [ - 1361, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1361": { - "17": { - "name": "getSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1361, - 17 - ], - [ - 1361, - 44 - ] - ], - "doc": " Public: Get current {Selection}s.\n\nReturns: An {Array} of {Selection}s. " - } - }, - "1363": { - "27": { - "name": "selectionsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1363, - 27 - ], - [ - 1374, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1374": { - "16": { - "name": "getSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 1374, - 16 - ], - [ - 1381, - 1 - ] - ], - "doc": " Public: Get the most recent {Selection} or the selection at the given\nindex.\n\nindex - Optional. The index of the selection to return, based on the order\n in which the selections were added.\n\nReturns a {Selection}.\nor the at the specified index. " - } - }, - "1381": { - "20": { - "name": "getLastSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1381, - 20 - ], - [ - 1388, - 1 - ] - ], - "doc": " Public: Get the most recently added {Selection}.\n\nReturns a {Selection}. " - } - }, - "1388": { - "40": { - "name": "getSelectionsOrderedByBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1388, - 40 - ], - [ - 1394, - 1 - ] - ], - "doc": " Public: Get all {Selection}s, ordered by their position in the buffer\ninstead of the order in which they were added.\n\nReturns an {Array} of {Selection}s. " - } - }, - "1394": { - "28": { - "name": "getLastSelectionInBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1394, - 28 - ], - [ - 1403, - 1 - ] - ], - "doc": " Public: Get the last {Selection} based on its position in the buffer.\n\nReturns a {Selection}. " - } - }, - "1403": { - "34": { - "name": "selectionIntersectsBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 1403, - 34 - ], - [ - 1415, - 1 - ] - ], - "doc": " Public: Determine if a given range in buffer coordinates intersects a\nselection.\n\nbufferRange - A {Range} or range-compatible {Array}.\n\nReturns a {Boolean}. " - } - }, - "1415": { - "27": { - "name": "setCursorScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "options" - ], - "range": [ - [ - 1415, - 27 - ], - [ - 1422, - 1 - ] - ], - "doc": " Public: Move the cursor to the given position in screen coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " - } - }, - "1422": { - "27": { - "name": "getCursorScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1422, - 27 - ], - [ - 1428, - 1 - ] - ], - "doc": " Public: Get the position of the most recently added cursor in screen\ncoordinates.\n\nReturns a {Point}. " - } - }, - "1428": { - "22": { - "name": "getCursorScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1428, - 22 - ], - [ - 1439, - 1 - ] - ], - "doc": " Public: Get the row of the most recently added cursor in screen coordinates.\n\nReturns the screen row {Number}. " - } - }, - "1439": { - "27": { - "name": "setCursorBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "options" - ], - "range": [ - [ - 1439, - 27 - ], - [ - 1446, - 1 - ] - ], - "doc": " Public: Move the cursor to the given position in buffer coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " - } - }, - "1446": { - "27": { - "name": "getCursorBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1446, - 27 - ], - [ - 1453, - 1 - ] - ], - "doc": " Public: Get the position of the most recently added cursor in buffer\ncoordinates.\n\nReturns a {Point}. " - } - }, - "1453": { - "26": { - "name": "getSelectedScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1453, - 26 - ], - [ - 1460, - 1 - ] - ], - "doc": " Public: Get the {Range} of the most recently added selection in screen\ncoordinates.\n\nReturns a {Range}. " - } - }, - "1460": { - "26": { - "name": "getSelectedBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1460, - 26 - ], - [ - 1468, - 1 - ] - ], - "doc": " Public: Get the {Range} of the most recently added selection in buffer\ncoordinates.\n\nReturns a {Range}. " - } - }, - "1468": { - "27": { - "name": "getSelectedBufferRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1468, - 27 - ], - [ - 1476, - 1 - ] - ], - "doc": " Public: Get the {Range}s of all selections in buffer coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " - } - }, - "1476": { - "27": { - "name": "getSelectedScreenRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1476, - 27 - ], - [ - 1482, - 1 - ] - ], - "doc": " Public: Get the {Range}s of all selections in screen coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " - } - }, - "1482": { - "19": { - "name": "getSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1482, - 19 - ], - [ - 1490, - 1 - ] - ], - "doc": " Public: Get the selected text of the most recently added selection.\n\nReturns a {String}. " - } - }, - "1490": { - "24": { - "name": "getTextInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 1490, - 24 - ], - [ - 1499, - 1 - ] - ], - "doc": " Public: Get the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\n\nReturns a {String}. " - } - }, - "1499": { - "24": { - "name": "setTextInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range", - "text", - "normalizeLineEndings" - ], - "range": [ - [ - 1499, - 24 - ], - [ - 1499, - 124 - ] - ], - "doc": " Public: Set the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\ntext - A {String}\n\nReturns the {Range} of the newly-inserted text. " - } - }, - "1505": { - "34": { - "name": "getCurrentParagraphBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1505, - 34 - ], - [ - 1511, - 1 - ] - ], - "doc": " Public: Get the {Range} of the paragraph surrounding the most recently added\ncursor.\n\nReturns a {Range}. " - } - }, - "1511": { - "22": { - "name": "getWordUnderCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 1511, - 22 - ], - [ - 1515, - 1 - ] - ], - "doc": " Public: Returns the word surrounding the most recently added cursor.\n\noptions - See {Cursor::getBeginningOfCurrentWordBufferPosition}. " - } - }, - "1515": { - "16": { - "name": "moveCursorUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineCount" - ], - "range": [ - [ - 1515, - 16 - ], - [ - 1519, - 1 - ] - ], - "doc": "Public: Move every cursor up one row in screen coordinates. " - } - }, - "1519": { - "18": { - "name": "moveCursorDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineCount" - ], - "range": [ - [ - 1519, - 18 - ], - [ - 1523, - 1 - ] - ], - "doc": "Public: Move every cursor down one row in screen coordinates. " - } - }, - "1523": { - "18": { - "name": "moveCursorLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1523, - 18 - ], - [ - 1527, - 1 - ] - ], - "doc": "Public: Move every cursor left one column. " - } - }, - "1527": { - "19": { - "name": "moveCursorRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1527, - 19 - ], - [ - 1533, - 1 - ] - ], - "doc": "Public: Move every cursor right one column. " - } - }, - "1533": { - "19": { - "name": "moveCursorToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1533, - 19 - ], - [ - 1539, - 1 - ] - ], - "doc": " Public: Move every cursor to the top of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " - } - }, - "1539": { - "22": { - "name": "moveCursorToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1539, - 22 - ], - [ - 1543, - 1 - ] - ], - "doc": " Public: Move every cursor to the bottom of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " - } - }, - "1543": { - "37": { - "name": "moveCursorToBeginningOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1543, - 37 - ], - [ - 1547, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its line in screen coordinates. " - } - }, - "1547": { - "31": { - "name": "moveCursorToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1547, - 31 - ], - [ - 1551, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its line in buffer coordinates. " - } - }, - "1551": { - "36": { - "name": "moveCursorToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1551, - 36 - ], - [ - 1555, - 1 - ] - ], - "doc": "Public: Move every cursor to the first non-whitespace character of its line. " - } - }, - "1555": { - "31": { - "name": "moveCursorToEndOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1555, - 31 - ], - [ - 1559, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its line in screen coordinates. " - } - }, - "1559": { - "25": { - "name": "moveCursorToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1559, - 25 - ], - [ - 1563, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its line in buffer coordinates. " - } - }, - "1563": { - "31": { - "name": "moveCursorToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1563, - 31 - ], - [ - 1567, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its surrounding word. " - } - }, - "1567": { - "25": { - "name": "moveCursorToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1567, - 25 - ], - [ - 1571, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its surrounding word. " - } - }, - "1571": { - "35": { - "name": "moveCursorToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1571, - 35 - ], - [ - 1575, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the next word. " - } - }, - "1575": { - "36": { - "name": "moveCursorToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1575, - 36 - ], - [ - 1579, - 1 - ] - ], - "doc": "Public: Move every cursor to the previous word boundary. " - } - }, - "1579": { - "32": { - "name": "moveCursorToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1579, - 32 - ], - [ - 1583, - 1 - ] - ], - "doc": "Public: Move every cursor to the next word boundary. " - } - }, - "1583": { - "40": { - "name": "moveCursorToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1583, - 40 - ], - [ - 1587, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the next paragraph. " - } - }, - "1587": { - "44": { - "name": "moveCursorToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1587, - 44 - ], - [ - 1596, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the previous paragraph. " - } - }, - "1596": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 1596, - 26 - ], - [ - 1599, - 1 - ] - ], - "doc": " Public: Scroll the editor to reveal the most recently added cursor if it is\noff-screen.\n\noptions - An optional hash of options.\n :center - Center the editor around the cursor if possible. Defauls to\n true. " - } - }, - "1599": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1599, - 10 - ], - [ - 1604, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1604": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1604, - 12 - ], - [ - 1609, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1609": { - "16": { - "name": "selectPageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1609, - 16 - ], - [ - 1612, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1612": { - "18": { - "name": "selectPageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1612, - 18 - ], - [ - 1616, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1616": { - "18": { - "name": "getRowsPerPage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1616, - 18 - ], - [ - 1619, - 1 - ] - ], - "doc": "Private: Returns the number of rows per page " - } - }, - "1619": { - "15": { - "name": "moveCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1619, - 15 - ], - [ - 1626, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1626": { - "15": { - "name": "cursorMoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 1626, - 15 - ], - [ - 1636, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1636": { - "26": { - "name": "selectToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1636, - 26 - ], - [ - 1645, - 1 - ] - ], - "doc": " Public: Select from the current cursor position to the given position in\nscreen coordinates.\n\nThis method may merge selections that end up intesecting.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "1645": { - "15": { - "name": "selectRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1645, - 15 - ], - [ - 1652, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character rightward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1652": { - "14": { - "name": "selectLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1652, - 14 - ], - [ - 1659, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character leftward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1659": { - "12": { - "name": "selectUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 1659, - 12 - ], - [ - 1666, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character upward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1666": { - "14": { - "name": "selectDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 1666, - 14 - ], - [ - 1673, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character downward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1673": { - "15": { - "name": "selectToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1673, - 15 - ], - [ - 1679, - 1 - ] - ], - "doc": " Public: Select from the top of the buffer to the end of the last selection\nin the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1679": { - "13": { - "name": "selectAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1679, - 13 - ], - [ - 1686, - 1 - ] - ], - "doc": " Public: Select all text in the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1686": { - "18": { - "name": "selectToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1686, - 18 - ], - [ - 1693, - 1 - ] - ], - "doc": " Public: Selects from the top of the first selection in the buffer to the end\nof the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1693": { - "27": { - "name": "selectToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1693, - 27 - ], - [ - 1702, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the beginning of its line\nwhile preserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1702": { - "32": { - "name": "selectToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1702, - 32 - ], - [ - 1709, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the first non-whitespace\ncharacter of its line while preserving the selection's tail position. If the\ncursor is already on the first character of the line, move it to the\nbeginning of the line.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1709": { - "21": { - "name": "selectToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1709, - 21 - ], - [ - 1716, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the end of its line while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1716": { - "32": { - "name": "selectToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1716, - 32 - ], - [ - 1723, - 1 - ] - ], - "doc": " Public: For each selection, move its cursor to the preceding word boundary\nwhile maintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1723": { - "28": { - "name": "selectToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1723, - 28 - ], - [ - 1729, - 1 - ] - ], - "doc": " Public: For each selection, move its cursor to the next word boundary while\nmaintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1729": { - "14": { - "name": "selectLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1729, - 14 - ], - [ - 1740, - 1 - ] - ], - "doc": " Public: For each cursor, select the containing line.\n\nThis method merges selections on successive lines. " - } - }, - "1740": { - "21": { - "name": "addSelectionBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1740, - 21 - ], - [ - 1751, - 1 - ] - ], - "doc": " Public: Add a similarly-shaped selection to the next eligible line below\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next following non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " - } - }, - "1751": { - "21": { - "name": "addSelectionAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1751, - 21 - ], - [ - 1759, - 1 - ] - ], - "doc": " Public: Add a similarly-shaped selection to the next eligible line above\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next preceding non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " - } - }, - "1759": { - "28": { - "name": "splitSelectionsIntoLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1759, - 28 - ], - [ - 1776, - 1 - ] - ], - "doc": " Public: Split multi-line selections into one selection per line.\n\nOperates on all selections. This method breaks apart all multi-line\nselections to create multiple single-line selections that cumulatively cover\nthe same original area. " - } - }, - "1776": { - "13": { - "name": "transpose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1776, - 13 - ], - [ - 1791, - 1 - ] - ], - "doc": " Public: For each selection, transpose the selected text.\n\nIf the selection is empty, the characters preceding and following the cursor\nare swapped. Otherwise, the selected characters are reversed. " - } - }, - "1791": { - "13": { - "name": "upperCase", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1791, - 13 - ], - [ - 1798, - 1 - ] - ], - "doc": " Public: Convert the selected text to upper case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " - } - }, - "1798": { - "13": { - "name": "lowerCase", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1798, - 13 - ], - [ - 1809, - 1 - ] - ], - "doc": " Public: Convert the selected text to lower case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " - } - }, - "1809": { - "13": { - "name": "joinLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1809, - 13 - ], - [ - 1816, - 1 - ] - ], - "doc": " Private: Convert multiple lines to a single line.\n\nOperates on all selections. If the selection is empty, joins the current\nline with the next line. Otherwise it joins all lines that intersect the\nselection.\n\nJoining a line means that multiple lines are converted to a single line with\nthe contents of each of the original non-empty lines separated by a space. " - } - }, - "1816": { - "27": { - "name": "selectToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1816, - 27 - ], - [ - 1823, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of their containing word.\n\nOperates on all selections. Moves the cursor to the beginning of the\ncontaining word while preserving the selection's tail position. " - } - }, - "1823": { - "21": { - "name": "selectToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1823, - 21 - ], - [ - 1830, - 1 - ] - ], - "doc": " Public: Expand selections to the end of their containing word.\n\nOperates on all selections. Moves the cursor to the end of the containing\nword while preserving the selection's tail position. " - } - }, - "1830": { - "31": { - "name": "selectToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1830, - 31 - ], - [ - 1834, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next word.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nword while preserving the selection's tail position. " - } - }, - "1834": { - "14": { - "name": "selectWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1834, - 14 - ], - [ - 1841, - 1 - ] - ], - "doc": "Public: Select the word containing each cursor. " - } - }, - "1841": { - "36": { - "name": "selectToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1841, - 36 - ], - [ - 1848, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " - } - }, - "1848": { - "40": { - "name": "selectToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1848, - 40 - ], - [ - 1856, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " - } - }, - "1856": { - "16": { - "name": "selectMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1856, - 16 - ], - [ - 1863, - 1 - ] - ], - "doc": " Public: Select the range of the given marker if it is valid.\n\nmarker - A {DisplayBufferMarker}\n\nReturns the selected {Range} or `undefined` if the marker is invalid. " - } - }, - "1863": { - "16": { - "name": "mergeCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1863, - 16 - ], - [ - 1873, - 1 - ] - ], - "doc": "Private: Merge cursors that have the same screen position " - } - }, - "1873": { - "27": { - "name": "expandSelectionsForward", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1873, - 27 - ], - [ - 1879, - 1 - ] - ], - "doc": "Private: Calls the given function with each selection, then merges selections " - } - }, - "1879": { - "28": { - "name": "expandSelectionsBackward", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1879, - 28 - ], - [ - 1883, - 1 - ] - ], - "doc": " Private: Calls the given function with each selection, then merges selections in the\nreversed orientation " - } - }, - "1883": { - "22": { - "name": "finalizeSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1883, - 22 - ], - [ - 1889, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1889": { - "31": { - "name": "mergeIntersectingSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1889, - 31 - ], - [ - 1910, - 1 - ] - ], - "doc": " Private: Merges intersecting selections. If passed a function, it executes\nthe function with merging suppressed, then merges intersecting selections\nafterward. " - } - }, - "1910": { - "40": { - "name": "preserveCursorPositionOnBufferReload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1910, - 40 - ], - [ - 1919, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1919": { - "14": { - "name": "getGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1919, - 14 - ], - [ - 1926, - 1 - ] - ], - "doc": "Public: Get the current {Grammar} of this editor. " - } - }, - "1926": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 1926, - 14 - ], - [ - 1930, - 1 - ] - ], - "doc": " Public: Set the current {Grammar} of this editor.\n\nAssigning a grammar will cause the editor to re-tokenize based on the new\ngrammar. " - } - }, - "1930": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1930, - 17 - ], - [ - 1933, - 1 - ] - ], - "doc": "Private: Reload the grammar based on the file name. " - } - }, - "1933": { - "20": { - "name": "shouldAutoIndent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1933, - 20 - ], - [ - 1944, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1944": { - "12": { - "name": "transact", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1944, - 12 - ], - [ - 1944, - 39 - ] - ], - "doc": " Public: Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " - } - }, - "1952": { - "20": { - "name": "beginTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1952, - 20 - ], - [ - 1952, - 48 - ] - ], - "doc": " Public: Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " - } - }, - "1958": { - "21": { - "name": "commitTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1958, - 21 - ], - [ - 1958, - 50 - ] - ], - "doc": " Public: Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " - } - }, - "1962": { - "20": { - "name": "abortTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1962, - 20 - ], - [ - 1962, - 48 - ] - ], - "doc": " Public: Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " - } - }, - "1964": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1964, - 11 - ], - [ - 1967, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1967": { - "18": { - "name": "logScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 1967, - 18 - ], - [ - 1967, - 68 - ] - ], - "doc": "~Private~" - } - }, - "1969": { - "22": { - "name": "handleTokenization", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1969, - 22 - ], - [ - 1972, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1972": { - "23": { - "name": "handleGrammarChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1972, - 23 - ], - [ - 1976, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1976": { - "23": { - "name": "handleMarkerCreated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1976, - 23 - ], - [ - 1980, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1980": { - "32": { - "name": "getSelectionMarkerAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1980, - 32 - ], - [ - 1983, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1983": { - "27": { - "name": "getVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1983, - 27 - ], - [ - 1983, - 69 - ] - ], - "doc": "~Private~" - } - }, - "1984": { - "27": { - "name": "setVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "verticalScrollMargin" - ], - "range": [ - [ - 1984, - 27 - ], - [ - 1984, - 112 - ] - ] - } - }, - "1986": { - "29": { - "name": "getHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1986, - 29 - ], - [ - 1986, - 73 - ] - ], - "doc": "~Private~" - } - }, - "1987": { - "29": { - "name": "setHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "horizontalScrollMargin" - ], - "range": [ - [ - 1987, - 29 - ], - [ - 1987, - 120 - ] - ] - } - }, - "1989": { - "25": { - "name": "getLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1989, - 25 - ], - [ - 1989, - 65 - ] - ], - "doc": "~Private~" - } - }, - "1990": { - "25": { - "name": "setLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeightInPixels" - ], - "range": [ - [ - 1990, - 25 - ], - [ - 1990, - 104 - ] - ] - } - }, - "1992": { - "29": { - "name": "batchCharacterMeasurement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1992, - 29 - ], - [ - 1992, - 80 - ] - ], - "doc": "~Private~" - } - }, - "1994": { - "22": { - "name": "getScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char" - ], - "range": [ - [ - 1994, - 22 - ], - [ - 1994, - 94 - ] - ], - "doc": "~Private~" - } - }, - "1995": { - "22": { - "name": "setScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char", - "width" - ], - "range": [ - [ - 1995, - 22 - ], - [ - 1995, - 108 - ] - ] - } - }, - "1997": { - "23": { - "name": "getScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames" - ], - "range": [ - [ - 1997, - 23 - ], - [ - 1997, - 84 - ] - ], - "doc": "~Private~" - } - }, - "1999": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1999, - 25 - ], - [ - 1999, - 65 - ] - ], - "doc": "~Private~" - } - }, - "2001": { - "23": { - "name": "getDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2001, - 23 - ], - [ - 2001, - 61 - ] - ], - "doc": "~Private~" - } - }, - "2002": { - "23": { - "name": "setDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultCharWidth" - ], - "range": [ - [ - 2002, - 23 - ], - [ - 2002, - 96 - ] - ] - } - }, - "2004": { - "13": { - "name": "setHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "height" - ], - "range": [ - [ - 2004, - 13 - ], - [ - 2004, - 56 - ] - ], - "doc": "~Private~" - } - }, - "2005": { - "13": { - "name": "getHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2005, - 13 - ], - [ - 2005, - 41 - ] - ] - } - }, - "2007": { - "19": { - "name": "getClientHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2007, - 19 - ], - [ - 2007, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2009": { - "12": { - "name": "setWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width" - ], - "range": [ - [ - 2009, - 12 - ], - [ - 2009, - 52 - ] - ], - "doc": "~Private~" - } - }, - "2010": { - "12": { - "name": "getWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2010, - 12 - ], - [ - 2010, - 39 - ] - ] - } - }, - "2012": { - "16": { - "name": "getScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2012, - 16 - ], - [ - 2012, - 47 - ] - ], - "doc": "~Private~" - } - }, - "2013": { - "16": { - "name": "setScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 2013, - 16 - ], - [ - 2013, - 68 - ] - ] - } - }, - "2015": { - "19": { - "name": "getScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2015, - 19 - ], - [ - 2015, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2016": { - "19": { - "name": "setScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 2016, - 19 - ], - [ - 2016, - 80 - ] - ] - } - }, - "2018": { - "17": { - "name": "getScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2018, - 17 - ], - [ - 2018, - 49 - ] - ], - "doc": "~Private~" - } - }, - "2019": { - "17": { - "name": "setScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 2019, - 17 - ], - [ - 2019, - 72 - ] - ] - } - }, - "2021": { - "18": { - "name": "getScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2021, - 18 - ], - [ - 2021, - 51 - ] - ], - "doc": "~Private~" - } - }, - "2022": { - "18": { - "name": "setScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 2022, - 18 - ], - [ - 2022, - 76 - ] - ] - } - }, - "2024": { - "19": { - "name": "getScrollHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2024, - 19 - ], - [ - 2024, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2025": { - "18": { - "name": "getScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollWidth" - ], - "range": [ - [ - 2025, - 18 - ], - [ - 2025, - 76 - ] - ] - } - }, - "2027": { - "22": { - "name": "getVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2027, - 22 - ], - [ - 2027, - 59 - ] - ], - "doc": "~Private~" - } - }, - "2029": { - "29": { - "name": "intersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 2029, - 29 - ], - [ - 2029, - 108 - ] - ], - "doc": "~Private~" - } - }, - "2031": { - "38": { - "name": "selectionIntersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 2031, - 38 - ], - [ - 2031, - 112 - ] - ], - "doc": "~Private~" - } - }, - "2033": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 2033, - 34 - ], - [ - 2033, - 114 - ] - ], - "doc": "~Private~" - } - }, - "2035": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 2035, - 34 - ], - [ - 2035, - 114 - ] - ], - "doc": "~Private~" - } - }, - "2037": { - "34": { - "name": "screenPositionForPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 2037, - 34 - ], - [ - 2037, - 112 - ] - ], - "doc": "~Private~" - } - }, - "2039": { - "27": { - "name": "pixelRectForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 2039, - 27 - ], - [ - 2039, - 94 - ] - ], - "doc": "~Private~" - } - }, - "2041": { - "23": { - "name": "scrollToScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 2041, - 23 - ], - [ - 2041, - 104 - ] - ], - "doc": "~Private~" - } - }, - "2043": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 2043, - 26 - ], - [ - 2043, - 116 - ] - ], - "doc": "~Private~" - } - }, - "2045": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 2045, - 26 - ], - [ - 2045, - 116 - ] - ], - "doc": "~Private~" - } - }, - "2047": { - "26": { - "name": "horizontallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2047, - 26 - ], - [ - 2047, - 67 - ] - ], - "doc": "~Private~" - } - }, - "2049": { - "24": { - "name": "verticallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2049, - 24 - ], - [ - 2049, - 63 - ] - ], - "doc": "~Private~" - } - }, - "2051": { - "32": { - "name": "getHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2051, - 32 - ], - [ - 2051, - 79 - ] - ], - "doc": "~Private~" - } - }, - "2052": { - "32": { - "name": "setHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "height" - ], - "range": [ - [ - 2052, - 32 - ], - [ - 2052, - 94 - ] - ] - } - }, - "2054": { - "29": { - "name": "getVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2054, - 29 - ], - [ - 2054, - 73 - ] - ], - "doc": "~Private~" - } - }, - "2055": { - "29": { - "name": "setVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width" - ], - "range": [ - [ - 2055, - 29 - ], - [ - 2055, - 86 - ] - ] - } - }, - "2058": { - "12": { - "name": "joinLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2058, - 12 - ], - [ - 2060, - 16 - ] - ], - "doc": "Deprecated: Call {::joinLines} instead. " - } - } - }, - "exports": 138 - }, - "src/fold.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "7": { - "0": { - "type": "class", - "name": "Fold", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 8, - 6 - ], - [ - 9, - 17 - ], - [ - 10, - 10 - ], - [ - 12, - 15 - ], - [ - 20, - 22 - ], - [ - 27, - 11 - ], - [ - 35, - 18 - ], - [ - 48, - 21 - ], - [ - 53, - 15 - ], - [ - 57, - 13 - ], - [ - 61, - 11 - ], - [ - 67, - 21 - ], - [ - 75, - 21 - ], - [ - 78, - 23 - ], - [ - 82, - 13 - ] - ], - "doc": " Private: Represents a fold that collapses multiple buffer lines into a single\nline on the screen.\n\nTheir creation is managed by the {DisplayBuffer}. ", - "range": [ - [ - 7, - 0 - ], - [ - 84, - 26 - ] - ] - } - }, - "8": { - "6": { - "name": "id", - "type": "primitive", - "range": [ - [ - 8, - 6 - ], - [ - 8, - 9 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "17": { - "name": "displayBuffer", - "type": "primitive", - "range": [ - [ - 9, - 17 - ], - [ - 9, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "10": { - "name": "marker", - "type": "primitive", - "range": [ - [ - 10, - 10 - ], - [ - 10, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 20, - 1 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "22": { - "name": "isInsideLargerFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 22 - ], - [ - 27, - 1 - ] - ], - "doc": "Private: Returns whether this fold is contained within another fold " - } - }, - "27": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 11 - ], - [ - 35, - 1 - ] - ], - "doc": "Private: Destroys this fold " - } - }, - "35": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 35, - 18 - ], - [ - 48, - 1 - ] - ], - "doc": " Private: Returns the fold's {Range} in buffer coordinates\n\nincludeNewline - A {Boolean} which, if `true`, includes the trailing newline\n\nReturns a {Range}. " - } - }, - "48": { - "21": { - "name": "getBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 21 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "15": { - "name": "getStartRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 15 - ], - [ - 57, - 1 - ] - ], - "doc": "Private: Returns the fold's start row as a {Number}. " - } - }, - "57": { - "13": { - "name": "getEndRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 13 - ], - [ - 61, - 1 - ] - ], - "doc": "Private: Returns the fold's end row as a {Number}. " - } - }, - "61": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 11 - ], - [ - 67, - 1 - ] - ], - "doc": "Private: Returns a {String} representation of the fold. " - } - }, - "67": { - "21": { - "name": "getBufferRowCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 21 - ], - [ - 75, - 1 - ] - ], - "doc": " Private: Retrieves the number of buffer rows spanned by the fold.\n\nReturns a {Number}. " - } - }, - "75": { - "21": { - "name": "isContainedByFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fold" - ], - "range": [ - [ - 75, - 21 - ], - [ - 78, - 1 - ] - ], - "doc": " Private: Identifies if a fold is nested within a fold.\n\nfold - A {Fold} to check\n\nReturns a {Boolean}. " - } - }, - "78": { - "23": { - "name": "updateDisplayBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 78, - 23 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 13 - ], - [ - 84, - 26 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 7 - }, - "src/git.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true, - "name": "join", - "exportsProperty": "join" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2" - } - }, - "5": { - "11": { - "name": "GitUtils", - "type": "import", - "range": [ - [ - 5, - 11 - ], - [ - 5, - 29 - ] - ], - "bindingType": "variable", - "module": "git-utils" - } - }, - "7": { - "7": { - "name": "Task", - "type": "import", - "range": [ - [ - 7, - 7 - ], - [ - 7, - 22 - ] - ], - "bindingType": "variable", - "path": "./task" - } - }, - "40": { - "0": { - "type": "class", - "name": "Git", - "bindingType": "exports", - "classProperties": [ - [ - 52, - 9 - ], - [ - 59, - 11 - ] - ], - "prototypeProperties": [ - [ - 66, - 15 - ], - [ - 89, - 21 - ], - [ - 97, - 11 - ], - [ - 109, - 11 - ], - [ - 117, - 16 - ], - [ - 120, - 11 - ], - [ - 124, - 23 - ], - [ - 132, - 17 - ], - [ - 149, - 17 - ], - [ - 152, - 20 - ], - [ - 155, - 18 - ], - [ - 158, - 15 - ], - [ - 161, - 13 - ], - [ - 165, - 19 - ], - [ - 169, - 14 - ], - [ - 181, - 16 - ], - [ - 196, - 16 - ], - [ - 209, - 21 - ], - [ - 222, - 16 - ], - [ - 231, - 15 - ], - [ - 247, - 22 - ], - [ - 265, - 16 - ], - [ - 276, - 18 - ], - [ - 282, - 16 - ], - [ - 291, - 21 - ], - [ - 298, - 22 - ], - [ - 310, - 17 - ], - [ - 318, - 23 - ], - [ - 330, - 37 - ], - [ - 338, - 23 - ], - [ - 342, - 13 - ], - [ - 346, - 17 - ] - ], - "doc": " Public: Represents the underlying git operations performed by Atom.\n\nThis class shouldn't be instantiated directly but instead by accessing the\n`atom.project` global and calling `getRepo()`. Note that this will only be\navailable when the project is backed by a Git repository.\n\nThis class handles submodules automatically by taking a `path` argument to many\nof the methods. This `path` argument will determine which underlying\nrepository is used.\n\nFor a repository with submodules this would have the following outcome:\n\n```coffee\nrepo = atom.project.getRepo()\nrepo.getShortHead() # 'master'\nrepo.getShortHead('vendor/path/to/a/submodule') # 'dead1234'\n```\n\n## Example\n\n```coffeescript\ngit = atom.project.getRepo()\nconsole.log git.getOriginUrl()\n```\n\n## Requiring in packages\n\n```coffee\n {Git} = require 'atom'\n``` ", - "range": [ - [ - 40, - 0 - ], - [ - 364, - 55 - ] - ] - } - }, - "52": { - "9": { - "name": "open", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "path", - "options" - ], - "range": [ - [ - 52, - 9 - ], - [ - 59, - 1 - ] - ], - "doc": " Public: Creates a new Git instance.\n\npath - The path to the Git repository to open.\noptions - An object with the following keys (default: {}):\n :refreshOnWindowFocus - `true` to refresh the index and statuses when the\n window is focused.\n\nReturns a Git instance or null if the repository could not be opened. " - } - }, - "59": { - "11": { - "name": "exists", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 59, - 11 - ], - [ - 66, - 1 - ] - ], - "doc": "~Private~" - } - }, - "66": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "options" - ], - "range": [ - [ - 66, - 15 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "subscribeToBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer" - ], - "range": [ - [ - 89, - 21 - ], - [ - 97, - 1 - ] - ], - "doc": "Private: Subscribes to buffer events. " - } - }, - "97": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 97, - 11 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Destroy this `Git` object. This destroys any tasks and subscriptions\nand releases the underlying libgit2 repository handle. " - } - }, - "109": { - "11": { - "name": "getRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 109, - 11 - ], - [ - 117, - 1 - ] - ], - "doc": "Private: Returns the corresponding {Repository} " - } - }, - "117": { - "16": { - "name": "refreshIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 16 - ], - [ - 117, - 43 - ] - ], - "doc": " Private: Reread the index to update any values that have changed since the\nlast time the index was read. " - } - }, - "120": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 120, - 11 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Returns the {String} path of the repository. " - } - }, - "124": { - "23": { - "name": "getWorkingDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 23 - ], - [ - 124, - 57 - ] - ], - "doc": "Public: Returns the {String} working directory path of the repository. " - } - }, - "132": { - "17": { - "name": "getPathStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 132, - 17 - ], - [ - 149, - 1 - ] - ], - "doc": " Public: Get the status of a single path in the repository.\n\npath - A {String} repository-relative path.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " - } - }, - "149": { - "17": { - "name": "isPathIgnored", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 149, - 17 - ], - [ - 149, - 65 - ] - ], - "doc": " Public: Is the given path ignored?\n\nReturns a {Boolean}. " - } - }, - "152": { - "20": { - "name": "isStatusModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 152, - 20 - ], - [ - 152, - 66 - ] - ], - "doc": "Public: Returns true if the given status indicates modification. " - } - }, - "155": { - "18": { - "name": "isPathModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 155, - 18 - ], - [ - 155, - 66 - ] - ], - "doc": "Public: Returns true if the given path is modified. " - } - }, - "158": { - "15": { - "name": "isStatusNew", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 158, - 15 - ], - [ - 158, - 56 - ] - ], - "doc": "Public: Returns true if the given status indicates a new path. " - } - }, - "161": { - "13": { - "name": "isPathNew", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 161, - 13 - ], - [ - 161, - 56 - ] - ], - "doc": "Public: Returns true if the given path is new. " - } - }, - "165": { - "19": { - "name": "isProjectAtRoot", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 19 - ], - [ - 169, - 1 - ] - ], - "doc": " Public: Returns true if at the root, false if in a subfolder of the\nrepository. " - } - }, - "169": { - "14": { - "name": "relativize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 169, - 14 - ], - [ - 169, - 50 - ] - ], - "doc": "Public: Makes a path relative to the repository's working directory. " - } - }, - "181": { - "16": { - "name": "getShortHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 181, - 16 - ], - [ - 181, - 54 - ] - ], - "doc": " Public: Retrieves a shortened version of the HEAD reference value.\n\nThis removes the leading segments of `refs/heads`, `refs/tags`, or\n`refs/remotes`. It also shortens the SHA-1 of a detached `HEAD` to 7\ncharacters.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository contains submodules.\n\nReturns a {String}. " - } - }, - "196": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 196, - 16 - ], - [ - 209, - 1 - ] - ], - "doc": " Public: Restore the contents of a path in the working directory and index\nto the version at `HEAD`.\n\nThis is essentially the same as running:\n\n```\ngit reset HEAD -- \ngit checkout HEAD -- \n```\n\npath - The {String} path to checkout.\n\nReturns a {Boolean} that's true if the method was successful. " - } - }, - "209": { - "21": { - "name": "checkoutReference", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "create" - ], - "range": [ - [ - 209, - 21 - ], - [ - 222, - 1 - ] - ], - "doc": " Public: Checks out a branch in your repository.\n\nreference - The String reference to checkout\ncreate - A Boolean value which, if true creates the new reference if it\n doesn't exist.\n\nReturns a Boolean that's true if the method was successful. " - } - }, - "222": { - "16": { - "name": "getDiffStats", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 222, - 16 - ], - [ - 231, - 1 - ] - ], - "doc": " Public: Retrieves the number of lines added and removed to a path.\n\nThis compares the working directory contents of the path to the `HEAD`\nversion.\n\npath - The {String} path to check.\n\nReturns an {Object} with the following keys:\n :added - The {Number} of added lines.\n :deleted - The {Number} of deleted lines. " - } - }, - "231": { - "15": { - "name": "isSubmodule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 231, - 15 - ], - [ - 247, - 1 - ] - ], - "doc": " Public: Is the given path a submodule in the repository?\n\npath - The {String} path to check.\n\nReturns a {Boolean}. " - } - }, - "247": { - "22": { - "name": "getDirectoryStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "directoryPath" - ], - "range": [ - [ - 247, - 22 - ], - [ - 265, - 1 - ] - ], - "doc": " Public: Get the status of a directory in the repository's working directory.\n\npath - The {String} path to check.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " - } - }, - "265": { - "16": { - "name": "getLineDiffs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "text" - ], - "range": [ - [ - 265, - 16 - ], - [ - 276, - 1 - ] - ], - "doc": " Public: Retrieves the line diffs comparing the `HEAD` version of the given\npath and the given text.\n\npath - The {String} path relative to the repository.\ntext - The {String} to compare against the `HEAD` contents\n\nReturns an {Array} of hunk {Object}s with the following keys:\n :oldStart - The line {Number} of the old hunk.\n :newStart - The line {Number} of the new hunk.\n :oldLines - The {Number} of lines in the old hunk.\n :newLines - The {Number} of lines in the new hunk " - } - }, - "276": { - "18": { - "name": "getConfigValue", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "key", - "path" - ], - "range": [ - [ - 276, - 18 - ], - [ - 276, - 66 - ] - ], - "doc": " Public: Returns the git configuration value specified by the key.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " - } - }, - "282": { - "16": { - "name": "getOriginUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 282, - 16 - ], - [ - 282, - 67 - ] - ], - "doc": " Public: Returns the origin url of the repository.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " - } - }, - "291": { - "21": { - "name": "getUpstreamBranch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 291, - 21 - ], - [ - 291, - 64 - ] - ], - "doc": " Public: Returns the upstream branch for the current HEAD, or null if there\nis no upstream branch for the current HEAD.\n\npath - An optional {String} path in the repo to get this information for,\n only needed if the repository contains submodules.\n\nReturns a {String} branch name such as `refs/remotes/origin/master`. " - } - }, - "298": { - "22": { - "name": "getReferenceTarget", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "path" - ], - "range": [ - [ - 298, - 22 - ], - [ - 310, - 1 - ] - ], - "doc": " Public: Returns the current SHA for the given reference.\n\nreference - The {String} reference to get the target of.\npath - An optional {String} path in the repo to get the reference target\n for. Only needed if the repository contains submodules. " - } - }, - "310": { - "17": { - "name": "getReferences", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 310, - 17 - ], - [ - 310, - 56 - ] - ], - "doc": " Public: Gets all the local and remote references.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :heads - An {Array} of head reference names.\n :remotes - An {Array} of remote reference names.\n :tags - An {Array} of tag reference names. " - } - }, - "318": { - "23": { - "name": "getAheadBehindCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "path" - ], - "range": [ - [ - 318, - 23 - ], - [ - 330, - 1 - ] - ], - "doc": " Public: Returns the number of commits behind the current branch is from the\nits upstream remote branch.\n\nreference - The {String} branch reference name.\npath - The {String} path in the repository to get this information for,\n only needed if the repository contains submodules. " - } - }, - "330": { - "37": { - "name": "getCachedUpstreamAheadBehindCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 330, - 37 - ], - [ - 338, - 1 - ] - ], - "doc": " Public: Get the cached ahead/behind commit counts for the current branch's\nupstream branch.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :ahead - The {Number} of commits ahead.\n :behind - The {Number} of commits behind. " - } - }, - "338": { - "23": { - "name": "getCachedPathStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 338, - 23 - ], - [ - 342, - 1 - ] - ], - "doc": " Public: Get the cached status for the given path.\n\npath - A {String} path in the repository, relative or absolute.\n\nReturns a status {Number} or null if the path is not in the cache. " - } - }, - "342": { - "13": { - "name": "hasBranch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "branch" - ], - "range": [ - [ - 342, - 13 - ], - [ - 342, - 68 - ] - ], - "doc": "Public: Returns true if the given branch exists. " - } - }, - "346": { - "17": { - "name": "refreshStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 17 - ], - [ - 364, - 55 - ] - ], - "doc": " Private: Refreshes the current git status in an outside process and asynchronously\nupdates the relevant properties. " - } - } - }, - "exports": 40 - }, - "src/gutter-component.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "isEqual", - "exportsProperty": "isEqual" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 29 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "32": { - "type": "import", - "range": [ - [ - 3, - 32 - ], - [ - 3, - 45 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "multiplyString", - "exportsProperty": "multiplyString" - }, - "48": { - "type": "import", - "range": [ - [ - 3, - 48 - ], - [ - 3, - 54 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "toArray", - "exportsProperty": "toArray" - } - }, - "4": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 4, - 13 - ], - [ - 4, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "5": { - "18": { - "name": "SubscriberMixin", - "type": "import", - "range": [ - [ - 5, - 18 - ], - [ - 5, - 45 - ] - ], - "bindingType": "variable", - "path": "./subscriber-mixin" - } - }, - "7": { - "13": { - "name": "WrapperDiv", - "type": "function", - "range": [ - [ - 7, - 13 - ], - [ - 7, - 41 - ] - ] - } - }, - "10": { - "18": { - "name": "GutterComponent", - "type": "function", - "range": [ - [ - 10, - 18 - ], - [ - 227, - 39 - ] - ] - } - }, - "11": { - "15": { - "name": "'GutterComponent'", - "type": "primitive", - "range": [ - [ - 11, - 15 - ], - [ - 11, - 31 - ] - ] - } - }, - "12": { - "10": { - "type": "primitive", - "range": [ - [ - 12, - 10 - ], - [ - 12, - 26 - ] - ] - } - }, - "14": { - "23": { - "type": "primitive", - "range": [ - [ - 14, - 23 - ], - [ - 14, - 26 - ] - ] - } - }, - "15": { - "17": { - "type": "primitive", - "range": [ - [ - 15, - 17 - ], - [ - 15, - 20 - ] - ] - } - }, - "17": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 10 - ], - [ - 29, - 1 - ] - ], - "doc": null - } - }, - "29": { - "16": { - "name": "getTransform", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 16 - ], - [ - 37, - 1 - ] - ], - "doc": null - } - }, - "37": { - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 37, - 22 - ], - [ - 43, - 1 - ] - ], - "doc": null - } - }, - "43": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 21 - ], - [ - 50, - 1 - ] - ], - "doc": null - } - }, - "50": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 50, - 25 - ], - [ - 64, - 1 - ] - ], - "doc": null - } - }, - "64": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "oldProps" - ], - "range": [ - [ - 64, - 22 - ], - [ - 74, - 1 - ] - ], - "doc": null - } - }, - "74": { - "24": { - "name": "clearScreenRowCaches", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 24 - ], - [ - 80, - 1 - ] - ], - "doc": null - } - }, - "80": { - "25": { - "name": "appendDummyLineNumber", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 80, - 25 - ], - [ - 86, - 1 - ] - ], - "doc": null - } - }, - "86": { - "25": { - "name": "updateDummyLineNumber", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 25 - ], - [ - 89, - 1 - ] - ], - "doc": null - } - }, - "89": { - "21": { - "name": "updateLineNumbers", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 93, - 1 - ] - ], - "doc": null - } - }, - "93": { - "40": { - "name": "appendOrUpdateVisibleLineNumberNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 93, - 40 - ], - [ - 138, - 1 - ] - ], - "doc": null - } - }, - "138": { - "25": { - "name": "removeLineNumberNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberIdsToPreserve" - ], - "range": [ - [ - 138, - 25 - ], - [ - 150, - 1 - ] - ], - "doc": null - } - }, - "150": { - "23": { - "name": "buildLineNumberHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bufferRow", - "softWrapped", - "maxLineNumberDigits", - "screenRow" - ], - "range": [ - [ - 150, - 23 - ], - [ - 169, - 1 - ] - ], - "doc": null - } - }, - "169": { - "28": { - "name": "buildLineNumberInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bufferRow", - "softWrapped", - "maxLineNumberDigits" - ], - "range": [ - [ - 169, - 28 - ], - [ - 179, - 1 - ] - ], - "doc": null - } - }, - "179": { - "24": { - "name": "updateLineNumberNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberId", - "bufferRow", - "screenRow", - "softWrapped" - ], - "range": [ - [ - 179, - 24 - ], - [ - 208, - 1 - ] - ], - "doc": null - } - }, - "208": { - "17": { - "name": "hasDecoration", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "decorations", - "decoration" - ], - "range": [ - [ - 208, - 17 - ], - [ - 211, - 1 - ] - ], - "doc": null - } - }, - "211": { - "21": { - "name": "hasLineNumberNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberId" - ], - "range": [ - [ - 211, - 21 - ], - [ - 214, - 1 - ] - ], - "doc": null - } - }, - "214": { - "30": { - "name": "lineNumberNodeForScreenRow", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 214, - 30 - ], - [ - 217, - 1 - ] - ], - "doc": null - } - }, - "217": { - "11": { - "name": "onClick", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 217, - 11 - ], - [ - 227, - 39 - ] - ], - "doc": null - } - } - }, - "exports": 10 - }, - "src/gutter-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "10": { - "type": "import", - "range": [ - [ - 0, - 10 - ], - [ - 0, - 11 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - }, - "14": { - "type": "import", - "range": [ - [ - 0, - 14 - ], - [ - 0, - 16 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$$", - "exportsProperty": "$$$" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "8": { - "0": { - "type": "class", - "name": "GutterView", - "bindingType": "exports", - "classProperties": [ - [ - 9, - 12 - ] - ], - "prototypeProperties": [ - [ - 13, - 18 - ], - [ - 14, - 17 - ], - [ - 16, - 14 - ], - [ - 19, - 15 - ], - [ - 28, - 16 - ], - [ - 31, - 21 - ], - [ - 53, - 17 - ], - [ - 56, - 13 - ], - [ - 62, - 22 - ], - [ - 68, - 25 - ], - [ - 74, - 33 - ], - [ - 83, - 24 - ], - [ - 91, - 22 - ], - [ - 101, - 27 - ], - [ - 115, - 18 - ], - [ - 126, - 23 - ], - [ - 135, - 21 - ], - [ - 169, - 23 - ], - [ - 175, - 22 - ], - [ - 179, - 22 - ], - [ - 190, - 21 - ], - [ - 194, - 25 - ], - [ - 221, - 25 - ], - [ - 235, - 24 - ], - [ - 242, - 20 - ], - [ - 250, - 18 - ] - ], - "doc": " Private: Represents the portion of the {EditorView} containing row numbers.\n\nThe gutter also indicates if rows are folded. ", - "range": [ - [ - 8, - 0 - ], - [ - 274, - 29 - ] - ] - } - }, - "9": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 12 - ], - [ - 13, - 1 - ] - ] - } - }, - "13": { - "18": { - "name": "firstScreenRow", - "type": "primitive", - "range": [ - [ - 13, - 18 - ], - [ - 13, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "17": { - "name": "lastScreenRow", - "type": "primitive", - "range": [ - [ - 14, - 17 - ], - [ - 14, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 14 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 19, - 15 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 16 - ], - [ - 31, - 1 - ] - ], - "doc": "~Private~" - } - }, - "31": { - "21": { - "name": "handleMouseEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 31, - 21 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "17": { - "name": "getEditorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 17 - ], - [ - 56, - 1 - ] - ], - "doc": " Private: Retrieves the containing {EditorView}.\n\nReturns an {EditorView}. " - } - }, - "56": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 13 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "22": { - "name": "setShowLineNumbers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showLineNumbers" - ], - "range": [ - [ - 62, - 22 - ], - [ - 68, - 1 - ] - ], - "doc": " Private: Defines whether to show the gutter or not.\n\nshowLineNumbers - A {Boolean} which, if `false`, hides the gutter " - } - }, - "68": { - "25": { - "name": "getLineNumberElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 25 - ], - [ - 74, - 1 - ] - ], - "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " - } - }, - "74": { - "33": { - "name": "getLineNumberElementsForClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 74, - 33 - ], - [ - 83, - 1 - ] - ], - "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " - } - }, - "83": { - "24": { - "name": "getLineNumberElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 83, - 24 - ], - [ - 91, - 1 - ] - ], - "doc": " Private: Get a single line-number div.\n\n* bufferRow: 0 based line number\n\nReturns a list of {HTMLElement}s that correspond to the bufferRow. More than\none in the list indicates a wrapped line. " - } - }, - "91": { - "22": { - "name": "addClassToAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 91, - 22 - ], - [ - 101, - 1 - ] - ], - "doc": " Private: Add a class to all line-number divs.\n\n* klass: string class name\n\nReturns true if the class was added to any lines " - } - }, - "101": { - "27": { - "name": "removeClassFromAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 101, - 27 - ], - [ - 115, - 1 - ] - ], - "doc": " Private: Remove a class from all line-number divs.\n\n* klass: string class name. Can only be one class name. i.e. 'my-class'\n\nReturns true if the class was removed from any lines " - } - }, - "115": { - "18": { - "name": "addClassToLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "klass" - ], - "range": [ - [ - 115, - 18 - ], - [ - 126, - 1 - ] - ], - "doc": " Private: Add a class to a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was added to " - } - }, - "126": { - "23": { - "name": "removeClassFromLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "klass" - ], - "range": [ - [ - 126, - 23 - ], - [ - 135, - 1 - ] - ], - "doc": " Private: Remove a class from a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was removed from " - } - }, - "135": { - "21": { - "name": "updateLineNumbers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "changes", - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 135, - 21 - ], - [ - 169, - 1 - ] - ], - "doc": "~Private~" - } - }, - "169": { - "23": { - "name": "prependLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElements" - ], - "range": [ - [ - 169, - 23 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "22": { - "name": "appendLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElements" - ], - "range": [ - [ - 175, - 22 - ], - [ - 179, - 1 - ] - ], - "doc": "~Private~" - } - }, - "179": { - "22": { - "name": "removeLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "numberOfElements" - ], - "range": [ - [ - 179, - 22 - ], - [ - 190, - 1 - ] - ], - "doc": "~Private~" - } - }, - "190": { - "21": { - "name": "buildLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 190, - 21 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "25": { - "name": "buildLineElementsHtml", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 194, - 25 - ], - [ - 221, - 1 - ] - ], - "doc": "~Private~" - } - }, - "221": { - "25": { - "name": "updateFoldableClasses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "changes" - ], - "range": [ - [ - 221, - 25 - ], - [ - 235, - 1 - ] - ], - "doc": " Private: Called to update the 'foldable' class of line numbers when there's\na change to the display buffer that doesn't regenerate all the line numbers\nanyway. " - } - }, - "235": { - "24": { - "name": "removeLineHighlights", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 235, - 24 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "20": { - "name": "addLineHighlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "emptySelection" - ], - "range": [ - [ - 242, - 20 - ], - [ - 250, - 1 - ] - ], - "doc": "~Private~" - } - }, - "250": { - "18": { - "name": "highlightLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 250, - 18 - ], - [ - 274, - 29 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/highlight-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "21": { - "name": "HighlightComponent", - "type": "function", - "range": [ - [ - 5, - 21 - ], - [ - 89, - 110 - ] - ] - } - }, - "6": { - "15": { - "name": "'HighlightComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 34 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 20, - 1 - ] - ], - "doc": null - } - }, - "20": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 21 - ], - [ - 27, - 1 - ] - ], - "doc": null - } - }, - "27": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 24 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "23": { - "name": "startFlashAnimation", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 23 - ], - [ - 42, - 1 - ] - ], - "doc": null - } - }, - "42": { - "27": { - "name": "renderSingleLineRegions", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 27 - ], - [ - 53, - 1 - ] - ], - "doc": null - } - }, - "53": { - "26": { - "name": "renderMultiLineRegions", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 26 - ], - [ - 88, - 1 - ] - ], - "doc": null - } - }, - "88": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 88, - 25 - ], - [ - 89, - 110 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/highlights-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "3": { - "21": { - "name": "HighlightComponent", - "type": "import", - "range": [ - [ - 3, - 21 - ], - [ - 3, - 51 - ] - ], - "bindingType": "variable", - "path": "./highlight-component" - } - }, - "6": { - "22": { - "name": "HighlightsComponent", - "type": "function", - "range": [ - [ - 6, - 22 - ], - [ - 24, - 148 - ] - ] - } - }, - "7": { - "15": { - "name": "'HighlightsComponent'", - "type": "primitive", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 35 - ] - ] - } - }, - "9": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 10 - ], - [ - 13, - 1 - ] - ], - "doc": null - } - }, - "13": { - "20": { - "name": "renderHighlights", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 20 - ], - [ - 23, - 1 - ] - ], - "doc": null - } - }, - "23": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 23, - 25 - ], - [ - 24, - 148 - ] - ], - "doc": null - } - } - }, - "exports": 6 - }, - "src/input-component.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "last", - "exportsProperty": "last" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 13 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "isEqual", - "exportsProperty": "isEqual" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "input", - "exportsProperty": "input" - } - }, - "5": { - "17": { - "name": "InputComponent", - "type": "function", - "range": [ - [ - 5, - 17 - ], - [ - 43, - 25 - ] - ] - } - }, - "6": { - "15": { - "name": "'InputComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 30 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 13, - 1 - ] - ], - "doc": null - } - }, - "13": { - "19": { - "name": "getInitialState", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 19 - ], - [ - 16, - 1 - ] - ], - "doc": null - } - }, - "16": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 21 - ], - [ - 21, - 1 - ] - ], - "doc": null - } - }, - "21": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 22 - ], - [ - 27, - 1 - ] - ], - "doc": null - } - }, - "27": { - "27": { - "name": "isPressAndHoldCharacter", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "char" - ], - "range": [ - [ - 27, - 27 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 30, - 25 - ], - [ - 33, - 1 - ] - ], - "doc": null - } - }, - "33": { - "11": { - "name": "onPaste", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 33, - 11 - ], - [ - 36, - 1 - ] - ], - "doc": null - } - }, - "36": { - "11": { - "name": "onFocus", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 36, - 11 - ], - [ - 39, - 1 - ] - ], - "doc": null - } - }, - "39": { - "10": { - "name": "onBlur", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 39, - 10 - ], - [ - 42, - 1 - ] - ], - "doc": null - } - }, - "42": { - "9": { - "name": "focus", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 9 - ], - [ - 43, - 25 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/keymap-extensions.coffee": { - "objects": { - "0": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 0, - 5 - ], - [ - 0, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "16": { - "name": "KeymapManager", - "type": "import", - "range": [ - [ - 2, - 16 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "atom-keymap" - } - }, - "3": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 6 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "jQuery", - "exportsProperty": "jQuery" - } - }, - "6": { - "36": { - "name": "KeymapManager.prototype.loadBundledKeymaps", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 36 - ], - [ - 9, - 0 - ] - ], - "doc": null - } - }, - "10": { - "35": { - "name": "KeymapManager.prototype.getUserKeymapPath", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 35 - ], - [ - 15, - 0 - ] - ], - "doc": null - } - }, - "16": { - "32": { - "name": "KeymapManager.prototype.loadUserKeymap", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 32 - ], - [ - 22, - 74 - ] - ], - "doc": null - } - }, - "23": { - "32": { - "name": "jQuery.Event.prototype.abortKeyBinding", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 23, - 32 - ], - [ - 25, - 0 - ] - ], - "doc": null - } - } - }, - "exports": 26 - }, - "src/language-mode.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 10 - ] - ], - "bindingType": "variable", - "module": "oniguruma@^3", - "name": "OnigRegExp", - "exportsProperty": "OnigRegExp" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "6": { - "0": { - "type": "class", - "name": "LanguageMode", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 15 - ], - [ - 16, - 11 - ], - [ - 19, - 33 - ], - [ - 30, - 35 - ], - [ - 100, - 11 - ], - [ - 107, - 13 - ], - [ - 114, - 24 - ], - [ - 128, - 17 - ], - [ - 141, - 30 - ], - [ - 146, - 33 - ], - [ - 161, - 34 - ], - [ - 181, - 25 - ], - [ - 186, - 29 - ], - [ - 194, - 32 - ], - [ - 201, - 30 - ], - [ - 208, - 35 - ], - [ - 241, - 31 - ], - [ - 265, - 29 - ], - [ - 274, - 24 - ], - [ - 281, - 23 - ], - [ - 288, - 34 - ], - [ - 308, - 23 - ], - [ - 312, - 32 - ], - [ - 315, - 32 - ], - [ - 318, - 25 - ] - ], - "doc": "~Private~", - "range": [ - [ - 6, - 0 - ], - [ - 319, - 57 - ] - ] - } - }, - "13": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 13, - 15 - ], - [ - 16, - 1 - ] - ], - "doc": " Private: Sets up a `LanguageMode` for the given {Editor}.\n\neditor - The {Editor} to associate with " - } - }, - "16": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 11 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "33": { - "name": "toggleLineCommentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 19, - 33 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "35": { - "name": "toggleLineCommentsForBufferRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 30, - 35 - ], - [ - 100, - 1 - ] - ], - "doc": " Private: Wraps the lines between two rows in comments.\n\nIf the language doesn't have comment, nothing happens.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns an {Array} of the commented {Ranges}. " - } - }, - "100": { - "11": { - "name": "foldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 100, - 11 - ], - [ - 107, - 1 - ] - ], - "doc": "Private: Folds all the foldable lines in the buffer. " - } - }, - "107": { - "13": { - "name": "unfoldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 13 - ], - [ - 114, - 1 - ] - ], - "doc": "Private: Unfolds all the foldable lines in the buffer. " - } - }, - "114": { - "24": { - "name": "foldAllAtIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "indentLevel" - ], - "range": [ - [ - 114, - 24 - ], - [ - 128, - 1 - ] - ], - "doc": " Private: Fold all comment and code blocks at a given indentLevel\n\nindentLevel - A {Number} indicating indentLevel; 0 based. " - } - }, - "128": { - "17": { - "name": "foldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 128, - 17 - ], - [ - 141, - 1 - ] - ], - "doc": " Private: Given a buffer row, creates a fold at it.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns the new {Fold}. " - } - }, - "141": { - "30": { - "name": "rowRangeForFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 141, - 30 - ], - [ - 146, - 1 - ] - ], - "doc": " Private: Find the row range for a fold at a given bufferRow. Will handle comments\nand code.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of the [startRow, endRow]. Returns null if no range. " - } - }, - "146": { - "33": { - "name": "rowRangeForCommentAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 146, - 33 - ], - [ - 161, - 1 - ] - ], - "doc": "~Private~" - } - }, - "161": { - "34": { - "name": "rowRangeForCodeFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 161, - 34 - ], - [ - 181, - 1 - ] - ], - "doc": "~Private~" - } - }, - "181": { - "25": { - "name": "isFoldableAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 181, - 25 - ], - [ - 186, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether the given buffer row starts a\nfoldable row range. Rows that are \"foldable\" have a fold icon next to their\nicon in the gutter in the default configuration. " - } - }, - "186": { - "29": { - "name": "isFoldableCodeAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 186, - 29 - ], - [ - 194, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na a foldable row range due to the code's indentation patterns. " - } - }, - "194": { - "32": { - "name": "isFoldableCommentAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 194, - 32 - ], - [ - 201, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na foldable row range due to being the start of a multi-line comment. " - } - }, - "201": { - "30": { - "name": "isLineCommentedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 201, - 30 - ], - [ - 208, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the line at the given buffer\nrow is a comment. " - } - }, - "208": { - "35": { - "name": "rowRangeForParagraphAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 208, - 35 - ], - [ - 241, - 1 - ] - ], - "doc": " Private: Find a row range for a 'paragraph' around specified bufferRow.\nRight now, a paragraph is a block of text bounded by and empty line or a\nblock of text that is not the same type (comments next to source code). " - } - }, - "241": { - "31": { - "name": "suggestedIndentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 241, - 31 - ], - [ - 265, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns a suggested indentation level.\n\nThe indentation level provided is based on the current {LanguageMode}.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Number}. " - } - }, - "265": { - "29": { - "name": "minIndentLevelForRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 265, - 29 - ], - [ - 274, - 1 - ] - ], - "doc": " Private: Calculate a minimum indent level for a range of lines excluding empty lines.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns a {Number} of the indent level of the block of lines. " - } - }, - "274": { - "24": { - "name": "autoIndentBufferRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 274, - 24 - ], - [ - 281, - 1 - ] - ], - "doc": " Private: Indents all the rows between two buffer row numbers.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at " - } - }, - "281": { - "23": { - "name": "autoIndentBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "options" - ], - "range": [ - [ - 281, - 23 - ], - [ - 288, - 1 - ] - ], - "doc": " Private: Given a buffer row, this indents it.\n\nbufferRow - The row {Number}.\noptions - An options {Object} to pass through to {Editor::setIndentationForBufferRow}. " - } - }, - "288": { - "34": { - "name": "autoDecreaseIndentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 288, - 34 - ], - [ - 308, - 1 - ] - ], - "doc": " Private: Given a buffer row, this decreases the indentation.\n\nbufferRow - The row {Number} " - } - }, - "308": { - "23": { - "name": "getRegexForProperty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "property" - ], - "range": [ - [ - 308, - 23 - ], - [ - 312, - 1 - ] - ], - "doc": "~Private~" - } - }, - "312": { - "32": { - "name": "increaseIndentRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 312, - 32 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "32": { - "name": "decreaseIndentRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 315, - 32 - ], - [ - 318, - 1 - ] - ], - "doc": "~Private~" - } - }, - "318": { - "25": { - "name": "foldEndRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 318, - 25 - ], - [ - 319, - 57 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 6 - }, - "src/less-compile-cache.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2" - } - }, - "2": { - "12": { - "name": "LessCache", - "type": "import", - "range": [ - [ - 2, - 12 - ], - [ - 2, - 31 - ] - ], - "bindingType": "variable", - "module": "less-cache" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "7": { - "0": { - "type": "class", - "name": "LessCompileCache", - "bindingType": "exports", - "classProperties": [ - [ - 10, - 13 - ] - ], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 29, - 18 - ], - [ - 32, - 8 - ], - [ - 35, - 14 - ], - [ - 38, - 11 - ] - ], - "doc": "Private: {LessCache} wrapper used by {ThemeManager} to read stylesheets. ", - "range": [ - [ - 7, - 0 - ], - [ - 38, - 28 - ] - ] - } - }, - "10": { - "13": { - "name": "cacheDir", - "type": "function", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 71 - ] - ], - "bindingType": "classProperty" - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 29, - 1 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "18": { - "name": "setImportPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "importPaths" - ], - "range": [ - [ - 29, - 18 - ], - [ - 32, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "8": { - "name": "read", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 32, - 8 - ], - [ - 35, - 1 - ] - ], - "doc": "~Private~" - } - }, - "35": { - "14": { - "name": "cssForFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "lessContent" - ], - "range": [ - [ - 35, - 14 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 38, - 11 - ], - [ - 38, - 27 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 7 - }, - "src/lines-component.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - }, - "6": { - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 9 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "span", - "exportsProperty": "span" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "debounce", - "exportsProperty": "debounce" - }, - "11": { - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 17 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "isEqual", - "exportsProperty": "isEqual" - }, - "20": { - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 39 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "42": { - "type": "import", - "range": [ - [ - 3, - 42 - ], - [ - 3, - 55 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "multiplyString", - "exportsProperty": "multiplyString" - }, - "58": { - "type": "import", - "range": [ - [ - 3, - 58 - ], - [ - 3, - 64 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "toArray", - "exportsProperty": "toArray" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 2 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "$$", - "exportsProperty": "$$" - } - }, - "6": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 6, - 13 - ], - [ - 6, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "7": { - "19": { - "name": "CursorsComponent", - "type": "import", - "range": [ - [ - 7, - 19 - ], - [ - 7, - 47 - ] - ], - "bindingType": "variable", - "path": "./cursors-component" - } - }, - "8": { - "22": { - "name": "HighlightsComponent", - "type": "import", - "range": [ - [ - 8, - 22 - ], - [ - 8, - 53 - ] - ], - "bindingType": "variable", - "path": "./highlights-component" - } - }, - "10": { - "16": { - "type": "primitive", - "range": [ - [ - 10, - 16 - ], - [ - 10, - 111 - ] - ] - } - }, - "11": { - "15": { - "type": "primitive", - "range": [ - [ - 11, - 15 - ], - [ - 11, - 55 - ] - ] - }, - "28": { - "name": "acceptNode", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 11, - 28 - ], - [ - 11, - 54 - ] - ], - "doc": null - } - }, - "12": { - "13": { - "name": "WrapperDiv", - "type": "function", - "range": [ - [ - 12, - 13 - ], - [ - 12, - 41 - ] - ] - } - }, - "15": { - "17": { - "name": "LinesComponent", - "type": "function", - "range": [ - [ - 15, - 17 - ], - [ - 348, - 41 - ] - ] - } - }, - "16": { - "15": { - "name": "'LinesComponent'", - "type": "primitive", - "range": [ - [ - 16, - 15 - ], - [ - 16, - 30 - ] - ] - } - }, - "18": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 18, - 10 - ], - [ - 44, - 1 - ] - ], - "doc": null - } - }, - "44": { - "16": { - "name": "getTransform", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 16 - ], - [ - 52, - 1 - ] - ], - "doc": null - } - }, - "52": { - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 22 - ], - [ - 59, - 1 - ] - ], - "doc": null - } - }, - "59": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 59, - 25 - ], - [ - 79, - 1 - ] - ], - "doc": null - } - }, - "79": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "prevProps" - ], - "range": [ - [ - 79, - 22 - ], - [ - 88, - 1 - ] - ], - "doc": null - } - }, - "88": { - "24": { - "name": "clearScreenRowCaches", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 24 - ], - [ - 92, - 1 - ] - ], - "doc": null - } - }, - "92": { - "15": { - "name": "updateLines", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "updateWidth" - ], - "range": [ - [ - 92, - 15 - ], - [ - 100, - 1 - ] - ], - "doc": null - } - }, - "100": { - "19": { - "name": "removeLineNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "visibleLines" - ], - "range": [ - [ - 100, - 19 - ], - [ - 114, - 1 - ] - ], - "doc": null - } - }, - "114": { - "34": { - "name": "appendOrUpdateVisibleLineNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "visibleLines", - "startRow", - "updateWidth" - ], - "range": [ - [ - 114, - 34 - ], - [ - 145, - 1 - ] - ], - "doc": null - } - }, - "145": { - "15": { - "name": "hasLineNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineId" - ], - "range": [ - [ - 145, - 15 - ], - [ - 148, - 1 - ] - ], - "doc": null - } - }, - "148": { - "17": { - "name": "buildLineHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "screenRow" - ], - "range": [ - [ - 148, - 17 - ], - [ - 171, - 1 - ] - ], - "doc": null - } - }, - "171": { - "27": { - "name": "buildEmptyLineInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 171, - 27 - ], - [ - 198, - 1 - ] - ], - "doc": null - } - }, - "198": { - "22": { - "name": "buildLineInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 198, - 22 - ], - [ - 215, - 1 - ] - ], - "doc": null - } - }, - "215": { - "22": { - "name": "buildEndOfLineHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "invisibles" - ], - "range": [ - [ - 215, - 22 - ], - [ - 228, - 1 - ] - ], - "doc": null - } - }, - "228": { - "20": { - "name": "updateScopeStack", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 228, - 20 - ], - [ - 245, - 1 - ] - ], - "doc": null - } - }, - "245": { - "12": { - "name": "popScope", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack" - ], - "range": [ - [ - 245, - 12 - ], - [ - 249, - 1 - ] - ], - "doc": null - } - }, - "249": { - "13": { - "name": "pushScope", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack", - "scope" - ], - "range": [ - [ - 249, - 13 - ], - [ - 253, - 1 - ] - ], - "doc": null - } - }, - "253": { - "18": { - "name": "updateLineNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "screenRow", - "updateWidth" - ], - "range": [ - [ - 253, - 18 - ], - [ - 278, - 1 - ] - ], - "doc": null - } - }, - "278": { - "17": { - "name": "hasDecoration", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "decorations", - "decoration" - ], - "range": [ - [ - 278, - 17 - ], - [ - 281, - 1 - ] - ], - "doc": null - } - }, - "281": { - "24": { - "name": "lineNodeForScreenRow", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 281, - 24 - ], - [ - 284, - 1 - ] - ], - "doc": null - } - }, - "284": { - "40": { - "name": "measureLineHeightAndDefaultCharWidth", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 40 - ], - [ - 295, - 1 - ] - ], - "doc": null - } - }, - "295": { - "28": { - "name": "remeasureCharacterWidths", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 295, - 28 - ], - [ - 299, - 1 - ] - ], - "doc": null - } - }, - "299": { - "31": { - "name": "measureCharactersInNewLines", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 299, - 31 - ], - [ - 311, - 1 - ] - ], - "doc": null - } - }, - "311": { - "27": { - "name": "measureCharactersInLine", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "tokenizedLine", - "lineNode" - ], - "range": [ - [ - 311, - 27 - ], - [ - 346, - 1 - ] - ], - "doc": null - } - }, - "346": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 25 - ], - [ - 348, - 41 - ] - ], - "doc": null - } - } - }, - "exports": 15 - }, - "src/menu-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "3": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 3, - 6 - ], - [ - 3, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2" - } - }, - "12": { - "0": { - "type": "class", - "name": "MenuManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 15 - ], - [ - 37, - 7 - ], - [ - 47, - 19 - ], - [ - 79, - 10 - ], - [ - 88, - 21 - ], - [ - 96, - 9 - ], - [ - 107, - 27 - ], - [ - 117, - 24 - ], - [ - 121, - 18 - ], - [ - 130, - 21 - ] - ], - "doc": " Public: Provides a registry for menu items that you'd like to appear in the\napplication menu.\n\nAn instance of this class is always available as the `atom.menu` global. ", - "range": [ - [ - 12, - 0 - ], - [ - 131, - 49 - ] - ] - } - }, - "13": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 13, - 15 - ], - [ - 37, - 1 - ] - ] - } - }, - "37": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 37, - 7 - ], - [ - 47, - 1 - ] - ], - "doc": " Public: Adds the given item definition to the existing template.\n\n## Example\n```coffee\n atom.menu.add [\n {\n label: 'Hello'\n submenu : [{label: 'World!', command: 'hello:world'}]\n }\n ]\n```\n\nitems - An {Array} of menu item {Object}s containing the keys:\n :label - The {String} menu label.\n :submenu - An optional {Array} of sub menu items.\n :command - An optional {String} command to trigger when the item is\n clicked.\n\nReturns nothing. " - } - }, - "47": { - "19": { - "name": "includeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 47, - 19 - ], - [ - 79, - 1 - ] - ], - "doc": " Private: Should the binding for the given selector be included in the menu\ncommands.\n\nselector - A {String} selector to check.\n\nReturns true to include the selector, false otherwise. " - } - }, - "79": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 10 - ], - [ - 88, - 1 - ] - ], - "doc": "Public: Refreshes the currently visible menu. " - } - }, - "88": { - "21": { - "name": "loadPlatformItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 21 - ], - [ - 96, - 1 - ] - ], - "doc": "~Private~" - } - }, - "96": { - "9": { - "name": "merge", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "menu", - "item" - ], - "range": [ - [ - 96, - 9 - ], - [ - 107, - 1 - ] - ], - "doc": " Private: Merges an item in a submenu aware way such that new items are always\nappended to the bottom of existing menus where possible. " - } - }, - "107": { - "27": { - "name": "filterMultipleKeystroke", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystrokesByCommand" - ], - "range": [ - [ - 107, - 27 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: OSX can't handle displaying accelerators for multiple keystrokes.\nIf they are sent across, it will stop processing accelerators for the rest\nof the menu items. " - } - }, - "117": { - "24": { - "name": "sendToBrowserProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 117, - 24 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "18": { - "name": "normalizeLabel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "label" - ], - "range": [ - [ - 121, - 18 - ], - [ - 130, - 1 - ] - ], - "doc": "~Private~" - } - }, - "130": { - "21": { - "name": "classesForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 130, - 21 - ], - [ - 131, - 49 - ] - ], - "doc": "Private: Get an {Array} of {String} classes for the given element. " - } - } - }, - "exports": 12 - }, - "src/package-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "7": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 7, - 10 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "8": { - "15": { - "name": "ThemePackage", - "type": "import", - "range": [ - [ - 8, - 15 - ], - [ - 8, - 39 - ] - ], - "bindingType": "variable", - "path": "./theme-package" - } - }, - "26": { - "0": { - "type": "class", - "name": "PackageManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 44, - 14 - ], - [ - 52, - 22 - ], - [ - 55, - 19 - ], - [ - 58, - 19 - ], - [ - 62, - 17 - ], - [ - 68, - 18 - ], - [ - 74, - 12 - ], - [ - 82, - 28 - ], - [ - 85, - 20 - ], - [ - 90, - 19 - ], - [ - 100, - 22 - ], - [ - 105, - 21 - ], - [ - 113, - 21 - ], - [ - 117, - 20 - ], - [ - 121, - 19 - ], - [ - 124, - 29 - ], - [ - 128, - 27 - ], - [ - 137, - 16 - ], - [ - 148, - 15 - ], - [ - 168, - 18 - ], - [ - 172, - 17 - ], - [ - 182, - 20 - ], - [ - 186, - 19 - ], - [ - 190, - 21 - ], - [ - 196, - 29 - ], - [ - 200, - 22 - ], - [ - 210, - 21 - ], - [ - 213, - 17 - ], - [ - 218, - 20 - ], - [ - 221, - 26 - ], - [ - 231, - 28 - ], - [ - 246, - 28 - ], - [ - 250, - 31 - ] - ], - "doc": " Public: Package manager for coordinating the lifecycle of Atom packages.\n\nAn instance of this class is always available as the `atom.packages` global.\n\nPackages can be loaded, activated, and deactivated, and unloaded:\n * Loading a package reads and parses the package's metadata and resources\n such as keymaps, menus, stylesheets, etc.\n * Activating a package registers the loaded resources and calls `activate()`\n on the package's main module.\n * Deactivating a package unregisters the package's resources and calls\n `deactivate()` on the package's main module.\n * Unloading a package removes it completely from the package manager.\n\nPackages can also be enabled/disabled via the `core.disabledPackages` config\nsettings and also by calling `enablePackage()/disablePackage()`. ", - "range": [ - [ - 26, - 0 - ], - [ - 256, - 12 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 29, - 15 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "14": { - "name": "getApmPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 14 - ], - [ - 52, - 1 - ] - ], - "doc": "Public: Get the path to the apm command " - } - }, - "52": { - "22": { - "name": "getPackageDirPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 22 - ], - [ - 55, - 1 - ] - ], - "doc": " Public: Get the paths being used to look for packages.\n\nReturns an Array of String directory paths. " - } - }, - "55": { - "19": { - "name": "getPackageState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 55, - 19 - ], - [ - 58, - 1 - ] - ], - "doc": "~Private~" - } - }, - "58": { - "19": { - "name": "setPackageState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "state" - ], - "range": [ - [ - 58, - 19 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "17": { - "name": "enablePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 62, - 17 - ], - [ - 68, - 1 - ] - ], - "doc": "Public: Enable the package with the given name " - } - }, - "68": { - "18": { - "name": "disablePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 68, - 18 - ], - [ - 74, - 1 - ] - ], - "doc": "Public: Disable the package with the given name " - } - }, - "74": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 12 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Activate all the packages that should be activated. " - } - }, - "82": { - "28": { - "name": "registerPackageActivator", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "activator", - "types" - ], - "range": [ - [ - 82, - 28 - ], - [ - 85, - 1 - ] - ], - "doc": " Private: another type of package manager can handle other package types.\nSee ThemeManager " - } - }, - "85": { - "20": { - "name": "activatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "packages" - ], - "range": [ - [ - 85, - 20 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "19": { - "name": "activatePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 90, - 19 - ], - [ - 100, - 1 - ] - ], - "doc": "Private: Activate a single package by name " - } - }, - "100": { - "22": { - "name": "deactivatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 100, - 22 - ], - [ - 105, - 1 - ] - ], - "doc": "Private: Deactivate all packages " - } - }, - "105": { - "21": { - "name": "deactivatePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 105, - 21 - ], - [ - 113, - 1 - ] - ], - "doc": "Private: Deactivate the package with the given name " - } - }, - "113": { - "21": { - "name": "getActivePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 113, - 21 - ], - [ - 117, - 1 - ] - ], - "doc": "Public: Get an array of all the active packages " - } - }, - "117": { - "20": { - "name": "getActivePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 117, - 20 - ], - [ - 121, - 1 - ] - ], - "doc": "Public: Get the active package with the given name " - } - }, - "121": { - "19": { - "name": "isPackageActive", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 121, - 19 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Is the package with the given name active? " - } - }, - "124": { - "29": { - "name": "unobserveDisabledPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 29 - ], - [ - 128, - 1 - ] - ], - "doc": "~Private~" - } - }, - "128": { - "27": { - "name": "observeDisabledPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 128, - 27 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "16": { - "name": "loadPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 16 - ], - [ - 148, - 1 - ] - ], - "doc": "~Private~" - } - }, - "148": { - "15": { - "name": "loadPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "nameOrPath" - ], - "range": [ - [ - 148, - 15 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "18": { - "name": "unloadPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 18 - ], - [ - 172, - 1 - ] - ], - "doc": "~Private~" - } - }, - "172": { - "17": { - "name": "unloadPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 172, - 17 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "20": { - "name": "getLoadedPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 182, - 20 - ], - [ - 186, - 1 - ] - ], - "doc": "Public: Get the loaded package with the given name " - } - }, - "186": { - "19": { - "name": "isPackageLoaded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 186, - 19 - ], - [ - 190, - 1 - ] - ], - "doc": "Public: Is the package with the given name loaded? " - } - }, - "190": { - "21": { - "name": "getLoadedPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 21 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded packages " - } - }, - "196": { - "29": { - "name": "getLoadedPackagesForTypes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "types" - ], - "range": [ - [ - 196, - 29 - ], - [ - 200, - 1 - ] - ], - "doc": " Private: Get packages for a certain package type\n\ntypes - an {Array} of {String}s like ['atom', 'textmate']. " - } - }, - "200": { - "22": { - "name": "resolvePackagePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 200, - 22 - ], - [ - 210, - 1 - ] - ], - "doc": "Public: Resolve the given package name to a path on disk. " - } - }, - "210": { - "21": { - "name": "isPackageDisabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 210, - 21 - ], - [ - 213, - 1 - ] - ], - "doc": "Public: Is the package with the given name disabled? " - } - }, - "213": { - "17": { - "name": "hasAtomEngine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "packagePath" - ], - "range": [ - [ - 213, - 17 - ], - [ - 218, - 1 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "20": { - "name": "isBundledPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 218, - 20 - ], - [ - 221, - 1 - ] - ], - "doc": "Public: Is the package with the given name bundled with Atom? " - } - }, - "221": { - "26": { - "name": "getPackageDependencies", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 221, - 26 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "28": { - "name": "getAvailablePackagePaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 231, - 28 - ], - [ - 246, - 1 - ] - ], - "doc": "Public: Get an array of all the available package paths. " - } - }, - "246": { - "28": { - "name": "getAvailablePackageNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 246, - 28 - ], - [ - 250, - 1 - ] - ], - "doc": "Public: Get an array of all the available package names. " - } - }, - "250": { - "31": { - "name": "getAvailablePackageMetadata", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 250, - 31 - ], - [ - 256, - 12 - ] - ], - "doc": "Public: Get an array of all the available package metadata. " - } - } - }, - "exports": 26 - }, - "src/package.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "3": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 3, - 8 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "async" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "7": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "9": { - "4": { - "type": "primitive", - "range": [ - [ - 9, - 4 - ], - [ - 9, - 7 - ] - ] - } - }, - "10": { - "19": { - "name": "ScopedProperties", - "type": "import", - "range": [ - [ - 10, - 19 - ], - [ - 10, - 47 - ] - ], - "bindingType": "variable", - "path": "./scoped-properties" - } - }, - "15": { - "0": { - "type": "class", - "name": "Package", - "bindingType": "exports", - "classProperties": [ - [ - 18, - 19 - ], - [ - 20, - 17 - ] - ], - "prototypeProperties": [ - [ - 30, - 11 - ], - [ - 31, - 9 - ], - [ - 32, - 15 - ], - [ - 33, - 12 - ], - [ - 34, - 20 - ], - [ - 35, - 18 - ], - [ - 36, - 26 - ], - [ - 37, - 14 - ], - [ - 39, - 15 - ], - [ - 44, - 10 - ], - [ - 47, - 11 - ], - [ - 50, - 11 - ], - [ - 53, - 11 - ], - [ - 59, - 11 - ], - [ - 61, - 21 - ], - [ - 63, - 8 - ], - [ - 76, - 9 - ], - [ - 83, - 12 - ], - [ - 97, - 15 - ], - [ - 109, - 18 - ], - [ - 118, - 23 - ], - [ - 126, - 21 - ], - [ - 138, - 15 - ], - [ - 141, - 13 - ], - [ - 144, - 18 - ], - [ - 151, - 16 - ], - [ - 158, - 19 - ], - [ - 162, - 22 - ], - [ - 165, - 22 - ], - [ - 177, - 20 - ], - [ - 194, - 16 - ], - [ - 213, - 24 - ], - [ - 231, - 13 - ], - [ - 238, - 14 - ], - [ - 247, - 20 - ], - [ - 251, - 23 - ], - [ - 260, - 21 - ], - [ - 266, - 20 - ], - [ - 269, - 21 - ], - [ - 275, - 21 - ], - [ - 285, - 23 - ], - [ - 297, - 31 - ], - [ - 306, - 25 - ], - [ - 315, - 35 - ], - [ - 325, - 36 - ], - [ - 339, - 36 - ], - [ - 345, - 18 - ], - [ - 353, - 34 - ], - [ - 371, - 32 - ], - [ - 401, - 16 - ] - ], - "doc": " Private: Loads and activates a package's main module and resources such as\nstylesheets, keymaps, grammar, editor properties, and menus. ", - "range": [ - [ - 15, - 0 - ], - [ - 411, - 24 - ] - ] - } - }, - "18": { - "19": { - "name": "stylesheetsDir", - "type": "primitive", - "range": [ - [ - 18, - 19 - ], - [ - 18, - 31 - ] - ], - "bindingType": "classProperty" - } - }, - "20": { - "17": { - "name": "loadMetadata", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "packagePath", - "ignoreErrors" - ], - "range": [ - [ - 20, - 17 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "keymaps", - "type": "primitive", - "range": [ - [ - 30, - 11 - ], - [ - 30, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "31": { - "9": { - "name": "menus", - "type": "primitive", - "range": [ - [ - 31, - 9 - ], - [ - 31, - 12 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "32": { - "15": { - "name": "stylesheets", - "type": "primitive", - "range": [ - [ - 32, - 15 - ], - [ - 32, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "33": { - "12": { - "name": "grammars", - "type": "primitive", - "range": [ - [ - 33, - 12 - ], - [ - 33, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "34": { - "20": { - "name": "scopedProperties", - "type": "primitive", - "range": [ - [ - 34, - 20 - ], - [ - 34, - 23 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "35": { - "18": { - "name": "mainModulePath", - "type": "primitive", - "range": [ - [ - 35, - 18 - ], - [ - 35, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "36": { - "26": { - "name": "resolvedMainModulePath", - "type": "primitive", - "range": [ - [ - 36, - 26 - ], - [ - 36, - 30 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "37": { - "14": { - "name": "mainModule", - "type": "primitive", - "range": [ - [ - 37, - 14 - ], - [ - 37, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "39": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 39, - 15 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "10": { - "name": "enable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 10 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "11": { - "name": "disable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 47, - 11 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "11": { - "name": "isTheme", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 11 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "11": { - "name": "measure", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "key", - "fn" - ], - "range": [ - [ - 53, - 11 - ], - [ - 59, - 1 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "11": { - "name": "getType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 11 - ], - [ - 59, - 19 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "21": { - "name": "getStylesheetType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 21 - ], - [ - 61, - 32 - ] - ], - "doc": "~Private~" - } - }, - "63": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 63, - 8 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "9": { - "name": "reset", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 9 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 83, - 12 - ], - [ - 97, - 1 - ] - ], - "doc": "~Private~" - } - }, - "97": { - "15": { - "name": "activateNow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 97, - 15 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "18": { - "name": "activateConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 18 - ], - [ - 118, - 1 - ] - ], - "doc": "~Private~" - } - }, - "118": { - "23": { - "name": "activateStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 118, - 23 - ], - [ - 126, - 1 - ] - ], - "doc": "~Private~" - } - }, - "126": { - "21": { - "name": "activateResources", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 21 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "15": { - "name": "loadKeymaps", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 15 - ], - [ - 141, - 1 - ] - ], - "doc": "~Private~" - } - }, - "141": { - "13": { - "name": "loadMenus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 13 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "18": { - "name": "getKeymapPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 144, - 18 - ], - [ - 151, - 1 - ] - ], - "doc": "~Private~" - } - }, - "151": { - "16": { - "name": "getMenuPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 151, - 16 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "19": { - "name": "loadStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 19 - ], - [ - 162, - 1 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "22": { - "name": "getStylesheetsPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 22 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "22": { - "name": "getStylesheetPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 22 - ], - [ - 177, - 1 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "20": { - "name": "loadGrammarsSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 20 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "16": { - "name": "loadGrammars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 194, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "24": { - "name": "loadScopedProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 24 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "13": { - "name": "serialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 231, - 13 - ], - [ - 238, - 1 - ] - ], - "doc": "~Private~" - } - }, - "238": { - "14": { - "name": "deactivate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 238, - 14 - ], - [ - 247, - 1 - ] - ], - "doc": "~Private~" - } - }, - "247": { - "20": { - "name": "deactivateConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 247, - 20 - ], - [ - 251, - 1 - ] - ], - "doc": "~Private~" - } - }, - "251": { - "23": { - "name": "deactivateResources", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 251, - 23 - ], - [ - 260, - 1 - ] - ], - "doc": "~Private~" - } - }, - "260": { - "21": { - "name": "reloadStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 21 - ], - [ - 266, - 1 - ] - ], - "doc": "~Private~" - } - }, - "266": { - "20": { - "name": "reloadStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "content" - ], - "range": [ - [ - 266, - 20 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "21": { - "name": "requireMainModule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 21 - ], - [ - 275, - 1 - ] - ] - } - }, - "275": { - "21": { - "name": "getMainModulePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 275, - 21 - ], - [ - 285, - 1 - ] - ], - "doc": "~Private~" - } - }, - "285": { - "23": { - "name": "hasActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 285, - 23 - ], - [ - 297, - 1 - ] - ], - "doc": "~Private~" - } - }, - "297": { - "31": { - "name": "subscribeToActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 31 - ], - [ - 306, - 1 - ] - ], - "doc": "~Private~" - } - }, - "306": { - "25": { - "name": "handleActivationEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 306, - 25 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "35": { - "name": "unsubscribeFromActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 35 - ], - [ - 325, - 1 - ] - ], - "doc": "~Private~" - } - }, - "325": { - "36": { - "name": "disableEventHandlersOnBubblePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 325, - 36 - ], - [ - 339, - 1 - ] - ], - "doc": "~Private~" - } - }, - "339": { - "36": { - "name": "restoreEventHandlersOnBubblePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventHandlers" - ], - "range": [ - [ - 339, - 36 - ], - [ - 345, - 1 - ] - ], - "doc": "~Private~" - } - }, - "345": { - "18": { - "name": "isNativeModule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "modulePath" - ], - "range": [ - [ - 345, - 18 - ], - [ - 353, - 1 - ] - ], - "doc": "Private: Does the given module path contain native code? " - } - }, - "353": { - "34": { - "name": "getNativeModuleDependencyPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 353, - 34 - ], - [ - 371, - 1 - ] - ], - "doc": " Private: Get an array of all the native modules that this package depends on.\nThis will recurse through all dependencies. " - } - }, - "371": { - "32": { - "name": "getIncompatibleNativeModules", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 371, - 32 - ], - [ - 401, - 1 - ] - ], - "doc": " Private: Get the incompatible native modules that this package depends on.\nThis recurses through all dependencies and requires all modules that\ncontain a `.node` file.\n\nThis information is cached in local storage on a per package/version basis\nto minimize the impact on startup time. " - } - }, - "401": { - "16": { - "name": "isCompatible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 401, - 16 - ], - [ - 411, - 24 - ] - ], - "doc": " Public: Is this package compatible with this version of Atom?\n\nIncompatible packages cannot be activated. This will include packages\ninstalled to ~/.atom/packages that were built against node 0.11.10 but\nnow need to be upgrade to node 0.11.13.\n\nReturns a {Boolean}, true if compatible, false if incompatible. " - } - } - }, - "exports": 15 - }, - "src/pane-axis-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "11": { - "type": "primitive", - "range": [ - [ - 1, - 11 - ], - [ - 1, - 14 - ] - ] - } - }, - "4": { - "0": { - "type": "class", - "name": "PaneAxisView", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 5, - 14 - ], - [ - 9, - 15 - ], - [ - 12, - 16 - ], - [ - 16, - 22 - ], - [ - 22, - 16 - ], - [ - 26, - 18 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 31, - 48 - ] - ] - } - }, - "5": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 5, - 14 - ], - [ - 9, - 1 - ] - ] - } - }, - "9": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 15 - ], - [ - 12, - 1 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "16": { - "name": "viewForModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "model" - ], - "range": [ - [ - 12, - 16 - ], - [ - 16, - 1 - ] - ], - "doc": "~Private~" - } - }, - "16": { - "22": { - "name": "onChildrenChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 16, - 22 - ], - [ - 22, - 1 - ] - ], - "doc": "~Private~" - } - }, - "22": { - "16": { - "name": "onChildAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child", - "index" - ], - "range": [ - [ - 22, - 16 - ], - [ - 26, - 1 - ] - ], - "doc": "~Private~" - } - }, - "26": { - "18": { - "name": "onChildRemoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 26, - 18 - ], - [ - 31, - 48 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/pane-axis.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 15 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Sequence", - "exportsProperty": "Sequence" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 7 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "flatten", - "exportsProperty": "flatten" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "4": { - "14": { - "type": "primitive", - "range": [ - [ - 4, - 14 - ], - [ - 4, - 17 - ] - ] - } - }, - "5": { - "17": { - "type": "primitive", - "range": [ - [ - 5, - 17 - ], - [ - 5, - 20 - ] - ] - } - }, - "8": { - "0": { - "type": "class", - "name": "PaneAxis", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 25, - 21 - ], - [ - 30, - 19 - ], - [ - 34, - 16 - ], - [ - 40, - 12 - ], - [ - 43, - 12 - ], - [ - 46, - 15 - ], - [ - 51, - 16 - ], - [ - 56, - 21 - ], - [ - 60, - 20 - ], - [ - 64, - 21 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 65, - 44 - ] - ] - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 25, - 21 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 19 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 16 - ], - [ - 40, - 1 - ] - ], - "doc": "~Private~" - } - }, - "40": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 40, - 12 - ], - [ - 43, - 1 - ] - ], - "doc": "~Private~" - } - }, - "43": { - "12": { - "name": "addChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child", - "index" - ], - "range": [ - [ - 43, - 12 - ], - [ - 46, - 1 - ] - ], - "doc": "~Private~" - } - }, - "46": { - "15": { - "name": "removeChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 46, - 15 - ], - [ - 51, - 1 - ] - ], - "doc": "~Private~" - } - }, - "51": { - "16": { - "name": "replaceChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "oldChild", - "newChild" - ], - "range": [ - [ - 51, - 16 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "21": { - "name": "insertChildBefore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "currentChild", - "newChild" - ], - "range": [ - [ - 56, - 21 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "20": { - "name": "insertChildAfter", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "currentChild", - "newChild" - ], - "range": [ - [ - 60, - 20 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "21": { - "name": "reparentLastChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 21 - ], - [ - 65, - 44 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/pane-column-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "2": { - "15": { - "name": "PaneAxisView", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 40 - ] - ], - "bindingType": "variable", - "path": "./pane-axis-view" - } - }, - "5": { - "0": { - "type": "class", - "name": "PaneColumnView", - "bindingType": "exports", - "classProperties": [ - [ - 7, - 12 - ] - ], - "prototypeProperties": [ - [ - 10, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 11, - 16 - ] - ] - } - }, - "7": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 7, - 12 - ], - [ - 10, - 1 - ] - ], - "doc": "~Private~" - } - }, - "10": { - "13": { - "name": "className", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 13 - ], - [ - 11, - 16 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "src/pane-container-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "1": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "3": { - "11": { - "name": "PaneView", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-view" - } - }, - "4": { - "16": { - "name": "PaneContainer", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 41 - ] - ], - "bindingType": "variable", - "path": "./pane-container" - } - }, - "8": { - "0": { - "type": "class", - "name": "PaneContainerView", - "bindingType": "exports", - "classProperties": [ - [ - 13, - 12 - ] - ], - "prototypeProperties": [ - [ - 16, - 14 - ], - [ - 25, - 16 - ], - [ - 30, - 11 - ], - [ - 33, - 17 - ], - [ - 47, - 27 - ], - [ - 50, - 15 - ], - [ - 55, - 16 - ], - [ - 64, - 16 - ], - [ - 67, - 15 - ], - [ - 70, - 15 - ], - [ - 73, - 16 - ], - [ - 79, - 18 - ], - [ - 82, - 17 - ], - [ - 86, - 21 - ], - [ - 89, - 21 - ], - [ - 92, - 17 - ], - [ - 95, - 14 - ], - [ - 98, - 21 - ], - [ - 101, - 25 - ], - [ - 104, - 22 - ], - [ - 107, - 22 - ], - [ - 110, - 23 - ], - [ - 113, - 24 - ], - [ - 116, - 26 - ], - [ - 143, - 26 - ], - [ - 152, - 12 - ] - ], - "doc": "Private: Manages the list of panes within a {WorkspaceView} ", - "range": [ - [ - 8, - 0 - ], - [ - 154, - 19 - ] - ] - } - }, - "13": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 12 - ], - [ - 16, - 1 - ] - ], - "doc": "~Private~" - } - }, - "16": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 16, - 14 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "16": { - "name": "viewForModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "model" - ], - "range": [ - [ - 25, - 16 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "getRoot", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 11 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "17": { - "name": "onRootChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "root" - ], - "range": [ - [ - 33, - 17 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "27": { - "name": "onActivePaneItemChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "activeItem" - ], - "range": [ - [ - 47, - 27 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "15": { - "name": "removeChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 50, - 15 - ], - [ - 55, - 1 - ] - ], - "doc": "~Private~" - } - }, - "55": { - "16": { - "name": "confirmClose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 16 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "16": { - "name": "getPaneViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 16 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "15": { - "name": "indexOfPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "paneView" - ], - "range": [ - [ - 67, - 15 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "15": { - "name": "paneAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 70, - 15 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "16": { - "name": "eachPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 73, - 16 - ], - [ - 79, - 1 - ] - ], - "doc": "~Private~" - } - }, - "79": { - "18": { - "name": "getFocusedPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 18 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 17 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "21": { - "name": "getActivePaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 21 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "17": { - "name": "getActiveView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 92, - 17 - ], - [ - 95, - 1 - ] - ], - "doc": "~Private~" - } - }, - "95": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 95, - 14 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "21": { - "name": "focusNextPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 21 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "focusPreviousPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 25 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "22": { - "name": "focusPaneViewAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 22 - ], - [ - 107, - 1 - ] - ], - "doc": "~Private~" - } - }, - "107": { - "22": { - "name": "focusPaneViewBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 22 - ], - [ - 110, - 1 - ] - ], - "doc": "~Private~" - } - }, - "110": { - "23": { - "name": "focusPaneViewOnLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 23 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "24": { - "name": "focusPaneViewOnRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 113, - 24 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "26": { - "name": "nearestPaneInDirection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "direction" - ], - "range": [ - [ - 116, - 26 - ], - [ - 143, - 1 - ] - ], - "doc": "~Private~" - } - }, - "143": { - "26": { - "name": "boundingBoxForPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "paneView" - ], - "range": [ - [ - 143, - 26 - ], - [ - 152, - 1 - ] - ], - "doc": "~Private~" - } - }, - "152": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 152, - 12 - ], - [ - 154, - 19 - ] - ], - "doc": "Private: Deprecated " - } - } - }, - "exports": 8 - }, - "src/pane-container.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "find", - "exportsProperty": "find" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "3": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "6": { - "0": { - "type": "class", - "name": "PaneContainer", - "bindingType": "exports", - "classProperties": [ - [ - 10, - 12 - ] - ], - "prototypeProperties": [ - [ - 16, - 16 - ], - [ - 23, - 15 - ], - [ - 28, - 21 - ], - [ - 34, - 19 - ], - [ - 38, - 16 - ], - [ - 42, - 12 - ], - [ - 45, - 17 - ], - [ - 48, - 14 - ], - [ - 51, - 11 - ], - [ - 54, - 20 - ], - [ - 64, - 24 - ], - [ - 75, - 17 - ], - [ - 89, - 21 - ], - [ - 92, - 17 - ], - [ - 96, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 6, - 0 - ], - [ - 97, - 42 - ] - ] - } - }, - "10": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 10, - 12 - ], - [ - 10, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "16": { - "16": { - "name": "previousRoot", - "type": "primitive", - "range": [ - [ - 16, - 16 - ], - [ - 16, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "23": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 23, - 15 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 28, - 21 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 34, - 19 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "16": { - "name": "replaceChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "oldChild", - "newChild" - ], - "range": [ - [ - 38, - 16 - ], - [ - 42, - 1 - ] - ], - "doc": "~Private~" - } - }, - "42": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 12 - ], - [ - 45, - 1 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 17 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 48, - 14 - ], - [ - 51, - 1 - ] - ], - "doc": "~Private~" - } - }, - "51": { - "11": { - "name": "saveAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 51, - 11 - ], - [ - 54, - 1 - ] - ], - "doc": "~Private~" - } - }, - "54": { - "20": { - "name": "activateNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 54, - 20 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "24": { - "name": "activatePreviousPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 24 - ], - [ - 75, - 1 - ] - ], - "doc": "~Private~" - } - }, - "75": { - "17": { - "name": "onRootChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "root" - ], - "range": [ - [ - 75, - 17 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "destroyEmptyPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "17": { - "name": "itemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 92, - 17 - ], - [ - 96, - 1 - ] - ], - "doc": "~Private~" - } - }, - "96": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 13 - ], - [ - 97, - 42 - ] - ], - "doc": "Private: Called by Model superclass when destroyed " - } - } - }, - "exports": 6 - }, - "src/pane-row-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "2": { - "15": { - "name": "PaneAxisView", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 40 - ] - ], - "bindingType": "variable", - "path": "./pane-axis-view" - } - }, - "5": { - "0": { - "type": "class", - "name": "PaneRowView", - "bindingType": "exports", - "classProperties": [ - [ - 6, - 12 - ] - ], - "prototypeProperties": [ - [ - 9, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 10, - 13 - ] - ] - } - }, - "6": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 12 - ], - [ - 9, - 1 - ] - ] - } - }, - "9": { - "13": { - "name": "className", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 13 - ], - [ - 10, - 13 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "src/pane-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "3": { - "20": { - "name": "PropertyAccessors", - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 47 - ] - ], - "bindingType": "variable", - "module": "property-accessors" - } - }, - "5": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "14": { - "0": { - "type": "class", - "name": "PaneView", - "bindingType": "exports", - "classProperties": [ - [ - 18, - 12 - ], - [ - 20, - 12 - ] - ], - "prototypeProperties": [ - [ - 32, - 22 - ], - [ - 34, - 14 - ], - [ - 45, - 16 - ], - [ - 84, - 14 - ], - [ - 89, - 12 - ], - [ - 94, - 18 - ], - [ - 99, - 19 - ], - [ - 104, - 16 - ], - [ - 109, - 20 - ], - [ - 113, - 15 - ], - [ - 121, - 15 - ], - [ - 124, - 25 - ], - [ - 133, - 15 - ], - [ - 139, - 21 - ], - [ - 142, - 23 - ], - [ - 158, - 15 - ], - [ - 161, - 17 - ], - [ - 175, - 15 - ], - [ - 178, - 25 - ], - [ - 182, - 26 - ], - [ - 185, - 15 - ], - [ - 199, - 13 - ], - [ - 201, - 14 - ], - [ - 203, - 11 - ], - [ - 205, - 13 - ], - [ - 210, - 16 - ], - [ - 213, - 16 - ], - [ - 216, - 10 - ] - ], - "doc": " Public: A container which can contains multiple items to be switched between.\n\nItems can be almost anything however most commonly they're {EditorView}s.\n\nMost packages won't need to use this class, unless you're interested in\nbuilding a package that deals with switching between panes or items. ", - "range": [ - [ - 14, - 0 - ], - [ - 219, - 9 - ] - ] - } - }, - "18": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 18, - 12 - ], - [ - 18, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "20": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "wrappedView" - ], - "range": [ - [ - 20, - 12 - ], - [ - 24, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "22": { - "name": "previousActiveItem", - "type": "primitive", - "range": [ - [ - 32, - 22 - ], - [ - 32, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "34": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 34, - 14 - ], - [ - 45, - 1 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 16 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "14": { - "name": "removeItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 84, - 14 - ], - [ - 89, - 1 - ] - ], - "doc": "Deprecated: Use ::destroyItem " - } - }, - "89": { - "12": { - "name": "showItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 89, - 12 - ], - [ - 94, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItem " - } - }, - "94": { - "18": { - "name": "showItemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 94, - 18 - ], - [ - 99, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItemForUri " - } - }, - "99": { - "19": { - "name": "showItemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 99, - 19 - ], - [ - 104, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItemAtIndex " - } - }, - "104": { - "16": { - "name": "showNextItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 16 - ], - [ - 109, - 1 - ] - ], - "doc": "Deprecated: Use ::activateNextItem " - } - }, - "109": { - "20": { - "name": "showPreviousItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 20 - ], - [ - 113, - 1 - ] - ], - "doc": "Deprecated: Use ::activatePreviousItem " - } - }, - "113": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 113, - 15 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "15": { - "name": "onActivated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 121, - 15 - ], - [ - 124, - 1 - ] - ], - "doc": "~Private~" - } - }, - "124": { - "25": { - "name": "onActiveStatusChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "active" - ], - "range": [ - [ - 124, - 25 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "15": { - "name": "getNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 15 - ], - [ - 139, - 1 - ] - ], - "doc": "Public: Returns the next pane, ordered by creation. " - } - }, - "139": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 139, - 21 - ], - [ - 142, - 1 - ] - ], - "doc": "~Private~" - } - }, - "142": { - "23": { - "name": "onActiveItemChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 142, - 23 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "15": { - "name": "onItemAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index" - ], - "range": [ - [ - 158, - 15 - ], - [ - 161, - 1 - ] - ], - "doc": "~Private~" - } - }, - "161": { - "17": { - "name": "onItemRemoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index", - "destroyed" - ], - "range": [ - [ - 161, - 17 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "15": { - "name": "onItemMoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "newIndex" - ], - "range": [ - [ - 175, - 15 - ], - [ - 178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "178": { - "25": { - "name": "onBeforeItemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 178, - 25 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "26": { - "name": "activeItemTitleChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 182, - 26 - ], - [ - 185, - 1 - ] - ], - "doc": "~Private~" - } - }, - "185": { - "15": { - "name": "viewForItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 185, - 15 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "199": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 199, - 13 - ], - [ - 199, - 57 - ] - ], - "doc": "~Private~" - } - }, - "201": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 201, - 14 - ], - [ - 201, - 59 - ] - ], - "doc": "~Private~" - } - }, - "203": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 203, - 11 - ], - [ - 203, - 53 - ] - ], - "doc": "~Private~" - } - }, - "205": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 205, - 13 - ], - [ - 205, - 57 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "16": { - "name": "getContainer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": " Public: Get the container view housing this pane.\n\nReturns a {View}. " - } - }, - "213": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 16 - ], - [ - 216, - 1 - ] - ], - "doc": "~Private~" - } - }, - "216": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "keepData" - ], - "range": [ - [ - 216, - 10 - ], - [ - 219, - 9 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 14 - }, - "src/pane.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "find", - "exportsProperty": "find" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 13 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "compact", - "exportsProperty": "compact" - }, - "16": { - "type": "import", - "range": [ - [ - 0, - 16 - ], - [ - 0, - 21 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "extend", - "exportsProperty": "extend" - }, - "24": { - "type": "import", - "range": [ - [ - 0, - 24 - ], - [ - 0, - 27 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "last", - "exportsProperty": "last" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - }, - "8": { - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 15 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Sequence", - "exportsProperty": "Sequence" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "3": { - "11": { - "name": "PaneAxis", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-axis" - } - }, - "4": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "5": { - "11": { - "type": "primitive", - "range": [ - [ - 5, - 11 - ], - [ - 5, - 14 - ] - ] - } - }, - "11": { - "0": { - "type": "class", - "name": "Pane", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 43, - 19 - ], - [ - 50, - 21 - ], - [ - 57, - 16 - ], - [ - 59, - 12 - ], - [ - 62, - 9 - ], - [ - 67, - 8 - ], - [ - 73, - 12 - ], - [ - 77, - 12 - ], - [ - 82, - 12 - ], - [ - 88, - 17 - ], - [ - 93, - 19 - ], - [ - 97, - 15 - ], - [ - 101, - 20 - ], - [ - 109, - 24 - ], - [ - 117, - 22 - ], - [ - 121, - 23 - ], - [ - 125, - 16 - ], - [ - 137, - 11 - ], - [ - 154, - 12 - ], - [ - 159, - 14 - ], - [ - 175, - 12 - ], - [ - 182, - 18 - ], - [ - 187, - 21 - ], - [ - 193, - 15 - ], - [ - 204, - 16 - ], - [ - 208, - 24 - ], - [ - 211, - 11 - ], - [ - 218, - 13 - ], - [ - 224, - 20 - ], - [ - 239, - 18 - ], - [ - 243, - 20 - ], - [ - 251, - 12 - ], - [ - 263, - 14 - ], - [ - 273, - 13 - ], - [ - 278, - 14 - ], - [ - 283, - 22 - ], - [ - 290, - 18 - ], - [ - 300, - 13 - ], - [ - 309, - 14 - ], - [ - 318, - 11 - ], - [ - 327, - 13 - ], - [ - 330, - 9 - ], - [ - 344, - 23 - ], - [ - 356, - 32 - ] - ], - "doc": " Public: A container for multiple items, one of which is *active* at a given\ntime. With the default packages, a tab is displayed for each item and the\nactive item's view is displayed. ", - "range": [ - [ - 11, - 0 - ], - [ - 364, - 19 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 29, - 15 - ], - [ - 43, - 1 - ] - ], - "doc": "~Private~" - } - }, - "43": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 19 - ], - [ - 50, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during serialization. " - } - }, - "50": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 50, - 21 - ], - [ - 57, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during deserialization. " - } - }, - "57": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 16 - ], - [ - 57, - 51 - ] - ], - "doc": "Private: Called by the view layer to construct a view for this model. " - } - }, - "59": { - "12": { - "name": "isActive", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 12 - ], - [ - 59, - 21 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 62, - 9 - ], - [ - 67, - 1 - ] - ], - "doc": "Private: Called by the view layer to indicate that the pane has gained focus. " - } - }, - "67": { - "8": { - "name": "blur", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 8 - ], - [ - 73, - 1 - ] - ], - "doc": "Private: Called by the view layer to indicate that the pane has lost focus. " - } - }, - "73": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 12 - ], - [ - 77, - 1 - ] - ], - "doc": " Public: Makes this pane the *active* pane, causing it to gain focus\nimmediately. " - } - }, - "77": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 77, - 12 - ], - [ - 77, - 20 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "12": { - "name": "getItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 12 - ], - [ - 88, - 1 - ] - ], - "doc": " Public: Get the items in this pane.\n\nReturns an {Array} of items. " - } - }, - "88": { - "17": { - "name": "getActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 17 - ], - [ - 93, - 1 - ] - ], - "doc": " Public: Get the active pane item in this pane.\n\nReturns a pane item. " - } - }, - "93": { - "19": { - "name": "getActiveEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 93, - 19 - ], - [ - 97, - 1 - ] - ], - "doc": " Public: Returns an {Editor} if the pane item is an {Editor}, or null\notherwise. " - } - }, - "97": { - "15": { - "name": "itemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 97, - 15 - ], - [ - 101, - 1 - ] - ], - "doc": "Public: Returns the item at the specified index. " - } - }, - "101": { - "20": { - "name": "activateNextItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 20 - ], - [ - 109, - 1 - ] - ], - "doc": "Public: Makes the next item active. " - } - }, - "109": { - "24": { - "name": "activatePreviousItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 24 - ], - [ - 117, - 1 - ] - ], - "doc": "Public: Makes the previous item active. " - } - }, - "117": { - "22": { - "name": "getActiveItemIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 22 - ], - [ - 121, - 1 - ] - ], - "doc": "Private: Returns the index of the current active item. " - } - }, - "121": { - "23": { - "name": "activateItemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 121, - 23 - ], - [ - 125, - 1 - ] - ], - "doc": "Private: Makes the item at the given index active. " - } - }, - "125": { - "16": { - "name": "activateItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 125, - 16 - ], - [ - 137, - 1 - ] - ], - "doc": "Private: Makes the given item active, adding the item if necessary. " - } - }, - "137": { - "11": { - "name": "addItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index" - ], - "range": [ - [ - 137, - 11 - ], - [ - 154, - 1 - ] - ], - "doc": " Public: Adds the item to the pane.\n\nitem - The item to add. It can be a model with an associated view or a view.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns the added item " - } - }, - "154": { - "12": { - "name": "addItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items", - "index" - ], - "range": [ - [ - 154, - 12 - ], - [ - 159, - 1 - ] - ], - "doc": " Public: Adds the given items to the pane.\n\nitems - An {Array} of items to add. Items can be models with associated\n views or views. Any items that are already present in items will\n not be added.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns an {Array} of the added items " - } - }, - "159": { - "14": { - "name": "removeItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "destroying" - ], - "range": [ - [ - 159, - 14 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "12": { - "name": "moveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "newIndex" - ], - "range": [ - [ - 175, - 12 - ], - [ - 182, - 1 - ] - ], - "doc": "Public: Moves the given item to the specified index. " - } - }, - "182": { - "18": { - "name": "moveItemToPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "pane", - "index" - ], - "range": [ - [ - 182, - 18 - ], - [ - 187, - 1 - ] - ], - "doc": "Public: Moves the given item to the given index at another pane. " - } - }, - "187": { - "21": { - "name": "destroyActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 187, - 21 - ], - [ - 193, - 1 - ] - ], - "doc": "Public: Destroys the currently active item and make the next item active. " - } - }, - "193": { - "15": { - "name": "destroyItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 193, - 15 - ], - [ - 204, - 1 - ] - ], - "doc": " Public: Destroys the given item. If it is the active item, activate the next\none. If this is the last item, also destroys the pane. " - } - }, - "204": { - "16": { - "name": "destroyItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 204, - 16 - ], - [ - 208, - 1 - ] - ], - "doc": "Public: Destroys all items and destroys the pane. " - } - }, - "208": { - "24": { - "name": "destroyInactiveItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 208, - 24 - ], - [ - 211, - 1 - ] - ], - "doc": "Public: Destroys all items but the active one. " - } - }, - "211": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 211, - 11 - ], - [ - 218, - 1 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 218, - 13 - ], - [ - 224, - 1 - ] - ], - "doc": "Private: Called by model superclass. " - } - }, - "224": { - "20": { - "name": "promptToSaveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 224, - 20 - ], - [ - 239, - 1 - ] - ], - "doc": " Public: Prompts the user to save the given item if it can be saved and is\ncurrently unsaved. " - } - }, - "239": { - "18": { - "name": "saveActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 239, - 18 - ], - [ - 243, - 1 - ] - ], - "doc": "Public: Saves the active item. " - } - }, - "243": { - "20": { - "name": "saveActiveItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 243, - 20 - ], - [ - 251, - 1 - ] - ], - "doc": "Public: Saves the active item at a prompted-for location. " - } - }, - "251": { - "12": { - "name": "saveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "nextAction" - ], - "range": [ - [ - 251, - 12 - ], - [ - 263, - 1 - ] - ], - "doc": " Public: Saves the specified item.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " - } - }, - "263": { - "14": { - "name": "saveItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "nextAction" - ], - "range": [ - [ - 263, - 14 - ], - [ - 273, - 1 - ] - ], - "doc": " Public: Saves the given item at a prompted-for location.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " - } - }, - "273": { - "13": { - "name": "saveItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 273, - 13 - ], - [ - 278, - 1 - ] - ], - "doc": "Public: Saves all items. " - } - }, - "278": { - "14": { - "name": "itemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 278, - 14 - ], - [ - 283, - 1 - ] - ], - "doc": " Public: Returns the first item that matches the given URI or undefined if\nnone exists. " - } - }, - "283": { - "22": { - "name": "activateItemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 283, - 22 - ], - [ - 290, - 1 - ] - ], - "doc": " Public: Activates the first item that matches the given URI. Returns a\nboolean indicating whether a matching item was found. " - } - }, - "290": { - "18": { - "name": "copyActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 290, - 18 - ], - [ - 300, - 1 - ] - ], - "doc": "~Private~" - } - }, - "300": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 300, - 13 - ], - [ - 309, - 1 - ] - ], - "doc": " Public: Creates a new pane to the left of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "309": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 309, - 14 - ], - [ - 318, - 1 - ] - ], - "doc": " Public: Creates a new pane to the right of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "318": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 318, - 11 - ], - [ - 327, - 1 - ] - ], - "doc": " Public: Creates a new pane above the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "327": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 327, - 13 - ], - [ - 330, - 1 - ] - ], - "doc": " Public: Creates a new pane below the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "330": { - "9": { - "name": "split", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "orientation", - "side", - "params" - ], - "range": [ - [ - 330, - 9 - ], - [ - 344, - 1 - ] - ], - "doc": "~Private~" - } - }, - "344": { - "23": { - "name": "findLeftmostSibling", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 344, - 23 - ], - [ - 356, - 1 - ] - ], - "doc": " Private: If the parent is a horizontal axis, returns its first child if it is a pane;\notherwise returns this pane. " - } - }, - "356": { - "32": { - "name": "findOrCreateRightmostSibling", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 356, - 32 - ], - [ - 364, - 19 - ] - ], - "doc": " Private: If the parent is a horizontal axis, returns its last child if it is a pane;\notherwise returns a new pane created by splitting this pane rightward. " - } - } - }, - "exports": 11 - }, - "src/project.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "9": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 9, - 15 - ], - [ - 9, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "10": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer" - } - }, - "11": { - "1": { - "type": "import", - "range": [ - [ - 11, - 1 - ], - [ - 11, - 9 - ] - ], - "bindingType": "variable", - "module": "pathwatcher", - "name": "Directory", - "exportsProperty": "Directory" - } - }, - "13": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 13, - 9 - ], - [ - 13, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "14": { - "7": { - "name": "Task", - "type": "import", - "range": [ - [ - 14, - 7 - ], - [ - 14, - 22 - ] - ], - "bindingType": "variable", - "path": "./task" - } - }, - "15": { - "6": { - "name": "Git", - "type": "import", - "range": [ - [ - 15, - 6 - ], - [ - 15, - 20 - ] - ], - "bindingType": "variable", - "path": "./git" - } - }, - "21": { - "0": { - "type": "class", - "name": "Project", - "bindingType": "exports", - "classProperties": [ - [ - 26, - 25 - ] - ], - "prototypeProperties": [ - [ - 31, - 15 - ], - [ - 40, - 19 - ], - [ - 44, - 21 - ], - [ - 48, - 13 - ], - [ - 52, - 15 - ], - [ - 57, - 28 - ], - [ - 61, - 11 - ], - [ - 64, - 11 - ], - [ - 68, - 11 - ], - [ - 85, - 20 - ], - [ - 95, - 11 - ], - [ - 109, - 14 - ], - [ - 114, - 12 - ], - [ - 124, - 8 - ], - [ - 130, - 12 - ], - [ - 139, - 14 - ], - [ - 143, - 18 - ], - [ - 146, - 21 - ], - [ - 150, - 21 - ], - [ - 163, - 17 - ], - [ - 168, - 15 - ], - [ - 172, - 19 - ], - [ - 184, - 15 - ], - [ - 194, - 13 - ], - [ - 198, - 20 - ], - [ - 207, - 16 - ], - [ - 211, - 23 - ], - [ - 221, - 8 - ], - [ - 268, - 11 - ], - [ - 300, - 24 - ], - [ - 304, - 14 - ], - [ - 315, - 18 - ], - [ - 320, - 20 - ], - [ - 325, - 14 - ], - [ - 330, - 14 - ] - ], - "doc": " Public: Represents a project that's opened in Atom.\n\nAn instance of this class is always available as the `atom.project` global. ", - "range": [ - [ - 21, - 0 - ], - [ - 332, - 31 - ] - ] - } - }, - "26": { - "25": { - "name": "pathForRepositoryUrl", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "repoUrl" - ], - "range": [ - [ - 26, - 25 - ], - [ - 31, - 1 - ] - ], - "doc": "Public: Find the local path for the given repository URL. " - } - }, - "31": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 31, - 15 - ], - [ - 40, - 1 - ] - ], - "doc": "~Private~" - } - }, - "40": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 40, - 19 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 44, - 21 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 13 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "15": { - "name": "destroyRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 15 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "28": { - "name": "destroyUnretainedBuffers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 28 - ], - [ - 61, - 1 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "11": { - "name": "getRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 11 - ], - [ - 61, - 18 - ] - ], - "doc": "Public: Returns the {Git} repository if available. " - } - }, - "64": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 11 - ], - [ - 68, - 1 - ] - ], - "doc": "Public: Returns the project's fullpath. " - } - }, - "68": { - "11": { - "name": "setPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "projectPath" - ], - "range": [ - [ - 68, - 11 - ], - [ - 85, - 1 - ] - ], - "doc": "Public: Sets the project's fullpath. " - } - }, - "85": { - "20": { - "name": "getRootDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 85, - 20 - ], - [ - 95, - 1 - ] - ], - "doc": "Public: Returns the root {Directory} object for this project. " - } - }, - "95": { - "11": { - "name": "resolve", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 95, - 11 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Given a uri, this resolves it relative to the project directory. If\nthe path is already absolute or if it is prefixed with a scheme, it is\nreturned unchanged.\n\nuri - The {String} name of the path to convert.\n\nReturns a {String} or undefined if the uri is not missing or empty. " - } - }, - "109": { - "14": { - "name": "relativize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fullPath" - ], - "range": [ - [ - 109, - 14 - ], - [ - 114, - 1 - ] - ], - "doc": "Public: Make the given path relative to the project directory. " - } - }, - "114": { - "12": { - "name": "contains", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToCheck" - ], - "range": [ - [ - 114, - 12 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Returns whether the given path is inside this project. " - } - }, - "124": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "options" - ], - "range": [ - [ - 124, - 8 - ], - [ - 130, - 1 - ] - ], - "doc": " Private: Given a path to a file, this constructs and associates a new\n{Editor}, showing the file.\n\nfilePath - The {String} path of the file to associate with.\noptions - Options that you can pass to the {Editor} constructor.\n\nReturns a promise that resolves to an {Editor}. " - } - }, - "130": { - "12": { - "name": "openSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "options" - ], - "range": [ - [ - 130, - 12 - ], - [ - 139, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "139": { - "14": { - "name": "getBuffers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 139, - 14 - ], - [ - 143, - 1 - ] - ], - "doc": " Private: Retrieves all the {TextBuffer}s in the project; that is, the\nbuffers for all open files.\n\nReturns an {Array} of {TextBuffer}s. " - } - }, - "143": { - "18": { - "name": "isPathModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 143, - 18 - ], - [ - 146, - 1 - ] - ], - "doc": "Private: Is the buffer for the given path modified? " - } - }, - "146": { - "21": { - "name": "findBufferForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 146, - 21 - ], - [ - 150, - 1 - ] - ], - "doc": "~Private~" - } - }, - "150": { - "21": { - "name": "bufferForPathSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 150, - 21 - ], - [ - 163, - 1 - ] - ], - "doc": "Private: Only to be used in specs " - } - }, - "163": { - "17": { - "name": "bufferForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 163, - 17 - ], - [ - 168, - 1 - ] - ], - "doc": " Private: Given a file path, this retrieves or creates a new {TextBuffer}.\n\nIf the `filePath` already has a `buffer`, that value is used instead. Otherwise,\n`text` is used as the contents of the new buffer.\n\nfilePath - A {String} representing a path. If `null`, an \"Untitled\" buffer is created.\n\nReturns a promise that resolves to the {TextBuffer}. " - } - }, - "168": { - "15": { - "name": "bufferForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 168, - 15 - ], - [ - 172, - 1 - ] - ], - "doc": "~Private~" - } - }, - "172": { - "19": { - "name": "buildBufferSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "absoluteFilePath" - ], - "range": [ - [ - 172, - 19 - ], - [ - 184, - 1 - ] - ], - "doc": "Private: Still needed when deserializing a tokenized buffer " - } - }, - "184": { - "15": { - "name": "buildBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "absoluteFilePath" - ], - "range": [ - [ - 184, - 15 - ], - [ - 194, - 1 - ] - ], - "doc": " Private: Given a file path, this sets its {TextBuffer}.\n\nabsoluteFilePath - A {String} representing a path.\ntext - The {String} text to use as a buffer.\n\nReturns a promise that resolves to the {TextBuffer}. " - } - }, - "194": { - "13": { - "name": "addBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "options" - ], - "range": [ - [ - 194, - 13 - ], - [ - 198, - 1 - ] - ], - "doc": "~Private~" - } - }, - "198": { - "20": { - "name": "addBufferAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "index", - "options" - ], - "range": [ - [ - 198, - 20 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "16": { - "name": "removeBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer" - ], - "range": [ - [ - 207, - 16 - ], - [ - 211, - 1 - ] - ], - "doc": " Private: Removes a {TextBuffer} association from the project.\n\nReturns the removed {TextBuffer}. " - } - }, - "211": { - "23": { - "name": "removeBufferAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index", - "options" - ], - "range": [ - [ - 211, - 23 - ], - [ - 221, - 1 - ] - ], - "doc": "~Private~" - } - }, - "221": { - "8": { - "name": "scan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "options", - "iterator" - ], - "range": [ - [ - 221, - 8 - ], - [ - 268, - 1 - ] - ], - "doc": " Public: Performs a search across all the files in the project.\n\nregex - A {RegExp} to search with.\noptions - An optional options {Object} (default: {}):\n :paths - An {Array} of glob patterns to search within\niterator - A {Function} callback on each file found " - } - }, - "268": { - "11": { - "name": "replace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "replacementText", - "filePaths", - "iterator" - ], - "range": [ - [ - 268, - 11 - ], - [ - 300, - 1 - ] - ], - "doc": " Public: Performs a replace across all the specified files in the project.\n\nregex - A {RegExp} to search with.\nreplacementText - Text to replace all matches of regex with\nfilePaths - List of file path strings to run the replace on.\niterator - A {Function} callback on each file with replacements:\n `({filePath, replacements}) ->`. " - } - }, - "300": { - "24": { - "name": "buildEditorForBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "editorOptions" - ], - "range": [ - [ - 300, - 24 - ], - [ - 304, - 1 - ] - ], - "doc": "~Private~" - } - }, - "304": { - "14": { - "name": "eachBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 304, - 14 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "18": { - "name": "registerOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 315, - 18 - ], - [ - 320, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "320": { - "20": { - "name": "unregisterOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 320, - 20 - ], - [ - 325, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "325": { - "14": { - "name": "eachEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 325, - 14 - ], - [ - 330, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "330": { - "14": { - "name": "getEditors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 330, - 14 - ], - [ - 332, - 31 - ] - ], - "doc": "Deprecated: delegate " - } - } - }, - "exports": 21 - }, - "src/react-editor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "defaults", - "exportsProperty": "defaults" - } - }, - "3": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 3, - 13 - ], - [ - 3, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer" - } - }, - "4": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "5": { - "18": { - "name": "EditorComponent", - "type": "import", - "range": [ - [ - 5, - 18 - ], - [ - 5, - 45 - ] - ], - "bindingType": "variable", - "path": "./editor-component" - } - }, - "8": { - "0": { - "type": "class", - "name": "ReactEditorView", - "bindingType": "exports", - "classProperties": [ - [ - 9, - 12 - ] - ], - "prototypeProperties": [ - [ - 14, - 17 - ], - [ - 16, - 15 - ], - [ - 58, - 13 - ], - [ - 60, - 12 - ], - [ - 69, - 15 - ], - [ - 77, - 13 - ], - [ - 83, - 14 - ], - [ - 89, - 18 - ], - [ - 92, - 26 - ], - [ - 95, - 26 - ], - [ - 98, - 26 - ], - [ - 101, - 25 - ], - [ - 105, - 34 - ], - [ - 108, - 34 - ], - [ - 111, - 21 - ], - [ - 116, - 16 - ], - [ - 122, - 13 - ], - [ - 127, - 14 - ], - [ - 132, - 11 - ], - [ - 137, - 13 - ], - [ - 141, - 11 - ], - [ - 144, - 9 - ], - [ - 150, - 8 - ], - [ - 154, - 8 - ], - [ - 158, - 20 - ], - [ - 165, - 12 - ], - [ - 168, - 10 - ], - [ - 171, - 12 - ], - [ - 174, - 28 - ], - [ - 177, - 27 - ], - [ - 180, - 17 - ], - [ - 183, - 17 - ], - [ - 186, - 15 - ], - [ - 189, - 15 - ], - [ - 192, - 19 - ], - [ - 195, - 17 - ], - [ - 198, - 22 - ], - [ - 201, - 15 - ], - [ - 204, - 21 - ], - [ - 207, - 18 - ], - [ - 210, - 18 - ], - [ - 213, - 11 - ], - [ - 216, - 11 - ], - [ - 219, - 14 - ], - [ - 222, - 18 - ], - [ - 225, - 19 - ], - [ - 228, - 24 - ], - [ - 230, - 17 - ], - [ - 232, - 16 - ], - [ - 234, - 10 - ], - [ - 236, - 22 - ], - [ - 242, - 27 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 243, - 49 - ] - ] - } - }, - "9": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 9, - 12 - ], - [ - 14, - 1 - ] - ] - } - }, - "14": { - "17": { - "name": "focusOnAttach", - "type": "primitive", - "range": [ - [ - 14, - 17 - ], - [ - 14, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorOrParams", - "props" - ], - "range": [ - [ - 16, - 15 - ], - [ - 58, - 1 - ] - ], - "doc": "~Private~" - } - }, - "58": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 58, - 13 - ], - [ - 58, - 22 - ] - ], - "doc": "~Private~" - } - }, - "69": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 69, - 15 - ], - [ - 77, - 1 - ] - ], - "doc": "~Private~" - } - }, - "77": { - "13": { - "name": "scrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 77, - 13 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "14": { - "name": "scrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 83, - 14 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "18": { - "name": "scrollToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 18 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 92, - 26 - ], - [ - 95, - 1 - ] - ], - "doc": "~Private~" - } - }, - "95": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 95, - 26 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 26 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "scrollToPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 101, - 25 - ], - [ - 105, - 1 - ] - ], - "doc": "~Private~" - } - }, - "105": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 105, - 34 - ], - [ - 108, - 1 - ] - ], - "doc": "~Private~" - } - }, - "108": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 108, - 34 - ], - [ - 111, - 1 - ] - ], - "doc": "~Private~" - } - }, - "111": { - "21": { - "name": "appendToLinesView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 111, - 21 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 16 - ], - [ - 122, - 1 - ] - ], - "doc": "~Private~" - } - }, - "122": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 122, - 13 - ], - [ - 127, - 1 - ] - ], - "doc": "Public: Split the editor view left. " - } - }, - "127": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 127, - 14 - ], - [ - 132, - 1 - ] - ], - "doc": "Public: Split the editor view right. " - } - }, - "132": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 132, - 11 - ], - [ - 137, - 1 - ] - ], - "doc": "Public: Split the editor view up. " - } - }, - "137": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 13 - ], - [ - 141, - 1 - ] - ], - "doc": "Public: Split the editor view down. " - } - }, - "141": { - "11": { - "name": "getPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 11 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 144, - 9 - ], - [ - 150, - 1 - ] - ], - "doc": "~Private~" - } - }, - "150": { - "8": { - "name": "hide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 150, - 8 - ], - [ - 154, - 1 - ] - ], - "doc": "~Private~" - } - }, - "154": { - "8": { - "name": "show", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 8 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "20": { - "name": "pollComponentDOM", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 20 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 12 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 10 - ], - [ - 171, - 1 - ] - ], - "doc": "~Private~" - } - }, - "171": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 12 - ], - [ - 174, - 1 - ] - ], - "doc": "~Private~" - } - }, - "174": { - "28": { - "name": "getFirstVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 174, - 28 - ], - [ - 177, - 1 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "27": { - "name": "getLastVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 27 - ], - [ - 180, - 1 - ] - ], - "doc": "~Private~" - } - }, - "180": { - "17": { - "name": "getFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 180, - 17 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "17": { - "name": "setFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 183, - 17 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "15": { - "name": "getFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 186, - 15 - ], - [ - 189, - 1 - ] - ], - "doc": "~Private~" - } - }, - "189": { - "15": { - "name": "setFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 189, - 15 - ], - [ - 192, - 1 - ] - ], - "doc": "~Private~" - } - }, - "192": { - "19": { - "name": "setWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "widthInChars" - ], - "range": [ - [ - 192, - 19 - ], - [ - 195, - 1 - ] - ], - "doc": "~Private~" - } - }, - "195": { - "17": { - "name": "setLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 195, - 17 - ], - [ - 198, - 1 - ] - ], - "doc": "~Private~" - } - }, - "198": { - "22": { - "name": "setShowIndentGuide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showIndentGuide" - ], - "range": [ - [ - 198, - 22 - ], - [ - 201, - 1 - ] - ], - "doc": "~Private~" - } - }, - "201": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 201, - 15 - ], - [ - 204, - 1 - ] - ], - "doc": "~Private~" - } - }, - "204": { - "21": { - "name": "setShowInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showInvisibles" - ], - "range": [ - [ - 204, - 21 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 207, - 18 - ], - [ - 210, - 1 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 18 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 11 - ], - [ - 216, - 1 - ] - ], - "doc": "~Private~" - } - }, - "216": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 216, - 11 - ], - [ - 219, - 1 - ] - ], - "doc": "~Private~" - } - }, - "219": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 219, - 14 - ], - [ - 222, - 1 - ] - ], - "doc": "~Private~" - } - }, - "222": { - "18": { - "name": "isInputEnabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 222, - 18 - ], - [ - 225, - 1 - ] - ], - "doc": "~Private~" - } - }, - "225": { - "19": { - "name": "setInputEnabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "inputEnabled" - ], - "range": [ - [ - 225, - 19 - ], - [ - 228, - 1 - ] - ], - "doc": "~Private~" - } - }, - "228": { - "24": { - "name": "requestDisplayUpdate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 228, - 24 - ], - [ - 228, - 25 - ] - ], - "doc": "~Private~" - } - }, - "230": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 230, - 17 - ], - [ - 230, - 18 - ] - ], - "doc": "~Private~" - } - }, - "232": { - "16": { - "name": "resetDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 232, - 16 - ], - [ - 232, - 17 - ] - ], - "doc": "~Private~" - } - }, - "234": { - "10": { - "name": "redraw", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 10 - ], - [ - 234, - 11 - ] - ], - "doc": "~Private~" - } - }, - "236": { - "22": { - "name": "setPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "placeholderText" - ], - "range": [ - [ - 236, - 22 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "27": { - "name": "lineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 242, - 27 - ], - [ - 243, - 49 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/replace-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "PathReplacer", - "exportsProperty": "PathReplacer" - } - } - }, - "exports": 2 - }, - "src/repository-status-handler.coffee": { - "objects": { - "0": { - "6": { - "name": "Git", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "git-utils" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - } - }, - "exports": 3 - }, - "src/row-map.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 15 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "spliceWithArray", - "exportsProperty": "spliceWithArray" - } - }, - "16": { - "0": { - "type": "class", - "name": "RowMap", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 15 - ], - [ - 21, - 14 - ], - [ - 27, - 30 - ], - [ - 40, - 30 - ], - [ - 50, - 30 - ], - [ - 61, - 17 - ], - [ - 83, - 23 - ], - [ - 93, - 23 - ], - [ - 103, - 35 - ], - [ - 116, - 11 - ] - ], - "doc": " Private: Used by the display buffer to map screen rows to buffer rows and vice-versa.\nThis mapping may not be 1:1 due to folds and soft-wraps. This object maintains\nan array of regions, which contain `bufferRows` and `screenRows` fields.\n\nRectangular Regions:\nIf a region has the same number of buffer rows and screen rows, it is referred\nto as \"rectangular\", and represents one or more non-soft-wrapped, non-folded\nlines.\n\nTrapezoidal Regions:\nIf a region has one buffer row and more than one screen row, it represents a\nsoft-wrapped line. If a region has one screen row and more than one buffer\nrow, it represents folded lines ", - "range": [ - [ - 16, - 0 - ], - [ - 118, - 35 - ] - ] - } - }, - "17": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 15 - ], - [ - 21, - 1 - ] - ] - } - }, - "21": { - "14": { - "name": "getRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 14 - ], - [ - 27, - 1 - ] - ], - "doc": "Public: Returns a copy of all the regions in the map " - } - }, - "27": { - "30": { - "name": "screenRowRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 27, - 30 - ], - [ - 40, - 1 - ] - ], - "doc": " Public: Returns an end-row-exclusive range of screen rows corresponding to\nthe given buffer row. If the buffer row is soft-wrapped, the range may span\nmultiple screen rows. Otherwise it will span a single screen row. " - } - }, - "40": { - "30": { - "name": "bufferRowRangeForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetScreenRow" - ], - "range": [ - [ - 40, - 30 - ], - [ - 50, - 1 - ] - ], - "doc": " Public: Returns an end-row-exclusive range of buffer rows corresponding to\nthe given screen row. If the screen row is the first line of a folded range\nof buffer rows, the range may span multiple buffer rows. Otherwise it will\nspan a single buffer row. " - } - }, - "50": { - "30": { - "name": "bufferRowRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 50, - 30 - ], - [ - 61, - 1 - ] - ], - "doc": " Public: If the given buffer row is part of a folded row range, returns that\nrow range. Otherwise returns a range spanning only the given buffer row. " - } - }, - "61": { - "17": { - "name": "spliceRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "bufferRowCount", - "regions" - ], - "range": [ - [ - 61, - 17 - ], - [ - 83, - 1 - ] - ], - "doc": " Public: Given a starting buffer row, the number of buffer rows to replace,\nand an array of regions of shape {bufferRows: n, screenRows: m}, splices\nthe regions at the appropriate location in the map. This method is used by\ndisplay buffer to keep the map updated when the underlying buffer changes. " - } - }, - "83": { - "23": { - "name": "traverseToBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 83, - 23 - ], - [ - 93, - 1 - ] - ], - "doc": "~Private~" - } - }, - "93": { - "23": { - "name": "traverseToScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetScreenRow" - ], - "range": [ - [ - 93, - 23 - ], - [ - 103, - 1 - ] - ], - "doc": "~Private~" - } - }, - "103": { - "35": { - "name": "mergeAdjacentRectangularRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startIndex", - "endIndex" - ], - "range": [ - [ - 103, - 35 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 11 - ], - [ - 118, - 35 - ] - ], - "doc": "Public: Returns an array of strings describing the map's regions. " - } - } - }, - "exports": 16 - }, - "src/scan-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "PathSearcher", - "exportsProperty": "PathSearcher" - }, - "15": { - "type": "import", - "range": [ - [ - 0, - 15 - ], - [ - 0, - 25 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "PathScanner", - "exportsProperty": "PathScanner" - }, - "28": { - "type": "import", - "range": [ - [ - 0, - 28 - ], - [ - 0, - 33 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "search", - "exportsProperty": "search" - } - } - }, - "exports": 2 - }, - "src/scoped-properties.coffee": { - "objects": { - "0": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1" - } - }, - "3": { - "0": { - "type": "class", - "name": "ScopedProperties", - "bindingType": "exports", - "classProperties": [ - [ - 4, - 9 - ] - ], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 13, - 12 - ], - [ - 17, - 14 - ] - ], - "doc": "~Private~", - "range": [ - [ - 3, - 0 - ], - [ - 18, - 39 - ] - ] - } - }, - "4": { - "9": { - "name": "load", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "scopedPropertiesPath", - "callback" - ], - "range": [ - [ - 4, - 9 - ], - [ - 11, - 1 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 11, - 43 - ] - ], - "doc": "~Private~" - } - }, - "13": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 12 - ], - [ - 17, - 1 - ] - ], - "doc": "~Private~" - } - }, - "17": { - "14": { - "name": "deactivate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 14 - ], - [ - 18, - 39 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 3 - }, - "src/scroll-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "21": { - "0": { - "type": "class", - "name": "ScrollView", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 22, - 14 - ] - ], - "doc": " Public: Represents a view that scrolls.\n\nSubclasses must call `super` if overriding the `initialize` method or else\nthe following events won't be handled by the ScrollView.\n\n## Events\n * `core:move-up`\n * `core:move-down`\n * `core:page-up`\n * `core:page-down`\n * `core:move-to-top`\n * `core:move-to-bottom`\n\n## Requiring in packages\n\n```coffee\n {ScrollView} = require 'atom'\n``` ", - "range": [ - [ - 21, - 0 - ], - [ - 28, - 51 - ] - ] - } - }, - "22": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 22, - 14 - ], - [ - 28, - 51 - ] - ] - } - } - }, - "exports": 21 - }, - "src/scrollbar-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 6 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "extend", - "exportsProperty": "extend" - }, - "9": { - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "21": { - "name": "ScrollbarComponent", - "type": "function", - "range": [ - [ - 5, - 21 - ], - [ - 69, - 28 - ] - ] - } - }, - "6": { - "15": { - "name": "'ScrollbarComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 34 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 21 - ], - [ - 36, - 1 - ] - ], - "doc": null - } - }, - "36": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 36, - 25 - ], - [ - 45, - 1 - ] - ], - "doc": null - } - }, - "45": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 22 - ], - [ - 57, - 1 - ] - ], - "doc": null - } - }, - "57": { - "12": { - "name": "onScroll", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 12 - ], - [ - 69, - 28 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/scrollbar-corner-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "27": { - "name": "ScrollbarCornerComponent", - "type": "function", - "range": [ - [ - 5, - 27 - ], - [ - 23, - 99 - ] - ] - } - }, - "6": { - "15": { - "name": "'ScrollbarCornerComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 40 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 22, - 1 - ] - ], - "doc": null - } - }, - "22": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 22, - 25 - ], - [ - 23, - 99 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/select-list-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "4": { - "15": { - "name": "EditorView", - "type": "import", - "range": [ - [ - 4, - 15 - ], - [ - 4, - 37 - ] - ], - "bindingType": "variable", - "path": "./editor-view" - } - }, - "5": { - "14": { - "type": "primitive", - "range": [ - [ - 5, - 14 - ], - [ - 5, - 41 - ] - ] - } - }, - "36": { - "0": { - "type": "class", - "name": "SelectListView", - "bindingType": "exports", - "classProperties": [ - [ - 37, - 12 - ] - ], - "prototypeProperties": [ - [ - 46, - 12 - ], - [ - 47, - 19 - ], - [ - 48, - 17 - ], - [ - 49, - 14 - ], - [ - 55, - 14 - ], - [ - 90, - 24 - ], - [ - 102, - 12 - ], - [ - 109, - 12 - ], - [ - 119, - 14 - ], - [ - 136, - 18 - ], - [ - 143, - 16 - ], - [ - 174, - 19 - ], - [ - 179, - 15 - ], - [ - 181, - 26 - ], - [ - 186, - 22 - ], - [ - 191, - 18 - ], - [ - 197, - 20 - ], - [ - 207, - 23 - ], - [ - 213, - 19 - ], - [ - 216, - 20 - ], - [ - 233, - 15 - ], - [ - 244, - 13 - ], - [ - 258, - 16 - ], - [ - 261, - 21 - ], - [ - 266, - 23 - ], - [ - 269, - 16 - ], - [ - 275, - 13 - ], - [ - 283, - 10 - ] - ], - "doc": " Public: Provides a view that renders a list of items with an editor that\nfilters the items. Used by many packages such as the fuzzy-finder,\ncommand-palette, symbols-view and autocomplete.\n\nSubclasses must implement the following methods:\n\n* {::viewForItem}\n* {::confirmed}\n\n## Requiring in packages\n\n```coffee\n{SelectListView} = require 'atom'\n\nclass MySelectListView extends SelectListView\n initialize: ->\n super\n @addClass('overlay from-top')\n @setItems(['Hello', 'World'])\n atom.workspaceView.append(this)\n @focusFilterEditor()\n\n viewForItem: (item) ->\n \"
  • #{item}
  • \"\n\n confirmed: (item) ->\n console.log(\"#{item} was selected\")\n``` ", - "range": [ - [ - 36, - 0 - ], - [ - 291, - 34 - ] - ] - } - }, - "37": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 37, - 12 - ], - [ - 46, - 1 - ] - ] - } - }, - "46": { - "12": { - "name": "maxItems", - "type": "primitive", - "range": [ - [ - 46, - 12 - ], - [ - 46, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "47": { - "19": { - "name": "scheduleTimeout", - "type": "primitive", - "range": [ - [ - 47, - 19 - ], - [ - 47, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "48": { - "17": { - "name": "inputThrottle", - "type": "primitive", - "range": [ - [ - 48, - 17 - ], - [ - 48, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "49": { - "14": { - "name": "cancelling", - "type": "primitive", - "range": [ - [ - 49, - 14 - ], - [ - 49, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "55": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 14 - ], - [ - 90, - 1 - ] - ], - "doc": " Public: Initialize the select list view.\n\nThis method can be overridden by subclasses but `super` should always\nbe called. " - } - }, - "90": { - "24": { - "name": "schedulePopulateList", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 24 - ], - [ - 102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "102": { - "12": { - "name": "setItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 102, - 12 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Set the array of items to display in the list.\n\nThis should be model items not actual views. {::viewForItem} will be\ncalled to render the item when it is being appended to the list view.\n\nitems - The {Array} of model items to display in the list (default: []). " - } - }, - "109": { - "12": { - "name": "setError", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 109, - 12 - ], - [ - 119, - 1 - ] - ], - "doc": " Public: Set the error message to display.\n\nmessage - The {String} error message (default: ''). " - } - }, - "119": { - "14": { - "name": "setLoading", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 119, - 14 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Set the loading message to display.\n\nmessage - The {String} loading message (default: ''). " - } - }, - "136": { - "18": { - "name": "getFilterQuery", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 18 - ], - [ - 143, - 1 - ] - ], - "doc": " Public: Get the filter query to use when fuzzy filtering the visible\nelements.\n\nBy default this method returns the text in the mini editor but it can be\noverridden by subclasses if needed.\n\nReturns a {String} to use when fuzzy filtering the elements to display. " - } - }, - "143": { - "16": { - "name": "populateList", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 143, - 16 - ], - [ - 174, - 1 - ] - ], - "doc": " Public: Populate the list view with the model items previously set by\ncalling {::setItems}.\n\nSubclasses may override this method but should always call `super`. " - } - }, - "174": { - "19": { - "name": "getEmptyMessage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "itemCount", - "filteredItemCount" - ], - "range": [ - [ - 174, - 19 - ], - [ - 174, - 70 - ] - ], - "doc": " Public: Get the message to display when there are no items.\n\nSubclasses may override this method to customize the message.\n\nitemCount - The {Number} of items in the array specified to {::setItems}\nfilteredItemCount - The {Number} of items that pass the fuzzy filter test.\n\nReturns a {String} message (default: 'No matches found'). " - } - }, - "179": { - "15": { - "name": "setMaxItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 179, - 15 - ], - [ - 179, - 28 - ] - ], - "doc": " Public: Set the maximum numbers of items to display in the list.\n\nmaxItems - The maximum {Number} of items to display. " - } - }, - "181": { - "26": { - "name": "selectPreviousItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 181, - 26 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "22": { - "name": "selectNextItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 186, - 22 - ], - [ - 191, - 1 - ] - ], - "doc": "~Private~" - } - }, - "191": { - "18": { - "name": "selectItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 191, - 18 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "20": { - "name": "scrollToItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 197, - 20 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "23": { - "name": "getSelectedItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 207, - 23 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "19": { - "name": "getSelectedItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 19 - ], - [ - 216, - 1 - ] - ], - "doc": " Public: Get the model item that is currently selected in the list view.\n\nReturns a model item. " - } - }, - "216": { - "20": { - "name": "confirmSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 216, - 20 - ], - [ - 233, - 1 - ] - ], - "doc": "~Private~" - } - }, - "233": { - "15": { - "name": "viewForItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 233, - 15 - ], - [ - 244, - 1 - ] - ], - "doc": " Public: Create a view for the given model item.\n\nThis method must be overridden by subclasses.\n\nThis is called when the item is about to appended to the list view.\n\nitem - The model item being rendered. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a String of HTML, DOM element, jQuery object, or View. " - } - }, - "244": { - "13": { - "name": "confirmed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 244, - 13 - ], - [ - 258, - 1 - ] - ], - "doc": " Public: Callback function for when an item is selected.\n\nThis method must be overridden by subclasses.\n\nitem - The selected model item. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a DOM element, jQuery object, or {View}. " - } - }, - "258": { - "16": { - "name": "getFilterKey", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 258, - 16 - ], - [ - 258, - 17 - ] - ], - "doc": " Public: Get the property name to use when filtering items.\n\nThis method may be overridden by classes to allow fuzzy filtering based\non a specific property of the item objects.\n\nFor example if the objects you pass to {::setItems} are of the type\n`{\"id\": 3, \"name\": \"Atom\"}` then you would return `\"name\"` from this method\nto fuzzy filter by that property when text is entered into this view's\neditor.\n\nReturns the property name to fuzzy filter by. " - } - }, - "261": { - "21": { - "name": "focusFilterEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 21 - ], - [ - 266, - 1 - ] - ], - "doc": "Public: Focus the fuzzy filter editor view. " - } - }, - "266": { - "23": { - "name": "storeFocusedElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 266, - 23 - ], - [ - 269, - 1 - ] - ], - "doc": " Public: Store the currently focused element. This element will be given\nback focus when {::cancel} is called. " - } - }, - "269": { - "16": { - "name": "restoreFocus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 16 - ], - [ - 275, - 1 - ] - ], - "doc": "~Private~" - } - }, - "275": { - "13": { - "name": "cancelled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 275, - 13 - ], - [ - 283, - 1 - ] - ], - "doc": "~Private~" - } - }, - "283": { - "10": { - "name": "cancel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 283, - 10 - ], - [ - 291, - 34 - ] - ], - "doc": " Public: Cancel and close this select list view.\n\nThis restores focus to the previously focused element if\n{::storeFocusedElement} was called prior to this view being attached. " - } - } - }, - "exports": 36 - }, - "src/selection-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 8 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - } - }, - "4": { - "0": { - "type": "class", - "name": "SelectionView", - "bindingType": "exports", - "classProperties": [ - [ - 6, - 12 - ] - ], - "prototypeProperties": [ - [ - 9, - 11 - ], - [ - 10, - 16 - ], - [ - 12, - 14 - ], - [ - 19, - 17 - ], - [ - 37, - 16 - ], - [ - 50, - 26 - ], - [ - 57, - 16 - ], - [ - 61, - 18 - ], - [ - 64, - 18 - ], - [ - 67, - 19 - ], - [ - 70, - 19 - ], - [ - 73, - 13 - ], - [ - 79, - 15 - ], - [ - 82, - 10 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 84, - 9 - ] - ] - } - }, - "6": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 12 - ], - [ - 9, - 1 - ] - ], - "doc": "~Private~" - } - }, - "9": { - "11": { - "name": "regions", - "type": "primitive", - "range": [ - [ - 9, - 11 - ], - [ - 9, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "16": { - "name": "needsRemoval", - "type": "primitive", - "range": [ - [ - 10, - 16 - ], - [ - 10, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 14 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 19, - 17 - ], - [ - 37, - 1 - ] - ], - "doc": "~Private~" - } - }, - "37": { - "16": { - "name": "appendRegion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rows", - "start", - "end" - ], - "range": [ - [ - 37, - 16 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "26": { - "name": "getCenterPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 26 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "16": { - "name": "clearRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 16 - ], - [ - 61, - 1 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 18 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 18 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "19": { - "name": "needsAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 19 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 70, - 19 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "13": { - "name": "highlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 13 - ], - [ - 79, - 1 - ] - ], - "doc": "~Private~" - } - }, - "79": { - "15": { - "name": "unhighlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 15 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 10 - ], - [ - 84, - 9 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/selection.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1", - "name": "pick", - "exportsProperty": "pick" - } - }, - "6": { - "0": { - "type": "class", - "name": "Selection", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 7, - 10 - ], - [ - 8, - 10 - ], - [ - 9, - 10 - ], - [ - 10, - 22 - ], - [ - 11, - 12 - ], - [ - 12, - 19 - ], - [ - 14, - 15 - ], - [ - 25, - 11 - ], - [ - 28, - 12 - ], - [ - 34, - 19 - ], - [ - 38, - 11 - ], - [ - 45, - 14 - ], - [ - 49, - 22 - ], - [ - 53, - 18 - ], - [ - 60, - 18 - ], - [ - 64, - 18 - ], - [ - 74, - 18 - ], - [ - 91, - 21 - ], - [ - 98, - 25 - ], - [ - 101, - 25 - ], - [ - 104, - 25 - ], - [ - 107, - 25 - ], - [ - 110, - 14 - ], - [ - 114, - 11 - ], - [ - 118, - 9 - ], - [ - 126, - 14 - ], - [ - 138, - 18 - ], - [ - 144, - 14 - ], - [ - 155, - 18 - ], - [ - 163, - 26 - ], - [ - 184, - 26 - ], - [ - 188, - 15 - ], - [ - 192, - 14 - ], - [ - 196, - 12 - ], - [ - 200, - 14 - ], - [ - 205, - 15 - ], - [ - 210, - 18 - ], - [ - 214, - 13 - ], - [ - 219, - 27 - ], - [ - 224, - 32 - ], - [ - 229, - 21 - ], - [ - 234, - 27 - ], - [ - 239, - 21 - ], - [ - 244, - 31 - ], - [ - 248, - 32 - ], - [ - 252, - 28 - ], - [ - 257, - 36 - ], - [ - 262, - 40 - ], - [ - 266, - 21 - ], - [ - 284, - 22 - ], - [ - 289, - 21 - ], - [ - 316, - 14 - ], - [ - 349, - 20 - ], - [ - 383, - 10 - ], - [ - 399, - 22 - ], - [ - 405, - 25 - ], - [ - 412, - 13 - ], - [ - 417, - 30 - ], - [ - 422, - 30 - ], - [ - 428, - 27 - ], - [ - 434, - 27 - ], - [ - 443, - 10 - ], - [ - 455, - 21 - ], - [ - 462, - 21 - ], - [ - 467, - 22 - ], - [ - 477, - 14 - ], - [ - 496, - 13 - ], - [ - 522, - 23 - ], - [ - 532, - 26 - ], - [ - 542, - 22 - ], - [ - 546, - 18 - ], - [ - 551, - 7 - ], - [ - 561, - 8 - ], - [ - 579, - 8 - ], - [ - 584, - 19 - ], - [ - 595, - 13 - ], - [ - 603, - 25 - ], - [ - 606, - 28 - ], - [ - 609, - 23 - ], - [ - 617, - 18 - ], - [ - 625, - 9 - ], - [ - 641, - 11 - ], - [ - 644, - 22 - ] - ], - "doc": "Public: Represents a selection in the {Editor}. ", - "range": [ - [ - 6, - 0 - ], - [ - 647, - 45 - ] - ] - } - }, - "7": { - "10": { - "name": "cursor", - "type": "primitive", - "range": [ - [ - 7, - 10 - ], - [ - 7, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "8": { - "10": { - "name": "marker", - "type": "primitive", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "10": { - "name": "editor", - "type": "primitive", - "range": [ - [ - 9, - 10 - ], - [ - 9, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "22": { - "name": "initialScreenRange", - "type": "primitive", - "range": [ - [ - 10, - 22 - ], - [ - 10, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "11": { - "12": { - "name": "wordwise", - "type": "primitive", - "range": [ - [ - 11, - 12 - ], - [ - 11, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "19": { - "name": "needsAutoscroll", - "type": "primitive", - "range": [ - [ - 12, - 19 - ], - [ - 12, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 14, - 15 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 11 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "12": { - "name": "finalize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 12 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 19 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "11": { - "name": "isEmpty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 38, - 11 - ], - [ - 45, - 1 - ] - ], - "doc": "Public: Determines if the selection contains anything. " - } - }, - "45": { - "14": { - "name": "isReversed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 14 - ], - [ - 49, - 1 - ] - ], - "doc": " Public: Determines if the ending position of a marker is greater than the\nstarting position.\n\nThis can happen when, for example, you highlight text \"up\" in a {TextBuffer}. " - } - }, - "49": { - "22": { - "name": "isSingleScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 22 - ], - [ - 53, - 1 - ] - ], - "doc": "Public: Returns whether the selection is a single line or not. " - } - }, - "53": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 18 - ], - [ - 60, - 1 - ] - ], - "doc": "Public: Returns the screen {Range} for the selection. " - } - }, - "60": { - "18": { - "name": "setScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 60, - 18 - ], - [ - 64, - 1 - ] - ], - "doc": " Public: Modifies the screen range for the selection.\n\nscreenRange - The new {Range} to use.\noptions - A hash of options matching those found in {::setBufferRange}. " - } - }, - "64": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 18 - ], - [ - 74, - 1 - ] - ], - "doc": "Public: Returns the buffer {Range} for the selection. " - } - }, - "74": { - "18": { - "name": "setBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 74, - 18 - ], - [ - 91, - 1 - ] - ], - "doc": " Public: Modifies the buffer {Range} for the selection.\n\nscreenRange - The new {Range} to select.\noptions - An {Object} with the keys:\n :preserveFolds - if `true`, the fold settings are preserved after the\n selection moves.\n :autoscroll - if `true`, the {Editor} scrolls to the new selection. " - } - }, - "91": { - "21": { - "name": "getBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 21 - ], - [ - 98, - 1 - ] - ], - "doc": " Public: Returns the starting and ending buffer rows the selection is\nhighlighting.\n\nReturns an {Array} of two {Number}s: the starting row, and the ending row. " - } - }, - "98": { - "25": { - "name": "getTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 25 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "getTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 25 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "25": { - "name": "getHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 25 - ], - [ - 107, - 1 - ] - ], - "doc": "~Private~" - } - }, - "107": { - "25": { - "name": "getHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 25 - ], - [ - 110, - 1 - ] - ], - "doc": "~Private~" - } - }, - "110": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 14 - ], - [ - 114, - 1 - ] - ], - "doc": "~Private~" - } - }, - "114": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 114, - 11 - ], - [ - 118, - 1 - ] - ], - "doc": "Public: Returns the text in the selection. " - } - }, - "118": { - "9": { - "name": "clear", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 118, - 9 - ], - [ - 126, - 1 - ] - ], - "doc": "Public: Clears the selection, moving the marker to the head. " - } - }, - "126": { - "14": { - "name": "selectWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 14 - ], - [ - 138, - 1 - ] - ], - "doc": " Public: Modifies the selection to encompass the current word.\n\nReturns a {Range}. " - } - }, - "138": { - "18": { - "name": "expandOverWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 18 - ], - [ - 144, - 1 - ] - ], - "doc": " Public: Expands the newest selection to include the entire word on which\nthe cursors rests. " - } - }, - "144": { - "14": { - "name": "selectLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 144, - 14 - ], - [ - 155, - 1 - ] - ], - "doc": " Public: Selects an entire line in the buffer.\n\nrow - The line {Number} to select (default: the row of the cursor). " - } - }, - "155": { - "18": { - "name": "expandOverLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 155, - 18 - ], - [ - 163, - 1 - ] - ], - "doc": " Public: Expands the newest selection to include the entire line on which\nthe cursor currently rests.\n\nIt also includes the newline character. " - } - }, - "163": { - "26": { - "name": "selectToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 163, - 26 - ], - [ - 184, - 1 - ] - ], - "doc": " Public: Selects the text from the current cursor position to a given screen\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "184": { - "26": { - "name": "selectToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 184, - 26 - ], - [ - 188, - 1 - ] - ], - "doc": " Public: Selects the text from the current cursor position to a given buffer\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "188": { - "15": { - "name": "selectRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 15 - ], - [ - 192, - 1 - ] - ], - "doc": "Public: Selects the text one position right of the cursor. " - } - }, - "192": { - "14": { - "name": "selectLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 192, - 14 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Selects the text one position left of the cursor. " - } - }, - "196": { - "12": { - "name": "selectUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 196, - 12 - ], - [ - 200, - 1 - ] - ], - "doc": "Public: Selects all the text one position above the cursor. " - } - }, - "200": { - "14": { - "name": "selectDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 200, - 14 - ], - [ - 205, - 1 - ] - ], - "doc": "Public: Selects all the text one position below the cursor. " - } - }, - "205": { - "15": { - "name": "selectToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 205, - 15 - ], - [ - 210, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the top of\nthe buffer. " - } - }, - "210": { - "18": { - "name": "selectToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 18 - ], - [ - 214, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the bottom\nof the buffer. " - } - }, - "214": { - "13": { - "name": "selectAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 214, - 13 - ], - [ - 219, - 1 - ] - ], - "doc": "Public: Selects all the text in the buffer. " - } - }, - "219": { - "27": { - "name": "selectToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 219, - 27 - ], - [ - 224, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the line. " - } - }, - "224": { - "32": { - "name": "selectToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 32 - ], - [ - 229, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the first\ncharacter of the line. " - } - }, - "229": { - "21": { - "name": "selectToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 229, - 21 - ], - [ - 234, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the end of\nthe line. " - } - }, - "234": { - "27": { - "name": "selectToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 27 - ], - [ - 239, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the word. " - } - }, - "239": { - "21": { - "name": "selectToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 239, - 21 - ], - [ - 244, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the end of\nthe word. " - } - }, - "244": { - "31": { - "name": "selectToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 244, - 31 - ], - [ - 248, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next word. " - } - }, - "248": { - "32": { - "name": "selectToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 248, - 32 - ], - [ - 252, - 1 - ] - ], - "doc": "Public: Selects text to the previous word boundary. " - } - }, - "252": { - "28": { - "name": "selectToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 252, - 28 - ], - [ - 257, - 1 - ] - ], - "doc": "Public: Selects text to the next word boundary. " - } - }, - "257": { - "36": { - "name": "selectToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 257, - 36 - ], - [ - 262, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next paragraph. " - } - }, - "262": { - "40": { - "name": "selectToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 262, - 40 - ], - [ - 266, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the previous paragraph. " - } - }, - "266": { - "21": { - "name": "addSelectionBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 266, - 21 - ], - [ - 284, - 1 - ] - ], - "doc": "Public: Moves the selection down one row. " - } - }, - "284": { - "22": { - "name": "getGoalBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 22 - ], - [ - 289, - 1 - ] - ], - "doc": "FIXME: I have no idea what this does. " - } - }, - "289": { - "21": { - "name": "addSelectionAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 289, - 21 - ], - [ - 316, - 1 - ] - ], - "doc": "Public: Moves the selection up one row. " - } - }, - "316": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 316, - 14 - ], - [ - 349, - 1 - ] - ], - "doc": " Public: Replaces text at the current selection.\n\ntext - A {String} representing the text to add\noptions - An {Object} with keys:\n :select - if `true`, selects the newly added text.\n :autoIndent - if `true`, indents all inserted text appropriately.\n :autoIndentNewline - if `true`, indent newline appropriately.\n :autoDecreaseIndent - if `true`, decreases indent level appropriately\n (for example, when a closing bracket is inserted).\n :undo - if `skip`, skips the undo stack for this operation. " - } - }, - "349": { - "20": { - "name": "normalizeIndents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "indentBasis" - ], - "range": [ - [ - 349, - 20 - ], - [ - 383, - 1 - ] - ], - "doc": " Public: Indents the given text to the suggested level based on the grammar.\n\ntext - The {String} to indent within the selection.\nindentBasis - The beginning indent level. " - } - }, - "383": { - "10": { - "name": "indent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 383, - 10 - ], - [ - 399, - 1 - ] - ], - "doc": " Private: Indent the current line(s).\n\nIf the selection is empty, indents the current line if the cursor precedes\nnon-whitespace characters, and otherwise inserts a tab. If the selection is\nnon empty, calls {::indentSelectedRows}.\n\noptions - A {Object} with the keys:\n :autoIndent - If `true`, the line is indented to an automatically-inferred\n level. Otherwise, {Editor::getTabText} is inserted. " - } - }, - "399": { - "22": { - "name": "indentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 399, - 22 - ], - [ - 405, - 1 - ] - ], - "doc": "Public: If the selection spans multiple rows, indent all of them. " - } - }, - "405": { - "25": { - "name": "setIndentationForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line", - "indentLevel" - ], - "range": [ - [ - 405, - 25 - ], - [ - 412, - 1 - ] - ], - "doc": "Public: ? " - } - }, - "412": { - "13": { - "name": "backspace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 412, - 13 - ], - [ - 417, - 1 - ] - ], - "doc": " Public: Removes the first character before the selection if the selection\nis empty otherwise it deletes the selection. " - } - }, - "417": { - "30": { - "name": "backspaceToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 417, - 30 - ], - [ - 422, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " - } - }, - "422": { - "30": { - "name": "backspaceToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 422, - 30 - ], - [ - 428, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " - } - }, - "428": { - "27": { - "name": "deleteToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 27 - ], - [ - 434, - 1 - ] - ], - "doc": " Public: Removes from the start of the selection to the beginning of the\ncurrent word if the selection is empty otherwise it deletes the selection. " - } - }, - "434": { - "27": { - "name": "deleteToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 434, - 27 - ], - [ - 443, - 1 - ] - ], - "doc": " Public: Removes from the beginning of the line which the selection begins on\nall the way through to the end of the selection. " - } - }, - "443": { - "10": { - "name": "delete", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 443, - 10 - ], - [ - 455, - 1 - ] - ] - } - }, - "455": { - "21": { - "name": "deleteToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 455, - 21 - ], - [ - 462, - 1 - ] - ], - "doc": " Public: If the selection is empty, removes all text from the cursor to the\nend of the line. If the cursor is already at the end of the line, it\nremoves the following newline. If the selection isn't empty, only deletes\nthe contents of the selection. " - } - }, - "462": { - "21": { - "name": "deleteToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 462, - 21 - ], - [ - 467, - 1 - ] - ], - "doc": " Public: Removes the selection or all characters from the start of the\nselection to the end of the current word if nothing is selected. " - } - }, - "467": { - "22": { - "name": "deleteSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 467, - 22 - ], - [ - 477, - 1 - ] - ], - "doc": "Public: Removes only the selected text. " - } - }, - "477": { - "14": { - "name": "deleteLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 477, - 14 - ], - [ - 496, - 1 - ] - ], - "doc": " Public: Removes the line at the beginning of the selection if the selection\nis empty unless the selection spans multiple lines in which case all lines\nare removed. " - } - }, - "496": { - "13": { - "name": "joinLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 496, - 13 - ], - [ - 522, - 1 - ] - ], - "doc": " Public: Joins the current line with the one below it.\n\nIf there selection spans more than one line, all the lines are joined together. " - } - }, - "522": { - "23": { - "name": "outdentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 522, - 23 - ], - [ - 532, - 1 - ] - ], - "doc": "Public: Removes one level of indent from the currently selected rows. " - } - }, - "532": { - "26": { - "name": "autoIndentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 532, - 26 - ], - [ - 542, - 1 - ] - ], - "doc": " Public: Sets the indentation level of all selected rows to values suggested\nby the relevant grammars. " - } - }, - "542": { - "22": { - "name": "toggleLineComments", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 542, - 22 - ], - [ - 546, - 1 - ] - ], - "doc": " Public: Wraps the selected lines in comments if they aren't currently part\nof a comment.\n\nRemoves the comment if they are currently wrapped in a comment.\n\nReturns an Array of the commented {Range}s. " - } - }, - "546": { - "18": { - "name": "cutToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 546, - 18 - ], - [ - 551, - 1 - ] - ], - "doc": "Public: Cuts the selection until the end of the line. " - } - }, - "551": { - "7": { - "name": "cut", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 551, - 7 - ], - [ - 561, - 1 - ] - ], - "doc": "Public: Copies the selection to the clipboard and then deletes it. " - } - }, - "561": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 561, - 8 - ], - [ - 579, - 1 - ] - ], - "doc": " Public: Copies the current selection to the clipboard.\n\nIf the `maintainClipboard` is set to `true`, a specific metadata property\nis created to store each content copied to the clipboard. The clipboard\n`text` still contains the concatenation of the clipboard with the\ncurrent selection. " - } - }, - "579": { - "8": { - "name": "fold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 579, - 8 - ], - [ - 584, - 1 - ] - ], - "doc": "Public: Creates a fold containing the current selection. " - } - }, - "584": { - "19": { - "name": "modifySelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 584, - 19 - ], - [ - 595, - 1 - ] - ], - "doc": "~Private~" - } - }, - "595": { - "13": { - "name": "plantTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 595, - 13 - ], - [ - 603, - 1 - ] - ], - "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " - } - }, - "603": { - "25": { - "name": "intersectsBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 603, - 25 - ], - [ - 606, - 1 - ] - ], - "doc": " Public: Identifies if a selection intersects with a given buffer range.\n\nbufferRange - A {Range} to check against.\n\nReturns a Boolean. " - } - }, - "606": { - "28": { - "name": "intersectsScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 606, - 28 - ], - [ - 609, - 1 - ] - ], - "doc": "~Private~" - } - }, - "609": { - "23": { - "name": "intersectsScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 609, - 23 - ], - [ - 617, - 1 - ] - ], - "doc": "~Private~" - } - }, - "617": { - "18": { - "name": "intersectsWith", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection" - ], - "range": [ - [ - 617, - 18 - ], - [ - 625, - 1 - ] - ], - "doc": " Public: Identifies if a selection intersects with another selection.\n\notherSelection - A {Selection} to check against.\n\nReturns a Boolean. " - } - }, - "625": { - "9": { - "name": "merge", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection", - "options" - ], - "range": [ - [ - 625, - 9 - ], - [ - 641, - 1 - ] - ], - "doc": " Public: Combines the given selection into this selection and then destroys\nthe given selection.\n\notherSelection - A {Selection} to merge with.\noptions - A hash of options matching those found in {::setBufferRange}. " - } - }, - "641": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection" - ], - "range": [ - [ - 641, - 11 - ], - [ - 644, - 1 - ] - ], - "doc": " Public: Compare this selection's buffer range to another selection's buffer\nrange.\n\nSee {Range::compare} for more details.\n\notherSelection - A {Selection} to compare against. " - } - }, - "644": { - "22": { - "name": "screenRangeChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 644, - 22 - ], - [ - 647, - 45 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 6 - }, - "src/space-pen-extensions.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "1": { - "11": { - "name": "spacePen", - "type": "import", - "range": [ - [ - 1, - 11 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "space-pen" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "6": { - "9": { - "name": "spacePen", - "type": "primitive", - "range": [ - [ - 6, - 9 - ], - [ - 6, - 16 - ] - ] - } - }, - "7": { - "20": { - "name": "jQuery", - "type": "primitive", - "range": [ - [ - 7, - 20 - ], - [ - 7, - 25 - ] - ] - } - }, - "8": { - "19": { - "name": "jQuery.cleanData", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "elements" - ], - "range": [ - [ - 8, - 19 - ], - [ - 11, - 0 - ] - ], - "doc": null - } - }, - "13": { - "2": { - "type": "primitive", - "range": [ - [ - 13, - 2 - ], - [ - 19, - 19 - ] - ] - } - }, - "14": { - "4": { - "type": "primitive", - "range": [ - [ - 14, - 4 - ], - [ - 15, - 12 - ] - ] - }, - "10": { - "name": "1000", - "type": "primitive", - "range": [ - [ - 14, - 10 - ], - [ - 14, - 13 - ] - ] - } - }, - "15": { - "10": { - "name": "100", - "type": "primitive", - "range": [ - [ - 15, - 10 - ], - [ - 15, - 12 - ] - ] - } - }, - "16": { - "13": { - "name": "'body'", - "type": "primitive", - "range": [ - [ - 16, - 13 - ], - [ - 16, - 18 - ] - ] - } - }, - "17": { - "8": { - "type": "primitive", - "range": [ - [ - 17, - 8 - ], - [ - 17, - 11 - ] - ] - } - }, - "18": { - "13": { - "name": "'auto top'", - "type": "primitive", - "range": [ - [ - 18, - 13 - ], - [ - 18, - 22 - ] - ] - } - }, - "19": { - "19": { - "name": "2", - "type": "primitive", - "range": [ - [ - 19, - 19 - ], - [ - 19, - 19 - ] - ] - } - }, - "21": { - "21": { - "name": "humanizeKeystrokes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "keystroke" - ], - "range": [ - [ - 21, - 21 - ], - [ - 25, - 0 - ] - ], - "doc": "~Private~" - } - }, - "26": { - "15": { - "name": "getKeystroke", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bindings" - ], - "range": [ - [ - 26, - 15 - ], - [ - 31, - 0 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "26": { - "name": "requireBootstrapTooltip", - "type": "function", - "range": [ - [ - 32, - 26 - ], - [ - 35, - 59 - ] - ] - } - }, - "36": { - "23": { - "name": "jQuery.fn.setTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "tooltipOptions", - null - ], - "range": [ - [ - 36, - 23 - ], - [ - 49, - 0 - ] - ], - "doc": null - } - }, - "50": { - "24": { - "name": "jQuery.fn.hideTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 24 - ], - [ - 55, - 0 - ] - ], - "doc": null - } - }, - "56": { - "27": { - "name": "jQuery.fn.destroyTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 27 - ], - [ - 61, - 38 - ] - ], - "doc": null - } - }, - "68": { - "36": { - "name": "getKeystroke", - "type": "primitive", - "range": [ - [ - 68, - 36 - ], - [ - 68, - 47 - ] - ] - } - }, - "69": { - "42": { - "name": "humanizeKeystrokes", - "type": "primitive", - "range": [ - [ - 69, - 42 - ], - [ - 69, - 59 - ] - ] - } - }, - "71": { - "49": { - "name": "get", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 71, - 49 - ], - [ - 71, - 55 - ] - ], - "doc": null - } - } - }, - "exports": 73 - }, - "src/subscriber-mixin.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "1": { - "18": { - "type": "primitive", - "range": [ - [ - 1, - 18 - ], - [ - 1, - 55 - ] - ] - }, - "39": { - "name": "componentDidUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 1, - 39 - ], - [ - 1, - 55 - ] - ], - "doc": null - } - } - }, - "exports": 3 - }, - "src/syntax.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 11 - ] - ], - "bindingType": "variable", - "module": "clear-cut", - "name": "specificity", - "exportsProperty": "specificity" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 15 - ] - ], - "bindingType": "variable", - "module": "first-mate", - "name": "GrammarRegistry", - "exportsProperty": "GrammarRegistry" - }, - "18": { - "type": "import", - "range": [ - [ - 4, - 18 - ], - [ - 4, - 30 - ] - ], - "bindingType": "variable", - "module": "first-mate", - "name": "ScopeSelector", - "exportsProperty": "ScopeSelector" - } - }, - "5": { - "22": { - "name": "ScopedPropertyStore", - "type": "import", - "range": [ - [ - 5, - 22 - ], - [ - 5, - 52 - ] - ], - "bindingType": "variable", - "module": "scoped-property-store" - } - }, - "6": { - "20": { - "name": "PropertyAccessors", - "type": "import", - "range": [ - [ - 6, - 20 - ], - [ - 6, - 47 - ] - ], - "bindingType": "variable", - "module": "property-accessors" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 8, - 4 - ], - [ - 8, - 5 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - } - }, - "9": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 9, - 8 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "18": { - "0": { - "type": "class", - "name": "Syntax", - "bindingType": "exports", - "classProperties": [ - [ - 23, - 16 - ] - ], - "prototypeProperties": [ - [ - 28, - 15 - ], - [ - 32, - 13 - ], - [ - 35, - 15 - ], - [ - 42, - 17 - ], - [ - 49, - 20 - ], - [ - 52, - 19 - ], - [ - 67, - 15 - ], - [ - 75, - 22 - ], - [ - 84, - 32 - ] - ], - "doc": " Public: Syntax class holding the grammars used for tokenizing.\n\nAn instance of this class is always available as the `atom.syntax` global.\n\nThe Syntax class also contains properties for things such as the\nlanguage-specific comment regexes. ", - "range": [ - [ - 18, - 0 - ], - [ - 85, - 52 - ] - ] - } - }, - "23": { - "16": { - "name": "deserialize", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 23, - 16 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 15 - ], - [ - 32, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "13": { - "name": "serialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 32, - 13 - ], - [ - 35, - 1 - ] - ], - "doc": "~Private~" - } - }, - "35": { - "15": { - "name": "createToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "scopes" - ], - "range": [ - [ - 35, - 15 - ], - [ - 35, - 59 - ] - ], - "doc": "~Private~" - } - }, - "42": { - "17": { - "name": "addProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 42, - 17 - ], - [ - 49, - 1 - ] - ], - "doc": "~Private~" - } - }, - "49": { - "20": { - "name": "removeProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 49, - 20 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "19": { - "name": "clearProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 19 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "15": { - "name": "getProperty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scope", - "keyPath" - ], - "range": [ - [ - 67, - 15 - ], - [ - 75, - 1 - ] - ], - "doc": " Public: Get a property for the given scope and key path.\n\n## Example\n```coffee\ncomment = atom.syntax.getProperty(['.source.ruby'], 'editor.commentStart')\nconsole.log(comment) # '# '\n```\n\nscope - An {Array} of {String} scopes.\nkeyPath - A {String} key path.\n\nReturns a {String} property value or undefined. " - } - }, - "75": { - "22": { - "name": "propertiesForScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scope", - "keyPath" - ], - "range": [ - [ - 75, - 22 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "32": { - "name": "cssSelectorFromScopeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeSelector" - ], - "range": [ - [ - 84, - 32 - ], - [ - 85, - 52 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 18 - }, - "src/task-bootstrap.coffee": { - "objects": { - "0": { - "1": { - "type": "primitive", - "name": "userAgent", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "exportsProperty": "userAgent" - }, - "12": { - "type": "primitive", - "name": "taskPath", - "range": [ - [ - 0, - 12 - ], - [ - 0, - 19 - ] - ], - "exportsProperty": "taskPath" - } - }, - "3": { - "15": { - "name": "setupGlobals", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 3, - 15 - ], - [ - 28, - 0 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "15": { - "name": "handleEvents", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 15 - ], - [ - 42, - 0 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "10": { - "name": "handler", - "type": "import", - "range": [ - [ - 45, - 10 - ], - [ - 45, - 26 - ] - ], - "bindingType": "variable", - "module": "askPat" - } - } - }, - "exports": {} - }, - "src/task.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "1": { - "16": { - "name": "child_process", - "type": "import", - "range": [ - [ - 1, - 16 - ], - [ - 1, - 38 - ] - ], - "bindingType": "variable", - "module": "child_process", - "builtin": true - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "21": { - "0": { - "type": "class", - "name": "Task", - "bindingType": "exports", - "classProperties": [ - [ - 29, - 9 - ] - ], - "prototypeProperties": [ - [ - 41, - 12 - ], - [ - 47, - 15 - ], - [ - 73, - 16 - ], - [ - 82, - 9 - ], - [ - 95, - 8 - ], - [ - 102, - 13 - ] - ], - "doc": " Public: Run a node script in a separate process.\n\nUsed by the fuzzy-finder.\n\n## Events\n\n* task:log - Emitted when console.log is called within the task.\n* task:warn - Emitted when console.warn is called within the task.\n* task:error - Emitted when console.error is called within the task.\n* task:completed - Emitted when the task has succeeded or failed.\n\n## Requiring in packages\n\n```coffee\n {Task} = require 'atom'\n``` ", - "range": [ - [ - 21, - 0 - ], - [ - 109, - 10 - ] - ] - } - }, - "29": { - "9": { - "name": "once", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "taskPath", - "args" - ], - "range": [ - [ - 29, - 9 - ], - [ - 41, - 1 - ] - ], - "doc": " Public: A helper method to easily launch and run a task once.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file which\n exports a single {Function} to execute.\nargs - The arguments to pass to the exported function. " - } - }, - "41": { - "12": { - "name": "callback", - "type": "primitive", - "range": [ - [ - 41, - 12 - ], - [ - 41, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "47": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "taskPath" - ], - "range": [ - [ - 47, - 15 - ], - [ - 73, - 1 - ] - ], - "doc": " Public: Creates a task.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file that\n exports a single {Function} to execute. " - } - }, - "73": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 16 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Routes messages from the child to the appropriate event. " - } - }, - "82": { - "9": { - "name": "start", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args", - "callback" - ], - "range": [ - [ - 82, - 9 - ], - [ - 95, - 1 - ] - ], - "doc": " Public: Starts the task.\n\nargs - The arguments to pass to the function exported by this task's script.\ncallback - An optional {Function} to call when the task completes. " - } - }, - "95": { - "8": { - "name": "send", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 95, - 8 - ], - [ - 102, - 1 - ] - ], - "doc": " Public: Send message to the task.\n\nmessage - The message to send to the task. " - } - }, - "102": { - "13": { - "name": "terminate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 13 - ], - [ - 109, - 10 - ] - ], - "doc": " Public: Forcefully stop the running task.\n\nNo events are emitted. " - } - } - }, - "exports": 21 - }, - "src/text-utils.coffee": { - "objects": { - "0": { - "18": { - "name": "isHighSurrogate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 0, - 18 - ], - [ - 2, - 0 - ] - ], - "doc": "~Private~" - } - }, - "3": { - "17": { - "name": "isLowSurrogate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 3, - 17 - ], - [ - 11, - 21 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "18": { - "name": "isSurrogatePair", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 12, - 18 - ], - [ - 22, - 21 - ] - ], - "doc": " Private: Is the character at the given index the start of a high/low surrogate pair?\n\nstring - The {String} to check for a surrogate pair.\nindex - The {Number} index to look for a surrogate pair at.\n\nReturn a {Boolean}. " - } - }, - "23": { - "20": { - "name": "getCharacterCount", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 23, - 20 - ], - [ - 32, - 22 - ] - ], - "doc": " Private: Get the number of characters in the string accounting for surrogate pairs.\n\nThis method counts high/low surrogate pairs as a single character and will\nalways returns a value less than or equal to `string.length`.\n\nstring - The {String} to count the number of full characters in.\n\nReturns a {Number}. " - } - }, - "33": { - "19": { - "name": "hasSurrogatePair", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 33, - 19 - ], - [ - 35, - 0 - ] - ], - "doc": " Private: Does the given string contain at least one surrogate pair?\n\nstring - The {String} to check for the presence of surrogate pairs.\n\nReturns a {Boolean}. " - } - } - }, - "exports": 36 - }, - "src/theme-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "8": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "9": { - "1": { - "type": "import", - "range": [ - [ - 9, - 1 - ], - [ - 9, - 4 - ] - ], - "bindingType": "variable", - "module": "pathwatcher", - "name": "File", - "exportsProperty": "File" - } - }, - "15": { - "0": { - "type": "class", - "name": "ThemeManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 18, - 15 - ], - [ - 22, - 21 - ], - [ - 27, - 18 - ], - [ - 31, - 18 - ], - [ - 35, - 19 - ], - [ - 39, - 19 - ], - [ - 42, - 20 - ], - [ - 47, - 24 - ], - [ - 57, - 18 - ], - [ - 82, - 20 - ], - [ - 87, - 20 - ], - [ - 93, - 20 - ], - [ - 96, - 18 - ], - [ - 109, - 25 - ], - [ - 116, - 25 - ], - [ - 121, - 22 - ], - [ - 133, - 23 - ], - [ - 137, - 25 - ], - [ - 142, - 26 - ], - [ - 145, - 21 - ], - [ - 160, - 21 - ], - [ - 169, - 18 - ], - [ - 175, - 22 - ], - [ - 197, - 14 - ], - [ - 200, - 20 - ], - [ - 209, - 19 - ] - ], - "doc": " Public: Handles loading and activating available themes.\n\nAn instance of this class is always available as the `atom.themes` global. ", - "range": [ - [ - 15, - 0 - ], - [ - 222, - 31 - ] - ] - } - }, - "18": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 18, - 15 - ], - [ - 22, - 1 - ] - ], - "doc": "~Private~" - } - }, - "22": { - "21": { - "name": "getAvailableNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 22, - 21 - ], - [ - 27, - 1 - ] - ], - "doc": "~Private~" - } - }, - "27": { - "18": { - "name": "getLoadedNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 18 - ], - [ - 31, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded theme names. " - } - }, - "31": { - "18": { - "name": "getActiveNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 31, - 18 - ], - [ - 35, - 1 - ] - ], - "doc": "Public: Get an array of all the active theme names. " - } - }, - "35": { - "19": { - "name": "getActiveThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 35, - 19 - ], - [ - 39, - 1 - ] - ], - "doc": "Public: Get an array of all the active themes. " - } - }, - "39": { - "19": { - "name": "getLoadedThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 39, - 19 - ], - [ - 42, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded themes. " - } - }, - "42": { - "20": { - "name": "activatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "themePackages" - ], - "range": [ - [ - 42, - 20 - ], - [ - 42, - 55 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "24": { - "name": "getEnabledThemeNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 47, - 24 - ], - [ - 57, - 1 - ] - ], - "doc": " Private: Get the enabled theme names from the config.\n\nReturns an array of theme names in the order that they should be activated. " - } - }, - "57": { - "18": { - "name": "activateThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 18 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "20": { - "name": "deactivateThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 20 - ], - [ - 87, - 1 - ] - ], - "doc": "~Private~" - } - }, - "87": { - "20": { - "name": "refreshLessCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 87, - 20 - ], - [ - 93, - 1 - ] - ], - "doc": "~Private~" - } - }, - "93": { - "20": { - "name": "setEnabledThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "enabledThemeNames" - ], - "range": [ - [ - 93, - 20 - ], - [ - 96, - 1 - ] - ], - "doc": " Public: Set the list of enabled themes.\n\nenabledThemeNames - An {Array} of {String} theme names. " - } - }, - "96": { - "18": { - "name": "getImportPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 18 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "25": { - "name": "getUserStylesheetPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 25 - ], - [ - 116, - 1 - ] - ], - "doc": "Public: Returns the {String} path to the user's stylesheet under ~/.atom " - } - }, - "116": { - "25": { - "name": "unwatchUserStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 25 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "22": { - "name": "loadUserStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 121, - 22 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "23": { - "name": "loadBaseStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 23 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "25": { - "name": "reloadBaseStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 25 - ], - [ - 142, - 1 - ] - ], - "doc": "~Private~" - } - }, - "142": { - "26": { - "name": "stylesheetElementForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id", - "htmlElement" - ], - "range": [ - [ - 142, - 26 - ], - [ - 145, - 1 - ] - ], - "doc": "~Private~" - } - }, - "145": { - "21": { - "name": "resolveStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 145, - 21 - ], - [ - 160, - 1 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "21": { - "name": "requireStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "type", - "htmlElement" - ], - "range": [ - [ - 160, - 21 - ], - [ - 169, - 1 - ] - ], - "doc": " Public: Resolve and apply the stylesheet specified by the path.\n\nThis supports both CSS and LESS stylsheets.\n\nstylesheetPath - A {String} path to the stylesheet that can be an absolute\n path or a relative path that will be resolved against the\n load path.\n\nReturns the absolute path to the required stylesheet. " - } - }, - "169": { - "18": { - "name": "loadStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "importFallbackVariables" - ], - "range": [ - [ - 169, - 18 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "22": { - "name": "loadLessStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lessStylesheetPath", - "importFallbackVariables" - ], - "range": [ - [ - 175, - 22 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "14": { - "name": "stringToId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 197, - 14 - ], - [ - 200, - 1 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "20": { - "name": "removeStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 200, - 20 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "19": { - "name": "applyStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "text", - "type", - "htmlElement" - ], - "range": [ - [ - 209, - 19 - ], - [ - 222, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 15 - }, - "src/theme-package.coffee": { - "objects": { - "0": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "1": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 1, - 10 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "4": { - "0": { - "type": "class", - "name": "ThemePackage", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 5, - 11 - ], - [ - 7, - 21 - ], - [ - 9, - 10 - ], - [ - 12, - 11 - ], - [ - 15, - 8 - ], - [ - 23, - 12 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 31, - 31 - ] - ] - } - }, - "5": { - "11": { - "name": "getType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 11 - ], - [ - 5, - 20 - ] - ] - } - }, - "7": { - "21": { - "name": "getStylesheetType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 7, - 21 - ], - [ - 7, - 30 - ] - ], - "doc": "~Private~" - } - }, - "9": { - "10": { - "name": "enable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 10 - ], - [ - 12, - 1 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "11": { - "name": "disable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 12, - 11 - ], - [ - 15, - 1 - ] - ], - "doc": "~Private~" - } - }, - "15": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 15, - 8 - ], - [ - 23, - 1 - ] - ], - "doc": "~Private~" - } - }, - "23": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 23, - 12 - ], - [ - 31, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/token.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "1": { - "12": { - "name": "textUtils", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 33 - ] - ], - "bindingType": "variable", - "path": "./text-utils" - } - }, - "3": { - "31": { - "type": "primitive", - "range": [ - [ - 3, - 31 - ], - [ - 3, - 32 - ] - ] - } - }, - "4": { - "20": { - "name": "/^[ ]+/", - "type": "primitive", - "range": [ - [ - 4, - 20 - ], - [ - 4, - 26 - ] - ] - } - }, - "5": { - "21": { - "name": "/[ ]+$/", - "type": "primitive", - "range": [ - [ - 5, - 21 - ], - [ - 5, - 27 - ] - ] - } - }, - "6": { - "14": { - "name": "/[&\"'<>]/g", - "type": "primitive", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 23 - ] - ] - } - }, - "7": { - "17": { - "name": "/./g", - "type": "primitive", - "range": [ - [ - 7, - 17 - ], - [ - 7, - 20 - ] - ] - } - }, - "8": { - "22": { - "name": "/^./", - "type": "primitive", - "range": [ - [ - 8, - 22 - ], - [ - 8, - 25 - ] - ] - } - }, - "9": { - "16": { - "name": "/^\\.?/", - "type": "primitive", - "range": [ - [ - 9, - 16 - ], - [ - 9, - 21 - ] - ] - } - }, - "10": { - "18": { - "name": "/\\S/", - "type": "primitive", - "range": [ - [ - 10, - 18 - ], - [ - 10, - 21 - ] - ] - } - }, - "12": { - "17": { - "name": "20000", - "type": "primitive", - "range": [ - [ - 12, - 17 - ], - [ - 12, - 21 - ] - ] - } - }, - "16": { - "0": { - "type": "class", - "name": "Token", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 9 - ], - [ - 18, - 20 - ], - [ - 19, - 10 - ], - [ - 20, - 12 - ], - [ - 21, - 13 - ], - [ - 22, - 24 - ], - [ - 23, - 25 - ], - [ - 25, - 15 - ], - [ - 30, - 11 - ], - [ - 33, - 13 - ], - [ - 36, - 11 - ], - [ - 41, - 31 - ], - [ - 44, - 24 - ], - [ - 86, - 26 - ], - [ - 106, - 27 - ], - [ - 113, - 21 - ], - [ - 116, - 21 - ], - [ - 119, - 17 - ], - [ - 129, - 20 - ], - [ - 132, - 24 - ], - [ - 138, - 18 - ], - [ - 185, - 16 - ], - [ - 194, - 23 - ] - ], - "doc": "Private: Represents a single unit of text as selected by a grammar. ", - "range": [ - [ - 16, - 0 - ], - [ - 201, - 16 - ] - ] - } - }, - "17": { - "9": { - "name": "value", - "type": "primitive", - "range": [ - [ - 17, - 9 - ], - [ - 17, - 12 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "20": { - "name": "hasSurrogatePair", - "type": "primitive", - "range": [ - [ - 18, - 20 - ], - [ - 18, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "10": { - "name": "scopes", - "type": "primitive", - "range": [ - [ - 19, - 10 - ], - [ - 19, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "20": { - "12": { - "name": "isAtomic", - "type": "primitive", - "range": [ - [ - 20, - 12 - ], - [ - 20, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "13": { - "name": "isHardTab", - "type": "primitive", - "range": [ - [ - 21, - 13 - ], - [ - 21, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "22": { - "24": { - "name": "hasLeadingWhitespace", - "type": "primitive", - "range": [ - [ - 22, - 24 - ], - [ - 22, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "23": { - "25": { - "name": "hasTrailingWhitespace", - "type": "primitive", - "range": [ - [ - 23, - 25 - ], - [ - 23, - 29 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "25": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 25, - 15 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "isEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 30, - 11 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "13": { - "name": "isBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 33, - 13 - ], - [ - 36, - 1 - ] - ], - "doc": "~Private~" - } - }, - "36": { - "11": { - "name": "splitAt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "splitIndex" - ], - "range": [ - [ - 36, - 11 - ], - [ - 41, - 1 - ] - ], - "doc": "~Private~" - } - }, - "41": { - "31": { - "name": "whitespaceRegexForTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 41, - 31 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "24": { - "name": "breakOutAtomicTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "breakOutLeadingSoftTabs", - "startColumn" - ], - "range": [ - [ - 44, - 24 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "26": { - "name": "breakOutSurrogatePairs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 26 - ], - [ - 106, - 1 - ] - ], - "doc": "~Private~" - } - }, - "106": { - "27": { - "name": "buildSurrogatePairToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "index" - ], - "range": [ - [ - 106, - 27 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "21": { - "name": "buildHardTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "column" - ], - "range": [ - [ - 113, - 21 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "21": { - "name": "buildSoftTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 116, - 21 - ], - [ - 119, - 1 - ] - ], - "doc": "~Private~" - } - }, - "119": { - "17": { - "name": "buildTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "isHardTab", - "column" - ], - "range": [ - [ - 119, - 17 - ], - [ - 129, - 1 - ] - ], - "doc": "~Private~" - } - }, - "129": { - "20": { - "name": "isOnlyWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 129, - 20 - ], - [ - 132, - 1 - ] - ], - "doc": "~Private~" - } - }, - "132": { - "24": { - "name": "matchesScopeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 132, - 24 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "18": { - "name": "getValueAsHtml", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 138, - 18 - ], - [ - 185, - 1 - ] - ], - "doc": "~Private~" - } - }, - "185": { - "16": { - "name": "escapeString", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "str", - "startIndex", - "endIndex" - ], - "range": [ - [ - 185, - 16 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "23": { - "name": "escapeStringReplace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "match" - ], - "range": [ - [ - 194, - 23 - ], - [ - 201, - 16 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 16 - }, - "src/tokenized-buffer.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "3": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "4": { - "16": { - "name": "TokenizedLine", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 41 - ] - ], - "bindingType": "variable", - "path": "./tokenized-line" - } - }, - "5": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "8": { - "0": { - "type": "class", - "name": "TokenizedBuffer", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 11 - ], - [ - 14, - 23 - ], - [ - 15, - 10 - ], - [ - 16, - 18 - ], - [ - 17, - 13 - ], - [ - 18, - 15 - ], - [ - 19, - 11 - ], - [ - 21, - 15 - ], - [ - 48, - 19 - ], - [ - 52, - 21 - ], - [ - 56, - 14 - ], - [ - 64, - 17 - ], - [ - 70, - 23 - ], - [ - 76, - 23 - ], - [ - 82, - 14 - ], - [ - 88, - 16 - ], - [ - 94, - 16 - ], - [ - 96, - 24 - ], - [ - 103, - 21 - ], - [ - 133, - 19 - ], - [ - 136, - 15 - ], - [ - 139, - 17 - ], - [ - 144, - 21 - ], - [ - 153, - 22 - ], - [ - 173, - 48 - ], - [ - 183, - 30 - ], - [ - 200, - 41 - ], - [ - 203, - 39 - ], - [ - 210, - 37 - ], - [ - 220, - 20 - ], - [ - 225, - 22 - ], - [ - 228, - 15 - ], - [ - 231, - 21 - ], - [ - 257, - 22 - ], - [ - 266, - 21 - ], - [ - 269, - 20 - ], - [ - 273, - 33 - ], - [ - 278, - 33 - ], - [ - 299, - 30 - ], - [ - 314, - 39 - ], - [ - 329, - 22 - ], - [ - 344, - 22 - ], - [ - 362, - 14 - ], - [ - 365, - 16 - ], - [ - 368, - 12 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 371, - 40 - ] - ] - } - }, - "13": { - "11": { - "name": "grammar", - "type": "primitive", - "range": [ - [ - 13, - 11 - ], - [ - 13, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "23": { - "name": "currentGrammarScore", - "type": "primitive", - "range": [ - [ - 14, - 23 - ], - [ - 14, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "15": { - "10": { - "name": "buffer", - "type": "primitive", - "range": [ - [ - 15, - 10 - ], - [ - 15, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "18": { - "name": "tokenizedLines", - "type": "primitive", - "range": [ - [ - 16, - 18 - ], - [ - 16, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "17": { - "13": { - "name": "chunkSize", - "type": "primitive", - "range": [ - [ - 17, - 13 - ], - [ - 17, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "15": { - "name": "invalidRows", - "type": "primitive", - "range": [ - [ - 18, - 15 - ], - [ - 18, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 19, - 11 - ], - [ - 19, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 21, - 15 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 19 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 52, - 21 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar", - "score" - ], - "range": [ - [ - 56, - 14 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 17 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "23": { - "name": "hasTokenForSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 70, - 23 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "23": { - "name": "resetTokenizedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 23 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 82, - 14 - ], - [ - 88, - 1 - ] - ], - "doc": "~Private~" - } - }, - "88": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 16 - ], - [ - 94, - 1 - ] - ], - "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " - } - }, - "94": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 94, - 16 - ], - [ - 94, - 30 - ] - ], - "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " - } - }, - "96": { - "24": { - "name": "tokenizeInBackground", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 24 - ], - [ - 103, - 1 - ] - ], - "doc": "~Private~" - } - }, - "103": { - "21": { - "name": "tokenizeNextChunk", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 103, - 21 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "19": { - "name": "firstInvalidRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 19 - ], - [ - 136, - 1 - ] - ], - "doc": "~Private~" - } - }, - "136": { - "15": { - "name": "validateRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 136, - 15 - ], - [ - 139, - 1 - ] - ], - "doc": "~Private~" - } - }, - "139": { - "17": { - "name": "invalidateRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 139, - 17 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "21": { - "name": "updateInvalidRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end", - "delta" - ], - "range": [ - [ - 144, - 21 - ], - [ - 153, - 1 - ] - ], - "doc": "~Private~" - } - }, - "153": { - "22": { - "name": "handleBufferChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 153, - 22 - ], - [ - 173, - 1 - ] - ], - "doc": "~Private~" - } - }, - "173": { - "48": { - "name": "retokenizeWhitespaceRowsIfIndentLevelChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "increment" - ], - "range": [ - [ - 173, - 48 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "30": { - "name": "buildTokenizedLinesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow", - "startingStack" - ], - "range": [ - [ - 183, - 30 - ], - [ - 200, - 1 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "41": { - "name": "buildPlaceholderTokenizedLinesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 200, - 41 - ], - [ - 203, - 1 - ] - ], - "doc": "~Private~" - } - }, - "203": { - "39": { - "name": "buildPlaceholderTokenizedLineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 203, - 39 - ], - [ - 210, - 1 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "37": { - "name": "buildTokenizedTokenizedLineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "ruleStack" - ], - "range": [ - [ - 210, - 37 - ], - [ - 220, - 1 - ] - ], - "doc": "~Private~" - } - }, - "220": { - "20": { - "name": "lineForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 220, - 20 - ], - [ - 225, - 1 - ] - ], - "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " - } - }, - "225": { - "22": { - "name": "linesForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 225, - 22 - ], - [ - 228, - 1 - ] - ], - "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " - } - }, - "228": { - "15": { - "name": "stackForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 228, - 15 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "21": { - "name": "indentLevelForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 231, - 21 - ], - [ - 257, - 1 - ] - ], - "doc": "~Private~" - } - }, - "257": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 257, - 22 - ], - [ - 266, - 1 - ] - ], - "doc": "~Private~" - } - }, - "266": { - "21": { - "name": "scopesForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 266, - 21 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "20": { - "name": "tokenForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 269, - 20 - ], - [ - 273, - 1 - ] - ], - "doc": "~Private~" - } - }, - "273": { - "33": { - "name": "tokenStartPositionForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 273, - 33 - ], - [ - 278, - 1 - ] - ], - "doc": "~Private~" - } - }, - "278": { - "33": { - "name": "bufferRangeForScopeAtPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "position" - ], - "range": [ - [ - 278, - 33 - ], - [ - 299, - 1 - ] - ], - "doc": "~Private~" - } - }, - "299": { - "30": { - "name": "iterateTokensInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "iterator" - ], - "range": [ - [ - 299, - 30 - ], - [ - 314, - 1 - ] - ], - "doc": "~Private~" - } - }, - "314": { - "39": { - "name": "backwardsIterateTokensInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "iterator" - ], - "range": [ - [ - 314, - 39 - ], - [ - 329, - 1 - ] - ], - "doc": "~Private~" - } - }, - "329": { - "22": { - "name": "findOpeningBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferPosition" - ], - "range": [ - [ - 329, - 22 - ], - [ - 344, - 1 - ] - ], - "doc": "~Private~" - } - }, - "344": { - "22": { - "name": "findClosingBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferPosition" - ], - "range": [ - [ - 344, - 22 - ], - [ - 362, - 1 - ] - ], - "doc": "~Private~" - } - }, - "362": { - "14": { - "name": "getLastRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 362, - 14 - ], - [ - 365, - 1 - ] - ], - "doc": " Private: Gets the row number of the last line.\n\nReturns a {Number}. " - } - }, - "365": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 365, - 16 - ], - [ - 368, - 1 - ] - ], - "doc": "~Private~" - } - }, - "368": { - "12": { - "name": "logLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 368, - 12 - ], - [ - 371, - 40 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/tokenized-line.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "2": { - "12": { - "name": "1", - "type": "primitive", - "range": [ - [ - 2, - 12 - ], - [ - 2, - 12 - ] - ] - } - }, - "5": { - "0": { - "type": "class", - "name": "TokenizedLine", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 6, - 15 - ], - [ - 15, - 13 - ], - [ - 20, - 20 - ], - [ - 25, - 8 - ], - [ - 28, - 20 - ], - [ - 47, - 31 - ], - [ - 57, - 31 - ], - [ - 66, - 22 - ], - [ - 72, - 22 - ], - [ - 75, - 14 - ], - [ - 102, - 17 - ], - [ - 105, - 23 - ], - [ - 108, - 28 - ], - [ - 115, - 35 - ], - [ - 123, - 24 - ], - [ - 134, - 42 - ], - [ - 145, - 13 - ], - [ - 154, - 20 - ], - [ - 162, - 16 - ], - [ - 165, - 17 - ], - [ - 168, - 24 - ], - [ - 174, - 16 - ], - [ - 186, - 20 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 199, - 0 - ] - ] - } - }, - "6": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 6, - 15 - ], - [ - 15, - 1 - ] - ] - } - }, - "15": { - "13": { - "name": "buildText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 15, - 13 - ], - [ - 20, - 1 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "20": { - "name": "buildBufferDelta", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 20 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 8 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "20": { - "name": "clipScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "column", - "options" - ], - "range": [ - [ - 28, - 20 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "31": { - "name": "screenColumnForBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn", - "options" - ], - "range": [ - [ - 47, - 31 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "31": { - "name": "bufferColumnForScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenColumn", - "options" - ], - "range": [ - [ - 57, - 31 - ], - [ - 66, - 1 - ] - ], - "doc": "~Private~" - } - }, - "66": { - "22": { - "name": "getMaxScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 66, - 22 - ], - [ - 72, - 1 - ] - ], - "doc": "~Private~" - } - }, - "72": { - "22": { - "name": "getMaxBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 72, - 22 - ], - [ - 75, - 1 - ] - ], - "doc": "~Private~" - } - }, - "75": { - "14": { - "name": "softWrapAt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "column" - ], - "range": [ - [ - 75, - 14 - ], - [ - 102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "102": { - "17": { - "name": "isSoftWrapped", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 17 - ], - [ - 105, - 1 - ] - ], - "doc": "~Private~" - } - }, - "105": { - "23": { - "name": "tokenAtBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 105, - 23 - ], - [ - 108, - 1 - ] - ], - "doc": "~Private~" - } - }, - "108": { - "28": { - "name": "tokenIndexAtBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 108, - 28 - ], - [ - 115, - 1 - ] - ], - "doc": "~Private~" - } - }, - "115": { - "35": { - "name": "tokenStartColumnForBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 115, - 35 - ], - [ - 123, - 1 - ] - ], - "doc": "~Private~" - } - }, - "123": { - "24": { - "name": "breakOutAtomicTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "inputTokens" - ], - "range": [ - [ - 123, - 24 - ], - [ - 134, - 1 - ] - ], - "doc": "~Private~" - } - }, - "134": { - "42": { - "name": "markLeadingAndTrailingWhitespaceTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 134, - 42 - ], - [ - 145, - 1 - ] - ], - "doc": "~Private~" - } - }, - "145": { - "13": { - "name": "isComment", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 145, - 13 - ], - [ - 154, - 1 - ] - ], - "doc": "~Private~" - } - }, - "154": { - "20": { - "name": "isOnlyWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 20 - ], - [ - 162, - 1 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "16": { - "name": "tokenAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 162, - 16 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "17": { - "name": "getTokenCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 17 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "24": { - "name": "bufferColumnForToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetToken" - ], - "range": [ - [ - 168, - 24 - ], - [ - 174, - 1 - ] - ], - "doc": "~Private~" - } - }, - "174": { - "16": { - "name": "getScopeTree", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 174, - 16 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "20": { - "name": "updateScopeStack", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 186, - 20 - ], - [ - 199, - 0 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "0": { - "type": "class", - "name": "Scope", - "classProperties": [], - "prototypeProperties": [ - [ - 201, - 15 - ] - ], - "doc": "~Private~", - "range": [ - [ - 200, - 0 - ], - [ - 202, - 18 - ] - ] - } - }, - "201": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 201, - 15 - ], - [ - 202, - 18 - ] - ] - } - } - }, - "exports": 5 - }, - "src/window-bootstrap.coffee": { - "objects": { - "1": { - "12": { - "name": "startTime", - "type": "function", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 21 - ] - ] - } - }, - "5": { - "7": { - "name": "Atom", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "path": "./atom" - } - }, - "6": { - "14": { - "name": "window.atom", - "type": "function", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 40 - ] - ] - } - } - }, - "exports": {} - }, - "src/window-event-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "2": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "3": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 3, - 8 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2" - } - }, - "9": { - "0": { - "type": "class", - "name": "WindowEventHandler", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 81, - 27 - ], - [ - 96, - 13 - ], - [ - 100, - 12 - ], - [ - 106, - 25 - ], - [ - 116, - 13 - ], - [ - 137, - 17 - ] - ], - "doc": "Private: Handles low-level events related to the window. ", - "range": [ - [ - 9, - 0 - ], - [ - 156, - 28 - ] - ] - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 12, - 15 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "27": { - "name": "handleNativeKeybindings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 81, - 27 - ], - [ - 96, - 1 - ] - ], - "doc": " Private: Wire commands that should be handled by the native menu\nfor elements with the `.native-key-bindings` class. " - } - }, - "96": { - "13": { - "name": "onKeydown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 96, - 13 - ], - [ - 100, - 1 - ] - ], - "doc": "~Private~" - } - }, - "100": { - "12": { - "name": "openLink", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 100, - 12 - ], - [ - 106, - 1 - ] - ], - "doc": "~Private~" - } - }, - "106": { - "25": { - "name": "eachTabIndexedElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 106, - 25 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "13": { - "name": "focusNext", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 13 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "17": { - "name": "focusPrevious", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 17 - ], - [ - 156, - 28 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 9 - }, - "src/window.coffee": { - "objects": { - "7": { - "17": { - "name": "window.measure", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "description", - "fn" - ], - "range": [ - [ - 7, - 17 - ], - [ - 20, - 51 - ] - ], - "doc": null - } - }, - "21": { - "17": { - "name": "window.profile", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "description", - "fn" - ], - "range": [ - [ - 21, - 17 - ], - [ - 26, - 9 - ] - ], - "doc": null - } - } - }, - "exports": {} - }, - "src/workspace-view.coffee": { - "objects": { - "0": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "4": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 4, - 12 - ], - [ - 4, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - }, - "12": { - "type": "import", - "range": [ - [ - 5, - 12 - ], - [ - 5, - 33 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "logDeprecationWarnings", - "exportsProperty": "logDeprecationWarnings" - } - }, - "6": { - "17": { - "name": "scrollbarStyle", - "type": "import", - "range": [ - [ - 6, - 17 - ], - [ - 6, - 41 - ] - ], - "bindingType": "variable", - "module": "scrollbar-style" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 5 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - }, - "8": { - "type": "import", - "range": [ - [ - 7, - 8 - ], - [ - 7, - 11 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "8": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 8, - 5 - ], - [ - 8, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2" - } - }, - "9": { - "12": { - "name": "Workspace", - "type": "import", - "range": [ - [ - 9, - 12 - ], - [ - 9, - 32 - ] - ], - "bindingType": "variable", - "path": "./workspace" - } - }, - "10": { - "19": { - "name": "CommandInstaller", - "type": "import", - "range": [ - [ - 10, - 19 - ], - [ - 10, - 47 - ] - ], - "bindingType": "variable", - "path": "./command-installer" - } - }, - "11": { - "13": { - "name": "EditorView", - "type": "import", - "range": [ - [ - 11, - 13 - ], - [ - 11, - 35 - ] - ], - "bindingType": "variable", - "path": "./editor-view" - } - }, - "12": { - "11": { - "name": "PaneView", - "type": "import", - "range": [ - [ - 12, - 11 - ], - [ - 12, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-view" - } - }, - "13": { - "17": { - "name": "PaneColumnView", - "type": "import", - "range": [ - [ - 13, - 17 - ], - [ - 13, - 44 - ] - ], - "bindingType": "variable", - "path": "./pane-column-view" - } - }, - "14": { - "14": { - "name": "PaneRowView", - "type": "import", - "range": [ - [ - 14, - 14 - ], - [ - 14, - 38 - ] - ], - "bindingType": "variable", - "path": "./pane-row-view" - } - }, - "15": { - "20": { - "name": "PaneContainerView", - "type": "import", - "range": [ - [ - 15, - 20 - ], - [ - 15, - 50 - ] - ], - "bindingType": "variable", - "path": "./pane-container-view" - } - }, - "16": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 16, - 9 - ], - [ - 16, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "55": { - "0": { - "type": "class", - "name": "WorkspaceView", - "bindingType": "exports", - "classProperties": [ - [ - 63, - 12 - ], - [ - 66, - 4 - ], - [ - 75, - 12 - ] - ], - "prototypeProperties": [ - [ - 81, - 14 - ], - [ - 168, - 12 - ], - [ - 171, - 24 - ], - [ - 191, - 15 - ], - [ - 205, - 15 - ], - [ - 209, - 16 - ], - [ - 213, - 15 - ], - [ - 223, - 12 - ], - [ - 233, - 18 - ], - [ - 238, - 16 - ], - [ - 242, - 15 - ], - [ - 247, - 19 - ], - [ - 252, - 18 - ], - [ - 257, - 17 - ], - [ - 262, - 16 - ], - [ - 267, - 18 - ], - [ - 272, - 17 - ], - [ - 281, - 21 - ], - [ - 287, - 17 - ], - [ - 291, - 25 - ], - [ - 294, - 21 - ], - [ - 297, - 22 - ], - [ - 300, - 22 - ], - [ - 303, - 23 - ], - [ - 306, - 24 - ], - [ - 315, - 16 - ], - [ - 325, - 16 - ], - [ - 336, - 18 - ], - [ - 344, - 16 - ], - [ - 347, - 21 - ], - [ - 350, - 23 - ], - [ - 353, - 23 - ], - [ - 356, - 18 - ], - [ - 368, - 12 - ], - [ - 373, - 12 - ], - [ - 378, - 17 - ], - [ - 383, - 21 - ] - ], - "doc": " Public: The top-level view for the entire window. An instance of this class is\navailable via the `atom.workspaceView` global.\n\nIt is backed by a model object, an instance of {Workspace}, which is available\nvia the `atom.workspace` global or {::getModel}. You should prefer to interact\nwith the model object when possible, but it won't always be possible with the\ncurrent API.\n\n## Adding Perimeter Panels\n\nUse the following methods if possible to attach panels to the perimeter of the\nworkspace rather than manipulating the DOM directly to better insulate you to\nchanges in the workspace markup:\n\n* {::prependToTop}\n* {::appendToTop}\n* {::prependToBottom}\n* {::appendToBottom}\n* {::prependToLeft}\n* {::appendToLeft}\n* {::prependToRight}\n* {::appendToRight}\n\n## Requiring in package specs\n\nIf you need a `WorkspaceView` instance to test your package, require it via\nthe built-in `atom` module.\n\n```coffee\n {WorkspaceView} = require 'atom'\n```\n\nYou can assign it to the `atom.workspaceView` global in the spec or just use\nit as a local, depending on what you're trying to accomplish. Building the\n`WorkspaceView` is currently expensive, so you should try build a {Workspace}\ninstead if possible. ", - "range": [ - [ - 55, - 0 - ], - [ - 385, - 25 - ] - ] - } - }, - "63": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 63, - 12 - ], - [ - 63, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "66": { - "4": { - "name": "configDefaults", - "type": "primitive", - "range": [ - [ - 66, - 4 - ], - [ - 73, - 23 - ] - ], - "bindingType": "classProperty" - } - }, - "75": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 75, - 12 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 81, - 14 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 12 - ], - [ - 168, - 20 - ] - ], - "doc": " Public: Get the underlying model object.\n\nReturns a {Workspace}. " - } - }, - "171": { - "24": { - "name": "installShellCommands", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 24 - ], - [ - 191, - 1 - ] - ], - "doc": "Public: Install the Atom shell commands on the user's system. " - } - }, - "191": { - "15": { - "name": "handleFocus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 191, - 15 - ], - [ - 205, - 1 - ] - ], - "doc": "~Private~" - } - }, - "205": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 205, - 15 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "16": { - "name": "confirmClose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 209, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": "Private: Prompts to save all unsaved items " - } - }, - "213": { - "15": { - "name": "updateTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 15 - ], - [ - 223, - 1 - ] - ], - "doc": "Private: Updates the application's title, based on whichever file is open. " - } - }, - "223": { - "12": { - "name": "setTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "title" - ], - "range": [ - [ - 223, - 12 - ], - [ - 233, - 1 - ] - ], - "doc": "Private: Sets the application's title. " - } - }, - "233": { - "18": { - "name": "getEditorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 233, - 18 - ], - [ - 238, - 1 - ] - ], - "doc": " Private: Get all editor views.\n\nYou should prefer {Workspace::getEditors} unless you absolutely need access\nto the view objects. Also consider using {::eachEditorView}, which will call\na callback for all current and *future* editor views.\n\nReturns an {Array} of {EditorView}s. " - } - }, - "238": { - "16": { - "name": "prependToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 238, - 16 - ], - [ - 242, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the top of the\nworkspace. " - } - }, - "242": { - "15": { - "name": "appendToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 242, - 15 - ], - [ - 247, - 1 - ] - ], - "doc": "Public: Append an element or view to the panels at the top of the workspace. " - } - }, - "247": { - "19": { - "name": "prependToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 247, - 19 - ], - [ - 252, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the bottom of the\nworkspace. " - } - }, - "252": { - "18": { - "name": "appendToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 252, - 18 - ], - [ - 257, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the bottom of the\nworkspace. " - } - }, - "257": { - "17": { - "name": "prependToLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 257, - 17 - ], - [ - 262, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the left of the\nworkspace. " - } - }, - "262": { - "16": { - "name": "appendToLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 262, - 16 - ], - [ - 267, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the left of the\nworkspace. " - } - }, - "267": { - "18": { - "name": "prependToRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 267, - 18 - ], - [ - 272, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the right of the\nworkspace. " - } - }, - "272": { - "17": { - "name": "appendToRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 272, - 17 - ], - [ - 281, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the right of the\nworkspace. " - } - }, - "281": { - "21": { - "name": "getActivePaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 281, - 21 - ], - [ - 287, - 1 - ] - ], - "doc": " Public: Get the active pane view.\n\nPrefer {Workspace::getActivePane} if you don't actually need access to the\nview.\n\nReturns a {PaneView}. " - } - }, - "287": { - "17": { - "name": "getActiveView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 287, - 17 - ], - [ - 291, - 1 - ] - ], - "doc": " Public: Get the view associated with the active pane item.\n\nReturns a view. " - } - }, - "291": { - "25": { - "name": "focusPreviousPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 291, - 25 - ], - [ - 291, - 56 - ] - ], - "doc": "Private: Focus the previous pane by id. " - } - }, - "294": { - "21": { - "name": "focusNextPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 294, - 21 - ], - [ - 294, - 48 - ] - ], - "doc": "Private: Focus the next pane by id. " - } - }, - "297": { - "22": { - "name": "focusPaneViewAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 22 - ], - [ - 297, - 51 - ] - ], - "doc": "Public: Focus the pane directly above the active pane. " - } - }, - "300": { - "22": { - "name": "focusPaneViewBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 300, - 22 - ], - [ - 300, - 51 - ] - ], - "doc": "Public: Focus the pane directly below the active pane. " - } - }, - "303": { - "23": { - "name": "focusPaneViewOnLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 303, - 23 - ], - [ - 303, - 53 - ] - ], - "doc": "Public: Focus the pane directly to the left of the active pane. " - } - }, - "306": { - "24": { - "name": "focusPaneViewOnRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 306, - 24 - ], - [ - 306, - 55 - ] - ], - "doc": "Public: Focus the pane directly to the right of the active pane. " - } - }, - "315": { - "16": { - "name": "eachPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 315, - 16 - ], - [ - 325, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\npane view in the workspace.\n\ncallback - A {Function} with a {PaneView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "325": { - "16": { - "name": "getPaneViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 325, - 16 - ], - [ - 336, - 1 - ] - ], - "doc": " Public: Get all existing pane views.\n\nPrefer {Workspace::getPanes} if you don't need access to the view objects.\nAlso consider using {::eachPaneView} if you want to register a callback for\nall current and *future* pane views.\n\nReturns an Array of all open {PaneView}s. " - } - }, - "336": { - "18": { - "name": "eachEditorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 336, - 18 - ], - [ - 344, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\neditor view in the workspace (only includes {EditorView}s that are pane\nitems).\n\ncallback - A {Function} with an {EditorView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "344": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 344, - 16 - ], - [ - 347, - 1 - ] - ], - "doc": "Private: Called by SpacePen " - } - }, - "347": { - "21": { - "name": "setEditorFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 347, - 21 - ], - [ - 350, - 1 - ] - ], - "doc": "~Private~" - } - }, - "350": { - "23": { - "name": "setEditorFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 350, - 23 - ], - [ - 353, - 1 - ] - ], - "doc": "~Private~" - } - }, - "353": { - "23": { - "name": "setEditorLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 353, - 23 - ], - [ - 356, - 1 - ] - ], - "doc": "~Private~" - } - }, - "356": { - "18": { - "name": "setEditorStyle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "property", - "value" - ], - "range": [ - [ - 356, - 18 - ], - [ - 368, - 1 - ] - ], - "doc": "~Private~" - } - }, - "368": { - "12": { - "name": "eachPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 368, - 12 - ], - [ - 373, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "373": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 373, - 12 - ], - [ - 378, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "378": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 378, - 17 - ], - [ - 383, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "383": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 383, - 21 - ], - [ - 385, - 25 - ] - ], - "doc": "Deprecated: Call {Workspace::getActivePaneItem} instead. " - } - } - }, - "exports": 55 - }, - "src/workspace.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 4 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true, - "name": "join", - "exportsProperty": "join" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "4": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 4, - 4 - ], - [ - 4, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "5": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 5, - 15 - ], - [ - 5, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "6": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 6, - 12 - ], - [ - 6, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato" - } - }, - "7": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "8": { - "16": { - "name": "PaneContainer", - "type": "import", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 41 - ] - ], - "bindingType": "variable", - "path": "./pane-container" - } - }, - "9": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 9, - 7 - ], - [ - 9, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "18": { - "0": { - "type": "class", - "name": "Workspace", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 47, - 21 - ], - [ - 55, - 19 - ], - [ - 60, - 37 - ], - [ - 74, - 15 - ], - [ - 84, - 14 - ], - [ - 91, - 14 - ], - [ - 118, - 8 - ], - [ - 135, - 15 - ], - [ - 150, - 12 - ], - [ - 168, - 17 - ], - [ - 193, - 14 - ], - [ - 200, - 18 - ], - [ - 217, - 18 - ], - [ - 221, - 20 - ], - [ - 224, - 14 - ], - [ - 230, - 17 - ], - [ - 236, - 12 - ], - [ - 240, - 11 - ], - [ - 244, - 20 - ], - [ - 248, - 24 - ], - [ - 254, - 14 - ], - [ - 260, - 21 - ], - [ - 269, - 22 - ], - [ - 277, - 24 - ], - [ - 284, - 25 - ], - [ - 288, - 21 - ], - [ - 295, - 19 - ], - [ - 299, - 20 - ], - [ - 303, - 20 - ], - [ - 308, - 17 - ], - [ - 312, - 14 - ], - [ - 317, - 23 - ], - [ - 322, - 13 - ] - ], - "doc": " Public: Represents the state of the user interface for the entire window.\nAn instance of this class is available via the `atom.workspace` global.\n\nInteract with this object to open files, be notified of current and future\neditors, and manipulate panes. To add panels, you'll need to use the\n{WorkspaceView} class for now until we establish APIs at the model layer. ", - "range": [ - [ - 18, - 0 - ], - [ - 323, - 28 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 15 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 47, - 21 - ], - [ - 55, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during deserialization " - } - }, - "55": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 19 - ], - [ - 60, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during serialization. " - } - }, - "60": { - "37": { - "name": "getPackageNamesWithActiveGrammars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 60, - 37 - ], - [ - 74, - 1 - ] - ], - "doc": "~Private~" - } - }, - "74": { - "15": { - "name": "editorAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 74, - 15 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "14": { - "name": "eachEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 84, - 14 - ], - [ - 91, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\n{Editor} in the workspace.\n\ncallback - A {Function} with an {Editor} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "91": { - "14": { - "name": "getEditors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 14 - ], - [ - 118, - 1 - ] - ], - "doc": " Public: Get all current editors in the workspace.\n\nReturns an {Array} of {Editor}s. " - } - }, - "118": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "options" - ], - "range": [ - [ - 118, - 8 - ], - [ - 135, - 1 - ] - ], - "doc": " Public: Open a given a URI in Atom asynchronously.\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :split - Either 'left' or 'right'. If 'left', the item will be opened in\n leftmost pane of the current active pane's row. If 'right', the\n item will be opened in the rightmost pane of the current active\n pane's row.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`.\n :searchAllPanes - A {Boolean}. If `true`, the workspace will attempt to\n activate an existing item for the given URI on any pane.\n If `false`, only the active pane will be searched for\n an existing item for the same URI. Defaults to `false`.\n\nReturns a promise that resolves to the {Editor} for the file URI. " - } - }, - "135": { - "15": { - "name": "openLicense", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 135, - 15 - ], - [ - 150, - 1 - ] - ], - "doc": "Public: Open Atom's license in the active pane. " - } - }, - "150": { - "12": { - "name": "openSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "options" - ], - "range": [ - [ - 150, - 12 - ], - [ - 168, - 1 - ] - ], - "doc": " Private: Synchronously open the given URI in the active pane. **Only use this method\nin specs. Calling this in production code will block the UI thread and\neveryone will be mad at you.**\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`. " - } - }, - "168": { - "17": { - "name": "openUriInPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "pane", - "options" - ], - "range": [ - [ - 168, - 17 - ], - [ - 193, - 1 - ] - ], - "doc": "~Private~" - } - }, - "193": { - "14": { - "name": "reopenItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 193, - 14 - ], - [ - 200, - 1 - ] - ], - "doc": " Public: Asynchronously reopens the last-closed item's URI if it hasn't already been\nreopened.\n\nReturns a promise that is resolved when the item is opened " - } - }, - "200": { - "18": { - "name": "reopenItemSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 200, - 18 - ], - [ - 217, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "217": { - "18": { - "name": "registerOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 217, - 18 - ], - [ - 221, - 1 - ] - ], - "doc": " Public: Register an opener for a uri.\n\nAn {Editor} will be used if no openers return a value.\n\n## Example\n```coffeescript\n atom.project.registerOpener (uri) ->\n if path.extname(uri) is '.toml'\n return new TomlEditor(uri)\n```\n\nopener - A {Function} to be called when a path is being opened. " - } - }, - "221": { - "20": { - "name": "unregisterOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 221, - 20 - ], - [ - 224, - 1 - ] - ], - "doc": "Public: Unregister an opener registered with {::registerOpener}. " - } - }, - "224": { - "14": { - "name": "getOpeners", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 14 - ], - [ - 230, - 1 - ] - ], - "doc": "~Private~" - } - }, - "230": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 230, - 17 - ], - [ - 236, - 1 - ] - ], - "doc": " Public: Get the active {Pane}.\n\nReturns a {Pane}. " - } - }, - "236": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 236, - 12 - ], - [ - 240, - 1 - ] - ], - "doc": " Public: Get all {Pane}s.\n\nReturns an {Array} of {Pane}s. " - } - }, - "240": { - "11": { - "name": "saveAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 240, - 11 - ], - [ - 244, - 1 - ] - ], - "doc": "Public: Save all pane items. " - } - }, - "244": { - "20": { - "name": "activateNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 244, - 20 - ], - [ - 248, - 1 - ] - ], - "doc": "Public: Make the next pane active. " - } - }, - "248": { - "24": { - "name": "activatePreviousPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 248, - 24 - ], - [ - 254, - 1 - ] - ], - "doc": "Public: Make the previous pane active. " - } - }, - "254": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 254, - 14 - ], - [ - 260, - 1 - ] - ], - "doc": " Public: Get the first pane {Pane} with an item for the given URI.\n\nReturns a {Pane} or `undefined` if no pane exists for the given URI. " - } - }, - "260": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 21 - ], - [ - 269, - 1 - ] - ], - "doc": " Public: Get the active {Pane}'s active item.\n\nReturns an pane item {Object}. " - } - }, - "269": { - "22": { - "name": "saveActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 22 - ], - [ - 277, - 1 - ] - ], - "doc": " Public: Save the active pane item.\n\nIf the active pane item currently has a URI according to the item's\n`.getUri` method, calls `.save` on the item. Otherwise\n{::saveActivePaneItemAs} # will be called instead. This method does nothing\nif the active item does not implement a `.save` method. " - } - }, - "277": { - "24": { - "name": "saveActivePaneItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 277, - 24 - ], - [ - 284, - 1 - ] - ], - "doc": " Public: Prompt the user for a path and save the active pane item to it.\n\nOpens a native dialog where the user selects a path on disk, then calls\n`.saveAs` on the item with the selected path. This method does nothing if\nthe active item does not implement a `.saveAs` method. " - } - }, - "284": { - "25": { - "name": "destroyActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 25 - ], - [ - 288, - 1 - ] - ], - "doc": " Public: Destroy (close) the active pane item.\n\nRemoves the active pane item and calls the `.destroy` method on it if one is\ndefined. " - } - }, - "288": { - "21": { - "name": "destroyActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 288, - 21 - ], - [ - 295, - 1 - ] - ], - "doc": "Public: Destroy (close) the active pane. " - } - }, - "295": { - "19": { - "name": "getActiveEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 295, - 19 - ], - [ - 299, - 1 - ] - ], - "doc": " Public: Get the active item if it is an {Editor}.\n\nReturns an {Editor} or `undefined` if the current active item is not an\n{Editor}. " - } - }, - "299": { - "20": { - "name": "increaseFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 299, - 20 - ], - [ - 303, - 1 - ] - ], - "doc": "Public: Increase the editor font size by 1px. " - } - }, - "303": { - "20": { - "name": "decreaseFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 303, - 20 - ], - [ - 308, - 1 - ] - ], - "doc": "Public: Decrease the editor font size by 1px. " - } - }, - "308": { - "17": { - "name": "resetFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 308, - 17 - ], - [ - 312, - 1 - ] - ], - "doc": "Public: Restore to a default editor font size. " - } - }, - "312": { - "14": { - "name": "itemOpened", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 312, - 14 - ], - [ - 317, - 1 - ] - ], - "doc": "Private: Removes the item's uri from the list of potential items to reopen. " - } - }, - "317": { - "23": { - "name": "onPaneItemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 317, - 23 - ], - [ - 322, - 1 - ] - ], - "doc": "Private: Adds the destroyed item's uri to the list of items to reopen. " - } - }, - "322": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 322, - 13 - ], - [ - 323, - 28 - ] - ], - "doc": "Private: Called by Model superclass when destroyed " - } - } - }, - "exports": 18 - }, - "src/key-binding.coffee": { - "objects": { - "0": { - "7": { - "name": "Grim", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "grim" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "calculateSpecificity", - "exportsProperty": "calculateSpecificity" - } - }, - "4": { - "0": { - "type": "class", - "name": "KeyBinding", - "bindingType": "exports", - "classProperties": [ - [ - 5, - 17 - ] - ], - "prototypeProperties": [ - [ - 7, - 11 - ], - [ - 9, - 15 - ], - [ - 23, - 11 - ], - [ - 30, - 11 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 34, - 43 - ] - ] - } - }, - "5": { - "17": { - "name": "currentIndex", - "type": "primitive", - "range": [ - [ - 5, - 17 - ], - [ - 5, - 17 - ] - ], - "bindingType": "classProperty" - } - }, - "7": { - "11": { - "name": "enabled", - "type": "primitive", - "range": [ - [ - 7, - 11 - ], - [ - 7, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null, - null, - "selector" - ], - "range": [ - [ - 9, - 15 - ], - [ - 23, - 1 - ] - ], - "doc": "~Private~" - } - }, - "23": { - "11": { - "name": "matches", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystroke" - ], - "range": [ - [ - 23, - 11 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyBinding" - ], - "range": [ - [ - 30, - 11 - ], - [ - 34, - 43 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/keymap-manager.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "1": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1" - } - }, - "2": { - "7": { - "name": "Grim", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "grim" - } - }, - "3": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 3, - 5 - ], - [ - 3, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2" - } - }, - "4": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 4 - ] - ], - "bindingType": "variable", - "module": "pathwatcher", - "name": "File", - "exportsProperty": "File" - } - }, - "7": { - "13": { - "name": "KeyBinding", - "type": "import", - "range": [ - [ - 7, - 13 - ], - [ - 7, - 35 - ] - ], - "bindingType": "variable", - "path": "./key-binding" - } - }, - "8": { - "15": { - "name": "CommandEvent", - "type": "import", - "range": [ - [ - 8, - 15 - ], - [ - 8, - 39 - ] - ], - "bindingType": "variable", - "path": "./command-event" - } - }, - "9": { - "1": { - "type": "import", - "range": [ - [ - 9, - 1 - ], - [ - 9, - 19 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "normalizeKeystrokes", - "exportsProperty": "normalizeKeystrokes" - }, - "22": { - "type": "import", - "range": [ - [ - 9, - 22 - ], - [ - 9, - 46 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "keystrokeForKeyboardEvent", - "exportsProperty": "keystrokeForKeyboardEvent" - }, - "49": { - "type": "import", - "range": [ - [ - 9, - 49 - ], - [ - 9, - 62 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "isAtomModifier", - "exportsProperty": "isAtomModifier" - }, - "65": { - "type": "import", - "range": [ - [ - 9, - 65 - ], - [ - 9, - 76 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "keydownEvent", - "exportsProperty": "keydownEvent" - } - }, - "11": { - "12": { - "type": "primitive", - "range": [ - [ - 11, - 12 - ], - [ - 11, - 59 - ] - ] - } - }, - "12": { - "17": { - "name": "OtherPlatforms", - "type": "function", - "range": [ - [ - 12, - 17 - ], - [ - 12, - 77 - ] - ] - } - }, - "84": { - "0": { - "type": "class", - "name": "KeymapManager", - "bindingType": "exports", - "classProperties": [ - [ - 99, - 17 - ] - ], - "prototypeProperties": [ - [ - 103, - 23 - ], - [ - 105, - 17 - ], - [ - 106, - 25 - ], - [ - 107, - 29 - ], - [ - 117, - 15 - ], - [ - 125, - 11 - ], - [ - 132, - 18 - ], - [ - 141, - 7 - ], - [ - 164, - 14 - ], - [ - 179, - 15 - ], - [ - 190, - 10 - ], - [ - 212, - 23 - ], - [ - 289, - 19 - ], - [ - 314, - 16 - ], - [ - 324, - 14 - ], - [ - 338, - 27 - ], - [ - 345, - 21 - ], - [ - 349, - 23 - ], - [ - 365, - 22 - ], - [ - 385, - 20 - ], - [ - 390, - 25 - ], - [ - 394, - 21 - ], - [ - 400, - 22 - ], - [ - 410, - 25 - ], - [ - 427, - 24 - ], - [ - 446, - 36 - ], - [ - 460, - 29 - ], - [ - 464, - 13 - ], - [ - 469, - 16 - ], - [ - 475, - 18 - ], - [ - 484, - 27 - ], - [ - 490, - 12 - ], - [ - 497, - 25 - ], - [ - 502, - 27 - ], - [ - 507, - 30 - ], - [ - 513, - 40 - ], - [ - 519, - 42 - ] - ], - "doc": " Public: Allows commands to be associated with keystrokes in a\ncontext-sensitive way. In Atom, you can access a global instance of this\nobject via `atom.keymap`.\n\nKey bindings are plain JavaScript objects containing **CSS selectors** as\ntheir top level keys, then **keystroke patterns** mapped to commands.\n\n```cson\n'.workspace':\n 'ctrl-l': 'package:do-something'\n 'ctrl-z': 'package:do-something-else'\n'.mini.editor':\n 'enter': 'core:confirm'\n```\n\nWhen a keystroke sequence matches a binding in a given context, a custom DOM\nevent with a type based on the command is dispatched on the target of the\nkeyboard event.\n\nTo match a keystroke sequence, the keymap starts at the target element for the\nkeyboard event. It looks for key bindings associated with selectors that match\nthe target element. If multiple match, the most specific is selected. If there\nis a tie in specificity, the most recently added binding wins. If no bindings\nare found for the events target, the search is repeated again for the target's\nparent node and so on recursively until a binding is found or we traverse off\nthe top of the document.\n\nWhen a binding is found, its command event is always dispatched on the\noriginal target of the keyboard event, even if the matching element is higher\nup in the DOM. In addition, `.preventDefault()` is called on the keyboard\nevent to prevent the browser from taking action. `.preventDefault` is only\ncalled if a matching binding is found.\n\nCommand event objects have a non-standard method called `.abortKeyBinding()`.\nIf your command handler is invoked but you programmatically determine that no\naction can be taken and you want to allow other bindings to be matched, call\n`.abortKeyBinding()` on the event object. An example of where this is useful\nis binding snippet expansion to `tab`. If `snippets:expand` is invoked when\nthe cursor does not follow a valid snippet prefix, we abort the binding and\nallow `tab` to be handled by the default handler, which inserts whitespace.\n\nMulti-keystroke bindings are possible. If a sequence of one or more keystrokes\n*partially* matches a multi-keystroke binding, the keymap enters a pending\nstate. The pending state is terminated on the next keystroke, or after\n{::partialMatchTimeout} milliseconds has elapsed. When the pending state is\nterminated via a timeout or a keystroke that leads to no matches, the longest\nambiguous bindings that caused the pending state are temporarily disabled and\nthe previous keystrokes are replayed. If there is ambiguity again during the\nreplay, the next longest bindings are disabled and the keystrokes are replayed\nagain.\n\n## Events\n\n* `matched` -\n Emitted when keystrokes match a binding.\n * keystrokes - The keystroke {String} that matched the binding\n * binding - The {KeyBinding} that was used\n * keyboardEventTarget - The target element of the keyboard event\n\n* `matched-partially` -\n Emitted when keystrokes partially match one or more bindings.\n * keystrokes - The keystroke {String} that partially match some bindings\n * partiallyMatchedBindings - The {KeyBinding}s that partially matched\n * keyboardEventTarget - The target element of the keyboard event\n\n* `match-failed` -\n Emitted when keystrokes don't match any bindings.\n * keystrokes - The keystroke {String} that matched no bindings\n * keyboardEventTarget - The target element of the keyboard event ", - "range": [ - [ - 84, - 0 - ], - [ - 521, - 62 - ] - ] - } - }, - "99": { - "17": { - "name": "keydownEvent", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "key", - "options" - ], - "range": [ - [ - 99, - 17 - ], - [ - 99, - 60 - ] - ], - "doc": " Public: Create a keydown DOM event for testing purposes.\n\nkey - The key or keyIdentifier of the event. For example, 'a', '1',\n 'escape', 'backspace', etc.\noptions - An {Object} containing any of the following:\n :ctrl - A {Boolean} indicating the ctrl modifier key\n :alt - A {Boolean} indicating the alt modifier key\n :shift - A {Boolean} indicating the shift modifier key\n :cmd - A {Boolean} indicating the cmd modifier key\n :which - A {Number} indicating `which` value of the event. See\n the docs for KeyboardEvent for more information.\n :target - The target element of the event. " - } - }, - "103": { - "23": { - "name": "partialMatchTimeout", - "type": "primitive", - "range": [ - [ - 103, - 23 - ], - [ - 103, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "105": { - "17": { - "name": "defaultTarget", - "type": "primitive", - "range": [ - [ - 105, - 17 - ], - [ - 105, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "106": { - "25": { - "name": "pendingPartialMatches", - "type": "primitive", - "range": [ - [ - 106, - 25 - ], - [ - 106, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "107": { - "29": { - "name": "pendingStateTimeoutHandle", - "type": "primitive", - "range": [ - [ - 107, - 29 - ], - [ - 107, - 32 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "117": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 117, - 15 - ], - [ - 125, - 1 - ] - ], - "doc": " Public:\n\noptions - An {Object} containing properties to assign to the keymap: You can\n pass custom properties to be used by extension methods. The following\n properties are also supported:\n :defaultTarget - This will be used as the target of events whose target\n is `document.body` to allow for a catch-all element when nothing is\n focused " - } - }, - "125": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 125, - 11 - ], - [ - 132, - 1 - ] - ], - "doc": "Public: Unwatch all watched paths. " - } - }, - "132": { - "18": { - "name": "getKeyBindings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 132, - 18 - ], - [ - 141, - 1 - ] - ], - "doc": " Public: Get all current key bindings.\n\nReturns an {Array} of {KeyBinding}s. " - } - }, - "141": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source", - "keyBindingsBySelector" - ], - "range": [ - [ - 141, - 7 - ], - [ - 164, - 1 - ] - ], - "doc": " Public: Add sets of key bindings grouped by CSS selector.\n\nsource - A {String} (usually a path) uniquely identifying the given bindings\n so they can be removed later.\nbindings - An {Object} whose top-level keys point at sub-objects mapping\n keystroke patterns to commands. " - } - }, - "164": { - "14": { - "name": "loadKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bindingsPath", - "options" - ], - "range": [ - [ - 164, - 14 - ], - [ - 179, - 1 - ] - ], - "doc": " Public: Load the key bindings from the given path.\n\npath - A {String} containing a path to a file or a directory. If the path is\n a directory, all files inside it will be loaded.\noptions - An {Object} containing the following optional keys:\n :watch - If `true`, the keymap will also reload the file at the given path\n whenever it changes. This option cannot be used with directory paths. " - } - }, - "179": { - "15": { - "name": "watchKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 179, - 15 - ], - [ - 190, - 1 - ] - ], - "doc": " Public: Cause the keymap to reload the key bindings file at the given path\nwhenever it changes.\n\nThis method doesn't perform the initial load of the key bindings file. If\nthat's what you're looking for, call {::loadKeymap} with `watch: true`. " - } - }, - "190": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source" - ], - "range": [ - [ - 190, - 10 - ], - [ - 212, - 1 - ] - ], - "doc": " Public: Remove the key bindings added with {::addKeymap} or\n{::loadKeymap}.\n\nsource - A {String} representing the `source` in a previous call to\n {::addKeymap} or the path in {::loadKeymap}. " - } - }, - "212": { - "23": { - "name": "handleKeyboardEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event", - "replaying" - ], - "range": [ - [ - 212, - 23 - ], - [ - 289, - 1 - ] - ], - "doc": " Public: Dispatch a custom event associated with the matching key binding for\nthe given `KeyboardEvent` if one can be found.\n\nIf a matching binding is found on the event's target or one of its\nancestors, `.preventDefault()` is called on the keyboard event and the\nbinding's command is emitted as a custom event on the matching element.\n\nIf the matching binding's command is 'native!', the method will terminate\nwithout calling `.preventDefault()` on the keyboard event, allowing the\nbrowser to handle it as normal.\n\nIf the matching binding's command is 'unset!', the search will continue from\nthe current element's parent.\n\nIf the matching binding's command is 'abort!', the search will terminate\nwithout dispatching a command event.\n\nIf the event's target is `document.body`, it will be treated as if its\ntarget is `.defaultTarget` if that property is assigned on the keymap. " - } - }, - "289": { - "19": { - "name": "findKeyBindings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 289, - 19 - ], - [ - 314, - 1 - ] - ], - "doc": " Public: Get the key bindings for a given command and optional target.\n\nparams - An {Object} whose keys constrain the binding search:\n :keystrokes - A {String} representing one or more keystrokes, such as\n 'ctrl-x ctrl-s'\n :command - A {String} representing the name of a command, such as\n 'editor:backspace'\n :target - An optional DOM element constraining the search. If this\n parameter is supplied, the call will only return bindings that can be\n invoked by a KeyboardEvent originating from the target element. " - } - }, - "314": { - "16": { - "name": "reloadKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 314, - 16 - ], - [ - 324, - 1 - ] - ], - "doc": " Private: Called by the path watcher callback to reload a file at the given path. If\nwe can't read the file cleanly, we don't proceed with the reload. " - } - }, - "324": { - "14": { - "name": "readKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "suppressErrors" - ], - "range": [ - [ - 324, - 14 - ], - [ - 338, - 1 - ] - ], - "doc": "~Private~" - } - }, - "338": { - "27": { - "name": "filePathMatchesPlatform", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 338, - 27 - ], - [ - 345, - 1 - ] - ], - "doc": " Private: Determine if the given path should be loaded on this platform. If the\nfilename has the pattern '.cson' or 'foo..cson' and\n does not match the current platform, returns false. Otherwise\nreturns true. " - } - }, - "345": { - "21": { - "name": "getOtherPlatforms", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 345, - 21 - ], - [ - 345, - 37 - ] - ], - "doc": "Private: For testing purposes " - } - }, - "349": { - "23": { - "name": "findMatchCandidates", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystrokes" - ], - "range": [ - [ - 349, - 23 - ], - [ - 365, - 1 - ] - ], - "doc": " Private: Finds all key bindings whose keystrokes match the given keystrokes. Returns\nboth partial and exact matches. " - } - }, - "365": { - "22": { - "name": "findPartialMatches", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "partialMatchCandidates", - "target" - ], - "range": [ - [ - 365, - 22 - ], - [ - 385, - 1 - ] - ], - "doc": " Private: Determine which of the given bindings have selectors matching the target or\none of its ancestors. This is used by {::handleKeyboardEvent} to determine\nif there are any partial matches for the keyboard event. " - } - }, - "385": { - "20": { - "name": "findExactMatches", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "exactMatchCandidates", - "target" - ], - "range": [ - [ - 385, - 20 - ], - [ - 390, - 1 - ] - ], - "doc": " Private: Find the matching bindings among the given candidates for the given target,\nordered by specificity. Does not traverse up the target's ancestors. This is\nused by {::handleKeyboardEvent} to find a matching binding when there are no\npartially-matching bindings. " - } - }, - "390": { - "25": { - "name": "clearQueuedKeystrokes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 390, - 25 - ], - [ - 394, - 1 - ] - ], - "doc": "~Private~" - } - }, - "394": { - "21": { - "name": "enterPendingState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pendingPartialMatches", - "enableTimeout" - ], - "range": [ - [ - 394, - 21 - ], - [ - 400, - 1 - ] - ], - "doc": "~Private~" - } - }, - "400": { - "22": { - "name": "cancelPendingState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 400, - 22 - ], - [ - 410, - 1 - ] - ], - "doc": "~Private~" - } - }, - "410": { - "25": { - "name": "terminatePendingState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 410, - 25 - ], - [ - 427, - 1 - ] - ], - "doc": " Private: This is called by {::handleKeyboardEvent} when no matching bindings are\nfound for the currently queued keystrokes or by the pending state timeout.\nIt disables the longest of the pending partially matching bindings, then\nreplays the queued keyboard events to allow any bindings with shorter\nkeystroke sequences to be matched unambiguously. " - } - }, - "427": { - "24": { - "name": "dispatchCommandEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "target", - "keyboardEvent" - ], - "range": [ - [ - 427, - 24 - ], - [ - 446, - 1 - ] - ], - "doc": " Private: After we match a binding, we call this method to dispatch a custom event\nbased on the binding's command. " - } - }, - "446": { - "36": { - "name": "simulateBubblingOnDetachedTarget", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "target", - "commandEvent" - ], - "range": [ - [ - 446, - 36 - ], - [ - 460, - 1 - ] - ], - "doc": " Private: Chromium does not bubble events dispatched on detached targets, which makes\ntesting a pain in the ass. This method simulates bubbling manually. " - } - }, - "460": { - "29": { - "name": "keystrokeForKeyboardEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 460, - 29 - ], - [ - 464, - 1 - ] - ], - "doc": " Public: Translate a keydown event to a keystroke string.\n\nevent - A `KeyboardEvent` of type 'keydown'\n\nReturns a {String} describing the keystroke. " - } - }, - "464": { - "13": { - "name": "addKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source", - "bindings" - ], - "range": [ - [ - 464, - 13 - ], - [ - 469, - 1 - ] - ], - "doc": "Deprecated: Use {::addKeymap} instead. " - } - }, - "469": { - "16": { - "name": "removeKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source" - ], - "range": [ - [ - 469, - 16 - ], - [ - 475, - 1 - ] - ], - "doc": "Deprecated: Use {::removeKeymap} instead. " - } - }, - "475": { - "18": { - "name": "handleKeyEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 475, - 18 - ], - [ - 484, - 1 - ] - ], - "doc": " Deprecated: Handle a jQuery keyboard event. Use {::handleKeyboardEvent} with\na raw keyboard event instead. " - } - }, - "484": { - "27": { - "name": "keystrokeStringForEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 484, - 27 - ], - [ - 490, - 1 - ] - ], - "doc": " Deprecated: Translate a jQuery keyboard event to a keystroke string. Use\n{::keystrokeForKeyboardEvent} with a raw KeyboardEvent instead. " - } - }, - "490": { - "12": { - "name": "bindKeys", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source", - "selector", - "keyBindings" - ], - "range": [ - [ - 490, - 12 - ], - [ - 497, - 1 - ] - ], - "doc": " Deprecated: Use {::addKeymap} with a map from selectors to key\nbindings. " - } - }, - "497": { - "25": { - "name": "keyBindingsForCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command" - ], - "range": [ - [ - 497, - 25 - ], - [ - 502, - 1 - ] - ], - "doc": "Deprecated: Use {::findKeyBindings} with the 'command' param. " - } - }, - "502": { - "27": { - "name": "keyBindingsForKeystroke", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystroke" - ], - "range": [ - [ - 502, - 27 - ], - [ - 507, - 1 - ] - ], - "doc": "Deprecated: Use {::findKeyBindings} with the 'keystrokes' param. " - } - }, - "507": { - "30": { - "name": "keyBindingsMatchingElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "target", - "keyBindings" - ], - "range": [ - [ - 507, - 30 - ], - [ - 513, - 1 - ] - ], - "doc": "Deprecated: Use {::findKeyBindings} with the 'target' param. " - } - }, - "513": { - "40": { - "name": "keyBindingsForCommandMatchingElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "target" - ], - "range": [ - [ - 513, - 40 - ], - [ - 519, - 1 - ] - ], - "doc": " Deprecated: Use {::findKeyBindings} with the 'command' and 'target'\nparams " - } - }, - "519": { - "42": { - "name": "keyBindingsForKeystrokeMatchingElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystrokes", - "target" - ], - "range": [ - [ - 519, - 42 - ], - [ - 521, - 62 - ] - ], - "doc": " Deprecated: Use {::findKeyBindings} with the 'keystrokes' and 'target'\nparams " - } - } - }, - "exports": 84 - }, "src/grammar-registry.coffee": { "objects": { "0": { @@ -164965,56273 +56289,6 @@ "repository": "https://github.com/atom/node-pathwatcher.git", "version": "2.0.6", "files": { - "src/atom.coffee": { - "objects": { - "0": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 0, - 9 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "1": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "2": { - "5": { - "name": "os", - "type": "import", - "range": [ - [ - 2, - 5 - ], - [ - 2, - 16 - ] - ], - "bindingType": "variable", - "module": "os", - "builtin": true - } - }, - "3": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "4": { - "9": { - "name": "remote", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 24 - ] - ], - "bindingType": "variable", - "module": "remote" - } - }, - "5": { - "9": { - "name": "screen", - "type": "import", - "range": [ - [ - 5, - 9 - ], - [ - 5, - 24 - ] - ], - "bindingType": "variable", - "module": "screen" - } - }, - "6": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 6, - 8 - ], - [ - 6, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "8": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 8, - 4 - ], - [ - 8, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "9": { - "1": { - "type": "import", - "range": [ - [ - 9, - 1 - ], - [ - 9, - 10 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecated", - "exportsProperty": "deprecated" - } - }, - "10": { - "1": { - "type": "import", - "range": [ - [ - 10, - 1 - ], - [ - 10, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "11": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 11, - 5 - ], - [ - 11, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.1" - } - }, - "13": { - "1": { - "type": "import", - "range": [ - [ - 13, - 1 - ], - [ - 13, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "14": { - "21": { - "name": "WindowEventHandler", - "type": "import", - "range": [ - [ - 14, - 21 - ], - [ - 14, - 52 - ] - ], - "bindingType": "variable", - "path": "./window-event-handler" - } - }, - "35": { - "0": { - "type": "class", - "name": "Atom", - "bindingType": "exports", - "classProperties": [ - [ - 36, - 12 - ], - [ - 44, - 17 - ], - [ - 48, - 16 - ], - [ - 53, - 14 - ], - [ - 71, - 17 - ], - [ - 89, - 21 - ], - [ - 95, - 22 - ], - [ - 99, - 20 - ], - [ - 109, - 21 - ] - ], - "prototypeProperties": [ - [ - 112, - 31 - ], - [ - 115, - 15 - ], - [ - 123, - 14 - ], - [ - 177, - 31 - ], - [ - 181, - 33 - ], - [ - 184, - 24 - ], - [ - 188, - 20 - ], - [ - 194, - 23 - ], - [ - 211, - 23 - ], - [ - 221, - 21 - ], - [ - 224, - 32 - ], - [ - 229, - 30 - ], - [ - 246, - 27 - ], - [ - 252, - 25 - ], - [ - 259, - 19 - ], - [ - 262, - 22 - ], - [ - 269, - 28 - ], - [ - 281, - 28 - ], - [ - 285, - 27 - ], - [ - 292, - 21 - ], - [ - 320, - 22 - ], - [ - 336, - 14 - ], - [ - 339, - 15 - ], - [ - 353, - 8 - ], - [ - 377, - 11 - ], - [ - 397, - 18 - ], - [ - 400, - 22 - ], - [ - 407, - 16 - ], - [ - 411, - 18 - ], - [ - 415, - 31 - ], - [ - 419, - 10 - ], - [ - 423, - 9 - ], - [ - 428, - 8 - ], - [ - 432, - 8 - ], - [ - 439, - 11 - ], - [ - 446, - 15 - ], - [ - 450, - 10 - ], - [ - 457, - 17 - ], - [ - 464, - 9 - ], - [ - 467, - 8 - ], - [ - 473, - 13 - ], - [ - 477, - 14 - ], - [ - 481, - 20 - ], - [ - 485, - 17 - ], - [ - 490, - 16 - ], - [ - 496, - 14 - ], - [ - 500, - 21 - ], - [ - 506, - 20 - ], - [ - 509, - 12 - ], - [ - 523, - 21 - ], - [ - 526, - 20 - ], - [ - 529, - 22 - ], - [ - 533, - 8 - ], - [ - 537, - 25 - ], - [ - 541, - 25 - ], - [ - 555, - 22 - ] - ], - "doc": " Public: Atom global for dealing with packages, themes, menus, and the window.\n\nAn instance of this class is always available as the `atom` global.\n\n## Useful properties available:\n\n * `atom.clipboard` - A {Clipboard} instance\n * `atom.config` - A {Config} instance\n * `atom.contextMenu` - A {ContextMenuManager} instance\n * `atom.deserializers` - A {DeserializerManager} instance\n * `atom.keymaps` - A {KeymapManager} instance\n * `atom.menu` - A {MenuManager} instance\n * `atom.packages` - A {PackageManager} instance\n * `atom.project` - A {Project} instance\n * `atom.syntax` - A {Syntax} instance\n * `atom.themes` - A {ThemeManager} instance\n * `atom.workspace` - A {Workspace} instance\n * `atom.workspaceView` - A {WorkspaceView} instance ", - "range": [ - [ - 35, - 0 - ], - [ - 567, - 27 - ] - ] - } - }, - "36": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 36, - 12 - ], - [ - 36, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "44": { - "17": { - "name": "loadOrCreate", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 44, - 17 - ], - [ - 48, - 1 - ] - ], - "doc": " Public: Load or create the Atom environment in the given mode.\n\nmode - Pass 'editor' or 'spec' depending on the kind of environment you\n want to build.\n\nReturns an Atom instance, fully initialized " - } - }, - "48": { - "16": { - "name": "deserialize", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 48, - 16 - ], - [ - 53, - 1 - ] - ], - "doc": "Private: Deserializes the Atom environment from a state object " - } - }, - "53": { - "14": { - "name": "loadState", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 53, - 14 - ], - [ - 71, - 1 - ] - ], - "doc": " Private: Loads and returns the serialized state corresponding to this window\nif it exists; otherwise returns undefined. " - } - }, - "71": { - "17": { - "name": "getStatePath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 71, - 17 - ], - [ - 89, - 1 - ] - ], - "doc": " Private: Returns the path where the state for the current window will be\nlocated if it exists. " - } - }, - "89": { - "21": { - "name": "getConfigDirPath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 95, - 1 - ] - ], - "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " - } - }, - "95": { - "22": { - "name": "getStorageDirPath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 95, - 22 - ], - [ - 99, - 1 - ] - ], - "doc": " Private: Get the path to Atom's storage directory.\n\nReturns the absolute path to ~/.atom/storage " - } - }, - "99": { - "20": { - "name": "getLoadSettings", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 99, - 20 - ], - [ - 109, - 1 - ] - ], - "doc": "Private: Returns the load settings hash associated with the current window. " - } - }, - "109": { - "21": { - "name": "getCurrentWindow", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 21 - ], - [ - 112, - 1 - ] - ], - "doc": "~Private~" - } - }, - "112": { - "31": { - "name": "workspaceViewParentSelector", - "type": "primitive", - "range": [ - [ - 112, - 31 - ], - [ - 112, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "115": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 115, - 15 - ], - [ - 123, - 1 - ] - ], - "doc": "Private: Call .loadOrCreate instead " - } - }, - "123": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 123, - 14 - ], - [ - 177, - 1 - ] - ], - "doc": " Public: Sets up the basic services that should be available in all modes\n(both spec and application). Call after this instance has been assigned to\nthe `atom` global. " - } - }, - "177": { - "31": { - "name": "registerRepresentationClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 31 - ], - [ - 181, - 1 - ] - ], - "doc": "Deprecated: Callers should be converted to use atom.deserializers " - } - }, - "181": { - "33": { - "name": "registerRepresentationClasses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 181, - 33 - ], - [ - 184, - 1 - ] - ], - "doc": "Deprecated: Callers should be converted to use atom.deserializers " - } - }, - "184": { - "24": { - "name": "setBodyPlatformClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 184, - 24 - ], - [ - 188, - 1 - ] - ], - "doc": "~Private~" - } - }, - "188": { - "20": { - "name": "getCurrentWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 20 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "23": { - "name": "getWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 194, - 23 - ], - [ - 211, - 1 - ] - ], - "doc": " Public: Get the dimensions of this window.\n\nReturns an object with x, y, width, and height keys. " - } - }, - "211": { - "23": { - "name": "setWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 211, - 23 - ], - [ - 221, - 1 - ] - ], - "doc": " Public: Set the dimensions of the window.\n\nThe window will be centered if either the x or y coordinate is not set\nin the dimensions parameter. If x or y are omitted the window will be\ncentered. If height or width are omitted only the position will be changed.\n\ndimensions - An {Object} with the following keys:\n :x - The new x coordinate.\n :y - The new y coordinate.\n :width - The new width.\n :height - The new height. " - } - }, - "221": { - "21": { - "name": "isValidDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 221, - 21 - ], - [ - 224, - 1 - ] - ], - "doc": " Private: Returns true if the dimensions are useable, false if they should be ignored.\nWork around for https://github.com/atom/atom-shell/issues/473 " - } - }, - "224": { - "32": { - "name": "storeDefaultWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 32 - ], - [ - 229, - 1 - ] - ], - "doc": "~Private~" - } - }, - "229": { - "30": { - "name": "getDefaultWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 229, - 30 - ], - [ - 246, - 1 - ] - ], - "doc": "~Private~" - } - }, - "246": { - "27": { - "name": "restoreWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 246, - 27 - ], - [ - 252, - 1 - ] - ], - "doc": "~Private~" - } - }, - "252": { - "25": { - "name": "storeWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 252, - 25 - ], - [ - 259, - 1 - ] - ], - "doc": "~Private~" - } - }, - "259": { - "19": { - "name": "getLoadSettings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 259, - 19 - ], - [ - 262, - 1 - ] - ], - "doc": "Private: Returns the load settings hash associated with the current window. " - } - }, - "262": { - "22": { - "name": "deserializeProject", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 262, - 22 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "28": { - "name": "deserializeWorkspaceView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 28 - ], - [ - 281, - 1 - ] - ], - "doc": "~Private~" - } - }, - "281": { - "28": { - "name": "deserializePackageStates", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 281, - 28 - ], - [ - 285, - 1 - ] - ], - "doc": "~Private~" - } - }, - "285": { - "27": { - "name": "deserializeEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 285, - 27 - ], - [ - 292, - 1 - ] - ], - "doc": "~Private~" - } - }, - "292": { - "21": { - "name": "startEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 21 - ], - [ - 320, - 1 - ] - ], - "doc": "Private: Call this method when establishing a real application window. " - } - }, - "320": { - "22": { - "name": "unloadEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 320, - 22 - ], - [ - 336, - 1 - ] - ], - "doc": "~Private~" - } - }, - "336": { - "14": { - "name": "loadThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 336, - 14 - ], - [ - 339, - 1 - ] - ], - "doc": "~Private~" - } - }, - "339": { - "15": { - "name": "watchThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 339, - 15 - ], - [ - 353, - 1 - ] - ], - "doc": "~Private~" - } - }, - "353": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 353, - 8 - ], - [ - 377, - 1 - ] - ], - "doc": " Public: Open a new Atom window using the given options.\n\nCalling this method without an options parameter will open a prompt to pick\na file/folder to open in the new window.\n\noptions - An {Object} with the following keys:\n :pathsToOpen - An {Array} of {String} paths to open. " - } - }, - "377": { - "11": { - "name": "confirm", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 377, - 11 - ], - [ - 397, - 1 - ] - ], - "doc": " Public: Open a confirm dialog.\n\n## Example\n\n```coffee\n atom.confirm\n message: 'How you feeling?'\n detailedMessage: 'Be honest.'\n buttons:\n Good: -> window.alert('good to hear')\n Bad: -> window.alert('bummer')\n```\n\noptions - An {Object} with the following keys:\n :message - The {String} message to display.\n :detailedMessage - The {String} detailed message to display.\n :buttons - Either an array of strings or an object where keys are\n button names and the values are callbacks to invoke when\n clicked.\n\nReturns the chosen button index {Number} if the buttons option was an array. " - } - }, - "397": { - "18": { - "name": "showSaveDialog", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 397, - 18 - ], - [ - 400, - 1 - ] - ], - "doc": "~Private~" - } - }, - "400": { - "22": { - "name": "showSaveDialogSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultPath" - ], - "range": [ - [ - 400, - 22 - ], - [ - 407, - 1 - ] - ], - "doc": "~Private~" - } - }, - "407": { - "16": { - "name": "openDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 407, - 16 - ], - [ - 411, - 1 - ] - ], - "doc": "Public: Open the dev tools for the current window. " - } - }, - "411": { - "18": { - "name": "toggleDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 411, - 18 - ], - [ - 415, - 1 - ] - ], - "doc": "Public: Toggle the visibility of the dev tools for the current window. " - } - }, - "415": { - "31": { - "name": "executeJavaScriptInDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "code" - ], - "range": [ - [ - 415, - 31 - ], - [ - 419, - 1 - ] - ], - "doc": "Public: Execute code in dev tools. " - } - }, - "419": { - "10": { - "name": "reload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 419, - 10 - ], - [ - 423, - 1 - ] - ], - "doc": "Public: Reload the current window. " - } - }, - "423": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 423, - 9 - ], - [ - 428, - 1 - ] - ], - "doc": "Public: Focus the current window. " - } - }, - "428": { - "8": { - "name": "show", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 8 - ], - [ - 432, - 1 - ] - ], - "doc": "Public: Show the current window. " - } - }, - "432": { - "8": { - "name": "hide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 432, - 8 - ], - [ - 439, - 1 - ] - ], - "doc": "Public: Hide the current window. " - } - }, - "439": { - "11": { - "name": "setSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width", - "height" - ], - "range": [ - [ - 439, - 11 - ], - [ - 446, - 1 - ] - ], - "doc": " Public: Set the size of current window.\n\nwidth - The {Number} of pixels.\nheight - The {Number} of pixels. " - } - }, - "446": { - "15": { - "name": "setPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "x", - "y" - ], - "range": [ - [ - 446, - 15 - ], - [ - 450, - 1 - ] - ], - "doc": " Public: Set the position of current window.\n\nx - The {Number} of pixels.\ny - The {Number} of pixels. " - } - }, - "450": { - "10": { - "name": "center", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 450, - 10 - ], - [ - 457, - 1 - ] - ], - "doc": "Public: Move current window to the center of the screen. " - } - }, - "457": { - "17": { - "name": "displayWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 457, - 17 - ], - [ - 464, - 1 - ] - ], - "doc": " Private: Schedule the window to be shown and focused on the next tick.\n\nThis is done in a next tick to prevent a white flicker from occurring\nif called synchronously. " - } - }, - "464": { - "9": { - "name": "close", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 464, - 9 - ], - [ - 467, - 1 - ] - ], - "doc": "Public: Close the current window. " - } - }, - "467": { - "8": { - "name": "exit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 467, - 8 - ], - [ - 473, - 1 - ] - ], - "doc": "~Private~" - } - }, - "473": { - "13": { - "name": "inDevMode", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 473, - 13 - ], - [ - 477, - 1 - ] - ], - "doc": "Public: Is the current window in development mode? " - } - }, - "477": { - "14": { - "name": "inSpecMode", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 477, - 14 - ], - [ - 481, - 1 - ] - ], - "doc": "Public: Is the current window running specs? " - } - }, - "481": { - "20": { - "name": "toggleFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 481, - 20 - ], - [ - 485, - 1 - ] - ], - "doc": "Public: Toggle the full screen state of the current window. " - } - }, - "485": { - "17": { - "name": "setFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fullScreen" - ], - "range": [ - [ - 485, - 17 - ], - [ - 490, - 1 - ] - ], - "doc": "Public: Set the full screen state of the current window. " - } - }, - "490": { - "16": { - "name": "isFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 490, - 16 - ], - [ - 496, - 1 - ] - ], - "doc": "Public: Is the current window in full screen mode? " - } - }, - "496": { - "14": { - "name": "getVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 496, - 14 - ], - [ - 500, - 1 - ] - ], - "doc": " Public: Get the version of the Atom application.\n\nReturns the version text {String}. " - } - }, - "500": { - "21": { - "name": "isReleasedVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 500, - 21 - ], - [ - 506, - 1 - ] - ], - "doc": "Public: Determine whether the current version is an official release. " - } - }, - "506": { - "20": { - "name": "getConfigDirPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 506, - 20 - ], - [ - 509, - 1 - ] - ], - "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " - } - }, - "509": { - "12": { - "name": "saveSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 509, - 12 - ], - [ - 523, - 1 - ] - ], - "doc": "~Private~" - } - }, - "523": { - "21": { - "name": "getWindowLoadTime", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 523, - 21 - ], - [ - 526, - 1 - ] - ], - "doc": " Public: Get the time taken to completely load the current window.\n\nThis time include things like loading and activating packages, creating\nDOM elements for the editor, and reading the config.\n\nReturns the number of milliseconds taken to load the window or null\nif the window hasn't finished loading yet. " - } - }, - "526": { - "20": { - "name": "crashMainProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 526, - 20 - ], - [ - 529, - 1 - ] - ], - "doc": "~Private~" - } - }, - "529": { - "22": { - "name": "crashRenderProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 529, - 22 - ], - [ - 533, - 1 - ] - ], - "doc": "~Private~" - } - }, - "533": { - "8": { - "name": "beep", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 533, - 8 - ], - [ - 537, - 1 - ] - ], - "doc": "Public: Visually and audibly trigger a beep. " - } - }, - "537": { - "25": { - "name": "getUserInitScriptPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 537, - 25 - ], - [ - 541, - 1 - ] - ], - "doc": "~Private~" - } - }, - "541": { - "25": { - "name": "requireUserInitScript", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 541, - 25 - ], - [ - 555, - 1 - ] - ] - } - }, - "555": { - "22": { - "name": "requireWithGlobals", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id", - "globals" - ], - "range": [ - [ - 555, - 22 - ], - [ - 567, - 27 - ] - ], - "doc": " Public: Require the module with the given globals.\n\nThe globals will be set on the `window` object and removed after the\nrequire completes.\n\nid - The {String} module name or path.\nglobals - An {Object} to set as globals during require (default: {}) " - } - } - }, - "exports": 35 - }, - "src/browser/application-menu.coffee": { - "objects": { - "0": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "1": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "2": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "10": { - "0": { - "type": "class", - "name": "ApplicationMenu", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 22, - 10 - ], - [ - 35, - 20 - ], - [ - 47, - 23 - ], - [ - 58, - 29 - ], - [ - 63, - 21 - ], - [ - 68, - 22 - ], - [ - 90, - 22 - ], - [ - 102, - 17 - ], - [ - 113, - 21 - ], - [ - 131, - 25 - ] - ], - "doc": " Private: Used to manage the global application menu.\n\nIt's created by {AtomApplication} upon instantiation and used to add, remove\nand maintain the state of all menu items. ", - "range": [ - [ - 10, - 0 - ], - [ - 145, - 18 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 22, - 1 - ] - ] - } - }, - "22": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 22, - 10 - ], - [ - 35, - 1 - ] - ], - "doc": " Public: Updates the entire menu with the given keybindings.\n\ntemplate - The Object which describes the menu to display.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke. " - } - }, - "35": { - "20": { - "name": "flattenMenuItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "menu" - ], - "range": [ - [ - 35, - 20 - ], - [ - 47, - 1 - ] - ], - "doc": " Private: Flattens the given menu and submenu items into an single Array.\n\nmenu - A complete menu configuration object for atom-shell's menu API.\n\nReturns an Array of native menu items. " - } - }, - "47": { - "23": { - "name": "flattenMenuTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 47, - 23 - ], - [ - 58, - 1 - ] - ], - "doc": " Private: Flattens the given menu template into an single Array.\n\ntemplate - An object describing the menu item.\n\nReturns an Array of native menu items. " - } - }, - "58": { - "29": { - "name": "enableWindowSpecificItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "enable" - ], - "range": [ - [ - 58, - 29 - ], - [ - 63, - 1 - ] - ], - "doc": " Public: Used to make all window related menu items are active.\n\nenable - If true enables all window specific items, if false disables all\n window specific items. " - } - }, - "63": { - "21": { - "name": "substituteVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 63, - 21 - ], - [ - 68, - 1 - ] - ], - "doc": "Private: Replaces VERSION with the current version. " - } - }, - "68": { - "22": { - "name": "showUpdateMenuItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 68, - 22 - ], - [ - 90, - 1 - ] - ], - "doc": "Private: Sets the proper visible state the update menu items " - } - }, - "90": { - "22": { - "name": "getDefaultTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 22 - ], - [ - 102, - 1 - ] - ], - "doc": " Private: Default list of menu items.\n\nReturns an Array of menu item Objects. " - } - }, - "102": { - "17": { - "name": "focusedWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 17 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "21": { - "name": "translateTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 113, - 21 - ], - [ - 131, - 1 - ] - ], - "doc": " Private: Combines a menu template with the appropriate keystroke.\n\ntemplate - An Object conforming to atom-shell's menu api but lacking\n accelerator and click properties.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a complete menu configuration object for atom-shell's menu API. " - } - }, - "131": { - "25": { - "name": "acceleratorForCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "keystrokesByCommand" - ], - "range": [ - [ - 131, - 25 - ], - [ - 145, - 18 - ] - ], - "doc": " Private: Determine the accelerator for a given command.\n\ncommand - The name of the command.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a String containing the keystroke in a format that can be interpreted\n by atom shell to provide nice icons where available. " - } - } - }, - "exports": 10 - }, - "src/browser/atom-application.coffee": { - "objects": { - "0": { - "13": { - "name": "AtomWindow", - "type": "import", - "range": [ - [ - 0, - 13 - ], - [ - 0, - 35 - ] - ], - "bindingType": "variable", - "path": "./atom-window" - } - }, - "1": { - "18": { - "name": "ApplicationMenu", - "type": "import", - "range": [ - [ - 1, - 18 - ], - [ - 1, - 45 - ] - ], - "bindingType": "variable", - "path": "./application-menu" - } - }, - "2": { - "22": { - "name": "AtomProtocolHandler", - "type": "import", - "range": [ - [ - 2, - 22 - ], - [ - 2, - 54 - ] - ], - "bindingType": "variable", - "path": "./atom-protocol-handler" - } - }, - "3": { - "20": { - "name": "AutoUpdateManager", - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 50 - ] - ], - "bindingType": "variable", - "path": "./auto-update-manager" - } - }, - "4": { - "16": { - "name": "BrowserWindow", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 39 - ] - ], - "bindingType": "variable", - "module": "browser-window" - } - }, - "5": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "6": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 6, - 6 - ], - [ - 6, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "7": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "8": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 8, - 5 - ], - [ - 8, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "9": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 9, - 6 - ], - [ - 9, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "10": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 10, - 7 - ], - [ - 10, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "11": { - "5": { - "name": "os", - "type": "import", - "range": [ - [ - 11, - 5 - ], - [ - 11, - 16 - ] - ], - "bindingType": "variable", - "module": "os", - "builtin": true - } - }, - "12": { - "6": { - "name": "net", - "type": "import", - "range": [ - [ - 12, - 6 - ], - [ - 12, - 18 - ] - ], - "bindingType": "variable", - "module": "net", - "builtin": true - } - }, - "13": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 13, - 8 - ], - [ - 13, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "14": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 14, - 6 - ], - [ - 14, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "15": { - "1": { - "type": "import", - "range": [ - [ - 15, - 1 - ], - [ - 15, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "16": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 16, - 4 - ], - [ - 16, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "30": { - "0": { - "type": "class", - "name": "AtomApplication", - "bindingType": "exports", - "classProperties": [ - [ - 34, - 9 - ] - ], - "prototypeProperties": [ - [ - 52, - 11 - ], - [ - 53, - 19 - ], - [ - 54, - 23 - ], - [ - 55, - 16 - ], - [ - 56, - 11 - ], - [ - 58, - 8 - ], - [ - 60, - 15 - ], - [ - 83, - 19 - ], - [ - 94, - 16 - ], - [ - 99, - 13 - ], - [ - 110, - 36 - ], - [ - 119, - 20 - ], - [ - 132, - 28 - ], - [ - 136, - 16 - ], - [ - 232, - 15 - ], - [ - 245, - 23 - ], - [ - 254, - 31 - ], - [ - 274, - 19 - ], - [ - 282, - 17 - ], - [ - 287, - 17 - ], - [ - 298, - 13 - ], - [ - 311, - 12 - ], - [ - 337, - 20 - ], - [ - 341, - 24 - ], - [ - 346, - 15 - ], - [ - 364, - 11 - ], - [ - 393, - 12 - ], - [ - 406, - 17 - ], - [ - 415, - 25 - ], - [ - 440, - 17 - ] - ], - "doc": " Private: The application's singleton class.\n\nIt's the entry point into the Atom application and maintains the global state\nof the application.\n\n ", - "range": [ - [ - 30, - 0 - ], - [ - 449, - 50 - ] - ] - } - }, - "34": { - "9": { - "name": "open", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 34, - 9 - ], - [ - 52, - 1 - ] - ], - "doc": "Public: The entry point into the Atom application. " - } - }, - "52": { - "11": { - "name": "windows", - "type": "primitive", - "range": [ - [ - 52, - 11 - ], - [ - 52, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "53": { - "19": { - "name": "applicationMenu", - "type": "primitive", - "range": [ - [ - 53, - 19 - ], - [ - 53, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "54": { - "23": { - "name": "atomProtocolHandler", - "type": "primitive", - "range": [ - [ - 54, - 23 - ], - [ - 54, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "55": { - "16": { - "name": "resourcePath", - "type": "primitive", - "range": [ - [ - 55, - 16 - ], - [ - 55, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "56": { - "11": { - "name": "version", - "type": "primitive", - "range": [ - [ - 56, - 11 - ], - [ - 56, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "58": { - "8": { - "name": "exit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 58, - 8 - ], - [ - 58, - 35 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 60, - 15 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "19": { - "name": "openWithOptions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 83, - 19 - ], - [ - 94, - 1 - ] - ], - "doc": "Private: Opens a new window based on the options provided. " - } - }, - "94": { - "16": { - "name": "removeWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "window" - ], - "range": [ - [ - 94, - 16 - ], - [ - 99, - 1 - ] - ], - "doc": "Public: Removes the {AtomWindow} from the global window list. " - } - }, - "99": { - "13": { - "name": "addWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "window" - ], - "range": [ - [ - 99, - 13 - ], - [ - 110, - 1 - ] - ], - "doc": "Public: Adds the {AtomWindow} to the global window list. " - } - }, - "110": { - "36": { - "name": "listenForArgumentsFromNewProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 36 - ], - [ - 119, - 1 - ] - ], - "doc": " Private: Creates server to listen for additional atom application launches.\n\nYou can run the atom command multiple times, but after the first launch\nthe other launches will just pass their information to this server and then\nclose immediately. " - } - }, - "119": { - "20": { - "name": "deleteSocketFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 119, - 20 - ], - [ - 132, - 1 - ] - ], - "doc": "~Private~" - } - }, - "132": { - "28": { - "name": "setupJavaScriptArguments", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 132, - 28 - ], - [ - 136, - 1 - ] - ], - "doc": "Private: Configures required javascript environment flags. " - } - }, - "136": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 16 - ], - [ - 232, - 1 - ] - ], - "doc": "Private: Registers basic application commands, non-idempotent. " - } - }, - "232": { - "15": { - "name": "sendCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 232, - 15 - ], - [ - 245, - 1 - ] - ], - "doc": " Public: Executes the given command.\n\nIf it isn't handled globally, delegate to the currently focused window.\n\ncommand - The string representing the command.\nargs - The optional arguments to pass along. " - } - }, - "245": { - "23": { - "name": "sendCommandToWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "atomWindow", - "args" - ], - "range": [ - [ - 245, - 23 - ], - [ - 254, - 1 - ] - ], - "doc": " Public: Executes the given command on the given window.\n\ncommand - The string representing the command.\natomWindow - The {AtomWindow} to send the command to.\nargs - The optional arguments to pass along. " - } - }, - "254": { - "31": { - "name": "sendCommandToFirstResponder", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command" - ], - "range": [ - [ - 254, - 31 - ], - [ - 274, - 1 - ] - ], - "doc": " Private: Translates the command into OS X action and sends it to application's first\nresponder. " - } - }, - "274": { - "19": { - "name": "openPathOnEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventName", - "pathToOpen" - ], - "range": [ - [ - 274, - 19 - ], - [ - 282, - 1 - ] - ], - "doc": " Public: Open the given path in the focused window when the event is\ntriggered.\n\nA new window will be created if there is no currently focused window.\n\neventName - The event to listen for.\npathToOpen - The path to open when the event is triggered. " - } - }, - "282": { - "17": { - "name": "windowForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen" - ], - "range": [ - [ - 282, - 17 - ], - [ - 287, - 1 - ] - ], - "doc": "Private: Returns the {AtomWindow} for the given path. " - } - }, - "287": { - "17": { - "name": "focusedWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 287, - 17 - ], - [ - 298, - 1 - ] - ], - "doc": "Public: Returns the currently focused {AtomWindow} or undefined if none. " - } - }, - "298": { - "13": { - "name": "openPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 298, - 13 - ], - [ - 311, - 1 - ] - ], - "doc": " Public: Opens multiple paths, in existing windows if possible.\n\noptions -\n :pathsToOpen - The array of file paths to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " - } - }, - "311": { - "12": { - "name": "openPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 311, - 12 - ], - [ - 337, - 1 - ] - ], - "doc": " Public: Opens a single path, in an existing window if possible.\n\noptions -\n :pathToOpen - The file path to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode.\n :windowDimensions - Object with height and width keys. " - } - }, - "337": { - "20": { - "name": "killAllProcesses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 337, - 20 - ], - [ - 341, - 1 - ] - ], - "doc": "Private: Kill all processes associated with opened windows. " - } - }, - "341": { - "24": { - "name": "killProcessForWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "openedWindow" - ], - "range": [ - [ - 341, - 24 - ], - [ - 346, - 1 - ] - ], - "doc": "Private: Kill process associated with the given opened window. " - } - }, - "346": { - "15": { - "name": "killProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pid" - ], - "range": [ - [ - 346, - 15 - ], - [ - 364, - 1 - ] - ], - "doc": "Private: Kill the process with the given pid. " - } - }, - "364": { - "11": { - "name": "openUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 364, - 11 - ], - [ - 393, - 1 - ] - ], - "doc": " Private: Open an atom:// url.\n\nThe host of the URL being opened is assumed to be the package name\nresponsible for opening the URL. A new window will be created with\nthat package's `urlMain` as the bootstrap script.\n\noptions -\n :urlToOpen - The atom:// url to open.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " - } - }, - "393": { - "12": { - "name": "runSpecs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 393, - 12 - ], - [ - 406, - 1 - ] - ], - "doc": " Private: Opens up a new {AtomWindow} to run specs within.\n\noptions -\n :exitWhenDone - A Boolean that if true, will close the window upon\n completion.\n :resourcePath - The path to include specs from.\n :specPath - The directory to load specs from. " - } - }, - "406": { - "17": { - "name": "runBenchmarks", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 406, - 17 - ], - [ - 415, - 1 - ] - ], - "doc": "~Private~" - } - }, - "415": { - "25": { - "name": "locationForPathToOpen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen" - ], - "range": [ - [ - 415, - 25 - ], - [ - 440, - 1 - ] - ], - "doc": "~Private~" - } - }, - "440": { - "17": { - "name": "promptForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 440, - 17 - ], - [ - 449, - 50 - ] - ], - "doc": " Private: Opens a native dialog to prompt the user for a path.\n\nOnce paths are selected, they're opened in a new or existing {AtomWindow}s.\n\noptions -\n :type - A String which specifies the type of the dialog, could be 'file',\n 'folder' or 'all'. The 'all' is only available on OS X.\n :devMode - A Boolean which controls whether any newly opened windows\n should be in dev mode or not.\n :safeMode - A Boolean which controls whether any newly opened windows\n should be in safe mode or not. " - } - } - }, - "exports": 30 - }, - "src/browser/atom-protocol-handler.coffee": { - "objects": { - "0": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.1" - } - }, - "2": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "3": { - "11": { - "name": "protocol", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "protocol" - } - }, - "10": { - "0": { - "type": "class", - "name": "AtomProtocolHandler", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 21, - 24 - ] - ], - "doc": " Private: Handles requests with 'atom' protocol.\n\nIt's created by {AtomApplication} upon instantiation, and is used to create a\ncustom resource loader by adding the 'atom' custom protocol. ", - "range": [ - [ - 10, - 0 - ], - [ - 27, - 50 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 21, - 1 - ] - ] - } - }, - "21": { - "24": { - "name": "registerAtomProtocol", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 24 - ], - [ - 27, - 50 - ] - ], - "doc": "Private: Creates the 'atom' custom protocol handler. " - } - } - }, - "exports": 10 - }, - "src/browser/atom-window.coffee": { - "objects": { - "0": { - "16": { - "name": "BrowserWindow", - "type": "import", - "range": [ - [ - 0, - 16 - ], - [ - 0, - 39 - ] - ], - "bindingType": "variable", - "module": "browser-window" - } - }, - "1": { - "14": { - "name": "ContextMenu", - "type": "import", - "range": [ - [ - 1, - 14 - ], - [ - 1, - 37 - ] - ], - "bindingType": "variable", - "path": "./context-menu" - } - }, - "2": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "3": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 3, - 9 - ], - [ - 3, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "4": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "6": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 6, - 6 - ], - [ - 6, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "7": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "11": { - "0": { - "type": "class", - "name": "AtomWindow", - "bindingType": "exports", - "classProperties": [ - [ - 14, - 13 - ], - [ - 15, - 25 - ] - ], - "prototypeProperties": [ - [ - 17, - 17 - ], - [ - 18, - 10 - ], - [ - 19, - 10 - ], - [ - 21, - 15 - ], - [ - 56, - 10 - ], - [ - 68, - 18 - ], - [ - 71, - 16 - ], - [ - 86, - 16 - ], - [ - 126, - 12 - ], - [ - 133, - 15 - ], - [ - 147, - 30 - ], - [ - 151, - 17 - ], - [ - 156, - 9 - ], - [ - 158, - 9 - ], - [ - 160, - 12 - ], - [ - 162, - 12 - ], - [ - 164, - 11 - ], - [ - 166, - 23 - ], - [ - 169, - 13 - ], - [ - 171, - 20 - ], - [ - 173, - 16 - ], - [ - 175, - 10 - ], - [ - 177, - 18 - ] - ], - "doc": "~Private~", - "range": [ - [ - 11, - 0 - ], - [ - 177, - 52 - ] - ] - } - }, - "14": { - "13": { - "name": "iconPath", - "type": "function", - "range": [ - [ - 14, - 13 - ], - [ - 14, - 72 - ] - ], - "bindingType": "classProperty" - } - }, - "15": { - "25": { - "name": "includeShellLoadTime", - "type": "primitive", - "range": [ - [ - 15, - 25 - ], - [ - 15, - 28 - ] - ], - "bindingType": "classProperty" - } - }, - "17": { - "17": { - "name": "browserWindow", - "type": "primitive", - "range": [ - [ - 17, - 17 - ], - [ - 17, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "10": { - "name": "loaded", - "type": "primitive", - "range": [ - [ - 18, - 10 - ], - [ - 18, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "10": { - "name": "isSpec", - "type": "primitive", - "range": [ - [ - 19, - 10 - ], - [ - 19, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "settings" - ], - "range": [ - [ - 21, - 15 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "10": { - "name": "getUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "loadSettingsObj" - ], - "range": [ - [ - 56, - 10 - ], - [ - 68, - 1 - ] - ], - "doc": "~Private~" - } - }, - "68": { - "18": { - "name": "getInitialPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 18 - ], - [ - 71, - 1 - ] - ], - "doc": "~Private~" - } - }, - "71": { - "16": { - "name": "containsPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToCheck" - ], - "range": [ - [ - 71, - 16 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 16 - ], - [ - 126, - 1 - ] - ], - "doc": "~Private~" - } - }, - "126": { - "12": { - "name": "openPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen", - "initialLine", - "initialColumn" - ], - "range": [ - [ - 126, - 12 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "15": { - "name": "sendCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 133, - 15 - ], - [ - 147, - 1 - ] - ], - "doc": "~Private~" - } - }, - "147": { - "30": { - "name": "sendCommandToBrowserWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 147, - 30 - ], - [ - 151, - 1 - ] - ], - "doc": "~Private~" - } - }, - "151": { - "17": { - "name": "getDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 151, - 17 - ], - [ - 156, - 1 - ] - ], - "doc": "~Private~" - } - }, - "156": { - "9": { - "name": "close", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 156, - 9 - ], - [ - 156, - 33 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 9 - ], - [ - 158, - 33 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "12": { - "name": "minimize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 160, - 12 - ], - [ - 160, - 39 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "12": { - "name": "maximize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 12 - ], - [ - 162, - 39 - ] - ], - "doc": "~Private~" - } - }, - "164": { - "11": { - "name": "restore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 164, - 11 - ], - [ - 164, - 37 - ] - ], - "doc": "~Private~" - } - }, - "166": { - "23": { - "name": "handlesAtomCommands", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 166, - 23 - ], - [ - 169, - 1 - ] - ], - "doc": "~Private~" - } - }, - "169": { - "13": { - "name": "isFocused", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 169, - 13 - ], - [ - 169, - 41 - ] - ], - "doc": "~Private~" - } - }, - "171": { - "20": { - "name": "isWebViewFocused", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 20 - ], - [ - 171, - 55 - ] - ], - "doc": "~Private~" - } - }, - "173": { - "16": { - "name": "isSpecWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 173, - 16 - ], - [ - 173, - 25 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "10": { - "name": "reload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 175, - 10 - ], - [ - 175, - 36 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "18": { - "name": "toggleDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 18 - ], - [ - 177, - 51 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 11 - }, - "src/browser/auto-update-manager.coffee": { - "objects": { - "0": { - "8": { - "name": "https", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 22 - ] - ], - "bindingType": "variable", - "module": "https", - "builtin": true - } - }, - "1": { - "14": { - "name": "autoUpdater", - "type": "import", - "range": [ - [ - 1, - 14 - ], - [ - 1, - 35 - ] - ], - "bindingType": "variable", - "module": "auto-updater" - } - }, - "2": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "6": { - "11": { - "name": "'idle'", - "type": "primitive", - "range": [ - [ - 6, - 11 - ], - [ - 6, - 16 - ] - ] - } - }, - "7": { - "15": { - "name": "'checking'", - "type": "primitive", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 24 - ] - ] - } - }, - "8": { - "18": { - "name": "'downloading'", - "type": "primitive", - "range": [ - [ - 8, - 18 - ], - [ - 8, - 30 - ] - ] - } - }, - "9": { - "23": { - "name": "'update-available'", - "type": "primitive", - "range": [ - [ - 9, - 23 - ], - [ - 9, - 40 - ] - ] - } - }, - "10": { - "26": { - "name": "'no-update-available'", - "type": "primitive", - "range": [ - [ - 10, - 26 - ], - [ - 10, - 46 - ] - ] - } - }, - "11": { - "12": { - "name": "'error'", - "type": "primitive", - "range": [ - [ - 11, - 12 - ], - [ - 11, - 18 - ] - ] - } - }, - "14": { - "0": { - "type": "class", - "name": "AutoUpdateManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 15 - ], - [ - 48, - 23 - ], - [ - 63, - 28 - ], - [ - 68, - 12 - ], - [ - 73, - 12 - ], - [ - 76, - 9 - ], - [ - 83, - 11 - ], - [ - 86, - 24 - ], - [ - 90, - 17 - ], - [ - 94, - 14 - ] - ], - "doc": "~Private~", - "range": [ - [ - 14, - 0 - ], - [ - 95, - 34 - ] - ] - } - }, - "17": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 17, - 15 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "23": { - "name": "checkForUpdatesShim", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 23 - ], - [ - 63, - 1 - ] - ], - "doc": "Private: Windows doesn't have an auto-updater, so use this method to shim the events. " - } - }, - "63": { - "28": { - "name": "emitUpdateAvailableEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "windows" - ], - "range": [ - [ - 63, - 28 - ], - [ - 68, - 1 - ] - ], - "doc": "~Private~" - } - }, - "68": { - "12": { - "name": "setState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 68, - 12 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "12": { - "name": "getState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 12 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "9": { - "name": "check", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 76, - 9 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "11": { - "name": "install", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 83, - 11 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "24": { - "name": "onUpdateNotAvailable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 24 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "17": { - "name": "onUpdateError", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event", - "message" - ], - "range": [ - [ - 90, - 17 - ], - [ - 94, - 1 - ] - ], - "doc": "~Private~" - } - }, - "94": { - "14": { - "name": "getWindows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 14 - ], - [ - 95, - 34 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 14 - }, - "src/browser/context-menu.coffee": { - "objects": { - "0": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "3": { - "0": { - "type": "class", - "name": "ContextMenu", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 4, - 15 - ], - [ - 12, - 23 - ] - ], - "doc": "~Private~", - "range": [ - [ - 3, - 0 - ], - [ - 23, - 10 - ] - ] - } - }, - "4": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - null - ], - "range": [ - [ - 4, - 15 - ], - [ - 12, - 1 - ] - ] - } - }, - "12": { - "23": { - "name": "createClickHandlers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 12, - 23 - ], - [ - 23, - 10 - ] - ], - "doc": " Private: It's necessary to build the event handlers in this process, otherwise\nclosures are drug across processes and failed to be garbage collected\nappropriately. " - } - } - }, - "exports": 3 - }, - "src/browser/main.coffee": { - "objects": { - "0": { - "24": { - "name": "global.shellStartTime", - "type": "function", - "range": [ - [ - 0, - 24 - ], - [ - 0, - 33 - ] - ] - } - }, - "2": { - "16": { - "name": "crashReporter", - "type": "import", - "range": [ - [ - 2, - 16 - ], - [ - 2, - 39 - ] - ], - "bindingType": "variable", - "module": "crash-reporter" - } - }, - "3": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 3, - 6 - ], - [ - 3, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "6": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 6, - 7 - ], - [ - 6, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "7": { - "11": { - "name": "optimist", - "type": "import", - "range": [ - [ - 7, - 11 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "optimist" - } - }, - "8": { - "8": { - "name": "nslog", - "type": "import", - "range": [ - [ - 8, - 8 - ], - [ - 8, - 22 - ] - ], - "bindingType": "variable", - "module": "nslog" - } - }, - "9": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 9, - 9 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "11": { - "14": { - "name": "nslog", - "type": "primitive", - "range": [ - [ - 11, - 14 - ], - [ - 11, - 18 - ] - ] - } - }, - "17": { - "8": { - "name": "start", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 8 - ], - [ - 51, - 0 - ] - ], - "doc": "~Private~" - } - }, - "54": { - "25": { - "name": "global.devResourcePath", - "type": "function", - "range": [ - [ - 54, - 25 - ], - [ - 54, - 62 - ] - ] - } - }, - "56": { - "21": { - "name": "setupCrashReporter", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 21 - ], - [ - 58, - 0 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "19": { - "name": "parseCommandLine", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 19 - ], - [ - 110, - 0 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": {} - }, - "src/buffered-node-process.coffee": { - "objects": { - "0": { - "18": { - "name": "BufferedProcess", - "type": "import", - "range": [ - [ - 0, - 18 - ], - [ - 0, - 45 - ] - ], - "bindingType": "variable", - "path": "./buffered-process" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "14": { - "0": { - "type": "class", - "name": "BufferedNodeProcess", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 36, - 15 - ] - ], - "doc": " Public: Like {BufferedProcess}, but accepts a Node script as the command\nto run.\n\nThis is necessary on Windows since it doesn't support shebang `#!` lines.\n\n## Requiring in packages\n\n```coffee\n{BufferedNodeProcess} = require 'atom'\n``` ", - "range": [ - [ - 14, - 0 - ], - [ - 50, - 63 - ] - ] - } - }, - "36": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 36, - 15 - ], - [ - 50, - 63 - ] - ], - "doc": " Public: Runs the given Node script by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} path to the JavaScript script to execute.\n :args - The {Array} of arguments to pass to the script (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " - } - } - }, - "exports": 14 - }, - "src/buffered-process.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "1": { - "15": { - "name": "ChildProcess", - "type": "import", - "range": [ - [ - 1, - 15 - ], - [ - 1, - 37 - ] - ], - "bindingType": "variable", - "module": "child_process", - "builtin": true - } - }, - "18": { - "0": { - "type": "class", - "name": "BufferedProcess", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 40, - 15 - ], - [ - 99, - 16 - ], - [ - 117, - 8 - ] - ], - "doc": " Public: A wrapper which provides standard error/output line buffering for\nNode's ChildProcess.\n\n## Requiring in packages\n\n```coffee\n{BufferedProcess} = require 'atom'\n\ncommand = 'ps'\nargs = ['-ef']\nstdout = (output) -> console.log(output)\nexit = (code) -> console.log(\"ps -ef exited with #{code}\")\nprocess = new BufferedProcess({command, args, stdout, exit})\n``` ", - "range": [ - [ - 18, - 0 - ], - [ - 120, - 19 - ] - ] - } - }, - "40": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 40, - 15 - ], - [ - 99, - 1 - ] - ], - "doc": " Public: Runs the given command by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} command to execute.\n :args - The {Array} of arguments to pass to the command (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " - } - }, - "99": { - "16": { - "name": "bufferStream", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stream", - "onLines", - "onDone" - ], - "range": [ - [ - 99, - 16 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: Helper method to pass data line by line.\n\nstream - The Stream to read from.\nonLines - The callback to call with each line of data.\nonDone - The callback to call when the stream has closed. " - } - }, - "117": { - "8": { - "name": "kill", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 8 - ], - [ - 120, - 19 - ] - ], - "doc": "Public: Terminate the process. " - } - } - }, - "exports": 18 - }, - "src/clipboard.coffee": { - "objects": { - "0": { - "12": { - "name": "clipboard", - "type": "import", - "range": [ - [ - 0, - 12 - ], - [ - 0, - 30 - ] - ], - "bindingType": "variable", - "module": "clipboard" - } - }, - "1": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 1, - 9 - ], - [ - 1, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "7": { - "0": { - "type": "class", - "name": "Clipboard", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 8, - 12 - ], - [ - 9, - 24 - ], - [ - 16, - 7 - ], - [ - 26, - 9 - ], - [ - 34, - 8 - ], - [ - 43, - 20 - ] - ], - "doc": " Public: Represents the clipboard used for copying and pasting in Atom.\n\nAn instance of this class is always available as the `atom.clipboard` global. ", - "range": [ - [ - 7, - 0 - ], - [ - 48, - 12 - ] - ] - } - }, - "8": { - "12": { - "name": "metadata", - "type": "primitive", - "range": [ - [ - 8, - 12 - ], - [ - 8, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "24": { - "name": "signatureForMetadata", - "type": "primitive", - "range": [ - [ - 9, - 24 - ], - [ - 9, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "7": { - "name": "md5", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 16, - 7 - ], - [ - 26, - 1 - ] - ], - "doc": " Private: Creates an `md5` hash of some text.\n\ntext - A {String} to hash.\n\nReturns a hashed {String}. " - } - }, - "26": { - "9": { - "name": "write", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "metadata" - ], - "range": [ - [ - 26, - 9 - ], - [ - 34, - 1 - ] - ], - "doc": " Public: Write the given text to the clipboard.\n\nThe metadata associated with the text is available by calling\n{::readWithMetadata}.\n\ntext - The {String} to store.\nmetadata - The additional info to associate with the text. " - } - }, - "34": { - "8": { - "name": "read", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 8 - ], - [ - 43, - 1 - ] - ], - "doc": " Public: Read the text from the clipboard.\n\nReturns a {String}. " - } - }, - "43": { - "20": { - "name": "readWithMetadata", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 20 - ], - [ - 48, - 12 - ] - ], - "doc": " Public: Read the text from the clipboard and return both the text and the\nassociated metadata.\n\nReturns an {Object} with the following keys:\n :text - The {String} clipboard text.\n :metadata - The metadata stored by an earlier call to {::write}. " - } - } - }, - "exports": 7 - }, - "src/coffee-cache.coffee": { - "objects": { - "0": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 0, - 9 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "3": { - "15": { - "name": "CoffeeScript", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 37 - ] - ], - "bindingType": "variable", - "module": "coffee-script" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.1" - } - }, - "8": { - "17": { - "name": "coffeeCacheDir", - "type": "function", - "range": [ - [ - 8, - 17 - ], - [ - 8, - 45 - ] - ] - } - }, - "11": { - "15": { - "name": "getCachePath", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "coffee" - ], - "range": [ - [ - 11, - 15 - ], - [ - 14, - 0 - ] - ], - "doc": "~Private~" - } - }, - "15": { - "22": { - "name": "getCachedJavaScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "cachePath" - ], - "range": [ - [ - 15, - 22 - ], - [ - 19, - 0 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "18": { - "name": "convertFilePath", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 20, - 18 - ], - [ - 24, - 0 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "22": { - "name": "compileCoffeeScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "coffee", - "filePath", - "cachePath" - ], - "range": [ - [ - 25, - 22 - ], - [ - 33, - 0 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "22": { - "name": "requireCoffeeScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "module", - "filePath" - ], - "range": [ - [ - 34, - 22 - ], - [ - 39, - 0 - ] - ] - } - }, - "41": { - "12": { - "name": "cacheDir", - "type": "primitive", - "range": [ - [ - 41, - 12 - ], - [ - 41, - 19 - ] - ] - } - }, - "42": { - "12": { - "name": "register", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 12 - ], - [ - 46, - 6 - ] - ], - "doc": null - } - } - }, - "exports": 41 - }, - "src/command-installer.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "2": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 22 - ] - ], - "bindingType": "variable", - "module": "async@~0.2.10" - } - }, - "3": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 3, - 5 - ], - [ - 3, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.1" - } - }, - "4": { - "9": { - "name": "mkdirp", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 24 - ] - ], - "bindingType": "variable", - "module": "mkdirp" - } - }, - "5": { - "8": { - "name": "runas", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "module": "runas@^1.0.1" - } - }, - "7": { - "17": { - "name": "symlinkCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "sourcePath", - "destinationPath", - "callback" - ], - "range": [ - [ - 7, - 17 - ], - [ - 17, - 0 - ] - ], - "doc": "~Private~" - } - }, - "18": { - "34": { - "name": "symlinkCommandWithPrivilegeSync", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "sourcePath", - "destinationPath" - ], - "range": [ - [ - 18, - 34 - ], - [ - 27, - 0 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "23": { - "name": "getInstallDirectory", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 23 - ], - [ - 32, - 1 - ] - ], - "doc": null - } - }, - "32": { - "11": { - "name": "install", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "commandPath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 32, - 11 - ], - [ - 52, - 1 - ] - ], - "doc": null - } - }, - "52": { - "22": { - "name": "installAtomCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "resourcePath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 52, - 22 - ], - [ - 56, - 1 - ] - ], - "doc": null - } - }, - "56": { - "21": { - "name": "installApmCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "resourcePath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 56, - 21 - ], - [ - 58, - 51 - ] - ], - "doc": null - } - } - }, - "exports": 29 - }, - "src/config.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "3": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "4": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "5": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "module": "async@~0.2.10" - } - }, - "6": { - "14": { - "name": "pathWatcher", - "type": "import", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 34 - ] - ], - "bindingType": "variable", - "module": "pathwatcher" - } - }, - "25": { - "0": { - "type": "class", - "name": "Config", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 36, - 29 - ], - [ - 52, - 8 - ], - [ - 57, - 18 - ], - [ - 72, - 21 - ], - [ - 76, - 23 - ], - [ - 80, - 15 - ], - [ - 91, - 21 - ], - [ - 95, - 15 - ], - [ - 104, - 7 - ], - [ - 114, - 10 - ], - [ - 125, - 18 - ], - [ - 136, - 7 - ], - [ - 152, - 10 - ], - [ - 160, - 18 - ], - [ - 168, - 14 - ], - [ - 178, - 13 - ], - [ - 187, - 17 - ], - [ - 199, - 20 - ], - [ - 211, - 19 - ], - [ - 231, - 11 - ], - [ - 253, - 13 - ], - [ - 256, - 10 - ], - [ - 261, - 8 - ] - ], - "doc": " Public: Used to access all of Atom's configuration details.\n\nAn instance of this class is always available as the `atom.config` global.\n\n## Best practices\n\n* Create your own root keypath using your package's name.\n* Don't depend on (or write to) configuration keys outside of your keypath.\n\n## Example\n\n```coffeescript\natom.config.set('my-package.key', 'value')\natom.config.observe 'my-package.key', ->\n console.log 'My configuration changed:', atom.config.get('my-package.key')\n``` ", - "range": [ - [ - 25, - 0 - ], - [ - 262, - 50 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 29, - 15 - ], - [ - 36, - 1 - ] - ], - "doc": "Private: Created during initialization, available as `atom.config` " - } - }, - "36": { - "29": { - "name": "initializeConfigDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "done" - ], - "range": [ - [ - 36, - 29 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 8 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "18": { - "name": "loadUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 18 - ], - [ - 72, - 1 - ] - ], - "doc": "~Private~" - } - }, - "72": { - "21": { - "name": "observeUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 72, - 21 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "23": { - "name": "unobserveUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 23 - ], - [ - 80, - 1 - ] - ], - "doc": "~Private~" - } - }, - "80": { - "15": { - "name": "setDefaults", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "defaults" - ], - "range": [ - [ - 80, - 15 - ], - [ - 91, - 1 - ] - ], - "doc": "~Private~" - } - }, - "91": { - "21": { - "name": "getUserConfigPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 21 - ], - [ - 95, - 1 - ] - ], - "doc": "Public: Get the {String} path to the config file being used. " - } - }, - "95": { - "15": { - "name": "getSettings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 95, - 15 - ], - [ - 104, - 1 - ] - ], - "doc": "Public: Returns a new {Object} containing all of settings and defaults. " - } - }, - "104": { - "7": { - "name": "get", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 104, - 7 - ], - [ - 114, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key.\n\nkeyPath - The {String} name of the key to retrieve.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `null` if the key doesn't exist in either. " - } - }, - "114": { - "10": { - "name": "getInt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 114, - 10 - ], - [ - 125, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key as an integer.\n\nkeyPath - The {String} name of the key to retrieve\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `NaN` if the key doesn't exist in either. " - } - }, - "125": { - "18": { - "name": "getPositiveInt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "defaultValue" - ], - "range": [ - [ - 125, - 18 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key as a positive integer.\n\nkeyPath - The {String} name of the key to retrieve\ndefaultValue - The integer {Number} to fall back to if the value isn't\n positive, defaults to 0.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `defaultValue` if the key value isn't greater than zero. " - } - }, - "136": { - "7": { - "name": "set", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 136, - 7 - ], - [ - 152, - 1 - ] - ], - "doc": " Public: Sets the value for a configuration setting.\n\nThis value is stored in Atom's internal configuration file.\n\nkeyPath - The {String} name of the key.\nvalue - The value of the setting.\n\nReturns the `value`. " - } - }, - "152": { - "10": { - "name": "toggle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 152, - 10 - ], - [ - 160, - 1 - ] - ], - "doc": " Public: Toggle the value at the key path.\n\nThe new value will be `true` if the value is currently falsy and will be\n`false` if the value is currently truthy.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " - } - }, - "160": { - "18": { - "name": "restoreDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 160, - 18 - ], - [ - 168, - 1 - ] - ], - "doc": " Public: Restore the key path to its default value.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " - } - }, - "168": { - "14": { - "name": "getDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 168, - 14 - ], - [ - 178, - 1 - ] - ], - "doc": " Public: Get the default value of the key path.\n\nkeyPath - The {String} name of the key.\n\nReturns the default value. " - } - }, - "178": { - "13": { - "name": "isDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 178, - 13 - ], - [ - 187, - 1 - ] - ], - "doc": " Public: Is the key path value its default value?\n\nkeyPath - The {String} name of the key.\n\nReturns a {Boolean}, `true` if the current value is the default, `false`\notherwise. " - } - }, - "187": { - "17": { - "name": "pushAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 187, - 17 - ], - [ - 199, - 1 - ] - ], - "doc": " Public: Push the value to the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to push to the array.\n\nReturns the new array length {Number} of the setting. " - } - }, - "199": { - "20": { - "name": "unshiftAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 199, - 20 - ], - [ - 211, - 1 - ] - ], - "doc": " Public: Add the value to the beginning of the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to shift onto the array.\n\nReturns the new array length {Number} of the setting. " - } - }, - "211": { - "19": { - "name": "removeAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 211, - 19 - ], - [ - 231, - 1 - ] - ], - "doc": " Public: Remove the value from the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to remove from the array.\n\nReturns the new array value of the setting. " - } - }, - "231": { - "11": { - "name": "observe", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "options", - "callback" - ], - "range": [ - [ - 231, - 11 - ], - [ - 253, - 1 - ] - ], - "doc": " Public: Establishes an event listener for a given key.\n\n`callback` is fired whenever the value of the key is changed and will\n be fired immediately unless the `callNow` option is `false`.\n\nkeyPath - The {String} name of the key to observe\noptions - An optional {Object} containing the `callNow` key.\ncallback - The {Function} to call when the value of the key changes.\n The first argument will be the new value of the key and the\n  second argument will be an {Object} with a `previous` property\n that is the prior value of the key.\n\nReturns an {Object} with the following keys:\n :off - A {Function} that unobserves the `keyPath` when called. " - } - }, - "253": { - "13": { - "name": "unobserve", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 253, - 13 - ], - [ - 256, - 1 - ] - ], - "doc": " Public: Unobserve all callbacks on a given key.\n\nkeyPath - The {String} name of the key to unobserve. " - } - }, - "256": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 10 - ], - [ - 261, - 1 - ] - ], - "doc": "~Private~" - } - }, - "261": { - "8": { - "name": "save", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 8 - ], - [ - 262, - 50 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 25 - }, - "src/context-menu-manager.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "2": { - "9": { - "name": "remote", - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 24 - ] - ], - "bindingType": "variable", - "module": "remote" - } - }, - "10": { - "0": { - "type": "class", - "name": "ContextMenuManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 33, - 7 - ], - [ - 45, - 17 - ], - [ - 60, - 17 - ], - [ - 66, - 25 - ], - [ - 82, - 38 - ], - [ - 91, - 34 - ], - [ - 105, - 24 - ], - [ - 111, - 16 - ] - ], - "doc": " Public: Provides a registry for commands that you'd like to appear in the\ncontext menu.\n\nAn instance of this class is always available as the `atom.contextMenu`\nglobal. ", - "range": [ - [ - 10, - 0 - ], - [ - 116, - 64 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 33, - 1 - ] - ] - } - }, - "33": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "object", - null - ], - "range": [ - [ - 33, - 7 - ], - [ - 45, - 1 - ] - ], - "doc": " Public: Creates menu definitions from the object specified by the menu\ncson API.\n\nname - The path of the file that contains the menu definitions.\nobject - The 'context-menu' object specified in the menu cson API.\noptions - An {Object} with the following keys:\n :devMode - Determines whether the entries should only be shown when\n the window is in dev mode.\n\nReturns nothing. " - } - }, - "45": { - "17": { - "name": "buildMenuItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "label", - "command" - ], - "range": [ - [ - 45, - 17 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "17": { - "name": "addBySelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "definition", - null - ], - "range": [ - [ - 60, - 17 - ], - [ - 66, - 1 - ] - ], - "doc": " Private: Registers a command to be displayed when the relevant item is right\nclicked.\n\nselector - The css selector for the active element which should include\n the given command in its context menu.\ndefinition - The object containing keys which match the menu template API.\noptions - An {Object} with the following keys:\n :devMode - Indicates whether this command should only appear while the\n editor is in dev mode. " - } - }, - "66": { - "25": { - "name": "definitionsForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element", - null - ], - "range": [ - [ - 66, - 25 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Returns definitions which match the element and devMode. " - } - }, - "82": { - "38": { - "name": "menuTemplateForMostSpecificElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element", - null - ], - "range": [ - [ - 82, - 38 - ], - [ - 91, - 1 - ] - ], - "doc": " Private: Used to generate the context menu for a specific element and it's\nparents.\n\nThe menu items are sorted such that menu items that match closest to the\nactive element are listed first. The further down the list you go, the higher\nup the ancestor hierarchy they match.\n\nelement - The DOM element to generate the menu template for. " - } - }, - "91": { - "34": { - "name": "combinedMenuTemplateForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 91, - 34 - ], - [ - 105, - 1 - ] - ], - "doc": " Private: Returns a menu template for both normal entries as well as\ndevelopment mode entries. " - } - }, - "105": { - "24": { - "name": "executeBuildHandlers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event", - "menuTemplate" - ], - "range": [ - [ - 105, - 24 - ], - [ - 111, - 1 - ] - ], - "doc": " Private: Executes `executeAtBuild` if defined for each menu item with\nthe provided event and then removes the `executeAtBuild` property from\nthe menu item.\n\nThis is useful for commands that need to provide data about the event\nto the command. " - } - }, - "111": { - "16": { - "name": "showForEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 111, - 16 - ], - [ - 116, - 64 - ] - ], - "doc": "Public: Request a context menu to be displayed. " - } - } - }, - "exports": 10 - }, - "src/cursor-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "18": { - "name": "CursorComponent", - "type": "function", - "range": [ - [ - 5, - 18 - ], - [ - 17, - 79 - ] - ] - } - }, - "6": { - "15": { - "name": "'CursorComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 31 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 16, - 1 - ] - ], - "doc": null - } - }, - "16": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 16, - 25 - ], - [ - 17, - 79 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/cursor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "4": { - "0": { - "type": "class", - "name": "CursorView", - "bindingType": "exports", - "classProperties": [ - [ - 5, - 12 - ], - [ - 8, - 16 - ], - [ - 10, - 17 - ], - [ - 13, - 18 - ], - [ - 19, - 17 - ] - ], - "prototypeProperties": [ - [ - 24, - 12 - ], - [ - 25, - 11 - ], - [ - 26, - 15 - ], - [ - 27, - 16 - ], - [ - 28, - 23 - ], - [ - 30, - 14 - ], - [ - 44, - 16 - ], - [ - 48, - 17 - ], - [ - 65, - 12 - ], - [ - 68, - 19 - ], - [ - 71, - 19 - ], - [ - 74, - 20 - ], - [ - 77, - 14 - ], - [ - 86, - 16 - ], - [ - 90, - 17 - ], - [ - 94, - 17 - ], - [ - 98, - 21 - ], - [ - 101, - 21 - ], - [ - 104, - 30 - ], - [ - 109, - 24 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 112, - 31 - ] - ] - } - }, - "5": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 12 - ], - [ - 8, - 1 - ] - ] - } - }, - "8": { - "16": { - "name": "blinkPeriod", - "type": "primitive", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 18 - ] - ], - "bindingType": "classProperty" - } - }, - "10": { - "17": { - "name": "blinkCursors", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 17 - ], - [ - 13, - 1 - ] - ], - "doc": "~Private~" - } - }, - "13": { - "18": { - "name": "startBlinking", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 13, - 18 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "17": { - "name": "stopBlinking", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 19, - 17 - ], - [ - 24, - 1 - ] - ], - "doc": "~Private~" - } - }, - "24": { - "12": { - "name": "blinking", - "type": "primitive", - "range": [ - [ - 24, - 12 - ], - [ - 24, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "25": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 25, - 11 - ], - [ - 25, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "26": { - "15": { - "name": "needsUpdate", - "type": "primitive", - "range": [ - [ - 26, - 15 - ], - [ - 26, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "27": { - "16": { - "name": "needsRemoval", - "type": "primitive", - "range": [ - [ - 27, - 16 - ], - [ - 27, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "28": { - "23": { - "name": "shouldPauseBlinking", - "type": "primitive", - "range": [ - [ - 28, - 23 - ], - [ - 28, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "30": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 30, - 14 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 16 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 17 - ], - [ - 65, - 1 - ] - ], - "doc": "~Private~" - } - }, - "65": { - "12": { - "name": "isHidden", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 65, - 12 - ], - [ - 68, - 1 - ] - ], - "doc": "Private: Override for speed. The base function checks the computedStyle " - } - }, - "68": { - "19": { - "name": "needsAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 19 - ], - [ - 71, - 1 - ] - ], - "doc": "~Private~" - } - }, - "71": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 71, - 19 - ], - [ - 74, - 1 - ] - ], - "doc": "~Private~" - } - }, - "74": { - "20": { - "name": "getPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 20 - ], - [ - 77, - 1 - ] - ], - "doc": "~Private~" - } - }, - "77": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 77, - 14 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "16": { - "name": "stopBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 16 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "17": { - "name": "startBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 17 - ], - [ - 94, - 1 - ] - ], - "doc": "~Private~" - } - }, - "94": { - "17": { - "name": "resetBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 17 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "21": { - "name": "getBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 21 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "21": { - "name": "getScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 21 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "30": { - "name": "removeIdleClassTemporarily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 30 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "24": { - "name": "resetCursorAnimation", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 24 - ], - [ - 112, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/cursor.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "10": { - "0": { - "type": "class", - "name": "Cursor", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 18 - ], - [ - 12, - 18 - ], - [ - 13, - 14 - ], - [ - 14, - 11 - ], - [ - 15, - 19 - ], - [ - 18, - 15 - ], - [ - 49, - 11 - ], - [ - 52, - 18 - ], - [ - 60, - 16 - ], - [ - 70, - 21 - ], - [ - 75, - 21 - ], - [ - 78, - 18 - ], - [ - 89, - 21 - ], - [ - 94, - 21 - ], - [ - 97, - 14 - ], - [ - 101, - 20 - ], - [ - 105, - 14 - ], - [ - 112, - 13 - ], - [ - 122, - 14 - ], - [ - 136, - 16 - ], - [ - 145, - 28 - ], - [ - 158, - 27 - ], - [ - 170, - 16 - ], - [ - 176, - 19 - ], - [ - 180, - 18 - ], - [ - 184, - 16 - ], - [ - 188, - 19 - ], - [ - 192, - 16 - ], - [ - 196, - 19 - ], - [ - 201, - 24 - ], - [ - 205, - 10 - ], - [ - 217, - 12 - ], - [ - 233, - 12 - ], - [ - 247, - 13 - ], - [ - 256, - 13 - ], - [ - 260, - 16 - ], - [ - 264, - 31 - ], - [ - 268, - 25 - ], - [ - 273, - 30 - ], - [ - 283, - 25 - ], - [ - 293, - 25 - ], - [ - 297, - 19 - ], - [ - 301, - 25 - ], - [ - 305, - 19 - ], - [ - 310, - 29 - ], - [ - 315, - 30 - ], - [ - 320, - 26 - ], - [ - 336, - 43 - ], - [ - 358, - 41 - ], - [ - 380, - 41 - ], - [ - 409, - 37 - ], - [ - 430, - 40 - ], - [ - 447, - 29 - ], - [ - 457, - 29 - ], - [ - 461, - 34 - ], - [ - 466, - 38 - ], - [ - 470, - 45 - ], - [ - 484, - 49 - ], - [ - 502, - 34 - ], - [ - 506, - 24 - ], - [ - 510, - 23 - ], - [ - 514, - 18 - ], - [ - 521, - 17 - ], - [ - 527, - 13 - ], - [ - 532, - 32 - ] - ], - "doc": " Public: The `Cursor` class represents the little blinking line identifying\nwhere text can be inserted.\n\nCursors belong to {Editor}s and have some metadata attached in the form\nof a {Marker}. ", - "range": [ - [ - 10, - 0 - ], - [ - 540, - 50 - ] - ] - } - }, - "11": { - "18": { - "name": "screenPosition", - "type": "primitive", - "range": [ - [ - 11, - 18 - ], - [ - 11, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "18": { - "name": "bufferPosition", - "type": "primitive", - "range": [ - [ - 12, - 18 - ], - [ - 12, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "13": { - "14": { - "name": "goalColumn", - "type": "primitive", - "range": [ - [ - 13, - 14 - ], - [ - 13, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 14, - 11 - ], - [ - 14, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "15": { - "19": { - "name": "needsAutoscroll", - "type": "primitive", - "range": [ - [ - 15, - 19 - ], - [ - 15, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 18, - 15 - ], - [ - 49, - 1 - ] - ], - "doc": "Private: Instantiated by an {Editor} " - } - }, - "49": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 11 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "18": { - "name": "changePosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options", - "fn" - ], - "range": [ - [ - 52, - 18 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "16": { - "name": "getPixelRect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 60, - 16 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "21": { - "name": "setScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 70, - 21 - ], - [ - 75, - 1 - ] - ], - "doc": " Public: Moves a cursor to a given screen position.\n\nscreenPosition - An {Array} of two numbers: the screen row, and the screen\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " - } - }, - "75": { - "21": { - "name": "getScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 75, - 21 - ], - [ - 78, - 1 - ] - ], - "doc": "Public: Returns the screen position of the cursor as an Array. " - } - }, - "78": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 78, - 18 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "setBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 89, - 21 - ], - [ - 94, - 1 - ] - ], - "doc": " Public: Moves a cursor to a given buffer position.\n\nbufferPosition - An {Array} of two numbers: the buffer row, and the buffer\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " - } - }, - "94": { - "21": { - "name": "getBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 21 - ], - [ - 97, - 1 - ] - ], - "doc": "Public: Returns the current buffer position as an Array. " - } - }, - "97": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 97, - 14 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "20": { - "name": "updateVisibility", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 20 - ], - [ - 105, - 1 - ] - ], - "doc": "Public: If the marker range is empty, the cursor is marked as being visible. " - } - }, - "105": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 105, - 14 - ], - [ - 112, - 1 - ] - ], - "doc": "Public: Sets whether the cursor is visible. " - } - }, - "112": { - "13": { - "name": "isVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 112, - 13 - ], - [ - 112, - 23 - ] - ], - "doc": "Public: Returns the visibility of the cursor. " - } - }, - "122": { - "14": { - "name": "wordRegExp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 122, - 14 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Get the RegExp used by the cursor to determine what a \"word\" is.\n\noptions: An optional {Object} with the following keys:\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the regex.\n (default: true)\n\nReturns a {RegExp}. " - } - }, - "136": { - "16": { - "name": "isLastCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 16 - ], - [ - 145, - 1 - ] - ], - "doc": " Public: Identifies if this cursor is the last in the {Editor}.\n\n\"Last\" is defined as the most recently added cursor.\n\nReturns a {Boolean}. " - } - }, - "145": { - "28": { - "name": "isSurroundedByWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 145, - 28 - ], - [ - 158, - 1 - ] - ], - "doc": " Public: Identifies if the cursor is surrounded by whitespace.\n\n\"Surrounded\" here means that the character directly before and after the\ncursor are both whitespace.\n\nReturns a {Boolean}. " - } - }, - "158": { - "27": { - "name": "isBetweenWordAndNonWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 27 - ], - [ - 170, - 1 - ] - ], - "doc": " Public: Returns whether the cursor is currently between a word and non-word\ncharacter. The non-word characters are defined by the\n`editor.nonWordCharacters` config value.\n\nThis method returns false if the character before or after the cursor is\nwhitespace.\n\nReturns a Boolean. " - } - }, - "170": { - "16": { - "name": "isInsideWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 170, - 16 - ], - [ - 176, - 1 - ] - ], - "doc": "Public: Returns whether this cursor is between a word's start and end. " - } - }, - "176": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 176, - 19 - ], - [ - 180, - 1 - ] - ], - "doc": "Public: Prevents this cursor from causing scrolling. " - } - }, - "180": { - "18": { - "name": "clearSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 180, - 18 - ], - [ - 184, - 1 - ] - ], - "doc": "Public: Deselects the current selection. " - } - }, - "184": { - "16": { - "name": "getScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 184, - 16 - ], - [ - 188, - 1 - ] - ], - "doc": "Public: Returns the cursor's current screen row. " - } - }, - "188": { - "19": { - "name": "getScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 19 - ], - [ - 192, - 1 - ] - ], - "doc": "Public: Returns the cursor's current screen column. " - } - }, - "192": { - "16": { - "name": "getBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 192, - 16 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Retrieves the cursor's current buffer row. " - } - }, - "196": { - "19": { - "name": "getBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 196, - 19 - ], - [ - 201, - 1 - ] - ], - "doc": "Public: Returns the cursor's current buffer column. " - } - }, - "201": { - "24": { - "name": "getCurrentBufferLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 201, - 24 - ], - [ - 205, - 1 - ] - ], - "doc": " Public: Returns the cursor's current buffer row of text excluding its line\nending. " - } - }, - "205": { - "10": { - "name": "moveUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount", - null - ], - "range": [ - [ - 205, - 10 - ], - [ - 217, - 1 - ] - ], - "doc": "Public: Moves the cursor up one screen row. " - } - }, - "217": { - "12": { - "name": "moveDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount", - null - ], - "range": [ - [ - 217, - 12 - ], - [ - 233, - 1 - ] - ], - "doc": "Public: Moves the cursor down one screen row. " - } - }, - "233": { - "12": { - "name": "moveLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 233, - 12 - ], - [ - 247, - 1 - ] - ], - "doc": " Public: Moves the cursor left one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the left of the selection if a\n selection exists. " - } - }, - "247": { - "13": { - "name": "moveRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 247, - 13 - ], - [ - 256, - 1 - ] - ], - "doc": " Public: Moves the cursor right one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the right of the selection if a\n selection exists. " - } - }, - "256": { - "13": { - "name": "moveToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 13 - ], - [ - 260, - 1 - ] - ], - "doc": "Public: Moves the cursor to the top of the buffer. " - } - }, - "260": { - "16": { - "name": "moveToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 16 - ], - [ - 264, - 1 - ] - ], - "doc": "Public: Moves the cursor to the bottom of the buffer. " - } - }, - "264": { - "31": { - "name": "moveToBeginningOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 264, - 31 - ], - [ - 268, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the line. " - } - }, - "268": { - "25": { - "name": "moveToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 268, - 25 - ], - [ - 273, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the buffer line. " - } - }, - "273": { - "30": { - "name": "moveToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 273, - 30 - ], - [ - 283, - 1 - ] - ], - "doc": " Public: Moves the cursor to the beginning of the first character in the\nline. " - } - }, - "283": { - "25": { - "name": "skipLeadingWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 283, - 25 - ], - [ - 293, - 1 - ] - ], - "doc": " Public: Moves the cursor to the beginning of the buffer line, skipping all\nwhitespace. " - } - }, - "293": { - "25": { - "name": "moveToEndOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 293, - 25 - ], - [ - 297, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the line. " - } - }, - "297": { - "19": { - "name": "moveToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 19 - ], - [ - 301, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the buffer line. " - } - }, - "301": { - "25": { - "name": "moveToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 301, - 25 - ], - [ - 305, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the word. " - } - }, - "305": { - "19": { - "name": "moveToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 305, - 19 - ], - [ - 310, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the word. " - } - }, - "310": { - "29": { - "name": "moveToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 310, - 29 - ], - [ - 315, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the next word. " - } - }, - "315": { - "30": { - "name": "moveToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 30 - ], - [ - 320, - 1 - ] - ], - "doc": "Public: Moves the cursor to the previous word boundary. " - } - }, - "320": { - "26": { - "name": "moveToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 320, - 26 - ], - [ - 336, - 1 - ] - ], - "doc": "Public: Moves the cursor to the next word boundary. " - } - }, - "336": { - "43": { - "name": "getBeginningOfCurrentWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 336, - 43 - ], - [ - 358, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the current word starts.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n :allowPrevious - A {Boolean} indicating whether the beginning of the\n previous word can be returned.\n\nReturns a {Range}. " - } - }, - "358": { - "41": { - "name": "getPreviousWordBoundaryBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 358, - 41 - ], - [ - 380, - 1 - ] - ], - "doc": " Public: Retrieves buffer position of previous word boundary. It might be on\nthe current word, or the previous word. " - } - }, - "380": { - "41": { - "name": "getMoveNextWordBoundaryBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 380, - 41 - ], - [ - 409, - 1 - ] - ], - "doc": " Public: Retrieves buffer position of the next word boundary. It might be on\nthe current word, or the previous word. " - } - }, - "409": { - "37": { - "name": "getEndOfCurrentWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 409, - 37 - ], - [ - 430, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the current word ends.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp})\n :includeNonWordCharacters - A Boolean indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n\nReturns a {Range}. " - } - }, - "430": { - "40": { - "name": "getBeginningOfNextWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 430, - 40 - ], - [ - 447, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the next word starts.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n\nReturns a {Range}. " - } - }, - "447": { - "29": { - "name": "getCurrentWordBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 447, - 29 - ], - [ - 457, - 1 - ] - ], - "doc": " Public: Returns the buffer Range occupied by the word located under the cursor.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}). " - } - }, - "457": { - "29": { - "name": "getCurrentLineBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 457, - 29 - ], - [ - 461, - 1 - ] - ], - "doc": " Public: Returns the buffer Range for the current line.\n\noptions -\n :includeNewline: - A {Boolean} which controls whether the Range should\n include the newline. " - } - }, - "461": { - "34": { - "name": "moveToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 461, - 34 - ], - [ - 466, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the next paragraph " - } - }, - "466": { - "38": { - "name": "moveToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 466, - 38 - ], - [ - 470, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the previous paragraph " - } - }, - "470": { - "45": { - "name": "getBeginningOfNextParagraphBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 470, - 45 - ], - [ - 484, - 1 - ] - ], - "doc": "~Private~" - } - }, - "484": { - "49": { - "name": "getBeginningOfPreviousParagraphBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 484, - 49 - ], - [ - 502, - 1 - ] - ], - "doc": "~Private~" - } - }, - "502": { - "34": { - "name": "getCurrentParagraphBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 502, - 34 - ], - [ - 506, - 1 - ] - ], - "doc": " Public: Retrieves the range for the current paragraph.\n\nA paragraph is defined as a block of text surrounded by empty lines.\n\nReturns a {Range}. " - } - }, - "506": { - "24": { - "name": "getCurrentWordPrefix", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 506, - 24 - ], - [ - 510, - 1 - ] - ], - "doc": "Public: Returns the characters preceding the cursor in the current word. " - } - }, - "510": { - "23": { - "name": "isAtBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 510, - 23 - ], - [ - 514, - 1 - ] - ], - "doc": "Public: Returns whether the cursor is at the start of a line. " - } - }, - "514": { - "18": { - "name": "getIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 514, - 18 - ], - [ - 521, - 1 - ] - ], - "doc": "Public: Returns the indentation level of the current line. " - } - }, - "521": { - "17": { - "name": "isAtEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 521, - 17 - ], - [ - 527, - 1 - ] - ], - "doc": "Public: Returns whether the cursor is on the line return character. " - } - }, - "527": { - "13": { - "name": "getScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 527, - 13 - ], - [ - 532, - 1 - ] - ], - "doc": " Public: Retrieves the grammar's token scopes for the line.\n\nReturns an {Array} of {String}s. " - } - }, - "532": { - "32": { - "name": "hasPrecedingCharactersOnLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 532, - 32 - ], - [ - 540, - 50 - ] - ], - "doc": " Public: Returns true if this cursor has no non-whitespace characters before\nits current position. " - } - } - }, - "exports": 10 - }, - "src/cursors-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "debounce", - "exportsProperty": "debounce" - }, - "11": { - "type": "import", - "range": [ - [ - 2, - 11 - ], - [ - 2, - 17 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "toArray", - "exportsProperty": "toArray" - }, - "20": { - "type": "import", - "range": [ - [ - 2, - 20 - ], - [ - 2, - 39 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "42": { - "type": "import", - "range": [ - [ - 2, - 42 - ], - [ - 2, - 48 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "isEqual", - "exportsProperty": "isEqual" - } - }, - "3": { - "18": { - "name": "SubscriberMixin", - "type": "import", - "range": [ - [ - 3, - 18 - ], - [ - 3, - 45 - ] - ], - "bindingType": "variable", - "path": "./subscriber-mixin" - } - }, - "4": { - "18": { - "name": "CursorComponent", - "type": "import", - "range": [ - [ - 4, - 18 - ], - [ - 4, - 45 - ] - ], - "bindingType": "variable", - "path": "./cursor-component" - } - }, - "7": { - "19": { - "name": "CursorsComponent", - "type": "function", - "range": [ - [ - 7, - 19 - ], - [ - 60, - 37 - ] - ] - } - }, - "8": { - "15": { - "name": "'CursorsComponent'", - "type": "primitive", - "range": [ - [ - 8, - 15 - ], - [ - 8, - 32 - ] - ] - } - }, - "9": { - "10": { - "type": "primitive", - "range": [ - [ - 9, - 10 - ], - [ - 9, - 26 - ] - ] - } - }, - "11": { - "29": { - "type": "primitive", - "range": [ - [ - 11, - 29 - ], - [ - 11, - 32 - ] - ] - } - }, - "13": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 10 - ], - [ - 25, - 1 - ] - ], - "doc": null - } - }, - "25": { - "19": { - "name": "getInitialState", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 19 - ], - [ - 28, - 1 - ] - ], - "doc": null - } - }, - "28": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 21 - ], - [ - 31, - 1 - ] - ], - "doc": null - } - }, - "31": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 31, - 24 - ], - [ - 34, - 1 - ] - ], - "doc": null - } - }, - "34": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps", - "newState" - ], - "range": [ - [ - 34, - 25 - ], - [ - 38, - 1 - ] - ], - "doc": null - } - }, - "38": { - "23": { - "name": "componentWillUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 38, - 23 - ], - [ - 45, - 1 - ] - ], - "doc": null - } - }, - "45": { - "24": { - "name": "startBlinkingCursors", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 24 - ], - [ - 48, - 1 - ] - ], - "doc": null - } - }, - "48": { - "34": { - "type": "primitive", - "range": [ - [ - 48, - 34 - ], - [ - 48, - 37 - ] - ] - } - }, - "50": { - "23": { - "name": "stopBlinkingCursors", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 23 - ], - [ - 53, - 1 - ] - ], - "doc": null - } - }, - "53": { - "21": { - "name": "toggleCursorBlink", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 21 - ], - [ - 56, - 1 - ] - ], - "doc": null - } - }, - "56": { - "23": { - "name": "pauseCursorBlinking", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 23 - ], - [ - 60, - 37 - ] - ], - "doc": null - } - } - }, - "exports": 7 - }, - "src/custom-event-mixin.coffee": { - "objects": { - "2": { - "2": { - "type": "primitive", - "range": [ - [ - 2, - 2 - ], - [ - 14, - 52 - ] - ] - }, - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 2, - 22 - ], - [ - 5, - 1 - ] - ], - "doc": null - } - }, - "5": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 24 - ], - [ - 10, - 1 - ] - ], - "doc": null - } - }, - "10": { - "27": { - "name": "addCustomEventListeners", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "customEventListeners" - ], - "range": [ - [ - 10, - 27 - ], - [ - 14, - 52 - ] - ], - "doc": null - } - } - }, - "exports": 2 - }, - "src/decoration.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Subscriber", - "exportsProperty": "Subscriber" - }, - "13": { - "type": "import", - "range": [ - [ - 1, - 13 - ], - [ - 1, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "3": { - "12": { - "name": "0", - "type": "primitive", - "range": [ - [ - 3, - 12 - ], - [ - 3, - 12 - ] - ] - } - }, - "4": { - "9": { - "name": "nextId", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 4, - 9 - ], - [ - 4, - 22 - ] - ] - } - }, - "40": { - "0": { - "type": "class", - "name": "Decoration", - "bindingType": "exports", - "classProperties": [ - [ - 43, - 11 - ] - ], - "prototypeProperties": [ - [ - 49, - 15 - ], - [ - 59, - 11 - ], - [ - 70, - 10 - ], - [ - 79, - 13 - ], - [ - 82, - 13 - ], - [ - 89, - 10 - ], - [ - 92, - 18 - ], - [ - 98, - 9 - ], - [ - 104, - 20 - ] - ], - "doc": " Public: Represents a decoration that follows a {Marker}. A decoration is\nbasically a visual representation of a marker. It allows you to add CSS\nclasses to line numbers in the gutter, lines, and add selection-line regions\naround marked ranges of text.\n\n{Decoration} objects are not meant to be created directly, but created with\n{Editor::decorateMarker}. eg.\n\n```coffee\nrange = editor.getSelectedBufferRange() # any range you like\nmarker = editor.markBufferRange(range)\ndecoration = editor.decorateMarker(marker, {type: 'line', class: 'my-line-class'})\n```\n\nBest practice for destorying the decoration is by destroying the {Marker}.\n\n```\nmarker.destroy()\n```\n\nYou should only use {Decoration::destroy} when you still need or do not own\nthe marker.\n\n### IDs\nEach {Decoration} has a unique ID available via `decoration.id`.\n\n### Events\nA couple of events are emitted:\n\n* `destroyed`: When the {Decoration} is destroyed\n* `updated`: When the {Decoration} is updated via {Decoration::update}.\n Event object has properties `oldParams` and `newParams`\n\n ", - "range": [ - [ - 40, - 0 - ], - [ - 106, - 8 - ] - ] - } - }, - "43": { - "11": { - "name": "isType", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "decorationParams", - "type" - ], - "range": [ - [ - 43, - 11 - ], - [ - 49, - 1 - ] - ], - "doc": "~Private~" - } - }, - "49": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null, - null - ], - "range": [ - [ - 49, - 15 - ], - [ - 59, - 1 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 11 - ], - [ - 70, - 1 - ] - ], - "doc": " Public: Destroy this marker.\n\nIf you own the marker, you should use {Marker::destroy} which will destroy\nthis decoration. " - } - }, - "70": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "newParams" - ], - "range": [ - [ - 70, - 10 - ], - [ - 79, - 1 - ] - ], - "doc": " Public: Update the marker with new params. Allows you to change the decoration's class.\n\n```\ndecoration.update({type: 'gutter', class: 'my-new-class'})\n``` " - } - }, - "79": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 13 - ], - [ - 79, - 22 - ] - ], - "doc": "Public: Returns the marker associated with this {Decoration} " - } - }, - "82": { - "13": { - "name": "getParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 13 - ], - [ - 82, - 22 - ] - ], - "doc": "Public: Returns the {Decoration}'s params. " - } - }, - "89": { - "10": { - "name": "isType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "type" - ], - "range": [ - [ - 89, - 10 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "18": { - "name": "matchesPattern", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decorationPattern" - ], - "range": [ - [ - 92, - 18 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "9": { - "name": "flash", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass", - "duration" - ], - "range": [ - [ - 98, - 9 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "20": { - "name": "consumeNextFlash", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 20 - ], - [ - 106, - 8 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 40 - }, - "src/deserializer-manager.coffee": { - "objects": { - "20": { - "0": { - "type": "class", - "name": "DeserializerManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 21, - 15 - ], - [ - 27, - 7 - ], - [ - 33, - 10 - ], - [ - 41, - 15 - ], - [ - 54, - 7 - ] - ], - "doc": " Public: Manages the deserializers used for serialized state\n\nAn instance of this class is always available as the `atom.deserializers`\nglobal.\n\n### Registering a deserializer\n\n```coffee\nclass MyPackageView extends View\n atom.deserializers.add(this)\n\n @deserialize: (state) ->\n new MyPackageView(state)\n\n constructor: (@state) ->\n\n serialize: ->\n @state\n``` ", - "range": [ - [ - 20, - 0 - ], - [ - 58, - 24 - ] - ] - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 15 - ], - [ - 27, - 1 - ] - ] - } - }, - "27": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "classes" - ], - "range": [ - [ - 27, - 7 - ], - [ - 33, - 1 - ] - ], - "doc": " Public: Register the given class(es) as deserializers.\n\nclasses - One or more classes to register. " - } - }, - "33": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "classes" - ], - "range": [ - [ - 33, - 10 - ], - [ - 41, - 1 - ] - ], - "doc": " Public: Remove the given class(es) as deserializers.\n\nclasses - One or more classes to remove. " - } - }, - "41": { - "15": { - "name": "deserialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state", - "params" - ], - "range": [ - [ - 41, - 15 - ], - [ - 54, - 1 - ] - ], - "doc": " Public: Deserialize the state and params.\n\nstate - The state {Object} to deserialize.\nparams - The params {Object} to pass as the second arguments to the\n deserialize method of the deserializer. " - } - }, - "54": { - "7": { - "name": "get", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 54, - 7 - ], - [ - 58, - 24 - ] - ], - "doc": " Private: Get the deserializer for the state.\n\nstate - The state {Object} being deserialized. " - } - } - }, - "exports": 20 - }, - "src/display-buffer-marker.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 2, - 10 - ], - [ - 2, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "5": { - "0": { - "type": "class", - "name": "DisplayBufferMarker", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 9, - 28 - ], - [ - 10, - 25 - ], - [ - 11, - 25 - ], - [ - 12, - 25 - ], - [ - 13, - 25 - ], - [ - 14, - 12 - ], - [ - 16, - 15 - ], - [ - 27, - 8 - ], - [ - 33, - 18 - ], - [ - 40, - 18 - ], - [ - 46, - 18 - ], - [ - 53, - 18 - ], - [ - 56, - 17 - ], - [ - 62, - 25 - ], - [ - 69, - 25 - ], - [ - 76, - 25 - ], - [ - 83, - 25 - ], - [ - 89, - 25 - ], - [ - 96, - 25 - ], - [ - 103, - 25 - ], - [ - 110, - 25 - ], - [ - 117, - 26 - ], - [ - 124, - 26 - ], - [ - 131, - 24 - ], - [ - 138, - 24 - ], - [ - 146, - 13 - ], - [ - 150, - 13 - ], - [ - 153, - 11 - ], - [ - 157, - 14 - ], - [ - 162, - 11 - ], - [ - 169, - 15 - ], - [ - 172, - 17 - ], - [ - 175, - 17 - ], - [ - 178, - 21 - ], - [ - 183, - 11 - ], - [ - 187, - 11 - ], - [ - 191, - 11 - ], - [ - 195, - 11 - ], - [ - 198, - 13 - ], - [ - 202, - 19 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 230, - 23 - ] - ] - } - }, - "9": { - "28": { - "name": "bufferMarkerSubscription", - "type": "primitive", - "range": [ - [ - 9, - 28 - ], - [ - 9, - 31 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "25": { - "name": "oldHeadBufferPosition", - "type": "primitive", - "range": [ - [ - 10, - 25 - ], - [ - 10, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "11": { - "25": { - "name": "oldHeadScreenPosition", - "type": "primitive", - "range": [ - [ - 11, - 25 - ], - [ - 11, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "25": { - "name": "oldTailBufferPosition", - "type": "primitive", - "range": [ - [ - 12, - 25 - ], - [ - 12, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "13": { - "25": { - "name": "oldTailScreenPosition", - "type": "primitive", - "range": [ - [ - 13, - 25 - ], - [ - 13, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "12": { - "name": "wasValid", - "type": "primitive", - "range": [ - [ - 14, - 12 - ], - [ - 14, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 16, - 15 - ], - [ - 27, - 1 - ] - ], - "doc": "~Private~" - } - }, - "27": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 27, - 8 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 33, - 18 - ], - [ - 40, - 1 - ] - ], - "doc": " Private: Gets the screen range of the display marker.\n\nReturns a {Range}. " - } - }, - "40": { - "18": { - "name": "setScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 40, - 18 - ], - [ - 46, - 1 - ] - ], - "doc": " Private: Modifies the screen range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " - } - }, - "46": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 46, - 18 - ], - [ - 53, - 1 - ] - ], - "doc": " Private: Gets the buffer range of the display marker.\n\nReturns a {Range}. " - } - }, - "53": { - "18": { - "name": "setBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 53, - 18 - ], - [ - 56, - 1 - ] - ], - "doc": " Private: Modifies the buffer range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " - } - }, - "56": { - "17": { - "name": "getPixelRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 17 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "25": { - "name": "getHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 62, - 25 - ], - [ - 69, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's head.\n\nReturns a {Point}. " - } - }, - "69": { - "25": { - "name": "setHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 69, - 25 - ], - [ - 76, - 1 - ] - ], - "doc": " Private: Sets the screen position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "76": { - "25": { - "name": "getHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 25 - ], - [ - 83, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's head.\n\nReturns a {Point}. " - } - }, - "83": { - "25": { - "name": "setHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 83, - 25 - ], - [ - 89, - 1 - ] - ], - "doc": " Private: Sets the buffer position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "89": { - "25": { - "name": "getTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 25 - ], - [ - 96, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's tail.\n\nReturns a {Point}. " - } - }, - "96": { - "25": { - "name": "setTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 96, - 25 - ], - [ - 103, - 1 - ] - ], - "doc": " Private: Sets the screen position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "103": { - "25": { - "name": "getTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 103, - 25 - ], - [ - 110, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's tail.\n\nReturns a {Point}. " - } - }, - "110": { - "25": { - "name": "setTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 110, - 25 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: Sets the buffer position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "117": { - "26": { - "name": "getStartScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 26 - ], - [ - 124, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndScreenPosition}.\n\nReturns a {Point}. " - } - }, - "124": { - "26": { - "name": "getStartBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 26 - ], - [ - 131, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndBufferPosition}.\n\nReturns a {Point}. " - } - }, - "131": { - "24": { - "name": "getEndScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 131, - 24 - ], - [ - 138, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartScreenPosition}.\n\nReturns a {Point}. " - } - }, - "138": { - "24": { - "name": "getEndBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 24 - ], - [ - 146, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartBufferPosition}.\n\nReturns a {Point}. " - } - }, - "146": { - "13": { - "name": "plantTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 146, - 13 - ], - [ - 150, - 1 - ] - ], - "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " - } - }, - "150": { - "13": { - "name": "clearTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 150, - 13 - ], - [ - 153, - 1 - ] - ], - "doc": "Private: Removes the tail from the marker. " - } - }, - "153": { - "11": { - "name": "hasTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 153, - 11 - ], - [ - 157, - 1 - ] - ], - "doc": "~Private~" - } - }, - "157": { - "14": { - "name": "isReversed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 157, - 14 - ], - [ - 162, - 1 - ] - ], - "doc": "Private: Returns whether the head precedes the tail in the buffer " - } - }, - "162": { - "11": { - "name": "isValid", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 11 - ], - [ - 169, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the marker is valid. Markers can be\ninvalidated when a region surrounding them in the buffer is changed. " - } - }, - "169": { - "15": { - "name": "isDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 169, - 15 - ], - [ - 172, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the marker has been destroyed. A marker\ncan be invalid without being destroyed, in which case undoing the invalidating\noperation would restore the marker. Once a marker is destroyed by calling\n{Marker::destroy}, no undo/redo operation can ever bring it back. " - } - }, - "172": { - "17": { - "name": "getAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 172, - 17 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "17": { - "name": "setAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 175, - 17 - ], - [ - 178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "178": { - "21": { - "name": "matchesAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 178, - 21 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 183, - 11 - ], - [ - 187, - 1 - ] - ], - "doc": "Private: Destroys the marker " - } - }, - "187": { - "11": { - "name": "isEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 187, - 11 - ], - [ - 191, - 1 - ] - ], - "doc": "~Private~" - } - }, - "191": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 191, - 11 - ], - [ - 195, - 1 - ] - ], - "doc": "~Private~" - } - }, - "195": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 195, - 11 - ], - [ - 198, - 1 - ] - ], - "doc": "Private: Returns a {String} representation of the marker " - } - }, - "198": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 198, - 13 - ], - [ - 202, - 1 - ] - ], - "doc": "~Private~" - } - }, - "202": { - "19": { - "name": "notifyObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 202, - 19 - ], - [ - 230, - 23 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "src/display-buffer.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "2": { - "7": { - "name": "guid", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "guid" - } - }, - "3": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "6": { - "18": { - "name": "TokenizedBuffer", - "type": "import", - "range": [ - [ - 6, - 18 - ], - [ - 6, - 45 - ] - ], - "bindingType": "variable", - "path": "./tokenized-buffer" - } - }, - "7": { - "9": { - "name": "RowMap", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 27 - ] - ], - "bindingType": "variable", - "path": "./row-map" - } - }, - "8": { - "7": { - "name": "Fold", - "type": "import", - "range": [ - [ - 8, - 7 - ], - [ - 8, - 22 - ] - ], - "bindingType": "variable", - "path": "./fold" - } - }, - "9": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 9, - 8 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "10": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "11": { - "22": { - "name": "DisplayBufferMarker", - "type": "import", - "range": [ - [ - 11, - 22 - ], - [ - 11, - 54 - ] - ], - "bindingType": "variable", - "path": "./display-buffer-marker" - } - }, - "13": { - "0": { - "type": "class", - "name": "BufferToScreenConversionError", - "classProperties": [], - "prototypeProperties": [ - [ - 14, - 15 - ] - ], - "doc": "~Private~", - "range": [ - [ - 13, - 0 - ], - [ - 17, - 0 - ] - ] - } - }, - "14": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 14, - 15 - ], - [ - 17, - 0 - ] - ] - } - }, - "19": { - "0": { - "type": "class", - "name": "DisplayBuffer", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 34, - 24 - ], - [ - 35, - 26 - ], - [ - 36, - 29 - ], - [ - 37, - 26 - ], - [ - 38, - 36 - ], - [ - 40, - 15 - ], - [ - 70, - 19 - ], - [ - 78, - 21 - ], - [ - 82, - 8 - ], - [ - 91, - 24 - ], - [ - 97, - 15 - ], - [ - 104, - 28 - ], - [ - 115, - 14 - ], - [ - 117, - 27 - ], - [ - 118, - 27 - ], - [ - 120, - 29 - ], - [ - 121, - 29 - ], - [ - 123, - 32 - ], - [ - 124, - 32 - ], - [ - 126, - 29 - ], - [ - 127, - 29 - ], - [ - 129, - 13 - ], - [ - 138, - 13 - ], - [ - 140, - 19 - ], - [ - 146, - 18 - ], - [ - 152, - 26 - ], - [ - 160, - 24 - ], - [ - 167, - 12 - ], - [ - 176, - 12 - ], - [ - 183, - 16 - ], - [ - 184, - 16 - ], - [ - 190, - 19 - ], - [ - 193, - 19 - ], - [ - 194, - 19 - ], - [ - 198, - 17 - ], - [ - 199, - 17 - ], - [ - 206, - 20 - ], - [ - 209, - 18 - ], - [ - 210, - 18 - ], - [ - 214, - 25 - ], - [ - 215, - 25 - ], - [ - 217, - 23 - ], - [ - 218, - 23 - ], - [ - 224, - 18 - ], - [ - 226, - 22 - ], - [ - 229, - 23 - ], - [ - 237, - 29 - ], - [ - 244, - 22 - ], - [ - 249, - 26 - ], - [ - 253, - 25 - ], - [ - 256, - 19 - ], - [ - 261, - 18 - ], - [ - 264, - 22 - ], - [ - 273, - 29 - ], - [ - 277, - 38 - ], - [ - 281, - 23 - ], - [ - 311, - 26 - ], - [ - 314, - 26 - ], - [ - 317, - 27 - ], - [ - 333, - 16 - ], - [ - 339, - 16 - ], - [ - 343, - 15 - ], - [ - 346, - 15 - ], - [ - 351, - 25 - ], - [ - 359, - 25 - ], - [ - 367, - 21 - ], - [ - 378, - 14 - ], - [ - 387, - 16 - ], - [ - 393, - 12 - ], - [ - 396, - 22 - ], - [ - 406, - 27 - ], - [ - 416, - 14 - ], - [ - 422, - 23 - ], - [ - 425, - 23 - ], - [ - 429, - 21 - ], - [ - 435, - 19 - ], - [ - 446, - 34 - ], - [ - 454, - 28 - ], - [ - 466, - 34 - ], - [ - 477, - 34 - ], - [ - 482, - 34 - ], - [ - 493, - 28 - ], - [ - 502, - 25 - ], - [ - 505, - 29 - ], - [ - 513, - 25 - ], - [ - 521, - 29 - ], - [ - 532, - 29 - ], - [ - 538, - 28 - ], - [ - 542, - 34 - ], - [ - 561, - 34 - ], - [ - 581, - 34 - ], - [ - 587, - 16 - ], - [ - 593, - 14 - ], - [ - 599, - 20 - ], - [ - 605, - 23 - ], - [ - 617, - 35 - ], - [ - 651, - 35 - ], - [ - 661, - 27 - ], - [ - 664, - 33 - ], - [ - 672, - 26 - ], - [ - 678, - 14 - ], - [ - 684, - 14 - ], - [ - 688, - 17 - ], - [ - 704, - 22 - ], - [ - 740, - 18 - ], - [ - 758, - 20 - ], - [ - 761, - 19 - ], - [ - 764, - 32 - ], - [ - 771, - 18 - ], - [ - 793, - 20 - ], - [ - 804, - 33 - ], - [ - 810, - 31 - ], - [ - 818, - 21 - ], - [ - 826, - 13 - ], - [ - 836, - 14 - ], - [ - 839, - 18 - ], - [ - 848, - 19 - ], - [ - 858, - 19 - ], - [ - 867, - 22 - ], - [ - 876, - 22 - ], - [ - 882, - 17 - ], - [ - 891, - 14 - ], - [ - 912, - 15 - ], - [ - 916, - 33 - ], - [ - 954, - 18 - ], - [ - 957, - 19 - ], - [ - 960, - 27 - ], - [ - 963, - 24 - ], - [ - 966, - 25 - ], - [ - 970, - 32 - ], - [ - 974, - 13 - ], - [ - 979, - 12 - ], - [ - 984, - 31 - ], - [ - 989, - 21 - ], - [ - 1015, - 20 - ], - [ - 1061, - 21 - ], - [ - 1083, - 22 - ], - [ - 1088, - 30 - ], - [ - 1093, - 29 - ], - [ - 1097, - 23 - ], - [ - 1101, - 17 - ] - ], - "doc": "~Private~", - "range": [ - [ - 19, - 0 - ], - [ - 1102, - 31 - ] - ] - } - }, - "34": { - "24": { - "name": "verticalScrollMargin", - "type": "primitive", - "range": [ - [ - 34, - 24 - ], - [ - 34, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "35": { - "26": { - "name": "horizontalScrollMargin", - "type": "primitive", - "range": [ - [ - 35, - 26 - ], - [ - 35, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "36": { - "29": { - "name": "horizontalScrollbarHeight", - "type": "primitive", - "range": [ - [ - 36, - 29 - ], - [ - 36, - 30 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "37": { - "26": { - "name": "verticalScrollbarWidth", - "type": "primitive", - "range": [ - [ - 37, - 26 - ], - [ - 37, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "38": { - "36": { - "name": "scopedCharacterWidthsChangeCount", - "type": "primitive", - "range": [ - [ - 38, - 36 - ], - [ - 38, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "40": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 40, - 15 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 70, - 19 - ], - [ - 78, - 1 - ] - ], - "doc": "~Private~" - } - }, - "78": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 78, - 21 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 8 - ], - [ - 91, - 1 - ] - ], - "doc": "~Private~" - } - }, - "91": { - "24": { - "name": "updateAllScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 24 - ], - [ - 97, - 1 - ] - ], - "doc": "~Private~" - } - }, - "97": { - "15": { - "name": "emitChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventProperties", - "refreshMarkers" - ], - "range": [ - [ - 97, - 15 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "28": { - "name": "updateWrappedScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 28 - ], - [ - 115, - 1 - ] - ], - "doc": "~Private~" - } - }, - "115": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 115, - 14 - ], - [ - 115, - 62 - ] - ], - "doc": " Private: Sets the visibility of the tokenized buffer.\n\nvisible - A {Boolean} indicating of the tokenized buffer is shown " - } - }, - "117": { - "27": { - "name": "getVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 27 - ], - [ - 117, - 50 - ] - ], - "doc": "~Private~" - } - }, - "118": { - "27": { - "name": "setVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 118, - 27 - ], - [ - 118, - 74 - ] - ] - } - }, - "120": { - "29": { - "name": "getHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 120, - 29 - ], - [ - 120, - 54 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "29": { - "name": "setHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 121, - 29 - ], - [ - 121, - 80 - ] - ] - } - }, - "123": { - "32": { - "name": "getHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 123, - 32 - ], - [ - 123, - 60 - ] - ], - "doc": "~Private~" - } - }, - "124": { - "32": { - "name": "setHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 124, - 32 - ], - [ - 124, - 89 - ] - ] - } - }, - "126": { - "29": { - "name": "getVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 29 - ], - [ - 126, - 54 - ] - ], - "doc": "~Private~" - } - }, - "127": { - "29": { - "name": "setVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 127, - 29 - ], - [ - 127, - 80 - ] - ] - } - }, - "129": { - "13": { - "name": "getHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 129, - 13 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "13": { - "name": "setHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 138, - 13 - ], - [ - 138, - 32 - ] - ], - "doc": "~Private~" - } - }, - "140": { - "19": { - "name": "getClientHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 140, - 19 - ], - [ - 146, - 1 - ] - ], - "doc": "~Private~" - } - }, - "146": { - "18": { - "name": "getClientWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 146, - 18 - ], - [ - 152, - 1 - ] - ], - "doc": "~Private~" - } - }, - "152": { - "26": { - "name": "horizontallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 152, - 26 - ], - [ - 160, - 1 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "24": { - "name": "verticallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 160, - 24 - ], - [ - 167, - 1 - ] - ], - "doc": "~Private~" - } - }, - "167": { - "12": { - "name": "getWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 167, - 12 - ], - [ - 176, - 1 - ] - ], - "doc": "~Private~" - } - }, - "176": { - "12": { - "name": "setWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "newWidth" - ], - "range": [ - [ - 176, - 12 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "16": { - "name": "getScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 183, - 16 - ], - [ - 183, - 28 - ] - ], - "doc": "~Private~" - } - }, - "184": { - "16": { - "name": "setScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 184, - 16 - ], - [ - 190, - 1 - ] - ] - } - }, - "190": { - "19": { - "name": "getMaxScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 19 - ], - [ - 193, - 1 - ] - ], - "doc": "~Private~" - } - }, - "193": { - "19": { - "name": "getScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 193, - 19 - ], - [ - 193, - 41 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "19": { - "name": "setScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 194, - 19 - ], - [ - 198, - 1 - ] - ] - } - }, - "198": { - "17": { - "name": "getScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 198, - 17 - ], - [ - 198, - 30 - ] - ], - "doc": "~Private~" - } - }, - "199": { - "17": { - "name": "setScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 199, - 17 - ], - [ - 206, - 1 - ] - ] - } - }, - "206": { - "20": { - "name": "getMaxScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 206, - 20 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "18": { - "name": "getScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 209, - 18 - ], - [ - 209, - 40 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "18": { - "name": "setScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 210, - 18 - ], - [ - 214, - 1 - ] - ] - } - }, - "214": { - "25": { - "name": "getLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 214, - 25 - ], - [ - 214, - 46 - ] - ], - "doc": "~Private~" - } - }, - "215": { - "25": { - "name": "setLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 215, - 25 - ], - [ - 215, - 68 - ] - ] - } - }, - "217": { - "23": { - "name": "getDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 217, - 23 - ], - [ - 217, - 42 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "23": { - "name": "setDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultCharWidth" - ], - "range": [ - [ - 218, - 23 - ], - [ - 224, - 1 - ] - ] - } - }, - "224": { - "18": { - "name": "getCursorWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 18 - ], - [ - 224, - 21 - ] - ], - "doc": "~Private~" - } - }, - "226": { - "22": { - "name": "getScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char" - ], - "range": [ - [ - 226, - 22 - ], - [ - 229, - 1 - ] - ], - "doc": "~Private~" - } - }, - "229": { - "23": { - "name": "getScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames" - ], - "range": [ - [ - 229, - 23 - ], - [ - 237, - 1 - ] - ], - "doc": "~Private~" - } - }, - "237": { - "29": { - "name": "batchCharacterMeasurement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 237, - 29 - ], - [ - 244, - 1 - ] - ], - "doc": "~Private~" - } - }, - "244": { - "22": { - "name": "setScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char", - "width" - ], - "range": [ - [ - 244, - 22 - ], - [ - 249, - 1 - ] - ], - "doc": "~Private~" - } - }, - "249": { - "26": { - "name": "characterWidthsChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 249, - 26 - ], - [ - 253, - 1 - ] - ], - "doc": "~Private~" - } - }, - "253": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 253, - 25 - ], - [ - 256, - 1 - ] - ], - "doc": "~Private~" - } - }, - "256": { - "19": { - "name": "getScrollHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 19 - ], - [ - 261, - 1 - ] - ], - "doc": "~Private~" - } - }, - "261": { - "18": { - "name": "getScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 18 - ], - [ - 264, - 1 - ] - ], - "doc": "~Private~" - } - }, - "264": { - "22": { - "name": "getVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 264, - 22 - ], - [ - 273, - 1 - ] - ], - "doc": "~Private~" - } - }, - "273": { - "29": { - "name": "intersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 273, - 29 - ], - [ - 277, - 1 - ] - ], - "doc": "~Private~" - } - }, - "277": { - "38": { - "name": "selectionIntersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 277, - 38 - ], - [ - 281, - 1 - ] - ], - "doc": "~Private~" - } - }, - "281": { - "23": { - "name": "scrollToScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 281, - 23 - ], - [ - 311, - 1 - ] - ], - "doc": "~Private~" - } - }, - "311": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 311, - 26 - ], - [ - 314, - 1 - ] - ], - "doc": "~Private~" - } - }, - "314": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 314, - 26 - ], - [ - 317, - 1 - ] - ], - "doc": "~Private~" - } - }, - "317": { - "27": { - "name": "pixelRectForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 317, - 27 - ], - [ - 333, - 1 - ] - ], - "doc": "~Private~" - } - }, - "333": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 333, - 16 - ], - [ - 339, - 1 - ] - ], - "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " - } - }, - "339": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 339, - 16 - ], - [ - 343, - 1 - ] - ], - "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " - } - }, - "343": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 343, - 15 - ], - [ - 343, - 38 - ] - ], - "doc": "Deprecated: Use the softWrap property directly " - } - }, - "346": { - "15": { - "name": "getSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 15 - ], - [ - 346, - 26 - ] - ], - "doc": "Deprecated: Use the softWrap property directly " - } - }, - "351": { - "25": { - "name": "setEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorWidthInChars" - ], - "range": [ - [ - 351, - 25 - ], - [ - 359, - 1 - ] - ], - "doc": " Private: Set the number of characters that fit horizontally in the editor.\n\neditorWidthInChars - A {Number} of characters. " - } - }, - "359": { - "25": { - "name": "getEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 359, - 25 - ], - [ - 367, - 1 - ] - ], - "doc": "Private: Returns the editor width in characters for soft wrap. " - } - }, - "367": { - "21": { - "name": "getSoftWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 367, - 21 - ], - [ - 378, - 1 - ] - ], - "doc": "~Private~" - } - }, - "378": { - "14": { - "name": "lineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 378, - 14 - ], - [ - 387, - 1 - ] - ], - "doc": " Private: Gets the screen line for the given screen row.\n\nscreenRow - A {Number} indicating the screen row.\n\nReturns a {ScreenLine}. " - } - }, - "387": { - "16": { - "name": "linesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 387, - 16 - ], - [ - 393, - 1 - ] - ], - "doc": " Private: Gets the screen lines for the given screen row range.\n\nstartRow - A {Number} indicating the beginning screen row.\nendRow - A {Number} indicating the ending screen row.\n\nReturns an {Array} of {ScreenLine}s. " - } - }, - "393": { - "12": { - "name": "getLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 393, - 12 - ], - [ - 396, - 1 - ] - ], - "doc": " Private: Gets all the screen lines.\n\nReturns an {Array} of {ScreenLines}s. " - } - }, - "396": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 396, - 22 - ], - [ - 406, - 1 - ] - ], - "doc": "~Private~" - } - }, - "406": { - "27": { - "name": "bufferRowsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 406, - 27 - ], - [ - 416, - 1 - ] - ], - "doc": " Private: Given starting and ending screen rows, this returns an array of the\nbuffer rows corresponding to every screen row in the range\n\nstartScreenRow - The screen row {Number} to start at\nendScreenRow - The screen row {Number} to end at (default: the last screen row)\n\nReturns an {Array} of buffer rows as {Numbers}s. " - } - }, - "416": { - "14": { - "name": "createFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 416, - 14 - ], - [ - 422, - 1 - ] - ], - "doc": " Private: Creates a new fold between two row numbers.\n\nstartRow - The row {Number} to start folding at\nendRow - The row {Number} to end the fold\n\nReturns the new {Fold}. " - } - }, - "422": { - "23": { - "name": "isFoldedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 422, - 23 - ], - [ - 425, - 1 - ] - ], - "doc": "~Private~" - } - }, - "425": { - "23": { - "name": "isFoldedAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 425, - 23 - ], - [ - 429, - 1 - ] - ], - "doc": "~Private~" - } - }, - "429": { - "21": { - "name": "destroyFoldWithId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 429, - 21 - ], - [ - 435, - 1 - ] - ], - "doc": "Private: Destroys the fold with the given id " - } - }, - "435": { - "19": { - "name": "unfoldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 435, - 19 - ], - [ - 446, - 1 - ] - ], - "doc": " Private: Removes any folds found that contain the given buffer row.\n\nbufferRow - The buffer row {Number} to check against " - } - }, - "446": { - "34": { - "name": "largestFoldStartingAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 446, - 34 - ], - [ - 454, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold} or null if none exists. " - } - }, - "454": { - "28": { - "name": "foldsStartingAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 454, - 28 - ], - [ - 466, - 1 - ] - ], - "doc": " Public: Given a buffer row, this returns all folds that start there.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " - } - }, - "466": { - "34": { - "name": "largestFoldStartingAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 466, - 34 - ], - [ - 477, - 1 - ] - ], - "doc": " Private: Given a screen row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nscreenRow - A {Number} indicating the screen row\n\nReturns a {Fold}. " - } - }, - "477": { - "34": { - "name": "largestFoldContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 477, - 34 - ], - [ - 482, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns the largest fold that includes it.\n\nLargest is defined as the fold whose difference between its start and end rows\nis the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold}. " - } - }, - "482": { - "34": { - "name": "outermostFoldsInBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 482, - 34 - ], - [ - 493, - 1 - ] - ], - "doc": " Private: Returns the folds in the given row range (exclusive of end row) that are\nnot contained by any other folds. " - } - }, - "493": { - "28": { - "name": "foldsContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 493, - 28 - ], - [ - 502, - 1 - ] - ], - "doc": " Public: Given a buffer row, this returns folds that include it.\n\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " - } - }, - "502": { - "25": { - "name": "screenRowForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 502, - 25 - ], - [ - 505, - 1 - ] - ], - "doc": " Private: Given a buffer row, this converts it into a screen row.\n\nbufferRow - A {Number} representing a buffer row\n\nReturns a {Number}. " - } - }, - "505": { - "29": { - "name": "lastScreenRowForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 505, - 29 - ], - [ - 513, - 1 - ] - ], - "doc": "~Private~" - } - }, - "513": { - "25": { - "name": "bufferRowForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 513, - 25 - ], - [ - 521, - 1 - ] - ], - "doc": " Private: Given a screen row, this converts it into a buffer row.\n\nscreenRow - A {Number} representing a screen row\n\nReturns a {Number}. " - } - }, - "521": { - "29": { - "name": "screenRangeForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 521, - 29 - ], - [ - 532, - 1 - ] - ], - "doc": " Private: Given a buffer range, this converts it into a screen position.\n\nbufferRange - The {Range} to convert\n\nReturns a {Range}. " - } - }, - "532": { - "29": { - "name": "bufferRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 532, - 29 - ], - [ - 538, - 1 - ] - ], - "doc": " Private: Given a screen range, this converts it into a buffer position.\n\nscreenRange - The {Range} to convert\n\nReturns a {Range}. " - } - }, - "538": { - "28": { - "name": "pixelRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "clip" - ], - "range": [ - [ - 538, - 28 - ], - [ - 542, - 1 - ] - ], - "doc": "~Private~" - } - }, - "542": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "clip" - ], - "range": [ - [ - 542, - 34 - ], - [ - 561, - 1 - ] - ], - "doc": "~Private~" - } - }, - "561": { - "34": { - "name": "screenPositionForPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 561, - 34 - ], - [ - 581, - 1 - ] - ], - "doc": "~Private~" - } - }, - "581": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 581, - 34 - ], - [ - 587, - 1 - ] - ], - "doc": "~Private~" - } - }, - "587": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 587, - 16 - ], - [ - 593, - 1 - ] - ], - "doc": " Private: Gets the number of screen lines.\n\nReturns a {Number}. " - } - }, - "593": { - "14": { - "name": "getLastRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 593, - 14 - ], - [ - 599, - 1 - ] - ], - "doc": " Private: Gets the number of the last screen line.\n\nReturns a {Number}. " - } - }, - "599": { - "20": { - "name": "getMaxLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 599, - 20 - ], - [ - 605, - 1 - ] - ], - "doc": " Private: Gets the length of the longest screen line.\n\nReturns a {Number}. " - } - }, - "605": { - "23": { - "name": "getLongestScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 605, - 23 - ], - [ - 617, - 1 - ] - ], - "doc": " Private: Gets the row number of the longest screen line.\n\nReturn a {} " - } - }, - "617": { - "35": { - "name": "screenPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 617, - 35 - ], - [ - 651, - 1 - ] - ], - "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " - } - }, - "651": { - "35": { - "name": "bufferPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 651, - 35 - ], - [ - 661, - 1 - ] - ], - "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " - } - }, - "661": { - "27": { - "name": "scopesForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 661, - 27 - ], - [ - 664, - 1 - ] - ], - "doc": " Private: Retrieves the grammar's token scopes for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}\n\nReturns an {Array} of {String}s. " - } - }, - "664": { - "33": { - "name": "bufferRangeForScopeAtPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "position" - ], - "range": [ - [ - 664, - 33 - ], - [ - 672, - 1 - ] - ], - "doc": "~Private~" - } - }, - "672": { - "26": { - "name": "tokenForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 672, - 26 - ], - [ - 678, - 1 - ] - ], - "doc": " Private: Retrieves the grammar's token for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}.\n\nReturns a {Token}. " - } - }, - "678": { - "14": { - "name": "getGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 678, - 14 - ], - [ - 684, - 1 - ] - ], - "doc": " Private: Get the grammar for this buffer.\n\nReturns the current {Grammar} or the {NullGrammar}. " - } - }, - "684": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 684, - 14 - ], - [ - 688, - 1 - ] - ], - "doc": " Private: Sets the grammar for the buffer.\n\ngrammar - Sets the new grammar rules " - } - }, - "688": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 688, - 17 - ], - [ - 704, - 1 - ] - ], - "doc": "Private: Reloads the current grammar. " - } - }, - "704": { - "22": { - "name": "clipScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 704, - 22 - ], - [ - 740, - 1 - ] - ], - "doc": " Private: Given a position, this clips it to a real position.\n\nFor example, if `position`'s row exceeds the row count of the buffer,\nor if its column goes beyond a line's length, this \"sanitizes\" the value\nto a real position.\n\nposition - The {Point} to clip\noptions - A hash with the following values:\n wrapBeyondNewlines: if `true`, continues wrapping past newlines\n wrapAtSoftNewlines: if `true`, continues wrapping past soft newlines\n screenLine: if `true`, indicates that you're using a line number, not a row number\n\nReturns the new, clipped {Point}. Note that this could be the same as `position` if no clipping was performed. " - } - }, - "740": { - "18": { - "name": "findWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line", - "softWrapColumn" - ], - "range": [ - [ - 740, - 18 - ], - [ - 758, - 1 - ] - ], - "doc": " Private: Given a line, finds the point where it would wrap.\n\nline - The {String} to check\nsoftWrapColumn - The {Number} where you want soft wrapping to occur\n\nReturns a {Number} representing the `line` position where the wrap would take place.\nReturns `null` if a wrap wouldn't occur. " - } - }, - "758": { - "20": { - "name": "rangeForAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 758, - 20 - ], - [ - 761, - 1 - ] - ], - "doc": " Private: Calculates a {Range} representing the start of the {TextBuffer} until the end.\n\nReturns a {Range}. " - } - }, - "761": { - "19": { - "name": "decorationForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 761, - 19 - ], - [ - 764, - 1 - ] - ], - "doc": "~Private~" - } - }, - "764": { - "32": { - "name": "decorationsForScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 764, - 32 - ], - [ - 771, - 1 - ] - ], - "doc": "~Private~" - } - }, - "771": { - "18": { - "name": "decorateMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "decorationParams" - ], - "range": [ - [ - 771, - 18 - ], - [ - 793, - 1 - ] - ], - "doc": "~Private~" - } - }, - "793": { - "20": { - "name": "removeDecoration", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decoration" - ], - "range": [ - [ - 793, - 20 - ], - [ - 804, - 1 - ] - ], - "doc": "~Private~" - } - }, - "804": { - "33": { - "name": "removeAllDecorationsForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 804, - 33 - ], - [ - 810, - 1 - ] - ], - "doc": "~Private~" - } - }, - "810": { - "31": { - "name": "removedAllMarkerDecorations", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 810, - 31 - ], - [ - 818, - 1 - ] - ], - "doc": "~Private~" - } - }, - "818": { - "21": { - "name": "decorationUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decoration" - ], - "range": [ - [ - 818, - 21 - ], - [ - 826, - 1 - ] - ], - "doc": "~Private~" - } - }, - "826": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 826, - 13 - ], - [ - 836, - 1 - ] - ], - "doc": " Private: Retrieves a {DisplayBufferMarker} based on its id.\n\nid - A {Number} representing a marker id\n\nReturns the {DisplayBufferMarker} (if it exists). " - } - }, - "836": { - "14": { - "name": "getMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 836, - 14 - ], - [ - 839, - 1 - ] - ], - "doc": " Private: Retrieves the active markers in the buffer.\n\nReturns an {Array} of existing {DisplayBufferMarker}s. " - } - }, - "839": { - "18": { - "name": "getMarkerCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 839, - 18 - ], - [ - 848, - 1 - ] - ], - "doc": "~Private~" - } - }, - "848": { - "19": { - "name": "markScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 848, - 19 - ], - [ - 858, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given screen range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "858": { - "19": { - "name": "markBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range", - "options" - ], - "range": [ - [ - 858, - 19 - ], - [ - 867, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given buffer range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "867": { - "22": { - "name": "markScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 867, - 22 - ], - [ - 876, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given screen position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "876": { - "22": { - "name": "markBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 876, - 22 - ], - [ - 882, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given buffer position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "882": { - "17": { - "name": "destroyMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 882, - 17 - ], - [ - 891, - 1 - ] - ], - "doc": " Public: Removes the marker with the given id.\n\nid - The {Number} of the ID to remove " - } - }, - "891": { - "14": { - "name": "findMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 891, - 14 - ], - [ - 912, - 1 - ] - ], - "doc": " Private: Finds the first marker satisfying the given attributes\n\nRefer to {DisplayBuffer::findMarkers} for details.\n\nReturns a {DisplayBufferMarker} or null " - } - }, - "912": { - "15": { - "name": "findMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 912, - 15 - ], - [ - 916, - 1 - ] - ], - "doc": " Public: Find all markers satisfying a set of parameters.\n\nparams - An {Object} containing parameters that all returned markers must\n satisfy. Unreserved keys will be compared against the markers' custom\n properties. There are also the following reserved keys with special\n meaning for the query:\n :startBufferRow - A {Number}. Only returns markers starting at this row in\n buffer coordinates.\n :endBufferRow - A {Number}. Only returns markers ending at this row in\n buffer coordinates.\n :containsBufferRange - A {Range} or range-compatible {Array}. Only returns\n markers containing this range in buffer coordinates.\n :containsBufferPosition - A {Point} or point-compatible {Array}. Only\n returns markers containing this position in buffer coordinates.\n :containedInBufferRange - A {Range} or range-compatible {Array}. Only\n returns markers contained within this range.\n\nReturns an {Array} of {DisplayBufferMarker}s " - } - }, - "916": { - "33": { - "name": "translateToBufferMarkerParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 916, - 33 - ], - [ - 954, - 1 - ] - ], - "doc": "~Private~" - } - }, - "954": { - "18": { - "name": "findFoldMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 954, - 18 - ], - [ - 957, - 1 - ] - ], - "doc": "~Private~" - } - }, - "957": { - "19": { - "name": "findFoldMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 957, - 19 - ], - [ - 960, - 1 - ] - ], - "doc": "~Private~" - } - }, - "960": { - "27": { - "name": "getFoldMarkerAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 960, - 27 - ], - [ - 963, - 1 - ] - ], - "doc": "~Private~" - } - }, - "963": { - "24": { - "name": "pauseMarkerObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 963, - 24 - ], - [ - 966, - 1 - ] - ], - "doc": "~Private~" - } - }, - "966": { - "25": { - "name": "resumeMarkerObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 966, - 25 - ], - [ - 970, - 1 - ] - ], - "doc": "~Private~" - } - }, - "970": { - "32": { - "name": "refreshMarkerScreenPositions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 970, - 32 - ], - [ - 974, - 1 - ] - ], - "doc": "~Private~" - } - }, - "974": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 974, - 13 - ], - [ - 979, - 1 - ] - ], - "doc": "~Private~" - } - }, - "979": { - "12": { - "name": "logLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 979, - 12 - ], - [ - 984, - 1 - ] - ], - "doc": "~Private~" - } - }, - "984": { - "31": { - "name": "handleTokenizedBufferChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tokenizedBufferChange" - ], - "range": [ - [ - 984, - 31 - ], - [ - 989, - 1 - ] - ], - "doc": "~Private~" - } - }, - "989": { - "21": { - "name": "updateScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "endBufferRow", - "bufferDelta", - "options" - ], - "range": [ - [ - 989, - 21 - ], - [ - 1015, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1015": { - "20": { - "name": "buildScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "endBufferRow" - ], - "range": [ - [ - 1015, - 20 - ], - [ - 1061, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1061": { - "21": { - "name": "findMaxLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow", - "newScreenLines", - "screenDelta" - ], - "range": [ - [ - 1061, - 21 - ], - [ - 1083, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1083": { - "22": { - "name": "computeScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1083, - 22 - ], - [ - 1088, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1088": { - "30": { - "name": "handleBufferMarkersUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1088, - 30 - ], - [ - 1093, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1093": { - "29": { - "name": "handleBufferMarkerCreated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1093, - 29 - ], - [ - 1097, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1097": { - "23": { - "name": "createFoldForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1097, - 23 - ], - [ - 1101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1101": { - "17": { - "name": "foldForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1101, - 17 - ], - [ - 1102, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 19 - }, - "src/editor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "10": { - "type": "import", - "range": [ - [ - 0, - 10 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$$", - "exportsProperty": "$$$" - } - }, - "1": { - "13": { - "name": "GutterView", - "type": "import", - "range": [ - [ - 1, - 13 - ], - [ - 1, - 35 - ] - ], - "bindingType": "variable", - "path": "./gutter-view" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "3": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 3, - 9 - ], - [ - 3, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "4": { - "13": { - "name": "CursorView", - "type": "import", - "range": [ - [ - 4, - 13 - ], - [ - 4, - 35 - ] - ], - "bindingType": "variable", - "path": "./cursor-view" - } - }, - "5": { - "16": { - "name": "SelectionView", - "type": "import", - "range": [ - [ - 5, - 16 - ], - [ - 5, - 41 - ] - ], - "bindingType": "variable", - "path": "./selection-view" - } - }, - "6": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 6, - 5 - ], - [ - 6, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.1" - } - }, - "7": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "8": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 8, - 13 - ], - [ - 8, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer" - } - }, - "10": { - "15": { - "name": "MeasureRange", - "type": "function", - "range": [ - [ - 10, - 15 - ], - [ - 10, - 36 - ] - ] - } - }, - "11": { - "17": { - "type": "primitive", - "range": [ - [ - 11, - 17 - ], - [ - 11, - 59 - ] - ] - }, - "31": { - "name": "acceptNode", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 11, - 31 - ], - [ - 11, - 57 - ] - ], - "doc": null - } - }, - "12": { - "10": { - "type": "primitive", - "range": [ - [ - 12, - 10 - ], - [ - 12, - 21 - ] - ] - } - }, - "13": { - "17": { - "name": "1000", - "type": "primitive", - "range": [ - [ - 13, - 17 - ], - [ - 13, - 20 - ] - ] - } - }, - "41": { - "0": { - "type": "class", - "name": "EditorView", - "bindingType": "exports", - "classProperties": [ - [ - 42, - 24 - ], - [ - 44, - 4 - ], - [ - 61, - 17 - ], - [ - 63, - 12 - ], - [ - 76, - 12 - ], - [ - 1271, - 21 - ], - [ - 1485, - 18 - ], - [ - 1513, - 21 - ], - [ - 1529, - 14 - ], - [ - 1533, - 13 - ], - [ - 1537, - 23 - ] - ], - "prototypeProperties": [ - [ - 81, - 17 - ], - [ - 82, - 17 - ], - [ - 83, - 14 - ], - [ - 84, - 13 - ], - [ - 85, - 14 - ], - [ - 86, - 15 - ], - [ - 87, - 18 - ], - [ - 88, - 13 - ], - [ - 89, - 13 - ], - [ - 90, - 10 - ], - [ - 91, - 12 - ], - [ - 92, - 16 - ], - [ - 93, - 18 - ], - [ - 94, - 14 - ], - [ - 95, - 17 - ], - [ - 96, - 20 - ], - [ - 97, - 24 - ], - [ - 106, - 14 - ], - [ - 141, - 12 - ], - [ - 251, - 13 - ], - [ - 255, - 11 - ], - [ - 259, - 11 - ], - [ - 263, - 14 - ], - [ - 266, - 20 - ], - [ - 271, - 19 - ], - [ - 277, - 12 - ], - [ - 284, - 10 - ], - [ - 292, - 15 - ], - [ - 298, - 21 - ], - [ - 310, - 17 - ], - [ - 322, - 22 - ], - [ - 332, - 22 - ], - [ - 337, - 22 - ], - [ - 341, - 16 - ], - [ - 345, - 13 - ], - [ - 354, - 16 - ], - [ - 436, - 21 - ], - [ - 476, - 28 - ], - [ - 479, - 33 - ], - [ - 505, - 15 - ], - [ - 538, - 8 - ], - [ - 586, - 12 - ], - [ - 589, - 12 - ], - [ - 592, - 27 - ], - [ - 600, - 13 - ], - [ - 618, - 16 - ], - [ - 624, - 14 - ], - [ - 631, - 15 - ], - [ - 639, - 18 - ], - [ - 646, - 26 - ], - [ - 654, - 26 - ], - [ - 662, - 26 - ], - [ - 673, - 25 - ], - [ - 684, - 39 - ], - [ - 696, - 31 - ], - [ - 702, - 18 - ], - [ - 706, - 18 - ], - [ - 710, - 25 - ], - [ - 713, - 26 - ], - [ - 716, - 21 - ], - [ - 723, - 15 - ], - [ - 733, - 15 - ], - [ - 746, - 15 - ], - [ - 752, - 17 - ], - [ - 762, - 17 - ], - [ - 770, - 17 - ], - [ - 776, - 10 - ], - [ - 786, - 13 - ], - [ - 791, - 14 - ], - [ - 796, - 11 - ], - [ - 801, - 13 - ], - [ - 808, - 11 - ], - [ - 811, - 10 - ], - [ - 816, - 16 - ], - [ - 823, - 17 - ], - [ - 827, - 18 - ], - [ - 830, - 17 - ], - [ - 836, - 20 - ], - [ - 839, - 20 - ], - [ - 843, - 21 - ], - [ - 846, - 20 - ], - [ - 852, - 23 - ], - [ - 855, - 36 - ], - [ - 859, - 21 - ], - [ - 863, - 20 - ], - [ - 884, - 22 - ], - [ - 900, - 23 - ], - [ - 912, - 25 - ], - [ - 924, - 25 - ], - [ - 943, - 12 - ], - [ - 950, - 22 - ], - [ - 955, - 16 - ], - [ - 970, - 24 - ], - [ - 978, - 17 - ], - [ - 994, - 21 - ], - [ - 1006, - 22 - ], - [ - 1012, - 24 - ], - [ - 1023, - 25 - ], - [ - 1031, - 24 - ], - [ - 1034, - 14 - ], - [ - 1046, - 25 - ], - [ - 1057, - 23 - ], - [ - 1084, - 38 - ], - [ - 1102, - 23 - ], - [ - 1144, - 24 - ], - [ - 1158, - 20 - ], - [ - 1173, - 13 - ], - [ - 1178, - 19 - ], - [ - 1201, - 32 - ], - [ - 1214, - 28 - ], - [ - 1223, - 27 - ], - [ - 1234, - 22 - ], - [ - 1237, - 27 - ], - [ - 1241, - 32 - ], - [ - 1244, - 34 - ], - [ - 1249, - 21 - ], - [ - 1256, - 21 - ], - [ - 1298, - 32 - ], - [ - 1304, - 26 - ], - [ - 1313, - 27 - ], - [ - 1316, - 33 - ], - [ - 1325, - 34 - ], - [ - 1334, - 34 - ], - [ - 1348, - 32 - ], - [ - 1371, - 19 - ], - [ - 1416, - 26 - ], - [ - 1424, - 26 - ], - [ - 1432, - 28 - ], - [ - 1435, - 32 - ], - [ - 1440, - 32 - ], - [ - 1470, - 23 - ], - [ - 1481, - 23 - ], - [ - 1563, - 23 - ], - [ - 1573, - 25 - ], - [ - 1575, - 18 - ], - [ - 1578, - 18 - ], - [ - 1581, - 20 - ] - ], - "doc": " Public: Represents the entire visual pane in Atom.\n\nThe EditorView manages the {Editor}, which manages the file buffers.\n\n## Requiring in packages\n\n```coffee\n{EditorView} = require 'atom'\n\nminiEditorView = new EditorView(mini: true)\n```\n\n## Iterating over the open editor views\n\n```coffee\nfor editorView in atom.workspaceView.getEditorViews()\n console.log(editorView.getEditor().getPath())\n```\n\n## Subscribing to every current and future editor\n\n```coffee\natom.workspace.eachEditorView (editorView) ->\n console.log(editorView.getEditor().getPath())\n``` ", - "range": [ - [ - 41, - 0 - ], - [ - 1583, - 35 - ] - ] - } - }, - "42": { - "24": { - "name": "characterWidthCache", - "type": "primitive", - "range": [ - [ - 42, - 24 - ], - [ - 42, - 25 - ] - ], - "bindingType": "classProperty" - } - }, - "44": { - "4": { - "name": "configDefaults", - "type": "primitive", - "range": [ - [ - 44, - 4 - ], - [ - 59, - 32 - ] - ], - "bindingType": "classProperty" - } - }, - "61": { - "17": { - "name": "nextEditorId", - "type": "primitive", - "range": [ - [ - 61, - 17 - ], - [ - 61, - 17 - ] - ], - "bindingType": "classProperty" - } - }, - "63": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 63, - 12 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "12": { - "name": "classes", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 76, - 12 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "17": { - "name": "vScrollMargin", - "type": "primitive", - "range": [ - [ - 81, - 17 - ], - [ - 81, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "82": { - "17": { - "name": "hScrollMargin", - "type": "primitive", - "range": [ - [ - 82, - 17 - ], - [ - 82, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "83": { - "14": { - "name": "lineHeight", - "type": "primitive", - "range": [ - [ - 83, - 14 - ], - [ - 83, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "84": { - "13": { - "name": "charWidth", - "type": "primitive", - "range": [ - [ - 84, - 13 - ], - [ - 84, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "85": { - "14": { - "name": "charHeight", - "type": "primitive", - "range": [ - [ - 85, - 14 - ], - [ - 85, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "86": { - "15": { - "name": "cursorViews", - "type": "primitive", - "range": [ - [ - 86, - 15 - ], - [ - 86, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "87": { - "18": { - "name": "selectionViews", - "type": "primitive", - "range": [ - [ - 87, - 18 - ], - [ - 87, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "88": { - "13": { - "name": "lineCache", - "type": "primitive", - "range": [ - [ - 88, - 13 - ], - [ - 88, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "89": { - "13": { - "name": "isFocused", - "type": "primitive", - "range": [ - [ - 89, - 13 - ], - [ - 89, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "90": { - "10": { - "name": "editor", - "type": "primitive", - "range": [ - [ - 90, - 10 - ], - [ - 90, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "91": { - "12": { - "name": "attached", - "type": "primitive", - "range": [ - [ - 91, - 12 - ], - [ - 91, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "92": { - "16": { - "name": "lineOverdraw", - "type": "primitive", - "range": [ - [ - 92, - 16 - ], - [ - 92, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "93": { - "18": { - "name": "pendingChanges", - "type": "primitive", - "range": [ - [ - 93, - 18 - ], - [ - 93, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "94": { - "14": { - "name": "newCursors", - "type": "primitive", - "range": [ - [ - 94, - 14 - ], - [ - 94, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "95": { - "17": { - "name": "newSelections", - "type": "primitive", - "range": [ - [ - 95, - 17 - ], - [ - 95, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "96": { - "20": { - "name": "redrawOnReattach", - "type": "primitive", - "range": [ - [ - 96, - 20 - ], - [ - 96, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "97": { - "24": { - "name": "bottomPaddingInLines", - "type": "primitive", - "range": [ - [ - 97, - 24 - ], - [ - 97, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "106": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorOrOptions" - ], - "range": [ - [ - 106, - 14 - ], - [ - 141, - 1 - ] - ], - "doc": " Private: The constructor for setting up an `EditorView` instance.\n\neditorOrOptions - Either an {Editor}, or an object with one property, `mini`.\n If `mini` is `true`, a \"miniature\" `Editor` is constructed.\n Typically, this is ideal for scenarios where you need an Atom editor,\n but without all the chrome, like scrollbars, gutter, _e.t.c._.\n\n " - } - }, - "141": { - "12": { - "name": "bindKeys", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 12 - ], - [ - 251, - 1 - ] - ], - "doc": " Private: Sets up the core Atom commands.\n\nSome commands are excluded from mini-editors. " - } - }, - "251": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 251, - 13 - ], - [ - 255, - 1 - ] - ], - "doc": " Public: Get the underlying editor model for this view.\n\nReturns an {Editor}. " - } - }, - "255": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 255, - 11 - ], - [ - 259, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.getText} " - } - }, - "259": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 259, - 11 - ], - [ - 263, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.setText} " - } - }, - "263": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 263, - 14 - ], - [ - 266, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.insertText} " - } - }, - "266": { - "20": { - "name": "setHeightInLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "heightInLines" - ], - "range": [ - [ - 266, - 20 - ], - [ - 271, - 1 - ] - ], - "doc": "~Private~" - } - }, - "271": { - "19": { - "name": "setWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "widthInChars" - ], - "range": [ - [ - 271, - 19 - ], - [ - 277, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.setEditorWidthInChars} " - } - }, - "277": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 277, - 12 - ], - [ - 284, - 1 - ] - ], - "doc": " Public: Emulates the \"page down\" key, where the last row of a buffer scrolls\nto become the first. " - } - }, - "284": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 10 - ], - [ - 292, - 1 - ] - ], - "doc": " Public: Emulates the \"page up\" key, where the frst row of a buffer scrolls\nto become the last. " - } - }, - "292": { - "15": { - "name": "getPageRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 15 - ], - [ - 298, - 1 - ] - ], - "doc": " Private: Gets the number of actual page rows existing in an editor.\n\nReturns a {Number}. " - } - }, - "298": { - "21": { - "name": "setShowInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showInvisibles" - ], - "range": [ - [ - 298, - 21 - ], - [ - 310, - 1 - ] - ], - "doc": " Public: Set whether invisible characters are shown.\n\nshowInvisibles - A {Boolean} which, if `true`, show invisible characters. " - } - }, - "310": { - "17": { - "name": "setInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 310, - 17 - ], - [ - 322, - 1 - ] - ], - "doc": " Public: Defines which characters are invisible.\n\ninvisibles - An {Object} defining the invisible characters:\n :eol - The end of line invisible {String} (default: `\\u00ac`).\n :space - The space invisible {String} (default: `\\u00b7`).\n :tab - The tab invisible {String} (default: `\\u00bb`).\n :cr - The carriage return invisible {String} (default: `\\u00a4`). " - } - }, - "322": { - "22": { - "name": "setShowIndentGuide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showIndentGuide" - ], - "range": [ - [ - 322, - 22 - ], - [ - 332, - 1 - ] - ], - "doc": " Public: Sets whether you want to show the indentation guides.\n\nshowIndentGuide - A {Boolean} you can set to `true` if you want to see the\n indentation guides. " - } - }, - "332": { - "22": { - "name": "setPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "placeholderText" - ], - "range": [ - [ - 332, - 22 - ], - [ - 337, - 1 - ] - ], - "doc": " Public: Set the text to appear in the editor when it is empty.\n\nThis only affects mini editors.\n\nplaceholderText - A {String} of text to display when empty. " - } - }, - "337": { - "22": { - "name": "getPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 337, - 22 - ], - [ - 341, - 1 - ] - ], - "doc": "~Private~" - } - }, - "341": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 341, - 16 - ], - [ - 345, - 1 - ] - ], - "doc": "Private: Checkout the HEAD revision of this editor's file. " - } - }, - "345": { - "13": { - "name": "configure", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 345, - 13 - ], - [ - 354, - 1 - ] - ], - "doc": "~Private~" - } - }, - "354": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 354, - 16 - ], - [ - 436, - 1 - ] - ], - "doc": "~Private~" - } - }, - "436": { - "21": { - "name": "handleInputEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 436, - 21 - ], - [ - 476, - 1 - ] - ], - "doc": "~Private~" - } - }, - "476": { - "28": { - "name": "bringHiddenInputIntoView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 476, - 28 - ], - [ - 479, - 1 - ] - ], - "doc": "~Private~" - } - }, - "479": { - "33": { - "name": "selectOnMousemoveUntilMouseup", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 479, - 33 - ], - [ - 505, - 1 - ] - ], - "doc": "~Private~" - } - }, - "505": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 505, - 15 - ], - [ - 538, - 1 - ] - ], - "doc": "~Private~" - } - }, - "538": { - "8": { - "name": "edit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 538, - 8 - ], - [ - 586, - 1 - ] - ], - "doc": "~Private~" - } - }, - "586": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 586, - 12 - ], - [ - 589, - 1 - ] - ], - "doc": "~Private~" - } - }, - "589": { - "12": { - "name": "setModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 589, - 12 - ], - [ - 592, - 1 - ] - ], - "doc": "~Private~" - } - }, - "592": { - "27": { - "name": "showBufferConflictAlert", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 592, - 27 - ], - [ - 600, - 1 - ] - ], - "doc": "~Private~" - } - }, - "600": { - "13": { - "name": "scrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop", - "options" - ], - "range": [ - [ - 600, - 13 - ], - [ - 618, - 1 - ] - ], - "doc": "~Private~" - } - }, - "618": { - "16": { - "name": "scrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 618, - 16 - ], - [ - 624, - 1 - ] - ], - "doc": "~Private~" - } - }, - "624": { - "14": { - "name": "scrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 624, - 14 - ], - [ - 631, - 1 - ] - ], - "doc": "~Private~" - } - }, - "631": { - "15": { - "name": "scrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 631, - 15 - ], - [ - 639, - 1 - ] - ], - "doc": "~Private~" - } - }, - "639": { - "18": { - "name": "scrollToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 639, - 18 - ], - [ - 646, - 1 - ] - ], - "doc": "Public: Scrolls the editor to the bottom. " - } - }, - "646": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 646, - 26 - ], - [ - 654, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the position of the most recently added\ncursor if it isn't current on screen.\n\nThe editor is centered around the cursor's position if possible. " - } - }, - "654": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 654, - 26 - ], - [ - 662, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given buffer position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " - } - }, - "662": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 662, - 26 - ], - [ - 673, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " - } - }, - "673": { - "25": { - "name": "scrollToPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition", - "options" - ], - "range": [ - [ - 673, - 25 - ], - [ - 684, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given pixel position.\n\npixelPosition - An object that represents a pixel position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or\n {Point}.\noptions - A hash with the following keys:\n :center - if `true`, the position is scrolled such that it's in\n the center of the editor " - } - }, - "684": { - "39": { - "name": "highlightFoldsContainingBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 684, - 39 - ], - [ - 696, - 1 - ] - ], - "doc": " Public: Highlight all the folds within the given buffer range.\n\n\"Highlighting\" essentially just adds the `fold-selected` class to the line's\nDOM element.\n\nbufferRange - The {Range} to check. " - } - }, - "696": { - "31": { - "name": "saveScrollPositionForEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 696, - 31 - ], - [ - 702, - 1 - ] - ], - "doc": "~Private~" - } - }, - "702": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 702, - 18 - ], - [ - 706, - 1 - ] - ], - "doc": "Public: Toggle soft tabs on the edit session. " - } - }, - "706": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 706, - 18 - ], - [ - 710, - 1 - ] - ], - "doc": "Public: Toggle soft wrap on the edit session. " - } - }, - "710": { - "25": { - "name": "calculateWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 710, - 25 - ], - [ - 713, - 1 - ] - ], - "doc": "~Private~" - } - }, - "713": { - "26": { - "name": "calculateHeightInLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 713, - 26 - ], - [ - 716, - 1 - ] - ], - "doc": "~Private~" - } - }, - "716": { - "21": { - "name": "getScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 716, - 21 - ], - [ - 723, - 1 - ] - ], - "doc": "~Private~" - } - }, - "723": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 723, - 15 - ], - [ - 733, - 1 - ] - ], - "doc": " Public: Enables/disables soft wrap on the editor.\n\nsoftWrap - A {Boolean} which, if `true`, enables soft wrap " - } - }, - "733": { - "15": { - "name": "setFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 733, - 15 - ], - [ - 746, - 1 - ] - ], - "doc": " Public: Sets the font size for the editor.\n\nfontSize - A {Number} indicating the font size in pixels. " - } - }, - "746": { - "15": { - "name": "getFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 746, - 15 - ], - [ - 752, - 1 - ] - ], - "doc": " Public: Retrieves the font size for the editor.\n\nReturns a {Number} indicating the font size in pixels. " - } - }, - "752": { - "17": { - "name": "setFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 752, - 17 - ], - [ - 762, - 1 - ] - ], - "doc": " Public: Sets the font family for the editor.\n\nfontFamily - A {String} identifying the CSS `font-family`. " - } - }, - "762": { - "17": { - "name": "getFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 762, - 17 - ], - [ - 762, - 38 - ] - ], - "doc": " Public: Gets the font family for the editor.\n\nReturns a {String} identifying the CSS `font-family`. " - } - }, - "770": { - "17": { - "name": "setLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 770, - 17 - ], - [ - 776, - 1 - ] - ], - "doc": " Public: Sets the line height of the editor.\n\nCalling this method has no effect when called on a mini editor.\n\nlineHeight - A {Number} without a unit suffix identifying the CSS\n`line-height`. " - } - }, - "776": { - "10": { - "name": "redraw", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 776, - 10 - ], - [ - 786, - 1 - ] - ], - "doc": "Public: Redraw the editor " - } - }, - "786": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 786, - 13 - ], - [ - 791, - 1 - ] - ], - "doc": "Public: Split the editor view left. " - } - }, - "791": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 791, - 14 - ], - [ - 796, - 1 - ] - ], - "doc": "Public: Split the editor view right. " - } - }, - "796": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 796, - 11 - ], - [ - 801, - 1 - ] - ], - "doc": "Public: Split the editor view up. " - } - }, - "801": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 801, - 13 - ], - [ - 808, - 1 - ] - ], - "doc": "Public: Split the editor view down. " - } - }, - "808": { - "11": { - "name": "getPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 808, - 11 - ], - [ - 811, - 1 - ] - ], - "doc": " Public: Get this view's pane.\n\nReturns a {Pane}. " - } - }, - "811": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "keepData" - ], - "range": [ - [ - 811, - 10 - ], - [ - 816, - 1 - ] - ], - "doc": "~Private~" - } - }, - "816": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 816, - 16 - ], - [ - 823, - 1 - ] - ], - "doc": "~Private~" - } - }, - "823": { - "17": { - "name": "getCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 823, - 17 - ], - [ - 827, - 1 - ] - ], - "doc": "~Private~" - } - }, - "827": { - "18": { - "name": "getCursorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 827, - 18 - ], - [ - 830, - 1 - ] - ], - "doc": "~Private~" - } - }, - "830": { - "17": { - "name": "addCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursor", - "options" - ], - "range": [ - [ - 830, - 17 - ], - [ - 836, - 1 - ] - ], - "doc": "~Private~" - } - }, - "836": { - "20": { - "name": "removeCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 836, - 20 - ], - [ - 839, - 1 - ] - ], - "doc": "~Private~" - } - }, - "839": { - "20": { - "name": "getSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 839, - 20 - ], - [ - 843, - 1 - ] - ], - "doc": "~Private~" - } - }, - "843": { - "21": { - "name": "getSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 843, - 21 - ], - [ - 846, - 1 - ] - ], - "doc": "~Private~" - } - }, - "846": { - "20": { - "name": "addSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 846, - 20 - ], - [ - 852, - 1 - ] - ], - "doc": "~Private~" - } - }, - "852": { - "23": { - "name": "removeSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selectionView" - ], - "range": [ - [ - 852, - 23 - ], - [ - 855, - 1 - ] - ], - "doc": "~Private~" - } - }, - "855": { - "36": { - "name": "removeAllCursorAndSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 855, - 36 - ], - [ - 859, - 1 - ] - ], - "doc": "~Private~" - } - }, - "859": { - "21": { - "name": "appendToLinesView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 859, - 21 - ], - [ - 863, - 1 - ] - ], - "doc": "~Private~" - } - }, - "863": { - "20": { - "name": "scrollVertically", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition", - null - ], - "range": [ - [ - 863, - 20 - ], - [ - 884, - 1 - ] - ], - "doc": "Private: Scrolls the editor vertically to a given position. " - } - }, - "884": { - "22": { - "name": "scrollHorizontally", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 884, - 22 - ], - [ - 900, - 1 - ] - ], - "doc": "Private: Scrolls the editor horizontally to a given position. " - } - }, - "900": { - "23": { - "name": "calculateDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 900, - 23 - ], - [ - 912, - 1 - ] - ], - "doc": "~Private~" - } - }, - "912": { - "25": { - "name": "recalculateDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 912, - 25 - ], - [ - 924, - 1 - ] - ], - "doc": "~Private~" - } - }, - "924": { - "25": { - "name": "updateLayerDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollViewWidth" - ], - "range": [ - [ - 924, - 25 - ], - [ - 943, - 1 - ] - ], - "doc": "~Private~" - } - }, - "943": { - "12": { - "name": "isHidden", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 943, - 12 - ], - [ - 950, - 1 - ] - ], - "doc": "Private: Override for speed. The base function checks computedStyle, unnecessary here. " - } - }, - "950": { - "22": { - "name": "clearRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 950, - 22 - ], - [ - 955, - 1 - ] - ], - "doc": "~Private~" - } - }, - "955": { - "16": { - "name": "resetDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 955, - 16 - ], - [ - 970, - 1 - ] - ], - "doc": "~Private~" - } - }, - "970": { - "24": { - "name": "requestDisplayUpdate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 970, - 24 - ], - [ - 978, - 1 - ] - ], - "doc": "~Private~" - } - }, - "978": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 978, - 17 - ], - [ - 994, - 1 - ] - ], - "doc": "~Private~" - } - }, - "994": { - "21": { - "name": "updateCursorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 994, - 21 - ], - [ - 1006, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1006": { - "22": { - "name": "shouldUpdateCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 1006, - 22 - ], - [ - 1012, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1012": { - "24": { - "name": "updateSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1012, - 24 - ], - [ - 1023, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1023": { - "25": { - "name": "shouldUpdateSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selectionView" - ], - "range": [ - [ - 1023, - 25 - ], - [ - 1031, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1031": { - "24": { - "name": "syncCursorAnimations", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1031, - 24 - ], - [ - 1034, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1034": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "suppressAutoscroll" - ], - "range": [ - [ - 1034, - 14 - ], - [ - 1046, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1046": { - "25": { - "name": "updatePlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1046, - 25 - ], - [ - 1057, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1057": { - "23": { - "name": "updateRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollViewWidth" - ], - "range": [ - [ - 1057, - 23 - ], - [ - 1084, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1084": { - "38": { - "name": "computeSurroundingEmptyLineChanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "change" - ], - "range": [ - [ - 1084, - 38 - ], - [ - 1102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1102": { - "23": { - "name": "computeIntactRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1102, - 23 - ], - [ - 1144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1144": { - "24": { - "name": "truncateIntactRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges", - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1144, - 24 - ], - [ - 1158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1158": { - "20": { - "name": "clearDirtyRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges" - ], - "range": [ - [ - 1158, - 20 - ], - [ - 1173, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1173": { - "13": { - "name": "clearLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement" - ], - "range": [ - [ - 1173, - 13 - ], - [ - 1178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1178": { - "19": { - "name": "fillDirtyRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges", - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1178, - 19 - ], - [ - 1201, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1201": { - "32": { - "name": "updatePaddingOfRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1201, - 32 - ], - [ - 1214, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1214": { - "28": { - "name": "getFirstVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1214, - 28 - ], - [ - 1223, - 1 - ] - ], - "doc": " Public: Retrieves the number of the row that is visible and currently at the\ntop of the editor.\n\nReturns a {Number}. " - } - }, - "1223": { - "27": { - "name": "getLastVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1223, - 27 - ], - [ - 1234, - 1 - ] - ], - "doc": " Public: Retrieves the number of the row that is visible and currently at the\nbottom of the editor.\n\nReturns a {Number}. " - } - }, - "1234": { - "22": { - "name": "isScreenRowVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 1234, - 22 - ], - [ - 1237, - 1 - ] - ], - "doc": " Public: Given a row number, identifies if it is currently visible.\n\nrow - A row {Number} to check\n\nReturns a {Boolean}. " - } - }, - "1237": { - "27": { - "name": "handleScreenLinesChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "change" - ], - "range": [ - [ - 1237, - 27 - ], - [ - 1241, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1241": { - "32": { - "name": "buildLineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 1241, - 32 - ], - [ - 1244, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1244": { - "34": { - "name": "buildLineElementsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1244, - 34 - ], - [ - 1249, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1249": { - "21": { - "name": "htmlForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1249, - 21 - ], - [ - 1256, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1256": { - "21": { - "name": "htmlForScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine", - "screenRow" - ], - "range": [ - [ - 1256, - 21 - ], - [ - 1271, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1271": { - "21": { - "name": "buildIndentation", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "screenRow", - "editor" - ], - "range": [ - [ - 1271, - 21 - ], - [ - 1298, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1298": { - "32": { - "name": "buildHtmlEndOfLineInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine" - ], - "range": [ - [ - 1298, - 32 - ], - [ - 1304, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1304": { - "26": { - "name": "getEndOfLineInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine" - ], - "range": [ - [ - 1304, - 26 - ], - [ - 1313, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1313": { - "27": { - "name": "lineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 1313, - 27 - ], - [ - 1316, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1316": { - "33": { - "name": "toggleLineCommentsInSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1316, - 33 - ], - [ - 1325, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1325": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1325, - 34 - ], - [ - 1334, - 1 - ] - ], - "doc": " Public: Converts a buffer position to a pixel position.\n\nposition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " - } - }, - "1334": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1334, - 34 - ], - [ - 1348, - 1 - ] - ], - "doc": " Public: Converts a screen position to a pixel position.\n\nposition - An object that represents a screen position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " - } - }, - "1348": { - "32": { - "name": "positionLeftForLineAndColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement", - "screenRow", - "screenColumn" - ], - "range": [ - [ - 1348, - 32 - ], - [ - 1371, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1371": { - "19": { - "name": "measureToColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement", - "tokenizedLine", - "screenColumn" - ], - "range": [ - [ - 1371, - 19 - ], - [ - 1416, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1416": { - "26": { - "name": "getCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "char" - ], - "range": [ - [ - 1416, - 26 - ], - [ - 1424, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1424": { - "26": { - "name": "setCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "char", - "val" - ], - "range": [ - [ - 1424, - 26 - ], - [ - 1432, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1432": { - "28": { - "name": "clearCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1432, - 28 - ], - [ - 1435, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1435": { - "32": { - "name": "pixelOffsetForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1435, - 32 - ], - [ - 1440, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1440": { - "32": { - "name": "screenPositionFromMouseEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 1440, - 32 - ], - [ - 1470, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1470": { - "23": { - "name": "highlightCursorLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1470, - 23 - ], - [ - 1481, - 1 - ] - ], - "doc": "Private: Highlights the current line the cursor is on. " - } - }, - "1481": { - "23": { - "name": "copyPathToClipboard", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1481, - 23 - ], - [ - 1485, - 1 - ] - ], - "doc": "Private: Copies the current file path to the native clipboard. " - } - }, - "1485": { - "18": { - "name": "buildLineHtml", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 1485, - 18 - ], - [ - 1513, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1513": { - "21": { - "name": "updateScopeStack", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 1513, - 21 - ], - [ - 1529, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1529": { - "14": { - "name": "pushScope", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack", - "scope" - ], - "range": [ - [ - 1529, - 14 - ], - [ - 1533, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1533": { - "13": { - "name": "popScope", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack" - ], - "range": [ - [ - 1533, - 13 - ], - [ - 1537, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1537": { - "23": { - "name": "buildEmptyLineHtml", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "showIndentGuide", - "eolInvisibles", - "htmlEolInvisibles", - "indentation", - "editor", - "mini" - ], - "range": [ - [ - 1537, - 23 - ], - [ - 1563, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1563": { - "23": { - "name": "replaceSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "replaceFn" - ], - "range": [ - [ - 1563, - 23 - ], - [ - 1573, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1573": { - "25": { - "name": "consolidateSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 1573, - 25 - ], - [ - 1573, - 89 - ] - ], - "doc": "~Private~" - } - }, - "1575": { - "18": { - "name": "logCursorScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1575, - 18 - ], - [ - 1578, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1578": { - "18": { - "name": "logScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 1578, - 18 - ], - [ - 1581, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1581": { - "20": { - "name": "logRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1581, - 20 - ], - [ - 1583, - 35 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 41 - }, - "src/editor.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "3": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 3, - 12 - ], - [ - 3, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 6, - 8 - ], - [ - 6, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "7": { - "15": { - "name": "LanguageMode", - "type": "import", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 39 - ] - ], - "bindingType": "variable", - "path": "./language-mode" - } - }, - "8": { - "16": { - "name": "DisplayBuffer", - "type": "import", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 41 - ] - ], - "bindingType": "variable", - "path": "./display-buffer" - } - }, - "9": { - "9": { - "name": "Cursor", - "type": "import", - "range": [ - [ - 9, - 9 - ], - [ - 9, - 26 - ] - ], - "bindingType": "variable", - "path": "./cursor" - } - }, - "10": { - "12": { - "name": "Selection", - "type": "import", - "range": [ - [ - 10, - 12 - ], - [ - 10, - 32 - ] - ], - "bindingType": "variable", - "path": "./selection" - } - }, - "11": { - "24": { - "type": "primitive", - "range": [ - [ - 11, - 24 - ], - [ - 11, - 58 - ] - ] - } - }, - "138": { - "0": { - "type": "class", - "name": "Editor", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 143, - 17 - ], - [ - 144, - 32 - ], - [ - 145, - 18 - ], - [ - 146, - 10 - ], - [ - 147, - 16 - ], - [ - 148, - 11 - ], - [ - 149, - 14 - ], - [ - 150, - 28 - ], - [ - 151, - 20 - ], - [ - 152, - 26 - ], - [ - 161, - 15 - ], - [ - 190, - 19 - ], - [ - 197, - 21 - ], - [ - 202, - 21 - ], - [ - 215, - 28 - ], - [ - 228, - 16 - ], - [ - 234, - 13 - ], - [ - 242, - 8 - ], - [ - 258, - 12 - ], - [ - 271, - 16 - ], - [ - 281, - 14 - ], - [ - 288, - 25 - ], - [ - 292, - 21 - ], - [ - 296, - 15 - ], - [ - 301, - 15 - ], - [ - 304, - 18 - ], - [ - 307, - 15 - ], - [ - 312, - 15 - ], - [ - 315, - 18 - ], - [ - 323, - 14 - ], - [ - 328, - 16 - ], - [ - 331, - 16 - ], - [ - 339, - 16 - ], - [ - 361, - 22 - ], - [ - 369, - 19 - ], - [ - 381, - 27 - ], - [ - 396, - 30 - ], - [ - 414, - 22 - ], - [ - 418, - 21 - ], - [ - 428, - 8 - ], - [ - 435, - 10 - ], - [ - 437, - 16 - ], - [ - 442, - 23 - ], - [ - 447, - 11 - ], - [ - 450, - 11 - ], - [ - 453, - 11 - ], - [ - 458, - 18 - ], - [ - 461, - 16 - ], - [ - 464, - 13 - ], - [ - 467, - 10 - ], - [ - 470, - 20 - ], - [ - 473, - 24 - ], - [ - 479, - 25 - ], - [ - 482, - 24 - ], - [ - 486, - 20 - ], - [ - 494, - 27 - ], - [ - 500, - 20 - ], - [ - 506, - 26 - ], - [ - 509, - 8 - ], - [ - 512, - 21 - ], - [ - 515, - 30 - ], - [ - 518, - 14 - ], - [ - 520, - 11 - ], - [ - 524, - 22 - ], - [ - 536, - 35 - ], - [ - 546, - 35 - ], - [ - 551, - 29 - ], - [ - 556, - 29 - ], - [ - 573, - 22 - ], - [ - 576, - 20 - ], - [ - 579, - 22 - ], - [ - 582, - 22 - ], - [ - 585, - 26 - ], - [ - 588, - 20 - ], - [ - 591, - 27 - ], - [ - 593, - 25 - ], - [ - 605, - 27 - ], - [ - 614, - 31 - ], - [ - 618, - 26 - ], - [ - 624, - 19 - ], - [ - 626, - 18 - ], - [ - 633, - 14 - ], - [ - 639, - 17 - ], - [ - 643, - 22 - ], - [ - 649, - 22 - ], - [ - 668, - 10 - ], - [ - 674, - 13 - ], - [ - 678, - 30 - ], - [ - 683, - 30 - ], - [ - 690, - 27 - ], - [ - 696, - 27 - ], - [ - 701, - 10 - ], - [ - 708, - 21 - ], - [ - 714, - 21 - ], - [ - 718, - 14 - ], - [ - 722, - 22 - ], - [ - 726, - 23 - ], - [ - 734, - 33 - ], - [ - 739, - 26 - ], - [ - 744, - 30 - ], - [ - 751, - 18 - ], - [ - 758, - 19 - ], - [ - 765, - 20 - ], - [ - 779, - 13 - ], - [ - 798, - 8 - ], - [ - 803, - 8 - ], - [ - 812, - 18 - ], - [ - 817, - 20 - ], - [ - 822, - 21 - ], - [ - 826, - 11 - ], - [ - 830, - 13 - ], - [ - 836, - 24 - ], - [ - 846, - 17 - ], - [ - 852, - 19 - ], - [ - 862, - 25 - ], - [ - 865, - 25 - ], - [ - 870, - 14 - ], - [ - 874, - 21 - ], - [ - 878, - 39 - ], - [ - 884, - 25 - ], - [ - 893, - 23 - ], - [ - 901, - 23 - ], - [ - 909, - 23 - ], - [ - 913, - 34 - ], - [ - 917, - 34 - ], - [ - 921, - 34 - ], - [ - 926, - 14 - ], - [ - 979, - 16 - ], - [ - 1034, - 18 - ], - [ - 1060, - 17 - ], - [ - 1072, - 22 - ], - [ - 1075, - 23 - ], - [ - 1096, - 32 - ], - [ - 1137, - 18 - ], - [ - 1140, - 19 - ], - [ - 1144, - 13 - ], - [ - 1148, - 14 - ], - [ - 1170, - 15 - ], - [ - 1179, - 19 - ], - [ - 1188, - 19 - ], - [ - 1197, - 22 - ], - [ - 1206, - 22 - ], - [ - 1210, - 17 - ], - [ - 1216, - 18 - ], - [ - 1220, - 22 - ], - [ - 1224, - 14 - ], - [ - 1227, - 13 - ], - [ - 1233, - 29 - ], - [ - 1240, - 29 - ], - [ - 1245, - 13 - ], - [ - 1255, - 16 - ], - [ - 1264, - 16 - ], - [ - 1288, - 30 - ], - [ - 1301, - 26 - ], - [ - 1311, - 26 - ], - [ - 1321, - 27 - ], - [ - 1336, - 19 - ], - [ - 1342, - 19 - ], - [ - 1347, - 25 - ], - [ - 1355, - 31 - ], - [ - 1361, - 17 - ], - [ - 1363, - 27 - ], - [ - 1374, - 16 - ], - [ - 1381, - 20 - ], - [ - 1388, - 40 - ], - [ - 1394, - 28 - ], - [ - 1403, - 34 - ], - [ - 1415, - 27 - ], - [ - 1422, - 27 - ], - [ - 1428, - 22 - ], - [ - 1439, - 27 - ], - [ - 1446, - 27 - ], - [ - 1453, - 26 - ], - [ - 1460, - 26 - ], - [ - 1468, - 27 - ], - [ - 1476, - 27 - ], - [ - 1482, - 19 - ], - [ - 1490, - 24 - ], - [ - 1499, - 24 - ], - [ - 1505, - 34 - ], - [ - 1511, - 22 - ], - [ - 1515, - 16 - ], - [ - 1519, - 18 - ], - [ - 1523, - 18 - ], - [ - 1527, - 19 - ], - [ - 1533, - 19 - ], - [ - 1539, - 22 - ], - [ - 1543, - 37 - ], - [ - 1547, - 31 - ], - [ - 1551, - 36 - ], - [ - 1555, - 31 - ], - [ - 1559, - 25 - ], - [ - 1563, - 31 - ], - [ - 1567, - 25 - ], - [ - 1571, - 35 - ], - [ - 1575, - 36 - ], - [ - 1579, - 32 - ], - [ - 1583, - 40 - ], - [ - 1587, - 44 - ], - [ - 1596, - 26 - ], - [ - 1599, - 10 - ], - [ - 1604, - 12 - ], - [ - 1609, - 16 - ], - [ - 1612, - 18 - ], - [ - 1616, - 18 - ], - [ - 1619, - 15 - ], - [ - 1626, - 15 - ], - [ - 1636, - 26 - ], - [ - 1645, - 15 - ], - [ - 1652, - 14 - ], - [ - 1659, - 12 - ], - [ - 1666, - 14 - ], - [ - 1673, - 15 - ], - [ - 1679, - 13 - ], - [ - 1686, - 18 - ], - [ - 1693, - 27 - ], - [ - 1702, - 32 - ], - [ - 1709, - 21 - ], - [ - 1716, - 32 - ], - [ - 1723, - 28 - ], - [ - 1729, - 14 - ], - [ - 1740, - 21 - ], - [ - 1751, - 21 - ], - [ - 1759, - 28 - ], - [ - 1776, - 13 - ], - [ - 1791, - 13 - ], - [ - 1798, - 13 - ], - [ - 1809, - 13 - ], - [ - 1816, - 27 - ], - [ - 1823, - 21 - ], - [ - 1830, - 31 - ], - [ - 1834, - 14 - ], - [ - 1841, - 36 - ], - [ - 1848, - 40 - ], - [ - 1856, - 16 - ], - [ - 1863, - 16 - ], - [ - 1873, - 27 - ], - [ - 1879, - 28 - ], - [ - 1883, - 22 - ], - [ - 1889, - 31 - ], - [ - 1910, - 40 - ], - [ - 1919, - 14 - ], - [ - 1926, - 14 - ], - [ - 1930, - 17 - ], - [ - 1933, - 20 - ], - [ - 1944, - 12 - ], - [ - 1952, - 20 - ], - [ - 1958, - 21 - ], - [ - 1962, - 20 - ], - [ - 1964, - 11 - ], - [ - 1967, - 18 - ], - [ - 1969, - 22 - ], - [ - 1972, - 23 - ], - [ - 1976, - 23 - ], - [ - 1980, - 32 - ], - [ - 1983, - 27 - ], - [ - 1984, - 27 - ], - [ - 1986, - 29 - ], - [ - 1987, - 29 - ], - [ - 1989, - 25 - ], - [ - 1990, - 25 - ], - [ - 1992, - 29 - ], - [ - 1994, - 22 - ], - [ - 1995, - 22 - ], - [ - 1997, - 23 - ], - [ - 1999, - 25 - ], - [ - 2001, - 23 - ], - [ - 2002, - 23 - ], - [ - 2004, - 13 - ], - [ - 2005, - 13 - ], - [ - 2007, - 19 - ], - [ - 2009, - 12 - ], - [ - 2010, - 12 - ], - [ - 2012, - 16 - ], - [ - 2013, - 16 - ], - [ - 2015, - 19 - ], - [ - 2016, - 19 - ], - [ - 2018, - 17 - ], - [ - 2019, - 17 - ], - [ - 2021, - 18 - ], - [ - 2022, - 18 - ], - [ - 2024, - 19 - ], - [ - 2025, - 18 - ], - [ - 2027, - 22 - ], - [ - 2029, - 29 - ], - [ - 2031, - 38 - ], - [ - 2033, - 34 - ], - [ - 2035, - 34 - ], - [ - 2037, - 34 - ], - [ - 2039, - 27 - ], - [ - 2041, - 23 - ], - [ - 2043, - 26 - ], - [ - 2045, - 26 - ], - [ - 2047, - 26 - ], - [ - 2049, - 24 - ], - [ - 2051, - 32 - ], - [ - 2052, - 32 - ], - [ - 2054, - 29 - ], - [ - 2055, - 29 - ], - [ - 2058, - 12 - ] - ], - "doc": " Public: This class represents all essential editing state for a single\n{TextBuffer}, including cursor and selection positions, folds, and soft wraps.\nIf you're manipulating the state of an editor, use this class. If you're\ninterested in the visual appearance of editors, use {EditorView} instead.\n\nA single {TextBuffer} can belong to multiple editors. For example, if the\nsame file is open in two different panes, Atom creates a separate editor for\neach pane. If the buffer is manipulated the changes are reflected in both\neditors, but each maintains its own cursor position, folded lines, etc.\n\n## Accessing Editor Instances\n\nThe easiest way to get hold of `Editor` objects is by registering a callback\nwith `::eachEditor` on the `atom.workspace` global. Your callback will then\nbe called with all current editor instances and also when any editor is\ncreated in the future.\n\n```coffeescript\n atom.workspace.eachEditor (editor) ->\n editor.insertText('Hello World')\n```\n\n## Buffer vs. Screen Coordinates\n\nBecause editors support folds and soft-wrapping, the lines on screen don't\nalways match the lines in the buffer. For example, a long line that soft wraps\ntwice renders as three lines on screen, but only represents one line in the\nbuffer. Similarly, if rows 5-10 are folded, then row 6 on screen corresponds\nto row 11 in the buffer.\n\nYour choice of coordinates systems will depend on what you're trying to\nachieve. For example, if you're writing a command that jumps the cursor up or\ndown by 10 lines, you'll want to use screen coordinates because the user\nprobably wants to skip lines *on screen*. However, if you're writing a package\nthat jumps between method definitions, you'll want to work in buffer\ncoordinates.\n\n**When in doubt, just default to buffer coordinates**, then experiment with\nsoft wraps and folds to ensure your code interacts with them correctly.\n\n## Common Tasks\n\nThis is a subset of methods on this class. Refer to the complete summary for\nits full capabilities.\n\n### Cursors\n- {::setCursorBufferPosition}\n- {::setCursorScreenPosition}\n- {::moveCursorUp}\n- {::moveCursorDown}\n- {::moveCursorLeft}\n- {::moveCursorRight}\n- {::moveCursorToBeginningOfWord}\n- {::moveCursorToEndOfWord}\n- {::moveCursorToPreviousWordBoundary}\n- {::moveCursorToNextWordBoundary}\n- {::moveCursorToBeginningOfNextWord}\n- {::moveCursorToBeginningOfLine}\n- {::moveCursorToEndOfLine}\n- {::moveCursorToFirstCharacterOfLine}\n- {::moveCursorToTop}\n- {::moveCursorToBottom}\n\n### Selections\n- {::getSelectedBufferRange}\n- {::getSelectedBufferRanges}\n- {::setSelectedBufferRange}\n- {::setSelectedBufferRanges}\n- {::selectUp}\n- {::selectDown}\n- {::selectLeft}\n- {::selectRight}\n- {::selectToBeginningOfWord}\n- {::selectToEndOfWord}\n- {::selectToPreviousWordBoundary}\n- {::selectToNextWordBoundary}\n- {::selectWord}\n- {::selectToBeginningOfLine}\n- {::selectToEndOfLine}\n- {::selectToFirstCharacterOfLine}\n- {::selectToTop}\n- {::selectToBottom}\n- {::selectAll}\n- {::addSelectionForBufferRange}\n- {::addSelectionAbove}\n- {::addSelectionBelow}\n- {::splitSelectionsIntoLines}\n\n### Manipulating Text\n- {::getText}\n- {::getSelectedText}\n- {::setText}\n- {::setTextInBufferRange}\n- {::insertText}\n- {::insertNewline}\n- {::insertNewlineAbove}\n- {::insertNewlineBelow}\n- {::backspace}\n- {::deleteToBeginningOfWord}\n- {::deleteToBeginningOfLine}\n- {::delete}\n- {::deleteToEndOfLine}\n- {::deleteToEndOfWord}\n- {::deleteLine}\n- {::cutSelectedText}\n- {::cutToEndOfLine}\n- {::copySelectedText}\n- {::pasteText}\n\n### Undo, Redo, and Transactions\n- {::undo}\n- {::redo}\n- {::transact}\n- {::abortTransaction}\n\n### Markers\n- {::markBufferRange}\n- {::markScreenRange}\n- {::getMarker}\n- {::findMarkers}\n\n### Decorations\n- {::decorateMarker}\n- {::decorationsForScreenRowRange} ", - "range": [ - [ - 138, - 0 - ], - [ - 2060, - 16 - ] - ] - } - }, - "143": { - "17": { - "name": "deserializing", - "type": "primitive", - "range": [ - [ - 143, - 17 - ], - [ - 143, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "144": { - "32": { - "name": "callDisplayBufferCreatedHook", - "type": "primitive", - "range": [ - [ - 144, - 32 - ], - [ - 144, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "145": { - "18": { - "name": "registerEditor", - "type": "primitive", - "range": [ - [ - 145, - 18 - ], - [ - 145, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "146": { - "10": { - "name": "buffer", - "type": "primitive", - "range": [ - [ - 146, - 10 - ], - [ - 146, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "147": { - "16": { - "name": "languageMode", - "type": "primitive", - "range": [ - [ - 147, - 16 - ], - [ - 147, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "148": { - "11": { - "name": "cursors", - "type": "primitive", - "range": [ - [ - 148, - 11 - ], - [ - 148, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "149": { - "14": { - "name": "selections", - "type": "primitive", - "range": [ - [ - 149, - 14 - ], - [ - 149, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "150": { - "28": { - "name": "suppressSelectionMerging", - "type": "primitive", - "range": [ - [ - 150, - 28 - ], - [ - 150, - 32 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "151": { - "20": { - "name": "updateBatchDepth", - "type": "primitive", - "range": [ - [ - 151, - 20 - ], - [ - 151, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "152": { - "26": { - "name": "selectionFlashDuration", - "type": "primitive", - "range": [ - [ - 152, - 26 - ], - [ - 152, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "161": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 161, - 15 - ], - [ - 190, - 1 - ] - ], - "doc": "~Private~" - } - }, - "190": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 19 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 197, - 21 - ], - [ - 202, - 1 - ] - ], - "doc": "~Private~" - } - }, - "202": { - "21": { - "name": "subscribeToBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 202, - 21 - ], - [ - 215, - 1 - ] - ], - "doc": "~Private~" - } - }, - "215": { - "28": { - "name": "subscribeToDisplayBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 215, - 28 - ], - [ - 228, - 1 - ] - ], - "doc": "~Private~" - } - }, - "228": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 228, - 16 - ], - [ - 234, - 1 - ] - ], - "doc": "~Private~" - } - }, - "234": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 13 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 242, - 8 - ], - [ - 258, - 1 - ] - ], - "doc": "Private: Create an {Editor} with its initial state based on this object " - } - }, - "258": { - "12": { - "name": "getTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 258, - 12 - ], - [ - 271, - 1 - ] - ], - "doc": " Public: Get the title the editor's title for display in other parts of the\nUI such as the tabs.\n\nIf the editor's buffer is saved, its title is the file name. If it is\nunsaved, its title is \"untitled\".\n\nReturns a {String}. " - } - }, - "271": { - "16": { - "name": "getLongTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 271, - 16 - ], - [ - 281, - 1 - ] - ], - "doc": " Public: Get the editor's long title for display in other parts of the UI\nsuch as the window title.\n\nIf the editor's buffer is saved, its long title is formatted as\n\" - \". If it is unsaved, its title is \"untitled\"\n\nReturns a {String}. " - } - }, - "281": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 281, - 14 - ], - [ - 281, - 60 - ] - ], - "doc": "Private: Controls visibility based on the given {Boolean}. " - } - }, - "288": { - "25": { - "name": "setEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorWidthInChars" - ], - "range": [ - [ - 288, - 25 - ], - [ - 292, - 1 - ] - ], - "doc": " Private: Set the number of characters that can be displayed horizontally in the\neditor.\n\neditorWidthInChars - A {Number} representing the width of the {EditorView}\nin characters. " - } - }, - "292": { - "21": { - "name": "getSoftWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 21 - ], - [ - 292, - 57 - ] - ], - "doc": "Public: Sets the column at which column will soft wrap " - } - }, - "296": { - "15": { - "name": "getSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 296, - 15 - ], - [ - 296, - 26 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether softTabs are enabled for this\neditor. " - } - }, - "301": { - "15": { - "name": "setSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 301, - 15 - ], - [ - 301, - 38 - ] - ], - "doc": " Public: Enable or disable soft tabs for this editor.\n\nsoftTabs - A {Boolean} " - } - }, - "304": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 304, - 18 - ], - [ - 304, - 52 - ] - ], - "doc": "Public: Toggle soft tabs for this editor " - } - }, - "307": { - "15": { - "name": "getSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 307, - 15 - ], - [ - 307, - 45 - ] - ], - "doc": "Public: Get whether soft wrap is enabled for this editor. " - } - }, - "312": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 312, - 15 - ], - [ - 312, - 64 - ] - ], - "doc": " Public: Enable or disable soft wrap for this editor.\n\nsoftWrap - A {Boolean} " - } - }, - "315": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 18 - ], - [ - 315, - 52 - ] - ], - "doc": "Public: Toggle soft wrap for this editor " - } - }, - "323": { - "14": { - "name": "getTabText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 323, - 14 - ], - [ - 323, - 37 - ] - ], - "doc": " Public: Get the text representing a single level of indent.\n\nIf soft tabs are enabled, the text is composed of N spaces, where N is the\ntab length. Otherwise the text is a tab character (`\\t`).\n\nReturns a {String}. " - } - }, - "328": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 328, - 16 - ], - [ - 328, - 47 - ] - ], - "doc": " Public: Get the on-screen length of tab characters.\n\nReturns a {Number}. " - } - }, - "331": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 331, - 16 - ], - [ - 331, - 68 - ] - ], - "doc": "Public: Set the on-screen length of tab characters. " - } - }, - "339": { - "16": { - "name": "usesSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 339, - 16 - ], - [ - 361, - 1 - ] - ], - "doc": " Public: Determine if the buffer uses hard or soft tabs.\n\nReturns `true` if the first non-comment line with leading whitespace starts\nwith a space character. Returns `false` if it starts with a hard tab (`\\t`).\n\nReturns a {Boolean}, " - } - }, - "361": { - "22": { - "name": "clipBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 361, - 22 - ], - [ - 361, - 77 - ] - ], - "doc": " Public: Clip the given {Point} to a valid position in the buffer.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the buffer, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " - } - }, - "369": { - "19": { - "name": "clipBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 369, - 19 - ], - [ - 369, - 53 - ] - ], - "doc": " Public: Clip the start and end of the given range to valid positions in the\nbuffer. See {::clipBufferPosition} for more information.\n\nrange - The {Range} to clip.\n\nReturns a {Range}. " - } - }, - "381": { - "27": { - "name": "indentationForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 381, - 27 - ], - [ - 396, - 1 - ] - ], - "doc": " Public: Get the indentation level of the given a buffer row.\n\nReturns how deeply the given row is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nbufferRow - A {Number} indicating the buffer row.\n\nReturns a {Number}. " - } - }, - "396": { - "30": { - "name": "setIndentationForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "newLevel", - null - ], - "range": [ - [ - 396, - 30 - ], - [ - 414, - 1 - ] - ], - "doc": " Public: Set the indentation level for the given buffer row.\n\nInserts or removes hard tabs or spaces based on the soft tabs and tab length\nsettings of this editor in order to bring it to the given indentation level.\nNote that if soft tabs are enabled and the tab length is 2, a row with 4\nleading spaces would have an indentation level of 2.\n\nbufferRow - A {Number} indicating the buffer row.\nnewLevel - A {Number} indicating the new indentation level.\noptions - An {Object} with the following keys:\n :preserveLeadingWhitespace - true to preserve any whitespace already at\n the beginning of the line (default: false). " - } - }, - "414": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 414, - 22 - ], - [ - 418, - 1 - ] - ], - "doc": " Public: Get the indentation level of the given line of text.\n\nReturns how deeply the given line is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nline - A {String} representing a line of text.\n\nReturns a {Number}. " - } - }, - "418": { - "21": { - "name": "buildIndentString", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "number", - "column" - ], - "range": [ - [ - 418, - 21 - ], - [ - 428, - 1 - ] - ], - "doc": "Private: Constructs the string used for tabs. " - } - }, - "428": { - "8": { - "name": "save", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 8 - ], - [ - 428, - 24 - ] - ], - "doc": " Public: Saves the editor's text buffer.\n\nSee {TextBuffer::save} for more details. " - } - }, - "435": { - "10": { - "name": "saveAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 435, - 10 - ], - [ - 435, - 47 - ] - ], - "doc": " Public: Saves the editor's text buffer as the given path.\n\nSee {TextBuffer::saveAs} for more details.\n\nfilePath - A {String} path. " - } - }, - "437": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 437, - 16 - ], - [ - 442, - 1 - ] - ], - "doc": "~Private~" - } - }, - "442": { - "23": { - "name": "copyPathToClipboard", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 442, - 23 - ], - [ - 447, - 1 - ] - ], - "doc": "Private: Copies the current file path to the native clipboard. " - } - }, - "447": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 447, - 11 - ], - [ - 447, - 30 - ] - ], - "doc": "Public: Returns the {String} path of this editor's text buffer. " - } - }, - "450": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 450, - 11 - ], - [ - 450, - 30 - ] - ], - "doc": "Public: Returns a {String} representing the entire contents of the editor. " - } - }, - "453": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 453, - 11 - ], - [ - 453, - 41 - ] - ], - "doc": "Public: Replaces the entire contents of the buffer with the given {String}. " - } - }, - "458": { - "18": { - "name": "getTextInRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 458, - 18 - ], - [ - 458, - 57 - ] - ], - "doc": " Private: Get the text in the given {Range}.\n\nReturns a {String}. " - } - }, - "461": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 461, - 16 - ], - [ - 461, - 40 - ] - ], - "doc": "Public: Returns a {Number} representing the number of lines in the editor. " - } - }, - "464": { - "13": { - "name": "getBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 464, - 13 - ], - [ - 464, - 22 - ] - ], - "doc": "Private: Retrieves the current {TextBuffer}. " - } - }, - "467": { - "10": { - "name": "getUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 467, - 10 - ], - [ - 467, - 28 - ] - ], - "doc": "Public: Retrieves the current buffer's URI. " - } - }, - "470": { - "20": { - "name": "isBufferRowBlank", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 470, - 20 - ], - [ - 470, - 63 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.isRowBlank} " - } - }, - "473": { - "24": { - "name": "isBufferRowCommented", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 473, - 24 - ], - [ - 479, - 1 - ] - ], - "doc": "Public: Determine if the given row is entirely a comment " - } - }, - "479": { - "25": { - "name": "nextNonBlankBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 479, - 25 - ], - [ - 479, - 73 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.nextNonBlankRow} " - } - }, - "482": { - "24": { - "name": "getEofBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 482, - 24 - ], - [ - 482, - 50 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.getEndPosition} " - } - }, - "486": { - "20": { - "name": "getLastBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 486, - 20 - ], - [ - 486, - 42 - ] - ], - "doc": " Public: Returns a {Number} representing the last zero-indexed buffer row\nnumber of the editor. " - } - }, - "494": { - "27": { - "name": "bufferRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - null - ], - "range": [ - [ - 494, - 27 - ], - [ - 494, - 96 - ] - ], - "doc": " Private: Returns the range for the given buffer row.\n\nrow - A row {Number}.\noptions - An options hash with an `includeNewline` key.\n\nReturns a {Range}. " - } - }, - "500": { - "20": { - "name": "lineForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 500, - 20 - ], - [ - 500, - 51 - ] - ], - "doc": " Public: Returns a {String} representing the contents of the line at the\ngiven buffer row.\n\nrow - A {Number} representing a zero-indexed buffer row. " - } - }, - "506": { - "26": { - "name": "lineLengthForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 506, - 26 - ], - [ - 506, - 63 - ] - ], - "doc": " Public: Returns a {Number} representing the line length for the given\nbuffer row, exclusive of its line-ending character(s).\n\nrow - A {Number} indicating the buffer row. " - } - }, - "509": { - "8": { - "name": "scan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 509, - 8 - ], - [ - 509, - 41 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.scan} " - } - }, - "512": { - "21": { - "name": "scanInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 512, - 21 - ], - [ - 512, - 61 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.scanInRange} " - } - }, - "515": { - "30": { - "name": "backwardsScanInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 515, - 30 - ], - [ - 515, - 79 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.backwardsScanInRange} " - } - }, - "518": { - "14": { - "name": "isModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 518, - 14 - ], - [ - 518, - 36 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.isModified} " - } - }, - "520": { - "11": { - "name": "isEmpty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 520, - 11 - ], - [ - 520, - 30 - ] - ], - "doc": "~Private~" - } - }, - "524": { - "22": { - "name": "shouldPromptToSave", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 524, - 22 - ], - [ - 524, - 74 - ] - ], - "doc": " Public: Determine whether the user should be prompted to save before closing\nthis editor. " - } - }, - "536": { - "35": { - "name": "screenPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 536, - 35 - ], - [ - 536, - 134 - ] - ], - "doc": " Public: Convert a position in buffer-coordinates to screen-coordinates.\n\nThe position is clipped via {::clipBufferPosition} prior to the conversion.\nThe position is also clipped via {::clipScreenPosition} following the\nconversion, which only makes a difference when `options` are supplied.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " - } - }, - "546": { - "35": { - "name": "bufferPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 546, - 35 - ], - [ - 546, - 134 - ] - ], - "doc": " Public: Convert a position in screen-coordinates to buffer-coordinates.\n\nThe position is clipped via {::clipScreenPosition} prior to the conversion.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " - } - }, - "551": { - "29": { - "name": "screenRangeForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 551, - 29 - ], - [ - 551, - 98 - ] - ], - "doc": " Public: Convert a range in buffer-coordinates to screen-coordinates.\n\nReturns a {Range}. " - } - }, - "556": { - "29": { - "name": "bufferRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 556, - 29 - ], - [ - 556, - 98 - ] - ], - "doc": " Public: Convert a range in screen-coordinates to buffer-coordinates.\n\nReturns a {Range}. " - } - }, - "573": { - "22": { - "name": "clipScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 573, - 22 - ], - [ - 573, - 108 - ] - ], - "doc": " Public: Clip the given {Point} to a valid position on screen.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the screen, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at screen row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " - } - }, - "576": { - "20": { - "name": "lineForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 576, - 20 - ], - [ - 576, - 58 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.lineForRow} " - } - }, - "579": { - "22": { - "name": "linesForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 579, - 22 - ], - [ - 579, - 76 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.linesForRows} " - } - }, - "582": { - "22": { - "name": "getScreenLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 582, - 22 - ], - [ - 582, - 53 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getLineCount} " - } - }, - "585": { - "26": { - "name": "getMaxScreenLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 585, - 26 - ], - [ - 585, - 61 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getMaxLineLength} " - } - }, - "588": { - "20": { - "name": "getLastScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 588, - 20 - ], - [ - 588, - 49 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getLastRow} " - } - }, - "591": { - "27": { - "name": "bufferRowsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 591, - 27 - ], - [ - 591, - 104 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.bufferRowsForScreenRows} " - } - }, - "593": { - "25": { - "name": "bufferRowForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 593, - 25 - ], - [ - 593, - 74 - ] - ], - "doc": "~Private~" - } - }, - "605": { - "27": { - "name": "scopesForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 605, - 27 - ], - [ - 605, - 100 - ] - ], - "doc": " Public: Get the syntactic scopes for the given position in buffer\ncoordinates.\n\nFor example, if called with a position inside the parameter list of an\nanonymous CoffeeScript function, the method returns the following array:\n`[\"source.coffee\", \"meta.inline.function.coffee\", \"variable.parameter.function.coffee\"]`\n\nbufferPosition - A {Point} or {Array} of [row, column].\n\nReturns an {Array} of {String}s. " - } - }, - "614": { - "31": { - "name": "bufferRangeForScopeAtCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 614, - 31 - ], - [ - 618, - 1 - ] - ], - "doc": " Public: Get the range in buffer coordinates of all tokens surrounding the\ncursor that match the given scope selector.\n\nFor example, if you wanted to find the string surrounding the cursor, you\ncould call `editor.bufferRangeForScopeAtCursor(\".string.quoted\")`.\n\nReturns a {Range}. " - } - }, - "618": { - "26": { - "name": "tokenForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 618, - 26 - ], - [ - 618, - 98 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.tokenForBufferPosition} " - } - }, - "624": { - "19": { - "name": "getCursorScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 624, - 19 - ], - [ - 624, - 45 - ] - ], - "doc": " Public: Get the syntactic scopes for the most recently added cursor's\nposition. See {::scopesForBufferPosition} for more information.\n\nReturns an {Array} of {String}s. " - } - }, - "626": { - "18": { - "name": "logCursorScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 626, - 18 - ], - [ - 633, - 1 - ] - ], - "doc": "~Private~" - } - }, - "633": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 633, - 14 - ], - [ - 639, - 1 - ] - ], - "doc": " Public: For each selection, replace the selected text with the given text.\n\ntext - A {String} representing the text to insert.\noptions - See {Selection::insertText}. " - } - }, - "639": { - "17": { - "name": "insertNewline", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 639, - 17 - ], - [ - 643, - 1 - ] - ], - "doc": "Public: For each selection, replace the selected text with a newline. " - } - }, - "643": { - "22": { - "name": "insertNewlineBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 643, - 22 - ], - [ - 649, - 1 - ] - ], - "doc": "Public: For each cursor, insert a newline at beginning the following line. " - } - }, - "649": { - "22": { - "name": "insertNewlineAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 649, - 22 - ], - [ - 668, - 1 - ] - ], - "doc": "Public: For each cursor, insert a newline at the end of the preceding line. " - } - }, - "668": { - "10": { - "name": "indent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 668, - 10 - ], - [ - 674, - 1 - ] - ], - "doc": " Private: Indent all lines intersecting selections. See {Selection::indent} for more\ninformation. " - } - }, - "674": { - "13": { - "name": "backspace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 674, - 13 - ], - [ - 678, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete the character\npreceding the cursor. Otherwise delete the selected text. " - } - }, - "678": { - "30": { - "name": "backspaceToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 678, - 30 - ], - [ - 683, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " - } - }, - "683": { - "30": { - "name": "backspaceToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 683, - 30 - ], - [ - 690, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " - } - }, - "690": { - "27": { - "name": "deleteToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 690, - 27 - ], - [ - 696, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word that precede the cursor. Otherwise delete the\nselected text. " - } - }, - "696": { - "27": { - "name": "deleteToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 696, - 27 - ], - [ - 701, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing line that precede the cursor. Otherwise delete the\nselected text. " - } - }, - "701": { - "10": { - "name": "delete", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 701, - 10 - ], - [ - 708, - 1 - ] - ] - } - }, - "708": { - "21": { - "name": "deleteToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 708, - 21 - ], - [ - 714, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is not empty, deletes the\nselection; otherwise, deletes all characters of the containing line\nfollowing the cursor. If the cursor is already at the end of the line,\ndeletes the following newline. " - } - }, - "714": { - "21": { - "name": "deleteToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 714, - 21 - ], - [ - 718, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word following the cursor. Otherwise delete the selected\ntext. " - } - }, - "718": { - "14": { - "name": "deleteLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 718, - 14 - ], - [ - 722, - 1 - ] - ], - "doc": "Public: Delete all lines intersecting selections. " - } - }, - "722": { - "22": { - "name": "indentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 722, - 22 - ], - [ - 726, - 1 - ] - ], - "doc": "Public: Indent rows intersecting selections by one level. " - } - }, - "726": { - "23": { - "name": "outdentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 726, - 23 - ], - [ - 734, - 1 - ] - ], - "doc": "Public: Outdent rows intersecting selections by one level. " - } - }, - "734": { - "33": { - "name": "toggleLineCommentsInSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 734, - 33 - ], - [ - 739, - 1 - ] - ], - "doc": " Public: Toggle line comments for rows intersecting selections.\n\nIf the current grammar doesn't support comments, does nothing.\n\nReturns an {Array} of the commented {Range}s. " - } - }, - "739": { - "26": { - "name": "autoIndentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 739, - 26 - ], - [ - 744, - 1 - ] - ], - "doc": " Public: Indent rows intersecting selections based on the grammar's suggested\nindent level. " - } - }, - "744": { - "30": { - "name": "normalizeTabsInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 744, - 30 - ], - [ - 751, - 1 - ] - ], - "doc": " Private: If soft tabs are enabled, convert all hard tabs to soft tabs in the given\n{Range}. " - } - }, - "751": { - "18": { - "name": "cutToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 751, - 18 - ], - [ - 758, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, cut all characters\nof the containing line following the cursor. Otherwise cut the selected\ntext. " - } - }, - "758": { - "19": { - "name": "cutSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 758, - 19 - ], - [ - 765, - 1 - ] - ], - "doc": "Public: For each selection, cut the selected text. " - } - }, - "765": { - "20": { - "name": "copySelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 765, - 20 - ], - [ - 779, - 1 - ] - ], - "doc": "Public: For each selection, copy the selected text. " - } - }, - "779": { - "13": { - "name": "pasteText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 779, - 13 - ], - [ - 798, - 1 - ] - ], - "doc": " Public: For each selection, replace the selected text with the contents of\nthe clipboard.\n\nIf the clipboard contains the same number of selections as the current\neditor, each selection will be replaced with the content of the\ncorresponding clipboard selection text.\n\noptions - See {Selection::insertText}. " - } - }, - "798": { - "8": { - "name": "undo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 798, - 8 - ], - [ - 803, - 1 - ] - ], - "doc": "Public: Undo the last change. " - } - }, - "803": { - "8": { - "name": "redo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 803, - 8 - ], - [ - 812, - 1 - ] - ], - "doc": "Public: Redo the last change. " - } - }, - "812": { - "18": { - "name": "foldCurrentRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 812, - 18 - ], - [ - 817, - 1 - ] - ], - "doc": " Public: Fold the most recent cursor's row based on its indentation level.\n\nThe fold will extend from the nearest preceding line with a lower\nindentation level up to the nearest following row with a lower indentation\nlevel. " - } - }, - "817": { - "20": { - "name": "unfoldCurrentRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 817, - 20 - ], - [ - 822, - 1 - ] - ], - "doc": "Public: Unfold the most recent cursor's row by one level. " - } - }, - "822": { - "21": { - "name": "foldSelectedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 822, - 21 - ], - [ - 826, - 1 - ] - ], - "doc": "Public: For each selection, fold the rows it intersects. " - } - }, - "826": { - "11": { - "name": "foldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 826, - 11 - ], - [ - 830, - 1 - ] - ], - "doc": "Public: Fold all foldable lines. " - } - }, - "830": { - "13": { - "name": "unfoldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 830, - 13 - ], - [ - 836, - 1 - ] - ], - "doc": "Public: Unfold all existing folds. " - } - }, - "836": { - "24": { - "name": "foldAllAtIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "level" - ], - "range": [ - [ - 836, - 24 - ], - [ - 846, - 1 - ] - ], - "doc": " Public: Fold all foldable lines at the given indent level.\n\nlevel - A {Number}. " - } - }, - "846": { - "17": { - "name": "foldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 846, - 17 - ], - [ - 852, - 1 - ] - ], - "doc": " Public: Fold the given row in buffer coordinates based on its indentation\nlevel.\n\nIf the given row is foldable, the fold will begin there. Otherwise, it will\nbegin at the first foldable row preceding the given row.\n\nbufferRow - A {Number}. " - } - }, - "852": { - "19": { - "name": "unfoldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 852, - 19 - ], - [ - 862, - 1 - ] - ], - "doc": " Public: Unfold all folds containing the given row in buffer coordinates.\n\nbufferRow - A {Number} " - } - }, - "862": { - "25": { - "name": "isFoldableAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 862, - 25 - ], - [ - 865, - 1 - ] - ], - "doc": " Public: Determine whether the given row in buffer coordinates is foldable.\n\nA *foldable* row is a row that *starts* a row range that can be folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "865": { - "25": { - "name": "isFoldableAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 865, - 25 - ], - [ - 870, - 1 - ] - ], - "doc": "~Private~" - } - }, - "870": { - "14": { - "name": "createFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 870, - 14 - ], - [ - 874, - 1 - ] - ], - "doc": "TODO: Rename to foldRowRange? " - } - }, - "874": { - "21": { - "name": "destroyFoldWithId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 874, - 21 - ], - [ - 878, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.destroyFoldWithId} " - } - }, - "878": { - "39": { - "name": "destroyFoldsIntersectingBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 878, - 39 - ], - [ - 884, - 1 - ] - ], - "doc": "Private: Remove any {Fold}s found that intersect the given buffer row. " - } - }, - "884": { - "25": { - "name": "toggleFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 884, - 25 - ], - [ - 893, - 1 - ] - ], - "doc": " Public: Fold the given buffer row if it isn't currently folded, and unfold\nit otherwise. " - } - }, - "893": { - "23": { - "name": "isFoldedAtCursorRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 893, - 23 - ], - [ - 901, - 1 - ] - ], - "doc": " Public: Determine whether the most recently added cursor's row is folded.\n\nReturns a {Boolean}. " - } - }, - "901": { - "23": { - "name": "isFoldedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 901, - 23 - ], - [ - 909, - 1 - ] - ], - "doc": " Public: Determine whether the given row in buffer coordinates is folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "909": { - "23": { - "name": "isFoldedAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 909, - 23 - ], - [ - 913, - 1 - ] - ], - "doc": " Public: Determine whether the given row in screen coordinates is folded.\n\nscreenRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "913": { - "34": { - "name": "largestFoldContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 913, - 34 - ], - [ - 917, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.largestFoldContainingBufferRow} " - } - }, - "917": { - "34": { - "name": "largestFoldStartingAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 917, - 34 - ], - [ - 921, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.largestFoldStartingAtScreenRow} " - } - }, - "921": { - "34": { - "name": "outermostFoldsInBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 921, - 34 - ], - [ - 926, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.outermostFoldsForBufferRowRange} " - } - }, - "926": { - "14": { - "name": "moveLineUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 926, - 14 - ], - [ - 979, - 1 - ] - ], - "doc": " Private: Move lines intersection the most recent selection up by one row in screen\ncoordinates. " - } - }, - "979": { - "16": { - "name": "moveLineDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 979, - 16 - ], - [ - 1034, - 1 - ] - ], - "doc": " Private: Move lines intersecting the most recent selection down by one row in screen\ncoordinates. " - } - }, - "1034": { - "18": { - "name": "duplicateLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1034, - 18 - ], - [ - 1060, - 1 - ] - ], - "doc": "Private: Duplicate the most recent cursor's current line. " - } - }, - "1060": { - "17": { - "name": "duplicateLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1060, - 17 - ], - [ - 1072, - 1 - ] - ], - "doc": "Deprecated: Use {::duplicateLines} instead. " - } - }, - "1072": { - "22": { - "name": "mutateSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1072, - 22 - ], - [ - 1075, - 1 - ] - ], - "doc": " Public: Mutate the text of all the selections in a single transaction.\n\nAll the changes made inside the given {Function} can be reverted with a\nsingle call to {::undo}.\n\nfn - A {Function} that will be called once for each {Selection}. The first\n argument will be a {Selection} and the second argument will be the\n {Number} index of that selection. " - } - }, - "1075": { - "23": { - "name": "replaceSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options", - "fn" - ], - "range": [ - [ - 1075, - 23 - ], - [ - 1096, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1096": { - "32": { - "name": "decorationsForScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 1096, - 32 - ], - [ - 1137, - 1 - ] - ], - "doc": " Public: Get all the decorations within a screen row range.\n\nstartScreenRow - the {Number} beginning screen row\nendScreenRow - the {Number} end screen row (inclusive)\n\nReturns an {Object} of decorations in the form\n `{1: [{id: 10, type: 'gutter', class: 'someclass'}], 2: ...}`\n where the keys are {Marker} IDs, and the values are an array of decoration\n params objects attached to the marker.\nReturns an empty object when no decorations are found " - } - }, - "1137": { - "18": { - "name": "decorateMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "decorationParams" - ], - "range": [ - [ - 1137, - 18 - ], - [ - 1140, - 1 - ] - ], - "doc": " Public: Adds a decoration that tracks a {Marker}. When the marker moves,\nis invalidated, or is destroyed, the decoration will be updated to reflect\nthe marker's state.\n\nThere are three types of supported decorations:\n* `line`: Adds your CSS `class` to the line nodes within the range\n marked by the marker\n* `gutter`: Adds your CSS `class` to the line number nodes within the\n range marked by the marker\n* `highlight`: Adds a new highlight div to the editor surrounding the\n range marked by the marker. When the user selects text, the selection is\n visualized with a highlight decoration internally. The structure of this\n highlight will be:\n ```html\n
    \">\n \n
    \n
    \n ```\n\nmarker - A {Marker} you want this decoration to follow.\ndecorationParams - An {Object} representing the decoration eg. `{type: 'gutter', class: 'linter-error'}`\n :type - There are a few supported decoration types:\n * `gutter`: Applies the decoration to the line numbers spanned by the marker.\n * `line`: Applies the decoration to the lines spanned by the marker.\n * `highlight`: Applies the decoration to a \"highlight\" behind the marked range.\n :class - This CSS class will be applied to the decorated line number,\n line, or highlight.\n :onlyHead - If `true`, the decoration will only be applied to the head\n of the marker. Only applicable to the `line` and `gutter` types.\n :onlyEmpty - If `true`, the decoration will only be applied if the\n associated marker is empty. Only applicable to the `line` and\n `gutter` types.\n :onlyNonEmpty - If `true`, the decoration will only be applied if the\n associated marker is non-empty. Only applicable to the `line` and\n gutter types.\n\nReturns a {Decoration} object " - } - }, - "1140": { - "19": { - "name": "decorationForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 1140, - 19 - ], - [ - 1144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1144": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 1144, - 13 - ], - [ - 1148, - 1 - ] - ], - "doc": "Public: Get the {DisplayBufferMarker} for the given marker id. " - } - }, - "1148": { - "14": { - "name": "getMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1148, - 14 - ], - [ - 1170, - 1 - ] - ], - "doc": "Public: Get all {DisplayBufferMarker}s. " - } - }, - "1170": { - "15": { - "name": "findMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "properties" - ], - "range": [ - [ - 1170, - 15 - ], - [ - 1179, - 1 - ] - ], - "doc": " Public: Find all {DisplayBufferMarker}s that match the given properties.\n\nThis method finds markers based on the given properties. Markers can be\nassociated with custom properties that will be compared with basic equality.\nIn addition, there are several special properties that will be compared\nwith the range of the markers rather than their properties.\n\nproperties - An {Object} containing properties that each returned marker\n must satisfy. Markers can be associated with custom properties, which are\n compared with basic equality. In addition, several reserved properties\n can be used to filter markers based on their current range:\n :startBufferRow - Only include markers starting at this row in buffer\n coordinates.\n :endBufferRow - Only include markers ending at this row in buffer\n coordinates.\n :containsBufferRange - Only include markers containing this {Range} or\n in range-compatible {Array} in buffer coordinates.\n :containsBufferPosition - Only include markers containing this {Point}\n or {Array} of `[row, column]` in buffer coordinates. " - } - }, - "1179": { - "19": { - "name": "markScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1179, - 19 - ], - [ - 1188, - 1 - ] - ], - "doc": " Public: Mark the given range in screen coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1188": { - "19": { - "name": "markBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1188, - 19 - ], - [ - 1197, - 1 - ] - ], - "doc": " Public: Mark the given range in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1197": { - "22": { - "name": "markScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1197, - 22 - ], - [ - 1206, - 1 - ] - ], - "doc": " Public: Mark the given position in screen coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1206": { - "22": { - "name": "markBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1206, - 22 - ], - [ - 1210, - 1 - ] - ], - "doc": " Public: Mark the given position in buffer coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1210": { - "17": { - "name": "destroyMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1210, - 17 - ], - [ - 1216, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.destroyMarker} " - } - }, - "1216": { - "18": { - "name": "getMarkerCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1216, - 18 - ], - [ - 1220, - 1 - ] - ], - "doc": " Public: Get the number of markers in this editor's buffer.\n\nReturns a {Number}. " - } - }, - "1220": { - "22": { - "name": "hasMultipleCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1220, - 22 - ], - [ - 1224, - 1 - ] - ], - "doc": "Public: Determine if there are multiple cursors. " - } - }, - "1224": { - "14": { - "name": "getCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1224, - 14 - ], - [ - 1224, - 38 - ] - ], - "doc": "Public: Get an Array of all {Cursor}s. " - } - }, - "1227": { - "13": { - "name": "getCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1227, - 13 - ], - [ - 1233, - 1 - ] - ], - "doc": "Public: Get the most recently added {Cursor}. " - } - }, - "1233": { - "29": { - "name": "addCursorAtScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 1233, - 29 - ], - [ - 1240, - 1 - ] - ], - "doc": " Public: Add a cursor at the position in screen coordinates.\n\nReturns a {Cursor}. " - } - }, - "1240": { - "29": { - "name": "addCursorAtBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 1240, - 29 - ], - [ - 1245, - 1 - ] - ], - "doc": " Public: Add a cursor at the given position in buffer coordinates.\n\nReturns a {Cursor}. " - } - }, - "1245": { - "13": { - "name": "addCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1245, - 13 - ], - [ - 1255, - 1 - ] - ], - "doc": "Private: Add a cursor based on the given {DisplayBufferMarker}. " - } - }, - "1255": { - "16": { - "name": "removeCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursor" - ], - "range": [ - [ - 1255, - 16 - ], - [ - 1264, - 1 - ] - ], - "doc": "Private: Remove the given cursor from this editor. " - } - }, - "1264": { - "16": { - "name": "addSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "options" - ], - "range": [ - [ - 1264, - 16 - ], - [ - 1288, - 1 - ] - ], - "doc": " Private: Add a {Selection} based on the given {DisplayBufferMarker}.\n\nmarker - The {DisplayBufferMarker} to highlight\noptions - An {Object} that pertains to the {Selection} constructor.\n\nReturns the new {Selection}. " - } - }, - "1288": { - "30": { - "name": "addSelectionForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 1288, - 30 - ], - [ - 1301, - 1 - ] - ], - "doc": " Public: Add a selection for the given range in buffer coordinates.\n\nbufferRange - A {Range}\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation.\n\nReturns the added {Selection}. " - } - }, - "1301": { - "26": { - "name": "setSelectedBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 1301, - 26 - ], - [ - 1311, - 1 - ] - ], - "doc": " Public: Set the selected range in buffer coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nbufferRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1311": { - "26": { - "name": "setSelectedScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 1311, - 26 - ], - [ - 1321, - 1 - ] - ], - "doc": " Public: Set the selected range in screen coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nscreenRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1321": { - "27": { - "name": "setSelectedBufferRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRanges", - "options" - ], - "range": [ - [ - 1321, - 27 - ], - [ - 1336, - 1 - ] - ], - "doc": " Public: Set the selected ranges in buffer coordinates. If there are multiple\nselections, they are replaced by new selections with the given ranges.\n\nbufferRanges - An {Array} of {Range}s or range-compatible {Array}s.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1336": { - "19": { - "name": "removeSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 1336, - 19 - ], - [ - 1342, - 1 - ] - ], - "doc": "Private: Remove the given selection. " - } - }, - "1342": { - "19": { - "name": "clearSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1342, - 19 - ], - [ - 1347, - 1 - ] - ], - "doc": " Private: Reduce one or more selections to a single empty selection based on the most\nrecently added cursor. " - } - }, - "1347": { - "25": { - "name": "consolidateSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1347, - 25 - ], - [ - 1355, - 1 - ] - ], - "doc": "Private: Reduce multiple selections to the most recently added selection. " - } - }, - "1355": { - "31": { - "name": "selectionScreenRangeChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 1355, - 31 - ], - [ - 1361, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1361": { - "17": { - "name": "getSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1361, - 17 - ], - [ - 1361, - 44 - ] - ], - "doc": " Public: Get current {Selection}s.\n\nReturns: An {Array} of {Selection}s. " - } - }, - "1363": { - "27": { - "name": "selectionsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1363, - 27 - ], - [ - 1374, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1374": { - "16": { - "name": "getSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 1374, - 16 - ], - [ - 1381, - 1 - ] - ], - "doc": " Public: Get the most recent {Selection} or the selection at the given\nindex.\n\nindex - Optional. The index of the selection to return, based on the order\n in which the selections were added.\n\nReturns a {Selection}.\nor the at the specified index. " - } - }, - "1381": { - "20": { - "name": "getLastSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1381, - 20 - ], - [ - 1388, - 1 - ] - ], - "doc": " Public: Get the most recently added {Selection}.\n\nReturns a {Selection}. " - } - }, - "1388": { - "40": { - "name": "getSelectionsOrderedByBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1388, - 40 - ], - [ - 1394, - 1 - ] - ], - "doc": " Public: Get all {Selection}s, ordered by their position in the buffer\ninstead of the order in which they were added.\n\nReturns an {Array} of {Selection}s. " - } - }, - "1394": { - "28": { - "name": "getLastSelectionInBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1394, - 28 - ], - [ - 1403, - 1 - ] - ], - "doc": " Public: Get the last {Selection} based on its position in the buffer.\n\nReturns a {Selection}. " - } - }, - "1403": { - "34": { - "name": "selectionIntersectsBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 1403, - 34 - ], - [ - 1415, - 1 - ] - ], - "doc": " Public: Determine if a given range in buffer coordinates intersects a\nselection.\n\nbufferRange - A {Range} or range-compatible {Array}.\n\nReturns a {Boolean}. " - } - }, - "1415": { - "27": { - "name": "setCursorScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "options" - ], - "range": [ - [ - 1415, - 27 - ], - [ - 1422, - 1 - ] - ], - "doc": " Public: Move the cursor to the given position in screen coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " - } - }, - "1422": { - "27": { - "name": "getCursorScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1422, - 27 - ], - [ - 1428, - 1 - ] - ], - "doc": " Public: Get the position of the most recently added cursor in screen\ncoordinates.\n\nReturns a {Point}. " - } - }, - "1428": { - "22": { - "name": "getCursorScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1428, - 22 - ], - [ - 1439, - 1 - ] - ], - "doc": " Public: Get the row of the most recently added cursor in screen coordinates.\n\nReturns the screen row {Number}. " - } - }, - "1439": { - "27": { - "name": "setCursorBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "options" - ], - "range": [ - [ - 1439, - 27 - ], - [ - 1446, - 1 - ] - ], - "doc": " Public: Move the cursor to the given position in buffer coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " - } - }, - "1446": { - "27": { - "name": "getCursorBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1446, - 27 - ], - [ - 1453, - 1 - ] - ], - "doc": " Public: Get the position of the most recently added cursor in buffer\ncoordinates.\n\nReturns a {Point}. " - } - }, - "1453": { - "26": { - "name": "getSelectedScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1453, - 26 - ], - [ - 1460, - 1 - ] - ], - "doc": " Public: Get the {Range} of the most recently added selection in screen\ncoordinates.\n\nReturns a {Range}. " - } - }, - "1460": { - "26": { - "name": "getSelectedBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1460, - 26 - ], - [ - 1468, - 1 - ] - ], - "doc": " Public: Get the {Range} of the most recently added selection in buffer\ncoordinates.\n\nReturns a {Range}. " - } - }, - "1468": { - "27": { - "name": "getSelectedBufferRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1468, - 27 - ], - [ - 1476, - 1 - ] - ], - "doc": " Public: Get the {Range}s of all selections in buffer coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " - } - }, - "1476": { - "27": { - "name": "getSelectedScreenRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1476, - 27 - ], - [ - 1482, - 1 - ] - ], - "doc": " Public: Get the {Range}s of all selections in screen coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " - } - }, - "1482": { - "19": { - "name": "getSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1482, - 19 - ], - [ - 1490, - 1 - ] - ], - "doc": " Public: Get the selected text of the most recently added selection.\n\nReturns a {String}. " - } - }, - "1490": { - "24": { - "name": "getTextInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 1490, - 24 - ], - [ - 1499, - 1 - ] - ], - "doc": " Public: Get the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\n\nReturns a {String}. " - } - }, - "1499": { - "24": { - "name": "setTextInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range", - "text", - "normalizeLineEndings" - ], - "range": [ - [ - 1499, - 24 - ], - [ - 1499, - 124 - ] - ], - "doc": " Public: Set the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\ntext - A {String}\n\nReturns the {Range} of the newly-inserted text. " - } - }, - "1505": { - "34": { - "name": "getCurrentParagraphBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1505, - 34 - ], - [ - 1511, - 1 - ] - ], - "doc": " Public: Get the {Range} of the paragraph surrounding the most recently added\ncursor.\n\nReturns a {Range}. " - } - }, - "1511": { - "22": { - "name": "getWordUnderCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 1511, - 22 - ], - [ - 1515, - 1 - ] - ], - "doc": " Public: Returns the word surrounding the most recently added cursor.\n\noptions - See {Cursor::getBeginningOfCurrentWordBufferPosition}. " - } - }, - "1515": { - "16": { - "name": "moveCursorUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineCount" - ], - "range": [ - [ - 1515, - 16 - ], - [ - 1519, - 1 - ] - ], - "doc": "Public: Move every cursor up one row in screen coordinates. " - } - }, - "1519": { - "18": { - "name": "moveCursorDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineCount" - ], - "range": [ - [ - 1519, - 18 - ], - [ - 1523, - 1 - ] - ], - "doc": "Public: Move every cursor down one row in screen coordinates. " - } - }, - "1523": { - "18": { - "name": "moveCursorLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1523, - 18 - ], - [ - 1527, - 1 - ] - ], - "doc": "Public: Move every cursor left one column. " - } - }, - "1527": { - "19": { - "name": "moveCursorRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1527, - 19 - ], - [ - 1533, - 1 - ] - ], - "doc": "Public: Move every cursor right one column. " - } - }, - "1533": { - "19": { - "name": "moveCursorToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1533, - 19 - ], - [ - 1539, - 1 - ] - ], - "doc": " Public: Move every cursor to the top of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " - } - }, - "1539": { - "22": { - "name": "moveCursorToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1539, - 22 - ], - [ - 1543, - 1 - ] - ], - "doc": " Public: Move every cursor to the bottom of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " - } - }, - "1543": { - "37": { - "name": "moveCursorToBeginningOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1543, - 37 - ], - [ - 1547, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its line in screen coordinates. " - } - }, - "1547": { - "31": { - "name": "moveCursorToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1547, - 31 - ], - [ - 1551, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its line in buffer coordinates. " - } - }, - "1551": { - "36": { - "name": "moveCursorToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1551, - 36 - ], - [ - 1555, - 1 - ] - ], - "doc": "Public: Move every cursor to the first non-whitespace character of its line. " - } - }, - "1555": { - "31": { - "name": "moveCursorToEndOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1555, - 31 - ], - [ - 1559, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its line in screen coordinates. " - } - }, - "1559": { - "25": { - "name": "moveCursorToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1559, - 25 - ], - [ - 1563, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its line in buffer coordinates. " - } - }, - "1563": { - "31": { - "name": "moveCursorToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1563, - 31 - ], - [ - 1567, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its surrounding word. " - } - }, - "1567": { - "25": { - "name": "moveCursorToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1567, - 25 - ], - [ - 1571, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its surrounding word. " - } - }, - "1571": { - "35": { - "name": "moveCursorToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1571, - 35 - ], - [ - 1575, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the next word. " - } - }, - "1575": { - "36": { - "name": "moveCursorToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1575, - 36 - ], - [ - 1579, - 1 - ] - ], - "doc": "Public: Move every cursor to the previous word boundary. " - } - }, - "1579": { - "32": { - "name": "moveCursorToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1579, - 32 - ], - [ - 1583, - 1 - ] - ], - "doc": "Public: Move every cursor to the next word boundary. " - } - }, - "1583": { - "40": { - "name": "moveCursorToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1583, - 40 - ], - [ - 1587, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the next paragraph. " - } - }, - "1587": { - "44": { - "name": "moveCursorToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1587, - 44 - ], - [ - 1596, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the previous paragraph. " - } - }, - "1596": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 1596, - 26 - ], - [ - 1599, - 1 - ] - ], - "doc": " Public: Scroll the editor to reveal the most recently added cursor if it is\noff-screen.\n\noptions - An optional hash of options.\n :center - Center the editor around the cursor if possible. Defauls to\n true. " - } - }, - "1599": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1599, - 10 - ], - [ - 1604, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1604": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1604, - 12 - ], - [ - 1609, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1609": { - "16": { - "name": "selectPageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1609, - 16 - ], - [ - 1612, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1612": { - "18": { - "name": "selectPageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1612, - 18 - ], - [ - 1616, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1616": { - "18": { - "name": "getRowsPerPage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1616, - 18 - ], - [ - 1619, - 1 - ] - ], - "doc": "Private: Returns the number of rows per page " - } - }, - "1619": { - "15": { - "name": "moveCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1619, - 15 - ], - [ - 1626, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1626": { - "15": { - "name": "cursorMoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 1626, - 15 - ], - [ - 1636, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1636": { - "26": { - "name": "selectToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1636, - 26 - ], - [ - 1645, - 1 - ] - ], - "doc": " Public: Select from the current cursor position to the given position in\nscreen coordinates.\n\nThis method may merge selections that end up intesecting.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "1645": { - "15": { - "name": "selectRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1645, - 15 - ], - [ - 1652, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character rightward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1652": { - "14": { - "name": "selectLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1652, - 14 - ], - [ - 1659, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character leftward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1659": { - "12": { - "name": "selectUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 1659, - 12 - ], - [ - 1666, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character upward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1666": { - "14": { - "name": "selectDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 1666, - 14 - ], - [ - 1673, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character downward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1673": { - "15": { - "name": "selectToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1673, - 15 - ], - [ - 1679, - 1 - ] - ], - "doc": " Public: Select from the top of the buffer to the end of the last selection\nin the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1679": { - "13": { - "name": "selectAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1679, - 13 - ], - [ - 1686, - 1 - ] - ], - "doc": " Public: Select all text in the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1686": { - "18": { - "name": "selectToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1686, - 18 - ], - [ - 1693, - 1 - ] - ], - "doc": " Public: Selects from the top of the first selection in the buffer to the end\nof the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1693": { - "27": { - "name": "selectToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1693, - 27 - ], - [ - 1702, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the beginning of its line\nwhile preserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1702": { - "32": { - "name": "selectToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1702, - 32 - ], - [ - 1709, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the first non-whitespace\ncharacter of its line while preserving the selection's tail position. If the\ncursor is already on the first character of the line, move it to the\nbeginning of the line.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1709": { - "21": { - "name": "selectToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1709, - 21 - ], - [ - 1716, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the end of its line while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1716": { - "32": { - "name": "selectToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1716, - 32 - ], - [ - 1723, - 1 - ] - ], - "doc": " Public: For each selection, move its cursor to the preceding word boundary\nwhile maintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1723": { - "28": { - "name": "selectToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1723, - 28 - ], - [ - 1729, - 1 - ] - ], - "doc": " Public: For each selection, move its cursor to the next word boundary while\nmaintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1729": { - "14": { - "name": "selectLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1729, - 14 - ], - [ - 1740, - 1 - ] - ], - "doc": " Public: For each cursor, select the containing line.\n\nThis method merges selections on successive lines. " - } - }, - "1740": { - "21": { - "name": "addSelectionBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1740, - 21 - ], - [ - 1751, - 1 - ] - ], - "doc": " Public: Add a similarly-shaped selection to the next eligible line below\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next following non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " - } - }, - "1751": { - "21": { - "name": "addSelectionAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1751, - 21 - ], - [ - 1759, - 1 - ] - ], - "doc": " Public: Add a similarly-shaped selection to the next eligible line above\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next preceding non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " - } - }, - "1759": { - "28": { - "name": "splitSelectionsIntoLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1759, - 28 - ], - [ - 1776, - 1 - ] - ], - "doc": " Public: Split multi-line selections into one selection per line.\n\nOperates on all selections. This method breaks apart all multi-line\nselections to create multiple single-line selections that cumulatively cover\nthe same original area. " - } - }, - "1776": { - "13": { - "name": "transpose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1776, - 13 - ], - [ - 1791, - 1 - ] - ], - "doc": " Public: For each selection, transpose the selected text.\n\nIf the selection is empty, the characters preceding and following the cursor\nare swapped. Otherwise, the selected characters are reversed. " - } - }, - "1791": { - "13": { - "name": "upperCase", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1791, - 13 - ], - [ - 1798, - 1 - ] - ], - "doc": " Public: Convert the selected text to upper case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " - } - }, - "1798": { - "13": { - "name": "lowerCase", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1798, - 13 - ], - [ - 1809, - 1 - ] - ], - "doc": " Public: Convert the selected text to lower case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " - } - }, - "1809": { - "13": { - "name": "joinLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1809, - 13 - ], - [ - 1816, - 1 - ] - ], - "doc": " Private: Convert multiple lines to a single line.\n\nOperates on all selections. If the selection is empty, joins the current\nline with the next line. Otherwise it joins all lines that intersect the\nselection.\n\nJoining a line means that multiple lines are converted to a single line with\nthe contents of each of the original non-empty lines separated by a space. " - } - }, - "1816": { - "27": { - "name": "selectToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1816, - 27 - ], - [ - 1823, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of their containing word.\n\nOperates on all selections. Moves the cursor to the beginning of the\ncontaining word while preserving the selection's tail position. " - } - }, - "1823": { - "21": { - "name": "selectToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1823, - 21 - ], - [ - 1830, - 1 - ] - ], - "doc": " Public: Expand selections to the end of their containing word.\n\nOperates on all selections. Moves the cursor to the end of the containing\nword while preserving the selection's tail position. " - } - }, - "1830": { - "31": { - "name": "selectToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1830, - 31 - ], - [ - 1834, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next word.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nword while preserving the selection's tail position. " - } - }, - "1834": { - "14": { - "name": "selectWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1834, - 14 - ], - [ - 1841, - 1 - ] - ], - "doc": "Public: Select the word containing each cursor. " - } - }, - "1841": { - "36": { - "name": "selectToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1841, - 36 - ], - [ - 1848, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " - } - }, - "1848": { - "40": { - "name": "selectToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1848, - 40 - ], - [ - 1856, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " - } - }, - "1856": { - "16": { - "name": "selectMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1856, - 16 - ], - [ - 1863, - 1 - ] - ], - "doc": " Public: Select the range of the given marker if it is valid.\n\nmarker - A {DisplayBufferMarker}\n\nReturns the selected {Range} or `undefined` if the marker is invalid. " - } - }, - "1863": { - "16": { - "name": "mergeCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1863, - 16 - ], - [ - 1873, - 1 - ] - ], - "doc": "Private: Merge cursors that have the same screen position " - } - }, - "1873": { - "27": { - "name": "expandSelectionsForward", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1873, - 27 - ], - [ - 1879, - 1 - ] - ], - "doc": "Private: Calls the given function with each selection, then merges selections " - } - }, - "1879": { - "28": { - "name": "expandSelectionsBackward", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1879, - 28 - ], - [ - 1883, - 1 - ] - ], - "doc": " Private: Calls the given function with each selection, then merges selections in the\nreversed orientation " - } - }, - "1883": { - "22": { - "name": "finalizeSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1883, - 22 - ], - [ - 1889, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1889": { - "31": { - "name": "mergeIntersectingSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1889, - 31 - ], - [ - 1910, - 1 - ] - ], - "doc": " Private: Merges intersecting selections. If passed a function, it executes\nthe function with merging suppressed, then merges intersecting selections\nafterward. " - } - }, - "1910": { - "40": { - "name": "preserveCursorPositionOnBufferReload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1910, - 40 - ], - [ - 1919, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1919": { - "14": { - "name": "getGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1919, - 14 - ], - [ - 1926, - 1 - ] - ], - "doc": "Public: Get the current {Grammar} of this editor. " - } - }, - "1926": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 1926, - 14 - ], - [ - 1930, - 1 - ] - ], - "doc": " Public: Set the current {Grammar} of this editor.\n\nAssigning a grammar will cause the editor to re-tokenize based on the new\ngrammar. " - } - }, - "1930": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1930, - 17 - ], - [ - 1933, - 1 - ] - ], - "doc": "Private: Reload the grammar based on the file name. " - } - }, - "1933": { - "20": { - "name": "shouldAutoIndent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1933, - 20 - ], - [ - 1944, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1944": { - "12": { - "name": "transact", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1944, - 12 - ], - [ - 1944, - 39 - ] - ], - "doc": " Public: Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " - } - }, - "1952": { - "20": { - "name": "beginTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1952, - 20 - ], - [ - 1952, - 48 - ] - ], - "doc": " Public: Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " - } - }, - "1958": { - "21": { - "name": "commitTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1958, - 21 - ], - [ - 1958, - 50 - ] - ], - "doc": " Public: Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " - } - }, - "1962": { - "20": { - "name": "abortTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1962, - 20 - ], - [ - 1962, - 48 - ] - ], - "doc": " Public: Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " - } - }, - "1964": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1964, - 11 - ], - [ - 1967, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1967": { - "18": { - "name": "logScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 1967, - 18 - ], - [ - 1967, - 68 - ] - ], - "doc": "~Private~" - } - }, - "1969": { - "22": { - "name": "handleTokenization", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1969, - 22 - ], - [ - 1972, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1972": { - "23": { - "name": "handleGrammarChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1972, - 23 - ], - [ - 1976, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1976": { - "23": { - "name": "handleMarkerCreated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1976, - 23 - ], - [ - 1980, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1980": { - "32": { - "name": "getSelectionMarkerAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1980, - 32 - ], - [ - 1983, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1983": { - "27": { - "name": "getVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1983, - 27 - ], - [ - 1983, - 69 - ] - ], - "doc": "~Private~" - } - }, - "1984": { - "27": { - "name": "setVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "verticalScrollMargin" - ], - "range": [ - [ - 1984, - 27 - ], - [ - 1984, - 112 - ] - ] - } - }, - "1986": { - "29": { - "name": "getHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1986, - 29 - ], - [ - 1986, - 73 - ] - ], - "doc": "~Private~" - } - }, - "1987": { - "29": { - "name": "setHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "horizontalScrollMargin" - ], - "range": [ - [ - 1987, - 29 - ], - [ - 1987, - 120 - ] - ] - } - }, - "1989": { - "25": { - "name": "getLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1989, - 25 - ], - [ - 1989, - 65 - ] - ], - "doc": "~Private~" - } - }, - "1990": { - "25": { - "name": "setLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeightInPixels" - ], - "range": [ - [ - 1990, - 25 - ], - [ - 1990, - 104 - ] - ] - } - }, - "1992": { - "29": { - "name": "batchCharacterMeasurement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1992, - 29 - ], - [ - 1992, - 80 - ] - ], - "doc": "~Private~" - } - }, - "1994": { - "22": { - "name": "getScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char" - ], - "range": [ - [ - 1994, - 22 - ], - [ - 1994, - 94 - ] - ], - "doc": "~Private~" - } - }, - "1995": { - "22": { - "name": "setScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char", - "width" - ], - "range": [ - [ - 1995, - 22 - ], - [ - 1995, - 108 - ] - ] - } - }, - "1997": { - "23": { - "name": "getScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames" - ], - "range": [ - [ - 1997, - 23 - ], - [ - 1997, - 84 - ] - ], - "doc": "~Private~" - } - }, - "1999": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1999, - 25 - ], - [ - 1999, - 65 - ] - ], - "doc": "~Private~" - } - }, - "2001": { - "23": { - "name": "getDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2001, - 23 - ], - [ - 2001, - 61 - ] - ], - "doc": "~Private~" - } - }, - "2002": { - "23": { - "name": "setDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultCharWidth" - ], - "range": [ - [ - 2002, - 23 - ], - [ - 2002, - 96 - ] - ] - } - }, - "2004": { - "13": { - "name": "setHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "height" - ], - "range": [ - [ - 2004, - 13 - ], - [ - 2004, - 56 - ] - ], - "doc": "~Private~" - } - }, - "2005": { - "13": { - "name": "getHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2005, - 13 - ], - [ - 2005, - 41 - ] - ] - } - }, - "2007": { - "19": { - "name": "getClientHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2007, - 19 - ], - [ - 2007, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2009": { - "12": { - "name": "setWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width" - ], - "range": [ - [ - 2009, - 12 - ], - [ - 2009, - 52 - ] - ], - "doc": "~Private~" - } - }, - "2010": { - "12": { - "name": "getWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2010, - 12 - ], - [ - 2010, - 39 - ] - ] - } - }, - "2012": { - "16": { - "name": "getScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2012, - 16 - ], - [ - 2012, - 47 - ] - ], - "doc": "~Private~" - } - }, - "2013": { - "16": { - "name": "setScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 2013, - 16 - ], - [ - 2013, - 68 - ] - ] - } - }, - "2015": { - "19": { - "name": "getScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2015, - 19 - ], - [ - 2015, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2016": { - "19": { - "name": "setScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 2016, - 19 - ], - [ - 2016, - 80 - ] - ] - } - }, - "2018": { - "17": { - "name": "getScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2018, - 17 - ], - [ - 2018, - 49 - ] - ], - "doc": "~Private~" - } - }, - "2019": { - "17": { - "name": "setScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 2019, - 17 - ], - [ - 2019, - 72 - ] - ] - } - }, - "2021": { - "18": { - "name": "getScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2021, - 18 - ], - [ - 2021, - 51 - ] - ], - "doc": "~Private~" - } - }, - "2022": { - "18": { - "name": "setScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 2022, - 18 - ], - [ - 2022, - 76 - ] - ] - } - }, - "2024": { - "19": { - "name": "getScrollHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2024, - 19 - ], - [ - 2024, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2025": { - "18": { - "name": "getScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollWidth" - ], - "range": [ - [ - 2025, - 18 - ], - [ - 2025, - 76 - ] - ] - } - }, - "2027": { - "22": { - "name": "getVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2027, - 22 - ], - [ - 2027, - 59 - ] - ], - "doc": "~Private~" - } - }, - "2029": { - "29": { - "name": "intersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 2029, - 29 - ], - [ - 2029, - 108 - ] - ], - "doc": "~Private~" - } - }, - "2031": { - "38": { - "name": "selectionIntersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 2031, - 38 - ], - [ - 2031, - 112 - ] - ], - "doc": "~Private~" - } - }, - "2033": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 2033, - 34 - ], - [ - 2033, - 114 - ] - ], - "doc": "~Private~" - } - }, - "2035": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 2035, - 34 - ], - [ - 2035, - 114 - ] - ], - "doc": "~Private~" - } - }, - "2037": { - "34": { - "name": "screenPositionForPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 2037, - 34 - ], - [ - 2037, - 112 - ] - ], - "doc": "~Private~" - } - }, - "2039": { - "27": { - "name": "pixelRectForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 2039, - 27 - ], - [ - 2039, - 94 - ] - ], - "doc": "~Private~" - } - }, - "2041": { - "23": { - "name": "scrollToScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 2041, - 23 - ], - [ - 2041, - 104 - ] - ], - "doc": "~Private~" - } - }, - "2043": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 2043, - 26 - ], - [ - 2043, - 116 - ] - ], - "doc": "~Private~" - } - }, - "2045": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 2045, - 26 - ], - [ - 2045, - 116 - ] - ], - "doc": "~Private~" - } - }, - "2047": { - "26": { - "name": "horizontallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2047, - 26 - ], - [ - 2047, - 67 - ] - ], - "doc": "~Private~" - } - }, - "2049": { - "24": { - "name": "verticallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2049, - 24 - ], - [ - 2049, - 63 - ] - ], - "doc": "~Private~" - } - }, - "2051": { - "32": { - "name": "getHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2051, - 32 - ], - [ - 2051, - 79 - ] - ], - "doc": "~Private~" - } - }, - "2052": { - "32": { - "name": "setHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "height" - ], - "range": [ - [ - 2052, - 32 - ], - [ - 2052, - 94 - ] - ] - } - }, - "2054": { - "29": { - "name": "getVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2054, - 29 - ], - [ - 2054, - 73 - ] - ], - "doc": "~Private~" - } - }, - "2055": { - "29": { - "name": "setVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width" - ], - "range": [ - [ - 2055, - 29 - ], - [ - 2055, - 86 - ] - ] - } - }, - "2058": { - "12": { - "name": "joinLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2058, - 12 - ], - [ - 2060, - 16 - ] - ], - "doc": "Deprecated: Call {::joinLines} instead. " - } - } - }, - "exports": 138 - }, - "src/fold.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "7": { - "0": { - "type": "class", - "name": "Fold", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 8, - 6 - ], - [ - 9, - 17 - ], - [ - 10, - 10 - ], - [ - 12, - 15 - ], - [ - 20, - 22 - ], - [ - 27, - 11 - ], - [ - 35, - 18 - ], - [ - 48, - 21 - ], - [ - 53, - 15 - ], - [ - 57, - 13 - ], - [ - 61, - 11 - ], - [ - 67, - 21 - ], - [ - 75, - 21 - ], - [ - 78, - 23 - ], - [ - 82, - 13 - ] - ], - "doc": " Private: Represents a fold that collapses multiple buffer lines into a single\nline on the screen.\n\nTheir creation is managed by the {DisplayBuffer}. ", - "range": [ - [ - 7, - 0 - ], - [ - 84, - 26 - ] - ] - } - }, - "8": { - "6": { - "name": "id", - "type": "primitive", - "range": [ - [ - 8, - 6 - ], - [ - 8, - 9 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "17": { - "name": "displayBuffer", - "type": "primitive", - "range": [ - [ - 9, - 17 - ], - [ - 9, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "10": { - "name": "marker", - "type": "primitive", - "range": [ - [ - 10, - 10 - ], - [ - 10, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 20, - 1 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "22": { - "name": "isInsideLargerFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 22 - ], - [ - 27, - 1 - ] - ], - "doc": "Private: Returns whether this fold is contained within another fold " - } - }, - "27": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 11 - ], - [ - 35, - 1 - ] - ], - "doc": "Private: Destroys this fold " - } - }, - "35": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 35, - 18 - ], - [ - 48, - 1 - ] - ], - "doc": " Private: Returns the fold's {Range} in buffer coordinates\n\nincludeNewline - A {Boolean} which, if `true`, includes the trailing newline\n\nReturns a {Range}. " - } - }, - "48": { - "21": { - "name": "getBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 21 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "15": { - "name": "getStartRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 15 - ], - [ - 57, - 1 - ] - ], - "doc": "Private: Returns the fold's start row as a {Number}. " - } - }, - "57": { - "13": { - "name": "getEndRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 13 - ], - [ - 61, - 1 - ] - ], - "doc": "Private: Returns the fold's end row as a {Number}. " - } - }, - "61": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 11 - ], - [ - 67, - 1 - ] - ], - "doc": "Private: Returns a {String} representation of the fold. " - } - }, - "67": { - "21": { - "name": "getBufferRowCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 21 - ], - [ - 75, - 1 - ] - ], - "doc": " Private: Retrieves the number of buffer rows spanned by the fold.\n\nReturns a {Number}. " - } - }, - "75": { - "21": { - "name": "isContainedByFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fold" - ], - "range": [ - [ - 75, - 21 - ], - [ - 78, - 1 - ] - ], - "doc": " Private: Identifies if a fold is nested within a fold.\n\nfold - A {Fold} to check\n\nReturns a {Boolean}. " - } - }, - "78": { - "23": { - "name": "updateDisplayBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 78, - 23 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 13 - ], - [ - 84, - 26 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 7 - }, - "src/git.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true, - "name": "join", - "exportsProperty": "join" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.1" - } - }, - "5": { - "11": { - "name": "GitUtils", - "type": "import", - "range": [ - [ - 5, - 11 - ], - [ - 5, - 29 - ] - ], - "bindingType": "variable", - "module": "git-utils" - } - }, - "7": { - "7": { - "name": "Task", - "type": "import", - "range": [ - [ - 7, - 7 - ], - [ - 7, - 22 - ] - ], - "bindingType": "variable", - "path": "./task" - } - }, - "40": { - "0": { - "type": "class", - "name": "Git", - "bindingType": "exports", - "classProperties": [ - [ - 52, - 9 - ], - [ - 59, - 11 - ] - ], - "prototypeProperties": [ - [ - 66, - 15 - ], - [ - 89, - 21 - ], - [ - 97, - 11 - ], - [ - 109, - 11 - ], - [ - 117, - 16 - ], - [ - 120, - 11 - ], - [ - 124, - 23 - ], - [ - 132, - 17 - ], - [ - 149, - 17 - ], - [ - 152, - 20 - ], - [ - 155, - 18 - ], - [ - 158, - 15 - ], - [ - 161, - 13 - ], - [ - 165, - 19 - ], - [ - 169, - 14 - ], - [ - 181, - 16 - ], - [ - 196, - 16 - ], - [ - 209, - 21 - ], - [ - 222, - 16 - ], - [ - 231, - 15 - ], - [ - 247, - 22 - ], - [ - 265, - 16 - ], - [ - 276, - 18 - ], - [ - 282, - 16 - ], - [ - 291, - 21 - ], - [ - 298, - 22 - ], - [ - 310, - 17 - ], - [ - 318, - 23 - ], - [ - 330, - 37 - ], - [ - 338, - 23 - ], - [ - 342, - 13 - ], - [ - 346, - 17 - ] - ], - "doc": " Public: Represents the underlying git operations performed by Atom.\n\nThis class shouldn't be instantiated directly but instead by accessing the\n`atom.project` global and calling `getRepo()`. Note that this will only be\navailable when the project is backed by a Git repository.\n\nThis class handles submodules automatically by taking a `path` argument to many\nof the methods. This `path` argument will determine which underlying\nrepository is used.\n\nFor a repository with submodules this would have the following outcome:\n\n```coffee\nrepo = atom.project.getRepo()\nrepo.getShortHead() # 'master'\nrepo.getShortHead('vendor/path/to/a/submodule') # 'dead1234'\n```\n\n## Example\n\n```coffeescript\ngit = atom.project.getRepo()\nconsole.log git.getOriginUrl()\n```\n\n## Requiring in packages\n\n```coffee\n {Git} = require 'atom'\n``` ", - "range": [ - [ - 40, - 0 - ], - [ - 364, - 55 - ] - ] - } - }, - "52": { - "9": { - "name": "open", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "path", - "options" - ], - "range": [ - [ - 52, - 9 - ], - [ - 59, - 1 - ] - ], - "doc": " Public: Creates a new Git instance.\n\npath - The path to the Git repository to open.\noptions - An object with the following keys (default: {}):\n :refreshOnWindowFocus - `true` to refresh the index and statuses when the\n window is focused.\n\nReturns a Git instance or null if the repository could not be opened. " - } - }, - "59": { - "11": { - "name": "exists", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 59, - 11 - ], - [ - 66, - 1 - ] - ], - "doc": "~Private~" - } - }, - "66": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "options" - ], - "range": [ - [ - 66, - 15 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "subscribeToBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer" - ], - "range": [ - [ - 89, - 21 - ], - [ - 97, - 1 - ] - ], - "doc": "Private: Subscribes to buffer events. " - } - }, - "97": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 97, - 11 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Destroy this `Git` object. This destroys any tasks and subscriptions\nand releases the underlying libgit2 repository handle. " - } - }, - "109": { - "11": { - "name": "getRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 109, - 11 - ], - [ - 117, - 1 - ] - ], - "doc": "Private: Returns the corresponding {Repository} " - } - }, - "117": { - "16": { - "name": "refreshIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 16 - ], - [ - 117, - 43 - ] - ], - "doc": " Private: Reread the index to update any values that have changed since the\nlast time the index was read. " - } - }, - "120": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 120, - 11 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Returns the {String} path of the repository. " - } - }, - "124": { - "23": { - "name": "getWorkingDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 23 - ], - [ - 124, - 57 - ] - ], - "doc": "Public: Returns the {String} working directory path of the repository. " - } - }, - "132": { - "17": { - "name": "getPathStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 132, - 17 - ], - [ - 149, - 1 - ] - ], - "doc": " Public: Get the status of a single path in the repository.\n\npath - A {String} repository-relative path.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " - } - }, - "149": { - "17": { - "name": "isPathIgnored", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 149, - 17 - ], - [ - 149, - 65 - ] - ], - "doc": " Public: Is the given path ignored?\n\nReturns a {Boolean}. " - } - }, - "152": { - "20": { - "name": "isStatusModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 152, - 20 - ], - [ - 152, - 66 - ] - ], - "doc": "Public: Returns true if the given status indicates modification. " - } - }, - "155": { - "18": { - "name": "isPathModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 155, - 18 - ], - [ - 155, - 66 - ] - ], - "doc": "Public: Returns true if the given path is modified. " - } - }, - "158": { - "15": { - "name": "isStatusNew", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 158, - 15 - ], - [ - 158, - 56 - ] - ], - "doc": "Public: Returns true if the given status indicates a new path. " - } - }, - "161": { - "13": { - "name": "isPathNew", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 161, - 13 - ], - [ - 161, - 56 - ] - ], - "doc": "Public: Returns true if the given path is new. " - } - }, - "165": { - "19": { - "name": "isProjectAtRoot", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 19 - ], - [ - 169, - 1 - ] - ], - "doc": " Public: Returns true if at the root, false if in a subfolder of the\nrepository. " - } - }, - "169": { - "14": { - "name": "relativize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 169, - 14 - ], - [ - 169, - 50 - ] - ], - "doc": "Public: Makes a path relative to the repository's working directory. " - } - }, - "181": { - "16": { - "name": "getShortHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 181, - 16 - ], - [ - 181, - 54 - ] - ], - "doc": " Public: Retrieves a shortened version of the HEAD reference value.\n\nThis removes the leading segments of `refs/heads`, `refs/tags`, or\n`refs/remotes`. It also shortens the SHA-1 of a detached `HEAD` to 7\ncharacters.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository contains submodules.\n\nReturns a {String}. " - } - }, - "196": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 196, - 16 - ], - [ - 209, - 1 - ] - ], - "doc": " Public: Restore the contents of a path in the working directory and index\nto the version at `HEAD`.\n\nThis is essentially the same as running:\n\n```\ngit reset HEAD -- \ngit checkout HEAD -- \n```\n\npath - The {String} path to checkout.\n\nReturns a {Boolean} that's true if the method was successful. " - } - }, - "209": { - "21": { - "name": "checkoutReference", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "create" - ], - "range": [ - [ - 209, - 21 - ], - [ - 222, - 1 - ] - ], - "doc": " Public: Checks out a branch in your repository.\n\nreference - The String reference to checkout\ncreate - A Boolean value which, if true creates the new reference if it\n doesn't exist.\n\nReturns a Boolean that's true if the method was successful. " - } - }, - "222": { - "16": { - "name": "getDiffStats", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 222, - 16 - ], - [ - 231, - 1 - ] - ], - "doc": " Public: Retrieves the number of lines added and removed to a path.\n\nThis compares the working directory contents of the path to the `HEAD`\nversion.\n\npath - The {String} path to check.\n\nReturns an {Object} with the following keys:\n :added - The {Number} of added lines.\n :deleted - The {Number} of deleted lines. " - } - }, - "231": { - "15": { - "name": "isSubmodule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 231, - 15 - ], - [ - 247, - 1 - ] - ], - "doc": " Public: Is the given path a submodule in the repository?\n\npath - The {String} path to check.\n\nReturns a {Boolean}. " - } - }, - "247": { - "22": { - "name": "getDirectoryStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "directoryPath" - ], - "range": [ - [ - 247, - 22 - ], - [ - 265, - 1 - ] - ], - "doc": " Public: Get the status of a directory in the repository's working directory.\n\npath - The {String} path to check.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " - } - }, - "265": { - "16": { - "name": "getLineDiffs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "text" - ], - "range": [ - [ - 265, - 16 - ], - [ - 276, - 1 - ] - ], - "doc": " Public: Retrieves the line diffs comparing the `HEAD` version of the given\npath and the given text.\n\npath - The {String} path relative to the repository.\ntext - The {String} to compare against the `HEAD` contents\n\nReturns an {Array} of hunk {Object}s with the following keys:\n :oldStart - The line {Number} of the old hunk.\n :newStart - The line {Number} of the new hunk.\n :oldLines - The {Number} of lines in the old hunk.\n :newLines - The {Number} of lines in the new hunk " - } - }, - "276": { - "18": { - "name": "getConfigValue", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "key", - "path" - ], - "range": [ - [ - 276, - 18 - ], - [ - 276, - 66 - ] - ], - "doc": " Public: Returns the git configuration value specified by the key.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " - } - }, - "282": { - "16": { - "name": "getOriginUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 282, - 16 - ], - [ - 282, - 67 - ] - ], - "doc": " Public: Returns the origin url of the repository.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " - } - }, - "291": { - "21": { - "name": "getUpstreamBranch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 291, - 21 - ], - [ - 291, - 64 - ] - ], - "doc": " Public: Returns the upstream branch for the current HEAD, or null if there\nis no upstream branch for the current HEAD.\n\npath - An optional {String} path in the repo to get this information for,\n only needed if the repository contains submodules.\n\nReturns a {String} branch name such as `refs/remotes/origin/master`. " - } - }, - "298": { - "22": { - "name": "getReferenceTarget", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "path" - ], - "range": [ - [ - 298, - 22 - ], - [ - 310, - 1 - ] - ], - "doc": " Public: Returns the current SHA for the given reference.\n\nreference - The {String} reference to get the target of.\npath - An optional {String} path in the repo to get the reference target\n for. Only needed if the repository contains submodules. " - } - }, - "310": { - "17": { - "name": "getReferences", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 310, - 17 - ], - [ - 310, - 56 - ] - ], - "doc": " Public: Gets all the local and remote references.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :heads - An {Array} of head reference names.\n :remotes - An {Array} of remote reference names.\n :tags - An {Array} of tag reference names. " - } - }, - "318": { - "23": { - "name": "getAheadBehindCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "path" - ], - "range": [ - [ - 318, - 23 - ], - [ - 330, - 1 - ] - ], - "doc": " Public: Returns the number of commits behind the current branch is from the\nits upstream remote branch.\n\nreference - The {String} branch reference name.\npath - The {String} path in the repository to get this information for,\n only needed if the repository contains submodules. " - } - }, - "330": { - "37": { - "name": "getCachedUpstreamAheadBehindCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 330, - 37 - ], - [ - 338, - 1 - ] - ], - "doc": " Public: Get the cached ahead/behind commit counts for the current branch's\nupstream branch.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :ahead - The {Number} of commits ahead.\n :behind - The {Number} of commits behind. " - } - }, - "338": { - "23": { - "name": "getCachedPathStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 338, - 23 - ], - [ - 342, - 1 - ] - ], - "doc": " Public: Get the cached status for the given path.\n\npath - A {String} path in the repository, relative or absolute.\n\nReturns a status {Number} or null if the path is not in the cache. " - } - }, - "342": { - "13": { - "name": "hasBranch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "branch" - ], - "range": [ - [ - 342, - 13 - ], - [ - 342, - 68 - ] - ], - "doc": "Public: Returns true if the given branch exists. " - } - }, - "346": { - "17": { - "name": "refreshStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 17 - ], - [ - 364, - 55 - ] - ], - "doc": " Private: Refreshes the current git status in an outside process and asynchronously\nupdates the relevant properties. " - } - } - }, - "exports": 40 - }, - "src/gutter-component.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "isEqual", - "exportsProperty": "isEqual" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 29 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "32": { - "type": "import", - "range": [ - [ - 3, - 32 - ], - [ - 3, - 45 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "multiplyString", - "exportsProperty": "multiplyString" - }, - "48": { - "type": "import", - "range": [ - [ - 3, - 48 - ], - [ - 3, - 54 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "toArray", - "exportsProperty": "toArray" - } - }, - "4": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 4, - 13 - ], - [ - 4, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "5": { - "18": { - "name": "SubscriberMixin", - "type": "import", - "range": [ - [ - 5, - 18 - ], - [ - 5, - 45 - ] - ], - "bindingType": "variable", - "path": "./subscriber-mixin" - } - }, - "7": { - "13": { - "name": "WrapperDiv", - "type": "function", - "range": [ - [ - 7, - 13 - ], - [ - 7, - 41 - ] - ] - } - }, - "10": { - "18": { - "name": "GutterComponent", - "type": "function", - "range": [ - [ - 10, - 18 - ], - [ - 227, - 39 - ] - ] - } - }, - "11": { - "15": { - "name": "'GutterComponent'", - "type": "primitive", - "range": [ - [ - 11, - 15 - ], - [ - 11, - 31 - ] - ] - } - }, - "12": { - "10": { - "type": "primitive", - "range": [ - [ - 12, - 10 - ], - [ - 12, - 26 - ] - ] - } - }, - "14": { - "23": { - "type": "primitive", - "range": [ - [ - 14, - 23 - ], - [ - 14, - 26 - ] - ] - } - }, - "15": { - "17": { - "type": "primitive", - "range": [ - [ - 15, - 17 - ], - [ - 15, - 20 - ] - ] - } - }, - "17": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 10 - ], - [ - 29, - 1 - ] - ], - "doc": null - } - }, - "29": { - "16": { - "name": "getTransform", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 16 - ], - [ - 37, - 1 - ] - ], - "doc": null - } - }, - "37": { - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 37, - 22 - ], - [ - 43, - 1 - ] - ], - "doc": null - } - }, - "43": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 21 - ], - [ - 50, - 1 - ] - ], - "doc": null - } - }, - "50": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 50, - 25 - ], - [ - 64, - 1 - ] - ], - "doc": null - } - }, - "64": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "oldProps" - ], - "range": [ - [ - 64, - 22 - ], - [ - 74, - 1 - ] - ], - "doc": null - } - }, - "74": { - "24": { - "name": "clearScreenRowCaches", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 24 - ], - [ - 80, - 1 - ] - ], - "doc": null - } - }, - "80": { - "25": { - "name": "appendDummyLineNumber", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 80, - 25 - ], - [ - 86, - 1 - ] - ], - "doc": null - } - }, - "86": { - "25": { - "name": "updateDummyLineNumber", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 25 - ], - [ - 89, - 1 - ] - ], - "doc": null - } - }, - "89": { - "21": { - "name": "updateLineNumbers", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 93, - 1 - ] - ], - "doc": null - } - }, - "93": { - "40": { - "name": "appendOrUpdateVisibleLineNumberNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 93, - 40 - ], - [ - 138, - 1 - ] - ], - "doc": null - } - }, - "138": { - "25": { - "name": "removeLineNumberNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberIdsToPreserve" - ], - "range": [ - [ - 138, - 25 - ], - [ - 150, - 1 - ] - ], - "doc": null - } - }, - "150": { - "23": { - "name": "buildLineNumberHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bufferRow", - "softWrapped", - "maxLineNumberDigits", - "screenRow" - ], - "range": [ - [ - 150, - 23 - ], - [ - 169, - 1 - ] - ], - "doc": null - } - }, - "169": { - "28": { - "name": "buildLineNumberInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bufferRow", - "softWrapped", - "maxLineNumberDigits" - ], - "range": [ - [ - 169, - 28 - ], - [ - 179, - 1 - ] - ], - "doc": null - } - }, - "179": { - "24": { - "name": "updateLineNumberNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberId", - "bufferRow", - "screenRow", - "softWrapped" - ], - "range": [ - [ - 179, - 24 - ], - [ - 208, - 1 - ] - ], - "doc": null - } - }, - "208": { - "17": { - "name": "hasDecoration", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "decorations", - "decoration" - ], - "range": [ - [ - 208, - 17 - ], - [ - 211, - 1 - ] - ], - "doc": null - } - }, - "211": { - "21": { - "name": "hasLineNumberNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberId" - ], - "range": [ - [ - 211, - 21 - ], - [ - 214, - 1 - ] - ], - "doc": null - } - }, - "214": { - "30": { - "name": "lineNumberNodeForScreenRow", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 214, - 30 - ], - [ - 217, - 1 - ] - ], - "doc": null - } - }, - "217": { - "11": { - "name": "onClick", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 217, - 11 - ], - [ - 227, - 39 - ] - ], - "doc": null - } - } - }, - "exports": 10 - }, - "src/gutter-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "10": { - "type": "import", - "range": [ - [ - 0, - 10 - ], - [ - 0, - 11 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - }, - "14": { - "type": "import", - "range": [ - [ - 0, - 14 - ], - [ - 0, - 16 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$$", - "exportsProperty": "$$$" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "8": { - "0": { - "type": "class", - "name": "GutterView", - "bindingType": "exports", - "classProperties": [ - [ - 9, - 12 - ] - ], - "prototypeProperties": [ - [ - 13, - 18 - ], - [ - 14, - 17 - ], - [ - 16, - 14 - ], - [ - 19, - 15 - ], - [ - 28, - 16 - ], - [ - 31, - 21 - ], - [ - 53, - 17 - ], - [ - 56, - 13 - ], - [ - 62, - 22 - ], - [ - 68, - 25 - ], - [ - 74, - 33 - ], - [ - 83, - 24 - ], - [ - 91, - 22 - ], - [ - 101, - 27 - ], - [ - 115, - 18 - ], - [ - 126, - 23 - ], - [ - 135, - 21 - ], - [ - 169, - 23 - ], - [ - 175, - 22 - ], - [ - 179, - 22 - ], - [ - 190, - 21 - ], - [ - 194, - 25 - ], - [ - 221, - 25 - ], - [ - 235, - 24 - ], - [ - 242, - 20 - ], - [ - 250, - 18 - ] - ], - "doc": " Private: Represents the portion of the {EditorView} containing row numbers.\n\nThe gutter also indicates if rows are folded. ", - "range": [ - [ - 8, - 0 - ], - [ - 274, - 29 - ] - ] - } - }, - "9": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 12 - ], - [ - 13, - 1 - ] - ] - } - }, - "13": { - "18": { - "name": "firstScreenRow", - "type": "primitive", - "range": [ - [ - 13, - 18 - ], - [ - 13, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "17": { - "name": "lastScreenRow", - "type": "primitive", - "range": [ - [ - 14, - 17 - ], - [ - 14, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 14 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 19, - 15 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 16 - ], - [ - 31, - 1 - ] - ], - "doc": "~Private~" - } - }, - "31": { - "21": { - "name": "handleMouseEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 31, - 21 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "17": { - "name": "getEditorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 17 - ], - [ - 56, - 1 - ] - ], - "doc": " Private: Retrieves the containing {EditorView}.\n\nReturns an {EditorView}. " - } - }, - "56": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 13 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "22": { - "name": "setShowLineNumbers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showLineNumbers" - ], - "range": [ - [ - 62, - 22 - ], - [ - 68, - 1 - ] - ], - "doc": " Private: Defines whether to show the gutter or not.\n\nshowLineNumbers - A {Boolean} which, if `false`, hides the gutter " - } - }, - "68": { - "25": { - "name": "getLineNumberElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 25 - ], - [ - 74, - 1 - ] - ], - "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " - } - }, - "74": { - "33": { - "name": "getLineNumberElementsForClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 74, - 33 - ], - [ - 83, - 1 - ] - ], - "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " - } - }, - "83": { - "24": { - "name": "getLineNumberElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 83, - 24 - ], - [ - 91, - 1 - ] - ], - "doc": " Private: Get a single line-number div.\n\n* bufferRow: 0 based line number\n\nReturns a list of {HTMLElement}s that correspond to the bufferRow. More than\none in the list indicates a wrapped line. " - } - }, - "91": { - "22": { - "name": "addClassToAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 91, - 22 - ], - [ - 101, - 1 - ] - ], - "doc": " Private: Add a class to all line-number divs.\n\n* klass: string class name\n\nReturns true if the class was added to any lines " - } - }, - "101": { - "27": { - "name": "removeClassFromAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 101, - 27 - ], - [ - 115, - 1 - ] - ], - "doc": " Private: Remove a class from all line-number divs.\n\n* klass: string class name. Can only be one class name. i.e. 'my-class'\n\nReturns true if the class was removed from any lines " - } - }, - "115": { - "18": { - "name": "addClassToLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "klass" - ], - "range": [ - [ - 115, - 18 - ], - [ - 126, - 1 - ] - ], - "doc": " Private: Add a class to a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was added to " - } - }, - "126": { - "23": { - "name": "removeClassFromLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "klass" - ], - "range": [ - [ - 126, - 23 - ], - [ - 135, - 1 - ] - ], - "doc": " Private: Remove a class from a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was removed from " - } - }, - "135": { - "21": { - "name": "updateLineNumbers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "changes", - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 135, - 21 - ], - [ - 169, - 1 - ] - ], - "doc": "~Private~" - } - }, - "169": { - "23": { - "name": "prependLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElements" - ], - "range": [ - [ - 169, - 23 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "22": { - "name": "appendLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElements" - ], - "range": [ - [ - 175, - 22 - ], - [ - 179, - 1 - ] - ], - "doc": "~Private~" - } - }, - "179": { - "22": { - "name": "removeLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "numberOfElements" - ], - "range": [ - [ - 179, - 22 - ], - [ - 190, - 1 - ] - ], - "doc": "~Private~" - } - }, - "190": { - "21": { - "name": "buildLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 190, - 21 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "25": { - "name": "buildLineElementsHtml", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 194, - 25 - ], - [ - 221, - 1 - ] - ], - "doc": "~Private~" - } - }, - "221": { - "25": { - "name": "updateFoldableClasses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "changes" - ], - "range": [ - [ - 221, - 25 - ], - [ - 235, - 1 - ] - ], - "doc": " Private: Called to update the 'foldable' class of line numbers when there's\na change to the display buffer that doesn't regenerate all the line numbers\nanyway. " - } - }, - "235": { - "24": { - "name": "removeLineHighlights", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 235, - 24 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "20": { - "name": "addLineHighlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "emptySelection" - ], - "range": [ - [ - 242, - 20 - ], - [ - 250, - 1 - ] - ], - "doc": "~Private~" - } - }, - "250": { - "18": { - "name": "highlightLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 250, - 18 - ], - [ - 274, - 29 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/highlight-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "21": { - "name": "HighlightComponent", - "type": "function", - "range": [ - [ - 5, - 21 - ], - [ - 89, - 110 - ] - ] - } - }, - "6": { - "15": { - "name": "'HighlightComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 34 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 20, - 1 - ] - ], - "doc": null - } - }, - "20": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 21 - ], - [ - 27, - 1 - ] - ], - "doc": null - } - }, - "27": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 24 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "23": { - "name": "startFlashAnimation", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 23 - ], - [ - 42, - 1 - ] - ], - "doc": null - } - }, - "42": { - "27": { - "name": "renderSingleLineRegions", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 27 - ], - [ - 53, - 1 - ] - ], - "doc": null - } - }, - "53": { - "26": { - "name": "renderMultiLineRegions", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 26 - ], - [ - 88, - 1 - ] - ], - "doc": null - } - }, - "88": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 88, - 25 - ], - [ - 89, - 110 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/highlights-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "3": { - "21": { - "name": "HighlightComponent", - "type": "import", - "range": [ - [ - 3, - 21 - ], - [ - 3, - 51 - ] - ], - "bindingType": "variable", - "path": "./highlight-component" - } - }, - "6": { - "22": { - "name": "HighlightsComponent", - "type": "function", - "range": [ - [ - 6, - 22 - ], - [ - 24, - 148 - ] - ] - } - }, - "7": { - "15": { - "name": "'HighlightsComponent'", - "type": "primitive", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 35 - ] - ] - } - }, - "9": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 10 - ], - [ - 13, - 1 - ] - ], - "doc": null - } - }, - "13": { - "20": { - "name": "renderHighlights", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 20 - ], - [ - 23, - 1 - ] - ], - "doc": null - } - }, - "23": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 23, - 25 - ], - [ - 24, - 148 - ] - ], - "doc": null - } - } - }, - "exports": 6 - }, - "src/input-component.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "last", - "exportsProperty": "last" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 13 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "isEqual", - "exportsProperty": "isEqual" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "input", - "exportsProperty": "input" - } - }, - "5": { - "17": { - "name": "InputComponent", - "type": "function", - "range": [ - [ - 5, - 17 - ], - [ - 43, - 25 - ] - ] - } - }, - "6": { - "15": { - "name": "'InputComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 30 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 13, - 1 - ] - ], - "doc": null - } - }, - "13": { - "19": { - "name": "getInitialState", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 19 - ], - [ - 16, - 1 - ] - ], - "doc": null - } - }, - "16": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 21 - ], - [ - 21, - 1 - ] - ], - "doc": null - } - }, - "21": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 22 - ], - [ - 27, - 1 - ] - ], - "doc": null - } - }, - "27": { - "27": { - "name": "isPressAndHoldCharacter", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "char" - ], - "range": [ - [ - 27, - 27 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 30, - 25 - ], - [ - 33, - 1 - ] - ], - "doc": null - } - }, - "33": { - "11": { - "name": "onPaste", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 33, - 11 - ], - [ - 36, - 1 - ] - ], - "doc": null - } - }, - "36": { - "11": { - "name": "onFocus", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 36, - 11 - ], - [ - 39, - 1 - ] - ], - "doc": null - } - }, - "39": { - "10": { - "name": "onBlur", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 39, - 10 - ], - [ - 42, - 1 - ] - ], - "doc": null - } - }, - "42": { - "9": { - "name": "focus", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 9 - ], - [ - 43, - 25 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/keymap-extensions.coffee": { - "objects": { - "0": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 0, - 5 - ], - [ - 0, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.1" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "16": { - "name": "KeymapManager", - "type": "import", - "range": [ - [ - 2, - 16 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "atom-keymap" - } - }, - "3": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 6 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "jQuery", - "exportsProperty": "jQuery" - } - }, - "6": { - "36": { - "name": "KeymapManager.prototype.loadBundledKeymaps", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 36 - ], - [ - 9, - 0 - ] - ], - "doc": null - } - }, - "10": { - "35": { - "name": "KeymapManager.prototype.getUserKeymapPath", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 35 - ], - [ - 15, - 0 - ] - ], - "doc": null - } - }, - "16": { - "32": { - "name": "KeymapManager.prototype.loadUserKeymap", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 32 - ], - [ - 22, - 74 - ] - ], - "doc": null - } - }, - "23": { - "32": { - "name": "jQuery.Event.prototype.abortKeyBinding", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 23, - 32 - ], - [ - 25, - 0 - ] - ], - "doc": null - } - } - }, - "exports": 26 - }, - "src/language-mode.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 10 - ] - ], - "bindingType": "variable", - "module": "oniguruma", - "name": "OnigRegExp", - "exportsProperty": "OnigRegExp" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "6": { - "0": { - "type": "class", - "name": "LanguageMode", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 15 - ], - [ - 16, - 11 - ], - [ - 19, - 33 - ], - [ - 30, - 35 - ], - [ - 100, - 11 - ], - [ - 107, - 13 - ], - [ - 114, - 24 - ], - [ - 128, - 17 - ], - [ - 141, - 30 - ], - [ - 146, - 33 - ], - [ - 161, - 34 - ], - [ - 181, - 25 - ], - [ - 186, - 29 - ], - [ - 194, - 32 - ], - [ - 201, - 30 - ], - [ - 208, - 35 - ], - [ - 241, - 31 - ], - [ - 265, - 29 - ], - [ - 274, - 24 - ], - [ - 281, - 23 - ], - [ - 288, - 34 - ], - [ - 308, - 23 - ], - [ - 312, - 32 - ], - [ - 315, - 32 - ], - [ - 318, - 25 - ] - ], - "doc": "~Private~", - "range": [ - [ - 6, - 0 - ], - [ - 319, - 57 - ] - ] - } - }, - "13": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 13, - 15 - ], - [ - 16, - 1 - ] - ], - "doc": " Private: Sets up a `LanguageMode` for the given {Editor}.\n\neditor - The {Editor} to associate with " - } - }, - "16": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 11 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "33": { - "name": "toggleLineCommentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 19, - 33 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "35": { - "name": "toggleLineCommentsForBufferRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 30, - 35 - ], - [ - 100, - 1 - ] - ], - "doc": " Private: Wraps the lines between two rows in comments.\n\nIf the language doesn't have comment, nothing happens.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns an {Array} of the commented {Ranges}. " - } - }, - "100": { - "11": { - "name": "foldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 100, - 11 - ], - [ - 107, - 1 - ] - ], - "doc": "Private: Folds all the foldable lines in the buffer. " - } - }, - "107": { - "13": { - "name": "unfoldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 13 - ], - [ - 114, - 1 - ] - ], - "doc": "Private: Unfolds all the foldable lines in the buffer. " - } - }, - "114": { - "24": { - "name": "foldAllAtIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "indentLevel" - ], - "range": [ - [ - 114, - 24 - ], - [ - 128, - 1 - ] - ], - "doc": " Private: Fold all comment and code blocks at a given indentLevel\n\nindentLevel - A {Number} indicating indentLevel; 0 based. " - } - }, - "128": { - "17": { - "name": "foldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 128, - 17 - ], - [ - 141, - 1 - ] - ], - "doc": " Private: Given a buffer row, creates a fold at it.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns the new {Fold}. " - } - }, - "141": { - "30": { - "name": "rowRangeForFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 141, - 30 - ], - [ - 146, - 1 - ] - ], - "doc": " Private: Find the row range for a fold at a given bufferRow. Will handle comments\nand code.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of the [startRow, endRow]. Returns null if no range. " - } - }, - "146": { - "33": { - "name": "rowRangeForCommentAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 146, - 33 - ], - [ - 161, - 1 - ] - ], - "doc": "~Private~" - } - }, - "161": { - "34": { - "name": "rowRangeForCodeFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 161, - 34 - ], - [ - 181, - 1 - ] - ], - "doc": "~Private~" - } - }, - "181": { - "25": { - "name": "isFoldableAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 181, - 25 - ], - [ - 186, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether the given buffer row starts a\nfoldable row range. Rows that are \"foldable\" have a fold icon next to their\nicon in the gutter in the default configuration. " - } - }, - "186": { - "29": { - "name": "isFoldableCodeAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 186, - 29 - ], - [ - 194, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na a foldable row range due to the code's indentation patterns. " - } - }, - "194": { - "32": { - "name": "isFoldableCommentAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 194, - 32 - ], - [ - 201, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na foldable row range due to being the start of a multi-line comment. " - } - }, - "201": { - "30": { - "name": "isLineCommentedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 201, - 30 - ], - [ - 208, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the line at the given buffer\nrow is a comment. " - } - }, - "208": { - "35": { - "name": "rowRangeForParagraphAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 208, - 35 - ], - [ - 241, - 1 - ] - ], - "doc": " Private: Find a row range for a 'paragraph' around specified bufferRow.\nRight now, a paragraph is a block of text bounded by and empty line or a\nblock of text that is not the same type (comments next to source code). " - } - }, - "241": { - "31": { - "name": "suggestedIndentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 241, - 31 - ], - [ - 265, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns a suggested indentation level.\n\nThe indentation level provided is based on the current {LanguageMode}.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Number}. " - } - }, - "265": { - "29": { - "name": "minIndentLevelForRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 265, - 29 - ], - [ - 274, - 1 - ] - ], - "doc": " Private: Calculate a minimum indent level for a range of lines excluding empty lines.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns a {Number} of the indent level of the block of lines. " - } - }, - "274": { - "24": { - "name": "autoIndentBufferRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 274, - 24 - ], - [ - 281, - 1 - ] - ], - "doc": " Private: Indents all the rows between two buffer row numbers.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at " - } - }, - "281": { - "23": { - "name": "autoIndentBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "options" - ], - "range": [ - [ - 281, - 23 - ], - [ - 288, - 1 - ] - ], - "doc": " Private: Given a buffer row, this indents it.\n\nbufferRow - The row {Number}.\noptions - An options {Object} to pass through to {Editor::setIndentationForBufferRow}. " - } - }, - "288": { - "34": { - "name": "autoDecreaseIndentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 288, - 34 - ], - [ - 308, - 1 - ] - ], - "doc": " Private: Given a buffer row, this decreases the indentation.\n\nbufferRow - The row {Number} " - } - }, - "308": { - "23": { - "name": "getRegexForProperty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "property" - ], - "range": [ - [ - 308, - 23 - ], - [ - 312, - 1 - ] - ], - "doc": "~Private~" - } - }, - "312": { - "32": { - "name": "increaseIndentRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 312, - 32 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "32": { - "name": "decreaseIndentRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 315, - 32 - ], - [ - 318, - 1 - ] - ], - "doc": "~Private~" - } - }, - "318": { - "25": { - "name": "foldEndRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 318, - 25 - ], - [ - 319, - 57 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 6 - }, - "src/less-compile-cache.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.1" - } - }, - "2": { - "12": { - "name": "LessCache", - "type": "import", - "range": [ - [ - 2, - 12 - ], - [ - 2, - 31 - ] - ], - "bindingType": "variable", - "module": "less-cache" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "7": { - "0": { - "type": "class", - "name": "LessCompileCache", - "bindingType": "exports", - "classProperties": [ - [ - 10, - 13 - ] - ], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 29, - 18 - ], - [ - 32, - 8 - ], - [ - 35, - 14 - ], - [ - 38, - 11 - ] - ], - "doc": "Private: {LessCache} wrapper used by {ThemeManager} to read stylesheets. ", - "range": [ - [ - 7, - 0 - ], - [ - 38, - 28 - ] - ] - } - }, - "10": { - "13": { - "name": "cacheDir", - "type": "function", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 71 - ] - ], - "bindingType": "classProperty" - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 29, - 1 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "18": { - "name": "setImportPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "importPaths" - ], - "range": [ - [ - 29, - 18 - ], - [ - 32, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "8": { - "name": "read", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 32, - 8 - ], - [ - 35, - 1 - ] - ], - "doc": "~Private~" - } - }, - "35": { - "14": { - "name": "cssForFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "lessContent" - ], - "range": [ - [ - 35, - 14 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 38, - 11 - ], - [ - 38, - 27 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 7 - }, - "src/lines-component.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - }, - "6": { - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 9 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "span", - "exportsProperty": "span" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "debounce", - "exportsProperty": "debounce" - }, - "11": { - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 17 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "isEqual", - "exportsProperty": "isEqual" - }, - "20": { - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 39 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "42": { - "type": "import", - "range": [ - [ - 3, - 42 - ], - [ - 3, - 55 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "multiplyString", - "exportsProperty": "multiplyString" - }, - "58": { - "type": "import", - "range": [ - [ - 3, - 58 - ], - [ - 3, - 64 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "toArray", - "exportsProperty": "toArray" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 2 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "$$", - "exportsProperty": "$$" - } - }, - "6": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 6, - 13 - ], - [ - 6, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "7": { - "19": { - "name": "CursorsComponent", - "type": "import", - "range": [ - [ - 7, - 19 - ], - [ - 7, - 47 - ] - ], - "bindingType": "variable", - "path": "./cursors-component" - } - }, - "8": { - "22": { - "name": "HighlightsComponent", - "type": "import", - "range": [ - [ - 8, - 22 - ], - [ - 8, - 53 - ] - ], - "bindingType": "variable", - "path": "./highlights-component" - } - }, - "10": { - "16": { - "type": "primitive", - "range": [ - [ - 10, - 16 - ], - [ - 10, - 111 - ] - ] - } - }, - "11": { - "15": { - "type": "primitive", - "range": [ - [ - 11, - 15 - ], - [ - 11, - 55 - ] - ] - }, - "28": { - "name": "acceptNode", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 11, - 28 - ], - [ - 11, - 54 - ] - ], - "doc": null - } - }, - "12": { - "13": { - "name": "WrapperDiv", - "type": "function", - "range": [ - [ - 12, - 13 - ], - [ - 12, - 41 - ] - ] - } - }, - "15": { - "17": { - "name": "LinesComponent", - "type": "function", - "range": [ - [ - 15, - 17 - ], - [ - 348, - 41 - ] - ] - } - }, - "16": { - "15": { - "name": "'LinesComponent'", - "type": "primitive", - "range": [ - [ - 16, - 15 - ], - [ - 16, - 30 - ] - ] - } - }, - "18": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 18, - 10 - ], - [ - 44, - 1 - ] - ], - "doc": null - } - }, - "44": { - "16": { - "name": "getTransform", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 16 - ], - [ - 52, - 1 - ] - ], - "doc": null - } - }, - "52": { - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 22 - ], - [ - 59, - 1 - ] - ], - "doc": null - } - }, - "59": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 59, - 25 - ], - [ - 79, - 1 - ] - ], - "doc": null - } - }, - "79": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "prevProps" - ], - "range": [ - [ - 79, - 22 - ], - [ - 88, - 1 - ] - ], - "doc": null - } - }, - "88": { - "24": { - "name": "clearScreenRowCaches", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 24 - ], - [ - 92, - 1 - ] - ], - "doc": null - } - }, - "92": { - "15": { - "name": "updateLines", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "updateWidth" - ], - "range": [ - [ - 92, - 15 - ], - [ - 100, - 1 - ] - ], - "doc": null - } - }, - "100": { - "19": { - "name": "removeLineNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "visibleLines" - ], - "range": [ - [ - 100, - 19 - ], - [ - 114, - 1 - ] - ], - "doc": null - } - }, - "114": { - "34": { - "name": "appendOrUpdateVisibleLineNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "visibleLines", - "startRow", - "updateWidth" - ], - "range": [ - [ - 114, - 34 - ], - [ - 145, - 1 - ] - ], - "doc": null - } - }, - "145": { - "15": { - "name": "hasLineNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineId" - ], - "range": [ - [ - 145, - 15 - ], - [ - 148, - 1 - ] - ], - "doc": null - } - }, - "148": { - "17": { - "name": "buildLineHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "screenRow" - ], - "range": [ - [ - 148, - 17 - ], - [ - 171, - 1 - ] - ], - "doc": null - } - }, - "171": { - "27": { - "name": "buildEmptyLineInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 171, - 27 - ], - [ - 198, - 1 - ] - ], - "doc": null - } - }, - "198": { - "22": { - "name": "buildLineInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 198, - 22 - ], - [ - 215, - 1 - ] - ], - "doc": null - } - }, - "215": { - "22": { - "name": "buildEndOfLineHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "invisibles" - ], - "range": [ - [ - 215, - 22 - ], - [ - 228, - 1 - ] - ], - "doc": null - } - }, - "228": { - "20": { - "name": "updateScopeStack", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 228, - 20 - ], - [ - 245, - 1 - ] - ], - "doc": null - } - }, - "245": { - "12": { - "name": "popScope", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack" - ], - "range": [ - [ - 245, - 12 - ], - [ - 249, - 1 - ] - ], - "doc": null - } - }, - "249": { - "13": { - "name": "pushScope", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack", - "scope" - ], - "range": [ - [ - 249, - 13 - ], - [ - 253, - 1 - ] - ], - "doc": null - } - }, - "253": { - "18": { - "name": "updateLineNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "screenRow", - "updateWidth" - ], - "range": [ - [ - 253, - 18 - ], - [ - 278, - 1 - ] - ], - "doc": null - } - }, - "278": { - "17": { - "name": "hasDecoration", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "decorations", - "decoration" - ], - "range": [ - [ - 278, - 17 - ], - [ - 281, - 1 - ] - ], - "doc": null - } - }, - "281": { - "24": { - "name": "lineNodeForScreenRow", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 281, - 24 - ], - [ - 284, - 1 - ] - ], - "doc": null - } - }, - "284": { - "40": { - "name": "measureLineHeightAndDefaultCharWidth", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 40 - ], - [ - 295, - 1 - ] - ], - "doc": null - } - }, - "295": { - "28": { - "name": "remeasureCharacterWidths", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 295, - 28 - ], - [ - 299, - 1 - ] - ], - "doc": null - } - }, - "299": { - "31": { - "name": "measureCharactersInNewLines", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 299, - 31 - ], - [ - 311, - 1 - ] - ], - "doc": null - } - }, - "311": { - "27": { - "name": "measureCharactersInLine", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "tokenizedLine", - "lineNode" - ], - "range": [ - [ - 311, - 27 - ], - [ - 346, - 1 - ] - ], - "doc": null - } - }, - "346": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 25 - ], - [ - 348, - 41 - ] - ], - "doc": null - } - } - }, - "exports": 15 - }, - "src/menu-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "3": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 3, - 6 - ], - [ - 3, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.1" - } - }, - "12": { - "0": { - "type": "class", - "name": "MenuManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 15 - ], - [ - 37, - 7 - ], - [ - 47, - 19 - ], - [ - 79, - 10 - ], - [ - 88, - 21 - ], - [ - 96, - 9 - ], - [ - 107, - 27 - ], - [ - 117, - 24 - ], - [ - 121, - 18 - ], - [ - 130, - 21 - ] - ], - "doc": " Public: Provides a registry for menu items that you'd like to appear in the\napplication menu.\n\nAn instance of this class is always available as the `atom.menu` global. ", - "range": [ - [ - 12, - 0 - ], - [ - 131, - 49 - ] - ] - } - }, - "13": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 13, - 15 - ], - [ - 37, - 1 - ] - ] - } - }, - "37": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 37, - 7 - ], - [ - 47, - 1 - ] - ], - "doc": " Public: Adds the given item definition to the existing template.\n\n## Example\n```coffee\n atom.menu.add [\n {\n label: 'Hello'\n submenu : [{label: 'World!', command: 'hello:world'}]\n }\n ]\n```\n\nitems - An {Array} of menu item {Object}s containing the keys:\n :label - The {String} menu label.\n :submenu - An optional {Array} of sub menu items.\n :command - An optional {String} command to trigger when the item is\n clicked.\n\nReturns nothing. " - } - }, - "47": { - "19": { - "name": "includeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 47, - 19 - ], - [ - 79, - 1 - ] - ], - "doc": " Private: Should the binding for the given selector be included in the menu\ncommands.\n\nselector - A {String} selector to check.\n\nReturns true to include the selector, false otherwise. " - } - }, - "79": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 10 - ], - [ - 88, - 1 - ] - ], - "doc": "Public: Refreshes the currently visible menu. " - } - }, - "88": { - "21": { - "name": "loadPlatformItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 21 - ], - [ - 96, - 1 - ] - ], - "doc": "~Private~" - } - }, - "96": { - "9": { - "name": "merge", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "menu", - "item" - ], - "range": [ - [ - 96, - 9 - ], - [ - 107, - 1 - ] - ], - "doc": " Private: Merges an item in a submenu aware way such that new items are always\nappended to the bottom of existing menus where possible. " - } - }, - "107": { - "27": { - "name": "filterMultipleKeystroke", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystrokesByCommand" - ], - "range": [ - [ - 107, - 27 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: OSX can't handle displaying accelerators for multiple keystrokes.\nIf they are sent across, it will stop processing accelerators for the rest\nof the menu items. " - } - }, - "117": { - "24": { - "name": "sendToBrowserProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 117, - 24 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "18": { - "name": "normalizeLabel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "label" - ], - "range": [ - [ - 121, - 18 - ], - [ - 130, - 1 - ] - ], - "doc": "~Private~" - } - }, - "130": { - "21": { - "name": "classesForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 130, - 21 - ], - [ - 131, - 49 - ] - ], - "doc": "Private: Get an {Array} of {String} classes for the given element. " - } - } - }, - "exports": 12 - }, - "src/package-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.1" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q@~1.0.1" - } - }, - "7": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 7, - 10 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "8": { - "15": { - "name": "ThemePackage", - "type": "import", - "range": [ - [ - 8, - 15 - ], - [ - 8, - 39 - ] - ], - "bindingType": "variable", - "path": "./theme-package" - } - }, - "26": { - "0": { - "type": "class", - "name": "PackageManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 44, - 14 - ], - [ - 52, - 22 - ], - [ - 55, - 19 - ], - [ - 58, - 19 - ], - [ - 62, - 17 - ], - [ - 68, - 18 - ], - [ - 74, - 12 - ], - [ - 82, - 28 - ], - [ - 85, - 20 - ], - [ - 90, - 19 - ], - [ - 100, - 22 - ], - [ - 105, - 21 - ], - [ - 113, - 21 - ], - [ - 117, - 20 - ], - [ - 121, - 19 - ], - [ - 124, - 29 - ], - [ - 128, - 27 - ], - [ - 137, - 16 - ], - [ - 148, - 15 - ], - [ - 168, - 18 - ], - [ - 172, - 17 - ], - [ - 182, - 20 - ], - [ - 186, - 19 - ], - [ - 190, - 21 - ], - [ - 196, - 29 - ], - [ - 200, - 22 - ], - [ - 210, - 21 - ], - [ - 213, - 17 - ], - [ - 218, - 20 - ], - [ - 221, - 26 - ], - [ - 231, - 28 - ], - [ - 246, - 28 - ], - [ - 250, - 31 - ] - ], - "doc": " Public: Package manager for coordinating the lifecycle of Atom packages.\n\nAn instance of this class is always available as the `atom.packages` global.\n\nPackages can be loaded, activated, and deactivated, and unloaded:\n * Loading a package reads and parses the package's metadata and resources\n such as keymaps, menus, stylesheets, etc.\n * Activating a package registers the loaded resources and calls `activate()`\n on the package's main module.\n * Deactivating a package unregisters the package's resources and calls\n `deactivate()` on the package's main module.\n * Unloading a package removes it completely from the package manager.\n\nPackages can also be enabled/disabled via the `core.disabledPackages` config\nsettings and also by calling `enablePackage()/disablePackage()`. ", - "range": [ - [ - 26, - 0 - ], - [ - 256, - 12 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 29, - 15 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "14": { - "name": "getApmPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 14 - ], - [ - 52, - 1 - ] - ], - "doc": "Public: Get the path to the apm command " - } - }, - "52": { - "22": { - "name": "getPackageDirPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 22 - ], - [ - 55, - 1 - ] - ], - "doc": " Public: Get the paths being used to look for packages.\n\nReturns an Array of String directory paths. " - } - }, - "55": { - "19": { - "name": "getPackageState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 55, - 19 - ], - [ - 58, - 1 - ] - ], - "doc": "~Private~" - } - }, - "58": { - "19": { - "name": "setPackageState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "state" - ], - "range": [ - [ - 58, - 19 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "17": { - "name": "enablePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 62, - 17 - ], - [ - 68, - 1 - ] - ], - "doc": "Public: Enable the package with the given name " - } - }, - "68": { - "18": { - "name": "disablePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 68, - 18 - ], - [ - 74, - 1 - ] - ], - "doc": "Public: Disable the package with the given name " - } - }, - "74": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 12 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Activate all the packages that should be activated. " - } - }, - "82": { - "28": { - "name": "registerPackageActivator", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "activator", - "types" - ], - "range": [ - [ - 82, - 28 - ], - [ - 85, - 1 - ] - ], - "doc": " Private: another type of package manager can handle other package types.\nSee ThemeManager " - } - }, - "85": { - "20": { - "name": "activatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "packages" - ], - "range": [ - [ - 85, - 20 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "19": { - "name": "activatePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 90, - 19 - ], - [ - 100, - 1 - ] - ], - "doc": "Private: Activate a single package by name " - } - }, - "100": { - "22": { - "name": "deactivatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 100, - 22 - ], - [ - 105, - 1 - ] - ], - "doc": "Private: Deactivate all packages " - } - }, - "105": { - "21": { - "name": "deactivatePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 105, - 21 - ], - [ - 113, - 1 - ] - ], - "doc": "Private: Deactivate the package with the given name " - } - }, - "113": { - "21": { - "name": "getActivePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 113, - 21 - ], - [ - 117, - 1 - ] - ], - "doc": "Public: Get an array of all the active packages " - } - }, - "117": { - "20": { - "name": "getActivePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 117, - 20 - ], - [ - 121, - 1 - ] - ], - "doc": "Public: Get the active package with the given name " - } - }, - "121": { - "19": { - "name": "isPackageActive", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 121, - 19 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Is the package with the given name active? " - } - }, - "124": { - "29": { - "name": "unobserveDisabledPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 29 - ], - [ - 128, - 1 - ] - ], - "doc": "~Private~" - } - }, - "128": { - "27": { - "name": "observeDisabledPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 128, - 27 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "16": { - "name": "loadPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 16 - ], - [ - 148, - 1 - ] - ], - "doc": "~Private~" - } - }, - "148": { - "15": { - "name": "loadPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "nameOrPath" - ], - "range": [ - [ - 148, - 15 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "18": { - "name": "unloadPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 18 - ], - [ - 172, - 1 - ] - ], - "doc": "~Private~" - } - }, - "172": { - "17": { - "name": "unloadPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 172, - 17 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "20": { - "name": "getLoadedPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 182, - 20 - ], - [ - 186, - 1 - ] - ], - "doc": "Public: Get the loaded package with the given name " - } - }, - "186": { - "19": { - "name": "isPackageLoaded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 186, - 19 - ], - [ - 190, - 1 - ] - ], - "doc": "Public: Is the package with the given name loaded? " - } - }, - "190": { - "21": { - "name": "getLoadedPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 21 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded packages " - } - }, - "196": { - "29": { - "name": "getLoadedPackagesForTypes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "types" - ], - "range": [ - [ - 196, - 29 - ], - [ - 200, - 1 - ] - ], - "doc": " Private: Get packages for a certain package type\n\ntypes - an {Array} of {String}s like ['atom', 'textmate']. " - } - }, - "200": { - "22": { - "name": "resolvePackagePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 200, - 22 - ], - [ - 210, - 1 - ] - ], - "doc": "Public: Resolve the given package name to a path on disk. " - } - }, - "210": { - "21": { - "name": "isPackageDisabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 210, - 21 - ], - [ - 213, - 1 - ] - ], - "doc": "Public: Is the package with the given name disabled? " - } - }, - "213": { - "17": { - "name": "hasAtomEngine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "packagePath" - ], - "range": [ - [ - 213, - 17 - ], - [ - 218, - 1 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "20": { - "name": "isBundledPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 218, - 20 - ], - [ - 221, - 1 - ] - ], - "doc": "Public: Is the package with the given name bundled with Atom? " - } - }, - "221": { - "26": { - "name": "getPackageDependencies", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 221, - 26 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "28": { - "name": "getAvailablePackagePaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 231, - 28 - ], - [ - 246, - 1 - ] - ], - "doc": "Public: Get an array of all the available package paths. " - } - }, - "246": { - "28": { - "name": "getAvailablePackageNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 246, - 28 - ], - [ - 250, - 1 - ] - ], - "doc": "Public: Get an array of all the available package names. " - } - }, - "250": { - "31": { - "name": "getAvailablePackageMetadata", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 250, - 31 - ], - [ - 256, - 12 - ] - ], - "doc": "Public: Get an array of all the available package metadata. " - } - } - }, - "exports": 26 - }, - "src/package.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "3": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 3, - 8 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "async@~0.2.10" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.1" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "7": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 14 - ] - ], - "bindingType": "variable", - "module": "q@~1.0.1" - } - }, - "9": { - "4": { - "type": "primitive", - "range": [ - [ - 9, - 4 - ], - [ - 9, - 7 - ] - ] - } - }, - "10": { - "19": { - "name": "ScopedProperties", - "type": "import", - "range": [ - [ - 10, - 19 - ], - [ - 10, - 47 - ] - ], - "bindingType": "variable", - "path": "./scoped-properties" - } - }, - "15": { - "0": { - "type": "class", - "name": "Package", - "bindingType": "exports", - "classProperties": [ - [ - 18, - 19 - ], - [ - 20, - 17 - ] - ], - "prototypeProperties": [ - [ - 30, - 11 - ], - [ - 31, - 9 - ], - [ - 32, - 15 - ], - [ - 33, - 12 - ], - [ - 34, - 20 - ], - [ - 35, - 18 - ], - [ - 36, - 26 - ], - [ - 37, - 14 - ], - [ - 39, - 15 - ], - [ - 44, - 10 - ], - [ - 47, - 11 - ], - [ - 50, - 11 - ], - [ - 53, - 11 - ], - [ - 59, - 11 - ], - [ - 61, - 21 - ], - [ - 63, - 8 - ], - [ - 76, - 9 - ], - [ - 83, - 12 - ], - [ - 97, - 15 - ], - [ - 109, - 18 - ], - [ - 118, - 23 - ], - [ - 126, - 21 - ], - [ - 138, - 15 - ], - [ - 141, - 13 - ], - [ - 144, - 18 - ], - [ - 151, - 16 - ], - [ - 158, - 19 - ], - [ - 162, - 22 - ], - [ - 165, - 22 - ], - [ - 177, - 20 - ], - [ - 194, - 16 - ], - [ - 213, - 24 - ], - [ - 231, - 13 - ], - [ - 238, - 14 - ], - [ - 247, - 20 - ], - [ - 251, - 23 - ], - [ - 260, - 21 - ], - [ - 266, - 20 - ], - [ - 269, - 21 - ], - [ - 275, - 21 - ], - [ - 285, - 23 - ], - [ - 297, - 31 - ], - [ - 306, - 25 - ], - [ - 315, - 35 - ], - [ - 325, - 36 - ], - [ - 339, - 36 - ], - [ - 345, - 18 - ], - [ - 353, - 34 - ], - [ - 371, - 32 - ], - [ - 401, - 16 - ] - ], - "doc": " Private: Loads and activates a package's main module and resources such as\nstylesheets, keymaps, grammar, editor properties, and menus. ", - "range": [ - [ - 15, - 0 - ], - [ - 411, - 24 - ] - ] - } - }, - "18": { - "19": { - "name": "stylesheetsDir", - "type": "primitive", - "range": [ - [ - 18, - 19 - ], - [ - 18, - 31 - ] - ], - "bindingType": "classProperty" - } - }, - "20": { - "17": { - "name": "loadMetadata", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "packagePath", - "ignoreErrors" - ], - "range": [ - [ - 20, - 17 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "keymaps", - "type": "primitive", - "range": [ - [ - 30, - 11 - ], - [ - 30, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "31": { - "9": { - "name": "menus", - "type": "primitive", - "range": [ - [ - 31, - 9 - ], - [ - 31, - 12 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "32": { - "15": { - "name": "stylesheets", - "type": "primitive", - "range": [ - [ - 32, - 15 - ], - [ - 32, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "33": { - "12": { - "name": "grammars", - "type": "primitive", - "range": [ - [ - 33, - 12 - ], - [ - 33, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "34": { - "20": { - "name": "scopedProperties", - "type": "primitive", - "range": [ - [ - 34, - 20 - ], - [ - 34, - 23 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "35": { - "18": { - "name": "mainModulePath", - "type": "primitive", - "range": [ - [ - 35, - 18 - ], - [ - 35, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "36": { - "26": { - "name": "resolvedMainModulePath", - "type": "primitive", - "range": [ - [ - 36, - 26 - ], - [ - 36, - 30 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "37": { - "14": { - "name": "mainModule", - "type": "primitive", - "range": [ - [ - 37, - 14 - ], - [ - 37, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "39": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 39, - 15 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "10": { - "name": "enable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 10 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "11": { - "name": "disable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 47, - 11 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "11": { - "name": "isTheme", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 11 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "11": { - "name": "measure", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "key", - "fn" - ], - "range": [ - [ - 53, - 11 - ], - [ - 59, - 1 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "11": { - "name": "getType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 11 - ], - [ - 59, - 19 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "21": { - "name": "getStylesheetType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 21 - ], - [ - 61, - 32 - ] - ], - "doc": "~Private~" - } - }, - "63": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 63, - 8 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "9": { - "name": "reset", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 9 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 83, - 12 - ], - [ - 97, - 1 - ] - ], - "doc": "~Private~" - } - }, - "97": { - "15": { - "name": "activateNow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 97, - 15 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "18": { - "name": "activateConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 18 - ], - [ - 118, - 1 - ] - ], - "doc": "~Private~" - } - }, - "118": { - "23": { - "name": "activateStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 118, - 23 - ], - [ - 126, - 1 - ] - ], - "doc": "~Private~" - } - }, - "126": { - "21": { - "name": "activateResources", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 21 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "15": { - "name": "loadKeymaps", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 15 - ], - [ - 141, - 1 - ] - ], - "doc": "~Private~" - } - }, - "141": { - "13": { - "name": "loadMenus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 13 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "18": { - "name": "getKeymapPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 144, - 18 - ], - [ - 151, - 1 - ] - ], - "doc": "~Private~" - } - }, - "151": { - "16": { - "name": "getMenuPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 151, - 16 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "19": { - "name": "loadStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 19 - ], - [ - 162, - 1 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "22": { - "name": "getStylesheetsPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 22 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "22": { - "name": "getStylesheetPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 22 - ], - [ - 177, - 1 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "20": { - "name": "loadGrammarsSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 20 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "16": { - "name": "loadGrammars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 194, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "24": { - "name": "loadScopedProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 24 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "13": { - "name": "serialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 231, - 13 - ], - [ - 238, - 1 - ] - ], - "doc": "~Private~" - } - }, - "238": { - "14": { - "name": "deactivate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 238, - 14 - ], - [ - 247, - 1 - ] - ], - "doc": "~Private~" - } - }, - "247": { - "20": { - "name": "deactivateConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 247, - 20 - ], - [ - 251, - 1 - ] - ], - "doc": "~Private~" - } - }, - "251": { - "23": { - "name": "deactivateResources", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 251, - 23 - ], - [ - 260, - 1 - ] - ], - "doc": "~Private~" - } - }, - "260": { - "21": { - "name": "reloadStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 21 - ], - [ - 266, - 1 - ] - ], - "doc": "~Private~" - } - }, - "266": { - "20": { - "name": "reloadStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "content" - ], - "range": [ - [ - 266, - 20 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "21": { - "name": "requireMainModule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 21 - ], - [ - 275, - 1 - ] - ] - } - }, - "275": { - "21": { - "name": "getMainModulePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 275, - 21 - ], - [ - 285, - 1 - ] - ], - "doc": "~Private~" - } - }, - "285": { - "23": { - "name": "hasActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 285, - 23 - ], - [ - 297, - 1 - ] - ], - "doc": "~Private~" - } - }, - "297": { - "31": { - "name": "subscribeToActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 31 - ], - [ - 306, - 1 - ] - ], - "doc": "~Private~" - } - }, - "306": { - "25": { - "name": "handleActivationEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 306, - 25 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "35": { - "name": "unsubscribeFromActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 35 - ], - [ - 325, - 1 - ] - ], - "doc": "~Private~" - } - }, - "325": { - "36": { - "name": "disableEventHandlersOnBubblePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 325, - 36 - ], - [ - 339, - 1 - ] - ], - "doc": "~Private~" - } - }, - "339": { - "36": { - "name": "restoreEventHandlersOnBubblePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventHandlers" - ], - "range": [ - [ - 339, - 36 - ], - [ - 345, - 1 - ] - ], - "doc": "~Private~" - } - }, - "345": { - "18": { - "name": "isNativeModule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "modulePath" - ], - "range": [ - [ - 345, - 18 - ], - [ - 353, - 1 - ] - ], - "doc": "Private: Does the given module path contain native code? " - } - }, - "353": { - "34": { - "name": "getNativeModuleDependencyPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 353, - 34 - ], - [ - 371, - 1 - ] - ], - "doc": " Private: Get an array of all the native modules that this package depends on.\nThis will recurse through all dependencies. " - } - }, - "371": { - "32": { - "name": "getIncompatibleNativeModules", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 371, - 32 - ], - [ - 401, - 1 - ] - ], - "doc": " Private: Get the incompatible native modules that this package depends on.\nThis recurses through all dependencies and requires all modules that\ncontain a `.node` file.\n\nThis information is cached in local storage on a per package/version basis\nto minimize the impact on startup time. " - } - }, - "401": { - "16": { - "name": "isCompatible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 401, - 16 - ], - [ - 411, - 24 - ] - ], - "doc": " Public: Is this package compatible with this version of Atom?\n\nIncompatible packages cannot be activated. This will include packages\ninstalled to ~/.atom/packages that were built against node 0.11.10 but\nnow need to be upgrade to node 0.11.13.\n\nReturns a {Boolean}, true if compatible, false if incompatible. " - } - } - }, - "exports": 15 - }, - "src/pane-axis-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "11": { - "type": "primitive", - "range": [ - [ - 1, - 11 - ], - [ - 1, - 14 - ] - ] - } - }, - "4": { - "0": { - "type": "class", - "name": "PaneAxisView", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 5, - 14 - ], - [ - 9, - 15 - ], - [ - 12, - 16 - ], - [ - 16, - 22 - ], - [ - 22, - 16 - ], - [ - 26, - 18 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 31, - 48 - ] - ] - } - }, - "5": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 5, - 14 - ], - [ - 9, - 1 - ] - ] - } - }, - "9": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 15 - ], - [ - 12, - 1 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "16": { - "name": "viewForModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "model" - ], - "range": [ - [ - 12, - 16 - ], - [ - 16, - 1 - ] - ], - "doc": "~Private~" - } - }, - "16": { - "22": { - "name": "onChildrenChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 16, - 22 - ], - [ - 22, - 1 - ] - ], - "doc": "~Private~" - } - }, - "22": { - "16": { - "name": "onChildAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child", - "index" - ], - "range": [ - [ - 22, - 16 - ], - [ - 26, - 1 - ] - ], - "doc": "~Private~" - } - }, - "26": { - "18": { - "name": "onChildRemoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 26, - 18 - ], - [ - 31, - 48 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/pane-axis.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 15 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Sequence", - "exportsProperty": "Sequence" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 7 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "flatten", - "exportsProperty": "flatten" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "4": { - "14": { - "type": "primitive", - "range": [ - [ - 4, - 14 - ], - [ - 4, - 17 - ] - ] - } - }, - "5": { - "17": { - "type": "primitive", - "range": [ - [ - 5, - 17 - ], - [ - 5, - 20 - ] - ] - } - }, - "8": { - "0": { - "type": "class", - "name": "PaneAxis", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 25, - 21 - ], - [ - 30, - 19 - ], - [ - 34, - 16 - ], - [ - 40, - 12 - ], - [ - 43, - 12 - ], - [ - 46, - 15 - ], - [ - 51, - 16 - ], - [ - 56, - 21 - ], - [ - 60, - 20 - ], - [ - 64, - 21 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 65, - 44 - ] - ] - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 25, - 21 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 19 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 16 - ], - [ - 40, - 1 - ] - ], - "doc": "~Private~" - } - }, - "40": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 40, - 12 - ], - [ - 43, - 1 - ] - ], - "doc": "~Private~" - } - }, - "43": { - "12": { - "name": "addChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child", - "index" - ], - "range": [ - [ - 43, - 12 - ], - [ - 46, - 1 - ] - ], - "doc": "~Private~" - } - }, - "46": { - "15": { - "name": "removeChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 46, - 15 - ], - [ - 51, - 1 - ] - ], - "doc": "~Private~" - } - }, - "51": { - "16": { - "name": "replaceChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "oldChild", - "newChild" - ], - "range": [ - [ - 51, - 16 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "21": { - "name": "insertChildBefore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "currentChild", - "newChild" - ], - "range": [ - [ - 56, - 21 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "20": { - "name": "insertChildAfter", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "currentChild", - "newChild" - ], - "range": [ - [ - 60, - 20 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "21": { - "name": "reparentLastChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 21 - ], - [ - 65, - 44 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/pane-column-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "2": { - "15": { - "name": "PaneAxisView", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 40 - ] - ], - "bindingType": "variable", - "path": "./pane-axis-view" - } - }, - "5": { - "0": { - "type": "class", - "name": "PaneColumnView", - "bindingType": "exports", - "classProperties": [ - [ - 7, - 12 - ] - ], - "prototypeProperties": [ - [ - 10, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 11, - 16 - ] - ] - } - }, - "7": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 7, - 12 - ], - [ - 10, - 1 - ] - ], - "doc": "~Private~" - } - }, - "10": { - "13": { - "name": "className", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 13 - ], - [ - 11, - 16 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "src/pane-container-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "1": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "3": { - "11": { - "name": "PaneView", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-view" - } - }, - "4": { - "16": { - "name": "PaneContainer", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 41 - ] - ], - "bindingType": "variable", - "path": "./pane-container" - } - }, - "8": { - "0": { - "type": "class", - "name": "PaneContainerView", - "bindingType": "exports", - "classProperties": [ - [ - 13, - 12 - ] - ], - "prototypeProperties": [ - [ - 16, - 14 - ], - [ - 25, - 16 - ], - [ - 30, - 11 - ], - [ - 33, - 17 - ], - [ - 47, - 27 - ], - [ - 50, - 15 - ], - [ - 55, - 16 - ], - [ - 64, - 16 - ], - [ - 67, - 15 - ], - [ - 70, - 15 - ], - [ - 73, - 16 - ], - [ - 79, - 18 - ], - [ - 82, - 17 - ], - [ - 86, - 21 - ], - [ - 89, - 21 - ], - [ - 92, - 17 - ], - [ - 95, - 14 - ], - [ - 98, - 21 - ], - [ - 101, - 25 - ], - [ - 104, - 22 - ], - [ - 107, - 22 - ], - [ - 110, - 23 - ], - [ - 113, - 24 - ], - [ - 116, - 26 - ], - [ - 143, - 26 - ], - [ - 152, - 12 - ] - ], - "doc": "Private: Manages the list of panes within a {WorkspaceView} ", - "range": [ - [ - 8, - 0 - ], - [ - 154, - 19 - ] - ] - } - }, - "13": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 12 - ], - [ - 16, - 1 - ] - ], - "doc": "~Private~" - } - }, - "16": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 16, - 14 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "16": { - "name": "viewForModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "model" - ], - "range": [ - [ - 25, - 16 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "getRoot", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 11 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "17": { - "name": "onRootChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "root" - ], - "range": [ - [ - 33, - 17 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "27": { - "name": "onActivePaneItemChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "activeItem" - ], - "range": [ - [ - 47, - 27 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "15": { - "name": "removeChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 50, - 15 - ], - [ - 55, - 1 - ] - ], - "doc": "~Private~" - } - }, - "55": { - "16": { - "name": "confirmClose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 16 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "16": { - "name": "getPaneViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 16 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "15": { - "name": "indexOfPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "paneView" - ], - "range": [ - [ - 67, - 15 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "15": { - "name": "paneAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 70, - 15 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "16": { - "name": "eachPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 73, - 16 - ], - [ - 79, - 1 - ] - ], - "doc": "~Private~" - } - }, - "79": { - "18": { - "name": "getFocusedPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 18 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 17 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "21": { - "name": "getActivePaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 21 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "17": { - "name": "getActiveView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 92, - 17 - ], - [ - 95, - 1 - ] - ], - "doc": "~Private~" - } - }, - "95": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 95, - 14 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "21": { - "name": "focusNextPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 21 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "focusPreviousPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 25 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "22": { - "name": "focusPaneViewAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 22 - ], - [ - 107, - 1 - ] - ], - "doc": "~Private~" - } - }, - "107": { - "22": { - "name": "focusPaneViewBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 22 - ], - [ - 110, - 1 - ] - ], - "doc": "~Private~" - } - }, - "110": { - "23": { - "name": "focusPaneViewOnLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 23 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "24": { - "name": "focusPaneViewOnRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 113, - 24 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "26": { - "name": "nearestPaneInDirection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "direction" - ], - "range": [ - [ - 116, - 26 - ], - [ - 143, - 1 - ] - ], - "doc": "~Private~" - } - }, - "143": { - "26": { - "name": "boundingBoxForPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "paneView" - ], - "range": [ - [ - 143, - 26 - ], - [ - 152, - 1 - ] - ], - "doc": "~Private~" - } - }, - "152": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 152, - 12 - ], - [ - 154, - 19 - ] - ], - "doc": "Private: Deprecated " - } - } - }, - "exports": 8 - }, - "src/pane-container.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "find", - "exportsProperty": "find" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "3": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "6": { - "0": { - "type": "class", - "name": "PaneContainer", - "bindingType": "exports", - "classProperties": [ - [ - 10, - 12 - ] - ], - "prototypeProperties": [ - [ - 16, - 16 - ], - [ - 23, - 15 - ], - [ - 28, - 21 - ], - [ - 34, - 19 - ], - [ - 38, - 16 - ], - [ - 42, - 12 - ], - [ - 45, - 17 - ], - [ - 48, - 14 - ], - [ - 51, - 11 - ], - [ - 54, - 20 - ], - [ - 64, - 24 - ], - [ - 75, - 17 - ], - [ - 89, - 21 - ], - [ - 92, - 17 - ], - [ - 96, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 6, - 0 - ], - [ - 97, - 42 - ] - ] - } - }, - "10": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 10, - 12 - ], - [ - 10, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "16": { - "16": { - "name": "previousRoot", - "type": "primitive", - "range": [ - [ - 16, - 16 - ], - [ - 16, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "23": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 23, - 15 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 28, - 21 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 34, - 19 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "16": { - "name": "replaceChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "oldChild", - "newChild" - ], - "range": [ - [ - 38, - 16 - ], - [ - 42, - 1 - ] - ], - "doc": "~Private~" - } - }, - "42": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 12 - ], - [ - 45, - 1 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 17 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 48, - 14 - ], - [ - 51, - 1 - ] - ], - "doc": "~Private~" - } - }, - "51": { - "11": { - "name": "saveAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 51, - 11 - ], - [ - 54, - 1 - ] - ], - "doc": "~Private~" - } - }, - "54": { - "20": { - "name": "activateNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 54, - 20 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "24": { - "name": "activatePreviousPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 24 - ], - [ - 75, - 1 - ] - ], - "doc": "~Private~" - } - }, - "75": { - "17": { - "name": "onRootChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "root" - ], - "range": [ - [ - 75, - 17 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "destroyEmptyPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "17": { - "name": "itemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 92, - 17 - ], - [ - 96, - 1 - ] - ], - "doc": "~Private~" - } - }, - "96": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 13 - ], - [ - 97, - 42 - ] - ], - "doc": "Private: Called by Model superclass when destroyed " - } - } - }, - "exports": 6 - }, - "src/pane-row-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "2": { - "15": { - "name": "PaneAxisView", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 40 - ] - ], - "bindingType": "variable", - "path": "./pane-axis-view" - } - }, - "5": { - "0": { - "type": "class", - "name": "PaneRowView", - "bindingType": "exports", - "classProperties": [ - [ - 6, - 12 - ] - ], - "prototypeProperties": [ - [ - 9, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 10, - 13 - ] - ] - } - }, - "6": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 12 - ], - [ - 9, - 1 - ] - ] - } - }, - "9": { - "13": { - "name": "className", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 13 - ], - [ - 10, - 13 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "src/pane-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "3": { - "20": { - "name": "PropertyAccessors", - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 47 - ] - ], - "bindingType": "variable", - "module": "property-accessors" - } - }, - "5": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "14": { - "0": { - "type": "class", - "name": "PaneView", - "bindingType": "exports", - "classProperties": [ - [ - 18, - 12 - ], - [ - 20, - 12 - ] - ], - "prototypeProperties": [ - [ - 32, - 22 - ], - [ - 34, - 14 - ], - [ - 45, - 16 - ], - [ - 84, - 14 - ], - [ - 89, - 12 - ], - [ - 94, - 18 - ], - [ - 99, - 19 - ], - [ - 104, - 16 - ], - [ - 109, - 20 - ], - [ - 113, - 15 - ], - [ - 121, - 15 - ], - [ - 124, - 25 - ], - [ - 133, - 15 - ], - [ - 139, - 21 - ], - [ - 142, - 23 - ], - [ - 158, - 15 - ], - [ - 161, - 17 - ], - [ - 175, - 15 - ], - [ - 178, - 25 - ], - [ - 182, - 26 - ], - [ - 185, - 15 - ], - [ - 199, - 13 - ], - [ - 201, - 14 - ], - [ - 203, - 11 - ], - [ - 205, - 13 - ], - [ - 210, - 16 - ], - [ - 213, - 16 - ], - [ - 216, - 10 - ] - ], - "doc": " Public: A container which can contains multiple items to be switched between.\n\nItems can be almost anything however most commonly they're {EditorView}s.\n\nMost packages won't need to use this class, unless you're interested in\nbuilding a package that deals with switching between panes or items. ", - "range": [ - [ - 14, - 0 - ], - [ - 219, - 9 - ] - ] - } - }, - "18": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 18, - 12 - ], - [ - 18, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "20": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "wrappedView" - ], - "range": [ - [ - 20, - 12 - ], - [ - 24, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "22": { - "name": "previousActiveItem", - "type": "primitive", - "range": [ - [ - 32, - 22 - ], - [ - 32, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "34": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 34, - 14 - ], - [ - 45, - 1 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 16 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "14": { - "name": "removeItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 84, - 14 - ], - [ - 89, - 1 - ] - ], - "doc": "Deprecated: Use ::destroyItem " - } - }, - "89": { - "12": { - "name": "showItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 89, - 12 - ], - [ - 94, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItem " - } - }, - "94": { - "18": { - "name": "showItemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 94, - 18 - ], - [ - 99, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItemForUri " - } - }, - "99": { - "19": { - "name": "showItemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 99, - 19 - ], - [ - 104, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItemAtIndex " - } - }, - "104": { - "16": { - "name": "showNextItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 16 - ], - [ - 109, - 1 - ] - ], - "doc": "Deprecated: Use ::activateNextItem " - } - }, - "109": { - "20": { - "name": "showPreviousItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 20 - ], - [ - 113, - 1 - ] - ], - "doc": "Deprecated: Use ::activatePreviousItem " - } - }, - "113": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 113, - 15 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "15": { - "name": "onActivated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 121, - 15 - ], - [ - 124, - 1 - ] - ], - "doc": "~Private~" - } - }, - "124": { - "25": { - "name": "onActiveStatusChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "active" - ], - "range": [ - [ - 124, - 25 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "15": { - "name": "getNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 15 - ], - [ - 139, - 1 - ] - ], - "doc": "Public: Returns the next pane, ordered by creation. " - } - }, - "139": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 139, - 21 - ], - [ - 142, - 1 - ] - ], - "doc": "~Private~" - } - }, - "142": { - "23": { - "name": "onActiveItemChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 142, - 23 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "15": { - "name": "onItemAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index" - ], - "range": [ - [ - 158, - 15 - ], - [ - 161, - 1 - ] - ], - "doc": "~Private~" - } - }, - "161": { - "17": { - "name": "onItemRemoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index", - "destroyed" - ], - "range": [ - [ - 161, - 17 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "15": { - "name": "onItemMoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "newIndex" - ], - "range": [ - [ - 175, - 15 - ], - [ - 178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "178": { - "25": { - "name": "onBeforeItemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 178, - 25 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "26": { - "name": "activeItemTitleChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 182, - 26 - ], - [ - 185, - 1 - ] - ], - "doc": "~Private~" - } - }, - "185": { - "15": { - "name": "viewForItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 185, - 15 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "199": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 199, - 13 - ], - [ - 199, - 57 - ] - ], - "doc": "~Private~" - } - }, - "201": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 201, - 14 - ], - [ - 201, - 59 - ] - ], - "doc": "~Private~" - } - }, - "203": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 203, - 11 - ], - [ - 203, - 53 - ] - ], - "doc": "~Private~" - } - }, - "205": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 205, - 13 - ], - [ - 205, - 57 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "16": { - "name": "getContainer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": " Public: Get the container view housing this pane.\n\nReturns a {View}. " - } - }, - "213": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 16 - ], - [ - 216, - 1 - ] - ], - "doc": "~Private~" - } - }, - "216": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "keepData" - ], - "range": [ - [ - 216, - 10 - ], - [ - 219, - 9 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 14 - }, - "src/pane.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "find", - "exportsProperty": "find" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 13 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "compact", - "exportsProperty": "compact" - }, - "16": { - "type": "import", - "range": [ - [ - 0, - 16 - ], - [ - 0, - 21 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "extend", - "exportsProperty": "extend" - }, - "24": { - "type": "import", - "range": [ - [ - 0, - 24 - ], - [ - 0, - 27 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "last", - "exportsProperty": "last" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - }, - "8": { - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 15 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Sequence", - "exportsProperty": "Sequence" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "3": { - "11": { - "name": "PaneAxis", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-axis" - } - }, - "4": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "5": { - "11": { - "type": "primitive", - "range": [ - [ - 5, - 11 - ], - [ - 5, - 14 - ] - ] - } - }, - "11": { - "0": { - "type": "class", - "name": "Pane", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 43, - 19 - ], - [ - 50, - 21 - ], - [ - 57, - 16 - ], - [ - 59, - 12 - ], - [ - 62, - 9 - ], - [ - 67, - 8 - ], - [ - 73, - 12 - ], - [ - 77, - 12 - ], - [ - 82, - 12 - ], - [ - 88, - 17 - ], - [ - 93, - 19 - ], - [ - 97, - 15 - ], - [ - 101, - 20 - ], - [ - 109, - 24 - ], - [ - 117, - 22 - ], - [ - 121, - 23 - ], - [ - 125, - 16 - ], - [ - 137, - 11 - ], - [ - 154, - 12 - ], - [ - 159, - 14 - ], - [ - 175, - 12 - ], - [ - 182, - 18 - ], - [ - 187, - 21 - ], - [ - 193, - 15 - ], - [ - 204, - 16 - ], - [ - 208, - 24 - ], - [ - 211, - 11 - ], - [ - 218, - 13 - ], - [ - 224, - 20 - ], - [ - 239, - 18 - ], - [ - 243, - 20 - ], - [ - 251, - 12 - ], - [ - 263, - 14 - ], - [ - 273, - 13 - ], - [ - 278, - 14 - ], - [ - 283, - 22 - ], - [ - 290, - 18 - ], - [ - 300, - 13 - ], - [ - 309, - 14 - ], - [ - 318, - 11 - ], - [ - 327, - 13 - ], - [ - 330, - 9 - ], - [ - 344, - 23 - ], - [ - 356, - 32 - ] - ], - "doc": " Public: A container for multiple items, one of which is *active* at a given\ntime. With the default packages, a tab is displayed for each item and the\nactive item's view is displayed. ", - "range": [ - [ - 11, - 0 - ], - [ - 364, - 19 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 29, - 15 - ], - [ - 43, - 1 - ] - ], - "doc": "~Private~" - } - }, - "43": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 19 - ], - [ - 50, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during serialization. " - } - }, - "50": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 50, - 21 - ], - [ - 57, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during deserialization. " - } - }, - "57": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 16 - ], - [ - 57, - 51 - ] - ], - "doc": "Private: Called by the view layer to construct a view for this model. " - } - }, - "59": { - "12": { - "name": "isActive", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 12 - ], - [ - 59, - 21 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 62, - 9 - ], - [ - 67, - 1 - ] - ], - "doc": "Private: Called by the view layer to indicate that the pane has gained focus. " - } - }, - "67": { - "8": { - "name": "blur", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 8 - ], - [ - 73, - 1 - ] - ], - "doc": "Private: Called by the view layer to indicate that the pane has lost focus. " - } - }, - "73": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 12 - ], - [ - 77, - 1 - ] - ], - "doc": " Public: Makes this pane the *active* pane, causing it to gain focus\nimmediately. " - } - }, - "77": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 77, - 12 - ], - [ - 77, - 20 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "12": { - "name": "getItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 12 - ], - [ - 88, - 1 - ] - ], - "doc": " Public: Get the items in this pane.\n\nReturns an {Array} of items. " - } - }, - "88": { - "17": { - "name": "getActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 17 - ], - [ - 93, - 1 - ] - ], - "doc": " Public: Get the active pane item in this pane.\n\nReturns a pane item. " - } - }, - "93": { - "19": { - "name": "getActiveEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 93, - 19 - ], - [ - 97, - 1 - ] - ], - "doc": " Public: Returns an {Editor} if the pane item is an {Editor}, or null\notherwise. " - } - }, - "97": { - "15": { - "name": "itemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 97, - 15 - ], - [ - 101, - 1 - ] - ], - "doc": "Public: Returns the item at the specified index. " - } - }, - "101": { - "20": { - "name": "activateNextItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 20 - ], - [ - 109, - 1 - ] - ], - "doc": "Public: Makes the next item active. " - } - }, - "109": { - "24": { - "name": "activatePreviousItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 24 - ], - [ - 117, - 1 - ] - ], - "doc": "Public: Makes the previous item active. " - } - }, - "117": { - "22": { - "name": "getActiveItemIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 22 - ], - [ - 121, - 1 - ] - ], - "doc": "Private: Returns the index of the current active item. " - } - }, - "121": { - "23": { - "name": "activateItemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 121, - 23 - ], - [ - 125, - 1 - ] - ], - "doc": "Private: Makes the item at the given index active. " - } - }, - "125": { - "16": { - "name": "activateItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 125, - 16 - ], - [ - 137, - 1 - ] - ], - "doc": "Private: Makes the given item active, adding the item if necessary. " - } - }, - "137": { - "11": { - "name": "addItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index" - ], - "range": [ - [ - 137, - 11 - ], - [ - 154, - 1 - ] - ], - "doc": " Public: Adds the item to the pane.\n\nitem - The item to add. It can be a model with an associated view or a view.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns the added item " - } - }, - "154": { - "12": { - "name": "addItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items", - "index" - ], - "range": [ - [ - 154, - 12 - ], - [ - 159, - 1 - ] - ], - "doc": " Public: Adds the given items to the pane.\n\nitems - An {Array} of items to add. Items can be models with associated\n views or views. Any items that are already present in items will\n not be added.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns an {Array} of the added items " - } - }, - "159": { - "14": { - "name": "removeItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "destroying" - ], - "range": [ - [ - 159, - 14 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "12": { - "name": "moveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "newIndex" - ], - "range": [ - [ - 175, - 12 - ], - [ - 182, - 1 - ] - ], - "doc": "Public: Moves the given item to the specified index. " - } - }, - "182": { - "18": { - "name": "moveItemToPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "pane", - "index" - ], - "range": [ - [ - 182, - 18 - ], - [ - 187, - 1 - ] - ], - "doc": "Public: Moves the given item to the given index at another pane. " - } - }, - "187": { - "21": { - "name": "destroyActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 187, - 21 - ], - [ - 193, - 1 - ] - ], - "doc": "Public: Destroys the currently active item and make the next item active. " - } - }, - "193": { - "15": { - "name": "destroyItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 193, - 15 - ], - [ - 204, - 1 - ] - ], - "doc": " Public: Destroys the given item. If it is the active item, activate the next\none. If this is the last item, also destroys the pane. " - } - }, - "204": { - "16": { - "name": "destroyItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 204, - 16 - ], - [ - 208, - 1 - ] - ], - "doc": "Public: Destroys all items and destroys the pane. " - } - }, - "208": { - "24": { - "name": "destroyInactiveItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 208, - 24 - ], - [ - 211, - 1 - ] - ], - "doc": "Public: Destroys all items but the active one. " - } - }, - "211": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 211, - 11 - ], - [ - 218, - 1 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 218, - 13 - ], - [ - 224, - 1 - ] - ], - "doc": "Private: Called by model superclass. " - } - }, - "224": { - "20": { - "name": "promptToSaveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 224, - 20 - ], - [ - 239, - 1 - ] - ], - "doc": " Public: Prompts the user to save the given item if it can be saved and is\ncurrently unsaved. " - } - }, - "239": { - "18": { - "name": "saveActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 239, - 18 - ], - [ - 243, - 1 - ] - ], - "doc": "Public: Saves the active item. " - } - }, - "243": { - "20": { - "name": "saveActiveItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 243, - 20 - ], - [ - 251, - 1 - ] - ], - "doc": "Public: Saves the active item at a prompted-for location. " - } - }, - "251": { - "12": { - "name": "saveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "nextAction" - ], - "range": [ - [ - 251, - 12 - ], - [ - 263, - 1 - ] - ], - "doc": " Public: Saves the specified item.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " - } - }, - "263": { - "14": { - "name": "saveItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "nextAction" - ], - "range": [ - [ - 263, - 14 - ], - [ - 273, - 1 - ] - ], - "doc": " Public: Saves the given item at a prompted-for location.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " - } - }, - "273": { - "13": { - "name": "saveItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 273, - 13 - ], - [ - 278, - 1 - ] - ], - "doc": "Public: Saves all items. " - } - }, - "278": { - "14": { - "name": "itemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 278, - 14 - ], - [ - 283, - 1 - ] - ], - "doc": " Public: Returns the first item that matches the given URI or undefined if\nnone exists. " - } - }, - "283": { - "22": { - "name": "activateItemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 283, - 22 - ], - [ - 290, - 1 - ] - ], - "doc": " Public: Activates the first item that matches the given URI. Returns a\nboolean indicating whether a matching item was found. " - } - }, - "290": { - "18": { - "name": "copyActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 290, - 18 - ], - [ - 300, - 1 - ] - ], - "doc": "~Private~" - } - }, - "300": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 300, - 13 - ], - [ - 309, - 1 - ] - ], - "doc": " Public: Creates a new pane to the left of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "309": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 309, - 14 - ], - [ - 318, - 1 - ] - ], - "doc": " Public: Creates a new pane to the right of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "318": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 318, - 11 - ], - [ - 327, - 1 - ] - ], - "doc": " Public: Creates a new pane above the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "327": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 327, - 13 - ], - [ - 330, - 1 - ] - ], - "doc": " Public: Creates a new pane below the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "330": { - "9": { - "name": "split", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "orientation", - "side", - "params" - ], - "range": [ - [ - 330, - 9 - ], - [ - 344, - 1 - ] - ], - "doc": "~Private~" - } - }, - "344": { - "23": { - "name": "findLeftmostSibling", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 344, - 23 - ], - [ - 356, - 1 - ] - ], - "doc": " Private: If the parent is a horizontal axis, returns its first child if it is a pane;\notherwise returns this pane. " - } - }, - "356": { - "32": { - "name": "findOrCreateRightmostSibling", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 356, - 32 - ], - [ - 364, - 19 - ] - ], - "doc": " Private: If the parent is a horizontal axis, returns its last child if it is a pane;\notherwise returns a new pane created by splitting this pane rightward. " - } - } - }, - "exports": 11 - }, - "src/project.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.1" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q@~1.0.1" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "9": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 9, - 15 - ], - [ - 9, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "10": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer" - } - }, - "11": { - "1": { - "type": "import", - "range": [ - [ - 11, - 1 - ], - [ - 11, - 9 - ] - ], - "bindingType": "variable", - "module": "pathwatcher", - "name": "Directory", - "exportsProperty": "Directory" - } - }, - "13": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 13, - 9 - ], - [ - 13, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "14": { - "7": { - "name": "Task", - "type": "import", - "range": [ - [ - 14, - 7 - ], - [ - 14, - 22 - ] - ], - "bindingType": "variable", - "path": "./task" - } - }, - "15": { - "6": { - "name": "Git", - "type": "import", - "range": [ - [ - 15, - 6 - ], - [ - 15, - 20 - ] - ], - "bindingType": "variable", - "path": "./git" - } - }, - "21": { - "0": { - "type": "class", - "name": "Project", - "bindingType": "exports", - "classProperties": [ - [ - 26, - 25 - ] - ], - "prototypeProperties": [ - [ - 31, - 15 - ], - [ - 40, - 19 - ], - [ - 44, - 21 - ], - [ - 48, - 13 - ], - [ - 52, - 15 - ], - [ - 57, - 28 - ], - [ - 61, - 11 - ], - [ - 64, - 11 - ], - [ - 68, - 11 - ], - [ - 85, - 20 - ], - [ - 95, - 11 - ], - [ - 109, - 14 - ], - [ - 114, - 12 - ], - [ - 124, - 8 - ], - [ - 130, - 12 - ], - [ - 139, - 14 - ], - [ - 143, - 18 - ], - [ - 146, - 21 - ], - [ - 150, - 21 - ], - [ - 163, - 17 - ], - [ - 168, - 15 - ], - [ - 172, - 19 - ], - [ - 184, - 15 - ], - [ - 194, - 13 - ], - [ - 198, - 20 - ], - [ - 207, - 16 - ], - [ - 211, - 23 - ], - [ - 221, - 8 - ], - [ - 268, - 11 - ], - [ - 300, - 24 - ], - [ - 304, - 14 - ], - [ - 315, - 18 - ], - [ - 320, - 20 - ], - [ - 325, - 14 - ], - [ - 330, - 14 - ] - ], - "doc": " Public: Represents a project that's opened in Atom.\n\nAn instance of this class is always available as the `atom.project` global. ", - "range": [ - [ - 21, - 0 - ], - [ - 332, - 31 - ] - ] - } - }, - "26": { - "25": { - "name": "pathForRepositoryUrl", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "repoUrl" - ], - "range": [ - [ - 26, - 25 - ], - [ - 31, - 1 - ] - ], - "doc": "Public: Find the local path for the given repository URL. " - } - }, - "31": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 31, - 15 - ], - [ - 40, - 1 - ] - ], - "doc": "~Private~" - } - }, - "40": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 40, - 19 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 44, - 21 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 13 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "15": { - "name": "destroyRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 15 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "28": { - "name": "destroyUnretainedBuffers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 28 - ], - [ - 61, - 1 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "11": { - "name": "getRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 11 - ], - [ - 61, - 18 - ] - ], - "doc": "Public: Returns the {Git} repository if available. " - } - }, - "64": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 11 - ], - [ - 68, - 1 - ] - ], - "doc": "Public: Returns the project's fullpath. " - } - }, - "68": { - "11": { - "name": "setPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "projectPath" - ], - "range": [ - [ - 68, - 11 - ], - [ - 85, - 1 - ] - ], - "doc": "Public: Sets the project's fullpath. " - } - }, - "85": { - "20": { - "name": "getRootDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 85, - 20 - ], - [ - 95, - 1 - ] - ], - "doc": "Public: Returns the root {Directory} object for this project. " - } - }, - "95": { - "11": { - "name": "resolve", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 95, - 11 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Given a uri, this resolves it relative to the project directory. If\nthe path is already absolute or if it is prefixed with a scheme, it is\nreturned unchanged.\n\nuri - The {String} name of the path to convert.\n\nReturns a {String} or undefined if the uri is not missing or empty. " - } - }, - "109": { - "14": { - "name": "relativize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fullPath" - ], - "range": [ - [ - 109, - 14 - ], - [ - 114, - 1 - ] - ], - "doc": "Public: Make the given path relative to the project directory. " - } - }, - "114": { - "12": { - "name": "contains", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToCheck" - ], - "range": [ - [ - 114, - 12 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Returns whether the given path is inside this project. " - } - }, - "124": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "options" - ], - "range": [ - [ - 124, - 8 - ], - [ - 130, - 1 - ] - ], - "doc": " Private: Given a path to a file, this constructs and associates a new\n{Editor}, showing the file.\n\nfilePath - The {String} path of the file to associate with.\noptions - Options that you can pass to the {Editor} constructor.\n\nReturns a promise that resolves to an {Editor}. " - } - }, - "130": { - "12": { - "name": "openSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "options" - ], - "range": [ - [ - 130, - 12 - ], - [ - 139, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "139": { - "14": { - "name": "getBuffers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 139, - 14 - ], - [ - 143, - 1 - ] - ], - "doc": " Private: Retrieves all the {TextBuffer}s in the project; that is, the\nbuffers for all open files.\n\nReturns an {Array} of {TextBuffer}s. " - } - }, - "143": { - "18": { - "name": "isPathModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 143, - 18 - ], - [ - 146, - 1 - ] - ], - "doc": "Private: Is the buffer for the given path modified? " - } - }, - "146": { - "21": { - "name": "findBufferForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 146, - 21 - ], - [ - 150, - 1 - ] - ], - "doc": "~Private~" - } - }, - "150": { - "21": { - "name": "bufferForPathSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 150, - 21 - ], - [ - 163, - 1 - ] - ], - "doc": "Private: Only to be used in specs " - } - }, - "163": { - "17": { - "name": "bufferForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 163, - 17 - ], - [ - 168, - 1 - ] - ], - "doc": " Private: Given a file path, this retrieves or creates a new {TextBuffer}.\n\nIf the `filePath` already has a `buffer`, that value is used instead. Otherwise,\n`text` is used as the contents of the new buffer.\n\nfilePath - A {String} representing a path. If `null`, an \"Untitled\" buffer is created.\n\nReturns a promise that resolves to the {TextBuffer}. " - } - }, - "168": { - "15": { - "name": "bufferForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 168, - 15 - ], - [ - 172, - 1 - ] - ], - "doc": "~Private~" - } - }, - "172": { - "19": { - "name": "buildBufferSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "absoluteFilePath" - ], - "range": [ - [ - 172, - 19 - ], - [ - 184, - 1 - ] - ], - "doc": "Private: Still needed when deserializing a tokenized buffer " - } - }, - "184": { - "15": { - "name": "buildBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "absoluteFilePath" - ], - "range": [ - [ - 184, - 15 - ], - [ - 194, - 1 - ] - ], - "doc": " Private: Given a file path, this sets its {TextBuffer}.\n\nabsoluteFilePath - A {String} representing a path.\ntext - The {String} text to use as a buffer.\n\nReturns a promise that resolves to the {TextBuffer}. " - } - }, - "194": { - "13": { - "name": "addBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "options" - ], - "range": [ - [ - 194, - 13 - ], - [ - 198, - 1 - ] - ], - "doc": "~Private~" - } - }, - "198": { - "20": { - "name": "addBufferAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "index", - "options" - ], - "range": [ - [ - 198, - 20 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "16": { - "name": "removeBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer" - ], - "range": [ - [ - 207, - 16 - ], - [ - 211, - 1 - ] - ], - "doc": " Private: Removes a {TextBuffer} association from the project.\n\nReturns the removed {TextBuffer}. " - } - }, - "211": { - "23": { - "name": "removeBufferAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index", - "options" - ], - "range": [ - [ - 211, - 23 - ], - [ - 221, - 1 - ] - ], - "doc": "~Private~" - } - }, - "221": { - "8": { - "name": "scan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "options", - "iterator" - ], - "range": [ - [ - 221, - 8 - ], - [ - 268, - 1 - ] - ], - "doc": " Public: Performs a search across all the files in the project.\n\nregex - A {RegExp} to search with.\noptions - An optional options {Object} (default: {}):\n :paths - An {Array} of glob patterns to search within\niterator - A {Function} callback on each file found " - } - }, - "268": { - "11": { - "name": "replace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "replacementText", - "filePaths", - "iterator" - ], - "range": [ - [ - 268, - 11 - ], - [ - 300, - 1 - ] - ], - "doc": " Public: Performs a replace across all the specified files in the project.\n\nregex - A {RegExp} to search with.\nreplacementText - Text to replace all matches of regex with\nfilePaths - List of file path strings to run the replace on.\niterator - A {Function} callback on each file with replacements:\n `({filePath, replacements}) ->`. " - } - }, - "300": { - "24": { - "name": "buildEditorForBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "editorOptions" - ], - "range": [ - [ - 300, - 24 - ], - [ - 304, - 1 - ] - ], - "doc": "~Private~" - } - }, - "304": { - "14": { - "name": "eachBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 304, - 14 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "18": { - "name": "registerOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 315, - 18 - ], - [ - 320, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "320": { - "20": { - "name": "unregisterOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 320, - 20 - ], - [ - 325, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "325": { - "14": { - "name": "eachEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 325, - 14 - ], - [ - 330, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "330": { - "14": { - "name": "getEditors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 330, - 14 - ], - [ - 332, - 31 - ] - ], - "doc": "Deprecated: delegate " - } - } - }, - "exports": 21 - }, - "src/react-editor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "defaults", - "exportsProperty": "defaults" - } - }, - "3": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 3, - 13 - ], - [ - 3, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer" - } - }, - "4": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "5": { - "18": { - "name": "EditorComponent", - "type": "import", - "range": [ - [ - 5, - 18 - ], - [ - 5, - 45 - ] - ], - "bindingType": "variable", - "path": "./editor-component" - } - }, - "8": { - "0": { - "type": "class", - "name": "ReactEditorView", - "bindingType": "exports", - "classProperties": [ - [ - 9, - 12 - ] - ], - "prototypeProperties": [ - [ - 14, - 17 - ], - [ - 16, - 15 - ], - [ - 58, - 13 - ], - [ - 60, - 12 - ], - [ - 69, - 15 - ], - [ - 77, - 13 - ], - [ - 83, - 14 - ], - [ - 89, - 18 - ], - [ - 92, - 26 - ], - [ - 95, - 26 - ], - [ - 98, - 26 - ], - [ - 101, - 25 - ], - [ - 105, - 34 - ], - [ - 108, - 34 - ], - [ - 111, - 21 - ], - [ - 116, - 16 - ], - [ - 122, - 13 - ], - [ - 127, - 14 - ], - [ - 132, - 11 - ], - [ - 137, - 13 - ], - [ - 141, - 11 - ], - [ - 144, - 9 - ], - [ - 150, - 8 - ], - [ - 154, - 8 - ], - [ - 158, - 20 - ], - [ - 165, - 12 - ], - [ - 168, - 10 - ], - [ - 171, - 12 - ], - [ - 174, - 28 - ], - [ - 177, - 27 - ], - [ - 180, - 17 - ], - [ - 183, - 17 - ], - [ - 186, - 15 - ], - [ - 189, - 15 - ], - [ - 192, - 19 - ], - [ - 195, - 17 - ], - [ - 198, - 22 - ], - [ - 201, - 15 - ], - [ - 204, - 21 - ], - [ - 207, - 18 - ], - [ - 210, - 18 - ], - [ - 213, - 11 - ], - [ - 216, - 11 - ], - [ - 219, - 14 - ], - [ - 222, - 18 - ], - [ - 225, - 19 - ], - [ - 228, - 24 - ], - [ - 230, - 17 - ], - [ - 232, - 16 - ], - [ - 234, - 10 - ], - [ - 236, - 22 - ], - [ - 242, - 27 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 243, - 49 - ] - ] - } - }, - "9": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 9, - 12 - ], - [ - 14, - 1 - ] - ] - } - }, - "14": { - "17": { - "name": "focusOnAttach", - "type": "primitive", - "range": [ - [ - 14, - 17 - ], - [ - 14, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorOrParams", - "props" - ], - "range": [ - [ - 16, - 15 - ], - [ - 58, - 1 - ] - ], - "doc": "~Private~" - } - }, - "58": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 58, - 13 - ], - [ - 58, - 22 - ] - ], - "doc": "~Private~" - } - }, - "69": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 69, - 15 - ], - [ - 77, - 1 - ] - ], - "doc": "~Private~" - } - }, - "77": { - "13": { - "name": "scrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 77, - 13 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "14": { - "name": "scrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 83, - 14 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "18": { - "name": "scrollToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 18 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 92, - 26 - ], - [ - 95, - 1 - ] - ], - "doc": "~Private~" - } - }, - "95": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 95, - 26 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 26 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "scrollToPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 101, - 25 - ], - [ - 105, - 1 - ] - ], - "doc": "~Private~" - } - }, - "105": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 105, - 34 - ], - [ - 108, - 1 - ] - ], - "doc": "~Private~" - } - }, - "108": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 108, - 34 - ], - [ - 111, - 1 - ] - ], - "doc": "~Private~" - } - }, - "111": { - "21": { - "name": "appendToLinesView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 111, - 21 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 16 - ], - [ - 122, - 1 - ] - ], - "doc": "~Private~" - } - }, - "122": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 122, - 13 - ], - [ - 127, - 1 - ] - ], - "doc": "Public: Split the editor view left. " - } - }, - "127": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 127, - 14 - ], - [ - 132, - 1 - ] - ], - "doc": "Public: Split the editor view right. " - } - }, - "132": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 132, - 11 - ], - [ - 137, - 1 - ] - ], - "doc": "Public: Split the editor view up. " - } - }, - "137": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 13 - ], - [ - 141, - 1 - ] - ], - "doc": "Public: Split the editor view down. " - } - }, - "141": { - "11": { - "name": "getPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 11 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 144, - 9 - ], - [ - 150, - 1 - ] - ], - "doc": "~Private~" - } - }, - "150": { - "8": { - "name": "hide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 150, - 8 - ], - [ - 154, - 1 - ] - ], - "doc": "~Private~" - } - }, - "154": { - "8": { - "name": "show", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 8 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "20": { - "name": "pollComponentDOM", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 20 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 12 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 10 - ], - [ - 171, - 1 - ] - ], - "doc": "~Private~" - } - }, - "171": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 12 - ], - [ - 174, - 1 - ] - ], - "doc": "~Private~" - } - }, - "174": { - "28": { - "name": "getFirstVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 174, - 28 - ], - [ - 177, - 1 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "27": { - "name": "getLastVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 27 - ], - [ - 180, - 1 - ] - ], - "doc": "~Private~" - } - }, - "180": { - "17": { - "name": "getFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 180, - 17 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "17": { - "name": "setFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 183, - 17 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "15": { - "name": "getFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 186, - 15 - ], - [ - 189, - 1 - ] - ], - "doc": "~Private~" - } - }, - "189": { - "15": { - "name": "setFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 189, - 15 - ], - [ - 192, - 1 - ] - ], - "doc": "~Private~" - } - }, - "192": { - "19": { - "name": "setWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "widthInChars" - ], - "range": [ - [ - 192, - 19 - ], - [ - 195, - 1 - ] - ], - "doc": "~Private~" - } - }, - "195": { - "17": { - "name": "setLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 195, - 17 - ], - [ - 198, - 1 - ] - ], - "doc": "~Private~" - } - }, - "198": { - "22": { - "name": "setShowIndentGuide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showIndentGuide" - ], - "range": [ - [ - 198, - 22 - ], - [ - 201, - 1 - ] - ], - "doc": "~Private~" - } - }, - "201": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 201, - 15 - ], - [ - 204, - 1 - ] - ], - "doc": "~Private~" - } - }, - "204": { - "21": { - "name": "setShowInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showInvisibles" - ], - "range": [ - [ - 204, - 21 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 207, - 18 - ], - [ - 210, - 1 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 18 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 11 - ], - [ - 216, - 1 - ] - ], - "doc": "~Private~" - } - }, - "216": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 216, - 11 - ], - [ - 219, - 1 - ] - ], - "doc": "~Private~" - } - }, - "219": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 219, - 14 - ], - [ - 222, - 1 - ] - ], - "doc": "~Private~" - } - }, - "222": { - "18": { - "name": "isInputEnabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 222, - 18 - ], - [ - 225, - 1 - ] - ], - "doc": "~Private~" - } - }, - "225": { - "19": { - "name": "setInputEnabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "inputEnabled" - ], - "range": [ - [ - 225, - 19 - ], - [ - 228, - 1 - ] - ], - "doc": "~Private~" - } - }, - "228": { - "24": { - "name": "requestDisplayUpdate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 228, - 24 - ], - [ - 228, - 25 - ] - ], - "doc": "~Private~" - } - }, - "230": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 230, - 17 - ], - [ - 230, - 18 - ] - ], - "doc": "~Private~" - } - }, - "232": { - "16": { - "name": "resetDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 232, - 16 - ], - [ - 232, - 17 - ] - ], - "doc": "~Private~" - } - }, - "234": { - "10": { - "name": "redraw", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 10 - ], - [ - 234, - 11 - ] - ], - "doc": "~Private~" - } - }, - "236": { - "22": { - "name": "setPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "placeholderText" - ], - "range": [ - [ - 236, - 22 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "27": { - "name": "lineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 242, - 27 - ], - [ - 243, - 49 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/replace-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "PathReplacer", - "exportsProperty": "PathReplacer" - } - } - }, - "exports": 2 - }, - "src/repository-status-handler.coffee": { - "objects": { - "0": { - "6": { - "name": "Git", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "git-utils" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - } - }, - "exports": 3 - }, - "src/row-map.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 15 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "spliceWithArray", - "exportsProperty": "spliceWithArray" - } - }, - "16": { - "0": { - "type": "class", - "name": "RowMap", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 15 - ], - [ - 21, - 14 - ], - [ - 27, - 30 - ], - [ - 40, - 30 - ], - [ - 50, - 30 - ], - [ - 61, - 17 - ], - [ - 83, - 23 - ], - [ - 93, - 23 - ], - [ - 103, - 35 - ], - [ - 116, - 11 - ] - ], - "doc": " Private: Used by the display buffer to map screen rows to buffer rows and vice-versa.\nThis mapping may not be 1:1 due to folds and soft-wraps. This object maintains\nan array of regions, which contain `bufferRows` and `screenRows` fields.\n\nRectangular Regions:\nIf a region has the same number of buffer rows and screen rows, it is referred\nto as \"rectangular\", and represents one or more non-soft-wrapped, non-folded\nlines.\n\nTrapezoidal Regions:\nIf a region has one buffer row and more than one screen row, it represents a\nsoft-wrapped line. If a region has one screen row and more than one buffer\nrow, it represents folded lines ", - "range": [ - [ - 16, - 0 - ], - [ - 118, - 35 - ] - ] - } - }, - "17": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 15 - ], - [ - 21, - 1 - ] - ] - } - }, - "21": { - "14": { - "name": "getRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 14 - ], - [ - 27, - 1 - ] - ], - "doc": "Public: Returns a copy of all the regions in the map " - } - }, - "27": { - "30": { - "name": "screenRowRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 27, - 30 - ], - [ - 40, - 1 - ] - ], - "doc": " Public: Returns an end-row-exclusive range of screen rows corresponding to\nthe given buffer row. If the buffer row is soft-wrapped, the range may span\nmultiple screen rows. Otherwise it will span a single screen row. " - } - }, - "40": { - "30": { - "name": "bufferRowRangeForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetScreenRow" - ], - "range": [ - [ - 40, - 30 - ], - [ - 50, - 1 - ] - ], - "doc": " Public: Returns an end-row-exclusive range of buffer rows corresponding to\nthe given screen row. If the screen row is the first line of a folded range\nof buffer rows, the range may span multiple buffer rows. Otherwise it will\nspan a single buffer row. " - } - }, - "50": { - "30": { - "name": "bufferRowRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 50, - 30 - ], - [ - 61, - 1 - ] - ], - "doc": " Public: If the given buffer row is part of a folded row range, returns that\nrow range. Otherwise returns a range spanning only the given buffer row. " - } - }, - "61": { - "17": { - "name": "spliceRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "bufferRowCount", - "regions" - ], - "range": [ - [ - 61, - 17 - ], - [ - 83, - 1 - ] - ], - "doc": " Public: Given a starting buffer row, the number of buffer rows to replace,\nand an array of regions of shape {bufferRows: n, screenRows: m}, splices\nthe regions at the appropriate location in the map. This method is used by\ndisplay buffer to keep the map updated when the underlying buffer changes. " - } - }, - "83": { - "23": { - "name": "traverseToBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 83, - 23 - ], - [ - 93, - 1 - ] - ], - "doc": "~Private~" - } - }, - "93": { - "23": { - "name": "traverseToScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetScreenRow" - ], - "range": [ - [ - 93, - 23 - ], - [ - 103, - 1 - ] - ], - "doc": "~Private~" - } - }, - "103": { - "35": { - "name": "mergeAdjacentRectangularRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startIndex", - "endIndex" - ], - "range": [ - [ - 103, - 35 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 11 - ], - [ - 118, - 35 - ] - ], - "doc": "Public: Returns an array of strings describing the map's regions. " - } - } - }, - "exports": 16 - }, - "src/scan-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "PathSearcher", - "exportsProperty": "PathSearcher" - }, - "15": { - "type": "import", - "range": [ - [ - 0, - 15 - ], - [ - 0, - 25 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "PathScanner", - "exportsProperty": "PathScanner" - }, - "28": { - "type": "import", - "range": [ - [ - 0, - 28 - ], - [ - 0, - 33 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "search", - "exportsProperty": "search" - } - } - }, - "exports": 2 - }, - "src/scoped-properties.coffee": { - "objects": { - "0": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "3": { - "0": { - "type": "class", - "name": "ScopedProperties", - "bindingType": "exports", - "classProperties": [ - [ - 4, - 9 - ] - ], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 13, - 12 - ], - [ - 17, - 14 - ] - ], - "doc": "~Private~", - "range": [ - [ - 3, - 0 - ], - [ - 18, - 39 - ] - ] - } - }, - "4": { - "9": { - "name": "load", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "scopedPropertiesPath", - "callback" - ], - "range": [ - [ - 4, - 9 - ], - [ - 11, - 1 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 11, - 43 - ] - ], - "doc": "~Private~" - } - }, - "13": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 12 - ], - [ - 17, - 1 - ] - ], - "doc": "~Private~" - } - }, - "17": { - "14": { - "name": "deactivate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 14 - ], - [ - 18, - 39 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 3 - }, - "src/scroll-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "21": { - "0": { - "type": "class", - "name": "ScrollView", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 22, - 14 - ] - ], - "doc": " Public: Represents a view that scrolls.\n\nSubclasses must call `super` if overriding the `initialize` method or else\nthe following events won't be handled by the ScrollView.\n\n## Events\n * `core:move-up`\n * `core:move-down`\n * `core:page-up`\n * `core:page-down`\n * `core:move-to-top`\n * `core:move-to-bottom`\n\n## Requiring in packages\n\n```coffee\n {ScrollView} = require 'atom'\n``` ", - "range": [ - [ - 21, - 0 - ], - [ - 28, - 51 - ] - ] - } - }, - "22": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 22, - 14 - ], - [ - 28, - 51 - ] - ] - } - } - }, - "exports": 21 - }, - "src/scrollbar-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 6 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "extend", - "exportsProperty": "extend" - }, - "9": { - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "21": { - "name": "ScrollbarComponent", - "type": "function", - "range": [ - [ - 5, - 21 - ], - [ - 69, - 28 - ] - ] - } - }, - "6": { - "15": { - "name": "'ScrollbarComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 34 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 21 - ], - [ - 36, - 1 - ] - ], - "doc": null - } - }, - "36": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 36, - 25 - ], - [ - 45, - 1 - ] - ], - "doc": null - } - }, - "45": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 22 - ], - [ - 57, - 1 - ] - ], - "doc": null - } - }, - "57": { - "12": { - "name": "onScroll", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 12 - ], - [ - 69, - 28 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/scrollbar-corner-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "27": { - "name": "ScrollbarCornerComponent", - "type": "function", - "range": [ - [ - 5, - 27 - ], - [ - 23, - 99 - ] - ] - } - }, - "6": { - "15": { - "name": "'ScrollbarCornerComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 40 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 22, - 1 - ] - ], - "doc": null - } - }, - "22": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 22, - 25 - ], - [ - 23, - 99 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/select-list-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "4": { - "15": { - "name": "EditorView", - "type": "import", - "range": [ - [ - 4, - 15 - ], - [ - 4, - 37 - ] - ], - "bindingType": "variable", - "path": "./editor-view" - } - }, - "5": { - "14": { - "type": "primitive", - "range": [ - [ - 5, - 14 - ], - [ - 5, - 41 - ] - ] - } - }, - "36": { - "0": { - "type": "class", - "name": "SelectListView", - "bindingType": "exports", - "classProperties": [ - [ - 37, - 12 - ] - ], - "prototypeProperties": [ - [ - 46, - 12 - ], - [ - 47, - 19 - ], - [ - 48, - 17 - ], - [ - 49, - 14 - ], - [ - 55, - 14 - ], - [ - 90, - 24 - ], - [ - 102, - 12 - ], - [ - 109, - 12 - ], - [ - 119, - 14 - ], - [ - 136, - 18 - ], - [ - 143, - 16 - ], - [ - 174, - 19 - ], - [ - 179, - 15 - ], - [ - 181, - 26 - ], - [ - 186, - 22 - ], - [ - 191, - 18 - ], - [ - 197, - 20 - ], - [ - 207, - 23 - ], - [ - 213, - 19 - ], - [ - 216, - 20 - ], - [ - 233, - 15 - ], - [ - 244, - 13 - ], - [ - 258, - 16 - ], - [ - 261, - 21 - ], - [ - 266, - 23 - ], - [ - 269, - 16 - ], - [ - 275, - 13 - ], - [ - 283, - 10 - ] - ], - "doc": " Public: Provides a view that renders a list of items with an editor that\nfilters the items. Used by many packages such as the fuzzy-finder,\ncommand-palette, symbols-view and autocomplete.\n\nSubclasses must implement the following methods:\n\n* {::viewForItem}\n* {::confirmed}\n\n## Requiring in packages\n\n```coffee\n{SelectListView} = require 'atom'\n\nclass MySelectListView extends SelectListView\n initialize: ->\n super\n @addClass('overlay from-top')\n @setItems(['Hello', 'World'])\n atom.workspaceView.append(this)\n @focusFilterEditor()\n\n viewForItem: (item) ->\n \"
  • #{item}
  • \"\n\n confirmed: (item) ->\n console.log(\"#{item} was selected\")\n``` ", - "range": [ - [ - 36, - 0 - ], - [ - 291, - 34 - ] - ] - } - }, - "37": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 37, - 12 - ], - [ - 46, - 1 - ] - ] - } - }, - "46": { - "12": { - "name": "maxItems", - "type": "primitive", - "range": [ - [ - 46, - 12 - ], - [ - 46, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "47": { - "19": { - "name": "scheduleTimeout", - "type": "primitive", - "range": [ - [ - 47, - 19 - ], - [ - 47, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "48": { - "17": { - "name": "inputThrottle", - "type": "primitive", - "range": [ - [ - 48, - 17 - ], - [ - 48, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "49": { - "14": { - "name": "cancelling", - "type": "primitive", - "range": [ - [ - 49, - 14 - ], - [ - 49, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "55": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 14 - ], - [ - 90, - 1 - ] - ], - "doc": " Public: Initialize the select list view.\n\nThis method can be overridden by subclasses but `super` should always\nbe called. " - } - }, - "90": { - "24": { - "name": "schedulePopulateList", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 24 - ], - [ - 102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "102": { - "12": { - "name": "setItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 102, - 12 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Set the array of items to display in the list.\n\nThis should be model items not actual views. {::viewForItem} will be\ncalled to render the item when it is being appended to the list view.\n\nitems - The {Array} of model items to display in the list (default: []). " - } - }, - "109": { - "12": { - "name": "setError", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 109, - 12 - ], - [ - 119, - 1 - ] - ], - "doc": " Public: Set the error message to display.\n\nmessage - The {String} error message (default: ''). " - } - }, - "119": { - "14": { - "name": "setLoading", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 119, - 14 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Set the loading message to display.\n\nmessage - The {String} loading message (default: ''). " - } - }, - "136": { - "18": { - "name": "getFilterQuery", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 18 - ], - [ - 143, - 1 - ] - ], - "doc": " Public: Get the filter query to use when fuzzy filtering the visible\nelements.\n\nBy default this method returns the text in the mini editor but it can be\noverridden by subclasses if needed.\n\nReturns a {String} to use when fuzzy filtering the elements to display. " - } - }, - "143": { - "16": { - "name": "populateList", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 143, - 16 - ], - [ - 174, - 1 - ] - ], - "doc": " Public: Populate the list view with the model items previously set by\ncalling {::setItems}.\n\nSubclasses may override this method but should always call `super`. " - } - }, - "174": { - "19": { - "name": "getEmptyMessage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "itemCount", - "filteredItemCount" - ], - "range": [ - [ - 174, - 19 - ], - [ - 174, - 70 - ] - ], - "doc": " Public: Get the message to display when there are no items.\n\nSubclasses may override this method to customize the message.\n\nitemCount - The {Number} of items in the array specified to {::setItems}\nfilteredItemCount - The {Number} of items that pass the fuzzy filter test.\n\nReturns a {String} message (default: 'No matches found'). " - } - }, - "179": { - "15": { - "name": "setMaxItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 179, - 15 - ], - [ - 179, - 28 - ] - ], - "doc": " Public: Set the maximum numbers of items to display in the list.\n\nmaxItems - The maximum {Number} of items to display. " - } - }, - "181": { - "26": { - "name": "selectPreviousItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 181, - 26 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "22": { - "name": "selectNextItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 186, - 22 - ], - [ - 191, - 1 - ] - ], - "doc": "~Private~" - } - }, - "191": { - "18": { - "name": "selectItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 191, - 18 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "20": { - "name": "scrollToItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 197, - 20 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "23": { - "name": "getSelectedItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 207, - 23 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "19": { - "name": "getSelectedItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 19 - ], - [ - 216, - 1 - ] - ], - "doc": " Public: Get the model item that is currently selected in the list view.\n\nReturns a model item. " - } - }, - "216": { - "20": { - "name": "confirmSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 216, - 20 - ], - [ - 233, - 1 - ] - ], - "doc": "~Private~" - } - }, - "233": { - "15": { - "name": "viewForItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 233, - 15 - ], - [ - 244, - 1 - ] - ], - "doc": " Public: Create a view for the given model item.\n\nThis method must be overridden by subclasses.\n\nThis is called when the item is about to appended to the list view.\n\nitem - The model item being rendered. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a String of HTML, DOM element, jQuery object, or View. " - } - }, - "244": { - "13": { - "name": "confirmed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 244, - 13 - ], - [ - 258, - 1 - ] - ], - "doc": " Public: Callback function for when an item is selected.\n\nThis method must be overridden by subclasses.\n\nitem - The selected model item. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a DOM element, jQuery object, or {View}. " - } - }, - "258": { - "16": { - "name": "getFilterKey", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 258, - 16 - ], - [ - 258, - 17 - ] - ], - "doc": " Public: Get the property name to use when filtering items.\n\nThis method may be overridden by classes to allow fuzzy filtering based\non a specific property of the item objects.\n\nFor example if the objects you pass to {::setItems} are of the type\n`{\"id\": 3, \"name\": \"Atom\"}` then you would return `\"name\"` from this method\nto fuzzy filter by that property when text is entered into this view's\neditor.\n\nReturns the property name to fuzzy filter by. " - } - }, - "261": { - "21": { - "name": "focusFilterEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 21 - ], - [ - 266, - 1 - ] - ], - "doc": "Public: Focus the fuzzy filter editor view. " - } - }, - "266": { - "23": { - "name": "storeFocusedElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 266, - 23 - ], - [ - 269, - 1 - ] - ], - "doc": " Public: Store the currently focused element. This element will be given\nback focus when {::cancel} is called. " - } - }, - "269": { - "16": { - "name": "restoreFocus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 16 - ], - [ - 275, - 1 - ] - ], - "doc": "~Private~" - } - }, - "275": { - "13": { - "name": "cancelled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 275, - 13 - ], - [ - 283, - 1 - ] - ], - "doc": "~Private~" - } - }, - "283": { - "10": { - "name": "cancel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 283, - 10 - ], - [ - 291, - 34 - ] - ], - "doc": " Public: Cancel and close this select list view.\n\nThis restores focus to the previously focused element if\n{::storeFocusedElement} was called prior to this view being attached. " - } - } - }, - "exports": 36 - }, - "src/selection-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 8 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - } - }, - "4": { - "0": { - "type": "class", - "name": "SelectionView", - "bindingType": "exports", - "classProperties": [ - [ - 6, - 12 - ] - ], - "prototypeProperties": [ - [ - 9, - 11 - ], - [ - 10, - 16 - ], - [ - 12, - 14 - ], - [ - 19, - 17 - ], - [ - 37, - 16 - ], - [ - 50, - 26 - ], - [ - 57, - 16 - ], - [ - 61, - 18 - ], - [ - 64, - 18 - ], - [ - 67, - 19 - ], - [ - 70, - 19 - ], - [ - 73, - 13 - ], - [ - 79, - 15 - ], - [ - 82, - 10 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 84, - 9 - ] - ] - } - }, - "6": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 12 - ], - [ - 9, - 1 - ] - ], - "doc": "~Private~" - } - }, - "9": { - "11": { - "name": "regions", - "type": "primitive", - "range": [ - [ - 9, - 11 - ], - [ - 9, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "16": { - "name": "needsRemoval", - "type": "primitive", - "range": [ - [ - 10, - 16 - ], - [ - 10, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 14 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 19, - 17 - ], - [ - 37, - 1 - ] - ], - "doc": "~Private~" - } - }, - "37": { - "16": { - "name": "appendRegion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rows", - "start", - "end" - ], - "range": [ - [ - 37, - 16 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "26": { - "name": "getCenterPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 26 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "16": { - "name": "clearRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 16 - ], - [ - 61, - 1 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 18 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 18 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "19": { - "name": "needsAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 19 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 70, - 19 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "13": { - "name": "highlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 13 - ], - [ - 79, - 1 - ] - ], - "doc": "~Private~" - } - }, - "79": { - "15": { - "name": "unhighlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 15 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 10 - ], - [ - 84, - 9 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/selection.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x", - "name": "pick", - "exportsProperty": "pick" - } - }, - "6": { - "0": { - "type": "class", - "name": "Selection", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 7, - 10 - ], - [ - 8, - 10 - ], - [ - 9, - 10 - ], - [ - 10, - 22 - ], - [ - 11, - 12 - ], - [ - 12, - 19 - ], - [ - 14, - 15 - ], - [ - 25, - 11 - ], - [ - 28, - 12 - ], - [ - 34, - 19 - ], - [ - 38, - 11 - ], - [ - 45, - 14 - ], - [ - 49, - 22 - ], - [ - 53, - 18 - ], - [ - 60, - 18 - ], - [ - 64, - 18 - ], - [ - 74, - 18 - ], - [ - 91, - 21 - ], - [ - 98, - 25 - ], - [ - 101, - 25 - ], - [ - 104, - 25 - ], - [ - 107, - 25 - ], - [ - 110, - 14 - ], - [ - 114, - 11 - ], - [ - 118, - 9 - ], - [ - 126, - 14 - ], - [ - 138, - 18 - ], - [ - 144, - 14 - ], - [ - 155, - 18 - ], - [ - 163, - 26 - ], - [ - 184, - 26 - ], - [ - 188, - 15 - ], - [ - 192, - 14 - ], - [ - 196, - 12 - ], - [ - 200, - 14 - ], - [ - 205, - 15 - ], - [ - 210, - 18 - ], - [ - 214, - 13 - ], - [ - 219, - 27 - ], - [ - 224, - 32 - ], - [ - 229, - 21 - ], - [ - 234, - 27 - ], - [ - 239, - 21 - ], - [ - 244, - 31 - ], - [ - 248, - 32 - ], - [ - 252, - 28 - ], - [ - 257, - 36 - ], - [ - 262, - 40 - ], - [ - 266, - 21 - ], - [ - 284, - 22 - ], - [ - 289, - 21 - ], - [ - 316, - 14 - ], - [ - 349, - 20 - ], - [ - 383, - 10 - ], - [ - 399, - 22 - ], - [ - 405, - 25 - ], - [ - 412, - 13 - ], - [ - 417, - 30 - ], - [ - 422, - 30 - ], - [ - 428, - 27 - ], - [ - 434, - 27 - ], - [ - 443, - 10 - ], - [ - 455, - 21 - ], - [ - 462, - 21 - ], - [ - 467, - 22 - ], - [ - 477, - 14 - ], - [ - 496, - 13 - ], - [ - 522, - 23 - ], - [ - 532, - 26 - ], - [ - 542, - 22 - ], - [ - 546, - 18 - ], - [ - 551, - 7 - ], - [ - 561, - 8 - ], - [ - 579, - 8 - ], - [ - 584, - 19 - ], - [ - 595, - 13 - ], - [ - 603, - 25 - ], - [ - 606, - 28 - ], - [ - 609, - 23 - ], - [ - 617, - 18 - ], - [ - 625, - 9 - ], - [ - 641, - 11 - ], - [ - 644, - 22 - ] - ], - "doc": "Public: Represents a selection in the {Editor}. ", - "range": [ - [ - 6, - 0 - ], - [ - 647, - 45 - ] - ] - } - }, - "7": { - "10": { - "name": "cursor", - "type": "primitive", - "range": [ - [ - 7, - 10 - ], - [ - 7, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "8": { - "10": { - "name": "marker", - "type": "primitive", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "10": { - "name": "editor", - "type": "primitive", - "range": [ - [ - 9, - 10 - ], - [ - 9, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "22": { - "name": "initialScreenRange", - "type": "primitive", - "range": [ - [ - 10, - 22 - ], - [ - 10, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "11": { - "12": { - "name": "wordwise", - "type": "primitive", - "range": [ - [ - 11, - 12 - ], - [ - 11, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "19": { - "name": "needsAutoscroll", - "type": "primitive", - "range": [ - [ - 12, - 19 - ], - [ - 12, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 14, - 15 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 11 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "12": { - "name": "finalize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 12 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 19 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "11": { - "name": "isEmpty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 38, - 11 - ], - [ - 45, - 1 - ] - ], - "doc": "Public: Determines if the selection contains anything. " - } - }, - "45": { - "14": { - "name": "isReversed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 14 - ], - [ - 49, - 1 - ] - ], - "doc": " Public: Determines if the ending position of a marker is greater than the\nstarting position.\n\nThis can happen when, for example, you highlight text \"up\" in a {TextBuffer}. " - } - }, - "49": { - "22": { - "name": "isSingleScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 22 - ], - [ - 53, - 1 - ] - ], - "doc": "Public: Returns whether the selection is a single line or not. " - } - }, - "53": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 18 - ], - [ - 60, - 1 - ] - ], - "doc": "Public: Returns the screen {Range} for the selection. " - } - }, - "60": { - "18": { - "name": "setScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 60, - 18 - ], - [ - 64, - 1 - ] - ], - "doc": " Public: Modifies the screen range for the selection.\n\nscreenRange - The new {Range} to use.\noptions - A hash of options matching those found in {::setBufferRange}. " - } - }, - "64": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 18 - ], - [ - 74, - 1 - ] - ], - "doc": "Public: Returns the buffer {Range} for the selection. " - } - }, - "74": { - "18": { - "name": "setBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 74, - 18 - ], - [ - 91, - 1 - ] - ], - "doc": " Public: Modifies the buffer {Range} for the selection.\n\nscreenRange - The new {Range} to select.\noptions - An {Object} with the keys:\n :preserveFolds - if `true`, the fold settings are preserved after the\n selection moves.\n :autoscroll - if `true`, the {Editor} scrolls to the new selection. " - } - }, - "91": { - "21": { - "name": "getBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 21 - ], - [ - 98, - 1 - ] - ], - "doc": " Public: Returns the starting and ending buffer rows the selection is\nhighlighting.\n\nReturns an {Array} of two {Number}s: the starting row, and the ending row. " - } - }, - "98": { - "25": { - "name": "getTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 25 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "getTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 25 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "25": { - "name": "getHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 25 - ], - [ - 107, - 1 - ] - ], - "doc": "~Private~" - } - }, - "107": { - "25": { - "name": "getHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 25 - ], - [ - 110, - 1 - ] - ], - "doc": "~Private~" - } - }, - "110": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 14 - ], - [ - 114, - 1 - ] - ], - "doc": "~Private~" - } - }, - "114": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 114, - 11 - ], - [ - 118, - 1 - ] - ], - "doc": "Public: Returns the text in the selection. " - } - }, - "118": { - "9": { - "name": "clear", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 118, - 9 - ], - [ - 126, - 1 - ] - ], - "doc": "Public: Clears the selection, moving the marker to the head. " - } - }, - "126": { - "14": { - "name": "selectWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 14 - ], - [ - 138, - 1 - ] - ], - "doc": " Public: Modifies the selection to encompass the current word.\n\nReturns a {Range}. " - } - }, - "138": { - "18": { - "name": "expandOverWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 18 - ], - [ - 144, - 1 - ] - ], - "doc": " Public: Expands the newest selection to include the entire word on which\nthe cursors rests. " - } - }, - "144": { - "14": { - "name": "selectLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 144, - 14 - ], - [ - 155, - 1 - ] - ], - "doc": " Public: Selects an entire line in the buffer.\n\nrow - The line {Number} to select (default: the row of the cursor). " - } - }, - "155": { - "18": { - "name": "expandOverLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 155, - 18 - ], - [ - 163, - 1 - ] - ], - "doc": " Public: Expands the newest selection to include the entire line on which\nthe cursor currently rests.\n\nIt also includes the newline character. " - } - }, - "163": { - "26": { - "name": "selectToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 163, - 26 - ], - [ - 184, - 1 - ] - ], - "doc": " Public: Selects the text from the current cursor position to a given screen\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "184": { - "26": { - "name": "selectToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 184, - 26 - ], - [ - 188, - 1 - ] - ], - "doc": " Public: Selects the text from the current cursor position to a given buffer\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "188": { - "15": { - "name": "selectRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 15 - ], - [ - 192, - 1 - ] - ], - "doc": "Public: Selects the text one position right of the cursor. " - } - }, - "192": { - "14": { - "name": "selectLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 192, - 14 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Selects the text one position left of the cursor. " - } - }, - "196": { - "12": { - "name": "selectUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 196, - 12 - ], - [ - 200, - 1 - ] - ], - "doc": "Public: Selects all the text one position above the cursor. " - } - }, - "200": { - "14": { - "name": "selectDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 200, - 14 - ], - [ - 205, - 1 - ] - ], - "doc": "Public: Selects all the text one position below the cursor. " - } - }, - "205": { - "15": { - "name": "selectToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 205, - 15 - ], - [ - 210, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the top of\nthe buffer. " - } - }, - "210": { - "18": { - "name": "selectToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 18 - ], - [ - 214, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the bottom\nof the buffer. " - } - }, - "214": { - "13": { - "name": "selectAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 214, - 13 - ], - [ - 219, - 1 - ] - ], - "doc": "Public: Selects all the text in the buffer. " - } - }, - "219": { - "27": { - "name": "selectToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 219, - 27 - ], - [ - 224, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the line. " - } - }, - "224": { - "32": { - "name": "selectToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 32 - ], - [ - 229, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the first\ncharacter of the line. " - } - }, - "229": { - "21": { - "name": "selectToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 229, - 21 - ], - [ - 234, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the end of\nthe line. " - } - }, - "234": { - "27": { - "name": "selectToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 27 - ], - [ - 239, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the word. " - } - }, - "239": { - "21": { - "name": "selectToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 239, - 21 - ], - [ - 244, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the end of\nthe word. " - } - }, - "244": { - "31": { - "name": "selectToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 244, - 31 - ], - [ - 248, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next word. " - } - }, - "248": { - "32": { - "name": "selectToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 248, - 32 - ], - [ - 252, - 1 - ] - ], - "doc": "Public: Selects text to the previous word boundary. " - } - }, - "252": { - "28": { - "name": "selectToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 252, - 28 - ], - [ - 257, - 1 - ] - ], - "doc": "Public: Selects text to the next word boundary. " - } - }, - "257": { - "36": { - "name": "selectToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 257, - 36 - ], - [ - 262, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next paragraph. " - } - }, - "262": { - "40": { - "name": "selectToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 262, - 40 - ], - [ - 266, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the previous paragraph. " - } - }, - "266": { - "21": { - "name": "addSelectionBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 266, - 21 - ], - [ - 284, - 1 - ] - ], - "doc": "Public: Moves the selection down one row. " - } - }, - "284": { - "22": { - "name": "getGoalBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 22 - ], - [ - 289, - 1 - ] - ], - "doc": "FIXME: I have no idea what this does. " - } - }, - "289": { - "21": { - "name": "addSelectionAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 289, - 21 - ], - [ - 316, - 1 - ] - ], - "doc": "Public: Moves the selection up one row. " - } - }, - "316": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 316, - 14 - ], - [ - 349, - 1 - ] - ], - "doc": " Public: Replaces text at the current selection.\n\ntext - A {String} representing the text to add\noptions - An {Object} with keys:\n :select - if `true`, selects the newly added text.\n :autoIndent - if `true`, indents all inserted text appropriately.\n :autoIndentNewline - if `true`, indent newline appropriately.\n :autoDecreaseIndent - if `true`, decreases indent level appropriately\n (for example, when a closing bracket is inserted).\n :undo - if `skip`, skips the undo stack for this operation. " - } - }, - "349": { - "20": { - "name": "normalizeIndents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "indentBasis" - ], - "range": [ - [ - 349, - 20 - ], - [ - 383, - 1 - ] - ], - "doc": " Public: Indents the given text to the suggested level based on the grammar.\n\ntext - The {String} to indent within the selection.\nindentBasis - The beginning indent level. " - } - }, - "383": { - "10": { - "name": "indent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 383, - 10 - ], - [ - 399, - 1 - ] - ], - "doc": " Private: Indent the current line(s).\n\nIf the selection is empty, indents the current line if the cursor precedes\nnon-whitespace characters, and otherwise inserts a tab. If the selection is\nnon empty, calls {::indentSelectedRows}.\n\noptions - A {Object} with the keys:\n :autoIndent - If `true`, the line is indented to an automatically-inferred\n level. Otherwise, {Editor::getTabText} is inserted. " - } - }, - "399": { - "22": { - "name": "indentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 399, - 22 - ], - [ - 405, - 1 - ] - ], - "doc": "Public: If the selection spans multiple rows, indent all of them. " - } - }, - "405": { - "25": { - "name": "setIndentationForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line", - "indentLevel" - ], - "range": [ - [ - 405, - 25 - ], - [ - 412, - 1 - ] - ], - "doc": "Public: ? " - } - }, - "412": { - "13": { - "name": "backspace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 412, - 13 - ], - [ - 417, - 1 - ] - ], - "doc": " Public: Removes the first character before the selection if the selection\nis empty otherwise it deletes the selection. " - } - }, - "417": { - "30": { - "name": "backspaceToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 417, - 30 - ], - [ - 422, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " - } - }, - "422": { - "30": { - "name": "backspaceToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 422, - 30 - ], - [ - 428, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " - } - }, - "428": { - "27": { - "name": "deleteToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 27 - ], - [ - 434, - 1 - ] - ], - "doc": " Public: Removes from the start of the selection to the beginning of the\ncurrent word if the selection is empty otherwise it deletes the selection. " - } - }, - "434": { - "27": { - "name": "deleteToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 434, - 27 - ], - [ - 443, - 1 - ] - ], - "doc": " Public: Removes from the beginning of the line which the selection begins on\nall the way through to the end of the selection. " - } - }, - "443": { - "10": { - "name": "delete", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 443, - 10 - ], - [ - 455, - 1 - ] - ] - } - }, - "455": { - "21": { - "name": "deleteToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 455, - 21 - ], - [ - 462, - 1 - ] - ], - "doc": " Public: If the selection is empty, removes all text from the cursor to the\nend of the line. If the cursor is already at the end of the line, it\nremoves the following newline. If the selection isn't empty, only deletes\nthe contents of the selection. " - } - }, - "462": { - "21": { - "name": "deleteToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 462, - 21 - ], - [ - 467, - 1 - ] - ], - "doc": " Public: Removes the selection or all characters from the start of the\nselection to the end of the current word if nothing is selected. " - } - }, - "467": { - "22": { - "name": "deleteSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 467, - 22 - ], - [ - 477, - 1 - ] - ], - "doc": "Public: Removes only the selected text. " - } - }, - "477": { - "14": { - "name": "deleteLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 477, - 14 - ], - [ - 496, - 1 - ] - ], - "doc": " Public: Removes the line at the beginning of the selection if the selection\nis empty unless the selection spans multiple lines in which case all lines\nare removed. " - } - }, - "496": { - "13": { - "name": "joinLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 496, - 13 - ], - [ - 522, - 1 - ] - ], - "doc": " Public: Joins the current line with the one below it.\n\nIf there selection spans more than one line, all the lines are joined together. " - } - }, - "522": { - "23": { - "name": "outdentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 522, - 23 - ], - [ - 532, - 1 - ] - ], - "doc": "Public: Removes one level of indent from the currently selected rows. " - } - }, - "532": { - "26": { - "name": "autoIndentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 532, - 26 - ], - [ - 542, - 1 - ] - ], - "doc": " Public: Sets the indentation level of all selected rows to values suggested\nby the relevant grammars. " - } - }, - "542": { - "22": { - "name": "toggleLineComments", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 542, - 22 - ], - [ - 546, - 1 - ] - ], - "doc": " Public: Wraps the selected lines in comments if they aren't currently part\nof a comment.\n\nRemoves the comment if they are currently wrapped in a comment.\n\nReturns an Array of the commented {Range}s. " - } - }, - "546": { - "18": { - "name": "cutToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 546, - 18 - ], - [ - 551, - 1 - ] - ], - "doc": "Public: Cuts the selection until the end of the line. " - } - }, - "551": { - "7": { - "name": "cut", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 551, - 7 - ], - [ - 561, - 1 - ] - ], - "doc": "Public: Copies the selection to the clipboard and then deletes it. " - } - }, - "561": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 561, - 8 - ], - [ - 579, - 1 - ] - ], - "doc": " Public: Copies the current selection to the clipboard.\n\nIf the `maintainClipboard` is set to `true`, a specific metadata property\nis created to store each content copied to the clipboard. The clipboard\n`text` still contains the concatenation of the clipboard with the\ncurrent selection. " - } - }, - "579": { - "8": { - "name": "fold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 579, - 8 - ], - [ - 584, - 1 - ] - ], - "doc": "Public: Creates a fold containing the current selection. " - } - }, - "584": { - "19": { - "name": "modifySelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 584, - 19 - ], - [ - 595, - 1 - ] - ], - "doc": "~Private~" - } - }, - "595": { - "13": { - "name": "plantTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 595, - 13 - ], - [ - 603, - 1 - ] - ], - "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " - } - }, - "603": { - "25": { - "name": "intersectsBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 603, - 25 - ], - [ - 606, - 1 - ] - ], - "doc": " Public: Identifies if a selection intersects with a given buffer range.\n\nbufferRange - A {Range} to check against.\n\nReturns a Boolean. " - } - }, - "606": { - "28": { - "name": "intersectsScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 606, - 28 - ], - [ - 609, - 1 - ] - ], - "doc": "~Private~" - } - }, - "609": { - "23": { - "name": "intersectsScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 609, - 23 - ], - [ - 617, - 1 - ] - ], - "doc": "~Private~" - } - }, - "617": { - "18": { - "name": "intersectsWith", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection" - ], - "range": [ - [ - 617, - 18 - ], - [ - 625, - 1 - ] - ], - "doc": " Public: Identifies if a selection intersects with another selection.\n\notherSelection - A {Selection} to check against.\n\nReturns a Boolean. " - } - }, - "625": { - "9": { - "name": "merge", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection", - "options" - ], - "range": [ - [ - 625, - 9 - ], - [ - 641, - 1 - ] - ], - "doc": " Public: Combines the given selection into this selection and then destroys\nthe given selection.\n\notherSelection - A {Selection} to merge with.\noptions - A hash of options matching those found in {::setBufferRange}. " - } - }, - "641": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection" - ], - "range": [ - [ - 641, - 11 - ], - [ - 644, - 1 - ] - ], - "doc": " Public: Compare this selection's buffer range to another selection's buffer\nrange.\n\nSee {Range::compare} for more details.\n\notherSelection - A {Selection} to compare against. " - } - }, - "644": { - "22": { - "name": "screenRangeChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 644, - 22 - ], - [ - 647, - 45 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 6 - }, - "src/space-pen-extensions.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "1": { - "11": { - "name": "spacePen", - "type": "import", - "range": [ - [ - 1, - 11 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "space-pen" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "6": { - "9": { - "name": "spacePen", - "type": "primitive", - "range": [ - [ - 6, - 9 - ], - [ - 6, - 16 - ] - ] - } - }, - "7": { - "20": { - "name": "jQuery", - "type": "primitive", - "range": [ - [ - 7, - 20 - ], - [ - 7, - 25 - ] - ] - } - }, - "8": { - "19": { - "name": "jQuery.cleanData", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "elements" - ], - "range": [ - [ - 8, - 19 - ], - [ - 11, - 0 - ] - ], - "doc": null - } - }, - "13": { - "2": { - "type": "primitive", - "range": [ - [ - 13, - 2 - ], - [ - 19, - 19 - ] - ] - } - }, - "14": { - "4": { - "type": "primitive", - "range": [ - [ - 14, - 4 - ], - [ - 15, - 12 - ] - ] - }, - "10": { - "name": "1000", - "type": "primitive", - "range": [ - [ - 14, - 10 - ], - [ - 14, - 13 - ] - ] - } - }, - "15": { - "10": { - "name": "100", - "type": "primitive", - "range": [ - [ - 15, - 10 - ], - [ - 15, - 12 - ] - ] - } - }, - "16": { - "13": { - "name": "'body'", - "type": "primitive", - "range": [ - [ - 16, - 13 - ], - [ - 16, - 18 - ] - ] - } - }, - "17": { - "8": { - "type": "primitive", - "range": [ - [ - 17, - 8 - ], - [ - 17, - 11 - ] - ] - } - }, - "18": { - "13": { - "name": "'auto top'", - "type": "primitive", - "range": [ - [ - 18, - 13 - ], - [ - 18, - 22 - ] - ] - } - }, - "19": { - "19": { - "name": "2", - "type": "primitive", - "range": [ - [ - 19, - 19 - ], - [ - 19, - 19 - ] - ] - } - }, - "21": { - "21": { - "name": "humanizeKeystrokes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "keystroke" - ], - "range": [ - [ - 21, - 21 - ], - [ - 25, - 0 - ] - ], - "doc": "~Private~" - } - }, - "26": { - "15": { - "name": "getKeystroke", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bindings" - ], - "range": [ - [ - 26, - 15 - ], - [ - 31, - 0 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "26": { - "name": "requireBootstrapTooltip", - "type": "function", - "range": [ - [ - 32, - 26 - ], - [ - 35, - 59 - ] - ] - } - }, - "36": { - "23": { - "name": "jQuery.fn.setTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "tooltipOptions", - null - ], - "range": [ - [ - 36, - 23 - ], - [ - 49, - 0 - ] - ], - "doc": null - } - }, - "50": { - "24": { - "name": "jQuery.fn.hideTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 24 - ], - [ - 55, - 0 - ] - ], - "doc": null - } - }, - "56": { - "27": { - "name": "jQuery.fn.destroyTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 27 - ], - [ - 61, - 38 - ] - ], - "doc": null - } - }, - "68": { - "36": { - "name": "getKeystroke", - "type": "primitive", - "range": [ - [ - 68, - 36 - ], - [ - 68, - 47 - ] - ] - } - }, - "69": { - "42": { - "name": "humanizeKeystrokes", - "type": "primitive", - "range": [ - [ - 69, - 42 - ], - [ - 69, - 59 - ] - ] - } - }, - "71": { - "49": { - "name": "get", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 71, - 49 - ], - [ - 71, - 55 - ] - ], - "doc": null - } - } - }, - "exports": 73 - }, - "src/subscriber-mixin.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "1": { - "18": { - "type": "primitive", - "range": [ - [ - 1, - 18 - ], - [ - 1, - 55 - ] - ] - }, - "39": { - "name": "componentDidUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 1, - 39 - ], - [ - 1, - 55 - ] - ], - "doc": null - } - } - }, - "exports": 3 - }, - "src/syntax.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 11 - ] - ], - "bindingType": "variable", - "module": "clear-cut", - "name": "specificity", - "exportsProperty": "specificity" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 15 - ] - ], - "bindingType": "variable", - "module": "first-mate", - "name": "GrammarRegistry", - "exportsProperty": "GrammarRegistry" - }, - "18": { - "type": "import", - "range": [ - [ - 4, - 18 - ], - [ - 4, - 30 - ] - ], - "bindingType": "variable", - "module": "first-mate", - "name": "ScopeSelector", - "exportsProperty": "ScopeSelector" - } - }, - "5": { - "22": { - "name": "ScopedPropertyStore", - "type": "import", - "range": [ - [ - 5, - 22 - ], - [ - 5, - 52 - ] - ], - "bindingType": "variable", - "module": "scoped-property-store" - } - }, - "6": { - "20": { - "name": "PropertyAccessors", - "type": "import", - "range": [ - [ - 6, - 20 - ], - [ - 6, - 47 - ] - ], - "bindingType": "variable", - "module": "property-accessors" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 8, - 4 - ], - [ - 8, - 5 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - } - }, - "9": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 9, - 8 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "18": { - "0": { - "type": "class", - "name": "Syntax", - "bindingType": "exports", - "classProperties": [ - [ - 23, - 16 - ] - ], - "prototypeProperties": [ - [ - 28, - 15 - ], - [ - 32, - 13 - ], - [ - 35, - 15 - ], - [ - 42, - 17 - ], - [ - 49, - 20 - ], - [ - 52, - 19 - ], - [ - 67, - 15 - ], - [ - 75, - 22 - ], - [ - 84, - 32 - ] - ], - "doc": " Public: Syntax class holding the grammars used for tokenizing.\n\nAn instance of this class is always available as the `atom.syntax` global.\n\nThe Syntax class also contains properties for things such as the\nlanguage-specific comment regexes. ", - "range": [ - [ - 18, - 0 - ], - [ - 85, - 52 - ] - ] - } - }, - "23": { - "16": { - "name": "deserialize", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 23, - 16 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 15 - ], - [ - 32, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "13": { - "name": "serialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 32, - 13 - ], - [ - 35, - 1 - ] - ], - "doc": "~Private~" - } - }, - "35": { - "15": { - "name": "createToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "scopes" - ], - "range": [ - [ - 35, - 15 - ], - [ - 35, - 59 - ] - ], - "doc": "~Private~" - } - }, - "42": { - "17": { - "name": "addProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 42, - 17 - ], - [ - 49, - 1 - ] - ], - "doc": "~Private~" - } - }, - "49": { - "20": { - "name": "removeProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 49, - 20 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "19": { - "name": "clearProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 19 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "15": { - "name": "getProperty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scope", - "keyPath" - ], - "range": [ - [ - 67, - 15 - ], - [ - 75, - 1 - ] - ], - "doc": " Public: Get a property for the given scope and key path.\n\n## Example\n```coffee\ncomment = atom.syntax.getProperty(['.source.ruby'], 'editor.commentStart')\nconsole.log(comment) # '# '\n```\n\nscope - An {Array} of {String} scopes.\nkeyPath - A {String} key path.\n\nReturns a {String} property value or undefined. " - } - }, - "75": { - "22": { - "name": "propertiesForScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scope", - "keyPath" - ], - "range": [ - [ - 75, - 22 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "32": { - "name": "cssSelectorFromScopeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeSelector" - ], - "range": [ - [ - 84, - 32 - ], - [ - 85, - 52 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 18 - }, - "src/task-bootstrap.coffee": { - "objects": { - "0": { - "1": { - "type": "primitive", - "name": "userAgent", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "exportsProperty": "userAgent" - }, - "12": { - "type": "primitive", - "name": "taskPath", - "range": [ - [ - 0, - 12 - ], - [ - 0, - 19 - ] - ], - "exportsProperty": "taskPath" - } - }, - "3": { - "15": { - "name": "setupGlobals", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 3, - 15 - ], - [ - 28, - 0 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "15": { - "name": "handleEvents", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 15 - ], - [ - 42, - 0 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "10": { - "name": "handler", - "type": "import", - "range": [ - [ - 45, - 10 - ], - [ - 45, - 26 - ] - ], - "bindingType": "variable", - "module": "askPat" - } - } - }, - "exports": {} - }, - "src/task.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "1": { - "16": { - "name": "child_process", - "type": "import", - "range": [ - [ - 1, - 16 - ], - [ - 1, - 38 - ] - ], - "bindingType": "variable", - "module": "child_process", - "builtin": true - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "21": { - "0": { - "type": "class", - "name": "Task", - "bindingType": "exports", - "classProperties": [ - [ - 29, - 9 - ] - ], - "prototypeProperties": [ - [ - 41, - 12 - ], - [ - 47, - 15 - ], - [ - 73, - 16 - ], - [ - 82, - 9 - ], - [ - 95, - 8 - ], - [ - 102, - 13 - ] - ], - "doc": " Public: Run a node script in a separate process.\n\nUsed by the fuzzy-finder.\n\n## Events\n\n* task:log - Emitted when console.log is called within the task.\n* task:warn - Emitted when console.warn is called within the task.\n* task:error - Emitted when console.error is called within the task.\n* task:completed - Emitted when the task has succeeded or failed.\n\n## Requiring in packages\n\n```coffee\n {Task} = require 'atom'\n``` ", - "range": [ - [ - 21, - 0 - ], - [ - 109, - 10 - ] - ] - } - }, - "29": { - "9": { - "name": "once", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "taskPath", - "args" - ], - "range": [ - [ - 29, - 9 - ], - [ - 41, - 1 - ] - ], - "doc": " Public: A helper method to easily launch and run a task once.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file which\n exports a single {Function} to execute.\nargs - The arguments to pass to the exported function. " - } - }, - "41": { - "12": { - "name": "callback", - "type": "primitive", - "range": [ - [ - 41, - 12 - ], - [ - 41, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "47": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "taskPath" - ], - "range": [ - [ - 47, - 15 - ], - [ - 73, - 1 - ] - ], - "doc": " Public: Creates a task.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file that\n exports a single {Function} to execute. " - } - }, - "73": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 16 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Routes messages from the child to the appropriate event. " - } - }, - "82": { - "9": { - "name": "start", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args", - "callback" - ], - "range": [ - [ - 82, - 9 - ], - [ - 95, - 1 - ] - ], - "doc": " Public: Starts the task.\n\nargs - The arguments to pass to the function exported by this task's script.\ncallback - An optional {Function} to call when the task completes. " - } - }, - "95": { - "8": { - "name": "send", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 95, - 8 - ], - [ - 102, - 1 - ] - ], - "doc": " Public: Send message to the task.\n\nmessage - The message to send to the task. " - } - }, - "102": { - "13": { - "name": "terminate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 13 - ], - [ - 109, - 10 - ] - ], - "doc": " Public: Forcefully stop the running task.\n\nNo events are emitted. " - } - } - }, - "exports": 21 - }, - "src/text-utils.coffee": { - "objects": { - "0": { - "18": { - "name": "isHighSurrogate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 0, - 18 - ], - [ - 2, - 0 - ] - ], - "doc": "~Private~" - } - }, - "3": { - "17": { - "name": "isLowSurrogate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 3, - 17 - ], - [ - 11, - 21 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "18": { - "name": "isSurrogatePair", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 12, - 18 - ], - [ - 22, - 21 - ] - ], - "doc": " Private: Is the character at the given index the start of a high/low surrogate pair?\n\nstring - The {String} to check for a surrogate pair.\nindex - The {Number} index to look for a surrogate pair at.\n\nReturn a {Boolean}. " - } - }, - "23": { - "20": { - "name": "getCharacterCount", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 23, - 20 - ], - [ - 32, - 22 - ] - ], - "doc": " Private: Get the number of characters in the string accounting for surrogate pairs.\n\nThis method counts high/low surrogate pairs as a single character and will\nalways returns a value less than or equal to `string.length`.\n\nstring - The {String} to count the number of full characters in.\n\nReturns a {Number}. " - } - }, - "33": { - "19": { - "name": "hasSurrogatePair", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 33, - 19 - ], - [ - 35, - 0 - ] - ], - "doc": " Private: Does the given string contain at least one surrogate pair?\n\nstring - The {String} to check for the presence of surrogate pairs.\n\nReturns a {Boolean}. " - } - } - }, - "exports": 36 - }, - "src/theme-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.1" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q@~1.0.1" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "8": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "9": { - "1": { - "type": "import", - "range": [ - [ - 9, - 1 - ], - [ - 9, - 4 - ] - ], - "bindingType": "variable", - "module": "pathwatcher", - "name": "File", - "exportsProperty": "File" - } - }, - "15": { - "0": { - "type": "class", - "name": "ThemeManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 18, - 15 - ], - [ - 22, - 21 - ], - [ - 27, - 18 - ], - [ - 31, - 18 - ], - [ - 35, - 19 - ], - [ - 39, - 19 - ], - [ - 42, - 20 - ], - [ - 47, - 24 - ], - [ - 57, - 18 - ], - [ - 82, - 20 - ], - [ - 87, - 20 - ], - [ - 93, - 20 - ], - [ - 96, - 18 - ], - [ - 109, - 25 - ], - [ - 116, - 25 - ], - [ - 121, - 22 - ], - [ - 133, - 23 - ], - [ - 137, - 25 - ], - [ - 142, - 26 - ], - [ - 145, - 21 - ], - [ - 160, - 21 - ], - [ - 169, - 18 - ], - [ - 175, - 22 - ], - [ - 197, - 14 - ], - [ - 200, - 20 - ], - [ - 209, - 19 - ] - ], - "doc": " Public: Handles loading and activating available themes.\n\nAn instance of this class is always available as the `atom.themes` global. ", - "range": [ - [ - 15, - 0 - ], - [ - 222, - 31 - ] - ] - } - }, - "18": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 18, - 15 - ], - [ - 22, - 1 - ] - ], - "doc": "~Private~" - } - }, - "22": { - "21": { - "name": "getAvailableNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 22, - 21 - ], - [ - 27, - 1 - ] - ], - "doc": "~Private~" - } - }, - "27": { - "18": { - "name": "getLoadedNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 18 - ], - [ - 31, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded theme names. " - } - }, - "31": { - "18": { - "name": "getActiveNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 31, - 18 - ], - [ - 35, - 1 - ] - ], - "doc": "Public: Get an array of all the active theme names. " - } - }, - "35": { - "19": { - "name": "getActiveThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 35, - 19 - ], - [ - 39, - 1 - ] - ], - "doc": "Public: Get an array of all the active themes. " - } - }, - "39": { - "19": { - "name": "getLoadedThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 39, - 19 - ], - [ - 42, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded themes. " - } - }, - "42": { - "20": { - "name": "activatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "themePackages" - ], - "range": [ - [ - 42, - 20 - ], - [ - 42, - 55 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "24": { - "name": "getEnabledThemeNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 47, - 24 - ], - [ - 57, - 1 - ] - ], - "doc": " Private: Get the enabled theme names from the config.\n\nReturns an array of theme names in the order that they should be activated. " - } - }, - "57": { - "18": { - "name": "activateThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 18 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "20": { - "name": "deactivateThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 20 - ], - [ - 87, - 1 - ] - ], - "doc": "~Private~" - } - }, - "87": { - "20": { - "name": "refreshLessCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 87, - 20 - ], - [ - 93, - 1 - ] - ], - "doc": "~Private~" - } - }, - "93": { - "20": { - "name": "setEnabledThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "enabledThemeNames" - ], - "range": [ - [ - 93, - 20 - ], - [ - 96, - 1 - ] - ], - "doc": " Public: Set the list of enabled themes.\n\nenabledThemeNames - An {Array} of {String} theme names. " - } - }, - "96": { - "18": { - "name": "getImportPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 18 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "25": { - "name": "getUserStylesheetPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 25 - ], - [ - 116, - 1 - ] - ], - "doc": "Public: Returns the {String} path to the user's stylesheet under ~/.atom " - } - }, - "116": { - "25": { - "name": "unwatchUserStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 25 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "22": { - "name": "loadUserStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 121, - 22 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "23": { - "name": "loadBaseStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 23 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "25": { - "name": "reloadBaseStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 25 - ], - [ - 142, - 1 - ] - ], - "doc": "~Private~" - } - }, - "142": { - "26": { - "name": "stylesheetElementForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id", - "htmlElement" - ], - "range": [ - [ - 142, - 26 - ], - [ - 145, - 1 - ] - ], - "doc": "~Private~" - } - }, - "145": { - "21": { - "name": "resolveStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 145, - 21 - ], - [ - 160, - 1 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "21": { - "name": "requireStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "type", - "htmlElement" - ], - "range": [ - [ - 160, - 21 - ], - [ - 169, - 1 - ] - ], - "doc": " Public: Resolve and apply the stylesheet specified by the path.\n\nThis supports both CSS and LESS stylsheets.\n\nstylesheetPath - A {String} path to the stylesheet that can be an absolute\n path or a relative path that will be resolved against the\n load path.\n\nReturns the absolute path to the required stylesheet. " - } - }, - "169": { - "18": { - "name": "loadStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "importFallbackVariables" - ], - "range": [ - [ - 169, - 18 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "22": { - "name": "loadLessStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lessStylesheetPath", - "importFallbackVariables" - ], - "range": [ - [ - 175, - 22 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "14": { - "name": "stringToId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 197, - 14 - ], - [ - 200, - 1 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "20": { - "name": "removeStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 200, - 20 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "19": { - "name": "applyStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "text", - "type", - "htmlElement" - ], - "range": [ - [ - 209, - 19 - ], - [ - 222, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 15 - }, - "src/theme-package.coffee": { - "objects": { - "0": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 14 - ] - ], - "bindingType": "variable", - "module": "q@~1.0.1" - } - }, - "1": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 1, - 10 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "4": { - "0": { - "type": "class", - "name": "ThemePackage", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 5, - 11 - ], - [ - 7, - 21 - ], - [ - 9, - 10 - ], - [ - 12, - 11 - ], - [ - 15, - 8 - ], - [ - 23, - 12 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 31, - 31 - ] - ] - } - }, - "5": { - "11": { - "name": "getType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 11 - ], - [ - 5, - 20 - ] - ] - } - }, - "7": { - "21": { - "name": "getStylesheetType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 7, - 21 - ], - [ - 7, - 30 - ] - ], - "doc": "~Private~" - } - }, - "9": { - "10": { - "name": "enable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 10 - ], - [ - 12, - 1 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "11": { - "name": "disable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 12, - 11 - ], - [ - 15, - 1 - ] - ], - "doc": "~Private~" - } - }, - "15": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 15, - 8 - ], - [ - 23, - 1 - ] - ], - "doc": "~Private~" - } - }, - "23": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 23, - 12 - ], - [ - 31, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/token.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "1": { - "12": { - "name": "textUtils", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 33 - ] - ], - "bindingType": "variable", - "path": "./text-utils" - } - }, - "3": { - "31": { - "type": "primitive", - "range": [ - [ - 3, - 31 - ], - [ - 3, - 32 - ] - ] - } - }, - "4": { - "20": { - "name": "/^[ ]+/", - "type": "primitive", - "range": [ - [ - 4, - 20 - ], - [ - 4, - 26 - ] - ] - } - }, - "5": { - "21": { - "name": "/[ ]+$/", - "type": "primitive", - "range": [ - [ - 5, - 21 - ], - [ - 5, - 27 - ] - ] - } - }, - "6": { - "14": { - "name": "/[&\"'<>]/g", - "type": "primitive", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 23 - ] - ] - } - }, - "7": { - "17": { - "name": "/./g", - "type": "primitive", - "range": [ - [ - 7, - 17 - ], - [ - 7, - 20 - ] - ] - } - }, - "8": { - "22": { - "name": "/^./", - "type": "primitive", - "range": [ - [ - 8, - 22 - ], - [ - 8, - 25 - ] - ] - } - }, - "9": { - "16": { - "name": "/^\\.?/", - "type": "primitive", - "range": [ - [ - 9, - 16 - ], - [ - 9, - 21 - ] - ] - } - }, - "10": { - "18": { - "name": "/\\S/", - "type": "primitive", - "range": [ - [ - 10, - 18 - ], - [ - 10, - 21 - ] - ] - } - }, - "12": { - "17": { - "name": "20000", - "type": "primitive", - "range": [ - [ - 12, - 17 - ], - [ - 12, - 21 - ] - ] - } - }, - "16": { - "0": { - "type": "class", - "name": "Token", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 9 - ], - [ - 18, - 20 - ], - [ - 19, - 10 - ], - [ - 20, - 12 - ], - [ - 21, - 13 - ], - [ - 22, - 24 - ], - [ - 23, - 25 - ], - [ - 25, - 15 - ], - [ - 30, - 11 - ], - [ - 33, - 13 - ], - [ - 36, - 11 - ], - [ - 41, - 31 - ], - [ - 44, - 24 - ], - [ - 86, - 26 - ], - [ - 106, - 27 - ], - [ - 113, - 21 - ], - [ - 116, - 21 - ], - [ - 119, - 17 - ], - [ - 129, - 20 - ], - [ - 132, - 24 - ], - [ - 138, - 18 - ], - [ - 185, - 16 - ], - [ - 194, - 23 - ] - ], - "doc": "Private: Represents a single unit of text as selected by a grammar. ", - "range": [ - [ - 16, - 0 - ], - [ - 201, - 16 - ] - ] - } - }, - "17": { - "9": { - "name": "value", - "type": "primitive", - "range": [ - [ - 17, - 9 - ], - [ - 17, - 12 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "20": { - "name": "hasSurrogatePair", - "type": "primitive", - "range": [ - [ - 18, - 20 - ], - [ - 18, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "10": { - "name": "scopes", - "type": "primitive", - "range": [ - [ - 19, - 10 - ], - [ - 19, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "20": { - "12": { - "name": "isAtomic", - "type": "primitive", - "range": [ - [ - 20, - 12 - ], - [ - 20, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "13": { - "name": "isHardTab", - "type": "primitive", - "range": [ - [ - 21, - 13 - ], - [ - 21, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "22": { - "24": { - "name": "hasLeadingWhitespace", - "type": "primitive", - "range": [ - [ - 22, - 24 - ], - [ - 22, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "23": { - "25": { - "name": "hasTrailingWhitespace", - "type": "primitive", - "range": [ - [ - 23, - 25 - ], - [ - 23, - 29 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "25": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 25, - 15 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "isEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 30, - 11 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "13": { - "name": "isBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 33, - 13 - ], - [ - 36, - 1 - ] - ], - "doc": "~Private~" - } - }, - "36": { - "11": { - "name": "splitAt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "splitIndex" - ], - "range": [ - [ - 36, - 11 - ], - [ - 41, - 1 - ] - ], - "doc": "~Private~" - } - }, - "41": { - "31": { - "name": "whitespaceRegexForTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 41, - 31 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "24": { - "name": "breakOutAtomicTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "breakOutLeadingSoftTabs", - "startColumn" - ], - "range": [ - [ - 44, - 24 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "26": { - "name": "breakOutSurrogatePairs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 26 - ], - [ - 106, - 1 - ] - ], - "doc": "~Private~" - } - }, - "106": { - "27": { - "name": "buildSurrogatePairToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "index" - ], - "range": [ - [ - 106, - 27 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "21": { - "name": "buildHardTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "column" - ], - "range": [ - [ - 113, - 21 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "21": { - "name": "buildSoftTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 116, - 21 - ], - [ - 119, - 1 - ] - ], - "doc": "~Private~" - } - }, - "119": { - "17": { - "name": "buildTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "isHardTab", - "column" - ], - "range": [ - [ - 119, - 17 - ], - [ - 129, - 1 - ] - ], - "doc": "~Private~" - } - }, - "129": { - "20": { - "name": "isOnlyWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 129, - 20 - ], - [ - 132, - 1 - ] - ], - "doc": "~Private~" - } - }, - "132": { - "24": { - "name": "matchesScopeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 132, - 24 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "18": { - "name": "getValueAsHtml", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 138, - 18 - ], - [ - 185, - 1 - ] - ], - "doc": "~Private~" - } - }, - "185": { - "16": { - "name": "escapeString", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "str", - "startIndex", - "endIndex" - ], - "range": [ - [ - 185, - 16 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "23": { - "name": "escapeStringReplace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "match" - ], - "range": [ - [ - 194, - 23 - ], - [ - 201, - 16 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 16 - }, - "src/tokenized-buffer.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "3": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "4": { - "16": { - "name": "TokenizedLine", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 41 - ] - ], - "bindingType": "variable", - "path": "./tokenized-line" - } - }, - "5": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "8": { - "0": { - "type": "class", - "name": "TokenizedBuffer", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 11 - ], - [ - 14, - 23 - ], - [ - 15, - 10 - ], - [ - 16, - 18 - ], - [ - 17, - 13 - ], - [ - 18, - 15 - ], - [ - 19, - 11 - ], - [ - 21, - 15 - ], - [ - 48, - 19 - ], - [ - 52, - 21 - ], - [ - 56, - 14 - ], - [ - 64, - 17 - ], - [ - 70, - 23 - ], - [ - 76, - 23 - ], - [ - 82, - 14 - ], - [ - 88, - 16 - ], - [ - 94, - 16 - ], - [ - 96, - 24 - ], - [ - 103, - 21 - ], - [ - 133, - 19 - ], - [ - 136, - 15 - ], - [ - 139, - 17 - ], - [ - 144, - 21 - ], - [ - 153, - 22 - ], - [ - 173, - 48 - ], - [ - 183, - 30 - ], - [ - 200, - 41 - ], - [ - 203, - 39 - ], - [ - 210, - 37 - ], - [ - 220, - 20 - ], - [ - 225, - 22 - ], - [ - 228, - 15 - ], - [ - 231, - 21 - ], - [ - 257, - 22 - ], - [ - 266, - 21 - ], - [ - 269, - 20 - ], - [ - 273, - 33 - ], - [ - 278, - 33 - ], - [ - 299, - 30 - ], - [ - 314, - 39 - ], - [ - 329, - 22 - ], - [ - 344, - 22 - ], - [ - 362, - 14 - ], - [ - 365, - 16 - ], - [ - 368, - 12 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 371, - 40 - ] - ] - } - }, - "13": { - "11": { - "name": "grammar", - "type": "primitive", - "range": [ - [ - 13, - 11 - ], - [ - 13, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "23": { - "name": "currentGrammarScore", - "type": "primitive", - "range": [ - [ - 14, - 23 - ], - [ - 14, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "15": { - "10": { - "name": "buffer", - "type": "primitive", - "range": [ - [ - 15, - 10 - ], - [ - 15, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "18": { - "name": "tokenizedLines", - "type": "primitive", - "range": [ - [ - 16, - 18 - ], - [ - 16, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "17": { - "13": { - "name": "chunkSize", - "type": "primitive", - "range": [ - [ - 17, - 13 - ], - [ - 17, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "15": { - "name": "invalidRows", - "type": "primitive", - "range": [ - [ - 18, - 15 - ], - [ - 18, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 19, - 11 - ], - [ - 19, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 21, - 15 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 19 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 52, - 21 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar", - "score" - ], - "range": [ - [ - 56, - 14 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 17 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "23": { - "name": "hasTokenForSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 70, - 23 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "23": { - "name": "resetTokenizedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 23 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 82, - 14 - ], - [ - 88, - 1 - ] - ], - "doc": "~Private~" - } - }, - "88": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 16 - ], - [ - 94, - 1 - ] - ], - "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " - } - }, - "94": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 94, - 16 - ], - [ - 94, - 30 - ] - ], - "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " - } - }, - "96": { - "24": { - "name": "tokenizeInBackground", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 24 - ], - [ - 103, - 1 - ] - ], - "doc": "~Private~" - } - }, - "103": { - "21": { - "name": "tokenizeNextChunk", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 103, - 21 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "19": { - "name": "firstInvalidRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 19 - ], - [ - 136, - 1 - ] - ], - "doc": "~Private~" - } - }, - "136": { - "15": { - "name": "validateRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 136, - 15 - ], - [ - 139, - 1 - ] - ], - "doc": "~Private~" - } - }, - "139": { - "17": { - "name": "invalidateRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 139, - 17 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "21": { - "name": "updateInvalidRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end", - "delta" - ], - "range": [ - [ - 144, - 21 - ], - [ - 153, - 1 - ] - ], - "doc": "~Private~" - } - }, - "153": { - "22": { - "name": "handleBufferChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 153, - 22 - ], - [ - 173, - 1 - ] - ], - "doc": "~Private~" - } - }, - "173": { - "48": { - "name": "retokenizeWhitespaceRowsIfIndentLevelChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "increment" - ], - "range": [ - [ - 173, - 48 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "30": { - "name": "buildTokenizedLinesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow", - "startingStack" - ], - "range": [ - [ - 183, - 30 - ], - [ - 200, - 1 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "41": { - "name": "buildPlaceholderTokenizedLinesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 200, - 41 - ], - [ - 203, - 1 - ] - ], - "doc": "~Private~" - } - }, - "203": { - "39": { - "name": "buildPlaceholderTokenizedLineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 203, - 39 - ], - [ - 210, - 1 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "37": { - "name": "buildTokenizedTokenizedLineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "ruleStack" - ], - "range": [ - [ - 210, - 37 - ], - [ - 220, - 1 - ] - ], - "doc": "~Private~" - } - }, - "220": { - "20": { - "name": "lineForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 220, - 20 - ], - [ - 225, - 1 - ] - ], - "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " - } - }, - "225": { - "22": { - "name": "linesForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 225, - 22 - ], - [ - 228, - 1 - ] - ], - "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " - } - }, - "228": { - "15": { - "name": "stackForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 228, - 15 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "21": { - "name": "indentLevelForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 231, - 21 - ], - [ - 257, - 1 - ] - ], - "doc": "~Private~" - } - }, - "257": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 257, - 22 - ], - [ - 266, - 1 - ] - ], - "doc": "~Private~" - } - }, - "266": { - "21": { - "name": "scopesForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 266, - 21 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "20": { - "name": "tokenForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 269, - 20 - ], - [ - 273, - 1 - ] - ], - "doc": "~Private~" - } - }, - "273": { - "33": { - "name": "tokenStartPositionForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 273, - 33 - ], - [ - 278, - 1 - ] - ], - "doc": "~Private~" - } - }, - "278": { - "33": { - "name": "bufferRangeForScopeAtPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "position" - ], - "range": [ - [ - 278, - 33 - ], - [ - 299, - 1 - ] - ], - "doc": "~Private~" - } - }, - "299": { - "30": { - "name": "iterateTokensInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "iterator" - ], - "range": [ - [ - 299, - 30 - ], - [ - 314, - 1 - ] - ], - "doc": "~Private~" - } - }, - "314": { - "39": { - "name": "backwardsIterateTokensInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "iterator" - ], - "range": [ - [ - 314, - 39 - ], - [ - 329, - 1 - ] - ], - "doc": "~Private~" - } - }, - "329": { - "22": { - "name": "findOpeningBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferPosition" - ], - "range": [ - [ - 329, - 22 - ], - [ - 344, - 1 - ] - ], - "doc": "~Private~" - } - }, - "344": { - "22": { - "name": "findClosingBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferPosition" - ], - "range": [ - [ - 344, - 22 - ], - [ - 362, - 1 - ] - ], - "doc": "~Private~" - } - }, - "362": { - "14": { - "name": "getLastRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 362, - 14 - ], - [ - 365, - 1 - ] - ], - "doc": " Private: Gets the row number of the last line.\n\nReturns a {Number}. " - } - }, - "365": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 365, - 16 - ], - [ - 368, - 1 - ] - ], - "doc": "~Private~" - } - }, - "368": { - "12": { - "name": "logLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 368, - 12 - ], - [ - 371, - 40 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/tokenized-line.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "2": { - "12": { - "name": "1", - "type": "primitive", - "range": [ - [ - 2, - 12 - ], - [ - 2, - 12 - ] - ] - } - }, - "5": { - "0": { - "type": "class", - "name": "TokenizedLine", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 6, - 15 - ], - [ - 15, - 13 - ], - [ - 20, - 20 - ], - [ - 25, - 8 - ], - [ - 28, - 20 - ], - [ - 47, - 31 - ], - [ - 57, - 31 - ], - [ - 66, - 22 - ], - [ - 72, - 22 - ], - [ - 75, - 14 - ], - [ - 102, - 17 - ], - [ - 105, - 23 - ], - [ - 108, - 28 - ], - [ - 115, - 35 - ], - [ - 123, - 24 - ], - [ - 134, - 42 - ], - [ - 145, - 13 - ], - [ - 154, - 20 - ], - [ - 162, - 16 - ], - [ - 165, - 17 - ], - [ - 168, - 24 - ], - [ - 174, - 16 - ], - [ - 186, - 20 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 199, - 0 - ] - ] - } - }, - "6": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 6, - 15 - ], - [ - 15, - 1 - ] - ] - } - }, - "15": { - "13": { - "name": "buildText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 15, - 13 - ], - [ - 20, - 1 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "20": { - "name": "buildBufferDelta", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 20 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 8 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "20": { - "name": "clipScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "column", - "options" - ], - "range": [ - [ - 28, - 20 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "31": { - "name": "screenColumnForBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn", - "options" - ], - "range": [ - [ - 47, - 31 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "31": { - "name": "bufferColumnForScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenColumn", - "options" - ], - "range": [ - [ - 57, - 31 - ], - [ - 66, - 1 - ] - ], - "doc": "~Private~" - } - }, - "66": { - "22": { - "name": "getMaxScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 66, - 22 - ], - [ - 72, - 1 - ] - ], - "doc": "~Private~" - } - }, - "72": { - "22": { - "name": "getMaxBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 72, - 22 - ], - [ - 75, - 1 - ] - ], - "doc": "~Private~" - } - }, - "75": { - "14": { - "name": "softWrapAt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "column" - ], - "range": [ - [ - 75, - 14 - ], - [ - 102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "102": { - "17": { - "name": "isSoftWrapped", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 17 - ], - [ - 105, - 1 - ] - ], - "doc": "~Private~" - } - }, - "105": { - "23": { - "name": "tokenAtBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 105, - 23 - ], - [ - 108, - 1 - ] - ], - "doc": "~Private~" - } - }, - "108": { - "28": { - "name": "tokenIndexAtBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 108, - 28 - ], - [ - 115, - 1 - ] - ], - "doc": "~Private~" - } - }, - "115": { - "35": { - "name": "tokenStartColumnForBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 115, - 35 - ], - [ - 123, - 1 - ] - ], - "doc": "~Private~" - } - }, - "123": { - "24": { - "name": "breakOutAtomicTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "inputTokens" - ], - "range": [ - [ - 123, - 24 - ], - [ - 134, - 1 - ] - ], - "doc": "~Private~" - } - }, - "134": { - "42": { - "name": "markLeadingAndTrailingWhitespaceTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 134, - 42 - ], - [ - 145, - 1 - ] - ], - "doc": "~Private~" - } - }, - "145": { - "13": { - "name": "isComment", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 145, - 13 - ], - [ - 154, - 1 - ] - ], - "doc": "~Private~" - } - }, - "154": { - "20": { - "name": "isOnlyWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 20 - ], - [ - 162, - 1 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "16": { - "name": "tokenAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 162, - 16 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "17": { - "name": "getTokenCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 17 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "24": { - "name": "bufferColumnForToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetToken" - ], - "range": [ - [ - 168, - 24 - ], - [ - 174, - 1 - ] - ], - "doc": "~Private~" - } - }, - "174": { - "16": { - "name": "getScopeTree", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 174, - 16 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "20": { - "name": "updateScopeStack", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 186, - 20 - ], - [ - 199, - 0 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "0": { - "type": "class", - "name": "Scope", - "classProperties": [], - "prototypeProperties": [ - [ - 201, - 15 - ] - ], - "doc": "~Private~", - "range": [ - [ - 200, - 0 - ], - [ - 202, - 18 - ] - ] - } - }, - "201": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 201, - 15 - ], - [ - 202, - 18 - ] - ] - } - } - }, - "exports": 5 - }, - "src/window-bootstrap.coffee": { - "objects": { - "1": { - "12": { - "name": "startTime", - "type": "function", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 21 - ] - ] - } - }, - "5": { - "7": { - "name": "Atom", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "path": "./atom" - } - }, - "6": { - "14": { - "name": "window.atom", - "type": "function", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 40 - ] - ] - } - } - }, - "exports": {} - }, - "src/window-event-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "2": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "3": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 3, - 8 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.1" - } - }, - "9": { - "0": { - "type": "class", - "name": "WindowEventHandler", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 81, - 27 - ], - [ - 96, - 13 - ], - [ - 100, - 12 - ], - [ - 106, - 25 - ], - [ - 116, - 13 - ], - [ - 137, - 17 - ] - ], - "doc": "Private: Handles low-level events related to the window. ", - "range": [ - [ - 9, - 0 - ], - [ - 156, - 28 - ] - ] - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 12, - 15 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "27": { - "name": "handleNativeKeybindings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 81, - 27 - ], - [ - 96, - 1 - ] - ], - "doc": " Private: Wire commands that should be handled by the native menu\nfor elements with the `.native-key-bindings` class. " - } - }, - "96": { - "13": { - "name": "onKeydown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 96, - 13 - ], - [ - 100, - 1 - ] - ], - "doc": "~Private~" - } - }, - "100": { - "12": { - "name": "openLink", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 100, - 12 - ], - [ - 106, - 1 - ] - ], - "doc": "~Private~" - } - }, - "106": { - "25": { - "name": "eachTabIndexedElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 106, - 25 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "13": { - "name": "focusNext", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 13 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "17": { - "name": "focusPrevious", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 17 - ], - [ - 156, - 28 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 9 - }, - "src/window.coffee": { - "objects": { - "7": { - "17": { - "name": "window.measure", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "description", - "fn" - ], - "range": [ - [ - 7, - 17 - ], - [ - 20, - 51 - ] - ], - "doc": null - } - }, - "21": { - "17": { - "name": "window.profile", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "description", - "fn" - ], - "range": [ - [ - 21, - 17 - ], - [ - 26, - 9 - ] - ], - "doc": null - } - } - }, - "exports": {} - }, - "src/workspace-view.coffee": { - "objects": { - "0": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 14 - ] - ], - "bindingType": "variable", - "module": "q@~1.0.1" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "4": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 4, - 12 - ], - [ - 4, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - }, - "12": { - "type": "import", - "range": [ - [ - 5, - 12 - ], - [ - 5, - 33 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "logDeprecationWarnings", - "exportsProperty": "logDeprecationWarnings" - } - }, - "6": { - "17": { - "name": "scrollbarStyle", - "type": "import", - "range": [ - [ - 6, - 17 - ], - [ - 6, - 41 - ] - ], - "bindingType": "variable", - "module": "scrollbar-style" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 5 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - }, - "8": { - "type": "import", - "range": [ - [ - 7, - 8 - ], - [ - 7, - 11 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "8": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 8, - 5 - ], - [ - 8, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.1" - } - }, - "9": { - "12": { - "name": "Workspace", - "type": "import", - "range": [ - [ - 9, - 12 - ], - [ - 9, - 32 - ] - ], - "bindingType": "variable", - "path": "./workspace" - } - }, - "10": { - "19": { - "name": "CommandInstaller", - "type": "import", - "range": [ - [ - 10, - 19 - ], - [ - 10, - 47 - ] - ], - "bindingType": "variable", - "path": "./command-installer" - } - }, - "11": { - "13": { - "name": "EditorView", - "type": "import", - "range": [ - [ - 11, - 13 - ], - [ - 11, - 35 - ] - ], - "bindingType": "variable", - "path": "./editor-view" - } - }, - "12": { - "11": { - "name": "PaneView", - "type": "import", - "range": [ - [ - 12, - 11 - ], - [ - 12, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-view" - } - }, - "13": { - "17": { - "name": "PaneColumnView", - "type": "import", - "range": [ - [ - 13, - 17 - ], - [ - 13, - 44 - ] - ], - "bindingType": "variable", - "path": "./pane-column-view" - } - }, - "14": { - "14": { - "name": "PaneRowView", - "type": "import", - "range": [ - [ - 14, - 14 - ], - [ - 14, - 38 - ] - ], - "bindingType": "variable", - "path": "./pane-row-view" - } - }, - "15": { - "20": { - "name": "PaneContainerView", - "type": "import", - "range": [ - [ - 15, - 20 - ], - [ - 15, - 50 - ] - ], - "bindingType": "variable", - "path": "./pane-container-view" - } - }, - "16": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 16, - 9 - ], - [ - 16, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "55": { - "0": { - "type": "class", - "name": "WorkspaceView", - "bindingType": "exports", - "classProperties": [ - [ - 63, - 12 - ], - [ - 66, - 4 - ], - [ - 75, - 12 - ] - ], - "prototypeProperties": [ - [ - 81, - 14 - ], - [ - 168, - 12 - ], - [ - 171, - 24 - ], - [ - 191, - 15 - ], - [ - 205, - 15 - ], - [ - 209, - 16 - ], - [ - 213, - 15 - ], - [ - 223, - 12 - ], - [ - 233, - 18 - ], - [ - 238, - 16 - ], - [ - 242, - 15 - ], - [ - 247, - 19 - ], - [ - 252, - 18 - ], - [ - 257, - 17 - ], - [ - 262, - 16 - ], - [ - 267, - 18 - ], - [ - 272, - 17 - ], - [ - 281, - 21 - ], - [ - 287, - 17 - ], - [ - 291, - 25 - ], - [ - 294, - 21 - ], - [ - 297, - 22 - ], - [ - 300, - 22 - ], - [ - 303, - 23 - ], - [ - 306, - 24 - ], - [ - 315, - 16 - ], - [ - 325, - 16 - ], - [ - 336, - 18 - ], - [ - 344, - 16 - ], - [ - 347, - 21 - ], - [ - 350, - 23 - ], - [ - 353, - 23 - ], - [ - 356, - 18 - ], - [ - 368, - 12 - ], - [ - 373, - 12 - ], - [ - 378, - 17 - ], - [ - 383, - 21 - ] - ], - "doc": " Public: The top-level view for the entire window. An instance of this class is\navailable via the `atom.workspaceView` global.\n\nIt is backed by a model object, an instance of {Workspace}, which is available\nvia the `atom.workspace` global or {::getModel}. You should prefer to interact\nwith the model object when possible, but it won't always be possible with the\ncurrent API.\n\n## Adding Perimeter Panels\n\nUse the following methods if possible to attach panels to the perimeter of the\nworkspace rather than manipulating the DOM directly to better insulate you to\nchanges in the workspace markup:\n\n* {::prependToTop}\n* {::appendToTop}\n* {::prependToBottom}\n* {::appendToBottom}\n* {::prependToLeft}\n* {::appendToLeft}\n* {::prependToRight}\n* {::appendToRight}\n\n## Requiring in package specs\n\nIf you need a `WorkspaceView` instance to test your package, require it via\nthe built-in `atom` module.\n\n```coffee\n {WorkspaceView} = require 'atom'\n```\n\nYou can assign it to the `atom.workspaceView` global in the spec or just use\nit as a local, depending on what you're trying to accomplish. Building the\n`WorkspaceView` is currently expensive, so you should try build a {Workspace}\ninstead if possible. ", - "range": [ - [ - 55, - 0 - ], - [ - 385, - 25 - ] - ] - } - }, - "63": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 63, - 12 - ], - [ - 63, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "66": { - "4": { - "name": "configDefaults", - "type": "primitive", - "range": [ - [ - 66, - 4 - ], - [ - 73, - 23 - ] - ], - "bindingType": "classProperty" - } - }, - "75": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 75, - 12 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 81, - 14 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 12 - ], - [ - 168, - 20 - ] - ], - "doc": " Public: Get the underlying model object.\n\nReturns a {Workspace}. " - } - }, - "171": { - "24": { - "name": "installShellCommands", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 24 - ], - [ - 191, - 1 - ] - ], - "doc": "Public: Install the Atom shell commands on the user's system. " - } - }, - "191": { - "15": { - "name": "handleFocus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 191, - 15 - ], - [ - 205, - 1 - ] - ], - "doc": "~Private~" - } - }, - "205": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 205, - 15 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "16": { - "name": "confirmClose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 209, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": "Private: Prompts to save all unsaved items " - } - }, - "213": { - "15": { - "name": "updateTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 15 - ], - [ - 223, - 1 - ] - ], - "doc": "Private: Updates the application's title, based on whichever file is open. " - } - }, - "223": { - "12": { - "name": "setTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "title" - ], - "range": [ - [ - 223, - 12 - ], - [ - 233, - 1 - ] - ], - "doc": "Private: Sets the application's title. " - } - }, - "233": { - "18": { - "name": "getEditorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 233, - 18 - ], - [ - 238, - 1 - ] - ], - "doc": " Private: Get all editor views.\n\nYou should prefer {Workspace::getEditors} unless you absolutely need access\nto the view objects. Also consider using {::eachEditorView}, which will call\na callback for all current and *future* editor views.\n\nReturns an {Array} of {EditorView}s. " - } - }, - "238": { - "16": { - "name": "prependToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 238, - 16 - ], - [ - 242, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the top of the\nworkspace. " - } - }, - "242": { - "15": { - "name": "appendToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 242, - 15 - ], - [ - 247, - 1 - ] - ], - "doc": "Public: Append an element or view to the panels at the top of the workspace. " - } - }, - "247": { - "19": { - "name": "prependToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 247, - 19 - ], - [ - 252, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the bottom of the\nworkspace. " - } - }, - "252": { - "18": { - "name": "appendToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 252, - 18 - ], - [ - 257, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the bottom of the\nworkspace. " - } - }, - "257": { - "17": { - "name": "prependToLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 257, - 17 - ], - [ - 262, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the left of the\nworkspace. " - } - }, - "262": { - "16": { - "name": "appendToLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 262, - 16 - ], - [ - 267, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the left of the\nworkspace. " - } - }, - "267": { - "18": { - "name": "prependToRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 267, - 18 - ], - [ - 272, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the right of the\nworkspace. " - } - }, - "272": { - "17": { - "name": "appendToRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 272, - 17 - ], - [ - 281, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the right of the\nworkspace. " - } - }, - "281": { - "21": { - "name": "getActivePaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 281, - 21 - ], - [ - 287, - 1 - ] - ], - "doc": " Public: Get the active pane view.\n\nPrefer {Workspace::getActivePane} if you don't actually need access to the\nview.\n\nReturns a {PaneView}. " - } - }, - "287": { - "17": { - "name": "getActiveView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 287, - 17 - ], - [ - 291, - 1 - ] - ], - "doc": " Public: Get the view associated with the active pane item.\n\nReturns a view. " - } - }, - "291": { - "25": { - "name": "focusPreviousPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 291, - 25 - ], - [ - 291, - 56 - ] - ], - "doc": "Private: Focus the previous pane by id. " - } - }, - "294": { - "21": { - "name": "focusNextPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 294, - 21 - ], - [ - 294, - 48 - ] - ], - "doc": "Private: Focus the next pane by id. " - } - }, - "297": { - "22": { - "name": "focusPaneViewAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 22 - ], - [ - 297, - 51 - ] - ], - "doc": "Public: Focus the pane directly above the active pane. " - } - }, - "300": { - "22": { - "name": "focusPaneViewBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 300, - 22 - ], - [ - 300, - 51 - ] - ], - "doc": "Public: Focus the pane directly below the active pane. " - } - }, - "303": { - "23": { - "name": "focusPaneViewOnLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 303, - 23 - ], - [ - 303, - 53 - ] - ], - "doc": "Public: Focus the pane directly to the left of the active pane. " - } - }, - "306": { - "24": { - "name": "focusPaneViewOnRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 306, - 24 - ], - [ - 306, - 55 - ] - ], - "doc": "Public: Focus the pane directly to the right of the active pane. " - } - }, - "315": { - "16": { - "name": "eachPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 315, - 16 - ], - [ - 325, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\npane view in the workspace.\n\ncallback - A {Function} with a {PaneView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "325": { - "16": { - "name": "getPaneViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 325, - 16 - ], - [ - 336, - 1 - ] - ], - "doc": " Public: Get all existing pane views.\n\nPrefer {Workspace::getPanes} if you don't need access to the view objects.\nAlso consider using {::eachPaneView} if you want to register a callback for\nall current and *future* pane views.\n\nReturns an Array of all open {PaneView}s. " - } - }, - "336": { - "18": { - "name": "eachEditorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 336, - 18 - ], - [ - 344, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\neditor view in the workspace (only includes {EditorView}s that are pane\nitems).\n\ncallback - A {Function} with an {EditorView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "344": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 344, - 16 - ], - [ - 347, - 1 - ] - ], - "doc": "Private: Called by SpacePen " - } - }, - "347": { - "21": { - "name": "setEditorFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 347, - 21 - ], - [ - 350, - 1 - ] - ], - "doc": "~Private~" - } - }, - "350": { - "23": { - "name": "setEditorFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 350, - 23 - ], - [ - 353, - 1 - ] - ], - "doc": "~Private~" - } - }, - "353": { - "23": { - "name": "setEditorLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 353, - 23 - ], - [ - 356, - 1 - ] - ], - "doc": "~Private~" - } - }, - "356": { - "18": { - "name": "setEditorStyle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "property", - "value" - ], - "range": [ - [ - 356, - 18 - ], - [ - 368, - 1 - ] - ], - "doc": "~Private~" - } - }, - "368": { - "12": { - "name": "eachPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 368, - 12 - ], - [ - 373, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "373": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 373, - 12 - ], - [ - 378, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "378": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 378, - 17 - ], - [ - 383, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "383": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 383, - 21 - ], - [ - 385, - 25 - ] - ], - "doc": "Deprecated: Call {Workspace::getActivePaneItem} instead. " - } - } - }, - "exports": 55 - }, - "src/workspace.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 4 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true, - "name": "join", - "exportsProperty": "join" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "4": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 4, - 4 - ], - [ - 4, - 14 - ] - ], - "bindingType": "variable", - "module": "q@~1.0.1" - } - }, - "5": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 5, - 15 - ], - [ - 5, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "6": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 6, - 12 - ], - [ - 6, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato" - } - }, - "7": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "8": { - "16": { - "name": "PaneContainer", - "type": "import", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 41 - ] - ], - "bindingType": "variable", - "path": "./pane-container" - } - }, - "9": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 9, - 7 - ], - [ - 9, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "18": { - "0": { - "type": "class", - "name": "Workspace", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 47, - 21 - ], - [ - 55, - 19 - ], - [ - 60, - 37 - ], - [ - 74, - 15 - ], - [ - 84, - 14 - ], - [ - 91, - 14 - ], - [ - 118, - 8 - ], - [ - 135, - 15 - ], - [ - 150, - 12 - ], - [ - 168, - 17 - ], - [ - 193, - 14 - ], - [ - 200, - 18 - ], - [ - 217, - 18 - ], - [ - 221, - 20 - ], - [ - 224, - 14 - ], - [ - 230, - 17 - ], - [ - 236, - 12 - ], - [ - 240, - 11 - ], - [ - 244, - 20 - ], - [ - 248, - 24 - ], - [ - 254, - 14 - ], - [ - 260, - 21 - ], - [ - 269, - 22 - ], - [ - 277, - 24 - ], - [ - 284, - 25 - ], - [ - 288, - 21 - ], - [ - 295, - 19 - ], - [ - 299, - 20 - ], - [ - 303, - 20 - ], - [ - 308, - 17 - ], - [ - 312, - 14 - ], - [ - 317, - 23 - ], - [ - 322, - 13 - ] - ], - "doc": " Public: Represents the state of the user interface for the entire window.\nAn instance of this class is available via the `atom.workspace` global.\n\nInteract with this object to open files, be notified of current and future\neditors, and manipulate panes. To add panels, you'll need to use the\n{WorkspaceView} class for now until we establish APIs at the model layer. ", - "range": [ - [ - 18, - 0 - ], - [ - 323, - 28 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 15 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 47, - 21 - ], - [ - 55, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during deserialization " - } - }, - "55": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 19 - ], - [ - 60, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during serialization. " - } - }, - "60": { - "37": { - "name": "getPackageNamesWithActiveGrammars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 60, - 37 - ], - [ - 74, - 1 - ] - ], - "doc": "~Private~" - } - }, - "74": { - "15": { - "name": "editorAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 74, - 15 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "14": { - "name": "eachEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 84, - 14 - ], - [ - 91, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\n{Editor} in the workspace.\n\ncallback - A {Function} with an {Editor} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "91": { - "14": { - "name": "getEditors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 14 - ], - [ - 118, - 1 - ] - ], - "doc": " Public: Get all current editors in the workspace.\n\nReturns an {Array} of {Editor}s. " - } - }, - "118": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "options" - ], - "range": [ - [ - 118, - 8 - ], - [ - 135, - 1 - ] - ], - "doc": " Public: Open a given a URI in Atom asynchronously.\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :split - Either 'left' or 'right'. If 'left', the item will be opened in\n leftmost pane of the current active pane's row. If 'right', the\n item will be opened in the rightmost pane of the current active\n pane's row.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`.\n :searchAllPanes - A {Boolean}. If `true`, the workspace will attempt to\n activate an existing item for the given URI on any pane.\n If `false`, only the active pane will be searched for\n an existing item for the same URI. Defaults to `false`.\n\nReturns a promise that resolves to the {Editor} for the file URI. " - } - }, - "135": { - "15": { - "name": "openLicense", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 135, - 15 - ], - [ - 150, - 1 - ] - ], - "doc": "Public: Open Atom's license in the active pane. " - } - }, - "150": { - "12": { - "name": "openSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "options" - ], - "range": [ - [ - 150, - 12 - ], - [ - 168, - 1 - ] - ], - "doc": " Private: Synchronously open the given URI in the active pane. **Only use this method\nin specs. Calling this in production code will block the UI thread and\neveryone will be mad at you.**\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`. " - } - }, - "168": { - "17": { - "name": "openUriInPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "pane", - "options" - ], - "range": [ - [ - 168, - 17 - ], - [ - 193, - 1 - ] - ], - "doc": "~Private~" - } - }, - "193": { - "14": { - "name": "reopenItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 193, - 14 - ], - [ - 200, - 1 - ] - ], - "doc": " Public: Asynchronously reopens the last-closed item's URI if it hasn't already been\nreopened.\n\nReturns a promise that is resolved when the item is opened " - } - }, - "200": { - "18": { - "name": "reopenItemSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 200, - 18 - ], - [ - 217, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "217": { - "18": { - "name": "registerOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 217, - 18 - ], - [ - 221, - 1 - ] - ], - "doc": " Public: Register an opener for a uri.\n\nAn {Editor} will be used if no openers return a value.\n\n## Example\n```coffeescript\n atom.project.registerOpener (uri) ->\n if path.extname(uri) is '.toml'\n return new TomlEditor(uri)\n```\n\nopener - A {Function} to be called when a path is being opened. " - } - }, - "221": { - "20": { - "name": "unregisterOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 221, - 20 - ], - [ - 224, - 1 - ] - ], - "doc": "Public: Unregister an opener registered with {::registerOpener}. " - } - }, - "224": { - "14": { - "name": "getOpeners", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 14 - ], - [ - 230, - 1 - ] - ], - "doc": "~Private~" - } - }, - "230": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 230, - 17 - ], - [ - 236, - 1 - ] - ], - "doc": " Public: Get the active {Pane}.\n\nReturns a {Pane}. " - } - }, - "236": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 236, - 12 - ], - [ - 240, - 1 - ] - ], - "doc": " Public: Get all {Pane}s.\n\nReturns an {Array} of {Pane}s. " - } - }, - "240": { - "11": { - "name": "saveAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 240, - 11 - ], - [ - 244, - 1 - ] - ], - "doc": "Public: Save all pane items. " - } - }, - "244": { - "20": { - "name": "activateNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 244, - 20 - ], - [ - 248, - 1 - ] - ], - "doc": "Public: Make the next pane active. " - } - }, - "248": { - "24": { - "name": "activatePreviousPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 248, - 24 - ], - [ - 254, - 1 - ] - ], - "doc": "Public: Make the previous pane active. " - } - }, - "254": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 254, - 14 - ], - [ - 260, - 1 - ] - ], - "doc": " Public: Get the first pane {Pane} with an item for the given URI.\n\nReturns a {Pane} or `undefined` if no pane exists for the given URI. " - } - }, - "260": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 21 - ], - [ - 269, - 1 - ] - ], - "doc": " Public: Get the active {Pane}'s active item.\n\nReturns an pane item {Object}. " - } - }, - "269": { - "22": { - "name": "saveActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 22 - ], - [ - 277, - 1 - ] - ], - "doc": " Public: Save the active pane item.\n\nIf the active pane item currently has a URI according to the item's\n`.getUri` method, calls `.save` on the item. Otherwise\n{::saveActivePaneItemAs} # will be called instead. This method does nothing\nif the active item does not implement a `.save` method. " - } - }, - "277": { - "24": { - "name": "saveActivePaneItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 277, - 24 - ], - [ - 284, - 1 - ] - ], - "doc": " Public: Prompt the user for a path and save the active pane item to it.\n\nOpens a native dialog where the user selects a path on disk, then calls\n`.saveAs` on the item with the selected path. This method does nothing if\nthe active item does not implement a `.saveAs` method. " - } - }, - "284": { - "25": { - "name": "destroyActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 25 - ], - [ - 288, - 1 - ] - ], - "doc": " Public: Destroy (close) the active pane item.\n\nRemoves the active pane item and calls the `.destroy` method on it if one is\ndefined. " - } - }, - "288": { - "21": { - "name": "destroyActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 288, - 21 - ], - [ - 295, - 1 - ] - ], - "doc": "Public: Destroy (close) the active pane. " - } - }, - "295": { - "19": { - "name": "getActiveEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 295, - 19 - ], - [ - 299, - 1 - ] - ], - "doc": " Public: Get the active item if it is an {Editor}.\n\nReturns an {Editor} or `undefined` if the current active item is not an\n{Editor}. " - } - }, - "299": { - "20": { - "name": "increaseFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 299, - 20 - ], - [ - 303, - 1 - ] - ], - "doc": "Public: Increase the editor font size by 1px. " - } - }, - "303": { - "20": { - "name": "decreaseFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 303, - 20 - ], - [ - 308, - 1 - ] - ], - "doc": "Public: Decrease the editor font size by 1px. " - } - }, - "308": { - "17": { - "name": "resetFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 308, - 17 - ], - [ - 312, - 1 - ] - ], - "doc": "Public: Restore to a default editor font size. " - } - }, - "312": { - "14": { - "name": "itemOpened", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 312, - 14 - ], - [ - 317, - 1 - ] - ], - "doc": "Private: Removes the item's uri from the list of potential items to reopen. " - } - }, - "317": { - "23": { - "name": "onPaneItemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 317, - 23 - ], - [ - 322, - 1 - ] - ], - "doc": "Private: Adds the destroyed item's uri to the list of items to reopen. " - } - }, - "322": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 322, - 13 - ], - [ - 323, - 28 - ] - ], - "doc": "Private: Called by Model superclass when destroyed " - } - } - }, - "exports": 18 - }, - "src/key-binding.coffee": { - "objects": { - "0": { - "7": { - "name": "Grim", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "grim" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "calculateSpecificity", - "exportsProperty": "calculateSpecificity" - } - }, - "4": { - "0": { - "type": "class", - "name": "KeyBinding", - "bindingType": "exports", - "classProperties": [ - [ - 5, - 17 - ] - ], - "prototypeProperties": [ - [ - 7, - 11 - ], - [ - 9, - 15 - ], - [ - 23, - 11 - ], - [ - 30, - 11 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 34, - 43 - ] - ] - } - }, - "5": { - "17": { - "name": "currentIndex", - "type": "primitive", - "range": [ - [ - 5, - 17 - ], - [ - 5, - 17 - ] - ], - "bindingType": "classProperty" - } - }, - "7": { - "11": { - "name": "enabled", - "type": "primitive", - "range": [ - [ - 7, - 11 - ], - [ - 7, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null, - null, - "selector" - ], - "range": [ - [ - 9, - 15 - ], - [ - 23, - 1 - ] - ], - "doc": "~Private~" - } - }, - "23": { - "11": { - "name": "matches", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystroke" - ], - "range": [ - [ - 23, - 11 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyBinding" - ], - "range": [ - [ - 30, - 11 - ], - [ - 34, - 43 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/keymap-manager.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "1": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "2": { - "7": { - "name": "Grim", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "grim" - } - }, - "3": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 3, - 5 - ], - [ - 3, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.1" - } - }, - "4": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 4 - ] - ], - "bindingType": "variable", - "module": "pathwatcher", - "name": "File", - "exportsProperty": "File" - } - }, - "7": { - "13": { - "name": "KeyBinding", - "type": "import", - "range": [ - [ - 7, - 13 - ], - [ - 7, - 35 - ] - ], - "bindingType": "variable", - "path": "./key-binding" - } - }, - "8": { - "15": { - "name": "CommandEvent", - "type": "import", - "range": [ - [ - 8, - 15 - ], - [ - 8, - 39 - ] - ], - "bindingType": "variable", - "path": "./command-event" - } - }, - "9": { - "1": { - "type": "import", - "range": [ - [ - 9, - 1 - ], - [ - 9, - 19 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "normalizeKeystrokes", - "exportsProperty": "normalizeKeystrokes" - }, - "22": { - "type": "import", - "range": [ - [ - 9, - 22 - ], - [ - 9, - 46 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "keystrokeForKeyboardEvent", - "exportsProperty": "keystrokeForKeyboardEvent" - }, - "49": { - "type": "import", - "range": [ - [ - 9, - 49 - ], - [ - 9, - 62 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "isAtomModifier", - "exportsProperty": "isAtomModifier" - }, - "65": { - "type": "import", - "range": [ - [ - 9, - 65 - ], - [ - 9, - 76 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "keydownEvent", - "exportsProperty": "keydownEvent" - } - }, - "11": { - "12": { - "type": "primitive", - "range": [ - [ - 11, - 12 - ], - [ - 11, - 59 - ] - ] - } - }, - "12": { - "17": { - "name": "OtherPlatforms", - "type": "function", - "range": [ - [ - 12, - 17 - ], - [ - 12, - 77 - ] - ] - } - }, - "84": { - "0": { - "type": "class", - "name": "KeymapManager", - "bindingType": "exports", - "classProperties": [ - [ - 99, - 17 - ] - ], - "prototypeProperties": [ - [ - 103, - 23 - ], - [ - 105, - 17 - ], - [ - 106, - 25 - ], - [ - 107, - 29 - ], - [ - 117, - 15 - ], - [ - 125, - 11 - ], - [ - 132, - 18 - ], - [ - 141, - 7 - ], - [ - 164, - 14 - ], - [ - 179, - 15 - ], - [ - 190, - 10 - ], - [ - 212, - 23 - ], - [ - 289, - 19 - ], - [ - 314, - 16 - ], - [ - 324, - 14 - ], - [ - 338, - 27 - ], - [ - 345, - 21 - ], - [ - 349, - 23 - ], - [ - 365, - 22 - ], - [ - 385, - 20 - ], - [ - 390, - 25 - ], - [ - 394, - 21 - ], - [ - 400, - 22 - ], - [ - 410, - 25 - ], - [ - 427, - 24 - ], - [ - 446, - 36 - ], - [ - 460, - 29 - ], - [ - 464, - 13 - ], - [ - 469, - 16 - ], - [ - 475, - 18 - ], - [ - 484, - 27 - ], - [ - 490, - 12 - ], - [ - 497, - 25 - ], - [ - 502, - 27 - ], - [ - 507, - 30 - ], - [ - 513, - 40 - ], - [ - 519, - 42 - ] - ], - "doc": " Public: Allows commands to be associated with keystrokes in a\ncontext-sensitive way. In Atom, you can access a global instance of this\nobject via `atom.keymap`.\n\nKey bindings are plain JavaScript objects containing **CSS selectors** as\ntheir top level keys, then **keystroke patterns** mapped to commands.\n\n```cson\n'.workspace':\n 'ctrl-l': 'package:do-something'\n 'ctrl-z': 'package:do-something-else'\n'.mini.editor':\n 'enter': 'core:confirm'\n```\n\nWhen a keystroke sequence matches a binding in a given context, a custom DOM\nevent with a type based on the command is dispatched on the target of the\nkeyboard event.\n\nTo match a keystroke sequence, the keymap starts at the target element for the\nkeyboard event. It looks for key bindings associated with selectors that match\nthe target element. If multiple match, the most specific is selected. If there\nis a tie in specificity, the most recently added binding wins. If no bindings\nare found for the events target, the search is repeated again for the target's\nparent node and so on recursively until a binding is found or we traverse off\nthe top of the document.\n\nWhen a binding is found, its command event is always dispatched on the\noriginal target of the keyboard event, even if the matching element is higher\nup in the DOM. In addition, `.preventDefault()` is called on the keyboard\nevent to prevent the browser from taking action. `.preventDefault` is only\ncalled if a matching binding is found.\n\nCommand event objects have a non-standard method called `.abortKeyBinding()`.\nIf your command handler is invoked but you programmatically determine that no\naction can be taken and you want to allow other bindings to be matched, call\n`.abortKeyBinding()` on the event object. An example of where this is useful\nis binding snippet expansion to `tab`. If `snippets:expand` is invoked when\nthe cursor does not follow a valid snippet prefix, we abort the binding and\nallow `tab` to be handled by the default handler, which inserts whitespace.\n\nMulti-keystroke bindings are possible. If a sequence of one or more keystrokes\n*partially* matches a multi-keystroke binding, the keymap enters a pending\nstate. The pending state is terminated on the next keystroke, or after\n{::partialMatchTimeout} milliseconds has elapsed. When the pending state is\nterminated via a timeout or a keystroke that leads to no matches, the longest\nambiguous bindings that caused the pending state are temporarily disabled and\nthe previous keystrokes are replayed. If there is ambiguity again during the\nreplay, the next longest bindings are disabled and the keystrokes are replayed\nagain.\n\n## Events\n\n* `matched` -\n Emitted when keystrokes match a binding.\n * keystrokes - The keystroke {String} that matched the binding\n * binding - The {KeyBinding} that was used\n * keyboardEventTarget - The target element of the keyboard event\n\n* `matched-partially` -\n Emitted when keystrokes partially match one or more bindings.\n * keystrokes - The keystroke {String} that partially match some bindings\n * partiallyMatchedBindings - The {KeyBinding}s that partially matched\n * keyboardEventTarget - The target element of the keyboard event\n\n* `match-failed` -\n Emitted when keystrokes don't match any bindings.\n * keystrokes - The keystroke {String} that matched no bindings\n * keyboardEventTarget - The target element of the keyboard event ", - "range": [ - [ - 84, - 0 - ], - [ - 521, - 62 - ] - ] - } - }, - "99": { - "17": { - "name": "keydownEvent", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "key", - "options" - ], - "range": [ - [ - 99, - 17 - ], - [ - 99, - 60 - ] - ], - "doc": " Public: Create a keydown DOM event for testing purposes.\n\nkey - The key or keyIdentifier of the event. For example, 'a', '1',\n 'escape', 'backspace', etc.\noptions - An {Object} containing any of the following:\n :ctrl - A {Boolean} indicating the ctrl modifier key\n :alt - A {Boolean} indicating the alt modifier key\n :shift - A {Boolean} indicating the shift modifier key\n :cmd - A {Boolean} indicating the cmd modifier key\n :which - A {Number} indicating `which` value of the event. See\n the docs for KeyboardEvent for more information.\n :target - The target element of the event. " - } - }, - "103": { - "23": { - "name": "partialMatchTimeout", - "type": "primitive", - "range": [ - [ - 103, - 23 - ], - [ - 103, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "105": { - "17": { - "name": "defaultTarget", - "type": "primitive", - "range": [ - [ - 105, - 17 - ], - [ - 105, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "106": { - "25": { - "name": "pendingPartialMatches", - "type": "primitive", - "range": [ - [ - 106, - 25 - ], - [ - 106, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "107": { - "29": { - "name": "pendingStateTimeoutHandle", - "type": "primitive", - "range": [ - [ - 107, - 29 - ], - [ - 107, - 32 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "117": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 117, - 15 - ], - [ - 125, - 1 - ] - ], - "doc": " Public:\n\noptions - An {Object} containing properties to assign to the keymap: You can\n pass custom properties to be used by extension methods. The following\n properties are also supported:\n :defaultTarget - This will be used as the target of events whose target\n is `document.body` to allow for a catch-all element when nothing is\n focused " - } - }, - "125": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 125, - 11 - ], - [ - 132, - 1 - ] - ], - "doc": "Public: Unwatch all watched paths. " - } - }, - "132": { - "18": { - "name": "getKeyBindings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 132, - 18 - ], - [ - 141, - 1 - ] - ], - "doc": " Public: Get all current key bindings.\n\nReturns an {Array} of {KeyBinding}s. " - } - }, - "141": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source", - "keyBindingsBySelector" - ], - "range": [ - [ - 141, - 7 - ], - [ - 164, - 1 - ] - ], - "doc": " Public: Add sets of key bindings grouped by CSS selector.\n\nsource - A {String} (usually a path) uniquely identifying the given bindings\n so they can be removed later.\nbindings - An {Object} whose top-level keys point at sub-objects mapping\n keystroke patterns to commands. " - } - }, - "164": { - "14": { - "name": "loadKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bindingsPath", - "options" - ], - "range": [ - [ - 164, - 14 - ], - [ - 179, - 1 - ] - ], - "doc": " Public: Load the key bindings from the given path.\n\npath - A {String} containing a path to a file or a directory. If the path is\n a directory, all files inside it will be loaded.\noptions - An {Object} containing the following optional keys:\n :watch - If `true`, the keymap will also reload the file at the given path\n whenever it changes. This option cannot be used with directory paths. " - } - }, - "179": { - "15": { - "name": "watchKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 179, - 15 - ], - [ - 190, - 1 - ] - ], - "doc": " Public: Cause the keymap to reload the key bindings file at the given path\nwhenever it changes.\n\nThis method doesn't perform the initial load of the key bindings file. If\nthat's what you're looking for, call {::loadKeymap} with `watch: true`. " - } - }, - "190": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source" - ], - "range": [ - [ - 190, - 10 - ], - [ - 212, - 1 - ] - ], - "doc": " Public: Remove the key bindings added with {::addKeymap} or\n{::loadKeymap}.\n\nsource - A {String} representing the `source` in a previous call to\n {::addKeymap} or the path in {::loadKeymap}. " - } - }, - "212": { - "23": { - "name": "handleKeyboardEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event", - "replaying" - ], - "range": [ - [ - 212, - 23 - ], - [ - 289, - 1 - ] - ], - "doc": " Public: Dispatch a custom event associated with the matching key binding for\nthe given `KeyboardEvent` if one can be found.\n\nIf a matching binding is found on the event's target or one of its\nancestors, `.preventDefault()` is called on the keyboard event and the\nbinding's command is emitted as a custom event on the matching element.\n\nIf the matching binding's command is 'native!', the method will terminate\nwithout calling `.preventDefault()` on the keyboard event, allowing the\nbrowser to handle it as normal.\n\nIf the matching binding's command is 'unset!', the search will continue from\nthe current element's parent.\n\nIf the matching binding's command is 'abort!', the search will terminate\nwithout dispatching a command event.\n\nIf the event's target is `document.body`, it will be treated as if its\ntarget is `.defaultTarget` if that property is assigned on the keymap. " - } - }, - "289": { - "19": { - "name": "findKeyBindings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 289, - 19 - ], - [ - 314, - 1 - ] - ], - "doc": " Public: Get the key bindings for a given command and optional target.\n\nparams - An {Object} whose keys constrain the binding search:\n :keystrokes - A {String} representing one or more keystrokes, such as\n 'ctrl-x ctrl-s'\n :command - A {String} representing the name of a command, such as\n 'editor:backspace'\n :target - An optional DOM element constraining the search. If this\n parameter is supplied, the call will only return bindings that can be\n invoked by a KeyboardEvent originating from the target element. " - } - }, - "314": { - "16": { - "name": "reloadKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 314, - 16 - ], - [ - 324, - 1 - ] - ], - "doc": " Private: Called by the path watcher callback to reload a file at the given path. If\nwe can't read the file cleanly, we don't proceed with the reload. " - } - }, - "324": { - "14": { - "name": "readKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "suppressErrors" - ], - "range": [ - [ - 324, - 14 - ], - [ - 338, - 1 - ] - ], - "doc": "~Private~" - } - }, - "338": { - "27": { - "name": "filePathMatchesPlatform", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 338, - 27 - ], - [ - 345, - 1 - ] - ], - "doc": " Private: Determine if the given path should be loaded on this platform. If the\nfilename has the pattern '.cson' or 'foo..cson' and\n does not match the current platform, returns false. Otherwise\nreturns true. " - } - }, - "345": { - "21": { - "name": "getOtherPlatforms", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 345, - 21 - ], - [ - 345, - 37 - ] - ], - "doc": "Private: For testing purposes " - } - }, - "349": { - "23": { - "name": "findMatchCandidates", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystrokes" - ], - "range": [ - [ - 349, - 23 - ], - [ - 365, - 1 - ] - ], - "doc": " Private: Finds all key bindings whose keystrokes match the given keystrokes. Returns\nboth partial and exact matches. " - } - }, - "365": { - "22": { - "name": "findPartialMatches", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "partialMatchCandidates", - "target" - ], - "range": [ - [ - 365, - 22 - ], - [ - 385, - 1 - ] - ], - "doc": " Private: Determine which of the given bindings have selectors matching the target or\none of its ancestors. This is used by {::handleKeyboardEvent} to determine\nif there are any partial matches for the keyboard event. " - } - }, - "385": { - "20": { - "name": "findExactMatches", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "exactMatchCandidates", - "target" - ], - "range": [ - [ - 385, - 20 - ], - [ - 390, - 1 - ] - ], - "doc": " Private: Find the matching bindings among the given candidates for the given target,\nordered by specificity. Does not traverse up the target's ancestors. This is\nused by {::handleKeyboardEvent} to find a matching binding when there are no\npartially-matching bindings. " - } - }, - "390": { - "25": { - "name": "clearQueuedKeystrokes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 390, - 25 - ], - [ - 394, - 1 - ] - ], - "doc": "~Private~" - } - }, - "394": { - "21": { - "name": "enterPendingState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pendingPartialMatches", - "enableTimeout" - ], - "range": [ - [ - 394, - 21 - ], - [ - 400, - 1 - ] - ], - "doc": "~Private~" - } - }, - "400": { - "22": { - "name": "cancelPendingState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 400, - 22 - ], - [ - 410, - 1 - ] - ], - "doc": "~Private~" - } - }, - "410": { - "25": { - "name": "terminatePendingState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 410, - 25 - ], - [ - 427, - 1 - ] - ], - "doc": " Private: This is called by {::handleKeyboardEvent} when no matching bindings are\nfound for the currently queued keystrokes or by the pending state timeout.\nIt disables the longest of the pending partially matching bindings, then\nreplays the queued keyboard events to allow any bindings with shorter\nkeystroke sequences to be matched unambiguously. " - } - }, - "427": { - "24": { - "name": "dispatchCommandEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "target", - "keyboardEvent" - ], - "range": [ - [ - 427, - 24 - ], - [ - 446, - 1 - ] - ], - "doc": " Private: After we match a binding, we call this method to dispatch a custom event\nbased on the binding's command. " - } - }, - "446": { - "36": { - "name": "simulateBubblingOnDetachedTarget", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "target", - "commandEvent" - ], - "range": [ - [ - 446, - 36 - ], - [ - 460, - 1 - ] - ], - "doc": " Private: Chromium does not bubble events dispatched on detached targets, which makes\ntesting a pain in the ass. This method simulates bubbling manually. " - } - }, - "460": { - "29": { - "name": "keystrokeForKeyboardEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 460, - 29 - ], - [ - 464, - 1 - ] - ], - "doc": " Public: Translate a keydown event to a keystroke string.\n\nevent - A `KeyboardEvent` of type 'keydown'\n\nReturns a {String} describing the keystroke. " - } - }, - "464": { - "13": { - "name": "addKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source", - "bindings" - ], - "range": [ - [ - 464, - 13 - ], - [ - 469, - 1 - ] - ], - "doc": "Deprecated: Use {::addKeymap} instead. " - } - }, - "469": { - "16": { - "name": "removeKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source" - ], - "range": [ - [ - 469, - 16 - ], - [ - 475, - 1 - ] - ], - "doc": "Deprecated: Use {::removeKeymap} instead. " - } - }, - "475": { - "18": { - "name": "handleKeyEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 475, - 18 - ], - [ - 484, - 1 - ] - ], - "doc": " Deprecated: Handle a jQuery keyboard event. Use {::handleKeyboardEvent} with\na raw keyboard event instead. " - } - }, - "484": { - "27": { - "name": "keystrokeStringForEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 484, - 27 - ], - [ - 490, - 1 - ] - ], - "doc": " Deprecated: Translate a jQuery keyboard event to a keystroke string. Use\n{::keystrokeForKeyboardEvent} with a raw KeyboardEvent instead. " - } - }, - "490": { - "12": { - "name": "bindKeys", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source", - "selector", - "keyBindings" - ], - "range": [ - [ - 490, - 12 - ], - [ - 497, - 1 - ] - ], - "doc": " Deprecated: Use {::addKeymap} with a map from selectors to key\nbindings. " - } - }, - "497": { - "25": { - "name": "keyBindingsForCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command" - ], - "range": [ - [ - 497, - 25 - ], - [ - 502, - 1 - ] - ], - "doc": "Deprecated: Use {::findKeyBindings} with the 'command' param. " - } - }, - "502": { - "27": { - "name": "keyBindingsForKeystroke", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystroke" - ], - "range": [ - [ - 502, - 27 - ], - [ - 507, - 1 - ] - ], - "doc": "Deprecated: Use {::findKeyBindings} with the 'keystrokes' param. " - } - }, - "507": { - "30": { - "name": "keyBindingsMatchingElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "target", - "keyBindings" - ], - "range": [ - [ - 507, - 30 - ], - [ - 513, - 1 - ] - ], - "doc": "Deprecated: Use {::findKeyBindings} with the 'target' param. " - } - }, - "513": { - "40": { - "name": "keyBindingsForCommandMatchingElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "target" - ], - "range": [ - [ - 513, - 40 - ], - [ - 519, - 1 - ] - ], - "doc": " Deprecated: Use {::findKeyBindings} with the 'command' and 'target'\nparams " - } - }, - "519": { - "42": { - "name": "keyBindingsForKeystrokeMatchingElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystrokes", - "target" - ], - "range": [ - [ - 519, - 42 - ], - [ - 521, - 62 - ] - ], - "doc": " Deprecated: Use {::findKeyBindings} with the 'keystrokes' and 'target'\nparams " - } - } - }, - "exports": 84 - }, - "src/grammar-registry.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "1": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "10": { - "name": "Grammar", - "type": "import", - "range": [ - [ - 4, - 10 - ], - [ - 4, - 28 - ] - ], - "bindingType": "variable", - "path": "./grammar" - } - }, - "5": { - "14": { - "name": "NullGrammar", - "type": "import", - "range": [ - [ - 5, - 14 - ], - [ - 5, - 37 - ] - ], - "bindingType": "variable", - "path": "./null-grammar" - } - }, - "9": { - "0": { - "type": "class", - "name": "GrammarRegistry", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 24, - 15 - ], - [ - 32, - 23 - ], - [ - 38, - 17 - ], - [ - 47, - 29 - ], - [ - 57, - 14 - ], - [ - 69, - 19 - ], - [ - 81, - 15 - ], - [ - 96, - 19 - ], - [ - 106, - 15 - ], - [ - 119, - 26 - ], - [ - 128, - 29 - ], - [ - 135, - 31 - ], - [ - 139, - 25 - ], - [ - 151, - 17 - ], - [ - 154, - 15 - ], - [ - 156, - 18 - ], - [ - 160, - 17 - ] - ], - "doc": "Public: Registry containing one or more grammars. ", - "range": [ - [ - 9, - 0 - ], - [ - 164, - 11 - ] - ] - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 12, - 15 - ], - [ - 24, - 1 - ] - ], - "doc": "~Private~" - } - }, - "24": { - "15": { - "name": "getGrammars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 24, - 15 - ], - [ - 32, - 1 - ] - ], - "doc": " Public: Get all the grammars in this registry.\n\nReturns a non-empty {Array} of {Grammar} instances. " - } - }, - "32": { - "23": { - "name": "grammarForScopeName", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeName" - ], - "range": [ - [ - 32, - 23 - ], - [ - 38, - 1 - ] - ], - "doc": " Public: Get a grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`.\n\nReturns a {Grammar} or undefined. " - } - }, - "38": { - "17": { - "name": "removeGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 38, - 17 - ], - [ - 47, - 1 - ] - ], - "doc": " Public: Remove a grammar from this registry.\n\ngrammar - The {Grammar} to remove. " - } - }, - "47": { - "29": { - "name": "removeGrammarForScopeName", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeName" - ], - "range": [ - [ - 47, - 29 - ], - [ - 57, - 1 - ] - ], - "doc": " Public: Remove the grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`. " - } - }, - "57": { - "14": { - "name": "addGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 57, - 14 - ], - [ - 69, - 1 - ] - ], - "doc": " Public: Add a grammar to this registry.\n\nA 'grammar-added' event is emitted after the grammar is added.\n\ngrammar - The {Grammar} to add. This should be a value previously returned\n from {::readGrammar} or {::readGrammarSync}. " - } - }, - "69": { - "19": { - "name": "readGrammarSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath" - ], - "range": [ - [ - 69, - 19 - ], - [ - 81, - 1 - ] - ], - "doc": " Public: Read a grammar synchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\n\nReturns a {Grammar}. " - } - }, - "81": { - "15": { - "name": "readGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath", - "callback" - ], - "range": [ - [ - 81, - 15 - ], - [ - 96, - 1 - ] - ], - "doc": " Public: Read a grammar asynchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " - } - }, - "96": { - "19": { - "name": "loadGrammarSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath" - ], - "range": [ - [ - 96, - 19 - ], - [ - 106, - 1 - ] - ], - "doc": " Public: Read a grammar synchronously and add it to this registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\n\nReturns a {Grammar}. " - } - }, - "106": { - "15": { - "name": "loadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath", - "callback" - ], - "range": [ - [ - 106, - 15 - ], - [ - 119, - 1 - ] - ], - "doc": " Public: Read a grammar asynchronously and add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " - } - }, - "119": { - "26": { - "name": "grammarOverrideForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 119, - 26 - ], - [ - 128, - 1 - ] - ], - "doc": " Public: Get the grammar override for the given file path.\n\nfilePath - A {String} file path.\n\nReturns a {Grammar} or undefined. " - } - }, - "128": { - "29": { - "name": "setGrammarOverrideForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "scopeName" - ], - "range": [ - [ - 128, - 29 - ], - [ - 135, - 1 - ] - ], - "doc": " Public: Set the grammar override for the given file path.\n\nfilePath - A non-empty {String} file path.\nscopeName - A {String} such as `\"source.js\"`.\n\nReturns a {Grammar} or undefined. " - } - }, - "135": { - "31": { - "name": "clearGrammarOverrideForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 135, - 31 - ], - [ - 139, - 1 - ] - ], - "doc": " Public: Remove the grammar override for the given file path.\n\nfilePath - A {String} file path. " - } - }, - "139": { - "25": { - "name": "clearGrammarOverrides", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 139, - 25 - ], - [ - 151, - 1 - ] - ], - "doc": "Public: Remove all grammar overrides. " - } - }, - "151": { - "17": { - "name": "selectGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "fileContents" - ], - "range": [ - [ - 151, - 17 - ], - [ - 154, - 1 - ] - ], - "doc": " Public: Select a grammar for the given file path and file contents.\n\nThis picks the best match by checking the file path and contents against\neach grammar.\n\nfilePath - A {String} file path.\nfileContents - A {String} of text for the file path.\n\nReturns a {Grammar}, never null. " - } - }, - "154": { - "15": { - "name": "createToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "scopes" - ], - "range": [ - [ - 154, - 15 - ], - [ - 154, - 48 - ] - ], - "doc": "~Private~" - } - }, - "156": { - "18": { - "name": "grammarUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeName" - ], - "range": [ - [ - 156, - 18 - ], - [ - 160, - 1 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "17": { - "name": "createGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath", - "object" - ], - "range": [ - [ - 160, - 17 - ], - [ - 164, - 11 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 9 - }, - "src/grammar.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "3": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 3, - 5 - ], - [ - 3, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.1" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 10 - ] - ], - "bindingType": "variable", - "module": "oniguruma", - "name": "OnigRegExp", - "exportsProperty": "OnigRegExp" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "7": { - "13": { - "name": "Injections", - "type": "import", - "range": [ - [ - 7, - 13 - ], - [ - 7, - 34 - ] - ], - "bindingType": "variable", - "path": "./injections" - } - }, - "8": { - "10": { - "name": "Pattern", - "type": "import", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 28 - ] - ], - "bindingType": "variable", - "path": "./pattern" - } - }, - "9": { - "7": { - "name": "Rule", - "type": "import", - "range": [ - [ - 9, - 7 - ], - [ - 9, - 22 - ] - ], - "bindingType": "variable", - "path": "./rule" - } - }, - "10": { - "16": { - "name": "ScopeSelector", - "type": "import", - "range": [ - [ - 10, - 16 - ], - [ - 10, - 41 - ] - ], - "bindingType": "variable", - "path": "./scope-selector" - } - }, - "12": { - "21": { - "name": "pathSplitRegex", - "type": "function", - "range": [ - [ - 12, - 21 - ], - [ - 12, - 34 - ] - ] - } - }, - "19": { - "0": { - "type": "class", - "name": "Grammar", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 22, - 15 - ], - [ - 51, - 17 - ], - [ - 73, - 16 - ], - [ - 141, - 12 - ], - [ - 144, - 14 - ], - [ - 147, - 14 - ], - [ - 151, - 18 - ], - [ - 154, - 17 - ], - [ - 162, - 27 - ], - [ - 165, - 18 - ], - [ - 172, - 12 - ], - [ - 182, - 19 - ], - [ - 199, - 16 - ], - [ - 214, - 15 - ], - [ - 216, - 14 - ], - [ - 218, - 17 - ], - [ - 220, - 23 - ], - [ - 223, - 19 - ] - ], - "doc": " Public: Grammar that tokenizes lines of text.\n\nThis class should not be instantiated directly but instead obtained from\na {GrammarRegistry} by calling {GrammarRegistry::loadGrammar}. ", - "range": [ - [ - 19, - 0 - ], - [ - 235, - 10 - ] - ] - } - }, - "22": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - "options" - ], - "range": [ - [ - 22, - 15 - ], - [ - 51, - 1 - ] - ], - "doc": "~Private~" - } - }, - "51": { - "17": { - "name": "tokenizeLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 51, - 17 - ], - [ - 73, - 1 - ] - ], - "doc": " Public: Tokenize all lines in the given text.\n\ntext - A {String} containing one or more lines.\n\nReturns an {Array} of token arrays for each line tokenized. " - } - }, - "73": { - "16": { - "name": "tokenizeLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line", - "ruleStack", - "firstLine" - ], - "range": [ - [ - 73, - 16 - ], - [ - 141, - 1 - ] - ], - "doc": " Public: Tokenize the line of text.\n\nline - A {String} of text to tokenize.\nruleStack - An optional {Array} of rules previously returned from this\n method. This should be null when tokenizing the first line in\n the file.\nfirstLine - A {Boolean} denoting whether this is the first line in the file\n which defaults to `false`. This should be `true` when\n tokenizing the first line in the file.\n\nReturns an {Object} containing `tokens` and `ruleStack` properties:\n :token - An {Array} of tokens covering the entire line of text.\n :ruleStack - An {Array} of rules representing the tokenized state at the\n end of the line. These should be passed back into this method\n when tokenizing the next line in the file. " - } - }, - "141": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 12 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "14": { - "name": "deactivate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 144, - 14 - ], - [ - 147, - 1 - ] - ], - "doc": "~Private~" - } - }, - "147": { - "14": { - "name": "clearRules", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 147, - 14 - ], - [ - 151, - 1 - ] - ], - "doc": "~Private~" - } - }, - "151": { - "18": { - "name": "getInitialRule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 151, - 18 - ], - [ - 154, - 1 - ] - ], - "doc": "~Private~" - } - }, - "154": { - "17": { - "name": "getRepository", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 17 - ], - [ - 162, - 1 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "27": { - "name": "addIncludedGrammarScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scope" - ], - "range": [ - [ - 162, - 27 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "18": { - "name": "grammarUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeName" - ], - "range": [ - [ - 165, - 18 - ], - [ - 172, - 1 - ] - ], - "doc": "~Private~" - } - }, - "172": { - "12": { - "name": "getScore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "contents" - ], - "range": [ - [ - 172, - 12 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "19": { - "name": "matchesContents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "contents" - ], - "range": [ - [ - 182, - 19 - ], - [ - 199, - 1 - ] - ], - "doc": "~Private~" - } - }, - "199": { - "16": { - "name": "getPathScore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 199, - 16 - ], - [ - 214, - 1 - ] - ], - "doc": "~Private~" - } - }, - "214": { - "15": { - "name": "createToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "scopes" - ], - "range": [ - [ - 214, - 15 - ], - [ - 214, - 69 - ] - ], - "doc": "~Private~" - } - }, - "216": { - "14": { - "name": "createRule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 216, - 14 - ], - [ - 216, - 60 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "17": { - "name": "createPattern", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 218, - 17 - ], - [ - 218, - 66 - ] - ], - "doc": "~Private~" - } - }, - "220": { - "23": { - "name": "getMaxTokensPerLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 220, - 23 - ], - [ - 223, - 1 - ] - ], - "doc": "~Private~" - } - }, - "223": { - "19": { - "name": "scopesFromStack", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stack", - "rule", - "endPatternMatch" - ], - "range": [ - [ - 223, - 19 - ], - [ - 235, - 10 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 19 - }, "src/directory.coffee": { "objects": { "0": { @@ -222514,57548 +57571,6 @@ "repository": "https://github.com/atom/space-pen.git", "version": "3.3.0", "files": { - "src/atom.coffee": { - "objects": { - "0": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 0, - 9 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "1": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "2": { - "5": { - "name": "os", - "type": "import", - "range": [ - [ - 2, - 5 - ], - [ - 2, - 16 - ] - ], - "bindingType": "variable", - "module": "os", - "builtin": true - } - }, - "3": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "4": { - "9": { - "name": "remote", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 24 - ] - ], - "bindingType": "variable", - "module": "remote" - } - }, - "5": { - "9": { - "name": "screen", - "type": "import", - "range": [ - [ - 5, - 9 - ], - [ - 5, - 24 - ] - ], - "bindingType": "variable", - "module": "screen" - } - }, - "6": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 6, - 8 - ], - [ - 6, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "8": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 8, - 4 - ], - [ - 8, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "9": { - "1": { - "type": "import", - "range": [ - [ - 9, - 1 - ], - [ - 9, - 10 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecated", - "exportsProperty": "deprecated" - } - }, - "10": { - "1": { - "type": "import", - "range": [ - [ - 10, - 1 - ], - [ - 10, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "11": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 11, - 5 - ], - [ - 11, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "13": { - "1": { - "type": "import", - "range": [ - [ - 13, - 1 - ], - [ - 13, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "14": { - "21": { - "name": "WindowEventHandler", - "type": "import", - "range": [ - [ - 14, - 21 - ], - [ - 14, - 52 - ] - ], - "bindingType": "variable", - "path": "./window-event-handler" - } - }, - "35": { - "0": { - "type": "class", - "name": "Atom", - "bindingType": "exports", - "classProperties": [ - [ - 36, - 12 - ], - [ - 44, - 17 - ], - [ - 48, - 16 - ], - [ - 53, - 14 - ], - [ - 71, - 17 - ], - [ - 89, - 21 - ], - [ - 95, - 22 - ], - [ - 99, - 20 - ], - [ - 109, - 21 - ] - ], - "prototypeProperties": [ - [ - 112, - 31 - ], - [ - 115, - 15 - ], - [ - 123, - 14 - ], - [ - 177, - 31 - ], - [ - 181, - 33 - ], - [ - 184, - 24 - ], - [ - 188, - 20 - ], - [ - 194, - 23 - ], - [ - 211, - 23 - ], - [ - 221, - 21 - ], - [ - 224, - 32 - ], - [ - 229, - 30 - ], - [ - 246, - 27 - ], - [ - 252, - 25 - ], - [ - 259, - 19 - ], - [ - 262, - 22 - ], - [ - 269, - 28 - ], - [ - 281, - 28 - ], - [ - 285, - 27 - ], - [ - 292, - 21 - ], - [ - 320, - 22 - ], - [ - 336, - 14 - ], - [ - 339, - 15 - ], - [ - 353, - 8 - ], - [ - 377, - 11 - ], - [ - 397, - 18 - ], - [ - 400, - 22 - ], - [ - 407, - 16 - ], - [ - 411, - 18 - ], - [ - 415, - 31 - ], - [ - 419, - 10 - ], - [ - 423, - 9 - ], - [ - 428, - 8 - ], - [ - 432, - 8 - ], - [ - 439, - 11 - ], - [ - 446, - 15 - ], - [ - 450, - 10 - ], - [ - 457, - 17 - ], - [ - 464, - 9 - ], - [ - 467, - 8 - ], - [ - 473, - 13 - ], - [ - 477, - 14 - ], - [ - 481, - 20 - ], - [ - 485, - 17 - ], - [ - 490, - 16 - ], - [ - 496, - 14 - ], - [ - 500, - 21 - ], - [ - 506, - 20 - ], - [ - 509, - 12 - ], - [ - 523, - 21 - ], - [ - 526, - 20 - ], - [ - 529, - 22 - ], - [ - 533, - 8 - ], - [ - 537, - 25 - ], - [ - 541, - 25 - ], - [ - 555, - 22 - ] - ], - "doc": " Public: Atom global for dealing with packages, themes, menus, and the window.\n\nAn instance of this class is always available as the `atom` global.\n\n## Useful properties available:\n\n * `atom.clipboard` - A {Clipboard} instance\n * `atom.config` - A {Config} instance\n * `atom.contextMenu` - A {ContextMenuManager} instance\n * `atom.deserializers` - A {DeserializerManager} instance\n * `atom.keymaps` - A {KeymapManager} instance\n * `atom.menu` - A {MenuManager} instance\n * `atom.packages` - A {PackageManager} instance\n * `atom.project` - A {Project} instance\n * `atom.syntax` - A {Syntax} instance\n * `atom.themes` - A {ThemeManager} instance\n * `atom.workspace` - A {Workspace} instance\n * `atom.workspaceView` - A {WorkspaceView} instance ", - "range": [ - [ - 35, - 0 - ], - [ - 567, - 27 - ] - ] - } - }, - "36": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 36, - 12 - ], - [ - 36, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "44": { - "17": { - "name": "loadOrCreate", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 44, - 17 - ], - [ - 48, - 1 - ] - ], - "doc": " Public: Load or create the Atom environment in the given mode.\n\nmode - Pass 'editor' or 'spec' depending on the kind of environment you\n want to build.\n\nReturns an Atom instance, fully initialized " - } - }, - "48": { - "16": { - "name": "deserialize", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 48, - 16 - ], - [ - 53, - 1 - ] - ], - "doc": "Private: Deserializes the Atom environment from a state object " - } - }, - "53": { - "14": { - "name": "loadState", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 53, - 14 - ], - [ - 71, - 1 - ] - ], - "doc": " Private: Loads and returns the serialized state corresponding to this window\nif it exists; otherwise returns undefined. " - } - }, - "71": { - "17": { - "name": "getStatePath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 71, - 17 - ], - [ - 89, - 1 - ] - ], - "doc": " Private: Returns the path where the state for the current window will be\nlocated if it exists. " - } - }, - "89": { - "21": { - "name": "getConfigDirPath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 95, - 1 - ] - ], - "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " - } - }, - "95": { - "22": { - "name": "getStorageDirPath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 95, - 22 - ], - [ - 99, - 1 - ] - ], - "doc": " Private: Get the path to Atom's storage directory.\n\nReturns the absolute path to ~/.atom/storage " - } - }, - "99": { - "20": { - "name": "getLoadSettings", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 99, - 20 - ], - [ - 109, - 1 - ] - ], - "doc": "Private: Returns the load settings hash associated with the current window. " - } - }, - "109": { - "21": { - "name": "getCurrentWindow", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 21 - ], - [ - 112, - 1 - ] - ], - "doc": "~Private~" - } - }, - "112": { - "31": { - "name": "workspaceViewParentSelector", - "type": "primitive", - "range": [ - [ - 112, - 31 - ], - [ - 112, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "115": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 115, - 15 - ], - [ - 123, - 1 - ] - ], - "doc": "Private: Call .loadOrCreate instead " - } - }, - "123": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 123, - 14 - ], - [ - 177, - 1 - ] - ], - "doc": " Public: Sets up the basic services that should be available in all modes\n(both spec and application). Call after this instance has been assigned to\nthe `atom` global. " - } - }, - "177": { - "31": { - "name": "registerRepresentationClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 31 - ], - [ - 181, - 1 - ] - ], - "doc": "Deprecated: Callers should be converted to use atom.deserializers " - } - }, - "181": { - "33": { - "name": "registerRepresentationClasses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 181, - 33 - ], - [ - 184, - 1 - ] - ], - "doc": "Deprecated: Callers should be converted to use atom.deserializers " - } - }, - "184": { - "24": { - "name": "setBodyPlatformClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 184, - 24 - ], - [ - 188, - 1 - ] - ], - "doc": "~Private~" - } - }, - "188": { - "20": { - "name": "getCurrentWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 20 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "23": { - "name": "getWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 194, - 23 - ], - [ - 211, - 1 - ] - ], - "doc": " Public: Get the dimensions of this window.\n\nReturns an object with x, y, width, and height keys. " - } - }, - "211": { - "23": { - "name": "setWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 211, - 23 - ], - [ - 221, - 1 - ] - ], - "doc": " Public: Set the dimensions of the window.\n\nThe window will be centered if either the x or y coordinate is not set\nin the dimensions parameter. If x or y are omitted the window will be\ncentered. If height or width are omitted only the position will be changed.\n\ndimensions - An {Object} with the following keys:\n :x - The new x coordinate.\n :y - The new y coordinate.\n :width - The new width.\n :height - The new height. " - } - }, - "221": { - "21": { - "name": "isValidDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 221, - 21 - ], - [ - 224, - 1 - ] - ], - "doc": " Private: Returns true if the dimensions are useable, false if they should be ignored.\nWork around for https://github.com/atom/atom-shell/issues/473 " - } - }, - "224": { - "32": { - "name": "storeDefaultWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 32 - ], - [ - 229, - 1 - ] - ], - "doc": "~Private~" - } - }, - "229": { - "30": { - "name": "getDefaultWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 229, - 30 - ], - [ - 246, - 1 - ] - ], - "doc": "~Private~" - } - }, - "246": { - "27": { - "name": "restoreWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 246, - 27 - ], - [ - 252, - 1 - ] - ], - "doc": "~Private~" - } - }, - "252": { - "25": { - "name": "storeWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 252, - 25 - ], - [ - 259, - 1 - ] - ], - "doc": "~Private~" - } - }, - "259": { - "19": { - "name": "getLoadSettings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 259, - 19 - ], - [ - 262, - 1 - ] - ], - "doc": "Private: Returns the load settings hash associated with the current window. " - } - }, - "262": { - "22": { - "name": "deserializeProject", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 262, - 22 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "28": { - "name": "deserializeWorkspaceView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 28 - ], - [ - 281, - 1 - ] - ], - "doc": "~Private~" - } - }, - "281": { - "28": { - "name": "deserializePackageStates", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 281, - 28 - ], - [ - 285, - 1 - ] - ], - "doc": "~Private~" - } - }, - "285": { - "27": { - "name": "deserializeEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 285, - 27 - ], - [ - 292, - 1 - ] - ], - "doc": "~Private~" - } - }, - "292": { - "21": { - "name": "startEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 21 - ], - [ - 320, - 1 - ] - ], - "doc": "Private: Call this method when establishing a real application window. " - } - }, - "320": { - "22": { - "name": "unloadEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 320, - 22 - ], - [ - 336, - 1 - ] - ], - "doc": "~Private~" - } - }, - "336": { - "14": { - "name": "loadThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 336, - 14 - ], - [ - 339, - 1 - ] - ], - "doc": "~Private~" - } - }, - "339": { - "15": { - "name": "watchThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 339, - 15 - ], - [ - 353, - 1 - ] - ], - "doc": "~Private~" - } - }, - "353": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 353, - 8 - ], - [ - 377, - 1 - ] - ], - "doc": " Public: Open a new Atom window using the given options.\n\nCalling this method without an options parameter will open a prompt to pick\na file/folder to open in the new window.\n\noptions - An {Object} with the following keys:\n :pathsToOpen - An {Array} of {String} paths to open. " - } - }, - "377": { - "11": { - "name": "confirm", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 377, - 11 - ], - [ - 397, - 1 - ] - ], - "doc": " Public: Open a confirm dialog.\n\n## Example\n\n```coffee\n atom.confirm\n message: 'How you feeling?'\n detailedMessage: 'Be honest.'\n buttons:\n Good: -> window.alert('good to hear')\n Bad: -> window.alert('bummer')\n```\n\noptions - An {Object} with the following keys:\n :message - The {String} message to display.\n :detailedMessage - The {String} detailed message to display.\n :buttons - Either an array of strings or an object where keys are\n button names and the values are callbacks to invoke when\n clicked.\n\nReturns the chosen button index {Number} if the buttons option was an array. " - } - }, - "397": { - "18": { - "name": "showSaveDialog", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 397, - 18 - ], - [ - 400, - 1 - ] - ], - "doc": "~Private~" - } - }, - "400": { - "22": { - "name": "showSaveDialogSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultPath" - ], - "range": [ - [ - 400, - 22 - ], - [ - 407, - 1 - ] - ], - "doc": "~Private~" - } - }, - "407": { - "16": { - "name": "openDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 407, - 16 - ], - [ - 411, - 1 - ] - ], - "doc": "Public: Open the dev tools for the current window. " - } - }, - "411": { - "18": { - "name": "toggleDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 411, - 18 - ], - [ - 415, - 1 - ] - ], - "doc": "Public: Toggle the visibility of the dev tools for the current window. " - } - }, - "415": { - "31": { - "name": "executeJavaScriptInDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "code" - ], - "range": [ - [ - 415, - 31 - ], - [ - 419, - 1 - ] - ], - "doc": "Public: Execute code in dev tools. " - } - }, - "419": { - "10": { - "name": "reload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 419, - 10 - ], - [ - 423, - 1 - ] - ], - "doc": "Public: Reload the current window. " - } - }, - "423": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 423, - 9 - ], - [ - 428, - 1 - ] - ], - "doc": "Public: Focus the current window. " - } - }, - "428": { - "8": { - "name": "show", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 8 - ], - [ - 432, - 1 - ] - ], - "doc": "Public: Show the current window. " - } - }, - "432": { - "8": { - "name": "hide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 432, - 8 - ], - [ - 439, - 1 - ] - ], - "doc": "Public: Hide the current window. " - } - }, - "439": { - "11": { - "name": "setSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width", - "height" - ], - "range": [ - [ - 439, - 11 - ], - [ - 446, - 1 - ] - ], - "doc": " Public: Set the size of current window.\n\nwidth - The {Number} of pixels.\nheight - The {Number} of pixels. " - } - }, - "446": { - "15": { - "name": "setPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "x", - "y" - ], - "range": [ - [ - 446, - 15 - ], - [ - 450, - 1 - ] - ], - "doc": " Public: Set the position of current window.\n\nx - The {Number} of pixels.\ny - The {Number} of pixels. " - } - }, - "450": { - "10": { - "name": "center", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 450, - 10 - ], - [ - 457, - 1 - ] - ], - "doc": "Public: Move current window to the center of the screen. " - } - }, - "457": { - "17": { - "name": "displayWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 457, - 17 - ], - [ - 464, - 1 - ] - ], - "doc": " Private: Schedule the window to be shown and focused on the next tick.\n\nThis is done in a next tick to prevent a white flicker from occurring\nif called synchronously. " - } - }, - "464": { - "9": { - "name": "close", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 464, - 9 - ], - [ - 467, - 1 - ] - ], - "doc": "Public: Close the current window. " - } - }, - "467": { - "8": { - "name": "exit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 467, - 8 - ], - [ - 473, - 1 - ] - ], - "doc": "~Private~" - } - }, - "473": { - "13": { - "name": "inDevMode", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 473, - 13 - ], - [ - 477, - 1 - ] - ], - "doc": "Public: Is the current window in development mode? " - } - }, - "477": { - "14": { - "name": "inSpecMode", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 477, - 14 - ], - [ - 481, - 1 - ] - ], - "doc": "Public: Is the current window running specs? " - } - }, - "481": { - "20": { - "name": "toggleFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 481, - 20 - ], - [ - 485, - 1 - ] - ], - "doc": "Public: Toggle the full screen state of the current window. " - } - }, - "485": { - "17": { - "name": "setFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fullScreen" - ], - "range": [ - [ - 485, - 17 - ], - [ - 490, - 1 - ] - ], - "doc": "Public: Set the full screen state of the current window. " - } - }, - "490": { - "16": { - "name": "isFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 490, - 16 - ], - [ - 496, - 1 - ] - ], - "doc": "Public: Is the current window in full screen mode? " - } - }, - "496": { - "14": { - "name": "getVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 496, - 14 - ], - [ - 500, - 1 - ] - ], - "doc": " Public: Get the version of the Atom application.\n\nReturns the version text {String}. " - } - }, - "500": { - "21": { - "name": "isReleasedVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 500, - 21 - ], - [ - 506, - 1 - ] - ], - "doc": "Public: Determine whether the current version is an official release. " - } - }, - "506": { - "20": { - "name": "getConfigDirPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 506, - 20 - ], - [ - 509, - 1 - ] - ], - "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " - } - }, - "509": { - "12": { - "name": "saveSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 509, - 12 - ], - [ - 523, - 1 - ] - ], - "doc": "~Private~" - } - }, - "523": { - "21": { - "name": "getWindowLoadTime", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 523, - 21 - ], - [ - 526, - 1 - ] - ], - "doc": " Public: Get the time taken to completely load the current window.\n\nThis time include things like loading and activating packages, creating\nDOM elements for the editor, and reading the config.\n\nReturns the number of milliseconds taken to load the window or null\nif the window hasn't finished loading yet. " - } - }, - "526": { - "20": { - "name": "crashMainProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 526, - 20 - ], - [ - 529, - 1 - ] - ], - "doc": "~Private~" - } - }, - "529": { - "22": { - "name": "crashRenderProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 529, - 22 - ], - [ - 533, - 1 - ] - ], - "doc": "~Private~" - } - }, - "533": { - "8": { - "name": "beep", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 533, - 8 - ], - [ - 537, - 1 - ] - ], - "doc": "Public: Visually and audibly trigger a beep. " - } - }, - "537": { - "25": { - "name": "getUserInitScriptPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 537, - 25 - ], - [ - 541, - 1 - ] - ], - "doc": "~Private~" - } - }, - "541": { - "25": { - "name": "requireUserInitScript", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 541, - 25 - ], - [ - 555, - 1 - ] - ] - } - }, - "555": { - "22": { - "name": "requireWithGlobals", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id", - "globals" - ], - "range": [ - [ - 555, - 22 - ], - [ - 567, - 27 - ] - ], - "doc": " Public: Require the module with the given globals.\n\nThe globals will be set on the `window` object and removed after the\nrequire completes.\n\nid - The {String} module name or path.\nglobals - An {Object} to set as globals during require (default: {}) " - } - } - }, - "exports": 35 - }, - "src/browser/application-menu.coffee": { - "objects": { - "0": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "1": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "2": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "10": { - "0": { - "type": "class", - "name": "ApplicationMenu", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 22, - 10 - ], - [ - 35, - 20 - ], - [ - 47, - 23 - ], - [ - 58, - 29 - ], - [ - 63, - 21 - ], - [ - 68, - 22 - ], - [ - 90, - 22 - ], - [ - 102, - 17 - ], - [ - 113, - 21 - ], - [ - 131, - 25 - ] - ], - "doc": " Private: Used to manage the global application menu.\n\nIt's created by {AtomApplication} upon instantiation and used to add, remove\nand maintain the state of all menu items. ", - "range": [ - [ - 10, - 0 - ], - [ - 145, - 18 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 22, - 1 - ] - ] - } - }, - "22": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 22, - 10 - ], - [ - 35, - 1 - ] - ], - "doc": " Public: Updates the entire menu with the given keybindings.\n\ntemplate - The Object which describes the menu to display.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke. " - } - }, - "35": { - "20": { - "name": "flattenMenuItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "menu" - ], - "range": [ - [ - 35, - 20 - ], - [ - 47, - 1 - ] - ], - "doc": " Private: Flattens the given menu and submenu items into an single Array.\n\nmenu - A complete menu configuration object for atom-shell's menu API.\n\nReturns an Array of native menu items. " - } - }, - "47": { - "23": { - "name": "flattenMenuTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 47, - 23 - ], - [ - 58, - 1 - ] - ], - "doc": " Private: Flattens the given menu template into an single Array.\n\ntemplate - An object describing the menu item.\n\nReturns an Array of native menu items. " - } - }, - "58": { - "29": { - "name": "enableWindowSpecificItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "enable" - ], - "range": [ - [ - 58, - 29 - ], - [ - 63, - 1 - ] - ], - "doc": " Public: Used to make all window related menu items are active.\n\nenable - If true enables all window specific items, if false disables all\n window specific items. " - } - }, - "63": { - "21": { - "name": "substituteVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 63, - 21 - ], - [ - 68, - 1 - ] - ], - "doc": "Private: Replaces VERSION with the current version. " - } - }, - "68": { - "22": { - "name": "showUpdateMenuItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 68, - 22 - ], - [ - 90, - 1 - ] - ], - "doc": "Private: Sets the proper visible state the update menu items " - } - }, - "90": { - "22": { - "name": "getDefaultTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 22 - ], - [ - 102, - 1 - ] - ], - "doc": " Private: Default list of menu items.\n\nReturns an Array of menu item Objects. " - } - }, - "102": { - "17": { - "name": "focusedWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 17 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "21": { - "name": "translateTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 113, - 21 - ], - [ - 131, - 1 - ] - ], - "doc": " Private: Combines a menu template with the appropriate keystroke.\n\ntemplate - An Object conforming to atom-shell's menu api but lacking\n accelerator and click properties.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a complete menu configuration object for atom-shell's menu API. " - } - }, - "131": { - "25": { - "name": "acceleratorForCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "keystrokesByCommand" - ], - "range": [ - [ - 131, - 25 - ], - [ - 145, - 18 - ] - ], - "doc": " Private: Determine the accelerator for a given command.\n\ncommand - The name of the command.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a String containing the keystroke in a format that can be interpreted\n by atom shell to provide nice icons where available. " - } - } - }, - "exports": 10 - }, - "src/browser/atom-application.coffee": { - "objects": { - "0": { - "13": { - "name": "AtomWindow", - "type": "import", - "range": [ - [ - 0, - 13 - ], - [ - 0, - 35 - ] - ], - "bindingType": "variable", - "path": "./atom-window" - } - }, - "1": { - "18": { - "name": "ApplicationMenu", - "type": "import", - "range": [ - [ - 1, - 18 - ], - [ - 1, - 45 - ] - ], - "bindingType": "variable", - "path": "./application-menu" - } - }, - "2": { - "22": { - "name": "AtomProtocolHandler", - "type": "import", - "range": [ - [ - 2, - 22 - ], - [ - 2, - 54 - ] - ], - "bindingType": "variable", - "path": "./atom-protocol-handler" - } - }, - "3": { - "20": { - "name": "AutoUpdateManager", - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 50 - ] - ], - "bindingType": "variable", - "path": "./auto-update-manager" - } - }, - "4": { - "16": { - "name": "BrowserWindow", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 39 - ] - ], - "bindingType": "variable", - "module": "browser-window" - } - }, - "5": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "6": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 6, - 6 - ], - [ - 6, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "7": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "8": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 8, - 5 - ], - [ - 8, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "9": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 9, - 6 - ], - [ - 9, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "10": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 10, - 7 - ], - [ - 10, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "11": { - "5": { - "name": "os", - "type": "import", - "range": [ - [ - 11, - 5 - ], - [ - 11, - 16 - ] - ], - "bindingType": "variable", - "module": "os", - "builtin": true - } - }, - "12": { - "6": { - "name": "net", - "type": "import", - "range": [ - [ - 12, - 6 - ], - [ - 12, - 18 - ] - ], - "bindingType": "variable", - "module": "net", - "builtin": true - } - }, - "13": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 13, - 8 - ], - [ - 13, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "14": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 14, - 6 - ], - [ - 14, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "15": { - "1": { - "type": "import", - "range": [ - [ - 15, - 1 - ], - [ - 15, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "16": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 16, - 4 - ], - [ - 16, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "30": { - "0": { - "type": "class", - "name": "AtomApplication", - "bindingType": "exports", - "classProperties": [ - [ - 34, - 9 - ] - ], - "prototypeProperties": [ - [ - 52, - 11 - ], - [ - 53, - 19 - ], - [ - 54, - 23 - ], - [ - 55, - 16 - ], - [ - 56, - 11 - ], - [ - 58, - 8 - ], - [ - 60, - 15 - ], - [ - 83, - 19 - ], - [ - 94, - 16 - ], - [ - 99, - 13 - ], - [ - 110, - 36 - ], - [ - 119, - 20 - ], - [ - 132, - 28 - ], - [ - 136, - 16 - ], - [ - 232, - 15 - ], - [ - 245, - 23 - ], - [ - 254, - 31 - ], - [ - 274, - 19 - ], - [ - 282, - 17 - ], - [ - 287, - 17 - ], - [ - 298, - 13 - ], - [ - 311, - 12 - ], - [ - 337, - 20 - ], - [ - 341, - 24 - ], - [ - 346, - 15 - ], - [ - 364, - 11 - ], - [ - 393, - 12 - ], - [ - 406, - 17 - ], - [ - 415, - 25 - ], - [ - 440, - 17 - ] - ], - "doc": " Private: The application's singleton class.\n\nIt's the entry point into the Atom application and maintains the global state\nof the application.\n\n ", - "range": [ - [ - 30, - 0 - ], - [ - 449, - 50 - ] - ] - } - }, - "34": { - "9": { - "name": "open", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 34, - 9 - ], - [ - 52, - 1 - ] - ], - "doc": "Public: The entry point into the Atom application. " - } - }, - "52": { - "11": { - "name": "windows", - "type": "primitive", - "range": [ - [ - 52, - 11 - ], - [ - 52, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "53": { - "19": { - "name": "applicationMenu", - "type": "primitive", - "range": [ - [ - 53, - 19 - ], - [ - 53, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "54": { - "23": { - "name": "atomProtocolHandler", - "type": "primitive", - "range": [ - [ - 54, - 23 - ], - [ - 54, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "55": { - "16": { - "name": "resourcePath", - "type": "primitive", - "range": [ - [ - 55, - 16 - ], - [ - 55, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "56": { - "11": { - "name": "version", - "type": "primitive", - "range": [ - [ - 56, - 11 - ], - [ - 56, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "58": { - "8": { - "name": "exit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 58, - 8 - ], - [ - 58, - 35 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 60, - 15 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "19": { - "name": "openWithOptions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 83, - 19 - ], - [ - 94, - 1 - ] - ], - "doc": "Private: Opens a new window based on the options provided. " - } - }, - "94": { - "16": { - "name": "removeWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "window" - ], - "range": [ - [ - 94, - 16 - ], - [ - 99, - 1 - ] - ], - "doc": "Public: Removes the {AtomWindow} from the global window list. " - } - }, - "99": { - "13": { - "name": "addWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "window" - ], - "range": [ - [ - 99, - 13 - ], - [ - 110, - 1 - ] - ], - "doc": "Public: Adds the {AtomWindow} to the global window list. " - } - }, - "110": { - "36": { - "name": "listenForArgumentsFromNewProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 36 - ], - [ - 119, - 1 - ] - ], - "doc": " Private: Creates server to listen for additional atom application launches.\n\nYou can run the atom command multiple times, but after the first launch\nthe other launches will just pass their information to this server and then\nclose immediately. " - } - }, - "119": { - "20": { - "name": "deleteSocketFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 119, - 20 - ], - [ - 132, - 1 - ] - ], - "doc": "~Private~" - } - }, - "132": { - "28": { - "name": "setupJavaScriptArguments", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 132, - 28 - ], - [ - 136, - 1 - ] - ], - "doc": "Private: Configures required javascript environment flags. " - } - }, - "136": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 16 - ], - [ - 232, - 1 - ] - ], - "doc": "Private: Registers basic application commands, non-idempotent. " - } - }, - "232": { - "15": { - "name": "sendCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 232, - 15 - ], - [ - 245, - 1 - ] - ], - "doc": " Public: Executes the given command.\n\nIf it isn't handled globally, delegate to the currently focused window.\n\ncommand - The string representing the command.\nargs - The optional arguments to pass along. " - } - }, - "245": { - "23": { - "name": "sendCommandToWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "atomWindow", - "args" - ], - "range": [ - [ - 245, - 23 - ], - [ - 254, - 1 - ] - ], - "doc": " Public: Executes the given command on the given window.\n\ncommand - The string representing the command.\natomWindow - The {AtomWindow} to send the command to.\nargs - The optional arguments to pass along. " - } - }, - "254": { - "31": { - "name": "sendCommandToFirstResponder", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command" - ], - "range": [ - [ - 254, - 31 - ], - [ - 274, - 1 - ] - ], - "doc": " Private: Translates the command into OS X action and sends it to application's first\nresponder. " - } - }, - "274": { - "19": { - "name": "openPathOnEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventName", - "pathToOpen" - ], - "range": [ - [ - 274, - 19 - ], - [ - 282, - 1 - ] - ], - "doc": " Public: Open the given path in the focused window when the event is\ntriggered.\n\nA new window will be created if there is no currently focused window.\n\neventName - The event to listen for.\npathToOpen - The path to open when the event is triggered. " - } - }, - "282": { - "17": { - "name": "windowForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen" - ], - "range": [ - [ - 282, - 17 - ], - [ - 287, - 1 - ] - ], - "doc": "Private: Returns the {AtomWindow} for the given path. " - } - }, - "287": { - "17": { - "name": "focusedWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 287, - 17 - ], - [ - 298, - 1 - ] - ], - "doc": "Public: Returns the currently focused {AtomWindow} or undefined if none. " - } - }, - "298": { - "13": { - "name": "openPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 298, - 13 - ], - [ - 311, - 1 - ] - ], - "doc": " Public: Opens multiple paths, in existing windows if possible.\n\noptions -\n :pathsToOpen - The array of file paths to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " - } - }, - "311": { - "12": { - "name": "openPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 311, - 12 - ], - [ - 337, - 1 - ] - ], - "doc": " Public: Opens a single path, in an existing window if possible.\n\noptions -\n :pathToOpen - The file path to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode.\n :windowDimensions - Object with height and width keys. " - } - }, - "337": { - "20": { - "name": "killAllProcesses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 337, - 20 - ], - [ - 341, - 1 - ] - ], - "doc": "Private: Kill all processes associated with opened windows. " - } - }, - "341": { - "24": { - "name": "killProcessForWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "openedWindow" - ], - "range": [ - [ - 341, - 24 - ], - [ - 346, - 1 - ] - ], - "doc": "Private: Kill process associated with the given opened window. " - } - }, - "346": { - "15": { - "name": "killProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pid" - ], - "range": [ - [ - 346, - 15 - ], - [ - 364, - 1 - ] - ], - "doc": "Private: Kill the process with the given pid. " - } - }, - "364": { - "11": { - "name": "openUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 364, - 11 - ], - [ - 393, - 1 - ] - ], - "doc": " Private: Open an atom:// url.\n\nThe host of the URL being opened is assumed to be the package name\nresponsible for opening the URL. A new window will be created with\nthat package's `urlMain` as the bootstrap script.\n\noptions -\n :urlToOpen - The atom:// url to open.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " - } - }, - "393": { - "12": { - "name": "runSpecs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 393, - 12 - ], - [ - 406, - 1 - ] - ], - "doc": " Private: Opens up a new {AtomWindow} to run specs within.\n\noptions -\n :exitWhenDone - A Boolean that if true, will close the window upon\n completion.\n :resourcePath - The path to include specs from.\n :specPath - The directory to load specs from. " - } - }, - "406": { - "17": { - "name": "runBenchmarks", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 406, - 17 - ], - [ - 415, - 1 - ] - ], - "doc": "~Private~" - } - }, - "415": { - "25": { - "name": "locationForPathToOpen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen" - ], - "range": [ - [ - 415, - 25 - ], - [ - 440, - 1 - ] - ], - "doc": "~Private~" - } - }, - "440": { - "17": { - "name": "promptForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 440, - 17 - ], - [ - 449, - 50 - ] - ], - "doc": " Private: Opens a native dialog to prompt the user for a path.\n\nOnce paths are selected, they're opened in a new or existing {AtomWindow}s.\n\noptions -\n :type - A String which specifies the type of the dialog, could be 'file',\n 'folder' or 'all'. The 'all' is only available on OS X.\n :devMode - A Boolean which controls whether any newly opened windows\n should be in dev mode or not.\n :safeMode - A Boolean which controls whether any newly opened windows\n should be in safe mode or not. " - } - } - }, - "exports": 30 - }, - "src/browser/atom-protocol-handler.coffee": { - "objects": { - "0": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "2": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "3": { - "11": { - "name": "protocol", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "protocol" - } - }, - "10": { - "0": { - "type": "class", - "name": "AtomProtocolHandler", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 21, - 24 - ] - ], - "doc": " Private: Handles requests with 'atom' protocol.\n\nIt's created by {AtomApplication} upon instantiation, and is used to create a\ncustom resource loader by adding the 'atom' custom protocol. ", - "range": [ - [ - 10, - 0 - ], - [ - 27, - 50 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 21, - 1 - ] - ] - } - }, - "21": { - "24": { - "name": "registerAtomProtocol", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 24 - ], - [ - 27, - 50 - ] - ], - "doc": "Private: Creates the 'atom' custom protocol handler. " - } - } - }, - "exports": 10 - }, - "src/browser/atom-window.coffee": { - "objects": { - "0": { - "16": { - "name": "BrowserWindow", - "type": "import", - "range": [ - [ - 0, - 16 - ], - [ - 0, - 39 - ] - ], - "bindingType": "variable", - "module": "browser-window" - } - }, - "1": { - "14": { - "name": "ContextMenu", - "type": "import", - "range": [ - [ - 1, - 14 - ], - [ - 1, - 37 - ] - ], - "bindingType": "variable", - "path": "./context-menu" - } - }, - "2": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "3": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 3, - 9 - ], - [ - 3, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "4": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "6": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 6, - 6 - ], - [ - 6, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "7": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "11": { - "0": { - "type": "class", - "name": "AtomWindow", - "bindingType": "exports", - "classProperties": [ - [ - 14, - 13 - ], - [ - 15, - 25 - ] - ], - "prototypeProperties": [ - [ - 17, - 17 - ], - [ - 18, - 10 - ], - [ - 19, - 10 - ], - [ - 21, - 15 - ], - [ - 56, - 10 - ], - [ - 68, - 18 - ], - [ - 71, - 16 - ], - [ - 86, - 16 - ], - [ - 126, - 12 - ], - [ - 133, - 15 - ], - [ - 147, - 30 - ], - [ - 151, - 17 - ], - [ - 156, - 9 - ], - [ - 158, - 9 - ], - [ - 160, - 12 - ], - [ - 162, - 12 - ], - [ - 164, - 11 - ], - [ - 166, - 23 - ], - [ - 169, - 13 - ], - [ - 171, - 20 - ], - [ - 173, - 16 - ], - [ - 175, - 10 - ], - [ - 177, - 18 - ] - ], - "doc": "~Private~", - "range": [ - [ - 11, - 0 - ], - [ - 177, - 52 - ] - ] - } - }, - "14": { - "13": { - "name": "iconPath", - "type": "function", - "range": [ - [ - 14, - 13 - ], - [ - 14, - 72 - ] - ], - "bindingType": "classProperty" - } - }, - "15": { - "25": { - "name": "includeShellLoadTime", - "type": "primitive", - "range": [ - [ - 15, - 25 - ], - [ - 15, - 28 - ] - ], - "bindingType": "classProperty" - } - }, - "17": { - "17": { - "name": "browserWindow", - "type": "primitive", - "range": [ - [ - 17, - 17 - ], - [ - 17, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "10": { - "name": "loaded", - "type": "primitive", - "range": [ - [ - 18, - 10 - ], - [ - 18, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "10": { - "name": "isSpec", - "type": "primitive", - "range": [ - [ - 19, - 10 - ], - [ - 19, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "settings" - ], - "range": [ - [ - 21, - 15 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "10": { - "name": "getUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "loadSettingsObj" - ], - "range": [ - [ - 56, - 10 - ], - [ - 68, - 1 - ] - ], - "doc": "~Private~" - } - }, - "68": { - "18": { - "name": "getInitialPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 18 - ], - [ - 71, - 1 - ] - ], - "doc": "~Private~" - } - }, - "71": { - "16": { - "name": "containsPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToCheck" - ], - "range": [ - [ - 71, - 16 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 16 - ], - [ - 126, - 1 - ] - ], - "doc": "~Private~" - } - }, - "126": { - "12": { - "name": "openPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen", - "initialLine", - "initialColumn" - ], - "range": [ - [ - 126, - 12 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "15": { - "name": "sendCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 133, - 15 - ], - [ - 147, - 1 - ] - ], - "doc": "~Private~" - } - }, - "147": { - "30": { - "name": "sendCommandToBrowserWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 147, - 30 - ], - [ - 151, - 1 - ] - ], - "doc": "~Private~" - } - }, - "151": { - "17": { - "name": "getDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 151, - 17 - ], - [ - 156, - 1 - ] - ], - "doc": "~Private~" - } - }, - "156": { - "9": { - "name": "close", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 156, - 9 - ], - [ - 156, - 33 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 9 - ], - [ - 158, - 33 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "12": { - "name": "minimize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 160, - 12 - ], - [ - 160, - 39 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "12": { - "name": "maximize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 12 - ], - [ - 162, - 39 - ] - ], - "doc": "~Private~" - } - }, - "164": { - "11": { - "name": "restore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 164, - 11 - ], - [ - 164, - 37 - ] - ], - "doc": "~Private~" - } - }, - "166": { - "23": { - "name": "handlesAtomCommands", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 166, - 23 - ], - [ - 169, - 1 - ] - ], - "doc": "~Private~" - } - }, - "169": { - "13": { - "name": "isFocused", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 169, - 13 - ], - [ - 169, - 41 - ] - ], - "doc": "~Private~" - } - }, - "171": { - "20": { - "name": "isWebViewFocused", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 20 - ], - [ - 171, - 55 - ] - ], - "doc": "~Private~" - } - }, - "173": { - "16": { - "name": "isSpecWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 173, - 16 - ], - [ - 173, - 25 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "10": { - "name": "reload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 175, - 10 - ], - [ - 175, - 36 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "18": { - "name": "toggleDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 18 - ], - [ - 177, - 51 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 11 - }, - "src/browser/auto-update-manager.coffee": { - "objects": { - "0": { - "8": { - "name": "https", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 22 - ] - ], - "bindingType": "variable", - "module": "https", - "builtin": true - } - }, - "1": { - "14": { - "name": "autoUpdater", - "type": "import", - "range": [ - [ - 1, - 14 - ], - [ - 1, - 35 - ] - ], - "bindingType": "variable", - "module": "auto-updater" - } - }, - "2": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "6": { - "11": { - "name": "'idle'", - "type": "primitive", - "range": [ - [ - 6, - 11 - ], - [ - 6, - 16 - ] - ] - } - }, - "7": { - "15": { - "name": "'checking'", - "type": "primitive", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 24 - ] - ] - } - }, - "8": { - "18": { - "name": "'downloading'", - "type": "primitive", - "range": [ - [ - 8, - 18 - ], - [ - 8, - 30 - ] - ] - } - }, - "9": { - "23": { - "name": "'update-available'", - "type": "primitive", - "range": [ - [ - 9, - 23 - ], - [ - 9, - 40 - ] - ] - } - }, - "10": { - "26": { - "name": "'no-update-available'", - "type": "primitive", - "range": [ - [ - 10, - 26 - ], - [ - 10, - 46 - ] - ] - } - }, - "11": { - "12": { - "name": "'error'", - "type": "primitive", - "range": [ - [ - 11, - 12 - ], - [ - 11, - 18 - ] - ] - } - }, - "14": { - "0": { - "type": "class", - "name": "AutoUpdateManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 15 - ], - [ - 48, - 23 - ], - [ - 63, - 28 - ], - [ - 68, - 12 - ], - [ - 73, - 12 - ], - [ - 76, - 9 - ], - [ - 83, - 11 - ], - [ - 86, - 24 - ], - [ - 90, - 17 - ], - [ - 94, - 14 - ] - ], - "doc": "~Private~", - "range": [ - [ - 14, - 0 - ], - [ - 95, - 34 - ] - ] - } - }, - "17": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 17, - 15 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "23": { - "name": "checkForUpdatesShim", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 23 - ], - [ - 63, - 1 - ] - ], - "doc": "Private: Windows doesn't have an auto-updater, so use this method to shim the events. " - } - }, - "63": { - "28": { - "name": "emitUpdateAvailableEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "windows" - ], - "range": [ - [ - 63, - 28 - ], - [ - 68, - 1 - ] - ], - "doc": "~Private~" - } - }, - "68": { - "12": { - "name": "setState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 68, - 12 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "12": { - "name": "getState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 12 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "9": { - "name": "check", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 76, - 9 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "11": { - "name": "install", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 83, - 11 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "24": { - "name": "onUpdateNotAvailable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 24 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "17": { - "name": "onUpdateError", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event", - "message" - ], - "range": [ - [ - 90, - 17 - ], - [ - 94, - 1 - ] - ], - "doc": "~Private~" - } - }, - "94": { - "14": { - "name": "getWindows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 14 - ], - [ - 95, - 34 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 14 - }, - "src/browser/context-menu.coffee": { - "objects": { - "0": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "3": { - "0": { - "type": "class", - "name": "ContextMenu", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 4, - 15 - ], - [ - 12, - 23 - ] - ], - "doc": "~Private~", - "range": [ - [ - 3, - 0 - ], - [ - 23, - 10 - ] - ] - } - }, - "4": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - null - ], - "range": [ - [ - 4, - 15 - ], - [ - 12, - 1 - ] - ] - } - }, - "12": { - "23": { - "name": "createClickHandlers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 12, - 23 - ], - [ - 23, - 10 - ] - ], - "doc": " Private: It's necessary to build the event handlers in this process, otherwise\nclosures are drug across processes and failed to be garbage collected\nappropriately. " - } - } - }, - "exports": 3 - }, - "src/browser/main.coffee": { - "objects": { - "0": { - "24": { - "name": "global.shellStartTime", - "type": "function", - "range": [ - [ - 0, - 24 - ], - [ - 0, - 33 - ] - ] - } - }, - "2": { - "16": { - "name": "crashReporter", - "type": "import", - "range": [ - [ - 2, - 16 - ], - [ - 2, - 39 - ] - ], - "bindingType": "variable", - "module": "crash-reporter" - } - }, - "3": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 3, - 6 - ], - [ - 3, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "6": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 6, - 7 - ], - [ - 6, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "7": { - "11": { - "name": "optimist", - "type": "import", - "range": [ - [ - 7, - 11 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "optimist" - } - }, - "8": { - "8": { - "name": "nslog", - "type": "import", - "range": [ - [ - 8, - 8 - ], - [ - 8, - 22 - ] - ], - "bindingType": "variable", - "module": "nslog" - } - }, - "9": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 9, - 9 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "11": { - "14": { - "name": "nslog", - "type": "primitive", - "range": [ - [ - 11, - 14 - ], - [ - 11, - 18 - ] - ] - } - }, - "17": { - "8": { - "name": "start", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 8 - ], - [ - 51, - 0 - ] - ], - "doc": "~Private~" - } - }, - "54": { - "25": { - "name": "global.devResourcePath", - "type": "function", - "range": [ - [ - 54, - 25 - ], - [ - 54, - 62 - ] - ] - } - }, - "56": { - "21": { - "name": "setupCrashReporter", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 21 - ], - [ - 58, - 0 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "19": { - "name": "parseCommandLine", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 19 - ], - [ - 110, - 0 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": {} - }, - "src/buffered-node-process.coffee": { - "objects": { - "0": { - "18": { - "name": "BufferedProcess", - "type": "import", - "range": [ - [ - 0, - 18 - ], - [ - 0, - 45 - ] - ], - "bindingType": "variable", - "path": "./buffered-process" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "14": { - "0": { - "type": "class", - "name": "BufferedNodeProcess", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 36, - 15 - ] - ], - "doc": " Public: Like {BufferedProcess}, but accepts a Node script as the command\nto run.\n\nThis is necessary on Windows since it doesn't support shebang `#!` lines.\n\n## Requiring in packages\n\n```coffee\n{BufferedNodeProcess} = require 'atom'\n``` ", - "range": [ - [ - 14, - 0 - ], - [ - 50, - 63 - ] - ] - } - }, - "36": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 36, - 15 - ], - [ - 50, - 63 - ] - ], - "doc": " Public: Runs the given Node script by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} path to the JavaScript script to execute.\n :args - The {Array} of arguments to pass to the script (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " - } - } - }, - "exports": 14 - }, - "src/buffered-process.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "15": { - "name": "ChildProcess", - "type": "import", - "range": [ - [ - 1, - 15 - ], - [ - 1, - 37 - ] - ], - "bindingType": "variable", - "module": "child_process", - "builtin": true - } - }, - "18": { - "0": { - "type": "class", - "name": "BufferedProcess", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 40, - 15 - ], - [ - 99, - 16 - ], - [ - 117, - 8 - ] - ], - "doc": " Public: A wrapper which provides standard error/output line buffering for\nNode's ChildProcess.\n\n## Requiring in packages\n\n```coffee\n{BufferedProcess} = require 'atom'\n\ncommand = 'ps'\nargs = ['-ef']\nstdout = (output) -> console.log(output)\nexit = (code) -> console.log(\"ps -ef exited with #{code}\")\nprocess = new BufferedProcess({command, args, stdout, exit})\n``` ", - "range": [ - [ - 18, - 0 - ], - [ - 120, - 19 - ] - ] - } - }, - "40": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 40, - 15 - ], - [ - 99, - 1 - ] - ], - "doc": " Public: Runs the given command by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} command to execute.\n :args - The {Array} of arguments to pass to the command (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " - } - }, - "99": { - "16": { - "name": "bufferStream", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stream", - "onLines", - "onDone" - ], - "range": [ - [ - 99, - 16 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: Helper method to pass data line by line.\n\nstream - The Stream to read from.\nonLines - The callback to call with each line of data.\nonDone - The callback to call when the stream has closed. " - } - }, - "117": { - "8": { - "name": "kill", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 8 - ], - [ - 120, - 19 - ] - ], - "doc": "Public: Terminate the process. " - } - } - }, - "exports": 18 - }, - "src/clipboard.coffee": { - "objects": { - "0": { - "12": { - "name": "clipboard", - "type": "import", - "range": [ - [ - 0, - 12 - ], - [ - 0, - 30 - ] - ], - "bindingType": "variable", - "module": "clipboard" - } - }, - "1": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 1, - 9 - ], - [ - 1, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "7": { - "0": { - "type": "class", - "name": "Clipboard", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 8, - 12 - ], - [ - 9, - 24 - ], - [ - 16, - 7 - ], - [ - 26, - 9 - ], - [ - 34, - 8 - ], - [ - 43, - 20 - ] - ], - "doc": " Public: Represents the clipboard used for copying and pasting in Atom.\n\nAn instance of this class is always available as the `atom.clipboard` global. ", - "range": [ - [ - 7, - 0 - ], - [ - 48, - 12 - ] - ] - } - }, - "8": { - "12": { - "name": "metadata", - "type": "primitive", - "range": [ - [ - 8, - 12 - ], - [ - 8, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "24": { - "name": "signatureForMetadata", - "type": "primitive", - "range": [ - [ - 9, - 24 - ], - [ - 9, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "7": { - "name": "md5", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 16, - 7 - ], - [ - 26, - 1 - ] - ], - "doc": " Private: Creates an `md5` hash of some text.\n\ntext - A {String} to hash.\n\nReturns a hashed {String}. " - } - }, - "26": { - "9": { - "name": "write", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "metadata" - ], - "range": [ - [ - 26, - 9 - ], - [ - 34, - 1 - ] - ], - "doc": " Public: Write the given text to the clipboard.\n\nThe metadata associated with the text is available by calling\n{::readWithMetadata}.\n\ntext - The {String} to store.\nmetadata - The additional info to associate with the text. " - } - }, - "34": { - "8": { - "name": "read", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 8 - ], - [ - 43, - 1 - ] - ], - "doc": " Public: Read the text from the clipboard.\n\nReturns a {String}. " - } - }, - "43": { - "20": { - "name": "readWithMetadata", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 20 - ], - [ - 48, - 12 - ] - ], - "doc": " Public: Read the text from the clipboard and return both the text and the\nassociated metadata.\n\nReturns an {Object} with the following keys:\n :text - The {String} clipboard text.\n :metadata - The metadata stored by an earlier call to {::write}. " - } - } - }, - "exports": 7 - }, - "src/coffee-cache.coffee": { - "objects": { - "0": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 0, - 9 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "3": { - "15": { - "name": "CoffeeScript", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 37 - ] - ], - "bindingType": "variable", - "module": "coffee-script" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "8": { - "17": { - "name": "coffeeCacheDir", - "type": "function", - "range": [ - [ - 8, - 17 - ], - [ - 8, - 45 - ] - ] - } - }, - "11": { - "15": { - "name": "getCachePath", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "coffee" - ], - "range": [ - [ - 11, - 15 - ], - [ - 14, - 0 - ] - ], - "doc": "~Private~" - } - }, - "15": { - "22": { - "name": "getCachedJavaScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "cachePath" - ], - "range": [ - [ - 15, - 22 - ], - [ - 19, - 0 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "18": { - "name": "convertFilePath", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 20, - 18 - ], - [ - 24, - 0 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "22": { - "name": "compileCoffeeScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "coffee", - "filePath", - "cachePath" - ], - "range": [ - [ - 25, - 22 - ], - [ - 33, - 0 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "22": { - "name": "requireCoffeeScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "module", - "filePath" - ], - "range": [ - [ - 34, - 22 - ], - [ - 39, - 0 - ] - ] - } - }, - "41": { - "12": { - "name": "cacheDir", - "type": "primitive", - "range": [ - [ - 41, - 12 - ], - [ - 41, - 19 - ] - ] - } - }, - "42": { - "12": { - "name": "register", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 12 - ], - [ - 46, - 6 - ] - ], - "doc": null - } - } - }, - "exports": 41 - }, - "src/command-installer.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 22 - ] - ], - "bindingType": "variable", - "module": "async" - } - }, - "3": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 3, - 5 - ], - [ - 3, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "4": { - "9": { - "name": "mkdirp", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 24 - ] - ], - "bindingType": "variable", - "module": "mkdirp" - } - }, - "5": { - "8": { - "name": "runas", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "module": "runas" - } - }, - "7": { - "17": { - "name": "symlinkCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "sourcePath", - "destinationPath", - "callback" - ], - "range": [ - [ - 7, - 17 - ], - [ - 17, - 0 - ] - ], - "doc": "~Private~" - } - }, - "18": { - "34": { - "name": "symlinkCommandWithPrivilegeSync", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "sourcePath", - "destinationPath" - ], - "range": [ - [ - 18, - 34 - ], - [ - 27, - 0 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "23": { - "name": "getInstallDirectory", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 23 - ], - [ - 32, - 1 - ] - ], - "doc": null - } - }, - "32": { - "11": { - "name": "install", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "commandPath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 32, - 11 - ], - [ - 52, - 1 - ] - ], - "doc": null - } - }, - "52": { - "22": { - "name": "installAtomCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "resourcePath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 52, - 22 - ], - [ - 56, - 1 - ] - ], - "doc": null - } - }, - "56": { - "21": { - "name": "installApmCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "resourcePath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 56, - 21 - ], - [ - 58, - 51 - ] - ], - "doc": null - } - } - }, - "exports": 29 - }, - "src/config.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "3": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "4": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "5": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "module": "async" - } - }, - "6": { - "14": { - "name": "pathWatcher", - "type": "import", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 34 - ] - ], - "bindingType": "variable", - "module": "pathwatcher" - } - }, - "25": { - "0": { - "type": "class", - "name": "Config", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 36, - 29 - ], - [ - 52, - 8 - ], - [ - 57, - 18 - ], - [ - 72, - 21 - ], - [ - 76, - 23 - ], - [ - 80, - 15 - ], - [ - 91, - 21 - ], - [ - 95, - 15 - ], - [ - 104, - 7 - ], - [ - 114, - 10 - ], - [ - 125, - 18 - ], - [ - 136, - 7 - ], - [ - 152, - 10 - ], - [ - 160, - 18 - ], - [ - 168, - 14 - ], - [ - 178, - 13 - ], - [ - 187, - 17 - ], - [ - 199, - 20 - ], - [ - 211, - 19 - ], - [ - 231, - 11 - ], - [ - 253, - 13 - ], - [ - 256, - 10 - ], - [ - 261, - 8 - ] - ], - "doc": " Public: Used to access all of Atom's configuration details.\n\nAn instance of this class is always available as the `atom.config` global.\n\n## Best practices\n\n* Create your own root keypath using your package's name.\n* Don't depend on (or write to) configuration keys outside of your keypath.\n\n## Example\n\n```coffeescript\natom.config.set('my-package.key', 'value')\natom.config.observe 'my-package.key', ->\n console.log 'My configuration changed:', atom.config.get('my-package.key')\n``` ", - "range": [ - [ - 25, - 0 - ], - [ - 262, - 50 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 29, - 15 - ], - [ - 36, - 1 - ] - ], - "doc": "Private: Created during initialization, available as `atom.config` " - } - }, - "36": { - "29": { - "name": "initializeConfigDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "done" - ], - "range": [ - [ - 36, - 29 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 8 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "18": { - "name": "loadUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 18 - ], - [ - 72, - 1 - ] - ], - "doc": "~Private~" - } - }, - "72": { - "21": { - "name": "observeUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 72, - 21 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "23": { - "name": "unobserveUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 23 - ], - [ - 80, - 1 - ] - ], - "doc": "~Private~" - } - }, - "80": { - "15": { - "name": "setDefaults", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "defaults" - ], - "range": [ - [ - 80, - 15 - ], - [ - 91, - 1 - ] - ], - "doc": "~Private~" - } - }, - "91": { - "21": { - "name": "getUserConfigPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 21 - ], - [ - 95, - 1 - ] - ], - "doc": "Public: Get the {String} path to the config file being used. " - } - }, - "95": { - "15": { - "name": "getSettings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 95, - 15 - ], - [ - 104, - 1 - ] - ], - "doc": "Public: Returns a new {Object} containing all of settings and defaults. " - } - }, - "104": { - "7": { - "name": "get", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 104, - 7 - ], - [ - 114, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key.\n\nkeyPath - The {String} name of the key to retrieve.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `null` if the key doesn't exist in either. " - } - }, - "114": { - "10": { - "name": "getInt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 114, - 10 - ], - [ - 125, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key as an integer.\n\nkeyPath - The {String} name of the key to retrieve\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `NaN` if the key doesn't exist in either. " - } - }, - "125": { - "18": { - "name": "getPositiveInt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "defaultValue" - ], - "range": [ - [ - 125, - 18 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key as a positive integer.\n\nkeyPath - The {String} name of the key to retrieve\ndefaultValue - The integer {Number} to fall back to if the value isn't\n positive, defaults to 0.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `defaultValue` if the key value isn't greater than zero. " - } - }, - "136": { - "7": { - "name": "set", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 136, - 7 - ], - [ - 152, - 1 - ] - ], - "doc": " Public: Sets the value for a configuration setting.\n\nThis value is stored in Atom's internal configuration file.\n\nkeyPath - The {String} name of the key.\nvalue - The value of the setting.\n\nReturns the `value`. " - } - }, - "152": { - "10": { - "name": "toggle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 152, - 10 - ], - [ - 160, - 1 - ] - ], - "doc": " Public: Toggle the value at the key path.\n\nThe new value will be `true` if the value is currently falsy and will be\n`false` if the value is currently truthy.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " - } - }, - "160": { - "18": { - "name": "restoreDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 160, - 18 - ], - [ - 168, - 1 - ] - ], - "doc": " Public: Restore the key path to its default value.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " - } - }, - "168": { - "14": { - "name": "getDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 168, - 14 - ], - [ - 178, - 1 - ] - ], - "doc": " Public: Get the default value of the key path.\n\nkeyPath - The {String} name of the key.\n\nReturns the default value. " - } - }, - "178": { - "13": { - "name": "isDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 178, - 13 - ], - [ - 187, - 1 - ] - ], - "doc": " Public: Is the key path value its default value?\n\nkeyPath - The {String} name of the key.\n\nReturns a {Boolean}, `true` if the current value is the default, `false`\notherwise. " - } - }, - "187": { - "17": { - "name": "pushAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 187, - 17 - ], - [ - 199, - 1 - ] - ], - "doc": " Public: Push the value to the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to push to the array.\n\nReturns the new array length {Number} of the setting. " - } - }, - "199": { - "20": { - "name": "unshiftAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 199, - 20 - ], - [ - 211, - 1 - ] - ], - "doc": " Public: Add the value to the beginning of the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to shift onto the array.\n\nReturns the new array length {Number} of the setting. " - } - }, - "211": { - "19": { - "name": "removeAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 211, - 19 - ], - [ - 231, - 1 - ] - ], - "doc": " Public: Remove the value from the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to remove from the array.\n\nReturns the new array value of the setting. " - } - }, - "231": { - "11": { - "name": "observe", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "options", - "callback" - ], - "range": [ - [ - 231, - 11 - ], - [ - 253, - 1 - ] - ], - "doc": " Public: Establishes an event listener for a given key.\n\n`callback` is fired whenever the value of the key is changed and will\n be fired immediately unless the `callNow` option is `false`.\n\nkeyPath - The {String} name of the key to observe\noptions - An optional {Object} containing the `callNow` key.\ncallback - The {Function} to call when the value of the key changes.\n The first argument will be the new value of the key and the\n  second argument will be an {Object} with a `previous` property\n that is the prior value of the key.\n\nReturns an {Object} with the following keys:\n :off - A {Function} that unobserves the `keyPath` when called. " - } - }, - "253": { - "13": { - "name": "unobserve", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 253, - 13 - ], - [ - 256, - 1 - ] - ], - "doc": " Public: Unobserve all callbacks on a given key.\n\nkeyPath - The {String} name of the key to unobserve. " - } - }, - "256": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 10 - ], - [ - 261, - 1 - ] - ], - "doc": "~Private~" - } - }, - "261": { - "8": { - "name": "save", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 8 - ], - [ - 262, - 50 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 25 - }, - "src/context-menu-manager.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "9": { - "name": "remote", - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 24 - ] - ], - "bindingType": "variable", - "module": "remote" - } - }, - "10": { - "0": { - "type": "class", - "name": "ContextMenuManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 33, - 7 - ], - [ - 45, - 17 - ], - [ - 60, - 17 - ], - [ - 66, - 25 - ], - [ - 82, - 38 - ], - [ - 91, - 34 - ], - [ - 105, - 24 - ], - [ - 111, - 16 - ] - ], - "doc": " Public: Provides a registry for commands that you'd like to appear in the\ncontext menu.\n\nAn instance of this class is always available as the `atom.contextMenu`\nglobal. ", - "range": [ - [ - 10, - 0 - ], - [ - 116, - 64 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 33, - 1 - ] - ] - } - }, - "33": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "object", - null - ], - "range": [ - [ - 33, - 7 - ], - [ - 45, - 1 - ] - ], - "doc": " Public: Creates menu definitions from the object specified by the menu\ncson API.\n\nname - The path of the file that contains the menu definitions.\nobject - The 'context-menu' object specified in the menu cson API.\noptions - An {Object} with the following keys:\n :devMode - Determines whether the entries should only be shown when\n the window is in dev mode.\n\nReturns nothing. " - } - }, - "45": { - "17": { - "name": "buildMenuItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "label", - "command" - ], - "range": [ - [ - 45, - 17 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "17": { - "name": "addBySelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "definition", - null - ], - "range": [ - [ - 60, - 17 - ], - [ - 66, - 1 - ] - ], - "doc": " Private: Registers a command to be displayed when the relevant item is right\nclicked.\n\nselector - The css selector for the active element which should include\n the given command in its context menu.\ndefinition - The object containing keys which match the menu template API.\noptions - An {Object} with the following keys:\n :devMode - Indicates whether this command should only appear while the\n editor is in dev mode. " - } - }, - "66": { - "25": { - "name": "definitionsForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element", - null - ], - "range": [ - [ - 66, - 25 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Returns definitions which match the element and devMode. " - } - }, - "82": { - "38": { - "name": "menuTemplateForMostSpecificElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element", - null - ], - "range": [ - [ - 82, - 38 - ], - [ - 91, - 1 - ] - ], - "doc": " Private: Used to generate the context menu for a specific element and it's\nparents.\n\nThe menu items are sorted such that menu items that match closest to the\nactive element are listed first. The further down the list you go, the higher\nup the ancestor hierarchy they match.\n\nelement - The DOM element to generate the menu template for. " - } - }, - "91": { - "34": { - "name": "combinedMenuTemplateForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 91, - 34 - ], - [ - 105, - 1 - ] - ], - "doc": " Private: Returns a menu template for both normal entries as well as\ndevelopment mode entries. " - } - }, - "105": { - "24": { - "name": "executeBuildHandlers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event", - "menuTemplate" - ], - "range": [ - [ - 105, - 24 - ], - [ - 111, - 1 - ] - ], - "doc": " Private: Executes `executeAtBuild` if defined for each menu item with\nthe provided event and then removes the `executeAtBuild` property from\nthe menu item.\n\nThis is useful for commands that need to provide data about the event\nto the command. " - } - }, - "111": { - "16": { - "name": "showForEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 111, - 16 - ], - [ - 116, - 64 - ] - ], - "doc": "Public: Request a context menu to be displayed. " - } - } - }, - "exports": 10 - }, - "src/cursor-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "18": { - "name": "CursorComponent", - "type": "function", - "range": [ - [ - 5, - 18 - ], - [ - 17, - 79 - ] - ] - } - }, - "6": { - "15": { - "name": "'CursorComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 31 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 16, - 1 - ] - ], - "doc": null - } - }, - "16": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 16, - 25 - ], - [ - 17, - 79 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/cursor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "4": { - "0": { - "type": "class", - "name": "CursorView", - "bindingType": "exports", - "classProperties": [ - [ - 5, - 12 - ], - [ - 8, - 16 - ], - [ - 10, - 17 - ], - [ - 13, - 18 - ], - [ - 19, - 17 - ] - ], - "prototypeProperties": [ - [ - 24, - 12 - ], - [ - 25, - 11 - ], - [ - 26, - 15 - ], - [ - 27, - 16 - ], - [ - 28, - 23 - ], - [ - 30, - 14 - ], - [ - 44, - 16 - ], - [ - 48, - 17 - ], - [ - 65, - 12 - ], - [ - 68, - 19 - ], - [ - 71, - 19 - ], - [ - 74, - 20 - ], - [ - 77, - 14 - ], - [ - 86, - 16 - ], - [ - 90, - 17 - ], - [ - 94, - 17 - ], - [ - 98, - 21 - ], - [ - 101, - 21 - ], - [ - 104, - 30 - ], - [ - 109, - 24 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 112, - 31 - ] - ] - } - }, - "5": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 12 - ], - [ - 8, - 1 - ] - ] - } - }, - "8": { - "16": { - "name": "blinkPeriod", - "type": "primitive", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 18 - ] - ], - "bindingType": "classProperty" - } - }, - "10": { - "17": { - "name": "blinkCursors", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 17 - ], - [ - 13, - 1 - ] - ], - "doc": "~Private~" - } - }, - "13": { - "18": { - "name": "startBlinking", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 13, - 18 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "17": { - "name": "stopBlinking", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 19, - 17 - ], - [ - 24, - 1 - ] - ], - "doc": "~Private~" - } - }, - "24": { - "12": { - "name": "blinking", - "type": "primitive", - "range": [ - [ - 24, - 12 - ], - [ - 24, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "25": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 25, - 11 - ], - [ - 25, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "26": { - "15": { - "name": "needsUpdate", - "type": "primitive", - "range": [ - [ - 26, - 15 - ], - [ - 26, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "27": { - "16": { - "name": "needsRemoval", - "type": "primitive", - "range": [ - [ - 27, - 16 - ], - [ - 27, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "28": { - "23": { - "name": "shouldPauseBlinking", - "type": "primitive", - "range": [ - [ - 28, - 23 - ], - [ - 28, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "30": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 30, - 14 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 16 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 17 - ], - [ - 65, - 1 - ] - ], - "doc": "~Private~" - } - }, - "65": { - "12": { - "name": "isHidden", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 65, - 12 - ], - [ - 68, - 1 - ] - ], - "doc": "Private: Override for speed. The base function checks the computedStyle " - } - }, - "68": { - "19": { - "name": "needsAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 19 - ], - [ - 71, - 1 - ] - ], - "doc": "~Private~" - } - }, - "71": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 71, - 19 - ], - [ - 74, - 1 - ] - ], - "doc": "~Private~" - } - }, - "74": { - "20": { - "name": "getPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 20 - ], - [ - 77, - 1 - ] - ], - "doc": "~Private~" - } - }, - "77": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 77, - 14 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "16": { - "name": "stopBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 16 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "17": { - "name": "startBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 17 - ], - [ - 94, - 1 - ] - ], - "doc": "~Private~" - } - }, - "94": { - "17": { - "name": "resetBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 17 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "21": { - "name": "getBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 21 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "21": { - "name": "getScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 21 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "30": { - "name": "removeIdleClassTemporarily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 30 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "24": { - "name": "resetCursorAnimation", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 24 - ], - [ - 112, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/cursor.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "10": { - "0": { - "type": "class", - "name": "Cursor", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 18 - ], - [ - 12, - 18 - ], - [ - 13, - 14 - ], - [ - 14, - 11 - ], - [ - 15, - 19 - ], - [ - 18, - 15 - ], - [ - 49, - 11 - ], - [ - 52, - 18 - ], - [ - 60, - 16 - ], - [ - 70, - 21 - ], - [ - 75, - 21 - ], - [ - 78, - 18 - ], - [ - 89, - 21 - ], - [ - 94, - 21 - ], - [ - 97, - 14 - ], - [ - 101, - 20 - ], - [ - 105, - 14 - ], - [ - 112, - 13 - ], - [ - 122, - 14 - ], - [ - 136, - 16 - ], - [ - 145, - 28 - ], - [ - 158, - 27 - ], - [ - 170, - 16 - ], - [ - 176, - 19 - ], - [ - 180, - 18 - ], - [ - 184, - 16 - ], - [ - 188, - 19 - ], - [ - 192, - 16 - ], - [ - 196, - 19 - ], - [ - 201, - 24 - ], - [ - 205, - 10 - ], - [ - 217, - 12 - ], - [ - 233, - 12 - ], - [ - 247, - 13 - ], - [ - 256, - 13 - ], - [ - 260, - 16 - ], - [ - 264, - 31 - ], - [ - 268, - 25 - ], - [ - 273, - 30 - ], - [ - 283, - 25 - ], - [ - 293, - 25 - ], - [ - 297, - 19 - ], - [ - 301, - 25 - ], - [ - 305, - 19 - ], - [ - 310, - 29 - ], - [ - 315, - 30 - ], - [ - 320, - 26 - ], - [ - 336, - 43 - ], - [ - 358, - 41 - ], - [ - 380, - 41 - ], - [ - 409, - 37 - ], - [ - 430, - 40 - ], - [ - 447, - 29 - ], - [ - 457, - 29 - ], - [ - 461, - 34 - ], - [ - 466, - 38 - ], - [ - 470, - 45 - ], - [ - 484, - 49 - ], - [ - 502, - 34 - ], - [ - 506, - 24 - ], - [ - 510, - 23 - ], - [ - 514, - 18 - ], - [ - 521, - 17 - ], - [ - 527, - 13 - ], - [ - 532, - 32 - ] - ], - "doc": " Public: The `Cursor` class represents the little blinking line identifying\nwhere text can be inserted.\n\nCursors belong to {Editor}s and have some metadata attached in the form\nof a {Marker}. ", - "range": [ - [ - 10, - 0 - ], - [ - 540, - 50 - ] - ] - } - }, - "11": { - "18": { - "name": "screenPosition", - "type": "primitive", - "range": [ - [ - 11, - 18 - ], - [ - 11, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "18": { - "name": "bufferPosition", - "type": "primitive", - "range": [ - [ - 12, - 18 - ], - [ - 12, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "13": { - "14": { - "name": "goalColumn", - "type": "primitive", - "range": [ - [ - 13, - 14 - ], - [ - 13, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 14, - 11 - ], - [ - 14, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "15": { - "19": { - "name": "needsAutoscroll", - "type": "primitive", - "range": [ - [ - 15, - 19 - ], - [ - 15, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 18, - 15 - ], - [ - 49, - 1 - ] - ], - "doc": "Private: Instantiated by an {Editor} " - } - }, - "49": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 11 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "18": { - "name": "changePosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options", - "fn" - ], - "range": [ - [ - 52, - 18 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "16": { - "name": "getPixelRect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 60, - 16 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "21": { - "name": "setScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 70, - 21 - ], - [ - 75, - 1 - ] - ], - "doc": " Public: Moves a cursor to a given screen position.\n\nscreenPosition - An {Array} of two numbers: the screen row, and the screen\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " - } - }, - "75": { - "21": { - "name": "getScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 75, - 21 - ], - [ - 78, - 1 - ] - ], - "doc": "Public: Returns the screen position of the cursor as an Array. " - } - }, - "78": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 78, - 18 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "setBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 89, - 21 - ], - [ - 94, - 1 - ] - ], - "doc": " Public: Moves a cursor to a given buffer position.\n\nbufferPosition - An {Array} of two numbers: the buffer row, and the buffer\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " - } - }, - "94": { - "21": { - "name": "getBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 21 - ], - [ - 97, - 1 - ] - ], - "doc": "Public: Returns the current buffer position as an Array. " - } - }, - "97": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 97, - 14 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "20": { - "name": "updateVisibility", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 20 - ], - [ - 105, - 1 - ] - ], - "doc": "Public: If the marker range is empty, the cursor is marked as being visible. " - } - }, - "105": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 105, - 14 - ], - [ - 112, - 1 - ] - ], - "doc": "Public: Sets whether the cursor is visible. " - } - }, - "112": { - "13": { - "name": "isVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 112, - 13 - ], - [ - 112, - 23 - ] - ], - "doc": "Public: Returns the visibility of the cursor. " - } - }, - "122": { - "14": { - "name": "wordRegExp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 122, - 14 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Get the RegExp used by the cursor to determine what a \"word\" is.\n\noptions: An optional {Object} with the following keys:\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the regex.\n (default: true)\n\nReturns a {RegExp}. " - } - }, - "136": { - "16": { - "name": "isLastCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 16 - ], - [ - 145, - 1 - ] - ], - "doc": " Public: Identifies if this cursor is the last in the {Editor}.\n\n\"Last\" is defined as the most recently added cursor.\n\nReturns a {Boolean}. " - } - }, - "145": { - "28": { - "name": "isSurroundedByWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 145, - 28 - ], - [ - 158, - 1 - ] - ], - "doc": " Public: Identifies if the cursor is surrounded by whitespace.\n\n\"Surrounded\" here means that the character directly before and after the\ncursor are both whitespace.\n\nReturns a {Boolean}. " - } - }, - "158": { - "27": { - "name": "isBetweenWordAndNonWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 27 - ], - [ - 170, - 1 - ] - ], - "doc": " Public: Returns whether the cursor is currently between a word and non-word\ncharacter. The non-word characters are defined by the\n`editor.nonWordCharacters` config value.\n\nThis method returns false if the character before or after the cursor is\nwhitespace.\n\nReturns a Boolean. " - } - }, - "170": { - "16": { - "name": "isInsideWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 170, - 16 - ], - [ - 176, - 1 - ] - ], - "doc": "Public: Returns whether this cursor is between a word's start and end. " - } - }, - "176": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 176, - 19 - ], - [ - 180, - 1 - ] - ], - "doc": "Public: Prevents this cursor from causing scrolling. " - } - }, - "180": { - "18": { - "name": "clearSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 180, - 18 - ], - [ - 184, - 1 - ] - ], - "doc": "Public: Deselects the current selection. " - } - }, - "184": { - "16": { - "name": "getScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 184, - 16 - ], - [ - 188, - 1 - ] - ], - "doc": "Public: Returns the cursor's current screen row. " - } - }, - "188": { - "19": { - "name": "getScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 19 - ], - [ - 192, - 1 - ] - ], - "doc": "Public: Returns the cursor's current screen column. " - } - }, - "192": { - "16": { - "name": "getBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 192, - 16 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Retrieves the cursor's current buffer row. " - } - }, - "196": { - "19": { - "name": "getBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 196, - 19 - ], - [ - 201, - 1 - ] - ], - "doc": "Public: Returns the cursor's current buffer column. " - } - }, - "201": { - "24": { - "name": "getCurrentBufferLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 201, - 24 - ], - [ - 205, - 1 - ] - ], - "doc": " Public: Returns the cursor's current buffer row of text excluding its line\nending. " - } - }, - "205": { - "10": { - "name": "moveUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount", - null - ], - "range": [ - [ - 205, - 10 - ], - [ - 217, - 1 - ] - ], - "doc": "Public: Moves the cursor up one screen row. " - } - }, - "217": { - "12": { - "name": "moveDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount", - null - ], - "range": [ - [ - 217, - 12 - ], - [ - 233, - 1 - ] - ], - "doc": "Public: Moves the cursor down one screen row. " - } - }, - "233": { - "12": { - "name": "moveLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 233, - 12 - ], - [ - 247, - 1 - ] - ], - "doc": " Public: Moves the cursor left one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the left of the selection if a\n selection exists. " - } - }, - "247": { - "13": { - "name": "moveRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 247, - 13 - ], - [ - 256, - 1 - ] - ], - "doc": " Public: Moves the cursor right one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the right of the selection if a\n selection exists. " - } - }, - "256": { - "13": { - "name": "moveToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 13 - ], - [ - 260, - 1 - ] - ], - "doc": "Public: Moves the cursor to the top of the buffer. " - } - }, - "260": { - "16": { - "name": "moveToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 16 - ], - [ - 264, - 1 - ] - ], - "doc": "Public: Moves the cursor to the bottom of the buffer. " - } - }, - "264": { - "31": { - "name": "moveToBeginningOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 264, - 31 - ], - [ - 268, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the line. " - } - }, - "268": { - "25": { - "name": "moveToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 268, - 25 - ], - [ - 273, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the buffer line. " - } - }, - "273": { - "30": { - "name": "moveToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 273, - 30 - ], - [ - 283, - 1 - ] - ], - "doc": " Public: Moves the cursor to the beginning of the first character in the\nline. " - } - }, - "283": { - "25": { - "name": "skipLeadingWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 283, - 25 - ], - [ - 293, - 1 - ] - ], - "doc": " Public: Moves the cursor to the beginning of the buffer line, skipping all\nwhitespace. " - } - }, - "293": { - "25": { - "name": "moveToEndOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 293, - 25 - ], - [ - 297, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the line. " - } - }, - "297": { - "19": { - "name": "moveToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 19 - ], - [ - 301, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the buffer line. " - } - }, - "301": { - "25": { - "name": "moveToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 301, - 25 - ], - [ - 305, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the word. " - } - }, - "305": { - "19": { - "name": "moveToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 305, - 19 - ], - [ - 310, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the word. " - } - }, - "310": { - "29": { - "name": "moveToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 310, - 29 - ], - [ - 315, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the next word. " - } - }, - "315": { - "30": { - "name": "moveToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 30 - ], - [ - 320, - 1 - ] - ], - "doc": "Public: Moves the cursor to the previous word boundary. " - } - }, - "320": { - "26": { - "name": "moveToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 320, - 26 - ], - [ - 336, - 1 - ] - ], - "doc": "Public: Moves the cursor to the next word boundary. " - } - }, - "336": { - "43": { - "name": "getBeginningOfCurrentWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 336, - 43 - ], - [ - 358, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the current word starts.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n :allowPrevious - A {Boolean} indicating whether the beginning of the\n previous word can be returned.\n\nReturns a {Range}. " - } - }, - "358": { - "41": { - "name": "getPreviousWordBoundaryBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 358, - 41 - ], - [ - 380, - 1 - ] - ], - "doc": " Public: Retrieves buffer position of previous word boundary. It might be on\nthe current word, or the previous word. " - } - }, - "380": { - "41": { - "name": "getMoveNextWordBoundaryBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 380, - 41 - ], - [ - 409, - 1 - ] - ], - "doc": " Public: Retrieves buffer position of the next word boundary. It might be on\nthe current word, or the previous word. " - } - }, - "409": { - "37": { - "name": "getEndOfCurrentWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 409, - 37 - ], - [ - 430, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the current word ends.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp})\n :includeNonWordCharacters - A Boolean indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n\nReturns a {Range}. " - } - }, - "430": { - "40": { - "name": "getBeginningOfNextWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 430, - 40 - ], - [ - 447, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the next word starts.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n\nReturns a {Range}. " - } - }, - "447": { - "29": { - "name": "getCurrentWordBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 447, - 29 - ], - [ - 457, - 1 - ] - ], - "doc": " Public: Returns the buffer Range occupied by the word located under the cursor.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}). " - } - }, - "457": { - "29": { - "name": "getCurrentLineBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 457, - 29 - ], - [ - 461, - 1 - ] - ], - "doc": " Public: Returns the buffer Range for the current line.\n\noptions -\n :includeNewline: - A {Boolean} which controls whether the Range should\n include the newline. " - } - }, - "461": { - "34": { - "name": "moveToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 461, - 34 - ], - [ - 466, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the next paragraph " - } - }, - "466": { - "38": { - "name": "moveToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 466, - 38 - ], - [ - 470, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the previous paragraph " - } - }, - "470": { - "45": { - "name": "getBeginningOfNextParagraphBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 470, - 45 - ], - [ - 484, - 1 - ] - ], - "doc": "~Private~" - } - }, - "484": { - "49": { - "name": "getBeginningOfPreviousParagraphBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 484, - 49 - ], - [ - 502, - 1 - ] - ], - "doc": "~Private~" - } - }, - "502": { - "34": { - "name": "getCurrentParagraphBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 502, - 34 - ], - [ - 506, - 1 - ] - ], - "doc": " Public: Retrieves the range for the current paragraph.\n\nA paragraph is defined as a block of text surrounded by empty lines.\n\nReturns a {Range}. " - } - }, - "506": { - "24": { - "name": "getCurrentWordPrefix", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 506, - 24 - ], - [ - 510, - 1 - ] - ], - "doc": "Public: Returns the characters preceding the cursor in the current word. " - } - }, - "510": { - "23": { - "name": "isAtBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 510, - 23 - ], - [ - 514, - 1 - ] - ], - "doc": "Public: Returns whether the cursor is at the start of a line. " - } - }, - "514": { - "18": { - "name": "getIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 514, - 18 - ], - [ - 521, - 1 - ] - ], - "doc": "Public: Returns the indentation level of the current line. " - } - }, - "521": { - "17": { - "name": "isAtEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 521, - 17 - ], - [ - 527, - 1 - ] - ], - "doc": "Public: Returns whether the cursor is on the line return character. " - } - }, - "527": { - "13": { - "name": "getScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 527, - 13 - ], - [ - 532, - 1 - ] - ], - "doc": " Public: Retrieves the grammar's token scopes for the line.\n\nReturns an {Array} of {String}s. " - } - }, - "532": { - "32": { - "name": "hasPrecedingCharactersOnLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 532, - 32 - ], - [ - 540, - 50 - ] - ], - "doc": " Public: Returns true if this cursor has no non-whitespace characters before\nits current position. " - } - } - }, - "exports": 10 - }, - "src/cursors-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "debounce", - "exportsProperty": "debounce" - }, - "11": { - "type": "import", - "range": [ - [ - 2, - 11 - ], - [ - 2, - 17 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "toArray", - "exportsProperty": "toArray" - }, - "20": { - "type": "import", - "range": [ - [ - 2, - 20 - ], - [ - 2, - 39 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "42": { - "type": "import", - "range": [ - [ - 2, - 42 - ], - [ - 2, - 48 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqual", - "exportsProperty": "isEqual" - } - }, - "3": { - "18": { - "name": "SubscriberMixin", - "type": "import", - "range": [ - [ - 3, - 18 - ], - [ - 3, - 45 - ] - ], - "bindingType": "variable", - "path": "./subscriber-mixin" - } - }, - "4": { - "18": { - "name": "CursorComponent", - "type": "import", - "range": [ - [ - 4, - 18 - ], - [ - 4, - 45 - ] - ], - "bindingType": "variable", - "path": "./cursor-component" - } - }, - "7": { - "19": { - "name": "CursorsComponent", - "type": "function", - "range": [ - [ - 7, - 19 - ], - [ - 60, - 37 - ] - ] - } - }, - "8": { - "15": { - "name": "'CursorsComponent'", - "type": "primitive", - "range": [ - [ - 8, - 15 - ], - [ - 8, - 32 - ] - ] - } - }, - "9": { - "10": { - "type": "primitive", - "range": [ - [ - 9, - 10 - ], - [ - 9, - 26 - ] - ] - } - }, - "11": { - "29": { - "type": "primitive", - "range": [ - [ - 11, - 29 - ], - [ - 11, - 32 - ] - ] - } - }, - "13": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 10 - ], - [ - 25, - 1 - ] - ], - "doc": null - } - }, - "25": { - "19": { - "name": "getInitialState", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 19 - ], - [ - 28, - 1 - ] - ], - "doc": null - } - }, - "28": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 21 - ], - [ - 31, - 1 - ] - ], - "doc": null - } - }, - "31": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 31, - 24 - ], - [ - 34, - 1 - ] - ], - "doc": null - } - }, - "34": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps", - "newState" - ], - "range": [ - [ - 34, - 25 - ], - [ - 38, - 1 - ] - ], - "doc": null - } - }, - "38": { - "23": { - "name": "componentWillUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 38, - 23 - ], - [ - 45, - 1 - ] - ], - "doc": null - } - }, - "45": { - "24": { - "name": "startBlinkingCursors", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 24 - ], - [ - 48, - 1 - ] - ], - "doc": null - } - }, - "48": { - "34": { - "type": "primitive", - "range": [ - [ - 48, - 34 - ], - [ - 48, - 37 - ] - ] - } - }, - "50": { - "23": { - "name": "stopBlinkingCursors", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 23 - ], - [ - 53, - 1 - ] - ], - "doc": null - } - }, - "53": { - "21": { - "name": "toggleCursorBlink", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 21 - ], - [ - 56, - 1 - ] - ], - "doc": null - } - }, - "56": { - "23": { - "name": "pauseCursorBlinking", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 23 - ], - [ - 60, - 37 - ] - ], - "doc": null - } - } - }, - "exports": 7 - }, - "src/custom-event-mixin.coffee": { - "objects": { - "2": { - "2": { - "type": "primitive", - "range": [ - [ - 2, - 2 - ], - [ - 14, - 52 - ] - ] - }, - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 2, - 22 - ], - [ - 5, - 1 - ] - ], - "doc": null - } - }, - "5": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 24 - ], - [ - 10, - 1 - ] - ], - "doc": null - } - }, - "10": { - "27": { - "name": "addCustomEventListeners", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "customEventListeners" - ], - "range": [ - [ - 10, - 27 - ], - [ - 14, - 52 - ] - ], - "doc": null - } - } - }, - "exports": 2 - }, - "src/decoration.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Subscriber", - "exportsProperty": "Subscriber" - }, - "13": { - "type": "import", - "range": [ - [ - 1, - 13 - ], - [ - 1, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "3": { - "12": { - "name": "0", - "type": "primitive", - "range": [ - [ - 3, - 12 - ], - [ - 3, - 12 - ] - ] - } - }, - "4": { - "9": { - "name": "nextId", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 4, - 9 - ], - [ - 4, - 22 - ] - ] - } - }, - "40": { - "0": { - "type": "class", - "name": "Decoration", - "bindingType": "exports", - "classProperties": [ - [ - 43, - 11 - ] - ], - "prototypeProperties": [ - [ - 49, - 15 - ], - [ - 59, - 11 - ], - [ - 70, - 10 - ], - [ - 79, - 13 - ], - [ - 82, - 13 - ], - [ - 89, - 10 - ], - [ - 92, - 18 - ], - [ - 98, - 9 - ], - [ - 104, - 20 - ] - ], - "doc": " Public: Represents a decoration that follows a {Marker}. A decoration is\nbasically a visual representation of a marker. It allows you to add CSS\nclasses to line numbers in the gutter, lines, and add selection-line regions\naround marked ranges of text.\n\n{Decoration} objects are not meant to be created directly, but created with\n{Editor::decorateMarker}. eg.\n\n```coffee\nrange = editor.getSelectedBufferRange() # any range you like\nmarker = editor.markBufferRange(range)\ndecoration = editor.decorateMarker(marker, {type: 'line', class: 'my-line-class'})\n```\n\nBest practice for destorying the decoration is by destroying the {Marker}.\n\n```\nmarker.destroy()\n```\n\nYou should only use {Decoration::destroy} when you still need or do not own\nthe marker.\n\n### IDs\nEach {Decoration} has a unique ID available via `decoration.id`.\n\n### Events\nA couple of events are emitted:\n\n* `destroyed`: When the {Decoration} is destroyed\n* `updated`: When the {Decoration} is updated via {Decoration::update}.\n Event object has properties `oldParams` and `newParams`\n\n ", - "range": [ - [ - 40, - 0 - ], - [ - 106, - 8 - ] - ] - } - }, - "43": { - "11": { - "name": "isType", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "decorationParams", - "type" - ], - "range": [ - [ - 43, - 11 - ], - [ - 49, - 1 - ] - ], - "doc": "~Private~" - } - }, - "49": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null, - null - ], - "range": [ - [ - 49, - 15 - ], - [ - 59, - 1 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 11 - ], - [ - 70, - 1 - ] - ], - "doc": " Public: Destroy this marker.\n\nIf you own the marker, you should use {Marker::destroy} which will destroy\nthis decoration. " - } - }, - "70": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "newParams" - ], - "range": [ - [ - 70, - 10 - ], - [ - 79, - 1 - ] - ], - "doc": " Public: Update the marker with new params. Allows you to change the decoration's class.\n\n```\ndecoration.update({type: 'gutter', class: 'my-new-class'})\n``` " - } - }, - "79": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 13 - ], - [ - 79, - 22 - ] - ], - "doc": "Public: Returns the marker associated with this {Decoration} " - } - }, - "82": { - "13": { - "name": "getParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 13 - ], - [ - 82, - 22 - ] - ], - "doc": "Public: Returns the {Decoration}'s params. " - } - }, - "89": { - "10": { - "name": "isType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "type" - ], - "range": [ - [ - 89, - 10 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "18": { - "name": "matchesPattern", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decorationPattern" - ], - "range": [ - [ - 92, - 18 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "9": { - "name": "flash", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass", - "duration" - ], - "range": [ - [ - 98, - 9 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "20": { - "name": "consumeNextFlash", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 20 - ], - [ - 106, - 8 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 40 - }, - "src/deserializer-manager.coffee": { - "objects": { - "20": { - "0": { - "type": "class", - "name": "DeserializerManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 21, - 15 - ], - [ - 27, - 7 - ], - [ - 33, - 10 - ], - [ - 41, - 15 - ], - [ - 54, - 7 - ] - ], - "doc": " Public: Manages the deserializers used for serialized state\n\nAn instance of this class is always available as the `atom.deserializers`\nglobal.\n\n### Registering a deserializer\n\n```coffee\nclass MyPackageView extends View\n atom.deserializers.add(this)\n\n @deserialize: (state) ->\n new MyPackageView(state)\n\n constructor: (@state) ->\n\n serialize: ->\n @state\n``` ", - "range": [ - [ - 20, - 0 - ], - [ - 58, - 24 - ] - ] - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 15 - ], - [ - 27, - 1 - ] - ] - } - }, - "27": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "classes" - ], - "range": [ - [ - 27, - 7 - ], - [ - 33, - 1 - ] - ], - "doc": " Public: Register the given class(es) as deserializers.\n\nclasses - One or more classes to register. " - } - }, - "33": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "classes" - ], - "range": [ - [ - 33, - 10 - ], - [ - 41, - 1 - ] - ], - "doc": " Public: Remove the given class(es) as deserializers.\n\nclasses - One or more classes to remove. " - } - }, - "41": { - "15": { - "name": "deserialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state", - "params" - ], - "range": [ - [ - 41, - 15 - ], - [ - 54, - 1 - ] - ], - "doc": " Public: Deserialize the state and params.\n\nstate - The state {Object} to deserialize.\nparams - The params {Object} to pass as the second arguments to the\n deserialize method of the deserializer. " - } - }, - "54": { - "7": { - "name": "get", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 54, - 7 - ], - [ - 58, - 24 - ] - ], - "doc": " Private: Get the deserializer for the state.\n\nstate - The state {Object} being deserialized. " - } - } - }, - "exports": 20 - }, - "src/display-buffer-marker.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 2, - 10 - ], - [ - 2, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "5": { - "0": { - "type": "class", - "name": "DisplayBufferMarker", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 9, - 28 - ], - [ - 10, - 25 - ], - [ - 11, - 25 - ], - [ - 12, - 25 - ], - [ - 13, - 25 - ], - [ - 14, - 12 - ], - [ - 16, - 15 - ], - [ - 27, - 8 - ], - [ - 33, - 18 - ], - [ - 40, - 18 - ], - [ - 46, - 18 - ], - [ - 53, - 18 - ], - [ - 56, - 17 - ], - [ - 62, - 25 - ], - [ - 69, - 25 - ], - [ - 76, - 25 - ], - [ - 83, - 25 - ], - [ - 89, - 25 - ], - [ - 96, - 25 - ], - [ - 103, - 25 - ], - [ - 110, - 25 - ], - [ - 117, - 26 - ], - [ - 124, - 26 - ], - [ - 131, - 24 - ], - [ - 138, - 24 - ], - [ - 146, - 13 - ], - [ - 150, - 13 - ], - [ - 153, - 11 - ], - [ - 157, - 14 - ], - [ - 162, - 11 - ], - [ - 169, - 15 - ], - [ - 172, - 17 - ], - [ - 175, - 17 - ], - [ - 178, - 21 - ], - [ - 183, - 11 - ], - [ - 187, - 11 - ], - [ - 191, - 11 - ], - [ - 195, - 11 - ], - [ - 198, - 13 - ], - [ - 202, - 19 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 230, - 23 - ] - ] - } - }, - "9": { - "28": { - "name": "bufferMarkerSubscription", - "type": "primitive", - "range": [ - [ - 9, - 28 - ], - [ - 9, - 31 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "25": { - "name": "oldHeadBufferPosition", - "type": "primitive", - "range": [ - [ - 10, - 25 - ], - [ - 10, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "11": { - "25": { - "name": "oldHeadScreenPosition", - "type": "primitive", - "range": [ - [ - 11, - 25 - ], - [ - 11, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "25": { - "name": "oldTailBufferPosition", - "type": "primitive", - "range": [ - [ - 12, - 25 - ], - [ - 12, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "13": { - "25": { - "name": "oldTailScreenPosition", - "type": "primitive", - "range": [ - [ - 13, - 25 - ], - [ - 13, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "12": { - "name": "wasValid", - "type": "primitive", - "range": [ - [ - 14, - 12 - ], - [ - 14, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 16, - 15 - ], - [ - 27, - 1 - ] - ], - "doc": "~Private~" - } - }, - "27": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 27, - 8 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 33, - 18 - ], - [ - 40, - 1 - ] - ], - "doc": " Private: Gets the screen range of the display marker.\n\nReturns a {Range}. " - } - }, - "40": { - "18": { - "name": "setScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 40, - 18 - ], - [ - 46, - 1 - ] - ], - "doc": " Private: Modifies the screen range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " - } - }, - "46": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 46, - 18 - ], - [ - 53, - 1 - ] - ], - "doc": " Private: Gets the buffer range of the display marker.\n\nReturns a {Range}. " - } - }, - "53": { - "18": { - "name": "setBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 53, - 18 - ], - [ - 56, - 1 - ] - ], - "doc": " Private: Modifies the buffer range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " - } - }, - "56": { - "17": { - "name": "getPixelRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 17 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "25": { - "name": "getHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 62, - 25 - ], - [ - 69, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's head.\n\nReturns a {Point}. " - } - }, - "69": { - "25": { - "name": "setHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 69, - 25 - ], - [ - 76, - 1 - ] - ], - "doc": " Private: Sets the screen position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "76": { - "25": { - "name": "getHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 25 - ], - [ - 83, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's head.\n\nReturns a {Point}. " - } - }, - "83": { - "25": { - "name": "setHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 83, - 25 - ], - [ - 89, - 1 - ] - ], - "doc": " Private: Sets the buffer position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "89": { - "25": { - "name": "getTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 25 - ], - [ - 96, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's tail.\n\nReturns a {Point}. " - } - }, - "96": { - "25": { - "name": "setTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 96, - 25 - ], - [ - 103, - 1 - ] - ], - "doc": " Private: Sets the screen position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "103": { - "25": { - "name": "getTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 103, - 25 - ], - [ - 110, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's tail.\n\nReturns a {Point}. " - } - }, - "110": { - "25": { - "name": "setTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 110, - 25 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: Sets the buffer position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "117": { - "26": { - "name": "getStartScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 26 - ], - [ - 124, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndScreenPosition}.\n\nReturns a {Point}. " - } - }, - "124": { - "26": { - "name": "getStartBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 26 - ], - [ - 131, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndBufferPosition}.\n\nReturns a {Point}. " - } - }, - "131": { - "24": { - "name": "getEndScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 131, - 24 - ], - [ - 138, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartScreenPosition}.\n\nReturns a {Point}. " - } - }, - "138": { - "24": { - "name": "getEndBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 24 - ], - [ - 146, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartBufferPosition}.\n\nReturns a {Point}. " - } - }, - "146": { - "13": { - "name": "plantTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 146, - 13 - ], - [ - 150, - 1 - ] - ], - "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " - } - }, - "150": { - "13": { - "name": "clearTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 150, - 13 - ], - [ - 153, - 1 - ] - ], - "doc": "Private: Removes the tail from the marker. " - } - }, - "153": { - "11": { - "name": "hasTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 153, - 11 - ], - [ - 157, - 1 - ] - ], - "doc": "~Private~" - } - }, - "157": { - "14": { - "name": "isReversed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 157, - 14 - ], - [ - 162, - 1 - ] - ], - "doc": "Private: Returns whether the head precedes the tail in the buffer " - } - }, - "162": { - "11": { - "name": "isValid", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 11 - ], - [ - 169, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the marker is valid. Markers can be\ninvalidated when a region surrounding them in the buffer is changed. " - } - }, - "169": { - "15": { - "name": "isDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 169, - 15 - ], - [ - 172, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the marker has been destroyed. A marker\ncan be invalid without being destroyed, in which case undoing the invalidating\noperation would restore the marker. Once a marker is destroyed by calling\n{Marker::destroy}, no undo/redo operation can ever bring it back. " - } - }, - "172": { - "17": { - "name": "getAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 172, - 17 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "17": { - "name": "setAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 175, - 17 - ], - [ - 178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "178": { - "21": { - "name": "matchesAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 178, - 21 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 183, - 11 - ], - [ - 187, - 1 - ] - ], - "doc": "Private: Destroys the marker " - } - }, - "187": { - "11": { - "name": "isEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 187, - 11 - ], - [ - 191, - 1 - ] - ], - "doc": "~Private~" - } - }, - "191": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 191, - 11 - ], - [ - 195, - 1 - ] - ], - "doc": "~Private~" - } - }, - "195": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 195, - 11 - ], - [ - 198, - 1 - ] - ], - "doc": "Private: Returns a {String} representation of the marker " - } - }, - "198": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 198, - 13 - ], - [ - 202, - 1 - ] - ], - "doc": "~Private~" - } - }, - "202": { - "19": { - "name": "notifyObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 202, - 19 - ], - [ - 230, - 23 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "src/display-buffer.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "2": { - "7": { - "name": "guid", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "guid" - } - }, - "3": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "6": { - "18": { - "name": "TokenizedBuffer", - "type": "import", - "range": [ - [ - 6, - 18 - ], - [ - 6, - 45 - ] - ], - "bindingType": "variable", - "path": "./tokenized-buffer" - } - }, - "7": { - "9": { - "name": "RowMap", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 27 - ] - ], - "bindingType": "variable", - "path": "./row-map" - } - }, - "8": { - "7": { - "name": "Fold", - "type": "import", - "range": [ - [ - 8, - 7 - ], - [ - 8, - 22 - ] - ], - "bindingType": "variable", - "path": "./fold" - } - }, - "9": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 9, - 8 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "10": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "11": { - "22": { - "name": "DisplayBufferMarker", - "type": "import", - "range": [ - [ - 11, - 22 - ], - [ - 11, - 54 - ] - ], - "bindingType": "variable", - "path": "./display-buffer-marker" - } - }, - "13": { - "0": { - "type": "class", - "name": "BufferToScreenConversionError", - "classProperties": [], - "prototypeProperties": [ - [ - 14, - 15 - ] - ], - "doc": "~Private~", - "range": [ - [ - 13, - 0 - ], - [ - 17, - 0 - ] - ] - } - }, - "14": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 14, - 15 - ], - [ - 17, - 0 - ] - ] - } - }, - "19": { - "0": { - "type": "class", - "name": "DisplayBuffer", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 34, - 24 - ], - [ - 35, - 26 - ], - [ - 36, - 29 - ], - [ - 37, - 26 - ], - [ - 38, - 36 - ], - [ - 40, - 15 - ], - [ - 70, - 19 - ], - [ - 78, - 21 - ], - [ - 82, - 8 - ], - [ - 91, - 24 - ], - [ - 97, - 15 - ], - [ - 104, - 28 - ], - [ - 115, - 14 - ], - [ - 117, - 27 - ], - [ - 118, - 27 - ], - [ - 120, - 29 - ], - [ - 121, - 29 - ], - [ - 123, - 32 - ], - [ - 124, - 32 - ], - [ - 126, - 29 - ], - [ - 127, - 29 - ], - [ - 129, - 13 - ], - [ - 138, - 13 - ], - [ - 140, - 19 - ], - [ - 146, - 18 - ], - [ - 152, - 26 - ], - [ - 160, - 24 - ], - [ - 167, - 12 - ], - [ - 176, - 12 - ], - [ - 183, - 16 - ], - [ - 184, - 16 - ], - [ - 190, - 19 - ], - [ - 193, - 19 - ], - [ - 194, - 19 - ], - [ - 198, - 17 - ], - [ - 199, - 17 - ], - [ - 206, - 20 - ], - [ - 209, - 18 - ], - [ - 210, - 18 - ], - [ - 214, - 25 - ], - [ - 215, - 25 - ], - [ - 217, - 23 - ], - [ - 218, - 23 - ], - [ - 224, - 18 - ], - [ - 226, - 22 - ], - [ - 229, - 23 - ], - [ - 237, - 29 - ], - [ - 244, - 22 - ], - [ - 249, - 26 - ], - [ - 253, - 25 - ], - [ - 256, - 19 - ], - [ - 261, - 18 - ], - [ - 264, - 22 - ], - [ - 273, - 29 - ], - [ - 277, - 38 - ], - [ - 281, - 23 - ], - [ - 311, - 26 - ], - [ - 314, - 26 - ], - [ - 317, - 27 - ], - [ - 333, - 16 - ], - [ - 339, - 16 - ], - [ - 343, - 15 - ], - [ - 346, - 15 - ], - [ - 351, - 25 - ], - [ - 359, - 25 - ], - [ - 367, - 21 - ], - [ - 378, - 14 - ], - [ - 387, - 16 - ], - [ - 393, - 12 - ], - [ - 396, - 22 - ], - [ - 406, - 27 - ], - [ - 416, - 14 - ], - [ - 422, - 23 - ], - [ - 425, - 23 - ], - [ - 429, - 21 - ], - [ - 435, - 19 - ], - [ - 446, - 34 - ], - [ - 454, - 28 - ], - [ - 466, - 34 - ], - [ - 477, - 34 - ], - [ - 482, - 34 - ], - [ - 493, - 28 - ], - [ - 502, - 25 - ], - [ - 505, - 29 - ], - [ - 513, - 25 - ], - [ - 521, - 29 - ], - [ - 532, - 29 - ], - [ - 538, - 28 - ], - [ - 542, - 34 - ], - [ - 561, - 34 - ], - [ - 581, - 34 - ], - [ - 587, - 16 - ], - [ - 593, - 14 - ], - [ - 599, - 20 - ], - [ - 605, - 23 - ], - [ - 617, - 35 - ], - [ - 651, - 35 - ], - [ - 661, - 27 - ], - [ - 664, - 33 - ], - [ - 672, - 26 - ], - [ - 678, - 14 - ], - [ - 684, - 14 - ], - [ - 688, - 17 - ], - [ - 704, - 22 - ], - [ - 740, - 18 - ], - [ - 758, - 20 - ], - [ - 761, - 19 - ], - [ - 764, - 32 - ], - [ - 771, - 18 - ], - [ - 793, - 20 - ], - [ - 804, - 33 - ], - [ - 810, - 31 - ], - [ - 818, - 21 - ], - [ - 826, - 13 - ], - [ - 836, - 14 - ], - [ - 839, - 18 - ], - [ - 848, - 19 - ], - [ - 858, - 19 - ], - [ - 867, - 22 - ], - [ - 876, - 22 - ], - [ - 882, - 17 - ], - [ - 891, - 14 - ], - [ - 912, - 15 - ], - [ - 916, - 33 - ], - [ - 954, - 18 - ], - [ - 957, - 19 - ], - [ - 960, - 27 - ], - [ - 963, - 24 - ], - [ - 966, - 25 - ], - [ - 970, - 32 - ], - [ - 974, - 13 - ], - [ - 979, - 12 - ], - [ - 984, - 31 - ], - [ - 989, - 21 - ], - [ - 1015, - 20 - ], - [ - 1061, - 21 - ], - [ - 1083, - 22 - ], - [ - 1088, - 30 - ], - [ - 1093, - 29 - ], - [ - 1097, - 23 - ], - [ - 1101, - 17 - ] - ], - "doc": "~Private~", - "range": [ - [ - 19, - 0 - ], - [ - 1102, - 31 - ] - ] - } - }, - "34": { - "24": { - "name": "verticalScrollMargin", - "type": "primitive", - "range": [ - [ - 34, - 24 - ], - [ - 34, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "35": { - "26": { - "name": "horizontalScrollMargin", - "type": "primitive", - "range": [ - [ - 35, - 26 - ], - [ - 35, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "36": { - "29": { - "name": "horizontalScrollbarHeight", - "type": "primitive", - "range": [ - [ - 36, - 29 - ], - [ - 36, - 30 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "37": { - "26": { - "name": "verticalScrollbarWidth", - "type": "primitive", - "range": [ - [ - 37, - 26 - ], - [ - 37, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "38": { - "36": { - "name": "scopedCharacterWidthsChangeCount", - "type": "primitive", - "range": [ - [ - 38, - 36 - ], - [ - 38, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "40": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 40, - 15 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 70, - 19 - ], - [ - 78, - 1 - ] - ], - "doc": "~Private~" - } - }, - "78": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 78, - 21 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 8 - ], - [ - 91, - 1 - ] - ], - "doc": "~Private~" - } - }, - "91": { - "24": { - "name": "updateAllScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 24 - ], - [ - 97, - 1 - ] - ], - "doc": "~Private~" - } - }, - "97": { - "15": { - "name": "emitChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventProperties", - "refreshMarkers" - ], - "range": [ - [ - 97, - 15 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "28": { - "name": "updateWrappedScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 28 - ], - [ - 115, - 1 - ] - ], - "doc": "~Private~" - } - }, - "115": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 115, - 14 - ], - [ - 115, - 62 - ] - ], - "doc": " Private: Sets the visibility of the tokenized buffer.\n\nvisible - A {Boolean} indicating of the tokenized buffer is shown " - } - }, - "117": { - "27": { - "name": "getVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 27 - ], - [ - 117, - 50 - ] - ], - "doc": "~Private~" - } - }, - "118": { - "27": { - "name": "setVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 118, - 27 - ], - [ - 118, - 74 - ] - ] - } - }, - "120": { - "29": { - "name": "getHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 120, - 29 - ], - [ - 120, - 54 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "29": { - "name": "setHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 121, - 29 - ], - [ - 121, - 80 - ] - ] - } - }, - "123": { - "32": { - "name": "getHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 123, - 32 - ], - [ - 123, - 60 - ] - ], - "doc": "~Private~" - } - }, - "124": { - "32": { - "name": "setHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 124, - 32 - ], - [ - 124, - 89 - ] - ] - } - }, - "126": { - "29": { - "name": "getVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 29 - ], - [ - 126, - 54 - ] - ], - "doc": "~Private~" - } - }, - "127": { - "29": { - "name": "setVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 127, - 29 - ], - [ - 127, - 80 - ] - ] - } - }, - "129": { - "13": { - "name": "getHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 129, - 13 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "13": { - "name": "setHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 138, - 13 - ], - [ - 138, - 32 - ] - ], - "doc": "~Private~" - } - }, - "140": { - "19": { - "name": "getClientHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 140, - 19 - ], - [ - 146, - 1 - ] - ], - "doc": "~Private~" - } - }, - "146": { - "18": { - "name": "getClientWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 146, - 18 - ], - [ - 152, - 1 - ] - ], - "doc": "~Private~" - } - }, - "152": { - "26": { - "name": "horizontallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 152, - 26 - ], - [ - 160, - 1 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "24": { - "name": "verticallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 160, - 24 - ], - [ - 167, - 1 - ] - ], - "doc": "~Private~" - } - }, - "167": { - "12": { - "name": "getWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 167, - 12 - ], - [ - 176, - 1 - ] - ], - "doc": "~Private~" - } - }, - "176": { - "12": { - "name": "setWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "newWidth" - ], - "range": [ - [ - 176, - 12 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "16": { - "name": "getScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 183, - 16 - ], - [ - 183, - 28 - ] - ], - "doc": "~Private~" - } - }, - "184": { - "16": { - "name": "setScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 184, - 16 - ], - [ - 190, - 1 - ] - ] - } - }, - "190": { - "19": { - "name": "getMaxScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 19 - ], - [ - 193, - 1 - ] - ], - "doc": "~Private~" - } - }, - "193": { - "19": { - "name": "getScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 193, - 19 - ], - [ - 193, - 41 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "19": { - "name": "setScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 194, - 19 - ], - [ - 198, - 1 - ] - ] - } - }, - "198": { - "17": { - "name": "getScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 198, - 17 - ], - [ - 198, - 30 - ] - ], - "doc": "~Private~" - } - }, - "199": { - "17": { - "name": "setScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 199, - 17 - ], - [ - 206, - 1 - ] - ] - } - }, - "206": { - "20": { - "name": "getMaxScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 206, - 20 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "18": { - "name": "getScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 209, - 18 - ], - [ - 209, - 40 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "18": { - "name": "setScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 210, - 18 - ], - [ - 214, - 1 - ] - ] - } - }, - "214": { - "25": { - "name": "getLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 214, - 25 - ], - [ - 214, - 46 - ] - ], - "doc": "~Private~" - } - }, - "215": { - "25": { - "name": "setLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 215, - 25 - ], - [ - 215, - 68 - ] - ] - } - }, - "217": { - "23": { - "name": "getDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 217, - 23 - ], - [ - 217, - 42 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "23": { - "name": "setDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultCharWidth" - ], - "range": [ - [ - 218, - 23 - ], - [ - 224, - 1 - ] - ] - } - }, - "224": { - "18": { - "name": "getCursorWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 18 - ], - [ - 224, - 21 - ] - ], - "doc": "~Private~" - } - }, - "226": { - "22": { - "name": "getScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char" - ], - "range": [ - [ - 226, - 22 - ], - [ - 229, - 1 - ] - ], - "doc": "~Private~" - } - }, - "229": { - "23": { - "name": "getScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames" - ], - "range": [ - [ - 229, - 23 - ], - [ - 237, - 1 - ] - ], - "doc": "~Private~" - } - }, - "237": { - "29": { - "name": "batchCharacterMeasurement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 237, - 29 - ], - [ - 244, - 1 - ] - ], - "doc": "~Private~" - } - }, - "244": { - "22": { - "name": "setScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char", - "width" - ], - "range": [ - [ - 244, - 22 - ], - [ - 249, - 1 - ] - ], - "doc": "~Private~" - } - }, - "249": { - "26": { - "name": "characterWidthsChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 249, - 26 - ], - [ - 253, - 1 - ] - ], - "doc": "~Private~" - } - }, - "253": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 253, - 25 - ], - [ - 256, - 1 - ] - ], - "doc": "~Private~" - } - }, - "256": { - "19": { - "name": "getScrollHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 19 - ], - [ - 261, - 1 - ] - ], - "doc": "~Private~" - } - }, - "261": { - "18": { - "name": "getScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 18 - ], - [ - 264, - 1 - ] - ], - "doc": "~Private~" - } - }, - "264": { - "22": { - "name": "getVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 264, - 22 - ], - [ - 273, - 1 - ] - ], - "doc": "~Private~" - } - }, - "273": { - "29": { - "name": "intersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 273, - 29 - ], - [ - 277, - 1 - ] - ], - "doc": "~Private~" - } - }, - "277": { - "38": { - "name": "selectionIntersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 277, - 38 - ], - [ - 281, - 1 - ] - ], - "doc": "~Private~" - } - }, - "281": { - "23": { - "name": "scrollToScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 281, - 23 - ], - [ - 311, - 1 - ] - ], - "doc": "~Private~" - } - }, - "311": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 311, - 26 - ], - [ - 314, - 1 - ] - ], - "doc": "~Private~" - } - }, - "314": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 314, - 26 - ], - [ - 317, - 1 - ] - ], - "doc": "~Private~" - } - }, - "317": { - "27": { - "name": "pixelRectForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 317, - 27 - ], - [ - 333, - 1 - ] - ], - "doc": "~Private~" - } - }, - "333": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 333, - 16 - ], - [ - 339, - 1 - ] - ], - "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " - } - }, - "339": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 339, - 16 - ], - [ - 343, - 1 - ] - ], - "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " - } - }, - "343": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 343, - 15 - ], - [ - 343, - 38 - ] - ], - "doc": "Deprecated: Use the softWrap property directly " - } - }, - "346": { - "15": { - "name": "getSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 15 - ], - [ - 346, - 26 - ] - ], - "doc": "Deprecated: Use the softWrap property directly " - } - }, - "351": { - "25": { - "name": "setEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorWidthInChars" - ], - "range": [ - [ - 351, - 25 - ], - [ - 359, - 1 - ] - ], - "doc": " Private: Set the number of characters that fit horizontally in the editor.\n\neditorWidthInChars - A {Number} of characters. " - } - }, - "359": { - "25": { - "name": "getEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 359, - 25 - ], - [ - 367, - 1 - ] - ], - "doc": "Private: Returns the editor width in characters for soft wrap. " - } - }, - "367": { - "21": { - "name": "getSoftWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 367, - 21 - ], - [ - 378, - 1 - ] - ], - "doc": "~Private~" - } - }, - "378": { - "14": { - "name": "lineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 378, - 14 - ], - [ - 387, - 1 - ] - ], - "doc": " Private: Gets the screen line for the given screen row.\n\nscreenRow - A {Number} indicating the screen row.\n\nReturns a {ScreenLine}. " - } - }, - "387": { - "16": { - "name": "linesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 387, - 16 - ], - [ - 393, - 1 - ] - ], - "doc": " Private: Gets the screen lines for the given screen row range.\n\nstartRow - A {Number} indicating the beginning screen row.\nendRow - A {Number} indicating the ending screen row.\n\nReturns an {Array} of {ScreenLine}s. " - } - }, - "393": { - "12": { - "name": "getLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 393, - 12 - ], - [ - 396, - 1 - ] - ], - "doc": " Private: Gets all the screen lines.\n\nReturns an {Array} of {ScreenLines}s. " - } - }, - "396": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 396, - 22 - ], - [ - 406, - 1 - ] - ], - "doc": "~Private~" - } - }, - "406": { - "27": { - "name": "bufferRowsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 406, - 27 - ], - [ - 416, - 1 - ] - ], - "doc": " Private: Given starting and ending screen rows, this returns an array of the\nbuffer rows corresponding to every screen row in the range\n\nstartScreenRow - The screen row {Number} to start at\nendScreenRow - The screen row {Number} to end at (default: the last screen row)\n\nReturns an {Array} of buffer rows as {Numbers}s. " - } - }, - "416": { - "14": { - "name": "createFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 416, - 14 - ], - [ - 422, - 1 - ] - ], - "doc": " Private: Creates a new fold between two row numbers.\n\nstartRow - The row {Number} to start folding at\nendRow - The row {Number} to end the fold\n\nReturns the new {Fold}. " - } - }, - "422": { - "23": { - "name": "isFoldedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 422, - 23 - ], - [ - 425, - 1 - ] - ], - "doc": "~Private~" - } - }, - "425": { - "23": { - "name": "isFoldedAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 425, - 23 - ], - [ - 429, - 1 - ] - ], - "doc": "~Private~" - } - }, - "429": { - "21": { - "name": "destroyFoldWithId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 429, - 21 - ], - [ - 435, - 1 - ] - ], - "doc": "Private: Destroys the fold with the given id " - } - }, - "435": { - "19": { - "name": "unfoldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 435, - 19 - ], - [ - 446, - 1 - ] - ], - "doc": " Private: Removes any folds found that contain the given buffer row.\n\nbufferRow - The buffer row {Number} to check against " - } - }, - "446": { - "34": { - "name": "largestFoldStartingAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 446, - 34 - ], - [ - 454, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold} or null if none exists. " - } - }, - "454": { - "28": { - "name": "foldsStartingAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 454, - 28 - ], - [ - 466, - 1 - ] - ], - "doc": " Public: Given a buffer row, this returns all folds that start there.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " - } - }, - "466": { - "34": { - "name": "largestFoldStartingAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 466, - 34 - ], - [ - 477, - 1 - ] - ], - "doc": " Private: Given a screen row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nscreenRow - A {Number} indicating the screen row\n\nReturns a {Fold}. " - } - }, - "477": { - "34": { - "name": "largestFoldContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 477, - 34 - ], - [ - 482, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns the largest fold that includes it.\n\nLargest is defined as the fold whose difference between its start and end rows\nis the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold}. " - } - }, - "482": { - "34": { - "name": "outermostFoldsInBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 482, - 34 - ], - [ - 493, - 1 - ] - ], - "doc": " Private: Returns the folds in the given row range (exclusive of end row) that are\nnot contained by any other folds. " - } - }, - "493": { - "28": { - "name": "foldsContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 493, - 28 - ], - [ - 502, - 1 - ] - ], - "doc": " Public: Given a buffer row, this returns folds that include it.\n\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " - } - }, - "502": { - "25": { - "name": "screenRowForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 502, - 25 - ], - [ - 505, - 1 - ] - ], - "doc": " Private: Given a buffer row, this converts it into a screen row.\n\nbufferRow - A {Number} representing a buffer row\n\nReturns a {Number}. " - } - }, - "505": { - "29": { - "name": "lastScreenRowForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 505, - 29 - ], - [ - 513, - 1 - ] - ], - "doc": "~Private~" - } - }, - "513": { - "25": { - "name": "bufferRowForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 513, - 25 - ], - [ - 521, - 1 - ] - ], - "doc": " Private: Given a screen row, this converts it into a buffer row.\n\nscreenRow - A {Number} representing a screen row\n\nReturns a {Number}. " - } - }, - "521": { - "29": { - "name": "screenRangeForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 521, - 29 - ], - [ - 532, - 1 - ] - ], - "doc": " Private: Given a buffer range, this converts it into a screen position.\n\nbufferRange - The {Range} to convert\n\nReturns a {Range}. " - } - }, - "532": { - "29": { - "name": "bufferRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 532, - 29 - ], - [ - 538, - 1 - ] - ], - "doc": " Private: Given a screen range, this converts it into a buffer position.\n\nscreenRange - The {Range} to convert\n\nReturns a {Range}. " - } - }, - "538": { - "28": { - "name": "pixelRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "clip" - ], - "range": [ - [ - 538, - 28 - ], - [ - 542, - 1 - ] - ], - "doc": "~Private~" - } - }, - "542": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "clip" - ], - "range": [ - [ - 542, - 34 - ], - [ - 561, - 1 - ] - ], - "doc": "~Private~" - } - }, - "561": { - "34": { - "name": "screenPositionForPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 561, - 34 - ], - [ - 581, - 1 - ] - ], - "doc": "~Private~" - } - }, - "581": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 581, - 34 - ], - [ - 587, - 1 - ] - ], - "doc": "~Private~" - } - }, - "587": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 587, - 16 - ], - [ - 593, - 1 - ] - ], - "doc": " Private: Gets the number of screen lines.\n\nReturns a {Number}. " - } - }, - "593": { - "14": { - "name": "getLastRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 593, - 14 - ], - [ - 599, - 1 - ] - ], - "doc": " Private: Gets the number of the last screen line.\n\nReturns a {Number}. " - } - }, - "599": { - "20": { - "name": "getMaxLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 599, - 20 - ], - [ - 605, - 1 - ] - ], - "doc": " Private: Gets the length of the longest screen line.\n\nReturns a {Number}. " - } - }, - "605": { - "23": { - "name": "getLongestScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 605, - 23 - ], - [ - 617, - 1 - ] - ], - "doc": " Private: Gets the row number of the longest screen line.\n\nReturn a {} " - } - }, - "617": { - "35": { - "name": "screenPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 617, - 35 - ], - [ - 651, - 1 - ] - ], - "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " - } - }, - "651": { - "35": { - "name": "bufferPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 651, - 35 - ], - [ - 661, - 1 - ] - ], - "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " - } - }, - "661": { - "27": { - "name": "scopesForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 661, - 27 - ], - [ - 664, - 1 - ] - ], - "doc": " Private: Retrieves the grammar's token scopes for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}\n\nReturns an {Array} of {String}s. " - } - }, - "664": { - "33": { - "name": "bufferRangeForScopeAtPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "position" - ], - "range": [ - [ - 664, - 33 - ], - [ - 672, - 1 - ] - ], - "doc": "~Private~" - } - }, - "672": { - "26": { - "name": "tokenForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 672, - 26 - ], - [ - 678, - 1 - ] - ], - "doc": " Private: Retrieves the grammar's token for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}.\n\nReturns a {Token}. " - } - }, - "678": { - "14": { - "name": "getGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 678, - 14 - ], - [ - 684, - 1 - ] - ], - "doc": " Private: Get the grammar for this buffer.\n\nReturns the current {Grammar} or the {NullGrammar}. " - } - }, - "684": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 684, - 14 - ], - [ - 688, - 1 - ] - ], - "doc": " Private: Sets the grammar for the buffer.\n\ngrammar - Sets the new grammar rules " - } - }, - "688": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 688, - 17 - ], - [ - 704, - 1 - ] - ], - "doc": "Private: Reloads the current grammar. " - } - }, - "704": { - "22": { - "name": "clipScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 704, - 22 - ], - [ - 740, - 1 - ] - ], - "doc": " Private: Given a position, this clips it to a real position.\n\nFor example, if `position`'s row exceeds the row count of the buffer,\nor if its column goes beyond a line's length, this \"sanitizes\" the value\nto a real position.\n\nposition - The {Point} to clip\noptions - A hash with the following values:\n wrapBeyondNewlines: if `true`, continues wrapping past newlines\n wrapAtSoftNewlines: if `true`, continues wrapping past soft newlines\n screenLine: if `true`, indicates that you're using a line number, not a row number\n\nReturns the new, clipped {Point}. Note that this could be the same as `position` if no clipping was performed. " - } - }, - "740": { - "18": { - "name": "findWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line", - "softWrapColumn" - ], - "range": [ - [ - 740, - 18 - ], - [ - 758, - 1 - ] - ], - "doc": " Private: Given a line, finds the point where it would wrap.\n\nline - The {String} to check\nsoftWrapColumn - The {Number} where you want soft wrapping to occur\n\nReturns a {Number} representing the `line` position where the wrap would take place.\nReturns `null` if a wrap wouldn't occur. " - } - }, - "758": { - "20": { - "name": "rangeForAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 758, - 20 - ], - [ - 761, - 1 - ] - ], - "doc": " Private: Calculates a {Range} representing the start of the {TextBuffer} until the end.\n\nReturns a {Range}. " - } - }, - "761": { - "19": { - "name": "decorationForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 761, - 19 - ], - [ - 764, - 1 - ] - ], - "doc": "~Private~" - } - }, - "764": { - "32": { - "name": "decorationsForScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 764, - 32 - ], - [ - 771, - 1 - ] - ], - "doc": "~Private~" - } - }, - "771": { - "18": { - "name": "decorateMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "decorationParams" - ], - "range": [ - [ - 771, - 18 - ], - [ - 793, - 1 - ] - ], - "doc": "~Private~" - } - }, - "793": { - "20": { - "name": "removeDecoration", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decoration" - ], - "range": [ - [ - 793, - 20 - ], - [ - 804, - 1 - ] - ], - "doc": "~Private~" - } - }, - "804": { - "33": { - "name": "removeAllDecorationsForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 804, - 33 - ], - [ - 810, - 1 - ] - ], - "doc": "~Private~" - } - }, - "810": { - "31": { - "name": "removedAllMarkerDecorations", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 810, - 31 - ], - [ - 818, - 1 - ] - ], - "doc": "~Private~" - } - }, - "818": { - "21": { - "name": "decorationUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decoration" - ], - "range": [ - [ - 818, - 21 - ], - [ - 826, - 1 - ] - ], - "doc": "~Private~" - } - }, - "826": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 826, - 13 - ], - [ - 836, - 1 - ] - ], - "doc": " Private: Retrieves a {DisplayBufferMarker} based on its id.\n\nid - A {Number} representing a marker id\n\nReturns the {DisplayBufferMarker} (if it exists). " - } - }, - "836": { - "14": { - "name": "getMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 836, - 14 - ], - [ - 839, - 1 - ] - ], - "doc": " Private: Retrieves the active markers in the buffer.\n\nReturns an {Array} of existing {DisplayBufferMarker}s. " - } - }, - "839": { - "18": { - "name": "getMarkerCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 839, - 18 - ], - [ - 848, - 1 - ] - ], - "doc": "~Private~" - } - }, - "848": { - "19": { - "name": "markScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 848, - 19 - ], - [ - 858, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given screen range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "858": { - "19": { - "name": "markBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range", - "options" - ], - "range": [ - [ - 858, - 19 - ], - [ - 867, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given buffer range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "867": { - "22": { - "name": "markScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 867, - 22 - ], - [ - 876, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given screen position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "876": { - "22": { - "name": "markBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 876, - 22 - ], - [ - 882, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given buffer position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "882": { - "17": { - "name": "destroyMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 882, - 17 - ], - [ - 891, - 1 - ] - ], - "doc": " Public: Removes the marker with the given id.\n\nid - The {Number} of the ID to remove " - } - }, - "891": { - "14": { - "name": "findMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 891, - 14 - ], - [ - 912, - 1 - ] - ], - "doc": " Private: Finds the first marker satisfying the given attributes\n\nRefer to {DisplayBuffer::findMarkers} for details.\n\nReturns a {DisplayBufferMarker} or null " - } - }, - "912": { - "15": { - "name": "findMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 912, - 15 - ], - [ - 916, - 1 - ] - ], - "doc": " Public: Find all markers satisfying a set of parameters.\n\nparams - An {Object} containing parameters that all returned markers must\n satisfy. Unreserved keys will be compared against the markers' custom\n properties. There are also the following reserved keys with special\n meaning for the query:\n :startBufferRow - A {Number}. Only returns markers starting at this row in\n buffer coordinates.\n :endBufferRow - A {Number}. Only returns markers ending at this row in\n buffer coordinates.\n :containsBufferRange - A {Range} or range-compatible {Array}. Only returns\n markers containing this range in buffer coordinates.\n :containsBufferPosition - A {Point} or point-compatible {Array}. Only\n returns markers containing this position in buffer coordinates.\n :containedInBufferRange - A {Range} or range-compatible {Array}. Only\n returns markers contained within this range.\n\nReturns an {Array} of {DisplayBufferMarker}s " - } - }, - "916": { - "33": { - "name": "translateToBufferMarkerParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 916, - 33 - ], - [ - 954, - 1 - ] - ], - "doc": "~Private~" - } - }, - "954": { - "18": { - "name": "findFoldMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 954, - 18 - ], - [ - 957, - 1 - ] - ], - "doc": "~Private~" - } - }, - "957": { - "19": { - "name": "findFoldMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 957, - 19 - ], - [ - 960, - 1 - ] - ], - "doc": "~Private~" - } - }, - "960": { - "27": { - "name": "getFoldMarkerAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 960, - 27 - ], - [ - 963, - 1 - ] - ], - "doc": "~Private~" - } - }, - "963": { - "24": { - "name": "pauseMarkerObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 963, - 24 - ], - [ - 966, - 1 - ] - ], - "doc": "~Private~" - } - }, - "966": { - "25": { - "name": "resumeMarkerObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 966, - 25 - ], - [ - 970, - 1 - ] - ], - "doc": "~Private~" - } - }, - "970": { - "32": { - "name": "refreshMarkerScreenPositions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 970, - 32 - ], - [ - 974, - 1 - ] - ], - "doc": "~Private~" - } - }, - "974": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 974, - 13 - ], - [ - 979, - 1 - ] - ], - "doc": "~Private~" - } - }, - "979": { - "12": { - "name": "logLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 979, - 12 - ], - [ - 984, - 1 - ] - ], - "doc": "~Private~" - } - }, - "984": { - "31": { - "name": "handleTokenizedBufferChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tokenizedBufferChange" - ], - "range": [ - [ - 984, - 31 - ], - [ - 989, - 1 - ] - ], - "doc": "~Private~" - } - }, - "989": { - "21": { - "name": "updateScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "endBufferRow", - "bufferDelta", - "options" - ], - "range": [ - [ - 989, - 21 - ], - [ - 1015, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1015": { - "20": { - "name": "buildScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "endBufferRow" - ], - "range": [ - [ - 1015, - 20 - ], - [ - 1061, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1061": { - "21": { - "name": "findMaxLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow", - "newScreenLines", - "screenDelta" - ], - "range": [ - [ - 1061, - 21 - ], - [ - 1083, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1083": { - "22": { - "name": "computeScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1083, - 22 - ], - [ - 1088, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1088": { - "30": { - "name": "handleBufferMarkersUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1088, - 30 - ], - [ - 1093, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1093": { - "29": { - "name": "handleBufferMarkerCreated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1093, - 29 - ], - [ - 1097, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1097": { - "23": { - "name": "createFoldForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1097, - 23 - ], - [ - 1101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1101": { - "17": { - "name": "foldForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1101, - 17 - ], - [ - 1102, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 19 - }, - "src/editor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "10": { - "type": "import", - "range": [ - [ - 0, - 10 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$$", - "exportsProperty": "$$$" - } - }, - "1": { - "13": { - "name": "GutterView", - "type": "import", - "range": [ - [ - 1, - 13 - ], - [ - 1, - 35 - ] - ], - "bindingType": "variable", - "path": "./gutter-view" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "3": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 3, - 9 - ], - [ - 3, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "4": { - "13": { - "name": "CursorView", - "type": "import", - "range": [ - [ - 4, - 13 - ], - [ - 4, - 35 - ] - ], - "bindingType": "variable", - "path": "./cursor-view" - } - }, - "5": { - "16": { - "name": "SelectionView", - "type": "import", - "range": [ - [ - 5, - 16 - ], - [ - 5, - 41 - ] - ], - "bindingType": "variable", - "path": "./selection-view" - } - }, - "6": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 6, - 5 - ], - [ - 6, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "7": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "8": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 8, - 13 - ], - [ - 8, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer" - } - }, - "10": { - "15": { - "name": "MeasureRange", - "type": "function", - "range": [ - [ - 10, - 15 - ], - [ - 10, - 36 - ] - ] - } - }, - "11": { - "17": { - "type": "primitive", - "range": [ - [ - 11, - 17 - ], - [ - 11, - 59 - ] - ] - }, - "31": { - "name": "acceptNode", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 11, - 31 - ], - [ - 11, - 57 - ] - ], - "doc": null - } - }, - "12": { - "10": { - "type": "primitive", - "range": [ - [ - 12, - 10 - ], - [ - 12, - 21 - ] - ] - } - }, - "13": { - "17": { - "name": "1000", - "type": "primitive", - "range": [ - [ - 13, - 17 - ], - [ - 13, - 20 - ] - ] - } - }, - "41": { - "0": { - "type": "class", - "name": "EditorView", - "bindingType": "exports", - "classProperties": [ - [ - 42, - 24 - ], - [ - 44, - 4 - ], - [ - 61, - 17 - ], - [ - 63, - 12 - ], - [ - 76, - 12 - ], - [ - 1271, - 21 - ], - [ - 1485, - 18 - ], - [ - 1513, - 21 - ], - [ - 1529, - 14 - ], - [ - 1533, - 13 - ], - [ - 1537, - 23 - ] - ], - "prototypeProperties": [ - [ - 81, - 17 - ], - [ - 82, - 17 - ], - [ - 83, - 14 - ], - [ - 84, - 13 - ], - [ - 85, - 14 - ], - [ - 86, - 15 - ], - [ - 87, - 18 - ], - [ - 88, - 13 - ], - [ - 89, - 13 - ], - [ - 90, - 10 - ], - [ - 91, - 12 - ], - [ - 92, - 16 - ], - [ - 93, - 18 - ], - [ - 94, - 14 - ], - [ - 95, - 17 - ], - [ - 96, - 20 - ], - [ - 97, - 24 - ], - [ - 106, - 14 - ], - [ - 141, - 12 - ], - [ - 251, - 13 - ], - [ - 255, - 11 - ], - [ - 259, - 11 - ], - [ - 263, - 14 - ], - [ - 266, - 20 - ], - [ - 271, - 19 - ], - [ - 277, - 12 - ], - [ - 284, - 10 - ], - [ - 292, - 15 - ], - [ - 298, - 21 - ], - [ - 310, - 17 - ], - [ - 322, - 22 - ], - [ - 332, - 22 - ], - [ - 337, - 22 - ], - [ - 341, - 16 - ], - [ - 345, - 13 - ], - [ - 354, - 16 - ], - [ - 436, - 21 - ], - [ - 476, - 28 - ], - [ - 479, - 33 - ], - [ - 505, - 15 - ], - [ - 538, - 8 - ], - [ - 586, - 12 - ], - [ - 589, - 12 - ], - [ - 592, - 27 - ], - [ - 600, - 13 - ], - [ - 618, - 16 - ], - [ - 624, - 14 - ], - [ - 631, - 15 - ], - [ - 639, - 18 - ], - [ - 646, - 26 - ], - [ - 654, - 26 - ], - [ - 662, - 26 - ], - [ - 673, - 25 - ], - [ - 684, - 39 - ], - [ - 696, - 31 - ], - [ - 702, - 18 - ], - [ - 706, - 18 - ], - [ - 710, - 25 - ], - [ - 713, - 26 - ], - [ - 716, - 21 - ], - [ - 723, - 15 - ], - [ - 733, - 15 - ], - [ - 746, - 15 - ], - [ - 752, - 17 - ], - [ - 762, - 17 - ], - [ - 770, - 17 - ], - [ - 776, - 10 - ], - [ - 786, - 13 - ], - [ - 791, - 14 - ], - [ - 796, - 11 - ], - [ - 801, - 13 - ], - [ - 808, - 11 - ], - [ - 811, - 10 - ], - [ - 816, - 16 - ], - [ - 823, - 17 - ], - [ - 827, - 18 - ], - [ - 830, - 17 - ], - [ - 836, - 20 - ], - [ - 839, - 20 - ], - [ - 843, - 21 - ], - [ - 846, - 20 - ], - [ - 852, - 23 - ], - [ - 855, - 36 - ], - [ - 859, - 21 - ], - [ - 863, - 20 - ], - [ - 884, - 22 - ], - [ - 900, - 23 - ], - [ - 912, - 25 - ], - [ - 924, - 25 - ], - [ - 943, - 12 - ], - [ - 950, - 22 - ], - [ - 955, - 16 - ], - [ - 970, - 24 - ], - [ - 978, - 17 - ], - [ - 994, - 21 - ], - [ - 1006, - 22 - ], - [ - 1012, - 24 - ], - [ - 1023, - 25 - ], - [ - 1031, - 24 - ], - [ - 1034, - 14 - ], - [ - 1046, - 25 - ], - [ - 1057, - 23 - ], - [ - 1084, - 38 - ], - [ - 1102, - 23 - ], - [ - 1144, - 24 - ], - [ - 1158, - 20 - ], - [ - 1173, - 13 - ], - [ - 1178, - 19 - ], - [ - 1201, - 32 - ], - [ - 1214, - 28 - ], - [ - 1223, - 27 - ], - [ - 1234, - 22 - ], - [ - 1237, - 27 - ], - [ - 1241, - 32 - ], - [ - 1244, - 34 - ], - [ - 1249, - 21 - ], - [ - 1256, - 21 - ], - [ - 1298, - 32 - ], - [ - 1304, - 26 - ], - [ - 1313, - 27 - ], - [ - 1316, - 33 - ], - [ - 1325, - 34 - ], - [ - 1334, - 34 - ], - [ - 1348, - 32 - ], - [ - 1371, - 19 - ], - [ - 1416, - 26 - ], - [ - 1424, - 26 - ], - [ - 1432, - 28 - ], - [ - 1435, - 32 - ], - [ - 1440, - 32 - ], - [ - 1470, - 23 - ], - [ - 1481, - 23 - ], - [ - 1563, - 23 - ], - [ - 1573, - 25 - ], - [ - 1575, - 18 - ], - [ - 1578, - 18 - ], - [ - 1581, - 20 - ] - ], - "doc": " Public: Represents the entire visual pane in Atom.\n\nThe EditorView manages the {Editor}, which manages the file buffers.\n\n## Requiring in packages\n\n```coffee\n{EditorView} = require 'atom'\n\nminiEditorView = new EditorView(mini: true)\n```\n\n## Iterating over the open editor views\n\n```coffee\nfor editorView in atom.workspaceView.getEditorViews()\n console.log(editorView.getEditor().getPath())\n```\n\n## Subscribing to every current and future editor\n\n```coffee\natom.workspace.eachEditorView (editorView) ->\n console.log(editorView.getEditor().getPath())\n``` ", - "range": [ - [ - 41, - 0 - ], - [ - 1583, - 35 - ] - ] - } - }, - "42": { - "24": { - "name": "characterWidthCache", - "type": "primitive", - "range": [ - [ - 42, - 24 - ], - [ - 42, - 25 - ] - ], - "bindingType": "classProperty" - } - }, - "44": { - "4": { - "name": "configDefaults", - "type": "primitive", - "range": [ - [ - 44, - 4 - ], - [ - 59, - 32 - ] - ], - "bindingType": "classProperty" - } - }, - "61": { - "17": { - "name": "nextEditorId", - "type": "primitive", - "range": [ - [ - 61, - 17 - ], - [ - 61, - 17 - ] - ], - "bindingType": "classProperty" - } - }, - "63": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 63, - 12 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "12": { - "name": "classes", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 76, - 12 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "17": { - "name": "vScrollMargin", - "type": "primitive", - "range": [ - [ - 81, - 17 - ], - [ - 81, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "82": { - "17": { - "name": "hScrollMargin", - "type": "primitive", - "range": [ - [ - 82, - 17 - ], - [ - 82, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "83": { - "14": { - "name": "lineHeight", - "type": "primitive", - "range": [ - [ - 83, - 14 - ], - [ - 83, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "84": { - "13": { - "name": "charWidth", - "type": "primitive", - "range": [ - [ - 84, - 13 - ], - [ - 84, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "85": { - "14": { - "name": "charHeight", - "type": "primitive", - "range": [ - [ - 85, - 14 - ], - [ - 85, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "86": { - "15": { - "name": "cursorViews", - "type": "primitive", - "range": [ - [ - 86, - 15 - ], - [ - 86, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "87": { - "18": { - "name": "selectionViews", - "type": "primitive", - "range": [ - [ - 87, - 18 - ], - [ - 87, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "88": { - "13": { - "name": "lineCache", - "type": "primitive", - "range": [ - [ - 88, - 13 - ], - [ - 88, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "89": { - "13": { - "name": "isFocused", - "type": "primitive", - "range": [ - [ - 89, - 13 - ], - [ - 89, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "90": { - "10": { - "name": "editor", - "type": "primitive", - "range": [ - [ - 90, - 10 - ], - [ - 90, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "91": { - "12": { - "name": "attached", - "type": "primitive", - "range": [ - [ - 91, - 12 - ], - [ - 91, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "92": { - "16": { - "name": "lineOverdraw", - "type": "primitive", - "range": [ - [ - 92, - 16 - ], - [ - 92, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "93": { - "18": { - "name": "pendingChanges", - "type": "primitive", - "range": [ - [ - 93, - 18 - ], - [ - 93, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "94": { - "14": { - "name": "newCursors", - "type": "primitive", - "range": [ - [ - 94, - 14 - ], - [ - 94, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "95": { - "17": { - "name": "newSelections", - "type": "primitive", - "range": [ - [ - 95, - 17 - ], - [ - 95, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "96": { - "20": { - "name": "redrawOnReattach", - "type": "primitive", - "range": [ - [ - 96, - 20 - ], - [ - 96, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "97": { - "24": { - "name": "bottomPaddingInLines", - "type": "primitive", - "range": [ - [ - 97, - 24 - ], - [ - 97, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "106": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorOrOptions" - ], - "range": [ - [ - 106, - 14 - ], - [ - 141, - 1 - ] - ], - "doc": " Private: The constructor for setting up an `EditorView` instance.\n\neditorOrOptions - Either an {Editor}, or an object with one property, `mini`.\n If `mini` is `true`, a \"miniature\" `Editor` is constructed.\n Typically, this is ideal for scenarios where you need an Atom editor,\n but without all the chrome, like scrollbars, gutter, _e.t.c._.\n\n " - } - }, - "141": { - "12": { - "name": "bindKeys", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 12 - ], - [ - 251, - 1 - ] - ], - "doc": " Private: Sets up the core Atom commands.\n\nSome commands are excluded from mini-editors. " - } - }, - "251": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 251, - 13 - ], - [ - 255, - 1 - ] - ], - "doc": " Public: Get the underlying editor model for this view.\n\nReturns an {Editor}. " - } - }, - "255": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 255, - 11 - ], - [ - 259, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.getText} " - } - }, - "259": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 259, - 11 - ], - [ - 263, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.setText} " - } - }, - "263": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 263, - 14 - ], - [ - 266, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.insertText} " - } - }, - "266": { - "20": { - "name": "setHeightInLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "heightInLines" - ], - "range": [ - [ - 266, - 20 - ], - [ - 271, - 1 - ] - ], - "doc": "~Private~" - } - }, - "271": { - "19": { - "name": "setWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "widthInChars" - ], - "range": [ - [ - 271, - 19 - ], - [ - 277, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.setEditorWidthInChars} " - } - }, - "277": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 277, - 12 - ], - [ - 284, - 1 - ] - ], - "doc": " Public: Emulates the \"page down\" key, where the last row of a buffer scrolls\nto become the first. " - } - }, - "284": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 10 - ], - [ - 292, - 1 - ] - ], - "doc": " Public: Emulates the \"page up\" key, where the frst row of a buffer scrolls\nto become the last. " - } - }, - "292": { - "15": { - "name": "getPageRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 15 - ], - [ - 298, - 1 - ] - ], - "doc": " Private: Gets the number of actual page rows existing in an editor.\n\nReturns a {Number}. " - } - }, - "298": { - "21": { - "name": "setShowInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showInvisibles" - ], - "range": [ - [ - 298, - 21 - ], - [ - 310, - 1 - ] - ], - "doc": " Public: Set whether invisible characters are shown.\n\nshowInvisibles - A {Boolean} which, if `true`, show invisible characters. " - } - }, - "310": { - "17": { - "name": "setInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 310, - 17 - ], - [ - 322, - 1 - ] - ], - "doc": " Public: Defines which characters are invisible.\n\ninvisibles - An {Object} defining the invisible characters:\n :eol - The end of line invisible {String} (default: `\\u00ac`).\n :space - The space invisible {String} (default: `\\u00b7`).\n :tab - The tab invisible {String} (default: `\\u00bb`).\n :cr - The carriage return invisible {String} (default: `\\u00a4`). " - } - }, - "322": { - "22": { - "name": "setShowIndentGuide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showIndentGuide" - ], - "range": [ - [ - 322, - 22 - ], - [ - 332, - 1 - ] - ], - "doc": " Public: Sets whether you want to show the indentation guides.\n\nshowIndentGuide - A {Boolean} you can set to `true` if you want to see the\n indentation guides. " - } - }, - "332": { - "22": { - "name": "setPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "placeholderText" - ], - "range": [ - [ - 332, - 22 - ], - [ - 337, - 1 - ] - ], - "doc": " Public: Set the text to appear in the editor when it is empty.\n\nThis only affects mini editors.\n\nplaceholderText - A {String} of text to display when empty. " - } - }, - "337": { - "22": { - "name": "getPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 337, - 22 - ], - [ - 341, - 1 - ] - ], - "doc": "~Private~" - } - }, - "341": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 341, - 16 - ], - [ - 345, - 1 - ] - ], - "doc": "Private: Checkout the HEAD revision of this editor's file. " - } - }, - "345": { - "13": { - "name": "configure", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 345, - 13 - ], - [ - 354, - 1 - ] - ], - "doc": "~Private~" - } - }, - "354": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 354, - 16 - ], - [ - 436, - 1 - ] - ], - "doc": "~Private~" - } - }, - "436": { - "21": { - "name": "handleInputEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 436, - 21 - ], - [ - 476, - 1 - ] - ], - "doc": "~Private~" - } - }, - "476": { - "28": { - "name": "bringHiddenInputIntoView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 476, - 28 - ], - [ - 479, - 1 - ] - ], - "doc": "~Private~" - } - }, - "479": { - "33": { - "name": "selectOnMousemoveUntilMouseup", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 479, - 33 - ], - [ - 505, - 1 - ] - ], - "doc": "~Private~" - } - }, - "505": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 505, - 15 - ], - [ - 538, - 1 - ] - ], - "doc": "~Private~" - } - }, - "538": { - "8": { - "name": "edit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 538, - 8 - ], - [ - 586, - 1 - ] - ], - "doc": "~Private~" - } - }, - "586": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 586, - 12 - ], - [ - 589, - 1 - ] - ], - "doc": "~Private~" - } - }, - "589": { - "12": { - "name": "setModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 589, - 12 - ], - [ - 592, - 1 - ] - ], - "doc": "~Private~" - } - }, - "592": { - "27": { - "name": "showBufferConflictAlert", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 592, - 27 - ], - [ - 600, - 1 - ] - ], - "doc": "~Private~" - } - }, - "600": { - "13": { - "name": "scrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop", - "options" - ], - "range": [ - [ - 600, - 13 - ], - [ - 618, - 1 - ] - ], - "doc": "~Private~" - } - }, - "618": { - "16": { - "name": "scrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 618, - 16 - ], - [ - 624, - 1 - ] - ], - "doc": "~Private~" - } - }, - "624": { - "14": { - "name": "scrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 624, - 14 - ], - [ - 631, - 1 - ] - ], - "doc": "~Private~" - } - }, - "631": { - "15": { - "name": "scrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 631, - 15 - ], - [ - 639, - 1 - ] - ], - "doc": "~Private~" - } - }, - "639": { - "18": { - "name": "scrollToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 639, - 18 - ], - [ - 646, - 1 - ] - ], - "doc": "Public: Scrolls the editor to the bottom. " - } - }, - "646": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 646, - 26 - ], - [ - 654, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the position of the most recently added\ncursor if it isn't current on screen.\n\nThe editor is centered around the cursor's position if possible. " - } - }, - "654": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 654, - 26 - ], - [ - 662, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given buffer position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " - } - }, - "662": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 662, - 26 - ], - [ - 673, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " - } - }, - "673": { - "25": { - "name": "scrollToPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition", - "options" - ], - "range": [ - [ - 673, - 25 - ], - [ - 684, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given pixel position.\n\npixelPosition - An object that represents a pixel position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or\n {Point}.\noptions - A hash with the following keys:\n :center - if `true`, the position is scrolled such that it's in\n the center of the editor " - } - }, - "684": { - "39": { - "name": "highlightFoldsContainingBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 684, - 39 - ], - [ - 696, - 1 - ] - ], - "doc": " Public: Highlight all the folds within the given buffer range.\n\n\"Highlighting\" essentially just adds the `fold-selected` class to the line's\nDOM element.\n\nbufferRange - The {Range} to check. " - } - }, - "696": { - "31": { - "name": "saveScrollPositionForEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 696, - 31 - ], - [ - 702, - 1 - ] - ], - "doc": "~Private~" - } - }, - "702": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 702, - 18 - ], - [ - 706, - 1 - ] - ], - "doc": "Public: Toggle soft tabs on the edit session. " - } - }, - "706": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 706, - 18 - ], - [ - 710, - 1 - ] - ], - "doc": "Public: Toggle soft wrap on the edit session. " - } - }, - "710": { - "25": { - "name": "calculateWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 710, - 25 - ], - [ - 713, - 1 - ] - ], - "doc": "~Private~" - } - }, - "713": { - "26": { - "name": "calculateHeightInLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 713, - 26 - ], - [ - 716, - 1 - ] - ], - "doc": "~Private~" - } - }, - "716": { - "21": { - "name": "getScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 716, - 21 - ], - [ - 723, - 1 - ] - ], - "doc": "~Private~" - } - }, - "723": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 723, - 15 - ], - [ - 733, - 1 - ] - ], - "doc": " Public: Enables/disables soft wrap on the editor.\n\nsoftWrap - A {Boolean} which, if `true`, enables soft wrap " - } - }, - "733": { - "15": { - "name": "setFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 733, - 15 - ], - [ - 746, - 1 - ] - ], - "doc": " Public: Sets the font size for the editor.\n\nfontSize - A {Number} indicating the font size in pixels. " - } - }, - "746": { - "15": { - "name": "getFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 746, - 15 - ], - [ - 752, - 1 - ] - ], - "doc": " Public: Retrieves the font size for the editor.\n\nReturns a {Number} indicating the font size in pixels. " - } - }, - "752": { - "17": { - "name": "setFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 752, - 17 - ], - [ - 762, - 1 - ] - ], - "doc": " Public: Sets the font family for the editor.\n\nfontFamily - A {String} identifying the CSS `font-family`. " - } - }, - "762": { - "17": { - "name": "getFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 762, - 17 - ], - [ - 762, - 38 - ] - ], - "doc": " Public: Gets the font family for the editor.\n\nReturns a {String} identifying the CSS `font-family`. " - } - }, - "770": { - "17": { - "name": "setLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 770, - 17 - ], - [ - 776, - 1 - ] - ], - "doc": " Public: Sets the line height of the editor.\n\nCalling this method has no effect when called on a mini editor.\n\nlineHeight - A {Number} without a unit suffix identifying the CSS\n`line-height`. " - } - }, - "776": { - "10": { - "name": "redraw", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 776, - 10 - ], - [ - 786, - 1 - ] - ], - "doc": "Public: Redraw the editor " - } - }, - "786": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 786, - 13 - ], - [ - 791, - 1 - ] - ], - "doc": "Public: Split the editor view left. " - } - }, - "791": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 791, - 14 - ], - [ - 796, - 1 - ] - ], - "doc": "Public: Split the editor view right. " - } - }, - "796": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 796, - 11 - ], - [ - 801, - 1 - ] - ], - "doc": "Public: Split the editor view up. " - } - }, - "801": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 801, - 13 - ], - [ - 808, - 1 - ] - ], - "doc": "Public: Split the editor view down. " - } - }, - "808": { - "11": { - "name": "getPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 808, - 11 - ], - [ - 811, - 1 - ] - ], - "doc": " Public: Get this view's pane.\n\nReturns a {Pane}. " - } - }, - "811": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "keepData" - ], - "range": [ - [ - 811, - 10 - ], - [ - 816, - 1 - ] - ], - "doc": "~Private~" - } - }, - "816": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 816, - 16 - ], - [ - 823, - 1 - ] - ], - "doc": "~Private~" - } - }, - "823": { - "17": { - "name": "getCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 823, - 17 - ], - [ - 827, - 1 - ] - ], - "doc": "~Private~" - } - }, - "827": { - "18": { - "name": "getCursorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 827, - 18 - ], - [ - 830, - 1 - ] - ], - "doc": "~Private~" - } - }, - "830": { - "17": { - "name": "addCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursor", - "options" - ], - "range": [ - [ - 830, - 17 - ], - [ - 836, - 1 - ] - ], - "doc": "~Private~" - } - }, - "836": { - "20": { - "name": "removeCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 836, - 20 - ], - [ - 839, - 1 - ] - ], - "doc": "~Private~" - } - }, - "839": { - "20": { - "name": "getSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 839, - 20 - ], - [ - 843, - 1 - ] - ], - "doc": "~Private~" - } - }, - "843": { - "21": { - "name": "getSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 843, - 21 - ], - [ - 846, - 1 - ] - ], - "doc": "~Private~" - } - }, - "846": { - "20": { - "name": "addSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 846, - 20 - ], - [ - 852, - 1 - ] - ], - "doc": "~Private~" - } - }, - "852": { - "23": { - "name": "removeSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selectionView" - ], - "range": [ - [ - 852, - 23 - ], - [ - 855, - 1 - ] - ], - "doc": "~Private~" - } - }, - "855": { - "36": { - "name": "removeAllCursorAndSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 855, - 36 - ], - [ - 859, - 1 - ] - ], - "doc": "~Private~" - } - }, - "859": { - "21": { - "name": "appendToLinesView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 859, - 21 - ], - [ - 863, - 1 - ] - ], - "doc": "~Private~" - } - }, - "863": { - "20": { - "name": "scrollVertically", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition", - null - ], - "range": [ - [ - 863, - 20 - ], - [ - 884, - 1 - ] - ], - "doc": "Private: Scrolls the editor vertically to a given position. " - } - }, - "884": { - "22": { - "name": "scrollHorizontally", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 884, - 22 - ], - [ - 900, - 1 - ] - ], - "doc": "Private: Scrolls the editor horizontally to a given position. " - } - }, - "900": { - "23": { - "name": "calculateDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 900, - 23 - ], - [ - 912, - 1 - ] - ], - "doc": "~Private~" - } - }, - "912": { - "25": { - "name": "recalculateDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 912, - 25 - ], - [ - 924, - 1 - ] - ], - "doc": "~Private~" - } - }, - "924": { - "25": { - "name": "updateLayerDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollViewWidth" - ], - "range": [ - [ - 924, - 25 - ], - [ - 943, - 1 - ] - ], - "doc": "~Private~" - } - }, - "943": { - "12": { - "name": "isHidden", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 943, - 12 - ], - [ - 950, - 1 - ] - ], - "doc": "Private: Override for speed. The base function checks computedStyle, unnecessary here. " - } - }, - "950": { - "22": { - "name": "clearRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 950, - 22 - ], - [ - 955, - 1 - ] - ], - "doc": "~Private~" - } - }, - "955": { - "16": { - "name": "resetDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 955, - 16 - ], - [ - 970, - 1 - ] - ], - "doc": "~Private~" - } - }, - "970": { - "24": { - "name": "requestDisplayUpdate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 970, - 24 - ], - [ - 978, - 1 - ] - ], - "doc": "~Private~" - } - }, - "978": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 978, - 17 - ], - [ - 994, - 1 - ] - ], - "doc": "~Private~" - } - }, - "994": { - "21": { - "name": "updateCursorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 994, - 21 - ], - [ - 1006, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1006": { - "22": { - "name": "shouldUpdateCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 1006, - 22 - ], - [ - 1012, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1012": { - "24": { - "name": "updateSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1012, - 24 - ], - [ - 1023, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1023": { - "25": { - "name": "shouldUpdateSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selectionView" - ], - "range": [ - [ - 1023, - 25 - ], - [ - 1031, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1031": { - "24": { - "name": "syncCursorAnimations", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1031, - 24 - ], - [ - 1034, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1034": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "suppressAutoscroll" - ], - "range": [ - [ - 1034, - 14 - ], - [ - 1046, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1046": { - "25": { - "name": "updatePlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1046, - 25 - ], - [ - 1057, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1057": { - "23": { - "name": "updateRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollViewWidth" - ], - "range": [ - [ - 1057, - 23 - ], - [ - 1084, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1084": { - "38": { - "name": "computeSurroundingEmptyLineChanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "change" - ], - "range": [ - [ - 1084, - 38 - ], - [ - 1102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1102": { - "23": { - "name": "computeIntactRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1102, - 23 - ], - [ - 1144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1144": { - "24": { - "name": "truncateIntactRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges", - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1144, - 24 - ], - [ - 1158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1158": { - "20": { - "name": "clearDirtyRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges" - ], - "range": [ - [ - 1158, - 20 - ], - [ - 1173, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1173": { - "13": { - "name": "clearLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement" - ], - "range": [ - [ - 1173, - 13 - ], - [ - 1178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1178": { - "19": { - "name": "fillDirtyRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges", - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1178, - 19 - ], - [ - 1201, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1201": { - "32": { - "name": "updatePaddingOfRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1201, - 32 - ], - [ - 1214, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1214": { - "28": { - "name": "getFirstVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1214, - 28 - ], - [ - 1223, - 1 - ] - ], - "doc": " Public: Retrieves the number of the row that is visible and currently at the\ntop of the editor.\n\nReturns a {Number}. " - } - }, - "1223": { - "27": { - "name": "getLastVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1223, - 27 - ], - [ - 1234, - 1 - ] - ], - "doc": " Public: Retrieves the number of the row that is visible and currently at the\nbottom of the editor.\n\nReturns a {Number}. " - } - }, - "1234": { - "22": { - "name": "isScreenRowVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 1234, - 22 - ], - [ - 1237, - 1 - ] - ], - "doc": " Public: Given a row number, identifies if it is currently visible.\n\nrow - A row {Number} to check\n\nReturns a {Boolean}. " - } - }, - "1237": { - "27": { - "name": "handleScreenLinesChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "change" - ], - "range": [ - [ - 1237, - 27 - ], - [ - 1241, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1241": { - "32": { - "name": "buildLineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 1241, - 32 - ], - [ - 1244, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1244": { - "34": { - "name": "buildLineElementsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1244, - 34 - ], - [ - 1249, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1249": { - "21": { - "name": "htmlForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1249, - 21 - ], - [ - 1256, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1256": { - "21": { - "name": "htmlForScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine", - "screenRow" - ], - "range": [ - [ - 1256, - 21 - ], - [ - 1271, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1271": { - "21": { - "name": "buildIndentation", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "screenRow", - "editor" - ], - "range": [ - [ - 1271, - 21 - ], - [ - 1298, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1298": { - "32": { - "name": "buildHtmlEndOfLineInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine" - ], - "range": [ - [ - 1298, - 32 - ], - [ - 1304, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1304": { - "26": { - "name": "getEndOfLineInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine" - ], - "range": [ - [ - 1304, - 26 - ], - [ - 1313, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1313": { - "27": { - "name": "lineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 1313, - 27 - ], - [ - 1316, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1316": { - "33": { - "name": "toggleLineCommentsInSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1316, - 33 - ], - [ - 1325, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1325": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1325, - 34 - ], - [ - 1334, - 1 - ] - ], - "doc": " Public: Converts a buffer position to a pixel position.\n\nposition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " - } - }, - "1334": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1334, - 34 - ], - [ - 1348, - 1 - ] - ], - "doc": " Public: Converts a screen position to a pixel position.\n\nposition - An object that represents a screen position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " - } - }, - "1348": { - "32": { - "name": "positionLeftForLineAndColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement", - "screenRow", - "screenColumn" - ], - "range": [ - [ - 1348, - 32 - ], - [ - 1371, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1371": { - "19": { - "name": "measureToColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement", - "tokenizedLine", - "screenColumn" - ], - "range": [ - [ - 1371, - 19 - ], - [ - 1416, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1416": { - "26": { - "name": "getCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "char" - ], - "range": [ - [ - 1416, - 26 - ], - [ - 1424, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1424": { - "26": { - "name": "setCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "char", - "val" - ], - "range": [ - [ - 1424, - 26 - ], - [ - 1432, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1432": { - "28": { - "name": "clearCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1432, - 28 - ], - [ - 1435, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1435": { - "32": { - "name": "pixelOffsetForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1435, - 32 - ], - [ - 1440, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1440": { - "32": { - "name": "screenPositionFromMouseEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 1440, - 32 - ], - [ - 1470, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1470": { - "23": { - "name": "highlightCursorLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1470, - 23 - ], - [ - 1481, - 1 - ] - ], - "doc": "Private: Highlights the current line the cursor is on. " - } - }, - "1481": { - "23": { - "name": "copyPathToClipboard", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1481, - 23 - ], - [ - 1485, - 1 - ] - ], - "doc": "Private: Copies the current file path to the native clipboard. " - } - }, - "1485": { - "18": { - "name": "buildLineHtml", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 1485, - 18 - ], - [ - 1513, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1513": { - "21": { - "name": "updateScopeStack", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 1513, - 21 - ], - [ - 1529, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1529": { - "14": { - "name": "pushScope", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack", - "scope" - ], - "range": [ - [ - 1529, - 14 - ], - [ - 1533, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1533": { - "13": { - "name": "popScope", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack" - ], - "range": [ - [ - 1533, - 13 - ], - [ - 1537, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1537": { - "23": { - "name": "buildEmptyLineHtml", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "showIndentGuide", - "eolInvisibles", - "htmlEolInvisibles", - "indentation", - "editor", - "mini" - ], - "range": [ - [ - 1537, - 23 - ], - [ - 1563, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1563": { - "23": { - "name": "replaceSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "replaceFn" - ], - "range": [ - [ - 1563, - 23 - ], - [ - 1573, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1573": { - "25": { - "name": "consolidateSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 1573, - 25 - ], - [ - 1573, - 89 - ] - ], - "doc": "~Private~" - } - }, - "1575": { - "18": { - "name": "logCursorScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1575, - 18 - ], - [ - 1578, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1578": { - "18": { - "name": "logScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 1578, - 18 - ], - [ - 1581, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1581": { - "20": { - "name": "logRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1581, - 20 - ], - [ - 1583, - 35 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 41 - }, - "src/editor.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "3": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 3, - 12 - ], - [ - 3, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 6, - 8 - ], - [ - 6, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "7": { - "15": { - "name": "LanguageMode", - "type": "import", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 39 - ] - ], - "bindingType": "variable", - "path": "./language-mode" - } - }, - "8": { - "16": { - "name": "DisplayBuffer", - "type": "import", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 41 - ] - ], - "bindingType": "variable", - "path": "./display-buffer" - } - }, - "9": { - "9": { - "name": "Cursor", - "type": "import", - "range": [ - [ - 9, - 9 - ], - [ - 9, - 26 - ] - ], - "bindingType": "variable", - "path": "./cursor" - } - }, - "10": { - "12": { - "name": "Selection", - "type": "import", - "range": [ - [ - 10, - 12 - ], - [ - 10, - 32 - ] - ], - "bindingType": "variable", - "path": "./selection" - } - }, - "11": { - "24": { - "type": "primitive", - "range": [ - [ - 11, - 24 - ], - [ - 11, - 58 - ] - ] - } - }, - "138": { - "0": { - "type": "class", - "name": "Editor", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 143, - 17 - ], - [ - 144, - 32 - ], - [ - 145, - 18 - ], - [ - 146, - 10 - ], - [ - 147, - 16 - ], - [ - 148, - 11 - ], - [ - 149, - 14 - ], - [ - 150, - 28 - ], - [ - 151, - 20 - ], - [ - 152, - 26 - ], - [ - 161, - 15 - ], - [ - 190, - 19 - ], - [ - 197, - 21 - ], - [ - 202, - 21 - ], - [ - 215, - 28 - ], - [ - 228, - 16 - ], - [ - 234, - 13 - ], - [ - 242, - 8 - ], - [ - 258, - 12 - ], - [ - 271, - 16 - ], - [ - 281, - 14 - ], - [ - 288, - 25 - ], - [ - 292, - 21 - ], - [ - 296, - 15 - ], - [ - 301, - 15 - ], - [ - 304, - 18 - ], - [ - 307, - 15 - ], - [ - 312, - 15 - ], - [ - 315, - 18 - ], - [ - 323, - 14 - ], - [ - 328, - 16 - ], - [ - 331, - 16 - ], - [ - 339, - 16 - ], - [ - 361, - 22 - ], - [ - 369, - 19 - ], - [ - 381, - 27 - ], - [ - 396, - 30 - ], - [ - 414, - 22 - ], - [ - 418, - 21 - ], - [ - 428, - 8 - ], - [ - 435, - 10 - ], - [ - 437, - 16 - ], - [ - 442, - 23 - ], - [ - 447, - 11 - ], - [ - 450, - 11 - ], - [ - 453, - 11 - ], - [ - 458, - 18 - ], - [ - 461, - 16 - ], - [ - 464, - 13 - ], - [ - 467, - 10 - ], - [ - 470, - 20 - ], - [ - 473, - 24 - ], - [ - 479, - 25 - ], - [ - 482, - 24 - ], - [ - 486, - 20 - ], - [ - 494, - 27 - ], - [ - 500, - 20 - ], - [ - 506, - 26 - ], - [ - 509, - 8 - ], - [ - 512, - 21 - ], - [ - 515, - 30 - ], - [ - 518, - 14 - ], - [ - 520, - 11 - ], - [ - 524, - 22 - ], - [ - 536, - 35 - ], - [ - 546, - 35 - ], - [ - 551, - 29 - ], - [ - 556, - 29 - ], - [ - 573, - 22 - ], - [ - 576, - 20 - ], - [ - 579, - 22 - ], - [ - 582, - 22 - ], - [ - 585, - 26 - ], - [ - 588, - 20 - ], - [ - 591, - 27 - ], - [ - 593, - 25 - ], - [ - 605, - 27 - ], - [ - 614, - 31 - ], - [ - 618, - 26 - ], - [ - 624, - 19 - ], - [ - 626, - 18 - ], - [ - 633, - 14 - ], - [ - 639, - 17 - ], - [ - 643, - 22 - ], - [ - 649, - 22 - ], - [ - 668, - 10 - ], - [ - 674, - 13 - ], - [ - 678, - 30 - ], - [ - 683, - 30 - ], - [ - 690, - 27 - ], - [ - 696, - 27 - ], - [ - 701, - 10 - ], - [ - 708, - 21 - ], - [ - 714, - 21 - ], - [ - 718, - 14 - ], - [ - 722, - 22 - ], - [ - 726, - 23 - ], - [ - 734, - 33 - ], - [ - 739, - 26 - ], - [ - 744, - 30 - ], - [ - 751, - 18 - ], - [ - 758, - 19 - ], - [ - 765, - 20 - ], - [ - 779, - 13 - ], - [ - 798, - 8 - ], - [ - 803, - 8 - ], - [ - 812, - 18 - ], - [ - 817, - 20 - ], - [ - 822, - 21 - ], - [ - 826, - 11 - ], - [ - 830, - 13 - ], - [ - 836, - 24 - ], - [ - 846, - 17 - ], - [ - 852, - 19 - ], - [ - 862, - 25 - ], - [ - 865, - 25 - ], - [ - 870, - 14 - ], - [ - 874, - 21 - ], - [ - 878, - 39 - ], - [ - 884, - 25 - ], - [ - 893, - 23 - ], - [ - 901, - 23 - ], - [ - 909, - 23 - ], - [ - 913, - 34 - ], - [ - 917, - 34 - ], - [ - 921, - 34 - ], - [ - 926, - 14 - ], - [ - 979, - 16 - ], - [ - 1034, - 18 - ], - [ - 1060, - 17 - ], - [ - 1072, - 22 - ], - [ - 1075, - 23 - ], - [ - 1096, - 32 - ], - [ - 1137, - 18 - ], - [ - 1140, - 19 - ], - [ - 1144, - 13 - ], - [ - 1148, - 14 - ], - [ - 1170, - 15 - ], - [ - 1179, - 19 - ], - [ - 1188, - 19 - ], - [ - 1197, - 22 - ], - [ - 1206, - 22 - ], - [ - 1210, - 17 - ], - [ - 1216, - 18 - ], - [ - 1220, - 22 - ], - [ - 1224, - 14 - ], - [ - 1227, - 13 - ], - [ - 1233, - 29 - ], - [ - 1240, - 29 - ], - [ - 1245, - 13 - ], - [ - 1255, - 16 - ], - [ - 1264, - 16 - ], - [ - 1288, - 30 - ], - [ - 1301, - 26 - ], - [ - 1311, - 26 - ], - [ - 1321, - 27 - ], - [ - 1336, - 19 - ], - [ - 1342, - 19 - ], - [ - 1347, - 25 - ], - [ - 1355, - 31 - ], - [ - 1361, - 17 - ], - [ - 1363, - 27 - ], - [ - 1374, - 16 - ], - [ - 1381, - 20 - ], - [ - 1388, - 40 - ], - [ - 1394, - 28 - ], - [ - 1403, - 34 - ], - [ - 1415, - 27 - ], - [ - 1422, - 27 - ], - [ - 1428, - 22 - ], - [ - 1439, - 27 - ], - [ - 1446, - 27 - ], - [ - 1453, - 26 - ], - [ - 1460, - 26 - ], - [ - 1468, - 27 - ], - [ - 1476, - 27 - ], - [ - 1482, - 19 - ], - [ - 1490, - 24 - ], - [ - 1499, - 24 - ], - [ - 1505, - 34 - ], - [ - 1511, - 22 - ], - [ - 1515, - 16 - ], - [ - 1519, - 18 - ], - [ - 1523, - 18 - ], - [ - 1527, - 19 - ], - [ - 1533, - 19 - ], - [ - 1539, - 22 - ], - [ - 1543, - 37 - ], - [ - 1547, - 31 - ], - [ - 1551, - 36 - ], - [ - 1555, - 31 - ], - [ - 1559, - 25 - ], - [ - 1563, - 31 - ], - [ - 1567, - 25 - ], - [ - 1571, - 35 - ], - [ - 1575, - 36 - ], - [ - 1579, - 32 - ], - [ - 1583, - 40 - ], - [ - 1587, - 44 - ], - [ - 1596, - 26 - ], - [ - 1599, - 10 - ], - [ - 1604, - 12 - ], - [ - 1609, - 16 - ], - [ - 1612, - 18 - ], - [ - 1616, - 18 - ], - [ - 1619, - 15 - ], - [ - 1626, - 15 - ], - [ - 1636, - 26 - ], - [ - 1645, - 15 - ], - [ - 1652, - 14 - ], - [ - 1659, - 12 - ], - [ - 1666, - 14 - ], - [ - 1673, - 15 - ], - [ - 1679, - 13 - ], - [ - 1686, - 18 - ], - [ - 1693, - 27 - ], - [ - 1702, - 32 - ], - [ - 1709, - 21 - ], - [ - 1716, - 32 - ], - [ - 1723, - 28 - ], - [ - 1729, - 14 - ], - [ - 1740, - 21 - ], - [ - 1751, - 21 - ], - [ - 1759, - 28 - ], - [ - 1776, - 13 - ], - [ - 1791, - 13 - ], - [ - 1798, - 13 - ], - [ - 1809, - 13 - ], - [ - 1816, - 27 - ], - [ - 1823, - 21 - ], - [ - 1830, - 31 - ], - [ - 1834, - 14 - ], - [ - 1841, - 36 - ], - [ - 1848, - 40 - ], - [ - 1856, - 16 - ], - [ - 1863, - 16 - ], - [ - 1873, - 27 - ], - [ - 1879, - 28 - ], - [ - 1883, - 22 - ], - [ - 1889, - 31 - ], - [ - 1910, - 40 - ], - [ - 1919, - 14 - ], - [ - 1926, - 14 - ], - [ - 1930, - 17 - ], - [ - 1933, - 20 - ], - [ - 1944, - 12 - ], - [ - 1952, - 20 - ], - [ - 1958, - 21 - ], - [ - 1962, - 20 - ], - [ - 1964, - 11 - ], - [ - 1967, - 18 - ], - [ - 1969, - 22 - ], - [ - 1972, - 23 - ], - [ - 1976, - 23 - ], - [ - 1980, - 32 - ], - [ - 1983, - 27 - ], - [ - 1984, - 27 - ], - [ - 1986, - 29 - ], - [ - 1987, - 29 - ], - [ - 1989, - 25 - ], - [ - 1990, - 25 - ], - [ - 1992, - 29 - ], - [ - 1994, - 22 - ], - [ - 1995, - 22 - ], - [ - 1997, - 23 - ], - [ - 1999, - 25 - ], - [ - 2001, - 23 - ], - [ - 2002, - 23 - ], - [ - 2004, - 13 - ], - [ - 2005, - 13 - ], - [ - 2007, - 19 - ], - [ - 2009, - 12 - ], - [ - 2010, - 12 - ], - [ - 2012, - 16 - ], - [ - 2013, - 16 - ], - [ - 2015, - 19 - ], - [ - 2016, - 19 - ], - [ - 2018, - 17 - ], - [ - 2019, - 17 - ], - [ - 2021, - 18 - ], - [ - 2022, - 18 - ], - [ - 2024, - 19 - ], - [ - 2025, - 18 - ], - [ - 2027, - 22 - ], - [ - 2029, - 29 - ], - [ - 2031, - 38 - ], - [ - 2033, - 34 - ], - [ - 2035, - 34 - ], - [ - 2037, - 34 - ], - [ - 2039, - 27 - ], - [ - 2041, - 23 - ], - [ - 2043, - 26 - ], - [ - 2045, - 26 - ], - [ - 2047, - 26 - ], - [ - 2049, - 24 - ], - [ - 2051, - 32 - ], - [ - 2052, - 32 - ], - [ - 2054, - 29 - ], - [ - 2055, - 29 - ], - [ - 2058, - 12 - ] - ], - "doc": " Public: This class represents all essential editing state for a single\n{TextBuffer}, including cursor and selection positions, folds, and soft wraps.\nIf you're manipulating the state of an editor, use this class. If you're\ninterested in the visual appearance of editors, use {EditorView} instead.\n\nA single {TextBuffer} can belong to multiple editors. For example, if the\nsame file is open in two different panes, Atom creates a separate editor for\neach pane. If the buffer is manipulated the changes are reflected in both\neditors, but each maintains its own cursor position, folded lines, etc.\n\n## Accessing Editor Instances\n\nThe easiest way to get hold of `Editor` objects is by registering a callback\nwith `::eachEditor` on the `atom.workspace` global. Your callback will then\nbe called with all current editor instances and also when any editor is\ncreated in the future.\n\n```coffeescript\n atom.workspace.eachEditor (editor) ->\n editor.insertText('Hello World')\n```\n\n## Buffer vs. Screen Coordinates\n\nBecause editors support folds and soft-wrapping, the lines on screen don't\nalways match the lines in the buffer. For example, a long line that soft wraps\ntwice renders as three lines on screen, but only represents one line in the\nbuffer. Similarly, if rows 5-10 are folded, then row 6 on screen corresponds\nto row 11 in the buffer.\n\nYour choice of coordinates systems will depend on what you're trying to\nachieve. For example, if you're writing a command that jumps the cursor up or\ndown by 10 lines, you'll want to use screen coordinates because the user\nprobably wants to skip lines *on screen*. However, if you're writing a package\nthat jumps between method definitions, you'll want to work in buffer\ncoordinates.\n\n**When in doubt, just default to buffer coordinates**, then experiment with\nsoft wraps and folds to ensure your code interacts with them correctly.\n\n## Common Tasks\n\nThis is a subset of methods on this class. Refer to the complete summary for\nits full capabilities.\n\n### Cursors\n- {::setCursorBufferPosition}\n- {::setCursorScreenPosition}\n- {::moveCursorUp}\n- {::moveCursorDown}\n- {::moveCursorLeft}\n- {::moveCursorRight}\n- {::moveCursorToBeginningOfWord}\n- {::moveCursorToEndOfWord}\n- {::moveCursorToPreviousWordBoundary}\n- {::moveCursorToNextWordBoundary}\n- {::moveCursorToBeginningOfNextWord}\n- {::moveCursorToBeginningOfLine}\n- {::moveCursorToEndOfLine}\n- {::moveCursorToFirstCharacterOfLine}\n- {::moveCursorToTop}\n- {::moveCursorToBottom}\n\n### Selections\n- {::getSelectedBufferRange}\n- {::getSelectedBufferRanges}\n- {::setSelectedBufferRange}\n- {::setSelectedBufferRanges}\n- {::selectUp}\n- {::selectDown}\n- {::selectLeft}\n- {::selectRight}\n- {::selectToBeginningOfWord}\n- {::selectToEndOfWord}\n- {::selectToPreviousWordBoundary}\n- {::selectToNextWordBoundary}\n- {::selectWord}\n- {::selectToBeginningOfLine}\n- {::selectToEndOfLine}\n- {::selectToFirstCharacterOfLine}\n- {::selectToTop}\n- {::selectToBottom}\n- {::selectAll}\n- {::addSelectionForBufferRange}\n- {::addSelectionAbove}\n- {::addSelectionBelow}\n- {::splitSelectionsIntoLines}\n\n### Manipulating Text\n- {::getText}\n- {::getSelectedText}\n- {::setText}\n- {::setTextInBufferRange}\n- {::insertText}\n- {::insertNewline}\n- {::insertNewlineAbove}\n- {::insertNewlineBelow}\n- {::backspace}\n- {::deleteToBeginningOfWord}\n- {::deleteToBeginningOfLine}\n- {::delete}\n- {::deleteToEndOfLine}\n- {::deleteToEndOfWord}\n- {::deleteLine}\n- {::cutSelectedText}\n- {::cutToEndOfLine}\n- {::copySelectedText}\n- {::pasteText}\n\n### Undo, Redo, and Transactions\n- {::undo}\n- {::redo}\n- {::transact}\n- {::abortTransaction}\n\n### Markers\n- {::markBufferRange}\n- {::markScreenRange}\n- {::getMarker}\n- {::findMarkers}\n\n### Decorations\n- {::decorateMarker}\n- {::decorationsForScreenRowRange} ", - "range": [ - [ - 138, - 0 - ], - [ - 2060, - 16 - ] - ] - } - }, - "143": { - "17": { - "name": "deserializing", - "type": "primitive", - "range": [ - [ - 143, - 17 - ], - [ - 143, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "144": { - "32": { - "name": "callDisplayBufferCreatedHook", - "type": "primitive", - "range": [ - [ - 144, - 32 - ], - [ - 144, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "145": { - "18": { - "name": "registerEditor", - "type": "primitive", - "range": [ - [ - 145, - 18 - ], - [ - 145, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "146": { - "10": { - "name": "buffer", - "type": "primitive", - "range": [ - [ - 146, - 10 - ], - [ - 146, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "147": { - "16": { - "name": "languageMode", - "type": "primitive", - "range": [ - [ - 147, - 16 - ], - [ - 147, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "148": { - "11": { - "name": "cursors", - "type": "primitive", - "range": [ - [ - 148, - 11 - ], - [ - 148, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "149": { - "14": { - "name": "selections", - "type": "primitive", - "range": [ - [ - 149, - 14 - ], - [ - 149, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "150": { - "28": { - "name": "suppressSelectionMerging", - "type": "primitive", - "range": [ - [ - 150, - 28 - ], - [ - 150, - 32 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "151": { - "20": { - "name": "updateBatchDepth", - "type": "primitive", - "range": [ - [ - 151, - 20 - ], - [ - 151, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "152": { - "26": { - "name": "selectionFlashDuration", - "type": "primitive", - "range": [ - [ - 152, - 26 - ], - [ - 152, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "161": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 161, - 15 - ], - [ - 190, - 1 - ] - ], - "doc": "~Private~" - } - }, - "190": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 19 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 197, - 21 - ], - [ - 202, - 1 - ] - ], - "doc": "~Private~" - } - }, - "202": { - "21": { - "name": "subscribeToBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 202, - 21 - ], - [ - 215, - 1 - ] - ], - "doc": "~Private~" - } - }, - "215": { - "28": { - "name": "subscribeToDisplayBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 215, - 28 - ], - [ - 228, - 1 - ] - ], - "doc": "~Private~" - } - }, - "228": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 228, - 16 - ], - [ - 234, - 1 - ] - ], - "doc": "~Private~" - } - }, - "234": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 13 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 242, - 8 - ], - [ - 258, - 1 - ] - ], - "doc": "Private: Create an {Editor} with its initial state based on this object " - } - }, - "258": { - "12": { - "name": "getTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 258, - 12 - ], - [ - 271, - 1 - ] - ], - "doc": " Public: Get the title the editor's title for display in other parts of the\nUI such as the tabs.\n\nIf the editor's buffer is saved, its title is the file name. If it is\nunsaved, its title is \"untitled\".\n\nReturns a {String}. " - } - }, - "271": { - "16": { - "name": "getLongTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 271, - 16 - ], - [ - 281, - 1 - ] - ], - "doc": " Public: Get the editor's long title for display in other parts of the UI\nsuch as the window title.\n\nIf the editor's buffer is saved, its long title is formatted as\n\" - \". If it is unsaved, its title is \"untitled\"\n\nReturns a {String}. " - } - }, - "281": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 281, - 14 - ], - [ - 281, - 60 - ] - ], - "doc": "Private: Controls visibility based on the given {Boolean}. " - } - }, - "288": { - "25": { - "name": "setEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorWidthInChars" - ], - "range": [ - [ - 288, - 25 - ], - [ - 292, - 1 - ] - ], - "doc": " Private: Set the number of characters that can be displayed horizontally in the\neditor.\n\neditorWidthInChars - A {Number} representing the width of the {EditorView}\nin characters. " - } - }, - "292": { - "21": { - "name": "getSoftWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 21 - ], - [ - 292, - 57 - ] - ], - "doc": "Public: Sets the column at which column will soft wrap " - } - }, - "296": { - "15": { - "name": "getSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 296, - 15 - ], - [ - 296, - 26 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether softTabs are enabled for this\neditor. " - } - }, - "301": { - "15": { - "name": "setSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 301, - 15 - ], - [ - 301, - 38 - ] - ], - "doc": " Public: Enable or disable soft tabs for this editor.\n\nsoftTabs - A {Boolean} " - } - }, - "304": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 304, - 18 - ], - [ - 304, - 52 - ] - ], - "doc": "Public: Toggle soft tabs for this editor " - } - }, - "307": { - "15": { - "name": "getSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 307, - 15 - ], - [ - 307, - 45 - ] - ], - "doc": "Public: Get whether soft wrap is enabled for this editor. " - } - }, - "312": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 312, - 15 - ], - [ - 312, - 64 - ] - ], - "doc": " Public: Enable or disable soft wrap for this editor.\n\nsoftWrap - A {Boolean} " - } - }, - "315": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 18 - ], - [ - 315, - 52 - ] - ], - "doc": "Public: Toggle soft wrap for this editor " - } - }, - "323": { - "14": { - "name": "getTabText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 323, - 14 - ], - [ - 323, - 37 - ] - ], - "doc": " Public: Get the text representing a single level of indent.\n\nIf soft tabs are enabled, the text is composed of N spaces, where N is the\ntab length. Otherwise the text is a tab character (`\\t`).\n\nReturns a {String}. " - } - }, - "328": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 328, - 16 - ], - [ - 328, - 47 - ] - ], - "doc": " Public: Get the on-screen length of tab characters.\n\nReturns a {Number}. " - } - }, - "331": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 331, - 16 - ], - [ - 331, - 68 - ] - ], - "doc": "Public: Set the on-screen length of tab characters. " - } - }, - "339": { - "16": { - "name": "usesSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 339, - 16 - ], - [ - 361, - 1 - ] - ], - "doc": " Public: Determine if the buffer uses hard or soft tabs.\n\nReturns `true` if the first non-comment line with leading whitespace starts\nwith a space character. Returns `false` if it starts with a hard tab (`\\t`).\n\nReturns a {Boolean}, " - } - }, - "361": { - "22": { - "name": "clipBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 361, - 22 - ], - [ - 361, - 77 - ] - ], - "doc": " Public: Clip the given {Point} to a valid position in the buffer.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the buffer, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " - } - }, - "369": { - "19": { - "name": "clipBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 369, - 19 - ], - [ - 369, - 53 - ] - ], - "doc": " Public: Clip the start and end of the given range to valid positions in the\nbuffer. See {::clipBufferPosition} for more information.\n\nrange - The {Range} to clip.\n\nReturns a {Range}. " - } - }, - "381": { - "27": { - "name": "indentationForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 381, - 27 - ], - [ - 396, - 1 - ] - ], - "doc": " Public: Get the indentation level of the given a buffer row.\n\nReturns how deeply the given row is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nbufferRow - A {Number} indicating the buffer row.\n\nReturns a {Number}. " - } - }, - "396": { - "30": { - "name": "setIndentationForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "newLevel", - null - ], - "range": [ - [ - 396, - 30 - ], - [ - 414, - 1 - ] - ], - "doc": " Public: Set the indentation level for the given buffer row.\n\nInserts or removes hard tabs or spaces based on the soft tabs and tab length\nsettings of this editor in order to bring it to the given indentation level.\nNote that if soft tabs are enabled and the tab length is 2, a row with 4\nleading spaces would have an indentation level of 2.\n\nbufferRow - A {Number} indicating the buffer row.\nnewLevel - A {Number} indicating the new indentation level.\noptions - An {Object} with the following keys:\n :preserveLeadingWhitespace - true to preserve any whitespace already at\n the beginning of the line (default: false). " - } - }, - "414": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 414, - 22 - ], - [ - 418, - 1 - ] - ], - "doc": " Public: Get the indentation level of the given line of text.\n\nReturns how deeply the given line is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nline - A {String} representing a line of text.\n\nReturns a {Number}. " - } - }, - "418": { - "21": { - "name": "buildIndentString", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "number", - "column" - ], - "range": [ - [ - 418, - 21 - ], - [ - 428, - 1 - ] - ], - "doc": "Private: Constructs the string used for tabs. " - } - }, - "428": { - "8": { - "name": "save", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 8 - ], - [ - 428, - 24 - ] - ], - "doc": " Public: Saves the editor's text buffer.\n\nSee {TextBuffer::save} for more details. " - } - }, - "435": { - "10": { - "name": "saveAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 435, - 10 - ], - [ - 435, - 47 - ] - ], - "doc": " Public: Saves the editor's text buffer as the given path.\n\nSee {TextBuffer::saveAs} for more details.\n\nfilePath - A {String} path. " - } - }, - "437": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 437, - 16 - ], - [ - 442, - 1 - ] - ], - "doc": "~Private~" - } - }, - "442": { - "23": { - "name": "copyPathToClipboard", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 442, - 23 - ], - [ - 447, - 1 - ] - ], - "doc": "Private: Copies the current file path to the native clipboard. " - } - }, - "447": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 447, - 11 - ], - [ - 447, - 30 - ] - ], - "doc": "Public: Returns the {String} path of this editor's text buffer. " - } - }, - "450": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 450, - 11 - ], - [ - 450, - 30 - ] - ], - "doc": "Public: Returns a {String} representing the entire contents of the editor. " - } - }, - "453": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 453, - 11 - ], - [ - 453, - 41 - ] - ], - "doc": "Public: Replaces the entire contents of the buffer with the given {String}. " - } - }, - "458": { - "18": { - "name": "getTextInRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 458, - 18 - ], - [ - 458, - 57 - ] - ], - "doc": " Private: Get the text in the given {Range}.\n\nReturns a {String}. " - } - }, - "461": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 461, - 16 - ], - [ - 461, - 40 - ] - ], - "doc": "Public: Returns a {Number} representing the number of lines in the editor. " - } - }, - "464": { - "13": { - "name": "getBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 464, - 13 - ], - [ - 464, - 22 - ] - ], - "doc": "Private: Retrieves the current {TextBuffer}. " - } - }, - "467": { - "10": { - "name": "getUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 467, - 10 - ], - [ - 467, - 28 - ] - ], - "doc": "Public: Retrieves the current buffer's URI. " - } - }, - "470": { - "20": { - "name": "isBufferRowBlank", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 470, - 20 - ], - [ - 470, - 63 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.isRowBlank} " - } - }, - "473": { - "24": { - "name": "isBufferRowCommented", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 473, - 24 - ], - [ - 479, - 1 - ] - ], - "doc": "Public: Determine if the given row is entirely a comment " - } - }, - "479": { - "25": { - "name": "nextNonBlankBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 479, - 25 - ], - [ - 479, - 73 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.nextNonBlankRow} " - } - }, - "482": { - "24": { - "name": "getEofBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 482, - 24 - ], - [ - 482, - 50 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.getEndPosition} " - } - }, - "486": { - "20": { - "name": "getLastBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 486, - 20 - ], - [ - 486, - 42 - ] - ], - "doc": " Public: Returns a {Number} representing the last zero-indexed buffer row\nnumber of the editor. " - } - }, - "494": { - "27": { - "name": "bufferRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - null - ], - "range": [ - [ - 494, - 27 - ], - [ - 494, - 96 - ] - ], - "doc": " Private: Returns the range for the given buffer row.\n\nrow - A row {Number}.\noptions - An options hash with an `includeNewline` key.\n\nReturns a {Range}. " - } - }, - "500": { - "20": { - "name": "lineForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 500, - 20 - ], - [ - 500, - 51 - ] - ], - "doc": " Public: Returns a {String} representing the contents of the line at the\ngiven buffer row.\n\nrow - A {Number} representing a zero-indexed buffer row. " - } - }, - "506": { - "26": { - "name": "lineLengthForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 506, - 26 - ], - [ - 506, - 63 - ] - ], - "doc": " Public: Returns a {Number} representing the line length for the given\nbuffer row, exclusive of its line-ending character(s).\n\nrow - A {Number} indicating the buffer row. " - } - }, - "509": { - "8": { - "name": "scan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 509, - 8 - ], - [ - 509, - 41 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.scan} " - } - }, - "512": { - "21": { - "name": "scanInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 512, - 21 - ], - [ - 512, - 61 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.scanInRange} " - } - }, - "515": { - "30": { - "name": "backwardsScanInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 515, - 30 - ], - [ - 515, - 79 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.backwardsScanInRange} " - } - }, - "518": { - "14": { - "name": "isModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 518, - 14 - ], - [ - 518, - 36 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.isModified} " - } - }, - "520": { - "11": { - "name": "isEmpty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 520, - 11 - ], - [ - 520, - 30 - ] - ], - "doc": "~Private~" - } - }, - "524": { - "22": { - "name": "shouldPromptToSave", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 524, - 22 - ], - [ - 524, - 74 - ] - ], - "doc": " Public: Determine whether the user should be prompted to save before closing\nthis editor. " - } - }, - "536": { - "35": { - "name": "screenPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 536, - 35 - ], - [ - 536, - 134 - ] - ], - "doc": " Public: Convert a position in buffer-coordinates to screen-coordinates.\n\nThe position is clipped via {::clipBufferPosition} prior to the conversion.\nThe position is also clipped via {::clipScreenPosition} following the\nconversion, which only makes a difference when `options` are supplied.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " - } - }, - "546": { - "35": { - "name": "bufferPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 546, - 35 - ], - [ - 546, - 134 - ] - ], - "doc": " Public: Convert a position in screen-coordinates to buffer-coordinates.\n\nThe position is clipped via {::clipScreenPosition} prior to the conversion.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " - } - }, - "551": { - "29": { - "name": "screenRangeForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 551, - 29 - ], - [ - 551, - 98 - ] - ], - "doc": " Public: Convert a range in buffer-coordinates to screen-coordinates.\n\nReturns a {Range}. " - } - }, - "556": { - "29": { - "name": "bufferRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 556, - 29 - ], - [ - 556, - 98 - ] - ], - "doc": " Public: Convert a range in screen-coordinates to buffer-coordinates.\n\nReturns a {Range}. " - } - }, - "573": { - "22": { - "name": "clipScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 573, - 22 - ], - [ - 573, - 108 - ] - ], - "doc": " Public: Clip the given {Point} to a valid position on screen.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the screen, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at screen row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " - } - }, - "576": { - "20": { - "name": "lineForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 576, - 20 - ], - [ - 576, - 58 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.lineForRow} " - } - }, - "579": { - "22": { - "name": "linesForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 579, - 22 - ], - [ - 579, - 76 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.linesForRows} " - } - }, - "582": { - "22": { - "name": "getScreenLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 582, - 22 - ], - [ - 582, - 53 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getLineCount} " - } - }, - "585": { - "26": { - "name": "getMaxScreenLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 585, - 26 - ], - [ - 585, - 61 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getMaxLineLength} " - } - }, - "588": { - "20": { - "name": "getLastScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 588, - 20 - ], - [ - 588, - 49 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getLastRow} " - } - }, - "591": { - "27": { - "name": "bufferRowsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 591, - 27 - ], - [ - 591, - 104 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.bufferRowsForScreenRows} " - } - }, - "593": { - "25": { - "name": "bufferRowForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 593, - 25 - ], - [ - 593, - 74 - ] - ], - "doc": "~Private~" - } - }, - "605": { - "27": { - "name": "scopesForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 605, - 27 - ], - [ - 605, - 100 - ] - ], - "doc": " Public: Get the syntactic scopes for the given position in buffer\ncoordinates.\n\nFor example, if called with a position inside the parameter list of an\nanonymous CoffeeScript function, the method returns the following array:\n`[\"source.coffee\", \"meta.inline.function.coffee\", \"variable.parameter.function.coffee\"]`\n\nbufferPosition - A {Point} or {Array} of [row, column].\n\nReturns an {Array} of {String}s. " - } - }, - "614": { - "31": { - "name": "bufferRangeForScopeAtCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 614, - 31 - ], - [ - 618, - 1 - ] - ], - "doc": " Public: Get the range in buffer coordinates of all tokens surrounding the\ncursor that match the given scope selector.\n\nFor example, if you wanted to find the string surrounding the cursor, you\ncould call `editor.bufferRangeForScopeAtCursor(\".string.quoted\")`.\n\nReturns a {Range}. " - } - }, - "618": { - "26": { - "name": "tokenForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 618, - 26 - ], - [ - 618, - 98 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.tokenForBufferPosition} " - } - }, - "624": { - "19": { - "name": "getCursorScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 624, - 19 - ], - [ - 624, - 45 - ] - ], - "doc": " Public: Get the syntactic scopes for the most recently added cursor's\nposition. See {::scopesForBufferPosition} for more information.\n\nReturns an {Array} of {String}s. " - } - }, - "626": { - "18": { - "name": "logCursorScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 626, - 18 - ], - [ - 633, - 1 - ] - ], - "doc": "~Private~" - } - }, - "633": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 633, - 14 - ], - [ - 639, - 1 - ] - ], - "doc": " Public: For each selection, replace the selected text with the given text.\n\ntext - A {String} representing the text to insert.\noptions - See {Selection::insertText}. " - } - }, - "639": { - "17": { - "name": "insertNewline", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 639, - 17 - ], - [ - 643, - 1 - ] - ], - "doc": "Public: For each selection, replace the selected text with a newline. " - } - }, - "643": { - "22": { - "name": "insertNewlineBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 643, - 22 - ], - [ - 649, - 1 - ] - ], - "doc": "Public: For each cursor, insert a newline at beginning the following line. " - } - }, - "649": { - "22": { - "name": "insertNewlineAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 649, - 22 - ], - [ - 668, - 1 - ] - ], - "doc": "Public: For each cursor, insert a newline at the end of the preceding line. " - } - }, - "668": { - "10": { - "name": "indent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 668, - 10 - ], - [ - 674, - 1 - ] - ], - "doc": " Private: Indent all lines intersecting selections. See {Selection::indent} for more\ninformation. " - } - }, - "674": { - "13": { - "name": "backspace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 674, - 13 - ], - [ - 678, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete the character\npreceding the cursor. Otherwise delete the selected text. " - } - }, - "678": { - "30": { - "name": "backspaceToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 678, - 30 - ], - [ - 683, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " - } - }, - "683": { - "30": { - "name": "backspaceToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 683, - 30 - ], - [ - 690, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " - } - }, - "690": { - "27": { - "name": "deleteToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 690, - 27 - ], - [ - 696, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word that precede the cursor. Otherwise delete the\nselected text. " - } - }, - "696": { - "27": { - "name": "deleteToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 696, - 27 - ], - [ - 701, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing line that precede the cursor. Otherwise delete the\nselected text. " - } - }, - "701": { - "10": { - "name": "delete", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 701, - 10 - ], - [ - 708, - 1 - ] - ] - } - }, - "708": { - "21": { - "name": "deleteToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 708, - 21 - ], - [ - 714, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is not empty, deletes the\nselection; otherwise, deletes all characters of the containing line\nfollowing the cursor. If the cursor is already at the end of the line,\ndeletes the following newline. " - } - }, - "714": { - "21": { - "name": "deleteToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 714, - 21 - ], - [ - 718, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word following the cursor. Otherwise delete the selected\ntext. " - } - }, - "718": { - "14": { - "name": "deleteLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 718, - 14 - ], - [ - 722, - 1 - ] - ], - "doc": "Public: Delete all lines intersecting selections. " - } - }, - "722": { - "22": { - "name": "indentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 722, - 22 - ], - [ - 726, - 1 - ] - ], - "doc": "Public: Indent rows intersecting selections by one level. " - } - }, - "726": { - "23": { - "name": "outdentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 726, - 23 - ], - [ - 734, - 1 - ] - ], - "doc": "Public: Outdent rows intersecting selections by one level. " - } - }, - "734": { - "33": { - "name": "toggleLineCommentsInSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 734, - 33 - ], - [ - 739, - 1 - ] - ], - "doc": " Public: Toggle line comments for rows intersecting selections.\n\nIf the current grammar doesn't support comments, does nothing.\n\nReturns an {Array} of the commented {Range}s. " - } - }, - "739": { - "26": { - "name": "autoIndentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 739, - 26 - ], - [ - 744, - 1 - ] - ], - "doc": " Public: Indent rows intersecting selections based on the grammar's suggested\nindent level. " - } - }, - "744": { - "30": { - "name": "normalizeTabsInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 744, - 30 - ], - [ - 751, - 1 - ] - ], - "doc": " Private: If soft tabs are enabled, convert all hard tabs to soft tabs in the given\n{Range}. " - } - }, - "751": { - "18": { - "name": "cutToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 751, - 18 - ], - [ - 758, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, cut all characters\nof the containing line following the cursor. Otherwise cut the selected\ntext. " - } - }, - "758": { - "19": { - "name": "cutSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 758, - 19 - ], - [ - 765, - 1 - ] - ], - "doc": "Public: For each selection, cut the selected text. " - } - }, - "765": { - "20": { - "name": "copySelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 765, - 20 - ], - [ - 779, - 1 - ] - ], - "doc": "Public: For each selection, copy the selected text. " - } - }, - "779": { - "13": { - "name": "pasteText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 779, - 13 - ], - [ - 798, - 1 - ] - ], - "doc": " Public: For each selection, replace the selected text with the contents of\nthe clipboard.\n\nIf the clipboard contains the same number of selections as the current\neditor, each selection will be replaced with the content of the\ncorresponding clipboard selection text.\n\noptions - See {Selection::insertText}. " - } - }, - "798": { - "8": { - "name": "undo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 798, - 8 - ], - [ - 803, - 1 - ] - ], - "doc": "Public: Undo the last change. " - } - }, - "803": { - "8": { - "name": "redo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 803, - 8 - ], - [ - 812, - 1 - ] - ], - "doc": "Public: Redo the last change. " - } - }, - "812": { - "18": { - "name": "foldCurrentRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 812, - 18 - ], - [ - 817, - 1 - ] - ], - "doc": " Public: Fold the most recent cursor's row based on its indentation level.\n\nThe fold will extend from the nearest preceding line with a lower\nindentation level up to the nearest following row with a lower indentation\nlevel. " - } - }, - "817": { - "20": { - "name": "unfoldCurrentRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 817, - 20 - ], - [ - 822, - 1 - ] - ], - "doc": "Public: Unfold the most recent cursor's row by one level. " - } - }, - "822": { - "21": { - "name": "foldSelectedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 822, - 21 - ], - [ - 826, - 1 - ] - ], - "doc": "Public: For each selection, fold the rows it intersects. " - } - }, - "826": { - "11": { - "name": "foldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 826, - 11 - ], - [ - 830, - 1 - ] - ], - "doc": "Public: Fold all foldable lines. " - } - }, - "830": { - "13": { - "name": "unfoldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 830, - 13 - ], - [ - 836, - 1 - ] - ], - "doc": "Public: Unfold all existing folds. " - } - }, - "836": { - "24": { - "name": "foldAllAtIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "level" - ], - "range": [ - [ - 836, - 24 - ], - [ - 846, - 1 - ] - ], - "doc": " Public: Fold all foldable lines at the given indent level.\n\nlevel - A {Number}. " - } - }, - "846": { - "17": { - "name": "foldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 846, - 17 - ], - [ - 852, - 1 - ] - ], - "doc": " Public: Fold the given row in buffer coordinates based on its indentation\nlevel.\n\nIf the given row is foldable, the fold will begin there. Otherwise, it will\nbegin at the first foldable row preceding the given row.\n\nbufferRow - A {Number}. " - } - }, - "852": { - "19": { - "name": "unfoldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 852, - 19 - ], - [ - 862, - 1 - ] - ], - "doc": " Public: Unfold all folds containing the given row in buffer coordinates.\n\nbufferRow - A {Number} " - } - }, - "862": { - "25": { - "name": "isFoldableAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 862, - 25 - ], - [ - 865, - 1 - ] - ], - "doc": " Public: Determine whether the given row in buffer coordinates is foldable.\n\nA *foldable* row is a row that *starts* a row range that can be folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "865": { - "25": { - "name": "isFoldableAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 865, - 25 - ], - [ - 870, - 1 - ] - ], - "doc": "~Private~" - } - }, - "870": { - "14": { - "name": "createFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 870, - 14 - ], - [ - 874, - 1 - ] - ], - "doc": "TODO: Rename to foldRowRange? " - } - }, - "874": { - "21": { - "name": "destroyFoldWithId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 874, - 21 - ], - [ - 878, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.destroyFoldWithId} " - } - }, - "878": { - "39": { - "name": "destroyFoldsIntersectingBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 878, - 39 - ], - [ - 884, - 1 - ] - ], - "doc": "Private: Remove any {Fold}s found that intersect the given buffer row. " - } - }, - "884": { - "25": { - "name": "toggleFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 884, - 25 - ], - [ - 893, - 1 - ] - ], - "doc": " Public: Fold the given buffer row if it isn't currently folded, and unfold\nit otherwise. " - } - }, - "893": { - "23": { - "name": "isFoldedAtCursorRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 893, - 23 - ], - [ - 901, - 1 - ] - ], - "doc": " Public: Determine whether the most recently added cursor's row is folded.\n\nReturns a {Boolean}. " - } - }, - "901": { - "23": { - "name": "isFoldedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 901, - 23 - ], - [ - 909, - 1 - ] - ], - "doc": " Public: Determine whether the given row in buffer coordinates is folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "909": { - "23": { - "name": "isFoldedAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 909, - 23 - ], - [ - 913, - 1 - ] - ], - "doc": " Public: Determine whether the given row in screen coordinates is folded.\n\nscreenRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "913": { - "34": { - "name": "largestFoldContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 913, - 34 - ], - [ - 917, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.largestFoldContainingBufferRow} " - } - }, - "917": { - "34": { - "name": "largestFoldStartingAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 917, - 34 - ], - [ - 921, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.largestFoldStartingAtScreenRow} " - } - }, - "921": { - "34": { - "name": "outermostFoldsInBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 921, - 34 - ], - [ - 926, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.outermostFoldsForBufferRowRange} " - } - }, - "926": { - "14": { - "name": "moveLineUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 926, - 14 - ], - [ - 979, - 1 - ] - ], - "doc": " Private: Move lines intersection the most recent selection up by one row in screen\ncoordinates. " - } - }, - "979": { - "16": { - "name": "moveLineDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 979, - 16 - ], - [ - 1034, - 1 - ] - ], - "doc": " Private: Move lines intersecting the most recent selection down by one row in screen\ncoordinates. " - } - }, - "1034": { - "18": { - "name": "duplicateLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1034, - 18 - ], - [ - 1060, - 1 - ] - ], - "doc": "Private: Duplicate the most recent cursor's current line. " - } - }, - "1060": { - "17": { - "name": "duplicateLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1060, - 17 - ], - [ - 1072, - 1 - ] - ], - "doc": "Deprecated: Use {::duplicateLines} instead. " - } - }, - "1072": { - "22": { - "name": "mutateSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1072, - 22 - ], - [ - 1075, - 1 - ] - ], - "doc": " Public: Mutate the text of all the selections in a single transaction.\n\nAll the changes made inside the given {Function} can be reverted with a\nsingle call to {::undo}.\n\nfn - A {Function} that will be called once for each {Selection}. The first\n argument will be a {Selection} and the second argument will be the\n {Number} index of that selection. " - } - }, - "1075": { - "23": { - "name": "replaceSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options", - "fn" - ], - "range": [ - [ - 1075, - 23 - ], - [ - 1096, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1096": { - "32": { - "name": "decorationsForScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 1096, - 32 - ], - [ - 1137, - 1 - ] - ], - "doc": " Public: Get all the decorations within a screen row range.\n\nstartScreenRow - the {Number} beginning screen row\nendScreenRow - the {Number} end screen row (inclusive)\n\nReturns an {Object} of decorations in the form\n `{1: [{id: 10, type: 'gutter', class: 'someclass'}], 2: ...}`\n where the keys are {Marker} IDs, and the values are an array of decoration\n params objects attached to the marker.\nReturns an empty object when no decorations are found " - } - }, - "1137": { - "18": { - "name": "decorateMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "decorationParams" - ], - "range": [ - [ - 1137, - 18 - ], - [ - 1140, - 1 - ] - ], - "doc": " Public: Adds a decoration that tracks a {Marker}. When the marker moves,\nis invalidated, or is destroyed, the decoration will be updated to reflect\nthe marker's state.\n\nThere are three types of supported decorations:\n* `line`: Adds your CSS `class` to the line nodes within the range\n marked by the marker\n* `gutter`: Adds your CSS `class` to the line number nodes within the\n range marked by the marker\n* `highlight`: Adds a new highlight div to the editor surrounding the\n range marked by the marker. When the user selects text, the selection is\n visualized with a highlight decoration internally. The structure of this\n highlight will be:\n ```html\n
    \">\n \n
    \n
    \n ```\n\nmarker - A {Marker} you want this decoration to follow.\ndecorationParams - An {Object} representing the decoration eg. `{type: 'gutter', class: 'linter-error'}`\n :type - There are a few supported decoration types:\n * `gutter`: Applies the decoration to the line numbers spanned by the marker.\n * `line`: Applies the decoration to the lines spanned by the marker.\n * `highlight`: Applies the decoration to a \"highlight\" behind the marked range.\n :class - This CSS class will be applied to the decorated line number,\n line, or highlight.\n :onlyHead - If `true`, the decoration will only be applied to the head\n of the marker. Only applicable to the `line` and `gutter` types.\n :onlyEmpty - If `true`, the decoration will only be applied if the\n associated marker is empty. Only applicable to the `line` and\n `gutter` types.\n :onlyNonEmpty - If `true`, the decoration will only be applied if the\n associated marker is non-empty. Only applicable to the `line` and\n gutter types.\n\nReturns a {Decoration} object " - } - }, - "1140": { - "19": { - "name": "decorationForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 1140, - 19 - ], - [ - 1144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1144": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 1144, - 13 - ], - [ - 1148, - 1 - ] - ], - "doc": "Public: Get the {DisplayBufferMarker} for the given marker id. " - } - }, - "1148": { - "14": { - "name": "getMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1148, - 14 - ], - [ - 1170, - 1 - ] - ], - "doc": "Public: Get all {DisplayBufferMarker}s. " - } - }, - "1170": { - "15": { - "name": "findMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "properties" - ], - "range": [ - [ - 1170, - 15 - ], - [ - 1179, - 1 - ] - ], - "doc": " Public: Find all {DisplayBufferMarker}s that match the given properties.\n\nThis method finds markers based on the given properties. Markers can be\nassociated with custom properties that will be compared with basic equality.\nIn addition, there are several special properties that will be compared\nwith the range of the markers rather than their properties.\n\nproperties - An {Object} containing properties that each returned marker\n must satisfy. Markers can be associated with custom properties, which are\n compared with basic equality. In addition, several reserved properties\n can be used to filter markers based on their current range:\n :startBufferRow - Only include markers starting at this row in buffer\n coordinates.\n :endBufferRow - Only include markers ending at this row in buffer\n coordinates.\n :containsBufferRange - Only include markers containing this {Range} or\n in range-compatible {Array} in buffer coordinates.\n :containsBufferPosition - Only include markers containing this {Point}\n or {Array} of `[row, column]` in buffer coordinates. " - } - }, - "1179": { - "19": { - "name": "markScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1179, - 19 - ], - [ - 1188, - 1 - ] - ], - "doc": " Public: Mark the given range in screen coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1188": { - "19": { - "name": "markBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1188, - 19 - ], - [ - 1197, - 1 - ] - ], - "doc": " Public: Mark the given range in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1197": { - "22": { - "name": "markScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1197, - 22 - ], - [ - 1206, - 1 - ] - ], - "doc": " Public: Mark the given position in screen coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1206": { - "22": { - "name": "markBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1206, - 22 - ], - [ - 1210, - 1 - ] - ], - "doc": " Public: Mark the given position in buffer coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1210": { - "17": { - "name": "destroyMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1210, - 17 - ], - [ - 1216, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.destroyMarker} " - } - }, - "1216": { - "18": { - "name": "getMarkerCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1216, - 18 - ], - [ - 1220, - 1 - ] - ], - "doc": " Public: Get the number of markers in this editor's buffer.\n\nReturns a {Number}. " - } - }, - "1220": { - "22": { - "name": "hasMultipleCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1220, - 22 - ], - [ - 1224, - 1 - ] - ], - "doc": "Public: Determine if there are multiple cursors. " - } - }, - "1224": { - "14": { - "name": "getCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1224, - 14 - ], - [ - 1224, - 38 - ] - ], - "doc": "Public: Get an Array of all {Cursor}s. " - } - }, - "1227": { - "13": { - "name": "getCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1227, - 13 - ], - [ - 1233, - 1 - ] - ], - "doc": "Public: Get the most recently added {Cursor}. " - } - }, - "1233": { - "29": { - "name": "addCursorAtScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 1233, - 29 - ], - [ - 1240, - 1 - ] - ], - "doc": " Public: Add a cursor at the position in screen coordinates.\n\nReturns a {Cursor}. " - } - }, - "1240": { - "29": { - "name": "addCursorAtBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 1240, - 29 - ], - [ - 1245, - 1 - ] - ], - "doc": " Public: Add a cursor at the given position in buffer coordinates.\n\nReturns a {Cursor}. " - } - }, - "1245": { - "13": { - "name": "addCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1245, - 13 - ], - [ - 1255, - 1 - ] - ], - "doc": "Private: Add a cursor based on the given {DisplayBufferMarker}. " - } - }, - "1255": { - "16": { - "name": "removeCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursor" - ], - "range": [ - [ - 1255, - 16 - ], - [ - 1264, - 1 - ] - ], - "doc": "Private: Remove the given cursor from this editor. " - } - }, - "1264": { - "16": { - "name": "addSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "options" - ], - "range": [ - [ - 1264, - 16 - ], - [ - 1288, - 1 - ] - ], - "doc": " Private: Add a {Selection} based on the given {DisplayBufferMarker}.\n\nmarker - The {DisplayBufferMarker} to highlight\noptions - An {Object} that pertains to the {Selection} constructor.\n\nReturns the new {Selection}. " - } - }, - "1288": { - "30": { - "name": "addSelectionForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 1288, - 30 - ], - [ - 1301, - 1 - ] - ], - "doc": " Public: Add a selection for the given range in buffer coordinates.\n\nbufferRange - A {Range}\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation.\n\nReturns the added {Selection}. " - } - }, - "1301": { - "26": { - "name": "setSelectedBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 1301, - 26 - ], - [ - 1311, - 1 - ] - ], - "doc": " Public: Set the selected range in buffer coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nbufferRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1311": { - "26": { - "name": "setSelectedScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 1311, - 26 - ], - [ - 1321, - 1 - ] - ], - "doc": " Public: Set the selected range in screen coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nscreenRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1321": { - "27": { - "name": "setSelectedBufferRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRanges", - "options" - ], - "range": [ - [ - 1321, - 27 - ], - [ - 1336, - 1 - ] - ], - "doc": " Public: Set the selected ranges in buffer coordinates. If there are multiple\nselections, they are replaced by new selections with the given ranges.\n\nbufferRanges - An {Array} of {Range}s or range-compatible {Array}s.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1336": { - "19": { - "name": "removeSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 1336, - 19 - ], - [ - 1342, - 1 - ] - ], - "doc": "Private: Remove the given selection. " - } - }, - "1342": { - "19": { - "name": "clearSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1342, - 19 - ], - [ - 1347, - 1 - ] - ], - "doc": " Private: Reduce one or more selections to a single empty selection based on the most\nrecently added cursor. " - } - }, - "1347": { - "25": { - "name": "consolidateSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1347, - 25 - ], - [ - 1355, - 1 - ] - ], - "doc": "Private: Reduce multiple selections to the most recently added selection. " - } - }, - "1355": { - "31": { - "name": "selectionScreenRangeChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 1355, - 31 - ], - [ - 1361, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1361": { - "17": { - "name": "getSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1361, - 17 - ], - [ - 1361, - 44 - ] - ], - "doc": " Public: Get current {Selection}s.\n\nReturns: An {Array} of {Selection}s. " - } - }, - "1363": { - "27": { - "name": "selectionsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1363, - 27 - ], - [ - 1374, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1374": { - "16": { - "name": "getSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 1374, - 16 - ], - [ - 1381, - 1 - ] - ], - "doc": " Public: Get the most recent {Selection} or the selection at the given\nindex.\n\nindex - Optional. The index of the selection to return, based on the order\n in which the selections were added.\n\nReturns a {Selection}.\nor the at the specified index. " - } - }, - "1381": { - "20": { - "name": "getLastSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1381, - 20 - ], - [ - 1388, - 1 - ] - ], - "doc": " Public: Get the most recently added {Selection}.\n\nReturns a {Selection}. " - } - }, - "1388": { - "40": { - "name": "getSelectionsOrderedByBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1388, - 40 - ], - [ - 1394, - 1 - ] - ], - "doc": " Public: Get all {Selection}s, ordered by their position in the buffer\ninstead of the order in which they were added.\n\nReturns an {Array} of {Selection}s. " - } - }, - "1394": { - "28": { - "name": "getLastSelectionInBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1394, - 28 - ], - [ - 1403, - 1 - ] - ], - "doc": " Public: Get the last {Selection} based on its position in the buffer.\n\nReturns a {Selection}. " - } - }, - "1403": { - "34": { - "name": "selectionIntersectsBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 1403, - 34 - ], - [ - 1415, - 1 - ] - ], - "doc": " Public: Determine if a given range in buffer coordinates intersects a\nselection.\n\nbufferRange - A {Range} or range-compatible {Array}.\n\nReturns a {Boolean}. " - } - }, - "1415": { - "27": { - "name": "setCursorScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "options" - ], - "range": [ - [ - 1415, - 27 - ], - [ - 1422, - 1 - ] - ], - "doc": " Public: Move the cursor to the given position in screen coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " - } - }, - "1422": { - "27": { - "name": "getCursorScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1422, - 27 - ], - [ - 1428, - 1 - ] - ], - "doc": " Public: Get the position of the most recently added cursor in screen\ncoordinates.\n\nReturns a {Point}. " - } - }, - "1428": { - "22": { - "name": "getCursorScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1428, - 22 - ], - [ - 1439, - 1 - ] - ], - "doc": " Public: Get the row of the most recently added cursor in screen coordinates.\n\nReturns the screen row {Number}. " - } - }, - "1439": { - "27": { - "name": "setCursorBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "options" - ], - "range": [ - [ - 1439, - 27 - ], - [ - 1446, - 1 - ] - ], - "doc": " Public: Move the cursor to the given position in buffer coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " - } - }, - "1446": { - "27": { - "name": "getCursorBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1446, - 27 - ], - [ - 1453, - 1 - ] - ], - "doc": " Public: Get the position of the most recently added cursor in buffer\ncoordinates.\n\nReturns a {Point}. " - } - }, - "1453": { - "26": { - "name": "getSelectedScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1453, - 26 - ], - [ - 1460, - 1 - ] - ], - "doc": " Public: Get the {Range} of the most recently added selection in screen\ncoordinates.\n\nReturns a {Range}. " - } - }, - "1460": { - "26": { - "name": "getSelectedBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1460, - 26 - ], - [ - 1468, - 1 - ] - ], - "doc": " Public: Get the {Range} of the most recently added selection in buffer\ncoordinates.\n\nReturns a {Range}. " - } - }, - "1468": { - "27": { - "name": "getSelectedBufferRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1468, - 27 - ], - [ - 1476, - 1 - ] - ], - "doc": " Public: Get the {Range}s of all selections in buffer coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " - } - }, - "1476": { - "27": { - "name": "getSelectedScreenRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1476, - 27 - ], - [ - 1482, - 1 - ] - ], - "doc": " Public: Get the {Range}s of all selections in screen coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " - } - }, - "1482": { - "19": { - "name": "getSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1482, - 19 - ], - [ - 1490, - 1 - ] - ], - "doc": " Public: Get the selected text of the most recently added selection.\n\nReturns a {String}. " - } - }, - "1490": { - "24": { - "name": "getTextInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 1490, - 24 - ], - [ - 1499, - 1 - ] - ], - "doc": " Public: Get the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\n\nReturns a {String}. " - } - }, - "1499": { - "24": { - "name": "setTextInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range", - "text", - "normalizeLineEndings" - ], - "range": [ - [ - 1499, - 24 - ], - [ - 1499, - 124 - ] - ], - "doc": " Public: Set the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\ntext - A {String}\n\nReturns the {Range} of the newly-inserted text. " - } - }, - "1505": { - "34": { - "name": "getCurrentParagraphBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1505, - 34 - ], - [ - 1511, - 1 - ] - ], - "doc": " Public: Get the {Range} of the paragraph surrounding the most recently added\ncursor.\n\nReturns a {Range}. " - } - }, - "1511": { - "22": { - "name": "getWordUnderCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 1511, - 22 - ], - [ - 1515, - 1 - ] - ], - "doc": " Public: Returns the word surrounding the most recently added cursor.\n\noptions - See {Cursor::getBeginningOfCurrentWordBufferPosition}. " - } - }, - "1515": { - "16": { - "name": "moveCursorUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineCount" - ], - "range": [ - [ - 1515, - 16 - ], - [ - 1519, - 1 - ] - ], - "doc": "Public: Move every cursor up one row in screen coordinates. " - } - }, - "1519": { - "18": { - "name": "moveCursorDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineCount" - ], - "range": [ - [ - 1519, - 18 - ], - [ - 1523, - 1 - ] - ], - "doc": "Public: Move every cursor down one row in screen coordinates. " - } - }, - "1523": { - "18": { - "name": "moveCursorLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1523, - 18 - ], - [ - 1527, - 1 - ] - ], - "doc": "Public: Move every cursor left one column. " - } - }, - "1527": { - "19": { - "name": "moveCursorRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1527, - 19 - ], - [ - 1533, - 1 - ] - ], - "doc": "Public: Move every cursor right one column. " - } - }, - "1533": { - "19": { - "name": "moveCursorToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1533, - 19 - ], - [ - 1539, - 1 - ] - ], - "doc": " Public: Move every cursor to the top of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " - } - }, - "1539": { - "22": { - "name": "moveCursorToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1539, - 22 - ], - [ - 1543, - 1 - ] - ], - "doc": " Public: Move every cursor to the bottom of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " - } - }, - "1543": { - "37": { - "name": "moveCursorToBeginningOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1543, - 37 - ], - [ - 1547, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its line in screen coordinates. " - } - }, - "1547": { - "31": { - "name": "moveCursorToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1547, - 31 - ], - [ - 1551, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its line in buffer coordinates. " - } - }, - "1551": { - "36": { - "name": "moveCursorToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1551, - 36 - ], - [ - 1555, - 1 - ] - ], - "doc": "Public: Move every cursor to the first non-whitespace character of its line. " - } - }, - "1555": { - "31": { - "name": "moveCursorToEndOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1555, - 31 - ], - [ - 1559, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its line in screen coordinates. " - } - }, - "1559": { - "25": { - "name": "moveCursorToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1559, - 25 - ], - [ - 1563, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its line in buffer coordinates. " - } - }, - "1563": { - "31": { - "name": "moveCursorToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1563, - 31 - ], - [ - 1567, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its surrounding word. " - } - }, - "1567": { - "25": { - "name": "moveCursorToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1567, - 25 - ], - [ - 1571, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its surrounding word. " - } - }, - "1571": { - "35": { - "name": "moveCursorToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1571, - 35 - ], - [ - 1575, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the next word. " - } - }, - "1575": { - "36": { - "name": "moveCursorToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1575, - 36 - ], - [ - 1579, - 1 - ] - ], - "doc": "Public: Move every cursor to the previous word boundary. " - } - }, - "1579": { - "32": { - "name": "moveCursorToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1579, - 32 - ], - [ - 1583, - 1 - ] - ], - "doc": "Public: Move every cursor to the next word boundary. " - } - }, - "1583": { - "40": { - "name": "moveCursorToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1583, - 40 - ], - [ - 1587, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the next paragraph. " - } - }, - "1587": { - "44": { - "name": "moveCursorToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1587, - 44 - ], - [ - 1596, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the previous paragraph. " - } - }, - "1596": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 1596, - 26 - ], - [ - 1599, - 1 - ] - ], - "doc": " Public: Scroll the editor to reveal the most recently added cursor if it is\noff-screen.\n\noptions - An optional hash of options.\n :center - Center the editor around the cursor if possible. Defauls to\n true. " - } - }, - "1599": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1599, - 10 - ], - [ - 1604, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1604": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1604, - 12 - ], - [ - 1609, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1609": { - "16": { - "name": "selectPageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1609, - 16 - ], - [ - 1612, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1612": { - "18": { - "name": "selectPageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1612, - 18 - ], - [ - 1616, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1616": { - "18": { - "name": "getRowsPerPage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1616, - 18 - ], - [ - 1619, - 1 - ] - ], - "doc": "Private: Returns the number of rows per page " - } - }, - "1619": { - "15": { - "name": "moveCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1619, - 15 - ], - [ - 1626, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1626": { - "15": { - "name": "cursorMoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 1626, - 15 - ], - [ - 1636, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1636": { - "26": { - "name": "selectToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1636, - 26 - ], - [ - 1645, - 1 - ] - ], - "doc": " Public: Select from the current cursor position to the given position in\nscreen coordinates.\n\nThis method may merge selections that end up intesecting.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "1645": { - "15": { - "name": "selectRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1645, - 15 - ], - [ - 1652, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character rightward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1652": { - "14": { - "name": "selectLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1652, - 14 - ], - [ - 1659, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character leftward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1659": { - "12": { - "name": "selectUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 1659, - 12 - ], - [ - 1666, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character upward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1666": { - "14": { - "name": "selectDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 1666, - 14 - ], - [ - 1673, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character downward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1673": { - "15": { - "name": "selectToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1673, - 15 - ], - [ - 1679, - 1 - ] - ], - "doc": " Public: Select from the top of the buffer to the end of the last selection\nin the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1679": { - "13": { - "name": "selectAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1679, - 13 - ], - [ - 1686, - 1 - ] - ], - "doc": " Public: Select all text in the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1686": { - "18": { - "name": "selectToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1686, - 18 - ], - [ - 1693, - 1 - ] - ], - "doc": " Public: Selects from the top of the first selection in the buffer to the end\nof the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1693": { - "27": { - "name": "selectToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1693, - 27 - ], - [ - 1702, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the beginning of its line\nwhile preserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1702": { - "32": { - "name": "selectToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1702, - 32 - ], - [ - 1709, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the first non-whitespace\ncharacter of its line while preserving the selection's tail position. If the\ncursor is already on the first character of the line, move it to the\nbeginning of the line.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1709": { - "21": { - "name": "selectToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1709, - 21 - ], - [ - 1716, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the end of its line while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1716": { - "32": { - "name": "selectToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1716, - 32 - ], - [ - 1723, - 1 - ] - ], - "doc": " Public: For each selection, move its cursor to the preceding word boundary\nwhile maintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1723": { - "28": { - "name": "selectToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1723, - 28 - ], - [ - 1729, - 1 - ] - ], - "doc": " Public: For each selection, move its cursor to the next word boundary while\nmaintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1729": { - "14": { - "name": "selectLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1729, - 14 - ], - [ - 1740, - 1 - ] - ], - "doc": " Public: For each cursor, select the containing line.\n\nThis method merges selections on successive lines. " - } - }, - "1740": { - "21": { - "name": "addSelectionBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1740, - 21 - ], - [ - 1751, - 1 - ] - ], - "doc": " Public: Add a similarly-shaped selection to the next eligible line below\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next following non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " - } - }, - "1751": { - "21": { - "name": "addSelectionAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1751, - 21 - ], - [ - 1759, - 1 - ] - ], - "doc": " Public: Add a similarly-shaped selection to the next eligible line above\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next preceding non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " - } - }, - "1759": { - "28": { - "name": "splitSelectionsIntoLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1759, - 28 - ], - [ - 1776, - 1 - ] - ], - "doc": " Public: Split multi-line selections into one selection per line.\n\nOperates on all selections. This method breaks apart all multi-line\nselections to create multiple single-line selections that cumulatively cover\nthe same original area. " - } - }, - "1776": { - "13": { - "name": "transpose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1776, - 13 - ], - [ - 1791, - 1 - ] - ], - "doc": " Public: For each selection, transpose the selected text.\n\nIf the selection is empty, the characters preceding and following the cursor\nare swapped. Otherwise, the selected characters are reversed. " - } - }, - "1791": { - "13": { - "name": "upperCase", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1791, - 13 - ], - [ - 1798, - 1 - ] - ], - "doc": " Public: Convert the selected text to upper case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " - } - }, - "1798": { - "13": { - "name": "lowerCase", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1798, - 13 - ], - [ - 1809, - 1 - ] - ], - "doc": " Public: Convert the selected text to lower case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " - } - }, - "1809": { - "13": { - "name": "joinLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1809, - 13 - ], - [ - 1816, - 1 - ] - ], - "doc": " Private: Convert multiple lines to a single line.\n\nOperates on all selections. If the selection is empty, joins the current\nline with the next line. Otherwise it joins all lines that intersect the\nselection.\n\nJoining a line means that multiple lines are converted to a single line with\nthe contents of each of the original non-empty lines separated by a space. " - } - }, - "1816": { - "27": { - "name": "selectToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1816, - 27 - ], - [ - 1823, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of their containing word.\n\nOperates on all selections. Moves the cursor to the beginning of the\ncontaining word while preserving the selection's tail position. " - } - }, - "1823": { - "21": { - "name": "selectToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1823, - 21 - ], - [ - 1830, - 1 - ] - ], - "doc": " Public: Expand selections to the end of their containing word.\n\nOperates on all selections. Moves the cursor to the end of the containing\nword while preserving the selection's tail position. " - } - }, - "1830": { - "31": { - "name": "selectToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1830, - 31 - ], - [ - 1834, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next word.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nword while preserving the selection's tail position. " - } - }, - "1834": { - "14": { - "name": "selectWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1834, - 14 - ], - [ - 1841, - 1 - ] - ], - "doc": "Public: Select the word containing each cursor. " - } - }, - "1841": { - "36": { - "name": "selectToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1841, - 36 - ], - [ - 1848, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " - } - }, - "1848": { - "40": { - "name": "selectToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1848, - 40 - ], - [ - 1856, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " - } - }, - "1856": { - "16": { - "name": "selectMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1856, - 16 - ], - [ - 1863, - 1 - ] - ], - "doc": " Public: Select the range of the given marker if it is valid.\n\nmarker - A {DisplayBufferMarker}\n\nReturns the selected {Range} or `undefined` if the marker is invalid. " - } - }, - "1863": { - "16": { - "name": "mergeCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1863, - 16 - ], - [ - 1873, - 1 - ] - ], - "doc": "Private: Merge cursors that have the same screen position " - } - }, - "1873": { - "27": { - "name": "expandSelectionsForward", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1873, - 27 - ], - [ - 1879, - 1 - ] - ], - "doc": "Private: Calls the given function with each selection, then merges selections " - } - }, - "1879": { - "28": { - "name": "expandSelectionsBackward", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1879, - 28 - ], - [ - 1883, - 1 - ] - ], - "doc": " Private: Calls the given function with each selection, then merges selections in the\nreversed orientation " - } - }, - "1883": { - "22": { - "name": "finalizeSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1883, - 22 - ], - [ - 1889, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1889": { - "31": { - "name": "mergeIntersectingSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1889, - 31 - ], - [ - 1910, - 1 - ] - ], - "doc": " Private: Merges intersecting selections. If passed a function, it executes\nthe function with merging suppressed, then merges intersecting selections\nafterward. " - } - }, - "1910": { - "40": { - "name": "preserveCursorPositionOnBufferReload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1910, - 40 - ], - [ - 1919, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1919": { - "14": { - "name": "getGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1919, - 14 - ], - [ - 1926, - 1 - ] - ], - "doc": "Public: Get the current {Grammar} of this editor. " - } - }, - "1926": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 1926, - 14 - ], - [ - 1930, - 1 - ] - ], - "doc": " Public: Set the current {Grammar} of this editor.\n\nAssigning a grammar will cause the editor to re-tokenize based on the new\ngrammar. " - } - }, - "1930": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1930, - 17 - ], - [ - 1933, - 1 - ] - ], - "doc": "Private: Reload the grammar based on the file name. " - } - }, - "1933": { - "20": { - "name": "shouldAutoIndent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1933, - 20 - ], - [ - 1944, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1944": { - "12": { - "name": "transact", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1944, - 12 - ], - [ - 1944, - 39 - ] - ], - "doc": " Public: Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " - } - }, - "1952": { - "20": { - "name": "beginTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1952, - 20 - ], - [ - 1952, - 48 - ] - ], - "doc": " Public: Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " - } - }, - "1958": { - "21": { - "name": "commitTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1958, - 21 - ], - [ - 1958, - 50 - ] - ], - "doc": " Public: Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " - } - }, - "1962": { - "20": { - "name": "abortTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1962, - 20 - ], - [ - 1962, - 48 - ] - ], - "doc": " Public: Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " - } - }, - "1964": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1964, - 11 - ], - [ - 1967, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1967": { - "18": { - "name": "logScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 1967, - 18 - ], - [ - 1967, - 68 - ] - ], - "doc": "~Private~" - } - }, - "1969": { - "22": { - "name": "handleTokenization", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1969, - 22 - ], - [ - 1972, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1972": { - "23": { - "name": "handleGrammarChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1972, - 23 - ], - [ - 1976, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1976": { - "23": { - "name": "handleMarkerCreated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1976, - 23 - ], - [ - 1980, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1980": { - "32": { - "name": "getSelectionMarkerAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1980, - 32 - ], - [ - 1983, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1983": { - "27": { - "name": "getVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1983, - 27 - ], - [ - 1983, - 69 - ] - ], - "doc": "~Private~" - } - }, - "1984": { - "27": { - "name": "setVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "verticalScrollMargin" - ], - "range": [ - [ - 1984, - 27 - ], - [ - 1984, - 112 - ] - ] - } - }, - "1986": { - "29": { - "name": "getHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1986, - 29 - ], - [ - 1986, - 73 - ] - ], - "doc": "~Private~" - } - }, - "1987": { - "29": { - "name": "setHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "horizontalScrollMargin" - ], - "range": [ - [ - 1987, - 29 - ], - [ - 1987, - 120 - ] - ] - } - }, - "1989": { - "25": { - "name": "getLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1989, - 25 - ], - [ - 1989, - 65 - ] - ], - "doc": "~Private~" - } - }, - "1990": { - "25": { - "name": "setLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeightInPixels" - ], - "range": [ - [ - 1990, - 25 - ], - [ - 1990, - 104 - ] - ] - } - }, - "1992": { - "29": { - "name": "batchCharacterMeasurement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1992, - 29 - ], - [ - 1992, - 80 - ] - ], - "doc": "~Private~" - } - }, - "1994": { - "22": { - "name": "getScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char" - ], - "range": [ - [ - 1994, - 22 - ], - [ - 1994, - 94 - ] - ], - "doc": "~Private~" - } - }, - "1995": { - "22": { - "name": "setScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char", - "width" - ], - "range": [ - [ - 1995, - 22 - ], - [ - 1995, - 108 - ] - ] - } - }, - "1997": { - "23": { - "name": "getScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames" - ], - "range": [ - [ - 1997, - 23 - ], - [ - 1997, - 84 - ] - ], - "doc": "~Private~" - } - }, - "1999": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1999, - 25 - ], - [ - 1999, - 65 - ] - ], - "doc": "~Private~" - } - }, - "2001": { - "23": { - "name": "getDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2001, - 23 - ], - [ - 2001, - 61 - ] - ], - "doc": "~Private~" - } - }, - "2002": { - "23": { - "name": "setDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultCharWidth" - ], - "range": [ - [ - 2002, - 23 - ], - [ - 2002, - 96 - ] - ] - } - }, - "2004": { - "13": { - "name": "setHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "height" - ], - "range": [ - [ - 2004, - 13 - ], - [ - 2004, - 56 - ] - ], - "doc": "~Private~" - } - }, - "2005": { - "13": { - "name": "getHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2005, - 13 - ], - [ - 2005, - 41 - ] - ] - } - }, - "2007": { - "19": { - "name": "getClientHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2007, - 19 - ], - [ - 2007, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2009": { - "12": { - "name": "setWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width" - ], - "range": [ - [ - 2009, - 12 - ], - [ - 2009, - 52 - ] - ], - "doc": "~Private~" - } - }, - "2010": { - "12": { - "name": "getWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2010, - 12 - ], - [ - 2010, - 39 - ] - ] - } - }, - "2012": { - "16": { - "name": "getScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2012, - 16 - ], - [ - 2012, - 47 - ] - ], - "doc": "~Private~" - } - }, - "2013": { - "16": { - "name": "setScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 2013, - 16 - ], - [ - 2013, - 68 - ] - ] - } - }, - "2015": { - "19": { - "name": "getScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2015, - 19 - ], - [ - 2015, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2016": { - "19": { - "name": "setScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 2016, - 19 - ], - [ - 2016, - 80 - ] - ] - } - }, - "2018": { - "17": { - "name": "getScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2018, - 17 - ], - [ - 2018, - 49 - ] - ], - "doc": "~Private~" - } - }, - "2019": { - "17": { - "name": "setScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 2019, - 17 - ], - [ - 2019, - 72 - ] - ] - } - }, - "2021": { - "18": { - "name": "getScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2021, - 18 - ], - [ - 2021, - 51 - ] - ], - "doc": "~Private~" - } - }, - "2022": { - "18": { - "name": "setScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 2022, - 18 - ], - [ - 2022, - 76 - ] - ] - } - }, - "2024": { - "19": { - "name": "getScrollHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2024, - 19 - ], - [ - 2024, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2025": { - "18": { - "name": "getScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollWidth" - ], - "range": [ - [ - 2025, - 18 - ], - [ - 2025, - 76 - ] - ] - } - }, - "2027": { - "22": { - "name": "getVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2027, - 22 - ], - [ - 2027, - 59 - ] - ], - "doc": "~Private~" - } - }, - "2029": { - "29": { - "name": "intersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 2029, - 29 - ], - [ - 2029, - 108 - ] - ], - "doc": "~Private~" - } - }, - "2031": { - "38": { - "name": "selectionIntersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 2031, - 38 - ], - [ - 2031, - 112 - ] - ], - "doc": "~Private~" - } - }, - "2033": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 2033, - 34 - ], - [ - 2033, - 114 - ] - ], - "doc": "~Private~" - } - }, - "2035": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 2035, - 34 - ], - [ - 2035, - 114 - ] - ], - "doc": "~Private~" - } - }, - "2037": { - "34": { - "name": "screenPositionForPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 2037, - 34 - ], - [ - 2037, - 112 - ] - ], - "doc": "~Private~" - } - }, - "2039": { - "27": { - "name": "pixelRectForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 2039, - 27 - ], - [ - 2039, - 94 - ] - ], - "doc": "~Private~" - } - }, - "2041": { - "23": { - "name": "scrollToScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 2041, - 23 - ], - [ - 2041, - 104 - ] - ], - "doc": "~Private~" - } - }, - "2043": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 2043, - 26 - ], - [ - 2043, - 116 - ] - ], - "doc": "~Private~" - } - }, - "2045": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 2045, - 26 - ], - [ - 2045, - 116 - ] - ], - "doc": "~Private~" - } - }, - "2047": { - "26": { - "name": "horizontallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2047, - 26 - ], - [ - 2047, - 67 - ] - ], - "doc": "~Private~" - } - }, - "2049": { - "24": { - "name": "verticallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2049, - 24 - ], - [ - 2049, - 63 - ] - ], - "doc": "~Private~" - } - }, - "2051": { - "32": { - "name": "getHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2051, - 32 - ], - [ - 2051, - 79 - ] - ], - "doc": "~Private~" - } - }, - "2052": { - "32": { - "name": "setHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "height" - ], - "range": [ - [ - 2052, - 32 - ], - [ - 2052, - 94 - ] - ] - } - }, - "2054": { - "29": { - "name": "getVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2054, - 29 - ], - [ - 2054, - 73 - ] - ], - "doc": "~Private~" - } - }, - "2055": { - "29": { - "name": "setVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width" - ], - "range": [ - [ - 2055, - 29 - ], - [ - 2055, - 86 - ] - ] - } - }, - "2058": { - "12": { - "name": "joinLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2058, - 12 - ], - [ - 2060, - 16 - ] - ], - "doc": "Deprecated: Call {::joinLines} instead. " - } - } - }, - "exports": 138 - }, - "src/fold.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "7": { - "0": { - "type": "class", - "name": "Fold", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 8, - 6 - ], - [ - 9, - 17 - ], - [ - 10, - 10 - ], - [ - 12, - 15 - ], - [ - 20, - 22 - ], - [ - 27, - 11 - ], - [ - 35, - 18 - ], - [ - 48, - 21 - ], - [ - 53, - 15 - ], - [ - 57, - 13 - ], - [ - 61, - 11 - ], - [ - 67, - 21 - ], - [ - 75, - 21 - ], - [ - 78, - 23 - ], - [ - 82, - 13 - ] - ], - "doc": " Private: Represents a fold that collapses multiple buffer lines into a single\nline on the screen.\n\nTheir creation is managed by the {DisplayBuffer}. ", - "range": [ - [ - 7, - 0 - ], - [ - 84, - 26 - ] - ] - } - }, - "8": { - "6": { - "name": "id", - "type": "primitive", - "range": [ - [ - 8, - 6 - ], - [ - 8, - 9 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "17": { - "name": "displayBuffer", - "type": "primitive", - "range": [ - [ - 9, - 17 - ], - [ - 9, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "10": { - "name": "marker", - "type": "primitive", - "range": [ - [ - 10, - 10 - ], - [ - 10, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 20, - 1 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "22": { - "name": "isInsideLargerFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 22 - ], - [ - 27, - 1 - ] - ], - "doc": "Private: Returns whether this fold is contained within another fold " - } - }, - "27": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 11 - ], - [ - 35, - 1 - ] - ], - "doc": "Private: Destroys this fold " - } - }, - "35": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 35, - 18 - ], - [ - 48, - 1 - ] - ], - "doc": " Private: Returns the fold's {Range} in buffer coordinates\n\nincludeNewline - A {Boolean} which, if `true`, includes the trailing newline\n\nReturns a {Range}. " - } - }, - "48": { - "21": { - "name": "getBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 21 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "15": { - "name": "getStartRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 15 - ], - [ - 57, - 1 - ] - ], - "doc": "Private: Returns the fold's start row as a {Number}. " - } - }, - "57": { - "13": { - "name": "getEndRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 13 - ], - [ - 61, - 1 - ] - ], - "doc": "Private: Returns the fold's end row as a {Number}. " - } - }, - "61": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 11 - ], - [ - 67, - 1 - ] - ], - "doc": "Private: Returns a {String} representation of the fold. " - } - }, - "67": { - "21": { - "name": "getBufferRowCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 21 - ], - [ - 75, - 1 - ] - ], - "doc": " Private: Retrieves the number of buffer rows spanned by the fold.\n\nReturns a {Number}. " - } - }, - "75": { - "21": { - "name": "isContainedByFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fold" - ], - "range": [ - [ - 75, - 21 - ], - [ - 78, - 1 - ] - ], - "doc": " Private: Identifies if a fold is nested within a fold.\n\nfold - A {Fold} to check\n\nReturns a {Boolean}. " - } - }, - "78": { - "23": { - "name": "updateDisplayBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 78, - 23 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 13 - ], - [ - 84, - 26 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 7 - }, - "src/git.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true, - "name": "join", - "exportsProperty": "join" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "5": { - "11": { - "name": "GitUtils", - "type": "import", - "range": [ - [ - 5, - 11 - ], - [ - 5, - 29 - ] - ], - "bindingType": "variable", - "module": "git-utils" - } - }, - "7": { - "7": { - "name": "Task", - "type": "import", - "range": [ - [ - 7, - 7 - ], - [ - 7, - 22 - ] - ], - "bindingType": "variable", - "path": "./task" - } - }, - "40": { - "0": { - "type": "class", - "name": "Git", - "bindingType": "exports", - "classProperties": [ - [ - 52, - 9 - ], - [ - 59, - 11 - ] - ], - "prototypeProperties": [ - [ - 66, - 15 - ], - [ - 89, - 21 - ], - [ - 97, - 11 - ], - [ - 109, - 11 - ], - [ - 117, - 16 - ], - [ - 120, - 11 - ], - [ - 124, - 23 - ], - [ - 132, - 17 - ], - [ - 149, - 17 - ], - [ - 152, - 20 - ], - [ - 155, - 18 - ], - [ - 158, - 15 - ], - [ - 161, - 13 - ], - [ - 165, - 19 - ], - [ - 169, - 14 - ], - [ - 181, - 16 - ], - [ - 196, - 16 - ], - [ - 209, - 21 - ], - [ - 222, - 16 - ], - [ - 231, - 15 - ], - [ - 247, - 22 - ], - [ - 265, - 16 - ], - [ - 276, - 18 - ], - [ - 282, - 16 - ], - [ - 291, - 21 - ], - [ - 298, - 22 - ], - [ - 310, - 17 - ], - [ - 318, - 23 - ], - [ - 330, - 37 - ], - [ - 338, - 23 - ], - [ - 342, - 13 - ], - [ - 346, - 17 - ] - ], - "doc": " Public: Represents the underlying git operations performed by Atom.\n\nThis class shouldn't be instantiated directly but instead by accessing the\n`atom.project` global and calling `getRepo()`. Note that this will only be\navailable when the project is backed by a Git repository.\n\nThis class handles submodules automatically by taking a `path` argument to many\nof the methods. This `path` argument will determine which underlying\nrepository is used.\n\nFor a repository with submodules this would have the following outcome:\n\n```coffee\nrepo = atom.project.getRepo()\nrepo.getShortHead() # 'master'\nrepo.getShortHead('vendor/path/to/a/submodule') # 'dead1234'\n```\n\n## Example\n\n```coffeescript\ngit = atom.project.getRepo()\nconsole.log git.getOriginUrl()\n```\n\n## Requiring in packages\n\n```coffee\n {Git} = require 'atom'\n``` ", - "range": [ - [ - 40, - 0 - ], - [ - 364, - 55 - ] - ] - } - }, - "52": { - "9": { - "name": "open", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "path", - "options" - ], - "range": [ - [ - 52, - 9 - ], - [ - 59, - 1 - ] - ], - "doc": " Public: Creates a new Git instance.\n\npath - The path to the Git repository to open.\noptions - An object with the following keys (default: {}):\n :refreshOnWindowFocus - `true` to refresh the index and statuses when the\n window is focused.\n\nReturns a Git instance or null if the repository could not be opened. " - } - }, - "59": { - "11": { - "name": "exists", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 59, - 11 - ], - [ - 66, - 1 - ] - ], - "doc": "~Private~" - } - }, - "66": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "options" - ], - "range": [ - [ - 66, - 15 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "subscribeToBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer" - ], - "range": [ - [ - 89, - 21 - ], - [ - 97, - 1 - ] - ], - "doc": "Private: Subscribes to buffer events. " - } - }, - "97": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 97, - 11 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Destroy this `Git` object. This destroys any tasks and subscriptions\nand releases the underlying libgit2 repository handle. " - } - }, - "109": { - "11": { - "name": "getRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 109, - 11 - ], - [ - 117, - 1 - ] - ], - "doc": "Private: Returns the corresponding {Repository} " - } - }, - "117": { - "16": { - "name": "refreshIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 16 - ], - [ - 117, - 43 - ] - ], - "doc": " Private: Reread the index to update any values that have changed since the\nlast time the index was read. " - } - }, - "120": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 120, - 11 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Returns the {String} path of the repository. " - } - }, - "124": { - "23": { - "name": "getWorkingDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 23 - ], - [ - 124, - 57 - ] - ], - "doc": "Public: Returns the {String} working directory path of the repository. " - } - }, - "132": { - "17": { - "name": "getPathStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 132, - 17 - ], - [ - 149, - 1 - ] - ], - "doc": " Public: Get the status of a single path in the repository.\n\npath - A {String} repository-relative path.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " - } - }, - "149": { - "17": { - "name": "isPathIgnored", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 149, - 17 - ], - [ - 149, - 65 - ] - ], - "doc": " Public: Is the given path ignored?\n\nReturns a {Boolean}. " - } - }, - "152": { - "20": { - "name": "isStatusModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 152, - 20 - ], - [ - 152, - 66 - ] - ], - "doc": "Public: Returns true if the given status indicates modification. " - } - }, - "155": { - "18": { - "name": "isPathModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 155, - 18 - ], - [ - 155, - 66 - ] - ], - "doc": "Public: Returns true if the given path is modified. " - } - }, - "158": { - "15": { - "name": "isStatusNew", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 158, - 15 - ], - [ - 158, - 56 - ] - ], - "doc": "Public: Returns true if the given status indicates a new path. " - } - }, - "161": { - "13": { - "name": "isPathNew", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 161, - 13 - ], - [ - 161, - 56 - ] - ], - "doc": "Public: Returns true if the given path is new. " - } - }, - "165": { - "19": { - "name": "isProjectAtRoot", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 19 - ], - [ - 169, - 1 - ] - ], - "doc": " Public: Returns true if at the root, false if in a subfolder of the\nrepository. " - } - }, - "169": { - "14": { - "name": "relativize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 169, - 14 - ], - [ - 169, - 50 - ] - ], - "doc": "Public: Makes a path relative to the repository's working directory. " - } - }, - "181": { - "16": { - "name": "getShortHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 181, - 16 - ], - [ - 181, - 54 - ] - ], - "doc": " Public: Retrieves a shortened version of the HEAD reference value.\n\nThis removes the leading segments of `refs/heads`, `refs/tags`, or\n`refs/remotes`. It also shortens the SHA-1 of a detached `HEAD` to 7\ncharacters.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository contains submodules.\n\nReturns a {String}. " - } - }, - "196": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 196, - 16 - ], - [ - 209, - 1 - ] - ], - "doc": " Public: Restore the contents of a path in the working directory and index\nto the version at `HEAD`.\n\nThis is essentially the same as running:\n\n```\ngit reset HEAD -- \ngit checkout HEAD -- \n```\n\npath - The {String} path to checkout.\n\nReturns a {Boolean} that's true if the method was successful. " - } - }, - "209": { - "21": { - "name": "checkoutReference", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "create" - ], - "range": [ - [ - 209, - 21 - ], - [ - 222, - 1 - ] - ], - "doc": " Public: Checks out a branch in your repository.\n\nreference - The String reference to checkout\ncreate - A Boolean value which, if true creates the new reference if it\n doesn't exist.\n\nReturns a Boolean that's true if the method was successful. " - } - }, - "222": { - "16": { - "name": "getDiffStats", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 222, - 16 - ], - [ - 231, - 1 - ] - ], - "doc": " Public: Retrieves the number of lines added and removed to a path.\n\nThis compares the working directory contents of the path to the `HEAD`\nversion.\n\npath - The {String} path to check.\n\nReturns an {Object} with the following keys:\n :added - The {Number} of added lines.\n :deleted - The {Number} of deleted lines. " - } - }, - "231": { - "15": { - "name": "isSubmodule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 231, - 15 - ], - [ - 247, - 1 - ] - ], - "doc": " Public: Is the given path a submodule in the repository?\n\npath - The {String} path to check.\n\nReturns a {Boolean}. " - } - }, - "247": { - "22": { - "name": "getDirectoryStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "directoryPath" - ], - "range": [ - [ - 247, - 22 - ], - [ - 265, - 1 - ] - ], - "doc": " Public: Get the status of a directory in the repository's working directory.\n\npath - The {String} path to check.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " - } - }, - "265": { - "16": { - "name": "getLineDiffs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "text" - ], - "range": [ - [ - 265, - 16 - ], - [ - 276, - 1 - ] - ], - "doc": " Public: Retrieves the line diffs comparing the `HEAD` version of the given\npath and the given text.\n\npath - The {String} path relative to the repository.\ntext - The {String} to compare against the `HEAD` contents\n\nReturns an {Array} of hunk {Object}s with the following keys:\n :oldStart - The line {Number} of the old hunk.\n :newStart - The line {Number} of the new hunk.\n :oldLines - The {Number} of lines in the old hunk.\n :newLines - The {Number} of lines in the new hunk " - } - }, - "276": { - "18": { - "name": "getConfigValue", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "key", - "path" - ], - "range": [ - [ - 276, - 18 - ], - [ - 276, - 66 - ] - ], - "doc": " Public: Returns the git configuration value specified by the key.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " - } - }, - "282": { - "16": { - "name": "getOriginUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 282, - 16 - ], - [ - 282, - 67 - ] - ], - "doc": " Public: Returns the origin url of the repository.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " - } - }, - "291": { - "21": { - "name": "getUpstreamBranch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 291, - 21 - ], - [ - 291, - 64 - ] - ], - "doc": " Public: Returns the upstream branch for the current HEAD, or null if there\nis no upstream branch for the current HEAD.\n\npath - An optional {String} path in the repo to get this information for,\n only needed if the repository contains submodules.\n\nReturns a {String} branch name such as `refs/remotes/origin/master`. " - } - }, - "298": { - "22": { - "name": "getReferenceTarget", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "path" - ], - "range": [ - [ - 298, - 22 - ], - [ - 310, - 1 - ] - ], - "doc": " Public: Returns the current SHA for the given reference.\n\nreference - The {String} reference to get the target of.\npath - An optional {String} path in the repo to get the reference target\n for. Only needed if the repository contains submodules. " - } - }, - "310": { - "17": { - "name": "getReferences", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 310, - 17 - ], - [ - 310, - 56 - ] - ], - "doc": " Public: Gets all the local and remote references.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :heads - An {Array} of head reference names.\n :remotes - An {Array} of remote reference names.\n :tags - An {Array} of tag reference names. " - } - }, - "318": { - "23": { - "name": "getAheadBehindCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "path" - ], - "range": [ - [ - 318, - 23 - ], - [ - 330, - 1 - ] - ], - "doc": " Public: Returns the number of commits behind the current branch is from the\nits upstream remote branch.\n\nreference - The {String} branch reference name.\npath - The {String} path in the repository to get this information for,\n only needed if the repository contains submodules. " - } - }, - "330": { - "37": { - "name": "getCachedUpstreamAheadBehindCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 330, - 37 - ], - [ - 338, - 1 - ] - ], - "doc": " Public: Get the cached ahead/behind commit counts for the current branch's\nupstream branch.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :ahead - The {Number} of commits ahead.\n :behind - The {Number} of commits behind. " - } - }, - "338": { - "23": { - "name": "getCachedPathStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 338, - 23 - ], - [ - 342, - 1 - ] - ], - "doc": " Public: Get the cached status for the given path.\n\npath - A {String} path in the repository, relative or absolute.\n\nReturns a status {Number} or null if the path is not in the cache. " - } - }, - "342": { - "13": { - "name": "hasBranch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "branch" - ], - "range": [ - [ - 342, - 13 - ], - [ - 342, - 68 - ] - ], - "doc": "Public: Returns true if the given branch exists. " - } - }, - "346": { - "17": { - "name": "refreshStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 17 - ], - [ - 364, - 55 - ] - ], - "doc": " Private: Refreshes the current git status in an outside process and asynchronously\nupdates the relevant properties. " - } - } - }, - "exports": 40 - }, - "src/gutter-component.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqual", - "exportsProperty": "isEqual" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 29 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "32": { - "type": "import", - "range": [ - [ - 3, - 32 - ], - [ - 3, - 45 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "multiplyString", - "exportsProperty": "multiplyString" - }, - "48": { - "type": "import", - "range": [ - [ - 3, - 48 - ], - [ - 3, - 54 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "toArray", - "exportsProperty": "toArray" - } - }, - "4": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 4, - 13 - ], - [ - 4, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "5": { - "18": { - "name": "SubscriberMixin", - "type": "import", - "range": [ - [ - 5, - 18 - ], - [ - 5, - 45 - ] - ], - "bindingType": "variable", - "path": "./subscriber-mixin" - } - }, - "7": { - "13": { - "name": "WrapperDiv", - "type": "function", - "range": [ - [ - 7, - 13 - ], - [ - 7, - 41 - ] - ] - } - }, - "10": { - "18": { - "name": "GutterComponent", - "type": "function", - "range": [ - [ - 10, - 18 - ], - [ - 227, - 39 - ] - ] - } - }, - "11": { - "15": { - "name": "'GutterComponent'", - "type": "primitive", - "range": [ - [ - 11, - 15 - ], - [ - 11, - 31 - ] - ] - } - }, - "12": { - "10": { - "type": "primitive", - "range": [ - [ - 12, - 10 - ], - [ - 12, - 26 - ] - ] - } - }, - "14": { - "23": { - "type": "primitive", - "range": [ - [ - 14, - 23 - ], - [ - 14, - 26 - ] - ] - } - }, - "15": { - "17": { - "type": "primitive", - "range": [ - [ - 15, - 17 - ], - [ - 15, - 20 - ] - ] - } - }, - "17": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 10 - ], - [ - 29, - 1 - ] - ], - "doc": null - } - }, - "29": { - "16": { - "name": "getTransform", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 16 - ], - [ - 37, - 1 - ] - ], - "doc": null - } - }, - "37": { - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 37, - 22 - ], - [ - 43, - 1 - ] - ], - "doc": null - } - }, - "43": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 21 - ], - [ - 50, - 1 - ] - ], - "doc": null - } - }, - "50": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 50, - 25 - ], - [ - 64, - 1 - ] - ], - "doc": null - } - }, - "64": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "oldProps" - ], - "range": [ - [ - 64, - 22 - ], - [ - 74, - 1 - ] - ], - "doc": null - } - }, - "74": { - "24": { - "name": "clearScreenRowCaches", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 24 - ], - [ - 80, - 1 - ] - ], - "doc": null - } - }, - "80": { - "25": { - "name": "appendDummyLineNumber", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 80, - 25 - ], - [ - 86, - 1 - ] - ], - "doc": null - } - }, - "86": { - "25": { - "name": "updateDummyLineNumber", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 25 - ], - [ - 89, - 1 - ] - ], - "doc": null - } - }, - "89": { - "21": { - "name": "updateLineNumbers", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 93, - 1 - ] - ], - "doc": null - } - }, - "93": { - "40": { - "name": "appendOrUpdateVisibleLineNumberNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 93, - 40 - ], - [ - 138, - 1 - ] - ], - "doc": null - } - }, - "138": { - "25": { - "name": "removeLineNumberNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberIdsToPreserve" - ], - "range": [ - [ - 138, - 25 - ], - [ - 150, - 1 - ] - ], - "doc": null - } - }, - "150": { - "23": { - "name": "buildLineNumberHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bufferRow", - "softWrapped", - "maxLineNumberDigits", - "screenRow" - ], - "range": [ - [ - 150, - 23 - ], - [ - 169, - 1 - ] - ], - "doc": null - } - }, - "169": { - "28": { - "name": "buildLineNumberInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bufferRow", - "softWrapped", - "maxLineNumberDigits" - ], - "range": [ - [ - 169, - 28 - ], - [ - 179, - 1 - ] - ], - "doc": null - } - }, - "179": { - "24": { - "name": "updateLineNumberNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberId", - "bufferRow", - "screenRow", - "softWrapped" - ], - "range": [ - [ - 179, - 24 - ], - [ - 208, - 1 - ] - ], - "doc": null - } - }, - "208": { - "17": { - "name": "hasDecoration", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "decorations", - "decoration" - ], - "range": [ - [ - 208, - 17 - ], - [ - 211, - 1 - ] - ], - "doc": null - } - }, - "211": { - "21": { - "name": "hasLineNumberNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberId" - ], - "range": [ - [ - 211, - 21 - ], - [ - 214, - 1 - ] - ], - "doc": null - } - }, - "214": { - "30": { - "name": "lineNumberNodeForScreenRow", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 214, - 30 - ], - [ - 217, - 1 - ] - ], - "doc": null - } - }, - "217": { - "11": { - "name": "onClick", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 217, - 11 - ], - [ - 227, - 39 - ] - ], - "doc": null - } - } - }, - "exports": 10 - }, - "src/gutter-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "10": { - "type": "import", - "range": [ - [ - 0, - 10 - ], - [ - 0, - 11 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - }, - "14": { - "type": "import", - "range": [ - [ - 0, - 14 - ], - [ - 0, - 16 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$$", - "exportsProperty": "$$$" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "8": { - "0": { - "type": "class", - "name": "GutterView", - "bindingType": "exports", - "classProperties": [ - [ - 9, - 12 - ] - ], - "prototypeProperties": [ - [ - 13, - 18 - ], - [ - 14, - 17 - ], - [ - 16, - 14 - ], - [ - 19, - 15 - ], - [ - 28, - 16 - ], - [ - 31, - 21 - ], - [ - 53, - 17 - ], - [ - 56, - 13 - ], - [ - 62, - 22 - ], - [ - 68, - 25 - ], - [ - 74, - 33 - ], - [ - 83, - 24 - ], - [ - 91, - 22 - ], - [ - 101, - 27 - ], - [ - 115, - 18 - ], - [ - 126, - 23 - ], - [ - 135, - 21 - ], - [ - 169, - 23 - ], - [ - 175, - 22 - ], - [ - 179, - 22 - ], - [ - 190, - 21 - ], - [ - 194, - 25 - ], - [ - 221, - 25 - ], - [ - 235, - 24 - ], - [ - 242, - 20 - ], - [ - 250, - 18 - ] - ], - "doc": " Private: Represents the portion of the {EditorView} containing row numbers.\n\nThe gutter also indicates if rows are folded. ", - "range": [ - [ - 8, - 0 - ], - [ - 274, - 29 - ] - ] - } - }, - "9": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 12 - ], - [ - 13, - 1 - ] - ] - } - }, - "13": { - "18": { - "name": "firstScreenRow", - "type": "primitive", - "range": [ - [ - 13, - 18 - ], - [ - 13, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "17": { - "name": "lastScreenRow", - "type": "primitive", - "range": [ - [ - 14, - 17 - ], - [ - 14, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 14 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 19, - 15 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 16 - ], - [ - 31, - 1 - ] - ], - "doc": "~Private~" - } - }, - "31": { - "21": { - "name": "handleMouseEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 31, - 21 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "17": { - "name": "getEditorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 17 - ], - [ - 56, - 1 - ] - ], - "doc": " Private: Retrieves the containing {EditorView}.\n\nReturns an {EditorView}. " - } - }, - "56": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 13 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "22": { - "name": "setShowLineNumbers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showLineNumbers" - ], - "range": [ - [ - 62, - 22 - ], - [ - 68, - 1 - ] - ], - "doc": " Private: Defines whether to show the gutter or not.\n\nshowLineNumbers - A {Boolean} which, if `false`, hides the gutter " - } - }, - "68": { - "25": { - "name": "getLineNumberElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 25 - ], - [ - 74, - 1 - ] - ], - "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " - } - }, - "74": { - "33": { - "name": "getLineNumberElementsForClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 74, - 33 - ], - [ - 83, - 1 - ] - ], - "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " - } - }, - "83": { - "24": { - "name": "getLineNumberElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 83, - 24 - ], - [ - 91, - 1 - ] - ], - "doc": " Private: Get a single line-number div.\n\n* bufferRow: 0 based line number\n\nReturns a list of {HTMLElement}s that correspond to the bufferRow. More than\none in the list indicates a wrapped line. " - } - }, - "91": { - "22": { - "name": "addClassToAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 91, - 22 - ], - [ - 101, - 1 - ] - ], - "doc": " Private: Add a class to all line-number divs.\n\n* klass: string class name\n\nReturns true if the class was added to any lines " - } - }, - "101": { - "27": { - "name": "removeClassFromAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 101, - 27 - ], - [ - 115, - 1 - ] - ], - "doc": " Private: Remove a class from all line-number divs.\n\n* klass: string class name. Can only be one class name. i.e. 'my-class'\n\nReturns true if the class was removed from any lines " - } - }, - "115": { - "18": { - "name": "addClassToLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "klass" - ], - "range": [ - [ - 115, - 18 - ], - [ - 126, - 1 - ] - ], - "doc": " Private: Add a class to a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was added to " - } - }, - "126": { - "23": { - "name": "removeClassFromLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "klass" - ], - "range": [ - [ - 126, - 23 - ], - [ - 135, - 1 - ] - ], - "doc": " Private: Remove a class from a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was removed from " - } - }, - "135": { - "21": { - "name": "updateLineNumbers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "changes", - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 135, - 21 - ], - [ - 169, - 1 - ] - ], - "doc": "~Private~" - } - }, - "169": { - "23": { - "name": "prependLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElements" - ], - "range": [ - [ - 169, - 23 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "22": { - "name": "appendLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElements" - ], - "range": [ - [ - 175, - 22 - ], - [ - 179, - 1 - ] - ], - "doc": "~Private~" - } - }, - "179": { - "22": { - "name": "removeLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "numberOfElements" - ], - "range": [ - [ - 179, - 22 - ], - [ - 190, - 1 - ] - ], - "doc": "~Private~" - } - }, - "190": { - "21": { - "name": "buildLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 190, - 21 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "25": { - "name": "buildLineElementsHtml", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 194, - 25 - ], - [ - 221, - 1 - ] - ], - "doc": "~Private~" - } - }, - "221": { - "25": { - "name": "updateFoldableClasses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "changes" - ], - "range": [ - [ - 221, - 25 - ], - [ - 235, - 1 - ] - ], - "doc": " Private: Called to update the 'foldable' class of line numbers when there's\na change to the display buffer that doesn't regenerate all the line numbers\nanyway. " - } - }, - "235": { - "24": { - "name": "removeLineHighlights", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 235, - 24 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "20": { - "name": "addLineHighlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "emptySelection" - ], - "range": [ - [ - 242, - 20 - ], - [ - 250, - 1 - ] - ], - "doc": "~Private~" - } - }, - "250": { - "18": { - "name": "highlightLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 250, - 18 - ], - [ - 274, - 29 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/highlight-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "21": { - "name": "HighlightComponent", - "type": "function", - "range": [ - [ - 5, - 21 - ], - [ - 89, - 110 - ] - ] - } - }, - "6": { - "15": { - "name": "'HighlightComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 34 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 20, - 1 - ] - ], - "doc": null - } - }, - "20": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 21 - ], - [ - 27, - 1 - ] - ], - "doc": null - } - }, - "27": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 24 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "23": { - "name": "startFlashAnimation", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 23 - ], - [ - 42, - 1 - ] - ], - "doc": null - } - }, - "42": { - "27": { - "name": "renderSingleLineRegions", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 27 - ], - [ - 53, - 1 - ] - ], - "doc": null - } - }, - "53": { - "26": { - "name": "renderMultiLineRegions", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 26 - ], - [ - 88, - 1 - ] - ], - "doc": null - } - }, - "88": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 88, - 25 - ], - [ - 89, - 110 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/highlights-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "3": { - "21": { - "name": "HighlightComponent", - "type": "import", - "range": [ - [ - 3, - 21 - ], - [ - 3, - 51 - ] - ], - "bindingType": "variable", - "path": "./highlight-component" - } - }, - "6": { - "22": { - "name": "HighlightsComponent", - "type": "function", - "range": [ - [ - 6, - 22 - ], - [ - 24, - 148 - ] - ] - } - }, - "7": { - "15": { - "name": "'HighlightsComponent'", - "type": "primitive", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 35 - ] - ] - } - }, - "9": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 10 - ], - [ - 13, - 1 - ] - ], - "doc": null - } - }, - "13": { - "20": { - "name": "renderHighlights", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 20 - ], - [ - 23, - 1 - ] - ], - "doc": null - } - }, - "23": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 23, - 25 - ], - [ - 24, - 148 - ] - ], - "doc": null - } - } - }, - "exports": 6 - }, - "src/input-component.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "last", - "exportsProperty": "last" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 13 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqual", - "exportsProperty": "isEqual" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "input", - "exportsProperty": "input" - } - }, - "5": { - "17": { - "name": "InputComponent", - "type": "function", - "range": [ - [ - 5, - 17 - ], - [ - 43, - 25 - ] - ] - } - }, - "6": { - "15": { - "name": "'InputComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 30 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 13, - 1 - ] - ], - "doc": null - } - }, - "13": { - "19": { - "name": "getInitialState", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 19 - ], - [ - 16, - 1 - ] - ], - "doc": null - } - }, - "16": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 21 - ], - [ - 21, - 1 - ] - ], - "doc": null - } - }, - "21": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 22 - ], - [ - 27, - 1 - ] - ], - "doc": null - } - }, - "27": { - "27": { - "name": "isPressAndHoldCharacter", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "char" - ], - "range": [ - [ - 27, - 27 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 30, - 25 - ], - [ - 33, - 1 - ] - ], - "doc": null - } - }, - "33": { - "11": { - "name": "onPaste", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 33, - 11 - ], - [ - 36, - 1 - ] - ], - "doc": null - } - }, - "36": { - "11": { - "name": "onFocus", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 36, - 11 - ], - [ - 39, - 1 - ] - ], - "doc": null - } - }, - "39": { - "10": { - "name": "onBlur", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 39, - 10 - ], - [ - 42, - 1 - ] - ], - "doc": null - } - }, - "42": { - "9": { - "name": "focus", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 9 - ], - [ - 43, - 25 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/keymap-extensions.coffee": { - "objects": { - "0": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 0, - 5 - ], - [ - 0, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "16": { - "name": "KeymapManager", - "type": "import", - "range": [ - [ - 2, - 16 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "atom-keymap" - } - }, - "3": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 6 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "jQuery", - "exportsProperty": "jQuery" - } - }, - "6": { - "36": { - "name": "KeymapManager.prototype.loadBundledKeymaps", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 36 - ], - [ - 9, - 0 - ] - ], - "doc": null - } - }, - "10": { - "35": { - "name": "KeymapManager.prototype.getUserKeymapPath", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 35 - ], - [ - 15, - 0 - ] - ], - "doc": null - } - }, - "16": { - "32": { - "name": "KeymapManager.prototype.loadUserKeymap", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 32 - ], - [ - 22, - 74 - ] - ], - "doc": null - } - }, - "23": { - "32": { - "name": "jQuery.Event.prototype.abortKeyBinding", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 23, - 32 - ], - [ - 25, - 0 - ] - ], - "doc": null - } - } - }, - "exports": 26 - }, - "src/language-mode.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 10 - ] - ], - "bindingType": "variable", - "module": "oniguruma", - "name": "OnigRegExp", - "exportsProperty": "OnigRegExp" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "6": { - "0": { - "type": "class", - "name": "LanguageMode", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 15 - ], - [ - 16, - 11 - ], - [ - 19, - 33 - ], - [ - 30, - 35 - ], - [ - 100, - 11 - ], - [ - 107, - 13 - ], - [ - 114, - 24 - ], - [ - 128, - 17 - ], - [ - 141, - 30 - ], - [ - 146, - 33 - ], - [ - 161, - 34 - ], - [ - 181, - 25 - ], - [ - 186, - 29 - ], - [ - 194, - 32 - ], - [ - 201, - 30 - ], - [ - 208, - 35 - ], - [ - 241, - 31 - ], - [ - 265, - 29 - ], - [ - 274, - 24 - ], - [ - 281, - 23 - ], - [ - 288, - 34 - ], - [ - 308, - 23 - ], - [ - 312, - 32 - ], - [ - 315, - 32 - ], - [ - 318, - 25 - ] - ], - "doc": "~Private~", - "range": [ - [ - 6, - 0 - ], - [ - 319, - 57 - ] - ] - } - }, - "13": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 13, - 15 - ], - [ - 16, - 1 - ] - ], - "doc": " Private: Sets up a `LanguageMode` for the given {Editor}.\n\neditor - The {Editor} to associate with " - } - }, - "16": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 11 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "33": { - "name": "toggleLineCommentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 19, - 33 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "35": { - "name": "toggleLineCommentsForBufferRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 30, - 35 - ], - [ - 100, - 1 - ] - ], - "doc": " Private: Wraps the lines between two rows in comments.\n\nIf the language doesn't have comment, nothing happens.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns an {Array} of the commented {Ranges}. " - } - }, - "100": { - "11": { - "name": "foldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 100, - 11 - ], - [ - 107, - 1 - ] - ], - "doc": "Private: Folds all the foldable lines in the buffer. " - } - }, - "107": { - "13": { - "name": "unfoldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 13 - ], - [ - 114, - 1 - ] - ], - "doc": "Private: Unfolds all the foldable lines in the buffer. " - } - }, - "114": { - "24": { - "name": "foldAllAtIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "indentLevel" - ], - "range": [ - [ - 114, - 24 - ], - [ - 128, - 1 - ] - ], - "doc": " Private: Fold all comment and code blocks at a given indentLevel\n\nindentLevel - A {Number} indicating indentLevel; 0 based. " - } - }, - "128": { - "17": { - "name": "foldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 128, - 17 - ], - [ - 141, - 1 - ] - ], - "doc": " Private: Given a buffer row, creates a fold at it.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns the new {Fold}. " - } - }, - "141": { - "30": { - "name": "rowRangeForFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 141, - 30 - ], - [ - 146, - 1 - ] - ], - "doc": " Private: Find the row range for a fold at a given bufferRow. Will handle comments\nand code.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of the [startRow, endRow]. Returns null if no range. " - } - }, - "146": { - "33": { - "name": "rowRangeForCommentAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 146, - 33 - ], - [ - 161, - 1 - ] - ], - "doc": "~Private~" - } - }, - "161": { - "34": { - "name": "rowRangeForCodeFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 161, - 34 - ], - [ - 181, - 1 - ] - ], - "doc": "~Private~" - } - }, - "181": { - "25": { - "name": "isFoldableAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 181, - 25 - ], - [ - 186, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether the given buffer row starts a\nfoldable row range. Rows that are \"foldable\" have a fold icon next to their\nicon in the gutter in the default configuration. " - } - }, - "186": { - "29": { - "name": "isFoldableCodeAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 186, - 29 - ], - [ - 194, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na a foldable row range due to the code's indentation patterns. " - } - }, - "194": { - "32": { - "name": "isFoldableCommentAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 194, - 32 - ], - [ - 201, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na foldable row range due to being the start of a multi-line comment. " - } - }, - "201": { - "30": { - "name": "isLineCommentedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 201, - 30 - ], - [ - 208, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the line at the given buffer\nrow is a comment. " - } - }, - "208": { - "35": { - "name": "rowRangeForParagraphAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 208, - 35 - ], - [ - 241, - 1 - ] - ], - "doc": " Private: Find a row range for a 'paragraph' around specified bufferRow.\nRight now, a paragraph is a block of text bounded by and empty line or a\nblock of text that is not the same type (comments next to source code). " - } - }, - "241": { - "31": { - "name": "suggestedIndentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 241, - 31 - ], - [ - 265, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns a suggested indentation level.\n\nThe indentation level provided is based on the current {LanguageMode}.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Number}. " - } - }, - "265": { - "29": { - "name": "minIndentLevelForRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 265, - 29 - ], - [ - 274, - 1 - ] - ], - "doc": " Private: Calculate a minimum indent level for a range of lines excluding empty lines.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns a {Number} of the indent level of the block of lines. " - } - }, - "274": { - "24": { - "name": "autoIndentBufferRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 274, - 24 - ], - [ - 281, - 1 - ] - ], - "doc": " Private: Indents all the rows between two buffer row numbers.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at " - } - }, - "281": { - "23": { - "name": "autoIndentBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "options" - ], - "range": [ - [ - 281, - 23 - ], - [ - 288, - 1 - ] - ], - "doc": " Private: Given a buffer row, this indents it.\n\nbufferRow - The row {Number}.\noptions - An options {Object} to pass through to {Editor::setIndentationForBufferRow}. " - } - }, - "288": { - "34": { - "name": "autoDecreaseIndentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 288, - 34 - ], - [ - 308, - 1 - ] - ], - "doc": " Private: Given a buffer row, this decreases the indentation.\n\nbufferRow - The row {Number} " - } - }, - "308": { - "23": { - "name": "getRegexForProperty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "property" - ], - "range": [ - [ - 308, - 23 - ], - [ - 312, - 1 - ] - ], - "doc": "~Private~" - } - }, - "312": { - "32": { - "name": "increaseIndentRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 312, - 32 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "32": { - "name": "decreaseIndentRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 315, - 32 - ], - [ - 318, - 1 - ] - ], - "doc": "~Private~" - } - }, - "318": { - "25": { - "name": "foldEndRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 318, - 25 - ], - [ - 319, - 57 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 6 - }, - "src/less-compile-cache.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "2": { - "12": { - "name": "LessCache", - "type": "import", - "range": [ - [ - 2, - 12 - ], - [ - 2, - 31 - ] - ], - "bindingType": "variable", - "module": "less-cache" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "7": { - "0": { - "type": "class", - "name": "LessCompileCache", - "bindingType": "exports", - "classProperties": [ - [ - 10, - 13 - ] - ], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 29, - 18 - ], - [ - 32, - 8 - ], - [ - 35, - 14 - ], - [ - 38, - 11 - ] - ], - "doc": "Private: {LessCache} wrapper used by {ThemeManager} to read stylesheets. ", - "range": [ - [ - 7, - 0 - ], - [ - 38, - 28 - ] - ] - } - }, - "10": { - "13": { - "name": "cacheDir", - "type": "function", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 71 - ] - ], - "bindingType": "classProperty" - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 29, - 1 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "18": { - "name": "setImportPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "importPaths" - ], - "range": [ - [ - 29, - 18 - ], - [ - 32, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "8": { - "name": "read", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 32, - 8 - ], - [ - 35, - 1 - ] - ], - "doc": "~Private~" - } - }, - "35": { - "14": { - "name": "cssForFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "lessContent" - ], - "range": [ - [ - 35, - 14 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 38, - 11 - ], - [ - 38, - 27 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 7 - }, - "src/lines-component.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - }, - "6": { - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 9 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "span", - "exportsProperty": "span" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "debounce", - "exportsProperty": "debounce" - }, - "11": { - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 17 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqual", - "exportsProperty": "isEqual" - }, - "20": { - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 39 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "42": { - "type": "import", - "range": [ - [ - 3, - 42 - ], - [ - 3, - 55 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "multiplyString", - "exportsProperty": "multiplyString" - }, - "58": { - "type": "import", - "range": [ - [ - 3, - 58 - ], - [ - 3, - 64 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "toArray", - "exportsProperty": "toArray" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 2 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "$$", - "exportsProperty": "$$" - } - }, - "6": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 6, - 13 - ], - [ - 6, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "7": { - "19": { - "name": "CursorsComponent", - "type": "import", - "range": [ - [ - 7, - 19 - ], - [ - 7, - 47 - ] - ], - "bindingType": "variable", - "path": "./cursors-component" - } - }, - "8": { - "22": { - "name": "HighlightsComponent", - "type": "import", - "range": [ - [ - 8, - 22 - ], - [ - 8, - 53 - ] - ], - "bindingType": "variable", - "path": "./highlights-component" - } - }, - "10": { - "16": { - "type": "primitive", - "range": [ - [ - 10, - 16 - ], - [ - 10, - 111 - ] - ] - } - }, - "11": { - "15": { - "type": "primitive", - "range": [ - [ - 11, - 15 - ], - [ - 11, - 55 - ] - ] - }, - "28": { - "name": "acceptNode", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 11, - 28 - ], - [ - 11, - 54 - ] - ], - "doc": null - } - }, - "12": { - "13": { - "name": "WrapperDiv", - "type": "function", - "range": [ - [ - 12, - 13 - ], - [ - 12, - 41 - ] - ] - } - }, - "15": { - "17": { - "name": "LinesComponent", - "type": "function", - "range": [ - [ - 15, - 17 - ], - [ - 348, - 41 - ] - ] - } - }, - "16": { - "15": { - "name": "'LinesComponent'", - "type": "primitive", - "range": [ - [ - 16, - 15 - ], - [ - 16, - 30 - ] - ] - } - }, - "18": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 18, - 10 - ], - [ - 44, - 1 - ] - ], - "doc": null - } - }, - "44": { - "16": { - "name": "getTransform", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 16 - ], - [ - 52, - 1 - ] - ], - "doc": null - } - }, - "52": { - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 22 - ], - [ - 59, - 1 - ] - ], - "doc": null - } - }, - "59": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 59, - 25 - ], - [ - 79, - 1 - ] - ], - "doc": null - } - }, - "79": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "prevProps" - ], - "range": [ - [ - 79, - 22 - ], - [ - 88, - 1 - ] - ], - "doc": null - } - }, - "88": { - "24": { - "name": "clearScreenRowCaches", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 24 - ], - [ - 92, - 1 - ] - ], - "doc": null - } - }, - "92": { - "15": { - "name": "updateLines", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "updateWidth" - ], - "range": [ - [ - 92, - 15 - ], - [ - 100, - 1 - ] - ], - "doc": null - } - }, - "100": { - "19": { - "name": "removeLineNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "visibleLines" - ], - "range": [ - [ - 100, - 19 - ], - [ - 114, - 1 - ] - ], - "doc": null - } - }, - "114": { - "34": { - "name": "appendOrUpdateVisibleLineNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "visibleLines", - "startRow", - "updateWidth" - ], - "range": [ - [ - 114, - 34 - ], - [ - 145, - 1 - ] - ], - "doc": null - } - }, - "145": { - "15": { - "name": "hasLineNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineId" - ], - "range": [ - [ - 145, - 15 - ], - [ - 148, - 1 - ] - ], - "doc": null - } - }, - "148": { - "17": { - "name": "buildLineHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "screenRow" - ], - "range": [ - [ - 148, - 17 - ], - [ - 171, - 1 - ] - ], - "doc": null - } - }, - "171": { - "27": { - "name": "buildEmptyLineInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 171, - 27 - ], - [ - 198, - 1 - ] - ], - "doc": null - } - }, - "198": { - "22": { - "name": "buildLineInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 198, - 22 - ], - [ - 215, - 1 - ] - ], - "doc": null - } - }, - "215": { - "22": { - "name": "buildEndOfLineHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "invisibles" - ], - "range": [ - [ - 215, - 22 - ], - [ - 228, - 1 - ] - ], - "doc": null - } - }, - "228": { - "20": { - "name": "updateScopeStack", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 228, - 20 - ], - [ - 245, - 1 - ] - ], - "doc": null - } - }, - "245": { - "12": { - "name": "popScope", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack" - ], - "range": [ - [ - 245, - 12 - ], - [ - 249, - 1 - ] - ], - "doc": null - } - }, - "249": { - "13": { - "name": "pushScope", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack", - "scope" - ], - "range": [ - [ - 249, - 13 - ], - [ - 253, - 1 - ] - ], - "doc": null - } - }, - "253": { - "18": { - "name": "updateLineNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "screenRow", - "updateWidth" - ], - "range": [ - [ - 253, - 18 - ], - [ - 278, - 1 - ] - ], - "doc": null - } - }, - "278": { - "17": { - "name": "hasDecoration", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "decorations", - "decoration" - ], - "range": [ - [ - 278, - 17 - ], - [ - 281, - 1 - ] - ], - "doc": null - } - }, - "281": { - "24": { - "name": "lineNodeForScreenRow", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 281, - 24 - ], - [ - 284, - 1 - ] - ], - "doc": null - } - }, - "284": { - "40": { - "name": "measureLineHeightAndDefaultCharWidth", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 40 - ], - [ - 295, - 1 - ] - ], - "doc": null - } - }, - "295": { - "28": { - "name": "remeasureCharacterWidths", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 295, - 28 - ], - [ - 299, - 1 - ] - ], - "doc": null - } - }, - "299": { - "31": { - "name": "measureCharactersInNewLines", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 299, - 31 - ], - [ - 311, - 1 - ] - ], - "doc": null - } - }, - "311": { - "27": { - "name": "measureCharactersInLine", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "tokenizedLine", - "lineNode" - ], - "range": [ - [ - 311, - 27 - ], - [ - 346, - 1 - ] - ], - "doc": null - } - }, - "346": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 25 - ], - [ - 348, - 41 - ] - ], - "doc": null - } - } - }, - "exports": 15 - }, - "src/menu-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "3": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 3, - 6 - ], - [ - 3, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "12": { - "0": { - "type": "class", - "name": "MenuManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 15 - ], - [ - 37, - 7 - ], - [ - 47, - 19 - ], - [ - 79, - 10 - ], - [ - 88, - 21 - ], - [ - 96, - 9 - ], - [ - 107, - 27 - ], - [ - 117, - 24 - ], - [ - 121, - 18 - ], - [ - 130, - 21 - ] - ], - "doc": " Public: Provides a registry for menu items that you'd like to appear in the\napplication menu.\n\nAn instance of this class is always available as the `atom.menu` global. ", - "range": [ - [ - 12, - 0 - ], - [ - 131, - 49 - ] - ] - } - }, - "13": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 13, - 15 - ], - [ - 37, - 1 - ] - ] - } - }, - "37": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 37, - 7 - ], - [ - 47, - 1 - ] - ], - "doc": " Public: Adds the given item definition to the existing template.\n\n## Example\n```coffee\n atom.menu.add [\n {\n label: 'Hello'\n submenu : [{label: 'World!', command: 'hello:world'}]\n }\n ]\n```\n\nitems - An {Array} of menu item {Object}s containing the keys:\n :label - The {String} menu label.\n :submenu - An optional {Array} of sub menu items.\n :command - An optional {String} command to trigger when the item is\n clicked.\n\nReturns nothing. " - } - }, - "47": { - "19": { - "name": "includeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 47, - 19 - ], - [ - 79, - 1 - ] - ], - "doc": " Private: Should the binding for the given selector be included in the menu\ncommands.\n\nselector - A {String} selector to check.\n\nReturns true to include the selector, false otherwise. " - } - }, - "79": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 10 - ], - [ - 88, - 1 - ] - ], - "doc": "Public: Refreshes the currently visible menu. " - } - }, - "88": { - "21": { - "name": "loadPlatformItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 21 - ], - [ - 96, - 1 - ] - ], - "doc": "~Private~" - } - }, - "96": { - "9": { - "name": "merge", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "menu", - "item" - ], - "range": [ - [ - 96, - 9 - ], - [ - 107, - 1 - ] - ], - "doc": " Private: Merges an item in a submenu aware way such that new items are always\nappended to the bottom of existing menus where possible. " - } - }, - "107": { - "27": { - "name": "filterMultipleKeystroke", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystrokesByCommand" - ], - "range": [ - [ - 107, - 27 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: OSX can't handle displaying accelerators for multiple keystrokes.\nIf they are sent across, it will stop processing accelerators for the rest\nof the menu items. " - } - }, - "117": { - "24": { - "name": "sendToBrowserProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 117, - 24 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "18": { - "name": "normalizeLabel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "label" - ], - "range": [ - [ - 121, - 18 - ], - [ - 130, - 1 - ] - ], - "doc": "~Private~" - } - }, - "130": { - "21": { - "name": "classesForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 130, - 21 - ], - [ - 131, - 49 - ] - ], - "doc": "Private: Get an {Array} of {String} classes for the given element. " - } - } - }, - "exports": 12 - }, - "src/package-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "7": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 7, - 10 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "8": { - "15": { - "name": "ThemePackage", - "type": "import", - "range": [ - [ - 8, - 15 - ], - [ - 8, - 39 - ] - ], - "bindingType": "variable", - "path": "./theme-package" - } - }, - "26": { - "0": { - "type": "class", - "name": "PackageManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 44, - 14 - ], - [ - 52, - 22 - ], - [ - 55, - 19 - ], - [ - 58, - 19 - ], - [ - 62, - 17 - ], - [ - 68, - 18 - ], - [ - 74, - 12 - ], - [ - 82, - 28 - ], - [ - 85, - 20 - ], - [ - 90, - 19 - ], - [ - 100, - 22 - ], - [ - 105, - 21 - ], - [ - 113, - 21 - ], - [ - 117, - 20 - ], - [ - 121, - 19 - ], - [ - 124, - 29 - ], - [ - 128, - 27 - ], - [ - 137, - 16 - ], - [ - 148, - 15 - ], - [ - 168, - 18 - ], - [ - 172, - 17 - ], - [ - 182, - 20 - ], - [ - 186, - 19 - ], - [ - 190, - 21 - ], - [ - 196, - 29 - ], - [ - 200, - 22 - ], - [ - 210, - 21 - ], - [ - 213, - 17 - ], - [ - 218, - 20 - ], - [ - 221, - 26 - ], - [ - 231, - 28 - ], - [ - 246, - 28 - ], - [ - 250, - 31 - ] - ], - "doc": " Public: Package manager for coordinating the lifecycle of Atom packages.\n\nAn instance of this class is always available as the `atom.packages` global.\n\nPackages can be loaded, activated, and deactivated, and unloaded:\n * Loading a package reads and parses the package's metadata and resources\n such as keymaps, menus, stylesheets, etc.\n * Activating a package registers the loaded resources and calls `activate()`\n on the package's main module.\n * Deactivating a package unregisters the package's resources and calls\n `deactivate()` on the package's main module.\n * Unloading a package removes it completely from the package manager.\n\nPackages can also be enabled/disabled via the `core.disabledPackages` config\nsettings and also by calling `enablePackage()/disablePackage()`. ", - "range": [ - [ - 26, - 0 - ], - [ - 256, - 12 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 29, - 15 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "14": { - "name": "getApmPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 14 - ], - [ - 52, - 1 - ] - ], - "doc": "Public: Get the path to the apm command " - } - }, - "52": { - "22": { - "name": "getPackageDirPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 22 - ], - [ - 55, - 1 - ] - ], - "doc": " Public: Get the paths being used to look for packages.\n\nReturns an Array of String directory paths. " - } - }, - "55": { - "19": { - "name": "getPackageState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 55, - 19 - ], - [ - 58, - 1 - ] - ], - "doc": "~Private~" - } - }, - "58": { - "19": { - "name": "setPackageState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "state" - ], - "range": [ - [ - 58, - 19 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "17": { - "name": "enablePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 62, - 17 - ], - [ - 68, - 1 - ] - ], - "doc": "Public: Enable the package with the given name " - } - }, - "68": { - "18": { - "name": "disablePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 68, - 18 - ], - [ - 74, - 1 - ] - ], - "doc": "Public: Disable the package with the given name " - } - }, - "74": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 12 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Activate all the packages that should be activated. " - } - }, - "82": { - "28": { - "name": "registerPackageActivator", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "activator", - "types" - ], - "range": [ - [ - 82, - 28 - ], - [ - 85, - 1 - ] - ], - "doc": " Private: another type of package manager can handle other package types.\nSee ThemeManager " - } - }, - "85": { - "20": { - "name": "activatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "packages" - ], - "range": [ - [ - 85, - 20 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "19": { - "name": "activatePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 90, - 19 - ], - [ - 100, - 1 - ] - ], - "doc": "Private: Activate a single package by name " - } - }, - "100": { - "22": { - "name": "deactivatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 100, - 22 - ], - [ - 105, - 1 - ] - ], - "doc": "Private: Deactivate all packages " - } - }, - "105": { - "21": { - "name": "deactivatePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 105, - 21 - ], - [ - 113, - 1 - ] - ], - "doc": "Private: Deactivate the package with the given name " - } - }, - "113": { - "21": { - "name": "getActivePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 113, - 21 - ], - [ - 117, - 1 - ] - ], - "doc": "Public: Get an array of all the active packages " - } - }, - "117": { - "20": { - "name": "getActivePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 117, - 20 - ], - [ - 121, - 1 - ] - ], - "doc": "Public: Get the active package with the given name " - } - }, - "121": { - "19": { - "name": "isPackageActive", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 121, - 19 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Is the package with the given name active? " - } - }, - "124": { - "29": { - "name": "unobserveDisabledPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 29 - ], - [ - 128, - 1 - ] - ], - "doc": "~Private~" - } - }, - "128": { - "27": { - "name": "observeDisabledPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 128, - 27 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "16": { - "name": "loadPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 16 - ], - [ - 148, - 1 - ] - ], - "doc": "~Private~" - } - }, - "148": { - "15": { - "name": "loadPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "nameOrPath" - ], - "range": [ - [ - 148, - 15 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "18": { - "name": "unloadPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 18 - ], - [ - 172, - 1 - ] - ], - "doc": "~Private~" - } - }, - "172": { - "17": { - "name": "unloadPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 172, - 17 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "20": { - "name": "getLoadedPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 182, - 20 - ], - [ - 186, - 1 - ] - ], - "doc": "Public: Get the loaded package with the given name " - } - }, - "186": { - "19": { - "name": "isPackageLoaded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 186, - 19 - ], - [ - 190, - 1 - ] - ], - "doc": "Public: Is the package with the given name loaded? " - } - }, - "190": { - "21": { - "name": "getLoadedPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 21 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded packages " - } - }, - "196": { - "29": { - "name": "getLoadedPackagesForTypes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "types" - ], - "range": [ - [ - 196, - 29 - ], - [ - 200, - 1 - ] - ], - "doc": " Private: Get packages for a certain package type\n\ntypes - an {Array} of {String}s like ['atom', 'textmate']. " - } - }, - "200": { - "22": { - "name": "resolvePackagePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 200, - 22 - ], - [ - 210, - 1 - ] - ], - "doc": "Public: Resolve the given package name to a path on disk. " - } - }, - "210": { - "21": { - "name": "isPackageDisabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 210, - 21 - ], - [ - 213, - 1 - ] - ], - "doc": "Public: Is the package with the given name disabled? " - } - }, - "213": { - "17": { - "name": "hasAtomEngine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "packagePath" - ], - "range": [ - [ - 213, - 17 - ], - [ - 218, - 1 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "20": { - "name": "isBundledPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 218, - 20 - ], - [ - 221, - 1 - ] - ], - "doc": "Public: Is the package with the given name bundled with Atom? " - } - }, - "221": { - "26": { - "name": "getPackageDependencies", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 221, - 26 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "28": { - "name": "getAvailablePackagePaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 231, - 28 - ], - [ - 246, - 1 - ] - ], - "doc": "Public: Get an array of all the available package paths. " - } - }, - "246": { - "28": { - "name": "getAvailablePackageNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 246, - 28 - ], - [ - 250, - 1 - ] - ], - "doc": "Public: Get an array of all the available package names. " - } - }, - "250": { - "31": { - "name": "getAvailablePackageMetadata", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 250, - 31 - ], - [ - 256, - 12 - ] - ], - "doc": "Public: Get an array of all the available package metadata. " - } - } - }, - "exports": 26 - }, - "src/package.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "3": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 3, - 8 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "async" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "7": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "9": { - "4": { - "type": "primitive", - "range": [ - [ - 9, - 4 - ], - [ - 9, - 7 - ] - ] - } - }, - "10": { - "19": { - "name": "ScopedProperties", - "type": "import", - "range": [ - [ - 10, - 19 - ], - [ - 10, - 47 - ] - ], - "bindingType": "variable", - "path": "./scoped-properties" - } - }, - "15": { - "0": { - "type": "class", - "name": "Package", - "bindingType": "exports", - "classProperties": [ - [ - 18, - 19 - ], - [ - 20, - 17 - ] - ], - "prototypeProperties": [ - [ - 30, - 11 - ], - [ - 31, - 9 - ], - [ - 32, - 15 - ], - [ - 33, - 12 - ], - [ - 34, - 20 - ], - [ - 35, - 18 - ], - [ - 36, - 26 - ], - [ - 37, - 14 - ], - [ - 39, - 15 - ], - [ - 44, - 10 - ], - [ - 47, - 11 - ], - [ - 50, - 11 - ], - [ - 53, - 11 - ], - [ - 59, - 11 - ], - [ - 61, - 21 - ], - [ - 63, - 8 - ], - [ - 76, - 9 - ], - [ - 83, - 12 - ], - [ - 97, - 15 - ], - [ - 109, - 18 - ], - [ - 118, - 23 - ], - [ - 126, - 21 - ], - [ - 138, - 15 - ], - [ - 141, - 13 - ], - [ - 144, - 18 - ], - [ - 151, - 16 - ], - [ - 158, - 19 - ], - [ - 162, - 22 - ], - [ - 165, - 22 - ], - [ - 177, - 20 - ], - [ - 194, - 16 - ], - [ - 213, - 24 - ], - [ - 231, - 13 - ], - [ - 238, - 14 - ], - [ - 247, - 20 - ], - [ - 251, - 23 - ], - [ - 260, - 21 - ], - [ - 266, - 20 - ], - [ - 269, - 21 - ], - [ - 275, - 21 - ], - [ - 285, - 23 - ], - [ - 297, - 31 - ], - [ - 306, - 25 - ], - [ - 315, - 35 - ], - [ - 325, - 36 - ], - [ - 339, - 36 - ], - [ - 345, - 18 - ], - [ - 353, - 34 - ], - [ - 371, - 32 - ], - [ - 401, - 16 - ] - ], - "doc": " Private: Loads and activates a package's main module and resources such as\nstylesheets, keymaps, grammar, editor properties, and menus. ", - "range": [ - [ - 15, - 0 - ], - [ - 411, - 24 - ] - ] - } - }, - "18": { - "19": { - "name": "stylesheetsDir", - "type": "primitive", - "range": [ - [ - 18, - 19 - ], - [ - 18, - 31 - ] - ], - "bindingType": "classProperty" - } - }, - "20": { - "17": { - "name": "loadMetadata", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "packagePath", - "ignoreErrors" - ], - "range": [ - [ - 20, - 17 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "keymaps", - "type": "primitive", - "range": [ - [ - 30, - 11 - ], - [ - 30, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "31": { - "9": { - "name": "menus", - "type": "primitive", - "range": [ - [ - 31, - 9 - ], - [ - 31, - 12 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "32": { - "15": { - "name": "stylesheets", - "type": "primitive", - "range": [ - [ - 32, - 15 - ], - [ - 32, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "33": { - "12": { - "name": "grammars", - "type": "primitive", - "range": [ - [ - 33, - 12 - ], - [ - 33, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "34": { - "20": { - "name": "scopedProperties", - "type": "primitive", - "range": [ - [ - 34, - 20 - ], - [ - 34, - 23 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "35": { - "18": { - "name": "mainModulePath", - "type": "primitive", - "range": [ - [ - 35, - 18 - ], - [ - 35, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "36": { - "26": { - "name": "resolvedMainModulePath", - "type": "primitive", - "range": [ - [ - 36, - 26 - ], - [ - 36, - 30 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "37": { - "14": { - "name": "mainModule", - "type": "primitive", - "range": [ - [ - 37, - 14 - ], - [ - 37, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "39": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 39, - 15 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "10": { - "name": "enable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 10 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "11": { - "name": "disable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 47, - 11 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "11": { - "name": "isTheme", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 11 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "11": { - "name": "measure", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "key", - "fn" - ], - "range": [ - [ - 53, - 11 - ], - [ - 59, - 1 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "11": { - "name": "getType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 11 - ], - [ - 59, - 19 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "21": { - "name": "getStylesheetType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 21 - ], - [ - 61, - 32 - ] - ], - "doc": "~Private~" - } - }, - "63": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 63, - 8 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "9": { - "name": "reset", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 9 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 83, - 12 - ], - [ - 97, - 1 - ] - ], - "doc": "~Private~" - } - }, - "97": { - "15": { - "name": "activateNow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 97, - 15 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "18": { - "name": "activateConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 18 - ], - [ - 118, - 1 - ] - ], - "doc": "~Private~" - } - }, - "118": { - "23": { - "name": "activateStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 118, - 23 - ], - [ - 126, - 1 - ] - ], - "doc": "~Private~" - } - }, - "126": { - "21": { - "name": "activateResources", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 21 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "15": { - "name": "loadKeymaps", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 15 - ], - [ - 141, - 1 - ] - ], - "doc": "~Private~" - } - }, - "141": { - "13": { - "name": "loadMenus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 13 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "18": { - "name": "getKeymapPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 144, - 18 - ], - [ - 151, - 1 - ] - ], - "doc": "~Private~" - } - }, - "151": { - "16": { - "name": "getMenuPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 151, - 16 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "19": { - "name": "loadStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 19 - ], - [ - 162, - 1 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "22": { - "name": "getStylesheetsPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 22 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "22": { - "name": "getStylesheetPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 22 - ], - [ - 177, - 1 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "20": { - "name": "loadGrammarsSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 20 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "16": { - "name": "loadGrammars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 194, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "24": { - "name": "loadScopedProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 24 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "13": { - "name": "serialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 231, - 13 - ], - [ - 238, - 1 - ] - ], - "doc": "~Private~" - } - }, - "238": { - "14": { - "name": "deactivate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 238, - 14 - ], - [ - 247, - 1 - ] - ], - "doc": "~Private~" - } - }, - "247": { - "20": { - "name": "deactivateConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 247, - 20 - ], - [ - 251, - 1 - ] - ], - "doc": "~Private~" - } - }, - "251": { - "23": { - "name": "deactivateResources", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 251, - 23 - ], - [ - 260, - 1 - ] - ], - "doc": "~Private~" - } - }, - "260": { - "21": { - "name": "reloadStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 21 - ], - [ - 266, - 1 - ] - ], - "doc": "~Private~" - } - }, - "266": { - "20": { - "name": "reloadStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "content" - ], - "range": [ - [ - 266, - 20 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "21": { - "name": "requireMainModule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 21 - ], - [ - 275, - 1 - ] - ] - } - }, - "275": { - "21": { - "name": "getMainModulePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 275, - 21 - ], - [ - 285, - 1 - ] - ], - "doc": "~Private~" - } - }, - "285": { - "23": { - "name": "hasActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 285, - 23 - ], - [ - 297, - 1 - ] - ], - "doc": "~Private~" - } - }, - "297": { - "31": { - "name": "subscribeToActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 31 - ], - [ - 306, - 1 - ] - ], - "doc": "~Private~" - } - }, - "306": { - "25": { - "name": "handleActivationEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 306, - 25 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "35": { - "name": "unsubscribeFromActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 35 - ], - [ - 325, - 1 - ] - ], - "doc": "~Private~" - } - }, - "325": { - "36": { - "name": "disableEventHandlersOnBubblePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 325, - 36 - ], - [ - 339, - 1 - ] - ], - "doc": "~Private~" - } - }, - "339": { - "36": { - "name": "restoreEventHandlersOnBubblePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventHandlers" - ], - "range": [ - [ - 339, - 36 - ], - [ - 345, - 1 - ] - ], - "doc": "~Private~" - } - }, - "345": { - "18": { - "name": "isNativeModule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "modulePath" - ], - "range": [ - [ - 345, - 18 - ], - [ - 353, - 1 - ] - ], - "doc": "Private: Does the given module path contain native code? " - } - }, - "353": { - "34": { - "name": "getNativeModuleDependencyPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 353, - 34 - ], - [ - 371, - 1 - ] - ], - "doc": " Private: Get an array of all the native modules that this package depends on.\nThis will recurse through all dependencies. " - } - }, - "371": { - "32": { - "name": "getIncompatibleNativeModules", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 371, - 32 - ], - [ - 401, - 1 - ] - ], - "doc": " Private: Get the incompatible native modules that this package depends on.\nThis recurses through all dependencies and requires all modules that\ncontain a `.node` file.\n\nThis information is cached in local storage on a per package/version basis\nto minimize the impact on startup time. " - } - }, - "401": { - "16": { - "name": "isCompatible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 401, - 16 - ], - [ - 411, - 24 - ] - ], - "doc": " Public: Is this package compatible with this version of Atom?\n\nIncompatible packages cannot be activated. This will include packages\ninstalled to ~/.atom/packages that were built against node 0.11.10 but\nnow need to be upgrade to node 0.11.13.\n\nReturns a {Boolean}, true if compatible, false if incompatible. " - } - } - }, - "exports": 15 - }, - "src/pane-axis-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "11": { - "type": "primitive", - "range": [ - [ - 1, - 11 - ], - [ - 1, - 14 - ] - ] - } - }, - "4": { - "0": { - "type": "class", - "name": "PaneAxisView", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 5, - 14 - ], - [ - 9, - 15 - ], - [ - 12, - 16 - ], - [ - 16, - 22 - ], - [ - 22, - 16 - ], - [ - 26, - 18 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 31, - 48 - ] - ] - } - }, - "5": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 5, - 14 - ], - [ - 9, - 1 - ] - ] - } - }, - "9": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 15 - ], - [ - 12, - 1 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "16": { - "name": "viewForModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "model" - ], - "range": [ - [ - 12, - 16 - ], - [ - 16, - 1 - ] - ], - "doc": "~Private~" - } - }, - "16": { - "22": { - "name": "onChildrenChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 16, - 22 - ], - [ - 22, - 1 - ] - ], - "doc": "~Private~" - } - }, - "22": { - "16": { - "name": "onChildAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child", - "index" - ], - "range": [ - [ - 22, - 16 - ], - [ - 26, - 1 - ] - ], - "doc": "~Private~" - } - }, - "26": { - "18": { - "name": "onChildRemoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 26, - 18 - ], - [ - 31, - 48 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/pane-axis.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 15 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Sequence", - "exportsProperty": "Sequence" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 7 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "flatten", - "exportsProperty": "flatten" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "4": { - "14": { - "type": "primitive", - "range": [ - [ - 4, - 14 - ], - [ - 4, - 17 - ] - ] - } - }, - "5": { - "17": { - "type": "primitive", - "range": [ - [ - 5, - 17 - ], - [ - 5, - 20 - ] - ] - } - }, - "8": { - "0": { - "type": "class", - "name": "PaneAxis", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 25, - 21 - ], - [ - 30, - 19 - ], - [ - 34, - 16 - ], - [ - 40, - 12 - ], - [ - 43, - 12 - ], - [ - 46, - 15 - ], - [ - 51, - 16 - ], - [ - 56, - 21 - ], - [ - 60, - 20 - ], - [ - 64, - 21 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 65, - 44 - ] - ] - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 25, - 21 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 19 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 16 - ], - [ - 40, - 1 - ] - ], - "doc": "~Private~" - } - }, - "40": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 40, - 12 - ], - [ - 43, - 1 - ] - ], - "doc": "~Private~" - } - }, - "43": { - "12": { - "name": "addChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child", - "index" - ], - "range": [ - [ - 43, - 12 - ], - [ - 46, - 1 - ] - ], - "doc": "~Private~" - } - }, - "46": { - "15": { - "name": "removeChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 46, - 15 - ], - [ - 51, - 1 - ] - ], - "doc": "~Private~" - } - }, - "51": { - "16": { - "name": "replaceChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "oldChild", - "newChild" - ], - "range": [ - [ - 51, - 16 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "21": { - "name": "insertChildBefore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "currentChild", - "newChild" - ], - "range": [ - [ - 56, - 21 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "20": { - "name": "insertChildAfter", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "currentChild", - "newChild" - ], - "range": [ - [ - 60, - 20 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "21": { - "name": "reparentLastChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 21 - ], - [ - 65, - 44 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/pane-column-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "15": { - "name": "PaneAxisView", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 40 - ] - ], - "bindingType": "variable", - "path": "./pane-axis-view" - } - }, - "5": { - "0": { - "type": "class", - "name": "PaneColumnView", - "bindingType": "exports", - "classProperties": [ - [ - 7, - 12 - ] - ], - "prototypeProperties": [ - [ - 10, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 11, - 16 - ] - ] - } - }, - "7": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 7, - 12 - ], - [ - 10, - 1 - ] - ], - "doc": "~Private~" - } - }, - "10": { - "13": { - "name": "className", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 13 - ], - [ - 11, - 16 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "src/pane-container-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "1": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "3": { - "11": { - "name": "PaneView", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-view" - } - }, - "4": { - "16": { - "name": "PaneContainer", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 41 - ] - ], - "bindingType": "variable", - "path": "./pane-container" - } - }, - "8": { - "0": { - "type": "class", - "name": "PaneContainerView", - "bindingType": "exports", - "classProperties": [ - [ - 13, - 12 - ] - ], - "prototypeProperties": [ - [ - 16, - 14 - ], - [ - 25, - 16 - ], - [ - 30, - 11 - ], - [ - 33, - 17 - ], - [ - 47, - 27 - ], - [ - 50, - 15 - ], - [ - 55, - 16 - ], - [ - 64, - 16 - ], - [ - 67, - 15 - ], - [ - 70, - 15 - ], - [ - 73, - 16 - ], - [ - 79, - 18 - ], - [ - 82, - 17 - ], - [ - 86, - 21 - ], - [ - 89, - 21 - ], - [ - 92, - 17 - ], - [ - 95, - 14 - ], - [ - 98, - 21 - ], - [ - 101, - 25 - ], - [ - 104, - 22 - ], - [ - 107, - 22 - ], - [ - 110, - 23 - ], - [ - 113, - 24 - ], - [ - 116, - 26 - ], - [ - 143, - 26 - ], - [ - 152, - 12 - ] - ], - "doc": "Private: Manages the list of panes within a {WorkspaceView} ", - "range": [ - [ - 8, - 0 - ], - [ - 154, - 19 - ] - ] - } - }, - "13": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 12 - ], - [ - 16, - 1 - ] - ], - "doc": "~Private~" - } - }, - "16": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 16, - 14 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "16": { - "name": "viewForModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "model" - ], - "range": [ - [ - 25, - 16 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "getRoot", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 11 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "17": { - "name": "onRootChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "root" - ], - "range": [ - [ - 33, - 17 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "27": { - "name": "onActivePaneItemChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "activeItem" - ], - "range": [ - [ - 47, - 27 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "15": { - "name": "removeChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 50, - 15 - ], - [ - 55, - 1 - ] - ], - "doc": "~Private~" - } - }, - "55": { - "16": { - "name": "confirmClose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 16 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "16": { - "name": "getPaneViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 16 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "15": { - "name": "indexOfPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "paneView" - ], - "range": [ - [ - 67, - 15 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "15": { - "name": "paneAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 70, - 15 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "16": { - "name": "eachPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 73, - 16 - ], - [ - 79, - 1 - ] - ], - "doc": "~Private~" - } - }, - "79": { - "18": { - "name": "getFocusedPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 18 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 17 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "21": { - "name": "getActivePaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 21 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "17": { - "name": "getActiveView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 92, - 17 - ], - [ - 95, - 1 - ] - ], - "doc": "~Private~" - } - }, - "95": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 95, - 14 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "21": { - "name": "focusNextPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 21 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "focusPreviousPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 25 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "22": { - "name": "focusPaneViewAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 22 - ], - [ - 107, - 1 - ] - ], - "doc": "~Private~" - } - }, - "107": { - "22": { - "name": "focusPaneViewBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 22 - ], - [ - 110, - 1 - ] - ], - "doc": "~Private~" - } - }, - "110": { - "23": { - "name": "focusPaneViewOnLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 23 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "24": { - "name": "focusPaneViewOnRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 113, - 24 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "26": { - "name": "nearestPaneInDirection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "direction" - ], - "range": [ - [ - 116, - 26 - ], - [ - 143, - 1 - ] - ], - "doc": "~Private~" - } - }, - "143": { - "26": { - "name": "boundingBoxForPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "paneView" - ], - "range": [ - [ - 143, - 26 - ], - [ - 152, - 1 - ] - ], - "doc": "~Private~" - } - }, - "152": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 152, - 12 - ], - [ - 154, - 19 - ] - ], - "doc": "Private: Deprecated " - } - } - }, - "exports": 8 - }, - "src/pane-container.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "find", - "exportsProperty": "find" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "3": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "6": { - "0": { - "type": "class", - "name": "PaneContainer", - "bindingType": "exports", - "classProperties": [ - [ - 10, - 12 - ] - ], - "prototypeProperties": [ - [ - 16, - 16 - ], - [ - 23, - 15 - ], - [ - 28, - 21 - ], - [ - 34, - 19 - ], - [ - 38, - 16 - ], - [ - 42, - 12 - ], - [ - 45, - 17 - ], - [ - 48, - 14 - ], - [ - 51, - 11 - ], - [ - 54, - 20 - ], - [ - 64, - 24 - ], - [ - 75, - 17 - ], - [ - 89, - 21 - ], - [ - 92, - 17 - ], - [ - 96, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 6, - 0 - ], - [ - 97, - 42 - ] - ] - } - }, - "10": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 10, - 12 - ], - [ - 10, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "16": { - "16": { - "name": "previousRoot", - "type": "primitive", - "range": [ - [ - 16, - 16 - ], - [ - 16, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "23": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 23, - 15 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 28, - 21 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 34, - 19 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "16": { - "name": "replaceChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "oldChild", - "newChild" - ], - "range": [ - [ - 38, - 16 - ], - [ - 42, - 1 - ] - ], - "doc": "~Private~" - } - }, - "42": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 12 - ], - [ - 45, - 1 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 17 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 48, - 14 - ], - [ - 51, - 1 - ] - ], - "doc": "~Private~" - } - }, - "51": { - "11": { - "name": "saveAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 51, - 11 - ], - [ - 54, - 1 - ] - ], - "doc": "~Private~" - } - }, - "54": { - "20": { - "name": "activateNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 54, - 20 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "24": { - "name": "activatePreviousPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 24 - ], - [ - 75, - 1 - ] - ], - "doc": "~Private~" - } - }, - "75": { - "17": { - "name": "onRootChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "root" - ], - "range": [ - [ - 75, - 17 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "destroyEmptyPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "17": { - "name": "itemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 92, - 17 - ], - [ - 96, - 1 - ] - ], - "doc": "~Private~" - } - }, - "96": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 13 - ], - [ - 97, - 42 - ] - ], - "doc": "Private: Called by Model superclass when destroyed " - } - } - }, - "exports": 6 - }, - "src/pane-row-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "15": { - "name": "PaneAxisView", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 40 - ] - ], - "bindingType": "variable", - "path": "./pane-axis-view" - } - }, - "5": { - "0": { - "type": "class", - "name": "PaneRowView", - "bindingType": "exports", - "classProperties": [ - [ - 6, - 12 - ] - ], - "prototypeProperties": [ - [ - 9, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 10, - 13 - ] - ] - } - }, - "6": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 12 - ], - [ - 9, - 1 - ] - ] - } - }, - "9": { - "13": { - "name": "className", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 13 - ], - [ - 10, - 13 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "src/pane-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "3": { - "20": { - "name": "PropertyAccessors", - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 47 - ] - ], - "bindingType": "variable", - "module": "property-accessors" - } - }, - "5": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "14": { - "0": { - "type": "class", - "name": "PaneView", - "bindingType": "exports", - "classProperties": [ - [ - 18, - 12 - ], - [ - 20, - 12 - ] - ], - "prototypeProperties": [ - [ - 32, - 22 - ], - [ - 34, - 14 - ], - [ - 45, - 16 - ], - [ - 84, - 14 - ], - [ - 89, - 12 - ], - [ - 94, - 18 - ], - [ - 99, - 19 - ], - [ - 104, - 16 - ], - [ - 109, - 20 - ], - [ - 113, - 15 - ], - [ - 121, - 15 - ], - [ - 124, - 25 - ], - [ - 133, - 15 - ], - [ - 139, - 21 - ], - [ - 142, - 23 - ], - [ - 158, - 15 - ], - [ - 161, - 17 - ], - [ - 175, - 15 - ], - [ - 178, - 25 - ], - [ - 182, - 26 - ], - [ - 185, - 15 - ], - [ - 199, - 13 - ], - [ - 201, - 14 - ], - [ - 203, - 11 - ], - [ - 205, - 13 - ], - [ - 210, - 16 - ], - [ - 213, - 16 - ], - [ - 216, - 10 - ] - ], - "doc": " Public: A container which can contains multiple items to be switched between.\n\nItems can be almost anything however most commonly they're {EditorView}s.\n\nMost packages won't need to use this class, unless you're interested in\nbuilding a package that deals with switching between panes or items. ", - "range": [ - [ - 14, - 0 - ], - [ - 219, - 9 - ] - ] - } - }, - "18": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 18, - 12 - ], - [ - 18, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "20": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "wrappedView" - ], - "range": [ - [ - 20, - 12 - ], - [ - 24, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "22": { - "name": "previousActiveItem", - "type": "primitive", - "range": [ - [ - 32, - 22 - ], - [ - 32, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "34": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 34, - 14 - ], - [ - 45, - 1 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 16 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "14": { - "name": "removeItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 84, - 14 - ], - [ - 89, - 1 - ] - ], - "doc": "Deprecated: Use ::destroyItem " - } - }, - "89": { - "12": { - "name": "showItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 89, - 12 - ], - [ - 94, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItem " - } - }, - "94": { - "18": { - "name": "showItemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 94, - 18 - ], - [ - 99, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItemForUri " - } - }, - "99": { - "19": { - "name": "showItemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 99, - 19 - ], - [ - 104, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItemAtIndex " - } - }, - "104": { - "16": { - "name": "showNextItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 16 - ], - [ - 109, - 1 - ] - ], - "doc": "Deprecated: Use ::activateNextItem " - } - }, - "109": { - "20": { - "name": "showPreviousItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 20 - ], - [ - 113, - 1 - ] - ], - "doc": "Deprecated: Use ::activatePreviousItem " - } - }, - "113": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 113, - 15 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "15": { - "name": "onActivated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 121, - 15 - ], - [ - 124, - 1 - ] - ], - "doc": "~Private~" - } - }, - "124": { - "25": { - "name": "onActiveStatusChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "active" - ], - "range": [ - [ - 124, - 25 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "15": { - "name": "getNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 15 - ], - [ - 139, - 1 - ] - ], - "doc": "Public: Returns the next pane, ordered by creation. " - } - }, - "139": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 139, - 21 - ], - [ - 142, - 1 - ] - ], - "doc": "~Private~" - } - }, - "142": { - "23": { - "name": "onActiveItemChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 142, - 23 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "15": { - "name": "onItemAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index" - ], - "range": [ - [ - 158, - 15 - ], - [ - 161, - 1 - ] - ], - "doc": "~Private~" - } - }, - "161": { - "17": { - "name": "onItemRemoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index", - "destroyed" - ], - "range": [ - [ - 161, - 17 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "15": { - "name": "onItemMoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "newIndex" - ], - "range": [ - [ - 175, - 15 - ], - [ - 178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "178": { - "25": { - "name": "onBeforeItemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 178, - 25 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "26": { - "name": "activeItemTitleChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 182, - 26 - ], - [ - 185, - 1 - ] - ], - "doc": "~Private~" - } - }, - "185": { - "15": { - "name": "viewForItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 185, - 15 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "199": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 199, - 13 - ], - [ - 199, - 57 - ] - ], - "doc": "~Private~" - } - }, - "201": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 201, - 14 - ], - [ - 201, - 59 - ] - ], - "doc": "~Private~" - } - }, - "203": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 203, - 11 - ], - [ - 203, - 53 - ] - ], - "doc": "~Private~" - } - }, - "205": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 205, - 13 - ], - [ - 205, - 57 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "16": { - "name": "getContainer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": " Public: Get the container view housing this pane.\n\nReturns a {View}. " - } - }, - "213": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 16 - ], - [ - 216, - 1 - ] - ], - "doc": "~Private~" - } - }, - "216": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "keepData" - ], - "range": [ - [ - 216, - 10 - ], - [ - 219, - 9 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 14 - }, - "src/pane.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "find", - "exportsProperty": "find" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 13 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "compact", - "exportsProperty": "compact" - }, - "16": { - "type": "import", - "range": [ - [ - 0, - 16 - ], - [ - 0, - 21 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "extend", - "exportsProperty": "extend" - }, - "24": { - "type": "import", - "range": [ - [ - 0, - 24 - ], - [ - 0, - 27 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "last", - "exportsProperty": "last" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - }, - "8": { - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 15 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Sequence", - "exportsProperty": "Sequence" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "3": { - "11": { - "name": "PaneAxis", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-axis" - } - }, - "4": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "5": { - "11": { - "type": "primitive", - "range": [ - [ - 5, - 11 - ], - [ - 5, - 14 - ] - ] - } - }, - "11": { - "0": { - "type": "class", - "name": "Pane", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 43, - 19 - ], - [ - 50, - 21 - ], - [ - 57, - 16 - ], - [ - 59, - 12 - ], - [ - 62, - 9 - ], - [ - 67, - 8 - ], - [ - 73, - 12 - ], - [ - 77, - 12 - ], - [ - 82, - 12 - ], - [ - 88, - 17 - ], - [ - 93, - 19 - ], - [ - 97, - 15 - ], - [ - 101, - 20 - ], - [ - 109, - 24 - ], - [ - 117, - 22 - ], - [ - 121, - 23 - ], - [ - 125, - 16 - ], - [ - 137, - 11 - ], - [ - 154, - 12 - ], - [ - 159, - 14 - ], - [ - 175, - 12 - ], - [ - 182, - 18 - ], - [ - 187, - 21 - ], - [ - 193, - 15 - ], - [ - 204, - 16 - ], - [ - 208, - 24 - ], - [ - 211, - 11 - ], - [ - 218, - 13 - ], - [ - 224, - 20 - ], - [ - 239, - 18 - ], - [ - 243, - 20 - ], - [ - 251, - 12 - ], - [ - 263, - 14 - ], - [ - 273, - 13 - ], - [ - 278, - 14 - ], - [ - 283, - 22 - ], - [ - 290, - 18 - ], - [ - 300, - 13 - ], - [ - 309, - 14 - ], - [ - 318, - 11 - ], - [ - 327, - 13 - ], - [ - 330, - 9 - ], - [ - 344, - 23 - ], - [ - 356, - 32 - ] - ], - "doc": " Public: A container for multiple items, one of which is *active* at a given\ntime. With the default packages, a tab is displayed for each item and the\nactive item's view is displayed. ", - "range": [ - [ - 11, - 0 - ], - [ - 364, - 19 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 29, - 15 - ], - [ - 43, - 1 - ] - ], - "doc": "~Private~" - } - }, - "43": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 19 - ], - [ - 50, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during serialization. " - } - }, - "50": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 50, - 21 - ], - [ - 57, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during deserialization. " - } - }, - "57": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 16 - ], - [ - 57, - 51 - ] - ], - "doc": "Private: Called by the view layer to construct a view for this model. " - } - }, - "59": { - "12": { - "name": "isActive", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 12 - ], - [ - 59, - 21 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 62, - 9 - ], - [ - 67, - 1 - ] - ], - "doc": "Private: Called by the view layer to indicate that the pane has gained focus. " - } - }, - "67": { - "8": { - "name": "blur", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 8 - ], - [ - 73, - 1 - ] - ], - "doc": "Private: Called by the view layer to indicate that the pane has lost focus. " - } - }, - "73": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 12 - ], - [ - 77, - 1 - ] - ], - "doc": " Public: Makes this pane the *active* pane, causing it to gain focus\nimmediately. " - } - }, - "77": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 77, - 12 - ], - [ - 77, - 20 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "12": { - "name": "getItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 12 - ], - [ - 88, - 1 - ] - ], - "doc": " Public: Get the items in this pane.\n\nReturns an {Array} of items. " - } - }, - "88": { - "17": { - "name": "getActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 17 - ], - [ - 93, - 1 - ] - ], - "doc": " Public: Get the active pane item in this pane.\n\nReturns a pane item. " - } - }, - "93": { - "19": { - "name": "getActiveEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 93, - 19 - ], - [ - 97, - 1 - ] - ], - "doc": " Public: Returns an {Editor} if the pane item is an {Editor}, or null\notherwise. " - } - }, - "97": { - "15": { - "name": "itemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 97, - 15 - ], - [ - 101, - 1 - ] - ], - "doc": "Public: Returns the item at the specified index. " - } - }, - "101": { - "20": { - "name": "activateNextItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 20 - ], - [ - 109, - 1 - ] - ], - "doc": "Public: Makes the next item active. " - } - }, - "109": { - "24": { - "name": "activatePreviousItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 24 - ], - [ - 117, - 1 - ] - ], - "doc": "Public: Makes the previous item active. " - } - }, - "117": { - "22": { - "name": "getActiveItemIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 22 - ], - [ - 121, - 1 - ] - ], - "doc": "Private: Returns the index of the current active item. " - } - }, - "121": { - "23": { - "name": "activateItemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 121, - 23 - ], - [ - 125, - 1 - ] - ], - "doc": "Private: Makes the item at the given index active. " - } - }, - "125": { - "16": { - "name": "activateItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 125, - 16 - ], - [ - 137, - 1 - ] - ], - "doc": "Private: Makes the given item active, adding the item if necessary. " - } - }, - "137": { - "11": { - "name": "addItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index" - ], - "range": [ - [ - 137, - 11 - ], - [ - 154, - 1 - ] - ], - "doc": " Public: Adds the item to the pane.\n\nitem - The item to add. It can be a model with an associated view or a view.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns the added item " - } - }, - "154": { - "12": { - "name": "addItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items", - "index" - ], - "range": [ - [ - 154, - 12 - ], - [ - 159, - 1 - ] - ], - "doc": " Public: Adds the given items to the pane.\n\nitems - An {Array} of items to add. Items can be models with associated\n views or views. Any items that are already present in items will\n not be added.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns an {Array} of the added items " - } - }, - "159": { - "14": { - "name": "removeItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "destroying" - ], - "range": [ - [ - 159, - 14 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "12": { - "name": "moveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "newIndex" - ], - "range": [ - [ - 175, - 12 - ], - [ - 182, - 1 - ] - ], - "doc": "Public: Moves the given item to the specified index. " - } - }, - "182": { - "18": { - "name": "moveItemToPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "pane", - "index" - ], - "range": [ - [ - 182, - 18 - ], - [ - 187, - 1 - ] - ], - "doc": "Public: Moves the given item to the given index at another pane. " - } - }, - "187": { - "21": { - "name": "destroyActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 187, - 21 - ], - [ - 193, - 1 - ] - ], - "doc": "Public: Destroys the currently active item and make the next item active. " - } - }, - "193": { - "15": { - "name": "destroyItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 193, - 15 - ], - [ - 204, - 1 - ] - ], - "doc": " Public: Destroys the given item. If it is the active item, activate the next\none. If this is the last item, also destroys the pane. " - } - }, - "204": { - "16": { - "name": "destroyItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 204, - 16 - ], - [ - 208, - 1 - ] - ], - "doc": "Public: Destroys all items and destroys the pane. " - } - }, - "208": { - "24": { - "name": "destroyInactiveItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 208, - 24 - ], - [ - 211, - 1 - ] - ], - "doc": "Public: Destroys all items but the active one. " - } - }, - "211": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 211, - 11 - ], - [ - 218, - 1 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 218, - 13 - ], - [ - 224, - 1 - ] - ], - "doc": "Private: Called by model superclass. " - } - }, - "224": { - "20": { - "name": "promptToSaveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 224, - 20 - ], - [ - 239, - 1 - ] - ], - "doc": " Public: Prompts the user to save the given item if it can be saved and is\ncurrently unsaved. " - } - }, - "239": { - "18": { - "name": "saveActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 239, - 18 - ], - [ - 243, - 1 - ] - ], - "doc": "Public: Saves the active item. " - } - }, - "243": { - "20": { - "name": "saveActiveItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 243, - 20 - ], - [ - 251, - 1 - ] - ], - "doc": "Public: Saves the active item at a prompted-for location. " - } - }, - "251": { - "12": { - "name": "saveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "nextAction" - ], - "range": [ - [ - 251, - 12 - ], - [ - 263, - 1 - ] - ], - "doc": " Public: Saves the specified item.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " - } - }, - "263": { - "14": { - "name": "saveItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "nextAction" - ], - "range": [ - [ - 263, - 14 - ], - [ - 273, - 1 - ] - ], - "doc": " Public: Saves the given item at a prompted-for location.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " - } - }, - "273": { - "13": { - "name": "saveItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 273, - 13 - ], - [ - 278, - 1 - ] - ], - "doc": "Public: Saves all items. " - } - }, - "278": { - "14": { - "name": "itemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 278, - 14 - ], - [ - 283, - 1 - ] - ], - "doc": " Public: Returns the first item that matches the given URI or undefined if\nnone exists. " - } - }, - "283": { - "22": { - "name": "activateItemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 283, - 22 - ], - [ - 290, - 1 - ] - ], - "doc": " Public: Activates the first item that matches the given URI. Returns a\nboolean indicating whether a matching item was found. " - } - }, - "290": { - "18": { - "name": "copyActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 290, - 18 - ], - [ - 300, - 1 - ] - ], - "doc": "~Private~" - } - }, - "300": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 300, - 13 - ], - [ - 309, - 1 - ] - ], - "doc": " Public: Creates a new pane to the left of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "309": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 309, - 14 - ], - [ - 318, - 1 - ] - ], - "doc": " Public: Creates a new pane to the right of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "318": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 318, - 11 - ], - [ - 327, - 1 - ] - ], - "doc": " Public: Creates a new pane above the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "327": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 327, - 13 - ], - [ - 330, - 1 - ] - ], - "doc": " Public: Creates a new pane below the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "330": { - "9": { - "name": "split", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "orientation", - "side", - "params" - ], - "range": [ - [ - 330, - 9 - ], - [ - 344, - 1 - ] - ], - "doc": "~Private~" - } - }, - "344": { - "23": { - "name": "findLeftmostSibling", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 344, - 23 - ], - [ - 356, - 1 - ] - ], - "doc": " Private: If the parent is a horizontal axis, returns its first child if it is a pane;\notherwise returns this pane. " - } - }, - "356": { - "32": { - "name": "findOrCreateRightmostSibling", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 356, - 32 - ], - [ - 364, - 19 - ] - ], - "doc": " Private: If the parent is a horizontal axis, returns its last child if it is a pane;\notherwise returns a new pane created by splitting this pane rightward. " - } - } - }, - "exports": 11 - }, - "src/project.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "9": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 9, - 15 - ], - [ - 9, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "10": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer" - } - }, - "11": { - "1": { - "type": "import", - "range": [ - [ - 11, - 1 - ], - [ - 11, - 9 - ] - ], - "bindingType": "variable", - "module": "pathwatcher", - "name": "Directory", - "exportsProperty": "Directory" - } - }, - "13": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 13, - 9 - ], - [ - 13, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "14": { - "7": { - "name": "Task", - "type": "import", - "range": [ - [ - 14, - 7 - ], - [ - 14, - 22 - ] - ], - "bindingType": "variable", - "path": "./task" - } - }, - "15": { - "6": { - "name": "Git", - "type": "import", - "range": [ - [ - 15, - 6 - ], - [ - 15, - 20 - ] - ], - "bindingType": "variable", - "path": "./git" - } - }, - "21": { - "0": { - "type": "class", - "name": "Project", - "bindingType": "exports", - "classProperties": [ - [ - 26, - 25 - ] - ], - "prototypeProperties": [ - [ - 31, - 15 - ], - [ - 40, - 19 - ], - [ - 44, - 21 - ], - [ - 48, - 13 - ], - [ - 52, - 15 - ], - [ - 57, - 28 - ], - [ - 61, - 11 - ], - [ - 64, - 11 - ], - [ - 68, - 11 - ], - [ - 85, - 20 - ], - [ - 95, - 11 - ], - [ - 109, - 14 - ], - [ - 114, - 12 - ], - [ - 124, - 8 - ], - [ - 130, - 12 - ], - [ - 139, - 14 - ], - [ - 143, - 18 - ], - [ - 146, - 21 - ], - [ - 150, - 21 - ], - [ - 163, - 17 - ], - [ - 168, - 15 - ], - [ - 172, - 19 - ], - [ - 184, - 15 - ], - [ - 194, - 13 - ], - [ - 198, - 20 - ], - [ - 207, - 16 - ], - [ - 211, - 23 - ], - [ - 221, - 8 - ], - [ - 268, - 11 - ], - [ - 300, - 24 - ], - [ - 304, - 14 - ], - [ - 315, - 18 - ], - [ - 320, - 20 - ], - [ - 325, - 14 - ], - [ - 330, - 14 - ] - ], - "doc": " Public: Represents a project that's opened in Atom.\n\nAn instance of this class is always available as the `atom.project` global. ", - "range": [ - [ - 21, - 0 - ], - [ - 332, - 31 - ] - ] - } - }, - "26": { - "25": { - "name": "pathForRepositoryUrl", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "repoUrl" - ], - "range": [ - [ - 26, - 25 - ], - [ - 31, - 1 - ] - ], - "doc": "Public: Find the local path for the given repository URL. " - } - }, - "31": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 31, - 15 - ], - [ - 40, - 1 - ] - ], - "doc": "~Private~" - } - }, - "40": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 40, - 19 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 44, - 21 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 13 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "15": { - "name": "destroyRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 15 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "28": { - "name": "destroyUnretainedBuffers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 28 - ], - [ - 61, - 1 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "11": { - "name": "getRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 11 - ], - [ - 61, - 18 - ] - ], - "doc": "Public: Returns the {Git} repository if available. " - } - }, - "64": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 11 - ], - [ - 68, - 1 - ] - ], - "doc": "Public: Returns the project's fullpath. " - } - }, - "68": { - "11": { - "name": "setPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "projectPath" - ], - "range": [ - [ - 68, - 11 - ], - [ - 85, - 1 - ] - ], - "doc": "Public: Sets the project's fullpath. " - } - }, - "85": { - "20": { - "name": "getRootDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 85, - 20 - ], - [ - 95, - 1 - ] - ], - "doc": "Public: Returns the root {Directory} object for this project. " - } - }, - "95": { - "11": { - "name": "resolve", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 95, - 11 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Given a uri, this resolves it relative to the project directory. If\nthe path is already absolute or if it is prefixed with a scheme, it is\nreturned unchanged.\n\nuri - The {String} name of the path to convert.\n\nReturns a {String} or undefined if the uri is not missing or empty. " - } - }, - "109": { - "14": { - "name": "relativize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fullPath" - ], - "range": [ - [ - 109, - 14 - ], - [ - 114, - 1 - ] - ], - "doc": "Public: Make the given path relative to the project directory. " - } - }, - "114": { - "12": { - "name": "contains", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToCheck" - ], - "range": [ - [ - 114, - 12 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Returns whether the given path is inside this project. " - } - }, - "124": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "options" - ], - "range": [ - [ - 124, - 8 - ], - [ - 130, - 1 - ] - ], - "doc": " Private: Given a path to a file, this constructs and associates a new\n{Editor}, showing the file.\n\nfilePath - The {String} path of the file to associate with.\noptions - Options that you can pass to the {Editor} constructor.\n\nReturns a promise that resolves to an {Editor}. " - } - }, - "130": { - "12": { - "name": "openSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "options" - ], - "range": [ - [ - 130, - 12 - ], - [ - 139, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "139": { - "14": { - "name": "getBuffers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 139, - 14 - ], - [ - 143, - 1 - ] - ], - "doc": " Private: Retrieves all the {TextBuffer}s in the project; that is, the\nbuffers for all open files.\n\nReturns an {Array} of {TextBuffer}s. " - } - }, - "143": { - "18": { - "name": "isPathModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 143, - 18 - ], - [ - 146, - 1 - ] - ], - "doc": "Private: Is the buffer for the given path modified? " - } - }, - "146": { - "21": { - "name": "findBufferForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 146, - 21 - ], - [ - 150, - 1 - ] - ], - "doc": "~Private~" - } - }, - "150": { - "21": { - "name": "bufferForPathSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 150, - 21 - ], - [ - 163, - 1 - ] - ], - "doc": "Private: Only to be used in specs " - } - }, - "163": { - "17": { - "name": "bufferForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 163, - 17 - ], - [ - 168, - 1 - ] - ], - "doc": " Private: Given a file path, this retrieves or creates a new {TextBuffer}.\n\nIf the `filePath` already has a `buffer`, that value is used instead. Otherwise,\n`text` is used as the contents of the new buffer.\n\nfilePath - A {String} representing a path. If `null`, an \"Untitled\" buffer is created.\n\nReturns a promise that resolves to the {TextBuffer}. " - } - }, - "168": { - "15": { - "name": "bufferForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 168, - 15 - ], - [ - 172, - 1 - ] - ], - "doc": "~Private~" - } - }, - "172": { - "19": { - "name": "buildBufferSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "absoluteFilePath" - ], - "range": [ - [ - 172, - 19 - ], - [ - 184, - 1 - ] - ], - "doc": "Private: Still needed when deserializing a tokenized buffer " - } - }, - "184": { - "15": { - "name": "buildBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "absoluteFilePath" - ], - "range": [ - [ - 184, - 15 - ], - [ - 194, - 1 - ] - ], - "doc": " Private: Given a file path, this sets its {TextBuffer}.\n\nabsoluteFilePath - A {String} representing a path.\ntext - The {String} text to use as a buffer.\n\nReturns a promise that resolves to the {TextBuffer}. " - } - }, - "194": { - "13": { - "name": "addBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "options" - ], - "range": [ - [ - 194, - 13 - ], - [ - 198, - 1 - ] - ], - "doc": "~Private~" - } - }, - "198": { - "20": { - "name": "addBufferAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "index", - "options" - ], - "range": [ - [ - 198, - 20 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "16": { - "name": "removeBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer" - ], - "range": [ - [ - 207, - 16 - ], - [ - 211, - 1 - ] - ], - "doc": " Private: Removes a {TextBuffer} association from the project.\n\nReturns the removed {TextBuffer}. " - } - }, - "211": { - "23": { - "name": "removeBufferAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index", - "options" - ], - "range": [ - [ - 211, - 23 - ], - [ - 221, - 1 - ] - ], - "doc": "~Private~" - } - }, - "221": { - "8": { - "name": "scan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "options", - "iterator" - ], - "range": [ - [ - 221, - 8 - ], - [ - 268, - 1 - ] - ], - "doc": " Public: Performs a search across all the files in the project.\n\nregex - A {RegExp} to search with.\noptions - An optional options {Object} (default: {}):\n :paths - An {Array} of glob patterns to search within\niterator - A {Function} callback on each file found " - } - }, - "268": { - "11": { - "name": "replace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "replacementText", - "filePaths", - "iterator" - ], - "range": [ - [ - 268, - 11 - ], - [ - 300, - 1 - ] - ], - "doc": " Public: Performs a replace across all the specified files in the project.\n\nregex - A {RegExp} to search with.\nreplacementText - Text to replace all matches of regex with\nfilePaths - List of file path strings to run the replace on.\niterator - A {Function} callback on each file with replacements:\n `({filePath, replacements}) ->`. " - } - }, - "300": { - "24": { - "name": "buildEditorForBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "editorOptions" - ], - "range": [ - [ - 300, - 24 - ], - [ - 304, - 1 - ] - ], - "doc": "~Private~" - } - }, - "304": { - "14": { - "name": "eachBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 304, - 14 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "18": { - "name": "registerOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 315, - 18 - ], - [ - 320, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "320": { - "20": { - "name": "unregisterOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 320, - 20 - ], - [ - 325, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "325": { - "14": { - "name": "eachEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 325, - 14 - ], - [ - 330, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "330": { - "14": { - "name": "getEditors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 330, - 14 - ], - [ - 332, - 31 - ] - ], - "doc": "Deprecated: delegate " - } - } - }, - "exports": 21 - }, - "src/react-editor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "defaults", - "exportsProperty": "defaults" - } - }, - "3": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 3, - 13 - ], - [ - 3, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer" - } - }, - "4": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "5": { - "18": { - "name": "EditorComponent", - "type": "import", - "range": [ - [ - 5, - 18 - ], - [ - 5, - 45 - ] - ], - "bindingType": "variable", - "path": "./editor-component" - } - }, - "8": { - "0": { - "type": "class", - "name": "ReactEditorView", - "bindingType": "exports", - "classProperties": [ - [ - 9, - 12 - ] - ], - "prototypeProperties": [ - [ - 14, - 17 - ], - [ - 16, - 15 - ], - [ - 58, - 13 - ], - [ - 60, - 12 - ], - [ - 69, - 15 - ], - [ - 77, - 13 - ], - [ - 83, - 14 - ], - [ - 89, - 18 - ], - [ - 92, - 26 - ], - [ - 95, - 26 - ], - [ - 98, - 26 - ], - [ - 101, - 25 - ], - [ - 105, - 34 - ], - [ - 108, - 34 - ], - [ - 111, - 21 - ], - [ - 116, - 16 - ], - [ - 122, - 13 - ], - [ - 127, - 14 - ], - [ - 132, - 11 - ], - [ - 137, - 13 - ], - [ - 141, - 11 - ], - [ - 144, - 9 - ], - [ - 150, - 8 - ], - [ - 154, - 8 - ], - [ - 158, - 20 - ], - [ - 165, - 12 - ], - [ - 168, - 10 - ], - [ - 171, - 12 - ], - [ - 174, - 28 - ], - [ - 177, - 27 - ], - [ - 180, - 17 - ], - [ - 183, - 17 - ], - [ - 186, - 15 - ], - [ - 189, - 15 - ], - [ - 192, - 19 - ], - [ - 195, - 17 - ], - [ - 198, - 22 - ], - [ - 201, - 15 - ], - [ - 204, - 21 - ], - [ - 207, - 18 - ], - [ - 210, - 18 - ], - [ - 213, - 11 - ], - [ - 216, - 11 - ], - [ - 219, - 14 - ], - [ - 222, - 18 - ], - [ - 225, - 19 - ], - [ - 228, - 24 - ], - [ - 230, - 17 - ], - [ - 232, - 16 - ], - [ - 234, - 10 - ], - [ - 236, - 22 - ], - [ - 242, - 27 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 243, - 49 - ] - ] - } - }, - "9": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 9, - 12 - ], - [ - 14, - 1 - ] - ] - } - }, - "14": { - "17": { - "name": "focusOnAttach", - "type": "primitive", - "range": [ - [ - 14, - 17 - ], - [ - 14, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorOrParams", - "props" - ], - "range": [ - [ - 16, - 15 - ], - [ - 58, - 1 - ] - ], - "doc": "~Private~" - } - }, - "58": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 58, - 13 - ], - [ - 58, - 22 - ] - ], - "doc": "~Private~" - } - }, - "69": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 69, - 15 - ], - [ - 77, - 1 - ] - ], - "doc": "~Private~" - } - }, - "77": { - "13": { - "name": "scrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 77, - 13 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "14": { - "name": "scrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 83, - 14 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "18": { - "name": "scrollToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 18 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 92, - 26 - ], - [ - 95, - 1 - ] - ], - "doc": "~Private~" - } - }, - "95": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 95, - 26 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 26 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "scrollToPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 101, - 25 - ], - [ - 105, - 1 - ] - ], - "doc": "~Private~" - } - }, - "105": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 105, - 34 - ], - [ - 108, - 1 - ] - ], - "doc": "~Private~" - } - }, - "108": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 108, - 34 - ], - [ - 111, - 1 - ] - ], - "doc": "~Private~" - } - }, - "111": { - "21": { - "name": "appendToLinesView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 111, - 21 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 16 - ], - [ - 122, - 1 - ] - ], - "doc": "~Private~" - } - }, - "122": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 122, - 13 - ], - [ - 127, - 1 - ] - ], - "doc": "Public: Split the editor view left. " - } - }, - "127": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 127, - 14 - ], - [ - 132, - 1 - ] - ], - "doc": "Public: Split the editor view right. " - } - }, - "132": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 132, - 11 - ], - [ - 137, - 1 - ] - ], - "doc": "Public: Split the editor view up. " - } - }, - "137": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 13 - ], - [ - 141, - 1 - ] - ], - "doc": "Public: Split the editor view down. " - } - }, - "141": { - "11": { - "name": "getPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 11 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 144, - 9 - ], - [ - 150, - 1 - ] - ], - "doc": "~Private~" - } - }, - "150": { - "8": { - "name": "hide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 150, - 8 - ], - [ - 154, - 1 - ] - ], - "doc": "~Private~" - } - }, - "154": { - "8": { - "name": "show", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 8 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "20": { - "name": "pollComponentDOM", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 20 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 12 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 10 - ], - [ - 171, - 1 - ] - ], - "doc": "~Private~" - } - }, - "171": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 12 - ], - [ - 174, - 1 - ] - ], - "doc": "~Private~" - } - }, - "174": { - "28": { - "name": "getFirstVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 174, - 28 - ], - [ - 177, - 1 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "27": { - "name": "getLastVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 27 - ], - [ - 180, - 1 - ] - ], - "doc": "~Private~" - } - }, - "180": { - "17": { - "name": "getFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 180, - 17 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "17": { - "name": "setFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 183, - 17 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "15": { - "name": "getFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 186, - 15 - ], - [ - 189, - 1 - ] - ], - "doc": "~Private~" - } - }, - "189": { - "15": { - "name": "setFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 189, - 15 - ], - [ - 192, - 1 - ] - ], - "doc": "~Private~" - } - }, - "192": { - "19": { - "name": "setWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "widthInChars" - ], - "range": [ - [ - 192, - 19 - ], - [ - 195, - 1 - ] - ], - "doc": "~Private~" - } - }, - "195": { - "17": { - "name": "setLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 195, - 17 - ], - [ - 198, - 1 - ] - ], - "doc": "~Private~" - } - }, - "198": { - "22": { - "name": "setShowIndentGuide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showIndentGuide" - ], - "range": [ - [ - 198, - 22 - ], - [ - 201, - 1 - ] - ], - "doc": "~Private~" - } - }, - "201": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 201, - 15 - ], - [ - 204, - 1 - ] - ], - "doc": "~Private~" - } - }, - "204": { - "21": { - "name": "setShowInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showInvisibles" - ], - "range": [ - [ - 204, - 21 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 207, - 18 - ], - [ - 210, - 1 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 18 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 11 - ], - [ - 216, - 1 - ] - ], - "doc": "~Private~" - } - }, - "216": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 216, - 11 - ], - [ - 219, - 1 - ] - ], - "doc": "~Private~" - } - }, - "219": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 219, - 14 - ], - [ - 222, - 1 - ] - ], - "doc": "~Private~" - } - }, - "222": { - "18": { - "name": "isInputEnabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 222, - 18 - ], - [ - 225, - 1 - ] - ], - "doc": "~Private~" - } - }, - "225": { - "19": { - "name": "setInputEnabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "inputEnabled" - ], - "range": [ - [ - 225, - 19 - ], - [ - 228, - 1 - ] - ], - "doc": "~Private~" - } - }, - "228": { - "24": { - "name": "requestDisplayUpdate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 228, - 24 - ], - [ - 228, - 25 - ] - ], - "doc": "~Private~" - } - }, - "230": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 230, - 17 - ], - [ - 230, - 18 - ] - ], - "doc": "~Private~" - } - }, - "232": { - "16": { - "name": "resetDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 232, - 16 - ], - [ - 232, - 17 - ] - ], - "doc": "~Private~" - } - }, - "234": { - "10": { - "name": "redraw", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 10 - ], - [ - 234, - 11 - ] - ], - "doc": "~Private~" - } - }, - "236": { - "22": { - "name": "setPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "placeholderText" - ], - "range": [ - [ - 236, - 22 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "27": { - "name": "lineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 242, - 27 - ], - [ - 243, - 49 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/replace-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "PathReplacer", - "exportsProperty": "PathReplacer" - } - } - }, - "exports": 2 - }, - "src/repository-status-handler.coffee": { - "objects": { - "0": { - "6": { - "name": "Git", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "git-utils" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - } - }, - "exports": 3 - }, - "src/row-map.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 15 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "spliceWithArray", - "exportsProperty": "spliceWithArray" - } - }, - "16": { - "0": { - "type": "class", - "name": "RowMap", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 15 - ], - [ - 21, - 14 - ], - [ - 27, - 30 - ], - [ - 40, - 30 - ], - [ - 50, - 30 - ], - [ - 61, - 17 - ], - [ - 83, - 23 - ], - [ - 93, - 23 - ], - [ - 103, - 35 - ], - [ - 116, - 11 - ] - ], - "doc": " Private: Used by the display buffer to map screen rows to buffer rows and vice-versa.\nThis mapping may not be 1:1 due to folds and soft-wraps. This object maintains\nan array of regions, which contain `bufferRows` and `screenRows` fields.\n\nRectangular Regions:\nIf a region has the same number of buffer rows and screen rows, it is referred\nto as \"rectangular\", and represents one or more non-soft-wrapped, non-folded\nlines.\n\nTrapezoidal Regions:\nIf a region has one buffer row and more than one screen row, it represents a\nsoft-wrapped line. If a region has one screen row and more than one buffer\nrow, it represents folded lines ", - "range": [ - [ - 16, - 0 - ], - [ - 118, - 35 - ] - ] - } - }, - "17": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 15 - ], - [ - 21, - 1 - ] - ] - } - }, - "21": { - "14": { - "name": "getRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 14 - ], - [ - 27, - 1 - ] - ], - "doc": "Public: Returns a copy of all the regions in the map " - } - }, - "27": { - "30": { - "name": "screenRowRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 27, - 30 - ], - [ - 40, - 1 - ] - ], - "doc": " Public: Returns an end-row-exclusive range of screen rows corresponding to\nthe given buffer row. If the buffer row is soft-wrapped, the range may span\nmultiple screen rows. Otherwise it will span a single screen row. " - } - }, - "40": { - "30": { - "name": "bufferRowRangeForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetScreenRow" - ], - "range": [ - [ - 40, - 30 - ], - [ - 50, - 1 - ] - ], - "doc": " Public: Returns an end-row-exclusive range of buffer rows corresponding to\nthe given screen row. If the screen row is the first line of a folded range\nof buffer rows, the range may span multiple buffer rows. Otherwise it will\nspan a single buffer row. " - } - }, - "50": { - "30": { - "name": "bufferRowRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 50, - 30 - ], - [ - 61, - 1 - ] - ], - "doc": " Public: If the given buffer row is part of a folded row range, returns that\nrow range. Otherwise returns a range spanning only the given buffer row. " - } - }, - "61": { - "17": { - "name": "spliceRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "bufferRowCount", - "regions" - ], - "range": [ - [ - 61, - 17 - ], - [ - 83, - 1 - ] - ], - "doc": " Public: Given a starting buffer row, the number of buffer rows to replace,\nand an array of regions of shape {bufferRows: n, screenRows: m}, splices\nthe regions at the appropriate location in the map. This method is used by\ndisplay buffer to keep the map updated when the underlying buffer changes. " - } - }, - "83": { - "23": { - "name": "traverseToBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 83, - 23 - ], - [ - 93, - 1 - ] - ], - "doc": "~Private~" - } - }, - "93": { - "23": { - "name": "traverseToScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetScreenRow" - ], - "range": [ - [ - 93, - 23 - ], - [ - 103, - 1 - ] - ], - "doc": "~Private~" - } - }, - "103": { - "35": { - "name": "mergeAdjacentRectangularRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startIndex", - "endIndex" - ], - "range": [ - [ - 103, - 35 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 11 - ], - [ - 118, - 35 - ] - ], - "doc": "Public: Returns an array of strings describing the map's regions. " - } - } - }, - "exports": 16 - }, - "src/scan-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "PathSearcher", - "exportsProperty": "PathSearcher" - }, - "15": { - "type": "import", - "range": [ - [ - 0, - 15 - ], - [ - 0, - 25 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "PathScanner", - "exportsProperty": "PathScanner" - }, - "28": { - "type": "import", - "range": [ - [ - 0, - 28 - ], - [ - 0, - 33 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "search", - "exportsProperty": "search" - } - } - }, - "exports": 2 - }, - "src/scoped-properties.coffee": { - "objects": { - "0": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "3": { - "0": { - "type": "class", - "name": "ScopedProperties", - "bindingType": "exports", - "classProperties": [ - [ - 4, - 9 - ] - ], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 13, - 12 - ], - [ - 17, - 14 - ] - ], - "doc": "~Private~", - "range": [ - [ - 3, - 0 - ], - [ - 18, - 39 - ] - ] - } - }, - "4": { - "9": { - "name": "load", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "scopedPropertiesPath", - "callback" - ], - "range": [ - [ - 4, - 9 - ], - [ - 11, - 1 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 11, - 43 - ] - ], - "doc": "~Private~" - } - }, - "13": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 12 - ], - [ - 17, - 1 - ] - ], - "doc": "~Private~" - } - }, - "17": { - "14": { - "name": "deactivate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 14 - ], - [ - 18, - 39 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 3 - }, - "src/scroll-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "21": { - "0": { - "type": "class", - "name": "ScrollView", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 22, - 14 - ] - ], - "doc": " Public: Represents a view that scrolls.\n\nSubclasses must call `super` if overriding the `initialize` method or else\nthe following events won't be handled by the ScrollView.\n\n## Events\n * `core:move-up`\n * `core:move-down`\n * `core:page-up`\n * `core:page-down`\n * `core:move-to-top`\n * `core:move-to-bottom`\n\n## Requiring in packages\n\n```coffee\n {ScrollView} = require 'atom'\n``` ", - "range": [ - [ - 21, - 0 - ], - [ - 28, - 51 - ] - ] - } - }, - "22": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 22, - 14 - ], - [ - 28, - 51 - ] - ] - } - } - }, - "exports": 21 - }, - "src/scrollbar-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 6 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "extend", - "exportsProperty": "extend" - }, - "9": { - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "21": { - "name": "ScrollbarComponent", - "type": "function", - "range": [ - [ - 5, - 21 - ], - [ - 69, - 28 - ] - ] - } - }, - "6": { - "15": { - "name": "'ScrollbarComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 34 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 21 - ], - [ - 36, - 1 - ] - ], - "doc": null - } - }, - "36": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 36, - 25 - ], - [ - 45, - 1 - ] - ], - "doc": null - } - }, - "45": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 22 - ], - [ - 57, - 1 - ] - ], - "doc": null - } - }, - "57": { - "12": { - "name": "onScroll", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 12 - ], - [ - 69, - 28 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/scrollbar-corner-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "27": { - "name": "ScrollbarCornerComponent", - "type": "function", - "range": [ - [ - 5, - 27 - ], - [ - 23, - 99 - ] - ] - } - }, - "6": { - "15": { - "name": "'ScrollbarCornerComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 40 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 22, - 1 - ] - ], - "doc": null - } - }, - "22": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 22, - 25 - ], - [ - 23, - 99 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/select-list-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "4": { - "15": { - "name": "EditorView", - "type": "import", - "range": [ - [ - 4, - 15 - ], - [ - 4, - 37 - ] - ], - "bindingType": "variable", - "path": "./editor-view" - } - }, - "5": { - "14": { - "type": "primitive", - "range": [ - [ - 5, - 14 - ], - [ - 5, - 41 - ] - ] - } - }, - "36": { - "0": { - "type": "class", - "name": "SelectListView", - "bindingType": "exports", - "classProperties": [ - [ - 37, - 12 - ] - ], - "prototypeProperties": [ - [ - 46, - 12 - ], - [ - 47, - 19 - ], - [ - 48, - 17 - ], - [ - 49, - 14 - ], - [ - 55, - 14 - ], - [ - 90, - 24 - ], - [ - 102, - 12 - ], - [ - 109, - 12 - ], - [ - 119, - 14 - ], - [ - 136, - 18 - ], - [ - 143, - 16 - ], - [ - 174, - 19 - ], - [ - 179, - 15 - ], - [ - 181, - 26 - ], - [ - 186, - 22 - ], - [ - 191, - 18 - ], - [ - 197, - 20 - ], - [ - 207, - 23 - ], - [ - 213, - 19 - ], - [ - 216, - 20 - ], - [ - 233, - 15 - ], - [ - 244, - 13 - ], - [ - 258, - 16 - ], - [ - 261, - 21 - ], - [ - 266, - 23 - ], - [ - 269, - 16 - ], - [ - 275, - 13 - ], - [ - 283, - 10 - ] - ], - "doc": " Public: Provides a view that renders a list of items with an editor that\nfilters the items. Used by many packages such as the fuzzy-finder,\ncommand-palette, symbols-view and autocomplete.\n\nSubclasses must implement the following methods:\n\n* {::viewForItem}\n* {::confirmed}\n\n## Requiring in packages\n\n```coffee\n{SelectListView} = require 'atom'\n\nclass MySelectListView extends SelectListView\n initialize: ->\n super\n @addClass('overlay from-top')\n @setItems(['Hello', 'World'])\n atom.workspaceView.append(this)\n @focusFilterEditor()\n\n viewForItem: (item) ->\n \"
  • #{item}
  • \"\n\n confirmed: (item) ->\n console.log(\"#{item} was selected\")\n``` ", - "range": [ - [ - 36, - 0 - ], - [ - 291, - 34 - ] - ] - } - }, - "37": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 37, - 12 - ], - [ - 46, - 1 - ] - ] - } - }, - "46": { - "12": { - "name": "maxItems", - "type": "primitive", - "range": [ - [ - 46, - 12 - ], - [ - 46, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "47": { - "19": { - "name": "scheduleTimeout", - "type": "primitive", - "range": [ - [ - 47, - 19 - ], - [ - 47, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "48": { - "17": { - "name": "inputThrottle", - "type": "primitive", - "range": [ - [ - 48, - 17 - ], - [ - 48, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "49": { - "14": { - "name": "cancelling", - "type": "primitive", - "range": [ - [ - 49, - 14 - ], - [ - 49, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "55": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 14 - ], - [ - 90, - 1 - ] - ], - "doc": " Public: Initialize the select list view.\n\nThis method can be overridden by subclasses but `super` should always\nbe called. " - } - }, - "90": { - "24": { - "name": "schedulePopulateList", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 24 - ], - [ - 102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "102": { - "12": { - "name": "setItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 102, - 12 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Set the array of items to display in the list.\n\nThis should be model items not actual views. {::viewForItem} will be\ncalled to render the item when it is being appended to the list view.\n\nitems - The {Array} of model items to display in the list (default: []). " - } - }, - "109": { - "12": { - "name": "setError", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 109, - 12 - ], - [ - 119, - 1 - ] - ], - "doc": " Public: Set the error message to display.\n\nmessage - The {String} error message (default: ''). " - } - }, - "119": { - "14": { - "name": "setLoading", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 119, - 14 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Set the loading message to display.\n\nmessage - The {String} loading message (default: ''). " - } - }, - "136": { - "18": { - "name": "getFilterQuery", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 18 - ], - [ - 143, - 1 - ] - ], - "doc": " Public: Get the filter query to use when fuzzy filtering the visible\nelements.\n\nBy default this method returns the text in the mini editor but it can be\noverridden by subclasses if needed.\n\nReturns a {String} to use when fuzzy filtering the elements to display. " - } - }, - "143": { - "16": { - "name": "populateList", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 143, - 16 - ], - [ - 174, - 1 - ] - ], - "doc": " Public: Populate the list view with the model items previously set by\ncalling {::setItems}.\n\nSubclasses may override this method but should always call `super`. " - } - }, - "174": { - "19": { - "name": "getEmptyMessage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "itemCount", - "filteredItemCount" - ], - "range": [ - [ - 174, - 19 - ], - [ - 174, - 70 - ] - ], - "doc": " Public: Get the message to display when there are no items.\n\nSubclasses may override this method to customize the message.\n\nitemCount - The {Number} of items in the array specified to {::setItems}\nfilteredItemCount - The {Number} of items that pass the fuzzy filter test.\n\nReturns a {String} message (default: 'No matches found'). " - } - }, - "179": { - "15": { - "name": "setMaxItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 179, - 15 - ], - [ - 179, - 28 - ] - ], - "doc": " Public: Set the maximum numbers of items to display in the list.\n\nmaxItems - The maximum {Number} of items to display. " - } - }, - "181": { - "26": { - "name": "selectPreviousItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 181, - 26 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "22": { - "name": "selectNextItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 186, - 22 - ], - [ - 191, - 1 - ] - ], - "doc": "~Private~" - } - }, - "191": { - "18": { - "name": "selectItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 191, - 18 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "20": { - "name": "scrollToItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 197, - 20 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "23": { - "name": "getSelectedItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 207, - 23 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "19": { - "name": "getSelectedItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 19 - ], - [ - 216, - 1 - ] - ], - "doc": " Public: Get the model item that is currently selected in the list view.\n\nReturns a model item. " - } - }, - "216": { - "20": { - "name": "confirmSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 216, - 20 - ], - [ - 233, - 1 - ] - ], - "doc": "~Private~" - } - }, - "233": { - "15": { - "name": "viewForItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 233, - 15 - ], - [ - 244, - 1 - ] - ], - "doc": " Public: Create a view for the given model item.\n\nThis method must be overridden by subclasses.\n\nThis is called when the item is about to appended to the list view.\n\nitem - The model item being rendered. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a String of HTML, DOM element, jQuery object, or View. " - } - }, - "244": { - "13": { - "name": "confirmed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 244, - 13 - ], - [ - 258, - 1 - ] - ], - "doc": " Public: Callback function for when an item is selected.\n\nThis method must be overridden by subclasses.\n\nitem - The selected model item. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a DOM element, jQuery object, or {View}. " - } - }, - "258": { - "16": { - "name": "getFilterKey", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 258, - 16 - ], - [ - 258, - 17 - ] - ], - "doc": " Public: Get the property name to use when filtering items.\n\nThis method may be overridden by classes to allow fuzzy filtering based\non a specific property of the item objects.\n\nFor example if the objects you pass to {::setItems} are of the type\n`{\"id\": 3, \"name\": \"Atom\"}` then you would return `\"name\"` from this method\nto fuzzy filter by that property when text is entered into this view's\neditor.\n\nReturns the property name to fuzzy filter by. " - } - }, - "261": { - "21": { - "name": "focusFilterEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 21 - ], - [ - 266, - 1 - ] - ], - "doc": "Public: Focus the fuzzy filter editor view. " - } - }, - "266": { - "23": { - "name": "storeFocusedElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 266, - 23 - ], - [ - 269, - 1 - ] - ], - "doc": " Public: Store the currently focused element. This element will be given\nback focus when {::cancel} is called. " - } - }, - "269": { - "16": { - "name": "restoreFocus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 16 - ], - [ - 275, - 1 - ] - ], - "doc": "~Private~" - } - }, - "275": { - "13": { - "name": "cancelled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 275, - 13 - ], - [ - 283, - 1 - ] - ], - "doc": "~Private~" - } - }, - "283": { - "10": { - "name": "cancel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 283, - 10 - ], - [ - 291, - 34 - ] - ], - "doc": " Public: Cancel and close this select list view.\n\nThis restores focus to the previously focused element if\n{::storeFocusedElement} was called prior to this view being attached. " - } - } - }, - "exports": 36 - }, - "src/selection-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 8 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - } - }, - "4": { - "0": { - "type": "class", - "name": "SelectionView", - "bindingType": "exports", - "classProperties": [ - [ - 6, - 12 - ] - ], - "prototypeProperties": [ - [ - 9, - 11 - ], - [ - 10, - 16 - ], - [ - 12, - 14 - ], - [ - 19, - 17 - ], - [ - 37, - 16 - ], - [ - 50, - 26 - ], - [ - 57, - 16 - ], - [ - 61, - 18 - ], - [ - 64, - 18 - ], - [ - 67, - 19 - ], - [ - 70, - 19 - ], - [ - 73, - 13 - ], - [ - 79, - 15 - ], - [ - 82, - 10 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 84, - 9 - ] - ] - } - }, - "6": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 12 - ], - [ - 9, - 1 - ] - ], - "doc": "~Private~" - } - }, - "9": { - "11": { - "name": "regions", - "type": "primitive", - "range": [ - [ - 9, - 11 - ], - [ - 9, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "16": { - "name": "needsRemoval", - "type": "primitive", - "range": [ - [ - 10, - 16 - ], - [ - 10, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 14 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 19, - 17 - ], - [ - 37, - 1 - ] - ], - "doc": "~Private~" - } - }, - "37": { - "16": { - "name": "appendRegion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rows", - "start", - "end" - ], - "range": [ - [ - 37, - 16 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "26": { - "name": "getCenterPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 26 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "16": { - "name": "clearRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 16 - ], - [ - 61, - 1 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 18 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 18 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "19": { - "name": "needsAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 19 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 70, - 19 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "13": { - "name": "highlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 13 - ], - [ - 79, - 1 - ] - ], - "doc": "~Private~" - } - }, - "79": { - "15": { - "name": "unhighlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 15 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 10 - ], - [ - 84, - 9 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/selection.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "pick", - "exportsProperty": "pick" - } - }, - "6": { - "0": { - "type": "class", - "name": "Selection", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 7, - 10 - ], - [ - 8, - 10 - ], - [ - 9, - 10 - ], - [ - 10, - 22 - ], - [ - 11, - 12 - ], - [ - 12, - 19 - ], - [ - 14, - 15 - ], - [ - 25, - 11 - ], - [ - 28, - 12 - ], - [ - 34, - 19 - ], - [ - 38, - 11 - ], - [ - 45, - 14 - ], - [ - 49, - 22 - ], - [ - 53, - 18 - ], - [ - 60, - 18 - ], - [ - 64, - 18 - ], - [ - 74, - 18 - ], - [ - 91, - 21 - ], - [ - 98, - 25 - ], - [ - 101, - 25 - ], - [ - 104, - 25 - ], - [ - 107, - 25 - ], - [ - 110, - 14 - ], - [ - 114, - 11 - ], - [ - 118, - 9 - ], - [ - 126, - 14 - ], - [ - 138, - 18 - ], - [ - 144, - 14 - ], - [ - 155, - 18 - ], - [ - 163, - 26 - ], - [ - 184, - 26 - ], - [ - 188, - 15 - ], - [ - 192, - 14 - ], - [ - 196, - 12 - ], - [ - 200, - 14 - ], - [ - 205, - 15 - ], - [ - 210, - 18 - ], - [ - 214, - 13 - ], - [ - 219, - 27 - ], - [ - 224, - 32 - ], - [ - 229, - 21 - ], - [ - 234, - 27 - ], - [ - 239, - 21 - ], - [ - 244, - 31 - ], - [ - 248, - 32 - ], - [ - 252, - 28 - ], - [ - 257, - 36 - ], - [ - 262, - 40 - ], - [ - 266, - 21 - ], - [ - 284, - 22 - ], - [ - 289, - 21 - ], - [ - 316, - 14 - ], - [ - 349, - 20 - ], - [ - 383, - 10 - ], - [ - 399, - 22 - ], - [ - 405, - 25 - ], - [ - 412, - 13 - ], - [ - 417, - 30 - ], - [ - 422, - 30 - ], - [ - 428, - 27 - ], - [ - 434, - 27 - ], - [ - 443, - 10 - ], - [ - 455, - 21 - ], - [ - 462, - 21 - ], - [ - 467, - 22 - ], - [ - 477, - 14 - ], - [ - 496, - 13 - ], - [ - 522, - 23 - ], - [ - 532, - 26 - ], - [ - 542, - 22 - ], - [ - 546, - 18 - ], - [ - 551, - 7 - ], - [ - 561, - 8 - ], - [ - 579, - 8 - ], - [ - 584, - 19 - ], - [ - 595, - 13 - ], - [ - 603, - 25 - ], - [ - 606, - 28 - ], - [ - 609, - 23 - ], - [ - 617, - 18 - ], - [ - 625, - 9 - ], - [ - 641, - 11 - ], - [ - 644, - 22 - ] - ], - "doc": "Public: Represents a selection in the {Editor}. ", - "range": [ - [ - 6, - 0 - ], - [ - 647, - 45 - ] - ] - } - }, - "7": { - "10": { - "name": "cursor", - "type": "primitive", - "range": [ - [ - 7, - 10 - ], - [ - 7, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "8": { - "10": { - "name": "marker", - "type": "primitive", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "10": { - "name": "editor", - "type": "primitive", - "range": [ - [ - 9, - 10 - ], - [ - 9, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "22": { - "name": "initialScreenRange", - "type": "primitive", - "range": [ - [ - 10, - 22 - ], - [ - 10, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "11": { - "12": { - "name": "wordwise", - "type": "primitive", - "range": [ - [ - 11, - 12 - ], - [ - 11, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "19": { - "name": "needsAutoscroll", - "type": "primitive", - "range": [ - [ - 12, - 19 - ], - [ - 12, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 14, - 15 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 11 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "12": { - "name": "finalize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 12 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 19 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "11": { - "name": "isEmpty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 38, - 11 - ], - [ - 45, - 1 - ] - ], - "doc": "Public: Determines if the selection contains anything. " - } - }, - "45": { - "14": { - "name": "isReversed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 14 - ], - [ - 49, - 1 - ] - ], - "doc": " Public: Determines if the ending position of a marker is greater than the\nstarting position.\n\nThis can happen when, for example, you highlight text \"up\" in a {TextBuffer}. " - } - }, - "49": { - "22": { - "name": "isSingleScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 22 - ], - [ - 53, - 1 - ] - ], - "doc": "Public: Returns whether the selection is a single line or not. " - } - }, - "53": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 18 - ], - [ - 60, - 1 - ] - ], - "doc": "Public: Returns the screen {Range} for the selection. " - } - }, - "60": { - "18": { - "name": "setScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 60, - 18 - ], - [ - 64, - 1 - ] - ], - "doc": " Public: Modifies the screen range for the selection.\n\nscreenRange - The new {Range} to use.\noptions - A hash of options matching those found in {::setBufferRange}. " - } - }, - "64": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 18 - ], - [ - 74, - 1 - ] - ], - "doc": "Public: Returns the buffer {Range} for the selection. " - } - }, - "74": { - "18": { - "name": "setBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 74, - 18 - ], - [ - 91, - 1 - ] - ], - "doc": " Public: Modifies the buffer {Range} for the selection.\n\nscreenRange - The new {Range} to select.\noptions - An {Object} with the keys:\n :preserveFolds - if `true`, the fold settings are preserved after the\n selection moves.\n :autoscroll - if `true`, the {Editor} scrolls to the new selection. " - } - }, - "91": { - "21": { - "name": "getBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 21 - ], - [ - 98, - 1 - ] - ], - "doc": " Public: Returns the starting and ending buffer rows the selection is\nhighlighting.\n\nReturns an {Array} of two {Number}s: the starting row, and the ending row. " - } - }, - "98": { - "25": { - "name": "getTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 25 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "getTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 25 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "25": { - "name": "getHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 25 - ], - [ - 107, - 1 - ] - ], - "doc": "~Private~" - } - }, - "107": { - "25": { - "name": "getHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 25 - ], - [ - 110, - 1 - ] - ], - "doc": "~Private~" - } - }, - "110": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 14 - ], - [ - 114, - 1 - ] - ], - "doc": "~Private~" - } - }, - "114": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 114, - 11 - ], - [ - 118, - 1 - ] - ], - "doc": "Public: Returns the text in the selection. " - } - }, - "118": { - "9": { - "name": "clear", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 118, - 9 - ], - [ - 126, - 1 - ] - ], - "doc": "Public: Clears the selection, moving the marker to the head. " - } - }, - "126": { - "14": { - "name": "selectWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 14 - ], - [ - 138, - 1 - ] - ], - "doc": " Public: Modifies the selection to encompass the current word.\n\nReturns a {Range}. " - } - }, - "138": { - "18": { - "name": "expandOverWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 18 - ], - [ - 144, - 1 - ] - ], - "doc": " Public: Expands the newest selection to include the entire word on which\nthe cursors rests. " - } - }, - "144": { - "14": { - "name": "selectLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 144, - 14 - ], - [ - 155, - 1 - ] - ], - "doc": " Public: Selects an entire line in the buffer.\n\nrow - The line {Number} to select (default: the row of the cursor). " - } - }, - "155": { - "18": { - "name": "expandOverLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 155, - 18 - ], - [ - 163, - 1 - ] - ], - "doc": " Public: Expands the newest selection to include the entire line on which\nthe cursor currently rests.\n\nIt also includes the newline character. " - } - }, - "163": { - "26": { - "name": "selectToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 163, - 26 - ], - [ - 184, - 1 - ] - ], - "doc": " Public: Selects the text from the current cursor position to a given screen\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "184": { - "26": { - "name": "selectToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 184, - 26 - ], - [ - 188, - 1 - ] - ], - "doc": " Public: Selects the text from the current cursor position to a given buffer\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "188": { - "15": { - "name": "selectRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 15 - ], - [ - 192, - 1 - ] - ], - "doc": "Public: Selects the text one position right of the cursor. " - } - }, - "192": { - "14": { - "name": "selectLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 192, - 14 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Selects the text one position left of the cursor. " - } - }, - "196": { - "12": { - "name": "selectUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 196, - 12 - ], - [ - 200, - 1 - ] - ], - "doc": "Public: Selects all the text one position above the cursor. " - } - }, - "200": { - "14": { - "name": "selectDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 200, - 14 - ], - [ - 205, - 1 - ] - ], - "doc": "Public: Selects all the text one position below the cursor. " - } - }, - "205": { - "15": { - "name": "selectToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 205, - 15 - ], - [ - 210, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the top of\nthe buffer. " - } - }, - "210": { - "18": { - "name": "selectToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 18 - ], - [ - 214, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the bottom\nof the buffer. " - } - }, - "214": { - "13": { - "name": "selectAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 214, - 13 - ], - [ - 219, - 1 - ] - ], - "doc": "Public: Selects all the text in the buffer. " - } - }, - "219": { - "27": { - "name": "selectToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 219, - 27 - ], - [ - 224, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the line. " - } - }, - "224": { - "32": { - "name": "selectToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 32 - ], - [ - 229, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the first\ncharacter of the line. " - } - }, - "229": { - "21": { - "name": "selectToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 229, - 21 - ], - [ - 234, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the end of\nthe line. " - } - }, - "234": { - "27": { - "name": "selectToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 27 - ], - [ - 239, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the word. " - } - }, - "239": { - "21": { - "name": "selectToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 239, - 21 - ], - [ - 244, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the end of\nthe word. " - } - }, - "244": { - "31": { - "name": "selectToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 244, - 31 - ], - [ - 248, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next word. " - } - }, - "248": { - "32": { - "name": "selectToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 248, - 32 - ], - [ - 252, - 1 - ] - ], - "doc": "Public: Selects text to the previous word boundary. " - } - }, - "252": { - "28": { - "name": "selectToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 252, - 28 - ], - [ - 257, - 1 - ] - ], - "doc": "Public: Selects text to the next word boundary. " - } - }, - "257": { - "36": { - "name": "selectToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 257, - 36 - ], - [ - 262, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next paragraph. " - } - }, - "262": { - "40": { - "name": "selectToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 262, - 40 - ], - [ - 266, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the previous paragraph. " - } - }, - "266": { - "21": { - "name": "addSelectionBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 266, - 21 - ], - [ - 284, - 1 - ] - ], - "doc": "Public: Moves the selection down one row. " - } - }, - "284": { - "22": { - "name": "getGoalBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 22 - ], - [ - 289, - 1 - ] - ], - "doc": "FIXME: I have no idea what this does. " - } - }, - "289": { - "21": { - "name": "addSelectionAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 289, - 21 - ], - [ - 316, - 1 - ] - ], - "doc": "Public: Moves the selection up one row. " - } - }, - "316": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 316, - 14 - ], - [ - 349, - 1 - ] - ], - "doc": " Public: Replaces text at the current selection.\n\ntext - A {String} representing the text to add\noptions - An {Object} with keys:\n :select - if `true`, selects the newly added text.\n :autoIndent - if `true`, indents all inserted text appropriately.\n :autoIndentNewline - if `true`, indent newline appropriately.\n :autoDecreaseIndent - if `true`, decreases indent level appropriately\n (for example, when a closing bracket is inserted).\n :undo - if `skip`, skips the undo stack for this operation. " - } - }, - "349": { - "20": { - "name": "normalizeIndents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "indentBasis" - ], - "range": [ - [ - 349, - 20 - ], - [ - 383, - 1 - ] - ], - "doc": " Public: Indents the given text to the suggested level based on the grammar.\n\ntext - The {String} to indent within the selection.\nindentBasis - The beginning indent level. " - } - }, - "383": { - "10": { - "name": "indent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 383, - 10 - ], - [ - 399, - 1 - ] - ], - "doc": " Private: Indent the current line(s).\n\nIf the selection is empty, indents the current line if the cursor precedes\nnon-whitespace characters, and otherwise inserts a tab. If the selection is\nnon empty, calls {::indentSelectedRows}.\n\noptions - A {Object} with the keys:\n :autoIndent - If `true`, the line is indented to an automatically-inferred\n level. Otherwise, {Editor::getTabText} is inserted. " - } - }, - "399": { - "22": { - "name": "indentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 399, - 22 - ], - [ - 405, - 1 - ] - ], - "doc": "Public: If the selection spans multiple rows, indent all of them. " - } - }, - "405": { - "25": { - "name": "setIndentationForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line", - "indentLevel" - ], - "range": [ - [ - 405, - 25 - ], - [ - 412, - 1 - ] - ], - "doc": "Public: ? " - } - }, - "412": { - "13": { - "name": "backspace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 412, - 13 - ], - [ - 417, - 1 - ] - ], - "doc": " Public: Removes the first character before the selection if the selection\nis empty otherwise it deletes the selection. " - } - }, - "417": { - "30": { - "name": "backspaceToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 417, - 30 - ], - [ - 422, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " - } - }, - "422": { - "30": { - "name": "backspaceToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 422, - 30 - ], - [ - 428, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " - } - }, - "428": { - "27": { - "name": "deleteToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 27 - ], - [ - 434, - 1 - ] - ], - "doc": " Public: Removes from the start of the selection to the beginning of the\ncurrent word if the selection is empty otherwise it deletes the selection. " - } - }, - "434": { - "27": { - "name": "deleteToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 434, - 27 - ], - [ - 443, - 1 - ] - ], - "doc": " Public: Removes from the beginning of the line which the selection begins on\nall the way through to the end of the selection. " - } - }, - "443": { - "10": { - "name": "delete", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 443, - 10 - ], - [ - 455, - 1 - ] - ] - } - }, - "455": { - "21": { - "name": "deleteToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 455, - 21 - ], - [ - 462, - 1 - ] - ], - "doc": " Public: If the selection is empty, removes all text from the cursor to the\nend of the line. If the cursor is already at the end of the line, it\nremoves the following newline. If the selection isn't empty, only deletes\nthe contents of the selection. " - } - }, - "462": { - "21": { - "name": "deleteToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 462, - 21 - ], - [ - 467, - 1 - ] - ], - "doc": " Public: Removes the selection or all characters from the start of the\nselection to the end of the current word if nothing is selected. " - } - }, - "467": { - "22": { - "name": "deleteSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 467, - 22 - ], - [ - 477, - 1 - ] - ], - "doc": "Public: Removes only the selected text. " - } - }, - "477": { - "14": { - "name": "deleteLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 477, - 14 - ], - [ - 496, - 1 - ] - ], - "doc": " Public: Removes the line at the beginning of the selection if the selection\nis empty unless the selection spans multiple lines in which case all lines\nare removed. " - } - }, - "496": { - "13": { - "name": "joinLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 496, - 13 - ], - [ - 522, - 1 - ] - ], - "doc": " Public: Joins the current line with the one below it.\n\nIf there selection spans more than one line, all the lines are joined together. " - } - }, - "522": { - "23": { - "name": "outdentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 522, - 23 - ], - [ - 532, - 1 - ] - ], - "doc": "Public: Removes one level of indent from the currently selected rows. " - } - }, - "532": { - "26": { - "name": "autoIndentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 532, - 26 - ], - [ - 542, - 1 - ] - ], - "doc": " Public: Sets the indentation level of all selected rows to values suggested\nby the relevant grammars. " - } - }, - "542": { - "22": { - "name": "toggleLineComments", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 542, - 22 - ], - [ - 546, - 1 - ] - ], - "doc": " Public: Wraps the selected lines in comments if they aren't currently part\nof a comment.\n\nRemoves the comment if they are currently wrapped in a comment.\n\nReturns an Array of the commented {Range}s. " - } - }, - "546": { - "18": { - "name": "cutToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 546, - 18 - ], - [ - 551, - 1 - ] - ], - "doc": "Public: Cuts the selection until the end of the line. " - } - }, - "551": { - "7": { - "name": "cut", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 551, - 7 - ], - [ - 561, - 1 - ] - ], - "doc": "Public: Copies the selection to the clipboard and then deletes it. " - } - }, - "561": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 561, - 8 - ], - [ - 579, - 1 - ] - ], - "doc": " Public: Copies the current selection to the clipboard.\n\nIf the `maintainClipboard` is set to `true`, a specific metadata property\nis created to store each content copied to the clipboard. The clipboard\n`text` still contains the concatenation of the clipboard with the\ncurrent selection. " - } - }, - "579": { - "8": { - "name": "fold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 579, - 8 - ], - [ - 584, - 1 - ] - ], - "doc": "Public: Creates a fold containing the current selection. " - } - }, - "584": { - "19": { - "name": "modifySelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 584, - 19 - ], - [ - 595, - 1 - ] - ], - "doc": "~Private~" - } - }, - "595": { - "13": { - "name": "plantTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 595, - 13 - ], - [ - 603, - 1 - ] - ], - "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " - } - }, - "603": { - "25": { - "name": "intersectsBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 603, - 25 - ], - [ - 606, - 1 - ] - ], - "doc": " Public: Identifies if a selection intersects with a given buffer range.\n\nbufferRange - A {Range} to check against.\n\nReturns a Boolean. " - } - }, - "606": { - "28": { - "name": "intersectsScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 606, - 28 - ], - [ - 609, - 1 - ] - ], - "doc": "~Private~" - } - }, - "609": { - "23": { - "name": "intersectsScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 609, - 23 - ], - [ - 617, - 1 - ] - ], - "doc": "~Private~" - } - }, - "617": { - "18": { - "name": "intersectsWith", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection" - ], - "range": [ - [ - 617, - 18 - ], - [ - 625, - 1 - ] - ], - "doc": " Public: Identifies if a selection intersects with another selection.\n\notherSelection - A {Selection} to check against.\n\nReturns a Boolean. " - } - }, - "625": { - "9": { - "name": "merge", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection", - "options" - ], - "range": [ - [ - 625, - 9 - ], - [ - 641, - 1 - ] - ], - "doc": " Public: Combines the given selection into this selection and then destroys\nthe given selection.\n\notherSelection - A {Selection} to merge with.\noptions - A hash of options matching those found in {::setBufferRange}. " - } - }, - "641": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection" - ], - "range": [ - [ - 641, - 11 - ], - [ - 644, - 1 - ] - ], - "doc": " Public: Compare this selection's buffer range to another selection's buffer\nrange.\n\nSee {Range::compare} for more details.\n\notherSelection - A {Selection} to compare against. " - } - }, - "644": { - "22": { - "name": "screenRangeChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 644, - 22 - ], - [ - 647, - 45 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 6 - }, - "src/space-pen-extensions.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "11": { - "name": "spacePen", - "type": "import", - "range": [ - [ - 1, - 11 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "space-pen" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "6": { - "9": { - "name": "spacePen", - "type": "primitive", - "range": [ - [ - 6, - 9 - ], - [ - 6, - 16 - ] - ] - } - }, - "7": { - "20": { - "name": "jQuery", - "type": "primitive", - "range": [ - [ - 7, - 20 - ], - [ - 7, - 25 - ] - ] - } - }, - "8": { - "19": { - "name": "jQuery.cleanData", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "elements" - ], - "range": [ - [ - 8, - 19 - ], - [ - 11, - 0 - ] - ], - "doc": null - } - }, - "13": { - "2": { - "type": "primitive", - "range": [ - [ - 13, - 2 - ], - [ - 19, - 19 - ] - ] - } - }, - "14": { - "4": { - "type": "primitive", - "range": [ - [ - 14, - 4 - ], - [ - 15, - 12 - ] - ] - }, - "10": { - "name": "1000", - "type": "primitive", - "range": [ - [ - 14, - 10 - ], - [ - 14, - 13 - ] - ] - } - }, - "15": { - "10": { - "name": "100", - "type": "primitive", - "range": [ - [ - 15, - 10 - ], - [ - 15, - 12 - ] - ] - } - }, - "16": { - "13": { - "name": "'body'", - "type": "primitive", - "range": [ - [ - 16, - 13 - ], - [ - 16, - 18 - ] - ] - } - }, - "17": { - "8": { - "type": "primitive", - "range": [ - [ - 17, - 8 - ], - [ - 17, - 11 - ] - ] - } - }, - "18": { - "13": { - "name": "'auto top'", - "type": "primitive", - "range": [ - [ - 18, - 13 - ], - [ - 18, - 22 - ] - ] - } - }, - "19": { - "19": { - "name": "2", - "type": "primitive", - "range": [ - [ - 19, - 19 - ], - [ - 19, - 19 - ] - ] - } - }, - "21": { - "21": { - "name": "humanizeKeystrokes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "keystroke" - ], - "range": [ - [ - 21, - 21 - ], - [ - 25, - 0 - ] - ], - "doc": "~Private~" - } - }, - "26": { - "15": { - "name": "getKeystroke", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bindings" - ], - "range": [ - [ - 26, - 15 - ], - [ - 31, - 0 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "26": { - "name": "requireBootstrapTooltip", - "type": "function", - "range": [ - [ - 32, - 26 - ], - [ - 35, - 59 - ] - ] - } - }, - "36": { - "23": { - "name": "jQuery.fn.setTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "tooltipOptions", - null - ], - "range": [ - [ - 36, - 23 - ], - [ - 49, - 0 - ] - ], - "doc": null - } - }, - "50": { - "24": { - "name": "jQuery.fn.hideTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 24 - ], - [ - 55, - 0 - ] - ], - "doc": null - } - }, - "56": { - "27": { - "name": "jQuery.fn.destroyTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 27 - ], - [ - 61, - 38 - ] - ], - "doc": null - } - }, - "68": { - "36": { - "name": "getKeystroke", - "type": "primitive", - "range": [ - [ - 68, - 36 - ], - [ - 68, - 47 - ] - ] - } - }, - "69": { - "42": { - "name": "humanizeKeystrokes", - "type": "primitive", - "range": [ - [ - 69, - 42 - ], - [ - 69, - 59 - ] - ] - } - }, - "71": { - "49": { - "name": "get", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 71, - 49 - ], - [ - 71, - 55 - ] - ], - "doc": null - } - } - }, - "exports": 73 - }, - "src/subscriber-mixin.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "1": { - "18": { - "type": "primitive", - "range": [ - [ - 1, - 18 - ], - [ - 1, - 55 - ] - ] - }, - "39": { - "name": "componentDidUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 1, - 39 - ], - [ - 1, - 55 - ] - ], - "doc": null - } - } - }, - "exports": 3 - }, - "src/syntax.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 11 - ] - ], - "bindingType": "variable", - "module": "clear-cut", - "name": "specificity", - "exportsProperty": "specificity" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 15 - ] - ], - "bindingType": "variable", - "module": "first-mate", - "name": "GrammarRegistry", - "exportsProperty": "GrammarRegistry" - }, - "18": { - "type": "import", - "range": [ - [ - 4, - 18 - ], - [ - 4, - 30 - ] - ], - "bindingType": "variable", - "module": "first-mate", - "name": "ScopeSelector", - "exportsProperty": "ScopeSelector" - } - }, - "5": { - "22": { - "name": "ScopedPropertyStore", - "type": "import", - "range": [ - [ - 5, - 22 - ], - [ - 5, - 52 - ] - ], - "bindingType": "variable", - "module": "scoped-property-store" - } - }, - "6": { - "20": { - "name": "PropertyAccessors", - "type": "import", - "range": [ - [ - 6, - 20 - ], - [ - 6, - 47 - ] - ], - "bindingType": "variable", - "module": "property-accessors" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 8, - 4 - ], - [ - 8, - 5 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - } - }, - "9": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 9, - 8 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "18": { - "0": { - "type": "class", - "name": "Syntax", - "bindingType": "exports", - "classProperties": [ - [ - 23, - 16 - ] - ], - "prototypeProperties": [ - [ - 28, - 15 - ], - [ - 32, - 13 - ], - [ - 35, - 15 - ], - [ - 42, - 17 - ], - [ - 49, - 20 - ], - [ - 52, - 19 - ], - [ - 67, - 15 - ], - [ - 75, - 22 - ], - [ - 84, - 32 - ] - ], - "doc": " Public: Syntax class holding the grammars used for tokenizing.\n\nAn instance of this class is always available as the `atom.syntax` global.\n\nThe Syntax class also contains properties for things such as the\nlanguage-specific comment regexes. ", - "range": [ - [ - 18, - 0 - ], - [ - 85, - 52 - ] - ] - } - }, - "23": { - "16": { - "name": "deserialize", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 23, - 16 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 15 - ], - [ - 32, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "13": { - "name": "serialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 32, - 13 - ], - [ - 35, - 1 - ] - ], - "doc": "~Private~" - } - }, - "35": { - "15": { - "name": "createToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "scopes" - ], - "range": [ - [ - 35, - 15 - ], - [ - 35, - 59 - ] - ], - "doc": "~Private~" - } - }, - "42": { - "17": { - "name": "addProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 42, - 17 - ], - [ - 49, - 1 - ] - ], - "doc": "~Private~" - } - }, - "49": { - "20": { - "name": "removeProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 49, - 20 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "19": { - "name": "clearProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 19 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "15": { - "name": "getProperty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scope", - "keyPath" - ], - "range": [ - [ - 67, - 15 - ], - [ - 75, - 1 - ] - ], - "doc": " Public: Get a property for the given scope and key path.\n\n## Example\n```coffee\ncomment = atom.syntax.getProperty(['.source.ruby'], 'editor.commentStart')\nconsole.log(comment) # '# '\n```\n\nscope - An {Array} of {String} scopes.\nkeyPath - A {String} key path.\n\nReturns a {String} property value or undefined. " - } - }, - "75": { - "22": { - "name": "propertiesForScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scope", - "keyPath" - ], - "range": [ - [ - 75, - 22 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "32": { - "name": "cssSelectorFromScopeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeSelector" - ], - "range": [ - [ - 84, - 32 - ], - [ - 85, - 52 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 18 - }, - "src/task-bootstrap.coffee": { - "objects": { - "0": { - "1": { - "type": "primitive", - "name": "userAgent", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "exportsProperty": "userAgent" - }, - "12": { - "type": "primitive", - "name": "taskPath", - "range": [ - [ - 0, - 12 - ], - [ - 0, - 19 - ] - ], - "exportsProperty": "taskPath" - } - }, - "3": { - "15": { - "name": "setupGlobals", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 3, - 15 - ], - [ - 28, - 0 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "15": { - "name": "handleEvents", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 15 - ], - [ - 42, - 0 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "10": { - "name": "handler", - "type": "import", - "range": [ - [ - 45, - 10 - ], - [ - 45, - 26 - ] - ], - "bindingType": "variable", - "module": "askPat" - } - } - }, - "exports": {} - }, - "src/task.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "16": { - "name": "child_process", - "type": "import", - "range": [ - [ - 1, - 16 - ], - [ - 1, - 38 - ] - ], - "bindingType": "variable", - "module": "child_process", - "builtin": true - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "21": { - "0": { - "type": "class", - "name": "Task", - "bindingType": "exports", - "classProperties": [ - [ - 29, - 9 - ] - ], - "prototypeProperties": [ - [ - 41, - 12 - ], - [ - 47, - 15 - ], - [ - 73, - 16 - ], - [ - 82, - 9 - ], - [ - 95, - 8 - ], - [ - 102, - 13 - ] - ], - "doc": " Public: Run a node script in a separate process.\n\nUsed by the fuzzy-finder.\n\n## Events\n\n* task:log - Emitted when console.log is called within the task.\n* task:warn - Emitted when console.warn is called within the task.\n* task:error - Emitted when console.error is called within the task.\n* task:completed - Emitted when the task has succeeded or failed.\n\n## Requiring in packages\n\n```coffee\n {Task} = require 'atom'\n``` ", - "range": [ - [ - 21, - 0 - ], - [ - 109, - 10 - ] - ] - } - }, - "29": { - "9": { - "name": "once", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "taskPath", - "args" - ], - "range": [ - [ - 29, - 9 - ], - [ - 41, - 1 - ] - ], - "doc": " Public: A helper method to easily launch and run a task once.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file which\n exports a single {Function} to execute.\nargs - The arguments to pass to the exported function. " - } - }, - "41": { - "12": { - "name": "callback", - "type": "primitive", - "range": [ - [ - 41, - 12 - ], - [ - 41, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "47": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "taskPath" - ], - "range": [ - [ - 47, - 15 - ], - [ - 73, - 1 - ] - ], - "doc": " Public: Creates a task.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file that\n exports a single {Function} to execute. " - } - }, - "73": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 16 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Routes messages from the child to the appropriate event. " - } - }, - "82": { - "9": { - "name": "start", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args", - "callback" - ], - "range": [ - [ - 82, - 9 - ], - [ - 95, - 1 - ] - ], - "doc": " Public: Starts the task.\n\nargs - The arguments to pass to the function exported by this task's script.\ncallback - An optional {Function} to call when the task completes. " - } - }, - "95": { - "8": { - "name": "send", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 95, - 8 - ], - [ - 102, - 1 - ] - ], - "doc": " Public: Send message to the task.\n\nmessage - The message to send to the task. " - } - }, - "102": { - "13": { - "name": "terminate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 13 - ], - [ - 109, - 10 - ] - ], - "doc": " Public: Forcefully stop the running task.\n\nNo events are emitted. " - } - } - }, - "exports": 21 - }, - "src/text-utils.coffee": { - "objects": { - "0": { - "18": { - "name": "isHighSurrogate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 0, - 18 - ], - [ - 2, - 0 - ] - ], - "doc": "~Private~" - } - }, - "3": { - "17": { - "name": "isLowSurrogate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 3, - 17 - ], - [ - 11, - 21 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "18": { - "name": "isSurrogatePair", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 12, - 18 - ], - [ - 22, - 21 - ] - ], - "doc": " Private: Is the character at the given index the start of a high/low surrogate pair?\n\nstring - The {String} to check for a surrogate pair.\nindex - The {Number} index to look for a surrogate pair at.\n\nReturn a {Boolean}. " - } - }, - "23": { - "20": { - "name": "getCharacterCount", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 23, - 20 - ], - [ - 32, - 22 - ] - ], - "doc": " Private: Get the number of characters in the string accounting for surrogate pairs.\n\nThis method counts high/low surrogate pairs as a single character and will\nalways returns a value less than or equal to `string.length`.\n\nstring - The {String} to count the number of full characters in.\n\nReturns a {Number}. " - } - }, - "33": { - "19": { - "name": "hasSurrogatePair", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 33, - 19 - ], - [ - 35, - 0 - ] - ], - "doc": " Private: Does the given string contain at least one surrogate pair?\n\nstring - The {String} to check for the presence of surrogate pairs.\n\nReturns a {Boolean}. " - } - } - }, - "exports": 36 - }, - "src/theme-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "8": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "9": { - "1": { - "type": "import", - "range": [ - [ - 9, - 1 - ], - [ - 9, - 4 - ] - ], - "bindingType": "variable", - "module": "pathwatcher", - "name": "File", - "exportsProperty": "File" - } - }, - "15": { - "0": { - "type": "class", - "name": "ThemeManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 18, - 15 - ], - [ - 22, - 21 - ], - [ - 27, - 18 - ], - [ - 31, - 18 - ], - [ - 35, - 19 - ], - [ - 39, - 19 - ], - [ - 42, - 20 - ], - [ - 47, - 24 - ], - [ - 57, - 18 - ], - [ - 82, - 20 - ], - [ - 87, - 20 - ], - [ - 93, - 20 - ], - [ - 96, - 18 - ], - [ - 109, - 25 - ], - [ - 116, - 25 - ], - [ - 121, - 22 - ], - [ - 133, - 23 - ], - [ - 137, - 25 - ], - [ - 142, - 26 - ], - [ - 145, - 21 - ], - [ - 160, - 21 - ], - [ - 169, - 18 - ], - [ - 175, - 22 - ], - [ - 197, - 14 - ], - [ - 200, - 20 - ], - [ - 209, - 19 - ] - ], - "doc": " Public: Handles loading and activating available themes.\n\nAn instance of this class is always available as the `atom.themes` global. ", - "range": [ - [ - 15, - 0 - ], - [ - 222, - 31 - ] - ] - } - }, - "18": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 18, - 15 - ], - [ - 22, - 1 - ] - ], - "doc": "~Private~" - } - }, - "22": { - "21": { - "name": "getAvailableNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 22, - 21 - ], - [ - 27, - 1 - ] - ], - "doc": "~Private~" - } - }, - "27": { - "18": { - "name": "getLoadedNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 18 - ], - [ - 31, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded theme names. " - } - }, - "31": { - "18": { - "name": "getActiveNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 31, - 18 - ], - [ - 35, - 1 - ] - ], - "doc": "Public: Get an array of all the active theme names. " - } - }, - "35": { - "19": { - "name": "getActiveThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 35, - 19 - ], - [ - 39, - 1 - ] - ], - "doc": "Public: Get an array of all the active themes. " - } - }, - "39": { - "19": { - "name": "getLoadedThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 39, - 19 - ], - [ - 42, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded themes. " - } - }, - "42": { - "20": { - "name": "activatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "themePackages" - ], - "range": [ - [ - 42, - 20 - ], - [ - 42, - 55 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "24": { - "name": "getEnabledThemeNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 47, - 24 - ], - [ - 57, - 1 - ] - ], - "doc": " Private: Get the enabled theme names from the config.\n\nReturns an array of theme names in the order that they should be activated. " - } - }, - "57": { - "18": { - "name": "activateThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 18 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "20": { - "name": "deactivateThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 20 - ], - [ - 87, - 1 - ] - ], - "doc": "~Private~" - } - }, - "87": { - "20": { - "name": "refreshLessCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 87, - 20 - ], - [ - 93, - 1 - ] - ], - "doc": "~Private~" - } - }, - "93": { - "20": { - "name": "setEnabledThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "enabledThemeNames" - ], - "range": [ - [ - 93, - 20 - ], - [ - 96, - 1 - ] - ], - "doc": " Public: Set the list of enabled themes.\n\nenabledThemeNames - An {Array} of {String} theme names. " - } - }, - "96": { - "18": { - "name": "getImportPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 18 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "25": { - "name": "getUserStylesheetPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 25 - ], - [ - 116, - 1 - ] - ], - "doc": "Public: Returns the {String} path to the user's stylesheet under ~/.atom " - } - }, - "116": { - "25": { - "name": "unwatchUserStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 25 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "22": { - "name": "loadUserStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 121, - 22 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "23": { - "name": "loadBaseStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 23 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "25": { - "name": "reloadBaseStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 25 - ], - [ - 142, - 1 - ] - ], - "doc": "~Private~" - } - }, - "142": { - "26": { - "name": "stylesheetElementForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id", - "htmlElement" - ], - "range": [ - [ - 142, - 26 - ], - [ - 145, - 1 - ] - ], - "doc": "~Private~" - } - }, - "145": { - "21": { - "name": "resolveStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 145, - 21 - ], - [ - 160, - 1 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "21": { - "name": "requireStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "type", - "htmlElement" - ], - "range": [ - [ - 160, - 21 - ], - [ - 169, - 1 - ] - ], - "doc": " Public: Resolve and apply the stylesheet specified by the path.\n\nThis supports both CSS and LESS stylsheets.\n\nstylesheetPath - A {String} path to the stylesheet that can be an absolute\n path or a relative path that will be resolved against the\n load path.\n\nReturns the absolute path to the required stylesheet. " - } - }, - "169": { - "18": { - "name": "loadStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "importFallbackVariables" - ], - "range": [ - [ - 169, - 18 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "22": { - "name": "loadLessStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lessStylesheetPath", - "importFallbackVariables" - ], - "range": [ - [ - 175, - 22 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "14": { - "name": "stringToId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 197, - 14 - ], - [ - 200, - 1 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "20": { - "name": "removeStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 200, - 20 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "19": { - "name": "applyStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "text", - "type", - "htmlElement" - ], - "range": [ - [ - 209, - 19 - ], - [ - 222, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 15 - }, - "src/theme-package.coffee": { - "objects": { - "0": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "1": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 1, - 10 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "4": { - "0": { - "type": "class", - "name": "ThemePackage", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 5, - 11 - ], - [ - 7, - 21 - ], - [ - 9, - 10 - ], - [ - 12, - 11 - ], - [ - 15, - 8 - ], - [ - 23, - 12 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 31, - 31 - ] - ] - } - }, - "5": { - "11": { - "name": "getType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 11 - ], - [ - 5, - 20 - ] - ] - } - }, - "7": { - "21": { - "name": "getStylesheetType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 7, - 21 - ], - [ - 7, - 30 - ] - ], - "doc": "~Private~" - } - }, - "9": { - "10": { - "name": "enable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 10 - ], - [ - 12, - 1 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "11": { - "name": "disable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 12, - 11 - ], - [ - 15, - 1 - ] - ], - "doc": "~Private~" - } - }, - "15": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 15, - 8 - ], - [ - 23, - 1 - ] - ], - "doc": "~Private~" - } - }, - "23": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 23, - 12 - ], - [ - 31, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/token.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "12": { - "name": "textUtils", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 33 - ] - ], - "bindingType": "variable", - "path": "./text-utils" - } - }, - "3": { - "31": { - "type": "primitive", - "range": [ - [ - 3, - 31 - ], - [ - 3, - 32 - ] - ] - } - }, - "4": { - "20": { - "name": "/^[ ]+/", - "type": "primitive", - "range": [ - [ - 4, - 20 - ], - [ - 4, - 26 - ] - ] - } - }, - "5": { - "21": { - "name": "/[ ]+$/", - "type": "primitive", - "range": [ - [ - 5, - 21 - ], - [ - 5, - 27 - ] - ] - } - }, - "6": { - "14": { - "name": "/[&\"'<>]/g", - "type": "primitive", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 23 - ] - ] - } - }, - "7": { - "17": { - "name": "/./g", - "type": "primitive", - "range": [ - [ - 7, - 17 - ], - [ - 7, - 20 - ] - ] - } - }, - "8": { - "22": { - "name": "/^./", - "type": "primitive", - "range": [ - [ - 8, - 22 - ], - [ - 8, - 25 - ] - ] - } - }, - "9": { - "16": { - "name": "/^\\.?/", - "type": "primitive", - "range": [ - [ - 9, - 16 - ], - [ - 9, - 21 - ] - ] - } - }, - "10": { - "18": { - "name": "/\\S/", - "type": "primitive", - "range": [ - [ - 10, - 18 - ], - [ - 10, - 21 - ] - ] - } - }, - "12": { - "17": { - "name": "20000", - "type": "primitive", - "range": [ - [ - 12, - 17 - ], - [ - 12, - 21 - ] - ] - } - }, - "16": { - "0": { - "type": "class", - "name": "Token", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 9 - ], - [ - 18, - 20 - ], - [ - 19, - 10 - ], - [ - 20, - 12 - ], - [ - 21, - 13 - ], - [ - 22, - 24 - ], - [ - 23, - 25 - ], - [ - 25, - 15 - ], - [ - 30, - 11 - ], - [ - 33, - 13 - ], - [ - 36, - 11 - ], - [ - 41, - 31 - ], - [ - 44, - 24 - ], - [ - 86, - 26 - ], - [ - 106, - 27 - ], - [ - 113, - 21 - ], - [ - 116, - 21 - ], - [ - 119, - 17 - ], - [ - 129, - 20 - ], - [ - 132, - 24 - ], - [ - 138, - 18 - ], - [ - 185, - 16 - ], - [ - 194, - 23 - ] - ], - "doc": "Private: Represents a single unit of text as selected by a grammar. ", - "range": [ - [ - 16, - 0 - ], - [ - 201, - 16 - ] - ] - } - }, - "17": { - "9": { - "name": "value", - "type": "primitive", - "range": [ - [ - 17, - 9 - ], - [ - 17, - 12 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "20": { - "name": "hasSurrogatePair", - "type": "primitive", - "range": [ - [ - 18, - 20 - ], - [ - 18, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "10": { - "name": "scopes", - "type": "primitive", - "range": [ - [ - 19, - 10 - ], - [ - 19, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "20": { - "12": { - "name": "isAtomic", - "type": "primitive", - "range": [ - [ - 20, - 12 - ], - [ - 20, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "13": { - "name": "isHardTab", - "type": "primitive", - "range": [ - [ - 21, - 13 - ], - [ - 21, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "22": { - "24": { - "name": "hasLeadingWhitespace", - "type": "primitive", - "range": [ - [ - 22, - 24 - ], - [ - 22, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "23": { - "25": { - "name": "hasTrailingWhitespace", - "type": "primitive", - "range": [ - [ - 23, - 25 - ], - [ - 23, - 29 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "25": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 25, - 15 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "isEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 30, - 11 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "13": { - "name": "isBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 33, - 13 - ], - [ - 36, - 1 - ] - ], - "doc": "~Private~" - } - }, - "36": { - "11": { - "name": "splitAt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "splitIndex" - ], - "range": [ - [ - 36, - 11 - ], - [ - 41, - 1 - ] - ], - "doc": "~Private~" - } - }, - "41": { - "31": { - "name": "whitespaceRegexForTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 41, - 31 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "24": { - "name": "breakOutAtomicTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "breakOutLeadingSoftTabs", - "startColumn" - ], - "range": [ - [ - 44, - 24 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "26": { - "name": "breakOutSurrogatePairs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 26 - ], - [ - 106, - 1 - ] - ], - "doc": "~Private~" - } - }, - "106": { - "27": { - "name": "buildSurrogatePairToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "index" - ], - "range": [ - [ - 106, - 27 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "21": { - "name": "buildHardTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "column" - ], - "range": [ - [ - 113, - 21 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "21": { - "name": "buildSoftTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 116, - 21 - ], - [ - 119, - 1 - ] - ], - "doc": "~Private~" - } - }, - "119": { - "17": { - "name": "buildTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "isHardTab", - "column" - ], - "range": [ - [ - 119, - 17 - ], - [ - 129, - 1 - ] - ], - "doc": "~Private~" - } - }, - "129": { - "20": { - "name": "isOnlyWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 129, - 20 - ], - [ - 132, - 1 - ] - ], - "doc": "~Private~" - } - }, - "132": { - "24": { - "name": "matchesScopeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 132, - 24 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "18": { - "name": "getValueAsHtml", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 138, - 18 - ], - [ - 185, - 1 - ] - ], - "doc": "~Private~" - } - }, - "185": { - "16": { - "name": "escapeString", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "str", - "startIndex", - "endIndex" - ], - "range": [ - [ - 185, - 16 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "23": { - "name": "escapeStringReplace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "match" - ], - "range": [ - [ - 194, - 23 - ], - [ - 201, - 16 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 16 - }, - "src/tokenized-buffer.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "3": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "4": { - "16": { - "name": "TokenizedLine", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 41 - ] - ], - "bindingType": "variable", - "path": "./tokenized-line" - } - }, - "5": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "8": { - "0": { - "type": "class", - "name": "TokenizedBuffer", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 11 - ], - [ - 14, - 23 - ], - [ - 15, - 10 - ], - [ - 16, - 18 - ], - [ - 17, - 13 - ], - [ - 18, - 15 - ], - [ - 19, - 11 - ], - [ - 21, - 15 - ], - [ - 48, - 19 - ], - [ - 52, - 21 - ], - [ - 56, - 14 - ], - [ - 64, - 17 - ], - [ - 70, - 23 - ], - [ - 76, - 23 - ], - [ - 82, - 14 - ], - [ - 88, - 16 - ], - [ - 94, - 16 - ], - [ - 96, - 24 - ], - [ - 103, - 21 - ], - [ - 133, - 19 - ], - [ - 136, - 15 - ], - [ - 139, - 17 - ], - [ - 144, - 21 - ], - [ - 153, - 22 - ], - [ - 173, - 48 - ], - [ - 183, - 30 - ], - [ - 200, - 41 - ], - [ - 203, - 39 - ], - [ - 210, - 37 - ], - [ - 220, - 20 - ], - [ - 225, - 22 - ], - [ - 228, - 15 - ], - [ - 231, - 21 - ], - [ - 257, - 22 - ], - [ - 266, - 21 - ], - [ - 269, - 20 - ], - [ - 273, - 33 - ], - [ - 278, - 33 - ], - [ - 299, - 30 - ], - [ - 314, - 39 - ], - [ - 329, - 22 - ], - [ - 344, - 22 - ], - [ - 362, - 14 - ], - [ - 365, - 16 - ], - [ - 368, - 12 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 371, - 40 - ] - ] - } - }, - "13": { - "11": { - "name": "grammar", - "type": "primitive", - "range": [ - [ - 13, - 11 - ], - [ - 13, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "23": { - "name": "currentGrammarScore", - "type": "primitive", - "range": [ - [ - 14, - 23 - ], - [ - 14, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "15": { - "10": { - "name": "buffer", - "type": "primitive", - "range": [ - [ - 15, - 10 - ], - [ - 15, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "18": { - "name": "tokenizedLines", - "type": "primitive", - "range": [ - [ - 16, - 18 - ], - [ - 16, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "17": { - "13": { - "name": "chunkSize", - "type": "primitive", - "range": [ - [ - 17, - 13 - ], - [ - 17, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "15": { - "name": "invalidRows", - "type": "primitive", - "range": [ - [ - 18, - 15 - ], - [ - 18, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 19, - 11 - ], - [ - 19, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 21, - 15 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 19 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 52, - 21 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar", - "score" - ], - "range": [ - [ - 56, - 14 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 17 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "23": { - "name": "hasTokenForSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 70, - 23 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "23": { - "name": "resetTokenizedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 23 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 82, - 14 - ], - [ - 88, - 1 - ] - ], - "doc": "~Private~" - } - }, - "88": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 16 - ], - [ - 94, - 1 - ] - ], - "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " - } - }, - "94": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 94, - 16 - ], - [ - 94, - 30 - ] - ], - "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " - } - }, - "96": { - "24": { - "name": "tokenizeInBackground", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 24 - ], - [ - 103, - 1 - ] - ], - "doc": "~Private~" - } - }, - "103": { - "21": { - "name": "tokenizeNextChunk", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 103, - 21 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "19": { - "name": "firstInvalidRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 19 - ], - [ - 136, - 1 - ] - ], - "doc": "~Private~" - } - }, - "136": { - "15": { - "name": "validateRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 136, - 15 - ], - [ - 139, - 1 - ] - ], - "doc": "~Private~" - } - }, - "139": { - "17": { - "name": "invalidateRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 139, - 17 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "21": { - "name": "updateInvalidRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end", - "delta" - ], - "range": [ - [ - 144, - 21 - ], - [ - 153, - 1 - ] - ], - "doc": "~Private~" - } - }, - "153": { - "22": { - "name": "handleBufferChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 153, - 22 - ], - [ - 173, - 1 - ] - ], - "doc": "~Private~" - } - }, - "173": { - "48": { - "name": "retokenizeWhitespaceRowsIfIndentLevelChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "increment" - ], - "range": [ - [ - 173, - 48 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "30": { - "name": "buildTokenizedLinesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow", - "startingStack" - ], - "range": [ - [ - 183, - 30 - ], - [ - 200, - 1 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "41": { - "name": "buildPlaceholderTokenizedLinesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 200, - 41 - ], - [ - 203, - 1 - ] - ], - "doc": "~Private~" - } - }, - "203": { - "39": { - "name": "buildPlaceholderTokenizedLineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 203, - 39 - ], - [ - 210, - 1 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "37": { - "name": "buildTokenizedTokenizedLineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "ruleStack" - ], - "range": [ - [ - 210, - 37 - ], - [ - 220, - 1 - ] - ], - "doc": "~Private~" - } - }, - "220": { - "20": { - "name": "lineForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 220, - 20 - ], - [ - 225, - 1 - ] - ], - "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " - } - }, - "225": { - "22": { - "name": "linesForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 225, - 22 - ], - [ - 228, - 1 - ] - ], - "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " - } - }, - "228": { - "15": { - "name": "stackForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 228, - 15 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "21": { - "name": "indentLevelForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 231, - 21 - ], - [ - 257, - 1 - ] - ], - "doc": "~Private~" - } - }, - "257": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 257, - 22 - ], - [ - 266, - 1 - ] - ], - "doc": "~Private~" - } - }, - "266": { - "21": { - "name": "scopesForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 266, - 21 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "20": { - "name": "tokenForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 269, - 20 - ], - [ - 273, - 1 - ] - ], - "doc": "~Private~" - } - }, - "273": { - "33": { - "name": "tokenStartPositionForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 273, - 33 - ], - [ - 278, - 1 - ] - ], - "doc": "~Private~" - } - }, - "278": { - "33": { - "name": "bufferRangeForScopeAtPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "position" - ], - "range": [ - [ - 278, - 33 - ], - [ - 299, - 1 - ] - ], - "doc": "~Private~" - } - }, - "299": { - "30": { - "name": "iterateTokensInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "iterator" - ], - "range": [ - [ - 299, - 30 - ], - [ - 314, - 1 - ] - ], - "doc": "~Private~" - } - }, - "314": { - "39": { - "name": "backwardsIterateTokensInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "iterator" - ], - "range": [ - [ - 314, - 39 - ], - [ - 329, - 1 - ] - ], - "doc": "~Private~" - } - }, - "329": { - "22": { - "name": "findOpeningBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferPosition" - ], - "range": [ - [ - 329, - 22 - ], - [ - 344, - 1 - ] - ], - "doc": "~Private~" - } - }, - "344": { - "22": { - "name": "findClosingBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferPosition" - ], - "range": [ - [ - 344, - 22 - ], - [ - 362, - 1 - ] - ], - "doc": "~Private~" - } - }, - "362": { - "14": { - "name": "getLastRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 362, - 14 - ], - [ - 365, - 1 - ] - ], - "doc": " Private: Gets the row number of the last line.\n\nReturns a {Number}. " - } - }, - "365": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 365, - 16 - ], - [ - 368, - 1 - ] - ], - "doc": "~Private~" - } - }, - "368": { - "12": { - "name": "logLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 368, - 12 - ], - [ - 371, - 40 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/tokenized-line.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "12": { - "name": "1", - "type": "primitive", - "range": [ - [ - 2, - 12 - ], - [ - 2, - 12 - ] - ] - } - }, - "5": { - "0": { - "type": "class", - "name": "TokenizedLine", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 6, - 15 - ], - [ - 15, - 13 - ], - [ - 20, - 20 - ], - [ - 25, - 8 - ], - [ - 28, - 20 - ], - [ - 47, - 31 - ], - [ - 57, - 31 - ], - [ - 66, - 22 - ], - [ - 72, - 22 - ], - [ - 75, - 14 - ], - [ - 102, - 17 - ], - [ - 105, - 23 - ], - [ - 108, - 28 - ], - [ - 115, - 35 - ], - [ - 123, - 24 - ], - [ - 134, - 42 - ], - [ - 145, - 13 - ], - [ - 154, - 20 - ], - [ - 162, - 16 - ], - [ - 165, - 17 - ], - [ - 168, - 24 - ], - [ - 174, - 16 - ], - [ - 186, - 20 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 199, - 0 - ] - ] - } - }, - "6": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 6, - 15 - ], - [ - 15, - 1 - ] - ] - } - }, - "15": { - "13": { - "name": "buildText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 15, - 13 - ], - [ - 20, - 1 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "20": { - "name": "buildBufferDelta", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 20 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 8 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "20": { - "name": "clipScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "column", - "options" - ], - "range": [ - [ - 28, - 20 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "31": { - "name": "screenColumnForBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn", - "options" - ], - "range": [ - [ - 47, - 31 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "31": { - "name": "bufferColumnForScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenColumn", - "options" - ], - "range": [ - [ - 57, - 31 - ], - [ - 66, - 1 - ] - ], - "doc": "~Private~" - } - }, - "66": { - "22": { - "name": "getMaxScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 66, - 22 - ], - [ - 72, - 1 - ] - ], - "doc": "~Private~" - } - }, - "72": { - "22": { - "name": "getMaxBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 72, - 22 - ], - [ - 75, - 1 - ] - ], - "doc": "~Private~" - } - }, - "75": { - "14": { - "name": "softWrapAt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "column" - ], - "range": [ - [ - 75, - 14 - ], - [ - 102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "102": { - "17": { - "name": "isSoftWrapped", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 17 - ], - [ - 105, - 1 - ] - ], - "doc": "~Private~" - } - }, - "105": { - "23": { - "name": "tokenAtBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 105, - 23 - ], - [ - 108, - 1 - ] - ], - "doc": "~Private~" - } - }, - "108": { - "28": { - "name": "tokenIndexAtBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 108, - 28 - ], - [ - 115, - 1 - ] - ], - "doc": "~Private~" - } - }, - "115": { - "35": { - "name": "tokenStartColumnForBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 115, - 35 - ], - [ - 123, - 1 - ] - ], - "doc": "~Private~" - } - }, - "123": { - "24": { - "name": "breakOutAtomicTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "inputTokens" - ], - "range": [ - [ - 123, - 24 - ], - [ - 134, - 1 - ] - ], - "doc": "~Private~" - } - }, - "134": { - "42": { - "name": "markLeadingAndTrailingWhitespaceTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 134, - 42 - ], - [ - 145, - 1 - ] - ], - "doc": "~Private~" - } - }, - "145": { - "13": { - "name": "isComment", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 145, - 13 - ], - [ - 154, - 1 - ] - ], - "doc": "~Private~" - } - }, - "154": { - "20": { - "name": "isOnlyWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 20 - ], - [ - 162, - 1 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "16": { - "name": "tokenAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 162, - 16 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "17": { - "name": "getTokenCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 17 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "24": { - "name": "bufferColumnForToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetToken" - ], - "range": [ - [ - 168, - 24 - ], - [ - 174, - 1 - ] - ], - "doc": "~Private~" - } - }, - "174": { - "16": { - "name": "getScopeTree", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 174, - 16 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "20": { - "name": "updateScopeStack", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 186, - 20 - ], - [ - 199, - 0 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "0": { - "type": "class", - "name": "Scope", - "classProperties": [], - "prototypeProperties": [ - [ - 201, - 15 - ] - ], - "doc": "~Private~", - "range": [ - [ - 200, - 0 - ], - [ - 202, - 18 - ] - ] - } - }, - "201": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 201, - 15 - ], - [ - 202, - 18 - ] - ] - } - } - }, - "exports": 5 - }, - "src/window-bootstrap.coffee": { - "objects": { - "1": { - "12": { - "name": "startTime", - "type": "function", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 21 - ] - ] - } - }, - "5": { - "7": { - "name": "Atom", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "path": "./atom" - } - }, - "6": { - "14": { - "name": "window.atom", - "type": "function", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 40 - ] - ] - } - } - }, - "exports": {} - }, - "src/window-event-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "3": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 3, - 8 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "9": { - "0": { - "type": "class", - "name": "WindowEventHandler", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 81, - 27 - ], - [ - 96, - 13 - ], - [ - 100, - 12 - ], - [ - 106, - 25 - ], - [ - 116, - 13 - ], - [ - 137, - 17 - ] - ], - "doc": "Private: Handles low-level events related to the window. ", - "range": [ - [ - 9, - 0 - ], - [ - 156, - 28 - ] - ] - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 12, - 15 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "27": { - "name": "handleNativeKeybindings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 81, - 27 - ], - [ - 96, - 1 - ] - ], - "doc": " Private: Wire commands that should be handled by the native menu\nfor elements with the `.native-key-bindings` class. " - } - }, - "96": { - "13": { - "name": "onKeydown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 96, - 13 - ], - [ - 100, - 1 - ] - ], - "doc": "~Private~" - } - }, - "100": { - "12": { - "name": "openLink", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 100, - 12 - ], - [ - 106, - 1 - ] - ], - "doc": "~Private~" - } - }, - "106": { - "25": { - "name": "eachTabIndexedElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 106, - 25 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "13": { - "name": "focusNext", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 13 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "17": { - "name": "focusPrevious", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 17 - ], - [ - 156, - 28 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 9 - }, - "src/window.coffee": { - "objects": { - "7": { - "17": { - "name": "window.measure", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "description", - "fn" - ], - "range": [ - [ - 7, - 17 - ], - [ - 20, - 51 - ] - ], - "doc": null - } - }, - "21": { - "17": { - "name": "window.profile", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "description", - "fn" - ], - "range": [ - [ - 21, - 17 - ], - [ - 26, - 9 - ] - ], - "doc": null - } - } - }, - "exports": {} - }, - "src/workspace-view.coffee": { - "objects": { - "0": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "4": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 4, - 12 - ], - [ - 4, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - }, - "12": { - "type": "import", - "range": [ - [ - 5, - 12 - ], - [ - 5, - 33 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "logDeprecationWarnings", - "exportsProperty": "logDeprecationWarnings" - } - }, - "6": { - "17": { - "name": "scrollbarStyle", - "type": "import", - "range": [ - [ - 6, - 17 - ], - [ - 6, - 41 - ] - ], - "bindingType": "variable", - "module": "scrollbar-style" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 5 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - }, - "8": { - "type": "import", - "range": [ - [ - 7, - 8 - ], - [ - 7, - 11 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "8": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 8, - 5 - ], - [ - 8, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "9": { - "12": { - "name": "Workspace", - "type": "import", - "range": [ - [ - 9, - 12 - ], - [ - 9, - 32 - ] - ], - "bindingType": "variable", - "path": "./workspace" - } - }, - "10": { - "19": { - "name": "CommandInstaller", - "type": "import", - "range": [ - [ - 10, - 19 - ], - [ - 10, - 47 - ] - ], - "bindingType": "variable", - "path": "./command-installer" - } - }, - "11": { - "13": { - "name": "EditorView", - "type": "import", - "range": [ - [ - 11, - 13 - ], - [ - 11, - 35 - ] - ], - "bindingType": "variable", - "path": "./editor-view" - } - }, - "12": { - "11": { - "name": "PaneView", - "type": "import", - "range": [ - [ - 12, - 11 - ], - [ - 12, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-view" - } - }, - "13": { - "17": { - "name": "PaneColumnView", - "type": "import", - "range": [ - [ - 13, - 17 - ], - [ - 13, - 44 - ] - ], - "bindingType": "variable", - "path": "./pane-column-view" - } - }, - "14": { - "14": { - "name": "PaneRowView", - "type": "import", - "range": [ - [ - 14, - 14 - ], - [ - 14, - 38 - ] - ], - "bindingType": "variable", - "path": "./pane-row-view" - } - }, - "15": { - "20": { - "name": "PaneContainerView", - "type": "import", - "range": [ - [ - 15, - 20 - ], - [ - 15, - 50 - ] - ], - "bindingType": "variable", - "path": "./pane-container-view" - } - }, - "16": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 16, - 9 - ], - [ - 16, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "55": { - "0": { - "type": "class", - "name": "WorkspaceView", - "bindingType": "exports", - "classProperties": [ - [ - 63, - 12 - ], - [ - 66, - 4 - ], - [ - 75, - 12 - ] - ], - "prototypeProperties": [ - [ - 81, - 14 - ], - [ - 168, - 12 - ], - [ - 171, - 24 - ], - [ - 191, - 15 - ], - [ - 205, - 15 - ], - [ - 209, - 16 - ], - [ - 213, - 15 - ], - [ - 223, - 12 - ], - [ - 233, - 18 - ], - [ - 238, - 16 - ], - [ - 242, - 15 - ], - [ - 247, - 19 - ], - [ - 252, - 18 - ], - [ - 257, - 17 - ], - [ - 262, - 16 - ], - [ - 267, - 18 - ], - [ - 272, - 17 - ], - [ - 281, - 21 - ], - [ - 287, - 17 - ], - [ - 291, - 25 - ], - [ - 294, - 21 - ], - [ - 297, - 22 - ], - [ - 300, - 22 - ], - [ - 303, - 23 - ], - [ - 306, - 24 - ], - [ - 315, - 16 - ], - [ - 325, - 16 - ], - [ - 336, - 18 - ], - [ - 344, - 16 - ], - [ - 347, - 21 - ], - [ - 350, - 23 - ], - [ - 353, - 23 - ], - [ - 356, - 18 - ], - [ - 368, - 12 - ], - [ - 373, - 12 - ], - [ - 378, - 17 - ], - [ - 383, - 21 - ] - ], - "doc": " Public: The top-level view for the entire window. An instance of this class is\navailable via the `atom.workspaceView` global.\n\nIt is backed by a model object, an instance of {Workspace}, which is available\nvia the `atom.workspace` global or {::getModel}. You should prefer to interact\nwith the model object when possible, but it won't always be possible with the\ncurrent API.\n\n## Adding Perimeter Panels\n\nUse the following methods if possible to attach panels to the perimeter of the\nworkspace rather than manipulating the DOM directly to better insulate you to\nchanges in the workspace markup:\n\n* {::prependToTop}\n* {::appendToTop}\n* {::prependToBottom}\n* {::appendToBottom}\n* {::prependToLeft}\n* {::appendToLeft}\n* {::prependToRight}\n* {::appendToRight}\n\n## Requiring in package specs\n\nIf you need a `WorkspaceView` instance to test your package, require it via\nthe built-in `atom` module.\n\n```coffee\n {WorkspaceView} = require 'atom'\n```\n\nYou can assign it to the `atom.workspaceView` global in the spec or just use\nit as a local, depending on what you're trying to accomplish. Building the\n`WorkspaceView` is currently expensive, so you should try build a {Workspace}\ninstead if possible. ", - "range": [ - [ - 55, - 0 - ], - [ - 385, - 25 - ] - ] - } - }, - "63": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 63, - 12 - ], - [ - 63, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "66": { - "4": { - "name": "configDefaults", - "type": "primitive", - "range": [ - [ - 66, - 4 - ], - [ - 73, - 23 - ] - ], - "bindingType": "classProperty" - } - }, - "75": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 75, - 12 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 81, - 14 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 12 - ], - [ - 168, - 20 - ] - ], - "doc": " Public: Get the underlying model object.\n\nReturns a {Workspace}. " - } - }, - "171": { - "24": { - "name": "installShellCommands", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 24 - ], - [ - 191, - 1 - ] - ], - "doc": "Public: Install the Atom shell commands on the user's system. " - } - }, - "191": { - "15": { - "name": "handleFocus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 191, - 15 - ], - [ - 205, - 1 - ] - ], - "doc": "~Private~" - } - }, - "205": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 205, - 15 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "16": { - "name": "confirmClose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 209, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": "Private: Prompts to save all unsaved items " - } - }, - "213": { - "15": { - "name": "updateTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 15 - ], - [ - 223, - 1 - ] - ], - "doc": "Private: Updates the application's title, based on whichever file is open. " - } - }, - "223": { - "12": { - "name": "setTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "title" - ], - "range": [ - [ - 223, - 12 - ], - [ - 233, - 1 - ] - ], - "doc": "Private: Sets the application's title. " - } - }, - "233": { - "18": { - "name": "getEditorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 233, - 18 - ], - [ - 238, - 1 - ] - ], - "doc": " Private: Get all editor views.\n\nYou should prefer {Workspace::getEditors} unless you absolutely need access\nto the view objects. Also consider using {::eachEditorView}, which will call\na callback for all current and *future* editor views.\n\nReturns an {Array} of {EditorView}s. " - } - }, - "238": { - "16": { - "name": "prependToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 238, - 16 - ], - [ - 242, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the top of the\nworkspace. " - } - }, - "242": { - "15": { - "name": "appendToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 242, - 15 - ], - [ - 247, - 1 - ] - ], - "doc": "Public: Append an element or view to the panels at the top of the workspace. " - } - }, - "247": { - "19": { - "name": "prependToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 247, - 19 - ], - [ - 252, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the bottom of the\nworkspace. " - } - }, - "252": { - "18": { - "name": "appendToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 252, - 18 - ], - [ - 257, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the bottom of the\nworkspace. " - } - }, - "257": { - "17": { - "name": "prependToLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 257, - 17 - ], - [ - 262, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the left of the\nworkspace. " - } - }, - "262": { - "16": { - "name": "appendToLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 262, - 16 - ], - [ - 267, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the left of the\nworkspace. " - } - }, - "267": { - "18": { - "name": "prependToRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 267, - 18 - ], - [ - 272, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the right of the\nworkspace. " - } - }, - "272": { - "17": { - "name": "appendToRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 272, - 17 - ], - [ - 281, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the right of the\nworkspace. " - } - }, - "281": { - "21": { - "name": "getActivePaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 281, - 21 - ], - [ - 287, - 1 - ] - ], - "doc": " Public: Get the active pane view.\n\nPrefer {Workspace::getActivePane} if you don't actually need access to the\nview.\n\nReturns a {PaneView}. " - } - }, - "287": { - "17": { - "name": "getActiveView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 287, - 17 - ], - [ - 291, - 1 - ] - ], - "doc": " Public: Get the view associated with the active pane item.\n\nReturns a view. " - } - }, - "291": { - "25": { - "name": "focusPreviousPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 291, - 25 - ], - [ - 291, - 56 - ] - ], - "doc": "Private: Focus the previous pane by id. " - } - }, - "294": { - "21": { - "name": "focusNextPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 294, - 21 - ], - [ - 294, - 48 - ] - ], - "doc": "Private: Focus the next pane by id. " - } - }, - "297": { - "22": { - "name": "focusPaneViewAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 22 - ], - [ - 297, - 51 - ] - ], - "doc": "Public: Focus the pane directly above the active pane. " - } - }, - "300": { - "22": { - "name": "focusPaneViewBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 300, - 22 - ], - [ - 300, - 51 - ] - ], - "doc": "Public: Focus the pane directly below the active pane. " - } - }, - "303": { - "23": { - "name": "focusPaneViewOnLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 303, - 23 - ], - [ - 303, - 53 - ] - ], - "doc": "Public: Focus the pane directly to the left of the active pane. " - } - }, - "306": { - "24": { - "name": "focusPaneViewOnRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 306, - 24 - ], - [ - 306, - 55 - ] - ], - "doc": "Public: Focus the pane directly to the right of the active pane. " - } - }, - "315": { - "16": { - "name": "eachPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 315, - 16 - ], - [ - 325, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\npane view in the workspace.\n\ncallback - A {Function} with a {PaneView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "325": { - "16": { - "name": "getPaneViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 325, - 16 - ], - [ - 336, - 1 - ] - ], - "doc": " Public: Get all existing pane views.\n\nPrefer {Workspace::getPanes} if you don't need access to the view objects.\nAlso consider using {::eachPaneView} if you want to register a callback for\nall current and *future* pane views.\n\nReturns an Array of all open {PaneView}s. " - } - }, - "336": { - "18": { - "name": "eachEditorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 336, - 18 - ], - [ - 344, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\neditor view in the workspace (only includes {EditorView}s that are pane\nitems).\n\ncallback - A {Function} with an {EditorView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "344": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 344, - 16 - ], - [ - 347, - 1 - ] - ], - "doc": "Private: Called by SpacePen " - } - }, - "347": { - "21": { - "name": "setEditorFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 347, - 21 - ], - [ - 350, - 1 - ] - ], - "doc": "~Private~" - } - }, - "350": { - "23": { - "name": "setEditorFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 350, - 23 - ], - [ - 353, - 1 - ] - ], - "doc": "~Private~" - } - }, - "353": { - "23": { - "name": "setEditorLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 353, - 23 - ], - [ - 356, - 1 - ] - ], - "doc": "~Private~" - } - }, - "356": { - "18": { - "name": "setEditorStyle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "property", - "value" - ], - "range": [ - [ - 356, - 18 - ], - [ - 368, - 1 - ] - ], - "doc": "~Private~" - } - }, - "368": { - "12": { - "name": "eachPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 368, - 12 - ], - [ - 373, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "373": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 373, - 12 - ], - [ - 378, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "378": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 378, - 17 - ], - [ - 383, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "383": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 383, - 21 - ], - [ - 385, - 25 - ] - ], - "doc": "Deprecated: Call {Workspace::getActivePaneItem} instead. " - } - } - }, - "exports": 55 - }, - "src/workspace.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 4 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true, - "name": "join", - "exportsProperty": "join" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "4": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 4, - 4 - ], - [ - 4, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "5": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 5, - 15 - ], - [ - 5, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "6": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 6, - 12 - ], - [ - 6, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato" - } - }, - "7": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "8": { - "16": { - "name": "PaneContainer", - "type": "import", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 41 - ] - ], - "bindingType": "variable", - "path": "./pane-container" - } - }, - "9": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 9, - 7 - ], - [ - 9, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "18": { - "0": { - "type": "class", - "name": "Workspace", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 47, - 21 - ], - [ - 55, - 19 - ], - [ - 60, - 37 - ], - [ - 74, - 15 - ], - [ - 84, - 14 - ], - [ - 91, - 14 - ], - [ - 118, - 8 - ], - [ - 135, - 15 - ], - [ - 150, - 12 - ], - [ - 168, - 17 - ], - [ - 193, - 14 - ], - [ - 200, - 18 - ], - [ - 217, - 18 - ], - [ - 221, - 20 - ], - [ - 224, - 14 - ], - [ - 230, - 17 - ], - [ - 236, - 12 - ], - [ - 240, - 11 - ], - [ - 244, - 20 - ], - [ - 248, - 24 - ], - [ - 254, - 14 - ], - [ - 260, - 21 - ], - [ - 269, - 22 - ], - [ - 277, - 24 - ], - [ - 284, - 25 - ], - [ - 288, - 21 - ], - [ - 295, - 19 - ], - [ - 299, - 20 - ], - [ - 303, - 20 - ], - [ - 308, - 17 - ], - [ - 312, - 14 - ], - [ - 317, - 23 - ], - [ - 322, - 13 - ] - ], - "doc": " Public: Represents the state of the user interface for the entire window.\nAn instance of this class is available via the `atom.workspace` global.\n\nInteract with this object to open files, be notified of current and future\neditors, and manipulate panes. To add panels, you'll need to use the\n{WorkspaceView} class for now until we establish APIs at the model layer. ", - "range": [ - [ - 18, - 0 - ], - [ - 323, - 28 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 15 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 47, - 21 - ], - [ - 55, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during deserialization " - } - }, - "55": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 19 - ], - [ - 60, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during serialization. " - } - }, - "60": { - "37": { - "name": "getPackageNamesWithActiveGrammars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 60, - 37 - ], - [ - 74, - 1 - ] - ], - "doc": "~Private~" - } - }, - "74": { - "15": { - "name": "editorAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 74, - 15 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "14": { - "name": "eachEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 84, - 14 - ], - [ - 91, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\n{Editor} in the workspace.\n\ncallback - A {Function} with an {Editor} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "91": { - "14": { - "name": "getEditors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 14 - ], - [ - 118, - 1 - ] - ], - "doc": " Public: Get all current editors in the workspace.\n\nReturns an {Array} of {Editor}s. " - } - }, - "118": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "options" - ], - "range": [ - [ - 118, - 8 - ], - [ - 135, - 1 - ] - ], - "doc": " Public: Open a given a URI in Atom asynchronously.\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :split - Either 'left' or 'right'. If 'left', the item will be opened in\n leftmost pane of the current active pane's row. If 'right', the\n item will be opened in the rightmost pane of the current active\n pane's row.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`.\n :searchAllPanes - A {Boolean}. If `true`, the workspace will attempt to\n activate an existing item for the given URI on any pane.\n If `false`, only the active pane will be searched for\n an existing item for the same URI. Defaults to `false`.\n\nReturns a promise that resolves to the {Editor} for the file URI. " - } - }, - "135": { - "15": { - "name": "openLicense", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 135, - 15 - ], - [ - 150, - 1 - ] - ], - "doc": "Public: Open Atom's license in the active pane. " - } - }, - "150": { - "12": { - "name": "openSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "options" - ], - "range": [ - [ - 150, - 12 - ], - [ - 168, - 1 - ] - ], - "doc": " Private: Synchronously open the given URI in the active pane. **Only use this method\nin specs. Calling this in production code will block the UI thread and\neveryone will be mad at you.**\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`. " - } - }, - "168": { - "17": { - "name": "openUriInPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "pane", - "options" - ], - "range": [ - [ - 168, - 17 - ], - [ - 193, - 1 - ] - ], - "doc": "~Private~" - } - }, - "193": { - "14": { - "name": "reopenItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 193, - 14 - ], - [ - 200, - 1 - ] - ], - "doc": " Public: Asynchronously reopens the last-closed item's URI if it hasn't already been\nreopened.\n\nReturns a promise that is resolved when the item is opened " - } - }, - "200": { - "18": { - "name": "reopenItemSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 200, - 18 - ], - [ - 217, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "217": { - "18": { - "name": "registerOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 217, - 18 - ], - [ - 221, - 1 - ] - ], - "doc": " Public: Register an opener for a uri.\n\nAn {Editor} will be used if no openers return a value.\n\n## Example\n```coffeescript\n atom.project.registerOpener (uri) ->\n if path.extname(uri) is '.toml'\n return new TomlEditor(uri)\n```\n\nopener - A {Function} to be called when a path is being opened. " - } - }, - "221": { - "20": { - "name": "unregisterOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 221, - 20 - ], - [ - 224, - 1 - ] - ], - "doc": "Public: Unregister an opener registered with {::registerOpener}. " - } - }, - "224": { - "14": { - "name": "getOpeners", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 14 - ], - [ - 230, - 1 - ] - ], - "doc": "~Private~" - } - }, - "230": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 230, - 17 - ], - [ - 236, - 1 - ] - ], - "doc": " Public: Get the active {Pane}.\n\nReturns a {Pane}. " - } - }, - "236": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 236, - 12 - ], - [ - 240, - 1 - ] - ], - "doc": " Public: Get all {Pane}s.\n\nReturns an {Array} of {Pane}s. " - } - }, - "240": { - "11": { - "name": "saveAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 240, - 11 - ], - [ - 244, - 1 - ] - ], - "doc": "Public: Save all pane items. " - } - }, - "244": { - "20": { - "name": "activateNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 244, - 20 - ], - [ - 248, - 1 - ] - ], - "doc": "Public: Make the next pane active. " - } - }, - "248": { - "24": { - "name": "activatePreviousPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 248, - 24 - ], - [ - 254, - 1 - ] - ], - "doc": "Public: Make the previous pane active. " - } - }, - "254": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 254, - 14 - ], - [ - 260, - 1 - ] - ], - "doc": " Public: Get the first pane {Pane} with an item for the given URI.\n\nReturns a {Pane} or `undefined` if no pane exists for the given URI. " - } - }, - "260": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 21 - ], - [ - 269, - 1 - ] - ], - "doc": " Public: Get the active {Pane}'s active item.\n\nReturns an pane item {Object}. " - } - }, - "269": { - "22": { - "name": "saveActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 22 - ], - [ - 277, - 1 - ] - ], - "doc": " Public: Save the active pane item.\n\nIf the active pane item currently has a URI according to the item's\n`.getUri` method, calls `.save` on the item. Otherwise\n{::saveActivePaneItemAs} # will be called instead. This method does nothing\nif the active item does not implement a `.save` method. " - } - }, - "277": { - "24": { - "name": "saveActivePaneItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 277, - 24 - ], - [ - 284, - 1 - ] - ], - "doc": " Public: Prompt the user for a path and save the active pane item to it.\n\nOpens a native dialog where the user selects a path on disk, then calls\n`.saveAs` on the item with the selected path. This method does nothing if\nthe active item does not implement a `.saveAs` method. " - } - }, - "284": { - "25": { - "name": "destroyActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 25 - ], - [ - 288, - 1 - ] - ], - "doc": " Public: Destroy (close) the active pane item.\n\nRemoves the active pane item and calls the `.destroy` method on it if one is\ndefined. " - } - }, - "288": { - "21": { - "name": "destroyActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 288, - 21 - ], - [ - 295, - 1 - ] - ], - "doc": "Public: Destroy (close) the active pane. " - } - }, - "295": { - "19": { - "name": "getActiveEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 295, - 19 - ], - [ - 299, - 1 - ] - ], - "doc": " Public: Get the active item if it is an {Editor}.\n\nReturns an {Editor} or `undefined` if the current active item is not an\n{Editor}. " - } - }, - "299": { - "20": { - "name": "increaseFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 299, - 20 - ], - [ - 303, - 1 - ] - ], - "doc": "Public: Increase the editor font size by 1px. " - } - }, - "303": { - "20": { - "name": "decreaseFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 303, - 20 - ], - [ - 308, - 1 - ] - ], - "doc": "Public: Decrease the editor font size by 1px. " - } - }, - "308": { - "17": { - "name": "resetFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 308, - 17 - ], - [ - 312, - 1 - ] - ], - "doc": "Public: Restore to a default editor font size. " - } - }, - "312": { - "14": { - "name": "itemOpened", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 312, - 14 - ], - [ - 317, - 1 - ] - ], - "doc": "Private: Removes the item's uri from the list of potential items to reopen. " - } - }, - "317": { - "23": { - "name": "onPaneItemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 317, - 23 - ], - [ - 322, - 1 - ] - ], - "doc": "Private: Adds the destroyed item's uri to the list of items to reopen. " - } - }, - "322": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 322, - 13 - ], - [ - 323, - 28 - ] - ], - "doc": "Private: Called by Model superclass when destroyed " - } - } - }, - "exports": 18 - }, - "src/key-binding.coffee": { - "objects": { - "0": { - "7": { - "name": "Grim", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "grim" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "calculateSpecificity", - "exportsProperty": "calculateSpecificity" - } - }, - "4": { - "0": { - "type": "class", - "name": "KeyBinding", - "bindingType": "exports", - "classProperties": [ - [ - 5, - 17 - ] - ], - "prototypeProperties": [ - [ - 7, - 11 - ], - [ - 9, - 15 - ], - [ - 23, - 11 - ], - [ - 30, - 11 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 34, - 43 - ] - ] - } - }, - "5": { - "17": { - "name": "currentIndex", - "type": "primitive", - "range": [ - [ - 5, - 17 - ], - [ - 5, - 17 - ] - ], - "bindingType": "classProperty" - } - }, - "7": { - "11": { - "name": "enabled", - "type": "primitive", - "range": [ - [ - 7, - 11 - ], - [ - 7, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null, - null, - "selector" - ], - "range": [ - [ - 9, - 15 - ], - [ - 23, - 1 - ] - ], - "doc": "~Private~" - } - }, - "23": { - "11": { - "name": "matches", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystroke" - ], - "range": [ - [ - 23, - 11 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyBinding" - ], - "range": [ - [ - 30, - 11 - ], - [ - 34, - 43 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/keymap-manager.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "2": { - "7": { - "name": "Grim", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "grim" - } - }, - "3": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 3, - 5 - ], - [ - 3, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "4": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 4 - ] - ], - "bindingType": "variable", - "module": "pathwatcher", - "name": "File", - "exportsProperty": "File" - } - }, - "7": { - "13": { - "name": "KeyBinding", - "type": "import", - "range": [ - [ - 7, - 13 - ], - [ - 7, - 35 - ] - ], - "bindingType": "variable", - "path": "./key-binding" - } - }, - "8": { - "15": { - "name": "CommandEvent", - "type": "import", - "range": [ - [ - 8, - 15 - ], - [ - 8, - 39 - ] - ], - "bindingType": "variable", - "path": "./command-event" - } - }, - "9": { - "1": { - "type": "import", - "range": [ - [ - 9, - 1 - ], - [ - 9, - 19 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "normalizeKeystrokes", - "exportsProperty": "normalizeKeystrokes" - }, - "22": { - "type": "import", - "range": [ - [ - 9, - 22 - ], - [ - 9, - 46 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "keystrokeForKeyboardEvent", - "exportsProperty": "keystrokeForKeyboardEvent" - }, - "49": { - "type": "import", - "range": [ - [ - 9, - 49 - ], - [ - 9, - 62 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "isAtomModifier", - "exportsProperty": "isAtomModifier" - }, - "65": { - "type": "import", - "range": [ - [ - 9, - 65 - ], - [ - 9, - 76 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "keydownEvent", - "exportsProperty": "keydownEvent" - } - }, - "11": { - "12": { - "type": "primitive", - "range": [ - [ - 11, - 12 - ], - [ - 11, - 59 - ] - ] - } - }, - "12": { - "17": { - "name": "OtherPlatforms", - "type": "function", - "range": [ - [ - 12, - 17 - ], - [ - 12, - 77 - ] - ] - } - }, - "84": { - "0": { - "type": "class", - "name": "KeymapManager", - "bindingType": "exports", - "classProperties": [ - [ - 99, - 17 - ] - ], - "prototypeProperties": [ - [ - 103, - 23 - ], - [ - 105, - 17 - ], - [ - 106, - 25 - ], - [ - 107, - 29 - ], - [ - 117, - 15 - ], - [ - 125, - 11 - ], - [ - 132, - 18 - ], - [ - 141, - 7 - ], - [ - 164, - 14 - ], - [ - 179, - 15 - ], - [ - 190, - 10 - ], - [ - 212, - 23 - ], - [ - 289, - 19 - ], - [ - 314, - 16 - ], - [ - 324, - 14 - ], - [ - 338, - 27 - ], - [ - 345, - 21 - ], - [ - 349, - 23 - ], - [ - 365, - 22 - ], - [ - 385, - 20 - ], - [ - 390, - 25 - ], - [ - 394, - 21 - ], - [ - 400, - 22 - ], - [ - 410, - 25 - ], - [ - 427, - 24 - ], - [ - 446, - 36 - ], - [ - 460, - 29 - ], - [ - 464, - 13 - ], - [ - 469, - 16 - ], - [ - 475, - 18 - ], - [ - 484, - 27 - ], - [ - 490, - 12 - ], - [ - 497, - 25 - ], - [ - 502, - 27 - ], - [ - 507, - 30 - ], - [ - 513, - 40 - ], - [ - 519, - 42 - ] - ], - "doc": " Public: Allows commands to be associated with keystrokes in a\ncontext-sensitive way. In Atom, you can access a global instance of this\nobject via `atom.keymap`.\n\nKey bindings are plain JavaScript objects containing **CSS selectors** as\ntheir top level keys, then **keystroke patterns** mapped to commands.\n\n```cson\n'.workspace':\n 'ctrl-l': 'package:do-something'\n 'ctrl-z': 'package:do-something-else'\n'.mini.editor':\n 'enter': 'core:confirm'\n```\n\nWhen a keystroke sequence matches a binding in a given context, a custom DOM\nevent with a type based on the command is dispatched on the target of the\nkeyboard event.\n\nTo match a keystroke sequence, the keymap starts at the target element for the\nkeyboard event. It looks for key bindings associated with selectors that match\nthe target element. If multiple match, the most specific is selected. If there\nis a tie in specificity, the most recently added binding wins. If no bindings\nare found for the events target, the search is repeated again for the target's\nparent node and so on recursively until a binding is found or we traverse off\nthe top of the document.\n\nWhen a binding is found, its command event is always dispatched on the\noriginal target of the keyboard event, even if the matching element is higher\nup in the DOM. In addition, `.preventDefault()` is called on the keyboard\nevent to prevent the browser from taking action. `.preventDefault` is only\ncalled if a matching binding is found.\n\nCommand event objects have a non-standard method called `.abortKeyBinding()`.\nIf your command handler is invoked but you programmatically determine that no\naction can be taken and you want to allow other bindings to be matched, call\n`.abortKeyBinding()` on the event object. An example of where this is useful\nis binding snippet expansion to `tab`. If `snippets:expand` is invoked when\nthe cursor does not follow a valid snippet prefix, we abort the binding and\nallow `tab` to be handled by the default handler, which inserts whitespace.\n\nMulti-keystroke bindings are possible. If a sequence of one or more keystrokes\n*partially* matches a multi-keystroke binding, the keymap enters a pending\nstate. The pending state is terminated on the next keystroke, or after\n{::partialMatchTimeout} milliseconds has elapsed. When the pending state is\nterminated via a timeout or a keystroke that leads to no matches, the longest\nambiguous bindings that caused the pending state are temporarily disabled and\nthe previous keystrokes are replayed. If there is ambiguity again during the\nreplay, the next longest bindings are disabled and the keystrokes are replayed\nagain.\n\n## Events\n\n* `matched` -\n Emitted when keystrokes match a binding.\n * keystrokes - The keystroke {String} that matched the binding\n * binding - The {KeyBinding} that was used\n * keyboardEventTarget - The target element of the keyboard event\n\n* `matched-partially` -\n Emitted when keystrokes partially match one or more bindings.\n * keystrokes - The keystroke {String} that partially match some bindings\n * partiallyMatchedBindings - The {KeyBinding}s that partially matched\n * keyboardEventTarget - The target element of the keyboard event\n\n* `match-failed` -\n Emitted when keystrokes don't match any bindings.\n * keystrokes - The keystroke {String} that matched no bindings\n * keyboardEventTarget - The target element of the keyboard event ", - "range": [ - [ - 84, - 0 - ], - [ - 521, - 62 - ] - ] - } - }, - "99": { - "17": { - "name": "keydownEvent", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "key", - "options" - ], - "range": [ - [ - 99, - 17 - ], - [ - 99, - 60 - ] - ], - "doc": " Public: Create a keydown DOM event for testing purposes.\n\nkey - The key or keyIdentifier of the event. For example, 'a', '1',\n 'escape', 'backspace', etc.\noptions - An {Object} containing any of the following:\n :ctrl - A {Boolean} indicating the ctrl modifier key\n :alt - A {Boolean} indicating the alt modifier key\n :shift - A {Boolean} indicating the shift modifier key\n :cmd - A {Boolean} indicating the cmd modifier key\n :which - A {Number} indicating `which` value of the event. See\n the docs for KeyboardEvent for more information.\n :target - The target element of the event. " - } - }, - "103": { - "23": { - "name": "partialMatchTimeout", - "type": "primitive", - "range": [ - [ - 103, - 23 - ], - [ - 103, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "105": { - "17": { - "name": "defaultTarget", - "type": "primitive", - "range": [ - [ - 105, - 17 - ], - [ - 105, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "106": { - "25": { - "name": "pendingPartialMatches", - "type": "primitive", - "range": [ - [ - 106, - 25 - ], - [ - 106, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "107": { - "29": { - "name": "pendingStateTimeoutHandle", - "type": "primitive", - "range": [ - [ - 107, - 29 - ], - [ - 107, - 32 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "117": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 117, - 15 - ], - [ - 125, - 1 - ] - ], - "doc": " Public:\n\noptions - An {Object} containing properties to assign to the keymap: You can\n pass custom properties to be used by extension methods. The following\n properties are also supported:\n :defaultTarget - This will be used as the target of events whose target\n is `document.body` to allow for a catch-all element when nothing is\n focused " - } - }, - "125": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 125, - 11 - ], - [ - 132, - 1 - ] - ], - "doc": "Public: Unwatch all watched paths. " - } - }, - "132": { - "18": { - "name": "getKeyBindings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 132, - 18 - ], - [ - 141, - 1 - ] - ], - "doc": " Public: Get all current key bindings.\n\nReturns an {Array} of {KeyBinding}s. " - } - }, - "141": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source", - "keyBindingsBySelector" - ], - "range": [ - [ - 141, - 7 - ], - [ - 164, - 1 - ] - ], - "doc": " Public: Add sets of key bindings grouped by CSS selector.\n\nsource - A {String} (usually a path) uniquely identifying the given bindings\n so they can be removed later.\nbindings - An {Object} whose top-level keys point at sub-objects mapping\n keystroke patterns to commands. " - } - }, - "164": { - "14": { - "name": "loadKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bindingsPath", - "options" - ], - "range": [ - [ - 164, - 14 - ], - [ - 179, - 1 - ] - ], - "doc": " Public: Load the key bindings from the given path.\n\npath - A {String} containing a path to a file or a directory. If the path is\n a directory, all files inside it will be loaded.\noptions - An {Object} containing the following optional keys:\n :watch - If `true`, the keymap will also reload the file at the given path\n whenever it changes. This option cannot be used with directory paths. " - } - }, - "179": { - "15": { - "name": "watchKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 179, - 15 - ], - [ - 190, - 1 - ] - ], - "doc": " Public: Cause the keymap to reload the key bindings file at the given path\nwhenever it changes.\n\nThis method doesn't perform the initial load of the key bindings file. If\nthat's what you're looking for, call {::loadKeymap} with `watch: true`. " - } - }, - "190": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source" - ], - "range": [ - [ - 190, - 10 - ], - [ - 212, - 1 - ] - ], - "doc": " Public: Remove the key bindings added with {::addKeymap} or\n{::loadKeymap}.\n\nsource - A {String} representing the `source` in a previous call to\n {::addKeymap} or the path in {::loadKeymap}. " - } - }, - "212": { - "23": { - "name": "handleKeyboardEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event", - "replaying" - ], - "range": [ - [ - 212, - 23 - ], - [ - 289, - 1 - ] - ], - "doc": " Public: Dispatch a custom event associated with the matching key binding for\nthe given `KeyboardEvent` if one can be found.\n\nIf a matching binding is found on the event's target or one of its\nancestors, `.preventDefault()` is called on the keyboard event and the\nbinding's command is emitted as a custom event on the matching element.\n\nIf the matching binding's command is 'native!', the method will terminate\nwithout calling `.preventDefault()` on the keyboard event, allowing the\nbrowser to handle it as normal.\n\nIf the matching binding's command is 'unset!', the search will continue from\nthe current element's parent.\n\nIf the matching binding's command is 'abort!', the search will terminate\nwithout dispatching a command event.\n\nIf the event's target is `document.body`, it will be treated as if its\ntarget is `.defaultTarget` if that property is assigned on the keymap. " - } - }, - "289": { - "19": { - "name": "findKeyBindings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 289, - 19 - ], - [ - 314, - 1 - ] - ], - "doc": " Public: Get the key bindings for a given command and optional target.\n\nparams - An {Object} whose keys constrain the binding search:\n :keystrokes - A {String} representing one or more keystrokes, such as\n 'ctrl-x ctrl-s'\n :command - A {String} representing the name of a command, such as\n 'editor:backspace'\n :target - An optional DOM element constraining the search. If this\n parameter is supplied, the call will only return bindings that can be\n invoked by a KeyboardEvent originating from the target element. " - } - }, - "314": { - "16": { - "name": "reloadKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 314, - 16 - ], - [ - 324, - 1 - ] - ], - "doc": " Private: Called by the path watcher callback to reload a file at the given path. If\nwe can't read the file cleanly, we don't proceed with the reload. " - } - }, - "324": { - "14": { - "name": "readKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "suppressErrors" - ], - "range": [ - [ - 324, - 14 - ], - [ - 338, - 1 - ] - ], - "doc": "~Private~" - } - }, - "338": { - "27": { - "name": "filePathMatchesPlatform", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 338, - 27 - ], - [ - 345, - 1 - ] - ], - "doc": " Private: Determine if the given path should be loaded on this platform. If the\nfilename has the pattern '.cson' or 'foo..cson' and\n does not match the current platform, returns false. Otherwise\nreturns true. " - } - }, - "345": { - "21": { - "name": "getOtherPlatforms", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 345, - 21 - ], - [ - 345, - 37 - ] - ], - "doc": "Private: For testing purposes " - } - }, - "349": { - "23": { - "name": "findMatchCandidates", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystrokes" - ], - "range": [ - [ - 349, - 23 - ], - [ - 365, - 1 - ] - ], - "doc": " Private: Finds all key bindings whose keystrokes match the given keystrokes. Returns\nboth partial and exact matches. " - } - }, - "365": { - "22": { - "name": "findPartialMatches", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "partialMatchCandidates", - "target" - ], - "range": [ - [ - 365, - 22 - ], - [ - 385, - 1 - ] - ], - "doc": " Private: Determine which of the given bindings have selectors matching the target or\none of its ancestors. This is used by {::handleKeyboardEvent} to determine\nif there are any partial matches for the keyboard event. " - } - }, - "385": { - "20": { - "name": "findExactMatches", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "exactMatchCandidates", - "target" - ], - "range": [ - [ - 385, - 20 - ], - [ - 390, - 1 - ] - ], - "doc": " Private: Find the matching bindings among the given candidates for the given target,\nordered by specificity. Does not traverse up the target's ancestors. This is\nused by {::handleKeyboardEvent} to find a matching binding when there are no\npartially-matching bindings. " - } - }, - "390": { - "25": { - "name": "clearQueuedKeystrokes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 390, - 25 - ], - [ - 394, - 1 - ] - ], - "doc": "~Private~" - } - }, - "394": { - "21": { - "name": "enterPendingState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pendingPartialMatches", - "enableTimeout" - ], - "range": [ - [ - 394, - 21 - ], - [ - 400, - 1 - ] - ], - "doc": "~Private~" - } - }, - "400": { - "22": { - "name": "cancelPendingState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 400, - 22 - ], - [ - 410, - 1 - ] - ], - "doc": "~Private~" - } - }, - "410": { - "25": { - "name": "terminatePendingState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 410, - 25 - ], - [ - 427, - 1 - ] - ], - "doc": " Private: This is called by {::handleKeyboardEvent} when no matching bindings are\nfound for the currently queued keystrokes or by the pending state timeout.\nIt disables the longest of the pending partially matching bindings, then\nreplays the queued keyboard events to allow any bindings with shorter\nkeystroke sequences to be matched unambiguously. " - } - }, - "427": { - "24": { - "name": "dispatchCommandEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "target", - "keyboardEvent" - ], - "range": [ - [ - 427, - 24 - ], - [ - 446, - 1 - ] - ], - "doc": " Private: After we match a binding, we call this method to dispatch a custom event\nbased on the binding's command. " - } - }, - "446": { - "36": { - "name": "simulateBubblingOnDetachedTarget", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "target", - "commandEvent" - ], - "range": [ - [ - 446, - 36 - ], - [ - 460, - 1 - ] - ], - "doc": " Private: Chromium does not bubble events dispatched on detached targets, which makes\ntesting a pain in the ass. This method simulates bubbling manually. " - } - }, - "460": { - "29": { - "name": "keystrokeForKeyboardEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 460, - 29 - ], - [ - 464, - 1 - ] - ], - "doc": " Public: Translate a keydown event to a keystroke string.\n\nevent - A `KeyboardEvent` of type 'keydown'\n\nReturns a {String} describing the keystroke. " - } - }, - "464": { - "13": { - "name": "addKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source", - "bindings" - ], - "range": [ - [ - 464, - 13 - ], - [ - 469, - 1 - ] - ], - "doc": "Deprecated: Use {::addKeymap} instead. " - } - }, - "469": { - "16": { - "name": "removeKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source" - ], - "range": [ - [ - 469, - 16 - ], - [ - 475, - 1 - ] - ], - "doc": "Deprecated: Use {::removeKeymap} instead. " - } - }, - "475": { - "18": { - "name": "handleKeyEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 475, - 18 - ], - [ - 484, - 1 - ] - ], - "doc": " Deprecated: Handle a jQuery keyboard event. Use {::handleKeyboardEvent} with\na raw keyboard event instead. " - } - }, - "484": { - "27": { - "name": "keystrokeStringForEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 484, - 27 - ], - [ - 490, - 1 - ] - ], - "doc": " Deprecated: Translate a jQuery keyboard event to a keystroke string. Use\n{::keystrokeForKeyboardEvent} with a raw KeyboardEvent instead. " - } - }, - "490": { - "12": { - "name": "bindKeys", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source", - "selector", - "keyBindings" - ], - "range": [ - [ - 490, - 12 - ], - [ - 497, - 1 - ] - ], - "doc": " Deprecated: Use {::addKeymap} with a map from selectors to key\nbindings. " - } - }, - "497": { - "25": { - "name": "keyBindingsForCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command" - ], - "range": [ - [ - 497, - 25 - ], - [ - 502, - 1 - ] - ], - "doc": "Deprecated: Use {::findKeyBindings} with the 'command' param. " - } - }, - "502": { - "27": { - "name": "keyBindingsForKeystroke", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystroke" - ], - "range": [ - [ - 502, - 27 - ], - [ - 507, - 1 - ] - ], - "doc": "Deprecated: Use {::findKeyBindings} with the 'keystrokes' param. " - } - }, - "507": { - "30": { - "name": "keyBindingsMatchingElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "target", - "keyBindings" - ], - "range": [ - [ - 507, - 30 - ], - [ - 513, - 1 - ] - ], - "doc": "Deprecated: Use {::findKeyBindings} with the 'target' param. " - } - }, - "513": { - "40": { - "name": "keyBindingsForCommandMatchingElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "target" - ], - "range": [ - [ - 513, - 40 - ], - [ - 519, - 1 - ] - ], - "doc": " Deprecated: Use {::findKeyBindings} with the 'command' and 'target'\nparams " - } - }, - "519": { - "42": { - "name": "keyBindingsForKeystrokeMatchingElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystrokes", - "target" - ], - "range": [ - [ - 519, - 42 - ], - [ - 521, - 62 - ] - ], - "doc": " Deprecated: Use {::findKeyBindings} with the 'keystrokes' and 'target'\nparams " - } - } - }, - "exports": 84 - }, - "src/grammar-registry.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "10": { - "name": "Grammar", - "type": "import", - "range": [ - [ - 4, - 10 - ], - [ - 4, - 28 - ] - ], - "bindingType": "variable", - "path": "./grammar" - } - }, - "5": { - "14": { - "name": "NullGrammar", - "type": "import", - "range": [ - [ - 5, - 14 - ], - [ - 5, - 37 - ] - ], - "bindingType": "variable", - "path": "./null-grammar" - } - }, - "9": { - "0": { - "type": "class", - "name": "GrammarRegistry", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 24, - 15 - ], - [ - 32, - 23 - ], - [ - 38, - 17 - ], - [ - 47, - 29 - ], - [ - 57, - 14 - ], - [ - 69, - 19 - ], - [ - 81, - 15 - ], - [ - 96, - 19 - ], - [ - 106, - 15 - ], - [ - 119, - 26 - ], - [ - 128, - 29 - ], - [ - 135, - 31 - ], - [ - 139, - 25 - ], - [ - 151, - 17 - ], - [ - 154, - 15 - ], - [ - 156, - 18 - ], - [ - 160, - 17 - ] - ], - "doc": "Public: Registry containing one or more grammars. ", - "range": [ - [ - 9, - 0 - ], - [ - 164, - 11 - ] - ] - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 12, - 15 - ], - [ - 24, - 1 - ] - ], - "doc": "~Private~" - } - }, - "24": { - "15": { - "name": "getGrammars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 24, - 15 - ], - [ - 32, - 1 - ] - ], - "doc": " Public: Get all the grammars in this registry.\n\nReturns a non-empty {Array} of {Grammar} instances. " - } - }, - "32": { - "23": { - "name": "grammarForScopeName", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeName" - ], - "range": [ - [ - 32, - 23 - ], - [ - 38, - 1 - ] - ], - "doc": " Public: Get a grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`.\n\nReturns a {Grammar} or undefined. " - } - }, - "38": { - "17": { - "name": "removeGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 38, - 17 - ], - [ - 47, - 1 - ] - ], - "doc": " Public: Remove a grammar from this registry.\n\ngrammar - The {Grammar} to remove. " - } - }, - "47": { - "29": { - "name": "removeGrammarForScopeName", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeName" - ], - "range": [ - [ - 47, - 29 - ], - [ - 57, - 1 - ] - ], - "doc": " Public: Remove the grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`. " - } - }, - "57": { - "14": { - "name": "addGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 57, - 14 - ], - [ - 69, - 1 - ] - ], - "doc": " Public: Add a grammar to this registry.\n\nA 'grammar-added' event is emitted after the grammar is added.\n\ngrammar - The {Grammar} to add. This should be a value previously returned\n from {::readGrammar} or {::readGrammarSync}. " - } - }, - "69": { - "19": { - "name": "readGrammarSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath" - ], - "range": [ - [ - 69, - 19 - ], - [ - 81, - 1 - ] - ], - "doc": " Public: Read a grammar synchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\n\nReturns a {Grammar}. " - } - }, - "81": { - "15": { - "name": "readGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath", - "callback" - ], - "range": [ - [ - 81, - 15 - ], - [ - 96, - 1 - ] - ], - "doc": " Public: Read a grammar asynchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " - } - }, - "96": { - "19": { - "name": "loadGrammarSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath" - ], - "range": [ - [ - 96, - 19 - ], - [ - 106, - 1 - ] - ], - "doc": " Public: Read a grammar synchronously and add it to this registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\n\nReturns a {Grammar}. " - } - }, - "106": { - "15": { - "name": "loadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath", - "callback" - ], - "range": [ - [ - 106, - 15 - ], - [ - 119, - 1 - ] - ], - "doc": " Public: Read a grammar asynchronously and add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " - } - }, - "119": { - "26": { - "name": "grammarOverrideForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 119, - 26 - ], - [ - 128, - 1 - ] - ], - "doc": " Public: Get the grammar override for the given file path.\n\nfilePath - A {String} file path.\n\nReturns a {Grammar} or undefined. " - } - }, - "128": { - "29": { - "name": "setGrammarOverrideForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "scopeName" - ], - "range": [ - [ - 128, - 29 - ], - [ - 135, - 1 - ] - ], - "doc": " Public: Set the grammar override for the given file path.\n\nfilePath - A non-empty {String} file path.\nscopeName - A {String} such as `\"source.js\"`.\n\nReturns a {Grammar} or undefined. " - } - }, - "135": { - "31": { - "name": "clearGrammarOverrideForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 135, - 31 - ], - [ - 139, - 1 - ] - ], - "doc": " Public: Remove the grammar override for the given file path.\n\nfilePath - A {String} file path. " - } - }, - "139": { - "25": { - "name": "clearGrammarOverrides", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 139, - 25 - ], - [ - 151, - 1 - ] - ], - "doc": "Public: Remove all grammar overrides. " - } - }, - "151": { - "17": { - "name": "selectGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "fileContents" - ], - "range": [ - [ - 151, - 17 - ], - [ - 154, - 1 - ] - ], - "doc": " Public: Select a grammar for the given file path and file contents.\n\nThis picks the best match by checking the file path and contents against\neach grammar.\n\nfilePath - A {String} file path.\nfileContents - A {String} of text for the file path.\n\nReturns a {Grammar}, never null. " - } - }, - "154": { - "15": { - "name": "createToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "scopes" - ], - "range": [ - [ - 154, - 15 - ], - [ - 154, - 48 - ] - ], - "doc": "~Private~" - } - }, - "156": { - "18": { - "name": "grammarUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeName" - ], - "range": [ - [ - 156, - 18 - ], - [ - 160, - 1 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "17": { - "name": "createGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath", - "object" - ], - "range": [ - [ - 160, - 17 - ], - [ - 164, - 11 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 9 - }, - "src/grammar.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "3": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 3, - 5 - ], - [ - 3, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 10 - ] - ], - "bindingType": "variable", - "module": "oniguruma", - "name": "OnigRegExp", - "exportsProperty": "OnigRegExp" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "7": { - "13": { - "name": "Injections", - "type": "import", - "range": [ - [ - 7, - 13 - ], - [ - 7, - 34 - ] - ], - "bindingType": "variable", - "path": "./injections" - } - }, - "8": { - "10": { - "name": "Pattern", - "type": "import", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 28 - ] - ], - "bindingType": "variable", - "path": "./pattern" - } - }, - "9": { - "7": { - "name": "Rule", - "type": "import", - "range": [ - [ - 9, - 7 - ], - [ - 9, - 22 - ] - ], - "bindingType": "variable", - "path": "./rule" - } - }, - "10": { - "16": { - "name": "ScopeSelector", - "type": "import", - "range": [ - [ - 10, - 16 - ], - [ - 10, - 41 - ] - ], - "bindingType": "variable", - "path": "./scope-selector" - } - }, - "12": { - "21": { - "name": "pathSplitRegex", - "type": "function", - "range": [ - [ - 12, - 21 - ], - [ - 12, - 34 - ] - ] - } - }, - "19": { - "0": { - "type": "class", - "name": "Grammar", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 22, - 15 - ], - [ - 51, - 17 - ], - [ - 73, - 16 - ], - [ - 141, - 12 - ], - [ - 144, - 14 - ], - [ - 147, - 14 - ], - [ - 151, - 18 - ], - [ - 154, - 17 - ], - [ - 162, - 27 - ], - [ - 165, - 18 - ], - [ - 172, - 12 - ], - [ - 182, - 19 - ], - [ - 199, - 16 - ], - [ - 214, - 15 - ], - [ - 216, - 14 - ], - [ - 218, - 17 - ], - [ - 220, - 23 - ], - [ - 223, - 19 - ] - ], - "doc": " Public: Grammar that tokenizes lines of text.\n\nThis class should not be instantiated directly but instead obtained from\na {GrammarRegistry} by calling {GrammarRegistry::loadGrammar}. ", - "range": [ - [ - 19, - 0 - ], - [ - 235, - 10 - ] - ] - } - }, - "22": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - "options" - ], - "range": [ - [ - 22, - 15 - ], - [ - 51, - 1 - ] - ], - "doc": "~Private~" - } - }, - "51": { - "17": { - "name": "tokenizeLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 51, - 17 - ], - [ - 73, - 1 - ] - ], - "doc": " Public: Tokenize all lines in the given text.\n\ntext - A {String} containing one or more lines.\n\nReturns an {Array} of token arrays for each line tokenized. " - } - }, - "73": { - "16": { - "name": "tokenizeLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line", - "ruleStack", - "firstLine" - ], - "range": [ - [ - 73, - 16 - ], - [ - 141, - 1 - ] - ], - "doc": " Public: Tokenize the line of text.\n\nline - A {String} of text to tokenize.\nruleStack - An optional {Array} of rules previously returned from this\n method. This should be null when tokenizing the first line in\n the file.\nfirstLine - A {Boolean} denoting whether this is the first line in the file\n which defaults to `false`. This should be `true` when\n tokenizing the first line in the file.\n\nReturns an {Object} containing `tokens` and `ruleStack` properties:\n :token - An {Array} of tokens covering the entire line of text.\n :ruleStack - An {Array} of rules representing the tokenized state at the\n end of the line. These should be passed back into this method\n when tokenizing the next line in the file. " - } - }, - "141": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 12 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "14": { - "name": "deactivate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 144, - 14 - ], - [ - 147, - 1 - ] - ], - "doc": "~Private~" - } - }, - "147": { - "14": { - "name": "clearRules", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 147, - 14 - ], - [ - 151, - 1 - ] - ], - "doc": "~Private~" - } - }, - "151": { - "18": { - "name": "getInitialRule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 151, - 18 - ], - [ - 154, - 1 - ] - ], - "doc": "~Private~" - } - }, - "154": { - "17": { - "name": "getRepository", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 17 - ], - [ - 162, - 1 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "27": { - "name": "addIncludedGrammarScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scope" - ], - "range": [ - [ - 162, - 27 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "18": { - "name": "grammarUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeName" - ], - "range": [ - [ - 165, - 18 - ], - [ - 172, - 1 - ] - ], - "doc": "~Private~" - } - }, - "172": { - "12": { - "name": "getScore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "contents" - ], - "range": [ - [ - 172, - 12 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "19": { - "name": "matchesContents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "contents" - ], - "range": [ - [ - 182, - 19 - ], - [ - 199, - 1 - ] - ], - "doc": "~Private~" - } - }, - "199": { - "16": { - "name": "getPathScore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 199, - 16 - ], - [ - 214, - 1 - ] - ], - "doc": "~Private~" - } - }, - "214": { - "15": { - "name": "createToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "scopes" - ], - "range": [ - [ - 214, - 15 - ], - [ - 214, - 69 - ] - ], - "doc": "~Private~" - } - }, - "216": { - "14": { - "name": "createRule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 216, - 14 - ], - [ - 216, - 60 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "17": { - "name": "createPattern", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 218, - 17 - ], - [ - 218, - 66 - ] - ], - "doc": "~Private~" - } - }, - "220": { - "23": { - "name": "getMaxTokensPerLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 220, - 23 - ], - [ - 223, - 1 - ] - ], - "doc": "~Private~" - } - }, - "223": { - "19": { - "name": "scopesFromStack", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stack", - "rule", - "endPatternMatch" - ], - "range": [ - [ - 223, - 19 - ], - [ - 235, - 10 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 19 - }, - "src/directory.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 22 - ] - ], - "bindingType": "variable", - "module": "async" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "6": { - "7": { - "name": "File", - "type": "import", - "range": [ - [ - 6, - 7 - ], - [ - 6, - 22 - ] - ], - "bindingType": "variable", - "path": "./file" - } - }, - "7": { - "14": { - "name": "PathWatcher", - "type": "import", - "range": [ - [ - 7, - 14 - ], - [ - 7, - 29 - ] - ], - "bindingType": "variable", - "path": "./main" - } - }, - "11": { - "0": { - "type": "class", - "name": "Directory", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 14, - 12 - ], - [ - 20, - 15 - ], - [ - 39, - 15 - ], - [ - 46, - 11 - ], - [ - 49, - 10 - ], - [ - 52, - 15 - ], - [ - 58, - 11 - ], - [ - 66, - 19 - ], - [ - 70, - 13 - ], - [ - 75, - 10 - ], - [ - 82, - 19 - ], - [ - 95, - 12 - ], - [ - 119, - 14 - ], - [ - 154, - 18 - ], - [ - 174, - 14 - ], - [ - 198, - 33 - ], - [ - 202, - 37 - ], - [ - 208, - 18 - ] - ], - "doc": "Public: Represents a directory on disk that can be watched for changes. ", - "range": [ - [ - 11, - 0 - ], - [ - 209, - 73 - ] - ] - } - }, - "14": { - "12": { - "name": "realPath", - "type": "primitive", - "range": [ - [ - 14, - 12 - ], - [ - 14, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "20": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "directoryPath", - null - ], - "range": [ - [ - 20, - 15 - ], - [ - 39, - 1 - ] - ], - "doc": " Public: Configures a new Directory instance, no files are accessed.\n\ndirectoryPath - A {String} containing the absolute path to the directory.\nsymlink - A {Boolean} indicating if the path is a symlink (default: false). " - } - }, - "39": { - "15": { - "name": "getBaseName", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 39, - 15 - ], - [ - 46, - 1 - ] - ], - "doc": "Public: Returns the {String} basename of the directory. " - } - }, - "46": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 46, - 11 - ], - [ - 46, - 18 - ] - ], - "doc": " Public: Returns the directory's symbolic path.\n\nThis may include unfollowed symlinks or relative directory entries. Or it\nmay be fully resolved, it depends on what you give it. " - } - }, - "49": { - "10": { - "name": "isFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 10 - ], - [ - 49, - 17 - ] - ], - "doc": "Public: Distinguishes Files from Directories during traversal. " - } - }, - "52": { - "15": { - "name": "isDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 15 - ], - [ - 52, - 21 - ] - ], - "doc": "Public: Distinguishes Files from Directories during traversal. " - } - }, - "58": { - "11": { - "name": "getFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filename" - ], - "range": [ - [ - 58, - 11 - ], - [ - 66, - 1 - ] - ], - "doc": " Public: Traverse within this Directory to a child File. This method doesn't\nactually check to see if the File exists, it just creates the File object.\n\nfilename - The name of a File within this Directory. " - } - }, - "66": { - "19": { - "name": "getSubdirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "dirname" - ], - "range": [ - [ - 66, - 19 - ], - [ - 70, - 1 - ] - ], - "doc": " Public: Traverse within this a Directory to a child Directory. This method\ndoesn't actually check to see if the Directory exists, it just creates the\nDirectory object.\n\ndirname - The name of the child Directory. " - } - }, - "70": { - "13": { - "name": "getParent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 70, - 13 - ], - [ - 75, - 1 - ] - ], - "doc": "Public: Traverse to the parent Directory. " - } - }, - "75": { - "10": { - "name": "isRoot", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 75, - 10 - ], - [ - 82, - 1 - ] - ], - "doc": " Public: Return true if this {Directory} is the root directory of the\nfilesystem, or false if it isn't. " - } - }, - "82": { - "19": { - "name": "getRealPathSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 19 - ], - [ - 95, - 1 - ] - ], - "doc": " Public: Returns this directory's completely resolved path.\n\nAll relative directory entries are removed and symlinks are resolved to\ntheir final destination. " - } - }, - "95": { - "12": { - "name": "contains", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToCheck" - ], - "range": [ - [ - 95, - 12 - ], - [ - 119, - 1 - ] - ], - "doc": " Public: Returns whether the given path (real or symbolic) is inside this\ndirectory. This method does not actually check if the path exists, it just\nchecks if the path is under this directory. " - } - }, - "119": { - "14": { - "name": "relativize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fullPath" - ], - "range": [ - [ - 119, - 14 - ], - [ - 154, - 1 - ] - ], - "doc": "Public: Returns the relative path to the given path from this directory. " - } - }, - "154": { - "18": { - "name": "getEntriesSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 18 - ], - [ - 174, - 1 - ] - ], - "doc": " Public: Reads file entries in this directory from disk synchronously.\n\nReturns an {Array} of {File} and {Directory} objects. " - } - }, - "174": { - "14": { - "name": "getEntries", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 174, - 14 - ], - [ - 198, - 1 - ] - ], - "doc": " Public: Reads file entries in this directory from disk asynchronously.\n\ncallback - A {Function} to call with an {Error} as the 1st argument and\n an {Array} of {File} and {Directory} objects as the 2nd argument. " - } - }, - "198": { - "33": { - "name": "subscribeToNativeChangeEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 198, - 33 - ], - [ - 202, - 1 - ] - ], - "doc": "~Private~" - } - }, - "202": { - "37": { - "name": "unsubscribeFromNativeChangeEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 202, - 37 - ], - [ - 208, - 1 - ] - ], - "doc": "~Private~" - } - }, - "208": { - "18": { - "name": "isPathPrefixOf", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "prefix", - "fullPath" - ], - "range": [ - [ - 208, - 18 - ], - [ - 209, - 73 - ] - ], - "doc": "Private: Does given full path start with the given prefix? " - } - } - }, - "exports": 11 - }, - "src/file.coffee": { - "objects": { - "0": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 0, - 9 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "6": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 6, - 4 - ], - [ - 6, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "7": { - "8": { - "name": "runas", - "type": "import", - "range": [ - [ - 7, - 8 - ], - [ - 7, - 22 - ] - ], - "bindingType": "variable", - "module": "runas" - } - }, - "9": { - "12": { - "type": "primitive", - "range": [ - [ - 9, - 12 - ], - [ - 9, - 15 - ] - ] - } - }, - "10": { - "14": { - "name": "PathWatcher", - "type": "import", - "range": [ - [ - 10, - 14 - ], - [ - 10, - 29 - ] - ], - "bindingType": "variable", - "path": "./main" - } - }, - "15": { - "0": { - "type": "class", - "name": "File", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 18, - 12 - ], - [ - 24, - 15 - ], - [ - 34, - 28 - ], - [ - 49, - 10 - ], - [ - 52, - 15 - ], - [ - 55, - 11 - ], - [ - 59, - 11 - ], - [ - 62, - 13 - ], - [ - 67, - 19 - ], - [ - 76, - 15 - ], - [ - 80, - 9 - ], - [ - 86, - 12 - ], - [ - 101, - 8 - ], - [ - 128, - 10 - ], - [ - 131, - 13 - ], - [ - 135, - 13 - ], - [ - 142, - 40 - ], - [ - 154, - 27 - ], - [ - 167, - 32 - ], - [ - 170, - 22 - ], - [ - 178, - 33 - ], - [ - 182, - 37 - ] - ], - "doc": " Public: Represents an individual file that can be watched, read from, and\nwritten to. ", - "range": [ - [ - 15, - 0 - ], - [ - 185, - 31 - ] - ] - } - }, - "18": { - "12": { - "name": "realPath", - "type": "primitive", - "range": [ - [ - 18, - 12 - ], - [ - 18, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "24": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - null - ], - "range": [ - [ - 24, - 15 - ], - [ - 34, - 1 - ] - ], - "doc": " Public: Creates a new file.\n\nfilePath - A {String} containing the absolute path to the file\nsymlink - A {Boolean} indicating if the path is a symlink (default: false). " - } - }, - "34": { - "28": { - "name": "handleEventSubscriptions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 28 - ], - [ - 49, - 1 - ] - ], - "doc": "Private: Subscribes to file system notifications when necessary. " - } - }, - "49": { - "10": { - "name": "isFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 10 - ], - [ - 49, - 16 - ] - ], - "doc": "Public: Distinguishes Files from Directories during traversal. " - } - }, - "52": { - "15": { - "name": "isDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 15 - ], - [ - 52, - 22 - ] - ], - "doc": "Public: Distinguishes Files from Directories during traversal. " - } - }, - "55": { - "11": { - "name": "setPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 55, - 11 - ], - [ - 59, - 1 - ] - ], - "doc": "Private: Sets the path for the file. " - } - }, - "59": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 11 - ], - [ - 59, - 18 - ] - ], - "doc": "Public: Returns the {String} path for the file. " - } - }, - "62": { - "13": { - "name": "getParent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 62, - 13 - ], - [ - 67, - 1 - ] - ], - "doc": "Public: Return the {Directory} that contains this file. " - } - }, - "67": { - "19": { - "name": "getRealPathSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 19 - ], - [ - 76, - 1 - ] - ], - "doc": "Public: Returns this file's completely resolved path. " - } - }, - "76": { - "15": { - "name": "getBaseName", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 15 - ], - [ - 80, - 1 - ] - ], - "doc": "Public: Return the {String} filename without any directory information. " - } - }, - "80": { - "9": { - "name": "write", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 80, - 9 - ], - [ - 86, - 1 - ] - ], - "doc": "Public: Overwrites the file with the given String. " - } - }, - "86": { - "12": { - "name": "readSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "flushCache" - ], - "range": [ - [ - 86, - 12 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "8": { - "name": "read", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "flushCache" - ], - "range": [ - [ - 101, - 8 - ], - [ - 128, - 1 - ] - ], - "doc": " Public: Reads the contents of the file.\n\nflushCache - A {Boolean} indicating whether to require a direct read or if\n a cached copy is acceptable.\n\nReturns a promise that resovles to a String. " - } - }, - "128": { - "10": { - "name": "exists", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 128, - 10 - ], - [ - 131, - 1 - ] - ], - "doc": "Public: Returns whether the file exists. " - } - }, - "131": { - "13": { - "name": "setDigest", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "contents" - ], - "range": [ - [ - 131, - 13 - ], - [ - 135, - 1 - ] - ], - "doc": "~Private~" - } - }, - "135": { - "13": { - "name": "getDigest", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 135, - 13 - ], - [ - 142, - 1 - ] - ], - "doc": "Public: Get the SHA-1 digest of this file " - } - }, - "142": { - "40": { - "name": "writeFileWithPrivilegeEscalationSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "text" - ], - "range": [ - [ - 142, - 40 - ], - [ - 154, - 1 - ] - ], - "doc": " Private: Writes the text to specified path.\n\nPrivilege escalation would be asked when current user doesn't have\npermission to the path. " - } - }, - "154": { - "27": { - "name": "handleNativeChangeEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventType", - "eventPath" - ], - "range": [ - [ - 154, - 27 - ], - [ - 167, - 1 - ] - ], - "doc": "~Private~" - } - }, - "167": { - "32": { - "name": "detectResurrectionAfterDelay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 167, - 32 - ], - [ - 170, - 1 - ] - ], - "doc": "~Private~" - } - }, - "170": { - "22": { - "name": "detectResurrection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 170, - 22 - ], - [ - 178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "178": { - "33": { - "name": "subscribeToNativeChangeEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 178, - 33 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "37": { - "name": "unsubscribeFromNativeChangeEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 182, - 37 - ], - [ - 185, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 15 - }, "src/space-pen.coffee": { "objects": { "4": { @@ -281746,59231 +59261,6 @@ "repository": "https://github.com/atom/text-buffer.git", "version": "3.0.0", "files": { - "src/atom.coffee": { - "objects": { - "0": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 0, - 9 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "1": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "2": { - "5": { - "name": "os", - "type": "import", - "range": [ - [ - 2, - 5 - ], - [ - 2, - 16 - ] - ], - "bindingType": "variable", - "module": "os", - "builtin": true - } - }, - "3": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "4": { - "9": { - "name": "remote", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 24 - ] - ], - "bindingType": "variable", - "module": "remote" - } - }, - "5": { - "9": { - "name": "screen", - "type": "import", - "range": [ - [ - 5, - 9 - ], - [ - 5, - 24 - ] - ], - "bindingType": "variable", - "module": "screen" - } - }, - "6": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 6, - 8 - ], - [ - 6, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "8": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 8, - 4 - ], - [ - 8, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "9": { - "1": { - "type": "import", - "range": [ - [ - 9, - 1 - ], - [ - 9, - 10 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecated", - "exportsProperty": "deprecated" - } - }, - "10": { - "1": { - "type": "import", - "range": [ - [ - 10, - 1 - ], - [ - 10, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "11": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 11, - 5 - ], - [ - 11, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@2.x" - } - }, - "13": { - "1": { - "type": "import", - "range": [ - [ - 13, - 1 - ], - [ - 13, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "14": { - "21": { - "name": "WindowEventHandler", - "type": "import", - "range": [ - [ - 14, - 21 - ], - [ - 14, - 52 - ] - ], - "bindingType": "variable", - "path": "./window-event-handler" - } - }, - "35": { - "0": { - "type": "class", - "name": "Atom", - "bindingType": "exports", - "classProperties": [ - [ - 36, - 12 - ], - [ - 44, - 17 - ], - [ - 48, - 16 - ], - [ - 53, - 14 - ], - [ - 71, - 17 - ], - [ - 89, - 21 - ], - [ - 95, - 22 - ], - [ - 99, - 20 - ], - [ - 109, - 21 - ] - ], - "prototypeProperties": [ - [ - 112, - 31 - ], - [ - 115, - 15 - ], - [ - 123, - 14 - ], - [ - 177, - 31 - ], - [ - 181, - 33 - ], - [ - 184, - 24 - ], - [ - 188, - 20 - ], - [ - 194, - 23 - ], - [ - 211, - 23 - ], - [ - 221, - 21 - ], - [ - 224, - 32 - ], - [ - 229, - 30 - ], - [ - 246, - 27 - ], - [ - 252, - 25 - ], - [ - 259, - 19 - ], - [ - 262, - 22 - ], - [ - 269, - 28 - ], - [ - 281, - 28 - ], - [ - 285, - 27 - ], - [ - 292, - 21 - ], - [ - 320, - 22 - ], - [ - 336, - 14 - ], - [ - 339, - 15 - ], - [ - 353, - 8 - ], - [ - 377, - 11 - ], - [ - 397, - 18 - ], - [ - 400, - 22 - ], - [ - 407, - 16 - ], - [ - 411, - 18 - ], - [ - 415, - 31 - ], - [ - 419, - 10 - ], - [ - 423, - 9 - ], - [ - 428, - 8 - ], - [ - 432, - 8 - ], - [ - 439, - 11 - ], - [ - 446, - 15 - ], - [ - 450, - 10 - ], - [ - 457, - 17 - ], - [ - 464, - 9 - ], - [ - 467, - 8 - ], - [ - 473, - 13 - ], - [ - 477, - 14 - ], - [ - 481, - 20 - ], - [ - 485, - 17 - ], - [ - 490, - 16 - ], - [ - 496, - 14 - ], - [ - 500, - 21 - ], - [ - 506, - 20 - ], - [ - 509, - 12 - ], - [ - 523, - 21 - ], - [ - 526, - 20 - ], - [ - 529, - 22 - ], - [ - 533, - 8 - ], - [ - 537, - 25 - ], - [ - 541, - 25 - ], - [ - 555, - 22 - ] - ], - "doc": " Public: Atom global for dealing with packages, themes, menus, and the window.\n\nAn instance of this class is always available as the `atom` global.\n\n## Useful properties available:\n\n * `atom.clipboard` - A {Clipboard} instance\n * `atom.config` - A {Config} instance\n * `atom.contextMenu` - A {ContextMenuManager} instance\n * `atom.deserializers` - A {DeserializerManager} instance\n * `atom.keymaps` - A {KeymapManager} instance\n * `atom.menu` - A {MenuManager} instance\n * `atom.packages` - A {PackageManager} instance\n * `atom.project` - A {Project} instance\n * `atom.syntax` - A {Syntax} instance\n * `atom.themes` - A {ThemeManager} instance\n * `atom.workspace` - A {Workspace} instance\n * `atom.workspaceView` - A {WorkspaceView} instance ", - "range": [ - [ - 35, - 0 - ], - [ - 567, - 27 - ] - ] - } - }, - "36": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 36, - 12 - ], - [ - 36, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "44": { - "17": { - "name": "loadOrCreate", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 44, - 17 - ], - [ - 48, - 1 - ] - ], - "doc": " Public: Load or create the Atom environment in the given mode.\n\nmode - Pass 'editor' or 'spec' depending on the kind of environment you\n want to build.\n\nReturns an Atom instance, fully initialized " - } - }, - "48": { - "16": { - "name": "deserialize", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 48, - 16 - ], - [ - 53, - 1 - ] - ], - "doc": "Private: Deserializes the Atom environment from a state object " - } - }, - "53": { - "14": { - "name": "loadState", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 53, - 14 - ], - [ - 71, - 1 - ] - ], - "doc": " Private: Loads and returns the serialized state corresponding to this window\nif it exists; otherwise returns undefined. " - } - }, - "71": { - "17": { - "name": "getStatePath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 71, - 17 - ], - [ - 89, - 1 - ] - ], - "doc": " Private: Returns the path where the state for the current window will be\nlocated if it exists. " - } - }, - "89": { - "21": { - "name": "getConfigDirPath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 95, - 1 - ] - ], - "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " - } - }, - "95": { - "22": { - "name": "getStorageDirPath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 95, - 22 - ], - [ - 99, - 1 - ] - ], - "doc": " Private: Get the path to Atom's storage directory.\n\nReturns the absolute path to ~/.atom/storage " - } - }, - "99": { - "20": { - "name": "getLoadSettings", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 99, - 20 - ], - [ - 109, - 1 - ] - ], - "doc": "Private: Returns the load settings hash associated with the current window. " - } - }, - "109": { - "21": { - "name": "getCurrentWindow", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 21 - ], - [ - 112, - 1 - ] - ], - "doc": "~Private~" - } - }, - "112": { - "31": { - "name": "workspaceViewParentSelector", - "type": "primitive", - "range": [ - [ - 112, - 31 - ], - [ - 112, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "115": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 115, - 15 - ], - [ - 123, - 1 - ] - ], - "doc": "Private: Call .loadOrCreate instead " - } - }, - "123": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 123, - 14 - ], - [ - 177, - 1 - ] - ], - "doc": " Public: Sets up the basic services that should be available in all modes\n(both spec and application). Call after this instance has been assigned to\nthe `atom` global. " - } - }, - "177": { - "31": { - "name": "registerRepresentationClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 31 - ], - [ - 181, - 1 - ] - ], - "doc": "Deprecated: Callers should be converted to use atom.deserializers " - } - }, - "181": { - "33": { - "name": "registerRepresentationClasses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 181, - 33 - ], - [ - 184, - 1 - ] - ], - "doc": "Deprecated: Callers should be converted to use atom.deserializers " - } - }, - "184": { - "24": { - "name": "setBodyPlatformClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 184, - 24 - ], - [ - 188, - 1 - ] - ], - "doc": "~Private~" - } - }, - "188": { - "20": { - "name": "getCurrentWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 20 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "23": { - "name": "getWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 194, - 23 - ], - [ - 211, - 1 - ] - ], - "doc": " Public: Get the dimensions of this window.\n\nReturns an object with x, y, width, and height keys. " - } - }, - "211": { - "23": { - "name": "setWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 211, - 23 - ], - [ - 221, - 1 - ] - ], - "doc": " Public: Set the dimensions of the window.\n\nThe window will be centered if either the x or y coordinate is not set\nin the dimensions parameter. If x or y are omitted the window will be\ncentered. If height or width are omitted only the position will be changed.\n\ndimensions - An {Object} with the following keys:\n :x - The new x coordinate.\n :y - The new y coordinate.\n :width - The new width.\n :height - The new height. " - } - }, - "221": { - "21": { - "name": "isValidDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 221, - 21 - ], - [ - 224, - 1 - ] - ], - "doc": " Private: Returns true if the dimensions are useable, false if they should be ignored.\nWork around for https://github.com/atom/atom-shell/issues/473 " - } - }, - "224": { - "32": { - "name": "storeDefaultWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 32 - ], - [ - 229, - 1 - ] - ], - "doc": "~Private~" - } - }, - "229": { - "30": { - "name": "getDefaultWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 229, - 30 - ], - [ - 246, - 1 - ] - ], - "doc": "~Private~" - } - }, - "246": { - "27": { - "name": "restoreWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 246, - 27 - ], - [ - 252, - 1 - ] - ], - "doc": "~Private~" - } - }, - "252": { - "25": { - "name": "storeWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 252, - 25 - ], - [ - 259, - 1 - ] - ], - "doc": "~Private~" - } - }, - "259": { - "19": { - "name": "getLoadSettings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 259, - 19 - ], - [ - 262, - 1 - ] - ], - "doc": "Private: Returns the load settings hash associated with the current window. " - } - }, - "262": { - "22": { - "name": "deserializeProject", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 262, - 22 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "28": { - "name": "deserializeWorkspaceView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 28 - ], - [ - 281, - 1 - ] - ], - "doc": "~Private~" - } - }, - "281": { - "28": { - "name": "deserializePackageStates", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 281, - 28 - ], - [ - 285, - 1 - ] - ], - "doc": "~Private~" - } - }, - "285": { - "27": { - "name": "deserializeEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 285, - 27 - ], - [ - 292, - 1 - ] - ], - "doc": "~Private~" - } - }, - "292": { - "21": { - "name": "startEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 21 - ], - [ - 320, - 1 - ] - ], - "doc": "Private: Call this method when establishing a real application window. " - } - }, - "320": { - "22": { - "name": "unloadEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 320, - 22 - ], - [ - 336, - 1 - ] - ], - "doc": "~Private~" - } - }, - "336": { - "14": { - "name": "loadThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 336, - 14 - ], - [ - 339, - 1 - ] - ], - "doc": "~Private~" - } - }, - "339": { - "15": { - "name": "watchThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 339, - 15 - ], - [ - 353, - 1 - ] - ], - "doc": "~Private~" - } - }, - "353": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 353, - 8 - ], - [ - 377, - 1 - ] - ], - "doc": " Public: Open a new Atom window using the given options.\n\nCalling this method without an options parameter will open a prompt to pick\na file/folder to open in the new window.\n\noptions - An {Object} with the following keys:\n :pathsToOpen - An {Array} of {String} paths to open. " - } - }, - "377": { - "11": { - "name": "confirm", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 377, - 11 - ], - [ - 397, - 1 - ] - ], - "doc": " Public: Open a confirm dialog.\n\n## Example\n\n```coffee\n atom.confirm\n message: 'How you feeling?'\n detailedMessage: 'Be honest.'\n buttons:\n Good: -> window.alert('good to hear')\n Bad: -> window.alert('bummer')\n```\n\noptions - An {Object} with the following keys:\n :message - The {String} message to display.\n :detailedMessage - The {String} detailed message to display.\n :buttons - Either an array of strings or an object where keys are\n button names and the values are callbacks to invoke when\n clicked.\n\nReturns the chosen button index {Number} if the buttons option was an array. " - } - }, - "397": { - "18": { - "name": "showSaveDialog", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 397, - 18 - ], - [ - 400, - 1 - ] - ], - "doc": "~Private~" - } - }, - "400": { - "22": { - "name": "showSaveDialogSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultPath" - ], - "range": [ - [ - 400, - 22 - ], - [ - 407, - 1 - ] - ], - "doc": "~Private~" - } - }, - "407": { - "16": { - "name": "openDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 407, - 16 - ], - [ - 411, - 1 - ] - ], - "doc": "Public: Open the dev tools for the current window. " - } - }, - "411": { - "18": { - "name": "toggleDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 411, - 18 - ], - [ - 415, - 1 - ] - ], - "doc": "Public: Toggle the visibility of the dev tools for the current window. " - } - }, - "415": { - "31": { - "name": "executeJavaScriptInDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "code" - ], - "range": [ - [ - 415, - 31 - ], - [ - 419, - 1 - ] - ], - "doc": "Public: Execute code in dev tools. " - } - }, - "419": { - "10": { - "name": "reload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 419, - 10 - ], - [ - 423, - 1 - ] - ], - "doc": "Public: Reload the current window. " - } - }, - "423": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 423, - 9 - ], - [ - 428, - 1 - ] - ], - "doc": "Public: Focus the current window. " - } - }, - "428": { - "8": { - "name": "show", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 8 - ], - [ - 432, - 1 - ] - ], - "doc": "Public: Show the current window. " - } - }, - "432": { - "8": { - "name": "hide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 432, - 8 - ], - [ - 439, - 1 - ] - ], - "doc": "Public: Hide the current window. " - } - }, - "439": { - "11": { - "name": "setSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width", - "height" - ], - "range": [ - [ - 439, - 11 - ], - [ - 446, - 1 - ] - ], - "doc": " Public: Set the size of current window.\n\nwidth - The {Number} of pixels.\nheight - The {Number} of pixels. " - } - }, - "446": { - "15": { - "name": "setPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "x", - "y" - ], - "range": [ - [ - 446, - 15 - ], - [ - 450, - 1 - ] - ], - "doc": " Public: Set the position of current window.\n\nx - The {Number} of pixels.\ny - The {Number} of pixels. " - } - }, - "450": { - "10": { - "name": "center", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 450, - 10 - ], - [ - 457, - 1 - ] - ], - "doc": "Public: Move current window to the center of the screen. " - } - }, - "457": { - "17": { - "name": "displayWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 457, - 17 - ], - [ - 464, - 1 - ] - ], - "doc": " Private: Schedule the window to be shown and focused on the next tick.\n\nThis is done in a next tick to prevent a white flicker from occurring\nif called synchronously. " - } - }, - "464": { - "9": { - "name": "close", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 464, - 9 - ], - [ - 467, - 1 - ] - ], - "doc": "Public: Close the current window. " - } - }, - "467": { - "8": { - "name": "exit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 467, - 8 - ], - [ - 473, - 1 - ] - ], - "doc": "~Private~" - } - }, - "473": { - "13": { - "name": "inDevMode", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 473, - 13 - ], - [ - 477, - 1 - ] - ], - "doc": "Public: Is the current window in development mode? " - } - }, - "477": { - "14": { - "name": "inSpecMode", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 477, - 14 - ], - [ - 481, - 1 - ] - ], - "doc": "Public: Is the current window running specs? " - } - }, - "481": { - "20": { - "name": "toggleFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 481, - 20 - ], - [ - 485, - 1 - ] - ], - "doc": "Public: Toggle the full screen state of the current window. " - } - }, - "485": { - "17": { - "name": "setFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fullScreen" - ], - "range": [ - [ - 485, - 17 - ], - [ - 490, - 1 - ] - ], - "doc": "Public: Set the full screen state of the current window. " - } - }, - "490": { - "16": { - "name": "isFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 490, - 16 - ], - [ - 496, - 1 - ] - ], - "doc": "Public: Is the current window in full screen mode? " - } - }, - "496": { - "14": { - "name": "getVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 496, - 14 - ], - [ - 500, - 1 - ] - ], - "doc": " Public: Get the version of the Atom application.\n\nReturns the version text {String}. " - } - }, - "500": { - "21": { - "name": "isReleasedVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 500, - 21 - ], - [ - 506, - 1 - ] - ], - "doc": "Public: Determine whether the current version is an official release. " - } - }, - "506": { - "20": { - "name": "getConfigDirPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 506, - 20 - ], - [ - 509, - 1 - ] - ], - "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " - } - }, - "509": { - "12": { - "name": "saveSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 509, - 12 - ], - [ - 523, - 1 - ] - ], - "doc": "~Private~" - } - }, - "523": { - "21": { - "name": "getWindowLoadTime", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 523, - 21 - ], - [ - 526, - 1 - ] - ], - "doc": " Public: Get the time taken to completely load the current window.\n\nThis time include things like loading and activating packages, creating\nDOM elements for the editor, and reading the config.\n\nReturns the number of milliseconds taken to load the window or null\nif the window hasn't finished loading yet. " - } - }, - "526": { - "20": { - "name": "crashMainProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 526, - 20 - ], - [ - 529, - 1 - ] - ], - "doc": "~Private~" - } - }, - "529": { - "22": { - "name": "crashRenderProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 529, - 22 - ], - [ - 533, - 1 - ] - ], - "doc": "~Private~" - } - }, - "533": { - "8": { - "name": "beep", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 533, - 8 - ], - [ - 537, - 1 - ] - ], - "doc": "Public: Visually and audibly trigger a beep. " - } - }, - "537": { - "25": { - "name": "getUserInitScriptPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 537, - 25 - ], - [ - 541, - 1 - ] - ], - "doc": "~Private~" - } - }, - "541": { - "25": { - "name": "requireUserInitScript", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 541, - 25 - ], - [ - 555, - 1 - ] - ] - } - }, - "555": { - "22": { - "name": "requireWithGlobals", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id", - "globals" - ], - "range": [ - [ - 555, - 22 - ], - [ - 567, - 27 - ] - ], - "doc": " Public: Require the module with the given globals.\n\nThe globals will be set on the `window` object and removed after the\nrequire completes.\n\nid - The {String} module name or path.\nglobals - An {Object} to set as globals during require (default: {}) " - } - } - }, - "exports": 35 - }, - "src/browser/application-menu.coffee": { - "objects": { - "0": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "1": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "2": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "10": { - "0": { - "type": "class", - "name": "ApplicationMenu", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 22, - 10 - ], - [ - 35, - 20 - ], - [ - 47, - 23 - ], - [ - 58, - 29 - ], - [ - 63, - 21 - ], - [ - 68, - 22 - ], - [ - 90, - 22 - ], - [ - 102, - 17 - ], - [ - 113, - 21 - ], - [ - 131, - 25 - ] - ], - "doc": " Private: Used to manage the global application menu.\n\nIt's created by {AtomApplication} upon instantiation and used to add, remove\nand maintain the state of all menu items. ", - "range": [ - [ - 10, - 0 - ], - [ - 145, - 18 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 22, - 1 - ] - ] - } - }, - "22": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 22, - 10 - ], - [ - 35, - 1 - ] - ], - "doc": " Public: Updates the entire menu with the given keybindings.\n\ntemplate - The Object which describes the menu to display.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke. " - } - }, - "35": { - "20": { - "name": "flattenMenuItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "menu" - ], - "range": [ - [ - 35, - 20 - ], - [ - 47, - 1 - ] - ], - "doc": " Private: Flattens the given menu and submenu items into an single Array.\n\nmenu - A complete menu configuration object for atom-shell's menu API.\n\nReturns an Array of native menu items. " - } - }, - "47": { - "23": { - "name": "flattenMenuTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 47, - 23 - ], - [ - 58, - 1 - ] - ], - "doc": " Private: Flattens the given menu template into an single Array.\n\ntemplate - An object describing the menu item.\n\nReturns an Array of native menu items. " - } - }, - "58": { - "29": { - "name": "enableWindowSpecificItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "enable" - ], - "range": [ - [ - 58, - 29 - ], - [ - 63, - 1 - ] - ], - "doc": " Public: Used to make all window related menu items are active.\n\nenable - If true enables all window specific items, if false disables all\n window specific items. " - } - }, - "63": { - "21": { - "name": "substituteVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 63, - 21 - ], - [ - 68, - 1 - ] - ], - "doc": "Private: Replaces VERSION with the current version. " - } - }, - "68": { - "22": { - "name": "showUpdateMenuItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 68, - 22 - ], - [ - 90, - 1 - ] - ], - "doc": "Private: Sets the proper visible state the update menu items " - } - }, - "90": { - "22": { - "name": "getDefaultTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 22 - ], - [ - 102, - 1 - ] - ], - "doc": " Private: Default list of menu items.\n\nReturns an Array of menu item Objects. " - } - }, - "102": { - "17": { - "name": "focusedWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 17 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "21": { - "name": "translateTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 113, - 21 - ], - [ - 131, - 1 - ] - ], - "doc": " Private: Combines a menu template with the appropriate keystroke.\n\ntemplate - An Object conforming to atom-shell's menu api but lacking\n accelerator and click properties.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a complete menu configuration object for atom-shell's menu API. " - } - }, - "131": { - "25": { - "name": "acceleratorForCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "keystrokesByCommand" - ], - "range": [ - [ - 131, - 25 - ], - [ - 145, - 18 - ] - ], - "doc": " Private: Determine the accelerator for a given command.\n\ncommand - The name of the command.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a String containing the keystroke in a format that can be interpreted\n by atom shell to provide nice icons where available. " - } - } - }, - "exports": 10 - }, - "src/browser/atom-application.coffee": { - "objects": { - "0": { - "13": { - "name": "AtomWindow", - "type": "import", - "range": [ - [ - 0, - 13 - ], - [ - 0, - 35 - ] - ], - "bindingType": "variable", - "path": "./atom-window" - } - }, - "1": { - "18": { - "name": "ApplicationMenu", - "type": "import", - "range": [ - [ - 1, - 18 - ], - [ - 1, - 45 - ] - ], - "bindingType": "variable", - "path": "./application-menu" - } - }, - "2": { - "22": { - "name": "AtomProtocolHandler", - "type": "import", - "range": [ - [ - 2, - 22 - ], - [ - 2, - 54 - ] - ], - "bindingType": "variable", - "path": "./atom-protocol-handler" - } - }, - "3": { - "20": { - "name": "AutoUpdateManager", - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 50 - ] - ], - "bindingType": "variable", - "path": "./auto-update-manager" - } - }, - "4": { - "16": { - "name": "BrowserWindow", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 39 - ] - ], - "bindingType": "variable", - "module": "browser-window" - } - }, - "5": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "6": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 6, - 6 - ], - [ - 6, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "7": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "8": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 8, - 5 - ], - [ - 8, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "9": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 9, - 6 - ], - [ - 9, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "10": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 10, - 7 - ], - [ - 10, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "11": { - "5": { - "name": "os", - "type": "import", - "range": [ - [ - 11, - 5 - ], - [ - 11, - 16 - ] - ], - "bindingType": "variable", - "module": "os", - "builtin": true - } - }, - "12": { - "6": { - "name": "net", - "type": "import", - "range": [ - [ - 12, - 6 - ], - [ - 12, - 18 - ] - ], - "bindingType": "variable", - "module": "net", - "builtin": true - } - }, - "13": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 13, - 8 - ], - [ - 13, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "14": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 14, - 6 - ], - [ - 14, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "15": { - "1": { - "type": "import", - "range": [ - [ - 15, - 1 - ], - [ - 15, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "16": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 16, - 4 - ], - [ - 16, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "30": { - "0": { - "type": "class", - "name": "AtomApplication", - "bindingType": "exports", - "classProperties": [ - [ - 34, - 9 - ] - ], - "prototypeProperties": [ - [ - 52, - 11 - ], - [ - 53, - 19 - ], - [ - 54, - 23 - ], - [ - 55, - 16 - ], - [ - 56, - 11 - ], - [ - 58, - 8 - ], - [ - 60, - 15 - ], - [ - 83, - 19 - ], - [ - 94, - 16 - ], - [ - 99, - 13 - ], - [ - 110, - 36 - ], - [ - 119, - 20 - ], - [ - 132, - 28 - ], - [ - 136, - 16 - ], - [ - 232, - 15 - ], - [ - 245, - 23 - ], - [ - 254, - 31 - ], - [ - 274, - 19 - ], - [ - 282, - 17 - ], - [ - 287, - 17 - ], - [ - 298, - 13 - ], - [ - 311, - 12 - ], - [ - 337, - 20 - ], - [ - 341, - 24 - ], - [ - 346, - 15 - ], - [ - 364, - 11 - ], - [ - 393, - 12 - ], - [ - 406, - 17 - ], - [ - 415, - 25 - ], - [ - 440, - 17 - ] - ], - "doc": " Private: The application's singleton class.\n\nIt's the entry point into the Atom application and maintains the global state\nof the application.\n\n ", - "range": [ - [ - 30, - 0 - ], - [ - 449, - 50 - ] - ] - } - }, - "34": { - "9": { - "name": "open", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 34, - 9 - ], - [ - 52, - 1 - ] - ], - "doc": "Public: The entry point into the Atom application. " - } - }, - "52": { - "11": { - "name": "windows", - "type": "primitive", - "range": [ - [ - 52, - 11 - ], - [ - 52, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "53": { - "19": { - "name": "applicationMenu", - "type": "primitive", - "range": [ - [ - 53, - 19 - ], - [ - 53, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "54": { - "23": { - "name": "atomProtocolHandler", - "type": "primitive", - "range": [ - [ - 54, - 23 - ], - [ - 54, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "55": { - "16": { - "name": "resourcePath", - "type": "primitive", - "range": [ - [ - 55, - 16 - ], - [ - 55, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "56": { - "11": { - "name": "version", - "type": "primitive", - "range": [ - [ - 56, - 11 - ], - [ - 56, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "58": { - "8": { - "name": "exit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 58, - 8 - ], - [ - 58, - 35 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 60, - 15 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "19": { - "name": "openWithOptions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 83, - 19 - ], - [ - 94, - 1 - ] - ], - "doc": "Private: Opens a new window based on the options provided. " - } - }, - "94": { - "16": { - "name": "removeWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "window" - ], - "range": [ - [ - 94, - 16 - ], - [ - 99, - 1 - ] - ], - "doc": "Public: Removes the {AtomWindow} from the global window list. " - } - }, - "99": { - "13": { - "name": "addWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "window" - ], - "range": [ - [ - 99, - 13 - ], - [ - 110, - 1 - ] - ], - "doc": "Public: Adds the {AtomWindow} to the global window list. " - } - }, - "110": { - "36": { - "name": "listenForArgumentsFromNewProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 36 - ], - [ - 119, - 1 - ] - ], - "doc": " Private: Creates server to listen for additional atom application launches.\n\nYou can run the atom command multiple times, but after the first launch\nthe other launches will just pass their information to this server and then\nclose immediately. " - } - }, - "119": { - "20": { - "name": "deleteSocketFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 119, - 20 - ], - [ - 132, - 1 - ] - ], - "doc": "~Private~" - } - }, - "132": { - "28": { - "name": "setupJavaScriptArguments", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 132, - 28 - ], - [ - 136, - 1 - ] - ], - "doc": "Private: Configures required javascript environment flags. " - } - }, - "136": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 16 - ], - [ - 232, - 1 - ] - ], - "doc": "Private: Registers basic application commands, non-idempotent. " - } - }, - "232": { - "15": { - "name": "sendCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 232, - 15 - ], - [ - 245, - 1 - ] - ], - "doc": " Public: Executes the given command.\n\nIf it isn't handled globally, delegate to the currently focused window.\n\ncommand - The string representing the command.\nargs - The optional arguments to pass along. " - } - }, - "245": { - "23": { - "name": "sendCommandToWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "atomWindow", - "args" - ], - "range": [ - [ - 245, - 23 - ], - [ - 254, - 1 - ] - ], - "doc": " Public: Executes the given command on the given window.\n\ncommand - The string representing the command.\natomWindow - The {AtomWindow} to send the command to.\nargs - The optional arguments to pass along. " - } - }, - "254": { - "31": { - "name": "sendCommandToFirstResponder", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command" - ], - "range": [ - [ - 254, - 31 - ], - [ - 274, - 1 - ] - ], - "doc": " Private: Translates the command into OS X action and sends it to application's first\nresponder. " - } - }, - "274": { - "19": { - "name": "openPathOnEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventName", - "pathToOpen" - ], - "range": [ - [ - 274, - 19 - ], - [ - 282, - 1 - ] - ], - "doc": " Public: Open the given path in the focused window when the event is\ntriggered.\n\nA new window will be created if there is no currently focused window.\n\neventName - The event to listen for.\npathToOpen - The path to open when the event is triggered. " - } - }, - "282": { - "17": { - "name": "windowForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen" - ], - "range": [ - [ - 282, - 17 - ], - [ - 287, - 1 - ] - ], - "doc": "Private: Returns the {AtomWindow} for the given path. " - } - }, - "287": { - "17": { - "name": "focusedWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 287, - 17 - ], - [ - 298, - 1 - ] - ], - "doc": "Public: Returns the currently focused {AtomWindow} or undefined if none. " - } - }, - "298": { - "13": { - "name": "openPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 298, - 13 - ], - [ - 311, - 1 - ] - ], - "doc": " Public: Opens multiple paths, in existing windows if possible.\n\noptions -\n :pathsToOpen - The array of file paths to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " - } - }, - "311": { - "12": { - "name": "openPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 311, - 12 - ], - [ - 337, - 1 - ] - ], - "doc": " Public: Opens a single path, in an existing window if possible.\n\noptions -\n :pathToOpen - The file path to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode.\n :windowDimensions - Object with height and width keys. " - } - }, - "337": { - "20": { - "name": "killAllProcesses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 337, - 20 - ], - [ - 341, - 1 - ] - ], - "doc": "Private: Kill all processes associated with opened windows. " - } - }, - "341": { - "24": { - "name": "killProcessForWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "openedWindow" - ], - "range": [ - [ - 341, - 24 - ], - [ - 346, - 1 - ] - ], - "doc": "Private: Kill process associated with the given opened window. " - } - }, - "346": { - "15": { - "name": "killProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pid" - ], - "range": [ - [ - 346, - 15 - ], - [ - 364, - 1 - ] - ], - "doc": "Private: Kill the process with the given pid. " - } - }, - "364": { - "11": { - "name": "openUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 364, - 11 - ], - [ - 393, - 1 - ] - ], - "doc": " Private: Open an atom:// url.\n\nThe host of the URL being opened is assumed to be the package name\nresponsible for opening the URL. A new window will be created with\nthat package's `urlMain` as the bootstrap script.\n\noptions -\n :urlToOpen - The atom:// url to open.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " - } - }, - "393": { - "12": { - "name": "runSpecs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 393, - 12 - ], - [ - 406, - 1 - ] - ], - "doc": " Private: Opens up a new {AtomWindow} to run specs within.\n\noptions -\n :exitWhenDone - A Boolean that if true, will close the window upon\n completion.\n :resourcePath - The path to include specs from.\n :specPath - The directory to load specs from. " - } - }, - "406": { - "17": { - "name": "runBenchmarks", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 406, - 17 - ], - [ - 415, - 1 - ] - ], - "doc": "~Private~" - } - }, - "415": { - "25": { - "name": "locationForPathToOpen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen" - ], - "range": [ - [ - 415, - 25 - ], - [ - 440, - 1 - ] - ], - "doc": "~Private~" - } - }, - "440": { - "17": { - "name": "promptForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 440, - 17 - ], - [ - 449, - 50 - ] - ], - "doc": " Private: Opens a native dialog to prompt the user for a path.\n\nOnce paths are selected, they're opened in a new or existing {AtomWindow}s.\n\noptions -\n :type - A String which specifies the type of the dialog, could be 'file',\n 'folder' or 'all'. The 'all' is only available on OS X.\n :devMode - A Boolean which controls whether any newly opened windows\n should be in dev mode or not.\n :safeMode - A Boolean which controls whether any newly opened windows\n should be in safe mode or not. " - } - } - }, - "exports": 30 - }, - "src/browser/atom-protocol-handler.coffee": { - "objects": { - "0": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@2.x" - } - }, - "2": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "3": { - "11": { - "name": "protocol", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "protocol" - } - }, - "10": { - "0": { - "type": "class", - "name": "AtomProtocolHandler", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 21, - 24 - ] - ], - "doc": " Private: Handles requests with 'atom' protocol.\n\nIt's created by {AtomApplication} upon instantiation, and is used to create a\ncustom resource loader by adding the 'atom' custom protocol. ", - "range": [ - [ - 10, - 0 - ], - [ - 27, - 50 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 21, - 1 - ] - ] - } - }, - "21": { - "24": { - "name": "registerAtomProtocol", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 24 - ], - [ - 27, - 50 - ] - ], - "doc": "Private: Creates the 'atom' custom protocol handler. " - } - } - }, - "exports": 10 - }, - "src/browser/atom-window.coffee": { - "objects": { - "0": { - "16": { - "name": "BrowserWindow", - "type": "import", - "range": [ - [ - 0, - 16 - ], - [ - 0, - 39 - ] - ], - "bindingType": "variable", - "module": "browser-window" - } - }, - "1": { - "14": { - "name": "ContextMenu", - "type": "import", - "range": [ - [ - 1, - 14 - ], - [ - 1, - 37 - ] - ], - "bindingType": "variable", - "path": "./context-menu" - } - }, - "2": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "3": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 3, - 9 - ], - [ - 3, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "4": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "6": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 6, - 6 - ], - [ - 6, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "7": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "11": { - "0": { - "type": "class", - "name": "AtomWindow", - "bindingType": "exports", - "classProperties": [ - [ - 14, - 13 - ], - [ - 15, - 25 - ] - ], - "prototypeProperties": [ - [ - 17, - 17 - ], - [ - 18, - 10 - ], - [ - 19, - 10 - ], - [ - 21, - 15 - ], - [ - 56, - 10 - ], - [ - 68, - 18 - ], - [ - 71, - 16 - ], - [ - 86, - 16 - ], - [ - 126, - 12 - ], - [ - 133, - 15 - ], - [ - 147, - 30 - ], - [ - 151, - 17 - ], - [ - 156, - 9 - ], - [ - 158, - 9 - ], - [ - 160, - 12 - ], - [ - 162, - 12 - ], - [ - 164, - 11 - ], - [ - 166, - 23 - ], - [ - 169, - 13 - ], - [ - 171, - 20 - ], - [ - 173, - 16 - ], - [ - 175, - 10 - ], - [ - 177, - 18 - ] - ], - "doc": "~Private~", - "range": [ - [ - 11, - 0 - ], - [ - 177, - 52 - ] - ] - } - }, - "14": { - "13": { - "name": "iconPath", - "type": "function", - "range": [ - [ - 14, - 13 - ], - [ - 14, - 72 - ] - ], - "bindingType": "classProperty" - } - }, - "15": { - "25": { - "name": "includeShellLoadTime", - "type": "primitive", - "range": [ - [ - 15, - 25 - ], - [ - 15, - 28 - ] - ], - "bindingType": "classProperty" - } - }, - "17": { - "17": { - "name": "browserWindow", - "type": "primitive", - "range": [ - [ - 17, - 17 - ], - [ - 17, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "10": { - "name": "loaded", - "type": "primitive", - "range": [ - [ - 18, - 10 - ], - [ - 18, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "10": { - "name": "isSpec", - "type": "primitive", - "range": [ - [ - 19, - 10 - ], - [ - 19, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "settings" - ], - "range": [ - [ - 21, - 15 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "10": { - "name": "getUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "loadSettingsObj" - ], - "range": [ - [ - 56, - 10 - ], - [ - 68, - 1 - ] - ], - "doc": "~Private~" - } - }, - "68": { - "18": { - "name": "getInitialPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 18 - ], - [ - 71, - 1 - ] - ], - "doc": "~Private~" - } - }, - "71": { - "16": { - "name": "containsPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToCheck" - ], - "range": [ - [ - 71, - 16 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 16 - ], - [ - 126, - 1 - ] - ], - "doc": "~Private~" - } - }, - "126": { - "12": { - "name": "openPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen", - "initialLine", - "initialColumn" - ], - "range": [ - [ - 126, - 12 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "15": { - "name": "sendCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 133, - 15 - ], - [ - 147, - 1 - ] - ], - "doc": "~Private~" - } - }, - "147": { - "30": { - "name": "sendCommandToBrowserWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 147, - 30 - ], - [ - 151, - 1 - ] - ], - "doc": "~Private~" - } - }, - "151": { - "17": { - "name": "getDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 151, - 17 - ], - [ - 156, - 1 - ] - ], - "doc": "~Private~" - } - }, - "156": { - "9": { - "name": "close", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 156, - 9 - ], - [ - 156, - 33 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 9 - ], - [ - 158, - 33 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "12": { - "name": "minimize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 160, - 12 - ], - [ - 160, - 39 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "12": { - "name": "maximize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 12 - ], - [ - 162, - 39 - ] - ], - "doc": "~Private~" - } - }, - "164": { - "11": { - "name": "restore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 164, - 11 - ], - [ - 164, - 37 - ] - ], - "doc": "~Private~" - } - }, - "166": { - "23": { - "name": "handlesAtomCommands", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 166, - 23 - ], - [ - 169, - 1 - ] - ], - "doc": "~Private~" - } - }, - "169": { - "13": { - "name": "isFocused", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 169, - 13 - ], - [ - 169, - 41 - ] - ], - "doc": "~Private~" - } - }, - "171": { - "20": { - "name": "isWebViewFocused", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 20 - ], - [ - 171, - 55 - ] - ], - "doc": "~Private~" - } - }, - "173": { - "16": { - "name": "isSpecWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 173, - 16 - ], - [ - 173, - 25 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "10": { - "name": "reload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 175, - 10 - ], - [ - 175, - 36 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "18": { - "name": "toggleDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 18 - ], - [ - 177, - 51 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 11 - }, - "src/browser/auto-update-manager.coffee": { - "objects": { - "0": { - "8": { - "name": "https", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 22 - ] - ], - "bindingType": "variable", - "module": "https", - "builtin": true - } - }, - "1": { - "14": { - "name": "autoUpdater", - "type": "import", - "range": [ - [ - 1, - 14 - ], - [ - 1, - 35 - ] - ], - "bindingType": "variable", - "module": "auto-updater" - } - }, - "2": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "6": { - "11": { - "name": "'idle'", - "type": "primitive", - "range": [ - [ - 6, - 11 - ], - [ - 6, - 16 - ] - ] - } - }, - "7": { - "15": { - "name": "'checking'", - "type": "primitive", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 24 - ] - ] - } - }, - "8": { - "18": { - "name": "'downloading'", - "type": "primitive", - "range": [ - [ - 8, - 18 - ], - [ - 8, - 30 - ] - ] - } - }, - "9": { - "23": { - "name": "'update-available'", - "type": "primitive", - "range": [ - [ - 9, - 23 - ], - [ - 9, - 40 - ] - ] - } - }, - "10": { - "26": { - "name": "'no-update-available'", - "type": "primitive", - "range": [ - [ - 10, - 26 - ], - [ - 10, - 46 - ] - ] - } - }, - "11": { - "12": { - "name": "'error'", - "type": "primitive", - "range": [ - [ - 11, - 12 - ], - [ - 11, - 18 - ] - ] - } - }, - "14": { - "0": { - "type": "class", - "name": "AutoUpdateManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 15 - ], - [ - 48, - 23 - ], - [ - 63, - 28 - ], - [ - 68, - 12 - ], - [ - 73, - 12 - ], - [ - 76, - 9 - ], - [ - 83, - 11 - ], - [ - 86, - 24 - ], - [ - 90, - 17 - ], - [ - 94, - 14 - ] - ], - "doc": "~Private~", - "range": [ - [ - 14, - 0 - ], - [ - 95, - 34 - ] - ] - } - }, - "17": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 17, - 15 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "23": { - "name": "checkForUpdatesShim", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 23 - ], - [ - 63, - 1 - ] - ], - "doc": "Private: Windows doesn't have an auto-updater, so use this method to shim the events. " - } - }, - "63": { - "28": { - "name": "emitUpdateAvailableEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "windows" - ], - "range": [ - [ - 63, - 28 - ], - [ - 68, - 1 - ] - ], - "doc": "~Private~" - } - }, - "68": { - "12": { - "name": "setState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 68, - 12 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "12": { - "name": "getState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 12 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "9": { - "name": "check", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 76, - 9 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "11": { - "name": "install", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 83, - 11 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "24": { - "name": "onUpdateNotAvailable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 24 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "17": { - "name": "onUpdateError", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event", - "message" - ], - "range": [ - [ - 90, - 17 - ], - [ - 94, - 1 - ] - ], - "doc": "~Private~" - } - }, - "94": { - "14": { - "name": "getWindows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 14 - ], - [ - 95, - 34 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 14 - }, - "src/browser/context-menu.coffee": { - "objects": { - "0": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "3": { - "0": { - "type": "class", - "name": "ContextMenu", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 4, - 15 - ], - [ - 12, - 23 - ] - ], - "doc": "~Private~", - "range": [ - [ - 3, - 0 - ], - [ - 23, - 10 - ] - ] - } - }, - "4": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - null - ], - "range": [ - [ - 4, - 15 - ], - [ - 12, - 1 - ] - ] - } - }, - "12": { - "23": { - "name": "createClickHandlers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 12, - 23 - ], - [ - 23, - 10 - ] - ], - "doc": " Private: It's necessary to build the event handlers in this process, otherwise\nclosures are drug across processes and failed to be garbage collected\nappropriately. " - } - } - }, - "exports": 3 - }, - "src/browser/main.coffee": { - "objects": { - "0": { - "24": { - "name": "global.shellStartTime", - "type": "function", - "range": [ - [ - 0, - 24 - ], - [ - 0, - 33 - ] - ] - } - }, - "2": { - "16": { - "name": "crashReporter", - "type": "import", - "range": [ - [ - 2, - 16 - ], - [ - 2, - 39 - ] - ], - "bindingType": "variable", - "module": "crash-reporter" - } - }, - "3": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 3, - 6 - ], - [ - 3, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "6": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 6, - 7 - ], - [ - 6, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "7": { - "11": { - "name": "optimist", - "type": "import", - "range": [ - [ - 7, - 11 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "optimist" - } - }, - "8": { - "8": { - "name": "nslog", - "type": "import", - "range": [ - [ - 8, - 8 - ], - [ - 8, - 22 - ] - ], - "bindingType": "variable", - "module": "nslog" - } - }, - "9": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 9, - 9 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "11": { - "14": { - "name": "nslog", - "type": "primitive", - "range": [ - [ - 11, - 14 - ], - [ - 11, - 18 - ] - ] - } - }, - "17": { - "8": { - "name": "start", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 8 - ], - [ - 51, - 0 - ] - ], - "doc": "~Private~" - } - }, - "54": { - "25": { - "name": "global.devResourcePath", - "type": "function", - "range": [ - [ - 54, - 25 - ], - [ - 54, - 62 - ] - ] - } - }, - "56": { - "21": { - "name": "setupCrashReporter", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 21 - ], - [ - 58, - 0 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "19": { - "name": "parseCommandLine", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 19 - ], - [ - 110, - 0 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": {} - }, - "src/buffered-node-process.coffee": { - "objects": { - "0": { - "18": { - "name": "BufferedProcess", - "type": "import", - "range": [ - [ - 0, - 18 - ], - [ - 0, - 45 - ] - ], - "bindingType": "variable", - "path": "./buffered-process" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "14": { - "0": { - "type": "class", - "name": "BufferedNodeProcess", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 36, - 15 - ] - ], - "doc": " Public: Like {BufferedProcess}, but accepts a Node script as the command\nto run.\n\nThis is necessary on Windows since it doesn't support shebang `#!` lines.\n\n## Requiring in packages\n\n```coffee\n{BufferedNodeProcess} = require 'atom'\n``` ", - "range": [ - [ - 14, - 0 - ], - [ - 50, - 63 - ] - ] - } - }, - "36": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 36, - 15 - ], - [ - 50, - 63 - ] - ], - "doc": " Public: Runs the given Node script by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} path to the JavaScript script to execute.\n :args - The {Array} of arguments to pass to the script (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " - } - } - }, - "exports": 14 - }, - "src/buffered-process.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "15": { - "name": "ChildProcess", - "type": "import", - "range": [ - [ - 1, - 15 - ], - [ - 1, - 37 - ] - ], - "bindingType": "variable", - "module": "child_process", - "builtin": true - } - }, - "18": { - "0": { - "type": "class", - "name": "BufferedProcess", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 40, - 15 - ], - [ - 99, - 16 - ], - [ - 117, - 8 - ] - ], - "doc": " Public: A wrapper which provides standard error/output line buffering for\nNode's ChildProcess.\n\n## Requiring in packages\n\n```coffee\n{BufferedProcess} = require 'atom'\n\ncommand = 'ps'\nargs = ['-ef']\nstdout = (output) -> console.log(output)\nexit = (code) -> console.log(\"ps -ef exited with #{code}\")\nprocess = new BufferedProcess({command, args, stdout, exit})\n``` ", - "range": [ - [ - 18, - 0 - ], - [ - 120, - 19 - ] - ] - } - }, - "40": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 40, - 15 - ], - [ - 99, - 1 - ] - ], - "doc": " Public: Runs the given command by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} command to execute.\n :args - The {Array} of arguments to pass to the command (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " - } - }, - "99": { - "16": { - "name": "bufferStream", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stream", - "onLines", - "onDone" - ], - "range": [ - [ - 99, - 16 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: Helper method to pass data line by line.\n\nstream - The Stream to read from.\nonLines - The callback to call with each line of data.\nonDone - The callback to call when the stream has closed. " - } - }, - "117": { - "8": { - "name": "kill", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 8 - ], - [ - 120, - 19 - ] - ], - "doc": "Public: Terminate the process. " - } - } - }, - "exports": 18 - }, - "src/clipboard.coffee": { - "objects": { - "0": { - "12": { - "name": "clipboard", - "type": "import", - "range": [ - [ - 0, - 12 - ], - [ - 0, - 30 - ] - ], - "bindingType": "variable", - "module": "clipboard" - } - }, - "1": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 1, - 9 - ], - [ - 1, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "7": { - "0": { - "type": "class", - "name": "Clipboard", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 8, - 12 - ], - [ - 9, - 24 - ], - [ - 16, - 7 - ], - [ - 26, - 9 - ], - [ - 34, - 8 - ], - [ - 43, - 20 - ] - ], - "doc": " Public: Represents the clipboard used for copying and pasting in Atom.\n\nAn instance of this class is always available as the `atom.clipboard` global. ", - "range": [ - [ - 7, - 0 - ], - [ - 48, - 12 - ] - ] - } - }, - "8": { - "12": { - "name": "metadata", - "type": "primitive", - "range": [ - [ - 8, - 12 - ], - [ - 8, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "24": { - "name": "signatureForMetadata", - "type": "primitive", - "range": [ - [ - 9, - 24 - ], - [ - 9, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "7": { - "name": "md5", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 16, - 7 - ], - [ - 26, - 1 - ] - ], - "doc": " Private: Creates an `md5` hash of some text.\n\ntext - A {String} to hash.\n\nReturns a hashed {String}. " - } - }, - "26": { - "9": { - "name": "write", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "metadata" - ], - "range": [ - [ - 26, - 9 - ], - [ - 34, - 1 - ] - ], - "doc": " Public: Write the given text to the clipboard.\n\nThe metadata associated with the text is available by calling\n{::readWithMetadata}.\n\ntext - The {String} to store.\nmetadata - The additional info to associate with the text. " - } - }, - "34": { - "8": { - "name": "read", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 8 - ], - [ - 43, - 1 - ] - ], - "doc": " Public: Read the text from the clipboard.\n\nReturns a {String}. " - } - }, - "43": { - "20": { - "name": "readWithMetadata", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 20 - ], - [ - 48, - 12 - ] - ], - "doc": " Public: Read the text from the clipboard and return both the text and the\nassociated metadata.\n\nReturns an {Object} with the following keys:\n :text - The {String} clipboard text.\n :metadata - The metadata stored by an earlier call to {::write}. " - } - } - }, - "exports": 7 - }, - "src/coffee-cache.coffee": { - "objects": { - "0": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 0, - 9 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "3": { - "15": { - "name": "CoffeeScript", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 37 - ] - ], - "bindingType": "variable", - "module": "coffee-script" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@2.x" - } - }, - "8": { - "17": { - "name": "coffeeCacheDir", - "type": "function", - "range": [ - [ - 8, - 17 - ], - [ - 8, - 45 - ] - ] - } - }, - "11": { - "15": { - "name": "getCachePath", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "coffee" - ], - "range": [ - [ - 11, - 15 - ], - [ - 14, - 0 - ] - ], - "doc": "~Private~" - } - }, - "15": { - "22": { - "name": "getCachedJavaScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "cachePath" - ], - "range": [ - [ - 15, - 22 - ], - [ - 19, - 0 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "18": { - "name": "convertFilePath", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 20, - 18 - ], - [ - 24, - 0 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "22": { - "name": "compileCoffeeScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "coffee", - "filePath", - "cachePath" - ], - "range": [ - [ - 25, - 22 - ], - [ - 33, - 0 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "22": { - "name": "requireCoffeeScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "module", - "filePath" - ], - "range": [ - [ - 34, - 22 - ], - [ - 39, - 0 - ] - ] - } - }, - "41": { - "12": { - "name": "cacheDir", - "type": "primitive", - "range": [ - [ - 41, - 12 - ], - [ - 41, - 19 - ] - ] - } - }, - "42": { - "12": { - "name": "register", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 12 - ], - [ - 46, - 6 - ] - ], - "doc": null - } - } - }, - "exports": 41 - }, - "src/command-installer.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 22 - ] - ], - "bindingType": "variable", - "module": "async" - } - }, - "3": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 3, - 5 - ], - [ - 3, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@2.x" - } - }, - "4": { - "9": { - "name": "mkdirp", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 24 - ] - ], - "bindingType": "variable", - "module": "mkdirp" - } - }, - "5": { - "8": { - "name": "runas", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "module": "runas" - } - }, - "7": { - "17": { - "name": "symlinkCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "sourcePath", - "destinationPath", - "callback" - ], - "range": [ - [ - 7, - 17 - ], - [ - 17, - 0 - ] - ], - "doc": "~Private~" - } - }, - "18": { - "34": { - "name": "symlinkCommandWithPrivilegeSync", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "sourcePath", - "destinationPath" - ], - "range": [ - [ - 18, - 34 - ], - [ - 27, - 0 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "23": { - "name": "getInstallDirectory", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 23 - ], - [ - 32, - 1 - ] - ], - "doc": null - } - }, - "32": { - "11": { - "name": "install", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "commandPath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 32, - 11 - ], - [ - 52, - 1 - ] - ], - "doc": null - } - }, - "52": { - "22": { - "name": "installAtomCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "resourcePath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 52, - 22 - ], - [ - 56, - 1 - ] - ], - "doc": null - } - }, - "56": { - "21": { - "name": "installApmCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "resourcePath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 56, - 21 - ], - [ - 58, - 51 - ] - ], - "doc": null - } - } - }, - "exports": 29 - }, - "src/config.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@2.x" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "3": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "4": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "5": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "module": "async" - } - }, - "6": { - "14": { - "name": "pathWatcher", - "type": "import", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 34 - ] - ], - "bindingType": "variable", - "module": "pathwatcher@^2.0.2" - } - }, - "25": { - "0": { - "type": "class", - "name": "Config", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 36, - 29 - ], - [ - 52, - 8 - ], - [ - 57, - 18 - ], - [ - 72, - 21 - ], - [ - 76, - 23 - ], - [ - 80, - 15 - ], - [ - 91, - 21 - ], - [ - 95, - 15 - ], - [ - 104, - 7 - ], - [ - 114, - 10 - ], - [ - 125, - 18 - ], - [ - 136, - 7 - ], - [ - 152, - 10 - ], - [ - 160, - 18 - ], - [ - 168, - 14 - ], - [ - 178, - 13 - ], - [ - 187, - 17 - ], - [ - 199, - 20 - ], - [ - 211, - 19 - ], - [ - 231, - 11 - ], - [ - 253, - 13 - ], - [ - 256, - 10 - ], - [ - 261, - 8 - ] - ], - "doc": " Public: Used to access all of Atom's configuration details.\n\nAn instance of this class is always available as the `atom.config` global.\n\n## Best practices\n\n* Create your own root keypath using your package's name.\n* Don't depend on (or write to) configuration keys outside of your keypath.\n\n## Example\n\n```coffeescript\natom.config.set('my-package.key', 'value')\natom.config.observe 'my-package.key', ->\n console.log 'My configuration changed:', atom.config.get('my-package.key')\n``` ", - "range": [ - [ - 25, - 0 - ], - [ - 262, - 50 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 29, - 15 - ], - [ - 36, - 1 - ] - ], - "doc": "Private: Created during initialization, available as `atom.config` " - } - }, - "36": { - "29": { - "name": "initializeConfigDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "done" - ], - "range": [ - [ - 36, - 29 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 8 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "18": { - "name": "loadUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 18 - ], - [ - 72, - 1 - ] - ], - "doc": "~Private~" - } - }, - "72": { - "21": { - "name": "observeUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 72, - 21 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "23": { - "name": "unobserveUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 23 - ], - [ - 80, - 1 - ] - ], - "doc": "~Private~" - } - }, - "80": { - "15": { - "name": "setDefaults", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "defaults" - ], - "range": [ - [ - 80, - 15 - ], - [ - 91, - 1 - ] - ], - "doc": "~Private~" - } - }, - "91": { - "21": { - "name": "getUserConfigPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 21 - ], - [ - 95, - 1 - ] - ], - "doc": "Public: Get the {String} path to the config file being used. " - } - }, - "95": { - "15": { - "name": "getSettings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 95, - 15 - ], - [ - 104, - 1 - ] - ], - "doc": "Public: Returns a new {Object} containing all of settings and defaults. " - } - }, - "104": { - "7": { - "name": "get", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 104, - 7 - ], - [ - 114, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key.\n\nkeyPath - The {String} name of the key to retrieve.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `null` if the key doesn't exist in either. " - } - }, - "114": { - "10": { - "name": "getInt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 114, - 10 - ], - [ - 125, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key as an integer.\n\nkeyPath - The {String} name of the key to retrieve\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `NaN` if the key doesn't exist in either. " - } - }, - "125": { - "18": { - "name": "getPositiveInt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "defaultValue" - ], - "range": [ - [ - 125, - 18 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key as a positive integer.\n\nkeyPath - The {String} name of the key to retrieve\ndefaultValue - The integer {Number} to fall back to if the value isn't\n positive, defaults to 0.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `defaultValue` if the key value isn't greater than zero. " - } - }, - "136": { - "7": { - "name": "set", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 136, - 7 - ], - [ - 152, - 1 - ] - ], - "doc": " Public: Sets the value for a configuration setting.\n\nThis value is stored in Atom's internal configuration file.\n\nkeyPath - The {String} name of the key.\nvalue - The value of the setting.\n\nReturns the `value`. " - } - }, - "152": { - "10": { - "name": "toggle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 152, - 10 - ], - [ - 160, - 1 - ] - ], - "doc": " Public: Toggle the value at the key path.\n\nThe new value will be `true` if the value is currently falsy and will be\n`false` if the value is currently truthy.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " - } - }, - "160": { - "18": { - "name": "restoreDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 160, - 18 - ], - [ - 168, - 1 - ] - ], - "doc": " Public: Restore the key path to its default value.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " - } - }, - "168": { - "14": { - "name": "getDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 168, - 14 - ], - [ - 178, - 1 - ] - ], - "doc": " Public: Get the default value of the key path.\n\nkeyPath - The {String} name of the key.\n\nReturns the default value. " - } - }, - "178": { - "13": { - "name": "isDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 178, - 13 - ], - [ - 187, - 1 - ] - ], - "doc": " Public: Is the key path value its default value?\n\nkeyPath - The {String} name of the key.\n\nReturns a {Boolean}, `true` if the current value is the default, `false`\notherwise. " - } - }, - "187": { - "17": { - "name": "pushAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 187, - 17 - ], - [ - 199, - 1 - ] - ], - "doc": " Public: Push the value to the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to push to the array.\n\nReturns the new array length {Number} of the setting. " - } - }, - "199": { - "20": { - "name": "unshiftAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 199, - 20 - ], - [ - 211, - 1 - ] - ], - "doc": " Public: Add the value to the beginning of the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to shift onto the array.\n\nReturns the new array length {Number} of the setting. " - } - }, - "211": { - "19": { - "name": "removeAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 211, - 19 - ], - [ - 231, - 1 - ] - ], - "doc": " Public: Remove the value from the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to remove from the array.\n\nReturns the new array value of the setting. " - } - }, - "231": { - "11": { - "name": "observe", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "options", - "callback" - ], - "range": [ - [ - 231, - 11 - ], - [ - 253, - 1 - ] - ], - "doc": " Public: Establishes an event listener for a given key.\n\n`callback` is fired whenever the value of the key is changed and will\n be fired immediately unless the `callNow` option is `false`.\n\nkeyPath - The {String} name of the key to observe\noptions - An optional {Object} containing the `callNow` key.\ncallback - The {Function} to call when the value of the key changes.\n The first argument will be the new value of the key and the\n  second argument will be an {Object} with a `previous` property\n that is the prior value of the key.\n\nReturns an {Object} with the following keys:\n :off - A {Function} that unobserves the `keyPath` when called. " - } - }, - "253": { - "13": { - "name": "unobserve", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 253, - 13 - ], - [ - 256, - 1 - ] - ], - "doc": " Public: Unobserve all callbacks on a given key.\n\nkeyPath - The {String} name of the key to unobserve. " - } - }, - "256": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 10 - ], - [ - 261, - 1 - ] - ], - "doc": "~Private~" - } - }, - "261": { - "8": { - "name": "save", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 8 - ], - [ - 262, - 50 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 25 - }, - "src/context-menu-manager.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "9": { - "name": "remote", - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 24 - ] - ], - "bindingType": "variable", - "module": "remote" - } - }, - "10": { - "0": { - "type": "class", - "name": "ContextMenuManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 33, - 7 - ], - [ - 45, - 17 - ], - [ - 60, - 17 - ], - [ - 66, - 25 - ], - [ - 82, - 38 - ], - [ - 91, - 34 - ], - [ - 105, - 24 - ], - [ - 111, - 16 - ] - ], - "doc": " Public: Provides a registry for commands that you'd like to appear in the\ncontext menu.\n\nAn instance of this class is always available as the `atom.contextMenu`\nglobal. ", - "range": [ - [ - 10, - 0 - ], - [ - 116, - 64 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 33, - 1 - ] - ] - } - }, - "33": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "object", - null - ], - "range": [ - [ - 33, - 7 - ], - [ - 45, - 1 - ] - ], - "doc": " Public: Creates menu definitions from the object specified by the menu\ncson API.\n\nname - The path of the file that contains the menu definitions.\nobject - The 'context-menu' object specified in the menu cson API.\noptions - An {Object} with the following keys:\n :devMode - Determines whether the entries should only be shown when\n the window is in dev mode.\n\nReturns nothing. " - } - }, - "45": { - "17": { - "name": "buildMenuItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "label", - "command" - ], - "range": [ - [ - 45, - 17 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "17": { - "name": "addBySelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "definition", - null - ], - "range": [ - [ - 60, - 17 - ], - [ - 66, - 1 - ] - ], - "doc": " Private: Registers a command to be displayed when the relevant item is right\nclicked.\n\nselector - The css selector for the active element which should include\n the given command in its context menu.\ndefinition - The object containing keys which match the menu template API.\noptions - An {Object} with the following keys:\n :devMode - Indicates whether this command should only appear while the\n editor is in dev mode. " - } - }, - "66": { - "25": { - "name": "definitionsForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element", - null - ], - "range": [ - [ - 66, - 25 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Returns definitions which match the element and devMode. " - } - }, - "82": { - "38": { - "name": "menuTemplateForMostSpecificElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element", - null - ], - "range": [ - [ - 82, - 38 - ], - [ - 91, - 1 - ] - ], - "doc": " Private: Used to generate the context menu for a specific element and it's\nparents.\n\nThe menu items are sorted such that menu items that match closest to the\nactive element are listed first. The further down the list you go, the higher\nup the ancestor hierarchy they match.\n\nelement - The DOM element to generate the menu template for. " - } - }, - "91": { - "34": { - "name": "combinedMenuTemplateForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 91, - 34 - ], - [ - 105, - 1 - ] - ], - "doc": " Private: Returns a menu template for both normal entries as well as\ndevelopment mode entries. " - } - }, - "105": { - "24": { - "name": "executeBuildHandlers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event", - "menuTemplate" - ], - "range": [ - [ - 105, - 24 - ], - [ - 111, - 1 - ] - ], - "doc": " Private: Executes `executeAtBuild` if defined for each menu item with\nthe provided event and then removes the `executeAtBuild` property from\nthe menu item.\n\nThis is useful for commands that need to provide data about the event\nto the command. " - } - }, - "111": { - "16": { - "name": "showForEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 111, - 16 - ], - [ - 116, - 64 - ] - ], - "doc": "Public: Request a context menu to be displayed. " - } - } - }, - "exports": 10 - }, - "src/cursor-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "18": { - "name": "CursorComponent", - "type": "function", - "range": [ - [ - 5, - 18 - ], - [ - 17, - 79 - ] - ] - } - }, - "6": { - "15": { - "name": "'CursorComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 31 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 16, - 1 - ] - ], - "doc": null - } - }, - "16": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 16, - 25 - ], - [ - 17, - 79 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/cursor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "4": { - "0": { - "type": "class", - "name": "CursorView", - "bindingType": "exports", - "classProperties": [ - [ - 5, - 12 - ], - [ - 8, - 16 - ], - [ - 10, - 17 - ], - [ - 13, - 18 - ], - [ - 19, - 17 - ] - ], - "prototypeProperties": [ - [ - 24, - 12 - ], - [ - 25, - 11 - ], - [ - 26, - 15 - ], - [ - 27, - 16 - ], - [ - 28, - 23 - ], - [ - 30, - 14 - ], - [ - 44, - 16 - ], - [ - 48, - 17 - ], - [ - 65, - 12 - ], - [ - 68, - 19 - ], - [ - 71, - 19 - ], - [ - 74, - 20 - ], - [ - 77, - 14 - ], - [ - 86, - 16 - ], - [ - 90, - 17 - ], - [ - 94, - 17 - ], - [ - 98, - 21 - ], - [ - 101, - 21 - ], - [ - 104, - 30 - ], - [ - 109, - 24 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 112, - 31 - ] - ] - } - }, - "5": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 12 - ], - [ - 8, - 1 - ] - ] - } - }, - "8": { - "16": { - "name": "blinkPeriod", - "type": "primitive", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 18 - ] - ], - "bindingType": "classProperty" - } - }, - "10": { - "17": { - "name": "blinkCursors", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 17 - ], - [ - 13, - 1 - ] - ], - "doc": "~Private~" - } - }, - "13": { - "18": { - "name": "startBlinking", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 13, - 18 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "17": { - "name": "stopBlinking", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 19, - 17 - ], - [ - 24, - 1 - ] - ], - "doc": "~Private~" - } - }, - "24": { - "12": { - "name": "blinking", - "type": "primitive", - "range": [ - [ - 24, - 12 - ], - [ - 24, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "25": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 25, - 11 - ], - [ - 25, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "26": { - "15": { - "name": "needsUpdate", - "type": "primitive", - "range": [ - [ - 26, - 15 - ], - [ - 26, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "27": { - "16": { - "name": "needsRemoval", - "type": "primitive", - "range": [ - [ - 27, - 16 - ], - [ - 27, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "28": { - "23": { - "name": "shouldPauseBlinking", - "type": "primitive", - "range": [ - [ - 28, - 23 - ], - [ - 28, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "30": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 30, - 14 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 16 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 17 - ], - [ - 65, - 1 - ] - ], - "doc": "~Private~" - } - }, - "65": { - "12": { - "name": "isHidden", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 65, - 12 - ], - [ - 68, - 1 - ] - ], - "doc": "Private: Override for speed. The base function checks the computedStyle " - } - }, - "68": { - "19": { - "name": "needsAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 19 - ], - [ - 71, - 1 - ] - ], - "doc": "~Private~" - } - }, - "71": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 71, - 19 - ], - [ - 74, - 1 - ] - ], - "doc": "~Private~" - } - }, - "74": { - "20": { - "name": "getPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 20 - ], - [ - 77, - 1 - ] - ], - "doc": "~Private~" - } - }, - "77": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 77, - 14 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "16": { - "name": "stopBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 16 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "17": { - "name": "startBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 17 - ], - [ - 94, - 1 - ] - ], - "doc": "~Private~" - } - }, - "94": { - "17": { - "name": "resetBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 17 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "21": { - "name": "getBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 21 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "21": { - "name": "getScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 21 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "30": { - "name": "removeIdleClassTemporarily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 30 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "24": { - "name": "resetCursorAnimation", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 24 - ], - [ - 112, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/cursor.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "10": { - "0": { - "type": "class", - "name": "Cursor", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 18 - ], - [ - 12, - 18 - ], - [ - 13, - 14 - ], - [ - 14, - 11 - ], - [ - 15, - 19 - ], - [ - 18, - 15 - ], - [ - 49, - 11 - ], - [ - 52, - 18 - ], - [ - 60, - 16 - ], - [ - 70, - 21 - ], - [ - 75, - 21 - ], - [ - 78, - 18 - ], - [ - 89, - 21 - ], - [ - 94, - 21 - ], - [ - 97, - 14 - ], - [ - 101, - 20 - ], - [ - 105, - 14 - ], - [ - 112, - 13 - ], - [ - 122, - 14 - ], - [ - 136, - 16 - ], - [ - 145, - 28 - ], - [ - 158, - 27 - ], - [ - 170, - 16 - ], - [ - 176, - 19 - ], - [ - 180, - 18 - ], - [ - 184, - 16 - ], - [ - 188, - 19 - ], - [ - 192, - 16 - ], - [ - 196, - 19 - ], - [ - 201, - 24 - ], - [ - 205, - 10 - ], - [ - 217, - 12 - ], - [ - 233, - 12 - ], - [ - 247, - 13 - ], - [ - 256, - 13 - ], - [ - 260, - 16 - ], - [ - 264, - 31 - ], - [ - 268, - 25 - ], - [ - 273, - 30 - ], - [ - 283, - 25 - ], - [ - 293, - 25 - ], - [ - 297, - 19 - ], - [ - 301, - 25 - ], - [ - 305, - 19 - ], - [ - 310, - 29 - ], - [ - 315, - 30 - ], - [ - 320, - 26 - ], - [ - 336, - 43 - ], - [ - 358, - 41 - ], - [ - 380, - 41 - ], - [ - 409, - 37 - ], - [ - 430, - 40 - ], - [ - 447, - 29 - ], - [ - 457, - 29 - ], - [ - 461, - 34 - ], - [ - 466, - 38 - ], - [ - 470, - 45 - ], - [ - 484, - 49 - ], - [ - 502, - 34 - ], - [ - 506, - 24 - ], - [ - 510, - 23 - ], - [ - 514, - 18 - ], - [ - 521, - 17 - ], - [ - 527, - 13 - ], - [ - 532, - 32 - ] - ], - "doc": " Public: The `Cursor` class represents the little blinking line identifying\nwhere text can be inserted.\n\nCursors belong to {Editor}s and have some metadata attached in the form\nof a {Marker}. ", - "range": [ - [ - 10, - 0 - ], - [ - 540, - 50 - ] - ] - } - }, - "11": { - "18": { - "name": "screenPosition", - "type": "primitive", - "range": [ - [ - 11, - 18 - ], - [ - 11, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "18": { - "name": "bufferPosition", - "type": "primitive", - "range": [ - [ - 12, - 18 - ], - [ - 12, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "13": { - "14": { - "name": "goalColumn", - "type": "primitive", - "range": [ - [ - 13, - 14 - ], - [ - 13, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 14, - 11 - ], - [ - 14, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "15": { - "19": { - "name": "needsAutoscroll", - "type": "primitive", - "range": [ - [ - 15, - 19 - ], - [ - 15, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 18, - 15 - ], - [ - 49, - 1 - ] - ], - "doc": "Private: Instantiated by an {Editor} " - } - }, - "49": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 11 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "18": { - "name": "changePosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options", - "fn" - ], - "range": [ - [ - 52, - 18 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "16": { - "name": "getPixelRect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 60, - 16 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "21": { - "name": "setScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 70, - 21 - ], - [ - 75, - 1 - ] - ], - "doc": " Public: Moves a cursor to a given screen position.\n\nscreenPosition - An {Array} of two numbers: the screen row, and the screen\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " - } - }, - "75": { - "21": { - "name": "getScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 75, - 21 - ], - [ - 78, - 1 - ] - ], - "doc": "Public: Returns the screen position of the cursor as an Array. " - } - }, - "78": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 78, - 18 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "setBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 89, - 21 - ], - [ - 94, - 1 - ] - ], - "doc": " Public: Moves a cursor to a given buffer position.\n\nbufferPosition - An {Array} of two numbers: the buffer row, and the buffer\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " - } - }, - "94": { - "21": { - "name": "getBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 21 - ], - [ - 97, - 1 - ] - ], - "doc": "Public: Returns the current buffer position as an Array. " - } - }, - "97": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 97, - 14 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "20": { - "name": "updateVisibility", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 20 - ], - [ - 105, - 1 - ] - ], - "doc": "Public: If the marker range is empty, the cursor is marked as being visible. " - } - }, - "105": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 105, - 14 - ], - [ - 112, - 1 - ] - ], - "doc": "Public: Sets whether the cursor is visible. " - } - }, - "112": { - "13": { - "name": "isVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 112, - 13 - ], - [ - 112, - 23 - ] - ], - "doc": "Public: Returns the visibility of the cursor. " - } - }, - "122": { - "14": { - "name": "wordRegExp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 122, - 14 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Get the RegExp used by the cursor to determine what a \"word\" is.\n\noptions: An optional {Object} with the following keys:\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the regex.\n (default: true)\n\nReturns a {RegExp}. " - } - }, - "136": { - "16": { - "name": "isLastCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 16 - ], - [ - 145, - 1 - ] - ], - "doc": " Public: Identifies if this cursor is the last in the {Editor}.\n\n\"Last\" is defined as the most recently added cursor.\n\nReturns a {Boolean}. " - } - }, - "145": { - "28": { - "name": "isSurroundedByWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 145, - 28 - ], - [ - 158, - 1 - ] - ], - "doc": " Public: Identifies if the cursor is surrounded by whitespace.\n\n\"Surrounded\" here means that the character directly before and after the\ncursor are both whitespace.\n\nReturns a {Boolean}. " - } - }, - "158": { - "27": { - "name": "isBetweenWordAndNonWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 27 - ], - [ - 170, - 1 - ] - ], - "doc": " Public: Returns whether the cursor is currently between a word and non-word\ncharacter. The non-word characters are defined by the\n`editor.nonWordCharacters` config value.\n\nThis method returns false if the character before or after the cursor is\nwhitespace.\n\nReturns a Boolean. " - } - }, - "170": { - "16": { - "name": "isInsideWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 170, - 16 - ], - [ - 176, - 1 - ] - ], - "doc": "Public: Returns whether this cursor is between a word's start and end. " - } - }, - "176": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 176, - 19 - ], - [ - 180, - 1 - ] - ], - "doc": "Public: Prevents this cursor from causing scrolling. " - } - }, - "180": { - "18": { - "name": "clearSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 180, - 18 - ], - [ - 184, - 1 - ] - ], - "doc": "Public: Deselects the current selection. " - } - }, - "184": { - "16": { - "name": "getScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 184, - 16 - ], - [ - 188, - 1 - ] - ], - "doc": "Public: Returns the cursor's current screen row. " - } - }, - "188": { - "19": { - "name": "getScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 19 - ], - [ - 192, - 1 - ] - ], - "doc": "Public: Returns the cursor's current screen column. " - } - }, - "192": { - "16": { - "name": "getBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 192, - 16 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Retrieves the cursor's current buffer row. " - } - }, - "196": { - "19": { - "name": "getBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 196, - 19 - ], - [ - 201, - 1 - ] - ], - "doc": "Public: Returns the cursor's current buffer column. " - } - }, - "201": { - "24": { - "name": "getCurrentBufferLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 201, - 24 - ], - [ - 205, - 1 - ] - ], - "doc": " Public: Returns the cursor's current buffer row of text excluding its line\nending. " - } - }, - "205": { - "10": { - "name": "moveUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount", - null - ], - "range": [ - [ - 205, - 10 - ], - [ - 217, - 1 - ] - ], - "doc": "Public: Moves the cursor up one screen row. " - } - }, - "217": { - "12": { - "name": "moveDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount", - null - ], - "range": [ - [ - 217, - 12 - ], - [ - 233, - 1 - ] - ], - "doc": "Public: Moves the cursor down one screen row. " - } - }, - "233": { - "12": { - "name": "moveLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 233, - 12 - ], - [ - 247, - 1 - ] - ], - "doc": " Public: Moves the cursor left one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the left of the selection if a\n selection exists. " - } - }, - "247": { - "13": { - "name": "moveRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 247, - 13 - ], - [ - 256, - 1 - ] - ], - "doc": " Public: Moves the cursor right one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the right of the selection if a\n selection exists. " - } - }, - "256": { - "13": { - "name": "moveToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 13 - ], - [ - 260, - 1 - ] - ], - "doc": "Public: Moves the cursor to the top of the buffer. " - } - }, - "260": { - "16": { - "name": "moveToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 16 - ], - [ - 264, - 1 - ] - ], - "doc": "Public: Moves the cursor to the bottom of the buffer. " - } - }, - "264": { - "31": { - "name": "moveToBeginningOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 264, - 31 - ], - [ - 268, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the line. " - } - }, - "268": { - "25": { - "name": "moveToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 268, - 25 - ], - [ - 273, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the buffer line. " - } - }, - "273": { - "30": { - "name": "moveToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 273, - 30 - ], - [ - 283, - 1 - ] - ], - "doc": " Public: Moves the cursor to the beginning of the first character in the\nline. " - } - }, - "283": { - "25": { - "name": "skipLeadingWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 283, - 25 - ], - [ - 293, - 1 - ] - ], - "doc": " Public: Moves the cursor to the beginning of the buffer line, skipping all\nwhitespace. " - } - }, - "293": { - "25": { - "name": "moveToEndOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 293, - 25 - ], - [ - 297, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the line. " - } - }, - "297": { - "19": { - "name": "moveToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 19 - ], - [ - 301, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the buffer line. " - } - }, - "301": { - "25": { - "name": "moveToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 301, - 25 - ], - [ - 305, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the word. " - } - }, - "305": { - "19": { - "name": "moveToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 305, - 19 - ], - [ - 310, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the word. " - } - }, - "310": { - "29": { - "name": "moveToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 310, - 29 - ], - [ - 315, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the next word. " - } - }, - "315": { - "30": { - "name": "moveToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 30 - ], - [ - 320, - 1 - ] - ], - "doc": "Public: Moves the cursor to the previous word boundary. " - } - }, - "320": { - "26": { - "name": "moveToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 320, - 26 - ], - [ - 336, - 1 - ] - ], - "doc": "Public: Moves the cursor to the next word boundary. " - } - }, - "336": { - "43": { - "name": "getBeginningOfCurrentWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 336, - 43 - ], - [ - 358, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the current word starts.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n :allowPrevious - A {Boolean} indicating whether the beginning of the\n previous word can be returned.\n\nReturns a {Range}. " - } - }, - "358": { - "41": { - "name": "getPreviousWordBoundaryBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 358, - 41 - ], - [ - 380, - 1 - ] - ], - "doc": " Public: Retrieves buffer position of previous word boundary. It might be on\nthe current word, or the previous word. " - } - }, - "380": { - "41": { - "name": "getMoveNextWordBoundaryBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 380, - 41 - ], - [ - 409, - 1 - ] - ], - "doc": " Public: Retrieves buffer position of the next word boundary. It might be on\nthe current word, or the previous word. " - } - }, - "409": { - "37": { - "name": "getEndOfCurrentWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 409, - 37 - ], - [ - 430, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the current word ends.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp})\n :includeNonWordCharacters - A Boolean indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n\nReturns a {Range}. " - } - }, - "430": { - "40": { - "name": "getBeginningOfNextWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 430, - 40 - ], - [ - 447, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the next word starts.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n\nReturns a {Range}. " - } - }, - "447": { - "29": { - "name": "getCurrentWordBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 447, - 29 - ], - [ - 457, - 1 - ] - ], - "doc": " Public: Returns the buffer Range occupied by the word located under the cursor.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}). " - } - }, - "457": { - "29": { - "name": "getCurrentLineBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 457, - 29 - ], - [ - 461, - 1 - ] - ], - "doc": " Public: Returns the buffer Range for the current line.\n\noptions -\n :includeNewline: - A {Boolean} which controls whether the Range should\n include the newline. " - } - }, - "461": { - "34": { - "name": "moveToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 461, - 34 - ], - [ - 466, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the next paragraph " - } - }, - "466": { - "38": { - "name": "moveToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 466, - 38 - ], - [ - 470, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the previous paragraph " - } - }, - "470": { - "45": { - "name": "getBeginningOfNextParagraphBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 470, - 45 - ], - [ - 484, - 1 - ] - ], - "doc": "~Private~" - } - }, - "484": { - "49": { - "name": "getBeginningOfPreviousParagraphBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 484, - 49 - ], - [ - 502, - 1 - ] - ], - "doc": "~Private~" - } - }, - "502": { - "34": { - "name": "getCurrentParagraphBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 502, - 34 - ], - [ - 506, - 1 - ] - ], - "doc": " Public: Retrieves the range for the current paragraph.\n\nA paragraph is defined as a block of text surrounded by empty lines.\n\nReturns a {Range}. " - } - }, - "506": { - "24": { - "name": "getCurrentWordPrefix", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 506, - 24 - ], - [ - 510, - 1 - ] - ], - "doc": "Public: Returns the characters preceding the cursor in the current word. " - } - }, - "510": { - "23": { - "name": "isAtBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 510, - 23 - ], - [ - 514, - 1 - ] - ], - "doc": "Public: Returns whether the cursor is at the start of a line. " - } - }, - "514": { - "18": { - "name": "getIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 514, - 18 - ], - [ - 521, - 1 - ] - ], - "doc": "Public: Returns the indentation level of the current line. " - } - }, - "521": { - "17": { - "name": "isAtEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 521, - 17 - ], - [ - 527, - 1 - ] - ], - "doc": "Public: Returns whether the cursor is on the line return character. " - } - }, - "527": { - "13": { - "name": "getScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 527, - 13 - ], - [ - 532, - 1 - ] - ], - "doc": " Public: Retrieves the grammar's token scopes for the line.\n\nReturns an {Array} of {String}s. " - } - }, - "532": { - "32": { - "name": "hasPrecedingCharactersOnLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 532, - 32 - ], - [ - 540, - 50 - ] - ], - "doc": " Public: Returns true if this cursor has no non-whitespace characters before\nits current position. " - } - } - }, - "exports": 10 - }, - "src/cursors-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "debounce", - "exportsProperty": "debounce" - }, - "11": { - "type": "import", - "range": [ - [ - 2, - 11 - ], - [ - 2, - 17 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "toArray", - "exportsProperty": "toArray" - }, - "20": { - "type": "import", - "range": [ - [ - 2, - 20 - ], - [ - 2, - 39 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "42": { - "type": "import", - "range": [ - [ - 2, - 42 - ], - [ - 2, - 48 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqual", - "exportsProperty": "isEqual" - } - }, - "3": { - "18": { - "name": "SubscriberMixin", - "type": "import", - "range": [ - [ - 3, - 18 - ], - [ - 3, - 45 - ] - ], - "bindingType": "variable", - "path": "./subscriber-mixin" - } - }, - "4": { - "18": { - "name": "CursorComponent", - "type": "import", - "range": [ - [ - 4, - 18 - ], - [ - 4, - 45 - ] - ], - "bindingType": "variable", - "path": "./cursor-component" - } - }, - "7": { - "19": { - "name": "CursorsComponent", - "type": "function", - "range": [ - [ - 7, - 19 - ], - [ - 60, - 37 - ] - ] - } - }, - "8": { - "15": { - "name": "'CursorsComponent'", - "type": "primitive", - "range": [ - [ - 8, - 15 - ], - [ - 8, - 32 - ] - ] - } - }, - "9": { - "10": { - "type": "primitive", - "range": [ - [ - 9, - 10 - ], - [ - 9, - 26 - ] - ] - } - }, - "11": { - "29": { - "type": "primitive", - "range": [ - [ - 11, - 29 - ], - [ - 11, - 32 - ] - ] - } - }, - "13": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 10 - ], - [ - 25, - 1 - ] - ], - "doc": null - } - }, - "25": { - "19": { - "name": "getInitialState", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 19 - ], - [ - 28, - 1 - ] - ], - "doc": null - } - }, - "28": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 21 - ], - [ - 31, - 1 - ] - ], - "doc": null - } - }, - "31": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 31, - 24 - ], - [ - 34, - 1 - ] - ], - "doc": null - } - }, - "34": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps", - "newState" - ], - "range": [ - [ - 34, - 25 - ], - [ - 38, - 1 - ] - ], - "doc": null - } - }, - "38": { - "23": { - "name": "componentWillUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 38, - 23 - ], - [ - 45, - 1 - ] - ], - "doc": null - } - }, - "45": { - "24": { - "name": "startBlinkingCursors", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 24 - ], - [ - 48, - 1 - ] - ], - "doc": null - } - }, - "48": { - "34": { - "type": "primitive", - "range": [ - [ - 48, - 34 - ], - [ - 48, - 37 - ] - ] - } - }, - "50": { - "23": { - "name": "stopBlinkingCursors", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 23 - ], - [ - 53, - 1 - ] - ], - "doc": null - } - }, - "53": { - "21": { - "name": "toggleCursorBlink", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 21 - ], - [ - 56, - 1 - ] - ], - "doc": null - } - }, - "56": { - "23": { - "name": "pauseCursorBlinking", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 23 - ], - [ - 60, - 37 - ] - ], - "doc": null - } - } - }, - "exports": 7 - }, - "src/custom-event-mixin.coffee": { - "objects": { - "2": { - "2": { - "type": "primitive", - "range": [ - [ - 2, - 2 - ], - [ - 14, - 52 - ] - ] - }, - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 2, - 22 - ], - [ - 5, - 1 - ] - ], - "doc": null - } - }, - "5": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 24 - ], - [ - 10, - 1 - ] - ], - "doc": null - } - }, - "10": { - "27": { - "name": "addCustomEventListeners", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "customEventListeners" - ], - "range": [ - [ - 10, - 27 - ], - [ - 14, - 52 - ] - ], - "doc": null - } - } - }, - "exports": 2 - }, - "src/decoration.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - }, - "13": { - "type": "import", - "range": [ - [ - 1, - 13 - ], - [ - 1, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "3": { - "12": { - "name": "0", - "type": "primitive", - "range": [ - [ - 3, - 12 - ], - [ - 3, - 12 - ] - ] - } - }, - "4": { - "9": { - "name": "nextId", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 4, - 9 - ], - [ - 4, - 22 - ] - ] - } - }, - "40": { - "0": { - "type": "class", - "name": "Decoration", - "bindingType": "exports", - "classProperties": [ - [ - 43, - 11 - ] - ], - "prototypeProperties": [ - [ - 49, - 15 - ], - [ - 59, - 11 - ], - [ - 70, - 10 - ], - [ - 79, - 13 - ], - [ - 82, - 13 - ], - [ - 89, - 10 - ], - [ - 92, - 18 - ], - [ - 98, - 9 - ], - [ - 104, - 20 - ] - ], - "doc": " Public: Represents a decoration that follows a {Marker}. A decoration is\nbasically a visual representation of a marker. It allows you to add CSS\nclasses to line numbers in the gutter, lines, and add selection-line regions\naround marked ranges of text.\n\n{Decoration} objects are not meant to be created directly, but created with\n{Editor::decorateMarker}. eg.\n\n```coffee\nrange = editor.getSelectedBufferRange() # any range you like\nmarker = editor.markBufferRange(range)\ndecoration = editor.decorateMarker(marker, {type: 'line', class: 'my-line-class'})\n```\n\nBest practice for destorying the decoration is by destroying the {Marker}.\n\n```\nmarker.destroy()\n```\n\nYou should only use {Decoration::destroy} when you still need or do not own\nthe marker.\n\n### IDs\nEach {Decoration} has a unique ID available via `decoration.id`.\n\n### Events\nA couple of events are emitted:\n\n* `destroyed`: When the {Decoration} is destroyed\n* `updated`: When the {Decoration} is updated via {Decoration::update}.\n Event object has properties `oldParams` and `newParams`\n\n ", - "range": [ - [ - 40, - 0 - ], - [ - 106, - 8 - ] - ] - } - }, - "43": { - "11": { - "name": "isType", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "decorationParams", - "type" - ], - "range": [ - [ - 43, - 11 - ], - [ - 49, - 1 - ] - ], - "doc": "~Private~" - } - }, - "49": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null, - null - ], - "range": [ - [ - 49, - 15 - ], - [ - 59, - 1 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 11 - ], - [ - 70, - 1 - ] - ], - "doc": " Public: Destroy this marker.\n\nIf you own the marker, you should use {Marker::destroy} which will destroy\nthis decoration. " - } - }, - "70": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "newParams" - ], - "range": [ - [ - 70, - 10 - ], - [ - 79, - 1 - ] - ], - "doc": " Public: Update the marker with new params. Allows you to change the decoration's class.\n\n```\ndecoration.update({type: 'gutter', class: 'my-new-class'})\n``` " - } - }, - "79": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 13 - ], - [ - 79, - 22 - ] - ], - "doc": "Public: Returns the marker associated with this {Decoration} " - } - }, - "82": { - "13": { - "name": "getParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 13 - ], - [ - 82, - 22 - ] - ], - "doc": "Public: Returns the {Decoration}'s params. " - } - }, - "89": { - "10": { - "name": "isType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "type" - ], - "range": [ - [ - 89, - 10 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "18": { - "name": "matchesPattern", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decorationPattern" - ], - "range": [ - [ - 92, - 18 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "9": { - "name": "flash", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass", - "duration" - ], - "range": [ - [ - 98, - 9 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "20": { - "name": "consumeNextFlash", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 20 - ], - [ - 106, - 8 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 40 - }, - "src/deserializer-manager.coffee": { - "objects": { - "20": { - "0": { - "type": "class", - "name": "DeserializerManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 21, - 15 - ], - [ - 27, - 7 - ], - [ - 33, - 10 - ], - [ - 41, - 15 - ], - [ - 54, - 7 - ] - ], - "doc": " Public: Manages the deserializers used for serialized state\n\nAn instance of this class is always available as the `atom.deserializers`\nglobal.\n\n### Registering a deserializer\n\n```coffee\nclass MyPackageView extends View\n atom.deserializers.add(this)\n\n @deserialize: (state) ->\n new MyPackageView(state)\n\n constructor: (@state) ->\n\n serialize: ->\n @state\n``` ", - "range": [ - [ - 20, - 0 - ], - [ - 58, - 24 - ] - ] - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 15 - ], - [ - 27, - 1 - ] - ] - } - }, - "27": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "classes" - ], - "range": [ - [ - 27, - 7 - ], - [ - 33, - 1 - ] - ], - "doc": " Public: Register the given class(es) as deserializers.\n\nclasses - One or more classes to register. " - } - }, - "33": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "classes" - ], - "range": [ - [ - 33, - 10 - ], - [ - 41, - 1 - ] - ], - "doc": " Public: Remove the given class(es) as deserializers.\n\nclasses - One or more classes to remove. " - } - }, - "41": { - "15": { - "name": "deserialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state", - "params" - ], - "range": [ - [ - 41, - 15 - ], - [ - 54, - 1 - ] - ], - "doc": " Public: Deserialize the state and params.\n\nstate - The state {Object} to deserialize.\nparams - The params {Object} to pass as the second arguments to the\n deserialize method of the deserializer. " - } - }, - "54": { - "7": { - "name": "get", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 54, - 7 - ], - [ - 58, - 24 - ] - ], - "doc": " Private: Get the deserializer for the state.\n\nstate - The state {Object} being deserialized. " - } - } - }, - "exports": 20 - }, - "src/display-buffer-marker.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 2, - 10 - ], - [ - 2, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "5": { - "0": { - "type": "class", - "name": "DisplayBufferMarker", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 9, - 28 - ], - [ - 10, - 25 - ], - [ - 11, - 25 - ], - [ - 12, - 25 - ], - [ - 13, - 25 - ], - [ - 14, - 12 - ], - [ - 16, - 15 - ], - [ - 27, - 8 - ], - [ - 33, - 18 - ], - [ - 40, - 18 - ], - [ - 46, - 18 - ], - [ - 53, - 18 - ], - [ - 56, - 17 - ], - [ - 62, - 25 - ], - [ - 69, - 25 - ], - [ - 76, - 25 - ], - [ - 83, - 25 - ], - [ - 89, - 25 - ], - [ - 96, - 25 - ], - [ - 103, - 25 - ], - [ - 110, - 25 - ], - [ - 117, - 26 - ], - [ - 124, - 26 - ], - [ - 131, - 24 - ], - [ - 138, - 24 - ], - [ - 146, - 13 - ], - [ - 150, - 13 - ], - [ - 153, - 11 - ], - [ - 157, - 14 - ], - [ - 162, - 11 - ], - [ - 169, - 15 - ], - [ - 172, - 17 - ], - [ - 175, - 17 - ], - [ - 178, - 21 - ], - [ - 183, - 11 - ], - [ - 187, - 11 - ], - [ - 191, - 11 - ], - [ - 195, - 11 - ], - [ - 198, - 13 - ], - [ - 202, - 19 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 230, - 23 - ] - ] - } - }, - "9": { - "28": { - "name": "bufferMarkerSubscription", - "type": "primitive", - "range": [ - [ - 9, - 28 - ], - [ - 9, - 31 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "25": { - "name": "oldHeadBufferPosition", - "type": "primitive", - "range": [ - [ - 10, - 25 - ], - [ - 10, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "11": { - "25": { - "name": "oldHeadScreenPosition", - "type": "primitive", - "range": [ - [ - 11, - 25 - ], - [ - 11, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "25": { - "name": "oldTailBufferPosition", - "type": "primitive", - "range": [ - [ - 12, - 25 - ], - [ - 12, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "13": { - "25": { - "name": "oldTailScreenPosition", - "type": "primitive", - "range": [ - [ - 13, - 25 - ], - [ - 13, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "12": { - "name": "wasValid", - "type": "primitive", - "range": [ - [ - 14, - 12 - ], - [ - 14, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 16, - 15 - ], - [ - 27, - 1 - ] - ], - "doc": "~Private~" - } - }, - "27": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 27, - 8 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 33, - 18 - ], - [ - 40, - 1 - ] - ], - "doc": " Private: Gets the screen range of the display marker.\n\nReturns a {Range}. " - } - }, - "40": { - "18": { - "name": "setScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 40, - 18 - ], - [ - 46, - 1 - ] - ], - "doc": " Private: Modifies the screen range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " - } - }, - "46": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 46, - 18 - ], - [ - 53, - 1 - ] - ], - "doc": " Private: Gets the buffer range of the display marker.\n\nReturns a {Range}. " - } - }, - "53": { - "18": { - "name": "setBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 53, - 18 - ], - [ - 56, - 1 - ] - ], - "doc": " Private: Modifies the buffer range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " - } - }, - "56": { - "17": { - "name": "getPixelRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 17 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "25": { - "name": "getHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 62, - 25 - ], - [ - 69, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's head.\n\nReturns a {Point}. " - } - }, - "69": { - "25": { - "name": "setHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 69, - 25 - ], - [ - 76, - 1 - ] - ], - "doc": " Private: Sets the screen position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "76": { - "25": { - "name": "getHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 25 - ], - [ - 83, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's head.\n\nReturns a {Point}. " - } - }, - "83": { - "25": { - "name": "setHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 83, - 25 - ], - [ - 89, - 1 - ] - ], - "doc": " Private: Sets the buffer position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "89": { - "25": { - "name": "getTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 25 - ], - [ - 96, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's tail.\n\nReturns a {Point}. " - } - }, - "96": { - "25": { - "name": "setTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 96, - 25 - ], - [ - 103, - 1 - ] - ], - "doc": " Private: Sets the screen position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "103": { - "25": { - "name": "getTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 103, - 25 - ], - [ - 110, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's tail.\n\nReturns a {Point}. " - } - }, - "110": { - "25": { - "name": "setTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 110, - 25 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: Sets the buffer position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "117": { - "26": { - "name": "getStartScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 26 - ], - [ - 124, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndScreenPosition}.\n\nReturns a {Point}. " - } - }, - "124": { - "26": { - "name": "getStartBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 26 - ], - [ - 131, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndBufferPosition}.\n\nReturns a {Point}. " - } - }, - "131": { - "24": { - "name": "getEndScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 131, - 24 - ], - [ - 138, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartScreenPosition}.\n\nReturns a {Point}. " - } - }, - "138": { - "24": { - "name": "getEndBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 24 - ], - [ - 146, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartBufferPosition}.\n\nReturns a {Point}. " - } - }, - "146": { - "13": { - "name": "plantTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 146, - 13 - ], - [ - 150, - 1 - ] - ], - "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " - } - }, - "150": { - "13": { - "name": "clearTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 150, - 13 - ], - [ - 153, - 1 - ] - ], - "doc": "Private: Removes the tail from the marker. " - } - }, - "153": { - "11": { - "name": "hasTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 153, - 11 - ], - [ - 157, - 1 - ] - ], - "doc": "~Private~" - } - }, - "157": { - "14": { - "name": "isReversed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 157, - 14 - ], - [ - 162, - 1 - ] - ], - "doc": "Private: Returns whether the head precedes the tail in the buffer " - } - }, - "162": { - "11": { - "name": "isValid", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 11 - ], - [ - 169, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the marker is valid. Markers can be\ninvalidated when a region surrounding them in the buffer is changed. " - } - }, - "169": { - "15": { - "name": "isDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 169, - 15 - ], - [ - 172, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the marker has been destroyed. A marker\ncan be invalid without being destroyed, in which case undoing the invalidating\noperation would restore the marker. Once a marker is destroyed by calling\n{Marker::destroy}, no undo/redo operation can ever bring it back. " - } - }, - "172": { - "17": { - "name": "getAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 172, - 17 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "17": { - "name": "setAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 175, - 17 - ], - [ - 178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "178": { - "21": { - "name": "matchesAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 178, - 21 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 183, - 11 - ], - [ - 187, - 1 - ] - ], - "doc": "Private: Destroys the marker " - } - }, - "187": { - "11": { - "name": "isEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 187, - 11 - ], - [ - 191, - 1 - ] - ], - "doc": "~Private~" - } - }, - "191": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 191, - 11 - ], - [ - 195, - 1 - ] - ], - "doc": "~Private~" - } - }, - "195": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 195, - 11 - ], - [ - 198, - 1 - ] - ], - "doc": "Private: Returns a {String} representation of the marker " - } - }, - "198": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 198, - 13 - ], - [ - 202, - 1 - ] - ], - "doc": "~Private~" - } - }, - "202": { - "19": { - "name": "notifyObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 202, - 19 - ], - [ - 230, - 23 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "src/display-buffer.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "2": { - "7": { - "name": "guid", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "guid" - } - }, - "3": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@1.x" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "6": { - "18": { - "name": "TokenizedBuffer", - "type": "import", - "range": [ - [ - 6, - 18 - ], - [ - 6, - 45 - ] - ], - "bindingType": "variable", - "path": "./tokenized-buffer" - } - }, - "7": { - "9": { - "name": "RowMap", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 27 - ] - ], - "bindingType": "variable", - "path": "./row-map" - } - }, - "8": { - "7": { - "name": "Fold", - "type": "import", - "range": [ - [ - 8, - 7 - ], - [ - 8, - 22 - ] - ], - "bindingType": "variable", - "path": "./fold" - } - }, - "9": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 9, - 8 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "10": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "11": { - "22": { - "name": "DisplayBufferMarker", - "type": "import", - "range": [ - [ - 11, - 22 - ], - [ - 11, - 54 - ] - ], - "bindingType": "variable", - "path": "./display-buffer-marker" - } - }, - "13": { - "0": { - "type": "class", - "name": "BufferToScreenConversionError", - "classProperties": [], - "prototypeProperties": [ - [ - 14, - 15 - ] - ], - "doc": "~Private~", - "range": [ - [ - 13, - 0 - ], - [ - 17, - 0 - ] - ] - } - }, - "14": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 14, - 15 - ], - [ - 17, - 0 - ] - ] - } - }, - "19": { - "0": { - "type": "class", - "name": "DisplayBuffer", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 34, - 24 - ], - [ - 35, - 26 - ], - [ - 36, - 29 - ], - [ - 37, - 26 - ], - [ - 38, - 36 - ], - [ - 40, - 15 - ], - [ - 70, - 19 - ], - [ - 78, - 21 - ], - [ - 82, - 8 - ], - [ - 91, - 24 - ], - [ - 97, - 15 - ], - [ - 104, - 28 - ], - [ - 115, - 14 - ], - [ - 117, - 27 - ], - [ - 118, - 27 - ], - [ - 120, - 29 - ], - [ - 121, - 29 - ], - [ - 123, - 32 - ], - [ - 124, - 32 - ], - [ - 126, - 29 - ], - [ - 127, - 29 - ], - [ - 129, - 13 - ], - [ - 138, - 13 - ], - [ - 140, - 19 - ], - [ - 146, - 18 - ], - [ - 152, - 26 - ], - [ - 160, - 24 - ], - [ - 167, - 12 - ], - [ - 176, - 12 - ], - [ - 183, - 16 - ], - [ - 184, - 16 - ], - [ - 190, - 19 - ], - [ - 193, - 19 - ], - [ - 194, - 19 - ], - [ - 198, - 17 - ], - [ - 199, - 17 - ], - [ - 206, - 20 - ], - [ - 209, - 18 - ], - [ - 210, - 18 - ], - [ - 214, - 25 - ], - [ - 215, - 25 - ], - [ - 217, - 23 - ], - [ - 218, - 23 - ], - [ - 224, - 18 - ], - [ - 226, - 22 - ], - [ - 229, - 23 - ], - [ - 237, - 29 - ], - [ - 244, - 22 - ], - [ - 249, - 26 - ], - [ - 253, - 25 - ], - [ - 256, - 19 - ], - [ - 261, - 18 - ], - [ - 264, - 22 - ], - [ - 273, - 29 - ], - [ - 277, - 38 - ], - [ - 281, - 23 - ], - [ - 311, - 26 - ], - [ - 314, - 26 - ], - [ - 317, - 27 - ], - [ - 333, - 16 - ], - [ - 339, - 16 - ], - [ - 343, - 15 - ], - [ - 346, - 15 - ], - [ - 351, - 25 - ], - [ - 359, - 25 - ], - [ - 367, - 21 - ], - [ - 378, - 14 - ], - [ - 387, - 16 - ], - [ - 393, - 12 - ], - [ - 396, - 22 - ], - [ - 406, - 27 - ], - [ - 416, - 14 - ], - [ - 422, - 23 - ], - [ - 425, - 23 - ], - [ - 429, - 21 - ], - [ - 435, - 19 - ], - [ - 446, - 34 - ], - [ - 454, - 28 - ], - [ - 466, - 34 - ], - [ - 477, - 34 - ], - [ - 482, - 34 - ], - [ - 493, - 28 - ], - [ - 502, - 25 - ], - [ - 505, - 29 - ], - [ - 513, - 25 - ], - [ - 521, - 29 - ], - [ - 532, - 29 - ], - [ - 538, - 28 - ], - [ - 542, - 34 - ], - [ - 561, - 34 - ], - [ - 581, - 34 - ], - [ - 587, - 16 - ], - [ - 593, - 14 - ], - [ - 599, - 20 - ], - [ - 605, - 23 - ], - [ - 617, - 35 - ], - [ - 651, - 35 - ], - [ - 661, - 27 - ], - [ - 664, - 33 - ], - [ - 672, - 26 - ], - [ - 678, - 14 - ], - [ - 684, - 14 - ], - [ - 688, - 17 - ], - [ - 704, - 22 - ], - [ - 740, - 18 - ], - [ - 758, - 20 - ], - [ - 761, - 19 - ], - [ - 764, - 32 - ], - [ - 771, - 18 - ], - [ - 793, - 20 - ], - [ - 804, - 33 - ], - [ - 810, - 31 - ], - [ - 818, - 21 - ], - [ - 826, - 13 - ], - [ - 836, - 14 - ], - [ - 839, - 18 - ], - [ - 848, - 19 - ], - [ - 858, - 19 - ], - [ - 867, - 22 - ], - [ - 876, - 22 - ], - [ - 882, - 17 - ], - [ - 891, - 14 - ], - [ - 912, - 15 - ], - [ - 916, - 33 - ], - [ - 954, - 18 - ], - [ - 957, - 19 - ], - [ - 960, - 27 - ], - [ - 963, - 24 - ], - [ - 966, - 25 - ], - [ - 970, - 32 - ], - [ - 974, - 13 - ], - [ - 979, - 12 - ], - [ - 984, - 31 - ], - [ - 989, - 21 - ], - [ - 1015, - 20 - ], - [ - 1061, - 21 - ], - [ - 1083, - 22 - ], - [ - 1088, - 30 - ], - [ - 1093, - 29 - ], - [ - 1097, - 23 - ], - [ - 1101, - 17 - ] - ], - "doc": "~Private~", - "range": [ - [ - 19, - 0 - ], - [ - 1102, - 31 - ] - ] - } - }, - "34": { - "24": { - "name": "verticalScrollMargin", - "type": "primitive", - "range": [ - [ - 34, - 24 - ], - [ - 34, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "35": { - "26": { - "name": "horizontalScrollMargin", - "type": "primitive", - "range": [ - [ - 35, - 26 - ], - [ - 35, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "36": { - "29": { - "name": "horizontalScrollbarHeight", - "type": "primitive", - "range": [ - [ - 36, - 29 - ], - [ - 36, - 30 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "37": { - "26": { - "name": "verticalScrollbarWidth", - "type": "primitive", - "range": [ - [ - 37, - 26 - ], - [ - 37, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "38": { - "36": { - "name": "scopedCharacterWidthsChangeCount", - "type": "primitive", - "range": [ - [ - 38, - 36 - ], - [ - 38, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "40": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 40, - 15 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 70, - 19 - ], - [ - 78, - 1 - ] - ], - "doc": "~Private~" - } - }, - "78": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 78, - 21 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 8 - ], - [ - 91, - 1 - ] - ], - "doc": "~Private~" - } - }, - "91": { - "24": { - "name": "updateAllScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 24 - ], - [ - 97, - 1 - ] - ], - "doc": "~Private~" - } - }, - "97": { - "15": { - "name": "emitChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventProperties", - "refreshMarkers" - ], - "range": [ - [ - 97, - 15 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "28": { - "name": "updateWrappedScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 28 - ], - [ - 115, - 1 - ] - ], - "doc": "~Private~" - } - }, - "115": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 115, - 14 - ], - [ - 115, - 62 - ] - ], - "doc": " Private: Sets the visibility of the tokenized buffer.\n\nvisible - A {Boolean} indicating of the tokenized buffer is shown " - } - }, - "117": { - "27": { - "name": "getVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 27 - ], - [ - 117, - 50 - ] - ], - "doc": "~Private~" - } - }, - "118": { - "27": { - "name": "setVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 118, - 27 - ], - [ - 118, - 74 - ] - ] - } - }, - "120": { - "29": { - "name": "getHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 120, - 29 - ], - [ - 120, - 54 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "29": { - "name": "setHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 121, - 29 - ], - [ - 121, - 80 - ] - ] - } - }, - "123": { - "32": { - "name": "getHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 123, - 32 - ], - [ - 123, - 60 - ] - ], - "doc": "~Private~" - } - }, - "124": { - "32": { - "name": "setHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 124, - 32 - ], - [ - 124, - 89 - ] - ] - } - }, - "126": { - "29": { - "name": "getVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 29 - ], - [ - 126, - 54 - ] - ], - "doc": "~Private~" - } - }, - "127": { - "29": { - "name": "setVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 127, - 29 - ], - [ - 127, - 80 - ] - ] - } - }, - "129": { - "13": { - "name": "getHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 129, - 13 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "13": { - "name": "setHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 138, - 13 - ], - [ - 138, - 32 - ] - ], - "doc": "~Private~" - } - }, - "140": { - "19": { - "name": "getClientHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 140, - 19 - ], - [ - 146, - 1 - ] - ], - "doc": "~Private~" - } - }, - "146": { - "18": { - "name": "getClientWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 146, - 18 - ], - [ - 152, - 1 - ] - ], - "doc": "~Private~" - } - }, - "152": { - "26": { - "name": "horizontallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 152, - 26 - ], - [ - 160, - 1 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "24": { - "name": "verticallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 160, - 24 - ], - [ - 167, - 1 - ] - ], - "doc": "~Private~" - } - }, - "167": { - "12": { - "name": "getWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 167, - 12 - ], - [ - 176, - 1 - ] - ], - "doc": "~Private~" - } - }, - "176": { - "12": { - "name": "setWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "newWidth" - ], - "range": [ - [ - 176, - 12 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "16": { - "name": "getScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 183, - 16 - ], - [ - 183, - 28 - ] - ], - "doc": "~Private~" - } - }, - "184": { - "16": { - "name": "setScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 184, - 16 - ], - [ - 190, - 1 - ] - ] - } - }, - "190": { - "19": { - "name": "getMaxScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 19 - ], - [ - 193, - 1 - ] - ], - "doc": "~Private~" - } - }, - "193": { - "19": { - "name": "getScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 193, - 19 - ], - [ - 193, - 41 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "19": { - "name": "setScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 194, - 19 - ], - [ - 198, - 1 - ] - ] - } - }, - "198": { - "17": { - "name": "getScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 198, - 17 - ], - [ - 198, - 30 - ] - ], - "doc": "~Private~" - } - }, - "199": { - "17": { - "name": "setScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 199, - 17 - ], - [ - 206, - 1 - ] - ] - } - }, - "206": { - "20": { - "name": "getMaxScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 206, - 20 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "18": { - "name": "getScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 209, - 18 - ], - [ - 209, - 40 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "18": { - "name": "setScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 210, - 18 - ], - [ - 214, - 1 - ] - ] - } - }, - "214": { - "25": { - "name": "getLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 214, - 25 - ], - [ - 214, - 46 - ] - ], - "doc": "~Private~" - } - }, - "215": { - "25": { - "name": "setLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 215, - 25 - ], - [ - 215, - 68 - ] - ] - } - }, - "217": { - "23": { - "name": "getDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 217, - 23 - ], - [ - 217, - 42 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "23": { - "name": "setDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultCharWidth" - ], - "range": [ - [ - 218, - 23 - ], - [ - 224, - 1 - ] - ] - } - }, - "224": { - "18": { - "name": "getCursorWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 18 - ], - [ - 224, - 21 - ] - ], - "doc": "~Private~" - } - }, - "226": { - "22": { - "name": "getScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char" - ], - "range": [ - [ - 226, - 22 - ], - [ - 229, - 1 - ] - ], - "doc": "~Private~" - } - }, - "229": { - "23": { - "name": "getScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames" - ], - "range": [ - [ - 229, - 23 - ], - [ - 237, - 1 - ] - ], - "doc": "~Private~" - } - }, - "237": { - "29": { - "name": "batchCharacterMeasurement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 237, - 29 - ], - [ - 244, - 1 - ] - ], - "doc": "~Private~" - } - }, - "244": { - "22": { - "name": "setScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char", - "width" - ], - "range": [ - [ - 244, - 22 - ], - [ - 249, - 1 - ] - ], - "doc": "~Private~" - } - }, - "249": { - "26": { - "name": "characterWidthsChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 249, - 26 - ], - [ - 253, - 1 - ] - ], - "doc": "~Private~" - } - }, - "253": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 253, - 25 - ], - [ - 256, - 1 - ] - ], - "doc": "~Private~" - } - }, - "256": { - "19": { - "name": "getScrollHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 19 - ], - [ - 261, - 1 - ] - ], - "doc": "~Private~" - } - }, - "261": { - "18": { - "name": "getScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 18 - ], - [ - 264, - 1 - ] - ], - "doc": "~Private~" - } - }, - "264": { - "22": { - "name": "getVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 264, - 22 - ], - [ - 273, - 1 - ] - ], - "doc": "~Private~" - } - }, - "273": { - "29": { - "name": "intersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 273, - 29 - ], - [ - 277, - 1 - ] - ], - "doc": "~Private~" - } - }, - "277": { - "38": { - "name": "selectionIntersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 277, - 38 - ], - [ - 281, - 1 - ] - ], - "doc": "~Private~" - } - }, - "281": { - "23": { - "name": "scrollToScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 281, - 23 - ], - [ - 311, - 1 - ] - ], - "doc": "~Private~" - } - }, - "311": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 311, - 26 - ], - [ - 314, - 1 - ] - ], - "doc": "~Private~" - } - }, - "314": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 314, - 26 - ], - [ - 317, - 1 - ] - ], - "doc": "~Private~" - } - }, - "317": { - "27": { - "name": "pixelRectForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 317, - 27 - ], - [ - 333, - 1 - ] - ], - "doc": "~Private~" - } - }, - "333": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 333, - 16 - ], - [ - 339, - 1 - ] - ], - "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " - } - }, - "339": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 339, - 16 - ], - [ - 343, - 1 - ] - ], - "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " - } - }, - "343": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 343, - 15 - ], - [ - 343, - 38 - ] - ], - "doc": "Deprecated: Use the softWrap property directly " - } - }, - "346": { - "15": { - "name": "getSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 15 - ], - [ - 346, - 26 - ] - ], - "doc": "Deprecated: Use the softWrap property directly " - } - }, - "351": { - "25": { - "name": "setEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorWidthInChars" - ], - "range": [ - [ - 351, - 25 - ], - [ - 359, - 1 - ] - ], - "doc": " Private: Set the number of characters that fit horizontally in the editor.\n\neditorWidthInChars - A {Number} of characters. " - } - }, - "359": { - "25": { - "name": "getEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 359, - 25 - ], - [ - 367, - 1 - ] - ], - "doc": "Private: Returns the editor width in characters for soft wrap. " - } - }, - "367": { - "21": { - "name": "getSoftWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 367, - 21 - ], - [ - 378, - 1 - ] - ], - "doc": "~Private~" - } - }, - "378": { - "14": { - "name": "lineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 378, - 14 - ], - [ - 387, - 1 - ] - ], - "doc": " Private: Gets the screen line for the given screen row.\n\nscreenRow - A {Number} indicating the screen row.\n\nReturns a {ScreenLine}. " - } - }, - "387": { - "16": { - "name": "linesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 387, - 16 - ], - [ - 393, - 1 - ] - ], - "doc": " Private: Gets the screen lines for the given screen row range.\n\nstartRow - A {Number} indicating the beginning screen row.\nendRow - A {Number} indicating the ending screen row.\n\nReturns an {Array} of {ScreenLine}s. " - } - }, - "393": { - "12": { - "name": "getLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 393, - 12 - ], - [ - 396, - 1 - ] - ], - "doc": " Private: Gets all the screen lines.\n\nReturns an {Array} of {ScreenLines}s. " - } - }, - "396": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 396, - 22 - ], - [ - 406, - 1 - ] - ], - "doc": "~Private~" - } - }, - "406": { - "27": { - "name": "bufferRowsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 406, - 27 - ], - [ - 416, - 1 - ] - ], - "doc": " Private: Given starting and ending screen rows, this returns an array of the\nbuffer rows corresponding to every screen row in the range\n\nstartScreenRow - The screen row {Number} to start at\nendScreenRow - The screen row {Number} to end at (default: the last screen row)\n\nReturns an {Array} of buffer rows as {Numbers}s. " - } - }, - "416": { - "14": { - "name": "createFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 416, - 14 - ], - [ - 422, - 1 - ] - ], - "doc": " Private: Creates a new fold between two row numbers.\n\nstartRow - The row {Number} to start folding at\nendRow - The row {Number} to end the fold\n\nReturns the new {Fold}. " - } - }, - "422": { - "23": { - "name": "isFoldedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 422, - 23 - ], - [ - 425, - 1 - ] - ], - "doc": "~Private~" - } - }, - "425": { - "23": { - "name": "isFoldedAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 425, - 23 - ], - [ - 429, - 1 - ] - ], - "doc": "~Private~" - } - }, - "429": { - "21": { - "name": "destroyFoldWithId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 429, - 21 - ], - [ - 435, - 1 - ] - ], - "doc": "Private: Destroys the fold with the given id " - } - }, - "435": { - "19": { - "name": "unfoldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 435, - 19 - ], - [ - 446, - 1 - ] - ], - "doc": " Private: Removes any folds found that contain the given buffer row.\n\nbufferRow - The buffer row {Number} to check against " - } - }, - "446": { - "34": { - "name": "largestFoldStartingAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 446, - 34 - ], - [ - 454, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold} or null if none exists. " - } - }, - "454": { - "28": { - "name": "foldsStartingAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 454, - 28 - ], - [ - 466, - 1 - ] - ], - "doc": " Public: Given a buffer row, this returns all folds that start there.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " - } - }, - "466": { - "34": { - "name": "largestFoldStartingAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 466, - 34 - ], - [ - 477, - 1 - ] - ], - "doc": " Private: Given a screen row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nscreenRow - A {Number} indicating the screen row\n\nReturns a {Fold}. " - } - }, - "477": { - "34": { - "name": "largestFoldContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 477, - 34 - ], - [ - 482, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns the largest fold that includes it.\n\nLargest is defined as the fold whose difference between its start and end rows\nis the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold}. " - } - }, - "482": { - "34": { - "name": "outermostFoldsInBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 482, - 34 - ], - [ - 493, - 1 - ] - ], - "doc": " Private: Returns the folds in the given row range (exclusive of end row) that are\nnot contained by any other folds. " - } - }, - "493": { - "28": { - "name": "foldsContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 493, - 28 - ], - [ - 502, - 1 - ] - ], - "doc": " Public: Given a buffer row, this returns folds that include it.\n\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " - } - }, - "502": { - "25": { - "name": "screenRowForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 502, - 25 - ], - [ - 505, - 1 - ] - ], - "doc": " Private: Given a buffer row, this converts it into a screen row.\n\nbufferRow - A {Number} representing a buffer row\n\nReturns a {Number}. " - } - }, - "505": { - "29": { - "name": "lastScreenRowForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 505, - 29 - ], - [ - 513, - 1 - ] - ], - "doc": "~Private~" - } - }, - "513": { - "25": { - "name": "bufferRowForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 513, - 25 - ], - [ - 521, - 1 - ] - ], - "doc": " Private: Given a screen row, this converts it into a buffer row.\n\nscreenRow - A {Number} representing a screen row\n\nReturns a {Number}. " - } - }, - "521": { - "29": { - "name": "screenRangeForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 521, - 29 - ], - [ - 532, - 1 - ] - ], - "doc": " Private: Given a buffer range, this converts it into a screen position.\n\nbufferRange - The {Range} to convert\n\nReturns a {Range}. " - } - }, - "532": { - "29": { - "name": "bufferRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 532, - 29 - ], - [ - 538, - 1 - ] - ], - "doc": " Private: Given a screen range, this converts it into a buffer position.\n\nscreenRange - The {Range} to convert\n\nReturns a {Range}. " - } - }, - "538": { - "28": { - "name": "pixelRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "clip" - ], - "range": [ - [ - 538, - 28 - ], - [ - 542, - 1 - ] - ], - "doc": "~Private~" - } - }, - "542": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "clip" - ], - "range": [ - [ - 542, - 34 - ], - [ - 561, - 1 - ] - ], - "doc": "~Private~" - } - }, - "561": { - "34": { - "name": "screenPositionForPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 561, - 34 - ], - [ - 581, - 1 - ] - ], - "doc": "~Private~" - } - }, - "581": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 581, - 34 - ], - [ - 587, - 1 - ] - ], - "doc": "~Private~" - } - }, - "587": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 587, - 16 - ], - [ - 593, - 1 - ] - ], - "doc": " Private: Gets the number of screen lines.\n\nReturns a {Number}. " - } - }, - "593": { - "14": { - "name": "getLastRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 593, - 14 - ], - [ - 599, - 1 - ] - ], - "doc": " Private: Gets the number of the last screen line.\n\nReturns a {Number}. " - } - }, - "599": { - "20": { - "name": "getMaxLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 599, - 20 - ], - [ - 605, - 1 - ] - ], - "doc": " Private: Gets the length of the longest screen line.\n\nReturns a {Number}. " - } - }, - "605": { - "23": { - "name": "getLongestScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 605, - 23 - ], - [ - 617, - 1 - ] - ], - "doc": " Private: Gets the row number of the longest screen line.\n\nReturn a {} " - } - }, - "617": { - "35": { - "name": "screenPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 617, - 35 - ], - [ - 651, - 1 - ] - ], - "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " - } - }, - "651": { - "35": { - "name": "bufferPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 651, - 35 - ], - [ - 661, - 1 - ] - ], - "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " - } - }, - "661": { - "27": { - "name": "scopesForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 661, - 27 - ], - [ - 664, - 1 - ] - ], - "doc": " Private: Retrieves the grammar's token scopes for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}\n\nReturns an {Array} of {String}s. " - } - }, - "664": { - "33": { - "name": "bufferRangeForScopeAtPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "position" - ], - "range": [ - [ - 664, - 33 - ], - [ - 672, - 1 - ] - ], - "doc": "~Private~" - } - }, - "672": { - "26": { - "name": "tokenForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 672, - 26 - ], - [ - 678, - 1 - ] - ], - "doc": " Private: Retrieves the grammar's token for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}.\n\nReturns a {Token}. " - } - }, - "678": { - "14": { - "name": "getGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 678, - 14 - ], - [ - 684, - 1 - ] - ], - "doc": " Private: Get the grammar for this buffer.\n\nReturns the current {Grammar} or the {NullGrammar}. " - } - }, - "684": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 684, - 14 - ], - [ - 688, - 1 - ] - ], - "doc": " Private: Sets the grammar for the buffer.\n\ngrammar - Sets the new grammar rules " - } - }, - "688": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 688, - 17 - ], - [ - 704, - 1 - ] - ], - "doc": "Private: Reloads the current grammar. " - } - }, - "704": { - "22": { - "name": "clipScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 704, - 22 - ], - [ - 740, - 1 - ] - ], - "doc": " Private: Given a position, this clips it to a real position.\n\nFor example, if `position`'s row exceeds the row count of the buffer,\nor if its column goes beyond a line's length, this \"sanitizes\" the value\nto a real position.\n\nposition - The {Point} to clip\noptions - A hash with the following values:\n wrapBeyondNewlines: if `true`, continues wrapping past newlines\n wrapAtSoftNewlines: if `true`, continues wrapping past soft newlines\n screenLine: if `true`, indicates that you're using a line number, not a row number\n\nReturns the new, clipped {Point}. Note that this could be the same as `position` if no clipping was performed. " - } - }, - "740": { - "18": { - "name": "findWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line", - "softWrapColumn" - ], - "range": [ - [ - 740, - 18 - ], - [ - 758, - 1 - ] - ], - "doc": " Private: Given a line, finds the point where it would wrap.\n\nline - The {String} to check\nsoftWrapColumn - The {Number} where you want soft wrapping to occur\n\nReturns a {Number} representing the `line` position where the wrap would take place.\nReturns `null` if a wrap wouldn't occur. " - } - }, - "758": { - "20": { - "name": "rangeForAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 758, - 20 - ], - [ - 761, - 1 - ] - ], - "doc": " Private: Calculates a {Range} representing the start of the {TextBuffer} until the end.\n\nReturns a {Range}. " - } - }, - "761": { - "19": { - "name": "decorationForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 761, - 19 - ], - [ - 764, - 1 - ] - ], - "doc": "~Private~" - } - }, - "764": { - "32": { - "name": "decorationsForScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 764, - 32 - ], - [ - 771, - 1 - ] - ], - "doc": "~Private~" - } - }, - "771": { - "18": { - "name": "decorateMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "decorationParams" - ], - "range": [ - [ - 771, - 18 - ], - [ - 793, - 1 - ] - ], - "doc": "~Private~" - } - }, - "793": { - "20": { - "name": "removeDecoration", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decoration" - ], - "range": [ - [ - 793, - 20 - ], - [ - 804, - 1 - ] - ], - "doc": "~Private~" - } - }, - "804": { - "33": { - "name": "removeAllDecorationsForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 804, - 33 - ], - [ - 810, - 1 - ] - ], - "doc": "~Private~" - } - }, - "810": { - "31": { - "name": "removedAllMarkerDecorations", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 810, - 31 - ], - [ - 818, - 1 - ] - ], - "doc": "~Private~" - } - }, - "818": { - "21": { - "name": "decorationUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decoration" - ], - "range": [ - [ - 818, - 21 - ], - [ - 826, - 1 - ] - ], - "doc": "~Private~" - } - }, - "826": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 826, - 13 - ], - [ - 836, - 1 - ] - ], - "doc": " Private: Retrieves a {DisplayBufferMarker} based on its id.\n\nid - A {Number} representing a marker id\n\nReturns the {DisplayBufferMarker} (if it exists). " - } - }, - "836": { - "14": { - "name": "getMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 836, - 14 - ], - [ - 839, - 1 - ] - ], - "doc": " Private: Retrieves the active markers in the buffer.\n\nReturns an {Array} of existing {DisplayBufferMarker}s. " - } - }, - "839": { - "18": { - "name": "getMarkerCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 839, - 18 - ], - [ - 848, - 1 - ] - ], - "doc": "~Private~" - } - }, - "848": { - "19": { - "name": "markScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 848, - 19 - ], - [ - 858, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given screen range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "858": { - "19": { - "name": "markBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range", - "options" - ], - "range": [ - [ - 858, - 19 - ], - [ - 867, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given buffer range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "867": { - "22": { - "name": "markScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 867, - 22 - ], - [ - 876, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given screen position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "876": { - "22": { - "name": "markBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 876, - 22 - ], - [ - 882, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given buffer position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "882": { - "17": { - "name": "destroyMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 882, - 17 - ], - [ - 891, - 1 - ] - ], - "doc": " Public: Removes the marker with the given id.\n\nid - The {Number} of the ID to remove " - } - }, - "891": { - "14": { - "name": "findMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 891, - 14 - ], - [ - 912, - 1 - ] - ], - "doc": " Private: Finds the first marker satisfying the given attributes\n\nRefer to {DisplayBuffer::findMarkers} for details.\n\nReturns a {DisplayBufferMarker} or null " - } - }, - "912": { - "15": { - "name": "findMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 912, - 15 - ], - [ - 916, - 1 - ] - ], - "doc": " Public: Find all markers satisfying a set of parameters.\n\nparams - An {Object} containing parameters that all returned markers must\n satisfy. Unreserved keys will be compared against the markers' custom\n properties. There are also the following reserved keys with special\n meaning for the query:\n :startBufferRow - A {Number}. Only returns markers starting at this row in\n buffer coordinates.\n :endBufferRow - A {Number}. Only returns markers ending at this row in\n buffer coordinates.\n :containsBufferRange - A {Range} or range-compatible {Array}. Only returns\n markers containing this range in buffer coordinates.\n :containsBufferPosition - A {Point} or point-compatible {Array}. Only\n returns markers containing this position in buffer coordinates.\n :containedInBufferRange - A {Range} or range-compatible {Array}. Only\n returns markers contained within this range.\n\nReturns an {Array} of {DisplayBufferMarker}s " - } - }, - "916": { - "33": { - "name": "translateToBufferMarkerParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 916, - 33 - ], - [ - 954, - 1 - ] - ], - "doc": "~Private~" - } - }, - "954": { - "18": { - "name": "findFoldMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 954, - 18 - ], - [ - 957, - 1 - ] - ], - "doc": "~Private~" - } - }, - "957": { - "19": { - "name": "findFoldMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 957, - 19 - ], - [ - 960, - 1 - ] - ], - "doc": "~Private~" - } - }, - "960": { - "27": { - "name": "getFoldMarkerAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 960, - 27 - ], - [ - 963, - 1 - ] - ], - "doc": "~Private~" - } - }, - "963": { - "24": { - "name": "pauseMarkerObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 963, - 24 - ], - [ - 966, - 1 - ] - ], - "doc": "~Private~" - } - }, - "966": { - "25": { - "name": "resumeMarkerObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 966, - 25 - ], - [ - 970, - 1 - ] - ], - "doc": "~Private~" - } - }, - "970": { - "32": { - "name": "refreshMarkerScreenPositions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 970, - 32 - ], - [ - 974, - 1 - ] - ], - "doc": "~Private~" - } - }, - "974": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 974, - 13 - ], - [ - 979, - 1 - ] - ], - "doc": "~Private~" - } - }, - "979": { - "12": { - "name": "logLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 979, - 12 - ], - [ - 984, - 1 - ] - ], - "doc": "~Private~" - } - }, - "984": { - "31": { - "name": "handleTokenizedBufferChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tokenizedBufferChange" - ], - "range": [ - [ - 984, - 31 - ], - [ - 989, - 1 - ] - ], - "doc": "~Private~" - } - }, - "989": { - "21": { - "name": "updateScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "endBufferRow", - "bufferDelta", - "options" - ], - "range": [ - [ - 989, - 21 - ], - [ - 1015, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1015": { - "20": { - "name": "buildScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "endBufferRow" - ], - "range": [ - [ - 1015, - 20 - ], - [ - 1061, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1061": { - "21": { - "name": "findMaxLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow", - "newScreenLines", - "screenDelta" - ], - "range": [ - [ - 1061, - 21 - ], - [ - 1083, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1083": { - "22": { - "name": "computeScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1083, - 22 - ], - [ - 1088, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1088": { - "30": { - "name": "handleBufferMarkersUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1088, - 30 - ], - [ - 1093, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1093": { - "29": { - "name": "handleBufferMarkerCreated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1093, - 29 - ], - [ - 1097, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1097": { - "23": { - "name": "createFoldForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1097, - 23 - ], - [ - 1101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1101": { - "17": { - "name": "foldForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1101, - 17 - ], - [ - 1102, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 19 - }, - "src/editor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "10": { - "type": "import", - "range": [ - [ - 0, - 10 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$$", - "exportsProperty": "$$$" - } - }, - "1": { - "13": { - "name": "GutterView", - "type": "import", - "range": [ - [ - 1, - 13 - ], - [ - 1, - 35 - ] - ], - "bindingType": "variable", - "path": "./gutter-view" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "3": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 3, - 9 - ], - [ - 3, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "4": { - "13": { - "name": "CursorView", - "type": "import", - "range": [ - [ - 4, - 13 - ], - [ - 4, - 35 - ] - ], - "bindingType": "variable", - "path": "./cursor-view" - } - }, - "5": { - "16": { - "name": "SelectionView", - "type": "import", - "range": [ - [ - 5, - 16 - ], - [ - 5, - 41 - ] - ], - "bindingType": "variable", - "path": "./selection-view" - } - }, - "6": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 6, - 5 - ], - [ - 6, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@2.x" - } - }, - "7": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "8": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 8, - 13 - ], - [ - 8, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer" - } - }, - "10": { - "15": { - "name": "MeasureRange", - "type": "function", - "range": [ - [ - 10, - 15 - ], - [ - 10, - 36 - ] - ] - } - }, - "11": { - "17": { - "type": "primitive", - "range": [ - [ - 11, - 17 - ], - [ - 11, - 59 - ] - ] - }, - "31": { - "name": "acceptNode", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 11, - 31 - ], - [ - 11, - 57 - ] - ], - "doc": null - } - }, - "12": { - "10": { - "type": "primitive", - "range": [ - [ - 12, - 10 - ], - [ - 12, - 21 - ] - ] - } - }, - "13": { - "17": { - "name": "1000", - "type": "primitive", - "range": [ - [ - 13, - 17 - ], - [ - 13, - 20 - ] - ] - } - }, - "41": { - "0": { - "type": "class", - "name": "EditorView", - "bindingType": "exports", - "classProperties": [ - [ - 42, - 24 - ], - [ - 44, - 4 - ], - [ - 61, - 17 - ], - [ - 63, - 12 - ], - [ - 76, - 12 - ], - [ - 1271, - 21 - ], - [ - 1485, - 18 - ], - [ - 1513, - 21 - ], - [ - 1529, - 14 - ], - [ - 1533, - 13 - ], - [ - 1537, - 23 - ] - ], - "prototypeProperties": [ - [ - 81, - 17 - ], - [ - 82, - 17 - ], - [ - 83, - 14 - ], - [ - 84, - 13 - ], - [ - 85, - 14 - ], - [ - 86, - 15 - ], - [ - 87, - 18 - ], - [ - 88, - 13 - ], - [ - 89, - 13 - ], - [ - 90, - 10 - ], - [ - 91, - 12 - ], - [ - 92, - 16 - ], - [ - 93, - 18 - ], - [ - 94, - 14 - ], - [ - 95, - 17 - ], - [ - 96, - 20 - ], - [ - 97, - 24 - ], - [ - 106, - 14 - ], - [ - 141, - 12 - ], - [ - 251, - 13 - ], - [ - 255, - 11 - ], - [ - 259, - 11 - ], - [ - 263, - 14 - ], - [ - 266, - 20 - ], - [ - 271, - 19 - ], - [ - 277, - 12 - ], - [ - 284, - 10 - ], - [ - 292, - 15 - ], - [ - 298, - 21 - ], - [ - 310, - 17 - ], - [ - 322, - 22 - ], - [ - 332, - 22 - ], - [ - 337, - 22 - ], - [ - 341, - 16 - ], - [ - 345, - 13 - ], - [ - 354, - 16 - ], - [ - 436, - 21 - ], - [ - 476, - 28 - ], - [ - 479, - 33 - ], - [ - 505, - 15 - ], - [ - 538, - 8 - ], - [ - 586, - 12 - ], - [ - 589, - 12 - ], - [ - 592, - 27 - ], - [ - 600, - 13 - ], - [ - 618, - 16 - ], - [ - 624, - 14 - ], - [ - 631, - 15 - ], - [ - 639, - 18 - ], - [ - 646, - 26 - ], - [ - 654, - 26 - ], - [ - 662, - 26 - ], - [ - 673, - 25 - ], - [ - 684, - 39 - ], - [ - 696, - 31 - ], - [ - 702, - 18 - ], - [ - 706, - 18 - ], - [ - 710, - 25 - ], - [ - 713, - 26 - ], - [ - 716, - 21 - ], - [ - 723, - 15 - ], - [ - 733, - 15 - ], - [ - 746, - 15 - ], - [ - 752, - 17 - ], - [ - 762, - 17 - ], - [ - 770, - 17 - ], - [ - 776, - 10 - ], - [ - 786, - 13 - ], - [ - 791, - 14 - ], - [ - 796, - 11 - ], - [ - 801, - 13 - ], - [ - 808, - 11 - ], - [ - 811, - 10 - ], - [ - 816, - 16 - ], - [ - 823, - 17 - ], - [ - 827, - 18 - ], - [ - 830, - 17 - ], - [ - 836, - 20 - ], - [ - 839, - 20 - ], - [ - 843, - 21 - ], - [ - 846, - 20 - ], - [ - 852, - 23 - ], - [ - 855, - 36 - ], - [ - 859, - 21 - ], - [ - 863, - 20 - ], - [ - 884, - 22 - ], - [ - 900, - 23 - ], - [ - 912, - 25 - ], - [ - 924, - 25 - ], - [ - 943, - 12 - ], - [ - 950, - 22 - ], - [ - 955, - 16 - ], - [ - 970, - 24 - ], - [ - 978, - 17 - ], - [ - 994, - 21 - ], - [ - 1006, - 22 - ], - [ - 1012, - 24 - ], - [ - 1023, - 25 - ], - [ - 1031, - 24 - ], - [ - 1034, - 14 - ], - [ - 1046, - 25 - ], - [ - 1057, - 23 - ], - [ - 1084, - 38 - ], - [ - 1102, - 23 - ], - [ - 1144, - 24 - ], - [ - 1158, - 20 - ], - [ - 1173, - 13 - ], - [ - 1178, - 19 - ], - [ - 1201, - 32 - ], - [ - 1214, - 28 - ], - [ - 1223, - 27 - ], - [ - 1234, - 22 - ], - [ - 1237, - 27 - ], - [ - 1241, - 32 - ], - [ - 1244, - 34 - ], - [ - 1249, - 21 - ], - [ - 1256, - 21 - ], - [ - 1298, - 32 - ], - [ - 1304, - 26 - ], - [ - 1313, - 27 - ], - [ - 1316, - 33 - ], - [ - 1325, - 34 - ], - [ - 1334, - 34 - ], - [ - 1348, - 32 - ], - [ - 1371, - 19 - ], - [ - 1416, - 26 - ], - [ - 1424, - 26 - ], - [ - 1432, - 28 - ], - [ - 1435, - 32 - ], - [ - 1440, - 32 - ], - [ - 1470, - 23 - ], - [ - 1481, - 23 - ], - [ - 1563, - 23 - ], - [ - 1573, - 25 - ], - [ - 1575, - 18 - ], - [ - 1578, - 18 - ], - [ - 1581, - 20 - ] - ], - "doc": " Public: Represents the entire visual pane in Atom.\n\nThe EditorView manages the {Editor}, which manages the file buffers.\n\n## Requiring in packages\n\n```coffee\n{EditorView} = require 'atom'\n\nminiEditorView = new EditorView(mini: true)\n```\n\n## Iterating over the open editor views\n\n```coffee\nfor editorView in atom.workspaceView.getEditorViews()\n console.log(editorView.getEditor().getPath())\n```\n\n## Subscribing to every current and future editor\n\n```coffee\natom.workspace.eachEditorView (editorView) ->\n console.log(editorView.getEditor().getPath())\n``` ", - "range": [ - [ - 41, - 0 - ], - [ - 1583, - 35 - ] - ] - } - }, - "42": { - "24": { - "name": "characterWidthCache", - "type": "primitive", - "range": [ - [ - 42, - 24 - ], - [ - 42, - 25 - ] - ], - "bindingType": "classProperty" - } - }, - "44": { - "4": { - "name": "configDefaults", - "type": "primitive", - "range": [ - [ - 44, - 4 - ], - [ - 59, - 32 - ] - ], - "bindingType": "classProperty" - } - }, - "61": { - "17": { - "name": "nextEditorId", - "type": "primitive", - "range": [ - [ - 61, - 17 - ], - [ - 61, - 17 - ] - ], - "bindingType": "classProperty" - } - }, - "63": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 63, - 12 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "12": { - "name": "classes", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 76, - 12 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "17": { - "name": "vScrollMargin", - "type": "primitive", - "range": [ - [ - 81, - 17 - ], - [ - 81, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "82": { - "17": { - "name": "hScrollMargin", - "type": "primitive", - "range": [ - [ - 82, - 17 - ], - [ - 82, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "83": { - "14": { - "name": "lineHeight", - "type": "primitive", - "range": [ - [ - 83, - 14 - ], - [ - 83, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "84": { - "13": { - "name": "charWidth", - "type": "primitive", - "range": [ - [ - 84, - 13 - ], - [ - 84, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "85": { - "14": { - "name": "charHeight", - "type": "primitive", - "range": [ - [ - 85, - 14 - ], - [ - 85, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "86": { - "15": { - "name": "cursorViews", - "type": "primitive", - "range": [ - [ - 86, - 15 - ], - [ - 86, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "87": { - "18": { - "name": "selectionViews", - "type": "primitive", - "range": [ - [ - 87, - 18 - ], - [ - 87, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "88": { - "13": { - "name": "lineCache", - "type": "primitive", - "range": [ - [ - 88, - 13 - ], - [ - 88, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "89": { - "13": { - "name": "isFocused", - "type": "primitive", - "range": [ - [ - 89, - 13 - ], - [ - 89, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "90": { - "10": { - "name": "editor", - "type": "primitive", - "range": [ - [ - 90, - 10 - ], - [ - 90, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "91": { - "12": { - "name": "attached", - "type": "primitive", - "range": [ - [ - 91, - 12 - ], - [ - 91, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "92": { - "16": { - "name": "lineOverdraw", - "type": "primitive", - "range": [ - [ - 92, - 16 - ], - [ - 92, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "93": { - "18": { - "name": "pendingChanges", - "type": "primitive", - "range": [ - [ - 93, - 18 - ], - [ - 93, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "94": { - "14": { - "name": "newCursors", - "type": "primitive", - "range": [ - [ - 94, - 14 - ], - [ - 94, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "95": { - "17": { - "name": "newSelections", - "type": "primitive", - "range": [ - [ - 95, - 17 - ], - [ - 95, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "96": { - "20": { - "name": "redrawOnReattach", - "type": "primitive", - "range": [ - [ - 96, - 20 - ], - [ - 96, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "97": { - "24": { - "name": "bottomPaddingInLines", - "type": "primitive", - "range": [ - [ - 97, - 24 - ], - [ - 97, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "106": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorOrOptions" - ], - "range": [ - [ - 106, - 14 - ], - [ - 141, - 1 - ] - ], - "doc": " Private: The constructor for setting up an `EditorView` instance.\n\neditorOrOptions - Either an {Editor}, or an object with one property, `mini`.\n If `mini` is `true`, a \"miniature\" `Editor` is constructed.\n Typically, this is ideal for scenarios where you need an Atom editor,\n but without all the chrome, like scrollbars, gutter, _e.t.c._.\n\n " - } - }, - "141": { - "12": { - "name": "bindKeys", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 12 - ], - [ - 251, - 1 - ] - ], - "doc": " Private: Sets up the core Atom commands.\n\nSome commands are excluded from mini-editors. " - } - }, - "251": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 251, - 13 - ], - [ - 255, - 1 - ] - ], - "doc": " Public: Get the underlying editor model for this view.\n\nReturns an {Editor}. " - } - }, - "255": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 255, - 11 - ], - [ - 259, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.getText} " - } - }, - "259": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 259, - 11 - ], - [ - 263, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.setText} " - } - }, - "263": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 263, - 14 - ], - [ - 266, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.insertText} " - } - }, - "266": { - "20": { - "name": "setHeightInLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "heightInLines" - ], - "range": [ - [ - 266, - 20 - ], - [ - 271, - 1 - ] - ], - "doc": "~Private~" - } - }, - "271": { - "19": { - "name": "setWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "widthInChars" - ], - "range": [ - [ - 271, - 19 - ], - [ - 277, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.setEditorWidthInChars} " - } - }, - "277": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 277, - 12 - ], - [ - 284, - 1 - ] - ], - "doc": " Public: Emulates the \"page down\" key, where the last row of a buffer scrolls\nto become the first. " - } - }, - "284": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 10 - ], - [ - 292, - 1 - ] - ], - "doc": " Public: Emulates the \"page up\" key, where the frst row of a buffer scrolls\nto become the last. " - } - }, - "292": { - "15": { - "name": "getPageRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 15 - ], - [ - 298, - 1 - ] - ], - "doc": " Private: Gets the number of actual page rows existing in an editor.\n\nReturns a {Number}. " - } - }, - "298": { - "21": { - "name": "setShowInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showInvisibles" - ], - "range": [ - [ - 298, - 21 - ], - [ - 310, - 1 - ] - ], - "doc": " Public: Set whether invisible characters are shown.\n\nshowInvisibles - A {Boolean} which, if `true`, show invisible characters. " - } - }, - "310": { - "17": { - "name": "setInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 310, - 17 - ], - [ - 322, - 1 - ] - ], - "doc": " Public: Defines which characters are invisible.\n\ninvisibles - An {Object} defining the invisible characters:\n :eol - The end of line invisible {String} (default: `\\u00ac`).\n :space - The space invisible {String} (default: `\\u00b7`).\n :tab - The tab invisible {String} (default: `\\u00bb`).\n :cr - The carriage return invisible {String} (default: `\\u00a4`). " - } - }, - "322": { - "22": { - "name": "setShowIndentGuide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showIndentGuide" - ], - "range": [ - [ - 322, - 22 - ], - [ - 332, - 1 - ] - ], - "doc": " Public: Sets whether you want to show the indentation guides.\n\nshowIndentGuide - A {Boolean} you can set to `true` if you want to see the\n indentation guides. " - } - }, - "332": { - "22": { - "name": "setPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "placeholderText" - ], - "range": [ - [ - 332, - 22 - ], - [ - 337, - 1 - ] - ], - "doc": " Public: Set the text to appear in the editor when it is empty.\n\nThis only affects mini editors.\n\nplaceholderText - A {String} of text to display when empty. " - } - }, - "337": { - "22": { - "name": "getPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 337, - 22 - ], - [ - 341, - 1 - ] - ], - "doc": "~Private~" - } - }, - "341": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 341, - 16 - ], - [ - 345, - 1 - ] - ], - "doc": "Private: Checkout the HEAD revision of this editor's file. " - } - }, - "345": { - "13": { - "name": "configure", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 345, - 13 - ], - [ - 354, - 1 - ] - ], - "doc": "~Private~" - } - }, - "354": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 354, - 16 - ], - [ - 436, - 1 - ] - ], - "doc": "~Private~" - } - }, - "436": { - "21": { - "name": "handleInputEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 436, - 21 - ], - [ - 476, - 1 - ] - ], - "doc": "~Private~" - } - }, - "476": { - "28": { - "name": "bringHiddenInputIntoView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 476, - 28 - ], - [ - 479, - 1 - ] - ], - "doc": "~Private~" - } - }, - "479": { - "33": { - "name": "selectOnMousemoveUntilMouseup", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 479, - 33 - ], - [ - 505, - 1 - ] - ], - "doc": "~Private~" - } - }, - "505": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 505, - 15 - ], - [ - 538, - 1 - ] - ], - "doc": "~Private~" - } - }, - "538": { - "8": { - "name": "edit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 538, - 8 - ], - [ - 586, - 1 - ] - ], - "doc": "~Private~" - } - }, - "586": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 586, - 12 - ], - [ - 589, - 1 - ] - ], - "doc": "~Private~" - } - }, - "589": { - "12": { - "name": "setModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 589, - 12 - ], - [ - 592, - 1 - ] - ], - "doc": "~Private~" - } - }, - "592": { - "27": { - "name": "showBufferConflictAlert", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 592, - 27 - ], - [ - 600, - 1 - ] - ], - "doc": "~Private~" - } - }, - "600": { - "13": { - "name": "scrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop", - "options" - ], - "range": [ - [ - 600, - 13 - ], - [ - 618, - 1 - ] - ], - "doc": "~Private~" - } - }, - "618": { - "16": { - "name": "scrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 618, - 16 - ], - [ - 624, - 1 - ] - ], - "doc": "~Private~" - } - }, - "624": { - "14": { - "name": "scrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 624, - 14 - ], - [ - 631, - 1 - ] - ], - "doc": "~Private~" - } - }, - "631": { - "15": { - "name": "scrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 631, - 15 - ], - [ - 639, - 1 - ] - ], - "doc": "~Private~" - } - }, - "639": { - "18": { - "name": "scrollToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 639, - 18 - ], - [ - 646, - 1 - ] - ], - "doc": "Public: Scrolls the editor to the bottom. " - } - }, - "646": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 646, - 26 - ], - [ - 654, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the position of the most recently added\ncursor if it isn't current on screen.\n\nThe editor is centered around the cursor's position if possible. " - } - }, - "654": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 654, - 26 - ], - [ - 662, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given buffer position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " - } - }, - "662": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 662, - 26 - ], - [ - 673, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " - } - }, - "673": { - "25": { - "name": "scrollToPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition", - "options" - ], - "range": [ - [ - 673, - 25 - ], - [ - 684, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given pixel position.\n\npixelPosition - An object that represents a pixel position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or\n {Point}.\noptions - A hash with the following keys:\n :center - if `true`, the position is scrolled such that it's in\n the center of the editor " - } - }, - "684": { - "39": { - "name": "highlightFoldsContainingBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 684, - 39 - ], - [ - 696, - 1 - ] - ], - "doc": " Public: Highlight all the folds within the given buffer range.\n\n\"Highlighting\" essentially just adds the `fold-selected` class to the line's\nDOM element.\n\nbufferRange - The {Range} to check. " - } - }, - "696": { - "31": { - "name": "saveScrollPositionForEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 696, - 31 - ], - [ - 702, - 1 - ] - ], - "doc": "~Private~" - } - }, - "702": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 702, - 18 - ], - [ - 706, - 1 - ] - ], - "doc": "Public: Toggle soft tabs on the edit session. " - } - }, - "706": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 706, - 18 - ], - [ - 710, - 1 - ] - ], - "doc": "Public: Toggle soft wrap on the edit session. " - } - }, - "710": { - "25": { - "name": "calculateWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 710, - 25 - ], - [ - 713, - 1 - ] - ], - "doc": "~Private~" - } - }, - "713": { - "26": { - "name": "calculateHeightInLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 713, - 26 - ], - [ - 716, - 1 - ] - ], - "doc": "~Private~" - } - }, - "716": { - "21": { - "name": "getScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 716, - 21 - ], - [ - 723, - 1 - ] - ], - "doc": "~Private~" - } - }, - "723": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 723, - 15 - ], - [ - 733, - 1 - ] - ], - "doc": " Public: Enables/disables soft wrap on the editor.\n\nsoftWrap - A {Boolean} which, if `true`, enables soft wrap " - } - }, - "733": { - "15": { - "name": "setFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 733, - 15 - ], - [ - 746, - 1 - ] - ], - "doc": " Public: Sets the font size for the editor.\n\nfontSize - A {Number} indicating the font size in pixels. " - } - }, - "746": { - "15": { - "name": "getFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 746, - 15 - ], - [ - 752, - 1 - ] - ], - "doc": " Public: Retrieves the font size for the editor.\n\nReturns a {Number} indicating the font size in pixels. " - } - }, - "752": { - "17": { - "name": "setFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 752, - 17 - ], - [ - 762, - 1 - ] - ], - "doc": " Public: Sets the font family for the editor.\n\nfontFamily - A {String} identifying the CSS `font-family`. " - } - }, - "762": { - "17": { - "name": "getFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 762, - 17 - ], - [ - 762, - 38 - ] - ], - "doc": " Public: Gets the font family for the editor.\n\nReturns a {String} identifying the CSS `font-family`. " - } - }, - "770": { - "17": { - "name": "setLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 770, - 17 - ], - [ - 776, - 1 - ] - ], - "doc": " Public: Sets the line height of the editor.\n\nCalling this method has no effect when called on a mini editor.\n\nlineHeight - A {Number} without a unit suffix identifying the CSS\n`line-height`. " - } - }, - "776": { - "10": { - "name": "redraw", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 776, - 10 - ], - [ - 786, - 1 - ] - ], - "doc": "Public: Redraw the editor " - } - }, - "786": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 786, - 13 - ], - [ - 791, - 1 - ] - ], - "doc": "Public: Split the editor view left. " - } - }, - "791": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 791, - 14 - ], - [ - 796, - 1 - ] - ], - "doc": "Public: Split the editor view right. " - } - }, - "796": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 796, - 11 - ], - [ - 801, - 1 - ] - ], - "doc": "Public: Split the editor view up. " - } - }, - "801": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 801, - 13 - ], - [ - 808, - 1 - ] - ], - "doc": "Public: Split the editor view down. " - } - }, - "808": { - "11": { - "name": "getPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 808, - 11 - ], - [ - 811, - 1 - ] - ], - "doc": " Public: Get this view's pane.\n\nReturns a {Pane}. " - } - }, - "811": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "keepData" - ], - "range": [ - [ - 811, - 10 - ], - [ - 816, - 1 - ] - ], - "doc": "~Private~" - } - }, - "816": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 816, - 16 - ], - [ - 823, - 1 - ] - ], - "doc": "~Private~" - } - }, - "823": { - "17": { - "name": "getCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 823, - 17 - ], - [ - 827, - 1 - ] - ], - "doc": "~Private~" - } - }, - "827": { - "18": { - "name": "getCursorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 827, - 18 - ], - [ - 830, - 1 - ] - ], - "doc": "~Private~" - } - }, - "830": { - "17": { - "name": "addCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursor", - "options" - ], - "range": [ - [ - 830, - 17 - ], - [ - 836, - 1 - ] - ], - "doc": "~Private~" - } - }, - "836": { - "20": { - "name": "removeCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 836, - 20 - ], - [ - 839, - 1 - ] - ], - "doc": "~Private~" - } - }, - "839": { - "20": { - "name": "getSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 839, - 20 - ], - [ - 843, - 1 - ] - ], - "doc": "~Private~" - } - }, - "843": { - "21": { - "name": "getSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 843, - 21 - ], - [ - 846, - 1 - ] - ], - "doc": "~Private~" - } - }, - "846": { - "20": { - "name": "addSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 846, - 20 - ], - [ - 852, - 1 - ] - ], - "doc": "~Private~" - } - }, - "852": { - "23": { - "name": "removeSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selectionView" - ], - "range": [ - [ - 852, - 23 - ], - [ - 855, - 1 - ] - ], - "doc": "~Private~" - } - }, - "855": { - "36": { - "name": "removeAllCursorAndSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 855, - 36 - ], - [ - 859, - 1 - ] - ], - "doc": "~Private~" - } - }, - "859": { - "21": { - "name": "appendToLinesView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 859, - 21 - ], - [ - 863, - 1 - ] - ], - "doc": "~Private~" - } - }, - "863": { - "20": { - "name": "scrollVertically", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition", - null - ], - "range": [ - [ - 863, - 20 - ], - [ - 884, - 1 - ] - ], - "doc": "Private: Scrolls the editor vertically to a given position. " - } - }, - "884": { - "22": { - "name": "scrollHorizontally", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 884, - 22 - ], - [ - 900, - 1 - ] - ], - "doc": "Private: Scrolls the editor horizontally to a given position. " - } - }, - "900": { - "23": { - "name": "calculateDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 900, - 23 - ], - [ - 912, - 1 - ] - ], - "doc": "~Private~" - } - }, - "912": { - "25": { - "name": "recalculateDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 912, - 25 - ], - [ - 924, - 1 - ] - ], - "doc": "~Private~" - } - }, - "924": { - "25": { - "name": "updateLayerDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollViewWidth" - ], - "range": [ - [ - 924, - 25 - ], - [ - 943, - 1 - ] - ], - "doc": "~Private~" - } - }, - "943": { - "12": { - "name": "isHidden", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 943, - 12 - ], - [ - 950, - 1 - ] - ], - "doc": "Private: Override for speed. The base function checks computedStyle, unnecessary here. " - } - }, - "950": { - "22": { - "name": "clearRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 950, - 22 - ], - [ - 955, - 1 - ] - ], - "doc": "~Private~" - } - }, - "955": { - "16": { - "name": "resetDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 955, - 16 - ], - [ - 970, - 1 - ] - ], - "doc": "~Private~" - } - }, - "970": { - "24": { - "name": "requestDisplayUpdate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 970, - 24 - ], - [ - 978, - 1 - ] - ], - "doc": "~Private~" - } - }, - "978": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 978, - 17 - ], - [ - 994, - 1 - ] - ], - "doc": "~Private~" - } - }, - "994": { - "21": { - "name": "updateCursorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 994, - 21 - ], - [ - 1006, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1006": { - "22": { - "name": "shouldUpdateCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 1006, - 22 - ], - [ - 1012, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1012": { - "24": { - "name": "updateSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1012, - 24 - ], - [ - 1023, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1023": { - "25": { - "name": "shouldUpdateSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selectionView" - ], - "range": [ - [ - 1023, - 25 - ], - [ - 1031, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1031": { - "24": { - "name": "syncCursorAnimations", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1031, - 24 - ], - [ - 1034, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1034": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "suppressAutoscroll" - ], - "range": [ - [ - 1034, - 14 - ], - [ - 1046, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1046": { - "25": { - "name": "updatePlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1046, - 25 - ], - [ - 1057, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1057": { - "23": { - "name": "updateRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollViewWidth" - ], - "range": [ - [ - 1057, - 23 - ], - [ - 1084, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1084": { - "38": { - "name": "computeSurroundingEmptyLineChanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "change" - ], - "range": [ - [ - 1084, - 38 - ], - [ - 1102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1102": { - "23": { - "name": "computeIntactRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1102, - 23 - ], - [ - 1144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1144": { - "24": { - "name": "truncateIntactRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges", - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1144, - 24 - ], - [ - 1158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1158": { - "20": { - "name": "clearDirtyRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges" - ], - "range": [ - [ - 1158, - 20 - ], - [ - 1173, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1173": { - "13": { - "name": "clearLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement" - ], - "range": [ - [ - 1173, - 13 - ], - [ - 1178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1178": { - "19": { - "name": "fillDirtyRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges", - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1178, - 19 - ], - [ - 1201, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1201": { - "32": { - "name": "updatePaddingOfRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1201, - 32 - ], - [ - 1214, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1214": { - "28": { - "name": "getFirstVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1214, - 28 - ], - [ - 1223, - 1 - ] - ], - "doc": " Public: Retrieves the number of the row that is visible and currently at the\ntop of the editor.\n\nReturns a {Number}. " - } - }, - "1223": { - "27": { - "name": "getLastVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1223, - 27 - ], - [ - 1234, - 1 - ] - ], - "doc": " Public: Retrieves the number of the row that is visible and currently at the\nbottom of the editor.\n\nReturns a {Number}. " - } - }, - "1234": { - "22": { - "name": "isScreenRowVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 1234, - 22 - ], - [ - 1237, - 1 - ] - ], - "doc": " Public: Given a row number, identifies if it is currently visible.\n\nrow - A row {Number} to check\n\nReturns a {Boolean}. " - } - }, - "1237": { - "27": { - "name": "handleScreenLinesChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "change" - ], - "range": [ - [ - 1237, - 27 - ], - [ - 1241, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1241": { - "32": { - "name": "buildLineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 1241, - 32 - ], - [ - 1244, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1244": { - "34": { - "name": "buildLineElementsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1244, - 34 - ], - [ - 1249, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1249": { - "21": { - "name": "htmlForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1249, - 21 - ], - [ - 1256, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1256": { - "21": { - "name": "htmlForScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine", - "screenRow" - ], - "range": [ - [ - 1256, - 21 - ], - [ - 1271, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1271": { - "21": { - "name": "buildIndentation", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "screenRow", - "editor" - ], - "range": [ - [ - 1271, - 21 - ], - [ - 1298, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1298": { - "32": { - "name": "buildHtmlEndOfLineInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine" - ], - "range": [ - [ - 1298, - 32 - ], - [ - 1304, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1304": { - "26": { - "name": "getEndOfLineInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine" - ], - "range": [ - [ - 1304, - 26 - ], - [ - 1313, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1313": { - "27": { - "name": "lineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 1313, - 27 - ], - [ - 1316, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1316": { - "33": { - "name": "toggleLineCommentsInSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1316, - 33 - ], - [ - 1325, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1325": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1325, - 34 - ], - [ - 1334, - 1 - ] - ], - "doc": " Public: Converts a buffer position to a pixel position.\n\nposition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " - } - }, - "1334": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1334, - 34 - ], - [ - 1348, - 1 - ] - ], - "doc": " Public: Converts a screen position to a pixel position.\n\nposition - An object that represents a screen position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " - } - }, - "1348": { - "32": { - "name": "positionLeftForLineAndColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement", - "screenRow", - "screenColumn" - ], - "range": [ - [ - 1348, - 32 - ], - [ - 1371, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1371": { - "19": { - "name": "measureToColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement", - "tokenizedLine", - "screenColumn" - ], - "range": [ - [ - 1371, - 19 - ], - [ - 1416, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1416": { - "26": { - "name": "getCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "char" - ], - "range": [ - [ - 1416, - 26 - ], - [ - 1424, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1424": { - "26": { - "name": "setCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "char", - "val" - ], - "range": [ - [ - 1424, - 26 - ], - [ - 1432, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1432": { - "28": { - "name": "clearCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1432, - 28 - ], - [ - 1435, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1435": { - "32": { - "name": "pixelOffsetForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1435, - 32 - ], - [ - 1440, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1440": { - "32": { - "name": "screenPositionFromMouseEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 1440, - 32 - ], - [ - 1470, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1470": { - "23": { - "name": "highlightCursorLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1470, - 23 - ], - [ - 1481, - 1 - ] - ], - "doc": "Private: Highlights the current line the cursor is on. " - } - }, - "1481": { - "23": { - "name": "copyPathToClipboard", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1481, - 23 - ], - [ - 1485, - 1 - ] - ], - "doc": "Private: Copies the current file path to the native clipboard. " - } - }, - "1485": { - "18": { - "name": "buildLineHtml", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 1485, - 18 - ], - [ - 1513, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1513": { - "21": { - "name": "updateScopeStack", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 1513, - 21 - ], - [ - 1529, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1529": { - "14": { - "name": "pushScope", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack", - "scope" - ], - "range": [ - [ - 1529, - 14 - ], - [ - 1533, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1533": { - "13": { - "name": "popScope", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack" - ], - "range": [ - [ - 1533, - 13 - ], - [ - 1537, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1537": { - "23": { - "name": "buildEmptyLineHtml", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "showIndentGuide", - "eolInvisibles", - "htmlEolInvisibles", - "indentation", - "editor", - "mini" - ], - "range": [ - [ - 1537, - 23 - ], - [ - 1563, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1563": { - "23": { - "name": "replaceSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "replaceFn" - ], - "range": [ - [ - 1563, - 23 - ], - [ - 1573, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1573": { - "25": { - "name": "consolidateSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 1573, - 25 - ], - [ - 1573, - 89 - ] - ], - "doc": "~Private~" - } - }, - "1575": { - "18": { - "name": "logCursorScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1575, - 18 - ], - [ - 1578, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1578": { - "18": { - "name": "logScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 1578, - 18 - ], - [ - 1581, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1581": { - "20": { - "name": "logRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1581, - 20 - ], - [ - 1583, - 35 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 41 - }, - "src/editor.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@1.x" - } - }, - "3": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 3, - 12 - ], - [ - 3, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@1.x" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 6, - 8 - ], - [ - 6, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "7": { - "15": { - "name": "LanguageMode", - "type": "import", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 39 - ] - ], - "bindingType": "variable", - "path": "./language-mode" - } - }, - "8": { - "16": { - "name": "DisplayBuffer", - "type": "import", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 41 - ] - ], - "bindingType": "variable", - "path": "./display-buffer" - } - }, - "9": { - "9": { - "name": "Cursor", - "type": "import", - "range": [ - [ - 9, - 9 - ], - [ - 9, - 26 - ] - ], - "bindingType": "variable", - "path": "./cursor" - } - }, - "10": { - "12": { - "name": "Selection", - "type": "import", - "range": [ - [ - 10, - 12 - ], - [ - 10, - 32 - ] - ], - "bindingType": "variable", - "path": "./selection" - } - }, - "11": { - "24": { - "type": "primitive", - "range": [ - [ - 11, - 24 - ], - [ - 11, - 58 - ] - ] - } - }, - "138": { - "0": { - "type": "class", - "name": "Editor", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 143, - 17 - ], - [ - 144, - 32 - ], - [ - 145, - 18 - ], - [ - 146, - 10 - ], - [ - 147, - 16 - ], - [ - 148, - 11 - ], - [ - 149, - 14 - ], - [ - 150, - 28 - ], - [ - 151, - 20 - ], - [ - 152, - 26 - ], - [ - 161, - 15 - ], - [ - 190, - 19 - ], - [ - 197, - 21 - ], - [ - 202, - 21 - ], - [ - 215, - 28 - ], - [ - 228, - 16 - ], - [ - 234, - 13 - ], - [ - 242, - 8 - ], - [ - 258, - 12 - ], - [ - 271, - 16 - ], - [ - 281, - 14 - ], - [ - 288, - 25 - ], - [ - 292, - 21 - ], - [ - 296, - 15 - ], - [ - 301, - 15 - ], - [ - 304, - 18 - ], - [ - 307, - 15 - ], - [ - 312, - 15 - ], - [ - 315, - 18 - ], - [ - 323, - 14 - ], - [ - 328, - 16 - ], - [ - 331, - 16 - ], - [ - 339, - 16 - ], - [ - 361, - 22 - ], - [ - 369, - 19 - ], - [ - 381, - 27 - ], - [ - 396, - 30 - ], - [ - 414, - 22 - ], - [ - 418, - 21 - ], - [ - 428, - 8 - ], - [ - 435, - 10 - ], - [ - 437, - 16 - ], - [ - 442, - 23 - ], - [ - 447, - 11 - ], - [ - 450, - 11 - ], - [ - 453, - 11 - ], - [ - 458, - 18 - ], - [ - 461, - 16 - ], - [ - 464, - 13 - ], - [ - 467, - 10 - ], - [ - 470, - 20 - ], - [ - 473, - 24 - ], - [ - 479, - 25 - ], - [ - 482, - 24 - ], - [ - 486, - 20 - ], - [ - 494, - 27 - ], - [ - 500, - 20 - ], - [ - 506, - 26 - ], - [ - 509, - 8 - ], - [ - 512, - 21 - ], - [ - 515, - 30 - ], - [ - 518, - 14 - ], - [ - 520, - 11 - ], - [ - 524, - 22 - ], - [ - 536, - 35 - ], - [ - 546, - 35 - ], - [ - 551, - 29 - ], - [ - 556, - 29 - ], - [ - 573, - 22 - ], - [ - 576, - 20 - ], - [ - 579, - 22 - ], - [ - 582, - 22 - ], - [ - 585, - 26 - ], - [ - 588, - 20 - ], - [ - 591, - 27 - ], - [ - 593, - 25 - ], - [ - 605, - 27 - ], - [ - 614, - 31 - ], - [ - 618, - 26 - ], - [ - 624, - 19 - ], - [ - 626, - 18 - ], - [ - 633, - 14 - ], - [ - 639, - 17 - ], - [ - 643, - 22 - ], - [ - 649, - 22 - ], - [ - 668, - 10 - ], - [ - 674, - 13 - ], - [ - 678, - 30 - ], - [ - 683, - 30 - ], - [ - 690, - 27 - ], - [ - 696, - 27 - ], - [ - 701, - 10 - ], - [ - 708, - 21 - ], - [ - 714, - 21 - ], - [ - 718, - 14 - ], - [ - 722, - 22 - ], - [ - 726, - 23 - ], - [ - 734, - 33 - ], - [ - 739, - 26 - ], - [ - 744, - 30 - ], - [ - 751, - 18 - ], - [ - 758, - 19 - ], - [ - 765, - 20 - ], - [ - 779, - 13 - ], - [ - 798, - 8 - ], - [ - 803, - 8 - ], - [ - 812, - 18 - ], - [ - 817, - 20 - ], - [ - 822, - 21 - ], - [ - 826, - 11 - ], - [ - 830, - 13 - ], - [ - 836, - 24 - ], - [ - 846, - 17 - ], - [ - 852, - 19 - ], - [ - 862, - 25 - ], - [ - 865, - 25 - ], - [ - 870, - 14 - ], - [ - 874, - 21 - ], - [ - 878, - 39 - ], - [ - 884, - 25 - ], - [ - 893, - 23 - ], - [ - 901, - 23 - ], - [ - 909, - 23 - ], - [ - 913, - 34 - ], - [ - 917, - 34 - ], - [ - 921, - 34 - ], - [ - 926, - 14 - ], - [ - 979, - 16 - ], - [ - 1034, - 18 - ], - [ - 1060, - 17 - ], - [ - 1072, - 22 - ], - [ - 1075, - 23 - ], - [ - 1096, - 32 - ], - [ - 1137, - 18 - ], - [ - 1140, - 19 - ], - [ - 1144, - 13 - ], - [ - 1148, - 14 - ], - [ - 1170, - 15 - ], - [ - 1179, - 19 - ], - [ - 1188, - 19 - ], - [ - 1197, - 22 - ], - [ - 1206, - 22 - ], - [ - 1210, - 17 - ], - [ - 1216, - 18 - ], - [ - 1220, - 22 - ], - [ - 1224, - 14 - ], - [ - 1227, - 13 - ], - [ - 1233, - 29 - ], - [ - 1240, - 29 - ], - [ - 1245, - 13 - ], - [ - 1255, - 16 - ], - [ - 1264, - 16 - ], - [ - 1288, - 30 - ], - [ - 1301, - 26 - ], - [ - 1311, - 26 - ], - [ - 1321, - 27 - ], - [ - 1336, - 19 - ], - [ - 1342, - 19 - ], - [ - 1347, - 25 - ], - [ - 1355, - 31 - ], - [ - 1361, - 17 - ], - [ - 1363, - 27 - ], - [ - 1374, - 16 - ], - [ - 1381, - 20 - ], - [ - 1388, - 40 - ], - [ - 1394, - 28 - ], - [ - 1403, - 34 - ], - [ - 1415, - 27 - ], - [ - 1422, - 27 - ], - [ - 1428, - 22 - ], - [ - 1439, - 27 - ], - [ - 1446, - 27 - ], - [ - 1453, - 26 - ], - [ - 1460, - 26 - ], - [ - 1468, - 27 - ], - [ - 1476, - 27 - ], - [ - 1482, - 19 - ], - [ - 1490, - 24 - ], - [ - 1499, - 24 - ], - [ - 1505, - 34 - ], - [ - 1511, - 22 - ], - [ - 1515, - 16 - ], - [ - 1519, - 18 - ], - [ - 1523, - 18 - ], - [ - 1527, - 19 - ], - [ - 1533, - 19 - ], - [ - 1539, - 22 - ], - [ - 1543, - 37 - ], - [ - 1547, - 31 - ], - [ - 1551, - 36 - ], - [ - 1555, - 31 - ], - [ - 1559, - 25 - ], - [ - 1563, - 31 - ], - [ - 1567, - 25 - ], - [ - 1571, - 35 - ], - [ - 1575, - 36 - ], - [ - 1579, - 32 - ], - [ - 1583, - 40 - ], - [ - 1587, - 44 - ], - [ - 1596, - 26 - ], - [ - 1599, - 10 - ], - [ - 1604, - 12 - ], - [ - 1609, - 16 - ], - [ - 1612, - 18 - ], - [ - 1616, - 18 - ], - [ - 1619, - 15 - ], - [ - 1626, - 15 - ], - [ - 1636, - 26 - ], - [ - 1645, - 15 - ], - [ - 1652, - 14 - ], - [ - 1659, - 12 - ], - [ - 1666, - 14 - ], - [ - 1673, - 15 - ], - [ - 1679, - 13 - ], - [ - 1686, - 18 - ], - [ - 1693, - 27 - ], - [ - 1702, - 32 - ], - [ - 1709, - 21 - ], - [ - 1716, - 32 - ], - [ - 1723, - 28 - ], - [ - 1729, - 14 - ], - [ - 1740, - 21 - ], - [ - 1751, - 21 - ], - [ - 1759, - 28 - ], - [ - 1776, - 13 - ], - [ - 1791, - 13 - ], - [ - 1798, - 13 - ], - [ - 1809, - 13 - ], - [ - 1816, - 27 - ], - [ - 1823, - 21 - ], - [ - 1830, - 31 - ], - [ - 1834, - 14 - ], - [ - 1841, - 36 - ], - [ - 1848, - 40 - ], - [ - 1856, - 16 - ], - [ - 1863, - 16 - ], - [ - 1873, - 27 - ], - [ - 1879, - 28 - ], - [ - 1883, - 22 - ], - [ - 1889, - 31 - ], - [ - 1910, - 40 - ], - [ - 1919, - 14 - ], - [ - 1926, - 14 - ], - [ - 1930, - 17 - ], - [ - 1933, - 20 - ], - [ - 1944, - 12 - ], - [ - 1952, - 20 - ], - [ - 1958, - 21 - ], - [ - 1962, - 20 - ], - [ - 1964, - 11 - ], - [ - 1967, - 18 - ], - [ - 1969, - 22 - ], - [ - 1972, - 23 - ], - [ - 1976, - 23 - ], - [ - 1980, - 32 - ], - [ - 1983, - 27 - ], - [ - 1984, - 27 - ], - [ - 1986, - 29 - ], - [ - 1987, - 29 - ], - [ - 1989, - 25 - ], - [ - 1990, - 25 - ], - [ - 1992, - 29 - ], - [ - 1994, - 22 - ], - [ - 1995, - 22 - ], - [ - 1997, - 23 - ], - [ - 1999, - 25 - ], - [ - 2001, - 23 - ], - [ - 2002, - 23 - ], - [ - 2004, - 13 - ], - [ - 2005, - 13 - ], - [ - 2007, - 19 - ], - [ - 2009, - 12 - ], - [ - 2010, - 12 - ], - [ - 2012, - 16 - ], - [ - 2013, - 16 - ], - [ - 2015, - 19 - ], - [ - 2016, - 19 - ], - [ - 2018, - 17 - ], - [ - 2019, - 17 - ], - [ - 2021, - 18 - ], - [ - 2022, - 18 - ], - [ - 2024, - 19 - ], - [ - 2025, - 18 - ], - [ - 2027, - 22 - ], - [ - 2029, - 29 - ], - [ - 2031, - 38 - ], - [ - 2033, - 34 - ], - [ - 2035, - 34 - ], - [ - 2037, - 34 - ], - [ - 2039, - 27 - ], - [ - 2041, - 23 - ], - [ - 2043, - 26 - ], - [ - 2045, - 26 - ], - [ - 2047, - 26 - ], - [ - 2049, - 24 - ], - [ - 2051, - 32 - ], - [ - 2052, - 32 - ], - [ - 2054, - 29 - ], - [ - 2055, - 29 - ], - [ - 2058, - 12 - ] - ], - "doc": " Public: This class represents all essential editing state for a single\n{TextBuffer}, including cursor and selection positions, folds, and soft wraps.\nIf you're manipulating the state of an editor, use this class. If you're\ninterested in the visual appearance of editors, use {EditorView} instead.\n\nA single {TextBuffer} can belong to multiple editors. For example, if the\nsame file is open in two different panes, Atom creates a separate editor for\neach pane. If the buffer is manipulated the changes are reflected in both\neditors, but each maintains its own cursor position, folded lines, etc.\n\n## Accessing Editor Instances\n\nThe easiest way to get hold of `Editor` objects is by registering a callback\nwith `::eachEditor` on the `atom.workspace` global. Your callback will then\nbe called with all current editor instances and also when any editor is\ncreated in the future.\n\n```coffeescript\n atom.workspace.eachEditor (editor) ->\n editor.insertText('Hello World')\n```\n\n## Buffer vs. Screen Coordinates\n\nBecause editors support folds and soft-wrapping, the lines on screen don't\nalways match the lines in the buffer. For example, a long line that soft wraps\ntwice renders as three lines on screen, but only represents one line in the\nbuffer. Similarly, if rows 5-10 are folded, then row 6 on screen corresponds\nto row 11 in the buffer.\n\nYour choice of coordinates systems will depend on what you're trying to\nachieve. For example, if you're writing a command that jumps the cursor up or\ndown by 10 lines, you'll want to use screen coordinates because the user\nprobably wants to skip lines *on screen*. However, if you're writing a package\nthat jumps between method definitions, you'll want to work in buffer\ncoordinates.\n\n**When in doubt, just default to buffer coordinates**, then experiment with\nsoft wraps and folds to ensure your code interacts with them correctly.\n\n## Common Tasks\n\nThis is a subset of methods on this class. Refer to the complete summary for\nits full capabilities.\n\n### Cursors\n- {::setCursorBufferPosition}\n- {::setCursorScreenPosition}\n- {::moveCursorUp}\n- {::moveCursorDown}\n- {::moveCursorLeft}\n- {::moveCursorRight}\n- {::moveCursorToBeginningOfWord}\n- {::moveCursorToEndOfWord}\n- {::moveCursorToPreviousWordBoundary}\n- {::moveCursorToNextWordBoundary}\n- {::moveCursorToBeginningOfNextWord}\n- {::moveCursorToBeginningOfLine}\n- {::moveCursorToEndOfLine}\n- {::moveCursorToFirstCharacterOfLine}\n- {::moveCursorToTop}\n- {::moveCursorToBottom}\n\n### Selections\n- {::getSelectedBufferRange}\n- {::getSelectedBufferRanges}\n- {::setSelectedBufferRange}\n- {::setSelectedBufferRanges}\n- {::selectUp}\n- {::selectDown}\n- {::selectLeft}\n- {::selectRight}\n- {::selectToBeginningOfWord}\n- {::selectToEndOfWord}\n- {::selectToPreviousWordBoundary}\n- {::selectToNextWordBoundary}\n- {::selectWord}\n- {::selectToBeginningOfLine}\n- {::selectToEndOfLine}\n- {::selectToFirstCharacterOfLine}\n- {::selectToTop}\n- {::selectToBottom}\n- {::selectAll}\n- {::addSelectionForBufferRange}\n- {::addSelectionAbove}\n- {::addSelectionBelow}\n- {::splitSelectionsIntoLines}\n\n### Manipulating Text\n- {::getText}\n- {::getSelectedText}\n- {::setText}\n- {::setTextInBufferRange}\n- {::insertText}\n- {::insertNewline}\n- {::insertNewlineAbove}\n- {::insertNewlineBelow}\n- {::backspace}\n- {::deleteToBeginningOfWord}\n- {::deleteToBeginningOfLine}\n- {::delete}\n- {::deleteToEndOfLine}\n- {::deleteToEndOfWord}\n- {::deleteLine}\n- {::cutSelectedText}\n- {::cutToEndOfLine}\n- {::copySelectedText}\n- {::pasteText}\n\n### Undo, Redo, and Transactions\n- {::undo}\n- {::redo}\n- {::transact}\n- {::abortTransaction}\n\n### Markers\n- {::markBufferRange}\n- {::markScreenRange}\n- {::getMarker}\n- {::findMarkers}\n\n### Decorations\n- {::decorateMarker}\n- {::decorationsForScreenRowRange} ", - "range": [ - [ - 138, - 0 - ], - [ - 2060, - 16 - ] - ] - } - }, - "143": { - "17": { - "name": "deserializing", - "type": "primitive", - "range": [ - [ - 143, - 17 - ], - [ - 143, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "144": { - "32": { - "name": "callDisplayBufferCreatedHook", - "type": "primitive", - "range": [ - [ - 144, - 32 - ], - [ - 144, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "145": { - "18": { - "name": "registerEditor", - "type": "primitive", - "range": [ - [ - 145, - 18 - ], - [ - 145, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "146": { - "10": { - "name": "buffer", - "type": "primitive", - "range": [ - [ - 146, - 10 - ], - [ - 146, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "147": { - "16": { - "name": "languageMode", - "type": "primitive", - "range": [ - [ - 147, - 16 - ], - [ - 147, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "148": { - "11": { - "name": "cursors", - "type": "primitive", - "range": [ - [ - 148, - 11 - ], - [ - 148, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "149": { - "14": { - "name": "selections", - "type": "primitive", - "range": [ - [ - 149, - 14 - ], - [ - 149, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "150": { - "28": { - "name": "suppressSelectionMerging", - "type": "primitive", - "range": [ - [ - 150, - 28 - ], - [ - 150, - 32 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "151": { - "20": { - "name": "updateBatchDepth", - "type": "primitive", - "range": [ - [ - 151, - 20 - ], - [ - 151, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "152": { - "26": { - "name": "selectionFlashDuration", - "type": "primitive", - "range": [ - [ - 152, - 26 - ], - [ - 152, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "161": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 161, - 15 - ], - [ - 190, - 1 - ] - ], - "doc": "~Private~" - } - }, - "190": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 19 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 197, - 21 - ], - [ - 202, - 1 - ] - ], - "doc": "~Private~" - } - }, - "202": { - "21": { - "name": "subscribeToBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 202, - 21 - ], - [ - 215, - 1 - ] - ], - "doc": "~Private~" - } - }, - "215": { - "28": { - "name": "subscribeToDisplayBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 215, - 28 - ], - [ - 228, - 1 - ] - ], - "doc": "~Private~" - } - }, - "228": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 228, - 16 - ], - [ - 234, - 1 - ] - ], - "doc": "~Private~" - } - }, - "234": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 13 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 242, - 8 - ], - [ - 258, - 1 - ] - ], - "doc": "Private: Create an {Editor} with its initial state based on this object " - } - }, - "258": { - "12": { - "name": "getTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 258, - 12 - ], - [ - 271, - 1 - ] - ], - "doc": " Public: Get the title the editor's title for display in other parts of the\nUI such as the tabs.\n\nIf the editor's buffer is saved, its title is the file name. If it is\nunsaved, its title is \"untitled\".\n\nReturns a {String}. " - } - }, - "271": { - "16": { - "name": "getLongTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 271, - 16 - ], - [ - 281, - 1 - ] - ], - "doc": " Public: Get the editor's long title for display in other parts of the UI\nsuch as the window title.\n\nIf the editor's buffer is saved, its long title is formatted as\n\" - \". If it is unsaved, its title is \"untitled\"\n\nReturns a {String}. " - } - }, - "281": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 281, - 14 - ], - [ - 281, - 60 - ] - ], - "doc": "Private: Controls visibility based on the given {Boolean}. " - } - }, - "288": { - "25": { - "name": "setEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorWidthInChars" - ], - "range": [ - [ - 288, - 25 - ], - [ - 292, - 1 - ] - ], - "doc": " Private: Set the number of characters that can be displayed horizontally in the\neditor.\n\neditorWidthInChars - A {Number} representing the width of the {EditorView}\nin characters. " - } - }, - "292": { - "21": { - "name": "getSoftWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 21 - ], - [ - 292, - 57 - ] - ], - "doc": "Public: Sets the column at which column will soft wrap " - } - }, - "296": { - "15": { - "name": "getSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 296, - 15 - ], - [ - 296, - 26 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether softTabs are enabled for this\neditor. " - } - }, - "301": { - "15": { - "name": "setSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 301, - 15 - ], - [ - 301, - 38 - ] - ], - "doc": " Public: Enable or disable soft tabs for this editor.\n\nsoftTabs - A {Boolean} " - } - }, - "304": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 304, - 18 - ], - [ - 304, - 52 - ] - ], - "doc": "Public: Toggle soft tabs for this editor " - } - }, - "307": { - "15": { - "name": "getSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 307, - 15 - ], - [ - 307, - 45 - ] - ], - "doc": "Public: Get whether soft wrap is enabled for this editor. " - } - }, - "312": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 312, - 15 - ], - [ - 312, - 64 - ] - ], - "doc": " Public: Enable or disable soft wrap for this editor.\n\nsoftWrap - A {Boolean} " - } - }, - "315": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 18 - ], - [ - 315, - 52 - ] - ], - "doc": "Public: Toggle soft wrap for this editor " - } - }, - "323": { - "14": { - "name": "getTabText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 323, - 14 - ], - [ - 323, - 37 - ] - ], - "doc": " Public: Get the text representing a single level of indent.\n\nIf soft tabs are enabled, the text is composed of N spaces, where N is the\ntab length. Otherwise the text is a tab character (`\\t`).\n\nReturns a {String}. " - } - }, - "328": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 328, - 16 - ], - [ - 328, - 47 - ] - ], - "doc": " Public: Get the on-screen length of tab characters.\n\nReturns a {Number}. " - } - }, - "331": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 331, - 16 - ], - [ - 331, - 68 - ] - ], - "doc": "Public: Set the on-screen length of tab characters. " - } - }, - "339": { - "16": { - "name": "usesSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 339, - 16 - ], - [ - 361, - 1 - ] - ], - "doc": " Public: Determine if the buffer uses hard or soft tabs.\n\nReturns `true` if the first non-comment line with leading whitespace starts\nwith a space character. Returns `false` if it starts with a hard tab (`\\t`).\n\nReturns a {Boolean}, " - } - }, - "361": { - "22": { - "name": "clipBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 361, - 22 - ], - [ - 361, - 77 - ] - ], - "doc": " Public: Clip the given {Point} to a valid position in the buffer.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the buffer, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " - } - }, - "369": { - "19": { - "name": "clipBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 369, - 19 - ], - [ - 369, - 53 - ] - ], - "doc": " Public: Clip the start and end of the given range to valid positions in the\nbuffer. See {::clipBufferPosition} for more information.\n\nrange - The {Range} to clip.\n\nReturns a {Range}. " - } - }, - "381": { - "27": { - "name": "indentationForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 381, - 27 - ], - [ - 396, - 1 - ] - ], - "doc": " Public: Get the indentation level of the given a buffer row.\n\nReturns how deeply the given row is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nbufferRow - A {Number} indicating the buffer row.\n\nReturns a {Number}. " - } - }, - "396": { - "30": { - "name": "setIndentationForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "newLevel", - null - ], - "range": [ - [ - 396, - 30 - ], - [ - 414, - 1 - ] - ], - "doc": " Public: Set the indentation level for the given buffer row.\n\nInserts or removes hard tabs or spaces based on the soft tabs and tab length\nsettings of this editor in order to bring it to the given indentation level.\nNote that if soft tabs are enabled and the tab length is 2, a row with 4\nleading spaces would have an indentation level of 2.\n\nbufferRow - A {Number} indicating the buffer row.\nnewLevel - A {Number} indicating the new indentation level.\noptions - An {Object} with the following keys:\n :preserveLeadingWhitespace - true to preserve any whitespace already at\n the beginning of the line (default: false). " - } - }, - "414": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 414, - 22 - ], - [ - 418, - 1 - ] - ], - "doc": " Public: Get the indentation level of the given line of text.\n\nReturns how deeply the given line is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nline - A {String} representing a line of text.\n\nReturns a {Number}. " - } - }, - "418": { - "21": { - "name": "buildIndentString", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "number", - "column" - ], - "range": [ - [ - 418, - 21 - ], - [ - 428, - 1 - ] - ], - "doc": "Private: Constructs the string used for tabs. " - } - }, - "428": { - "8": { - "name": "save", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 8 - ], - [ - 428, - 24 - ] - ], - "doc": " Public: Saves the editor's text buffer.\n\nSee {TextBuffer::save} for more details. " - } - }, - "435": { - "10": { - "name": "saveAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 435, - 10 - ], - [ - 435, - 47 - ] - ], - "doc": " Public: Saves the editor's text buffer as the given path.\n\nSee {TextBuffer::saveAs} for more details.\n\nfilePath - A {String} path. " - } - }, - "437": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 437, - 16 - ], - [ - 442, - 1 - ] - ], - "doc": "~Private~" - } - }, - "442": { - "23": { - "name": "copyPathToClipboard", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 442, - 23 - ], - [ - 447, - 1 - ] - ], - "doc": "Private: Copies the current file path to the native clipboard. " - } - }, - "447": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 447, - 11 - ], - [ - 447, - 30 - ] - ], - "doc": "Public: Returns the {String} path of this editor's text buffer. " - } - }, - "450": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 450, - 11 - ], - [ - 450, - 30 - ] - ], - "doc": "Public: Returns a {String} representing the entire contents of the editor. " - } - }, - "453": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 453, - 11 - ], - [ - 453, - 41 - ] - ], - "doc": "Public: Replaces the entire contents of the buffer with the given {String}. " - } - }, - "458": { - "18": { - "name": "getTextInRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 458, - 18 - ], - [ - 458, - 57 - ] - ], - "doc": " Private: Get the text in the given {Range}.\n\nReturns a {String}. " - } - }, - "461": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 461, - 16 - ], - [ - 461, - 40 - ] - ], - "doc": "Public: Returns a {Number} representing the number of lines in the editor. " - } - }, - "464": { - "13": { - "name": "getBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 464, - 13 - ], - [ - 464, - 22 - ] - ], - "doc": "Private: Retrieves the current {TextBuffer}. " - } - }, - "467": { - "10": { - "name": "getUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 467, - 10 - ], - [ - 467, - 28 - ] - ], - "doc": "Public: Retrieves the current buffer's URI. " - } - }, - "470": { - "20": { - "name": "isBufferRowBlank", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 470, - 20 - ], - [ - 470, - 63 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.isRowBlank} " - } - }, - "473": { - "24": { - "name": "isBufferRowCommented", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 473, - 24 - ], - [ - 479, - 1 - ] - ], - "doc": "Public: Determine if the given row is entirely a comment " - } - }, - "479": { - "25": { - "name": "nextNonBlankBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 479, - 25 - ], - [ - 479, - 73 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.nextNonBlankRow} " - } - }, - "482": { - "24": { - "name": "getEofBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 482, - 24 - ], - [ - 482, - 50 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.getEndPosition} " - } - }, - "486": { - "20": { - "name": "getLastBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 486, - 20 - ], - [ - 486, - 42 - ] - ], - "doc": " Public: Returns a {Number} representing the last zero-indexed buffer row\nnumber of the editor. " - } - }, - "494": { - "27": { - "name": "bufferRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - null - ], - "range": [ - [ - 494, - 27 - ], - [ - 494, - 96 - ] - ], - "doc": " Private: Returns the range for the given buffer row.\n\nrow - A row {Number}.\noptions - An options hash with an `includeNewline` key.\n\nReturns a {Range}. " - } - }, - "500": { - "20": { - "name": "lineForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 500, - 20 - ], - [ - 500, - 51 - ] - ], - "doc": " Public: Returns a {String} representing the contents of the line at the\ngiven buffer row.\n\nrow - A {Number} representing a zero-indexed buffer row. " - } - }, - "506": { - "26": { - "name": "lineLengthForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 506, - 26 - ], - [ - 506, - 63 - ] - ], - "doc": " Public: Returns a {Number} representing the line length for the given\nbuffer row, exclusive of its line-ending character(s).\n\nrow - A {Number} indicating the buffer row. " - } - }, - "509": { - "8": { - "name": "scan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 509, - 8 - ], - [ - 509, - 41 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.scan} " - } - }, - "512": { - "21": { - "name": "scanInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 512, - 21 - ], - [ - 512, - 61 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.scanInRange} " - } - }, - "515": { - "30": { - "name": "backwardsScanInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 515, - 30 - ], - [ - 515, - 79 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.backwardsScanInRange} " - } - }, - "518": { - "14": { - "name": "isModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 518, - 14 - ], - [ - 518, - 36 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.isModified} " - } - }, - "520": { - "11": { - "name": "isEmpty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 520, - 11 - ], - [ - 520, - 30 - ] - ], - "doc": "~Private~" - } - }, - "524": { - "22": { - "name": "shouldPromptToSave", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 524, - 22 - ], - [ - 524, - 74 - ] - ], - "doc": " Public: Determine whether the user should be prompted to save before closing\nthis editor. " - } - }, - "536": { - "35": { - "name": "screenPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 536, - 35 - ], - [ - 536, - 134 - ] - ], - "doc": " Public: Convert a position in buffer-coordinates to screen-coordinates.\n\nThe position is clipped via {::clipBufferPosition} prior to the conversion.\nThe position is also clipped via {::clipScreenPosition} following the\nconversion, which only makes a difference when `options` are supplied.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " - } - }, - "546": { - "35": { - "name": "bufferPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 546, - 35 - ], - [ - 546, - 134 - ] - ], - "doc": " Public: Convert a position in screen-coordinates to buffer-coordinates.\n\nThe position is clipped via {::clipScreenPosition} prior to the conversion.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " - } - }, - "551": { - "29": { - "name": "screenRangeForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 551, - 29 - ], - [ - 551, - 98 - ] - ], - "doc": " Public: Convert a range in buffer-coordinates to screen-coordinates.\n\nReturns a {Range}. " - } - }, - "556": { - "29": { - "name": "bufferRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 556, - 29 - ], - [ - 556, - 98 - ] - ], - "doc": " Public: Convert a range in screen-coordinates to buffer-coordinates.\n\nReturns a {Range}. " - } - }, - "573": { - "22": { - "name": "clipScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 573, - 22 - ], - [ - 573, - 108 - ] - ], - "doc": " Public: Clip the given {Point} to a valid position on screen.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the screen, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at screen row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " - } - }, - "576": { - "20": { - "name": "lineForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 576, - 20 - ], - [ - 576, - 58 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.lineForRow} " - } - }, - "579": { - "22": { - "name": "linesForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 579, - 22 - ], - [ - 579, - 76 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.linesForRows} " - } - }, - "582": { - "22": { - "name": "getScreenLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 582, - 22 - ], - [ - 582, - 53 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getLineCount} " - } - }, - "585": { - "26": { - "name": "getMaxScreenLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 585, - 26 - ], - [ - 585, - 61 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getMaxLineLength} " - } - }, - "588": { - "20": { - "name": "getLastScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 588, - 20 - ], - [ - 588, - 49 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getLastRow} " - } - }, - "591": { - "27": { - "name": "bufferRowsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 591, - 27 - ], - [ - 591, - 104 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.bufferRowsForScreenRows} " - } - }, - "593": { - "25": { - "name": "bufferRowForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 593, - 25 - ], - [ - 593, - 74 - ] - ], - "doc": "~Private~" - } - }, - "605": { - "27": { - "name": "scopesForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 605, - 27 - ], - [ - 605, - 100 - ] - ], - "doc": " Public: Get the syntactic scopes for the given position in buffer\ncoordinates.\n\nFor example, if called with a position inside the parameter list of an\nanonymous CoffeeScript function, the method returns the following array:\n`[\"source.coffee\", \"meta.inline.function.coffee\", \"variable.parameter.function.coffee\"]`\n\nbufferPosition - A {Point} or {Array} of [row, column].\n\nReturns an {Array} of {String}s. " - } - }, - "614": { - "31": { - "name": "bufferRangeForScopeAtCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 614, - 31 - ], - [ - 618, - 1 - ] - ], - "doc": " Public: Get the range in buffer coordinates of all tokens surrounding the\ncursor that match the given scope selector.\n\nFor example, if you wanted to find the string surrounding the cursor, you\ncould call `editor.bufferRangeForScopeAtCursor(\".string.quoted\")`.\n\nReturns a {Range}. " - } - }, - "618": { - "26": { - "name": "tokenForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 618, - 26 - ], - [ - 618, - 98 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.tokenForBufferPosition} " - } - }, - "624": { - "19": { - "name": "getCursorScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 624, - 19 - ], - [ - 624, - 45 - ] - ], - "doc": " Public: Get the syntactic scopes for the most recently added cursor's\nposition. See {::scopesForBufferPosition} for more information.\n\nReturns an {Array} of {String}s. " - } - }, - "626": { - "18": { - "name": "logCursorScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 626, - 18 - ], - [ - 633, - 1 - ] - ], - "doc": "~Private~" - } - }, - "633": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 633, - 14 - ], - [ - 639, - 1 - ] - ], - "doc": " Public: For each selection, replace the selected text with the given text.\n\ntext - A {String} representing the text to insert.\noptions - See {Selection::insertText}. " - } - }, - "639": { - "17": { - "name": "insertNewline", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 639, - 17 - ], - [ - 643, - 1 - ] - ], - "doc": "Public: For each selection, replace the selected text with a newline. " - } - }, - "643": { - "22": { - "name": "insertNewlineBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 643, - 22 - ], - [ - 649, - 1 - ] - ], - "doc": "Public: For each cursor, insert a newline at beginning the following line. " - } - }, - "649": { - "22": { - "name": "insertNewlineAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 649, - 22 - ], - [ - 668, - 1 - ] - ], - "doc": "Public: For each cursor, insert a newline at the end of the preceding line. " - } - }, - "668": { - "10": { - "name": "indent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 668, - 10 - ], - [ - 674, - 1 - ] - ], - "doc": " Private: Indent all lines intersecting selections. See {Selection::indent} for more\ninformation. " - } - }, - "674": { - "13": { - "name": "backspace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 674, - 13 - ], - [ - 678, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete the character\npreceding the cursor. Otherwise delete the selected text. " - } - }, - "678": { - "30": { - "name": "backspaceToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 678, - 30 - ], - [ - 683, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " - } - }, - "683": { - "30": { - "name": "backspaceToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 683, - 30 - ], - [ - 690, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " - } - }, - "690": { - "27": { - "name": "deleteToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 690, - 27 - ], - [ - 696, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word that precede the cursor. Otherwise delete the\nselected text. " - } - }, - "696": { - "27": { - "name": "deleteToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 696, - 27 - ], - [ - 701, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing line that precede the cursor. Otherwise delete the\nselected text. " - } - }, - "701": { - "10": { - "name": "delete", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 701, - 10 - ], - [ - 708, - 1 - ] - ] - } - }, - "708": { - "21": { - "name": "deleteToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 708, - 21 - ], - [ - 714, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is not empty, deletes the\nselection; otherwise, deletes all characters of the containing line\nfollowing the cursor. If the cursor is already at the end of the line,\ndeletes the following newline. " - } - }, - "714": { - "21": { - "name": "deleteToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 714, - 21 - ], - [ - 718, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word following the cursor. Otherwise delete the selected\ntext. " - } - }, - "718": { - "14": { - "name": "deleteLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 718, - 14 - ], - [ - 722, - 1 - ] - ], - "doc": "Public: Delete all lines intersecting selections. " - } - }, - "722": { - "22": { - "name": "indentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 722, - 22 - ], - [ - 726, - 1 - ] - ], - "doc": "Public: Indent rows intersecting selections by one level. " - } - }, - "726": { - "23": { - "name": "outdentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 726, - 23 - ], - [ - 734, - 1 - ] - ], - "doc": "Public: Outdent rows intersecting selections by one level. " - } - }, - "734": { - "33": { - "name": "toggleLineCommentsInSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 734, - 33 - ], - [ - 739, - 1 - ] - ], - "doc": " Public: Toggle line comments for rows intersecting selections.\n\nIf the current grammar doesn't support comments, does nothing.\n\nReturns an {Array} of the commented {Range}s. " - } - }, - "739": { - "26": { - "name": "autoIndentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 739, - 26 - ], - [ - 744, - 1 - ] - ], - "doc": " Public: Indent rows intersecting selections based on the grammar's suggested\nindent level. " - } - }, - "744": { - "30": { - "name": "normalizeTabsInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 744, - 30 - ], - [ - 751, - 1 - ] - ], - "doc": " Private: If soft tabs are enabled, convert all hard tabs to soft tabs in the given\n{Range}. " - } - }, - "751": { - "18": { - "name": "cutToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 751, - 18 - ], - [ - 758, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, cut all characters\nof the containing line following the cursor. Otherwise cut the selected\ntext. " - } - }, - "758": { - "19": { - "name": "cutSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 758, - 19 - ], - [ - 765, - 1 - ] - ], - "doc": "Public: For each selection, cut the selected text. " - } - }, - "765": { - "20": { - "name": "copySelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 765, - 20 - ], - [ - 779, - 1 - ] - ], - "doc": "Public: For each selection, copy the selected text. " - } - }, - "779": { - "13": { - "name": "pasteText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 779, - 13 - ], - [ - 798, - 1 - ] - ], - "doc": " Public: For each selection, replace the selected text with the contents of\nthe clipboard.\n\nIf the clipboard contains the same number of selections as the current\neditor, each selection will be replaced with the content of the\ncorresponding clipboard selection text.\n\noptions - See {Selection::insertText}. " - } - }, - "798": { - "8": { - "name": "undo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 798, - 8 - ], - [ - 803, - 1 - ] - ], - "doc": "Public: Undo the last change. " - } - }, - "803": { - "8": { - "name": "redo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 803, - 8 - ], - [ - 812, - 1 - ] - ], - "doc": "Public: Redo the last change. " - } - }, - "812": { - "18": { - "name": "foldCurrentRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 812, - 18 - ], - [ - 817, - 1 - ] - ], - "doc": " Public: Fold the most recent cursor's row based on its indentation level.\n\nThe fold will extend from the nearest preceding line with a lower\nindentation level up to the nearest following row with a lower indentation\nlevel. " - } - }, - "817": { - "20": { - "name": "unfoldCurrentRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 817, - 20 - ], - [ - 822, - 1 - ] - ], - "doc": "Public: Unfold the most recent cursor's row by one level. " - } - }, - "822": { - "21": { - "name": "foldSelectedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 822, - 21 - ], - [ - 826, - 1 - ] - ], - "doc": "Public: For each selection, fold the rows it intersects. " - } - }, - "826": { - "11": { - "name": "foldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 826, - 11 - ], - [ - 830, - 1 - ] - ], - "doc": "Public: Fold all foldable lines. " - } - }, - "830": { - "13": { - "name": "unfoldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 830, - 13 - ], - [ - 836, - 1 - ] - ], - "doc": "Public: Unfold all existing folds. " - } - }, - "836": { - "24": { - "name": "foldAllAtIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "level" - ], - "range": [ - [ - 836, - 24 - ], - [ - 846, - 1 - ] - ], - "doc": " Public: Fold all foldable lines at the given indent level.\n\nlevel - A {Number}. " - } - }, - "846": { - "17": { - "name": "foldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 846, - 17 - ], - [ - 852, - 1 - ] - ], - "doc": " Public: Fold the given row in buffer coordinates based on its indentation\nlevel.\n\nIf the given row is foldable, the fold will begin there. Otherwise, it will\nbegin at the first foldable row preceding the given row.\n\nbufferRow - A {Number}. " - } - }, - "852": { - "19": { - "name": "unfoldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 852, - 19 - ], - [ - 862, - 1 - ] - ], - "doc": " Public: Unfold all folds containing the given row in buffer coordinates.\n\nbufferRow - A {Number} " - } - }, - "862": { - "25": { - "name": "isFoldableAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 862, - 25 - ], - [ - 865, - 1 - ] - ], - "doc": " Public: Determine whether the given row in buffer coordinates is foldable.\n\nA *foldable* row is a row that *starts* a row range that can be folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "865": { - "25": { - "name": "isFoldableAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 865, - 25 - ], - [ - 870, - 1 - ] - ], - "doc": "~Private~" - } - }, - "870": { - "14": { - "name": "createFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 870, - 14 - ], - [ - 874, - 1 - ] - ], - "doc": "TODO: Rename to foldRowRange? " - } - }, - "874": { - "21": { - "name": "destroyFoldWithId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 874, - 21 - ], - [ - 878, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.destroyFoldWithId} " - } - }, - "878": { - "39": { - "name": "destroyFoldsIntersectingBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 878, - 39 - ], - [ - 884, - 1 - ] - ], - "doc": "Private: Remove any {Fold}s found that intersect the given buffer row. " - } - }, - "884": { - "25": { - "name": "toggleFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 884, - 25 - ], - [ - 893, - 1 - ] - ], - "doc": " Public: Fold the given buffer row if it isn't currently folded, and unfold\nit otherwise. " - } - }, - "893": { - "23": { - "name": "isFoldedAtCursorRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 893, - 23 - ], - [ - 901, - 1 - ] - ], - "doc": " Public: Determine whether the most recently added cursor's row is folded.\n\nReturns a {Boolean}. " - } - }, - "901": { - "23": { - "name": "isFoldedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 901, - 23 - ], - [ - 909, - 1 - ] - ], - "doc": " Public: Determine whether the given row in buffer coordinates is folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "909": { - "23": { - "name": "isFoldedAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 909, - 23 - ], - [ - 913, - 1 - ] - ], - "doc": " Public: Determine whether the given row in screen coordinates is folded.\n\nscreenRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "913": { - "34": { - "name": "largestFoldContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 913, - 34 - ], - [ - 917, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.largestFoldContainingBufferRow} " - } - }, - "917": { - "34": { - "name": "largestFoldStartingAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 917, - 34 - ], - [ - 921, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.largestFoldStartingAtScreenRow} " - } - }, - "921": { - "34": { - "name": "outermostFoldsInBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 921, - 34 - ], - [ - 926, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.outermostFoldsForBufferRowRange} " - } - }, - "926": { - "14": { - "name": "moveLineUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 926, - 14 - ], - [ - 979, - 1 - ] - ], - "doc": " Private: Move lines intersection the most recent selection up by one row in screen\ncoordinates. " - } - }, - "979": { - "16": { - "name": "moveLineDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 979, - 16 - ], - [ - 1034, - 1 - ] - ], - "doc": " Private: Move lines intersecting the most recent selection down by one row in screen\ncoordinates. " - } - }, - "1034": { - "18": { - "name": "duplicateLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1034, - 18 - ], - [ - 1060, - 1 - ] - ], - "doc": "Private: Duplicate the most recent cursor's current line. " - } - }, - "1060": { - "17": { - "name": "duplicateLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1060, - 17 - ], - [ - 1072, - 1 - ] - ], - "doc": "Deprecated: Use {::duplicateLines} instead. " - } - }, - "1072": { - "22": { - "name": "mutateSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1072, - 22 - ], - [ - 1075, - 1 - ] - ], - "doc": " Public: Mutate the text of all the selections in a single transaction.\n\nAll the changes made inside the given {Function} can be reverted with a\nsingle call to {::undo}.\n\nfn - A {Function} that will be called once for each {Selection}. The first\n argument will be a {Selection} and the second argument will be the\n {Number} index of that selection. " - } - }, - "1075": { - "23": { - "name": "replaceSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options", - "fn" - ], - "range": [ - [ - 1075, - 23 - ], - [ - 1096, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1096": { - "32": { - "name": "decorationsForScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 1096, - 32 - ], - [ - 1137, - 1 - ] - ], - "doc": " Public: Get all the decorations within a screen row range.\n\nstartScreenRow - the {Number} beginning screen row\nendScreenRow - the {Number} end screen row (inclusive)\n\nReturns an {Object} of decorations in the form\n `{1: [{id: 10, type: 'gutter', class: 'someclass'}], 2: ...}`\n where the keys are {Marker} IDs, and the values are an array of decoration\n params objects attached to the marker.\nReturns an empty object when no decorations are found " - } - }, - "1137": { - "18": { - "name": "decorateMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "decorationParams" - ], - "range": [ - [ - 1137, - 18 - ], - [ - 1140, - 1 - ] - ], - "doc": " Public: Adds a decoration that tracks a {Marker}. When the marker moves,\nis invalidated, or is destroyed, the decoration will be updated to reflect\nthe marker's state.\n\nThere are three types of supported decorations:\n* `line`: Adds your CSS `class` to the line nodes within the range\n marked by the marker\n* `gutter`: Adds your CSS `class` to the line number nodes within the\n range marked by the marker\n* `highlight`: Adds a new highlight div to the editor surrounding the\n range marked by the marker. When the user selects text, the selection is\n visualized with a highlight decoration internally. The structure of this\n highlight will be:\n ```html\n
    \">\n \n
    \n
    \n ```\n\nmarker - A {Marker} you want this decoration to follow.\ndecorationParams - An {Object} representing the decoration eg. `{type: 'gutter', class: 'linter-error'}`\n :type - There are a few supported decoration types:\n * `gutter`: Applies the decoration to the line numbers spanned by the marker.\n * `line`: Applies the decoration to the lines spanned by the marker.\n * `highlight`: Applies the decoration to a \"highlight\" behind the marked range.\n :class - This CSS class will be applied to the decorated line number,\n line, or highlight.\n :onlyHead - If `true`, the decoration will only be applied to the head\n of the marker. Only applicable to the `line` and `gutter` types.\n :onlyEmpty - If `true`, the decoration will only be applied if the\n associated marker is empty. Only applicable to the `line` and\n `gutter` types.\n :onlyNonEmpty - If `true`, the decoration will only be applied if the\n associated marker is non-empty. Only applicable to the `line` and\n gutter types.\n\nReturns a {Decoration} object " - } - }, - "1140": { - "19": { - "name": "decorationForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 1140, - 19 - ], - [ - 1144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1144": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 1144, - 13 - ], - [ - 1148, - 1 - ] - ], - "doc": "Public: Get the {DisplayBufferMarker} for the given marker id. " - } - }, - "1148": { - "14": { - "name": "getMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1148, - 14 - ], - [ - 1170, - 1 - ] - ], - "doc": "Public: Get all {DisplayBufferMarker}s. " - } - }, - "1170": { - "15": { - "name": "findMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "properties" - ], - "range": [ - [ - 1170, - 15 - ], - [ - 1179, - 1 - ] - ], - "doc": " Public: Find all {DisplayBufferMarker}s that match the given properties.\n\nThis method finds markers based on the given properties. Markers can be\nassociated with custom properties that will be compared with basic equality.\nIn addition, there are several special properties that will be compared\nwith the range of the markers rather than their properties.\n\nproperties - An {Object} containing properties that each returned marker\n must satisfy. Markers can be associated with custom properties, which are\n compared with basic equality. In addition, several reserved properties\n can be used to filter markers based on their current range:\n :startBufferRow - Only include markers starting at this row in buffer\n coordinates.\n :endBufferRow - Only include markers ending at this row in buffer\n coordinates.\n :containsBufferRange - Only include markers containing this {Range} or\n in range-compatible {Array} in buffer coordinates.\n :containsBufferPosition - Only include markers containing this {Point}\n or {Array} of `[row, column]` in buffer coordinates. " - } - }, - "1179": { - "19": { - "name": "markScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1179, - 19 - ], - [ - 1188, - 1 - ] - ], - "doc": " Public: Mark the given range in screen coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1188": { - "19": { - "name": "markBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1188, - 19 - ], - [ - 1197, - 1 - ] - ], - "doc": " Public: Mark the given range in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1197": { - "22": { - "name": "markScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1197, - 22 - ], - [ - 1206, - 1 - ] - ], - "doc": " Public: Mark the given position in screen coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1206": { - "22": { - "name": "markBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1206, - 22 - ], - [ - 1210, - 1 - ] - ], - "doc": " Public: Mark the given position in buffer coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1210": { - "17": { - "name": "destroyMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1210, - 17 - ], - [ - 1216, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.destroyMarker} " - } - }, - "1216": { - "18": { - "name": "getMarkerCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1216, - 18 - ], - [ - 1220, - 1 - ] - ], - "doc": " Public: Get the number of markers in this editor's buffer.\n\nReturns a {Number}. " - } - }, - "1220": { - "22": { - "name": "hasMultipleCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1220, - 22 - ], - [ - 1224, - 1 - ] - ], - "doc": "Public: Determine if there are multiple cursors. " - } - }, - "1224": { - "14": { - "name": "getCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1224, - 14 - ], - [ - 1224, - 38 - ] - ], - "doc": "Public: Get an Array of all {Cursor}s. " - } - }, - "1227": { - "13": { - "name": "getCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1227, - 13 - ], - [ - 1233, - 1 - ] - ], - "doc": "Public: Get the most recently added {Cursor}. " - } - }, - "1233": { - "29": { - "name": "addCursorAtScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 1233, - 29 - ], - [ - 1240, - 1 - ] - ], - "doc": " Public: Add a cursor at the position in screen coordinates.\n\nReturns a {Cursor}. " - } - }, - "1240": { - "29": { - "name": "addCursorAtBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 1240, - 29 - ], - [ - 1245, - 1 - ] - ], - "doc": " Public: Add a cursor at the given position in buffer coordinates.\n\nReturns a {Cursor}. " - } - }, - "1245": { - "13": { - "name": "addCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1245, - 13 - ], - [ - 1255, - 1 - ] - ], - "doc": "Private: Add a cursor based on the given {DisplayBufferMarker}. " - } - }, - "1255": { - "16": { - "name": "removeCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursor" - ], - "range": [ - [ - 1255, - 16 - ], - [ - 1264, - 1 - ] - ], - "doc": "Private: Remove the given cursor from this editor. " - } - }, - "1264": { - "16": { - "name": "addSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "options" - ], - "range": [ - [ - 1264, - 16 - ], - [ - 1288, - 1 - ] - ], - "doc": " Private: Add a {Selection} based on the given {DisplayBufferMarker}.\n\nmarker - The {DisplayBufferMarker} to highlight\noptions - An {Object} that pertains to the {Selection} constructor.\n\nReturns the new {Selection}. " - } - }, - "1288": { - "30": { - "name": "addSelectionForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 1288, - 30 - ], - [ - 1301, - 1 - ] - ], - "doc": " Public: Add a selection for the given range in buffer coordinates.\n\nbufferRange - A {Range}\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation.\n\nReturns the added {Selection}. " - } - }, - "1301": { - "26": { - "name": "setSelectedBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 1301, - 26 - ], - [ - 1311, - 1 - ] - ], - "doc": " Public: Set the selected range in buffer coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nbufferRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1311": { - "26": { - "name": "setSelectedScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 1311, - 26 - ], - [ - 1321, - 1 - ] - ], - "doc": " Public: Set the selected range in screen coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nscreenRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1321": { - "27": { - "name": "setSelectedBufferRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRanges", - "options" - ], - "range": [ - [ - 1321, - 27 - ], - [ - 1336, - 1 - ] - ], - "doc": " Public: Set the selected ranges in buffer coordinates. If there are multiple\nselections, they are replaced by new selections with the given ranges.\n\nbufferRanges - An {Array} of {Range}s or range-compatible {Array}s.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1336": { - "19": { - "name": "removeSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 1336, - 19 - ], - [ - 1342, - 1 - ] - ], - "doc": "Private: Remove the given selection. " - } - }, - "1342": { - "19": { - "name": "clearSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1342, - 19 - ], - [ - 1347, - 1 - ] - ], - "doc": " Private: Reduce one or more selections to a single empty selection based on the most\nrecently added cursor. " - } - }, - "1347": { - "25": { - "name": "consolidateSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1347, - 25 - ], - [ - 1355, - 1 - ] - ], - "doc": "Private: Reduce multiple selections to the most recently added selection. " - } - }, - "1355": { - "31": { - "name": "selectionScreenRangeChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 1355, - 31 - ], - [ - 1361, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1361": { - "17": { - "name": "getSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1361, - 17 - ], - [ - 1361, - 44 - ] - ], - "doc": " Public: Get current {Selection}s.\n\nReturns: An {Array} of {Selection}s. " - } - }, - "1363": { - "27": { - "name": "selectionsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1363, - 27 - ], - [ - 1374, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1374": { - "16": { - "name": "getSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 1374, - 16 - ], - [ - 1381, - 1 - ] - ], - "doc": " Public: Get the most recent {Selection} or the selection at the given\nindex.\n\nindex - Optional. The index of the selection to return, based on the order\n in which the selections were added.\n\nReturns a {Selection}.\nor the at the specified index. " - } - }, - "1381": { - "20": { - "name": "getLastSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1381, - 20 - ], - [ - 1388, - 1 - ] - ], - "doc": " Public: Get the most recently added {Selection}.\n\nReturns a {Selection}. " - } - }, - "1388": { - "40": { - "name": "getSelectionsOrderedByBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1388, - 40 - ], - [ - 1394, - 1 - ] - ], - "doc": " Public: Get all {Selection}s, ordered by their position in the buffer\ninstead of the order in which they were added.\n\nReturns an {Array} of {Selection}s. " - } - }, - "1394": { - "28": { - "name": "getLastSelectionInBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1394, - 28 - ], - [ - 1403, - 1 - ] - ], - "doc": " Public: Get the last {Selection} based on its position in the buffer.\n\nReturns a {Selection}. " - } - }, - "1403": { - "34": { - "name": "selectionIntersectsBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 1403, - 34 - ], - [ - 1415, - 1 - ] - ], - "doc": " Public: Determine if a given range in buffer coordinates intersects a\nselection.\n\nbufferRange - A {Range} or range-compatible {Array}.\n\nReturns a {Boolean}. " - } - }, - "1415": { - "27": { - "name": "setCursorScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "options" - ], - "range": [ - [ - 1415, - 27 - ], - [ - 1422, - 1 - ] - ], - "doc": " Public: Move the cursor to the given position in screen coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " - } - }, - "1422": { - "27": { - "name": "getCursorScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1422, - 27 - ], - [ - 1428, - 1 - ] - ], - "doc": " Public: Get the position of the most recently added cursor in screen\ncoordinates.\n\nReturns a {Point}. " - } - }, - "1428": { - "22": { - "name": "getCursorScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1428, - 22 - ], - [ - 1439, - 1 - ] - ], - "doc": " Public: Get the row of the most recently added cursor in screen coordinates.\n\nReturns the screen row {Number}. " - } - }, - "1439": { - "27": { - "name": "setCursorBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "options" - ], - "range": [ - [ - 1439, - 27 - ], - [ - 1446, - 1 - ] - ], - "doc": " Public: Move the cursor to the given position in buffer coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " - } - }, - "1446": { - "27": { - "name": "getCursorBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1446, - 27 - ], - [ - 1453, - 1 - ] - ], - "doc": " Public: Get the position of the most recently added cursor in buffer\ncoordinates.\n\nReturns a {Point}. " - } - }, - "1453": { - "26": { - "name": "getSelectedScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1453, - 26 - ], - [ - 1460, - 1 - ] - ], - "doc": " Public: Get the {Range} of the most recently added selection in screen\ncoordinates.\n\nReturns a {Range}. " - } - }, - "1460": { - "26": { - "name": "getSelectedBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1460, - 26 - ], - [ - 1468, - 1 - ] - ], - "doc": " Public: Get the {Range} of the most recently added selection in buffer\ncoordinates.\n\nReturns a {Range}. " - } - }, - "1468": { - "27": { - "name": "getSelectedBufferRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1468, - 27 - ], - [ - 1476, - 1 - ] - ], - "doc": " Public: Get the {Range}s of all selections in buffer coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " - } - }, - "1476": { - "27": { - "name": "getSelectedScreenRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1476, - 27 - ], - [ - 1482, - 1 - ] - ], - "doc": " Public: Get the {Range}s of all selections in screen coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " - } - }, - "1482": { - "19": { - "name": "getSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1482, - 19 - ], - [ - 1490, - 1 - ] - ], - "doc": " Public: Get the selected text of the most recently added selection.\n\nReturns a {String}. " - } - }, - "1490": { - "24": { - "name": "getTextInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 1490, - 24 - ], - [ - 1499, - 1 - ] - ], - "doc": " Public: Get the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\n\nReturns a {String}. " - } - }, - "1499": { - "24": { - "name": "setTextInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range", - "text", - "normalizeLineEndings" - ], - "range": [ - [ - 1499, - 24 - ], - [ - 1499, - 124 - ] - ], - "doc": " Public: Set the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\ntext - A {String}\n\nReturns the {Range} of the newly-inserted text. " - } - }, - "1505": { - "34": { - "name": "getCurrentParagraphBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1505, - 34 - ], - [ - 1511, - 1 - ] - ], - "doc": " Public: Get the {Range} of the paragraph surrounding the most recently added\ncursor.\n\nReturns a {Range}. " - } - }, - "1511": { - "22": { - "name": "getWordUnderCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 1511, - 22 - ], - [ - 1515, - 1 - ] - ], - "doc": " Public: Returns the word surrounding the most recently added cursor.\n\noptions - See {Cursor::getBeginningOfCurrentWordBufferPosition}. " - } - }, - "1515": { - "16": { - "name": "moveCursorUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineCount" - ], - "range": [ - [ - 1515, - 16 - ], - [ - 1519, - 1 - ] - ], - "doc": "Public: Move every cursor up one row in screen coordinates. " - } - }, - "1519": { - "18": { - "name": "moveCursorDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineCount" - ], - "range": [ - [ - 1519, - 18 - ], - [ - 1523, - 1 - ] - ], - "doc": "Public: Move every cursor down one row in screen coordinates. " - } - }, - "1523": { - "18": { - "name": "moveCursorLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1523, - 18 - ], - [ - 1527, - 1 - ] - ], - "doc": "Public: Move every cursor left one column. " - } - }, - "1527": { - "19": { - "name": "moveCursorRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1527, - 19 - ], - [ - 1533, - 1 - ] - ], - "doc": "Public: Move every cursor right one column. " - } - }, - "1533": { - "19": { - "name": "moveCursorToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1533, - 19 - ], - [ - 1539, - 1 - ] - ], - "doc": " Public: Move every cursor to the top of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " - } - }, - "1539": { - "22": { - "name": "moveCursorToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1539, - 22 - ], - [ - 1543, - 1 - ] - ], - "doc": " Public: Move every cursor to the bottom of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " - } - }, - "1543": { - "37": { - "name": "moveCursorToBeginningOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1543, - 37 - ], - [ - 1547, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its line in screen coordinates. " - } - }, - "1547": { - "31": { - "name": "moveCursorToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1547, - 31 - ], - [ - 1551, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its line in buffer coordinates. " - } - }, - "1551": { - "36": { - "name": "moveCursorToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1551, - 36 - ], - [ - 1555, - 1 - ] - ], - "doc": "Public: Move every cursor to the first non-whitespace character of its line. " - } - }, - "1555": { - "31": { - "name": "moveCursorToEndOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1555, - 31 - ], - [ - 1559, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its line in screen coordinates. " - } - }, - "1559": { - "25": { - "name": "moveCursorToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1559, - 25 - ], - [ - 1563, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its line in buffer coordinates. " - } - }, - "1563": { - "31": { - "name": "moveCursorToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1563, - 31 - ], - [ - 1567, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its surrounding word. " - } - }, - "1567": { - "25": { - "name": "moveCursorToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1567, - 25 - ], - [ - 1571, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its surrounding word. " - } - }, - "1571": { - "35": { - "name": "moveCursorToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1571, - 35 - ], - [ - 1575, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the next word. " - } - }, - "1575": { - "36": { - "name": "moveCursorToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1575, - 36 - ], - [ - 1579, - 1 - ] - ], - "doc": "Public: Move every cursor to the previous word boundary. " - } - }, - "1579": { - "32": { - "name": "moveCursorToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1579, - 32 - ], - [ - 1583, - 1 - ] - ], - "doc": "Public: Move every cursor to the next word boundary. " - } - }, - "1583": { - "40": { - "name": "moveCursorToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1583, - 40 - ], - [ - 1587, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the next paragraph. " - } - }, - "1587": { - "44": { - "name": "moveCursorToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1587, - 44 - ], - [ - 1596, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the previous paragraph. " - } - }, - "1596": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 1596, - 26 - ], - [ - 1599, - 1 - ] - ], - "doc": " Public: Scroll the editor to reveal the most recently added cursor if it is\noff-screen.\n\noptions - An optional hash of options.\n :center - Center the editor around the cursor if possible. Defauls to\n true. " - } - }, - "1599": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1599, - 10 - ], - [ - 1604, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1604": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1604, - 12 - ], - [ - 1609, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1609": { - "16": { - "name": "selectPageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1609, - 16 - ], - [ - 1612, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1612": { - "18": { - "name": "selectPageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1612, - 18 - ], - [ - 1616, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1616": { - "18": { - "name": "getRowsPerPage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1616, - 18 - ], - [ - 1619, - 1 - ] - ], - "doc": "Private: Returns the number of rows per page " - } - }, - "1619": { - "15": { - "name": "moveCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1619, - 15 - ], - [ - 1626, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1626": { - "15": { - "name": "cursorMoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 1626, - 15 - ], - [ - 1636, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1636": { - "26": { - "name": "selectToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1636, - 26 - ], - [ - 1645, - 1 - ] - ], - "doc": " Public: Select from the current cursor position to the given position in\nscreen coordinates.\n\nThis method may merge selections that end up intesecting.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "1645": { - "15": { - "name": "selectRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1645, - 15 - ], - [ - 1652, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character rightward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1652": { - "14": { - "name": "selectLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1652, - 14 - ], - [ - 1659, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character leftward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1659": { - "12": { - "name": "selectUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 1659, - 12 - ], - [ - 1666, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character upward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1666": { - "14": { - "name": "selectDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 1666, - 14 - ], - [ - 1673, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character downward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1673": { - "15": { - "name": "selectToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1673, - 15 - ], - [ - 1679, - 1 - ] - ], - "doc": " Public: Select from the top of the buffer to the end of the last selection\nin the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1679": { - "13": { - "name": "selectAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1679, - 13 - ], - [ - 1686, - 1 - ] - ], - "doc": " Public: Select all text in the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1686": { - "18": { - "name": "selectToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1686, - 18 - ], - [ - 1693, - 1 - ] - ], - "doc": " Public: Selects from the top of the first selection in the buffer to the end\nof the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1693": { - "27": { - "name": "selectToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1693, - 27 - ], - [ - 1702, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the beginning of its line\nwhile preserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1702": { - "32": { - "name": "selectToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1702, - 32 - ], - [ - 1709, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the first non-whitespace\ncharacter of its line while preserving the selection's tail position. If the\ncursor is already on the first character of the line, move it to the\nbeginning of the line.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1709": { - "21": { - "name": "selectToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1709, - 21 - ], - [ - 1716, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the end of its line while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1716": { - "32": { - "name": "selectToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1716, - 32 - ], - [ - 1723, - 1 - ] - ], - "doc": " Public: For each selection, move its cursor to the preceding word boundary\nwhile maintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1723": { - "28": { - "name": "selectToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1723, - 28 - ], - [ - 1729, - 1 - ] - ], - "doc": " Public: For each selection, move its cursor to the next word boundary while\nmaintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1729": { - "14": { - "name": "selectLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1729, - 14 - ], - [ - 1740, - 1 - ] - ], - "doc": " Public: For each cursor, select the containing line.\n\nThis method merges selections on successive lines. " - } - }, - "1740": { - "21": { - "name": "addSelectionBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1740, - 21 - ], - [ - 1751, - 1 - ] - ], - "doc": " Public: Add a similarly-shaped selection to the next eligible line below\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next following non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " - } - }, - "1751": { - "21": { - "name": "addSelectionAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1751, - 21 - ], - [ - 1759, - 1 - ] - ], - "doc": " Public: Add a similarly-shaped selection to the next eligible line above\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next preceding non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " - } - }, - "1759": { - "28": { - "name": "splitSelectionsIntoLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1759, - 28 - ], - [ - 1776, - 1 - ] - ], - "doc": " Public: Split multi-line selections into one selection per line.\n\nOperates on all selections. This method breaks apart all multi-line\nselections to create multiple single-line selections that cumulatively cover\nthe same original area. " - } - }, - "1776": { - "13": { - "name": "transpose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1776, - 13 - ], - [ - 1791, - 1 - ] - ], - "doc": " Public: For each selection, transpose the selected text.\n\nIf the selection is empty, the characters preceding and following the cursor\nare swapped. Otherwise, the selected characters are reversed. " - } - }, - "1791": { - "13": { - "name": "upperCase", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1791, - 13 - ], - [ - 1798, - 1 - ] - ], - "doc": " Public: Convert the selected text to upper case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " - } - }, - "1798": { - "13": { - "name": "lowerCase", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1798, - 13 - ], - [ - 1809, - 1 - ] - ], - "doc": " Public: Convert the selected text to lower case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " - } - }, - "1809": { - "13": { - "name": "joinLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1809, - 13 - ], - [ - 1816, - 1 - ] - ], - "doc": " Private: Convert multiple lines to a single line.\n\nOperates on all selections. If the selection is empty, joins the current\nline with the next line. Otherwise it joins all lines that intersect the\nselection.\n\nJoining a line means that multiple lines are converted to a single line with\nthe contents of each of the original non-empty lines separated by a space. " - } - }, - "1816": { - "27": { - "name": "selectToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1816, - 27 - ], - [ - 1823, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of their containing word.\n\nOperates on all selections. Moves the cursor to the beginning of the\ncontaining word while preserving the selection's tail position. " - } - }, - "1823": { - "21": { - "name": "selectToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1823, - 21 - ], - [ - 1830, - 1 - ] - ], - "doc": " Public: Expand selections to the end of their containing word.\n\nOperates on all selections. Moves the cursor to the end of the containing\nword while preserving the selection's tail position. " - } - }, - "1830": { - "31": { - "name": "selectToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1830, - 31 - ], - [ - 1834, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next word.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nword while preserving the selection's tail position. " - } - }, - "1834": { - "14": { - "name": "selectWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1834, - 14 - ], - [ - 1841, - 1 - ] - ], - "doc": "Public: Select the word containing each cursor. " - } - }, - "1841": { - "36": { - "name": "selectToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1841, - 36 - ], - [ - 1848, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " - } - }, - "1848": { - "40": { - "name": "selectToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1848, - 40 - ], - [ - 1856, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " - } - }, - "1856": { - "16": { - "name": "selectMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1856, - 16 - ], - [ - 1863, - 1 - ] - ], - "doc": " Public: Select the range of the given marker if it is valid.\n\nmarker - A {DisplayBufferMarker}\n\nReturns the selected {Range} or `undefined` if the marker is invalid. " - } - }, - "1863": { - "16": { - "name": "mergeCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1863, - 16 - ], - [ - 1873, - 1 - ] - ], - "doc": "Private: Merge cursors that have the same screen position " - } - }, - "1873": { - "27": { - "name": "expandSelectionsForward", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1873, - 27 - ], - [ - 1879, - 1 - ] - ], - "doc": "Private: Calls the given function with each selection, then merges selections " - } - }, - "1879": { - "28": { - "name": "expandSelectionsBackward", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1879, - 28 - ], - [ - 1883, - 1 - ] - ], - "doc": " Private: Calls the given function with each selection, then merges selections in the\nreversed orientation " - } - }, - "1883": { - "22": { - "name": "finalizeSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1883, - 22 - ], - [ - 1889, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1889": { - "31": { - "name": "mergeIntersectingSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1889, - 31 - ], - [ - 1910, - 1 - ] - ], - "doc": " Private: Merges intersecting selections. If passed a function, it executes\nthe function with merging suppressed, then merges intersecting selections\nafterward. " - } - }, - "1910": { - "40": { - "name": "preserveCursorPositionOnBufferReload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1910, - 40 - ], - [ - 1919, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1919": { - "14": { - "name": "getGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1919, - 14 - ], - [ - 1926, - 1 - ] - ], - "doc": "Public: Get the current {Grammar} of this editor. " - } - }, - "1926": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 1926, - 14 - ], - [ - 1930, - 1 - ] - ], - "doc": " Public: Set the current {Grammar} of this editor.\n\nAssigning a grammar will cause the editor to re-tokenize based on the new\ngrammar. " - } - }, - "1930": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1930, - 17 - ], - [ - 1933, - 1 - ] - ], - "doc": "Private: Reload the grammar based on the file name. " - } - }, - "1933": { - "20": { - "name": "shouldAutoIndent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1933, - 20 - ], - [ - 1944, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1944": { - "12": { - "name": "transact", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1944, - 12 - ], - [ - 1944, - 39 - ] - ], - "doc": " Public: Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " - } - }, - "1952": { - "20": { - "name": "beginTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1952, - 20 - ], - [ - 1952, - 48 - ] - ], - "doc": " Public: Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " - } - }, - "1958": { - "21": { - "name": "commitTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1958, - 21 - ], - [ - 1958, - 50 - ] - ], - "doc": " Public: Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " - } - }, - "1962": { - "20": { - "name": "abortTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1962, - 20 - ], - [ - 1962, - 48 - ] - ], - "doc": " Public: Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " - } - }, - "1964": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1964, - 11 - ], - [ - 1967, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1967": { - "18": { - "name": "logScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 1967, - 18 - ], - [ - 1967, - 68 - ] - ], - "doc": "~Private~" - } - }, - "1969": { - "22": { - "name": "handleTokenization", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1969, - 22 - ], - [ - 1972, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1972": { - "23": { - "name": "handleGrammarChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1972, - 23 - ], - [ - 1976, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1976": { - "23": { - "name": "handleMarkerCreated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1976, - 23 - ], - [ - 1980, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1980": { - "32": { - "name": "getSelectionMarkerAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1980, - 32 - ], - [ - 1983, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1983": { - "27": { - "name": "getVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1983, - 27 - ], - [ - 1983, - 69 - ] - ], - "doc": "~Private~" - } - }, - "1984": { - "27": { - "name": "setVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "verticalScrollMargin" - ], - "range": [ - [ - 1984, - 27 - ], - [ - 1984, - 112 - ] - ] - } - }, - "1986": { - "29": { - "name": "getHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1986, - 29 - ], - [ - 1986, - 73 - ] - ], - "doc": "~Private~" - } - }, - "1987": { - "29": { - "name": "setHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "horizontalScrollMargin" - ], - "range": [ - [ - 1987, - 29 - ], - [ - 1987, - 120 - ] - ] - } - }, - "1989": { - "25": { - "name": "getLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1989, - 25 - ], - [ - 1989, - 65 - ] - ], - "doc": "~Private~" - } - }, - "1990": { - "25": { - "name": "setLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeightInPixels" - ], - "range": [ - [ - 1990, - 25 - ], - [ - 1990, - 104 - ] - ] - } - }, - "1992": { - "29": { - "name": "batchCharacterMeasurement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1992, - 29 - ], - [ - 1992, - 80 - ] - ], - "doc": "~Private~" - } - }, - "1994": { - "22": { - "name": "getScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char" - ], - "range": [ - [ - 1994, - 22 - ], - [ - 1994, - 94 - ] - ], - "doc": "~Private~" - } - }, - "1995": { - "22": { - "name": "setScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char", - "width" - ], - "range": [ - [ - 1995, - 22 - ], - [ - 1995, - 108 - ] - ] - } - }, - "1997": { - "23": { - "name": "getScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames" - ], - "range": [ - [ - 1997, - 23 - ], - [ - 1997, - 84 - ] - ], - "doc": "~Private~" - } - }, - "1999": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1999, - 25 - ], - [ - 1999, - 65 - ] - ], - "doc": "~Private~" - } - }, - "2001": { - "23": { - "name": "getDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2001, - 23 - ], - [ - 2001, - 61 - ] - ], - "doc": "~Private~" - } - }, - "2002": { - "23": { - "name": "setDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultCharWidth" - ], - "range": [ - [ - 2002, - 23 - ], - [ - 2002, - 96 - ] - ] - } - }, - "2004": { - "13": { - "name": "setHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "height" - ], - "range": [ - [ - 2004, - 13 - ], - [ - 2004, - 56 - ] - ], - "doc": "~Private~" - } - }, - "2005": { - "13": { - "name": "getHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2005, - 13 - ], - [ - 2005, - 41 - ] - ] - } - }, - "2007": { - "19": { - "name": "getClientHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2007, - 19 - ], - [ - 2007, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2009": { - "12": { - "name": "setWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width" - ], - "range": [ - [ - 2009, - 12 - ], - [ - 2009, - 52 - ] - ], - "doc": "~Private~" - } - }, - "2010": { - "12": { - "name": "getWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2010, - 12 - ], - [ - 2010, - 39 - ] - ] - } - }, - "2012": { - "16": { - "name": "getScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2012, - 16 - ], - [ - 2012, - 47 - ] - ], - "doc": "~Private~" - } - }, - "2013": { - "16": { - "name": "setScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 2013, - 16 - ], - [ - 2013, - 68 - ] - ] - } - }, - "2015": { - "19": { - "name": "getScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2015, - 19 - ], - [ - 2015, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2016": { - "19": { - "name": "setScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 2016, - 19 - ], - [ - 2016, - 80 - ] - ] - } - }, - "2018": { - "17": { - "name": "getScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2018, - 17 - ], - [ - 2018, - 49 - ] - ], - "doc": "~Private~" - } - }, - "2019": { - "17": { - "name": "setScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 2019, - 17 - ], - [ - 2019, - 72 - ] - ] - } - }, - "2021": { - "18": { - "name": "getScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2021, - 18 - ], - [ - 2021, - 51 - ] - ], - "doc": "~Private~" - } - }, - "2022": { - "18": { - "name": "setScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 2022, - 18 - ], - [ - 2022, - 76 - ] - ] - } - }, - "2024": { - "19": { - "name": "getScrollHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2024, - 19 - ], - [ - 2024, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2025": { - "18": { - "name": "getScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollWidth" - ], - "range": [ - [ - 2025, - 18 - ], - [ - 2025, - 76 - ] - ] - } - }, - "2027": { - "22": { - "name": "getVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2027, - 22 - ], - [ - 2027, - 59 - ] - ], - "doc": "~Private~" - } - }, - "2029": { - "29": { - "name": "intersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 2029, - 29 - ], - [ - 2029, - 108 - ] - ], - "doc": "~Private~" - } - }, - "2031": { - "38": { - "name": "selectionIntersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 2031, - 38 - ], - [ - 2031, - 112 - ] - ], - "doc": "~Private~" - } - }, - "2033": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 2033, - 34 - ], - [ - 2033, - 114 - ] - ], - "doc": "~Private~" - } - }, - "2035": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 2035, - 34 - ], - [ - 2035, - 114 - ] - ], - "doc": "~Private~" - } - }, - "2037": { - "34": { - "name": "screenPositionForPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 2037, - 34 - ], - [ - 2037, - 112 - ] - ], - "doc": "~Private~" - } - }, - "2039": { - "27": { - "name": "pixelRectForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 2039, - 27 - ], - [ - 2039, - 94 - ] - ], - "doc": "~Private~" - } - }, - "2041": { - "23": { - "name": "scrollToScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 2041, - 23 - ], - [ - 2041, - 104 - ] - ], - "doc": "~Private~" - } - }, - "2043": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 2043, - 26 - ], - [ - 2043, - 116 - ] - ], - "doc": "~Private~" - } - }, - "2045": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 2045, - 26 - ], - [ - 2045, - 116 - ] - ], - "doc": "~Private~" - } - }, - "2047": { - "26": { - "name": "horizontallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2047, - 26 - ], - [ - 2047, - 67 - ] - ], - "doc": "~Private~" - } - }, - "2049": { - "24": { - "name": "verticallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2049, - 24 - ], - [ - 2049, - 63 - ] - ], - "doc": "~Private~" - } - }, - "2051": { - "32": { - "name": "getHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2051, - 32 - ], - [ - 2051, - 79 - ] - ], - "doc": "~Private~" - } - }, - "2052": { - "32": { - "name": "setHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "height" - ], - "range": [ - [ - 2052, - 32 - ], - [ - 2052, - 94 - ] - ] - } - }, - "2054": { - "29": { - "name": "getVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2054, - 29 - ], - [ - 2054, - 73 - ] - ], - "doc": "~Private~" - } - }, - "2055": { - "29": { - "name": "setVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width" - ], - "range": [ - [ - 2055, - 29 - ], - [ - 2055, - 86 - ] - ] - } - }, - "2058": { - "12": { - "name": "joinLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2058, - 12 - ], - [ - 2060, - 16 - ] - ], - "doc": "Deprecated: Call {::joinLines} instead. " - } - } - }, - "exports": 138 - }, - "src/fold.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "7": { - "0": { - "type": "class", - "name": "Fold", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 8, - 6 - ], - [ - 9, - 17 - ], - [ - 10, - 10 - ], - [ - 12, - 15 - ], - [ - 20, - 22 - ], - [ - 27, - 11 - ], - [ - 35, - 18 - ], - [ - 48, - 21 - ], - [ - 53, - 15 - ], - [ - 57, - 13 - ], - [ - 61, - 11 - ], - [ - 67, - 21 - ], - [ - 75, - 21 - ], - [ - 78, - 23 - ], - [ - 82, - 13 - ] - ], - "doc": " Private: Represents a fold that collapses multiple buffer lines into a single\nline on the screen.\n\nTheir creation is managed by the {DisplayBuffer}. ", - "range": [ - [ - 7, - 0 - ], - [ - 84, - 26 - ] - ] - } - }, - "8": { - "6": { - "name": "id", - "type": "primitive", - "range": [ - [ - 8, - 6 - ], - [ - 8, - 9 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "17": { - "name": "displayBuffer", - "type": "primitive", - "range": [ - [ - 9, - 17 - ], - [ - 9, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "10": { - "name": "marker", - "type": "primitive", - "range": [ - [ - 10, - 10 - ], - [ - 10, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 20, - 1 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "22": { - "name": "isInsideLargerFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 22 - ], - [ - 27, - 1 - ] - ], - "doc": "Private: Returns whether this fold is contained within another fold " - } - }, - "27": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 11 - ], - [ - 35, - 1 - ] - ], - "doc": "Private: Destroys this fold " - } - }, - "35": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 35, - 18 - ], - [ - 48, - 1 - ] - ], - "doc": " Private: Returns the fold's {Range} in buffer coordinates\n\nincludeNewline - A {Boolean} which, if `true`, includes the trailing newline\n\nReturns a {Range}. " - } - }, - "48": { - "21": { - "name": "getBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 21 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "15": { - "name": "getStartRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 15 - ], - [ - 57, - 1 - ] - ], - "doc": "Private: Returns the fold's start row as a {Number}. " - } - }, - "57": { - "13": { - "name": "getEndRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 13 - ], - [ - 61, - 1 - ] - ], - "doc": "Private: Returns the fold's end row as a {Number}. " - } - }, - "61": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 11 - ], - [ - 67, - 1 - ] - ], - "doc": "Private: Returns a {String} representation of the fold. " - } - }, - "67": { - "21": { - "name": "getBufferRowCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 21 - ], - [ - 75, - 1 - ] - ], - "doc": " Private: Retrieves the number of buffer rows spanned by the fold.\n\nReturns a {Number}. " - } - }, - "75": { - "21": { - "name": "isContainedByFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fold" - ], - "range": [ - [ - 75, - 21 - ], - [ - 78, - 1 - ] - ], - "doc": " Private: Identifies if a fold is nested within a fold.\n\nfold - A {Fold} to check\n\nReturns a {Boolean}. " - } - }, - "78": { - "23": { - "name": "updateDisplayBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 78, - 23 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 13 - ], - [ - 84, - 26 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 7 - }, - "src/git.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true, - "name": "join", - "exportsProperty": "join" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@2.x" - } - }, - "5": { - "11": { - "name": "GitUtils", - "type": "import", - "range": [ - [ - 5, - 11 - ], - [ - 5, - 29 - ] - ], - "bindingType": "variable", - "module": "git-utils" - } - }, - "7": { - "7": { - "name": "Task", - "type": "import", - "range": [ - [ - 7, - 7 - ], - [ - 7, - 22 - ] - ], - "bindingType": "variable", - "path": "./task" - } - }, - "40": { - "0": { - "type": "class", - "name": "Git", - "bindingType": "exports", - "classProperties": [ - [ - 52, - 9 - ], - [ - 59, - 11 - ] - ], - "prototypeProperties": [ - [ - 66, - 15 - ], - [ - 89, - 21 - ], - [ - 97, - 11 - ], - [ - 109, - 11 - ], - [ - 117, - 16 - ], - [ - 120, - 11 - ], - [ - 124, - 23 - ], - [ - 132, - 17 - ], - [ - 149, - 17 - ], - [ - 152, - 20 - ], - [ - 155, - 18 - ], - [ - 158, - 15 - ], - [ - 161, - 13 - ], - [ - 165, - 19 - ], - [ - 169, - 14 - ], - [ - 181, - 16 - ], - [ - 196, - 16 - ], - [ - 209, - 21 - ], - [ - 222, - 16 - ], - [ - 231, - 15 - ], - [ - 247, - 22 - ], - [ - 265, - 16 - ], - [ - 276, - 18 - ], - [ - 282, - 16 - ], - [ - 291, - 21 - ], - [ - 298, - 22 - ], - [ - 310, - 17 - ], - [ - 318, - 23 - ], - [ - 330, - 37 - ], - [ - 338, - 23 - ], - [ - 342, - 13 - ], - [ - 346, - 17 - ] - ], - "doc": " Public: Represents the underlying git operations performed by Atom.\n\nThis class shouldn't be instantiated directly but instead by accessing the\n`atom.project` global and calling `getRepo()`. Note that this will only be\navailable when the project is backed by a Git repository.\n\nThis class handles submodules automatically by taking a `path` argument to many\nof the methods. This `path` argument will determine which underlying\nrepository is used.\n\nFor a repository with submodules this would have the following outcome:\n\n```coffee\nrepo = atom.project.getRepo()\nrepo.getShortHead() # 'master'\nrepo.getShortHead('vendor/path/to/a/submodule') # 'dead1234'\n```\n\n## Example\n\n```coffeescript\ngit = atom.project.getRepo()\nconsole.log git.getOriginUrl()\n```\n\n## Requiring in packages\n\n```coffee\n {Git} = require 'atom'\n``` ", - "range": [ - [ - 40, - 0 - ], - [ - 364, - 55 - ] - ] - } - }, - "52": { - "9": { - "name": "open", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "path", - "options" - ], - "range": [ - [ - 52, - 9 - ], - [ - 59, - 1 - ] - ], - "doc": " Public: Creates a new Git instance.\n\npath - The path to the Git repository to open.\noptions - An object with the following keys (default: {}):\n :refreshOnWindowFocus - `true` to refresh the index and statuses when the\n window is focused.\n\nReturns a Git instance or null if the repository could not be opened. " - } - }, - "59": { - "11": { - "name": "exists", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 59, - 11 - ], - [ - 66, - 1 - ] - ], - "doc": "~Private~" - } - }, - "66": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "options" - ], - "range": [ - [ - 66, - 15 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "subscribeToBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer" - ], - "range": [ - [ - 89, - 21 - ], - [ - 97, - 1 - ] - ], - "doc": "Private: Subscribes to buffer events. " - } - }, - "97": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 97, - 11 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Destroy this `Git` object. This destroys any tasks and subscriptions\nand releases the underlying libgit2 repository handle. " - } - }, - "109": { - "11": { - "name": "getRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 109, - 11 - ], - [ - 117, - 1 - ] - ], - "doc": "Private: Returns the corresponding {Repository} " - } - }, - "117": { - "16": { - "name": "refreshIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 16 - ], - [ - 117, - 43 - ] - ], - "doc": " Private: Reread the index to update any values that have changed since the\nlast time the index was read. " - } - }, - "120": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 120, - 11 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Returns the {String} path of the repository. " - } - }, - "124": { - "23": { - "name": "getWorkingDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 23 - ], - [ - 124, - 57 - ] - ], - "doc": "Public: Returns the {String} working directory path of the repository. " - } - }, - "132": { - "17": { - "name": "getPathStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 132, - 17 - ], - [ - 149, - 1 - ] - ], - "doc": " Public: Get the status of a single path in the repository.\n\npath - A {String} repository-relative path.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " - } - }, - "149": { - "17": { - "name": "isPathIgnored", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 149, - 17 - ], - [ - 149, - 65 - ] - ], - "doc": " Public: Is the given path ignored?\n\nReturns a {Boolean}. " - } - }, - "152": { - "20": { - "name": "isStatusModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 152, - 20 - ], - [ - 152, - 66 - ] - ], - "doc": "Public: Returns true if the given status indicates modification. " - } - }, - "155": { - "18": { - "name": "isPathModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 155, - 18 - ], - [ - 155, - 66 - ] - ], - "doc": "Public: Returns true if the given path is modified. " - } - }, - "158": { - "15": { - "name": "isStatusNew", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 158, - 15 - ], - [ - 158, - 56 - ] - ], - "doc": "Public: Returns true if the given status indicates a new path. " - } - }, - "161": { - "13": { - "name": "isPathNew", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 161, - 13 - ], - [ - 161, - 56 - ] - ], - "doc": "Public: Returns true if the given path is new. " - } - }, - "165": { - "19": { - "name": "isProjectAtRoot", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 19 - ], - [ - 169, - 1 - ] - ], - "doc": " Public: Returns true if at the root, false if in a subfolder of the\nrepository. " - } - }, - "169": { - "14": { - "name": "relativize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 169, - 14 - ], - [ - 169, - 50 - ] - ], - "doc": "Public: Makes a path relative to the repository's working directory. " - } - }, - "181": { - "16": { - "name": "getShortHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 181, - 16 - ], - [ - 181, - 54 - ] - ], - "doc": " Public: Retrieves a shortened version of the HEAD reference value.\n\nThis removes the leading segments of `refs/heads`, `refs/tags`, or\n`refs/remotes`. It also shortens the SHA-1 of a detached `HEAD` to 7\ncharacters.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository contains submodules.\n\nReturns a {String}. " - } - }, - "196": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 196, - 16 - ], - [ - 209, - 1 - ] - ], - "doc": " Public: Restore the contents of a path in the working directory and index\nto the version at `HEAD`.\n\nThis is essentially the same as running:\n\n```\ngit reset HEAD -- \ngit checkout HEAD -- \n```\n\npath - The {String} path to checkout.\n\nReturns a {Boolean} that's true if the method was successful. " - } - }, - "209": { - "21": { - "name": "checkoutReference", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "create" - ], - "range": [ - [ - 209, - 21 - ], - [ - 222, - 1 - ] - ], - "doc": " Public: Checks out a branch in your repository.\n\nreference - The String reference to checkout\ncreate - A Boolean value which, if true creates the new reference if it\n doesn't exist.\n\nReturns a Boolean that's true if the method was successful. " - } - }, - "222": { - "16": { - "name": "getDiffStats", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 222, - 16 - ], - [ - 231, - 1 - ] - ], - "doc": " Public: Retrieves the number of lines added and removed to a path.\n\nThis compares the working directory contents of the path to the `HEAD`\nversion.\n\npath - The {String} path to check.\n\nReturns an {Object} with the following keys:\n :added - The {Number} of added lines.\n :deleted - The {Number} of deleted lines. " - } - }, - "231": { - "15": { - "name": "isSubmodule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 231, - 15 - ], - [ - 247, - 1 - ] - ], - "doc": " Public: Is the given path a submodule in the repository?\n\npath - The {String} path to check.\n\nReturns a {Boolean}. " - } - }, - "247": { - "22": { - "name": "getDirectoryStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "directoryPath" - ], - "range": [ - [ - 247, - 22 - ], - [ - 265, - 1 - ] - ], - "doc": " Public: Get the status of a directory in the repository's working directory.\n\npath - The {String} path to check.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " - } - }, - "265": { - "16": { - "name": "getLineDiffs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "text" - ], - "range": [ - [ - 265, - 16 - ], - [ - 276, - 1 - ] - ], - "doc": " Public: Retrieves the line diffs comparing the `HEAD` version of the given\npath and the given text.\n\npath - The {String} path relative to the repository.\ntext - The {String} to compare against the `HEAD` contents\n\nReturns an {Array} of hunk {Object}s with the following keys:\n :oldStart - The line {Number} of the old hunk.\n :newStart - The line {Number} of the new hunk.\n :oldLines - The {Number} of lines in the old hunk.\n :newLines - The {Number} of lines in the new hunk " - } - }, - "276": { - "18": { - "name": "getConfigValue", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "key", - "path" - ], - "range": [ - [ - 276, - 18 - ], - [ - 276, - 66 - ] - ], - "doc": " Public: Returns the git configuration value specified by the key.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " - } - }, - "282": { - "16": { - "name": "getOriginUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 282, - 16 - ], - [ - 282, - 67 - ] - ], - "doc": " Public: Returns the origin url of the repository.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " - } - }, - "291": { - "21": { - "name": "getUpstreamBranch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 291, - 21 - ], - [ - 291, - 64 - ] - ], - "doc": " Public: Returns the upstream branch for the current HEAD, or null if there\nis no upstream branch for the current HEAD.\n\npath - An optional {String} path in the repo to get this information for,\n only needed if the repository contains submodules.\n\nReturns a {String} branch name such as `refs/remotes/origin/master`. " - } - }, - "298": { - "22": { - "name": "getReferenceTarget", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "path" - ], - "range": [ - [ - 298, - 22 - ], - [ - 310, - 1 - ] - ], - "doc": " Public: Returns the current SHA for the given reference.\n\nreference - The {String} reference to get the target of.\npath - An optional {String} path in the repo to get the reference target\n for. Only needed if the repository contains submodules. " - } - }, - "310": { - "17": { - "name": "getReferences", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 310, - 17 - ], - [ - 310, - 56 - ] - ], - "doc": " Public: Gets all the local and remote references.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :heads - An {Array} of head reference names.\n :remotes - An {Array} of remote reference names.\n :tags - An {Array} of tag reference names. " - } - }, - "318": { - "23": { - "name": "getAheadBehindCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "path" - ], - "range": [ - [ - 318, - 23 - ], - [ - 330, - 1 - ] - ], - "doc": " Public: Returns the number of commits behind the current branch is from the\nits upstream remote branch.\n\nreference - The {String} branch reference name.\npath - The {String} path in the repository to get this information for,\n only needed if the repository contains submodules. " - } - }, - "330": { - "37": { - "name": "getCachedUpstreamAheadBehindCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 330, - 37 - ], - [ - 338, - 1 - ] - ], - "doc": " Public: Get the cached ahead/behind commit counts for the current branch's\nupstream branch.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :ahead - The {Number} of commits ahead.\n :behind - The {Number} of commits behind. " - } - }, - "338": { - "23": { - "name": "getCachedPathStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 338, - 23 - ], - [ - 342, - 1 - ] - ], - "doc": " Public: Get the cached status for the given path.\n\npath - A {String} path in the repository, relative or absolute.\n\nReturns a status {Number} or null if the path is not in the cache. " - } - }, - "342": { - "13": { - "name": "hasBranch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "branch" - ], - "range": [ - [ - 342, - 13 - ], - [ - 342, - 68 - ] - ], - "doc": "Public: Returns true if the given branch exists. " - } - }, - "346": { - "17": { - "name": "refreshStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 17 - ], - [ - 364, - 55 - ] - ], - "doc": " Private: Refreshes the current git status in an outside process and asynchronously\nupdates the relevant properties. " - } - } - }, - "exports": 40 - }, - "src/gutter-component.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqual", - "exportsProperty": "isEqual" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 29 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "32": { - "type": "import", - "range": [ - [ - 3, - 32 - ], - [ - 3, - 45 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "multiplyString", - "exportsProperty": "multiplyString" - }, - "48": { - "type": "import", - "range": [ - [ - 3, - 48 - ], - [ - 3, - 54 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "toArray", - "exportsProperty": "toArray" - } - }, - "4": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 4, - 13 - ], - [ - 4, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "5": { - "18": { - "name": "SubscriberMixin", - "type": "import", - "range": [ - [ - 5, - 18 - ], - [ - 5, - 45 - ] - ], - "bindingType": "variable", - "path": "./subscriber-mixin" - } - }, - "7": { - "13": { - "name": "WrapperDiv", - "type": "function", - "range": [ - [ - 7, - 13 - ], - [ - 7, - 41 - ] - ] - } - }, - "10": { - "18": { - "name": "GutterComponent", - "type": "function", - "range": [ - [ - 10, - 18 - ], - [ - 227, - 39 - ] - ] - } - }, - "11": { - "15": { - "name": "'GutterComponent'", - "type": "primitive", - "range": [ - [ - 11, - 15 - ], - [ - 11, - 31 - ] - ] - } - }, - "12": { - "10": { - "type": "primitive", - "range": [ - [ - 12, - 10 - ], - [ - 12, - 26 - ] - ] - } - }, - "14": { - "23": { - "type": "primitive", - "range": [ - [ - 14, - 23 - ], - [ - 14, - 26 - ] - ] - } - }, - "15": { - "17": { - "type": "primitive", - "range": [ - [ - 15, - 17 - ], - [ - 15, - 20 - ] - ] - } - }, - "17": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 10 - ], - [ - 29, - 1 - ] - ], - "doc": null - } - }, - "29": { - "16": { - "name": "getTransform", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 16 - ], - [ - 37, - 1 - ] - ], - "doc": null - } - }, - "37": { - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 37, - 22 - ], - [ - 43, - 1 - ] - ], - "doc": null - } - }, - "43": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 21 - ], - [ - 50, - 1 - ] - ], - "doc": null - } - }, - "50": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 50, - 25 - ], - [ - 64, - 1 - ] - ], - "doc": null - } - }, - "64": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "oldProps" - ], - "range": [ - [ - 64, - 22 - ], - [ - 74, - 1 - ] - ], - "doc": null - } - }, - "74": { - "24": { - "name": "clearScreenRowCaches", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 24 - ], - [ - 80, - 1 - ] - ], - "doc": null - } - }, - "80": { - "25": { - "name": "appendDummyLineNumber", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 80, - 25 - ], - [ - 86, - 1 - ] - ], - "doc": null - } - }, - "86": { - "25": { - "name": "updateDummyLineNumber", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 25 - ], - [ - 89, - 1 - ] - ], - "doc": null - } - }, - "89": { - "21": { - "name": "updateLineNumbers", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 93, - 1 - ] - ], - "doc": null - } - }, - "93": { - "40": { - "name": "appendOrUpdateVisibleLineNumberNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 93, - 40 - ], - [ - 138, - 1 - ] - ], - "doc": null - } - }, - "138": { - "25": { - "name": "removeLineNumberNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberIdsToPreserve" - ], - "range": [ - [ - 138, - 25 - ], - [ - 150, - 1 - ] - ], - "doc": null - } - }, - "150": { - "23": { - "name": "buildLineNumberHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bufferRow", - "softWrapped", - "maxLineNumberDigits", - "screenRow" - ], - "range": [ - [ - 150, - 23 - ], - [ - 169, - 1 - ] - ], - "doc": null - } - }, - "169": { - "28": { - "name": "buildLineNumberInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bufferRow", - "softWrapped", - "maxLineNumberDigits" - ], - "range": [ - [ - 169, - 28 - ], - [ - 179, - 1 - ] - ], - "doc": null - } - }, - "179": { - "24": { - "name": "updateLineNumberNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberId", - "bufferRow", - "screenRow", - "softWrapped" - ], - "range": [ - [ - 179, - 24 - ], - [ - 208, - 1 - ] - ], - "doc": null - } - }, - "208": { - "17": { - "name": "hasDecoration", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "decorations", - "decoration" - ], - "range": [ - [ - 208, - 17 - ], - [ - 211, - 1 - ] - ], - "doc": null - } - }, - "211": { - "21": { - "name": "hasLineNumberNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberId" - ], - "range": [ - [ - 211, - 21 - ], - [ - 214, - 1 - ] - ], - "doc": null - } - }, - "214": { - "30": { - "name": "lineNumberNodeForScreenRow", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 214, - 30 - ], - [ - 217, - 1 - ] - ], - "doc": null - } - }, - "217": { - "11": { - "name": "onClick", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 217, - 11 - ], - [ - 227, - 39 - ] - ], - "doc": null - } - } - }, - "exports": 10 - }, - "src/gutter-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "10": { - "type": "import", - "range": [ - [ - 0, - 10 - ], - [ - 0, - 11 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - }, - "14": { - "type": "import", - "range": [ - [ - 0, - 14 - ], - [ - 0, - 16 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$$", - "exportsProperty": "$$$" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "8": { - "0": { - "type": "class", - "name": "GutterView", - "bindingType": "exports", - "classProperties": [ - [ - 9, - 12 - ] - ], - "prototypeProperties": [ - [ - 13, - 18 - ], - [ - 14, - 17 - ], - [ - 16, - 14 - ], - [ - 19, - 15 - ], - [ - 28, - 16 - ], - [ - 31, - 21 - ], - [ - 53, - 17 - ], - [ - 56, - 13 - ], - [ - 62, - 22 - ], - [ - 68, - 25 - ], - [ - 74, - 33 - ], - [ - 83, - 24 - ], - [ - 91, - 22 - ], - [ - 101, - 27 - ], - [ - 115, - 18 - ], - [ - 126, - 23 - ], - [ - 135, - 21 - ], - [ - 169, - 23 - ], - [ - 175, - 22 - ], - [ - 179, - 22 - ], - [ - 190, - 21 - ], - [ - 194, - 25 - ], - [ - 221, - 25 - ], - [ - 235, - 24 - ], - [ - 242, - 20 - ], - [ - 250, - 18 - ] - ], - "doc": " Private: Represents the portion of the {EditorView} containing row numbers.\n\nThe gutter also indicates if rows are folded. ", - "range": [ - [ - 8, - 0 - ], - [ - 274, - 29 - ] - ] - } - }, - "9": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 12 - ], - [ - 13, - 1 - ] - ] - } - }, - "13": { - "18": { - "name": "firstScreenRow", - "type": "primitive", - "range": [ - [ - 13, - 18 - ], - [ - 13, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "17": { - "name": "lastScreenRow", - "type": "primitive", - "range": [ - [ - 14, - 17 - ], - [ - 14, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 14 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 19, - 15 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 16 - ], - [ - 31, - 1 - ] - ], - "doc": "~Private~" - } - }, - "31": { - "21": { - "name": "handleMouseEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 31, - 21 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "17": { - "name": "getEditorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 17 - ], - [ - 56, - 1 - ] - ], - "doc": " Private: Retrieves the containing {EditorView}.\n\nReturns an {EditorView}. " - } - }, - "56": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 13 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "22": { - "name": "setShowLineNumbers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showLineNumbers" - ], - "range": [ - [ - 62, - 22 - ], - [ - 68, - 1 - ] - ], - "doc": " Private: Defines whether to show the gutter or not.\n\nshowLineNumbers - A {Boolean} which, if `false`, hides the gutter " - } - }, - "68": { - "25": { - "name": "getLineNumberElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 25 - ], - [ - 74, - 1 - ] - ], - "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " - } - }, - "74": { - "33": { - "name": "getLineNumberElementsForClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 74, - 33 - ], - [ - 83, - 1 - ] - ], - "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " - } - }, - "83": { - "24": { - "name": "getLineNumberElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 83, - 24 - ], - [ - 91, - 1 - ] - ], - "doc": " Private: Get a single line-number div.\n\n* bufferRow: 0 based line number\n\nReturns a list of {HTMLElement}s that correspond to the bufferRow. More than\none in the list indicates a wrapped line. " - } - }, - "91": { - "22": { - "name": "addClassToAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 91, - 22 - ], - [ - 101, - 1 - ] - ], - "doc": " Private: Add a class to all line-number divs.\n\n* klass: string class name\n\nReturns true if the class was added to any lines " - } - }, - "101": { - "27": { - "name": "removeClassFromAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 101, - 27 - ], - [ - 115, - 1 - ] - ], - "doc": " Private: Remove a class from all line-number divs.\n\n* klass: string class name. Can only be one class name. i.e. 'my-class'\n\nReturns true if the class was removed from any lines " - } - }, - "115": { - "18": { - "name": "addClassToLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "klass" - ], - "range": [ - [ - 115, - 18 - ], - [ - 126, - 1 - ] - ], - "doc": " Private: Add a class to a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was added to " - } - }, - "126": { - "23": { - "name": "removeClassFromLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "klass" - ], - "range": [ - [ - 126, - 23 - ], - [ - 135, - 1 - ] - ], - "doc": " Private: Remove a class from a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was removed from " - } - }, - "135": { - "21": { - "name": "updateLineNumbers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "changes", - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 135, - 21 - ], - [ - 169, - 1 - ] - ], - "doc": "~Private~" - } - }, - "169": { - "23": { - "name": "prependLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElements" - ], - "range": [ - [ - 169, - 23 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "22": { - "name": "appendLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElements" - ], - "range": [ - [ - 175, - 22 - ], - [ - 179, - 1 - ] - ], - "doc": "~Private~" - } - }, - "179": { - "22": { - "name": "removeLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "numberOfElements" - ], - "range": [ - [ - 179, - 22 - ], - [ - 190, - 1 - ] - ], - "doc": "~Private~" - } - }, - "190": { - "21": { - "name": "buildLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 190, - 21 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "25": { - "name": "buildLineElementsHtml", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 194, - 25 - ], - [ - 221, - 1 - ] - ], - "doc": "~Private~" - } - }, - "221": { - "25": { - "name": "updateFoldableClasses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "changes" - ], - "range": [ - [ - 221, - 25 - ], - [ - 235, - 1 - ] - ], - "doc": " Private: Called to update the 'foldable' class of line numbers when there's\na change to the display buffer that doesn't regenerate all the line numbers\nanyway. " - } - }, - "235": { - "24": { - "name": "removeLineHighlights", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 235, - 24 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "20": { - "name": "addLineHighlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "emptySelection" - ], - "range": [ - [ - 242, - 20 - ], - [ - 250, - 1 - ] - ], - "doc": "~Private~" - } - }, - "250": { - "18": { - "name": "highlightLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 250, - 18 - ], - [ - 274, - 29 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/highlight-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "21": { - "name": "HighlightComponent", - "type": "function", - "range": [ - [ - 5, - 21 - ], - [ - 89, - 110 - ] - ] - } - }, - "6": { - "15": { - "name": "'HighlightComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 34 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 20, - 1 - ] - ], - "doc": null - } - }, - "20": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 21 - ], - [ - 27, - 1 - ] - ], - "doc": null - } - }, - "27": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 24 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "23": { - "name": "startFlashAnimation", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 23 - ], - [ - 42, - 1 - ] - ], - "doc": null - } - }, - "42": { - "27": { - "name": "renderSingleLineRegions", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 27 - ], - [ - 53, - 1 - ] - ], - "doc": null - } - }, - "53": { - "26": { - "name": "renderMultiLineRegions", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 26 - ], - [ - 88, - 1 - ] - ], - "doc": null - } - }, - "88": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 88, - 25 - ], - [ - 89, - 110 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/highlights-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "3": { - "21": { - "name": "HighlightComponent", - "type": "import", - "range": [ - [ - 3, - 21 - ], - [ - 3, - 51 - ] - ], - "bindingType": "variable", - "path": "./highlight-component" - } - }, - "6": { - "22": { - "name": "HighlightsComponent", - "type": "function", - "range": [ - [ - 6, - 22 - ], - [ - 24, - 148 - ] - ] - } - }, - "7": { - "15": { - "name": "'HighlightsComponent'", - "type": "primitive", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 35 - ] - ] - } - }, - "9": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 10 - ], - [ - 13, - 1 - ] - ], - "doc": null - } - }, - "13": { - "20": { - "name": "renderHighlights", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 20 - ], - [ - 23, - 1 - ] - ], - "doc": null - } - }, - "23": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 23, - 25 - ], - [ - 24, - 148 - ] - ], - "doc": null - } - } - }, - "exports": 6 - }, - "src/input-component.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "last", - "exportsProperty": "last" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 13 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqual", - "exportsProperty": "isEqual" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "input", - "exportsProperty": "input" - } - }, - "5": { - "17": { - "name": "InputComponent", - "type": "function", - "range": [ - [ - 5, - 17 - ], - [ - 43, - 25 - ] - ] - } - }, - "6": { - "15": { - "name": "'InputComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 30 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 13, - 1 - ] - ], - "doc": null - } - }, - "13": { - "19": { - "name": "getInitialState", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 19 - ], - [ - 16, - 1 - ] - ], - "doc": null - } - }, - "16": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 21 - ], - [ - 21, - 1 - ] - ], - "doc": null - } - }, - "21": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 22 - ], - [ - 27, - 1 - ] - ], - "doc": null - } - }, - "27": { - "27": { - "name": "isPressAndHoldCharacter", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "char" - ], - "range": [ - [ - 27, - 27 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 30, - 25 - ], - [ - 33, - 1 - ] - ], - "doc": null - } - }, - "33": { - "11": { - "name": "onPaste", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 33, - 11 - ], - [ - 36, - 1 - ] - ], - "doc": null - } - }, - "36": { - "11": { - "name": "onFocus", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 36, - 11 - ], - [ - 39, - 1 - ] - ], - "doc": null - } - }, - "39": { - "10": { - "name": "onBlur", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 39, - 10 - ], - [ - 42, - 1 - ] - ], - "doc": null - } - }, - "42": { - "9": { - "name": "focus", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 9 - ], - [ - 43, - 25 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/keymap-extensions.coffee": { - "objects": { - "0": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 0, - 5 - ], - [ - 0, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@2.x" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "16": { - "name": "KeymapManager", - "type": "import", - "range": [ - [ - 2, - 16 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "atom-keymap" - } - }, - "3": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 6 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "jQuery", - "exportsProperty": "jQuery" - } - }, - "6": { - "36": { - "name": "KeymapManager.prototype.loadBundledKeymaps", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 36 - ], - [ - 9, - 0 - ] - ], - "doc": null - } - }, - "10": { - "35": { - "name": "KeymapManager.prototype.getUserKeymapPath", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 35 - ], - [ - 15, - 0 - ] - ], - "doc": null - } - }, - "16": { - "32": { - "name": "KeymapManager.prototype.loadUserKeymap", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 32 - ], - [ - 22, - 74 - ] - ], - "doc": null - } - }, - "23": { - "32": { - "name": "jQuery.Event.prototype.abortKeyBinding", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 23, - 32 - ], - [ - 25, - 0 - ] - ], - "doc": null - } - } - }, - "exports": 26 - }, - "src/language-mode.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 10 - ] - ], - "bindingType": "variable", - "module": "oniguruma", - "name": "OnigRegExp", - "exportsProperty": "OnigRegExp" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "6": { - "0": { - "type": "class", - "name": "LanguageMode", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 15 - ], - [ - 16, - 11 - ], - [ - 19, - 33 - ], - [ - 30, - 35 - ], - [ - 100, - 11 - ], - [ - 107, - 13 - ], - [ - 114, - 24 - ], - [ - 128, - 17 - ], - [ - 141, - 30 - ], - [ - 146, - 33 - ], - [ - 161, - 34 - ], - [ - 181, - 25 - ], - [ - 186, - 29 - ], - [ - 194, - 32 - ], - [ - 201, - 30 - ], - [ - 208, - 35 - ], - [ - 241, - 31 - ], - [ - 265, - 29 - ], - [ - 274, - 24 - ], - [ - 281, - 23 - ], - [ - 288, - 34 - ], - [ - 308, - 23 - ], - [ - 312, - 32 - ], - [ - 315, - 32 - ], - [ - 318, - 25 - ] - ], - "doc": "~Private~", - "range": [ - [ - 6, - 0 - ], - [ - 319, - 57 - ] - ] - } - }, - "13": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 13, - 15 - ], - [ - 16, - 1 - ] - ], - "doc": " Private: Sets up a `LanguageMode` for the given {Editor}.\n\neditor - The {Editor} to associate with " - } - }, - "16": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 11 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "33": { - "name": "toggleLineCommentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 19, - 33 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "35": { - "name": "toggleLineCommentsForBufferRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 30, - 35 - ], - [ - 100, - 1 - ] - ], - "doc": " Private: Wraps the lines between two rows in comments.\n\nIf the language doesn't have comment, nothing happens.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns an {Array} of the commented {Ranges}. " - } - }, - "100": { - "11": { - "name": "foldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 100, - 11 - ], - [ - 107, - 1 - ] - ], - "doc": "Private: Folds all the foldable lines in the buffer. " - } - }, - "107": { - "13": { - "name": "unfoldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 13 - ], - [ - 114, - 1 - ] - ], - "doc": "Private: Unfolds all the foldable lines in the buffer. " - } - }, - "114": { - "24": { - "name": "foldAllAtIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "indentLevel" - ], - "range": [ - [ - 114, - 24 - ], - [ - 128, - 1 - ] - ], - "doc": " Private: Fold all comment and code blocks at a given indentLevel\n\nindentLevel - A {Number} indicating indentLevel; 0 based. " - } - }, - "128": { - "17": { - "name": "foldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 128, - 17 - ], - [ - 141, - 1 - ] - ], - "doc": " Private: Given a buffer row, creates a fold at it.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns the new {Fold}. " - } - }, - "141": { - "30": { - "name": "rowRangeForFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 141, - 30 - ], - [ - 146, - 1 - ] - ], - "doc": " Private: Find the row range for a fold at a given bufferRow. Will handle comments\nand code.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of the [startRow, endRow]. Returns null if no range. " - } - }, - "146": { - "33": { - "name": "rowRangeForCommentAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 146, - 33 - ], - [ - 161, - 1 - ] - ], - "doc": "~Private~" - } - }, - "161": { - "34": { - "name": "rowRangeForCodeFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 161, - 34 - ], - [ - 181, - 1 - ] - ], - "doc": "~Private~" - } - }, - "181": { - "25": { - "name": "isFoldableAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 181, - 25 - ], - [ - 186, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether the given buffer row starts a\nfoldable row range. Rows that are \"foldable\" have a fold icon next to their\nicon in the gutter in the default configuration. " - } - }, - "186": { - "29": { - "name": "isFoldableCodeAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 186, - 29 - ], - [ - 194, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na a foldable row range due to the code's indentation patterns. " - } - }, - "194": { - "32": { - "name": "isFoldableCommentAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 194, - 32 - ], - [ - 201, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na foldable row range due to being the start of a multi-line comment. " - } - }, - "201": { - "30": { - "name": "isLineCommentedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 201, - 30 - ], - [ - 208, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the line at the given buffer\nrow is a comment. " - } - }, - "208": { - "35": { - "name": "rowRangeForParagraphAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 208, - 35 - ], - [ - 241, - 1 - ] - ], - "doc": " Private: Find a row range for a 'paragraph' around specified bufferRow.\nRight now, a paragraph is a block of text bounded by and empty line or a\nblock of text that is not the same type (comments next to source code). " - } - }, - "241": { - "31": { - "name": "suggestedIndentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 241, - 31 - ], - [ - 265, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns a suggested indentation level.\n\nThe indentation level provided is based on the current {LanguageMode}.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Number}. " - } - }, - "265": { - "29": { - "name": "minIndentLevelForRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 265, - 29 - ], - [ - 274, - 1 - ] - ], - "doc": " Private: Calculate a minimum indent level for a range of lines excluding empty lines.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns a {Number} of the indent level of the block of lines. " - } - }, - "274": { - "24": { - "name": "autoIndentBufferRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 274, - 24 - ], - [ - 281, - 1 - ] - ], - "doc": " Private: Indents all the rows between two buffer row numbers.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at " - } - }, - "281": { - "23": { - "name": "autoIndentBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "options" - ], - "range": [ - [ - 281, - 23 - ], - [ - 288, - 1 - ] - ], - "doc": " Private: Given a buffer row, this indents it.\n\nbufferRow - The row {Number}.\noptions - An options {Object} to pass through to {Editor::setIndentationForBufferRow}. " - } - }, - "288": { - "34": { - "name": "autoDecreaseIndentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 288, - 34 - ], - [ - 308, - 1 - ] - ], - "doc": " Private: Given a buffer row, this decreases the indentation.\n\nbufferRow - The row {Number} " - } - }, - "308": { - "23": { - "name": "getRegexForProperty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "property" - ], - "range": [ - [ - 308, - 23 - ], - [ - 312, - 1 - ] - ], - "doc": "~Private~" - } - }, - "312": { - "32": { - "name": "increaseIndentRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 312, - 32 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "32": { - "name": "decreaseIndentRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 315, - 32 - ], - [ - 318, - 1 - ] - ], - "doc": "~Private~" - } - }, - "318": { - "25": { - "name": "foldEndRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 318, - 25 - ], - [ - 319, - 57 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 6 - }, - "src/less-compile-cache.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@2.x" - } - }, - "2": { - "12": { - "name": "LessCache", - "type": "import", - "range": [ - [ - 2, - 12 - ], - [ - 2, - 31 - ] - ], - "bindingType": "variable", - "module": "less-cache" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "7": { - "0": { - "type": "class", - "name": "LessCompileCache", - "bindingType": "exports", - "classProperties": [ - [ - 10, - 13 - ] - ], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 29, - 18 - ], - [ - 32, - 8 - ], - [ - 35, - 14 - ], - [ - 38, - 11 - ] - ], - "doc": "Private: {LessCache} wrapper used by {ThemeManager} to read stylesheets. ", - "range": [ - [ - 7, - 0 - ], - [ - 38, - 28 - ] - ] - } - }, - "10": { - "13": { - "name": "cacheDir", - "type": "function", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 71 - ] - ], - "bindingType": "classProperty" - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 29, - 1 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "18": { - "name": "setImportPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "importPaths" - ], - "range": [ - [ - 29, - 18 - ], - [ - 32, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "8": { - "name": "read", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 32, - 8 - ], - [ - 35, - 1 - ] - ], - "doc": "~Private~" - } - }, - "35": { - "14": { - "name": "cssForFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "lessContent" - ], - "range": [ - [ - 35, - 14 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 38, - 11 - ], - [ - 38, - 27 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 7 - }, - "src/lines-component.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - }, - "6": { - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 9 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "span", - "exportsProperty": "span" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "debounce", - "exportsProperty": "debounce" - }, - "11": { - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 17 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqual", - "exportsProperty": "isEqual" - }, - "20": { - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 39 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "42": { - "type": "import", - "range": [ - [ - 3, - 42 - ], - [ - 3, - 55 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "multiplyString", - "exportsProperty": "multiplyString" - }, - "58": { - "type": "import", - "range": [ - [ - 3, - 58 - ], - [ - 3, - 64 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "toArray", - "exportsProperty": "toArray" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 2 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "$$", - "exportsProperty": "$$" - } - }, - "6": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 6, - 13 - ], - [ - 6, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "7": { - "19": { - "name": "CursorsComponent", - "type": "import", - "range": [ - [ - 7, - 19 - ], - [ - 7, - 47 - ] - ], - "bindingType": "variable", - "path": "./cursors-component" - } - }, - "8": { - "22": { - "name": "HighlightsComponent", - "type": "import", - "range": [ - [ - 8, - 22 - ], - [ - 8, - 53 - ] - ], - "bindingType": "variable", - "path": "./highlights-component" - } - }, - "10": { - "16": { - "type": "primitive", - "range": [ - [ - 10, - 16 - ], - [ - 10, - 111 - ] - ] - } - }, - "11": { - "15": { - "type": "primitive", - "range": [ - [ - 11, - 15 - ], - [ - 11, - 55 - ] - ] - }, - "28": { - "name": "acceptNode", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 11, - 28 - ], - [ - 11, - 54 - ] - ], - "doc": null - } - }, - "12": { - "13": { - "name": "WrapperDiv", - "type": "function", - "range": [ - [ - 12, - 13 - ], - [ - 12, - 41 - ] - ] - } - }, - "15": { - "17": { - "name": "LinesComponent", - "type": "function", - "range": [ - [ - 15, - 17 - ], - [ - 348, - 41 - ] - ] - } - }, - "16": { - "15": { - "name": "'LinesComponent'", - "type": "primitive", - "range": [ - [ - 16, - 15 - ], - [ - 16, - 30 - ] - ] - } - }, - "18": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 18, - 10 - ], - [ - 44, - 1 - ] - ], - "doc": null - } - }, - "44": { - "16": { - "name": "getTransform", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 16 - ], - [ - 52, - 1 - ] - ], - "doc": null - } - }, - "52": { - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 22 - ], - [ - 59, - 1 - ] - ], - "doc": null - } - }, - "59": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 59, - 25 - ], - [ - 79, - 1 - ] - ], - "doc": null - } - }, - "79": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "prevProps" - ], - "range": [ - [ - 79, - 22 - ], - [ - 88, - 1 - ] - ], - "doc": null - } - }, - "88": { - "24": { - "name": "clearScreenRowCaches", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 24 - ], - [ - 92, - 1 - ] - ], - "doc": null - } - }, - "92": { - "15": { - "name": "updateLines", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "updateWidth" - ], - "range": [ - [ - 92, - 15 - ], - [ - 100, - 1 - ] - ], - "doc": null - } - }, - "100": { - "19": { - "name": "removeLineNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "visibleLines" - ], - "range": [ - [ - 100, - 19 - ], - [ - 114, - 1 - ] - ], - "doc": null - } - }, - "114": { - "34": { - "name": "appendOrUpdateVisibleLineNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "visibleLines", - "startRow", - "updateWidth" - ], - "range": [ - [ - 114, - 34 - ], - [ - 145, - 1 - ] - ], - "doc": null - } - }, - "145": { - "15": { - "name": "hasLineNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineId" - ], - "range": [ - [ - 145, - 15 - ], - [ - 148, - 1 - ] - ], - "doc": null - } - }, - "148": { - "17": { - "name": "buildLineHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "screenRow" - ], - "range": [ - [ - 148, - 17 - ], - [ - 171, - 1 - ] - ], - "doc": null - } - }, - "171": { - "27": { - "name": "buildEmptyLineInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 171, - 27 - ], - [ - 198, - 1 - ] - ], - "doc": null - } - }, - "198": { - "22": { - "name": "buildLineInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 198, - 22 - ], - [ - 215, - 1 - ] - ], - "doc": null - } - }, - "215": { - "22": { - "name": "buildEndOfLineHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "invisibles" - ], - "range": [ - [ - 215, - 22 - ], - [ - 228, - 1 - ] - ], - "doc": null - } - }, - "228": { - "20": { - "name": "updateScopeStack", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 228, - 20 - ], - [ - 245, - 1 - ] - ], - "doc": null - } - }, - "245": { - "12": { - "name": "popScope", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack" - ], - "range": [ - [ - 245, - 12 - ], - [ - 249, - 1 - ] - ], - "doc": null - } - }, - "249": { - "13": { - "name": "pushScope", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack", - "scope" - ], - "range": [ - [ - 249, - 13 - ], - [ - 253, - 1 - ] - ], - "doc": null - } - }, - "253": { - "18": { - "name": "updateLineNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "screenRow", - "updateWidth" - ], - "range": [ - [ - 253, - 18 - ], - [ - 278, - 1 - ] - ], - "doc": null - } - }, - "278": { - "17": { - "name": "hasDecoration", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "decorations", - "decoration" - ], - "range": [ - [ - 278, - 17 - ], - [ - 281, - 1 - ] - ], - "doc": null - } - }, - "281": { - "24": { - "name": "lineNodeForScreenRow", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 281, - 24 - ], - [ - 284, - 1 - ] - ], - "doc": null - } - }, - "284": { - "40": { - "name": "measureLineHeightAndDefaultCharWidth", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 40 - ], - [ - 295, - 1 - ] - ], - "doc": null - } - }, - "295": { - "28": { - "name": "remeasureCharacterWidths", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 295, - 28 - ], - [ - 299, - 1 - ] - ], - "doc": null - } - }, - "299": { - "31": { - "name": "measureCharactersInNewLines", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 299, - 31 - ], - [ - 311, - 1 - ] - ], - "doc": null - } - }, - "311": { - "27": { - "name": "measureCharactersInLine", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "tokenizedLine", - "lineNode" - ], - "range": [ - [ - 311, - 27 - ], - [ - 346, - 1 - ] - ], - "doc": null - } - }, - "346": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 25 - ], - [ - 348, - 41 - ] - ], - "doc": null - } - } - }, - "exports": 15 - }, - "src/menu-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "3": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 3, - 6 - ], - [ - 3, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@2.x" - } - }, - "12": { - "0": { - "type": "class", - "name": "MenuManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 15 - ], - [ - 37, - 7 - ], - [ - 47, - 19 - ], - [ - 79, - 10 - ], - [ - 88, - 21 - ], - [ - 96, - 9 - ], - [ - 107, - 27 - ], - [ - 117, - 24 - ], - [ - 121, - 18 - ], - [ - 130, - 21 - ] - ], - "doc": " Public: Provides a registry for menu items that you'd like to appear in the\napplication menu.\n\nAn instance of this class is always available as the `atom.menu` global. ", - "range": [ - [ - 12, - 0 - ], - [ - 131, - 49 - ] - ] - } - }, - "13": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 13, - 15 - ], - [ - 37, - 1 - ] - ] - } - }, - "37": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 37, - 7 - ], - [ - 47, - 1 - ] - ], - "doc": " Public: Adds the given item definition to the existing template.\n\n## Example\n```coffee\n atom.menu.add [\n {\n label: 'Hello'\n submenu : [{label: 'World!', command: 'hello:world'}]\n }\n ]\n```\n\nitems - An {Array} of menu item {Object}s containing the keys:\n :label - The {String} menu label.\n :submenu - An optional {Array} of sub menu items.\n :command - An optional {String} command to trigger when the item is\n clicked.\n\nReturns nothing. " - } - }, - "47": { - "19": { - "name": "includeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 47, - 19 - ], - [ - 79, - 1 - ] - ], - "doc": " Private: Should the binding for the given selector be included in the menu\ncommands.\n\nselector - A {String} selector to check.\n\nReturns true to include the selector, false otherwise. " - } - }, - "79": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 10 - ], - [ - 88, - 1 - ] - ], - "doc": "Public: Refreshes the currently visible menu. " - } - }, - "88": { - "21": { - "name": "loadPlatformItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 21 - ], - [ - 96, - 1 - ] - ], - "doc": "~Private~" - } - }, - "96": { - "9": { - "name": "merge", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "menu", - "item" - ], - "range": [ - [ - 96, - 9 - ], - [ - 107, - 1 - ] - ], - "doc": " Private: Merges an item in a submenu aware way such that new items are always\nappended to the bottom of existing menus where possible. " - } - }, - "107": { - "27": { - "name": "filterMultipleKeystroke", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystrokesByCommand" - ], - "range": [ - [ - 107, - 27 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: OSX can't handle displaying accelerators for multiple keystrokes.\nIf they are sent across, it will stop processing accelerators for the rest\nof the menu items. " - } - }, - "117": { - "24": { - "name": "sendToBrowserProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 117, - 24 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "18": { - "name": "normalizeLabel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "label" - ], - "range": [ - [ - 121, - 18 - ], - [ - 130, - 1 - ] - ], - "doc": "~Private~" - } - }, - "130": { - "21": { - "name": "classesForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 130, - 21 - ], - [ - 131, - 49 - ] - ], - "doc": "Private: Get an {Array} of {String} classes for the given element. " - } - } - }, - "exports": 12 - }, - "src/package-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@2.x" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q@~1.0.1" - } - }, - "7": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 7, - 10 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "8": { - "15": { - "name": "ThemePackage", - "type": "import", - "range": [ - [ - 8, - 15 - ], - [ - 8, - 39 - ] - ], - "bindingType": "variable", - "path": "./theme-package" - } - }, - "26": { - "0": { - "type": "class", - "name": "PackageManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 44, - 14 - ], - [ - 52, - 22 - ], - [ - 55, - 19 - ], - [ - 58, - 19 - ], - [ - 62, - 17 - ], - [ - 68, - 18 - ], - [ - 74, - 12 - ], - [ - 82, - 28 - ], - [ - 85, - 20 - ], - [ - 90, - 19 - ], - [ - 100, - 22 - ], - [ - 105, - 21 - ], - [ - 113, - 21 - ], - [ - 117, - 20 - ], - [ - 121, - 19 - ], - [ - 124, - 29 - ], - [ - 128, - 27 - ], - [ - 137, - 16 - ], - [ - 148, - 15 - ], - [ - 168, - 18 - ], - [ - 172, - 17 - ], - [ - 182, - 20 - ], - [ - 186, - 19 - ], - [ - 190, - 21 - ], - [ - 196, - 29 - ], - [ - 200, - 22 - ], - [ - 210, - 21 - ], - [ - 213, - 17 - ], - [ - 218, - 20 - ], - [ - 221, - 26 - ], - [ - 231, - 28 - ], - [ - 246, - 28 - ], - [ - 250, - 31 - ] - ], - "doc": " Public: Package manager for coordinating the lifecycle of Atom packages.\n\nAn instance of this class is always available as the `atom.packages` global.\n\nPackages can be loaded, activated, and deactivated, and unloaded:\n * Loading a package reads and parses the package's metadata and resources\n such as keymaps, menus, stylesheets, etc.\n * Activating a package registers the loaded resources and calls `activate()`\n on the package's main module.\n * Deactivating a package unregisters the package's resources and calls\n `deactivate()` on the package's main module.\n * Unloading a package removes it completely from the package manager.\n\nPackages can also be enabled/disabled via the `core.disabledPackages` config\nsettings and also by calling `enablePackage()/disablePackage()`. ", - "range": [ - [ - 26, - 0 - ], - [ - 256, - 12 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 29, - 15 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "14": { - "name": "getApmPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 14 - ], - [ - 52, - 1 - ] - ], - "doc": "Public: Get the path to the apm command " - } - }, - "52": { - "22": { - "name": "getPackageDirPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 22 - ], - [ - 55, - 1 - ] - ], - "doc": " Public: Get the paths being used to look for packages.\n\nReturns an Array of String directory paths. " - } - }, - "55": { - "19": { - "name": "getPackageState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 55, - 19 - ], - [ - 58, - 1 - ] - ], - "doc": "~Private~" - } - }, - "58": { - "19": { - "name": "setPackageState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "state" - ], - "range": [ - [ - 58, - 19 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "17": { - "name": "enablePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 62, - 17 - ], - [ - 68, - 1 - ] - ], - "doc": "Public: Enable the package with the given name " - } - }, - "68": { - "18": { - "name": "disablePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 68, - 18 - ], - [ - 74, - 1 - ] - ], - "doc": "Public: Disable the package with the given name " - } - }, - "74": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 12 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Activate all the packages that should be activated. " - } - }, - "82": { - "28": { - "name": "registerPackageActivator", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "activator", - "types" - ], - "range": [ - [ - 82, - 28 - ], - [ - 85, - 1 - ] - ], - "doc": " Private: another type of package manager can handle other package types.\nSee ThemeManager " - } - }, - "85": { - "20": { - "name": "activatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "packages" - ], - "range": [ - [ - 85, - 20 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "19": { - "name": "activatePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 90, - 19 - ], - [ - 100, - 1 - ] - ], - "doc": "Private: Activate a single package by name " - } - }, - "100": { - "22": { - "name": "deactivatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 100, - 22 - ], - [ - 105, - 1 - ] - ], - "doc": "Private: Deactivate all packages " - } - }, - "105": { - "21": { - "name": "deactivatePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 105, - 21 - ], - [ - 113, - 1 - ] - ], - "doc": "Private: Deactivate the package with the given name " - } - }, - "113": { - "21": { - "name": "getActivePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 113, - 21 - ], - [ - 117, - 1 - ] - ], - "doc": "Public: Get an array of all the active packages " - } - }, - "117": { - "20": { - "name": "getActivePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 117, - 20 - ], - [ - 121, - 1 - ] - ], - "doc": "Public: Get the active package with the given name " - } - }, - "121": { - "19": { - "name": "isPackageActive", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 121, - 19 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Is the package with the given name active? " - } - }, - "124": { - "29": { - "name": "unobserveDisabledPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 29 - ], - [ - 128, - 1 - ] - ], - "doc": "~Private~" - } - }, - "128": { - "27": { - "name": "observeDisabledPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 128, - 27 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "16": { - "name": "loadPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 16 - ], - [ - 148, - 1 - ] - ], - "doc": "~Private~" - } - }, - "148": { - "15": { - "name": "loadPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "nameOrPath" - ], - "range": [ - [ - 148, - 15 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "18": { - "name": "unloadPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 18 - ], - [ - 172, - 1 - ] - ], - "doc": "~Private~" - } - }, - "172": { - "17": { - "name": "unloadPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 172, - 17 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "20": { - "name": "getLoadedPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 182, - 20 - ], - [ - 186, - 1 - ] - ], - "doc": "Public: Get the loaded package with the given name " - } - }, - "186": { - "19": { - "name": "isPackageLoaded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 186, - 19 - ], - [ - 190, - 1 - ] - ], - "doc": "Public: Is the package with the given name loaded? " - } - }, - "190": { - "21": { - "name": "getLoadedPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 21 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded packages " - } - }, - "196": { - "29": { - "name": "getLoadedPackagesForTypes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "types" - ], - "range": [ - [ - 196, - 29 - ], - [ - 200, - 1 - ] - ], - "doc": " Private: Get packages for a certain package type\n\ntypes - an {Array} of {String}s like ['atom', 'textmate']. " - } - }, - "200": { - "22": { - "name": "resolvePackagePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 200, - 22 - ], - [ - 210, - 1 - ] - ], - "doc": "Public: Resolve the given package name to a path on disk. " - } - }, - "210": { - "21": { - "name": "isPackageDisabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 210, - 21 - ], - [ - 213, - 1 - ] - ], - "doc": "Public: Is the package with the given name disabled? " - } - }, - "213": { - "17": { - "name": "hasAtomEngine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "packagePath" - ], - "range": [ - [ - 213, - 17 - ], - [ - 218, - 1 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "20": { - "name": "isBundledPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 218, - 20 - ], - [ - 221, - 1 - ] - ], - "doc": "Public: Is the package with the given name bundled with Atom? " - } - }, - "221": { - "26": { - "name": "getPackageDependencies", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 221, - 26 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "28": { - "name": "getAvailablePackagePaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 231, - 28 - ], - [ - 246, - 1 - ] - ], - "doc": "Public: Get an array of all the available package paths. " - } - }, - "246": { - "28": { - "name": "getAvailablePackageNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 246, - 28 - ], - [ - 250, - 1 - ] - ], - "doc": "Public: Get an array of all the available package names. " - } - }, - "250": { - "31": { - "name": "getAvailablePackageMetadata", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 250, - 31 - ], - [ - 256, - 12 - ] - ], - "doc": "Public: Get an array of all the available package metadata. " - } - } - }, - "exports": 26 - }, - "src/package.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "3": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 3, - 8 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "async" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@2.x" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "7": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 14 - ] - ], - "bindingType": "variable", - "module": "q@~1.0.1" - } - }, - "9": { - "4": { - "type": "primitive", - "range": [ - [ - 9, - 4 - ], - [ - 9, - 7 - ] - ] - } - }, - "10": { - "19": { - "name": "ScopedProperties", - "type": "import", - "range": [ - [ - 10, - 19 - ], - [ - 10, - 47 - ] - ], - "bindingType": "variable", - "path": "./scoped-properties" - } - }, - "15": { - "0": { - "type": "class", - "name": "Package", - "bindingType": "exports", - "classProperties": [ - [ - 18, - 19 - ], - [ - 20, - 17 - ] - ], - "prototypeProperties": [ - [ - 30, - 11 - ], - [ - 31, - 9 - ], - [ - 32, - 15 - ], - [ - 33, - 12 - ], - [ - 34, - 20 - ], - [ - 35, - 18 - ], - [ - 36, - 26 - ], - [ - 37, - 14 - ], - [ - 39, - 15 - ], - [ - 44, - 10 - ], - [ - 47, - 11 - ], - [ - 50, - 11 - ], - [ - 53, - 11 - ], - [ - 59, - 11 - ], - [ - 61, - 21 - ], - [ - 63, - 8 - ], - [ - 76, - 9 - ], - [ - 83, - 12 - ], - [ - 97, - 15 - ], - [ - 109, - 18 - ], - [ - 118, - 23 - ], - [ - 126, - 21 - ], - [ - 138, - 15 - ], - [ - 141, - 13 - ], - [ - 144, - 18 - ], - [ - 151, - 16 - ], - [ - 158, - 19 - ], - [ - 162, - 22 - ], - [ - 165, - 22 - ], - [ - 177, - 20 - ], - [ - 194, - 16 - ], - [ - 213, - 24 - ], - [ - 231, - 13 - ], - [ - 238, - 14 - ], - [ - 247, - 20 - ], - [ - 251, - 23 - ], - [ - 260, - 21 - ], - [ - 266, - 20 - ], - [ - 269, - 21 - ], - [ - 275, - 21 - ], - [ - 285, - 23 - ], - [ - 297, - 31 - ], - [ - 306, - 25 - ], - [ - 315, - 35 - ], - [ - 325, - 36 - ], - [ - 339, - 36 - ], - [ - 345, - 18 - ], - [ - 353, - 34 - ], - [ - 371, - 32 - ], - [ - 401, - 16 - ] - ], - "doc": " Private: Loads and activates a package's main module and resources such as\nstylesheets, keymaps, grammar, editor properties, and menus. ", - "range": [ - [ - 15, - 0 - ], - [ - 411, - 24 - ] - ] - } - }, - "18": { - "19": { - "name": "stylesheetsDir", - "type": "primitive", - "range": [ - [ - 18, - 19 - ], - [ - 18, - 31 - ] - ], - "bindingType": "classProperty" - } - }, - "20": { - "17": { - "name": "loadMetadata", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "packagePath", - "ignoreErrors" - ], - "range": [ - [ - 20, - 17 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "keymaps", - "type": "primitive", - "range": [ - [ - 30, - 11 - ], - [ - 30, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "31": { - "9": { - "name": "menus", - "type": "primitive", - "range": [ - [ - 31, - 9 - ], - [ - 31, - 12 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "32": { - "15": { - "name": "stylesheets", - "type": "primitive", - "range": [ - [ - 32, - 15 - ], - [ - 32, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "33": { - "12": { - "name": "grammars", - "type": "primitive", - "range": [ - [ - 33, - 12 - ], - [ - 33, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "34": { - "20": { - "name": "scopedProperties", - "type": "primitive", - "range": [ - [ - 34, - 20 - ], - [ - 34, - 23 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "35": { - "18": { - "name": "mainModulePath", - "type": "primitive", - "range": [ - [ - 35, - 18 - ], - [ - 35, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "36": { - "26": { - "name": "resolvedMainModulePath", - "type": "primitive", - "range": [ - [ - 36, - 26 - ], - [ - 36, - 30 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "37": { - "14": { - "name": "mainModule", - "type": "primitive", - "range": [ - [ - 37, - 14 - ], - [ - 37, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "39": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 39, - 15 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "10": { - "name": "enable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 10 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "11": { - "name": "disable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 47, - 11 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "11": { - "name": "isTheme", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 11 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "11": { - "name": "measure", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "key", - "fn" - ], - "range": [ - [ - 53, - 11 - ], - [ - 59, - 1 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "11": { - "name": "getType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 11 - ], - [ - 59, - 19 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "21": { - "name": "getStylesheetType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 21 - ], - [ - 61, - 32 - ] - ], - "doc": "~Private~" - } - }, - "63": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 63, - 8 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "9": { - "name": "reset", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 9 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 83, - 12 - ], - [ - 97, - 1 - ] - ], - "doc": "~Private~" - } - }, - "97": { - "15": { - "name": "activateNow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 97, - 15 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "18": { - "name": "activateConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 18 - ], - [ - 118, - 1 - ] - ], - "doc": "~Private~" - } - }, - "118": { - "23": { - "name": "activateStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 118, - 23 - ], - [ - 126, - 1 - ] - ], - "doc": "~Private~" - } - }, - "126": { - "21": { - "name": "activateResources", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 21 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "15": { - "name": "loadKeymaps", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 15 - ], - [ - 141, - 1 - ] - ], - "doc": "~Private~" - } - }, - "141": { - "13": { - "name": "loadMenus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 13 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "18": { - "name": "getKeymapPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 144, - 18 - ], - [ - 151, - 1 - ] - ], - "doc": "~Private~" - } - }, - "151": { - "16": { - "name": "getMenuPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 151, - 16 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "19": { - "name": "loadStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 19 - ], - [ - 162, - 1 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "22": { - "name": "getStylesheetsPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 22 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "22": { - "name": "getStylesheetPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 22 - ], - [ - 177, - 1 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "20": { - "name": "loadGrammarsSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 20 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "16": { - "name": "loadGrammars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 194, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "24": { - "name": "loadScopedProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 24 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "13": { - "name": "serialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 231, - 13 - ], - [ - 238, - 1 - ] - ], - "doc": "~Private~" - } - }, - "238": { - "14": { - "name": "deactivate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 238, - 14 - ], - [ - 247, - 1 - ] - ], - "doc": "~Private~" - } - }, - "247": { - "20": { - "name": "deactivateConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 247, - 20 - ], - [ - 251, - 1 - ] - ], - "doc": "~Private~" - } - }, - "251": { - "23": { - "name": "deactivateResources", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 251, - 23 - ], - [ - 260, - 1 - ] - ], - "doc": "~Private~" - } - }, - "260": { - "21": { - "name": "reloadStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 21 - ], - [ - 266, - 1 - ] - ], - "doc": "~Private~" - } - }, - "266": { - "20": { - "name": "reloadStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "content" - ], - "range": [ - [ - 266, - 20 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "21": { - "name": "requireMainModule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 21 - ], - [ - 275, - 1 - ] - ] - } - }, - "275": { - "21": { - "name": "getMainModulePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 275, - 21 - ], - [ - 285, - 1 - ] - ], - "doc": "~Private~" - } - }, - "285": { - "23": { - "name": "hasActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 285, - 23 - ], - [ - 297, - 1 - ] - ], - "doc": "~Private~" - } - }, - "297": { - "31": { - "name": "subscribeToActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 31 - ], - [ - 306, - 1 - ] - ], - "doc": "~Private~" - } - }, - "306": { - "25": { - "name": "handleActivationEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 306, - 25 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "35": { - "name": "unsubscribeFromActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 35 - ], - [ - 325, - 1 - ] - ], - "doc": "~Private~" - } - }, - "325": { - "36": { - "name": "disableEventHandlersOnBubblePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 325, - 36 - ], - [ - 339, - 1 - ] - ], - "doc": "~Private~" - } - }, - "339": { - "36": { - "name": "restoreEventHandlersOnBubblePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventHandlers" - ], - "range": [ - [ - 339, - 36 - ], - [ - 345, - 1 - ] - ], - "doc": "~Private~" - } - }, - "345": { - "18": { - "name": "isNativeModule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "modulePath" - ], - "range": [ - [ - 345, - 18 - ], - [ - 353, - 1 - ] - ], - "doc": "Private: Does the given module path contain native code? " - } - }, - "353": { - "34": { - "name": "getNativeModuleDependencyPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 353, - 34 - ], - [ - 371, - 1 - ] - ], - "doc": " Private: Get an array of all the native modules that this package depends on.\nThis will recurse through all dependencies. " - } - }, - "371": { - "32": { - "name": "getIncompatibleNativeModules", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 371, - 32 - ], - [ - 401, - 1 - ] - ], - "doc": " Private: Get the incompatible native modules that this package depends on.\nThis recurses through all dependencies and requires all modules that\ncontain a `.node` file.\n\nThis information is cached in local storage on a per package/version basis\nto minimize the impact on startup time. " - } - }, - "401": { - "16": { - "name": "isCompatible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 401, - 16 - ], - [ - 411, - 24 - ] - ], - "doc": " Public: Is this package compatible with this version of Atom?\n\nIncompatible packages cannot be activated. This will include packages\ninstalled to ~/.atom/packages that were built against node 0.11.10 but\nnow need to be upgrade to node 0.11.13.\n\nReturns a {Boolean}, true if compatible, false if incompatible. " - } - } - }, - "exports": 15 - }, - "src/pane-axis-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "11": { - "type": "primitive", - "range": [ - [ - 1, - 11 - ], - [ - 1, - 14 - ] - ] - } - }, - "4": { - "0": { - "type": "class", - "name": "PaneAxisView", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 5, - 14 - ], - [ - 9, - 15 - ], - [ - 12, - 16 - ], - [ - 16, - 22 - ], - [ - 22, - 16 - ], - [ - 26, - 18 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 31, - 48 - ] - ] - } - }, - "5": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 5, - 14 - ], - [ - 9, - 1 - ] - ] - } - }, - "9": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 15 - ], - [ - 12, - 1 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "16": { - "name": "viewForModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "model" - ], - "range": [ - [ - 12, - 16 - ], - [ - 16, - 1 - ] - ], - "doc": "~Private~" - } - }, - "16": { - "22": { - "name": "onChildrenChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 16, - 22 - ], - [ - 22, - 1 - ] - ], - "doc": "~Private~" - } - }, - "22": { - "16": { - "name": "onChildAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child", - "index" - ], - "range": [ - [ - 22, - 16 - ], - [ - 26, - 1 - ] - ], - "doc": "~Private~" - } - }, - "26": { - "18": { - "name": "onChildRemoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 26, - 18 - ], - [ - 31, - 48 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/pane-axis.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 15 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Sequence", - "exportsProperty": "Sequence" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 7 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "flatten", - "exportsProperty": "flatten" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@1.x" - } - }, - "4": { - "14": { - "type": "primitive", - "range": [ - [ - 4, - 14 - ], - [ - 4, - 17 - ] - ] - } - }, - "5": { - "17": { - "type": "primitive", - "range": [ - [ - 5, - 17 - ], - [ - 5, - 20 - ] - ] - } - }, - "8": { - "0": { - "type": "class", - "name": "PaneAxis", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 25, - 21 - ], - [ - 30, - 19 - ], - [ - 34, - 16 - ], - [ - 40, - 12 - ], - [ - 43, - 12 - ], - [ - 46, - 15 - ], - [ - 51, - 16 - ], - [ - 56, - 21 - ], - [ - 60, - 20 - ], - [ - 64, - 21 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 65, - 44 - ] - ] - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 25, - 21 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 19 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 16 - ], - [ - 40, - 1 - ] - ], - "doc": "~Private~" - } - }, - "40": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 40, - 12 - ], - [ - 43, - 1 - ] - ], - "doc": "~Private~" - } - }, - "43": { - "12": { - "name": "addChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child", - "index" - ], - "range": [ - [ - 43, - 12 - ], - [ - 46, - 1 - ] - ], - "doc": "~Private~" - } - }, - "46": { - "15": { - "name": "removeChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 46, - 15 - ], - [ - 51, - 1 - ] - ], - "doc": "~Private~" - } - }, - "51": { - "16": { - "name": "replaceChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "oldChild", - "newChild" - ], - "range": [ - [ - 51, - 16 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "21": { - "name": "insertChildBefore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "currentChild", - "newChild" - ], - "range": [ - [ - 56, - 21 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "20": { - "name": "insertChildAfter", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "currentChild", - "newChild" - ], - "range": [ - [ - 60, - 20 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "21": { - "name": "reparentLastChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 21 - ], - [ - 65, - 44 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/pane-column-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "15": { - "name": "PaneAxisView", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 40 - ] - ], - "bindingType": "variable", - "path": "./pane-axis-view" - } - }, - "5": { - "0": { - "type": "class", - "name": "PaneColumnView", - "bindingType": "exports", - "classProperties": [ - [ - 7, - 12 - ] - ], - "prototypeProperties": [ - [ - 10, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 11, - 16 - ] - ] - } - }, - "7": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 7, - 12 - ], - [ - 10, - 1 - ] - ], - "doc": "~Private~" - } - }, - "10": { - "13": { - "name": "className", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 13 - ], - [ - 11, - 16 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "src/pane-container-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "1": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@1.x" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "3": { - "11": { - "name": "PaneView", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-view" - } - }, - "4": { - "16": { - "name": "PaneContainer", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 41 - ] - ], - "bindingType": "variable", - "path": "./pane-container" - } - }, - "8": { - "0": { - "type": "class", - "name": "PaneContainerView", - "bindingType": "exports", - "classProperties": [ - [ - 13, - 12 - ] - ], - "prototypeProperties": [ - [ - 16, - 14 - ], - [ - 25, - 16 - ], - [ - 30, - 11 - ], - [ - 33, - 17 - ], - [ - 47, - 27 - ], - [ - 50, - 15 - ], - [ - 55, - 16 - ], - [ - 64, - 16 - ], - [ - 67, - 15 - ], - [ - 70, - 15 - ], - [ - 73, - 16 - ], - [ - 79, - 18 - ], - [ - 82, - 17 - ], - [ - 86, - 21 - ], - [ - 89, - 21 - ], - [ - 92, - 17 - ], - [ - 95, - 14 - ], - [ - 98, - 21 - ], - [ - 101, - 25 - ], - [ - 104, - 22 - ], - [ - 107, - 22 - ], - [ - 110, - 23 - ], - [ - 113, - 24 - ], - [ - 116, - 26 - ], - [ - 143, - 26 - ], - [ - 152, - 12 - ] - ], - "doc": "Private: Manages the list of panes within a {WorkspaceView} ", - "range": [ - [ - 8, - 0 - ], - [ - 154, - 19 - ] - ] - } - }, - "13": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 12 - ], - [ - 16, - 1 - ] - ], - "doc": "~Private~" - } - }, - "16": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 16, - 14 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "16": { - "name": "viewForModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "model" - ], - "range": [ - [ - 25, - 16 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "getRoot", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 11 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "17": { - "name": "onRootChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "root" - ], - "range": [ - [ - 33, - 17 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "27": { - "name": "onActivePaneItemChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "activeItem" - ], - "range": [ - [ - 47, - 27 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "15": { - "name": "removeChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 50, - 15 - ], - [ - 55, - 1 - ] - ], - "doc": "~Private~" - } - }, - "55": { - "16": { - "name": "confirmClose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 16 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "16": { - "name": "getPaneViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 16 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "15": { - "name": "indexOfPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "paneView" - ], - "range": [ - [ - 67, - 15 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "15": { - "name": "paneAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 70, - 15 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "16": { - "name": "eachPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 73, - 16 - ], - [ - 79, - 1 - ] - ], - "doc": "~Private~" - } - }, - "79": { - "18": { - "name": "getFocusedPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 18 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 17 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "21": { - "name": "getActivePaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 21 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "17": { - "name": "getActiveView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 92, - 17 - ], - [ - 95, - 1 - ] - ], - "doc": "~Private~" - } - }, - "95": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 95, - 14 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "21": { - "name": "focusNextPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 21 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "focusPreviousPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 25 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "22": { - "name": "focusPaneViewAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 22 - ], - [ - 107, - 1 - ] - ], - "doc": "~Private~" - } - }, - "107": { - "22": { - "name": "focusPaneViewBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 22 - ], - [ - 110, - 1 - ] - ], - "doc": "~Private~" - } - }, - "110": { - "23": { - "name": "focusPaneViewOnLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 23 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "24": { - "name": "focusPaneViewOnRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 113, - 24 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "26": { - "name": "nearestPaneInDirection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "direction" - ], - "range": [ - [ - 116, - 26 - ], - [ - 143, - 1 - ] - ], - "doc": "~Private~" - } - }, - "143": { - "26": { - "name": "boundingBoxForPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "paneView" - ], - "range": [ - [ - 143, - 26 - ], - [ - 152, - 1 - ] - ], - "doc": "~Private~" - } - }, - "152": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 152, - 12 - ], - [ - 154, - 19 - ] - ], - "doc": "Private: Deprecated " - } - } - }, - "exports": 8 - }, - "src/pane-container.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "find", - "exportsProperty": "find" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@1.x" - } - }, - "3": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "6": { - "0": { - "type": "class", - "name": "PaneContainer", - "bindingType": "exports", - "classProperties": [ - [ - 10, - 12 - ] - ], - "prototypeProperties": [ - [ - 16, - 16 - ], - [ - 23, - 15 - ], - [ - 28, - 21 - ], - [ - 34, - 19 - ], - [ - 38, - 16 - ], - [ - 42, - 12 - ], - [ - 45, - 17 - ], - [ - 48, - 14 - ], - [ - 51, - 11 - ], - [ - 54, - 20 - ], - [ - 64, - 24 - ], - [ - 75, - 17 - ], - [ - 89, - 21 - ], - [ - 92, - 17 - ], - [ - 96, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 6, - 0 - ], - [ - 97, - 42 - ] - ] - } - }, - "10": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 10, - 12 - ], - [ - 10, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "16": { - "16": { - "name": "previousRoot", - "type": "primitive", - "range": [ - [ - 16, - 16 - ], - [ - 16, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "23": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 23, - 15 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 28, - 21 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 34, - 19 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "16": { - "name": "replaceChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "oldChild", - "newChild" - ], - "range": [ - [ - 38, - 16 - ], - [ - 42, - 1 - ] - ], - "doc": "~Private~" - } - }, - "42": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 12 - ], - [ - 45, - 1 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 17 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 48, - 14 - ], - [ - 51, - 1 - ] - ], - "doc": "~Private~" - } - }, - "51": { - "11": { - "name": "saveAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 51, - 11 - ], - [ - 54, - 1 - ] - ], - "doc": "~Private~" - } - }, - "54": { - "20": { - "name": "activateNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 54, - 20 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "24": { - "name": "activatePreviousPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 24 - ], - [ - 75, - 1 - ] - ], - "doc": "~Private~" - } - }, - "75": { - "17": { - "name": "onRootChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "root" - ], - "range": [ - [ - 75, - 17 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "destroyEmptyPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "17": { - "name": "itemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 92, - 17 - ], - [ - 96, - 1 - ] - ], - "doc": "~Private~" - } - }, - "96": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 13 - ], - [ - 97, - 42 - ] - ], - "doc": "Private: Called by Model superclass when destroyed " - } - } - }, - "exports": 6 - }, - "src/pane-row-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "15": { - "name": "PaneAxisView", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 40 - ] - ], - "bindingType": "variable", - "path": "./pane-axis-view" - } - }, - "5": { - "0": { - "type": "class", - "name": "PaneRowView", - "bindingType": "exports", - "classProperties": [ - [ - 6, - 12 - ] - ], - "prototypeProperties": [ - [ - 9, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 10, - 13 - ] - ] - } - }, - "6": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 12 - ], - [ - 9, - 1 - ] - ] - } - }, - "9": { - "13": { - "name": "className", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 13 - ], - [ - 10, - 13 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "src/pane-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@1.x" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "3": { - "20": { - "name": "PropertyAccessors", - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 47 - ] - ], - "bindingType": "variable", - "module": "property-accessors" - } - }, - "5": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "14": { - "0": { - "type": "class", - "name": "PaneView", - "bindingType": "exports", - "classProperties": [ - [ - 18, - 12 - ], - [ - 20, - 12 - ] - ], - "prototypeProperties": [ - [ - 32, - 22 - ], - [ - 34, - 14 - ], - [ - 45, - 16 - ], - [ - 84, - 14 - ], - [ - 89, - 12 - ], - [ - 94, - 18 - ], - [ - 99, - 19 - ], - [ - 104, - 16 - ], - [ - 109, - 20 - ], - [ - 113, - 15 - ], - [ - 121, - 15 - ], - [ - 124, - 25 - ], - [ - 133, - 15 - ], - [ - 139, - 21 - ], - [ - 142, - 23 - ], - [ - 158, - 15 - ], - [ - 161, - 17 - ], - [ - 175, - 15 - ], - [ - 178, - 25 - ], - [ - 182, - 26 - ], - [ - 185, - 15 - ], - [ - 199, - 13 - ], - [ - 201, - 14 - ], - [ - 203, - 11 - ], - [ - 205, - 13 - ], - [ - 210, - 16 - ], - [ - 213, - 16 - ], - [ - 216, - 10 - ] - ], - "doc": " Public: A container which can contains multiple items to be switched between.\n\nItems can be almost anything however most commonly they're {EditorView}s.\n\nMost packages won't need to use this class, unless you're interested in\nbuilding a package that deals with switching between panes or items. ", - "range": [ - [ - 14, - 0 - ], - [ - 219, - 9 - ] - ] - } - }, - "18": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 18, - 12 - ], - [ - 18, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "20": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "wrappedView" - ], - "range": [ - [ - 20, - 12 - ], - [ - 24, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "22": { - "name": "previousActiveItem", - "type": "primitive", - "range": [ - [ - 32, - 22 - ], - [ - 32, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "34": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 34, - 14 - ], - [ - 45, - 1 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 16 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "14": { - "name": "removeItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 84, - 14 - ], - [ - 89, - 1 - ] - ], - "doc": "Deprecated: Use ::destroyItem " - } - }, - "89": { - "12": { - "name": "showItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 89, - 12 - ], - [ - 94, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItem " - } - }, - "94": { - "18": { - "name": "showItemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 94, - 18 - ], - [ - 99, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItemForUri " - } - }, - "99": { - "19": { - "name": "showItemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 99, - 19 - ], - [ - 104, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItemAtIndex " - } - }, - "104": { - "16": { - "name": "showNextItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 16 - ], - [ - 109, - 1 - ] - ], - "doc": "Deprecated: Use ::activateNextItem " - } - }, - "109": { - "20": { - "name": "showPreviousItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 20 - ], - [ - 113, - 1 - ] - ], - "doc": "Deprecated: Use ::activatePreviousItem " - } - }, - "113": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 113, - 15 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "15": { - "name": "onActivated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 121, - 15 - ], - [ - 124, - 1 - ] - ], - "doc": "~Private~" - } - }, - "124": { - "25": { - "name": "onActiveStatusChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "active" - ], - "range": [ - [ - 124, - 25 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "15": { - "name": "getNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 15 - ], - [ - 139, - 1 - ] - ], - "doc": "Public: Returns the next pane, ordered by creation. " - } - }, - "139": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 139, - 21 - ], - [ - 142, - 1 - ] - ], - "doc": "~Private~" - } - }, - "142": { - "23": { - "name": "onActiveItemChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 142, - 23 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "15": { - "name": "onItemAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index" - ], - "range": [ - [ - 158, - 15 - ], - [ - 161, - 1 - ] - ], - "doc": "~Private~" - } - }, - "161": { - "17": { - "name": "onItemRemoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index", - "destroyed" - ], - "range": [ - [ - 161, - 17 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "15": { - "name": "onItemMoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "newIndex" - ], - "range": [ - [ - 175, - 15 - ], - [ - 178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "178": { - "25": { - "name": "onBeforeItemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 178, - 25 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "26": { - "name": "activeItemTitleChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 182, - 26 - ], - [ - 185, - 1 - ] - ], - "doc": "~Private~" - } - }, - "185": { - "15": { - "name": "viewForItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 185, - 15 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "199": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 199, - 13 - ], - [ - 199, - 57 - ] - ], - "doc": "~Private~" - } - }, - "201": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 201, - 14 - ], - [ - 201, - 59 - ] - ], - "doc": "~Private~" - } - }, - "203": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 203, - 11 - ], - [ - 203, - 53 - ] - ], - "doc": "~Private~" - } - }, - "205": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 205, - 13 - ], - [ - 205, - 57 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "16": { - "name": "getContainer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": " Public: Get the container view housing this pane.\n\nReturns a {View}. " - } - }, - "213": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 16 - ], - [ - 216, - 1 - ] - ], - "doc": "~Private~" - } - }, - "216": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "keepData" - ], - "range": [ - [ - 216, - 10 - ], - [ - 219, - 9 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 14 - }, - "src/pane.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "find", - "exportsProperty": "find" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 13 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "compact", - "exportsProperty": "compact" - }, - "16": { - "type": "import", - "range": [ - [ - 0, - 16 - ], - [ - 0, - 21 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "extend", - "exportsProperty": "extend" - }, - "24": { - "type": "import", - "range": [ - [ - 0, - 24 - ], - [ - 0, - 27 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "last", - "exportsProperty": "last" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - }, - "8": { - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 15 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Sequence", - "exportsProperty": "Sequence" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@1.x" - } - }, - "3": { - "11": { - "name": "PaneAxis", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-axis" - } - }, - "4": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "5": { - "11": { - "type": "primitive", - "range": [ - [ - 5, - 11 - ], - [ - 5, - 14 - ] - ] - } - }, - "11": { - "0": { - "type": "class", - "name": "Pane", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 43, - 19 - ], - [ - 50, - 21 - ], - [ - 57, - 16 - ], - [ - 59, - 12 - ], - [ - 62, - 9 - ], - [ - 67, - 8 - ], - [ - 73, - 12 - ], - [ - 77, - 12 - ], - [ - 82, - 12 - ], - [ - 88, - 17 - ], - [ - 93, - 19 - ], - [ - 97, - 15 - ], - [ - 101, - 20 - ], - [ - 109, - 24 - ], - [ - 117, - 22 - ], - [ - 121, - 23 - ], - [ - 125, - 16 - ], - [ - 137, - 11 - ], - [ - 154, - 12 - ], - [ - 159, - 14 - ], - [ - 175, - 12 - ], - [ - 182, - 18 - ], - [ - 187, - 21 - ], - [ - 193, - 15 - ], - [ - 204, - 16 - ], - [ - 208, - 24 - ], - [ - 211, - 11 - ], - [ - 218, - 13 - ], - [ - 224, - 20 - ], - [ - 239, - 18 - ], - [ - 243, - 20 - ], - [ - 251, - 12 - ], - [ - 263, - 14 - ], - [ - 273, - 13 - ], - [ - 278, - 14 - ], - [ - 283, - 22 - ], - [ - 290, - 18 - ], - [ - 300, - 13 - ], - [ - 309, - 14 - ], - [ - 318, - 11 - ], - [ - 327, - 13 - ], - [ - 330, - 9 - ], - [ - 344, - 23 - ], - [ - 356, - 32 - ] - ], - "doc": " Public: A container for multiple items, one of which is *active* at a given\ntime. With the default packages, a tab is displayed for each item and the\nactive item's view is displayed. ", - "range": [ - [ - 11, - 0 - ], - [ - 364, - 19 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 29, - 15 - ], - [ - 43, - 1 - ] - ], - "doc": "~Private~" - } - }, - "43": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 19 - ], - [ - 50, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during serialization. " - } - }, - "50": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 50, - 21 - ], - [ - 57, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during deserialization. " - } - }, - "57": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 16 - ], - [ - 57, - 51 - ] - ], - "doc": "Private: Called by the view layer to construct a view for this model. " - } - }, - "59": { - "12": { - "name": "isActive", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 12 - ], - [ - 59, - 21 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 62, - 9 - ], - [ - 67, - 1 - ] - ], - "doc": "Private: Called by the view layer to indicate that the pane has gained focus. " - } - }, - "67": { - "8": { - "name": "blur", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 8 - ], - [ - 73, - 1 - ] - ], - "doc": "Private: Called by the view layer to indicate that the pane has lost focus. " - } - }, - "73": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 12 - ], - [ - 77, - 1 - ] - ], - "doc": " Public: Makes this pane the *active* pane, causing it to gain focus\nimmediately. " - } - }, - "77": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 77, - 12 - ], - [ - 77, - 20 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "12": { - "name": "getItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 12 - ], - [ - 88, - 1 - ] - ], - "doc": " Public: Get the items in this pane.\n\nReturns an {Array} of items. " - } - }, - "88": { - "17": { - "name": "getActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 17 - ], - [ - 93, - 1 - ] - ], - "doc": " Public: Get the active pane item in this pane.\n\nReturns a pane item. " - } - }, - "93": { - "19": { - "name": "getActiveEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 93, - 19 - ], - [ - 97, - 1 - ] - ], - "doc": " Public: Returns an {Editor} if the pane item is an {Editor}, or null\notherwise. " - } - }, - "97": { - "15": { - "name": "itemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 97, - 15 - ], - [ - 101, - 1 - ] - ], - "doc": "Public: Returns the item at the specified index. " - } - }, - "101": { - "20": { - "name": "activateNextItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 20 - ], - [ - 109, - 1 - ] - ], - "doc": "Public: Makes the next item active. " - } - }, - "109": { - "24": { - "name": "activatePreviousItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 24 - ], - [ - 117, - 1 - ] - ], - "doc": "Public: Makes the previous item active. " - } - }, - "117": { - "22": { - "name": "getActiveItemIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 22 - ], - [ - 121, - 1 - ] - ], - "doc": "Private: Returns the index of the current active item. " - } - }, - "121": { - "23": { - "name": "activateItemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 121, - 23 - ], - [ - 125, - 1 - ] - ], - "doc": "Private: Makes the item at the given index active. " - } - }, - "125": { - "16": { - "name": "activateItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 125, - 16 - ], - [ - 137, - 1 - ] - ], - "doc": "Private: Makes the given item active, adding the item if necessary. " - } - }, - "137": { - "11": { - "name": "addItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index" - ], - "range": [ - [ - 137, - 11 - ], - [ - 154, - 1 - ] - ], - "doc": " Public: Adds the item to the pane.\n\nitem - The item to add. It can be a model with an associated view or a view.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns the added item " - } - }, - "154": { - "12": { - "name": "addItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items", - "index" - ], - "range": [ - [ - 154, - 12 - ], - [ - 159, - 1 - ] - ], - "doc": " Public: Adds the given items to the pane.\n\nitems - An {Array} of items to add. Items can be models with associated\n views or views. Any items that are already present in items will\n not be added.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns an {Array} of the added items " - } - }, - "159": { - "14": { - "name": "removeItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "destroying" - ], - "range": [ - [ - 159, - 14 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "12": { - "name": "moveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "newIndex" - ], - "range": [ - [ - 175, - 12 - ], - [ - 182, - 1 - ] - ], - "doc": "Public: Moves the given item to the specified index. " - } - }, - "182": { - "18": { - "name": "moveItemToPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "pane", - "index" - ], - "range": [ - [ - 182, - 18 - ], - [ - 187, - 1 - ] - ], - "doc": "Public: Moves the given item to the given index at another pane. " - } - }, - "187": { - "21": { - "name": "destroyActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 187, - 21 - ], - [ - 193, - 1 - ] - ], - "doc": "Public: Destroys the currently active item and make the next item active. " - } - }, - "193": { - "15": { - "name": "destroyItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 193, - 15 - ], - [ - 204, - 1 - ] - ], - "doc": " Public: Destroys the given item. If it is the active item, activate the next\none. If this is the last item, also destroys the pane. " - } - }, - "204": { - "16": { - "name": "destroyItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 204, - 16 - ], - [ - 208, - 1 - ] - ], - "doc": "Public: Destroys all items and destroys the pane. " - } - }, - "208": { - "24": { - "name": "destroyInactiveItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 208, - 24 - ], - [ - 211, - 1 - ] - ], - "doc": "Public: Destroys all items but the active one. " - } - }, - "211": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 211, - 11 - ], - [ - 218, - 1 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 218, - 13 - ], - [ - 224, - 1 - ] - ], - "doc": "Private: Called by model superclass. " - } - }, - "224": { - "20": { - "name": "promptToSaveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 224, - 20 - ], - [ - 239, - 1 - ] - ], - "doc": " Public: Prompts the user to save the given item if it can be saved and is\ncurrently unsaved. " - } - }, - "239": { - "18": { - "name": "saveActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 239, - 18 - ], - [ - 243, - 1 - ] - ], - "doc": "Public: Saves the active item. " - } - }, - "243": { - "20": { - "name": "saveActiveItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 243, - 20 - ], - [ - 251, - 1 - ] - ], - "doc": "Public: Saves the active item at a prompted-for location. " - } - }, - "251": { - "12": { - "name": "saveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "nextAction" - ], - "range": [ - [ - 251, - 12 - ], - [ - 263, - 1 - ] - ], - "doc": " Public: Saves the specified item.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " - } - }, - "263": { - "14": { - "name": "saveItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "nextAction" - ], - "range": [ - [ - 263, - 14 - ], - [ - 273, - 1 - ] - ], - "doc": " Public: Saves the given item at a prompted-for location.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " - } - }, - "273": { - "13": { - "name": "saveItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 273, - 13 - ], - [ - 278, - 1 - ] - ], - "doc": "Public: Saves all items. " - } - }, - "278": { - "14": { - "name": "itemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 278, - 14 - ], - [ - 283, - 1 - ] - ], - "doc": " Public: Returns the first item that matches the given URI or undefined if\nnone exists. " - } - }, - "283": { - "22": { - "name": "activateItemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 283, - 22 - ], - [ - 290, - 1 - ] - ], - "doc": " Public: Activates the first item that matches the given URI. Returns a\nboolean indicating whether a matching item was found. " - } - }, - "290": { - "18": { - "name": "copyActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 290, - 18 - ], - [ - 300, - 1 - ] - ], - "doc": "~Private~" - } - }, - "300": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 300, - 13 - ], - [ - 309, - 1 - ] - ], - "doc": " Public: Creates a new pane to the left of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "309": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 309, - 14 - ], - [ - 318, - 1 - ] - ], - "doc": " Public: Creates a new pane to the right of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "318": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 318, - 11 - ], - [ - 327, - 1 - ] - ], - "doc": " Public: Creates a new pane above the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "327": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 327, - 13 - ], - [ - 330, - 1 - ] - ], - "doc": " Public: Creates a new pane below the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "330": { - "9": { - "name": "split", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "orientation", - "side", - "params" - ], - "range": [ - [ - 330, - 9 - ], - [ - 344, - 1 - ] - ], - "doc": "~Private~" - } - }, - "344": { - "23": { - "name": "findLeftmostSibling", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 344, - 23 - ], - [ - 356, - 1 - ] - ], - "doc": " Private: If the parent is a horizontal axis, returns its first child if it is a pane;\notherwise returns this pane. " - } - }, - "356": { - "32": { - "name": "findOrCreateRightmostSibling", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 356, - 32 - ], - [ - 364, - 19 - ] - ], - "doc": " Private: If the parent is a horizontal axis, returns its last child if it is a pane;\notherwise returns a new pane created by splitting this pane rightward. " - } - } - }, - "exports": 11 - }, - "src/project.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@2.x" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q@~1.0.1" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "9": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 9, - 15 - ], - [ - 9, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@1.x" - } - }, - "10": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer" - } - }, - "11": { - "1": { - "type": "import", - "range": [ - [ - 11, - 1 - ], - [ - 11, - 9 - ] - ], - "bindingType": "variable", - "module": "pathwatcher@^2.0.2", - "name": "Directory", - "exportsProperty": "Directory" - } - }, - "13": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 13, - 9 - ], - [ - 13, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "14": { - "7": { - "name": "Task", - "type": "import", - "range": [ - [ - 14, - 7 - ], - [ - 14, - 22 - ] - ], - "bindingType": "variable", - "path": "./task" - } - }, - "15": { - "6": { - "name": "Git", - "type": "import", - "range": [ - [ - 15, - 6 - ], - [ - 15, - 20 - ] - ], - "bindingType": "variable", - "path": "./git" - } - }, - "21": { - "0": { - "type": "class", - "name": "Project", - "bindingType": "exports", - "classProperties": [ - [ - 26, - 25 - ] - ], - "prototypeProperties": [ - [ - 31, - 15 - ], - [ - 40, - 19 - ], - [ - 44, - 21 - ], - [ - 48, - 13 - ], - [ - 52, - 15 - ], - [ - 57, - 28 - ], - [ - 61, - 11 - ], - [ - 64, - 11 - ], - [ - 68, - 11 - ], - [ - 85, - 20 - ], - [ - 95, - 11 - ], - [ - 109, - 14 - ], - [ - 114, - 12 - ], - [ - 124, - 8 - ], - [ - 130, - 12 - ], - [ - 139, - 14 - ], - [ - 143, - 18 - ], - [ - 146, - 21 - ], - [ - 150, - 21 - ], - [ - 163, - 17 - ], - [ - 168, - 15 - ], - [ - 172, - 19 - ], - [ - 184, - 15 - ], - [ - 194, - 13 - ], - [ - 198, - 20 - ], - [ - 207, - 16 - ], - [ - 211, - 23 - ], - [ - 221, - 8 - ], - [ - 268, - 11 - ], - [ - 300, - 24 - ], - [ - 304, - 14 - ], - [ - 315, - 18 - ], - [ - 320, - 20 - ], - [ - 325, - 14 - ], - [ - 330, - 14 - ] - ], - "doc": " Public: Represents a project that's opened in Atom.\n\nAn instance of this class is always available as the `atom.project` global. ", - "range": [ - [ - 21, - 0 - ], - [ - 332, - 31 - ] - ] - } - }, - "26": { - "25": { - "name": "pathForRepositoryUrl", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "repoUrl" - ], - "range": [ - [ - 26, - 25 - ], - [ - 31, - 1 - ] - ], - "doc": "Public: Find the local path for the given repository URL. " - } - }, - "31": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 31, - 15 - ], - [ - 40, - 1 - ] - ], - "doc": "~Private~" - } - }, - "40": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 40, - 19 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 44, - 21 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 13 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "15": { - "name": "destroyRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 15 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "28": { - "name": "destroyUnretainedBuffers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 28 - ], - [ - 61, - 1 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "11": { - "name": "getRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 11 - ], - [ - 61, - 18 - ] - ], - "doc": "Public: Returns the {Git} repository if available. " - } - }, - "64": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 11 - ], - [ - 68, - 1 - ] - ], - "doc": "Public: Returns the project's fullpath. " - } - }, - "68": { - "11": { - "name": "setPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "projectPath" - ], - "range": [ - [ - 68, - 11 - ], - [ - 85, - 1 - ] - ], - "doc": "Public: Sets the project's fullpath. " - } - }, - "85": { - "20": { - "name": "getRootDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 85, - 20 - ], - [ - 95, - 1 - ] - ], - "doc": "Public: Returns the root {Directory} object for this project. " - } - }, - "95": { - "11": { - "name": "resolve", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 95, - 11 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Given a uri, this resolves it relative to the project directory. If\nthe path is already absolute or if it is prefixed with a scheme, it is\nreturned unchanged.\n\nuri - The {String} name of the path to convert.\n\nReturns a {String} or undefined if the uri is not missing or empty. " - } - }, - "109": { - "14": { - "name": "relativize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fullPath" - ], - "range": [ - [ - 109, - 14 - ], - [ - 114, - 1 - ] - ], - "doc": "Public: Make the given path relative to the project directory. " - } - }, - "114": { - "12": { - "name": "contains", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToCheck" - ], - "range": [ - [ - 114, - 12 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Returns whether the given path is inside this project. " - } - }, - "124": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "options" - ], - "range": [ - [ - 124, - 8 - ], - [ - 130, - 1 - ] - ], - "doc": " Private: Given a path to a file, this constructs and associates a new\n{Editor}, showing the file.\n\nfilePath - The {String} path of the file to associate with.\noptions - Options that you can pass to the {Editor} constructor.\n\nReturns a promise that resolves to an {Editor}. " - } - }, - "130": { - "12": { - "name": "openSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "options" - ], - "range": [ - [ - 130, - 12 - ], - [ - 139, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "139": { - "14": { - "name": "getBuffers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 139, - 14 - ], - [ - 143, - 1 - ] - ], - "doc": " Private: Retrieves all the {TextBuffer}s in the project; that is, the\nbuffers for all open files.\n\nReturns an {Array} of {TextBuffer}s. " - } - }, - "143": { - "18": { - "name": "isPathModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 143, - 18 - ], - [ - 146, - 1 - ] - ], - "doc": "Private: Is the buffer for the given path modified? " - } - }, - "146": { - "21": { - "name": "findBufferForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 146, - 21 - ], - [ - 150, - 1 - ] - ], - "doc": "~Private~" - } - }, - "150": { - "21": { - "name": "bufferForPathSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 150, - 21 - ], - [ - 163, - 1 - ] - ], - "doc": "Private: Only to be used in specs " - } - }, - "163": { - "17": { - "name": "bufferForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 163, - 17 - ], - [ - 168, - 1 - ] - ], - "doc": " Private: Given a file path, this retrieves or creates a new {TextBuffer}.\n\nIf the `filePath` already has a `buffer`, that value is used instead. Otherwise,\n`text` is used as the contents of the new buffer.\n\nfilePath - A {String} representing a path. If `null`, an \"Untitled\" buffer is created.\n\nReturns a promise that resolves to the {TextBuffer}. " - } - }, - "168": { - "15": { - "name": "bufferForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 168, - 15 - ], - [ - 172, - 1 - ] - ], - "doc": "~Private~" - } - }, - "172": { - "19": { - "name": "buildBufferSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "absoluteFilePath" - ], - "range": [ - [ - 172, - 19 - ], - [ - 184, - 1 - ] - ], - "doc": "Private: Still needed when deserializing a tokenized buffer " - } - }, - "184": { - "15": { - "name": "buildBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "absoluteFilePath" - ], - "range": [ - [ - 184, - 15 - ], - [ - 194, - 1 - ] - ], - "doc": " Private: Given a file path, this sets its {TextBuffer}.\n\nabsoluteFilePath - A {String} representing a path.\ntext - The {String} text to use as a buffer.\n\nReturns a promise that resolves to the {TextBuffer}. " - } - }, - "194": { - "13": { - "name": "addBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "options" - ], - "range": [ - [ - 194, - 13 - ], - [ - 198, - 1 - ] - ], - "doc": "~Private~" - } - }, - "198": { - "20": { - "name": "addBufferAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "index", - "options" - ], - "range": [ - [ - 198, - 20 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "16": { - "name": "removeBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer" - ], - "range": [ - [ - 207, - 16 - ], - [ - 211, - 1 - ] - ], - "doc": " Private: Removes a {TextBuffer} association from the project.\n\nReturns the removed {TextBuffer}. " - } - }, - "211": { - "23": { - "name": "removeBufferAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index", - "options" - ], - "range": [ - [ - 211, - 23 - ], - [ - 221, - 1 - ] - ], - "doc": "~Private~" - } - }, - "221": { - "8": { - "name": "scan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "options", - "iterator" - ], - "range": [ - [ - 221, - 8 - ], - [ - 268, - 1 - ] - ], - "doc": " Public: Performs a search across all the files in the project.\n\nregex - A {RegExp} to search with.\noptions - An optional options {Object} (default: {}):\n :paths - An {Array} of glob patterns to search within\niterator - A {Function} callback on each file found " - } - }, - "268": { - "11": { - "name": "replace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "replacementText", - "filePaths", - "iterator" - ], - "range": [ - [ - 268, - 11 - ], - [ - 300, - 1 - ] - ], - "doc": " Public: Performs a replace across all the specified files in the project.\n\nregex - A {RegExp} to search with.\nreplacementText - Text to replace all matches of regex with\nfilePaths - List of file path strings to run the replace on.\niterator - A {Function} callback on each file with replacements:\n `({filePath, replacements}) ->`. " - } - }, - "300": { - "24": { - "name": "buildEditorForBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "editorOptions" - ], - "range": [ - [ - 300, - 24 - ], - [ - 304, - 1 - ] - ], - "doc": "~Private~" - } - }, - "304": { - "14": { - "name": "eachBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 304, - 14 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "18": { - "name": "registerOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 315, - 18 - ], - [ - 320, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "320": { - "20": { - "name": "unregisterOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 320, - 20 - ], - [ - 325, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "325": { - "14": { - "name": "eachEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 325, - 14 - ], - [ - 330, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "330": { - "14": { - "name": "getEditors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 330, - 14 - ], - [ - 332, - 31 - ] - ], - "doc": "Deprecated: delegate " - } - } - }, - "exports": 21 - }, - "src/react-editor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "defaults", - "exportsProperty": "defaults" - } - }, - "3": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 3, - 13 - ], - [ - 3, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer" - } - }, - "4": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "5": { - "18": { - "name": "EditorComponent", - "type": "import", - "range": [ - [ - 5, - 18 - ], - [ - 5, - 45 - ] - ], - "bindingType": "variable", - "path": "./editor-component" - } - }, - "8": { - "0": { - "type": "class", - "name": "ReactEditorView", - "bindingType": "exports", - "classProperties": [ - [ - 9, - 12 - ] - ], - "prototypeProperties": [ - [ - 14, - 17 - ], - [ - 16, - 15 - ], - [ - 58, - 13 - ], - [ - 60, - 12 - ], - [ - 69, - 15 - ], - [ - 77, - 13 - ], - [ - 83, - 14 - ], - [ - 89, - 18 - ], - [ - 92, - 26 - ], - [ - 95, - 26 - ], - [ - 98, - 26 - ], - [ - 101, - 25 - ], - [ - 105, - 34 - ], - [ - 108, - 34 - ], - [ - 111, - 21 - ], - [ - 116, - 16 - ], - [ - 122, - 13 - ], - [ - 127, - 14 - ], - [ - 132, - 11 - ], - [ - 137, - 13 - ], - [ - 141, - 11 - ], - [ - 144, - 9 - ], - [ - 150, - 8 - ], - [ - 154, - 8 - ], - [ - 158, - 20 - ], - [ - 165, - 12 - ], - [ - 168, - 10 - ], - [ - 171, - 12 - ], - [ - 174, - 28 - ], - [ - 177, - 27 - ], - [ - 180, - 17 - ], - [ - 183, - 17 - ], - [ - 186, - 15 - ], - [ - 189, - 15 - ], - [ - 192, - 19 - ], - [ - 195, - 17 - ], - [ - 198, - 22 - ], - [ - 201, - 15 - ], - [ - 204, - 21 - ], - [ - 207, - 18 - ], - [ - 210, - 18 - ], - [ - 213, - 11 - ], - [ - 216, - 11 - ], - [ - 219, - 14 - ], - [ - 222, - 18 - ], - [ - 225, - 19 - ], - [ - 228, - 24 - ], - [ - 230, - 17 - ], - [ - 232, - 16 - ], - [ - 234, - 10 - ], - [ - 236, - 22 - ], - [ - 242, - 27 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 243, - 49 - ] - ] - } - }, - "9": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 9, - 12 - ], - [ - 14, - 1 - ] - ] - } - }, - "14": { - "17": { - "name": "focusOnAttach", - "type": "primitive", - "range": [ - [ - 14, - 17 - ], - [ - 14, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorOrParams", - "props" - ], - "range": [ - [ - 16, - 15 - ], - [ - 58, - 1 - ] - ], - "doc": "~Private~" - } - }, - "58": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 58, - 13 - ], - [ - 58, - 22 - ] - ], - "doc": "~Private~" - } - }, - "69": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 69, - 15 - ], - [ - 77, - 1 - ] - ], - "doc": "~Private~" - } - }, - "77": { - "13": { - "name": "scrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 77, - 13 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "14": { - "name": "scrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 83, - 14 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "18": { - "name": "scrollToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 18 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 92, - 26 - ], - [ - 95, - 1 - ] - ], - "doc": "~Private~" - } - }, - "95": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 95, - 26 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 26 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "scrollToPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 101, - 25 - ], - [ - 105, - 1 - ] - ], - "doc": "~Private~" - } - }, - "105": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 105, - 34 - ], - [ - 108, - 1 - ] - ], - "doc": "~Private~" - } - }, - "108": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 108, - 34 - ], - [ - 111, - 1 - ] - ], - "doc": "~Private~" - } - }, - "111": { - "21": { - "name": "appendToLinesView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 111, - 21 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 16 - ], - [ - 122, - 1 - ] - ], - "doc": "~Private~" - } - }, - "122": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 122, - 13 - ], - [ - 127, - 1 - ] - ], - "doc": "Public: Split the editor view left. " - } - }, - "127": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 127, - 14 - ], - [ - 132, - 1 - ] - ], - "doc": "Public: Split the editor view right. " - } - }, - "132": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 132, - 11 - ], - [ - 137, - 1 - ] - ], - "doc": "Public: Split the editor view up. " - } - }, - "137": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 13 - ], - [ - 141, - 1 - ] - ], - "doc": "Public: Split the editor view down. " - } - }, - "141": { - "11": { - "name": "getPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 11 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 144, - 9 - ], - [ - 150, - 1 - ] - ], - "doc": "~Private~" - } - }, - "150": { - "8": { - "name": "hide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 150, - 8 - ], - [ - 154, - 1 - ] - ], - "doc": "~Private~" - } - }, - "154": { - "8": { - "name": "show", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 8 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "20": { - "name": "pollComponentDOM", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 20 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 12 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 10 - ], - [ - 171, - 1 - ] - ], - "doc": "~Private~" - } - }, - "171": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 12 - ], - [ - 174, - 1 - ] - ], - "doc": "~Private~" - } - }, - "174": { - "28": { - "name": "getFirstVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 174, - 28 - ], - [ - 177, - 1 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "27": { - "name": "getLastVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 27 - ], - [ - 180, - 1 - ] - ], - "doc": "~Private~" - } - }, - "180": { - "17": { - "name": "getFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 180, - 17 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "17": { - "name": "setFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 183, - 17 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "15": { - "name": "getFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 186, - 15 - ], - [ - 189, - 1 - ] - ], - "doc": "~Private~" - } - }, - "189": { - "15": { - "name": "setFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 189, - 15 - ], - [ - 192, - 1 - ] - ], - "doc": "~Private~" - } - }, - "192": { - "19": { - "name": "setWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "widthInChars" - ], - "range": [ - [ - 192, - 19 - ], - [ - 195, - 1 - ] - ], - "doc": "~Private~" - } - }, - "195": { - "17": { - "name": "setLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 195, - 17 - ], - [ - 198, - 1 - ] - ], - "doc": "~Private~" - } - }, - "198": { - "22": { - "name": "setShowIndentGuide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showIndentGuide" - ], - "range": [ - [ - 198, - 22 - ], - [ - 201, - 1 - ] - ], - "doc": "~Private~" - } - }, - "201": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 201, - 15 - ], - [ - 204, - 1 - ] - ], - "doc": "~Private~" - } - }, - "204": { - "21": { - "name": "setShowInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showInvisibles" - ], - "range": [ - [ - 204, - 21 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 207, - 18 - ], - [ - 210, - 1 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 18 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 11 - ], - [ - 216, - 1 - ] - ], - "doc": "~Private~" - } - }, - "216": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 216, - 11 - ], - [ - 219, - 1 - ] - ], - "doc": "~Private~" - } - }, - "219": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 219, - 14 - ], - [ - 222, - 1 - ] - ], - "doc": "~Private~" - } - }, - "222": { - "18": { - "name": "isInputEnabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 222, - 18 - ], - [ - 225, - 1 - ] - ], - "doc": "~Private~" - } - }, - "225": { - "19": { - "name": "setInputEnabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "inputEnabled" - ], - "range": [ - [ - 225, - 19 - ], - [ - 228, - 1 - ] - ], - "doc": "~Private~" - } - }, - "228": { - "24": { - "name": "requestDisplayUpdate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 228, - 24 - ], - [ - 228, - 25 - ] - ], - "doc": "~Private~" - } - }, - "230": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 230, - 17 - ], - [ - 230, - 18 - ] - ], - "doc": "~Private~" - } - }, - "232": { - "16": { - "name": "resetDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 232, - 16 - ], - [ - 232, - 17 - ] - ], - "doc": "~Private~" - } - }, - "234": { - "10": { - "name": "redraw", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 10 - ], - [ - 234, - 11 - ] - ], - "doc": "~Private~" - } - }, - "236": { - "22": { - "name": "setPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "placeholderText" - ], - "range": [ - [ - 236, - 22 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "27": { - "name": "lineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 242, - 27 - ], - [ - 243, - 49 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/replace-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "PathReplacer", - "exportsProperty": "PathReplacer" - } - } - }, - "exports": 2 - }, - "src/repository-status-handler.coffee": { - "objects": { - "0": { - "6": { - "name": "Git", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "git-utils" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - } - }, - "exports": 3 - }, - "src/row-map.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 15 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "spliceWithArray", - "exportsProperty": "spliceWithArray" - } - }, - "16": { - "0": { - "type": "class", - "name": "RowMap", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 15 - ], - [ - 21, - 14 - ], - [ - 27, - 30 - ], - [ - 40, - 30 - ], - [ - 50, - 30 - ], - [ - 61, - 17 - ], - [ - 83, - 23 - ], - [ - 93, - 23 - ], - [ - 103, - 35 - ], - [ - 116, - 11 - ] - ], - "doc": " Private: Used by the display buffer to map screen rows to buffer rows and vice-versa.\nThis mapping may not be 1:1 due to folds and soft-wraps. This object maintains\nan array of regions, which contain `bufferRows` and `screenRows` fields.\n\nRectangular Regions:\nIf a region has the same number of buffer rows and screen rows, it is referred\nto as \"rectangular\", and represents one or more non-soft-wrapped, non-folded\nlines.\n\nTrapezoidal Regions:\nIf a region has one buffer row and more than one screen row, it represents a\nsoft-wrapped line. If a region has one screen row and more than one buffer\nrow, it represents folded lines ", - "range": [ - [ - 16, - 0 - ], - [ - 118, - 35 - ] - ] - } - }, - "17": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 15 - ], - [ - 21, - 1 - ] - ] - } - }, - "21": { - "14": { - "name": "getRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 14 - ], - [ - 27, - 1 - ] - ], - "doc": "Public: Returns a copy of all the regions in the map " - } - }, - "27": { - "30": { - "name": "screenRowRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 27, - 30 - ], - [ - 40, - 1 - ] - ], - "doc": " Public: Returns an end-row-exclusive range of screen rows corresponding to\nthe given buffer row. If the buffer row is soft-wrapped, the range may span\nmultiple screen rows. Otherwise it will span a single screen row. " - } - }, - "40": { - "30": { - "name": "bufferRowRangeForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetScreenRow" - ], - "range": [ - [ - 40, - 30 - ], - [ - 50, - 1 - ] - ], - "doc": " Public: Returns an end-row-exclusive range of buffer rows corresponding to\nthe given screen row. If the screen row is the first line of a folded range\nof buffer rows, the range may span multiple buffer rows. Otherwise it will\nspan a single buffer row. " - } - }, - "50": { - "30": { - "name": "bufferRowRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 50, - 30 - ], - [ - 61, - 1 - ] - ], - "doc": " Public: If the given buffer row is part of a folded row range, returns that\nrow range. Otherwise returns a range spanning only the given buffer row. " - } - }, - "61": { - "17": { - "name": "spliceRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "bufferRowCount", - "regions" - ], - "range": [ - [ - 61, - 17 - ], - [ - 83, - 1 - ] - ], - "doc": " Public: Given a starting buffer row, the number of buffer rows to replace,\nand an array of regions of shape {bufferRows: n, screenRows: m}, splices\nthe regions at the appropriate location in the map. This method is used by\ndisplay buffer to keep the map updated when the underlying buffer changes. " - } - }, - "83": { - "23": { - "name": "traverseToBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 83, - 23 - ], - [ - 93, - 1 - ] - ], - "doc": "~Private~" - } - }, - "93": { - "23": { - "name": "traverseToScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetScreenRow" - ], - "range": [ - [ - 93, - 23 - ], - [ - 103, - 1 - ] - ], - "doc": "~Private~" - } - }, - "103": { - "35": { - "name": "mergeAdjacentRectangularRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startIndex", - "endIndex" - ], - "range": [ - [ - 103, - 35 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 11 - ], - [ - 118, - 35 - ] - ], - "doc": "Public: Returns an array of strings describing the map's regions. " - } - } - }, - "exports": 16 - }, - "src/scan-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "PathSearcher", - "exportsProperty": "PathSearcher" - }, - "15": { - "type": "import", - "range": [ - [ - 0, - 15 - ], - [ - 0, - 25 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "PathScanner", - "exportsProperty": "PathScanner" - }, - "28": { - "type": "import", - "range": [ - [ - 0, - 28 - ], - [ - 0, - 33 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "search", - "exportsProperty": "search" - } - } - }, - "exports": 2 - }, - "src/scoped-properties.coffee": { - "objects": { - "0": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "3": { - "0": { - "type": "class", - "name": "ScopedProperties", - "bindingType": "exports", - "classProperties": [ - [ - 4, - 9 - ] - ], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 13, - 12 - ], - [ - 17, - 14 - ] - ], - "doc": "~Private~", - "range": [ - [ - 3, - 0 - ], - [ - 18, - 39 - ] - ] - } - }, - "4": { - "9": { - "name": "load", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "scopedPropertiesPath", - "callback" - ], - "range": [ - [ - 4, - 9 - ], - [ - 11, - 1 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 11, - 43 - ] - ], - "doc": "~Private~" - } - }, - "13": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 12 - ], - [ - 17, - 1 - ] - ], - "doc": "~Private~" - } - }, - "17": { - "14": { - "name": "deactivate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 14 - ], - [ - 18, - 39 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 3 - }, - "src/scroll-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "21": { - "0": { - "type": "class", - "name": "ScrollView", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 22, - 14 - ] - ], - "doc": " Public: Represents a view that scrolls.\n\nSubclasses must call `super` if overriding the `initialize` method or else\nthe following events won't be handled by the ScrollView.\n\n## Events\n * `core:move-up`\n * `core:move-down`\n * `core:page-up`\n * `core:page-down`\n * `core:move-to-top`\n * `core:move-to-bottom`\n\n## Requiring in packages\n\n```coffee\n {ScrollView} = require 'atom'\n``` ", - "range": [ - [ - 21, - 0 - ], - [ - 28, - 51 - ] - ] - } - }, - "22": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 22, - 14 - ], - [ - 28, - 51 - ] - ] - } - } - }, - "exports": 21 - }, - "src/scrollbar-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 6 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "extend", - "exportsProperty": "extend" - }, - "9": { - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "21": { - "name": "ScrollbarComponent", - "type": "function", - "range": [ - [ - 5, - 21 - ], - [ - 69, - 28 - ] - ] - } - }, - "6": { - "15": { - "name": "'ScrollbarComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 34 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 21 - ], - [ - 36, - 1 - ] - ], - "doc": null - } - }, - "36": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 36, - 25 - ], - [ - 45, - 1 - ] - ], - "doc": null - } - }, - "45": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 22 - ], - [ - 57, - 1 - ] - ], - "doc": null - } - }, - "57": { - "12": { - "name": "onScroll", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 12 - ], - [ - 69, - 28 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/scrollbar-corner-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "27": { - "name": "ScrollbarCornerComponent", - "type": "function", - "range": [ - [ - 5, - 27 - ], - [ - 23, - 99 - ] - ] - } - }, - "6": { - "15": { - "name": "'ScrollbarCornerComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 40 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 22, - 1 - ] - ], - "doc": null - } - }, - "22": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 22, - 25 - ], - [ - 23, - 99 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/select-list-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "4": { - "15": { - "name": "EditorView", - "type": "import", - "range": [ - [ - 4, - 15 - ], - [ - 4, - 37 - ] - ], - "bindingType": "variable", - "path": "./editor-view" - } - }, - "5": { - "14": { - "type": "primitive", - "range": [ - [ - 5, - 14 - ], - [ - 5, - 41 - ] - ] - } - }, - "36": { - "0": { - "type": "class", - "name": "SelectListView", - "bindingType": "exports", - "classProperties": [ - [ - 37, - 12 - ] - ], - "prototypeProperties": [ - [ - 46, - 12 - ], - [ - 47, - 19 - ], - [ - 48, - 17 - ], - [ - 49, - 14 - ], - [ - 55, - 14 - ], - [ - 90, - 24 - ], - [ - 102, - 12 - ], - [ - 109, - 12 - ], - [ - 119, - 14 - ], - [ - 136, - 18 - ], - [ - 143, - 16 - ], - [ - 174, - 19 - ], - [ - 179, - 15 - ], - [ - 181, - 26 - ], - [ - 186, - 22 - ], - [ - 191, - 18 - ], - [ - 197, - 20 - ], - [ - 207, - 23 - ], - [ - 213, - 19 - ], - [ - 216, - 20 - ], - [ - 233, - 15 - ], - [ - 244, - 13 - ], - [ - 258, - 16 - ], - [ - 261, - 21 - ], - [ - 266, - 23 - ], - [ - 269, - 16 - ], - [ - 275, - 13 - ], - [ - 283, - 10 - ] - ], - "doc": " Public: Provides a view that renders a list of items with an editor that\nfilters the items. Used by many packages such as the fuzzy-finder,\ncommand-palette, symbols-view and autocomplete.\n\nSubclasses must implement the following methods:\n\n* {::viewForItem}\n* {::confirmed}\n\n## Requiring in packages\n\n```coffee\n{SelectListView} = require 'atom'\n\nclass MySelectListView extends SelectListView\n initialize: ->\n super\n @addClass('overlay from-top')\n @setItems(['Hello', 'World'])\n atom.workspaceView.append(this)\n @focusFilterEditor()\n\n viewForItem: (item) ->\n \"
  • #{item}
  • \"\n\n confirmed: (item) ->\n console.log(\"#{item} was selected\")\n``` ", - "range": [ - [ - 36, - 0 - ], - [ - 291, - 34 - ] - ] - } - }, - "37": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 37, - 12 - ], - [ - 46, - 1 - ] - ] - } - }, - "46": { - "12": { - "name": "maxItems", - "type": "primitive", - "range": [ - [ - 46, - 12 - ], - [ - 46, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "47": { - "19": { - "name": "scheduleTimeout", - "type": "primitive", - "range": [ - [ - 47, - 19 - ], - [ - 47, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "48": { - "17": { - "name": "inputThrottle", - "type": "primitive", - "range": [ - [ - 48, - 17 - ], - [ - 48, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "49": { - "14": { - "name": "cancelling", - "type": "primitive", - "range": [ - [ - 49, - 14 - ], - [ - 49, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "55": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 14 - ], - [ - 90, - 1 - ] - ], - "doc": " Public: Initialize the select list view.\n\nThis method can be overridden by subclasses but `super` should always\nbe called. " - } - }, - "90": { - "24": { - "name": "schedulePopulateList", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 24 - ], - [ - 102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "102": { - "12": { - "name": "setItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 102, - 12 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Set the array of items to display in the list.\n\nThis should be model items not actual views. {::viewForItem} will be\ncalled to render the item when it is being appended to the list view.\n\nitems - The {Array} of model items to display in the list (default: []). " - } - }, - "109": { - "12": { - "name": "setError", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 109, - 12 - ], - [ - 119, - 1 - ] - ], - "doc": " Public: Set the error message to display.\n\nmessage - The {String} error message (default: ''). " - } - }, - "119": { - "14": { - "name": "setLoading", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 119, - 14 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Set the loading message to display.\n\nmessage - The {String} loading message (default: ''). " - } - }, - "136": { - "18": { - "name": "getFilterQuery", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 18 - ], - [ - 143, - 1 - ] - ], - "doc": " Public: Get the filter query to use when fuzzy filtering the visible\nelements.\n\nBy default this method returns the text in the mini editor but it can be\noverridden by subclasses if needed.\n\nReturns a {String} to use when fuzzy filtering the elements to display. " - } - }, - "143": { - "16": { - "name": "populateList", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 143, - 16 - ], - [ - 174, - 1 - ] - ], - "doc": " Public: Populate the list view with the model items previously set by\ncalling {::setItems}.\n\nSubclasses may override this method but should always call `super`. " - } - }, - "174": { - "19": { - "name": "getEmptyMessage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "itemCount", - "filteredItemCount" - ], - "range": [ - [ - 174, - 19 - ], - [ - 174, - 70 - ] - ], - "doc": " Public: Get the message to display when there are no items.\n\nSubclasses may override this method to customize the message.\n\nitemCount - The {Number} of items in the array specified to {::setItems}\nfilteredItemCount - The {Number} of items that pass the fuzzy filter test.\n\nReturns a {String} message (default: 'No matches found'). " - } - }, - "179": { - "15": { - "name": "setMaxItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 179, - 15 - ], - [ - 179, - 28 - ] - ], - "doc": " Public: Set the maximum numbers of items to display in the list.\n\nmaxItems - The maximum {Number} of items to display. " - } - }, - "181": { - "26": { - "name": "selectPreviousItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 181, - 26 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "22": { - "name": "selectNextItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 186, - 22 - ], - [ - 191, - 1 - ] - ], - "doc": "~Private~" - } - }, - "191": { - "18": { - "name": "selectItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 191, - 18 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "20": { - "name": "scrollToItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 197, - 20 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "23": { - "name": "getSelectedItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 207, - 23 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "19": { - "name": "getSelectedItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 19 - ], - [ - 216, - 1 - ] - ], - "doc": " Public: Get the model item that is currently selected in the list view.\n\nReturns a model item. " - } - }, - "216": { - "20": { - "name": "confirmSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 216, - 20 - ], - [ - 233, - 1 - ] - ], - "doc": "~Private~" - } - }, - "233": { - "15": { - "name": "viewForItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 233, - 15 - ], - [ - 244, - 1 - ] - ], - "doc": " Public: Create a view for the given model item.\n\nThis method must be overridden by subclasses.\n\nThis is called when the item is about to appended to the list view.\n\nitem - The model item being rendered. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a String of HTML, DOM element, jQuery object, or View. " - } - }, - "244": { - "13": { - "name": "confirmed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 244, - 13 - ], - [ - 258, - 1 - ] - ], - "doc": " Public: Callback function for when an item is selected.\n\nThis method must be overridden by subclasses.\n\nitem - The selected model item. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a DOM element, jQuery object, or {View}. " - } - }, - "258": { - "16": { - "name": "getFilterKey", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 258, - 16 - ], - [ - 258, - 17 - ] - ], - "doc": " Public: Get the property name to use when filtering items.\n\nThis method may be overridden by classes to allow fuzzy filtering based\non a specific property of the item objects.\n\nFor example if the objects you pass to {::setItems} are of the type\n`{\"id\": 3, \"name\": \"Atom\"}` then you would return `\"name\"` from this method\nto fuzzy filter by that property when text is entered into this view's\neditor.\n\nReturns the property name to fuzzy filter by. " - } - }, - "261": { - "21": { - "name": "focusFilterEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 21 - ], - [ - 266, - 1 - ] - ], - "doc": "Public: Focus the fuzzy filter editor view. " - } - }, - "266": { - "23": { - "name": "storeFocusedElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 266, - 23 - ], - [ - 269, - 1 - ] - ], - "doc": " Public: Store the currently focused element. This element will be given\nback focus when {::cancel} is called. " - } - }, - "269": { - "16": { - "name": "restoreFocus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 16 - ], - [ - 275, - 1 - ] - ], - "doc": "~Private~" - } - }, - "275": { - "13": { - "name": "cancelled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 275, - 13 - ], - [ - 283, - 1 - ] - ], - "doc": "~Private~" - } - }, - "283": { - "10": { - "name": "cancel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 283, - 10 - ], - [ - 291, - 34 - ] - ], - "doc": " Public: Cancel and close this select list view.\n\nThis restores focus to the previously focused element if\n{::storeFocusedElement} was called prior to this view being attached. " - } - } - }, - "exports": 36 - }, - "src/selection-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 8 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - } - }, - "4": { - "0": { - "type": "class", - "name": "SelectionView", - "bindingType": "exports", - "classProperties": [ - [ - 6, - 12 - ] - ], - "prototypeProperties": [ - [ - 9, - 11 - ], - [ - 10, - 16 - ], - [ - 12, - 14 - ], - [ - 19, - 17 - ], - [ - 37, - 16 - ], - [ - 50, - 26 - ], - [ - 57, - 16 - ], - [ - 61, - 18 - ], - [ - 64, - 18 - ], - [ - 67, - 19 - ], - [ - 70, - 19 - ], - [ - 73, - 13 - ], - [ - 79, - 15 - ], - [ - 82, - 10 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 84, - 9 - ] - ] - } - }, - "6": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 12 - ], - [ - 9, - 1 - ] - ], - "doc": "~Private~" - } - }, - "9": { - "11": { - "name": "regions", - "type": "primitive", - "range": [ - [ - 9, - 11 - ], - [ - 9, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "16": { - "name": "needsRemoval", - "type": "primitive", - "range": [ - [ - 10, - 16 - ], - [ - 10, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 14 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 19, - 17 - ], - [ - 37, - 1 - ] - ], - "doc": "~Private~" - } - }, - "37": { - "16": { - "name": "appendRegion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rows", - "start", - "end" - ], - "range": [ - [ - 37, - 16 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "26": { - "name": "getCenterPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 26 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "16": { - "name": "clearRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 16 - ], - [ - 61, - 1 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 18 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 18 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "19": { - "name": "needsAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 19 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 70, - 19 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "13": { - "name": "highlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 13 - ], - [ - 79, - 1 - ] - ], - "doc": "~Private~" - } - }, - "79": { - "15": { - "name": "unhighlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 15 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 10 - ], - [ - 84, - 9 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/selection.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "pick", - "exportsProperty": "pick" - } - }, - "6": { - "0": { - "type": "class", - "name": "Selection", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 7, - 10 - ], - [ - 8, - 10 - ], - [ - 9, - 10 - ], - [ - 10, - 22 - ], - [ - 11, - 12 - ], - [ - 12, - 19 - ], - [ - 14, - 15 - ], - [ - 25, - 11 - ], - [ - 28, - 12 - ], - [ - 34, - 19 - ], - [ - 38, - 11 - ], - [ - 45, - 14 - ], - [ - 49, - 22 - ], - [ - 53, - 18 - ], - [ - 60, - 18 - ], - [ - 64, - 18 - ], - [ - 74, - 18 - ], - [ - 91, - 21 - ], - [ - 98, - 25 - ], - [ - 101, - 25 - ], - [ - 104, - 25 - ], - [ - 107, - 25 - ], - [ - 110, - 14 - ], - [ - 114, - 11 - ], - [ - 118, - 9 - ], - [ - 126, - 14 - ], - [ - 138, - 18 - ], - [ - 144, - 14 - ], - [ - 155, - 18 - ], - [ - 163, - 26 - ], - [ - 184, - 26 - ], - [ - 188, - 15 - ], - [ - 192, - 14 - ], - [ - 196, - 12 - ], - [ - 200, - 14 - ], - [ - 205, - 15 - ], - [ - 210, - 18 - ], - [ - 214, - 13 - ], - [ - 219, - 27 - ], - [ - 224, - 32 - ], - [ - 229, - 21 - ], - [ - 234, - 27 - ], - [ - 239, - 21 - ], - [ - 244, - 31 - ], - [ - 248, - 32 - ], - [ - 252, - 28 - ], - [ - 257, - 36 - ], - [ - 262, - 40 - ], - [ - 266, - 21 - ], - [ - 284, - 22 - ], - [ - 289, - 21 - ], - [ - 316, - 14 - ], - [ - 349, - 20 - ], - [ - 383, - 10 - ], - [ - 399, - 22 - ], - [ - 405, - 25 - ], - [ - 412, - 13 - ], - [ - 417, - 30 - ], - [ - 422, - 30 - ], - [ - 428, - 27 - ], - [ - 434, - 27 - ], - [ - 443, - 10 - ], - [ - 455, - 21 - ], - [ - 462, - 21 - ], - [ - 467, - 22 - ], - [ - 477, - 14 - ], - [ - 496, - 13 - ], - [ - 522, - 23 - ], - [ - 532, - 26 - ], - [ - 542, - 22 - ], - [ - 546, - 18 - ], - [ - 551, - 7 - ], - [ - 561, - 8 - ], - [ - 579, - 8 - ], - [ - 584, - 19 - ], - [ - 595, - 13 - ], - [ - 603, - 25 - ], - [ - 606, - 28 - ], - [ - 609, - 23 - ], - [ - 617, - 18 - ], - [ - 625, - 9 - ], - [ - 641, - 11 - ], - [ - 644, - 22 - ] - ], - "doc": "Public: Represents a selection in the {Editor}. ", - "range": [ - [ - 6, - 0 - ], - [ - 647, - 45 - ] - ] - } - }, - "7": { - "10": { - "name": "cursor", - "type": "primitive", - "range": [ - [ - 7, - 10 - ], - [ - 7, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "8": { - "10": { - "name": "marker", - "type": "primitive", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "10": { - "name": "editor", - "type": "primitive", - "range": [ - [ - 9, - 10 - ], - [ - 9, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "22": { - "name": "initialScreenRange", - "type": "primitive", - "range": [ - [ - 10, - 22 - ], - [ - 10, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "11": { - "12": { - "name": "wordwise", - "type": "primitive", - "range": [ - [ - 11, - 12 - ], - [ - 11, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "19": { - "name": "needsAutoscroll", - "type": "primitive", - "range": [ - [ - 12, - 19 - ], - [ - 12, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 14, - 15 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 11 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "12": { - "name": "finalize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 12 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 19 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "11": { - "name": "isEmpty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 38, - 11 - ], - [ - 45, - 1 - ] - ], - "doc": "Public: Determines if the selection contains anything. " - } - }, - "45": { - "14": { - "name": "isReversed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 14 - ], - [ - 49, - 1 - ] - ], - "doc": " Public: Determines if the ending position of a marker is greater than the\nstarting position.\n\nThis can happen when, for example, you highlight text \"up\" in a {TextBuffer}. " - } - }, - "49": { - "22": { - "name": "isSingleScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 22 - ], - [ - 53, - 1 - ] - ], - "doc": "Public: Returns whether the selection is a single line or not. " - } - }, - "53": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 18 - ], - [ - 60, - 1 - ] - ], - "doc": "Public: Returns the screen {Range} for the selection. " - } - }, - "60": { - "18": { - "name": "setScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 60, - 18 - ], - [ - 64, - 1 - ] - ], - "doc": " Public: Modifies the screen range for the selection.\n\nscreenRange - The new {Range} to use.\noptions - A hash of options matching those found in {::setBufferRange}. " - } - }, - "64": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 18 - ], - [ - 74, - 1 - ] - ], - "doc": "Public: Returns the buffer {Range} for the selection. " - } - }, - "74": { - "18": { - "name": "setBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 74, - 18 - ], - [ - 91, - 1 - ] - ], - "doc": " Public: Modifies the buffer {Range} for the selection.\n\nscreenRange - The new {Range} to select.\noptions - An {Object} with the keys:\n :preserveFolds - if `true`, the fold settings are preserved after the\n selection moves.\n :autoscroll - if `true`, the {Editor} scrolls to the new selection. " - } - }, - "91": { - "21": { - "name": "getBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 21 - ], - [ - 98, - 1 - ] - ], - "doc": " Public: Returns the starting and ending buffer rows the selection is\nhighlighting.\n\nReturns an {Array} of two {Number}s: the starting row, and the ending row. " - } - }, - "98": { - "25": { - "name": "getTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 25 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "getTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 25 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "25": { - "name": "getHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 25 - ], - [ - 107, - 1 - ] - ], - "doc": "~Private~" - } - }, - "107": { - "25": { - "name": "getHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 25 - ], - [ - 110, - 1 - ] - ], - "doc": "~Private~" - } - }, - "110": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 14 - ], - [ - 114, - 1 - ] - ], - "doc": "~Private~" - } - }, - "114": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 114, - 11 - ], - [ - 118, - 1 - ] - ], - "doc": "Public: Returns the text in the selection. " - } - }, - "118": { - "9": { - "name": "clear", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 118, - 9 - ], - [ - 126, - 1 - ] - ], - "doc": "Public: Clears the selection, moving the marker to the head. " - } - }, - "126": { - "14": { - "name": "selectWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 14 - ], - [ - 138, - 1 - ] - ], - "doc": " Public: Modifies the selection to encompass the current word.\n\nReturns a {Range}. " - } - }, - "138": { - "18": { - "name": "expandOverWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 18 - ], - [ - 144, - 1 - ] - ], - "doc": " Public: Expands the newest selection to include the entire word on which\nthe cursors rests. " - } - }, - "144": { - "14": { - "name": "selectLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 144, - 14 - ], - [ - 155, - 1 - ] - ], - "doc": " Public: Selects an entire line in the buffer.\n\nrow - The line {Number} to select (default: the row of the cursor). " - } - }, - "155": { - "18": { - "name": "expandOverLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 155, - 18 - ], - [ - 163, - 1 - ] - ], - "doc": " Public: Expands the newest selection to include the entire line on which\nthe cursor currently rests.\n\nIt also includes the newline character. " - } - }, - "163": { - "26": { - "name": "selectToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 163, - 26 - ], - [ - 184, - 1 - ] - ], - "doc": " Public: Selects the text from the current cursor position to a given screen\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "184": { - "26": { - "name": "selectToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 184, - 26 - ], - [ - 188, - 1 - ] - ], - "doc": " Public: Selects the text from the current cursor position to a given buffer\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "188": { - "15": { - "name": "selectRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 15 - ], - [ - 192, - 1 - ] - ], - "doc": "Public: Selects the text one position right of the cursor. " - } - }, - "192": { - "14": { - "name": "selectLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 192, - 14 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Selects the text one position left of the cursor. " - } - }, - "196": { - "12": { - "name": "selectUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 196, - 12 - ], - [ - 200, - 1 - ] - ], - "doc": "Public: Selects all the text one position above the cursor. " - } - }, - "200": { - "14": { - "name": "selectDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 200, - 14 - ], - [ - 205, - 1 - ] - ], - "doc": "Public: Selects all the text one position below the cursor. " - } - }, - "205": { - "15": { - "name": "selectToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 205, - 15 - ], - [ - 210, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the top of\nthe buffer. " - } - }, - "210": { - "18": { - "name": "selectToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 18 - ], - [ - 214, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the bottom\nof the buffer. " - } - }, - "214": { - "13": { - "name": "selectAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 214, - 13 - ], - [ - 219, - 1 - ] - ], - "doc": "Public: Selects all the text in the buffer. " - } - }, - "219": { - "27": { - "name": "selectToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 219, - 27 - ], - [ - 224, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the line. " - } - }, - "224": { - "32": { - "name": "selectToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 32 - ], - [ - 229, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the first\ncharacter of the line. " - } - }, - "229": { - "21": { - "name": "selectToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 229, - 21 - ], - [ - 234, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the end of\nthe line. " - } - }, - "234": { - "27": { - "name": "selectToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 27 - ], - [ - 239, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the word. " - } - }, - "239": { - "21": { - "name": "selectToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 239, - 21 - ], - [ - 244, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the end of\nthe word. " - } - }, - "244": { - "31": { - "name": "selectToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 244, - 31 - ], - [ - 248, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next word. " - } - }, - "248": { - "32": { - "name": "selectToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 248, - 32 - ], - [ - 252, - 1 - ] - ], - "doc": "Public: Selects text to the previous word boundary. " - } - }, - "252": { - "28": { - "name": "selectToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 252, - 28 - ], - [ - 257, - 1 - ] - ], - "doc": "Public: Selects text to the next word boundary. " - } - }, - "257": { - "36": { - "name": "selectToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 257, - 36 - ], - [ - 262, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next paragraph. " - } - }, - "262": { - "40": { - "name": "selectToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 262, - 40 - ], - [ - 266, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the previous paragraph. " - } - }, - "266": { - "21": { - "name": "addSelectionBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 266, - 21 - ], - [ - 284, - 1 - ] - ], - "doc": "Public: Moves the selection down one row. " - } - }, - "284": { - "22": { - "name": "getGoalBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 22 - ], - [ - 289, - 1 - ] - ], - "doc": "FIXME: I have no idea what this does. " - } - }, - "289": { - "21": { - "name": "addSelectionAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 289, - 21 - ], - [ - 316, - 1 - ] - ], - "doc": "Public: Moves the selection up one row. " - } - }, - "316": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 316, - 14 - ], - [ - 349, - 1 - ] - ], - "doc": " Public: Replaces text at the current selection.\n\ntext - A {String} representing the text to add\noptions - An {Object} with keys:\n :select - if `true`, selects the newly added text.\n :autoIndent - if `true`, indents all inserted text appropriately.\n :autoIndentNewline - if `true`, indent newline appropriately.\n :autoDecreaseIndent - if `true`, decreases indent level appropriately\n (for example, when a closing bracket is inserted).\n :undo - if `skip`, skips the undo stack for this operation. " - } - }, - "349": { - "20": { - "name": "normalizeIndents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "indentBasis" - ], - "range": [ - [ - 349, - 20 - ], - [ - 383, - 1 - ] - ], - "doc": " Public: Indents the given text to the suggested level based on the grammar.\n\ntext - The {String} to indent within the selection.\nindentBasis - The beginning indent level. " - } - }, - "383": { - "10": { - "name": "indent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 383, - 10 - ], - [ - 399, - 1 - ] - ], - "doc": " Private: Indent the current line(s).\n\nIf the selection is empty, indents the current line if the cursor precedes\nnon-whitespace characters, and otherwise inserts a tab. If the selection is\nnon empty, calls {::indentSelectedRows}.\n\noptions - A {Object} with the keys:\n :autoIndent - If `true`, the line is indented to an automatically-inferred\n level. Otherwise, {Editor::getTabText} is inserted. " - } - }, - "399": { - "22": { - "name": "indentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 399, - 22 - ], - [ - 405, - 1 - ] - ], - "doc": "Public: If the selection spans multiple rows, indent all of them. " - } - }, - "405": { - "25": { - "name": "setIndentationForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line", - "indentLevel" - ], - "range": [ - [ - 405, - 25 - ], - [ - 412, - 1 - ] - ], - "doc": "Public: ? " - } - }, - "412": { - "13": { - "name": "backspace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 412, - 13 - ], - [ - 417, - 1 - ] - ], - "doc": " Public: Removes the first character before the selection if the selection\nis empty otherwise it deletes the selection. " - } - }, - "417": { - "30": { - "name": "backspaceToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 417, - 30 - ], - [ - 422, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " - } - }, - "422": { - "30": { - "name": "backspaceToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 422, - 30 - ], - [ - 428, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " - } - }, - "428": { - "27": { - "name": "deleteToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 27 - ], - [ - 434, - 1 - ] - ], - "doc": " Public: Removes from the start of the selection to the beginning of the\ncurrent word if the selection is empty otherwise it deletes the selection. " - } - }, - "434": { - "27": { - "name": "deleteToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 434, - 27 - ], - [ - 443, - 1 - ] - ], - "doc": " Public: Removes from the beginning of the line which the selection begins on\nall the way through to the end of the selection. " - } - }, - "443": { - "10": { - "name": "delete", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 443, - 10 - ], - [ - 455, - 1 - ] - ] - } - }, - "455": { - "21": { - "name": "deleteToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 455, - 21 - ], - [ - 462, - 1 - ] - ], - "doc": " Public: If the selection is empty, removes all text from the cursor to the\nend of the line. If the cursor is already at the end of the line, it\nremoves the following newline. If the selection isn't empty, only deletes\nthe contents of the selection. " - } - }, - "462": { - "21": { - "name": "deleteToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 462, - 21 - ], - [ - 467, - 1 - ] - ], - "doc": " Public: Removes the selection or all characters from the start of the\nselection to the end of the current word if nothing is selected. " - } - }, - "467": { - "22": { - "name": "deleteSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 467, - 22 - ], - [ - 477, - 1 - ] - ], - "doc": "Public: Removes only the selected text. " - } - }, - "477": { - "14": { - "name": "deleteLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 477, - 14 - ], - [ - 496, - 1 - ] - ], - "doc": " Public: Removes the line at the beginning of the selection if the selection\nis empty unless the selection spans multiple lines in which case all lines\nare removed. " - } - }, - "496": { - "13": { - "name": "joinLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 496, - 13 - ], - [ - 522, - 1 - ] - ], - "doc": " Public: Joins the current line with the one below it.\n\nIf there selection spans more than one line, all the lines are joined together. " - } - }, - "522": { - "23": { - "name": "outdentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 522, - 23 - ], - [ - 532, - 1 - ] - ], - "doc": "Public: Removes one level of indent from the currently selected rows. " - } - }, - "532": { - "26": { - "name": "autoIndentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 532, - 26 - ], - [ - 542, - 1 - ] - ], - "doc": " Public: Sets the indentation level of all selected rows to values suggested\nby the relevant grammars. " - } - }, - "542": { - "22": { - "name": "toggleLineComments", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 542, - 22 - ], - [ - 546, - 1 - ] - ], - "doc": " Public: Wraps the selected lines in comments if they aren't currently part\nof a comment.\n\nRemoves the comment if they are currently wrapped in a comment.\n\nReturns an Array of the commented {Range}s. " - } - }, - "546": { - "18": { - "name": "cutToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 546, - 18 - ], - [ - 551, - 1 - ] - ], - "doc": "Public: Cuts the selection until the end of the line. " - } - }, - "551": { - "7": { - "name": "cut", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 551, - 7 - ], - [ - 561, - 1 - ] - ], - "doc": "Public: Copies the selection to the clipboard and then deletes it. " - } - }, - "561": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 561, - 8 - ], - [ - 579, - 1 - ] - ], - "doc": " Public: Copies the current selection to the clipboard.\n\nIf the `maintainClipboard` is set to `true`, a specific metadata property\nis created to store each content copied to the clipboard. The clipboard\n`text` still contains the concatenation of the clipboard with the\ncurrent selection. " - } - }, - "579": { - "8": { - "name": "fold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 579, - 8 - ], - [ - 584, - 1 - ] - ], - "doc": "Public: Creates a fold containing the current selection. " - } - }, - "584": { - "19": { - "name": "modifySelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 584, - 19 - ], - [ - 595, - 1 - ] - ], - "doc": "~Private~" - } - }, - "595": { - "13": { - "name": "plantTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 595, - 13 - ], - [ - 603, - 1 - ] - ], - "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " - } - }, - "603": { - "25": { - "name": "intersectsBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 603, - 25 - ], - [ - 606, - 1 - ] - ], - "doc": " Public: Identifies if a selection intersects with a given buffer range.\n\nbufferRange - A {Range} to check against.\n\nReturns a Boolean. " - } - }, - "606": { - "28": { - "name": "intersectsScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 606, - 28 - ], - [ - 609, - 1 - ] - ], - "doc": "~Private~" - } - }, - "609": { - "23": { - "name": "intersectsScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 609, - 23 - ], - [ - 617, - 1 - ] - ], - "doc": "~Private~" - } - }, - "617": { - "18": { - "name": "intersectsWith", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection" - ], - "range": [ - [ - 617, - 18 - ], - [ - 625, - 1 - ] - ], - "doc": " Public: Identifies if a selection intersects with another selection.\n\notherSelection - A {Selection} to check against.\n\nReturns a Boolean. " - } - }, - "625": { - "9": { - "name": "merge", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection", - "options" - ], - "range": [ - [ - 625, - 9 - ], - [ - 641, - 1 - ] - ], - "doc": " Public: Combines the given selection into this selection and then destroys\nthe given selection.\n\notherSelection - A {Selection} to merge with.\noptions - A hash of options matching those found in {::setBufferRange}. " - } - }, - "641": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection" - ], - "range": [ - [ - 641, - 11 - ], - [ - 644, - 1 - ] - ], - "doc": " Public: Compare this selection's buffer range to another selection's buffer\nrange.\n\nSee {Range::compare} for more details.\n\notherSelection - A {Selection} to compare against. " - } - }, - "644": { - "22": { - "name": "screenRangeChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 644, - 22 - ], - [ - 647, - 45 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 6 - }, - "src/space-pen-extensions.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "11": { - "name": "spacePen", - "type": "import", - "range": [ - [ - 1, - 11 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "space-pen" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "6": { - "9": { - "name": "spacePen", - "type": "primitive", - "range": [ - [ - 6, - 9 - ], - [ - 6, - 16 - ] - ] - } - }, - "7": { - "20": { - "name": "jQuery", - "type": "primitive", - "range": [ - [ - 7, - 20 - ], - [ - 7, - 25 - ] - ] - } - }, - "8": { - "19": { - "name": "jQuery.cleanData", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "elements" - ], - "range": [ - [ - 8, - 19 - ], - [ - 11, - 0 - ] - ], - "doc": null - } - }, - "13": { - "2": { - "type": "primitive", - "range": [ - [ - 13, - 2 - ], - [ - 19, - 19 - ] - ] - } - }, - "14": { - "4": { - "type": "primitive", - "range": [ - [ - 14, - 4 - ], - [ - 15, - 12 - ] - ] - }, - "10": { - "name": "1000", - "type": "primitive", - "range": [ - [ - 14, - 10 - ], - [ - 14, - 13 - ] - ] - } - }, - "15": { - "10": { - "name": "100", - "type": "primitive", - "range": [ - [ - 15, - 10 - ], - [ - 15, - 12 - ] - ] - } - }, - "16": { - "13": { - "name": "'body'", - "type": "primitive", - "range": [ - [ - 16, - 13 - ], - [ - 16, - 18 - ] - ] - } - }, - "17": { - "8": { - "type": "primitive", - "range": [ - [ - 17, - 8 - ], - [ - 17, - 11 - ] - ] - } - }, - "18": { - "13": { - "name": "'auto top'", - "type": "primitive", - "range": [ - [ - 18, - 13 - ], - [ - 18, - 22 - ] - ] - } - }, - "19": { - "19": { - "name": "2", - "type": "primitive", - "range": [ - [ - 19, - 19 - ], - [ - 19, - 19 - ] - ] - } - }, - "21": { - "21": { - "name": "humanizeKeystrokes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "keystroke" - ], - "range": [ - [ - 21, - 21 - ], - [ - 25, - 0 - ] - ], - "doc": "~Private~" - } - }, - "26": { - "15": { - "name": "getKeystroke", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bindings" - ], - "range": [ - [ - 26, - 15 - ], - [ - 31, - 0 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "26": { - "name": "requireBootstrapTooltip", - "type": "function", - "range": [ - [ - 32, - 26 - ], - [ - 35, - 59 - ] - ] - } - }, - "36": { - "23": { - "name": "jQuery.fn.setTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "tooltipOptions", - null - ], - "range": [ - [ - 36, - 23 - ], - [ - 49, - 0 - ] - ], - "doc": null - } - }, - "50": { - "24": { - "name": "jQuery.fn.hideTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 24 - ], - [ - 55, - 0 - ] - ], - "doc": null - } - }, - "56": { - "27": { - "name": "jQuery.fn.destroyTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 27 - ], - [ - 61, - 38 - ] - ], - "doc": null - } - }, - "68": { - "36": { - "name": "getKeystroke", - "type": "primitive", - "range": [ - [ - 68, - 36 - ], - [ - 68, - 47 - ] - ] - } - }, - "69": { - "42": { - "name": "humanizeKeystrokes", - "type": "primitive", - "range": [ - [ - 69, - 42 - ], - [ - 69, - 59 - ] - ] - } - }, - "71": { - "49": { - "name": "get", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 71, - 49 - ], - [ - 71, - 55 - ] - ], - "doc": null - } - } - }, - "exports": 73 - }, - "src/subscriber-mixin.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "1": { - "18": { - "type": "primitive", - "range": [ - [ - 1, - 18 - ], - [ - 1, - 55 - ] - ] - }, - "39": { - "name": "componentDidUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 1, - 39 - ], - [ - 1, - 55 - ] - ], - "doc": null - } - } - }, - "exports": 3 - }, - "src/syntax.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 11 - ] - ], - "bindingType": "variable", - "module": "clear-cut", - "name": "specificity", - "exportsProperty": "specificity" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 15 - ] - ], - "bindingType": "variable", - "module": "first-mate", - "name": "GrammarRegistry", - "exportsProperty": "GrammarRegistry" - }, - "18": { - "type": "import", - "range": [ - [ - 4, - 18 - ], - [ - 4, - 30 - ] - ], - "bindingType": "variable", - "module": "first-mate", - "name": "ScopeSelector", - "exportsProperty": "ScopeSelector" - } - }, - "5": { - "22": { - "name": "ScopedPropertyStore", - "type": "import", - "range": [ - [ - 5, - 22 - ], - [ - 5, - 52 - ] - ], - "bindingType": "variable", - "module": "scoped-property-store" - } - }, - "6": { - "20": { - "name": "PropertyAccessors", - "type": "import", - "range": [ - [ - 6, - 20 - ], - [ - 6, - 47 - ] - ], - "bindingType": "variable", - "module": "property-accessors" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 8, - 4 - ], - [ - 8, - 5 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - } - }, - "9": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 9, - 8 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "18": { - "0": { - "type": "class", - "name": "Syntax", - "bindingType": "exports", - "classProperties": [ - [ - 23, - 16 - ] - ], - "prototypeProperties": [ - [ - 28, - 15 - ], - [ - 32, - 13 - ], - [ - 35, - 15 - ], - [ - 42, - 17 - ], - [ - 49, - 20 - ], - [ - 52, - 19 - ], - [ - 67, - 15 - ], - [ - 75, - 22 - ], - [ - 84, - 32 - ] - ], - "doc": " Public: Syntax class holding the grammars used for tokenizing.\n\nAn instance of this class is always available as the `atom.syntax` global.\n\nThe Syntax class also contains properties for things such as the\nlanguage-specific comment regexes. ", - "range": [ - [ - 18, - 0 - ], - [ - 85, - 52 - ] - ] - } - }, - "23": { - "16": { - "name": "deserialize", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 23, - 16 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 15 - ], - [ - 32, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "13": { - "name": "serialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 32, - 13 - ], - [ - 35, - 1 - ] - ], - "doc": "~Private~" - } - }, - "35": { - "15": { - "name": "createToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "scopes" - ], - "range": [ - [ - 35, - 15 - ], - [ - 35, - 59 - ] - ], - "doc": "~Private~" - } - }, - "42": { - "17": { - "name": "addProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 42, - 17 - ], - [ - 49, - 1 - ] - ], - "doc": "~Private~" - } - }, - "49": { - "20": { - "name": "removeProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 49, - 20 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "19": { - "name": "clearProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 19 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "15": { - "name": "getProperty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scope", - "keyPath" - ], - "range": [ - [ - 67, - 15 - ], - [ - 75, - 1 - ] - ], - "doc": " Public: Get a property for the given scope and key path.\n\n## Example\n```coffee\ncomment = atom.syntax.getProperty(['.source.ruby'], 'editor.commentStart')\nconsole.log(comment) # '# '\n```\n\nscope - An {Array} of {String} scopes.\nkeyPath - A {String} key path.\n\nReturns a {String} property value or undefined. " - } - }, - "75": { - "22": { - "name": "propertiesForScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scope", - "keyPath" - ], - "range": [ - [ - 75, - 22 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "32": { - "name": "cssSelectorFromScopeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeSelector" - ], - "range": [ - [ - 84, - 32 - ], - [ - 85, - 52 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 18 - }, - "src/task-bootstrap.coffee": { - "objects": { - "0": { - "1": { - "type": "primitive", - "name": "userAgent", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "exportsProperty": "userAgent" - }, - "12": { - "type": "primitive", - "name": "taskPath", - "range": [ - [ - 0, - 12 - ], - [ - 0, - 19 - ] - ], - "exportsProperty": "taskPath" - } - }, - "3": { - "15": { - "name": "setupGlobals", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 3, - 15 - ], - [ - 28, - 0 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "15": { - "name": "handleEvents", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 15 - ], - [ - 42, - 0 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "10": { - "name": "handler", - "type": "import", - "range": [ - [ - 45, - 10 - ], - [ - 45, - 26 - ] - ], - "bindingType": "variable", - "module": "askPat" - } - } - }, - "exports": {} - }, - "src/task.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "16": { - "name": "child_process", - "type": "import", - "range": [ - [ - 1, - 16 - ], - [ - 1, - 38 - ] - ], - "bindingType": "variable", - "module": "child_process", - "builtin": true - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "21": { - "0": { - "type": "class", - "name": "Task", - "bindingType": "exports", - "classProperties": [ - [ - 29, - 9 - ] - ], - "prototypeProperties": [ - [ - 41, - 12 - ], - [ - 47, - 15 - ], - [ - 73, - 16 - ], - [ - 82, - 9 - ], - [ - 95, - 8 - ], - [ - 102, - 13 - ] - ], - "doc": " Public: Run a node script in a separate process.\n\nUsed by the fuzzy-finder.\n\n## Events\n\n* task:log - Emitted when console.log is called within the task.\n* task:warn - Emitted when console.warn is called within the task.\n* task:error - Emitted when console.error is called within the task.\n* task:completed - Emitted when the task has succeeded or failed.\n\n## Requiring in packages\n\n```coffee\n {Task} = require 'atom'\n``` ", - "range": [ - [ - 21, - 0 - ], - [ - 109, - 10 - ] - ] - } - }, - "29": { - "9": { - "name": "once", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "taskPath", - "args" - ], - "range": [ - [ - 29, - 9 - ], - [ - 41, - 1 - ] - ], - "doc": " Public: A helper method to easily launch and run a task once.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file which\n exports a single {Function} to execute.\nargs - The arguments to pass to the exported function. " - } - }, - "41": { - "12": { - "name": "callback", - "type": "primitive", - "range": [ - [ - 41, - 12 - ], - [ - 41, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "47": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "taskPath" - ], - "range": [ - [ - 47, - 15 - ], - [ - 73, - 1 - ] - ], - "doc": " Public: Creates a task.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file that\n exports a single {Function} to execute. " - } - }, - "73": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 16 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Routes messages from the child to the appropriate event. " - } - }, - "82": { - "9": { - "name": "start", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args", - "callback" - ], - "range": [ - [ - 82, - 9 - ], - [ - 95, - 1 - ] - ], - "doc": " Public: Starts the task.\n\nargs - The arguments to pass to the function exported by this task's script.\ncallback - An optional {Function} to call when the task completes. " - } - }, - "95": { - "8": { - "name": "send", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 95, - 8 - ], - [ - 102, - 1 - ] - ], - "doc": " Public: Send message to the task.\n\nmessage - The message to send to the task. " - } - }, - "102": { - "13": { - "name": "terminate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 13 - ], - [ - 109, - 10 - ] - ], - "doc": " Public: Forcefully stop the running task.\n\nNo events are emitted. " - } - } - }, - "exports": 21 - }, - "src/text-utils.coffee": { - "objects": { - "0": { - "18": { - "name": "isHighSurrogate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 0, - 18 - ], - [ - 2, - 0 - ] - ], - "doc": "~Private~" - } - }, - "3": { - "17": { - "name": "isLowSurrogate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 3, - 17 - ], - [ - 11, - 21 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "18": { - "name": "isSurrogatePair", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 12, - 18 - ], - [ - 22, - 21 - ] - ], - "doc": " Private: Is the character at the given index the start of a high/low surrogate pair?\n\nstring - The {String} to check for a surrogate pair.\nindex - The {Number} index to look for a surrogate pair at.\n\nReturn a {Boolean}. " - } - }, - "23": { - "20": { - "name": "getCharacterCount", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 23, - 20 - ], - [ - 32, - 22 - ] - ], - "doc": " Private: Get the number of characters in the string accounting for surrogate pairs.\n\nThis method counts high/low surrogate pairs as a single character and will\nalways returns a value less than or equal to `string.length`.\n\nstring - The {String} to count the number of full characters in.\n\nReturns a {Number}. " - } - }, - "33": { - "19": { - "name": "hasSurrogatePair", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 33, - 19 - ], - [ - 35, - 0 - ] - ], - "doc": " Private: Does the given string contain at least one surrogate pair?\n\nstring - The {String} to check for the presence of surrogate pairs.\n\nReturns a {Boolean}. " - } - } - }, - "exports": 36 - }, - "src/theme-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@2.x" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q@~1.0.1" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "8": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "9": { - "1": { - "type": "import", - "range": [ - [ - 9, - 1 - ], - [ - 9, - 4 - ] - ], - "bindingType": "variable", - "module": "pathwatcher@^2.0.2", - "name": "File", - "exportsProperty": "File" - } - }, - "15": { - "0": { - "type": "class", - "name": "ThemeManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 18, - 15 - ], - [ - 22, - 21 - ], - [ - 27, - 18 - ], - [ - 31, - 18 - ], - [ - 35, - 19 - ], - [ - 39, - 19 - ], - [ - 42, - 20 - ], - [ - 47, - 24 - ], - [ - 57, - 18 - ], - [ - 82, - 20 - ], - [ - 87, - 20 - ], - [ - 93, - 20 - ], - [ - 96, - 18 - ], - [ - 109, - 25 - ], - [ - 116, - 25 - ], - [ - 121, - 22 - ], - [ - 133, - 23 - ], - [ - 137, - 25 - ], - [ - 142, - 26 - ], - [ - 145, - 21 - ], - [ - 160, - 21 - ], - [ - 169, - 18 - ], - [ - 175, - 22 - ], - [ - 197, - 14 - ], - [ - 200, - 20 - ], - [ - 209, - 19 - ] - ], - "doc": " Public: Handles loading and activating available themes.\n\nAn instance of this class is always available as the `atom.themes` global. ", - "range": [ - [ - 15, - 0 - ], - [ - 222, - 31 - ] - ] - } - }, - "18": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 18, - 15 - ], - [ - 22, - 1 - ] - ], - "doc": "~Private~" - } - }, - "22": { - "21": { - "name": "getAvailableNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 22, - 21 - ], - [ - 27, - 1 - ] - ], - "doc": "~Private~" - } - }, - "27": { - "18": { - "name": "getLoadedNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 18 - ], - [ - 31, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded theme names. " - } - }, - "31": { - "18": { - "name": "getActiveNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 31, - 18 - ], - [ - 35, - 1 - ] - ], - "doc": "Public: Get an array of all the active theme names. " - } - }, - "35": { - "19": { - "name": "getActiveThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 35, - 19 - ], - [ - 39, - 1 - ] - ], - "doc": "Public: Get an array of all the active themes. " - } - }, - "39": { - "19": { - "name": "getLoadedThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 39, - 19 - ], - [ - 42, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded themes. " - } - }, - "42": { - "20": { - "name": "activatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "themePackages" - ], - "range": [ - [ - 42, - 20 - ], - [ - 42, - 55 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "24": { - "name": "getEnabledThemeNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 47, - 24 - ], - [ - 57, - 1 - ] - ], - "doc": " Private: Get the enabled theme names from the config.\n\nReturns an array of theme names in the order that they should be activated. " - } - }, - "57": { - "18": { - "name": "activateThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 18 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "20": { - "name": "deactivateThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 20 - ], - [ - 87, - 1 - ] - ], - "doc": "~Private~" - } - }, - "87": { - "20": { - "name": "refreshLessCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 87, - 20 - ], - [ - 93, - 1 - ] - ], - "doc": "~Private~" - } - }, - "93": { - "20": { - "name": "setEnabledThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "enabledThemeNames" - ], - "range": [ - [ - 93, - 20 - ], - [ - 96, - 1 - ] - ], - "doc": " Public: Set the list of enabled themes.\n\nenabledThemeNames - An {Array} of {String} theme names. " - } - }, - "96": { - "18": { - "name": "getImportPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 18 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "25": { - "name": "getUserStylesheetPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 25 - ], - [ - 116, - 1 - ] - ], - "doc": "Public: Returns the {String} path to the user's stylesheet under ~/.atom " - } - }, - "116": { - "25": { - "name": "unwatchUserStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 25 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "22": { - "name": "loadUserStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 121, - 22 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "23": { - "name": "loadBaseStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 23 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "25": { - "name": "reloadBaseStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 25 - ], - [ - 142, - 1 - ] - ], - "doc": "~Private~" - } - }, - "142": { - "26": { - "name": "stylesheetElementForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id", - "htmlElement" - ], - "range": [ - [ - 142, - 26 - ], - [ - 145, - 1 - ] - ], - "doc": "~Private~" - } - }, - "145": { - "21": { - "name": "resolveStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 145, - 21 - ], - [ - 160, - 1 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "21": { - "name": "requireStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "type", - "htmlElement" - ], - "range": [ - [ - 160, - 21 - ], - [ - 169, - 1 - ] - ], - "doc": " Public: Resolve and apply the stylesheet specified by the path.\n\nThis supports both CSS and LESS stylsheets.\n\nstylesheetPath - A {String} path to the stylesheet that can be an absolute\n path or a relative path that will be resolved against the\n load path.\n\nReturns the absolute path to the required stylesheet. " - } - }, - "169": { - "18": { - "name": "loadStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "importFallbackVariables" - ], - "range": [ - [ - 169, - 18 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "22": { - "name": "loadLessStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lessStylesheetPath", - "importFallbackVariables" - ], - "range": [ - [ - 175, - 22 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "14": { - "name": "stringToId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 197, - 14 - ], - [ - 200, - 1 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "20": { - "name": "removeStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 200, - 20 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "19": { - "name": "applyStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "text", - "type", - "htmlElement" - ], - "range": [ - [ - 209, - 19 - ], - [ - 222, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 15 - }, - "src/theme-package.coffee": { - "objects": { - "0": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 14 - ] - ], - "bindingType": "variable", - "module": "q@~1.0.1" - } - }, - "1": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 1, - 10 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "4": { - "0": { - "type": "class", - "name": "ThemePackage", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 5, - 11 - ], - [ - 7, - 21 - ], - [ - 9, - 10 - ], - [ - 12, - 11 - ], - [ - 15, - 8 - ], - [ - 23, - 12 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 31, - 31 - ] - ] - } - }, - "5": { - "11": { - "name": "getType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 11 - ], - [ - 5, - 20 - ] - ] - } - }, - "7": { - "21": { - "name": "getStylesheetType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 7, - 21 - ], - [ - 7, - 30 - ] - ], - "doc": "~Private~" - } - }, - "9": { - "10": { - "name": "enable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 10 - ], - [ - 12, - 1 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "11": { - "name": "disable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 12, - 11 - ], - [ - 15, - 1 - ] - ], - "doc": "~Private~" - } - }, - "15": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 15, - 8 - ], - [ - 23, - 1 - ] - ], - "doc": "~Private~" - } - }, - "23": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 23, - 12 - ], - [ - 31, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/token.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "12": { - "name": "textUtils", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 33 - ] - ], - "bindingType": "variable", - "path": "./text-utils" - } - }, - "3": { - "31": { - "type": "primitive", - "range": [ - [ - 3, - 31 - ], - [ - 3, - 32 - ] - ] - } - }, - "4": { - "20": { - "name": "/^[ ]+/", - "type": "primitive", - "range": [ - [ - 4, - 20 - ], - [ - 4, - 26 - ] - ] - } - }, - "5": { - "21": { - "name": "/[ ]+$/", - "type": "primitive", - "range": [ - [ - 5, - 21 - ], - [ - 5, - 27 - ] - ] - } - }, - "6": { - "14": { - "name": "/[&\"'<>]/g", - "type": "primitive", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 23 - ] - ] - } - }, - "7": { - "17": { - "name": "/./g", - "type": "primitive", - "range": [ - [ - 7, - 17 - ], - [ - 7, - 20 - ] - ] - } - }, - "8": { - "22": { - "name": "/^./", - "type": "primitive", - "range": [ - [ - 8, - 22 - ], - [ - 8, - 25 - ] - ] - } - }, - "9": { - "16": { - "name": "/^\\.?/", - "type": "primitive", - "range": [ - [ - 9, - 16 - ], - [ - 9, - 21 - ] - ] - } - }, - "10": { - "18": { - "name": "/\\S/", - "type": "primitive", - "range": [ - [ - 10, - 18 - ], - [ - 10, - 21 - ] - ] - } - }, - "12": { - "17": { - "name": "20000", - "type": "primitive", - "range": [ - [ - 12, - 17 - ], - [ - 12, - 21 - ] - ] - } - }, - "16": { - "0": { - "type": "class", - "name": "Token", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 9 - ], - [ - 18, - 20 - ], - [ - 19, - 10 - ], - [ - 20, - 12 - ], - [ - 21, - 13 - ], - [ - 22, - 24 - ], - [ - 23, - 25 - ], - [ - 25, - 15 - ], - [ - 30, - 11 - ], - [ - 33, - 13 - ], - [ - 36, - 11 - ], - [ - 41, - 31 - ], - [ - 44, - 24 - ], - [ - 86, - 26 - ], - [ - 106, - 27 - ], - [ - 113, - 21 - ], - [ - 116, - 21 - ], - [ - 119, - 17 - ], - [ - 129, - 20 - ], - [ - 132, - 24 - ], - [ - 138, - 18 - ], - [ - 185, - 16 - ], - [ - 194, - 23 - ] - ], - "doc": "Private: Represents a single unit of text as selected by a grammar. ", - "range": [ - [ - 16, - 0 - ], - [ - 201, - 16 - ] - ] - } - }, - "17": { - "9": { - "name": "value", - "type": "primitive", - "range": [ - [ - 17, - 9 - ], - [ - 17, - 12 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "20": { - "name": "hasSurrogatePair", - "type": "primitive", - "range": [ - [ - 18, - 20 - ], - [ - 18, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "10": { - "name": "scopes", - "type": "primitive", - "range": [ - [ - 19, - 10 - ], - [ - 19, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "20": { - "12": { - "name": "isAtomic", - "type": "primitive", - "range": [ - [ - 20, - 12 - ], - [ - 20, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "13": { - "name": "isHardTab", - "type": "primitive", - "range": [ - [ - 21, - 13 - ], - [ - 21, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "22": { - "24": { - "name": "hasLeadingWhitespace", - "type": "primitive", - "range": [ - [ - 22, - 24 - ], - [ - 22, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "23": { - "25": { - "name": "hasTrailingWhitespace", - "type": "primitive", - "range": [ - [ - 23, - 25 - ], - [ - 23, - 29 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "25": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 25, - 15 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "isEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 30, - 11 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "13": { - "name": "isBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 33, - 13 - ], - [ - 36, - 1 - ] - ], - "doc": "~Private~" - } - }, - "36": { - "11": { - "name": "splitAt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "splitIndex" - ], - "range": [ - [ - 36, - 11 - ], - [ - 41, - 1 - ] - ], - "doc": "~Private~" - } - }, - "41": { - "31": { - "name": "whitespaceRegexForTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 41, - 31 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "24": { - "name": "breakOutAtomicTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "breakOutLeadingSoftTabs", - "startColumn" - ], - "range": [ - [ - 44, - 24 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "26": { - "name": "breakOutSurrogatePairs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 26 - ], - [ - 106, - 1 - ] - ], - "doc": "~Private~" - } - }, - "106": { - "27": { - "name": "buildSurrogatePairToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "index" - ], - "range": [ - [ - 106, - 27 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "21": { - "name": "buildHardTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "column" - ], - "range": [ - [ - 113, - 21 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "21": { - "name": "buildSoftTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 116, - 21 - ], - [ - 119, - 1 - ] - ], - "doc": "~Private~" - } - }, - "119": { - "17": { - "name": "buildTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "isHardTab", - "column" - ], - "range": [ - [ - 119, - 17 - ], - [ - 129, - 1 - ] - ], - "doc": "~Private~" - } - }, - "129": { - "20": { - "name": "isOnlyWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 129, - 20 - ], - [ - 132, - 1 - ] - ], - "doc": "~Private~" - } - }, - "132": { - "24": { - "name": "matchesScopeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 132, - 24 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "18": { - "name": "getValueAsHtml", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 138, - 18 - ], - [ - 185, - 1 - ] - ], - "doc": "~Private~" - } - }, - "185": { - "16": { - "name": "escapeString", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "str", - "startIndex", - "endIndex" - ], - "range": [ - [ - 185, - 16 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "23": { - "name": "escapeStringReplace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "match" - ], - "range": [ - [ - 194, - 23 - ], - [ - 201, - 16 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 16 - }, - "src/tokenized-buffer.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "3": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@1.x" - } - }, - "4": { - "16": { - "name": "TokenizedLine", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 41 - ] - ], - "bindingType": "variable", - "path": "./tokenized-line" - } - }, - "5": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "8": { - "0": { - "type": "class", - "name": "TokenizedBuffer", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 11 - ], - [ - 14, - 23 - ], - [ - 15, - 10 - ], - [ - 16, - 18 - ], - [ - 17, - 13 - ], - [ - 18, - 15 - ], - [ - 19, - 11 - ], - [ - 21, - 15 - ], - [ - 48, - 19 - ], - [ - 52, - 21 - ], - [ - 56, - 14 - ], - [ - 64, - 17 - ], - [ - 70, - 23 - ], - [ - 76, - 23 - ], - [ - 82, - 14 - ], - [ - 88, - 16 - ], - [ - 94, - 16 - ], - [ - 96, - 24 - ], - [ - 103, - 21 - ], - [ - 133, - 19 - ], - [ - 136, - 15 - ], - [ - 139, - 17 - ], - [ - 144, - 21 - ], - [ - 153, - 22 - ], - [ - 173, - 48 - ], - [ - 183, - 30 - ], - [ - 200, - 41 - ], - [ - 203, - 39 - ], - [ - 210, - 37 - ], - [ - 220, - 20 - ], - [ - 225, - 22 - ], - [ - 228, - 15 - ], - [ - 231, - 21 - ], - [ - 257, - 22 - ], - [ - 266, - 21 - ], - [ - 269, - 20 - ], - [ - 273, - 33 - ], - [ - 278, - 33 - ], - [ - 299, - 30 - ], - [ - 314, - 39 - ], - [ - 329, - 22 - ], - [ - 344, - 22 - ], - [ - 362, - 14 - ], - [ - 365, - 16 - ], - [ - 368, - 12 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 371, - 40 - ] - ] - } - }, - "13": { - "11": { - "name": "grammar", - "type": "primitive", - "range": [ - [ - 13, - 11 - ], - [ - 13, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "23": { - "name": "currentGrammarScore", - "type": "primitive", - "range": [ - [ - 14, - 23 - ], - [ - 14, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "15": { - "10": { - "name": "buffer", - "type": "primitive", - "range": [ - [ - 15, - 10 - ], - [ - 15, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "18": { - "name": "tokenizedLines", - "type": "primitive", - "range": [ - [ - 16, - 18 - ], - [ - 16, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "17": { - "13": { - "name": "chunkSize", - "type": "primitive", - "range": [ - [ - 17, - 13 - ], - [ - 17, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "15": { - "name": "invalidRows", - "type": "primitive", - "range": [ - [ - 18, - 15 - ], - [ - 18, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 19, - 11 - ], - [ - 19, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 21, - 15 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 19 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 52, - 21 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar", - "score" - ], - "range": [ - [ - 56, - 14 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 17 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "23": { - "name": "hasTokenForSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 70, - 23 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "23": { - "name": "resetTokenizedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 23 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 82, - 14 - ], - [ - 88, - 1 - ] - ], - "doc": "~Private~" - } - }, - "88": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 16 - ], - [ - 94, - 1 - ] - ], - "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " - } - }, - "94": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 94, - 16 - ], - [ - 94, - 30 - ] - ], - "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " - } - }, - "96": { - "24": { - "name": "tokenizeInBackground", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 24 - ], - [ - 103, - 1 - ] - ], - "doc": "~Private~" - } - }, - "103": { - "21": { - "name": "tokenizeNextChunk", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 103, - 21 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "19": { - "name": "firstInvalidRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 19 - ], - [ - 136, - 1 - ] - ], - "doc": "~Private~" - } - }, - "136": { - "15": { - "name": "validateRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 136, - 15 - ], - [ - 139, - 1 - ] - ], - "doc": "~Private~" - } - }, - "139": { - "17": { - "name": "invalidateRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 139, - 17 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "21": { - "name": "updateInvalidRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end", - "delta" - ], - "range": [ - [ - 144, - 21 - ], - [ - 153, - 1 - ] - ], - "doc": "~Private~" - } - }, - "153": { - "22": { - "name": "handleBufferChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 153, - 22 - ], - [ - 173, - 1 - ] - ], - "doc": "~Private~" - } - }, - "173": { - "48": { - "name": "retokenizeWhitespaceRowsIfIndentLevelChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "increment" - ], - "range": [ - [ - 173, - 48 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "30": { - "name": "buildTokenizedLinesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow", - "startingStack" - ], - "range": [ - [ - 183, - 30 - ], - [ - 200, - 1 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "41": { - "name": "buildPlaceholderTokenizedLinesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 200, - 41 - ], - [ - 203, - 1 - ] - ], - "doc": "~Private~" - } - }, - "203": { - "39": { - "name": "buildPlaceholderTokenizedLineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 203, - 39 - ], - [ - 210, - 1 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "37": { - "name": "buildTokenizedTokenizedLineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "ruleStack" - ], - "range": [ - [ - 210, - 37 - ], - [ - 220, - 1 - ] - ], - "doc": "~Private~" - } - }, - "220": { - "20": { - "name": "lineForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 220, - 20 - ], - [ - 225, - 1 - ] - ], - "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " - } - }, - "225": { - "22": { - "name": "linesForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 225, - 22 - ], - [ - 228, - 1 - ] - ], - "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " - } - }, - "228": { - "15": { - "name": "stackForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 228, - 15 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "21": { - "name": "indentLevelForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 231, - 21 - ], - [ - 257, - 1 - ] - ], - "doc": "~Private~" - } - }, - "257": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 257, - 22 - ], - [ - 266, - 1 - ] - ], - "doc": "~Private~" - } - }, - "266": { - "21": { - "name": "scopesForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 266, - 21 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "20": { - "name": "tokenForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 269, - 20 - ], - [ - 273, - 1 - ] - ], - "doc": "~Private~" - } - }, - "273": { - "33": { - "name": "tokenStartPositionForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 273, - 33 - ], - [ - 278, - 1 - ] - ], - "doc": "~Private~" - } - }, - "278": { - "33": { - "name": "bufferRangeForScopeAtPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "position" - ], - "range": [ - [ - 278, - 33 - ], - [ - 299, - 1 - ] - ], - "doc": "~Private~" - } - }, - "299": { - "30": { - "name": "iterateTokensInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "iterator" - ], - "range": [ - [ - 299, - 30 - ], - [ - 314, - 1 - ] - ], - "doc": "~Private~" - } - }, - "314": { - "39": { - "name": "backwardsIterateTokensInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "iterator" - ], - "range": [ - [ - 314, - 39 - ], - [ - 329, - 1 - ] - ], - "doc": "~Private~" - } - }, - "329": { - "22": { - "name": "findOpeningBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferPosition" - ], - "range": [ - [ - 329, - 22 - ], - [ - 344, - 1 - ] - ], - "doc": "~Private~" - } - }, - "344": { - "22": { - "name": "findClosingBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferPosition" - ], - "range": [ - [ - 344, - 22 - ], - [ - 362, - 1 - ] - ], - "doc": "~Private~" - } - }, - "362": { - "14": { - "name": "getLastRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 362, - 14 - ], - [ - 365, - 1 - ] - ], - "doc": " Private: Gets the row number of the last line.\n\nReturns a {Number}. " - } - }, - "365": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 365, - 16 - ], - [ - 368, - 1 - ] - ], - "doc": "~Private~" - } - }, - "368": { - "12": { - "name": "logLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 368, - 12 - ], - [ - 371, - 40 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/tokenized-line.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "12": { - "name": "1", - "type": "primitive", - "range": [ - [ - 2, - 12 - ], - [ - 2, - 12 - ] - ] - } - }, - "5": { - "0": { - "type": "class", - "name": "TokenizedLine", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 6, - 15 - ], - [ - 15, - 13 - ], - [ - 20, - 20 - ], - [ - 25, - 8 - ], - [ - 28, - 20 - ], - [ - 47, - 31 - ], - [ - 57, - 31 - ], - [ - 66, - 22 - ], - [ - 72, - 22 - ], - [ - 75, - 14 - ], - [ - 102, - 17 - ], - [ - 105, - 23 - ], - [ - 108, - 28 - ], - [ - 115, - 35 - ], - [ - 123, - 24 - ], - [ - 134, - 42 - ], - [ - 145, - 13 - ], - [ - 154, - 20 - ], - [ - 162, - 16 - ], - [ - 165, - 17 - ], - [ - 168, - 24 - ], - [ - 174, - 16 - ], - [ - 186, - 20 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 199, - 0 - ] - ] - } - }, - "6": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 6, - 15 - ], - [ - 15, - 1 - ] - ] - } - }, - "15": { - "13": { - "name": "buildText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 15, - 13 - ], - [ - 20, - 1 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "20": { - "name": "buildBufferDelta", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 20 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 8 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "20": { - "name": "clipScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "column", - "options" - ], - "range": [ - [ - 28, - 20 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "31": { - "name": "screenColumnForBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn", - "options" - ], - "range": [ - [ - 47, - 31 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "31": { - "name": "bufferColumnForScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenColumn", - "options" - ], - "range": [ - [ - 57, - 31 - ], - [ - 66, - 1 - ] - ], - "doc": "~Private~" - } - }, - "66": { - "22": { - "name": "getMaxScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 66, - 22 - ], - [ - 72, - 1 - ] - ], - "doc": "~Private~" - } - }, - "72": { - "22": { - "name": "getMaxBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 72, - 22 - ], - [ - 75, - 1 - ] - ], - "doc": "~Private~" - } - }, - "75": { - "14": { - "name": "softWrapAt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "column" - ], - "range": [ - [ - 75, - 14 - ], - [ - 102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "102": { - "17": { - "name": "isSoftWrapped", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 17 - ], - [ - 105, - 1 - ] - ], - "doc": "~Private~" - } - }, - "105": { - "23": { - "name": "tokenAtBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 105, - 23 - ], - [ - 108, - 1 - ] - ], - "doc": "~Private~" - } - }, - "108": { - "28": { - "name": "tokenIndexAtBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 108, - 28 - ], - [ - 115, - 1 - ] - ], - "doc": "~Private~" - } - }, - "115": { - "35": { - "name": "tokenStartColumnForBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 115, - 35 - ], - [ - 123, - 1 - ] - ], - "doc": "~Private~" - } - }, - "123": { - "24": { - "name": "breakOutAtomicTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "inputTokens" - ], - "range": [ - [ - 123, - 24 - ], - [ - 134, - 1 - ] - ], - "doc": "~Private~" - } - }, - "134": { - "42": { - "name": "markLeadingAndTrailingWhitespaceTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 134, - 42 - ], - [ - 145, - 1 - ] - ], - "doc": "~Private~" - } - }, - "145": { - "13": { - "name": "isComment", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 145, - 13 - ], - [ - 154, - 1 - ] - ], - "doc": "~Private~" - } - }, - "154": { - "20": { - "name": "isOnlyWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 20 - ], - [ - 162, - 1 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "16": { - "name": "tokenAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 162, - 16 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "17": { - "name": "getTokenCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 17 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "24": { - "name": "bufferColumnForToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetToken" - ], - "range": [ - [ - 168, - 24 - ], - [ - 174, - 1 - ] - ], - "doc": "~Private~" - } - }, - "174": { - "16": { - "name": "getScopeTree", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 174, - 16 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "20": { - "name": "updateScopeStack", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 186, - 20 - ], - [ - 199, - 0 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "0": { - "type": "class", - "name": "Scope", - "classProperties": [], - "prototypeProperties": [ - [ - 201, - 15 - ] - ], - "doc": "~Private~", - "range": [ - [ - 200, - 0 - ], - [ - 202, - 18 - ] - ] - } - }, - "201": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 201, - 15 - ], - [ - 202, - 18 - ] - ] - } - } - }, - "exports": 5 - }, - "src/window-bootstrap.coffee": { - "objects": { - "1": { - "12": { - "name": "startTime", - "type": "function", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 21 - ] - ] - } - }, - "5": { - "7": { - "name": "Atom", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "path": "./atom" - } - }, - "6": { - "14": { - "name": "window.atom", - "type": "function", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 40 - ] - ] - } - } - }, - "exports": {} - }, - "src/window-event-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "3": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 3, - 8 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@2.x" - } - }, - "9": { - "0": { - "type": "class", - "name": "WindowEventHandler", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 81, - 27 - ], - [ - 96, - 13 - ], - [ - 100, - 12 - ], - [ - 106, - 25 - ], - [ - 116, - 13 - ], - [ - 137, - 17 - ] - ], - "doc": "Private: Handles low-level events related to the window. ", - "range": [ - [ - 9, - 0 - ], - [ - 156, - 28 - ] - ] - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 12, - 15 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "27": { - "name": "handleNativeKeybindings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 81, - 27 - ], - [ - 96, - 1 - ] - ], - "doc": " Private: Wire commands that should be handled by the native menu\nfor elements with the `.native-key-bindings` class. " - } - }, - "96": { - "13": { - "name": "onKeydown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 96, - 13 - ], - [ - 100, - 1 - ] - ], - "doc": "~Private~" - } - }, - "100": { - "12": { - "name": "openLink", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 100, - 12 - ], - [ - 106, - 1 - ] - ], - "doc": "~Private~" - } - }, - "106": { - "25": { - "name": "eachTabIndexedElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 106, - 25 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "13": { - "name": "focusNext", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 13 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "17": { - "name": "focusPrevious", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 17 - ], - [ - 156, - 28 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 9 - }, - "src/window.coffee": { - "objects": { - "7": { - "17": { - "name": "window.measure", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "description", - "fn" - ], - "range": [ - [ - 7, - 17 - ], - [ - 20, - 51 - ] - ], - "doc": null - } - }, - "21": { - "17": { - "name": "window.profile", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "description", - "fn" - ], - "range": [ - [ - 21, - 17 - ], - [ - 26, - 9 - ] - ], - "doc": null - } - } - }, - "exports": {} - }, - "src/workspace-view.coffee": { - "objects": { - "0": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 14 - ] - ], - "bindingType": "variable", - "module": "q@~1.0.1" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "4": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 4, - 12 - ], - [ - 4, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@1.x" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - }, - "12": { - "type": "import", - "range": [ - [ - 5, - 12 - ], - [ - 5, - 33 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "logDeprecationWarnings", - "exportsProperty": "logDeprecationWarnings" - } - }, - "6": { - "17": { - "name": "scrollbarStyle", - "type": "import", - "range": [ - [ - 6, - 17 - ], - [ - 6, - 41 - ] - ], - "bindingType": "variable", - "module": "scrollbar-style" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 5 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - }, - "8": { - "type": "import", - "range": [ - [ - 7, - 8 - ], - [ - 7, - 11 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "8": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 8, - 5 - ], - [ - 8, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@2.x" - } - }, - "9": { - "12": { - "name": "Workspace", - "type": "import", - "range": [ - [ - 9, - 12 - ], - [ - 9, - 32 - ] - ], - "bindingType": "variable", - "path": "./workspace" - } - }, - "10": { - "19": { - "name": "CommandInstaller", - "type": "import", - "range": [ - [ - 10, - 19 - ], - [ - 10, - 47 - ] - ], - "bindingType": "variable", - "path": "./command-installer" - } - }, - "11": { - "13": { - "name": "EditorView", - "type": "import", - "range": [ - [ - 11, - 13 - ], - [ - 11, - 35 - ] - ], - "bindingType": "variable", - "path": "./editor-view" - } - }, - "12": { - "11": { - "name": "PaneView", - "type": "import", - "range": [ - [ - 12, - 11 - ], - [ - 12, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-view" - } - }, - "13": { - "17": { - "name": "PaneColumnView", - "type": "import", - "range": [ - [ - 13, - 17 - ], - [ - 13, - 44 - ] - ], - "bindingType": "variable", - "path": "./pane-column-view" - } - }, - "14": { - "14": { - "name": "PaneRowView", - "type": "import", - "range": [ - [ - 14, - 14 - ], - [ - 14, - 38 - ] - ], - "bindingType": "variable", - "path": "./pane-row-view" - } - }, - "15": { - "20": { - "name": "PaneContainerView", - "type": "import", - "range": [ - [ - 15, - 20 - ], - [ - 15, - 50 - ] - ], - "bindingType": "variable", - "path": "./pane-container-view" - } - }, - "16": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 16, - 9 - ], - [ - 16, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "55": { - "0": { - "type": "class", - "name": "WorkspaceView", - "bindingType": "exports", - "classProperties": [ - [ - 63, - 12 - ], - [ - 66, - 4 - ], - [ - 75, - 12 - ] - ], - "prototypeProperties": [ - [ - 81, - 14 - ], - [ - 168, - 12 - ], - [ - 171, - 24 - ], - [ - 191, - 15 - ], - [ - 205, - 15 - ], - [ - 209, - 16 - ], - [ - 213, - 15 - ], - [ - 223, - 12 - ], - [ - 233, - 18 - ], - [ - 238, - 16 - ], - [ - 242, - 15 - ], - [ - 247, - 19 - ], - [ - 252, - 18 - ], - [ - 257, - 17 - ], - [ - 262, - 16 - ], - [ - 267, - 18 - ], - [ - 272, - 17 - ], - [ - 281, - 21 - ], - [ - 287, - 17 - ], - [ - 291, - 25 - ], - [ - 294, - 21 - ], - [ - 297, - 22 - ], - [ - 300, - 22 - ], - [ - 303, - 23 - ], - [ - 306, - 24 - ], - [ - 315, - 16 - ], - [ - 325, - 16 - ], - [ - 336, - 18 - ], - [ - 344, - 16 - ], - [ - 347, - 21 - ], - [ - 350, - 23 - ], - [ - 353, - 23 - ], - [ - 356, - 18 - ], - [ - 368, - 12 - ], - [ - 373, - 12 - ], - [ - 378, - 17 - ], - [ - 383, - 21 - ] - ], - "doc": " Public: The top-level view for the entire window. An instance of this class is\navailable via the `atom.workspaceView` global.\n\nIt is backed by a model object, an instance of {Workspace}, which is available\nvia the `atom.workspace` global or {::getModel}. You should prefer to interact\nwith the model object when possible, but it won't always be possible with the\ncurrent API.\n\n## Adding Perimeter Panels\n\nUse the following methods if possible to attach panels to the perimeter of the\nworkspace rather than manipulating the DOM directly to better insulate you to\nchanges in the workspace markup:\n\n* {::prependToTop}\n* {::appendToTop}\n* {::prependToBottom}\n* {::appendToBottom}\n* {::prependToLeft}\n* {::appendToLeft}\n* {::prependToRight}\n* {::appendToRight}\n\n## Requiring in package specs\n\nIf you need a `WorkspaceView` instance to test your package, require it via\nthe built-in `atom` module.\n\n```coffee\n {WorkspaceView} = require 'atom'\n```\n\nYou can assign it to the `atom.workspaceView` global in the spec or just use\nit as a local, depending on what you're trying to accomplish. Building the\n`WorkspaceView` is currently expensive, so you should try build a {Workspace}\ninstead if possible. ", - "range": [ - [ - 55, - 0 - ], - [ - 385, - 25 - ] - ] - } - }, - "63": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 63, - 12 - ], - [ - 63, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "66": { - "4": { - "name": "configDefaults", - "type": "primitive", - "range": [ - [ - 66, - 4 - ], - [ - 73, - 23 - ] - ], - "bindingType": "classProperty" - } - }, - "75": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 75, - 12 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 81, - 14 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 12 - ], - [ - 168, - 20 - ] - ], - "doc": " Public: Get the underlying model object.\n\nReturns a {Workspace}. " - } - }, - "171": { - "24": { - "name": "installShellCommands", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 24 - ], - [ - 191, - 1 - ] - ], - "doc": "Public: Install the Atom shell commands on the user's system. " - } - }, - "191": { - "15": { - "name": "handleFocus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 191, - 15 - ], - [ - 205, - 1 - ] - ], - "doc": "~Private~" - } - }, - "205": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 205, - 15 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "16": { - "name": "confirmClose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 209, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": "Private: Prompts to save all unsaved items " - } - }, - "213": { - "15": { - "name": "updateTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 15 - ], - [ - 223, - 1 - ] - ], - "doc": "Private: Updates the application's title, based on whichever file is open. " - } - }, - "223": { - "12": { - "name": "setTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "title" - ], - "range": [ - [ - 223, - 12 - ], - [ - 233, - 1 - ] - ], - "doc": "Private: Sets the application's title. " - } - }, - "233": { - "18": { - "name": "getEditorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 233, - 18 - ], - [ - 238, - 1 - ] - ], - "doc": " Private: Get all editor views.\n\nYou should prefer {Workspace::getEditors} unless you absolutely need access\nto the view objects. Also consider using {::eachEditorView}, which will call\na callback for all current and *future* editor views.\n\nReturns an {Array} of {EditorView}s. " - } - }, - "238": { - "16": { - "name": "prependToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 238, - 16 - ], - [ - 242, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the top of the\nworkspace. " - } - }, - "242": { - "15": { - "name": "appendToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 242, - 15 - ], - [ - 247, - 1 - ] - ], - "doc": "Public: Append an element or view to the panels at the top of the workspace. " - } - }, - "247": { - "19": { - "name": "prependToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 247, - 19 - ], - [ - 252, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the bottom of the\nworkspace. " - } - }, - "252": { - "18": { - "name": "appendToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 252, - 18 - ], - [ - 257, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the bottom of the\nworkspace. " - } - }, - "257": { - "17": { - "name": "prependToLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 257, - 17 - ], - [ - 262, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the left of the\nworkspace. " - } - }, - "262": { - "16": { - "name": "appendToLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 262, - 16 - ], - [ - 267, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the left of the\nworkspace. " - } - }, - "267": { - "18": { - "name": "prependToRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 267, - 18 - ], - [ - 272, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the right of the\nworkspace. " - } - }, - "272": { - "17": { - "name": "appendToRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 272, - 17 - ], - [ - 281, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the right of the\nworkspace. " - } - }, - "281": { - "21": { - "name": "getActivePaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 281, - 21 - ], - [ - 287, - 1 - ] - ], - "doc": " Public: Get the active pane view.\n\nPrefer {Workspace::getActivePane} if you don't actually need access to the\nview.\n\nReturns a {PaneView}. " - } - }, - "287": { - "17": { - "name": "getActiveView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 287, - 17 - ], - [ - 291, - 1 - ] - ], - "doc": " Public: Get the view associated with the active pane item.\n\nReturns a view. " - } - }, - "291": { - "25": { - "name": "focusPreviousPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 291, - 25 - ], - [ - 291, - 56 - ] - ], - "doc": "Private: Focus the previous pane by id. " - } - }, - "294": { - "21": { - "name": "focusNextPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 294, - 21 - ], - [ - 294, - 48 - ] - ], - "doc": "Private: Focus the next pane by id. " - } - }, - "297": { - "22": { - "name": "focusPaneViewAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 22 - ], - [ - 297, - 51 - ] - ], - "doc": "Public: Focus the pane directly above the active pane. " - } - }, - "300": { - "22": { - "name": "focusPaneViewBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 300, - 22 - ], - [ - 300, - 51 - ] - ], - "doc": "Public: Focus the pane directly below the active pane. " - } - }, - "303": { - "23": { - "name": "focusPaneViewOnLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 303, - 23 - ], - [ - 303, - 53 - ] - ], - "doc": "Public: Focus the pane directly to the left of the active pane. " - } - }, - "306": { - "24": { - "name": "focusPaneViewOnRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 306, - 24 - ], - [ - 306, - 55 - ] - ], - "doc": "Public: Focus the pane directly to the right of the active pane. " - } - }, - "315": { - "16": { - "name": "eachPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 315, - 16 - ], - [ - 325, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\npane view in the workspace.\n\ncallback - A {Function} with a {PaneView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "325": { - "16": { - "name": "getPaneViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 325, - 16 - ], - [ - 336, - 1 - ] - ], - "doc": " Public: Get all existing pane views.\n\nPrefer {Workspace::getPanes} if you don't need access to the view objects.\nAlso consider using {::eachPaneView} if you want to register a callback for\nall current and *future* pane views.\n\nReturns an Array of all open {PaneView}s. " - } - }, - "336": { - "18": { - "name": "eachEditorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 336, - 18 - ], - [ - 344, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\neditor view in the workspace (only includes {EditorView}s that are pane\nitems).\n\ncallback - A {Function} with an {EditorView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "344": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 344, - 16 - ], - [ - 347, - 1 - ] - ], - "doc": "Private: Called by SpacePen " - } - }, - "347": { - "21": { - "name": "setEditorFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 347, - 21 - ], - [ - 350, - 1 - ] - ], - "doc": "~Private~" - } - }, - "350": { - "23": { - "name": "setEditorFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 350, - 23 - ], - [ - 353, - 1 - ] - ], - "doc": "~Private~" - } - }, - "353": { - "23": { - "name": "setEditorLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 353, - 23 - ], - [ - 356, - 1 - ] - ], - "doc": "~Private~" - } - }, - "356": { - "18": { - "name": "setEditorStyle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "property", - "value" - ], - "range": [ - [ - 356, - 18 - ], - [ - 368, - 1 - ] - ], - "doc": "~Private~" - } - }, - "368": { - "12": { - "name": "eachPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 368, - 12 - ], - [ - 373, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "373": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 373, - 12 - ], - [ - 378, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "378": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 378, - 17 - ], - [ - 383, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "383": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 383, - 21 - ], - [ - 385, - 25 - ] - ], - "doc": "Deprecated: Call {Workspace::getActivePaneItem} instead. " - } - } - }, - "exports": 55 - }, - "src/workspace.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 4 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true, - "name": "join", - "exportsProperty": "join" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "4": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 4, - 4 - ], - [ - 4, - 14 - ] - ], - "bindingType": "variable", - "module": "q@~1.0.1" - } - }, - "5": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 5, - 15 - ], - [ - 5, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@1.x" - } - }, - "6": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 6, - 12 - ], - [ - 6, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@1.x" - } - }, - "7": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "8": { - "16": { - "name": "PaneContainer", - "type": "import", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 41 - ] - ], - "bindingType": "variable", - "path": "./pane-container" - } - }, - "9": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 9, - 7 - ], - [ - 9, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "18": { - "0": { - "type": "class", - "name": "Workspace", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 47, - 21 - ], - [ - 55, - 19 - ], - [ - 60, - 37 - ], - [ - 74, - 15 - ], - [ - 84, - 14 - ], - [ - 91, - 14 - ], - [ - 118, - 8 - ], - [ - 135, - 15 - ], - [ - 150, - 12 - ], - [ - 168, - 17 - ], - [ - 193, - 14 - ], - [ - 200, - 18 - ], - [ - 217, - 18 - ], - [ - 221, - 20 - ], - [ - 224, - 14 - ], - [ - 230, - 17 - ], - [ - 236, - 12 - ], - [ - 240, - 11 - ], - [ - 244, - 20 - ], - [ - 248, - 24 - ], - [ - 254, - 14 - ], - [ - 260, - 21 - ], - [ - 269, - 22 - ], - [ - 277, - 24 - ], - [ - 284, - 25 - ], - [ - 288, - 21 - ], - [ - 295, - 19 - ], - [ - 299, - 20 - ], - [ - 303, - 20 - ], - [ - 308, - 17 - ], - [ - 312, - 14 - ], - [ - 317, - 23 - ], - [ - 322, - 13 - ] - ], - "doc": " Public: Represents the state of the user interface for the entire window.\nAn instance of this class is available via the `atom.workspace` global.\n\nInteract with this object to open files, be notified of current and future\neditors, and manipulate panes. To add panels, you'll need to use the\n{WorkspaceView} class for now until we establish APIs at the model layer. ", - "range": [ - [ - 18, - 0 - ], - [ - 323, - 28 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 15 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 47, - 21 - ], - [ - 55, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during deserialization " - } - }, - "55": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 19 - ], - [ - 60, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during serialization. " - } - }, - "60": { - "37": { - "name": "getPackageNamesWithActiveGrammars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 60, - 37 - ], - [ - 74, - 1 - ] - ], - "doc": "~Private~" - } - }, - "74": { - "15": { - "name": "editorAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 74, - 15 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "14": { - "name": "eachEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 84, - 14 - ], - [ - 91, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\n{Editor} in the workspace.\n\ncallback - A {Function} with an {Editor} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "91": { - "14": { - "name": "getEditors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 14 - ], - [ - 118, - 1 - ] - ], - "doc": " Public: Get all current editors in the workspace.\n\nReturns an {Array} of {Editor}s. " - } - }, - "118": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "options" - ], - "range": [ - [ - 118, - 8 - ], - [ - 135, - 1 - ] - ], - "doc": " Public: Open a given a URI in Atom asynchronously.\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :split - Either 'left' or 'right'. If 'left', the item will be opened in\n leftmost pane of the current active pane's row. If 'right', the\n item will be opened in the rightmost pane of the current active\n pane's row.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`.\n :searchAllPanes - A {Boolean}. If `true`, the workspace will attempt to\n activate an existing item for the given URI on any pane.\n If `false`, only the active pane will be searched for\n an existing item for the same URI. Defaults to `false`.\n\nReturns a promise that resolves to the {Editor} for the file URI. " - } - }, - "135": { - "15": { - "name": "openLicense", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 135, - 15 - ], - [ - 150, - 1 - ] - ], - "doc": "Public: Open Atom's license in the active pane. " - } - }, - "150": { - "12": { - "name": "openSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "options" - ], - "range": [ - [ - 150, - 12 - ], - [ - 168, - 1 - ] - ], - "doc": " Private: Synchronously open the given URI in the active pane. **Only use this method\nin specs. Calling this in production code will block the UI thread and\neveryone will be mad at you.**\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`. " - } - }, - "168": { - "17": { - "name": "openUriInPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "pane", - "options" - ], - "range": [ - [ - 168, - 17 - ], - [ - 193, - 1 - ] - ], - "doc": "~Private~" - } - }, - "193": { - "14": { - "name": "reopenItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 193, - 14 - ], - [ - 200, - 1 - ] - ], - "doc": " Public: Asynchronously reopens the last-closed item's URI if it hasn't already been\nreopened.\n\nReturns a promise that is resolved when the item is opened " - } - }, - "200": { - "18": { - "name": "reopenItemSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 200, - 18 - ], - [ - 217, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "217": { - "18": { - "name": "registerOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 217, - 18 - ], - [ - 221, - 1 - ] - ], - "doc": " Public: Register an opener for a uri.\n\nAn {Editor} will be used if no openers return a value.\n\n## Example\n```coffeescript\n atom.project.registerOpener (uri) ->\n if path.extname(uri) is '.toml'\n return new TomlEditor(uri)\n```\n\nopener - A {Function} to be called when a path is being opened. " - } - }, - "221": { - "20": { - "name": "unregisterOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 221, - 20 - ], - [ - 224, - 1 - ] - ], - "doc": "Public: Unregister an opener registered with {::registerOpener}. " - } - }, - "224": { - "14": { - "name": "getOpeners", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 14 - ], - [ - 230, - 1 - ] - ], - "doc": "~Private~" - } - }, - "230": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 230, - 17 - ], - [ - 236, - 1 - ] - ], - "doc": " Public: Get the active {Pane}.\n\nReturns a {Pane}. " - } - }, - "236": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 236, - 12 - ], - [ - 240, - 1 - ] - ], - "doc": " Public: Get all {Pane}s.\n\nReturns an {Array} of {Pane}s. " - } - }, - "240": { - "11": { - "name": "saveAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 240, - 11 - ], - [ - 244, - 1 - ] - ], - "doc": "Public: Save all pane items. " - } - }, - "244": { - "20": { - "name": "activateNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 244, - 20 - ], - [ - 248, - 1 - ] - ], - "doc": "Public: Make the next pane active. " - } - }, - "248": { - "24": { - "name": "activatePreviousPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 248, - 24 - ], - [ - 254, - 1 - ] - ], - "doc": "Public: Make the previous pane active. " - } - }, - "254": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 254, - 14 - ], - [ - 260, - 1 - ] - ], - "doc": " Public: Get the first pane {Pane} with an item for the given URI.\n\nReturns a {Pane} or `undefined` if no pane exists for the given URI. " - } - }, - "260": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 21 - ], - [ - 269, - 1 - ] - ], - "doc": " Public: Get the active {Pane}'s active item.\n\nReturns an pane item {Object}. " - } - }, - "269": { - "22": { - "name": "saveActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 22 - ], - [ - 277, - 1 - ] - ], - "doc": " Public: Save the active pane item.\n\nIf the active pane item currently has a URI according to the item's\n`.getUri` method, calls `.save` on the item. Otherwise\n{::saveActivePaneItemAs} # will be called instead. This method does nothing\nif the active item does not implement a `.save` method. " - } - }, - "277": { - "24": { - "name": "saveActivePaneItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 277, - 24 - ], - [ - 284, - 1 - ] - ], - "doc": " Public: Prompt the user for a path and save the active pane item to it.\n\nOpens a native dialog where the user selects a path on disk, then calls\n`.saveAs` on the item with the selected path. This method does nothing if\nthe active item does not implement a `.saveAs` method. " - } - }, - "284": { - "25": { - "name": "destroyActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 25 - ], - [ - 288, - 1 - ] - ], - "doc": " Public: Destroy (close) the active pane item.\n\nRemoves the active pane item and calls the `.destroy` method on it if one is\ndefined. " - } - }, - "288": { - "21": { - "name": "destroyActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 288, - 21 - ], - [ - 295, - 1 - ] - ], - "doc": "Public: Destroy (close) the active pane. " - } - }, - "295": { - "19": { - "name": "getActiveEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 295, - 19 - ], - [ - 299, - 1 - ] - ], - "doc": " Public: Get the active item if it is an {Editor}.\n\nReturns an {Editor} or `undefined` if the current active item is not an\n{Editor}. " - } - }, - "299": { - "20": { - "name": "increaseFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 299, - 20 - ], - [ - 303, - 1 - ] - ], - "doc": "Public: Increase the editor font size by 1px. " - } - }, - "303": { - "20": { - "name": "decreaseFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 303, - 20 - ], - [ - 308, - 1 - ] - ], - "doc": "Public: Decrease the editor font size by 1px. " - } - }, - "308": { - "17": { - "name": "resetFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 308, - 17 - ], - [ - 312, - 1 - ] - ], - "doc": "Public: Restore to a default editor font size. " - } - }, - "312": { - "14": { - "name": "itemOpened", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 312, - 14 - ], - [ - 317, - 1 - ] - ], - "doc": "Private: Removes the item's uri from the list of potential items to reopen. " - } - }, - "317": { - "23": { - "name": "onPaneItemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 317, - 23 - ], - [ - 322, - 1 - ] - ], - "doc": "Private: Adds the destroyed item's uri to the list of items to reopen. " - } - }, - "322": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 322, - 13 - ], - [ - 323, - 28 - ] - ], - "doc": "Private: Called by Model superclass when destroyed " - } - } - }, - "exports": 18 - }, - "src/key-binding.coffee": { - "objects": { - "0": { - "7": { - "name": "Grim", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "calculateSpecificity", - "exportsProperty": "calculateSpecificity" - } - }, - "4": { - "0": { - "type": "class", - "name": "KeyBinding", - "bindingType": "exports", - "classProperties": [ - [ - 5, - 17 - ] - ], - "prototypeProperties": [ - [ - 7, - 11 - ], - [ - 9, - 15 - ], - [ - 23, - 11 - ], - [ - 30, - 11 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 34, - 43 - ] - ] - } - }, - "5": { - "17": { - "name": "currentIndex", - "type": "primitive", - "range": [ - [ - 5, - 17 - ], - [ - 5, - 17 - ] - ], - "bindingType": "classProperty" - } - }, - "7": { - "11": { - "name": "enabled", - "type": "primitive", - "range": [ - [ - 7, - 11 - ], - [ - 7, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null, - null, - "selector" - ], - "range": [ - [ - 9, - 15 - ], - [ - 23, - 1 - ] - ], - "doc": "~Private~" - } - }, - "23": { - "11": { - "name": "matches", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystroke" - ], - "range": [ - [ - 23, - 11 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyBinding" - ], - "range": [ - [ - 30, - 11 - ], - [ - 34, - 43 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/keymap-manager.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "2": { - "7": { - "name": "Grim", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0" - } - }, - "3": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 3, - 5 - ], - [ - 3, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@2.x" - } - }, - "4": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 4 - ] - ], - "bindingType": "variable", - "module": "pathwatcher@^2.0.2", - "name": "File", - "exportsProperty": "File" - } - }, - "7": { - "13": { - "name": "KeyBinding", - "type": "import", - "range": [ - [ - 7, - 13 - ], - [ - 7, - 35 - ] - ], - "bindingType": "variable", - "path": "./key-binding" - } - }, - "8": { - "15": { - "name": "CommandEvent", - "type": "import", - "range": [ - [ - 8, - 15 - ], - [ - 8, - 39 - ] - ], - "bindingType": "variable", - "path": "./command-event" - } - }, - "9": { - "1": { - "type": "import", - "range": [ - [ - 9, - 1 - ], - [ - 9, - 19 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "normalizeKeystrokes", - "exportsProperty": "normalizeKeystrokes" - }, - "22": { - "type": "import", - "range": [ - [ - 9, - 22 - ], - [ - 9, - 46 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "keystrokeForKeyboardEvent", - "exportsProperty": "keystrokeForKeyboardEvent" - }, - "49": { - "type": "import", - "range": [ - [ - 9, - 49 - ], - [ - 9, - 62 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "isAtomModifier", - "exportsProperty": "isAtomModifier" - }, - "65": { - "type": "import", - "range": [ - [ - 9, - 65 - ], - [ - 9, - 76 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "keydownEvent", - "exportsProperty": "keydownEvent" - } - }, - "11": { - "12": { - "type": "primitive", - "range": [ - [ - 11, - 12 - ], - [ - 11, - 59 - ] - ] - } - }, - "12": { - "17": { - "name": "OtherPlatforms", - "type": "function", - "range": [ - [ - 12, - 17 - ], - [ - 12, - 77 - ] - ] - } - }, - "84": { - "0": { - "type": "class", - "name": "KeymapManager", - "bindingType": "exports", - "classProperties": [ - [ - 99, - 17 - ] - ], - "prototypeProperties": [ - [ - 103, - 23 - ], - [ - 105, - 17 - ], - [ - 106, - 25 - ], - [ - 107, - 29 - ], - [ - 117, - 15 - ], - [ - 125, - 11 - ], - [ - 132, - 18 - ], - [ - 141, - 7 - ], - [ - 164, - 14 - ], - [ - 179, - 15 - ], - [ - 190, - 10 - ], - [ - 212, - 23 - ], - [ - 289, - 19 - ], - [ - 314, - 16 - ], - [ - 324, - 14 - ], - [ - 338, - 27 - ], - [ - 345, - 21 - ], - [ - 349, - 23 - ], - [ - 365, - 22 - ], - [ - 385, - 20 - ], - [ - 390, - 25 - ], - [ - 394, - 21 - ], - [ - 400, - 22 - ], - [ - 410, - 25 - ], - [ - 427, - 24 - ], - [ - 446, - 36 - ], - [ - 460, - 29 - ], - [ - 464, - 13 - ], - [ - 469, - 16 - ], - [ - 475, - 18 - ], - [ - 484, - 27 - ], - [ - 490, - 12 - ], - [ - 497, - 25 - ], - [ - 502, - 27 - ], - [ - 507, - 30 - ], - [ - 513, - 40 - ], - [ - 519, - 42 - ] - ], - "doc": " Public: Allows commands to be associated with keystrokes in a\ncontext-sensitive way. In Atom, you can access a global instance of this\nobject via `atom.keymap`.\n\nKey bindings are plain JavaScript objects containing **CSS selectors** as\ntheir top level keys, then **keystroke patterns** mapped to commands.\n\n```cson\n'.workspace':\n 'ctrl-l': 'package:do-something'\n 'ctrl-z': 'package:do-something-else'\n'.mini.editor':\n 'enter': 'core:confirm'\n```\n\nWhen a keystroke sequence matches a binding in a given context, a custom DOM\nevent with a type based on the command is dispatched on the target of the\nkeyboard event.\n\nTo match a keystroke sequence, the keymap starts at the target element for the\nkeyboard event. It looks for key bindings associated with selectors that match\nthe target element. If multiple match, the most specific is selected. If there\nis a tie in specificity, the most recently added binding wins. If no bindings\nare found for the events target, the search is repeated again for the target's\nparent node and so on recursively until a binding is found or we traverse off\nthe top of the document.\n\nWhen a binding is found, its command event is always dispatched on the\noriginal target of the keyboard event, even if the matching element is higher\nup in the DOM. In addition, `.preventDefault()` is called on the keyboard\nevent to prevent the browser from taking action. `.preventDefault` is only\ncalled if a matching binding is found.\n\nCommand event objects have a non-standard method called `.abortKeyBinding()`.\nIf your command handler is invoked but you programmatically determine that no\naction can be taken and you want to allow other bindings to be matched, call\n`.abortKeyBinding()` on the event object. An example of where this is useful\nis binding snippet expansion to `tab`. If `snippets:expand` is invoked when\nthe cursor does not follow a valid snippet prefix, we abort the binding and\nallow `tab` to be handled by the default handler, which inserts whitespace.\n\nMulti-keystroke bindings are possible. If a sequence of one or more keystrokes\n*partially* matches a multi-keystroke binding, the keymap enters a pending\nstate. The pending state is terminated on the next keystroke, or after\n{::partialMatchTimeout} milliseconds has elapsed. When the pending state is\nterminated via a timeout or a keystroke that leads to no matches, the longest\nambiguous bindings that caused the pending state are temporarily disabled and\nthe previous keystrokes are replayed. If there is ambiguity again during the\nreplay, the next longest bindings are disabled and the keystrokes are replayed\nagain.\n\n## Events\n\n* `matched` -\n Emitted when keystrokes match a binding.\n * keystrokes - The keystroke {String} that matched the binding\n * binding - The {KeyBinding} that was used\n * keyboardEventTarget - The target element of the keyboard event\n\n* `matched-partially` -\n Emitted when keystrokes partially match one or more bindings.\n * keystrokes - The keystroke {String} that partially match some bindings\n * partiallyMatchedBindings - The {KeyBinding}s that partially matched\n * keyboardEventTarget - The target element of the keyboard event\n\n* `match-failed` -\n Emitted when keystrokes don't match any bindings.\n * keystrokes - The keystroke {String} that matched no bindings\n * keyboardEventTarget - The target element of the keyboard event ", - "range": [ - [ - 84, - 0 - ], - [ - 521, - 62 - ] - ] - } - }, - "99": { - "17": { - "name": "keydownEvent", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "key", - "options" - ], - "range": [ - [ - 99, - 17 - ], - [ - 99, - 60 - ] - ], - "doc": " Public: Create a keydown DOM event for testing purposes.\n\nkey - The key or keyIdentifier of the event. For example, 'a', '1',\n 'escape', 'backspace', etc.\noptions - An {Object} containing any of the following:\n :ctrl - A {Boolean} indicating the ctrl modifier key\n :alt - A {Boolean} indicating the alt modifier key\n :shift - A {Boolean} indicating the shift modifier key\n :cmd - A {Boolean} indicating the cmd modifier key\n :which - A {Number} indicating `which` value of the event. See\n the docs for KeyboardEvent for more information.\n :target - The target element of the event. " - } - }, - "103": { - "23": { - "name": "partialMatchTimeout", - "type": "primitive", - "range": [ - [ - 103, - 23 - ], - [ - 103, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "105": { - "17": { - "name": "defaultTarget", - "type": "primitive", - "range": [ - [ - 105, - 17 - ], - [ - 105, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "106": { - "25": { - "name": "pendingPartialMatches", - "type": "primitive", - "range": [ - [ - 106, - 25 - ], - [ - 106, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "107": { - "29": { - "name": "pendingStateTimeoutHandle", - "type": "primitive", - "range": [ - [ - 107, - 29 - ], - [ - 107, - 32 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "117": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 117, - 15 - ], - [ - 125, - 1 - ] - ], - "doc": " Public:\n\noptions - An {Object} containing properties to assign to the keymap: You can\n pass custom properties to be used by extension methods. The following\n properties are also supported:\n :defaultTarget - This will be used as the target of events whose target\n is `document.body` to allow for a catch-all element when nothing is\n focused " - } - }, - "125": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 125, - 11 - ], - [ - 132, - 1 - ] - ], - "doc": "Public: Unwatch all watched paths. " - } - }, - "132": { - "18": { - "name": "getKeyBindings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 132, - 18 - ], - [ - 141, - 1 - ] - ], - "doc": " Public: Get all current key bindings.\n\nReturns an {Array} of {KeyBinding}s. " - } - }, - "141": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source", - "keyBindingsBySelector" - ], - "range": [ - [ - 141, - 7 - ], - [ - 164, - 1 - ] - ], - "doc": " Public: Add sets of key bindings grouped by CSS selector.\n\nsource - A {String} (usually a path) uniquely identifying the given bindings\n so they can be removed later.\nbindings - An {Object} whose top-level keys point at sub-objects mapping\n keystroke patterns to commands. " - } - }, - "164": { - "14": { - "name": "loadKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bindingsPath", - "options" - ], - "range": [ - [ - 164, - 14 - ], - [ - 179, - 1 - ] - ], - "doc": " Public: Load the key bindings from the given path.\n\npath - A {String} containing a path to a file or a directory. If the path is\n a directory, all files inside it will be loaded.\noptions - An {Object} containing the following optional keys:\n :watch - If `true`, the keymap will also reload the file at the given path\n whenever it changes. This option cannot be used with directory paths. " - } - }, - "179": { - "15": { - "name": "watchKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 179, - 15 - ], - [ - 190, - 1 - ] - ], - "doc": " Public: Cause the keymap to reload the key bindings file at the given path\nwhenever it changes.\n\nThis method doesn't perform the initial load of the key bindings file. If\nthat's what you're looking for, call {::loadKeymap} with `watch: true`. " - } - }, - "190": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source" - ], - "range": [ - [ - 190, - 10 - ], - [ - 212, - 1 - ] - ], - "doc": " Public: Remove the key bindings added with {::addKeymap} or\n{::loadKeymap}.\n\nsource - A {String} representing the `source` in a previous call to\n {::addKeymap} or the path in {::loadKeymap}. " - } - }, - "212": { - "23": { - "name": "handleKeyboardEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event", - "replaying" - ], - "range": [ - [ - 212, - 23 - ], - [ - 289, - 1 - ] - ], - "doc": " Public: Dispatch a custom event associated with the matching key binding for\nthe given `KeyboardEvent` if one can be found.\n\nIf a matching binding is found on the event's target or one of its\nancestors, `.preventDefault()` is called on the keyboard event and the\nbinding's command is emitted as a custom event on the matching element.\n\nIf the matching binding's command is 'native!', the method will terminate\nwithout calling `.preventDefault()` on the keyboard event, allowing the\nbrowser to handle it as normal.\n\nIf the matching binding's command is 'unset!', the search will continue from\nthe current element's parent.\n\nIf the matching binding's command is 'abort!', the search will terminate\nwithout dispatching a command event.\n\nIf the event's target is `document.body`, it will be treated as if its\ntarget is `.defaultTarget` if that property is assigned on the keymap. " - } - }, - "289": { - "19": { - "name": "findKeyBindings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 289, - 19 - ], - [ - 314, - 1 - ] - ], - "doc": " Public: Get the key bindings for a given command and optional target.\n\nparams - An {Object} whose keys constrain the binding search:\n :keystrokes - A {String} representing one or more keystrokes, such as\n 'ctrl-x ctrl-s'\n :command - A {String} representing the name of a command, such as\n 'editor:backspace'\n :target - An optional DOM element constraining the search. If this\n parameter is supplied, the call will only return bindings that can be\n invoked by a KeyboardEvent originating from the target element. " - } - }, - "314": { - "16": { - "name": "reloadKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 314, - 16 - ], - [ - 324, - 1 - ] - ], - "doc": " Private: Called by the path watcher callback to reload a file at the given path. If\nwe can't read the file cleanly, we don't proceed with the reload. " - } - }, - "324": { - "14": { - "name": "readKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "suppressErrors" - ], - "range": [ - [ - 324, - 14 - ], - [ - 338, - 1 - ] - ], - "doc": "~Private~" - } - }, - "338": { - "27": { - "name": "filePathMatchesPlatform", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 338, - 27 - ], - [ - 345, - 1 - ] - ], - "doc": " Private: Determine if the given path should be loaded on this platform. If the\nfilename has the pattern '.cson' or 'foo..cson' and\n does not match the current platform, returns false. Otherwise\nreturns true. " - } - }, - "345": { - "21": { - "name": "getOtherPlatforms", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 345, - 21 - ], - [ - 345, - 37 - ] - ], - "doc": "Private: For testing purposes " - } - }, - "349": { - "23": { - "name": "findMatchCandidates", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystrokes" - ], - "range": [ - [ - 349, - 23 - ], - [ - 365, - 1 - ] - ], - "doc": " Private: Finds all key bindings whose keystrokes match the given keystrokes. Returns\nboth partial and exact matches. " - } - }, - "365": { - "22": { - "name": "findPartialMatches", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "partialMatchCandidates", - "target" - ], - "range": [ - [ - 365, - 22 - ], - [ - 385, - 1 - ] - ], - "doc": " Private: Determine which of the given bindings have selectors matching the target or\none of its ancestors. This is used by {::handleKeyboardEvent} to determine\nif there are any partial matches for the keyboard event. " - } - }, - "385": { - "20": { - "name": "findExactMatches", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "exactMatchCandidates", - "target" - ], - "range": [ - [ - 385, - 20 - ], - [ - 390, - 1 - ] - ], - "doc": " Private: Find the matching bindings among the given candidates for the given target,\nordered by specificity. Does not traverse up the target's ancestors. This is\nused by {::handleKeyboardEvent} to find a matching binding when there are no\npartially-matching bindings. " - } - }, - "390": { - "25": { - "name": "clearQueuedKeystrokes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 390, - 25 - ], - [ - 394, - 1 - ] - ], - "doc": "~Private~" - } - }, - "394": { - "21": { - "name": "enterPendingState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pendingPartialMatches", - "enableTimeout" - ], - "range": [ - [ - 394, - 21 - ], - [ - 400, - 1 - ] - ], - "doc": "~Private~" - } - }, - "400": { - "22": { - "name": "cancelPendingState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 400, - 22 - ], - [ - 410, - 1 - ] - ], - "doc": "~Private~" - } - }, - "410": { - "25": { - "name": "terminatePendingState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 410, - 25 - ], - [ - 427, - 1 - ] - ], - "doc": " Private: This is called by {::handleKeyboardEvent} when no matching bindings are\nfound for the currently queued keystrokes or by the pending state timeout.\nIt disables the longest of the pending partially matching bindings, then\nreplays the queued keyboard events to allow any bindings with shorter\nkeystroke sequences to be matched unambiguously. " - } - }, - "427": { - "24": { - "name": "dispatchCommandEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "target", - "keyboardEvent" - ], - "range": [ - [ - 427, - 24 - ], - [ - 446, - 1 - ] - ], - "doc": " Private: After we match a binding, we call this method to dispatch a custom event\nbased on the binding's command. " - } - }, - "446": { - "36": { - "name": "simulateBubblingOnDetachedTarget", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "target", - "commandEvent" - ], - "range": [ - [ - 446, - 36 - ], - [ - 460, - 1 - ] - ], - "doc": " Private: Chromium does not bubble events dispatched on detached targets, which makes\ntesting a pain in the ass. This method simulates bubbling manually. " - } - }, - "460": { - "29": { - "name": "keystrokeForKeyboardEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 460, - 29 - ], - [ - 464, - 1 - ] - ], - "doc": " Public: Translate a keydown event to a keystroke string.\n\nevent - A `KeyboardEvent` of type 'keydown'\n\nReturns a {String} describing the keystroke. " - } - }, - "464": { - "13": { - "name": "addKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source", - "bindings" - ], - "range": [ - [ - 464, - 13 - ], - [ - 469, - 1 - ] - ], - "doc": "Deprecated: Use {::addKeymap} instead. " - } - }, - "469": { - "16": { - "name": "removeKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source" - ], - "range": [ - [ - 469, - 16 - ], - [ - 475, - 1 - ] - ], - "doc": "Deprecated: Use {::removeKeymap} instead. " - } - }, - "475": { - "18": { - "name": "handleKeyEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 475, - 18 - ], - [ - 484, - 1 - ] - ], - "doc": " Deprecated: Handle a jQuery keyboard event. Use {::handleKeyboardEvent} with\na raw keyboard event instead. " - } - }, - "484": { - "27": { - "name": "keystrokeStringForEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 484, - 27 - ], - [ - 490, - 1 - ] - ], - "doc": " Deprecated: Translate a jQuery keyboard event to a keystroke string. Use\n{::keystrokeForKeyboardEvent} with a raw KeyboardEvent instead. " - } - }, - "490": { - "12": { - "name": "bindKeys", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source", - "selector", - "keyBindings" - ], - "range": [ - [ - 490, - 12 - ], - [ - 497, - 1 - ] - ], - "doc": " Deprecated: Use {::addKeymap} with a map from selectors to key\nbindings. " - } - }, - "497": { - "25": { - "name": "keyBindingsForCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command" - ], - "range": [ - [ - 497, - 25 - ], - [ - 502, - 1 - ] - ], - "doc": "Deprecated: Use {::findKeyBindings} with the 'command' param. " - } - }, - "502": { - "27": { - "name": "keyBindingsForKeystroke", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystroke" - ], - "range": [ - [ - 502, - 27 - ], - [ - 507, - 1 - ] - ], - "doc": "Deprecated: Use {::findKeyBindings} with the 'keystrokes' param. " - } - }, - "507": { - "30": { - "name": "keyBindingsMatchingElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "target", - "keyBindings" - ], - "range": [ - [ - 507, - 30 - ], - [ - 513, - 1 - ] - ], - "doc": "Deprecated: Use {::findKeyBindings} with the 'target' param. " - } - }, - "513": { - "40": { - "name": "keyBindingsForCommandMatchingElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "target" - ], - "range": [ - [ - 513, - 40 - ], - [ - 519, - 1 - ] - ], - "doc": " Deprecated: Use {::findKeyBindings} with the 'command' and 'target'\nparams " - } - }, - "519": { - "42": { - "name": "keyBindingsForKeystrokeMatchingElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystrokes", - "target" - ], - "range": [ - [ - 519, - 42 - ], - [ - 521, - 62 - ] - ], - "doc": " Deprecated: Use {::findKeyBindings} with the 'keystrokes' and 'target'\nparams " - } - } - }, - "exports": 84 - }, - "src/grammar-registry.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "10": { - "name": "Grammar", - "type": "import", - "range": [ - [ - 4, - 10 - ], - [ - 4, - 28 - ] - ], - "bindingType": "variable", - "path": "./grammar" - } - }, - "5": { - "14": { - "name": "NullGrammar", - "type": "import", - "range": [ - [ - 5, - 14 - ], - [ - 5, - 37 - ] - ], - "bindingType": "variable", - "path": "./null-grammar" - } - }, - "9": { - "0": { - "type": "class", - "name": "GrammarRegistry", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 24, - 15 - ], - [ - 32, - 23 - ], - [ - 38, - 17 - ], - [ - 47, - 29 - ], - [ - 57, - 14 - ], - [ - 69, - 19 - ], - [ - 81, - 15 - ], - [ - 96, - 19 - ], - [ - 106, - 15 - ], - [ - 119, - 26 - ], - [ - 128, - 29 - ], - [ - 135, - 31 - ], - [ - 139, - 25 - ], - [ - 151, - 17 - ], - [ - 154, - 15 - ], - [ - 156, - 18 - ], - [ - 160, - 17 - ] - ], - "doc": "Public: Registry containing one or more grammars. ", - "range": [ - [ - 9, - 0 - ], - [ - 164, - 11 - ] - ] - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 12, - 15 - ], - [ - 24, - 1 - ] - ], - "doc": "~Private~" - } - }, - "24": { - "15": { - "name": "getGrammars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 24, - 15 - ], - [ - 32, - 1 - ] - ], - "doc": " Public: Get all the grammars in this registry.\n\nReturns a non-empty {Array} of {Grammar} instances. " - } - }, - "32": { - "23": { - "name": "grammarForScopeName", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeName" - ], - "range": [ - [ - 32, - 23 - ], - [ - 38, - 1 - ] - ], - "doc": " Public: Get a grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`.\n\nReturns a {Grammar} or undefined. " - } - }, - "38": { - "17": { - "name": "removeGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 38, - 17 - ], - [ - 47, - 1 - ] - ], - "doc": " Public: Remove a grammar from this registry.\n\ngrammar - The {Grammar} to remove. " - } - }, - "47": { - "29": { - "name": "removeGrammarForScopeName", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeName" - ], - "range": [ - [ - 47, - 29 - ], - [ - 57, - 1 - ] - ], - "doc": " Public: Remove the grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`. " - } - }, - "57": { - "14": { - "name": "addGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 57, - 14 - ], - [ - 69, - 1 - ] - ], - "doc": " Public: Add a grammar to this registry.\n\nA 'grammar-added' event is emitted after the grammar is added.\n\ngrammar - The {Grammar} to add. This should be a value previously returned\n from {::readGrammar} or {::readGrammarSync}. " - } - }, - "69": { - "19": { - "name": "readGrammarSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath" - ], - "range": [ - [ - 69, - 19 - ], - [ - 81, - 1 - ] - ], - "doc": " Public: Read a grammar synchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\n\nReturns a {Grammar}. " - } - }, - "81": { - "15": { - "name": "readGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath", - "callback" - ], - "range": [ - [ - 81, - 15 - ], - [ - 96, - 1 - ] - ], - "doc": " Public: Read a grammar asynchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " - } - }, - "96": { - "19": { - "name": "loadGrammarSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath" - ], - "range": [ - [ - 96, - 19 - ], - [ - 106, - 1 - ] - ], - "doc": " Public: Read a grammar synchronously and add it to this registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\n\nReturns a {Grammar}. " - } - }, - "106": { - "15": { - "name": "loadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath", - "callback" - ], - "range": [ - [ - 106, - 15 - ], - [ - 119, - 1 - ] - ], - "doc": " Public: Read a grammar asynchronously and add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " - } - }, - "119": { - "26": { - "name": "grammarOverrideForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 119, - 26 - ], - [ - 128, - 1 - ] - ], - "doc": " Public: Get the grammar override for the given file path.\n\nfilePath - A {String} file path.\n\nReturns a {Grammar} or undefined. " - } - }, - "128": { - "29": { - "name": "setGrammarOverrideForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "scopeName" - ], - "range": [ - [ - 128, - 29 - ], - [ - 135, - 1 - ] - ], - "doc": " Public: Set the grammar override for the given file path.\n\nfilePath - A non-empty {String} file path.\nscopeName - A {String} such as `\"source.js\"`.\n\nReturns a {Grammar} or undefined. " - } - }, - "135": { - "31": { - "name": "clearGrammarOverrideForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 135, - 31 - ], - [ - 139, - 1 - ] - ], - "doc": " Public: Remove the grammar override for the given file path.\n\nfilePath - A {String} file path. " - } - }, - "139": { - "25": { - "name": "clearGrammarOverrides", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 139, - 25 - ], - [ - 151, - 1 - ] - ], - "doc": "Public: Remove all grammar overrides. " - } - }, - "151": { - "17": { - "name": "selectGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "fileContents" - ], - "range": [ - [ - 151, - 17 - ], - [ - 154, - 1 - ] - ], - "doc": " Public: Select a grammar for the given file path and file contents.\n\nThis picks the best match by checking the file path and contents against\neach grammar.\n\nfilePath - A {String} file path.\nfileContents - A {String} of text for the file path.\n\nReturns a {Grammar}, never null. " - } - }, - "154": { - "15": { - "name": "createToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "scopes" - ], - "range": [ - [ - 154, - 15 - ], - [ - 154, - 48 - ] - ], - "doc": "~Private~" - } - }, - "156": { - "18": { - "name": "grammarUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeName" - ], - "range": [ - [ - 156, - 18 - ], - [ - 160, - 1 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "17": { - "name": "createGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath", - "object" - ], - "range": [ - [ - 160, - 17 - ], - [ - 164, - 11 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 9 - }, - "src/grammar.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "3": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 3, - 5 - ], - [ - 3, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@2.x" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 10 - ] - ], - "bindingType": "variable", - "module": "oniguruma", - "name": "OnigRegExp", - "exportsProperty": "OnigRegExp" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "7": { - "13": { - "name": "Injections", - "type": "import", - "range": [ - [ - 7, - 13 - ], - [ - 7, - 34 - ] - ], - "bindingType": "variable", - "path": "./injections" - } - }, - "8": { - "10": { - "name": "Pattern", - "type": "import", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 28 - ] - ], - "bindingType": "variable", - "path": "./pattern" - } - }, - "9": { - "7": { - "name": "Rule", - "type": "import", - "range": [ - [ - 9, - 7 - ], - [ - 9, - 22 - ] - ], - "bindingType": "variable", - "path": "./rule" - } - }, - "10": { - "16": { - "name": "ScopeSelector", - "type": "import", - "range": [ - [ - 10, - 16 - ], - [ - 10, - 41 - ] - ], - "bindingType": "variable", - "path": "./scope-selector" - } - }, - "12": { - "21": { - "name": "pathSplitRegex", - "type": "function", - "range": [ - [ - 12, - 21 - ], - [ - 12, - 34 - ] - ] - } - }, - "19": { - "0": { - "type": "class", - "name": "Grammar", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 22, - 15 - ], - [ - 51, - 17 - ], - [ - 73, - 16 - ], - [ - 141, - 12 - ], - [ - 144, - 14 - ], - [ - 147, - 14 - ], - [ - 151, - 18 - ], - [ - 154, - 17 - ], - [ - 162, - 27 - ], - [ - 165, - 18 - ], - [ - 172, - 12 - ], - [ - 182, - 19 - ], - [ - 199, - 16 - ], - [ - 214, - 15 - ], - [ - 216, - 14 - ], - [ - 218, - 17 - ], - [ - 220, - 23 - ], - [ - 223, - 19 - ] - ], - "doc": " Public: Grammar that tokenizes lines of text.\n\nThis class should not be instantiated directly but instead obtained from\na {GrammarRegistry} by calling {GrammarRegistry::loadGrammar}. ", - "range": [ - [ - 19, - 0 - ], - [ - 235, - 10 - ] - ] - } - }, - "22": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - "options" - ], - "range": [ - [ - 22, - 15 - ], - [ - 51, - 1 - ] - ], - "doc": "~Private~" - } - }, - "51": { - "17": { - "name": "tokenizeLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 51, - 17 - ], - [ - 73, - 1 - ] - ], - "doc": " Public: Tokenize all lines in the given text.\n\ntext - A {String} containing one or more lines.\n\nReturns an {Array} of token arrays for each line tokenized. " - } - }, - "73": { - "16": { - "name": "tokenizeLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line", - "ruleStack", - "firstLine" - ], - "range": [ - [ - 73, - 16 - ], - [ - 141, - 1 - ] - ], - "doc": " Public: Tokenize the line of text.\n\nline - A {String} of text to tokenize.\nruleStack - An optional {Array} of rules previously returned from this\n method. This should be null when tokenizing the first line in\n the file.\nfirstLine - A {Boolean} denoting whether this is the first line in the file\n which defaults to `false`. This should be `true` when\n tokenizing the first line in the file.\n\nReturns an {Object} containing `tokens` and `ruleStack` properties:\n :token - An {Array} of tokens covering the entire line of text.\n :ruleStack - An {Array} of rules representing the tokenized state at the\n end of the line. These should be passed back into this method\n when tokenizing the next line in the file. " - } - }, - "141": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 12 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "14": { - "name": "deactivate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 144, - 14 - ], - [ - 147, - 1 - ] - ], - "doc": "~Private~" - } - }, - "147": { - "14": { - "name": "clearRules", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 147, - 14 - ], - [ - 151, - 1 - ] - ], - "doc": "~Private~" - } - }, - "151": { - "18": { - "name": "getInitialRule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 151, - 18 - ], - [ - 154, - 1 - ] - ], - "doc": "~Private~" - } - }, - "154": { - "17": { - "name": "getRepository", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 17 - ], - [ - 162, - 1 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "27": { - "name": "addIncludedGrammarScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scope" - ], - "range": [ - [ - 162, - 27 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "18": { - "name": "grammarUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeName" - ], - "range": [ - [ - 165, - 18 - ], - [ - 172, - 1 - ] - ], - "doc": "~Private~" - } - }, - "172": { - "12": { - "name": "getScore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "contents" - ], - "range": [ - [ - 172, - 12 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "19": { - "name": "matchesContents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "contents" - ], - "range": [ - [ - 182, - 19 - ], - [ - 199, - 1 - ] - ], - "doc": "~Private~" - } - }, - "199": { - "16": { - "name": "getPathScore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 199, - 16 - ], - [ - 214, - 1 - ] - ], - "doc": "~Private~" - } - }, - "214": { - "15": { - "name": "createToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "scopes" - ], - "range": [ - [ - 214, - 15 - ], - [ - 214, - 69 - ] - ], - "doc": "~Private~" - } - }, - "216": { - "14": { - "name": "createRule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 216, - 14 - ], - [ - 216, - 60 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "17": { - "name": "createPattern", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 218, - 17 - ], - [ - 218, - 66 - ] - ], - "doc": "~Private~" - } - }, - "220": { - "23": { - "name": "getMaxTokensPerLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 220, - 23 - ], - [ - 223, - 1 - ] - ], - "doc": "~Private~" - } - }, - "223": { - "19": { - "name": "scopesFromStack", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stack", - "rule", - "endPatternMatch" - ], - "range": [ - [ - 223, - 19 - ], - [ - 235, - 10 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 19 - }, - "src/directory.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 22 - ] - ], - "bindingType": "variable", - "module": "async" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@2.x" - } - }, - "6": { - "7": { - "name": "File", - "type": "import", - "range": [ - [ - 6, - 7 - ], - [ - 6, - 22 - ] - ], - "bindingType": "variable", - "path": "./file" - } - }, - "7": { - "14": { - "name": "PathWatcher", - "type": "import", - "range": [ - [ - 7, - 14 - ], - [ - 7, - 29 - ] - ], - "bindingType": "variable", - "path": "./main" - } - }, - "11": { - "0": { - "type": "class", - "name": "Directory", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 14, - 12 - ], - [ - 20, - 15 - ], - [ - 39, - 15 - ], - [ - 46, - 11 - ], - [ - 49, - 10 - ], - [ - 52, - 15 - ], - [ - 58, - 11 - ], - [ - 66, - 19 - ], - [ - 70, - 13 - ], - [ - 75, - 10 - ], - [ - 82, - 19 - ], - [ - 95, - 12 - ], - [ - 119, - 14 - ], - [ - 154, - 18 - ], - [ - 174, - 14 - ], - [ - 198, - 33 - ], - [ - 202, - 37 - ], - [ - 208, - 18 - ] - ], - "doc": "Public: Represents a directory on disk that can be watched for changes. ", - "range": [ - [ - 11, - 0 - ], - [ - 209, - 73 - ] - ] - } - }, - "14": { - "12": { - "name": "realPath", - "type": "primitive", - "range": [ - [ - 14, - 12 - ], - [ - 14, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "20": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "directoryPath", - null - ], - "range": [ - [ - 20, - 15 - ], - [ - 39, - 1 - ] - ], - "doc": " Public: Configures a new Directory instance, no files are accessed.\n\ndirectoryPath - A {String} containing the absolute path to the directory.\nsymlink - A {Boolean} indicating if the path is a symlink (default: false). " - } - }, - "39": { - "15": { - "name": "getBaseName", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 39, - 15 - ], - [ - 46, - 1 - ] - ], - "doc": "Public: Returns the {String} basename of the directory. " - } - }, - "46": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 46, - 11 - ], - [ - 46, - 18 - ] - ], - "doc": " Public: Returns the directory's symbolic path.\n\nThis may include unfollowed symlinks or relative directory entries. Or it\nmay be fully resolved, it depends on what you give it. " - } - }, - "49": { - "10": { - "name": "isFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 10 - ], - [ - 49, - 17 - ] - ], - "doc": "Public: Distinguishes Files from Directories during traversal. " - } - }, - "52": { - "15": { - "name": "isDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 15 - ], - [ - 52, - 21 - ] - ], - "doc": "Public: Distinguishes Files from Directories during traversal. " - } - }, - "58": { - "11": { - "name": "getFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filename" - ], - "range": [ - [ - 58, - 11 - ], - [ - 66, - 1 - ] - ], - "doc": " Public: Traverse within this Directory to a child File. This method doesn't\nactually check to see if the File exists, it just creates the File object.\n\nfilename - The name of a File within this Directory. " - } - }, - "66": { - "19": { - "name": "getSubdirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "dirname" - ], - "range": [ - [ - 66, - 19 - ], - [ - 70, - 1 - ] - ], - "doc": " Public: Traverse within this a Directory to a child Directory. This method\ndoesn't actually check to see if the Directory exists, it just creates the\nDirectory object.\n\ndirname - The name of the child Directory. " - } - }, - "70": { - "13": { - "name": "getParent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 70, - 13 - ], - [ - 75, - 1 - ] - ], - "doc": "Public: Traverse to the parent Directory. " - } - }, - "75": { - "10": { - "name": "isRoot", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 75, - 10 - ], - [ - 82, - 1 - ] - ], - "doc": " Public: Return true if this {Directory} is the root directory of the\nfilesystem, or false if it isn't. " - } - }, - "82": { - "19": { - "name": "getRealPathSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 19 - ], - [ - 95, - 1 - ] - ], - "doc": " Public: Returns this directory's completely resolved path.\n\nAll relative directory entries are removed and symlinks are resolved to\ntheir final destination. " - } - }, - "95": { - "12": { - "name": "contains", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToCheck" - ], - "range": [ - [ - 95, - 12 - ], - [ - 119, - 1 - ] - ], - "doc": " Public: Returns whether the given path (real or symbolic) is inside this\ndirectory. This method does not actually check if the path exists, it just\nchecks if the path is under this directory. " - } - }, - "119": { - "14": { - "name": "relativize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fullPath" - ], - "range": [ - [ - 119, - 14 - ], - [ - 154, - 1 - ] - ], - "doc": "Public: Returns the relative path to the given path from this directory. " - } - }, - "154": { - "18": { - "name": "getEntriesSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 18 - ], - [ - 174, - 1 - ] - ], - "doc": " Public: Reads file entries in this directory from disk synchronously.\n\nReturns an {Array} of {File} and {Directory} objects. " - } - }, - "174": { - "14": { - "name": "getEntries", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 174, - 14 - ], - [ - 198, - 1 - ] - ], - "doc": " Public: Reads file entries in this directory from disk asynchronously.\n\ncallback - A {Function} to call with an {Error} as the 1st argument and\n an {Array} of {File} and {Directory} objects as the 2nd argument. " - } - }, - "198": { - "33": { - "name": "subscribeToNativeChangeEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 198, - 33 - ], - [ - 202, - 1 - ] - ], - "doc": "~Private~" - } - }, - "202": { - "37": { - "name": "unsubscribeFromNativeChangeEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 202, - 37 - ], - [ - 208, - 1 - ] - ], - "doc": "~Private~" - } - }, - "208": { - "18": { - "name": "isPathPrefixOf", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "prefix", - "fullPath" - ], - "range": [ - [ - 208, - 18 - ], - [ - 209, - 73 - ] - ], - "doc": "Private: Does given full path start with the given prefix? " - } - } - }, - "exports": 11 - }, - "src/file.coffee": { - "objects": { - "0": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 0, - 9 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@2.x" - } - }, - "6": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 6, - 4 - ], - [ - 6, - 14 - ] - ], - "bindingType": "variable", - "module": "q@~1.0.1" - } - }, - "7": { - "8": { - "name": "runas", - "type": "import", - "range": [ - [ - 7, - 8 - ], - [ - 7, - 22 - ] - ], - "bindingType": "variable", - "module": "runas" - } - }, - "9": { - "12": { - "type": "primitive", - "range": [ - [ - 9, - 12 - ], - [ - 9, - 15 - ] - ] - } - }, - "10": { - "14": { - "name": "PathWatcher", - "type": "import", - "range": [ - [ - 10, - 14 - ], - [ - 10, - 29 - ] - ], - "bindingType": "variable", - "path": "./main" - } - }, - "15": { - "0": { - "type": "class", - "name": "File", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 18, - 12 - ], - [ - 24, - 15 - ], - [ - 34, - 28 - ], - [ - 49, - 10 - ], - [ - 52, - 15 - ], - [ - 55, - 11 - ], - [ - 59, - 11 - ], - [ - 62, - 13 - ], - [ - 67, - 19 - ], - [ - 76, - 15 - ], - [ - 80, - 9 - ], - [ - 86, - 12 - ], - [ - 101, - 8 - ], - [ - 128, - 10 - ], - [ - 131, - 13 - ], - [ - 135, - 13 - ], - [ - 142, - 40 - ], - [ - 154, - 27 - ], - [ - 167, - 32 - ], - [ - 170, - 22 - ], - [ - 178, - 33 - ], - [ - 182, - 37 - ] - ], - "doc": " Public: Represents an individual file that can be watched, read from, and\nwritten to. ", - "range": [ - [ - 15, - 0 - ], - [ - 185, - 31 - ] - ] - } - }, - "18": { - "12": { - "name": "realPath", - "type": "primitive", - "range": [ - [ - 18, - 12 - ], - [ - 18, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "24": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - null - ], - "range": [ - [ - 24, - 15 - ], - [ - 34, - 1 - ] - ], - "doc": " Public: Creates a new file.\n\nfilePath - A {String} containing the absolute path to the file\nsymlink - A {Boolean} indicating if the path is a symlink (default: false). " - } - }, - "34": { - "28": { - "name": "handleEventSubscriptions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 28 - ], - [ - 49, - 1 - ] - ], - "doc": "Private: Subscribes to file system notifications when necessary. " - } - }, - "49": { - "10": { - "name": "isFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 10 - ], - [ - 49, - 16 - ] - ], - "doc": "Public: Distinguishes Files from Directories during traversal. " - } - }, - "52": { - "15": { - "name": "isDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 15 - ], - [ - 52, - 22 - ] - ], - "doc": "Public: Distinguishes Files from Directories during traversal. " - } - }, - "55": { - "11": { - "name": "setPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 55, - 11 - ], - [ - 59, - 1 - ] - ], - "doc": "Private: Sets the path for the file. " - } - }, - "59": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 11 - ], - [ - 59, - 18 - ] - ], - "doc": "Public: Returns the {String} path for the file. " - } - }, - "62": { - "13": { - "name": "getParent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 62, - 13 - ], - [ - 67, - 1 - ] - ], - "doc": "Public: Return the {Directory} that contains this file. " - } - }, - "67": { - "19": { - "name": "getRealPathSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 19 - ], - [ - 76, - 1 - ] - ], - "doc": "Public: Returns this file's completely resolved path. " - } - }, - "76": { - "15": { - "name": "getBaseName", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 15 - ], - [ - 80, - 1 - ] - ], - "doc": "Public: Return the {String} filename without any directory information. " - } - }, - "80": { - "9": { - "name": "write", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 80, - 9 - ], - [ - 86, - 1 - ] - ], - "doc": "Public: Overwrites the file with the given String. " - } - }, - "86": { - "12": { - "name": "readSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "flushCache" - ], - "range": [ - [ - 86, - 12 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "8": { - "name": "read", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "flushCache" - ], - "range": [ - [ - 101, - 8 - ], - [ - 128, - 1 - ] - ], - "doc": " Public: Reads the contents of the file.\n\nflushCache - A {Boolean} indicating whether to require a direct read or if\n a cached copy is acceptable.\n\nReturns a promise that resovles to a String. " - } - }, - "128": { - "10": { - "name": "exists", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 128, - 10 - ], - [ - 131, - 1 - ] - ], - "doc": "Public: Returns whether the file exists. " - } - }, - "131": { - "13": { - "name": "setDigest", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "contents" - ], - "range": [ - [ - 131, - 13 - ], - [ - 135, - 1 - ] - ], - "doc": "~Private~" - } - }, - "135": { - "13": { - "name": "getDigest", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 135, - 13 - ], - [ - 142, - 1 - ] - ], - "doc": "Public: Get the SHA-1 digest of this file " - } - }, - "142": { - "40": { - "name": "writeFileWithPrivilegeEscalationSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "text" - ], - "range": [ - [ - 142, - 40 - ], - [ - 154, - 1 - ] - ], - "doc": " Private: Writes the text to specified path.\n\nPrivilege escalation would be asked when current user doesn't have\npermission to the path. " - } - }, - "154": { - "27": { - "name": "handleNativeChangeEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventType", - "eventPath" - ], - "range": [ - [ - 154, - 27 - ], - [ - 167, - 1 - ] - ], - "doc": "~Private~" - } - }, - "167": { - "32": { - "name": "detectResurrectionAfterDelay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 167, - 32 - ], - [ - 170, - 1 - ] - ], - "doc": "~Private~" - } - }, - "170": { - "22": { - "name": "detectResurrection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 170, - 22 - ], - [ - 178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "178": { - "33": { - "name": "subscribeToNativeChangeEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 178, - 33 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "37": { - "name": "unsubscribeFromNativeChangeEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 182, - 37 - ], - [ - 185, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 15 - }, - "src/space-pen.coffee": { - "objects": { - "4": { - "3": { - "type": "primitive", - "name": "_", - "range": [ - [ - 4, - 3 - ], - [ - 4, - 3 - ] - ], - "exportsProperty": "_" - }, - "6": { - "type": "primitive", - "name": "jQuery", - "range": [ - [ - 4, - 6 - ], - [ - 4, - 11 - ] - ], - "exportsProperty": "jQuery" - } - }, - "5": { - "6": { - "name": "jQuery", - "type": "primitive", - "range": [ - [ - 5, - 6 - ], - [ - 5, - 11 - ] - ] - } - }, - "8": { - "2": { - "name": "Tags", - "type": "function", - "range": [ - [ - 8, - 2 - ], - [ - 15, - 60 - ] - ] - } - }, - "17": { - "18": { - "type": "primitive", - "range": [ - [ - 17, - 18 - ], - [ - 17, - 19 - ] - ] - } - }, - "22": { - "2": { - "name": "Events", - "type": "function", - "range": [ - [ - 22, - 2 - ], - [ - 24, - 57 - ] - ] - } - }, - "28": { - "8": { - "name": "document", - "type": "primitive", - "range": [ - [ - 28, - 8 - ], - [ - 28, - 15 - ] - ] - } - }, - "32": { - "12": { - "name": "0", - "type": "primitive", - "range": [ - [ - 32, - 12 - ], - [ - 32, - 12 - ] - ] - } - }, - "58": { - "0": { - "type": "class", - "name": "View", - "classProperties": [ - [ - 59, - 17 - ], - [ - 65, - 12 - ], - [ - 69, - 9 - ], - [ - 72, - 8 - ], - [ - 75, - 8 - ], - [ - 77, - 16 - ], - [ - 83, - 15 - ], - [ - 87, - 14 - ], - [ - 92, - 11 - ] - ], - "prototypeProperties": [ - [ - 100, - 15 - ], - [ - 113, - 13 - ], - [ - 120, - 15 - ], - [ - 128, - 21 - ], - [ - 147, - 13 - ], - [ - 153, - 7 - ], - [ - 167, - 11 - ], - [ - 174, - 11 - ] - ], - "doc": " Public: View class that extends the jQuery prototype.\n\nExtending classes must implement a `@content` method.\n\n## Example\n```coffee\nclass Spacecraft extends View\n @content: ->\n @div =>\n @h1 'Spacecraft'\n @ol =>\n @li 'Apollo'\n @li 'Soyuz'\n @li 'Space Shuttle'\n```\n\nEach view instance will have all the methods from the jQuery prototype\navailable on it.\n\n```coffee\n craft = new Spacecraft()\n craft.find('h1').text() # 'Spacecraft'\n craft.appendTo(document.body) # View is now a child of the tag\n``` ", - "range": [ - [ - 58, - 0 - ], - [ - 176, - 0 - ] - ] - } - }, - "59": { - "17": { - "name": "builderStack", - "type": "primitive", - "range": [ - [ - 59, - 17 - ], - [ - 59, - 20 - ] - ], - "bindingType": "classProperty" - } - }, - "65": { - "12": { - "name": "subview", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "name", - "view" - ], - "range": [ - [ - 65, - 12 - ], - [ - 69, - 1 - ] - ], - "doc": "Public: Add the given subview wired to an outlet with the given name " - } - }, - "69": { - "9": { - "name": "text", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 69, - 9 - ], - [ - 69, - 48 - ] - ], - "doc": "Public: Add a text node with the given text content " - } - }, - "72": { - "8": { - "name": "tag", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "tagName", - "args" - ], - "range": [ - [ - 72, - 8 - ], - [ - 72, - 66 - ] - ], - "doc": "Public: Add a new tag with the given name " - } - }, - "75": { - "8": { - "name": "raw", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 75, - 8 - ], - [ - 75, - 46 - ] - ], - "doc": "Public: Add new child DOM nodes from the given raw HTML string. " - } - }, - "77": { - "16": { - "name": "pushBuilder", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 77, - 16 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "15": { - "name": "popBuilder", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 83, - 15 - ], - [ - 87, - 1 - ] - ], - "doc": "~Private~" - } - }, - "87": { - "14": { - "name": "buildHtml", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 87, - 14 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "11": { - "name": "render", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 92, - 11 - ], - [ - 100, - 1 - ] - ], - "doc": "~Private~" - } - }, - "100": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 100, - 15 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "13": { - "name": "buildHtml", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 113, - 13 - ], - [ - 120, - 1 - ] - ], - "doc": "~Private~" - } - }, - "120": { - "15": { - "name": "wireOutlets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 120, - 15 - ], - [ - 128, - 1 - ] - ], - "doc": "~Private~" - } - }, - "128": { - "21": { - "name": "bindEventHandlers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 128, - 21 - ], - [ - 147, - 1 - ] - ], - "doc": "~Private~" - } - }, - "147": { - "13": { - "name": "pushStack", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "elems" - ], - "range": [ - [ - 147, - 13 - ], - [ - 153, - 1 - ] - ], - "doc": " Private: `pushStack` and `end` are jQuery methods that construct new wrappers.\nwe override them here to construct plain wrappers with `jQuery` rather\nthan wrappers that are instances of our view class. " - } - }, - "153": { - "7": { - "name": "end", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 153, - 7 - ], - [ - 167, - 1 - ] - ], - "doc": "~Private~" - } - }, - "167": { - "11": { - "name": "command", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "commandName", - "selector", - "options", - "handler" - ], - "range": [ - [ - 167, - 11 - ], - [ - 174, - 1 - ] - ], - "doc": " Public: Calls the given handler when commandName is triggered on the {View}.\n\nThis is enhanced version of jQuery's `::on` method. It listens for a custom\nDOM event and adds metadata to the DOM to maintain a list of all commands.\n\ncommandName - A namespaced {String} describing the command, such as\n `find-and-replace:toggle`.\nselector - An optional selector {String} to filter the descendants of the\n elements that trigger the event.\noptions - An optional options {Object} with an `data` key.\nhandler - A {Function} to execute when the command is triggered. " - } - }, - "174": { - "11": { - "name": "preempt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventName", - "handler" - ], - "range": [ - [ - 174, - 11 - ], - [ - 176, - 0 - ] - ], - "doc": " Public: Preempt events registered with jQuery's `::on`.\n\neventName - A event name {String}.\nhandler - A {Function} to execute when the eventName is triggered. " - } - }, - "177": { - "0": { - "type": "class", - "name": "Builder", - "classProperties": [], - "prototypeProperties": [ - [ - 178, - 15 - ], - [ - 182, - 13 - ], - [ - 185, - 7 - ], - [ - 198, - 11 - ], - [ - 211, - 12 - ], - [ - 214, - 8 - ], - [ - 224, - 7 - ], - [ - 227, - 11 - ], - [ - 235, - 18 - ] - ], - "doc": "~Private~", - "range": [ - [ - 177, - 0 - ], - [ - 247, - 54 - ] - ] - } - }, - "178": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 178, - 15 - ], - [ - 182, - 1 - ] - ] - } - }, - "182": { - "13": { - "name": "buildHtml", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 182, - 13 - ], - [ - 185, - 1 - ] - ], - "doc": "~Private~" - } - }, - "185": { - "7": { - "name": "tag", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "args" - ], - "range": [ - [ - 185, - 7 - ], - [ - 198, - 1 - ] - ], - "doc": "~Private~" - } - }, - "198": { - "11": { - "name": "openTag", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "attributes" - ], - "range": [ - [ - 198, - 11 - ], - [ - 211, - 1 - ] - ], - "doc": "~Private~" - } - }, - "211": { - "12": { - "name": "closeTag", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 211, - 12 - ], - [ - 214, - 1 - ] - ], - "doc": "~Private~" - } - }, - "214": { - "8": { - "name": "text", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 214, - 8 - ], - [ - 224, - 1 - ] - ], - "doc": "~Private~" - } - }, - "224": { - "7": { - "name": "raw", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 224, - 7 - ], - [ - 227, - 1 - ] - ], - "doc": "~Private~" - } - }, - "227": { - "11": { - "name": "subview", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "outletName", - "subview" - ], - "range": [ - [ - 227, - 11 - ], - [ - 235, - 1 - ] - ], - "doc": "~Private~" - } - }, - "235": { - "18": { - "name": "extractOptions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 235, - 18 - ], - [ - 247, - 54 - ] - ], - "doc": "~Private~" - } - }, - "248": { - "17": { - "name": "callAttachHook", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 248, - 17 - ], - [ - 260, - 0 - ] - ], - "doc": "Private: Trigger attach event when views are added to the DOM " - } - }, - "278": { - "20": { - "name": "jQuery", - "type": "primitive", - "range": [ - [ - 278, - 20 - ], - [ - 278, - 25 - ] - ] - } - }, - "279": { - "19": { - "name": "jQuery.cleanData", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "elements" - ], - "range": [ - [ - 279, - 19 - ], - [ - 286, - 0 - ] - ], - "doc": null - } - }, - "287": { - "12": { - "name": "$.fn.view", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 287, - 12 - ], - [ - 289, - 0 - ] - ], - "doc": null - } - }, - "290": { - "13": { - "name": "$.fn.views", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 290, - 13 - ], - [ - 293, - 0 - ] - ], - "doc": null - } - }, - "294": { - "22": { - "name": "$.fn.containingView", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 294, - 22 - ], - [ - 299, - 0 - ] - ], - "doc": null - } - }, - "300": { - "20": { - "name": "$.fn.scrollBottom", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newValue" - ], - "range": [ - [ - 300, - 20 - ], - [ - 305, - 0 - ] - ], - "doc": null - } - }, - "306": { - "18": { - "name": "$.fn.scrollDown", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 306, - 18 - ], - [ - 308, - 0 - ] - ], - "doc": null - } - }, - "309": { - "16": { - "name": "$.fn.scrollUp", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 309, - 16 - ], - [ - 311, - 0 - ] - ], - "doc": null - } - }, - "312": { - "19": { - "name": "$.fn.scrollToTop", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 312, - 19 - ], - [ - 314, - 0 - ] - ], - "doc": null - } - }, - "315": { - "22": { - "name": "$.fn.scrollToBottom", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 22 - ], - [ - 317, - 0 - ] - ], - "doc": null - } - }, - "318": { - "19": { - "name": "$.fn.scrollRight", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newValue" - ], - "range": [ - [ - 318, - 19 - ], - [ - 323, - 0 - ] - ], - "doc": null - } - }, - "324": { - "14": { - "name": "$.fn.pageUp", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 324, - 14 - ], - [ - 326, - 0 - ] - ], - "doc": null - } - }, - "327": { - "16": { - "name": "$.fn.pageDown", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 327, - 16 - ], - [ - 329, - 0 - ] - ], - "doc": null - } - }, - "330": { - "15": { - "name": "$.fn.isOnDom", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 330, - 15 - ], - [ - 332, - 0 - ] - ], - "doc": null - } - }, - "333": { - "17": { - "name": "$.fn.isVisible", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 333, - 17 - ], - [ - 335, - 0 - ] - ], - "doc": null - } - }, - "336": { - "16": { - "name": "$.fn.isHidden", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 336, - 16 - ], - [ - 347, - 0 - ] - ], - "doc": null - } - }, - "348": { - "18": { - "name": "$.fn.isDisabled", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 348, - 18 - ], - [ - 350, - 0 - ] - ], - "doc": null - } - }, - "351": { - "14": { - "name": "$.fn.enable", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 351, - 14 - ], - [ - 353, - 0 - ] - ], - "doc": null - } - }, - "354": { - "15": { - "name": "$.fn.disable", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 354, - 15 - ], - [ - 356, - 0 - ] - ], - "doc": null - } - }, - "357": { - "16": { - "name": "$.fn.insertAt", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "index", - "element" - ], - "range": [ - [ - 357, - 16 - ], - [ - 363, - 0 - ] - ], - "doc": null - } - }, - "364": { - "16": { - "name": "$.fn.removeAt", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 364, - 16 - ], - [ - 366, - 0 - ] - ], - "doc": null - } - }, - "367": { - "15": { - "name": "$.fn.indexOf", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 367, - 15 - ], - [ - 369, - 0 - ] - ], - "doc": null - } - }, - "370": { - "23": { - "name": "$.fn.containsElement", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 370, - 23 - ], - [ - 372, - 0 - ] - ], - "doc": null - } - }, - "373": { - "15": { - "name": "$.fn.preempt", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "eventName", - "handler" - ], - "range": [ - [ - 373, - 15 - ], - [ - 387, - 57 - ] - ], - "doc": null - } - }, - "388": { - "16": { - "name": "$.fn.handlers", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "eventName" - ], - "range": [ - [ - 388, - 16 - ], - [ - 392, - 0 - ] - ], - "doc": null - } - }, - "393": { - "17": { - "name": "$.fn.hasParent", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 393, - 17 - ], - [ - 395, - 0 - ] - ], - "doc": null - } - }, - "396": { - "16": { - "name": "$.fn.hasFocus", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 396, - 16 - ], - [ - 398, - 0 - ] - ], - "doc": null - } - }, - "399": { - "18": { - "name": "$.fn.flashError", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 399, - 18 - ], - [ - 403, - 0 - ] - ], - "doc": null - } - }, - "404": { - "18": { - "name": "$.fn.trueHeight", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 404, - 18 - ], - [ - 406, - 0 - ] - ], - "doc": null - } - }, - "407": { - "17": { - "name": "$.fn.trueWidth", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 407, - 17 - ], - [ - 409, - 0 - ] - ], - "doc": null - } - }, - "410": { - "16": { - "name": "$.fn.document", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "eventName", - "docString" - ], - "range": [ - [ - 410, - 16 - ], - [ - 415, - 0 - ] - ], - "doc": null - } - }, - "416": { - "14": { - "name": "$.fn.events", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 416, - 14 - ], - [ - 427, - 0 - ] - ], - "doc": null - } - }, - "428": { - "15": { - "name": "$.fn.command", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "eventName", - "selector", - "options", - "handler" - ], - "range": [ - [ - 428, - 15 - ], - [ - 442, - 0 - ] - ], - "doc": null - } - }, - "443": { - "16": { - "name": "$.fn.iconSize", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "size" - ], - "range": [ - [ - 443, - 16 - ], - [ - 445, - 0 - ] - ], - "doc": null - } - }, - "446": { - "16": { - "name": "$.fn.intValue", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 446, - 16 - ], - [ - 448, - 0 - ] - ], - "doc": null - } - }, - "449": { - "36": { - "name": "$.Event.prototype.abortKeyBinding", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 449, - 36 - ], - [ - 449, - 37 - ] - ], - "doc": null - } - }, - "450": { - "38": { - "name": "$.Event.prototype.currentTargetView", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 450, - 38 - ], - [ - 450, - 74 - ] - ], - "doc": null - } - }, - "451": { - "31": { - "name": "$.Event.prototype.targetView", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 451, - 31 - ], - [ - 451, - 60 - ] - ], - "doc": null - } - }, - "459": { - "0": { - "name": "$$", - "bindingType": "exportsProperty", - "type": "function", - "range": [ - [ - 459, - 0 - ], - [ - 459, - 6 - ] - ] - } - }, - "460": { - "0": { - "name": "$$$", - "bindingType": "exportsProperty", - "type": "function", - "range": [ - [ - 460, - 0 - ], - [ - 460, - 6 - ] - ] - } - } - }, - "exports": { - "_default": { - "operator": "?", - "first": { - "base": { - "value": "exports", - "locationData": { - "first_line": 455, - "first_column": 10, - "last_line": 455, - "last_column": 16 - } - }, - "properties": [], - "locationData": { - "first_line": 455, - "first_column": 10, - "last_line": 455, - "last_column": 16 - } - }, - "second": { - "base": { - "value": "this", - "locationData": { - "first_line": 455, - "first_column": 20, - "last_line": 455, - "last_column": 23 - } - }, - "properties": [], - "locationData": { - "first_line": 455, - "first_column": 20, - "last_line": 455, - "last_column": 23 - } - }, - "flip": false, - "locationData": { - "first_line": 455, - "first_column": 10, - "last_line": 455, - "last_column": 23 - } - }, - "View": { - "startLineNumber": 456 - }, - "jQuery": { - "startLineNumber": 457 - }, - "$": { - "startLineNumber": 458 - }, - "$$": { - "startLineNumber": 459 - }, - "$$$": { - "startLineNumber": 460 - } - } - }, "src/marker.coffee": { "objects": { "0": { @@ -345924,64178 +64214,6 @@ "repository": "https://github.com/atom/theorist.git", "version": "1.0.1", "files": { - "src/atom.coffee": { - "objects": { - "0": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 0, - 9 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "1": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "2": { - "5": { - "name": "os", - "type": "import", - "range": [ - [ - 2, - 5 - ], - [ - 2, - 16 - ] - ], - "bindingType": "variable", - "module": "os", - "builtin": true - } - }, - "3": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "4": { - "9": { - "name": "remote", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 24 - ] - ], - "bindingType": "variable", - "module": "remote" - } - }, - "5": { - "9": { - "name": "screen", - "type": "import", - "range": [ - [ - 5, - 9 - ], - [ - 5, - 24 - ] - ], - "bindingType": "variable", - "module": "screen" - } - }, - "6": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 6, - 8 - ], - [ - 6, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "8": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 8, - 4 - ], - [ - 8, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "9": { - "1": { - "type": "import", - "range": [ - [ - 9, - 1 - ], - [ - 9, - 10 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecated", - "exportsProperty": "deprecated" - } - }, - "10": { - "1": { - "type": "import", - "range": [ - [ - 10, - 1 - ], - [ - 10, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "11": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 11, - 5 - ], - [ - 11, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "13": { - "1": { - "type": "import", - "range": [ - [ - 13, - 1 - ], - [ - 13, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "14": { - "21": { - "name": "WindowEventHandler", - "type": "import", - "range": [ - [ - 14, - 21 - ], - [ - 14, - 52 - ] - ], - "bindingType": "variable", - "path": "./window-event-handler" - } - }, - "35": { - "0": { - "type": "class", - "name": "Atom", - "bindingType": "exports", - "classProperties": [ - [ - 36, - 12 - ], - [ - 44, - 17 - ], - [ - 48, - 16 - ], - [ - 53, - 14 - ], - [ - 71, - 17 - ], - [ - 89, - 21 - ], - [ - 95, - 22 - ], - [ - 99, - 20 - ], - [ - 109, - 21 - ] - ], - "prototypeProperties": [ - [ - 112, - 31 - ], - [ - 115, - 15 - ], - [ - 123, - 14 - ], - [ - 177, - 31 - ], - [ - 181, - 33 - ], - [ - 184, - 24 - ], - [ - 188, - 20 - ], - [ - 194, - 23 - ], - [ - 211, - 23 - ], - [ - 221, - 21 - ], - [ - 224, - 32 - ], - [ - 229, - 30 - ], - [ - 246, - 27 - ], - [ - 252, - 25 - ], - [ - 259, - 19 - ], - [ - 262, - 22 - ], - [ - 269, - 28 - ], - [ - 281, - 28 - ], - [ - 285, - 27 - ], - [ - 292, - 21 - ], - [ - 320, - 22 - ], - [ - 336, - 14 - ], - [ - 339, - 15 - ], - [ - 353, - 8 - ], - [ - 377, - 11 - ], - [ - 397, - 18 - ], - [ - 400, - 22 - ], - [ - 407, - 16 - ], - [ - 411, - 18 - ], - [ - 415, - 31 - ], - [ - 419, - 10 - ], - [ - 423, - 9 - ], - [ - 428, - 8 - ], - [ - 432, - 8 - ], - [ - 439, - 11 - ], - [ - 446, - 15 - ], - [ - 450, - 10 - ], - [ - 457, - 17 - ], - [ - 464, - 9 - ], - [ - 467, - 8 - ], - [ - 473, - 13 - ], - [ - 477, - 14 - ], - [ - 481, - 20 - ], - [ - 485, - 17 - ], - [ - 490, - 16 - ], - [ - 496, - 14 - ], - [ - 500, - 21 - ], - [ - 506, - 20 - ], - [ - 509, - 12 - ], - [ - 523, - 21 - ], - [ - 526, - 20 - ], - [ - 529, - 22 - ], - [ - 533, - 8 - ], - [ - 537, - 25 - ], - [ - 541, - 25 - ], - [ - 555, - 22 - ] - ], - "doc": " Public: Atom global for dealing with packages, themes, menus, and the window.\n\nAn instance of this class is always available as the `atom` global.\n\n## Useful properties available:\n\n * `atom.clipboard` - A {Clipboard} instance\n * `atom.config` - A {Config} instance\n * `atom.contextMenu` - A {ContextMenuManager} instance\n * `atom.deserializers` - A {DeserializerManager} instance\n * `atom.keymaps` - A {KeymapManager} instance\n * `atom.menu` - A {MenuManager} instance\n * `atom.packages` - A {PackageManager} instance\n * `atom.project` - A {Project} instance\n * `atom.syntax` - A {Syntax} instance\n * `atom.themes` - A {ThemeManager} instance\n * `atom.workspace` - A {Workspace} instance\n * `atom.workspaceView` - A {WorkspaceView} instance ", - "range": [ - [ - 35, - 0 - ], - [ - 567, - 27 - ] - ] - } - }, - "36": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 36, - 12 - ], - [ - 36, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "44": { - "17": { - "name": "loadOrCreate", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 44, - 17 - ], - [ - 48, - 1 - ] - ], - "doc": " Public: Load or create the Atom environment in the given mode.\n\nmode - Pass 'editor' or 'spec' depending on the kind of environment you\n want to build.\n\nReturns an Atom instance, fully initialized " - } - }, - "48": { - "16": { - "name": "deserialize", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 48, - 16 - ], - [ - 53, - 1 - ] - ], - "doc": "Private: Deserializes the Atom environment from a state object " - } - }, - "53": { - "14": { - "name": "loadState", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 53, - 14 - ], - [ - 71, - 1 - ] - ], - "doc": " Private: Loads and returns the serialized state corresponding to this window\nif it exists; otherwise returns undefined. " - } - }, - "71": { - "17": { - "name": "getStatePath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 71, - 17 - ], - [ - 89, - 1 - ] - ], - "doc": " Private: Returns the path where the state for the current window will be\nlocated if it exists. " - } - }, - "89": { - "21": { - "name": "getConfigDirPath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 95, - 1 - ] - ], - "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " - } - }, - "95": { - "22": { - "name": "getStorageDirPath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 95, - 22 - ], - [ - 99, - 1 - ] - ], - "doc": " Private: Get the path to Atom's storage directory.\n\nReturns the absolute path to ~/.atom/storage " - } - }, - "99": { - "20": { - "name": "getLoadSettings", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 99, - 20 - ], - [ - 109, - 1 - ] - ], - "doc": "Private: Returns the load settings hash associated with the current window. " - } - }, - "109": { - "21": { - "name": "getCurrentWindow", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 21 - ], - [ - 112, - 1 - ] - ], - "doc": "~Private~" - } - }, - "112": { - "31": { - "name": "workspaceViewParentSelector", - "type": "primitive", - "range": [ - [ - 112, - 31 - ], - [ - 112, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "115": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 115, - 15 - ], - [ - 123, - 1 - ] - ], - "doc": "Private: Call .loadOrCreate instead " - } - }, - "123": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 123, - 14 - ], - [ - 177, - 1 - ] - ], - "doc": " Public: Sets up the basic services that should be available in all modes\n(both spec and application). Call after this instance has been assigned to\nthe `atom` global. " - } - }, - "177": { - "31": { - "name": "registerRepresentationClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 31 - ], - [ - 181, - 1 - ] - ], - "doc": "Deprecated: Callers should be converted to use atom.deserializers " - } - }, - "181": { - "33": { - "name": "registerRepresentationClasses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 181, - 33 - ], - [ - 184, - 1 - ] - ], - "doc": "Deprecated: Callers should be converted to use atom.deserializers " - } - }, - "184": { - "24": { - "name": "setBodyPlatformClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 184, - 24 - ], - [ - 188, - 1 - ] - ], - "doc": "~Private~" - } - }, - "188": { - "20": { - "name": "getCurrentWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 20 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "23": { - "name": "getWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 194, - 23 - ], - [ - 211, - 1 - ] - ], - "doc": " Public: Get the dimensions of this window.\n\nReturns an object with x, y, width, and height keys. " - } - }, - "211": { - "23": { - "name": "setWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 211, - 23 - ], - [ - 221, - 1 - ] - ], - "doc": " Public: Set the dimensions of the window.\n\nThe window will be centered if either the x or y coordinate is not set\nin the dimensions parameter. If x or y are omitted the window will be\ncentered. If height or width are omitted only the position will be changed.\n\ndimensions - An {Object} with the following keys:\n :x - The new x coordinate.\n :y - The new y coordinate.\n :width - The new width.\n :height - The new height. " - } - }, - "221": { - "21": { - "name": "isValidDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 221, - 21 - ], - [ - 224, - 1 - ] - ], - "doc": " Private: Returns true if the dimensions are useable, false if they should be ignored.\nWork around for https://github.com/atom/atom-shell/issues/473 " - } - }, - "224": { - "32": { - "name": "storeDefaultWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 32 - ], - [ - 229, - 1 - ] - ], - "doc": "~Private~" - } - }, - "229": { - "30": { - "name": "getDefaultWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 229, - 30 - ], - [ - 246, - 1 - ] - ], - "doc": "~Private~" - } - }, - "246": { - "27": { - "name": "restoreWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 246, - 27 - ], - [ - 252, - 1 - ] - ], - "doc": "~Private~" - } - }, - "252": { - "25": { - "name": "storeWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 252, - 25 - ], - [ - 259, - 1 - ] - ], - "doc": "~Private~" - } - }, - "259": { - "19": { - "name": "getLoadSettings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 259, - 19 - ], - [ - 262, - 1 - ] - ], - "doc": "Private: Returns the load settings hash associated with the current window. " - } - }, - "262": { - "22": { - "name": "deserializeProject", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 262, - 22 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "28": { - "name": "deserializeWorkspaceView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 28 - ], - [ - 281, - 1 - ] - ], - "doc": "~Private~" - } - }, - "281": { - "28": { - "name": "deserializePackageStates", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 281, - 28 - ], - [ - 285, - 1 - ] - ], - "doc": "~Private~" - } - }, - "285": { - "27": { - "name": "deserializeEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 285, - 27 - ], - [ - 292, - 1 - ] - ], - "doc": "~Private~" - } - }, - "292": { - "21": { - "name": "startEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 21 - ], - [ - 320, - 1 - ] - ], - "doc": "Private: Call this method when establishing a real application window. " - } - }, - "320": { - "22": { - "name": "unloadEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 320, - 22 - ], - [ - 336, - 1 - ] - ], - "doc": "~Private~" - } - }, - "336": { - "14": { - "name": "loadThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 336, - 14 - ], - [ - 339, - 1 - ] - ], - "doc": "~Private~" - } - }, - "339": { - "15": { - "name": "watchThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 339, - 15 - ], - [ - 353, - 1 - ] - ], - "doc": "~Private~" - } - }, - "353": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 353, - 8 - ], - [ - 377, - 1 - ] - ], - "doc": " Public: Open a new Atom window using the given options.\n\nCalling this method without an options parameter will open a prompt to pick\na file/folder to open in the new window.\n\noptions - An {Object} with the following keys:\n :pathsToOpen - An {Array} of {String} paths to open. " - } - }, - "377": { - "11": { - "name": "confirm", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 377, - 11 - ], - [ - 397, - 1 - ] - ], - "doc": " Public: Open a confirm dialog.\n\n## Example\n\n```coffee\n atom.confirm\n message: 'How you feeling?'\n detailedMessage: 'Be honest.'\n buttons:\n Good: -> window.alert('good to hear')\n Bad: -> window.alert('bummer')\n```\n\noptions - An {Object} with the following keys:\n :message - The {String} message to display.\n :detailedMessage - The {String} detailed message to display.\n :buttons - Either an array of strings or an object where keys are\n button names and the values are callbacks to invoke when\n clicked.\n\nReturns the chosen button index {Number} if the buttons option was an array. " - } - }, - "397": { - "18": { - "name": "showSaveDialog", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 397, - 18 - ], - [ - 400, - 1 - ] - ], - "doc": "~Private~" - } - }, - "400": { - "22": { - "name": "showSaveDialogSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultPath" - ], - "range": [ - [ - 400, - 22 - ], - [ - 407, - 1 - ] - ], - "doc": "~Private~" - } - }, - "407": { - "16": { - "name": "openDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 407, - 16 - ], - [ - 411, - 1 - ] - ], - "doc": "Public: Open the dev tools for the current window. " - } - }, - "411": { - "18": { - "name": "toggleDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 411, - 18 - ], - [ - 415, - 1 - ] - ], - "doc": "Public: Toggle the visibility of the dev tools for the current window. " - } - }, - "415": { - "31": { - "name": "executeJavaScriptInDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "code" - ], - "range": [ - [ - 415, - 31 - ], - [ - 419, - 1 - ] - ], - "doc": "Public: Execute code in dev tools. " - } - }, - "419": { - "10": { - "name": "reload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 419, - 10 - ], - [ - 423, - 1 - ] - ], - "doc": "Public: Reload the current window. " - } - }, - "423": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 423, - 9 - ], - [ - 428, - 1 - ] - ], - "doc": "Public: Focus the current window. " - } - }, - "428": { - "8": { - "name": "show", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 8 - ], - [ - 432, - 1 - ] - ], - "doc": "Public: Show the current window. " - } - }, - "432": { - "8": { - "name": "hide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 432, - 8 - ], - [ - 439, - 1 - ] - ], - "doc": "Public: Hide the current window. " - } - }, - "439": { - "11": { - "name": "setSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width", - "height" - ], - "range": [ - [ - 439, - 11 - ], - [ - 446, - 1 - ] - ], - "doc": " Public: Set the size of current window.\n\nwidth - The {Number} of pixels.\nheight - The {Number} of pixels. " - } - }, - "446": { - "15": { - "name": "setPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "x", - "y" - ], - "range": [ - [ - 446, - 15 - ], - [ - 450, - 1 - ] - ], - "doc": " Public: Set the position of current window.\n\nx - The {Number} of pixels.\ny - The {Number} of pixels. " - } - }, - "450": { - "10": { - "name": "center", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 450, - 10 - ], - [ - 457, - 1 - ] - ], - "doc": "Public: Move current window to the center of the screen. " - } - }, - "457": { - "17": { - "name": "displayWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 457, - 17 - ], - [ - 464, - 1 - ] - ], - "doc": " Private: Schedule the window to be shown and focused on the next tick.\n\nThis is done in a next tick to prevent a white flicker from occurring\nif called synchronously. " - } - }, - "464": { - "9": { - "name": "close", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 464, - 9 - ], - [ - 467, - 1 - ] - ], - "doc": "Public: Close the current window. " - } - }, - "467": { - "8": { - "name": "exit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 467, - 8 - ], - [ - 473, - 1 - ] - ], - "doc": "~Private~" - } - }, - "473": { - "13": { - "name": "inDevMode", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 473, - 13 - ], - [ - 477, - 1 - ] - ], - "doc": "Public: Is the current window in development mode? " - } - }, - "477": { - "14": { - "name": "inSpecMode", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 477, - 14 - ], - [ - 481, - 1 - ] - ], - "doc": "Public: Is the current window running specs? " - } - }, - "481": { - "20": { - "name": "toggleFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 481, - 20 - ], - [ - 485, - 1 - ] - ], - "doc": "Public: Toggle the full screen state of the current window. " - } - }, - "485": { - "17": { - "name": "setFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fullScreen" - ], - "range": [ - [ - 485, - 17 - ], - [ - 490, - 1 - ] - ], - "doc": "Public: Set the full screen state of the current window. " - } - }, - "490": { - "16": { - "name": "isFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 490, - 16 - ], - [ - 496, - 1 - ] - ], - "doc": "Public: Is the current window in full screen mode? " - } - }, - "496": { - "14": { - "name": "getVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 496, - 14 - ], - [ - 500, - 1 - ] - ], - "doc": " Public: Get the version of the Atom application.\n\nReturns the version text {String}. " - } - }, - "500": { - "21": { - "name": "isReleasedVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 500, - 21 - ], - [ - 506, - 1 - ] - ], - "doc": "Public: Determine whether the current version is an official release. " - } - }, - "506": { - "20": { - "name": "getConfigDirPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 506, - 20 - ], - [ - 509, - 1 - ] - ], - "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " - } - }, - "509": { - "12": { - "name": "saveSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 509, - 12 - ], - [ - 523, - 1 - ] - ], - "doc": "~Private~" - } - }, - "523": { - "21": { - "name": "getWindowLoadTime", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 523, - 21 - ], - [ - 526, - 1 - ] - ], - "doc": " Public: Get the time taken to completely load the current window.\n\nThis time include things like loading and activating packages, creating\nDOM elements for the editor, and reading the config.\n\nReturns the number of milliseconds taken to load the window or null\nif the window hasn't finished loading yet. " - } - }, - "526": { - "20": { - "name": "crashMainProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 526, - 20 - ], - [ - 529, - 1 - ] - ], - "doc": "~Private~" - } - }, - "529": { - "22": { - "name": "crashRenderProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 529, - 22 - ], - [ - 533, - 1 - ] - ], - "doc": "~Private~" - } - }, - "533": { - "8": { - "name": "beep", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 533, - 8 - ], - [ - 537, - 1 - ] - ], - "doc": "Public: Visually and audibly trigger a beep. " - } - }, - "537": { - "25": { - "name": "getUserInitScriptPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 537, - 25 - ], - [ - 541, - 1 - ] - ], - "doc": "~Private~" - } - }, - "541": { - "25": { - "name": "requireUserInitScript", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 541, - 25 - ], - [ - 555, - 1 - ] - ] - } - }, - "555": { - "22": { - "name": "requireWithGlobals", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id", - "globals" - ], - "range": [ - [ - 555, - 22 - ], - [ - 567, - 27 - ] - ], - "doc": " Public: Require the module with the given globals.\n\nThe globals will be set on the `window` object and removed after the\nrequire completes.\n\nid - The {String} module name or path.\nglobals - An {Object} to set as globals during require (default: {}) " - } - } - }, - "exports": 35 - }, - "src/browser/application-menu.coffee": { - "objects": { - "0": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "1": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "2": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "10": { - "0": { - "type": "class", - "name": "ApplicationMenu", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 22, - 10 - ], - [ - 35, - 20 - ], - [ - 47, - 23 - ], - [ - 58, - 29 - ], - [ - 63, - 21 - ], - [ - 68, - 22 - ], - [ - 90, - 22 - ], - [ - 102, - 17 - ], - [ - 113, - 21 - ], - [ - 131, - 25 - ] - ], - "doc": " Private: Used to manage the global application menu.\n\nIt's created by {AtomApplication} upon instantiation and used to add, remove\nand maintain the state of all menu items. ", - "range": [ - [ - 10, - 0 - ], - [ - 145, - 18 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 22, - 1 - ] - ] - } - }, - "22": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 22, - 10 - ], - [ - 35, - 1 - ] - ], - "doc": " Public: Updates the entire menu with the given keybindings.\n\ntemplate - The Object which describes the menu to display.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke. " - } - }, - "35": { - "20": { - "name": "flattenMenuItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "menu" - ], - "range": [ - [ - 35, - 20 - ], - [ - 47, - 1 - ] - ], - "doc": " Private: Flattens the given menu and submenu items into an single Array.\n\nmenu - A complete menu configuration object for atom-shell's menu API.\n\nReturns an Array of native menu items. " - } - }, - "47": { - "23": { - "name": "flattenMenuTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 47, - 23 - ], - [ - 58, - 1 - ] - ], - "doc": " Private: Flattens the given menu template into an single Array.\n\ntemplate - An object describing the menu item.\n\nReturns an Array of native menu items. " - } - }, - "58": { - "29": { - "name": "enableWindowSpecificItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "enable" - ], - "range": [ - [ - 58, - 29 - ], - [ - 63, - 1 - ] - ], - "doc": " Public: Used to make all window related menu items are active.\n\nenable - If true enables all window specific items, if false disables all\n window specific items. " - } - }, - "63": { - "21": { - "name": "substituteVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 63, - 21 - ], - [ - 68, - 1 - ] - ], - "doc": "Private: Replaces VERSION with the current version. " - } - }, - "68": { - "22": { - "name": "showUpdateMenuItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 68, - 22 - ], - [ - 90, - 1 - ] - ], - "doc": "Private: Sets the proper visible state the update menu items " - } - }, - "90": { - "22": { - "name": "getDefaultTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 22 - ], - [ - 102, - 1 - ] - ], - "doc": " Private: Default list of menu items.\n\nReturns an Array of menu item Objects. " - } - }, - "102": { - "17": { - "name": "focusedWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 17 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "21": { - "name": "translateTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 113, - 21 - ], - [ - 131, - 1 - ] - ], - "doc": " Private: Combines a menu template with the appropriate keystroke.\n\ntemplate - An Object conforming to atom-shell's menu api but lacking\n accelerator and click properties.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a complete menu configuration object for atom-shell's menu API. " - } - }, - "131": { - "25": { - "name": "acceleratorForCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "keystrokesByCommand" - ], - "range": [ - [ - 131, - 25 - ], - [ - 145, - 18 - ] - ], - "doc": " Private: Determine the accelerator for a given command.\n\ncommand - The name of the command.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a String containing the keystroke in a format that can be interpreted\n by atom shell to provide nice icons where available. " - } - } - }, - "exports": 10 - }, - "src/browser/atom-application.coffee": { - "objects": { - "0": { - "13": { - "name": "AtomWindow", - "type": "import", - "range": [ - [ - 0, - 13 - ], - [ - 0, - 35 - ] - ], - "bindingType": "variable", - "path": "./atom-window" - } - }, - "1": { - "18": { - "name": "ApplicationMenu", - "type": "import", - "range": [ - [ - 1, - 18 - ], - [ - 1, - 45 - ] - ], - "bindingType": "variable", - "path": "./application-menu" - } - }, - "2": { - "22": { - "name": "AtomProtocolHandler", - "type": "import", - "range": [ - [ - 2, - 22 - ], - [ - 2, - 54 - ] - ], - "bindingType": "variable", - "path": "./atom-protocol-handler" - } - }, - "3": { - "20": { - "name": "AutoUpdateManager", - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 50 - ] - ], - "bindingType": "variable", - "path": "./auto-update-manager" - } - }, - "4": { - "16": { - "name": "BrowserWindow", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 39 - ] - ], - "bindingType": "variable", - "module": "browser-window" - } - }, - "5": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "6": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 6, - 6 - ], - [ - 6, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "7": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "8": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 8, - 5 - ], - [ - 8, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "9": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 9, - 6 - ], - [ - 9, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "10": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 10, - 7 - ], - [ - 10, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "11": { - "5": { - "name": "os", - "type": "import", - "range": [ - [ - 11, - 5 - ], - [ - 11, - 16 - ] - ], - "bindingType": "variable", - "module": "os", - "builtin": true - } - }, - "12": { - "6": { - "name": "net", - "type": "import", - "range": [ - [ - 12, - 6 - ], - [ - 12, - 18 - ] - ], - "bindingType": "variable", - "module": "net", - "builtin": true - } - }, - "13": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 13, - 8 - ], - [ - 13, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "14": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 14, - 6 - ], - [ - 14, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "15": { - "1": { - "type": "import", - "range": [ - [ - 15, - 1 - ], - [ - 15, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "16": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 16, - 4 - ], - [ - 16, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "30": { - "0": { - "type": "class", - "name": "AtomApplication", - "bindingType": "exports", - "classProperties": [ - [ - 34, - 9 - ] - ], - "prototypeProperties": [ - [ - 52, - 11 - ], - [ - 53, - 19 - ], - [ - 54, - 23 - ], - [ - 55, - 16 - ], - [ - 56, - 11 - ], - [ - 58, - 8 - ], - [ - 60, - 15 - ], - [ - 83, - 19 - ], - [ - 94, - 16 - ], - [ - 99, - 13 - ], - [ - 110, - 36 - ], - [ - 119, - 20 - ], - [ - 132, - 28 - ], - [ - 136, - 16 - ], - [ - 232, - 15 - ], - [ - 245, - 23 - ], - [ - 254, - 31 - ], - [ - 274, - 19 - ], - [ - 282, - 17 - ], - [ - 287, - 17 - ], - [ - 298, - 13 - ], - [ - 311, - 12 - ], - [ - 337, - 20 - ], - [ - 341, - 24 - ], - [ - 346, - 15 - ], - [ - 364, - 11 - ], - [ - 393, - 12 - ], - [ - 406, - 17 - ], - [ - 415, - 25 - ], - [ - 440, - 17 - ] - ], - "doc": " Private: The application's singleton class.\n\nIt's the entry point into the Atom application and maintains the global state\nof the application.\n\n ", - "range": [ - [ - 30, - 0 - ], - [ - 449, - 50 - ] - ] - } - }, - "34": { - "9": { - "name": "open", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 34, - 9 - ], - [ - 52, - 1 - ] - ], - "doc": "Public: The entry point into the Atom application. " - } - }, - "52": { - "11": { - "name": "windows", - "type": "primitive", - "range": [ - [ - 52, - 11 - ], - [ - 52, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "53": { - "19": { - "name": "applicationMenu", - "type": "primitive", - "range": [ - [ - 53, - 19 - ], - [ - 53, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "54": { - "23": { - "name": "atomProtocolHandler", - "type": "primitive", - "range": [ - [ - 54, - 23 - ], - [ - 54, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "55": { - "16": { - "name": "resourcePath", - "type": "primitive", - "range": [ - [ - 55, - 16 - ], - [ - 55, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "56": { - "11": { - "name": "version", - "type": "primitive", - "range": [ - [ - 56, - 11 - ], - [ - 56, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "58": { - "8": { - "name": "exit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 58, - 8 - ], - [ - 58, - 35 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 60, - 15 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "19": { - "name": "openWithOptions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 83, - 19 - ], - [ - 94, - 1 - ] - ], - "doc": "Private: Opens a new window based on the options provided. " - } - }, - "94": { - "16": { - "name": "removeWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "window" - ], - "range": [ - [ - 94, - 16 - ], - [ - 99, - 1 - ] - ], - "doc": "Public: Removes the {AtomWindow} from the global window list. " - } - }, - "99": { - "13": { - "name": "addWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "window" - ], - "range": [ - [ - 99, - 13 - ], - [ - 110, - 1 - ] - ], - "doc": "Public: Adds the {AtomWindow} to the global window list. " - } - }, - "110": { - "36": { - "name": "listenForArgumentsFromNewProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 36 - ], - [ - 119, - 1 - ] - ], - "doc": " Private: Creates server to listen for additional atom application launches.\n\nYou can run the atom command multiple times, but after the first launch\nthe other launches will just pass their information to this server and then\nclose immediately. " - } - }, - "119": { - "20": { - "name": "deleteSocketFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 119, - 20 - ], - [ - 132, - 1 - ] - ], - "doc": "~Private~" - } - }, - "132": { - "28": { - "name": "setupJavaScriptArguments", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 132, - 28 - ], - [ - 136, - 1 - ] - ], - "doc": "Private: Configures required javascript environment flags. " - } - }, - "136": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 16 - ], - [ - 232, - 1 - ] - ], - "doc": "Private: Registers basic application commands, non-idempotent. " - } - }, - "232": { - "15": { - "name": "sendCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 232, - 15 - ], - [ - 245, - 1 - ] - ], - "doc": " Public: Executes the given command.\n\nIf it isn't handled globally, delegate to the currently focused window.\n\ncommand - The string representing the command.\nargs - The optional arguments to pass along. " - } - }, - "245": { - "23": { - "name": "sendCommandToWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "atomWindow", - "args" - ], - "range": [ - [ - 245, - 23 - ], - [ - 254, - 1 - ] - ], - "doc": " Public: Executes the given command on the given window.\n\ncommand - The string representing the command.\natomWindow - The {AtomWindow} to send the command to.\nargs - The optional arguments to pass along. " - } - }, - "254": { - "31": { - "name": "sendCommandToFirstResponder", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command" - ], - "range": [ - [ - 254, - 31 - ], - [ - 274, - 1 - ] - ], - "doc": " Private: Translates the command into OS X action and sends it to application's first\nresponder. " - } - }, - "274": { - "19": { - "name": "openPathOnEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventName", - "pathToOpen" - ], - "range": [ - [ - 274, - 19 - ], - [ - 282, - 1 - ] - ], - "doc": " Public: Open the given path in the focused window when the event is\ntriggered.\n\nA new window will be created if there is no currently focused window.\n\neventName - The event to listen for.\npathToOpen - The path to open when the event is triggered. " - } - }, - "282": { - "17": { - "name": "windowForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen" - ], - "range": [ - [ - 282, - 17 - ], - [ - 287, - 1 - ] - ], - "doc": "Private: Returns the {AtomWindow} for the given path. " - } - }, - "287": { - "17": { - "name": "focusedWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 287, - 17 - ], - [ - 298, - 1 - ] - ], - "doc": "Public: Returns the currently focused {AtomWindow} or undefined if none. " - } - }, - "298": { - "13": { - "name": "openPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 298, - 13 - ], - [ - 311, - 1 - ] - ], - "doc": " Public: Opens multiple paths, in existing windows if possible.\n\noptions -\n :pathsToOpen - The array of file paths to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " - } - }, - "311": { - "12": { - "name": "openPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 311, - 12 - ], - [ - 337, - 1 - ] - ], - "doc": " Public: Opens a single path, in an existing window if possible.\n\noptions -\n :pathToOpen - The file path to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode.\n :windowDimensions - Object with height and width keys. " - } - }, - "337": { - "20": { - "name": "killAllProcesses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 337, - 20 - ], - [ - 341, - 1 - ] - ], - "doc": "Private: Kill all processes associated with opened windows. " - } - }, - "341": { - "24": { - "name": "killProcessForWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "openedWindow" - ], - "range": [ - [ - 341, - 24 - ], - [ - 346, - 1 - ] - ], - "doc": "Private: Kill process associated with the given opened window. " - } - }, - "346": { - "15": { - "name": "killProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pid" - ], - "range": [ - [ - 346, - 15 - ], - [ - 364, - 1 - ] - ], - "doc": "Private: Kill the process with the given pid. " - } - }, - "364": { - "11": { - "name": "openUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 364, - 11 - ], - [ - 393, - 1 - ] - ], - "doc": " Private: Open an atom:// url.\n\nThe host of the URL being opened is assumed to be the package name\nresponsible for opening the URL. A new window will be created with\nthat package's `urlMain` as the bootstrap script.\n\noptions -\n :urlToOpen - The atom:// url to open.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " - } - }, - "393": { - "12": { - "name": "runSpecs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 393, - 12 - ], - [ - 406, - 1 - ] - ], - "doc": " Private: Opens up a new {AtomWindow} to run specs within.\n\noptions -\n :exitWhenDone - A Boolean that if true, will close the window upon\n completion.\n :resourcePath - The path to include specs from.\n :specPath - The directory to load specs from. " - } - }, - "406": { - "17": { - "name": "runBenchmarks", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 406, - 17 - ], - [ - 415, - 1 - ] - ], - "doc": "~Private~" - } - }, - "415": { - "25": { - "name": "locationForPathToOpen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen" - ], - "range": [ - [ - 415, - 25 - ], - [ - 440, - 1 - ] - ], - "doc": "~Private~" - } - }, - "440": { - "17": { - "name": "promptForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 440, - 17 - ], - [ - 449, - 50 - ] - ], - "doc": " Private: Opens a native dialog to prompt the user for a path.\n\nOnce paths are selected, they're opened in a new or existing {AtomWindow}s.\n\noptions -\n :type - A String which specifies the type of the dialog, could be 'file',\n 'folder' or 'all'. The 'all' is only available on OS X.\n :devMode - A Boolean which controls whether any newly opened windows\n should be in dev mode or not.\n :safeMode - A Boolean which controls whether any newly opened windows\n should be in safe mode or not. " - } - } - }, - "exports": 30 - }, - "src/browser/atom-protocol-handler.coffee": { - "objects": { - "0": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "2": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "3": { - "11": { - "name": "protocol", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "protocol" - } - }, - "10": { - "0": { - "type": "class", - "name": "AtomProtocolHandler", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 21, - 24 - ] - ], - "doc": " Private: Handles requests with 'atom' protocol.\n\nIt's created by {AtomApplication} upon instantiation, and is used to create a\ncustom resource loader by adding the 'atom' custom protocol. ", - "range": [ - [ - 10, - 0 - ], - [ - 27, - 50 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 21, - 1 - ] - ] - } - }, - "21": { - "24": { - "name": "registerAtomProtocol", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 24 - ], - [ - 27, - 50 - ] - ], - "doc": "Private: Creates the 'atom' custom protocol handler. " - } - } - }, - "exports": 10 - }, - "src/browser/atom-window.coffee": { - "objects": { - "0": { - "16": { - "name": "BrowserWindow", - "type": "import", - "range": [ - [ - 0, - 16 - ], - [ - 0, - 39 - ] - ], - "bindingType": "variable", - "module": "browser-window" - } - }, - "1": { - "14": { - "name": "ContextMenu", - "type": "import", - "range": [ - [ - 1, - 14 - ], - [ - 1, - 37 - ] - ], - "bindingType": "variable", - "path": "./context-menu" - } - }, - "2": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "3": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 3, - 9 - ], - [ - 3, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "4": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "6": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 6, - 6 - ], - [ - 6, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "7": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "11": { - "0": { - "type": "class", - "name": "AtomWindow", - "bindingType": "exports", - "classProperties": [ - [ - 14, - 13 - ], - [ - 15, - 25 - ] - ], - "prototypeProperties": [ - [ - 17, - 17 - ], - [ - 18, - 10 - ], - [ - 19, - 10 - ], - [ - 21, - 15 - ], - [ - 56, - 10 - ], - [ - 68, - 18 - ], - [ - 71, - 16 - ], - [ - 86, - 16 - ], - [ - 126, - 12 - ], - [ - 133, - 15 - ], - [ - 147, - 30 - ], - [ - 151, - 17 - ], - [ - 156, - 9 - ], - [ - 158, - 9 - ], - [ - 160, - 12 - ], - [ - 162, - 12 - ], - [ - 164, - 11 - ], - [ - 166, - 23 - ], - [ - 169, - 13 - ], - [ - 171, - 20 - ], - [ - 173, - 16 - ], - [ - 175, - 10 - ], - [ - 177, - 18 - ] - ], - "doc": "~Private~", - "range": [ - [ - 11, - 0 - ], - [ - 177, - 52 - ] - ] - } - }, - "14": { - "13": { - "name": "iconPath", - "type": "function", - "range": [ - [ - 14, - 13 - ], - [ - 14, - 72 - ] - ], - "bindingType": "classProperty" - } - }, - "15": { - "25": { - "name": "includeShellLoadTime", - "type": "primitive", - "range": [ - [ - 15, - 25 - ], - [ - 15, - 28 - ] - ], - "bindingType": "classProperty" - } - }, - "17": { - "17": { - "name": "browserWindow", - "type": "primitive", - "range": [ - [ - 17, - 17 - ], - [ - 17, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "10": { - "name": "loaded", - "type": "primitive", - "range": [ - [ - 18, - 10 - ], - [ - 18, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "10": { - "name": "isSpec", - "type": "primitive", - "range": [ - [ - 19, - 10 - ], - [ - 19, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "settings" - ], - "range": [ - [ - 21, - 15 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "10": { - "name": "getUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "loadSettingsObj" - ], - "range": [ - [ - 56, - 10 - ], - [ - 68, - 1 - ] - ], - "doc": "~Private~" - } - }, - "68": { - "18": { - "name": "getInitialPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 18 - ], - [ - 71, - 1 - ] - ], - "doc": "~Private~" - } - }, - "71": { - "16": { - "name": "containsPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToCheck" - ], - "range": [ - [ - 71, - 16 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 16 - ], - [ - 126, - 1 - ] - ], - "doc": "~Private~" - } - }, - "126": { - "12": { - "name": "openPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen", - "initialLine", - "initialColumn" - ], - "range": [ - [ - 126, - 12 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "15": { - "name": "sendCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 133, - 15 - ], - [ - 147, - 1 - ] - ], - "doc": "~Private~" - } - }, - "147": { - "30": { - "name": "sendCommandToBrowserWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 147, - 30 - ], - [ - 151, - 1 - ] - ], - "doc": "~Private~" - } - }, - "151": { - "17": { - "name": "getDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 151, - 17 - ], - [ - 156, - 1 - ] - ], - "doc": "~Private~" - } - }, - "156": { - "9": { - "name": "close", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 156, - 9 - ], - [ - 156, - 33 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 9 - ], - [ - 158, - 33 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "12": { - "name": "minimize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 160, - 12 - ], - [ - 160, - 39 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "12": { - "name": "maximize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 12 - ], - [ - 162, - 39 - ] - ], - "doc": "~Private~" - } - }, - "164": { - "11": { - "name": "restore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 164, - 11 - ], - [ - 164, - 37 - ] - ], - "doc": "~Private~" - } - }, - "166": { - "23": { - "name": "handlesAtomCommands", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 166, - 23 - ], - [ - 169, - 1 - ] - ], - "doc": "~Private~" - } - }, - "169": { - "13": { - "name": "isFocused", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 169, - 13 - ], - [ - 169, - 41 - ] - ], - "doc": "~Private~" - } - }, - "171": { - "20": { - "name": "isWebViewFocused", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 20 - ], - [ - 171, - 55 - ] - ], - "doc": "~Private~" - } - }, - "173": { - "16": { - "name": "isSpecWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 173, - 16 - ], - [ - 173, - 25 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "10": { - "name": "reload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 175, - 10 - ], - [ - 175, - 36 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "18": { - "name": "toggleDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 18 - ], - [ - 177, - 51 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 11 - }, - "src/browser/auto-update-manager.coffee": { - "objects": { - "0": { - "8": { - "name": "https", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 22 - ] - ], - "bindingType": "variable", - "module": "https", - "builtin": true - } - }, - "1": { - "14": { - "name": "autoUpdater", - "type": "import", - "range": [ - [ - 1, - 14 - ], - [ - 1, - 35 - ] - ], - "bindingType": "variable", - "module": "auto-updater" - } - }, - "2": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "6": { - "11": { - "name": "'idle'", - "type": "primitive", - "range": [ - [ - 6, - 11 - ], - [ - 6, - 16 - ] - ] - } - }, - "7": { - "15": { - "name": "'checking'", - "type": "primitive", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 24 - ] - ] - } - }, - "8": { - "18": { - "name": "'downloading'", - "type": "primitive", - "range": [ - [ - 8, - 18 - ], - [ - 8, - 30 - ] - ] - } - }, - "9": { - "23": { - "name": "'update-available'", - "type": "primitive", - "range": [ - [ - 9, - 23 - ], - [ - 9, - 40 - ] - ] - } - }, - "10": { - "26": { - "name": "'no-update-available'", - "type": "primitive", - "range": [ - [ - 10, - 26 - ], - [ - 10, - 46 - ] - ] - } - }, - "11": { - "12": { - "name": "'error'", - "type": "primitive", - "range": [ - [ - 11, - 12 - ], - [ - 11, - 18 - ] - ] - } - }, - "14": { - "0": { - "type": "class", - "name": "AutoUpdateManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 15 - ], - [ - 48, - 23 - ], - [ - 63, - 28 - ], - [ - 68, - 12 - ], - [ - 73, - 12 - ], - [ - 76, - 9 - ], - [ - 83, - 11 - ], - [ - 86, - 24 - ], - [ - 90, - 17 - ], - [ - 94, - 14 - ] - ], - "doc": "~Private~", - "range": [ - [ - 14, - 0 - ], - [ - 95, - 34 - ] - ] - } - }, - "17": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 17, - 15 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "23": { - "name": "checkForUpdatesShim", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 23 - ], - [ - 63, - 1 - ] - ], - "doc": "Private: Windows doesn't have an auto-updater, so use this method to shim the events. " - } - }, - "63": { - "28": { - "name": "emitUpdateAvailableEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "windows" - ], - "range": [ - [ - 63, - 28 - ], - [ - 68, - 1 - ] - ], - "doc": "~Private~" - } - }, - "68": { - "12": { - "name": "setState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 68, - 12 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "12": { - "name": "getState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 12 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "9": { - "name": "check", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 76, - 9 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "11": { - "name": "install", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 83, - 11 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "24": { - "name": "onUpdateNotAvailable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 24 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "17": { - "name": "onUpdateError", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event", - "message" - ], - "range": [ - [ - 90, - 17 - ], - [ - 94, - 1 - ] - ], - "doc": "~Private~" - } - }, - "94": { - "14": { - "name": "getWindows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 14 - ], - [ - 95, - 34 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 14 - }, - "src/browser/context-menu.coffee": { - "objects": { - "0": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "3": { - "0": { - "type": "class", - "name": "ContextMenu", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 4, - 15 - ], - [ - 12, - 23 - ] - ], - "doc": "~Private~", - "range": [ - [ - 3, - 0 - ], - [ - 23, - 10 - ] - ] - } - }, - "4": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - null - ], - "range": [ - [ - 4, - 15 - ], - [ - 12, - 1 - ] - ] - } - }, - "12": { - "23": { - "name": "createClickHandlers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 12, - 23 - ], - [ - 23, - 10 - ] - ], - "doc": " Private: It's necessary to build the event handlers in this process, otherwise\nclosures are drug across processes and failed to be garbage collected\nappropriately. " - } - } - }, - "exports": 3 - }, - "src/browser/main.coffee": { - "objects": { - "0": { - "24": { - "name": "global.shellStartTime", - "type": "function", - "range": [ - [ - 0, - 24 - ], - [ - 0, - 33 - ] - ] - } - }, - "2": { - "16": { - "name": "crashReporter", - "type": "import", - "range": [ - [ - 2, - 16 - ], - [ - 2, - 39 - ] - ], - "bindingType": "variable", - "module": "crash-reporter" - } - }, - "3": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 3, - 6 - ], - [ - 3, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "6": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 6, - 7 - ], - [ - 6, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "7": { - "11": { - "name": "optimist", - "type": "import", - "range": [ - [ - 7, - 11 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "optimist" - } - }, - "8": { - "8": { - "name": "nslog", - "type": "import", - "range": [ - [ - 8, - 8 - ], - [ - 8, - 22 - ] - ], - "bindingType": "variable", - "module": "nslog" - } - }, - "9": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 9, - 9 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "11": { - "14": { - "name": "nslog", - "type": "primitive", - "range": [ - [ - 11, - 14 - ], - [ - 11, - 18 - ] - ] - } - }, - "17": { - "8": { - "name": "start", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 8 - ], - [ - 51, - 0 - ] - ], - "doc": "~Private~" - } - }, - "54": { - "25": { - "name": "global.devResourcePath", - "type": "function", - "range": [ - [ - 54, - 25 - ], - [ - 54, - 62 - ] - ] - } - }, - "56": { - "21": { - "name": "setupCrashReporter", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 21 - ], - [ - 58, - 0 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "19": { - "name": "parseCommandLine", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 19 - ], - [ - 110, - 0 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": {} - }, - "src/buffered-node-process.coffee": { - "objects": { - "0": { - "18": { - "name": "BufferedProcess", - "type": "import", - "range": [ - [ - 0, - 18 - ], - [ - 0, - 45 - ] - ], - "bindingType": "variable", - "path": "./buffered-process" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "14": { - "0": { - "type": "class", - "name": "BufferedNodeProcess", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 36, - 15 - ] - ], - "doc": " Public: Like {BufferedProcess}, but accepts a Node script as the command\nto run.\n\nThis is necessary on Windows since it doesn't support shebang `#!` lines.\n\n## Requiring in packages\n\n```coffee\n{BufferedNodeProcess} = require 'atom'\n``` ", - "range": [ - [ - 14, - 0 - ], - [ - 50, - 63 - ] - ] - } - }, - "36": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 36, - 15 - ], - [ - 50, - 63 - ] - ], - "doc": " Public: Runs the given Node script by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} path to the JavaScript script to execute.\n :args - The {Array} of arguments to pass to the script (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " - } - } - }, - "exports": 14 - }, - "src/buffered-process.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "15": { - "name": "ChildProcess", - "type": "import", - "range": [ - [ - 1, - 15 - ], - [ - 1, - 37 - ] - ], - "bindingType": "variable", - "module": "child_process", - "builtin": true - } - }, - "18": { - "0": { - "type": "class", - "name": "BufferedProcess", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 40, - 15 - ], - [ - 99, - 16 - ], - [ - 117, - 8 - ] - ], - "doc": " Public: A wrapper which provides standard error/output line buffering for\nNode's ChildProcess.\n\n## Requiring in packages\n\n```coffee\n{BufferedProcess} = require 'atom'\n\ncommand = 'ps'\nargs = ['-ef']\nstdout = (output) -> console.log(output)\nexit = (code) -> console.log(\"ps -ef exited with #{code}\")\nprocess = new BufferedProcess({command, args, stdout, exit})\n``` ", - "range": [ - [ - 18, - 0 - ], - [ - 120, - 19 - ] - ] - } - }, - "40": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 40, - 15 - ], - [ - 99, - 1 - ] - ], - "doc": " Public: Runs the given command by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} command to execute.\n :args - The {Array} of arguments to pass to the command (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " - } - }, - "99": { - "16": { - "name": "bufferStream", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stream", - "onLines", - "onDone" - ], - "range": [ - [ - 99, - 16 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: Helper method to pass data line by line.\n\nstream - The Stream to read from.\nonLines - The callback to call with each line of data.\nonDone - The callback to call when the stream has closed. " - } - }, - "117": { - "8": { - "name": "kill", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 8 - ], - [ - 120, - 19 - ] - ], - "doc": "Public: Terminate the process. " - } - } - }, - "exports": 18 - }, - "src/clipboard.coffee": { - "objects": { - "0": { - "12": { - "name": "clipboard", - "type": "import", - "range": [ - [ - 0, - 12 - ], - [ - 0, - 30 - ] - ], - "bindingType": "variable", - "module": "clipboard" - } - }, - "1": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 1, - 9 - ], - [ - 1, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "7": { - "0": { - "type": "class", - "name": "Clipboard", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 8, - 12 - ], - [ - 9, - 24 - ], - [ - 16, - 7 - ], - [ - 26, - 9 - ], - [ - 34, - 8 - ], - [ - 43, - 20 - ] - ], - "doc": " Public: Represents the clipboard used for copying and pasting in Atom.\n\nAn instance of this class is always available as the `atom.clipboard` global. ", - "range": [ - [ - 7, - 0 - ], - [ - 48, - 12 - ] - ] - } - }, - "8": { - "12": { - "name": "metadata", - "type": "primitive", - "range": [ - [ - 8, - 12 - ], - [ - 8, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "24": { - "name": "signatureForMetadata", - "type": "primitive", - "range": [ - [ - 9, - 24 - ], - [ - 9, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "7": { - "name": "md5", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 16, - 7 - ], - [ - 26, - 1 - ] - ], - "doc": " Private: Creates an `md5` hash of some text.\n\ntext - A {String} to hash.\n\nReturns a hashed {String}. " - } - }, - "26": { - "9": { - "name": "write", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "metadata" - ], - "range": [ - [ - 26, - 9 - ], - [ - 34, - 1 - ] - ], - "doc": " Public: Write the given text to the clipboard.\n\nThe metadata associated with the text is available by calling\n{::readWithMetadata}.\n\ntext - The {String} to store.\nmetadata - The additional info to associate with the text. " - } - }, - "34": { - "8": { - "name": "read", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 8 - ], - [ - 43, - 1 - ] - ], - "doc": " Public: Read the text from the clipboard.\n\nReturns a {String}. " - } - }, - "43": { - "20": { - "name": "readWithMetadata", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 20 - ], - [ - 48, - 12 - ] - ], - "doc": " Public: Read the text from the clipboard and return both the text and the\nassociated metadata.\n\nReturns an {Object} with the following keys:\n :text - The {String} clipboard text.\n :metadata - The metadata stored by an earlier call to {::write}. " - } - } - }, - "exports": 7 - }, - "src/coffee-cache.coffee": { - "objects": { - "0": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 0, - 9 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "3": { - "15": { - "name": "CoffeeScript", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 37 - ] - ], - "bindingType": "variable", - "module": "coffee-script" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "8": { - "17": { - "name": "coffeeCacheDir", - "type": "function", - "range": [ - [ - 8, - 17 - ], - [ - 8, - 45 - ] - ] - } - }, - "11": { - "15": { - "name": "getCachePath", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "coffee" - ], - "range": [ - [ - 11, - 15 - ], - [ - 14, - 0 - ] - ], - "doc": "~Private~" - } - }, - "15": { - "22": { - "name": "getCachedJavaScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "cachePath" - ], - "range": [ - [ - 15, - 22 - ], - [ - 19, - 0 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "18": { - "name": "convertFilePath", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 20, - 18 - ], - [ - 24, - 0 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "22": { - "name": "compileCoffeeScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "coffee", - "filePath", - "cachePath" - ], - "range": [ - [ - 25, - 22 - ], - [ - 33, - 0 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "22": { - "name": "requireCoffeeScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "module", - "filePath" - ], - "range": [ - [ - 34, - 22 - ], - [ - 39, - 0 - ] - ] - } - }, - "41": { - "12": { - "name": "cacheDir", - "type": "primitive", - "range": [ - [ - 41, - 12 - ], - [ - 41, - 19 - ] - ] - } - }, - "42": { - "12": { - "name": "register", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 12 - ], - [ - 46, - 6 - ] - ], - "doc": null - } - } - }, - "exports": 41 - }, - "src/command-installer.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 22 - ] - ], - "bindingType": "variable", - "module": "async" - } - }, - "3": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 3, - 5 - ], - [ - 3, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "4": { - "9": { - "name": "mkdirp", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 24 - ] - ], - "bindingType": "variable", - "module": "mkdirp" - } - }, - "5": { - "8": { - "name": "runas", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "module": "runas" - } - }, - "7": { - "17": { - "name": "symlinkCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "sourcePath", - "destinationPath", - "callback" - ], - "range": [ - [ - 7, - 17 - ], - [ - 17, - 0 - ] - ], - "doc": "~Private~" - } - }, - "18": { - "34": { - "name": "symlinkCommandWithPrivilegeSync", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "sourcePath", - "destinationPath" - ], - "range": [ - [ - 18, - 34 - ], - [ - 27, - 0 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "23": { - "name": "getInstallDirectory", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 23 - ], - [ - 32, - 1 - ] - ], - "doc": null - } - }, - "32": { - "11": { - "name": "install", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "commandPath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 32, - 11 - ], - [ - 52, - 1 - ] - ], - "doc": null - } - }, - "52": { - "22": { - "name": "installAtomCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "resourcePath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 52, - 22 - ], - [ - 56, - 1 - ] - ], - "doc": null - } - }, - "56": { - "21": { - "name": "installApmCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "resourcePath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 56, - 21 - ], - [ - 58, - 51 - ] - ], - "doc": null - } - } - }, - "exports": 29 - }, - "src/config.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "3": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "4": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "5": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "module": "async" - } - }, - "6": { - "14": { - "name": "pathWatcher", - "type": "import", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 34 - ] - ], - "bindingType": "variable", - "module": "pathwatcher" - } - }, - "25": { - "0": { - "type": "class", - "name": "Config", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 36, - 29 - ], - [ - 52, - 8 - ], - [ - 57, - 18 - ], - [ - 72, - 21 - ], - [ - 76, - 23 - ], - [ - 80, - 15 - ], - [ - 91, - 21 - ], - [ - 95, - 15 - ], - [ - 104, - 7 - ], - [ - 114, - 10 - ], - [ - 125, - 18 - ], - [ - 136, - 7 - ], - [ - 152, - 10 - ], - [ - 160, - 18 - ], - [ - 168, - 14 - ], - [ - 178, - 13 - ], - [ - 187, - 17 - ], - [ - 199, - 20 - ], - [ - 211, - 19 - ], - [ - 231, - 11 - ], - [ - 253, - 13 - ], - [ - 256, - 10 - ], - [ - 261, - 8 - ] - ], - "doc": " Public: Used to access all of Atom's configuration details.\n\nAn instance of this class is always available as the `atom.config` global.\n\n## Best practices\n\n* Create your own root keypath using your package's name.\n* Don't depend on (or write to) configuration keys outside of your keypath.\n\n## Example\n\n```coffeescript\natom.config.set('my-package.key', 'value')\natom.config.observe 'my-package.key', ->\n console.log 'My configuration changed:', atom.config.get('my-package.key')\n``` ", - "range": [ - [ - 25, - 0 - ], - [ - 262, - 50 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 29, - 15 - ], - [ - 36, - 1 - ] - ], - "doc": "Private: Created during initialization, available as `atom.config` " - } - }, - "36": { - "29": { - "name": "initializeConfigDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "done" - ], - "range": [ - [ - 36, - 29 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 8 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "18": { - "name": "loadUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 18 - ], - [ - 72, - 1 - ] - ], - "doc": "~Private~" - } - }, - "72": { - "21": { - "name": "observeUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 72, - 21 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "23": { - "name": "unobserveUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 23 - ], - [ - 80, - 1 - ] - ], - "doc": "~Private~" - } - }, - "80": { - "15": { - "name": "setDefaults", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "defaults" - ], - "range": [ - [ - 80, - 15 - ], - [ - 91, - 1 - ] - ], - "doc": "~Private~" - } - }, - "91": { - "21": { - "name": "getUserConfigPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 21 - ], - [ - 95, - 1 - ] - ], - "doc": "Public: Get the {String} path to the config file being used. " - } - }, - "95": { - "15": { - "name": "getSettings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 95, - 15 - ], - [ - 104, - 1 - ] - ], - "doc": "Public: Returns a new {Object} containing all of settings and defaults. " - } - }, - "104": { - "7": { - "name": "get", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 104, - 7 - ], - [ - 114, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key.\n\nkeyPath - The {String} name of the key to retrieve.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `null` if the key doesn't exist in either. " - } - }, - "114": { - "10": { - "name": "getInt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 114, - 10 - ], - [ - 125, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key as an integer.\n\nkeyPath - The {String} name of the key to retrieve\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `NaN` if the key doesn't exist in either. " - } - }, - "125": { - "18": { - "name": "getPositiveInt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "defaultValue" - ], - "range": [ - [ - 125, - 18 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key as a positive integer.\n\nkeyPath - The {String} name of the key to retrieve\ndefaultValue - The integer {Number} to fall back to if the value isn't\n positive, defaults to 0.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `defaultValue` if the key value isn't greater than zero. " - } - }, - "136": { - "7": { - "name": "set", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 136, - 7 - ], - [ - 152, - 1 - ] - ], - "doc": " Public: Sets the value for a configuration setting.\n\nThis value is stored in Atom's internal configuration file.\n\nkeyPath - The {String} name of the key.\nvalue - The value of the setting.\n\nReturns the `value`. " - } - }, - "152": { - "10": { - "name": "toggle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 152, - 10 - ], - [ - 160, - 1 - ] - ], - "doc": " Public: Toggle the value at the key path.\n\nThe new value will be `true` if the value is currently falsy and will be\n`false` if the value is currently truthy.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " - } - }, - "160": { - "18": { - "name": "restoreDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 160, - 18 - ], - [ - 168, - 1 - ] - ], - "doc": " Public: Restore the key path to its default value.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " - } - }, - "168": { - "14": { - "name": "getDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 168, - 14 - ], - [ - 178, - 1 - ] - ], - "doc": " Public: Get the default value of the key path.\n\nkeyPath - The {String} name of the key.\n\nReturns the default value. " - } - }, - "178": { - "13": { - "name": "isDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 178, - 13 - ], - [ - 187, - 1 - ] - ], - "doc": " Public: Is the key path value its default value?\n\nkeyPath - The {String} name of the key.\n\nReturns a {Boolean}, `true` if the current value is the default, `false`\notherwise. " - } - }, - "187": { - "17": { - "name": "pushAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 187, - 17 - ], - [ - 199, - 1 - ] - ], - "doc": " Public: Push the value to the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to push to the array.\n\nReturns the new array length {Number} of the setting. " - } - }, - "199": { - "20": { - "name": "unshiftAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 199, - 20 - ], - [ - 211, - 1 - ] - ], - "doc": " Public: Add the value to the beginning of the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to shift onto the array.\n\nReturns the new array length {Number} of the setting. " - } - }, - "211": { - "19": { - "name": "removeAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 211, - 19 - ], - [ - 231, - 1 - ] - ], - "doc": " Public: Remove the value from the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to remove from the array.\n\nReturns the new array value of the setting. " - } - }, - "231": { - "11": { - "name": "observe", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "options", - "callback" - ], - "range": [ - [ - 231, - 11 - ], - [ - 253, - 1 - ] - ], - "doc": " Public: Establishes an event listener for a given key.\n\n`callback` is fired whenever the value of the key is changed and will\n be fired immediately unless the `callNow` option is `false`.\n\nkeyPath - The {String} name of the key to observe\noptions - An optional {Object} containing the `callNow` key.\ncallback - The {Function} to call when the value of the key changes.\n The first argument will be the new value of the key and the\n  second argument will be an {Object} with a `previous` property\n that is the prior value of the key.\n\nReturns an {Object} with the following keys:\n :off - A {Function} that unobserves the `keyPath` when called. " - } - }, - "253": { - "13": { - "name": "unobserve", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 253, - 13 - ], - [ - 256, - 1 - ] - ], - "doc": " Public: Unobserve all callbacks on a given key.\n\nkeyPath - The {String} name of the key to unobserve. " - } - }, - "256": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 10 - ], - [ - 261, - 1 - ] - ], - "doc": "~Private~" - } - }, - "261": { - "8": { - "name": "save", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 8 - ], - [ - 262, - 50 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 25 - }, - "src/context-menu-manager.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "9": { - "name": "remote", - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 24 - ] - ], - "bindingType": "variable", - "module": "remote" - } - }, - "10": { - "0": { - "type": "class", - "name": "ContextMenuManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 33, - 7 - ], - [ - 45, - 17 - ], - [ - 60, - 17 - ], - [ - 66, - 25 - ], - [ - 82, - 38 - ], - [ - 91, - 34 - ], - [ - 105, - 24 - ], - [ - 111, - 16 - ] - ], - "doc": " Public: Provides a registry for commands that you'd like to appear in the\ncontext menu.\n\nAn instance of this class is always available as the `atom.contextMenu`\nglobal. ", - "range": [ - [ - 10, - 0 - ], - [ - 116, - 64 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 33, - 1 - ] - ] - } - }, - "33": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "object", - null - ], - "range": [ - [ - 33, - 7 - ], - [ - 45, - 1 - ] - ], - "doc": " Public: Creates menu definitions from the object specified by the menu\ncson API.\n\nname - The path of the file that contains the menu definitions.\nobject - The 'context-menu' object specified in the menu cson API.\noptions - An {Object} with the following keys:\n :devMode - Determines whether the entries should only be shown when\n the window is in dev mode.\n\nReturns nothing. " - } - }, - "45": { - "17": { - "name": "buildMenuItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "label", - "command" - ], - "range": [ - [ - 45, - 17 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "17": { - "name": "addBySelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "definition", - null - ], - "range": [ - [ - 60, - 17 - ], - [ - 66, - 1 - ] - ], - "doc": " Private: Registers a command to be displayed when the relevant item is right\nclicked.\n\nselector - The css selector for the active element which should include\n the given command in its context menu.\ndefinition - The object containing keys which match the menu template API.\noptions - An {Object} with the following keys:\n :devMode - Indicates whether this command should only appear while the\n editor is in dev mode. " - } - }, - "66": { - "25": { - "name": "definitionsForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element", - null - ], - "range": [ - [ - 66, - 25 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Returns definitions which match the element and devMode. " - } - }, - "82": { - "38": { - "name": "menuTemplateForMostSpecificElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element", - null - ], - "range": [ - [ - 82, - 38 - ], - [ - 91, - 1 - ] - ], - "doc": " Private: Used to generate the context menu for a specific element and it's\nparents.\n\nThe menu items are sorted such that menu items that match closest to the\nactive element are listed first. The further down the list you go, the higher\nup the ancestor hierarchy they match.\n\nelement - The DOM element to generate the menu template for. " - } - }, - "91": { - "34": { - "name": "combinedMenuTemplateForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 91, - 34 - ], - [ - 105, - 1 - ] - ], - "doc": " Private: Returns a menu template for both normal entries as well as\ndevelopment mode entries. " - } - }, - "105": { - "24": { - "name": "executeBuildHandlers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event", - "menuTemplate" - ], - "range": [ - [ - 105, - 24 - ], - [ - 111, - 1 - ] - ], - "doc": " Private: Executes `executeAtBuild` if defined for each menu item with\nthe provided event and then removes the `executeAtBuild` property from\nthe menu item.\n\nThis is useful for commands that need to provide data about the event\nto the command. " - } - }, - "111": { - "16": { - "name": "showForEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 111, - 16 - ], - [ - 116, - 64 - ] - ], - "doc": "Public: Request a context menu to be displayed. " - } - } - }, - "exports": 10 - }, - "src/cursor-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "18": { - "name": "CursorComponent", - "type": "function", - "range": [ - [ - 5, - 18 - ], - [ - 17, - 79 - ] - ] - } - }, - "6": { - "15": { - "name": "'CursorComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 31 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 16, - 1 - ] - ], - "doc": null - } - }, - "16": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 16, - 25 - ], - [ - 17, - 79 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/cursor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "4": { - "0": { - "type": "class", - "name": "CursorView", - "bindingType": "exports", - "classProperties": [ - [ - 5, - 12 - ], - [ - 8, - 16 - ], - [ - 10, - 17 - ], - [ - 13, - 18 - ], - [ - 19, - 17 - ] - ], - "prototypeProperties": [ - [ - 24, - 12 - ], - [ - 25, - 11 - ], - [ - 26, - 15 - ], - [ - 27, - 16 - ], - [ - 28, - 23 - ], - [ - 30, - 14 - ], - [ - 44, - 16 - ], - [ - 48, - 17 - ], - [ - 65, - 12 - ], - [ - 68, - 19 - ], - [ - 71, - 19 - ], - [ - 74, - 20 - ], - [ - 77, - 14 - ], - [ - 86, - 16 - ], - [ - 90, - 17 - ], - [ - 94, - 17 - ], - [ - 98, - 21 - ], - [ - 101, - 21 - ], - [ - 104, - 30 - ], - [ - 109, - 24 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 112, - 31 - ] - ] - } - }, - "5": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 12 - ], - [ - 8, - 1 - ] - ] - } - }, - "8": { - "16": { - "name": "blinkPeriod", - "type": "primitive", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 18 - ] - ], - "bindingType": "classProperty" - } - }, - "10": { - "17": { - "name": "blinkCursors", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 17 - ], - [ - 13, - 1 - ] - ], - "doc": "~Private~" - } - }, - "13": { - "18": { - "name": "startBlinking", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 13, - 18 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "17": { - "name": "stopBlinking", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 19, - 17 - ], - [ - 24, - 1 - ] - ], - "doc": "~Private~" - } - }, - "24": { - "12": { - "name": "blinking", - "type": "primitive", - "range": [ - [ - 24, - 12 - ], - [ - 24, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "25": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 25, - 11 - ], - [ - 25, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "26": { - "15": { - "name": "needsUpdate", - "type": "primitive", - "range": [ - [ - 26, - 15 - ], - [ - 26, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "27": { - "16": { - "name": "needsRemoval", - "type": "primitive", - "range": [ - [ - 27, - 16 - ], - [ - 27, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "28": { - "23": { - "name": "shouldPauseBlinking", - "type": "primitive", - "range": [ - [ - 28, - 23 - ], - [ - 28, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "30": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 30, - 14 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 16 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 17 - ], - [ - 65, - 1 - ] - ], - "doc": "~Private~" - } - }, - "65": { - "12": { - "name": "isHidden", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 65, - 12 - ], - [ - 68, - 1 - ] - ], - "doc": "Private: Override for speed. The base function checks the computedStyle " - } - }, - "68": { - "19": { - "name": "needsAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 19 - ], - [ - 71, - 1 - ] - ], - "doc": "~Private~" - } - }, - "71": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 71, - 19 - ], - [ - 74, - 1 - ] - ], - "doc": "~Private~" - } - }, - "74": { - "20": { - "name": "getPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 20 - ], - [ - 77, - 1 - ] - ], - "doc": "~Private~" - } - }, - "77": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 77, - 14 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "16": { - "name": "stopBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 16 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "17": { - "name": "startBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 17 - ], - [ - 94, - 1 - ] - ], - "doc": "~Private~" - } - }, - "94": { - "17": { - "name": "resetBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 17 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "21": { - "name": "getBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 21 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "21": { - "name": "getScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 21 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "30": { - "name": "removeIdleClassTemporarily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 30 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "24": { - "name": "resetCursorAnimation", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 24 - ], - [ - 112, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/cursor.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "10": { - "0": { - "type": "class", - "name": "Cursor", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 18 - ], - [ - 12, - 18 - ], - [ - 13, - 14 - ], - [ - 14, - 11 - ], - [ - 15, - 19 - ], - [ - 18, - 15 - ], - [ - 49, - 11 - ], - [ - 52, - 18 - ], - [ - 60, - 16 - ], - [ - 70, - 21 - ], - [ - 75, - 21 - ], - [ - 78, - 18 - ], - [ - 89, - 21 - ], - [ - 94, - 21 - ], - [ - 97, - 14 - ], - [ - 101, - 20 - ], - [ - 105, - 14 - ], - [ - 112, - 13 - ], - [ - 122, - 14 - ], - [ - 136, - 16 - ], - [ - 145, - 28 - ], - [ - 158, - 27 - ], - [ - 170, - 16 - ], - [ - 176, - 19 - ], - [ - 180, - 18 - ], - [ - 184, - 16 - ], - [ - 188, - 19 - ], - [ - 192, - 16 - ], - [ - 196, - 19 - ], - [ - 201, - 24 - ], - [ - 205, - 10 - ], - [ - 217, - 12 - ], - [ - 233, - 12 - ], - [ - 247, - 13 - ], - [ - 256, - 13 - ], - [ - 260, - 16 - ], - [ - 264, - 31 - ], - [ - 268, - 25 - ], - [ - 273, - 30 - ], - [ - 283, - 25 - ], - [ - 293, - 25 - ], - [ - 297, - 19 - ], - [ - 301, - 25 - ], - [ - 305, - 19 - ], - [ - 310, - 29 - ], - [ - 315, - 30 - ], - [ - 320, - 26 - ], - [ - 336, - 43 - ], - [ - 358, - 41 - ], - [ - 380, - 41 - ], - [ - 409, - 37 - ], - [ - 430, - 40 - ], - [ - 447, - 29 - ], - [ - 457, - 29 - ], - [ - 461, - 34 - ], - [ - 466, - 38 - ], - [ - 470, - 45 - ], - [ - 484, - 49 - ], - [ - 502, - 34 - ], - [ - 506, - 24 - ], - [ - 510, - 23 - ], - [ - 514, - 18 - ], - [ - 521, - 17 - ], - [ - 527, - 13 - ], - [ - 532, - 32 - ] - ], - "doc": " Public: The `Cursor` class represents the little blinking line identifying\nwhere text can be inserted.\n\nCursors belong to {Editor}s and have some metadata attached in the form\nof a {Marker}. ", - "range": [ - [ - 10, - 0 - ], - [ - 540, - 50 - ] - ] - } - }, - "11": { - "18": { - "name": "screenPosition", - "type": "primitive", - "range": [ - [ - 11, - 18 - ], - [ - 11, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "18": { - "name": "bufferPosition", - "type": "primitive", - "range": [ - [ - 12, - 18 - ], - [ - 12, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "13": { - "14": { - "name": "goalColumn", - "type": "primitive", - "range": [ - [ - 13, - 14 - ], - [ - 13, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 14, - 11 - ], - [ - 14, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "15": { - "19": { - "name": "needsAutoscroll", - "type": "primitive", - "range": [ - [ - 15, - 19 - ], - [ - 15, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 18, - 15 - ], - [ - 49, - 1 - ] - ], - "doc": "Private: Instantiated by an {Editor} " - } - }, - "49": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 11 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "18": { - "name": "changePosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options", - "fn" - ], - "range": [ - [ - 52, - 18 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "16": { - "name": "getPixelRect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 60, - 16 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "21": { - "name": "setScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 70, - 21 - ], - [ - 75, - 1 - ] - ], - "doc": " Public: Moves a cursor to a given screen position.\n\nscreenPosition - An {Array} of two numbers: the screen row, and the screen\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " - } - }, - "75": { - "21": { - "name": "getScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 75, - 21 - ], - [ - 78, - 1 - ] - ], - "doc": "Public: Returns the screen position of the cursor as an Array. " - } - }, - "78": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 78, - 18 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "setBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 89, - 21 - ], - [ - 94, - 1 - ] - ], - "doc": " Public: Moves a cursor to a given buffer position.\n\nbufferPosition - An {Array} of two numbers: the buffer row, and the buffer\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " - } - }, - "94": { - "21": { - "name": "getBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 21 - ], - [ - 97, - 1 - ] - ], - "doc": "Public: Returns the current buffer position as an Array. " - } - }, - "97": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 97, - 14 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "20": { - "name": "updateVisibility", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 20 - ], - [ - 105, - 1 - ] - ], - "doc": "Public: If the marker range is empty, the cursor is marked as being visible. " - } - }, - "105": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 105, - 14 - ], - [ - 112, - 1 - ] - ], - "doc": "Public: Sets whether the cursor is visible. " - } - }, - "112": { - "13": { - "name": "isVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 112, - 13 - ], - [ - 112, - 23 - ] - ], - "doc": "Public: Returns the visibility of the cursor. " - } - }, - "122": { - "14": { - "name": "wordRegExp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 122, - 14 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Get the RegExp used by the cursor to determine what a \"word\" is.\n\noptions: An optional {Object} with the following keys:\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the regex.\n (default: true)\n\nReturns a {RegExp}. " - } - }, - "136": { - "16": { - "name": "isLastCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 16 - ], - [ - 145, - 1 - ] - ], - "doc": " Public: Identifies if this cursor is the last in the {Editor}.\n\n\"Last\" is defined as the most recently added cursor.\n\nReturns a {Boolean}. " - } - }, - "145": { - "28": { - "name": "isSurroundedByWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 145, - 28 - ], - [ - 158, - 1 - ] - ], - "doc": " Public: Identifies if the cursor is surrounded by whitespace.\n\n\"Surrounded\" here means that the character directly before and after the\ncursor are both whitespace.\n\nReturns a {Boolean}. " - } - }, - "158": { - "27": { - "name": "isBetweenWordAndNonWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 27 - ], - [ - 170, - 1 - ] - ], - "doc": " Public: Returns whether the cursor is currently between a word and non-word\ncharacter. The non-word characters are defined by the\n`editor.nonWordCharacters` config value.\n\nThis method returns false if the character before or after the cursor is\nwhitespace.\n\nReturns a Boolean. " - } - }, - "170": { - "16": { - "name": "isInsideWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 170, - 16 - ], - [ - 176, - 1 - ] - ], - "doc": "Public: Returns whether this cursor is between a word's start and end. " - } - }, - "176": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 176, - 19 - ], - [ - 180, - 1 - ] - ], - "doc": "Public: Prevents this cursor from causing scrolling. " - } - }, - "180": { - "18": { - "name": "clearSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 180, - 18 - ], - [ - 184, - 1 - ] - ], - "doc": "Public: Deselects the current selection. " - } - }, - "184": { - "16": { - "name": "getScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 184, - 16 - ], - [ - 188, - 1 - ] - ], - "doc": "Public: Returns the cursor's current screen row. " - } - }, - "188": { - "19": { - "name": "getScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 19 - ], - [ - 192, - 1 - ] - ], - "doc": "Public: Returns the cursor's current screen column. " - } - }, - "192": { - "16": { - "name": "getBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 192, - 16 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Retrieves the cursor's current buffer row. " - } - }, - "196": { - "19": { - "name": "getBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 196, - 19 - ], - [ - 201, - 1 - ] - ], - "doc": "Public: Returns the cursor's current buffer column. " - } - }, - "201": { - "24": { - "name": "getCurrentBufferLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 201, - 24 - ], - [ - 205, - 1 - ] - ], - "doc": " Public: Returns the cursor's current buffer row of text excluding its line\nending. " - } - }, - "205": { - "10": { - "name": "moveUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount", - null - ], - "range": [ - [ - 205, - 10 - ], - [ - 217, - 1 - ] - ], - "doc": "Public: Moves the cursor up one screen row. " - } - }, - "217": { - "12": { - "name": "moveDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount", - null - ], - "range": [ - [ - 217, - 12 - ], - [ - 233, - 1 - ] - ], - "doc": "Public: Moves the cursor down one screen row. " - } - }, - "233": { - "12": { - "name": "moveLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 233, - 12 - ], - [ - 247, - 1 - ] - ], - "doc": " Public: Moves the cursor left one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the left of the selection if a\n selection exists. " - } - }, - "247": { - "13": { - "name": "moveRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 247, - 13 - ], - [ - 256, - 1 - ] - ], - "doc": " Public: Moves the cursor right one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the right of the selection if a\n selection exists. " - } - }, - "256": { - "13": { - "name": "moveToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 13 - ], - [ - 260, - 1 - ] - ], - "doc": "Public: Moves the cursor to the top of the buffer. " - } - }, - "260": { - "16": { - "name": "moveToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 16 - ], - [ - 264, - 1 - ] - ], - "doc": "Public: Moves the cursor to the bottom of the buffer. " - } - }, - "264": { - "31": { - "name": "moveToBeginningOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 264, - 31 - ], - [ - 268, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the line. " - } - }, - "268": { - "25": { - "name": "moveToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 268, - 25 - ], - [ - 273, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the buffer line. " - } - }, - "273": { - "30": { - "name": "moveToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 273, - 30 - ], - [ - 283, - 1 - ] - ], - "doc": " Public: Moves the cursor to the beginning of the first character in the\nline. " - } - }, - "283": { - "25": { - "name": "skipLeadingWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 283, - 25 - ], - [ - 293, - 1 - ] - ], - "doc": " Public: Moves the cursor to the beginning of the buffer line, skipping all\nwhitespace. " - } - }, - "293": { - "25": { - "name": "moveToEndOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 293, - 25 - ], - [ - 297, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the line. " - } - }, - "297": { - "19": { - "name": "moveToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 19 - ], - [ - 301, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the buffer line. " - } - }, - "301": { - "25": { - "name": "moveToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 301, - 25 - ], - [ - 305, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the word. " - } - }, - "305": { - "19": { - "name": "moveToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 305, - 19 - ], - [ - 310, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the word. " - } - }, - "310": { - "29": { - "name": "moveToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 310, - 29 - ], - [ - 315, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the next word. " - } - }, - "315": { - "30": { - "name": "moveToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 30 - ], - [ - 320, - 1 - ] - ], - "doc": "Public: Moves the cursor to the previous word boundary. " - } - }, - "320": { - "26": { - "name": "moveToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 320, - 26 - ], - [ - 336, - 1 - ] - ], - "doc": "Public: Moves the cursor to the next word boundary. " - } - }, - "336": { - "43": { - "name": "getBeginningOfCurrentWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 336, - 43 - ], - [ - 358, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the current word starts.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n :allowPrevious - A {Boolean} indicating whether the beginning of the\n previous word can be returned.\n\nReturns a {Range}. " - } - }, - "358": { - "41": { - "name": "getPreviousWordBoundaryBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 358, - 41 - ], - [ - 380, - 1 - ] - ], - "doc": " Public: Retrieves buffer position of previous word boundary. It might be on\nthe current word, or the previous word. " - } - }, - "380": { - "41": { - "name": "getMoveNextWordBoundaryBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 380, - 41 - ], - [ - 409, - 1 - ] - ], - "doc": " Public: Retrieves buffer position of the next word boundary. It might be on\nthe current word, or the previous word. " - } - }, - "409": { - "37": { - "name": "getEndOfCurrentWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 409, - 37 - ], - [ - 430, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the current word ends.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp})\n :includeNonWordCharacters - A Boolean indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n\nReturns a {Range}. " - } - }, - "430": { - "40": { - "name": "getBeginningOfNextWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 430, - 40 - ], - [ - 447, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the next word starts.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n\nReturns a {Range}. " - } - }, - "447": { - "29": { - "name": "getCurrentWordBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 447, - 29 - ], - [ - 457, - 1 - ] - ], - "doc": " Public: Returns the buffer Range occupied by the word located under the cursor.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}). " - } - }, - "457": { - "29": { - "name": "getCurrentLineBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 457, - 29 - ], - [ - 461, - 1 - ] - ], - "doc": " Public: Returns the buffer Range for the current line.\n\noptions -\n :includeNewline: - A {Boolean} which controls whether the Range should\n include the newline. " - } - }, - "461": { - "34": { - "name": "moveToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 461, - 34 - ], - [ - 466, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the next paragraph " - } - }, - "466": { - "38": { - "name": "moveToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 466, - 38 - ], - [ - 470, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the previous paragraph " - } - }, - "470": { - "45": { - "name": "getBeginningOfNextParagraphBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 470, - 45 - ], - [ - 484, - 1 - ] - ], - "doc": "~Private~" - } - }, - "484": { - "49": { - "name": "getBeginningOfPreviousParagraphBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 484, - 49 - ], - [ - 502, - 1 - ] - ], - "doc": "~Private~" - } - }, - "502": { - "34": { - "name": "getCurrentParagraphBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 502, - 34 - ], - [ - 506, - 1 - ] - ], - "doc": " Public: Retrieves the range for the current paragraph.\n\nA paragraph is defined as a block of text surrounded by empty lines.\n\nReturns a {Range}. " - } - }, - "506": { - "24": { - "name": "getCurrentWordPrefix", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 506, - 24 - ], - [ - 510, - 1 - ] - ], - "doc": "Public: Returns the characters preceding the cursor in the current word. " - } - }, - "510": { - "23": { - "name": "isAtBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 510, - 23 - ], - [ - 514, - 1 - ] - ], - "doc": "Public: Returns whether the cursor is at the start of a line. " - } - }, - "514": { - "18": { - "name": "getIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 514, - 18 - ], - [ - 521, - 1 - ] - ], - "doc": "Public: Returns the indentation level of the current line. " - } - }, - "521": { - "17": { - "name": "isAtEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 521, - 17 - ], - [ - 527, - 1 - ] - ], - "doc": "Public: Returns whether the cursor is on the line return character. " - } - }, - "527": { - "13": { - "name": "getScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 527, - 13 - ], - [ - 532, - 1 - ] - ], - "doc": " Public: Retrieves the grammar's token scopes for the line.\n\nReturns an {Array} of {String}s. " - } - }, - "532": { - "32": { - "name": "hasPrecedingCharactersOnLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 532, - 32 - ], - [ - 540, - 50 - ] - ], - "doc": " Public: Returns true if this cursor has no non-whitespace characters before\nits current position. " - } - } - }, - "exports": 10 - }, - "src/cursors-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "debounce", - "exportsProperty": "debounce" - }, - "11": { - "type": "import", - "range": [ - [ - 2, - 11 - ], - [ - 2, - 17 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "toArray", - "exportsProperty": "toArray" - }, - "20": { - "type": "import", - "range": [ - [ - 2, - 20 - ], - [ - 2, - 39 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "42": { - "type": "import", - "range": [ - [ - 2, - 42 - ], - [ - 2, - 48 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqual", - "exportsProperty": "isEqual" - } - }, - "3": { - "18": { - "name": "SubscriberMixin", - "type": "import", - "range": [ - [ - 3, - 18 - ], - [ - 3, - 45 - ] - ], - "bindingType": "variable", - "path": "./subscriber-mixin" - } - }, - "4": { - "18": { - "name": "CursorComponent", - "type": "import", - "range": [ - [ - 4, - 18 - ], - [ - 4, - 45 - ] - ], - "bindingType": "variable", - "path": "./cursor-component" - } - }, - "7": { - "19": { - "name": "CursorsComponent", - "type": "function", - "range": [ - [ - 7, - 19 - ], - [ - 60, - 37 - ] - ] - } - }, - "8": { - "15": { - "name": "'CursorsComponent'", - "type": "primitive", - "range": [ - [ - 8, - 15 - ], - [ - 8, - 32 - ] - ] - } - }, - "9": { - "10": { - "type": "primitive", - "range": [ - [ - 9, - 10 - ], - [ - 9, - 26 - ] - ] - } - }, - "11": { - "29": { - "type": "primitive", - "range": [ - [ - 11, - 29 - ], - [ - 11, - 32 - ] - ] - } - }, - "13": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 10 - ], - [ - 25, - 1 - ] - ], - "doc": null - } - }, - "25": { - "19": { - "name": "getInitialState", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 19 - ], - [ - 28, - 1 - ] - ], - "doc": null - } - }, - "28": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 21 - ], - [ - 31, - 1 - ] - ], - "doc": null - } - }, - "31": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 31, - 24 - ], - [ - 34, - 1 - ] - ], - "doc": null - } - }, - "34": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps", - "newState" - ], - "range": [ - [ - 34, - 25 - ], - [ - 38, - 1 - ] - ], - "doc": null - } - }, - "38": { - "23": { - "name": "componentWillUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 38, - 23 - ], - [ - 45, - 1 - ] - ], - "doc": null - } - }, - "45": { - "24": { - "name": "startBlinkingCursors", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 24 - ], - [ - 48, - 1 - ] - ], - "doc": null - } - }, - "48": { - "34": { - "type": "primitive", - "range": [ - [ - 48, - 34 - ], - [ - 48, - 37 - ] - ] - } - }, - "50": { - "23": { - "name": "stopBlinkingCursors", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 23 - ], - [ - 53, - 1 - ] - ], - "doc": null - } - }, - "53": { - "21": { - "name": "toggleCursorBlink", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 21 - ], - [ - 56, - 1 - ] - ], - "doc": null - } - }, - "56": { - "23": { - "name": "pauseCursorBlinking", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 23 - ], - [ - 60, - 37 - ] - ], - "doc": null - } - } - }, - "exports": 7 - }, - "src/custom-event-mixin.coffee": { - "objects": { - "2": { - "2": { - "type": "primitive", - "range": [ - [ - 2, - 2 - ], - [ - 14, - 52 - ] - ] - }, - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 2, - 22 - ], - [ - 5, - 1 - ] - ], - "doc": null - } - }, - "5": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 24 - ], - [ - 10, - 1 - ] - ], - "doc": null - } - }, - "10": { - "27": { - "name": "addCustomEventListeners", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "customEventListeners" - ], - "range": [ - [ - 10, - 27 - ], - [ - 14, - 52 - ] - ], - "doc": null - } - } - }, - "exports": 2 - }, - "src/decoration.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - }, - "13": { - "type": "import", - "range": [ - [ - 1, - 13 - ], - [ - 1, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "3": { - "12": { - "name": "0", - "type": "primitive", - "range": [ - [ - 3, - 12 - ], - [ - 3, - 12 - ] - ] - } - }, - "4": { - "9": { - "name": "nextId", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 4, - 9 - ], - [ - 4, - 22 - ] - ] - } - }, - "40": { - "0": { - "type": "class", - "name": "Decoration", - "bindingType": "exports", - "classProperties": [ - [ - 43, - 11 - ] - ], - "prototypeProperties": [ - [ - 49, - 15 - ], - [ - 59, - 11 - ], - [ - 70, - 10 - ], - [ - 79, - 13 - ], - [ - 82, - 13 - ], - [ - 89, - 10 - ], - [ - 92, - 18 - ], - [ - 98, - 9 - ], - [ - 104, - 20 - ] - ], - "doc": " Public: Represents a decoration that follows a {Marker}. A decoration is\nbasically a visual representation of a marker. It allows you to add CSS\nclasses to line numbers in the gutter, lines, and add selection-line regions\naround marked ranges of text.\n\n{Decoration} objects are not meant to be created directly, but created with\n{Editor::decorateMarker}. eg.\n\n```coffee\nrange = editor.getSelectedBufferRange() # any range you like\nmarker = editor.markBufferRange(range)\ndecoration = editor.decorateMarker(marker, {type: 'line', class: 'my-line-class'})\n```\n\nBest practice for destorying the decoration is by destroying the {Marker}.\n\n```\nmarker.destroy()\n```\n\nYou should only use {Decoration::destroy} when you still need or do not own\nthe marker.\n\n### IDs\nEach {Decoration} has a unique ID available via `decoration.id`.\n\n### Events\nA couple of events are emitted:\n\n* `destroyed`: When the {Decoration} is destroyed\n* `updated`: When the {Decoration} is updated via {Decoration::update}.\n Event object has properties `oldParams` and `newParams`\n\n ", - "range": [ - [ - 40, - 0 - ], - [ - 106, - 8 - ] - ] - } - }, - "43": { - "11": { - "name": "isType", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "decorationParams", - "type" - ], - "range": [ - [ - 43, - 11 - ], - [ - 49, - 1 - ] - ], - "doc": "~Private~" - } - }, - "49": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null, - null - ], - "range": [ - [ - 49, - 15 - ], - [ - 59, - 1 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 11 - ], - [ - 70, - 1 - ] - ], - "doc": " Public: Destroy this marker.\n\nIf you own the marker, you should use {Marker::destroy} which will destroy\nthis decoration. " - } - }, - "70": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "newParams" - ], - "range": [ - [ - 70, - 10 - ], - [ - 79, - 1 - ] - ], - "doc": " Public: Update the marker with new params. Allows you to change the decoration's class.\n\n```\ndecoration.update({type: 'gutter', class: 'my-new-class'})\n``` " - } - }, - "79": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 13 - ], - [ - 79, - 22 - ] - ], - "doc": "Public: Returns the marker associated with this {Decoration} " - } - }, - "82": { - "13": { - "name": "getParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 13 - ], - [ - 82, - 22 - ] - ], - "doc": "Public: Returns the {Decoration}'s params. " - } - }, - "89": { - "10": { - "name": "isType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "type" - ], - "range": [ - [ - 89, - 10 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "18": { - "name": "matchesPattern", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decorationPattern" - ], - "range": [ - [ - 92, - 18 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "9": { - "name": "flash", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass", - "duration" - ], - "range": [ - [ - 98, - 9 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "20": { - "name": "consumeNextFlash", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 20 - ], - [ - 106, - 8 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 40 - }, - "src/deserializer-manager.coffee": { - "objects": { - "20": { - "0": { - "type": "class", - "name": "DeserializerManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 21, - 15 - ], - [ - 27, - 7 - ], - [ - 33, - 10 - ], - [ - 41, - 15 - ], - [ - 54, - 7 - ] - ], - "doc": " Public: Manages the deserializers used for serialized state\n\nAn instance of this class is always available as the `atom.deserializers`\nglobal.\n\n### Registering a deserializer\n\n```coffee\nclass MyPackageView extends View\n atom.deserializers.add(this)\n\n @deserialize: (state) ->\n new MyPackageView(state)\n\n constructor: (@state) ->\n\n serialize: ->\n @state\n``` ", - "range": [ - [ - 20, - 0 - ], - [ - 58, - 24 - ] - ] - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 15 - ], - [ - 27, - 1 - ] - ] - } - }, - "27": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "classes" - ], - "range": [ - [ - 27, - 7 - ], - [ - 33, - 1 - ] - ], - "doc": " Public: Register the given class(es) as deserializers.\n\nclasses - One or more classes to register. " - } - }, - "33": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "classes" - ], - "range": [ - [ - 33, - 10 - ], - [ - 41, - 1 - ] - ], - "doc": " Public: Remove the given class(es) as deserializers.\n\nclasses - One or more classes to remove. " - } - }, - "41": { - "15": { - "name": "deserialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state", - "params" - ], - "range": [ - [ - 41, - 15 - ], - [ - 54, - 1 - ] - ], - "doc": " Public: Deserialize the state and params.\n\nstate - The state {Object} to deserialize.\nparams - The params {Object} to pass as the second arguments to the\n deserialize method of the deserializer. " - } - }, - "54": { - "7": { - "name": "get", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 54, - 7 - ], - [ - 58, - 24 - ] - ], - "doc": " Private: Get the deserializer for the state.\n\nstate - The state {Object} being deserialized. " - } - } - }, - "exports": 20 - }, - "src/display-buffer-marker.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 2, - 10 - ], - [ - 2, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "5": { - "0": { - "type": "class", - "name": "DisplayBufferMarker", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 9, - 28 - ], - [ - 10, - 25 - ], - [ - 11, - 25 - ], - [ - 12, - 25 - ], - [ - 13, - 25 - ], - [ - 14, - 12 - ], - [ - 16, - 15 - ], - [ - 27, - 8 - ], - [ - 33, - 18 - ], - [ - 40, - 18 - ], - [ - 46, - 18 - ], - [ - 53, - 18 - ], - [ - 56, - 17 - ], - [ - 62, - 25 - ], - [ - 69, - 25 - ], - [ - 76, - 25 - ], - [ - 83, - 25 - ], - [ - 89, - 25 - ], - [ - 96, - 25 - ], - [ - 103, - 25 - ], - [ - 110, - 25 - ], - [ - 117, - 26 - ], - [ - 124, - 26 - ], - [ - 131, - 24 - ], - [ - 138, - 24 - ], - [ - 146, - 13 - ], - [ - 150, - 13 - ], - [ - 153, - 11 - ], - [ - 157, - 14 - ], - [ - 162, - 11 - ], - [ - 169, - 15 - ], - [ - 172, - 17 - ], - [ - 175, - 17 - ], - [ - 178, - 21 - ], - [ - 183, - 11 - ], - [ - 187, - 11 - ], - [ - 191, - 11 - ], - [ - 195, - 11 - ], - [ - 198, - 13 - ], - [ - 202, - 19 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 230, - 23 - ] - ] - } - }, - "9": { - "28": { - "name": "bufferMarkerSubscription", - "type": "primitive", - "range": [ - [ - 9, - 28 - ], - [ - 9, - 31 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "25": { - "name": "oldHeadBufferPosition", - "type": "primitive", - "range": [ - [ - 10, - 25 - ], - [ - 10, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "11": { - "25": { - "name": "oldHeadScreenPosition", - "type": "primitive", - "range": [ - [ - 11, - 25 - ], - [ - 11, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "25": { - "name": "oldTailBufferPosition", - "type": "primitive", - "range": [ - [ - 12, - 25 - ], - [ - 12, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "13": { - "25": { - "name": "oldTailScreenPosition", - "type": "primitive", - "range": [ - [ - 13, - 25 - ], - [ - 13, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "12": { - "name": "wasValid", - "type": "primitive", - "range": [ - [ - 14, - 12 - ], - [ - 14, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 16, - 15 - ], - [ - 27, - 1 - ] - ], - "doc": "~Private~" - } - }, - "27": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 27, - 8 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 33, - 18 - ], - [ - 40, - 1 - ] - ], - "doc": " Private: Gets the screen range of the display marker.\n\nReturns a {Range}. " - } - }, - "40": { - "18": { - "name": "setScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 40, - 18 - ], - [ - 46, - 1 - ] - ], - "doc": " Private: Modifies the screen range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " - } - }, - "46": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 46, - 18 - ], - [ - 53, - 1 - ] - ], - "doc": " Private: Gets the buffer range of the display marker.\n\nReturns a {Range}. " - } - }, - "53": { - "18": { - "name": "setBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 53, - 18 - ], - [ - 56, - 1 - ] - ], - "doc": " Private: Modifies the buffer range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " - } - }, - "56": { - "17": { - "name": "getPixelRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 17 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "25": { - "name": "getHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 62, - 25 - ], - [ - 69, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's head.\n\nReturns a {Point}. " - } - }, - "69": { - "25": { - "name": "setHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 69, - 25 - ], - [ - 76, - 1 - ] - ], - "doc": " Private: Sets the screen position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "76": { - "25": { - "name": "getHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 25 - ], - [ - 83, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's head.\n\nReturns a {Point}. " - } - }, - "83": { - "25": { - "name": "setHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 83, - 25 - ], - [ - 89, - 1 - ] - ], - "doc": " Private: Sets the buffer position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "89": { - "25": { - "name": "getTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 25 - ], - [ - 96, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's tail.\n\nReturns a {Point}. " - } - }, - "96": { - "25": { - "name": "setTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 96, - 25 - ], - [ - 103, - 1 - ] - ], - "doc": " Private: Sets the screen position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "103": { - "25": { - "name": "getTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 103, - 25 - ], - [ - 110, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's tail.\n\nReturns a {Point}. " - } - }, - "110": { - "25": { - "name": "setTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 110, - 25 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: Sets the buffer position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "117": { - "26": { - "name": "getStartScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 26 - ], - [ - 124, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndScreenPosition}.\n\nReturns a {Point}. " - } - }, - "124": { - "26": { - "name": "getStartBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 26 - ], - [ - 131, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndBufferPosition}.\n\nReturns a {Point}. " - } - }, - "131": { - "24": { - "name": "getEndScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 131, - 24 - ], - [ - 138, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartScreenPosition}.\n\nReturns a {Point}. " - } - }, - "138": { - "24": { - "name": "getEndBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 24 - ], - [ - 146, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartBufferPosition}.\n\nReturns a {Point}. " - } - }, - "146": { - "13": { - "name": "plantTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 146, - 13 - ], - [ - 150, - 1 - ] - ], - "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " - } - }, - "150": { - "13": { - "name": "clearTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 150, - 13 - ], - [ - 153, - 1 - ] - ], - "doc": "Private: Removes the tail from the marker. " - } - }, - "153": { - "11": { - "name": "hasTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 153, - 11 - ], - [ - 157, - 1 - ] - ], - "doc": "~Private~" - } - }, - "157": { - "14": { - "name": "isReversed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 157, - 14 - ], - [ - 162, - 1 - ] - ], - "doc": "Private: Returns whether the head precedes the tail in the buffer " - } - }, - "162": { - "11": { - "name": "isValid", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 11 - ], - [ - 169, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the marker is valid. Markers can be\ninvalidated when a region surrounding them in the buffer is changed. " - } - }, - "169": { - "15": { - "name": "isDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 169, - 15 - ], - [ - 172, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the marker has been destroyed. A marker\ncan be invalid without being destroyed, in which case undoing the invalidating\noperation would restore the marker. Once a marker is destroyed by calling\n{Marker::destroy}, no undo/redo operation can ever bring it back. " - } - }, - "172": { - "17": { - "name": "getAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 172, - 17 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "17": { - "name": "setAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 175, - 17 - ], - [ - 178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "178": { - "21": { - "name": "matchesAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 178, - 21 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 183, - 11 - ], - [ - 187, - 1 - ] - ], - "doc": "Private: Destroys the marker " - } - }, - "187": { - "11": { - "name": "isEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 187, - 11 - ], - [ - 191, - 1 - ] - ], - "doc": "~Private~" - } - }, - "191": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 191, - 11 - ], - [ - 195, - 1 - ] - ], - "doc": "~Private~" - } - }, - "195": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 195, - 11 - ], - [ - 198, - 1 - ] - ], - "doc": "Private: Returns a {String} representation of the marker " - } - }, - "198": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 198, - 13 - ], - [ - 202, - 1 - ] - ], - "doc": "~Private~" - } - }, - "202": { - "19": { - "name": "notifyObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 202, - 19 - ], - [ - 230, - 23 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "src/display-buffer.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "2": { - "7": { - "name": "guid", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "guid" - } - }, - "3": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "6": { - "18": { - "name": "TokenizedBuffer", - "type": "import", - "range": [ - [ - 6, - 18 - ], - [ - 6, - 45 - ] - ], - "bindingType": "variable", - "path": "./tokenized-buffer" - } - }, - "7": { - "9": { - "name": "RowMap", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 27 - ] - ], - "bindingType": "variable", - "path": "./row-map" - } - }, - "8": { - "7": { - "name": "Fold", - "type": "import", - "range": [ - [ - 8, - 7 - ], - [ - 8, - 22 - ] - ], - "bindingType": "variable", - "path": "./fold" - } - }, - "9": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 9, - 8 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "10": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "11": { - "22": { - "name": "DisplayBufferMarker", - "type": "import", - "range": [ - [ - 11, - 22 - ], - [ - 11, - 54 - ] - ], - "bindingType": "variable", - "path": "./display-buffer-marker" - } - }, - "13": { - "0": { - "type": "class", - "name": "BufferToScreenConversionError", - "classProperties": [], - "prototypeProperties": [ - [ - 14, - 15 - ] - ], - "doc": "~Private~", - "range": [ - [ - 13, - 0 - ], - [ - 17, - 0 - ] - ] - } - }, - "14": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 14, - 15 - ], - [ - 17, - 0 - ] - ] - } - }, - "19": { - "0": { - "type": "class", - "name": "DisplayBuffer", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 34, - 24 - ], - [ - 35, - 26 - ], - [ - 36, - 29 - ], - [ - 37, - 26 - ], - [ - 38, - 36 - ], - [ - 40, - 15 - ], - [ - 70, - 19 - ], - [ - 78, - 21 - ], - [ - 82, - 8 - ], - [ - 91, - 24 - ], - [ - 97, - 15 - ], - [ - 104, - 28 - ], - [ - 115, - 14 - ], - [ - 117, - 27 - ], - [ - 118, - 27 - ], - [ - 120, - 29 - ], - [ - 121, - 29 - ], - [ - 123, - 32 - ], - [ - 124, - 32 - ], - [ - 126, - 29 - ], - [ - 127, - 29 - ], - [ - 129, - 13 - ], - [ - 138, - 13 - ], - [ - 140, - 19 - ], - [ - 146, - 18 - ], - [ - 152, - 26 - ], - [ - 160, - 24 - ], - [ - 167, - 12 - ], - [ - 176, - 12 - ], - [ - 183, - 16 - ], - [ - 184, - 16 - ], - [ - 190, - 19 - ], - [ - 193, - 19 - ], - [ - 194, - 19 - ], - [ - 198, - 17 - ], - [ - 199, - 17 - ], - [ - 206, - 20 - ], - [ - 209, - 18 - ], - [ - 210, - 18 - ], - [ - 214, - 25 - ], - [ - 215, - 25 - ], - [ - 217, - 23 - ], - [ - 218, - 23 - ], - [ - 224, - 18 - ], - [ - 226, - 22 - ], - [ - 229, - 23 - ], - [ - 237, - 29 - ], - [ - 244, - 22 - ], - [ - 249, - 26 - ], - [ - 253, - 25 - ], - [ - 256, - 19 - ], - [ - 261, - 18 - ], - [ - 264, - 22 - ], - [ - 273, - 29 - ], - [ - 277, - 38 - ], - [ - 281, - 23 - ], - [ - 311, - 26 - ], - [ - 314, - 26 - ], - [ - 317, - 27 - ], - [ - 333, - 16 - ], - [ - 339, - 16 - ], - [ - 343, - 15 - ], - [ - 346, - 15 - ], - [ - 351, - 25 - ], - [ - 359, - 25 - ], - [ - 367, - 21 - ], - [ - 378, - 14 - ], - [ - 387, - 16 - ], - [ - 393, - 12 - ], - [ - 396, - 22 - ], - [ - 406, - 27 - ], - [ - 416, - 14 - ], - [ - 422, - 23 - ], - [ - 425, - 23 - ], - [ - 429, - 21 - ], - [ - 435, - 19 - ], - [ - 446, - 34 - ], - [ - 454, - 28 - ], - [ - 466, - 34 - ], - [ - 477, - 34 - ], - [ - 482, - 34 - ], - [ - 493, - 28 - ], - [ - 502, - 25 - ], - [ - 505, - 29 - ], - [ - 513, - 25 - ], - [ - 521, - 29 - ], - [ - 532, - 29 - ], - [ - 538, - 28 - ], - [ - 542, - 34 - ], - [ - 561, - 34 - ], - [ - 581, - 34 - ], - [ - 587, - 16 - ], - [ - 593, - 14 - ], - [ - 599, - 20 - ], - [ - 605, - 23 - ], - [ - 617, - 35 - ], - [ - 651, - 35 - ], - [ - 661, - 27 - ], - [ - 664, - 33 - ], - [ - 672, - 26 - ], - [ - 678, - 14 - ], - [ - 684, - 14 - ], - [ - 688, - 17 - ], - [ - 704, - 22 - ], - [ - 740, - 18 - ], - [ - 758, - 20 - ], - [ - 761, - 19 - ], - [ - 764, - 32 - ], - [ - 771, - 18 - ], - [ - 793, - 20 - ], - [ - 804, - 33 - ], - [ - 810, - 31 - ], - [ - 818, - 21 - ], - [ - 826, - 13 - ], - [ - 836, - 14 - ], - [ - 839, - 18 - ], - [ - 848, - 19 - ], - [ - 858, - 19 - ], - [ - 867, - 22 - ], - [ - 876, - 22 - ], - [ - 882, - 17 - ], - [ - 891, - 14 - ], - [ - 912, - 15 - ], - [ - 916, - 33 - ], - [ - 954, - 18 - ], - [ - 957, - 19 - ], - [ - 960, - 27 - ], - [ - 963, - 24 - ], - [ - 966, - 25 - ], - [ - 970, - 32 - ], - [ - 974, - 13 - ], - [ - 979, - 12 - ], - [ - 984, - 31 - ], - [ - 989, - 21 - ], - [ - 1015, - 20 - ], - [ - 1061, - 21 - ], - [ - 1083, - 22 - ], - [ - 1088, - 30 - ], - [ - 1093, - 29 - ], - [ - 1097, - 23 - ], - [ - 1101, - 17 - ] - ], - "doc": "~Private~", - "range": [ - [ - 19, - 0 - ], - [ - 1102, - 31 - ] - ] - } - }, - "34": { - "24": { - "name": "verticalScrollMargin", - "type": "primitive", - "range": [ - [ - 34, - 24 - ], - [ - 34, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "35": { - "26": { - "name": "horizontalScrollMargin", - "type": "primitive", - "range": [ - [ - 35, - 26 - ], - [ - 35, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "36": { - "29": { - "name": "horizontalScrollbarHeight", - "type": "primitive", - "range": [ - [ - 36, - 29 - ], - [ - 36, - 30 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "37": { - "26": { - "name": "verticalScrollbarWidth", - "type": "primitive", - "range": [ - [ - 37, - 26 - ], - [ - 37, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "38": { - "36": { - "name": "scopedCharacterWidthsChangeCount", - "type": "primitive", - "range": [ - [ - 38, - 36 - ], - [ - 38, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "40": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 40, - 15 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 70, - 19 - ], - [ - 78, - 1 - ] - ], - "doc": "~Private~" - } - }, - "78": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 78, - 21 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 8 - ], - [ - 91, - 1 - ] - ], - "doc": "~Private~" - } - }, - "91": { - "24": { - "name": "updateAllScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 24 - ], - [ - 97, - 1 - ] - ], - "doc": "~Private~" - } - }, - "97": { - "15": { - "name": "emitChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventProperties", - "refreshMarkers" - ], - "range": [ - [ - 97, - 15 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "28": { - "name": "updateWrappedScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 28 - ], - [ - 115, - 1 - ] - ], - "doc": "~Private~" - } - }, - "115": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 115, - 14 - ], - [ - 115, - 62 - ] - ], - "doc": " Private: Sets the visibility of the tokenized buffer.\n\nvisible - A {Boolean} indicating of the tokenized buffer is shown " - } - }, - "117": { - "27": { - "name": "getVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 27 - ], - [ - 117, - 50 - ] - ], - "doc": "~Private~" - } - }, - "118": { - "27": { - "name": "setVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 118, - 27 - ], - [ - 118, - 74 - ] - ] - } - }, - "120": { - "29": { - "name": "getHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 120, - 29 - ], - [ - 120, - 54 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "29": { - "name": "setHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 121, - 29 - ], - [ - 121, - 80 - ] - ] - } - }, - "123": { - "32": { - "name": "getHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 123, - 32 - ], - [ - 123, - 60 - ] - ], - "doc": "~Private~" - } - }, - "124": { - "32": { - "name": "setHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 124, - 32 - ], - [ - 124, - 89 - ] - ] - } - }, - "126": { - "29": { - "name": "getVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 29 - ], - [ - 126, - 54 - ] - ], - "doc": "~Private~" - } - }, - "127": { - "29": { - "name": "setVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 127, - 29 - ], - [ - 127, - 80 - ] - ] - } - }, - "129": { - "13": { - "name": "getHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 129, - 13 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "13": { - "name": "setHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 138, - 13 - ], - [ - 138, - 32 - ] - ], - "doc": "~Private~" - } - }, - "140": { - "19": { - "name": "getClientHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 140, - 19 - ], - [ - 146, - 1 - ] - ], - "doc": "~Private~" - } - }, - "146": { - "18": { - "name": "getClientWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 146, - 18 - ], - [ - 152, - 1 - ] - ], - "doc": "~Private~" - } - }, - "152": { - "26": { - "name": "horizontallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 152, - 26 - ], - [ - 160, - 1 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "24": { - "name": "verticallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 160, - 24 - ], - [ - 167, - 1 - ] - ], - "doc": "~Private~" - } - }, - "167": { - "12": { - "name": "getWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 167, - 12 - ], - [ - 176, - 1 - ] - ], - "doc": "~Private~" - } - }, - "176": { - "12": { - "name": "setWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "newWidth" - ], - "range": [ - [ - 176, - 12 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "16": { - "name": "getScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 183, - 16 - ], - [ - 183, - 28 - ] - ], - "doc": "~Private~" - } - }, - "184": { - "16": { - "name": "setScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 184, - 16 - ], - [ - 190, - 1 - ] - ] - } - }, - "190": { - "19": { - "name": "getMaxScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 19 - ], - [ - 193, - 1 - ] - ], - "doc": "~Private~" - } - }, - "193": { - "19": { - "name": "getScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 193, - 19 - ], - [ - 193, - 41 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "19": { - "name": "setScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 194, - 19 - ], - [ - 198, - 1 - ] - ] - } - }, - "198": { - "17": { - "name": "getScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 198, - 17 - ], - [ - 198, - 30 - ] - ], - "doc": "~Private~" - } - }, - "199": { - "17": { - "name": "setScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 199, - 17 - ], - [ - 206, - 1 - ] - ] - } - }, - "206": { - "20": { - "name": "getMaxScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 206, - 20 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "18": { - "name": "getScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 209, - 18 - ], - [ - 209, - 40 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "18": { - "name": "setScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 210, - 18 - ], - [ - 214, - 1 - ] - ] - } - }, - "214": { - "25": { - "name": "getLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 214, - 25 - ], - [ - 214, - 46 - ] - ], - "doc": "~Private~" - } - }, - "215": { - "25": { - "name": "setLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 215, - 25 - ], - [ - 215, - 68 - ] - ] - } - }, - "217": { - "23": { - "name": "getDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 217, - 23 - ], - [ - 217, - 42 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "23": { - "name": "setDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultCharWidth" - ], - "range": [ - [ - 218, - 23 - ], - [ - 224, - 1 - ] - ] - } - }, - "224": { - "18": { - "name": "getCursorWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 18 - ], - [ - 224, - 21 - ] - ], - "doc": "~Private~" - } - }, - "226": { - "22": { - "name": "getScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char" - ], - "range": [ - [ - 226, - 22 - ], - [ - 229, - 1 - ] - ], - "doc": "~Private~" - } - }, - "229": { - "23": { - "name": "getScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames" - ], - "range": [ - [ - 229, - 23 - ], - [ - 237, - 1 - ] - ], - "doc": "~Private~" - } - }, - "237": { - "29": { - "name": "batchCharacterMeasurement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 237, - 29 - ], - [ - 244, - 1 - ] - ], - "doc": "~Private~" - } - }, - "244": { - "22": { - "name": "setScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char", - "width" - ], - "range": [ - [ - 244, - 22 - ], - [ - 249, - 1 - ] - ], - "doc": "~Private~" - } - }, - "249": { - "26": { - "name": "characterWidthsChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 249, - 26 - ], - [ - 253, - 1 - ] - ], - "doc": "~Private~" - } - }, - "253": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 253, - 25 - ], - [ - 256, - 1 - ] - ], - "doc": "~Private~" - } - }, - "256": { - "19": { - "name": "getScrollHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 19 - ], - [ - 261, - 1 - ] - ], - "doc": "~Private~" - } - }, - "261": { - "18": { - "name": "getScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 18 - ], - [ - 264, - 1 - ] - ], - "doc": "~Private~" - } - }, - "264": { - "22": { - "name": "getVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 264, - 22 - ], - [ - 273, - 1 - ] - ], - "doc": "~Private~" - } - }, - "273": { - "29": { - "name": "intersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 273, - 29 - ], - [ - 277, - 1 - ] - ], - "doc": "~Private~" - } - }, - "277": { - "38": { - "name": "selectionIntersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 277, - 38 - ], - [ - 281, - 1 - ] - ], - "doc": "~Private~" - } - }, - "281": { - "23": { - "name": "scrollToScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 281, - 23 - ], - [ - 311, - 1 - ] - ], - "doc": "~Private~" - } - }, - "311": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 311, - 26 - ], - [ - 314, - 1 - ] - ], - "doc": "~Private~" - } - }, - "314": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 314, - 26 - ], - [ - 317, - 1 - ] - ], - "doc": "~Private~" - } - }, - "317": { - "27": { - "name": "pixelRectForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 317, - 27 - ], - [ - 333, - 1 - ] - ], - "doc": "~Private~" - } - }, - "333": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 333, - 16 - ], - [ - 339, - 1 - ] - ], - "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " - } - }, - "339": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 339, - 16 - ], - [ - 343, - 1 - ] - ], - "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " - } - }, - "343": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 343, - 15 - ], - [ - 343, - 38 - ] - ], - "doc": "Deprecated: Use the softWrap property directly " - } - }, - "346": { - "15": { - "name": "getSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 15 - ], - [ - 346, - 26 - ] - ], - "doc": "Deprecated: Use the softWrap property directly " - } - }, - "351": { - "25": { - "name": "setEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorWidthInChars" - ], - "range": [ - [ - 351, - 25 - ], - [ - 359, - 1 - ] - ], - "doc": " Private: Set the number of characters that fit horizontally in the editor.\n\neditorWidthInChars - A {Number} of characters. " - } - }, - "359": { - "25": { - "name": "getEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 359, - 25 - ], - [ - 367, - 1 - ] - ], - "doc": "Private: Returns the editor width in characters for soft wrap. " - } - }, - "367": { - "21": { - "name": "getSoftWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 367, - 21 - ], - [ - 378, - 1 - ] - ], - "doc": "~Private~" - } - }, - "378": { - "14": { - "name": "lineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 378, - 14 - ], - [ - 387, - 1 - ] - ], - "doc": " Private: Gets the screen line for the given screen row.\n\nscreenRow - A {Number} indicating the screen row.\n\nReturns a {ScreenLine}. " - } - }, - "387": { - "16": { - "name": "linesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 387, - 16 - ], - [ - 393, - 1 - ] - ], - "doc": " Private: Gets the screen lines for the given screen row range.\n\nstartRow - A {Number} indicating the beginning screen row.\nendRow - A {Number} indicating the ending screen row.\n\nReturns an {Array} of {ScreenLine}s. " - } - }, - "393": { - "12": { - "name": "getLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 393, - 12 - ], - [ - 396, - 1 - ] - ], - "doc": " Private: Gets all the screen lines.\n\nReturns an {Array} of {ScreenLines}s. " - } - }, - "396": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 396, - 22 - ], - [ - 406, - 1 - ] - ], - "doc": "~Private~" - } - }, - "406": { - "27": { - "name": "bufferRowsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 406, - 27 - ], - [ - 416, - 1 - ] - ], - "doc": " Private: Given starting and ending screen rows, this returns an array of the\nbuffer rows corresponding to every screen row in the range\n\nstartScreenRow - The screen row {Number} to start at\nendScreenRow - The screen row {Number} to end at (default: the last screen row)\n\nReturns an {Array} of buffer rows as {Numbers}s. " - } - }, - "416": { - "14": { - "name": "createFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 416, - 14 - ], - [ - 422, - 1 - ] - ], - "doc": " Private: Creates a new fold between two row numbers.\n\nstartRow - The row {Number} to start folding at\nendRow - The row {Number} to end the fold\n\nReturns the new {Fold}. " - } - }, - "422": { - "23": { - "name": "isFoldedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 422, - 23 - ], - [ - 425, - 1 - ] - ], - "doc": "~Private~" - } - }, - "425": { - "23": { - "name": "isFoldedAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 425, - 23 - ], - [ - 429, - 1 - ] - ], - "doc": "~Private~" - } - }, - "429": { - "21": { - "name": "destroyFoldWithId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 429, - 21 - ], - [ - 435, - 1 - ] - ], - "doc": "Private: Destroys the fold with the given id " - } - }, - "435": { - "19": { - "name": "unfoldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 435, - 19 - ], - [ - 446, - 1 - ] - ], - "doc": " Private: Removes any folds found that contain the given buffer row.\n\nbufferRow - The buffer row {Number} to check against " - } - }, - "446": { - "34": { - "name": "largestFoldStartingAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 446, - 34 - ], - [ - 454, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold} or null if none exists. " - } - }, - "454": { - "28": { - "name": "foldsStartingAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 454, - 28 - ], - [ - 466, - 1 - ] - ], - "doc": " Public: Given a buffer row, this returns all folds that start there.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " - } - }, - "466": { - "34": { - "name": "largestFoldStartingAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 466, - 34 - ], - [ - 477, - 1 - ] - ], - "doc": " Private: Given a screen row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nscreenRow - A {Number} indicating the screen row\n\nReturns a {Fold}. " - } - }, - "477": { - "34": { - "name": "largestFoldContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 477, - 34 - ], - [ - 482, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns the largest fold that includes it.\n\nLargest is defined as the fold whose difference between its start and end rows\nis the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold}. " - } - }, - "482": { - "34": { - "name": "outermostFoldsInBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 482, - 34 - ], - [ - 493, - 1 - ] - ], - "doc": " Private: Returns the folds in the given row range (exclusive of end row) that are\nnot contained by any other folds. " - } - }, - "493": { - "28": { - "name": "foldsContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 493, - 28 - ], - [ - 502, - 1 - ] - ], - "doc": " Public: Given a buffer row, this returns folds that include it.\n\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " - } - }, - "502": { - "25": { - "name": "screenRowForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 502, - 25 - ], - [ - 505, - 1 - ] - ], - "doc": " Private: Given a buffer row, this converts it into a screen row.\n\nbufferRow - A {Number} representing a buffer row\n\nReturns a {Number}. " - } - }, - "505": { - "29": { - "name": "lastScreenRowForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 505, - 29 - ], - [ - 513, - 1 - ] - ], - "doc": "~Private~" - } - }, - "513": { - "25": { - "name": "bufferRowForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 513, - 25 - ], - [ - 521, - 1 - ] - ], - "doc": " Private: Given a screen row, this converts it into a buffer row.\n\nscreenRow - A {Number} representing a screen row\n\nReturns a {Number}. " - } - }, - "521": { - "29": { - "name": "screenRangeForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 521, - 29 - ], - [ - 532, - 1 - ] - ], - "doc": " Private: Given a buffer range, this converts it into a screen position.\n\nbufferRange - The {Range} to convert\n\nReturns a {Range}. " - } - }, - "532": { - "29": { - "name": "bufferRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 532, - 29 - ], - [ - 538, - 1 - ] - ], - "doc": " Private: Given a screen range, this converts it into a buffer position.\n\nscreenRange - The {Range} to convert\n\nReturns a {Range}. " - } - }, - "538": { - "28": { - "name": "pixelRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "clip" - ], - "range": [ - [ - 538, - 28 - ], - [ - 542, - 1 - ] - ], - "doc": "~Private~" - } - }, - "542": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "clip" - ], - "range": [ - [ - 542, - 34 - ], - [ - 561, - 1 - ] - ], - "doc": "~Private~" - } - }, - "561": { - "34": { - "name": "screenPositionForPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 561, - 34 - ], - [ - 581, - 1 - ] - ], - "doc": "~Private~" - } - }, - "581": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 581, - 34 - ], - [ - 587, - 1 - ] - ], - "doc": "~Private~" - } - }, - "587": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 587, - 16 - ], - [ - 593, - 1 - ] - ], - "doc": " Private: Gets the number of screen lines.\n\nReturns a {Number}. " - } - }, - "593": { - "14": { - "name": "getLastRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 593, - 14 - ], - [ - 599, - 1 - ] - ], - "doc": " Private: Gets the number of the last screen line.\n\nReturns a {Number}. " - } - }, - "599": { - "20": { - "name": "getMaxLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 599, - 20 - ], - [ - 605, - 1 - ] - ], - "doc": " Private: Gets the length of the longest screen line.\n\nReturns a {Number}. " - } - }, - "605": { - "23": { - "name": "getLongestScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 605, - 23 - ], - [ - 617, - 1 - ] - ], - "doc": " Private: Gets the row number of the longest screen line.\n\nReturn a {} " - } - }, - "617": { - "35": { - "name": "screenPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 617, - 35 - ], - [ - 651, - 1 - ] - ], - "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " - } - }, - "651": { - "35": { - "name": "bufferPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 651, - 35 - ], - [ - 661, - 1 - ] - ], - "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " - } - }, - "661": { - "27": { - "name": "scopesForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 661, - 27 - ], - [ - 664, - 1 - ] - ], - "doc": " Private: Retrieves the grammar's token scopes for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}\n\nReturns an {Array} of {String}s. " - } - }, - "664": { - "33": { - "name": "bufferRangeForScopeAtPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "position" - ], - "range": [ - [ - 664, - 33 - ], - [ - 672, - 1 - ] - ], - "doc": "~Private~" - } - }, - "672": { - "26": { - "name": "tokenForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 672, - 26 - ], - [ - 678, - 1 - ] - ], - "doc": " Private: Retrieves the grammar's token for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}.\n\nReturns a {Token}. " - } - }, - "678": { - "14": { - "name": "getGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 678, - 14 - ], - [ - 684, - 1 - ] - ], - "doc": " Private: Get the grammar for this buffer.\n\nReturns the current {Grammar} or the {NullGrammar}. " - } - }, - "684": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 684, - 14 - ], - [ - 688, - 1 - ] - ], - "doc": " Private: Sets the grammar for the buffer.\n\ngrammar - Sets the new grammar rules " - } - }, - "688": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 688, - 17 - ], - [ - 704, - 1 - ] - ], - "doc": "Private: Reloads the current grammar. " - } - }, - "704": { - "22": { - "name": "clipScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 704, - 22 - ], - [ - 740, - 1 - ] - ], - "doc": " Private: Given a position, this clips it to a real position.\n\nFor example, if `position`'s row exceeds the row count of the buffer,\nor if its column goes beyond a line's length, this \"sanitizes\" the value\nto a real position.\n\nposition - The {Point} to clip\noptions - A hash with the following values:\n wrapBeyondNewlines: if `true`, continues wrapping past newlines\n wrapAtSoftNewlines: if `true`, continues wrapping past soft newlines\n screenLine: if `true`, indicates that you're using a line number, not a row number\n\nReturns the new, clipped {Point}. Note that this could be the same as `position` if no clipping was performed. " - } - }, - "740": { - "18": { - "name": "findWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line", - "softWrapColumn" - ], - "range": [ - [ - 740, - 18 - ], - [ - 758, - 1 - ] - ], - "doc": " Private: Given a line, finds the point where it would wrap.\n\nline - The {String} to check\nsoftWrapColumn - The {Number} where you want soft wrapping to occur\n\nReturns a {Number} representing the `line` position where the wrap would take place.\nReturns `null` if a wrap wouldn't occur. " - } - }, - "758": { - "20": { - "name": "rangeForAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 758, - 20 - ], - [ - 761, - 1 - ] - ], - "doc": " Private: Calculates a {Range} representing the start of the {TextBuffer} until the end.\n\nReturns a {Range}. " - } - }, - "761": { - "19": { - "name": "decorationForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 761, - 19 - ], - [ - 764, - 1 - ] - ], - "doc": "~Private~" - } - }, - "764": { - "32": { - "name": "decorationsForScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 764, - 32 - ], - [ - 771, - 1 - ] - ], - "doc": "~Private~" - } - }, - "771": { - "18": { - "name": "decorateMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "decorationParams" - ], - "range": [ - [ - 771, - 18 - ], - [ - 793, - 1 - ] - ], - "doc": "~Private~" - } - }, - "793": { - "20": { - "name": "removeDecoration", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decoration" - ], - "range": [ - [ - 793, - 20 - ], - [ - 804, - 1 - ] - ], - "doc": "~Private~" - } - }, - "804": { - "33": { - "name": "removeAllDecorationsForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 804, - 33 - ], - [ - 810, - 1 - ] - ], - "doc": "~Private~" - } - }, - "810": { - "31": { - "name": "removedAllMarkerDecorations", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 810, - 31 - ], - [ - 818, - 1 - ] - ], - "doc": "~Private~" - } - }, - "818": { - "21": { - "name": "decorationUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decoration" - ], - "range": [ - [ - 818, - 21 - ], - [ - 826, - 1 - ] - ], - "doc": "~Private~" - } - }, - "826": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 826, - 13 - ], - [ - 836, - 1 - ] - ], - "doc": " Private: Retrieves a {DisplayBufferMarker} based on its id.\n\nid - A {Number} representing a marker id\n\nReturns the {DisplayBufferMarker} (if it exists). " - } - }, - "836": { - "14": { - "name": "getMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 836, - 14 - ], - [ - 839, - 1 - ] - ], - "doc": " Private: Retrieves the active markers in the buffer.\n\nReturns an {Array} of existing {DisplayBufferMarker}s. " - } - }, - "839": { - "18": { - "name": "getMarkerCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 839, - 18 - ], - [ - 848, - 1 - ] - ], - "doc": "~Private~" - } - }, - "848": { - "19": { - "name": "markScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 848, - 19 - ], - [ - 858, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given screen range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "858": { - "19": { - "name": "markBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range", - "options" - ], - "range": [ - [ - 858, - 19 - ], - [ - 867, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given buffer range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "867": { - "22": { - "name": "markScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 867, - 22 - ], - [ - 876, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given screen position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "876": { - "22": { - "name": "markBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 876, - 22 - ], - [ - 882, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given buffer position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "882": { - "17": { - "name": "destroyMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 882, - 17 - ], - [ - 891, - 1 - ] - ], - "doc": " Public: Removes the marker with the given id.\n\nid - The {Number} of the ID to remove " - } - }, - "891": { - "14": { - "name": "findMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 891, - 14 - ], - [ - 912, - 1 - ] - ], - "doc": " Private: Finds the first marker satisfying the given attributes\n\nRefer to {DisplayBuffer::findMarkers} for details.\n\nReturns a {DisplayBufferMarker} or null " - } - }, - "912": { - "15": { - "name": "findMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 912, - 15 - ], - [ - 916, - 1 - ] - ], - "doc": " Public: Find all markers satisfying a set of parameters.\n\nparams - An {Object} containing parameters that all returned markers must\n satisfy. Unreserved keys will be compared against the markers' custom\n properties. There are also the following reserved keys with special\n meaning for the query:\n :startBufferRow - A {Number}. Only returns markers starting at this row in\n buffer coordinates.\n :endBufferRow - A {Number}. Only returns markers ending at this row in\n buffer coordinates.\n :containsBufferRange - A {Range} or range-compatible {Array}. Only returns\n markers containing this range in buffer coordinates.\n :containsBufferPosition - A {Point} or point-compatible {Array}. Only\n returns markers containing this position in buffer coordinates.\n :containedInBufferRange - A {Range} or range-compatible {Array}. Only\n returns markers contained within this range.\n\nReturns an {Array} of {DisplayBufferMarker}s " - } - }, - "916": { - "33": { - "name": "translateToBufferMarkerParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 916, - 33 - ], - [ - 954, - 1 - ] - ], - "doc": "~Private~" - } - }, - "954": { - "18": { - "name": "findFoldMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 954, - 18 - ], - [ - 957, - 1 - ] - ], - "doc": "~Private~" - } - }, - "957": { - "19": { - "name": "findFoldMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 957, - 19 - ], - [ - 960, - 1 - ] - ], - "doc": "~Private~" - } - }, - "960": { - "27": { - "name": "getFoldMarkerAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 960, - 27 - ], - [ - 963, - 1 - ] - ], - "doc": "~Private~" - } - }, - "963": { - "24": { - "name": "pauseMarkerObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 963, - 24 - ], - [ - 966, - 1 - ] - ], - "doc": "~Private~" - } - }, - "966": { - "25": { - "name": "resumeMarkerObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 966, - 25 - ], - [ - 970, - 1 - ] - ], - "doc": "~Private~" - } - }, - "970": { - "32": { - "name": "refreshMarkerScreenPositions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 970, - 32 - ], - [ - 974, - 1 - ] - ], - "doc": "~Private~" - } - }, - "974": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 974, - 13 - ], - [ - 979, - 1 - ] - ], - "doc": "~Private~" - } - }, - "979": { - "12": { - "name": "logLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 979, - 12 - ], - [ - 984, - 1 - ] - ], - "doc": "~Private~" - } - }, - "984": { - "31": { - "name": "handleTokenizedBufferChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tokenizedBufferChange" - ], - "range": [ - [ - 984, - 31 - ], - [ - 989, - 1 - ] - ], - "doc": "~Private~" - } - }, - "989": { - "21": { - "name": "updateScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "endBufferRow", - "bufferDelta", - "options" - ], - "range": [ - [ - 989, - 21 - ], - [ - 1015, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1015": { - "20": { - "name": "buildScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "endBufferRow" - ], - "range": [ - [ - 1015, - 20 - ], - [ - 1061, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1061": { - "21": { - "name": "findMaxLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow", - "newScreenLines", - "screenDelta" - ], - "range": [ - [ - 1061, - 21 - ], - [ - 1083, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1083": { - "22": { - "name": "computeScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1083, - 22 - ], - [ - 1088, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1088": { - "30": { - "name": "handleBufferMarkersUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1088, - 30 - ], - [ - 1093, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1093": { - "29": { - "name": "handleBufferMarkerCreated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1093, - 29 - ], - [ - 1097, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1097": { - "23": { - "name": "createFoldForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1097, - 23 - ], - [ - 1101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1101": { - "17": { - "name": "foldForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1101, - 17 - ], - [ - 1102, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 19 - }, - "src/editor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "10": { - "type": "import", - "range": [ - [ - 0, - 10 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$$", - "exportsProperty": "$$$" - } - }, - "1": { - "13": { - "name": "GutterView", - "type": "import", - "range": [ - [ - 1, - 13 - ], - [ - 1, - 35 - ] - ], - "bindingType": "variable", - "path": "./gutter-view" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "3": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 3, - 9 - ], - [ - 3, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "4": { - "13": { - "name": "CursorView", - "type": "import", - "range": [ - [ - 4, - 13 - ], - [ - 4, - 35 - ] - ], - "bindingType": "variable", - "path": "./cursor-view" - } - }, - "5": { - "16": { - "name": "SelectionView", - "type": "import", - "range": [ - [ - 5, - 16 - ], - [ - 5, - 41 - ] - ], - "bindingType": "variable", - "path": "./selection-view" - } - }, - "6": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 6, - 5 - ], - [ - 6, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "7": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "8": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 8, - 13 - ], - [ - 8, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer" - } - }, - "10": { - "15": { - "name": "MeasureRange", - "type": "function", - "range": [ - [ - 10, - 15 - ], - [ - 10, - 36 - ] - ] - } - }, - "11": { - "17": { - "type": "primitive", - "range": [ - [ - 11, - 17 - ], - [ - 11, - 59 - ] - ] - }, - "31": { - "name": "acceptNode", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 11, - 31 - ], - [ - 11, - 57 - ] - ], - "doc": null - } - }, - "12": { - "10": { - "type": "primitive", - "range": [ - [ - 12, - 10 - ], - [ - 12, - 21 - ] - ] - } - }, - "13": { - "17": { - "name": "1000", - "type": "primitive", - "range": [ - [ - 13, - 17 - ], - [ - 13, - 20 - ] - ] - } - }, - "41": { - "0": { - "type": "class", - "name": "EditorView", - "bindingType": "exports", - "classProperties": [ - [ - 42, - 24 - ], - [ - 44, - 4 - ], - [ - 61, - 17 - ], - [ - 63, - 12 - ], - [ - 76, - 12 - ], - [ - 1271, - 21 - ], - [ - 1485, - 18 - ], - [ - 1513, - 21 - ], - [ - 1529, - 14 - ], - [ - 1533, - 13 - ], - [ - 1537, - 23 - ] - ], - "prototypeProperties": [ - [ - 81, - 17 - ], - [ - 82, - 17 - ], - [ - 83, - 14 - ], - [ - 84, - 13 - ], - [ - 85, - 14 - ], - [ - 86, - 15 - ], - [ - 87, - 18 - ], - [ - 88, - 13 - ], - [ - 89, - 13 - ], - [ - 90, - 10 - ], - [ - 91, - 12 - ], - [ - 92, - 16 - ], - [ - 93, - 18 - ], - [ - 94, - 14 - ], - [ - 95, - 17 - ], - [ - 96, - 20 - ], - [ - 97, - 24 - ], - [ - 106, - 14 - ], - [ - 141, - 12 - ], - [ - 251, - 13 - ], - [ - 255, - 11 - ], - [ - 259, - 11 - ], - [ - 263, - 14 - ], - [ - 266, - 20 - ], - [ - 271, - 19 - ], - [ - 277, - 12 - ], - [ - 284, - 10 - ], - [ - 292, - 15 - ], - [ - 298, - 21 - ], - [ - 310, - 17 - ], - [ - 322, - 22 - ], - [ - 332, - 22 - ], - [ - 337, - 22 - ], - [ - 341, - 16 - ], - [ - 345, - 13 - ], - [ - 354, - 16 - ], - [ - 436, - 21 - ], - [ - 476, - 28 - ], - [ - 479, - 33 - ], - [ - 505, - 15 - ], - [ - 538, - 8 - ], - [ - 586, - 12 - ], - [ - 589, - 12 - ], - [ - 592, - 27 - ], - [ - 600, - 13 - ], - [ - 618, - 16 - ], - [ - 624, - 14 - ], - [ - 631, - 15 - ], - [ - 639, - 18 - ], - [ - 646, - 26 - ], - [ - 654, - 26 - ], - [ - 662, - 26 - ], - [ - 673, - 25 - ], - [ - 684, - 39 - ], - [ - 696, - 31 - ], - [ - 702, - 18 - ], - [ - 706, - 18 - ], - [ - 710, - 25 - ], - [ - 713, - 26 - ], - [ - 716, - 21 - ], - [ - 723, - 15 - ], - [ - 733, - 15 - ], - [ - 746, - 15 - ], - [ - 752, - 17 - ], - [ - 762, - 17 - ], - [ - 770, - 17 - ], - [ - 776, - 10 - ], - [ - 786, - 13 - ], - [ - 791, - 14 - ], - [ - 796, - 11 - ], - [ - 801, - 13 - ], - [ - 808, - 11 - ], - [ - 811, - 10 - ], - [ - 816, - 16 - ], - [ - 823, - 17 - ], - [ - 827, - 18 - ], - [ - 830, - 17 - ], - [ - 836, - 20 - ], - [ - 839, - 20 - ], - [ - 843, - 21 - ], - [ - 846, - 20 - ], - [ - 852, - 23 - ], - [ - 855, - 36 - ], - [ - 859, - 21 - ], - [ - 863, - 20 - ], - [ - 884, - 22 - ], - [ - 900, - 23 - ], - [ - 912, - 25 - ], - [ - 924, - 25 - ], - [ - 943, - 12 - ], - [ - 950, - 22 - ], - [ - 955, - 16 - ], - [ - 970, - 24 - ], - [ - 978, - 17 - ], - [ - 994, - 21 - ], - [ - 1006, - 22 - ], - [ - 1012, - 24 - ], - [ - 1023, - 25 - ], - [ - 1031, - 24 - ], - [ - 1034, - 14 - ], - [ - 1046, - 25 - ], - [ - 1057, - 23 - ], - [ - 1084, - 38 - ], - [ - 1102, - 23 - ], - [ - 1144, - 24 - ], - [ - 1158, - 20 - ], - [ - 1173, - 13 - ], - [ - 1178, - 19 - ], - [ - 1201, - 32 - ], - [ - 1214, - 28 - ], - [ - 1223, - 27 - ], - [ - 1234, - 22 - ], - [ - 1237, - 27 - ], - [ - 1241, - 32 - ], - [ - 1244, - 34 - ], - [ - 1249, - 21 - ], - [ - 1256, - 21 - ], - [ - 1298, - 32 - ], - [ - 1304, - 26 - ], - [ - 1313, - 27 - ], - [ - 1316, - 33 - ], - [ - 1325, - 34 - ], - [ - 1334, - 34 - ], - [ - 1348, - 32 - ], - [ - 1371, - 19 - ], - [ - 1416, - 26 - ], - [ - 1424, - 26 - ], - [ - 1432, - 28 - ], - [ - 1435, - 32 - ], - [ - 1440, - 32 - ], - [ - 1470, - 23 - ], - [ - 1481, - 23 - ], - [ - 1563, - 23 - ], - [ - 1573, - 25 - ], - [ - 1575, - 18 - ], - [ - 1578, - 18 - ], - [ - 1581, - 20 - ] - ], - "doc": " Public: Represents the entire visual pane in Atom.\n\nThe EditorView manages the {Editor}, which manages the file buffers.\n\n## Requiring in packages\n\n```coffee\n{EditorView} = require 'atom'\n\nminiEditorView = new EditorView(mini: true)\n```\n\n## Iterating over the open editor views\n\n```coffee\nfor editorView in atom.workspaceView.getEditorViews()\n console.log(editorView.getEditor().getPath())\n```\n\n## Subscribing to every current and future editor\n\n```coffee\natom.workspace.eachEditorView (editorView) ->\n console.log(editorView.getEditor().getPath())\n``` ", - "range": [ - [ - 41, - 0 - ], - [ - 1583, - 35 - ] - ] - } - }, - "42": { - "24": { - "name": "characterWidthCache", - "type": "primitive", - "range": [ - [ - 42, - 24 - ], - [ - 42, - 25 - ] - ], - "bindingType": "classProperty" - } - }, - "44": { - "4": { - "name": "configDefaults", - "type": "primitive", - "range": [ - [ - 44, - 4 - ], - [ - 59, - 32 - ] - ], - "bindingType": "classProperty" - } - }, - "61": { - "17": { - "name": "nextEditorId", - "type": "primitive", - "range": [ - [ - 61, - 17 - ], - [ - 61, - 17 - ] - ], - "bindingType": "classProperty" - } - }, - "63": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 63, - 12 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "12": { - "name": "classes", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 76, - 12 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "17": { - "name": "vScrollMargin", - "type": "primitive", - "range": [ - [ - 81, - 17 - ], - [ - 81, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "82": { - "17": { - "name": "hScrollMargin", - "type": "primitive", - "range": [ - [ - 82, - 17 - ], - [ - 82, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "83": { - "14": { - "name": "lineHeight", - "type": "primitive", - "range": [ - [ - 83, - 14 - ], - [ - 83, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "84": { - "13": { - "name": "charWidth", - "type": "primitive", - "range": [ - [ - 84, - 13 - ], - [ - 84, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "85": { - "14": { - "name": "charHeight", - "type": "primitive", - "range": [ - [ - 85, - 14 - ], - [ - 85, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "86": { - "15": { - "name": "cursorViews", - "type": "primitive", - "range": [ - [ - 86, - 15 - ], - [ - 86, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "87": { - "18": { - "name": "selectionViews", - "type": "primitive", - "range": [ - [ - 87, - 18 - ], - [ - 87, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "88": { - "13": { - "name": "lineCache", - "type": "primitive", - "range": [ - [ - 88, - 13 - ], - [ - 88, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "89": { - "13": { - "name": "isFocused", - "type": "primitive", - "range": [ - [ - 89, - 13 - ], - [ - 89, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "90": { - "10": { - "name": "editor", - "type": "primitive", - "range": [ - [ - 90, - 10 - ], - [ - 90, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "91": { - "12": { - "name": "attached", - "type": "primitive", - "range": [ - [ - 91, - 12 - ], - [ - 91, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "92": { - "16": { - "name": "lineOverdraw", - "type": "primitive", - "range": [ - [ - 92, - 16 - ], - [ - 92, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "93": { - "18": { - "name": "pendingChanges", - "type": "primitive", - "range": [ - [ - 93, - 18 - ], - [ - 93, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "94": { - "14": { - "name": "newCursors", - "type": "primitive", - "range": [ - [ - 94, - 14 - ], - [ - 94, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "95": { - "17": { - "name": "newSelections", - "type": "primitive", - "range": [ - [ - 95, - 17 - ], - [ - 95, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "96": { - "20": { - "name": "redrawOnReattach", - "type": "primitive", - "range": [ - [ - 96, - 20 - ], - [ - 96, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "97": { - "24": { - "name": "bottomPaddingInLines", - "type": "primitive", - "range": [ - [ - 97, - 24 - ], - [ - 97, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "106": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorOrOptions" - ], - "range": [ - [ - 106, - 14 - ], - [ - 141, - 1 - ] - ], - "doc": " Private: The constructor for setting up an `EditorView` instance.\n\neditorOrOptions - Either an {Editor}, or an object with one property, `mini`.\n If `mini` is `true`, a \"miniature\" `Editor` is constructed.\n Typically, this is ideal for scenarios where you need an Atom editor,\n but without all the chrome, like scrollbars, gutter, _e.t.c._.\n\n " - } - }, - "141": { - "12": { - "name": "bindKeys", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 12 - ], - [ - 251, - 1 - ] - ], - "doc": " Private: Sets up the core Atom commands.\n\nSome commands are excluded from mini-editors. " - } - }, - "251": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 251, - 13 - ], - [ - 255, - 1 - ] - ], - "doc": " Public: Get the underlying editor model for this view.\n\nReturns an {Editor}. " - } - }, - "255": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 255, - 11 - ], - [ - 259, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.getText} " - } - }, - "259": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 259, - 11 - ], - [ - 263, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.setText} " - } - }, - "263": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 263, - 14 - ], - [ - 266, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.insertText} " - } - }, - "266": { - "20": { - "name": "setHeightInLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "heightInLines" - ], - "range": [ - [ - 266, - 20 - ], - [ - 271, - 1 - ] - ], - "doc": "~Private~" - } - }, - "271": { - "19": { - "name": "setWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "widthInChars" - ], - "range": [ - [ - 271, - 19 - ], - [ - 277, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.setEditorWidthInChars} " - } - }, - "277": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 277, - 12 - ], - [ - 284, - 1 - ] - ], - "doc": " Public: Emulates the \"page down\" key, where the last row of a buffer scrolls\nto become the first. " - } - }, - "284": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 10 - ], - [ - 292, - 1 - ] - ], - "doc": " Public: Emulates the \"page up\" key, where the frst row of a buffer scrolls\nto become the last. " - } - }, - "292": { - "15": { - "name": "getPageRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 15 - ], - [ - 298, - 1 - ] - ], - "doc": " Private: Gets the number of actual page rows existing in an editor.\n\nReturns a {Number}. " - } - }, - "298": { - "21": { - "name": "setShowInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showInvisibles" - ], - "range": [ - [ - 298, - 21 - ], - [ - 310, - 1 - ] - ], - "doc": " Public: Set whether invisible characters are shown.\n\nshowInvisibles - A {Boolean} which, if `true`, show invisible characters. " - } - }, - "310": { - "17": { - "name": "setInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 310, - 17 - ], - [ - 322, - 1 - ] - ], - "doc": " Public: Defines which characters are invisible.\n\ninvisibles - An {Object} defining the invisible characters:\n :eol - The end of line invisible {String} (default: `\\u00ac`).\n :space - The space invisible {String} (default: `\\u00b7`).\n :tab - The tab invisible {String} (default: `\\u00bb`).\n :cr - The carriage return invisible {String} (default: `\\u00a4`). " - } - }, - "322": { - "22": { - "name": "setShowIndentGuide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showIndentGuide" - ], - "range": [ - [ - 322, - 22 - ], - [ - 332, - 1 - ] - ], - "doc": " Public: Sets whether you want to show the indentation guides.\n\nshowIndentGuide - A {Boolean} you can set to `true` if you want to see the\n indentation guides. " - } - }, - "332": { - "22": { - "name": "setPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "placeholderText" - ], - "range": [ - [ - 332, - 22 - ], - [ - 337, - 1 - ] - ], - "doc": " Public: Set the text to appear in the editor when it is empty.\n\nThis only affects mini editors.\n\nplaceholderText - A {String} of text to display when empty. " - } - }, - "337": { - "22": { - "name": "getPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 337, - 22 - ], - [ - 341, - 1 - ] - ], - "doc": "~Private~" - } - }, - "341": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 341, - 16 - ], - [ - 345, - 1 - ] - ], - "doc": "Private: Checkout the HEAD revision of this editor's file. " - } - }, - "345": { - "13": { - "name": "configure", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 345, - 13 - ], - [ - 354, - 1 - ] - ], - "doc": "~Private~" - } - }, - "354": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 354, - 16 - ], - [ - 436, - 1 - ] - ], - "doc": "~Private~" - } - }, - "436": { - "21": { - "name": "handleInputEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 436, - 21 - ], - [ - 476, - 1 - ] - ], - "doc": "~Private~" - } - }, - "476": { - "28": { - "name": "bringHiddenInputIntoView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 476, - 28 - ], - [ - 479, - 1 - ] - ], - "doc": "~Private~" - } - }, - "479": { - "33": { - "name": "selectOnMousemoveUntilMouseup", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 479, - 33 - ], - [ - 505, - 1 - ] - ], - "doc": "~Private~" - } - }, - "505": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 505, - 15 - ], - [ - 538, - 1 - ] - ], - "doc": "~Private~" - } - }, - "538": { - "8": { - "name": "edit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 538, - 8 - ], - [ - 586, - 1 - ] - ], - "doc": "~Private~" - } - }, - "586": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 586, - 12 - ], - [ - 589, - 1 - ] - ], - "doc": "~Private~" - } - }, - "589": { - "12": { - "name": "setModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 589, - 12 - ], - [ - 592, - 1 - ] - ], - "doc": "~Private~" - } - }, - "592": { - "27": { - "name": "showBufferConflictAlert", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 592, - 27 - ], - [ - 600, - 1 - ] - ], - "doc": "~Private~" - } - }, - "600": { - "13": { - "name": "scrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop", - "options" - ], - "range": [ - [ - 600, - 13 - ], - [ - 618, - 1 - ] - ], - "doc": "~Private~" - } - }, - "618": { - "16": { - "name": "scrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 618, - 16 - ], - [ - 624, - 1 - ] - ], - "doc": "~Private~" - } - }, - "624": { - "14": { - "name": "scrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 624, - 14 - ], - [ - 631, - 1 - ] - ], - "doc": "~Private~" - } - }, - "631": { - "15": { - "name": "scrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 631, - 15 - ], - [ - 639, - 1 - ] - ], - "doc": "~Private~" - } - }, - "639": { - "18": { - "name": "scrollToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 639, - 18 - ], - [ - 646, - 1 - ] - ], - "doc": "Public: Scrolls the editor to the bottom. " - } - }, - "646": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 646, - 26 - ], - [ - 654, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the position of the most recently added\ncursor if it isn't current on screen.\n\nThe editor is centered around the cursor's position if possible. " - } - }, - "654": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 654, - 26 - ], - [ - 662, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given buffer position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " - } - }, - "662": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 662, - 26 - ], - [ - 673, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " - } - }, - "673": { - "25": { - "name": "scrollToPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition", - "options" - ], - "range": [ - [ - 673, - 25 - ], - [ - 684, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given pixel position.\n\npixelPosition - An object that represents a pixel position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or\n {Point}.\noptions - A hash with the following keys:\n :center - if `true`, the position is scrolled such that it's in\n the center of the editor " - } - }, - "684": { - "39": { - "name": "highlightFoldsContainingBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 684, - 39 - ], - [ - 696, - 1 - ] - ], - "doc": " Public: Highlight all the folds within the given buffer range.\n\n\"Highlighting\" essentially just adds the `fold-selected` class to the line's\nDOM element.\n\nbufferRange - The {Range} to check. " - } - }, - "696": { - "31": { - "name": "saveScrollPositionForEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 696, - 31 - ], - [ - 702, - 1 - ] - ], - "doc": "~Private~" - } - }, - "702": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 702, - 18 - ], - [ - 706, - 1 - ] - ], - "doc": "Public: Toggle soft tabs on the edit session. " - } - }, - "706": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 706, - 18 - ], - [ - 710, - 1 - ] - ], - "doc": "Public: Toggle soft wrap on the edit session. " - } - }, - "710": { - "25": { - "name": "calculateWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 710, - 25 - ], - [ - 713, - 1 - ] - ], - "doc": "~Private~" - } - }, - "713": { - "26": { - "name": "calculateHeightInLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 713, - 26 - ], - [ - 716, - 1 - ] - ], - "doc": "~Private~" - } - }, - "716": { - "21": { - "name": "getScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 716, - 21 - ], - [ - 723, - 1 - ] - ], - "doc": "~Private~" - } - }, - "723": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 723, - 15 - ], - [ - 733, - 1 - ] - ], - "doc": " Public: Enables/disables soft wrap on the editor.\n\nsoftWrap - A {Boolean} which, if `true`, enables soft wrap " - } - }, - "733": { - "15": { - "name": "setFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 733, - 15 - ], - [ - 746, - 1 - ] - ], - "doc": " Public: Sets the font size for the editor.\n\nfontSize - A {Number} indicating the font size in pixels. " - } - }, - "746": { - "15": { - "name": "getFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 746, - 15 - ], - [ - 752, - 1 - ] - ], - "doc": " Public: Retrieves the font size for the editor.\n\nReturns a {Number} indicating the font size in pixels. " - } - }, - "752": { - "17": { - "name": "setFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 752, - 17 - ], - [ - 762, - 1 - ] - ], - "doc": " Public: Sets the font family for the editor.\n\nfontFamily - A {String} identifying the CSS `font-family`. " - } - }, - "762": { - "17": { - "name": "getFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 762, - 17 - ], - [ - 762, - 38 - ] - ], - "doc": " Public: Gets the font family for the editor.\n\nReturns a {String} identifying the CSS `font-family`. " - } - }, - "770": { - "17": { - "name": "setLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 770, - 17 - ], - [ - 776, - 1 - ] - ], - "doc": " Public: Sets the line height of the editor.\n\nCalling this method has no effect when called on a mini editor.\n\nlineHeight - A {Number} without a unit suffix identifying the CSS\n`line-height`. " - } - }, - "776": { - "10": { - "name": "redraw", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 776, - 10 - ], - [ - 786, - 1 - ] - ], - "doc": "Public: Redraw the editor " - } - }, - "786": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 786, - 13 - ], - [ - 791, - 1 - ] - ], - "doc": "Public: Split the editor view left. " - } - }, - "791": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 791, - 14 - ], - [ - 796, - 1 - ] - ], - "doc": "Public: Split the editor view right. " - } - }, - "796": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 796, - 11 - ], - [ - 801, - 1 - ] - ], - "doc": "Public: Split the editor view up. " - } - }, - "801": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 801, - 13 - ], - [ - 808, - 1 - ] - ], - "doc": "Public: Split the editor view down. " - } - }, - "808": { - "11": { - "name": "getPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 808, - 11 - ], - [ - 811, - 1 - ] - ], - "doc": " Public: Get this view's pane.\n\nReturns a {Pane}. " - } - }, - "811": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "keepData" - ], - "range": [ - [ - 811, - 10 - ], - [ - 816, - 1 - ] - ], - "doc": "~Private~" - } - }, - "816": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 816, - 16 - ], - [ - 823, - 1 - ] - ], - "doc": "~Private~" - } - }, - "823": { - "17": { - "name": "getCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 823, - 17 - ], - [ - 827, - 1 - ] - ], - "doc": "~Private~" - } - }, - "827": { - "18": { - "name": "getCursorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 827, - 18 - ], - [ - 830, - 1 - ] - ], - "doc": "~Private~" - } - }, - "830": { - "17": { - "name": "addCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursor", - "options" - ], - "range": [ - [ - 830, - 17 - ], - [ - 836, - 1 - ] - ], - "doc": "~Private~" - } - }, - "836": { - "20": { - "name": "removeCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 836, - 20 - ], - [ - 839, - 1 - ] - ], - "doc": "~Private~" - } - }, - "839": { - "20": { - "name": "getSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 839, - 20 - ], - [ - 843, - 1 - ] - ], - "doc": "~Private~" - } - }, - "843": { - "21": { - "name": "getSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 843, - 21 - ], - [ - 846, - 1 - ] - ], - "doc": "~Private~" - } - }, - "846": { - "20": { - "name": "addSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 846, - 20 - ], - [ - 852, - 1 - ] - ], - "doc": "~Private~" - } - }, - "852": { - "23": { - "name": "removeSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selectionView" - ], - "range": [ - [ - 852, - 23 - ], - [ - 855, - 1 - ] - ], - "doc": "~Private~" - } - }, - "855": { - "36": { - "name": "removeAllCursorAndSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 855, - 36 - ], - [ - 859, - 1 - ] - ], - "doc": "~Private~" - } - }, - "859": { - "21": { - "name": "appendToLinesView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 859, - 21 - ], - [ - 863, - 1 - ] - ], - "doc": "~Private~" - } - }, - "863": { - "20": { - "name": "scrollVertically", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition", - null - ], - "range": [ - [ - 863, - 20 - ], - [ - 884, - 1 - ] - ], - "doc": "Private: Scrolls the editor vertically to a given position. " - } - }, - "884": { - "22": { - "name": "scrollHorizontally", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 884, - 22 - ], - [ - 900, - 1 - ] - ], - "doc": "Private: Scrolls the editor horizontally to a given position. " - } - }, - "900": { - "23": { - "name": "calculateDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 900, - 23 - ], - [ - 912, - 1 - ] - ], - "doc": "~Private~" - } - }, - "912": { - "25": { - "name": "recalculateDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 912, - 25 - ], - [ - 924, - 1 - ] - ], - "doc": "~Private~" - } - }, - "924": { - "25": { - "name": "updateLayerDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollViewWidth" - ], - "range": [ - [ - 924, - 25 - ], - [ - 943, - 1 - ] - ], - "doc": "~Private~" - } - }, - "943": { - "12": { - "name": "isHidden", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 943, - 12 - ], - [ - 950, - 1 - ] - ], - "doc": "Private: Override for speed. The base function checks computedStyle, unnecessary here. " - } - }, - "950": { - "22": { - "name": "clearRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 950, - 22 - ], - [ - 955, - 1 - ] - ], - "doc": "~Private~" - } - }, - "955": { - "16": { - "name": "resetDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 955, - 16 - ], - [ - 970, - 1 - ] - ], - "doc": "~Private~" - } - }, - "970": { - "24": { - "name": "requestDisplayUpdate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 970, - 24 - ], - [ - 978, - 1 - ] - ], - "doc": "~Private~" - } - }, - "978": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 978, - 17 - ], - [ - 994, - 1 - ] - ], - "doc": "~Private~" - } - }, - "994": { - "21": { - "name": "updateCursorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 994, - 21 - ], - [ - 1006, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1006": { - "22": { - "name": "shouldUpdateCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 1006, - 22 - ], - [ - 1012, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1012": { - "24": { - "name": "updateSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1012, - 24 - ], - [ - 1023, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1023": { - "25": { - "name": "shouldUpdateSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selectionView" - ], - "range": [ - [ - 1023, - 25 - ], - [ - 1031, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1031": { - "24": { - "name": "syncCursorAnimations", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1031, - 24 - ], - [ - 1034, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1034": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "suppressAutoscroll" - ], - "range": [ - [ - 1034, - 14 - ], - [ - 1046, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1046": { - "25": { - "name": "updatePlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1046, - 25 - ], - [ - 1057, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1057": { - "23": { - "name": "updateRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollViewWidth" - ], - "range": [ - [ - 1057, - 23 - ], - [ - 1084, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1084": { - "38": { - "name": "computeSurroundingEmptyLineChanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "change" - ], - "range": [ - [ - 1084, - 38 - ], - [ - 1102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1102": { - "23": { - "name": "computeIntactRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1102, - 23 - ], - [ - 1144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1144": { - "24": { - "name": "truncateIntactRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges", - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1144, - 24 - ], - [ - 1158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1158": { - "20": { - "name": "clearDirtyRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges" - ], - "range": [ - [ - 1158, - 20 - ], - [ - 1173, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1173": { - "13": { - "name": "clearLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement" - ], - "range": [ - [ - 1173, - 13 - ], - [ - 1178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1178": { - "19": { - "name": "fillDirtyRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges", - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1178, - 19 - ], - [ - 1201, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1201": { - "32": { - "name": "updatePaddingOfRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1201, - 32 - ], - [ - 1214, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1214": { - "28": { - "name": "getFirstVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1214, - 28 - ], - [ - 1223, - 1 - ] - ], - "doc": " Public: Retrieves the number of the row that is visible and currently at the\ntop of the editor.\n\nReturns a {Number}. " - } - }, - "1223": { - "27": { - "name": "getLastVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1223, - 27 - ], - [ - 1234, - 1 - ] - ], - "doc": " Public: Retrieves the number of the row that is visible and currently at the\nbottom of the editor.\n\nReturns a {Number}. " - } - }, - "1234": { - "22": { - "name": "isScreenRowVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 1234, - 22 - ], - [ - 1237, - 1 - ] - ], - "doc": " Public: Given a row number, identifies if it is currently visible.\n\nrow - A row {Number} to check\n\nReturns a {Boolean}. " - } - }, - "1237": { - "27": { - "name": "handleScreenLinesChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "change" - ], - "range": [ - [ - 1237, - 27 - ], - [ - 1241, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1241": { - "32": { - "name": "buildLineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 1241, - 32 - ], - [ - 1244, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1244": { - "34": { - "name": "buildLineElementsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1244, - 34 - ], - [ - 1249, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1249": { - "21": { - "name": "htmlForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1249, - 21 - ], - [ - 1256, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1256": { - "21": { - "name": "htmlForScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine", - "screenRow" - ], - "range": [ - [ - 1256, - 21 - ], - [ - 1271, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1271": { - "21": { - "name": "buildIndentation", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "screenRow", - "editor" - ], - "range": [ - [ - 1271, - 21 - ], - [ - 1298, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1298": { - "32": { - "name": "buildHtmlEndOfLineInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine" - ], - "range": [ - [ - 1298, - 32 - ], - [ - 1304, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1304": { - "26": { - "name": "getEndOfLineInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine" - ], - "range": [ - [ - 1304, - 26 - ], - [ - 1313, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1313": { - "27": { - "name": "lineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 1313, - 27 - ], - [ - 1316, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1316": { - "33": { - "name": "toggleLineCommentsInSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1316, - 33 - ], - [ - 1325, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1325": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1325, - 34 - ], - [ - 1334, - 1 - ] - ], - "doc": " Public: Converts a buffer position to a pixel position.\n\nposition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " - } - }, - "1334": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1334, - 34 - ], - [ - 1348, - 1 - ] - ], - "doc": " Public: Converts a screen position to a pixel position.\n\nposition - An object that represents a screen position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " - } - }, - "1348": { - "32": { - "name": "positionLeftForLineAndColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement", - "screenRow", - "screenColumn" - ], - "range": [ - [ - 1348, - 32 - ], - [ - 1371, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1371": { - "19": { - "name": "measureToColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement", - "tokenizedLine", - "screenColumn" - ], - "range": [ - [ - 1371, - 19 - ], - [ - 1416, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1416": { - "26": { - "name": "getCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "char" - ], - "range": [ - [ - 1416, - 26 - ], - [ - 1424, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1424": { - "26": { - "name": "setCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "char", - "val" - ], - "range": [ - [ - 1424, - 26 - ], - [ - 1432, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1432": { - "28": { - "name": "clearCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1432, - 28 - ], - [ - 1435, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1435": { - "32": { - "name": "pixelOffsetForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1435, - 32 - ], - [ - 1440, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1440": { - "32": { - "name": "screenPositionFromMouseEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 1440, - 32 - ], - [ - 1470, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1470": { - "23": { - "name": "highlightCursorLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1470, - 23 - ], - [ - 1481, - 1 - ] - ], - "doc": "Private: Highlights the current line the cursor is on. " - } - }, - "1481": { - "23": { - "name": "copyPathToClipboard", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1481, - 23 - ], - [ - 1485, - 1 - ] - ], - "doc": "Private: Copies the current file path to the native clipboard. " - } - }, - "1485": { - "18": { - "name": "buildLineHtml", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 1485, - 18 - ], - [ - 1513, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1513": { - "21": { - "name": "updateScopeStack", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 1513, - 21 - ], - [ - 1529, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1529": { - "14": { - "name": "pushScope", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack", - "scope" - ], - "range": [ - [ - 1529, - 14 - ], - [ - 1533, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1533": { - "13": { - "name": "popScope", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack" - ], - "range": [ - [ - 1533, - 13 - ], - [ - 1537, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1537": { - "23": { - "name": "buildEmptyLineHtml", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "showIndentGuide", - "eolInvisibles", - "htmlEolInvisibles", - "indentation", - "editor", - "mini" - ], - "range": [ - [ - 1537, - 23 - ], - [ - 1563, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1563": { - "23": { - "name": "replaceSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "replaceFn" - ], - "range": [ - [ - 1563, - 23 - ], - [ - 1573, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1573": { - "25": { - "name": "consolidateSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 1573, - 25 - ], - [ - 1573, - 89 - ] - ], - "doc": "~Private~" - } - }, - "1575": { - "18": { - "name": "logCursorScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1575, - 18 - ], - [ - 1578, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1578": { - "18": { - "name": "logScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 1578, - 18 - ], - [ - 1581, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1581": { - "20": { - "name": "logRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1581, - 20 - ], - [ - 1583, - 35 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 41 - }, - "src/editor.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "3": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 3, - 12 - ], - [ - 3, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@1.x" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 6, - 8 - ], - [ - 6, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "7": { - "15": { - "name": "LanguageMode", - "type": "import", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 39 - ] - ], - "bindingType": "variable", - "path": "./language-mode" - } - }, - "8": { - "16": { - "name": "DisplayBuffer", - "type": "import", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 41 - ] - ], - "bindingType": "variable", - "path": "./display-buffer" - } - }, - "9": { - "9": { - "name": "Cursor", - "type": "import", - "range": [ - [ - 9, - 9 - ], - [ - 9, - 26 - ] - ], - "bindingType": "variable", - "path": "./cursor" - } - }, - "10": { - "12": { - "name": "Selection", - "type": "import", - "range": [ - [ - 10, - 12 - ], - [ - 10, - 32 - ] - ], - "bindingType": "variable", - "path": "./selection" - } - }, - "11": { - "24": { - "type": "primitive", - "range": [ - [ - 11, - 24 - ], - [ - 11, - 58 - ] - ] - } - }, - "138": { - "0": { - "type": "class", - "name": "Editor", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 143, - 17 - ], - [ - 144, - 32 - ], - [ - 145, - 18 - ], - [ - 146, - 10 - ], - [ - 147, - 16 - ], - [ - 148, - 11 - ], - [ - 149, - 14 - ], - [ - 150, - 28 - ], - [ - 151, - 20 - ], - [ - 152, - 26 - ], - [ - 161, - 15 - ], - [ - 190, - 19 - ], - [ - 197, - 21 - ], - [ - 202, - 21 - ], - [ - 215, - 28 - ], - [ - 228, - 16 - ], - [ - 234, - 13 - ], - [ - 242, - 8 - ], - [ - 258, - 12 - ], - [ - 271, - 16 - ], - [ - 281, - 14 - ], - [ - 288, - 25 - ], - [ - 292, - 21 - ], - [ - 296, - 15 - ], - [ - 301, - 15 - ], - [ - 304, - 18 - ], - [ - 307, - 15 - ], - [ - 312, - 15 - ], - [ - 315, - 18 - ], - [ - 323, - 14 - ], - [ - 328, - 16 - ], - [ - 331, - 16 - ], - [ - 339, - 16 - ], - [ - 361, - 22 - ], - [ - 369, - 19 - ], - [ - 381, - 27 - ], - [ - 396, - 30 - ], - [ - 414, - 22 - ], - [ - 418, - 21 - ], - [ - 428, - 8 - ], - [ - 435, - 10 - ], - [ - 437, - 16 - ], - [ - 442, - 23 - ], - [ - 447, - 11 - ], - [ - 450, - 11 - ], - [ - 453, - 11 - ], - [ - 458, - 18 - ], - [ - 461, - 16 - ], - [ - 464, - 13 - ], - [ - 467, - 10 - ], - [ - 470, - 20 - ], - [ - 473, - 24 - ], - [ - 479, - 25 - ], - [ - 482, - 24 - ], - [ - 486, - 20 - ], - [ - 494, - 27 - ], - [ - 500, - 20 - ], - [ - 506, - 26 - ], - [ - 509, - 8 - ], - [ - 512, - 21 - ], - [ - 515, - 30 - ], - [ - 518, - 14 - ], - [ - 520, - 11 - ], - [ - 524, - 22 - ], - [ - 536, - 35 - ], - [ - 546, - 35 - ], - [ - 551, - 29 - ], - [ - 556, - 29 - ], - [ - 573, - 22 - ], - [ - 576, - 20 - ], - [ - 579, - 22 - ], - [ - 582, - 22 - ], - [ - 585, - 26 - ], - [ - 588, - 20 - ], - [ - 591, - 27 - ], - [ - 593, - 25 - ], - [ - 605, - 27 - ], - [ - 614, - 31 - ], - [ - 618, - 26 - ], - [ - 624, - 19 - ], - [ - 626, - 18 - ], - [ - 633, - 14 - ], - [ - 639, - 17 - ], - [ - 643, - 22 - ], - [ - 649, - 22 - ], - [ - 668, - 10 - ], - [ - 674, - 13 - ], - [ - 678, - 30 - ], - [ - 683, - 30 - ], - [ - 690, - 27 - ], - [ - 696, - 27 - ], - [ - 701, - 10 - ], - [ - 708, - 21 - ], - [ - 714, - 21 - ], - [ - 718, - 14 - ], - [ - 722, - 22 - ], - [ - 726, - 23 - ], - [ - 734, - 33 - ], - [ - 739, - 26 - ], - [ - 744, - 30 - ], - [ - 751, - 18 - ], - [ - 758, - 19 - ], - [ - 765, - 20 - ], - [ - 779, - 13 - ], - [ - 798, - 8 - ], - [ - 803, - 8 - ], - [ - 812, - 18 - ], - [ - 817, - 20 - ], - [ - 822, - 21 - ], - [ - 826, - 11 - ], - [ - 830, - 13 - ], - [ - 836, - 24 - ], - [ - 846, - 17 - ], - [ - 852, - 19 - ], - [ - 862, - 25 - ], - [ - 865, - 25 - ], - [ - 870, - 14 - ], - [ - 874, - 21 - ], - [ - 878, - 39 - ], - [ - 884, - 25 - ], - [ - 893, - 23 - ], - [ - 901, - 23 - ], - [ - 909, - 23 - ], - [ - 913, - 34 - ], - [ - 917, - 34 - ], - [ - 921, - 34 - ], - [ - 926, - 14 - ], - [ - 979, - 16 - ], - [ - 1034, - 18 - ], - [ - 1060, - 17 - ], - [ - 1072, - 22 - ], - [ - 1075, - 23 - ], - [ - 1096, - 32 - ], - [ - 1137, - 18 - ], - [ - 1140, - 19 - ], - [ - 1144, - 13 - ], - [ - 1148, - 14 - ], - [ - 1170, - 15 - ], - [ - 1179, - 19 - ], - [ - 1188, - 19 - ], - [ - 1197, - 22 - ], - [ - 1206, - 22 - ], - [ - 1210, - 17 - ], - [ - 1216, - 18 - ], - [ - 1220, - 22 - ], - [ - 1224, - 14 - ], - [ - 1227, - 13 - ], - [ - 1233, - 29 - ], - [ - 1240, - 29 - ], - [ - 1245, - 13 - ], - [ - 1255, - 16 - ], - [ - 1264, - 16 - ], - [ - 1288, - 30 - ], - [ - 1301, - 26 - ], - [ - 1311, - 26 - ], - [ - 1321, - 27 - ], - [ - 1336, - 19 - ], - [ - 1342, - 19 - ], - [ - 1347, - 25 - ], - [ - 1355, - 31 - ], - [ - 1361, - 17 - ], - [ - 1363, - 27 - ], - [ - 1374, - 16 - ], - [ - 1381, - 20 - ], - [ - 1388, - 40 - ], - [ - 1394, - 28 - ], - [ - 1403, - 34 - ], - [ - 1415, - 27 - ], - [ - 1422, - 27 - ], - [ - 1428, - 22 - ], - [ - 1439, - 27 - ], - [ - 1446, - 27 - ], - [ - 1453, - 26 - ], - [ - 1460, - 26 - ], - [ - 1468, - 27 - ], - [ - 1476, - 27 - ], - [ - 1482, - 19 - ], - [ - 1490, - 24 - ], - [ - 1499, - 24 - ], - [ - 1505, - 34 - ], - [ - 1511, - 22 - ], - [ - 1515, - 16 - ], - [ - 1519, - 18 - ], - [ - 1523, - 18 - ], - [ - 1527, - 19 - ], - [ - 1533, - 19 - ], - [ - 1539, - 22 - ], - [ - 1543, - 37 - ], - [ - 1547, - 31 - ], - [ - 1551, - 36 - ], - [ - 1555, - 31 - ], - [ - 1559, - 25 - ], - [ - 1563, - 31 - ], - [ - 1567, - 25 - ], - [ - 1571, - 35 - ], - [ - 1575, - 36 - ], - [ - 1579, - 32 - ], - [ - 1583, - 40 - ], - [ - 1587, - 44 - ], - [ - 1596, - 26 - ], - [ - 1599, - 10 - ], - [ - 1604, - 12 - ], - [ - 1609, - 16 - ], - [ - 1612, - 18 - ], - [ - 1616, - 18 - ], - [ - 1619, - 15 - ], - [ - 1626, - 15 - ], - [ - 1636, - 26 - ], - [ - 1645, - 15 - ], - [ - 1652, - 14 - ], - [ - 1659, - 12 - ], - [ - 1666, - 14 - ], - [ - 1673, - 15 - ], - [ - 1679, - 13 - ], - [ - 1686, - 18 - ], - [ - 1693, - 27 - ], - [ - 1702, - 32 - ], - [ - 1709, - 21 - ], - [ - 1716, - 32 - ], - [ - 1723, - 28 - ], - [ - 1729, - 14 - ], - [ - 1740, - 21 - ], - [ - 1751, - 21 - ], - [ - 1759, - 28 - ], - [ - 1776, - 13 - ], - [ - 1791, - 13 - ], - [ - 1798, - 13 - ], - [ - 1809, - 13 - ], - [ - 1816, - 27 - ], - [ - 1823, - 21 - ], - [ - 1830, - 31 - ], - [ - 1834, - 14 - ], - [ - 1841, - 36 - ], - [ - 1848, - 40 - ], - [ - 1856, - 16 - ], - [ - 1863, - 16 - ], - [ - 1873, - 27 - ], - [ - 1879, - 28 - ], - [ - 1883, - 22 - ], - [ - 1889, - 31 - ], - [ - 1910, - 40 - ], - [ - 1919, - 14 - ], - [ - 1926, - 14 - ], - [ - 1930, - 17 - ], - [ - 1933, - 20 - ], - [ - 1944, - 12 - ], - [ - 1952, - 20 - ], - [ - 1958, - 21 - ], - [ - 1962, - 20 - ], - [ - 1964, - 11 - ], - [ - 1967, - 18 - ], - [ - 1969, - 22 - ], - [ - 1972, - 23 - ], - [ - 1976, - 23 - ], - [ - 1980, - 32 - ], - [ - 1983, - 27 - ], - [ - 1984, - 27 - ], - [ - 1986, - 29 - ], - [ - 1987, - 29 - ], - [ - 1989, - 25 - ], - [ - 1990, - 25 - ], - [ - 1992, - 29 - ], - [ - 1994, - 22 - ], - [ - 1995, - 22 - ], - [ - 1997, - 23 - ], - [ - 1999, - 25 - ], - [ - 2001, - 23 - ], - [ - 2002, - 23 - ], - [ - 2004, - 13 - ], - [ - 2005, - 13 - ], - [ - 2007, - 19 - ], - [ - 2009, - 12 - ], - [ - 2010, - 12 - ], - [ - 2012, - 16 - ], - [ - 2013, - 16 - ], - [ - 2015, - 19 - ], - [ - 2016, - 19 - ], - [ - 2018, - 17 - ], - [ - 2019, - 17 - ], - [ - 2021, - 18 - ], - [ - 2022, - 18 - ], - [ - 2024, - 19 - ], - [ - 2025, - 18 - ], - [ - 2027, - 22 - ], - [ - 2029, - 29 - ], - [ - 2031, - 38 - ], - [ - 2033, - 34 - ], - [ - 2035, - 34 - ], - [ - 2037, - 34 - ], - [ - 2039, - 27 - ], - [ - 2041, - 23 - ], - [ - 2043, - 26 - ], - [ - 2045, - 26 - ], - [ - 2047, - 26 - ], - [ - 2049, - 24 - ], - [ - 2051, - 32 - ], - [ - 2052, - 32 - ], - [ - 2054, - 29 - ], - [ - 2055, - 29 - ], - [ - 2058, - 12 - ] - ], - "doc": " Public: This class represents all essential editing state for a single\n{TextBuffer}, including cursor and selection positions, folds, and soft wraps.\nIf you're manipulating the state of an editor, use this class. If you're\ninterested in the visual appearance of editors, use {EditorView} instead.\n\nA single {TextBuffer} can belong to multiple editors. For example, if the\nsame file is open in two different panes, Atom creates a separate editor for\neach pane. If the buffer is manipulated the changes are reflected in both\neditors, but each maintains its own cursor position, folded lines, etc.\n\n## Accessing Editor Instances\n\nThe easiest way to get hold of `Editor` objects is by registering a callback\nwith `::eachEditor` on the `atom.workspace` global. Your callback will then\nbe called with all current editor instances and also when any editor is\ncreated in the future.\n\n```coffeescript\n atom.workspace.eachEditor (editor) ->\n editor.insertText('Hello World')\n```\n\n## Buffer vs. Screen Coordinates\n\nBecause editors support folds and soft-wrapping, the lines on screen don't\nalways match the lines in the buffer. For example, a long line that soft wraps\ntwice renders as three lines on screen, but only represents one line in the\nbuffer. Similarly, if rows 5-10 are folded, then row 6 on screen corresponds\nto row 11 in the buffer.\n\nYour choice of coordinates systems will depend on what you're trying to\nachieve. For example, if you're writing a command that jumps the cursor up or\ndown by 10 lines, you'll want to use screen coordinates because the user\nprobably wants to skip lines *on screen*. However, if you're writing a package\nthat jumps between method definitions, you'll want to work in buffer\ncoordinates.\n\n**When in doubt, just default to buffer coordinates**, then experiment with\nsoft wraps and folds to ensure your code interacts with them correctly.\n\n## Common Tasks\n\nThis is a subset of methods on this class. Refer to the complete summary for\nits full capabilities.\n\n### Cursors\n- {::setCursorBufferPosition}\n- {::setCursorScreenPosition}\n- {::moveCursorUp}\n- {::moveCursorDown}\n- {::moveCursorLeft}\n- {::moveCursorRight}\n- {::moveCursorToBeginningOfWord}\n- {::moveCursorToEndOfWord}\n- {::moveCursorToPreviousWordBoundary}\n- {::moveCursorToNextWordBoundary}\n- {::moveCursorToBeginningOfNextWord}\n- {::moveCursorToBeginningOfLine}\n- {::moveCursorToEndOfLine}\n- {::moveCursorToFirstCharacterOfLine}\n- {::moveCursorToTop}\n- {::moveCursorToBottom}\n\n### Selections\n- {::getSelectedBufferRange}\n- {::getSelectedBufferRanges}\n- {::setSelectedBufferRange}\n- {::setSelectedBufferRanges}\n- {::selectUp}\n- {::selectDown}\n- {::selectLeft}\n- {::selectRight}\n- {::selectToBeginningOfWord}\n- {::selectToEndOfWord}\n- {::selectToPreviousWordBoundary}\n- {::selectToNextWordBoundary}\n- {::selectWord}\n- {::selectToBeginningOfLine}\n- {::selectToEndOfLine}\n- {::selectToFirstCharacterOfLine}\n- {::selectToTop}\n- {::selectToBottom}\n- {::selectAll}\n- {::addSelectionForBufferRange}\n- {::addSelectionAbove}\n- {::addSelectionBelow}\n- {::splitSelectionsIntoLines}\n\n### Manipulating Text\n- {::getText}\n- {::getSelectedText}\n- {::setText}\n- {::setTextInBufferRange}\n- {::insertText}\n- {::insertNewline}\n- {::insertNewlineAbove}\n- {::insertNewlineBelow}\n- {::backspace}\n- {::deleteToBeginningOfWord}\n- {::deleteToBeginningOfLine}\n- {::delete}\n- {::deleteToEndOfLine}\n- {::deleteToEndOfWord}\n- {::deleteLine}\n- {::cutSelectedText}\n- {::cutToEndOfLine}\n- {::copySelectedText}\n- {::pasteText}\n\n### Undo, Redo, and Transactions\n- {::undo}\n- {::redo}\n- {::transact}\n- {::abortTransaction}\n\n### Markers\n- {::markBufferRange}\n- {::markScreenRange}\n- {::getMarker}\n- {::findMarkers}\n\n### Decorations\n- {::decorateMarker}\n- {::decorationsForScreenRowRange} ", - "range": [ - [ - 138, - 0 - ], - [ - 2060, - 16 - ] - ] - } - }, - "143": { - "17": { - "name": "deserializing", - "type": "primitive", - "range": [ - [ - 143, - 17 - ], - [ - 143, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "144": { - "32": { - "name": "callDisplayBufferCreatedHook", - "type": "primitive", - "range": [ - [ - 144, - 32 - ], - [ - 144, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "145": { - "18": { - "name": "registerEditor", - "type": "primitive", - "range": [ - [ - 145, - 18 - ], - [ - 145, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "146": { - "10": { - "name": "buffer", - "type": "primitive", - "range": [ - [ - 146, - 10 - ], - [ - 146, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "147": { - "16": { - "name": "languageMode", - "type": "primitive", - "range": [ - [ - 147, - 16 - ], - [ - 147, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "148": { - "11": { - "name": "cursors", - "type": "primitive", - "range": [ - [ - 148, - 11 - ], - [ - 148, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "149": { - "14": { - "name": "selections", - "type": "primitive", - "range": [ - [ - 149, - 14 - ], - [ - 149, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "150": { - "28": { - "name": "suppressSelectionMerging", - "type": "primitive", - "range": [ - [ - 150, - 28 - ], - [ - 150, - 32 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "151": { - "20": { - "name": "updateBatchDepth", - "type": "primitive", - "range": [ - [ - 151, - 20 - ], - [ - 151, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "152": { - "26": { - "name": "selectionFlashDuration", - "type": "primitive", - "range": [ - [ - 152, - 26 - ], - [ - 152, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "161": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 161, - 15 - ], - [ - 190, - 1 - ] - ], - "doc": "~Private~" - } - }, - "190": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 19 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 197, - 21 - ], - [ - 202, - 1 - ] - ], - "doc": "~Private~" - } - }, - "202": { - "21": { - "name": "subscribeToBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 202, - 21 - ], - [ - 215, - 1 - ] - ], - "doc": "~Private~" - } - }, - "215": { - "28": { - "name": "subscribeToDisplayBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 215, - 28 - ], - [ - 228, - 1 - ] - ], - "doc": "~Private~" - } - }, - "228": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 228, - 16 - ], - [ - 234, - 1 - ] - ], - "doc": "~Private~" - } - }, - "234": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 13 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 242, - 8 - ], - [ - 258, - 1 - ] - ], - "doc": "Private: Create an {Editor} with its initial state based on this object " - } - }, - "258": { - "12": { - "name": "getTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 258, - 12 - ], - [ - 271, - 1 - ] - ], - "doc": " Public: Get the title the editor's title for display in other parts of the\nUI such as the tabs.\n\nIf the editor's buffer is saved, its title is the file name. If it is\nunsaved, its title is \"untitled\".\n\nReturns a {String}. " - } - }, - "271": { - "16": { - "name": "getLongTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 271, - 16 - ], - [ - 281, - 1 - ] - ], - "doc": " Public: Get the editor's long title for display in other parts of the UI\nsuch as the window title.\n\nIf the editor's buffer is saved, its long title is formatted as\n\" - \". If it is unsaved, its title is \"untitled\"\n\nReturns a {String}. " - } - }, - "281": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 281, - 14 - ], - [ - 281, - 60 - ] - ], - "doc": "Private: Controls visibility based on the given {Boolean}. " - } - }, - "288": { - "25": { - "name": "setEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorWidthInChars" - ], - "range": [ - [ - 288, - 25 - ], - [ - 292, - 1 - ] - ], - "doc": " Private: Set the number of characters that can be displayed horizontally in the\neditor.\n\neditorWidthInChars - A {Number} representing the width of the {EditorView}\nin characters. " - } - }, - "292": { - "21": { - "name": "getSoftWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 21 - ], - [ - 292, - 57 - ] - ], - "doc": "Public: Sets the column at which column will soft wrap " - } - }, - "296": { - "15": { - "name": "getSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 296, - 15 - ], - [ - 296, - 26 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether softTabs are enabled for this\neditor. " - } - }, - "301": { - "15": { - "name": "setSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 301, - 15 - ], - [ - 301, - 38 - ] - ], - "doc": " Public: Enable or disable soft tabs for this editor.\n\nsoftTabs - A {Boolean} " - } - }, - "304": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 304, - 18 - ], - [ - 304, - 52 - ] - ], - "doc": "Public: Toggle soft tabs for this editor " - } - }, - "307": { - "15": { - "name": "getSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 307, - 15 - ], - [ - 307, - 45 - ] - ], - "doc": "Public: Get whether soft wrap is enabled for this editor. " - } - }, - "312": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 312, - 15 - ], - [ - 312, - 64 - ] - ], - "doc": " Public: Enable or disable soft wrap for this editor.\n\nsoftWrap - A {Boolean} " - } - }, - "315": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 18 - ], - [ - 315, - 52 - ] - ], - "doc": "Public: Toggle soft wrap for this editor " - } - }, - "323": { - "14": { - "name": "getTabText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 323, - 14 - ], - [ - 323, - 37 - ] - ], - "doc": " Public: Get the text representing a single level of indent.\n\nIf soft tabs are enabled, the text is composed of N spaces, where N is the\ntab length. Otherwise the text is a tab character (`\\t`).\n\nReturns a {String}. " - } - }, - "328": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 328, - 16 - ], - [ - 328, - 47 - ] - ], - "doc": " Public: Get the on-screen length of tab characters.\n\nReturns a {Number}. " - } - }, - "331": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 331, - 16 - ], - [ - 331, - 68 - ] - ], - "doc": "Public: Set the on-screen length of tab characters. " - } - }, - "339": { - "16": { - "name": "usesSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 339, - 16 - ], - [ - 361, - 1 - ] - ], - "doc": " Public: Determine if the buffer uses hard or soft tabs.\n\nReturns `true` if the first non-comment line with leading whitespace starts\nwith a space character. Returns `false` if it starts with a hard tab (`\\t`).\n\nReturns a {Boolean}, " - } - }, - "361": { - "22": { - "name": "clipBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 361, - 22 - ], - [ - 361, - 77 - ] - ], - "doc": " Public: Clip the given {Point} to a valid position in the buffer.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the buffer, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " - } - }, - "369": { - "19": { - "name": "clipBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 369, - 19 - ], - [ - 369, - 53 - ] - ], - "doc": " Public: Clip the start and end of the given range to valid positions in the\nbuffer. See {::clipBufferPosition} for more information.\n\nrange - The {Range} to clip.\n\nReturns a {Range}. " - } - }, - "381": { - "27": { - "name": "indentationForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 381, - 27 - ], - [ - 396, - 1 - ] - ], - "doc": " Public: Get the indentation level of the given a buffer row.\n\nReturns how deeply the given row is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nbufferRow - A {Number} indicating the buffer row.\n\nReturns a {Number}. " - } - }, - "396": { - "30": { - "name": "setIndentationForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "newLevel", - null - ], - "range": [ - [ - 396, - 30 - ], - [ - 414, - 1 - ] - ], - "doc": " Public: Set the indentation level for the given buffer row.\n\nInserts or removes hard tabs or spaces based on the soft tabs and tab length\nsettings of this editor in order to bring it to the given indentation level.\nNote that if soft tabs are enabled and the tab length is 2, a row with 4\nleading spaces would have an indentation level of 2.\n\nbufferRow - A {Number} indicating the buffer row.\nnewLevel - A {Number} indicating the new indentation level.\noptions - An {Object} with the following keys:\n :preserveLeadingWhitespace - true to preserve any whitespace already at\n the beginning of the line (default: false). " - } - }, - "414": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 414, - 22 - ], - [ - 418, - 1 - ] - ], - "doc": " Public: Get the indentation level of the given line of text.\n\nReturns how deeply the given line is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nline - A {String} representing a line of text.\n\nReturns a {Number}. " - } - }, - "418": { - "21": { - "name": "buildIndentString", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "number", - "column" - ], - "range": [ - [ - 418, - 21 - ], - [ - 428, - 1 - ] - ], - "doc": "Private: Constructs the string used for tabs. " - } - }, - "428": { - "8": { - "name": "save", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 8 - ], - [ - 428, - 24 - ] - ], - "doc": " Public: Saves the editor's text buffer.\n\nSee {TextBuffer::save} for more details. " - } - }, - "435": { - "10": { - "name": "saveAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 435, - 10 - ], - [ - 435, - 47 - ] - ], - "doc": " Public: Saves the editor's text buffer as the given path.\n\nSee {TextBuffer::saveAs} for more details.\n\nfilePath - A {String} path. " - } - }, - "437": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 437, - 16 - ], - [ - 442, - 1 - ] - ], - "doc": "~Private~" - } - }, - "442": { - "23": { - "name": "copyPathToClipboard", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 442, - 23 - ], - [ - 447, - 1 - ] - ], - "doc": "Private: Copies the current file path to the native clipboard. " - } - }, - "447": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 447, - 11 - ], - [ - 447, - 30 - ] - ], - "doc": "Public: Returns the {String} path of this editor's text buffer. " - } - }, - "450": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 450, - 11 - ], - [ - 450, - 30 - ] - ], - "doc": "Public: Returns a {String} representing the entire contents of the editor. " - } - }, - "453": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 453, - 11 - ], - [ - 453, - 41 - ] - ], - "doc": "Public: Replaces the entire contents of the buffer with the given {String}. " - } - }, - "458": { - "18": { - "name": "getTextInRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 458, - 18 - ], - [ - 458, - 57 - ] - ], - "doc": " Private: Get the text in the given {Range}.\n\nReturns a {String}. " - } - }, - "461": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 461, - 16 - ], - [ - 461, - 40 - ] - ], - "doc": "Public: Returns a {Number} representing the number of lines in the editor. " - } - }, - "464": { - "13": { - "name": "getBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 464, - 13 - ], - [ - 464, - 22 - ] - ], - "doc": "Private: Retrieves the current {TextBuffer}. " - } - }, - "467": { - "10": { - "name": "getUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 467, - 10 - ], - [ - 467, - 28 - ] - ], - "doc": "Public: Retrieves the current buffer's URI. " - } - }, - "470": { - "20": { - "name": "isBufferRowBlank", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 470, - 20 - ], - [ - 470, - 63 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.isRowBlank} " - } - }, - "473": { - "24": { - "name": "isBufferRowCommented", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 473, - 24 - ], - [ - 479, - 1 - ] - ], - "doc": "Public: Determine if the given row is entirely a comment " - } - }, - "479": { - "25": { - "name": "nextNonBlankBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 479, - 25 - ], - [ - 479, - 73 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.nextNonBlankRow} " - } - }, - "482": { - "24": { - "name": "getEofBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 482, - 24 - ], - [ - 482, - 50 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.getEndPosition} " - } - }, - "486": { - "20": { - "name": "getLastBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 486, - 20 - ], - [ - 486, - 42 - ] - ], - "doc": " Public: Returns a {Number} representing the last zero-indexed buffer row\nnumber of the editor. " - } - }, - "494": { - "27": { - "name": "bufferRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - null - ], - "range": [ - [ - 494, - 27 - ], - [ - 494, - 96 - ] - ], - "doc": " Private: Returns the range for the given buffer row.\n\nrow - A row {Number}.\noptions - An options hash with an `includeNewline` key.\n\nReturns a {Range}. " - } - }, - "500": { - "20": { - "name": "lineForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 500, - 20 - ], - [ - 500, - 51 - ] - ], - "doc": " Public: Returns a {String} representing the contents of the line at the\ngiven buffer row.\n\nrow - A {Number} representing a zero-indexed buffer row. " - } - }, - "506": { - "26": { - "name": "lineLengthForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 506, - 26 - ], - [ - 506, - 63 - ] - ], - "doc": " Public: Returns a {Number} representing the line length for the given\nbuffer row, exclusive of its line-ending character(s).\n\nrow - A {Number} indicating the buffer row. " - } - }, - "509": { - "8": { - "name": "scan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 509, - 8 - ], - [ - 509, - 41 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.scan} " - } - }, - "512": { - "21": { - "name": "scanInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 512, - 21 - ], - [ - 512, - 61 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.scanInRange} " - } - }, - "515": { - "30": { - "name": "backwardsScanInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 515, - 30 - ], - [ - 515, - 79 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.backwardsScanInRange} " - } - }, - "518": { - "14": { - "name": "isModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 518, - 14 - ], - [ - 518, - 36 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.isModified} " - } - }, - "520": { - "11": { - "name": "isEmpty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 520, - 11 - ], - [ - 520, - 30 - ] - ], - "doc": "~Private~" - } - }, - "524": { - "22": { - "name": "shouldPromptToSave", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 524, - 22 - ], - [ - 524, - 74 - ] - ], - "doc": " Public: Determine whether the user should be prompted to save before closing\nthis editor. " - } - }, - "536": { - "35": { - "name": "screenPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 536, - 35 - ], - [ - 536, - 134 - ] - ], - "doc": " Public: Convert a position in buffer-coordinates to screen-coordinates.\n\nThe position is clipped via {::clipBufferPosition} prior to the conversion.\nThe position is also clipped via {::clipScreenPosition} following the\nconversion, which only makes a difference when `options` are supplied.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " - } - }, - "546": { - "35": { - "name": "bufferPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 546, - 35 - ], - [ - 546, - 134 - ] - ], - "doc": " Public: Convert a position in screen-coordinates to buffer-coordinates.\n\nThe position is clipped via {::clipScreenPosition} prior to the conversion.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " - } - }, - "551": { - "29": { - "name": "screenRangeForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 551, - 29 - ], - [ - 551, - 98 - ] - ], - "doc": " Public: Convert a range in buffer-coordinates to screen-coordinates.\n\nReturns a {Range}. " - } - }, - "556": { - "29": { - "name": "bufferRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 556, - 29 - ], - [ - 556, - 98 - ] - ], - "doc": " Public: Convert a range in screen-coordinates to buffer-coordinates.\n\nReturns a {Range}. " - } - }, - "573": { - "22": { - "name": "clipScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 573, - 22 - ], - [ - 573, - 108 - ] - ], - "doc": " Public: Clip the given {Point} to a valid position on screen.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the screen, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at screen row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " - } - }, - "576": { - "20": { - "name": "lineForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 576, - 20 - ], - [ - 576, - 58 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.lineForRow} " - } - }, - "579": { - "22": { - "name": "linesForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 579, - 22 - ], - [ - 579, - 76 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.linesForRows} " - } - }, - "582": { - "22": { - "name": "getScreenLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 582, - 22 - ], - [ - 582, - 53 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getLineCount} " - } - }, - "585": { - "26": { - "name": "getMaxScreenLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 585, - 26 - ], - [ - 585, - 61 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getMaxLineLength} " - } - }, - "588": { - "20": { - "name": "getLastScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 588, - 20 - ], - [ - 588, - 49 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getLastRow} " - } - }, - "591": { - "27": { - "name": "bufferRowsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 591, - 27 - ], - [ - 591, - 104 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.bufferRowsForScreenRows} " - } - }, - "593": { - "25": { - "name": "bufferRowForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 593, - 25 - ], - [ - 593, - 74 - ] - ], - "doc": "~Private~" - } - }, - "605": { - "27": { - "name": "scopesForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 605, - 27 - ], - [ - 605, - 100 - ] - ], - "doc": " Public: Get the syntactic scopes for the given position in buffer\ncoordinates.\n\nFor example, if called with a position inside the parameter list of an\nanonymous CoffeeScript function, the method returns the following array:\n`[\"source.coffee\", \"meta.inline.function.coffee\", \"variable.parameter.function.coffee\"]`\n\nbufferPosition - A {Point} or {Array} of [row, column].\n\nReturns an {Array} of {String}s. " - } - }, - "614": { - "31": { - "name": "bufferRangeForScopeAtCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 614, - 31 - ], - [ - 618, - 1 - ] - ], - "doc": " Public: Get the range in buffer coordinates of all tokens surrounding the\ncursor that match the given scope selector.\n\nFor example, if you wanted to find the string surrounding the cursor, you\ncould call `editor.bufferRangeForScopeAtCursor(\".string.quoted\")`.\n\nReturns a {Range}. " - } - }, - "618": { - "26": { - "name": "tokenForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 618, - 26 - ], - [ - 618, - 98 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.tokenForBufferPosition} " - } - }, - "624": { - "19": { - "name": "getCursorScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 624, - 19 - ], - [ - 624, - 45 - ] - ], - "doc": " Public: Get the syntactic scopes for the most recently added cursor's\nposition. See {::scopesForBufferPosition} for more information.\n\nReturns an {Array} of {String}s. " - } - }, - "626": { - "18": { - "name": "logCursorScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 626, - 18 - ], - [ - 633, - 1 - ] - ], - "doc": "~Private~" - } - }, - "633": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 633, - 14 - ], - [ - 639, - 1 - ] - ], - "doc": " Public: For each selection, replace the selected text with the given text.\n\ntext - A {String} representing the text to insert.\noptions - See {Selection::insertText}. " - } - }, - "639": { - "17": { - "name": "insertNewline", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 639, - 17 - ], - [ - 643, - 1 - ] - ], - "doc": "Public: For each selection, replace the selected text with a newline. " - } - }, - "643": { - "22": { - "name": "insertNewlineBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 643, - 22 - ], - [ - 649, - 1 - ] - ], - "doc": "Public: For each cursor, insert a newline at beginning the following line. " - } - }, - "649": { - "22": { - "name": "insertNewlineAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 649, - 22 - ], - [ - 668, - 1 - ] - ], - "doc": "Public: For each cursor, insert a newline at the end of the preceding line. " - } - }, - "668": { - "10": { - "name": "indent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 668, - 10 - ], - [ - 674, - 1 - ] - ], - "doc": " Private: Indent all lines intersecting selections. See {Selection::indent} for more\ninformation. " - } - }, - "674": { - "13": { - "name": "backspace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 674, - 13 - ], - [ - 678, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete the character\npreceding the cursor. Otherwise delete the selected text. " - } - }, - "678": { - "30": { - "name": "backspaceToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 678, - 30 - ], - [ - 683, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " - } - }, - "683": { - "30": { - "name": "backspaceToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 683, - 30 - ], - [ - 690, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " - } - }, - "690": { - "27": { - "name": "deleteToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 690, - 27 - ], - [ - 696, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word that precede the cursor. Otherwise delete the\nselected text. " - } - }, - "696": { - "27": { - "name": "deleteToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 696, - 27 - ], - [ - 701, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing line that precede the cursor. Otherwise delete the\nselected text. " - } - }, - "701": { - "10": { - "name": "delete", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 701, - 10 - ], - [ - 708, - 1 - ] - ] - } - }, - "708": { - "21": { - "name": "deleteToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 708, - 21 - ], - [ - 714, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is not empty, deletes the\nselection; otherwise, deletes all characters of the containing line\nfollowing the cursor. If the cursor is already at the end of the line,\ndeletes the following newline. " - } - }, - "714": { - "21": { - "name": "deleteToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 714, - 21 - ], - [ - 718, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word following the cursor. Otherwise delete the selected\ntext. " - } - }, - "718": { - "14": { - "name": "deleteLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 718, - 14 - ], - [ - 722, - 1 - ] - ], - "doc": "Public: Delete all lines intersecting selections. " - } - }, - "722": { - "22": { - "name": "indentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 722, - 22 - ], - [ - 726, - 1 - ] - ], - "doc": "Public: Indent rows intersecting selections by one level. " - } - }, - "726": { - "23": { - "name": "outdentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 726, - 23 - ], - [ - 734, - 1 - ] - ], - "doc": "Public: Outdent rows intersecting selections by one level. " - } - }, - "734": { - "33": { - "name": "toggleLineCommentsInSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 734, - 33 - ], - [ - 739, - 1 - ] - ], - "doc": " Public: Toggle line comments for rows intersecting selections.\n\nIf the current grammar doesn't support comments, does nothing.\n\nReturns an {Array} of the commented {Range}s. " - } - }, - "739": { - "26": { - "name": "autoIndentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 739, - 26 - ], - [ - 744, - 1 - ] - ], - "doc": " Public: Indent rows intersecting selections based on the grammar's suggested\nindent level. " - } - }, - "744": { - "30": { - "name": "normalizeTabsInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 744, - 30 - ], - [ - 751, - 1 - ] - ], - "doc": " Private: If soft tabs are enabled, convert all hard tabs to soft tabs in the given\n{Range}. " - } - }, - "751": { - "18": { - "name": "cutToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 751, - 18 - ], - [ - 758, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, cut all characters\nof the containing line following the cursor. Otherwise cut the selected\ntext. " - } - }, - "758": { - "19": { - "name": "cutSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 758, - 19 - ], - [ - 765, - 1 - ] - ], - "doc": "Public: For each selection, cut the selected text. " - } - }, - "765": { - "20": { - "name": "copySelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 765, - 20 - ], - [ - 779, - 1 - ] - ], - "doc": "Public: For each selection, copy the selected text. " - } - }, - "779": { - "13": { - "name": "pasteText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 779, - 13 - ], - [ - 798, - 1 - ] - ], - "doc": " Public: For each selection, replace the selected text with the contents of\nthe clipboard.\n\nIf the clipboard contains the same number of selections as the current\neditor, each selection will be replaced with the content of the\ncorresponding clipboard selection text.\n\noptions - See {Selection::insertText}. " - } - }, - "798": { - "8": { - "name": "undo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 798, - 8 - ], - [ - 803, - 1 - ] - ], - "doc": "Public: Undo the last change. " - } - }, - "803": { - "8": { - "name": "redo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 803, - 8 - ], - [ - 812, - 1 - ] - ], - "doc": "Public: Redo the last change. " - } - }, - "812": { - "18": { - "name": "foldCurrentRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 812, - 18 - ], - [ - 817, - 1 - ] - ], - "doc": " Public: Fold the most recent cursor's row based on its indentation level.\n\nThe fold will extend from the nearest preceding line with a lower\nindentation level up to the nearest following row with a lower indentation\nlevel. " - } - }, - "817": { - "20": { - "name": "unfoldCurrentRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 817, - 20 - ], - [ - 822, - 1 - ] - ], - "doc": "Public: Unfold the most recent cursor's row by one level. " - } - }, - "822": { - "21": { - "name": "foldSelectedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 822, - 21 - ], - [ - 826, - 1 - ] - ], - "doc": "Public: For each selection, fold the rows it intersects. " - } - }, - "826": { - "11": { - "name": "foldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 826, - 11 - ], - [ - 830, - 1 - ] - ], - "doc": "Public: Fold all foldable lines. " - } - }, - "830": { - "13": { - "name": "unfoldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 830, - 13 - ], - [ - 836, - 1 - ] - ], - "doc": "Public: Unfold all existing folds. " - } - }, - "836": { - "24": { - "name": "foldAllAtIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "level" - ], - "range": [ - [ - 836, - 24 - ], - [ - 846, - 1 - ] - ], - "doc": " Public: Fold all foldable lines at the given indent level.\n\nlevel - A {Number}. " - } - }, - "846": { - "17": { - "name": "foldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 846, - 17 - ], - [ - 852, - 1 - ] - ], - "doc": " Public: Fold the given row in buffer coordinates based on its indentation\nlevel.\n\nIf the given row is foldable, the fold will begin there. Otherwise, it will\nbegin at the first foldable row preceding the given row.\n\nbufferRow - A {Number}. " - } - }, - "852": { - "19": { - "name": "unfoldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 852, - 19 - ], - [ - 862, - 1 - ] - ], - "doc": " Public: Unfold all folds containing the given row in buffer coordinates.\n\nbufferRow - A {Number} " - } - }, - "862": { - "25": { - "name": "isFoldableAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 862, - 25 - ], - [ - 865, - 1 - ] - ], - "doc": " Public: Determine whether the given row in buffer coordinates is foldable.\n\nA *foldable* row is a row that *starts* a row range that can be folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "865": { - "25": { - "name": "isFoldableAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 865, - 25 - ], - [ - 870, - 1 - ] - ], - "doc": "~Private~" - } - }, - "870": { - "14": { - "name": "createFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 870, - 14 - ], - [ - 874, - 1 - ] - ], - "doc": "TODO: Rename to foldRowRange? " - } - }, - "874": { - "21": { - "name": "destroyFoldWithId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 874, - 21 - ], - [ - 878, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.destroyFoldWithId} " - } - }, - "878": { - "39": { - "name": "destroyFoldsIntersectingBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 878, - 39 - ], - [ - 884, - 1 - ] - ], - "doc": "Private: Remove any {Fold}s found that intersect the given buffer row. " - } - }, - "884": { - "25": { - "name": "toggleFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 884, - 25 - ], - [ - 893, - 1 - ] - ], - "doc": " Public: Fold the given buffer row if it isn't currently folded, and unfold\nit otherwise. " - } - }, - "893": { - "23": { - "name": "isFoldedAtCursorRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 893, - 23 - ], - [ - 901, - 1 - ] - ], - "doc": " Public: Determine whether the most recently added cursor's row is folded.\n\nReturns a {Boolean}. " - } - }, - "901": { - "23": { - "name": "isFoldedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 901, - 23 - ], - [ - 909, - 1 - ] - ], - "doc": " Public: Determine whether the given row in buffer coordinates is folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "909": { - "23": { - "name": "isFoldedAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 909, - 23 - ], - [ - 913, - 1 - ] - ], - "doc": " Public: Determine whether the given row in screen coordinates is folded.\n\nscreenRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "913": { - "34": { - "name": "largestFoldContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 913, - 34 - ], - [ - 917, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.largestFoldContainingBufferRow} " - } - }, - "917": { - "34": { - "name": "largestFoldStartingAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 917, - 34 - ], - [ - 921, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.largestFoldStartingAtScreenRow} " - } - }, - "921": { - "34": { - "name": "outermostFoldsInBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 921, - 34 - ], - [ - 926, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.outermostFoldsForBufferRowRange} " - } - }, - "926": { - "14": { - "name": "moveLineUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 926, - 14 - ], - [ - 979, - 1 - ] - ], - "doc": " Private: Move lines intersection the most recent selection up by one row in screen\ncoordinates. " - } - }, - "979": { - "16": { - "name": "moveLineDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 979, - 16 - ], - [ - 1034, - 1 - ] - ], - "doc": " Private: Move lines intersecting the most recent selection down by one row in screen\ncoordinates. " - } - }, - "1034": { - "18": { - "name": "duplicateLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1034, - 18 - ], - [ - 1060, - 1 - ] - ], - "doc": "Private: Duplicate the most recent cursor's current line. " - } - }, - "1060": { - "17": { - "name": "duplicateLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1060, - 17 - ], - [ - 1072, - 1 - ] - ], - "doc": "Deprecated: Use {::duplicateLines} instead. " - } - }, - "1072": { - "22": { - "name": "mutateSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1072, - 22 - ], - [ - 1075, - 1 - ] - ], - "doc": " Public: Mutate the text of all the selections in a single transaction.\n\nAll the changes made inside the given {Function} can be reverted with a\nsingle call to {::undo}.\n\nfn - A {Function} that will be called once for each {Selection}. The first\n argument will be a {Selection} and the second argument will be the\n {Number} index of that selection. " - } - }, - "1075": { - "23": { - "name": "replaceSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options", - "fn" - ], - "range": [ - [ - 1075, - 23 - ], - [ - 1096, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1096": { - "32": { - "name": "decorationsForScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 1096, - 32 - ], - [ - 1137, - 1 - ] - ], - "doc": " Public: Get all the decorations within a screen row range.\n\nstartScreenRow - the {Number} beginning screen row\nendScreenRow - the {Number} end screen row (inclusive)\n\nReturns an {Object} of decorations in the form\n `{1: [{id: 10, type: 'gutter', class: 'someclass'}], 2: ...}`\n where the keys are {Marker} IDs, and the values are an array of decoration\n params objects attached to the marker.\nReturns an empty object when no decorations are found " - } - }, - "1137": { - "18": { - "name": "decorateMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "decorationParams" - ], - "range": [ - [ - 1137, - 18 - ], - [ - 1140, - 1 - ] - ], - "doc": " Public: Adds a decoration that tracks a {Marker}. When the marker moves,\nis invalidated, or is destroyed, the decoration will be updated to reflect\nthe marker's state.\n\nThere are three types of supported decorations:\n* `line`: Adds your CSS `class` to the line nodes within the range\n marked by the marker\n* `gutter`: Adds your CSS `class` to the line number nodes within the\n range marked by the marker\n* `highlight`: Adds a new highlight div to the editor surrounding the\n range marked by the marker. When the user selects text, the selection is\n visualized with a highlight decoration internally. The structure of this\n highlight will be:\n ```html\n
    \">\n \n
    \n
    \n ```\n\nmarker - A {Marker} you want this decoration to follow.\ndecorationParams - An {Object} representing the decoration eg. `{type: 'gutter', class: 'linter-error'}`\n :type - There are a few supported decoration types:\n * `gutter`: Applies the decoration to the line numbers spanned by the marker.\n * `line`: Applies the decoration to the lines spanned by the marker.\n * `highlight`: Applies the decoration to a \"highlight\" behind the marked range.\n :class - This CSS class will be applied to the decorated line number,\n line, or highlight.\n :onlyHead - If `true`, the decoration will only be applied to the head\n of the marker. Only applicable to the `line` and `gutter` types.\n :onlyEmpty - If `true`, the decoration will only be applied if the\n associated marker is empty. Only applicable to the `line` and\n `gutter` types.\n :onlyNonEmpty - If `true`, the decoration will only be applied if the\n associated marker is non-empty. Only applicable to the `line` and\n gutter types.\n\nReturns a {Decoration} object " - } - }, - "1140": { - "19": { - "name": "decorationForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 1140, - 19 - ], - [ - 1144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1144": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 1144, - 13 - ], - [ - 1148, - 1 - ] - ], - "doc": "Public: Get the {DisplayBufferMarker} for the given marker id. " - } - }, - "1148": { - "14": { - "name": "getMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1148, - 14 - ], - [ - 1170, - 1 - ] - ], - "doc": "Public: Get all {DisplayBufferMarker}s. " - } - }, - "1170": { - "15": { - "name": "findMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "properties" - ], - "range": [ - [ - 1170, - 15 - ], - [ - 1179, - 1 - ] - ], - "doc": " Public: Find all {DisplayBufferMarker}s that match the given properties.\n\nThis method finds markers based on the given properties. Markers can be\nassociated with custom properties that will be compared with basic equality.\nIn addition, there are several special properties that will be compared\nwith the range of the markers rather than their properties.\n\nproperties - An {Object} containing properties that each returned marker\n must satisfy. Markers can be associated with custom properties, which are\n compared with basic equality. In addition, several reserved properties\n can be used to filter markers based on their current range:\n :startBufferRow - Only include markers starting at this row in buffer\n coordinates.\n :endBufferRow - Only include markers ending at this row in buffer\n coordinates.\n :containsBufferRange - Only include markers containing this {Range} or\n in range-compatible {Array} in buffer coordinates.\n :containsBufferPosition - Only include markers containing this {Point}\n or {Array} of `[row, column]` in buffer coordinates. " - } - }, - "1179": { - "19": { - "name": "markScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1179, - 19 - ], - [ - 1188, - 1 - ] - ], - "doc": " Public: Mark the given range in screen coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1188": { - "19": { - "name": "markBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1188, - 19 - ], - [ - 1197, - 1 - ] - ], - "doc": " Public: Mark the given range in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1197": { - "22": { - "name": "markScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1197, - 22 - ], - [ - 1206, - 1 - ] - ], - "doc": " Public: Mark the given position in screen coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1206": { - "22": { - "name": "markBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1206, - 22 - ], - [ - 1210, - 1 - ] - ], - "doc": " Public: Mark the given position in buffer coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1210": { - "17": { - "name": "destroyMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1210, - 17 - ], - [ - 1216, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.destroyMarker} " - } - }, - "1216": { - "18": { - "name": "getMarkerCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1216, - 18 - ], - [ - 1220, - 1 - ] - ], - "doc": " Public: Get the number of markers in this editor's buffer.\n\nReturns a {Number}. " - } - }, - "1220": { - "22": { - "name": "hasMultipleCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1220, - 22 - ], - [ - 1224, - 1 - ] - ], - "doc": "Public: Determine if there are multiple cursors. " - } - }, - "1224": { - "14": { - "name": "getCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1224, - 14 - ], - [ - 1224, - 38 - ] - ], - "doc": "Public: Get an Array of all {Cursor}s. " - } - }, - "1227": { - "13": { - "name": "getCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1227, - 13 - ], - [ - 1233, - 1 - ] - ], - "doc": "Public: Get the most recently added {Cursor}. " - } - }, - "1233": { - "29": { - "name": "addCursorAtScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 1233, - 29 - ], - [ - 1240, - 1 - ] - ], - "doc": " Public: Add a cursor at the position in screen coordinates.\n\nReturns a {Cursor}. " - } - }, - "1240": { - "29": { - "name": "addCursorAtBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 1240, - 29 - ], - [ - 1245, - 1 - ] - ], - "doc": " Public: Add a cursor at the given position in buffer coordinates.\n\nReturns a {Cursor}. " - } - }, - "1245": { - "13": { - "name": "addCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1245, - 13 - ], - [ - 1255, - 1 - ] - ], - "doc": "Private: Add a cursor based on the given {DisplayBufferMarker}. " - } - }, - "1255": { - "16": { - "name": "removeCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursor" - ], - "range": [ - [ - 1255, - 16 - ], - [ - 1264, - 1 - ] - ], - "doc": "Private: Remove the given cursor from this editor. " - } - }, - "1264": { - "16": { - "name": "addSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "options" - ], - "range": [ - [ - 1264, - 16 - ], - [ - 1288, - 1 - ] - ], - "doc": " Private: Add a {Selection} based on the given {DisplayBufferMarker}.\n\nmarker - The {DisplayBufferMarker} to highlight\noptions - An {Object} that pertains to the {Selection} constructor.\n\nReturns the new {Selection}. " - } - }, - "1288": { - "30": { - "name": "addSelectionForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 1288, - 30 - ], - [ - 1301, - 1 - ] - ], - "doc": " Public: Add a selection for the given range in buffer coordinates.\n\nbufferRange - A {Range}\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation.\n\nReturns the added {Selection}. " - } - }, - "1301": { - "26": { - "name": "setSelectedBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 1301, - 26 - ], - [ - 1311, - 1 - ] - ], - "doc": " Public: Set the selected range in buffer coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nbufferRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1311": { - "26": { - "name": "setSelectedScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 1311, - 26 - ], - [ - 1321, - 1 - ] - ], - "doc": " Public: Set the selected range in screen coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nscreenRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1321": { - "27": { - "name": "setSelectedBufferRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRanges", - "options" - ], - "range": [ - [ - 1321, - 27 - ], - [ - 1336, - 1 - ] - ], - "doc": " Public: Set the selected ranges in buffer coordinates. If there are multiple\nselections, they are replaced by new selections with the given ranges.\n\nbufferRanges - An {Array} of {Range}s or range-compatible {Array}s.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1336": { - "19": { - "name": "removeSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 1336, - 19 - ], - [ - 1342, - 1 - ] - ], - "doc": "Private: Remove the given selection. " - } - }, - "1342": { - "19": { - "name": "clearSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1342, - 19 - ], - [ - 1347, - 1 - ] - ], - "doc": " Private: Reduce one or more selections to a single empty selection based on the most\nrecently added cursor. " - } - }, - "1347": { - "25": { - "name": "consolidateSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1347, - 25 - ], - [ - 1355, - 1 - ] - ], - "doc": "Private: Reduce multiple selections to the most recently added selection. " - } - }, - "1355": { - "31": { - "name": "selectionScreenRangeChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 1355, - 31 - ], - [ - 1361, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1361": { - "17": { - "name": "getSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1361, - 17 - ], - [ - 1361, - 44 - ] - ], - "doc": " Public: Get current {Selection}s.\n\nReturns: An {Array} of {Selection}s. " - } - }, - "1363": { - "27": { - "name": "selectionsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1363, - 27 - ], - [ - 1374, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1374": { - "16": { - "name": "getSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 1374, - 16 - ], - [ - 1381, - 1 - ] - ], - "doc": " Public: Get the most recent {Selection} or the selection at the given\nindex.\n\nindex - Optional. The index of the selection to return, based on the order\n in which the selections were added.\n\nReturns a {Selection}.\nor the at the specified index. " - } - }, - "1381": { - "20": { - "name": "getLastSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1381, - 20 - ], - [ - 1388, - 1 - ] - ], - "doc": " Public: Get the most recently added {Selection}.\n\nReturns a {Selection}. " - } - }, - "1388": { - "40": { - "name": "getSelectionsOrderedByBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1388, - 40 - ], - [ - 1394, - 1 - ] - ], - "doc": " Public: Get all {Selection}s, ordered by their position in the buffer\ninstead of the order in which they were added.\n\nReturns an {Array} of {Selection}s. " - } - }, - "1394": { - "28": { - "name": "getLastSelectionInBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1394, - 28 - ], - [ - 1403, - 1 - ] - ], - "doc": " Public: Get the last {Selection} based on its position in the buffer.\n\nReturns a {Selection}. " - } - }, - "1403": { - "34": { - "name": "selectionIntersectsBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 1403, - 34 - ], - [ - 1415, - 1 - ] - ], - "doc": " Public: Determine if a given range in buffer coordinates intersects a\nselection.\n\nbufferRange - A {Range} or range-compatible {Array}.\n\nReturns a {Boolean}. " - } - }, - "1415": { - "27": { - "name": "setCursorScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "options" - ], - "range": [ - [ - 1415, - 27 - ], - [ - 1422, - 1 - ] - ], - "doc": " Public: Move the cursor to the given position in screen coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " - } - }, - "1422": { - "27": { - "name": "getCursorScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1422, - 27 - ], - [ - 1428, - 1 - ] - ], - "doc": " Public: Get the position of the most recently added cursor in screen\ncoordinates.\n\nReturns a {Point}. " - } - }, - "1428": { - "22": { - "name": "getCursorScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1428, - 22 - ], - [ - 1439, - 1 - ] - ], - "doc": " Public: Get the row of the most recently added cursor in screen coordinates.\n\nReturns the screen row {Number}. " - } - }, - "1439": { - "27": { - "name": "setCursorBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "options" - ], - "range": [ - [ - 1439, - 27 - ], - [ - 1446, - 1 - ] - ], - "doc": " Public: Move the cursor to the given position in buffer coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " - } - }, - "1446": { - "27": { - "name": "getCursorBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1446, - 27 - ], - [ - 1453, - 1 - ] - ], - "doc": " Public: Get the position of the most recently added cursor in buffer\ncoordinates.\n\nReturns a {Point}. " - } - }, - "1453": { - "26": { - "name": "getSelectedScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1453, - 26 - ], - [ - 1460, - 1 - ] - ], - "doc": " Public: Get the {Range} of the most recently added selection in screen\ncoordinates.\n\nReturns a {Range}. " - } - }, - "1460": { - "26": { - "name": "getSelectedBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1460, - 26 - ], - [ - 1468, - 1 - ] - ], - "doc": " Public: Get the {Range} of the most recently added selection in buffer\ncoordinates.\n\nReturns a {Range}. " - } - }, - "1468": { - "27": { - "name": "getSelectedBufferRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1468, - 27 - ], - [ - 1476, - 1 - ] - ], - "doc": " Public: Get the {Range}s of all selections in buffer coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " - } - }, - "1476": { - "27": { - "name": "getSelectedScreenRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1476, - 27 - ], - [ - 1482, - 1 - ] - ], - "doc": " Public: Get the {Range}s of all selections in screen coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " - } - }, - "1482": { - "19": { - "name": "getSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1482, - 19 - ], - [ - 1490, - 1 - ] - ], - "doc": " Public: Get the selected text of the most recently added selection.\n\nReturns a {String}. " - } - }, - "1490": { - "24": { - "name": "getTextInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 1490, - 24 - ], - [ - 1499, - 1 - ] - ], - "doc": " Public: Get the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\n\nReturns a {String}. " - } - }, - "1499": { - "24": { - "name": "setTextInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range", - "text", - "normalizeLineEndings" - ], - "range": [ - [ - 1499, - 24 - ], - [ - 1499, - 124 - ] - ], - "doc": " Public: Set the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\ntext - A {String}\n\nReturns the {Range} of the newly-inserted text. " - } - }, - "1505": { - "34": { - "name": "getCurrentParagraphBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1505, - 34 - ], - [ - 1511, - 1 - ] - ], - "doc": " Public: Get the {Range} of the paragraph surrounding the most recently added\ncursor.\n\nReturns a {Range}. " - } - }, - "1511": { - "22": { - "name": "getWordUnderCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 1511, - 22 - ], - [ - 1515, - 1 - ] - ], - "doc": " Public: Returns the word surrounding the most recently added cursor.\n\noptions - See {Cursor::getBeginningOfCurrentWordBufferPosition}. " - } - }, - "1515": { - "16": { - "name": "moveCursorUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineCount" - ], - "range": [ - [ - 1515, - 16 - ], - [ - 1519, - 1 - ] - ], - "doc": "Public: Move every cursor up one row in screen coordinates. " - } - }, - "1519": { - "18": { - "name": "moveCursorDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineCount" - ], - "range": [ - [ - 1519, - 18 - ], - [ - 1523, - 1 - ] - ], - "doc": "Public: Move every cursor down one row in screen coordinates. " - } - }, - "1523": { - "18": { - "name": "moveCursorLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1523, - 18 - ], - [ - 1527, - 1 - ] - ], - "doc": "Public: Move every cursor left one column. " - } - }, - "1527": { - "19": { - "name": "moveCursorRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1527, - 19 - ], - [ - 1533, - 1 - ] - ], - "doc": "Public: Move every cursor right one column. " - } - }, - "1533": { - "19": { - "name": "moveCursorToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1533, - 19 - ], - [ - 1539, - 1 - ] - ], - "doc": " Public: Move every cursor to the top of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " - } - }, - "1539": { - "22": { - "name": "moveCursorToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1539, - 22 - ], - [ - 1543, - 1 - ] - ], - "doc": " Public: Move every cursor to the bottom of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " - } - }, - "1543": { - "37": { - "name": "moveCursorToBeginningOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1543, - 37 - ], - [ - 1547, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its line in screen coordinates. " - } - }, - "1547": { - "31": { - "name": "moveCursorToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1547, - 31 - ], - [ - 1551, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its line in buffer coordinates. " - } - }, - "1551": { - "36": { - "name": "moveCursorToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1551, - 36 - ], - [ - 1555, - 1 - ] - ], - "doc": "Public: Move every cursor to the first non-whitespace character of its line. " - } - }, - "1555": { - "31": { - "name": "moveCursorToEndOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1555, - 31 - ], - [ - 1559, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its line in screen coordinates. " - } - }, - "1559": { - "25": { - "name": "moveCursorToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1559, - 25 - ], - [ - 1563, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its line in buffer coordinates. " - } - }, - "1563": { - "31": { - "name": "moveCursorToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1563, - 31 - ], - [ - 1567, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its surrounding word. " - } - }, - "1567": { - "25": { - "name": "moveCursorToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1567, - 25 - ], - [ - 1571, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its surrounding word. " - } - }, - "1571": { - "35": { - "name": "moveCursorToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1571, - 35 - ], - [ - 1575, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the next word. " - } - }, - "1575": { - "36": { - "name": "moveCursorToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1575, - 36 - ], - [ - 1579, - 1 - ] - ], - "doc": "Public: Move every cursor to the previous word boundary. " - } - }, - "1579": { - "32": { - "name": "moveCursorToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1579, - 32 - ], - [ - 1583, - 1 - ] - ], - "doc": "Public: Move every cursor to the next word boundary. " - } - }, - "1583": { - "40": { - "name": "moveCursorToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1583, - 40 - ], - [ - 1587, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the next paragraph. " - } - }, - "1587": { - "44": { - "name": "moveCursorToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1587, - 44 - ], - [ - 1596, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the previous paragraph. " - } - }, - "1596": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 1596, - 26 - ], - [ - 1599, - 1 - ] - ], - "doc": " Public: Scroll the editor to reveal the most recently added cursor if it is\noff-screen.\n\noptions - An optional hash of options.\n :center - Center the editor around the cursor if possible. Defauls to\n true. " - } - }, - "1599": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1599, - 10 - ], - [ - 1604, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1604": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1604, - 12 - ], - [ - 1609, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1609": { - "16": { - "name": "selectPageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1609, - 16 - ], - [ - 1612, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1612": { - "18": { - "name": "selectPageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1612, - 18 - ], - [ - 1616, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1616": { - "18": { - "name": "getRowsPerPage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1616, - 18 - ], - [ - 1619, - 1 - ] - ], - "doc": "Private: Returns the number of rows per page " - } - }, - "1619": { - "15": { - "name": "moveCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1619, - 15 - ], - [ - 1626, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1626": { - "15": { - "name": "cursorMoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 1626, - 15 - ], - [ - 1636, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1636": { - "26": { - "name": "selectToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1636, - 26 - ], - [ - 1645, - 1 - ] - ], - "doc": " Public: Select from the current cursor position to the given position in\nscreen coordinates.\n\nThis method may merge selections that end up intesecting.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "1645": { - "15": { - "name": "selectRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1645, - 15 - ], - [ - 1652, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character rightward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1652": { - "14": { - "name": "selectLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1652, - 14 - ], - [ - 1659, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character leftward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1659": { - "12": { - "name": "selectUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 1659, - 12 - ], - [ - 1666, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character upward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1666": { - "14": { - "name": "selectDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 1666, - 14 - ], - [ - 1673, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character downward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1673": { - "15": { - "name": "selectToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1673, - 15 - ], - [ - 1679, - 1 - ] - ], - "doc": " Public: Select from the top of the buffer to the end of the last selection\nin the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1679": { - "13": { - "name": "selectAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1679, - 13 - ], - [ - 1686, - 1 - ] - ], - "doc": " Public: Select all text in the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1686": { - "18": { - "name": "selectToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1686, - 18 - ], - [ - 1693, - 1 - ] - ], - "doc": " Public: Selects from the top of the first selection in the buffer to the end\nof the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1693": { - "27": { - "name": "selectToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1693, - 27 - ], - [ - 1702, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the beginning of its line\nwhile preserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1702": { - "32": { - "name": "selectToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1702, - 32 - ], - [ - 1709, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the first non-whitespace\ncharacter of its line while preserving the selection's tail position. If the\ncursor is already on the first character of the line, move it to the\nbeginning of the line.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1709": { - "21": { - "name": "selectToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1709, - 21 - ], - [ - 1716, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the end of its line while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1716": { - "32": { - "name": "selectToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1716, - 32 - ], - [ - 1723, - 1 - ] - ], - "doc": " Public: For each selection, move its cursor to the preceding word boundary\nwhile maintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1723": { - "28": { - "name": "selectToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1723, - 28 - ], - [ - 1729, - 1 - ] - ], - "doc": " Public: For each selection, move its cursor to the next word boundary while\nmaintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1729": { - "14": { - "name": "selectLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1729, - 14 - ], - [ - 1740, - 1 - ] - ], - "doc": " Public: For each cursor, select the containing line.\n\nThis method merges selections on successive lines. " - } - }, - "1740": { - "21": { - "name": "addSelectionBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1740, - 21 - ], - [ - 1751, - 1 - ] - ], - "doc": " Public: Add a similarly-shaped selection to the next eligible line below\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next following non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " - } - }, - "1751": { - "21": { - "name": "addSelectionAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1751, - 21 - ], - [ - 1759, - 1 - ] - ], - "doc": " Public: Add a similarly-shaped selection to the next eligible line above\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next preceding non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " - } - }, - "1759": { - "28": { - "name": "splitSelectionsIntoLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1759, - 28 - ], - [ - 1776, - 1 - ] - ], - "doc": " Public: Split multi-line selections into one selection per line.\n\nOperates on all selections. This method breaks apart all multi-line\nselections to create multiple single-line selections that cumulatively cover\nthe same original area. " - } - }, - "1776": { - "13": { - "name": "transpose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1776, - 13 - ], - [ - 1791, - 1 - ] - ], - "doc": " Public: For each selection, transpose the selected text.\n\nIf the selection is empty, the characters preceding and following the cursor\nare swapped. Otherwise, the selected characters are reversed. " - } - }, - "1791": { - "13": { - "name": "upperCase", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1791, - 13 - ], - [ - 1798, - 1 - ] - ], - "doc": " Public: Convert the selected text to upper case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " - } - }, - "1798": { - "13": { - "name": "lowerCase", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1798, - 13 - ], - [ - 1809, - 1 - ] - ], - "doc": " Public: Convert the selected text to lower case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " - } - }, - "1809": { - "13": { - "name": "joinLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1809, - 13 - ], - [ - 1816, - 1 - ] - ], - "doc": " Private: Convert multiple lines to a single line.\n\nOperates on all selections. If the selection is empty, joins the current\nline with the next line. Otherwise it joins all lines that intersect the\nselection.\n\nJoining a line means that multiple lines are converted to a single line with\nthe contents of each of the original non-empty lines separated by a space. " - } - }, - "1816": { - "27": { - "name": "selectToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1816, - 27 - ], - [ - 1823, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of their containing word.\n\nOperates on all selections. Moves the cursor to the beginning of the\ncontaining word while preserving the selection's tail position. " - } - }, - "1823": { - "21": { - "name": "selectToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1823, - 21 - ], - [ - 1830, - 1 - ] - ], - "doc": " Public: Expand selections to the end of their containing word.\n\nOperates on all selections. Moves the cursor to the end of the containing\nword while preserving the selection's tail position. " - } - }, - "1830": { - "31": { - "name": "selectToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1830, - 31 - ], - [ - 1834, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next word.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nword while preserving the selection's tail position. " - } - }, - "1834": { - "14": { - "name": "selectWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1834, - 14 - ], - [ - 1841, - 1 - ] - ], - "doc": "Public: Select the word containing each cursor. " - } - }, - "1841": { - "36": { - "name": "selectToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1841, - 36 - ], - [ - 1848, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " - } - }, - "1848": { - "40": { - "name": "selectToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1848, - 40 - ], - [ - 1856, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " - } - }, - "1856": { - "16": { - "name": "selectMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1856, - 16 - ], - [ - 1863, - 1 - ] - ], - "doc": " Public: Select the range of the given marker if it is valid.\n\nmarker - A {DisplayBufferMarker}\n\nReturns the selected {Range} or `undefined` if the marker is invalid. " - } - }, - "1863": { - "16": { - "name": "mergeCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1863, - 16 - ], - [ - 1873, - 1 - ] - ], - "doc": "Private: Merge cursors that have the same screen position " - } - }, - "1873": { - "27": { - "name": "expandSelectionsForward", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1873, - 27 - ], - [ - 1879, - 1 - ] - ], - "doc": "Private: Calls the given function with each selection, then merges selections " - } - }, - "1879": { - "28": { - "name": "expandSelectionsBackward", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1879, - 28 - ], - [ - 1883, - 1 - ] - ], - "doc": " Private: Calls the given function with each selection, then merges selections in the\nreversed orientation " - } - }, - "1883": { - "22": { - "name": "finalizeSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1883, - 22 - ], - [ - 1889, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1889": { - "31": { - "name": "mergeIntersectingSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1889, - 31 - ], - [ - 1910, - 1 - ] - ], - "doc": " Private: Merges intersecting selections. If passed a function, it executes\nthe function with merging suppressed, then merges intersecting selections\nafterward. " - } - }, - "1910": { - "40": { - "name": "preserveCursorPositionOnBufferReload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1910, - 40 - ], - [ - 1919, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1919": { - "14": { - "name": "getGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1919, - 14 - ], - [ - 1926, - 1 - ] - ], - "doc": "Public: Get the current {Grammar} of this editor. " - } - }, - "1926": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 1926, - 14 - ], - [ - 1930, - 1 - ] - ], - "doc": " Public: Set the current {Grammar} of this editor.\n\nAssigning a grammar will cause the editor to re-tokenize based on the new\ngrammar. " - } - }, - "1930": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1930, - 17 - ], - [ - 1933, - 1 - ] - ], - "doc": "Private: Reload the grammar based on the file name. " - } - }, - "1933": { - "20": { - "name": "shouldAutoIndent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1933, - 20 - ], - [ - 1944, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1944": { - "12": { - "name": "transact", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1944, - 12 - ], - [ - 1944, - 39 - ] - ], - "doc": " Public: Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " - } - }, - "1952": { - "20": { - "name": "beginTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1952, - 20 - ], - [ - 1952, - 48 - ] - ], - "doc": " Public: Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " - } - }, - "1958": { - "21": { - "name": "commitTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1958, - 21 - ], - [ - 1958, - 50 - ] - ], - "doc": " Public: Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " - } - }, - "1962": { - "20": { - "name": "abortTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1962, - 20 - ], - [ - 1962, - 48 - ] - ], - "doc": " Public: Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " - } - }, - "1964": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1964, - 11 - ], - [ - 1967, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1967": { - "18": { - "name": "logScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 1967, - 18 - ], - [ - 1967, - 68 - ] - ], - "doc": "~Private~" - } - }, - "1969": { - "22": { - "name": "handleTokenization", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1969, - 22 - ], - [ - 1972, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1972": { - "23": { - "name": "handleGrammarChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1972, - 23 - ], - [ - 1976, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1976": { - "23": { - "name": "handleMarkerCreated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1976, - 23 - ], - [ - 1980, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1980": { - "32": { - "name": "getSelectionMarkerAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1980, - 32 - ], - [ - 1983, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1983": { - "27": { - "name": "getVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1983, - 27 - ], - [ - 1983, - 69 - ] - ], - "doc": "~Private~" - } - }, - "1984": { - "27": { - "name": "setVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "verticalScrollMargin" - ], - "range": [ - [ - 1984, - 27 - ], - [ - 1984, - 112 - ] - ] - } - }, - "1986": { - "29": { - "name": "getHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1986, - 29 - ], - [ - 1986, - 73 - ] - ], - "doc": "~Private~" - } - }, - "1987": { - "29": { - "name": "setHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "horizontalScrollMargin" - ], - "range": [ - [ - 1987, - 29 - ], - [ - 1987, - 120 - ] - ] - } - }, - "1989": { - "25": { - "name": "getLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1989, - 25 - ], - [ - 1989, - 65 - ] - ], - "doc": "~Private~" - } - }, - "1990": { - "25": { - "name": "setLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeightInPixels" - ], - "range": [ - [ - 1990, - 25 - ], - [ - 1990, - 104 - ] - ] - } - }, - "1992": { - "29": { - "name": "batchCharacterMeasurement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1992, - 29 - ], - [ - 1992, - 80 - ] - ], - "doc": "~Private~" - } - }, - "1994": { - "22": { - "name": "getScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char" - ], - "range": [ - [ - 1994, - 22 - ], - [ - 1994, - 94 - ] - ], - "doc": "~Private~" - } - }, - "1995": { - "22": { - "name": "setScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char", - "width" - ], - "range": [ - [ - 1995, - 22 - ], - [ - 1995, - 108 - ] - ] - } - }, - "1997": { - "23": { - "name": "getScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames" - ], - "range": [ - [ - 1997, - 23 - ], - [ - 1997, - 84 - ] - ], - "doc": "~Private~" - } - }, - "1999": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1999, - 25 - ], - [ - 1999, - 65 - ] - ], - "doc": "~Private~" - } - }, - "2001": { - "23": { - "name": "getDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2001, - 23 - ], - [ - 2001, - 61 - ] - ], - "doc": "~Private~" - } - }, - "2002": { - "23": { - "name": "setDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultCharWidth" - ], - "range": [ - [ - 2002, - 23 - ], - [ - 2002, - 96 - ] - ] - } - }, - "2004": { - "13": { - "name": "setHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "height" - ], - "range": [ - [ - 2004, - 13 - ], - [ - 2004, - 56 - ] - ], - "doc": "~Private~" - } - }, - "2005": { - "13": { - "name": "getHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2005, - 13 - ], - [ - 2005, - 41 - ] - ] - } - }, - "2007": { - "19": { - "name": "getClientHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2007, - 19 - ], - [ - 2007, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2009": { - "12": { - "name": "setWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width" - ], - "range": [ - [ - 2009, - 12 - ], - [ - 2009, - 52 - ] - ], - "doc": "~Private~" - } - }, - "2010": { - "12": { - "name": "getWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2010, - 12 - ], - [ - 2010, - 39 - ] - ] - } - }, - "2012": { - "16": { - "name": "getScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2012, - 16 - ], - [ - 2012, - 47 - ] - ], - "doc": "~Private~" - } - }, - "2013": { - "16": { - "name": "setScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 2013, - 16 - ], - [ - 2013, - 68 - ] - ] - } - }, - "2015": { - "19": { - "name": "getScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2015, - 19 - ], - [ - 2015, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2016": { - "19": { - "name": "setScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 2016, - 19 - ], - [ - 2016, - 80 - ] - ] - } - }, - "2018": { - "17": { - "name": "getScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2018, - 17 - ], - [ - 2018, - 49 - ] - ], - "doc": "~Private~" - } - }, - "2019": { - "17": { - "name": "setScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 2019, - 17 - ], - [ - 2019, - 72 - ] - ] - } - }, - "2021": { - "18": { - "name": "getScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2021, - 18 - ], - [ - 2021, - 51 - ] - ], - "doc": "~Private~" - } - }, - "2022": { - "18": { - "name": "setScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 2022, - 18 - ], - [ - 2022, - 76 - ] - ] - } - }, - "2024": { - "19": { - "name": "getScrollHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2024, - 19 - ], - [ - 2024, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2025": { - "18": { - "name": "getScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollWidth" - ], - "range": [ - [ - 2025, - 18 - ], - [ - 2025, - 76 - ] - ] - } - }, - "2027": { - "22": { - "name": "getVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2027, - 22 - ], - [ - 2027, - 59 - ] - ], - "doc": "~Private~" - } - }, - "2029": { - "29": { - "name": "intersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 2029, - 29 - ], - [ - 2029, - 108 - ] - ], - "doc": "~Private~" - } - }, - "2031": { - "38": { - "name": "selectionIntersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 2031, - 38 - ], - [ - 2031, - 112 - ] - ], - "doc": "~Private~" - } - }, - "2033": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 2033, - 34 - ], - [ - 2033, - 114 - ] - ], - "doc": "~Private~" - } - }, - "2035": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 2035, - 34 - ], - [ - 2035, - 114 - ] - ], - "doc": "~Private~" - } - }, - "2037": { - "34": { - "name": "screenPositionForPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 2037, - 34 - ], - [ - 2037, - 112 - ] - ], - "doc": "~Private~" - } - }, - "2039": { - "27": { - "name": "pixelRectForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 2039, - 27 - ], - [ - 2039, - 94 - ] - ], - "doc": "~Private~" - } - }, - "2041": { - "23": { - "name": "scrollToScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 2041, - 23 - ], - [ - 2041, - 104 - ] - ], - "doc": "~Private~" - } - }, - "2043": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 2043, - 26 - ], - [ - 2043, - 116 - ] - ], - "doc": "~Private~" - } - }, - "2045": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 2045, - 26 - ], - [ - 2045, - 116 - ] - ], - "doc": "~Private~" - } - }, - "2047": { - "26": { - "name": "horizontallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2047, - 26 - ], - [ - 2047, - 67 - ] - ], - "doc": "~Private~" - } - }, - "2049": { - "24": { - "name": "verticallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2049, - 24 - ], - [ - 2049, - 63 - ] - ], - "doc": "~Private~" - } - }, - "2051": { - "32": { - "name": "getHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2051, - 32 - ], - [ - 2051, - 79 - ] - ], - "doc": "~Private~" - } - }, - "2052": { - "32": { - "name": "setHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "height" - ], - "range": [ - [ - 2052, - 32 - ], - [ - 2052, - 94 - ] - ] - } - }, - "2054": { - "29": { - "name": "getVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2054, - 29 - ], - [ - 2054, - 73 - ] - ], - "doc": "~Private~" - } - }, - "2055": { - "29": { - "name": "setVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width" - ], - "range": [ - [ - 2055, - 29 - ], - [ - 2055, - 86 - ] - ] - } - }, - "2058": { - "12": { - "name": "joinLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2058, - 12 - ], - [ - 2060, - 16 - ] - ], - "doc": "Deprecated: Call {::joinLines} instead. " - } - } - }, - "exports": 138 - }, - "src/fold.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "7": { - "0": { - "type": "class", - "name": "Fold", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 8, - 6 - ], - [ - 9, - 17 - ], - [ - 10, - 10 - ], - [ - 12, - 15 - ], - [ - 20, - 22 - ], - [ - 27, - 11 - ], - [ - 35, - 18 - ], - [ - 48, - 21 - ], - [ - 53, - 15 - ], - [ - 57, - 13 - ], - [ - 61, - 11 - ], - [ - 67, - 21 - ], - [ - 75, - 21 - ], - [ - 78, - 23 - ], - [ - 82, - 13 - ] - ], - "doc": " Private: Represents a fold that collapses multiple buffer lines into a single\nline on the screen.\n\nTheir creation is managed by the {DisplayBuffer}. ", - "range": [ - [ - 7, - 0 - ], - [ - 84, - 26 - ] - ] - } - }, - "8": { - "6": { - "name": "id", - "type": "primitive", - "range": [ - [ - 8, - 6 - ], - [ - 8, - 9 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "17": { - "name": "displayBuffer", - "type": "primitive", - "range": [ - [ - 9, - 17 - ], - [ - 9, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "10": { - "name": "marker", - "type": "primitive", - "range": [ - [ - 10, - 10 - ], - [ - 10, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 20, - 1 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "22": { - "name": "isInsideLargerFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 22 - ], - [ - 27, - 1 - ] - ], - "doc": "Private: Returns whether this fold is contained within another fold " - } - }, - "27": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 11 - ], - [ - 35, - 1 - ] - ], - "doc": "Private: Destroys this fold " - } - }, - "35": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 35, - 18 - ], - [ - 48, - 1 - ] - ], - "doc": " Private: Returns the fold's {Range} in buffer coordinates\n\nincludeNewline - A {Boolean} which, if `true`, includes the trailing newline\n\nReturns a {Range}. " - } - }, - "48": { - "21": { - "name": "getBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 21 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "15": { - "name": "getStartRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 15 - ], - [ - 57, - 1 - ] - ], - "doc": "Private: Returns the fold's start row as a {Number}. " - } - }, - "57": { - "13": { - "name": "getEndRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 13 - ], - [ - 61, - 1 - ] - ], - "doc": "Private: Returns the fold's end row as a {Number}. " - } - }, - "61": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 11 - ], - [ - 67, - 1 - ] - ], - "doc": "Private: Returns a {String} representation of the fold. " - } - }, - "67": { - "21": { - "name": "getBufferRowCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 21 - ], - [ - 75, - 1 - ] - ], - "doc": " Private: Retrieves the number of buffer rows spanned by the fold.\n\nReturns a {Number}. " - } - }, - "75": { - "21": { - "name": "isContainedByFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fold" - ], - "range": [ - [ - 75, - 21 - ], - [ - 78, - 1 - ] - ], - "doc": " Private: Identifies if a fold is nested within a fold.\n\nfold - A {Fold} to check\n\nReturns a {Boolean}. " - } - }, - "78": { - "23": { - "name": "updateDisplayBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 78, - 23 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 13 - ], - [ - 84, - 26 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 7 - }, - "src/git.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true, - "name": "join", - "exportsProperty": "join" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "5": { - "11": { - "name": "GitUtils", - "type": "import", - "range": [ - [ - 5, - 11 - ], - [ - 5, - 29 - ] - ], - "bindingType": "variable", - "module": "git-utils" - } - }, - "7": { - "7": { - "name": "Task", - "type": "import", - "range": [ - [ - 7, - 7 - ], - [ - 7, - 22 - ] - ], - "bindingType": "variable", - "path": "./task" - } - }, - "40": { - "0": { - "type": "class", - "name": "Git", - "bindingType": "exports", - "classProperties": [ - [ - 52, - 9 - ], - [ - 59, - 11 - ] - ], - "prototypeProperties": [ - [ - 66, - 15 - ], - [ - 89, - 21 - ], - [ - 97, - 11 - ], - [ - 109, - 11 - ], - [ - 117, - 16 - ], - [ - 120, - 11 - ], - [ - 124, - 23 - ], - [ - 132, - 17 - ], - [ - 149, - 17 - ], - [ - 152, - 20 - ], - [ - 155, - 18 - ], - [ - 158, - 15 - ], - [ - 161, - 13 - ], - [ - 165, - 19 - ], - [ - 169, - 14 - ], - [ - 181, - 16 - ], - [ - 196, - 16 - ], - [ - 209, - 21 - ], - [ - 222, - 16 - ], - [ - 231, - 15 - ], - [ - 247, - 22 - ], - [ - 265, - 16 - ], - [ - 276, - 18 - ], - [ - 282, - 16 - ], - [ - 291, - 21 - ], - [ - 298, - 22 - ], - [ - 310, - 17 - ], - [ - 318, - 23 - ], - [ - 330, - 37 - ], - [ - 338, - 23 - ], - [ - 342, - 13 - ], - [ - 346, - 17 - ] - ], - "doc": " Public: Represents the underlying git operations performed by Atom.\n\nThis class shouldn't be instantiated directly but instead by accessing the\n`atom.project` global and calling `getRepo()`. Note that this will only be\navailable when the project is backed by a Git repository.\n\nThis class handles submodules automatically by taking a `path` argument to many\nof the methods. This `path` argument will determine which underlying\nrepository is used.\n\nFor a repository with submodules this would have the following outcome:\n\n```coffee\nrepo = atom.project.getRepo()\nrepo.getShortHead() # 'master'\nrepo.getShortHead('vendor/path/to/a/submodule') # 'dead1234'\n```\n\n## Example\n\n```coffeescript\ngit = atom.project.getRepo()\nconsole.log git.getOriginUrl()\n```\n\n## Requiring in packages\n\n```coffee\n {Git} = require 'atom'\n``` ", - "range": [ - [ - 40, - 0 - ], - [ - 364, - 55 - ] - ] - } - }, - "52": { - "9": { - "name": "open", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "path", - "options" - ], - "range": [ - [ - 52, - 9 - ], - [ - 59, - 1 - ] - ], - "doc": " Public: Creates a new Git instance.\n\npath - The path to the Git repository to open.\noptions - An object with the following keys (default: {}):\n :refreshOnWindowFocus - `true` to refresh the index and statuses when the\n window is focused.\n\nReturns a Git instance or null if the repository could not be opened. " - } - }, - "59": { - "11": { - "name": "exists", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 59, - 11 - ], - [ - 66, - 1 - ] - ], - "doc": "~Private~" - } - }, - "66": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "options" - ], - "range": [ - [ - 66, - 15 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "subscribeToBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer" - ], - "range": [ - [ - 89, - 21 - ], - [ - 97, - 1 - ] - ], - "doc": "Private: Subscribes to buffer events. " - } - }, - "97": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 97, - 11 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Destroy this `Git` object. This destroys any tasks and subscriptions\nand releases the underlying libgit2 repository handle. " - } - }, - "109": { - "11": { - "name": "getRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 109, - 11 - ], - [ - 117, - 1 - ] - ], - "doc": "Private: Returns the corresponding {Repository} " - } - }, - "117": { - "16": { - "name": "refreshIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 16 - ], - [ - 117, - 43 - ] - ], - "doc": " Private: Reread the index to update any values that have changed since the\nlast time the index was read. " - } - }, - "120": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 120, - 11 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Returns the {String} path of the repository. " - } - }, - "124": { - "23": { - "name": "getWorkingDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 23 - ], - [ - 124, - 57 - ] - ], - "doc": "Public: Returns the {String} working directory path of the repository. " - } - }, - "132": { - "17": { - "name": "getPathStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 132, - 17 - ], - [ - 149, - 1 - ] - ], - "doc": " Public: Get the status of a single path in the repository.\n\npath - A {String} repository-relative path.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " - } - }, - "149": { - "17": { - "name": "isPathIgnored", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 149, - 17 - ], - [ - 149, - 65 - ] - ], - "doc": " Public: Is the given path ignored?\n\nReturns a {Boolean}. " - } - }, - "152": { - "20": { - "name": "isStatusModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 152, - 20 - ], - [ - 152, - 66 - ] - ], - "doc": "Public: Returns true if the given status indicates modification. " - } - }, - "155": { - "18": { - "name": "isPathModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 155, - 18 - ], - [ - 155, - 66 - ] - ], - "doc": "Public: Returns true if the given path is modified. " - } - }, - "158": { - "15": { - "name": "isStatusNew", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 158, - 15 - ], - [ - 158, - 56 - ] - ], - "doc": "Public: Returns true if the given status indicates a new path. " - } - }, - "161": { - "13": { - "name": "isPathNew", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 161, - 13 - ], - [ - 161, - 56 - ] - ], - "doc": "Public: Returns true if the given path is new. " - } - }, - "165": { - "19": { - "name": "isProjectAtRoot", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 19 - ], - [ - 169, - 1 - ] - ], - "doc": " Public: Returns true if at the root, false if in a subfolder of the\nrepository. " - } - }, - "169": { - "14": { - "name": "relativize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 169, - 14 - ], - [ - 169, - 50 - ] - ], - "doc": "Public: Makes a path relative to the repository's working directory. " - } - }, - "181": { - "16": { - "name": "getShortHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 181, - 16 - ], - [ - 181, - 54 - ] - ], - "doc": " Public: Retrieves a shortened version of the HEAD reference value.\n\nThis removes the leading segments of `refs/heads`, `refs/tags`, or\n`refs/remotes`. It also shortens the SHA-1 of a detached `HEAD` to 7\ncharacters.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository contains submodules.\n\nReturns a {String}. " - } - }, - "196": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 196, - 16 - ], - [ - 209, - 1 - ] - ], - "doc": " Public: Restore the contents of a path in the working directory and index\nto the version at `HEAD`.\n\nThis is essentially the same as running:\n\n```\ngit reset HEAD -- \ngit checkout HEAD -- \n```\n\npath - The {String} path to checkout.\n\nReturns a {Boolean} that's true if the method was successful. " - } - }, - "209": { - "21": { - "name": "checkoutReference", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "create" - ], - "range": [ - [ - 209, - 21 - ], - [ - 222, - 1 - ] - ], - "doc": " Public: Checks out a branch in your repository.\n\nreference - The String reference to checkout\ncreate - A Boolean value which, if true creates the new reference if it\n doesn't exist.\n\nReturns a Boolean that's true if the method was successful. " - } - }, - "222": { - "16": { - "name": "getDiffStats", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 222, - 16 - ], - [ - 231, - 1 - ] - ], - "doc": " Public: Retrieves the number of lines added and removed to a path.\n\nThis compares the working directory contents of the path to the `HEAD`\nversion.\n\npath - The {String} path to check.\n\nReturns an {Object} with the following keys:\n :added - The {Number} of added lines.\n :deleted - The {Number} of deleted lines. " - } - }, - "231": { - "15": { - "name": "isSubmodule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 231, - 15 - ], - [ - 247, - 1 - ] - ], - "doc": " Public: Is the given path a submodule in the repository?\n\npath - The {String} path to check.\n\nReturns a {Boolean}. " - } - }, - "247": { - "22": { - "name": "getDirectoryStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "directoryPath" - ], - "range": [ - [ - 247, - 22 - ], - [ - 265, - 1 - ] - ], - "doc": " Public: Get the status of a directory in the repository's working directory.\n\npath - The {String} path to check.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " - } - }, - "265": { - "16": { - "name": "getLineDiffs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "text" - ], - "range": [ - [ - 265, - 16 - ], - [ - 276, - 1 - ] - ], - "doc": " Public: Retrieves the line diffs comparing the `HEAD` version of the given\npath and the given text.\n\npath - The {String} path relative to the repository.\ntext - The {String} to compare against the `HEAD` contents\n\nReturns an {Array} of hunk {Object}s with the following keys:\n :oldStart - The line {Number} of the old hunk.\n :newStart - The line {Number} of the new hunk.\n :oldLines - The {Number} of lines in the old hunk.\n :newLines - The {Number} of lines in the new hunk " - } - }, - "276": { - "18": { - "name": "getConfigValue", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "key", - "path" - ], - "range": [ - [ - 276, - 18 - ], - [ - 276, - 66 - ] - ], - "doc": " Public: Returns the git configuration value specified by the key.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " - } - }, - "282": { - "16": { - "name": "getOriginUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 282, - 16 - ], - [ - 282, - 67 - ] - ], - "doc": " Public: Returns the origin url of the repository.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " - } - }, - "291": { - "21": { - "name": "getUpstreamBranch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 291, - 21 - ], - [ - 291, - 64 - ] - ], - "doc": " Public: Returns the upstream branch for the current HEAD, or null if there\nis no upstream branch for the current HEAD.\n\npath - An optional {String} path in the repo to get this information for,\n only needed if the repository contains submodules.\n\nReturns a {String} branch name such as `refs/remotes/origin/master`. " - } - }, - "298": { - "22": { - "name": "getReferenceTarget", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "path" - ], - "range": [ - [ - 298, - 22 - ], - [ - 310, - 1 - ] - ], - "doc": " Public: Returns the current SHA for the given reference.\n\nreference - The {String} reference to get the target of.\npath - An optional {String} path in the repo to get the reference target\n for. Only needed if the repository contains submodules. " - } - }, - "310": { - "17": { - "name": "getReferences", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 310, - 17 - ], - [ - 310, - 56 - ] - ], - "doc": " Public: Gets all the local and remote references.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :heads - An {Array} of head reference names.\n :remotes - An {Array} of remote reference names.\n :tags - An {Array} of tag reference names. " - } - }, - "318": { - "23": { - "name": "getAheadBehindCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "path" - ], - "range": [ - [ - 318, - 23 - ], - [ - 330, - 1 - ] - ], - "doc": " Public: Returns the number of commits behind the current branch is from the\nits upstream remote branch.\n\nreference - The {String} branch reference name.\npath - The {String} path in the repository to get this information for,\n only needed if the repository contains submodules. " - } - }, - "330": { - "37": { - "name": "getCachedUpstreamAheadBehindCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 330, - 37 - ], - [ - 338, - 1 - ] - ], - "doc": " Public: Get the cached ahead/behind commit counts for the current branch's\nupstream branch.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :ahead - The {Number} of commits ahead.\n :behind - The {Number} of commits behind. " - } - }, - "338": { - "23": { - "name": "getCachedPathStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 338, - 23 - ], - [ - 342, - 1 - ] - ], - "doc": " Public: Get the cached status for the given path.\n\npath - A {String} path in the repository, relative or absolute.\n\nReturns a status {Number} or null if the path is not in the cache. " - } - }, - "342": { - "13": { - "name": "hasBranch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "branch" - ], - "range": [ - [ - 342, - 13 - ], - [ - 342, - 68 - ] - ], - "doc": "Public: Returns true if the given branch exists. " - } - }, - "346": { - "17": { - "name": "refreshStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 17 - ], - [ - 364, - 55 - ] - ], - "doc": " Private: Refreshes the current git status in an outside process and asynchronously\nupdates the relevant properties. " - } - } - }, - "exports": 40 - }, - "src/gutter-component.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqual", - "exportsProperty": "isEqual" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 29 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "32": { - "type": "import", - "range": [ - [ - 3, - 32 - ], - [ - 3, - 45 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "multiplyString", - "exportsProperty": "multiplyString" - }, - "48": { - "type": "import", - "range": [ - [ - 3, - 48 - ], - [ - 3, - 54 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "toArray", - "exportsProperty": "toArray" - } - }, - "4": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 4, - 13 - ], - [ - 4, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "5": { - "18": { - "name": "SubscriberMixin", - "type": "import", - "range": [ - [ - 5, - 18 - ], - [ - 5, - 45 - ] - ], - "bindingType": "variable", - "path": "./subscriber-mixin" - } - }, - "7": { - "13": { - "name": "WrapperDiv", - "type": "function", - "range": [ - [ - 7, - 13 - ], - [ - 7, - 41 - ] - ] - } - }, - "10": { - "18": { - "name": "GutterComponent", - "type": "function", - "range": [ - [ - 10, - 18 - ], - [ - 227, - 39 - ] - ] - } - }, - "11": { - "15": { - "name": "'GutterComponent'", - "type": "primitive", - "range": [ - [ - 11, - 15 - ], - [ - 11, - 31 - ] - ] - } - }, - "12": { - "10": { - "type": "primitive", - "range": [ - [ - 12, - 10 - ], - [ - 12, - 26 - ] - ] - } - }, - "14": { - "23": { - "type": "primitive", - "range": [ - [ - 14, - 23 - ], - [ - 14, - 26 - ] - ] - } - }, - "15": { - "17": { - "type": "primitive", - "range": [ - [ - 15, - 17 - ], - [ - 15, - 20 - ] - ] - } - }, - "17": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 10 - ], - [ - 29, - 1 - ] - ], - "doc": null - } - }, - "29": { - "16": { - "name": "getTransform", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 16 - ], - [ - 37, - 1 - ] - ], - "doc": null - } - }, - "37": { - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 37, - 22 - ], - [ - 43, - 1 - ] - ], - "doc": null - } - }, - "43": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 21 - ], - [ - 50, - 1 - ] - ], - "doc": null - } - }, - "50": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 50, - 25 - ], - [ - 64, - 1 - ] - ], - "doc": null - } - }, - "64": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "oldProps" - ], - "range": [ - [ - 64, - 22 - ], - [ - 74, - 1 - ] - ], - "doc": null - } - }, - "74": { - "24": { - "name": "clearScreenRowCaches", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 24 - ], - [ - 80, - 1 - ] - ], - "doc": null - } - }, - "80": { - "25": { - "name": "appendDummyLineNumber", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 80, - 25 - ], - [ - 86, - 1 - ] - ], - "doc": null - } - }, - "86": { - "25": { - "name": "updateDummyLineNumber", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 25 - ], - [ - 89, - 1 - ] - ], - "doc": null - } - }, - "89": { - "21": { - "name": "updateLineNumbers", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 93, - 1 - ] - ], - "doc": null - } - }, - "93": { - "40": { - "name": "appendOrUpdateVisibleLineNumberNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 93, - 40 - ], - [ - 138, - 1 - ] - ], - "doc": null - } - }, - "138": { - "25": { - "name": "removeLineNumberNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberIdsToPreserve" - ], - "range": [ - [ - 138, - 25 - ], - [ - 150, - 1 - ] - ], - "doc": null - } - }, - "150": { - "23": { - "name": "buildLineNumberHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bufferRow", - "softWrapped", - "maxLineNumberDigits", - "screenRow" - ], - "range": [ - [ - 150, - 23 - ], - [ - 169, - 1 - ] - ], - "doc": null - } - }, - "169": { - "28": { - "name": "buildLineNumberInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bufferRow", - "softWrapped", - "maxLineNumberDigits" - ], - "range": [ - [ - 169, - 28 - ], - [ - 179, - 1 - ] - ], - "doc": null - } - }, - "179": { - "24": { - "name": "updateLineNumberNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberId", - "bufferRow", - "screenRow", - "softWrapped" - ], - "range": [ - [ - 179, - 24 - ], - [ - 208, - 1 - ] - ], - "doc": null - } - }, - "208": { - "17": { - "name": "hasDecoration", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "decorations", - "decoration" - ], - "range": [ - [ - 208, - 17 - ], - [ - 211, - 1 - ] - ], - "doc": null - } - }, - "211": { - "21": { - "name": "hasLineNumberNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberId" - ], - "range": [ - [ - 211, - 21 - ], - [ - 214, - 1 - ] - ], - "doc": null - } - }, - "214": { - "30": { - "name": "lineNumberNodeForScreenRow", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 214, - 30 - ], - [ - 217, - 1 - ] - ], - "doc": null - } - }, - "217": { - "11": { - "name": "onClick", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 217, - 11 - ], - [ - 227, - 39 - ] - ], - "doc": null - } - } - }, - "exports": 10 - }, - "src/gutter-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "10": { - "type": "import", - "range": [ - [ - 0, - 10 - ], - [ - 0, - 11 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - }, - "14": { - "type": "import", - "range": [ - [ - 0, - 14 - ], - [ - 0, - 16 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$$", - "exportsProperty": "$$$" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "8": { - "0": { - "type": "class", - "name": "GutterView", - "bindingType": "exports", - "classProperties": [ - [ - 9, - 12 - ] - ], - "prototypeProperties": [ - [ - 13, - 18 - ], - [ - 14, - 17 - ], - [ - 16, - 14 - ], - [ - 19, - 15 - ], - [ - 28, - 16 - ], - [ - 31, - 21 - ], - [ - 53, - 17 - ], - [ - 56, - 13 - ], - [ - 62, - 22 - ], - [ - 68, - 25 - ], - [ - 74, - 33 - ], - [ - 83, - 24 - ], - [ - 91, - 22 - ], - [ - 101, - 27 - ], - [ - 115, - 18 - ], - [ - 126, - 23 - ], - [ - 135, - 21 - ], - [ - 169, - 23 - ], - [ - 175, - 22 - ], - [ - 179, - 22 - ], - [ - 190, - 21 - ], - [ - 194, - 25 - ], - [ - 221, - 25 - ], - [ - 235, - 24 - ], - [ - 242, - 20 - ], - [ - 250, - 18 - ] - ], - "doc": " Private: Represents the portion of the {EditorView} containing row numbers.\n\nThe gutter also indicates if rows are folded. ", - "range": [ - [ - 8, - 0 - ], - [ - 274, - 29 - ] - ] - } - }, - "9": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 12 - ], - [ - 13, - 1 - ] - ] - } - }, - "13": { - "18": { - "name": "firstScreenRow", - "type": "primitive", - "range": [ - [ - 13, - 18 - ], - [ - 13, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "17": { - "name": "lastScreenRow", - "type": "primitive", - "range": [ - [ - 14, - 17 - ], - [ - 14, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 14 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 19, - 15 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 16 - ], - [ - 31, - 1 - ] - ], - "doc": "~Private~" - } - }, - "31": { - "21": { - "name": "handleMouseEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 31, - 21 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "17": { - "name": "getEditorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 17 - ], - [ - 56, - 1 - ] - ], - "doc": " Private: Retrieves the containing {EditorView}.\n\nReturns an {EditorView}. " - } - }, - "56": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 13 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "22": { - "name": "setShowLineNumbers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showLineNumbers" - ], - "range": [ - [ - 62, - 22 - ], - [ - 68, - 1 - ] - ], - "doc": " Private: Defines whether to show the gutter or not.\n\nshowLineNumbers - A {Boolean} which, if `false`, hides the gutter " - } - }, - "68": { - "25": { - "name": "getLineNumberElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 25 - ], - [ - 74, - 1 - ] - ], - "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " - } - }, - "74": { - "33": { - "name": "getLineNumberElementsForClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 74, - 33 - ], - [ - 83, - 1 - ] - ], - "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " - } - }, - "83": { - "24": { - "name": "getLineNumberElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 83, - 24 - ], - [ - 91, - 1 - ] - ], - "doc": " Private: Get a single line-number div.\n\n* bufferRow: 0 based line number\n\nReturns a list of {HTMLElement}s that correspond to the bufferRow. More than\none in the list indicates a wrapped line. " - } - }, - "91": { - "22": { - "name": "addClassToAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 91, - 22 - ], - [ - 101, - 1 - ] - ], - "doc": " Private: Add a class to all line-number divs.\n\n* klass: string class name\n\nReturns true if the class was added to any lines " - } - }, - "101": { - "27": { - "name": "removeClassFromAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 101, - 27 - ], - [ - 115, - 1 - ] - ], - "doc": " Private: Remove a class from all line-number divs.\n\n* klass: string class name. Can only be one class name. i.e. 'my-class'\n\nReturns true if the class was removed from any lines " - } - }, - "115": { - "18": { - "name": "addClassToLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "klass" - ], - "range": [ - [ - 115, - 18 - ], - [ - 126, - 1 - ] - ], - "doc": " Private: Add a class to a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was added to " - } - }, - "126": { - "23": { - "name": "removeClassFromLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "klass" - ], - "range": [ - [ - 126, - 23 - ], - [ - 135, - 1 - ] - ], - "doc": " Private: Remove a class from a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was removed from " - } - }, - "135": { - "21": { - "name": "updateLineNumbers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "changes", - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 135, - 21 - ], - [ - 169, - 1 - ] - ], - "doc": "~Private~" - } - }, - "169": { - "23": { - "name": "prependLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElements" - ], - "range": [ - [ - 169, - 23 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "22": { - "name": "appendLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElements" - ], - "range": [ - [ - 175, - 22 - ], - [ - 179, - 1 - ] - ], - "doc": "~Private~" - } - }, - "179": { - "22": { - "name": "removeLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "numberOfElements" - ], - "range": [ - [ - 179, - 22 - ], - [ - 190, - 1 - ] - ], - "doc": "~Private~" - } - }, - "190": { - "21": { - "name": "buildLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 190, - 21 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "25": { - "name": "buildLineElementsHtml", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 194, - 25 - ], - [ - 221, - 1 - ] - ], - "doc": "~Private~" - } - }, - "221": { - "25": { - "name": "updateFoldableClasses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "changes" - ], - "range": [ - [ - 221, - 25 - ], - [ - 235, - 1 - ] - ], - "doc": " Private: Called to update the 'foldable' class of line numbers when there's\na change to the display buffer that doesn't regenerate all the line numbers\nanyway. " - } - }, - "235": { - "24": { - "name": "removeLineHighlights", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 235, - 24 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "20": { - "name": "addLineHighlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "emptySelection" - ], - "range": [ - [ - 242, - 20 - ], - [ - 250, - 1 - ] - ], - "doc": "~Private~" - } - }, - "250": { - "18": { - "name": "highlightLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 250, - 18 - ], - [ - 274, - 29 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/highlight-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "21": { - "name": "HighlightComponent", - "type": "function", - "range": [ - [ - 5, - 21 - ], - [ - 89, - 110 - ] - ] - } - }, - "6": { - "15": { - "name": "'HighlightComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 34 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 20, - 1 - ] - ], - "doc": null - } - }, - "20": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 21 - ], - [ - 27, - 1 - ] - ], - "doc": null - } - }, - "27": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 24 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "23": { - "name": "startFlashAnimation", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 23 - ], - [ - 42, - 1 - ] - ], - "doc": null - } - }, - "42": { - "27": { - "name": "renderSingleLineRegions", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 27 - ], - [ - 53, - 1 - ] - ], - "doc": null - } - }, - "53": { - "26": { - "name": "renderMultiLineRegions", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 26 - ], - [ - 88, - 1 - ] - ], - "doc": null - } - }, - "88": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 88, - 25 - ], - [ - 89, - 110 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/highlights-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "3": { - "21": { - "name": "HighlightComponent", - "type": "import", - "range": [ - [ - 3, - 21 - ], - [ - 3, - 51 - ] - ], - "bindingType": "variable", - "path": "./highlight-component" - } - }, - "6": { - "22": { - "name": "HighlightsComponent", - "type": "function", - "range": [ - [ - 6, - 22 - ], - [ - 24, - 148 - ] - ] - } - }, - "7": { - "15": { - "name": "'HighlightsComponent'", - "type": "primitive", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 35 - ] - ] - } - }, - "9": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 10 - ], - [ - 13, - 1 - ] - ], - "doc": null - } - }, - "13": { - "20": { - "name": "renderHighlights", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 20 - ], - [ - 23, - 1 - ] - ], - "doc": null - } - }, - "23": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 23, - 25 - ], - [ - 24, - 148 - ] - ], - "doc": null - } - } - }, - "exports": 6 - }, - "src/input-component.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "last", - "exportsProperty": "last" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 13 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqual", - "exportsProperty": "isEqual" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "input", - "exportsProperty": "input" - } - }, - "5": { - "17": { - "name": "InputComponent", - "type": "function", - "range": [ - [ - 5, - 17 - ], - [ - 43, - 25 - ] - ] - } - }, - "6": { - "15": { - "name": "'InputComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 30 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 13, - 1 - ] - ], - "doc": null - } - }, - "13": { - "19": { - "name": "getInitialState", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 19 - ], - [ - 16, - 1 - ] - ], - "doc": null - } - }, - "16": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 21 - ], - [ - 21, - 1 - ] - ], - "doc": null - } - }, - "21": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 22 - ], - [ - 27, - 1 - ] - ], - "doc": null - } - }, - "27": { - "27": { - "name": "isPressAndHoldCharacter", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "char" - ], - "range": [ - [ - 27, - 27 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 30, - 25 - ], - [ - 33, - 1 - ] - ], - "doc": null - } - }, - "33": { - "11": { - "name": "onPaste", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 33, - 11 - ], - [ - 36, - 1 - ] - ], - "doc": null - } - }, - "36": { - "11": { - "name": "onFocus", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 36, - 11 - ], - [ - 39, - 1 - ] - ], - "doc": null - } - }, - "39": { - "10": { - "name": "onBlur", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 39, - 10 - ], - [ - 42, - 1 - ] - ], - "doc": null - } - }, - "42": { - "9": { - "name": "focus", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 9 - ], - [ - 43, - 25 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/keymap-extensions.coffee": { - "objects": { - "0": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 0, - 5 - ], - [ - 0, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "16": { - "name": "KeymapManager", - "type": "import", - "range": [ - [ - 2, - 16 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "atom-keymap" - } - }, - "3": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 6 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "jQuery", - "exportsProperty": "jQuery" - } - }, - "6": { - "36": { - "name": "KeymapManager.prototype.loadBundledKeymaps", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 36 - ], - [ - 9, - 0 - ] - ], - "doc": null - } - }, - "10": { - "35": { - "name": "KeymapManager.prototype.getUserKeymapPath", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 35 - ], - [ - 15, - 0 - ] - ], - "doc": null - } - }, - "16": { - "32": { - "name": "KeymapManager.prototype.loadUserKeymap", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 32 - ], - [ - 22, - 74 - ] - ], - "doc": null - } - }, - "23": { - "32": { - "name": "jQuery.Event.prototype.abortKeyBinding", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 23, - 32 - ], - [ - 25, - 0 - ] - ], - "doc": null - } - } - }, - "exports": 26 - }, - "src/language-mode.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 10 - ] - ], - "bindingType": "variable", - "module": "oniguruma", - "name": "OnigRegExp", - "exportsProperty": "OnigRegExp" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "6": { - "0": { - "type": "class", - "name": "LanguageMode", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 15 - ], - [ - 16, - 11 - ], - [ - 19, - 33 - ], - [ - 30, - 35 - ], - [ - 100, - 11 - ], - [ - 107, - 13 - ], - [ - 114, - 24 - ], - [ - 128, - 17 - ], - [ - 141, - 30 - ], - [ - 146, - 33 - ], - [ - 161, - 34 - ], - [ - 181, - 25 - ], - [ - 186, - 29 - ], - [ - 194, - 32 - ], - [ - 201, - 30 - ], - [ - 208, - 35 - ], - [ - 241, - 31 - ], - [ - 265, - 29 - ], - [ - 274, - 24 - ], - [ - 281, - 23 - ], - [ - 288, - 34 - ], - [ - 308, - 23 - ], - [ - 312, - 32 - ], - [ - 315, - 32 - ], - [ - 318, - 25 - ] - ], - "doc": "~Private~", - "range": [ - [ - 6, - 0 - ], - [ - 319, - 57 - ] - ] - } - }, - "13": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 13, - 15 - ], - [ - 16, - 1 - ] - ], - "doc": " Private: Sets up a `LanguageMode` for the given {Editor}.\n\neditor - The {Editor} to associate with " - } - }, - "16": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 11 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "33": { - "name": "toggleLineCommentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 19, - 33 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "35": { - "name": "toggleLineCommentsForBufferRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 30, - 35 - ], - [ - 100, - 1 - ] - ], - "doc": " Private: Wraps the lines between two rows in comments.\n\nIf the language doesn't have comment, nothing happens.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns an {Array} of the commented {Ranges}. " - } - }, - "100": { - "11": { - "name": "foldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 100, - 11 - ], - [ - 107, - 1 - ] - ], - "doc": "Private: Folds all the foldable lines in the buffer. " - } - }, - "107": { - "13": { - "name": "unfoldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 13 - ], - [ - 114, - 1 - ] - ], - "doc": "Private: Unfolds all the foldable lines in the buffer. " - } - }, - "114": { - "24": { - "name": "foldAllAtIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "indentLevel" - ], - "range": [ - [ - 114, - 24 - ], - [ - 128, - 1 - ] - ], - "doc": " Private: Fold all comment and code blocks at a given indentLevel\n\nindentLevel - A {Number} indicating indentLevel; 0 based. " - } - }, - "128": { - "17": { - "name": "foldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 128, - 17 - ], - [ - 141, - 1 - ] - ], - "doc": " Private: Given a buffer row, creates a fold at it.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns the new {Fold}. " - } - }, - "141": { - "30": { - "name": "rowRangeForFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 141, - 30 - ], - [ - 146, - 1 - ] - ], - "doc": " Private: Find the row range for a fold at a given bufferRow. Will handle comments\nand code.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of the [startRow, endRow]. Returns null if no range. " - } - }, - "146": { - "33": { - "name": "rowRangeForCommentAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 146, - 33 - ], - [ - 161, - 1 - ] - ], - "doc": "~Private~" - } - }, - "161": { - "34": { - "name": "rowRangeForCodeFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 161, - 34 - ], - [ - 181, - 1 - ] - ], - "doc": "~Private~" - } - }, - "181": { - "25": { - "name": "isFoldableAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 181, - 25 - ], - [ - 186, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether the given buffer row starts a\nfoldable row range. Rows that are \"foldable\" have a fold icon next to their\nicon in the gutter in the default configuration. " - } - }, - "186": { - "29": { - "name": "isFoldableCodeAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 186, - 29 - ], - [ - 194, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na a foldable row range due to the code's indentation patterns. " - } - }, - "194": { - "32": { - "name": "isFoldableCommentAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 194, - 32 - ], - [ - 201, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na foldable row range due to being the start of a multi-line comment. " - } - }, - "201": { - "30": { - "name": "isLineCommentedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 201, - 30 - ], - [ - 208, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the line at the given buffer\nrow is a comment. " - } - }, - "208": { - "35": { - "name": "rowRangeForParagraphAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 208, - 35 - ], - [ - 241, - 1 - ] - ], - "doc": " Private: Find a row range for a 'paragraph' around specified bufferRow.\nRight now, a paragraph is a block of text bounded by and empty line or a\nblock of text that is not the same type (comments next to source code). " - } - }, - "241": { - "31": { - "name": "suggestedIndentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 241, - 31 - ], - [ - 265, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns a suggested indentation level.\n\nThe indentation level provided is based on the current {LanguageMode}.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Number}. " - } - }, - "265": { - "29": { - "name": "minIndentLevelForRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 265, - 29 - ], - [ - 274, - 1 - ] - ], - "doc": " Private: Calculate a minimum indent level for a range of lines excluding empty lines.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns a {Number} of the indent level of the block of lines. " - } - }, - "274": { - "24": { - "name": "autoIndentBufferRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 274, - 24 - ], - [ - 281, - 1 - ] - ], - "doc": " Private: Indents all the rows between two buffer row numbers.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at " - } - }, - "281": { - "23": { - "name": "autoIndentBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "options" - ], - "range": [ - [ - 281, - 23 - ], - [ - 288, - 1 - ] - ], - "doc": " Private: Given a buffer row, this indents it.\n\nbufferRow - The row {Number}.\noptions - An options {Object} to pass through to {Editor::setIndentationForBufferRow}. " - } - }, - "288": { - "34": { - "name": "autoDecreaseIndentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 288, - 34 - ], - [ - 308, - 1 - ] - ], - "doc": " Private: Given a buffer row, this decreases the indentation.\n\nbufferRow - The row {Number} " - } - }, - "308": { - "23": { - "name": "getRegexForProperty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "property" - ], - "range": [ - [ - 308, - 23 - ], - [ - 312, - 1 - ] - ], - "doc": "~Private~" - } - }, - "312": { - "32": { - "name": "increaseIndentRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 312, - 32 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "32": { - "name": "decreaseIndentRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 315, - 32 - ], - [ - 318, - 1 - ] - ], - "doc": "~Private~" - } - }, - "318": { - "25": { - "name": "foldEndRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 318, - 25 - ], - [ - 319, - 57 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 6 - }, - "src/less-compile-cache.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "2": { - "12": { - "name": "LessCache", - "type": "import", - "range": [ - [ - 2, - 12 - ], - [ - 2, - 31 - ] - ], - "bindingType": "variable", - "module": "less-cache" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "7": { - "0": { - "type": "class", - "name": "LessCompileCache", - "bindingType": "exports", - "classProperties": [ - [ - 10, - 13 - ] - ], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 29, - 18 - ], - [ - 32, - 8 - ], - [ - 35, - 14 - ], - [ - 38, - 11 - ] - ], - "doc": "Private: {LessCache} wrapper used by {ThemeManager} to read stylesheets. ", - "range": [ - [ - 7, - 0 - ], - [ - 38, - 28 - ] - ] - } - }, - "10": { - "13": { - "name": "cacheDir", - "type": "function", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 71 - ] - ], - "bindingType": "classProperty" - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 29, - 1 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "18": { - "name": "setImportPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "importPaths" - ], - "range": [ - [ - 29, - 18 - ], - [ - 32, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "8": { - "name": "read", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 32, - 8 - ], - [ - 35, - 1 - ] - ], - "doc": "~Private~" - } - }, - "35": { - "14": { - "name": "cssForFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "lessContent" - ], - "range": [ - [ - 35, - 14 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 38, - 11 - ], - [ - 38, - 27 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 7 - }, - "src/lines-component.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - }, - "6": { - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 9 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "span", - "exportsProperty": "span" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "debounce", - "exportsProperty": "debounce" - }, - "11": { - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 17 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqual", - "exportsProperty": "isEqual" - }, - "20": { - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 39 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "42": { - "type": "import", - "range": [ - [ - 3, - 42 - ], - [ - 3, - 55 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "multiplyString", - "exportsProperty": "multiplyString" - }, - "58": { - "type": "import", - "range": [ - [ - 3, - 58 - ], - [ - 3, - 64 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "toArray", - "exportsProperty": "toArray" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 2 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "$$", - "exportsProperty": "$$" - } - }, - "6": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 6, - 13 - ], - [ - 6, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "7": { - "19": { - "name": "CursorsComponent", - "type": "import", - "range": [ - [ - 7, - 19 - ], - [ - 7, - 47 - ] - ], - "bindingType": "variable", - "path": "./cursors-component" - } - }, - "8": { - "22": { - "name": "HighlightsComponent", - "type": "import", - "range": [ - [ - 8, - 22 - ], - [ - 8, - 53 - ] - ], - "bindingType": "variable", - "path": "./highlights-component" - } - }, - "10": { - "16": { - "type": "primitive", - "range": [ - [ - 10, - 16 - ], - [ - 10, - 111 - ] - ] - } - }, - "11": { - "15": { - "type": "primitive", - "range": [ - [ - 11, - 15 - ], - [ - 11, - 55 - ] - ] - }, - "28": { - "name": "acceptNode", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 11, - 28 - ], - [ - 11, - 54 - ] - ], - "doc": null - } - }, - "12": { - "13": { - "name": "WrapperDiv", - "type": "function", - "range": [ - [ - 12, - 13 - ], - [ - 12, - 41 - ] - ] - } - }, - "15": { - "17": { - "name": "LinesComponent", - "type": "function", - "range": [ - [ - 15, - 17 - ], - [ - 348, - 41 - ] - ] - } - }, - "16": { - "15": { - "name": "'LinesComponent'", - "type": "primitive", - "range": [ - [ - 16, - 15 - ], - [ - 16, - 30 - ] - ] - } - }, - "18": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 18, - 10 - ], - [ - 44, - 1 - ] - ], - "doc": null - } - }, - "44": { - "16": { - "name": "getTransform", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 16 - ], - [ - 52, - 1 - ] - ], - "doc": null - } - }, - "52": { - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 22 - ], - [ - 59, - 1 - ] - ], - "doc": null - } - }, - "59": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 59, - 25 - ], - [ - 79, - 1 - ] - ], - "doc": null - } - }, - "79": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "prevProps" - ], - "range": [ - [ - 79, - 22 - ], - [ - 88, - 1 - ] - ], - "doc": null - } - }, - "88": { - "24": { - "name": "clearScreenRowCaches", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 24 - ], - [ - 92, - 1 - ] - ], - "doc": null - } - }, - "92": { - "15": { - "name": "updateLines", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "updateWidth" - ], - "range": [ - [ - 92, - 15 - ], - [ - 100, - 1 - ] - ], - "doc": null - } - }, - "100": { - "19": { - "name": "removeLineNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "visibleLines" - ], - "range": [ - [ - 100, - 19 - ], - [ - 114, - 1 - ] - ], - "doc": null - } - }, - "114": { - "34": { - "name": "appendOrUpdateVisibleLineNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "visibleLines", - "startRow", - "updateWidth" - ], - "range": [ - [ - 114, - 34 - ], - [ - 145, - 1 - ] - ], - "doc": null - } - }, - "145": { - "15": { - "name": "hasLineNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineId" - ], - "range": [ - [ - 145, - 15 - ], - [ - 148, - 1 - ] - ], - "doc": null - } - }, - "148": { - "17": { - "name": "buildLineHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "screenRow" - ], - "range": [ - [ - 148, - 17 - ], - [ - 171, - 1 - ] - ], - "doc": null - } - }, - "171": { - "27": { - "name": "buildEmptyLineInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 171, - 27 - ], - [ - 198, - 1 - ] - ], - "doc": null - } - }, - "198": { - "22": { - "name": "buildLineInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 198, - 22 - ], - [ - 215, - 1 - ] - ], - "doc": null - } - }, - "215": { - "22": { - "name": "buildEndOfLineHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "invisibles" - ], - "range": [ - [ - 215, - 22 - ], - [ - 228, - 1 - ] - ], - "doc": null - } - }, - "228": { - "20": { - "name": "updateScopeStack", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 228, - 20 - ], - [ - 245, - 1 - ] - ], - "doc": null - } - }, - "245": { - "12": { - "name": "popScope", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack" - ], - "range": [ - [ - 245, - 12 - ], - [ - 249, - 1 - ] - ], - "doc": null - } - }, - "249": { - "13": { - "name": "pushScope", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack", - "scope" - ], - "range": [ - [ - 249, - 13 - ], - [ - 253, - 1 - ] - ], - "doc": null - } - }, - "253": { - "18": { - "name": "updateLineNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "screenRow", - "updateWidth" - ], - "range": [ - [ - 253, - 18 - ], - [ - 278, - 1 - ] - ], - "doc": null - } - }, - "278": { - "17": { - "name": "hasDecoration", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "decorations", - "decoration" - ], - "range": [ - [ - 278, - 17 - ], - [ - 281, - 1 - ] - ], - "doc": null - } - }, - "281": { - "24": { - "name": "lineNodeForScreenRow", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 281, - 24 - ], - [ - 284, - 1 - ] - ], - "doc": null - } - }, - "284": { - "40": { - "name": "measureLineHeightAndDefaultCharWidth", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 40 - ], - [ - 295, - 1 - ] - ], - "doc": null - } - }, - "295": { - "28": { - "name": "remeasureCharacterWidths", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 295, - 28 - ], - [ - 299, - 1 - ] - ], - "doc": null - } - }, - "299": { - "31": { - "name": "measureCharactersInNewLines", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 299, - 31 - ], - [ - 311, - 1 - ] - ], - "doc": null - } - }, - "311": { - "27": { - "name": "measureCharactersInLine", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "tokenizedLine", - "lineNode" - ], - "range": [ - [ - 311, - 27 - ], - [ - 346, - 1 - ] - ], - "doc": null - } - }, - "346": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 25 - ], - [ - 348, - 41 - ] - ], - "doc": null - } - } - }, - "exports": 15 - }, - "src/menu-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "3": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 3, - 6 - ], - [ - 3, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "12": { - "0": { - "type": "class", - "name": "MenuManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 15 - ], - [ - 37, - 7 - ], - [ - 47, - 19 - ], - [ - 79, - 10 - ], - [ - 88, - 21 - ], - [ - 96, - 9 - ], - [ - 107, - 27 - ], - [ - 117, - 24 - ], - [ - 121, - 18 - ], - [ - 130, - 21 - ] - ], - "doc": " Public: Provides a registry for menu items that you'd like to appear in the\napplication menu.\n\nAn instance of this class is always available as the `atom.menu` global. ", - "range": [ - [ - 12, - 0 - ], - [ - 131, - 49 - ] - ] - } - }, - "13": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 13, - 15 - ], - [ - 37, - 1 - ] - ] - } - }, - "37": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 37, - 7 - ], - [ - 47, - 1 - ] - ], - "doc": " Public: Adds the given item definition to the existing template.\n\n## Example\n```coffee\n atom.menu.add [\n {\n label: 'Hello'\n submenu : [{label: 'World!', command: 'hello:world'}]\n }\n ]\n```\n\nitems - An {Array} of menu item {Object}s containing the keys:\n :label - The {String} menu label.\n :submenu - An optional {Array} of sub menu items.\n :command - An optional {String} command to trigger when the item is\n clicked.\n\nReturns nothing. " - } - }, - "47": { - "19": { - "name": "includeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 47, - 19 - ], - [ - 79, - 1 - ] - ], - "doc": " Private: Should the binding for the given selector be included in the menu\ncommands.\n\nselector - A {String} selector to check.\n\nReturns true to include the selector, false otherwise. " - } - }, - "79": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 10 - ], - [ - 88, - 1 - ] - ], - "doc": "Public: Refreshes the currently visible menu. " - } - }, - "88": { - "21": { - "name": "loadPlatformItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 21 - ], - [ - 96, - 1 - ] - ], - "doc": "~Private~" - } - }, - "96": { - "9": { - "name": "merge", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "menu", - "item" - ], - "range": [ - [ - 96, - 9 - ], - [ - 107, - 1 - ] - ], - "doc": " Private: Merges an item in a submenu aware way such that new items are always\nappended to the bottom of existing menus where possible. " - } - }, - "107": { - "27": { - "name": "filterMultipleKeystroke", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystrokesByCommand" - ], - "range": [ - [ - 107, - 27 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: OSX can't handle displaying accelerators for multiple keystrokes.\nIf they are sent across, it will stop processing accelerators for the rest\nof the menu items. " - } - }, - "117": { - "24": { - "name": "sendToBrowserProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 117, - 24 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "18": { - "name": "normalizeLabel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "label" - ], - "range": [ - [ - 121, - 18 - ], - [ - 130, - 1 - ] - ], - "doc": "~Private~" - } - }, - "130": { - "21": { - "name": "classesForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 130, - 21 - ], - [ - 131, - 49 - ] - ], - "doc": "Private: Get an {Array} of {String} classes for the given element. " - } - } - }, - "exports": 12 - }, - "src/package-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "7": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 7, - 10 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "8": { - "15": { - "name": "ThemePackage", - "type": "import", - "range": [ - [ - 8, - 15 - ], - [ - 8, - 39 - ] - ], - "bindingType": "variable", - "path": "./theme-package" - } - }, - "26": { - "0": { - "type": "class", - "name": "PackageManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 44, - 14 - ], - [ - 52, - 22 - ], - [ - 55, - 19 - ], - [ - 58, - 19 - ], - [ - 62, - 17 - ], - [ - 68, - 18 - ], - [ - 74, - 12 - ], - [ - 82, - 28 - ], - [ - 85, - 20 - ], - [ - 90, - 19 - ], - [ - 100, - 22 - ], - [ - 105, - 21 - ], - [ - 113, - 21 - ], - [ - 117, - 20 - ], - [ - 121, - 19 - ], - [ - 124, - 29 - ], - [ - 128, - 27 - ], - [ - 137, - 16 - ], - [ - 148, - 15 - ], - [ - 168, - 18 - ], - [ - 172, - 17 - ], - [ - 182, - 20 - ], - [ - 186, - 19 - ], - [ - 190, - 21 - ], - [ - 196, - 29 - ], - [ - 200, - 22 - ], - [ - 210, - 21 - ], - [ - 213, - 17 - ], - [ - 218, - 20 - ], - [ - 221, - 26 - ], - [ - 231, - 28 - ], - [ - 246, - 28 - ], - [ - 250, - 31 - ] - ], - "doc": " Public: Package manager for coordinating the lifecycle of Atom packages.\n\nAn instance of this class is always available as the `atom.packages` global.\n\nPackages can be loaded, activated, and deactivated, and unloaded:\n * Loading a package reads and parses the package's metadata and resources\n such as keymaps, menus, stylesheets, etc.\n * Activating a package registers the loaded resources and calls `activate()`\n on the package's main module.\n * Deactivating a package unregisters the package's resources and calls\n `deactivate()` on the package's main module.\n * Unloading a package removes it completely from the package manager.\n\nPackages can also be enabled/disabled via the `core.disabledPackages` config\nsettings and also by calling `enablePackage()/disablePackage()`. ", - "range": [ - [ - 26, - 0 - ], - [ - 256, - 12 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 29, - 15 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "14": { - "name": "getApmPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 14 - ], - [ - 52, - 1 - ] - ], - "doc": "Public: Get the path to the apm command " - } - }, - "52": { - "22": { - "name": "getPackageDirPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 22 - ], - [ - 55, - 1 - ] - ], - "doc": " Public: Get the paths being used to look for packages.\n\nReturns an Array of String directory paths. " - } - }, - "55": { - "19": { - "name": "getPackageState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 55, - 19 - ], - [ - 58, - 1 - ] - ], - "doc": "~Private~" - } - }, - "58": { - "19": { - "name": "setPackageState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "state" - ], - "range": [ - [ - 58, - 19 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "17": { - "name": "enablePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 62, - 17 - ], - [ - 68, - 1 - ] - ], - "doc": "Public: Enable the package with the given name " - } - }, - "68": { - "18": { - "name": "disablePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 68, - 18 - ], - [ - 74, - 1 - ] - ], - "doc": "Public: Disable the package with the given name " - } - }, - "74": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 12 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Activate all the packages that should be activated. " - } - }, - "82": { - "28": { - "name": "registerPackageActivator", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "activator", - "types" - ], - "range": [ - [ - 82, - 28 - ], - [ - 85, - 1 - ] - ], - "doc": " Private: another type of package manager can handle other package types.\nSee ThemeManager " - } - }, - "85": { - "20": { - "name": "activatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "packages" - ], - "range": [ - [ - 85, - 20 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "19": { - "name": "activatePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 90, - 19 - ], - [ - 100, - 1 - ] - ], - "doc": "Private: Activate a single package by name " - } - }, - "100": { - "22": { - "name": "deactivatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 100, - 22 - ], - [ - 105, - 1 - ] - ], - "doc": "Private: Deactivate all packages " - } - }, - "105": { - "21": { - "name": "deactivatePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 105, - 21 - ], - [ - 113, - 1 - ] - ], - "doc": "Private: Deactivate the package with the given name " - } - }, - "113": { - "21": { - "name": "getActivePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 113, - 21 - ], - [ - 117, - 1 - ] - ], - "doc": "Public: Get an array of all the active packages " - } - }, - "117": { - "20": { - "name": "getActivePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 117, - 20 - ], - [ - 121, - 1 - ] - ], - "doc": "Public: Get the active package with the given name " - } - }, - "121": { - "19": { - "name": "isPackageActive", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 121, - 19 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Is the package with the given name active? " - } - }, - "124": { - "29": { - "name": "unobserveDisabledPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 29 - ], - [ - 128, - 1 - ] - ], - "doc": "~Private~" - } - }, - "128": { - "27": { - "name": "observeDisabledPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 128, - 27 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "16": { - "name": "loadPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 16 - ], - [ - 148, - 1 - ] - ], - "doc": "~Private~" - } - }, - "148": { - "15": { - "name": "loadPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "nameOrPath" - ], - "range": [ - [ - 148, - 15 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "18": { - "name": "unloadPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 18 - ], - [ - 172, - 1 - ] - ], - "doc": "~Private~" - } - }, - "172": { - "17": { - "name": "unloadPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 172, - 17 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "20": { - "name": "getLoadedPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 182, - 20 - ], - [ - 186, - 1 - ] - ], - "doc": "Public: Get the loaded package with the given name " - } - }, - "186": { - "19": { - "name": "isPackageLoaded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 186, - 19 - ], - [ - 190, - 1 - ] - ], - "doc": "Public: Is the package with the given name loaded? " - } - }, - "190": { - "21": { - "name": "getLoadedPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 21 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded packages " - } - }, - "196": { - "29": { - "name": "getLoadedPackagesForTypes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "types" - ], - "range": [ - [ - 196, - 29 - ], - [ - 200, - 1 - ] - ], - "doc": " Private: Get packages for a certain package type\n\ntypes - an {Array} of {String}s like ['atom', 'textmate']. " - } - }, - "200": { - "22": { - "name": "resolvePackagePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 200, - 22 - ], - [ - 210, - 1 - ] - ], - "doc": "Public: Resolve the given package name to a path on disk. " - } - }, - "210": { - "21": { - "name": "isPackageDisabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 210, - 21 - ], - [ - 213, - 1 - ] - ], - "doc": "Public: Is the package with the given name disabled? " - } - }, - "213": { - "17": { - "name": "hasAtomEngine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "packagePath" - ], - "range": [ - [ - 213, - 17 - ], - [ - 218, - 1 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "20": { - "name": "isBundledPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 218, - 20 - ], - [ - 221, - 1 - ] - ], - "doc": "Public: Is the package with the given name bundled with Atom? " - } - }, - "221": { - "26": { - "name": "getPackageDependencies", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 221, - 26 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "28": { - "name": "getAvailablePackagePaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 231, - 28 - ], - [ - 246, - 1 - ] - ], - "doc": "Public: Get an array of all the available package paths. " - } - }, - "246": { - "28": { - "name": "getAvailablePackageNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 246, - 28 - ], - [ - 250, - 1 - ] - ], - "doc": "Public: Get an array of all the available package names. " - } - }, - "250": { - "31": { - "name": "getAvailablePackageMetadata", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 250, - 31 - ], - [ - 256, - 12 - ] - ], - "doc": "Public: Get an array of all the available package metadata. " - } - } - }, - "exports": 26 - }, - "src/package.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "3": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 3, - 8 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "async" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "7": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "9": { - "4": { - "type": "primitive", - "range": [ - [ - 9, - 4 - ], - [ - 9, - 7 - ] - ] - } - }, - "10": { - "19": { - "name": "ScopedProperties", - "type": "import", - "range": [ - [ - 10, - 19 - ], - [ - 10, - 47 - ] - ], - "bindingType": "variable", - "path": "./scoped-properties" - } - }, - "15": { - "0": { - "type": "class", - "name": "Package", - "bindingType": "exports", - "classProperties": [ - [ - 18, - 19 - ], - [ - 20, - 17 - ] - ], - "prototypeProperties": [ - [ - 30, - 11 - ], - [ - 31, - 9 - ], - [ - 32, - 15 - ], - [ - 33, - 12 - ], - [ - 34, - 20 - ], - [ - 35, - 18 - ], - [ - 36, - 26 - ], - [ - 37, - 14 - ], - [ - 39, - 15 - ], - [ - 44, - 10 - ], - [ - 47, - 11 - ], - [ - 50, - 11 - ], - [ - 53, - 11 - ], - [ - 59, - 11 - ], - [ - 61, - 21 - ], - [ - 63, - 8 - ], - [ - 76, - 9 - ], - [ - 83, - 12 - ], - [ - 97, - 15 - ], - [ - 109, - 18 - ], - [ - 118, - 23 - ], - [ - 126, - 21 - ], - [ - 138, - 15 - ], - [ - 141, - 13 - ], - [ - 144, - 18 - ], - [ - 151, - 16 - ], - [ - 158, - 19 - ], - [ - 162, - 22 - ], - [ - 165, - 22 - ], - [ - 177, - 20 - ], - [ - 194, - 16 - ], - [ - 213, - 24 - ], - [ - 231, - 13 - ], - [ - 238, - 14 - ], - [ - 247, - 20 - ], - [ - 251, - 23 - ], - [ - 260, - 21 - ], - [ - 266, - 20 - ], - [ - 269, - 21 - ], - [ - 275, - 21 - ], - [ - 285, - 23 - ], - [ - 297, - 31 - ], - [ - 306, - 25 - ], - [ - 315, - 35 - ], - [ - 325, - 36 - ], - [ - 339, - 36 - ], - [ - 345, - 18 - ], - [ - 353, - 34 - ], - [ - 371, - 32 - ], - [ - 401, - 16 - ] - ], - "doc": " Private: Loads and activates a package's main module and resources such as\nstylesheets, keymaps, grammar, editor properties, and menus. ", - "range": [ - [ - 15, - 0 - ], - [ - 411, - 24 - ] - ] - } - }, - "18": { - "19": { - "name": "stylesheetsDir", - "type": "primitive", - "range": [ - [ - 18, - 19 - ], - [ - 18, - 31 - ] - ], - "bindingType": "classProperty" - } - }, - "20": { - "17": { - "name": "loadMetadata", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "packagePath", - "ignoreErrors" - ], - "range": [ - [ - 20, - 17 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "keymaps", - "type": "primitive", - "range": [ - [ - 30, - 11 - ], - [ - 30, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "31": { - "9": { - "name": "menus", - "type": "primitive", - "range": [ - [ - 31, - 9 - ], - [ - 31, - 12 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "32": { - "15": { - "name": "stylesheets", - "type": "primitive", - "range": [ - [ - 32, - 15 - ], - [ - 32, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "33": { - "12": { - "name": "grammars", - "type": "primitive", - "range": [ - [ - 33, - 12 - ], - [ - 33, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "34": { - "20": { - "name": "scopedProperties", - "type": "primitive", - "range": [ - [ - 34, - 20 - ], - [ - 34, - 23 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "35": { - "18": { - "name": "mainModulePath", - "type": "primitive", - "range": [ - [ - 35, - 18 - ], - [ - 35, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "36": { - "26": { - "name": "resolvedMainModulePath", - "type": "primitive", - "range": [ - [ - 36, - 26 - ], - [ - 36, - 30 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "37": { - "14": { - "name": "mainModule", - "type": "primitive", - "range": [ - [ - 37, - 14 - ], - [ - 37, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "39": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 39, - 15 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "10": { - "name": "enable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 10 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "11": { - "name": "disable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 47, - 11 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "11": { - "name": "isTheme", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 11 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "11": { - "name": "measure", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "key", - "fn" - ], - "range": [ - [ - 53, - 11 - ], - [ - 59, - 1 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "11": { - "name": "getType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 11 - ], - [ - 59, - 19 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "21": { - "name": "getStylesheetType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 21 - ], - [ - 61, - 32 - ] - ], - "doc": "~Private~" - } - }, - "63": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 63, - 8 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "9": { - "name": "reset", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 9 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 83, - 12 - ], - [ - 97, - 1 - ] - ], - "doc": "~Private~" - } - }, - "97": { - "15": { - "name": "activateNow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 97, - 15 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "18": { - "name": "activateConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 18 - ], - [ - 118, - 1 - ] - ], - "doc": "~Private~" - } - }, - "118": { - "23": { - "name": "activateStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 118, - 23 - ], - [ - 126, - 1 - ] - ], - "doc": "~Private~" - } - }, - "126": { - "21": { - "name": "activateResources", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 21 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "15": { - "name": "loadKeymaps", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 15 - ], - [ - 141, - 1 - ] - ], - "doc": "~Private~" - } - }, - "141": { - "13": { - "name": "loadMenus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 13 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "18": { - "name": "getKeymapPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 144, - 18 - ], - [ - 151, - 1 - ] - ], - "doc": "~Private~" - } - }, - "151": { - "16": { - "name": "getMenuPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 151, - 16 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "19": { - "name": "loadStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 19 - ], - [ - 162, - 1 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "22": { - "name": "getStylesheetsPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 22 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "22": { - "name": "getStylesheetPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 22 - ], - [ - 177, - 1 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "20": { - "name": "loadGrammarsSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 20 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "16": { - "name": "loadGrammars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 194, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "24": { - "name": "loadScopedProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 24 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "13": { - "name": "serialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 231, - 13 - ], - [ - 238, - 1 - ] - ], - "doc": "~Private~" - } - }, - "238": { - "14": { - "name": "deactivate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 238, - 14 - ], - [ - 247, - 1 - ] - ], - "doc": "~Private~" - } - }, - "247": { - "20": { - "name": "deactivateConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 247, - 20 - ], - [ - 251, - 1 - ] - ], - "doc": "~Private~" - } - }, - "251": { - "23": { - "name": "deactivateResources", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 251, - 23 - ], - [ - 260, - 1 - ] - ], - "doc": "~Private~" - } - }, - "260": { - "21": { - "name": "reloadStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 21 - ], - [ - 266, - 1 - ] - ], - "doc": "~Private~" - } - }, - "266": { - "20": { - "name": "reloadStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "content" - ], - "range": [ - [ - 266, - 20 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "21": { - "name": "requireMainModule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 21 - ], - [ - 275, - 1 - ] - ] - } - }, - "275": { - "21": { - "name": "getMainModulePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 275, - 21 - ], - [ - 285, - 1 - ] - ], - "doc": "~Private~" - } - }, - "285": { - "23": { - "name": "hasActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 285, - 23 - ], - [ - 297, - 1 - ] - ], - "doc": "~Private~" - } - }, - "297": { - "31": { - "name": "subscribeToActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 31 - ], - [ - 306, - 1 - ] - ], - "doc": "~Private~" - } - }, - "306": { - "25": { - "name": "handleActivationEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 306, - 25 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "35": { - "name": "unsubscribeFromActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 35 - ], - [ - 325, - 1 - ] - ], - "doc": "~Private~" - } - }, - "325": { - "36": { - "name": "disableEventHandlersOnBubblePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 325, - 36 - ], - [ - 339, - 1 - ] - ], - "doc": "~Private~" - } - }, - "339": { - "36": { - "name": "restoreEventHandlersOnBubblePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventHandlers" - ], - "range": [ - [ - 339, - 36 - ], - [ - 345, - 1 - ] - ], - "doc": "~Private~" - } - }, - "345": { - "18": { - "name": "isNativeModule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "modulePath" - ], - "range": [ - [ - 345, - 18 - ], - [ - 353, - 1 - ] - ], - "doc": "Private: Does the given module path contain native code? " - } - }, - "353": { - "34": { - "name": "getNativeModuleDependencyPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 353, - 34 - ], - [ - 371, - 1 - ] - ], - "doc": " Private: Get an array of all the native modules that this package depends on.\nThis will recurse through all dependencies. " - } - }, - "371": { - "32": { - "name": "getIncompatibleNativeModules", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 371, - 32 - ], - [ - 401, - 1 - ] - ], - "doc": " Private: Get the incompatible native modules that this package depends on.\nThis recurses through all dependencies and requires all modules that\ncontain a `.node` file.\n\nThis information is cached in local storage on a per package/version basis\nto minimize the impact on startup time. " - } - }, - "401": { - "16": { - "name": "isCompatible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 401, - 16 - ], - [ - 411, - 24 - ] - ], - "doc": " Public: Is this package compatible with this version of Atom?\n\nIncompatible packages cannot be activated. This will include packages\ninstalled to ~/.atom/packages that were built against node 0.11.10 but\nnow need to be upgrade to node 0.11.13.\n\nReturns a {Boolean}, true if compatible, false if incompatible. " - } - } - }, - "exports": 15 - }, - "src/pane-axis-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "11": { - "type": "primitive", - "range": [ - [ - 1, - 11 - ], - [ - 1, - 14 - ] - ] - } - }, - "4": { - "0": { - "type": "class", - "name": "PaneAxisView", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 5, - 14 - ], - [ - 9, - 15 - ], - [ - 12, - 16 - ], - [ - 16, - 22 - ], - [ - 22, - 16 - ], - [ - 26, - 18 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 31, - 48 - ] - ] - } - }, - "5": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 5, - 14 - ], - [ - 9, - 1 - ] - ] - } - }, - "9": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 15 - ], - [ - 12, - 1 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "16": { - "name": "viewForModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "model" - ], - "range": [ - [ - 12, - 16 - ], - [ - 16, - 1 - ] - ], - "doc": "~Private~" - } - }, - "16": { - "22": { - "name": "onChildrenChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 16, - 22 - ], - [ - 22, - 1 - ] - ], - "doc": "~Private~" - } - }, - "22": { - "16": { - "name": "onChildAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child", - "index" - ], - "range": [ - [ - 22, - 16 - ], - [ - 26, - 1 - ] - ], - "doc": "~Private~" - } - }, - "26": { - "18": { - "name": "onChildRemoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 26, - 18 - ], - [ - 31, - 48 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/pane-axis.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 15 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Sequence", - "exportsProperty": "Sequence" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 7 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "flatten", - "exportsProperty": "flatten" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "4": { - "14": { - "type": "primitive", - "range": [ - [ - 4, - 14 - ], - [ - 4, - 17 - ] - ] - } - }, - "5": { - "17": { - "type": "primitive", - "range": [ - [ - 5, - 17 - ], - [ - 5, - 20 - ] - ] - } - }, - "8": { - "0": { - "type": "class", - "name": "PaneAxis", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 25, - 21 - ], - [ - 30, - 19 - ], - [ - 34, - 16 - ], - [ - 40, - 12 - ], - [ - 43, - 12 - ], - [ - 46, - 15 - ], - [ - 51, - 16 - ], - [ - 56, - 21 - ], - [ - 60, - 20 - ], - [ - 64, - 21 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 65, - 44 - ] - ] - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 25, - 21 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 19 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 16 - ], - [ - 40, - 1 - ] - ], - "doc": "~Private~" - } - }, - "40": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 40, - 12 - ], - [ - 43, - 1 - ] - ], - "doc": "~Private~" - } - }, - "43": { - "12": { - "name": "addChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child", - "index" - ], - "range": [ - [ - 43, - 12 - ], - [ - 46, - 1 - ] - ], - "doc": "~Private~" - } - }, - "46": { - "15": { - "name": "removeChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 46, - 15 - ], - [ - 51, - 1 - ] - ], - "doc": "~Private~" - } - }, - "51": { - "16": { - "name": "replaceChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "oldChild", - "newChild" - ], - "range": [ - [ - 51, - 16 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "21": { - "name": "insertChildBefore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "currentChild", - "newChild" - ], - "range": [ - [ - 56, - 21 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "20": { - "name": "insertChildAfter", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "currentChild", - "newChild" - ], - "range": [ - [ - 60, - 20 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "21": { - "name": "reparentLastChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 21 - ], - [ - 65, - 44 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/pane-column-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "15": { - "name": "PaneAxisView", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 40 - ] - ], - "bindingType": "variable", - "path": "./pane-axis-view" - } - }, - "5": { - "0": { - "type": "class", - "name": "PaneColumnView", - "bindingType": "exports", - "classProperties": [ - [ - 7, - 12 - ] - ], - "prototypeProperties": [ - [ - 10, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 11, - 16 - ] - ] - } - }, - "7": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 7, - 12 - ], - [ - 10, - 1 - ] - ], - "doc": "~Private~" - } - }, - "10": { - "13": { - "name": "className", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 13 - ], - [ - 11, - 16 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "src/pane-container-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "1": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@1.x" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "3": { - "11": { - "name": "PaneView", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-view" - } - }, - "4": { - "16": { - "name": "PaneContainer", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 41 - ] - ], - "bindingType": "variable", - "path": "./pane-container" - } - }, - "8": { - "0": { - "type": "class", - "name": "PaneContainerView", - "bindingType": "exports", - "classProperties": [ - [ - 13, - 12 - ] - ], - "prototypeProperties": [ - [ - 16, - 14 - ], - [ - 25, - 16 - ], - [ - 30, - 11 - ], - [ - 33, - 17 - ], - [ - 47, - 27 - ], - [ - 50, - 15 - ], - [ - 55, - 16 - ], - [ - 64, - 16 - ], - [ - 67, - 15 - ], - [ - 70, - 15 - ], - [ - 73, - 16 - ], - [ - 79, - 18 - ], - [ - 82, - 17 - ], - [ - 86, - 21 - ], - [ - 89, - 21 - ], - [ - 92, - 17 - ], - [ - 95, - 14 - ], - [ - 98, - 21 - ], - [ - 101, - 25 - ], - [ - 104, - 22 - ], - [ - 107, - 22 - ], - [ - 110, - 23 - ], - [ - 113, - 24 - ], - [ - 116, - 26 - ], - [ - 143, - 26 - ], - [ - 152, - 12 - ] - ], - "doc": "Private: Manages the list of panes within a {WorkspaceView} ", - "range": [ - [ - 8, - 0 - ], - [ - 154, - 19 - ] - ] - } - }, - "13": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 12 - ], - [ - 16, - 1 - ] - ], - "doc": "~Private~" - } - }, - "16": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 16, - 14 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "16": { - "name": "viewForModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "model" - ], - "range": [ - [ - 25, - 16 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "getRoot", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 11 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "17": { - "name": "onRootChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "root" - ], - "range": [ - [ - 33, - 17 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "27": { - "name": "onActivePaneItemChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "activeItem" - ], - "range": [ - [ - 47, - 27 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "15": { - "name": "removeChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 50, - 15 - ], - [ - 55, - 1 - ] - ], - "doc": "~Private~" - } - }, - "55": { - "16": { - "name": "confirmClose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 16 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "16": { - "name": "getPaneViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 16 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "15": { - "name": "indexOfPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "paneView" - ], - "range": [ - [ - 67, - 15 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "15": { - "name": "paneAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 70, - 15 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "16": { - "name": "eachPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 73, - 16 - ], - [ - 79, - 1 - ] - ], - "doc": "~Private~" - } - }, - "79": { - "18": { - "name": "getFocusedPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 18 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 17 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "21": { - "name": "getActivePaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 21 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "17": { - "name": "getActiveView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 92, - 17 - ], - [ - 95, - 1 - ] - ], - "doc": "~Private~" - } - }, - "95": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 95, - 14 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "21": { - "name": "focusNextPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 21 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "focusPreviousPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 25 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "22": { - "name": "focusPaneViewAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 22 - ], - [ - 107, - 1 - ] - ], - "doc": "~Private~" - } - }, - "107": { - "22": { - "name": "focusPaneViewBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 22 - ], - [ - 110, - 1 - ] - ], - "doc": "~Private~" - } - }, - "110": { - "23": { - "name": "focusPaneViewOnLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 23 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "24": { - "name": "focusPaneViewOnRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 113, - 24 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "26": { - "name": "nearestPaneInDirection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "direction" - ], - "range": [ - [ - 116, - 26 - ], - [ - 143, - 1 - ] - ], - "doc": "~Private~" - } - }, - "143": { - "26": { - "name": "boundingBoxForPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "paneView" - ], - "range": [ - [ - 143, - 26 - ], - [ - 152, - 1 - ] - ], - "doc": "~Private~" - } - }, - "152": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 152, - 12 - ], - [ - 154, - 19 - ] - ], - "doc": "Private: Deprecated " - } - } - }, - "exports": 8 - }, - "src/pane-container.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "find", - "exportsProperty": "find" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "3": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "6": { - "0": { - "type": "class", - "name": "PaneContainer", - "bindingType": "exports", - "classProperties": [ - [ - 10, - 12 - ] - ], - "prototypeProperties": [ - [ - 16, - 16 - ], - [ - 23, - 15 - ], - [ - 28, - 21 - ], - [ - 34, - 19 - ], - [ - 38, - 16 - ], - [ - 42, - 12 - ], - [ - 45, - 17 - ], - [ - 48, - 14 - ], - [ - 51, - 11 - ], - [ - 54, - 20 - ], - [ - 64, - 24 - ], - [ - 75, - 17 - ], - [ - 89, - 21 - ], - [ - 92, - 17 - ], - [ - 96, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 6, - 0 - ], - [ - 97, - 42 - ] - ] - } - }, - "10": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 10, - 12 - ], - [ - 10, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "16": { - "16": { - "name": "previousRoot", - "type": "primitive", - "range": [ - [ - 16, - 16 - ], - [ - 16, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "23": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 23, - 15 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 28, - 21 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 34, - 19 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "16": { - "name": "replaceChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "oldChild", - "newChild" - ], - "range": [ - [ - 38, - 16 - ], - [ - 42, - 1 - ] - ], - "doc": "~Private~" - } - }, - "42": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 12 - ], - [ - 45, - 1 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 17 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 48, - 14 - ], - [ - 51, - 1 - ] - ], - "doc": "~Private~" - } - }, - "51": { - "11": { - "name": "saveAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 51, - 11 - ], - [ - 54, - 1 - ] - ], - "doc": "~Private~" - } - }, - "54": { - "20": { - "name": "activateNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 54, - 20 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "24": { - "name": "activatePreviousPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 24 - ], - [ - 75, - 1 - ] - ], - "doc": "~Private~" - } - }, - "75": { - "17": { - "name": "onRootChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "root" - ], - "range": [ - [ - 75, - 17 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "destroyEmptyPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "17": { - "name": "itemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 92, - 17 - ], - [ - 96, - 1 - ] - ], - "doc": "~Private~" - } - }, - "96": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 13 - ], - [ - 97, - 42 - ] - ], - "doc": "Private: Called by Model superclass when destroyed " - } - } - }, - "exports": 6 - }, - "src/pane-row-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "15": { - "name": "PaneAxisView", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 40 - ] - ], - "bindingType": "variable", - "path": "./pane-axis-view" - } - }, - "5": { - "0": { - "type": "class", - "name": "PaneRowView", - "bindingType": "exports", - "classProperties": [ - [ - 6, - 12 - ] - ], - "prototypeProperties": [ - [ - 9, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 10, - 13 - ] - ] - } - }, - "6": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 12 - ], - [ - 9, - 1 - ] - ] - } - }, - "9": { - "13": { - "name": "className", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 13 - ], - [ - 10, - 13 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "src/pane-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@1.x" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "3": { - "20": { - "name": "PropertyAccessors", - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 47 - ] - ], - "bindingType": "variable", - "module": "property-accessors@1.x" - } - }, - "5": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "14": { - "0": { - "type": "class", - "name": "PaneView", - "bindingType": "exports", - "classProperties": [ - [ - 18, - 12 - ], - [ - 20, - 12 - ] - ], - "prototypeProperties": [ - [ - 32, - 22 - ], - [ - 34, - 14 - ], - [ - 45, - 16 - ], - [ - 84, - 14 - ], - [ - 89, - 12 - ], - [ - 94, - 18 - ], - [ - 99, - 19 - ], - [ - 104, - 16 - ], - [ - 109, - 20 - ], - [ - 113, - 15 - ], - [ - 121, - 15 - ], - [ - 124, - 25 - ], - [ - 133, - 15 - ], - [ - 139, - 21 - ], - [ - 142, - 23 - ], - [ - 158, - 15 - ], - [ - 161, - 17 - ], - [ - 175, - 15 - ], - [ - 178, - 25 - ], - [ - 182, - 26 - ], - [ - 185, - 15 - ], - [ - 199, - 13 - ], - [ - 201, - 14 - ], - [ - 203, - 11 - ], - [ - 205, - 13 - ], - [ - 210, - 16 - ], - [ - 213, - 16 - ], - [ - 216, - 10 - ] - ], - "doc": " Public: A container which can contains multiple items to be switched between.\n\nItems can be almost anything however most commonly they're {EditorView}s.\n\nMost packages won't need to use this class, unless you're interested in\nbuilding a package that deals with switching between panes or items. ", - "range": [ - [ - 14, - 0 - ], - [ - 219, - 9 - ] - ] - } - }, - "18": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 18, - 12 - ], - [ - 18, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "20": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "wrappedView" - ], - "range": [ - [ - 20, - 12 - ], - [ - 24, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "22": { - "name": "previousActiveItem", - "type": "primitive", - "range": [ - [ - 32, - 22 - ], - [ - 32, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "34": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 34, - 14 - ], - [ - 45, - 1 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 16 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "14": { - "name": "removeItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 84, - 14 - ], - [ - 89, - 1 - ] - ], - "doc": "Deprecated: Use ::destroyItem " - } - }, - "89": { - "12": { - "name": "showItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 89, - 12 - ], - [ - 94, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItem " - } - }, - "94": { - "18": { - "name": "showItemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 94, - 18 - ], - [ - 99, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItemForUri " - } - }, - "99": { - "19": { - "name": "showItemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 99, - 19 - ], - [ - 104, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItemAtIndex " - } - }, - "104": { - "16": { - "name": "showNextItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 16 - ], - [ - 109, - 1 - ] - ], - "doc": "Deprecated: Use ::activateNextItem " - } - }, - "109": { - "20": { - "name": "showPreviousItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 20 - ], - [ - 113, - 1 - ] - ], - "doc": "Deprecated: Use ::activatePreviousItem " - } - }, - "113": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 113, - 15 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "15": { - "name": "onActivated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 121, - 15 - ], - [ - 124, - 1 - ] - ], - "doc": "~Private~" - } - }, - "124": { - "25": { - "name": "onActiveStatusChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "active" - ], - "range": [ - [ - 124, - 25 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "15": { - "name": "getNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 15 - ], - [ - 139, - 1 - ] - ], - "doc": "Public: Returns the next pane, ordered by creation. " - } - }, - "139": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 139, - 21 - ], - [ - 142, - 1 - ] - ], - "doc": "~Private~" - } - }, - "142": { - "23": { - "name": "onActiveItemChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 142, - 23 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "15": { - "name": "onItemAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index" - ], - "range": [ - [ - 158, - 15 - ], - [ - 161, - 1 - ] - ], - "doc": "~Private~" - } - }, - "161": { - "17": { - "name": "onItemRemoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index", - "destroyed" - ], - "range": [ - [ - 161, - 17 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "15": { - "name": "onItemMoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "newIndex" - ], - "range": [ - [ - 175, - 15 - ], - [ - 178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "178": { - "25": { - "name": "onBeforeItemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 178, - 25 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "26": { - "name": "activeItemTitleChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 182, - 26 - ], - [ - 185, - 1 - ] - ], - "doc": "~Private~" - } - }, - "185": { - "15": { - "name": "viewForItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 185, - 15 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "199": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 199, - 13 - ], - [ - 199, - 57 - ] - ], - "doc": "~Private~" - } - }, - "201": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 201, - 14 - ], - [ - 201, - 59 - ] - ], - "doc": "~Private~" - } - }, - "203": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 203, - 11 - ], - [ - 203, - 53 - ] - ], - "doc": "~Private~" - } - }, - "205": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 205, - 13 - ], - [ - 205, - 57 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "16": { - "name": "getContainer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": " Public: Get the container view housing this pane.\n\nReturns a {View}. " - } - }, - "213": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 16 - ], - [ - 216, - 1 - ] - ], - "doc": "~Private~" - } - }, - "216": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "keepData" - ], - "range": [ - [ - 216, - 10 - ], - [ - 219, - 9 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 14 - }, - "src/pane.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "find", - "exportsProperty": "find" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 13 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "compact", - "exportsProperty": "compact" - }, - "16": { - "type": "import", - "range": [ - [ - 0, - 16 - ], - [ - 0, - 21 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "extend", - "exportsProperty": "extend" - }, - "24": { - "type": "import", - "range": [ - [ - 0, - 24 - ], - [ - 0, - 27 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "last", - "exportsProperty": "last" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - }, - "8": { - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 15 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Sequence", - "exportsProperty": "Sequence" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "3": { - "11": { - "name": "PaneAxis", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-axis" - } - }, - "4": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "5": { - "11": { - "type": "primitive", - "range": [ - [ - 5, - 11 - ], - [ - 5, - 14 - ] - ] - } - }, - "11": { - "0": { - "type": "class", - "name": "Pane", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 43, - 19 - ], - [ - 50, - 21 - ], - [ - 57, - 16 - ], - [ - 59, - 12 - ], - [ - 62, - 9 - ], - [ - 67, - 8 - ], - [ - 73, - 12 - ], - [ - 77, - 12 - ], - [ - 82, - 12 - ], - [ - 88, - 17 - ], - [ - 93, - 19 - ], - [ - 97, - 15 - ], - [ - 101, - 20 - ], - [ - 109, - 24 - ], - [ - 117, - 22 - ], - [ - 121, - 23 - ], - [ - 125, - 16 - ], - [ - 137, - 11 - ], - [ - 154, - 12 - ], - [ - 159, - 14 - ], - [ - 175, - 12 - ], - [ - 182, - 18 - ], - [ - 187, - 21 - ], - [ - 193, - 15 - ], - [ - 204, - 16 - ], - [ - 208, - 24 - ], - [ - 211, - 11 - ], - [ - 218, - 13 - ], - [ - 224, - 20 - ], - [ - 239, - 18 - ], - [ - 243, - 20 - ], - [ - 251, - 12 - ], - [ - 263, - 14 - ], - [ - 273, - 13 - ], - [ - 278, - 14 - ], - [ - 283, - 22 - ], - [ - 290, - 18 - ], - [ - 300, - 13 - ], - [ - 309, - 14 - ], - [ - 318, - 11 - ], - [ - 327, - 13 - ], - [ - 330, - 9 - ], - [ - 344, - 23 - ], - [ - 356, - 32 - ] - ], - "doc": " Public: A container for multiple items, one of which is *active* at a given\ntime. With the default packages, a tab is displayed for each item and the\nactive item's view is displayed. ", - "range": [ - [ - 11, - 0 - ], - [ - 364, - 19 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 29, - 15 - ], - [ - 43, - 1 - ] - ], - "doc": "~Private~" - } - }, - "43": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 19 - ], - [ - 50, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during serialization. " - } - }, - "50": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 50, - 21 - ], - [ - 57, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during deserialization. " - } - }, - "57": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 16 - ], - [ - 57, - 51 - ] - ], - "doc": "Private: Called by the view layer to construct a view for this model. " - } - }, - "59": { - "12": { - "name": "isActive", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 12 - ], - [ - 59, - 21 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 62, - 9 - ], - [ - 67, - 1 - ] - ], - "doc": "Private: Called by the view layer to indicate that the pane has gained focus. " - } - }, - "67": { - "8": { - "name": "blur", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 8 - ], - [ - 73, - 1 - ] - ], - "doc": "Private: Called by the view layer to indicate that the pane has lost focus. " - } - }, - "73": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 12 - ], - [ - 77, - 1 - ] - ], - "doc": " Public: Makes this pane the *active* pane, causing it to gain focus\nimmediately. " - } - }, - "77": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 77, - 12 - ], - [ - 77, - 20 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "12": { - "name": "getItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 12 - ], - [ - 88, - 1 - ] - ], - "doc": " Public: Get the items in this pane.\n\nReturns an {Array} of items. " - } - }, - "88": { - "17": { - "name": "getActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 17 - ], - [ - 93, - 1 - ] - ], - "doc": " Public: Get the active pane item in this pane.\n\nReturns a pane item. " - } - }, - "93": { - "19": { - "name": "getActiveEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 93, - 19 - ], - [ - 97, - 1 - ] - ], - "doc": " Public: Returns an {Editor} if the pane item is an {Editor}, or null\notherwise. " - } - }, - "97": { - "15": { - "name": "itemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 97, - 15 - ], - [ - 101, - 1 - ] - ], - "doc": "Public: Returns the item at the specified index. " - } - }, - "101": { - "20": { - "name": "activateNextItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 20 - ], - [ - 109, - 1 - ] - ], - "doc": "Public: Makes the next item active. " - } - }, - "109": { - "24": { - "name": "activatePreviousItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 24 - ], - [ - 117, - 1 - ] - ], - "doc": "Public: Makes the previous item active. " - } - }, - "117": { - "22": { - "name": "getActiveItemIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 22 - ], - [ - 121, - 1 - ] - ], - "doc": "Private: Returns the index of the current active item. " - } - }, - "121": { - "23": { - "name": "activateItemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 121, - 23 - ], - [ - 125, - 1 - ] - ], - "doc": "Private: Makes the item at the given index active. " - } - }, - "125": { - "16": { - "name": "activateItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 125, - 16 - ], - [ - 137, - 1 - ] - ], - "doc": "Private: Makes the given item active, adding the item if necessary. " - } - }, - "137": { - "11": { - "name": "addItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index" - ], - "range": [ - [ - 137, - 11 - ], - [ - 154, - 1 - ] - ], - "doc": " Public: Adds the item to the pane.\n\nitem - The item to add. It can be a model with an associated view or a view.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns the added item " - } - }, - "154": { - "12": { - "name": "addItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items", - "index" - ], - "range": [ - [ - 154, - 12 - ], - [ - 159, - 1 - ] - ], - "doc": " Public: Adds the given items to the pane.\n\nitems - An {Array} of items to add. Items can be models with associated\n views or views. Any items that are already present in items will\n not be added.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns an {Array} of the added items " - } - }, - "159": { - "14": { - "name": "removeItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "destroying" - ], - "range": [ - [ - 159, - 14 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "12": { - "name": "moveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "newIndex" - ], - "range": [ - [ - 175, - 12 - ], - [ - 182, - 1 - ] - ], - "doc": "Public: Moves the given item to the specified index. " - } - }, - "182": { - "18": { - "name": "moveItemToPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "pane", - "index" - ], - "range": [ - [ - 182, - 18 - ], - [ - 187, - 1 - ] - ], - "doc": "Public: Moves the given item to the given index at another pane. " - } - }, - "187": { - "21": { - "name": "destroyActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 187, - 21 - ], - [ - 193, - 1 - ] - ], - "doc": "Public: Destroys the currently active item and make the next item active. " - } - }, - "193": { - "15": { - "name": "destroyItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 193, - 15 - ], - [ - 204, - 1 - ] - ], - "doc": " Public: Destroys the given item. If it is the active item, activate the next\none. If this is the last item, also destroys the pane. " - } - }, - "204": { - "16": { - "name": "destroyItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 204, - 16 - ], - [ - 208, - 1 - ] - ], - "doc": "Public: Destroys all items and destroys the pane. " - } - }, - "208": { - "24": { - "name": "destroyInactiveItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 208, - 24 - ], - [ - 211, - 1 - ] - ], - "doc": "Public: Destroys all items but the active one. " - } - }, - "211": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 211, - 11 - ], - [ - 218, - 1 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 218, - 13 - ], - [ - 224, - 1 - ] - ], - "doc": "Private: Called by model superclass. " - } - }, - "224": { - "20": { - "name": "promptToSaveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 224, - 20 - ], - [ - 239, - 1 - ] - ], - "doc": " Public: Prompts the user to save the given item if it can be saved and is\ncurrently unsaved. " - } - }, - "239": { - "18": { - "name": "saveActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 239, - 18 - ], - [ - 243, - 1 - ] - ], - "doc": "Public: Saves the active item. " - } - }, - "243": { - "20": { - "name": "saveActiveItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 243, - 20 - ], - [ - 251, - 1 - ] - ], - "doc": "Public: Saves the active item at a prompted-for location. " - } - }, - "251": { - "12": { - "name": "saveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "nextAction" - ], - "range": [ - [ - 251, - 12 - ], - [ - 263, - 1 - ] - ], - "doc": " Public: Saves the specified item.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " - } - }, - "263": { - "14": { - "name": "saveItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "nextAction" - ], - "range": [ - [ - 263, - 14 - ], - [ - 273, - 1 - ] - ], - "doc": " Public: Saves the given item at a prompted-for location.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " - } - }, - "273": { - "13": { - "name": "saveItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 273, - 13 - ], - [ - 278, - 1 - ] - ], - "doc": "Public: Saves all items. " - } - }, - "278": { - "14": { - "name": "itemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 278, - 14 - ], - [ - 283, - 1 - ] - ], - "doc": " Public: Returns the first item that matches the given URI or undefined if\nnone exists. " - } - }, - "283": { - "22": { - "name": "activateItemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 283, - 22 - ], - [ - 290, - 1 - ] - ], - "doc": " Public: Activates the first item that matches the given URI. Returns a\nboolean indicating whether a matching item was found. " - } - }, - "290": { - "18": { - "name": "copyActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 290, - 18 - ], - [ - 300, - 1 - ] - ], - "doc": "~Private~" - } - }, - "300": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 300, - 13 - ], - [ - 309, - 1 - ] - ], - "doc": " Public: Creates a new pane to the left of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "309": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 309, - 14 - ], - [ - 318, - 1 - ] - ], - "doc": " Public: Creates a new pane to the right of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "318": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 318, - 11 - ], - [ - 327, - 1 - ] - ], - "doc": " Public: Creates a new pane above the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "327": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 327, - 13 - ], - [ - 330, - 1 - ] - ], - "doc": " Public: Creates a new pane below the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "330": { - "9": { - "name": "split", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "orientation", - "side", - "params" - ], - "range": [ - [ - 330, - 9 - ], - [ - 344, - 1 - ] - ], - "doc": "~Private~" - } - }, - "344": { - "23": { - "name": "findLeftmostSibling", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 344, - 23 - ], - [ - 356, - 1 - ] - ], - "doc": " Private: If the parent is a horizontal axis, returns its first child if it is a pane;\notherwise returns this pane. " - } - }, - "356": { - "32": { - "name": "findOrCreateRightmostSibling", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 356, - 32 - ], - [ - 364, - 19 - ] - ], - "doc": " Private: If the parent is a horizontal axis, returns its last child if it is a pane;\notherwise returns a new pane created by splitting this pane rightward. " - } - } - }, - "exports": 11 - }, - "src/project.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "9": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 9, - 15 - ], - [ - 9, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "10": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer" - } - }, - "11": { - "1": { - "type": "import", - "range": [ - [ - 11, - 1 - ], - [ - 11, - 9 - ] - ], - "bindingType": "variable", - "module": "pathwatcher", - "name": "Directory", - "exportsProperty": "Directory" - } - }, - "13": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 13, - 9 - ], - [ - 13, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "14": { - "7": { - "name": "Task", - "type": "import", - "range": [ - [ - 14, - 7 - ], - [ - 14, - 22 - ] - ], - "bindingType": "variable", - "path": "./task" - } - }, - "15": { - "6": { - "name": "Git", - "type": "import", - "range": [ - [ - 15, - 6 - ], - [ - 15, - 20 - ] - ], - "bindingType": "variable", - "path": "./git" - } - }, - "21": { - "0": { - "type": "class", - "name": "Project", - "bindingType": "exports", - "classProperties": [ - [ - 26, - 25 - ] - ], - "prototypeProperties": [ - [ - 31, - 15 - ], - [ - 40, - 19 - ], - [ - 44, - 21 - ], - [ - 48, - 13 - ], - [ - 52, - 15 - ], - [ - 57, - 28 - ], - [ - 61, - 11 - ], - [ - 64, - 11 - ], - [ - 68, - 11 - ], - [ - 85, - 20 - ], - [ - 95, - 11 - ], - [ - 109, - 14 - ], - [ - 114, - 12 - ], - [ - 124, - 8 - ], - [ - 130, - 12 - ], - [ - 139, - 14 - ], - [ - 143, - 18 - ], - [ - 146, - 21 - ], - [ - 150, - 21 - ], - [ - 163, - 17 - ], - [ - 168, - 15 - ], - [ - 172, - 19 - ], - [ - 184, - 15 - ], - [ - 194, - 13 - ], - [ - 198, - 20 - ], - [ - 207, - 16 - ], - [ - 211, - 23 - ], - [ - 221, - 8 - ], - [ - 268, - 11 - ], - [ - 300, - 24 - ], - [ - 304, - 14 - ], - [ - 315, - 18 - ], - [ - 320, - 20 - ], - [ - 325, - 14 - ], - [ - 330, - 14 - ] - ], - "doc": " Public: Represents a project that's opened in Atom.\n\nAn instance of this class is always available as the `atom.project` global. ", - "range": [ - [ - 21, - 0 - ], - [ - 332, - 31 - ] - ] - } - }, - "26": { - "25": { - "name": "pathForRepositoryUrl", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "repoUrl" - ], - "range": [ - [ - 26, - 25 - ], - [ - 31, - 1 - ] - ], - "doc": "Public: Find the local path for the given repository URL. " - } - }, - "31": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 31, - 15 - ], - [ - 40, - 1 - ] - ], - "doc": "~Private~" - } - }, - "40": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 40, - 19 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 44, - 21 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 13 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "15": { - "name": "destroyRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 15 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "28": { - "name": "destroyUnretainedBuffers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 28 - ], - [ - 61, - 1 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "11": { - "name": "getRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 11 - ], - [ - 61, - 18 - ] - ], - "doc": "Public: Returns the {Git} repository if available. " - } - }, - "64": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 11 - ], - [ - 68, - 1 - ] - ], - "doc": "Public: Returns the project's fullpath. " - } - }, - "68": { - "11": { - "name": "setPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "projectPath" - ], - "range": [ - [ - 68, - 11 - ], - [ - 85, - 1 - ] - ], - "doc": "Public: Sets the project's fullpath. " - } - }, - "85": { - "20": { - "name": "getRootDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 85, - 20 - ], - [ - 95, - 1 - ] - ], - "doc": "Public: Returns the root {Directory} object for this project. " - } - }, - "95": { - "11": { - "name": "resolve", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 95, - 11 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Given a uri, this resolves it relative to the project directory. If\nthe path is already absolute or if it is prefixed with a scheme, it is\nreturned unchanged.\n\nuri - The {String} name of the path to convert.\n\nReturns a {String} or undefined if the uri is not missing or empty. " - } - }, - "109": { - "14": { - "name": "relativize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fullPath" - ], - "range": [ - [ - 109, - 14 - ], - [ - 114, - 1 - ] - ], - "doc": "Public: Make the given path relative to the project directory. " - } - }, - "114": { - "12": { - "name": "contains", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToCheck" - ], - "range": [ - [ - 114, - 12 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Returns whether the given path is inside this project. " - } - }, - "124": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "options" - ], - "range": [ - [ - 124, - 8 - ], - [ - 130, - 1 - ] - ], - "doc": " Private: Given a path to a file, this constructs and associates a new\n{Editor}, showing the file.\n\nfilePath - The {String} path of the file to associate with.\noptions - Options that you can pass to the {Editor} constructor.\n\nReturns a promise that resolves to an {Editor}. " - } - }, - "130": { - "12": { - "name": "openSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "options" - ], - "range": [ - [ - 130, - 12 - ], - [ - 139, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "139": { - "14": { - "name": "getBuffers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 139, - 14 - ], - [ - 143, - 1 - ] - ], - "doc": " Private: Retrieves all the {TextBuffer}s in the project; that is, the\nbuffers for all open files.\n\nReturns an {Array} of {TextBuffer}s. " - } - }, - "143": { - "18": { - "name": "isPathModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 143, - 18 - ], - [ - 146, - 1 - ] - ], - "doc": "Private: Is the buffer for the given path modified? " - } - }, - "146": { - "21": { - "name": "findBufferForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 146, - 21 - ], - [ - 150, - 1 - ] - ], - "doc": "~Private~" - } - }, - "150": { - "21": { - "name": "bufferForPathSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 150, - 21 - ], - [ - 163, - 1 - ] - ], - "doc": "Private: Only to be used in specs " - } - }, - "163": { - "17": { - "name": "bufferForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 163, - 17 - ], - [ - 168, - 1 - ] - ], - "doc": " Private: Given a file path, this retrieves or creates a new {TextBuffer}.\n\nIf the `filePath` already has a `buffer`, that value is used instead. Otherwise,\n`text` is used as the contents of the new buffer.\n\nfilePath - A {String} representing a path. If `null`, an \"Untitled\" buffer is created.\n\nReturns a promise that resolves to the {TextBuffer}. " - } - }, - "168": { - "15": { - "name": "bufferForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 168, - 15 - ], - [ - 172, - 1 - ] - ], - "doc": "~Private~" - } - }, - "172": { - "19": { - "name": "buildBufferSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "absoluteFilePath" - ], - "range": [ - [ - 172, - 19 - ], - [ - 184, - 1 - ] - ], - "doc": "Private: Still needed when deserializing a tokenized buffer " - } - }, - "184": { - "15": { - "name": "buildBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "absoluteFilePath" - ], - "range": [ - [ - 184, - 15 - ], - [ - 194, - 1 - ] - ], - "doc": " Private: Given a file path, this sets its {TextBuffer}.\n\nabsoluteFilePath - A {String} representing a path.\ntext - The {String} text to use as a buffer.\n\nReturns a promise that resolves to the {TextBuffer}. " - } - }, - "194": { - "13": { - "name": "addBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "options" - ], - "range": [ - [ - 194, - 13 - ], - [ - 198, - 1 - ] - ], - "doc": "~Private~" - } - }, - "198": { - "20": { - "name": "addBufferAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "index", - "options" - ], - "range": [ - [ - 198, - 20 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "16": { - "name": "removeBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer" - ], - "range": [ - [ - 207, - 16 - ], - [ - 211, - 1 - ] - ], - "doc": " Private: Removes a {TextBuffer} association from the project.\n\nReturns the removed {TextBuffer}. " - } - }, - "211": { - "23": { - "name": "removeBufferAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index", - "options" - ], - "range": [ - [ - 211, - 23 - ], - [ - 221, - 1 - ] - ], - "doc": "~Private~" - } - }, - "221": { - "8": { - "name": "scan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "options", - "iterator" - ], - "range": [ - [ - 221, - 8 - ], - [ - 268, - 1 - ] - ], - "doc": " Public: Performs a search across all the files in the project.\n\nregex - A {RegExp} to search with.\noptions - An optional options {Object} (default: {}):\n :paths - An {Array} of glob patterns to search within\niterator - A {Function} callback on each file found " - } - }, - "268": { - "11": { - "name": "replace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "replacementText", - "filePaths", - "iterator" - ], - "range": [ - [ - 268, - 11 - ], - [ - 300, - 1 - ] - ], - "doc": " Public: Performs a replace across all the specified files in the project.\n\nregex - A {RegExp} to search with.\nreplacementText - Text to replace all matches of regex with\nfilePaths - List of file path strings to run the replace on.\niterator - A {Function} callback on each file with replacements:\n `({filePath, replacements}) ->`. " - } - }, - "300": { - "24": { - "name": "buildEditorForBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "editorOptions" - ], - "range": [ - [ - 300, - 24 - ], - [ - 304, - 1 - ] - ], - "doc": "~Private~" - } - }, - "304": { - "14": { - "name": "eachBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 304, - 14 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "18": { - "name": "registerOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 315, - 18 - ], - [ - 320, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "320": { - "20": { - "name": "unregisterOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 320, - 20 - ], - [ - 325, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "325": { - "14": { - "name": "eachEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 325, - 14 - ], - [ - 330, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "330": { - "14": { - "name": "getEditors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 330, - 14 - ], - [ - 332, - 31 - ] - ], - "doc": "Deprecated: delegate " - } - } - }, - "exports": 21 - }, - "src/react-editor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "module": "space-pen", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "defaults", - "exportsProperty": "defaults" - } - }, - "3": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 3, - 13 - ], - [ - 3, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer" - } - }, - "4": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "5": { - "18": { - "name": "EditorComponent", - "type": "import", - "range": [ - [ - 5, - 18 - ], - [ - 5, - 45 - ] - ], - "bindingType": "variable", - "path": "./editor-component" - } - }, - "8": { - "0": { - "type": "class", - "name": "ReactEditorView", - "bindingType": "exports", - "classProperties": [ - [ - 9, - 12 - ] - ], - "prototypeProperties": [ - [ - 14, - 17 - ], - [ - 16, - 15 - ], - [ - 58, - 13 - ], - [ - 60, - 12 - ], - [ - 69, - 15 - ], - [ - 77, - 13 - ], - [ - 83, - 14 - ], - [ - 89, - 18 - ], - [ - 92, - 26 - ], - [ - 95, - 26 - ], - [ - 98, - 26 - ], - [ - 101, - 25 - ], - [ - 105, - 34 - ], - [ - 108, - 34 - ], - [ - 111, - 21 - ], - [ - 116, - 16 - ], - [ - 122, - 13 - ], - [ - 127, - 14 - ], - [ - 132, - 11 - ], - [ - 137, - 13 - ], - [ - 141, - 11 - ], - [ - 144, - 9 - ], - [ - 150, - 8 - ], - [ - 154, - 8 - ], - [ - 158, - 20 - ], - [ - 165, - 12 - ], - [ - 168, - 10 - ], - [ - 171, - 12 - ], - [ - 174, - 28 - ], - [ - 177, - 27 - ], - [ - 180, - 17 - ], - [ - 183, - 17 - ], - [ - 186, - 15 - ], - [ - 189, - 15 - ], - [ - 192, - 19 - ], - [ - 195, - 17 - ], - [ - 198, - 22 - ], - [ - 201, - 15 - ], - [ - 204, - 21 - ], - [ - 207, - 18 - ], - [ - 210, - 18 - ], - [ - 213, - 11 - ], - [ - 216, - 11 - ], - [ - 219, - 14 - ], - [ - 222, - 18 - ], - [ - 225, - 19 - ], - [ - 228, - 24 - ], - [ - 230, - 17 - ], - [ - 232, - 16 - ], - [ - 234, - 10 - ], - [ - 236, - 22 - ], - [ - 242, - 27 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 243, - 49 - ] - ] - } - }, - "9": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 9, - 12 - ], - [ - 14, - 1 - ] - ] - } - }, - "14": { - "17": { - "name": "focusOnAttach", - "type": "primitive", - "range": [ - [ - 14, - 17 - ], - [ - 14, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorOrParams", - "props" - ], - "range": [ - [ - 16, - 15 - ], - [ - 58, - 1 - ] - ], - "doc": "~Private~" - } - }, - "58": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 58, - 13 - ], - [ - 58, - 22 - ] - ], - "doc": "~Private~" - } - }, - "69": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 69, - 15 - ], - [ - 77, - 1 - ] - ], - "doc": "~Private~" - } - }, - "77": { - "13": { - "name": "scrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 77, - 13 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "14": { - "name": "scrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 83, - 14 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "18": { - "name": "scrollToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 18 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 92, - 26 - ], - [ - 95, - 1 - ] - ], - "doc": "~Private~" - } - }, - "95": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 95, - 26 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 26 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "scrollToPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 101, - 25 - ], - [ - 105, - 1 - ] - ], - "doc": "~Private~" - } - }, - "105": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 105, - 34 - ], - [ - 108, - 1 - ] - ], - "doc": "~Private~" - } - }, - "108": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 108, - 34 - ], - [ - 111, - 1 - ] - ], - "doc": "~Private~" - } - }, - "111": { - "21": { - "name": "appendToLinesView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 111, - 21 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 16 - ], - [ - 122, - 1 - ] - ], - "doc": "~Private~" - } - }, - "122": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 122, - 13 - ], - [ - 127, - 1 - ] - ], - "doc": "Public: Split the editor view left. " - } - }, - "127": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 127, - 14 - ], - [ - 132, - 1 - ] - ], - "doc": "Public: Split the editor view right. " - } - }, - "132": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 132, - 11 - ], - [ - 137, - 1 - ] - ], - "doc": "Public: Split the editor view up. " - } - }, - "137": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 13 - ], - [ - 141, - 1 - ] - ], - "doc": "Public: Split the editor view down. " - } - }, - "141": { - "11": { - "name": "getPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 11 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 144, - 9 - ], - [ - 150, - 1 - ] - ], - "doc": "~Private~" - } - }, - "150": { - "8": { - "name": "hide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 150, - 8 - ], - [ - 154, - 1 - ] - ], - "doc": "~Private~" - } - }, - "154": { - "8": { - "name": "show", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 8 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "20": { - "name": "pollComponentDOM", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 20 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 12 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 10 - ], - [ - 171, - 1 - ] - ], - "doc": "~Private~" - } - }, - "171": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 12 - ], - [ - 174, - 1 - ] - ], - "doc": "~Private~" - } - }, - "174": { - "28": { - "name": "getFirstVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 174, - 28 - ], - [ - 177, - 1 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "27": { - "name": "getLastVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 27 - ], - [ - 180, - 1 - ] - ], - "doc": "~Private~" - } - }, - "180": { - "17": { - "name": "getFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 180, - 17 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "17": { - "name": "setFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 183, - 17 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "15": { - "name": "getFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 186, - 15 - ], - [ - 189, - 1 - ] - ], - "doc": "~Private~" - } - }, - "189": { - "15": { - "name": "setFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 189, - 15 - ], - [ - 192, - 1 - ] - ], - "doc": "~Private~" - } - }, - "192": { - "19": { - "name": "setWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "widthInChars" - ], - "range": [ - [ - 192, - 19 - ], - [ - 195, - 1 - ] - ], - "doc": "~Private~" - } - }, - "195": { - "17": { - "name": "setLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 195, - 17 - ], - [ - 198, - 1 - ] - ], - "doc": "~Private~" - } - }, - "198": { - "22": { - "name": "setShowIndentGuide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showIndentGuide" - ], - "range": [ - [ - 198, - 22 - ], - [ - 201, - 1 - ] - ], - "doc": "~Private~" - } - }, - "201": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 201, - 15 - ], - [ - 204, - 1 - ] - ], - "doc": "~Private~" - } - }, - "204": { - "21": { - "name": "setShowInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showInvisibles" - ], - "range": [ - [ - 204, - 21 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 207, - 18 - ], - [ - 210, - 1 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 18 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 11 - ], - [ - 216, - 1 - ] - ], - "doc": "~Private~" - } - }, - "216": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 216, - 11 - ], - [ - 219, - 1 - ] - ], - "doc": "~Private~" - } - }, - "219": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 219, - 14 - ], - [ - 222, - 1 - ] - ], - "doc": "~Private~" - } - }, - "222": { - "18": { - "name": "isInputEnabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 222, - 18 - ], - [ - 225, - 1 - ] - ], - "doc": "~Private~" - } - }, - "225": { - "19": { - "name": "setInputEnabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "inputEnabled" - ], - "range": [ - [ - 225, - 19 - ], - [ - 228, - 1 - ] - ], - "doc": "~Private~" - } - }, - "228": { - "24": { - "name": "requestDisplayUpdate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 228, - 24 - ], - [ - 228, - 25 - ] - ], - "doc": "~Private~" - } - }, - "230": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 230, - 17 - ], - [ - 230, - 18 - ] - ], - "doc": "~Private~" - } - }, - "232": { - "16": { - "name": "resetDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 232, - 16 - ], - [ - 232, - 17 - ] - ], - "doc": "~Private~" - } - }, - "234": { - "10": { - "name": "redraw", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 10 - ], - [ - 234, - 11 - ] - ], - "doc": "~Private~" - } - }, - "236": { - "22": { - "name": "setPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "placeholderText" - ], - "range": [ - [ - 236, - 22 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "27": { - "name": "lineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 242, - 27 - ], - [ - 243, - 49 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/replace-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "PathReplacer", - "exportsProperty": "PathReplacer" - } - } - }, - "exports": 2 - }, - "src/repository-status-handler.coffee": { - "objects": { - "0": { - "6": { - "name": "Git", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "git-utils" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - } - }, - "exports": 3 - }, - "src/row-map.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 15 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "spliceWithArray", - "exportsProperty": "spliceWithArray" - } - }, - "16": { - "0": { - "type": "class", - "name": "RowMap", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 15 - ], - [ - 21, - 14 - ], - [ - 27, - 30 - ], - [ - 40, - 30 - ], - [ - 50, - 30 - ], - [ - 61, - 17 - ], - [ - 83, - 23 - ], - [ - 93, - 23 - ], - [ - 103, - 35 - ], - [ - 116, - 11 - ] - ], - "doc": " Private: Used by the display buffer to map screen rows to buffer rows and vice-versa.\nThis mapping may not be 1:1 due to folds and soft-wraps. This object maintains\nan array of regions, which contain `bufferRows` and `screenRows` fields.\n\nRectangular Regions:\nIf a region has the same number of buffer rows and screen rows, it is referred\nto as \"rectangular\", and represents one or more non-soft-wrapped, non-folded\nlines.\n\nTrapezoidal Regions:\nIf a region has one buffer row and more than one screen row, it represents a\nsoft-wrapped line. If a region has one screen row and more than one buffer\nrow, it represents folded lines ", - "range": [ - [ - 16, - 0 - ], - [ - 118, - 35 - ] - ] - } - }, - "17": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 15 - ], - [ - 21, - 1 - ] - ] - } - }, - "21": { - "14": { - "name": "getRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 14 - ], - [ - 27, - 1 - ] - ], - "doc": "Public: Returns a copy of all the regions in the map " - } - }, - "27": { - "30": { - "name": "screenRowRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 27, - 30 - ], - [ - 40, - 1 - ] - ], - "doc": " Public: Returns an end-row-exclusive range of screen rows corresponding to\nthe given buffer row. If the buffer row is soft-wrapped, the range may span\nmultiple screen rows. Otherwise it will span a single screen row. " - } - }, - "40": { - "30": { - "name": "bufferRowRangeForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetScreenRow" - ], - "range": [ - [ - 40, - 30 - ], - [ - 50, - 1 - ] - ], - "doc": " Public: Returns an end-row-exclusive range of buffer rows corresponding to\nthe given screen row. If the screen row is the first line of a folded range\nof buffer rows, the range may span multiple buffer rows. Otherwise it will\nspan a single buffer row. " - } - }, - "50": { - "30": { - "name": "bufferRowRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 50, - 30 - ], - [ - 61, - 1 - ] - ], - "doc": " Public: If the given buffer row is part of a folded row range, returns that\nrow range. Otherwise returns a range spanning only the given buffer row. " - } - }, - "61": { - "17": { - "name": "spliceRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "bufferRowCount", - "regions" - ], - "range": [ - [ - 61, - 17 - ], - [ - 83, - 1 - ] - ], - "doc": " Public: Given a starting buffer row, the number of buffer rows to replace,\nand an array of regions of shape {bufferRows: n, screenRows: m}, splices\nthe regions at the appropriate location in the map. This method is used by\ndisplay buffer to keep the map updated when the underlying buffer changes. " - } - }, - "83": { - "23": { - "name": "traverseToBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 83, - 23 - ], - [ - 93, - 1 - ] - ], - "doc": "~Private~" - } - }, - "93": { - "23": { - "name": "traverseToScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetScreenRow" - ], - "range": [ - [ - 93, - 23 - ], - [ - 103, - 1 - ] - ], - "doc": "~Private~" - } - }, - "103": { - "35": { - "name": "mergeAdjacentRectangularRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startIndex", - "endIndex" - ], - "range": [ - [ - 103, - 35 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 11 - ], - [ - 118, - 35 - ] - ], - "doc": "Public: Returns an array of strings describing the map's regions. " - } - } - }, - "exports": 16 - }, - "src/scan-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "PathSearcher", - "exportsProperty": "PathSearcher" - }, - "15": { - "type": "import", - "range": [ - [ - 0, - 15 - ], - [ - 0, - 25 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "PathScanner", - "exportsProperty": "PathScanner" - }, - "28": { - "type": "import", - "range": [ - [ - 0, - 28 - ], - [ - 0, - 33 - ] - ], - "bindingType": "variable", - "module": "scandal", - "name": "search", - "exportsProperty": "search" - } - } - }, - "exports": 2 - }, - "src/scoped-properties.coffee": { - "objects": { - "0": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "3": { - "0": { - "type": "class", - "name": "ScopedProperties", - "bindingType": "exports", - "classProperties": [ - [ - 4, - 9 - ] - ], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 13, - 12 - ], - [ - 17, - 14 - ] - ], - "doc": "~Private~", - "range": [ - [ - 3, - 0 - ], - [ - 18, - 39 - ] - ] - } - }, - "4": { - "9": { - "name": "load", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "scopedPropertiesPath", - "callback" - ], - "range": [ - [ - 4, - 9 - ], - [ - 11, - 1 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 11, - 43 - ] - ], - "doc": "~Private~" - } - }, - "13": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 12 - ], - [ - 17, - 1 - ] - ], - "doc": "~Private~" - } - }, - "17": { - "14": { - "name": "deactivate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 14 - ], - [ - 18, - 39 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 3 - }, - "src/scroll-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "21": { - "0": { - "type": "class", - "name": "ScrollView", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 22, - 14 - ] - ], - "doc": " Public: Represents a view that scrolls.\n\nSubclasses must call `super` if overriding the `initialize` method or else\nthe following events won't be handled by the ScrollView.\n\n## Events\n * `core:move-up`\n * `core:move-down`\n * `core:page-up`\n * `core:page-down`\n * `core:move-to-top`\n * `core:move-to-bottom`\n\n## Requiring in packages\n\n```coffee\n {ScrollView} = require 'atom'\n``` ", - "range": [ - [ - 21, - 0 - ], - [ - 28, - 51 - ] - ] - } - }, - "22": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 22, - 14 - ], - [ - 28, - 51 - ] - ] - } - } - }, - "exports": 21 - }, - "src/scrollbar-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 6 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "extend", - "exportsProperty": "extend" - }, - "9": { - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "21": { - "name": "ScrollbarComponent", - "type": "function", - "range": [ - [ - 5, - 21 - ], - [ - 69, - 28 - ] - ] - } - }, - "6": { - "15": { - "name": "'ScrollbarComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 34 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 21 - ], - [ - 36, - 1 - ] - ], - "doc": null - } - }, - "36": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 36, - 25 - ], - [ - 45, - 1 - ] - ], - "doc": null - } - }, - "45": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 22 - ], - [ - 57, - 1 - ] - ], - "doc": null - } - }, - "57": { - "12": { - "name": "onScroll", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 12 - ], - [ - 69, - 28 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/scrollbar-corner-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "27": { - "name": "ScrollbarCornerComponent", - "type": "function", - "range": [ - [ - 5, - 27 - ], - [ - 23, - 99 - ] - ] - } - }, - "6": { - "15": { - "name": "'ScrollbarCornerComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 40 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 22, - 1 - ] - ], - "doc": null - } - }, - "22": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 22, - 25 - ], - [ - 23, - 99 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/select-list-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "4": { - "15": { - "name": "EditorView", - "type": "import", - "range": [ - [ - 4, - 15 - ], - [ - 4, - 37 - ] - ], - "bindingType": "variable", - "path": "./editor-view" - } - }, - "5": { - "14": { - "type": "primitive", - "range": [ - [ - 5, - 14 - ], - [ - 5, - 41 - ] - ] - } - }, - "36": { - "0": { - "type": "class", - "name": "SelectListView", - "bindingType": "exports", - "classProperties": [ - [ - 37, - 12 - ] - ], - "prototypeProperties": [ - [ - 46, - 12 - ], - [ - 47, - 19 - ], - [ - 48, - 17 - ], - [ - 49, - 14 - ], - [ - 55, - 14 - ], - [ - 90, - 24 - ], - [ - 102, - 12 - ], - [ - 109, - 12 - ], - [ - 119, - 14 - ], - [ - 136, - 18 - ], - [ - 143, - 16 - ], - [ - 174, - 19 - ], - [ - 179, - 15 - ], - [ - 181, - 26 - ], - [ - 186, - 22 - ], - [ - 191, - 18 - ], - [ - 197, - 20 - ], - [ - 207, - 23 - ], - [ - 213, - 19 - ], - [ - 216, - 20 - ], - [ - 233, - 15 - ], - [ - 244, - 13 - ], - [ - 258, - 16 - ], - [ - 261, - 21 - ], - [ - 266, - 23 - ], - [ - 269, - 16 - ], - [ - 275, - 13 - ], - [ - 283, - 10 - ] - ], - "doc": " Public: Provides a view that renders a list of items with an editor that\nfilters the items. Used by many packages such as the fuzzy-finder,\ncommand-palette, symbols-view and autocomplete.\n\nSubclasses must implement the following methods:\n\n* {::viewForItem}\n* {::confirmed}\n\n## Requiring in packages\n\n```coffee\n{SelectListView} = require 'atom'\n\nclass MySelectListView extends SelectListView\n initialize: ->\n super\n @addClass('overlay from-top')\n @setItems(['Hello', 'World'])\n atom.workspaceView.append(this)\n @focusFilterEditor()\n\n viewForItem: (item) ->\n \"
  • #{item}
  • \"\n\n confirmed: (item) ->\n console.log(\"#{item} was selected\")\n``` ", - "range": [ - [ - 36, - 0 - ], - [ - 291, - 34 - ] - ] - } - }, - "37": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 37, - 12 - ], - [ - 46, - 1 - ] - ] - } - }, - "46": { - "12": { - "name": "maxItems", - "type": "primitive", - "range": [ - [ - 46, - 12 - ], - [ - 46, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "47": { - "19": { - "name": "scheduleTimeout", - "type": "primitive", - "range": [ - [ - 47, - 19 - ], - [ - 47, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "48": { - "17": { - "name": "inputThrottle", - "type": "primitive", - "range": [ - [ - 48, - 17 - ], - [ - 48, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "49": { - "14": { - "name": "cancelling", - "type": "primitive", - "range": [ - [ - 49, - 14 - ], - [ - 49, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "55": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 14 - ], - [ - 90, - 1 - ] - ], - "doc": " Public: Initialize the select list view.\n\nThis method can be overridden by subclasses but `super` should always\nbe called. " - } - }, - "90": { - "24": { - "name": "schedulePopulateList", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 24 - ], - [ - 102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "102": { - "12": { - "name": "setItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 102, - 12 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Set the array of items to display in the list.\n\nThis should be model items not actual views. {::viewForItem} will be\ncalled to render the item when it is being appended to the list view.\n\nitems - The {Array} of model items to display in the list (default: []). " - } - }, - "109": { - "12": { - "name": "setError", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 109, - 12 - ], - [ - 119, - 1 - ] - ], - "doc": " Public: Set the error message to display.\n\nmessage - The {String} error message (default: ''). " - } - }, - "119": { - "14": { - "name": "setLoading", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 119, - 14 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Set the loading message to display.\n\nmessage - The {String} loading message (default: ''). " - } - }, - "136": { - "18": { - "name": "getFilterQuery", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 18 - ], - [ - 143, - 1 - ] - ], - "doc": " Public: Get the filter query to use when fuzzy filtering the visible\nelements.\n\nBy default this method returns the text in the mini editor but it can be\noverridden by subclasses if needed.\n\nReturns a {String} to use when fuzzy filtering the elements to display. " - } - }, - "143": { - "16": { - "name": "populateList", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 143, - 16 - ], - [ - 174, - 1 - ] - ], - "doc": " Public: Populate the list view with the model items previously set by\ncalling {::setItems}.\n\nSubclasses may override this method but should always call `super`. " - } - }, - "174": { - "19": { - "name": "getEmptyMessage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "itemCount", - "filteredItemCount" - ], - "range": [ - [ - 174, - 19 - ], - [ - 174, - 70 - ] - ], - "doc": " Public: Get the message to display when there are no items.\n\nSubclasses may override this method to customize the message.\n\nitemCount - The {Number} of items in the array specified to {::setItems}\nfilteredItemCount - The {Number} of items that pass the fuzzy filter test.\n\nReturns a {String} message (default: 'No matches found'). " - } - }, - "179": { - "15": { - "name": "setMaxItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 179, - 15 - ], - [ - 179, - 28 - ] - ], - "doc": " Public: Set the maximum numbers of items to display in the list.\n\nmaxItems - The maximum {Number} of items to display. " - } - }, - "181": { - "26": { - "name": "selectPreviousItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 181, - 26 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "22": { - "name": "selectNextItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 186, - 22 - ], - [ - 191, - 1 - ] - ], - "doc": "~Private~" - } - }, - "191": { - "18": { - "name": "selectItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 191, - 18 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "20": { - "name": "scrollToItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 197, - 20 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "23": { - "name": "getSelectedItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 207, - 23 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "19": { - "name": "getSelectedItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 19 - ], - [ - 216, - 1 - ] - ], - "doc": " Public: Get the model item that is currently selected in the list view.\n\nReturns a model item. " - } - }, - "216": { - "20": { - "name": "confirmSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 216, - 20 - ], - [ - 233, - 1 - ] - ], - "doc": "~Private~" - } - }, - "233": { - "15": { - "name": "viewForItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 233, - 15 - ], - [ - 244, - 1 - ] - ], - "doc": " Public: Create a view for the given model item.\n\nThis method must be overridden by subclasses.\n\nThis is called when the item is about to appended to the list view.\n\nitem - The model item being rendered. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a String of HTML, DOM element, jQuery object, or View. " - } - }, - "244": { - "13": { - "name": "confirmed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 244, - 13 - ], - [ - 258, - 1 - ] - ], - "doc": " Public: Callback function for when an item is selected.\n\nThis method must be overridden by subclasses.\n\nitem - The selected model item. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a DOM element, jQuery object, or {View}. " - } - }, - "258": { - "16": { - "name": "getFilterKey", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 258, - 16 - ], - [ - 258, - 17 - ] - ], - "doc": " Public: Get the property name to use when filtering items.\n\nThis method may be overridden by classes to allow fuzzy filtering based\non a specific property of the item objects.\n\nFor example if the objects you pass to {::setItems} are of the type\n`{\"id\": 3, \"name\": \"Atom\"}` then you would return `\"name\"` from this method\nto fuzzy filter by that property when text is entered into this view's\neditor.\n\nReturns the property name to fuzzy filter by. " - } - }, - "261": { - "21": { - "name": "focusFilterEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 21 - ], - [ - 266, - 1 - ] - ], - "doc": "Public: Focus the fuzzy filter editor view. " - } - }, - "266": { - "23": { - "name": "storeFocusedElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 266, - 23 - ], - [ - 269, - 1 - ] - ], - "doc": " Public: Store the currently focused element. This element will be given\nback focus when {::cancel} is called. " - } - }, - "269": { - "16": { - "name": "restoreFocus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 16 - ], - [ - 275, - 1 - ] - ], - "doc": "~Private~" - } - }, - "275": { - "13": { - "name": "cancelled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 275, - 13 - ], - [ - 283, - 1 - ] - ], - "doc": "~Private~" - } - }, - "283": { - "10": { - "name": "cancel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 283, - 10 - ], - [ - 291, - 34 - ] - ], - "doc": " Public: Cancel and close this select list view.\n\nThis restores focus to the previously focused element if\n{::storeFocusedElement} was called prior to this view being attached. " - } - } - }, - "exports": 36 - }, - "src/selection-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 8 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - } - }, - "4": { - "0": { - "type": "class", - "name": "SelectionView", - "bindingType": "exports", - "classProperties": [ - [ - 6, - 12 - ] - ], - "prototypeProperties": [ - [ - 9, - 11 - ], - [ - 10, - 16 - ], - [ - 12, - 14 - ], - [ - 19, - 17 - ], - [ - 37, - 16 - ], - [ - 50, - 26 - ], - [ - 57, - 16 - ], - [ - 61, - 18 - ], - [ - 64, - 18 - ], - [ - 67, - 19 - ], - [ - 70, - 19 - ], - [ - 73, - 13 - ], - [ - 79, - 15 - ], - [ - 82, - 10 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 84, - 9 - ] - ] - } - }, - "6": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 12 - ], - [ - 9, - 1 - ] - ], - "doc": "~Private~" - } - }, - "9": { - "11": { - "name": "regions", - "type": "primitive", - "range": [ - [ - 9, - 11 - ], - [ - 9, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "16": { - "name": "needsRemoval", - "type": "primitive", - "range": [ - [ - 10, - 16 - ], - [ - 10, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 14 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 19, - 17 - ], - [ - 37, - 1 - ] - ], - "doc": "~Private~" - } - }, - "37": { - "16": { - "name": "appendRegion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rows", - "start", - "end" - ], - "range": [ - [ - 37, - 16 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "26": { - "name": "getCenterPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 26 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "16": { - "name": "clearRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 16 - ], - [ - 61, - 1 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 18 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 18 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "19": { - "name": "needsAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 19 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 70, - 19 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "13": { - "name": "highlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 13 - ], - [ - 79, - 1 - ] - ], - "doc": "~Private~" - } - }, - "79": { - "15": { - "name": "unhighlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 15 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 10 - ], - [ - 84, - 9 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/selection.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "pick", - "exportsProperty": "pick" - } - }, - "6": { - "0": { - "type": "class", - "name": "Selection", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 7, - 10 - ], - [ - 8, - 10 - ], - [ - 9, - 10 - ], - [ - 10, - 22 - ], - [ - 11, - 12 - ], - [ - 12, - 19 - ], - [ - 14, - 15 - ], - [ - 25, - 11 - ], - [ - 28, - 12 - ], - [ - 34, - 19 - ], - [ - 38, - 11 - ], - [ - 45, - 14 - ], - [ - 49, - 22 - ], - [ - 53, - 18 - ], - [ - 60, - 18 - ], - [ - 64, - 18 - ], - [ - 74, - 18 - ], - [ - 91, - 21 - ], - [ - 98, - 25 - ], - [ - 101, - 25 - ], - [ - 104, - 25 - ], - [ - 107, - 25 - ], - [ - 110, - 14 - ], - [ - 114, - 11 - ], - [ - 118, - 9 - ], - [ - 126, - 14 - ], - [ - 138, - 18 - ], - [ - 144, - 14 - ], - [ - 155, - 18 - ], - [ - 163, - 26 - ], - [ - 184, - 26 - ], - [ - 188, - 15 - ], - [ - 192, - 14 - ], - [ - 196, - 12 - ], - [ - 200, - 14 - ], - [ - 205, - 15 - ], - [ - 210, - 18 - ], - [ - 214, - 13 - ], - [ - 219, - 27 - ], - [ - 224, - 32 - ], - [ - 229, - 21 - ], - [ - 234, - 27 - ], - [ - 239, - 21 - ], - [ - 244, - 31 - ], - [ - 248, - 32 - ], - [ - 252, - 28 - ], - [ - 257, - 36 - ], - [ - 262, - 40 - ], - [ - 266, - 21 - ], - [ - 284, - 22 - ], - [ - 289, - 21 - ], - [ - 316, - 14 - ], - [ - 349, - 20 - ], - [ - 383, - 10 - ], - [ - 399, - 22 - ], - [ - 405, - 25 - ], - [ - 412, - 13 - ], - [ - 417, - 30 - ], - [ - 422, - 30 - ], - [ - 428, - 27 - ], - [ - 434, - 27 - ], - [ - 443, - 10 - ], - [ - 455, - 21 - ], - [ - 462, - 21 - ], - [ - 467, - 22 - ], - [ - 477, - 14 - ], - [ - 496, - 13 - ], - [ - 522, - 23 - ], - [ - 532, - 26 - ], - [ - 542, - 22 - ], - [ - 546, - 18 - ], - [ - 551, - 7 - ], - [ - 561, - 8 - ], - [ - 579, - 8 - ], - [ - 584, - 19 - ], - [ - 595, - 13 - ], - [ - 603, - 25 - ], - [ - 606, - 28 - ], - [ - 609, - 23 - ], - [ - 617, - 18 - ], - [ - 625, - 9 - ], - [ - 641, - 11 - ], - [ - 644, - 22 - ] - ], - "doc": "Public: Represents a selection in the {Editor}. ", - "range": [ - [ - 6, - 0 - ], - [ - 647, - 45 - ] - ] - } - }, - "7": { - "10": { - "name": "cursor", - "type": "primitive", - "range": [ - [ - 7, - 10 - ], - [ - 7, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "8": { - "10": { - "name": "marker", - "type": "primitive", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "10": { - "name": "editor", - "type": "primitive", - "range": [ - [ - 9, - 10 - ], - [ - 9, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "22": { - "name": "initialScreenRange", - "type": "primitive", - "range": [ - [ - 10, - 22 - ], - [ - 10, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "11": { - "12": { - "name": "wordwise", - "type": "primitive", - "range": [ - [ - 11, - 12 - ], - [ - 11, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "19": { - "name": "needsAutoscroll", - "type": "primitive", - "range": [ - [ - 12, - 19 - ], - [ - 12, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 14, - 15 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 11 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "12": { - "name": "finalize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 12 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 19 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "11": { - "name": "isEmpty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 38, - 11 - ], - [ - 45, - 1 - ] - ], - "doc": "Public: Determines if the selection contains anything. " - } - }, - "45": { - "14": { - "name": "isReversed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 14 - ], - [ - 49, - 1 - ] - ], - "doc": " Public: Determines if the ending position of a marker is greater than the\nstarting position.\n\nThis can happen when, for example, you highlight text \"up\" in a {TextBuffer}. " - } - }, - "49": { - "22": { - "name": "isSingleScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 22 - ], - [ - 53, - 1 - ] - ], - "doc": "Public: Returns whether the selection is a single line or not. " - } - }, - "53": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 18 - ], - [ - 60, - 1 - ] - ], - "doc": "Public: Returns the screen {Range} for the selection. " - } - }, - "60": { - "18": { - "name": "setScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 60, - 18 - ], - [ - 64, - 1 - ] - ], - "doc": " Public: Modifies the screen range for the selection.\n\nscreenRange - The new {Range} to use.\noptions - A hash of options matching those found in {::setBufferRange}. " - } - }, - "64": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 18 - ], - [ - 74, - 1 - ] - ], - "doc": "Public: Returns the buffer {Range} for the selection. " - } - }, - "74": { - "18": { - "name": "setBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 74, - 18 - ], - [ - 91, - 1 - ] - ], - "doc": " Public: Modifies the buffer {Range} for the selection.\n\nscreenRange - The new {Range} to select.\noptions - An {Object} with the keys:\n :preserveFolds - if `true`, the fold settings are preserved after the\n selection moves.\n :autoscroll - if `true`, the {Editor} scrolls to the new selection. " - } - }, - "91": { - "21": { - "name": "getBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 21 - ], - [ - 98, - 1 - ] - ], - "doc": " Public: Returns the starting and ending buffer rows the selection is\nhighlighting.\n\nReturns an {Array} of two {Number}s: the starting row, and the ending row. " - } - }, - "98": { - "25": { - "name": "getTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 25 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "getTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 25 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "25": { - "name": "getHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 25 - ], - [ - 107, - 1 - ] - ], - "doc": "~Private~" - } - }, - "107": { - "25": { - "name": "getHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 25 - ], - [ - 110, - 1 - ] - ], - "doc": "~Private~" - } - }, - "110": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 14 - ], - [ - 114, - 1 - ] - ], - "doc": "~Private~" - } - }, - "114": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 114, - 11 - ], - [ - 118, - 1 - ] - ], - "doc": "Public: Returns the text in the selection. " - } - }, - "118": { - "9": { - "name": "clear", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 118, - 9 - ], - [ - 126, - 1 - ] - ], - "doc": "Public: Clears the selection, moving the marker to the head. " - } - }, - "126": { - "14": { - "name": "selectWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 14 - ], - [ - 138, - 1 - ] - ], - "doc": " Public: Modifies the selection to encompass the current word.\n\nReturns a {Range}. " - } - }, - "138": { - "18": { - "name": "expandOverWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 18 - ], - [ - 144, - 1 - ] - ], - "doc": " Public: Expands the newest selection to include the entire word on which\nthe cursors rests. " - } - }, - "144": { - "14": { - "name": "selectLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 144, - 14 - ], - [ - 155, - 1 - ] - ], - "doc": " Public: Selects an entire line in the buffer.\n\nrow - The line {Number} to select (default: the row of the cursor). " - } - }, - "155": { - "18": { - "name": "expandOverLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 155, - 18 - ], - [ - 163, - 1 - ] - ], - "doc": " Public: Expands the newest selection to include the entire line on which\nthe cursor currently rests.\n\nIt also includes the newline character. " - } - }, - "163": { - "26": { - "name": "selectToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 163, - 26 - ], - [ - 184, - 1 - ] - ], - "doc": " Public: Selects the text from the current cursor position to a given screen\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "184": { - "26": { - "name": "selectToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 184, - 26 - ], - [ - 188, - 1 - ] - ], - "doc": " Public: Selects the text from the current cursor position to a given buffer\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "188": { - "15": { - "name": "selectRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 15 - ], - [ - 192, - 1 - ] - ], - "doc": "Public: Selects the text one position right of the cursor. " - } - }, - "192": { - "14": { - "name": "selectLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 192, - 14 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Selects the text one position left of the cursor. " - } - }, - "196": { - "12": { - "name": "selectUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 196, - 12 - ], - [ - 200, - 1 - ] - ], - "doc": "Public: Selects all the text one position above the cursor. " - } - }, - "200": { - "14": { - "name": "selectDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 200, - 14 - ], - [ - 205, - 1 - ] - ], - "doc": "Public: Selects all the text one position below the cursor. " - } - }, - "205": { - "15": { - "name": "selectToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 205, - 15 - ], - [ - 210, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the top of\nthe buffer. " - } - }, - "210": { - "18": { - "name": "selectToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 18 - ], - [ - 214, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the bottom\nof the buffer. " - } - }, - "214": { - "13": { - "name": "selectAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 214, - 13 - ], - [ - 219, - 1 - ] - ], - "doc": "Public: Selects all the text in the buffer. " - } - }, - "219": { - "27": { - "name": "selectToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 219, - 27 - ], - [ - 224, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the line. " - } - }, - "224": { - "32": { - "name": "selectToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 32 - ], - [ - 229, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the first\ncharacter of the line. " - } - }, - "229": { - "21": { - "name": "selectToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 229, - 21 - ], - [ - 234, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the end of\nthe line. " - } - }, - "234": { - "27": { - "name": "selectToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 27 - ], - [ - 239, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the word. " - } - }, - "239": { - "21": { - "name": "selectToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 239, - 21 - ], - [ - 244, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the end of\nthe word. " - } - }, - "244": { - "31": { - "name": "selectToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 244, - 31 - ], - [ - 248, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next word. " - } - }, - "248": { - "32": { - "name": "selectToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 248, - 32 - ], - [ - 252, - 1 - ] - ], - "doc": "Public: Selects text to the previous word boundary. " - } - }, - "252": { - "28": { - "name": "selectToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 252, - 28 - ], - [ - 257, - 1 - ] - ], - "doc": "Public: Selects text to the next word boundary. " - } - }, - "257": { - "36": { - "name": "selectToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 257, - 36 - ], - [ - 262, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next paragraph. " - } - }, - "262": { - "40": { - "name": "selectToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 262, - 40 - ], - [ - 266, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the previous paragraph. " - } - }, - "266": { - "21": { - "name": "addSelectionBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 266, - 21 - ], - [ - 284, - 1 - ] - ], - "doc": "Public: Moves the selection down one row. " - } - }, - "284": { - "22": { - "name": "getGoalBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 22 - ], - [ - 289, - 1 - ] - ], - "doc": "FIXME: I have no idea what this does. " - } - }, - "289": { - "21": { - "name": "addSelectionAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 289, - 21 - ], - [ - 316, - 1 - ] - ], - "doc": "Public: Moves the selection up one row. " - } - }, - "316": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 316, - 14 - ], - [ - 349, - 1 - ] - ], - "doc": " Public: Replaces text at the current selection.\n\ntext - A {String} representing the text to add\noptions - An {Object} with keys:\n :select - if `true`, selects the newly added text.\n :autoIndent - if `true`, indents all inserted text appropriately.\n :autoIndentNewline - if `true`, indent newline appropriately.\n :autoDecreaseIndent - if `true`, decreases indent level appropriately\n (for example, when a closing bracket is inserted).\n :undo - if `skip`, skips the undo stack for this operation. " - } - }, - "349": { - "20": { - "name": "normalizeIndents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "indentBasis" - ], - "range": [ - [ - 349, - 20 - ], - [ - 383, - 1 - ] - ], - "doc": " Public: Indents the given text to the suggested level based on the grammar.\n\ntext - The {String} to indent within the selection.\nindentBasis - The beginning indent level. " - } - }, - "383": { - "10": { - "name": "indent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 383, - 10 - ], - [ - 399, - 1 - ] - ], - "doc": " Private: Indent the current line(s).\n\nIf the selection is empty, indents the current line if the cursor precedes\nnon-whitespace characters, and otherwise inserts a tab. If the selection is\nnon empty, calls {::indentSelectedRows}.\n\noptions - A {Object} with the keys:\n :autoIndent - If `true`, the line is indented to an automatically-inferred\n level. Otherwise, {Editor::getTabText} is inserted. " - } - }, - "399": { - "22": { - "name": "indentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 399, - 22 - ], - [ - 405, - 1 - ] - ], - "doc": "Public: If the selection spans multiple rows, indent all of them. " - } - }, - "405": { - "25": { - "name": "setIndentationForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line", - "indentLevel" - ], - "range": [ - [ - 405, - 25 - ], - [ - 412, - 1 - ] - ], - "doc": "Public: ? " - } - }, - "412": { - "13": { - "name": "backspace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 412, - 13 - ], - [ - 417, - 1 - ] - ], - "doc": " Public: Removes the first character before the selection if the selection\nis empty otherwise it deletes the selection. " - } - }, - "417": { - "30": { - "name": "backspaceToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 417, - 30 - ], - [ - 422, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " - } - }, - "422": { - "30": { - "name": "backspaceToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 422, - 30 - ], - [ - 428, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " - } - }, - "428": { - "27": { - "name": "deleteToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 27 - ], - [ - 434, - 1 - ] - ], - "doc": " Public: Removes from the start of the selection to the beginning of the\ncurrent word if the selection is empty otherwise it deletes the selection. " - } - }, - "434": { - "27": { - "name": "deleteToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 434, - 27 - ], - [ - 443, - 1 - ] - ], - "doc": " Public: Removes from the beginning of the line which the selection begins on\nall the way through to the end of the selection. " - } - }, - "443": { - "10": { - "name": "delete", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 443, - 10 - ], - [ - 455, - 1 - ] - ] - } - }, - "455": { - "21": { - "name": "deleteToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 455, - 21 - ], - [ - 462, - 1 - ] - ], - "doc": " Public: If the selection is empty, removes all text from the cursor to the\nend of the line. If the cursor is already at the end of the line, it\nremoves the following newline. If the selection isn't empty, only deletes\nthe contents of the selection. " - } - }, - "462": { - "21": { - "name": "deleteToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 462, - 21 - ], - [ - 467, - 1 - ] - ], - "doc": " Public: Removes the selection or all characters from the start of the\nselection to the end of the current word if nothing is selected. " - } - }, - "467": { - "22": { - "name": "deleteSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 467, - 22 - ], - [ - 477, - 1 - ] - ], - "doc": "Public: Removes only the selected text. " - } - }, - "477": { - "14": { - "name": "deleteLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 477, - 14 - ], - [ - 496, - 1 - ] - ], - "doc": " Public: Removes the line at the beginning of the selection if the selection\nis empty unless the selection spans multiple lines in which case all lines\nare removed. " - } - }, - "496": { - "13": { - "name": "joinLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 496, - 13 - ], - [ - 522, - 1 - ] - ], - "doc": " Public: Joins the current line with the one below it.\n\nIf there selection spans more than one line, all the lines are joined together. " - } - }, - "522": { - "23": { - "name": "outdentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 522, - 23 - ], - [ - 532, - 1 - ] - ], - "doc": "Public: Removes one level of indent from the currently selected rows. " - } - }, - "532": { - "26": { - "name": "autoIndentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 532, - 26 - ], - [ - 542, - 1 - ] - ], - "doc": " Public: Sets the indentation level of all selected rows to values suggested\nby the relevant grammars. " - } - }, - "542": { - "22": { - "name": "toggleLineComments", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 542, - 22 - ], - [ - 546, - 1 - ] - ], - "doc": " Public: Wraps the selected lines in comments if they aren't currently part\nof a comment.\n\nRemoves the comment if they are currently wrapped in a comment.\n\nReturns an Array of the commented {Range}s. " - } - }, - "546": { - "18": { - "name": "cutToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 546, - 18 - ], - [ - 551, - 1 - ] - ], - "doc": "Public: Cuts the selection until the end of the line. " - } - }, - "551": { - "7": { - "name": "cut", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 551, - 7 - ], - [ - 561, - 1 - ] - ], - "doc": "Public: Copies the selection to the clipboard and then deletes it. " - } - }, - "561": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 561, - 8 - ], - [ - 579, - 1 - ] - ], - "doc": " Public: Copies the current selection to the clipboard.\n\nIf the `maintainClipboard` is set to `true`, a specific metadata property\nis created to store each content copied to the clipboard. The clipboard\n`text` still contains the concatenation of the clipboard with the\ncurrent selection. " - } - }, - "579": { - "8": { - "name": "fold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 579, - 8 - ], - [ - 584, - 1 - ] - ], - "doc": "Public: Creates a fold containing the current selection. " - } - }, - "584": { - "19": { - "name": "modifySelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 584, - 19 - ], - [ - 595, - 1 - ] - ], - "doc": "~Private~" - } - }, - "595": { - "13": { - "name": "plantTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 595, - 13 - ], - [ - 603, - 1 - ] - ], - "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " - } - }, - "603": { - "25": { - "name": "intersectsBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 603, - 25 - ], - [ - 606, - 1 - ] - ], - "doc": " Public: Identifies if a selection intersects with a given buffer range.\n\nbufferRange - A {Range} to check against.\n\nReturns a Boolean. " - } - }, - "606": { - "28": { - "name": "intersectsScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 606, - 28 - ], - [ - 609, - 1 - ] - ], - "doc": "~Private~" - } - }, - "609": { - "23": { - "name": "intersectsScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 609, - 23 - ], - [ - 617, - 1 - ] - ], - "doc": "~Private~" - } - }, - "617": { - "18": { - "name": "intersectsWith", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection" - ], - "range": [ - [ - 617, - 18 - ], - [ - 625, - 1 - ] - ], - "doc": " Public: Identifies if a selection intersects with another selection.\n\notherSelection - A {Selection} to check against.\n\nReturns a Boolean. " - } - }, - "625": { - "9": { - "name": "merge", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection", - "options" - ], - "range": [ - [ - 625, - 9 - ], - [ - 641, - 1 - ] - ], - "doc": " Public: Combines the given selection into this selection and then destroys\nthe given selection.\n\notherSelection - A {Selection} to merge with.\noptions - A hash of options matching those found in {::setBufferRange}. " - } - }, - "641": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection" - ], - "range": [ - [ - 641, - 11 - ], - [ - 644, - 1 - ] - ], - "doc": " Public: Compare this selection's buffer range to another selection's buffer\nrange.\n\nSee {Range::compare} for more details.\n\notherSelection - A {Selection} to compare against. " - } - }, - "644": { - "22": { - "name": "screenRangeChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 644, - 22 - ], - [ - 647, - 45 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 6 - }, - "src/space-pen-extensions.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "11": { - "name": "spacePen", - "type": "import", - "range": [ - [ - 1, - 11 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "space-pen" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "6": { - "9": { - "name": "spacePen", - "type": "primitive", - "range": [ - [ - 6, - 9 - ], - [ - 6, - 16 - ] - ] - } - }, - "7": { - "20": { - "name": "jQuery", - "type": "primitive", - "range": [ - [ - 7, - 20 - ], - [ - 7, - 25 - ] - ] - } - }, - "8": { - "19": { - "name": "jQuery.cleanData", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "elements" - ], - "range": [ - [ - 8, - 19 - ], - [ - 11, - 0 - ] - ], - "doc": null - } - }, - "13": { - "2": { - "type": "primitive", - "range": [ - [ - 13, - 2 - ], - [ - 19, - 19 - ] - ] - } - }, - "14": { - "4": { - "type": "primitive", - "range": [ - [ - 14, - 4 - ], - [ - 15, - 12 - ] - ] - }, - "10": { - "name": "1000", - "type": "primitive", - "range": [ - [ - 14, - 10 - ], - [ - 14, - 13 - ] - ] - } - }, - "15": { - "10": { - "name": "100", - "type": "primitive", - "range": [ - [ - 15, - 10 - ], - [ - 15, - 12 - ] - ] - } - }, - "16": { - "13": { - "name": "'body'", - "type": "primitive", - "range": [ - [ - 16, - 13 - ], - [ - 16, - 18 - ] - ] - } - }, - "17": { - "8": { - "type": "primitive", - "range": [ - [ - 17, - 8 - ], - [ - 17, - 11 - ] - ] - } - }, - "18": { - "13": { - "name": "'auto top'", - "type": "primitive", - "range": [ - [ - 18, - 13 - ], - [ - 18, - 22 - ] - ] - } - }, - "19": { - "19": { - "name": "2", - "type": "primitive", - "range": [ - [ - 19, - 19 - ], - [ - 19, - 19 - ] - ] - } - }, - "21": { - "21": { - "name": "humanizeKeystrokes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "keystroke" - ], - "range": [ - [ - 21, - 21 - ], - [ - 25, - 0 - ] - ], - "doc": "~Private~" - } - }, - "26": { - "15": { - "name": "getKeystroke", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bindings" - ], - "range": [ - [ - 26, - 15 - ], - [ - 31, - 0 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "26": { - "name": "requireBootstrapTooltip", - "type": "function", - "range": [ - [ - 32, - 26 - ], - [ - 35, - 59 - ] - ] - } - }, - "36": { - "23": { - "name": "jQuery.fn.setTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "tooltipOptions", - null - ], - "range": [ - [ - 36, - 23 - ], - [ - 49, - 0 - ] - ], - "doc": null - } - }, - "50": { - "24": { - "name": "jQuery.fn.hideTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 24 - ], - [ - 55, - 0 - ] - ], - "doc": null - } - }, - "56": { - "27": { - "name": "jQuery.fn.destroyTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 27 - ], - [ - 61, - 38 - ] - ], - "doc": null - } - }, - "68": { - "36": { - "name": "getKeystroke", - "type": "primitive", - "range": [ - [ - 68, - 36 - ], - [ - 68, - 47 - ] - ] - } - }, - "69": { - "42": { - "name": "humanizeKeystrokes", - "type": "primitive", - "range": [ - [ - 69, - 42 - ], - [ - 69, - 59 - ] - ] - } - }, - "71": { - "49": { - "name": "get", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 71, - 49 - ], - [ - 71, - 55 - ] - ], - "doc": null - } - } - }, - "exports": 73 - }, - "src/subscriber-mixin.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "1": { - "18": { - "type": "primitive", - "range": [ - [ - 1, - 18 - ], - [ - 1, - 55 - ] - ] - }, - "39": { - "name": "componentDidUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 1, - 39 - ], - [ - 1, - 55 - ] - ], - "doc": null - } - } - }, - "exports": 3 - }, - "src/syntax.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 11 - ] - ], - "bindingType": "variable", - "module": "clear-cut", - "name": "specificity", - "exportsProperty": "specificity" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 15 - ] - ], - "bindingType": "variable", - "module": "first-mate", - "name": "GrammarRegistry", - "exportsProperty": "GrammarRegistry" - }, - "18": { - "type": "import", - "range": [ - [ - 4, - 18 - ], - [ - 4, - 30 - ] - ], - "bindingType": "variable", - "module": "first-mate", - "name": "ScopeSelector", - "exportsProperty": "ScopeSelector" - } - }, - "5": { - "22": { - "name": "ScopedPropertyStore", - "type": "import", - "range": [ - [ - 5, - 22 - ], - [ - 5, - 52 - ] - ], - "bindingType": "variable", - "module": "scoped-property-store" - } - }, - "6": { - "20": { - "name": "PropertyAccessors", - "type": "import", - "range": [ - [ - 6, - 20 - ], - [ - 6, - 47 - ] - ], - "bindingType": "variable", - "module": "property-accessors@1.x" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 8, - 4 - ], - [ - 8, - 5 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - } - }, - "9": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 9, - 8 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "18": { - "0": { - "type": "class", - "name": "Syntax", - "bindingType": "exports", - "classProperties": [ - [ - 23, - 16 - ] - ], - "prototypeProperties": [ - [ - 28, - 15 - ], - [ - 32, - 13 - ], - [ - 35, - 15 - ], - [ - 42, - 17 - ], - [ - 49, - 20 - ], - [ - 52, - 19 - ], - [ - 67, - 15 - ], - [ - 75, - 22 - ], - [ - 84, - 32 - ] - ], - "doc": " Public: Syntax class holding the grammars used for tokenizing.\n\nAn instance of this class is always available as the `atom.syntax` global.\n\nThe Syntax class also contains properties for things such as the\nlanguage-specific comment regexes. ", - "range": [ - [ - 18, - 0 - ], - [ - 85, - 52 - ] - ] - } - }, - "23": { - "16": { - "name": "deserialize", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 23, - 16 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 15 - ], - [ - 32, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "13": { - "name": "serialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 32, - 13 - ], - [ - 35, - 1 - ] - ], - "doc": "~Private~" - } - }, - "35": { - "15": { - "name": "createToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "scopes" - ], - "range": [ - [ - 35, - 15 - ], - [ - 35, - 59 - ] - ], - "doc": "~Private~" - } - }, - "42": { - "17": { - "name": "addProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 42, - 17 - ], - [ - 49, - 1 - ] - ], - "doc": "~Private~" - } - }, - "49": { - "20": { - "name": "removeProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 49, - 20 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "19": { - "name": "clearProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 19 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "15": { - "name": "getProperty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scope", - "keyPath" - ], - "range": [ - [ - 67, - 15 - ], - [ - 75, - 1 - ] - ], - "doc": " Public: Get a property for the given scope and key path.\n\n## Example\n```coffee\ncomment = atom.syntax.getProperty(['.source.ruby'], 'editor.commentStart')\nconsole.log(comment) # '# '\n```\n\nscope - An {Array} of {String} scopes.\nkeyPath - A {String} key path.\n\nReturns a {String} property value or undefined. " - } - }, - "75": { - "22": { - "name": "propertiesForScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scope", - "keyPath" - ], - "range": [ - [ - 75, - 22 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "32": { - "name": "cssSelectorFromScopeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeSelector" - ], - "range": [ - [ - 84, - 32 - ], - [ - 85, - 52 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 18 - }, - "src/task-bootstrap.coffee": { - "objects": { - "0": { - "1": { - "type": "primitive", - "name": "userAgent", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "exportsProperty": "userAgent" - }, - "12": { - "type": "primitive", - "name": "taskPath", - "range": [ - [ - 0, - 12 - ], - [ - 0, - 19 - ] - ], - "exportsProperty": "taskPath" - } - }, - "3": { - "15": { - "name": "setupGlobals", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 3, - 15 - ], - [ - 28, - 0 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "15": { - "name": "handleEvents", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 15 - ], - [ - 42, - 0 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "10": { - "name": "handler", - "type": "import", - "range": [ - [ - 45, - 10 - ], - [ - 45, - 26 - ] - ], - "bindingType": "variable", - "module": "askPat" - } - } - }, - "exports": {} - }, - "src/task.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "16": { - "name": "child_process", - "type": "import", - "range": [ - [ - 1, - 16 - ], - [ - 1, - 38 - ] - ], - "bindingType": "variable", - "module": "child_process", - "builtin": true - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "21": { - "0": { - "type": "class", - "name": "Task", - "bindingType": "exports", - "classProperties": [ - [ - 29, - 9 - ] - ], - "prototypeProperties": [ - [ - 41, - 12 - ], - [ - 47, - 15 - ], - [ - 73, - 16 - ], - [ - 82, - 9 - ], - [ - 95, - 8 - ], - [ - 102, - 13 - ] - ], - "doc": " Public: Run a node script in a separate process.\n\nUsed by the fuzzy-finder.\n\n## Events\n\n* task:log - Emitted when console.log is called within the task.\n* task:warn - Emitted when console.warn is called within the task.\n* task:error - Emitted when console.error is called within the task.\n* task:completed - Emitted when the task has succeeded or failed.\n\n## Requiring in packages\n\n```coffee\n {Task} = require 'atom'\n``` ", - "range": [ - [ - 21, - 0 - ], - [ - 109, - 10 - ] - ] - } - }, - "29": { - "9": { - "name": "once", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "taskPath", - "args" - ], - "range": [ - [ - 29, - 9 - ], - [ - 41, - 1 - ] - ], - "doc": " Public: A helper method to easily launch and run a task once.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file which\n exports a single {Function} to execute.\nargs - The arguments to pass to the exported function. " - } - }, - "41": { - "12": { - "name": "callback", - "type": "primitive", - "range": [ - [ - 41, - 12 - ], - [ - 41, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "47": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "taskPath" - ], - "range": [ - [ - 47, - 15 - ], - [ - 73, - 1 - ] - ], - "doc": " Public: Creates a task.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file that\n exports a single {Function} to execute. " - } - }, - "73": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 16 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Routes messages from the child to the appropriate event. " - } - }, - "82": { - "9": { - "name": "start", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args", - "callback" - ], - "range": [ - [ - 82, - 9 - ], - [ - 95, - 1 - ] - ], - "doc": " Public: Starts the task.\n\nargs - The arguments to pass to the function exported by this task's script.\ncallback - An optional {Function} to call when the task completes. " - } - }, - "95": { - "8": { - "name": "send", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 95, - 8 - ], - [ - 102, - 1 - ] - ], - "doc": " Public: Send message to the task.\n\nmessage - The message to send to the task. " - } - }, - "102": { - "13": { - "name": "terminate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 13 - ], - [ - 109, - 10 - ] - ], - "doc": " Public: Forcefully stop the running task.\n\nNo events are emitted. " - } - } - }, - "exports": 21 - }, - "src/text-utils.coffee": { - "objects": { - "0": { - "18": { - "name": "isHighSurrogate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 0, - 18 - ], - [ - 2, - 0 - ] - ], - "doc": "~Private~" - } - }, - "3": { - "17": { - "name": "isLowSurrogate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 3, - 17 - ], - [ - 11, - 21 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "18": { - "name": "isSurrogatePair", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 12, - 18 - ], - [ - 22, - 21 - ] - ], - "doc": " Private: Is the character at the given index the start of a high/low surrogate pair?\n\nstring - The {String} to check for a surrogate pair.\nindex - The {Number} index to look for a surrogate pair at.\n\nReturn a {Boolean}. " - } - }, - "23": { - "20": { - "name": "getCharacterCount", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 23, - 20 - ], - [ - 32, - 22 - ] - ], - "doc": " Private: Get the number of characters in the string accounting for surrogate pairs.\n\nThis method counts high/low surrogate pairs as a single character and will\nalways returns a value less than or equal to `string.length`.\n\nstring - The {String} to count the number of full characters in.\n\nReturns a {Number}. " - } - }, - "33": { - "19": { - "name": "hasSurrogatePair", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 33, - 19 - ], - [ - 35, - 0 - ] - ], - "doc": " Private: Does the given string contain at least one surrogate pair?\n\nstring - The {String} to check for the presence of surrogate pairs.\n\nReturns a {Boolean}. " - } - } - }, - "exports": 36 - }, - "src/theme-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "8": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "9": { - "1": { - "type": "import", - "range": [ - [ - 9, - 1 - ], - [ - 9, - 4 - ] - ], - "bindingType": "variable", - "module": "pathwatcher", - "name": "File", - "exportsProperty": "File" - } - }, - "15": { - "0": { - "type": "class", - "name": "ThemeManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 18, - 15 - ], - [ - 22, - 21 - ], - [ - 27, - 18 - ], - [ - 31, - 18 - ], - [ - 35, - 19 - ], - [ - 39, - 19 - ], - [ - 42, - 20 - ], - [ - 47, - 24 - ], - [ - 57, - 18 - ], - [ - 82, - 20 - ], - [ - 87, - 20 - ], - [ - 93, - 20 - ], - [ - 96, - 18 - ], - [ - 109, - 25 - ], - [ - 116, - 25 - ], - [ - 121, - 22 - ], - [ - 133, - 23 - ], - [ - 137, - 25 - ], - [ - 142, - 26 - ], - [ - 145, - 21 - ], - [ - 160, - 21 - ], - [ - 169, - 18 - ], - [ - 175, - 22 - ], - [ - 197, - 14 - ], - [ - 200, - 20 - ], - [ - 209, - 19 - ] - ], - "doc": " Public: Handles loading and activating available themes.\n\nAn instance of this class is always available as the `atom.themes` global. ", - "range": [ - [ - 15, - 0 - ], - [ - 222, - 31 - ] - ] - } - }, - "18": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 18, - 15 - ], - [ - 22, - 1 - ] - ], - "doc": "~Private~" - } - }, - "22": { - "21": { - "name": "getAvailableNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 22, - 21 - ], - [ - 27, - 1 - ] - ], - "doc": "~Private~" - } - }, - "27": { - "18": { - "name": "getLoadedNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 18 - ], - [ - 31, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded theme names. " - } - }, - "31": { - "18": { - "name": "getActiveNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 31, - 18 - ], - [ - 35, - 1 - ] - ], - "doc": "Public: Get an array of all the active theme names. " - } - }, - "35": { - "19": { - "name": "getActiveThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 35, - 19 - ], - [ - 39, - 1 - ] - ], - "doc": "Public: Get an array of all the active themes. " - } - }, - "39": { - "19": { - "name": "getLoadedThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 39, - 19 - ], - [ - 42, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded themes. " - } - }, - "42": { - "20": { - "name": "activatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "themePackages" - ], - "range": [ - [ - 42, - 20 - ], - [ - 42, - 55 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "24": { - "name": "getEnabledThemeNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 47, - 24 - ], - [ - 57, - 1 - ] - ], - "doc": " Private: Get the enabled theme names from the config.\n\nReturns an array of theme names in the order that they should be activated. " - } - }, - "57": { - "18": { - "name": "activateThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 18 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "20": { - "name": "deactivateThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 20 - ], - [ - 87, - 1 - ] - ], - "doc": "~Private~" - } - }, - "87": { - "20": { - "name": "refreshLessCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 87, - 20 - ], - [ - 93, - 1 - ] - ], - "doc": "~Private~" - } - }, - "93": { - "20": { - "name": "setEnabledThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "enabledThemeNames" - ], - "range": [ - [ - 93, - 20 - ], - [ - 96, - 1 - ] - ], - "doc": " Public: Set the list of enabled themes.\n\nenabledThemeNames - An {Array} of {String} theme names. " - } - }, - "96": { - "18": { - "name": "getImportPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 18 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "25": { - "name": "getUserStylesheetPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 25 - ], - [ - 116, - 1 - ] - ], - "doc": "Public: Returns the {String} path to the user's stylesheet under ~/.atom " - } - }, - "116": { - "25": { - "name": "unwatchUserStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 25 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "22": { - "name": "loadUserStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 121, - 22 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "23": { - "name": "loadBaseStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 23 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "25": { - "name": "reloadBaseStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 25 - ], - [ - 142, - 1 - ] - ], - "doc": "~Private~" - } - }, - "142": { - "26": { - "name": "stylesheetElementForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id", - "htmlElement" - ], - "range": [ - [ - 142, - 26 - ], - [ - 145, - 1 - ] - ], - "doc": "~Private~" - } - }, - "145": { - "21": { - "name": "resolveStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 145, - 21 - ], - [ - 160, - 1 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "21": { - "name": "requireStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "type", - "htmlElement" - ], - "range": [ - [ - 160, - 21 - ], - [ - 169, - 1 - ] - ], - "doc": " Public: Resolve and apply the stylesheet specified by the path.\n\nThis supports both CSS and LESS stylsheets.\n\nstylesheetPath - A {String} path to the stylesheet that can be an absolute\n path or a relative path that will be resolved against the\n load path.\n\nReturns the absolute path to the required stylesheet. " - } - }, - "169": { - "18": { - "name": "loadStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "importFallbackVariables" - ], - "range": [ - [ - 169, - 18 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "22": { - "name": "loadLessStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lessStylesheetPath", - "importFallbackVariables" - ], - "range": [ - [ - 175, - 22 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "14": { - "name": "stringToId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 197, - 14 - ], - [ - 200, - 1 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "20": { - "name": "removeStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 200, - 20 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "19": { - "name": "applyStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "text", - "type", - "htmlElement" - ], - "range": [ - [ - 209, - 19 - ], - [ - 222, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 15 - }, - "src/theme-package.coffee": { - "objects": { - "0": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "1": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 1, - 10 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "4": { - "0": { - "type": "class", - "name": "ThemePackage", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 5, - 11 - ], - [ - 7, - 21 - ], - [ - 9, - 10 - ], - [ - 12, - 11 - ], - [ - 15, - 8 - ], - [ - 23, - 12 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 31, - 31 - ] - ] - } - }, - "5": { - "11": { - "name": "getType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 11 - ], - [ - 5, - 20 - ] - ] - } - }, - "7": { - "21": { - "name": "getStylesheetType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 7, - 21 - ], - [ - 7, - 30 - ] - ], - "doc": "~Private~" - } - }, - "9": { - "10": { - "name": "enable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 10 - ], - [ - 12, - 1 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "11": { - "name": "disable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 12, - 11 - ], - [ - 15, - 1 - ] - ], - "doc": "~Private~" - } - }, - "15": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 15, - 8 - ], - [ - 23, - 1 - ] - ], - "doc": "~Private~" - } - }, - "23": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 23, - 12 - ], - [ - 31, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/token.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "12": { - "name": "textUtils", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 33 - ] - ], - "bindingType": "variable", - "path": "./text-utils" - } - }, - "3": { - "31": { - "type": "primitive", - "range": [ - [ - 3, - 31 - ], - [ - 3, - 32 - ] - ] - } - }, - "4": { - "20": { - "name": "/^[ ]+/", - "type": "primitive", - "range": [ - [ - 4, - 20 - ], - [ - 4, - 26 - ] - ] - } - }, - "5": { - "21": { - "name": "/[ ]+$/", - "type": "primitive", - "range": [ - [ - 5, - 21 - ], - [ - 5, - 27 - ] - ] - } - }, - "6": { - "14": { - "name": "/[&\"'<>]/g", - "type": "primitive", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 23 - ] - ] - } - }, - "7": { - "17": { - "name": "/./g", - "type": "primitive", - "range": [ - [ - 7, - 17 - ], - [ - 7, - 20 - ] - ] - } - }, - "8": { - "22": { - "name": "/^./", - "type": "primitive", - "range": [ - [ - 8, - 22 - ], - [ - 8, - 25 - ] - ] - } - }, - "9": { - "16": { - "name": "/^\\.?/", - "type": "primitive", - "range": [ - [ - 9, - 16 - ], - [ - 9, - 21 - ] - ] - } - }, - "10": { - "18": { - "name": "/\\S/", - "type": "primitive", - "range": [ - [ - 10, - 18 - ], - [ - 10, - 21 - ] - ] - } - }, - "12": { - "17": { - "name": "20000", - "type": "primitive", - "range": [ - [ - 12, - 17 - ], - [ - 12, - 21 - ] - ] - } - }, - "16": { - "0": { - "type": "class", - "name": "Token", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 9 - ], - [ - 18, - 20 - ], - [ - 19, - 10 - ], - [ - 20, - 12 - ], - [ - 21, - 13 - ], - [ - 22, - 24 - ], - [ - 23, - 25 - ], - [ - 25, - 15 - ], - [ - 30, - 11 - ], - [ - 33, - 13 - ], - [ - 36, - 11 - ], - [ - 41, - 31 - ], - [ - 44, - 24 - ], - [ - 86, - 26 - ], - [ - 106, - 27 - ], - [ - 113, - 21 - ], - [ - 116, - 21 - ], - [ - 119, - 17 - ], - [ - 129, - 20 - ], - [ - 132, - 24 - ], - [ - 138, - 18 - ], - [ - 185, - 16 - ], - [ - 194, - 23 - ] - ], - "doc": "Private: Represents a single unit of text as selected by a grammar. ", - "range": [ - [ - 16, - 0 - ], - [ - 201, - 16 - ] - ] - } - }, - "17": { - "9": { - "name": "value", - "type": "primitive", - "range": [ - [ - 17, - 9 - ], - [ - 17, - 12 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "20": { - "name": "hasSurrogatePair", - "type": "primitive", - "range": [ - [ - 18, - 20 - ], - [ - 18, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "10": { - "name": "scopes", - "type": "primitive", - "range": [ - [ - 19, - 10 - ], - [ - 19, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "20": { - "12": { - "name": "isAtomic", - "type": "primitive", - "range": [ - [ - 20, - 12 - ], - [ - 20, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "13": { - "name": "isHardTab", - "type": "primitive", - "range": [ - [ - 21, - 13 - ], - [ - 21, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "22": { - "24": { - "name": "hasLeadingWhitespace", - "type": "primitive", - "range": [ - [ - 22, - 24 - ], - [ - 22, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "23": { - "25": { - "name": "hasTrailingWhitespace", - "type": "primitive", - "range": [ - [ - 23, - 25 - ], - [ - 23, - 29 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "25": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 25, - 15 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "isEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 30, - 11 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "13": { - "name": "isBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 33, - 13 - ], - [ - 36, - 1 - ] - ], - "doc": "~Private~" - } - }, - "36": { - "11": { - "name": "splitAt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "splitIndex" - ], - "range": [ - [ - 36, - 11 - ], - [ - 41, - 1 - ] - ], - "doc": "~Private~" - } - }, - "41": { - "31": { - "name": "whitespaceRegexForTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 41, - 31 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "24": { - "name": "breakOutAtomicTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "breakOutLeadingSoftTabs", - "startColumn" - ], - "range": [ - [ - 44, - 24 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "26": { - "name": "breakOutSurrogatePairs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 26 - ], - [ - 106, - 1 - ] - ], - "doc": "~Private~" - } - }, - "106": { - "27": { - "name": "buildSurrogatePairToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "index" - ], - "range": [ - [ - 106, - 27 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "21": { - "name": "buildHardTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "column" - ], - "range": [ - [ - 113, - 21 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "21": { - "name": "buildSoftTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 116, - 21 - ], - [ - 119, - 1 - ] - ], - "doc": "~Private~" - } - }, - "119": { - "17": { - "name": "buildTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "isHardTab", - "column" - ], - "range": [ - [ - 119, - 17 - ], - [ - 129, - 1 - ] - ], - "doc": "~Private~" - } - }, - "129": { - "20": { - "name": "isOnlyWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 129, - 20 - ], - [ - 132, - 1 - ] - ], - "doc": "~Private~" - } - }, - "132": { - "24": { - "name": "matchesScopeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 132, - 24 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "18": { - "name": "getValueAsHtml", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 138, - 18 - ], - [ - 185, - 1 - ] - ], - "doc": "~Private~" - } - }, - "185": { - "16": { - "name": "escapeString", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "str", - "startIndex", - "endIndex" - ], - "range": [ - [ - 185, - 16 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "23": { - "name": "escapeStringReplace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "match" - ], - "range": [ - [ - 194, - 23 - ], - [ - 201, - 16 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 16 - }, - "src/tokenized-buffer.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer", - "name": "Range", - "exportsProperty": "Range" - } - }, - "3": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "4": { - "16": { - "name": "TokenizedLine", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 41 - ] - ], - "bindingType": "variable", - "path": "./tokenized-line" - } - }, - "5": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "8": { - "0": { - "type": "class", - "name": "TokenizedBuffer", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 11 - ], - [ - 14, - 23 - ], - [ - 15, - 10 - ], - [ - 16, - 18 - ], - [ - 17, - 13 - ], - [ - 18, - 15 - ], - [ - 19, - 11 - ], - [ - 21, - 15 - ], - [ - 48, - 19 - ], - [ - 52, - 21 - ], - [ - 56, - 14 - ], - [ - 64, - 17 - ], - [ - 70, - 23 - ], - [ - 76, - 23 - ], - [ - 82, - 14 - ], - [ - 88, - 16 - ], - [ - 94, - 16 - ], - [ - 96, - 24 - ], - [ - 103, - 21 - ], - [ - 133, - 19 - ], - [ - 136, - 15 - ], - [ - 139, - 17 - ], - [ - 144, - 21 - ], - [ - 153, - 22 - ], - [ - 173, - 48 - ], - [ - 183, - 30 - ], - [ - 200, - 41 - ], - [ - 203, - 39 - ], - [ - 210, - 37 - ], - [ - 220, - 20 - ], - [ - 225, - 22 - ], - [ - 228, - 15 - ], - [ - 231, - 21 - ], - [ - 257, - 22 - ], - [ - 266, - 21 - ], - [ - 269, - 20 - ], - [ - 273, - 33 - ], - [ - 278, - 33 - ], - [ - 299, - 30 - ], - [ - 314, - 39 - ], - [ - 329, - 22 - ], - [ - 344, - 22 - ], - [ - 362, - 14 - ], - [ - 365, - 16 - ], - [ - 368, - 12 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 371, - 40 - ] - ] - } - }, - "13": { - "11": { - "name": "grammar", - "type": "primitive", - "range": [ - [ - 13, - 11 - ], - [ - 13, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "23": { - "name": "currentGrammarScore", - "type": "primitive", - "range": [ - [ - 14, - 23 - ], - [ - 14, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "15": { - "10": { - "name": "buffer", - "type": "primitive", - "range": [ - [ - 15, - 10 - ], - [ - 15, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "18": { - "name": "tokenizedLines", - "type": "primitive", - "range": [ - [ - 16, - 18 - ], - [ - 16, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "17": { - "13": { - "name": "chunkSize", - "type": "primitive", - "range": [ - [ - 17, - 13 - ], - [ - 17, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "15": { - "name": "invalidRows", - "type": "primitive", - "range": [ - [ - 18, - 15 - ], - [ - 18, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 19, - 11 - ], - [ - 19, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 21, - 15 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 19 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 52, - 21 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar", - "score" - ], - "range": [ - [ - 56, - 14 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 17 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "23": { - "name": "hasTokenForSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 70, - 23 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "23": { - "name": "resetTokenizedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 23 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 82, - 14 - ], - [ - 88, - 1 - ] - ], - "doc": "~Private~" - } - }, - "88": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 16 - ], - [ - 94, - 1 - ] - ], - "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " - } - }, - "94": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 94, - 16 - ], - [ - 94, - 30 - ] - ], - "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " - } - }, - "96": { - "24": { - "name": "tokenizeInBackground", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 24 - ], - [ - 103, - 1 - ] - ], - "doc": "~Private~" - } - }, - "103": { - "21": { - "name": "tokenizeNextChunk", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 103, - 21 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "19": { - "name": "firstInvalidRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 19 - ], - [ - 136, - 1 - ] - ], - "doc": "~Private~" - } - }, - "136": { - "15": { - "name": "validateRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 136, - 15 - ], - [ - 139, - 1 - ] - ], - "doc": "~Private~" - } - }, - "139": { - "17": { - "name": "invalidateRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 139, - 17 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "21": { - "name": "updateInvalidRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end", - "delta" - ], - "range": [ - [ - 144, - 21 - ], - [ - 153, - 1 - ] - ], - "doc": "~Private~" - } - }, - "153": { - "22": { - "name": "handleBufferChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 153, - 22 - ], - [ - 173, - 1 - ] - ], - "doc": "~Private~" - } - }, - "173": { - "48": { - "name": "retokenizeWhitespaceRowsIfIndentLevelChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "increment" - ], - "range": [ - [ - 173, - 48 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "30": { - "name": "buildTokenizedLinesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow", - "startingStack" - ], - "range": [ - [ - 183, - 30 - ], - [ - 200, - 1 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "41": { - "name": "buildPlaceholderTokenizedLinesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 200, - 41 - ], - [ - 203, - 1 - ] - ], - "doc": "~Private~" - } - }, - "203": { - "39": { - "name": "buildPlaceholderTokenizedLineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 203, - 39 - ], - [ - 210, - 1 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "37": { - "name": "buildTokenizedTokenizedLineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "ruleStack" - ], - "range": [ - [ - 210, - 37 - ], - [ - 220, - 1 - ] - ], - "doc": "~Private~" - } - }, - "220": { - "20": { - "name": "lineForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 220, - 20 - ], - [ - 225, - 1 - ] - ], - "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " - } - }, - "225": { - "22": { - "name": "linesForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 225, - 22 - ], - [ - 228, - 1 - ] - ], - "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " - } - }, - "228": { - "15": { - "name": "stackForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 228, - 15 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "21": { - "name": "indentLevelForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 231, - 21 - ], - [ - 257, - 1 - ] - ], - "doc": "~Private~" - } - }, - "257": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 257, - 22 - ], - [ - 266, - 1 - ] - ], - "doc": "~Private~" - } - }, - "266": { - "21": { - "name": "scopesForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 266, - 21 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "20": { - "name": "tokenForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 269, - 20 - ], - [ - 273, - 1 - ] - ], - "doc": "~Private~" - } - }, - "273": { - "33": { - "name": "tokenStartPositionForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 273, - 33 - ], - [ - 278, - 1 - ] - ], - "doc": "~Private~" - } - }, - "278": { - "33": { - "name": "bufferRangeForScopeAtPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "position" - ], - "range": [ - [ - 278, - 33 - ], - [ - 299, - 1 - ] - ], - "doc": "~Private~" - } - }, - "299": { - "30": { - "name": "iterateTokensInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "iterator" - ], - "range": [ - [ - 299, - 30 - ], - [ - 314, - 1 - ] - ], - "doc": "~Private~" - } - }, - "314": { - "39": { - "name": "backwardsIterateTokensInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "iterator" - ], - "range": [ - [ - 314, - 39 - ], - [ - 329, - 1 - ] - ], - "doc": "~Private~" - } - }, - "329": { - "22": { - "name": "findOpeningBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferPosition" - ], - "range": [ - [ - 329, - 22 - ], - [ - 344, - 1 - ] - ], - "doc": "~Private~" - } - }, - "344": { - "22": { - "name": "findClosingBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferPosition" - ], - "range": [ - [ - 344, - 22 - ], - [ - 362, - 1 - ] - ], - "doc": "~Private~" - } - }, - "362": { - "14": { - "name": "getLastRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 362, - 14 - ], - [ - 365, - 1 - ] - ], - "doc": " Private: Gets the row number of the last line.\n\nReturns a {Number}. " - } - }, - "365": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 365, - 16 - ], - [ - 368, - 1 - ] - ], - "doc": "~Private~" - } - }, - "368": { - "12": { - "name": "logLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 368, - 12 - ], - [ - 371, - 40 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/tokenized-line.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "12": { - "name": "1", - "type": "primitive", - "range": [ - [ - 2, - 12 - ], - [ - 2, - 12 - ] - ] - } - }, - "5": { - "0": { - "type": "class", - "name": "TokenizedLine", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 6, - 15 - ], - [ - 15, - 13 - ], - [ - 20, - 20 - ], - [ - 25, - 8 - ], - [ - 28, - 20 - ], - [ - 47, - 31 - ], - [ - 57, - 31 - ], - [ - 66, - 22 - ], - [ - 72, - 22 - ], - [ - 75, - 14 - ], - [ - 102, - 17 - ], - [ - 105, - 23 - ], - [ - 108, - 28 - ], - [ - 115, - 35 - ], - [ - 123, - 24 - ], - [ - 134, - 42 - ], - [ - 145, - 13 - ], - [ - 154, - 20 - ], - [ - 162, - 16 - ], - [ - 165, - 17 - ], - [ - 168, - 24 - ], - [ - 174, - 16 - ], - [ - 186, - 20 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 199, - 0 - ] - ] - } - }, - "6": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 6, - 15 - ], - [ - 15, - 1 - ] - ] - } - }, - "15": { - "13": { - "name": "buildText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 15, - 13 - ], - [ - 20, - 1 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "20": { - "name": "buildBufferDelta", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 20 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 8 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "20": { - "name": "clipScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "column", - "options" - ], - "range": [ - [ - 28, - 20 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "31": { - "name": "screenColumnForBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn", - "options" - ], - "range": [ - [ - 47, - 31 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "31": { - "name": "bufferColumnForScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenColumn", - "options" - ], - "range": [ - [ - 57, - 31 - ], - [ - 66, - 1 - ] - ], - "doc": "~Private~" - } - }, - "66": { - "22": { - "name": "getMaxScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 66, - 22 - ], - [ - 72, - 1 - ] - ], - "doc": "~Private~" - } - }, - "72": { - "22": { - "name": "getMaxBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 72, - 22 - ], - [ - 75, - 1 - ] - ], - "doc": "~Private~" - } - }, - "75": { - "14": { - "name": "softWrapAt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "column" - ], - "range": [ - [ - 75, - 14 - ], - [ - 102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "102": { - "17": { - "name": "isSoftWrapped", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 17 - ], - [ - 105, - 1 - ] - ], - "doc": "~Private~" - } - }, - "105": { - "23": { - "name": "tokenAtBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 105, - 23 - ], - [ - 108, - 1 - ] - ], - "doc": "~Private~" - } - }, - "108": { - "28": { - "name": "tokenIndexAtBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 108, - 28 - ], - [ - 115, - 1 - ] - ], - "doc": "~Private~" - } - }, - "115": { - "35": { - "name": "tokenStartColumnForBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 115, - 35 - ], - [ - 123, - 1 - ] - ], - "doc": "~Private~" - } - }, - "123": { - "24": { - "name": "breakOutAtomicTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "inputTokens" - ], - "range": [ - [ - 123, - 24 - ], - [ - 134, - 1 - ] - ], - "doc": "~Private~" - } - }, - "134": { - "42": { - "name": "markLeadingAndTrailingWhitespaceTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 134, - 42 - ], - [ - 145, - 1 - ] - ], - "doc": "~Private~" - } - }, - "145": { - "13": { - "name": "isComment", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 145, - 13 - ], - [ - 154, - 1 - ] - ], - "doc": "~Private~" - } - }, - "154": { - "20": { - "name": "isOnlyWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 20 - ], - [ - 162, - 1 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "16": { - "name": "tokenAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 162, - 16 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "17": { - "name": "getTokenCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 17 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "24": { - "name": "bufferColumnForToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetToken" - ], - "range": [ - [ - 168, - 24 - ], - [ - 174, - 1 - ] - ], - "doc": "~Private~" - } - }, - "174": { - "16": { - "name": "getScopeTree", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 174, - 16 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "20": { - "name": "updateScopeStack", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 186, - 20 - ], - [ - 199, - 0 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "0": { - "type": "class", - "name": "Scope", - "classProperties": [], - "prototypeProperties": [ - [ - 201, - 15 - ] - ], - "doc": "~Private~", - "range": [ - [ - 200, - 0 - ], - [ - 202, - 18 - ] - ] - } - }, - "201": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 201, - 15 - ], - [ - 202, - 18 - ] - ] - } - } - }, - "exports": 5 - }, - "src/window-bootstrap.coffee": { - "objects": { - "1": { - "12": { - "name": "startTime", - "type": "function", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 21 - ] - ] - } - }, - "5": { - "7": { - "name": "Atom", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "path": "./atom" - } - }, - "6": { - "14": { - "name": "window.atom", - "type": "function", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 40 - ] - ] - } - } - }, - "exports": {} - }, - "src/window-event-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "3": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 3, - 8 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "9": { - "0": { - "type": "class", - "name": "WindowEventHandler", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 81, - 27 - ], - [ - 96, - 13 - ], - [ - 100, - 12 - ], - [ - 106, - 25 - ], - [ - 116, - 13 - ], - [ - 137, - 17 - ] - ], - "doc": "Private: Handles low-level events related to the window. ", - "range": [ - [ - 9, - 0 - ], - [ - 156, - 28 - ] - ] - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 12, - 15 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "27": { - "name": "handleNativeKeybindings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 81, - 27 - ], - [ - 96, - 1 - ] - ], - "doc": " Private: Wire commands that should be handled by the native menu\nfor elements with the `.native-key-bindings` class. " - } - }, - "96": { - "13": { - "name": "onKeydown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 96, - 13 - ], - [ - 100, - 1 - ] - ], - "doc": "~Private~" - } - }, - "100": { - "12": { - "name": "openLink", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 100, - 12 - ], - [ - 106, - 1 - ] - ], - "doc": "~Private~" - } - }, - "106": { - "25": { - "name": "eachTabIndexedElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 106, - 25 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "13": { - "name": "focusNext", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 13 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "17": { - "name": "focusPrevious", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 17 - ], - [ - 156, - 28 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 9 - }, - "src/window.coffee": { - "objects": { - "7": { - "17": { - "name": "window.measure", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "description", - "fn" - ], - "range": [ - [ - 7, - 17 - ], - [ - 20, - 51 - ] - ], - "doc": null - } - }, - "21": { - "17": { - "name": "window.profile", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "description", - "fn" - ], - "range": [ - [ - 21, - 17 - ], - [ - 26, - 9 - ] - ], - "doc": null - } - } - }, - "exports": {} - }, - "src/workspace-view.coffee": { - "objects": { - "0": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "4": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 4, - 12 - ], - [ - 4, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@1.x" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - }, - "12": { - "type": "import", - "range": [ - [ - 5, - 12 - ], - [ - 5, - 33 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "logDeprecationWarnings", - "exportsProperty": "logDeprecationWarnings" - } - }, - "6": { - "17": { - "name": "scrollbarStyle", - "type": "import", - "range": [ - [ - 6, - 17 - ], - [ - 6, - 41 - ] - ], - "bindingType": "variable", - "module": "scrollbar-style" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 5 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - }, - "8": { - "type": "import", - "range": [ - [ - 7, - 8 - ], - [ - 7, - 11 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "8": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 8, - 5 - ], - [ - 8, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "9": { - "12": { - "name": "Workspace", - "type": "import", - "range": [ - [ - 9, - 12 - ], - [ - 9, - 32 - ] - ], - "bindingType": "variable", - "path": "./workspace" - } - }, - "10": { - "19": { - "name": "CommandInstaller", - "type": "import", - "range": [ - [ - 10, - 19 - ], - [ - 10, - 47 - ] - ], - "bindingType": "variable", - "path": "./command-installer" - } - }, - "11": { - "13": { - "name": "EditorView", - "type": "import", - "range": [ - [ - 11, - 13 - ], - [ - 11, - 35 - ] - ], - "bindingType": "variable", - "path": "./editor-view" - } - }, - "12": { - "11": { - "name": "PaneView", - "type": "import", - "range": [ - [ - 12, - 11 - ], - [ - 12, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-view" - } - }, - "13": { - "17": { - "name": "PaneColumnView", - "type": "import", - "range": [ - [ - 13, - 17 - ], - [ - 13, - 44 - ] - ], - "bindingType": "variable", - "path": "./pane-column-view" - } - }, - "14": { - "14": { - "name": "PaneRowView", - "type": "import", - "range": [ - [ - 14, - 14 - ], - [ - 14, - 38 - ] - ], - "bindingType": "variable", - "path": "./pane-row-view" - } - }, - "15": { - "20": { - "name": "PaneContainerView", - "type": "import", - "range": [ - [ - 15, - 20 - ], - [ - 15, - 50 - ] - ], - "bindingType": "variable", - "path": "./pane-container-view" - } - }, - "16": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 16, - 9 - ], - [ - 16, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "55": { - "0": { - "type": "class", - "name": "WorkspaceView", - "bindingType": "exports", - "classProperties": [ - [ - 63, - 12 - ], - [ - 66, - 4 - ], - [ - 75, - 12 - ] - ], - "prototypeProperties": [ - [ - 81, - 14 - ], - [ - 168, - 12 - ], - [ - 171, - 24 - ], - [ - 191, - 15 - ], - [ - 205, - 15 - ], - [ - 209, - 16 - ], - [ - 213, - 15 - ], - [ - 223, - 12 - ], - [ - 233, - 18 - ], - [ - 238, - 16 - ], - [ - 242, - 15 - ], - [ - 247, - 19 - ], - [ - 252, - 18 - ], - [ - 257, - 17 - ], - [ - 262, - 16 - ], - [ - 267, - 18 - ], - [ - 272, - 17 - ], - [ - 281, - 21 - ], - [ - 287, - 17 - ], - [ - 291, - 25 - ], - [ - 294, - 21 - ], - [ - 297, - 22 - ], - [ - 300, - 22 - ], - [ - 303, - 23 - ], - [ - 306, - 24 - ], - [ - 315, - 16 - ], - [ - 325, - 16 - ], - [ - 336, - 18 - ], - [ - 344, - 16 - ], - [ - 347, - 21 - ], - [ - 350, - 23 - ], - [ - 353, - 23 - ], - [ - 356, - 18 - ], - [ - 368, - 12 - ], - [ - 373, - 12 - ], - [ - 378, - 17 - ], - [ - 383, - 21 - ] - ], - "doc": " Public: The top-level view for the entire window. An instance of this class is\navailable via the `atom.workspaceView` global.\n\nIt is backed by a model object, an instance of {Workspace}, which is available\nvia the `atom.workspace` global or {::getModel}. You should prefer to interact\nwith the model object when possible, but it won't always be possible with the\ncurrent API.\n\n## Adding Perimeter Panels\n\nUse the following methods if possible to attach panels to the perimeter of the\nworkspace rather than manipulating the DOM directly to better insulate you to\nchanges in the workspace markup:\n\n* {::prependToTop}\n* {::appendToTop}\n* {::prependToBottom}\n* {::appendToBottom}\n* {::prependToLeft}\n* {::appendToLeft}\n* {::prependToRight}\n* {::appendToRight}\n\n## Requiring in package specs\n\nIf you need a `WorkspaceView` instance to test your package, require it via\nthe built-in `atom` module.\n\n```coffee\n {WorkspaceView} = require 'atom'\n```\n\nYou can assign it to the `atom.workspaceView` global in the spec or just use\nit as a local, depending on what you're trying to accomplish. Building the\n`WorkspaceView` is currently expensive, so you should try build a {Workspace}\ninstead if possible. ", - "range": [ - [ - 55, - 0 - ], - [ - 385, - 25 - ] - ] - } - }, - "63": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 63, - 12 - ], - [ - 63, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "66": { - "4": { - "name": "configDefaults", - "type": "primitive", - "range": [ - [ - 66, - 4 - ], - [ - 73, - 23 - ] - ], - "bindingType": "classProperty" - } - }, - "75": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 75, - 12 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 81, - 14 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 12 - ], - [ - 168, - 20 - ] - ], - "doc": " Public: Get the underlying model object.\n\nReturns a {Workspace}. " - } - }, - "171": { - "24": { - "name": "installShellCommands", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 24 - ], - [ - 191, - 1 - ] - ], - "doc": "Public: Install the Atom shell commands on the user's system. " - } - }, - "191": { - "15": { - "name": "handleFocus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 191, - 15 - ], - [ - 205, - 1 - ] - ], - "doc": "~Private~" - } - }, - "205": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 205, - 15 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "16": { - "name": "confirmClose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 209, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": "Private: Prompts to save all unsaved items " - } - }, - "213": { - "15": { - "name": "updateTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 15 - ], - [ - 223, - 1 - ] - ], - "doc": "Private: Updates the application's title, based on whichever file is open. " - } - }, - "223": { - "12": { - "name": "setTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "title" - ], - "range": [ - [ - 223, - 12 - ], - [ - 233, - 1 - ] - ], - "doc": "Private: Sets the application's title. " - } - }, - "233": { - "18": { - "name": "getEditorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 233, - 18 - ], - [ - 238, - 1 - ] - ], - "doc": " Private: Get all editor views.\n\nYou should prefer {Workspace::getEditors} unless you absolutely need access\nto the view objects. Also consider using {::eachEditorView}, which will call\na callback for all current and *future* editor views.\n\nReturns an {Array} of {EditorView}s. " - } - }, - "238": { - "16": { - "name": "prependToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 238, - 16 - ], - [ - 242, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the top of the\nworkspace. " - } - }, - "242": { - "15": { - "name": "appendToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 242, - 15 - ], - [ - 247, - 1 - ] - ], - "doc": "Public: Append an element or view to the panels at the top of the workspace. " - } - }, - "247": { - "19": { - "name": "prependToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 247, - 19 - ], - [ - 252, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the bottom of the\nworkspace. " - } - }, - "252": { - "18": { - "name": "appendToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 252, - 18 - ], - [ - 257, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the bottom of the\nworkspace. " - } - }, - "257": { - "17": { - "name": "prependToLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 257, - 17 - ], - [ - 262, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the left of the\nworkspace. " - } - }, - "262": { - "16": { - "name": "appendToLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 262, - 16 - ], - [ - 267, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the left of the\nworkspace. " - } - }, - "267": { - "18": { - "name": "prependToRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 267, - 18 - ], - [ - 272, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the right of the\nworkspace. " - } - }, - "272": { - "17": { - "name": "appendToRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 272, - 17 - ], - [ - 281, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the right of the\nworkspace. " - } - }, - "281": { - "21": { - "name": "getActivePaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 281, - 21 - ], - [ - 287, - 1 - ] - ], - "doc": " Public: Get the active pane view.\n\nPrefer {Workspace::getActivePane} if you don't actually need access to the\nview.\n\nReturns a {PaneView}. " - } - }, - "287": { - "17": { - "name": "getActiveView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 287, - 17 - ], - [ - 291, - 1 - ] - ], - "doc": " Public: Get the view associated with the active pane item.\n\nReturns a view. " - } - }, - "291": { - "25": { - "name": "focusPreviousPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 291, - 25 - ], - [ - 291, - 56 - ] - ], - "doc": "Private: Focus the previous pane by id. " - } - }, - "294": { - "21": { - "name": "focusNextPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 294, - 21 - ], - [ - 294, - 48 - ] - ], - "doc": "Private: Focus the next pane by id. " - } - }, - "297": { - "22": { - "name": "focusPaneViewAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 22 - ], - [ - 297, - 51 - ] - ], - "doc": "Public: Focus the pane directly above the active pane. " - } - }, - "300": { - "22": { - "name": "focusPaneViewBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 300, - 22 - ], - [ - 300, - 51 - ] - ], - "doc": "Public: Focus the pane directly below the active pane. " - } - }, - "303": { - "23": { - "name": "focusPaneViewOnLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 303, - 23 - ], - [ - 303, - 53 - ] - ], - "doc": "Public: Focus the pane directly to the left of the active pane. " - } - }, - "306": { - "24": { - "name": "focusPaneViewOnRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 306, - 24 - ], - [ - 306, - 55 - ] - ], - "doc": "Public: Focus the pane directly to the right of the active pane. " - } - }, - "315": { - "16": { - "name": "eachPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 315, - 16 - ], - [ - 325, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\npane view in the workspace.\n\ncallback - A {Function} with a {PaneView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "325": { - "16": { - "name": "getPaneViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 325, - 16 - ], - [ - 336, - 1 - ] - ], - "doc": " Public: Get all existing pane views.\n\nPrefer {Workspace::getPanes} if you don't need access to the view objects.\nAlso consider using {::eachPaneView} if you want to register a callback for\nall current and *future* pane views.\n\nReturns an Array of all open {PaneView}s. " - } - }, - "336": { - "18": { - "name": "eachEditorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 336, - 18 - ], - [ - 344, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\neditor view in the workspace (only includes {EditorView}s that are pane\nitems).\n\ncallback - A {Function} with an {EditorView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "344": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 344, - 16 - ], - [ - 347, - 1 - ] - ], - "doc": "Private: Called by SpacePen " - } - }, - "347": { - "21": { - "name": "setEditorFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 347, - 21 - ], - [ - 350, - 1 - ] - ], - "doc": "~Private~" - } - }, - "350": { - "23": { - "name": "setEditorFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 350, - 23 - ], - [ - 353, - 1 - ] - ], - "doc": "~Private~" - } - }, - "353": { - "23": { - "name": "setEditorLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 353, - 23 - ], - [ - 356, - 1 - ] - ], - "doc": "~Private~" - } - }, - "356": { - "18": { - "name": "setEditorStyle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "property", - "value" - ], - "range": [ - [ - 356, - 18 - ], - [ - 368, - 1 - ] - ], - "doc": "~Private~" - } - }, - "368": { - "12": { - "name": "eachPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 368, - 12 - ], - [ - 373, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "373": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 373, - 12 - ], - [ - 378, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "378": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 378, - 17 - ], - [ - 383, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "383": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 383, - 21 - ], - [ - 385, - 25 - ] - ], - "doc": "Deprecated: Call {Workspace::getActivePaneItem} instead. " - } - } - }, - "exports": 55 - }, - "src/workspace.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "bindingType": "variable", - "module": "grim", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 4 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true, - "name": "join", - "exportsProperty": "join" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist", - "name": "Model", - "exportsProperty": "Model" - } - }, - "4": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 4, - 4 - ], - [ - 4, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "5": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 5, - 15 - ], - [ - 5, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "6": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 6, - 12 - ], - [ - 6, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@1.x" - } - }, - "7": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "8": { - "16": { - "name": "PaneContainer", - "type": "import", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 41 - ] - ], - "bindingType": "variable", - "path": "./pane-container" - } - }, - "9": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 9, - 7 - ], - [ - 9, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "18": { - "0": { - "type": "class", - "name": "Workspace", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 47, - 21 - ], - [ - 55, - 19 - ], - [ - 60, - 37 - ], - [ - 74, - 15 - ], - [ - 84, - 14 - ], - [ - 91, - 14 - ], - [ - 118, - 8 - ], - [ - 135, - 15 - ], - [ - 150, - 12 - ], - [ - 168, - 17 - ], - [ - 193, - 14 - ], - [ - 200, - 18 - ], - [ - 217, - 18 - ], - [ - 221, - 20 - ], - [ - 224, - 14 - ], - [ - 230, - 17 - ], - [ - 236, - 12 - ], - [ - 240, - 11 - ], - [ - 244, - 20 - ], - [ - 248, - 24 - ], - [ - 254, - 14 - ], - [ - 260, - 21 - ], - [ - 269, - 22 - ], - [ - 277, - 24 - ], - [ - 284, - 25 - ], - [ - 288, - 21 - ], - [ - 295, - 19 - ], - [ - 299, - 20 - ], - [ - 303, - 20 - ], - [ - 308, - 17 - ], - [ - 312, - 14 - ], - [ - 317, - 23 - ], - [ - 322, - 13 - ] - ], - "doc": " Public: Represents the state of the user interface for the entire window.\nAn instance of this class is available via the `atom.workspace` global.\n\nInteract with this object to open files, be notified of current and future\neditors, and manipulate panes. To add panels, you'll need to use the\n{WorkspaceView} class for now until we establish APIs at the model layer. ", - "range": [ - [ - 18, - 0 - ], - [ - 323, - 28 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 15 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 47, - 21 - ], - [ - 55, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during deserialization " - } - }, - "55": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 19 - ], - [ - 60, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during serialization. " - } - }, - "60": { - "37": { - "name": "getPackageNamesWithActiveGrammars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 60, - 37 - ], - [ - 74, - 1 - ] - ], - "doc": "~Private~" - } - }, - "74": { - "15": { - "name": "editorAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 74, - 15 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "14": { - "name": "eachEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 84, - 14 - ], - [ - 91, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\n{Editor} in the workspace.\n\ncallback - A {Function} with an {Editor} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "91": { - "14": { - "name": "getEditors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 14 - ], - [ - 118, - 1 - ] - ], - "doc": " Public: Get all current editors in the workspace.\n\nReturns an {Array} of {Editor}s. " - } - }, - "118": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "options" - ], - "range": [ - [ - 118, - 8 - ], - [ - 135, - 1 - ] - ], - "doc": " Public: Open a given a URI in Atom asynchronously.\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :split - Either 'left' or 'right'. If 'left', the item will be opened in\n leftmost pane of the current active pane's row. If 'right', the\n item will be opened in the rightmost pane of the current active\n pane's row.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`.\n :searchAllPanes - A {Boolean}. If `true`, the workspace will attempt to\n activate an existing item for the given URI on any pane.\n If `false`, only the active pane will be searched for\n an existing item for the same URI. Defaults to `false`.\n\nReturns a promise that resolves to the {Editor} for the file URI. " - } - }, - "135": { - "15": { - "name": "openLicense", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 135, - 15 - ], - [ - 150, - 1 - ] - ], - "doc": "Public: Open Atom's license in the active pane. " - } - }, - "150": { - "12": { - "name": "openSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "options" - ], - "range": [ - [ - 150, - 12 - ], - [ - 168, - 1 - ] - ], - "doc": " Private: Synchronously open the given URI in the active pane. **Only use this method\nin specs. Calling this in production code will block the UI thread and\neveryone will be mad at you.**\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`. " - } - }, - "168": { - "17": { - "name": "openUriInPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "pane", - "options" - ], - "range": [ - [ - 168, - 17 - ], - [ - 193, - 1 - ] - ], - "doc": "~Private~" - } - }, - "193": { - "14": { - "name": "reopenItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 193, - 14 - ], - [ - 200, - 1 - ] - ], - "doc": " Public: Asynchronously reopens the last-closed item's URI if it hasn't already been\nreopened.\n\nReturns a promise that is resolved when the item is opened " - } - }, - "200": { - "18": { - "name": "reopenItemSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 200, - 18 - ], - [ - 217, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "217": { - "18": { - "name": "registerOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 217, - 18 - ], - [ - 221, - 1 - ] - ], - "doc": " Public: Register an opener for a uri.\n\nAn {Editor} will be used if no openers return a value.\n\n## Example\n```coffeescript\n atom.project.registerOpener (uri) ->\n if path.extname(uri) is '.toml'\n return new TomlEditor(uri)\n```\n\nopener - A {Function} to be called when a path is being opened. " - } - }, - "221": { - "20": { - "name": "unregisterOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 221, - 20 - ], - [ - 224, - 1 - ] - ], - "doc": "Public: Unregister an opener registered with {::registerOpener}. " - } - }, - "224": { - "14": { - "name": "getOpeners", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 14 - ], - [ - 230, - 1 - ] - ], - "doc": "~Private~" - } - }, - "230": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 230, - 17 - ], - [ - 236, - 1 - ] - ], - "doc": " Public: Get the active {Pane}.\n\nReturns a {Pane}. " - } - }, - "236": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 236, - 12 - ], - [ - 240, - 1 - ] - ], - "doc": " Public: Get all {Pane}s.\n\nReturns an {Array} of {Pane}s. " - } - }, - "240": { - "11": { - "name": "saveAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 240, - 11 - ], - [ - 244, - 1 - ] - ], - "doc": "Public: Save all pane items. " - } - }, - "244": { - "20": { - "name": "activateNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 244, - 20 - ], - [ - 248, - 1 - ] - ], - "doc": "Public: Make the next pane active. " - } - }, - "248": { - "24": { - "name": "activatePreviousPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 248, - 24 - ], - [ - 254, - 1 - ] - ], - "doc": "Public: Make the previous pane active. " - } - }, - "254": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 254, - 14 - ], - [ - 260, - 1 - ] - ], - "doc": " Public: Get the first pane {Pane} with an item for the given URI.\n\nReturns a {Pane} or `undefined` if no pane exists for the given URI. " - } - }, - "260": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 21 - ], - [ - 269, - 1 - ] - ], - "doc": " Public: Get the active {Pane}'s active item.\n\nReturns an pane item {Object}. " - } - }, - "269": { - "22": { - "name": "saveActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 22 - ], - [ - 277, - 1 - ] - ], - "doc": " Public: Save the active pane item.\n\nIf the active pane item currently has a URI according to the item's\n`.getUri` method, calls `.save` on the item. Otherwise\n{::saveActivePaneItemAs} # will be called instead. This method does nothing\nif the active item does not implement a `.save` method. " - } - }, - "277": { - "24": { - "name": "saveActivePaneItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 277, - 24 - ], - [ - 284, - 1 - ] - ], - "doc": " Public: Prompt the user for a path and save the active pane item to it.\n\nOpens a native dialog where the user selects a path on disk, then calls\n`.saveAs` on the item with the selected path. This method does nothing if\nthe active item does not implement a `.saveAs` method. " - } - }, - "284": { - "25": { - "name": "destroyActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 25 - ], - [ - 288, - 1 - ] - ], - "doc": " Public: Destroy (close) the active pane item.\n\nRemoves the active pane item and calls the `.destroy` method on it if one is\ndefined. " - } - }, - "288": { - "21": { - "name": "destroyActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 288, - 21 - ], - [ - 295, - 1 - ] - ], - "doc": "Public: Destroy (close) the active pane. " - } - }, - "295": { - "19": { - "name": "getActiveEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 295, - 19 - ], - [ - 299, - 1 - ] - ], - "doc": " Public: Get the active item if it is an {Editor}.\n\nReturns an {Editor} or `undefined` if the current active item is not an\n{Editor}. " - } - }, - "299": { - "20": { - "name": "increaseFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 299, - 20 - ], - [ - 303, - 1 - ] - ], - "doc": "Public: Increase the editor font size by 1px. " - } - }, - "303": { - "20": { - "name": "decreaseFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 303, - 20 - ], - [ - 308, - 1 - ] - ], - "doc": "Public: Decrease the editor font size by 1px. " - } - }, - "308": { - "17": { - "name": "resetFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 308, - 17 - ], - [ - 312, - 1 - ] - ], - "doc": "Public: Restore to a default editor font size. " - } - }, - "312": { - "14": { - "name": "itemOpened", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 312, - 14 - ], - [ - 317, - 1 - ] - ], - "doc": "Private: Removes the item's uri from the list of potential items to reopen. " - } - }, - "317": { - "23": { - "name": "onPaneItemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 317, - 23 - ], - [ - 322, - 1 - ] - ], - "doc": "Private: Adds the destroyed item's uri to the list of items to reopen. " - } - }, - "322": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 322, - 13 - ], - [ - 323, - 28 - ] - ], - "doc": "Private: Called by Model superclass when destroyed " - } - } - }, - "exports": 18 - }, - "src/key-binding.coffee": { - "objects": { - "0": { - "7": { - "name": "Grim", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "grim" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "calculateSpecificity", - "exportsProperty": "calculateSpecificity" - } - }, - "4": { - "0": { - "type": "class", - "name": "KeyBinding", - "bindingType": "exports", - "classProperties": [ - [ - 5, - 17 - ] - ], - "prototypeProperties": [ - [ - 7, - 11 - ], - [ - 9, - 15 - ], - [ - 23, - 11 - ], - [ - 30, - 11 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 34, - 43 - ] - ] - } - }, - "5": { - "17": { - "name": "currentIndex", - "type": "primitive", - "range": [ - [ - 5, - 17 - ], - [ - 5, - 17 - ] - ], - "bindingType": "classProperty" - } - }, - "7": { - "11": { - "name": "enabled", - "type": "primitive", - "range": [ - [ - 7, - 11 - ], - [ - 7, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null, - null, - "selector" - ], - "range": [ - [ - 9, - 15 - ], - [ - 23, - 1 - ] - ], - "doc": "~Private~" - } - }, - "23": { - "11": { - "name": "matches", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystroke" - ], - "range": [ - [ - 23, - 11 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyBinding" - ], - "range": [ - [ - 30, - 11 - ], - [ - 34, - 43 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/keymap-manager.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "2": { - "7": { - "name": "Grim", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "grim" - } - }, - "3": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 3, - 5 - ], - [ - 3, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "4": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 4 - ] - ], - "bindingType": "variable", - "module": "pathwatcher", - "name": "File", - "exportsProperty": "File" - } - }, - "7": { - "13": { - "name": "KeyBinding", - "type": "import", - "range": [ - [ - 7, - 13 - ], - [ - 7, - 35 - ] - ], - "bindingType": "variable", - "path": "./key-binding" - } - }, - "8": { - "15": { - "name": "CommandEvent", - "type": "import", - "range": [ - [ - 8, - 15 - ], - [ - 8, - 39 - ] - ], - "bindingType": "variable", - "path": "./command-event" - } - }, - "9": { - "1": { - "type": "import", - "range": [ - [ - 9, - 1 - ], - [ - 9, - 19 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "normalizeKeystrokes", - "exportsProperty": "normalizeKeystrokes" - }, - "22": { - "type": "import", - "range": [ - [ - 9, - 22 - ], - [ - 9, - 46 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "keystrokeForKeyboardEvent", - "exportsProperty": "keystrokeForKeyboardEvent" - }, - "49": { - "type": "import", - "range": [ - [ - 9, - 49 - ], - [ - 9, - 62 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "isAtomModifier", - "exportsProperty": "isAtomModifier" - }, - "65": { - "type": "import", - "range": [ - [ - 9, - 65 - ], - [ - 9, - 76 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "keydownEvent", - "exportsProperty": "keydownEvent" - } - }, - "11": { - "12": { - "type": "primitive", - "range": [ - [ - 11, - 12 - ], - [ - 11, - 59 - ] - ] - } - }, - "12": { - "17": { - "name": "OtherPlatforms", - "type": "function", - "range": [ - [ - 12, - 17 - ], - [ - 12, - 77 - ] - ] - } - }, - "84": { - "0": { - "type": "class", - "name": "KeymapManager", - "bindingType": "exports", - "classProperties": [ - [ - 99, - 17 - ] - ], - "prototypeProperties": [ - [ - 103, - 23 - ], - [ - 105, - 17 - ], - [ - 106, - 25 - ], - [ - 107, - 29 - ], - [ - 117, - 15 - ], - [ - 125, - 11 - ], - [ - 132, - 18 - ], - [ - 141, - 7 - ], - [ - 164, - 14 - ], - [ - 179, - 15 - ], - [ - 190, - 10 - ], - [ - 212, - 23 - ], - [ - 289, - 19 - ], - [ - 314, - 16 - ], - [ - 324, - 14 - ], - [ - 338, - 27 - ], - [ - 345, - 21 - ], - [ - 349, - 23 - ], - [ - 365, - 22 - ], - [ - 385, - 20 - ], - [ - 390, - 25 - ], - [ - 394, - 21 - ], - [ - 400, - 22 - ], - [ - 410, - 25 - ], - [ - 427, - 24 - ], - [ - 446, - 36 - ], - [ - 460, - 29 - ], - [ - 464, - 13 - ], - [ - 469, - 16 - ], - [ - 475, - 18 - ], - [ - 484, - 27 - ], - [ - 490, - 12 - ], - [ - 497, - 25 - ], - [ - 502, - 27 - ], - [ - 507, - 30 - ], - [ - 513, - 40 - ], - [ - 519, - 42 - ] - ], - "doc": " Public: Allows commands to be associated with keystrokes in a\ncontext-sensitive way. In Atom, you can access a global instance of this\nobject via `atom.keymap`.\n\nKey bindings are plain JavaScript objects containing **CSS selectors** as\ntheir top level keys, then **keystroke patterns** mapped to commands.\n\n```cson\n'.workspace':\n 'ctrl-l': 'package:do-something'\n 'ctrl-z': 'package:do-something-else'\n'.mini.editor':\n 'enter': 'core:confirm'\n```\n\nWhen a keystroke sequence matches a binding in a given context, a custom DOM\nevent with a type based on the command is dispatched on the target of the\nkeyboard event.\n\nTo match a keystroke sequence, the keymap starts at the target element for the\nkeyboard event. It looks for key bindings associated with selectors that match\nthe target element. If multiple match, the most specific is selected. If there\nis a tie in specificity, the most recently added binding wins. If no bindings\nare found for the events target, the search is repeated again for the target's\nparent node and so on recursively until a binding is found or we traverse off\nthe top of the document.\n\nWhen a binding is found, its command event is always dispatched on the\noriginal target of the keyboard event, even if the matching element is higher\nup in the DOM. In addition, `.preventDefault()` is called on the keyboard\nevent to prevent the browser from taking action. `.preventDefault` is only\ncalled if a matching binding is found.\n\nCommand event objects have a non-standard method called `.abortKeyBinding()`.\nIf your command handler is invoked but you programmatically determine that no\naction can be taken and you want to allow other bindings to be matched, call\n`.abortKeyBinding()` on the event object. An example of where this is useful\nis binding snippet expansion to `tab`. If `snippets:expand` is invoked when\nthe cursor does not follow a valid snippet prefix, we abort the binding and\nallow `tab` to be handled by the default handler, which inserts whitespace.\n\nMulti-keystroke bindings are possible. If a sequence of one or more keystrokes\n*partially* matches a multi-keystroke binding, the keymap enters a pending\nstate. The pending state is terminated on the next keystroke, or after\n{::partialMatchTimeout} milliseconds has elapsed. When the pending state is\nterminated via a timeout or a keystroke that leads to no matches, the longest\nambiguous bindings that caused the pending state are temporarily disabled and\nthe previous keystrokes are replayed. If there is ambiguity again during the\nreplay, the next longest bindings are disabled and the keystrokes are replayed\nagain.\n\n## Events\n\n* `matched` -\n Emitted when keystrokes match a binding.\n * keystrokes - The keystroke {String} that matched the binding\n * binding - The {KeyBinding} that was used\n * keyboardEventTarget - The target element of the keyboard event\n\n* `matched-partially` -\n Emitted when keystrokes partially match one or more bindings.\n * keystrokes - The keystroke {String} that partially match some bindings\n * partiallyMatchedBindings - The {KeyBinding}s that partially matched\n * keyboardEventTarget - The target element of the keyboard event\n\n* `match-failed` -\n Emitted when keystrokes don't match any bindings.\n * keystrokes - The keystroke {String} that matched no bindings\n * keyboardEventTarget - The target element of the keyboard event ", - "range": [ - [ - 84, - 0 - ], - [ - 521, - 62 - ] - ] - } - }, - "99": { - "17": { - "name": "keydownEvent", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "key", - "options" - ], - "range": [ - [ - 99, - 17 - ], - [ - 99, - 60 - ] - ], - "doc": " Public: Create a keydown DOM event for testing purposes.\n\nkey - The key or keyIdentifier of the event. For example, 'a', '1',\n 'escape', 'backspace', etc.\noptions - An {Object} containing any of the following:\n :ctrl - A {Boolean} indicating the ctrl modifier key\n :alt - A {Boolean} indicating the alt modifier key\n :shift - A {Boolean} indicating the shift modifier key\n :cmd - A {Boolean} indicating the cmd modifier key\n :which - A {Number} indicating `which` value of the event. See\n the docs for KeyboardEvent for more information.\n :target - The target element of the event. " - } - }, - "103": { - "23": { - "name": "partialMatchTimeout", - "type": "primitive", - "range": [ - [ - 103, - 23 - ], - [ - 103, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "105": { - "17": { - "name": "defaultTarget", - "type": "primitive", - "range": [ - [ - 105, - 17 - ], - [ - 105, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "106": { - "25": { - "name": "pendingPartialMatches", - "type": "primitive", - "range": [ - [ - 106, - 25 - ], - [ - 106, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "107": { - "29": { - "name": "pendingStateTimeoutHandle", - "type": "primitive", - "range": [ - [ - 107, - 29 - ], - [ - 107, - 32 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "117": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 117, - 15 - ], - [ - 125, - 1 - ] - ], - "doc": " Public:\n\noptions - An {Object} containing properties to assign to the keymap: You can\n pass custom properties to be used by extension methods. The following\n properties are also supported:\n :defaultTarget - This will be used as the target of events whose target\n is `document.body` to allow for a catch-all element when nothing is\n focused " - } - }, - "125": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 125, - 11 - ], - [ - 132, - 1 - ] - ], - "doc": "Public: Unwatch all watched paths. " - } - }, - "132": { - "18": { - "name": "getKeyBindings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 132, - 18 - ], - [ - 141, - 1 - ] - ], - "doc": " Public: Get all current key bindings.\n\nReturns an {Array} of {KeyBinding}s. " - } - }, - "141": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source", - "keyBindingsBySelector" - ], - "range": [ - [ - 141, - 7 - ], - [ - 164, - 1 - ] - ], - "doc": " Public: Add sets of key bindings grouped by CSS selector.\n\nsource - A {String} (usually a path) uniquely identifying the given bindings\n so they can be removed later.\nbindings - An {Object} whose top-level keys point at sub-objects mapping\n keystroke patterns to commands. " - } - }, - "164": { - "14": { - "name": "loadKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bindingsPath", - "options" - ], - "range": [ - [ - 164, - 14 - ], - [ - 179, - 1 - ] - ], - "doc": " Public: Load the key bindings from the given path.\n\npath - A {String} containing a path to a file or a directory. If the path is\n a directory, all files inside it will be loaded.\noptions - An {Object} containing the following optional keys:\n :watch - If `true`, the keymap will also reload the file at the given path\n whenever it changes. This option cannot be used with directory paths. " - } - }, - "179": { - "15": { - "name": "watchKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 179, - 15 - ], - [ - 190, - 1 - ] - ], - "doc": " Public: Cause the keymap to reload the key bindings file at the given path\nwhenever it changes.\n\nThis method doesn't perform the initial load of the key bindings file. If\nthat's what you're looking for, call {::loadKeymap} with `watch: true`. " - } - }, - "190": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source" - ], - "range": [ - [ - 190, - 10 - ], - [ - 212, - 1 - ] - ], - "doc": " Public: Remove the key bindings added with {::addKeymap} or\n{::loadKeymap}.\n\nsource - A {String} representing the `source` in a previous call to\n {::addKeymap} or the path in {::loadKeymap}. " - } - }, - "212": { - "23": { - "name": "handleKeyboardEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event", - "replaying" - ], - "range": [ - [ - 212, - 23 - ], - [ - 289, - 1 - ] - ], - "doc": " Public: Dispatch a custom event associated with the matching key binding for\nthe given `KeyboardEvent` if one can be found.\n\nIf a matching binding is found on the event's target or one of its\nancestors, `.preventDefault()` is called on the keyboard event and the\nbinding's command is emitted as a custom event on the matching element.\n\nIf the matching binding's command is 'native!', the method will terminate\nwithout calling `.preventDefault()` on the keyboard event, allowing the\nbrowser to handle it as normal.\n\nIf the matching binding's command is 'unset!', the search will continue from\nthe current element's parent.\n\nIf the matching binding's command is 'abort!', the search will terminate\nwithout dispatching a command event.\n\nIf the event's target is `document.body`, it will be treated as if its\ntarget is `.defaultTarget` if that property is assigned on the keymap. " - } - }, - "289": { - "19": { - "name": "findKeyBindings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 289, - 19 - ], - [ - 314, - 1 - ] - ], - "doc": " Public: Get the key bindings for a given command and optional target.\n\nparams - An {Object} whose keys constrain the binding search:\n :keystrokes - A {String} representing one or more keystrokes, such as\n 'ctrl-x ctrl-s'\n :command - A {String} representing the name of a command, such as\n 'editor:backspace'\n :target - An optional DOM element constraining the search. If this\n parameter is supplied, the call will only return bindings that can be\n invoked by a KeyboardEvent originating from the target element. " - } - }, - "314": { - "16": { - "name": "reloadKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 314, - 16 - ], - [ - 324, - 1 - ] - ], - "doc": " Private: Called by the path watcher callback to reload a file at the given path. If\nwe can't read the file cleanly, we don't proceed with the reload. " - } - }, - "324": { - "14": { - "name": "readKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "suppressErrors" - ], - "range": [ - [ - 324, - 14 - ], - [ - 338, - 1 - ] - ], - "doc": "~Private~" - } - }, - "338": { - "27": { - "name": "filePathMatchesPlatform", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 338, - 27 - ], - [ - 345, - 1 - ] - ], - "doc": " Private: Determine if the given path should be loaded on this platform. If the\nfilename has the pattern '.cson' or 'foo..cson' and\n does not match the current platform, returns false. Otherwise\nreturns true. " - } - }, - "345": { - "21": { - "name": "getOtherPlatforms", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 345, - 21 - ], - [ - 345, - 37 - ] - ], - "doc": "Private: For testing purposes " - } - }, - "349": { - "23": { - "name": "findMatchCandidates", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystrokes" - ], - "range": [ - [ - 349, - 23 - ], - [ - 365, - 1 - ] - ], - "doc": " Private: Finds all key bindings whose keystrokes match the given keystrokes. Returns\nboth partial and exact matches. " - } - }, - "365": { - "22": { - "name": "findPartialMatches", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "partialMatchCandidates", - "target" - ], - "range": [ - [ - 365, - 22 - ], - [ - 385, - 1 - ] - ], - "doc": " Private: Determine which of the given bindings have selectors matching the target or\none of its ancestors. This is used by {::handleKeyboardEvent} to determine\nif there are any partial matches for the keyboard event. " - } - }, - "385": { - "20": { - "name": "findExactMatches", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "exactMatchCandidates", - "target" - ], - "range": [ - [ - 385, - 20 - ], - [ - 390, - 1 - ] - ], - "doc": " Private: Find the matching bindings among the given candidates for the given target,\nordered by specificity. Does not traverse up the target's ancestors. This is\nused by {::handleKeyboardEvent} to find a matching binding when there are no\npartially-matching bindings. " - } - }, - "390": { - "25": { - "name": "clearQueuedKeystrokes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 390, - 25 - ], - [ - 394, - 1 - ] - ], - "doc": "~Private~" - } - }, - "394": { - "21": { - "name": "enterPendingState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pendingPartialMatches", - "enableTimeout" - ], - "range": [ - [ - 394, - 21 - ], - [ - 400, - 1 - ] - ], - "doc": "~Private~" - } - }, - "400": { - "22": { - "name": "cancelPendingState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 400, - 22 - ], - [ - 410, - 1 - ] - ], - "doc": "~Private~" - } - }, - "410": { - "25": { - "name": "terminatePendingState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 410, - 25 - ], - [ - 427, - 1 - ] - ], - "doc": " Private: This is called by {::handleKeyboardEvent} when no matching bindings are\nfound for the currently queued keystrokes or by the pending state timeout.\nIt disables the longest of the pending partially matching bindings, then\nreplays the queued keyboard events to allow any bindings with shorter\nkeystroke sequences to be matched unambiguously. " - } - }, - "427": { - "24": { - "name": "dispatchCommandEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "target", - "keyboardEvent" - ], - "range": [ - [ - 427, - 24 - ], - [ - 446, - 1 - ] - ], - "doc": " Private: After we match a binding, we call this method to dispatch a custom event\nbased on the binding's command. " - } - }, - "446": { - "36": { - "name": "simulateBubblingOnDetachedTarget", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "target", - "commandEvent" - ], - "range": [ - [ - 446, - 36 - ], - [ - 460, - 1 - ] - ], - "doc": " Private: Chromium does not bubble events dispatched on detached targets, which makes\ntesting a pain in the ass. This method simulates bubbling manually. " - } - }, - "460": { - "29": { - "name": "keystrokeForKeyboardEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 460, - 29 - ], - [ - 464, - 1 - ] - ], - "doc": " Public: Translate a keydown event to a keystroke string.\n\nevent - A `KeyboardEvent` of type 'keydown'\n\nReturns a {String} describing the keystroke. " - } - }, - "464": { - "13": { - "name": "addKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source", - "bindings" - ], - "range": [ - [ - 464, - 13 - ], - [ - 469, - 1 - ] - ], - "doc": "Deprecated: Use {::addKeymap} instead. " - } - }, - "469": { - "16": { - "name": "removeKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source" - ], - "range": [ - [ - 469, - 16 - ], - [ - 475, - 1 - ] - ], - "doc": "Deprecated: Use {::removeKeymap} instead. " - } - }, - "475": { - "18": { - "name": "handleKeyEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 475, - 18 - ], - [ - 484, - 1 - ] - ], - "doc": " Deprecated: Handle a jQuery keyboard event. Use {::handleKeyboardEvent} with\na raw keyboard event instead. " - } - }, - "484": { - "27": { - "name": "keystrokeStringForEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 484, - 27 - ], - [ - 490, - 1 - ] - ], - "doc": " Deprecated: Translate a jQuery keyboard event to a keystroke string. Use\n{::keystrokeForKeyboardEvent} with a raw KeyboardEvent instead. " - } - }, - "490": { - "12": { - "name": "bindKeys", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source", - "selector", - "keyBindings" - ], - "range": [ - [ - 490, - 12 - ], - [ - 497, - 1 - ] - ], - "doc": " Deprecated: Use {::addKeymap} with a map from selectors to key\nbindings. " - } - }, - "497": { - "25": { - "name": "keyBindingsForCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command" - ], - "range": [ - [ - 497, - 25 - ], - [ - 502, - 1 - ] - ], - "doc": "Deprecated: Use {::findKeyBindings} with the 'command' param. " - } - }, - "502": { - "27": { - "name": "keyBindingsForKeystroke", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystroke" - ], - "range": [ - [ - 502, - 27 - ], - [ - 507, - 1 - ] - ], - "doc": "Deprecated: Use {::findKeyBindings} with the 'keystrokes' param. " - } - }, - "507": { - "30": { - "name": "keyBindingsMatchingElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "target", - "keyBindings" - ], - "range": [ - [ - 507, - 30 - ], - [ - 513, - 1 - ] - ], - "doc": "Deprecated: Use {::findKeyBindings} with the 'target' param. " - } - }, - "513": { - "40": { - "name": "keyBindingsForCommandMatchingElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "target" - ], - "range": [ - [ - 513, - 40 - ], - [ - 519, - 1 - ] - ], - "doc": " Deprecated: Use {::findKeyBindings} with the 'command' and 'target'\nparams " - } - }, - "519": { - "42": { - "name": "keyBindingsForKeystrokeMatchingElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystrokes", - "target" - ], - "range": [ - [ - 519, - 42 - ], - [ - 521, - 62 - ] - ], - "doc": " Deprecated: Use {::findKeyBindings} with the 'keystrokes' and 'target'\nparams " - } - } - }, - "exports": 84 - }, - "src/grammar-registry.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 22 - ] - ], - "bindingType": "variable", - "module": "season" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "10": { - "name": "Grammar", - "type": "import", - "range": [ - [ - 4, - 10 - ], - [ - 4, - 28 - ] - ], - "bindingType": "variable", - "path": "./grammar" - } - }, - "5": { - "14": { - "name": "NullGrammar", - "type": "import", - "range": [ - [ - 5, - 14 - ], - [ - 5, - 37 - ] - ], - "bindingType": "variable", - "path": "./null-grammar" - } - }, - "9": { - "0": { - "type": "class", - "name": "GrammarRegistry", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 24, - 15 - ], - [ - 32, - 23 - ], - [ - 38, - 17 - ], - [ - 47, - 29 - ], - [ - 57, - 14 - ], - [ - 69, - 19 - ], - [ - 81, - 15 - ], - [ - 96, - 19 - ], - [ - 106, - 15 - ], - [ - 119, - 26 - ], - [ - 128, - 29 - ], - [ - 135, - 31 - ], - [ - 139, - 25 - ], - [ - 151, - 17 - ], - [ - 154, - 15 - ], - [ - 156, - 18 - ], - [ - 160, - 17 - ] - ], - "doc": "Public: Registry containing one or more grammars. ", - "range": [ - [ - 9, - 0 - ], - [ - 164, - 11 - ] - ] - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 12, - 15 - ], - [ - 24, - 1 - ] - ], - "doc": "~Private~" - } - }, - "24": { - "15": { - "name": "getGrammars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 24, - 15 - ], - [ - 32, - 1 - ] - ], - "doc": " Public: Get all the grammars in this registry.\n\nReturns a non-empty {Array} of {Grammar} instances. " - } - }, - "32": { - "23": { - "name": "grammarForScopeName", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeName" - ], - "range": [ - [ - 32, - 23 - ], - [ - 38, - 1 - ] - ], - "doc": " Public: Get a grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`.\n\nReturns a {Grammar} or undefined. " - } - }, - "38": { - "17": { - "name": "removeGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 38, - 17 - ], - [ - 47, - 1 - ] - ], - "doc": " Public: Remove a grammar from this registry.\n\ngrammar - The {Grammar} to remove. " - } - }, - "47": { - "29": { - "name": "removeGrammarForScopeName", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeName" - ], - "range": [ - [ - 47, - 29 - ], - [ - 57, - 1 - ] - ], - "doc": " Public: Remove the grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`. " - } - }, - "57": { - "14": { - "name": "addGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 57, - 14 - ], - [ - 69, - 1 - ] - ], - "doc": " Public: Add a grammar to this registry.\n\nA 'grammar-added' event is emitted after the grammar is added.\n\ngrammar - The {Grammar} to add. This should be a value previously returned\n from {::readGrammar} or {::readGrammarSync}. " - } - }, - "69": { - "19": { - "name": "readGrammarSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath" - ], - "range": [ - [ - 69, - 19 - ], - [ - 81, - 1 - ] - ], - "doc": " Public: Read a grammar synchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\n\nReturns a {Grammar}. " - } - }, - "81": { - "15": { - "name": "readGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath", - "callback" - ], - "range": [ - [ - 81, - 15 - ], - [ - 96, - 1 - ] - ], - "doc": " Public: Read a grammar asynchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " - } - }, - "96": { - "19": { - "name": "loadGrammarSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath" - ], - "range": [ - [ - 96, - 19 - ], - [ - 106, - 1 - ] - ], - "doc": " Public: Read a grammar synchronously and add it to this registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\n\nReturns a {Grammar}. " - } - }, - "106": { - "15": { - "name": "loadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath", - "callback" - ], - "range": [ - [ - 106, - 15 - ], - [ - 119, - 1 - ] - ], - "doc": " Public: Read a grammar asynchronously and add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " - } - }, - "119": { - "26": { - "name": "grammarOverrideForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 119, - 26 - ], - [ - 128, - 1 - ] - ], - "doc": " Public: Get the grammar override for the given file path.\n\nfilePath - A {String} file path.\n\nReturns a {Grammar} or undefined. " - } - }, - "128": { - "29": { - "name": "setGrammarOverrideForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "scopeName" - ], - "range": [ - [ - 128, - 29 - ], - [ - 135, - 1 - ] - ], - "doc": " Public: Set the grammar override for the given file path.\n\nfilePath - A non-empty {String} file path.\nscopeName - A {String} such as `\"source.js\"`.\n\nReturns a {Grammar} or undefined. " - } - }, - "135": { - "31": { - "name": "clearGrammarOverrideForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 135, - 31 - ], - [ - 139, - 1 - ] - ], - "doc": " Public: Remove the grammar override for the given file path.\n\nfilePath - A {String} file path. " - } - }, - "139": { - "25": { - "name": "clearGrammarOverrides", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 139, - 25 - ], - [ - 151, - 1 - ] - ], - "doc": "Public: Remove all grammar overrides. " - } - }, - "151": { - "17": { - "name": "selectGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "fileContents" - ], - "range": [ - [ - 151, - 17 - ], - [ - 154, - 1 - ] - ], - "doc": " Public: Select a grammar for the given file path and file contents.\n\nThis picks the best match by checking the file path and contents against\neach grammar.\n\nfilePath - A {String} file path.\nfileContents - A {String} of text for the file path.\n\nReturns a {Grammar}, never null. " - } - }, - "154": { - "15": { - "name": "createToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "scopes" - ], - "range": [ - [ - 154, - 15 - ], - [ - 154, - 48 - ] - ], - "doc": "~Private~" - } - }, - "156": { - "18": { - "name": "grammarUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeName" - ], - "range": [ - [ - 156, - 18 - ], - [ - 160, - 1 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "17": { - "name": "createGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath", - "object" - ], - "range": [ - [ - 160, - 17 - ], - [ - 164, - 11 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 9 - }, - "src/grammar.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "3": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 3, - 5 - ], - [ - 3, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 10 - ] - ], - "bindingType": "variable", - "module": "oniguruma", - "name": "OnigRegExp", - "exportsProperty": "OnigRegExp" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "7": { - "13": { - "name": "Injections", - "type": "import", - "range": [ - [ - 7, - 13 - ], - [ - 7, - 34 - ] - ], - "bindingType": "variable", - "path": "./injections" - } - }, - "8": { - "10": { - "name": "Pattern", - "type": "import", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 28 - ] - ], - "bindingType": "variable", - "path": "./pattern" - } - }, - "9": { - "7": { - "name": "Rule", - "type": "import", - "range": [ - [ - 9, - 7 - ], - [ - 9, - 22 - ] - ], - "bindingType": "variable", - "path": "./rule" - } - }, - "10": { - "16": { - "name": "ScopeSelector", - "type": "import", - "range": [ - [ - 10, - 16 - ], - [ - 10, - 41 - ] - ], - "bindingType": "variable", - "path": "./scope-selector" - } - }, - "12": { - "21": { - "name": "pathSplitRegex", - "type": "function", - "range": [ - [ - 12, - 21 - ], - [ - 12, - 34 - ] - ] - } - }, - "19": { - "0": { - "type": "class", - "name": "Grammar", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 22, - 15 - ], - [ - 51, - 17 - ], - [ - 73, - 16 - ], - [ - 141, - 12 - ], - [ - 144, - 14 - ], - [ - 147, - 14 - ], - [ - 151, - 18 - ], - [ - 154, - 17 - ], - [ - 162, - 27 - ], - [ - 165, - 18 - ], - [ - 172, - 12 - ], - [ - 182, - 19 - ], - [ - 199, - 16 - ], - [ - 214, - 15 - ], - [ - 216, - 14 - ], - [ - 218, - 17 - ], - [ - 220, - 23 - ], - [ - 223, - 19 - ] - ], - "doc": " Public: Grammar that tokenizes lines of text.\n\nThis class should not be instantiated directly but instead obtained from\na {GrammarRegistry} by calling {GrammarRegistry::loadGrammar}. ", - "range": [ - [ - 19, - 0 - ], - [ - 235, - 10 - ] - ] - } - }, - "22": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - "options" - ], - "range": [ - [ - 22, - 15 - ], - [ - 51, - 1 - ] - ], - "doc": "~Private~" - } - }, - "51": { - "17": { - "name": "tokenizeLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 51, - 17 - ], - [ - 73, - 1 - ] - ], - "doc": " Public: Tokenize all lines in the given text.\n\ntext - A {String} containing one or more lines.\n\nReturns an {Array} of token arrays for each line tokenized. " - } - }, - "73": { - "16": { - "name": "tokenizeLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line", - "ruleStack", - "firstLine" - ], - "range": [ - [ - 73, - 16 - ], - [ - 141, - 1 - ] - ], - "doc": " Public: Tokenize the line of text.\n\nline - A {String} of text to tokenize.\nruleStack - An optional {Array} of rules previously returned from this\n method. This should be null when tokenizing the first line in\n the file.\nfirstLine - A {Boolean} denoting whether this is the first line in the file\n which defaults to `false`. This should be `true` when\n tokenizing the first line in the file.\n\nReturns an {Object} containing `tokens` and `ruleStack` properties:\n :token - An {Array} of tokens covering the entire line of text.\n :ruleStack - An {Array} of rules representing the tokenized state at the\n end of the line. These should be passed back into this method\n when tokenizing the next line in the file. " - } - }, - "141": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 12 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "14": { - "name": "deactivate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 144, - 14 - ], - [ - 147, - 1 - ] - ], - "doc": "~Private~" - } - }, - "147": { - "14": { - "name": "clearRules", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 147, - 14 - ], - [ - 151, - 1 - ] - ], - "doc": "~Private~" - } - }, - "151": { - "18": { - "name": "getInitialRule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 151, - 18 - ], - [ - 154, - 1 - ] - ], - "doc": "~Private~" - } - }, - "154": { - "17": { - "name": "getRepository", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 17 - ], - [ - 162, - 1 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "27": { - "name": "addIncludedGrammarScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scope" - ], - "range": [ - [ - 162, - 27 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "18": { - "name": "grammarUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeName" - ], - "range": [ - [ - 165, - 18 - ], - [ - 172, - 1 - ] - ], - "doc": "~Private~" - } - }, - "172": { - "12": { - "name": "getScore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "contents" - ], - "range": [ - [ - 172, - 12 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "19": { - "name": "matchesContents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "contents" - ], - "range": [ - [ - 182, - 19 - ], - [ - 199, - 1 - ] - ], - "doc": "~Private~" - } - }, - "199": { - "16": { - "name": "getPathScore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 199, - 16 - ], - [ - 214, - 1 - ] - ], - "doc": "~Private~" - } - }, - "214": { - "15": { - "name": "createToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "scopes" - ], - "range": [ - [ - 214, - 15 - ], - [ - 214, - 69 - ] - ], - "doc": "~Private~" - } - }, - "216": { - "14": { - "name": "createRule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 216, - 14 - ], - [ - 216, - 60 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "17": { - "name": "createPattern", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 218, - 17 - ], - [ - 218, - 66 - ] - ], - "doc": "~Private~" - } - }, - "220": { - "23": { - "name": "getMaxTokensPerLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 220, - 23 - ], - [ - 223, - 1 - ] - ], - "doc": "~Private~" - } - }, - "223": { - "19": { - "name": "scopesFromStack", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stack", - "rule", - "endPatternMatch" - ], - "range": [ - [ - 223, - 19 - ], - [ - 235, - 10 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 19 - }, - "src/directory.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 22 - ] - ], - "bindingType": "variable", - "module": "async" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "6": { - "7": { - "name": "File", - "type": "import", - "range": [ - [ - 6, - 7 - ], - [ - 6, - 22 - ] - ], - "bindingType": "variable", - "path": "./file" - } - }, - "7": { - "14": { - "name": "PathWatcher", - "type": "import", - "range": [ - [ - 7, - 14 - ], - [ - 7, - 29 - ] - ], - "bindingType": "variable", - "path": "./main" - } - }, - "11": { - "0": { - "type": "class", - "name": "Directory", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 14, - 12 - ], - [ - 20, - 15 - ], - [ - 39, - 15 - ], - [ - 46, - 11 - ], - [ - 49, - 10 - ], - [ - 52, - 15 - ], - [ - 58, - 11 - ], - [ - 66, - 19 - ], - [ - 70, - 13 - ], - [ - 75, - 10 - ], - [ - 82, - 19 - ], - [ - 95, - 12 - ], - [ - 119, - 14 - ], - [ - 154, - 18 - ], - [ - 174, - 14 - ], - [ - 198, - 33 - ], - [ - 202, - 37 - ], - [ - 208, - 18 - ] - ], - "doc": "Public: Represents a directory on disk that can be watched for changes. ", - "range": [ - [ - 11, - 0 - ], - [ - 209, - 73 - ] - ] - } - }, - "14": { - "12": { - "name": "realPath", - "type": "primitive", - "range": [ - [ - 14, - 12 - ], - [ - 14, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "20": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "directoryPath", - null - ], - "range": [ - [ - 20, - 15 - ], - [ - 39, - 1 - ] - ], - "doc": " Public: Configures a new Directory instance, no files are accessed.\n\ndirectoryPath - A {String} containing the absolute path to the directory.\nsymlink - A {Boolean} indicating if the path is a symlink (default: false). " - } - }, - "39": { - "15": { - "name": "getBaseName", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 39, - 15 - ], - [ - 46, - 1 - ] - ], - "doc": "Public: Returns the {String} basename of the directory. " - } - }, - "46": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 46, - 11 - ], - [ - 46, - 18 - ] - ], - "doc": " Public: Returns the directory's symbolic path.\n\nThis may include unfollowed symlinks or relative directory entries. Or it\nmay be fully resolved, it depends on what you give it. " - } - }, - "49": { - "10": { - "name": "isFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 10 - ], - [ - 49, - 17 - ] - ], - "doc": "Public: Distinguishes Files from Directories during traversal. " - } - }, - "52": { - "15": { - "name": "isDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 15 - ], - [ - 52, - 21 - ] - ], - "doc": "Public: Distinguishes Files from Directories during traversal. " - } - }, - "58": { - "11": { - "name": "getFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filename" - ], - "range": [ - [ - 58, - 11 - ], - [ - 66, - 1 - ] - ], - "doc": " Public: Traverse within this Directory to a child File. This method doesn't\nactually check to see if the File exists, it just creates the File object.\n\nfilename - The name of a File within this Directory. " - } - }, - "66": { - "19": { - "name": "getSubdirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "dirname" - ], - "range": [ - [ - 66, - 19 - ], - [ - 70, - 1 - ] - ], - "doc": " Public: Traverse within this a Directory to a child Directory. This method\ndoesn't actually check to see if the Directory exists, it just creates the\nDirectory object.\n\ndirname - The name of the child Directory. " - } - }, - "70": { - "13": { - "name": "getParent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 70, - 13 - ], - [ - 75, - 1 - ] - ], - "doc": "Public: Traverse to the parent Directory. " - } - }, - "75": { - "10": { - "name": "isRoot", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 75, - 10 - ], - [ - 82, - 1 - ] - ], - "doc": " Public: Return true if this {Directory} is the root directory of the\nfilesystem, or false if it isn't. " - } - }, - "82": { - "19": { - "name": "getRealPathSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 19 - ], - [ - 95, - 1 - ] - ], - "doc": " Public: Returns this directory's completely resolved path.\n\nAll relative directory entries are removed and symlinks are resolved to\ntheir final destination. " - } - }, - "95": { - "12": { - "name": "contains", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToCheck" - ], - "range": [ - [ - 95, - 12 - ], - [ - 119, - 1 - ] - ], - "doc": " Public: Returns whether the given path (real or symbolic) is inside this\ndirectory. This method does not actually check if the path exists, it just\nchecks if the path is under this directory. " - } - }, - "119": { - "14": { - "name": "relativize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fullPath" - ], - "range": [ - [ - 119, - 14 - ], - [ - 154, - 1 - ] - ], - "doc": "Public: Returns the relative path to the given path from this directory. " - } - }, - "154": { - "18": { - "name": "getEntriesSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 18 - ], - [ - 174, - 1 - ] - ], - "doc": " Public: Reads file entries in this directory from disk synchronously.\n\nReturns an {Array} of {File} and {Directory} objects. " - } - }, - "174": { - "14": { - "name": "getEntries", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 174, - 14 - ], - [ - 198, - 1 - ] - ], - "doc": " Public: Reads file entries in this directory from disk asynchronously.\n\ncallback - A {Function} to call with an {Error} as the 1st argument and\n an {Array} of {File} and {Directory} objects as the 2nd argument. " - } - }, - "198": { - "33": { - "name": "subscribeToNativeChangeEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 198, - 33 - ], - [ - 202, - 1 - ] - ], - "doc": "~Private~" - } - }, - "202": { - "37": { - "name": "unsubscribeFromNativeChangeEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 202, - 37 - ], - [ - 208, - 1 - ] - ], - "doc": "~Private~" - } - }, - "208": { - "18": { - "name": "isPathPrefixOf", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "prefix", - "fullPath" - ], - "range": [ - [ - 208, - 18 - ], - [ - 209, - 73 - ] - ], - "doc": "Private: Does given full path start with the given prefix? " - } - } - }, - "exports": 11 - }, - "src/file.coffee": { - "objects": { - "0": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 0, - 9 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus" - } - }, - "6": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 6, - 4 - ], - [ - 6, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "7": { - "8": { - "name": "runas", - "type": "import", - "range": [ - [ - 7, - 8 - ], - [ - 7, - 22 - ] - ], - "bindingType": "variable", - "module": "runas" - } - }, - "9": { - "12": { - "type": "primitive", - "range": [ - [ - 9, - 12 - ], - [ - 9, - 15 - ] - ] - } - }, - "10": { - "14": { - "name": "PathWatcher", - "type": "import", - "range": [ - [ - 10, - 14 - ], - [ - 10, - 29 - ] - ], - "bindingType": "variable", - "path": "./main" - } - }, - "15": { - "0": { - "type": "class", - "name": "File", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 18, - 12 - ], - [ - 24, - 15 - ], - [ - 34, - 28 - ], - [ - 49, - 10 - ], - [ - 52, - 15 - ], - [ - 55, - 11 - ], - [ - 59, - 11 - ], - [ - 62, - 13 - ], - [ - 67, - 19 - ], - [ - 76, - 15 - ], - [ - 80, - 9 - ], - [ - 86, - 12 - ], - [ - 101, - 8 - ], - [ - 128, - 10 - ], - [ - 131, - 13 - ], - [ - 135, - 13 - ], - [ - 142, - 40 - ], - [ - 154, - 27 - ], - [ - 167, - 32 - ], - [ - 170, - 22 - ], - [ - 178, - 33 - ], - [ - 182, - 37 - ] - ], - "doc": " Public: Represents an individual file that can be watched, read from, and\nwritten to. ", - "range": [ - [ - 15, - 0 - ], - [ - 185, - 31 - ] - ] - } - }, - "18": { - "12": { - "name": "realPath", - "type": "primitive", - "range": [ - [ - 18, - 12 - ], - [ - 18, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "24": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - null - ], - "range": [ - [ - 24, - 15 - ], - [ - 34, - 1 - ] - ], - "doc": " Public: Creates a new file.\n\nfilePath - A {String} containing the absolute path to the file\nsymlink - A {Boolean} indicating if the path is a symlink (default: false). " - } - }, - "34": { - "28": { - "name": "handleEventSubscriptions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 28 - ], - [ - 49, - 1 - ] - ], - "doc": "Private: Subscribes to file system notifications when necessary. " - } - }, - "49": { - "10": { - "name": "isFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 10 - ], - [ - 49, - 16 - ] - ], - "doc": "Public: Distinguishes Files from Directories during traversal. " - } - }, - "52": { - "15": { - "name": "isDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 15 - ], - [ - 52, - 22 - ] - ], - "doc": "Public: Distinguishes Files from Directories during traversal. " - } - }, - "55": { - "11": { - "name": "setPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 55, - 11 - ], - [ - 59, - 1 - ] - ], - "doc": "Private: Sets the path for the file. " - } - }, - "59": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 11 - ], - [ - 59, - 18 - ] - ], - "doc": "Public: Returns the {String} path for the file. " - } - }, - "62": { - "13": { - "name": "getParent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 62, - 13 - ], - [ - 67, - 1 - ] - ], - "doc": "Public: Return the {Directory} that contains this file. " - } - }, - "67": { - "19": { - "name": "getRealPathSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 19 - ], - [ - 76, - 1 - ] - ], - "doc": "Public: Returns this file's completely resolved path. " - } - }, - "76": { - "15": { - "name": "getBaseName", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 15 - ], - [ - 80, - 1 - ] - ], - "doc": "Public: Return the {String} filename without any directory information. " - } - }, - "80": { - "9": { - "name": "write", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 80, - 9 - ], - [ - 86, - 1 - ] - ], - "doc": "Public: Overwrites the file with the given String. " - } - }, - "86": { - "12": { - "name": "readSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "flushCache" - ], - "range": [ - [ - 86, - 12 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "8": { - "name": "read", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "flushCache" - ], - "range": [ - [ - 101, - 8 - ], - [ - 128, - 1 - ] - ], - "doc": " Public: Reads the contents of the file.\n\nflushCache - A {Boolean} indicating whether to require a direct read or if\n a cached copy is acceptable.\n\nReturns a promise that resovles to a String. " - } - }, - "128": { - "10": { - "name": "exists", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 128, - 10 - ], - [ - 131, - 1 - ] - ], - "doc": "Public: Returns whether the file exists. " - } - }, - "131": { - "13": { - "name": "setDigest", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "contents" - ], - "range": [ - [ - 131, - 13 - ], - [ - 135, - 1 - ] - ], - "doc": "~Private~" - } - }, - "135": { - "13": { - "name": "getDigest", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 135, - 13 - ], - [ - 142, - 1 - ] - ], - "doc": "Public: Get the SHA-1 digest of this file " - } - }, - "142": { - "40": { - "name": "writeFileWithPrivilegeEscalationSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "text" - ], - "range": [ - [ - 142, - 40 - ], - [ - 154, - 1 - ] - ], - "doc": " Private: Writes the text to specified path.\n\nPrivilege escalation would be asked when current user doesn't have\npermission to the path. " - } - }, - "154": { - "27": { - "name": "handleNativeChangeEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventType", - "eventPath" - ], - "range": [ - [ - 154, - 27 - ], - [ - 167, - 1 - ] - ], - "doc": "~Private~" - } - }, - "167": { - "32": { - "name": "detectResurrectionAfterDelay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 167, - 32 - ], - [ - 170, - 1 - ] - ], - "doc": "~Private~" - } - }, - "170": { - "22": { - "name": "detectResurrection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 170, - 22 - ], - [ - 178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "178": { - "33": { - "name": "subscribeToNativeChangeEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 178, - 33 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "37": { - "name": "unsubscribeFromNativeChangeEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 182, - 37 - ], - [ - 185, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 15 - }, - "src/space-pen.coffee": { - "objects": { - "4": { - "3": { - "type": "primitive", - "name": "_", - "range": [ - [ - 4, - 3 - ], - [ - 4, - 3 - ] - ], - "exportsProperty": "_" - }, - "6": { - "type": "primitive", - "name": "jQuery", - "range": [ - [ - 4, - 6 - ], - [ - 4, - 11 - ] - ], - "exportsProperty": "jQuery" - } - }, - "5": { - "6": { - "name": "jQuery", - "type": "primitive", - "range": [ - [ - 5, - 6 - ], - [ - 5, - 11 - ] - ] - } - }, - "8": { - "2": { - "name": "Tags", - "type": "function", - "range": [ - [ - 8, - 2 - ], - [ - 15, - 60 - ] - ] - } - }, - "17": { - "18": { - "type": "primitive", - "range": [ - [ - 17, - 18 - ], - [ - 17, - 19 - ] - ] - } - }, - "22": { - "2": { - "name": "Events", - "type": "function", - "range": [ - [ - 22, - 2 - ], - [ - 24, - 57 - ] - ] - } - }, - "28": { - "8": { - "name": "document", - "type": "primitive", - "range": [ - [ - 28, - 8 - ], - [ - 28, - 15 - ] - ] - } - }, - "32": { - "12": { - "name": "0", - "type": "primitive", - "range": [ - [ - 32, - 12 - ], - [ - 32, - 12 - ] - ] - } - }, - "58": { - "0": { - "type": "class", - "name": "View", - "classProperties": [ - [ - 59, - 17 - ], - [ - 65, - 12 - ], - [ - 69, - 9 - ], - [ - 72, - 8 - ], - [ - 75, - 8 - ], - [ - 77, - 16 - ], - [ - 83, - 15 - ], - [ - 87, - 14 - ], - [ - 92, - 11 - ] - ], - "prototypeProperties": [ - [ - 100, - 15 - ], - [ - 113, - 13 - ], - [ - 120, - 15 - ], - [ - 128, - 21 - ], - [ - 147, - 13 - ], - [ - 153, - 7 - ], - [ - 167, - 11 - ], - [ - 174, - 11 - ] - ], - "doc": " Public: View class that extends the jQuery prototype.\n\nExtending classes must implement a `@content` method.\n\n## Example\n```coffee\nclass Spacecraft extends View\n @content: ->\n @div =>\n @h1 'Spacecraft'\n @ol =>\n @li 'Apollo'\n @li 'Soyuz'\n @li 'Space Shuttle'\n```\n\nEach view instance will have all the methods from the jQuery prototype\navailable on it.\n\n```coffee\n craft = new Spacecraft()\n craft.find('h1').text() # 'Spacecraft'\n craft.appendTo(document.body) # View is now a child of the tag\n``` ", - "range": [ - [ - 58, - 0 - ], - [ - 176, - 0 - ] - ] - } - }, - "59": { - "17": { - "name": "builderStack", - "type": "primitive", - "range": [ - [ - 59, - 17 - ], - [ - 59, - 20 - ] - ], - "bindingType": "classProperty" - } - }, - "65": { - "12": { - "name": "subview", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "name", - "view" - ], - "range": [ - [ - 65, - 12 - ], - [ - 69, - 1 - ] - ], - "doc": "Public: Add the given subview wired to an outlet with the given name " - } - }, - "69": { - "9": { - "name": "text", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 69, - 9 - ], - [ - 69, - 48 - ] - ], - "doc": "Public: Add a text node with the given text content " - } - }, - "72": { - "8": { - "name": "tag", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "tagName", - "args" - ], - "range": [ - [ - 72, - 8 - ], - [ - 72, - 66 - ] - ], - "doc": "Public: Add a new tag with the given name " - } - }, - "75": { - "8": { - "name": "raw", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 75, - 8 - ], - [ - 75, - 46 - ] - ], - "doc": "Public: Add new child DOM nodes from the given raw HTML string. " - } - }, - "77": { - "16": { - "name": "pushBuilder", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 77, - 16 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "15": { - "name": "popBuilder", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 83, - 15 - ], - [ - 87, - 1 - ] - ], - "doc": "~Private~" - } - }, - "87": { - "14": { - "name": "buildHtml", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 87, - 14 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "11": { - "name": "render", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 92, - 11 - ], - [ - 100, - 1 - ] - ], - "doc": "~Private~" - } - }, - "100": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 100, - 15 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "13": { - "name": "buildHtml", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 113, - 13 - ], - [ - 120, - 1 - ] - ], - "doc": "~Private~" - } - }, - "120": { - "15": { - "name": "wireOutlets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 120, - 15 - ], - [ - 128, - 1 - ] - ], - "doc": "~Private~" - } - }, - "128": { - "21": { - "name": "bindEventHandlers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 128, - 21 - ], - [ - 147, - 1 - ] - ], - "doc": "~Private~" - } - }, - "147": { - "13": { - "name": "pushStack", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "elems" - ], - "range": [ - [ - 147, - 13 - ], - [ - 153, - 1 - ] - ], - "doc": " Private: `pushStack` and `end` are jQuery methods that construct new wrappers.\nwe override them here to construct plain wrappers with `jQuery` rather\nthan wrappers that are instances of our view class. " - } - }, - "153": { - "7": { - "name": "end", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 153, - 7 - ], - [ - 167, - 1 - ] - ], - "doc": "~Private~" - } - }, - "167": { - "11": { - "name": "command", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "commandName", - "selector", - "options", - "handler" - ], - "range": [ - [ - 167, - 11 - ], - [ - 174, - 1 - ] - ], - "doc": " Public: Calls the given handler when commandName is triggered on the {View}.\n\nThis is enhanced version of jQuery's `::on` method. It listens for a custom\nDOM event and adds metadata to the DOM to maintain a list of all commands.\n\ncommandName - A namespaced {String} describing the command, such as\n `find-and-replace:toggle`.\nselector - An optional selector {String} to filter the descendants of the\n elements that trigger the event.\noptions - An optional options {Object} with an `data` key.\nhandler - A {Function} to execute when the command is triggered. " - } - }, - "174": { - "11": { - "name": "preempt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventName", - "handler" - ], - "range": [ - [ - 174, - 11 - ], - [ - 176, - 0 - ] - ], - "doc": " Public: Preempt events registered with jQuery's `::on`.\n\neventName - A event name {String}.\nhandler - A {Function} to execute when the eventName is triggered. " - } - }, - "177": { - "0": { - "type": "class", - "name": "Builder", - "classProperties": [], - "prototypeProperties": [ - [ - 178, - 15 - ], - [ - 182, - 13 - ], - [ - 185, - 7 - ], - [ - 198, - 11 - ], - [ - 211, - 12 - ], - [ - 214, - 8 - ], - [ - 224, - 7 - ], - [ - 227, - 11 - ], - [ - 235, - 18 - ] - ], - "doc": "~Private~", - "range": [ - [ - 177, - 0 - ], - [ - 247, - 54 - ] - ] - } - }, - "178": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 178, - 15 - ], - [ - 182, - 1 - ] - ] - } - }, - "182": { - "13": { - "name": "buildHtml", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 182, - 13 - ], - [ - 185, - 1 - ] - ], - "doc": "~Private~" - } - }, - "185": { - "7": { - "name": "tag", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "args" - ], - "range": [ - [ - 185, - 7 - ], - [ - 198, - 1 - ] - ], - "doc": "~Private~" - } - }, - "198": { - "11": { - "name": "openTag", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "attributes" - ], - "range": [ - [ - 198, - 11 - ], - [ - 211, - 1 - ] - ], - "doc": "~Private~" - } - }, - "211": { - "12": { - "name": "closeTag", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 211, - 12 - ], - [ - 214, - 1 - ] - ], - "doc": "~Private~" - } - }, - "214": { - "8": { - "name": "text", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 214, - 8 - ], - [ - 224, - 1 - ] - ], - "doc": "~Private~" - } - }, - "224": { - "7": { - "name": "raw", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 224, - 7 - ], - [ - 227, - 1 - ] - ], - "doc": "~Private~" - } - }, - "227": { - "11": { - "name": "subview", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "outletName", - "subview" - ], - "range": [ - [ - 227, - 11 - ], - [ - 235, - 1 - ] - ], - "doc": "~Private~" - } - }, - "235": { - "18": { - "name": "extractOptions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 235, - 18 - ], - [ - 247, - 54 - ] - ], - "doc": "~Private~" - } - }, - "248": { - "17": { - "name": "callAttachHook", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 248, - 17 - ], - [ - 260, - 0 - ] - ], - "doc": "Private: Trigger attach event when views are added to the DOM " - } - }, - "278": { - "20": { - "name": "jQuery", - "type": "primitive", - "range": [ - [ - 278, - 20 - ], - [ - 278, - 25 - ] - ] - } - }, - "279": { - "19": { - "name": "jQuery.cleanData", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "elements" - ], - "range": [ - [ - 279, - 19 - ], - [ - 286, - 0 - ] - ], - "doc": null - } - }, - "287": { - "12": { - "name": "$.fn.view", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 287, - 12 - ], - [ - 289, - 0 - ] - ], - "doc": null - } - }, - "290": { - "13": { - "name": "$.fn.views", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 290, - 13 - ], - [ - 293, - 0 - ] - ], - "doc": null - } - }, - "294": { - "22": { - "name": "$.fn.containingView", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 294, - 22 - ], - [ - 299, - 0 - ] - ], - "doc": null - } - }, - "300": { - "20": { - "name": "$.fn.scrollBottom", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newValue" - ], - "range": [ - [ - 300, - 20 - ], - [ - 305, - 0 - ] - ], - "doc": null - } - }, - "306": { - "18": { - "name": "$.fn.scrollDown", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 306, - 18 - ], - [ - 308, - 0 - ] - ], - "doc": null - } - }, - "309": { - "16": { - "name": "$.fn.scrollUp", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 309, - 16 - ], - [ - 311, - 0 - ] - ], - "doc": null - } - }, - "312": { - "19": { - "name": "$.fn.scrollToTop", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 312, - 19 - ], - [ - 314, - 0 - ] - ], - "doc": null - } - }, - "315": { - "22": { - "name": "$.fn.scrollToBottom", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 22 - ], - [ - 317, - 0 - ] - ], - "doc": null - } - }, - "318": { - "19": { - "name": "$.fn.scrollRight", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newValue" - ], - "range": [ - [ - 318, - 19 - ], - [ - 323, - 0 - ] - ], - "doc": null - } - }, - "324": { - "14": { - "name": "$.fn.pageUp", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 324, - 14 - ], - [ - 326, - 0 - ] - ], - "doc": null - } - }, - "327": { - "16": { - "name": "$.fn.pageDown", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 327, - 16 - ], - [ - 329, - 0 - ] - ], - "doc": null - } - }, - "330": { - "15": { - "name": "$.fn.isOnDom", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 330, - 15 - ], - [ - 332, - 0 - ] - ], - "doc": null - } - }, - "333": { - "17": { - "name": "$.fn.isVisible", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 333, - 17 - ], - [ - 335, - 0 - ] - ], - "doc": null - } - }, - "336": { - "16": { - "name": "$.fn.isHidden", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 336, - 16 - ], - [ - 347, - 0 - ] - ], - "doc": null - } - }, - "348": { - "18": { - "name": "$.fn.isDisabled", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 348, - 18 - ], - [ - 350, - 0 - ] - ], - "doc": null - } - }, - "351": { - "14": { - "name": "$.fn.enable", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 351, - 14 - ], - [ - 353, - 0 - ] - ], - "doc": null - } - }, - "354": { - "15": { - "name": "$.fn.disable", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 354, - 15 - ], - [ - 356, - 0 - ] - ], - "doc": null - } - }, - "357": { - "16": { - "name": "$.fn.insertAt", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "index", - "element" - ], - "range": [ - [ - 357, - 16 - ], - [ - 363, - 0 - ] - ], - "doc": null - } - }, - "364": { - "16": { - "name": "$.fn.removeAt", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 364, - 16 - ], - [ - 366, - 0 - ] - ], - "doc": null - } - }, - "367": { - "15": { - "name": "$.fn.indexOf", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 367, - 15 - ], - [ - 369, - 0 - ] - ], - "doc": null - } - }, - "370": { - "23": { - "name": "$.fn.containsElement", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 370, - 23 - ], - [ - 372, - 0 - ] - ], - "doc": null - } - }, - "373": { - "15": { - "name": "$.fn.preempt", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "eventName", - "handler" - ], - "range": [ - [ - 373, - 15 - ], - [ - 387, - 57 - ] - ], - "doc": null - } - }, - "388": { - "16": { - "name": "$.fn.handlers", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "eventName" - ], - "range": [ - [ - 388, - 16 - ], - [ - 392, - 0 - ] - ], - "doc": null - } - }, - "393": { - "17": { - "name": "$.fn.hasParent", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 393, - 17 - ], - [ - 395, - 0 - ] - ], - "doc": null - } - }, - "396": { - "16": { - "name": "$.fn.hasFocus", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 396, - 16 - ], - [ - 398, - 0 - ] - ], - "doc": null - } - }, - "399": { - "18": { - "name": "$.fn.flashError", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 399, - 18 - ], - [ - 403, - 0 - ] - ], - "doc": null - } - }, - "404": { - "18": { - "name": "$.fn.trueHeight", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 404, - 18 - ], - [ - 406, - 0 - ] - ], - "doc": null - } - }, - "407": { - "17": { - "name": "$.fn.trueWidth", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 407, - 17 - ], - [ - 409, - 0 - ] - ], - "doc": null - } - }, - "410": { - "16": { - "name": "$.fn.document", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "eventName", - "docString" - ], - "range": [ - [ - 410, - 16 - ], - [ - 415, - 0 - ] - ], - "doc": null - } - }, - "416": { - "14": { - "name": "$.fn.events", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 416, - 14 - ], - [ - 427, - 0 - ] - ], - "doc": null - } - }, - "428": { - "15": { - "name": "$.fn.command", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "eventName", - "selector", - "options", - "handler" - ], - "range": [ - [ - 428, - 15 - ], - [ - 442, - 0 - ] - ], - "doc": null - } - }, - "443": { - "16": { - "name": "$.fn.iconSize", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "size" - ], - "range": [ - [ - 443, - 16 - ], - [ - 445, - 0 - ] - ], - "doc": null - } - }, - "446": { - "16": { - "name": "$.fn.intValue", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 446, - 16 - ], - [ - 448, - 0 - ] - ], - "doc": null - } - }, - "449": { - "36": { - "name": "$.Event.prototype.abortKeyBinding", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 449, - 36 - ], - [ - 449, - 37 - ] - ], - "doc": null - } - }, - "450": { - "38": { - "name": "$.Event.prototype.currentTargetView", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 450, - 38 - ], - [ - 450, - 74 - ] - ], - "doc": null - } - }, - "451": { - "31": { - "name": "$.Event.prototype.targetView", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 451, - 31 - ], - [ - 451, - 60 - ] - ], - "doc": null - } - }, - "459": { - "0": { - "name": "$$", - "bindingType": "exportsProperty", - "type": "function", - "range": [ - [ - 459, - 0 - ], - [ - 459, - 6 - ] - ] - } - }, - "460": { - "0": { - "name": "$$$", - "bindingType": "exportsProperty", - "type": "function", - "range": [ - [ - 460, - 0 - ], - [ - 460, - 6 - ] - ] - } - } - }, - "exports": { - "_default": { - "operator": "?", - "first": { - "base": { - "value": "exports", - "locationData": { - "first_line": 455, - "first_column": 10, - "last_line": 455, - "last_column": 16 - } - }, - "properties": [], - "locationData": { - "first_line": 455, - "first_column": 10, - "last_line": 455, - "last_column": 16 - } - }, - "second": { - "base": { - "value": "this", - "locationData": { - "first_line": 455, - "first_column": 20, - "last_line": 455, - "last_column": 23 - } - }, - "properties": [], - "locationData": { - "first_line": 455, - "first_column": 20, - "last_line": 455, - "last_column": 23 - } - }, - "flip": false, - "locationData": { - "first_line": 455, - "first_column": 10, - "last_line": 455, - "last_column": 23 - } - }, - "View": { - "startLineNumber": 456 - }, - "jQuery": { - "startLineNumber": 457 - }, - "$": { - "startLineNumber": 458 - }, - "$$": { - "startLineNumber": 459 - }, - "$$$": { - "startLineNumber": 460 - } - } - }, - "src/marker.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 6 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "extend", - "exportsProperty": "extend" - }, - "9": { - "type": "import", - "range": [ - [ - 0, - 9 - ], - [ - 0, - 15 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqual", - "exportsProperty": "isEqual" - }, - "18": { - "type": "import", - "range": [ - [ - 0, - 18 - ], - [ - 0, - 21 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "omit", - "exportsProperty": "omit" - }, - "24": { - "type": "import", - "range": [ - [ - 0, - 24 - ], - [ - 0, - 27 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "pick", - "exportsProperty": "pick" - }, - "30": { - "type": "import", - "range": [ - [ - 0, - 30 - ], - [ - 0, - 33 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "size", - "exportsProperty": "size" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "2": { - "7": { - "name": "Grim", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "grim" - } - }, - "3": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 3, - 12 - ], - [ - 3, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@1.x" - } - }, - "4": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 4, - 15 - ], - [ - 4, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "5": { - "14": { - "name": "MarkerPatch", - "type": "import", - "range": [ - [ - 5, - 14 - ], - [ - 5, - 37 - ] - ], - "bindingType": "variable", - "path": "./marker-patch" - } - }, - "6": { - "8": { - "name": "Point", - "type": "import", - "range": [ - [ - 6, - 8 - ], - [ - 6, - 24 - ] - ], - "bindingType": "variable", - "path": "./point" - } - }, - "7": { - "8": { - "name": "Range", - "type": "import", - "range": [ - [ - 7, - 8 - ], - [ - 7, - 24 - ] - ], - "bindingType": "variable", - "path": "./range" - } - }, - "9": { - "13": { - "type": "primitive", - "range": [ - [ - 9, - 13 - ], - [ - 9, - 62 - ] - ] - } - }, - "59": { - "0": { - "type": "class", - "name": "Marker", - "bindingType": "exports", - "classProperties": [ - [ - 64, - 18 - ], - [ - 73, - 27 - ] - ], - "prototypeProperties": [ - [ - 97, - 15 - ], - [ - 111, - 19 - ], - [ - 116, - 21 - ], - [ - 121, - 12 - ], - [ - 130, - 12 - ], - [ - 137, - 19 - ], - [ - 148, - 19 - ], - [ - 173, - 19 - ], - [ - 188, - 19 - ], - [ - 210, - 20 - ], - [ - 218, - 18 - ], - [ - 229, - 13 - ], - [ - 241, - 13 - ], - [ - 249, - 14 - ], - [ - 253, - 11 - ], - [ - 259, - 11 - ], - [ - 265, - 15 - ], - [ - 270, - 11 - ], - [ - 278, - 27 - ], - [ - 282, - 17 - ], - [ - 287, - 17 - ], - [ - 293, - 17 - ], - [ - 298, - 17 - ], - [ - 303, - 8 - ], - [ - 308, - 11 - ], - [ - 314, - 17 - ], - [ - 320, - 11 - ], - [ - 324, - 21 - ], - [ - 329, - 17 - ], - [ - 336, - 16 - ], - [ - 357, - 12 - ], - [ - 362, - 10 - ], - [ - 372, - 22 - ], - [ - 419, - 14 - ], - [ - 430, - 14 - ], - [ - 477, - 19 - ] - ], - "doc": " Public: Reprents a buffer annotation that remains logically stationary even\nas the buffer changes. This is used to represent cursors, folds, snippet\ntargets, misspelled words, and anything else that needs to track a logical\nlocation in the buffer over time.\n\nHead and Tail:\nMarkers always have a *head* and sometimes have a *tail*. If you think of a\nmarker as an editor selection, the tail is the part that's stationary and the\nhead is the part that moves when the mouse is moved. A marker without a tail\nalways reports an empty range at the head position. A marker with a head position\ngreater than the tail is in a \"normal\" orientation. If the head precedes the\ntail the marker is in a \"reversed\" orientation.\n\nValidity:\nMarkers are considered *valid* when they are first created. Depending on the\ninvalidation strategy you choose, certain changes to the buffer can cause a\nmarker to become invalid, for example if the text surrounding the marker is\ndeleted. See {TextBuffer::markRange} for invalidation strategies.\n\nChange events:\nWhen markers change in position for any reason, the emit a 'changed' event with\nthe following properties:\n\n* oldHeadPosition:\n A {Point} representing the former head position\n* newHeadPosition:\n A {Point} representing the new head position\n* oldTailPosition:\n A {Point} representing the former tail position\n* newTailPosition:\n A {Point} representing the new tail position\n* wasValid:\n A {Boolean} indicating whether the marker was valid before the change\n* isValid:\n A {Boolean} indicating whether the marker is now valid\n* hadTail:\n A {Boolean} indicating whether the marker had a tail before the change\n* hasTail:\n A {Boolean} indicating whether the marker now has a tail\n* oldProperties:\n An {Object} containing the marker's custom properties before the change.\n* newProperties:\n An {Object} containing the marker's custom properties after the change.\n* textChanged:\n A {Boolean} indicating whether this change was caused by a textual change\n to the buffer or whether the marker was manipulated directly via its public\n API. ", - "range": [ - [ - 59, - 0 - ], - [ - 478, - 60 - ] - ] - } - }, - "64": { - "18": { - "name": "extractParams", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "inputParams" - ], - "range": [ - [ - 64, - 18 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "27": { - "name": "handleDeprecatedParams", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 73, - 27 - ], - [ - 94, - 1 - ] - ], - "doc": "~Private~" - } - }, - "97": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 97, - 15 - ], - [ - 111, - 1 - ] - ], - "doc": "~Private~" - } - }, - "111": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 111, - 19 - ], - [ - 116, - 1 - ] - ], - "doc": "Private: Used by {Serializable} during serialization. " - } - }, - "116": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 116, - 21 - ], - [ - 121, - 1 - ] - ], - "doc": "Private: Used by {Serializable} during deserialization. " - } - }, - "121": { - "12": { - "name": "getRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 121, - 12 - ], - [ - 130, - 1 - ] - ], - "doc": "Public: Returns the current {Range} of the marker. The range is immutable. " - } - }, - "130": { - "12": { - "name": "setRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range", - "properties" - ], - "range": [ - [ - 130, - 12 - ], - [ - 137, - 1 - ] - ], - "doc": " Public: Sets the range of the marker.\n\nrange - A {Range} or range-compatible {Array}. The range will be clipped\n before it is assigned.\nproperties - An optional hash of properties to associate with the marker.\n :reversed - If true, the marker will to be in a reversed orientation. " - } - }, - "137": { - "19": { - "name": "getHeadPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 19 - ], - [ - 148, - 1 - ] - ], - "doc": "Public: Returns a {Point} representing the marker's current head position. " - } - }, - "148": { - "19": { - "name": "setHeadPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "properties" - ], - "range": [ - [ - 148, - 19 - ], - [ - 173, - 1 - ] - ], - "doc": " Public: Sets the head position of the marker.\n\nposition - A {Point} or point-compatible {Array}. The position will be\n clipped before it is assigned.\nproperties - An optional hash of properties to associate with the marker. " - } - }, - "173": { - "19": { - "name": "getTailPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 173, - 19 - ], - [ - 188, - 1 - ] - ], - "doc": " Public: Returns a {Point} representing the marker's current tail position.\nIf the marker has no tail, the head position will be returned instead. " - } - }, - "188": { - "19": { - "name": "setTailPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "properties" - ], - "range": [ - [ - 188, - 19 - ], - [ - 210, - 1 - ] - ], - "doc": " Public: Sets the head position of the marker. If the marker doesn't have a\ntail, it will after calling this method.\n\nposition - A {Point} or point-compatible {Array}. The position will be\n clipped before it is assigned.\nproperties - An optional hash of properties to associate with the marker. " - } - }, - "210": { - "20": { - "name": "getStartPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 20 - ], - [ - 218, - 1 - ] - ], - "doc": " Public: Returns a {Point} representing the start position of the marker,\nwhich could be the head or tail position, depending on its orientation. " - } - }, - "218": { - "18": { - "name": "getEndPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 218, - 18 - ], - [ - 229, - 1 - ] - ], - "doc": " Public: Returns a {Point} representing the end position of the marker,\nwhich could be the head or tail position, depending on its orientation. " - } - }, - "229": { - "13": { - "name": "clearTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "properties" - ], - "range": [ - [ - 229, - 13 - ], - [ - 241, - 1 - ] - ], - "doc": " Public: Removes the marker's tail. After calling the marker's head position\nwill be reported as its current tail position until the tail is planted\nagain.\n\nproperties - An optional hash of properties to associate with the marker. " - } - }, - "241": { - "13": { - "name": "plantTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "properties" - ], - "range": [ - [ - 241, - 13 - ], - [ - 249, - 1 - ] - ], - "doc": " Public: Plants the marker's tail at the current head position. After calling\nthe marker's tail position will be its head position at the time of the\ncall, regardless of where the marker's head is moved.\n\nproperties - An optional hash of properties to associate with the marker. " - } - }, - "249": { - "14": { - "name": "isReversed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 249, - 14 - ], - [ - 253, - 1 - ] - ], - "doc": "Public: Returns a {Boolean} indicating whether the head precedes the tail. " - } - }, - "253": { - "11": { - "name": "hasTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 253, - 11 - ], - [ - 259, - 1 - ] - ], - "doc": "Public: Returns a {Boolean} indicating whether the marker has a tail. " - } - }, - "259": { - "11": { - "name": "isValid", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 259, - 11 - ], - [ - 265, - 1 - ] - ], - "doc": " Public: Is the marker valid?\n\nReturns a {Boolean}. " - } - }, - "265": { - "15": { - "name": "isDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 265, - 15 - ], - [ - 270, - 1 - ] - ], - "doc": " Public: Is the marker destroyed?\n\nReturns a {Boolean}. " - } - }, - "270": { - "11": { - "name": "isEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 270, - 11 - ], - [ - 278, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this marker is equivalent to\nanother marker, meaning they have the same range and options. " - } - }, - "278": { - "27": { - "name": "getInvalidationStrategy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 278, - 27 - ], - [ - 282, - 1 - ] - ], - "doc": " Public: Get the invalidation strategy for this marker.\n\nValid values include: `never`, `surround`, `overlap`, `inside`, and `touch`.\n\nReturns a {String}. " - } - }, - "282": { - "17": { - "name": "getAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 282, - 17 - ], - [ - 287, - 1 - ] - ], - "doc": "Deprecated: Use ::getProperties instead " - } - }, - "287": { - "17": { - "name": "setAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 287, - 17 - ], - [ - 293, - 1 - ] - ], - "doc": "Deprecated: Use ::setProperties instead " - } - }, - "293": { - "17": { - "name": "getProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 293, - 17 - ], - [ - 298, - 1 - ] - ], - "doc": " Public: Returns an {Object} containing any custom properties associated with\nthe marker. " - } - }, - "298": { - "17": { - "name": "setProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "properties" - ], - "range": [ - [ - 298, - 17 - ], - [ - 303, - 1 - ] - ], - "doc": " Public: Merges an {Object} containing new properties into the marker's\nexisting properties. " - } - }, - "303": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 303, - 8 - ], - [ - 308, - 1 - ] - ], - "doc": " Public: Creates and returns a new {Marker} with the same properties as this\nmarker. " - } - }, - "308": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 308, - 11 - ], - [ - 314, - 1 - ] - ], - "doc": " Public: Destroys the marker, causing it to emit the 'destroyed' event. Once\ndestroyed, a marker cannot be restored by undo/redo operations. " - } - }, - "314": { - "17": { - "name": "extractParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 314, - 17 - ], - [ - 320, - 1 - ] - ], - "doc": "~Private~" - } - }, - "320": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 320, - 11 - ], - [ - 324, - 1 - ] - ], - "doc": "Public: Compares this marker to another based on their ranges. " - } - }, - "324": { - "21": { - "name": "matchesAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 324, - 21 - ], - [ - 329, - 1 - ] - ], - "doc": "Deprecated: Use ::matchesParams instead " - } - }, - "329": { - "17": { - "name": "matchesParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 329, - 17 - ], - [ - 336, - 1 - ] - ], - "doc": " Private: Returns whether this marker matches the given parameters. The parameters\nare the same as {MarkerManager::findMarkers}. " - } - }, - "336": { - "16": { - "name": "matchesParam", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "key", - "value" - ], - "range": [ - [ - 336, - 16 - ], - [ - 357, - 1 - ] - ], - "doc": " Private: Returns whether this marker matches the given parameter name and value.\nThe parameters are the same as {MarkerManager::findMarkers}. " - } - }, - "357": { - "12": { - "name": "toParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "omitId" - ], - "range": [ - [ - 357, - 12 - ], - [ - 362, - 1 - ] - ], - "doc": "~Private~" - } - }, - "362": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 362, - 10 - ], - [ - 372, - 1 - ] - ], - "doc": "~Private~" - } - }, - "372": { - "22": { - "name": "handleBufferChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "patch" - ], - "range": [ - [ - 372, - 22 - ], - [ - 419, - 1 - ] - ], - "doc": " Private: Adjusts the marker's start and end positions and possibly its validity\nbased on the given {BufferPatch}. " - } - }, - "419": { - "14": { - "name": "buildPatch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "newParams" - ], - "range": [ - [ - 419, - 14 - ], - [ - 430, - 1 - ] - ], - "doc": "~Private~" - } - }, - "430": { - "14": { - "name": "applyPatch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "patch", - "textChanged" - ], - "range": [ - [ - 430, - 14 - ], - [ - 477, - 1 - ] - ], - "doc": "~Private~" - } - }, - "477": { - "19": { - "name": "updateIntervals", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 477, - 19 - ], - [ - 478, - 60 - ] - ], - "doc": " Private: Updates the interval index on the marker manager with the marker's current\nrange. " - } - } - }, - "exports": 59 - }, - "src/point.coffee": { - "objects": { - "11": { - "0": { - "type": "class", - "name": "Point", - "bindingType": "exports", - "classProperties": [ - [ - 24, - 15 - ], - [ - 36, - 8 - ] - ], - "prototypeProperties": [ - [ - 44, - 15 - ], - [ - 47, - 8 - ], - [ - 51, - 10 - ], - [ - 56, - 13 - ], - [ - 60, - 7 - ], - [ - 70, - 11 - ], - [ - 86, - 11 - ], - [ - 101, - 11 - ], - [ - 108, - 14 - ], - [ - 113, - 21 - ], - [ - 118, - 17 - ], - [ - 123, - 24 - ], - [ - 127, - 11 - ], - [ - 131, - 13 - ], - [ - 135, - 12 - ] - ], - "doc": " Public: Represents a point in a buffer in row/column coordinates.\n\nEvery public method that takes a point also accepts a *point-compatible*\n{Array}. This means a 2-element array containing {Number}s representing the\nrow and column. So the following are equivalent:\n\n```coffee\nnew Point(1, 2)\n[1, 2]\n``` ", - "range": [ - [ - 11, - 0 - ], - [ - 136, - 27 - ] - ] - } - }, - "24": { - "15": { - "name": "fromObject", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "object", - "copy" - ], - "range": [ - [ - 24, - 15 - ], - [ - 36, - 1 - ] - ], - "doc": " Public: Convert any point-compatible object to a {Point}.\n\n* object:\n This can be an object that's already a {Point}, in which case it's\n simply returned, or an array containing two {Number}s representing the\n row and column.\n\n* copy:\n An optional boolean indicating whether to force the copying of objects\n that are already points.\n\nReturns: A {Point} based on the given object. " - } - }, - "36": { - "8": { - "name": "min", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "point1", - "point2" - ], - "range": [ - [ - 36, - 8 - ], - [ - 44, - 1 - ] - ], - "doc": "Public: Returns the given point that is earlier in the buffer. " - } - }, - "44": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 44, - 15 - ], - [ - 44, - 36 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 47, - 8 - ], - [ - 51, - 1 - ] - ], - "doc": "Public: Returns a new {Point} with the same row and column. " - } - }, - "51": { - "10": { - "name": "freeze", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 51, - 10 - ], - [ - 56, - 1 - ] - ], - "doc": "Public: Makes this point immutable and returns itself. " - } - }, - "56": { - "13": { - "name": "translate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "delta" - ], - "range": [ - [ - 56, - 13 - ], - [ - 60, - 1 - ] - ], - "doc": " Public: Return a new {Point} based on shifting this point by the given delta,\nwhich is represented by another {Point}. " - } - }, - "60": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 60, - 7 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "11": { - "name": "splitAt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "column" - ], - "range": [ - [ - 70, - 11 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 86, - 11 - ], - [ - 101, - 1 - ] - ], - "doc": " Public:\n\n* other: A {Point} or point-compatible {Array}.\n\nReturns:\n * -1 if this point precedes the argument.\n * 0 if this point is equivalent to the argument.\n * 1 if this point follows the argument. " - } - }, - "101": { - "11": { - "name": "isEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 101, - 11 - ], - [ - 108, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this point has the same row\nand column as the given {Point} or point-compatible {Array}. " - } - }, - "108": { - "14": { - "name": "isLessThan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 108, - 14 - ], - [ - 113, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this point precedes the given\n{Point} or point-compatible {Array}. " - } - }, - "113": { - "21": { - "name": "isLessThanOrEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 113, - 21 - ], - [ - 118, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this point precedes or is\nequal to the given {Point} or point-compatible {Array}. " - } - }, - "118": { - "17": { - "name": "isGreaterThan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 118, - 17 - ], - [ - 123, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this point follows the given\n{Point} or point-compatible {Array}. " - } - }, - "123": { - "24": { - "name": "isGreaterThanOrEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 123, - 24 - ], - [ - 127, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this point follows or is\nequal to the given {Point} or point-compatible {Array}. " - } - }, - "127": { - "11": { - "name": "toArray", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 127, - 11 - ], - [ - 131, - 1 - ] - ], - "doc": "Public: Returns an array of this point's row and column. " - } - }, - "131": { - "13": { - "name": "serialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 131, - 13 - ], - [ - 135, - 1 - ] - ], - "doc": "Public: Returns an array of this point's row and column. " - } - }, - "135": { - "12": { - "name": "toString", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 135, - 12 - ], - [ - 136, - 27 - ] - ], - "doc": "Public: Returns a string representation of the point. " - } - } - }, - "exports": 11 - }, - "src/range.coffee": { - "objects": { - "0": { - "7": { - "name": "Grim", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "grim" - } - }, - "1": { - "8": { - "name": "Point", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 24 - ] - ], - "bindingType": "variable", - "path": "./point" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 12 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "newlineRegex", - "exportsProperty": "newlineRegex" - } - }, - "16": { - "0": { - "type": "class", - "name": "Range", - "bindingType": "exports", - "classProperties": [ - [ - 18, - 16 - ], - [ - 32, - 15 - ], - [ - 50, - 13 - ], - [ - 79, - 23 - ] - ], - "prototypeProperties": [ - [ - 84, - 15 - ], - [ - 96, - 13 - ], - [ - 100, - 8 - ], - [ - 105, - 10 - ], - [ - 112, - 11 - ], - [ - 125, - 11 - ], - [ - 134, - 16 - ], - [ - 139, - 18 - ], - [ - 142, - 7 - ], - [ - 145, - 13 - ], - [ - 149, - 18 - ], - [ - 162, - 17 - ], - [ - 173, - 17 - ], - [ - 187, - 17 - ], - [ - 192, - 22 - ], - [ - 197, - 9 - ], - [ - 205, - 11 - ], - [ - 208, - 11 - ], - [ - 219, - 15 - ], - [ - 223, - 11 - ], - [ - 227, - 12 - ] - ], - "doc": " Public: Represents a region in a buffer in row/column coordinates.\n\nEvery public method that takes a range also accepts a *range-compatible*\n{Array}. This means a 2-element array containing {Point}s or point-compatible\narrays. So the following are equivalent:\n\n```coffee\nnew Range(new Point(0, 1), new Point(2, 3))\nnew Range([0, 1], [2, 3])\n[[0, 1], [2, 3]]\n``` ", - "range": [ - [ - 16, - 0 - ], - [ - 228, - 27 - ] - ] - } - }, - "18": { - "16": { - "name": "deserialize", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "array" - ], - "range": [ - [ - 18, - 16 - ], - [ - 32, - 1 - ] - ], - "doc": "Public: Call this with the result of {Range::serialize} to construct a new Range. " - } - }, - "32": { - "15": { - "name": "fromObject", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "object", - "copy" - ], - "range": [ - [ - 32, - 15 - ], - [ - 50, - 1 - ] - ], - "doc": " Public: Convert any range-compatible object to a {Range}.\n\n* object:\n This can be an object that's already a {Range}, in which case it's\n simply returned, or an array containing two {Point}s or point-compatible\n arrays.\n* copy:\n An optional boolean indicating whether to force the copying of objects\n that are already ranges.\n\nReturns: A {Range} based on the given object. " - } - }, - "50": { - "13": { - "name": "fromText", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 50, - 13 - ], - [ - 79, - 1 - ] - ], - "doc": " Private: Returns a range based on an optional starting point and the given text. If\nno starting point is given it will be assumed to be [0, 0].\n\n* startPoint: A {Point} where the range should start.\n* text:\n A {String} after which the range should end. The range will have as many\n rows as the text has lines have an end column based on the length of the\n last line.\n\nReturns: A {Range} " - } - }, - "79": { - "23": { - "name": "fromPointWithDelta", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "startPoint", - "rowDelta", - "columnDelta" - ], - "range": [ - [ - 79, - 23 - ], - [ - 84, - 1 - ] - ], - "doc": " Public: Returns a {Range} that starts at the given point and ends at the\nstart point plus the given row and column deltas.\n\n* startPoint:\n A {Point} or point-compatible {Array}\n* rowDelta:\n A {Number} indicating how many rows to add to the start point to get the\n end point.\n* columnDelta:\n A {Number} indicating how many rows to columns to the start point to get\n the end point.\n\nReturns a {Range} " - } - }, - "84": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pointA", - "pointB" - ], - "range": [ - [ - 84, - 15 - ], - [ - 96, - 1 - ] - ], - "doc": "~Private~" - } - }, - "96": { - "13": { - "name": "serialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 13 - ], - [ - 100, - 1 - ] - ], - "doc": "Public: Returns a plain javascript object representation of the range. " - } - }, - "100": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 100, - 8 - ], - [ - 105, - 1 - ] - ], - "doc": "Public: Returns a new range with the same start and end positions. " - } - }, - "105": { - "10": { - "name": "freeze", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 105, - 10 - ], - [ - 112, - 1 - ] - ], - "doc": " Public: Freezes the range and its start and end point so it becomes\nimmutable and returns itself. " - } - }, - "112": { - "11": { - "name": "isEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 112, - 11 - ], - [ - 125, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this range has the same start\nand end points as the given {Range} or range-compatible {Array}. " - } - }, - "125": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 125, - 11 - ], - [ - 134, - 1 - ] - ], - "doc": " Public:\n\n* other: A {Range} or range-compatible {Array}.\n\nReturns:\n * -1 if this range starts before the argument or contains it\n * 0 if this range is equivalent to the argument.\n * 1 if this range starts after the argument or is contained by it. " - } - }, - "134": { - "16": { - "name": "isSingleLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 134, - 16 - ], - [ - 139, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this range starts and ends on\nthe same row. " - } - }, - "139": { - "18": { - "name": "coversSameRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 139, - 18 - ], - [ - 142, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this range starts and ends on\nthe same row as the argument. " - } - }, - "142": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "delta" - ], - "range": [ - [ - 142, - 7 - ], - [ - 145, - 1 - ] - ], - "doc": "~Private~" - } - }, - "145": { - "13": { - "name": "translate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startPoint", - "endPoint" - ], - "range": [ - [ - 145, - 13 - ], - [ - 149, - 1 - ] - ], - "doc": "~Private~" - } - }, - "149": { - "18": { - "name": "intersectsWith", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherRange" - ], - "range": [ - [ - 149, - 18 - ], - [ - 162, - 1 - ] - ], - "doc": "Public: Determines whether this range intersects with the argument. " - } - }, - "162": { - "17": { - "name": "containsRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherRange", - "exclusive" - ], - "range": [ - [ - 162, - 17 - ], - [ - 173, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this range contains the given\nrange.\n\n* otherRange: A {Range} or range-compatible {Array}\n* exclusive:\n A boolean value including that the containment should be exclusive of\n endpoints. Defaults to false. " - } - }, - "173": { - "17": { - "name": "containsPoint", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "point", - "exclusive" - ], - "range": [ - [ - 173, - 17 - ], - [ - 187, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this range contains the given\npoint.\n\n* point: A {Point} or point-compatible {Array}\n* exclusive:\n A boolean value including that the containment should be exclusive of\n endpoints. Defaults to false. " - } - }, - "187": { - "17": { - "name": "intersectsRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 187, - 17 - ], - [ - 192, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this range intersects the\ngiven row {Number}. " - } - }, - "192": { - "22": { - "name": "intersectsRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 192, - 22 - ], - [ - 197, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this range intersects the\nrow range indicated by the given startRow and endRow {Number}s. " - } - }, - "197": { - "9": { - "name": "union", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherRange" - ], - "range": [ - [ - 197, - 9 - ], - [ - 205, - 1 - ] - ], - "doc": "Public: Returns a new range that contains this range and the given range. " - } - }, - "205": { - "11": { - "name": "isEmpty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 205, - 11 - ], - [ - 208, - 1 - ] - ], - "doc": " Public: Is the start position of this range equal to the end position?\n\nReturns a {Boolean}. " - } - }, - "208": { - "11": { - "name": "toDelta", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 208, - 11 - ], - [ - 219, - 1 - ] - ], - "doc": "~Private~" - } - }, - "219": { - "15": { - "name": "getRowCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 219, - 15 - ], - [ - 223, - 1 - ] - ], - "doc": " Public: Get the number of rows in this range.\n\nReturns a {Number}. " - } - }, - "223": { - "11": { - "name": "getRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 223, - 11 - ], - [ - 227, - 1 - ] - ], - "doc": "Public: Returns an array of all rows in the range. " - } - }, - "227": { - "12": { - "name": "toString", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 227, - 12 - ], - [ - 228, - 27 - ] - ], - "doc": "Public: Returns a string representation of the range. " - } - } - }, - "exports": 16 - }, - "src/text-buffer.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@1.x" - } - }, - "2": { - "7": { - "name": "Grim", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "grim" - } - }, - "3": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 4, - 10 - ], - [ - 4, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 4 - ] - ], - "bindingType": "variable", - "module": "pathwatcher", - "name": "File", - "exportsProperty": "File" - } - }, - "6": { - "15": { - "name": "SpanSkipList", - "type": "import", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 38 - ] - ], - "bindingType": "variable", - "module": "span-skip-list" - } - }, - "7": { - "7": { - "name": "diff", - "type": "import", - "range": [ - [ - 7, - 7 - ], - [ - 7, - 20 - ] - ], - "bindingType": "variable", - "module": "diff" - } - }, - "8": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 8, - 4 - ], - [ - 8, - 14 - ] - ], - "bindingType": "variable", - "module": "q" - } - }, - "9": { - "8": { - "name": "Point", - "type": "import", - "range": [ - [ - 9, - 8 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "path": "./point" - } - }, - "10": { - "8": { - "name": "Range", - "type": "import", - "range": [ - [ - 10, - 8 - ], - [ - 10, - 24 - ] - ], - "bindingType": "variable", - "path": "./range" - } - }, - "11": { - "10": { - "name": "History", - "type": "import", - "range": [ - [ - 11, - 10 - ], - [ - 11, - 28 - ] - ], - "bindingType": "variable", - "path": "./history" - } - }, - "12": { - "16": { - "name": "MarkerManager", - "type": "import", - "range": [ - [ - 12, - 16 - ], - [ - 12, - 41 - ] - ], - "bindingType": "variable", - "path": "./marker-manager" - } - }, - "13": { - "14": { - "name": "BufferPatch", - "type": "import", - "range": [ - [ - 13, - 14 - ], - [ - 13, - 37 - ] - ], - "bindingType": "variable", - "path": "./buffer-patch" - } - }, - "14": { - "1": { - "type": "import", - "range": [ - [ - 14, - 1 - ], - [ - 14, - 11 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "spliceArray", - "exportsProperty": "spliceArray" - }, - "14": { - "type": "import", - "range": [ - [ - 14, - 14 - ], - [ - 14, - 25 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "newlineRegex", - "exportsProperty": "newlineRegex" - } - }, - "68": { - "0": { - "type": "class", - "name": "TextBuffer", - "bindingType": "exports", - "classProperties": [ - [ - 69, - 10 - ], - [ - 70, - 10 - ], - [ - 71, - 17 - ] - ], - "prototypeProperties": [ - [ - 78, - 14 - ], - [ - 79, - 24 - ], - [ - 80, - 26 - ], - [ - 81, - 22 - ], - [ - 82, - 12 - ], - [ - 83, - 8 - ], - [ - 84, - 12 - ], - [ - 92, - 15 - ], - [ - 112, - 21 - ], - [ - 119, - 19 - ], - [ - 130, - 11 - ], - [ - 142, - 12 - ], - [ - 148, - 11 - ], - [ - 154, - 16 - ], - [ - 160, - 14 - ], - [ - 168, - 14 - ], - [ - 175, - 15 - ], - [ - 187, - 20 - ], - [ - 196, - 20 - ], - [ - 204, - 11 - ], - [ - 211, - 18 - ], - [ - 260, - 18 - ], - [ - 273, - 10 - ], - [ - 281, - 10 - ], - [ - 289, - 10 - ], - [ - 297, - 13 - ], - [ - 309, - 14 - ], - [ - 337, - 14 - ], - [ - 347, - 14 - ], - [ - 406, - 18 - ], - [ - 436, - 13 - ], - [ - 454, - 16 - ], - [ - 471, - 20 - ], - [ - 478, - 18 - ], - [ - 485, - 12 - ], - [ - 496, - 15 - ], - [ - 515, - 29 - ], - [ - 532, - 29 - ], - [ - 545, - 24 - ], - [ - 548, - 12 - ], - [ - 552, - 8 - ], - [ - 555, - 17 - ], - [ - 565, - 20 - ], - [ - 569, - 11 - ], - [ - 577, - 11 - ], - [ - 579, - 15 - ], - [ - 581, - 14 - ], - [ - 583, - 10 - ], - [ - 587, - 11 - ], - [ - 592, - 19 - ], - [ - 624, - 22 - ], - [ - 629, - 10 - ], - [ - 636, - 32 - ], - [ - 640, - 28 - ], - [ - 650, - 15 - ], - [ - 656, - 11 - ], - [ - 662, - 10 - ], - [ - 668, - 11 - ], - [ - 682, - 18 - ], - [ - 687, - 8 - ], - [ - 693, - 10 - ], - [ - 710, - 14 - ], - [ - 724, - 16 - ], - [ - 726, - 17 - ], - [ - 736, - 27 - ], - [ - 774, - 8 - ], - [ - 792, - 17 - ], - [ - 804, - 11 - ], - [ - 830, - 15 - ], - [ - 881, - 24 - ], - [ - 889, - 14 - ], - [ - 897, - 23 - ], - [ - 910, - 19 - ], - [ - 918, - 16 - ], - [ - 926, - 10 - ], - [ - 930, - 32 - ], - [ - 933, - 26 - ], - [ - 942, - 29 - ], - [ - 947, - 12 - ], - [ - 956, - 8 - ], - [ - 959, - 8 - ], - [ - 969, - 12 - ], - [ - 977, - 20 - ], - [ - 983, - 21 - ], - [ - 987, - 20 - ], - [ - 990, - 18 - ], - [ - 1029, - 13 - ], - [ - 1037, - 16 - ], - [ - 1042, - 13 - ], - [ - 1047, - 14 - ], - [ - 1069, - 15 - ], - [ - 1074, - 18 - ] - ], - "doc": " Public: A mutable text container with undo/redo support and the ability to\nannotate logical regions in the text.\n\n## Events\n\n* `changed` -\n Emitted synchronously whenever the buffer changes. Binding a slow handler\n to this event has the potential to destroy typing performance. Consider\n using `contents-modified` instead and aim for extremely fast performance\n (< 2 ms) if you must bind to it. Your handler will be called with an\n object containing the following keys.\n * `oldRange` - The {Range} of the old text\n * `newRange` - The {Range} of the new text\n * `oldText` - A {String} containing the text that was replaced\n * `newText` - A {String} containing the text that was inserted\n\n* `markers-updated` -\n Emitted synchronously when the `changed` events of all markers have been\n fired for a change. The order of events is as follows:\n * The text of the buffer is changed\n * All markers are updated accordingly, but their `changed` events are not\n emited\n * The `changed` event is emitted\n * The `changed` events of all updated markers are emitted\n * The `markers-updated` event is emitted.\n\n* `contents-modified` -\n Emitted asynchronously 300ms (or `TextBuffer::stoppedChangingDelay`)\n after the last buffer change. This is a good place to handle changes to\n the buffer without compromising typing performance.\n\n* `modified-status-changed` -\n Emitted with a {Boolean} when the result of {::isModified} changes.\n\n* `contents-conflicted` -\n Emitted when the buffer's underlying file changes on disk at a moment\n when the result of {::isModified} is true.\n\n* `will-reload` -\n Emitted before the in-memory contents of the buffer are refreshed from\n the contents of the file on disk.\n\n* `reloaded` -\n Emitted after the in-memory contents of the buffer are refreshed from\n the contents of the file on disk.\n\n* `will-be-saved` - Emitted before the buffer is saved to disk.\n\n* `saved` - Emitted after the buffer is saved to disk.\n\n* `destroyed` - Emitted when the buffer is destroyed. ", - "range": [ - [ - 68, - 0 - ], - [ - 1074, - 46 - ] - ] - } - }, - "69": { - "10": { - "name": "Point", - "type": "primitive", - "range": [ - [ - 69, - 10 - ], - [ - 69, - 14 - ] - ], - "bindingType": "classProperty", - "reference": { - "position": [ - 9, - 8 - ] - } - } - }, - "70": { - "10": { - "name": "Range", - "type": "primitive", - "range": [ - [ - 70, - 10 - ], - [ - 70, - 14 - ] - ], - "bindingType": "classProperty", - "reference": { - "position": [ - 10, - 8 - ] - } - } - }, - "71": { - "17": { - "name": "newlineRegex", - "type": "primitive", - "range": [ - [ - 71, - 17 - ], - [ - 71, - 28 - ] - ], - "bindingType": "classProperty", - "reference": { - "position": [ - 14, - 14 - ] - } - } - }, - "78": { - "14": { - "name": "cachedText", - "type": "primitive", - "range": [ - [ - 78, - 14 - ], - [ - 78, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "79": { - "24": { - "name": "stoppedChangingDelay", - "type": "primitive", - "range": [ - [ - 79, - 24 - ], - [ - 79, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "80": { - "26": { - "name": "stoppedChangingTimeout", - "type": "primitive", - "range": [ - [ - 80, - 26 - ], - [ - 80, - 29 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "81": { - "22": { - "name": "cachedDiskContents", - "type": "primitive", - "range": [ - [ - 81, - 22 - ], - [ - 81, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "82": { - "12": { - "name": "conflict", - "type": "primitive", - "range": [ - [ - 82, - 12 - ], - [ - 82, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "83": { - "8": { - "name": "file", - "type": "primitive", - "range": [ - [ - 83, - 8 - ], - [ - 83, - 11 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "84": { - "12": { - "name": "refcount", - "type": "primitive", - "range": [ - [ - 84, - 12 - ], - [ - 84, - 12 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "92": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 92, - 15 - ], - [ - 112, - 1 - ] - ], - "doc": " Public: Create a new buffer with the given params.\n\nparams - A {String} of text or an {Object} with the following keys:\n :load - A {Boolean}, `true` to asynchronously load the buffer from disk\n after initialization.\n :text - The initial {String} text of the buffer. " - } - }, - "112": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 112, - 21 - ], - [ - 119, - 1 - ] - ], - "doc": "Private: Called by {Serializable} mixin during deserialization. " - } - }, - "119": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 119, - 19 - ], - [ - 130, - 1 - ] - ], - "doc": "Private: Called by {Serializable} mixin during serialization. " - } - }, - "130": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 130, - 11 - ], - [ - 142, - 1 - ] - ], - "doc": " Public: Get the entire text of the buffer.\n\nReturns a {String}. " - } - }, - "142": { - "12": { - "name": "getLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 142, - 12 - ], - [ - 148, - 1 - ] - ], - "doc": " Public: Get the text of all lines in the buffer, without their line endings.\n\nReturns an {Array} of {String}s. " - } - }, - "148": { - "11": { - "name": "isEmpty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 148, - 11 - ], - [ - 154, - 1 - ] - ], - "doc": " Public: Determine whether the buffer is empty.\n\nReturns a {Boolean}. " - } - }, - "154": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 16 - ], - [ - 160, - 1 - ] - ], - "doc": " Public: Get the number of lines in the buffer.\n\nReturns a {Number}. " - } - }, - "160": { - "14": { - "name": "getLastRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 160, - 14 - ], - [ - 168, - 1 - ] - ], - "doc": " Public: Get the last 0-indexed row in the buffer.\n\nReturns a {Number}. " - } - }, - "168": { - "14": { - "name": "lineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 168, - 14 - ], - [ - 175, - 1 - ] - ], - "doc": " Public: Get the text of the line at the given row, without its line ending.\n\nrow - A {Number} representing a 0-indexed row.\n\nReturns a {String}. " - } - }, - "175": { - "15": { - "name": "getLastLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 175, - 15 - ], - [ - 187, - 1 - ] - ], - "doc": " Public: Get the text of the last line of the buffer, without its line\nending.\n\nReturns a {String}. " - } - }, - "187": { - "20": { - "name": "lineEndingForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 187, - 20 - ], - [ - 196, - 1 - ] - ], - "doc": " Public: Get the line ending for the given 0-indexed row.\n\nrow - A {Number} indicating the row.\n\nThe returned newline is represented as a literal string: `'\\n'`, `'\\r'`,\n`'\\r\\n'`, or `''` for the last line of the buffer, which doesn't end in a\nnewline.\n\nReturns a {String}. " - } - }, - "196": { - "20": { - "name": "lineLengthForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 196, - 20 - ], - [ - 204, - 1 - ] - ], - "doc": " Public: Get the length of the line for the given 0-indexed row, without its\nline ending.\n\nrow - A {Number} indicating the row.\n\nReturns a {Number}. " - } - }, - "204": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 204, - 11 - ], - [ - 211, - 1 - ] - ], - "doc": " Public: Replace the entire contents of the buffer with the given text.\n\ntext - A {String}\n\nReturns a {Range} spanning the new buffer contents. " - } - }, - "211": { - "18": { - "name": "setTextViaDiff", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 211, - 18 - ], - [ - 260, - 1 - ] - ], - "doc": " Public: Replace the current buffer contents by applying a diff based on the\ngiven text.\n\ntext - A {String} containing the new buffer contents. " - } - }, - "260": { - "18": { - "name": "setTextInRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range", - "text", - "normalizeLineEndings" - ], - "range": [ - [ - 260, - 18 - ], - [ - 273, - 1 - ] - ], - "doc": " Public: Set the text in the given range.\n\nrange - A {Range}.\ntext - A {String}.\n\nReturns the {Range} of the inserted text. " - } - }, - "273": { - "10": { - "name": "insert", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "text", - "normalizeLineEndings" - ], - "range": [ - [ - 273, - 10 - ], - [ - 281, - 1 - ] - ], - "doc": " Public: Insert text at the given position.\n\nposition - A {Point} representing the insertion location. The position is\n clipped before insertion.\ntext - A {String} representing the text to insert.\n\nReturns the {Range} of the inserted text. " - } - }, - "281": { - "10": { - "name": "append", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "normalizeLineEndings" - ], - "range": [ - [ - 281, - 10 - ], - [ - 289, - 1 - ] - ], - "doc": " Public: Append text to the end of the buffer.\n\ntext - A {String} representing the text text to append.\n\nReturns the {Range} of the inserted text " - } - }, - "289": { - "10": { - "name": "delete", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 289, - 10 - ], - [ - 297, - 1 - ] - ] - } - }, - "297": { - "13": { - "name": "deleteRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 297, - 13 - ], - [ - 309, - 1 - ] - ], - "doc": " Public: Delete the line associated with a specified row.\n\nrow - A {Number} representing the 0-indexed row to delete.\n\nReturns the {Range} of the deleted text. " - } - }, - "309": { - "14": { - "name": "deleteRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 309, - 14 - ], - [ - 337, - 1 - ] - ], - "doc": " Public: Delete the lines associated with the specified row range.\n\nstartRow - A {Number} representing the first row to delete.\nendRow - A {Number} representing the last row to delete, inclusive.\n\nIf the row range is out of bounds, it will be clipped. If the startRow is\ngreater than the end row, they will be reordered.\n\nReturns the {Range} of the deleted text. " - } - }, - "337": { - "14": { - "name": "buildPatch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "oldRange", - "newText", - "normalizeLineEndings" - ], - "range": [ - [ - 337, - 14 - ], - [ - 347, - 1 - ] - ], - "doc": " Private: Builds a {BufferPatch}, which is used to modify the buffer and is also\npushed into the undo history so it can be undone. " - } - }, - "347": { - "14": { - "name": "applyPatch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 347, - 14 - ], - [ - 406, - 1 - ] - ], - "doc": " Private: Applies a {BufferPatch} to the buffer based on its old range and new text.\nAlso applies any {MarkerPatch}es associated with the {BufferPatch}. " - } - }, - "406": { - "18": { - "name": "getTextInRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 406, - 18 - ], - [ - 436, - 1 - ] - ], - "doc": " Public: Get the text in a range.\n\nrange - A {Range}\n\nReturns a {String} " - } - }, - "436": { - "13": { - "name": "clipRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 436, - 13 - ], - [ - 454, - 1 - ] - ], - "doc": " Public: Clip the given range so it starts and ends at valid positions.\n\nFor example, the position [1, 100] is out of bounds if the line at row 1 is\nonly 10 characters long, and it would be clipped to (1, 10).\n\nrange - A {Range} or range-compatible {Array} to clip.\n\nReturns the given {Range} if it is already in bounds, or a new clipped\n{Range} if the given range is out-of-bounds. " - } - }, - "454": { - "16": { - "name": "clipPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 454, - 16 - ], - [ - 471, - 1 - ] - ], - "doc": " Public: Clip the given point so it is at a valid position in the buffer.\n\nFor example, the position (1, 100) is out of bounds if the line at row 1 is\nonly 10 characters long, and it would be clipped to (1, 10)\n\nposition - A {Point} or point-compatible {Array}.\n\nReturns a new {Point} if the given position is invalid, otherwise returns\nthe given position. " - } - }, - "471": { - "20": { - "name": "getFirstPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 471, - 20 - ], - [ - 478, - 1 - ] - ], - "doc": " Public: Get the first position in the buffer, which is always `[0, 0]`.\n\nReturns a {Point}. " - } - }, - "478": { - "18": { - "name": "getEndPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 478, - 18 - ], - [ - 485, - 1 - ] - ], - "doc": " Public: Get the maximal position in the buffer, where new text would be\nappended.\n\nReturns a {Point}. " - } - }, - "485": { - "12": { - "name": "getRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 485, - 12 - ], - [ - 496, - 1 - ] - ], - "doc": " Public: Get the range spanning from `[0, 0]` to {::getEndPosition}.\n\nReturns a {Range}. " - } - }, - "496": { - "15": { - "name": "rangeForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "includeNewline" - ], - "range": [ - [ - 496, - 15 - ], - [ - 515, - 1 - ] - ], - "doc": " Public: Get the range for the given row\n\nrow - A {Number} representing a 0-indexed row.\nincludeNewline - A {Boolean} indicating whether or not to include the\n newline, which results in a range that extends to the start\n of the next line.\n\nReturns a {Range}. " - } - }, - "515": { - "29": { - "name": "characterIndexForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 515, - 29 - ], - [ - 532, - 1 - ] - ], - "doc": " Public: Convert a position in the buffer in row/column coordinates to an\nabsolute character offset, inclusive of line ending characters.\n\nThe position is clipped prior to translating.\n\nposition - A {Point}.\n\nReturns a {Number}. " - } - }, - "532": { - "29": { - "name": "positionForCharacterIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "offset" - ], - "range": [ - [ - 532, - 29 - ], - [ - 545, - 1 - ] - ], - "doc": " Public: Convert an absolute character offset, inclusive of newlines, to a\nposition in the buffer in row/column coordinates.\n\nThe offset is clipped prior to translating.\n\noffset - A {Number}.\n\nReturns a {Point}. " - } - }, - "545": { - "24": { - "name": "getMaxCharacterIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 545, - 24 - ], - [ - 548, - 1 - ] - ], - "doc": " Public: Get the length of the buffer in characters.\n\nReturns a {Number}. " - } - }, - "548": { - "12": { - "name": "loadSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 548, - 12 - ], - [ - 552, - 1 - ] - ], - "doc": "~Private~" - } - }, - "552": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 552, - 8 - ], - [ - 555, - 1 - ] - ], - "doc": "~Private~" - } - }, - "555": { - "17": { - "name": "finishLoading", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 555, - 17 - ], - [ - 565, - 1 - ] - ], - "doc": "~Private~" - } - }, - "565": { - "20": { - "name": "handleTextChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 565, - 20 - ], - [ - 569, - 1 - ] - ], - "doc": "~Private~" - } - }, - "569": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 569, - 11 - ], - [ - 577, - 1 - ] - ], - "doc": "~Private~" - } - }, - "577": { - "11": { - "name": "isAlive", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 577, - 11 - ], - [ - 577, - 27 - ] - ], - "doc": "~Private~" - } - }, - "579": { - "15": { - "name": "isDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 579, - 15 - ], - [ - 579, - 27 - ] - ], - "doc": "~Private~" - } - }, - "581": { - "14": { - "name": "isRetained", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 581, - 14 - ], - [ - 581, - 29 - ] - ], - "doc": "~Private~" - } - }, - "583": { - "10": { - "name": "retain", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 583, - 10 - ], - [ - 587, - 1 - ] - ], - "doc": "~Private~" - } - }, - "587": { - "11": { - "name": "release", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 587, - 11 - ], - [ - 592, - 1 - ] - ], - "doc": "~Private~" - } - }, - "592": { - "19": { - "name": "subscribeToFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 592, - 19 - ], - [ - 624, - 1 - ] - ], - "doc": "~Private~" - } - }, - "624": { - "22": { - "name": "hasMultipleEditors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 624, - 22 - ], - [ - 624, - 37 - ] - ], - "doc": " Private: Identifies if the buffer belongs to multiple editors.\n\nFor example, if the {EditorView} was split.\n\nReturns a {Boolean}. " - } - }, - "629": { - "10": { - "name": "reload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 629, - 10 - ], - [ - 636, - 1 - ] - ], - "doc": " Public: Reload the buffer's contents from disk.\n\nSets the buffer's content to the cached disk contents " - } - }, - "636": { - "32": { - "name": "updateCachedDiskContentsSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 636, - 32 - ], - [ - 640, - 1 - ] - ], - "doc": "Private: Rereads the contents of the file, and stores them in the cache. " - } - }, - "640": { - "28": { - "name": "updateCachedDiskContents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 640, - 28 - ], - [ - 650, - 1 - ] - ], - "doc": "Private: Rereads the contents of the file, and stores them in the cache. " - } - }, - "650": { - "15": { - "name": "getBaseName", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 650, - 15 - ], - [ - 656, - 1 - ] - ], - "doc": " Private: Get the basename of the associated file.\n\nThe basename is the name portion of the file's path, without the containing\ndirectories.\n\nReturns a {String}. " - } - }, - "656": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 656, - 11 - ], - [ - 662, - 1 - ] - ], - "doc": " Pubilc: Get the path of the associated file.\n\nReturns a {String}. " - } - }, - "662": { - "10": { - "name": "getUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 662, - 10 - ], - [ - 668, - 1 - ] - ], - "doc": " Public: Get the path of the associated file.\n\nReturns a {String}. " - } - }, - "668": { - "11": { - "name": "setPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 668, - 11 - ], - [ - 682, - 1 - ] - ], - "doc": " Public: Set the path for the buffer's associated file.\n\nfilePath - A {String} representing the new file path " - } - }, - "682": { - "18": { - "name": "getEofPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 682, - 18 - ], - [ - 687, - 1 - ] - ], - "doc": "Deprecated: Use {::getEndPosition} instead " - } - }, - "687": { - "8": { - "name": "save", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 687, - 8 - ], - [ - 693, - 1 - ] - ], - "doc": "Public: Save the buffer. " - } - }, - "693": { - "10": { - "name": "saveAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 693, - 10 - ], - [ - 710, - 1 - ] - ], - "doc": " Public: Save the buffer at a specific path.\n\nfilePath - The path to save at. " - } - }, - "710": { - "14": { - "name": "isModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 710, - 14 - ], - [ - 724, - 1 - ] - ], - "doc": " Public: Determine if the in-memory contents of the buffer differ from its\ncontents on disk.\n\nIf the buffer is unsaved, always returns `true` unless the buffer is empty.\n\nReturns a {Boolean}. " - } - }, - "724": { - "16": { - "name": "isInConflict", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 724, - 16 - ], - [ - 724, - 27 - ] - ], - "doc": " Public: Determine if the in-memory contents of the buffer conflict with the\non-disk contents of its associated file.\n\nReturns a {Boolean}. " - } - }, - "726": { - "17": { - "name": "destroyMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 726, - 17 - ], - [ - 736, - 1 - ] - ], - "doc": "~Private~" - } - }, - "736": { - "27": { - "name": "matchesInCharacterRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "startIndex", - "endIndex" - ], - "range": [ - [ - 736, - 27 - ], - [ - 774, - 1 - ] - ], - "doc": " Private: Identifies if a character sequence is within a certain range.\n\nregex - The {RegExp} to match.\nstartIndex - A {Number} representing the starting character offset.\nendIndex - A {Number} representing the ending character offset.\n\nReturns an {Array} of matches for the given regex. " - } - }, - "774": { - "8": { - "name": "scan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "iterator" - ], - "range": [ - [ - 774, - 8 - ], - [ - 792, - 1 - ] - ], - "doc": " Public: Scan regular expression matches in the entire buffer, calling the\ngiven iterator function on each match.\n\nIf you're programmatically modifying the results, you may want to try\n{::backwardsScan} to avoid tripping over your own changes.\n\nregex - A {RegExp} to search for.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " - } - }, - "792": { - "17": { - "name": "backwardsScan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "iterator" - ], - "range": [ - [ - 792, - 17 - ], - [ - 804, - 1 - ] - ], - "doc": " Public: Scan regular expression matches in the entire buffer in reverse\norder, calling the given iterator function on each match.\n\nregex - A {RegExp} to search for.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " - } - }, - "804": { - "11": { - "name": "replace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "replacementText" - ], - "range": [ - [ - 804, - 11 - ], - [ - 830, - 1 - ] - ], - "doc": " Public: Replace all regular expression matches in the entire buffer.\n\nregex - A {RegExp} representing the matches to be replaced.\nreplacementText - A {String} representing the text to replace each match.\n\nReturns a {Number} representing the number of replacements made. " - } - }, - "830": { - "15": { - "name": "scanInRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "range", - "iterator", - "reverse" - ], - "range": [ - [ - 830, - 15 - ], - [ - 881, - 1 - ] - ], - "doc": " Public: Scan regular expression matches in a given range , calling the given\niterator function on each match.\n\nregex - A {RegExp} to search for.\nrange - A {Range} in which to search.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " - } - }, - "881": { - "24": { - "name": "backwardsScanInRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "range", - "iterator" - ], - "range": [ - [ - 881, - 24 - ], - [ - 889, - 1 - ] - ], - "doc": " Public: Scan regular expression matches in a given range in reverse order,\ncalling the given iterator function on each match.\n\nregex - A {RegExp} to search for.\nrange - A {Range} in which to search.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " - } - }, - "889": { - "14": { - "name": "isRowBlank", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 889, - 14 - ], - [ - 897, - 1 - ] - ], - "doc": " Public: Determine if the given row contains only whitespace.\n\nrow - A {Number} representing a 0-indexed row.\n\nReturns a {Boolean}. " - } - }, - "897": { - "23": { - "name": "previousNonBlankRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow" - ], - "range": [ - [ - 897, - 23 - ], - [ - 910, - 1 - ] - ], - "doc": " Public: Given a row, find the first preceding row that's not blank.\n\nstartRow - A {Number} identifying the row to start checking at.\n\nReturns a {Number} or `null` if there's no preceding non-blank row. " - } - }, - "910": { - "19": { - "name": "nextNonBlankRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow" - ], - "range": [ - [ - 910, - 19 - ], - [ - 918, - 1 - ] - ], - "doc": " Public: Given a row, find the next row that's not blank.\n\nstartRow - A {Number} identifying the row to start checking at.\n\nReturns a {Number} or `null` if there's no next non-blank row. " - } - }, - "918": { - "16": { - "name": "usesSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 918, - 16 - ], - [ - 926, - 1 - ] - ], - "doc": "Private: Deprecate " - } - }, - "926": { - "10": { - "name": "change", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "oldRange", - "newText", - "options" - ], - "range": [ - [ - 926, - 10 - ], - [ - 930, - 1 - ] - ], - "doc": "Deprecated: Call {::setTextInRange} instead. " - } - }, - "930": { - "32": { - "name": "cancelStoppedChangingTimeout", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 930, - 32 - ], - [ - 933, - 1 - ] - ], - "doc": "~Private~" - } - }, - "933": { - "26": { - "name": "scheduleModifiedEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 933, - 26 - ], - [ - 942, - 1 - ] - ], - "doc": "~Private~" - } - }, - "942": { - "29": { - "name": "emitModifiedStatusChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "modifiedStatus" - ], - "range": [ - [ - 942, - 29 - ], - [ - 947, - 1 - ] - ], - "doc": "~Private~" - } - }, - "947": { - "12": { - "name": "logLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 947, - 12 - ], - [ - 952, - 1 - ] - ], - "doc": "~Private~" - } - }, - "956": { - "8": { - "name": "undo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 956, - 8 - ], - [ - 956, - 25 - ] - ], - "doc": "Public: Undo the last operation. If a transaction is in progress, aborts it. " - } - }, - "959": { - "8": { - "name": "redo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 959, - 8 - ], - [ - 959, - 25 - ] - ], - "doc": "Public: Redo the last operation " - } - }, - "969": { - "12": { - "name": "transact", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 969, - 12 - ], - [ - 969, - 40 - ] - ], - "doc": " Public: Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " - } - }, - "977": { - "20": { - "name": "beginTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 977, - 20 - ], - [ - 977, - 49 - ] - ], - "doc": " Public: Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " - } - }, - "983": { - "21": { - "name": "commitTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 983, - 21 - ], - [ - 983, - 51 - ] - ], - "doc": " Public: Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " - } - }, - "987": { - "20": { - "name": "abortTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 987, - 20 - ], - [ - 987, - 49 - ] - ], - "doc": " Public: Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " - } - }, - "990": { - "18": { - "name": "clearUndoStack", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 990, - 18 - ], - [ - 990, - 45 - ] - ], - "doc": "Public: Clear the undo stack. " - } - }, - "1029": { - "13": { - "name": "markRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range", - "properties" - ], - "range": [ - [ - 1029, - 13 - ], - [ - 1029, - 72 - ] - ], - "doc": " Public: Create a marker with the given range. This marker will maintain\nits logical location as the buffer is changed, so if you mark a particular\nword, the marker will remain over that word even if the word's location in\nthe buffer changes.\n\n* range: A {Range} or range-compatible {Array}\n* properties:\n A hash of key-value pairs to associate with the marker. There are also\n reserved property names that have marker-specific meaning:\n :reversed -\n Creates the marker in a reversed orientation. Defaults to false.\n :persistent -\n Whether to include this marker when serializing the buffer. Defaults\n to true.\n :invalidate -\n Determines the rules by which changes to the buffer *invalidate* the\n marker. Defaults to 'overlap', but can be any of the following\n strategies, in order of fragility:\n * 'never':\n The marker is never marked as invalid. This is a good choice for\n markers representing selections in an editor.\n * 'surround':\n The marker is invalidated by changes that completely surround it.\n * 'overlap':\n The marker is invalidated by changes that surround the start or\n end of the marker. This is the default.\n * 'inside':\n The marker is invalidated by changes that extend into the\n inside of the marker. Changes that end at the marker's start or\n start at the marker's end do not invalidate the marker.\n * 'touch':\n The marker is invalidated by a change that touches the marked\n region in any way, including changes that end at the marker's\n start or start at the marker's end. This is the most fragile\n strategy.\n\nReturns a {Marker}. " - } - }, - "1037": { - "16": { - "name": "markPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "properties" - ], - "range": [ - [ - 1037, - 16 - ], - [ - 1037, - 84 - ] - ], - "doc": " Public: Create a marker at the given position with no tail.\n\n:position - {Point} or point-compatible {Array}\n:properties - This is the same as the `properties` parameter in {::markRange}\n\nReturns a {Marker}. " - } - }, - "1042": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 1042, - 13 - ], - [ - 1042, - 42 - ] - ], - "doc": " Public: Get an existing marker by its id.\n\nReturns a {Marker}. " - } - }, - "1047": { - "14": { - "name": "getMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1047, - 14 - ], - [ - 1047, - 37 - ] - ], - "doc": " Public: Get all existing markers on the buffer.\n\nReturns an {Array} of {Marker}s. " - } - }, - "1069": { - "15": { - "name": "findMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 1069, - 15 - ], - [ - 1069, - 54 - ] - ], - "doc": " Public: Find markers conforming to the given parameters.\n\n:params -\n A hash of key-value pairs constraining the set of returned markers. You\n can query against custom marker properties by listing the desired\n key-value pairs here. In addition, the following keys are reserved and\n have special semantics:\n * 'startPosition': Only include markers that start at the given {Point}.\n * 'endPosition': Only include markers that end at the given {Point}.\n * 'containsPoint': Only include markers that contain the given {Point}, inclusive.\n * 'containsRange': Only include markers that contain the given {Range}, inclusive.\n * 'startRow': Only include markers that start at the given row {Number}.\n * 'endRow': Only include markers that end at the given row {Number}.\n * 'intersectsRow': Only include markers that intersect the given row {Number}.\n\nFinds markers that conform to all of the given parameters. Markers are\nsorted based on their position in the buffer. If two markers start at the\nsame position, the larger marker comes first.\n\nReturns an {Array} of {Marker}s. " - } - }, - "1074": { - "18": { - "name": "getMarkerCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1074, - 18 - ], - [ - 1074, - 45 - ] - ], - "doc": " Public: Get the number of markers in the buffer.\n\nReturns a {Number}. " - } - } - }, - "exports": 68 - }, "src/model.coffee": { "objects": { "0": { diff --git a/docs/api/tello.json b/docs/api/tello.json index bf0500b06..45d9787c0 100644 --- a/docs/api/tello.json +++ b/docs/api/tello.json @@ -3,13 +3,13 @@ "Atom": { "name": "Atom", "filename": "src/atom.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L36", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L36", "sections": [], "classMethods": [ { "name": "loadOrCreate", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L45", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L45", "visibility": "Public", "summary": "Load or create the Atom environment in the given mode.", "description": "Load or create the Atom environment in the given mode.\n\nmode - Pass 'editor' or 'spec' depending on the kind of environment you\n want to build.", @@ -25,7 +25,7 @@ { "name": "initialize", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L124", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L124", "visibility": "Public", "summary": "Sets up the basic services that should be available in all modes\n(both spec and application). Call after this instance has been assigned to\nthe `atom` global. ", "description": "Sets up the basic services that should be available in all modes\n(both spec and application). Call after this instance has been assigned to\nthe `atom` global. " @@ -33,7 +33,7 @@ { "name": "getWindowDimensions", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L195", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L195", "visibility": "Public", "summary": "Get the dimensions of this window.", "description": "Get the dimensions of this window.", @@ -47,7 +47,7 @@ { "name": "setWindowDimensions", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L212", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L212", "visibility": "Public", "summary": "Set the dimensions of the window.", "description": "Set the dimensions of the window.\n\nThe window will be centered if either the x or y coordinate is not set\nin the dimensions parameter. If x or y are omitted the window will be\ncentered. If height or width are omitted only the position will be changed.\n\ndimensions - An {Object} with the following keys:\n :x - The new x coordinate.\n :y - The new y coordinate.\n :width - The new width.\n :height - The new height. " @@ -55,7 +55,7 @@ { "name": "open", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L354", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L354", "visibility": "Public", "summary": "Open a new Atom window using the given options.", "description": "Open a new Atom window using the given options.\n\nCalling this method without an options parameter will open a prompt to pick\na file/folder to open in the new window.\n\noptions - An {Object} with the following keys:\n :pathsToOpen - An {Array} of {String} paths to open. " @@ -63,7 +63,7 @@ { "name": "confirm", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L378", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L378", "visibility": "Public", "summary": "Open a confirm dialog.", "description": "Open a confirm dialog.\n\n## Example\n\n```coffee\n atom.confirm\n message: 'How you feeling?'\n detailedMessage: 'Be honest.'\n buttons:\n Good: -> window.alert('good to hear')\n Bad: -> window.alert('bummer')\n```\n\noptions - An {Object} with the following keys:\n :message - The {String} message to display.\n :detailedMessage - The {String} detailed message to display.\n :buttons - Either an array of strings or an object where keys are\n button names and the values are callbacks to invoke when\n clicked.", @@ -77,7 +77,7 @@ { "name": "openDevTools", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L408", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L408", "visibility": "Public", "summary": "Open the dev tools for the current window. ", "description": "Open the dev tools for the current window. " @@ -85,7 +85,7 @@ { "name": "toggleDevTools", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L412", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L412", "visibility": "Public", "summary": "Toggle the visibility of the dev tools for the current window. ", "description": "Toggle the visibility of the dev tools for the current window. " @@ -93,7 +93,7 @@ { "name": "executeJavaScriptInDevTools", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L416", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L416", "visibility": "Public", "summary": "Execute code in dev tools. ", "description": "Execute code in dev tools. " @@ -101,7 +101,7 @@ { "name": "reload", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L420", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L420", "visibility": "Public", "summary": "Reload the current window. ", "description": "Reload the current window. " @@ -109,7 +109,7 @@ { "name": "focus", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L424", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L424", "visibility": "Public", "summary": "Focus the current window. ", "description": "Focus the current window. " @@ -117,7 +117,7 @@ { "name": "show", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L429", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L429", "visibility": "Public", "summary": "Show the current window. ", "description": "Show the current window. " @@ -125,7 +125,7 @@ { "name": "hide", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L433", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L433", "visibility": "Public", "summary": "Hide the current window. ", "description": "Hide the current window. " @@ -133,7 +133,7 @@ { "name": "setSize", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L440", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L440", "visibility": "Public", "summary": "Set the size of current window.", "description": "Set the size of current window.\n\nwidth - The {Number} of pixels.\nheight - The {Number} of pixels. " @@ -141,7 +141,7 @@ { "name": "setPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L447", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L447", "visibility": "Public", "summary": "Set the position of current window.", "description": "Set the position of current window.\n\nx - The {Number} of pixels.\ny - The {Number} of pixels. " @@ -149,7 +149,7 @@ { "name": "center", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L451", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L451", "visibility": "Public", "summary": "Move current window to the center of the screen. ", "description": "Move current window to the center of the screen. " @@ -157,7 +157,7 @@ { "name": "close", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L465", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L465", "visibility": "Public", "summary": "Close the current window. ", "description": "Close the current window. " @@ -165,7 +165,7 @@ { "name": "inDevMode", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L474", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L474", "visibility": "Public", "summary": "Is the current window in development mode? ", "description": "Is the current window in development mode? " @@ -173,7 +173,7 @@ { "name": "inSpecMode", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L478", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L478", "visibility": "Public", "summary": "Is the current window running specs? ", "description": "Is the current window running specs? " @@ -181,7 +181,7 @@ { "name": "toggleFullScreen", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L482", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L482", "visibility": "Public", "summary": "Toggle the full screen state of the current window. ", "description": "Toggle the full screen state of the current window. " @@ -189,7 +189,7 @@ { "name": "setFullScreen", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L486", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L486", "visibility": "Public", "summary": "Set the full screen state of the current window. ", "description": "Set the full screen state of the current window. " @@ -197,7 +197,7 @@ { "name": "isFullScreen", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L491", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L491", "visibility": "Public", "summary": "Is the current window in full screen mode? ", "description": "Is the current window in full screen mode? " @@ -205,7 +205,7 @@ { "name": "getVersion", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L497", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L497", "visibility": "Public", "summary": "Get the version of the Atom application.", "description": "Get the version of the Atom application.", @@ -219,7 +219,7 @@ { "name": "isReleasedVersion", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L501", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L501", "visibility": "Public", "summary": "Determine whether the current version is an official release. ", "description": "Determine whether the current version is an official release. " @@ -227,7 +227,7 @@ { "name": "getWindowLoadTime", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L524", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L524", "visibility": "Public", "summary": "Get the time taken to completely load the current window.", "description": "Get the time taken to completely load the current window.\n\nThis time include things like loading and activating packages, creating\nDOM elements for the editor, and reading the config.", @@ -241,7 +241,7 @@ { "name": "beep", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L534", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L534", "visibility": "Public", "summary": "Visually and audibly trigger a beep. ", "description": "Visually and audibly trigger a beep. " @@ -249,7 +249,7 @@ { "name": "requireWithGlobals", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/atom.coffee#L556", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L556", "visibility": "Public", "summary": "Require the module with the given globals.", "description": "Require the module with the given globals.\n\nThe globals will be set on the `window` object and removed after the\nrequire completes.\n\nid - The {String} module name or path.\nglobals - An {Object} to set as globals during require (default: {}) " @@ -262,14 +262,14 @@ "BufferedNodeProcess": { "name": "BufferedNodeProcess", "filename": "src/buffered-node-process.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/buffered-node-process.coffee#L15", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/buffered-node-process.coffee#L15", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "constructor", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/buffered-node-process.coffee#L37", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/buffered-node-process.coffee#L37", "visibility": "Public", "summary": "Runs the given Node script by spawning a new child process.", "description": "Runs the given Node script by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} path to the JavaScript script to execute.\n :args - The {Array} of arguments to pass to the script (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " @@ -282,14 +282,14 @@ "BufferedProcess": { "name": "BufferedProcess", "filename": "src/buffered-process.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/buffered-process.coffee#L19", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/buffered-process.coffee#L19", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "constructor", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/buffered-process.coffee#L41", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/buffered-process.coffee#L41", "visibility": "Public", "summary": "Runs the given command by spawning a new child process.", "description": "Runs the given command by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} command to execute.\n :args - The {Array} of arguments to pass to the command (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " @@ -297,7 +297,7 @@ { "name": "kill", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/buffered-process.coffee#L118", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/buffered-process.coffee#L118", "visibility": "Public", "summary": "Terminate the process. ", "description": "Terminate the process. " @@ -310,14 +310,14 @@ "Clipboard": { "name": "Clipboard", "filename": "src/clipboard.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/clipboard.coffee#L8", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/clipboard.coffee#L8", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "write", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/clipboard.coffee#L27", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/clipboard.coffee#L27", "visibility": "Public", "summary": "Write the given text to the clipboard.", "description": "Write the given text to the clipboard.\n\nThe metadata associated with the text is available by calling\n{::readWithMetadata}.\n\ntext - The {String} to store.\nmetadata - The additional info to associate with the text. " @@ -325,7 +325,7 @@ { "name": "read", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/clipboard.coffee#L35", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/clipboard.coffee#L35", "visibility": "Public", "summary": "Read the text from the clipboard.", "description": "Read the text from the clipboard.", @@ -339,7 +339,7 @@ { "name": "readWithMetadata", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/clipboard.coffee#L44", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/clipboard.coffee#L44", "visibility": "Public", "summary": "Read the text from the clipboard and return both the text and the\nassociated metadata.", "description": "Read the text from the clipboard and return both the text and the\nassociated metadata.", @@ -358,14 +358,14 @@ "Config": { "name": "Config", "filename": "src/config.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L26", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L26", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "getUserConfigPath", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L92", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L92", "visibility": "Public", "summary": "Get the {String} path to the config file being used. ", "description": "Get the {String} path to the config file being used. " @@ -373,7 +373,7 @@ { "name": "getSettings", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L96", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L96", "visibility": "Public", "summary": "Returns a new {Object} containing all of settings and defaults. ", "description": "Returns a new {Object} containing all of settings and defaults. " @@ -381,7 +381,7 @@ { "name": "get", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L105", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L105", "visibility": "Public", "summary": "Retrieves the setting for the given key.", "description": "Retrieves the setting for the given key.\n\nkeyPath - The {String} name of the key to retrieve.", @@ -395,7 +395,7 @@ { "name": "getInt", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L115", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L115", "visibility": "Public", "summary": "Retrieves the setting for the given key as an integer.", "description": "Retrieves the setting for the given key as an integer.\n\nkeyPath - The {String} name of the key to retrieve", @@ -409,7 +409,7 @@ { "name": "getPositiveInt", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L126", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L126", "visibility": "Public", "summary": "Retrieves the setting for the given key as a positive integer.", "description": "Retrieves the setting for the given key as a positive integer.\n\nkeyPath - The {String} name of the key to retrieve\ndefaultValue - The integer {Number} to fall back to if the value isn't\n positive, defaults to 0.", @@ -423,7 +423,7 @@ { "name": "set", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L137", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L137", "visibility": "Public", "summary": "Sets the value for a configuration setting.", "description": "Sets the value for a configuration setting.\n\nThis value is stored in Atom's internal configuration file.\n\nkeyPath - The {String} name of the key.\nvalue - The value of the setting.", @@ -437,7 +437,7 @@ { "name": "toggle", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L153", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L153", "visibility": "Public", "summary": "Toggle the value at the key path.", "description": "Toggle the value at the key path.\n\nThe new value will be `true` if the value is currently falsy and will be\n`false` if the value is currently truthy.\n\nkeyPath - The {String} name of the key.", @@ -451,7 +451,7 @@ { "name": "restoreDefault", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L161", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L161", "visibility": "Public", "summary": "Restore the key path to its default value.", "description": "Restore the key path to its default value.\n\nkeyPath - The {String} name of the key.", @@ -465,7 +465,7 @@ { "name": "getDefault", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L169", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L169", "visibility": "Public", "summary": "Get the default value of the key path.", "description": "Get the default value of the key path.\n\nkeyPath - The {String} name of the key.", @@ -479,7 +479,7 @@ { "name": "isDefault", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L179", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L179", "visibility": "Public", "summary": "Is the key path value its default value?", "description": "Is the key path value its default value?\n\nkeyPath - The {String} name of the key.", @@ -493,7 +493,7 @@ { "name": "pushAtKeyPath", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L188", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L188", "visibility": "Public", "summary": "Push the value to the array at the key path.", "description": "Push the value to the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to push to the array.", @@ -507,7 +507,7 @@ { "name": "unshiftAtKeyPath", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L200", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L200", "visibility": "Public", "summary": "Add the value to the beginning of the array at the key path.", "description": "Add the value to the beginning of the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to shift onto the array.", @@ -521,7 +521,7 @@ { "name": "removeAtKeyPath", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L212", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L212", "visibility": "Public", "summary": "Remove the value from the array at the key path.", "description": "Remove the value from the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to remove from the array.", @@ -535,7 +535,7 @@ { "name": "observe", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L232", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L232", "visibility": "Public", "summary": "Establishes an event listener for a given key.", "description": "Establishes an event listener for a given key.\n\n`callback` is fired whenever the value of the key is changed and will\n be fired immediately unless the `callNow` option is `false`.\n\nkeyPath - The {String} name of the key to observe\noptions - An optional {Object} containing the `callNow` key.\ncallback - The {Function} to call when the value of the key changes.\n The first argument will be the new value of the key and the\n second argument will be an {Object} with a `previous` property\n that is the prior value of the key.", @@ -549,7 +549,7 @@ { "name": "unobserve", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/config.coffee#L254", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L254", "visibility": "Public", "summary": "Unobserve all callbacks on a given key.", "description": "Unobserve all callbacks on a given key.\n\nkeyPath - The {String} name of the key to unobserve. " @@ -562,14 +562,14 @@ "ContextMenuManager": { "name": "ContextMenuManager", "filename": "src/context-menu-manager.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/context-menu-manager.coffee#L11", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/context-menu-manager.coffee#L11", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "add", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/context-menu-manager.coffee#L34", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/context-menu-manager.coffee#L34", "visibility": "Public", "summary": "Creates menu definitions from the object specified by the menu\ncson API.", "description": "Creates menu definitions from the object specified by the menu\ncson API.\n\nname - The path of the file that contains the menu definitions.\nobject - The 'context-menu' object specified in the menu cson API.\noptions - An {Object} with the following keys:\n :devMode - Determines whether the entries should only be shown when\n the window is in dev mode.", @@ -583,7 +583,7 @@ { "name": "showForEvent", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/context-menu-manager.coffee#L112", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/context-menu-manager.coffee#L112", "visibility": "Public", "summary": "Request a context menu to be displayed. ", "description": "Request a context menu to be displayed. " @@ -596,14 +596,14 @@ "Cursor": { "name": "Cursor", "filename": "src/cursor.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L11", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L11", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "setScreenPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L71", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L71", "visibility": "Public", "summary": "Moves a cursor to a given screen position.", "description": "Moves a cursor to a given screen position.\n\nscreenPosition - An {Array} of two numbers: the screen row, and the screen\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " @@ -611,7 +611,7 @@ { "name": "getScreenPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L76", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L76", "visibility": "Public", "summary": "Returns the screen position of the cursor as an Array. ", "description": "Returns the screen position of the cursor as an Array. " @@ -619,7 +619,7 @@ { "name": "setBufferPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L90", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L90", "visibility": "Public", "summary": "Moves a cursor to a given buffer position.", "description": "Moves a cursor to a given buffer position.\n\nbufferPosition - An {Array} of two numbers: the buffer row, and the buffer\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " @@ -627,7 +627,7 @@ { "name": "getBufferPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L95", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L95", "visibility": "Public", "summary": "Returns the current buffer position as an Array. ", "description": "Returns the current buffer position as an Array. " @@ -635,7 +635,7 @@ { "name": "updateVisibility", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L102", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L102", "visibility": "Public", "summary": "If the marker range is empty, the cursor is marked as being visible. ", "description": "If the marker range is empty, the cursor is marked as being visible. " @@ -643,7 +643,7 @@ { "name": "setVisible", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L106", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L106", "visibility": "Public", "summary": "Sets whether the cursor is visible. ", "description": "Sets whether the cursor is visible. " @@ -651,7 +651,7 @@ { "name": "isVisible", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L113", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L113", "visibility": "Public", "summary": "Returns the visibility of the cursor. ", "description": "Returns the visibility of the cursor. " @@ -659,7 +659,7 @@ { "name": "wordRegExp", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L123", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L123", "visibility": "Public", "summary": "Get the RegExp used by the cursor to determine what a \"word\" is.", "description": "Get the RegExp used by the cursor to determine what a \"word\" is.\n\noptions: An optional {Object} with the following keys:\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the regex.\n (default: true)", @@ -673,7 +673,7 @@ { "name": "isLastCursor", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L137", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L137", "visibility": "Public", "summary": "Identifies if this cursor is the last in the {Editor}.", "description": "Identifies if this cursor is the last in the {Editor}.\n\n\"Last\" is defined as the most recently added cursor.", @@ -687,7 +687,7 @@ { "name": "isSurroundedByWhitespace", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L146", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L146", "visibility": "Public", "summary": "Identifies if the cursor is surrounded by whitespace.", "description": "Identifies if the cursor is surrounded by whitespace.\n\n\"Surrounded\" here means that the character directly before and after the\ncursor are both whitespace.", @@ -701,7 +701,7 @@ { "name": "isBetweenWordAndNonWord", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L159", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L159", "visibility": "Public", "summary": "Returns whether the cursor is currently between a word and non-word\ncharacter. The non-word characters are defined by the\n`editor.nonWordCharacters` config value.", "description": "Returns whether the cursor is currently between a word and non-word\ncharacter. The non-word characters are defined by the\n`editor.nonWordCharacters` config value.\n\nThis method returns false if the character before or after the cursor is\nwhitespace.", @@ -715,7 +715,7 @@ { "name": "isInsideWord", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L171", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L171", "visibility": "Public", "summary": "Returns whether this cursor is between a word's start and end. ", "description": "Returns whether this cursor is between a word's start and end. " @@ -723,7 +723,7 @@ { "name": "clearAutoscroll", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L177", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L177", "visibility": "Public", "summary": "Prevents this cursor from causing scrolling. ", "description": "Prevents this cursor from causing scrolling. " @@ -731,7 +731,7 @@ { "name": "clearSelection", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L181", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L181", "visibility": "Public", "summary": "Deselects the current selection. ", "description": "Deselects the current selection. " @@ -739,7 +739,7 @@ { "name": "getScreenRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L185", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L185", "visibility": "Public", "summary": "Returns the cursor's current screen row. ", "description": "Returns the cursor's current screen row. " @@ -747,7 +747,7 @@ { "name": "getScreenColumn", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L189", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L189", "visibility": "Public", "summary": "Returns the cursor's current screen column. ", "description": "Returns the cursor's current screen column. " @@ -755,7 +755,7 @@ { "name": "getBufferRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L193", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L193", "visibility": "Public", "summary": "Retrieves the cursor's current buffer row. ", "description": "Retrieves the cursor's current buffer row. " @@ -763,7 +763,7 @@ { "name": "getBufferColumn", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L197", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L197", "visibility": "Public", "summary": "Returns the cursor's current buffer column. ", "description": "Returns the cursor's current buffer column. " @@ -771,7 +771,7 @@ { "name": "getCurrentBufferLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L202", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L202", "visibility": "Public", "summary": "Returns the cursor's current buffer row of text excluding its line\nending. ", "description": "Returns the cursor's current buffer row of text excluding its line\nending. " @@ -779,7 +779,7 @@ { "name": "moveUp", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L206", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L206", "visibility": "Public", "summary": "Moves the cursor up one screen row. ", "description": "Moves the cursor up one screen row. " @@ -787,7 +787,7 @@ { "name": "moveDown", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L218", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L218", "visibility": "Public", "summary": "Moves the cursor down one screen row. ", "description": "Moves the cursor down one screen row. " @@ -795,7 +795,7 @@ { "name": "moveLeft", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L234", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L234", "visibility": "Public", "summary": "Moves the cursor left one screen column.", "description": "Moves the cursor left one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the left of the selection if a\n selection exists. " @@ -803,7 +803,7 @@ { "name": "moveRight", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L248", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L248", "visibility": "Public", "summary": "Moves the cursor right one screen column.", "description": "Moves the cursor right one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the right of the selection if a\n selection exists. " @@ -811,7 +811,7 @@ { "name": "moveToTop", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L257", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L257", "visibility": "Public", "summary": "Moves the cursor to the top of the buffer. ", "description": "Moves the cursor to the top of the buffer. " @@ -819,7 +819,7 @@ { "name": "moveToBottom", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L261", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L261", "visibility": "Public", "summary": "Moves the cursor to the bottom of the buffer. ", "description": "Moves the cursor to the bottom of the buffer. " @@ -827,7 +827,7 @@ { "name": "moveToBeginningOfScreenLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L265", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L265", "visibility": "Public", "summary": "Moves the cursor to the beginning of the line. ", "description": "Moves the cursor to the beginning of the line. " @@ -835,7 +835,7 @@ { "name": "moveToBeginningOfLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L269", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L269", "visibility": "Public", "summary": "Moves the cursor to the beginning of the buffer line. ", "description": "Moves the cursor to the beginning of the buffer line. " @@ -843,7 +843,7 @@ { "name": "moveToFirstCharacterOfLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L274", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L274", "visibility": "Public", "summary": "Moves the cursor to the beginning of the first character in the\nline. ", "description": "Moves the cursor to the beginning of the first character in the\nline. " @@ -851,7 +851,7 @@ { "name": "skipLeadingWhitespace", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L284", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L284", "visibility": "Public", "summary": "Moves the cursor to the beginning of the buffer line, skipping all\nwhitespace. ", "description": "Moves the cursor to the beginning of the buffer line, skipping all\nwhitespace. " @@ -859,7 +859,7 @@ { "name": "moveToEndOfScreenLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L294", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L294", "visibility": "Public", "summary": "Moves the cursor to the end of the line. ", "description": "Moves the cursor to the end of the line. " @@ -867,7 +867,7 @@ { "name": "moveToEndOfLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L298", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L298", "visibility": "Public", "summary": "Moves the cursor to the end of the buffer line. ", "description": "Moves the cursor to the end of the buffer line. " @@ -875,7 +875,7 @@ { "name": "moveToBeginningOfWord", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L302", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L302", "visibility": "Public", "summary": "Moves the cursor to the beginning of the word. ", "description": "Moves the cursor to the beginning of the word. " @@ -883,7 +883,7 @@ { "name": "moveToEndOfWord", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L306", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L306", "visibility": "Public", "summary": "Moves the cursor to the end of the word. ", "description": "Moves the cursor to the end of the word. " @@ -891,7 +891,7 @@ { "name": "moveToBeginningOfNextWord", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L311", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L311", "visibility": "Public", "summary": "Moves the cursor to the beginning of the next word. ", "description": "Moves the cursor to the beginning of the next word. " @@ -899,7 +899,7 @@ { "name": "moveToPreviousWordBoundary", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L316", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L316", "visibility": "Public", "summary": "Moves the cursor to the previous word boundary. ", "description": "Moves the cursor to the previous word boundary. " @@ -907,7 +907,7 @@ { "name": "moveToNextWordBoundary", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L321", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L321", "visibility": "Public", "summary": "Moves the cursor to the next word boundary. ", "description": "Moves the cursor to the next word boundary. " @@ -915,7 +915,7 @@ { "name": "getBeginningOfCurrentWordBufferPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L337", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L337", "visibility": "Public", "summary": "Retrieves the buffer position of where the current word starts.", "description": "Retrieves the buffer position of where the current word starts.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n :allowPrevious - A {Boolean} indicating whether the beginning of the\n previous word can be returned.", @@ -929,7 +929,7 @@ { "name": "getPreviousWordBoundaryBufferPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L359", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L359", "visibility": "Public", "summary": "Retrieves buffer position of previous word boundary. It might be on\nthe current word, or the previous word. ", "description": "Retrieves buffer position of previous word boundary. It might be on\nthe current word, or the previous word. " @@ -937,7 +937,7 @@ { "name": "getMoveNextWordBoundaryBufferPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L381", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L381", "visibility": "Public", "summary": "Retrieves buffer position of the next word boundary. It might be on\nthe current word, or the previous word. ", "description": "Retrieves buffer position of the next word boundary. It might be on\nthe current word, or the previous word. " @@ -945,7 +945,7 @@ { "name": "getEndOfCurrentWordBufferPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L410", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L410", "visibility": "Public", "summary": "Retrieves the buffer position of where the current word ends.", "description": "Retrieves the buffer position of where the current word ends.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp})\n :includeNonWordCharacters - A Boolean indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.", @@ -959,7 +959,7 @@ { "name": "getBeginningOfNextWordBufferPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L431", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L431", "visibility": "Public", "summary": "Retrieves the buffer position of where the next word starts.", "description": "Retrieves the buffer position of where the next word starts.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).", @@ -973,7 +973,7 @@ { "name": "getCurrentWordBufferRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L448", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L448", "visibility": "Public", "summary": "Returns the buffer Range occupied by the word located under the cursor.", "description": "Returns the buffer Range occupied by the word located under the cursor.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}). " @@ -981,7 +981,7 @@ { "name": "getCurrentLineBufferRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L458", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L458", "visibility": "Public", "summary": "Returns the buffer Range for the current line.", "description": "Returns the buffer Range for the current line.\n\noptions -\n :includeNewline: - A {Boolean} which controls whether the Range should\n include the newline. " @@ -989,7 +989,7 @@ { "name": "moveToBeginningOfNextParagraph", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L462", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L462", "visibility": "Public", "summary": "Moves the cursor to the beginning of the next paragraph ", "description": "Moves the cursor to the beginning of the next paragraph " @@ -997,7 +997,7 @@ { "name": "moveToBeginningOfPreviousParagraph", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L467", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L467", "visibility": "Public", "summary": "Moves the cursor to the beginning of the previous paragraph ", "description": "Moves the cursor to the beginning of the previous paragraph " @@ -1005,7 +1005,7 @@ { "name": "getCurrentParagraphBufferRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L503", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L503", "visibility": "Public", "summary": "Retrieves the range for the current paragraph.", "description": "Retrieves the range for the current paragraph.\n\nA paragraph is defined as a block of text surrounded by empty lines.", @@ -1019,7 +1019,7 @@ { "name": "getCurrentWordPrefix", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L507", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L507", "visibility": "Public", "summary": "Returns the characters preceding the cursor in the current word. ", "description": "Returns the characters preceding the cursor in the current word. " @@ -1027,7 +1027,7 @@ { "name": "isAtBeginningOfLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L511", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L511", "visibility": "Public", "summary": "Returns whether the cursor is at the start of a line. ", "description": "Returns whether the cursor is at the start of a line. " @@ -1035,7 +1035,7 @@ { "name": "getIndentLevel", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L515", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L515", "visibility": "Public", "summary": "Returns the indentation level of the current line. ", "description": "Returns the indentation level of the current line. " @@ -1043,7 +1043,7 @@ { "name": "isAtEndOfLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L522", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L522", "visibility": "Public", "summary": "Returns whether the cursor is on the line return character. ", "description": "Returns whether the cursor is on the line return character. " @@ -1051,7 +1051,7 @@ { "name": "getScopes", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L528", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L528", "visibility": "Public", "summary": "Retrieves the grammar's token scopes for the line.", "description": "Retrieves the grammar's token scopes for the line.", @@ -1065,7 +1065,7 @@ { "name": "hasPrecedingCharactersOnLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/cursor.coffee#L533", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L533", "visibility": "Public", "summary": "Returns true if this cursor has no non-whitespace characters before\nits current position. ", "description": "Returns true if this cursor has no non-whitespace characters before\nits current position. " @@ -1078,14 +1078,14 @@ "Decoration": { "name": "Decoration", "filename": "src/decoration.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/decoration.coffee#L41", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/decoration.coffee#L41", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "destroy", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/decoration.coffee#L60", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/decoration.coffee#L60", "visibility": "Public", "summary": "Destroy this marker.", "description": "Destroy this marker.\n\nIf you own the marker, you should use {Marker::destroy} which will destroy\nthis decoration. " @@ -1093,7 +1093,7 @@ { "name": "update", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/decoration.coffee#L71", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/decoration.coffee#L71", "visibility": "Public", "summary": "Update the marker with new params. Allows you to change the decoration's class.", "description": "Update the marker with new params. Allows you to change the decoration's class.\n\n```\ndecoration.update({type: 'gutter', class: 'my-new-class'})\n```" @@ -1101,7 +1101,7 @@ { "name": "getMarker", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/decoration.coffee#L80", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/decoration.coffee#L80", "visibility": "Public", "summary": "Returns the marker associated with this {Decoration} ", "description": "Returns the marker associated with this {Decoration} " @@ -1109,7 +1109,7 @@ { "name": "getParams", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/decoration.coffee#L83", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/decoration.coffee#L83", "visibility": "Public", "summary": "Returns the {Decoration}'s params. ", "description": "Returns the {Decoration}'s params. " @@ -1122,14 +1122,14 @@ "DeserializerManager": { "name": "DeserializerManager", "filename": "src/deserializer-manager.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/deserializer-manager.coffee#L21", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/deserializer-manager.coffee#L21", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "add", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/deserializer-manager.coffee#L28", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/deserializer-manager.coffee#L28", "visibility": "Public", "summary": "Register the given class(es) as deserializers.", "description": "Register the given class(es) as deserializers.\n\nclasses - One or more classes to register. " @@ -1137,7 +1137,7 @@ { "name": "remove", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/deserializer-manager.coffee#L34", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/deserializer-manager.coffee#L34", "visibility": "Public", "summary": "Remove the given class(es) as deserializers.", "description": "Remove the given class(es) as deserializers.\n\nclasses - One or more classes to remove. " @@ -1145,7 +1145,7 @@ { "name": "deserialize", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/deserializer-manager.coffee#L42", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/deserializer-manager.coffee#L42", "visibility": "Public", "summary": "Deserialize the state and params.", "description": "Deserialize the state and params.\n\nstate - The state {Object} to deserialize.\nparams - The params {Object} to pass as the second arguments to the\n deserialize method of the deserializer. " @@ -1158,14 +1158,14 @@ "EditorView": { "name": "EditorView", "filename": "src/editor-view.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L42", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L42", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "getEditor", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L252", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L252", "visibility": "Public", "summary": "Get the underlying editor model for this view.", "description": "Get the underlying editor model for this view.", @@ -1179,7 +1179,7 @@ { "name": "pageDown", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L278", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L278", "visibility": "Public", "summary": "Emulates the \"page down\" key, where the last row of a buffer scrolls\nto become the first. ", "description": "Emulates the \"page down\" key, where the last row of a buffer scrolls\nto become the first. " @@ -1187,7 +1187,7 @@ { "name": "pageUp", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L285", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L285", "visibility": "Public", "summary": "Emulates the \"page up\" key, where the frst row of a buffer scrolls\nto become the last. ", "description": "Emulates the \"page up\" key, where the frst row of a buffer scrolls\nto become the last. " @@ -1195,7 +1195,7 @@ { "name": "setShowInvisibles", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L299", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L299", "visibility": "Public", "summary": "Set whether invisible characters are shown.", "description": "Set whether invisible characters are shown.\n\nshowInvisibles - A {Boolean} which, if `true`, show invisible characters. " @@ -1203,7 +1203,7 @@ { "name": "setInvisibles", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L311", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L311", "visibility": "Public", "summary": "Defines which characters are invisible.", "description": "Defines which characters are invisible.\n\ninvisibles - An {Object} defining the invisible characters:\n :eol - The end of line invisible {String} (default: `\\u00ac`).\n :space - The space invisible {String} (default: `\\u00b7`).\n :tab - The tab invisible {String} (default: `\\u00bb`).\n :cr - The carriage return invisible {String} (default: `\\u00a4`). " @@ -1211,7 +1211,7 @@ { "name": "setShowIndentGuide", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L323", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L323", "visibility": "Public", "summary": "Sets whether you want to show the indentation guides.", "description": "Sets whether you want to show the indentation guides.\n\nshowIndentGuide - A {Boolean} you can set to `true` if you want to see the\n indentation guides. " @@ -1219,7 +1219,7 @@ { "name": "setPlaceholderText", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L333", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L333", "visibility": "Public", "summary": "Set the text to appear in the editor when it is empty.", "description": "Set the text to appear in the editor when it is empty.\n\nThis only affects mini editors.\n\nplaceholderText - A {String} of text to display when empty. " @@ -1227,7 +1227,7 @@ { "name": "scrollToBottom", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L640", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L640", "visibility": "Public", "summary": "Scrolls the editor to the bottom. ", "description": "Scrolls the editor to the bottom. " @@ -1235,7 +1235,7 @@ { "name": "scrollToCursorPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L647", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L647", "visibility": "Public", "summary": "Scrolls the editor to the position of the most recently added\ncursor if it isn't current on screen.", "description": "Scrolls the editor to the position of the most recently added\ncursor if it isn't current on screen.\n\nThe editor is centered around the cursor's position if possible. " @@ -1243,7 +1243,7 @@ { "name": "scrollToBufferPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L655", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L655", "visibility": "Public", "summary": "Scrolls the editor to the given buffer position.", "description": "Scrolls the editor to the given buffer position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " @@ -1251,7 +1251,7 @@ { "name": "scrollToScreenPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L663", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L663", "visibility": "Public", "summary": "Scrolls the editor to the given screen position.", "description": "Scrolls the editor to the given screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " @@ -1259,7 +1259,7 @@ { "name": "scrollToPixelPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L674", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L674", "visibility": "Public", "summary": "Scrolls the editor to the given pixel position.", "description": "Scrolls the editor to the given pixel position.\n\npixelPosition - An object that represents a pixel position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or\n {Point}.\noptions - A hash with the following keys:\n :center - if `true`, the position is scrolled such that it's in\n the center of the editor " @@ -1267,7 +1267,7 @@ { "name": "highlightFoldsContainingBufferRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L685", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L685", "visibility": "Public", "summary": "Highlight all the folds within the given buffer range.", "description": "Highlight all the folds within the given buffer range.\n\n\"Highlighting\" essentially just adds the `fold-selected` class to the line's\nDOM element.\n\nbufferRange - The {Range} to check. " @@ -1275,7 +1275,7 @@ { "name": "toggleSoftTabs", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L703", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L703", "visibility": "Public", "summary": "Toggle soft tabs on the edit session. ", "description": "Toggle soft tabs on the edit session. " @@ -1283,7 +1283,7 @@ { "name": "toggleSoftWrap", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L707", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L707", "visibility": "Public", "summary": "Toggle soft wrap on the edit session. ", "description": "Toggle soft wrap on the edit session. " @@ -1291,7 +1291,7 @@ { "name": "setSoftWrap", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L724", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L724", "visibility": "Public", "summary": "Enables/disables soft wrap on the editor.", "description": "Enables/disables soft wrap on the editor.\n\nsoftWrap - A {Boolean} which, if `true`, enables soft wrap " @@ -1299,7 +1299,7 @@ { "name": "setFontSize", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L734", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L734", "visibility": "Public", "summary": "Sets the font size for the editor.", "description": "Sets the font size for the editor.\n\nfontSize - A {Number} indicating the font size in pixels. " @@ -1307,7 +1307,7 @@ { "name": "getFontSize", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L747", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L747", "visibility": "Public", "summary": "Retrieves the font size for the editor.", "description": "Retrieves the font size for the editor.", @@ -1321,7 +1321,7 @@ { "name": "setFontFamily", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L753", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L753", "visibility": "Public", "summary": "Sets the font family for the editor.", "description": "Sets the font family for the editor.\n\nfontFamily - A {String} identifying the CSS `font-family`. " @@ -1329,7 +1329,7 @@ { "name": "getFontFamily", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L763", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L763", "visibility": "Public", "summary": "Gets the font family for the editor.", "description": "Gets the font family for the editor.", @@ -1343,7 +1343,7 @@ { "name": "setLineHeight", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L771", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L771", "visibility": "Public", "summary": "Sets the line height of the editor.", "description": "Sets the line height of the editor.\n\nCalling this method has no effect when called on a mini editor.\n\nlineHeight - A {Number} without a unit suffix identifying the CSS\n`line-height`. " @@ -1351,7 +1351,7 @@ { "name": "redraw", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L777", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L777", "visibility": "Public", "summary": "Redraw the editor ", "description": "Redraw the editor " @@ -1359,7 +1359,7 @@ { "name": "splitLeft", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L787", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L787", "visibility": "Public", "summary": "Split the editor view left. ", "description": "Split the editor view left. " @@ -1367,7 +1367,7 @@ { "name": "splitRight", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L792", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L792", "visibility": "Public", "summary": "Split the editor view right. ", "description": "Split the editor view right. " @@ -1375,7 +1375,7 @@ { "name": "splitUp", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L797", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L797", "visibility": "Public", "summary": "Split the editor view up. ", "description": "Split the editor view up. " @@ -1383,7 +1383,7 @@ { "name": "splitDown", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L802", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L802", "visibility": "Public", "summary": "Split the editor view down. ", "description": "Split the editor view down. " @@ -1391,7 +1391,7 @@ { "name": "getPane", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L809", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L809", "visibility": "Public", "summary": "Get this view's pane.", "description": "Get this view's pane.", @@ -1405,7 +1405,7 @@ { "name": "getFirstVisibleScreenRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L1215", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L1215", "visibility": "Public", "summary": "Retrieves the number of the row that is visible and currently at the\ntop of the editor.", "description": "Retrieves the number of the row that is visible and currently at the\ntop of the editor.", @@ -1419,7 +1419,7 @@ { "name": "getLastVisibleScreenRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L1224", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L1224", "visibility": "Public", "summary": "Retrieves the number of the row that is visible and currently at the\nbottom of the editor.", "description": "Retrieves the number of the row that is visible and currently at the\nbottom of the editor.", @@ -1433,7 +1433,7 @@ { "name": "isScreenRowVisible", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L1235", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L1235", "visibility": "Public", "summary": "Given a row number, identifies if it is currently visible.", "description": "Given a row number, identifies if it is currently visible.\n\nrow - A row {Number} to check", @@ -1447,7 +1447,7 @@ { "name": "pixelPositionForBufferPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L1326", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L1326", "visibility": "Public", "summary": "Converts a buffer position to a pixel position.", "description": "Converts a buffer position to a pixel position.\n\nposition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}", @@ -1461,7 +1461,7 @@ { "name": "pixelPositionForScreenPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor-view.coffee#L1335", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L1335", "visibility": "Public", "summary": "Converts a screen position to a pixel position.", "description": "Converts a screen position to a pixel position.\n\nposition - An object that represents a screen position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}", @@ -1480,14 +1480,14 @@ "Editor": { "name": "Editor", "filename": "src/editor.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L139", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L139", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "getTitle", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L259", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L259", "visibility": "Public", "summary": "Get the title the editor's title for display in other parts of the\nUI such as the tabs.", "description": "Get the title the editor's title for display in other parts of the\nUI such as the tabs.\n\nIf the editor's buffer is saved, its title is the file name. If it is\nunsaved, its title is \"untitled\".", @@ -1501,7 +1501,7 @@ { "name": "getLongTitle", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L272", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L272", "visibility": "Public", "summary": "Get the editor's long title for display in other parts of the UI\nsuch as the window title.", "description": "Get the editor's long title for display in other parts of the UI\nsuch as the window title.\n\nIf the editor's buffer is saved, its long title is formatted as\n\" - \". If it is unsaved, its title is \"untitled\"", @@ -1515,7 +1515,7 @@ { "name": "getSoftWrapColumn", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L293", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L293", "visibility": "Public", "summary": "Sets the column at which column will soft wrap ", "description": "Sets the column at which column will soft wrap " @@ -1523,7 +1523,7 @@ { "name": "getSoftTabs", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L297", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L297", "visibility": "Public", "summary": "Returns a {Boolean} indicating whether softTabs are enabled for this\neditor. ", "description": "Returns a {Boolean} indicating whether softTabs are enabled for this\neditor. " @@ -1531,7 +1531,7 @@ { "name": "setSoftTabs", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L302", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L302", "visibility": "Public", "summary": "Enable or disable soft tabs for this editor.", "description": "Enable or disable soft tabs for this editor.\n\nsoftTabs - A {Boolean} " @@ -1539,7 +1539,7 @@ { "name": "toggleSoftTabs", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L305", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L305", "visibility": "Public", "summary": "Toggle soft tabs for this editor ", "description": "Toggle soft tabs for this editor " @@ -1547,7 +1547,7 @@ { "name": "getSoftWrap", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L308", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L308", "visibility": "Public", "summary": "Get whether soft wrap is enabled for this editor. ", "description": "Get whether soft wrap is enabled for this editor. " @@ -1555,7 +1555,7 @@ { "name": "setSoftWrap", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L313", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L313", "visibility": "Public", "summary": "Enable or disable soft wrap for this editor.", "description": "Enable or disable soft wrap for this editor.\n\nsoftWrap - A {Boolean} " @@ -1563,7 +1563,7 @@ { "name": "toggleSoftWrap", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L316", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L316", "visibility": "Public", "summary": "Toggle soft wrap for this editor ", "description": "Toggle soft wrap for this editor " @@ -1571,7 +1571,7 @@ { "name": "getTabText", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L324", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L324", "visibility": "Public", "summary": "Get the text representing a single level of indent.", "description": "Get the text representing a single level of indent.\n\nIf soft tabs are enabled, the text is composed of N spaces, where N is the\ntab length. Otherwise the text is a tab character (`\\t`).", @@ -1585,7 +1585,7 @@ { "name": "getTabLength", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L329", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L329", "visibility": "Public", "summary": "Get the on-screen length of tab characters.", "description": "Get the on-screen length of tab characters.", @@ -1599,7 +1599,7 @@ { "name": "setTabLength", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L332", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L332", "visibility": "Public", "summary": "Set the on-screen length of tab characters. ", "description": "Set the on-screen length of tab characters. " @@ -1607,7 +1607,7 @@ { "name": "usesSoftTabs", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L340", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L340", "visibility": "Public", "summary": "Determine if the buffer uses hard or soft tabs.", "description": "Determine if the buffer uses hard or soft tabs.", @@ -1629,7 +1629,7 @@ { "name": "clipBufferPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L362", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L362", "visibility": "Public", "summary": "Clip the given {Point} to a valid position in the buffer.", "description": "Clip the given {Point} to a valid position in the buffer.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the buffer, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n\n* `[-1, -1]` is converted to `[0, 0]`.\n* If the line at row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.", @@ -1643,7 +1643,7 @@ { "name": "clipBufferRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L370", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L370", "visibility": "Public", "summary": "Clip the start and end of the given range to valid positions in the\nbuffer. See {::clipBufferPosition} for more information.", "description": "Clip the start and end of the given range to valid positions in the\nbuffer. See {::clipBufferPosition} for more information.\n\nrange - The {Range} to clip.", @@ -1657,7 +1657,7 @@ { "name": "indentationForBufferRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L382", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L382", "visibility": "Public", "summary": "Get the indentation level of the given a buffer row.", "description": "Get the indentation level of the given a buffer row.", @@ -1675,7 +1675,7 @@ { "name": "setIndentationForBufferRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L397", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L397", "visibility": "Public", "summary": "Set the indentation level for the given buffer row.", "description": "Set the indentation level for the given buffer row.\n\nInserts or removes hard tabs or spaces based on the soft tabs and tab length\nsettings of this editor in order to bring it to the given indentation level.\nNote that if soft tabs are enabled and the tab length is 2, a row with 4\nleading spaces would have an indentation level of 2.\n\nbufferRow - A {Number} indicating the buffer row.\nnewLevel - A {Number} indicating the new indentation level.\noptions - An {Object} with the following keys:\n :preserveLeadingWhitespace - true to preserve any whitespace already at\n the beginning of the line (default: false). " @@ -1683,7 +1683,7 @@ { "name": "indentLevelForLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L415", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L415", "visibility": "Public", "summary": "Get the indentation level of the given line of text.", "description": "Get the indentation level of the given line of text.", @@ -1701,7 +1701,7 @@ { "name": "save", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L429", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L429", "visibility": "Public", "summary": "Saves the editor's text buffer.", "description": "Saves the editor's text buffer.\n\nSee {TextBuffer::save} for more details. " @@ -1709,7 +1709,7 @@ { "name": "saveAs", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L436", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L436", "visibility": "Public", "summary": "Saves the editor's text buffer as the given path.", "description": "Saves the editor's text buffer as the given path.\n\nSee {TextBuffer::saveAs} for more details.\n\nfilePath - A {String} path. " @@ -1717,7 +1717,7 @@ { "name": "getPath", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L448", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L448", "visibility": "Public", "summary": "Returns the {String} path of this editor's text buffer. ", "description": "Returns the {String} path of this editor's text buffer. " @@ -1725,7 +1725,7 @@ { "name": "getText", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L451", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L451", "visibility": "Public", "summary": "Returns a {String} representing the entire contents of the editor. ", "description": "Returns a {String} representing the entire contents of the editor. " @@ -1733,7 +1733,7 @@ { "name": "setText", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L454", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L454", "visibility": "Public", "summary": "Replaces the entire contents of the buffer with the given {String}. ", "description": "Replaces the entire contents of the buffer with the given {String}. " @@ -1741,7 +1741,7 @@ { "name": "getLineCount", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L462", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L462", "visibility": "Public", "summary": "Returns a {Number} representing the number of lines in the editor. ", "description": "Returns a {Number} representing the number of lines in the editor. " @@ -1749,7 +1749,7 @@ { "name": "getUri", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L468", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L468", "visibility": "Public", "summary": "Retrieves the current buffer's URI. ", "description": "Retrieves the current buffer's URI. " @@ -1757,7 +1757,7 @@ { "name": "isBufferRowCommented", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L474", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L474", "visibility": "Public", "summary": "Determine if the given row is entirely a comment ", "description": "Determine if the given row is entirely a comment " @@ -1765,7 +1765,7 @@ { "name": "getLastBufferRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L487", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L487", "visibility": "Public", "summary": "Returns a {Number} representing the last zero-indexed buffer row\nnumber of the editor. ", "description": "Returns a {Number} representing the last zero-indexed buffer row\nnumber of the editor. " @@ -1773,7 +1773,7 @@ { "name": "lineForBufferRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L501", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L501", "visibility": "Public", "summary": "Returns a {String} representing the contents of the line at the\ngiven buffer row.", "description": "Returns a {String} representing the contents of the line at the\ngiven buffer row.\n\nrow - A {Number} representing a zero-indexed buffer row. " @@ -1781,7 +1781,7 @@ { "name": "lineLengthForBufferRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L507", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L507", "visibility": "Public", "summary": "Returns a {Number} representing the line length for the given\nbuffer row, exclusive of its line-ending character(s).", "description": "Returns a {Number} representing the line length for the given\nbuffer row, exclusive of its line-ending character(s).\n\nrow - A {Number} indicating the buffer row. " @@ -1789,7 +1789,7 @@ { "name": "shouldPromptToSave", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L525", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L525", "visibility": "Public", "summary": "Determine whether the user should be prompted to save before closing\nthis editor. ", "description": "Determine whether the user should be prompted to save before closing\nthis editor. " @@ -1797,7 +1797,7 @@ { "name": "screenPositionForBufferPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L537", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L537", "visibility": "Public", "summary": "Convert a position in buffer-coordinates to screen-coordinates.", "description": "Convert a position in buffer-coordinates to screen-coordinates.\n\nThe position is clipped via {::clipBufferPosition} prior to the conversion.\nThe position is also clipped via {::clipScreenPosition} following the\nconversion, which only makes a difference when `options` are supplied.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.", @@ -1811,7 +1811,7 @@ { "name": "bufferPositionForScreenPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L547", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L547", "visibility": "Public", "summary": "Convert a position in screen-coordinates to buffer-coordinates.", "description": "Convert a position in screen-coordinates to buffer-coordinates.\n\nThe position is clipped via {::clipScreenPosition} prior to the conversion.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.", @@ -1825,7 +1825,7 @@ { "name": "screenRangeForBufferRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L552", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L552", "visibility": "Public", "summary": "Convert a range in buffer-coordinates to screen-coordinates.", "description": "Convert a range in buffer-coordinates to screen-coordinates.", @@ -1839,7 +1839,7 @@ { "name": "bufferRangeForScreenRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L557", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L557", "visibility": "Public", "summary": "Convert a range in screen-coordinates to buffer-coordinates.", "description": "Convert a range in screen-coordinates to buffer-coordinates.", @@ -1853,7 +1853,7 @@ { "name": "clipScreenPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L574", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L574", "visibility": "Public", "summary": "Clip the given {Point} to a valid position on screen.", "description": "Clip the given {Point} to a valid position on screen.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the screen, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n\n* `[-1, -1]` is converted to `[0, 0]`.\n* If the line at screen row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.", @@ -1867,7 +1867,7 @@ { "name": "scopesForBufferPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L606", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L606", "visibility": "Public", "summary": "Get the syntactic scopes for the given position in buffer\ncoordinates.", "description": "Get the syntactic scopes for the given position in buffer\ncoordinates.\n\nFor example, if called with a position inside the parameter list of an\nanonymous CoffeeScript function, the method returns the following array:\n`[\"source.coffee\", \"meta.inline.function.coffee\", \"variable.parameter.function.coffee\"]`\n\nbufferPosition - A {Point} or {Array} of [row, column].", @@ -1881,7 +1881,7 @@ { "name": "bufferRangeForScopeAtCursor", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L615", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L615", "visibility": "Public", "summary": "Get the range in buffer coordinates of all tokens surrounding the\ncursor that match the given scope selector.", "description": "Get the range in buffer coordinates of all tokens surrounding the\ncursor that match the given scope selector.\n\nFor example, if you wanted to find the string surrounding the cursor, you\ncould call `editor.bufferRangeForScopeAtCursor(\".string.quoted\")`.", @@ -1895,7 +1895,7 @@ { "name": "getCursorScopes", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L625", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L625", "visibility": "Public", "summary": "Get the syntactic scopes for the most recently added cursor's\nposition. See {::scopesForBufferPosition} for more information.", "description": "Get the syntactic scopes for the most recently added cursor's\nposition. See {::scopesForBufferPosition} for more information.", @@ -1909,7 +1909,7 @@ { "name": "insertText", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L634", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L634", "visibility": "Public", "summary": "For each selection, replace the selected text with the given text.", "description": "For each selection, replace the selected text with the given text.\n\ntext - A {String} representing the text to insert.\noptions - See {Selection::insertText}. " @@ -1917,7 +1917,7 @@ { "name": "insertNewline", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L640", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L640", "visibility": "Public", "summary": "For each selection, replace the selected text with a newline. ", "description": "For each selection, replace the selected text with a newline. " @@ -1925,7 +1925,7 @@ { "name": "insertNewlineBelow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L644", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L644", "visibility": "Public", "summary": "For each cursor, insert a newline at beginning the following line. ", "description": "For each cursor, insert a newline at beginning the following line. " @@ -1933,7 +1933,7 @@ { "name": "insertNewlineAbove", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L650", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L650", "visibility": "Public", "summary": "For each cursor, insert a newline at the end of the preceding line. ", "description": "For each cursor, insert a newline at the end of the preceding line. " @@ -1941,7 +1941,7 @@ { "name": "backspace", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L675", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L675", "visibility": "Public", "summary": "For each selection, if the selection is empty, delete the character\npreceding the cursor. Otherwise delete the selected text. ", "description": "For each selection, if the selection is empty, delete the character\npreceding the cursor. Otherwise delete the selected text. " @@ -1949,7 +1949,7 @@ { "name": "deleteToBeginningOfWord", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L691", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L691", "visibility": "Public", "summary": "For each selection, if the selection is empty, delete all characters\nof the containing word that precede the cursor. Otherwise delete the\nselected text. ", "description": "For each selection, if the selection is empty, delete all characters\nof the containing word that precede the cursor. Otherwise delete the\nselected text. " @@ -1957,7 +1957,7 @@ { "name": "deleteToBeginningOfLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L697", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L697", "visibility": "Public", "summary": "For each selection, if the selection is empty, delete all characters\nof the containing line that precede the cursor. Otherwise delete the\nselected text. ", "description": "For each selection, if the selection is empty, delete all characters\nof the containing line that precede the cursor. Otherwise delete the\nselected text. " @@ -1965,7 +1965,7 @@ { "name": "deleteToEndOfLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L709", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L709", "visibility": "Public", "summary": "For each selection, if the selection is not empty, deletes the\nselection; otherwise, deletes all characters of the containing line\nfollowing the cursor. If the cursor is already at the end of the line,\ndeletes the following newline. ", "description": "For each selection, if the selection is not empty, deletes the\nselection; otherwise, deletes all characters of the containing line\nfollowing the cursor. If the cursor is already at the end of the line,\ndeletes the following newline. " @@ -1973,7 +1973,7 @@ { "name": "deleteToEndOfWord", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L715", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L715", "visibility": "Public", "summary": "For each selection, if the selection is empty, delete all characters\nof the containing word following the cursor. Otherwise delete the selected\ntext. ", "description": "For each selection, if the selection is empty, delete all characters\nof the containing word following the cursor. Otherwise delete the selected\ntext. " @@ -1981,7 +1981,7 @@ { "name": "deleteLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L719", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L719", "visibility": "Public", "summary": "Delete all lines intersecting selections. ", "description": "Delete all lines intersecting selections. " @@ -1989,7 +1989,7 @@ { "name": "indentSelectedRows", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L723", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L723", "visibility": "Public", "summary": "Indent rows intersecting selections by one level. ", "description": "Indent rows intersecting selections by one level. " @@ -1997,7 +1997,7 @@ { "name": "outdentSelectedRows", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L727", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L727", "visibility": "Public", "summary": "Outdent rows intersecting selections by one level. ", "description": "Outdent rows intersecting selections by one level. " @@ -2005,7 +2005,7 @@ { "name": "toggleLineCommentsInSelection", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L735", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L735", "visibility": "Public", "summary": "Toggle line comments for rows intersecting selections.", "description": "Toggle line comments for rows intersecting selections.\n\nIf the current grammar doesn't support comments, does nothing.", @@ -2019,7 +2019,7 @@ { "name": "autoIndentSelectedRows", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L740", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L740", "visibility": "Public", "summary": "Indent rows intersecting selections based on the grammar's suggested\nindent level. ", "description": "Indent rows intersecting selections based on the grammar's suggested\nindent level. " @@ -2027,7 +2027,7 @@ { "name": "cutToEndOfLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L752", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L752", "visibility": "Public", "summary": "For each selection, if the selection is empty, cut all characters\nof the containing line following the cursor. Otherwise cut the selected\ntext. ", "description": "For each selection, if the selection is empty, cut all characters\nof the containing line following the cursor. Otherwise cut the selected\ntext. " @@ -2035,7 +2035,7 @@ { "name": "cutSelectedText", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L759", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L759", "visibility": "Public", "summary": "For each selection, cut the selected text. ", "description": "For each selection, cut the selected text. " @@ -2043,7 +2043,7 @@ { "name": "copySelectedText", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L766", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L766", "visibility": "Public", "summary": "For each selection, copy the selected text. ", "description": "For each selection, copy the selected text. " @@ -2051,7 +2051,7 @@ { "name": "pasteText", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L780", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L780", "visibility": "Public", "summary": "For each selection, replace the selected text with the contents of\nthe clipboard.", "description": "For each selection, replace the selected text with the contents of\nthe clipboard.\n\nIf the clipboard contains the same number of selections as the current\neditor, each selection will be replaced with the content of the\ncorresponding clipboard selection text.\n\noptions - See {Selection::insertText}. " @@ -2059,7 +2059,7 @@ { "name": "undo", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L799", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L799", "visibility": "Public", "summary": "Undo the last change. ", "description": "Undo the last change. " @@ -2067,7 +2067,7 @@ { "name": "redo", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L804", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L804", "visibility": "Public", "summary": "Redo the last change. ", "description": "Redo the last change. " @@ -2075,7 +2075,7 @@ { "name": "foldCurrentRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L813", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L813", "visibility": "Public", "summary": "Fold the most recent cursor's row based on its indentation level.", "description": "Fold the most recent cursor's row based on its indentation level.\n\nThe fold will extend from the nearest preceding line with a lower\nindentation level up to the nearest following row with a lower indentation\nlevel. " @@ -2083,7 +2083,7 @@ { "name": "unfoldCurrentRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L818", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L818", "visibility": "Public", "summary": "Unfold the most recent cursor's row by one level. ", "description": "Unfold the most recent cursor's row by one level. " @@ -2091,7 +2091,7 @@ { "name": "foldSelectedLines", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L823", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L823", "visibility": "Public", "summary": "For each selection, fold the rows it intersects. ", "description": "For each selection, fold the rows it intersects. " @@ -2099,7 +2099,7 @@ { "name": "foldAll", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L827", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L827", "visibility": "Public", "summary": "Fold all foldable lines. ", "description": "Fold all foldable lines. " @@ -2107,7 +2107,7 @@ { "name": "unfoldAll", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L831", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L831", "visibility": "Public", "summary": "Unfold all existing folds. ", "description": "Unfold all existing folds. " @@ -2115,7 +2115,7 @@ { "name": "foldAllAtIndentLevel", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L837", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L837", "visibility": "Public", "summary": "Fold all foldable lines at the given indent level.", "description": "Fold all foldable lines at the given indent level.\n\nlevel - A {Number}. " @@ -2123,7 +2123,7 @@ { "name": "foldBufferRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L847", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L847", "visibility": "Public", "summary": "Fold the given row in buffer coordinates based on its indentation\nlevel.", "description": "Fold the given row in buffer coordinates based on its indentation\nlevel.\n\nIf the given row is foldable, the fold will begin there. Otherwise, it will\nbegin at the first foldable row preceding the given row.\n\nbufferRow - A {Number}. " @@ -2131,7 +2131,7 @@ { "name": "unfoldBufferRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L853", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L853", "visibility": "Public", "summary": "Unfold all folds containing the given row in buffer coordinates.", "description": "Unfold all folds containing the given row in buffer coordinates.\n\nbufferRow - A {Number} " @@ -2139,7 +2139,7 @@ { "name": "isFoldableAtBufferRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L863", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L863", "visibility": "Public", "summary": "Determine whether the given row in buffer coordinates is foldable.", "description": "Determine whether the given row in buffer coordinates is foldable.\n\nA *foldable* row is a row that *starts* a row range that can be folded.\n\nbufferRow - A {Number}", @@ -2153,7 +2153,7 @@ { "name": "toggleFoldAtBufferRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L885", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L885", "visibility": "Public", "summary": "Fold the given buffer row if it isn't currently folded, and unfold\nit otherwise. ", "description": "Fold the given buffer row if it isn't currently folded, and unfold\nit otherwise. " @@ -2161,7 +2161,7 @@ { "name": "isFoldedAtCursorRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L894", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L894", "visibility": "Public", "summary": "Determine whether the most recently added cursor's row is folded.", "description": "Determine whether the most recently added cursor's row is folded.", @@ -2175,7 +2175,7 @@ { "name": "isFoldedAtBufferRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L902", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L902", "visibility": "Public", "summary": "Determine whether the given row in buffer coordinates is folded.", "description": "Determine whether the given row in buffer coordinates is folded.\n\nbufferRow - A {Number}", @@ -2189,7 +2189,7 @@ { "name": "isFoldedAtScreenRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L910", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L910", "visibility": "Public", "summary": "Determine whether the given row in screen coordinates is folded.", "description": "Determine whether the given row in screen coordinates is folded.\n\nscreenRow - A {Number}", @@ -2203,7 +2203,7 @@ { "name": "mutateSelectedText", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1073", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1073", "visibility": "Public", "summary": "Mutate the text of all the selections in a single transaction.", "description": "Mutate the text of all the selections in a single transaction.\n\nAll the changes made inside the given {Function} can be reverted with a\nsingle call to {::undo}.\n\nfn - A {Function} that will be called once for each {Selection}. The first\n argument will be a {Selection} and the second argument will be the\n {Number} index of that selection. " @@ -2211,7 +2211,7 @@ { "name": "decorationsForScreenRowRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1097", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1097", "visibility": "Public", "summary": "Get all the decorations within a screen row range.", "description": "Get all the decorations within a screen row range.\n\nstartScreenRow - the {Number} beginning screen row\nendScreenRow - the {Number} end screen row (inclusive)", @@ -2229,7 +2229,7 @@ { "name": "decorateMarker", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1138", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1138", "visibility": "Public", "summary": "Adds a decoration that tracks a {Marker}. When the marker moves,\nis invalidated, or is destroyed, the decoration will be updated to reflect\nthe marker's state.", "description": "Adds a decoration that tracks a {Marker}. When the marker moves,\nis invalidated, or is destroyed, the decoration will be updated to reflect\nthe marker's state.\n\nThere are three types of supported decorations:", @@ -2263,7 +2263,7 @@ { "name": "getMarker", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1145", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1145", "visibility": "Public", "summary": "Get the {DisplayBufferMarker} for the given marker id. ", "description": "Get the {DisplayBufferMarker} for the given marker id. " @@ -2271,7 +2271,7 @@ { "name": "getMarkers", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1149", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1149", "visibility": "Public", "summary": "Get all {DisplayBufferMarker}s. ", "description": "Get all {DisplayBufferMarker}s. " @@ -2279,7 +2279,7 @@ { "name": "findMarkers", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1171", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1171", "visibility": "Public", "summary": "Find all {DisplayBufferMarker}s that match the given properties.", "description": "Find all {DisplayBufferMarker}s that match the given properties.\n\nThis method finds markers based on the given properties. Markers can be\nassociated with custom properties that will be compared with basic equality.\nIn addition, there are several special properties that will be compared\nwith the range of the markers rather than their properties.\n\nproperties - An {Object} containing properties that each returned marker\n must satisfy. Markers can be associated with custom properties, which are\n compared with basic equality. In addition, several reserved properties\n can be used to filter markers based on their current range:\n :startBufferRow - Only include markers starting at this row in buffer\n coordinates.\n :endBufferRow - Only include markers ending at this row in buffer\n coordinates.\n :containsBufferRange - Only include markers containing this {Range} or\n in range-compatible {Array} in buffer coordinates.\n :containsBufferPosition - Only include markers containing this {Point}\n or {Array} of `[row, column]` in buffer coordinates. " @@ -2287,7 +2287,7 @@ { "name": "markScreenRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1180", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1180", "visibility": "Public", "summary": "Mark the given range in screen coordinates.", "description": "Mark the given range in screen coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.", @@ -2301,7 +2301,7 @@ { "name": "markBufferRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1189", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1189", "visibility": "Public", "summary": "Mark the given range in buffer coordinates.", "description": "Mark the given range in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.", @@ -2315,7 +2315,7 @@ { "name": "markScreenPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1198", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1198", "visibility": "Public", "summary": "Mark the given position in screen coordinates.", "description": "Mark the given position in screen coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.", @@ -2329,7 +2329,7 @@ { "name": "markBufferPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1207", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1207", "visibility": "Public", "summary": "Mark the given position in buffer coordinates.", "description": "Mark the given position in buffer coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.", @@ -2343,7 +2343,7 @@ { "name": "getMarkerCount", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1217", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1217", "visibility": "Public", "summary": "Get the number of markers in this editor's buffer.", "description": "Get the number of markers in this editor's buffer.", @@ -2357,7 +2357,7 @@ { "name": "hasMultipleCursors", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1221", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1221", "visibility": "Public", "summary": "Determine if there are multiple cursors. ", "description": "Determine if there are multiple cursors. " @@ -2365,7 +2365,7 @@ { "name": "getCursors", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1225", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1225", "visibility": "Public", "summary": "Get an Array of all {Cursor}s. ", "description": "Get an Array of all {Cursor}s. " @@ -2373,7 +2373,7 @@ { "name": "getCursor", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1228", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1228", "visibility": "Public", "summary": "Get the most recently added {Cursor}. ", "description": "Get the most recently added {Cursor}. " @@ -2381,7 +2381,7 @@ { "name": "addCursorAtScreenPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1234", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1234", "visibility": "Public", "summary": "Add a cursor at the position in screen coordinates.", "description": "Add a cursor at the position in screen coordinates.", @@ -2395,7 +2395,7 @@ { "name": "addCursorAtBufferPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1241", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1241", "visibility": "Public", "summary": "Add a cursor at the given position in buffer coordinates.", "description": "Add a cursor at the given position in buffer coordinates.", @@ -2409,7 +2409,7 @@ { "name": "addSelectionForBufferRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1289", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1289", "visibility": "Public", "summary": "Add a selection for the given range in buffer coordinates.", "description": "Add a selection for the given range in buffer coordinates.\n\nbufferRange - A {Range}\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation.", @@ -2423,7 +2423,7 @@ { "name": "setSelectedBufferRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1302", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1302", "visibility": "Public", "summary": "Set the selected range in buffer coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.", "description": "Set the selected range in buffer coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nbufferRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " @@ -2431,7 +2431,7 @@ { "name": "setSelectedScreenRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1312", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1312", "visibility": "Public", "summary": "Set the selected range in screen coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.", "description": "Set the selected range in screen coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nscreenRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " @@ -2439,7 +2439,7 @@ { "name": "setSelectedBufferRanges", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1322", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1322", "visibility": "Public", "summary": "Set the selected ranges in buffer coordinates. If there are multiple\nselections, they are replaced by new selections with the given ranges.", "description": "Set the selected ranges in buffer coordinates. If there are multiple\nselections, they are replaced by new selections with the given ranges.\n\nbufferRanges - An {Array} of {Range}s or range-compatible {Array}s.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " @@ -2447,7 +2447,7 @@ { "name": "getSelections", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1362", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1362", "visibility": "Public", "summary": "Get current {Selection}s.", "description": "Get current {Selection}s.", @@ -2461,7 +2461,7 @@ { "name": "getSelection", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1375", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1375", "visibility": "Public", "summary": "Get the most recent {Selection} or the selection at the given\nindex.", "description": "Get the most recent {Selection} or the selection at the given\nindex.\n\nindex - Optional. The index of the selection to return, based on the order\n in which the selections were added.", @@ -2475,7 +2475,7 @@ { "name": "getLastSelection", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1382", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1382", "visibility": "Public", "summary": "Get the most recently added {Selection}.", "description": "Get the most recently added {Selection}.", @@ -2489,7 +2489,7 @@ { "name": "getSelectionsOrderedByBufferPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1389", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1389", "visibility": "Public", "summary": "Get all {Selection}s, ordered by their position in the buffer\ninstead of the order in which they were added.", "description": "Get all {Selection}s, ordered by their position in the buffer\ninstead of the order in which they were added.", @@ -2503,7 +2503,7 @@ { "name": "getLastSelectionInBuffer", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1395", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1395", "visibility": "Public", "summary": "Get the last {Selection} based on its position in the buffer.", "description": "Get the last {Selection} based on its position in the buffer.", @@ -2517,7 +2517,7 @@ { "name": "selectionIntersectsBufferRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1404", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1404", "visibility": "Public", "summary": "Determine if a given range in buffer coordinates intersects a\nselection.", "description": "Determine if a given range in buffer coordinates intersects a\nselection.\n\nbufferRange - A {Range} or range-compatible {Array}.", @@ -2531,7 +2531,7 @@ { "name": "setCursorScreenPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1416", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1416", "visibility": "Public", "summary": "Move the cursor to the given position in screen coordinates.", "description": "Move the cursor to the given position in screen coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " @@ -2539,7 +2539,7 @@ { "name": "getCursorScreenPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1423", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1423", "visibility": "Public", "summary": "Get the position of the most recently added cursor in screen\ncoordinates.", "description": "Get the position of the most recently added cursor in screen\ncoordinates.", @@ -2553,7 +2553,7 @@ { "name": "getCursorScreenRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1429", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1429", "visibility": "Public", "summary": "Get the row of the most recently added cursor in screen coordinates.", "description": "Get the row of the most recently added cursor in screen coordinates.", @@ -2567,7 +2567,7 @@ { "name": "setCursorBufferPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1440", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1440", "visibility": "Public", "summary": "Move the cursor to the given position in buffer coordinates.", "description": "Move the cursor to the given position in buffer coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " @@ -2575,7 +2575,7 @@ { "name": "getCursorBufferPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1447", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1447", "visibility": "Public", "summary": "Get the position of the most recently added cursor in buffer\ncoordinates.", "description": "Get the position of the most recently added cursor in buffer\ncoordinates.", @@ -2589,7 +2589,7 @@ { "name": "getSelectedScreenRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1454", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1454", "visibility": "Public", "summary": "Get the {Range} of the most recently added selection in screen\ncoordinates.", "description": "Get the {Range} of the most recently added selection in screen\ncoordinates.", @@ -2603,7 +2603,7 @@ { "name": "getSelectedBufferRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1461", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1461", "visibility": "Public", "summary": "Get the {Range} of the most recently added selection in buffer\ncoordinates.", "description": "Get the {Range} of the most recently added selection in buffer\ncoordinates.", @@ -2617,7 +2617,7 @@ { "name": "getSelectedBufferRanges", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1469", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1469", "visibility": "Public", "summary": "Get the {Range}s of all selections in buffer coordinates.", "description": "Get the {Range}s of all selections in buffer coordinates.\n\nThe ranges are sorted by their position in the buffer.", @@ -2631,7 +2631,7 @@ { "name": "getSelectedScreenRanges", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1477", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1477", "visibility": "Public", "summary": "Get the {Range}s of all selections in screen coordinates.", "description": "Get the {Range}s of all selections in screen coordinates.\n\nThe ranges are sorted by their position in the buffer.", @@ -2645,7 +2645,7 @@ { "name": "getSelectedText", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1483", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1483", "visibility": "Public", "summary": "Get the selected text of the most recently added selection.", "description": "Get the selected text of the most recently added selection.", @@ -2659,7 +2659,7 @@ { "name": "getTextInBufferRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1491", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1491", "visibility": "Public", "summary": "Get the text in the given {Range} in buffer coordinates.", "description": "Get the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.", @@ -2673,7 +2673,7 @@ { "name": "setTextInBufferRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1500", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1500", "visibility": "Public", "summary": "Set the text in the given {Range} in buffer coordinates.", "description": "Set the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\ntext - A {String}", @@ -2687,7 +2687,7 @@ { "name": "getCurrentParagraphBufferRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1506", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1506", "visibility": "Public", "summary": "Get the {Range} of the paragraph surrounding the most recently added\ncursor.", "description": "Get the {Range} of the paragraph surrounding the most recently added\ncursor.", @@ -2701,7 +2701,7 @@ { "name": "getWordUnderCursor", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1512", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1512", "visibility": "Public", "summary": "Returns the word surrounding the most recently added cursor.", "description": "Returns the word surrounding the most recently added cursor.\n\noptions - See {Cursor::getBeginningOfCurrentWordBufferPosition}. " @@ -2709,7 +2709,7 @@ { "name": "moveCursorUp", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1516", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1516", "visibility": "Public", "summary": "Move every cursor up one row in screen coordinates. ", "description": "Move every cursor up one row in screen coordinates. " @@ -2717,7 +2717,7 @@ { "name": "moveCursorDown", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1520", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1520", "visibility": "Public", "summary": "Move every cursor down one row in screen coordinates. ", "description": "Move every cursor down one row in screen coordinates. " @@ -2725,7 +2725,7 @@ { "name": "moveCursorLeft", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1524", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1524", "visibility": "Public", "summary": "Move every cursor left one column. ", "description": "Move every cursor left one column. " @@ -2733,7 +2733,7 @@ { "name": "moveCursorRight", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1528", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1528", "visibility": "Public", "summary": "Move every cursor right one column. ", "description": "Move every cursor right one column. " @@ -2741,7 +2741,7 @@ { "name": "moveCursorToTop", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1534", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1534", "visibility": "Public", "summary": "Move every cursor to the top of the buffer.", "description": "Move every cursor to the top of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " @@ -2749,7 +2749,7 @@ { "name": "moveCursorToBottom", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1540", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1540", "visibility": "Public", "summary": "Move every cursor to the bottom of the buffer.", "description": "Move every cursor to the bottom of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " @@ -2757,7 +2757,7 @@ { "name": "moveCursorToBeginningOfScreenLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1544", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1544", "visibility": "Public", "summary": "Move every cursor to the beginning of its line in screen coordinates. ", "description": "Move every cursor to the beginning of its line in screen coordinates. " @@ -2765,7 +2765,7 @@ { "name": "moveCursorToBeginningOfLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1548", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1548", "visibility": "Public", "summary": "Move every cursor to the beginning of its line in buffer coordinates. ", "description": "Move every cursor to the beginning of its line in buffer coordinates. " @@ -2773,7 +2773,7 @@ { "name": "moveCursorToFirstCharacterOfLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1552", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1552", "visibility": "Public", "summary": "Move every cursor to the first non-whitespace character of its line. ", "description": "Move every cursor to the first non-whitespace character of its line. " @@ -2781,7 +2781,7 @@ { "name": "moveCursorToEndOfScreenLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1556", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1556", "visibility": "Public", "summary": "Move every cursor to the end of its line in screen coordinates. ", "description": "Move every cursor to the end of its line in screen coordinates. " @@ -2789,7 +2789,7 @@ { "name": "moveCursorToEndOfLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1560", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1560", "visibility": "Public", "summary": "Move every cursor to the end of its line in buffer coordinates. ", "description": "Move every cursor to the end of its line in buffer coordinates. " @@ -2797,7 +2797,7 @@ { "name": "moveCursorToBeginningOfWord", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1564", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1564", "visibility": "Public", "summary": "Move every cursor to the beginning of its surrounding word. ", "description": "Move every cursor to the beginning of its surrounding word. " @@ -2805,7 +2805,7 @@ { "name": "moveCursorToEndOfWord", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1568", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1568", "visibility": "Public", "summary": "Move every cursor to the end of its surrounding word. ", "description": "Move every cursor to the end of its surrounding word. " @@ -2813,7 +2813,7 @@ { "name": "moveCursorToBeginningOfNextWord", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1572", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1572", "visibility": "Public", "summary": "Move every cursor to the beginning of the next word. ", "description": "Move every cursor to the beginning of the next word. " @@ -2821,7 +2821,7 @@ { "name": "moveCursorToPreviousWordBoundary", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1576", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1576", "visibility": "Public", "summary": "Move every cursor to the previous word boundary. ", "description": "Move every cursor to the previous word boundary. " @@ -2829,7 +2829,7 @@ { "name": "moveCursorToNextWordBoundary", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1580", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1580", "visibility": "Public", "summary": "Move every cursor to the next word boundary. ", "description": "Move every cursor to the next word boundary. " @@ -2837,7 +2837,7 @@ { "name": "moveCursorToBeginningOfNextParagraph", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1584", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1584", "visibility": "Public", "summary": "Move every cursor to the beginning of the next paragraph. ", "description": "Move every cursor to the beginning of the next paragraph. " @@ -2845,7 +2845,7 @@ { "name": "moveCursorToBeginningOfPreviousParagraph", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1588", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1588", "visibility": "Public", "summary": "Move every cursor to the beginning of the previous paragraph. ", "description": "Move every cursor to the beginning of the previous paragraph. " @@ -2853,7 +2853,7 @@ { "name": "scrollToCursorPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1597", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1597", "visibility": "Public", "summary": "Scroll the editor to reveal the most recently added cursor if it is\noff-screen.", "description": "Scroll the editor to reveal the most recently added cursor if it is\noff-screen.\n\noptions - An optional hash of options.\n :center - Center the editor around the cursor if possible. Defauls to\n true. " @@ -2861,7 +2861,7 @@ { "name": "selectToScreenPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1637", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1637", "visibility": "Public", "summary": "Select from the current cursor position to the given position in\nscreen coordinates.", "description": "Select from the current cursor position to the given position in\nscreen coordinates.\n\nThis method may merge selections that end up intesecting.\n\nposition - An instance of {Point}, with a given `row` and `column`. " @@ -2869,7 +2869,7 @@ { "name": "selectRight", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1646", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1646", "visibility": "Public", "summary": "Move the cursor of each selection one character rightward while\npreserving the selection's tail position.", "description": "Move the cursor of each selection one character rightward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " @@ -2877,7 +2877,7 @@ { "name": "selectLeft", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1653", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1653", "visibility": "Public", "summary": "Move the cursor of each selection one character leftward while\npreserving the selection's tail position.", "description": "Move the cursor of each selection one character leftward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " @@ -2885,7 +2885,7 @@ { "name": "selectUp", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1660", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1660", "visibility": "Public", "summary": "Move the cursor of each selection one character upward while\npreserving the selection's tail position.", "description": "Move the cursor of each selection one character upward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " @@ -2893,7 +2893,7 @@ { "name": "selectDown", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1667", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1667", "visibility": "Public", "summary": "Move the cursor of each selection one character downward while\npreserving the selection's tail position.", "description": "Move the cursor of each selection one character downward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " @@ -2901,7 +2901,7 @@ { "name": "selectToTop", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1674", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1674", "visibility": "Public", "summary": "Select from the top of the buffer to the end of the last selection\nin the buffer.", "description": "Select from the top of the buffer to the end of the last selection\nin the buffer.\n\nThis method merges multiple selections into a single selection. " @@ -2909,7 +2909,7 @@ { "name": "selectAll", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1680", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1680", "visibility": "Public", "summary": "Select all text in the buffer.", "description": "Select all text in the buffer.\n\nThis method merges multiple selections into a single selection. " @@ -2917,7 +2917,7 @@ { "name": "selectToBottom", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1687", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1687", "visibility": "Public", "summary": "Selects from the top of the first selection in the buffer to the end\nof the buffer.", "description": "Selects from the top of the first selection in the buffer to the end\nof the buffer.\n\nThis method merges multiple selections into a single selection. " @@ -2925,7 +2925,7 @@ { "name": "selectToBeginningOfLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1694", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1694", "visibility": "Public", "summary": "Move the cursor of each selection to the beginning of its line\nwhile preserving the selection's tail position.", "description": "Move the cursor of each selection to the beginning of its line\nwhile preserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " @@ -2933,7 +2933,7 @@ { "name": "selectToFirstCharacterOfLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1703", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1703", "visibility": "Public", "summary": "Move the cursor of each selection to the first non-whitespace\ncharacter of its line while preserving the selection's tail position. If the\ncursor is already on the first character of the line, move it to the\nbeginning of the line.", "description": "Move the cursor of each selection to the first non-whitespace\ncharacter of its line while preserving the selection's tail position. If the\ncursor is already on the first character of the line, move it to the\nbeginning of the line.\n\nThis method may merge selections that end up intersecting. " @@ -2941,7 +2941,7 @@ { "name": "selectToEndOfLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1710", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1710", "visibility": "Public", "summary": "Move the cursor of each selection to the end of its line while\npreserving the selection's tail position.", "description": "Move the cursor of each selection to the end of its line while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intersecting. " @@ -2949,7 +2949,7 @@ { "name": "selectToPreviousWordBoundary", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1717", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1717", "visibility": "Public", "summary": "For each selection, move its cursor to the preceding word boundary\nwhile maintaining the selection's tail position.", "description": "For each selection, move its cursor to the preceding word boundary\nwhile maintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " @@ -2957,7 +2957,7 @@ { "name": "selectToNextWordBoundary", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1724", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1724", "visibility": "Public", "summary": "For each selection, move its cursor to the next word boundary while\nmaintaining the selection's tail position.", "description": "For each selection, move its cursor to the next word boundary while\nmaintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " @@ -2965,7 +2965,7 @@ { "name": "selectLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1730", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1730", "visibility": "Public", "summary": "For each cursor, select the containing line.", "description": "For each cursor, select the containing line.\n\nThis method merges selections on successive lines. " @@ -2973,7 +2973,7 @@ { "name": "addSelectionBelow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1741", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1741", "visibility": "Public", "summary": "Add a similarly-shaped selection to the next eligible line below\neach selection.", "description": "Add a similarly-shaped selection to the next eligible line below\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next following non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " @@ -2981,7 +2981,7 @@ { "name": "addSelectionAbove", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1752", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1752", "visibility": "Public", "summary": "Add a similarly-shaped selection to the next eligible line above\neach selection.", "description": "Add a similarly-shaped selection to the next eligible line above\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next preceding non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " @@ -2989,7 +2989,7 @@ { "name": "splitSelectionsIntoLines", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1760", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1760", "visibility": "Public", "summary": "Split multi-line selections into one selection per line.", "description": "Split multi-line selections into one selection per line.\n\nOperates on all selections. This method breaks apart all multi-line\nselections to create multiple single-line selections that cumulatively cover\nthe same original area. " @@ -2997,7 +2997,7 @@ { "name": "transpose", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1777", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1777", "visibility": "Public", "summary": "For each selection, transpose the selected text.", "description": "For each selection, transpose the selected text.\n\nIf the selection is empty, the characters preceding and following the cursor\nare swapped. Otherwise, the selected characters are reversed. " @@ -3005,7 +3005,7 @@ { "name": "upperCase", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1792", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1792", "visibility": "Public", "summary": "Convert the selected text to upper case.", "description": "Convert the selected text to upper case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " @@ -3013,7 +3013,7 @@ { "name": "lowerCase", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1799", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1799", "visibility": "Public", "summary": "Convert the selected text to lower case.", "description": "Convert the selected text to lower case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " @@ -3021,7 +3021,7 @@ { "name": "selectToBeginningOfWord", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1817", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1817", "visibility": "Public", "summary": "Expand selections to the beginning of their containing word.", "description": "Expand selections to the beginning of their containing word.\n\nOperates on all selections. Moves the cursor to the beginning of the\ncontaining word while preserving the selection's tail position. " @@ -3029,7 +3029,7 @@ { "name": "selectToEndOfWord", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1824", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1824", "visibility": "Public", "summary": "Expand selections to the end of their containing word.", "description": "Expand selections to the end of their containing word.\n\nOperates on all selections. Moves the cursor to the end of the containing\nword while preserving the selection's tail position. " @@ -3037,7 +3037,7 @@ { "name": "selectToBeginningOfNextWord", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1831", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1831", "visibility": "Public", "summary": "Expand selections to the beginning of the next word.", "description": "Expand selections to the beginning of the next word.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nword while preserving the selection's tail position. " @@ -3045,7 +3045,7 @@ { "name": "selectWord", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1835", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1835", "visibility": "Public", "summary": "Select the word containing each cursor. ", "description": "Select the word containing each cursor. " @@ -3053,7 +3053,7 @@ { "name": "selectToBeginningOfNextParagraph", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1842", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1842", "visibility": "Public", "summary": "Expand selections to the beginning of the next paragraph.", "description": "Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " @@ -3061,7 +3061,7 @@ { "name": "selectToBeginningOfPreviousParagraph", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1849", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1849", "visibility": "Public", "summary": "Expand selections to the beginning of the next paragraph.", "description": "Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " @@ -3069,7 +3069,7 @@ { "name": "selectMarker", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1857", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1857", "visibility": "Public", "summary": "Select the range of the given marker if it is valid.", "description": "Select the range of the given marker if it is valid.\n\nmarker - A {DisplayBufferMarker}", @@ -3083,7 +3083,7 @@ { "name": "getGrammar", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1920", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1920", "visibility": "Public", "summary": "Get the current {Grammar} of this editor. ", "description": "Get the current {Grammar} of this editor. " @@ -3091,7 +3091,7 @@ { "name": "setGrammar", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1927", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1927", "visibility": "Public", "summary": "Set the current {Grammar} of this editor.", "description": "Set the current {Grammar} of this editor.\n\nAssigning a grammar will cause the editor to re-tokenize based on the new\ngrammar. " @@ -3099,7 +3099,7 @@ { "name": "transact", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1945", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1945", "visibility": "Public", "summary": "Batch multiple operations as a single undo/redo step.", "description": "Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " @@ -3107,7 +3107,7 @@ { "name": "beginTransaction", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1953", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1953", "visibility": "Public", "summary": "Start an open-ended transaction.", "description": "Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " @@ -3115,7 +3115,7 @@ { "name": "commitTransaction", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1959", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1959", "visibility": "Public", "summary": "Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.", "description": "Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " @@ -3123,7 +3123,7 @@ { "name": "abortTransaction", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/editor.coffee#L1963", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1963", "visibility": "Public", "summary": "Abort an open transaction, undoing any operations performed so far\nwithin the transaction. ", "description": "Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " @@ -3136,13 +3136,13 @@ "Git": { "name": "Git", "filename": "src/git.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L41", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L41", "sections": [], "classMethods": [ { "name": "open", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L53", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L53", "visibility": "Public", "summary": "Creates a new Git instance.", "description": "Creates a new Git instance.\n\npath - The path to the Git repository to open.\noptions - An object with the following keys (default: {}):\n :refreshOnWindowFocus - `true` to refresh the index and statuses when the\n window is focused.", @@ -3158,7 +3158,7 @@ { "name": "destroy", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L98", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L98", "visibility": "Public", "summary": "Destroy this `Git` object. This destroys any tasks and subscriptions\nand releases the underlying libgit2 repository handle. ", "description": "Destroy this `Git` object. This destroys any tasks and subscriptions\nand releases the underlying libgit2 repository handle. " @@ -3166,7 +3166,7 @@ { "name": "getPath", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L121", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L121", "visibility": "Public", "summary": "Returns the {String} path of the repository. ", "description": "Returns the {String} path of the repository. " @@ -3174,7 +3174,7 @@ { "name": "getWorkingDirectory", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L125", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L125", "visibility": "Public", "summary": "Returns the {String} working directory path of the repository. ", "description": "Returns the {String} working directory path of the repository. " @@ -3182,7 +3182,7 @@ { "name": "getPathStatus", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L133", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L133", "visibility": "Public", "summary": "Get the status of a single path in the repository.", "description": "Get the status of a single path in the repository.\n\npath - A {String} repository-relative path.", @@ -3196,7 +3196,7 @@ { "name": "isPathIgnored", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L150", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L150", "visibility": "Public", "summary": "Is the given path ignored?", "description": "Is the given path ignored?", @@ -3210,7 +3210,7 @@ { "name": "isStatusModified", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L153", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L153", "visibility": "Public", "summary": "Returns true if the given status indicates modification. ", "description": "Returns true if the given status indicates modification. " @@ -3218,7 +3218,7 @@ { "name": "isPathModified", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L156", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L156", "visibility": "Public", "summary": "Returns true if the given path is modified. ", "description": "Returns true if the given path is modified. " @@ -3226,7 +3226,7 @@ { "name": "isStatusNew", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L159", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L159", "visibility": "Public", "summary": "Returns true if the given status indicates a new path. ", "description": "Returns true if the given status indicates a new path. " @@ -3234,7 +3234,7 @@ { "name": "isPathNew", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L162", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L162", "visibility": "Public", "summary": "Returns true if the given path is new. ", "description": "Returns true if the given path is new. " @@ -3242,7 +3242,7 @@ { "name": "isProjectAtRoot", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L166", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L166", "visibility": "Public", "summary": "Returns true if at the root, false if in a subfolder of the\nrepository. ", "description": "Returns true if at the root, false if in a subfolder of the\nrepository. " @@ -3250,7 +3250,7 @@ { "name": "relativize", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L170", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L170", "visibility": "Public", "summary": "Makes a path relative to the repository's working directory. ", "description": "Makes a path relative to the repository's working directory. " @@ -3258,7 +3258,7 @@ { "name": "getShortHead", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L182", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L182", "visibility": "Public", "summary": "Retrieves a shortened version of the HEAD reference value.", "description": "Retrieves a shortened version of the HEAD reference value.\n\nThis removes the leading segments of `refs/heads`, `refs/tags`, or\n`refs/remotes`. It also shortens the SHA-1 of a detached `HEAD` to 7\ncharacters.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository contains submodules.", @@ -3272,7 +3272,7 @@ { "name": "checkoutHead", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L197", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L197", "visibility": "Public", "summary": "Restore the contents of a path in the working directory and index\nto the version at `HEAD`.", "description": "Restore the contents of a path in the working directory and index\nto the version at `HEAD`.\n\nThis is essentially the same as running:\n\n```\ngit reset HEAD -- \ngit checkout HEAD -- \n```\n\npath - The {String} path to checkout.", @@ -3286,7 +3286,7 @@ { "name": "checkoutReference", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L210", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L210", "visibility": "Public", "summary": "Checks out a branch in your repository.", "description": "Checks out a branch in your repository.\n\nreference - The String reference to checkout\ncreate - A Boolean value which, if true creates the new reference if it\n doesn't exist.", @@ -3300,7 +3300,7 @@ { "name": "getDiffStats", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L223", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L223", "visibility": "Public", "summary": "Retrieves the number of lines added and removed to a path.", "description": "Retrieves the number of lines added and removed to a path.\n\nThis compares the working directory contents of the path to the `HEAD`\nversion.\n\npath - The {String} path to check.", @@ -3314,7 +3314,7 @@ { "name": "isSubmodule", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L232", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L232", "visibility": "Public", "summary": "Is the given path a submodule in the repository?", "description": "Is the given path a submodule in the repository?\n\npath - The {String} path to check.", @@ -3328,7 +3328,7 @@ { "name": "getDirectoryStatus", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L248", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L248", "visibility": "Public", "summary": "Get the status of a directory in the repository's working directory.", "description": "Get the status of a directory in the repository's working directory.\n\npath - The {String} path to check.", @@ -3342,7 +3342,7 @@ { "name": "getLineDiffs", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L266", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L266", "visibility": "Public", "summary": "Retrieves the line diffs comparing the `HEAD` version of the given\npath and the given text.", "description": "Retrieves the line diffs comparing the `HEAD` version of the given\npath and the given text.\n\npath - The {String} path relative to the repository.\ntext - The {String} to compare against the `HEAD` contents", @@ -3356,7 +3356,7 @@ { "name": "getConfigValue", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L277", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L277", "visibility": "Public", "summary": "Returns the git configuration value specified by the key.", "description": "Returns the git configuration value specified by the key.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " @@ -3364,7 +3364,7 @@ { "name": "getOriginUrl", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L283", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L283", "visibility": "Public", "summary": "Returns the origin url of the repository.", "description": "Returns the origin url of the repository.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " @@ -3372,7 +3372,7 @@ { "name": "getUpstreamBranch", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L292", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L292", "visibility": "Public", "summary": "Returns the upstream branch for the current HEAD, or null if there\nis no upstream branch for the current HEAD.", "description": "Returns the upstream branch for the current HEAD, or null if there\nis no upstream branch for the current HEAD.\n\npath - An optional {String} path in the repo to get this information for,\n only needed if the repository contains submodules.", @@ -3386,7 +3386,7 @@ { "name": "getReferenceTarget", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L299", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L299", "visibility": "Public", "summary": "Returns the current SHA for the given reference.", "description": "Returns the current SHA for the given reference.\n\nreference - The {String} reference to get the target of.\npath - An optional {String} path in the repo to get the reference target\n for. Only needed if the repository contains submodules. " @@ -3394,7 +3394,7 @@ { "name": "getReferences", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L311", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L311", "visibility": "Public", "summary": "Gets all the local and remote references.", "description": "Gets all the local and remote references.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.", @@ -3408,7 +3408,7 @@ { "name": "getAheadBehindCount", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L319", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L319", "visibility": "Public", "summary": "Returns the number of commits behind the current branch is from the\nits upstream remote branch.", "description": "Returns the number of commits behind the current branch is from the\nits upstream remote branch.\n\nreference - The {String} branch reference name.\npath - The {String} path in the repository to get this information for,\n only needed if the repository contains submodules. " @@ -3416,7 +3416,7 @@ { "name": "getCachedUpstreamAheadBehindCount", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L331", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L331", "visibility": "Public", "summary": "Get the cached ahead/behind commit counts for the current branch's\nupstream branch.", "description": "Get the cached ahead/behind commit counts for the current branch's\nupstream branch.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.", @@ -3430,7 +3430,7 @@ { "name": "getCachedPathStatus", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L339", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L339", "visibility": "Public", "summary": "Get the cached status for the given path.", "description": "Get the cached status for the given path.\n\npath - A {String} path in the repository, relative or absolute.", @@ -3444,7 +3444,7 @@ { "name": "hasBranch", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/git.coffee#L343", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L343", "visibility": "Public", "summary": "Returns true if the given branch exists. ", "description": "Returns true if the given branch exists. " @@ -3457,14 +3457,14 @@ "MenuManager": { "name": "MenuManager", "filename": "src/menu-manager.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/menu-manager.coffee#L13", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/menu-manager.coffee#L13", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "add", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/menu-manager.coffee#L38", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/menu-manager.coffee#L38", "visibility": "Public", "summary": "Adds the given item definition to the existing template.", "description": "Adds the given item definition to the existing template.\n\n## Example\n\n```coffee\n atom.menu.add [\n {\n label: 'Hello'\n submenu : [{label: 'World!', command: 'hello:world'}]\n }\n ]\n```\n\nitems - An {Array} of menu item {Object}s containing the keys:\n :label - The {String} menu label.\n :submenu - An optional {Array} of sub menu items.\n :command - An optional {String} command to trigger when the item is\n clicked.", @@ -3478,7 +3478,7 @@ { "name": "update", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/menu-manager.coffee#L80", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/menu-manager.coffee#L80", "visibility": "Public", "summary": "Refreshes the currently visible menu. ", "description": "Refreshes the currently visible menu. " @@ -3491,14 +3491,14 @@ "PackageManager": { "name": "PackageManager", "filename": "src/package-manager.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L27", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L27", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "getApmPath", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L45", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L45", "visibility": "Public", "summary": "Get the path to the apm command ", "description": "Get the path to the apm command " @@ -3506,7 +3506,7 @@ { "name": "getPackageDirPaths", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L53", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L53", "visibility": "Public", "summary": "Get the paths being used to look for packages.", "description": "Get the paths being used to look for packages.", @@ -3520,7 +3520,7 @@ { "name": "enablePackage", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L63", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L63", "visibility": "Public", "summary": "Enable the package with the given name ", "description": "Enable the package with the given name " @@ -3528,7 +3528,7 @@ { "name": "disablePackage", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L69", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L69", "visibility": "Public", "summary": "Disable the package with the given name ", "description": "Disable the package with the given name " @@ -3536,7 +3536,7 @@ { "name": "getActivePackages", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L114", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L114", "visibility": "Public", "summary": "Get an array of all the active packages ", "description": "Get an array of all the active packages " @@ -3544,7 +3544,7 @@ { "name": "getActivePackage", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L118", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L118", "visibility": "Public", "summary": "Get the active package with the given name ", "description": "Get the active package with the given name " @@ -3552,7 +3552,7 @@ { "name": "isPackageActive", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L122", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L122", "visibility": "Public", "summary": "Is the package with the given name active? ", "description": "Is the package with the given name active? " @@ -3560,7 +3560,7 @@ { "name": "getLoadedPackage", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L183", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L183", "visibility": "Public", "summary": "Get the loaded package with the given name ", "description": "Get the loaded package with the given name " @@ -3568,7 +3568,7 @@ { "name": "isPackageLoaded", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L187", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L187", "visibility": "Public", "summary": "Is the package with the given name loaded? ", "description": "Is the package with the given name loaded? " @@ -3576,7 +3576,7 @@ { "name": "getLoadedPackages", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L191", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L191", "visibility": "Public", "summary": "Get an array of all the loaded packages ", "description": "Get an array of all the loaded packages " @@ -3584,7 +3584,7 @@ { "name": "resolvePackagePath", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L201", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L201", "visibility": "Public", "summary": "Resolve the given package name to a path on disk. ", "description": "Resolve the given package name to a path on disk. " @@ -3592,7 +3592,7 @@ { "name": "isPackageDisabled", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L211", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L211", "visibility": "Public", "summary": "Is the package with the given name disabled? ", "description": "Is the package with the given name disabled? " @@ -3600,7 +3600,7 @@ { "name": "isBundledPackage", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L219", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L219", "visibility": "Public", "summary": "Is the package with the given name bundled with Atom? ", "description": "Is the package with the given name bundled with Atom? " @@ -3608,7 +3608,7 @@ { "name": "getAvailablePackagePaths", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L232", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L232", "visibility": "Public", "summary": "Get an array of all the available package paths. ", "description": "Get an array of all the available package paths. " @@ -3616,7 +3616,7 @@ { "name": "getAvailablePackageNames", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L247", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L247", "visibility": "Public", "summary": "Get an array of all the available package names. ", "description": "Get an array of all the available package names. " @@ -3624,7 +3624,7 @@ { "name": "getAvailablePackageMetadata", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/package-manager.coffee#L251", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L251", "visibility": "Public", "summary": "Get an array of all the available package metadata. ", "description": "Get an array of all the available package metadata. " @@ -3637,14 +3637,14 @@ "PaneView": { "name": "PaneView", "filename": "src/pane-view.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane-view.coffee#L15", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane-view.coffee#L15", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "getNextPane", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane-view.coffee#L134", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane-view.coffee#L134", "visibility": "Public", "summary": "Returns the next pane, ordered by creation. ", "description": "Returns the next pane, ordered by creation. " @@ -3652,7 +3652,7 @@ { "name": "getContainer", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane-view.coffee#L211", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane-view.coffee#L211", "visibility": "Public", "summary": "Get the container view housing this pane.", "description": "Get the container view housing this pane.", @@ -3671,14 +3671,14 @@ "Pane": { "name": "Pane", "filename": "src/pane.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L12", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L12", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "activate", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L74", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L74", "visibility": "Public", "summary": "Makes this pane the *active* pane, causing it to gain focus\nimmediately. ", "description": "Makes this pane the *active* pane, causing it to gain focus\nimmediately. " @@ -3686,7 +3686,7 @@ { "name": "getItems", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L83", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L83", "visibility": "Public", "summary": "Get the items in this pane.", "description": "Get the items in this pane.", @@ -3700,7 +3700,7 @@ { "name": "getActiveItem", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L89", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L89", "visibility": "Public", "summary": "Get the active pane item in this pane.", "description": "Get the active pane item in this pane.", @@ -3714,7 +3714,7 @@ { "name": "getActiveEditor", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L94", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L94", "visibility": "Public", "summary": "Returns an {Editor} if the pane item is an {Editor}, or null\notherwise. ", "description": "Returns an {Editor} if the pane item is an {Editor}, or null\notherwise. " @@ -3722,7 +3722,7 @@ { "name": "itemAtIndex", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L98", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L98", "visibility": "Public", "summary": "Returns the item at the specified index. ", "description": "Returns the item at the specified index. " @@ -3730,7 +3730,7 @@ { "name": "activateNextItem", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L102", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L102", "visibility": "Public", "summary": "Makes the next item active. ", "description": "Makes the next item active. " @@ -3738,7 +3738,7 @@ { "name": "activatePreviousItem", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L110", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L110", "visibility": "Public", "summary": "Makes the previous item active. ", "description": "Makes the previous item active. " @@ -3746,7 +3746,7 @@ { "name": "addItem", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L138", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L138", "visibility": "Public", "summary": "Adds the item to the pane.", "description": "Adds the item to the pane.\n\nitem - The item to add. It can be a model with an associated view or a view.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.", @@ -3760,7 +3760,7 @@ { "name": "addItems", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L155", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L155", "visibility": "Public", "summary": "Adds the given items to the pane.", "description": "Adds the given items to the pane.\n\nitems - An {Array} of items to add. Items can be models with associated\n views or views. Any items that are already present in items will\n not be added.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.", @@ -3774,7 +3774,7 @@ { "name": "moveItem", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L176", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L176", "visibility": "Public", "summary": "Moves the given item to the specified index. ", "description": "Moves the given item to the specified index. " @@ -3782,7 +3782,7 @@ { "name": "moveItemToPane", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L183", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L183", "visibility": "Public", "summary": "Moves the given item to the given index at another pane. ", "description": "Moves the given item to the given index at another pane. " @@ -3790,7 +3790,7 @@ { "name": "destroyActiveItem", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L188", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L188", "visibility": "Public", "summary": "Destroys the currently active item and make the next item active. ", "description": "Destroys the currently active item and make the next item active. " @@ -3798,7 +3798,7 @@ { "name": "destroyItem", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L194", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L194", "visibility": "Public", "summary": "Destroys the given item. If it is the active item, activate the next\none. If this is the last item, also destroys the pane. ", "description": "Destroys the given item. If it is the active item, activate the next\none. If this is the last item, also destroys the pane. " @@ -3806,7 +3806,7 @@ { "name": "destroyItems", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L205", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L205", "visibility": "Public", "summary": "Destroys all items and destroys the pane. ", "description": "Destroys all items and destroys the pane. " @@ -3814,7 +3814,7 @@ { "name": "destroyInactiveItems", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L209", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L209", "visibility": "Public", "summary": "Destroys all items but the active one. ", "description": "Destroys all items but the active one. " @@ -3822,7 +3822,7 @@ { "name": "promptToSaveItem", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L225", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L225", "visibility": "Public", "summary": "Prompts the user to save the given item if it can be saved and is\ncurrently unsaved. ", "description": "Prompts the user to save the given item if it can be saved and is\ncurrently unsaved. " @@ -3830,7 +3830,7 @@ { "name": "saveActiveItem", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L240", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L240", "visibility": "Public", "summary": "Saves the active item. ", "description": "Saves the active item. " @@ -3838,7 +3838,7 @@ { "name": "saveActiveItemAs", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L244", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L244", "visibility": "Public", "summary": "Saves the active item at a prompted-for location. ", "description": "Saves the active item at a prompted-for location. " @@ -3846,7 +3846,7 @@ { "name": "saveItem", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L252", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L252", "visibility": "Public", "summary": "Saves the specified item.", "description": "Saves the specified item.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " @@ -3854,7 +3854,7 @@ { "name": "saveItemAs", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L264", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L264", "visibility": "Public", "summary": "Saves the given item at a prompted-for location.", "description": "Saves the given item at a prompted-for location.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " @@ -3862,7 +3862,7 @@ { "name": "saveItems", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L274", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L274", "visibility": "Public", "summary": "Saves all items. ", "description": "Saves all items. " @@ -3870,7 +3870,7 @@ { "name": "itemForUri", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L279", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L279", "visibility": "Public", "summary": "Returns the first item that matches the given URI or undefined if\nnone exists. ", "description": "Returns the first item that matches the given URI or undefined if\nnone exists. " @@ -3878,7 +3878,7 @@ { "name": "activateItemForUri", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L284", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L284", "visibility": "Public", "summary": "Activates the first item that matches the given URI. Returns a\nboolean indicating whether a matching item was found. ", "description": "Activates the first item that matches the given URI. Returns a\nboolean indicating whether a matching item was found. " @@ -3886,7 +3886,7 @@ { "name": "splitLeft", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L301", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L301", "visibility": "Public", "summary": "Creates a new pane to the left of the receiver.", "description": "Creates a new pane to the left of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.", @@ -3900,7 +3900,7 @@ { "name": "splitRight", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L310", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L310", "visibility": "Public", "summary": "Creates a new pane to the right of the receiver.", "description": "Creates a new pane to the right of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.", @@ -3914,7 +3914,7 @@ { "name": "splitUp", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L319", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L319", "visibility": "Public", "summary": "Creates a new pane above the receiver.", "description": "Creates a new pane above the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.", @@ -3928,7 +3928,7 @@ { "name": "splitDown", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/pane.coffee#L328", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L328", "visibility": "Public", "summary": "Creates a new pane below the receiver.", "description": "Creates a new pane below the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.", @@ -3947,13 +3947,13 @@ "Project": { "name": "Project", "filename": "src/project.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/project.coffee#L22", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L22", "sections": [], "classMethods": [ { "name": "pathForRepositoryUrl", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/project.coffee#L27", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L27", "visibility": "Public", "summary": "Find the local path for the given repository URL. ", "description": "Find the local path for the given repository URL. " @@ -3963,7 +3963,7 @@ { "name": "getRepo", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/project.coffee#L62", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L62", "visibility": "Public", "summary": "Returns the {Git} repository if available. ", "description": "Returns the {Git} repository if available. " @@ -3971,7 +3971,7 @@ { "name": "getPath", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/project.coffee#L65", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L65", "visibility": "Public", "summary": "Returns the project's fullpath. ", "description": "Returns the project's fullpath. " @@ -3979,7 +3979,7 @@ { "name": "setPath", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/project.coffee#L69", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L69", "visibility": "Public", "summary": "Sets the project's fullpath. ", "description": "Sets the project's fullpath. " @@ -3987,7 +3987,7 @@ { "name": "getRootDirectory", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/project.coffee#L86", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L86", "visibility": "Public", "summary": "Returns the root {Directory} object for this project. ", "description": "Returns the root {Directory} object for this project. " @@ -3995,7 +3995,7 @@ { "name": "resolve", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/project.coffee#L96", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L96", "visibility": "Public", "summary": "Given a uri, this resolves it relative to the project directory. If\nthe path is already absolute or if it is prefixed with a scheme, it is\nreturned unchanged.", "description": "Given a uri, this resolves it relative to the project directory. If\nthe path is already absolute or if it is prefixed with a scheme, it is\nreturned unchanged.\n\nuri - The {String} name of the path to convert.", @@ -4009,7 +4009,7 @@ { "name": "relativize", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/project.coffee#L110", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L110", "visibility": "Public", "summary": "Make the given path relative to the project directory. ", "description": "Make the given path relative to the project directory. " @@ -4017,7 +4017,7 @@ { "name": "contains", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/project.coffee#L115", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L115", "visibility": "Public", "summary": "Returns whether the given path is inside this project. ", "description": "Returns whether the given path is inside this project. " @@ -4025,7 +4025,7 @@ { "name": "scan", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/project.coffee#L222", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L222", "visibility": "Public", "summary": "Performs a search across all the files in the project.", "description": "Performs a search across all the files in the project.\n\nregex - A {RegExp} to search with.\noptions - An optional options {Object} (default: {}):\n :paths - An {Array} of glob patterns to search within\niterator - A {Function} callback on each file found " @@ -4033,7 +4033,7 @@ { "name": "replace", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/project.coffee#L269", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L269", "visibility": "Public", "summary": "Performs a replace across all the specified files in the project.", "description": "Performs a replace across all the specified files in the project.\n\nregex - A {RegExp} to search with.\nreplacementText - Text to replace all matches of regex with\nfilePaths - List of file path strings to run the replace on.\niterator - A {Function} callback on each file with replacements:\n `({filePath, replacements}) ->`. " @@ -4046,7 +4046,7 @@ "ScrollView": { "name": "ScrollView", "filename": "src/scroll-view.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/scroll-view.coffee#L22", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/scroll-view.coffee#L22", "sections": [], "classMethods": [], "instanceMethods": [], @@ -4061,14 +4061,14 @@ "SelectListView": { "name": "SelectListView", "filename": "src/select-list-view.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L37", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L37", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "initialize", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L56", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L56", "visibility": "Public", "summary": "Initialize the select list view.", "description": "Initialize the select list view.\n\nThis method can be overridden by subclasses but `super` should always\nbe called. " @@ -4076,7 +4076,7 @@ { "name": "setItems", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L103", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L103", "visibility": "Public", "summary": "Set the array of items to display in the list.", "description": "Set the array of items to display in the list.\n\nThis should be model items not actual views. {::viewForItem} will be\ncalled to render the item when it is being appended to the list view.\n\nitems - The {Array} of model items to display in the list (default: []). " @@ -4084,7 +4084,7 @@ { "name": "setError", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L110", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L110", "visibility": "Public", "summary": "Set the error message to display.", "description": "Set the error message to display.\n\nmessage - The {String} error message (default: ''). " @@ -4092,7 +4092,7 @@ { "name": "setLoading", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L120", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L120", "visibility": "Public", "summary": "Set the loading message to display.", "description": "Set the loading message to display.\n\nmessage - The {String} loading message (default: ''). " @@ -4100,7 +4100,7 @@ { "name": "getFilterQuery", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L137", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L137", "visibility": "Public", "summary": "Get the filter query to use when fuzzy filtering the visible\nelements.", "description": "Get the filter query to use when fuzzy filtering the visible\nelements.\n\nBy default this method returns the text in the mini editor but it can be\noverridden by subclasses if needed.", @@ -4114,7 +4114,7 @@ { "name": "populateList", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L144", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L144", "visibility": "Public", "summary": "Populate the list view with the model items previously set by\ncalling {::setItems}.", "description": "Populate the list view with the model items previously set by\ncalling {::setItems}.\n\nSubclasses may override this method but should always call `super`. " @@ -4122,7 +4122,7 @@ { "name": "getEmptyMessage", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L175", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L175", "visibility": "Public", "summary": "Get the message to display when there are no items.", "description": "Get the message to display when there are no items.\n\nSubclasses may override this method to customize the message.\n\nitemCount - The {Number} of items in the array specified to {::setItems}\nfilteredItemCount - The {Number} of items that pass the fuzzy filter test.", @@ -4136,7 +4136,7 @@ { "name": "setMaxItems", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L180", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L180", "visibility": "Public", "summary": "Set the maximum numbers of items to display in the list.", "description": "Set the maximum numbers of items to display in the list.\n\nmaxItems - The maximum {Number} of items to display. " @@ -4144,7 +4144,7 @@ { "name": "getSelectedItem", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L214", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L214", "visibility": "Public", "summary": "Get the model item that is currently selected in the list view.", "description": "Get the model item that is currently selected in the list view.", @@ -4158,7 +4158,7 @@ { "name": "viewForItem", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L234", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L234", "visibility": "Public", "summary": "Create a view for the given model item.", "description": "Create a view for the given model item.\n\nThis method must be overridden by subclasses.\n\nThis is called when the item is about to appended to the list view.\n\nitem - The model item being rendered. This will always be one of the items\n previously passed to {::setItems}.", @@ -4172,7 +4172,7 @@ { "name": "confirmed", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L245", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L245", "visibility": "Public", "summary": "Callback function for when an item is selected.", "description": "Callback function for when an item is selected.\n\nThis method must be overridden by subclasses.\n\nitem - The selected model item. This will always be one of the items\n previously passed to {::setItems}.", @@ -4186,7 +4186,7 @@ { "name": "getFilterKey", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L259", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L259", "visibility": "Public", "summary": "Get the property name to use when filtering items.", "description": "Get the property name to use when filtering items.\n\nThis method may be overridden by classes to allow fuzzy filtering based\non a specific property of the item objects.\n\nFor example if the objects you pass to {::setItems} are of the type\n`{\"id\": 3, \"name\": \"Atom\"}` then you would return `\"name\"` from this method\nto fuzzy filter by that property when text is entered into this view's\neditor.", @@ -4200,7 +4200,7 @@ { "name": "focusFilterEditor", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L262", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L262", "visibility": "Public", "summary": "Focus the fuzzy filter editor view. ", "description": "Focus the fuzzy filter editor view. " @@ -4208,7 +4208,7 @@ { "name": "storeFocusedElement", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L267", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L267", "visibility": "Public", "summary": "Store the currently focused element. This element will be given\nback focus when {::cancel} is called. ", "description": "Store the currently focused element. This element will be given\nback focus when {::cancel} is called. " @@ -4216,7 +4216,7 @@ { "name": "cancel", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/select-list-view.coffee#L284", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L284", "visibility": "Public", "summary": "Cancel and close this select list view.", "description": "Cancel and close this select list view.\n\nThis restores focus to the previously focused element if\n{::storeFocusedElement} was called prior to this view being attached. " @@ -4229,14 +4229,14 @@ "Selection": { "name": "Selection", "filename": "src/selection.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L7", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L7", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "isEmpty", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L39", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L39", "visibility": "Public", "summary": "Determines if the selection contains anything. ", "description": "Determines if the selection contains anything. " @@ -4244,7 +4244,7 @@ { "name": "isReversed", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L46", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L46", "visibility": "Public", "summary": "Determines if the ending position of a marker is greater than the\nstarting position.", "description": "Determines if the ending position of a marker is greater than the\nstarting position.\n\nThis can happen when, for example, you highlight text \"up\" in a {TextBuffer}. " @@ -4252,7 +4252,7 @@ { "name": "isSingleScreenLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L50", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L50", "visibility": "Public", "summary": "Returns whether the selection is a single line or not. ", "description": "Returns whether the selection is a single line or not. " @@ -4260,7 +4260,7 @@ { "name": "getScreenRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L54", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L54", "visibility": "Public", "summary": "Returns the screen {Range} for the selection. ", "description": "Returns the screen {Range} for the selection. " @@ -4268,7 +4268,7 @@ { "name": "setScreenRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L61", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L61", "visibility": "Public", "summary": "Modifies the screen range for the selection.", "description": "Modifies the screen range for the selection.\n\nscreenRange - The new {Range} to use.\noptions - A hash of options matching those found in {::setBufferRange}. " @@ -4276,7 +4276,7 @@ { "name": "getBufferRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L65", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L65", "visibility": "Public", "summary": "Returns the buffer {Range} for the selection. ", "description": "Returns the buffer {Range} for the selection. " @@ -4284,7 +4284,7 @@ { "name": "setBufferRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L75", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L75", "visibility": "Public", "summary": "Modifies the buffer {Range} for the selection.", "description": "Modifies the buffer {Range} for the selection.\n\nscreenRange - The new {Range} to select.\noptions - An {Object} with the keys:\n :preserveFolds - if `true`, the fold settings are preserved after the\n selection moves.\n :autoscroll - if `true`, the {Editor} scrolls to the new selection. " @@ -4292,7 +4292,7 @@ { "name": "getBufferRowRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L92", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L92", "visibility": "Public", "summary": "Returns the starting and ending buffer rows the selection is\nhighlighting.", "description": "Returns the starting and ending buffer rows the selection is\nhighlighting.", @@ -4306,7 +4306,7 @@ { "name": "getText", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L115", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L115", "visibility": "Public", "summary": "Returns the text in the selection. ", "description": "Returns the text in the selection. " @@ -4314,7 +4314,7 @@ { "name": "clear", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L119", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L119", "visibility": "Public", "summary": "Clears the selection, moving the marker to the head. ", "description": "Clears the selection, moving the marker to the head. " @@ -4322,7 +4322,7 @@ { "name": "selectWord", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L127", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L127", "visibility": "Public", "summary": "Modifies the selection to encompass the current word.", "description": "Modifies the selection to encompass the current word.", @@ -4336,7 +4336,7 @@ { "name": "expandOverWord", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L139", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L139", "visibility": "Public", "summary": "Expands the newest selection to include the entire word on which\nthe cursors rests. ", "description": "Expands the newest selection to include the entire word on which\nthe cursors rests. " @@ -4344,7 +4344,7 @@ { "name": "selectLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L145", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L145", "visibility": "Public", "summary": "Selects an entire line in the buffer.", "description": "Selects an entire line in the buffer.\n\nrow - The line {Number} to select (default: the row of the cursor). " @@ -4352,7 +4352,7 @@ { "name": "expandOverLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L156", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L156", "visibility": "Public", "summary": "Expands the newest selection to include the entire line on which\nthe cursor currently rests.", "description": "Expands the newest selection to include the entire line on which\nthe cursor currently rests.\n\nIt also includes the newline character. " @@ -4360,7 +4360,7 @@ { "name": "selectToScreenPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L164", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L164", "visibility": "Public", "summary": "Selects the text from the current cursor position to a given screen\nposition.", "description": "Selects the text from the current cursor position to a given screen\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " @@ -4368,7 +4368,7 @@ { "name": "selectToBufferPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L185", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L185", "visibility": "Public", "summary": "Selects the text from the current cursor position to a given buffer\nposition.", "description": "Selects the text from the current cursor position to a given buffer\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " @@ -4376,7 +4376,7 @@ { "name": "selectRight", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L189", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L189", "visibility": "Public", "summary": "Selects the text one position right of the cursor. ", "description": "Selects the text one position right of the cursor. " @@ -4384,7 +4384,7 @@ { "name": "selectLeft", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L193", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L193", "visibility": "Public", "summary": "Selects the text one position left of the cursor. ", "description": "Selects the text one position left of the cursor. " @@ -4392,7 +4392,7 @@ { "name": "selectUp", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L197", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L197", "visibility": "Public", "summary": "Selects all the text one position above the cursor. ", "description": "Selects all the text one position above the cursor. " @@ -4400,7 +4400,7 @@ { "name": "selectDown", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L201", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L201", "visibility": "Public", "summary": "Selects all the text one position below the cursor. ", "description": "Selects all the text one position below the cursor. " @@ -4408,7 +4408,7 @@ { "name": "selectToTop", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L206", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L206", "visibility": "Public", "summary": "Selects all the text from the current cursor position to the top of\nthe buffer. ", "description": "Selects all the text from the current cursor position to the top of\nthe buffer. " @@ -4416,7 +4416,7 @@ { "name": "selectToBottom", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L211", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L211", "visibility": "Public", "summary": "Selects all the text from the current cursor position to the bottom\nof the buffer. ", "description": "Selects all the text from the current cursor position to the bottom\nof the buffer. " @@ -4424,7 +4424,7 @@ { "name": "selectAll", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L215", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L215", "visibility": "Public", "summary": "Selects all the text in the buffer. ", "description": "Selects all the text in the buffer. " @@ -4432,7 +4432,7 @@ { "name": "selectToBeginningOfLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L220", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L220", "visibility": "Public", "summary": "Selects all the text from the current cursor position to the\nbeginning of the line. ", "description": "Selects all the text from the current cursor position to the\nbeginning of the line. " @@ -4440,7 +4440,7 @@ { "name": "selectToFirstCharacterOfLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L225", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L225", "visibility": "Public", "summary": "Selects all the text from the current cursor position to the first\ncharacter of the line. ", "description": "Selects all the text from the current cursor position to the first\ncharacter of the line. " @@ -4448,7 +4448,7 @@ { "name": "selectToEndOfLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L230", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L230", "visibility": "Public", "summary": "Selects all the text from the current cursor position to the end of\nthe line. ", "description": "Selects all the text from the current cursor position to the end of\nthe line. " @@ -4456,7 +4456,7 @@ { "name": "selectToBeginningOfWord", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L235", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L235", "visibility": "Public", "summary": "Selects all the text from the current cursor position to the\nbeginning of the word. ", "description": "Selects all the text from the current cursor position to the\nbeginning of the word. " @@ -4464,7 +4464,7 @@ { "name": "selectToEndOfWord", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L240", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L240", "visibility": "Public", "summary": "Selects all the text from the current cursor position to the end of\nthe word. ", "description": "Selects all the text from the current cursor position to the end of\nthe word. " @@ -4472,7 +4472,7 @@ { "name": "selectToBeginningOfNextWord", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L245", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L245", "visibility": "Public", "summary": "Selects all the text from the current cursor position to the\nbeginning of the next word. ", "description": "Selects all the text from the current cursor position to the\nbeginning of the next word. " @@ -4480,7 +4480,7 @@ { "name": "selectToPreviousWordBoundary", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L249", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L249", "visibility": "Public", "summary": "Selects text to the previous word boundary. ", "description": "Selects text to the previous word boundary. " @@ -4488,7 +4488,7 @@ { "name": "selectToNextWordBoundary", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L253", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L253", "visibility": "Public", "summary": "Selects text to the next word boundary. ", "description": "Selects text to the next word boundary. " @@ -4496,7 +4496,7 @@ { "name": "selectToBeginningOfNextParagraph", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L258", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L258", "visibility": "Public", "summary": "Selects all the text from the current cursor position to the\nbeginning of the next paragraph. ", "description": "Selects all the text from the current cursor position to the\nbeginning of the next paragraph. " @@ -4504,7 +4504,7 @@ { "name": "selectToBeginningOfPreviousParagraph", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L263", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L263", "visibility": "Public", "summary": "Selects all the text from the current cursor position to the\nbeginning of the previous paragraph. ", "description": "Selects all the text from the current cursor position to the\nbeginning of the previous paragraph. " @@ -4512,7 +4512,7 @@ { "name": "addSelectionBelow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L267", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L267", "visibility": "Public", "summary": "Moves the selection down one row. ", "description": "Moves the selection down one row. " @@ -4520,7 +4520,7 @@ { "name": "addSelectionAbove", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L290", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L290", "visibility": "Public", "summary": "Moves the selection up one row. ", "description": "Moves the selection up one row. " @@ -4528,7 +4528,7 @@ { "name": "insertText", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L317", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L317", "visibility": "Public", "summary": "Replaces text at the current selection.", "description": "Replaces text at the current selection.\n\ntext - A {String} representing the text to add\noptions - An {Object} with keys:\n :select - if `true`, selects the newly added text.\n :autoIndent - if `true`, indents all inserted text appropriately.\n :autoIndentNewline - if `true`, indent newline appropriately.\n :autoDecreaseIndent - if `true`, decreases indent level appropriately\n (for example, when a closing bracket is inserted).\n :undo - if `skip`, skips the undo stack for this operation. " @@ -4536,7 +4536,7 @@ { "name": "normalizeIndents", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L350", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L350", "visibility": "Public", "summary": "Indents the given text to the suggested level based on the grammar.", "description": "Indents the given text to the suggested level based on the grammar.\n\ntext - The {String} to indent within the selection.\nindentBasis - The beginning indent level. " @@ -4544,7 +4544,7 @@ { "name": "indentSelectedRows", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L400", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L400", "visibility": "Public", "summary": "If the selection spans multiple rows, indent all of them. ", "description": "If the selection spans multiple rows, indent all of them. " @@ -4552,7 +4552,7 @@ { "name": "setIndentationForLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L406", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L406", "visibility": "Public", "summary": "? ", "description": "? " @@ -4560,7 +4560,7 @@ { "name": "backspace", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L413", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L413", "visibility": "Public", "summary": "Removes the first character before the selection if the selection\nis empty otherwise it deletes the selection. ", "description": "Removes the first character before the selection if the selection\nis empty otherwise it deletes the selection. " @@ -4568,7 +4568,7 @@ { "name": "deleteToBeginningOfWord", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L429", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L429", "visibility": "Public", "summary": "Removes from the start of the selection to the beginning of the\ncurrent word if the selection is empty otherwise it deletes the selection. ", "description": "Removes from the start of the selection to the beginning of the\ncurrent word if the selection is empty otherwise it deletes the selection. " @@ -4576,7 +4576,7 @@ { "name": "deleteToBeginningOfLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L435", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L435", "visibility": "Public", "summary": "Removes from the beginning of the line which the selection begins on\nall the way through to the end of the selection. ", "description": "Removes from the beginning of the line which the selection begins on\nall the way through to the end of the selection. " @@ -4584,7 +4584,7 @@ { "name": "deleteToEndOfLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L456", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L456", "visibility": "Public", "summary": "If the selection is empty, removes all text from the cursor to the\nend of the line. If the cursor is already at the end of the line, it\nremoves the following newline. If the selection isn't empty, only deletes\nthe contents of the selection. ", "description": "If the selection is empty, removes all text from the cursor to the\nend of the line. If the cursor is already at the end of the line, it\nremoves the following newline. If the selection isn't empty, only deletes\nthe contents of the selection. " @@ -4592,7 +4592,7 @@ { "name": "deleteToEndOfWord", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L463", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L463", "visibility": "Public", "summary": "Removes the selection or all characters from the start of the\nselection to the end of the current word if nothing is selected. ", "description": "Removes the selection or all characters from the start of the\nselection to the end of the current word if nothing is selected. " @@ -4600,7 +4600,7 @@ { "name": "deleteSelectedText", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L468", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L468", "visibility": "Public", "summary": "Removes only the selected text. ", "description": "Removes only the selected text. " @@ -4608,7 +4608,7 @@ { "name": "deleteLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L478", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L478", "visibility": "Public", "summary": "Removes the line at the beginning of the selection if the selection\nis empty unless the selection spans multiple lines in which case all lines\nare removed. ", "description": "Removes the line at the beginning of the selection if the selection\nis empty unless the selection spans multiple lines in which case all lines\nare removed. " @@ -4616,7 +4616,7 @@ { "name": "joinLines", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L497", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L497", "visibility": "Public", "summary": "Joins the current line with the one below it.", "description": "Joins the current line with the one below it.\n\nIf there selection spans more than one line, all the lines are joined together. " @@ -4624,7 +4624,7 @@ { "name": "outdentSelectedRows", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L523", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L523", "visibility": "Public", "summary": "Removes one level of indent from the currently selected rows. ", "description": "Removes one level of indent from the currently selected rows. " @@ -4632,7 +4632,7 @@ { "name": "autoIndentSelectedRows", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L533", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L533", "visibility": "Public", "summary": "Sets the indentation level of all selected rows to values suggested\nby the relevant grammars. ", "description": "Sets the indentation level of all selected rows to values suggested\nby the relevant grammars. " @@ -4640,7 +4640,7 @@ { "name": "toggleLineComments", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L543", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L543", "visibility": "Public", "summary": "Wraps the selected lines in comments if they aren't currently part\nof a comment.", "description": "Wraps the selected lines in comments if they aren't currently part\nof a comment.\n\nRemoves the comment if they are currently wrapped in a comment.", @@ -4654,7 +4654,7 @@ { "name": "cutToEndOfLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L547", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L547", "visibility": "Public", "summary": "Cuts the selection until the end of the line. ", "description": "Cuts the selection until the end of the line. " @@ -4662,7 +4662,7 @@ { "name": "cut", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L552", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L552", "visibility": "Public", "summary": "Copies the selection to the clipboard and then deletes it. ", "description": "Copies the selection to the clipboard and then deletes it. " @@ -4670,7 +4670,7 @@ { "name": "copy", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L562", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L562", "visibility": "Public", "summary": "Copies the current selection to the clipboard.", "description": "Copies the current selection to the clipboard.\n\nIf the `maintainClipboard` is set to `true`, a specific metadata property\nis created to store each content copied to the clipboard. The clipboard\n`text` still contains the concatenation of the clipboard with the\ncurrent selection. " @@ -4678,7 +4678,7 @@ { "name": "fold", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L580", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L580", "visibility": "Public", "summary": "Creates a fold containing the current selection. ", "description": "Creates a fold containing the current selection. " @@ -4686,7 +4686,7 @@ { "name": "intersectsBufferRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L604", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L604", "visibility": "Public", "summary": "Identifies if a selection intersects with a given buffer range.", "description": "Identifies if a selection intersects with a given buffer range.\n\nbufferRange - A {Range} to check against.", @@ -4700,7 +4700,7 @@ { "name": "intersectsWith", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L618", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L618", "visibility": "Public", "summary": "Identifies if a selection intersects with another selection.", "description": "Identifies if a selection intersects with another selection.\n\notherSelection - A {Selection} to check against.", @@ -4714,7 +4714,7 @@ { "name": "merge", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L626", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L626", "visibility": "Public", "summary": "Combines the given selection into this selection and then destroys\nthe given selection.", "description": "Combines the given selection into this selection and then destroys\nthe given selection.\n\notherSelection - A {Selection} to merge with.\noptions - A hash of options matching those found in {::setBufferRange}. " @@ -4722,7 +4722,7 @@ { "name": "compare", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/selection.coffee#L642", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L642", "visibility": "Public", "summary": "Compare this selection's buffer range to another selection's buffer\nrange.", "description": "Compare this selection's buffer range to another selection's buffer\nrange.\n\nSee {Range::compare} for more details.\n\notherSelection - A {Selection} to compare against. " @@ -4735,14 +4735,14 @@ "Syntax": { "name": "Syntax", "filename": "src/syntax.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/syntax.coffee#L19", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/syntax.coffee#L19", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "getProperty", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/syntax.coffee#L68", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/syntax.coffee#L68", "visibility": "Public", "summary": "Get a property for the given scope and key path.", "description": "Get a property for the given scope and key path.\n\n## Example\n\n```coffee\ncomment = atom.syntax.getProperty(['.source.ruby'], 'editor.commentStart')\nconsole.log(comment) # '# '\n```\n\nscope - An {Array} of {String} scopes.\nkeyPath - A {String} key path.", @@ -4761,13 +4761,13 @@ "Task": { "name": "Task", "filename": "src/task.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/task.coffee#L22", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/task.coffee#L22", "sections": [], "classMethods": [ { "name": "once", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/task.coffee#L30", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/task.coffee#L30", "visibility": "Public", "summary": "A helper method to easily launch and run a task once.", "description": "A helper method to easily launch and run a task once.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file which\n exports a single {Function} to execute.\nargs - The arguments to pass to the exported function. " @@ -4777,7 +4777,7 @@ { "name": "constructor", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/task.coffee#L48", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/task.coffee#L48", "visibility": "Public", "summary": "Creates a task.", "description": "Creates a task.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file that\n exports a single {Function} to execute. " @@ -4785,7 +4785,7 @@ { "name": "start", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/task.coffee#L83", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/task.coffee#L83", "visibility": "Public", "summary": "Starts the task.", "description": "Starts the task.\n\nargs - The arguments to pass to the function exported by this task's script.\ncallback - An optional {Function} to call when the task completes. " @@ -4793,7 +4793,7 @@ { "name": "send", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/task.coffee#L96", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/task.coffee#L96", "visibility": "Public", "summary": "Send message to the task.", "description": "Send message to the task.\n\nmessage - The message to send to the task. " @@ -4801,7 +4801,7 @@ { "name": "terminate", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/task.coffee#L103", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/task.coffee#L103", "visibility": "Public", "summary": "Forcefully stop the running task.", "description": "Forcefully stop the running task.\n\nNo events are emitted. " @@ -4818,14 +4818,14 @@ "ThemeManager": { "name": "ThemeManager", "filename": "src/theme-manager.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/theme-manager.coffee#L16", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/theme-manager.coffee#L16", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "getLoadedNames", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/theme-manager.coffee#L28", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/theme-manager.coffee#L28", "visibility": "Public", "summary": "Get an array of all the loaded theme names. ", "description": "Get an array of all the loaded theme names. " @@ -4833,7 +4833,7 @@ { "name": "getActiveNames", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/theme-manager.coffee#L32", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/theme-manager.coffee#L32", "visibility": "Public", "summary": "Get an array of all the active theme names. ", "description": "Get an array of all the active theme names. " @@ -4841,7 +4841,7 @@ { "name": "getActiveThemes", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/theme-manager.coffee#L36", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/theme-manager.coffee#L36", "visibility": "Public", "summary": "Get an array of all the active themes. ", "description": "Get an array of all the active themes. " @@ -4849,7 +4849,7 @@ { "name": "getLoadedThemes", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/theme-manager.coffee#L40", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/theme-manager.coffee#L40", "visibility": "Public", "summary": "Get an array of all the loaded themes. ", "description": "Get an array of all the loaded themes. " @@ -4857,7 +4857,7 @@ { "name": "setEnabledThemes", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/theme-manager.coffee#L94", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/theme-manager.coffee#L94", "visibility": "Public", "summary": "Set the list of enabled themes.", "description": "Set the list of enabled themes.\n\nenabledThemeNames - An {Array} of {String} theme names. " @@ -4865,7 +4865,7 @@ { "name": "getUserStylesheetPath", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/theme-manager.coffee#L110", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/theme-manager.coffee#L110", "visibility": "Public", "summary": "Returns the {String} path to the user's stylesheet under ~/.atom ", "description": "Returns the {String} path to the user's stylesheet under ~/.atom " @@ -4873,7 +4873,7 @@ { "name": "requireStylesheet", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/theme-manager.coffee#L161", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/theme-manager.coffee#L161", "visibility": "Public", "summary": "Resolve and apply the stylesheet specified by the path.", "description": "Resolve and apply the stylesheet specified by the path.\n\nThis supports both CSS and LESS stylsheets.\n\nstylesheetPath - A {String} path to the stylesheet that can be an absolute\n path or a relative path that will be resolved against the\n load path.", @@ -4892,14 +4892,14 @@ "WorkspaceView": { "name": "WorkspaceView", "filename": "src/workspace-view.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L56", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L56", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "getModel", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L169", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L169", "visibility": "Public", "summary": "Get the underlying model object.", "description": "Get the underlying model object.", @@ -4913,7 +4913,7 @@ { "name": "installShellCommands", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L172", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L172", "visibility": "Public", "summary": "Install the Atom shell commands on the user's system. ", "description": "Install the Atom shell commands on the user's system. " @@ -4921,7 +4921,7 @@ { "name": "prependToTop", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L239", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L239", "visibility": "Public", "summary": "Prepend an element or view to the panels at the top of the\nworkspace. ", "description": "Prepend an element or view to the panels at the top of the\nworkspace. " @@ -4929,7 +4929,7 @@ { "name": "appendToTop", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L243", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L243", "visibility": "Public", "summary": "Append an element or view to the panels at the top of the workspace. ", "description": "Append an element or view to the panels at the top of the workspace. " @@ -4937,7 +4937,7 @@ { "name": "prependToBottom", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L248", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L248", "visibility": "Public", "summary": "Prepend an element or view to the panels at the bottom of the\nworkspace. ", "description": "Prepend an element or view to the panels at the bottom of the\nworkspace. " @@ -4945,7 +4945,7 @@ { "name": "appendToBottom", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L253", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L253", "visibility": "Public", "summary": "Append an element or view to the panels at the bottom of the\nworkspace. ", "description": "Append an element or view to the panels at the bottom of the\nworkspace. " @@ -4953,7 +4953,7 @@ { "name": "prependToLeft", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L258", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L258", "visibility": "Public", "summary": "Prepend an element or view to the panels at the left of the\nworkspace. ", "description": "Prepend an element or view to the panels at the left of the\nworkspace. " @@ -4961,7 +4961,7 @@ { "name": "appendToLeft", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L263", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L263", "visibility": "Public", "summary": "Append an element or view to the panels at the left of the\nworkspace. ", "description": "Append an element or view to the panels at the left of the\nworkspace. " @@ -4969,7 +4969,7 @@ { "name": "prependToRight", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L268", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L268", "visibility": "Public", "summary": "Prepend an element or view to the panels at the right of the\nworkspace. ", "description": "Prepend an element or view to the panels at the right of the\nworkspace. " @@ -4977,7 +4977,7 @@ { "name": "appendToRight", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L273", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L273", "visibility": "Public", "summary": "Append an element or view to the panels at the right of the\nworkspace. ", "description": "Append an element or view to the panels at the right of the\nworkspace. " @@ -4985,7 +4985,7 @@ { "name": "getActivePaneView", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L282", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L282", "visibility": "Public", "summary": "Get the active pane view.", "description": "Get the active pane view.\n\nPrefer {Workspace::getActivePane} if you don't actually need access to the\nview.", @@ -4999,7 +4999,7 @@ { "name": "getActiveView", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L288", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L288", "visibility": "Public", "summary": "Get the view associated with the active pane item.", "description": "Get the view associated with the active pane item.", @@ -5013,7 +5013,7 @@ { "name": "focusPaneViewAbove", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L298", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L298", "visibility": "Public", "summary": "Focus the pane directly above the active pane. ", "description": "Focus the pane directly above the active pane. " @@ -5021,7 +5021,7 @@ { "name": "focusPaneViewBelow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L301", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L301", "visibility": "Public", "summary": "Focus the pane directly below the active pane. ", "description": "Focus the pane directly below the active pane. " @@ -5029,7 +5029,7 @@ { "name": "focusPaneViewOnLeft", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L304", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L304", "visibility": "Public", "summary": "Focus the pane directly to the left of the active pane. ", "description": "Focus the pane directly to the left of the active pane. " @@ -5037,7 +5037,7 @@ { "name": "focusPaneViewOnRight", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L307", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L307", "visibility": "Public", "summary": "Focus the pane directly to the right of the active pane. ", "description": "Focus the pane directly to the right of the active pane. " @@ -5045,7 +5045,7 @@ { "name": "eachPaneView", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L316", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L316", "visibility": "Public", "summary": "Register a function to be called for every current and future\npane view in the workspace.", "description": "Register a function to be called for every current and future\npane view in the workspace.\n\ncallback - A {Function} with a {PaneView} as its only argument.", @@ -5059,7 +5059,7 @@ { "name": "getPaneViews", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L326", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L326", "visibility": "Public", "summary": "Get all existing pane views.", "description": "Get all existing pane views.\n\nPrefer {Workspace::getPanes} if you don't need access to the view objects.\nAlso consider using {::eachPaneView} if you want to register a callback for\nall current and *future* pane views.", @@ -5073,7 +5073,7 @@ { "name": "eachEditorView", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace-view.coffee#L337", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L337", "visibility": "Public", "summary": "Register a function to be called for every current and future\neditor view in the workspace (only includes {EditorView}s that are pane\nitems).", "description": "Register a function to be called for every current and future\neditor view in the workspace (only includes {EditorView}s that are pane\nitems).\n\ncallback - A {Function} with an {EditorView} as its only argument.", @@ -5092,14 +5092,14 @@ "Workspace": { "name": "Workspace", "filename": "src/workspace.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L19", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L19", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "eachEditor", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L85", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L85", "visibility": "Public", "summary": "Register a function to be called for every current and future\n{Editor} in the workspace.", "description": "Register a function to be called for every current and future\n{Editor} in the workspace.\n\ncallback - A {Function} with an {Editor} as its only argument.", @@ -5113,7 +5113,7 @@ { "name": "getEditors", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L92", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L92", "visibility": "Public", "summary": "Get all current editors in the workspace.", "description": "Get all current editors in the workspace.", @@ -5127,7 +5127,7 @@ { "name": "open", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L119", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L119", "visibility": "Public", "summary": "Open a given a URI in Atom asynchronously.", "description": "Open a given a URI in Atom asynchronously.\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :split - Either 'left' or 'right'. If 'left', the item will be opened in\n leftmost pane of the current active pane's row. If 'right', the\n item will be opened in the rightmost pane of the current active\n pane's row.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`.\n :searchAllPanes - A {Boolean}. If `true`, the workspace will attempt to\n activate an existing item for the given URI on any pane.\n If `false`, only the active pane will be searched for\n an existing item for the same URI. Defaults to `false`.", @@ -5141,7 +5141,7 @@ { "name": "openLicense", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L136", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L136", "visibility": "Public", "summary": "Open Atom's license in the active pane. ", "description": "Open Atom's license in the active pane. " @@ -5149,7 +5149,7 @@ { "name": "reopenItem", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L194", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L194", "visibility": "Public", "summary": "Asynchronously reopens the last-closed item's URI if it hasn't already been\nreopened.", "description": "Asynchronously reopens the last-closed item's URI if it hasn't already been\nreopened.", @@ -5163,7 +5163,7 @@ { "name": "registerOpener", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L218", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L218", "visibility": "Public", "summary": "Register an opener for a uri.", "description": "Register an opener for a uri.\n\nAn {Editor} will be used if no openers return a value.\n\n## Example\n\n```coffeescript\n atom.project.registerOpener (uri) ->\n if path.extname(uri) is '.toml'\n return new TomlEditor(uri)\n```\n\nopener - A {Function} to be called when a path is being opened. " @@ -5171,7 +5171,7 @@ { "name": "unregisterOpener", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L222", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L222", "visibility": "Public", "summary": "Unregister an opener registered with {::registerOpener}. ", "description": "Unregister an opener registered with {::registerOpener}. " @@ -5179,7 +5179,7 @@ { "name": "getActivePane", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L231", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L231", "visibility": "Public", "summary": "Get the active {Pane}.", "description": "Get the active {Pane}.", @@ -5193,7 +5193,7 @@ { "name": "getPanes", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L237", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L237", "visibility": "Public", "summary": "Get all {Pane}s.", "description": "Get all {Pane}s.", @@ -5207,7 +5207,7 @@ { "name": "saveAll", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L241", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L241", "visibility": "Public", "summary": "Save all pane items. ", "description": "Save all pane items. " @@ -5215,7 +5215,7 @@ { "name": "activateNextPane", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L245", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L245", "visibility": "Public", "summary": "Make the next pane active. ", "description": "Make the next pane active. " @@ -5223,7 +5223,7 @@ { "name": "activatePreviousPane", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L249", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L249", "visibility": "Public", "summary": "Make the previous pane active. ", "description": "Make the previous pane active. " @@ -5231,7 +5231,7 @@ { "name": "paneForUri", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L255", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L255", "visibility": "Public", "summary": "Get the first pane {Pane} with an item for the given URI.", "description": "Get the first pane {Pane} with an item for the given URI.", @@ -5245,7 +5245,7 @@ { "name": "getActivePaneItem", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L261", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L261", "visibility": "Public", "summary": "Get the active {Pane}'s active item.", "description": "Get the active {Pane}'s active item.", @@ -5259,7 +5259,7 @@ { "name": "saveActivePaneItem", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L270", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L270", "visibility": "Public", "summary": "Save the active pane item.", "description": "Save the active pane item.\n\nIf the active pane item currently has a URI according to the item's\n`.getUri` method, calls `.save` on the item. Otherwise\n{::saveActivePaneItemAs} # will be called instead. This method does nothing\nif the active item does not implement a `.save` method. " @@ -5267,7 +5267,7 @@ { "name": "saveActivePaneItemAs", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L278", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L278", "visibility": "Public", "summary": "Prompt the user for a path and save the active pane item to it.", "description": "Prompt the user for a path and save the active pane item to it.\n\nOpens a native dialog where the user selects a path on disk, then calls\n`.saveAs` on the item with the selected path. This method does nothing if\nthe active item does not implement a `.saveAs` method. " @@ -5275,7 +5275,7 @@ { "name": "destroyActivePaneItem", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L285", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L285", "visibility": "Public", "summary": "Destroy (close) the active pane item.", "description": "Destroy (close) the active pane item.\n\nRemoves the active pane item and calls the `.destroy` method on it if one is\ndefined. " @@ -5283,7 +5283,7 @@ { "name": "destroyActivePane", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L289", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L289", "visibility": "Public", "summary": "Destroy (close) the active pane. ", "description": "Destroy (close) the active pane. " @@ -5291,7 +5291,7 @@ { "name": "getActiveEditor", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L296", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L296", "visibility": "Public", "summary": "Get the active item if it is an {Editor}.", "description": "Get the active item if it is an {Editor}.", @@ -5305,7 +5305,7 @@ { "name": "increaseFontSize", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L300", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L300", "visibility": "Public", "summary": "Increase the editor font size by 1px. ", "description": "Increase the editor font size by 1px. " @@ -5313,7 +5313,7 @@ { "name": "decreaseFontSize", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L304", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L304", "visibility": "Public", "summary": "Decrease the editor font size by 1px. ", "description": "Decrease the editor font size by 1px. " @@ -5321,7 +5321,7 @@ { "name": "resetFontSize", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/workspace.coffee#L309", + "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L309", "visibility": "Public", "summary": "Restore to a default editor font size. ", "description": "Restore to a default editor font size. " @@ -5334,13 +5334,13 @@ "KeymapManager": { "name": "KeymapManager", "filename": "src/keymap-manager.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L85", + "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L85", "sections": [], "classMethods": [ { "name": "keydownEvent", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L100", + "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L100", "visibility": "Public", "summary": "Create a keydown DOM event for testing purposes.", "description": "Create a keydown DOM event for testing purposes.\n\nkey - The key or keyIdentifier of the event. For example, 'a', '1',\n 'escape', 'backspace', etc.\noptions - An {Object} containing any of the following:\n :ctrl - A {Boolean} indicating the ctrl modifier key\n :alt - A {Boolean} indicating the alt modifier key\n :shift - A {Boolean} indicating the shift modifier key\n :cmd - A {Boolean} indicating the cmd modifier key\n :which - A {Number} indicating `which` value of the event. See\n the docs for KeyboardEvent for more information.\n :target - The target element of the event. " @@ -5350,7 +5350,7 @@ { "name": "constructor", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L118", + "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L118", "visibility": "Public", "summary": "", "description": "\n\noptions - An {Object} containing properties to assign to the keymap: You can\n pass custom properties to be used by extension methods. The following\n properties are also supported:\n :defaultTarget - This will be used as the target of events whose target\n is `document.body` to allow for a catch-all element when nothing is\n focused " @@ -5358,7 +5358,7 @@ { "name": "destroy", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L126", + "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L126", "visibility": "Public", "summary": "Unwatch all watched paths. ", "description": "Unwatch all watched paths. " @@ -5366,7 +5366,7 @@ { "name": "getKeyBindings", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L133", + "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L133", "visibility": "Public", "summary": "Get all current key bindings.", "description": "Get all current key bindings.", @@ -5380,7 +5380,7 @@ { "name": "add", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L142", + "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L142", "visibility": "Public", "summary": "Add sets of key bindings grouped by CSS selector.", "description": "Add sets of key bindings grouped by CSS selector.\n\nsource - A {String} (usually a path) uniquely identifying the given bindings\n so they can be removed later.\nbindings - An {Object} whose top-level keys point at sub-objects mapping\n keystroke patterns to commands. " @@ -5388,7 +5388,7 @@ { "name": "loadKeymap", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L165", + "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L165", "visibility": "Public", "summary": "Load the key bindings from the given path.", "description": "Load the key bindings from the given path.\n\npath - A {String} containing a path to a file or a directory. If the path is\n a directory, all files inside it will be loaded.\noptions - An {Object} containing the following optional keys:\n :watch - If `true`, the keymap will also reload the file at the given path\n whenever it changes. This option cannot be used with directory paths. " @@ -5396,7 +5396,7 @@ { "name": "watchKeymap", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L180", + "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L180", "visibility": "Public", "summary": "Cause the keymap to reload the key bindings file at the given path\nwhenever it changes.", "description": "Cause the keymap to reload the key bindings file at the given path\nwhenever it changes.\n\nThis method doesn't perform the initial load of the key bindings file. If\nthat's what you're looking for, call {::loadKeymap} with `watch: true`. " @@ -5404,7 +5404,7 @@ { "name": "remove", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L191", + "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L191", "visibility": "Public", "summary": "Remove the key bindings added with {::addKeymap} or\n{::loadKeymap}.", "description": "Remove the key bindings added with {::addKeymap} or\n{::loadKeymap}.\n\nsource - A {String} representing the `source` in a previous call to\n {::addKeymap} or the path in {::loadKeymap}. " @@ -5412,7 +5412,7 @@ { "name": "handleKeyboardEvent", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L213", + "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L213", "visibility": "Public", "summary": "Dispatch a custom event associated with the matching key binding for\nthe given `KeyboardEvent` if one can be found.", "description": "Dispatch a custom event associated with the matching key binding for\nthe given `KeyboardEvent` if one can be found.\n\nIf a matching binding is found on the event's target or one of its\nancestors, `.preventDefault()` is called on the keyboard event and the\nbinding's command is emitted as a custom event on the matching element.\n\nIf the matching binding's command is 'native!', the method will terminate\nwithout calling `.preventDefault()` on the keyboard event, allowing the\nbrowser to handle it as normal.\n\nIf the matching binding's command is 'unset!', the search will continue from\nthe current element's parent.\n\nIf the matching binding's command is 'abort!', the search will terminate\nwithout dispatching a command event.\n\nIf the event's target is `document.body`, it will be treated as if its\ntarget is `.defaultTarget` if that property is assigned on the keymap. " @@ -5420,7 +5420,7 @@ { "name": "findKeyBindings", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L290", + "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L290", "visibility": "Public", "summary": "Get the key bindings for a given command and optional target.", "description": "Get the key bindings for a given command and optional target.\n\nparams - An {Object} whose keys constrain the binding search:\n :keystrokes - A {String} representing one or more keystrokes, such as\n 'ctrl-x ctrl-s'\n :command - A {String} representing the name of a command, such as\n 'editor:backspace'\n :target - An optional DOM element constraining the search. If this\n parameter is supplied, the call will only return bindings that can be\n invoked by a KeyboardEvent originating from the target element. " @@ -5428,7 +5428,7 @@ { "name": "keystrokeForKeyboardEvent", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/keymap-manager.coffee#L461", + "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L461", "visibility": "Public", "summary": "Translate a keydown event to a keystroke string.", "description": "Translate a keydown event to a keystroke string.\n\nevent - A `KeyboardEvent` of type 'keydown'", @@ -5513,14 +5513,14 @@ "GrammarRegistry": { "name": "GrammarRegistry", "filename": "src/grammar-registry.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L10", + "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L10", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "getGrammars", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L25", + "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L25", "visibility": "Public", "summary": "Get all the grammars in this registry.", "description": "Get all the grammars in this registry.", @@ -5534,7 +5534,7 @@ { "name": "grammarForScopeName", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L33", + "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L33", "visibility": "Public", "summary": "Get a grammar with the given scope name.", "description": "Get a grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`.", @@ -5548,7 +5548,7 @@ { "name": "removeGrammar", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L39", + "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L39", "visibility": "Public", "summary": "Remove a grammar from this registry.", "description": "Remove a grammar from this registry.\n\ngrammar - The {Grammar} to remove. " @@ -5556,7 +5556,7 @@ { "name": "removeGrammarForScopeName", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L48", + "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L48", "visibility": "Public", "summary": "Remove the grammar with the given scope name.", "description": "Remove the grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`. " @@ -5564,7 +5564,7 @@ { "name": "addGrammar", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L58", + "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L58", "visibility": "Public", "summary": "Add a grammar to this registry.", "description": "Add a grammar to this registry.\n\nA 'grammar-added' event is emitted after the grammar is added.\n\ngrammar - The {Grammar} to add. This should be a value previously returned\n from {::readGrammar} or {::readGrammarSync}. " @@ -5572,7 +5572,7 @@ { "name": "readGrammarSync", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L70", + "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L70", "visibility": "Public", "summary": "Read a grammar synchronously but don't add it to the registry.", "description": "Read a grammar synchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.", @@ -5586,7 +5586,7 @@ { "name": "readGrammar", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L82", + "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L82", "visibility": "Public", "summary": "Read a grammar asynchronously but don't add it to the registry.", "description": "Read a grammar asynchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " @@ -5594,7 +5594,7 @@ { "name": "loadGrammarSync", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L97", + "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L97", "visibility": "Public", "summary": "Read a grammar synchronously and add it to this registry.", "description": "Read a grammar synchronously and add it to this registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.", @@ -5608,7 +5608,7 @@ { "name": "loadGrammar", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L107", + "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L107", "visibility": "Public", "summary": "Read a grammar asynchronously and add it to the registry.", "description": "Read a grammar asynchronously and add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " @@ -5616,7 +5616,7 @@ { "name": "grammarOverrideForPath", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L120", + "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L120", "visibility": "Public", "summary": "Get the grammar override for the given file path.", "description": "Get the grammar override for the given file path.\n\nfilePath - A {String} file path.", @@ -5630,7 +5630,7 @@ { "name": "setGrammarOverrideForPath", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L129", + "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L129", "visibility": "Public", "summary": "Set the grammar override for the given file path.", "description": "Set the grammar override for the given file path.\n\nfilePath - A non-empty {String} file path.\nscopeName - A {String} such as `\"source.js\"`.", @@ -5644,7 +5644,7 @@ { "name": "clearGrammarOverrideForPath", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L136", + "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L136", "visibility": "Public", "summary": "Remove the grammar override for the given file path.", "description": "Remove the grammar override for the given file path.\n\nfilePath - A {String} file path. " @@ -5652,7 +5652,7 @@ { "name": "clearGrammarOverrides", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L140", + "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L140", "visibility": "Public", "summary": "Remove all grammar overrides. ", "description": "Remove all grammar overrides. " @@ -5660,7 +5660,7 @@ { "name": "selectGrammar", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar-registry.coffee#L152", + "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L152", "visibility": "Public", "summary": "Select a grammar for the given file path and file contents.", "description": "Select a grammar for the given file path and file contents.\n\nThis picks the best match by checking the file path and contents against\neach grammar.\n\nfilePath - A {String} file path.\nfileContents - A {String} of text for the file path.", @@ -5679,14 +5679,14 @@ "Grammar": { "name": "Grammar", "filename": "src/grammar.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar.coffee#L20", + "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar.coffee#L20", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "tokenizeLines", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar.coffee#L52", + "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar.coffee#L52", "visibility": "Public", "summary": "Tokenize all lines in the given text.", "description": "Tokenize all lines in the given text.\n\ntext - A {String} containing one or more lines.", @@ -5700,7 +5700,7 @@ { "name": "tokenizeLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/grammar.coffee#L74", + "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar.coffee#L74", "visibility": "Public", "summary": "Tokenize the line of text.", "description": "Tokenize the line of text.\n\nline - A {String} of text to tokenize.\nruleStack - An optional {Array} of rules previously returned from this\n method. This should be null when tokenizing the first line in\n the file.\nfirstLine - A {Boolean} denoting whether this is the first line in the file\n which defaults to `false`. This should be `true` when\n tokenizing the first line in the file.", @@ -5719,14 +5719,14 @@ "Directory": { "name": "Directory", "filename": "src/directory.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L12", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L12", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "constructor", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L21", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L21", "visibility": "Public", "summary": "Configures a new Directory instance, no files are accessed.", "description": "Configures a new Directory instance, no files are accessed.\n\ndirectoryPath - A {String} containing the absolute path to the directory.\nsymlink - A {Boolean} indicating if the path is a symlink (default: false). " @@ -5734,7 +5734,7 @@ { "name": "getBaseName", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L40", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L40", "visibility": "Public", "summary": "Returns the {String} basename of the directory. ", "description": "Returns the {String} basename of the directory. " @@ -5742,7 +5742,7 @@ { "name": "getPath", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L47", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L47", "visibility": "Public", "summary": "Returns the directory's symbolic path.", "description": "Returns the directory's symbolic path.\n\nThis may include unfollowed symlinks or relative directory entries. Or it\nmay be fully resolved, it depends on what you give it. " @@ -5750,7 +5750,7 @@ { "name": "isFile", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L50", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L50", "visibility": "Public", "summary": "Distinguishes Files from Directories during traversal. ", "description": "Distinguishes Files from Directories during traversal. " @@ -5758,7 +5758,7 @@ { "name": "isDirectory", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L53", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L53", "visibility": "Public", "summary": "Distinguishes Files from Directories during traversal. ", "description": "Distinguishes Files from Directories during traversal. " @@ -5766,7 +5766,7 @@ { "name": "getFile", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L59", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L59", "visibility": "Public", "summary": "Traverse within this Directory to a child File. This method doesn't\nactually check to see if the File exists, it just creates the File object.", "description": "Traverse within this Directory to a child File. This method doesn't\nactually check to see if the File exists, it just creates the File object.\n\nfilename - The name of a File within this Directory. " @@ -5774,7 +5774,7 @@ { "name": "getSubdirectory", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L67", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L67", "visibility": "Public", "summary": "Traverse within this a Directory to a child Directory. This method\ndoesn't actually check to see if the Directory exists, it just creates the\nDirectory object.", "description": "Traverse within this a Directory to a child Directory. This method\ndoesn't actually check to see if the Directory exists, it just creates the\nDirectory object.\n\ndirname - The name of the child Directory. " @@ -5782,7 +5782,7 @@ { "name": "getParent", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L71", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L71", "visibility": "Public", "summary": "Traverse to the parent Directory. ", "description": "Traverse to the parent Directory. " @@ -5790,7 +5790,7 @@ { "name": "isRoot", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L76", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L76", "visibility": "Public", "summary": "Return true if this {Directory} is the root directory of the\nfilesystem, or false if it isn't. ", "description": "Return true if this {Directory} is the root directory of the\nfilesystem, or false if it isn't. " @@ -5798,7 +5798,7 @@ { "name": "getRealPathSync", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L83", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L83", "visibility": "Public", "summary": "Returns this directory's completely resolved path.", "description": "Returns this directory's completely resolved path.\n\nAll relative directory entries are removed and symlinks are resolved to\ntheir final destination. " @@ -5806,7 +5806,7 @@ { "name": "contains", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L96", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L96", "visibility": "Public", "summary": "Returns whether the given path (real or symbolic) is inside this\ndirectory. This method does not actually check if the path exists, it just\nchecks if the path is under this directory. ", "description": "Returns whether the given path (real or symbolic) is inside this\ndirectory. This method does not actually check if the path exists, it just\nchecks if the path is under this directory. " @@ -5814,7 +5814,7 @@ { "name": "relativize", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L120", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L120", "visibility": "Public", "summary": "Returns the relative path to the given path from this directory. ", "description": "Returns the relative path to the given path from this directory. " @@ -5822,7 +5822,7 @@ { "name": "getEntriesSync", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L155", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L155", "visibility": "Public", "summary": "Reads file entries in this directory from disk synchronously.", "description": "Reads file entries in this directory from disk synchronously.", @@ -5836,7 +5836,7 @@ { "name": "getEntries", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/directory.coffee#L175", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L175", "visibility": "Public", "summary": "Reads file entries in this directory from disk asynchronously.", "description": "Reads file entries in this directory from disk asynchronously.\n\ncallback - A {Function} to call with an {Error} as the 1st argument and\n an {Array} of {File} and {Directory} objects as the 2nd argument. " @@ -5849,14 +5849,14 @@ "File": { "name": "File", "filename": "src/file.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L16", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L16", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "constructor", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L25", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L25", "visibility": "Public", "summary": "Creates a new file.", "description": "Creates a new file.\n\nfilePath - A {String} containing the absolute path to the file\nsymlink - A {Boolean} indicating if the path is a symlink (default: false). " @@ -5864,7 +5864,7 @@ { "name": "isFile", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L50", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L50", "visibility": "Public", "summary": "Distinguishes Files from Directories during traversal. ", "description": "Distinguishes Files from Directories during traversal. " @@ -5872,7 +5872,7 @@ { "name": "isDirectory", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L53", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L53", "visibility": "Public", "summary": "Distinguishes Files from Directories during traversal. ", "description": "Distinguishes Files from Directories during traversal. " @@ -5880,7 +5880,7 @@ { "name": "getPath", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L60", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L60", "visibility": "Public", "summary": "Returns the {String} path for the file. ", "description": "Returns the {String} path for the file. " @@ -5888,7 +5888,7 @@ { "name": "getParent", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L63", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L63", "visibility": "Public", "summary": "Return the {Directory} that contains this file. ", "description": "Return the {Directory} that contains this file. " @@ -5896,7 +5896,7 @@ { "name": "getRealPathSync", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L68", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L68", "visibility": "Public", "summary": "Returns this file's completely resolved path. ", "description": "Returns this file's completely resolved path. " @@ -5904,7 +5904,7 @@ { "name": "getBaseName", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L77", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L77", "visibility": "Public", "summary": "Return the {String} filename without any directory information. ", "description": "Return the {String} filename without any directory information. " @@ -5912,7 +5912,7 @@ { "name": "write", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L81", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L81", "visibility": "Public", "summary": "Overwrites the file with the given String. ", "description": "Overwrites the file with the given String. " @@ -5920,7 +5920,7 @@ { "name": "read", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L102", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L102", "visibility": "Public", "summary": "Reads the contents of the file.", "description": "Reads the contents of the file.\n\nflushCache - A {Boolean} indicating whether to require a direct read or if\n a cached copy is acceptable.", @@ -5934,7 +5934,7 @@ { "name": "exists", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L129", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L129", "visibility": "Public", "summary": "Returns whether the file exists. ", "description": "Returns whether the file exists. " @@ -5942,7 +5942,7 @@ { "name": "getDigest", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/file.coffee#L136", + "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L136", "visibility": "Public", "summary": "Get the SHA-1 digest of this file ", "description": "Get the SHA-1 digest of this file " @@ -5955,13 +5955,13 @@ "View": { "name": "View", "filename": "src/space-pen.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/space-pen.coffee#L59", + "srcUrl": "https://github.com/atom/space-pen/blob/v3.3.0/src/space-pen.coffee#L59", "sections": [], "classMethods": [ { "name": "subview", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/space-pen.coffee#L66", + "srcUrl": "https://github.com/atom/space-pen/blob/v3.3.0/src/space-pen.coffee#L66", "visibility": "Public", "summary": "Add the given subview wired to an outlet with the given name ", "description": "Add the given subview wired to an outlet with the given name " @@ -5969,7 +5969,7 @@ { "name": "text", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/space-pen.coffee#L70", + "srcUrl": "https://github.com/atom/space-pen/blob/v3.3.0/src/space-pen.coffee#L70", "visibility": "Public", "summary": "Add a text node with the given text content ", "description": "Add a text node with the given text content " @@ -5977,7 +5977,7 @@ { "name": "tag", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/space-pen.coffee#L73", + "srcUrl": "https://github.com/atom/space-pen/blob/v3.3.0/src/space-pen.coffee#L73", "visibility": "Public", "summary": "Add a new tag with the given name ", "description": "Add a new tag with the given name " @@ -5985,7 +5985,7 @@ { "name": "raw", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/space-pen.coffee#L76", + "srcUrl": "https://github.com/atom/space-pen/blob/v3.3.0/src/space-pen.coffee#L76", "visibility": "Public", "summary": "Add new child DOM nodes from the given raw HTML string. ", "description": "Add new child DOM nodes from the given raw HTML string. " @@ -5995,7 +5995,7 @@ { "name": "command", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/space-pen.coffee#L168", + "srcUrl": "https://github.com/atom/space-pen/blob/v3.3.0/src/space-pen.coffee#L168", "visibility": "Public", "summary": "Calls the given handler when commandName is triggered on the {View}.", "description": "Calls the given handler when commandName is triggered on the {View}.\n\nThis is enhanced version of jQuery's `::on` method. It listens for a custom\nDOM event and adds metadata to the DOM to maintain a list of all commands.\n\ncommandName - A namespaced {String} describing the command, such as\n `find-and-replace:toggle`.\nselector - An optional selector {String} to filter the descendants of the\n elements that trigger the event.\noptions - An optional options {Object} with an `data` key.\nhandler - A {Function} to execute when the command is triggered. " @@ -6003,7 +6003,7 @@ { "name": "preempt", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/space-pen.coffee#L175", + "srcUrl": "https://github.com/atom/space-pen/blob/v3.3.0/src/space-pen.coffee#L175", "visibility": "Public", "summary": "Preempt events registered with jQuery's `::on`.", "description": "Preempt events registered with jQuery's `::on`.\n\neventName - A event name {String}.\nhandler - A {Function} to execute when the eventName is triggered. " @@ -6016,14 +6016,14 @@ "Marker": { "name": "Marker", "filename": "src/marker.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L60", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L60", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "getRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L122", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L122", "visibility": "Public", "summary": "Returns the current {Range} of the marker. The range is immutable. ", "description": "Returns the current {Range} of the marker. The range is immutable. " @@ -6031,7 +6031,7 @@ { "name": "setRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L131", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L131", "visibility": "Public", "summary": "Sets the range of the marker.", "description": "Sets the range of the marker.\n\nrange - A {Range} or range-compatible {Array}. The range will be clipped\n before it is assigned.\nproperties - An optional hash of properties to associate with the marker.\n :reversed - If true, the marker will to be in a reversed orientation. " @@ -6039,7 +6039,7 @@ { "name": "getHeadPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L138", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L138", "visibility": "Public", "summary": "Returns a {Point} representing the marker's current head position. ", "description": "Returns a {Point} representing the marker's current head position. " @@ -6047,7 +6047,7 @@ { "name": "setHeadPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L149", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L149", "visibility": "Public", "summary": "Sets the head position of the marker.", "description": "Sets the head position of the marker.\n\nposition - A {Point} or point-compatible {Array}. The position will be\n clipped before it is assigned.\nproperties - An optional hash of properties to associate with the marker. " @@ -6055,7 +6055,7 @@ { "name": "getTailPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L174", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L174", "visibility": "Public", "summary": "Returns a {Point} representing the marker's current tail position.\nIf the marker has no tail, the head position will be returned instead. ", "description": "Returns a {Point} representing the marker's current tail position.\nIf the marker has no tail, the head position will be returned instead. " @@ -6063,7 +6063,7 @@ { "name": "setTailPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L189", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L189", "visibility": "Public", "summary": "Sets the head position of the marker. If the marker doesn't have a\ntail, it will after calling this method.", "description": "Sets the head position of the marker. If the marker doesn't have a\ntail, it will after calling this method.\n\nposition - A {Point} or point-compatible {Array}. The position will be\n clipped before it is assigned.\nproperties - An optional hash of properties to associate with the marker. " @@ -6071,7 +6071,7 @@ { "name": "getStartPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L211", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L211", "visibility": "Public", "summary": "Returns a {Point} representing the start position of the marker,\nwhich could be the head or tail position, depending on its orientation. ", "description": "Returns a {Point} representing the start position of the marker,\nwhich could be the head or tail position, depending on its orientation. " @@ -6079,7 +6079,7 @@ { "name": "getEndPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L219", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L219", "visibility": "Public", "summary": "Returns a {Point} representing the end position of the marker,\nwhich could be the head or tail position, depending on its orientation. ", "description": "Returns a {Point} representing the end position of the marker,\nwhich could be the head or tail position, depending on its orientation. " @@ -6087,7 +6087,7 @@ { "name": "clearTail", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L230", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L230", "visibility": "Public", "summary": "Removes the marker's tail. After calling the marker's head position\nwill be reported as its current tail position until the tail is planted\nagain.", "description": "Removes the marker's tail. After calling the marker's head position\nwill be reported as its current tail position until the tail is planted\nagain.\n\nproperties - An optional hash of properties to associate with the marker. " @@ -6095,7 +6095,7 @@ { "name": "plantTail", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L242", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L242", "visibility": "Public", "summary": "Plants the marker's tail at the current head position. After calling\nthe marker's tail position will be its head position at the time of the\ncall, regardless of where the marker's head is moved.", "description": "Plants the marker's tail at the current head position. After calling\nthe marker's tail position will be its head position at the time of the\ncall, regardless of where the marker's head is moved.\n\nproperties - An optional hash of properties to associate with the marker. " @@ -6103,7 +6103,7 @@ { "name": "isReversed", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L250", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L250", "visibility": "Public", "summary": "Returns a {Boolean} indicating whether the head precedes the tail. ", "description": "Returns a {Boolean} indicating whether the head precedes the tail. " @@ -6111,7 +6111,7 @@ { "name": "hasTail", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L254", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L254", "visibility": "Public", "summary": "Returns a {Boolean} indicating whether the marker has a tail. ", "description": "Returns a {Boolean} indicating whether the marker has a tail. " @@ -6119,7 +6119,7 @@ { "name": "isValid", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L260", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L260", "visibility": "Public", "summary": "Is the marker valid?", "description": "Is the marker valid?", @@ -6133,7 +6133,7 @@ { "name": "isDestroyed", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L266", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L266", "visibility": "Public", "summary": "Is the marker destroyed?", "description": "Is the marker destroyed?", @@ -6147,7 +6147,7 @@ { "name": "isEqual", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L271", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L271", "visibility": "Public", "summary": "Returns a {Boolean} indicating whether this marker is equivalent to\nanother marker, meaning they have the same range and options. ", "description": "Returns a {Boolean} indicating whether this marker is equivalent to\nanother marker, meaning they have the same range and options. " @@ -6155,7 +6155,7 @@ { "name": "getInvalidationStrategy", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L279", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L279", "visibility": "Public", "summary": "Get the invalidation strategy for this marker.", "description": "Get the invalidation strategy for this marker.\n\nValid values include: `never`, `surround`, `overlap`, `inside`, and `touch`.", @@ -6169,7 +6169,7 @@ { "name": "getProperties", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L294", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L294", "visibility": "Public", "summary": "Returns an {Object} containing any custom properties associated with\nthe marker. ", "description": "Returns an {Object} containing any custom properties associated with\nthe marker. " @@ -6177,7 +6177,7 @@ { "name": "setProperties", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L299", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L299", "visibility": "Public", "summary": "Merges an {Object} containing new properties into the marker's\nexisting properties. ", "description": "Merges an {Object} containing new properties into the marker's\nexisting properties. " @@ -6185,7 +6185,7 @@ { "name": "copy", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L304", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L304", "visibility": "Public", "summary": "Creates and returns a new {Marker} with the same properties as this\nmarker. ", "description": "Creates and returns a new {Marker} with the same properties as this\nmarker. " @@ -6193,7 +6193,7 @@ { "name": "destroy", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L309", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L309", "visibility": "Public", "summary": "Destroys the marker, causing it to emit the 'destroyed' event. Once\ndestroyed, a marker cannot be restored by undo/redo operations. ", "description": "Destroys the marker, causing it to emit the 'destroyed' event. Once\ndestroyed, a marker cannot be restored by undo/redo operations. " @@ -6201,7 +6201,7 @@ { "name": "compare", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/marker.coffee#L321", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L321", "visibility": "Public", "summary": "Compares this marker to another based on their ranges. ", "description": "Compares this marker to another based on their ranges. " @@ -6214,13 +6214,13 @@ "Point": { "name": "Point", "filename": "src/point.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L12", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L12", "sections": [], "classMethods": [ { "name": "fromObject", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L25", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L25", "visibility": "Public", "summary": "Convert any point-compatible object to a {Point}.", "description": "Convert any point-compatible object to a {Point}.\n\n* object:\n This can be an object that's already a {Point}, in which case it's\n simply returned, or an array containing two {Number}s representing the\n row and column.\n* copy:\n An optional boolean indicating whether to force the copying of objects\n that are already points.", @@ -6234,7 +6234,7 @@ { "name": "min", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L37", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L37", "visibility": "Public", "summary": "Returns the given point that is earlier in the buffer. ", "description": "Returns the given point that is earlier in the buffer. " @@ -6244,7 +6244,7 @@ { "name": "copy", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L48", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L48", "visibility": "Public", "summary": "Returns a new {Point} with the same row and column. ", "description": "Returns a new {Point} with the same row and column. " @@ -6252,7 +6252,7 @@ { "name": "freeze", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L52", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L52", "visibility": "Public", "summary": "Makes this point immutable and returns itself. ", "description": "Makes this point immutable and returns itself. " @@ -6260,7 +6260,7 @@ { "name": "translate", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L57", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L57", "visibility": "Public", "summary": "Return a new {Point} based on shifting this point by the given delta,\nwhich is represented by another {Point}. ", "description": "Return a new {Point} based on shifting this point by the given delta,\nwhich is represented by another {Point}. " @@ -6268,7 +6268,7 @@ { "name": "compare", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L87", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L87", "visibility": "Public", "summary": "", "description": "\n\n* other: A {Point} or point-compatible {Array}.", @@ -6302,7 +6302,7 @@ { "name": "isEqual", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L102", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L102", "visibility": "Public", "summary": "Returns a {Boolean} indicating whether this point has the same row\nand column as the given {Point} or point-compatible {Array}. ", "description": "Returns a {Boolean} indicating whether this point has the same row\nand column as the given {Point} or point-compatible {Array}. " @@ -6310,7 +6310,7 @@ { "name": "isLessThan", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L109", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L109", "visibility": "Public", "summary": "Returns a {Boolean} indicating whether this point precedes the given\n{Point} or point-compatible {Array}. ", "description": "Returns a {Boolean} indicating whether this point precedes the given\n{Point} or point-compatible {Array}. " @@ -6318,7 +6318,7 @@ { "name": "isLessThanOrEqual", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L114", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L114", "visibility": "Public", "summary": "Returns a {Boolean} indicating whether this point precedes or is\nequal to the given {Point} or point-compatible {Array}. ", "description": "Returns a {Boolean} indicating whether this point precedes or is\nequal to the given {Point} or point-compatible {Array}. " @@ -6326,7 +6326,7 @@ { "name": "isGreaterThan", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L119", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L119", "visibility": "Public", "summary": "Returns a {Boolean} indicating whether this point follows the given\n{Point} or point-compatible {Array}. ", "description": "Returns a {Boolean} indicating whether this point follows the given\n{Point} or point-compatible {Array}. " @@ -6334,7 +6334,7 @@ { "name": "isGreaterThanOrEqual", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L124", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L124", "visibility": "Public", "summary": "Returns a {Boolean} indicating whether this point follows or is\nequal to the given {Point} or point-compatible {Array}. ", "description": "Returns a {Boolean} indicating whether this point follows or is\nequal to the given {Point} or point-compatible {Array}. " @@ -6342,7 +6342,7 @@ { "name": "toArray", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L128", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L128", "visibility": "Public", "summary": "Returns an array of this point's row and column. ", "description": "Returns an array of this point's row and column. " @@ -6350,7 +6350,7 @@ { "name": "serialize", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L132", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L132", "visibility": "Public", "summary": "Returns an array of this point's row and column. ", "description": "Returns an array of this point's row and column. " @@ -6358,7 +6358,7 @@ { "name": "toString", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/point.coffee#L136", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L136", "visibility": "Public", "summary": "Returns a string representation of the point. ", "description": "Returns a string representation of the point. " @@ -6371,13 +6371,13 @@ "Range": { "name": "Range", "filename": "src/range.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L17", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L17", "sections": [], "classMethods": [ { "name": "deserialize", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L19", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L19", "visibility": "Public", "summary": "Call this with the result of {Range::serialize} to construct a new Range. ", "description": "Call this with the result of {Range::serialize} to construct a new Range. " @@ -6385,7 +6385,7 @@ { "name": "fromObject", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L33", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L33", "visibility": "Public", "summary": "Convert any range-compatible object to a {Range}.", "description": "Convert any range-compatible object to a {Range}.\n\n* object:\n This can be an object that's already a {Range}, in which case it's\n simply returned, or an array containing two {Point}s or point-compatible\n arrays.\n* copy:\n An optional boolean indicating whether to force the copying of objects\n that are already ranges.", @@ -6399,7 +6399,7 @@ { "name": "fromPointWithDelta", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L80", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L80", "visibility": "Public", "summary": "Returns a {Range} that starts at the given point and ends at the\nstart point plus the given row and column deltas.", "description": "Returns a {Range} that starts at the given point and ends at the\nstart point plus the given row and column deltas.\n\n* startPoint:\n A {Point} or point-compatible {Array}\n* rowDelta:\n A {Number} indicating how many rows to add to the start point to get the\n end point.\n* columnDelta:\n A {Number} indicating how many rows to columns to the start point to get\n the end point.", @@ -6415,7 +6415,7 @@ { "name": "serialize", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L97", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L97", "visibility": "Public", "summary": "Returns a plain javascript object representation of the range. ", "description": "Returns a plain javascript object representation of the range. " @@ -6423,7 +6423,7 @@ { "name": "copy", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L101", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L101", "visibility": "Public", "summary": "Returns a new range with the same start and end positions. ", "description": "Returns a new range with the same start and end positions. " @@ -6431,7 +6431,7 @@ { "name": "freeze", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L106", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L106", "visibility": "Public", "summary": "Freezes the range and its start and end point so it becomes\nimmutable and returns itself. ", "description": "Freezes the range and its start and end point so it becomes\nimmutable and returns itself. " @@ -6439,7 +6439,7 @@ { "name": "isEqual", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L113", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L113", "visibility": "Public", "summary": "Returns a {Boolean} indicating whether this range has the same start\nand end points as the given {Range} or range-compatible {Array}. ", "description": "Returns a {Boolean} indicating whether this range has the same start\nand end points as the given {Range} or range-compatible {Array}. " @@ -6447,7 +6447,7 @@ { "name": "compare", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L126", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L126", "visibility": "Public", "summary": "", "description": "\n\n* other: A {Range} or range-compatible {Array}.", @@ -6481,7 +6481,7 @@ { "name": "isSingleLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L135", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L135", "visibility": "Public", "summary": "Returns a {Boolean} indicating whether this range starts and ends on\nthe same row. ", "description": "Returns a {Boolean} indicating whether this range starts and ends on\nthe same row. " @@ -6489,7 +6489,7 @@ { "name": "coversSameRows", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L140", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L140", "visibility": "Public", "summary": "Returns a {Boolean} indicating whether this range starts and ends on\nthe same row as the argument. ", "description": "Returns a {Boolean} indicating whether this range starts and ends on\nthe same row as the argument. " @@ -6497,7 +6497,7 @@ { "name": "intersectsWith", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L150", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L150", "visibility": "Public", "summary": "Determines whether this range intersects with the argument. ", "description": "Determines whether this range intersects with the argument. " @@ -6505,7 +6505,7 @@ { "name": "containsRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L163", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L163", "visibility": "Public", "summary": "Returns a {Boolean} indicating whether this range contains the given\nrange.", "description": "Returns a {Boolean} indicating whether this range contains the given\nrange.\n\n* otherRange: A {Range} or range-compatible {Array}\n* exclusive:\n A boolean value including that the containment should be exclusive of\n endpoints. Defaults to false. " @@ -6513,7 +6513,7 @@ { "name": "containsPoint", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L174", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L174", "visibility": "Public", "summary": "Returns a {Boolean} indicating whether this range contains the given\npoint.", "description": "Returns a {Boolean} indicating whether this range contains the given\npoint.\n\n* point: A {Point} or point-compatible {Array}\n* exclusive:\n A boolean value including that the containment should be exclusive of\n endpoints. Defaults to false. " @@ -6521,7 +6521,7 @@ { "name": "intersectsRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L188", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L188", "visibility": "Public", "summary": "Returns a {Boolean} indicating whether this range intersects the\ngiven row {Number}. ", "description": "Returns a {Boolean} indicating whether this range intersects the\ngiven row {Number}. " @@ -6529,7 +6529,7 @@ { "name": "intersectsRowRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L193", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L193", "visibility": "Public", "summary": "Returns a {Boolean} indicating whether this range intersects the\nrow range indicated by the given startRow and endRow {Number}s. ", "description": "Returns a {Boolean} indicating whether this range intersects the\nrow range indicated by the given startRow and endRow {Number}s. " @@ -6537,7 +6537,7 @@ { "name": "union", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L198", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L198", "visibility": "Public", "summary": "Returns a new range that contains this range and the given range. ", "description": "Returns a new range that contains this range and the given range. " @@ -6545,7 +6545,7 @@ { "name": "isEmpty", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L206", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L206", "visibility": "Public", "summary": "Is the start position of this range equal to the end position?", "description": "Is the start position of this range equal to the end position?", @@ -6559,7 +6559,7 @@ { "name": "getRowCount", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L220", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L220", "visibility": "Public", "summary": "Get the number of rows in this range.", "description": "Get the number of rows in this range.", @@ -6573,7 +6573,7 @@ { "name": "getRows", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L224", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L224", "visibility": "Public", "summary": "Returns an array of all rows in the range. ", "description": "Returns an array of all rows in the range. " @@ -6581,7 +6581,7 @@ { "name": "toString", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/range.coffee#L228", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L228", "visibility": "Public", "summary": "Returns a string representation of the range. ", "description": "Returns a string representation of the range. " @@ -6594,14 +6594,14 @@ "TextBuffer": { "name": "TextBuffer", "filename": "src/text-buffer.coffee", - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L69", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L69", "sections": [], "classMethods": [], "instanceMethods": [ { "name": "constructor", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L93", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L93", "visibility": "Public", "summary": "Create a new buffer with the given params.", "description": "Create a new buffer with the given params.\n\nparams - A {String} of text or an {Object} with the following keys:\n :load - A {Boolean}, `true` to asynchronously load the buffer from disk\n after initialization.\n :text - The initial {String} text of the buffer. " @@ -6609,7 +6609,7 @@ { "name": "getText", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L131", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L131", "visibility": "Public", "summary": "Get the entire text of the buffer.", "description": "Get the entire text of the buffer.", @@ -6623,7 +6623,7 @@ { "name": "getLines", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L143", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L143", "visibility": "Public", "summary": "Get the text of all lines in the buffer, without their line endings.", "description": "Get the text of all lines in the buffer, without their line endings.", @@ -6637,7 +6637,7 @@ { "name": "isEmpty", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L149", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L149", "visibility": "Public", "summary": "Determine whether the buffer is empty.", "description": "Determine whether the buffer is empty.", @@ -6651,7 +6651,7 @@ { "name": "getLineCount", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L155", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L155", "visibility": "Public", "summary": "Get the number of lines in the buffer.", "description": "Get the number of lines in the buffer.", @@ -6665,7 +6665,7 @@ { "name": "getLastRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L161", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L161", "visibility": "Public", "summary": "Get the last 0-indexed row in the buffer.", "description": "Get the last 0-indexed row in the buffer.", @@ -6679,7 +6679,7 @@ { "name": "lineForRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L169", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L169", "visibility": "Public", "summary": "Get the text of the line at the given row, without its line ending.", "description": "Get the text of the line at the given row, without its line ending.\n\nrow - A {Number} representing a 0-indexed row.", @@ -6693,7 +6693,7 @@ { "name": "getLastLine", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L176", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L176", "visibility": "Public", "summary": "Get the text of the last line of the buffer, without its line\nending.", "description": "Get the text of the last line of the buffer, without its line\nending.", @@ -6707,7 +6707,7 @@ { "name": "lineEndingForRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L188", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L188", "visibility": "Public", "summary": "Get the line ending for the given 0-indexed row.", "description": "Get the line ending for the given 0-indexed row.\n\nrow - A {Number} indicating the row.\n\nThe returned newline is represented as a literal string: `'\\n'`, `'\\r'`,\n`'\\r\\n'`, or `''` for the last line of the buffer, which doesn't end in a\nnewline.", @@ -6721,7 +6721,7 @@ { "name": "lineLengthForRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L197", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L197", "visibility": "Public", "summary": "Get the length of the line for the given 0-indexed row, without its\nline ending.", "description": "Get the length of the line for the given 0-indexed row, without its\nline ending.\n\nrow - A {Number} indicating the row.", @@ -6735,7 +6735,7 @@ { "name": "setText", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L205", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L205", "visibility": "Public", "summary": "Replace the entire contents of the buffer with the given text.", "description": "Replace the entire contents of the buffer with the given text.\n\ntext - A {String}", @@ -6749,7 +6749,7 @@ { "name": "setTextViaDiff", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L212", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L212", "visibility": "Public", "summary": "Replace the current buffer contents by applying a diff based on the\ngiven text.", "description": "Replace the current buffer contents by applying a diff based on the\ngiven text.\n\ntext - A {String} containing the new buffer contents. " @@ -6757,7 +6757,7 @@ { "name": "setTextInRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L261", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L261", "visibility": "Public", "summary": "Set the text in the given range.", "description": "Set the text in the given range.\n\nrange - A {Range}.\ntext - A {String}.", @@ -6771,7 +6771,7 @@ { "name": "insert", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L274", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L274", "visibility": "Public", "summary": "Insert text at the given position.", "description": "Insert text at the given position.\n\nposition - A {Point} representing the insertion location. The position is\n clipped before insertion.\ntext - A {String} representing the text to insert.", @@ -6785,7 +6785,7 @@ { "name": "append", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L282", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L282", "visibility": "Public", "summary": "Append text to the end of the buffer.", "description": "Append text to the end of the buffer.\n\ntext - A {String} representing the text text to append.", @@ -6799,7 +6799,7 @@ { "name": "deleteRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L298", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L298", "visibility": "Public", "summary": "Delete the line associated with a specified row.", "description": "Delete the line associated with a specified row.\n\nrow - A {Number} representing the 0-indexed row to delete.", @@ -6813,7 +6813,7 @@ { "name": "deleteRows", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L310", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L310", "visibility": "Public", "summary": "Delete the lines associated with the specified row range.", "description": "Delete the lines associated with the specified row range.\n\nstartRow - A {Number} representing the first row to delete.\nendRow - A {Number} representing the last row to delete, inclusive.\n\nIf the row range is out of bounds, it will be clipped. If the startRow is\ngreater than the end row, they will be reordered.", @@ -6827,7 +6827,7 @@ { "name": "getTextInRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L407", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L407", "visibility": "Public", "summary": "Get the text in a range.", "description": "Get the text in a range.\n\nrange - A {Range}", @@ -6841,7 +6841,7 @@ { "name": "clipRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L437", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L437", "visibility": "Public", "summary": "Clip the given range so it starts and ends at valid positions.", "description": "Clip the given range so it starts and ends at valid positions.\n\nFor example, the position [1, 100] is out of bounds if the line at row 1 is\nonly 10 characters long, and it would be clipped to (1, 10).\n\nrange - A {Range} or range-compatible {Array} to clip.", @@ -6855,7 +6855,7 @@ { "name": "clipPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L455", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L455", "visibility": "Public", "summary": "Clip the given point so it is at a valid position in the buffer.", "description": "Clip the given point so it is at a valid position in the buffer.\n\nFor example, the position (1, 100) is out of bounds if the line at row 1 is\nonly 10 characters long, and it would be clipped to (1, 10)\n\nposition - A {Point} or point-compatible {Array}.", @@ -6869,7 +6869,7 @@ { "name": "getFirstPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L472", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L472", "visibility": "Public", "summary": "Get the first position in the buffer, which is always `[0, 0]`.", "description": "Get the first position in the buffer, which is always `[0, 0]`.", @@ -6883,7 +6883,7 @@ { "name": "getEndPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L479", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L479", "visibility": "Public", "summary": "Get the maximal position in the buffer, where new text would be\nappended.", "description": "Get the maximal position in the buffer, where new text would be\nappended.", @@ -6897,7 +6897,7 @@ { "name": "getRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L486", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L486", "visibility": "Public", "summary": "Get the range spanning from `[0, 0]` to {::getEndPosition}.", "description": "Get the range spanning from `[0, 0]` to {::getEndPosition}.", @@ -6911,7 +6911,7 @@ { "name": "rangeForRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L497", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L497", "visibility": "Public", "summary": "Get the range for the given row", "description": "Get the range for the given row\n\nrow - A {Number} representing a 0-indexed row.\nincludeNewline - A {Boolean} indicating whether or not to include the\n newline, which results in a range that extends to the start\n of the next line.", @@ -6925,7 +6925,7 @@ { "name": "characterIndexForPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L516", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L516", "visibility": "Public", "summary": "Convert a position in the buffer in row/column coordinates to an\nabsolute character offset, inclusive of line ending characters.", "description": "Convert a position in the buffer in row/column coordinates to an\nabsolute character offset, inclusive of line ending characters.\n\nThe position is clipped prior to translating.\n\nposition - A {Point}.", @@ -6939,7 +6939,7 @@ { "name": "positionForCharacterIndex", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L533", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L533", "visibility": "Public", "summary": "Convert an absolute character offset, inclusive of newlines, to a\nposition in the buffer in row/column coordinates.", "description": "Convert an absolute character offset, inclusive of newlines, to a\nposition in the buffer in row/column coordinates.\n\nThe offset is clipped prior to translating.\n\noffset - A {Number}.", @@ -6953,7 +6953,7 @@ { "name": "getMaxCharacterIndex", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L546", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L546", "visibility": "Public", "summary": "Get the length of the buffer in characters.", "description": "Get the length of the buffer in characters.", @@ -6967,7 +6967,7 @@ { "name": "reload", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L630", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L630", "visibility": "Public", "summary": "Reload the buffer's contents from disk.", "description": "Reload the buffer's contents from disk.\n\nSets the buffer's content to the cached disk contents " @@ -6975,7 +6975,7 @@ { "name": "getUri", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L663", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L663", "visibility": "Public", "summary": "Get the path of the associated file.", "description": "Get the path of the associated file.", @@ -6989,7 +6989,7 @@ { "name": "setPath", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L669", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L669", "visibility": "Public", "summary": "Set the path for the buffer's associated file.", "description": "Set the path for the buffer's associated file.\n\nfilePath - A {String} representing the new file path " @@ -6997,7 +6997,7 @@ { "name": "save", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L688", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L688", "visibility": "Public", "summary": "Save the buffer. ", "description": "Save the buffer. " @@ -7005,7 +7005,7 @@ { "name": "saveAs", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L694", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L694", "visibility": "Public", "summary": "Save the buffer at a specific path.", "description": "Save the buffer at a specific path.\n\nfilePath - The path to save at. " @@ -7013,7 +7013,7 @@ { "name": "isModified", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L711", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L711", "visibility": "Public", "summary": "Determine if the in-memory contents of the buffer differ from its\ncontents on disk.", "description": "Determine if the in-memory contents of the buffer differ from its\ncontents on disk.\n\nIf the buffer is unsaved, always returns `true` unless the buffer is empty.", @@ -7027,7 +7027,7 @@ { "name": "isInConflict", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L725", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L725", "visibility": "Public", "summary": "Determine if the in-memory contents of the buffer conflict with the\non-disk contents of its associated file.", "description": "Determine if the in-memory contents of the buffer conflict with the\non-disk contents of its associated file.", @@ -7041,7 +7041,7 @@ { "name": "scan", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L775", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L775", "visibility": "Public", "summary": "Scan regular expression matches in the entire buffer, calling the\ngiven iterator function on each match.", "description": "Scan regular expression matches in the entire buffer, calling the\ngiven iterator function on each match.\n\nIf you're programmatically modifying the results, you may want to try\n{::backwardsScan} to avoid tripping over your own changes.\n\nregex - A {RegExp} to search for.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " @@ -7049,7 +7049,7 @@ { "name": "backwardsScan", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L793", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L793", "visibility": "Public", "summary": "Scan regular expression matches in the entire buffer in reverse\norder, calling the given iterator function on each match.", "description": "Scan regular expression matches in the entire buffer in reverse\norder, calling the given iterator function on each match.\n\nregex - A {RegExp} to search for.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " @@ -7057,7 +7057,7 @@ { "name": "replace", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L805", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L805", "visibility": "Public", "summary": "Replace all regular expression matches in the entire buffer.", "description": "Replace all regular expression matches in the entire buffer.\n\nregex - A {RegExp} representing the matches to be replaced.\nreplacementText - A {String} representing the text to replace each match.", @@ -7071,7 +7071,7 @@ { "name": "scanInRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L831", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L831", "visibility": "Public", "summary": "Scan regular expression matches in a given range , calling the given\niterator function on each match.", "description": "Scan regular expression matches in a given range , calling the given\niterator function on each match.\n\nregex - A {RegExp} to search for.\nrange - A {Range} in which to search.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " @@ -7079,7 +7079,7 @@ { "name": "backwardsScanInRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L882", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L882", "visibility": "Public", "summary": "Scan regular expression matches in a given range in reverse order,\ncalling the given iterator function on each match.", "description": "Scan regular expression matches in a given range in reverse order,\ncalling the given iterator function on each match.\n\nregex - A {RegExp} to search for.\nrange - A {Range} in which to search.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " @@ -7087,7 +7087,7 @@ { "name": "isRowBlank", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L890", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L890", "visibility": "Public", "summary": "Determine if the given row contains only whitespace.", "description": "Determine if the given row contains only whitespace.\n\nrow - A {Number} representing a 0-indexed row.", @@ -7101,7 +7101,7 @@ { "name": "previousNonBlankRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L898", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L898", "visibility": "Public", "summary": "Given a row, find the first preceding row that's not blank.", "description": "Given a row, find the first preceding row that's not blank.\n\nstartRow - A {Number} identifying the row to start checking at.", @@ -7115,7 +7115,7 @@ { "name": "nextNonBlankRow", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L911", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L911", "visibility": "Public", "summary": "Given a row, find the next row that's not blank.", "description": "Given a row, find the next row that's not blank.\n\nstartRow - A {Number} identifying the row to start checking at.", @@ -7129,7 +7129,7 @@ { "name": "undo", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L957", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L957", "visibility": "Public", "summary": "Undo the last operation. If a transaction is in progress, aborts it. ", "description": "Undo the last operation. If a transaction is in progress, aborts it. " @@ -7137,7 +7137,7 @@ { "name": "redo", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L960", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L960", "visibility": "Public", "summary": "Redo the last operation ", "description": "Redo the last operation " @@ -7145,7 +7145,7 @@ { "name": "transact", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L970", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L970", "visibility": "Public", "summary": "Batch multiple operations as a single undo/redo step.", "description": "Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " @@ -7153,7 +7153,7 @@ { "name": "beginTransaction", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L978", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L978", "visibility": "Public", "summary": "Start an open-ended transaction.", "description": "Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " @@ -7161,7 +7161,7 @@ { "name": "commitTransaction", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L984", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L984", "visibility": "Public", "summary": "Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.", "description": "Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " @@ -7169,7 +7169,7 @@ { "name": "abortTransaction", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L988", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L988", "visibility": "Public", "summary": "Abort an open transaction, undoing any operations performed so far\nwithin the transaction. ", "description": "Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " @@ -7177,7 +7177,7 @@ { "name": "clearUndoStack", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L991", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L991", "visibility": "Public", "summary": "Clear the undo stack. ", "description": "Clear the undo stack. " @@ -7185,7 +7185,7 @@ { "name": "markRange", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L1030", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L1030", "visibility": "Public", "summary": "Create a marker with the given range. This marker will maintain\nits logical location as the buffer is changed, so if you mark a particular\nword, the marker will remain over that word even if the word's location in\nthe buffer changes.", "description": "Create a marker with the given range. This marker will maintain\nits logical location as the buffer is changed, so if you mark a particular\nword, the marker will remain over that word even if the word's location in\nthe buffer changes.\n\n* range: A {Range} or range-compatible {Array}\n* properties:\n A hash of key-value pairs to associate with the marker. There are also\n reserved property names that have marker-specific meaning:\n ```\n :reversed -\n Creates the marker in a reversed orientation. Defaults to false.\n :persistent -\n Whether to include this marker when serializing the buffer. Defaults\n to true.\n :invalidate -\n Determines the rules by which changes to the buffer *invalidate* the\n marker. Defaults to 'overlap', but can be any of the following\n strategies, in order of fragility:\n * 'never':\n The marker is never marked as invalid. This is a good choice for\n markers representing selections in an editor.\n * 'surround':\n The marker is invalidated by changes that completely surround it.\n * 'overlap':\n The marker is invalidated by changes that surround the start or\n end of the marker. This is the default.\n * 'inside':\n The marker is invalidated by changes that extend into the\n inside of the marker. Changes that end at the marker's start or\n start at the marker's end do not invalidate the marker.\n * 'touch':\n The marker is invalidated by a change that touches the marked\n region in any way, including changes that end at the marker's\n start or start at the marker's end. This is the most fragile\n strategy.\n ```", @@ -7199,7 +7199,7 @@ { "name": "markPosition", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L1038", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L1038", "visibility": "Public", "summary": "Create a marker at the given position with no tail.", "description": "Create a marker at the given position with no tail.\n\n:position - {Point} or point-compatible {Array}\n:properties - This is the same as the `properties` parameter in {::markRange}", @@ -7213,7 +7213,7 @@ { "name": "getMarker", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L1043", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L1043", "visibility": "Public", "summary": "Get an existing marker by its id.", "description": "Get an existing marker by its id.", @@ -7227,7 +7227,7 @@ { "name": "getMarkers", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L1048", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L1048", "visibility": "Public", "summary": "Get all existing markers on the buffer.", "description": "Get all existing markers on the buffer.", @@ -7241,7 +7241,7 @@ { "name": "findMarkers", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L1070", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L1070", "visibility": "Public", "summary": "Find markers conforming to the given parameters.", "description": "Find markers conforming to the given parameters.\n\n:params -\n A hash of key-value pairs constraining the set of returned markers. You\n can query against custom marker properties by listing the desired\n key-value pairs here. In addition, the following keys are reserved and\n have special semantics:\n\n* 'startPosition': Only include markers that start at the given {Point}.\n* 'endPosition': Only include markers that end at the given {Point}.\n* 'containsPoint': Only include markers that contain the given {Point}, inclusive.\n* 'containsRange': Only include markers that contain the given {Range}, inclusive.\n* 'startRow': Only include markers that start at the given row {Number}.\n* 'endRow': Only include markers that end at the given row {Number}.\n* 'intersectsRow': Only include markers that intersect the given row {Number}.\n\nFinds markers that conform to all of the given parameters. Markers are\nsorted based on their position in the buffer. If two markers start at the\nsame position, the larger marker comes first.", @@ -7255,7 +7255,7 @@ { "name": "getMarkerCount", "sectionName": null, - "srcUrl": "https://github.com/atom/theorist/blob/v1.0.1/src/text-buffer.coffee#L1075", + "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L1075", "visibility": "Public", "summary": "Get the number of markers in the buffer.", "description": "Get the number of markers in the buffer.", From 9f27e53bf11bf1923063c19c9f027e52fcaf10d3 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Mon, 11 Aug 2014 17:57:14 -0700 Subject: [PATCH 051/144] Remove unnecessary metadata.json --- metadata.json | 53638 ------------------------------------------------ 1 file changed, 53638 deletions(-) delete mode 100644 metadata.json diff --git a/metadata.json b/metadata.json deleted file mode 100644 index c64381941..000000000 --- a/metadata.json +++ /dev/null @@ -1,53638 +0,0 @@ -[ - { - "repository": "https://github.com/atom/atom.git", - "version": "0.121.0", - "files": { - "./build/src/atom.coffee": { - "objects": { - "0": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 0, - 9 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "1": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "2": { - "5": { - "name": "os", - "type": "import", - "range": [ - [ - 2, - 5 - ], - [ - 2, - 16 - ] - ], - "bindingType": "variable", - "module": "os", - "builtin": true - } - }, - "3": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "4": { - "9": { - "name": "remote", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 24 - ] - ], - "bindingType": "variable", - "module": "remote" - } - }, - "5": { - "9": { - "name": "screen", - "type": "import", - "range": [ - [ - 5, - 9 - ], - [ - 5, - 24 - ] - ], - "bindingType": "variable", - "module": "screen" - } - }, - "6": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 6, - 8 - ], - [ - 6, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "8": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 8, - 4 - ], - [ - 8, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "9": { - "1": { - "type": "import", - "range": [ - [ - 9, - 1 - ], - [ - 9, - 10 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecated", - "exportsProperty": "deprecated" - } - }, - "10": { - "1": { - "type": "import", - "range": [ - [ - 10, - 1 - ], - [ - 10, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Model", - "exportsProperty": "Model" - } - }, - "11": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 11, - 5 - ], - [ - 11, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "13": { - "1": { - "type": "import", - "range": [ - [ - 13, - 1 - ], - [ - 13, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "14": { - "21": { - "name": "WindowEventHandler", - "type": "import", - "range": [ - [ - 14, - 21 - ], - [ - 14, - 52 - ] - ], - "bindingType": "variable", - "path": "./window-event-handler" - } - }, - "35": { - "0": { - "type": "class", - "name": "Atom", - "bindingType": "exports", - "classProperties": [ - [ - 36, - 12 - ], - [ - 44, - 17 - ], - [ - 48, - 16 - ], - [ - 53, - 14 - ], - [ - 71, - 17 - ], - [ - 89, - 21 - ], - [ - 95, - 22 - ], - [ - 99, - 20 - ], - [ - 109, - 21 - ] - ], - "prototypeProperties": [ - [ - 112, - 31 - ], - [ - 115, - 15 - ], - [ - 123, - 14 - ], - [ - 177, - 31 - ], - [ - 181, - 33 - ], - [ - 184, - 24 - ], - [ - 188, - 20 - ], - [ - 194, - 23 - ], - [ - 211, - 23 - ], - [ - 221, - 21 - ], - [ - 224, - 32 - ], - [ - 229, - 30 - ], - [ - 246, - 27 - ], - [ - 252, - 25 - ], - [ - 259, - 19 - ], - [ - 262, - 22 - ], - [ - 269, - 28 - ], - [ - 281, - 28 - ], - [ - 285, - 27 - ], - [ - 292, - 21 - ], - [ - 320, - 22 - ], - [ - 336, - 14 - ], - [ - 339, - 15 - ], - [ - 353, - 8 - ], - [ - 377, - 11 - ], - [ - 397, - 18 - ], - [ - 400, - 22 - ], - [ - 407, - 16 - ], - [ - 411, - 18 - ], - [ - 415, - 31 - ], - [ - 419, - 10 - ], - [ - 423, - 9 - ], - [ - 428, - 8 - ], - [ - 432, - 8 - ], - [ - 439, - 11 - ], - [ - 446, - 15 - ], - [ - 450, - 10 - ], - [ - 457, - 17 - ], - [ - 464, - 9 - ], - [ - 467, - 8 - ], - [ - 473, - 13 - ], - [ - 477, - 14 - ], - [ - 481, - 20 - ], - [ - 485, - 17 - ], - [ - 490, - 16 - ], - [ - 496, - 14 - ], - [ - 500, - 21 - ], - [ - 506, - 20 - ], - [ - 509, - 12 - ], - [ - 523, - 21 - ], - [ - 526, - 20 - ], - [ - 529, - 22 - ], - [ - 533, - 8 - ], - [ - 537, - 25 - ], - [ - 541, - 25 - ], - [ - 555, - 22 - ] - ], - "doc": " Public: Atom global for dealing with packages, themes, menus, and the window.\n\nAn instance of this class is always available as the `atom` global.\n\n## Useful properties available:\n\n * `atom.clipboard` - A {Clipboard} instance\n * `atom.config` - A {Config} instance\n * `atom.contextMenu` - A {ContextMenuManager} instance\n * `atom.deserializers` - A {DeserializerManager} instance\n * `atom.keymaps` - A {KeymapManager} instance\n * `atom.menu` - A {MenuManager} instance\n * `atom.packages` - A {PackageManager} instance\n * `atom.project` - A {Project} instance\n * `atom.syntax` - A {Syntax} instance\n * `atom.themes` - A {ThemeManager} instance\n * `atom.workspace` - A {Workspace} instance\n * `atom.workspaceView` - A {WorkspaceView} instance ", - "range": [ - [ - 35, - 0 - ], - [ - 567, - 27 - ] - ] - } - }, - "36": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 36, - 12 - ], - [ - 36, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "44": { - "17": { - "name": "loadOrCreate", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 44, - 17 - ], - [ - 48, - 1 - ] - ], - "doc": " Public: Load or create the Atom environment in the given mode.\n\nmode - Pass 'editor' or 'spec' depending on the kind of environment you\n want to build.\n\nReturns an Atom instance, fully initialized " - } - }, - "48": { - "16": { - "name": "deserialize", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 48, - 16 - ], - [ - 53, - 1 - ] - ], - "doc": "Private: Deserializes the Atom environment from a state object " - } - }, - "53": { - "14": { - "name": "loadState", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 53, - 14 - ], - [ - 71, - 1 - ] - ], - "doc": " Private: Loads and returns the serialized state corresponding to this window\nif it exists; otherwise returns undefined. " - } - }, - "71": { - "17": { - "name": "getStatePath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 71, - 17 - ], - [ - 89, - 1 - ] - ], - "doc": " Private: Returns the path where the state for the current window will be\nlocated if it exists. " - } - }, - "89": { - "21": { - "name": "getConfigDirPath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 95, - 1 - ] - ], - "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " - } - }, - "95": { - "22": { - "name": "getStorageDirPath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 95, - 22 - ], - [ - 99, - 1 - ] - ], - "doc": " Private: Get the path to Atom's storage directory.\n\nReturns the absolute path to ~/.atom/storage " - } - }, - "99": { - "20": { - "name": "getLoadSettings", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 99, - 20 - ], - [ - 109, - 1 - ] - ], - "doc": "Private: Returns the load settings hash associated with the current window. " - } - }, - "109": { - "21": { - "name": "getCurrentWindow", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 21 - ], - [ - 112, - 1 - ] - ], - "doc": "~Private~" - } - }, - "112": { - "31": { - "name": "workspaceViewParentSelector", - "type": "primitive", - "range": [ - [ - 112, - 31 - ], - [ - 112, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "115": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 115, - 15 - ], - [ - 123, - 1 - ] - ], - "doc": "Private: Call .loadOrCreate instead " - } - }, - "123": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 123, - 14 - ], - [ - 177, - 1 - ] - ], - "doc": " Public: Sets up the basic services that should be available in all modes\n(both spec and application). Call after this instance has been assigned to\nthe `atom` global. " - } - }, - "177": { - "31": { - "name": "registerRepresentationClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 31 - ], - [ - 181, - 1 - ] - ], - "doc": "Deprecated: Callers should be converted to use atom.deserializers " - } - }, - "181": { - "33": { - "name": "registerRepresentationClasses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 181, - 33 - ], - [ - 184, - 1 - ] - ], - "doc": "Deprecated: Callers should be converted to use atom.deserializers " - } - }, - "184": { - "24": { - "name": "setBodyPlatformClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 184, - 24 - ], - [ - 188, - 1 - ] - ], - "doc": "~Private~" - } - }, - "188": { - "20": { - "name": "getCurrentWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 20 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "23": { - "name": "getWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 194, - 23 - ], - [ - 211, - 1 - ] - ], - "doc": " Public: Get the dimensions of this window.\n\nReturns an object with x, y, width, and height keys. " - } - }, - "211": { - "23": { - "name": "setWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 211, - 23 - ], - [ - 221, - 1 - ] - ], - "doc": " Public: Set the dimensions of the window.\n\nThe window will be centered if either the x or y coordinate is not set\nin the dimensions parameter. If x or y are omitted the window will be\ncentered. If height or width are omitted only the position will be changed.\n\ndimensions - An {Object} with the following keys:\n :x - The new x coordinate.\n :y - The new y coordinate.\n :width - The new width.\n :height - The new height. " - } - }, - "221": { - "21": { - "name": "isValidDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 221, - 21 - ], - [ - 224, - 1 - ] - ], - "doc": " Private: Returns true if the dimensions are useable, false if they should be ignored.\nWork around for https://github.com/atom/atom-shell/issues/473 " - } - }, - "224": { - "32": { - "name": "storeDefaultWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 32 - ], - [ - 229, - 1 - ] - ], - "doc": "~Private~" - } - }, - "229": { - "30": { - "name": "getDefaultWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 229, - 30 - ], - [ - 246, - 1 - ] - ], - "doc": "~Private~" - } - }, - "246": { - "27": { - "name": "restoreWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 246, - 27 - ], - [ - 252, - 1 - ] - ], - "doc": "~Private~" - } - }, - "252": { - "25": { - "name": "storeWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 252, - 25 - ], - [ - 259, - 1 - ] - ], - "doc": "~Private~" - } - }, - "259": { - "19": { - "name": "getLoadSettings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 259, - 19 - ], - [ - 262, - 1 - ] - ], - "doc": "Private: Returns the load settings hash associated with the current window. " - } - }, - "262": { - "22": { - "name": "deserializeProject", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 262, - 22 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "28": { - "name": "deserializeWorkspaceView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 28 - ], - [ - 281, - 1 - ] - ], - "doc": "~Private~" - } - }, - "281": { - "28": { - "name": "deserializePackageStates", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 281, - 28 - ], - [ - 285, - 1 - ] - ], - "doc": "~Private~" - } - }, - "285": { - "27": { - "name": "deserializeEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 285, - 27 - ], - [ - 292, - 1 - ] - ], - "doc": "~Private~" - } - }, - "292": { - "21": { - "name": "startEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 21 - ], - [ - 320, - 1 - ] - ], - "doc": "Private: Call this method when establishing a real application window. " - } - }, - "320": { - "22": { - "name": "unloadEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 320, - 22 - ], - [ - 336, - 1 - ] - ], - "doc": "~Private~" - } - }, - "336": { - "14": { - "name": "loadThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 336, - 14 - ], - [ - 339, - 1 - ] - ], - "doc": "~Private~" - } - }, - "339": { - "15": { - "name": "watchThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 339, - 15 - ], - [ - 353, - 1 - ] - ], - "doc": "~Private~" - } - }, - "353": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 353, - 8 - ], - [ - 377, - 1 - ] - ], - "doc": " Public: Open a new Atom window using the given options.\n\nCalling this method without an options parameter will open a prompt to pick\na file/folder to open in the new window.\n\noptions - An {Object} with the following keys:\n :pathsToOpen - An {Array} of {String} paths to open. " - } - }, - "377": { - "11": { - "name": "confirm", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 377, - 11 - ], - [ - 397, - 1 - ] - ], - "doc": " Public: Open a confirm dialog.\n\n## Example\n\n```coffee\n atom.confirm\n message: 'How you feeling?'\n detailedMessage: 'Be honest.'\n buttons:\n Good: -> window.alert('good to hear')\n Bad: -> window.alert('bummer')\n```\n\noptions - An {Object} with the following keys:\n :message - The {String} message to display.\n :detailedMessage - The {String} detailed message to display.\n :buttons - Either an array of strings or an object where keys are\n button names and the values are callbacks to invoke when\n clicked.\n\nReturns the chosen button index {Number} if the buttons option was an array. " - } - }, - "397": { - "18": { - "name": "showSaveDialog", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 397, - 18 - ], - [ - 400, - 1 - ] - ], - "doc": "~Private~" - } - }, - "400": { - "22": { - "name": "showSaveDialogSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultPath" - ], - "range": [ - [ - 400, - 22 - ], - [ - 407, - 1 - ] - ], - "doc": "~Private~" - } - }, - "407": { - "16": { - "name": "openDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 407, - 16 - ], - [ - 411, - 1 - ] - ], - "doc": "Public: Open the dev tools for the current window. " - } - }, - "411": { - "18": { - "name": "toggleDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 411, - 18 - ], - [ - 415, - 1 - ] - ], - "doc": "Public: Toggle the visibility of the dev tools for the current window. " - } - }, - "415": { - "31": { - "name": "executeJavaScriptInDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "code" - ], - "range": [ - [ - 415, - 31 - ], - [ - 419, - 1 - ] - ], - "doc": "Public: Execute code in dev tools. " - } - }, - "419": { - "10": { - "name": "reload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 419, - 10 - ], - [ - 423, - 1 - ] - ], - "doc": "Public: Reload the current window. " - } - }, - "423": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 423, - 9 - ], - [ - 428, - 1 - ] - ], - "doc": "Public: Focus the current window. " - } - }, - "428": { - "8": { - "name": "show", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 8 - ], - [ - 432, - 1 - ] - ], - "doc": "Public: Show the current window. " - } - }, - "432": { - "8": { - "name": "hide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 432, - 8 - ], - [ - 439, - 1 - ] - ], - "doc": "Public: Hide the current window. " - } - }, - "439": { - "11": { - "name": "setSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width", - "height" - ], - "range": [ - [ - 439, - 11 - ], - [ - 446, - 1 - ] - ], - "doc": " Public: Set the size of current window.\n\nwidth - The {Number} of pixels.\nheight - The {Number} of pixels. " - } - }, - "446": { - "15": { - "name": "setPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "x", - "y" - ], - "range": [ - [ - 446, - 15 - ], - [ - 450, - 1 - ] - ], - "doc": " Public: Set the position of current window.\n\nx - The {Number} of pixels.\ny - The {Number} of pixels. " - } - }, - "450": { - "10": { - "name": "center", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 450, - 10 - ], - [ - 457, - 1 - ] - ], - "doc": "Public: Move current window to the center of the screen. " - } - }, - "457": { - "17": { - "name": "displayWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 457, - 17 - ], - [ - 464, - 1 - ] - ], - "doc": " Private: Schedule the window to be shown and focused on the next tick.\n\nThis is done in a next tick to prevent a white flicker from occurring\nif called synchronously. " - } - }, - "464": { - "9": { - "name": "close", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 464, - 9 - ], - [ - 467, - 1 - ] - ], - "doc": "Public: Close the current window. " - } - }, - "467": { - "8": { - "name": "exit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 467, - 8 - ], - [ - 473, - 1 - ] - ], - "doc": "~Private~" - } - }, - "473": { - "13": { - "name": "inDevMode", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 473, - 13 - ], - [ - 477, - 1 - ] - ], - "doc": "Public: Is the current window in development mode? " - } - }, - "477": { - "14": { - "name": "inSpecMode", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 477, - 14 - ], - [ - 481, - 1 - ] - ], - "doc": "Public: Is the current window running specs? " - } - }, - "481": { - "20": { - "name": "toggleFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 481, - 20 - ], - [ - 485, - 1 - ] - ], - "doc": "Public: Toggle the full screen state of the current window. " - } - }, - "485": { - "17": { - "name": "setFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fullScreen" - ], - "range": [ - [ - 485, - 17 - ], - [ - 490, - 1 - ] - ], - "doc": "Public: Set the full screen state of the current window. " - } - }, - "490": { - "16": { - "name": "isFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 490, - 16 - ], - [ - 496, - 1 - ] - ], - "doc": "Public: Is the current window in full screen mode? " - } - }, - "496": { - "14": { - "name": "getVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 496, - 14 - ], - [ - 500, - 1 - ] - ], - "doc": " Public: Get the version of the Atom application.\n\nReturns the version text {String}. " - } - }, - "500": { - "21": { - "name": "isReleasedVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 500, - 21 - ], - [ - 506, - 1 - ] - ], - "doc": "Public: Determine whether the current version is an official release. " - } - }, - "506": { - "20": { - "name": "getConfigDirPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 506, - 20 - ], - [ - 509, - 1 - ] - ], - "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " - } - }, - "509": { - "12": { - "name": "saveSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 509, - 12 - ], - [ - 523, - 1 - ] - ], - "doc": "~Private~" - } - }, - "523": { - "21": { - "name": "getWindowLoadTime", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 523, - 21 - ], - [ - 526, - 1 - ] - ], - "doc": " Public: Get the time taken to completely load the current window.\n\nThis time include things like loading and activating packages, creating\nDOM elements for the editor, and reading the config.\n\nReturns the number of milliseconds taken to load the window or null\nif the window hasn't finished loading yet. " - } - }, - "526": { - "20": { - "name": "crashMainProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 526, - 20 - ], - [ - 529, - 1 - ] - ], - "doc": "~Private~" - } - }, - "529": { - "22": { - "name": "crashRenderProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 529, - 22 - ], - [ - 533, - 1 - ] - ], - "doc": "~Private~" - } - }, - "533": { - "8": { - "name": "beep", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 533, - 8 - ], - [ - 537, - 1 - ] - ], - "doc": "Public: Visually and audibly trigger a beep. " - } - }, - "537": { - "25": { - "name": "getUserInitScriptPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 537, - 25 - ], - [ - 541, - 1 - ] - ], - "doc": "~Private~" - } - }, - "541": { - "25": { - "name": "requireUserInitScript", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 541, - 25 - ], - [ - 555, - 1 - ] - ] - } - }, - "555": { - "22": { - "name": "requireWithGlobals", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id", - "globals" - ], - "range": [ - [ - 555, - 22 - ], - [ - 567, - 27 - ] - ], - "doc": " Public: Require the module with the given globals.\n\nThe globals will be set on the `window` object and removed after the\nrequire completes.\n\nid - The {String} module name or path.\nglobals - An {Object} to set as globals during require (default: {}) " - } - } - }, - "exports": 35 - }, - "./build/src/browser/application-menu.coffee": { - "objects": { - "0": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "1": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "2": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "10": { - "0": { - "type": "class", - "name": "ApplicationMenu", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 22, - 10 - ], - [ - 35, - 20 - ], - [ - 47, - 23 - ], - [ - 58, - 29 - ], - [ - 63, - 21 - ], - [ - 68, - 22 - ], - [ - 90, - 22 - ], - [ - 102, - 17 - ], - [ - 113, - 21 - ], - [ - 131, - 25 - ] - ], - "doc": " Private: Used to manage the global application menu.\n\nIt's created by {AtomApplication} upon instantiation and used to add, remove\nand maintain the state of all menu items. ", - "range": [ - [ - 10, - 0 - ], - [ - 145, - 18 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 22, - 1 - ] - ] - } - }, - "22": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 22, - 10 - ], - [ - 35, - 1 - ] - ], - "doc": " Public: Updates the entire menu with the given keybindings.\n\ntemplate - The Object which describes the menu to display.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke. " - } - }, - "35": { - "20": { - "name": "flattenMenuItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "menu" - ], - "range": [ - [ - 35, - 20 - ], - [ - 47, - 1 - ] - ], - "doc": " Private: Flattens the given menu and submenu items into an single Array.\n\nmenu - A complete menu configuration object for atom-shell's menu API.\n\nReturns an Array of native menu items. " - } - }, - "47": { - "23": { - "name": "flattenMenuTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 47, - 23 - ], - [ - 58, - 1 - ] - ], - "doc": " Private: Flattens the given menu template into an single Array.\n\ntemplate - An object describing the menu item.\n\nReturns an Array of native menu items. " - } - }, - "58": { - "29": { - "name": "enableWindowSpecificItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "enable" - ], - "range": [ - [ - 58, - 29 - ], - [ - 63, - 1 - ] - ], - "doc": " Public: Used to make all window related menu items are active.\n\nenable - If true enables all window specific items, if false disables all\n window specific items. " - } - }, - "63": { - "21": { - "name": "substituteVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 63, - 21 - ], - [ - 68, - 1 - ] - ], - "doc": "Private: Replaces VERSION with the current version. " - } - }, - "68": { - "22": { - "name": "showUpdateMenuItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 68, - 22 - ], - [ - 90, - 1 - ] - ], - "doc": "Private: Sets the proper visible state the update menu items " - } - }, - "90": { - "22": { - "name": "getDefaultTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 22 - ], - [ - 102, - 1 - ] - ], - "doc": " Private: Default list of menu items.\n\nReturns an Array of menu item Objects. " - } - }, - "102": { - "17": { - "name": "focusedWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 17 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "21": { - "name": "translateTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 113, - 21 - ], - [ - 131, - 1 - ] - ], - "doc": " Private: Combines a menu template with the appropriate keystroke.\n\ntemplate - An Object conforming to atom-shell's menu api but lacking\n accelerator and click properties.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a complete menu configuration object for atom-shell's menu API. " - } - }, - "131": { - "25": { - "name": "acceleratorForCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "keystrokesByCommand" - ], - "range": [ - [ - 131, - 25 - ], - [ - 145, - 18 - ] - ], - "doc": " Private: Determine the accelerator for a given command.\n\ncommand - The name of the command.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a String containing the keystroke in a format that can be interpreted\n by atom shell to provide nice icons where available. " - } - } - }, - "exports": 10 - }, - "./build/src/browser/atom-application.coffee": { - "objects": { - "0": { - "13": { - "name": "AtomWindow", - "type": "import", - "range": [ - [ - 0, - 13 - ], - [ - 0, - 35 - ] - ], - "bindingType": "variable", - "path": "./atom-window" - } - }, - "1": { - "18": { - "name": "ApplicationMenu", - "type": "import", - "range": [ - [ - 1, - 18 - ], - [ - 1, - 45 - ] - ], - "bindingType": "variable", - "path": "./application-menu" - } - }, - "2": { - "22": { - "name": "AtomProtocolHandler", - "type": "import", - "range": [ - [ - 2, - 22 - ], - [ - 2, - 54 - ] - ], - "bindingType": "variable", - "path": "./atom-protocol-handler" - } - }, - "3": { - "20": { - "name": "AutoUpdateManager", - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 50 - ] - ], - "bindingType": "variable", - "path": "./auto-update-manager" - } - }, - "4": { - "16": { - "name": "BrowserWindow", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 39 - ] - ], - "bindingType": "variable", - "module": "browser-window" - } - }, - "5": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "6": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 6, - 6 - ], - [ - 6, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "7": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "8": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 8, - 5 - ], - [ - 8, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "9": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 9, - 6 - ], - [ - 9, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "10": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 10, - 7 - ], - [ - 10, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "11": { - "5": { - "name": "os", - "type": "import", - "range": [ - [ - 11, - 5 - ], - [ - 11, - 16 - ] - ], - "bindingType": "variable", - "module": "os", - "builtin": true - } - }, - "12": { - "6": { - "name": "net", - "type": "import", - "range": [ - [ - 12, - 6 - ], - [ - 12, - 18 - ] - ], - "bindingType": "variable", - "module": "net", - "builtin": true - } - }, - "13": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 13, - 8 - ], - [ - 13, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "14": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 14, - 6 - ], - [ - 14, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "15": { - "1": { - "type": "import", - "range": [ - [ - 15, - 1 - ], - [ - 15, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "16": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 16, - 4 - ], - [ - 16, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "30": { - "0": { - "type": "class", - "name": "AtomApplication", - "bindingType": "exports", - "classProperties": [ - [ - 34, - 9 - ] - ], - "prototypeProperties": [ - [ - 52, - 11 - ], - [ - 53, - 19 - ], - [ - 54, - 23 - ], - [ - 55, - 16 - ], - [ - 56, - 11 - ], - [ - 58, - 8 - ], - [ - 60, - 15 - ], - [ - 83, - 19 - ], - [ - 94, - 16 - ], - [ - 99, - 13 - ], - [ - 110, - 36 - ], - [ - 119, - 20 - ], - [ - 132, - 28 - ], - [ - 136, - 16 - ], - [ - 232, - 15 - ], - [ - 245, - 23 - ], - [ - 254, - 31 - ], - [ - 274, - 19 - ], - [ - 282, - 17 - ], - [ - 287, - 17 - ], - [ - 298, - 13 - ], - [ - 311, - 12 - ], - [ - 337, - 20 - ], - [ - 341, - 24 - ], - [ - 346, - 15 - ], - [ - 364, - 11 - ], - [ - 393, - 12 - ], - [ - 406, - 17 - ], - [ - 415, - 25 - ], - [ - 440, - 17 - ] - ], - "doc": " Private: The application's singleton class.\n\nIt's the entry point into the Atom application and maintains the global state\nof the application.\n\n ", - "range": [ - [ - 30, - 0 - ], - [ - 449, - 50 - ] - ] - } - }, - "34": { - "9": { - "name": "open", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 34, - 9 - ], - [ - 52, - 1 - ] - ], - "doc": "Public: The entry point into the Atom application. " - } - }, - "52": { - "11": { - "name": "windows", - "type": "primitive", - "range": [ - [ - 52, - 11 - ], - [ - 52, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "53": { - "19": { - "name": "applicationMenu", - "type": "primitive", - "range": [ - [ - 53, - 19 - ], - [ - 53, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "54": { - "23": { - "name": "atomProtocolHandler", - "type": "primitive", - "range": [ - [ - 54, - 23 - ], - [ - 54, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "55": { - "16": { - "name": "resourcePath", - "type": "primitive", - "range": [ - [ - 55, - 16 - ], - [ - 55, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "56": { - "11": { - "name": "version", - "type": "primitive", - "range": [ - [ - 56, - 11 - ], - [ - 56, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "58": { - "8": { - "name": "exit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 58, - 8 - ], - [ - 58, - 35 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 60, - 15 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "19": { - "name": "openWithOptions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 83, - 19 - ], - [ - 94, - 1 - ] - ], - "doc": "Private: Opens a new window based on the options provided. " - } - }, - "94": { - "16": { - "name": "removeWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "window" - ], - "range": [ - [ - 94, - 16 - ], - [ - 99, - 1 - ] - ], - "doc": "Public: Removes the {AtomWindow} from the global window list. " - } - }, - "99": { - "13": { - "name": "addWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "window" - ], - "range": [ - [ - 99, - 13 - ], - [ - 110, - 1 - ] - ], - "doc": "Public: Adds the {AtomWindow} to the global window list. " - } - }, - "110": { - "36": { - "name": "listenForArgumentsFromNewProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 36 - ], - [ - 119, - 1 - ] - ], - "doc": " Private: Creates server to listen for additional atom application launches.\n\nYou can run the atom command multiple times, but after the first launch\nthe other launches will just pass their information to this server and then\nclose immediately. " - } - }, - "119": { - "20": { - "name": "deleteSocketFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 119, - 20 - ], - [ - 132, - 1 - ] - ], - "doc": "~Private~" - } - }, - "132": { - "28": { - "name": "setupJavaScriptArguments", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 132, - 28 - ], - [ - 136, - 1 - ] - ], - "doc": "Private: Configures required javascript environment flags. " - } - }, - "136": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 16 - ], - [ - 232, - 1 - ] - ], - "doc": "Private: Registers basic application commands, non-idempotent. " - } - }, - "232": { - "15": { - "name": "sendCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 232, - 15 - ], - [ - 245, - 1 - ] - ], - "doc": " Public: Executes the given command.\n\nIf it isn't handled globally, delegate to the currently focused window.\n\ncommand - The string representing the command.\nargs - The optional arguments to pass along. " - } - }, - "245": { - "23": { - "name": "sendCommandToWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "atomWindow", - "args" - ], - "range": [ - [ - 245, - 23 - ], - [ - 254, - 1 - ] - ], - "doc": " Public: Executes the given command on the given window.\n\ncommand - The string representing the command.\natomWindow - The {AtomWindow} to send the command to.\nargs - The optional arguments to pass along. " - } - }, - "254": { - "31": { - "name": "sendCommandToFirstResponder", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command" - ], - "range": [ - [ - 254, - 31 - ], - [ - 274, - 1 - ] - ], - "doc": " Private: Translates the command into OS X action and sends it to application's first\nresponder. " - } - }, - "274": { - "19": { - "name": "openPathOnEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventName", - "pathToOpen" - ], - "range": [ - [ - 274, - 19 - ], - [ - 282, - 1 - ] - ], - "doc": " Public: Open the given path in the focused window when the event is\ntriggered.\n\nA new window will be created if there is no currently focused window.\n\neventName - The event to listen for.\npathToOpen - The path to open when the event is triggered. " - } - }, - "282": { - "17": { - "name": "windowForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen" - ], - "range": [ - [ - 282, - 17 - ], - [ - 287, - 1 - ] - ], - "doc": "Private: Returns the {AtomWindow} for the given path. " - } - }, - "287": { - "17": { - "name": "focusedWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 287, - 17 - ], - [ - 298, - 1 - ] - ], - "doc": "Public: Returns the currently focused {AtomWindow} or undefined if none. " - } - }, - "298": { - "13": { - "name": "openPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 298, - 13 - ], - [ - 311, - 1 - ] - ], - "doc": " Public: Opens multiple paths, in existing windows if possible.\n\noptions -\n :pathsToOpen - The array of file paths to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " - } - }, - "311": { - "12": { - "name": "openPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 311, - 12 - ], - [ - 337, - 1 - ] - ], - "doc": " Public: Opens a single path, in an existing window if possible.\n\noptions -\n :pathToOpen - The file path to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode.\n :windowDimensions - Object with height and width keys. " - } - }, - "337": { - "20": { - "name": "killAllProcesses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 337, - 20 - ], - [ - 341, - 1 - ] - ], - "doc": "Private: Kill all processes associated with opened windows. " - } - }, - "341": { - "24": { - "name": "killProcessForWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "openedWindow" - ], - "range": [ - [ - 341, - 24 - ], - [ - 346, - 1 - ] - ], - "doc": "Private: Kill process associated with the given opened window. " - } - }, - "346": { - "15": { - "name": "killProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pid" - ], - "range": [ - [ - 346, - 15 - ], - [ - 364, - 1 - ] - ], - "doc": "Private: Kill the process with the given pid. " - } - }, - "364": { - "11": { - "name": "openUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 364, - 11 - ], - [ - 393, - 1 - ] - ], - "doc": " Private: Open an atom:// url.\n\nThe host of the URL being opened is assumed to be the package name\nresponsible for opening the URL. A new window will be created with\nthat package's `urlMain` as the bootstrap script.\n\noptions -\n :urlToOpen - The atom:// url to open.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " - } - }, - "393": { - "12": { - "name": "runSpecs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 393, - 12 - ], - [ - 406, - 1 - ] - ], - "doc": " Private: Opens up a new {AtomWindow} to run specs within.\n\noptions -\n :exitWhenDone - A Boolean that if true, will close the window upon\n completion.\n :resourcePath - The path to include specs from.\n :specPath - The directory to load specs from. " - } - }, - "406": { - "17": { - "name": "runBenchmarks", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 406, - 17 - ], - [ - 415, - 1 - ] - ], - "doc": "~Private~" - } - }, - "415": { - "25": { - "name": "locationForPathToOpen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen" - ], - "range": [ - [ - 415, - 25 - ], - [ - 440, - 1 - ] - ], - "doc": "~Private~" - } - }, - "440": { - "17": { - "name": "promptForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 440, - 17 - ], - [ - 449, - 50 - ] - ], - "doc": " Private: Opens a native dialog to prompt the user for a path.\n\nOnce paths are selected, they're opened in a new or existing {AtomWindow}s.\n\noptions -\n :type - A String which specifies the type of the dialog, could be 'file',\n 'folder' or 'all'. The 'all' is only available on OS X.\n :devMode - A Boolean which controls whether any newly opened windows\n should be in dev mode or not.\n :safeMode - A Boolean which controls whether any newly opened windows\n should be in safe mode or not. " - } - } - }, - "exports": 30 - }, - "./build/src/browser/atom-protocol-handler.coffee": { - "objects": { - "0": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "2": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "3": { - "11": { - "name": "protocol", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "protocol" - } - }, - "10": { - "0": { - "type": "class", - "name": "AtomProtocolHandler", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 21, - 24 - ] - ], - "doc": " Private: Handles requests with 'atom' protocol.\n\nIt's created by {AtomApplication} upon instantiation, and is used to create a\ncustom resource loader by adding the 'atom' custom protocol. ", - "range": [ - [ - 10, - 0 - ], - [ - 27, - 50 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 21, - 1 - ] - ] - } - }, - "21": { - "24": { - "name": "registerAtomProtocol", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 24 - ], - [ - 27, - 50 - ] - ], - "doc": "Private: Creates the 'atom' custom protocol handler. " - } - } - }, - "exports": 10 - }, - "./build/src/browser/atom-window.coffee": { - "objects": { - "0": { - "16": { - "name": "BrowserWindow", - "type": "import", - "range": [ - [ - 0, - 16 - ], - [ - 0, - 39 - ] - ], - "bindingType": "variable", - "module": "browser-window" - } - }, - "1": { - "14": { - "name": "ContextMenu", - "type": "import", - "range": [ - [ - 1, - 14 - ], - [ - 1, - 37 - ] - ], - "bindingType": "variable", - "path": "./context-menu" - } - }, - "2": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "3": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 3, - 9 - ], - [ - 3, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "4": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "6": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 6, - 6 - ], - [ - 6, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "7": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "11": { - "0": { - "type": "class", - "name": "AtomWindow", - "bindingType": "exports", - "classProperties": [ - [ - 14, - 13 - ], - [ - 15, - 25 - ] - ], - "prototypeProperties": [ - [ - 17, - 17 - ], - [ - 18, - 10 - ], - [ - 19, - 10 - ], - [ - 21, - 15 - ], - [ - 56, - 10 - ], - [ - 68, - 18 - ], - [ - 71, - 16 - ], - [ - 86, - 16 - ], - [ - 126, - 12 - ], - [ - 133, - 15 - ], - [ - 147, - 30 - ], - [ - 151, - 17 - ], - [ - 156, - 9 - ], - [ - 158, - 9 - ], - [ - 160, - 12 - ], - [ - 162, - 12 - ], - [ - 164, - 11 - ], - [ - 166, - 23 - ], - [ - 169, - 13 - ], - [ - 171, - 20 - ], - [ - 173, - 16 - ], - [ - 175, - 10 - ], - [ - 177, - 18 - ] - ], - "doc": "~Private~", - "range": [ - [ - 11, - 0 - ], - [ - 177, - 52 - ] - ] - } - }, - "14": { - "13": { - "name": "iconPath", - "type": "function", - "range": [ - [ - 14, - 13 - ], - [ - 14, - 72 - ] - ], - "bindingType": "classProperty" - } - }, - "15": { - "25": { - "name": "includeShellLoadTime", - "type": "primitive", - "range": [ - [ - 15, - 25 - ], - [ - 15, - 28 - ] - ], - "bindingType": "classProperty" - } - }, - "17": { - "17": { - "name": "browserWindow", - "type": "primitive", - "range": [ - [ - 17, - 17 - ], - [ - 17, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "10": { - "name": "loaded", - "type": "primitive", - "range": [ - [ - 18, - 10 - ], - [ - 18, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "10": { - "name": "isSpec", - "type": "primitive", - "range": [ - [ - 19, - 10 - ], - [ - 19, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "settings" - ], - "range": [ - [ - 21, - 15 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "10": { - "name": "getUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "loadSettingsObj" - ], - "range": [ - [ - 56, - 10 - ], - [ - 68, - 1 - ] - ], - "doc": "~Private~" - } - }, - "68": { - "18": { - "name": "getInitialPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 18 - ], - [ - 71, - 1 - ] - ], - "doc": "~Private~" - } - }, - "71": { - "16": { - "name": "containsPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToCheck" - ], - "range": [ - [ - 71, - 16 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 16 - ], - [ - 126, - 1 - ] - ], - "doc": "~Private~" - } - }, - "126": { - "12": { - "name": "openPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen", - "initialLine", - "initialColumn" - ], - "range": [ - [ - 126, - 12 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "15": { - "name": "sendCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 133, - 15 - ], - [ - 147, - 1 - ] - ], - "doc": "~Private~" - } - }, - "147": { - "30": { - "name": "sendCommandToBrowserWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 147, - 30 - ], - [ - 151, - 1 - ] - ], - "doc": "~Private~" - } - }, - "151": { - "17": { - "name": "getDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 151, - 17 - ], - [ - 156, - 1 - ] - ], - "doc": "~Private~" - } - }, - "156": { - "9": { - "name": "close", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 156, - 9 - ], - [ - 156, - 33 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 9 - ], - [ - 158, - 33 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "12": { - "name": "minimize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 160, - 12 - ], - [ - 160, - 39 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "12": { - "name": "maximize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 12 - ], - [ - 162, - 39 - ] - ], - "doc": "~Private~" - } - }, - "164": { - "11": { - "name": "restore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 164, - 11 - ], - [ - 164, - 37 - ] - ], - "doc": "~Private~" - } - }, - "166": { - "23": { - "name": "handlesAtomCommands", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 166, - 23 - ], - [ - 169, - 1 - ] - ], - "doc": "~Private~" - } - }, - "169": { - "13": { - "name": "isFocused", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 169, - 13 - ], - [ - 169, - 41 - ] - ], - "doc": "~Private~" - } - }, - "171": { - "20": { - "name": "isWebViewFocused", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 20 - ], - [ - 171, - 55 - ] - ], - "doc": "~Private~" - } - }, - "173": { - "16": { - "name": "isSpecWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 173, - 16 - ], - [ - 173, - 25 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "10": { - "name": "reload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 175, - 10 - ], - [ - 175, - 36 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "18": { - "name": "toggleDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 18 - ], - [ - 177, - 51 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 11 - }, - "./build/src/browser/auto-update-manager.coffee": { - "objects": { - "0": { - "8": { - "name": "https", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 22 - ] - ], - "bindingType": "variable", - "module": "https", - "builtin": true - } - }, - "1": { - "14": { - "name": "autoUpdater", - "type": "import", - "range": [ - [ - 1, - 14 - ], - [ - 1, - 35 - ] - ], - "bindingType": "variable", - "module": "auto-updater" - } - }, - "2": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "6": { - "11": { - "name": "'idle'", - "type": "primitive", - "range": [ - [ - 6, - 11 - ], - [ - 6, - 16 - ] - ] - } - }, - "7": { - "15": { - "name": "'checking'", - "type": "primitive", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 24 - ] - ] - } - }, - "8": { - "18": { - "name": "'downloading'", - "type": "primitive", - "range": [ - [ - 8, - 18 - ], - [ - 8, - 30 - ] - ] - } - }, - "9": { - "23": { - "name": "'update-available'", - "type": "primitive", - "range": [ - [ - 9, - 23 - ], - [ - 9, - 40 - ] - ] - } - }, - "10": { - "26": { - "name": "'no-update-available'", - "type": "primitive", - "range": [ - [ - 10, - 26 - ], - [ - 10, - 46 - ] - ] - } - }, - "11": { - "12": { - "name": "'error'", - "type": "primitive", - "range": [ - [ - 11, - 12 - ], - [ - 11, - 18 - ] - ] - } - }, - "14": { - "0": { - "type": "class", - "name": "AutoUpdateManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 15 - ], - [ - 48, - 23 - ], - [ - 63, - 28 - ], - [ - 68, - 12 - ], - [ - 73, - 12 - ], - [ - 76, - 9 - ], - [ - 83, - 11 - ], - [ - 86, - 24 - ], - [ - 90, - 17 - ], - [ - 94, - 14 - ] - ], - "doc": "~Private~", - "range": [ - [ - 14, - 0 - ], - [ - 95, - 34 - ] - ] - } - }, - "17": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 17, - 15 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "23": { - "name": "checkForUpdatesShim", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 23 - ], - [ - 63, - 1 - ] - ], - "doc": "Private: Windows doesn't have an auto-updater, so use this method to shim the events. " - } - }, - "63": { - "28": { - "name": "emitUpdateAvailableEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "windows" - ], - "range": [ - [ - 63, - 28 - ], - [ - 68, - 1 - ] - ], - "doc": "~Private~" - } - }, - "68": { - "12": { - "name": "setState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 68, - 12 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "12": { - "name": "getState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 12 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "9": { - "name": "check", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 76, - 9 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "11": { - "name": "install", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 83, - 11 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "24": { - "name": "onUpdateNotAvailable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 24 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "17": { - "name": "onUpdateError", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event", - "message" - ], - "range": [ - [ - 90, - 17 - ], - [ - 94, - 1 - ] - ], - "doc": "~Private~" - } - }, - "94": { - "14": { - "name": "getWindows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 14 - ], - [ - 95, - 34 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 14 - }, - "./build/src/browser/context-menu.coffee": { - "objects": { - "0": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "3": { - "0": { - "type": "class", - "name": "ContextMenu", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 4, - 15 - ], - [ - 12, - 23 - ] - ], - "doc": "~Private~", - "range": [ - [ - 3, - 0 - ], - [ - 23, - 10 - ] - ] - } - }, - "4": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - null - ], - "range": [ - [ - 4, - 15 - ], - [ - 12, - 1 - ] - ] - } - }, - "12": { - "23": { - "name": "createClickHandlers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 12, - 23 - ], - [ - 23, - 10 - ] - ], - "doc": " Private: It's necessary to build the event handlers in this process, otherwise\nclosures are drug across processes and failed to be garbage collected\nappropriately. " - } - } - }, - "exports": 3 - }, - "./build/src/browser/main.coffee": { - "objects": { - "0": { - "24": { - "name": "global.shellStartTime", - "type": "function", - "range": [ - [ - 0, - 24 - ], - [ - 0, - 33 - ] - ] - } - }, - "2": { - "16": { - "name": "crashReporter", - "type": "import", - "range": [ - [ - 2, - 16 - ], - [ - 2, - 39 - ] - ], - "bindingType": "variable", - "module": "crash-reporter" - } - }, - "3": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 3, - 6 - ], - [ - 3, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "6": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 6, - 7 - ], - [ - 6, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "7": { - "11": { - "name": "optimist", - "type": "import", - "range": [ - [ - 7, - 11 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "optimist@0.4.0" - } - }, - "8": { - "8": { - "name": "nslog", - "type": "import", - "range": [ - [ - 8, - 8 - ], - [ - 8, - 22 - ] - ], - "bindingType": "variable", - "module": "nslog@^1.0.1" - } - }, - "9": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 9, - 9 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "11": { - "14": { - "name": "nslog", - "type": "primitive", - "range": [ - [ - 11, - 14 - ], - [ - 11, - 18 - ] - ] - } - }, - "17": { - "8": { - "name": "start", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 8 - ], - [ - 51, - 0 - ] - ], - "doc": "~Private~" - } - }, - "54": { - "25": { - "name": "global.devResourcePath", - "type": "function", - "range": [ - [ - 54, - 25 - ], - [ - 54, - 62 - ] - ] - } - }, - "56": { - "21": { - "name": "setupCrashReporter", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 21 - ], - [ - 58, - 0 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "19": { - "name": "parseCommandLine", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 19 - ], - [ - 110, - 0 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": {} - }, - "./build/src/buffered-node-process.coffee": { - "objects": { - "0": { - "18": { - "name": "BufferedProcess", - "type": "import", - "range": [ - [ - 0, - 18 - ], - [ - 0, - 45 - ] - ], - "bindingType": "variable", - "path": "./buffered-process" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "14": { - "0": { - "type": "class", - "name": "BufferedNodeProcess", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 36, - 15 - ] - ], - "doc": " Public: Like {BufferedProcess}, but accepts a Node script as the command\nto run.\n\nThis is necessary on Windows since it doesn't support shebang `#!` lines.\n\n## Requiring in packages\n\n```coffee\n{BufferedNodeProcess} = require 'atom'\n``` ", - "range": [ - [ - 14, - 0 - ], - [ - 50, - 63 - ] - ] - } - }, - "36": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 36, - 15 - ], - [ - 50, - 63 - ] - ], - "doc": " Public: Runs the given Node script by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} path to the JavaScript script to execute.\n :args - The {Array} of arguments to pass to the script (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " - } - } - }, - "exports": 14 - }, - "./build/src/buffered-process.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "15": { - "name": "ChildProcess", - "type": "import", - "range": [ - [ - 1, - 15 - ], - [ - 1, - 37 - ] - ], - "bindingType": "variable", - "module": "child_process", - "builtin": true - } - }, - "18": { - "0": { - "type": "class", - "name": "BufferedProcess", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 40, - 15 - ], - [ - 99, - 16 - ], - [ - 117, - 8 - ] - ], - "doc": " Public: A wrapper which provides standard error/output line buffering for\nNode's ChildProcess.\n\n## Requiring in packages\n\n```coffee\n{BufferedProcess} = require 'atom'\n\ncommand = 'ps'\nargs = ['-ef']\nstdout = (output) -> console.log(output)\nexit = (code) -> console.log(\"ps -ef exited with #{code}\")\nprocess = new BufferedProcess({command, args, stdout, exit})\n``` ", - "range": [ - [ - 18, - 0 - ], - [ - 120, - 19 - ] - ] - } - }, - "40": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 40, - 15 - ], - [ - 99, - 1 - ] - ], - "doc": " Public: Runs the given command by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} command to execute.\n :args - The {Array} of arguments to pass to the command (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " - } - }, - "99": { - "16": { - "name": "bufferStream", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stream", - "onLines", - "onDone" - ], - "range": [ - [ - 99, - 16 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: Helper method to pass data line by line.\n\nstream - The Stream to read from.\nonLines - The callback to call with each line of data.\nonDone - The callback to call when the stream has closed. " - } - }, - "117": { - "8": { - "name": "kill", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 8 - ], - [ - 120, - 19 - ] - ], - "doc": "Public: Terminate the process. " - } - } - }, - "exports": 18 - }, - "./build/src/clipboard.coffee": { - "objects": { - "0": { - "12": { - "name": "clipboard", - "type": "import", - "range": [ - [ - 0, - 12 - ], - [ - 0, - 30 - ] - ], - "bindingType": "variable", - "module": "clipboard" - } - }, - "1": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 1, - 9 - ], - [ - 1, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "7": { - "0": { - "type": "class", - "name": "Clipboard", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 8, - 12 - ], - [ - 9, - 24 - ], - [ - 16, - 7 - ], - [ - 26, - 9 - ], - [ - 34, - 8 - ], - [ - 43, - 20 - ] - ], - "doc": " Public: Represents the clipboard used for copying and pasting in Atom.\n\nAn instance of this class is always available as the `atom.clipboard` global. ", - "range": [ - [ - 7, - 0 - ], - [ - 48, - 12 - ] - ] - } - }, - "8": { - "12": { - "name": "metadata", - "type": "primitive", - "range": [ - [ - 8, - 12 - ], - [ - 8, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "24": { - "name": "signatureForMetadata", - "type": "primitive", - "range": [ - [ - 9, - 24 - ], - [ - 9, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "7": { - "name": "md5", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 16, - 7 - ], - [ - 26, - 1 - ] - ], - "doc": " Private: Creates an `md5` hash of some text.\n\ntext - A {String} to hash.\n\nReturns a hashed {String}. " - } - }, - "26": { - "9": { - "name": "write", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "metadata" - ], - "range": [ - [ - 26, - 9 - ], - [ - 34, - 1 - ] - ], - "doc": " Public: Write the given text to the clipboard.\n\nThe metadata associated with the text is available by calling\n{::readWithMetadata}.\n\ntext - The {String} to store.\nmetadata - The additional info to associate with the text. " - } - }, - "34": { - "8": { - "name": "read", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 8 - ], - [ - 43, - 1 - ] - ], - "doc": " Public: Read the text from the clipboard.\n\nReturns a {String}. " - } - }, - "43": { - "20": { - "name": "readWithMetadata", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 20 - ], - [ - 48, - 12 - ] - ], - "doc": " Public: Read the text from the clipboard and return both the text and the\nassociated metadata.\n\nReturns an {Object} with the following keys:\n :text - The {String} clipboard text.\n :metadata - The metadata stored by an earlier call to {::write}. " - } - } - }, - "exports": 7 - }, - "./build/src/coffee-cache.coffee": { - "objects": { - "0": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 0, - 9 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "3": { - "15": { - "name": "CoffeeScript", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 37 - ] - ], - "bindingType": "variable", - "module": "coffee-script@1.7.0" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1.0.2" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "8": { - "17": { - "name": "coffeeCacheDir", - "type": "function", - "range": [ - [ - 8, - 17 - ], - [ - 8, - 45 - ] - ] - } - }, - "11": { - "15": { - "name": "getCachePath", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "coffee" - ], - "range": [ - [ - 11, - 15 - ], - [ - 14, - 0 - ] - ], - "doc": "~Private~" - } - }, - "15": { - "22": { - "name": "getCachedJavaScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "cachePath" - ], - "range": [ - [ - 15, - 22 - ], - [ - 19, - 0 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "18": { - "name": "convertFilePath", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 20, - 18 - ], - [ - 24, - 0 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "22": { - "name": "compileCoffeeScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "coffee", - "filePath", - "cachePath" - ], - "range": [ - [ - 25, - 22 - ], - [ - 33, - 0 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "22": { - "name": "requireCoffeeScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "module", - "filePath" - ], - "range": [ - [ - 34, - 22 - ], - [ - 39, - 0 - ] - ] - } - }, - "41": { - "12": { - "name": "cacheDir", - "type": "primitive", - "range": [ - [ - 41, - 12 - ], - [ - 41, - 19 - ] - ] - } - }, - "42": { - "12": { - "name": "register", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 12 - ], - [ - 46, - 6 - ] - ], - "doc": null - } - } - }, - "exports": 41 - }, - "./build/src/command-installer.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "2": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 22 - ] - ], - "bindingType": "variable", - "module": "async@0.2.6" - } - }, - "3": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 3, - 5 - ], - [ - 3, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "4": { - "9": { - "name": "mkdirp", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 24 - ] - ], - "bindingType": "variable", - "module": "mkdirp@0.3.5" - } - }, - "5": { - "8": { - "name": "runas", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "module": "runas@1.0.1" - } - }, - "7": { - "17": { - "name": "symlinkCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "sourcePath", - "destinationPath", - "callback" - ], - "range": [ - [ - 7, - 17 - ], - [ - 17, - 0 - ] - ], - "doc": "~Private~" - } - }, - "18": { - "34": { - "name": "symlinkCommandWithPrivilegeSync", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "sourcePath", - "destinationPath" - ], - "range": [ - [ - 18, - 34 - ], - [ - 27, - 0 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "23": { - "name": "getInstallDirectory", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 23 - ], - [ - 32, - 1 - ] - ], - "doc": null - } - }, - "32": { - "11": { - "name": "install", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "commandPath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 32, - 11 - ], - [ - 52, - 1 - ] - ], - "doc": null - } - }, - "52": { - "22": { - "name": "installAtomCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "resourcePath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 52, - 22 - ], - [ - 56, - 1 - ] - ], - "doc": null - } - }, - "56": { - "21": { - "name": "installApmCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "resourcePath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 56, - 21 - ], - [ - 58, - 51 - ] - ], - "doc": null - } - } - }, - "exports": 29 - }, - "./build/src/config.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "3": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1.0.2" - } - }, - "4": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "5": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "module": "async@0.2.6" - } - }, - "6": { - "14": { - "name": "pathWatcher", - "type": "import", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 34 - ] - ], - "bindingType": "variable", - "module": "pathwatcher@^2.0.6" - } - }, - "25": { - "0": { - "type": "class", - "name": "Config", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 36, - 29 - ], - [ - 52, - 8 - ], - [ - 57, - 18 - ], - [ - 72, - 21 - ], - [ - 76, - 23 - ], - [ - 80, - 15 - ], - [ - 91, - 21 - ], - [ - 95, - 15 - ], - [ - 104, - 7 - ], - [ - 114, - 10 - ], - [ - 125, - 18 - ], - [ - 136, - 7 - ], - [ - 152, - 10 - ], - [ - 160, - 18 - ], - [ - 168, - 14 - ], - [ - 178, - 13 - ], - [ - 187, - 17 - ], - [ - 199, - 20 - ], - [ - 211, - 19 - ], - [ - 231, - 11 - ], - [ - 253, - 13 - ], - [ - 256, - 10 - ], - [ - 261, - 8 - ] - ], - "doc": " Public: Used to access all of Atom's configuration details.\n\nAn instance of this class is always available as the `atom.config` global.\n\n## Best practices\n\n* Create your own root keypath using your package's name.\n* Don't depend on (or write to) configuration keys outside of your keypath.\n\n## Example\n\n```coffeescript\natom.config.set('my-package.key', 'value')\natom.config.observe 'my-package.key', ->\n console.log 'My configuration changed:', atom.config.get('my-package.key')\n``` ", - "range": [ - [ - 25, - 0 - ], - [ - 262, - 50 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 29, - 15 - ], - [ - 36, - 1 - ] - ], - "doc": "Private: Created during initialization, available as `atom.config` " - } - }, - "36": { - "29": { - "name": "initializeConfigDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "done" - ], - "range": [ - [ - 36, - 29 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 8 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "18": { - "name": "loadUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 18 - ], - [ - 72, - 1 - ] - ], - "doc": "~Private~" - } - }, - "72": { - "21": { - "name": "observeUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 72, - 21 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "23": { - "name": "unobserveUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 23 - ], - [ - 80, - 1 - ] - ], - "doc": "~Private~" - } - }, - "80": { - "15": { - "name": "setDefaults", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "defaults" - ], - "range": [ - [ - 80, - 15 - ], - [ - 91, - 1 - ] - ], - "doc": "~Private~" - } - }, - "91": { - "21": { - "name": "getUserConfigPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 21 - ], - [ - 95, - 1 - ] - ], - "doc": "Public: Get the {String} path to the config file being used. " - } - }, - "95": { - "15": { - "name": "getSettings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 95, - 15 - ], - [ - 104, - 1 - ] - ], - "doc": "Public: Returns a new {Object} containing all of settings and defaults. " - } - }, - "104": { - "7": { - "name": "get", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 104, - 7 - ], - [ - 114, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key.\n\nkeyPath - The {String} name of the key to retrieve.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `null` if the key doesn't exist in either. " - } - }, - "114": { - "10": { - "name": "getInt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 114, - 10 - ], - [ - 125, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key as an integer.\n\nkeyPath - The {String} name of the key to retrieve\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `NaN` if the key doesn't exist in either. " - } - }, - "125": { - "18": { - "name": "getPositiveInt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "defaultValue" - ], - "range": [ - [ - 125, - 18 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key as a positive integer.\n\nkeyPath - The {String} name of the key to retrieve\ndefaultValue - The integer {Number} to fall back to if the value isn't\n positive, defaults to 0.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `defaultValue` if the key value isn't greater than zero. " - } - }, - "136": { - "7": { - "name": "set", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 136, - 7 - ], - [ - 152, - 1 - ] - ], - "doc": " Public: Sets the value for a configuration setting.\n\nThis value is stored in Atom's internal configuration file.\n\nkeyPath - The {String} name of the key.\nvalue - The value of the setting.\n\nReturns the `value`. " - } - }, - "152": { - "10": { - "name": "toggle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 152, - 10 - ], - [ - 160, - 1 - ] - ], - "doc": " Public: Toggle the value at the key path.\n\nThe new value will be `true` if the value is currently falsy and will be\n`false` if the value is currently truthy.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " - } - }, - "160": { - "18": { - "name": "restoreDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 160, - 18 - ], - [ - 168, - 1 - ] - ], - "doc": " Public: Restore the key path to its default value.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " - } - }, - "168": { - "14": { - "name": "getDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 168, - 14 - ], - [ - 178, - 1 - ] - ], - "doc": " Public: Get the default value of the key path.\n\nkeyPath - The {String} name of the key.\n\nReturns the default value. " - } - }, - "178": { - "13": { - "name": "isDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 178, - 13 - ], - [ - 187, - 1 - ] - ], - "doc": " Public: Is the key path value its default value?\n\nkeyPath - The {String} name of the key.\n\nReturns a {Boolean}, `true` if the current value is the default, `false`\notherwise. " - } - }, - "187": { - "17": { - "name": "pushAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 187, - 17 - ], - [ - 199, - 1 - ] - ], - "doc": " Public: Push the value to the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to push to the array.\n\nReturns the new array length {Number} of the setting. " - } - }, - "199": { - "20": { - "name": "unshiftAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 199, - 20 - ], - [ - 211, - 1 - ] - ], - "doc": " Public: Add the value to the beginning of the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to shift onto the array.\n\nReturns the new array length {Number} of the setting. " - } - }, - "211": { - "19": { - "name": "removeAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 211, - 19 - ], - [ - 231, - 1 - ] - ], - "doc": " Public: Remove the value from the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to remove from the array.\n\nReturns the new array value of the setting. " - } - }, - "231": { - "11": { - "name": "observe", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "options", - "callback" - ], - "range": [ - [ - 231, - 11 - ], - [ - 253, - 1 - ] - ], - "doc": " Public: Establishes an event listener for a given key.\n\n`callback` is fired whenever the value of the key is changed and will\n be fired immediately unless the `callNow` option is `false`.\n\nkeyPath - The {String} name of the key to observe\noptions - An optional {Object} containing the `callNow` key.\ncallback - The {Function} to call when the value of the key changes.\n The first argument will be the new value of the key and the\n  second argument will be an {Object} with a `previous` property\n that is the prior value of the key.\n\nReturns an {Object} with the following keys:\n :off - A {Function} that unobserves the `keyPath` when called. " - } - }, - "253": { - "13": { - "name": "unobserve", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 253, - 13 - ], - [ - 256, - 1 - ] - ], - "doc": " Public: Unobserve all callbacks on a given key.\n\nkeyPath - The {String} name of the key to unobserve. " - } - }, - "256": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 10 - ], - [ - 261, - 1 - ] - ], - "doc": "~Private~" - } - }, - "261": { - "8": { - "name": "save", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 8 - ], - [ - 262, - 50 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 25 - }, - "./build/src/context-menu-manager.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "2": { - "9": { - "name": "remote", - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 24 - ] - ], - "bindingType": "variable", - "module": "remote" - } - }, - "10": { - "0": { - "type": "class", - "name": "ContextMenuManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 33, - 7 - ], - [ - 45, - 17 - ], - [ - 60, - 17 - ], - [ - 66, - 25 - ], - [ - 82, - 38 - ], - [ - 91, - 34 - ], - [ - 105, - 24 - ], - [ - 111, - 16 - ] - ], - "doc": " Public: Provides a registry for commands that you'd like to appear in the\ncontext menu.\n\nAn instance of this class is always available as the `atom.contextMenu`\nglobal. ", - "range": [ - [ - 10, - 0 - ], - [ - 116, - 64 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 33, - 1 - ] - ] - } - }, - "33": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "object", - null - ], - "range": [ - [ - 33, - 7 - ], - [ - 45, - 1 - ] - ], - "doc": " Public: Creates menu definitions from the object specified by the menu\ncson API.\n\nname - The path of the file that contains the menu definitions.\nobject - The 'context-menu' object specified in the menu cson API.\noptions - An {Object} with the following keys:\n :devMode - Determines whether the entries should only be shown when\n the window is in dev mode.\n\nReturns nothing. " - } - }, - "45": { - "17": { - "name": "buildMenuItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "label", - "command" - ], - "range": [ - [ - 45, - 17 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "17": { - "name": "addBySelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "definition", - null - ], - "range": [ - [ - 60, - 17 - ], - [ - 66, - 1 - ] - ], - "doc": " Private: Registers a command to be displayed when the relevant item is right\nclicked.\n\nselector - The css selector for the active element which should include\n the given command in its context menu.\ndefinition - The object containing keys which match the menu template API.\noptions - An {Object} with the following keys:\n :devMode - Indicates whether this command should only appear while the\n editor is in dev mode. " - } - }, - "66": { - "25": { - "name": "definitionsForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element", - null - ], - "range": [ - [ - 66, - 25 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Returns definitions which match the element and devMode. " - } - }, - "82": { - "38": { - "name": "menuTemplateForMostSpecificElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element", - null - ], - "range": [ - [ - 82, - 38 - ], - [ - 91, - 1 - ] - ], - "doc": " Private: Used to generate the context menu for a specific element and it's\nparents.\n\nThe menu items are sorted such that menu items that match closest to the\nactive element are listed first. The further down the list you go, the higher\nup the ancestor hierarchy they match.\n\nelement - The DOM element to generate the menu template for. " - } - }, - "91": { - "34": { - "name": "combinedMenuTemplateForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 91, - 34 - ], - [ - 105, - 1 - ] - ], - "doc": " Private: Returns a menu template for both normal entries as well as\ndevelopment mode entries. " - } - }, - "105": { - "24": { - "name": "executeBuildHandlers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event", - "menuTemplate" - ], - "range": [ - [ - 105, - 24 - ], - [ - 111, - 1 - ] - ], - "doc": " Private: Executes `executeAtBuild` if defined for each menu item with\nthe provided event and then removes the `executeAtBuild` property from\nthe menu item.\n\nThis is useful for commands that need to provide data about the event\nto the command. " - } - }, - "111": { - "16": { - "name": "showForEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 111, - 16 - ], - [ - 116, - 64 - ] - ], - "doc": "Public: Request a context menu to be displayed. " - } - } - }, - "exports": 10 - }, - "./build/src/cursor-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork@^0.11.1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork@^1.0.0", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "18": { - "name": "CursorComponent", - "type": "function", - "range": [ - [ - 5, - 18 - ], - [ - 17, - 79 - ] - ] - } - }, - "6": { - "15": { - "name": "'CursorComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 31 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 16, - 1 - ] - ], - "doc": null - } - }, - "16": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 16, - 25 - ], - [ - 17, - 79 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "./build/src/cursor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "4": { - "0": { - "type": "class", - "name": "CursorView", - "bindingType": "exports", - "classProperties": [ - [ - 5, - 12 - ], - [ - 8, - 16 - ], - [ - 10, - 17 - ], - [ - 13, - 18 - ], - [ - 19, - 17 - ] - ], - "prototypeProperties": [ - [ - 24, - 12 - ], - [ - 25, - 11 - ], - [ - 26, - 15 - ], - [ - 27, - 16 - ], - [ - 28, - 23 - ], - [ - 30, - 14 - ], - [ - 44, - 16 - ], - [ - 48, - 17 - ], - [ - 65, - 12 - ], - [ - 68, - 19 - ], - [ - 71, - 19 - ], - [ - 74, - 20 - ], - [ - 77, - 14 - ], - [ - 86, - 16 - ], - [ - 90, - 17 - ], - [ - 94, - 17 - ], - [ - 98, - 21 - ], - [ - 101, - 21 - ], - [ - 104, - 30 - ], - [ - 109, - 24 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 112, - 31 - ] - ] - } - }, - "5": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 12 - ], - [ - 8, - 1 - ] - ] - } - }, - "8": { - "16": { - "name": "blinkPeriod", - "type": "primitive", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 18 - ] - ], - "bindingType": "classProperty" - } - }, - "10": { - "17": { - "name": "blinkCursors", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 17 - ], - [ - 13, - 1 - ] - ], - "doc": "~Private~" - } - }, - "13": { - "18": { - "name": "startBlinking", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 13, - 18 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "17": { - "name": "stopBlinking", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 19, - 17 - ], - [ - 24, - 1 - ] - ], - "doc": "~Private~" - } - }, - "24": { - "12": { - "name": "blinking", - "type": "primitive", - "range": [ - [ - 24, - 12 - ], - [ - 24, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "25": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 25, - 11 - ], - [ - 25, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "26": { - "15": { - "name": "needsUpdate", - "type": "primitive", - "range": [ - [ - 26, - 15 - ], - [ - 26, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "27": { - "16": { - "name": "needsRemoval", - "type": "primitive", - "range": [ - [ - 27, - 16 - ], - [ - 27, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "28": { - "23": { - "name": "shouldPauseBlinking", - "type": "primitive", - "range": [ - [ - 28, - 23 - ], - [ - 28, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "30": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 30, - 14 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 16 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 17 - ], - [ - 65, - 1 - ] - ], - "doc": "~Private~" - } - }, - "65": { - "12": { - "name": "isHidden", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 65, - 12 - ], - [ - 68, - 1 - ] - ], - "doc": "Private: Override for speed. The base function checks the computedStyle " - } - }, - "68": { - "19": { - "name": "needsAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 19 - ], - [ - 71, - 1 - ] - ], - "doc": "~Private~" - } - }, - "71": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 71, - 19 - ], - [ - 74, - 1 - ] - ], - "doc": "~Private~" - } - }, - "74": { - "20": { - "name": "getPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 20 - ], - [ - 77, - 1 - ] - ], - "doc": "~Private~" - } - }, - "77": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 77, - 14 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "16": { - "name": "stopBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 16 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "17": { - "name": "startBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 17 - ], - [ - 94, - 1 - ] - ], - "doc": "~Private~" - } - }, - "94": { - "17": { - "name": "resetBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 17 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "21": { - "name": "getBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 21 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "21": { - "name": "getScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 21 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "30": { - "name": "removeIdleClassTemporarily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 30 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "24": { - "name": "resetCursorAnimation", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 24 - ], - [ - 112, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "./build/src/cursor.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "10": { - "0": { - "type": "class", - "name": "Cursor", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 18 - ], - [ - 12, - 18 - ], - [ - 13, - 14 - ], - [ - 14, - 11 - ], - [ - 15, - 19 - ], - [ - 18, - 15 - ], - [ - 49, - 11 - ], - [ - 52, - 18 - ], - [ - 60, - 16 - ], - [ - 70, - 21 - ], - [ - 75, - 21 - ], - [ - 78, - 18 - ], - [ - 89, - 21 - ], - [ - 94, - 21 - ], - [ - 97, - 14 - ], - [ - 101, - 20 - ], - [ - 105, - 14 - ], - [ - 112, - 13 - ], - [ - 122, - 14 - ], - [ - 136, - 16 - ], - [ - 145, - 28 - ], - [ - 158, - 27 - ], - [ - 170, - 16 - ], - [ - 176, - 19 - ], - [ - 180, - 18 - ], - [ - 184, - 16 - ], - [ - 188, - 19 - ], - [ - 192, - 16 - ], - [ - 196, - 19 - ], - [ - 201, - 24 - ], - [ - 205, - 10 - ], - [ - 217, - 12 - ], - [ - 233, - 12 - ], - [ - 247, - 13 - ], - [ - 256, - 13 - ], - [ - 260, - 16 - ], - [ - 264, - 31 - ], - [ - 268, - 25 - ], - [ - 273, - 30 - ], - [ - 283, - 25 - ], - [ - 293, - 25 - ], - [ - 297, - 19 - ], - [ - 301, - 25 - ], - [ - 305, - 19 - ], - [ - 310, - 29 - ], - [ - 315, - 30 - ], - [ - 320, - 26 - ], - [ - 336, - 43 - ], - [ - 358, - 41 - ], - [ - 380, - 41 - ], - [ - 409, - 37 - ], - [ - 430, - 40 - ], - [ - 447, - 29 - ], - [ - 457, - 29 - ], - [ - 461, - 34 - ], - [ - 466, - 38 - ], - [ - 470, - 45 - ], - [ - 484, - 49 - ], - [ - 502, - 34 - ], - [ - 506, - 24 - ], - [ - 510, - 23 - ], - [ - 514, - 18 - ], - [ - 521, - 17 - ], - [ - 527, - 13 - ], - [ - 532, - 32 - ] - ], - "doc": " Public: The `Cursor` class represents the little blinking line identifying\nwhere text can be inserted.\n\nCursors belong to {Editor}s and have some metadata attached in the form\nof a {Marker}. ", - "range": [ - [ - 10, - 0 - ], - [ - 540, - 50 - ] - ] - } - }, - "11": { - "18": { - "name": "screenPosition", - "type": "primitive", - "range": [ - [ - 11, - 18 - ], - [ - 11, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "18": { - "name": "bufferPosition", - "type": "primitive", - "range": [ - [ - 12, - 18 - ], - [ - 12, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "13": { - "14": { - "name": "goalColumn", - "type": "primitive", - "range": [ - [ - 13, - 14 - ], - [ - 13, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 14, - 11 - ], - [ - 14, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "15": { - "19": { - "name": "needsAutoscroll", - "type": "primitive", - "range": [ - [ - 15, - 19 - ], - [ - 15, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 18, - 15 - ], - [ - 49, - 1 - ] - ], - "doc": "Private: Instantiated by an {Editor} " - } - }, - "49": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 11 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "18": { - "name": "changePosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options", - "fn" - ], - "range": [ - [ - 52, - 18 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "16": { - "name": "getPixelRect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 60, - 16 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "21": { - "name": "setScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 70, - 21 - ], - [ - 75, - 1 - ] - ], - "doc": " Public: Moves a cursor to a given screen position.\n\nscreenPosition - An {Array} of two numbers: the screen row, and the screen\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " - } - }, - "75": { - "21": { - "name": "getScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 75, - 21 - ], - [ - 78, - 1 - ] - ], - "doc": "Public: Returns the screen position of the cursor as an Array. " - } - }, - "78": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 78, - 18 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "setBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 89, - 21 - ], - [ - 94, - 1 - ] - ], - "doc": " Public: Moves a cursor to a given buffer position.\n\nbufferPosition - An {Array} of two numbers: the buffer row, and the buffer\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " - } - }, - "94": { - "21": { - "name": "getBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 21 - ], - [ - 97, - 1 - ] - ], - "doc": "Public: Returns the current buffer position as an Array. " - } - }, - "97": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 97, - 14 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "20": { - "name": "updateVisibility", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 20 - ], - [ - 105, - 1 - ] - ], - "doc": "Public: If the marker range is empty, the cursor is marked as being visible. " - } - }, - "105": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 105, - 14 - ], - [ - 112, - 1 - ] - ], - "doc": "Public: Sets whether the cursor is visible. " - } - }, - "112": { - "13": { - "name": "isVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 112, - 13 - ], - [ - 112, - 23 - ] - ], - "doc": "Public: Returns the visibility of the cursor. " - } - }, - "122": { - "14": { - "name": "wordRegExp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 122, - 14 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Get the RegExp used by the cursor to determine what a \"word\" is.\n\noptions: An optional {Object} with the following keys:\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the regex.\n (default: true)\n\nReturns a {RegExp}. " - } - }, - "136": { - "16": { - "name": "isLastCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 16 - ], - [ - 145, - 1 - ] - ], - "doc": " Public: Identifies if this cursor is the last in the {Editor}.\n\n\"Last\" is defined as the most recently added cursor.\n\nReturns a {Boolean}. " - } - }, - "145": { - "28": { - "name": "isSurroundedByWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 145, - 28 - ], - [ - 158, - 1 - ] - ], - "doc": " Public: Identifies if the cursor is surrounded by whitespace.\n\n\"Surrounded\" here means that the character directly before and after the\ncursor are both whitespace.\n\nReturns a {Boolean}. " - } - }, - "158": { - "27": { - "name": "isBetweenWordAndNonWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 27 - ], - [ - 170, - 1 - ] - ], - "doc": " Public: Returns whether the cursor is currently between a word and non-word\ncharacter. The non-word characters are defined by the\n`editor.nonWordCharacters` config value.\n\nThis method returns false if the character before or after the cursor is\nwhitespace.\n\nReturns a Boolean. " - } - }, - "170": { - "16": { - "name": "isInsideWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 170, - 16 - ], - [ - 176, - 1 - ] - ], - "doc": "Public: Returns whether this cursor is between a word's start and end. " - } - }, - "176": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 176, - 19 - ], - [ - 180, - 1 - ] - ], - "doc": "Public: Prevents this cursor from causing scrolling. " - } - }, - "180": { - "18": { - "name": "clearSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 180, - 18 - ], - [ - 184, - 1 - ] - ], - "doc": "Public: Deselects the current selection. " - } - }, - "184": { - "16": { - "name": "getScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 184, - 16 - ], - [ - 188, - 1 - ] - ], - "doc": "Public: Returns the cursor's current screen row. " - } - }, - "188": { - "19": { - "name": "getScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 19 - ], - [ - 192, - 1 - ] - ], - "doc": "Public: Returns the cursor's current screen column. " - } - }, - "192": { - "16": { - "name": "getBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 192, - 16 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Retrieves the cursor's current buffer row. " - } - }, - "196": { - "19": { - "name": "getBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 196, - 19 - ], - [ - 201, - 1 - ] - ], - "doc": "Public: Returns the cursor's current buffer column. " - } - }, - "201": { - "24": { - "name": "getCurrentBufferLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 201, - 24 - ], - [ - 205, - 1 - ] - ], - "doc": " Public: Returns the cursor's current buffer row of text excluding its line\nending. " - } - }, - "205": { - "10": { - "name": "moveUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount", - null - ], - "range": [ - [ - 205, - 10 - ], - [ - 217, - 1 - ] - ], - "doc": "Public: Moves the cursor up one screen row. " - } - }, - "217": { - "12": { - "name": "moveDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount", - null - ], - "range": [ - [ - 217, - 12 - ], - [ - 233, - 1 - ] - ], - "doc": "Public: Moves the cursor down one screen row. " - } - }, - "233": { - "12": { - "name": "moveLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 233, - 12 - ], - [ - 247, - 1 - ] - ], - "doc": " Public: Moves the cursor left one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the left of the selection if a\n selection exists. " - } - }, - "247": { - "13": { - "name": "moveRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 247, - 13 - ], - [ - 256, - 1 - ] - ], - "doc": " Public: Moves the cursor right one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the right of the selection if a\n selection exists. " - } - }, - "256": { - "13": { - "name": "moveToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 13 - ], - [ - 260, - 1 - ] - ], - "doc": "Public: Moves the cursor to the top of the buffer. " - } - }, - "260": { - "16": { - "name": "moveToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 16 - ], - [ - 264, - 1 - ] - ], - "doc": "Public: Moves the cursor to the bottom of the buffer. " - } - }, - "264": { - "31": { - "name": "moveToBeginningOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 264, - 31 - ], - [ - 268, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the line. " - } - }, - "268": { - "25": { - "name": "moveToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 268, - 25 - ], - [ - 273, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the buffer line. " - } - }, - "273": { - "30": { - "name": "moveToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 273, - 30 - ], - [ - 283, - 1 - ] - ], - "doc": " Public: Moves the cursor to the beginning of the first character in the\nline. " - } - }, - "283": { - "25": { - "name": "skipLeadingWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 283, - 25 - ], - [ - 293, - 1 - ] - ], - "doc": " Public: Moves the cursor to the beginning of the buffer line, skipping all\nwhitespace. " - } - }, - "293": { - "25": { - "name": "moveToEndOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 293, - 25 - ], - [ - 297, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the line. " - } - }, - "297": { - "19": { - "name": "moveToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 19 - ], - [ - 301, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the buffer line. " - } - }, - "301": { - "25": { - "name": "moveToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 301, - 25 - ], - [ - 305, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the word. " - } - }, - "305": { - "19": { - "name": "moveToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 305, - 19 - ], - [ - 310, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the word. " - } - }, - "310": { - "29": { - "name": "moveToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 310, - 29 - ], - [ - 315, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the next word. " - } - }, - "315": { - "30": { - "name": "moveToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 30 - ], - [ - 320, - 1 - ] - ], - "doc": "Public: Moves the cursor to the previous word boundary. " - } - }, - "320": { - "26": { - "name": "moveToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 320, - 26 - ], - [ - 336, - 1 - ] - ], - "doc": "Public: Moves the cursor to the next word boundary. " - } - }, - "336": { - "43": { - "name": "getBeginningOfCurrentWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 336, - 43 - ], - [ - 358, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the current word starts.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n :allowPrevious - A {Boolean} indicating whether the beginning of the\n previous word can be returned.\n\nReturns a {Range}. " - } - }, - "358": { - "41": { - "name": "getPreviousWordBoundaryBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 358, - 41 - ], - [ - 380, - 1 - ] - ], - "doc": " Public: Retrieves buffer position of previous word boundary. It might be on\nthe current word, or the previous word. " - } - }, - "380": { - "41": { - "name": "getMoveNextWordBoundaryBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 380, - 41 - ], - [ - 409, - 1 - ] - ], - "doc": " Public: Retrieves buffer position of the next word boundary. It might be on\nthe current word, or the previous word. " - } - }, - "409": { - "37": { - "name": "getEndOfCurrentWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 409, - 37 - ], - [ - 430, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the current word ends.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp})\n :includeNonWordCharacters - A Boolean indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n\nReturns a {Range}. " - } - }, - "430": { - "40": { - "name": "getBeginningOfNextWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 430, - 40 - ], - [ - 447, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the next word starts.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n\nReturns a {Range}. " - } - }, - "447": { - "29": { - "name": "getCurrentWordBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 447, - 29 - ], - [ - 457, - 1 - ] - ], - "doc": " Public: Returns the buffer Range occupied by the word located under the cursor.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}). " - } - }, - "457": { - "29": { - "name": "getCurrentLineBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 457, - 29 - ], - [ - 461, - 1 - ] - ], - "doc": " Public: Returns the buffer Range for the current line.\n\noptions -\n :includeNewline: - A {Boolean} which controls whether the Range should\n include the newline. " - } - }, - "461": { - "34": { - "name": "moveToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 461, - 34 - ], - [ - 466, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the next paragraph " - } - }, - "466": { - "38": { - "name": "moveToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 466, - 38 - ], - [ - 470, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the previous paragraph " - } - }, - "470": { - "45": { - "name": "getBeginningOfNextParagraphBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 470, - 45 - ], - [ - 484, - 1 - ] - ], - "doc": "~Private~" - } - }, - "484": { - "49": { - "name": "getBeginningOfPreviousParagraphBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 484, - 49 - ], - [ - 502, - 1 - ] - ], - "doc": "~Private~" - } - }, - "502": { - "34": { - "name": "getCurrentParagraphBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 502, - 34 - ], - [ - 506, - 1 - ] - ], - "doc": " Public: Retrieves the range for the current paragraph.\n\nA paragraph is defined as a block of text surrounded by empty lines.\n\nReturns a {Range}. " - } - }, - "506": { - "24": { - "name": "getCurrentWordPrefix", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 506, - 24 - ], - [ - 510, - 1 - ] - ], - "doc": "Public: Returns the characters preceding the cursor in the current word. " - } - }, - "510": { - "23": { - "name": "isAtBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 510, - 23 - ], - [ - 514, - 1 - ] - ], - "doc": "Public: Returns whether the cursor is at the start of a line. " - } - }, - "514": { - "18": { - "name": "getIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 514, - 18 - ], - [ - 521, - 1 - ] - ], - "doc": "Public: Returns the indentation level of the current line. " - } - }, - "521": { - "17": { - "name": "isAtEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 521, - 17 - ], - [ - 527, - 1 - ] - ], - "doc": "Public: Returns whether the cursor is on the line return character. " - } - }, - "527": { - "13": { - "name": "getScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 527, - 13 - ], - [ - 532, - 1 - ] - ], - "doc": " Public: Retrieves the grammar's token scopes for the line.\n\nReturns an {Array} of {String}s. " - } - }, - "532": { - "32": { - "name": "hasPrecedingCharactersOnLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 532, - 32 - ], - [ - 540, - 50 - ] - ], - "doc": " Public: Returns true if this cursor has no non-whitespace characters before\nits current position. " - } - } - }, - "exports": 10 - }, - "./build/src/cursors-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork@^0.11.1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork@^1.0.0", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "debounce", - "exportsProperty": "debounce" - }, - "11": { - "type": "import", - "range": [ - [ - 2, - 11 - ], - [ - 2, - 17 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "toArray", - "exportsProperty": "toArray" - }, - "20": { - "type": "import", - "range": [ - [ - 2, - 20 - ], - [ - 2, - 39 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "42": { - "type": "import", - "range": [ - [ - 2, - 42 - ], - [ - 2, - 48 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqual", - "exportsProperty": "isEqual" - } - }, - "3": { - "18": { - "name": "SubscriberMixin", - "type": "import", - "range": [ - [ - 3, - 18 - ], - [ - 3, - 45 - ] - ], - "bindingType": "variable", - "path": "./subscriber-mixin" - } - }, - "4": { - "18": { - "name": "CursorComponent", - "type": "import", - "range": [ - [ - 4, - 18 - ], - [ - 4, - 45 - ] - ], - "bindingType": "variable", - "path": "./cursor-component" - } - }, - "7": { - "19": { - "name": "CursorsComponent", - "type": "function", - "range": [ - [ - 7, - 19 - ], - [ - 60, - 37 - ] - ] - } - }, - "8": { - "15": { - "name": "'CursorsComponent'", - "type": "primitive", - "range": [ - [ - 8, - 15 - ], - [ - 8, - 32 - ] - ] - } - }, - "9": { - "10": { - "type": "primitive", - "range": [ - [ - 9, - 10 - ], - [ - 9, - 26 - ] - ] - } - }, - "11": { - "29": { - "type": "primitive", - "range": [ - [ - 11, - 29 - ], - [ - 11, - 32 - ] - ] - } - }, - "13": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 10 - ], - [ - 25, - 1 - ] - ], - "doc": null - } - }, - "25": { - "19": { - "name": "getInitialState", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 19 - ], - [ - 28, - 1 - ] - ], - "doc": null - } - }, - "28": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 21 - ], - [ - 31, - 1 - ] - ], - "doc": null - } - }, - "31": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 31, - 24 - ], - [ - 34, - 1 - ] - ], - "doc": null - } - }, - "34": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps", - "newState" - ], - "range": [ - [ - 34, - 25 - ], - [ - 38, - 1 - ] - ], - "doc": null - } - }, - "38": { - "23": { - "name": "componentWillUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 38, - 23 - ], - [ - 45, - 1 - ] - ], - "doc": null - } - }, - "45": { - "24": { - "name": "startBlinkingCursors", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 24 - ], - [ - 48, - 1 - ] - ], - "doc": null - } - }, - "48": { - "34": { - "type": "primitive", - "range": [ - [ - 48, - 34 - ], - [ - 48, - 37 - ] - ] - } - }, - "50": { - "23": { - "name": "stopBlinkingCursors", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 23 - ], - [ - 53, - 1 - ] - ], - "doc": null - } - }, - "53": { - "21": { - "name": "toggleCursorBlink", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 21 - ], - [ - 56, - 1 - ] - ], - "doc": null - } - }, - "56": { - "23": { - "name": "pauseCursorBlinking", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 23 - ], - [ - 60, - 37 - ] - ], - "doc": null - } - } - }, - "exports": 7 - }, - "./build/src/custom-event-mixin.coffee": { - "objects": { - "2": { - "2": { - "type": "primitive", - "range": [ - [ - 2, - 2 - ], - [ - 14, - 52 - ] - ] - }, - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 2, - 22 - ], - [ - 5, - 1 - ] - ], - "doc": null - } - }, - "5": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 24 - ], - [ - 10, - 1 - ] - ], - "doc": null - } - }, - "10": { - "27": { - "name": "addCustomEventListeners", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "customEventListeners" - ], - "range": [ - [ - 10, - 27 - ], - [ - 14, - 52 - ] - ], - "doc": null - } - } - }, - "exports": 2 - }, - "./build/src/decoration.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Subscriber", - "exportsProperty": "Subscriber" - }, - "13": { - "type": "import", - "range": [ - [ - 1, - 13 - ], - [ - 1, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "3": { - "12": { - "name": "0", - "type": "primitive", - "range": [ - [ - 3, - 12 - ], - [ - 3, - 12 - ] - ] - } - }, - "4": { - "9": { - "name": "nextId", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 4, - 9 - ], - [ - 4, - 22 - ] - ] - } - }, - "40": { - "0": { - "type": "class", - "name": "Decoration", - "bindingType": "exports", - "classProperties": [ - [ - 43, - 11 - ] - ], - "prototypeProperties": [ - [ - 49, - 15 - ], - [ - 59, - 11 - ], - [ - 70, - 10 - ], - [ - 79, - 13 - ], - [ - 82, - 13 - ], - [ - 89, - 10 - ], - [ - 92, - 18 - ], - [ - 98, - 9 - ], - [ - 104, - 20 - ] - ], - "doc": " Public: Represents a decoration that follows a {Marker}. A decoration is\nbasically a visual representation of a marker. It allows you to add CSS\nclasses to line numbers in the gutter, lines, and add selection-line regions\naround marked ranges of text.\n\n{Decoration} objects are not meant to be created directly, but created with\n{Editor::decorateMarker}. eg.\n\n```coffee\nrange = editor.getSelectedBufferRange() # any range you like\nmarker = editor.markBufferRange(range)\ndecoration = editor.decorateMarker(marker, {type: 'line', class: 'my-line-class'})\n```\n\nBest practice for destorying the decoration is by destroying the {Marker}.\n\n```\nmarker.destroy()\n```\n\nYou should only use {Decoration::destroy} when you still need or do not own\nthe marker.\n\n### IDs\nEach {Decoration} has a unique ID available via `decoration.id`.\n\n### Events\nA couple of events are emitted:\n\n* `destroyed`: When the {Decoration} is destroyed\n* `updated`: When the {Decoration} is updated via {Decoration::update}.\n Event object has properties `oldParams` and `newParams`\n\n ", - "range": [ - [ - 40, - 0 - ], - [ - 106, - 8 - ] - ] - } - }, - "43": { - "11": { - "name": "isType", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "decorationParams", - "type" - ], - "range": [ - [ - 43, - 11 - ], - [ - 49, - 1 - ] - ], - "doc": "~Private~" - } - }, - "49": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null, - null - ], - "range": [ - [ - 49, - 15 - ], - [ - 59, - 1 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 11 - ], - [ - 70, - 1 - ] - ], - "doc": " Public: Destroy this marker.\n\nIf you own the marker, you should use {Marker::destroy} which will destroy\nthis decoration. " - } - }, - "70": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "newParams" - ], - "range": [ - [ - 70, - 10 - ], - [ - 79, - 1 - ] - ], - "doc": " Public: Update the marker with new params. Allows you to change the decoration's class.\n\n```\ndecoration.update({type: 'gutter', class: 'my-new-class'})\n``` " - } - }, - "79": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 13 - ], - [ - 79, - 22 - ] - ], - "doc": "Public: Returns the marker associated with this {Decoration} " - } - }, - "82": { - "13": { - "name": "getParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 13 - ], - [ - 82, - 22 - ] - ], - "doc": "Public: Returns the {Decoration}'s params. " - } - }, - "89": { - "10": { - "name": "isType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "type" - ], - "range": [ - [ - 89, - 10 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "18": { - "name": "matchesPattern", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decorationPattern" - ], - "range": [ - [ - 92, - 18 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "9": { - "name": "flash", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass", - "duration" - ], - "range": [ - [ - 98, - 9 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "20": { - "name": "consumeNextFlash", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 20 - ], - [ - 106, - 8 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 40 - }, - "./build/src/deserializer-manager.coffee": { - "objects": { - "20": { - "0": { - "type": "class", - "name": "DeserializerManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 21, - 15 - ], - [ - 27, - 7 - ], - [ - 33, - 10 - ], - [ - 41, - 15 - ], - [ - 54, - 7 - ] - ], - "doc": " Public: Manages the deserializers used for serialized state\n\nAn instance of this class is always available as the `atom.deserializers`\nglobal.\n\n### Registering a deserializer\n\n```coffee\nclass MyPackageView extends View\n atom.deserializers.add(this)\n\n @deserialize: (state) ->\n new MyPackageView(state)\n\n constructor: (@state) ->\n\n serialize: ->\n @state\n``` ", - "range": [ - [ - 20, - 0 - ], - [ - 58, - 24 - ] - ] - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 15 - ], - [ - 27, - 1 - ] - ] - } - }, - "27": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "classes" - ], - "range": [ - [ - 27, - 7 - ], - [ - 33, - 1 - ] - ], - "doc": " Public: Register the given class(es) as deserializers.\n\nclasses - One or more classes to register. " - } - }, - "33": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "classes" - ], - "range": [ - [ - 33, - 10 - ], - [ - 41, - 1 - ] - ], - "doc": " Public: Remove the given class(es) as deserializers.\n\nclasses - One or more classes to remove. " - } - }, - "41": { - "15": { - "name": "deserialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state", - "params" - ], - "range": [ - [ - 41, - 15 - ], - [ - 54, - 1 - ] - ], - "doc": " Public: Deserialize the state and params.\n\nstate - The state {Object} to deserialize.\nparams - The params {Object} to pass as the second arguments to the\n deserialize method of the deserializer. " - } - }, - "54": { - "7": { - "name": "get", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 54, - 7 - ], - [ - 58, - 24 - ] - ], - "doc": " Private: Get the deserializer for the state.\n\nstate - The state {Object} being deserialized. " - } - } - }, - "exports": 20 - }, - "./build/src/display-buffer-marker.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 2, - 10 - ], - [ - 2, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "5": { - "0": { - "type": "class", - "name": "DisplayBufferMarker", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 9, - 28 - ], - [ - 10, - 25 - ], - [ - 11, - 25 - ], - [ - 12, - 25 - ], - [ - 13, - 25 - ], - [ - 14, - 12 - ], - [ - 16, - 15 - ], - [ - 27, - 8 - ], - [ - 33, - 18 - ], - [ - 40, - 18 - ], - [ - 46, - 18 - ], - [ - 53, - 18 - ], - [ - 56, - 17 - ], - [ - 62, - 25 - ], - [ - 69, - 25 - ], - [ - 76, - 25 - ], - [ - 83, - 25 - ], - [ - 89, - 25 - ], - [ - 96, - 25 - ], - [ - 103, - 25 - ], - [ - 110, - 25 - ], - [ - 117, - 26 - ], - [ - 124, - 26 - ], - [ - 131, - 24 - ], - [ - 138, - 24 - ], - [ - 146, - 13 - ], - [ - 150, - 13 - ], - [ - 153, - 11 - ], - [ - 157, - 14 - ], - [ - 162, - 11 - ], - [ - 169, - 15 - ], - [ - 172, - 17 - ], - [ - 175, - 17 - ], - [ - 178, - 21 - ], - [ - 183, - 11 - ], - [ - 187, - 11 - ], - [ - 191, - 11 - ], - [ - 195, - 11 - ], - [ - 198, - 13 - ], - [ - 202, - 19 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 230, - 23 - ] - ] - } - }, - "9": { - "28": { - "name": "bufferMarkerSubscription", - "type": "primitive", - "range": [ - [ - 9, - 28 - ], - [ - 9, - 31 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "25": { - "name": "oldHeadBufferPosition", - "type": "primitive", - "range": [ - [ - 10, - 25 - ], - [ - 10, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "11": { - "25": { - "name": "oldHeadScreenPosition", - "type": "primitive", - "range": [ - [ - 11, - 25 - ], - [ - 11, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "25": { - "name": "oldTailBufferPosition", - "type": "primitive", - "range": [ - [ - 12, - 25 - ], - [ - 12, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "13": { - "25": { - "name": "oldTailScreenPosition", - "type": "primitive", - "range": [ - [ - 13, - 25 - ], - [ - 13, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "12": { - "name": "wasValid", - "type": "primitive", - "range": [ - [ - 14, - 12 - ], - [ - 14, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 16, - 15 - ], - [ - 27, - 1 - ] - ], - "doc": "~Private~" - } - }, - "27": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 27, - 8 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 33, - 18 - ], - [ - 40, - 1 - ] - ], - "doc": " Private: Gets the screen range of the display marker.\n\nReturns a {Range}. " - } - }, - "40": { - "18": { - "name": "setScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 40, - 18 - ], - [ - 46, - 1 - ] - ], - "doc": " Private: Modifies the screen range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " - } - }, - "46": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 46, - 18 - ], - [ - 53, - 1 - ] - ], - "doc": " Private: Gets the buffer range of the display marker.\n\nReturns a {Range}. " - } - }, - "53": { - "18": { - "name": "setBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 53, - 18 - ], - [ - 56, - 1 - ] - ], - "doc": " Private: Modifies the buffer range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " - } - }, - "56": { - "17": { - "name": "getPixelRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 17 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "25": { - "name": "getHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 62, - 25 - ], - [ - 69, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's head.\n\nReturns a {Point}. " - } - }, - "69": { - "25": { - "name": "setHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 69, - 25 - ], - [ - 76, - 1 - ] - ], - "doc": " Private: Sets the screen position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "76": { - "25": { - "name": "getHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 25 - ], - [ - 83, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's head.\n\nReturns a {Point}. " - } - }, - "83": { - "25": { - "name": "setHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 83, - 25 - ], - [ - 89, - 1 - ] - ], - "doc": " Private: Sets the buffer position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "89": { - "25": { - "name": "getTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 25 - ], - [ - 96, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's tail.\n\nReturns a {Point}. " - } - }, - "96": { - "25": { - "name": "setTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 96, - 25 - ], - [ - 103, - 1 - ] - ], - "doc": " Private: Sets the screen position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "103": { - "25": { - "name": "getTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 103, - 25 - ], - [ - 110, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's tail.\n\nReturns a {Point}. " - } - }, - "110": { - "25": { - "name": "setTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 110, - 25 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: Sets the buffer position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "117": { - "26": { - "name": "getStartScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 26 - ], - [ - 124, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndScreenPosition}.\n\nReturns a {Point}. " - } - }, - "124": { - "26": { - "name": "getStartBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 26 - ], - [ - 131, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndBufferPosition}.\n\nReturns a {Point}. " - } - }, - "131": { - "24": { - "name": "getEndScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 131, - 24 - ], - [ - 138, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartScreenPosition}.\n\nReturns a {Point}. " - } - }, - "138": { - "24": { - "name": "getEndBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 24 - ], - [ - 146, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartBufferPosition}.\n\nReturns a {Point}. " - } - }, - "146": { - "13": { - "name": "plantTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 146, - 13 - ], - [ - 150, - 1 - ] - ], - "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " - } - }, - "150": { - "13": { - "name": "clearTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 150, - 13 - ], - [ - 153, - 1 - ] - ], - "doc": "Private: Removes the tail from the marker. " - } - }, - "153": { - "11": { - "name": "hasTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 153, - 11 - ], - [ - 157, - 1 - ] - ], - "doc": "~Private~" - } - }, - "157": { - "14": { - "name": "isReversed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 157, - 14 - ], - [ - 162, - 1 - ] - ], - "doc": "Private: Returns whether the head precedes the tail in the buffer " - } - }, - "162": { - "11": { - "name": "isValid", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 11 - ], - [ - 169, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the marker is valid. Markers can be\ninvalidated when a region surrounding them in the buffer is changed. " - } - }, - "169": { - "15": { - "name": "isDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 169, - 15 - ], - [ - 172, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the marker has been destroyed. A marker\ncan be invalid without being destroyed, in which case undoing the invalidating\noperation would restore the marker. Once a marker is destroyed by calling\n{Marker::destroy}, no undo/redo operation can ever bring it back. " - } - }, - "172": { - "17": { - "name": "getAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 172, - 17 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "17": { - "name": "setAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 175, - 17 - ], - [ - 178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "178": { - "21": { - "name": "matchesAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 178, - 21 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 183, - 11 - ], - [ - 187, - 1 - ] - ], - "doc": "Private: Destroys the marker " - } - }, - "187": { - "11": { - "name": "isEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 187, - 11 - ], - [ - 191, - 1 - ] - ], - "doc": "~Private~" - } - }, - "191": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 191, - 11 - ], - [ - 195, - 1 - ] - ], - "doc": "~Private~" - } - }, - "195": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 195, - 11 - ], - [ - 198, - 1 - ] - ], - "doc": "Private: Returns a {String} representation of the marker " - } - }, - "198": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 198, - 13 - ], - [ - 202, - 1 - ] - ], - "doc": "~Private~" - } - }, - "202": { - "19": { - "name": "notifyObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 202, - 19 - ], - [ - 230, - 23 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "./build/src/display-buffer.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "2": { - "7": { - "name": "guid", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "guid@0.0.10" - } - }, - "3": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@^1" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Model", - "exportsProperty": "Model" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Range", - "exportsProperty": "Range" - } - }, - "6": { - "18": { - "name": "TokenizedBuffer", - "type": "import", - "range": [ - [ - 6, - 18 - ], - [ - 6, - 45 - ] - ], - "bindingType": "variable", - "path": "./tokenized-buffer" - } - }, - "7": { - "9": { - "name": "RowMap", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 27 - ] - ], - "bindingType": "variable", - "path": "./row-map" - } - }, - "8": { - "7": { - "name": "Fold", - "type": "import", - "range": [ - [ - 8, - 7 - ], - [ - 8, - 22 - ] - ], - "bindingType": "variable", - "path": "./fold" - } - }, - "9": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 9, - 8 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "10": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "11": { - "22": { - "name": "DisplayBufferMarker", - "type": "import", - "range": [ - [ - 11, - 22 - ], - [ - 11, - 54 - ] - ], - "bindingType": "variable", - "path": "./display-buffer-marker" - } - }, - "13": { - "0": { - "type": "class", - "name": "BufferToScreenConversionError", - "classProperties": [], - "prototypeProperties": [ - [ - 14, - 15 - ] - ], - "doc": "~Private~", - "range": [ - [ - 13, - 0 - ], - [ - 17, - 0 - ] - ] - } - }, - "14": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 14, - 15 - ], - [ - 17, - 0 - ] - ] - } - }, - "19": { - "0": { - "type": "class", - "name": "DisplayBuffer", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 34, - 24 - ], - [ - 35, - 26 - ], - [ - 36, - 29 - ], - [ - 37, - 26 - ], - [ - 38, - 36 - ], - [ - 40, - 15 - ], - [ - 70, - 19 - ], - [ - 78, - 21 - ], - [ - 82, - 8 - ], - [ - 91, - 24 - ], - [ - 97, - 15 - ], - [ - 104, - 28 - ], - [ - 115, - 14 - ], - [ - 117, - 27 - ], - [ - 118, - 27 - ], - [ - 120, - 29 - ], - [ - 121, - 29 - ], - [ - 123, - 32 - ], - [ - 124, - 32 - ], - [ - 126, - 29 - ], - [ - 127, - 29 - ], - [ - 129, - 13 - ], - [ - 138, - 13 - ], - [ - 140, - 19 - ], - [ - 146, - 18 - ], - [ - 152, - 26 - ], - [ - 160, - 24 - ], - [ - 167, - 12 - ], - [ - 176, - 12 - ], - [ - 183, - 16 - ], - [ - 184, - 16 - ], - [ - 190, - 19 - ], - [ - 193, - 19 - ], - [ - 194, - 19 - ], - [ - 198, - 17 - ], - [ - 199, - 17 - ], - [ - 206, - 20 - ], - [ - 209, - 18 - ], - [ - 210, - 18 - ], - [ - 214, - 25 - ], - [ - 215, - 25 - ], - [ - 217, - 23 - ], - [ - 218, - 23 - ], - [ - 224, - 18 - ], - [ - 226, - 22 - ], - [ - 229, - 23 - ], - [ - 237, - 29 - ], - [ - 244, - 22 - ], - [ - 249, - 26 - ], - [ - 253, - 25 - ], - [ - 256, - 19 - ], - [ - 261, - 18 - ], - [ - 264, - 22 - ], - [ - 273, - 29 - ], - [ - 277, - 38 - ], - [ - 281, - 23 - ], - [ - 311, - 26 - ], - [ - 314, - 26 - ], - [ - 317, - 27 - ], - [ - 333, - 16 - ], - [ - 339, - 16 - ], - [ - 343, - 15 - ], - [ - 346, - 15 - ], - [ - 351, - 25 - ], - [ - 359, - 25 - ], - [ - 367, - 21 - ], - [ - 378, - 14 - ], - [ - 387, - 16 - ], - [ - 393, - 12 - ], - [ - 396, - 22 - ], - [ - 406, - 27 - ], - [ - 416, - 14 - ], - [ - 422, - 23 - ], - [ - 425, - 23 - ], - [ - 429, - 21 - ], - [ - 435, - 19 - ], - [ - 446, - 34 - ], - [ - 454, - 28 - ], - [ - 466, - 34 - ], - [ - 477, - 34 - ], - [ - 482, - 34 - ], - [ - 493, - 28 - ], - [ - 502, - 25 - ], - [ - 505, - 29 - ], - [ - 513, - 25 - ], - [ - 521, - 29 - ], - [ - 532, - 29 - ], - [ - 538, - 28 - ], - [ - 542, - 34 - ], - [ - 561, - 34 - ], - [ - 581, - 34 - ], - [ - 587, - 16 - ], - [ - 593, - 14 - ], - [ - 599, - 20 - ], - [ - 605, - 23 - ], - [ - 617, - 35 - ], - [ - 651, - 35 - ], - [ - 661, - 27 - ], - [ - 664, - 33 - ], - [ - 672, - 26 - ], - [ - 678, - 14 - ], - [ - 684, - 14 - ], - [ - 688, - 17 - ], - [ - 704, - 22 - ], - [ - 740, - 18 - ], - [ - 758, - 20 - ], - [ - 761, - 19 - ], - [ - 764, - 32 - ], - [ - 771, - 18 - ], - [ - 793, - 20 - ], - [ - 804, - 33 - ], - [ - 810, - 31 - ], - [ - 818, - 21 - ], - [ - 826, - 13 - ], - [ - 836, - 14 - ], - [ - 839, - 18 - ], - [ - 848, - 19 - ], - [ - 858, - 19 - ], - [ - 867, - 22 - ], - [ - 876, - 22 - ], - [ - 882, - 17 - ], - [ - 891, - 14 - ], - [ - 912, - 15 - ], - [ - 916, - 33 - ], - [ - 954, - 18 - ], - [ - 957, - 19 - ], - [ - 960, - 27 - ], - [ - 963, - 24 - ], - [ - 966, - 25 - ], - [ - 970, - 32 - ], - [ - 974, - 13 - ], - [ - 979, - 12 - ], - [ - 984, - 31 - ], - [ - 989, - 21 - ], - [ - 1015, - 20 - ], - [ - 1061, - 21 - ], - [ - 1083, - 22 - ], - [ - 1088, - 30 - ], - [ - 1093, - 29 - ], - [ - 1097, - 23 - ], - [ - 1101, - 17 - ] - ], - "doc": "~Private~", - "range": [ - [ - 19, - 0 - ], - [ - 1102, - 31 - ] - ] - } - }, - "34": { - "24": { - "name": "verticalScrollMargin", - "type": "primitive", - "range": [ - [ - 34, - 24 - ], - [ - 34, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "35": { - "26": { - "name": "horizontalScrollMargin", - "type": "primitive", - "range": [ - [ - 35, - 26 - ], - [ - 35, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "36": { - "29": { - "name": "horizontalScrollbarHeight", - "type": "primitive", - "range": [ - [ - 36, - 29 - ], - [ - 36, - 30 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "37": { - "26": { - "name": "verticalScrollbarWidth", - "type": "primitive", - "range": [ - [ - 37, - 26 - ], - [ - 37, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "38": { - "36": { - "name": "scopedCharacterWidthsChangeCount", - "type": "primitive", - "range": [ - [ - 38, - 36 - ], - [ - 38, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "40": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 40, - 15 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 70, - 19 - ], - [ - 78, - 1 - ] - ], - "doc": "~Private~" - } - }, - "78": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 78, - 21 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 8 - ], - [ - 91, - 1 - ] - ], - "doc": "~Private~" - } - }, - "91": { - "24": { - "name": "updateAllScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 24 - ], - [ - 97, - 1 - ] - ], - "doc": "~Private~" - } - }, - "97": { - "15": { - "name": "emitChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventProperties", - "refreshMarkers" - ], - "range": [ - [ - 97, - 15 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "28": { - "name": "updateWrappedScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 28 - ], - [ - 115, - 1 - ] - ], - "doc": "~Private~" - } - }, - "115": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 115, - 14 - ], - [ - 115, - 62 - ] - ], - "doc": " Private: Sets the visibility of the tokenized buffer.\n\nvisible - A {Boolean} indicating of the tokenized buffer is shown " - } - }, - "117": { - "27": { - "name": "getVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 27 - ], - [ - 117, - 50 - ] - ], - "doc": "~Private~" - } - }, - "118": { - "27": { - "name": "setVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 118, - 27 - ], - [ - 118, - 74 - ] - ] - } - }, - "120": { - "29": { - "name": "getHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 120, - 29 - ], - [ - 120, - 54 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "29": { - "name": "setHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 121, - 29 - ], - [ - 121, - 80 - ] - ] - } - }, - "123": { - "32": { - "name": "getHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 123, - 32 - ], - [ - 123, - 60 - ] - ], - "doc": "~Private~" - } - }, - "124": { - "32": { - "name": "setHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 124, - 32 - ], - [ - 124, - 89 - ] - ] - } - }, - "126": { - "29": { - "name": "getVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 29 - ], - [ - 126, - 54 - ] - ], - "doc": "~Private~" - } - }, - "127": { - "29": { - "name": "setVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 127, - 29 - ], - [ - 127, - 80 - ] - ] - } - }, - "129": { - "13": { - "name": "getHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 129, - 13 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "13": { - "name": "setHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 138, - 13 - ], - [ - 138, - 32 - ] - ], - "doc": "~Private~" - } - }, - "140": { - "19": { - "name": "getClientHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 140, - 19 - ], - [ - 146, - 1 - ] - ], - "doc": "~Private~" - } - }, - "146": { - "18": { - "name": "getClientWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 146, - 18 - ], - [ - 152, - 1 - ] - ], - "doc": "~Private~" - } - }, - "152": { - "26": { - "name": "horizontallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 152, - 26 - ], - [ - 160, - 1 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "24": { - "name": "verticallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 160, - 24 - ], - [ - 167, - 1 - ] - ], - "doc": "~Private~" - } - }, - "167": { - "12": { - "name": "getWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 167, - 12 - ], - [ - 176, - 1 - ] - ], - "doc": "~Private~" - } - }, - "176": { - "12": { - "name": "setWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "newWidth" - ], - "range": [ - [ - 176, - 12 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "16": { - "name": "getScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 183, - 16 - ], - [ - 183, - 28 - ] - ], - "doc": "~Private~" - } - }, - "184": { - "16": { - "name": "setScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 184, - 16 - ], - [ - 190, - 1 - ] - ] - } - }, - "190": { - "19": { - "name": "getMaxScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 19 - ], - [ - 193, - 1 - ] - ], - "doc": "~Private~" - } - }, - "193": { - "19": { - "name": "getScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 193, - 19 - ], - [ - 193, - 41 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "19": { - "name": "setScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 194, - 19 - ], - [ - 198, - 1 - ] - ] - } - }, - "198": { - "17": { - "name": "getScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 198, - 17 - ], - [ - 198, - 30 - ] - ], - "doc": "~Private~" - } - }, - "199": { - "17": { - "name": "setScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 199, - 17 - ], - [ - 206, - 1 - ] - ] - } - }, - "206": { - "20": { - "name": "getMaxScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 206, - 20 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "18": { - "name": "getScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 209, - 18 - ], - [ - 209, - 40 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "18": { - "name": "setScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 210, - 18 - ], - [ - 214, - 1 - ] - ] - } - }, - "214": { - "25": { - "name": "getLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 214, - 25 - ], - [ - 214, - 46 - ] - ], - "doc": "~Private~" - } - }, - "215": { - "25": { - "name": "setLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 215, - 25 - ], - [ - 215, - 68 - ] - ] - } - }, - "217": { - "23": { - "name": "getDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 217, - 23 - ], - [ - 217, - 42 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "23": { - "name": "setDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultCharWidth" - ], - "range": [ - [ - 218, - 23 - ], - [ - 224, - 1 - ] - ] - } - }, - "224": { - "18": { - "name": "getCursorWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 18 - ], - [ - 224, - 21 - ] - ], - "doc": "~Private~" - } - }, - "226": { - "22": { - "name": "getScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char" - ], - "range": [ - [ - 226, - 22 - ], - [ - 229, - 1 - ] - ], - "doc": "~Private~" - } - }, - "229": { - "23": { - "name": "getScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames" - ], - "range": [ - [ - 229, - 23 - ], - [ - 237, - 1 - ] - ], - "doc": "~Private~" - } - }, - "237": { - "29": { - "name": "batchCharacterMeasurement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 237, - 29 - ], - [ - 244, - 1 - ] - ], - "doc": "~Private~" - } - }, - "244": { - "22": { - "name": "setScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char", - "width" - ], - "range": [ - [ - 244, - 22 - ], - [ - 249, - 1 - ] - ], - "doc": "~Private~" - } - }, - "249": { - "26": { - "name": "characterWidthsChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 249, - 26 - ], - [ - 253, - 1 - ] - ], - "doc": "~Private~" - } - }, - "253": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 253, - 25 - ], - [ - 256, - 1 - ] - ], - "doc": "~Private~" - } - }, - "256": { - "19": { - "name": "getScrollHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 19 - ], - [ - 261, - 1 - ] - ], - "doc": "~Private~" - } - }, - "261": { - "18": { - "name": "getScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 18 - ], - [ - 264, - 1 - ] - ], - "doc": "~Private~" - } - }, - "264": { - "22": { - "name": "getVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 264, - 22 - ], - [ - 273, - 1 - ] - ], - "doc": "~Private~" - } - }, - "273": { - "29": { - "name": "intersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 273, - 29 - ], - [ - 277, - 1 - ] - ], - "doc": "~Private~" - } - }, - "277": { - "38": { - "name": "selectionIntersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 277, - 38 - ], - [ - 281, - 1 - ] - ], - "doc": "~Private~" - } - }, - "281": { - "23": { - "name": "scrollToScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 281, - 23 - ], - [ - 311, - 1 - ] - ], - "doc": "~Private~" - } - }, - "311": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 311, - 26 - ], - [ - 314, - 1 - ] - ], - "doc": "~Private~" - } - }, - "314": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 314, - 26 - ], - [ - 317, - 1 - ] - ], - "doc": "~Private~" - } - }, - "317": { - "27": { - "name": "pixelRectForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 317, - 27 - ], - [ - 333, - 1 - ] - ], - "doc": "~Private~" - } - }, - "333": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 333, - 16 - ], - [ - 339, - 1 - ] - ], - "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " - } - }, - "339": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 339, - 16 - ], - [ - 343, - 1 - ] - ], - "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " - } - }, - "343": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 343, - 15 - ], - [ - 343, - 38 - ] - ], - "doc": "Deprecated: Use the softWrap property directly " - } - }, - "346": { - "15": { - "name": "getSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 15 - ], - [ - 346, - 26 - ] - ], - "doc": "Deprecated: Use the softWrap property directly " - } - }, - "351": { - "25": { - "name": "setEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorWidthInChars" - ], - "range": [ - [ - 351, - 25 - ], - [ - 359, - 1 - ] - ], - "doc": " Private: Set the number of characters that fit horizontally in the editor.\n\neditorWidthInChars - A {Number} of characters. " - } - }, - "359": { - "25": { - "name": "getEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 359, - 25 - ], - [ - 367, - 1 - ] - ], - "doc": "Private: Returns the editor width in characters for soft wrap. " - } - }, - "367": { - "21": { - "name": "getSoftWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 367, - 21 - ], - [ - 378, - 1 - ] - ], - "doc": "~Private~" - } - }, - "378": { - "14": { - "name": "lineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 378, - 14 - ], - [ - 387, - 1 - ] - ], - "doc": " Private: Gets the screen line for the given screen row.\n\nscreenRow - A {Number} indicating the screen row.\n\nReturns a {ScreenLine}. " - } - }, - "387": { - "16": { - "name": "linesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 387, - 16 - ], - [ - 393, - 1 - ] - ], - "doc": " Private: Gets the screen lines for the given screen row range.\n\nstartRow - A {Number} indicating the beginning screen row.\nendRow - A {Number} indicating the ending screen row.\n\nReturns an {Array} of {ScreenLine}s. " - } - }, - "393": { - "12": { - "name": "getLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 393, - 12 - ], - [ - 396, - 1 - ] - ], - "doc": " Private: Gets all the screen lines.\n\nReturns an {Array} of {ScreenLines}s. " - } - }, - "396": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 396, - 22 - ], - [ - 406, - 1 - ] - ], - "doc": "~Private~" - } - }, - "406": { - "27": { - "name": "bufferRowsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 406, - 27 - ], - [ - 416, - 1 - ] - ], - "doc": " Private: Given starting and ending screen rows, this returns an array of the\nbuffer rows corresponding to every screen row in the range\n\nstartScreenRow - The screen row {Number} to start at\nendScreenRow - The screen row {Number} to end at (default: the last screen row)\n\nReturns an {Array} of buffer rows as {Numbers}s. " - } - }, - "416": { - "14": { - "name": "createFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 416, - 14 - ], - [ - 422, - 1 - ] - ], - "doc": " Private: Creates a new fold between two row numbers.\n\nstartRow - The row {Number} to start folding at\nendRow - The row {Number} to end the fold\n\nReturns the new {Fold}. " - } - }, - "422": { - "23": { - "name": "isFoldedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 422, - 23 - ], - [ - 425, - 1 - ] - ], - "doc": "~Private~" - } - }, - "425": { - "23": { - "name": "isFoldedAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 425, - 23 - ], - [ - 429, - 1 - ] - ], - "doc": "~Private~" - } - }, - "429": { - "21": { - "name": "destroyFoldWithId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 429, - 21 - ], - [ - 435, - 1 - ] - ], - "doc": "Private: Destroys the fold with the given id " - } - }, - "435": { - "19": { - "name": "unfoldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 435, - 19 - ], - [ - 446, - 1 - ] - ], - "doc": " Private: Removes any folds found that contain the given buffer row.\n\nbufferRow - The buffer row {Number} to check against " - } - }, - "446": { - "34": { - "name": "largestFoldStartingAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 446, - 34 - ], - [ - 454, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold} or null if none exists. " - } - }, - "454": { - "28": { - "name": "foldsStartingAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 454, - 28 - ], - [ - 466, - 1 - ] - ], - "doc": " Public: Given a buffer row, this returns all folds that start there.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " - } - }, - "466": { - "34": { - "name": "largestFoldStartingAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 466, - 34 - ], - [ - 477, - 1 - ] - ], - "doc": " Private: Given a screen row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nscreenRow - A {Number} indicating the screen row\n\nReturns a {Fold}. " - } - }, - "477": { - "34": { - "name": "largestFoldContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 477, - 34 - ], - [ - 482, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns the largest fold that includes it.\n\nLargest is defined as the fold whose difference between its start and end rows\nis the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold}. " - } - }, - "482": { - "34": { - "name": "outermostFoldsInBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 482, - 34 - ], - [ - 493, - 1 - ] - ], - "doc": " Private: Returns the folds in the given row range (exclusive of end row) that are\nnot contained by any other folds. " - } - }, - "493": { - "28": { - "name": "foldsContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 493, - 28 - ], - [ - 502, - 1 - ] - ], - "doc": " Public: Given a buffer row, this returns folds that include it.\n\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " - } - }, - "502": { - "25": { - "name": "screenRowForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 502, - 25 - ], - [ - 505, - 1 - ] - ], - "doc": " Private: Given a buffer row, this converts it into a screen row.\n\nbufferRow - A {Number} representing a buffer row\n\nReturns a {Number}. " - } - }, - "505": { - "29": { - "name": "lastScreenRowForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 505, - 29 - ], - [ - 513, - 1 - ] - ], - "doc": "~Private~" - } - }, - "513": { - "25": { - "name": "bufferRowForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 513, - 25 - ], - [ - 521, - 1 - ] - ], - "doc": " Private: Given a screen row, this converts it into a buffer row.\n\nscreenRow - A {Number} representing a screen row\n\nReturns a {Number}. " - } - }, - "521": { - "29": { - "name": "screenRangeForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 521, - 29 - ], - [ - 532, - 1 - ] - ], - "doc": " Private: Given a buffer range, this converts it into a screen position.\n\nbufferRange - The {Range} to convert\n\nReturns a {Range}. " - } - }, - "532": { - "29": { - "name": "bufferRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 532, - 29 - ], - [ - 538, - 1 - ] - ], - "doc": " Private: Given a screen range, this converts it into a buffer position.\n\nscreenRange - The {Range} to convert\n\nReturns a {Range}. " - } - }, - "538": { - "28": { - "name": "pixelRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "clip" - ], - "range": [ - [ - 538, - 28 - ], - [ - 542, - 1 - ] - ], - "doc": "~Private~" - } - }, - "542": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "clip" - ], - "range": [ - [ - 542, - 34 - ], - [ - 561, - 1 - ] - ], - "doc": "~Private~" - } - }, - "561": { - "34": { - "name": "screenPositionForPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 561, - 34 - ], - [ - 581, - 1 - ] - ], - "doc": "~Private~" - } - }, - "581": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 581, - 34 - ], - [ - 587, - 1 - ] - ], - "doc": "~Private~" - } - }, - "587": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 587, - 16 - ], - [ - 593, - 1 - ] - ], - "doc": " Private: Gets the number of screen lines.\n\nReturns a {Number}. " - } - }, - "593": { - "14": { - "name": "getLastRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 593, - 14 - ], - [ - 599, - 1 - ] - ], - "doc": " Private: Gets the number of the last screen line.\n\nReturns a {Number}. " - } - }, - "599": { - "20": { - "name": "getMaxLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 599, - 20 - ], - [ - 605, - 1 - ] - ], - "doc": " Private: Gets the length of the longest screen line.\n\nReturns a {Number}. " - } - }, - "605": { - "23": { - "name": "getLongestScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 605, - 23 - ], - [ - 617, - 1 - ] - ], - "doc": " Private: Gets the row number of the longest screen line.\n\nReturn a {} " - } - }, - "617": { - "35": { - "name": "screenPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 617, - 35 - ], - [ - 651, - 1 - ] - ], - "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " - } - }, - "651": { - "35": { - "name": "bufferPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 651, - 35 - ], - [ - 661, - 1 - ] - ], - "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " - } - }, - "661": { - "27": { - "name": "scopesForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 661, - 27 - ], - [ - 664, - 1 - ] - ], - "doc": " Private: Retrieves the grammar's token scopes for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}\n\nReturns an {Array} of {String}s. " - } - }, - "664": { - "33": { - "name": "bufferRangeForScopeAtPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "position" - ], - "range": [ - [ - 664, - 33 - ], - [ - 672, - 1 - ] - ], - "doc": "~Private~" - } - }, - "672": { - "26": { - "name": "tokenForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 672, - 26 - ], - [ - 678, - 1 - ] - ], - "doc": " Private: Retrieves the grammar's token for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}.\n\nReturns a {Token}. " - } - }, - "678": { - "14": { - "name": "getGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 678, - 14 - ], - [ - 684, - 1 - ] - ], - "doc": " Private: Get the grammar for this buffer.\n\nReturns the current {Grammar} or the {NullGrammar}. " - } - }, - "684": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 684, - 14 - ], - [ - 688, - 1 - ] - ], - "doc": " Private: Sets the grammar for the buffer.\n\ngrammar - Sets the new grammar rules " - } - }, - "688": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 688, - 17 - ], - [ - 704, - 1 - ] - ], - "doc": "Private: Reloads the current grammar. " - } - }, - "704": { - "22": { - "name": "clipScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 704, - 22 - ], - [ - 740, - 1 - ] - ], - "doc": " Private: Given a position, this clips it to a real position.\n\nFor example, if `position`'s row exceeds the row count of the buffer,\nor if its column goes beyond a line's length, this \"sanitizes\" the value\nto a real position.\n\nposition - The {Point} to clip\noptions - A hash with the following values:\n wrapBeyondNewlines: if `true`, continues wrapping past newlines\n wrapAtSoftNewlines: if `true`, continues wrapping past soft newlines\n screenLine: if `true`, indicates that you're using a line number, not a row number\n\nReturns the new, clipped {Point}. Note that this could be the same as `position` if no clipping was performed. " - } - }, - "740": { - "18": { - "name": "findWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line", - "softWrapColumn" - ], - "range": [ - [ - 740, - 18 - ], - [ - 758, - 1 - ] - ], - "doc": " Private: Given a line, finds the point where it would wrap.\n\nline - The {String} to check\nsoftWrapColumn - The {Number} where you want soft wrapping to occur\n\nReturns a {Number} representing the `line` position where the wrap would take place.\nReturns `null` if a wrap wouldn't occur. " - } - }, - "758": { - "20": { - "name": "rangeForAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 758, - 20 - ], - [ - 761, - 1 - ] - ], - "doc": " Private: Calculates a {Range} representing the start of the {TextBuffer} until the end.\n\nReturns a {Range}. " - } - }, - "761": { - "19": { - "name": "decorationForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 761, - 19 - ], - [ - 764, - 1 - ] - ], - "doc": "~Private~" - } - }, - "764": { - "32": { - "name": "decorationsForScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 764, - 32 - ], - [ - 771, - 1 - ] - ], - "doc": "~Private~" - } - }, - "771": { - "18": { - "name": "decorateMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "decorationParams" - ], - "range": [ - [ - 771, - 18 - ], - [ - 793, - 1 - ] - ], - "doc": "~Private~" - } - }, - "793": { - "20": { - "name": "removeDecoration", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decoration" - ], - "range": [ - [ - 793, - 20 - ], - [ - 804, - 1 - ] - ], - "doc": "~Private~" - } - }, - "804": { - "33": { - "name": "removeAllDecorationsForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 804, - 33 - ], - [ - 810, - 1 - ] - ], - "doc": "~Private~" - } - }, - "810": { - "31": { - "name": "removedAllMarkerDecorations", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 810, - 31 - ], - [ - 818, - 1 - ] - ], - "doc": "~Private~" - } - }, - "818": { - "21": { - "name": "decorationUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decoration" - ], - "range": [ - [ - 818, - 21 - ], - [ - 826, - 1 - ] - ], - "doc": "~Private~" - } - }, - "826": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 826, - 13 - ], - [ - 836, - 1 - ] - ], - "doc": " Private: Retrieves a {DisplayBufferMarker} based on its id.\n\nid - A {Number} representing a marker id\n\nReturns the {DisplayBufferMarker} (if it exists). " - } - }, - "836": { - "14": { - "name": "getMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 836, - 14 - ], - [ - 839, - 1 - ] - ], - "doc": " Private: Retrieves the active markers in the buffer.\n\nReturns an {Array} of existing {DisplayBufferMarker}s. " - } - }, - "839": { - "18": { - "name": "getMarkerCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 839, - 18 - ], - [ - 848, - 1 - ] - ], - "doc": "~Private~" - } - }, - "848": { - "19": { - "name": "markScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 848, - 19 - ], - [ - 858, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given screen range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "858": { - "19": { - "name": "markBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range", - "options" - ], - "range": [ - [ - 858, - 19 - ], - [ - 867, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given buffer range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "867": { - "22": { - "name": "markScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 867, - 22 - ], - [ - 876, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given screen position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "876": { - "22": { - "name": "markBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 876, - 22 - ], - [ - 882, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given buffer position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "882": { - "17": { - "name": "destroyMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 882, - 17 - ], - [ - 891, - 1 - ] - ], - "doc": " Public: Removes the marker with the given id.\n\nid - The {Number} of the ID to remove " - } - }, - "891": { - "14": { - "name": "findMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 891, - 14 - ], - [ - 912, - 1 - ] - ], - "doc": " Private: Finds the first marker satisfying the given attributes\n\nRefer to {DisplayBuffer::findMarkers} for details.\n\nReturns a {DisplayBufferMarker} or null " - } - }, - "912": { - "15": { - "name": "findMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 912, - 15 - ], - [ - 916, - 1 - ] - ], - "doc": " Public: Find all markers satisfying a set of parameters.\n\nparams - An {Object} containing parameters that all returned markers must\n satisfy. Unreserved keys will be compared against the markers' custom\n properties. There are also the following reserved keys with special\n meaning for the query:\n :startBufferRow - A {Number}. Only returns markers starting at this row in\n buffer coordinates.\n :endBufferRow - A {Number}. Only returns markers ending at this row in\n buffer coordinates.\n :containsBufferRange - A {Range} or range-compatible {Array}. Only returns\n markers containing this range in buffer coordinates.\n :containsBufferPosition - A {Point} or point-compatible {Array}. Only\n returns markers containing this position in buffer coordinates.\n :containedInBufferRange - A {Range} or range-compatible {Array}. Only\n returns markers contained within this range.\n\nReturns an {Array} of {DisplayBufferMarker}s " - } - }, - "916": { - "33": { - "name": "translateToBufferMarkerParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 916, - 33 - ], - [ - 954, - 1 - ] - ], - "doc": "~Private~" - } - }, - "954": { - "18": { - "name": "findFoldMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 954, - 18 - ], - [ - 957, - 1 - ] - ], - "doc": "~Private~" - } - }, - "957": { - "19": { - "name": "findFoldMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 957, - 19 - ], - [ - 960, - 1 - ] - ], - "doc": "~Private~" - } - }, - "960": { - "27": { - "name": "getFoldMarkerAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 960, - 27 - ], - [ - 963, - 1 - ] - ], - "doc": "~Private~" - } - }, - "963": { - "24": { - "name": "pauseMarkerObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 963, - 24 - ], - [ - 966, - 1 - ] - ], - "doc": "~Private~" - } - }, - "966": { - "25": { - "name": "resumeMarkerObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 966, - 25 - ], - [ - 970, - 1 - ] - ], - "doc": "~Private~" - } - }, - "970": { - "32": { - "name": "refreshMarkerScreenPositions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 970, - 32 - ], - [ - 974, - 1 - ] - ], - "doc": "~Private~" - } - }, - "974": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 974, - 13 - ], - [ - 979, - 1 - ] - ], - "doc": "~Private~" - } - }, - "979": { - "12": { - "name": "logLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 979, - 12 - ], - [ - 984, - 1 - ] - ], - "doc": "~Private~" - } - }, - "984": { - "31": { - "name": "handleTokenizedBufferChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tokenizedBufferChange" - ], - "range": [ - [ - 984, - 31 - ], - [ - 989, - 1 - ] - ], - "doc": "~Private~" - } - }, - "989": { - "21": { - "name": "updateScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "endBufferRow", - "bufferDelta", - "options" - ], - "range": [ - [ - 989, - 21 - ], - [ - 1015, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1015": { - "20": { - "name": "buildScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "endBufferRow" - ], - "range": [ - [ - 1015, - 20 - ], - [ - 1061, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1061": { - "21": { - "name": "findMaxLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow", - "newScreenLines", - "screenDelta" - ], - "range": [ - [ - 1061, - 21 - ], - [ - 1083, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1083": { - "22": { - "name": "computeScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1083, - 22 - ], - [ - 1088, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1088": { - "30": { - "name": "handleBufferMarkersUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1088, - 30 - ], - [ - 1093, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1093": { - "29": { - "name": "handleBufferMarkerCreated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1093, - 29 - ], - [ - 1097, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1097": { - "23": { - "name": "createFoldForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1097, - 23 - ], - [ - 1101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1101": { - "17": { - "name": "foldForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1101, - 17 - ], - [ - 1102, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 19 - }, - "./build/src/editor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "10": { - "type": "import", - "range": [ - [ - 0, - 10 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$$", - "exportsProperty": "$$$" - } - }, - "1": { - "13": { - "name": "GutterView", - "type": "import", - "range": [ - [ - 1, - 13 - ], - [ - 1, - 35 - ] - ], - "bindingType": "variable", - "path": "./gutter-view" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Range", - "exportsProperty": "Range" - } - }, - "3": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 3, - 9 - ], - [ - 3, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "4": { - "13": { - "name": "CursorView", - "type": "import", - "range": [ - [ - 4, - 13 - ], - [ - 4, - 35 - ] - ], - "bindingType": "variable", - "path": "./cursor-view" - } - }, - "5": { - "16": { - "name": "SelectionView", - "type": "import", - "range": [ - [ - 5, - 16 - ], - [ - 5, - 41 - ] - ], - "bindingType": "variable", - "path": "./selection-view" - } - }, - "6": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 6, - 5 - ], - [ - 6, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "7": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "8": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 8, - 13 - ], - [ - 8, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0" - } - }, - "10": { - "15": { - "name": "MeasureRange", - "type": "function", - "range": [ - [ - 10, - 15 - ], - [ - 10, - 36 - ] - ] - } - }, - "11": { - "17": { - "type": "primitive", - "range": [ - [ - 11, - 17 - ], - [ - 11, - 59 - ] - ] - }, - "31": { - "name": "acceptNode", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 11, - 31 - ], - [ - 11, - 57 - ] - ], - "doc": null - } - }, - "12": { - "10": { - "type": "primitive", - "range": [ - [ - 12, - 10 - ], - [ - 12, - 21 - ] - ] - } - }, - "13": { - "17": { - "name": "1000", - "type": "primitive", - "range": [ - [ - 13, - 17 - ], - [ - 13, - 20 - ] - ] - } - }, - "41": { - "0": { - "type": "class", - "name": "EditorView", - "bindingType": "exports", - "classProperties": [ - [ - 42, - 24 - ], - [ - 44, - 4 - ], - [ - 61, - 17 - ], - [ - 63, - 12 - ], - [ - 76, - 12 - ], - [ - 1271, - 21 - ], - [ - 1485, - 18 - ], - [ - 1513, - 21 - ], - [ - 1529, - 14 - ], - [ - 1533, - 13 - ], - [ - 1537, - 23 - ] - ], - "prototypeProperties": [ - [ - 81, - 17 - ], - [ - 82, - 17 - ], - [ - 83, - 14 - ], - [ - 84, - 13 - ], - [ - 85, - 14 - ], - [ - 86, - 15 - ], - [ - 87, - 18 - ], - [ - 88, - 13 - ], - [ - 89, - 13 - ], - [ - 90, - 10 - ], - [ - 91, - 12 - ], - [ - 92, - 16 - ], - [ - 93, - 18 - ], - [ - 94, - 14 - ], - [ - 95, - 17 - ], - [ - 96, - 20 - ], - [ - 97, - 24 - ], - [ - 106, - 14 - ], - [ - 141, - 12 - ], - [ - 251, - 13 - ], - [ - 255, - 11 - ], - [ - 259, - 11 - ], - [ - 263, - 14 - ], - [ - 266, - 20 - ], - [ - 271, - 19 - ], - [ - 277, - 12 - ], - [ - 284, - 10 - ], - [ - 292, - 15 - ], - [ - 298, - 21 - ], - [ - 310, - 17 - ], - [ - 322, - 22 - ], - [ - 332, - 22 - ], - [ - 337, - 22 - ], - [ - 341, - 16 - ], - [ - 345, - 13 - ], - [ - 354, - 16 - ], - [ - 436, - 21 - ], - [ - 476, - 28 - ], - [ - 479, - 33 - ], - [ - 505, - 15 - ], - [ - 538, - 8 - ], - [ - 586, - 12 - ], - [ - 589, - 12 - ], - [ - 592, - 27 - ], - [ - 600, - 13 - ], - [ - 618, - 16 - ], - [ - 624, - 14 - ], - [ - 631, - 15 - ], - [ - 639, - 18 - ], - [ - 646, - 26 - ], - [ - 654, - 26 - ], - [ - 662, - 26 - ], - [ - 673, - 25 - ], - [ - 684, - 39 - ], - [ - 696, - 31 - ], - [ - 702, - 18 - ], - [ - 706, - 18 - ], - [ - 710, - 25 - ], - [ - 713, - 26 - ], - [ - 716, - 21 - ], - [ - 723, - 15 - ], - [ - 733, - 15 - ], - [ - 746, - 15 - ], - [ - 752, - 17 - ], - [ - 762, - 17 - ], - [ - 770, - 17 - ], - [ - 776, - 10 - ], - [ - 786, - 13 - ], - [ - 791, - 14 - ], - [ - 796, - 11 - ], - [ - 801, - 13 - ], - [ - 808, - 11 - ], - [ - 811, - 10 - ], - [ - 816, - 16 - ], - [ - 823, - 17 - ], - [ - 827, - 18 - ], - [ - 830, - 17 - ], - [ - 836, - 20 - ], - [ - 839, - 20 - ], - [ - 843, - 21 - ], - [ - 846, - 20 - ], - [ - 852, - 23 - ], - [ - 855, - 36 - ], - [ - 859, - 21 - ], - [ - 863, - 20 - ], - [ - 884, - 22 - ], - [ - 900, - 23 - ], - [ - 912, - 25 - ], - [ - 924, - 25 - ], - [ - 943, - 12 - ], - [ - 950, - 22 - ], - [ - 955, - 16 - ], - [ - 970, - 24 - ], - [ - 978, - 17 - ], - [ - 994, - 21 - ], - [ - 1006, - 22 - ], - [ - 1012, - 24 - ], - [ - 1023, - 25 - ], - [ - 1031, - 24 - ], - [ - 1034, - 14 - ], - [ - 1046, - 25 - ], - [ - 1057, - 23 - ], - [ - 1084, - 38 - ], - [ - 1102, - 23 - ], - [ - 1144, - 24 - ], - [ - 1158, - 20 - ], - [ - 1173, - 13 - ], - [ - 1178, - 19 - ], - [ - 1201, - 32 - ], - [ - 1214, - 28 - ], - [ - 1223, - 27 - ], - [ - 1234, - 22 - ], - [ - 1237, - 27 - ], - [ - 1241, - 32 - ], - [ - 1244, - 34 - ], - [ - 1249, - 21 - ], - [ - 1256, - 21 - ], - [ - 1298, - 32 - ], - [ - 1304, - 26 - ], - [ - 1313, - 27 - ], - [ - 1316, - 33 - ], - [ - 1325, - 34 - ], - [ - 1334, - 34 - ], - [ - 1348, - 32 - ], - [ - 1371, - 19 - ], - [ - 1416, - 26 - ], - [ - 1424, - 26 - ], - [ - 1432, - 28 - ], - [ - 1435, - 32 - ], - [ - 1440, - 32 - ], - [ - 1470, - 23 - ], - [ - 1481, - 23 - ], - [ - 1563, - 23 - ], - [ - 1573, - 25 - ], - [ - 1575, - 18 - ], - [ - 1578, - 18 - ], - [ - 1581, - 20 - ] - ], - "doc": " Public: Represents the entire visual pane in Atom.\n\nThe EditorView manages the {Editor}, which manages the file buffers.\n\n## Requiring in packages\n\n```coffee\n{EditorView} = require 'atom'\n\nminiEditorView = new EditorView(mini: true)\n```\n\n## Iterating over the open editor views\n\n```coffee\nfor editorView in atom.workspaceView.getEditorViews()\n console.log(editorView.getEditor().getPath())\n```\n\n## Subscribing to every current and future editor\n\n```coffee\natom.workspace.eachEditorView (editorView) ->\n console.log(editorView.getEditor().getPath())\n``` ", - "range": [ - [ - 41, - 0 - ], - [ - 1583, - 35 - ] - ] - } - }, - "42": { - "24": { - "name": "characterWidthCache", - "type": "primitive", - "range": [ - [ - 42, - 24 - ], - [ - 42, - 25 - ] - ], - "bindingType": "classProperty" - } - }, - "44": { - "4": { - "name": "configDefaults", - "type": "primitive", - "range": [ - [ - 44, - 4 - ], - [ - 59, - 32 - ] - ], - "bindingType": "classProperty" - } - }, - "61": { - "17": { - "name": "nextEditorId", - "type": "primitive", - "range": [ - [ - 61, - 17 - ], - [ - 61, - 17 - ] - ], - "bindingType": "classProperty" - } - }, - "63": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 63, - 12 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "12": { - "name": "classes", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 76, - 12 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "17": { - "name": "vScrollMargin", - "type": "primitive", - "range": [ - [ - 81, - 17 - ], - [ - 81, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "82": { - "17": { - "name": "hScrollMargin", - "type": "primitive", - "range": [ - [ - 82, - 17 - ], - [ - 82, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "83": { - "14": { - "name": "lineHeight", - "type": "primitive", - "range": [ - [ - 83, - 14 - ], - [ - 83, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "84": { - "13": { - "name": "charWidth", - "type": "primitive", - "range": [ - [ - 84, - 13 - ], - [ - 84, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "85": { - "14": { - "name": "charHeight", - "type": "primitive", - "range": [ - [ - 85, - 14 - ], - [ - 85, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "86": { - "15": { - "name": "cursorViews", - "type": "primitive", - "range": [ - [ - 86, - 15 - ], - [ - 86, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "87": { - "18": { - "name": "selectionViews", - "type": "primitive", - "range": [ - [ - 87, - 18 - ], - [ - 87, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "88": { - "13": { - "name": "lineCache", - "type": "primitive", - "range": [ - [ - 88, - 13 - ], - [ - 88, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "89": { - "13": { - "name": "isFocused", - "type": "primitive", - "range": [ - [ - 89, - 13 - ], - [ - 89, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "90": { - "10": { - "name": "editor", - "type": "primitive", - "range": [ - [ - 90, - 10 - ], - [ - 90, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "91": { - "12": { - "name": "attached", - "type": "primitive", - "range": [ - [ - 91, - 12 - ], - [ - 91, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "92": { - "16": { - "name": "lineOverdraw", - "type": "primitive", - "range": [ - [ - 92, - 16 - ], - [ - 92, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "93": { - "18": { - "name": "pendingChanges", - "type": "primitive", - "range": [ - [ - 93, - 18 - ], - [ - 93, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "94": { - "14": { - "name": "newCursors", - "type": "primitive", - "range": [ - [ - 94, - 14 - ], - [ - 94, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "95": { - "17": { - "name": "newSelections", - "type": "primitive", - "range": [ - [ - 95, - 17 - ], - [ - 95, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "96": { - "20": { - "name": "redrawOnReattach", - "type": "primitive", - "range": [ - [ - 96, - 20 - ], - [ - 96, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "97": { - "24": { - "name": "bottomPaddingInLines", - "type": "primitive", - "range": [ - [ - 97, - 24 - ], - [ - 97, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "106": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorOrOptions" - ], - "range": [ - [ - 106, - 14 - ], - [ - 141, - 1 - ] - ], - "doc": " Private: The constructor for setting up an `EditorView` instance.\n\neditorOrOptions - Either an {Editor}, or an object with one property, `mini`.\n If `mini` is `true`, a \"miniature\" `Editor` is constructed.\n Typically, this is ideal for scenarios where you need an Atom editor,\n but without all the chrome, like scrollbars, gutter, _e.t.c._.\n\n " - } - }, - "141": { - "12": { - "name": "bindKeys", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 12 - ], - [ - 251, - 1 - ] - ], - "doc": " Private: Sets up the core Atom commands.\n\nSome commands are excluded from mini-editors. " - } - }, - "251": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 251, - 13 - ], - [ - 255, - 1 - ] - ], - "doc": " Public: Get the underlying editor model for this view.\n\nReturns an {Editor}. " - } - }, - "255": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 255, - 11 - ], - [ - 259, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.getText} " - } - }, - "259": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 259, - 11 - ], - [ - 263, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.setText} " - } - }, - "263": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 263, - 14 - ], - [ - 266, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.insertText} " - } - }, - "266": { - "20": { - "name": "setHeightInLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "heightInLines" - ], - "range": [ - [ - 266, - 20 - ], - [ - 271, - 1 - ] - ], - "doc": "~Private~" - } - }, - "271": { - "19": { - "name": "setWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "widthInChars" - ], - "range": [ - [ - 271, - 19 - ], - [ - 277, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.setEditorWidthInChars} " - } - }, - "277": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 277, - 12 - ], - [ - 284, - 1 - ] - ], - "doc": " Public: Emulates the \"page down\" key, where the last row of a buffer scrolls\nto become the first. " - } - }, - "284": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 10 - ], - [ - 292, - 1 - ] - ], - "doc": " Public: Emulates the \"page up\" key, where the frst row of a buffer scrolls\nto become the last. " - } - }, - "292": { - "15": { - "name": "getPageRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 15 - ], - [ - 298, - 1 - ] - ], - "doc": " Private: Gets the number of actual page rows existing in an editor.\n\nReturns a {Number}. " - } - }, - "298": { - "21": { - "name": "setShowInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showInvisibles" - ], - "range": [ - [ - 298, - 21 - ], - [ - 310, - 1 - ] - ], - "doc": " Public: Set whether invisible characters are shown.\n\nshowInvisibles - A {Boolean} which, if `true`, show invisible characters. " - } - }, - "310": { - "17": { - "name": "setInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 310, - 17 - ], - [ - 322, - 1 - ] - ], - "doc": " Public: Defines which characters are invisible.\n\ninvisibles - An {Object} defining the invisible characters:\n :eol - The end of line invisible {String} (default: `\\u00ac`).\n :space - The space invisible {String} (default: `\\u00b7`).\n :tab - The tab invisible {String} (default: `\\u00bb`).\n :cr - The carriage return invisible {String} (default: `\\u00a4`). " - } - }, - "322": { - "22": { - "name": "setShowIndentGuide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showIndentGuide" - ], - "range": [ - [ - 322, - 22 - ], - [ - 332, - 1 - ] - ], - "doc": " Public: Sets whether you want to show the indentation guides.\n\nshowIndentGuide - A {Boolean} you can set to `true` if you want to see the\n indentation guides. " - } - }, - "332": { - "22": { - "name": "setPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "placeholderText" - ], - "range": [ - [ - 332, - 22 - ], - [ - 337, - 1 - ] - ], - "doc": " Public: Set the text to appear in the editor when it is empty.\n\nThis only affects mini editors.\n\nplaceholderText - A {String} of text to display when empty. " - } - }, - "337": { - "22": { - "name": "getPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 337, - 22 - ], - [ - 341, - 1 - ] - ], - "doc": "~Private~" - } - }, - "341": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 341, - 16 - ], - [ - 345, - 1 - ] - ], - "doc": "Private: Checkout the HEAD revision of this editor's file. " - } - }, - "345": { - "13": { - "name": "configure", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 345, - 13 - ], - [ - 354, - 1 - ] - ], - "doc": "~Private~" - } - }, - "354": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 354, - 16 - ], - [ - 436, - 1 - ] - ], - "doc": "~Private~" - } - }, - "436": { - "21": { - "name": "handleInputEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 436, - 21 - ], - [ - 476, - 1 - ] - ], - "doc": "~Private~" - } - }, - "476": { - "28": { - "name": "bringHiddenInputIntoView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 476, - 28 - ], - [ - 479, - 1 - ] - ], - "doc": "~Private~" - } - }, - "479": { - "33": { - "name": "selectOnMousemoveUntilMouseup", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 479, - 33 - ], - [ - 505, - 1 - ] - ], - "doc": "~Private~" - } - }, - "505": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 505, - 15 - ], - [ - 538, - 1 - ] - ], - "doc": "~Private~" - } - }, - "538": { - "8": { - "name": "edit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 538, - 8 - ], - [ - 586, - 1 - ] - ], - "doc": "~Private~" - } - }, - "586": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 586, - 12 - ], - [ - 589, - 1 - ] - ], - "doc": "~Private~" - } - }, - "589": { - "12": { - "name": "setModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 589, - 12 - ], - [ - 592, - 1 - ] - ], - "doc": "~Private~" - } - }, - "592": { - "27": { - "name": "showBufferConflictAlert", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 592, - 27 - ], - [ - 600, - 1 - ] - ], - "doc": "~Private~" - } - }, - "600": { - "13": { - "name": "scrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop", - "options" - ], - "range": [ - [ - 600, - 13 - ], - [ - 618, - 1 - ] - ], - "doc": "~Private~" - } - }, - "618": { - "16": { - "name": "scrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 618, - 16 - ], - [ - 624, - 1 - ] - ], - "doc": "~Private~" - } - }, - "624": { - "14": { - "name": "scrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 624, - 14 - ], - [ - 631, - 1 - ] - ], - "doc": "~Private~" - } - }, - "631": { - "15": { - "name": "scrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 631, - 15 - ], - [ - 639, - 1 - ] - ], - "doc": "~Private~" - } - }, - "639": { - "18": { - "name": "scrollToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 639, - 18 - ], - [ - 646, - 1 - ] - ], - "doc": "Public: Scrolls the editor to the bottom. " - } - }, - "646": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 646, - 26 - ], - [ - 654, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the position of the most recently added\ncursor if it isn't current on screen.\n\nThe editor is centered around the cursor's position if possible. " - } - }, - "654": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 654, - 26 - ], - [ - 662, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given buffer position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " - } - }, - "662": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 662, - 26 - ], - [ - 673, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " - } - }, - "673": { - "25": { - "name": "scrollToPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition", - "options" - ], - "range": [ - [ - 673, - 25 - ], - [ - 684, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given pixel position.\n\npixelPosition - An object that represents a pixel position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or\n {Point}.\noptions - A hash with the following keys:\n :center - if `true`, the position is scrolled such that it's in\n the center of the editor " - } - }, - "684": { - "39": { - "name": "highlightFoldsContainingBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 684, - 39 - ], - [ - 696, - 1 - ] - ], - "doc": " Public: Highlight all the folds within the given buffer range.\n\n\"Highlighting\" essentially just adds the `fold-selected` class to the line's\nDOM element.\n\nbufferRange - The {Range} to check. " - } - }, - "696": { - "31": { - "name": "saveScrollPositionForEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 696, - 31 - ], - [ - 702, - 1 - ] - ], - "doc": "~Private~" - } - }, - "702": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 702, - 18 - ], - [ - 706, - 1 - ] - ], - "doc": "Public: Toggle soft tabs on the edit session. " - } - }, - "706": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 706, - 18 - ], - [ - 710, - 1 - ] - ], - "doc": "Public: Toggle soft wrap on the edit session. " - } - }, - "710": { - "25": { - "name": "calculateWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 710, - 25 - ], - [ - 713, - 1 - ] - ], - "doc": "~Private~" - } - }, - "713": { - "26": { - "name": "calculateHeightInLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 713, - 26 - ], - [ - 716, - 1 - ] - ], - "doc": "~Private~" - } - }, - "716": { - "21": { - "name": "getScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 716, - 21 - ], - [ - 723, - 1 - ] - ], - "doc": "~Private~" - } - }, - "723": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 723, - 15 - ], - [ - 733, - 1 - ] - ], - "doc": " Public: Enables/disables soft wrap on the editor.\n\nsoftWrap - A {Boolean} which, if `true`, enables soft wrap " - } - }, - "733": { - "15": { - "name": "setFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 733, - 15 - ], - [ - 746, - 1 - ] - ], - "doc": " Public: Sets the font size for the editor.\n\nfontSize - A {Number} indicating the font size in pixels. " - } - }, - "746": { - "15": { - "name": "getFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 746, - 15 - ], - [ - 752, - 1 - ] - ], - "doc": " Public: Retrieves the font size for the editor.\n\nReturns a {Number} indicating the font size in pixels. " - } - }, - "752": { - "17": { - "name": "setFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 752, - 17 - ], - [ - 762, - 1 - ] - ], - "doc": " Public: Sets the font family for the editor.\n\nfontFamily - A {String} identifying the CSS `font-family`. " - } - }, - "762": { - "17": { - "name": "getFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 762, - 17 - ], - [ - 762, - 38 - ] - ], - "doc": " Public: Gets the font family for the editor.\n\nReturns a {String} identifying the CSS `font-family`. " - } - }, - "770": { - "17": { - "name": "setLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 770, - 17 - ], - [ - 776, - 1 - ] - ], - "doc": " Public: Sets the line height of the editor.\n\nCalling this method has no effect when called on a mini editor.\n\nlineHeight - A {Number} without a unit suffix identifying the CSS\n`line-height`. " - } - }, - "776": { - "10": { - "name": "redraw", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 776, - 10 - ], - [ - 786, - 1 - ] - ], - "doc": "Public: Redraw the editor " - } - }, - "786": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 786, - 13 - ], - [ - 791, - 1 - ] - ], - "doc": "Public: Split the editor view left. " - } - }, - "791": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 791, - 14 - ], - [ - 796, - 1 - ] - ], - "doc": "Public: Split the editor view right. " - } - }, - "796": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 796, - 11 - ], - [ - 801, - 1 - ] - ], - "doc": "Public: Split the editor view up. " - } - }, - "801": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 801, - 13 - ], - [ - 808, - 1 - ] - ], - "doc": "Public: Split the editor view down. " - } - }, - "808": { - "11": { - "name": "getPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 808, - 11 - ], - [ - 811, - 1 - ] - ], - "doc": " Public: Get this view's pane.\n\nReturns a {Pane}. " - } - }, - "811": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "keepData" - ], - "range": [ - [ - 811, - 10 - ], - [ - 816, - 1 - ] - ], - "doc": "~Private~" - } - }, - "816": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 816, - 16 - ], - [ - 823, - 1 - ] - ], - "doc": "~Private~" - } - }, - "823": { - "17": { - "name": "getCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 823, - 17 - ], - [ - 827, - 1 - ] - ], - "doc": "~Private~" - } - }, - "827": { - "18": { - "name": "getCursorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 827, - 18 - ], - [ - 830, - 1 - ] - ], - "doc": "~Private~" - } - }, - "830": { - "17": { - "name": "addCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursor", - "options" - ], - "range": [ - [ - 830, - 17 - ], - [ - 836, - 1 - ] - ], - "doc": "~Private~" - } - }, - "836": { - "20": { - "name": "removeCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 836, - 20 - ], - [ - 839, - 1 - ] - ], - "doc": "~Private~" - } - }, - "839": { - "20": { - "name": "getSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 839, - 20 - ], - [ - 843, - 1 - ] - ], - "doc": "~Private~" - } - }, - "843": { - "21": { - "name": "getSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 843, - 21 - ], - [ - 846, - 1 - ] - ], - "doc": "~Private~" - } - }, - "846": { - "20": { - "name": "addSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 846, - 20 - ], - [ - 852, - 1 - ] - ], - "doc": "~Private~" - } - }, - "852": { - "23": { - "name": "removeSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selectionView" - ], - "range": [ - [ - 852, - 23 - ], - [ - 855, - 1 - ] - ], - "doc": "~Private~" - } - }, - "855": { - "36": { - "name": "removeAllCursorAndSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 855, - 36 - ], - [ - 859, - 1 - ] - ], - "doc": "~Private~" - } - }, - "859": { - "21": { - "name": "appendToLinesView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 859, - 21 - ], - [ - 863, - 1 - ] - ], - "doc": "~Private~" - } - }, - "863": { - "20": { - "name": "scrollVertically", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition", - null - ], - "range": [ - [ - 863, - 20 - ], - [ - 884, - 1 - ] - ], - "doc": "Private: Scrolls the editor vertically to a given position. " - } - }, - "884": { - "22": { - "name": "scrollHorizontally", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 884, - 22 - ], - [ - 900, - 1 - ] - ], - "doc": "Private: Scrolls the editor horizontally to a given position. " - } - }, - "900": { - "23": { - "name": "calculateDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 900, - 23 - ], - [ - 912, - 1 - ] - ], - "doc": "~Private~" - } - }, - "912": { - "25": { - "name": "recalculateDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 912, - 25 - ], - [ - 924, - 1 - ] - ], - "doc": "~Private~" - } - }, - "924": { - "25": { - "name": "updateLayerDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollViewWidth" - ], - "range": [ - [ - 924, - 25 - ], - [ - 943, - 1 - ] - ], - "doc": "~Private~" - } - }, - "943": { - "12": { - "name": "isHidden", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 943, - 12 - ], - [ - 950, - 1 - ] - ], - "doc": "Private: Override for speed. The base function checks computedStyle, unnecessary here. " - } - }, - "950": { - "22": { - "name": "clearRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 950, - 22 - ], - [ - 955, - 1 - ] - ], - "doc": "~Private~" - } - }, - "955": { - "16": { - "name": "resetDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 955, - 16 - ], - [ - 970, - 1 - ] - ], - "doc": "~Private~" - } - }, - "970": { - "24": { - "name": "requestDisplayUpdate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 970, - 24 - ], - [ - 978, - 1 - ] - ], - "doc": "~Private~" - } - }, - "978": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 978, - 17 - ], - [ - 994, - 1 - ] - ], - "doc": "~Private~" - } - }, - "994": { - "21": { - "name": "updateCursorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 994, - 21 - ], - [ - 1006, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1006": { - "22": { - "name": "shouldUpdateCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 1006, - 22 - ], - [ - 1012, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1012": { - "24": { - "name": "updateSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1012, - 24 - ], - [ - 1023, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1023": { - "25": { - "name": "shouldUpdateSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selectionView" - ], - "range": [ - [ - 1023, - 25 - ], - [ - 1031, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1031": { - "24": { - "name": "syncCursorAnimations", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1031, - 24 - ], - [ - 1034, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1034": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "suppressAutoscroll" - ], - "range": [ - [ - 1034, - 14 - ], - [ - 1046, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1046": { - "25": { - "name": "updatePlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1046, - 25 - ], - [ - 1057, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1057": { - "23": { - "name": "updateRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollViewWidth" - ], - "range": [ - [ - 1057, - 23 - ], - [ - 1084, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1084": { - "38": { - "name": "computeSurroundingEmptyLineChanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "change" - ], - "range": [ - [ - 1084, - 38 - ], - [ - 1102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1102": { - "23": { - "name": "computeIntactRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1102, - 23 - ], - [ - 1144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1144": { - "24": { - "name": "truncateIntactRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges", - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1144, - 24 - ], - [ - 1158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1158": { - "20": { - "name": "clearDirtyRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges" - ], - "range": [ - [ - 1158, - 20 - ], - [ - 1173, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1173": { - "13": { - "name": "clearLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement" - ], - "range": [ - [ - 1173, - 13 - ], - [ - 1178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1178": { - "19": { - "name": "fillDirtyRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges", - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1178, - 19 - ], - [ - 1201, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1201": { - "32": { - "name": "updatePaddingOfRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1201, - 32 - ], - [ - 1214, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1214": { - "28": { - "name": "getFirstVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1214, - 28 - ], - [ - 1223, - 1 - ] - ], - "doc": " Public: Retrieves the number of the row that is visible and currently at the\ntop of the editor.\n\nReturns a {Number}. " - } - }, - "1223": { - "27": { - "name": "getLastVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1223, - 27 - ], - [ - 1234, - 1 - ] - ], - "doc": " Public: Retrieves the number of the row that is visible and currently at the\nbottom of the editor.\n\nReturns a {Number}. " - } - }, - "1234": { - "22": { - "name": "isScreenRowVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 1234, - 22 - ], - [ - 1237, - 1 - ] - ], - "doc": " Public: Given a row number, identifies if it is currently visible.\n\nrow - A row {Number} to check\n\nReturns a {Boolean}. " - } - }, - "1237": { - "27": { - "name": "handleScreenLinesChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "change" - ], - "range": [ - [ - 1237, - 27 - ], - [ - 1241, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1241": { - "32": { - "name": "buildLineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 1241, - 32 - ], - [ - 1244, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1244": { - "34": { - "name": "buildLineElementsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1244, - 34 - ], - [ - 1249, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1249": { - "21": { - "name": "htmlForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1249, - 21 - ], - [ - 1256, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1256": { - "21": { - "name": "htmlForScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine", - "screenRow" - ], - "range": [ - [ - 1256, - 21 - ], - [ - 1271, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1271": { - "21": { - "name": "buildIndentation", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "screenRow", - "editor" - ], - "range": [ - [ - 1271, - 21 - ], - [ - 1298, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1298": { - "32": { - "name": "buildHtmlEndOfLineInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine" - ], - "range": [ - [ - 1298, - 32 - ], - [ - 1304, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1304": { - "26": { - "name": "getEndOfLineInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine" - ], - "range": [ - [ - 1304, - 26 - ], - [ - 1313, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1313": { - "27": { - "name": "lineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 1313, - 27 - ], - [ - 1316, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1316": { - "33": { - "name": "toggleLineCommentsInSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1316, - 33 - ], - [ - 1325, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1325": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1325, - 34 - ], - [ - 1334, - 1 - ] - ], - "doc": " Public: Converts a buffer position to a pixel position.\n\nposition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " - } - }, - "1334": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1334, - 34 - ], - [ - 1348, - 1 - ] - ], - "doc": " Public: Converts a screen position to a pixel position.\n\nposition - An object that represents a screen position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " - } - }, - "1348": { - "32": { - "name": "positionLeftForLineAndColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement", - "screenRow", - "screenColumn" - ], - "range": [ - [ - 1348, - 32 - ], - [ - 1371, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1371": { - "19": { - "name": "measureToColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement", - "tokenizedLine", - "screenColumn" - ], - "range": [ - [ - 1371, - 19 - ], - [ - 1416, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1416": { - "26": { - "name": "getCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "char" - ], - "range": [ - [ - 1416, - 26 - ], - [ - 1424, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1424": { - "26": { - "name": "setCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "char", - "val" - ], - "range": [ - [ - 1424, - 26 - ], - [ - 1432, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1432": { - "28": { - "name": "clearCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1432, - 28 - ], - [ - 1435, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1435": { - "32": { - "name": "pixelOffsetForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1435, - 32 - ], - [ - 1440, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1440": { - "32": { - "name": "screenPositionFromMouseEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 1440, - 32 - ], - [ - 1470, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1470": { - "23": { - "name": "highlightCursorLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1470, - 23 - ], - [ - 1481, - 1 - ] - ], - "doc": "Private: Highlights the current line the cursor is on. " - } - }, - "1481": { - "23": { - "name": "copyPathToClipboard", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1481, - 23 - ], - [ - 1485, - 1 - ] - ], - "doc": "Private: Copies the current file path to the native clipboard. " - } - }, - "1485": { - "18": { - "name": "buildLineHtml", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 1485, - 18 - ], - [ - 1513, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1513": { - "21": { - "name": "updateScopeStack", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 1513, - 21 - ], - [ - 1529, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1529": { - "14": { - "name": "pushScope", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack", - "scope" - ], - "range": [ - [ - 1529, - 14 - ], - [ - 1533, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1533": { - "13": { - "name": "popScope", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack" - ], - "range": [ - [ - 1533, - 13 - ], - [ - 1537, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1537": { - "23": { - "name": "buildEmptyLineHtml", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "showIndentGuide", - "eolInvisibles", - "htmlEolInvisibles", - "indentation", - "editor", - "mini" - ], - "range": [ - [ - 1537, - 23 - ], - [ - 1563, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1563": { - "23": { - "name": "replaceSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "replaceFn" - ], - "range": [ - [ - 1563, - 23 - ], - [ - 1573, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1573": { - "25": { - "name": "consolidateSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 1573, - 25 - ], - [ - 1573, - 89 - ] - ], - "doc": "~Private~" - } - }, - "1575": { - "18": { - "name": "logCursorScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1575, - 18 - ], - [ - 1578, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1578": { - "18": { - "name": "logScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 1578, - 18 - ], - [ - 1581, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1581": { - "20": { - "name": "logRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1581, - 20 - ], - [ - 1583, - 35 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 41 - }, - "./build/src/editor.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@^1" - } - }, - "3": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 3, - 12 - ], - [ - 3, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@^1" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Model", - "exportsProperty": "Model" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 6, - 8 - ], - [ - 6, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Range", - "exportsProperty": "Range" - } - }, - "7": { - "15": { - "name": "LanguageMode", - "type": "import", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 39 - ] - ], - "bindingType": "variable", - "path": "./language-mode" - } - }, - "8": { - "16": { - "name": "DisplayBuffer", - "type": "import", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 41 - ] - ], - "bindingType": "variable", - "path": "./display-buffer" - } - }, - "9": { - "9": { - "name": "Cursor", - "type": "import", - "range": [ - [ - 9, - 9 - ], - [ - 9, - 26 - ] - ], - "bindingType": "variable", - "path": "./cursor" - } - }, - "10": { - "12": { - "name": "Selection", - "type": "import", - "range": [ - [ - 10, - 12 - ], - [ - 10, - 32 - ] - ], - "bindingType": "variable", - "path": "./selection" - } - }, - "11": { - "24": { - "type": "primitive", - "range": [ - [ - 11, - 24 - ], - [ - 11, - 58 - ] - ] - } - }, - "138": { - "0": { - "type": "class", - "name": "Editor", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 143, - 17 - ], - [ - 144, - 32 - ], - [ - 145, - 18 - ], - [ - 146, - 10 - ], - [ - 147, - 16 - ], - [ - 148, - 11 - ], - [ - 149, - 14 - ], - [ - 150, - 28 - ], - [ - 151, - 20 - ], - [ - 152, - 26 - ], - [ - 161, - 15 - ], - [ - 190, - 19 - ], - [ - 197, - 21 - ], - [ - 202, - 21 - ], - [ - 215, - 28 - ], - [ - 228, - 16 - ], - [ - 234, - 13 - ], - [ - 242, - 8 - ], - [ - 258, - 12 - ], - [ - 271, - 16 - ], - [ - 281, - 14 - ], - [ - 288, - 25 - ], - [ - 292, - 21 - ], - [ - 296, - 15 - ], - [ - 301, - 15 - ], - [ - 304, - 18 - ], - [ - 307, - 15 - ], - [ - 312, - 15 - ], - [ - 315, - 18 - ], - [ - 323, - 14 - ], - [ - 328, - 16 - ], - [ - 331, - 16 - ], - [ - 339, - 16 - ], - [ - 361, - 22 - ], - [ - 369, - 19 - ], - [ - 381, - 27 - ], - [ - 396, - 30 - ], - [ - 414, - 22 - ], - [ - 418, - 21 - ], - [ - 428, - 8 - ], - [ - 435, - 10 - ], - [ - 437, - 16 - ], - [ - 442, - 23 - ], - [ - 447, - 11 - ], - [ - 450, - 11 - ], - [ - 453, - 11 - ], - [ - 458, - 18 - ], - [ - 461, - 16 - ], - [ - 464, - 13 - ], - [ - 467, - 10 - ], - [ - 470, - 20 - ], - [ - 473, - 24 - ], - [ - 479, - 25 - ], - [ - 482, - 24 - ], - [ - 486, - 20 - ], - [ - 494, - 27 - ], - [ - 500, - 20 - ], - [ - 506, - 26 - ], - [ - 509, - 8 - ], - [ - 512, - 21 - ], - [ - 515, - 30 - ], - [ - 518, - 14 - ], - [ - 520, - 11 - ], - [ - 524, - 22 - ], - [ - 536, - 35 - ], - [ - 546, - 35 - ], - [ - 551, - 29 - ], - [ - 556, - 29 - ], - [ - 573, - 22 - ], - [ - 576, - 20 - ], - [ - 579, - 22 - ], - [ - 582, - 22 - ], - [ - 585, - 26 - ], - [ - 588, - 20 - ], - [ - 591, - 27 - ], - [ - 593, - 25 - ], - [ - 605, - 27 - ], - [ - 614, - 31 - ], - [ - 618, - 26 - ], - [ - 624, - 19 - ], - [ - 626, - 18 - ], - [ - 633, - 14 - ], - [ - 639, - 17 - ], - [ - 643, - 22 - ], - [ - 649, - 22 - ], - [ - 668, - 10 - ], - [ - 674, - 13 - ], - [ - 678, - 30 - ], - [ - 683, - 30 - ], - [ - 690, - 27 - ], - [ - 696, - 27 - ], - [ - 701, - 10 - ], - [ - 708, - 21 - ], - [ - 714, - 21 - ], - [ - 718, - 14 - ], - [ - 722, - 22 - ], - [ - 726, - 23 - ], - [ - 734, - 33 - ], - [ - 739, - 26 - ], - [ - 744, - 30 - ], - [ - 751, - 18 - ], - [ - 758, - 19 - ], - [ - 765, - 20 - ], - [ - 779, - 13 - ], - [ - 798, - 8 - ], - [ - 803, - 8 - ], - [ - 812, - 18 - ], - [ - 817, - 20 - ], - [ - 822, - 21 - ], - [ - 826, - 11 - ], - [ - 830, - 13 - ], - [ - 836, - 24 - ], - [ - 846, - 17 - ], - [ - 852, - 19 - ], - [ - 862, - 25 - ], - [ - 865, - 25 - ], - [ - 870, - 14 - ], - [ - 874, - 21 - ], - [ - 878, - 39 - ], - [ - 884, - 25 - ], - [ - 893, - 23 - ], - [ - 901, - 23 - ], - [ - 909, - 23 - ], - [ - 913, - 34 - ], - [ - 917, - 34 - ], - [ - 921, - 34 - ], - [ - 926, - 14 - ], - [ - 979, - 16 - ], - [ - 1034, - 18 - ], - [ - 1060, - 17 - ], - [ - 1072, - 22 - ], - [ - 1075, - 23 - ], - [ - 1096, - 32 - ], - [ - 1137, - 18 - ], - [ - 1140, - 19 - ], - [ - 1144, - 13 - ], - [ - 1148, - 14 - ], - [ - 1170, - 15 - ], - [ - 1179, - 19 - ], - [ - 1188, - 19 - ], - [ - 1197, - 22 - ], - [ - 1206, - 22 - ], - [ - 1210, - 17 - ], - [ - 1216, - 18 - ], - [ - 1220, - 22 - ], - [ - 1224, - 14 - ], - [ - 1227, - 13 - ], - [ - 1233, - 29 - ], - [ - 1240, - 29 - ], - [ - 1245, - 13 - ], - [ - 1255, - 16 - ], - [ - 1264, - 16 - ], - [ - 1288, - 30 - ], - [ - 1301, - 26 - ], - [ - 1311, - 26 - ], - [ - 1321, - 27 - ], - [ - 1336, - 19 - ], - [ - 1342, - 19 - ], - [ - 1347, - 25 - ], - [ - 1355, - 31 - ], - [ - 1361, - 17 - ], - [ - 1363, - 27 - ], - [ - 1374, - 16 - ], - [ - 1381, - 20 - ], - [ - 1388, - 40 - ], - [ - 1394, - 28 - ], - [ - 1403, - 34 - ], - [ - 1415, - 27 - ], - [ - 1422, - 27 - ], - [ - 1428, - 22 - ], - [ - 1439, - 27 - ], - [ - 1446, - 27 - ], - [ - 1453, - 26 - ], - [ - 1460, - 26 - ], - [ - 1468, - 27 - ], - [ - 1476, - 27 - ], - [ - 1482, - 19 - ], - [ - 1490, - 24 - ], - [ - 1499, - 24 - ], - [ - 1505, - 34 - ], - [ - 1511, - 22 - ], - [ - 1515, - 16 - ], - [ - 1519, - 18 - ], - [ - 1523, - 18 - ], - [ - 1527, - 19 - ], - [ - 1533, - 19 - ], - [ - 1539, - 22 - ], - [ - 1543, - 37 - ], - [ - 1547, - 31 - ], - [ - 1551, - 36 - ], - [ - 1555, - 31 - ], - [ - 1559, - 25 - ], - [ - 1563, - 31 - ], - [ - 1567, - 25 - ], - [ - 1571, - 35 - ], - [ - 1575, - 36 - ], - [ - 1579, - 32 - ], - [ - 1583, - 40 - ], - [ - 1587, - 44 - ], - [ - 1596, - 26 - ], - [ - 1599, - 10 - ], - [ - 1604, - 12 - ], - [ - 1609, - 16 - ], - [ - 1612, - 18 - ], - [ - 1616, - 18 - ], - [ - 1619, - 15 - ], - [ - 1626, - 15 - ], - [ - 1636, - 26 - ], - [ - 1645, - 15 - ], - [ - 1652, - 14 - ], - [ - 1659, - 12 - ], - [ - 1666, - 14 - ], - [ - 1673, - 15 - ], - [ - 1679, - 13 - ], - [ - 1686, - 18 - ], - [ - 1693, - 27 - ], - [ - 1702, - 32 - ], - [ - 1709, - 21 - ], - [ - 1716, - 32 - ], - [ - 1723, - 28 - ], - [ - 1729, - 14 - ], - [ - 1740, - 21 - ], - [ - 1751, - 21 - ], - [ - 1759, - 28 - ], - [ - 1776, - 13 - ], - [ - 1791, - 13 - ], - [ - 1798, - 13 - ], - [ - 1809, - 13 - ], - [ - 1816, - 27 - ], - [ - 1823, - 21 - ], - [ - 1830, - 31 - ], - [ - 1834, - 14 - ], - [ - 1841, - 36 - ], - [ - 1848, - 40 - ], - [ - 1856, - 16 - ], - [ - 1863, - 16 - ], - [ - 1873, - 27 - ], - [ - 1879, - 28 - ], - [ - 1883, - 22 - ], - [ - 1889, - 31 - ], - [ - 1910, - 40 - ], - [ - 1919, - 14 - ], - [ - 1926, - 14 - ], - [ - 1930, - 17 - ], - [ - 1933, - 20 - ], - [ - 1944, - 12 - ], - [ - 1952, - 20 - ], - [ - 1958, - 21 - ], - [ - 1962, - 20 - ], - [ - 1964, - 11 - ], - [ - 1967, - 18 - ], - [ - 1969, - 22 - ], - [ - 1972, - 23 - ], - [ - 1976, - 23 - ], - [ - 1980, - 32 - ], - [ - 1983, - 27 - ], - [ - 1984, - 27 - ], - [ - 1986, - 29 - ], - [ - 1987, - 29 - ], - [ - 1989, - 25 - ], - [ - 1990, - 25 - ], - [ - 1992, - 29 - ], - [ - 1994, - 22 - ], - [ - 1995, - 22 - ], - [ - 1997, - 23 - ], - [ - 1999, - 25 - ], - [ - 2001, - 23 - ], - [ - 2002, - 23 - ], - [ - 2004, - 13 - ], - [ - 2005, - 13 - ], - [ - 2007, - 19 - ], - [ - 2009, - 12 - ], - [ - 2010, - 12 - ], - [ - 2012, - 16 - ], - [ - 2013, - 16 - ], - [ - 2015, - 19 - ], - [ - 2016, - 19 - ], - [ - 2018, - 17 - ], - [ - 2019, - 17 - ], - [ - 2021, - 18 - ], - [ - 2022, - 18 - ], - [ - 2024, - 19 - ], - [ - 2025, - 18 - ], - [ - 2027, - 22 - ], - [ - 2029, - 29 - ], - [ - 2031, - 38 - ], - [ - 2033, - 34 - ], - [ - 2035, - 34 - ], - [ - 2037, - 34 - ], - [ - 2039, - 27 - ], - [ - 2041, - 23 - ], - [ - 2043, - 26 - ], - [ - 2045, - 26 - ], - [ - 2047, - 26 - ], - [ - 2049, - 24 - ], - [ - 2051, - 32 - ], - [ - 2052, - 32 - ], - [ - 2054, - 29 - ], - [ - 2055, - 29 - ], - [ - 2058, - 12 - ] - ], - "doc": " Public: This class represents all essential editing state for a single\n{TextBuffer}, including cursor and selection positions, folds, and soft wraps.\nIf you're manipulating the state of an editor, use this class. If you're\ninterested in the visual appearance of editors, use {EditorView} instead.\n\nA single {TextBuffer} can belong to multiple editors. For example, if the\nsame file is open in two different panes, Atom creates a separate editor for\neach pane. If the buffer is manipulated the changes are reflected in both\neditors, but each maintains its own cursor position, folded lines, etc.\n\n## Accessing Editor Instances\n\nThe easiest way to get hold of `Editor` objects is by registering a callback\nwith `::eachEditor` on the `atom.workspace` global. Your callback will then\nbe called with all current editor instances and also when any editor is\ncreated in the future.\n\n```coffeescript\n atom.workspace.eachEditor (editor) ->\n editor.insertText('Hello World')\n```\n\n## Buffer vs. Screen Coordinates\n\nBecause editors support folds and soft-wrapping, the lines on screen don't\nalways match the lines in the buffer. For example, a long line that soft wraps\ntwice renders as three lines on screen, but only represents one line in the\nbuffer. Similarly, if rows 5-10 are folded, then row 6 on screen corresponds\nto row 11 in the buffer.\n\nYour choice of coordinates systems will depend on what you're trying to\nachieve. For example, if you're writing a command that jumps the cursor up or\ndown by 10 lines, you'll want to use screen coordinates because the user\nprobably wants to skip lines *on screen*. However, if you're writing a package\nthat jumps between method definitions, you'll want to work in buffer\ncoordinates.\n\n**When in doubt, just default to buffer coordinates**, then experiment with\nsoft wraps and folds to ensure your code interacts with them correctly.\n\n## Common Tasks\n\nThis is a subset of methods on this class. Refer to the complete summary for\nits full capabilities.\n\n### Cursors\n- {::setCursorBufferPosition}\n- {::setCursorScreenPosition}\n- {::moveCursorUp}\n- {::moveCursorDown}\n- {::moveCursorLeft}\n- {::moveCursorRight}\n- {::moveCursorToBeginningOfWord}\n- {::moveCursorToEndOfWord}\n- {::moveCursorToPreviousWordBoundary}\n- {::moveCursorToNextWordBoundary}\n- {::moveCursorToBeginningOfNextWord}\n- {::moveCursorToBeginningOfLine}\n- {::moveCursorToEndOfLine}\n- {::moveCursorToFirstCharacterOfLine}\n- {::moveCursorToTop}\n- {::moveCursorToBottom}\n\n### Selections\n- {::getSelectedBufferRange}\n- {::getSelectedBufferRanges}\n- {::setSelectedBufferRange}\n- {::setSelectedBufferRanges}\n- {::selectUp}\n- {::selectDown}\n- {::selectLeft}\n- {::selectRight}\n- {::selectToBeginningOfWord}\n- {::selectToEndOfWord}\n- {::selectToPreviousWordBoundary}\n- {::selectToNextWordBoundary}\n- {::selectWord}\n- {::selectToBeginningOfLine}\n- {::selectToEndOfLine}\n- {::selectToFirstCharacterOfLine}\n- {::selectToTop}\n- {::selectToBottom}\n- {::selectAll}\n- {::addSelectionForBufferRange}\n- {::addSelectionAbove}\n- {::addSelectionBelow}\n- {::splitSelectionsIntoLines}\n\n### Manipulating Text\n- {::getText}\n- {::getSelectedText}\n- {::setText}\n- {::setTextInBufferRange}\n- {::insertText}\n- {::insertNewline}\n- {::insertNewlineAbove}\n- {::insertNewlineBelow}\n- {::backspace}\n- {::deleteToBeginningOfWord}\n- {::deleteToBeginningOfLine}\n- {::delete}\n- {::deleteToEndOfLine}\n- {::deleteToEndOfWord}\n- {::deleteLine}\n- {::cutSelectedText}\n- {::cutToEndOfLine}\n- {::copySelectedText}\n- {::pasteText}\n\n### Undo, Redo, and Transactions\n- {::undo}\n- {::redo}\n- {::transact}\n- {::abortTransaction}\n\n### Markers\n- {::markBufferRange}\n- {::markScreenRange}\n- {::getMarker}\n- {::findMarkers}\n\n### Decorations\n- {::decorateMarker}\n- {::decorationsForScreenRowRange} ", - "range": [ - [ - 138, - 0 - ], - [ - 2060, - 16 - ] - ] - } - }, - "143": { - "17": { - "name": "deserializing", - "type": "primitive", - "range": [ - [ - 143, - 17 - ], - [ - 143, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "144": { - "32": { - "name": "callDisplayBufferCreatedHook", - "type": "primitive", - "range": [ - [ - 144, - 32 - ], - [ - 144, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "145": { - "18": { - "name": "registerEditor", - "type": "primitive", - "range": [ - [ - 145, - 18 - ], - [ - 145, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "146": { - "10": { - "name": "buffer", - "type": "primitive", - "range": [ - [ - 146, - 10 - ], - [ - 146, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "147": { - "16": { - "name": "languageMode", - "type": "primitive", - "range": [ - [ - 147, - 16 - ], - [ - 147, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "148": { - "11": { - "name": "cursors", - "type": "primitive", - "range": [ - [ - 148, - 11 - ], - [ - 148, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "149": { - "14": { - "name": "selections", - "type": "primitive", - "range": [ - [ - 149, - 14 - ], - [ - 149, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "150": { - "28": { - "name": "suppressSelectionMerging", - "type": "primitive", - "range": [ - [ - 150, - 28 - ], - [ - 150, - 32 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "151": { - "20": { - "name": "updateBatchDepth", - "type": "primitive", - "range": [ - [ - 151, - 20 - ], - [ - 151, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "152": { - "26": { - "name": "selectionFlashDuration", - "type": "primitive", - "range": [ - [ - 152, - 26 - ], - [ - 152, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "161": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 161, - 15 - ], - [ - 190, - 1 - ] - ], - "doc": "~Private~" - } - }, - "190": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 19 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 197, - 21 - ], - [ - 202, - 1 - ] - ], - "doc": "~Private~" - } - }, - "202": { - "21": { - "name": "subscribeToBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 202, - 21 - ], - [ - 215, - 1 - ] - ], - "doc": "~Private~" - } - }, - "215": { - "28": { - "name": "subscribeToDisplayBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 215, - 28 - ], - [ - 228, - 1 - ] - ], - "doc": "~Private~" - } - }, - "228": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 228, - 16 - ], - [ - 234, - 1 - ] - ], - "doc": "~Private~" - } - }, - "234": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 13 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 242, - 8 - ], - [ - 258, - 1 - ] - ], - "doc": "Private: Create an {Editor} with its initial state based on this object " - } - }, - "258": { - "12": { - "name": "getTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 258, - 12 - ], - [ - 271, - 1 - ] - ], - "doc": " Public: Get the title the editor's title for display in other parts of the\nUI such as the tabs.\n\nIf the editor's buffer is saved, its title is the file name. If it is\nunsaved, its title is \"untitled\".\n\nReturns a {String}. " - } - }, - "271": { - "16": { - "name": "getLongTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 271, - 16 - ], - [ - 281, - 1 - ] - ], - "doc": " Public: Get the editor's long title for display in other parts of the UI\nsuch as the window title.\n\nIf the editor's buffer is saved, its long title is formatted as\n\" - \". If it is unsaved, its title is \"untitled\"\n\nReturns a {String}. " - } - }, - "281": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 281, - 14 - ], - [ - 281, - 60 - ] - ], - "doc": "Private: Controls visibility based on the given {Boolean}. " - } - }, - "288": { - "25": { - "name": "setEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorWidthInChars" - ], - "range": [ - [ - 288, - 25 - ], - [ - 292, - 1 - ] - ], - "doc": " Private: Set the number of characters that can be displayed horizontally in the\neditor.\n\neditorWidthInChars - A {Number} representing the width of the {EditorView}\nin characters. " - } - }, - "292": { - "21": { - "name": "getSoftWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 21 - ], - [ - 292, - 57 - ] - ], - "doc": "Public: Sets the column at which column will soft wrap " - } - }, - "296": { - "15": { - "name": "getSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 296, - 15 - ], - [ - 296, - 26 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether softTabs are enabled for this\neditor. " - } - }, - "301": { - "15": { - "name": "setSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 301, - 15 - ], - [ - 301, - 38 - ] - ], - "doc": " Public: Enable or disable soft tabs for this editor.\n\nsoftTabs - A {Boolean} " - } - }, - "304": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 304, - 18 - ], - [ - 304, - 52 - ] - ], - "doc": "Public: Toggle soft tabs for this editor " - } - }, - "307": { - "15": { - "name": "getSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 307, - 15 - ], - [ - 307, - 45 - ] - ], - "doc": "Public: Get whether soft wrap is enabled for this editor. " - } - }, - "312": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 312, - 15 - ], - [ - 312, - 64 - ] - ], - "doc": " Public: Enable or disable soft wrap for this editor.\n\nsoftWrap - A {Boolean} " - } - }, - "315": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 18 - ], - [ - 315, - 52 - ] - ], - "doc": "Public: Toggle soft wrap for this editor " - } - }, - "323": { - "14": { - "name": "getTabText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 323, - 14 - ], - [ - 323, - 37 - ] - ], - "doc": " Public: Get the text representing a single level of indent.\n\nIf soft tabs are enabled, the text is composed of N spaces, where N is the\ntab length. Otherwise the text is a tab character (`\\t`).\n\nReturns a {String}. " - } - }, - "328": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 328, - 16 - ], - [ - 328, - 47 - ] - ], - "doc": " Public: Get the on-screen length of tab characters.\n\nReturns a {Number}. " - } - }, - "331": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 331, - 16 - ], - [ - 331, - 68 - ] - ], - "doc": "Public: Set the on-screen length of tab characters. " - } - }, - "339": { - "16": { - "name": "usesSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 339, - 16 - ], - [ - 361, - 1 - ] - ], - "doc": " Public: Determine if the buffer uses hard or soft tabs.\n\nReturns `true` if the first non-comment line with leading whitespace starts\nwith a space character. Returns `false` if it starts with a hard tab (`\\t`).\n\nReturns a {Boolean}, " - } - }, - "361": { - "22": { - "name": "clipBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 361, - 22 - ], - [ - 361, - 77 - ] - ], - "doc": " Public: Clip the given {Point} to a valid position in the buffer.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the buffer, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " - } - }, - "369": { - "19": { - "name": "clipBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 369, - 19 - ], - [ - 369, - 53 - ] - ], - "doc": " Public: Clip the start and end of the given range to valid positions in the\nbuffer. See {::clipBufferPosition} for more information.\n\nrange - The {Range} to clip.\n\nReturns a {Range}. " - } - }, - "381": { - "27": { - "name": "indentationForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 381, - 27 - ], - [ - 396, - 1 - ] - ], - "doc": " Public: Get the indentation level of the given a buffer row.\n\nReturns how deeply the given row is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nbufferRow - A {Number} indicating the buffer row.\n\nReturns a {Number}. " - } - }, - "396": { - "30": { - "name": "setIndentationForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "newLevel", - null - ], - "range": [ - [ - 396, - 30 - ], - [ - 414, - 1 - ] - ], - "doc": " Public: Set the indentation level for the given buffer row.\n\nInserts or removes hard tabs or spaces based on the soft tabs and tab length\nsettings of this editor in order to bring it to the given indentation level.\nNote that if soft tabs are enabled and the tab length is 2, a row with 4\nleading spaces would have an indentation level of 2.\n\nbufferRow - A {Number} indicating the buffer row.\nnewLevel - A {Number} indicating the new indentation level.\noptions - An {Object} with the following keys:\n :preserveLeadingWhitespace - true to preserve any whitespace already at\n the beginning of the line (default: false). " - } - }, - "414": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 414, - 22 - ], - [ - 418, - 1 - ] - ], - "doc": " Public: Get the indentation level of the given line of text.\n\nReturns how deeply the given line is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nline - A {String} representing a line of text.\n\nReturns a {Number}. " - } - }, - "418": { - "21": { - "name": "buildIndentString", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "number", - "column" - ], - "range": [ - [ - 418, - 21 - ], - [ - 428, - 1 - ] - ], - "doc": "Private: Constructs the string used for tabs. " - } - }, - "428": { - "8": { - "name": "save", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 8 - ], - [ - 428, - 24 - ] - ], - "doc": " Public: Saves the editor's text buffer.\n\nSee {TextBuffer::save} for more details. " - } - }, - "435": { - "10": { - "name": "saveAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 435, - 10 - ], - [ - 435, - 47 - ] - ], - "doc": " Public: Saves the editor's text buffer as the given path.\n\nSee {TextBuffer::saveAs} for more details.\n\nfilePath - A {String} path. " - } - }, - "437": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 437, - 16 - ], - [ - 442, - 1 - ] - ], - "doc": "~Private~" - } - }, - "442": { - "23": { - "name": "copyPathToClipboard", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 442, - 23 - ], - [ - 447, - 1 - ] - ], - "doc": "Private: Copies the current file path to the native clipboard. " - } - }, - "447": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 447, - 11 - ], - [ - 447, - 30 - ] - ], - "doc": "Public: Returns the {String} path of this editor's text buffer. " - } - }, - "450": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 450, - 11 - ], - [ - 450, - 30 - ] - ], - "doc": "Public: Returns a {String} representing the entire contents of the editor. " - } - }, - "453": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 453, - 11 - ], - [ - 453, - 41 - ] - ], - "doc": "Public: Replaces the entire contents of the buffer with the given {String}. " - } - }, - "458": { - "18": { - "name": "getTextInRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 458, - 18 - ], - [ - 458, - 57 - ] - ], - "doc": " Private: Get the text in the given {Range}.\n\nReturns a {String}. " - } - }, - "461": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 461, - 16 - ], - [ - 461, - 40 - ] - ], - "doc": "Public: Returns a {Number} representing the number of lines in the editor. " - } - }, - "464": { - "13": { - "name": "getBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 464, - 13 - ], - [ - 464, - 22 - ] - ], - "doc": "Private: Retrieves the current {TextBuffer}. " - } - }, - "467": { - "10": { - "name": "getUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 467, - 10 - ], - [ - 467, - 28 - ] - ], - "doc": "Public: Retrieves the current buffer's URI. " - } - }, - "470": { - "20": { - "name": "isBufferRowBlank", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 470, - 20 - ], - [ - 470, - 63 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.isRowBlank} " - } - }, - "473": { - "24": { - "name": "isBufferRowCommented", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 473, - 24 - ], - [ - 479, - 1 - ] - ], - "doc": "Public: Determine if the given row is entirely a comment " - } - }, - "479": { - "25": { - "name": "nextNonBlankBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 479, - 25 - ], - [ - 479, - 73 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.nextNonBlankRow} " - } - }, - "482": { - "24": { - "name": "getEofBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 482, - 24 - ], - [ - 482, - 50 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.getEndPosition} " - } - }, - "486": { - "20": { - "name": "getLastBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 486, - 20 - ], - [ - 486, - 42 - ] - ], - "doc": " Public: Returns a {Number} representing the last zero-indexed buffer row\nnumber of the editor. " - } - }, - "494": { - "27": { - "name": "bufferRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - null - ], - "range": [ - [ - 494, - 27 - ], - [ - 494, - 96 - ] - ], - "doc": " Private: Returns the range for the given buffer row.\n\nrow - A row {Number}.\noptions - An options hash with an `includeNewline` key.\n\nReturns a {Range}. " - } - }, - "500": { - "20": { - "name": "lineForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 500, - 20 - ], - [ - 500, - 51 - ] - ], - "doc": " Public: Returns a {String} representing the contents of the line at the\ngiven buffer row.\n\nrow - A {Number} representing a zero-indexed buffer row. " - } - }, - "506": { - "26": { - "name": "lineLengthForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 506, - 26 - ], - [ - 506, - 63 - ] - ], - "doc": " Public: Returns a {Number} representing the line length for the given\nbuffer row, exclusive of its line-ending character(s).\n\nrow - A {Number} indicating the buffer row. " - } - }, - "509": { - "8": { - "name": "scan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 509, - 8 - ], - [ - 509, - 41 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.scan} " - } - }, - "512": { - "21": { - "name": "scanInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 512, - 21 - ], - [ - 512, - 61 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.scanInRange} " - } - }, - "515": { - "30": { - "name": "backwardsScanInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 515, - 30 - ], - [ - 515, - 79 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.backwardsScanInRange} " - } - }, - "518": { - "14": { - "name": "isModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 518, - 14 - ], - [ - 518, - 36 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.isModified} " - } - }, - "520": { - "11": { - "name": "isEmpty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 520, - 11 - ], - [ - 520, - 30 - ] - ], - "doc": "~Private~" - } - }, - "524": { - "22": { - "name": "shouldPromptToSave", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 524, - 22 - ], - [ - 524, - 74 - ] - ], - "doc": " Public: Determine whether the user should be prompted to save before closing\nthis editor. " - } - }, - "536": { - "35": { - "name": "screenPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 536, - 35 - ], - [ - 536, - 134 - ] - ], - "doc": " Public: Convert a position in buffer-coordinates to screen-coordinates.\n\nThe position is clipped via {::clipBufferPosition} prior to the conversion.\nThe position is also clipped via {::clipScreenPosition} following the\nconversion, which only makes a difference when `options` are supplied.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " - } - }, - "546": { - "35": { - "name": "bufferPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 546, - 35 - ], - [ - 546, - 134 - ] - ], - "doc": " Public: Convert a position in screen-coordinates to buffer-coordinates.\n\nThe position is clipped via {::clipScreenPosition} prior to the conversion.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " - } - }, - "551": { - "29": { - "name": "screenRangeForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 551, - 29 - ], - [ - 551, - 98 - ] - ], - "doc": " Public: Convert a range in buffer-coordinates to screen-coordinates.\n\nReturns a {Range}. " - } - }, - "556": { - "29": { - "name": "bufferRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 556, - 29 - ], - [ - 556, - 98 - ] - ], - "doc": " Public: Convert a range in screen-coordinates to buffer-coordinates.\n\nReturns a {Range}. " - } - }, - "573": { - "22": { - "name": "clipScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 573, - 22 - ], - [ - 573, - 108 - ] - ], - "doc": " Public: Clip the given {Point} to a valid position on screen.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the screen, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at screen row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " - } - }, - "576": { - "20": { - "name": "lineForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 576, - 20 - ], - [ - 576, - 58 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.lineForRow} " - } - }, - "579": { - "22": { - "name": "linesForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 579, - 22 - ], - [ - 579, - 76 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.linesForRows} " - } - }, - "582": { - "22": { - "name": "getScreenLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 582, - 22 - ], - [ - 582, - 53 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getLineCount} " - } - }, - "585": { - "26": { - "name": "getMaxScreenLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 585, - 26 - ], - [ - 585, - 61 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getMaxLineLength} " - } - }, - "588": { - "20": { - "name": "getLastScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 588, - 20 - ], - [ - 588, - 49 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getLastRow} " - } - }, - "591": { - "27": { - "name": "bufferRowsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 591, - 27 - ], - [ - 591, - 104 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.bufferRowsForScreenRows} " - } - }, - "593": { - "25": { - "name": "bufferRowForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 593, - 25 - ], - [ - 593, - 74 - ] - ], - "doc": "~Private~" - } - }, - "605": { - "27": { - "name": "scopesForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 605, - 27 - ], - [ - 605, - 100 - ] - ], - "doc": " Public: Get the syntactic scopes for the given position in buffer\ncoordinates.\n\nFor example, if called with a position inside the parameter list of an\nanonymous CoffeeScript function, the method returns the following array:\n`[\"source.coffee\", \"meta.inline.function.coffee\", \"variable.parameter.function.coffee\"]`\n\nbufferPosition - A {Point} or {Array} of [row, column].\n\nReturns an {Array} of {String}s. " - } - }, - "614": { - "31": { - "name": "bufferRangeForScopeAtCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 614, - 31 - ], - [ - 618, - 1 - ] - ], - "doc": " Public: Get the range in buffer coordinates of all tokens surrounding the\ncursor that match the given scope selector.\n\nFor example, if you wanted to find the string surrounding the cursor, you\ncould call `editor.bufferRangeForScopeAtCursor(\".string.quoted\")`.\n\nReturns a {Range}. " - } - }, - "618": { - "26": { - "name": "tokenForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 618, - 26 - ], - [ - 618, - 98 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.tokenForBufferPosition} " - } - }, - "624": { - "19": { - "name": "getCursorScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 624, - 19 - ], - [ - 624, - 45 - ] - ], - "doc": " Public: Get the syntactic scopes for the most recently added cursor's\nposition. See {::scopesForBufferPosition} for more information.\n\nReturns an {Array} of {String}s. " - } - }, - "626": { - "18": { - "name": "logCursorScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 626, - 18 - ], - [ - 633, - 1 - ] - ], - "doc": "~Private~" - } - }, - "633": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 633, - 14 - ], - [ - 639, - 1 - ] - ], - "doc": " Public: For each selection, replace the selected text with the given text.\n\ntext - A {String} representing the text to insert.\noptions - See {Selection::insertText}. " - } - }, - "639": { - "17": { - "name": "insertNewline", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 639, - 17 - ], - [ - 643, - 1 - ] - ], - "doc": "Public: For each selection, replace the selected text with a newline. " - } - }, - "643": { - "22": { - "name": "insertNewlineBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 643, - 22 - ], - [ - 649, - 1 - ] - ], - "doc": "Public: For each cursor, insert a newline at beginning the following line. " - } - }, - "649": { - "22": { - "name": "insertNewlineAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 649, - 22 - ], - [ - 668, - 1 - ] - ], - "doc": "Public: For each cursor, insert a newline at the end of the preceding line. " - } - }, - "668": { - "10": { - "name": "indent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 668, - 10 - ], - [ - 674, - 1 - ] - ], - "doc": " Private: Indent all lines intersecting selections. See {Selection::indent} for more\ninformation. " - } - }, - "674": { - "13": { - "name": "backspace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 674, - 13 - ], - [ - 678, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete the character\npreceding the cursor. Otherwise delete the selected text. " - } - }, - "678": { - "30": { - "name": "backspaceToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 678, - 30 - ], - [ - 683, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " - } - }, - "683": { - "30": { - "name": "backspaceToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 683, - 30 - ], - [ - 690, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " - } - }, - "690": { - "27": { - "name": "deleteToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 690, - 27 - ], - [ - 696, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word that precede the cursor. Otherwise delete the\nselected text. " - } - }, - "696": { - "27": { - "name": "deleteToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 696, - 27 - ], - [ - 701, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing line that precede the cursor. Otherwise delete the\nselected text. " - } - }, - "701": { - "10": { - "name": "delete", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 701, - 10 - ], - [ - 708, - 1 - ] - ] - } - }, - "708": { - "21": { - "name": "deleteToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 708, - 21 - ], - [ - 714, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is not empty, deletes the\nselection; otherwise, deletes all characters of the containing line\nfollowing the cursor. If the cursor is already at the end of the line,\ndeletes the following newline. " - } - }, - "714": { - "21": { - "name": "deleteToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 714, - 21 - ], - [ - 718, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word following the cursor. Otherwise delete the selected\ntext. " - } - }, - "718": { - "14": { - "name": "deleteLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 718, - 14 - ], - [ - 722, - 1 - ] - ], - "doc": "Public: Delete all lines intersecting selections. " - } - }, - "722": { - "22": { - "name": "indentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 722, - 22 - ], - [ - 726, - 1 - ] - ], - "doc": "Public: Indent rows intersecting selections by one level. " - } - }, - "726": { - "23": { - "name": "outdentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 726, - 23 - ], - [ - 734, - 1 - ] - ], - "doc": "Public: Outdent rows intersecting selections by one level. " - } - }, - "734": { - "33": { - "name": "toggleLineCommentsInSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 734, - 33 - ], - [ - 739, - 1 - ] - ], - "doc": " Public: Toggle line comments for rows intersecting selections.\n\nIf the current grammar doesn't support comments, does nothing.\n\nReturns an {Array} of the commented {Range}s. " - } - }, - "739": { - "26": { - "name": "autoIndentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 739, - 26 - ], - [ - 744, - 1 - ] - ], - "doc": " Public: Indent rows intersecting selections based on the grammar's suggested\nindent level. " - } - }, - "744": { - "30": { - "name": "normalizeTabsInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 744, - 30 - ], - [ - 751, - 1 - ] - ], - "doc": " Private: If soft tabs are enabled, convert all hard tabs to soft tabs in the given\n{Range}. " - } - }, - "751": { - "18": { - "name": "cutToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 751, - 18 - ], - [ - 758, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, cut all characters\nof the containing line following the cursor. Otherwise cut the selected\ntext. " - } - }, - "758": { - "19": { - "name": "cutSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 758, - 19 - ], - [ - 765, - 1 - ] - ], - "doc": "Public: For each selection, cut the selected text. " - } - }, - "765": { - "20": { - "name": "copySelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 765, - 20 - ], - [ - 779, - 1 - ] - ], - "doc": "Public: For each selection, copy the selected text. " - } - }, - "779": { - "13": { - "name": "pasteText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 779, - 13 - ], - [ - 798, - 1 - ] - ], - "doc": " Public: For each selection, replace the selected text with the contents of\nthe clipboard.\n\nIf the clipboard contains the same number of selections as the current\neditor, each selection will be replaced with the content of the\ncorresponding clipboard selection text.\n\noptions - See {Selection::insertText}. " - } - }, - "798": { - "8": { - "name": "undo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 798, - 8 - ], - [ - 803, - 1 - ] - ], - "doc": "Public: Undo the last change. " - } - }, - "803": { - "8": { - "name": "redo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 803, - 8 - ], - [ - 812, - 1 - ] - ], - "doc": "Public: Redo the last change. " - } - }, - "812": { - "18": { - "name": "foldCurrentRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 812, - 18 - ], - [ - 817, - 1 - ] - ], - "doc": " Public: Fold the most recent cursor's row based on its indentation level.\n\nThe fold will extend from the nearest preceding line with a lower\nindentation level up to the nearest following row with a lower indentation\nlevel. " - } - }, - "817": { - "20": { - "name": "unfoldCurrentRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 817, - 20 - ], - [ - 822, - 1 - ] - ], - "doc": "Public: Unfold the most recent cursor's row by one level. " - } - }, - "822": { - "21": { - "name": "foldSelectedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 822, - 21 - ], - [ - 826, - 1 - ] - ], - "doc": "Public: For each selection, fold the rows it intersects. " - } - }, - "826": { - "11": { - "name": "foldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 826, - 11 - ], - [ - 830, - 1 - ] - ], - "doc": "Public: Fold all foldable lines. " - } - }, - "830": { - "13": { - "name": "unfoldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 830, - 13 - ], - [ - 836, - 1 - ] - ], - "doc": "Public: Unfold all existing folds. " - } - }, - "836": { - "24": { - "name": "foldAllAtIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "level" - ], - "range": [ - [ - 836, - 24 - ], - [ - 846, - 1 - ] - ], - "doc": " Public: Fold all foldable lines at the given indent level.\n\nlevel - A {Number}. " - } - }, - "846": { - "17": { - "name": "foldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 846, - 17 - ], - [ - 852, - 1 - ] - ], - "doc": " Public: Fold the given row in buffer coordinates based on its indentation\nlevel.\n\nIf the given row is foldable, the fold will begin there. Otherwise, it will\nbegin at the first foldable row preceding the given row.\n\nbufferRow - A {Number}. " - } - }, - "852": { - "19": { - "name": "unfoldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 852, - 19 - ], - [ - 862, - 1 - ] - ], - "doc": " Public: Unfold all folds containing the given row in buffer coordinates.\n\nbufferRow - A {Number} " - } - }, - "862": { - "25": { - "name": "isFoldableAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 862, - 25 - ], - [ - 865, - 1 - ] - ], - "doc": " Public: Determine whether the given row in buffer coordinates is foldable.\n\nA *foldable* row is a row that *starts* a row range that can be folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "865": { - "25": { - "name": "isFoldableAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 865, - 25 - ], - [ - 870, - 1 - ] - ], - "doc": "~Private~" - } - }, - "870": { - "14": { - "name": "createFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 870, - 14 - ], - [ - 874, - 1 - ] - ], - "doc": "TODO: Rename to foldRowRange? " - } - }, - "874": { - "21": { - "name": "destroyFoldWithId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 874, - 21 - ], - [ - 878, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.destroyFoldWithId} " - } - }, - "878": { - "39": { - "name": "destroyFoldsIntersectingBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 878, - 39 - ], - [ - 884, - 1 - ] - ], - "doc": "Private: Remove any {Fold}s found that intersect the given buffer row. " - } - }, - "884": { - "25": { - "name": "toggleFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 884, - 25 - ], - [ - 893, - 1 - ] - ], - "doc": " Public: Fold the given buffer row if it isn't currently folded, and unfold\nit otherwise. " - } - }, - "893": { - "23": { - "name": "isFoldedAtCursorRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 893, - 23 - ], - [ - 901, - 1 - ] - ], - "doc": " Public: Determine whether the most recently added cursor's row is folded.\n\nReturns a {Boolean}. " - } - }, - "901": { - "23": { - "name": "isFoldedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 901, - 23 - ], - [ - 909, - 1 - ] - ], - "doc": " Public: Determine whether the given row in buffer coordinates is folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "909": { - "23": { - "name": "isFoldedAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 909, - 23 - ], - [ - 913, - 1 - ] - ], - "doc": " Public: Determine whether the given row in screen coordinates is folded.\n\nscreenRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "913": { - "34": { - "name": "largestFoldContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 913, - 34 - ], - [ - 917, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.largestFoldContainingBufferRow} " - } - }, - "917": { - "34": { - "name": "largestFoldStartingAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 917, - 34 - ], - [ - 921, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.largestFoldStartingAtScreenRow} " - } - }, - "921": { - "34": { - "name": "outermostFoldsInBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 921, - 34 - ], - [ - 926, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.outermostFoldsForBufferRowRange} " - } - }, - "926": { - "14": { - "name": "moveLineUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 926, - 14 - ], - [ - 979, - 1 - ] - ], - "doc": " Private: Move lines intersection the most recent selection up by one row in screen\ncoordinates. " - } - }, - "979": { - "16": { - "name": "moveLineDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 979, - 16 - ], - [ - 1034, - 1 - ] - ], - "doc": " Private: Move lines intersecting the most recent selection down by one row in screen\ncoordinates. " - } - }, - "1034": { - "18": { - "name": "duplicateLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1034, - 18 - ], - [ - 1060, - 1 - ] - ], - "doc": "Private: Duplicate the most recent cursor's current line. " - } - }, - "1060": { - "17": { - "name": "duplicateLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1060, - 17 - ], - [ - 1072, - 1 - ] - ], - "doc": "Deprecated: Use {::duplicateLines} instead. " - } - }, - "1072": { - "22": { - "name": "mutateSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1072, - 22 - ], - [ - 1075, - 1 - ] - ], - "doc": " Public: Mutate the text of all the selections in a single transaction.\n\nAll the changes made inside the given {Function} can be reverted with a\nsingle call to {::undo}.\n\nfn - A {Function} that will be called once for each {Selection}. The first\n argument will be a {Selection} and the second argument will be the\n {Number} index of that selection. " - } - }, - "1075": { - "23": { - "name": "replaceSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options", - "fn" - ], - "range": [ - [ - 1075, - 23 - ], - [ - 1096, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1096": { - "32": { - "name": "decorationsForScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 1096, - 32 - ], - [ - 1137, - 1 - ] - ], - "doc": " Public: Get all the decorations within a screen row range.\n\nstartScreenRow - the {Number} beginning screen row\nendScreenRow - the {Number} end screen row (inclusive)\n\nReturns an {Object} of decorations in the form\n `{1: [{id: 10, type: 'gutter', class: 'someclass'}], 2: ...}`\n where the keys are {Marker} IDs, and the values are an array of decoration\n params objects attached to the marker.\nReturns an empty object when no decorations are found " - } - }, - "1137": { - "18": { - "name": "decorateMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "decorationParams" - ], - "range": [ - [ - 1137, - 18 - ], - [ - 1140, - 1 - ] - ], - "doc": " Public: Adds a decoration that tracks a {Marker}. When the marker moves,\nis invalidated, or is destroyed, the decoration will be updated to reflect\nthe marker's state.\n\nThere are three types of supported decorations:\n* `line`: Adds your CSS `class` to the line nodes within the range\n marked by the marker\n* `gutter`: Adds your CSS `class` to the line number nodes within the\n range marked by the marker\n* `highlight`: Adds a new highlight div to the editor surrounding the\n range marked by the marker. When the user selects text, the selection is\n visualized with a highlight decoration internally. The structure of this\n highlight will be:\n ```html\n
    \">\n \n
    \n
    \n ```\n\nmarker - A {Marker} you want this decoration to follow.\ndecorationParams - An {Object} representing the decoration eg. `{type: 'gutter', class: 'linter-error'}`\n :type - There are a few supported decoration types:\n * `gutter`: Applies the decoration to the line numbers spanned by the marker.\n * `line`: Applies the decoration to the lines spanned by the marker.\n * `highlight`: Applies the decoration to a \"highlight\" behind the marked range.\n :class - This CSS class will be applied to the decorated line number,\n line, or highlight.\n :onlyHead - If `true`, the decoration will only be applied to the head\n of the marker. Only applicable to the `line` and `gutter` types.\n :onlyEmpty - If `true`, the decoration will only be applied if the\n associated marker is empty. Only applicable to the `line` and\n `gutter` types.\n :onlyNonEmpty - If `true`, the decoration will only be applied if the\n associated marker is non-empty. Only applicable to the `line` and\n gutter types.\n\nReturns a {Decoration} object " - } - }, - "1140": { - "19": { - "name": "decorationForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 1140, - 19 - ], - [ - 1144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1144": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 1144, - 13 - ], - [ - 1148, - 1 - ] - ], - "doc": "Public: Get the {DisplayBufferMarker} for the given marker id. " - } - }, - "1148": { - "14": { - "name": "getMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1148, - 14 - ], - [ - 1170, - 1 - ] - ], - "doc": "Public: Get all {DisplayBufferMarker}s. " - } - }, - "1170": { - "15": { - "name": "findMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "properties" - ], - "range": [ - [ - 1170, - 15 - ], - [ - 1179, - 1 - ] - ], - "doc": " Public: Find all {DisplayBufferMarker}s that match the given properties.\n\nThis method finds markers based on the given properties. Markers can be\nassociated with custom properties that will be compared with basic equality.\nIn addition, there are several special properties that will be compared\nwith the range of the markers rather than their properties.\n\nproperties - An {Object} containing properties that each returned marker\n must satisfy. Markers can be associated with custom properties, which are\n compared with basic equality. In addition, several reserved properties\n can be used to filter markers based on their current range:\n :startBufferRow - Only include markers starting at this row in buffer\n coordinates.\n :endBufferRow - Only include markers ending at this row in buffer\n coordinates.\n :containsBufferRange - Only include markers containing this {Range} or\n in range-compatible {Array} in buffer coordinates.\n :containsBufferPosition - Only include markers containing this {Point}\n or {Array} of `[row, column]` in buffer coordinates. " - } - }, - "1179": { - "19": { - "name": "markScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1179, - 19 - ], - [ - 1188, - 1 - ] - ], - "doc": " Public: Mark the given range in screen coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1188": { - "19": { - "name": "markBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1188, - 19 - ], - [ - 1197, - 1 - ] - ], - "doc": " Public: Mark the given range in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1197": { - "22": { - "name": "markScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1197, - 22 - ], - [ - 1206, - 1 - ] - ], - "doc": " Public: Mark the given position in screen coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1206": { - "22": { - "name": "markBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1206, - 22 - ], - [ - 1210, - 1 - ] - ], - "doc": " Public: Mark the given position in buffer coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1210": { - "17": { - "name": "destroyMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1210, - 17 - ], - [ - 1216, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.destroyMarker} " - } - }, - "1216": { - "18": { - "name": "getMarkerCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1216, - 18 - ], - [ - 1220, - 1 - ] - ], - "doc": " Public: Get the number of markers in this editor's buffer.\n\nReturns a {Number}. " - } - }, - "1220": { - "22": { - "name": "hasMultipleCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1220, - 22 - ], - [ - 1224, - 1 - ] - ], - "doc": "Public: Determine if there are multiple cursors. " - } - }, - "1224": { - "14": { - "name": "getCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1224, - 14 - ], - [ - 1224, - 38 - ] - ], - "doc": "Public: Get an Array of all {Cursor}s. " - } - }, - "1227": { - "13": { - "name": "getCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1227, - 13 - ], - [ - 1233, - 1 - ] - ], - "doc": "Public: Get the most recently added {Cursor}. " - } - }, - "1233": { - "29": { - "name": "addCursorAtScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 1233, - 29 - ], - [ - 1240, - 1 - ] - ], - "doc": " Public: Add a cursor at the position in screen coordinates.\n\nReturns a {Cursor}. " - } - }, - "1240": { - "29": { - "name": "addCursorAtBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 1240, - 29 - ], - [ - 1245, - 1 - ] - ], - "doc": " Public: Add a cursor at the given position in buffer coordinates.\n\nReturns a {Cursor}. " - } - }, - "1245": { - "13": { - "name": "addCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1245, - 13 - ], - [ - 1255, - 1 - ] - ], - "doc": "Private: Add a cursor based on the given {DisplayBufferMarker}. " - } - }, - "1255": { - "16": { - "name": "removeCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursor" - ], - "range": [ - [ - 1255, - 16 - ], - [ - 1264, - 1 - ] - ], - "doc": "Private: Remove the given cursor from this editor. " - } - }, - "1264": { - "16": { - "name": "addSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "options" - ], - "range": [ - [ - 1264, - 16 - ], - [ - 1288, - 1 - ] - ], - "doc": " Private: Add a {Selection} based on the given {DisplayBufferMarker}.\n\nmarker - The {DisplayBufferMarker} to highlight\noptions - An {Object} that pertains to the {Selection} constructor.\n\nReturns the new {Selection}. " - } - }, - "1288": { - "30": { - "name": "addSelectionForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 1288, - 30 - ], - [ - 1301, - 1 - ] - ], - "doc": " Public: Add a selection for the given range in buffer coordinates.\n\nbufferRange - A {Range}\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation.\n\nReturns the added {Selection}. " - } - }, - "1301": { - "26": { - "name": "setSelectedBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 1301, - 26 - ], - [ - 1311, - 1 - ] - ], - "doc": " Public: Set the selected range in buffer coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nbufferRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1311": { - "26": { - "name": "setSelectedScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 1311, - 26 - ], - [ - 1321, - 1 - ] - ], - "doc": " Public: Set the selected range in screen coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nscreenRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1321": { - "27": { - "name": "setSelectedBufferRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRanges", - "options" - ], - "range": [ - [ - 1321, - 27 - ], - [ - 1336, - 1 - ] - ], - "doc": " Public: Set the selected ranges in buffer coordinates. If there are multiple\nselections, they are replaced by new selections with the given ranges.\n\nbufferRanges - An {Array} of {Range}s or range-compatible {Array}s.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1336": { - "19": { - "name": "removeSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 1336, - 19 - ], - [ - 1342, - 1 - ] - ], - "doc": "Private: Remove the given selection. " - } - }, - "1342": { - "19": { - "name": "clearSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1342, - 19 - ], - [ - 1347, - 1 - ] - ], - "doc": " Private: Reduce one or more selections to a single empty selection based on the most\nrecently added cursor. " - } - }, - "1347": { - "25": { - "name": "consolidateSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1347, - 25 - ], - [ - 1355, - 1 - ] - ], - "doc": "Private: Reduce multiple selections to the most recently added selection. " - } - }, - "1355": { - "31": { - "name": "selectionScreenRangeChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 1355, - 31 - ], - [ - 1361, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1361": { - "17": { - "name": "getSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1361, - 17 - ], - [ - 1361, - 44 - ] - ], - "doc": " Public: Get current {Selection}s.\n\nReturns: An {Array} of {Selection}s. " - } - }, - "1363": { - "27": { - "name": "selectionsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1363, - 27 - ], - [ - 1374, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1374": { - "16": { - "name": "getSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 1374, - 16 - ], - [ - 1381, - 1 - ] - ], - "doc": " Public: Get the most recent {Selection} or the selection at the given\nindex.\n\nindex - Optional. The index of the selection to return, based on the order\n in which the selections were added.\n\nReturns a {Selection}.\nor the at the specified index. " - } - }, - "1381": { - "20": { - "name": "getLastSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1381, - 20 - ], - [ - 1388, - 1 - ] - ], - "doc": " Public: Get the most recently added {Selection}.\n\nReturns a {Selection}. " - } - }, - "1388": { - "40": { - "name": "getSelectionsOrderedByBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1388, - 40 - ], - [ - 1394, - 1 - ] - ], - "doc": " Public: Get all {Selection}s, ordered by their position in the buffer\ninstead of the order in which they were added.\n\nReturns an {Array} of {Selection}s. " - } - }, - "1394": { - "28": { - "name": "getLastSelectionInBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1394, - 28 - ], - [ - 1403, - 1 - ] - ], - "doc": " Public: Get the last {Selection} based on its position in the buffer.\n\nReturns a {Selection}. " - } - }, - "1403": { - "34": { - "name": "selectionIntersectsBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 1403, - 34 - ], - [ - 1415, - 1 - ] - ], - "doc": " Public: Determine if a given range in buffer coordinates intersects a\nselection.\n\nbufferRange - A {Range} or range-compatible {Array}.\n\nReturns a {Boolean}. " - } - }, - "1415": { - "27": { - "name": "setCursorScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "options" - ], - "range": [ - [ - 1415, - 27 - ], - [ - 1422, - 1 - ] - ], - "doc": " Public: Move the cursor to the given position in screen coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " - } - }, - "1422": { - "27": { - "name": "getCursorScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1422, - 27 - ], - [ - 1428, - 1 - ] - ], - "doc": " Public: Get the position of the most recently added cursor in screen\ncoordinates.\n\nReturns a {Point}. " - } - }, - "1428": { - "22": { - "name": "getCursorScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1428, - 22 - ], - [ - 1439, - 1 - ] - ], - "doc": " Public: Get the row of the most recently added cursor in screen coordinates.\n\nReturns the screen row {Number}. " - } - }, - "1439": { - "27": { - "name": "setCursorBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "options" - ], - "range": [ - [ - 1439, - 27 - ], - [ - 1446, - 1 - ] - ], - "doc": " Public: Move the cursor to the given position in buffer coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " - } - }, - "1446": { - "27": { - "name": "getCursorBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1446, - 27 - ], - [ - 1453, - 1 - ] - ], - "doc": " Public: Get the position of the most recently added cursor in buffer\ncoordinates.\n\nReturns a {Point}. " - } - }, - "1453": { - "26": { - "name": "getSelectedScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1453, - 26 - ], - [ - 1460, - 1 - ] - ], - "doc": " Public: Get the {Range} of the most recently added selection in screen\ncoordinates.\n\nReturns a {Range}. " - } - }, - "1460": { - "26": { - "name": "getSelectedBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1460, - 26 - ], - [ - 1468, - 1 - ] - ], - "doc": " Public: Get the {Range} of the most recently added selection in buffer\ncoordinates.\n\nReturns a {Range}. " - } - }, - "1468": { - "27": { - "name": "getSelectedBufferRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1468, - 27 - ], - [ - 1476, - 1 - ] - ], - "doc": " Public: Get the {Range}s of all selections in buffer coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " - } - }, - "1476": { - "27": { - "name": "getSelectedScreenRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1476, - 27 - ], - [ - 1482, - 1 - ] - ], - "doc": " Public: Get the {Range}s of all selections in screen coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " - } - }, - "1482": { - "19": { - "name": "getSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1482, - 19 - ], - [ - 1490, - 1 - ] - ], - "doc": " Public: Get the selected text of the most recently added selection.\n\nReturns a {String}. " - } - }, - "1490": { - "24": { - "name": "getTextInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 1490, - 24 - ], - [ - 1499, - 1 - ] - ], - "doc": " Public: Get the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\n\nReturns a {String}. " - } - }, - "1499": { - "24": { - "name": "setTextInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range", - "text", - "normalizeLineEndings" - ], - "range": [ - [ - 1499, - 24 - ], - [ - 1499, - 124 - ] - ], - "doc": " Public: Set the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\ntext - A {String}\n\nReturns the {Range} of the newly-inserted text. " - } - }, - "1505": { - "34": { - "name": "getCurrentParagraphBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1505, - 34 - ], - [ - 1511, - 1 - ] - ], - "doc": " Public: Get the {Range} of the paragraph surrounding the most recently added\ncursor.\n\nReturns a {Range}. " - } - }, - "1511": { - "22": { - "name": "getWordUnderCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 1511, - 22 - ], - [ - 1515, - 1 - ] - ], - "doc": " Public: Returns the word surrounding the most recently added cursor.\n\noptions - See {Cursor::getBeginningOfCurrentWordBufferPosition}. " - } - }, - "1515": { - "16": { - "name": "moveCursorUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineCount" - ], - "range": [ - [ - 1515, - 16 - ], - [ - 1519, - 1 - ] - ], - "doc": "Public: Move every cursor up one row in screen coordinates. " - } - }, - "1519": { - "18": { - "name": "moveCursorDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineCount" - ], - "range": [ - [ - 1519, - 18 - ], - [ - 1523, - 1 - ] - ], - "doc": "Public: Move every cursor down one row in screen coordinates. " - } - }, - "1523": { - "18": { - "name": "moveCursorLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1523, - 18 - ], - [ - 1527, - 1 - ] - ], - "doc": "Public: Move every cursor left one column. " - } - }, - "1527": { - "19": { - "name": "moveCursorRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1527, - 19 - ], - [ - 1533, - 1 - ] - ], - "doc": "Public: Move every cursor right one column. " - } - }, - "1533": { - "19": { - "name": "moveCursorToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1533, - 19 - ], - [ - 1539, - 1 - ] - ], - "doc": " Public: Move every cursor to the top of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " - } - }, - "1539": { - "22": { - "name": "moveCursorToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1539, - 22 - ], - [ - 1543, - 1 - ] - ], - "doc": " Public: Move every cursor to the bottom of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " - } - }, - "1543": { - "37": { - "name": "moveCursorToBeginningOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1543, - 37 - ], - [ - 1547, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its line in screen coordinates. " - } - }, - "1547": { - "31": { - "name": "moveCursorToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1547, - 31 - ], - [ - 1551, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its line in buffer coordinates. " - } - }, - "1551": { - "36": { - "name": "moveCursorToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1551, - 36 - ], - [ - 1555, - 1 - ] - ], - "doc": "Public: Move every cursor to the first non-whitespace character of its line. " - } - }, - "1555": { - "31": { - "name": "moveCursorToEndOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1555, - 31 - ], - [ - 1559, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its line in screen coordinates. " - } - }, - "1559": { - "25": { - "name": "moveCursorToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1559, - 25 - ], - [ - 1563, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its line in buffer coordinates. " - } - }, - "1563": { - "31": { - "name": "moveCursorToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1563, - 31 - ], - [ - 1567, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its surrounding word. " - } - }, - "1567": { - "25": { - "name": "moveCursorToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1567, - 25 - ], - [ - 1571, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its surrounding word. " - } - }, - "1571": { - "35": { - "name": "moveCursorToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1571, - 35 - ], - [ - 1575, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the next word. " - } - }, - "1575": { - "36": { - "name": "moveCursorToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1575, - 36 - ], - [ - 1579, - 1 - ] - ], - "doc": "Public: Move every cursor to the previous word boundary. " - } - }, - "1579": { - "32": { - "name": "moveCursorToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1579, - 32 - ], - [ - 1583, - 1 - ] - ], - "doc": "Public: Move every cursor to the next word boundary. " - } - }, - "1583": { - "40": { - "name": "moveCursorToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1583, - 40 - ], - [ - 1587, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the next paragraph. " - } - }, - "1587": { - "44": { - "name": "moveCursorToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1587, - 44 - ], - [ - 1596, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the previous paragraph. " - } - }, - "1596": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 1596, - 26 - ], - [ - 1599, - 1 - ] - ], - "doc": " Public: Scroll the editor to reveal the most recently added cursor if it is\noff-screen.\n\noptions - An optional hash of options.\n :center - Center the editor around the cursor if possible. Defauls to\n true. " - } - }, - "1599": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1599, - 10 - ], - [ - 1604, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1604": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1604, - 12 - ], - [ - 1609, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1609": { - "16": { - "name": "selectPageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1609, - 16 - ], - [ - 1612, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1612": { - "18": { - "name": "selectPageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1612, - 18 - ], - [ - 1616, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1616": { - "18": { - "name": "getRowsPerPage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1616, - 18 - ], - [ - 1619, - 1 - ] - ], - "doc": "Private: Returns the number of rows per page " - } - }, - "1619": { - "15": { - "name": "moveCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1619, - 15 - ], - [ - 1626, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1626": { - "15": { - "name": "cursorMoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 1626, - 15 - ], - [ - 1636, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1636": { - "26": { - "name": "selectToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1636, - 26 - ], - [ - 1645, - 1 - ] - ], - "doc": " Public: Select from the current cursor position to the given position in\nscreen coordinates.\n\nThis method may merge selections that end up intesecting.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "1645": { - "15": { - "name": "selectRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1645, - 15 - ], - [ - 1652, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character rightward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1652": { - "14": { - "name": "selectLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1652, - 14 - ], - [ - 1659, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character leftward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1659": { - "12": { - "name": "selectUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 1659, - 12 - ], - [ - 1666, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character upward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1666": { - "14": { - "name": "selectDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 1666, - 14 - ], - [ - 1673, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character downward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1673": { - "15": { - "name": "selectToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1673, - 15 - ], - [ - 1679, - 1 - ] - ], - "doc": " Public: Select from the top of the buffer to the end of the last selection\nin the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1679": { - "13": { - "name": "selectAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1679, - 13 - ], - [ - 1686, - 1 - ] - ], - "doc": " Public: Select all text in the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1686": { - "18": { - "name": "selectToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1686, - 18 - ], - [ - 1693, - 1 - ] - ], - "doc": " Public: Selects from the top of the first selection in the buffer to the end\nof the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1693": { - "27": { - "name": "selectToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1693, - 27 - ], - [ - 1702, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the beginning of its line\nwhile preserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1702": { - "32": { - "name": "selectToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1702, - 32 - ], - [ - 1709, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the first non-whitespace\ncharacter of its line while preserving the selection's tail position. If the\ncursor is already on the first character of the line, move it to the\nbeginning of the line.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1709": { - "21": { - "name": "selectToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1709, - 21 - ], - [ - 1716, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the end of its line while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1716": { - "32": { - "name": "selectToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1716, - 32 - ], - [ - 1723, - 1 - ] - ], - "doc": " Public: For each selection, move its cursor to the preceding word boundary\nwhile maintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1723": { - "28": { - "name": "selectToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1723, - 28 - ], - [ - 1729, - 1 - ] - ], - "doc": " Public: For each selection, move its cursor to the next word boundary while\nmaintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1729": { - "14": { - "name": "selectLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1729, - 14 - ], - [ - 1740, - 1 - ] - ], - "doc": " Public: For each cursor, select the containing line.\n\nThis method merges selections on successive lines. " - } - }, - "1740": { - "21": { - "name": "addSelectionBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1740, - 21 - ], - [ - 1751, - 1 - ] - ], - "doc": " Public: Add a similarly-shaped selection to the next eligible line below\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next following non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " - } - }, - "1751": { - "21": { - "name": "addSelectionAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1751, - 21 - ], - [ - 1759, - 1 - ] - ], - "doc": " Public: Add a similarly-shaped selection to the next eligible line above\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next preceding non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " - } - }, - "1759": { - "28": { - "name": "splitSelectionsIntoLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1759, - 28 - ], - [ - 1776, - 1 - ] - ], - "doc": " Public: Split multi-line selections into one selection per line.\n\nOperates on all selections. This method breaks apart all multi-line\nselections to create multiple single-line selections that cumulatively cover\nthe same original area. " - } - }, - "1776": { - "13": { - "name": "transpose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1776, - 13 - ], - [ - 1791, - 1 - ] - ], - "doc": " Public: For each selection, transpose the selected text.\n\nIf the selection is empty, the characters preceding and following the cursor\nare swapped. Otherwise, the selected characters are reversed. " - } - }, - "1791": { - "13": { - "name": "upperCase", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1791, - 13 - ], - [ - 1798, - 1 - ] - ], - "doc": " Public: Convert the selected text to upper case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " - } - }, - "1798": { - "13": { - "name": "lowerCase", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1798, - 13 - ], - [ - 1809, - 1 - ] - ], - "doc": " Public: Convert the selected text to lower case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " - } - }, - "1809": { - "13": { - "name": "joinLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1809, - 13 - ], - [ - 1816, - 1 - ] - ], - "doc": " Private: Convert multiple lines to a single line.\n\nOperates on all selections. If the selection is empty, joins the current\nline with the next line. Otherwise it joins all lines that intersect the\nselection.\n\nJoining a line means that multiple lines are converted to a single line with\nthe contents of each of the original non-empty lines separated by a space. " - } - }, - "1816": { - "27": { - "name": "selectToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1816, - 27 - ], - [ - 1823, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of their containing word.\n\nOperates on all selections. Moves the cursor to the beginning of the\ncontaining word while preserving the selection's tail position. " - } - }, - "1823": { - "21": { - "name": "selectToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1823, - 21 - ], - [ - 1830, - 1 - ] - ], - "doc": " Public: Expand selections to the end of their containing word.\n\nOperates on all selections. Moves the cursor to the end of the containing\nword while preserving the selection's tail position. " - } - }, - "1830": { - "31": { - "name": "selectToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1830, - 31 - ], - [ - 1834, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next word.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nword while preserving the selection's tail position. " - } - }, - "1834": { - "14": { - "name": "selectWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1834, - 14 - ], - [ - 1841, - 1 - ] - ], - "doc": "Public: Select the word containing each cursor. " - } - }, - "1841": { - "36": { - "name": "selectToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1841, - 36 - ], - [ - 1848, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " - } - }, - "1848": { - "40": { - "name": "selectToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1848, - 40 - ], - [ - 1856, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " - } - }, - "1856": { - "16": { - "name": "selectMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1856, - 16 - ], - [ - 1863, - 1 - ] - ], - "doc": " Public: Select the range of the given marker if it is valid.\n\nmarker - A {DisplayBufferMarker}\n\nReturns the selected {Range} or `undefined` if the marker is invalid. " - } - }, - "1863": { - "16": { - "name": "mergeCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1863, - 16 - ], - [ - 1873, - 1 - ] - ], - "doc": "Private: Merge cursors that have the same screen position " - } - }, - "1873": { - "27": { - "name": "expandSelectionsForward", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1873, - 27 - ], - [ - 1879, - 1 - ] - ], - "doc": "Private: Calls the given function with each selection, then merges selections " - } - }, - "1879": { - "28": { - "name": "expandSelectionsBackward", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1879, - 28 - ], - [ - 1883, - 1 - ] - ], - "doc": " Private: Calls the given function with each selection, then merges selections in the\nreversed orientation " - } - }, - "1883": { - "22": { - "name": "finalizeSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1883, - 22 - ], - [ - 1889, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1889": { - "31": { - "name": "mergeIntersectingSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1889, - 31 - ], - [ - 1910, - 1 - ] - ], - "doc": " Private: Merges intersecting selections. If passed a function, it executes\nthe function with merging suppressed, then merges intersecting selections\nafterward. " - } - }, - "1910": { - "40": { - "name": "preserveCursorPositionOnBufferReload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1910, - 40 - ], - [ - 1919, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1919": { - "14": { - "name": "getGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1919, - 14 - ], - [ - 1926, - 1 - ] - ], - "doc": "Public: Get the current {Grammar} of this editor. " - } - }, - "1926": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 1926, - 14 - ], - [ - 1930, - 1 - ] - ], - "doc": " Public: Set the current {Grammar} of this editor.\n\nAssigning a grammar will cause the editor to re-tokenize based on the new\ngrammar. " - } - }, - "1930": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1930, - 17 - ], - [ - 1933, - 1 - ] - ], - "doc": "Private: Reload the grammar based on the file name. " - } - }, - "1933": { - "20": { - "name": "shouldAutoIndent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1933, - 20 - ], - [ - 1944, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1944": { - "12": { - "name": "transact", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1944, - 12 - ], - [ - 1944, - 39 - ] - ], - "doc": " Public: Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " - } - }, - "1952": { - "20": { - "name": "beginTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1952, - 20 - ], - [ - 1952, - 48 - ] - ], - "doc": " Public: Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " - } - }, - "1958": { - "21": { - "name": "commitTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1958, - 21 - ], - [ - 1958, - 50 - ] - ], - "doc": " Public: Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " - } - }, - "1962": { - "20": { - "name": "abortTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1962, - 20 - ], - [ - 1962, - 48 - ] - ], - "doc": " Public: Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " - } - }, - "1964": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1964, - 11 - ], - [ - 1967, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1967": { - "18": { - "name": "logScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 1967, - 18 - ], - [ - 1967, - 68 - ] - ], - "doc": "~Private~" - } - }, - "1969": { - "22": { - "name": "handleTokenization", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1969, - 22 - ], - [ - 1972, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1972": { - "23": { - "name": "handleGrammarChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1972, - 23 - ], - [ - 1976, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1976": { - "23": { - "name": "handleMarkerCreated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1976, - 23 - ], - [ - 1980, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1980": { - "32": { - "name": "getSelectionMarkerAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1980, - 32 - ], - [ - 1983, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1983": { - "27": { - "name": "getVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1983, - 27 - ], - [ - 1983, - 69 - ] - ], - "doc": "~Private~" - } - }, - "1984": { - "27": { - "name": "setVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "verticalScrollMargin" - ], - "range": [ - [ - 1984, - 27 - ], - [ - 1984, - 112 - ] - ] - } - }, - "1986": { - "29": { - "name": "getHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1986, - 29 - ], - [ - 1986, - 73 - ] - ], - "doc": "~Private~" - } - }, - "1987": { - "29": { - "name": "setHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "horizontalScrollMargin" - ], - "range": [ - [ - 1987, - 29 - ], - [ - 1987, - 120 - ] - ] - } - }, - "1989": { - "25": { - "name": "getLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1989, - 25 - ], - [ - 1989, - 65 - ] - ], - "doc": "~Private~" - } - }, - "1990": { - "25": { - "name": "setLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeightInPixels" - ], - "range": [ - [ - 1990, - 25 - ], - [ - 1990, - 104 - ] - ] - } - }, - "1992": { - "29": { - "name": "batchCharacterMeasurement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1992, - 29 - ], - [ - 1992, - 80 - ] - ], - "doc": "~Private~" - } - }, - "1994": { - "22": { - "name": "getScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char" - ], - "range": [ - [ - 1994, - 22 - ], - [ - 1994, - 94 - ] - ], - "doc": "~Private~" - } - }, - "1995": { - "22": { - "name": "setScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char", - "width" - ], - "range": [ - [ - 1995, - 22 - ], - [ - 1995, - 108 - ] - ] - } - }, - "1997": { - "23": { - "name": "getScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames" - ], - "range": [ - [ - 1997, - 23 - ], - [ - 1997, - 84 - ] - ], - "doc": "~Private~" - } - }, - "1999": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1999, - 25 - ], - [ - 1999, - 65 - ] - ], - "doc": "~Private~" - } - }, - "2001": { - "23": { - "name": "getDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2001, - 23 - ], - [ - 2001, - 61 - ] - ], - "doc": "~Private~" - } - }, - "2002": { - "23": { - "name": "setDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultCharWidth" - ], - "range": [ - [ - 2002, - 23 - ], - [ - 2002, - 96 - ] - ] - } - }, - "2004": { - "13": { - "name": "setHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "height" - ], - "range": [ - [ - 2004, - 13 - ], - [ - 2004, - 56 - ] - ], - "doc": "~Private~" - } - }, - "2005": { - "13": { - "name": "getHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2005, - 13 - ], - [ - 2005, - 41 - ] - ] - } - }, - "2007": { - "19": { - "name": "getClientHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2007, - 19 - ], - [ - 2007, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2009": { - "12": { - "name": "setWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width" - ], - "range": [ - [ - 2009, - 12 - ], - [ - 2009, - 52 - ] - ], - "doc": "~Private~" - } - }, - "2010": { - "12": { - "name": "getWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2010, - 12 - ], - [ - 2010, - 39 - ] - ] - } - }, - "2012": { - "16": { - "name": "getScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2012, - 16 - ], - [ - 2012, - 47 - ] - ], - "doc": "~Private~" - } - }, - "2013": { - "16": { - "name": "setScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 2013, - 16 - ], - [ - 2013, - 68 - ] - ] - } - }, - "2015": { - "19": { - "name": "getScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2015, - 19 - ], - [ - 2015, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2016": { - "19": { - "name": "setScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 2016, - 19 - ], - [ - 2016, - 80 - ] - ] - } - }, - "2018": { - "17": { - "name": "getScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2018, - 17 - ], - [ - 2018, - 49 - ] - ], - "doc": "~Private~" - } - }, - "2019": { - "17": { - "name": "setScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 2019, - 17 - ], - [ - 2019, - 72 - ] - ] - } - }, - "2021": { - "18": { - "name": "getScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2021, - 18 - ], - [ - 2021, - 51 - ] - ], - "doc": "~Private~" - } - }, - "2022": { - "18": { - "name": "setScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 2022, - 18 - ], - [ - 2022, - 76 - ] - ] - } - }, - "2024": { - "19": { - "name": "getScrollHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2024, - 19 - ], - [ - 2024, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2025": { - "18": { - "name": "getScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollWidth" - ], - "range": [ - [ - 2025, - 18 - ], - [ - 2025, - 76 - ] - ] - } - }, - "2027": { - "22": { - "name": "getVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2027, - 22 - ], - [ - 2027, - 59 - ] - ], - "doc": "~Private~" - } - }, - "2029": { - "29": { - "name": "intersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 2029, - 29 - ], - [ - 2029, - 108 - ] - ], - "doc": "~Private~" - } - }, - "2031": { - "38": { - "name": "selectionIntersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 2031, - 38 - ], - [ - 2031, - 112 - ] - ], - "doc": "~Private~" - } - }, - "2033": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 2033, - 34 - ], - [ - 2033, - 114 - ] - ], - "doc": "~Private~" - } - }, - "2035": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 2035, - 34 - ], - [ - 2035, - 114 - ] - ], - "doc": "~Private~" - } - }, - "2037": { - "34": { - "name": "screenPositionForPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 2037, - 34 - ], - [ - 2037, - 112 - ] - ], - "doc": "~Private~" - } - }, - "2039": { - "27": { - "name": "pixelRectForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 2039, - 27 - ], - [ - 2039, - 94 - ] - ], - "doc": "~Private~" - } - }, - "2041": { - "23": { - "name": "scrollToScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 2041, - 23 - ], - [ - 2041, - 104 - ] - ], - "doc": "~Private~" - } - }, - "2043": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 2043, - 26 - ], - [ - 2043, - 116 - ] - ], - "doc": "~Private~" - } - }, - "2045": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 2045, - 26 - ], - [ - 2045, - 116 - ] - ], - "doc": "~Private~" - } - }, - "2047": { - "26": { - "name": "horizontallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2047, - 26 - ], - [ - 2047, - 67 - ] - ], - "doc": "~Private~" - } - }, - "2049": { - "24": { - "name": "verticallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2049, - 24 - ], - [ - 2049, - 63 - ] - ], - "doc": "~Private~" - } - }, - "2051": { - "32": { - "name": "getHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2051, - 32 - ], - [ - 2051, - 79 - ] - ], - "doc": "~Private~" - } - }, - "2052": { - "32": { - "name": "setHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "height" - ], - "range": [ - [ - 2052, - 32 - ], - [ - 2052, - 94 - ] - ] - } - }, - "2054": { - "29": { - "name": "getVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2054, - 29 - ], - [ - 2054, - 73 - ] - ], - "doc": "~Private~" - } - }, - "2055": { - "29": { - "name": "setVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width" - ], - "range": [ - [ - 2055, - 29 - ], - [ - 2055, - 86 - ] - ] - } - }, - "2058": { - "12": { - "name": "joinLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2058, - 12 - ], - [ - 2060, - 16 - ] - ], - "doc": "Deprecated: Call {::joinLines} instead. " - } - } - }, - "exports": 138 - }, - "./build/src/fold.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Range", - "exportsProperty": "Range" - } - }, - "7": { - "0": { - "type": "class", - "name": "Fold", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 8, - 6 - ], - [ - 9, - 17 - ], - [ - 10, - 10 - ], - [ - 12, - 15 - ], - [ - 20, - 22 - ], - [ - 27, - 11 - ], - [ - 35, - 18 - ], - [ - 48, - 21 - ], - [ - 53, - 15 - ], - [ - 57, - 13 - ], - [ - 61, - 11 - ], - [ - 67, - 21 - ], - [ - 75, - 21 - ], - [ - 78, - 23 - ], - [ - 82, - 13 - ] - ], - "doc": " Private: Represents a fold that collapses multiple buffer lines into a single\nline on the screen.\n\nTheir creation is managed by the {DisplayBuffer}. ", - "range": [ - [ - 7, - 0 - ], - [ - 84, - 26 - ] - ] - } - }, - "8": { - "6": { - "name": "id", - "type": "primitive", - "range": [ - [ - 8, - 6 - ], - [ - 8, - 9 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "17": { - "name": "displayBuffer", - "type": "primitive", - "range": [ - [ - 9, - 17 - ], - [ - 9, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "10": { - "name": "marker", - "type": "primitive", - "range": [ - [ - 10, - 10 - ], - [ - 10, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 20, - 1 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "22": { - "name": "isInsideLargerFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 22 - ], - [ - 27, - 1 - ] - ], - "doc": "Private: Returns whether this fold is contained within another fold " - } - }, - "27": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 11 - ], - [ - 35, - 1 - ] - ], - "doc": "Private: Destroys this fold " - } - }, - "35": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 35, - 18 - ], - [ - 48, - 1 - ] - ], - "doc": " Private: Returns the fold's {Range} in buffer coordinates\n\nincludeNewline - A {Boolean} which, if `true`, includes the trailing newline\n\nReturns a {Range}. " - } - }, - "48": { - "21": { - "name": "getBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 21 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "15": { - "name": "getStartRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 15 - ], - [ - 57, - 1 - ] - ], - "doc": "Private: Returns the fold's start row as a {Number}. " - } - }, - "57": { - "13": { - "name": "getEndRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 13 - ], - [ - 61, - 1 - ] - ], - "doc": "Private: Returns the fold's end row as a {Number}. " - } - }, - "61": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 11 - ], - [ - 67, - 1 - ] - ], - "doc": "Private: Returns a {String} representation of the fold. " - } - }, - "67": { - "21": { - "name": "getBufferRowCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 21 - ], - [ - 75, - 1 - ] - ], - "doc": " Private: Retrieves the number of buffer rows spanned by the fold.\n\nReturns a {Number}. " - } - }, - "75": { - "21": { - "name": "isContainedByFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fold" - ], - "range": [ - [ - 75, - 21 - ], - [ - 78, - 1 - ] - ], - "doc": " Private: Identifies if a fold is nested within a fold.\n\nfold - A {Fold} to check\n\nReturns a {Boolean}. " - } - }, - "78": { - "23": { - "name": "updateDisplayBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 78, - 23 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 13 - ], - [ - 84, - 26 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 7 - }, - "./build/src/git.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true, - "name": "join", - "exportsProperty": "join" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "5": { - "11": { - "name": "GitUtils", - "type": "import", - "range": [ - [ - 5, - 11 - ], - [ - 5, - 29 - ] - ], - "bindingType": "variable", - "module": "git-utils@^2.1.3" - } - }, - "7": { - "7": { - "name": "Task", - "type": "import", - "range": [ - [ - 7, - 7 - ], - [ - 7, - 22 - ] - ], - "bindingType": "variable", - "path": "./task" - } - }, - "40": { - "0": { - "type": "class", - "name": "Git", - "bindingType": "exports", - "classProperties": [ - [ - 52, - 9 - ], - [ - 59, - 11 - ] - ], - "prototypeProperties": [ - [ - 66, - 15 - ], - [ - 89, - 21 - ], - [ - 97, - 11 - ], - [ - 109, - 11 - ], - [ - 117, - 16 - ], - [ - 120, - 11 - ], - [ - 124, - 23 - ], - [ - 132, - 17 - ], - [ - 149, - 17 - ], - [ - 152, - 20 - ], - [ - 155, - 18 - ], - [ - 158, - 15 - ], - [ - 161, - 13 - ], - [ - 165, - 19 - ], - [ - 169, - 14 - ], - [ - 181, - 16 - ], - [ - 196, - 16 - ], - [ - 209, - 21 - ], - [ - 222, - 16 - ], - [ - 231, - 15 - ], - [ - 247, - 22 - ], - [ - 265, - 16 - ], - [ - 276, - 18 - ], - [ - 282, - 16 - ], - [ - 291, - 21 - ], - [ - 298, - 22 - ], - [ - 310, - 17 - ], - [ - 318, - 23 - ], - [ - 330, - 37 - ], - [ - 338, - 23 - ], - [ - 342, - 13 - ], - [ - 346, - 17 - ] - ], - "doc": " Public: Represents the underlying git operations performed by Atom.\n\nThis class shouldn't be instantiated directly but instead by accessing the\n`atom.project` global and calling `getRepo()`. Note that this will only be\navailable when the project is backed by a Git repository.\n\nThis class handles submodules automatically by taking a `path` argument to many\nof the methods. This `path` argument will determine which underlying\nrepository is used.\n\nFor a repository with submodules this would have the following outcome:\n\n```coffee\nrepo = atom.project.getRepo()\nrepo.getShortHead() # 'master'\nrepo.getShortHead('vendor/path/to/a/submodule') # 'dead1234'\n```\n\n## Example\n\n```coffeescript\ngit = atom.project.getRepo()\nconsole.log git.getOriginUrl()\n```\n\n## Requiring in packages\n\n```coffee\n {Git} = require 'atom'\n``` ", - "range": [ - [ - 40, - 0 - ], - [ - 364, - 55 - ] - ] - } - }, - "52": { - "9": { - "name": "open", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "path", - "options" - ], - "range": [ - [ - 52, - 9 - ], - [ - 59, - 1 - ] - ], - "doc": " Public: Creates a new Git instance.\n\npath - The path to the Git repository to open.\noptions - An object with the following keys (default: {}):\n :refreshOnWindowFocus - `true` to refresh the index and statuses when the\n window is focused.\n\nReturns a Git instance or null if the repository could not be opened. " - } - }, - "59": { - "11": { - "name": "exists", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 59, - 11 - ], - [ - 66, - 1 - ] - ], - "doc": "~Private~" - } - }, - "66": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "options" - ], - "range": [ - [ - 66, - 15 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "subscribeToBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer" - ], - "range": [ - [ - 89, - 21 - ], - [ - 97, - 1 - ] - ], - "doc": "Private: Subscribes to buffer events. " - } - }, - "97": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 97, - 11 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Destroy this `Git` object. This destroys any tasks and subscriptions\nand releases the underlying libgit2 repository handle. " - } - }, - "109": { - "11": { - "name": "getRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 109, - 11 - ], - [ - 117, - 1 - ] - ], - "doc": "Private: Returns the corresponding {Repository} " - } - }, - "117": { - "16": { - "name": "refreshIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 16 - ], - [ - 117, - 43 - ] - ], - "doc": " Private: Reread the index to update any values that have changed since the\nlast time the index was read. " - } - }, - "120": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 120, - 11 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Returns the {String} path of the repository. " - } - }, - "124": { - "23": { - "name": "getWorkingDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 23 - ], - [ - 124, - 57 - ] - ], - "doc": "Public: Returns the {String} working directory path of the repository. " - } - }, - "132": { - "17": { - "name": "getPathStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 132, - 17 - ], - [ - 149, - 1 - ] - ], - "doc": " Public: Get the status of a single path in the repository.\n\npath - A {String} repository-relative path.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " - } - }, - "149": { - "17": { - "name": "isPathIgnored", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 149, - 17 - ], - [ - 149, - 65 - ] - ], - "doc": " Public: Is the given path ignored?\n\nReturns a {Boolean}. " - } - }, - "152": { - "20": { - "name": "isStatusModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 152, - 20 - ], - [ - 152, - 66 - ] - ], - "doc": "Public: Returns true if the given status indicates modification. " - } - }, - "155": { - "18": { - "name": "isPathModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 155, - 18 - ], - [ - 155, - 66 - ] - ], - "doc": "Public: Returns true if the given path is modified. " - } - }, - "158": { - "15": { - "name": "isStatusNew", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 158, - 15 - ], - [ - 158, - 56 - ] - ], - "doc": "Public: Returns true if the given status indicates a new path. " - } - }, - "161": { - "13": { - "name": "isPathNew", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 161, - 13 - ], - [ - 161, - 56 - ] - ], - "doc": "Public: Returns true if the given path is new. " - } - }, - "165": { - "19": { - "name": "isProjectAtRoot", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 19 - ], - [ - 169, - 1 - ] - ], - "doc": " Public: Returns true if at the root, false if in a subfolder of the\nrepository. " - } - }, - "169": { - "14": { - "name": "relativize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 169, - 14 - ], - [ - 169, - 50 - ] - ], - "doc": "Public: Makes a path relative to the repository's working directory. " - } - }, - "181": { - "16": { - "name": "getShortHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 181, - 16 - ], - [ - 181, - 54 - ] - ], - "doc": " Public: Retrieves a shortened version of the HEAD reference value.\n\nThis removes the leading segments of `refs/heads`, `refs/tags`, or\n`refs/remotes`. It also shortens the SHA-1 of a detached `HEAD` to 7\ncharacters.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository contains submodules.\n\nReturns a {String}. " - } - }, - "196": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 196, - 16 - ], - [ - 209, - 1 - ] - ], - "doc": " Public: Restore the contents of a path in the working directory and index\nto the version at `HEAD`.\n\nThis is essentially the same as running:\n\n```\ngit reset HEAD -- \ngit checkout HEAD -- \n```\n\npath - The {String} path to checkout.\n\nReturns a {Boolean} that's true if the method was successful. " - } - }, - "209": { - "21": { - "name": "checkoutReference", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "create" - ], - "range": [ - [ - 209, - 21 - ], - [ - 222, - 1 - ] - ], - "doc": " Public: Checks out a branch in your repository.\n\nreference - The String reference to checkout\ncreate - A Boolean value which, if true creates the new reference if it\n doesn't exist.\n\nReturns a Boolean that's true if the method was successful. " - } - }, - "222": { - "16": { - "name": "getDiffStats", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 222, - 16 - ], - [ - 231, - 1 - ] - ], - "doc": " Public: Retrieves the number of lines added and removed to a path.\n\nThis compares the working directory contents of the path to the `HEAD`\nversion.\n\npath - The {String} path to check.\n\nReturns an {Object} with the following keys:\n :added - The {Number} of added lines.\n :deleted - The {Number} of deleted lines. " - } - }, - "231": { - "15": { - "name": "isSubmodule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 231, - 15 - ], - [ - 247, - 1 - ] - ], - "doc": " Public: Is the given path a submodule in the repository?\n\npath - The {String} path to check.\n\nReturns a {Boolean}. " - } - }, - "247": { - "22": { - "name": "getDirectoryStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "directoryPath" - ], - "range": [ - [ - 247, - 22 - ], - [ - 265, - 1 - ] - ], - "doc": " Public: Get the status of a directory in the repository's working directory.\n\npath - The {String} path to check.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " - } - }, - "265": { - "16": { - "name": "getLineDiffs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "text" - ], - "range": [ - [ - 265, - 16 - ], - [ - 276, - 1 - ] - ], - "doc": " Public: Retrieves the line diffs comparing the `HEAD` version of the given\npath and the given text.\n\npath - The {String} path relative to the repository.\ntext - The {String} to compare against the `HEAD` contents\n\nReturns an {Array} of hunk {Object}s with the following keys:\n :oldStart - The line {Number} of the old hunk.\n :newStart - The line {Number} of the new hunk.\n :oldLines - The {Number} of lines in the old hunk.\n :newLines - The {Number} of lines in the new hunk " - } - }, - "276": { - "18": { - "name": "getConfigValue", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "key", - "path" - ], - "range": [ - [ - 276, - 18 - ], - [ - 276, - 66 - ] - ], - "doc": " Public: Returns the git configuration value specified by the key.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " - } - }, - "282": { - "16": { - "name": "getOriginUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 282, - 16 - ], - [ - 282, - 67 - ] - ], - "doc": " Public: Returns the origin url of the repository.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " - } - }, - "291": { - "21": { - "name": "getUpstreamBranch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 291, - 21 - ], - [ - 291, - 64 - ] - ], - "doc": " Public: Returns the upstream branch for the current HEAD, or null if there\nis no upstream branch for the current HEAD.\n\npath - An optional {String} path in the repo to get this information for,\n only needed if the repository contains submodules.\n\nReturns a {String} branch name such as `refs/remotes/origin/master`. " - } - }, - "298": { - "22": { - "name": "getReferenceTarget", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "path" - ], - "range": [ - [ - 298, - 22 - ], - [ - 310, - 1 - ] - ], - "doc": " Public: Returns the current SHA for the given reference.\n\nreference - The {String} reference to get the target of.\npath - An optional {String} path in the repo to get the reference target\n for. Only needed if the repository contains submodules. " - } - }, - "310": { - "17": { - "name": "getReferences", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 310, - 17 - ], - [ - 310, - 56 - ] - ], - "doc": " Public: Gets all the local and remote references.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :heads - An {Array} of head reference names.\n :remotes - An {Array} of remote reference names.\n :tags - An {Array} of tag reference names. " - } - }, - "318": { - "23": { - "name": "getAheadBehindCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "path" - ], - "range": [ - [ - 318, - 23 - ], - [ - 330, - 1 - ] - ], - "doc": " Public: Returns the number of commits behind the current branch is from the\nits upstream remote branch.\n\nreference - The {String} branch reference name.\npath - The {String} path in the repository to get this information for,\n only needed if the repository contains submodules. " - } - }, - "330": { - "37": { - "name": "getCachedUpstreamAheadBehindCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 330, - 37 - ], - [ - 338, - 1 - ] - ], - "doc": " Public: Get the cached ahead/behind commit counts for the current branch's\nupstream branch.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :ahead - The {Number} of commits ahead.\n :behind - The {Number} of commits behind. " - } - }, - "338": { - "23": { - "name": "getCachedPathStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 338, - 23 - ], - [ - 342, - 1 - ] - ], - "doc": " Public: Get the cached status for the given path.\n\npath - A {String} path in the repository, relative or absolute.\n\nReturns a status {Number} or null if the path is not in the cache. " - } - }, - "342": { - "13": { - "name": "hasBranch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "branch" - ], - "range": [ - [ - 342, - 13 - ], - [ - 342, - 68 - ] - ], - "doc": "Public: Returns true if the given branch exists. " - } - }, - "346": { - "17": { - "name": "refreshStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 17 - ], - [ - 364, - 55 - ] - ], - "doc": " Private: Refreshes the current git status in an outside process and asynchronously\nupdates the relevant properties. " - } - } - }, - "exports": 40 - }, - "./build/src/gutter-component.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork@^0.11.1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork@^1.0.0", - "name": "div", - "exportsProperty": "div" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqual", - "exportsProperty": "isEqual" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 29 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "32": { - "type": "import", - "range": [ - [ - 3, - 32 - ], - [ - 3, - 45 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "multiplyString", - "exportsProperty": "multiplyString" - }, - "48": { - "type": "import", - "range": [ - [ - 3, - 48 - ], - [ - 3, - 54 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "toArray", - "exportsProperty": "toArray" - } - }, - "4": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 4, - 13 - ], - [ - 4, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "5": { - "18": { - "name": "SubscriberMixin", - "type": "import", - "range": [ - [ - 5, - 18 - ], - [ - 5, - 45 - ] - ], - "bindingType": "variable", - "path": "./subscriber-mixin" - } - }, - "7": { - "13": { - "name": "WrapperDiv", - "type": "function", - "range": [ - [ - 7, - 13 - ], - [ - 7, - 41 - ] - ] - } - }, - "10": { - "18": { - "name": "GutterComponent", - "type": "function", - "range": [ - [ - 10, - 18 - ], - [ - 227, - 39 - ] - ] - } - }, - "11": { - "15": { - "name": "'GutterComponent'", - "type": "primitive", - "range": [ - [ - 11, - 15 - ], - [ - 11, - 31 - ] - ] - } - }, - "12": { - "10": { - "type": "primitive", - "range": [ - [ - 12, - 10 - ], - [ - 12, - 26 - ] - ] - } - }, - "14": { - "23": { - "type": "primitive", - "range": [ - [ - 14, - 23 - ], - [ - 14, - 26 - ] - ] - } - }, - "15": { - "17": { - "type": "primitive", - "range": [ - [ - 15, - 17 - ], - [ - 15, - 20 - ] - ] - } - }, - "17": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 10 - ], - [ - 29, - 1 - ] - ], - "doc": null - } - }, - "29": { - "16": { - "name": "getTransform", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 16 - ], - [ - 37, - 1 - ] - ], - "doc": null - } - }, - "37": { - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 37, - 22 - ], - [ - 43, - 1 - ] - ], - "doc": null - } - }, - "43": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 21 - ], - [ - 50, - 1 - ] - ], - "doc": null - } - }, - "50": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 50, - 25 - ], - [ - 64, - 1 - ] - ], - "doc": null - } - }, - "64": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "oldProps" - ], - "range": [ - [ - 64, - 22 - ], - [ - 74, - 1 - ] - ], - "doc": null - } - }, - "74": { - "24": { - "name": "clearScreenRowCaches", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 24 - ], - [ - 80, - 1 - ] - ], - "doc": null - } - }, - "80": { - "25": { - "name": "appendDummyLineNumber", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 80, - 25 - ], - [ - 86, - 1 - ] - ], - "doc": null - } - }, - "86": { - "25": { - "name": "updateDummyLineNumber", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 25 - ], - [ - 89, - 1 - ] - ], - "doc": null - } - }, - "89": { - "21": { - "name": "updateLineNumbers", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 93, - 1 - ] - ], - "doc": null - } - }, - "93": { - "40": { - "name": "appendOrUpdateVisibleLineNumberNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 93, - 40 - ], - [ - 138, - 1 - ] - ], - "doc": null - } - }, - "138": { - "25": { - "name": "removeLineNumberNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberIdsToPreserve" - ], - "range": [ - [ - 138, - 25 - ], - [ - 150, - 1 - ] - ], - "doc": null - } - }, - "150": { - "23": { - "name": "buildLineNumberHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bufferRow", - "softWrapped", - "maxLineNumberDigits", - "screenRow" - ], - "range": [ - [ - 150, - 23 - ], - [ - 169, - 1 - ] - ], - "doc": null - } - }, - "169": { - "28": { - "name": "buildLineNumberInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bufferRow", - "softWrapped", - "maxLineNumberDigits" - ], - "range": [ - [ - 169, - 28 - ], - [ - 179, - 1 - ] - ], - "doc": null - } - }, - "179": { - "24": { - "name": "updateLineNumberNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberId", - "bufferRow", - "screenRow", - "softWrapped" - ], - "range": [ - [ - 179, - 24 - ], - [ - 208, - 1 - ] - ], - "doc": null - } - }, - "208": { - "17": { - "name": "hasDecoration", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "decorations", - "decoration" - ], - "range": [ - [ - 208, - 17 - ], - [ - 211, - 1 - ] - ], - "doc": null - } - }, - "211": { - "21": { - "name": "hasLineNumberNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberId" - ], - "range": [ - [ - 211, - 21 - ], - [ - 214, - 1 - ] - ], - "doc": null - } - }, - "214": { - "30": { - "name": "lineNumberNodeForScreenRow", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 214, - 30 - ], - [ - 217, - 1 - ] - ], - "doc": null - } - }, - "217": { - "11": { - "name": "onClick", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 217, - 11 - ], - [ - 227, - 39 - ] - ], - "doc": null - } - } - }, - "exports": 10 - }, - "./build/src/gutter-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "10": { - "type": "import", - "range": [ - [ - 0, - 10 - ], - [ - 0, - 11 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - }, - "14": { - "type": "import", - "range": [ - [ - 0, - 14 - ], - [ - 0, - 16 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$$", - "exportsProperty": "$$$" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Range", - "exportsProperty": "Range" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "8": { - "0": { - "type": "class", - "name": "GutterView", - "bindingType": "exports", - "classProperties": [ - [ - 9, - 12 - ] - ], - "prototypeProperties": [ - [ - 13, - 18 - ], - [ - 14, - 17 - ], - [ - 16, - 14 - ], - [ - 19, - 15 - ], - [ - 28, - 16 - ], - [ - 31, - 21 - ], - [ - 53, - 17 - ], - [ - 56, - 13 - ], - [ - 62, - 22 - ], - [ - 68, - 25 - ], - [ - 74, - 33 - ], - [ - 83, - 24 - ], - [ - 91, - 22 - ], - [ - 101, - 27 - ], - [ - 115, - 18 - ], - [ - 126, - 23 - ], - [ - 135, - 21 - ], - [ - 169, - 23 - ], - [ - 175, - 22 - ], - [ - 179, - 22 - ], - [ - 190, - 21 - ], - [ - 194, - 25 - ], - [ - 221, - 25 - ], - [ - 235, - 24 - ], - [ - 242, - 20 - ], - [ - 250, - 18 - ] - ], - "doc": " Private: Represents the portion of the {EditorView} containing row numbers.\n\nThe gutter also indicates if rows are folded. ", - "range": [ - [ - 8, - 0 - ], - [ - 274, - 29 - ] - ] - } - }, - "9": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 12 - ], - [ - 13, - 1 - ] - ] - } - }, - "13": { - "18": { - "name": "firstScreenRow", - "type": "primitive", - "range": [ - [ - 13, - 18 - ], - [ - 13, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "17": { - "name": "lastScreenRow", - "type": "primitive", - "range": [ - [ - 14, - 17 - ], - [ - 14, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 14 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 19, - 15 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 16 - ], - [ - 31, - 1 - ] - ], - "doc": "~Private~" - } - }, - "31": { - "21": { - "name": "handleMouseEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 31, - 21 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "17": { - "name": "getEditorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 17 - ], - [ - 56, - 1 - ] - ], - "doc": " Private: Retrieves the containing {EditorView}.\n\nReturns an {EditorView}. " - } - }, - "56": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 13 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "22": { - "name": "setShowLineNumbers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showLineNumbers" - ], - "range": [ - [ - 62, - 22 - ], - [ - 68, - 1 - ] - ], - "doc": " Private: Defines whether to show the gutter or not.\n\nshowLineNumbers - A {Boolean} which, if `false`, hides the gutter " - } - }, - "68": { - "25": { - "name": "getLineNumberElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 25 - ], - [ - 74, - 1 - ] - ], - "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " - } - }, - "74": { - "33": { - "name": "getLineNumberElementsForClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 74, - 33 - ], - [ - 83, - 1 - ] - ], - "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " - } - }, - "83": { - "24": { - "name": "getLineNumberElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 83, - 24 - ], - [ - 91, - 1 - ] - ], - "doc": " Private: Get a single line-number div.\n\n* bufferRow: 0 based line number\n\nReturns a list of {HTMLElement}s that correspond to the bufferRow. More than\none in the list indicates a wrapped line. " - } - }, - "91": { - "22": { - "name": "addClassToAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 91, - 22 - ], - [ - 101, - 1 - ] - ], - "doc": " Private: Add a class to all line-number divs.\n\n* klass: string class name\n\nReturns true if the class was added to any lines " - } - }, - "101": { - "27": { - "name": "removeClassFromAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 101, - 27 - ], - [ - 115, - 1 - ] - ], - "doc": " Private: Remove a class from all line-number divs.\n\n* klass: string class name. Can only be one class name. i.e. 'my-class'\n\nReturns true if the class was removed from any lines " - } - }, - "115": { - "18": { - "name": "addClassToLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "klass" - ], - "range": [ - [ - 115, - 18 - ], - [ - 126, - 1 - ] - ], - "doc": " Private: Add a class to a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was added to " - } - }, - "126": { - "23": { - "name": "removeClassFromLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "klass" - ], - "range": [ - [ - 126, - 23 - ], - [ - 135, - 1 - ] - ], - "doc": " Private: Remove a class from a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was removed from " - } - }, - "135": { - "21": { - "name": "updateLineNumbers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "changes", - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 135, - 21 - ], - [ - 169, - 1 - ] - ], - "doc": "~Private~" - } - }, - "169": { - "23": { - "name": "prependLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElements" - ], - "range": [ - [ - 169, - 23 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "22": { - "name": "appendLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElements" - ], - "range": [ - [ - 175, - 22 - ], - [ - 179, - 1 - ] - ], - "doc": "~Private~" - } - }, - "179": { - "22": { - "name": "removeLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "numberOfElements" - ], - "range": [ - [ - 179, - 22 - ], - [ - 190, - 1 - ] - ], - "doc": "~Private~" - } - }, - "190": { - "21": { - "name": "buildLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 190, - 21 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "25": { - "name": "buildLineElementsHtml", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 194, - 25 - ], - [ - 221, - 1 - ] - ], - "doc": "~Private~" - } - }, - "221": { - "25": { - "name": "updateFoldableClasses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "changes" - ], - "range": [ - [ - 221, - 25 - ], - [ - 235, - 1 - ] - ], - "doc": " Private: Called to update the 'foldable' class of line numbers when there's\na change to the display buffer that doesn't regenerate all the line numbers\nanyway. " - } - }, - "235": { - "24": { - "name": "removeLineHighlights", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 235, - 24 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "20": { - "name": "addLineHighlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "emptySelection" - ], - "range": [ - [ - 242, - 20 - ], - [ - 250, - 1 - ] - ], - "doc": "~Private~" - } - }, - "250": { - "18": { - "name": "highlightLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 250, - 18 - ], - [ - 274, - 29 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "./build/src/highlight-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork@^0.11.1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork@^1.0.0", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "21": { - "name": "HighlightComponent", - "type": "function", - "range": [ - [ - 5, - 21 - ], - [ - 89, - 110 - ] - ] - } - }, - "6": { - "15": { - "name": "'HighlightComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 34 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 20, - 1 - ] - ], - "doc": null - } - }, - "20": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 21 - ], - [ - 27, - 1 - ] - ], - "doc": null - } - }, - "27": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 24 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "23": { - "name": "startFlashAnimation", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 23 - ], - [ - 42, - 1 - ] - ], - "doc": null - } - }, - "42": { - "27": { - "name": "renderSingleLineRegions", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 27 - ], - [ - 53, - 1 - ] - ], - "doc": null - } - }, - "53": { - "26": { - "name": "renderMultiLineRegions", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 26 - ], - [ - 88, - 1 - ] - ], - "doc": null - } - }, - "88": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 88, - 25 - ], - [ - 89, - 110 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "./build/src/highlights-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork@^0.11.1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork@^1.0.0", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "3": { - "21": { - "name": "HighlightComponent", - "type": "import", - "range": [ - [ - 3, - 21 - ], - [ - 3, - 51 - ] - ], - "bindingType": "variable", - "path": "./highlight-component" - } - }, - "6": { - "22": { - "name": "HighlightsComponent", - "type": "function", - "range": [ - [ - 6, - 22 - ], - [ - 24, - 148 - ] - ] - } - }, - "7": { - "15": { - "name": "'HighlightsComponent'", - "type": "primitive", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 35 - ] - ] - } - }, - "9": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 10 - ], - [ - 13, - 1 - ] - ], - "doc": null - } - }, - "13": { - "20": { - "name": "renderHighlights", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 20 - ], - [ - 23, - 1 - ] - ], - "doc": null - } - }, - "23": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 23, - 25 - ], - [ - 24, - 148 - ] - ], - "doc": null - } - } - }, - "exports": 6 - }, - "./build/src/input-component.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "last", - "exportsProperty": "last" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 13 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqual", - "exportsProperty": "isEqual" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork@^0.11.1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork@^1.0.0", - "name": "input", - "exportsProperty": "input" - } - }, - "5": { - "17": { - "name": "InputComponent", - "type": "function", - "range": [ - [ - 5, - 17 - ], - [ - 43, - 25 - ] - ] - } - }, - "6": { - "15": { - "name": "'InputComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 30 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 13, - 1 - ] - ], - "doc": null - } - }, - "13": { - "19": { - "name": "getInitialState", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 19 - ], - [ - 16, - 1 - ] - ], - "doc": null - } - }, - "16": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 21 - ], - [ - 21, - 1 - ] - ], - "doc": null - } - }, - "21": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 22 - ], - [ - 27, - 1 - ] - ], - "doc": null - } - }, - "27": { - "27": { - "name": "isPressAndHoldCharacter", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "char" - ], - "range": [ - [ - 27, - 27 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 30, - 25 - ], - [ - 33, - 1 - ] - ], - "doc": null - } - }, - "33": { - "11": { - "name": "onPaste", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 33, - 11 - ], - [ - 36, - 1 - ] - ], - "doc": null - } - }, - "36": { - "11": { - "name": "onFocus", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 36, - 11 - ], - [ - 39, - 1 - ] - ], - "doc": null - } - }, - "39": { - "10": { - "name": "onBlur", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 39, - 10 - ], - [ - 42, - 1 - ] - ], - "doc": null - } - }, - "42": { - "9": { - "name": "focus", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 9 - ], - [ - 43, - 25 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "./build/src/keymap-extensions.coffee": { - "objects": { - "0": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 0, - 5 - ], - [ - 0, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "16": { - "name": "KeymapManager", - "type": "import", - "range": [ - [ - 2, - 16 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "atom-keymap@^1.0.2" - } - }, - "3": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1.0.2" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 6 - ] - ], - "bindingType": "variable", - "module": "space-pen@3.2.0", - "name": "jQuery", - "exportsProperty": "jQuery" - } - }, - "6": { - "36": { - "name": "KeymapManager.prototype.loadBundledKeymaps", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 36 - ], - [ - 9, - 0 - ] - ], - "doc": null - } - }, - "10": { - "35": { - "name": "KeymapManager.prototype.getUserKeymapPath", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 35 - ], - [ - 15, - 0 - ] - ], - "doc": null - } - }, - "16": { - "32": { - "name": "KeymapManager.prototype.loadUserKeymap", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 32 - ], - [ - 22, - 74 - ] - ], - "doc": null - } - }, - "23": { - "32": { - "name": "jQuery.Event.prototype.abortKeyBinding", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 23, - 32 - ], - [ - 25, - 0 - ] - ], - "doc": null - } - } - }, - "exports": 26 - }, - "./build/src/language-mode.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 10 - ] - ], - "bindingType": "variable", - "module": "oniguruma@^3.0.3", - "name": "OnigRegExp", - "exportsProperty": "OnigRegExp" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "6": { - "0": { - "type": "class", - "name": "LanguageMode", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 15 - ], - [ - 16, - 11 - ], - [ - 19, - 33 - ], - [ - 30, - 35 - ], - [ - 100, - 11 - ], - [ - 107, - 13 - ], - [ - 114, - 24 - ], - [ - 128, - 17 - ], - [ - 141, - 30 - ], - [ - 146, - 33 - ], - [ - 161, - 34 - ], - [ - 181, - 25 - ], - [ - 186, - 29 - ], - [ - 194, - 32 - ], - [ - 201, - 30 - ], - [ - 208, - 35 - ], - [ - 241, - 31 - ], - [ - 265, - 29 - ], - [ - 274, - 24 - ], - [ - 281, - 23 - ], - [ - 288, - 34 - ], - [ - 308, - 23 - ], - [ - 312, - 32 - ], - [ - 315, - 32 - ], - [ - 318, - 25 - ] - ], - "doc": "~Private~", - "range": [ - [ - 6, - 0 - ], - [ - 319, - 57 - ] - ] - } - }, - "13": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 13, - 15 - ], - [ - 16, - 1 - ] - ], - "doc": " Private: Sets up a `LanguageMode` for the given {Editor}.\n\neditor - The {Editor} to associate with " - } - }, - "16": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 11 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "33": { - "name": "toggleLineCommentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 19, - 33 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "35": { - "name": "toggleLineCommentsForBufferRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 30, - 35 - ], - [ - 100, - 1 - ] - ], - "doc": " Private: Wraps the lines between two rows in comments.\n\nIf the language doesn't have comment, nothing happens.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns an {Array} of the commented {Ranges}. " - } - }, - "100": { - "11": { - "name": "foldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 100, - 11 - ], - [ - 107, - 1 - ] - ], - "doc": "Private: Folds all the foldable lines in the buffer. " - } - }, - "107": { - "13": { - "name": "unfoldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 13 - ], - [ - 114, - 1 - ] - ], - "doc": "Private: Unfolds all the foldable lines in the buffer. " - } - }, - "114": { - "24": { - "name": "foldAllAtIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "indentLevel" - ], - "range": [ - [ - 114, - 24 - ], - [ - 128, - 1 - ] - ], - "doc": " Private: Fold all comment and code blocks at a given indentLevel\n\nindentLevel - A {Number} indicating indentLevel; 0 based. " - } - }, - "128": { - "17": { - "name": "foldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 128, - 17 - ], - [ - 141, - 1 - ] - ], - "doc": " Private: Given a buffer row, creates a fold at it.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns the new {Fold}. " - } - }, - "141": { - "30": { - "name": "rowRangeForFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 141, - 30 - ], - [ - 146, - 1 - ] - ], - "doc": " Private: Find the row range for a fold at a given bufferRow. Will handle comments\nand code.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of the [startRow, endRow]. Returns null if no range. " - } - }, - "146": { - "33": { - "name": "rowRangeForCommentAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 146, - 33 - ], - [ - 161, - 1 - ] - ], - "doc": "~Private~" - } - }, - "161": { - "34": { - "name": "rowRangeForCodeFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 161, - 34 - ], - [ - 181, - 1 - ] - ], - "doc": "~Private~" - } - }, - "181": { - "25": { - "name": "isFoldableAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 181, - 25 - ], - [ - 186, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether the given buffer row starts a\nfoldable row range. Rows that are \"foldable\" have a fold icon next to their\nicon in the gutter in the default configuration. " - } - }, - "186": { - "29": { - "name": "isFoldableCodeAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 186, - 29 - ], - [ - 194, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na a foldable row range due to the code's indentation patterns. " - } - }, - "194": { - "32": { - "name": "isFoldableCommentAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 194, - 32 - ], - [ - 201, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na foldable row range due to being the start of a multi-line comment. " - } - }, - "201": { - "30": { - "name": "isLineCommentedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 201, - 30 - ], - [ - 208, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the line at the given buffer\nrow is a comment. " - } - }, - "208": { - "35": { - "name": "rowRangeForParagraphAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 208, - 35 - ], - [ - 241, - 1 - ] - ], - "doc": " Private: Find a row range for a 'paragraph' around specified bufferRow.\nRight now, a paragraph is a block of text bounded by and empty line or a\nblock of text that is not the same type (comments next to source code). " - } - }, - "241": { - "31": { - "name": "suggestedIndentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 241, - 31 - ], - [ - 265, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns a suggested indentation level.\n\nThe indentation level provided is based on the current {LanguageMode}.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Number}. " - } - }, - "265": { - "29": { - "name": "minIndentLevelForRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 265, - 29 - ], - [ - 274, - 1 - ] - ], - "doc": " Private: Calculate a minimum indent level for a range of lines excluding empty lines.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns a {Number} of the indent level of the block of lines. " - } - }, - "274": { - "24": { - "name": "autoIndentBufferRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 274, - 24 - ], - [ - 281, - 1 - ] - ], - "doc": " Private: Indents all the rows between two buffer row numbers.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at " - } - }, - "281": { - "23": { - "name": "autoIndentBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "options" - ], - "range": [ - [ - 281, - 23 - ], - [ - 288, - 1 - ] - ], - "doc": " Private: Given a buffer row, this indents it.\n\nbufferRow - The row {Number}.\noptions - An options {Object} to pass through to {Editor::setIndentationForBufferRow}. " - } - }, - "288": { - "34": { - "name": "autoDecreaseIndentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 288, - 34 - ], - [ - 308, - 1 - ] - ], - "doc": " Private: Given a buffer row, this decreases the indentation.\n\nbufferRow - The row {Number} " - } - }, - "308": { - "23": { - "name": "getRegexForProperty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "property" - ], - "range": [ - [ - 308, - 23 - ], - [ - 312, - 1 - ] - ], - "doc": "~Private~" - } - }, - "312": { - "32": { - "name": "increaseIndentRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 312, - 32 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "32": { - "name": "decreaseIndentRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 315, - 32 - ], - [ - 318, - 1 - ] - ], - "doc": "~Private~" - } - }, - "318": { - "25": { - "name": "foldEndRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 318, - 25 - ], - [ - 319, - 57 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 6 - }, - "./build/src/less-compile-cache.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "2": { - "12": { - "name": "LessCache", - "type": "import", - "range": [ - [ - 2, - 12 - ], - [ - 2, - 31 - ] - ], - "bindingType": "variable", - "module": "less-cache@0.13.0" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "7": { - "0": { - "type": "class", - "name": "LessCompileCache", - "bindingType": "exports", - "classProperties": [ - [ - 10, - 13 - ] - ], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 29, - 18 - ], - [ - 32, - 8 - ], - [ - 35, - 14 - ], - [ - 38, - 11 - ] - ], - "doc": "Private: {LessCache} wrapper used by {ThemeManager} to read stylesheets. ", - "range": [ - [ - 7, - 0 - ], - [ - 38, - 28 - ] - ] - } - }, - "10": { - "13": { - "name": "cacheDir", - "type": "function", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 71 - ] - ], - "bindingType": "classProperty" - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 29, - 1 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "18": { - "name": "setImportPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "importPaths" - ], - "range": [ - [ - 29, - 18 - ], - [ - 32, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "8": { - "name": "read", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 32, - 8 - ], - [ - 35, - 1 - ] - ], - "doc": "~Private~" - } - }, - "35": { - "14": { - "name": "cssForFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "lessContent" - ], - "range": [ - [ - 35, - 14 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 38, - 11 - ], - [ - 38, - 27 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 7 - }, - "./build/src/lines-component.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork@^0.11.1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork@^1.0.0", - "name": "div", - "exportsProperty": "div" - }, - "6": { - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 9 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork@^1.0.0", - "name": "span", - "exportsProperty": "span" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "debounce", - "exportsProperty": "debounce" - }, - "11": { - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 17 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqual", - "exportsProperty": "isEqual" - }, - "20": { - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 39 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "42": { - "type": "import", - "range": [ - [ - 3, - 42 - ], - [ - 3, - 55 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "multiplyString", - "exportsProperty": "multiplyString" - }, - "58": { - "type": "import", - "range": [ - [ - 3, - 58 - ], - [ - 3, - 64 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "toArray", - "exportsProperty": "toArray" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 2 - ] - ], - "bindingType": "variable", - "module": "space-pen@3.2.0", - "name": "$$", - "exportsProperty": "$$" - } - }, - "6": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 6, - 13 - ], - [ - 6, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "7": { - "19": { - "name": "CursorsComponent", - "type": "import", - "range": [ - [ - 7, - 19 - ], - [ - 7, - 47 - ] - ], - "bindingType": "variable", - "path": "./cursors-component" - } - }, - "8": { - "22": { - "name": "HighlightsComponent", - "type": "import", - "range": [ - [ - 8, - 22 - ], - [ - 8, - 53 - ] - ], - "bindingType": "variable", - "path": "./highlights-component" - } - }, - "10": { - "16": { - "type": "primitive", - "range": [ - [ - 10, - 16 - ], - [ - 10, - 111 - ] - ] - } - }, - "11": { - "15": { - "type": "primitive", - "range": [ - [ - 11, - 15 - ], - [ - 11, - 55 - ] - ] - }, - "28": { - "name": "acceptNode", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 11, - 28 - ], - [ - 11, - 54 - ] - ], - "doc": null - } - }, - "12": { - "13": { - "name": "WrapperDiv", - "type": "function", - "range": [ - [ - 12, - 13 - ], - [ - 12, - 41 - ] - ] - } - }, - "15": { - "17": { - "name": "LinesComponent", - "type": "function", - "range": [ - [ - 15, - 17 - ], - [ - 348, - 41 - ] - ] - } - }, - "16": { - "15": { - "name": "'LinesComponent'", - "type": "primitive", - "range": [ - [ - 16, - 15 - ], - [ - 16, - 30 - ] - ] - } - }, - "18": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 18, - 10 - ], - [ - 44, - 1 - ] - ], - "doc": null - } - }, - "44": { - "16": { - "name": "getTransform", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 16 - ], - [ - 52, - 1 - ] - ], - "doc": null - } - }, - "52": { - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 22 - ], - [ - 59, - 1 - ] - ], - "doc": null - } - }, - "59": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 59, - 25 - ], - [ - 79, - 1 - ] - ], - "doc": null - } - }, - "79": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "prevProps" - ], - "range": [ - [ - 79, - 22 - ], - [ - 88, - 1 - ] - ], - "doc": null - } - }, - "88": { - "24": { - "name": "clearScreenRowCaches", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 24 - ], - [ - 92, - 1 - ] - ], - "doc": null - } - }, - "92": { - "15": { - "name": "updateLines", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "updateWidth" - ], - "range": [ - [ - 92, - 15 - ], - [ - 100, - 1 - ] - ], - "doc": null - } - }, - "100": { - "19": { - "name": "removeLineNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "visibleLines" - ], - "range": [ - [ - 100, - 19 - ], - [ - 114, - 1 - ] - ], - "doc": null - } - }, - "114": { - "34": { - "name": "appendOrUpdateVisibleLineNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "visibleLines", - "startRow", - "updateWidth" - ], - "range": [ - [ - 114, - 34 - ], - [ - 145, - 1 - ] - ], - "doc": null - } - }, - "145": { - "15": { - "name": "hasLineNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineId" - ], - "range": [ - [ - 145, - 15 - ], - [ - 148, - 1 - ] - ], - "doc": null - } - }, - "148": { - "17": { - "name": "buildLineHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "screenRow" - ], - "range": [ - [ - 148, - 17 - ], - [ - 171, - 1 - ] - ], - "doc": null - } - }, - "171": { - "27": { - "name": "buildEmptyLineInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 171, - 27 - ], - [ - 198, - 1 - ] - ], - "doc": null - } - }, - "198": { - "22": { - "name": "buildLineInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 198, - 22 - ], - [ - 215, - 1 - ] - ], - "doc": null - } - }, - "215": { - "22": { - "name": "buildEndOfLineHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "invisibles" - ], - "range": [ - [ - 215, - 22 - ], - [ - 228, - 1 - ] - ], - "doc": null - } - }, - "228": { - "20": { - "name": "updateScopeStack", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 228, - 20 - ], - [ - 245, - 1 - ] - ], - "doc": null - } - }, - "245": { - "12": { - "name": "popScope", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack" - ], - "range": [ - [ - 245, - 12 - ], - [ - 249, - 1 - ] - ], - "doc": null - } - }, - "249": { - "13": { - "name": "pushScope", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack", - "scope" - ], - "range": [ - [ - 249, - 13 - ], - [ - 253, - 1 - ] - ], - "doc": null - } - }, - "253": { - "18": { - "name": "updateLineNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "screenRow", - "updateWidth" - ], - "range": [ - [ - 253, - 18 - ], - [ - 278, - 1 - ] - ], - "doc": null - } - }, - "278": { - "17": { - "name": "hasDecoration", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "decorations", - "decoration" - ], - "range": [ - [ - 278, - 17 - ], - [ - 281, - 1 - ] - ], - "doc": null - } - }, - "281": { - "24": { - "name": "lineNodeForScreenRow", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 281, - 24 - ], - [ - 284, - 1 - ] - ], - "doc": null - } - }, - "284": { - "40": { - "name": "measureLineHeightAndDefaultCharWidth", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 40 - ], - [ - 295, - 1 - ] - ], - "doc": null - } - }, - "295": { - "28": { - "name": "remeasureCharacterWidths", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 295, - 28 - ], - [ - 299, - 1 - ] - ], - "doc": null - } - }, - "299": { - "31": { - "name": "measureCharactersInNewLines", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 299, - 31 - ], - [ - 311, - 1 - ] - ], - "doc": null - } - }, - "311": { - "27": { - "name": "measureCharactersInLine", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "tokenizedLine", - "lineNode" - ], - "range": [ - [ - 311, - 27 - ], - [ - 346, - 1 - ] - ], - "doc": null - } - }, - "346": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 25 - ], - [ - 348, - 41 - ] - ], - "doc": null - } - } - }, - "exports": 15 - }, - "./build/src/menu-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "3": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 3, - 6 - ], - [ - 3, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1.0.2" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "12": { - "0": { - "type": "class", - "name": "MenuManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 15 - ], - [ - 37, - 7 - ], - [ - 47, - 19 - ], - [ - 79, - 10 - ], - [ - 88, - 21 - ], - [ - 96, - 9 - ], - [ - 107, - 27 - ], - [ - 117, - 24 - ], - [ - 121, - 18 - ], - [ - 130, - 21 - ] - ], - "doc": " Public: Provides a registry for menu items that you'd like to appear in the\napplication menu.\n\nAn instance of this class is always available as the `atom.menu` global. ", - "range": [ - [ - 12, - 0 - ], - [ - 131, - 49 - ] - ] - } - }, - "13": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 13, - 15 - ], - [ - 37, - 1 - ] - ] - } - }, - "37": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 37, - 7 - ], - [ - 47, - 1 - ] - ], - "doc": " Public: Adds the given item definition to the existing template.\n\n## Example\n```coffee\n atom.menu.add [\n {\n label: 'Hello'\n submenu : [{label: 'World!', command: 'hello:world'}]\n }\n ]\n```\n\nitems - An {Array} of menu item {Object}s containing the keys:\n :label - The {String} menu label.\n :submenu - An optional {Array} of sub menu items.\n :command - An optional {String} command to trigger when the item is\n clicked.\n\nReturns nothing. " - } - }, - "47": { - "19": { - "name": "includeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 47, - 19 - ], - [ - 79, - 1 - ] - ], - "doc": " Private: Should the binding for the given selector be included in the menu\ncommands.\n\nselector - A {String} selector to check.\n\nReturns true to include the selector, false otherwise. " - } - }, - "79": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 10 - ], - [ - 88, - 1 - ] - ], - "doc": "Public: Refreshes the currently visible menu. " - } - }, - "88": { - "21": { - "name": "loadPlatformItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 21 - ], - [ - 96, - 1 - ] - ], - "doc": "~Private~" - } - }, - "96": { - "9": { - "name": "merge", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "menu", - "item" - ], - "range": [ - [ - 96, - 9 - ], - [ - 107, - 1 - ] - ], - "doc": " Private: Merges an item in a submenu aware way such that new items are always\nappended to the bottom of existing menus where possible. " - } - }, - "107": { - "27": { - "name": "filterMultipleKeystroke", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystrokesByCommand" - ], - "range": [ - [ - 107, - 27 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: OSX can't handle displaying accelerators for multiple keystrokes.\nIf they are sent across, it will stop processing accelerators for the rest\nof the menu items. " - } - }, - "117": { - "24": { - "name": "sendToBrowserProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 117, - 24 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "18": { - "name": "normalizeLabel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "label" - ], - "range": [ - [ - 121, - 18 - ], - [ - 130, - 1 - ] - ], - "doc": "~Private~" - } - }, - "130": { - "21": { - "name": "classesForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 130, - 21 - ], - [ - 131, - 49 - ] - ], - "doc": "Private: Get an {Array} of {String} classes for the given element. " - } - } - }, - "exports": 12 - }, - "./build/src/package-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q@^1.0.1" - } - }, - "7": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 7, - 10 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "8": { - "15": { - "name": "ThemePackage", - "type": "import", - "range": [ - [ - 8, - 15 - ], - [ - 8, - 39 - ] - ], - "bindingType": "variable", - "path": "./theme-package" - } - }, - "26": { - "0": { - "type": "class", - "name": "PackageManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 44, - 14 - ], - [ - 52, - 22 - ], - [ - 55, - 19 - ], - [ - 58, - 19 - ], - [ - 62, - 17 - ], - [ - 68, - 18 - ], - [ - 74, - 12 - ], - [ - 82, - 28 - ], - [ - 85, - 20 - ], - [ - 90, - 19 - ], - [ - 100, - 22 - ], - [ - 105, - 21 - ], - [ - 113, - 21 - ], - [ - 117, - 20 - ], - [ - 121, - 19 - ], - [ - 124, - 29 - ], - [ - 128, - 27 - ], - [ - 137, - 16 - ], - [ - 148, - 15 - ], - [ - 168, - 18 - ], - [ - 172, - 17 - ], - [ - 182, - 20 - ], - [ - 186, - 19 - ], - [ - 190, - 21 - ], - [ - 196, - 29 - ], - [ - 200, - 22 - ], - [ - 210, - 21 - ], - [ - 213, - 17 - ], - [ - 218, - 20 - ], - [ - 221, - 26 - ], - [ - 231, - 28 - ], - [ - 246, - 28 - ], - [ - 250, - 31 - ] - ], - "doc": " Public: Package manager for coordinating the lifecycle of Atom packages.\n\nAn instance of this class is always available as the `atom.packages` global.\n\nPackages can be loaded, activated, and deactivated, and unloaded:\n * Loading a package reads and parses the package's metadata and resources\n such as keymaps, menus, stylesheets, etc.\n * Activating a package registers the loaded resources and calls `activate()`\n on the package's main module.\n * Deactivating a package unregisters the package's resources and calls\n `deactivate()` on the package's main module.\n * Unloading a package removes it completely from the package manager.\n\nPackages can also be enabled/disabled via the `core.disabledPackages` config\nsettings and also by calling `enablePackage()/disablePackage()`. ", - "range": [ - [ - 26, - 0 - ], - [ - 256, - 12 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 29, - 15 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "14": { - "name": "getApmPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 14 - ], - [ - 52, - 1 - ] - ], - "doc": "Public: Get the path to the apm command " - } - }, - "52": { - "22": { - "name": "getPackageDirPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 22 - ], - [ - 55, - 1 - ] - ], - "doc": " Public: Get the paths being used to look for packages.\n\nReturns an Array of String directory paths. " - } - }, - "55": { - "19": { - "name": "getPackageState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 55, - 19 - ], - [ - 58, - 1 - ] - ], - "doc": "~Private~" - } - }, - "58": { - "19": { - "name": "setPackageState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "state" - ], - "range": [ - [ - 58, - 19 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "17": { - "name": "enablePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 62, - 17 - ], - [ - 68, - 1 - ] - ], - "doc": "Public: Enable the package with the given name " - } - }, - "68": { - "18": { - "name": "disablePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 68, - 18 - ], - [ - 74, - 1 - ] - ], - "doc": "Public: Disable the package with the given name " - } - }, - "74": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 12 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Activate all the packages that should be activated. " - } - }, - "82": { - "28": { - "name": "registerPackageActivator", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "activator", - "types" - ], - "range": [ - [ - 82, - 28 - ], - [ - 85, - 1 - ] - ], - "doc": " Private: another type of package manager can handle other package types.\nSee ThemeManager " - } - }, - "85": { - "20": { - "name": "activatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "packages" - ], - "range": [ - [ - 85, - 20 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "19": { - "name": "activatePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 90, - 19 - ], - [ - 100, - 1 - ] - ], - "doc": "Private: Activate a single package by name " - } - }, - "100": { - "22": { - "name": "deactivatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 100, - 22 - ], - [ - 105, - 1 - ] - ], - "doc": "Private: Deactivate all packages " - } - }, - "105": { - "21": { - "name": "deactivatePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 105, - 21 - ], - [ - 113, - 1 - ] - ], - "doc": "Private: Deactivate the package with the given name " - } - }, - "113": { - "21": { - "name": "getActivePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 113, - 21 - ], - [ - 117, - 1 - ] - ], - "doc": "Public: Get an array of all the active packages " - } - }, - "117": { - "20": { - "name": "getActivePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 117, - 20 - ], - [ - 121, - 1 - ] - ], - "doc": "Public: Get the active package with the given name " - } - }, - "121": { - "19": { - "name": "isPackageActive", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 121, - 19 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Is the package with the given name active? " - } - }, - "124": { - "29": { - "name": "unobserveDisabledPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 29 - ], - [ - 128, - 1 - ] - ], - "doc": "~Private~" - } - }, - "128": { - "27": { - "name": "observeDisabledPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 128, - 27 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "16": { - "name": "loadPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 16 - ], - [ - 148, - 1 - ] - ], - "doc": "~Private~" - } - }, - "148": { - "15": { - "name": "loadPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "nameOrPath" - ], - "range": [ - [ - 148, - 15 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "18": { - "name": "unloadPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 18 - ], - [ - 172, - 1 - ] - ], - "doc": "~Private~" - } - }, - "172": { - "17": { - "name": "unloadPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 172, - 17 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "20": { - "name": "getLoadedPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 182, - 20 - ], - [ - 186, - 1 - ] - ], - "doc": "Public: Get the loaded package with the given name " - } - }, - "186": { - "19": { - "name": "isPackageLoaded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 186, - 19 - ], - [ - 190, - 1 - ] - ], - "doc": "Public: Is the package with the given name loaded? " - } - }, - "190": { - "21": { - "name": "getLoadedPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 21 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded packages " - } - }, - "196": { - "29": { - "name": "getLoadedPackagesForTypes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "types" - ], - "range": [ - [ - 196, - 29 - ], - [ - 200, - 1 - ] - ], - "doc": " Private: Get packages for a certain package type\n\ntypes - an {Array} of {String}s like ['atom', 'textmate']. " - } - }, - "200": { - "22": { - "name": "resolvePackagePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 200, - 22 - ], - [ - 210, - 1 - ] - ], - "doc": "Public: Resolve the given package name to a path on disk. " - } - }, - "210": { - "21": { - "name": "isPackageDisabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 210, - 21 - ], - [ - 213, - 1 - ] - ], - "doc": "Public: Is the package with the given name disabled? " - } - }, - "213": { - "17": { - "name": "hasAtomEngine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "packagePath" - ], - "range": [ - [ - 213, - 17 - ], - [ - 218, - 1 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "20": { - "name": "isBundledPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 218, - 20 - ], - [ - 221, - 1 - ] - ], - "doc": "Public: Is the package with the given name bundled with Atom? " - } - }, - "221": { - "26": { - "name": "getPackageDependencies", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 221, - 26 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "28": { - "name": "getAvailablePackagePaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 231, - 28 - ], - [ - 246, - 1 - ] - ], - "doc": "Public: Get an array of all the available package paths. " - } - }, - "246": { - "28": { - "name": "getAvailablePackageNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 246, - 28 - ], - [ - 250, - 1 - ] - ], - "doc": "Public: Get an array of all the available package names. " - } - }, - "250": { - "31": { - "name": "getAvailablePackageMetadata", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 250, - 31 - ], - [ - 256, - 12 - ] - ], - "doc": "Public: Get an array of all the available package metadata. " - } - } - }, - "exports": 26 - }, - "./build/src/package.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "3": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 3, - 8 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "async@0.2.6" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1.0.2" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "7": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 14 - ] - ], - "bindingType": "variable", - "module": "q@^1.0.1" - } - }, - "9": { - "4": { - "type": "primitive", - "range": [ - [ - 9, - 4 - ], - [ - 9, - 7 - ] - ] - } - }, - "10": { - "19": { - "name": "ScopedProperties", - "type": "import", - "range": [ - [ - 10, - 19 - ], - [ - 10, - 47 - ] - ], - "bindingType": "variable", - "path": "./scoped-properties" - } - }, - "15": { - "0": { - "type": "class", - "name": "Package", - "bindingType": "exports", - "classProperties": [ - [ - 18, - 19 - ], - [ - 20, - 17 - ] - ], - "prototypeProperties": [ - [ - 30, - 11 - ], - [ - 31, - 9 - ], - [ - 32, - 15 - ], - [ - 33, - 12 - ], - [ - 34, - 20 - ], - [ - 35, - 18 - ], - [ - 36, - 26 - ], - [ - 37, - 14 - ], - [ - 39, - 15 - ], - [ - 44, - 10 - ], - [ - 47, - 11 - ], - [ - 50, - 11 - ], - [ - 53, - 11 - ], - [ - 59, - 11 - ], - [ - 61, - 21 - ], - [ - 63, - 8 - ], - [ - 76, - 9 - ], - [ - 83, - 12 - ], - [ - 97, - 15 - ], - [ - 109, - 18 - ], - [ - 118, - 23 - ], - [ - 126, - 21 - ], - [ - 138, - 15 - ], - [ - 141, - 13 - ], - [ - 144, - 18 - ], - [ - 151, - 16 - ], - [ - 158, - 19 - ], - [ - 162, - 22 - ], - [ - 165, - 22 - ], - [ - 177, - 20 - ], - [ - 194, - 16 - ], - [ - 213, - 24 - ], - [ - 231, - 13 - ], - [ - 238, - 14 - ], - [ - 247, - 20 - ], - [ - 251, - 23 - ], - [ - 260, - 21 - ], - [ - 266, - 20 - ], - [ - 269, - 21 - ], - [ - 275, - 21 - ], - [ - 285, - 23 - ], - [ - 297, - 31 - ], - [ - 306, - 25 - ], - [ - 315, - 35 - ], - [ - 325, - 36 - ], - [ - 339, - 36 - ], - [ - 345, - 18 - ], - [ - 353, - 34 - ], - [ - 371, - 32 - ], - [ - 401, - 16 - ] - ], - "doc": " Private: Loads and activates a package's main module and resources such as\nstylesheets, keymaps, grammar, editor properties, and menus. ", - "range": [ - [ - 15, - 0 - ], - [ - 411, - 24 - ] - ] - } - }, - "18": { - "19": { - "name": "stylesheetsDir", - "type": "primitive", - "range": [ - [ - 18, - 19 - ], - [ - 18, - 31 - ] - ], - "bindingType": "classProperty" - } - }, - "20": { - "17": { - "name": "loadMetadata", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "packagePath", - "ignoreErrors" - ], - "range": [ - [ - 20, - 17 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "keymaps", - "type": "primitive", - "range": [ - [ - 30, - 11 - ], - [ - 30, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "31": { - "9": { - "name": "menus", - "type": "primitive", - "range": [ - [ - 31, - 9 - ], - [ - 31, - 12 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "32": { - "15": { - "name": "stylesheets", - "type": "primitive", - "range": [ - [ - 32, - 15 - ], - [ - 32, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "33": { - "12": { - "name": "grammars", - "type": "primitive", - "range": [ - [ - 33, - 12 - ], - [ - 33, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "34": { - "20": { - "name": "scopedProperties", - "type": "primitive", - "range": [ - [ - 34, - 20 - ], - [ - 34, - 23 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "35": { - "18": { - "name": "mainModulePath", - "type": "primitive", - "range": [ - [ - 35, - 18 - ], - [ - 35, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "36": { - "26": { - "name": "resolvedMainModulePath", - "type": "primitive", - "range": [ - [ - 36, - 26 - ], - [ - 36, - 30 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "37": { - "14": { - "name": "mainModule", - "type": "primitive", - "range": [ - [ - 37, - 14 - ], - [ - 37, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "39": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 39, - 15 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "10": { - "name": "enable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 10 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "11": { - "name": "disable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 47, - 11 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "11": { - "name": "isTheme", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 11 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "11": { - "name": "measure", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "key", - "fn" - ], - "range": [ - [ - 53, - 11 - ], - [ - 59, - 1 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "11": { - "name": "getType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 11 - ], - [ - 59, - 19 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "21": { - "name": "getStylesheetType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 21 - ], - [ - 61, - 32 - ] - ], - "doc": "~Private~" - } - }, - "63": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 63, - 8 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "9": { - "name": "reset", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 9 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 83, - 12 - ], - [ - 97, - 1 - ] - ], - "doc": "~Private~" - } - }, - "97": { - "15": { - "name": "activateNow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 97, - 15 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "18": { - "name": "activateConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 18 - ], - [ - 118, - 1 - ] - ], - "doc": "~Private~" - } - }, - "118": { - "23": { - "name": "activateStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 118, - 23 - ], - [ - 126, - 1 - ] - ], - "doc": "~Private~" - } - }, - "126": { - "21": { - "name": "activateResources", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 21 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "15": { - "name": "loadKeymaps", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 15 - ], - [ - 141, - 1 - ] - ], - "doc": "~Private~" - } - }, - "141": { - "13": { - "name": "loadMenus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 13 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "18": { - "name": "getKeymapPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 144, - 18 - ], - [ - 151, - 1 - ] - ], - "doc": "~Private~" - } - }, - "151": { - "16": { - "name": "getMenuPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 151, - 16 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "19": { - "name": "loadStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 19 - ], - [ - 162, - 1 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "22": { - "name": "getStylesheetsPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 22 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "22": { - "name": "getStylesheetPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 22 - ], - [ - 177, - 1 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "20": { - "name": "loadGrammarsSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 20 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "16": { - "name": "loadGrammars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 194, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "24": { - "name": "loadScopedProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 24 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "13": { - "name": "serialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 231, - 13 - ], - [ - 238, - 1 - ] - ], - "doc": "~Private~" - } - }, - "238": { - "14": { - "name": "deactivate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 238, - 14 - ], - [ - 247, - 1 - ] - ], - "doc": "~Private~" - } - }, - "247": { - "20": { - "name": "deactivateConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 247, - 20 - ], - [ - 251, - 1 - ] - ], - "doc": "~Private~" - } - }, - "251": { - "23": { - "name": "deactivateResources", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 251, - 23 - ], - [ - 260, - 1 - ] - ], - "doc": "~Private~" - } - }, - "260": { - "21": { - "name": "reloadStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 21 - ], - [ - 266, - 1 - ] - ], - "doc": "~Private~" - } - }, - "266": { - "20": { - "name": "reloadStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "content" - ], - "range": [ - [ - 266, - 20 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "21": { - "name": "requireMainModule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 21 - ], - [ - 275, - 1 - ] - ] - } - }, - "275": { - "21": { - "name": "getMainModulePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 275, - 21 - ], - [ - 285, - 1 - ] - ], - "doc": "~Private~" - } - }, - "285": { - "23": { - "name": "hasActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 285, - 23 - ], - [ - 297, - 1 - ] - ], - "doc": "~Private~" - } - }, - "297": { - "31": { - "name": "subscribeToActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 31 - ], - [ - 306, - 1 - ] - ], - "doc": "~Private~" - } - }, - "306": { - "25": { - "name": "handleActivationEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 306, - 25 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "35": { - "name": "unsubscribeFromActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 35 - ], - [ - 325, - 1 - ] - ], - "doc": "~Private~" - } - }, - "325": { - "36": { - "name": "disableEventHandlersOnBubblePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 325, - 36 - ], - [ - 339, - 1 - ] - ], - "doc": "~Private~" - } - }, - "339": { - "36": { - "name": "restoreEventHandlersOnBubblePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventHandlers" - ], - "range": [ - [ - 339, - 36 - ], - [ - 345, - 1 - ] - ], - "doc": "~Private~" - } - }, - "345": { - "18": { - "name": "isNativeModule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "modulePath" - ], - "range": [ - [ - 345, - 18 - ], - [ - 353, - 1 - ] - ], - "doc": "Private: Does the given module path contain native code? " - } - }, - "353": { - "34": { - "name": "getNativeModuleDependencyPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 353, - 34 - ], - [ - 371, - 1 - ] - ], - "doc": " Private: Get an array of all the native modules that this package depends on.\nThis will recurse through all dependencies. " - } - }, - "371": { - "32": { - "name": "getIncompatibleNativeModules", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 371, - 32 - ], - [ - 401, - 1 - ] - ], - "doc": " Private: Get the incompatible native modules that this package depends on.\nThis recurses through all dependencies and requires all modules that\ncontain a `.node` file.\n\nThis information is cached in local storage on a per package/version basis\nto minimize the impact on startup time. " - } - }, - "401": { - "16": { - "name": "isCompatible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 401, - 16 - ], - [ - 411, - 24 - ] - ], - "doc": " Public: Is this package compatible with this version of Atom?\n\nIncompatible packages cannot be activated. This will include packages\ninstalled to ~/.atom/packages that were built against node 0.11.10 but\nnow need to be upgrade to node 0.11.13.\n\nReturns a {Boolean}, true if compatible, false if incompatible. " - } - } - }, - "exports": 15 - }, - "./build/src/pane-axis-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "11": { - "type": "primitive", - "range": [ - [ - 1, - 11 - ], - [ - 1, - 14 - ] - ] - } - }, - "4": { - "0": { - "type": "class", - "name": "PaneAxisView", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 5, - 14 - ], - [ - 9, - 15 - ], - [ - 12, - 16 - ], - [ - 16, - 22 - ], - [ - 22, - 16 - ], - [ - 26, - 18 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 31, - 48 - ] - ] - } - }, - "5": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 5, - 14 - ], - [ - 9, - 1 - ] - ] - } - }, - "9": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 15 - ], - [ - 12, - 1 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "16": { - "name": "viewForModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "model" - ], - "range": [ - [ - 12, - 16 - ], - [ - 16, - 1 - ] - ], - "doc": "~Private~" - } - }, - "16": { - "22": { - "name": "onChildrenChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 16, - 22 - ], - [ - 22, - 1 - ] - ], - "doc": "~Private~" - } - }, - "22": { - "16": { - "name": "onChildAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child", - "index" - ], - "range": [ - [ - 22, - 16 - ], - [ - 26, - 1 - ] - ], - "doc": "~Private~" - } - }, - "26": { - "18": { - "name": "onChildRemoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 26, - 18 - ], - [ - 31, - 48 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "./build/src/pane-axis.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Model", - "exportsProperty": "Model" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 15 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Sequence", - "exportsProperty": "Sequence" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 7 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "flatten", - "exportsProperty": "flatten" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@^1" - } - }, - "4": { - "14": { - "type": "primitive", - "range": [ - [ - 4, - 14 - ], - [ - 4, - 17 - ] - ] - } - }, - "5": { - "17": { - "type": "primitive", - "range": [ - [ - 5, - 17 - ], - [ - 5, - 20 - ] - ] - } - }, - "8": { - "0": { - "type": "class", - "name": "PaneAxis", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 25, - 21 - ], - [ - 30, - 19 - ], - [ - 34, - 16 - ], - [ - 40, - 12 - ], - [ - 43, - 12 - ], - [ - 46, - 15 - ], - [ - 51, - 16 - ], - [ - 56, - 21 - ], - [ - 60, - 20 - ], - [ - 64, - 21 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 65, - 44 - ] - ] - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 25, - 21 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 19 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 16 - ], - [ - 40, - 1 - ] - ], - "doc": "~Private~" - } - }, - "40": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 40, - 12 - ], - [ - 43, - 1 - ] - ], - "doc": "~Private~" - } - }, - "43": { - "12": { - "name": "addChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child", - "index" - ], - "range": [ - [ - 43, - 12 - ], - [ - 46, - 1 - ] - ], - "doc": "~Private~" - } - }, - "46": { - "15": { - "name": "removeChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 46, - 15 - ], - [ - 51, - 1 - ] - ], - "doc": "~Private~" - } - }, - "51": { - "16": { - "name": "replaceChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "oldChild", - "newChild" - ], - "range": [ - [ - 51, - 16 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "21": { - "name": "insertChildBefore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "currentChild", - "newChild" - ], - "range": [ - [ - 56, - 21 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "20": { - "name": "insertChildAfter", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "currentChild", - "newChild" - ], - "range": [ - [ - 60, - 20 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "21": { - "name": "reparentLastChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 21 - ], - [ - 65, - 44 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "./build/src/pane-column-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "2": { - "15": { - "name": "PaneAxisView", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 40 - ] - ], - "bindingType": "variable", - "path": "./pane-axis-view" - } - }, - "5": { - "0": { - "type": "class", - "name": "PaneColumnView", - "bindingType": "exports", - "classProperties": [ - [ - 7, - 12 - ] - ], - "prototypeProperties": [ - [ - 10, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 11, - 16 - ] - ] - } - }, - "7": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 7, - 12 - ], - [ - 10, - 1 - ] - ], - "doc": "~Private~" - } - }, - "10": { - "13": { - "name": "className", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 13 - ], - [ - 11, - 16 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "./build/src/pane-container-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "1": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@^1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "3": { - "11": { - "name": "PaneView", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-view" - } - }, - "4": { - "16": { - "name": "PaneContainer", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 41 - ] - ], - "bindingType": "variable", - "path": "./pane-container" - } - }, - "8": { - "0": { - "type": "class", - "name": "PaneContainerView", - "bindingType": "exports", - "classProperties": [ - [ - 13, - 12 - ] - ], - "prototypeProperties": [ - [ - 16, - 14 - ], - [ - 25, - 16 - ], - [ - 30, - 11 - ], - [ - 33, - 17 - ], - [ - 47, - 27 - ], - [ - 50, - 15 - ], - [ - 55, - 16 - ], - [ - 64, - 16 - ], - [ - 67, - 15 - ], - [ - 70, - 15 - ], - [ - 73, - 16 - ], - [ - 79, - 18 - ], - [ - 82, - 17 - ], - [ - 86, - 21 - ], - [ - 89, - 21 - ], - [ - 92, - 17 - ], - [ - 95, - 14 - ], - [ - 98, - 21 - ], - [ - 101, - 25 - ], - [ - 104, - 22 - ], - [ - 107, - 22 - ], - [ - 110, - 23 - ], - [ - 113, - 24 - ], - [ - 116, - 26 - ], - [ - 143, - 26 - ], - [ - 152, - 12 - ] - ], - "doc": "Private: Manages the list of panes within a {WorkspaceView} ", - "range": [ - [ - 8, - 0 - ], - [ - 154, - 19 - ] - ] - } - }, - "13": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 12 - ], - [ - 16, - 1 - ] - ], - "doc": "~Private~" - } - }, - "16": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 16, - 14 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "16": { - "name": "viewForModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "model" - ], - "range": [ - [ - 25, - 16 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "getRoot", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 11 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "17": { - "name": "onRootChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "root" - ], - "range": [ - [ - 33, - 17 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "27": { - "name": "onActivePaneItemChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "activeItem" - ], - "range": [ - [ - 47, - 27 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "15": { - "name": "removeChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 50, - 15 - ], - [ - 55, - 1 - ] - ], - "doc": "~Private~" - } - }, - "55": { - "16": { - "name": "confirmClose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 16 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "16": { - "name": "getPaneViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 16 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "15": { - "name": "indexOfPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "paneView" - ], - "range": [ - [ - 67, - 15 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "15": { - "name": "paneAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 70, - 15 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "16": { - "name": "eachPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 73, - 16 - ], - [ - 79, - 1 - ] - ], - "doc": "~Private~" - } - }, - "79": { - "18": { - "name": "getFocusedPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 18 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 17 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "21": { - "name": "getActivePaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 21 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "17": { - "name": "getActiveView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 92, - 17 - ], - [ - 95, - 1 - ] - ], - "doc": "~Private~" - } - }, - "95": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 95, - 14 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "21": { - "name": "focusNextPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 21 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "focusPreviousPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 25 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "22": { - "name": "focusPaneViewAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 22 - ], - [ - 107, - 1 - ] - ], - "doc": "~Private~" - } - }, - "107": { - "22": { - "name": "focusPaneViewBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 22 - ], - [ - 110, - 1 - ] - ], - "doc": "~Private~" - } - }, - "110": { - "23": { - "name": "focusPaneViewOnLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 23 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "24": { - "name": "focusPaneViewOnRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 113, - 24 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "26": { - "name": "nearestPaneInDirection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "direction" - ], - "range": [ - [ - 116, - 26 - ], - [ - 143, - 1 - ] - ], - "doc": "~Private~" - } - }, - "143": { - "26": { - "name": "boundingBoxForPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "paneView" - ], - "range": [ - [ - 143, - 26 - ], - [ - 152, - 1 - ] - ], - "doc": "~Private~" - } - }, - "152": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 152, - 12 - ], - [ - 154, - 19 - ] - ], - "doc": "Private: Deprecated " - } - } - }, - "exports": 8 - }, - "./build/src/pane-container.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "find", - "exportsProperty": "find" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@^1" - } - }, - "3": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "6": { - "0": { - "type": "class", - "name": "PaneContainer", - "bindingType": "exports", - "classProperties": [ - [ - 10, - 12 - ] - ], - "prototypeProperties": [ - [ - 16, - 16 - ], - [ - 23, - 15 - ], - [ - 28, - 21 - ], - [ - 34, - 19 - ], - [ - 38, - 16 - ], - [ - 42, - 12 - ], - [ - 45, - 17 - ], - [ - 48, - 14 - ], - [ - 51, - 11 - ], - [ - 54, - 20 - ], - [ - 64, - 24 - ], - [ - 75, - 17 - ], - [ - 89, - 21 - ], - [ - 92, - 17 - ], - [ - 96, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 6, - 0 - ], - [ - 97, - 42 - ] - ] - } - }, - "10": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 10, - 12 - ], - [ - 10, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "16": { - "16": { - "name": "previousRoot", - "type": "primitive", - "range": [ - [ - 16, - 16 - ], - [ - 16, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "23": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 23, - 15 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 28, - 21 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 34, - 19 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "16": { - "name": "replaceChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "oldChild", - "newChild" - ], - "range": [ - [ - 38, - 16 - ], - [ - 42, - 1 - ] - ], - "doc": "~Private~" - } - }, - "42": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 12 - ], - [ - 45, - 1 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 17 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 48, - 14 - ], - [ - 51, - 1 - ] - ], - "doc": "~Private~" - } - }, - "51": { - "11": { - "name": "saveAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 51, - 11 - ], - [ - 54, - 1 - ] - ], - "doc": "~Private~" - } - }, - "54": { - "20": { - "name": "activateNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 54, - 20 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "24": { - "name": "activatePreviousPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 24 - ], - [ - 75, - 1 - ] - ], - "doc": "~Private~" - } - }, - "75": { - "17": { - "name": "onRootChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "root" - ], - "range": [ - [ - 75, - 17 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "destroyEmptyPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "17": { - "name": "itemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 92, - 17 - ], - [ - 96, - 1 - ] - ], - "doc": "~Private~" - } - }, - "96": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 13 - ], - [ - 97, - 42 - ] - ], - "doc": "Private: Called by Model superclass when destroyed " - } - } - }, - "exports": 6 - }, - "./build/src/pane-row-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "2": { - "15": { - "name": "PaneAxisView", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 40 - ] - ], - "bindingType": "variable", - "path": "./pane-axis-view" - } - }, - "5": { - "0": { - "type": "class", - "name": "PaneRowView", - "bindingType": "exports", - "classProperties": [ - [ - 6, - 12 - ] - ], - "prototypeProperties": [ - [ - 9, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 10, - 13 - ] - ] - } - }, - "6": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 12 - ], - [ - 9, - 1 - ] - ] - } - }, - "9": { - "13": { - "name": "className", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 13 - ], - [ - 10, - 13 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "./build/src/pane-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@^1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "3": { - "20": { - "name": "PropertyAccessors", - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 47 - ] - ], - "bindingType": "variable", - "module": "property-accessors@^1" - } - }, - "5": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "14": { - "0": { - "type": "class", - "name": "PaneView", - "bindingType": "exports", - "classProperties": [ - [ - 18, - 12 - ], - [ - 20, - 12 - ] - ], - "prototypeProperties": [ - [ - 32, - 22 - ], - [ - 34, - 14 - ], - [ - 45, - 16 - ], - [ - 84, - 14 - ], - [ - 89, - 12 - ], - [ - 94, - 18 - ], - [ - 99, - 19 - ], - [ - 104, - 16 - ], - [ - 109, - 20 - ], - [ - 113, - 15 - ], - [ - 121, - 15 - ], - [ - 124, - 25 - ], - [ - 133, - 15 - ], - [ - 139, - 21 - ], - [ - 142, - 23 - ], - [ - 158, - 15 - ], - [ - 161, - 17 - ], - [ - 175, - 15 - ], - [ - 178, - 25 - ], - [ - 182, - 26 - ], - [ - 185, - 15 - ], - [ - 199, - 13 - ], - [ - 201, - 14 - ], - [ - 203, - 11 - ], - [ - 205, - 13 - ], - [ - 210, - 16 - ], - [ - 213, - 16 - ], - [ - 216, - 10 - ] - ], - "doc": " Public: A container which can contains multiple items to be switched between.\n\nItems can be almost anything however most commonly they're {EditorView}s.\n\nMost packages won't need to use this class, unless you're interested in\nbuilding a package that deals with switching between panes or items. ", - "range": [ - [ - 14, - 0 - ], - [ - 219, - 9 - ] - ] - } - }, - "18": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 18, - 12 - ], - [ - 18, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "20": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "wrappedView" - ], - "range": [ - [ - 20, - 12 - ], - [ - 24, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "22": { - "name": "previousActiveItem", - "type": "primitive", - "range": [ - [ - 32, - 22 - ], - [ - 32, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "34": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 34, - 14 - ], - [ - 45, - 1 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 16 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "14": { - "name": "removeItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 84, - 14 - ], - [ - 89, - 1 - ] - ], - "doc": "Deprecated: Use ::destroyItem " - } - }, - "89": { - "12": { - "name": "showItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 89, - 12 - ], - [ - 94, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItem " - } - }, - "94": { - "18": { - "name": "showItemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 94, - 18 - ], - [ - 99, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItemForUri " - } - }, - "99": { - "19": { - "name": "showItemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 99, - 19 - ], - [ - 104, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItemAtIndex " - } - }, - "104": { - "16": { - "name": "showNextItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 16 - ], - [ - 109, - 1 - ] - ], - "doc": "Deprecated: Use ::activateNextItem " - } - }, - "109": { - "20": { - "name": "showPreviousItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 20 - ], - [ - 113, - 1 - ] - ], - "doc": "Deprecated: Use ::activatePreviousItem " - } - }, - "113": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 113, - 15 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "15": { - "name": "onActivated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 121, - 15 - ], - [ - 124, - 1 - ] - ], - "doc": "~Private~" - } - }, - "124": { - "25": { - "name": "onActiveStatusChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "active" - ], - "range": [ - [ - 124, - 25 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "15": { - "name": "getNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 15 - ], - [ - 139, - 1 - ] - ], - "doc": "Public: Returns the next pane, ordered by creation. " - } - }, - "139": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 139, - 21 - ], - [ - 142, - 1 - ] - ], - "doc": "~Private~" - } - }, - "142": { - "23": { - "name": "onActiveItemChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 142, - 23 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "15": { - "name": "onItemAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index" - ], - "range": [ - [ - 158, - 15 - ], - [ - 161, - 1 - ] - ], - "doc": "~Private~" - } - }, - "161": { - "17": { - "name": "onItemRemoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index", - "destroyed" - ], - "range": [ - [ - 161, - 17 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "15": { - "name": "onItemMoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "newIndex" - ], - "range": [ - [ - 175, - 15 - ], - [ - 178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "178": { - "25": { - "name": "onBeforeItemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 178, - 25 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "26": { - "name": "activeItemTitleChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 182, - 26 - ], - [ - 185, - 1 - ] - ], - "doc": "~Private~" - } - }, - "185": { - "15": { - "name": "viewForItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 185, - 15 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "199": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 199, - 13 - ], - [ - 199, - 57 - ] - ], - "doc": "~Private~" - } - }, - "201": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 201, - 14 - ], - [ - 201, - 59 - ] - ], - "doc": "~Private~" - } - }, - "203": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 203, - 11 - ], - [ - 203, - 53 - ] - ], - "doc": "~Private~" - } - }, - "205": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 205, - 13 - ], - [ - 205, - 57 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "16": { - "name": "getContainer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": " Public: Get the container view housing this pane.\n\nReturns a {View}. " - } - }, - "213": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 16 - ], - [ - 216, - 1 - ] - ], - "doc": "~Private~" - } - }, - "216": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "keepData" - ], - "range": [ - [ - 216, - 10 - ], - [ - 219, - 9 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 14 - }, - "./build/src/pane.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "find", - "exportsProperty": "find" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 13 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "compact", - "exportsProperty": "compact" - }, - "16": { - "type": "import", - "range": [ - [ - 0, - 16 - ], - [ - 0, - 21 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "extend", - "exportsProperty": "extend" - }, - "24": { - "type": "import", - "range": [ - [ - 0, - 24 - ], - [ - 0, - 27 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "last", - "exportsProperty": "last" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Model", - "exportsProperty": "Model" - }, - "8": { - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 15 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Sequence", - "exportsProperty": "Sequence" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@^1" - } - }, - "3": { - "11": { - "name": "PaneAxis", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-axis" - } - }, - "4": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "5": { - "11": { - "type": "primitive", - "range": [ - [ - 5, - 11 - ], - [ - 5, - 14 - ] - ] - } - }, - "11": { - "0": { - "type": "class", - "name": "Pane", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 43, - 19 - ], - [ - 50, - 21 - ], - [ - 57, - 16 - ], - [ - 59, - 12 - ], - [ - 62, - 9 - ], - [ - 67, - 8 - ], - [ - 73, - 12 - ], - [ - 77, - 12 - ], - [ - 82, - 12 - ], - [ - 88, - 17 - ], - [ - 93, - 19 - ], - [ - 97, - 15 - ], - [ - 101, - 20 - ], - [ - 109, - 24 - ], - [ - 117, - 22 - ], - [ - 121, - 23 - ], - [ - 125, - 16 - ], - [ - 137, - 11 - ], - [ - 154, - 12 - ], - [ - 159, - 14 - ], - [ - 175, - 12 - ], - [ - 182, - 18 - ], - [ - 187, - 21 - ], - [ - 193, - 15 - ], - [ - 204, - 16 - ], - [ - 208, - 24 - ], - [ - 211, - 11 - ], - [ - 218, - 13 - ], - [ - 224, - 20 - ], - [ - 239, - 18 - ], - [ - 243, - 20 - ], - [ - 251, - 12 - ], - [ - 263, - 14 - ], - [ - 273, - 13 - ], - [ - 278, - 14 - ], - [ - 283, - 22 - ], - [ - 290, - 18 - ], - [ - 300, - 13 - ], - [ - 309, - 14 - ], - [ - 318, - 11 - ], - [ - 327, - 13 - ], - [ - 330, - 9 - ], - [ - 344, - 23 - ], - [ - 356, - 32 - ] - ], - "doc": " Public: A container for multiple items, one of which is *active* at a given\ntime. With the default packages, a tab is displayed for each item and the\nactive item's view is displayed. ", - "range": [ - [ - 11, - 0 - ], - [ - 364, - 19 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 29, - 15 - ], - [ - 43, - 1 - ] - ], - "doc": "~Private~" - } - }, - "43": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 19 - ], - [ - 50, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during serialization. " - } - }, - "50": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 50, - 21 - ], - [ - 57, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during deserialization. " - } - }, - "57": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 16 - ], - [ - 57, - 51 - ] - ], - "doc": "Private: Called by the view layer to construct a view for this model. " - } - }, - "59": { - "12": { - "name": "isActive", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 12 - ], - [ - 59, - 21 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 62, - 9 - ], - [ - 67, - 1 - ] - ], - "doc": "Private: Called by the view layer to indicate that the pane has gained focus. " - } - }, - "67": { - "8": { - "name": "blur", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 8 - ], - [ - 73, - 1 - ] - ], - "doc": "Private: Called by the view layer to indicate that the pane has lost focus. " - } - }, - "73": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 12 - ], - [ - 77, - 1 - ] - ], - "doc": " Public: Makes this pane the *active* pane, causing it to gain focus\nimmediately. " - } - }, - "77": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 77, - 12 - ], - [ - 77, - 20 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "12": { - "name": "getItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 12 - ], - [ - 88, - 1 - ] - ], - "doc": " Public: Get the items in this pane.\n\nReturns an {Array} of items. " - } - }, - "88": { - "17": { - "name": "getActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 17 - ], - [ - 93, - 1 - ] - ], - "doc": " Public: Get the active pane item in this pane.\n\nReturns a pane item. " - } - }, - "93": { - "19": { - "name": "getActiveEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 93, - 19 - ], - [ - 97, - 1 - ] - ], - "doc": " Public: Returns an {Editor} if the pane item is an {Editor}, or null\notherwise. " - } - }, - "97": { - "15": { - "name": "itemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 97, - 15 - ], - [ - 101, - 1 - ] - ], - "doc": "Public: Returns the item at the specified index. " - } - }, - "101": { - "20": { - "name": "activateNextItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 20 - ], - [ - 109, - 1 - ] - ], - "doc": "Public: Makes the next item active. " - } - }, - "109": { - "24": { - "name": "activatePreviousItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 24 - ], - [ - 117, - 1 - ] - ], - "doc": "Public: Makes the previous item active. " - } - }, - "117": { - "22": { - "name": "getActiveItemIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 22 - ], - [ - 121, - 1 - ] - ], - "doc": "Private: Returns the index of the current active item. " - } - }, - "121": { - "23": { - "name": "activateItemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 121, - 23 - ], - [ - 125, - 1 - ] - ], - "doc": "Private: Makes the item at the given index active. " - } - }, - "125": { - "16": { - "name": "activateItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 125, - 16 - ], - [ - 137, - 1 - ] - ], - "doc": "Private: Makes the given item active, adding the item if necessary. " - } - }, - "137": { - "11": { - "name": "addItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index" - ], - "range": [ - [ - 137, - 11 - ], - [ - 154, - 1 - ] - ], - "doc": " Public: Adds the item to the pane.\n\nitem - The item to add. It can be a model with an associated view or a view.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns the added item " - } - }, - "154": { - "12": { - "name": "addItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items", - "index" - ], - "range": [ - [ - 154, - 12 - ], - [ - 159, - 1 - ] - ], - "doc": " Public: Adds the given items to the pane.\n\nitems - An {Array} of items to add. Items can be models with associated\n views or views. Any items that are already present in items will\n not be added.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns an {Array} of the added items " - } - }, - "159": { - "14": { - "name": "removeItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "destroying" - ], - "range": [ - [ - 159, - 14 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "12": { - "name": "moveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "newIndex" - ], - "range": [ - [ - 175, - 12 - ], - [ - 182, - 1 - ] - ], - "doc": "Public: Moves the given item to the specified index. " - } - }, - "182": { - "18": { - "name": "moveItemToPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "pane", - "index" - ], - "range": [ - [ - 182, - 18 - ], - [ - 187, - 1 - ] - ], - "doc": "Public: Moves the given item to the given index at another pane. " - } - }, - "187": { - "21": { - "name": "destroyActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 187, - 21 - ], - [ - 193, - 1 - ] - ], - "doc": "Public: Destroys the currently active item and make the next item active. " - } - }, - "193": { - "15": { - "name": "destroyItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 193, - 15 - ], - [ - 204, - 1 - ] - ], - "doc": " Public: Destroys the given item. If it is the active item, activate the next\none. If this is the last item, also destroys the pane. " - } - }, - "204": { - "16": { - "name": "destroyItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 204, - 16 - ], - [ - 208, - 1 - ] - ], - "doc": "Public: Destroys all items and destroys the pane. " - } - }, - "208": { - "24": { - "name": "destroyInactiveItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 208, - 24 - ], - [ - 211, - 1 - ] - ], - "doc": "Public: Destroys all items but the active one. " - } - }, - "211": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 211, - 11 - ], - [ - 218, - 1 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 218, - 13 - ], - [ - 224, - 1 - ] - ], - "doc": "Private: Called by model superclass. " - } - }, - "224": { - "20": { - "name": "promptToSaveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 224, - 20 - ], - [ - 239, - 1 - ] - ], - "doc": " Public: Prompts the user to save the given item if it can be saved and is\ncurrently unsaved. " - } - }, - "239": { - "18": { - "name": "saveActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 239, - 18 - ], - [ - 243, - 1 - ] - ], - "doc": "Public: Saves the active item. " - } - }, - "243": { - "20": { - "name": "saveActiveItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 243, - 20 - ], - [ - 251, - 1 - ] - ], - "doc": "Public: Saves the active item at a prompted-for location. " - } - }, - "251": { - "12": { - "name": "saveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "nextAction" - ], - "range": [ - [ - 251, - 12 - ], - [ - 263, - 1 - ] - ], - "doc": " Public: Saves the specified item.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " - } - }, - "263": { - "14": { - "name": "saveItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "nextAction" - ], - "range": [ - [ - 263, - 14 - ], - [ - 273, - 1 - ] - ], - "doc": " Public: Saves the given item at a prompted-for location.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " - } - }, - "273": { - "13": { - "name": "saveItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 273, - 13 - ], - [ - 278, - 1 - ] - ], - "doc": "Public: Saves all items. " - } - }, - "278": { - "14": { - "name": "itemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 278, - 14 - ], - [ - 283, - 1 - ] - ], - "doc": " Public: Returns the first item that matches the given URI or undefined if\nnone exists. " - } - }, - "283": { - "22": { - "name": "activateItemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 283, - 22 - ], - [ - 290, - 1 - ] - ], - "doc": " Public: Activates the first item that matches the given URI. Returns a\nboolean indicating whether a matching item was found. " - } - }, - "290": { - "18": { - "name": "copyActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 290, - 18 - ], - [ - 300, - 1 - ] - ], - "doc": "~Private~" - } - }, - "300": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 300, - 13 - ], - [ - 309, - 1 - ] - ], - "doc": " Public: Creates a new pane to the left of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "309": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 309, - 14 - ], - [ - 318, - 1 - ] - ], - "doc": " Public: Creates a new pane to the right of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "318": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 318, - 11 - ], - [ - 327, - 1 - ] - ], - "doc": " Public: Creates a new pane above the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "327": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 327, - 13 - ], - [ - 330, - 1 - ] - ], - "doc": " Public: Creates a new pane below the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "330": { - "9": { - "name": "split", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "orientation", - "side", - "params" - ], - "range": [ - [ - 330, - 9 - ], - [ - 344, - 1 - ] - ], - "doc": "~Private~" - } - }, - "344": { - "23": { - "name": "findLeftmostSibling", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 344, - 23 - ], - [ - 356, - 1 - ] - ], - "doc": " Private: If the parent is a horizontal axis, returns its first child if it is a pane;\notherwise returns this pane. " - } - }, - "356": { - "32": { - "name": "findOrCreateRightmostSibling", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 356, - 32 - ], - [ - 364, - 19 - ] - ], - "doc": " Private: If the parent is a horizontal axis, returns its last child if it is a pane;\notherwise returns a new pane created by splitting this pane rightward. " - } - } - }, - "exports": 11 - }, - "./build/src/project.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q@^1.0.1" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Model", - "exportsProperty": "Model" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "9": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 9, - 15 - ], - [ - 9, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@^1" - } - }, - "10": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0" - } - }, - "11": { - "1": { - "type": "import", - "range": [ - [ - 11, - 1 - ], - [ - 11, - 9 - ] - ], - "bindingType": "variable", - "module": "pathwatcher@^2.0.6", - "name": "Directory", - "exportsProperty": "Directory" - } - }, - "13": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 13, - 9 - ], - [ - 13, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "14": { - "7": { - "name": "Task", - "type": "import", - "range": [ - [ - 14, - 7 - ], - [ - 14, - 22 - ] - ], - "bindingType": "variable", - "path": "./task" - } - }, - "15": { - "6": { - "name": "Git", - "type": "import", - "range": [ - [ - 15, - 6 - ], - [ - 15, - 20 - ] - ], - "bindingType": "variable", - "path": "./git" - } - }, - "21": { - "0": { - "type": "class", - "name": "Project", - "bindingType": "exports", - "classProperties": [ - [ - 26, - 25 - ] - ], - "prototypeProperties": [ - [ - 31, - 15 - ], - [ - 40, - 19 - ], - [ - 44, - 21 - ], - [ - 48, - 13 - ], - [ - 52, - 15 - ], - [ - 57, - 28 - ], - [ - 61, - 11 - ], - [ - 64, - 11 - ], - [ - 68, - 11 - ], - [ - 85, - 20 - ], - [ - 95, - 11 - ], - [ - 109, - 14 - ], - [ - 114, - 12 - ], - [ - 124, - 8 - ], - [ - 130, - 12 - ], - [ - 139, - 14 - ], - [ - 143, - 18 - ], - [ - 146, - 21 - ], - [ - 150, - 21 - ], - [ - 163, - 17 - ], - [ - 168, - 15 - ], - [ - 172, - 19 - ], - [ - 184, - 15 - ], - [ - 194, - 13 - ], - [ - 198, - 20 - ], - [ - 207, - 16 - ], - [ - 211, - 23 - ], - [ - 221, - 8 - ], - [ - 268, - 11 - ], - [ - 300, - 24 - ], - [ - 304, - 14 - ], - [ - 315, - 18 - ], - [ - 320, - 20 - ], - [ - 325, - 14 - ], - [ - 330, - 14 - ] - ], - "doc": " Public: Represents a project that's opened in Atom.\n\nAn instance of this class is always available as the `atom.project` global. ", - "range": [ - [ - 21, - 0 - ], - [ - 332, - 31 - ] - ] - } - }, - "26": { - "25": { - "name": "pathForRepositoryUrl", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "repoUrl" - ], - "range": [ - [ - 26, - 25 - ], - [ - 31, - 1 - ] - ], - "doc": "Public: Find the local path for the given repository URL. " - } - }, - "31": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 31, - 15 - ], - [ - 40, - 1 - ] - ], - "doc": "~Private~" - } - }, - "40": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 40, - 19 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 44, - 21 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 13 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "15": { - "name": "destroyRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 15 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "28": { - "name": "destroyUnretainedBuffers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 28 - ], - [ - 61, - 1 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "11": { - "name": "getRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 11 - ], - [ - 61, - 18 - ] - ], - "doc": "Public: Returns the {Git} repository if available. " - } - }, - "64": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 11 - ], - [ - 68, - 1 - ] - ], - "doc": "Public: Returns the project's fullpath. " - } - }, - "68": { - "11": { - "name": "setPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "projectPath" - ], - "range": [ - [ - 68, - 11 - ], - [ - 85, - 1 - ] - ], - "doc": "Public: Sets the project's fullpath. " - } - }, - "85": { - "20": { - "name": "getRootDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 85, - 20 - ], - [ - 95, - 1 - ] - ], - "doc": "Public: Returns the root {Directory} object for this project. " - } - }, - "95": { - "11": { - "name": "resolve", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 95, - 11 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Given a uri, this resolves it relative to the project directory. If\nthe path is already absolute or if it is prefixed with a scheme, it is\nreturned unchanged.\n\nuri - The {String} name of the path to convert.\n\nReturns a {String} or undefined if the uri is not missing or empty. " - } - }, - "109": { - "14": { - "name": "relativize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fullPath" - ], - "range": [ - [ - 109, - 14 - ], - [ - 114, - 1 - ] - ], - "doc": "Public: Make the given path relative to the project directory. " - } - }, - "114": { - "12": { - "name": "contains", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToCheck" - ], - "range": [ - [ - 114, - 12 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Returns whether the given path is inside this project. " - } - }, - "124": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "options" - ], - "range": [ - [ - 124, - 8 - ], - [ - 130, - 1 - ] - ], - "doc": " Private: Given a path to a file, this constructs and associates a new\n{Editor}, showing the file.\n\nfilePath - The {String} path of the file to associate with.\noptions - Options that you can pass to the {Editor} constructor.\n\nReturns a promise that resolves to an {Editor}. " - } - }, - "130": { - "12": { - "name": "openSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "options" - ], - "range": [ - [ - 130, - 12 - ], - [ - 139, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "139": { - "14": { - "name": "getBuffers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 139, - 14 - ], - [ - 143, - 1 - ] - ], - "doc": " Private: Retrieves all the {TextBuffer}s in the project; that is, the\nbuffers for all open files.\n\nReturns an {Array} of {TextBuffer}s. " - } - }, - "143": { - "18": { - "name": "isPathModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 143, - 18 - ], - [ - 146, - 1 - ] - ], - "doc": "Private: Is the buffer for the given path modified? " - } - }, - "146": { - "21": { - "name": "findBufferForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 146, - 21 - ], - [ - 150, - 1 - ] - ], - "doc": "~Private~" - } - }, - "150": { - "21": { - "name": "bufferForPathSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 150, - 21 - ], - [ - 163, - 1 - ] - ], - "doc": "Private: Only to be used in specs " - } - }, - "163": { - "17": { - "name": "bufferForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 163, - 17 - ], - [ - 168, - 1 - ] - ], - "doc": " Private: Given a file path, this retrieves or creates a new {TextBuffer}.\n\nIf the `filePath` already has a `buffer`, that value is used instead. Otherwise,\n`text` is used as the contents of the new buffer.\n\nfilePath - A {String} representing a path. If `null`, an \"Untitled\" buffer is created.\n\nReturns a promise that resolves to the {TextBuffer}. " - } - }, - "168": { - "15": { - "name": "bufferForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 168, - 15 - ], - [ - 172, - 1 - ] - ], - "doc": "~Private~" - } - }, - "172": { - "19": { - "name": "buildBufferSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "absoluteFilePath" - ], - "range": [ - [ - 172, - 19 - ], - [ - 184, - 1 - ] - ], - "doc": "Private: Still needed when deserializing a tokenized buffer " - } - }, - "184": { - "15": { - "name": "buildBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "absoluteFilePath" - ], - "range": [ - [ - 184, - 15 - ], - [ - 194, - 1 - ] - ], - "doc": " Private: Given a file path, this sets its {TextBuffer}.\n\nabsoluteFilePath - A {String} representing a path.\ntext - The {String} text to use as a buffer.\n\nReturns a promise that resolves to the {TextBuffer}. " - } - }, - "194": { - "13": { - "name": "addBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "options" - ], - "range": [ - [ - 194, - 13 - ], - [ - 198, - 1 - ] - ], - "doc": "~Private~" - } - }, - "198": { - "20": { - "name": "addBufferAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "index", - "options" - ], - "range": [ - [ - 198, - 20 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "16": { - "name": "removeBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer" - ], - "range": [ - [ - 207, - 16 - ], - [ - 211, - 1 - ] - ], - "doc": " Private: Removes a {TextBuffer} association from the project.\n\nReturns the removed {TextBuffer}. " - } - }, - "211": { - "23": { - "name": "removeBufferAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index", - "options" - ], - "range": [ - [ - 211, - 23 - ], - [ - 221, - 1 - ] - ], - "doc": "~Private~" - } - }, - "221": { - "8": { - "name": "scan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "options", - "iterator" - ], - "range": [ - [ - 221, - 8 - ], - [ - 268, - 1 - ] - ], - "doc": " Public: Performs a search across all the files in the project.\n\nregex - A {RegExp} to search with.\noptions - An optional options {Object} (default: {}):\n :paths - An {Array} of glob patterns to search within\niterator - A {Function} callback on each file found " - } - }, - "268": { - "11": { - "name": "replace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "replacementText", - "filePaths", - "iterator" - ], - "range": [ - [ - 268, - 11 - ], - [ - 300, - 1 - ] - ], - "doc": " Public: Performs a replace across all the specified files in the project.\n\nregex - A {RegExp} to search with.\nreplacementText - Text to replace all matches of regex with\nfilePaths - List of file path strings to run the replace on.\niterator - A {Function} callback on each file with replacements:\n `({filePath, replacements}) ->`. " - } - }, - "300": { - "24": { - "name": "buildEditorForBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "editorOptions" - ], - "range": [ - [ - 300, - 24 - ], - [ - 304, - 1 - ] - ], - "doc": "~Private~" - } - }, - "304": { - "14": { - "name": "eachBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 304, - 14 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "18": { - "name": "registerOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 315, - 18 - ], - [ - 320, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "320": { - "20": { - "name": "unregisterOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 320, - 20 - ], - [ - 325, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "325": { - "14": { - "name": "eachEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 325, - 14 - ], - [ - 330, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "330": { - "14": { - "name": "getEditors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 330, - 14 - ], - [ - 332, - 31 - ] - ], - "doc": "Deprecated: delegate " - } - } - }, - "exports": 21 - }, - "./build/src/react-editor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "space-pen@3.2.0", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "module": "space-pen@3.2.0", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork@^0.11.1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "defaults", - "exportsProperty": "defaults" - } - }, - "3": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 3, - 13 - ], - [ - 3, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0" - } - }, - "4": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "5": { - "18": { - "name": "EditorComponent", - "type": "import", - "range": [ - [ - 5, - 18 - ], - [ - 5, - 45 - ] - ], - "bindingType": "variable", - "path": "./editor-component" - } - }, - "8": { - "0": { - "type": "class", - "name": "ReactEditorView", - "bindingType": "exports", - "classProperties": [ - [ - 9, - 12 - ] - ], - "prototypeProperties": [ - [ - 14, - 17 - ], - [ - 16, - 15 - ], - [ - 58, - 13 - ], - [ - 60, - 12 - ], - [ - 69, - 15 - ], - [ - 77, - 13 - ], - [ - 83, - 14 - ], - [ - 89, - 18 - ], - [ - 92, - 26 - ], - [ - 95, - 26 - ], - [ - 98, - 26 - ], - [ - 101, - 25 - ], - [ - 105, - 34 - ], - [ - 108, - 34 - ], - [ - 111, - 21 - ], - [ - 116, - 16 - ], - [ - 122, - 13 - ], - [ - 127, - 14 - ], - [ - 132, - 11 - ], - [ - 137, - 13 - ], - [ - 141, - 11 - ], - [ - 144, - 9 - ], - [ - 150, - 8 - ], - [ - 154, - 8 - ], - [ - 158, - 20 - ], - [ - 165, - 12 - ], - [ - 168, - 10 - ], - [ - 171, - 12 - ], - [ - 174, - 28 - ], - [ - 177, - 27 - ], - [ - 180, - 17 - ], - [ - 183, - 17 - ], - [ - 186, - 15 - ], - [ - 189, - 15 - ], - [ - 192, - 19 - ], - [ - 195, - 17 - ], - [ - 198, - 22 - ], - [ - 201, - 15 - ], - [ - 204, - 21 - ], - [ - 207, - 18 - ], - [ - 210, - 18 - ], - [ - 213, - 11 - ], - [ - 216, - 11 - ], - [ - 219, - 14 - ], - [ - 222, - 18 - ], - [ - 225, - 19 - ], - [ - 228, - 24 - ], - [ - 230, - 17 - ], - [ - 232, - 16 - ], - [ - 234, - 10 - ], - [ - 236, - 22 - ], - [ - 242, - 27 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 243, - 49 - ] - ] - } - }, - "9": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 9, - 12 - ], - [ - 14, - 1 - ] - ] - } - }, - "14": { - "17": { - "name": "focusOnAttach", - "type": "primitive", - "range": [ - [ - 14, - 17 - ], - [ - 14, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorOrParams", - "props" - ], - "range": [ - [ - 16, - 15 - ], - [ - 58, - 1 - ] - ], - "doc": "~Private~" - } - }, - "58": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 58, - 13 - ], - [ - 58, - 22 - ] - ], - "doc": "~Private~" - } - }, - "69": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 69, - 15 - ], - [ - 77, - 1 - ] - ], - "doc": "~Private~" - } - }, - "77": { - "13": { - "name": "scrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 77, - 13 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "14": { - "name": "scrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 83, - 14 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "18": { - "name": "scrollToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 18 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 92, - 26 - ], - [ - 95, - 1 - ] - ], - "doc": "~Private~" - } - }, - "95": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 95, - 26 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 26 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "scrollToPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 101, - 25 - ], - [ - 105, - 1 - ] - ], - "doc": "~Private~" - } - }, - "105": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 105, - 34 - ], - [ - 108, - 1 - ] - ], - "doc": "~Private~" - } - }, - "108": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 108, - 34 - ], - [ - 111, - 1 - ] - ], - "doc": "~Private~" - } - }, - "111": { - "21": { - "name": "appendToLinesView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 111, - 21 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 16 - ], - [ - 122, - 1 - ] - ], - "doc": "~Private~" - } - }, - "122": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 122, - 13 - ], - [ - 127, - 1 - ] - ], - "doc": "Public: Split the editor view left. " - } - }, - "127": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 127, - 14 - ], - [ - 132, - 1 - ] - ], - "doc": "Public: Split the editor view right. " - } - }, - "132": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 132, - 11 - ], - [ - 137, - 1 - ] - ], - "doc": "Public: Split the editor view up. " - } - }, - "137": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 13 - ], - [ - 141, - 1 - ] - ], - "doc": "Public: Split the editor view down. " - } - }, - "141": { - "11": { - "name": "getPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 11 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 144, - 9 - ], - [ - 150, - 1 - ] - ], - "doc": "~Private~" - } - }, - "150": { - "8": { - "name": "hide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 150, - 8 - ], - [ - 154, - 1 - ] - ], - "doc": "~Private~" - } - }, - "154": { - "8": { - "name": "show", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 8 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "20": { - "name": "pollComponentDOM", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 20 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 12 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 10 - ], - [ - 171, - 1 - ] - ], - "doc": "~Private~" - } - }, - "171": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 12 - ], - [ - 174, - 1 - ] - ], - "doc": "~Private~" - } - }, - "174": { - "28": { - "name": "getFirstVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 174, - 28 - ], - [ - 177, - 1 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "27": { - "name": "getLastVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 27 - ], - [ - 180, - 1 - ] - ], - "doc": "~Private~" - } - }, - "180": { - "17": { - "name": "getFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 180, - 17 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "17": { - "name": "setFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 183, - 17 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "15": { - "name": "getFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 186, - 15 - ], - [ - 189, - 1 - ] - ], - "doc": "~Private~" - } - }, - "189": { - "15": { - "name": "setFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 189, - 15 - ], - [ - 192, - 1 - ] - ], - "doc": "~Private~" - } - }, - "192": { - "19": { - "name": "setWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "widthInChars" - ], - "range": [ - [ - 192, - 19 - ], - [ - 195, - 1 - ] - ], - "doc": "~Private~" - } - }, - "195": { - "17": { - "name": "setLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 195, - 17 - ], - [ - 198, - 1 - ] - ], - "doc": "~Private~" - } - }, - "198": { - "22": { - "name": "setShowIndentGuide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showIndentGuide" - ], - "range": [ - [ - 198, - 22 - ], - [ - 201, - 1 - ] - ], - "doc": "~Private~" - } - }, - "201": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 201, - 15 - ], - [ - 204, - 1 - ] - ], - "doc": "~Private~" - } - }, - "204": { - "21": { - "name": "setShowInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showInvisibles" - ], - "range": [ - [ - 204, - 21 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 207, - 18 - ], - [ - 210, - 1 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 18 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 11 - ], - [ - 216, - 1 - ] - ], - "doc": "~Private~" - } - }, - "216": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 216, - 11 - ], - [ - 219, - 1 - ] - ], - "doc": "~Private~" - } - }, - "219": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 219, - 14 - ], - [ - 222, - 1 - ] - ], - "doc": "~Private~" - } - }, - "222": { - "18": { - "name": "isInputEnabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 222, - 18 - ], - [ - 225, - 1 - ] - ], - "doc": "~Private~" - } - }, - "225": { - "19": { - "name": "setInputEnabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "inputEnabled" - ], - "range": [ - [ - 225, - 19 - ], - [ - 228, - 1 - ] - ], - "doc": "~Private~" - } - }, - "228": { - "24": { - "name": "requestDisplayUpdate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 228, - 24 - ], - [ - 228, - 25 - ] - ], - "doc": "~Private~" - } - }, - "230": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 230, - 17 - ], - [ - 230, - 18 - ] - ], - "doc": "~Private~" - } - }, - "232": { - "16": { - "name": "resetDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 232, - 16 - ], - [ - 232, - 17 - ] - ], - "doc": "~Private~" - } - }, - "234": { - "10": { - "name": "redraw", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 10 - ], - [ - 234, - 11 - ] - ], - "doc": "~Private~" - } - }, - "236": { - "22": { - "name": "setPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "placeholderText" - ], - "range": [ - [ - 236, - 22 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "27": { - "name": "lineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 242, - 27 - ], - [ - 243, - 49 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "./build/src/replace-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "scandal@1.0.0", - "name": "PathReplacer", - "exportsProperty": "PathReplacer" - } - } - }, - "exports": 2 - }, - "./build/src/repository-status-handler.coffee": { - "objects": { - "0": { - "6": { - "name": "Git", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "git-utils@^2.1.3" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - } - }, - "exports": 3 - }, - "./build/src/row-map.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 15 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "spliceWithArray", - "exportsProperty": "spliceWithArray" - } - }, - "16": { - "0": { - "type": "class", - "name": "RowMap", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 15 - ], - [ - 21, - 14 - ], - [ - 27, - 30 - ], - [ - 40, - 30 - ], - [ - 50, - 30 - ], - [ - 61, - 17 - ], - [ - 83, - 23 - ], - [ - 93, - 23 - ], - [ - 103, - 35 - ], - [ - 116, - 11 - ] - ], - "doc": " Private: Used by the display buffer to map screen rows to buffer rows and vice-versa.\nThis mapping may not be 1:1 due to folds and soft-wraps. This object maintains\nan array of regions, which contain `bufferRows` and `screenRows` fields.\n\nRectangular Regions:\nIf a region has the same number of buffer rows and screen rows, it is referred\nto as \"rectangular\", and represents one or more non-soft-wrapped, non-folded\nlines.\n\nTrapezoidal Regions:\nIf a region has one buffer row and more than one screen row, it represents a\nsoft-wrapped line. If a region has one screen row and more than one buffer\nrow, it represents folded lines ", - "range": [ - [ - 16, - 0 - ], - [ - 118, - 35 - ] - ] - } - }, - "17": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 15 - ], - [ - 21, - 1 - ] - ] - } - }, - "21": { - "14": { - "name": "getRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 14 - ], - [ - 27, - 1 - ] - ], - "doc": "Public: Returns a copy of all the regions in the map " - } - }, - "27": { - "30": { - "name": "screenRowRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 27, - 30 - ], - [ - 40, - 1 - ] - ], - "doc": " Public: Returns an end-row-exclusive range of screen rows corresponding to\nthe given buffer row. If the buffer row is soft-wrapped, the range may span\nmultiple screen rows. Otherwise it will span a single screen row. " - } - }, - "40": { - "30": { - "name": "bufferRowRangeForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetScreenRow" - ], - "range": [ - [ - 40, - 30 - ], - [ - 50, - 1 - ] - ], - "doc": " Public: Returns an end-row-exclusive range of buffer rows corresponding to\nthe given screen row. If the screen row is the first line of a folded range\nof buffer rows, the range may span multiple buffer rows. Otherwise it will\nspan a single buffer row. " - } - }, - "50": { - "30": { - "name": "bufferRowRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 50, - 30 - ], - [ - 61, - 1 - ] - ], - "doc": " Public: If the given buffer row is part of a folded row range, returns that\nrow range. Otherwise returns a range spanning only the given buffer row. " - } - }, - "61": { - "17": { - "name": "spliceRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "bufferRowCount", - "regions" - ], - "range": [ - [ - 61, - 17 - ], - [ - 83, - 1 - ] - ], - "doc": " Public: Given a starting buffer row, the number of buffer rows to replace,\nand an array of regions of shape {bufferRows: n, screenRows: m}, splices\nthe regions at the appropriate location in the map. This method is used by\ndisplay buffer to keep the map updated when the underlying buffer changes. " - } - }, - "83": { - "23": { - "name": "traverseToBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 83, - 23 - ], - [ - 93, - 1 - ] - ], - "doc": "~Private~" - } - }, - "93": { - "23": { - "name": "traverseToScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetScreenRow" - ], - "range": [ - [ - 93, - 23 - ], - [ - 103, - 1 - ] - ], - "doc": "~Private~" - } - }, - "103": { - "35": { - "name": "mergeAdjacentRectangularRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startIndex", - "endIndex" - ], - "range": [ - [ - 103, - 35 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 11 - ], - [ - 118, - 35 - ] - ], - "doc": "Public: Returns an array of strings describing the map's regions. " - } - } - }, - "exports": 16 - }, - "./build/src/scan-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "scandal@1.0.0", - "name": "PathSearcher", - "exportsProperty": "PathSearcher" - }, - "15": { - "type": "import", - "range": [ - [ - 0, - 15 - ], - [ - 0, - 25 - ] - ], - "bindingType": "variable", - "module": "scandal@1.0.0", - "name": "PathScanner", - "exportsProperty": "PathScanner" - }, - "28": { - "type": "import", - "range": [ - [ - 0, - 28 - ], - [ - 0, - 33 - ] - ], - "bindingType": "variable", - "module": "scandal@1.0.0", - "name": "search", - "exportsProperty": "search" - } - } - }, - "exports": 2 - }, - "./build/src/scoped-properties.coffee": { - "objects": { - "0": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1.0.2" - } - }, - "3": { - "0": { - "type": "class", - "name": "ScopedProperties", - "bindingType": "exports", - "classProperties": [ - [ - 4, - 9 - ] - ], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 13, - 12 - ], - [ - 17, - 14 - ] - ], - "doc": "~Private~", - "range": [ - [ - 3, - 0 - ], - [ - 18, - 39 - ] - ] - } - }, - "4": { - "9": { - "name": "load", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "scopedPropertiesPath", - "callback" - ], - "range": [ - [ - 4, - 9 - ], - [ - 11, - 1 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 11, - 43 - ] - ], - "doc": "~Private~" - } - }, - "13": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 12 - ], - [ - 17, - 1 - ] - ], - "doc": "~Private~" - } - }, - "17": { - "14": { - "name": "deactivate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 14 - ], - [ - 18, - 39 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 3 - }, - "./build/src/scroll-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "21": { - "0": { - "type": "class", - "name": "ScrollView", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 22, - 14 - ] - ], - "doc": " Public: Represents a view that scrolls.\n\nSubclasses must call `super` if overriding the `initialize` method or else\nthe following events won't be handled by the ScrollView.\n\n## Events\n * `core:move-up`\n * `core:move-down`\n * `core:page-up`\n * `core:page-down`\n * `core:move-to-top`\n * `core:move-to-bottom`\n\n## Requiring in packages\n\n```coffee\n {ScrollView} = require 'atom'\n``` ", - "range": [ - [ - 21, - 0 - ], - [ - 28, - 51 - ] - ] - } - }, - "22": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 22, - 14 - ], - [ - 28, - 51 - ] - ] - } - } - }, - "exports": 21 - }, - "./build/src/scrollbar-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork@^0.11.1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork@^1.0.0", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 6 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "extend", - "exportsProperty": "extend" - }, - "9": { - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "21": { - "name": "ScrollbarComponent", - "type": "function", - "range": [ - [ - 5, - 21 - ], - [ - 69, - 28 - ] - ] - } - }, - "6": { - "15": { - "name": "'ScrollbarComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 34 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 21 - ], - [ - 36, - 1 - ] - ], - "doc": null - } - }, - "36": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 36, - 25 - ], - [ - 45, - 1 - ] - ], - "doc": null - } - }, - "45": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 22 - ], - [ - 57, - 1 - ] - ], - "doc": null - } - }, - "57": { - "12": { - "name": "onScroll", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 12 - ], - [ - 69, - 28 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "./build/src/scrollbar-corner-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork@^0.11.1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork@^1.0.0", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "27": { - "name": "ScrollbarCornerComponent", - "type": "function", - "range": [ - [ - 5, - 27 - ], - [ - 23, - 99 - ] - ] - } - }, - "6": { - "15": { - "name": "'ScrollbarCornerComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 40 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 22, - 1 - ] - ], - "doc": null - } - }, - "22": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 22, - 25 - ], - [ - 23, - 99 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "./build/src/select-list-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "4": { - "15": { - "name": "EditorView", - "type": "import", - "range": [ - [ - 4, - 15 - ], - [ - 4, - 37 - ] - ], - "bindingType": "variable", - "path": "./editor-view" - } - }, - "5": { - "14": { - "type": "primitive", - "range": [ - [ - 5, - 14 - ], - [ - 5, - 41 - ] - ] - } - }, - "36": { - "0": { - "type": "class", - "name": "SelectListView", - "bindingType": "exports", - "classProperties": [ - [ - 37, - 12 - ] - ], - "prototypeProperties": [ - [ - 46, - 12 - ], - [ - 47, - 19 - ], - [ - 48, - 17 - ], - [ - 49, - 14 - ], - [ - 55, - 14 - ], - [ - 90, - 24 - ], - [ - 102, - 12 - ], - [ - 109, - 12 - ], - [ - 119, - 14 - ], - [ - 136, - 18 - ], - [ - 143, - 16 - ], - [ - 174, - 19 - ], - [ - 179, - 15 - ], - [ - 181, - 26 - ], - [ - 186, - 22 - ], - [ - 191, - 18 - ], - [ - 197, - 20 - ], - [ - 207, - 23 - ], - [ - 213, - 19 - ], - [ - 216, - 20 - ], - [ - 233, - 15 - ], - [ - 244, - 13 - ], - [ - 258, - 16 - ], - [ - 261, - 21 - ], - [ - 266, - 23 - ], - [ - 269, - 16 - ], - [ - 275, - 13 - ], - [ - 283, - 10 - ] - ], - "doc": " Public: Provides a view that renders a list of items with an editor that\nfilters the items. Used by many packages such as the fuzzy-finder,\ncommand-palette, symbols-view and autocomplete.\n\nSubclasses must implement the following methods:\n\n* {::viewForItem}\n* {::confirmed}\n\n## Requiring in packages\n\n```coffee\n{SelectListView} = require 'atom'\n\nclass MySelectListView extends SelectListView\n initialize: ->\n super\n @addClass('overlay from-top')\n @setItems(['Hello', 'World'])\n atom.workspaceView.append(this)\n @focusFilterEditor()\n\n viewForItem: (item) ->\n \"
  • #{item}
  • \"\n\n confirmed: (item) ->\n console.log(\"#{item} was selected\")\n``` ", - "range": [ - [ - 36, - 0 - ], - [ - 291, - 34 - ] - ] - } - }, - "37": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 37, - 12 - ], - [ - 46, - 1 - ] - ] - } - }, - "46": { - "12": { - "name": "maxItems", - "type": "primitive", - "range": [ - [ - 46, - 12 - ], - [ - 46, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "47": { - "19": { - "name": "scheduleTimeout", - "type": "primitive", - "range": [ - [ - 47, - 19 - ], - [ - 47, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "48": { - "17": { - "name": "inputThrottle", - "type": "primitive", - "range": [ - [ - 48, - 17 - ], - [ - 48, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "49": { - "14": { - "name": "cancelling", - "type": "primitive", - "range": [ - [ - 49, - 14 - ], - [ - 49, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "55": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 14 - ], - [ - 90, - 1 - ] - ], - "doc": " Public: Initialize the select list view.\n\nThis method can be overridden by subclasses but `super` should always\nbe called. " - } - }, - "90": { - "24": { - "name": "schedulePopulateList", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 24 - ], - [ - 102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "102": { - "12": { - "name": "setItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 102, - 12 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Set the array of items to display in the list.\n\nThis should be model items not actual views. {::viewForItem} will be\ncalled to render the item when it is being appended to the list view.\n\nitems - The {Array} of model items to display in the list (default: []). " - } - }, - "109": { - "12": { - "name": "setError", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 109, - 12 - ], - [ - 119, - 1 - ] - ], - "doc": " Public: Set the error message to display.\n\nmessage - The {String} error message (default: ''). " - } - }, - "119": { - "14": { - "name": "setLoading", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 119, - 14 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Set the loading message to display.\n\nmessage - The {String} loading message (default: ''). " - } - }, - "136": { - "18": { - "name": "getFilterQuery", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 18 - ], - [ - 143, - 1 - ] - ], - "doc": " Public: Get the filter query to use when fuzzy filtering the visible\nelements.\n\nBy default this method returns the text in the mini editor but it can be\noverridden by subclasses if needed.\n\nReturns a {String} to use when fuzzy filtering the elements to display. " - } - }, - "143": { - "16": { - "name": "populateList", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 143, - 16 - ], - [ - 174, - 1 - ] - ], - "doc": " Public: Populate the list view with the model items previously set by\ncalling {::setItems}.\n\nSubclasses may override this method but should always call `super`. " - } - }, - "174": { - "19": { - "name": "getEmptyMessage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "itemCount", - "filteredItemCount" - ], - "range": [ - [ - 174, - 19 - ], - [ - 174, - 70 - ] - ], - "doc": " Public: Get the message to display when there are no items.\n\nSubclasses may override this method to customize the message.\n\nitemCount - The {Number} of items in the array specified to {::setItems}\nfilteredItemCount - The {Number} of items that pass the fuzzy filter test.\n\nReturns a {String} message (default: 'No matches found'). " - } - }, - "179": { - "15": { - "name": "setMaxItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 179, - 15 - ], - [ - 179, - 28 - ] - ], - "doc": " Public: Set the maximum numbers of items to display in the list.\n\nmaxItems - The maximum {Number} of items to display. " - } - }, - "181": { - "26": { - "name": "selectPreviousItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 181, - 26 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "22": { - "name": "selectNextItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 186, - 22 - ], - [ - 191, - 1 - ] - ], - "doc": "~Private~" - } - }, - "191": { - "18": { - "name": "selectItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 191, - 18 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "20": { - "name": "scrollToItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 197, - 20 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "23": { - "name": "getSelectedItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 207, - 23 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "19": { - "name": "getSelectedItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 19 - ], - [ - 216, - 1 - ] - ], - "doc": " Public: Get the model item that is currently selected in the list view.\n\nReturns a model item. " - } - }, - "216": { - "20": { - "name": "confirmSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 216, - 20 - ], - [ - 233, - 1 - ] - ], - "doc": "~Private~" - } - }, - "233": { - "15": { - "name": "viewForItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 233, - 15 - ], - [ - 244, - 1 - ] - ], - "doc": " Public: Create a view for the given model item.\n\nThis method must be overridden by subclasses.\n\nThis is called when the item is about to appended to the list view.\n\nitem - The model item being rendered. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a String of HTML, DOM element, jQuery object, or View. " - } - }, - "244": { - "13": { - "name": "confirmed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 244, - 13 - ], - [ - 258, - 1 - ] - ], - "doc": " Public: Callback function for when an item is selected.\n\nThis method must be overridden by subclasses.\n\nitem - The selected model item. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a DOM element, jQuery object, or {View}. " - } - }, - "258": { - "16": { - "name": "getFilterKey", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 258, - 16 - ], - [ - 258, - 17 - ] - ], - "doc": " Public: Get the property name to use when filtering items.\n\nThis method may be overridden by classes to allow fuzzy filtering based\non a specific property of the item objects.\n\nFor example if the objects you pass to {::setItems} are of the type\n`{\"id\": 3, \"name\": \"Atom\"}` then you would return `\"name\"` from this method\nto fuzzy filter by that property when text is entered into this view's\neditor.\n\nReturns the property name to fuzzy filter by. " - } - }, - "261": { - "21": { - "name": "focusFilterEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 21 - ], - [ - 266, - 1 - ] - ], - "doc": "Public: Focus the fuzzy filter editor view. " - } - }, - "266": { - "23": { - "name": "storeFocusedElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 266, - 23 - ], - [ - 269, - 1 - ] - ], - "doc": " Public: Store the currently focused element. This element will be given\nback focus when {::cancel} is called. " - } - }, - "269": { - "16": { - "name": "restoreFocus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 16 - ], - [ - 275, - 1 - ] - ], - "doc": "~Private~" - } - }, - "275": { - "13": { - "name": "cancelled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 275, - 13 - ], - [ - 283, - 1 - ] - ], - "doc": "~Private~" - } - }, - "283": { - "10": { - "name": "cancel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 283, - 10 - ], - [ - 291, - 34 - ] - ], - "doc": " Public: Cancel and close this select list view.\n\nThis restores focus to the previously focused element if\n{::storeFocusedElement} was called prior to this view being attached. " - } - } - }, - "exports": 36 - }, - "./build/src/selection-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 8 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - } - }, - "4": { - "0": { - "type": "class", - "name": "SelectionView", - "bindingType": "exports", - "classProperties": [ - [ - 6, - 12 - ] - ], - "prototypeProperties": [ - [ - 9, - 11 - ], - [ - 10, - 16 - ], - [ - 12, - 14 - ], - [ - 19, - 17 - ], - [ - 37, - 16 - ], - [ - 50, - 26 - ], - [ - 57, - 16 - ], - [ - 61, - 18 - ], - [ - 64, - 18 - ], - [ - 67, - 19 - ], - [ - 70, - 19 - ], - [ - 73, - 13 - ], - [ - 79, - 15 - ], - [ - 82, - 10 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 84, - 9 - ] - ] - } - }, - "6": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 12 - ], - [ - 9, - 1 - ] - ], - "doc": "~Private~" - } - }, - "9": { - "11": { - "name": "regions", - "type": "primitive", - "range": [ - [ - 9, - 11 - ], - [ - 9, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "16": { - "name": "needsRemoval", - "type": "primitive", - "range": [ - [ - 10, - 16 - ], - [ - 10, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 14 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 19, - 17 - ], - [ - 37, - 1 - ] - ], - "doc": "~Private~" - } - }, - "37": { - "16": { - "name": "appendRegion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rows", - "start", - "end" - ], - "range": [ - [ - 37, - 16 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "26": { - "name": "getCenterPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 26 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "16": { - "name": "clearRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 16 - ], - [ - 61, - 1 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 18 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 18 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "19": { - "name": "needsAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 19 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 70, - 19 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "13": { - "name": "highlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 13 - ], - [ - 79, - 1 - ] - ], - "doc": "~Private~" - } - }, - "79": { - "15": { - "name": "unhighlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 15 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 10 - ], - [ - 84, - 9 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "./build/src/selection.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "pick", - "exportsProperty": "pick" - } - }, - "6": { - "0": { - "type": "class", - "name": "Selection", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 7, - 10 - ], - [ - 8, - 10 - ], - [ - 9, - 10 - ], - [ - 10, - 22 - ], - [ - 11, - 12 - ], - [ - 12, - 19 - ], - [ - 14, - 15 - ], - [ - 25, - 11 - ], - [ - 28, - 12 - ], - [ - 34, - 19 - ], - [ - 38, - 11 - ], - [ - 45, - 14 - ], - [ - 49, - 22 - ], - [ - 53, - 18 - ], - [ - 60, - 18 - ], - [ - 64, - 18 - ], - [ - 74, - 18 - ], - [ - 91, - 21 - ], - [ - 98, - 25 - ], - [ - 101, - 25 - ], - [ - 104, - 25 - ], - [ - 107, - 25 - ], - [ - 110, - 14 - ], - [ - 114, - 11 - ], - [ - 118, - 9 - ], - [ - 126, - 14 - ], - [ - 138, - 18 - ], - [ - 144, - 14 - ], - [ - 155, - 18 - ], - [ - 163, - 26 - ], - [ - 184, - 26 - ], - [ - 188, - 15 - ], - [ - 192, - 14 - ], - [ - 196, - 12 - ], - [ - 200, - 14 - ], - [ - 205, - 15 - ], - [ - 210, - 18 - ], - [ - 214, - 13 - ], - [ - 219, - 27 - ], - [ - 224, - 32 - ], - [ - 229, - 21 - ], - [ - 234, - 27 - ], - [ - 239, - 21 - ], - [ - 244, - 31 - ], - [ - 248, - 32 - ], - [ - 252, - 28 - ], - [ - 257, - 36 - ], - [ - 262, - 40 - ], - [ - 266, - 21 - ], - [ - 284, - 22 - ], - [ - 289, - 21 - ], - [ - 316, - 14 - ], - [ - 349, - 20 - ], - [ - 383, - 10 - ], - [ - 399, - 22 - ], - [ - 405, - 25 - ], - [ - 412, - 13 - ], - [ - 417, - 30 - ], - [ - 422, - 30 - ], - [ - 428, - 27 - ], - [ - 434, - 27 - ], - [ - 443, - 10 - ], - [ - 455, - 21 - ], - [ - 462, - 21 - ], - [ - 467, - 22 - ], - [ - 477, - 14 - ], - [ - 496, - 13 - ], - [ - 522, - 23 - ], - [ - 532, - 26 - ], - [ - 542, - 22 - ], - [ - 546, - 18 - ], - [ - 551, - 7 - ], - [ - 561, - 8 - ], - [ - 579, - 8 - ], - [ - 584, - 19 - ], - [ - 595, - 13 - ], - [ - 603, - 25 - ], - [ - 606, - 28 - ], - [ - 609, - 23 - ], - [ - 617, - 18 - ], - [ - 625, - 9 - ], - [ - 641, - 11 - ], - [ - 644, - 22 - ] - ], - "doc": "Public: Represents a selection in the {Editor}. ", - "range": [ - [ - 6, - 0 - ], - [ - 647, - 45 - ] - ] - } - }, - "7": { - "10": { - "name": "cursor", - "type": "primitive", - "range": [ - [ - 7, - 10 - ], - [ - 7, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "8": { - "10": { - "name": "marker", - "type": "primitive", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "10": { - "name": "editor", - "type": "primitive", - "range": [ - [ - 9, - 10 - ], - [ - 9, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "22": { - "name": "initialScreenRange", - "type": "primitive", - "range": [ - [ - 10, - 22 - ], - [ - 10, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "11": { - "12": { - "name": "wordwise", - "type": "primitive", - "range": [ - [ - 11, - 12 - ], - [ - 11, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "19": { - "name": "needsAutoscroll", - "type": "primitive", - "range": [ - [ - 12, - 19 - ], - [ - 12, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 14, - 15 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 11 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "12": { - "name": "finalize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 12 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 19 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "11": { - "name": "isEmpty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 38, - 11 - ], - [ - 45, - 1 - ] - ], - "doc": "Public: Determines if the selection contains anything. " - } - }, - "45": { - "14": { - "name": "isReversed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 14 - ], - [ - 49, - 1 - ] - ], - "doc": " Public: Determines if the ending position of a marker is greater than the\nstarting position.\n\nThis can happen when, for example, you highlight text \"up\" in a {TextBuffer}. " - } - }, - "49": { - "22": { - "name": "isSingleScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 22 - ], - [ - 53, - 1 - ] - ], - "doc": "Public: Returns whether the selection is a single line or not. " - } - }, - "53": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 18 - ], - [ - 60, - 1 - ] - ], - "doc": "Public: Returns the screen {Range} for the selection. " - } - }, - "60": { - "18": { - "name": "setScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 60, - 18 - ], - [ - 64, - 1 - ] - ], - "doc": " Public: Modifies the screen range for the selection.\n\nscreenRange - The new {Range} to use.\noptions - A hash of options matching those found in {::setBufferRange}. " - } - }, - "64": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 18 - ], - [ - 74, - 1 - ] - ], - "doc": "Public: Returns the buffer {Range} for the selection. " - } - }, - "74": { - "18": { - "name": "setBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 74, - 18 - ], - [ - 91, - 1 - ] - ], - "doc": " Public: Modifies the buffer {Range} for the selection.\n\nscreenRange - The new {Range} to select.\noptions - An {Object} with the keys:\n :preserveFolds - if `true`, the fold settings are preserved after the\n selection moves.\n :autoscroll - if `true`, the {Editor} scrolls to the new selection. " - } - }, - "91": { - "21": { - "name": "getBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 21 - ], - [ - 98, - 1 - ] - ], - "doc": " Public: Returns the starting and ending buffer rows the selection is\nhighlighting.\n\nReturns an {Array} of two {Number}s: the starting row, and the ending row. " - } - }, - "98": { - "25": { - "name": "getTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 25 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "getTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 25 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "25": { - "name": "getHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 25 - ], - [ - 107, - 1 - ] - ], - "doc": "~Private~" - } - }, - "107": { - "25": { - "name": "getHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 25 - ], - [ - 110, - 1 - ] - ], - "doc": "~Private~" - } - }, - "110": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 14 - ], - [ - 114, - 1 - ] - ], - "doc": "~Private~" - } - }, - "114": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 114, - 11 - ], - [ - 118, - 1 - ] - ], - "doc": "Public: Returns the text in the selection. " - } - }, - "118": { - "9": { - "name": "clear", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 118, - 9 - ], - [ - 126, - 1 - ] - ], - "doc": "Public: Clears the selection, moving the marker to the head. " - } - }, - "126": { - "14": { - "name": "selectWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 14 - ], - [ - 138, - 1 - ] - ], - "doc": " Public: Modifies the selection to encompass the current word.\n\nReturns a {Range}. " - } - }, - "138": { - "18": { - "name": "expandOverWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 18 - ], - [ - 144, - 1 - ] - ], - "doc": " Public: Expands the newest selection to include the entire word on which\nthe cursors rests. " - } - }, - "144": { - "14": { - "name": "selectLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 144, - 14 - ], - [ - 155, - 1 - ] - ], - "doc": " Public: Selects an entire line in the buffer.\n\nrow - The line {Number} to select (default: the row of the cursor). " - } - }, - "155": { - "18": { - "name": "expandOverLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 155, - 18 - ], - [ - 163, - 1 - ] - ], - "doc": " Public: Expands the newest selection to include the entire line on which\nthe cursor currently rests.\n\nIt also includes the newline character. " - } - }, - "163": { - "26": { - "name": "selectToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 163, - 26 - ], - [ - 184, - 1 - ] - ], - "doc": " Public: Selects the text from the current cursor position to a given screen\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "184": { - "26": { - "name": "selectToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 184, - 26 - ], - [ - 188, - 1 - ] - ], - "doc": " Public: Selects the text from the current cursor position to a given buffer\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "188": { - "15": { - "name": "selectRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 15 - ], - [ - 192, - 1 - ] - ], - "doc": "Public: Selects the text one position right of the cursor. " - } - }, - "192": { - "14": { - "name": "selectLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 192, - 14 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Selects the text one position left of the cursor. " - } - }, - "196": { - "12": { - "name": "selectUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 196, - 12 - ], - [ - 200, - 1 - ] - ], - "doc": "Public: Selects all the text one position above the cursor. " - } - }, - "200": { - "14": { - "name": "selectDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 200, - 14 - ], - [ - 205, - 1 - ] - ], - "doc": "Public: Selects all the text one position below the cursor. " - } - }, - "205": { - "15": { - "name": "selectToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 205, - 15 - ], - [ - 210, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the top of\nthe buffer. " - } - }, - "210": { - "18": { - "name": "selectToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 18 - ], - [ - 214, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the bottom\nof the buffer. " - } - }, - "214": { - "13": { - "name": "selectAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 214, - 13 - ], - [ - 219, - 1 - ] - ], - "doc": "Public: Selects all the text in the buffer. " - } - }, - "219": { - "27": { - "name": "selectToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 219, - 27 - ], - [ - 224, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the line. " - } - }, - "224": { - "32": { - "name": "selectToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 32 - ], - [ - 229, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the first\ncharacter of the line. " - } - }, - "229": { - "21": { - "name": "selectToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 229, - 21 - ], - [ - 234, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the end of\nthe line. " - } - }, - "234": { - "27": { - "name": "selectToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 27 - ], - [ - 239, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the word. " - } - }, - "239": { - "21": { - "name": "selectToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 239, - 21 - ], - [ - 244, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the end of\nthe word. " - } - }, - "244": { - "31": { - "name": "selectToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 244, - 31 - ], - [ - 248, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next word. " - } - }, - "248": { - "32": { - "name": "selectToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 248, - 32 - ], - [ - 252, - 1 - ] - ], - "doc": "Public: Selects text to the previous word boundary. " - } - }, - "252": { - "28": { - "name": "selectToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 252, - 28 - ], - [ - 257, - 1 - ] - ], - "doc": "Public: Selects text to the next word boundary. " - } - }, - "257": { - "36": { - "name": "selectToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 257, - 36 - ], - [ - 262, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next paragraph. " - } - }, - "262": { - "40": { - "name": "selectToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 262, - 40 - ], - [ - 266, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the previous paragraph. " - } - }, - "266": { - "21": { - "name": "addSelectionBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 266, - 21 - ], - [ - 284, - 1 - ] - ], - "doc": "Public: Moves the selection down one row. " - } - }, - "284": { - "22": { - "name": "getGoalBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 22 - ], - [ - 289, - 1 - ] - ], - "doc": "FIXME: I have no idea what this does. " - } - }, - "289": { - "21": { - "name": "addSelectionAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 289, - 21 - ], - [ - 316, - 1 - ] - ], - "doc": "Public: Moves the selection up one row. " - } - }, - "316": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 316, - 14 - ], - [ - 349, - 1 - ] - ], - "doc": " Public: Replaces text at the current selection.\n\ntext - A {String} representing the text to add\noptions - An {Object} with keys:\n :select - if `true`, selects the newly added text.\n :autoIndent - if `true`, indents all inserted text appropriately.\n :autoIndentNewline - if `true`, indent newline appropriately.\n :autoDecreaseIndent - if `true`, decreases indent level appropriately\n (for example, when a closing bracket is inserted).\n :undo - if `skip`, skips the undo stack for this operation. " - } - }, - "349": { - "20": { - "name": "normalizeIndents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "indentBasis" - ], - "range": [ - [ - 349, - 20 - ], - [ - 383, - 1 - ] - ], - "doc": " Public: Indents the given text to the suggested level based on the grammar.\n\ntext - The {String} to indent within the selection.\nindentBasis - The beginning indent level. " - } - }, - "383": { - "10": { - "name": "indent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 383, - 10 - ], - [ - 399, - 1 - ] - ], - "doc": " Private: Indent the current line(s).\n\nIf the selection is empty, indents the current line if the cursor precedes\nnon-whitespace characters, and otherwise inserts a tab. If the selection is\nnon empty, calls {::indentSelectedRows}.\n\noptions - A {Object} with the keys:\n :autoIndent - If `true`, the line is indented to an automatically-inferred\n level. Otherwise, {Editor::getTabText} is inserted. " - } - }, - "399": { - "22": { - "name": "indentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 399, - 22 - ], - [ - 405, - 1 - ] - ], - "doc": "Public: If the selection spans multiple rows, indent all of them. " - } - }, - "405": { - "25": { - "name": "setIndentationForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line", - "indentLevel" - ], - "range": [ - [ - 405, - 25 - ], - [ - 412, - 1 - ] - ], - "doc": "Public: ? " - } - }, - "412": { - "13": { - "name": "backspace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 412, - 13 - ], - [ - 417, - 1 - ] - ], - "doc": " Public: Removes the first character before the selection if the selection\nis empty otherwise it deletes the selection. " - } - }, - "417": { - "30": { - "name": "backspaceToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 417, - 30 - ], - [ - 422, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " - } - }, - "422": { - "30": { - "name": "backspaceToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 422, - 30 - ], - [ - 428, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " - } - }, - "428": { - "27": { - "name": "deleteToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 27 - ], - [ - 434, - 1 - ] - ], - "doc": " Public: Removes from the start of the selection to the beginning of the\ncurrent word if the selection is empty otherwise it deletes the selection. " - } - }, - "434": { - "27": { - "name": "deleteToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 434, - 27 - ], - [ - 443, - 1 - ] - ], - "doc": " Public: Removes from the beginning of the line which the selection begins on\nall the way through to the end of the selection. " - } - }, - "443": { - "10": { - "name": "delete", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 443, - 10 - ], - [ - 455, - 1 - ] - ] - } - }, - "455": { - "21": { - "name": "deleteToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 455, - 21 - ], - [ - 462, - 1 - ] - ], - "doc": " Public: If the selection is empty, removes all text from the cursor to the\nend of the line. If the cursor is already at the end of the line, it\nremoves the following newline. If the selection isn't empty, only deletes\nthe contents of the selection. " - } - }, - "462": { - "21": { - "name": "deleteToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 462, - 21 - ], - [ - 467, - 1 - ] - ], - "doc": " Public: Removes the selection or all characters from the start of the\nselection to the end of the current word if nothing is selected. " - } - }, - "467": { - "22": { - "name": "deleteSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 467, - 22 - ], - [ - 477, - 1 - ] - ], - "doc": "Public: Removes only the selected text. " - } - }, - "477": { - "14": { - "name": "deleteLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 477, - 14 - ], - [ - 496, - 1 - ] - ], - "doc": " Public: Removes the line at the beginning of the selection if the selection\nis empty unless the selection spans multiple lines in which case all lines\nare removed. " - } - }, - "496": { - "13": { - "name": "joinLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 496, - 13 - ], - [ - 522, - 1 - ] - ], - "doc": " Public: Joins the current line with the one below it.\n\nIf there selection spans more than one line, all the lines are joined together. " - } - }, - "522": { - "23": { - "name": "outdentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 522, - 23 - ], - [ - 532, - 1 - ] - ], - "doc": "Public: Removes one level of indent from the currently selected rows. " - } - }, - "532": { - "26": { - "name": "autoIndentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 532, - 26 - ], - [ - 542, - 1 - ] - ], - "doc": " Public: Sets the indentation level of all selected rows to values suggested\nby the relevant grammars. " - } - }, - "542": { - "22": { - "name": "toggleLineComments", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 542, - 22 - ], - [ - 546, - 1 - ] - ], - "doc": " Public: Wraps the selected lines in comments if they aren't currently part\nof a comment.\n\nRemoves the comment if they are currently wrapped in a comment.\n\nReturns an Array of the commented {Range}s. " - } - }, - "546": { - "18": { - "name": "cutToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 546, - 18 - ], - [ - 551, - 1 - ] - ], - "doc": "Public: Cuts the selection until the end of the line. " - } - }, - "551": { - "7": { - "name": "cut", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 551, - 7 - ], - [ - 561, - 1 - ] - ], - "doc": "Public: Copies the selection to the clipboard and then deletes it. " - } - }, - "561": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 561, - 8 - ], - [ - 579, - 1 - ] - ], - "doc": " Public: Copies the current selection to the clipboard.\n\nIf the `maintainClipboard` is set to `true`, a specific metadata property\nis created to store each content copied to the clipboard. The clipboard\n`text` still contains the concatenation of the clipboard with the\ncurrent selection. " - } - }, - "579": { - "8": { - "name": "fold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 579, - 8 - ], - [ - 584, - 1 - ] - ], - "doc": "Public: Creates a fold containing the current selection. " - } - }, - "584": { - "19": { - "name": "modifySelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 584, - 19 - ], - [ - 595, - 1 - ] - ], - "doc": "~Private~" - } - }, - "595": { - "13": { - "name": "plantTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 595, - 13 - ], - [ - 603, - 1 - ] - ], - "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " - } - }, - "603": { - "25": { - "name": "intersectsBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 603, - 25 - ], - [ - 606, - 1 - ] - ], - "doc": " Public: Identifies if a selection intersects with a given buffer range.\n\nbufferRange - A {Range} to check against.\n\nReturns a Boolean. " - } - }, - "606": { - "28": { - "name": "intersectsScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 606, - 28 - ], - [ - 609, - 1 - ] - ], - "doc": "~Private~" - } - }, - "609": { - "23": { - "name": "intersectsScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 609, - 23 - ], - [ - 617, - 1 - ] - ], - "doc": "~Private~" - } - }, - "617": { - "18": { - "name": "intersectsWith", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection" - ], - "range": [ - [ - 617, - 18 - ], - [ - 625, - 1 - ] - ], - "doc": " Public: Identifies if a selection intersects with another selection.\n\notherSelection - A {Selection} to check against.\n\nReturns a Boolean. " - } - }, - "625": { - "9": { - "name": "merge", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection", - "options" - ], - "range": [ - [ - 625, - 9 - ], - [ - 641, - 1 - ] - ], - "doc": " Public: Combines the given selection into this selection and then destroys\nthe given selection.\n\notherSelection - A {Selection} to merge with.\noptions - A hash of options matching those found in {::setBufferRange}. " - } - }, - "641": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection" - ], - "range": [ - [ - 641, - 11 - ], - [ - 644, - 1 - ] - ], - "doc": " Public: Compare this selection's buffer range to another selection's buffer\nrange.\n\nSee {Range::compare} for more details.\n\notherSelection - A {Selection} to compare against. " - } - }, - "644": { - "22": { - "name": "screenRangeChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 644, - 22 - ], - [ - 647, - 45 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 6 - }, - "./build/src/space-pen-extensions.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "11": { - "name": "spacePen", - "type": "import", - "range": [ - [ - 1, - 11 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "space-pen@3.2.0" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "6": { - "9": { - "name": "spacePen", - "type": "primitive", - "range": [ - [ - 6, - 9 - ], - [ - 6, - 16 - ] - ] - } - }, - "7": { - "20": { - "name": "jQuery", - "type": "primitive", - "range": [ - [ - 7, - 20 - ], - [ - 7, - 25 - ] - ] - } - }, - "8": { - "19": { - "name": "jQuery.cleanData", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "elements" - ], - "range": [ - [ - 8, - 19 - ], - [ - 11, - 0 - ] - ], - "doc": null - } - }, - "13": { - "2": { - "type": "primitive", - "range": [ - [ - 13, - 2 - ], - [ - 19, - 19 - ] - ] - } - }, - "14": { - "4": { - "type": "primitive", - "range": [ - [ - 14, - 4 - ], - [ - 15, - 12 - ] - ] - }, - "10": { - "name": "1000", - "type": "primitive", - "range": [ - [ - 14, - 10 - ], - [ - 14, - 13 - ] - ] - } - }, - "15": { - "10": { - "name": "100", - "type": "primitive", - "range": [ - [ - 15, - 10 - ], - [ - 15, - 12 - ] - ] - } - }, - "16": { - "13": { - "name": "'body'", - "type": "primitive", - "range": [ - [ - 16, - 13 - ], - [ - 16, - 18 - ] - ] - } - }, - "17": { - "8": { - "type": "primitive", - "range": [ - [ - 17, - 8 - ], - [ - 17, - 11 - ] - ] - } - }, - "18": { - "13": { - "name": "'auto top'", - "type": "primitive", - "range": [ - [ - 18, - 13 - ], - [ - 18, - 22 - ] - ] - } - }, - "19": { - "19": { - "name": "2", - "type": "primitive", - "range": [ - [ - 19, - 19 - ], - [ - 19, - 19 - ] - ] - } - }, - "21": { - "21": { - "name": "humanizeKeystrokes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "keystroke" - ], - "range": [ - [ - 21, - 21 - ], - [ - 25, - 0 - ] - ], - "doc": "~Private~" - } - }, - "26": { - "15": { - "name": "getKeystroke", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bindings" - ], - "range": [ - [ - 26, - 15 - ], - [ - 31, - 0 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "26": { - "name": "requireBootstrapTooltip", - "type": "function", - "range": [ - [ - 32, - 26 - ], - [ - 35, - 59 - ] - ] - } - }, - "36": { - "23": { - "name": "jQuery.fn.setTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "tooltipOptions", - null - ], - "range": [ - [ - 36, - 23 - ], - [ - 49, - 0 - ] - ], - "doc": null - } - }, - "50": { - "24": { - "name": "jQuery.fn.hideTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 24 - ], - [ - 55, - 0 - ] - ], - "doc": null - } - }, - "56": { - "27": { - "name": "jQuery.fn.destroyTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 27 - ], - [ - 61, - 38 - ] - ], - "doc": null - } - }, - "68": { - "36": { - "name": "getKeystroke", - "type": "primitive", - "range": [ - [ - 68, - 36 - ], - [ - 68, - 47 - ] - ] - } - }, - "69": { - "42": { - "name": "humanizeKeystrokes", - "type": "primitive", - "range": [ - [ - 69, - 42 - ], - [ - 69, - 59 - ] - ] - } - }, - "71": { - "49": { - "name": "get", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 71, - 49 - ], - [ - 71, - 55 - ] - ], - "doc": null - } - } - }, - "exports": 73 - }, - "./build/src/subscriber-mixin.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "1": { - "18": { - "type": "primitive", - "range": [ - [ - 1, - 18 - ], - [ - 1, - 55 - ] - ] - }, - "39": { - "name": "componentDidUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 1, - 39 - ], - [ - 1, - 55 - ] - ], - "doc": null - } - } - }, - "exports": 3 - }, - "./build/src/syntax.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 11 - ] - ], - "bindingType": "variable", - "module": "clear-cut@0.4.0", - "name": "specificity", - "exportsProperty": "specificity" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 15 - ] - ], - "bindingType": "variable", - "module": "first-mate@^2.0.1", - "name": "GrammarRegistry", - "exportsProperty": "GrammarRegistry" - }, - "18": { - "type": "import", - "range": [ - [ - 4, - 18 - ], - [ - 4, - 30 - ] - ], - "bindingType": "variable", - "module": "first-mate@^2.0.1", - "name": "ScopeSelector", - "exportsProperty": "ScopeSelector" - } - }, - "5": { - "22": { - "name": "ScopedPropertyStore", - "type": "import", - "range": [ - [ - 5, - 22 - ], - [ - 5, - 52 - ] - ], - "bindingType": "variable", - "module": "scoped-property-store@^0.9.0" - } - }, - "6": { - "20": { - "name": "PropertyAccessors", - "type": "import", - "range": [ - [ - 6, - 20 - ], - [ - 6, - 47 - ] - ], - "bindingType": "variable", - "module": "property-accessors@^1" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 8, - 4 - ], - [ - 8, - 5 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - } - }, - "9": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 9, - 8 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "18": { - "0": { - "type": "class", - "name": "Syntax", - "bindingType": "exports", - "classProperties": [ - [ - 23, - 16 - ] - ], - "prototypeProperties": [ - [ - 28, - 15 - ], - [ - 32, - 13 - ], - [ - 35, - 15 - ], - [ - 42, - 17 - ], - [ - 49, - 20 - ], - [ - 52, - 19 - ], - [ - 67, - 15 - ], - [ - 75, - 22 - ], - [ - 84, - 32 - ] - ], - "doc": " Public: Syntax class holding the grammars used for tokenizing.\n\nAn instance of this class is always available as the `atom.syntax` global.\n\nThe Syntax class also contains properties for things such as the\nlanguage-specific comment regexes. ", - "range": [ - [ - 18, - 0 - ], - [ - 85, - 52 - ] - ] - } - }, - "23": { - "16": { - "name": "deserialize", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 23, - 16 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 15 - ], - [ - 32, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "13": { - "name": "serialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 32, - 13 - ], - [ - 35, - 1 - ] - ], - "doc": "~Private~" - } - }, - "35": { - "15": { - "name": "createToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "scopes" - ], - "range": [ - [ - 35, - 15 - ], - [ - 35, - 59 - ] - ], - "doc": "~Private~" - } - }, - "42": { - "17": { - "name": "addProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 42, - 17 - ], - [ - 49, - 1 - ] - ], - "doc": "~Private~" - } - }, - "49": { - "20": { - "name": "removeProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 49, - 20 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "19": { - "name": "clearProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 19 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "15": { - "name": "getProperty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scope", - "keyPath" - ], - "range": [ - [ - 67, - 15 - ], - [ - 75, - 1 - ] - ], - "doc": " Public: Get a property for the given scope and key path.\n\n## Example\n```coffee\ncomment = atom.syntax.getProperty(['.source.ruby'], 'editor.commentStart')\nconsole.log(comment) # '# '\n```\n\nscope - An {Array} of {String} scopes.\nkeyPath - A {String} key path.\n\nReturns a {String} property value or undefined. " - } - }, - "75": { - "22": { - "name": "propertiesForScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scope", - "keyPath" - ], - "range": [ - [ - 75, - 22 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "32": { - "name": "cssSelectorFromScopeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeSelector" - ], - "range": [ - [ - 84, - 32 - ], - [ - 85, - 52 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 18 - }, - "./build/src/task-bootstrap.coffee": { - "objects": { - "0": { - "1": { - "type": "primitive", - "name": "userAgent", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "exportsProperty": "userAgent" - }, - "12": { - "type": "primitive", - "name": "taskPath", - "range": [ - [ - 0, - 12 - ], - [ - 0, - 19 - ] - ], - "exportsProperty": "taskPath" - } - }, - "3": { - "15": { - "name": "setupGlobals", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 3, - 15 - ], - [ - 28, - 0 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "15": { - "name": "handleEvents", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 15 - ], - [ - 42, - 0 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "10": { - "name": "handler", - "type": "import", - "range": [ - [ - 45, - 10 - ], - [ - 45, - 26 - ] - ], - "bindingType": "variable", - "module": "askPat" - } - } - }, - "exports": {} - }, - "./build/src/task.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "16": { - "name": "child_process", - "type": "import", - "range": [ - [ - 1, - 16 - ], - [ - 1, - 38 - ] - ], - "bindingType": "variable", - "module": "child_process", - "builtin": true - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "21": { - "0": { - "type": "class", - "name": "Task", - "bindingType": "exports", - "classProperties": [ - [ - 29, - 9 - ] - ], - "prototypeProperties": [ - [ - 41, - 12 - ], - [ - 47, - 15 - ], - [ - 73, - 16 - ], - [ - 82, - 9 - ], - [ - 95, - 8 - ], - [ - 102, - 13 - ] - ], - "doc": " Public: Run a node script in a separate process.\n\nUsed by the fuzzy-finder.\n\n## Events\n\n* task:log - Emitted when console.log is called within the task.\n* task:warn - Emitted when console.warn is called within the task.\n* task:error - Emitted when console.error is called within the task.\n* task:completed - Emitted when the task has succeeded or failed.\n\n## Requiring in packages\n\n```coffee\n {Task} = require 'atom'\n``` ", - "range": [ - [ - 21, - 0 - ], - [ - 109, - 10 - ] - ] - } - }, - "29": { - "9": { - "name": "once", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "taskPath", - "args" - ], - "range": [ - [ - 29, - 9 - ], - [ - 41, - 1 - ] - ], - "doc": " Public: A helper method to easily launch and run a task once.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file which\n exports a single {Function} to execute.\nargs - The arguments to pass to the exported function. " - } - }, - "41": { - "12": { - "name": "callback", - "type": "primitive", - "range": [ - [ - 41, - 12 - ], - [ - 41, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "47": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "taskPath" - ], - "range": [ - [ - 47, - 15 - ], - [ - 73, - 1 - ] - ], - "doc": " Public: Creates a task.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file that\n exports a single {Function} to execute. " - } - }, - "73": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 16 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Routes messages from the child to the appropriate event. " - } - }, - "82": { - "9": { - "name": "start", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args", - "callback" - ], - "range": [ - [ - 82, - 9 - ], - [ - 95, - 1 - ] - ], - "doc": " Public: Starts the task.\n\nargs - The arguments to pass to the function exported by this task's script.\ncallback - An optional {Function} to call when the task completes. " - } - }, - "95": { - "8": { - "name": "send", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 95, - 8 - ], - [ - 102, - 1 - ] - ], - "doc": " Public: Send message to the task.\n\nmessage - The message to send to the task. " - } - }, - "102": { - "13": { - "name": "terminate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 13 - ], - [ - 109, - 10 - ] - ], - "doc": " Public: Forcefully stop the running task.\n\nNo events are emitted. " - } - } - }, - "exports": 21 - }, - "./build/src/text-utils.coffee": { - "objects": { - "0": { - "18": { - "name": "isHighSurrogate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 0, - 18 - ], - [ - 2, - 0 - ] - ], - "doc": "~Private~" - } - }, - "3": { - "17": { - "name": "isLowSurrogate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 3, - 17 - ], - [ - 11, - 21 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "18": { - "name": "isSurrogatePair", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 12, - 18 - ], - [ - 22, - 21 - ] - ], - "doc": " Private: Is the character at the given index the start of a high/low surrogate pair?\n\nstring - The {String} to check for a surrogate pair.\nindex - The {Number} index to look for a surrogate pair at.\n\nReturn a {Boolean}. " - } - }, - "23": { - "20": { - "name": "getCharacterCount", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 23, - 20 - ], - [ - 32, - 22 - ] - ], - "doc": " Private: Get the number of characters in the string accounting for surrogate pairs.\n\nThis method counts high/low surrogate pairs as a single character and will\nalways returns a value less than or equal to `string.length`.\n\nstring - The {String} to count the number of full characters in.\n\nReturns a {Number}. " - } - }, - "33": { - "19": { - "name": "hasSurrogatePair", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 33, - 19 - ], - [ - 35, - 0 - ] - ], - "doc": " Private: Does the given string contain at least one surrogate pair?\n\nstring - The {String} to check for the presence of surrogate pairs.\n\nReturns a {Boolean}. " - } - } - }, - "exports": 36 - }, - "./build/src/theme-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q@^1.0.1" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "8": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "9": { - "1": { - "type": "import", - "range": [ - [ - 9, - 1 - ], - [ - 9, - 4 - ] - ], - "bindingType": "variable", - "module": "pathwatcher@^2.0.6", - "name": "File", - "exportsProperty": "File" - } - }, - "15": { - "0": { - "type": "class", - "name": "ThemeManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 18, - 15 - ], - [ - 22, - 21 - ], - [ - 27, - 18 - ], - [ - 31, - 18 - ], - [ - 35, - 19 - ], - [ - 39, - 19 - ], - [ - 42, - 20 - ], - [ - 47, - 24 - ], - [ - 57, - 18 - ], - [ - 82, - 20 - ], - [ - 87, - 20 - ], - [ - 93, - 20 - ], - [ - 96, - 18 - ], - [ - 109, - 25 - ], - [ - 116, - 25 - ], - [ - 121, - 22 - ], - [ - 133, - 23 - ], - [ - 137, - 25 - ], - [ - 142, - 26 - ], - [ - 145, - 21 - ], - [ - 160, - 21 - ], - [ - 169, - 18 - ], - [ - 175, - 22 - ], - [ - 197, - 14 - ], - [ - 200, - 20 - ], - [ - 209, - 19 - ] - ], - "doc": " Public: Handles loading and activating available themes.\n\nAn instance of this class is always available as the `atom.themes` global. ", - "range": [ - [ - 15, - 0 - ], - [ - 222, - 31 - ] - ] - } - }, - "18": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 18, - 15 - ], - [ - 22, - 1 - ] - ], - "doc": "~Private~" - } - }, - "22": { - "21": { - "name": "getAvailableNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 22, - 21 - ], - [ - 27, - 1 - ] - ], - "doc": "~Private~" - } - }, - "27": { - "18": { - "name": "getLoadedNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 18 - ], - [ - 31, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded theme names. " - } - }, - "31": { - "18": { - "name": "getActiveNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 31, - 18 - ], - [ - 35, - 1 - ] - ], - "doc": "Public: Get an array of all the active theme names. " - } - }, - "35": { - "19": { - "name": "getActiveThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 35, - 19 - ], - [ - 39, - 1 - ] - ], - "doc": "Public: Get an array of all the active themes. " - } - }, - "39": { - "19": { - "name": "getLoadedThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 39, - 19 - ], - [ - 42, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded themes. " - } - }, - "42": { - "20": { - "name": "activatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "themePackages" - ], - "range": [ - [ - 42, - 20 - ], - [ - 42, - 55 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "24": { - "name": "getEnabledThemeNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 47, - 24 - ], - [ - 57, - 1 - ] - ], - "doc": " Private: Get the enabled theme names from the config.\n\nReturns an array of theme names in the order that they should be activated. " - } - }, - "57": { - "18": { - "name": "activateThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 18 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "20": { - "name": "deactivateThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 20 - ], - [ - 87, - 1 - ] - ], - "doc": "~Private~" - } - }, - "87": { - "20": { - "name": "refreshLessCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 87, - 20 - ], - [ - 93, - 1 - ] - ], - "doc": "~Private~" - } - }, - "93": { - "20": { - "name": "setEnabledThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "enabledThemeNames" - ], - "range": [ - [ - 93, - 20 - ], - [ - 96, - 1 - ] - ], - "doc": " Public: Set the list of enabled themes.\n\nenabledThemeNames - An {Array} of {String} theme names. " - } - }, - "96": { - "18": { - "name": "getImportPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 18 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "25": { - "name": "getUserStylesheetPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 25 - ], - [ - 116, - 1 - ] - ], - "doc": "Public: Returns the {String} path to the user's stylesheet under ~/.atom " - } - }, - "116": { - "25": { - "name": "unwatchUserStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 25 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "22": { - "name": "loadUserStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 121, - 22 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "23": { - "name": "loadBaseStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 23 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "25": { - "name": "reloadBaseStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 25 - ], - [ - 142, - 1 - ] - ], - "doc": "~Private~" - } - }, - "142": { - "26": { - "name": "stylesheetElementForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id", - "htmlElement" - ], - "range": [ - [ - 142, - 26 - ], - [ - 145, - 1 - ] - ], - "doc": "~Private~" - } - }, - "145": { - "21": { - "name": "resolveStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 145, - 21 - ], - [ - 160, - 1 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "21": { - "name": "requireStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "type", - "htmlElement" - ], - "range": [ - [ - 160, - 21 - ], - [ - 169, - 1 - ] - ], - "doc": " Public: Resolve and apply the stylesheet specified by the path.\n\nThis supports both CSS and LESS stylsheets.\n\nstylesheetPath - A {String} path to the stylesheet that can be an absolute\n path or a relative path that will be resolved against the\n load path.\n\nReturns the absolute path to the required stylesheet. " - } - }, - "169": { - "18": { - "name": "loadStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "importFallbackVariables" - ], - "range": [ - [ - 169, - 18 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "22": { - "name": "loadLessStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lessStylesheetPath", - "importFallbackVariables" - ], - "range": [ - [ - 175, - 22 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "14": { - "name": "stringToId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 197, - 14 - ], - [ - 200, - 1 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "20": { - "name": "removeStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 200, - 20 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "19": { - "name": "applyStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "text", - "type", - "htmlElement" - ], - "range": [ - [ - 209, - 19 - ], - [ - 222, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 15 - }, - "./build/src/theme-package.coffee": { - "objects": { - "0": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 14 - ] - ], - "bindingType": "variable", - "module": "q@^1.0.1" - } - }, - "1": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 1, - 10 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "4": { - "0": { - "type": "class", - "name": "ThemePackage", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 5, - 11 - ], - [ - 7, - 21 - ], - [ - 9, - 10 - ], - [ - 12, - 11 - ], - [ - 15, - 8 - ], - [ - 23, - 12 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 31, - 31 - ] - ] - } - }, - "5": { - "11": { - "name": "getType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 11 - ], - [ - 5, - 20 - ] - ] - } - }, - "7": { - "21": { - "name": "getStylesheetType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 7, - 21 - ], - [ - 7, - 30 - ] - ], - "doc": "~Private~" - } - }, - "9": { - "10": { - "name": "enable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 10 - ], - [ - 12, - 1 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "11": { - "name": "disable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 12, - 11 - ], - [ - 15, - 1 - ] - ], - "doc": "~Private~" - } - }, - "15": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 15, - 8 - ], - [ - 23, - 1 - ] - ], - "doc": "~Private~" - } - }, - "23": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 23, - 12 - ], - [ - 31, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "./build/src/token.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "12": { - "name": "textUtils", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 33 - ] - ], - "bindingType": "variable", - "path": "./text-utils" - } - }, - "3": { - "31": { - "type": "primitive", - "range": [ - [ - 3, - 31 - ], - [ - 3, - 32 - ] - ] - } - }, - "4": { - "20": { - "name": "/^[ ]+/", - "type": "primitive", - "range": [ - [ - 4, - 20 - ], - [ - 4, - 26 - ] - ] - } - }, - "5": { - "21": { - "name": "/[ ]+$/", - "type": "primitive", - "range": [ - [ - 5, - 21 - ], - [ - 5, - 27 - ] - ] - } - }, - "6": { - "14": { - "name": "/[&\"'<>]/g", - "type": "primitive", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 23 - ] - ] - } - }, - "7": { - "17": { - "name": "/./g", - "type": "primitive", - "range": [ - [ - 7, - 17 - ], - [ - 7, - 20 - ] - ] - } - }, - "8": { - "22": { - "name": "/^./", - "type": "primitive", - "range": [ - [ - 8, - 22 - ], - [ - 8, - 25 - ] - ] - } - }, - "9": { - "16": { - "name": "/^\\.?/", - "type": "primitive", - "range": [ - [ - 9, - 16 - ], - [ - 9, - 21 - ] - ] - } - }, - "10": { - "18": { - "name": "/\\S/", - "type": "primitive", - "range": [ - [ - 10, - 18 - ], - [ - 10, - 21 - ] - ] - } - }, - "12": { - "17": { - "name": "20000", - "type": "primitive", - "range": [ - [ - 12, - 17 - ], - [ - 12, - 21 - ] - ] - } - }, - "16": { - "0": { - "type": "class", - "name": "Token", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 9 - ], - [ - 18, - 20 - ], - [ - 19, - 10 - ], - [ - 20, - 12 - ], - [ - 21, - 13 - ], - [ - 22, - 24 - ], - [ - 23, - 25 - ], - [ - 25, - 15 - ], - [ - 30, - 11 - ], - [ - 33, - 13 - ], - [ - 36, - 11 - ], - [ - 41, - 31 - ], - [ - 44, - 24 - ], - [ - 86, - 26 - ], - [ - 106, - 27 - ], - [ - 113, - 21 - ], - [ - 116, - 21 - ], - [ - 119, - 17 - ], - [ - 129, - 20 - ], - [ - 132, - 24 - ], - [ - 138, - 18 - ], - [ - 185, - 16 - ], - [ - 194, - 23 - ] - ], - "doc": "Private: Represents a single unit of text as selected by a grammar. ", - "range": [ - [ - 16, - 0 - ], - [ - 201, - 16 - ] - ] - } - }, - "17": { - "9": { - "name": "value", - "type": "primitive", - "range": [ - [ - 17, - 9 - ], - [ - 17, - 12 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "20": { - "name": "hasSurrogatePair", - "type": "primitive", - "range": [ - [ - 18, - 20 - ], - [ - 18, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "10": { - "name": "scopes", - "type": "primitive", - "range": [ - [ - 19, - 10 - ], - [ - 19, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "20": { - "12": { - "name": "isAtomic", - "type": "primitive", - "range": [ - [ - 20, - 12 - ], - [ - 20, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "13": { - "name": "isHardTab", - "type": "primitive", - "range": [ - [ - 21, - 13 - ], - [ - 21, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "22": { - "24": { - "name": "hasLeadingWhitespace", - "type": "primitive", - "range": [ - [ - 22, - 24 - ], - [ - 22, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "23": { - "25": { - "name": "hasTrailingWhitespace", - "type": "primitive", - "range": [ - [ - 23, - 25 - ], - [ - 23, - 29 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "25": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 25, - 15 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "isEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 30, - 11 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "13": { - "name": "isBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 33, - 13 - ], - [ - 36, - 1 - ] - ], - "doc": "~Private~" - } - }, - "36": { - "11": { - "name": "splitAt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "splitIndex" - ], - "range": [ - [ - 36, - 11 - ], - [ - 41, - 1 - ] - ], - "doc": "~Private~" - } - }, - "41": { - "31": { - "name": "whitespaceRegexForTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 41, - 31 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "24": { - "name": "breakOutAtomicTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "breakOutLeadingSoftTabs", - "startColumn" - ], - "range": [ - [ - 44, - 24 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "26": { - "name": "breakOutSurrogatePairs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 26 - ], - [ - 106, - 1 - ] - ], - "doc": "~Private~" - } - }, - "106": { - "27": { - "name": "buildSurrogatePairToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "index" - ], - "range": [ - [ - 106, - 27 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "21": { - "name": "buildHardTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "column" - ], - "range": [ - [ - 113, - 21 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "21": { - "name": "buildSoftTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 116, - 21 - ], - [ - 119, - 1 - ] - ], - "doc": "~Private~" - } - }, - "119": { - "17": { - "name": "buildTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "isHardTab", - "column" - ], - "range": [ - [ - 119, - 17 - ], - [ - 129, - 1 - ] - ], - "doc": "~Private~" - } - }, - "129": { - "20": { - "name": "isOnlyWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 129, - 20 - ], - [ - 132, - 1 - ] - ], - "doc": "~Private~" - } - }, - "132": { - "24": { - "name": "matchesScopeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 132, - 24 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "18": { - "name": "getValueAsHtml", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 138, - 18 - ], - [ - 185, - 1 - ] - ], - "doc": "~Private~" - } - }, - "185": { - "16": { - "name": "escapeString", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "str", - "startIndex", - "endIndex" - ], - "range": [ - [ - 185, - 16 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "23": { - "name": "escapeStringReplace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "match" - ], - "range": [ - [ - 194, - 23 - ], - [ - 201, - 16 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 16 - }, - "./build/src/tokenized-buffer.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Range", - "exportsProperty": "Range" - } - }, - "3": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@^1" - } - }, - "4": { - "16": { - "name": "TokenizedLine", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 41 - ] - ], - "bindingType": "variable", - "path": "./tokenized-line" - } - }, - "5": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "8": { - "0": { - "type": "class", - "name": "TokenizedBuffer", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 11 - ], - [ - 14, - 23 - ], - [ - 15, - 10 - ], - [ - 16, - 18 - ], - [ - 17, - 13 - ], - [ - 18, - 15 - ], - [ - 19, - 11 - ], - [ - 21, - 15 - ], - [ - 48, - 19 - ], - [ - 52, - 21 - ], - [ - 56, - 14 - ], - [ - 64, - 17 - ], - [ - 70, - 23 - ], - [ - 76, - 23 - ], - [ - 82, - 14 - ], - [ - 88, - 16 - ], - [ - 94, - 16 - ], - [ - 96, - 24 - ], - [ - 103, - 21 - ], - [ - 133, - 19 - ], - [ - 136, - 15 - ], - [ - 139, - 17 - ], - [ - 144, - 21 - ], - [ - 153, - 22 - ], - [ - 173, - 48 - ], - [ - 183, - 30 - ], - [ - 200, - 41 - ], - [ - 203, - 39 - ], - [ - 210, - 37 - ], - [ - 220, - 20 - ], - [ - 225, - 22 - ], - [ - 228, - 15 - ], - [ - 231, - 21 - ], - [ - 257, - 22 - ], - [ - 266, - 21 - ], - [ - 269, - 20 - ], - [ - 273, - 33 - ], - [ - 278, - 33 - ], - [ - 299, - 30 - ], - [ - 314, - 39 - ], - [ - 329, - 22 - ], - [ - 344, - 22 - ], - [ - 362, - 14 - ], - [ - 365, - 16 - ], - [ - 368, - 12 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 371, - 40 - ] - ] - } - }, - "13": { - "11": { - "name": "grammar", - "type": "primitive", - "range": [ - [ - 13, - 11 - ], - [ - 13, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "23": { - "name": "currentGrammarScore", - "type": "primitive", - "range": [ - [ - 14, - 23 - ], - [ - 14, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "15": { - "10": { - "name": "buffer", - "type": "primitive", - "range": [ - [ - 15, - 10 - ], - [ - 15, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "18": { - "name": "tokenizedLines", - "type": "primitive", - "range": [ - [ - 16, - 18 - ], - [ - 16, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "17": { - "13": { - "name": "chunkSize", - "type": "primitive", - "range": [ - [ - 17, - 13 - ], - [ - 17, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "15": { - "name": "invalidRows", - "type": "primitive", - "range": [ - [ - 18, - 15 - ], - [ - 18, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 19, - 11 - ], - [ - 19, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 21, - 15 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 19 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 52, - 21 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar", - "score" - ], - "range": [ - [ - 56, - 14 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 17 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "23": { - "name": "hasTokenForSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 70, - 23 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "23": { - "name": "resetTokenizedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 23 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 82, - 14 - ], - [ - 88, - 1 - ] - ], - "doc": "~Private~" - } - }, - "88": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 16 - ], - [ - 94, - 1 - ] - ], - "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " - } - }, - "94": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 94, - 16 - ], - [ - 94, - 30 - ] - ], - "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " - } - }, - "96": { - "24": { - "name": "tokenizeInBackground", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 24 - ], - [ - 103, - 1 - ] - ], - "doc": "~Private~" - } - }, - "103": { - "21": { - "name": "tokenizeNextChunk", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 103, - 21 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "19": { - "name": "firstInvalidRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 19 - ], - [ - 136, - 1 - ] - ], - "doc": "~Private~" - } - }, - "136": { - "15": { - "name": "validateRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 136, - 15 - ], - [ - 139, - 1 - ] - ], - "doc": "~Private~" - } - }, - "139": { - "17": { - "name": "invalidateRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 139, - 17 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "21": { - "name": "updateInvalidRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end", - "delta" - ], - "range": [ - [ - 144, - 21 - ], - [ - 153, - 1 - ] - ], - "doc": "~Private~" - } - }, - "153": { - "22": { - "name": "handleBufferChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 153, - 22 - ], - [ - 173, - 1 - ] - ], - "doc": "~Private~" - } - }, - "173": { - "48": { - "name": "retokenizeWhitespaceRowsIfIndentLevelChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "increment" - ], - "range": [ - [ - 173, - 48 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "30": { - "name": "buildTokenizedLinesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow", - "startingStack" - ], - "range": [ - [ - 183, - 30 - ], - [ - 200, - 1 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "41": { - "name": "buildPlaceholderTokenizedLinesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 200, - 41 - ], - [ - 203, - 1 - ] - ], - "doc": "~Private~" - } - }, - "203": { - "39": { - "name": "buildPlaceholderTokenizedLineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 203, - 39 - ], - [ - 210, - 1 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "37": { - "name": "buildTokenizedTokenizedLineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "ruleStack" - ], - "range": [ - [ - 210, - 37 - ], - [ - 220, - 1 - ] - ], - "doc": "~Private~" - } - }, - "220": { - "20": { - "name": "lineForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 220, - 20 - ], - [ - 225, - 1 - ] - ], - "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " - } - }, - "225": { - "22": { - "name": "linesForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 225, - 22 - ], - [ - 228, - 1 - ] - ], - "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " - } - }, - "228": { - "15": { - "name": "stackForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 228, - 15 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "21": { - "name": "indentLevelForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 231, - 21 - ], - [ - 257, - 1 - ] - ], - "doc": "~Private~" - } - }, - "257": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 257, - 22 - ], - [ - 266, - 1 - ] - ], - "doc": "~Private~" - } - }, - "266": { - "21": { - "name": "scopesForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 266, - 21 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "20": { - "name": "tokenForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 269, - 20 - ], - [ - 273, - 1 - ] - ], - "doc": "~Private~" - } - }, - "273": { - "33": { - "name": "tokenStartPositionForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 273, - 33 - ], - [ - 278, - 1 - ] - ], - "doc": "~Private~" - } - }, - "278": { - "33": { - "name": "bufferRangeForScopeAtPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "position" - ], - "range": [ - [ - 278, - 33 - ], - [ - 299, - 1 - ] - ], - "doc": "~Private~" - } - }, - "299": { - "30": { - "name": "iterateTokensInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "iterator" - ], - "range": [ - [ - 299, - 30 - ], - [ - 314, - 1 - ] - ], - "doc": "~Private~" - } - }, - "314": { - "39": { - "name": "backwardsIterateTokensInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "iterator" - ], - "range": [ - [ - 314, - 39 - ], - [ - 329, - 1 - ] - ], - "doc": "~Private~" - } - }, - "329": { - "22": { - "name": "findOpeningBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferPosition" - ], - "range": [ - [ - 329, - 22 - ], - [ - 344, - 1 - ] - ], - "doc": "~Private~" - } - }, - "344": { - "22": { - "name": "findClosingBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferPosition" - ], - "range": [ - [ - 344, - 22 - ], - [ - 362, - 1 - ] - ], - "doc": "~Private~" - } - }, - "362": { - "14": { - "name": "getLastRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 362, - 14 - ], - [ - 365, - 1 - ] - ], - "doc": " Private: Gets the row number of the last line.\n\nReturns a {Number}. " - } - }, - "365": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 365, - 16 - ], - [ - 368, - 1 - ] - ], - "doc": "~Private~" - } - }, - "368": { - "12": { - "name": "logLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 368, - 12 - ], - [ - 371, - 40 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "./build/src/tokenized-line.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "2": { - "12": { - "name": "1", - "type": "primitive", - "range": [ - [ - 2, - 12 - ], - [ - 2, - 12 - ] - ] - } - }, - "5": { - "0": { - "type": "class", - "name": "TokenizedLine", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 6, - 15 - ], - [ - 15, - 13 - ], - [ - 20, - 20 - ], - [ - 25, - 8 - ], - [ - 28, - 20 - ], - [ - 47, - 31 - ], - [ - 57, - 31 - ], - [ - 66, - 22 - ], - [ - 72, - 22 - ], - [ - 75, - 14 - ], - [ - 102, - 17 - ], - [ - 105, - 23 - ], - [ - 108, - 28 - ], - [ - 115, - 35 - ], - [ - 123, - 24 - ], - [ - 134, - 42 - ], - [ - 145, - 13 - ], - [ - 154, - 20 - ], - [ - 162, - 16 - ], - [ - 165, - 17 - ], - [ - 168, - 24 - ], - [ - 174, - 16 - ], - [ - 186, - 20 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 199, - 0 - ] - ] - } - }, - "6": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 6, - 15 - ], - [ - 15, - 1 - ] - ] - } - }, - "15": { - "13": { - "name": "buildText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 15, - 13 - ], - [ - 20, - 1 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "20": { - "name": "buildBufferDelta", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 20 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 8 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "20": { - "name": "clipScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "column", - "options" - ], - "range": [ - [ - 28, - 20 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "31": { - "name": "screenColumnForBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn", - "options" - ], - "range": [ - [ - 47, - 31 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "31": { - "name": "bufferColumnForScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenColumn", - "options" - ], - "range": [ - [ - 57, - 31 - ], - [ - 66, - 1 - ] - ], - "doc": "~Private~" - } - }, - "66": { - "22": { - "name": "getMaxScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 66, - 22 - ], - [ - 72, - 1 - ] - ], - "doc": "~Private~" - } - }, - "72": { - "22": { - "name": "getMaxBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 72, - 22 - ], - [ - 75, - 1 - ] - ], - "doc": "~Private~" - } - }, - "75": { - "14": { - "name": "softWrapAt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "column" - ], - "range": [ - [ - 75, - 14 - ], - [ - 102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "102": { - "17": { - "name": "isSoftWrapped", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 17 - ], - [ - 105, - 1 - ] - ], - "doc": "~Private~" - } - }, - "105": { - "23": { - "name": "tokenAtBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 105, - 23 - ], - [ - 108, - 1 - ] - ], - "doc": "~Private~" - } - }, - "108": { - "28": { - "name": "tokenIndexAtBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 108, - 28 - ], - [ - 115, - 1 - ] - ], - "doc": "~Private~" - } - }, - "115": { - "35": { - "name": "tokenStartColumnForBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 115, - 35 - ], - [ - 123, - 1 - ] - ], - "doc": "~Private~" - } - }, - "123": { - "24": { - "name": "breakOutAtomicTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "inputTokens" - ], - "range": [ - [ - 123, - 24 - ], - [ - 134, - 1 - ] - ], - "doc": "~Private~" - } - }, - "134": { - "42": { - "name": "markLeadingAndTrailingWhitespaceTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 134, - 42 - ], - [ - 145, - 1 - ] - ], - "doc": "~Private~" - } - }, - "145": { - "13": { - "name": "isComment", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 145, - 13 - ], - [ - 154, - 1 - ] - ], - "doc": "~Private~" - } - }, - "154": { - "20": { - "name": "isOnlyWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 20 - ], - [ - 162, - 1 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "16": { - "name": "tokenAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 162, - 16 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "17": { - "name": "getTokenCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 17 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "24": { - "name": "bufferColumnForToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetToken" - ], - "range": [ - [ - 168, - 24 - ], - [ - 174, - 1 - ] - ], - "doc": "~Private~" - } - }, - "174": { - "16": { - "name": "getScopeTree", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 174, - 16 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "20": { - "name": "updateScopeStack", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 186, - 20 - ], - [ - 199, - 0 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "0": { - "type": "class", - "name": "Scope", - "classProperties": [], - "prototypeProperties": [ - [ - 201, - 15 - ] - ], - "doc": "~Private~", - "range": [ - [ - 200, - 0 - ], - [ - 202, - 18 - ] - ] - } - }, - "201": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 201, - 15 - ], - [ - 202, - 18 - ] - ] - } - } - }, - "exports": 5 - }, - "./build/src/window-bootstrap.coffee": { - "objects": { - "1": { - "12": { - "name": "startTime", - "type": "function", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 21 - ] - ] - } - }, - "5": { - "7": { - "name": "Atom", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "path": "./atom" - } - }, - "6": { - "14": { - "name": "window.atom", - "type": "function", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 40 - ] - ] - } - } - }, - "exports": {} - }, - "./build/src/window-event-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "2": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "3": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 3, - 8 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "9": { - "0": { - "type": "class", - "name": "WindowEventHandler", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 81, - 27 - ], - [ - 96, - 13 - ], - [ - 100, - 12 - ], - [ - 106, - 25 - ], - [ - 116, - 13 - ], - [ - 137, - 17 - ] - ], - "doc": "Private: Handles low-level events related to the window. ", - "range": [ - [ - 9, - 0 - ], - [ - 156, - 28 - ] - ] - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 12, - 15 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "27": { - "name": "handleNativeKeybindings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 81, - 27 - ], - [ - 96, - 1 - ] - ], - "doc": " Private: Wire commands that should be handled by the native menu\nfor elements with the `.native-key-bindings` class. " - } - }, - "96": { - "13": { - "name": "onKeydown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 96, - 13 - ], - [ - 100, - 1 - ] - ], - "doc": "~Private~" - } - }, - "100": { - "12": { - "name": "openLink", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 100, - 12 - ], - [ - 106, - 1 - ] - ], - "doc": "~Private~" - } - }, - "106": { - "25": { - "name": "eachTabIndexedElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 106, - 25 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "13": { - "name": "focusNext", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 13 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "17": { - "name": "focusPrevious", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 17 - ], - [ - 156, - 28 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 9 - }, - "./build/src/window.coffee": { - "objects": { - "7": { - "17": { - "name": "window.measure", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "description", - "fn" - ], - "range": [ - [ - 7, - 17 - ], - [ - 20, - 51 - ] - ], - "doc": null - } - }, - "21": { - "17": { - "name": "window.profile", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "description", - "fn" - ], - "range": [ - [ - 21, - 17 - ], - [ - 26, - 9 - ] - ], - "doc": null - } - } - }, - "exports": {} - }, - "./build/src/workspace-view.coffee": { - "objects": { - "0": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 14 - ] - ], - "bindingType": "variable", - "module": "q@^1.0.1" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "4": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 4, - 12 - ], - [ - 4, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@^1" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - }, - "12": { - "type": "import", - "range": [ - [ - 5, - 12 - ], - [ - 5, - 33 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "logDeprecationWarnings", - "exportsProperty": "logDeprecationWarnings" - } - }, - "6": { - "17": { - "name": "scrollbarStyle", - "type": "import", - "range": [ - [ - 6, - 17 - ], - [ - 6, - 41 - ] - ], - "bindingType": "variable", - "module": "scrollbar-style@^1.0.2" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 5 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - }, - "8": { - "type": "import", - "range": [ - [ - 7, - 8 - ], - [ - 7, - 11 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "8": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 8, - 5 - ], - [ - 8, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "9": { - "12": { - "name": "Workspace", - "type": "import", - "range": [ - [ - 9, - 12 - ], - [ - 9, - 32 - ] - ], - "bindingType": "variable", - "path": "./workspace" - } - }, - "10": { - "19": { - "name": "CommandInstaller", - "type": "import", - "range": [ - [ - 10, - 19 - ], - [ - 10, - 47 - ] - ], - "bindingType": "variable", - "path": "./command-installer" - } - }, - "11": { - "13": { - "name": "EditorView", - "type": "import", - "range": [ - [ - 11, - 13 - ], - [ - 11, - 35 - ] - ], - "bindingType": "variable", - "path": "./editor-view" - } - }, - "12": { - "11": { - "name": "PaneView", - "type": "import", - "range": [ - [ - 12, - 11 - ], - [ - 12, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-view" - } - }, - "13": { - "17": { - "name": "PaneColumnView", - "type": "import", - "range": [ - [ - 13, - 17 - ], - [ - 13, - 44 - ] - ], - "bindingType": "variable", - "path": "./pane-column-view" - } - }, - "14": { - "14": { - "name": "PaneRowView", - "type": "import", - "range": [ - [ - 14, - 14 - ], - [ - 14, - 38 - ] - ], - "bindingType": "variable", - "path": "./pane-row-view" - } - }, - "15": { - "20": { - "name": "PaneContainerView", - "type": "import", - "range": [ - [ - 15, - 20 - ], - [ - 15, - 50 - ] - ], - "bindingType": "variable", - "path": "./pane-container-view" - } - }, - "16": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 16, - 9 - ], - [ - 16, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "55": { - "0": { - "type": "class", - "name": "WorkspaceView", - "bindingType": "exports", - "classProperties": [ - [ - 63, - 12 - ], - [ - 66, - 4 - ], - [ - 75, - 12 - ] - ], - "prototypeProperties": [ - [ - 81, - 14 - ], - [ - 168, - 12 - ], - [ - 171, - 24 - ], - [ - 191, - 15 - ], - [ - 205, - 15 - ], - [ - 209, - 16 - ], - [ - 213, - 15 - ], - [ - 223, - 12 - ], - [ - 233, - 18 - ], - [ - 238, - 16 - ], - [ - 242, - 15 - ], - [ - 247, - 19 - ], - [ - 252, - 18 - ], - [ - 257, - 17 - ], - [ - 262, - 16 - ], - [ - 267, - 18 - ], - [ - 272, - 17 - ], - [ - 281, - 21 - ], - [ - 287, - 17 - ], - [ - 291, - 25 - ], - [ - 294, - 21 - ], - [ - 297, - 22 - ], - [ - 300, - 22 - ], - [ - 303, - 23 - ], - [ - 306, - 24 - ], - [ - 315, - 16 - ], - [ - 325, - 16 - ], - [ - 336, - 18 - ], - [ - 344, - 16 - ], - [ - 347, - 21 - ], - [ - 350, - 23 - ], - [ - 353, - 23 - ], - [ - 356, - 18 - ], - [ - 368, - 12 - ], - [ - 373, - 12 - ], - [ - 378, - 17 - ], - [ - 383, - 21 - ] - ], - "doc": " Public: The top-level view for the entire window. An instance of this class is\navailable via the `atom.workspaceView` global.\n\nIt is backed by a model object, an instance of {Workspace}, which is available\nvia the `atom.workspace` global or {::getModel}. You should prefer to interact\nwith the model object when possible, but it won't always be possible with the\ncurrent API.\n\n## Adding Perimeter Panels\n\nUse the following methods if possible to attach panels to the perimeter of the\nworkspace rather than manipulating the DOM directly to better insulate you to\nchanges in the workspace markup:\n\n* {::prependToTop}\n* {::appendToTop}\n* {::prependToBottom}\n* {::appendToBottom}\n* {::prependToLeft}\n* {::appendToLeft}\n* {::prependToRight}\n* {::appendToRight}\n\n## Requiring in package specs\n\nIf you need a `WorkspaceView` instance to test your package, require it via\nthe built-in `atom` module.\n\n```coffee\n {WorkspaceView} = require 'atom'\n```\n\nYou can assign it to the `atom.workspaceView` global in the spec or just use\nit as a local, depending on what you're trying to accomplish. Building the\n`WorkspaceView` is currently expensive, so you should try build a {Workspace}\ninstead if possible. ", - "range": [ - [ - 55, - 0 - ], - [ - 385, - 25 - ] - ] - } - }, - "63": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 63, - 12 - ], - [ - 63, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "66": { - "4": { - "name": "configDefaults", - "type": "primitive", - "range": [ - [ - 66, - 4 - ], - [ - 73, - 23 - ] - ], - "bindingType": "classProperty" - } - }, - "75": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 75, - 12 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 81, - 14 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 12 - ], - [ - 168, - 20 - ] - ], - "doc": " Public: Get the underlying model object.\n\nReturns a {Workspace}. " - } - }, - "171": { - "24": { - "name": "installShellCommands", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 24 - ], - [ - 191, - 1 - ] - ], - "doc": "Public: Install the Atom shell commands on the user's system. " - } - }, - "191": { - "15": { - "name": "handleFocus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 191, - 15 - ], - [ - 205, - 1 - ] - ], - "doc": "~Private~" - } - }, - "205": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 205, - 15 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "16": { - "name": "confirmClose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 209, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": "Private: Prompts to save all unsaved items " - } - }, - "213": { - "15": { - "name": "updateTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 15 - ], - [ - 223, - 1 - ] - ], - "doc": "Private: Updates the application's title, based on whichever file is open. " - } - }, - "223": { - "12": { - "name": "setTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "title" - ], - "range": [ - [ - 223, - 12 - ], - [ - 233, - 1 - ] - ], - "doc": "Private: Sets the application's title. " - } - }, - "233": { - "18": { - "name": "getEditorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 233, - 18 - ], - [ - 238, - 1 - ] - ], - "doc": " Private: Get all editor views.\n\nYou should prefer {Workspace::getEditors} unless you absolutely need access\nto the view objects. Also consider using {::eachEditorView}, which will call\na callback for all current and *future* editor views.\n\nReturns an {Array} of {EditorView}s. " - } - }, - "238": { - "16": { - "name": "prependToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 238, - 16 - ], - [ - 242, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the top of the\nworkspace. " - } - }, - "242": { - "15": { - "name": "appendToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 242, - 15 - ], - [ - 247, - 1 - ] - ], - "doc": "Public: Append an element or view to the panels at the top of the workspace. " - } - }, - "247": { - "19": { - "name": "prependToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 247, - 19 - ], - [ - 252, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the bottom of the\nworkspace. " - } - }, - "252": { - "18": { - "name": "appendToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 252, - 18 - ], - [ - 257, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the bottom of the\nworkspace. " - } - }, - "257": { - "17": { - "name": "prependToLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 257, - 17 - ], - [ - 262, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the left of the\nworkspace. " - } - }, - "262": { - "16": { - "name": "appendToLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 262, - 16 - ], - [ - 267, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the left of the\nworkspace. " - } - }, - "267": { - "18": { - "name": "prependToRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 267, - 18 - ], - [ - 272, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the right of the\nworkspace. " - } - }, - "272": { - "17": { - "name": "appendToRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 272, - 17 - ], - [ - 281, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the right of the\nworkspace. " - } - }, - "281": { - "21": { - "name": "getActivePaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 281, - 21 - ], - [ - 287, - 1 - ] - ], - "doc": " Public: Get the active pane view.\n\nPrefer {Workspace::getActivePane} if you don't actually need access to the\nview.\n\nReturns a {PaneView}. " - } - }, - "287": { - "17": { - "name": "getActiveView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 287, - 17 - ], - [ - 291, - 1 - ] - ], - "doc": " Public: Get the view associated with the active pane item.\n\nReturns a view. " - } - }, - "291": { - "25": { - "name": "focusPreviousPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 291, - 25 - ], - [ - 291, - 56 - ] - ], - "doc": "Private: Focus the previous pane by id. " - } - }, - "294": { - "21": { - "name": "focusNextPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 294, - 21 - ], - [ - 294, - 48 - ] - ], - "doc": "Private: Focus the next pane by id. " - } - }, - "297": { - "22": { - "name": "focusPaneViewAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 22 - ], - [ - 297, - 51 - ] - ], - "doc": "Public: Focus the pane directly above the active pane. " - } - }, - "300": { - "22": { - "name": "focusPaneViewBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 300, - 22 - ], - [ - 300, - 51 - ] - ], - "doc": "Public: Focus the pane directly below the active pane. " - } - }, - "303": { - "23": { - "name": "focusPaneViewOnLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 303, - 23 - ], - [ - 303, - 53 - ] - ], - "doc": "Public: Focus the pane directly to the left of the active pane. " - } - }, - "306": { - "24": { - "name": "focusPaneViewOnRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 306, - 24 - ], - [ - 306, - 55 - ] - ], - "doc": "Public: Focus the pane directly to the right of the active pane. " - } - }, - "315": { - "16": { - "name": "eachPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 315, - 16 - ], - [ - 325, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\npane view in the workspace.\n\ncallback - A {Function} with a {PaneView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "325": { - "16": { - "name": "getPaneViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 325, - 16 - ], - [ - 336, - 1 - ] - ], - "doc": " Public: Get all existing pane views.\n\nPrefer {Workspace::getPanes} if you don't need access to the view objects.\nAlso consider using {::eachPaneView} if you want to register a callback for\nall current and *future* pane views.\n\nReturns an Array of all open {PaneView}s. " - } - }, - "336": { - "18": { - "name": "eachEditorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 336, - 18 - ], - [ - 344, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\neditor view in the workspace (only includes {EditorView}s that are pane\nitems).\n\ncallback - A {Function} with an {EditorView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "344": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 344, - 16 - ], - [ - 347, - 1 - ] - ], - "doc": "Private: Called by SpacePen " - } - }, - "347": { - "21": { - "name": "setEditorFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 347, - 21 - ], - [ - 350, - 1 - ] - ], - "doc": "~Private~" - } - }, - "350": { - "23": { - "name": "setEditorFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 350, - 23 - ], - [ - 353, - 1 - ] - ], - "doc": "~Private~" - } - }, - "353": { - "23": { - "name": "setEditorLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 353, - 23 - ], - [ - 356, - 1 - ] - ], - "doc": "~Private~" - } - }, - "356": { - "18": { - "name": "setEditorStyle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "property", - "value" - ], - "range": [ - [ - 356, - 18 - ], - [ - 368, - 1 - ] - ], - "doc": "~Private~" - } - }, - "368": { - "12": { - "name": "eachPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 368, - 12 - ], - [ - 373, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "373": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 373, - 12 - ], - [ - 378, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "378": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 378, - 17 - ], - [ - 383, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "383": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 383, - 21 - ], - [ - 385, - 25 - ] - ], - "doc": "Deprecated: Call {Workspace::getActivePaneItem} instead. " - } - } - }, - "exports": 55 - }, - "./build/src/workspace.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 4 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true, - "name": "join", - "exportsProperty": "join" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Model", - "exportsProperty": "Model" - } - }, - "4": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 4, - 4 - ], - [ - 4, - 14 - ] - ], - "bindingType": "variable", - "module": "q@^1.0.1" - } - }, - "5": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 5, - 15 - ], - [ - 5, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@^1" - } - }, - "6": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 6, - 12 - ], - [ - 6, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@^1" - } - }, - "7": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "8": { - "16": { - "name": "PaneContainer", - "type": "import", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 41 - ] - ], - "bindingType": "variable", - "path": "./pane-container" - } - }, - "9": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 9, - 7 - ], - [ - 9, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "18": { - "0": { - "type": "class", - "name": "Workspace", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 47, - 21 - ], - [ - 55, - 19 - ], - [ - 60, - 37 - ], - [ - 74, - 15 - ], - [ - 84, - 14 - ], - [ - 91, - 14 - ], - [ - 118, - 8 - ], - [ - 135, - 15 - ], - [ - 150, - 12 - ], - [ - 168, - 17 - ], - [ - 193, - 14 - ], - [ - 200, - 18 - ], - [ - 217, - 18 - ], - [ - 221, - 20 - ], - [ - 224, - 14 - ], - [ - 230, - 17 - ], - [ - 236, - 12 - ], - [ - 240, - 11 - ], - [ - 244, - 20 - ], - [ - 248, - 24 - ], - [ - 254, - 14 - ], - [ - 260, - 21 - ], - [ - 269, - 22 - ], - [ - 277, - 24 - ], - [ - 284, - 25 - ], - [ - 288, - 21 - ], - [ - 295, - 19 - ], - [ - 299, - 20 - ], - [ - 303, - 20 - ], - [ - 308, - 17 - ], - [ - 312, - 14 - ], - [ - 317, - 23 - ], - [ - 322, - 13 - ] - ], - "doc": " Public: Represents the state of the user interface for the entire window.\nAn instance of this class is available via the `atom.workspace` global.\n\nInteract with this object to open files, be notified of current and future\neditors, and manipulate panes. To add panels, you'll need to use the\n{WorkspaceView} class for now until we establish APIs at the model layer. ", - "range": [ - [ - 18, - 0 - ], - [ - 323, - 28 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 15 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 47, - 21 - ], - [ - 55, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during deserialization " - } - }, - "55": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 19 - ], - [ - 60, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during serialization. " - } - }, - "60": { - "37": { - "name": "getPackageNamesWithActiveGrammars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 60, - 37 - ], - [ - 74, - 1 - ] - ], - "doc": "~Private~" - } - }, - "74": { - "15": { - "name": "editorAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 74, - 15 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "14": { - "name": "eachEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 84, - 14 - ], - [ - 91, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\n{Editor} in the workspace.\n\ncallback - A {Function} with an {Editor} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "91": { - "14": { - "name": "getEditors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 14 - ], - [ - 118, - 1 - ] - ], - "doc": " Public: Get all current editors in the workspace.\n\nReturns an {Array} of {Editor}s. " - } - }, - "118": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "options" - ], - "range": [ - [ - 118, - 8 - ], - [ - 135, - 1 - ] - ], - "doc": " Public: Open a given a URI in Atom asynchronously.\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :split - Either 'left' or 'right'. If 'left', the item will be opened in\n leftmost pane of the current active pane's row. If 'right', the\n item will be opened in the rightmost pane of the current active\n pane's row.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`.\n :searchAllPanes - A {Boolean}. If `true`, the workspace will attempt to\n activate an existing item for the given URI on any pane.\n If `false`, only the active pane will be searched for\n an existing item for the same URI. Defaults to `false`.\n\nReturns a promise that resolves to the {Editor} for the file URI. " - } - }, - "135": { - "15": { - "name": "openLicense", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 135, - 15 - ], - [ - 150, - 1 - ] - ], - "doc": "Public: Open Atom's license in the active pane. " - } - }, - "150": { - "12": { - "name": "openSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "options" - ], - "range": [ - [ - 150, - 12 - ], - [ - 168, - 1 - ] - ], - "doc": " Private: Synchronously open the given URI in the active pane. **Only use this method\nin specs. Calling this in production code will block the UI thread and\neveryone will be mad at you.**\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`. " - } - }, - "168": { - "17": { - "name": "openUriInPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "pane", - "options" - ], - "range": [ - [ - 168, - 17 - ], - [ - 193, - 1 - ] - ], - "doc": "~Private~" - } - }, - "193": { - "14": { - "name": "reopenItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 193, - 14 - ], - [ - 200, - 1 - ] - ], - "doc": " Public: Asynchronously reopens the last-closed item's URI if it hasn't already been\nreopened.\n\nReturns a promise that is resolved when the item is opened " - } - }, - "200": { - "18": { - "name": "reopenItemSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 200, - 18 - ], - [ - 217, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "217": { - "18": { - "name": "registerOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 217, - 18 - ], - [ - 221, - 1 - ] - ], - "doc": " Public: Register an opener for a uri.\n\nAn {Editor} will be used if no openers return a value.\n\n## Example\n```coffeescript\n atom.project.registerOpener (uri) ->\n if path.extname(uri) is '.toml'\n return new TomlEditor(uri)\n```\n\nopener - A {Function} to be called when a path is being opened. " - } - }, - "221": { - "20": { - "name": "unregisterOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 221, - 20 - ], - [ - 224, - 1 - ] - ], - "doc": "Public: Unregister an opener registered with {::registerOpener}. " - } - }, - "224": { - "14": { - "name": "getOpeners", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 14 - ], - [ - 230, - 1 - ] - ], - "doc": "~Private~" - } - }, - "230": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 230, - 17 - ], - [ - 236, - 1 - ] - ], - "doc": " Public: Get the active {Pane}.\n\nReturns a {Pane}. " - } - }, - "236": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 236, - 12 - ], - [ - 240, - 1 - ] - ], - "doc": " Public: Get all {Pane}s.\n\nReturns an {Array} of {Pane}s. " - } - }, - "240": { - "11": { - "name": "saveAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 240, - 11 - ], - [ - 244, - 1 - ] - ], - "doc": "Public: Save all pane items. " - } - }, - "244": { - "20": { - "name": "activateNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 244, - 20 - ], - [ - 248, - 1 - ] - ], - "doc": "Public: Make the next pane active. " - } - }, - "248": { - "24": { - "name": "activatePreviousPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 248, - 24 - ], - [ - 254, - 1 - ] - ], - "doc": "Public: Make the previous pane active. " - } - }, - "254": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 254, - 14 - ], - [ - 260, - 1 - ] - ], - "doc": " Public: Get the first pane {Pane} with an item for the given URI.\n\nReturns a {Pane} or `undefined` if no pane exists for the given URI. " - } - }, - "260": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 21 - ], - [ - 269, - 1 - ] - ], - "doc": " Public: Get the active {Pane}'s active item.\n\nReturns an pane item {Object}. " - } - }, - "269": { - "22": { - "name": "saveActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 22 - ], - [ - 277, - 1 - ] - ], - "doc": " Public: Save the active pane item.\n\nIf the active pane item currently has a URI according to the item's\n`.getUri` method, calls `.save` on the item. Otherwise\n{::saveActivePaneItemAs} # will be called instead. This method does nothing\nif the active item does not implement a `.save` method. " - } - }, - "277": { - "24": { - "name": "saveActivePaneItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 277, - 24 - ], - [ - 284, - 1 - ] - ], - "doc": " Public: Prompt the user for a path and save the active pane item to it.\n\nOpens a native dialog where the user selects a path on disk, then calls\n`.saveAs` on the item with the selected path. This method does nothing if\nthe active item does not implement a `.saveAs` method. " - } - }, - "284": { - "25": { - "name": "destroyActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 25 - ], - [ - 288, - 1 - ] - ], - "doc": " Public: Destroy (close) the active pane item.\n\nRemoves the active pane item and calls the `.destroy` method on it if one is\ndefined. " - } - }, - "288": { - "21": { - "name": "destroyActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 288, - 21 - ], - [ - 295, - 1 - ] - ], - "doc": "Public: Destroy (close) the active pane. " - } - }, - "295": { - "19": { - "name": "getActiveEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 295, - 19 - ], - [ - 299, - 1 - ] - ], - "doc": " Public: Get the active item if it is an {Editor}.\n\nReturns an {Editor} or `undefined` if the current active item is not an\n{Editor}. " - } - }, - "299": { - "20": { - "name": "increaseFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 299, - 20 - ], - [ - 303, - 1 - ] - ], - "doc": "Public: Increase the editor font size by 1px. " - } - }, - "303": { - "20": { - "name": "decreaseFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 303, - 20 - ], - [ - 308, - 1 - ] - ], - "doc": "Public: Decrease the editor font size by 1px. " - } - }, - "308": { - "17": { - "name": "resetFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 308, - 17 - ], - [ - 312, - 1 - ] - ], - "doc": "Public: Restore to a default editor font size. " - } - }, - "312": { - "14": { - "name": "itemOpened", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 312, - 14 - ], - [ - 317, - 1 - ] - ], - "doc": "Private: Removes the item's uri from the list of potential items to reopen. " - } - }, - "317": { - "23": { - "name": "onPaneItemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 317, - 23 - ], - [ - 322, - 1 - ] - ], - "doc": "Private: Adds the destroyed item's uri to the list of items to reopen. " - } - }, - "322": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 322, - 13 - ], - [ - 323, - 28 - ] - ], - "doc": "Private: Called by Model superclass when destroyed " - } - } - }, - "exports": 18 - } - } - } -] \ No newline at end of file From 86ef06ebb10322c326028c2bf8ea13e9e1728f22 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Tue, 12 Aug 2014 11:10:10 -0700 Subject: [PATCH 052/144] Update to contain superclasses --- docs/api/donna.json | 29 +++++++++++++++++++++++++++++ docs/api/tello.json | 15 +++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/docs/api/donna.json b/docs/api/donna.json index a2a4f3580..61503375f 100644 --- a/docs/api/donna.json +++ b/docs/api/donna.json @@ -249,6 +249,7 @@ "0": { "type": "class", "name": "Atom", + "superClass": "Model", "bindingType": "exports", "classProperties": [ [ @@ -5005,6 +5006,7 @@ "0": { "type": "class", "name": "BufferedNodeProcess", + "superClass": "BufferedProcess", "bindingType": "exports", "classProperties": [], "prototypeProperties": [ @@ -7127,6 +7129,7 @@ "0": { "type": "class", "name": "CursorView", + "superClass": "View", "bindingType": "exports", "classProperties": [ [ @@ -7798,6 +7801,7 @@ "0": { "type": "class", "name": "Cursor", + "superClass": "Model", "bindingType": "exports", "classProperties": [], "prototypeProperties": [ @@ -11634,6 +11638,7 @@ "0": { "type": "class", "name": "BufferToScreenConversionError", + "superClass": "Error", "classProperties": [], "prototypeProperties": [ [ @@ -11679,6 +11684,7 @@ "0": { "type": "class", "name": "DisplayBuffer", + "superClass": "Model", "bindingType": "exports", "classProperties": [], "prototypeProperties": [ @@ -15438,6 +15444,7 @@ "0": { "type": "class", "name": "EditorView", + "superClass": "View", "bindingType": "exports", "classProperties": [ [ @@ -19248,6 +19255,7 @@ "0": { "type": "class", "name": "Editor", + "superClass": "Model", "bindingType": "exports", "classProperties": [], "prototypeProperties": [ @@ -28592,6 +28600,7 @@ "0": { "type": "class", "name": "GutterView", + "superClass": "View", "bindingType": "exports", "classProperties": [ [ @@ -34753,6 +34762,7 @@ "0": { "type": "class", "name": "PaneAxisView", + "superClass": "View", "bindingType": "exports", "classProperties": [], "prototypeProperties": [ @@ -35030,6 +35040,7 @@ "0": { "type": "class", "name": "PaneAxis", + "superClass": "Model", "bindingType": "exports", "classProperties": [], "prototypeProperties": [ @@ -35382,6 +35393,7 @@ "0": { "type": "class", "name": "PaneColumnView", + "superClass": "PaneAxisView", "bindingType": "exports", "classProperties": [ [ @@ -35564,6 +35576,7 @@ "0": { "type": "class", "name": "PaneContainerView", + "superClass": "View", "bindingType": "exports", "classProperties": [ [ @@ -36308,6 +36321,7 @@ "0": { "type": "class", "name": "PaneContainer", + "superClass": "Model", "bindingType": "exports", "classProperties": [ [ @@ -36769,6 +36783,7 @@ "0": { "type": "class", "name": "PaneRowView", + "superClass": "PaneAxisView", "bindingType": "exports", "classProperties": [ [ @@ -36950,6 +36965,7 @@ "0": { "type": "class", "name": "PaneView", + "superClass": "View", "bindingType": "exports", "classProperties": [ [ @@ -37881,6 +37897,7 @@ "0": { "type": "class", "name": "Pane", + "superClass": "Model", "bindingType": "exports", "classProperties": [], "prototypeProperties": [ @@ -39269,6 +39286,7 @@ "0": { "type": "class", "name": "Project", + "superClass": "Model", "bindingType": "exports", "classProperties": [ [ @@ -40317,6 +40335,7 @@ "0": { "type": "class", "name": "ReactEditorView", + "superClass": "View", "bindingType": "exports", "classProperties": [ [ @@ -42166,6 +42185,7 @@ "0": { "type": "class", "name": "ScrollView", + "superClass": "View", "bindingType": "exports", "classProperties": [], "prototypeProperties": [ @@ -42623,6 +42643,7 @@ "0": { "type": "class", "name": "SelectListView", + "superClass": "View", "bindingType": "exports", "classProperties": [ [ @@ -43399,6 +43420,7 @@ "0": { "type": "class", "name": "SelectionView", + "superClass": "View", "bindingType": "exports", "classProperties": [ [ @@ -43847,6 +43869,7 @@ "0": { "type": "class", "name": "Selection", + "superClass": "Model", "bindingType": "exports", "classProperties": [], "prototypeProperties": [ @@ -46482,6 +46505,7 @@ "0": { "type": "class", "name": "Syntax", + "superClass": "GrammarRegistry", "bindingType": "exports", "classProperties": [ [ @@ -48052,6 +48076,7 @@ "0": { "type": "class", "name": "ThemePackage", + "superClass": "Package", "bindingType": "exports", "classProperties": [], "prototypeProperties": [ @@ -49096,6 +49121,7 @@ "0": { "type": "class", "name": "TokenizedBuffer", + "superClass": "Model", "bindingType": "exports", "classProperties": [], "prototypeProperties": [ @@ -51641,6 +51667,7 @@ "0": { "type": "class", "name": "WorkspaceView", + "superClass": "View", "bindingType": "exports", "classProperties": [ [ @@ -52805,6 +52832,7 @@ "0": { "type": "class", "name": "Workspace", + "superClass": "Model", "bindingType": "exports", "classProperties": [], "prototypeProperties": [ @@ -57704,6 +57732,7 @@ "0": { "type": "class", "name": "View", + "superClass": "jQuery", "classProperties": [ [ 59, diff --git a/docs/api/tello.json b/docs/api/tello.json index 45d9787c0..86b8da4fa 100644 --- a/docs/api/tello.json +++ b/docs/api/tello.json @@ -2,6 +2,7 @@ "classes": { "Atom": { "name": "Atom", + "superClass": "Model", "filename": "src/atom.coffee", "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L36", "sections": [], @@ -261,6 +262,7 @@ }, "BufferedNodeProcess": { "name": "BufferedNodeProcess", + "superClass": "BufferedProcess", "filename": "src/buffered-node-process.coffee", "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/buffered-node-process.coffee#L15", "sections": [], @@ -595,6 +597,7 @@ }, "Cursor": { "name": "Cursor", + "superClass": "Model", "filename": "src/cursor.coffee", "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L11", "sections": [], @@ -1157,6 +1160,7 @@ }, "EditorView": { "name": "EditorView", + "superClass": "View", "filename": "src/editor-view.coffee", "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L42", "sections": [], @@ -1479,6 +1483,7 @@ }, "Editor": { "name": "Editor", + "superClass": "Model", "filename": "src/editor.coffee", "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L139", "sections": [], @@ -3636,6 +3641,7 @@ }, "PaneView": { "name": "PaneView", + "superClass": "View", "filename": "src/pane-view.coffee", "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane-view.coffee#L15", "sections": [], @@ -3670,6 +3676,7 @@ }, "Pane": { "name": "Pane", + "superClass": "Model", "filename": "src/pane.coffee", "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L12", "sections": [], @@ -3946,6 +3953,7 @@ }, "Project": { "name": "Project", + "superClass": "Model", "filename": "src/project.coffee", "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L22", "sections": [], @@ -4045,6 +4053,7 @@ }, "ScrollView": { "name": "ScrollView", + "superClass": "View", "filename": "src/scroll-view.coffee", "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/scroll-view.coffee#L22", "sections": [], @@ -4060,6 +4069,7 @@ }, "SelectListView": { "name": "SelectListView", + "superClass": "View", "filename": "src/select-list-view.coffee", "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L37", "sections": [], @@ -4228,6 +4238,7 @@ }, "Selection": { "name": "Selection", + "superClass": "Model", "filename": "src/selection.coffee", "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L7", "sections": [], @@ -4734,6 +4745,7 @@ }, "Syntax": { "name": "Syntax", + "superClass": "GrammarRegistry", "filename": "src/syntax.coffee", "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/syntax.coffee#L19", "sections": [], @@ -4891,6 +4903,7 @@ }, "WorkspaceView": { "name": "WorkspaceView", + "superClass": "View", "filename": "src/workspace-view.coffee", "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L56", "sections": [], @@ -5091,6 +5104,7 @@ }, "Workspace": { "name": "Workspace", + "superClass": "Model", "filename": "src/workspace.coffee", "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L19", "sections": [], @@ -5954,6 +5968,7 @@ }, "View": { "name": "View", + "superClass": "jQuery", "filename": "src/space-pen.coffee", "srcUrl": "https://github.com/atom/space-pen/blob/v3.3.0/src/space-pen.coffee#L59", "sections": [], From f993b784799a8d726c6fc0ec9b9e44ade2044a39 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 19 Aug 2014 12:13:24 -0600 Subject: [PATCH 053/144] Remove unused deploy-docs task --- build/tasks/docs-task.coffee | 44 ------------------------------------ 1 file changed, 44 deletions(-) diff --git a/build/tasks/docs-task.coffee b/build/tasks/docs-task.coffee index 840f93dfe..f392688e4 100644 --- a/build/tasks/docs-task.coffee +++ b/build/tasks/docs-task.coffee @@ -63,50 +63,6 @@ module.exports = (grunt) -> grunt.util.async.waterfall [fetchTag, copyDocs], done - grunt.registerTask 'deploy-docs', 'Publishes latest API docs to atom-docs.githubapp.com', -> - done = @async() - docsRepoArgs = ['--work-tree=../atom-docs/', '--git-dir=../atom-docs/.git/'] - - fetchTag = (args..., callback) -> - cmd = 'git' - args = ['describe', '--abbrev=0', '--tags'] - grunt.util.spawn {cmd, args}, (error, result) -> - if error? - callback(error) - else - callback(null, String(result).trim().split('.')[0..1].join('.')) - - stageDocs = (tag, callback) -> - cmd = 'git' - args = [docsRepoArgs..., 'add', "public/#{tag}"] - grunt.util.spawn({cmd, args, opts}, callback) - - fetchSha = (args..., callback) -> - cmd = 'git' - args = ['rev-parse', 'HEAD'] - grunt.util.spawn {cmd, args}, (error, result) -> - if error? - callback(error) - else - callback(null, String(result).trim()) - - commitChanges = (sha, callback) -> - cmd = 'git' - args = [docsRepoArgs..., 'commit', "-m Update API docs to #{sha}"] - grunt.util.spawn({cmd, args, opts}, callback) - - pushOrigin = (args..., callback) -> - cmd = 'git' - args = [docsRepoArgs..., 'push', 'origin', 'master'] - grunt.util.spawn({cmd, args, opts}, callback) - - pushHeroku = (args..., callback) -> - cmd = 'git' - args = [docsRepoArgs..., 'push', 'heroku', 'master'] - grunt.util.spawn({cmd, args, opts}, callback) - - grunt.util.async.waterfall [fetchTag, stageDocs, fetchSha, commitChanges, pushOrigin, pushHeroku], done - downloadFileFromRepo = ({repo, file}, callback) -> uri = "https://raw.github.com/atom/#{repo}/master/#{file}" request uri, (error, response, contents) -> From e011be3428dbf7d96a0209152c878019b8d82b8d Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Tue, 19 Aug 2014 12:38:42 -0600 Subject: [PATCH 054/144] Update argument lists in editor.coffee --- src/editor.coffee | 210 ++++++++++++++++++++++++---------------------- 1 file changed, 111 insertions(+), 99 deletions(-) diff --git a/src/editor.coffee b/src/editor.coffee index a2f5d1624..3bf30eb29 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -294,7 +294,7 @@ class Editor extends Model # Set the number of characters that can be displayed horizontally in the # editor. # - # editorWidthInChars - A {Number} representing the width of the {EditorView} + # * `editorWidthInChars` A {Number} representing the width of the {EditorView} # in characters. setEditorWidthInChars: (editorWidthInChars) -> @displayBuffer.setEditorWidthInChars(editorWidthInChars) @@ -308,7 +308,7 @@ class Editor extends Model # Public: Enable or disable soft tabs for this editor. # - # softTabs - A {Boolean} + # * `softTabs` A {Boolean} setSoftTabs: (@softTabs) -> @softTabs # Public: Toggle soft tabs for this editor @@ -319,7 +319,7 @@ class Editor extends Model # Public: Enable or disable soft wrap for this editor. # - # softWrap - A {Boolean} + # * `softWrap` A {Boolean} setSoftWrap: (softWrap) -> @displayBuffer.setSoftWrap(softWrap) # Public: Toggle soft wrap for this editor @@ -361,12 +361,16 @@ class Editor extends Model # unchanged. If the {Point} does not describe a valid position, the closest # valid position is returned instead. # - # For example: - # * `[-1, -1]` is converted to `[0, 0]`. - # * If the line at row 2 is 10 long, `[2, Infinity]` is converted to - # `[2, 10]`. + # ## Examples # - # bufferPosition - The {Point} representing the position to clip. + # ```coffee + # editor.clipBufferPosition([-1, -1]) # -> `[0, 0]` + # + # # When the line at buffer row 2 is 10 characters long + # editor.clipBufferPosition([2, Infinity]) # -> `[2, 10]` + # ``` + # + # * `bufferPosition` The {Point} representing the position to clip. # # Returns a {Point}. clipBufferPosition: (bufferPosition) -> @buffer.clipPosition(bufferPosition) @@ -374,7 +378,7 @@ class Editor extends Model # Public: Clip the start and end of the given range to valid positions in the # buffer. See {::clipBufferPosition} for more information. # - # range - The {Range} to clip. + # * `range` The {Range} to clip. # # Returns a {Range}. clipBufferRange: (range) -> @buffer.clipRange(range) @@ -386,7 +390,7 @@ class Editor extends Model # the tab length is 2, a row with 4 leading spaces would have an indentation # level of 2. # - # bufferRow - A {Number} indicating the buffer row. + # * `bufferRow` A {Number} indicating the buffer row. # # Returns a {Number}. indentationForBufferRow: (bufferRow) -> @@ -399,11 +403,11 @@ class Editor extends Model # Note that if soft tabs are enabled and the tab length is 2, a row with 4 # leading spaces would have an indentation level of 2. # - # bufferRow - A {Number} indicating the buffer row. - # newLevel - A {Number} indicating the new indentation level. - # options - An {Object} with the following keys: - # :preserveLeadingWhitespace - true to preserve any whitespace already at - # the beginning of the line (default: false). + # * `bufferRow` A {Number} indicating the buffer row. + # * `newLevel` A {Number} indicating the new indentation level. + # * `options` An {Object} with the following keys: + # * `preserveLeadingWhitespace` `true` to preserve any whitespace already at + # the beginning of the line (default: false). setIndentationForBufferRow: (bufferRow, newLevel, {preserveLeadingWhitespace}={}) -> if preserveLeadingWhitespace endColumn = 0 @@ -419,7 +423,7 @@ class Editor extends Model # the tab length is 2, a row with 4 leading spaces would have an indentation # level of 2. # - # line - A {String} representing a line of text. + # * `line` A {String} representing a line of text. # # Returns a {Number}. indentLevelForLine: (line) -> @@ -442,7 +446,7 @@ class Editor extends Model # # See {TextBuffer::saveAs} for more details. # - # filePath - A {String} path. + # * `filePath` A {String} path. saveAs: (filePath) -> @buffer.saveAs(filePath) # Copies the current file path to the native clipboard. @@ -494,8 +498,8 @@ class Editor extends Model # Returns the range for the given buffer row. # - # row - A row {Number}. - # options - An options hash with an `includeNewline` key. + # * `row` A row {Number}. + # * `options` An options hash with an `includeNewline` key. # # Returns a {Range}. bufferRangeForBufferRow: (row, {includeNewline}={}) -> @buffer.rangeForRow(row, includeNewline) @@ -503,13 +507,13 @@ class Editor extends Model # Public: Returns a {String} representing the contents of the line at the # given buffer row. # - # row - A {Number} representing a zero-indexed buffer row. + # * `row` A {Number} representing a zero-indexed buffer row. lineForBufferRow: (row) -> @buffer.lineForRow(row) # Public: Returns a {Number} representing the line length for the given # buffer row, exclusive of its line-ending character(s). # - # row - A {Number} indicating the buffer row. + # * `row` A {Number} indicating the buffer row. lineLengthForBufferRow: (row) -> @buffer.lineLengthForRow(row) # {Delegates to: TextBuffer.scan} @@ -536,8 +540,8 @@ class Editor extends Model # The position is also clipped via {::clipScreenPosition} following the # conversion, which only makes a difference when `options` are supplied. # - # bufferPosition - A {Point} or {Array} of [row, column]. - # options - An options hash for {::clipScreenPosition}. + # * `bufferPosition` A {Point} or {Array} of [row, column]. + # * `options` An options hash for {::clipScreenPosition}. # # Returns a {Point}. screenPositionForBufferPosition: (bufferPosition, options) -> @displayBuffer.screenPositionForBufferPosition(bufferPosition, options) @@ -546,8 +550,8 @@ class Editor extends Model # # The position is clipped via {::clipScreenPosition} prior to the conversion. # - # bufferPosition - A {Point} or {Array} of [row, column]. - # options - An options hash for {::clipScreenPosition}. + # * `bufferPosition` A {Point} or {Array} of [row, column]. + # * `options` An options hash for {::clipScreenPosition}. # # Returns a {Point}. bufferPositionForScreenPosition: (screenPosition, options) -> @displayBuffer.bufferPositionForScreenPosition(screenPosition, options) @@ -569,12 +573,16 @@ class Editor extends Model # unchanged. If the {Point} does not describe a valid position, the closest # valid position is returned instead. # - # For example: - # * `[-1, -1]` is converted to `[0, 0]`. - # * If the line at screen row 2 is 10 long, `[2, Infinity]` is converted to - # `[2, 10]`. + # ## Examples # - # bufferPosition - The {Point} representing the position to clip. + # ```coffee + # editor.clipScreenPosition([-1, -1]) # -> `[0, 0]` + # + # # When the line at screen row 2 is 10 characters long + # editor.clipScreenPosition([2, Infinity]) # -> `[2, 10]` + # ``` + # + # * `bufferPosition` The {Point} representing the position to clip. # # Returns a {Point}. clipScreenPosition: (screenPosition, options) -> @displayBuffer.clipScreenPosition(screenPosition, options) @@ -606,7 +614,7 @@ class Editor extends Model # anonymous CoffeeScript function, the method returns the following array: # `["source.coffee", "meta.inline.function.coffee", "variable.parameter.function.coffee"]` # - # bufferPosition - A {Point} or {Array} of [row, column]. + # * `bufferPosition` A {Point} or {Array} of [row, column]. # # Returns an {Array} of {String}s. scopesForBufferPosition: (bufferPosition) -> @displayBuffer.scopesForBufferPosition(bufferPosition) @@ -635,13 +643,18 @@ class Editor extends Model # Public: For each selection, replace the selected text with the given text. # - # Emits: `will-insert-text -> ({text, cancel})` before the text has - # been inserted. Calling `cancel` will prevent the text from being - # inserted. - # Emits: `did-insert-text -> ({text})` after the text has been inserted. + # ## Events # - # text - A {String} representing the text to insert. - # options - See {Selection::insertText}. + # * `will-insert-text` Emit before the text has been inserted. + # * `event` event {Object} + # * `text` {String} text to be inserted + # * `cancel` {Function} Call to prevent the text from being inserted + # * `did-insert-text` Emit after the text has been inserted. + # * `event` event {Object} + # * `text` {String} text to be inserted + # + # * `text` A {String} representing the text to insert. + # * `options` See {Selection::insertText}. # # Returns a {Range} when the text has been inserted # Returns a {Bool} false when the text has not been inserted @@ -800,7 +813,7 @@ class Editor extends Model # editor, each selection will be replaced with the content of the # corresponding clipboard selection text. # - # options - See {Selection::insertText}. + # * `options` See {Selection::insertText}. pasteText: (options={}) -> {text, metadata} = atom.clipboard.readWithMetadata() @@ -857,7 +870,7 @@ class Editor extends Model # Public: Fold all foldable lines at the given indent level. # - # level - A {Number}. + # * `level` A {Number}. foldAllAtIndentLevel: (level) -> @languageMode.foldAllAtIndentLevel(level) @@ -867,13 +880,13 @@ class Editor extends Model # If the given row is foldable, the fold will begin there. Otherwise, it will # begin at the first foldable row preceding the given row. # - # bufferRow - A {Number}. + # * `bufferRow` A {Number}. foldBufferRow: (bufferRow) -> @languageMode.foldBufferRow(bufferRow) # Public: Unfold all folds containing the given row in buffer coordinates. # - # bufferRow - A {Number} + # * `bufferRow` A {Number} unfoldBufferRow: (bufferRow) -> @displayBuffer.unfoldBufferRow(bufferRow) @@ -881,7 +894,7 @@ class Editor extends Model # # A *foldable* row is a row that *starts* a row range that can be folded. # - # bufferRow - A {Number} + # * `bufferRow` A {Number} # # Returns a {Boolean}. isFoldableAtBufferRow: (bufferRow) -> @@ -920,7 +933,7 @@ class Editor extends Model # Public: Determine whether the given row in buffer coordinates is folded. # - # bufferRow - A {Number} + # * `bufferRow` A {Number} # # Returns a {Boolean}. isFoldedAtBufferRow: (bufferRow) -> @@ -928,7 +941,7 @@ class Editor extends Model # Public: Determine whether the given row in screen coordinates is folded. # - # screenRow - A {Number} + # * `screenRow` A {Number} # # Returns a {Boolean}. isFoldedAtScreenRow: (screenRow) -> @@ -1091,7 +1104,7 @@ class Editor extends Model # All the changes made inside the given {Function} can be reverted with a # single call to {::undo}. # - # fn - A {Function} that will be called once for each {Selection}. The first + # * `fn` A {Function} that will be called once for each {Selection}. The first # argument will be a {Selection} and the second argument will be the # {Number} index of that selection. mutateSelectedText: (fn) -> @@ -1110,8 +1123,8 @@ class Editor extends Model # Public: Get all the decorations within a screen row range. # - # startScreenRow - the {Number} beginning screen row - # endScreenRow - the {Number} end screen row (inclusive) + # * `startScreenRow` the {Number} beginning screen row + # * `endScreenRow` the {Number} end screen row (inclusive) # # Returns an {Object} of decorations in the form # `{1: [{id: 10, type: 'gutter', class: 'someclass'}], 2: ...}` @@ -1141,20 +1154,20 @@ class Editor extends Model # # ``` # - # marker - A {Marker} you want this decoration to follow. - # decorationParams - An {Object} representing the decoration eg. `{type: 'gutter', class: 'linter-error'}` - # :type - There are a few supported decoration types: + # * `marker` A {Marker} you want this decoration to follow. + # * `decorationParams` An {Object} representing the decoration eg. `{type: 'gutter', class: 'linter-error'}` + # * `type` There are a few supported decoration types: # * `gutter`: Applies the decoration to the line numbers spanned by the marker. # * `line`: Applies the decoration to the lines spanned by the marker. # * `highlight`: Applies the decoration to a "highlight" behind the marked range. - # :class - This CSS class will be applied to the decorated line number, + # * `class` This CSS class will be applied to the decorated line number, # line, or highlight. - # :onlyHead - If `true`, the decoration will only be applied to the head + # * `onlyHead` If `true`, the decoration will only be applied to the head # of the marker. Only applicable to the `line` and `gutter` types. - # :onlyEmpty - If `true`, the decoration will only be applied if the + # * `onlyEmpty` If `true`, the decoration will only be applied if the # associated marker is empty. Only applicable to the `line` and # `gutter` types. - # :onlyNonEmpty - If `true`, the decoration will only be applied if the + # * `onlyNonEmpty` If `true`, the decoration will only be applied if the # associated marker is non-empty. Only applicable to the `line` and # gutter types. # @@ -1180,25 +1193,25 @@ class Editor extends Model # In addition, there are several special properties that will be compared # with the range of the markers rather than their properties. # - # properties - An {Object} containing properties that each returned marker + # * `properties` An {Object} containing properties that each returned marker # must satisfy. Markers can be associated with custom properties, which are # compared with basic equality. In addition, several reserved properties # can be used to filter markers based on their current range: - # :startBufferRow - Only include markers starting at this row in buffer + # * `startBufferRow` Only include markers starting at this row in buffer # coordinates. - # :endBufferRow - Only include markers ending at this row in buffer + # * `endBufferRow` Only include markers ending at this row in buffer # coordinates. - # :containsBufferRange - Only include markers containing this {Range} or + # * `containsBufferRange` Only include markers containing this {Range} or # in range-compatible {Array} in buffer coordinates. - # :containsBufferPosition - Only include markers containing this {Point} + # * `containsBufferPosition` Only include markers containing this {Point} # or {Array} of `[row, column]` in buffer coordinates. findMarkers: (properties) -> @displayBuffer.findMarkers(properties) # Public: Mark the given range in screen coordinates. # - # range - A {Range} or range-compatible {Array}. - # options - See {TextBuffer::markRange}. + # * `range` A {Range} or range-compatible {Array}. + # * `options` See {TextBuffer::markRange}. # # Returns a {DisplayBufferMarker}. markScreenRange: (args...) -> @@ -1206,8 +1219,8 @@ class Editor extends Model # Public: Mark the given range in buffer coordinates. # - # range - A {Range} or range-compatible {Array}. - # options - See {TextBuffer::markRange}. + # * `range` A {Range} or range-compatible {Array}. + # * `options` See {TextBuffer::markRange}. # # Returns a {DisplayBufferMarker}. markBufferRange: (args...) -> @@ -1215,8 +1228,8 @@ class Editor extends Model # Public: Mark the given position in screen coordinates. # - # position - A {Point} or {Array} of `[row, column]`. - # options - See {TextBuffer::markRange}. + # * `position` A {Point} or {Array} of `[row, column]`. + # * `options` See {TextBuffer::markRange}. # # Returns a {DisplayBufferMarker}. markScreenPosition: (args...) -> @@ -1224,8 +1237,8 @@ class Editor extends Model # Public: Mark the given position in buffer coordinates. # - # position - A {Point} or {Array} of `[row, column]`. - # options - See {TextBuffer::markRange}. + # * `position` A {Point} or {Array} of `[row, column]`. + # * `options` See {TextBuffer::markRange}. # # Returns a {DisplayBufferMarker}. markBufferPosition: (args...) -> @@ -1282,8 +1295,8 @@ class Editor extends Model # Add a {Selection} based on the given {DisplayBufferMarker}. # - # marker - The {DisplayBufferMarker} to highlight - # options - An {Object} that pertains to the {Selection} constructor. + # * `marker` The {DisplayBufferMarker} to highlight + # * `options` An {Object} that pertains to the {Selection} constructor. # # Returns the new {Selection}. addSelection: (marker, options={}) -> @@ -1304,9 +1317,9 @@ class Editor extends Model # Public: Add a selection for the given range in buffer coordinates. # - # bufferRange - A {Range} - # options - An options {Object}: - # :reversed - A {Boolean} indicating whether to create the selection in a + # * `bufferRange` A {Range} + # * `options` An options {Object}: + # * `reversed` A {Boolean} indicating whether to create the selection in a # reversed orientation. # # Returns the added {Selection}. @@ -1319,9 +1332,9 @@ class Editor extends Model # Public: Set the selected range in buffer coordinates. If there are multiple # selections, they are reduced to a single selection with the given range. # - # bufferRange - A {Range} or range-compatible {Array}. - # options - An options {Object}: - # :reversed - A {Boolean} indicating whether to create the selection in a + # * `bufferRange` A {Range} or range-compatible {Array}. + # * `options` An options {Object}: + # * `reversed` A {Boolean} indicating whether to create the selection in a # reversed orientation. setSelectedBufferRange: (bufferRange, options) -> @setSelectedBufferRanges([bufferRange], options) @@ -1329,9 +1342,9 @@ class Editor extends Model # Public: Set the selected range in screen coordinates. If there are multiple # selections, they are reduced to a single selection with the given range. # - # screenRange - A {Range} or range-compatible {Array}. - # options - An options {Object}: - # :reversed - A {Boolean} indicating whether to create the selection in a + # * `screenRange` A {Range} or range-compatible {Array}. + # * `options` An options {Object}: + # * `reversed` A {Boolean} indicating whether to create the selection in a # reversed orientation. setSelectedScreenRange: (screenRange, options) -> @setSelectedBufferRange(@bufferRangeForScreenRange(screenRange, options), options) @@ -1339,9 +1352,9 @@ class Editor extends Model # Public: Set the selected ranges in buffer coordinates. If there are multiple # selections, they are replaced by new selections with the given ranges. # - # bufferRanges - An {Array} of {Range}s or range-compatible {Array}s. - # options - An options {Object}: - # :reversed - A {Boolean} indicating whether to create the selection in a + # * `bufferRanges` An {Array} of {Range}s or range-compatible {Array}s. + # * `options` An options {Object}: + # * `reversed` A {Boolean} indicating whether to create the selection in a # reversed orientation. setSelectedBufferRanges: (bufferRanges, options={}) -> throw new Error("Passed an empty array to setSelectedBufferRanges") unless bufferRanges.length @@ -1391,7 +1404,7 @@ class Editor extends Model # Public: Get the most recent {Selection} or the selection at the given # index. # - # index - Optional. The index of the selection to return, based on the order + # * `index` Optional. The index of the selection to return, based on the order # in which the selections were added. # # Returns a {Selection}. @@ -1422,7 +1435,7 @@ class Editor extends Model # Public: Determine if a given range in buffer coordinates intersects a # selection. # - # bufferRange - A {Range} or range-compatible {Array}. + # * `bufferRange` A {Range} or range-compatible {Array}. # # Returns a {Boolean}. selectionIntersectsBufferRange: (bufferRange) -> @@ -1433,9 +1446,9 @@ class Editor extends Model # # If there are multiple cursors, they will be consolidated to a single cursor. # - # position - A {Point} or {Array} of `[row, column]` - # options - An {Object} combining options for {::clipScreenPosition} with: - # :autoscroll - Determines whether the editor scrolls to the new cursor's + # * `position` A {Point} or {Array} of `[row, column]` + # * `options` An {Object} combining options for {::clipScreenPosition} with: + # * `autoscroll` Determines whether the editor scrolls to the new cursor's # position. Defaults to true. setCursorScreenPosition: (position, options) -> @moveCursors (cursor) -> cursor.setScreenPosition(position, options) @@ -1457,9 +1470,9 @@ class Editor extends Model # # If there are multiple cursors, they will be consolidated to a single cursor. # - # position - A {Point} or {Array} of `[row, column]` - # options - An {Object} combining options for {::clipScreenPosition} with: - # :autoscroll - Determines whether the editor scrolls to the new cursor's + # * `position` A {Point} or {Array} of `[row, column]` + # * `options` An {Object} combining options for {::clipScreenPosition} with: + # * `autoscroll` Determines whether the editor scrolls to the new cursor's # position. Defaults to true. setCursorBufferPosition: (position, options) -> @moveCursors (cursor) -> cursor.setBufferPosition(position, options) @@ -1509,7 +1522,7 @@ class Editor extends Model # Public: Get the text in the given {Range} in buffer coordinates. # - # range - A {Range} or range-compatible {Array}. + # * `range` A {Range} or range-compatible {Array}. # # Returns a {String}. getTextInBufferRange: (range) -> @@ -1517,8 +1530,8 @@ class Editor extends Model # Public: Set the text in the given {Range} in buffer coordinates. # - # range - A {Range} or range-compatible {Array}. - # text - A {String} + # * `range` A {Range} or range-compatible {Array}. + # * `text` A {String} # # Returns the {Range} of the newly-inserted text. setTextInBufferRange: (range, text, normalizeLineEndings) -> @getBuffer().setTextInRange(range, text, normalizeLineEndings) @@ -1532,7 +1545,7 @@ class Editor extends Model # Public: Returns the word surrounding the most recently added cursor. # - # options - See {Cursor::getBeginningOfCurrentWordBufferPosition}. + # * `options` See {Cursor::getBeginningOfCurrentWordBufferPosition}. getWordUnderCursor: (options) -> @getTextInBufferRange(@getCursor().getCurrentWordBufferRange(options)) @@ -1615,9 +1628,8 @@ class Editor extends Model # Public: Scroll the editor to reveal the most recently added cursor if it is # off-screen. # - # options - An optional hash of options. - # :center - Center the editor around the cursor if possible. Defauls to - # true. + # * `options` An optional hash of options. + # * `center` Center the editor around the cursor if possible. Defauls to true. scrollToCursorPosition: (options) -> @getCursor().autoscroll(center: options?.center ? true) @@ -1657,7 +1669,7 @@ class Editor extends Model # # This method may merge selections that end up intesecting. # - # position - An instance of {Point}, with a given `row` and `column`. + # * `position` An instance of {Point}, with a given `row` and `column`. selectToScreenPosition: (position) -> lastSelection = @getLastSelection() lastSelection.selectToScreenPosition(position) @@ -1875,7 +1887,7 @@ class Editor extends Model # Public: Select the range of the given marker if it is valid. # - # marker - A {DisplayBufferMarker} + # * `marker` A {DisplayBufferMarker} # # Returns the selected {Range} or `undefined` if the marker is invalid. selectMarker: (marker) -> @@ -1974,7 +1986,7 @@ class Editor extends Model # abort the transaction, call {::abortTransaction} to terminate the function's # execution and revert any changes performed up to the abortion. # - # fn - A {Function} to call inside the transaction. + # * `fn` A {Function} to call inside the transaction. transact: (fn) -> @buffer.transact(fn) # Public: Start an open-ended transaction. From c49ef1fd9d69857ac881f2619c5cab334b591bb1 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 19 Aug 2014 17:18:09 -0600 Subject: [PATCH 055/144] Parse all api.json files in node_modules --- build/tasks/docs-task.coffee | 19 +++++++++++++++---- package.json | 2 +- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/build/tasks/docs-task.coffee b/build/tasks/docs-task.coffee index f392688e4..b62dd3b83 100644 --- a/build/tasks/docs-task.coffee +++ b/build/tasks/docs-task.coffee @@ -13,12 +13,24 @@ module.exports = (grunt) -> opts = stdio: 'inherit' + getClassesToInclude = -> + modulesPath = path.resolve(__dirname, '..', '..', 'node_modules') + classes = {} + fs.traverseTreeSync modulesPath, (modulePath) -> + return true unless path.basename(modulePath) is 'package.json' and fs.isFileSync(modulePath) + + apiPath = path.join(path.dirname(modulePath), 'api.json') + if fs.isFileSync(apiPath) + _.extend(classes, grunt.file.readJSON(apiPath).classes) + true + classes + grunt.registerTask 'build-docs', 'Builds the API docs in src', -> done = @async() docsOutputDir = grunt.config.get('docsOutputDir') downloadIncludes (error, includedModules) -> metadata = donna.generateMetadata(['.'].concat(includedModules)) - telloJson = tello.digest(metadata) + telloJson = _.extend(tello.digest(metadata), getClassesToInclude()) files = [{ filePath: path.join(docsOutputDir, 'donna.json') @@ -71,11 +83,10 @@ downloadFileFromRepo = ({repo, file}, callback) -> fs.writeFile downloadPath, contents, (error) -> callback(error, downloadPath) + + downloadIncludes = (callback) -> includes = [ - {repo: 'atom-keymap', file: 'src/keymap-manager.coffee'} - {repo: 'atom-keymap', file: 'src/key-binding.coffee'} - {repo: 'atom-keymap', file: 'package.json'} {repo: 'first-mate', file: 'src/grammar.coffee'} {repo: 'first-mate', file: 'src/grammar-registry.coffee'} {repo: 'first-mate', file: 'package.json'} diff --git a/package.json b/package.json index 3bd2383d9..564870475 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "atomShellVersion": "0.15.9", "dependencies": { "async": "0.2.6", - "atom-keymap": "^2.0.2", + "atom-keymap": "^2.0.3", "bootstrap": "git+https://github.com/atom/bootstrap.git#6af81906189f1747fd6c93479e3d998ebe041372", "clear-cut": "0.4.0", "coffee-script": "1.7.0", From d13fd495e445628a138def98ae50cfe0ebb721ad Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 19 Aug 2014 17:24:39 -0600 Subject: [PATCH 056/144] Upgrade to first-mate 2.0.3 --- build/tasks/docs-task.coffee | 3 --- package.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/build/tasks/docs-task.coffee b/build/tasks/docs-task.coffee index b62dd3b83..03e774007 100644 --- a/build/tasks/docs-task.coffee +++ b/build/tasks/docs-task.coffee @@ -87,9 +87,6 @@ downloadFileFromRepo = ({repo, file}, callback) -> downloadIncludes = (callback) -> includes = [ - {repo: 'first-mate', file: 'src/grammar.coffee'} - {repo: 'first-mate', file: 'src/grammar-registry.coffee'} - {repo: 'first-mate', file: 'package.json'} {repo: 'node-pathwatcher', file: 'src/directory.coffee'} {repo: 'node-pathwatcher', file: 'src/file.coffee'} {repo: 'node-pathwatcher', file: 'package.json'} diff --git a/package.json b/package.json index 564870475..15afe02e3 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "coffeestack": "0.7.0", "delegato": "^1", "emissary": "^1.2.2", - "first-mate": "^2.0.1", + "first-mate": "^2.0.3", "fs-plus": "^2.2.6", "fstream": "0.1.24", "fuzzaldrin": "^1.1", From 1c97eb977e0c15b4e2dc6418ec23dc3013bda3a1 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 19 Aug 2014 17:25:20 -0600 Subject: [PATCH 057/144] :lipstick: --- build/tasks/docs-task.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/tasks/docs-task.coffee b/build/tasks/docs-task.coffee index 03e774007..d59949132 100644 --- a/build/tasks/docs-task.coffee +++ b/build/tasks/docs-task.coffee @@ -17,7 +17,8 @@ module.exports = (grunt) -> modulesPath = path.resolve(__dirname, '..', '..', 'node_modules') classes = {} fs.traverseTreeSync modulesPath, (modulePath) -> - return true unless path.basename(modulePath) is 'package.json' and fs.isFileSync(modulePath) + return true unless path.basename(modulePath) is 'package.json' + return true unless fs.isFileSync(modulePath) apiPath = path.join(path.dirname(modulePath), 'api.json') if fs.isFileSync(apiPath) From a42de1e9bebc9fffd1ef82fc5f9d16673fd20dc9 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 19 Aug 2014 17:30:07 -0600 Subject: [PATCH 058/144] Upgrade to pathwatcher@2.0.8 --- build/tasks/docs-task.coffee | 3 --- package.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/build/tasks/docs-task.coffee b/build/tasks/docs-task.coffee index d59949132..83eccf377 100644 --- a/build/tasks/docs-task.coffee +++ b/build/tasks/docs-task.coffee @@ -88,9 +88,6 @@ downloadFileFromRepo = ({repo, file}, callback) -> downloadIncludes = (callback) -> includes = [ - {repo: 'node-pathwatcher', file: 'src/directory.coffee'} - {repo: 'node-pathwatcher', file: 'src/file.coffee'} - {repo: 'node-pathwatcher', file: 'package.json'} {repo: 'space-pen', file: 'src/space-pen.coffee'} {repo: 'space-pen', file: 'package.json'} {repo: 'text-buffer', file: 'src/marker.coffee'} diff --git a/package.json b/package.json index 15afe02e3..e2bd6c265 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "nslog": "^1.0.1", "oniguruma": "^3.0.3", "optimist": "0.4.0", - "pathwatcher": "^2.0.7", + "pathwatcher": "^2.0.8", "property-accessors": "^1", "q": "^1.0.1", "random-words": "0.0.1", From f2f88cb34374954b20d00ee850891f6e2bb3ea71 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 19 Aug 2014 17:36:41 -0600 Subject: [PATCH 059/144] Upgrade to space-pen 3.4.2 --- build/tasks/docs-task.coffee | 2 -- package.json | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/build/tasks/docs-task.coffee b/build/tasks/docs-task.coffee index 83eccf377..ef402e765 100644 --- a/build/tasks/docs-task.coffee +++ b/build/tasks/docs-task.coffee @@ -88,8 +88,6 @@ downloadFileFromRepo = ({repo, file}, callback) -> downloadIncludes = (callback) -> includes = [ - {repo: 'space-pen', file: 'src/space-pen.coffee'} - {repo: 'space-pen', file: 'package.json'} {repo: 'text-buffer', file: 'src/marker.coffee'} {repo: 'text-buffer', file: 'src/point.coffee'} {repo: 'text-buffer', file: 'src/range.coffee'} diff --git a/package.json b/package.json index e2bd6c265..950e0a037 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "season": "^1.0.2", "semver": "1.1.4", "serializable": "^1", - "space-pen": "3.4.1", + "space-pen": "3.4.2", "temp": "0.7.0", "text-buffer": "^3.0.1", "theorist": "^1", From bbef8083d54cb9c962f893f918559f2a0016818b Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 19 Aug 2014 17:41:59 -0600 Subject: [PATCH 060/144] Upgrade to text-buffer 3.0.2 --- build/tasks/docs-task.coffee | 5 ----- package.json | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/build/tasks/docs-task.coffee b/build/tasks/docs-task.coffee index ef402e765..6acf798cc 100644 --- a/build/tasks/docs-task.coffee +++ b/build/tasks/docs-task.coffee @@ -88,11 +88,6 @@ downloadFileFromRepo = ({repo, file}, callback) -> downloadIncludes = (callback) -> includes = [ - {repo: 'text-buffer', file: 'src/marker.coffee'} - {repo: 'text-buffer', file: 'src/point.coffee'} - {repo: 'text-buffer', file: 'src/range.coffee'} - {repo: 'text-buffer', file: 'src/text-buffer.coffee'} - {repo: 'text-buffer', file: 'package.json'} {repo: 'theorist', file: 'src/model.coffee'} {repo: 'theorist', file: 'package.json'} ] diff --git a/package.json b/package.json index 950e0a037..e11519cdf 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "serializable": "^1", "space-pen": "3.4.2", "temp": "0.7.0", - "text-buffer": "^3.0.1", + "text-buffer": "^3.0.2", "theorist": "^1", "underscore-plus": "^1.5.1", "vm-compatibility-layer": "0.1.0" From bdf68ba15f1955edc4bbfb4d38ef33b1e1421f15 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 19 Aug 2014 17:46:01 -0600 Subject: [PATCH 061/144] Upgrade to theorist 1.0.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e11519cdf..30fdf9a9f 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "space-pen": "3.4.2", "temp": "0.7.0", "text-buffer": "^3.0.2", - "theorist": "^1", + "theorist": "^1.0.2", "underscore-plus": "^1.5.1", "vm-compatibility-layer": "0.1.0" }, From 6225acbe8be2ea67cfd825db9b51c2355023496f Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 19 Aug 2014 17:46:15 -0600 Subject: [PATCH 062/144] Genrate docs from local api.json files --- build/tasks/docs-task.coffee | 50 ++++++++++-------------------------- 1 file changed, 14 insertions(+), 36 deletions(-) diff --git a/build/tasks/docs-task.coffee b/build/tasks/docs-task.coffee index 6acf798cc..1a2fa63a7 100644 --- a/build/tasks/docs-task.coffee +++ b/build/tasks/docs-task.coffee @@ -29,23 +29,23 @@ module.exports = (grunt) -> grunt.registerTask 'build-docs', 'Builds the API docs in src', -> done = @async() docsOutputDir = grunt.config.get('docsOutputDir') - downloadIncludes (error, includedModules) -> - metadata = donna.generateMetadata(['.'].concat(includedModules)) - telloJson = _.extend(tello.digest(metadata), getClassesToInclude()) - files = [{ - filePath: path.join(docsOutputDir, 'donna.json') - contents: JSON.stringify(metadata, null, ' ') - }, { - filePath: path.join(docsOutputDir, 'tello.json') - contents: JSON.stringify(telloJson, null, ' ') - }] + metadata = donna.generateMetadata(['.']) + telloJson = _.extend(tello.digest(metadata), getClassesToInclude()) - writeFile = ({filePath, contents}, callback) -> - fs.writeFile filePath, contents, (error) -> - callback(error) + files = [{ + filePath: path.join(docsOutputDir, 'donna.json') + contents: JSON.stringify(metadata, null, ' ') + }, { + filePath: path.join(docsOutputDir, 'tello.json') + contents: JSON.stringify(telloJson, null, ' ') + }] - async.map files, writeFile, -> done() + writeFile = ({filePath, contents}, callback) -> + fs.writeFile filePath, contents, (error) -> + callback(error) + + async.map files, writeFile, -> done() grunt.registerTask 'copy-docs', 'Copies over latest API docs to atom-docs', -> done = @async() @@ -75,25 +75,3 @@ module.exports = (grunt) -> return false grunt.util.async.waterfall [fetchTag, copyDocs], done - -downloadFileFromRepo = ({repo, file}, callback) -> - uri = "https://raw.github.com/atom/#{repo}/master/#{file}" - request uri, (error, response, contents) -> - return callback(error) if error? - downloadPath = path.join('docs', 'includes', repo, file) - fs.writeFile downloadPath, contents, (error) -> - callback(error, downloadPath) - - - -downloadIncludes = (callback) -> - includes = [ - {repo: 'theorist', file: 'src/model.coffee'} - {repo: 'theorist', file: 'package.json'} - ] - - async.map includes, downloadFileFromRepo, (error, allPaths) -> - includeDirectories = null - if allPaths? - includeDirectories = _.unique allPaths.map (dir) -> /^docs\/includes\/[a-z-]+/.exec(dir)[0] - callback(error, includeDirectories) From 1bc879a9b0d4b2560d70d912545d197c401e34c4 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 19 Aug 2014 17:46:49 -0600 Subject: [PATCH 063/144] Remove copy-docs unused task --- build/tasks/docs-task.coffee | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/build/tasks/docs-task.coffee b/build/tasks/docs-task.coffee index 1a2fa63a7..1c48db1b1 100644 --- a/build/tasks/docs-task.coffee +++ b/build/tasks/docs-task.coffee @@ -46,32 +46,3 @@ module.exports = (grunt) -> callback(error) async.map files, writeFile, -> done() - - grunt.registerTask 'copy-docs', 'Copies over latest API docs to atom-docs', -> - done = @async() - - fetchTag = (args..., callback) -> - cmd = 'git' - args = ['describe', '--abbrev=0', '--tags'] - grunt.util.spawn {cmd, args}, (error, result) -> - if error? - callback(error) - else - callback(null, String(result).trim()) - - copyDocs = (tag, callback) -> - cmd = 'cp' - args = ['-r', 'docs/output/', "../atom.io/public/docs/api/#{tag}/"] - - fs.exists "../atom.io/public/docs/api/", (exists) -> - if exists - grunt.util.spawn {cmd, args}, (error, result) -> - if error? - callback(error) - else - callback(null, tag) - else - grunt.log.error "../atom.io/public/docs/api/ doesn't exist" - return false - - grunt.util.async.waterfall [fetchTag, copyDocs], done From cfc965c135b765dda346715d70bc651ff16c2783 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 19 Aug 2014 17:52:12 -0600 Subject: [PATCH 064/144] Write to docs/output/api.json --- build/Gruntfile.coffee | 2 +- build/tasks/docs-task.coffee | 23 ++++------------------- 2 files changed, 5 insertions(+), 20 deletions(-) diff --git a/build/Gruntfile.coffee b/build/Gruntfile.coffee index d143777e4..394da89f1 100644 --- a/build/Gruntfile.coffee +++ b/build/Gruntfile.coffee @@ -130,7 +130,7 @@ module.exports = (grunt) -> atom: {appDir, appName, symbolsDir, buildDir, contentsDir, installDir, shellAppDir} - docsOutputDir: 'docs/api' + docsOutputDir: 'docs/output' coffee: coffeeConfig diff --git a/build/tasks/docs-task.coffee b/build/tasks/docs-task.coffee index 1c48db1b1..5dbbb479a 100644 --- a/build/tasks/docs-task.coffee +++ b/build/tasks/docs-task.coffee @@ -9,10 +9,6 @@ donna = require 'donna' tello = require 'tello' module.exports = (grunt) -> - {rm} = require('./task-helpers')(grunt) - - opts = stdio: 'inherit' - getClassesToInclude = -> modulesPath = path.resolve(__dirname, '..', '..', 'node_modules') classes = {} @@ -31,18 +27,7 @@ module.exports = (grunt) -> docsOutputDir = grunt.config.get('docsOutputDir') metadata = donna.generateMetadata(['.']) - telloJson = _.extend(tello.digest(metadata), getClassesToInclude()) - - files = [{ - filePath: path.join(docsOutputDir, 'donna.json') - contents: JSON.stringify(metadata, null, ' ') - }, { - filePath: path.join(docsOutputDir, 'tello.json') - contents: JSON.stringify(telloJson, null, ' ') - }] - - writeFile = ({filePath, contents}, callback) -> - fs.writeFile filePath, contents, (error) -> - callback(error) - - async.map files, writeFile, -> done() + api = _.extend(tello.digest(metadata), getClassesToInclude()) + apiJson = JSON.stringify(api, null, 2) + apiJsonPath = path.join(docsOutputDir, 'api.json') + grunt.file.write(apiJsonPath, apiJson) From 3035242daff4a9875c06fc02748fe2b6c9b01068 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 19 Aug 2014 17:52:55 -0600 Subject: [PATCH 065/144] Task is no longer async --- build/tasks/docs-task.coffee | 3 --- 1 file changed, 3 deletions(-) diff --git a/build/tasks/docs-task.coffee b/build/tasks/docs-task.coffee index 5dbbb479a..1790d049c 100644 --- a/build/tasks/docs-task.coffee +++ b/build/tasks/docs-task.coffee @@ -1,8 +1,6 @@ path = require 'path' -async = require 'async' fs = require 'fs-plus' -request = require 'request' _ = require 'underscore-plus' donna = require 'donna' @@ -23,7 +21,6 @@ module.exports = (grunt) -> classes grunt.registerTask 'build-docs', 'Builds the API docs in src', -> - done = @async() docsOutputDir = grunt.config.get('docsOutputDir') metadata = donna.generateMetadata(['.']) From c61e36c7d39c21322d465a8f8b89d99fa95917ce Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 19 Aug 2014 17:53:36 -0600 Subject: [PATCH 066/144] Remove donnatello output --- docs/api/donna.json | 64866 ------------------------------------------ docs/api/tello.json | 7394 ----- 2 files changed, 72260 deletions(-) delete mode 100644 docs/api/donna.json delete mode 100644 docs/api/tello.json diff --git a/docs/api/donna.json b/docs/api/donna.json deleted file mode 100644 index 61503375f..000000000 --- a/docs/api/donna.json +++ /dev/null @@ -1,64866 +0,0 @@ -[ - { - "repository": "https://github.com/atom/atom.git", - "version": "0.121.0", - "files": { - "src/atom.coffee": { - "objects": { - "0": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 0, - 9 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "1": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "2": { - "5": { - "name": "os", - "type": "import", - "range": [ - [ - 2, - 5 - ], - [ - 2, - 16 - ] - ], - "bindingType": "variable", - "module": "os", - "builtin": true - } - }, - "3": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "4": { - "9": { - "name": "remote", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 24 - ] - ], - "bindingType": "variable", - "module": "remote" - } - }, - "5": { - "9": { - "name": "screen", - "type": "import", - "range": [ - [ - 5, - 9 - ], - [ - 5, - 24 - ] - ], - "bindingType": "variable", - "module": "screen" - } - }, - "6": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 6, - 8 - ], - [ - 6, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "8": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 8, - 4 - ], - [ - 8, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "9": { - "1": { - "type": "import", - "range": [ - [ - 9, - 1 - ], - [ - 9, - 10 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecated", - "exportsProperty": "deprecated" - } - }, - "10": { - "1": { - "type": "import", - "range": [ - [ - 10, - 1 - ], - [ - 10, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Model", - "exportsProperty": "Model" - } - }, - "11": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 11, - 5 - ], - [ - 11, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "13": { - "1": { - "type": "import", - "range": [ - [ - 13, - 1 - ], - [ - 13, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "14": { - "21": { - "name": "WindowEventHandler", - "type": "import", - "range": [ - [ - 14, - 21 - ], - [ - 14, - 52 - ] - ], - "bindingType": "variable", - "path": "./window-event-handler" - } - }, - "35": { - "0": { - "type": "class", - "name": "Atom", - "superClass": "Model", - "bindingType": "exports", - "classProperties": [ - [ - 36, - 12 - ], - [ - 44, - 17 - ], - [ - 48, - 16 - ], - [ - 53, - 14 - ], - [ - 71, - 17 - ], - [ - 89, - 21 - ], - [ - 95, - 22 - ], - [ - 99, - 20 - ], - [ - 109, - 21 - ] - ], - "prototypeProperties": [ - [ - 112, - 31 - ], - [ - 115, - 15 - ], - [ - 123, - 14 - ], - [ - 177, - 31 - ], - [ - 181, - 33 - ], - [ - 184, - 24 - ], - [ - 188, - 20 - ], - [ - 194, - 23 - ], - [ - 211, - 23 - ], - [ - 221, - 21 - ], - [ - 224, - 32 - ], - [ - 229, - 30 - ], - [ - 246, - 27 - ], - [ - 252, - 25 - ], - [ - 259, - 19 - ], - [ - 262, - 22 - ], - [ - 269, - 28 - ], - [ - 281, - 28 - ], - [ - 285, - 27 - ], - [ - 292, - 21 - ], - [ - 320, - 22 - ], - [ - 336, - 14 - ], - [ - 339, - 15 - ], - [ - 353, - 8 - ], - [ - 377, - 11 - ], - [ - 397, - 18 - ], - [ - 400, - 22 - ], - [ - 407, - 16 - ], - [ - 411, - 18 - ], - [ - 415, - 31 - ], - [ - 419, - 10 - ], - [ - 423, - 9 - ], - [ - 428, - 8 - ], - [ - 432, - 8 - ], - [ - 439, - 11 - ], - [ - 446, - 15 - ], - [ - 450, - 10 - ], - [ - 457, - 17 - ], - [ - 464, - 9 - ], - [ - 467, - 8 - ], - [ - 473, - 13 - ], - [ - 477, - 14 - ], - [ - 481, - 20 - ], - [ - 485, - 17 - ], - [ - 490, - 16 - ], - [ - 496, - 14 - ], - [ - 500, - 21 - ], - [ - 506, - 20 - ], - [ - 509, - 12 - ], - [ - 523, - 21 - ], - [ - 526, - 20 - ], - [ - 529, - 22 - ], - [ - 533, - 8 - ], - [ - 537, - 25 - ], - [ - 541, - 25 - ], - [ - 555, - 22 - ] - ], - "doc": " Public: Atom global for dealing with packages, themes, menus, and the window.\n\nAn instance of this class is always available as the `atom` global.\n\n## Useful properties available:\n\n * `atom.clipboard` - A {Clipboard} instance\n * `atom.config` - A {Config} instance\n * `atom.contextMenu` - A {ContextMenuManager} instance\n * `atom.deserializers` - A {DeserializerManager} instance\n * `atom.keymaps` - A {KeymapManager} instance\n * `atom.menu` - A {MenuManager} instance\n * `atom.packages` - A {PackageManager} instance\n * `atom.project` - A {Project} instance\n * `atom.syntax` - A {Syntax} instance\n * `atom.themes` - A {ThemeManager} instance\n * `atom.workspace` - A {Workspace} instance\n * `atom.workspaceView` - A {WorkspaceView} instance ", - "range": [ - [ - 35, - 0 - ], - [ - 567, - 27 - ] - ] - } - }, - "36": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 36, - 12 - ], - [ - 36, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "44": { - "17": { - "name": "loadOrCreate", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 44, - 17 - ], - [ - 48, - 1 - ] - ], - "doc": " Public: Load or create the Atom environment in the given mode.\n\nmode - Pass 'editor' or 'spec' depending on the kind of environment you\n want to build.\n\nReturns an Atom instance, fully initialized " - } - }, - "48": { - "16": { - "name": "deserialize", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 48, - 16 - ], - [ - 53, - 1 - ] - ], - "doc": "Private: Deserializes the Atom environment from a state object " - } - }, - "53": { - "14": { - "name": "loadState", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 53, - 14 - ], - [ - 71, - 1 - ] - ], - "doc": " Private: Loads and returns the serialized state corresponding to this window\nif it exists; otherwise returns undefined. " - } - }, - "71": { - "17": { - "name": "getStatePath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "mode" - ], - "range": [ - [ - 71, - 17 - ], - [ - 89, - 1 - ] - ], - "doc": " Private: Returns the path where the state for the current window will be\nlocated if it exists. " - } - }, - "89": { - "21": { - "name": "getConfigDirPath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 95, - 1 - ] - ], - "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " - } - }, - "95": { - "22": { - "name": "getStorageDirPath", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 95, - 22 - ], - [ - 99, - 1 - ] - ], - "doc": " Private: Get the path to Atom's storage directory.\n\nReturns the absolute path to ~/.atom/storage " - } - }, - "99": { - "20": { - "name": "getLoadSettings", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 99, - 20 - ], - [ - 109, - 1 - ] - ], - "doc": "Private: Returns the load settings hash associated with the current window. " - } - }, - "109": { - "21": { - "name": "getCurrentWindow", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 21 - ], - [ - 112, - 1 - ] - ], - "doc": "~Private~" - } - }, - "112": { - "31": { - "name": "workspaceViewParentSelector", - "type": "primitive", - "range": [ - [ - 112, - 31 - ], - [ - 112, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "115": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 115, - 15 - ], - [ - 123, - 1 - ] - ], - "doc": "Private: Call .loadOrCreate instead " - } - }, - "123": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 123, - 14 - ], - [ - 177, - 1 - ] - ], - "doc": " Public: Sets up the basic services that should be available in all modes\n(both spec and application). Call after this instance has been assigned to\nthe `atom` global. " - } - }, - "177": { - "31": { - "name": "registerRepresentationClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 31 - ], - [ - 181, - 1 - ] - ], - "doc": "Deprecated: Callers should be converted to use atom.deserializers " - } - }, - "181": { - "33": { - "name": "registerRepresentationClasses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 181, - 33 - ], - [ - 184, - 1 - ] - ], - "doc": "Deprecated: Callers should be converted to use atom.deserializers " - } - }, - "184": { - "24": { - "name": "setBodyPlatformClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 184, - 24 - ], - [ - 188, - 1 - ] - ], - "doc": "~Private~" - } - }, - "188": { - "20": { - "name": "getCurrentWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 20 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "23": { - "name": "getWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 194, - 23 - ], - [ - 211, - 1 - ] - ], - "doc": " Public: Get the dimensions of this window.\n\nReturns an object with x, y, width, and height keys. " - } - }, - "211": { - "23": { - "name": "setWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 211, - 23 - ], - [ - 221, - 1 - ] - ], - "doc": " Public: Set the dimensions of the window.\n\nThe window will be centered if either the x or y coordinate is not set\nin the dimensions parameter. If x or y are omitted the window will be\ncentered. If height or width are omitted only the position will be changed.\n\ndimensions - An {Object} with the following keys:\n :x - The new x coordinate.\n :y - The new y coordinate.\n :width - The new width.\n :height - The new height. " - } - }, - "221": { - "21": { - "name": "isValidDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 221, - 21 - ], - [ - 224, - 1 - ] - ], - "doc": " Private: Returns true if the dimensions are useable, false if they should be ignored.\nWork around for https://github.com/atom/atom-shell/issues/473 " - } - }, - "224": { - "32": { - "name": "storeDefaultWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 32 - ], - [ - 229, - 1 - ] - ], - "doc": "~Private~" - } - }, - "229": { - "30": { - "name": "getDefaultWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 229, - 30 - ], - [ - 246, - 1 - ] - ], - "doc": "~Private~" - } - }, - "246": { - "27": { - "name": "restoreWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 246, - 27 - ], - [ - 252, - 1 - ] - ], - "doc": "~Private~" - } - }, - "252": { - "25": { - "name": "storeWindowDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 252, - 25 - ], - [ - 259, - 1 - ] - ], - "doc": "~Private~" - } - }, - "259": { - "19": { - "name": "getLoadSettings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 259, - 19 - ], - [ - 262, - 1 - ] - ], - "doc": "Private: Returns the load settings hash associated with the current window. " - } - }, - "262": { - "22": { - "name": "deserializeProject", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 262, - 22 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "28": { - "name": "deserializeWorkspaceView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 28 - ], - [ - 281, - 1 - ] - ], - "doc": "~Private~" - } - }, - "281": { - "28": { - "name": "deserializePackageStates", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 281, - 28 - ], - [ - 285, - 1 - ] - ], - "doc": "~Private~" - } - }, - "285": { - "27": { - "name": "deserializeEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 285, - 27 - ], - [ - 292, - 1 - ] - ], - "doc": "~Private~" - } - }, - "292": { - "21": { - "name": "startEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 21 - ], - [ - 320, - 1 - ] - ], - "doc": "Private: Call this method when establishing a real application window. " - } - }, - "320": { - "22": { - "name": "unloadEditorWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 320, - 22 - ], - [ - 336, - 1 - ] - ], - "doc": "~Private~" - } - }, - "336": { - "14": { - "name": "loadThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 336, - 14 - ], - [ - 339, - 1 - ] - ], - "doc": "~Private~" - } - }, - "339": { - "15": { - "name": "watchThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 339, - 15 - ], - [ - 353, - 1 - ] - ], - "doc": "~Private~" - } - }, - "353": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 353, - 8 - ], - [ - 377, - 1 - ] - ], - "doc": " Public: Open a new Atom window using the given options.\n\nCalling this method without an options parameter will open a prompt to pick\na file/folder to open in the new window.\n\noptions - An {Object} with the following keys:\n :pathsToOpen - An {Array} of {String} paths to open. " - } - }, - "377": { - "11": { - "name": "confirm", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 377, - 11 - ], - [ - 397, - 1 - ] - ], - "doc": " Public: Open a confirm dialog.\n\n## Example\n\n```coffee\n atom.confirm\n message: 'How you feeling?'\n detailedMessage: 'Be honest.'\n buttons:\n Good: -> window.alert('good to hear')\n Bad: -> window.alert('bummer')\n```\n\noptions - An {Object} with the following keys:\n :message - The {String} message to display.\n :detailedMessage - The {String} detailed message to display.\n :buttons - Either an array of strings or an object where keys are\n button names and the values are callbacks to invoke when\n clicked.\n\nReturns the chosen button index {Number} if the buttons option was an array. " - } - }, - "397": { - "18": { - "name": "showSaveDialog", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 397, - 18 - ], - [ - 400, - 1 - ] - ], - "doc": "~Private~" - } - }, - "400": { - "22": { - "name": "showSaveDialogSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultPath" - ], - "range": [ - [ - 400, - 22 - ], - [ - 407, - 1 - ] - ], - "doc": "~Private~" - } - }, - "407": { - "16": { - "name": "openDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 407, - 16 - ], - [ - 411, - 1 - ] - ], - "doc": "Public: Open the dev tools for the current window. " - } - }, - "411": { - "18": { - "name": "toggleDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 411, - 18 - ], - [ - 415, - 1 - ] - ], - "doc": "Public: Toggle the visibility of the dev tools for the current window. " - } - }, - "415": { - "31": { - "name": "executeJavaScriptInDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "code" - ], - "range": [ - [ - 415, - 31 - ], - [ - 419, - 1 - ] - ], - "doc": "Public: Execute code in dev tools. " - } - }, - "419": { - "10": { - "name": "reload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 419, - 10 - ], - [ - 423, - 1 - ] - ], - "doc": "Public: Reload the current window. " - } - }, - "423": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 423, - 9 - ], - [ - 428, - 1 - ] - ], - "doc": "Public: Focus the current window. " - } - }, - "428": { - "8": { - "name": "show", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 8 - ], - [ - 432, - 1 - ] - ], - "doc": "Public: Show the current window. " - } - }, - "432": { - "8": { - "name": "hide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 432, - 8 - ], - [ - 439, - 1 - ] - ], - "doc": "Public: Hide the current window. " - } - }, - "439": { - "11": { - "name": "setSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width", - "height" - ], - "range": [ - [ - 439, - 11 - ], - [ - 446, - 1 - ] - ], - "doc": " Public: Set the size of current window.\n\nwidth - The {Number} of pixels.\nheight - The {Number} of pixels. " - } - }, - "446": { - "15": { - "name": "setPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "x", - "y" - ], - "range": [ - [ - 446, - 15 - ], - [ - 450, - 1 - ] - ], - "doc": " Public: Set the position of current window.\n\nx - The {Number} of pixels.\ny - The {Number} of pixels. " - } - }, - "450": { - "10": { - "name": "center", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 450, - 10 - ], - [ - 457, - 1 - ] - ], - "doc": "Public: Move current window to the center of the screen. " - } - }, - "457": { - "17": { - "name": "displayWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 457, - 17 - ], - [ - 464, - 1 - ] - ], - "doc": " Private: Schedule the window to be shown and focused on the next tick.\n\nThis is done in a next tick to prevent a white flicker from occurring\nif called synchronously. " - } - }, - "464": { - "9": { - "name": "close", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 464, - 9 - ], - [ - 467, - 1 - ] - ], - "doc": "Public: Close the current window. " - } - }, - "467": { - "8": { - "name": "exit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 467, - 8 - ], - [ - 473, - 1 - ] - ], - "doc": "~Private~" - } - }, - "473": { - "13": { - "name": "inDevMode", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 473, - 13 - ], - [ - 477, - 1 - ] - ], - "doc": "Public: Is the current window in development mode? " - } - }, - "477": { - "14": { - "name": "inSpecMode", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 477, - 14 - ], - [ - 481, - 1 - ] - ], - "doc": "Public: Is the current window running specs? " - } - }, - "481": { - "20": { - "name": "toggleFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 481, - 20 - ], - [ - 485, - 1 - ] - ], - "doc": "Public: Toggle the full screen state of the current window. " - } - }, - "485": { - "17": { - "name": "setFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fullScreen" - ], - "range": [ - [ - 485, - 17 - ], - [ - 490, - 1 - ] - ], - "doc": "Public: Set the full screen state of the current window. " - } - }, - "490": { - "16": { - "name": "isFullScreen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 490, - 16 - ], - [ - 496, - 1 - ] - ], - "doc": "Public: Is the current window in full screen mode? " - } - }, - "496": { - "14": { - "name": "getVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 496, - 14 - ], - [ - 500, - 1 - ] - ], - "doc": " Public: Get the version of the Atom application.\n\nReturns the version text {String}. " - } - }, - "500": { - "21": { - "name": "isReleasedVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 500, - 21 - ], - [ - 506, - 1 - ] - ], - "doc": "Public: Determine whether the current version is an official release. " - } - }, - "506": { - "20": { - "name": "getConfigDirPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 506, - 20 - ], - [ - 509, - 1 - ] - ], - "doc": " Private: Get the directory path to Atom's configuration area.\n\nReturns the absolute path to ~/.atom " - } - }, - "509": { - "12": { - "name": "saveSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 509, - 12 - ], - [ - 523, - 1 - ] - ], - "doc": "~Private~" - } - }, - "523": { - "21": { - "name": "getWindowLoadTime", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 523, - 21 - ], - [ - 526, - 1 - ] - ], - "doc": " Public: Get the time taken to completely load the current window.\n\nThis time include things like loading and activating packages, creating\nDOM elements for the editor, and reading the config.\n\nReturns the number of milliseconds taken to load the window or null\nif the window hasn't finished loading yet. " - } - }, - "526": { - "20": { - "name": "crashMainProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 526, - 20 - ], - [ - 529, - 1 - ] - ], - "doc": "~Private~" - } - }, - "529": { - "22": { - "name": "crashRenderProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 529, - 22 - ], - [ - 533, - 1 - ] - ], - "doc": "~Private~" - } - }, - "533": { - "8": { - "name": "beep", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 533, - 8 - ], - [ - 537, - 1 - ] - ], - "doc": "Public: Visually and audibly trigger a beep. " - } - }, - "537": { - "25": { - "name": "getUserInitScriptPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 537, - 25 - ], - [ - 541, - 1 - ] - ], - "doc": "~Private~" - } - }, - "541": { - "25": { - "name": "requireUserInitScript", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 541, - 25 - ], - [ - 555, - 1 - ] - ] - } - }, - "555": { - "22": { - "name": "requireWithGlobals", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id", - "globals" - ], - "range": [ - [ - 555, - 22 - ], - [ - 567, - 27 - ] - ], - "doc": " Public: Require the module with the given globals.\n\nThe globals will be set on the `window` object and removed after the\nrequire completes.\n\nid - The {String} module name or path.\nglobals - An {Object} to set as globals during require (default: {}) " - } - } - }, - "exports": 35 - }, - "src/browser/application-menu.coffee": { - "objects": { - "0": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "1": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "2": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "10": { - "0": { - "type": "class", - "name": "ApplicationMenu", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 22, - 10 - ], - [ - 35, - 20 - ], - [ - 47, - 23 - ], - [ - 58, - 29 - ], - [ - 63, - 21 - ], - [ - 68, - 22 - ], - [ - 90, - 22 - ], - [ - 102, - 17 - ], - [ - 113, - 21 - ], - [ - 131, - 25 - ] - ], - "doc": " Private: Used to manage the global application menu.\n\nIt's created by {AtomApplication} upon instantiation and used to add, remove\nand maintain the state of all menu items. ", - "range": [ - [ - 10, - 0 - ], - [ - 145, - 18 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 22, - 1 - ] - ] - } - }, - "22": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 22, - 10 - ], - [ - 35, - 1 - ] - ], - "doc": " Public: Updates the entire menu with the given keybindings.\n\ntemplate - The Object which describes the menu to display.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke. " - } - }, - "35": { - "20": { - "name": "flattenMenuItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "menu" - ], - "range": [ - [ - 35, - 20 - ], - [ - 47, - 1 - ] - ], - "doc": " Private: Flattens the given menu and submenu items into an single Array.\n\nmenu - A complete menu configuration object for atom-shell's menu API.\n\nReturns an Array of native menu items. " - } - }, - "47": { - "23": { - "name": "flattenMenuTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 47, - 23 - ], - [ - 58, - 1 - ] - ], - "doc": " Private: Flattens the given menu template into an single Array.\n\ntemplate - An object describing the menu item.\n\nReturns an Array of native menu items. " - } - }, - "58": { - "29": { - "name": "enableWindowSpecificItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "enable" - ], - "range": [ - [ - 58, - 29 - ], - [ - 63, - 1 - ] - ], - "doc": " Public: Used to make all window related menu items are active.\n\nenable - If true enables all window specific items, if false disables all\n window specific items. " - } - }, - "63": { - "21": { - "name": "substituteVersion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 63, - 21 - ], - [ - 68, - 1 - ] - ], - "doc": "Private: Replaces VERSION with the current version. " - } - }, - "68": { - "22": { - "name": "showUpdateMenuItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 68, - 22 - ], - [ - 90, - 1 - ] - ], - "doc": "Private: Sets the proper visible state the update menu items " - } - }, - "90": { - "22": { - "name": "getDefaultTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 22 - ], - [ - 102, - 1 - ] - ], - "doc": " Private: Default list of menu items.\n\nReturns an Array of menu item Objects. " - } - }, - "102": { - "17": { - "name": "focusedWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 17 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "21": { - "name": "translateTemplate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 113, - 21 - ], - [ - 131, - 1 - ] - ], - "doc": " Private: Combines a menu template with the appropriate keystroke.\n\ntemplate - An Object conforming to atom-shell's menu api but lacking\n accelerator and click properties.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a complete menu configuration object for atom-shell's menu API. " - } - }, - "131": { - "25": { - "name": "acceleratorForCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "keystrokesByCommand" - ], - "range": [ - [ - 131, - 25 - ], - [ - 145, - 18 - ] - ], - "doc": " Private: Determine the accelerator for a given command.\n\ncommand - The name of the command.\nkeystrokesByCommand - An Object where the keys are commands and the values\n are Arrays containing the keystroke.\n\nReturns a String containing the keystroke in a format that can be interpreted\n by atom shell to provide nice icons where available. " - } - } - }, - "exports": 10 - }, - "src/browser/atom-application.coffee": { - "objects": { - "0": { - "13": { - "name": "AtomWindow", - "type": "import", - "range": [ - [ - 0, - 13 - ], - [ - 0, - 35 - ] - ], - "bindingType": "variable", - "path": "./atom-window" - } - }, - "1": { - "18": { - "name": "ApplicationMenu", - "type": "import", - "range": [ - [ - 1, - 18 - ], - [ - 1, - 45 - ] - ], - "bindingType": "variable", - "path": "./application-menu" - } - }, - "2": { - "22": { - "name": "AtomProtocolHandler", - "type": "import", - "range": [ - [ - 2, - 22 - ], - [ - 2, - 54 - ] - ], - "bindingType": "variable", - "path": "./atom-protocol-handler" - } - }, - "3": { - "20": { - "name": "AutoUpdateManager", - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 50 - ] - ], - "bindingType": "variable", - "path": "./auto-update-manager" - } - }, - "4": { - "16": { - "name": "BrowserWindow", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 39 - ] - ], - "bindingType": "variable", - "module": "browser-window" - } - }, - "5": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "6": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 6, - 6 - ], - [ - 6, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "7": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "8": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 8, - 5 - ], - [ - 8, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "9": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 9, - 6 - ], - [ - 9, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "10": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 10, - 7 - ], - [ - 10, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "11": { - "5": { - "name": "os", - "type": "import", - "range": [ - [ - 11, - 5 - ], - [ - 11, - 16 - ] - ], - "bindingType": "variable", - "module": "os", - "builtin": true - } - }, - "12": { - "6": { - "name": "net", - "type": "import", - "range": [ - [ - 12, - 6 - ], - [ - 12, - 18 - ] - ], - "bindingType": "variable", - "module": "net", - "builtin": true - } - }, - "13": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 13, - 8 - ], - [ - 13, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "14": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 14, - 6 - ], - [ - 14, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "15": { - "1": { - "type": "import", - "range": [ - [ - 15, - 1 - ], - [ - 15, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "16": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 16, - 4 - ], - [ - 16, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "30": { - "0": { - "type": "class", - "name": "AtomApplication", - "bindingType": "exports", - "classProperties": [ - [ - 34, - 9 - ] - ], - "prototypeProperties": [ - [ - 52, - 11 - ], - [ - 53, - 19 - ], - [ - 54, - 23 - ], - [ - 55, - 16 - ], - [ - 56, - 11 - ], - [ - 58, - 8 - ], - [ - 60, - 15 - ], - [ - 83, - 19 - ], - [ - 94, - 16 - ], - [ - 99, - 13 - ], - [ - 110, - 36 - ], - [ - 119, - 20 - ], - [ - 132, - 28 - ], - [ - 136, - 16 - ], - [ - 232, - 15 - ], - [ - 245, - 23 - ], - [ - 254, - 31 - ], - [ - 274, - 19 - ], - [ - 282, - 17 - ], - [ - 287, - 17 - ], - [ - 298, - 13 - ], - [ - 311, - 12 - ], - [ - 337, - 20 - ], - [ - 341, - 24 - ], - [ - 346, - 15 - ], - [ - 364, - 11 - ], - [ - 393, - 12 - ], - [ - 406, - 17 - ], - [ - 415, - 25 - ], - [ - 440, - 17 - ] - ], - "doc": " Private: The application's singleton class.\n\nIt's the entry point into the Atom application and maintains the global state\nof the application.\n\n ", - "range": [ - [ - 30, - 0 - ], - [ - 449, - 50 - ] - ] - } - }, - "34": { - "9": { - "name": "open", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 34, - 9 - ], - [ - 52, - 1 - ] - ], - "doc": "Public: The entry point into the Atom application. " - } - }, - "52": { - "11": { - "name": "windows", - "type": "primitive", - "range": [ - [ - 52, - 11 - ], - [ - 52, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "53": { - "19": { - "name": "applicationMenu", - "type": "primitive", - "range": [ - [ - 53, - 19 - ], - [ - 53, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "54": { - "23": { - "name": "atomProtocolHandler", - "type": "primitive", - "range": [ - [ - 54, - 23 - ], - [ - 54, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "55": { - "16": { - "name": "resourcePath", - "type": "primitive", - "range": [ - [ - 55, - 16 - ], - [ - 55, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "56": { - "11": { - "name": "version", - "type": "primitive", - "range": [ - [ - 56, - 11 - ], - [ - 56, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "58": { - "8": { - "name": "exit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 58, - 8 - ], - [ - 58, - 35 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 60, - 15 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "19": { - "name": "openWithOptions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 83, - 19 - ], - [ - 94, - 1 - ] - ], - "doc": "Private: Opens a new window based on the options provided. " - } - }, - "94": { - "16": { - "name": "removeWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "window" - ], - "range": [ - [ - 94, - 16 - ], - [ - 99, - 1 - ] - ], - "doc": "Public: Removes the {AtomWindow} from the global window list. " - } - }, - "99": { - "13": { - "name": "addWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "window" - ], - "range": [ - [ - 99, - 13 - ], - [ - 110, - 1 - ] - ], - "doc": "Public: Adds the {AtomWindow} to the global window list. " - } - }, - "110": { - "36": { - "name": "listenForArgumentsFromNewProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 36 - ], - [ - 119, - 1 - ] - ], - "doc": " Private: Creates server to listen for additional atom application launches.\n\nYou can run the atom command multiple times, but after the first launch\nthe other launches will just pass their information to this server and then\nclose immediately. " - } - }, - "119": { - "20": { - "name": "deleteSocketFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 119, - 20 - ], - [ - 132, - 1 - ] - ], - "doc": "~Private~" - } - }, - "132": { - "28": { - "name": "setupJavaScriptArguments", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 132, - 28 - ], - [ - 136, - 1 - ] - ], - "doc": "Private: Configures required javascript environment flags. " - } - }, - "136": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 16 - ], - [ - 232, - 1 - ] - ], - "doc": "Private: Registers basic application commands, non-idempotent. " - } - }, - "232": { - "15": { - "name": "sendCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 232, - 15 - ], - [ - 245, - 1 - ] - ], - "doc": " Public: Executes the given command.\n\nIf it isn't handled globally, delegate to the currently focused window.\n\ncommand - The string representing the command.\nargs - The optional arguments to pass along. " - } - }, - "245": { - "23": { - "name": "sendCommandToWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "atomWindow", - "args" - ], - "range": [ - [ - 245, - 23 - ], - [ - 254, - 1 - ] - ], - "doc": " Public: Executes the given command on the given window.\n\ncommand - The string representing the command.\natomWindow - The {AtomWindow} to send the command to.\nargs - The optional arguments to pass along. " - } - }, - "254": { - "31": { - "name": "sendCommandToFirstResponder", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command" - ], - "range": [ - [ - 254, - 31 - ], - [ - 274, - 1 - ] - ], - "doc": " Private: Translates the command into OS X action and sends it to application's first\nresponder. " - } - }, - "274": { - "19": { - "name": "openPathOnEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventName", - "pathToOpen" - ], - "range": [ - [ - 274, - 19 - ], - [ - 282, - 1 - ] - ], - "doc": " Public: Open the given path in the focused window when the event is\ntriggered.\n\nA new window will be created if there is no currently focused window.\n\neventName - The event to listen for.\npathToOpen - The path to open when the event is triggered. " - } - }, - "282": { - "17": { - "name": "windowForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen" - ], - "range": [ - [ - 282, - 17 - ], - [ - 287, - 1 - ] - ], - "doc": "Private: Returns the {AtomWindow} for the given path. " - } - }, - "287": { - "17": { - "name": "focusedWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 287, - 17 - ], - [ - 298, - 1 - ] - ], - "doc": "Public: Returns the currently focused {AtomWindow} or undefined if none. " - } - }, - "298": { - "13": { - "name": "openPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 298, - 13 - ], - [ - 311, - 1 - ] - ], - "doc": " Public: Opens multiple paths, in existing windows if possible.\n\noptions -\n :pathsToOpen - The array of file paths to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " - } - }, - "311": { - "12": { - "name": "openPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 311, - 12 - ], - [ - 337, - 1 - ] - ], - "doc": " Public: Opens a single path, in an existing window if possible.\n\noptions -\n :pathToOpen - The file path to open\n :pidToKillWhenClosed - The integer of the pid to kill\n :newWindow - Boolean of whether this should be opened in a new window.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode.\n :windowDimensions - Object with height and width keys. " - } - }, - "337": { - "20": { - "name": "killAllProcesses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 337, - 20 - ], - [ - 341, - 1 - ] - ], - "doc": "Private: Kill all processes associated with opened windows. " - } - }, - "341": { - "24": { - "name": "killProcessForWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "openedWindow" - ], - "range": [ - [ - 341, - 24 - ], - [ - 346, - 1 - ] - ], - "doc": "Private: Kill process associated with the given opened window. " - } - }, - "346": { - "15": { - "name": "killProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pid" - ], - "range": [ - [ - 346, - 15 - ], - [ - 364, - 1 - ] - ], - "doc": "Private: Kill the process with the given pid. " - } - }, - "364": { - "11": { - "name": "openUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 364, - 11 - ], - [ - 393, - 1 - ] - ], - "doc": " Private: Open an atom:// url.\n\nThe host of the URL being opened is assumed to be the package name\nresponsible for opening the URL. A new window will be created with\nthat package's `urlMain` as the bootstrap script.\n\noptions -\n :urlToOpen - The atom:// url to open.\n :devMode - Boolean to control the opened window's dev mode.\n :safeMode - Boolean to control the opened window's safe mode. " - } - }, - "393": { - "12": { - "name": "runSpecs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 393, - 12 - ], - [ - 406, - 1 - ] - ], - "doc": " Private: Opens up a new {AtomWindow} to run specs within.\n\noptions -\n :exitWhenDone - A Boolean that if true, will close the window upon\n completion.\n :resourcePath - The path to include specs from.\n :specPath - The directory to load specs from. " - } - }, - "406": { - "17": { - "name": "runBenchmarks", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 406, - 17 - ], - [ - 415, - 1 - ] - ], - "doc": "~Private~" - } - }, - "415": { - "25": { - "name": "locationForPathToOpen", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen" - ], - "range": [ - [ - 415, - 25 - ], - [ - 440, - 1 - ] - ], - "doc": "~Private~" - } - }, - "440": { - "17": { - "name": "promptForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 440, - 17 - ], - [ - 449, - 50 - ] - ], - "doc": " Private: Opens a native dialog to prompt the user for a path.\n\nOnce paths are selected, they're opened in a new or existing {AtomWindow}s.\n\noptions -\n :type - A String which specifies the type of the dialog, could be 'file',\n 'folder' or 'all'. The 'all' is only available on OS X.\n :devMode - A Boolean which controls whether any newly opened windows\n should be in dev mode or not.\n :safeMode - A Boolean which controls whether any newly opened windows\n should be in safe mode or not. " - } - } - }, - "exports": 30 - }, - "src/browser/atom-protocol-handler.coffee": { - "objects": { - "0": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "2": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "3": { - "11": { - "name": "protocol", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "protocol" - } - }, - "10": { - "0": { - "type": "class", - "name": "AtomProtocolHandler", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 21, - 24 - ] - ], - "doc": " Private: Handles requests with 'atom' protocol.\n\nIt's created by {AtomApplication} upon instantiation, and is used to create a\ncustom resource loader by adding the 'atom' custom protocol. ", - "range": [ - [ - 10, - 0 - ], - [ - 27, - 50 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 21, - 1 - ] - ] - } - }, - "21": { - "24": { - "name": "registerAtomProtocol", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 24 - ], - [ - 27, - 50 - ] - ], - "doc": "Private: Creates the 'atom' custom protocol handler. " - } - } - }, - "exports": 10 - }, - "src/browser/atom-window.coffee": { - "objects": { - "0": { - "16": { - "name": "BrowserWindow", - "type": "import", - "range": [ - [ - 0, - 16 - ], - [ - 0, - 39 - ] - ], - "bindingType": "variable", - "module": "browser-window" - } - }, - "1": { - "14": { - "name": "ContextMenu", - "type": "import", - "range": [ - [ - 1, - 14 - ], - [ - 1, - 37 - ] - ], - "bindingType": "variable", - "path": "./context-menu" - } - }, - "2": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "3": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 3, - 9 - ], - [ - 3, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "4": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "6": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 6, - 6 - ], - [ - 6, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "7": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "11": { - "0": { - "type": "class", - "name": "AtomWindow", - "bindingType": "exports", - "classProperties": [ - [ - 14, - 13 - ], - [ - 15, - 25 - ] - ], - "prototypeProperties": [ - [ - 17, - 17 - ], - [ - 18, - 10 - ], - [ - 19, - 10 - ], - [ - 21, - 15 - ], - [ - 56, - 10 - ], - [ - 68, - 18 - ], - [ - 71, - 16 - ], - [ - 86, - 16 - ], - [ - 126, - 12 - ], - [ - 133, - 15 - ], - [ - 147, - 30 - ], - [ - 151, - 17 - ], - [ - 156, - 9 - ], - [ - 158, - 9 - ], - [ - 160, - 12 - ], - [ - 162, - 12 - ], - [ - 164, - 11 - ], - [ - 166, - 23 - ], - [ - 169, - 13 - ], - [ - 171, - 20 - ], - [ - 173, - 16 - ], - [ - 175, - 10 - ], - [ - 177, - 18 - ] - ], - "doc": "~Private~", - "range": [ - [ - 11, - 0 - ], - [ - 177, - 52 - ] - ] - } - }, - "14": { - "13": { - "name": "iconPath", - "type": "function", - "range": [ - [ - 14, - 13 - ], - [ - 14, - 72 - ] - ], - "bindingType": "classProperty" - } - }, - "15": { - "25": { - "name": "includeShellLoadTime", - "type": "primitive", - "range": [ - [ - 15, - 25 - ], - [ - 15, - 28 - ] - ], - "bindingType": "classProperty" - } - }, - "17": { - "17": { - "name": "browserWindow", - "type": "primitive", - "range": [ - [ - 17, - 17 - ], - [ - 17, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "10": { - "name": "loaded", - "type": "primitive", - "range": [ - [ - 18, - 10 - ], - [ - 18, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "10": { - "name": "isSpec", - "type": "primitive", - "range": [ - [ - 19, - 10 - ], - [ - 19, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "settings" - ], - "range": [ - [ - 21, - 15 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "10": { - "name": "getUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "loadSettingsObj" - ], - "range": [ - [ - 56, - 10 - ], - [ - 68, - 1 - ] - ], - "doc": "~Private~" - } - }, - "68": { - "18": { - "name": "getInitialPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 18 - ], - [ - 71, - 1 - ] - ], - "doc": "~Private~" - } - }, - "71": { - "16": { - "name": "containsPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToCheck" - ], - "range": [ - [ - 71, - 16 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 16 - ], - [ - 126, - 1 - ] - ], - "doc": "~Private~" - } - }, - "126": { - "12": { - "name": "openPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToOpen", - "initialLine", - "initialColumn" - ], - "range": [ - [ - 126, - 12 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "15": { - "name": "sendCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 133, - 15 - ], - [ - 147, - 1 - ] - ], - "doc": "~Private~" - } - }, - "147": { - "30": { - "name": "sendCommandToBrowserWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "args" - ], - "range": [ - [ - 147, - 30 - ], - [ - 151, - 1 - ] - ], - "doc": "~Private~" - } - }, - "151": { - "17": { - "name": "getDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 151, - 17 - ], - [ - 156, - 1 - ] - ], - "doc": "~Private~" - } - }, - "156": { - "9": { - "name": "close", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 156, - 9 - ], - [ - 156, - 33 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 9 - ], - [ - 158, - 33 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "12": { - "name": "minimize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 160, - 12 - ], - [ - 160, - 39 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "12": { - "name": "maximize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 12 - ], - [ - 162, - 39 - ] - ], - "doc": "~Private~" - } - }, - "164": { - "11": { - "name": "restore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 164, - 11 - ], - [ - 164, - 37 - ] - ], - "doc": "~Private~" - } - }, - "166": { - "23": { - "name": "handlesAtomCommands", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 166, - 23 - ], - [ - 169, - 1 - ] - ], - "doc": "~Private~" - } - }, - "169": { - "13": { - "name": "isFocused", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 169, - 13 - ], - [ - 169, - 41 - ] - ], - "doc": "~Private~" - } - }, - "171": { - "20": { - "name": "isWebViewFocused", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 20 - ], - [ - 171, - 55 - ] - ], - "doc": "~Private~" - } - }, - "173": { - "16": { - "name": "isSpecWindow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 173, - 16 - ], - [ - 173, - 25 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "10": { - "name": "reload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 175, - 10 - ], - [ - 175, - 36 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "18": { - "name": "toggleDevTools", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 18 - ], - [ - 177, - 51 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 11 - }, - "src/browser/auto-update-manager.coffee": { - "objects": { - "0": { - "8": { - "name": "https", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 22 - ] - ], - "bindingType": "variable", - "module": "https", - "builtin": true - } - }, - "1": { - "14": { - "name": "autoUpdater", - "type": "import", - "range": [ - [ - 1, - 14 - ], - [ - 1, - 35 - ] - ], - "bindingType": "variable", - "module": "auto-updater" - } - }, - "2": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 12 - ] - ], - "bindingType": "variable", - "module": "events", - "builtin": true, - "name": "EventEmitter", - "exportsProperty": "EventEmitter" - } - }, - "6": { - "11": { - "name": "'idle'", - "type": "primitive", - "range": [ - [ - 6, - 11 - ], - [ - 6, - 16 - ] - ] - } - }, - "7": { - "15": { - "name": "'checking'", - "type": "primitive", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 24 - ] - ] - } - }, - "8": { - "18": { - "name": "'downloading'", - "type": "primitive", - "range": [ - [ - 8, - 18 - ], - [ - 8, - 30 - ] - ] - } - }, - "9": { - "23": { - "name": "'update-available'", - "type": "primitive", - "range": [ - [ - 9, - 23 - ], - [ - 9, - 40 - ] - ] - } - }, - "10": { - "26": { - "name": "'no-update-available'", - "type": "primitive", - "range": [ - [ - 10, - 26 - ], - [ - 10, - 46 - ] - ] - } - }, - "11": { - "12": { - "name": "'error'", - "type": "primitive", - "range": [ - [ - 11, - 12 - ], - [ - 11, - 18 - ] - ] - } - }, - "14": { - "0": { - "type": "class", - "name": "AutoUpdateManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 15 - ], - [ - 48, - 23 - ], - [ - 63, - 28 - ], - [ - 68, - 12 - ], - [ - 73, - 12 - ], - [ - 76, - 9 - ], - [ - 83, - 11 - ], - [ - 86, - 24 - ], - [ - 90, - 17 - ], - [ - 94, - 14 - ] - ], - "doc": "~Private~", - "range": [ - [ - 14, - 0 - ], - [ - 95, - 34 - ] - ] - } - }, - "17": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 17, - 15 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "23": { - "name": "checkForUpdatesShim", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 23 - ], - [ - 63, - 1 - ] - ], - "doc": "Private: Windows doesn't have an auto-updater, so use this method to shim the events. " - } - }, - "63": { - "28": { - "name": "emitUpdateAvailableEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "windows" - ], - "range": [ - [ - 63, - 28 - ], - [ - 68, - 1 - ] - ], - "doc": "~Private~" - } - }, - "68": { - "12": { - "name": "setState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 68, - 12 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "12": { - "name": "getState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 12 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "9": { - "name": "check", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 76, - 9 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "11": { - "name": "install", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 83, - 11 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "24": { - "name": "onUpdateNotAvailable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 24 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "17": { - "name": "onUpdateError", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event", - "message" - ], - "range": [ - [ - 90, - 17 - ], - [ - 94, - 1 - ] - ], - "doc": "~Private~" - } - }, - "94": { - "14": { - "name": "getWindows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 14 - ], - [ - 95, - 34 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 14 - }, - "src/browser/context-menu.coffee": { - "objects": { - "0": { - "7": { - "name": "Menu", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "menu" - } - }, - "3": { - "0": { - "type": "class", - "name": "ContextMenu", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 4, - 15 - ], - [ - 12, - 23 - ] - ], - "doc": "~Private~", - "range": [ - [ - 3, - 0 - ], - [ - 23, - 10 - ] - ] - } - }, - "4": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - null - ], - "range": [ - [ - 4, - 15 - ], - [ - 12, - 1 - ] - ] - } - }, - "12": { - "23": { - "name": "createClickHandlers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template" - ], - "range": [ - [ - 12, - 23 - ], - [ - 23, - 10 - ] - ], - "doc": " Private: It's necessary to build the event handlers in this process, otherwise\nclosures are drug across processes and failed to be garbage collected\nappropriately. " - } - } - }, - "exports": 3 - }, - "src/browser/main.coffee": { - "objects": { - "0": { - "24": { - "name": "global.shellStartTime", - "type": "function", - "range": [ - [ - 0, - 24 - ], - [ - 0, - 33 - ] - ] - } - }, - "2": { - "16": { - "name": "crashReporter", - "type": "import", - "range": [ - [ - 2, - 16 - ], - [ - 2, - 39 - ] - ], - "bindingType": "variable", - "module": "crash-reporter" - } - }, - "3": { - "6": { - "name": "app", - "type": "import", - "range": [ - [ - 3, - 6 - ], - [ - 3, - 18 - ] - ], - "bindingType": "variable", - "module": "app" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 16 - ] - ], - "bindingType": "variable", - "module": "fs", - "builtin": true - } - }, - "6": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 6, - 7 - ], - [ - 6, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "7": { - "11": { - "name": "optimist", - "type": "import", - "range": [ - [ - 7, - 11 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "optimist@0.4.0" - } - }, - "8": { - "8": { - "name": "nslog", - "type": "import", - "range": [ - [ - 8, - 8 - ], - [ - 8, - 22 - ] - ], - "bindingType": "variable", - "module": "nslog@^1.0.1" - } - }, - "9": { - "9": { - "name": "dialog", - "type": "import", - "range": [ - [ - 9, - 9 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "module": "dialog" - } - }, - "11": { - "14": { - "name": "nslog", - "type": "primitive", - "range": [ - [ - 11, - 14 - ], - [ - 11, - 18 - ] - ] - } - }, - "17": { - "8": { - "name": "start", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 8 - ], - [ - 51, - 0 - ] - ], - "doc": "~Private~" - } - }, - "54": { - "25": { - "name": "global.devResourcePath", - "type": "function", - "range": [ - [ - 54, - 25 - ], - [ - 54, - 62 - ] - ] - } - }, - "56": { - "21": { - "name": "setupCrashReporter", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 21 - ], - [ - 58, - 0 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "19": { - "name": "parseCommandLine", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 19 - ], - [ - 110, - 0 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": {} - }, - "src/buffered-node-process.coffee": { - "objects": { - "0": { - "18": { - "name": "BufferedProcess", - "type": "import", - "range": [ - [ - 0, - 18 - ], - [ - 0, - 45 - ] - ], - "bindingType": "variable", - "path": "./buffered-process" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "14": { - "0": { - "type": "class", - "name": "BufferedNodeProcess", - "superClass": "BufferedProcess", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 36, - 15 - ] - ], - "doc": " Public: Like {BufferedProcess}, but accepts a Node script as the command\nto run.\n\nThis is necessary on Windows since it doesn't support shebang `#!` lines.\n\n## Requiring in packages\n\n```coffee\n{BufferedNodeProcess} = require 'atom'\n``` ", - "range": [ - [ - 14, - 0 - ], - [ - 50, - 63 - ] - ] - } - }, - "36": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 36, - 15 - ], - [ - 50, - 63 - ] - ], - "doc": " Public: Runs the given Node script by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} path to the JavaScript script to execute.\n :args - The {Array} of arguments to pass to the script (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " - } - } - }, - "exports": 14 - }, - "src/buffered-process.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "15": { - "name": "ChildProcess", - "type": "import", - "range": [ - [ - 1, - 15 - ], - [ - 1, - 37 - ] - ], - "bindingType": "variable", - "module": "child_process", - "builtin": true - } - }, - "18": { - "0": { - "type": "class", - "name": "BufferedProcess", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 40, - 15 - ], - [ - 99, - 16 - ], - [ - 117, - 8 - ] - ], - "doc": " Public: A wrapper which provides standard error/output line buffering for\nNode's ChildProcess.\n\n## Requiring in packages\n\n```coffee\n{BufferedProcess} = require 'atom'\n\ncommand = 'ps'\nargs = ['-ef']\nstdout = (output) -> console.log(output)\nexit = (code) -> console.log(\"ps -ef exited with #{code}\")\nprocess = new BufferedProcess({command, args, stdout, exit})\n``` ", - "range": [ - [ - 18, - 0 - ], - [ - 120, - 19 - ] - ] - } - }, - "40": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 40, - 15 - ], - [ - 99, - 1 - ] - ], - "doc": " Public: Runs the given command by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} command to execute.\n :args - The {Array} of arguments to pass to the command (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " - } - }, - "99": { - "16": { - "name": "bufferStream", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stream", - "onLines", - "onDone" - ], - "range": [ - [ - 99, - 16 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: Helper method to pass data line by line.\n\nstream - The Stream to read from.\nonLines - The callback to call with each line of data.\nonDone - The callback to call when the stream has closed. " - } - }, - "117": { - "8": { - "name": "kill", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 8 - ], - [ - 120, - 19 - ] - ], - "doc": "Public: Terminate the process. " - } - } - }, - "exports": 18 - }, - "src/clipboard.coffee": { - "objects": { - "0": { - "12": { - "name": "clipboard", - "type": "import", - "range": [ - [ - 0, - 12 - ], - [ - 0, - 30 - ] - ], - "bindingType": "variable", - "module": "clipboard" - } - }, - "1": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 1, - 9 - ], - [ - 1, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "7": { - "0": { - "type": "class", - "name": "Clipboard", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 8, - 12 - ], - [ - 9, - 24 - ], - [ - 16, - 7 - ], - [ - 26, - 9 - ], - [ - 34, - 8 - ], - [ - 43, - 20 - ] - ], - "doc": " Public: Represents the clipboard used for copying and pasting in Atom.\n\nAn instance of this class is always available as the `atom.clipboard` global. ", - "range": [ - [ - 7, - 0 - ], - [ - 48, - 12 - ] - ] - } - }, - "8": { - "12": { - "name": "metadata", - "type": "primitive", - "range": [ - [ - 8, - 12 - ], - [ - 8, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "24": { - "name": "signatureForMetadata", - "type": "primitive", - "range": [ - [ - 9, - 24 - ], - [ - 9, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "7": { - "name": "md5", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 16, - 7 - ], - [ - 26, - 1 - ] - ], - "doc": " Private: Creates an `md5` hash of some text.\n\ntext - A {String} to hash.\n\nReturns a hashed {String}. " - } - }, - "26": { - "9": { - "name": "write", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "metadata" - ], - "range": [ - [ - 26, - 9 - ], - [ - 34, - 1 - ] - ], - "doc": " Public: Write the given text to the clipboard.\n\nThe metadata associated with the text is available by calling\n{::readWithMetadata}.\n\ntext - The {String} to store.\nmetadata - The additional info to associate with the text. " - } - }, - "34": { - "8": { - "name": "read", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 8 - ], - [ - 43, - 1 - ] - ], - "doc": " Public: Read the text from the clipboard.\n\nReturns a {String}. " - } - }, - "43": { - "20": { - "name": "readWithMetadata", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 20 - ], - [ - 48, - 12 - ] - ], - "doc": " Public: Read the text from the clipboard and return both the text and the\nassociated metadata.\n\nReturns an {Object} with the following keys:\n :text - The {String} clipboard text.\n :metadata - The metadata stored by an earlier call to {::write}. " - } - } - }, - "exports": 7 - }, - "src/coffee-cache.coffee": { - "objects": { - "0": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 0, - 9 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "3": { - "15": { - "name": "CoffeeScript", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 37 - ] - ], - "bindingType": "variable", - "module": "coffee-script@1.7.0" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1.0.2" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "8": { - "17": { - "name": "coffeeCacheDir", - "type": "function", - "range": [ - [ - 8, - 17 - ], - [ - 8, - 45 - ] - ] - } - }, - "11": { - "15": { - "name": "getCachePath", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "coffee" - ], - "range": [ - [ - 11, - 15 - ], - [ - 14, - 0 - ] - ], - "doc": "~Private~" - } - }, - "15": { - "22": { - "name": "getCachedJavaScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "cachePath" - ], - "range": [ - [ - 15, - 22 - ], - [ - 19, - 0 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "18": { - "name": "convertFilePath", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 20, - 18 - ], - [ - 24, - 0 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "22": { - "name": "compileCoffeeScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "coffee", - "filePath", - "cachePath" - ], - "range": [ - [ - 25, - 22 - ], - [ - 33, - 0 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "22": { - "name": "requireCoffeeScript", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "module", - "filePath" - ], - "range": [ - [ - 34, - 22 - ], - [ - 39, - 0 - ] - ] - } - }, - "41": { - "12": { - "name": "cacheDir", - "type": "primitive", - "range": [ - [ - 41, - 12 - ], - [ - 41, - 19 - ] - ] - } - }, - "42": { - "12": { - "name": "register", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 12 - ], - [ - 46, - 6 - ] - ], - "doc": null - } - } - }, - "exports": 41 - }, - "src/command-installer.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "2": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 22 - ] - ], - "bindingType": "variable", - "module": "async@0.2.6" - } - }, - "3": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 3, - 5 - ], - [ - 3, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "4": { - "9": { - "name": "mkdirp", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 24 - ] - ], - "bindingType": "variable", - "module": "mkdirp@0.3.5" - } - }, - "5": { - "8": { - "name": "runas", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "module": "runas@1.0.1" - } - }, - "7": { - "17": { - "name": "symlinkCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "sourcePath", - "destinationPath", - "callback" - ], - "range": [ - [ - 7, - 17 - ], - [ - 17, - 0 - ] - ], - "doc": "~Private~" - } - }, - "18": { - "34": { - "name": "symlinkCommandWithPrivilegeSync", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "sourcePath", - "destinationPath" - ], - "range": [ - [ - 18, - 34 - ], - [ - 27, - 0 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "23": { - "name": "getInstallDirectory", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 23 - ], - [ - 32, - 1 - ] - ], - "doc": null - } - }, - "32": { - "11": { - "name": "install", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "commandPath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 32, - 11 - ], - [ - 52, - 1 - ] - ], - "doc": null - } - }, - "52": { - "22": { - "name": "installAtomCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "resourcePath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 52, - 22 - ], - [ - 56, - 1 - ] - ], - "doc": null - } - }, - "56": { - "21": { - "name": "installApmCommand", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "resourcePath", - "askForPrivilege", - "callback" - ], - "range": [ - [ - 56, - 21 - ], - [ - 58, - 51 - ] - ], - "doc": null - } - } - }, - "exports": 29 - }, - "src/config.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "3": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1.0.2" - } - }, - "4": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "5": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "module": "async@0.2.6" - } - }, - "6": { - "14": { - "name": "pathWatcher", - "type": "import", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 34 - ] - ], - "bindingType": "variable", - "module": "pathwatcher@^2.0.6" - } - }, - "25": { - "0": { - "type": "class", - "name": "Config", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 36, - 29 - ], - [ - 52, - 8 - ], - [ - 57, - 18 - ], - [ - 72, - 21 - ], - [ - 76, - 23 - ], - [ - 80, - 15 - ], - [ - 91, - 21 - ], - [ - 95, - 15 - ], - [ - 104, - 7 - ], - [ - 114, - 10 - ], - [ - 125, - 18 - ], - [ - 136, - 7 - ], - [ - 152, - 10 - ], - [ - 160, - 18 - ], - [ - 168, - 14 - ], - [ - 178, - 13 - ], - [ - 187, - 17 - ], - [ - 199, - 20 - ], - [ - 211, - 19 - ], - [ - 231, - 11 - ], - [ - 253, - 13 - ], - [ - 256, - 10 - ], - [ - 261, - 8 - ] - ], - "doc": " Public: Used to access all of Atom's configuration details.\n\nAn instance of this class is always available as the `atom.config` global.\n\n## Best practices\n\n* Create your own root keypath using your package's name.\n* Don't depend on (or write to) configuration keys outside of your keypath.\n\n## Example\n\n```coffeescript\natom.config.set('my-package.key', 'value')\natom.config.observe 'my-package.key', ->\n console.log 'My configuration changed:', atom.config.get('my-package.key')\n``` ", - "range": [ - [ - 25, - 0 - ], - [ - 262, - 50 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 29, - 15 - ], - [ - 36, - 1 - ] - ], - "doc": "Private: Created during initialization, available as `atom.config` " - } - }, - "36": { - "29": { - "name": "initializeConfigDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "done" - ], - "range": [ - [ - 36, - 29 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 8 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "18": { - "name": "loadUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 18 - ], - [ - 72, - 1 - ] - ], - "doc": "~Private~" - } - }, - "72": { - "21": { - "name": "observeUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 72, - 21 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "23": { - "name": "unobserveUserConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 23 - ], - [ - 80, - 1 - ] - ], - "doc": "~Private~" - } - }, - "80": { - "15": { - "name": "setDefaults", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "defaults" - ], - "range": [ - [ - 80, - 15 - ], - [ - 91, - 1 - ] - ], - "doc": "~Private~" - } - }, - "91": { - "21": { - "name": "getUserConfigPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 21 - ], - [ - 95, - 1 - ] - ], - "doc": "Public: Get the {String} path to the config file being used. " - } - }, - "95": { - "15": { - "name": "getSettings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 95, - 15 - ], - [ - 104, - 1 - ] - ], - "doc": "Public: Returns a new {Object} containing all of settings and defaults. " - } - }, - "104": { - "7": { - "name": "get", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 104, - 7 - ], - [ - 114, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key.\n\nkeyPath - The {String} name of the key to retrieve.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `null` if the key doesn't exist in either. " - } - }, - "114": { - "10": { - "name": "getInt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 114, - 10 - ], - [ - 125, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key as an integer.\n\nkeyPath - The {String} name of the key to retrieve\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `NaN` if the key doesn't exist in either. " - } - }, - "125": { - "18": { - "name": "getPositiveInt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "defaultValue" - ], - "range": [ - [ - 125, - 18 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Retrieves the setting for the given key as a positive integer.\n\nkeyPath - The {String} name of the key to retrieve\ndefaultValue - The integer {Number} to fall back to if the value isn't\n positive, defaults to 0.\n\nReturns the value from Atom's default settings, the user's configuration\nfile, or `defaultValue` if the key value isn't greater than zero. " - } - }, - "136": { - "7": { - "name": "set", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 136, - 7 - ], - [ - 152, - 1 - ] - ], - "doc": " Public: Sets the value for a configuration setting.\n\nThis value is stored in Atom's internal configuration file.\n\nkeyPath - The {String} name of the key.\nvalue - The value of the setting.\n\nReturns the `value`. " - } - }, - "152": { - "10": { - "name": "toggle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 152, - 10 - ], - [ - 160, - 1 - ] - ], - "doc": " Public: Toggle the value at the key path.\n\nThe new value will be `true` if the value is currently falsy and will be\n`false` if the value is currently truthy.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " - } - }, - "160": { - "18": { - "name": "restoreDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 160, - 18 - ], - [ - 168, - 1 - ] - ], - "doc": " Public: Restore the key path to its default value.\n\nkeyPath - The {String} name of the key.\n\nReturns the new value. " - } - }, - "168": { - "14": { - "name": "getDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 168, - 14 - ], - [ - 178, - 1 - ] - ], - "doc": " Public: Get the default value of the key path.\n\nkeyPath - The {String} name of the key.\n\nReturns the default value. " - } - }, - "178": { - "13": { - "name": "isDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 178, - 13 - ], - [ - 187, - 1 - ] - ], - "doc": " Public: Is the key path value its default value?\n\nkeyPath - The {String} name of the key.\n\nReturns a {Boolean}, `true` if the current value is the default, `false`\notherwise. " - } - }, - "187": { - "17": { - "name": "pushAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 187, - 17 - ], - [ - 199, - 1 - ] - ], - "doc": " Public: Push the value to the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to push to the array.\n\nReturns the new array length {Number} of the setting. " - } - }, - "199": { - "20": { - "name": "unshiftAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 199, - 20 - ], - [ - 211, - 1 - ] - ], - "doc": " Public: Add the value to the beginning of the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to shift onto the array.\n\nReturns the new array length {Number} of the setting. " - } - }, - "211": { - "19": { - "name": "removeAtKeyPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "value" - ], - "range": [ - [ - 211, - 19 - ], - [ - 231, - 1 - ] - ], - "doc": " Public: Remove the value from the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to remove from the array.\n\nReturns the new array value of the setting. " - } - }, - "231": { - "11": { - "name": "observe", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath", - "options", - "callback" - ], - "range": [ - [ - 231, - 11 - ], - [ - 253, - 1 - ] - ], - "doc": " Public: Establishes an event listener for a given key.\n\n`callback` is fired whenever the value of the key is changed and will\n be fired immediately unless the `callNow` option is `false`.\n\nkeyPath - The {String} name of the key to observe\noptions - An optional {Object} containing the `callNow` key.\ncallback - The {Function} to call when the value of the key changes.\n The first argument will be the new value of the key and the\n  second argument will be an {Object} with a `previous` property\n that is the prior value of the key.\n\nReturns an {Object} with the following keys:\n :off - A {Function} that unobserves the `keyPath` when called. " - } - }, - "253": { - "13": { - "name": "unobserve", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyPath" - ], - "range": [ - [ - 253, - 13 - ], - [ - 256, - 1 - ] - ], - "doc": " Public: Unobserve all callbacks on a given key.\n\nkeyPath - The {String} name of the key to unobserve. " - } - }, - "256": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 10 - ], - [ - 261, - 1 - ] - ], - "doc": "~Private~" - } - }, - "261": { - "8": { - "name": "save", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 8 - ], - [ - 262, - 50 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 25 - }, - "src/context-menu-manager.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "2": { - "9": { - "name": "remote", - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 24 - ] - ], - "bindingType": "variable", - "module": "remote" - } - }, - "10": { - "0": { - "type": "class", - "name": "ContextMenuManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 33, - 7 - ], - [ - 45, - 17 - ], - [ - 60, - 17 - ], - [ - 66, - 25 - ], - [ - 82, - 38 - ], - [ - 91, - 34 - ], - [ - 105, - 24 - ], - [ - 111, - 16 - ] - ], - "doc": " Public: Provides a registry for commands that you'd like to appear in the\ncontext menu.\n\nAn instance of this class is always available as the `atom.contextMenu`\nglobal. ", - "range": [ - [ - 10, - 0 - ], - [ - 116, - 64 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 33, - 1 - ] - ] - } - }, - "33": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "object", - null - ], - "range": [ - [ - 33, - 7 - ], - [ - 45, - 1 - ] - ], - "doc": " Public: Creates menu definitions from the object specified by the menu\ncson API.\n\nname - The path of the file that contains the menu definitions.\nobject - The 'context-menu' object specified in the menu cson API.\noptions - An {Object} with the following keys:\n :devMode - Determines whether the entries should only be shown when\n the window is in dev mode.\n\nReturns nothing. " - } - }, - "45": { - "17": { - "name": "buildMenuItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "label", - "command" - ], - "range": [ - [ - 45, - 17 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "17": { - "name": "addBySelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "definition", - null - ], - "range": [ - [ - 60, - 17 - ], - [ - 66, - 1 - ] - ], - "doc": " Private: Registers a command to be displayed when the relevant item is right\nclicked.\n\nselector - The css selector for the active element which should include\n the given command in its context menu.\ndefinition - The object containing keys which match the menu template API.\noptions - An {Object} with the following keys:\n :devMode - Indicates whether this command should only appear while the\n editor is in dev mode. " - } - }, - "66": { - "25": { - "name": "definitionsForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element", - null - ], - "range": [ - [ - 66, - 25 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Returns definitions which match the element and devMode. " - } - }, - "82": { - "38": { - "name": "menuTemplateForMostSpecificElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element", - null - ], - "range": [ - [ - 82, - 38 - ], - [ - 91, - 1 - ] - ], - "doc": " Private: Used to generate the context menu for a specific element and it's\nparents.\n\nThe menu items are sorted such that menu items that match closest to the\nactive element are listed first. The further down the list you go, the higher\nup the ancestor hierarchy they match.\n\nelement - The DOM element to generate the menu template for. " - } - }, - "91": { - "34": { - "name": "combinedMenuTemplateForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 91, - 34 - ], - [ - 105, - 1 - ] - ], - "doc": " Private: Returns a menu template for both normal entries as well as\ndevelopment mode entries. " - } - }, - "105": { - "24": { - "name": "executeBuildHandlers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event", - "menuTemplate" - ], - "range": [ - [ - 105, - 24 - ], - [ - 111, - 1 - ] - ], - "doc": " Private: Executes `executeAtBuild` if defined for each menu item with\nthe provided event and then removes the `executeAtBuild` property from\nthe menu item.\n\nThis is useful for commands that need to provide data about the event\nto the command. " - } - }, - "111": { - "16": { - "name": "showForEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 111, - 16 - ], - [ - 116, - 64 - ] - ], - "doc": "Public: Request a context menu to be displayed. " - } - } - }, - "exports": 10 - }, - "src/cursor-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork@^0.11.1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork@^1.0.0", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "18": { - "name": "CursorComponent", - "type": "function", - "range": [ - [ - 5, - 18 - ], - [ - 17, - 79 - ] - ] - } - }, - "6": { - "15": { - "name": "'CursorComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 31 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 16, - 1 - ] - ], - "doc": null - } - }, - "16": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 16, - 25 - ], - [ - 17, - 79 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/cursor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "4": { - "0": { - "type": "class", - "name": "CursorView", - "superClass": "View", - "bindingType": "exports", - "classProperties": [ - [ - 5, - 12 - ], - [ - 8, - 16 - ], - [ - 10, - 17 - ], - [ - 13, - 18 - ], - [ - 19, - 17 - ] - ], - "prototypeProperties": [ - [ - 24, - 12 - ], - [ - 25, - 11 - ], - [ - 26, - 15 - ], - [ - 27, - 16 - ], - [ - 28, - 23 - ], - [ - 30, - 14 - ], - [ - 44, - 16 - ], - [ - 48, - 17 - ], - [ - 65, - 12 - ], - [ - 68, - 19 - ], - [ - 71, - 19 - ], - [ - 74, - 20 - ], - [ - 77, - 14 - ], - [ - 86, - 16 - ], - [ - 90, - 17 - ], - [ - 94, - 17 - ], - [ - 98, - 21 - ], - [ - 101, - 21 - ], - [ - 104, - 30 - ], - [ - 109, - 24 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 112, - 31 - ] - ] - } - }, - "5": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 12 - ], - [ - 8, - 1 - ] - ] - } - }, - "8": { - "16": { - "name": "blinkPeriod", - "type": "primitive", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 18 - ] - ], - "bindingType": "classProperty" - } - }, - "10": { - "17": { - "name": "blinkCursors", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 17 - ], - [ - 13, - 1 - ] - ], - "doc": "~Private~" - } - }, - "13": { - "18": { - "name": "startBlinking", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 13, - 18 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "17": { - "name": "stopBlinking", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 19, - 17 - ], - [ - 24, - 1 - ] - ], - "doc": "~Private~" - } - }, - "24": { - "12": { - "name": "blinking", - "type": "primitive", - "range": [ - [ - 24, - 12 - ], - [ - 24, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "25": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 25, - 11 - ], - [ - 25, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "26": { - "15": { - "name": "needsUpdate", - "type": "primitive", - "range": [ - [ - 26, - 15 - ], - [ - 26, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "27": { - "16": { - "name": "needsRemoval", - "type": "primitive", - "range": [ - [ - 27, - 16 - ], - [ - 27, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "28": { - "23": { - "name": "shouldPauseBlinking", - "type": "primitive", - "range": [ - [ - 28, - 23 - ], - [ - 28, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "30": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 30, - 14 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 16 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 17 - ], - [ - 65, - 1 - ] - ], - "doc": "~Private~" - } - }, - "65": { - "12": { - "name": "isHidden", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 65, - 12 - ], - [ - 68, - 1 - ] - ], - "doc": "Private: Override for speed. The base function checks the computedStyle " - } - }, - "68": { - "19": { - "name": "needsAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 19 - ], - [ - 71, - 1 - ] - ], - "doc": "~Private~" - } - }, - "71": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 71, - 19 - ], - [ - 74, - 1 - ] - ], - "doc": "~Private~" - } - }, - "74": { - "20": { - "name": "getPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 20 - ], - [ - 77, - 1 - ] - ], - "doc": "~Private~" - } - }, - "77": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 77, - 14 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "16": { - "name": "stopBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 16 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "17": { - "name": "startBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 17 - ], - [ - 94, - 1 - ] - ], - "doc": "~Private~" - } - }, - "94": { - "17": { - "name": "resetBlinking", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 17 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "21": { - "name": "getBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 21 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "21": { - "name": "getScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 21 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "30": { - "name": "removeIdleClassTemporarily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 30 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "24": { - "name": "resetCursorAnimation", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 24 - ], - [ - 112, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/cursor.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "10": { - "0": { - "type": "class", - "name": "Cursor", - "superClass": "Model", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 11, - 18 - ], - [ - 12, - 18 - ], - [ - 13, - 14 - ], - [ - 14, - 11 - ], - [ - 15, - 19 - ], - [ - 18, - 15 - ], - [ - 49, - 11 - ], - [ - 52, - 18 - ], - [ - 60, - 16 - ], - [ - 70, - 21 - ], - [ - 75, - 21 - ], - [ - 78, - 18 - ], - [ - 89, - 21 - ], - [ - 94, - 21 - ], - [ - 97, - 14 - ], - [ - 101, - 20 - ], - [ - 105, - 14 - ], - [ - 112, - 13 - ], - [ - 122, - 14 - ], - [ - 136, - 16 - ], - [ - 145, - 28 - ], - [ - 158, - 27 - ], - [ - 170, - 16 - ], - [ - 176, - 19 - ], - [ - 180, - 18 - ], - [ - 184, - 16 - ], - [ - 188, - 19 - ], - [ - 192, - 16 - ], - [ - 196, - 19 - ], - [ - 201, - 24 - ], - [ - 205, - 10 - ], - [ - 217, - 12 - ], - [ - 233, - 12 - ], - [ - 247, - 13 - ], - [ - 256, - 13 - ], - [ - 260, - 16 - ], - [ - 264, - 31 - ], - [ - 268, - 25 - ], - [ - 273, - 30 - ], - [ - 283, - 25 - ], - [ - 293, - 25 - ], - [ - 297, - 19 - ], - [ - 301, - 25 - ], - [ - 305, - 19 - ], - [ - 310, - 29 - ], - [ - 315, - 30 - ], - [ - 320, - 26 - ], - [ - 336, - 43 - ], - [ - 358, - 41 - ], - [ - 380, - 41 - ], - [ - 409, - 37 - ], - [ - 430, - 40 - ], - [ - 447, - 29 - ], - [ - 457, - 29 - ], - [ - 461, - 34 - ], - [ - 466, - 38 - ], - [ - 470, - 45 - ], - [ - 484, - 49 - ], - [ - 502, - 34 - ], - [ - 506, - 24 - ], - [ - 510, - 23 - ], - [ - 514, - 18 - ], - [ - 521, - 17 - ], - [ - 527, - 13 - ], - [ - 532, - 32 - ] - ], - "doc": " Public: The `Cursor` class represents the little blinking line identifying\nwhere text can be inserted.\n\nCursors belong to {Editor}s and have some metadata attached in the form\nof a {Marker}. ", - "range": [ - [ - 10, - 0 - ], - [ - 540, - 50 - ] - ] - } - }, - "11": { - "18": { - "name": "screenPosition", - "type": "primitive", - "range": [ - [ - 11, - 18 - ], - [ - 11, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "18": { - "name": "bufferPosition", - "type": "primitive", - "range": [ - [ - 12, - 18 - ], - [ - 12, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "13": { - "14": { - "name": "goalColumn", - "type": "primitive", - "range": [ - [ - 13, - 14 - ], - [ - 13, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 14, - 11 - ], - [ - 14, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "15": { - "19": { - "name": "needsAutoscroll", - "type": "primitive", - "range": [ - [ - 15, - 19 - ], - [ - 15, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 18, - 15 - ], - [ - 49, - 1 - ] - ], - "doc": "Private: Instantiated by an {Editor} " - } - }, - "49": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 11 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "18": { - "name": "changePosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options", - "fn" - ], - "range": [ - [ - 52, - 18 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "16": { - "name": "getPixelRect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 60, - 16 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "21": { - "name": "setScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 70, - 21 - ], - [ - 75, - 1 - ] - ], - "doc": " Public: Moves a cursor to a given screen position.\n\nscreenPosition - An {Array} of two numbers: the screen row, and the screen\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " - } - }, - "75": { - "21": { - "name": "getScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 75, - 21 - ], - [ - 78, - 1 - ] - ], - "doc": "Public: Returns the screen position of the cursor as an Array. " - } - }, - "78": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 78, - 18 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "setBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 89, - 21 - ], - [ - 94, - 1 - ] - ], - "doc": " Public: Moves a cursor to a given buffer position.\n\nbufferPosition - An {Array} of two numbers: the buffer row, and the buffer\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " - } - }, - "94": { - "21": { - "name": "getBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 94, - 21 - ], - [ - 97, - 1 - ] - ], - "doc": "Public: Returns the current buffer position as an Array. " - } - }, - "97": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 97, - 14 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "20": { - "name": "updateVisibility", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 20 - ], - [ - 105, - 1 - ] - ], - "doc": "Public: If the marker range is empty, the cursor is marked as being visible. " - } - }, - "105": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 105, - 14 - ], - [ - 112, - 1 - ] - ], - "doc": "Public: Sets whether the cursor is visible. " - } - }, - "112": { - "13": { - "name": "isVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 112, - 13 - ], - [ - 112, - 23 - ] - ], - "doc": "Public: Returns the visibility of the cursor. " - } - }, - "122": { - "14": { - "name": "wordRegExp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 122, - 14 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Get the RegExp used by the cursor to determine what a \"word\" is.\n\noptions: An optional {Object} with the following keys:\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the regex.\n (default: true)\n\nReturns a {RegExp}. " - } - }, - "136": { - "16": { - "name": "isLastCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 16 - ], - [ - 145, - 1 - ] - ], - "doc": " Public: Identifies if this cursor is the last in the {Editor}.\n\n\"Last\" is defined as the most recently added cursor.\n\nReturns a {Boolean}. " - } - }, - "145": { - "28": { - "name": "isSurroundedByWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 145, - 28 - ], - [ - 158, - 1 - ] - ], - "doc": " Public: Identifies if the cursor is surrounded by whitespace.\n\n\"Surrounded\" here means that the character directly before and after the\ncursor are both whitespace.\n\nReturns a {Boolean}. " - } - }, - "158": { - "27": { - "name": "isBetweenWordAndNonWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 27 - ], - [ - 170, - 1 - ] - ], - "doc": " Public: Returns whether the cursor is currently between a word and non-word\ncharacter. The non-word characters are defined by the\n`editor.nonWordCharacters` config value.\n\nThis method returns false if the character before or after the cursor is\nwhitespace.\n\nReturns a Boolean. " - } - }, - "170": { - "16": { - "name": "isInsideWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 170, - 16 - ], - [ - 176, - 1 - ] - ], - "doc": "Public: Returns whether this cursor is between a word's start and end. " - } - }, - "176": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 176, - 19 - ], - [ - 180, - 1 - ] - ], - "doc": "Public: Prevents this cursor from causing scrolling. " - } - }, - "180": { - "18": { - "name": "clearSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 180, - 18 - ], - [ - 184, - 1 - ] - ], - "doc": "Public: Deselects the current selection. " - } - }, - "184": { - "16": { - "name": "getScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 184, - 16 - ], - [ - 188, - 1 - ] - ], - "doc": "Public: Returns the cursor's current screen row. " - } - }, - "188": { - "19": { - "name": "getScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 19 - ], - [ - 192, - 1 - ] - ], - "doc": "Public: Returns the cursor's current screen column. " - } - }, - "192": { - "16": { - "name": "getBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 192, - 16 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Retrieves the cursor's current buffer row. " - } - }, - "196": { - "19": { - "name": "getBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 196, - 19 - ], - [ - 201, - 1 - ] - ], - "doc": "Public: Returns the cursor's current buffer column. " - } - }, - "201": { - "24": { - "name": "getCurrentBufferLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 201, - 24 - ], - [ - 205, - 1 - ] - ], - "doc": " Public: Returns the cursor's current buffer row of text excluding its line\nending. " - } - }, - "205": { - "10": { - "name": "moveUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount", - null - ], - "range": [ - [ - 205, - 10 - ], - [ - 217, - 1 - ] - ], - "doc": "Public: Moves the cursor up one screen row. " - } - }, - "217": { - "12": { - "name": "moveDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount", - null - ], - "range": [ - [ - 217, - 12 - ], - [ - 233, - 1 - ] - ], - "doc": "Public: Moves the cursor down one screen row. " - } - }, - "233": { - "12": { - "name": "moveLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 233, - 12 - ], - [ - 247, - 1 - ] - ], - "doc": " Public: Moves the cursor left one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the left of the selection if a\n selection exists. " - } - }, - "247": { - "13": { - "name": "moveRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 247, - 13 - ], - [ - 256, - 1 - ] - ], - "doc": " Public: Moves the cursor right one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the right of the selection if a\n selection exists. " - } - }, - "256": { - "13": { - "name": "moveToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 13 - ], - [ - 260, - 1 - ] - ], - "doc": "Public: Moves the cursor to the top of the buffer. " - } - }, - "260": { - "16": { - "name": "moveToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 16 - ], - [ - 264, - 1 - ] - ], - "doc": "Public: Moves the cursor to the bottom of the buffer. " - } - }, - "264": { - "31": { - "name": "moveToBeginningOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 264, - 31 - ], - [ - 268, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the line. " - } - }, - "268": { - "25": { - "name": "moveToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 268, - 25 - ], - [ - 273, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the buffer line. " - } - }, - "273": { - "30": { - "name": "moveToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 273, - 30 - ], - [ - 283, - 1 - ] - ], - "doc": " Public: Moves the cursor to the beginning of the first character in the\nline. " - } - }, - "283": { - "25": { - "name": "skipLeadingWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 283, - 25 - ], - [ - 293, - 1 - ] - ], - "doc": " Public: Moves the cursor to the beginning of the buffer line, skipping all\nwhitespace. " - } - }, - "293": { - "25": { - "name": "moveToEndOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 293, - 25 - ], - [ - 297, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the line. " - } - }, - "297": { - "19": { - "name": "moveToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 19 - ], - [ - 301, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the buffer line. " - } - }, - "301": { - "25": { - "name": "moveToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 301, - 25 - ], - [ - 305, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the word. " - } - }, - "305": { - "19": { - "name": "moveToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 305, - 19 - ], - [ - 310, - 1 - ] - ], - "doc": "Public: Moves the cursor to the end of the word. " - } - }, - "310": { - "29": { - "name": "moveToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 310, - 29 - ], - [ - 315, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the next word. " - } - }, - "315": { - "30": { - "name": "moveToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 30 - ], - [ - 320, - 1 - ] - ], - "doc": "Public: Moves the cursor to the previous word boundary. " - } - }, - "320": { - "26": { - "name": "moveToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 320, - 26 - ], - [ - 336, - 1 - ] - ], - "doc": "Public: Moves the cursor to the next word boundary. " - } - }, - "336": { - "43": { - "name": "getBeginningOfCurrentWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 336, - 43 - ], - [ - 358, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the current word starts.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n :allowPrevious - A {Boolean} indicating whether the beginning of the\n previous word can be returned.\n\nReturns a {Range}. " - } - }, - "358": { - "41": { - "name": "getPreviousWordBoundaryBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 358, - 41 - ], - [ - 380, - 1 - ] - ], - "doc": " Public: Retrieves buffer position of previous word boundary. It might be on\nthe current word, or the previous word. " - } - }, - "380": { - "41": { - "name": "getMoveNextWordBoundaryBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 380, - 41 - ], - [ - 409, - 1 - ] - ], - "doc": " Public: Retrieves buffer position of the next word boundary. It might be on\nthe current word, or the previous word. " - } - }, - "409": { - "37": { - "name": "getEndOfCurrentWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 409, - 37 - ], - [ - 430, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the current word ends.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp})\n :includeNonWordCharacters - A Boolean indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n\nReturns a {Range}. " - } - }, - "430": { - "40": { - "name": "getBeginningOfNextWordBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 430, - 40 - ], - [ - 447, - 1 - ] - ], - "doc": " Public: Retrieves the buffer position of where the next word starts.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n\nReturns a {Range}. " - } - }, - "447": { - "29": { - "name": "getCurrentWordBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 447, - 29 - ], - [ - 457, - 1 - ] - ], - "doc": " Public: Returns the buffer Range occupied by the word located under the cursor.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}). " - } - }, - "457": { - "29": { - "name": "getCurrentLineBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 457, - 29 - ], - [ - 461, - 1 - ] - ], - "doc": " Public: Returns the buffer Range for the current line.\n\noptions -\n :includeNewline: - A {Boolean} which controls whether the Range should\n include the newline. " - } - }, - "461": { - "34": { - "name": "moveToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 461, - 34 - ], - [ - 466, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the next paragraph " - } - }, - "466": { - "38": { - "name": "moveToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 466, - 38 - ], - [ - 470, - 1 - ] - ], - "doc": "Public: Moves the cursor to the beginning of the previous paragraph " - } - }, - "470": { - "45": { - "name": "getBeginningOfNextParagraphBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 470, - 45 - ], - [ - 484, - 1 - ] - ], - "doc": "~Private~" - } - }, - "484": { - "49": { - "name": "getBeginningOfPreviousParagraphBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 484, - 49 - ], - [ - 502, - 1 - ] - ], - "doc": "~Private~" - } - }, - "502": { - "34": { - "name": "getCurrentParagraphBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 502, - 34 - ], - [ - 506, - 1 - ] - ], - "doc": " Public: Retrieves the range for the current paragraph.\n\nA paragraph is defined as a block of text surrounded by empty lines.\n\nReturns a {Range}. " - } - }, - "506": { - "24": { - "name": "getCurrentWordPrefix", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 506, - 24 - ], - [ - 510, - 1 - ] - ], - "doc": "Public: Returns the characters preceding the cursor in the current word. " - } - }, - "510": { - "23": { - "name": "isAtBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 510, - 23 - ], - [ - 514, - 1 - ] - ], - "doc": "Public: Returns whether the cursor is at the start of a line. " - } - }, - "514": { - "18": { - "name": "getIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 514, - 18 - ], - [ - 521, - 1 - ] - ], - "doc": "Public: Returns the indentation level of the current line. " - } - }, - "521": { - "17": { - "name": "isAtEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 521, - 17 - ], - [ - 527, - 1 - ] - ], - "doc": "Public: Returns whether the cursor is on the line return character. " - } - }, - "527": { - "13": { - "name": "getScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 527, - 13 - ], - [ - 532, - 1 - ] - ], - "doc": " Public: Retrieves the grammar's token scopes for the line.\n\nReturns an {Array} of {String}s. " - } - }, - "532": { - "32": { - "name": "hasPrecedingCharactersOnLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 532, - 32 - ], - [ - 540, - 50 - ] - ], - "doc": " Public: Returns true if this cursor has no non-whitespace characters before\nits current position. " - } - } - }, - "exports": 10 - }, - "src/cursors-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork@^0.11.1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork@^1.0.0", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "debounce", - "exportsProperty": "debounce" - }, - "11": { - "type": "import", - "range": [ - [ - 2, - 11 - ], - [ - 2, - 17 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "toArray", - "exportsProperty": "toArray" - }, - "20": { - "type": "import", - "range": [ - [ - 2, - 20 - ], - [ - 2, - 39 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "42": { - "type": "import", - "range": [ - [ - 2, - 42 - ], - [ - 2, - 48 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqual", - "exportsProperty": "isEqual" - } - }, - "3": { - "18": { - "name": "SubscriberMixin", - "type": "import", - "range": [ - [ - 3, - 18 - ], - [ - 3, - 45 - ] - ], - "bindingType": "variable", - "path": "./subscriber-mixin" - } - }, - "4": { - "18": { - "name": "CursorComponent", - "type": "import", - "range": [ - [ - 4, - 18 - ], - [ - 4, - 45 - ] - ], - "bindingType": "variable", - "path": "./cursor-component" - } - }, - "7": { - "19": { - "name": "CursorsComponent", - "type": "function", - "range": [ - [ - 7, - 19 - ], - [ - 60, - 37 - ] - ] - } - }, - "8": { - "15": { - "name": "'CursorsComponent'", - "type": "primitive", - "range": [ - [ - 8, - 15 - ], - [ - 8, - 32 - ] - ] - } - }, - "9": { - "10": { - "type": "primitive", - "range": [ - [ - 9, - 10 - ], - [ - 9, - 26 - ] - ] - } - }, - "11": { - "29": { - "type": "primitive", - "range": [ - [ - 11, - 29 - ], - [ - 11, - 32 - ] - ] - } - }, - "13": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 10 - ], - [ - 25, - 1 - ] - ], - "doc": null - } - }, - "25": { - "19": { - "name": "getInitialState", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 19 - ], - [ - 28, - 1 - ] - ], - "doc": null - } - }, - "28": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 21 - ], - [ - 31, - 1 - ] - ], - "doc": null - } - }, - "31": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 31, - 24 - ], - [ - 34, - 1 - ] - ], - "doc": null - } - }, - "34": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps", - "newState" - ], - "range": [ - [ - 34, - 25 - ], - [ - 38, - 1 - ] - ], - "doc": null - } - }, - "38": { - "23": { - "name": "componentWillUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 38, - 23 - ], - [ - 45, - 1 - ] - ], - "doc": null - } - }, - "45": { - "24": { - "name": "startBlinkingCursors", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 24 - ], - [ - 48, - 1 - ] - ], - "doc": null - } - }, - "48": { - "34": { - "type": "primitive", - "range": [ - [ - 48, - 34 - ], - [ - 48, - 37 - ] - ] - } - }, - "50": { - "23": { - "name": "stopBlinkingCursors", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 23 - ], - [ - 53, - 1 - ] - ], - "doc": null - } - }, - "53": { - "21": { - "name": "toggleCursorBlink", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 21 - ], - [ - 56, - 1 - ] - ], - "doc": null - } - }, - "56": { - "23": { - "name": "pauseCursorBlinking", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 23 - ], - [ - 60, - 37 - ] - ], - "doc": null - } - } - }, - "exports": 7 - }, - "src/custom-event-mixin.coffee": { - "objects": { - "2": { - "2": { - "type": "primitive", - "range": [ - [ - 2, - 2 - ], - [ - 14, - 52 - ] - ] - }, - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 2, - 22 - ], - [ - 5, - 1 - ] - ], - "doc": null - } - }, - "5": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 24 - ], - [ - 10, - 1 - ] - ], - "doc": null - } - }, - "10": { - "27": { - "name": "addCustomEventListeners", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "customEventListeners" - ], - "range": [ - [ - 10, - 27 - ], - [ - 14, - 52 - ] - ], - "doc": null - } - } - }, - "exports": 2 - }, - "src/decoration.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Subscriber", - "exportsProperty": "Subscriber" - }, - "13": { - "type": "import", - "range": [ - [ - 1, - 13 - ], - [ - 1, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "3": { - "12": { - "name": "0", - "type": "primitive", - "range": [ - [ - 3, - 12 - ], - [ - 3, - 12 - ] - ] - } - }, - "4": { - "9": { - "name": "nextId", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 4, - 9 - ], - [ - 4, - 22 - ] - ] - } - }, - "40": { - "0": { - "type": "class", - "name": "Decoration", - "bindingType": "exports", - "classProperties": [ - [ - 43, - 11 - ] - ], - "prototypeProperties": [ - [ - 49, - 15 - ], - [ - 59, - 11 - ], - [ - 70, - 10 - ], - [ - 79, - 13 - ], - [ - 82, - 13 - ], - [ - 89, - 10 - ], - [ - 92, - 18 - ], - [ - 98, - 9 - ], - [ - 104, - 20 - ] - ], - "doc": " Public: Represents a decoration that follows a {Marker}. A decoration is\nbasically a visual representation of a marker. It allows you to add CSS\nclasses to line numbers in the gutter, lines, and add selection-line regions\naround marked ranges of text.\n\n{Decoration} objects are not meant to be created directly, but created with\n{Editor::decorateMarker}. eg.\n\n```coffee\nrange = editor.getSelectedBufferRange() # any range you like\nmarker = editor.markBufferRange(range)\ndecoration = editor.decorateMarker(marker, {type: 'line', class: 'my-line-class'})\n```\n\nBest practice for destorying the decoration is by destroying the {Marker}.\n\n```\nmarker.destroy()\n```\n\nYou should only use {Decoration::destroy} when you still need or do not own\nthe marker.\n\n### IDs\nEach {Decoration} has a unique ID available via `decoration.id`.\n\n### Events\nA couple of events are emitted:\n\n* `destroyed`: When the {Decoration} is destroyed\n* `updated`: When the {Decoration} is updated via {Decoration::update}.\n Event object has properties `oldParams` and `newParams`\n\n ", - "range": [ - [ - 40, - 0 - ], - [ - 106, - 8 - ] - ] - } - }, - "43": { - "11": { - "name": "isType", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "decorationParams", - "type" - ], - "range": [ - [ - 43, - 11 - ], - [ - 49, - 1 - ] - ], - "doc": "~Private~" - } - }, - "49": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null, - null - ], - "range": [ - [ - 49, - 15 - ], - [ - 59, - 1 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 11 - ], - [ - 70, - 1 - ] - ], - "doc": " Public: Destroy this marker.\n\nIf you own the marker, you should use {Marker::destroy} which will destroy\nthis decoration. " - } - }, - "70": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "newParams" - ], - "range": [ - [ - 70, - 10 - ], - [ - 79, - 1 - ] - ], - "doc": " Public: Update the marker with new params. Allows you to change the decoration's class.\n\n```\ndecoration.update({type: 'gutter', class: 'my-new-class'})\n``` " - } - }, - "79": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 13 - ], - [ - 79, - 22 - ] - ], - "doc": "Public: Returns the marker associated with this {Decoration} " - } - }, - "82": { - "13": { - "name": "getParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 13 - ], - [ - 82, - 22 - ] - ], - "doc": "Public: Returns the {Decoration}'s params. " - } - }, - "89": { - "10": { - "name": "isType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "type" - ], - "range": [ - [ - 89, - 10 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "18": { - "name": "matchesPattern", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decorationPattern" - ], - "range": [ - [ - 92, - 18 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "9": { - "name": "flash", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass", - "duration" - ], - "range": [ - [ - 98, - 9 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "20": { - "name": "consumeNextFlash", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 20 - ], - [ - 106, - 8 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 40 - }, - "src/deserializer-manager.coffee": { - "objects": { - "20": { - "0": { - "type": "class", - "name": "DeserializerManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 21, - 15 - ], - [ - 27, - 7 - ], - [ - 33, - 10 - ], - [ - 41, - 15 - ], - [ - 54, - 7 - ] - ], - "doc": " Public: Manages the deserializers used for serialized state\n\nAn instance of this class is always available as the `atom.deserializers`\nglobal.\n\n### Registering a deserializer\n\n```coffee\nclass MyPackageView extends View\n atom.deserializers.add(this)\n\n @deserialize: (state) ->\n new MyPackageView(state)\n\n constructor: (@state) ->\n\n serialize: ->\n @state\n``` ", - "range": [ - [ - 20, - 0 - ], - [ - 58, - 24 - ] - ] - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 15 - ], - [ - 27, - 1 - ] - ] - } - }, - "27": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "classes" - ], - "range": [ - [ - 27, - 7 - ], - [ - 33, - 1 - ] - ], - "doc": " Public: Register the given class(es) as deserializers.\n\nclasses - One or more classes to register. " - } - }, - "33": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "classes" - ], - "range": [ - [ - 33, - 10 - ], - [ - 41, - 1 - ] - ], - "doc": " Public: Remove the given class(es) as deserializers.\n\nclasses - One or more classes to remove. " - } - }, - "41": { - "15": { - "name": "deserialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state", - "params" - ], - "range": [ - [ - 41, - 15 - ], - [ - 54, - 1 - ] - ], - "doc": " Public: Deserialize the state and params.\n\nstate - The state {Object} to deserialize.\nparams - The params {Object} to pass as the second arguments to the\n deserialize method of the deserializer. " - } - }, - "54": { - "7": { - "name": "get", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 54, - 7 - ], - [ - 58, - 24 - ] - ], - "doc": " Private: Get the deserializer for the state.\n\nstate - The state {Object} being deserialized. " - } - } - }, - "exports": 20 - }, - "src/display-buffer-marker.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 2, - 10 - ], - [ - 2, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "5": { - "0": { - "type": "class", - "name": "DisplayBufferMarker", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 9, - 28 - ], - [ - 10, - 25 - ], - [ - 11, - 25 - ], - [ - 12, - 25 - ], - [ - 13, - 25 - ], - [ - 14, - 12 - ], - [ - 16, - 15 - ], - [ - 27, - 8 - ], - [ - 33, - 18 - ], - [ - 40, - 18 - ], - [ - 46, - 18 - ], - [ - 53, - 18 - ], - [ - 56, - 17 - ], - [ - 62, - 25 - ], - [ - 69, - 25 - ], - [ - 76, - 25 - ], - [ - 83, - 25 - ], - [ - 89, - 25 - ], - [ - 96, - 25 - ], - [ - 103, - 25 - ], - [ - 110, - 25 - ], - [ - 117, - 26 - ], - [ - 124, - 26 - ], - [ - 131, - 24 - ], - [ - 138, - 24 - ], - [ - 146, - 13 - ], - [ - 150, - 13 - ], - [ - 153, - 11 - ], - [ - 157, - 14 - ], - [ - 162, - 11 - ], - [ - 169, - 15 - ], - [ - 172, - 17 - ], - [ - 175, - 17 - ], - [ - 178, - 21 - ], - [ - 183, - 11 - ], - [ - 187, - 11 - ], - [ - 191, - 11 - ], - [ - 195, - 11 - ], - [ - 198, - 13 - ], - [ - 202, - 19 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 230, - 23 - ] - ] - } - }, - "9": { - "28": { - "name": "bufferMarkerSubscription", - "type": "primitive", - "range": [ - [ - 9, - 28 - ], - [ - 9, - 31 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "25": { - "name": "oldHeadBufferPosition", - "type": "primitive", - "range": [ - [ - 10, - 25 - ], - [ - 10, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "11": { - "25": { - "name": "oldHeadScreenPosition", - "type": "primitive", - "range": [ - [ - 11, - 25 - ], - [ - 11, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "25": { - "name": "oldTailBufferPosition", - "type": "primitive", - "range": [ - [ - 12, - 25 - ], - [ - 12, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "13": { - "25": { - "name": "oldTailScreenPosition", - "type": "primitive", - "range": [ - [ - 13, - 25 - ], - [ - 13, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "12": { - "name": "wasValid", - "type": "primitive", - "range": [ - [ - 14, - 12 - ], - [ - 14, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 16, - 15 - ], - [ - 27, - 1 - ] - ], - "doc": "~Private~" - } - }, - "27": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 27, - 8 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 33, - 18 - ], - [ - 40, - 1 - ] - ], - "doc": " Private: Gets the screen range of the display marker.\n\nReturns a {Range}. " - } - }, - "40": { - "18": { - "name": "setScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 40, - 18 - ], - [ - 46, - 1 - ] - ], - "doc": " Private: Modifies the screen range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " - } - }, - "46": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 46, - 18 - ], - [ - 53, - 1 - ] - ], - "doc": " Private: Gets the buffer range of the display marker.\n\nReturns a {Range}. " - } - }, - "53": { - "18": { - "name": "setBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 53, - 18 - ], - [ - 56, - 1 - ] - ], - "doc": " Private: Modifies the buffer range of the display marker.\n\nscreenRange - The new {Range} to use\noptions - A hash of options matching those found in {Marker::setRange} " - } - }, - "56": { - "17": { - "name": "getPixelRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 17 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "25": { - "name": "getHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 62, - 25 - ], - [ - 69, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's head.\n\nReturns a {Point}. " - } - }, - "69": { - "25": { - "name": "setHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 69, - 25 - ], - [ - 76, - 1 - ] - ], - "doc": " Private: Sets the screen position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "76": { - "25": { - "name": "getHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 25 - ], - [ - 83, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's head.\n\nReturns a {Point}. " - } - }, - "83": { - "25": { - "name": "setHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 83, - 25 - ], - [ - 89, - 1 - ] - ], - "doc": " Private: Sets the buffer position of the marker's head.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "89": { - "25": { - "name": "getTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 25 - ], - [ - 96, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's tail.\n\nReturns a {Point}. " - } - }, - "96": { - "25": { - "name": "setTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 96, - 25 - ], - [ - 103, - 1 - ] - ], - "doc": " Private: Sets the screen position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "103": { - "25": { - "name": "getTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 103, - 25 - ], - [ - 110, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's tail.\n\nReturns a {Point}. " - } - }, - "110": { - "25": { - "name": "setTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 110, - 25 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: Sets the buffer position of the marker's tail.\n\nscreenRange - The new {Point} to use\noptions - A hash of options matching those found in {DisplayBuffer::bufferPositionForScreenPosition} " - } - }, - "117": { - "26": { - "name": "getStartScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 26 - ], - [ - 124, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndScreenPosition}.\n\nReturns a {Point}. " - } - }, - "124": { - "26": { - "name": "getStartBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 26 - ], - [ - 131, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's start. This will always be\nless than or equal to the result of {DisplayBufferMarker::getEndBufferPosition}.\n\nReturns a {Point}. " - } - }, - "131": { - "24": { - "name": "getEndScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 131, - 24 - ], - [ - 138, - 1 - ] - ], - "doc": " Private: Retrieves the screen position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartScreenPosition}.\n\nReturns a {Point}. " - } - }, - "138": { - "24": { - "name": "getEndBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 24 - ], - [ - 146, - 1 - ] - ], - "doc": " Private: Retrieves the buffer position of the marker's end. This will always be\ngreater than or equal to the result of {DisplayBufferMarker::getStartBufferPosition}.\n\nReturns a {Point}. " - } - }, - "146": { - "13": { - "name": "plantTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 146, - 13 - ], - [ - 150, - 1 - ] - ], - "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " - } - }, - "150": { - "13": { - "name": "clearTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 150, - 13 - ], - [ - 153, - 1 - ] - ], - "doc": "Private: Removes the tail from the marker. " - } - }, - "153": { - "11": { - "name": "hasTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 153, - 11 - ], - [ - 157, - 1 - ] - ], - "doc": "~Private~" - } - }, - "157": { - "14": { - "name": "isReversed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 157, - 14 - ], - [ - 162, - 1 - ] - ], - "doc": "Private: Returns whether the head precedes the tail in the buffer " - } - }, - "162": { - "11": { - "name": "isValid", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 11 - ], - [ - 169, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the marker is valid. Markers can be\ninvalidated when a region surrounding them in the buffer is changed. " - } - }, - "169": { - "15": { - "name": "isDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 169, - 15 - ], - [ - 172, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the marker has been destroyed. A marker\ncan be invalid without being destroyed, in which case undoing the invalidating\noperation would restore the marker. Once a marker is destroyed by calling\n{Marker::destroy}, no undo/redo operation can ever bring it back. " - } - }, - "172": { - "17": { - "name": "getAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 172, - 17 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "17": { - "name": "setAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 175, - 17 - ], - [ - 178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "178": { - "21": { - "name": "matchesAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 178, - 21 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 183, - 11 - ], - [ - 187, - 1 - ] - ], - "doc": "Private: Destroys the marker " - } - }, - "187": { - "11": { - "name": "isEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 187, - 11 - ], - [ - 191, - 1 - ] - ], - "doc": "~Private~" - } - }, - "191": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 191, - 11 - ], - [ - 195, - 1 - ] - ], - "doc": "~Private~" - } - }, - "195": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 195, - 11 - ], - [ - 198, - 1 - ] - ], - "doc": "Private: Returns a {String} representation of the marker " - } - }, - "198": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 198, - 13 - ], - [ - 202, - 1 - ] - ], - "doc": "~Private~" - } - }, - "202": { - "19": { - "name": "notifyObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 202, - 19 - ], - [ - 230, - 23 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "src/display-buffer.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "2": { - "7": { - "name": "guid", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "guid@0.0.10" - } - }, - "3": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@^1" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Model", - "exportsProperty": "Model" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Range", - "exportsProperty": "Range" - } - }, - "6": { - "18": { - "name": "TokenizedBuffer", - "type": "import", - "range": [ - [ - 6, - 18 - ], - [ - 6, - 45 - ] - ], - "bindingType": "variable", - "path": "./tokenized-buffer" - } - }, - "7": { - "9": { - "name": "RowMap", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 27 - ] - ], - "bindingType": "variable", - "path": "./row-map" - } - }, - "8": { - "7": { - "name": "Fold", - "type": "import", - "range": [ - [ - 8, - 7 - ], - [ - 8, - 22 - ] - ], - "bindingType": "variable", - "path": "./fold" - } - }, - "9": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 9, - 8 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "10": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "11": { - "22": { - "name": "DisplayBufferMarker", - "type": "import", - "range": [ - [ - 11, - 22 - ], - [ - 11, - 54 - ] - ], - "bindingType": "variable", - "path": "./display-buffer-marker" - } - }, - "13": { - "0": { - "type": "class", - "name": "BufferToScreenConversionError", - "superClass": "Error", - "classProperties": [], - "prototypeProperties": [ - [ - 14, - 15 - ] - ], - "doc": "~Private~", - "range": [ - [ - 13, - 0 - ], - [ - 17, - 0 - ] - ] - } - }, - "14": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 14, - 15 - ], - [ - 17, - 0 - ] - ] - } - }, - "19": { - "0": { - "type": "class", - "name": "DisplayBuffer", - "superClass": "Model", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 34, - 24 - ], - [ - 35, - 26 - ], - [ - 36, - 29 - ], - [ - 37, - 26 - ], - [ - 38, - 36 - ], - [ - 40, - 15 - ], - [ - 70, - 19 - ], - [ - 78, - 21 - ], - [ - 82, - 8 - ], - [ - 91, - 24 - ], - [ - 97, - 15 - ], - [ - 104, - 28 - ], - [ - 115, - 14 - ], - [ - 117, - 27 - ], - [ - 118, - 27 - ], - [ - 120, - 29 - ], - [ - 121, - 29 - ], - [ - 123, - 32 - ], - [ - 124, - 32 - ], - [ - 126, - 29 - ], - [ - 127, - 29 - ], - [ - 129, - 13 - ], - [ - 138, - 13 - ], - [ - 140, - 19 - ], - [ - 146, - 18 - ], - [ - 152, - 26 - ], - [ - 160, - 24 - ], - [ - 167, - 12 - ], - [ - 176, - 12 - ], - [ - 183, - 16 - ], - [ - 184, - 16 - ], - [ - 190, - 19 - ], - [ - 193, - 19 - ], - [ - 194, - 19 - ], - [ - 198, - 17 - ], - [ - 199, - 17 - ], - [ - 206, - 20 - ], - [ - 209, - 18 - ], - [ - 210, - 18 - ], - [ - 214, - 25 - ], - [ - 215, - 25 - ], - [ - 217, - 23 - ], - [ - 218, - 23 - ], - [ - 224, - 18 - ], - [ - 226, - 22 - ], - [ - 229, - 23 - ], - [ - 237, - 29 - ], - [ - 244, - 22 - ], - [ - 249, - 26 - ], - [ - 253, - 25 - ], - [ - 256, - 19 - ], - [ - 261, - 18 - ], - [ - 264, - 22 - ], - [ - 273, - 29 - ], - [ - 277, - 38 - ], - [ - 281, - 23 - ], - [ - 311, - 26 - ], - [ - 314, - 26 - ], - [ - 317, - 27 - ], - [ - 333, - 16 - ], - [ - 339, - 16 - ], - [ - 343, - 15 - ], - [ - 346, - 15 - ], - [ - 351, - 25 - ], - [ - 359, - 25 - ], - [ - 367, - 21 - ], - [ - 378, - 14 - ], - [ - 387, - 16 - ], - [ - 393, - 12 - ], - [ - 396, - 22 - ], - [ - 406, - 27 - ], - [ - 416, - 14 - ], - [ - 422, - 23 - ], - [ - 425, - 23 - ], - [ - 429, - 21 - ], - [ - 435, - 19 - ], - [ - 446, - 34 - ], - [ - 454, - 28 - ], - [ - 466, - 34 - ], - [ - 477, - 34 - ], - [ - 482, - 34 - ], - [ - 493, - 28 - ], - [ - 502, - 25 - ], - [ - 505, - 29 - ], - [ - 513, - 25 - ], - [ - 521, - 29 - ], - [ - 532, - 29 - ], - [ - 538, - 28 - ], - [ - 542, - 34 - ], - [ - 561, - 34 - ], - [ - 581, - 34 - ], - [ - 587, - 16 - ], - [ - 593, - 14 - ], - [ - 599, - 20 - ], - [ - 605, - 23 - ], - [ - 617, - 35 - ], - [ - 651, - 35 - ], - [ - 661, - 27 - ], - [ - 664, - 33 - ], - [ - 672, - 26 - ], - [ - 678, - 14 - ], - [ - 684, - 14 - ], - [ - 688, - 17 - ], - [ - 704, - 22 - ], - [ - 740, - 18 - ], - [ - 758, - 20 - ], - [ - 761, - 19 - ], - [ - 764, - 32 - ], - [ - 771, - 18 - ], - [ - 793, - 20 - ], - [ - 804, - 33 - ], - [ - 810, - 31 - ], - [ - 818, - 21 - ], - [ - 826, - 13 - ], - [ - 836, - 14 - ], - [ - 839, - 18 - ], - [ - 848, - 19 - ], - [ - 858, - 19 - ], - [ - 867, - 22 - ], - [ - 876, - 22 - ], - [ - 882, - 17 - ], - [ - 891, - 14 - ], - [ - 912, - 15 - ], - [ - 916, - 33 - ], - [ - 954, - 18 - ], - [ - 957, - 19 - ], - [ - 960, - 27 - ], - [ - 963, - 24 - ], - [ - 966, - 25 - ], - [ - 970, - 32 - ], - [ - 974, - 13 - ], - [ - 979, - 12 - ], - [ - 984, - 31 - ], - [ - 989, - 21 - ], - [ - 1015, - 20 - ], - [ - 1061, - 21 - ], - [ - 1083, - 22 - ], - [ - 1088, - 30 - ], - [ - 1093, - 29 - ], - [ - 1097, - 23 - ], - [ - 1101, - 17 - ] - ], - "doc": "~Private~", - "range": [ - [ - 19, - 0 - ], - [ - 1102, - 31 - ] - ] - } - }, - "34": { - "24": { - "name": "verticalScrollMargin", - "type": "primitive", - "range": [ - [ - 34, - 24 - ], - [ - 34, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "35": { - "26": { - "name": "horizontalScrollMargin", - "type": "primitive", - "range": [ - [ - 35, - 26 - ], - [ - 35, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "36": { - "29": { - "name": "horizontalScrollbarHeight", - "type": "primitive", - "range": [ - [ - 36, - 29 - ], - [ - 36, - 30 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "37": { - "26": { - "name": "verticalScrollbarWidth", - "type": "primitive", - "range": [ - [ - 37, - 26 - ], - [ - 37, - 27 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "38": { - "36": { - "name": "scopedCharacterWidthsChangeCount", - "type": "primitive", - "range": [ - [ - 38, - 36 - ], - [ - 38, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "40": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 40, - 15 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 70, - 19 - ], - [ - 78, - 1 - ] - ], - "doc": "~Private~" - } - }, - "78": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 78, - 21 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 8 - ], - [ - 91, - 1 - ] - ], - "doc": "~Private~" - } - }, - "91": { - "24": { - "name": "updateAllScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 24 - ], - [ - 97, - 1 - ] - ], - "doc": "~Private~" - } - }, - "97": { - "15": { - "name": "emitChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventProperties", - "refreshMarkers" - ], - "range": [ - [ - 97, - 15 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "28": { - "name": "updateWrappedScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 28 - ], - [ - 115, - 1 - ] - ], - "doc": "~Private~" - } - }, - "115": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 115, - 14 - ], - [ - 115, - 62 - ] - ], - "doc": " Private: Sets the visibility of the tokenized buffer.\n\nvisible - A {Boolean} indicating of the tokenized buffer is shown " - } - }, - "117": { - "27": { - "name": "getVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 27 - ], - [ - 117, - 50 - ] - ], - "doc": "~Private~" - } - }, - "118": { - "27": { - "name": "setVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 118, - 27 - ], - [ - 118, - 74 - ] - ] - } - }, - "120": { - "29": { - "name": "getHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 120, - 29 - ], - [ - 120, - 54 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "29": { - "name": "setHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 121, - 29 - ], - [ - 121, - 80 - ] - ] - } - }, - "123": { - "32": { - "name": "getHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 123, - 32 - ], - [ - 123, - 60 - ] - ], - "doc": "~Private~" - } - }, - "124": { - "32": { - "name": "setHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 124, - 32 - ], - [ - 124, - 89 - ] - ] - } - }, - "126": { - "29": { - "name": "getVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 29 - ], - [ - 126, - 54 - ] - ], - "doc": "~Private~" - } - }, - "127": { - "29": { - "name": "setVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 127, - 29 - ], - [ - 127, - 80 - ] - ] - } - }, - "129": { - "13": { - "name": "getHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 129, - 13 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "13": { - "name": "setHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 138, - 13 - ], - [ - 138, - 32 - ] - ], - "doc": "~Private~" - } - }, - "140": { - "19": { - "name": "getClientHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 140, - 19 - ], - [ - 146, - 1 - ] - ], - "doc": "~Private~" - } - }, - "146": { - "18": { - "name": "getClientWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 146, - 18 - ], - [ - 152, - 1 - ] - ], - "doc": "~Private~" - } - }, - "152": { - "26": { - "name": "horizontallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 152, - 26 - ], - [ - 160, - 1 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "24": { - "name": "verticallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reentrant" - ], - "range": [ - [ - 160, - 24 - ], - [ - 167, - 1 - ] - ], - "doc": "~Private~" - } - }, - "167": { - "12": { - "name": "getWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 167, - 12 - ], - [ - 176, - 1 - ] - ], - "doc": "~Private~" - } - }, - "176": { - "12": { - "name": "setWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "newWidth" - ], - "range": [ - [ - 176, - 12 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "16": { - "name": "getScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 183, - 16 - ], - [ - 183, - 28 - ] - ], - "doc": "~Private~" - } - }, - "184": { - "16": { - "name": "setScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 184, - 16 - ], - [ - 190, - 1 - ] - ] - } - }, - "190": { - "19": { - "name": "getMaxScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 19 - ], - [ - 193, - 1 - ] - ], - "doc": "~Private~" - } - }, - "193": { - "19": { - "name": "getScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 193, - 19 - ], - [ - 193, - 41 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "19": { - "name": "setScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 194, - 19 - ], - [ - 198, - 1 - ] - ] - } - }, - "198": { - "17": { - "name": "getScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 198, - 17 - ], - [ - 198, - 30 - ] - ], - "doc": "~Private~" - } - }, - "199": { - "17": { - "name": "setScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 199, - 17 - ], - [ - 206, - 1 - ] - ] - } - }, - "206": { - "20": { - "name": "getMaxScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 206, - 20 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "18": { - "name": "getScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 209, - 18 - ], - [ - 209, - 40 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "18": { - "name": "setScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 210, - 18 - ], - [ - 214, - 1 - ] - ] - } - }, - "214": { - "25": { - "name": "getLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 214, - 25 - ], - [ - 214, - 46 - ] - ], - "doc": "~Private~" - } - }, - "215": { - "25": { - "name": "setLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 215, - 25 - ], - [ - 215, - 68 - ] - ] - } - }, - "217": { - "23": { - "name": "getDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 217, - 23 - ], - [ - 217, - 42 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "23": { - "name": "setDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultCharWidth" - ], - "range": [ - [ - 218, - 23 - ], - [ - 224, - 1 - ] - ] - } - }, - "224": { - "18": { - "name": "getCursorWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 18 - ], - [ - 224, - 21 - ] - ], - "doc": "~Private~" - } - }, - "226": { - "22": { - "name": "getScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char" - ], - "range": [ - [ - 226, - 22 - ], - [ - 229, - 1 - ] - ], - "doc": "~Private~" - } - }, - "229": { - "23": { - "name": "getScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames" - ], - "range": [ - [ - 229, - 23 - ], - [ - 237, - 1 - ] - ], - "doc": "~Private~" - } - }, - "237": { - "29": { - "name": "batchCharacterMeasurement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 237, - 29 - ], - [ - 244, - 1 - ] - ], - "doc": "~Private~" - } - }, - "244": { - "22": { - "name": "setScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char", - "width" - ], - "range": [ - [ - 244, - 22 - ], - [ - 249, - 1 - ] - ], - "doc": "~Private~" - } - }, - "249": { - "26": { - "name": "characterWidthsChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 249, - 26 - ], - [ - 253, - 1 - ] - ], - "doc": "~Private~" - } - }, - "253": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 253, - 25 - ], - [ - 256, - 1 - ] - ], - "doc": "~Private~" - } - }, - "256": { - "19": { - "name": "getScrollHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 256, - 19 - ], - [ - 261, - 1 - ] - ], - "doc": "~Private~" - } - }, - "261": { - "18": { - "name": "getScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 18 - ], - [ - 264, - 1 - ] - ], - "doc": "~Private~" - } - }, - "264": { - "22": { - "name": "getVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 264, - 22 - ], - [ - 273, - 1 - ] - ], - "doc": "~Private~" - } - }, - "273": { - "29": { - "name": "intersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 273, - 29 - ], - [ - 277, - 1 - ] - ], - "doc": "~Private~" - } - }, - "277": { - "38": { - "name": "selectionIntersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 277, - 38 - ], - [ - 281, - 1 - ] - ], - "doc": "~Private~" - } - }, - "281": { - "23": { - "name": "scrollToScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 281, - 23 - ], - [ - 311, - 1 - ] - ], - "doc": "~Private~" - } - }, - "311": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 311, - 26 - ], - [ - 314, - 1 - ] - ], - "doc": "~Private~" - } - }, - "314": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 314, - 26 - ], - [ - 317, - 1 - ] - ], - "doc": "~Private~" - } - }, - "317": { - "27": { - "name": "pixelRectForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 317, - 27 - ], - [ - 333, - 1 - ] - ], - "doc": "~Private~" - } - }, - "333": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 333, - 16 - ], - [ - 339, - 1 - ] - ], - "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " - } - }, - "339": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 339, - 16 - ], - [ - 343, - 1 - ] - ], - "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " - } - }, - "343": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 343, - 15 - ], - [ - 343, - 38 - ] - ], - "doc": "Deprecated: Use the softWrap property directly " - } - }, - "346": { - "15": { - "name": "getSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 15 - ], - [ - 346, - 26 - ] - ], - "doc": "Deprecated: Use the softWrap property directly " - } - }, - "351": { - "25": { - "name": "setEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorWidthInChars" - ], - "range": [ - [ - 351, - 25 - ], - [ - 359, - 1 - ] - ], - "doc": " Private: Set the number of characters that fit horizontally in the editor.\n\neditorWidthInChars - A {Number} of characters. " - } - }, - "359": { - "25": { - "name": "getEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 359, - 25 - ], - [ - 367, - 1 - ] - ], - "doc": "Private: Returns the editor width in characters for soft wrap. " - } - }, - "367": { - "21": { - "name": "getSoftWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 367, - 21 - ], - [ - 378, - 1 - ] - ], - "doc": "~Private~" - } - }, - "378": { - "14": { - "name": "lineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 378, - 14 - ], - [ - 387, - 1 - ] - ], - "doc": " Private: Gets the screen line for the given screen row.\n\nscreenRow - A {Number} indicating the screen row.\n\nReturns a {ScreenLine}. " - } - }, - "387": { - "16": { - "name": "linesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 387, - 16 - ], - [ - 393, - 1 - ] - ], - "doc": " Private: Gets the screen lines for the given screen row range.\n\nstartRow - A {Number} indicating the beginning screen row.\nendRow - A {Number} indicating the ending screen row.\n\nReturns an {Array} of {ScreenLine}s. " - } - }, - "393": { - "12": { - "name": "getLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 393, - 12 - ], - [ - 396, - 1 - ] - ], - "doc": " Private: Gets all the screen lines.\n\nReturns an {Array} of {ScreenLines}s. " - } - }, - "396": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 396, - 22 - ], - [ - 406, - 1 - ] - ], - "doc": "~Private~" - } - }, - "406": { - "27": { - "name": "bufferRowsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 406, - 27 - ], - [ - 416, - 1 - ] - ], - "doc": " Private: Given starting and ending screen rows, this returns an array of the\nbuffer rows corresponding to every screen row in the range\n\nstartScreenRow - The screen row {Number} to start at\nendScreenRow - The screen row {Number} to end at (default: the last screen row)\n\nReturns an {Array} of buffer rows as {Numbers}s. " - } - }, - "416": { - "14": { - "name": "createFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 416, - 14 - ], - [ - 422, - 1 - ] - ], - "doc": " Private: Creates a new fold between two row numbers.\n\nstartRow - The row {Number} to start folding at\nendRow - The row {Number} to end the fold\n\nReturns the new {Fold}. " - } - }, - "422": { - "23": { - "name": "isFoldedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 422, - 23 - ], - [ - 425, - 1 - ] - ], - "doc": "~Private~" - } - }, - "425": { - "23": { - "name": "isFoldedAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 425, - 23 - ], - [ - 429, - 1 - ] - ], - "doc": "~Private~" - } - }, - "429": { - "21": { - "name": "destroyFoldWithId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 429, - 21 - ], - [ - 435, - 1 - ] - ], - "doc": "Private: Destroys the fold with the given id " - } - }, - "435": { - "19": { - "name": "unfoldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 435, - 19 - ], - [ - 446, - 1 - ] - ], - "doc": " Private: Removes any folds found that contain the given buffer row.\n\nbufferRow - The buffer row {Number} to check against " - } - }, - "446": { - "34": { - "name": "largestFoldStartingAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 446, - 34 - ], - [ - 454, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold} or null if none exists. " - } - }, - "454": { - "28": { - "name": "foldsStartingAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 454, - 28 - ], - [ - 466, - 1 - ] - ], - "doc": " Public: Given a buffer row, this returns all folds that start there.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " - } - }, - "466": { - "34": { - "name": "largestFoldStartingAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 466, - 34 - ], - [ - 477, - 1 - ] - ], - "doc": " Private: Given a screen row, this returns the largest fold that starts there.\n\nLargest is defined as the fold whose difference between its start and end points\nare the greatest.\n\nscreenRow - A {Number} indicating the screen row\n\nReturns a {Fold}. " - } - }, - "477": { - "34": { - "name": "largestFoldContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 477, - 34 - ], - [ - 482, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns the largest fold that includes it.\n\nLargest is defined as the fold whose difference between its start and end rows\nis the greatest.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Fold}. " - } - }, - "482": { - "34": { - "name": "outermostFoldsInBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 482, - 34 - ], - [ - 493, - 1 - ] - ], - "doc": " Private: Returns the folds in the given row range (exclusive of end row) that are\nnot contained by any other folds. " - } - }, - "493": { - "28": { - "name": "foldsContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 493, - 28 - ], - [ - 502, - 1 - ] - ], - "doc": " Public: Given a buffer row, this returns folds that include it.\n\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of {Fold}s. " - } - }, - "502": { - "25": { - "name": "screenRowForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 502, - 25 - ], - [ - 505, - 1 - ] - ], - "doc": " Private: Given a buffer row, this converts it into a screen row.\n\nbufferRow - A {Number} representing a buffer row\n\nReturns a {Number}. " - } - }, - "505": { - "29": { - "name": "lastScreenRowForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 505, - 29 - ], - [ - 513, - 1 - ] - ], - "doc": "~Private~" - } - }, - "513": { - "25": { - "name": "bufferRowForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 513, - 25 - ], - [ - 521, - 1 - ] - ], - "doc": " Private: Given a screen row, this converts it into a buffer row.\n\nscreenRow - A {Number} representing a screen row\n\nReturns a {Number}. " - } - }, - "521": { - "29": { - "name": "screenRangeForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 521, - 29 - ], - [ - 532, - 1 - ] - ], - "doc": " Private: Given a buffer range, this converts it into a screen position.\n\nbufferRange - The {Range} to convert\n\nReturns a {Range}. " - } - }, - "532": { - "29": { - "name": "bufferRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 532, - 29 - ], - [ - 538, - 1 - ] - ], - "doc": " Private: Given a screen range, this converts it into a buffer position.\n\nscreenRange - The {Range} to convert\n\nReturns a {Range}. " - } - }, - "538": { - "28": { - "name": "pixelRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "clip" - ], - "range": [ - [ - 538, - 28 - ], - [ - 542, - 1 - ] - ], - "doc": "~Private~" - } - }, - "542": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "clip" - ], - "range": [ - [ - 542, - 34 - ], - [ - 561, - 1 - ] - ], - "doc": "~Private~" - } - }, - "561": { - "34": { - "name": "screenPositionForPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 561, - 34 - ], - [ - 581, - 1 - ] - ], - "doc": "~Private~" - } - }, - "581": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 581, - 34 - ], - [ - 587, - 1 - ] - ], - "doc": "~Private~" - } - }, - "587": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 587, - 16 - ], - [ - 593, - 1 - ] - ], - "doc": " Private: Gets the number of screen lines.\n\nReturns a {Number}. " - } - }, - "593": { - "14": { - "name": "getLastRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 593, - 14 - ], - [ - 599, - 1 - ] - ], - "doc": " Private: Gets the number of the last screen line.\n\nReturns a {Number}. " - } - }, - "599": { - "20": { - "name": "getMaxLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 599, - 20 - ], - [ - 605, - 1 - ] - ], - "doc": " Private: Gets the length of the longest screen line.\n\nReturns a {Number}. " - } - }, - "605": { - "23": { - "name": "getLongestScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 605, - 23 - ], - [ - 617, - 1 - ] - ], - "doc": " Private: Gets the row number of the longest screen line.\n\nReturn a {} " - } - }, - "617": { - "35": { - "name": "screenPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 617, - 35 - ], - [ - 651, - 1 - ] - ], - "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " - } - }, - "651": { - "35": { - "name": "bufferPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 651, - 35 - ], - [ - 661, - 1 - ] - ], - "doc": " Private: Given a buffer position, this converts it into a screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash of options with the following keys:\n wrapBeyondNewlines:\n wrapAtSoftNewlines:\n\nReturns a {Point}. " - } - }, - "661": { - "27": { - "name": "scopesForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 661, - 27 - ], - [ - 664, - 1 - ] - ], - "doc": " Private: Retrieves the grammar's token scopes for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}\n\nReturns an {Array} of {String}s. " - } - }, - "664": { - "33": { - "name": "bufferRangeForScopeAtPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "position" - ], - "range": [ - [ - 664, - 33 - ], - [ - 672, - 1 - ] - ], - "doc": "~Private~" - } - }, - "672": { - "26": { - "name": "tokenForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 672, - 26 - ], - [ - 678, - 1 - ] - ], - "doc": " Private: Retrieves the grammar's token for a buffer position.\n\nbufferPosition - A {Point} in the {TextBuffer}.\n\nReturns a {Token}. " - } - }, - "678": { - "14": { - "name": "getGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 678, - 14 - ], - [ - 684, - 1 - ] - ], - "doc": " Private: Get the grammar for this buffer.\n\nReturns the current {Grammar} or the {NullGrammar}. " - } - }, - "684": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 684, - 14 - ], - [ - 688, - 1 - ] - ], - "doc": " Private: Sets the grammar for the buffer.\n\ngrammar - Sets the new grammar rules " - } - }, - "688": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 688, - 17 - ], - [ - 704, - 1 - ] - ], - "doc": "Private: Reloads the current grammar. " - } - }, - "704": { - "22": { - "name": "clipScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 704, - 22 - ], - [ - 740, - 1 - ] - ], - "doc": " Private: Given a position, this clips it to a real position.\n\nFor example, if `position`'s row exceeds the row count of the buffer,\nor if its column goes beyond a line's length, this \"sanitizes\" the value\nto a real position.\n\nposition - The {Point} to clip\noptions - A hash with the following values:\n wrapBeyondNewlines: if `true`, continues wrapping past newlines\n wrapAtSoftNewlines: if `true`, continues wrapping past soft newlines\n screenLine: if `true`, indicates that you're using a line number, not a row number\n\nReturns the new, clipped {Point}. Note that this could be the same as `position` if no clipping was performed. " - } - }, - "740": { - "18": { - "name": "findWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line", - "softWrapColumn" - ], - "range": [ - [ - 740, - 18 - ], - [ - 758, - 1 - ] - ], - "doc": " Private: Given a line, finds the point where it would wrap.\n\nline - The {String} to check\nsoftWrapColumn - The {Number} where you want soft wrapping to occur\n\nReturns a {Number} representing the `line` position where the wrap would take place.\nReturns `null` if a wrap wouldn't occur. " - } - }, - "758": { - "20": { - "name": "rangeForAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 758, - 20 - ], - [ - 761, - 1 - ] - ], - "doc": " Private: Calculates a {Range} representing the start of the {TextBuffer} until the end.\n\nReturns a {Range}. " - } - }, - "761": { - "19": { - "name": "decorationForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 761, - 19 - ], - [ - 764, - 1 - ] - ], - "doc": "~Private~" - } - }, - "764": { - "32": { - "name": "decorationsForScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 764, - 32 - ], - [ - 771, - 1 - ] - ], - "doc": "~Private~" - } - }, - "771": { - "18": { - "name": "decorateMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "decorationParams" - ], - "range": [ - [ - 771, - 18 - ], - [ - 793, - 1 - ] - ], - "doc": "~Private~" - } - }, - "793": { - "20": { - "name": "removeDecoration", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decoration" - ], - "range": [ - [ - 793, - 20 - ], - [ - 804, - 1 - ] - ], - "doc": "~Private~" - } - }, - "804": { - "33": { - "name": "removeAllDecorationsForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 804, - 33 - ], - [ - 810, - 1 - ] - ], - "doc": "~Private~" - } - }, - "810": { - "31": { - "name": "removedAllMarkerDecorations", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 810, - 31 - ], - [ - 818, - 1 - ] - ], - "doc": "~Private~" - } - }, - "818": { - "21": { - "name": "decorationUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "decoration" - ], - "range": [ - [ - 818, - 21 - ], - [ - 826, - 1 - ] - ], - "doc": "~Private~" - } - }, - "826": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 826, - 13 - ], - [ - 836, - 1 - ] - ], - "doc": " Private: Retrieves a {DisplayBufferMarker} based on its id.\n\nid - A {Number} representing a marker id\n\nReturns the {DisplayBufferMarker} (if it exists). " - } - }, - "836": { - "14": { - "name": "getMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 836, - 14 - ], - [ - 839, - 1 - ] - ], - "doc": " Private: Retrieves the active markers in the buffer.\n\nReturns an {Array} of existing {DisplayBufferMarker}s. " - } - }, - "839": { - "18": { - "name": "getMarkerCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 839, - 18 - ], - [ - 848, - 1 - ] - ], - "doc": "~Private~" - } - }, - "848": { - "19": { - "name": "markScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 848, - 19 - ], - [ - 858, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given screen range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "858": { - "19": { - "name": "markBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range", - "options" - ], - "range": [ - [ - 858, - 19 - ], - [ - 867, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given buffer range.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "867": { - "22": { - "name": "markScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 867, - 22 - ], - [ - 876, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given screen position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "876": { - "22": { - "name": "markBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 876, - 22 - ], - [ - 882, - 1 - ] - ], - "doc": " Public: Constructs a new marker at the given buffer position.\n\nrange - The marker {Range} (representing the distance between the head and tail)\noptions - Options to pass to the {Marker} constructor\n\nReturns a {Number} representing the new marker's ID. " - } - }, - "882": { - "17": { - "name": "destroyMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 882, - 17 - ], - [ - 891, - 1 - ] - ], - "doc": " Public: Removes the marker with the given id.\n\nid - The {Number} of the ID to remove " - } - }, - "891": { - "14": { - "name": "findMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 891, - 14 - ], - [ - 912, - 1 - ] - ], - "doc": " Private: Finds the first marker satisfying the given attributes\n\nRefer to {DisplayBuffer::findMarkers} for details.\n\nReturns a {DisplayBufferMarker} or null " - } - }, - "912": { - "15": { - "name": "findMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 912, - 15 - ], - [ - 916, - 1 - ] - ], - "doc": " Public: Find all markers satisfying a set of parameters.\n\nparams - An {Object} containing parameters that all returned markers must\n satisfy. Unreserved keys will be compared against the markers' custom\n properties. There are also the following reserved keys with special\n meaning for the query:\n :startBufferRow - A {Number}. Only returns markers starting at this row in\n buffer coordinates.\n :endBufferRow - A {Number}. Only returns markers ending at this row in\n buffer coordinates.\n :containsBufferRange - A {Range} or range-compatible {Array}. Only returns\n markers containing this range in buffer coordinates.\n :containsBufferPosition - A {Point} or point-compatible {Array}. Only\n returns markers containing this position in buffer coordinates.\n :containedInBufferRange - A {Range} or range-compatible {Array}. Only\n returns markers contained within this range.\n\nReturns an {Array} of {DisplayBufferMarker}s " - } - }, - "916": { - "33": { - "name": "translateToBufferMarkerParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 916, - 33 - ], - [ - 954, - 1 - ] - ], - "doc": "~Private~" - } - }, - "954": { - "18": { - "name": "findFoldMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 954, - 18 - ], - [ - 957, - 1 - ] - ], - "doc": "~Private~" - } - }, - "957": { - "19": { - "name": "findFoldMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 957, - 19 - ], - [ - 960, - 1 - ] - ], - "doc": "~Private~" - } - }, - "960": { - "27": { - "name": "getFoldMarkerAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "attributes" - ], - "range": [ - [ - 960, - 27 - ], - [ - 963, - 1 - ] - ], - "doc": "~Private~" - } - }, - "963": { - "24": { - "name": "pauseMarkerObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 963, - 24 - ], - [ - 966, - 1 - ] - ], - "doc": "~Private~" - } - }, - "966": { - "25": { - "name": "resumeMarkerObservers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 966, - 25 - ], - [ - 970, - 1 - ] - ], - "doc": "~Private~" - } - }, - "970": { - "32": { - "name": "refreshMarkerScreenPositions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 970, - 32 - ], - [ - 974, - 1 - ] - ], - "doc": "~Private~" - } - }, - "974": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 974, - 13 - ], - [ - 979, - 1 - ] - ], - "doc": "~Private~" - } - }, - "979": { - "12": { - "name": "logLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 979, - 12 - ], - [ - 984, - 1 - ] - ], - "doc": "~Private~" - } - }, - "984": { - "31": { - "name": "handleTokenizedBufferChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tokenizedBufferChange" - ], - "range": [ - [ - 984, - 31 - ], - [ - 989, - 1 - ] - ], - "doc": "~Private~" - } - }, - "989": { - "21": { - "name": "updateScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "endBufferRow", - "bufferDelta", - "options" - ], - "range": [ - [ - 989, - 21 - ], - [ - 1015, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1015": { - "20": { - "name": "buildScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "endBufferRow" - ], - "range": [ - [ - 1015, - 20 - ], - [ - 1061, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1061": { - "21": { - "name": "findMaxLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow", - "newScreenLines", - "screenDelta" - ], - "range": [ - [ - 1061, - 21 - ], - [ - 1083, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1083": { - "22": { - "name": "computeScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1083, - 22 - ], - [ - 1088, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1088": { - "30": { - "name": "handleBufferMarkersUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1088, - 30 - ], - [ - 1093, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1093": { - "29": { - "name": "handleBufferMarkerCreated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1093, - 29 - ], - [ - 1097, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1097": { - "23": { - "name": "createFoldForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1097, - 23 - ], - [ - 1101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1101": { - "17": { - "name": "foldForMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1101, - 17 - ], - [ - 1102, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 19 - }, - "src/editor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "10": { - "type": "import", - "range": [ - [ - 0, - 10 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$$", - "exportsProperty": "$$$" - } - }, - "1": { - "13": { - "name": "GutterView", - "type": "import", - "range": [ - [ - 1, - 13 - ], - [ - 1, - 35 - ] - ], - "bindingType": "variable", - "path": "./gutter-view" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Range", - "exportsProperty": "Range" - } - }, - "3": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 3, - 9 - ], - [ - 3, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "4": { - "13": { - "name": "CursorView", - "type": "import", - "range": [ - [ - 4, - 13 - ], - [ - 4, - 35 - ] - ], - "bindingType": "variable", - "path": "./cursor-view" - } - }, - "5": { - "16": { - "name": "SelectionView", - "type": "import", - "range": [ - [ - 5, - 16 - ], - [ - 5, - 41 - ] - ], - "bindingType": "variable", - "path": "./selection-view" - } - }, - "6": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 6, - 5 - ], - [ - 6, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "7": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "8": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 8, - 13 - ], - [ - 8, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0" - } - }, - "10": { - "15": { - "name": "MeasureRange", - "type": "function", - "range": [ - [ - 10, - 15 - ], - [ - 10, - 36 - ] - ] - } - }, - "11": { - "17": { - "type": "primitive", - "range": [ - [ - 11, - 17 - ], - [ - 11, - 59 - ] - ] - }, - "31": { - "name": "acceptNode", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 11, - 31 - ], - [ - 11, - 57 - ] - ], - "doc": null - } - }, - "12": { - "10": { - "type": "primitive", - "range": [ - [ - 12, - 10 - ], - [ - 12, - 21 - ] - ] - } - }, - "13": { - "17": { - "name": "1000", - "type": "primitive", - "range": [ - [ - 13, - 17 - ], - [ - 13, - 20 - ] - ] - } - }, - "41": { - "0": { - "type": "class", - "name": "EditorView", - "superClass": "View", - "bindingType": "exports", - "classProperties": [ - [ - 42, - 24 - ], - [ - 44, - 4 - ], - [ - 61, - 17 - ], - [ - 63, - 12 - ], - [ - 76, - 12 - ], - [ - 1271, - 21 - ], - [ - 1485, - 18 - ], - [ - 1513, - 21 - ], - [ - 1529, - 14 - ], - [ - 1533, - 13 - ], - [ - 1537, - 23 - ] - ], - "prototypeProperties": [ - [ - 81, - 17 - ], - [ - 82, - 17 - ], - [ - 83, - 14 - ], - [ - 84, - 13 - ], - [ - 85, - 14 - ], - [ - 86, - 15 - ], - [ - 87, - 18 - ], - [ - 88, - 13 - ], - [ - 89, - 13 - ], - [ - 90, - 10 - ], - [ - 91, - 12 - ], - [ - 92, - 16 - ], - [ - 93, - 18 - ], - [ - 94, - 14 - ], - [ - 95, - 17 - ], - [ - 96, - 20 - ], - [ - 97, - 24 - ], - [ - 106, - 14 - ], - [ - 141, - 12 - ], - [ - 251, - 13 - ], - [ - 255, - 11 - ], - [ - 259, - 11 - ], - [ - 263, - 14 - ], - [ - 266, - 20 - ], - [ - 271, - 19 - ], - [ - 277, - 12 - ], - [ - 284, - 10 - ], - [ - 292, - 15 - ], - [ - 298, - 21 - ], - [ - 310, - 17 - ], - [ - 322, - 22 - ], - [ - 332, - 22 - ], - [ - 337, - 22 - ], - [ - 341, - 16 - ], - [ - 345, - 13 - ], - [ - 354, - 16 - ], - [ - 436, - 21 - ], - [ - 476, - 28 - ], - [ - 479, - 33 - ], - [ - 505, - 15 - ], - [ - 538, - 8 - ], - [ - 586, - 12 - ], - [ - 589, - 12 - ], - [ - 592, - 27 - ], - [ - 600, - 13 - ], - [ - 618, - 16 - ], - [ - 624, - 14 - ], - [ - 631, - 15 - ], - [ - 639, - 18 - ], - [ - 646, - 26 - ], - [ - 654, - 26 - ], - [ - 662, - 26 - ], - [ - 673, - 25 - ], - [ - 684, - 39 - ], - [ - 696, - 31 - ], - [ - 702, - 18 - ], - [ - 706, - 18 - ], - [ - 710, - 25 - ], - [ - 713, - 26 - ], - [ - 716, - 21 - ], - [ - 723, - 15 - ], - [ - 733, - 15 - ], - [ - 746, - 15 - ], - [ - 752, - 17 - ], - [ - 762, - 17 - ], - [ - 770, - 17 - ], - [ - 776, - 10 - ], - [ - 786, - 13 - ], - [ - 791, - 14 - ], - [ - 796, - 11 - ], - [ - 801, - 13 - ], - [ - 808, - 11 - ], - [ - 811, - 10 - ], - [ - 816, - 16 - ], - [ - 823, - 17 - ], - [ - 827, - 18 - ], - [ - 830, - 17 - ], - [ - 836, - 20 - ], - [ - 839, - 20 - ], - [ - 843, - 21 - ], - [ - 846, - 20 - ], - [ - 852, - 23 - ], - [ - 855, - 36 - ], - [ - 859, - 21 - ], - [ - 863, - 20 - ], - [ - 884, - 22 - ], - [ - 900, - 23 - ], - [ - 912, - 25 - ], - [ - 924, - 25 - ], - [ - 943, - 12 - ], - [ - 950, - 22 - ], - [ - 955, - 16 - ], - [ - 970, - 24 - ], - [ - 978, - 17 - ], - [ - 994, - 21 - ], - [ - 1006, - 22 - ], - [ - 1012, - 24 - ], - [ - 1023, - 25 - ], - [ - 1031, - 24 - ], - [ - 1034, - 14 - ], - [ - 1046, - 25 - ], - [ - 1057, - 23 - ], - [ - 1084, - 38 - ], - [ - 1102, - 23 - ], - [ - 1144, - 24 - ], - [ - 1158, - 20 - ], - [ - 1173, - 13 - ], - [ - 1178, - 19 - ], - [ - 1201, - 32 - ], - [ - 1214, - 28 - ], - [ - 1223, - 27 - ], - [ - 1234, - 22 - ], - [ - 1237, - 27 - ], - [ - 1241, - 32 - ], - [ - 1244, - 34 - ], - [ - 1249, - 21 - ], - [ - 1256, - 21 - ], - [ - 1298, - 32 - ], - [ - 1304, - 26 - ], - [ - 1313, - 27 - ], - [ - 1316, - 33 - ], - [ - 1325, - 34 - ], - [ - 1334, - 34 - ], - [ - 1348, - 32 - ], - [ - 1371, - 19 - ], - [ - 1416, - 26 - ], - [ - 1424, - 26 - ], - [ - 1432, - 28 - ], - [ - 1435, - 32 - ], - [ - 1440, - 32 - ], - [ - 1470, - 23 - ], - [ - 1481, - 23 - ], - [ - 1563, - 23 - ], - [ - 1573, - 25 - ], - [ - 1575, - 18 - ], - [ - 1578, - 18 - ], - [ - 1581, - 20 - ] - ], - "doc": " Public: Represents the entire visual pane in Atom.\n\nThe EditorView manages the {Editor}, which manages the file buffers.\n\n## Requiring in packages\n\n```coffee\n{EditorView} = require 'atom'\n\nminiEditorView = new EditorView(mini: true)\n```\n\n## Iterating over the open editor views\n\n```coffee\nfor editorView in atom.workspaceView.getEditorViews()\n console.log(editorView.getEditor().getPath())\n```\n\n## Subscribing to every current and future editor\n\n```coffee\natom.workspace.eachEditorView (editorView) ->\n console.log(editorView.getEditor().getPath())\n``` ", - "range": [ - [ - 41, - 0 - ], - [ - 1583, - 35 - ] - ] - } - }, - "42": { - "24": { - "name": "characterWidthCache", - "type": "primitive", - "range": [ - [ - 42, - 24 - ], - [ - 42, - 25 - ] - ], - "bindingType": "classProperty" - } - }, - "44": { - "4": { - "name": "configDefaults", - "type": "primitive", - "range": [ - [ - 44, - 4 - ], - [ - 59, - 32 - ] - ], - "bindingType": "classProperty" - } - }, - "61": { - "17": { - "name": "nextEditorId", - "type": "primitive", - "range": [ - [ - 61, - 17 - ], - [ - 61, - 17 - ] - ], - "bindingType": "classProperty" - } - }, - "63": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 63, - 12 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "12": { - "name": "classes", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 76, - 12 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "17": { - "name": "vScrollMargin", - "type": "primitive", - "range": [ - [ - 81, - 17 - ], - [ - 81, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "82": { - "17": { - "name": "hScrollMargin", - "type": "primitive", - "range": [ - [ - 82, - 17 - ], - [ - 82, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "83": { - "14": { - "name": "lineHeight", - "type": "primitive", - "range": [ - [ - 83, - 14 - ], - [ - 83, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "84": { - "13": { - "name": "charWidth", - "type": "primitive", - "range": [ - [ - 84, - 13 - ], - [ - 84, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "85": { - "14": { - "name": "charHeight", - "type": "primitive", - "range": [ - [ - 85, - 14 - ], - [ - 85, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "86": { - "15": { - "name": "cursorViews", - "type": "primitive", - "range": [ - [ - 86, - 15 - ], - [ - 86, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "87": { - "18": { - "name": "selectionViews", - "type": "primitive", - "range": [ - [ - 87, - 18 - ], - [ - 87, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "88": { - "13": { - "name": "lineCache", - "type": "primitive", - "range": [ - [ - 88, - 13 - ], - [ - 88, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "89": { - "13": { - "name": "isFocused", - "type": "primitive", - "range": [ - [ - 89, - 13 - ], - [ - 89, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "90": { - "10": { - "name": "editor", - "type": "primitive", - "range": [ - [ - 90, - 10 - ], - [ - 90, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "91": { - "12": { - "name": "attached", - "type": "primitive", - "range": [ - [ - 91, - 12 - ], - [ - 91, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "92": { - "16": { - "name": "lineOverdraw", - "type": "primitive", - "range": [ - [ - 92, - 16 - ], - [ - 92, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "93": { - "18": { - "name": "pendingChanges", - "type": "primitive", - "range": [ - [ - 93, - 18 - ], - [ - 93, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "94": { - "14": { - "name": "newCursors", - "type": "primitive", - "range": [ - [ - 94, - 14 - ], - [ - 94, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "95": { - "17": { - "name": "newSelections", - "type": "primitive", - "range": [ - [ - 95, - 17 - ], - [ - 95, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "96": { - "20": { - "name": "redrawOnReattach", - "type": "primitive", - "range": [ - [ - 96, - 20 - ], - [ - 96, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "97": { - "24": { - "name": "bottomPaddingInLines", - "type": "primitive", - "range": [ - [ - 97, - 24 - ], - [ - 97, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "106": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorOrOptions" - ], - "range": [ - [ - 106, - 14 - ], - [ - 141, - 1 - ] - ], - "doc": " Private: The constructor for setting up an `EditorView` instance.\n\neditorOrOptions - Either an {Editor}, or an object with one property, `mini`.\n If `mini` is `true`, a \"miniature\" `Editor` is constructed.\n Typically, this is ideal for scenarios where you need an Atom editor,\n but without all the chrome, like scrollbars, gutter, _e.t.c._.\n\n " - } - }, - "141": { - "12": { - "name": "bindKeys", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 12 - ], - [ - 251, - 1 - ] - ], - "doc": " Private: Sets up the core Atom commands.\n\nSome commands are excluded from mini-editors. " - } - }, - "251": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 251, - 13 - ], - [ - 255, - 1 - ] - ], - "doc": " Public: Get the underlying editor model for this view.\n\nReturns an {Editor}. " - } - }, - "255": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 255, - 11 - ], - [ - 259, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.getText} " - } - }, - "259": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 259, - 11 - ], - [ - 263, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.setText} " - } - }, - "263": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 263, - 14 - ], - [ - 266, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.insertText} " - } - }, - "266": { - "20": { - "name": "setHeightInLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "heightInLines" - ], - "range": [ - [ - 266, - 20 - ], - [ - 271, - 1 - ] - ], - "doc": "~Private~" - } - }, - "271": { - "19": { - "name": "setWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "widthInChars" - ], - "range": [ - [ - 271, - 19 - ], - [ - 277, - 1 - ] - ], - "doc": "Private: {Delegates to: Editor.setEditorWidthInChars} " - } - }, - "277": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 277, - 12 - ], - [ - 284, - 1 - ] - ], - "doc": " Public: Emulates the \"page down\" key, where the last row of a buffer scrolls\nto become the first. " - } - }, - "284": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 10 - ], - [ - 292, - 1 - ] - ], - "doc": " Public: Emulates the \"page up\" key, where the frst row of a buffer scrolls\nto become the last. " - } - }, - "292": { - "15": { - "name": "getPageRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 15 - ], - [ - 298, - 1 - ] - ], - "doc": " Private: Gets the number of actual page rows existing in an editor.\n\nReturns a {Number}. " - } - }, - "298": { - "21": { - "name": "setShowInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showInvisibles" - ], - "range": [ - [ - 298, - 21 - ], - [ - 310, - 1 - ] - ], - "doc": " Public: Set whether invisible characters are shown.\n\nshowInvisibles - A {Boolean} which, if `true`, show invisible characters. " - } - }, - "310": { - "17": { - "name": "setInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 310, - 17 - ], - [ - 322, - 1 - ] - ], - "doc": " Public: Defines which characters are invisible.\n\ninvisibles - An {Object} defining the invisible characters:\n :eol - The end of line invisible {String} (default: `\\u00ac`).\n :space - The space invisible {String} (default: `\\u00b7`).\n :tab - The tab invisible {String} (default: `\\u00bb`).\n :cr - The carriage return invisible {String} (default: `\\u00a4`). " - } - }, - "322": { - "22": { - "name": "setShowIndentGuide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showIndentGuide" - ], - "range": [ - [ - 322, - 22 - ], - [ - 332, - 1 - ] - ], - "doc": " Public: Sets whether you want to show the indentation guides.\n\nshowIndentGuide - A {Boolean} you can set to `true` if you want to see the\n indentation guides. " - } - }, - "332": { - "22": { - "name": "setPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "placeholderText" - ], - "range": [ - [ - 332, - 22 - ], - [ - 337, - 1 - ] - ], - "doc": " Public: Set the text to appear in the editor when it is empty.\n\nThis only affects mini editors.\n\nplaceholderText - A {String} of text to display when empty. " - } - }, - "337": { - "22": { - "name": "getPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 337, - 22 - ], - [ - 341, - 1 - ] - ], - "doc": "~Private~" - } - }, - "341": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 341, - 16 - ], - [ - 345, - 1 - ] - ], - "doc": "Private: Checkout the HEAD revision of this editor's file. " - } - }, - "345": { - "13": { - "name": "configure", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 345, - 13 - ], - [ - 354, - 1 - ] - ], - "doc": "~Private~" - } - }, - "354": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 354, - 16 - ], - [ - 436, - 1 - ] - ], - "doc": "~Private~" - } - }, - "436": { - "21": { - "name": "handleInputEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 436, - 21 - ], - [ - 476, - 1 - ] - ], - "doc": "~Private~" - } - }, - "476": { - "28": { - "name": "bringHiddenInputIntoView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 476, - 28 - ], - [ - 479, - 1 - ] - ], - "doc": "~Private~" - } - }, - "479": { - "33": { - "name": "selectOnMousemoveUntilMouseup", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 479, - 33 - ], - [ - 505, - 1 - ] - ], - "doc": "~Private~" - } - }, - "505": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 505, - 15 - ], - [ - 538, - 1 - ] - ], - "doc": "~Private~" - } - }, - "538": { - "8": { - "name": "edit", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 538, - 8 - ], - [ - 586, - 1 - ] - ], - "doc": "~Private~" - } - }, - "586": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 586, - 12 - ], - [ - 589, - 1 - ] - ], - "doc": "~Private~" - } - }, - "589": { - "12": { - "name": "setModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 589, - 12 - ], - [ - 592, - 1 - ] - ], - "doc": "~Private~" - } - }, - "592": { - "27": { - "name": "showBufferConflictAlert", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 592, - 27 - ], - [ - 600, - 1 - ] - ], - "doc": "~Private~" - } - }, - "600": { - "13": { - "name": "scrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop", - "options" - ], - "range": [ - [ - 600, - 13 - ], - [ - 618, - 1 - ] - ], - "doc": "~Private~" - } - }, - "618": { - "16": { - "name": "scrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 618, - 16 - ], - [ - 624, - 1 - ] - ], - "doc": "~Private~" - } - }, - "624": { - "14": { - "name": "scrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 624, - 14 - ], - [ - 631, - 1 - ] - ], - "doc": "~Private~" - } - }, - "631": { - "15": { - "name": "scrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 631, - 15 - ], - [ - 639, - 1 - ] - ], - "doc": "~Private~" - } - }, - "639": { - "18": { - "name": "scrollToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 639, - 18 - ], - [ - 646, - 1 - ] - ], - "doc": "Public: Scrolls the editor to the bottom. " - } - }, - "646": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 646, - 26 - ], - [ - 654, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the position of the most recently added\ncursor if it isn't current on screen.\n\nThe editor is centered around the cursor's position if possible. " - } - }, - "654": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 654, - 26 - ], - [ - 662, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given buffer position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " - } - }, - "662": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 662, - 26 - ], - [ - 673, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " - } - }, - "673": { - "25": { - "name": "scrollToPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition", - "options" - ], - "range": [ - [ - 673, - 25 - ], - [ - 684, - 1 - ] - ], - "doc": " Public: Scrolls the editor to the given pixel position.\n\npixelPosition - An object that represents a pixel position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or\n {Point}.\noptions - A hash with the following keys:\n :center - if `true`, the position is scrolled such that it's in\n the center of the editor " - } - }, - "684": { - "39": { - "name": "highlightFoldsContainingBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 684, - 39 - ], - [ - 696, - 1 - ] - ], - "doc": " Public: Highlight all the folds within the given buffer range.\n\n\"Highlighting\" essentially just adds the `fold-selected` class to the line's\nDOM element.\n\nbufferRange - The {Range} to check. " - } - }, - "696": { - "31": { - "name": "saveScrollPositionForEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 696, - 31 - ], - [ - 702, - 1 - ] - ], - "doc": "~Private~" - } - }, - "702": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 702, - 18 - ], - [ - 706, - 1 - ] - ], - "doc": "Public: Toggle soft tabs on the edit session. " - } - }, - "706": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 706, - 18 - ], - [ - 710, - 1 - ] - ], - "doc": "Public: Toggle soft wrap on the edit session. " - } - }, - "710": { - "25": { - "name": "calculateWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 710, - 25 - ], - [ - 713, - 1 - ] - ], - "doc": "~Private~" - } - }, - "713": { - "26": { - "name": "calculateHeightInLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 713, - 26 - ], - [ - 716, - 1 - ] - ], - "doc": "~Private~" - } - }, - "716": { - "21": { - "name": "getScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 716, - 21 - ], - [ - 723, - 1 - ] - ], - "doc": "~Private~" - } - }, - "723": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 723, - 15 - ], - [ - 733, - 1 - ] - ], - "doc": " Public: Enables/disables soft wrap on the editor.\n\nsoftWrap - A {Boolean} which, if `true`, enables soft wrap " - } - }, - "733": { - "15": { - "name": "setFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 733, - 15 - ], - [ - 746, - 1 - ] - ], - "doc": " Public: Sets the font size for the editor.\n\nfontSize - A {Number} indicating the font size in pixels. " - } - }, - "746": { - "15": { - "name": "getFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 746, - 15 - ], - [ - 752, - 1 - ] - ], - "doc": " Public: Retrieves the font size for the editor.\n\nReturns a {Number} indicating the font size in pixels. " - } - }, - "752": { - "17": { - "name": "setFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 752, - 17 - ], - [ - 762, - 1 - ] - ], - "doc": " Public: Sets the font family for the editor.\n\nfontFamily - A {String} identifying the CSS `font-family`. " - } - }, - "762": { - "17": { - "name": "getFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 762, - 17 - ], - [ - 762, - 38 - ] - ], - "doc": " Public: Gets the font family for the editor.\n\nReturns a {String} identifying the CSS `font-family`. " - } - }, - "770": { - "17": { - "name": "setLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 770, - 17 - ], - [ - 776, - 1 - ] - ], - "doc": " Public: Sets the line height of the editor.\n\nCalling this method has no effect when called on a mini editor.\n\nlineHeight - A {Number} without a unit suffix identifying the CSS\n`line-height`. " - } - }, - "776": { - "10": { - "name": "redraw", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 776, - 10 - ], - [ - 786, - 1 - ] - ], - "doc": "Public: Redraw the editor " - } - }, - "786": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 786, - 13 - ], - [ - 791, - 1 - ] - ], - "doc": "Public: Split the editor view left. " - } - }, - "791": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 791, - 14 - ], - [ - 796, - 1 - ] - ], - "doc": "Public: Split the editor view right. " - } - }, - "796": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 796, - 11 - ], - [ - 801, - 1 - ] - ], - "doc": "Public: Split the editor view up. " - } - }, - "801": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 801, - 13 - ], - [ - 808, - 1 - ] - ], - "doc": "Public: Split the editor view down. " - } - }, - "808": { - "11": { - "name": "getPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 808, - 11 - ], - [ - 811, - 1 - ] - ], - "doc": " Public: Get this view's pane.\n\nReturns a {Pane}. " - } - }, - "811": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "keepData" - ], - "range": [ - [ - 811, - 10 - ], - [ - 816, - 1 - ] - ], - "doc": "~Private~" - } - }, - "816": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 816, - 16 - ], - [ - 823, - 1 - ] - ], - "doc": "~Private~" - } - }, - "823": { - "17": { - "name": "getCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 823, - 17 - ], - [ - 827, - 1 - ] - ], - "doc": "~Private~" - } - }, - "827": { - "18": { - "name": "getCursorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 827, - 18 - ], - [ - 830, - 1 - ] - ], - "doc": "~Private~" - } - }, - "830": { - "17": { - "name": "addCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursor", - "options" - ], - "range": [ - [ - 830, - 17 - ], - [ - 836, - 1 - ] - ], - "doc": "~Private~" - } - }, - "836": { - "20": { - "name": "removeCursorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 836, - 20 - ], - [ - 839, - 1 - ] - ], - "doc": "~Private~" - } - }, - "839": { - "20": { - "name": "getSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 839, - 20 - ], - [ - 843, - 1 - ] - ], - "doc": "~Private~" - } - }, - "843": { - "21": { - "name": "getSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 843, - 21 - ], - [ - 846, - 1 - ] - ], - "doc": "~Private~" - } - }, - "846": { - "20": { - "name": "addSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 846, - 20 - ], - [ - 852, - 1 - ] - ], - "doc": "~Private~" - } - }, - "852": { - "23": { - "name": "removeSelectionView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selectionView" - ], - "range": [ - [ - 852, - 23 - ], - [ - 855, - 1 - ] - ], - "doc": "~Private~" - } - }, - "855": { - "36": { - "name": "removeAllCursorAndSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 855, - 36 - ], - [ - 859, - 1 - ] - ], - "doc": "~Private~" - } - }, - "859": { - "21": { - "name": "appendToLinesView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 859, - 21 - ], - [ - 863, - 1 - ] - ], - "doc": "~Private~" - } - }, - "863": { - "20": { - "name": "scrollVertically", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition", - null - ], - "range": [ - [ - 863, - 20 - ], - [ - 884, - 1 - ] - ], - "doc": "Private: Scrolls the editor vertically to a given position. " - } - }, - "884": { - "22": { - "name": "scrollHorizontally", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 884, - 22 - ], - [ - 900, - 1 - ] - ], - "doc": "Private: Scrolls the editor horizontally to a given position. " - } - }, - "900": { - "23": { - "name": "calculateDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 900, - 23 - ], - [ - 912, - 1 - ] - ], - "doc": "~Private~" - } - }, - "912": { - "25": { - "name": "recalculateDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 912, - 25 - ], - [ - 924, - 1 - ] - ], - "doc": "~Private~" - } - }, - "924": { - "25": { - "name": "updateLayerDimensions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollViewWidth" - ], - "range": [ - [ - 924, - 25 - ], - [ - 943, - 1 - ] - ], - "doc": "~Private~" - } - }, - "943": { - "12": { - "name": "isHidden", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 943, - 12 - ], - [ - 950, - 1 - ] - ], - "doc": "Private: Override for speed. The base function checks computedStyle, unnecessary here. " - } - }, - "950": { - "22": { - "name": "clearRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 950, - 22 - ], - [ - 955, - 1 - ] - ], - "doc": "~Private~" - } - }, - "955": { - "16": { - "name": "resetDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 955, - 16 - ], - [ - 970, - 1 - ] - ], - "doc": "~Private~" - } - }, - "970": { - "24": { - "name": "requestDisplayUpdate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 970, - 24 - ], - [ - 978, - 1 - ] - ], - "doc": "~Private~" - } - }, - "978": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 978, - 17 - ], - [ - 994, - 1 - ] - ], - "doc": "~Private~" - } - }, - "994": { - "21": { - "name": "updateCursorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 994, - 21 - ], - [ - 1006, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1006": { - "22": { - "name": "shouldUpdateCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursorView" - ], - "range": [ - [ - 1006, - 22 - ], - [ - 1012, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1012": { - "24": { - "name": "updateSelectionViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1012, - 24 - ], - [ - 1023, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1023": { - "25": { - "name": "shouldUpdateSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selectionView" - ], - "range": [ - [ - 1023, - 25 - ], - [ - 1031, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1031": { - "24": { - "name": "syncCursorAnimations", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1031, - 24 - ], - [ - 1034, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1034": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "suppressAutoscroll" - ], - "range": [ - [ - 1034, - 14 - ], - [ - 1046, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1046": { - "25": { - "name": "updatePlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1046, - 25 - ], - [ - 1057, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1057": { - "23": { - "name": "updateRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollViewWidth" - ], - "range": [ - [ - 1057, - 23 - ], - [ - 1084, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1084": { - "38": { - "name": "computeSurroundingEmptyLineChanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "change" - ], - "range": [ - [ - 1084, - 38 - ], - [ - 1102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1102": { - "23": { - "name": "computeIntactRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1102, - 23 - ], - [ - 1144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1144": { - "24": { - "name": "truncateIntactRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges", - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1144, - 24 - ], - [ - 1158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1158": { - "20": { - "name": "clearDirtyRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges" - ], - "range": [ - [ - 1158, - 20 - ], - [ - 1173, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1173": { - "13": { - "name": "clearLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement" - ], - "range": [ - [ - 1173, - 13 - ], - [ - 1178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1178": { - "19": { - "name": "fillDirtyRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "intactRanges", - "renderFrom", - "renderTo" - ], - "range": [ - [ - 1178, - 19 - ], - [ - 1201, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1201": { - "32": { - "name": "updatePaddingOfRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1201, - 32 - ], - [ - 1214, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1214": { - "28": { - "name": "getFirstVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1214, - 28 - ], - [ - 1223, - 1 - ] - ], - "doc": " Public: Retrieves the number of the row that is visible and currently at the\ntop of the editor.\n\nReturns a {Number}. " - } - }, - "1223": { - "27": { - "name": "getLastVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1223, - 27 - ], - [ - 1234, - 1 - ] - ], - "doc": " Public: Retrieves the number of the row that is visible and currently at the\nbottom of the editor.\n\nReturns a {Number}. " - } - }, - "1234": { - "22": { - "name": "isScreenRowVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 1234, - 22 - ], - [ - 1237, - 1 - ] - ], - "doc": " Public: Given a row number, identifies if it is currently visible.\n\nrow - A row {Number} to check\n\nReturns a {Boolean}. " - } - }, - "1237": { - "27": { - "name": "handleScreenLinesChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "change" - ], - "range": [ - [ - 1237, - 27 - ], - [ - 1241, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1241": { - "32": { - "name": "buildLineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 1241, - 32 - ], - [ - 1244, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1244": { - "34": { - "name": "buildLineElementsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1244, - 34 - ], - [ - 1249, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1249": { - "21": { - "name": "htmlForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1249, - 21 - ], - [ - 1256, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1256": { - "21": { - "name": "htmlForScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine", - "screenRow" - ], - "range": [ - [ - 1256, - 21 - ], - [ - 1271, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1271": { - "21": { - "name": "buildIndentation", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "screenRow", - "editor" - ], - "range": [ - [ - 1271, - 21 - ], - [ - 1298, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1298": { - "32": { - "name": "buildHtmlEndOfLineInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine" - ], - "range": [ - [ - 1298, - 32 - ], - [ - 1304, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1304": { - "26": { - "name": "getEndOfLineInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenLine" - ], - "range": [ - [ - 1304, - 26 - ], - [ - 1313, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1313": { - "27": { - "name": "lineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 1313, - 27 - ], - [ - 1316, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1316": { - "33": { - "name": "toggleLineCommentsInSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1316, - 33 - ], - [ - 1325, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1325": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1325, - 34 - ], - [ - 1334, - 1 - ] - ], - "doc": " Public: Converts a buffer position to a pixel position.\n\nposition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " - } - }, - "1334": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1334, - 34 - ], - [ - 1348, - 1 - ] - ], - "doc": " Public: Converts a screen position to a pixel position.\n\nposition - An object that represents a screen position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\n\nReturns an object with two values: `top` and `left`, representing the pixel positions. " - } - }, - "1348": { - "32": { - "name": "positionLeftForLineAndColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement", - "screenRow", - "screenColumn" - ], - "range": [ - [ - 1348, - 32 - ], - [ - 1371, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1371": { - "19": { - "name": "measureToColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElement", - "tokenizedLine", - "screenColumn" - ], - "range": [ - [ - 1371, - 19 - ], - [ - 1416, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1416": { - "26": { - "name": "getCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "char" - ], - "range": [ - [ - 1416, - 26 - ], - [ - 1424, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1424": { - "26": { - "name": "setCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "char", - "val" - ], - "range": [ - [ - 1424, - 26 - ], - [ - 1432, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1432": { - "28": { - "name": "clearCharacterWidthCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1432, - 28 - ], - [ - 1435, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1435": { - "32": { - "name": "pixelOffsetForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1435, - 32 - ], - [ - 1440, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1440": { - "32": { - "name": "screenPositionFromMouseEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 1440, - 32 - ], - [ - 1470, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1470": { - "23": { - "name": "highlightCursorLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1470, - 23 - ], - [ - 1481, - 1 - ] - ], - "doc": "Private: Highlights the current line the cursor is on. " - } - }, - "1481": { - "23": { - "name": "copyPathToClipboard", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1481, - 23 - ], - [ - 1485, - 1 - ] - ], - "doc": "Private: Copies the current file path to the native clipboard. " - } - }, - "1485": { - "18": { - "name": "buildLineHtml", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 1485, - 18 - ], - [ - 1513, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1513": { - "21": { - "name": "updateScopeStack", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 1513, - 21 - ], - [ - 1529, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1529": { - "14": { - "name": "pushScope", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack", - "scope" - ], - "range": [ - [ - 1529, - 14 - ], - [ - 1533, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1533": { - "13": { - "name": "popScope", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "line", - "scopeStack" - ], - "range": [ - [ - 1533, - 13 - ], - [ - 1537, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1537": { - "23": { - "name": "buildEmptyLineHtml", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "showIndentGuide", - "eolInvisibles", - "htmlEolInvisibles", - "indentation", - "editor", - "mini" - ], - "range": [ - [ - 1537, - 23 - ], - [ - 1563, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1563": { - "23": { - "name": "replaceSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "replaceFn" - ], - "range": [ - [ - 1563, - 23 - ], - [ - 1573, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1573": { - "25": { - "name": "consolidateSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 1573, - 25 - ], - [ - 1573, - 89 - ] - ], - "doc": "~Private~" - } - }, - "1575": { - "18": { - "name": "logCursorScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1575, - 18 - ], - [ - 1578, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1578": { - "18": { - "name": "logScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 1578, - 18 - ], - [ - 1581, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1581": { - "20": { - "name": "logRenderedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1581, - 20 - ], - [ - 1583, - 35 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 41 - }, - "src/editor.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@^1" - } - }, - "3": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 3, - 12 - ], - [ - 3, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@^1" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Model", - "exportsProperty": "Model" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 6, - 8 - ], - [ - 6, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Range", - "exportsProperty": "Range" - } - }, - "7": { - "15": { - "name": "LanguageMode", - "type": "import", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 39 - ] - ], - "bindingType": "variable", - "path": "./language-mode" - } - }, - "8": { - "16": { - "name": "DisplayBuffer", - "type": "import", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 41 - ] - ], - "bindingType": "variable", - "path": "./display-buffer" - } - }, - "9": { - "9": { - "name": "Cursor", - "type": "import", - "range": [ - [ - 9, - 9 - ], - [ - 9, - 26 - ] - ], - "bindingType": "variable", - "path": "./cursor" - } - }, - "10": { - "12": { - "name": "Selection", - "type": "import", - "range": [ - [ - 10, - 12 - ], - [ - 10, - 32 - ] - ], - "bindingType": "variable", - "path": "./selection" - } - }, - "11": { - "24": { - "type": "primitive", - "range": [ - [ - 11, - 24 - ], - [ - 11, - 58 - ] - ] - } - }, - "138": { - "0": { - "type": "class", - "name": "Editor", - "superClass": "Model", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 143, - 17 - ], - [ - 144, - 32 - ], - [ - 145, - 18 - ], - [ - 146, - 10 - ], - [ - 147, - 16 - ], - [ - 148, - 11 - ], - [ - 149, - 14 - ], - [ - 150, - 28 - ], - [ - 151, - 20 - ], - [ - 152, - 26 - ], - [ - 161, - 15 - ], - [ - 190, - 19 - ], - [ - 197, - 21 - ], - [ - 202, - 21 - ], - [ - 215, - 28 - ], - [ - 228, - 16 - ], - [ - 234, - 13 - ], - [ - 242, - 8 - ], - [ - 258, - 12 - ], - [ - 271, - 16 - ], - [ - 281, - 14 - ], - [ - 288, - 25 - ], - [ - 292, - 21 - ], - [ - 296, - 15 - ], - [ - 301, - 15 - ], - [ - 304, - 18 - ], - [ - 307, - 15 - ], - [ - 312, - 15 - ], - [ - 315, - 18 - ], - [ - 323, - 14 - ], - [ - 328, - 16 - ], - [ - 331, - 16 - ], - [ - 339, - 16 - ], - [ - 361, - 22 - ], - [ - 369, - 19 - ], - [ - 381, - 27 - ], - [ - 396, - 30 - ], - [ - 414, - 22 - ], - [ - 418, - 21 - ], - [ - 428, - 8 - ], - [ - 435, - 10 - ], - [ - 437, - 16 - ], - [ - 442, - 23 - ], - [ - 447, - 11 - ], - [ - 450, - 11 - ], - [ - 453, - 11 - ], - [ - 458, - 18 - ], - [ - 461, - 16 - ], - [ - 464, - 13 - ], - [ - 467, - 10 - ], - [ - 470, - 20 - ], - [ - 473, - 24 - ], - [ - 479, - 25 - ], - [ - 482, - 24 - ], - [ - 486, - 20 - ], - [ - 494, - 27 - ], - [ - 500, - 20 - ], - [ - 506, - 26 - ], - [ - 509, - 8 - ], - [ - 512, - 21 - ], - [ - 515, - 30 - ], - [ - 518, - 14 - ], - [ - 520, - 11 - ], - [ - 524, - 22 - ], - [ - 536, - 35 - ], - [ - 546, - 35 - ], - [ - 551, - 29 - ], - [ - 556, - 29 - ], - [ - 573, - 22 - ], - [ - 576, - 20 - ], - [ - 579, - 22 - ], - [ - 582, - 22 - ], - [ - 585, - 26 - ], - [ - 588, - 20 - ], - [ - 591, - 27 - ], - [ - 593, - 25 - ], - [ - 605, - 27 - ], - [ - 614, - 31 - ], - [ - 618, - 26 - ], - [ - 624, - 19 - ], - [ - 626, - 18 - ], - [ - 633, - 14 - ], - [ - 639, - 17 - ], - [ - 643, - 22 - ], - [ - 649, - 22 - ], - [ - 668, - 10 - ], - [ - 674, - 13 - ], - [ - 678, - 30 - ], - [ - 683, - 30 - ], - [ - 690, - 27 - ], - [ - 696, - 27 - ], - [ - 701, - 10 - ], - [ - 708, - 21 - ], - [ - 714, - 21 - ], - [ - 718, - 14 - ], - [ - 722, - 22 - ], - [ - 726, - 23 - ], - [ - 734, - 33 - ], - [ - 739, - 26 - ], - [ - 744, - 30 - ], - [ - 751, - 18 - ], - [ - 758, - 19 - ], - [ - 765, - 20 - ], - [ - 779, - 13 - ], - [ - 798, - 8 - ], - [ - 803, - 8 - ], - [ - 812, - 18 - ], - [ - 817, - 20 - ], - [ - 822, - 21 - ], - [ - 826, - 11 - ], - [ - 830, - 13 - ], - [ - 836, - 24 - ], - [ - 846, - 17 - ], - [ - 852, - 19 - ], - [ - 862, - 25 - ], - [ - 865, - 25 - ], - [ - 870, - 14 - ], - [ - 874, - 21 - ], - [ - 878, - 39 - ], - [ - 884, - 25 - ], - [ - 893, - 23 - ], - [ - 901, - 23 - ], - [ - 909, - 23 - ], - [ - 913, - 34 - ], - [ - 917, - 34 - ], - [ - 921, - 34 - ], - [ - 926, - 14 - ], - [ - 979, - 16 - ], - [ - 1034, - 18 - ], - [ - 1060, - 17 - ], - [ - 1072, - 22 - ], - [ - 1075, - 23 - ], - [ - 1096, - 32 - ], - [ - 1137, - 18 - ], - [ - 1140, - 19 - ], - [ - 1144, - 13 - ], - [ - 1148, - 14 - ], - [ - 1170, - 15 - ], - [ - 1179, - 19 - ], - [ - 1188, - 19 - ], - [ - 1197, - 22 - ], - [ - 1206, - 22 - ], - [ - 1210, - 17 - ], - [ - 1216, - 18 - ], - [ - 1220, - 22 - ], - [ - 1224, - 14 - ], - [ - 1227, - 13 - ], - [ - 1233, - 29 - ], - [ - 1240, - 29 - ], - [ - 1245, - 13 - ], - [ - 1255, - 16 - ], - [ - 1264, - 16 - ], - [ - 1288, - 30 - ], - [ - 1301, - 26 - ], - [ - 1311, - 26 - ], - [ - 1321, - 27 - ], - [ - 1336, - 19 - ], - [ - 1342, - 19 - ], - [ - 1347, - 25 - ], - [ - 1355, - 31 - ], - [ - 1361, - 17 - ], - [ - 1363, - 27 - ], - [ - 1374, - 16 - ], - [ - 1381, - 20 - ], - [ - 1388, - 40 - ], - [ - 1394, - 28 - ], - [ - 1403, - 34 - ], - [ - 1415, - 27 - ], - [ - 1422, - 27 - ], - [ - 1428, - 22 - ], - [ - 1439, - 27 - ], - [ - 1446, - 27 - ], - [ - 1453, - 26 - ], - [ - 1460, - 26 - ], - [ - 1468, - 27 - ], - [ - 1476, - 27 - ], - [ - 1482, - 19 - ], - [ - 1490, - 24 - ], - [ - 1499, - 24 - ], - [ - 1505, - 34 - ], - [ - 1511, - 22 - ], - [ - 1515, - 16 - ], - [ - 1519, - 18 - ], - [ - 1523, - 18 - ], - [ - 1527, - 19 - ], - [ - 1533, - 19 - ], - [ - 1539, - 22 - ], - [ - 1543, - 37 - ], - [ - 1547, - 31 - ], - [ - 1551, - 36 - ], - [ - 1555, - 31 - ], - [ - 1559, - 25 - ], - [ - 1563, - 31 - ], - [ - 1567, - 25 - ], - [ - 1571, - 35 - ], - [ - 1575, - 36 - ], - [ - 1579, - 32 - ], - [ - 1583, - 40 - ], - [ - 1587, - 44 - ], - [ - 1596, - 26 - ], - [ - 1599, - 10 - ], - [ - 1604, - 12 - ], - [ - 1609, - 16 - ], - [ - 1612, - 18 - ], - [ - 1616, - 18 - ], - [ - 1619, - 15 - ], - [ - 1626, - 15 - ], - [ - 1636, - 26 - ], - [ - 1645, - 15 - ], - [ - 1652, - 14 - ], - [ - 1659, - 12 - ], - [ - 1666, - 14 - ], - [ - 1673, - 15 - ], - [ - 1679, - 13 - ], - [ - 1686, - 18 - ], - [ - 1693, - 27 - ], - [ - 1702, - 32 - ], - [ - 1709, - 21 - ], - [ - 1716, - 32 - ], - [ - 1723, - 28 - ], - [ - 1729, - 14 - ], - [ - 1740, - 21 - ], - [ - 1751, - 21 - ], - [ - 1759, - 28 - ], - [ - 1776, - 13 - ], - [ - 1791, - 13 - ], - [ - 1798, - 13 - ], - [ - 1809, - 13 - ], - [ - 1816, - 27 - ], - [ - 1823, - 21 - ], - [ - 1830, - 31 - ], - [ - 1834, - 14 - ], - [ - 1841, - 36 - ], - [ - 1848, - 40 - ], - [ - 1856, - 16 - ], - [ - 1863, - 16 - ], - [ - 1873, - 27 - ], - [ - 1879, - 28 - ], - [ - 1883, - 22 - ], - [ - 1889, - 31 - ], - [ - 1910, - 40 - ], - [ - 1919, - 14 - ], - [ - 1926, - 14 - ], - [ - 1930, - 17 - ], - [ - 1933, - 20 - ], - [ - 1944, - 12 - ], - [ - 1952, - 20 - ], - [ - 1958, - 21 - ], - [ - 1962, - 20 - ], - [ - 1964, - 11 - ], - [ - 1967, - 18 - ], - [ - 1969, - 22 - ], - [ - 1972, - 23 - ], - [ - 1976, - 23 - ], - [ - 1980, - 32 - ], - [ - 1983, - 27 - ], - [ - 1984, - 27 - ], - [ - 1986, - 29 - ], - [ - 1987, - 29 - ], - [ - 1989, - 25 - ], - [ - 1990, - 25 - ], - [ - 1992, - 29 - ], - [ - 1994, - 22 - ], - [ - 1995, - 22 - ], - [ - 1997, - 23 - ], - [ - 1999, - 25 - ], - [ - 2001, - 23 - ], - [ - 2002, - 23 - ], - [ - 2004, - 13 - ], - [ - 2005, - 13 - ], - [ - 2007, - 19 - ], - [ - 2009, - 12 - ], - [ - 2010, - 12 - ], - [ - 2012, - 16 - ], - [ - 2013, - 16 - ], - [ - 2015, - 19 - ], - [ - 2016, - 19 - ], - [ - 2018, - 17 - ], - [ - 2019, - 17 - ], - [ - 2021, - 18 - ], - [ - 2022, - 18 - ], - [ - 2024, - 19 - ], - [ - 2025, - 18 - ], - [ - 2027, - 22 - ], - [ - 2029, - 29 - ], - [ - 2031, - 38 - ], - [ - 2033, - 34 - ], - [ - 2035, - 34 - ], - [ - 2037, - 34 - ], - [ - 2039, - 27 - ], - [ - 2041, - 23 - ], - [ - 2043, - 26 - ], - [ - 2045, - 26 - ], - [ - 2047, - 26 - ], - [ - 2049, - 24 - ], - [ - 2051, - 32 - ], - [ - 2052, - 32 - ], - [ - 2054, - 29 - ], - [ - 2055, - 29 - ], - [ - 2058, - 12 - ] - ], - "doc": " Public: This class represents all essential editing state for a single\n{TextBuffer}, including cursor and selection positions, folds, and soft wraps.\nIf you're manipulating the state of an editor, use this class. If you're\ninterested in the visual appearance of editors, use {EditorView} instead.\n\nA single {TextBuffer} can belong to multiple editors. For example, if the\nsame file is open in two different panes, Atom creates a separate editor for\neach pane. If the buffer is manipulated the changes are reflected in both\neditors, but each maintains its own cursor position, folded lines, etc.\n\n## Accessing Editor Instances\n\nThe easiest way to get hold of `Editor` objects is by registering a callback\nwith `::eachEditor` on the `atom.workspace` global. Your callback will then\nbe called with all current editor instances and also when any editor is\ncreated in the future.\n\n```coffeescript\n atom.workspace.eachEditor (editor) ->\n editor.insertText('Hello World')\n```\n\n## Buffer vs. Screen Coordinates\n\nBecause editors support folds and soft-wrapping, the lines on screen don't\nalways match the lines in the buffer. For example, a long line that soft wraps\ntwice renders as three lines on screen, but only represents one line in the\nbuffer. Similarly, if rows 5-10 are folded, then row 6 on screen corresponds\nto row 11 in the buffer.\n\nYour choice of coordinates systems will depend on what you're trying to\nachieve. For example, if you're writing a command that jumps the cursor up or\ndown by 10 lines, you'll want to use screen coordinates because the user\nprobably wants to skip lines *on screen*. However, if you're writing a package\nthat jumps between method definitions, you'll want to work in buffer\ncoordinates.\n\n**When in doubt, just default to buffer coordinates**, then experiment with\nsoft wraps and folds to ensure your code interacts with them correctly.\n\n## Common Tasks\n\nThis is a subset of methods on this class. Refer to the complete summary for\nits full capabilities.\n\n### Cursors\n- {::setCursorBufferPosition}\n- {::setCursorScreenPosition}\n- {::moveCursorUp}\n- {::moveCursorDown}\n- {::moveCursorLeft}\n- {::moveCursorRight}\n- {::moveCursorToBeginningOfWord}\n- {::moveCursorToEndOfWord}\n- {::moveCursorToPreviousWordBoundary}\n- {::moveCursorToNextWordBoundary}\n- {::moveCursorToBeginningOfNextWord}\n- {::moveCursorToBeginningOfLine}\n- {::moveCursorToEndOfLine}\n- {::moveCursorToFirstCharacterOfLine}\n- {::moveCursorToTop}\n- {::moveCursorToBottom}\n\n### Selections\n- {::getSelectedBufferRange}\n- {::getSelectedBufferRanges}\n- {::setSelectedBufferRange}\n- {::setSelectedBufferRanges}\n- {::selectUp}\n- {::selectDown}\n- {::selectLeft}\n- {::selectRight}\n- {::selectToBeginningOfWord}\n- {::selectToEndOfWord}\n- {::selectToPreviousWordBoundary}\n- {::selectToNextWordBoundary}\n- {::selectWord}\n- {::selectToBeginningOfLine}\n- {::selectToEndOfLine}\n- {::selectToFirstCharacterOfLine}\n- {::selectToTop}\n- {::selectToBottom}\n- {::selectAll}\n- {::addSelectionForBufferRange}\n- {::addSelectionAbove}\n- {::addSelectionBelow}\n- {::splitSelectionsIntoLines}\n\n### Manipulating Text\n- {::getText}\n- {::getSelectedText}\n- {::setText}\n- {::setTextInBufferRange}\n- {::insertText}\n- {::insertNewline}\n- {::insertNewlineAbove}\n- {::insertNewlineBelow}\n- {::backspace}\n- {::deleteToBeginningOfWord}\n- {::deleteToBeginningOfLine}\n- {::delete}\n- {::deleteToEndOfLine}\n- {::deleteToEndOfWord}\n- {::deleteLine}\n- {::cutSelectedText}\n- {::cutToEndOfLine}\n- {::copySelectedText}\n- {::pasteText}\n\n### Undo, Redo, and Transactions\n- {::undo}\n- {::redo}\n- {::transact}\n- {::abortTransaction}\n\n### Markers\n- {::markBufferRange}\n- {::markScreenRange}\n- {::getMarker}\n- {::findMarkers}\n\n### Decorations\n- {::decorateMarker}\n- {::decorationsForScreenRowRange} ", - "range": [ - [ - 138, - 0 - ], - [ - 2060, - 16 - ] - ] - } - }, - "143": { - "17": { - "name": "deserializing", - "type": "primitive", - "range": [ - [ - 143, - 17 - ], - [ - 143, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "144": { - "32": { - "name": "callDisplayBufferCreatedHook", - "type": "primitive", - "range": [ - [ - 144, - 32 - ], - [ - 144, - 36 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "145": { - "18": { - "name": "registerEditor", - "type": "primitive", - "range": [ - [ - 145, - 18 - ], - [ - 145, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "146": { - "10": { - "name": "buffer", - "type": "primitive", - "range": [ - [ - 146, - 10 - ], - [ - 146, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "147": { - "16": { - "name": "languageMode", - "type": "primitive", - "range": [ - [ - 147, - 16 - ], - [ - 147, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "148": { - "11": { - "name": "cursors", - "type": "primitive", - "range": [ - [ - 148, - 11 - ], - [ - 148, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "149": { - "14": { - "name": "selections", - "type": "primitive", - "range": [ - [ - 149, - 14 - ], - [ - 149, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "150": { - "28": { - "name": "suppressSelectionMerging", - "type": "primitive", - "range": [ - [ - 150, - 28 - ], - [ - 150, - 32 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "151": { - "20": { - "name": "updateBatchDepth", - "type": "primitive", - "range": [ - [ - 151, - 20 - ], - [ - 151, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "152": { - "26": { - "name": "selectionFlashDuration", - "type": "primitive", - "range": [ - [ - 152, - 26 - ], - [ - 152, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "161": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 161, - 15 - ], - [ - 190, - 1 - ] - ], - "doc": "~Private~" - } - }, - "190": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 19 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 197, - 21 - ], - [ - 202, - 1 - ] - ], - "doc": "~Private~" - } - }, - "202": { - "21": { - "name": "subscribeToBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 202, - 21 - ], - [ - 215, - 1 - ] - ], - "doc": "~Private~" - } - }, - "215": { - "28": { - "name": "subscribeToDisplayBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 215, - 28 - ], - [ - 228, - 1 - ] - ], - "doc": "~Private~" - } - }, - "228": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 228, - 16 - ], - [ - 234, - 1 - ] - ], - "doc": "~Private~" - } - }, - "234": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 13 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 242, - 8 - ], - [ - 258, - 1 - ] - ], - "doc": "Private: Create an {Editor} with its initial state based on this object " - } - }, - "258": { - "12": { - "name": "getTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 258, - 12 - ], - [ - 271, - 1 - ] - ], - "doc": " Public: Get the title the editor's title for display in other parts of the\nUI such as the tabs.\n\nIf the editor's buffer is saved, its title is the file name. If it is\nunsaved, its title is \"untitled\".\n\nReturns a {String}. " - } - }, - "271": { - "16": { - "name": "getLongTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 271, - 16 - ], - [ - 281, - 1 - ] - ], - "doc": " Public: Get the editor's long title for display in other parts of the UI\nsuch as the window title.\n\nIf the editor's buffer is saved, its long title is formatted as\n\" - \". If it is unsaved, its title is \"untitled\"\n\nReturns a {String}. " - } - }, - "281": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "visible" - ], - "range": [ - [ - 281, - 14 - ], - [ - 281, - 60 - ] - ], - "doc": "Private: Controls visibility based on the given {Boolean}. " - } - }, - "288": { - "25": { - "name": "setEditorWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorWidthInChars" - ], - "range": [ - [ - 288, - 25 - ], - [ - 292, - 1 - ] - ], - "doc": " Private: Set the number of characters that can be displayed horizontally in the\neditor.\n\neditorWidthInChars - A {Number} representing the width of the {EditorView}\nin characters. " - } - }, - "292": { - "21": { - "name": "getSoftWrapColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 292, - 21 - ], - [ - 292, - 57 - ] - ], - "doc": "Public: Sets the column at which column will soft wrap " - } - }, - "296": { - "15": { - "name": "getSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 296, - 15 - ], - [ - 296, - 26 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether softTabs are enabled for this\neditor. " - } - }, - "301": { - "15": { - "name": "setSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 301, - 15 - ], - [ - 301, - 38 - ] - ], - "doc": " Public: Enable or disable soft tabs for this editor.\n\nsoftTabs - A {Boolean} " - } - }, - "304": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 304, - 18 - ], - [ - 304, - 52 - ] - ], - "doc": "Public: Toggle soft tabs for this editor " - } - }, - "307": { - "15": { - "name": "getSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 307, - 15 - ], - [ - 307, - 45 - ] - ], - "doc": "Public: Get whether soft wrap is enabled for this editor. " - } - }, - "312": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 312, - 15 - ], - [ - 312, - 64 - ] - ], - "doc": " Public: Enable or disable soft wrap for this editor.\n\nsoftWrap - A {Boolean} " - } - }, - "315": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 18 - ], - [ - 315, - 52 - ] - ], - "doc": "Public: Toggle soft wrap for this editor " - } - }, - "323": { - "14": { - "name": "getTabText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 323, - 14 - ], - [ - 323, - 37 - ] - ], - "doc": " Public: Get the text representing a single level of indent.\n\nIf soft tabs are enabled, the text is composed of N spaces, where N is the\ntab length. Otherwise the text is a tab character (`\\t`).\n\nReturns a {String}. " - } - }, - "328": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 328, - 16 - ], - [ - 328, - 47 - ] - ], - "doc": " Public: Get the on-screen length of tab characters.\n\nReturns a {Number}. " - } - }, - "331": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 331, - 16 - ], - [ - 331, - 68 - ] - ], - "doc": "Public: Set the on-screen length of tab characters. " - } - }, - "339": { - "16": { - "name": "usesSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 339, - 16 - ], - [ - 361, - 1 - ] - ], - "doc": " Public: Determine if the buffer uses hard or soft tabs.\n\nReturns `true` if the first non-comment line with leading whitespace starts\nwith a space character. Returns `false` if it starts with a hard tab (`\\t`).\n\nReturns a {Boolean}, " - } - }, - "361": { - "22": { - "name": "clipBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 361, - 22 - ], - [ - 361, - 77 - ] - ], - "doc": " Public: Clip the given {Point} to a valid position in the buffer.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the buffer, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " - } - }, - "369": { - "19": { - "name": "clipBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 369, - 19 - ], - [ - 369, - 53 - ] - ], - "doc": " Public: Clip the start and end of the given range to valid positions in the\nbuffer. See {::clipBufferPosition} for more information.\n\nrange - The {Range} to clip.\n\nReturns a {Range}. " - } - }, - "381": { - "27": { - "name": "indentationForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 381, - 27 - ], - [ - 396, - 1 - ] - ], - "doc": " Public: Get the indentation level of the given a buffer row.\n\nReturns how deeply the given row is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nbufferRow - A {Number} indicating the buffer row.\n\nReturns a {Number}. " - } - }, - "396": { - "30": { - "name": "setIndentationForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "newLevel", - null - ], - "range": [ - [ - 396, - 30 - ], - [ - 414, - 1 - ] - ], - "doc": " Public: Set the indentation level for the given buffer row.\n\nInserts or removes hard tabs or spaces based on the soft tabs and tab length\nsettings of this editor in order to bring it to the given indentation level.\nNote that if soft tabs are enabled and the tab length is 2, a row with 4\nleading spaces would have an indentation level of 2.\n\nbufferRow - A {Number} indicating the buffer row.\nnewLevel - A {Number} indicating the new indentation level.\noptions - An {Object} with the following keys:\n :preserveLeadingWhitespace - true to preserve any whitespace already at\n the beginning of the line (default: false). " - } - }, - "414": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 414, - 22 - ], - [ - 418, - 1 - ] - ], - "doc": " Public: Get the indentation level of the given line of text.\n\nReturns how deeply the given line is indented based on the soft tabs and\ntab length settings of this editor. Note that if soft tabs are enabled and\nthe tab length is 2, a row with 4 leading spaces would have an indentation\nlevel of 2.\n\nline - A {String} representing a line of text.\n\nReturns a {Number}. " - } - }, - "418": { - "21": { - "name": "buildIndentString", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "number", - "column" - ], - "range": [ - [ - 418, - 21 - ], - [ - 428, - 1 - ] - ], - "doc": "Private: Constructs the string used for tabs. " - } - }, - "428": { - "8": { - "name": "save", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 8 - ], - [ - 428, - 24 - ] - ], - "doc": " Public: Saves the editor's text buffer.\n\nSee {TextBuffer::save} for more details. " - } - }, - "435": { - "10": { - "name": "saveAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 435, - 10 - ], - [ - 435, - 47 - ] - ], - "doc": " Public: Saves the editor's text buffer as the given path.\n\nSee {TextBuffer::saveAs} for more details.\n\nfilePath - A {String} path. " - } - }, - "437": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 437, - 16 - ], - [ - 442, - 1 - ] - ], - "doc": "~Private~" - } - }, - "442": { - "23": { - "name": "copyPathToClipboard", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 442, - 23 - ], - [ - 447, - 1 - ] - ], - "doc": "Private: Copies the current file path to the native clipboard. " - } - }, - "447": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 447, - 11 - ], - [ - 447, - 30 - ] - ], - "doc": "Public: Returns the {String} path of this editor's text buffer. " - } - }, - "450": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 450, - 11 - ], - [ - 450, - 30 - ] - ], - "doc": "Public: Returns a {String} representing the entire contents of the editor. " - } - }, - "453": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 453, - 11 - ], - [ - 453, - 41 - ] - ], - "doc": "Public: Replaces the entire contents of the buffer with the given {String}. " - } - }, - "458": { - "18": { - "name": "getTextInRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 458, - 18 - ], - [ - 458, - 57 - ] - ], - "doc": " Private: Get the text in the given {Range}.\n\nReturns a {String}. " - } - }, - "461": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 461, - 16 - ], - [ - 461, - 40 - ] - ], - "doc": "Public: Returns a {Number} representing the number of lines in the editor. " - } - }, - "464": { - "13": { - "name": "getBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 464, - 13 - ], - [ - 464, - 22 - ] - ], - "doc": "Private: Retrieves the current {TextBuffer}. " - } - }, - "467": { - "10": { - "name": "getUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 467, - 10 - ], - [ - 467, - 28 - ] - ], - "doc": "Public: Retrieves the current buffer's URI. " - } - }, - "470": { - "20": { - "name": "isBufferRowBlank", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 470, - 20 - ], - [ - 470, - 63 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.isRowBlank} " - } - }, - "473": { - "24": { - "name": "isBufferRowCommented", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 473, - 24 - ], - [ - 479, - 1 - ] - ], - "doc": "Public: Determine if the given row is entirely a comment " - } - }, - "479": { - "25": { - "name": "nextNonBlankBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 479, - 25 - ], - [ - 479, - 73 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.nextNonBlankRow} " - } - }, - "482": { - "24": { - "name": "getEofBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 482, - 24 - ], - [ - 482, - 50 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.getEndPosition} " - } - }, - "486": { - "20": { - "name": "getLastBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 486, - 20 - ], - [ - 486, - 42 - ] - ], - "doc": " Public: Returns a {Number} representing the last zero-indexed buffer row\nnumber of the editor. " - } - }, - "494": { - "27": { - "name": "bufferRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - null - ], - "range": [ - [ - 494, - 27 - ], - [ - 494, - 96 - ] - ], - "doc": " Private: Returns the range for the given buffer row.\n\nrow - A row {Number}.\noptions - An options hash with an `includeNewline` key.\n\nReturns a {Range}. " - } - }, - "500": { - "20": { - "name": "lineForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 500, - 20 - ], - [ - 500, - 51 - ] - ], - "doc": " Public: Returns a {String} representing the contents of the line at the\ngiven buffer row.\n\nrow - A {Number} representing a zero-indexed buffer row. " - } - }, - "506": { - "26": { - "name": "lineLengthForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 506, - 26 - ], - [ - 506, - 63 - ] - ], - "doc": " Public: Returns a {Number} representing the line length for the given\nbuffer row, exclusive of its line-ending character(s).\n\nrow - A {Number} indicating the buffer row. " - } - }, - "509": { - "8": { - "name": "scan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 509, - 8 - ], - [ - 509, - 41 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.scan} " - } - }, - "512": { - "21": { - "name": "scanInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 512, - 21 - ], - [ - 512, - 61 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.scanInRange} " - } - }, - "515": { - "30": { - "name": "backwardsScanInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 515, - 30 - ], - [ - 515, - 79 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.backwardsScanInRange} " - } - }, - "518": { - "14": { - "name": "isModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 518, - 14 - ], - [ - 518, - 36 - ] - ], - "doc": "Private: {Delegates to: TextBuffer.isModified} " - } - }, - "520": { - "11": { - "name": "isEmpty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 520, - 11 - ], - [ - 520, - 30 - ] - ], - "doc": "~Private~" - } - }, - "524": { - "22": { - "name": "shouldPromptToSave", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 524, - 22 - ], - [ - 524, - 74 - ] - ], - "doc": " Public: Determine whether the user should be prompted to save before closing\nthis editor. " - } - }, - "536": { - "35": { - "name": "screenPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 536, - 35 - ], - [ - 536, - 134 - ] - ], - "doc": " Public: Convert a position in buffer-coordinates to screen-coordinates.\n\nThe position is clipped via {::clipBufferPosition} prior to the conversion.\nThe position is also clipped via {::clipScreenPosition} following the\nconversion, which only makes a difference when `options` are supplied.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " - } - }, - "546": { - "35": { - "name": "bufferPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 546, - 35 - ], - [ - 546, - 134 - ] - ], - "doc": " Public: Convert a position in screen-coordinates to buffer-coordinates.\n\nThe position is clipped via {::clipScreenPosition} prior to the conversion.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.\n\nReturns a {Point}. " - } - }, - "551": { - "29": { - "name": "screenRangeForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 551, - 29 - ], - [ - 551, - 98 - ] - ], - "doc": " Public: Convert a range in buffer-coordinates to screen-coordinates.\n\nReturns a {Range}. " - } - }, - "556": { - "29": { - "name": "bufferRangeForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 556, - 29 - ], - [ - 556, - 98 - ] - ], - "doc": " Public: Convert a range in screen-coordinates to buffer-coordinates.\n\nReturns a {Range}. " - } - }, - "573": { - "22": { - "name": "clipScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 573, - 22 - ], - [ - 573, - 108 - ] - ], - "doc": " Public: Clip the given {Point} to a valid position on screen.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the screen, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n * `[-1, -1]` is converted to `[0, 0]`.\n * If the line at screen row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.\n\nReturns a {Point}. " - } - }, - "576": { - "20": { - "name": "lineForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 576, - 20 - ], - [ - 576, - 58 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.lineForRow} " - } - }, - "579": { - "22": { - "name": "linesForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 579, - 22 - ], - [ - 579, - 76 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.linesForRows} " - } - }, - "582": { - "22": { - "name": "getScreenLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 582, - 22 - ], - [ - 582, - 53 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getLineCount} " - } - }, - "585": { - "26": { - "name": "getMaxScreenLineLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 585, - 26 - ], - [ - 585, - 61 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getMaxLineLength} " - } - }, - "588": { - "20": { - "name": "getLastScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 588, - 20 - ], - [ - 588, - 49 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.getLastRow} " - } - }, - "591": { - "27": { - "name": "bufferRowsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 591, - 27 - ], - [ - 591, - 104 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.bufferRowsForScreenRows} " - } - }, - "593": { - "25": { - "name": "bufferRowForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 593, - 25 - ], - [ - 593, - 74 - ] - ], - "doc": "~Private~" - } - }, - "605": { - "27": { - "name": "scopesForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 605, - 27 - ], - [ - 605, - 100 - ] - ], - "doc": " Public: Get the syntactic scopes for the given position in buffer\ncoordinates.\n\nFor example, if called with a position inside the parameter list of an\nanonymous CoffeeScript function, the method returns the following array:\n`[\"source.coffee\", \"meta.inline.function.coffee\", \"variable.parameter.function.coffee\"]`\n\nbufferPosition - A {Point} or {Array} of [row, column].\n\nReturns an {Array} of {String}s. " - } - }, - "614": { - "31": { - "name": "bufferRangeForScopeAtCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 614, - 31 - ], - [ - 618, - 1 - ] - ], - "doc": " Public: Get the range in buffer coordinates of all tokens surrounding the\ncursor that match the given scope selector.\n\nFor example, if you wanted to find the string surrounding the cursor, you\ncould call `editor.bufferRangeForScopeAtCursor(\".string.quoted\")`.\n\nReturns a {Range}. " - } - }, - "618": { - "26": { - "name": "tokenForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 618, - 26 - ], - [ - 618, - 98 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.tokenForBufferPosition} " - } - }, - "624": { - "19": { - "name": "getCursorScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 624, - 19 - ], - [ - 624, - 45 - ] - ], - "doc": " Public: Get the syntactic scopes for the most recently added cursor's\nposition. See {::scopesForBufferPosition} for more information.\n\nReturns an {Array} of {String}s. " - } - }, - "626": { - "18": { - "name": "logCursorScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 626, - 18 - ], - [ - 633, - 1 - ] - ], - "doc": "~Private~" - } - }, - "633": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 633, - 14 - ], - [ - 639, - 1 - ] - ], - "doc": " Public: For each selection, replace the selected text with the given text.\n\ntext - A {String} representing the text to insert.\noptions - See {Selection::insertText}. " - } - }, - "639": { - "17": { - "name": "insertNewline", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 639, - 17 - ], - [ - 643, - 1 - ] - ], - "doc": "Public: For each selection, replace the selected text with a newline. " - } - }, - "643": { - "22": { - "name": "insertNewlineBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 643, - 22 - ], - [ - 649, - 1 - ] - ], - "doc": "Public: For each cursor, insert a newline at beginning the following line. " - } - }, - "649": { - "22": { - "name": "insertNewlineAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 649, - 22 - ], - [ - 668, - 1 - ] - ], - "doc": "Public: For each cursor, insert a newline at the end of the preceding line. " - } - }, - "668": { - "10": { - "name": "indent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 668, - 10 - ], - [ - 674, - 1 - ] - ], - "doc": " Private: Indent all lines intersecting selections. See {Selection::indent} for more\ninformation. " - } - }, - "674": { - "13": { - "name": "backspace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 674, - 13 - ], - [ - 678, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete the character\npreceding the cursor. Otherwise delete the selected text. " - } - }, - "678": { - "30": { - "name": "backspaceToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 678, - 30 - ], - [ - 683, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " - } - }, - "683": { - "30": { - "name": "backspaceToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 683, - 30 - ], - [ - 690, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " - } - }, - "690": { - "27": { - "name": "deleteToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 690, - 27 - ], - [ - 696, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word that precede the cursor. Otherwise delete the\nselected text. " - } - }, - "696": { - "27": { - "name": "deleteToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 696, - 27 - ], - [ - 701, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing line that precede the cursor. Otherwise delete the\nselected text. " - } - }, - "701": { - "10": { - "name": "delete", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 701, - 10 - ], - [ - 708, - 1 - ] - ] - } - }, - "708": { - "21": { - "name": "deleteToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 708, - 21 - ], - [ - 714, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is not empty, deletes the\nselection; otherwise, deletes all characters of the containing line\nfollowing the cursor. If the cursor is already at the end of the line,\ndeletes the following newline. " - } - }, - "714": { - "21": { - "name": "deleteToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 714, - 21 - ], - [ - 718, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, delete all characters\nof the containing word following the cursor. Otherwise delete the selected\ntext. " - } - }, - "718": { - "14": { - "name": "deleteLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 718, - 14 - ], - [ - 722, - 1 - ] - ], - "doc": "Public: Delete all lines intersecting selections. " - } - }, - "722": { - "22": { - "name": "indentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 722, - 22 - ], - [ - 726, - 1 - ] - ], - "doc": "Public: Indent rows intersecting selections by one level. " - } - }, - "726": { - "23": { - "name": "outdentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 726, - 23 - ], - [ - 734, - 1 - ] - ], - "doc": "Public: Outdent rows intersecting selections by one level. " - } - }, - "734": { - "33": { - "name": "toggleLineCommentsInSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 734, - 33 - ], - [ - 739, - 1 - ] - ], - "doc": " Public: Toggle line comments for rows intersecting selections.\n\nIf the current grammar doesn't support comments, does nothing.\n\nReturns an {Array} of the commented {Range}s. " - } - }, - "739": { - "26": { - "name": "autoIndentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 739, - 26 - ], - [ - 744, - 1 - ] - ], - "doc": " Public: Indent rows intersecting selections based on the grammar's suggested\nindent level. " - } - }, - "744": { - "30": { - "name": "normalizeTabsInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 744, - 30 - ], - [ - 751, - 1 - ] - ], - "doc": " Private: If soft tabs are enabled, convert all hard tabs to soft tabs in the given\n{Range}. " - } - }, - "751": { - "18": { - "name": "cutToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 751, - 18 - ], - [ - 758, - 1 - ] - ], - "doc": " Public: For each selection, if the selection is empty, cut all characters\nof the containing line following the cursor. Otherwise cut the selected\ntext. " - } - }, - "758": { - "19": { - "name": "cutSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 758, - 19 - ], - [ - 765, - 1 - ] - ], - "doc": "Public: For each selection, cut the selected text. " - } - }, - "765": { - "20": { - "name": "copySelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 765, - 20 - ], - [ - 779, - 1 - ] - ], - "doc": "Public: For each selection, copy the selected text. " - } - }, - "779": { - "13": { - "name": "pasteText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 779, - 13 - ], - [ - 798, - 1 - ] - ], - "doc": " Public: For each selection, replace the selected text with the contents of\nthe clipboard.\n\nIf the clipboard contains the same number of selections as the current\neditor, each selection will be replaced with the content of the\ncorresponding clipboard selection text.\n\noptions - See {Selection::insertText}. " - } - }, - "798": { - "8": { - "name": "undo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 798, - 8 - ], - [ - 803, - 1 - ] - ], - "doc": "Public: Undo the last change. " - } - }, - "803": { - "8": { - "name": "redo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 803, - 8 - ], - [ - 812, - 1 - ] - ], - "doc": "Public: Redo the last change. " - } - }, - "812": { - "18": { - "name": "foldCurrentRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 812, - 18 - ], - [ - 817, - 1 - ] - ], - "doc": " Public: Fold the most recent cursor's row based on its indentation level.\n\nThe fold will extend from the nearest preceding line with a lower\nindentation level up to the nearest following row with a lower indentation\nlevel. " - } - }, - "817": { - "20": { - "name": "unfoldCurrentRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 817, - 20 - ], - [ - 822, - 1 - ] - ], - "doc": "Public: Unfold the most recent cursor's row by one level. " - } - }, - "822": { - "21": { - "name": "foldSelectedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 822, - 21 - ], - [ - 826, - 1 - ] - ], - "doc": "Public: For each selection, fold the rows it intersects. " - } - }, - "826": { - "11": { - "name": "foldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 826, - 11 - ], - [ - 830, - 1 - ] - ], - "doc": "Public: Fold all foldable lines. " - } - }, - "830": { - "13": { - "name": "unfoldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 830, - 13 - ], - [ - 836, - 1 - ] - ], - "doc": "Public: Unfold all existing folds. " - } - }, - "836": { - "24": { - "name": "foldAllAtIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "level" - ], - "range": [ - [ - 836, - 24 - ], - [ - 846, - 1 - ] - ], - "doc": " Public: Fold all foldable lines at the given indent level.\n\nlevel - A {Number}. " - } - }, - "846": { - "17": { - "name": "foldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 846, - 17 - ], - [ - 852, - 1 - ] - ], - "doc": " Public: Fold the given row in buffer coordinates based on its indentation\nlevel.\n\nIf the given row is foldable, the fold will begin there. Otherwise, it will\nbegin at the first foldable row preceding the given row.\n\nbufferRow - A {Number}. " - } - }, - "852": { - "19": { - "name": "unfoldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 852, - 19 - ], - [ - 862, - 1 - ] - ], - "doc": " Public: Unfold all folds containing the given row in buffer coordinates.\n\nbufferRow - A {Number} " - } - }, - "862": { - "25": { - "name": "isFoldableAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 862, - 25 - ], - [ - 865, - 1 - ] - ], - "doc": " Public: Determine whether the given row in buffer coordinates is foldable.\n\nA *foldable* row is a row that *starts* a row range that can be folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "865": { - "25": { - "name": "isFoldableAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 865, - 25 - ], - [ - 870, - 1 - ] - ], - "doc": "~Private~" - } - }, - "870": { - "14": { - "name": "createFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 870, - 14 - ], - [ - 874, - 1 - ] - ], - "doc": "TODO: Rename to foldRowRange? " - } - }, - "874": { - "21": { - "name": "destroyFoldWithId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 874, - 21 - ], - [ - 878, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.destroyFoldWithId} " - } - }, - "878": { - "39": { - "name": "destroyFoldsIntersectingBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 878, - 39 - ], - [ - 884, - 1 - ] - ], - "doc": "Private: Remove any {Fold}s found that intersect the given buffer row. " - } - }, - "884": { - "25": { - "name": "toggleFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 884, - 25 - ], - [ - 893, - 1 - ] - ], - "doc": " Public: Fold the given buffer row if it isn't currently folded, and unfold\nit otherwise. " - } - }, - "893": { - "23": { - "name": "isFoldedAtCursorRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 893, - 23 - ], - [ - 901, - 1 - ] - ], - "doc": " Public: Determine whether the most recently added cursor's row is folded.\n\nReturns a {Boolean}. " - } - }, - "901": { - "23": { - "name": "isFoldedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 901, - 23 - ], - [ - 909, - 1 - ] - ], - "doc": " Public: Determine whether the given row in buffer coordinates is folded.\n\nbufferRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "909": { - "23": { - "name": "isFoldedAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 909, - 23 - ], - [ - 913, - 1 - ] - ], - "doc": " Public: Determine whether the given row in screen coordinates is folded.\n\nscreenRow - A {Number}\n\nReturns a {Boolean}. " - } - }, - "913": { - "34": { - "name": "largestFoldContainingBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 913, - 34 - ], - [ - 917, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.largestFoldContainingBufferRow} " - } - }, - "917": { - "34": { - "name": "largestFoldStartingAtScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 917, - 34 - ], - [ - 921, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.largestFoldStartingAtScreenRow} " - } - }, - "921": { - "34": { - "name": "outermostFoldsInBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 921, - 34 - ], - [ - 926, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.outermostFoldsForBufferRowRange} " - } - }, - "926": { - "14": { - "name": "moveLineUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 926, - 14 - ], - [ - 979, - 1 - ] - ], - "doc": " Private: Move lines intersection the most recent selection up by one row in screen\ncoordinates. " - } - }, - "979": { - "16": { - "name": "moveLineDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 979, - 16 - ], - [ - 1034, - 1 - ] - ], - "doc": " Private: Move lines intersecting the most recent selection down by one row in screen\ncoordinates. " - } - }, - "1034": { - "18": { - "name": "duplicateLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1034, - 18 - ], - [ - 1060, - 1 - ] - ], - "doc": "Private: Duplicate the most recent cursor's current line. " - } - }, - "1060": { - "17": { - "name": "duplicateLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1060, - 17 - ], - [ - 1072, - 1 - ] - ], - "doc": "Deprecated: Use {::duplicateLines} instead. " - } - }, - "1072": { - "22": { - "name": "mutateSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1072, - 22 - ], - [ - 1075, - 1 - ] - ], - "doc": " Public: Mutate the text of all the selections in a single transaction.\n\nAll the changes made inside the given {Function} can be reverted with a\nsingle call to {::undo}.\n\nfn - A {Function} that will be called once for each {Selection}. The first\n argument will be a {Selection} and the second argument will be the\n {Number} index of that selection. " - } - }, - "1075": { - "23": { - "name": "replaceSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options", - "fn" - ], - "range": [ - [ - 1075, - 23 - ], - [ - 1096, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1096": { - "32": { - "name": "decorationsForScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 1096, - 32 - ], - [ - 1137, - 1 - ] - ], - "doc": " Public: Get all the decorations within a screen row range.\n\nstartScreenRow - the {Number} beginning screen row\nendScreenRow - the {Number} end screen row (inclusive)\n\nReturns an {Object} of decorations in the form\n `{1: [{id: 10, type: 'gutter', class: 'someclass'}], 2: ...}`\n where the keys are {Marker} IDs, and the values are an array of decoration\n params objects attached to the marker.\nReturns an empty object when no decorations are found " - } - }, - "1137": { - "18": { - "name": "decorateMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "decorationParams" - ], - "range": [ - [ - 1137, - 18 - ], - [ - 1140, - 1 - ] - ], - "doc": " Public: Adds a decoration that tracks a {Marker}. When the marker moves,\nis invalidated, or is destroyed, the decoration will be updated to reflect\nthe marker's state.\n\nThere are three types of supported decorations:\n* `line`: Adds your CSS `class` to the line nodes within the range\n marked by the marker\n* `gutter`: Adds your CSS `class` to the line number nodes within the\n range marked by the marker\n* `highlight`: Adds a new highlight div to the editor surrounding the\n range marked by the marker. When the user selects text, the selection is\n visualized with a highlight decoration internally. The structure of this\n highlight will be:\n ```html\n
    \">\n \n
    \n
    \n ```\n\nmarker - A {Marker} you want this decoration to follow.\ndecorationParams - An {Object} representing the decoration eg. `{type: 'gutter', class: 'linter-error'}`\n :type - There are a few supported decoration types:\n * `gutter`: Applies the decoration to the line numbers spanned by the marker.\n * `line`: Applies the decoration to the lines spanned by the marker.\n * `highlight`: Applies the decoration to a \"highlight\" behind the marked range.\n :class - This CSS class will be applied to the decorated line number,\n line, or highlight.\n :onlyHead - If `true`, the decoration will only be applied to the head\n of the marker. Only applicable to the `line` and `gutter` types.\n :onlyEmpty - If `true`, the decoration will only be applied if the\n associated marker is empty. Only applicable to the `line` and\n `gutter` types.\n :onlyNonEmpty - If `true`, the decoration will only be applied if the\n associated marker is non-empty. Only applicable to the `line` and\n gutter types.\n\nReturns a {Decoration} object " - } - }, - "1140": { - "19": { - "name": "decorationForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 1140, - 19 - ], - [ - 1144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1144": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 1144, - 13 - ], - [ - 1148, - 1 - ] - ], - "doc": "Public: Get the {DisplayBufferMarker} for the given marker id. " - } - }, - "1148": { - "14": { - "name": "getMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1148, - 14 - ], - [ - 1170, - 1 - ] - ], - "doc": "Public: Get all {DisplayBufferMarker}s. " - } - }, - "1170": { - "15": { - "name": "findMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "properties" - ], - "range": [ - [ - 1170, - 15 - ], - [ - 1179, - 1 - ] - ], - "doc": " Public: Find all {DisplayBufferMarker}s that match the given properties.\n\nThis method finds markers based on the given properties. Markers can be\nassociated with custom properties that will be compared with basic equality.\nIn addition, there are several special properties that will be compared\nwith the range of the markers rather than their properties.\n\nproperties - An {Object} containing properties that each returned marker\n must satisfy. Markers can be associated with custom properties, which are\n compared with basic equality. In addition, several reserved properties\n can be used to filter markers based on their current range:\n :startBufferRow - Only include markers starting at this row in buffer\n coordinates.\n :endBufferRow - Only include markers ending at this row in buffer\n coordinates.\n :containsBufferRange - Only include markers containing this {Range} or\n in range-compatible {Array} in buffer coordinates.\n :containsBufferPosition - Only include markers containing this {Point}\n or {Array} of `[row, column]` in buffer coordinates. " - } - }, - "1179": { - "19": { - "name": "markScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1179, - 19 - ], - [ - 1188, - 1 - ] - ], - "doc": " Public: Mark the given range in screen coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1188": { - "19": { - "name": "markBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1188, - 19 - ], - [ - 1197, - 1 - ] - ], - "doc": " Public: Mark the given range in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1197": { - "22": { - "name": "markScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1197, - 22 - ], - [ - 1206, - 1 - ] - ], - "doc": " Public: Mark the given position in screen coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1206": { - "22": { - "name": "markBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1206, - 22 - ], - [ - 1210, - 1 - ] - ], - "doc": " Public: Mark the given position in buffer coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.\n\nReturns a {DisplayBufferMarker}. " - } - }, - "1210": { - "17": { - "name": "destroyMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1210, - 17 - ], - [ - 1216, - 1 - ] - ], - "doc": "Private: {Delegates to: DisplayBuffer.destroyMarker} " - } - }, - "1216": { - "18": { - "name": "getMarkerCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1216, - 18 - ], - [ - 1220, - 1 - ] - ], - "doc": " Public: Get the number of markers in this editor's buffer.\n\nReturns a {Number}. " - } - }, - "1220": { - "22": { - "name": "hasMultipleCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1220, - 22 - ], - [ - 1224, - 1 - ] - ], - "doc": "Public: Determine if there are multiple cursors. " - } - }, - "1224": { - "14": { - "name": "getCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1224, - 14 - ], - [ - 1224, - 38 - ] - ], - "doc": "Public: Get an Array of all {Cursor}s. " - } - }, - "1227": { - "13": { - "name": "getCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1227, - 13 - ], - [ - 1233, - 1 - ] - ], - "doc": "Public: Get the most recently added {Cursor}. " - } - }, - "1233": { - "29": { - "name": "addCursorAtScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 1233, - 29 - ], - [ - 1240, - 1 - ] - ], - "doc": " Public: Add a cursor at the position in screen coordinates.\n\nReturns a {Cursor}. " - } - }, - "1240": { - "29": { - "name": "addCursorAtBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 1240, - 29 - ], - [ - 1245, - 1 - ] - ], - "doc": " Public: Add a cursor at the given position in buffer coordinates.\n\nReturns a {Cursor}. " - } - }, - "1245": { - "13": { - "name": "addCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1245, - 13 - ], - [ - 1255, - 1 - ] - ], - "doc": "Private: Add a cursor based on the given {DisplayBufferMarker}. " - } - }, - "1255": { - "16": { - "name": "removeCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "cursor" - ], - "range": [ - [ - 1255, - 16 - ], - [ - 1264, - 1 - ] - ], - "doc": "Private: Remove the given cursor from this editor. " - } - }, - "1264": { - "16": { - "name": "addSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker", - "options" - ], - "range": [ - [ - 1264, - 16 - ], - [ - 1288, - 1 - ] - ], - "doc": " Private: Add a {Selection} based on the given {DisplayBufferMarker}.\n\nmarker - The {DisplayBufferMarker} to highlight\noptions - An {Object} that pertains to the {Selection} constructor.\n\nReturns the new {Selection}. " - } - }, - "1288": { - "30": { - "name": "addSelectionForBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 1288, - 30 - ], - [ - 1301, - 1 - ] - ], - "doc": " Public: Add a selection for the given range in buffer coordinates.\n\nbufferRange - A {Range}\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation.\n\nReturns the added {Selection}. " - } - }, - "1301": { - "26": { - "name": "setSelectedBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 1301, - 26 - ], - [ - 1311, - 1 - ] - ], - "doc": " Public: Set the selected range in buffer coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nbufferRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1311": { - "26": { - "name": "setSelectedScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 1311, - 26 - ], - [ - 1321, - 1 - ] - ], - "doc": " Public: Set the selected range in screen coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nscreenRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1321": { - "27": { - "name": "setSelectedBufferRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRanges", - "options" - ], - "range": [ - [ - 1321, - 27 - ], - [ - 1336, - 1 - ] - ], - "doc": " Public: Set the selected ranges in buffer coordinates. If there are multiple\nselections, they are replaced by new selections with the given ranges.\n\nbufferRanges - An {Array} of {Range}s or range-compatible {Array}s.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - } - }, - "1336": { - "19": { - "name": "removeSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 1336, - 19 - ], - [ - 1342, - 1 - ] - ], - "doc": "Private: Remove the given selection. " - } - }, - "1342": { - "19": { - "name": "clearSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1342, - 19 - ], - [ - 1347, - 1 - ] - ], - "doc": " Private: Reduce one or more selections to a single empty selection based on the most\nrecently added cursor. " - } - }, - "1347": { - "25": { - "name": "consolidateSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1347, - 25 - ], - [ - 1355, - 1 - ] - ], - "doc": "Private: Reduce multiple selections to the most recently added selection. " - } - }, - "1355": { - "31": { - "name": "selectionScreenRangeChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 1355, - 31 - ], - [ - 1361, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1361": { - "17": { - "name": "getSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1361, - 17 - ], - [ - 1361, - 44 - ] - ], - "doc": " Public: Get current {Selection}s.\n\nReturns: An {Array} of {Selection}s. " - } - }, - "1363": { - "27": { - "name": "selectionsForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 1363, - 27 - ], - [ - 1374, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1374": { - "16": { - "name": "getSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 1374, - 16 - ], - [ - 1381, - 1 - ] - ], - "doc": " Public: Get the most recent {Selection} or the selection at the given\nindex.\n\nindex - Optional. The index of the selection to return, based on the order\n in which the selections were added.\n\nReturns a {Selection}.\nor the at the specified index. " - } - }, - "1381": { - "20": { - "name": "getLastSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1381, - 20 - ], - [ - 1388, - 1 - ] - ], - "doc": " Public: Get the most recently added {Selection}.\n\nReturns a {Selection}. " - } - }, - "1388": { - "40": { - "name": "getSelectionsOrderedByBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1388, - 40 - ], - [ - 1394, - 1 - ] - ], - "doc": " Public: Get all {Selection}s, ordered by their position in the buffer\ninstead of the order in which they were added.\n\nReturns an {Array} of {Selection}s. " - } - }, - "1394": { - "28": { - "name": "getLastSelectionInBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1394, - 28 - ], - [ - 1403, - 1 - ] - ], - "doc": " Public: Get the last {Selection} based on its position in the buffer.\n\nReturns a {Selection}. " - } - }, - "1403": { - "34": { - "name": "selectionIntersectsBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 1403, - 34 - ], - [ - 1415, - 1 - ] - ], - "doc": " Public: Determine if a given range in buffer coordinates intersects a\nselection.\n\nbufferRange - A {Range} or range-compatible {Array}.\n\nReturns a {Boolean}. " - } - }, - "1415": { - "27": { - "name": "setCursorScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "options" - ], - "range": [ - [ - 1415, - 27 - ], - [ - 1422, - 1 - ] - ], - "doc": " Public: Move the cursor to the given position in screen coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " - } - }, - "1422": { - "27": { - "name": "getCursorScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1422, - 27 - ], - [ - 1428, - 1 - ] - ], - "doc": " Public: Get the position of the most recently added cursor in screen\ncoordinates.\n\nReturns a {Point}. " - } - }, - "1428": { - "22": { - "name": "getCursorScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1428, - 22 - ], - [ - 1439, - 1 - ] - ], - "doc": " Public: Get the row of the most recently added cursor in screen coordinates.\n\nReturns the screen row {Number}. " - } - }, - "1439": { - "27": { - "name": "setCursorBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "options" - ], - "range": [ - [ - 1439, - 27 - ], - [ - 1446, - 1 - ] - ], - "doc": " Public: Move the cursor to the given position in buffer coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " - } - }, - "1446": { - "27": { - "name": "getCursorBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1446, - 27 - ], - [ - 1453, - 1 - ] - ], - "doc": " Public: Get the position of the most recently added cursor in buffer\ncoordinates.\n\nReturns a {Point}. " - } - }, - "1453": { - "26": { - "name": "getSelectedScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1453, - 26 - ], - [ - 1460, - 1 - ] - ], - "doc": " Public: Get the {Range} of the most recently added selection in screen\ncoordinates.\n\nReturns a {Range}. " - } - }, - "1460": { - "26": { - "name": "getSelectedBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1460, - 26 - ], - [ - 1468, - 1 - ] - ], - "doc": " Public: Get the {Range} of the most recently added selection in buffer\ncoordinates.\n\nReturns a {Range}. " - } - }, - "1468": { - "27": { - "name": "getSelectedBufferRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1468, - 27 - ], - [ - 1476, - 1 - ] - ], - "doc": " Public: Get the {Range}s of all selections in buffer coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " - } - }, - "1476": { - "27": { - "name": "getSelectedScreenRanges", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1476, - 27 - ], - [ - 1482, - 1 - ] - ], - "doc": " Public: Get the {Range}s of all selections in screen coordinates.\n\nThe ranges are sorted by their position in the buffer.\n\nReturns an {Array} of {Range}s. " - } - }, - "1482": { - "19": { - "name": "getSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1482, - 19 - ], - [ - 1490, - 1 - ] - ], - "doc": " Public: Get the selected text of the most recently added selection.\n\nReturns a {String}. " - } - }, - "1490": { - "24": { - "name": "getTextInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 1490, - 24 - ], - [ - 1499, - 1 - ] - ], - "doc": " Public: Get the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\n\nReturns a {String}. " - } - }, - "1499": { - "24": { - "name": "setTextInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range", - "text", - "normalizeLineEndings" - ], - "range": [ - [ - 1499, - 24 - ], - [ - 1499, - 124 - ] - ], - "doc": " Public: Set the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\ntext - A {String}\n\nReturns the {Range} of the newly-inserted text. " - } - }, - "1505": { - "34": { - "name": "getCurrentParagraphBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1505, - 34 - ], - [ - 1511, - 1 - ] - ], - "doc": " Public: Get the {Range} of the paragraph surrounding the most recently added\ncursor.\n\nReturns a {Range}. " - } - }, - "1511": { - "22": { - "name": "getWordUnderCursor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 1511, - 22 - ], - [ - 1515, - 1 - ] - ], - "doc": " Public: Returns the word surrounding the most recently added cursor.\n\noptions - See {Cursor::getBeginningOfCurrentWordBufferPosition}. " - } - }, - "1515": { - "16": { - "name": "moveCursorUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineCount" - ], - "range": [ - [ - 1515, - 16 - ], - [ - 1519, - 1 - ] - ], - "doc": "Public: Move every cursor up one row in screen coordinates. " - } - }, - "1519": { - "18": { - "name": "moveCursorDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineCount" - ], - "range": [ - [ - 1519, - 18 - ], - [ - 1523, - 1 - ] - ], - "doc": "Public: Move every cursor down one row in screen coordinates. " - } - }, - "1523": { - "18": { - "name": "moveCursorLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1523, - 18 - ], - [ - 1527, - 1 - ] - ], - "doc": "Public: Move every cursor left one column. " - } - }, - "1527": { - "19": { - "name": "moveCursorRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1527, - 19 - ], - [ - 1533, - 1 - ] - ], - "doc": "Public: Move every cursor right one column. " - } - }, - "1533": { - "19": { - "name": "moveCursorToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1533, - 19 - ], - [ - 1539, - 1 - ] - ], - "doc": " Public: Move every cursor to the top of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " - } - }, - "1539": { - "22": { - "name": "moveCursorToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1539, - 22 - ], - [ - 1543, - 1 - ] - ], - "doc": " Public: Move every cursor to the bottom of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " - } - }, - "1543": { - "37": { - "name": "moveCursorToBeginningOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1543, - 37 - ], - [ - 1547, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its line in screen coordinates. " - } - }, - "1547": { - "31": { - "name": "moveCursorToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1547, - 31 - ], - [ - 1551, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its line in buffer coordinates. " - } - }, - "1551": { - "36": { - "name": "moveCursorToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1551, - 36 - ], - [ - 1555, - 1 - ] - ], - "doc": "Public: Move every cursor to the first non-whitespace character of its line. " - } - }, - "1555": { - "31": { - "name": "moveCursorToEndOfScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1555, - 31 - ], - [ - 1559, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its line in screen coordinates. " - } - }, - "1559": { - "25": { - "name": "moveCursorToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1559, - 25 - ], - [ - 1563, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its line in buffer coordinates. " - } - }, - "1563": { - "31": { - "name": "moveCursorToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1563, - 31 - ], - [ - 1567, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of its surrounding word. " - } - }, - "1567": { - "25": { - "name": "moveCursorToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1567, - 25 - ], - [ - 1571, - 1 - ] - ], - "doc": "Public: Move every cursor to the end of its surrounding word. " - } - }, - "1571": { - "35": { - "name": "moveCursorToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1571, - 35 - ], - [ - 1575, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the next word. " - } - }, - "1575": { - "36": { - "name": "moveCursorToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1575, - 36 - ], - [ - 1579, - 1 - ] - ], - "doc": "Public: Move every cursor to the previous word boundary. " - } - }, - "1579": { - "32": { - "name": "moveCursorToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1579, - 32 - ], - [ - 1583, - 1 - ] - ], - "doc": "Public: Move every cursor to the next word boundary. " - } - }, - "1583": { - "40": { - "name": "moveCursorToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1583, - 40 - ], - [ - 1587, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the next paragraph. " - } - }, - "1587": { - "44": { - "name": "moveCursorToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1587, - 44 - ], - [ - 1596, - 1 - ] - ], - "doc": "Public: Move every cursor to the beginning of the previous paragraph. " - } - }, - "1596": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 1596, - 26 - ], - [ - 1599, - 1 - ] - ], - "doc": " Public: Scroll the editor to reveal the most recently added cursor if it is\noff-screen.\n\noptions - An optional hash of options.\n :center - Center the editor around the cursor if possible. Defauls to\n true. " - } - }, - "1599": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1599, - 10 - ], - [ - 1604, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1604": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1604, - 12 - ], - [ - 1609, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1609": { - "16": { - "name": "selectPageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1609, - 16 - ], - [ - 1612, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1612": { - "18": { - "name": "selectPageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1612, - 18 - ], - [ - 1616, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1616": { - "18": { - "name": "getRowsPerPage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1616, - 18 - ], - [ - 1619, - 1 - ] - ], - "doc": "Private: Returns the number of rows per page " - } - }, - "1619": { - "15": { - "name": "moveCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1619, - 15 - ], - [ - 1626, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1626": { - "15": { - "name": "cursorMoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 1626, - 15 - ], - [ - 1636, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1636": { - "26": { - "name": "selectToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 1636, - 26 - ], - [ - 1645, - 1 - ] - ], - "doc": " Public: Select from the current cursor position to the given position in\nscreen coordinates.\n\nThis method may merge selections that end up intesecting.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "1645": { - "15": { - "name": "selectRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1645, - 15 - ], - [ - 1652, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character rightward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1652": { - "14": { - "name": "selectLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1652, - 14 - ], - [ - 1659, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character leftward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1659": { - "12": { - "name": "selectUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 1659, - 12 - ], - [ - 1666, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character upward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1666": { - "14": { - "name": "selectDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 1666, - 14 - ], - [ - 1673, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection one character downward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1673": { - "15": { - "name": "selectToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1673, - 15 - ], - [ - 1679, - 1 - ] - ], - "doc": " Public: Select from the top of the buffer to the end of the last selection\nin the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1679": { - "13": { - "name": "selectAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1679, - 13 - ], - [ - 1686, - 1 - ] - ], - "doc": " Public: Select all text in the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1686": { - "18": { - "name": "selectToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1686, - 18 - ], - [ - 1693, - 1 - ] - ], - "doc": " Public: Selects from the top of the first selection in the buffer to the end\nof the buffer.\n\nThis method merges multiple selections into a single selection. " - } - }, - "1693": { - "27": { - "name": "selectToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1693, - 27 - ], - [ - 1702, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the beginning of its line\nwhile preserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - } - }, - "1702": { - "32": { - "name": "selectToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1702, - 32 - ], - [ - 1709, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the first non-whitespace\ncharacter of its line while preserving the selection's tail position. If the\ncursor is already on the first character of the line, move it to the\nbeginning of the line.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1709": { - "21": { - "name": "selectToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1709, - 21 - ], - [ - 1716, - 1 - ] - ], - "doc": " Public: Move the cursor of each selection to the end of its line while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1716": { - "32": { - "name": "selectToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1716, - 32 - ], - [ - 1723, - 1 - ] - ], - "doc": " Public: For each selection, move its cursor to the preceding word boundary\nwhile maintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1723": { - "28": { - "name": "selectToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1723, - 28 - ], - [ - 1729, - 1 - ] - ], - "doc": " Public: For each selection, move its cursor to the next word boundary while\nmaintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - } - }, - "1729": { - "14": { - "name": "selectLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1729, - 14 - ], - [ - 1740, - 1 - ] - ], - "doc": " Public: For each cursor, select the containing line.\n\nThis method merges selections on successive lines. " - } - }, - "1740": { - "21": { - "name": "addSelectionBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1740, - 21 - ], - [ - 1751, - 1 - ] - ], - "doc": " Public: Add a similarly-shaped selection to the next eligible line below\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next following non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " - } - }, - "1751": { - "21": { - "name": "addSelectionAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1751, - 21 - ], - [ - 1759, - 1 - ] - ], - "doc": " Public: Add a similarly-shaped selection to the next eligible line above\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next preceding non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " - } - }, - "1759": { - "28": { - "name": "splitSelectionsIntoLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1759, - 28 - ], - [ - 1776, - 1 - ] - ], - "doc": " Public: Split multi-line selections into one selection per line.\n\nOperates on all selections. This method breaks apart all multi-line\nselections to create multiple single-line selections that cumulatively cover\nthe same original area. " - } - }, - "1776": { - "13": { - "name": "transpose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1776, - 13 - ], - [ - 1791, - 1 - ] - ], - "doc": " Public: For each selection, transpose the selected text.\n\nIf the selection is empty, the characters preceding and following the cursor\nare swapped. Otherwise, the selected characters are reversed. " - } - }, - "1791": { - "13": { - "name": "upperCase", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1791, - 13 - ], - [ - 1798, - 1 - ] - ], - "doc": " Public: Convert the selected text to upper case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " - } - }, - "1798": { - "13": { - "name": "lowerCase", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1798, - 13 - ], - [ - 1809, - 1 - ] - ], - "doc": " Public: Convert the selected text to lower case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " - } - }, - "1809": { - "13": { - "name": "joinLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1809, - 13 - ], - [ - 1816, - 1 - ] - ], - "doc": " Private: Convert multiple lines to a single line.\n\nOperates on all selections. If the selection is empty, joins the current\nline with the next line. Otherwise it joins all lines that intersect the\nselection.\n\nJoining a line means that multiple lines are converted to a single line with\nthe contents of each of the original non-empty lines separated by a space. " - } - }, - "1816": { - "27": { - "name": "selectToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1816, - 27 - ], - [ - 1823, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of their containing word.\n\nOperates on all selections. Moves the cursor to the beginning of the\ncontaining word while preserving the selection's tail position. " - } - }, - "1823": { - "21": { - "name": "selectToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1823, - 21 - ], - [ - 1830, - 1 - ] - ], - "doc": " Public: Expand selections to the end of their containing word.\n\nOperates on all selections. Moves the cursor to the end of the containing\nword while preserving the selection's tail position. " - } - }, - "1830": { - "31": { - "name": "selectToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1830, - 31 - ], - [ - 1834, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next word.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nword while preserving the selection's tail position. " - } - }, - "1834": { - "14": { - "name": "selectWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1834, - 14 - ], - [ - 1841, - 1 - ] - ], - "doc": "Public: Select the word containing each cursor. " - } - }, - "1841": { - "36": { - "name": "selectToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1841, - 36 - ], - [ - 1848, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " - } - }, - "1848": { - "40": { - "name": "selectToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1848, - 40 - ], - [ - 1856, - 1 - ] - ], - "doc": " Public: Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " - } - }, - "1856": { - "16": { - "name": "selectMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1856, - 16 - ], - [ - 1863, - 1 - ] - ], - "doc": " Public: Select the range of the given marker if it is valid.\n\nmarker - A {DisplayBufferMarker}\n\nReturns the selected {Range} or `undefined` if the marker is invalid. " - } - }, - "1863": { - "16": { - "name": "mergeCursors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1863, - 16 - ], - [ - 1873, - 1 - ] - ], - "doc": "Private: Merge cursors that have the same screen position " - } - }, - "1873": { - "27": { - "name": "expandSelectionsForward", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1873, - 27 - ], - [ - 1879, - 1 - ] - ], - "doc": "Private: Calls the given function with each selection, then merges selections " - } - }, - "1879": { - "28": { - "name": "expandSelectionsBackward", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1879, - 28 - ], - [ - 1883, - 1 - ] - ], - "doc": " Private: Calls the given function with each selection, then merges selections in the\nreversed orientation " - } - }, - "1883": { - "22": { - "name": "finalizeSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1883, - 22 - ], - [ - 1889, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1889": { - "31": { - "name": "mergeIntersectingSelections", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 1889, - 31 - ], - [ - 1910, - 1 - ] - ], - "doc": " Private: Merges intersecting selections. If passed a function, it executes\nthe function with merging suppressed, then merges intersecting selections\nafterward. " - } - }, - "1910": { - "40": { - "name": "preserveCursorPositionOnBufferReload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1910, - 40 - ], - [ - 1919, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1919": { - "14": { - "name": "getGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1919, - 14 - ], - [ - 1926, - 1 - ] - ], - "doc": "Public: Get the current {Grammar} of this editor. " - } - }, - "1926": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 1926, - 14 - ], - [ - 1930, - 1 - ] - ], - "doc": " Public: Set the current {Grammar} of this editor.\n\nAssigning a grammar will cause the editor to re-tokenize based on the new\ngrammar. " - } - }, - "1930": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1930, - 17 - ], - [ - 1933, - 1 - ] - ], - "doc": "Private: Reload the grammar based on the file name. " - } - }, - "1933": { - "20": { - "name": "shouldAutoIndent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1933, - 20 - ], - [ - 1944, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1944": { - "12": { - "name": "transact", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1944, - 12 - ], - [ - 1944, - 39 - ] - ], - "doc": " Public: Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " - } - }, - "1952": { - "20": { - "name": "beginTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1952, - 20 - ], - [ - 1952, - 48 - ] - ], - "doc": " Public: Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " - } - }, - "1958": { - "21": { - "name": "commitTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1958, - 21 - ], - [ - 1958, - 50 - ] - ], - "doc": " Public: Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " - } - }, - "1962": { - "20": { - "name": "abortTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1962, - 20 - ], - [ - 1962, - 48 - ] - ], - "doc": " Public: Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " - } - }, - "1964": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1964, - 11 - ], - [ - 1967, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1967": { - "18": { - "name": "logScreenLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 1967, - 18 - ], - [ - 1967, - 68 - ] - ], - "doc": "~Private~" - } - }, - "1969": { - "22": { - "name": "handleTokenization", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1969, - 22 - ], - [ - 1972, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1972": { - "23": { - "name": "handleGrammarChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1972, - 23 - ], - [ - 1976, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1976": { - "23": { - "name": "handleMarkerCreated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "marker" - ], - "range": [ - [ - 1976, - 23 - ], - [ - 1980, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1980": { - "32": { - "name": "getSelectionMarkerAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1980, - 32 - ], - [ - 1983, - 1 - ] - ], - "doc": "~Private~" - } - }, - "1983": { - "27": { - "name": "getVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1983, - 27 - ], - [ - 1983, - 69 - ] - ], - "doc": "~Private~" - } - }, - "1984": { - "27": { - "name": "setVerticalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "verticalScrollMargin" - ], - "range": [ - [ - 1984, - 27 - ], - [ - 1984, - 112 - ] - ] - } - }, - "1986": { - "29": { - "name": "getHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1986, - 29 - ], - [ - 1986, - 73 - ] - ], - "doc": "~Private~" - } - }, - "1987": { - "29": { - "name": "setHorizontalScrollMargin", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "horizontalScrollMargin" - ], - "range": [ - [ - 1987, - 29 - ], - [ - 1987, - 120 - ] - ] - } - }, - "1989": { - "25": { - "name": "getLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1989, - 25 - ], - [ - 1989, - 65 - ] - ], - "doc": "~Private~" - } - }, - "1990": { - "25": { - "name": "setLineHeightInPixels", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeightInPixels" - ], - "range": [ - [ - 1990, - 25 - ], - [ - 1990, - 104 - ] - ] - } - }, - "1992": { - "29": { - "name": "batchCharacterMeasurement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 1992, - 29 - ], - [ - 1992, - 80 - ] - ], - "doc": "~Private~" - } - }, - "1994": { - "22": { - "name": "getScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char" - ], - "range": [ - [ - 1994, - 22 - ], - [ - 1994, - 94 - ] - ], - "doc": "~Private~" - } - }, - "1995": { - "22": { - "name": "setScopedCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames", - "char", - "width" - ], - "range": [ - [ - 1995, - 22 - ], - [ - 1995, - 108 - ] - ] - } - }, - "1997": { - "23": { - "name": "getScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeNames" - ], - "range": [ - [ - 1997, - 23 - ], - [ - 1997, - 84 - ] - ], - "doc": "~Private~" - } - }, - "1999": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1999, - 25 - ], - [ - 1999, - 65 - ] - ], - "doc": "~Private~" - } - }, - "2001": { - "23": { - "name": "getDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2001, - 23 - ], - [ - 2001, - 61 - ] - ], - "doc": "~Private~" - } - }, - "2002": { - "23": { - "name": "setDefaultCharWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "defaultCharWidth" - ], - "range": [ - [ - 2002, - 23 - ], - [ - 2002, - 96 - ] - ] - } - }, - "2004": { - "13": { - "name": "setHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "height" - ], - "range": [ - [ - 2004, - 13 - ], - [ - 2004, - 56 - ] - ], - "doc": "~Private~" - } - }, - "2005": { - "13": { - "name": "getHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2005, - 13 - ], - [ - 2005, - 41 - ] - ] - } - }, - "2007": { - "19": { - "name": "getClientHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2007, - 19 - ], - [ - 2007, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2009": { - "12": { - "name": "setWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width" - ], - "range": [ - [ - 2009, - 12 - ], - [ - 2009, - 52 - ] - ], - "doc": "~Private~" - } - }, - "2010": { - "12": { - "name": "getWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2010, - 12 - ], - [ - 2010, - 39 - ] - ] - } - }, - "2012": { - "16": { - "name": "getScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2012, - 16 - ], - [ - 2012, - 47 - ] - ], - "doc": "~Private~" - } - }, - "2013": { - "16": { - "name": "setScrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 2013, - 16 - ], - [ - 2013, - 68 - ] - ] - } - }, - "2015": { - "19": { - "name": "getScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2015, - 19 - ], - [ - 2015, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2016": { - "19": { - "name": "setScrollBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollBottom" - ], - "range": [ - [ - 2016, - 19 - ], - [ - 2016, - 80 - ] - ] - } - }, - "2018": { - "17": { - "name": "getScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2018, - 17 - ], - [ - 2018, - 49 - ] - ], - "doc": "~Private~" - } - }, - "2019": { - "17": { - "name": "setScrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 2019, - 17 - ], - [ - 2019, - 72 - ] - ] - } - }, - "2021": { - "18": { - "name": "getScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2021, - 18 - ], - [ - 2021, - 51 - ] - ], - "doc": "~Private~" - } - }, - "2022": { - "18": { - "name": "setScrollRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollRight" - ], - "range": [ - [ - 2022, - 18 - ], - [ - 2022, - 76 - ] - ] - } - }, - "2024": { - "19": { - "name": "getScrollHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2024, - 19 - ], - [ - 2024, - 53 - ] - ], - "doc": "~Private~" - } - }, - "2025": { - "18": { - "name": "getScrollWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollWidth" - ], - "range": [ - [ - 2025, - 18 - ], - [ - 2025, - 76 - ] - ] - } - }, - "2027": { - "22": { - "name": "getVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2027, - 22 - ], - [ - 2027, - 59 - ] - ], - "doc": "~Private~" - } - }, - "2029": { - "29": { - "name": "intersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 2029, - 29 - ], - [ - 2029, - 108 - ] - ], - "doc": "~Private~" - } - }, - "2031": { - "38": { - "name": "selectionIntersectsVisibleRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selection" - ], - "range": [ - [ - 2031, - 38 - ], - [ - 2031, - 112 - ] - ], - "doc": "~Private~" - } - }, - "2033": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 2033, - 34 - ], - [ - 2033, - 114 - ] - ], - "doc": "~Private~" - } - }, - "2035": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 2035, - 34 - ], - [ - 2035, - 114 - ] - ], - "doc": "~Private~" - } - }, - "2037": { - "34": { - "name": "screenPositionForPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 2037, - 34 - ], - [ - 2037, - 112 - ] - ], - "doc": "~Private~" - } - }, - "2039": { - "27": { - "name": "pixelRectForScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange" - ], - "range": [ - [ - 2039, - 27 - ], - [ - 2039, - 94 - ] - ], - "doc": "~Private~" - } - }, - "2041": { - "23": { - "name": "scrollToScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 2041, - 23 - ], - [ - 2041, - 104 - ] - ], - "doc": "~Private~" - } - }, - "2043": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 2043, - 26 - ], - [ - 2043, - 116 - ] - ], - "doc": "~Private~" - } - }, - "2045": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 2045, - 26 - ], - [ - 2045, - 116 - ] - ], - "doc": "~Private~" - } - }, - "2047": { - "26": { - "name": "horizontallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2047, - 26 - ], - [ - 2047, - 67 - ] - ], - "doc": "~Private~" - } - }, - "2049": { - "24": { - "name": "verticallyScrollable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2049, - 24 - ], - [ - 2049, - 63 - ] - ], - "doc": "~Private~" - } - }, - "2051": { - "32": { - "name": "getHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2051, - 32 - ], - [ - 2051, - 79 - ] - ], - "doc": "~Private~" - } - }, - "2052": { - "32": { - "name": "setHorizontalScrollbarHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "height" - ], - "range": [ - [ - 2052, - 32 - ], - [ - 2052, - 94 - ] - ] - } - }, - "2054": { - "29": { - "name": "getVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2054, - 29 - ], - [ - 2054, - 73 - ] - ], - "doc": "~Private~" - } - }, - "2055": { - "29": { - "name": "setVerticalScrollbarWidth", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "width" - ], - "range": [ - [ - 2055, - 29 - ], - [ - 2055, - 86 - ] - ] - } - }, - "2058": { - "12": { - "name": "joinLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 2058, - 12 - ], - [ - 2060, - 16 - ] - ], - "doc": "Deprecated: Call {::joinLines} instead. " - } - } - }, - "exports": 138 - }, - "src/fold.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Range", - "exportsProperty": "Range" - } - }, - "7": { - "0": { - "type": "class", - "name": "Fold", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 8, - 6 - ], - [ - 9, - 17 - ], - [ - 10, - 10 - ], - [ - 12, - 15 - ], - [ - 20, - 22 - ], - [ - 27, - 11 - ], - [ - 35, - 18 - ], - [ - 48, - 21 - ], - [ - 53, - 15 - ], - [ - 57, - 13 - ], - [ - 61, - 11 - ], - [ - 67, - 21 - ], - [ - 75, - 21 - ], - [ - 78, - 23 - ], - [ - 82, - 13 - ] - ], - "doc": " Private: Represents a fold that collapses multiple buffer lines into a single\nline on the screen.\n\nTheir creation is managed by the {DisplayBuffer}. ", - "range": [ - [ - 7, - 0 - ], - [ - 84, - 26 - ] - ] - } - }, - "8": { - "6": { - "name": "id", - "type": "primitive", - "range": [ - [ - 8, - 6 - ], - [ - 8, - 9 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "17": { - "name": "displayBuffer", - "type": "primitive", - "range": [ - [ - 9, - 17 - ], - [ - 9, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "10": { - "name": "marker", - "type": "primitive", - "range": [ - [ - 10, - 10 - ], - [ - 10, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 20, - 1 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "22": { - "name": "isInsideLargerFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 22 - ], - [ - 27, - 1 - ] - ], - "doc": "Private: Returns whether this fold is contained within another fold " - } - }, - "27": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 11 - ], - [ - 35, - 1 - ] - ], - "doc": "Private: Destroys this fold " - } - }, - "35": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 35, - 18 - ], - [ - 48, - 1 - ] - ], - "doc": " Private: Returns the fold's {Range} in buffer coordinates\n\nincludeNewline - A {Boolean} which, if `true`, includes the trailing newline\n\nReturns a {Range}. " - } - }, - "48": { - "21": { - "name": "getBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 21 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "15": { - "name": "getStartRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 15 - ], - [ - 57, - 1 - ] - ], - "doc": "Private: Returns the fold's start row as a {Number}. " - } - }, - "57": { - "13": { - "name": "getEndRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 13 - ], - [ - 61, - 1 - ] - ], - "doc": "Private: Returns the fold's end row as a {Number}. " - } - }, - "61": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 11 - ], - [ - 67, - 1 - ] - ], - "doc": "Private: Returns a {String} representation of the fold. " - } - }, - "67": { - "21": { - "name": "getBufferRowCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 21 - ], - [ - 75, - 1 - ] - ], - "doc": " Private: Retrieves the number of buffer rows spanned by the fold.\n\nReturns a {Number}. " - } - }, - "75": { - "21": { - "name": "isContainedByFold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fold" - ], - "range": [ - [ - 75, - 21 - ], - [ - 78, - 1 - ] - ], - "doc": " Private: Identifies if a fold is nested within a fold.\n\nfold - A {Fold} to check\n\nReturns a {Boolean}. " - } - }, - "78": { - "23": { - "name": "updateDisplayBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 78, - 23 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 13 - ], - [ - 84, - 26 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 7 - }, - "src/git.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true, - "name": "join", - "exportsProperty": "join" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "5": { - "11": { - "name": "GitUtils", - "type": "import", - "range": [ - [ - 5, - 11 - ], - [ - 5, - 29 - ] - ], - "bindingType": "variable", - "module": "git-utils@^2.1.3" - } - }, - "7": { - "7": { - "name": "Task", - "type": "import", - "range": [ - [ - 7, - 7 - ], - [ - 7, - 22 - ] - ], - "bindingType": "variable", - "path": "./task" - } - }, - "40": { - "0": { - "type": "class", - "name": "Git", - "bindingType": "exports", - "classProperties": [ - [ - 52, - 9 - ], - [ - 59, - 11 - ] - ], - "prototypeProperties": [ - [ - 66, - 15 - ], - [ - 89, - 21 - ], - [ - 97, - 11 - ], - [ - 109, - 11 - ], - [ - 117, - 16 - ], - [ - 120, - 11 - ], - [ - 124, - 23 - ], - [ - 132, - 17 - ], - [ - 149, - 17 - ], - [ - 152, - 20 - ], - [ - 155, - 18 - ], - [ - 158, - 15 - ], - [ - 161, - 13 - ], - [ - 165, - 19 - ], - [ - 169, - 14 - ], - [ - 181, - 16 - ], - [ - 196, - 16 - ], - [ - 209, - 21 - ], - [ - 222, - 16 - ], - [ - 231, - 15 - ], - [ - 247, - 22 - ], - [ - 265, - 16 - ], - [ - 276, - 18 - ], - [ - 282, - 16 - ], - [ - 291, - 21 - ], - [ - 298, - 22 - ], - [ - 310, - 17 - ], - [ - 318, - 23 - ], - [ - 330, - 37 - ], - [ - 338, - 23 - ], - [ - 342, - 13 - ], - [ - 346, - 17 - ] - ], - "doc": " Public: Represents the underlying git operations performed by Atom.\n\nThis class shouldn't be instantiated directly but instead by accessing the\n`atom.project` global and calling `getRepo()`. Note that this will only be\navailable when the project is backed by a Git repository.\n\nThis class handles submodules automatically by taking a `path` argument to many\nof the methods. This `path` argument will determine which underlying\nrepository is used.\n\nFor a repository with submodules this would have the following outcome:\n\n```coffee\nrepo = atom.project.getRepo()\nrepo.getShortHead() # 'master'\nrepo.getShortHead('vendor/path/to/a/submodule') # 'dead1234'\n```\n\n## Example\n\n```coffeescript\ngit = atom.project.getRepo()\nconsole.log git.getOriginUrl()\n```\n\n## Requiring in packages\n\n```coffee\n {Git} = require 'atom'\n``` ", - "range": [ - [ - 40, - 0 - ], - [ - 364, - 55 - ] - ] - } - }, - "52": { - "9": { - "name": "open", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "path", - "options" - ], - "range": [ - [ - 52, - 9 - ], - [ - 59, - 1 - ] - ], - "doc": " Public: Creates a new Git instance.\n\npath - The path to the Git repository to open.\noptions - An object with the following keys (default: {}):\n :refreshOnWindowFocus - `true` to refresh the index and statuses when the\n window is focused.\n\nReturns a Git instance or null if the repository could not be opened. " - } - }, - "59": { - "11": { - "name": "exists", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 59, - 11 - ], - [ - 66, - 1 - ] - ], - "doc": "~Private~" - } - }, - "66": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "options" - ], - "range": [ - [ - 66, - 15 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "subscribeToBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer" - ], - "range": [ - [ - 89, - 21 - ], - [ - 97, - 1 - ] - ], - "doc": "Private: Subscribes to buffer events. " - } - }, - "97": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 97, - 11 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Destroy this `Git` object. This destroys any tasks and subscriptions\nand releases the underlying libgit2 repository handle. " - } - }, - "109": { - "11": { - "name": "getRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 109, - 11 - ], - [ - 117, - 1 - ] - ], - "doc": "Private: Returns the corresponding {Repository} " - } - }, - "117": { - "16": { - "name": "refreshIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 16 - ], - [ - 117, - 43 - ] - ], - "doc": " Private: Reread the index to update any values that have changed since the\nlast time the index was read. " - } - }, - "120": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 120, - 11 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Returns the {String} path of the repository. " - } - }, - "124": { - "23": { - "name": "getWorkingDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 23 - ], - [ - 124, - 57 - ] - ], - "doc": "Public: Returns the {String} working directory path of the repository. " - } - }, - "132": { - "17": { - "name": "getPathStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 132, - 17 - ], - [ - 149, - 1 - ] - ], - "doc": " Public: Get the status of a single path in the repository.\n\npath - A {String} repository-relative path.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " - } - }, - "149": { - "17": { - "name": "isPathIgnored", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 149, - 17 - ], - [ - 149, - 65 - ] - ], - "doc": " Public: Is the given path ignored?\n\nReturns a {Boolean}. " - } - }, - "152": { - "20": { - "name": "isStatusModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 152, - 20 - ], - [ - 152, - 66 - ] - ], - "doc": "Public: Returns true if the given status indicates modification. " - } - }, - "155": { - "18": { - "name": "isPathModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 155, - 18 - ], - [ - 155, - 66 - ] - ], - "doc": "Public: Returns true if the given path is modified. " - } - }, - "158": { - "15": { - "name": "isStatusNew", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "status" - ], - "range": [ - [ - 158, - 15 - ], - [ - 158, - 56 - ] - ], - "doc": "Public: Returns true if the given status indicates a new path. " - } - }, - "161": { - "13": { - "name": "isPathNew", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 161, - 13 - ], - [ - 161, - 56 - ] - ], - "doc": "Public: Returns true if the given path is new. " - } - }, - "165": { - "19": { - "name": "isProjectAtRoot", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 19 - ], - [ - 169, - 1 - ] - ], - "doc": " Public: Returns true if at the root, false if in a subfolder of the\nrepository. " - } - }, - "169": { - "14": { - "name": "relativize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 169, - 14 - ], - [ - 169, - 50 - ] - ], - "doc": "Public: Makes a path relative to the repository's working directory. " - } - }, - "181": { - "16": { - "name": "getShortHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 181, - 16 - ], - [ - 181, - 54 - ] - ], - "doc": " Public: Retrieves a shortened version of the HEAD reference value.\n\nThis removes the leading segments of `refs/heads`, `refs/tags`, or\n`refs/remotes`. It also shortens the SHA-1 of a detached `HEAD` to 7\ncharacters.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository contains submodules.\n\nReturns a {String}. " - } - }, - "196": { - "16": { - "name": "checkoutHead", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 196, - 16 - ], - [ - 209, - 1 - ] - ], - "doc": " Public: Restore the contents of a path in the working directory and index\nto the version at `HEAD`.\n\nThis is essentially the same as running:\n\n```\ngit reset HEAD -- \ngit checkout HEAD -- \n```\n\npath - The {String} path to checkout.\n\nReturns a {Boolean} that's true if the method was successful. " - } - }, - "209": { - "21": { - "name": "checkoutReference", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "create" - ], - "range": [ - [ - 209, - 21 - ], - [ - 222, - 1 - ] - ], - "doc": " Public: Checks out a branch in your repository.\n\nreference - The String reference to checkout\ncreate - A Boolean value which, if true creates the new reference if it\n doesn't exist.\n\nReturns a Boolean that's true if the method was successful. " - } - }, - "222": { - "16": { - "name": "getDiffStats", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 222, - 16 - ], - [ - 231, - 1 - ] - ], - "doc": " Public: Retrieves the number of lines added and removed to a path.\n\nThis compares the working directory contents of the path to the `HEAD`\nversion.\n\npath - The {String} path to check.\n\nReturns an {Object} with the following keys:\n :added - The {Number} of added lines.\n :deleted - The {Number} of deleted lines. " - } - }, - "231": { - "15": { - "name": "isSubmodule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 231, - 15 - ], - [ - 247, - 1 - ] - ], - "doc": " Public: Is the given path a submodule in the repository?\n\npath - The {String} path to check.\n\nReturns a {Boolean}. " - } - }, - "247": { - "22": { - "name": "getDirectoryStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "directoryPath" - ], - "range": [ - [ - 247, - 22 - ], - [ - 265, - 1 - ] - ], - "doc": " Public: Get the status of a directory in the repository's working directory.\n\npath - The {String} path to check.\n\nReturns a {Number} representing the status. This value can be passed to\n{::isStatusModified} or {::isStatusNew} to get more information. " - } - }, - "265": { - "16": { - "name": "getLineDiffs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "text" - ], - "range": [ - [ - 265, - 16 - ], - [ - 276, - 1 - ] - ], - "doc": " Public: Retrieves the line diffs comparing the `HEAD` version of the given\npath and the given text.\n\npath - The {String} path relative to the repository.\ntext - The {String} to compare against the `HEAD` contents\n\nReturns an {Array} of hunk {Object}s with the following keys:\n :oldStart - The line {Number} of the old hunk.\n :newStart - The line {Number} of the new hunk.\n :oldLines - The {Number} of lines in the old hunk.\n :newLines - The {Number} of lines in the new hunk " - } - }, - "276": { - "18": { - "name": "getConfigValue", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "key", - "path" - ], - "range": [ - [ - 276, - 18 - ], - [ - 276, - 66 - ] - ], - "doc": " Public: Returns the git configuration value specified by the key.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " - } - }, - "282": { - "16": { - "name": "getOriginUrl", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 282, - 16 - ], - [ - 282, - 67 - ] - ], - "doc": " Public: Returns the origin url of the repository.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " - } - }, - "291": { - "21": { - "name": "getUpstreamBranch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 291, - 21 - ], - [ - 291, - 64 - ] - ], - "doc": " Public: Returns the upstream branch for the current HEAD, or null if there\nis no upstream branch for the current HEAD.\n\npath - An optional {String} path in the repo to get this information for,\n only needed if the repository contains submodules.\n\nReturns a {String} branch name such as `refs/remotes/origin/master`. " - } - }, - "298": { - "22": { - "name": "getReferenceTarget", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "path" - ], - "range": [ - [ - 298, - 22 - ], - [ - 310, - 1 - ] - ], - "doc": " Public: Returns the current SHA for the given reference.\n\nreference - The {String} reference to get the target of.\npath - An optional {String} path in the repo to get the reference target\n for. Only needed if the repository contains submodules. " - } - }, - "310": { - "17": { - "name": "getReferences", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 310, - 17 - ], - [ - 310, - 56 - ] - ], - "doc": " Public: Gets all the local and remote references.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :heads - An {Array} of head reference names.\n :remotes - An {Array} of remote reference names.\n :tags - An {Array} of tag reference names. " - } - }, - "318": { - "23": { - "name": "getAheadBehindCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "reference", - "path" - ], - "range": [ - [ - 318, - 23 - ], - [ - 330, - 1 - ] - ], - "doc": " Public: Returns the number of commits behind the current branch is from the\nits upstream remote branch.\n\nreference - The {String} branch reference name.\npath - The {String} path in the repository to get this information for,\n only needed if the repository contains submodules. " - } - }, - "330": { - "37": { - "name": "getCachedUpstreamAheadBehindCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 330, - 37 - ], - [ - 338, - 1 - ] - ], - "doc": " Public: Get the cached ahead/behind commit counts for the current branch's\nupstream branch.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.\n\nReturns an {Object} with the following keys:\n :ahead - The {Number} of commits ahead.\n :behind - The {Number} of commits behind. " - } - }, - "338": { - "23": { - "name": "getCachedPathStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path" - ], - "range": [ - [ - 338, - 23 - ], - [ - 342, - 1 - ] - ], - "doc": " Public: Get the cached status for the given path.\n\npath - A {String} path in the repository, relative or absolute.\n\nReturns a status {Number} or null if the path is not in the cache. " - } - }, - "342": { - "13": { - "name": "hasBranch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "branch" - ], - "range": [ - [ - 342, - 13 - ], - [ - 342, - 68 - ] - ], - "doc": "Public: Returns true if the given branch exists. " - } - }, - "346": { - "17": { - "name": "refreshStatus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 17 - ], - [ - 364, - 55 - ] - ], - "doc": " Private: Refreshes the current git status in an outside process and asynchronously\nupdates the relevant properties. " - } - } - }, - "exports": 40 - }, - "src/gutter-component.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork@^0.11.1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork@^1.0.0", - "name": "div", - "exportsProperty": "div" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqual", - "exportsProperty": "isEqual" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 29 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "32": { - "type": "import", - "range": [ - [ - 3, - 32 - ], - [ - 3, - 45 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "multiplyString", - "exportsProperty": "multiplyString" - }, - "48": { - "type": "import", - "range": [ - [ - 3, - 48 - ], - [ - 3, - 54 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "toArray", - "exportsProperty": "toArray" - } - }, - "4": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 4, - 13 - ], - [ - 4, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "5": { - "18": { - "name": "SubscriberMixin", - "type": "import", - "range": [ - [ - 5, - 18 - ], - [ - 5, - 45 - ] - ], - "bindingType": "variable", - "path": "./subscriber-mixin" - } - }, - "7": { - "13": { - "name": "WrapperDiv", - "type": "function", - "range": [ - [ - 7, - 13 - ], - [ - 7, - 41 - ] - ] - } - }, - "10": { - "18": { - "name": "GutterComponent", - "type": "function", - "range": [ - [ - 10, - 18 - ], - [ - 227, - 39 - ] - ] - } - }, - "11": { - "15": { - "name": "'GutterComponent'", - "type": "primitive", - "range": [ - [ - 11, - 15 - ], - [ - 11, - 31 - ] - ] - } - }, - "12": { - "10": { - "type": "primitive", - "range": [ - [ - 12, - 10 - ], - [ - 12, - 26 - ] - ] - } - }, - "14": { - "23": { - "type": "primitive", - "range": [ - [ - 14, - 23 - ], - [ - 14, - 26 - ] - ] - } - }, - "15": { - "17": { - "type": "primitive", - "range": [ - [ - 15, - 17 - ], - [ - 15, - 20 - ] - ] - } - }, - "17": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 10 - ], - [ - 29, - 1 - ] - ], - "doc": null - } - }, - "29": { - "16": { - "name": "getTransform", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 16 - ], - [ - 37, - 1 - ] - ], - "doc": null - } - }, - "37": { - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 37, - 22 - ], - [ - 43, - 1 - ] - ], - "doc": null - } - }, - "43": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 21 - ], - [ - 50, - 1 - ] - ], - "doc": null - } - }, - "50": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 50, - 25 - ], - [ - 64, - 1 - ] - ], - "doc": null - } - }, - "64": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "oldProps" - ], - "range": [ - [ - 64, - 22 - ], - [ - 74, - 1 - ] - ], - "doc": null - } - }, - "74": { - "24": { - "name": "clearScreenRowCaches", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 24 - ], - [ - 80, - 1 - ] - ], - "doc": null - } - }, - "80": { - "25": { - "name": "appendDummyLineNumber", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 80, - 25 - ], - [ - 86, - 1 - ] - ], - "doc": null - } - }, - "86": { - "25": { - "name": "updateDummyLineNumber", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 25 - ], - [ - 89, - 1 - ] - ], - "doc": null - } - }, - "89": { - "21": { - "name": "updateLineNumbers", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 93, - 1 - ] - ], - "doc": null - } - }, - "93": { - "40": { - "name": "appendOrUpdateVisibleLineNumberNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 93, - 40 - ], - [ - 138, - 1 - ] - ], - "doc": null - } - }, - "138": { - "25": { - "name": "removeLineNumberNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberIdsToPreserve" - ], - "range": [ - [ - 138, - 25 - ], - [ - 150, - 1 - ] - ], - "doc": null - } - }, - "150": { - "23": { - "name": "buildLineNumberHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bufferRow", - "softWrapped", - "maxLineNumberDigits", - "screenRow" - ], - "range": [ - [ - 150, - 23 - ], - [ - 169, - 1 - ] - ], - "doc": null - } - }, - "169": { - "28": { - "name": "buildLineNumberInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bufferRow", - "softWrapped", - "maxLineNumberDigits" - ], - "range": [ - [ - 169, - 28 - ], - [ - 179, - 1 - ] - ], - "doc": null - } - }, - "179": { - "24": { - "name": "updateLineNumberNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberId", - "bufferRow", - "screenRow", - "softWrapped" - ], - "range": [ - [ - 179, - 24 - ], - [ - 208, - 1 - ] - ], - "doc": null - } - }, - "208": { - "17": { - "name": "hasDecoration", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "decorations", - "decoration" - ], - "range": [ - [ - 208, - 17 - ], - [ - 211, - 1 - ] - ], - "doc": null - } - }, - "211": { - "21": { - "name": "hasLineNumberNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineNumberId" - ], - "range": [ - [ - 211, - 21 - ], - [ - 214, - 1 - ] - ], - "doc": null - } - }, - "214": { - "30": { - "name": "lineNumberNodeForScreenRow", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 214, - 30 - ], - [ - 217, - 1 - ] - ], - "doc": null - } - }, - "217": { - "11": { - "name": "onClick", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 217, - 11 - ], - [ - 227, - 39 - ] - ], - "doc": null - } - } - }, - "exports": 10 - }, - "src/gutter-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "10": { - "type": "import", - "range": [ - [ - 0, - 10 - ], - [ - 0, - 11 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - }, - "14": { - "type": "import", - "range": [ - [ - 0, - 14 - ], - [ - 0, - 16 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$$", - "exportsProperty": "$$$" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Range", - "exportsProperty": "Range" - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "8": { - "0": { - "type": "class", - "name": "GutterView", - "superClass": "View", - "bindingType": "exports", - "classProperties": [ - [ - 9, - 12 - ] - ], - "prototypeProperties": [ - [ - 13, - 18 - ], - [ - 14, - 17 - ], - [ - 16, - 14 - ], - [ - 19, - 15 - ], - [ - 28, - 16 - ], - [ - 31, - 21 - ], - [ - 53, - 17 - ], - [ - 56, - 13 - ], - [ - 62, - 22 - ], - [ - 68, - 25 - ], - [ - 74, - 33 - ], - [ - 83, - 24 - ], - [ - 91, - 22 - ], - [ - 101, - 27 - ], - [ - 115, - 18 - ], - [ - 126, - 23 - ], - [ - 135, - 21 - ], - [ - 169, - 23 - ], - [ - 175, - 22 - ], - [ - 179, - 22 - ], - [ - 190, - 21 - ], - [ - 194, - 25 - ], - [ - 221, - 25 - ], - [ - 235, - 24 - ], - [ - 242, - 20 - ], - [ - 250, - 18 - ] - ], - "doc": " Private: Represents the portion of the {EditorView} containing row numbers.\n\nThe gutter also indicates if rows are folded. ", - "range": [ - [ - 8, - 0 - ], - [ - 274, - 29 - ] - ] - } - }, - "9": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 12 - ], - [ - 13, - 1 - ] - ] - } - }, - "13": { - "18": { - "name": "firstScreenRow", - "type": "primitive", - "range": [ - [ - 13, - 18 - ], - [ - 13, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "17": { - "name": "lastScreenRow", - "type": "primitive", - "range": [ - [ - 14, - 17 - ], - [ - 14, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 14 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 19, - 15 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 16 - ], - [ - 31, - 1 - ] - ], - "doc": "~Private~" - } - }, - "31": { - "21": { - "name": "handleMouseEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 31, - 21 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "17": { - "name": "getEditorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 17 - ], - [ - 56, - 1 - ] - ], - "doc": " Private: Retrieves the containing {EditorView}.\n\nReturns an {EditorView}. " - } - }, - "56": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 13 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "22": { - "name": "setShowLineNumbers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showLineNumbers" - ], - "range": [ - [ - 62, - 22 - ], - [ - 68, - 1 - ] - ], - "doc": " Private: Defines whether to show the gutter or not.\n\nshowLineNumbers - A {Boolean} which, if `false`, hides the gutter " - } - }, - "68": { - "25": { - "name": "getLineNumberElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 68, - 25 - ], - [ - 74, - 1 - ] - ], - "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " - } - }, - "74": { - "33": { - "name": "getLineNumberElementsForClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 74, - 33 - ], - [ - 83, - 1 - ] - ], - "doc": " Private: Get all the line-number divs.\n\nReturns a list of {HTMLElement}s. " - } - }, - "83": { - "24": { - "name": "getLineNumberElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 83, - 24 - ], - [ - 91, - 1 - ] - ], - "doc": " Private: Get a single line-number div.\n\n* bufferRow: 0 based line number\n\nReturns a list of {HTMLElement}s that correspond to the bufferRow. More than\none in the list indicates a wrapped line. " - } - }, - "91": { - "22": { - "name": "addClassToAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 91, - 22 - ], - [ - 101, - 1 - ] - ], - "doc": " Private: Add a class to all line-number divs.\n\n* klass: string class name\n\nReturns true if the class was added to any lines " - } - }, - "101": { - "27": { - "name": "removeClassFromAllLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "klass" - ], - "range": [ - [ - 101, - 27 - ], - [ - 115, - 1 - ] - ], - "doc": " Private: Remove a class from all line-number divs.\n\n* klass: string class name. Can only be one class name. i.e. 'my-class'\n\nReturns true if the class was removed from any lines " - } - }, - "115": { - "18": { - "name": "addClassToLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "klass" - ], - "range": [ - [ - 115, - 18 - ], - [ - 126, - 1 - ] - ], - "doc": " Private: Add a class to a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was added to " - } - }, - "126": { - "23": { - "name": "removeClassFromLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "klass" - ], - "range": [ - [ - 126, - 23 - ], - [ - 135, - 1 - ] - ], - "doc": " Private: Remove a class from a single line-number div\n\n* bufferRow: 0 based line number\n* klass: string class name\n\nReturns true if there were lines the class was removed from " - } - }, - "135": { - "21": { - "name": "updateLineNumbers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "changes", - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 135, - 21 - ], - [ - 169, - 1 - ] - ], - "doc": "~Private~" - } - }, - "169": { - "23": { - "name": "prependLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElements" - ], - "range": [ - [ - 169, - 23 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "22": { - "name": "appendLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineElements" - ], - "range": [ - [ - 175, - 22 - ], - [ - 179, - 1 - ] - ], - "doc": "~Private~" - } - }, - "179": { - "22": { - "name": "removeLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "numberOfElements" - ], - "range": [ - [ - 179, - 22 - ], - [ - 190, - 1 - ] - ], - "doc": "~Private~" - } - }, - "190": { - "21": { - "name": "buildLineElements", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 190, - 21 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "25": { - "name": "buildLineElementsHtml", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startScreenRow", - "endScreenRow" - ], - "range": [ - [ - 194, - 25 - ], - [ - 221, - 1 - ] - ], - "doc": "~Private~" - } - }, - "221": { - "25": { - "name": "updateFoldableClasses", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "changes" - ], - "range": [ - [ - 221, - 25 - ], - [ - 235, - 1 - ] - ], - "doc": " Private: Called to update the 'foldable' class of line numbers when there's\na change to the display buffer that doesn't regenerate all the line numbers\nanyway. " - } - }, - "235": { - "24": { - "name": "removeLineHighlights", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 235, - 24 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "20": { - "name": "addLineHighlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "emptySelection" - ], - "range": [ - [ - 242, - 20 - ], - [ - 250, - 1 - ] - ], - "doc": "~Private~" - } - }, - "250": { - "18": { - "name": "highlightLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 250, - 18 - ], - [ - 274, - 29 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/highlight-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork@^0.11.1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork@^1.0.0", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "21": { - "name": "HighlightComponent", - "type": "function", - "range": [ - [ - 5, - 21 - ], - [ - 89, - 110 - ] - ] - } - }, - "6": { - "15": { - "name": "'HighlightComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 34 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 20, - 1 - ] - ], - "doc": null - } - }, - "20": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 21 - ], - [ - 27, - 1 - ] - ], - "doc": null - } - }, - "27": { - "24": { - "name": "componentWillUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 24 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "23": { - "name": "startFlashAnimation", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 23 - ], - [ - 42, - 1 - ] - ], - "doc": null - } - }, - "42": { - "27": { - "name": "renderSingleLineRegions", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 27 - ], - [ - 53, - 1 - ] - ], - "doc": null - } - }, - "53": { - "26": { - "name": "renderMultiLineRegions", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 26 - ], - [ - 88, - 1 - ] - ], - "doc": null - } - }, - "88": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 88, - 25 - ], - [ - 89, - 110 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/highlights-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork@^0.11.1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork@^1.0.0", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "3": { - "21": { - "name": "HighlightComponent", - "type": "import", - "range": [ - [ - 3, - 21 - ], - [ - 3, - 51 - ] - ], - "bindingType": "variable", - "path": "./highlight-component" - } - }, - "6": { - "22": { - "name": "HighlightsComponent", - "type": "function", - "range": [ - [ - 6, - 22 - ], - [ - 24, - 148 - ] - ] - } - }, - "7": { - "15": { - "name": "'HighlightsComponent'", - "type": "primitive", - "range": [ - [ - 7, - 15 - ], - [ - 7, - 35 - ] - ] - } - }, - "9": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 10 - ], - [ - 13, - 1 - ] - ], - "doc": null - } - }, - "13": { - "20": { - "name": "renderHighlights", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 20 - ], - [ - 23, - 1 - ] - ], - "doc": null - } - }, - "23": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 23, - 25 - ], - [ - 24, - 148 - ] - ], - "doc": null - } - } - }, - "exports": 6 - }, - "src/input-component.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "last", - "exportsProperty": "last" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 13 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqual", - "exportsProperty": "isEqual" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork@^0.11.1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork@^1.0.0", - "name": "input", - "exportsProperty": "input" - } - }, - "5": { - "17": { - "name": "InputComponent", - "type": "function", - "range": [ - [ - 5, - 17 - ], - [ - 43, - 25 - ] - ] - } - }, - "6": { - "15": { - "name": "'InputComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 30 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 13, - 1 - ] - ], - "doc": null - } - }, - "13": { - "19": { - "name": "getInitialState", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 19 - ], - [ - 16, - 1 - ] - ], - "doc": null - } - }, - "16": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 21 - ], - [ - 21, - 1 - ] - ], - "doc": null - } - }, - "21": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 22 - ], - [ - 27, - 1 - ] - ], - "doc": null - } - }, - "27": { - "27": { - "name": "isPressAndHoldCharacter", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "char" - ], - "range": [ - [ - 27, - 27 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 30, - 25 - ], - [ - 33, - 1 - ] - ], - "doc": null - } - }, - "33": { - "11": { - "name": "onPaste", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 33, - 11 - ], - [ - 36, - 1 - ] - ], - "doc": null - } - }, - "36": { - "11": { - "name": "onFocus", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 36, - 11 - ], - [ - 39, - 1 - ] - ], - "doc": null - } - }, - "39": { - "10": { - "name": "onBlur", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 39, - 10 - ], - [ - 42, - 1 - ] - ], - "doc": null - } - }, - "42": { - "9": { - "name": "focus", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 9 - ], - [ - 43, - 25 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/keymap-extensions.coffee": { - "objects": { - "0": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 0, - 5 - ], - [ - 0, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "16": { - "name": "KeymapManager", - "type": "import", - "range": [ - [ - 2, - 16 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "atom-keymap@^1.0.2" - } - }, - "3": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1.0.2" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 6 - ] - ], - "bindingType": "variable", - "module": "space-pen@3.2.0", - "name": "jQuery", - "exportsProperty": "jQuery" - } - }, - "6": { - "36": { - "name": "KeymapManager.prototype.loadBundledKeymaps", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 36 - ], - [ - 9, - 0 - ] - ], - "doc": null - } - }, - "10": { - "35": { - "name": "KeymapManager.prototype.getUserKeymapPath", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 35 - ], - [ - 15, - 0 - ] - ], - "doc": null - } - }, - "16": { - "32": { - "name": "KeymapManager.prototype.loadUserKeymap", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 32 - ], - [ - 22, - 74 - ] - ], - "doc": null - } - }, - "23": { - "32": { - "name": "jQuery.Event.prototype.abortKeyBinding", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 23, - 32 - ], - [ - 25, - 0 - ] - ], - "doc": null - } - } - }, - "exports": 26 - }, - "src/language-mode.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 10 - ] - ], - "bindingType": "variable", - "module": "oniguruma@^3.0.3", - "name": "OnigRegExp", - "exportsProperty": "OnigRegExp" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 3, - 10 - ], - [ - 3, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "6": { - "0": { - "type": "class", - "name": "LanguageMode", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 15 - ], - [ - 16, - 11 - ], - [ - 19, - 33 - ], - [ - 30, - 35 - ], - [ - 100, - 11 - ], - [ - 107, - 13 - ], - [ - 114, - 24 - ], - [ - 128, - 17 - ], - [ - 141, - 30 - ], - [ - 146, - 33 - ], - [ - 161, - 34 - ], - [ - 181, - 25 - ], - [ - 186, - 29 - ], - [ - 194, - 32 - ], - [ - 201, - 30 - ], - [ - 208, - 35 - ], - [ - 241, - 31 - ], - [ - 265, - 29 - ], - [ - 274, - 24 - ], - [ - 281, - 23 - ], - [ - 288, - 34 - ], - [ - 308, - 23 - ], - [ - 312, - 32 - ], - [ - 315, - 32 - ], - [ - 318, - 25 - ] - ], - "doc": "~Private~", - "range": [ - [ - 6, - 0 - ], - [ - 319, - 57 - ] - ] - } - }, - "13": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 13, - 15 - ], - [ - 16, - 1 - ] - ], - "doc": " Private: Sets up a `LanguageMode` for the given {Editor}.\n\neditor - The {Editor} to associate with " - } - }, - "16": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 16, - 11 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "33": { - "name": "toggleLineCommentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 19, - 33 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "35": { - "name": "toggleLineCommentsForBufferRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 30, - 35 - ], - [ - 100, - 1 - ] - ], - "doc": " Private: Wraps the lines between two rows in comments.\n\nIf the language doesn't have comment, nothing happens.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns an {Array} of the commented {Ranges}. " - } - }, - "100": { - "11": { - "name": "foldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 100, - 11 - ], - [ - 107, - 1 - ] - ], - "doc": "Private: Folds all the foldable lines in the buffer. " - } - }, - "107": { - "13": { - "name": "unfoldAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 13 - ], - [ - 114, - 1 - ] - ], - "doc": "Private: Unfolds all the foldable lines in the buffer. " - } - }, - "114": { - "24": { - "name": "foldAllAtIndentLevel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "indentLevel" - ], - "range": [ - [ - 114, - 24 - ], - [ - 128, - 1 - ] - ], - "doc": " Private: Fold all comment and code blocks at a given indentLevel\n\nindentLevel - A {Number} indicating indentLevel; 0 based. " - } - }, - "128": { - "17": { - "name": "foldBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 128, - 17 - ], - [ - 141, - 1 - ] - ], - "doc": " Private: Given a buffer row, creates a fold at it.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns the new {Fold}. " - } - }, - "141": { - "30": { - "name": "rowRangeForFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 141, - 30 - ], - [ - 146, - 1 - ] - ], - "doc": " Private: Find the row range for a fold at a given bufferRow. Will handle comments\nand code.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns an {Array} of the [startRow, endRow]. Returns null if no range. " - } - }, - "146": { - "33": { - "name": "rowRangeForCommentAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 146, - 33 - ], - [ - 161, - 1 - ] - ], - "doc": "~Private~" - } - }, - "161": { - "34": { - "name": "rowRangeForCodeFoldAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 161, - 34 - ], - [ - 181, - 1 - ] - ], - "doc": "~Private~" - } - }, - "181": { - "25": { - "name": "isFoldableAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 181, - 25 - ], - [ - 186, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether the given buffer row starts a\nfoldable row range. Rows that are \"foldable\" have a fold icon next to their\nicon in the gutter in the default configuration. " - } - }, - "186": { - "29": { - "name": "isFoldableCodeAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 186, - 29 - ], - [ - 194, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na a foldable row range due to the code's indentation patterns. " - } - }, - "194": { - "32": { - "name": "isFoldableCommentAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 194, - 32 - ], - [ - 201, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the given buffer row starts\na foldable row range due to being the start of a multi-line comment. " - } - }, - "201": { - "30": { - "name": "isLineCommentedAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 201, - 30 - ], - [ - 208, - 1 - ] - ], - "doc": " Private: Returns a {Boolean} indicating whether the line at the given buffer\nrow is a comment. " - } - }, - "208": { - "35": { - "name": "rowRangeForParagraphAtBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 208, - 35 - ], - [ - 241, - 1 - ] - ], - "doc": " Private: Find a row range for a 'paragraph' around specified bufferRow.\nRight now, a paragraph is a block of text bounded by and empty line or a\nblock of text that is not the same type (comments next to source code). " - } - }, - "241": { - "31": { - "name": "suggestedIndentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 241, - 31 - ], - [ - 265, - 1 - ] - ], - "doc": " Private: Given a buffer row, this returns a suggested indentation level.\n\nThe indentation level provided is based on the current {LanguageMode}.\n\nbufferRow - A {Number} indicating the buffer row\n\nReturns a {Number}. " - } - }, - "265": { - "29": { - "name": "minIndentLevelForRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 265, - 29 - ], - [ - 274, - 1 - ] - ], - "doc": " Private: Calculate a minimum indent level for a range of lines excluding empty lines.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at\n\nReturns a {Number} of the indent level of the block of lines. " - } - }, - "274": { - "24": { - "name": "autoIndentBufferRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 274, - 24 - ], - [ - 281, - 1 - ] - ], - "doc": " Private: Indents all the rows between two buffer row numbers.\n\nstartRow - The row {Number} to start at\nendRow - The row {Number} to end at " - } - }, - "281": { - "23": { - "name": "autoIndentBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow", - "options" - ], - "range": [ - [ - 281, - 23 - ], - [ - 288, - 1 - ] - ], - "doc": " Private: Given a buffer row, this indents it.\n\nbufferRow - The row {Number}.\noptions - An options {Object} to pass through to {Editor::setIndentationForBufferRow}. " - } - }, - "288": { - "34": { - "name": "autoDecreaseIndentForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRow" - ], - "range": [ - [ - 288, - 34 - ], - [ - 308, - 1 - ] - ], - "doc": " Private: Given a buffer row, this decreases the indentation.\n\nbufferRow - The row {Number} " - } - }, - "308": { - "23": { - "name": "getRegexForProperty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes", - "property" - ], - "range": [ - [ - 308, - 23 - ], - [ - 312, - 1 - ] - ], - "doc": "~Private~" - } - }, - "312": { - "32": { - "name": "increaseIndentRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 312, - 32 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "32": { - "name": "decreaseIndentRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 315, - 32 - ], - [ - 318, - 1 - ] - ], - "doc": "~Private~" - } - }, - "318": { - "25": { - "name": "foldEndRegexForScopes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopes" - ], - "range": [ - [ - 318, - 25 - ], - [ - 319, - 57 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 6 - }, - "src/less-compile-cache.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 1, - 5 - ], - [ - 1, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "2": { - "12": { - "name": "LessCache", - "type": "import", - "range": [ - [ - 2, - 12 - ], - [ - 2, - 31 - ] - ], - "bindingType": "variable", - "module": "less-cache@0.13.0" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "7": { - "0": { - "type": "class", - "name": "LessCompileCache", - "bindingType": "exports", - "classProperties": [ - [ - 10, - 13 - ] - ], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 29, - 18 - ], - [ - 32, - 8 - ], - [ - 35, - 14 - ], - [ - 38, - 11 - ] - ], - "doc": "Private: {LessCache} wrapper used by {ThemeManager} to read stylesheets. ", - "range": [ - [ - 7, - 0 - ], - [ - 38, - 28 - ] - ] - } - }, - "10": { - "13": { - "name": "cacheDir", - "type": "function", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 71 - ] - ], - "bindingType": "classProperty" - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 29, - 1 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "18": { - "name": "setImportPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "importPaths" - ], - "range": [ - [ - 29, - 18 - ], - [ - 32, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "8": { - "name": "read", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 32, - 8 - ], - [ - 35, - 1 - ] - ], - "doc": "~Private~" - } - }, - "35": { - "14": { - "name": "cssForFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "lessContent" - ], - "range": [ - [ - 35, - 14 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 38, - 11 - ], - [ - 38, - 27 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 7 - }, - "src/lines-component.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork@^0.11.1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork@^1.0.0", - "name": "div", - "exportsProperty": "div" - }, - "6": { - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 9 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork@^1.0.0", - "name": "span", - "exportsProperty": "span" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "debounce", - "exportsProperty": "debounce" - }, - "11": { - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 17 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqual", - "exportsProperty": "isEqual" - }, - "20": { - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 39 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - }, - "42": { - "type": "import", - "range": [ - [ - 3, - 42 - ], - [ - 3, - 55 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "multiplyString", - "exportsProperty": "multiplyString" - }, - "58": { - "type": "import", - "range": [ - [ - 3, - 58 - ], - [ - 3, - 64 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "toArray", - "exportsProperty": "toArray" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 2 - ] - ], - "bindingType": "variable", - "module": "space-pen@3.2.0", - "name": "$$", - "exportsProperty": "$$" - } - }, - "6": { - "13": { - "name": "Decoration", - "type": "import", - "range": [ - [ - 6, - 13 - ], - [ - 6, - 34 - ] - ], - "bindingType": "variable", - "path": "./decoration" - } - }, - "7": { - "19": { - "name": "CursorsComponent", - "type": "import", - "range": [ - [ - 7, - 19 - ], - [ - 7, - 47 - ] - ], - "bindingType": "variable", - "path": "./cursors-component" - } - }, - "8": { - "22": { - "name": "HighlightsComponent", - "type": "import", - "range": [ - [ - 8, - 22 - ], - [ - 8, - 53 - ] - ], - "bindingType": "variable", - "path": "./highlights-component" - } - }, - "10": { - "16": { - "type": "primitive", - "range": [ - [ - 10, - 16 - ], - [ - 10, - 111 - ] - ] - } - }, - "11": { - "15": { - "type": "primitive", - "range": [ - [ - 11, - 15 - ], - [ - 11, - 55 - ] - ] - }, - "28": { - "name": "acceptNode", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 11, - 28 - ], - [ - 11, - 54 - ] - ], - "doc": null - } - }, - "12": { - "13": { - "name": "WrapperDiv", - "type": "function", - "range": [ - [ - 12, - 13 - ], - [ - 12, - 41 - ] - ] - } - }, - "15": { - "17": { - "name": "LinesComponent", - "type": "function", - "range": [ - [ - 15, - 17 - ], - [ - 348, - 41 - ] - ] - } - }, - "16": { - "15": { - "name": "'LinesComponent'", - "type": "primitive", - "range": [ - [ - 16, - 15 - ], - [ - 16, - 30 - ] - ] - } - }, - "18": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 18, - 10 - ], - [ - 44, - 1 - ] - ], - "doc": null - } - }, - "44": { - "16": { - "name": "getTransform", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 16 - ], - [ - 52, - 1 - ] - ], - "doc": null - } - }, - "52": { - "22": { - "name": "componentWillMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 22 - ], - [ - 59, - 1 - ] - ], - "doc": null - } - }, - "59": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 59, - 25 - ], - [ - 79, - 1 - ] - ], - "doc": null - } - }, - "79": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "prevProps" - ], - "range": [ - [ - 79, - 22 - ], - [ - 88, - 1 - ] - ], - "doc": null - } - }, - "88": { - "24": { - "name": "clearScreenRowCaches", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 24 - ], - [ - 92, - 1 - ] - ], - "doc": null - } - }, - "92": { - "15": { - "name": "updateLines", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "updateWidth" - ], - "range": [ - [ - 92, - 15 - ], - [ - 100, - 1 - ] - ], - "doc": null - } - }, - "100": { - "19": { - "name": "removeLineNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "visibleLines" - ], - "range": [ - [ - 100, - 19 - ], - [ - 114, - 1 - ] - ], - "doc": null - } - }, - "114": { - "34": { - "name": "appendOrUpdateVisibleLineNodes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "visibleLines", - "startRow", - "updateWidth" - ], - "range": [ - [ - 114, - 34 - ], - [ - 145, - 1 - ] - ], - "doc": null - } - }, - "145": { - "15": { - "name": "hasLineNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "lineId" - ], - "range": [ - [ - 145, - 15 - ], - [ - 148, - 1 - ] - ], - "doc": null - } - }, - "148": { - "17": { - "name": "buildLineHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "screenRow" - ], - "range": [ - [ - 148, - 17 - ], - [ - 171, - 1 - ] - ], - "doc": null - } - }, - "171": { - "27": { - "name": "buildEmptyLineInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 171, - 27 - ], - [ - 198, - 1 - ] - ], - "doc": null - } - }, - "198": { - "22": { - "name": "buildLineInnerHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 198, - 22 - ], - [ - 215, - 1 - ] - ], - "doc": null - } - }, - "215": { - "22": { - "name": "buildEndOfLineHTML", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "invisibles" - ], - "range": [ - [ - 215, - 22 - ], - [ - 228, - 1 - ] - ], - "doc": null - } - }, - "228": { - "20": { - "name": "updateScopeStack", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 228, - 20 - ], - [ - 245, - 1 - ] - ], - "doc": null - } - }, - "245": { - "12": { - "name": "popScope", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack" - ], - "range": [ - [ - 245, - 12 - ], - [ - 249, - 1 - ] - ], - "doc": null - } - }, - "249": { - "13": { - "name": "pushScope", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "scopeStack", - "scope" - ], - "range": [ - [ - 249, - 13 - ], - [ - 253, - 1 - ] - ], - "doc": null - } - }, - "253": { - "18": { - "name": "updateLineNode", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "line", - "screenRow", - "updateWidth" - ], - "range": [ - [ - 253, - 18 - ], - [ - 278, - 1 - ] - ], - "doc": null - } - }, - "278": { - "17": { - "name": "hasDecoration", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "decorations", - "decoration" - ], - "range": [ - [ - 278, - 17 - ], - [ - 281, - 1 - ] - ], - "doc": null - } - }, - "281": { - "24": { - "name": "lineNodeForScreenRow", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 281, - 24 - ], - [ - 284, - 1 - ] - ], - "doc": null - } - }, - "284": { - "40": { - "name": "measureLineHeightAndDefaultCharWidth", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 40 - ], - [ - 295, - 1 - ] - ], - "doc": null - } - }, - "295": { - "28": { - "name": "remeasureCharacterWidths", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 295, - 28 - ], - [ - 299, - 1 - ] - ], - "doc": null - } - }, - "299": { - "31": { - "name": "measureCharactersInNewLines", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 299, - 31 - ], - [ - 311, - 1 - ] - ], - "doc": null - } - }, - "311": { - "27": { - "name": "measureCharactersInLine", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "tokenizedLine", - "lineNode" - ], - "range": [ - [ - 311, - 27 - ], - [ - 346, - 1 - ] - ], - "doc": null - } - }, - "346": { - "25": { - "name": "clearScopedCharWidths", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 346, - 25 - ], - [ - 348, - 41 - ] - ], - "doc": null - } - } - }, - "exports": 15 - }, - "src/menu-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "3": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 3, - 6 - ], - [ - 3, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1.0.2" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "12": { - "0": { - "type": "class", - "name": "MenuManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 15 - ], - [ - 37, - 7 - ], - [ - 47, - 19 - ], - [ - 79, - 10 - ], - [ - 88, - 21 - ], - [ - 96, - 9 - ], - [ - 107, - 27 - ], - [ - 117, - 24 - ], - [ - 121, - 18 - ], - [ - 130, - 21 - ] - ], - "doc": " Public: Provides a registry for menu items that you'd like to appear in the\napplication menu.\n\nAn instance of this class is always available as the `atom.menu` global. ", - "range": [ - [ - 12, - 0 - ], - [ - 131, - 49 - ] - ] - } - }, - "13": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 13, - 15 - ], - [ - 37, - 1 - ] - ] - } - }, - "37": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 37, - 7 - ], - [ - 47, - 1 - ] - ], - "doc": " Public: Adds the given item definition to the existing template.\n\n## Example\n```coffee\n atom.menu.add [\n {\n label: 'Hello'\n submenu : [{label: 'World!', command: 'hello:world'}]\n }\n ]\n```\n\nitems - An {Array} of menu item {Object}s containing the keys:\n :label - The {String} menu label.\n :submenu - An optional {Array} of sub menu items.\n :command - An optional {String} command to trigger when the item is\n clicked.\n\nReturns nothing. " - } - }, - "47": { - "19": { - "name": "includeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 47, - 19 - ], - [ - 79, - 1 - ] - ], - "doc": " Private: Should the binding for the given selector be included in the menu\ncommands.\n\nselector - A {String} selector to check.\n\nReturns true to include the selector, false otherwise. " - } - }, - "79": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 10 - ], - [ - 88, - 1 - ] - ], - "doc": "Public: Refreshes the currently visible menu. " - } - }, - "88": { - "21": { - "name": "loadPlatformItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 21 - ], - [ - 96, - 1 - ] - ], - "doc": "~Private~" - } - }, - "96": { - "9": { - "name": "merge", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "menu", - "item" - ], - "range": [ - [ - 96, - 9 - ], - [ - 107, - 1 - ] - ], - "doc": " Private: Merges an item in a submenu aware way such that new items are always\nappended to the bottom of existing menus where possible. " - } - }, - "107": { - "27": { - "name": "filterMultipleKeystroke", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystrokesByCommand" - ], - "range": [ - [ - 107, - 27 - ], - [ - 117, - 1 - ] - ], - "doc": " Private: OSX can't handle displaying accelerators for multiple keystrokes.\nIf they are sent across, it will stop processing accelerators for the rest\nof the menu items. " - } - }, - "117": { - "24": { - "name": "sendToBrowserProcess", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "template", - "keystrokesByCommand" - ], - "range": [ - [ - 117, - 24 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "18": { - "name": "normalizeLabel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "label" - ], - "range": [ - [ - 121, - 18 - ], - [ - 130, - 1 - ] - ], - "doc": "~Private~" - } - }, - "130": { - "21": { - "name": "classesForElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 130, - 21 - ], - [ - 131, - 49 - ] - ], - "doc": "Private: Get an {Array} of {String} classes for the given element. " - } - } - }, - "exports": 12 - }, - "src/package-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q@^1.0.1" - } - }, - "7": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 7, - 10 - ], - [ - 7, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "8": { - "15": { - "name": "ThemePackage", - "type": "import", - "range": [ - [ - 8, - 15 - ], - [ - 8, - 39 - ] - ], - "bindingType": "variable", - "path": "./theme-package" - } - }, - "26": { - "0": { - "type": "class", - "name": "PackageManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 44, - 14 - ], - [ - 52, - 22 - ], - [ - 55, - 19 - ], - [ - 58, - 19 - ], - [ - 62, - 17 - ], - [ - 68, - 18 - ], - [ - 74, - 12 - ], - [ - 82, - 28 - ], - [ - 85, - 20 - ], - [ - 90, - 19 - ], - [ - 100, - 22 - ], - [ - 105, - 21 - ], - [ - 113, - 21 - ], - [ - 117, - 20 - ], - [ - 121, - 19 - ], - [ - 124, - 29 - ], - [ - 128, - 27 - ], - [ - 137, - 16 - ], - [ - 148, - 15 - ], - [ - 168, - 18 - ], - [ - 172, - 17 - ], - [ - 182, - 20 - ], - [ - 186, - 19 - ], - [ - 190, - 21 - ], - [ - 196, - 29 - ], - [ - 200, - 22 - ], - [ - 210, - 21 - ], - [ - 213, - 17 - ], - [ - 218, - 20 - ], - [ - 221, - 26 - ], - [ - 231, - 28 - ], - [ - 246, - 28 - ], - [ - 250, - 31 - ] - ], - "doc": " Public: Package manager for coordinating the lifecycle of Atom packages.\n\nAn instance of this class is always available as the `atom.packages` global.\n\nPackages can be loaded, activated, and deactivated, and unloaded:\n * Loading a package reads and parses the package's metadata and resources\n such as keymaps, menus, stylesheets, etc.\n * Activating a package registers the loaded resources and calls `activate()`\n on the package's main module.\n * Deactivating a package unregisters the package's resources and calls\n `deactivate()` on the package's main module.\n * Unloading a package removes it completely from the package manager.\n\nPackages can also be enabled/disabled via the `core.disabledPackages` config\nsettings and also by calling `enablePackage()/disablePackage()`. ", - "range": [ - [ - 26, - 0 - ], - [ - 256, - 12 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 29, - 15 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "14": { - "name": "getApmPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 14 - ], - [ - 52, - 1 - ] - ], - "doc": "Public: Get the path to the apm command " - } - }, - "52": { - "22": { - "name": "getPackageDirPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 22 - ], - [ - 55, - 1 - ] - ], - "doc": " Public: Get the paths being used to look for packages.\n\nReturns an Array of String directory paths. " - } - }, - "55": { - "19": { - "name": "getPackageState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 55, - 19 - ], - [ - 58, - 1 - ] - ], - "doc": "~Private~" - } - }, - "58": { - "19": { - "name": "setPackageState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "state" - ], - "range": [ - [ - 58, - 19 - ], - [ - 62, - 1 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "17": { - "name": "enablePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 62, - 17 - ], - [ - 68, - 1 - ] - ], - "doc": "Public: Enable the package with the given name " - } - }, - "68": { - "18": { - "name": "disablePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 68, - 18 - ], - [ - 74, - 1 - ] - ], - "doc": "Public: Disable the package with the given name " - } - }, - "74": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 74, - 12 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Activate all the packages that should be activated. " - } - }, - "82": { - "28": { - "name": "registerPackageActivator", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "activator", - "types" - ], - "range": [ - [ - 82, - 28 - ], - [ - 85, - 1 - ] - ], - "doc": " Private: another type of package manager can handle other package types.\nSee ThemeManager " - } - }, - "85": { - "20": { - "name": "activatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "packages" - ], - "range": [ - [ - 85, - 20 - ], - [ - 90, - 1 - ] - ], - "doc": "~Private~" - } - }, - "90": { - "19": { - "name": "activatePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 90, - 19 - ], - [ - 100, - 1 - ] - ], - "doc": "Private: Activate a single package by name " - } - }, - "100": { - "22": { - "name": "deactivatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 100, - 22 - ], - [ - 105, - 1 - ] - ], - "doc": "Private: Deactivate all packages " - } - }, - "105": { - "21": { - "name": "deactivatePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 105, - 21 - ], - [ - 113, - 1 - ] - ], - "doc": "Private: Deactivate the package with the given name " - } - }, - "113": { - "21": { - "name": "getActivePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 113, - 21 - ], - [ - 117, - 1 - ] - ], - "doc": "Public: Get an array of all the active packages " - } - }, - "117": { - "20": { - "name": "getActivePackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 117, - 20 - ], - [ - 121, - 1 - ] - ], - "doc": "Public: Get the active package with the given name " - } - }, - "121": { - "19": { - "name": "isPackageActive", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 121, - 19 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Is the package with the given name active? " - } - }, - "124": { - "29": { - "name": "unobserveDisabledPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 124, - 29 - ], - [ - 128, - 1 - ] - ], - "doc": "~Private~" - } - }, - "128": { - "27": { - "name": "observeDisabledPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 128, - 27 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "16": { - "name": "loadPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 16 - ], - [ - 148, - 1 - ] - ], - "doc": "~Private~" - } - }, - "148": { - "15": { - "name": "loadPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "nameOrPath" - ], - "range": [ - [ - 148, - 15 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "18": { - "name": "unloadPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 18 - ], - [ - 172, - 1 - ] - ], - "doc": "~Private~" - } - }, - "172": { - "17": { - "name": "unloadPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 172, - 17 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "20": { - "name": "getLoadedPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 182, - 20 - ], - [ - 186, - 1 - ] - ], - "doc": "Public: Get the loaded package with the given name " - } - }, - "186": { - "19": { - "name": "isPackageLoaded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 186, - 19 - ], - [ - 190, - 1 - ] - ], - "doc": "Public: Is the package with the given name loaded? " - } - }, - "190": { - "21": { - "name": "getLoadedPackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 190, - 21 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded packages " - } - }, - "196": { - "29": { - "name": "getLoadedPackagesForTypes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "types" - ], - "range": [ - [ - 196, - 29 - ], - [ - 200, - 1 - ] - ], - "doc": " Private: Get packages for a certain package type\n\ntypes - an {Array} of {String}s like ['atom', 'textmate']. " - } - }, - "200": { - "22": { - "name": "resolvePackagePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 200, - 22 - ], - [ - 210, - 1 - ] - ], - "doc": "Public: Resolve the given package name to a path on disk. " - } - }, - "210": { - "21": { - "name": "isPackageDisabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 210, - 21 - ], - [ - 213, - 1 - ] - ], - "doc": "Public: Is the package with the given name disabled? " - } - }, - "213": { - "17": { - "name": "hasAtomEngine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "packagePath" - ], - "range": [ - [ - 213, - 17 - ], - [ - 218, - 1 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "20": { - "name": "isBundledPackage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 218, - 20 - ], - [ - 221, - 1 - ] - ], - "doc": "Public: Is the package with the given name bundled with Atom? " - } - }, - "221": { - "26": { - "name": "getPackageDependencies", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 221, - 26 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "28": { - "name": "getAvailablePackagePaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 231, - 28 - ], - [ - 246, - 1 - ] - ], - "doc": "Public: Get an array of all the available package paths. " - } - }, - "246": { - "28": { - "name": "getAvailablePackageNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 246, - 28 - ], - [ - 250, - 1 - ] - ], - "doc": "Public: Get an array of all the available package names. " - } - }, - "250": { - "31": { - "name": "getAvailablePackageMetadata", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 250, - 31 - ], - [ - 256, - 12 - ] - ], - "doc": "Public: Get an array of all the available package metadata. " - } - } - }, - "exports": 26 - }, - "src/package.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "3": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 3, - 8 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "async@0.2.6" - } - }, - "4": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1.0.2" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "7": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 14 - ] - ], - "bindingType": "variable", - "module": "q@^1.0.1" - } - }, - "9": { - "4": { - "type": "primitive", - "range": [ - [ - 9, - 4 - ], - [ - 9, - 7 - ] - ] - } - }, - "10": { - "19": { - "name": "ScopedProperties", - "type": "import", - "range": [ - [ - 10, - 19 - ], - [ - 10, - 47 - ] - ], - "bindingType": "variable", - "path": "./scoped-properties" - } - }, - "15": { - "0": { - "type": "class", - "name": "Package", - "bindingType": "exports", - "classProperties": [ - [ - 18, - 19 - ], - [ - 20, - 17 - ] - ], - "prototypeProperties": [ - [ - 30, - 11 - ], - [ - 31, - 9 - ], - [ - 32, - 15 - ], - [ - 33, - 12 - ], - [ - 34, - 20 - ], - [ - 35, - 18 - ], - [ - 36, - 26 - ], - [ - 37, - 14 - ], - [ - 39, - 15 - ], - [ - 44, - 10 - ], - [ - 47, - 11 - ], - [ - 50, - 11 - ], - [ - 53, - 11 - ], - [ - 59, - 11 - ], - [ - 61, - 21 - ], - [ - 63, - 8 - ], - [ - 76, - 9 - ], - [ - 83, - 12 - ], - [ - 97, - 15 - ], - [ - 109, - 18 - ], - [ - 118, - 23 - ], - [ - 126, - 21 - ], - [ - 138, - 15 - ], - [ - 141, - 13 - ], - [ - 144, - 18 - ], - [ - 151, - 16 - ], - [ - 158, - 19 - ], - [ - 162, - 22 - ], - [ - 165, - 22 - ], - [ - 177, - 20 - ], - [ - 194, - 16 - ], - [ - 213, - 24 - ], - [ - 231, - 13 - ], - [ - 238, - 14 - ], - [ - 247, - 20 - ], - [ - 251, - 23 - ], - [ - 260, - 21 - ], - [ - 266, - 20 - ], - [ - 269, - 21 - ], - [ - 275, - 21 - ], - [ - 285, - 23 - ], - [ - 297, - 31 - ], - [ - 306, - 25 - ], - [ - 315, - 35 - ], - [ - 325, - 36 - ], - [ - 339, - 36 - ], - [ - 345, - 18 - ], - [ - 353, - 34 - ], - [ - 371, - 32 - ], - [ - 401, - 16 - ] - ], - "doc": " Private: Loads and activates a package's main module and resources such as\nstylesheets, keymaps, grammar, editor properties, and menus. ", - "range": [ - [ - 15, - 0 - ], - [ - 411, - 24 - ] - ] - } - }, - "18": { - "19": { - "name": "stylesheetsDir", - "type": "primitive", - "range": [ - [ - 18, - 19 - ], - [ - 18, - 31 - ] - ], - "bindingType": "classProperty" - } - }, - "20": { - "17": { - "name": "loadMetadata", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "packagePath", - "ignoreErrors" - ], - "range": [ - [ - 20, - 17 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "keymaps", - "type": "primitive", - "range": [ - [ - 30, - 11 - ], - [ - 30, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "31": { - "9": { - "name": "menus", - "type": "primitive", - "range": [ - [ - 31, - 9 - ], - [ - 31, - 12 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "32": { - "15": { - "name": "stylesheets", - "type": "primitive", - "range": [ - [ - 32, - 15 - ], - [ - 32, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "33": { - "12": { - "name": "grammars", - "type": "primitive", - "range": [ - [ - 33, - 12 - ], - [ - 33, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "34": { - "20": { - "name": "scopedProperties", - "type": "primitive", - "range": [ - [ - 34, - 20 - ], - [ - 34, - 23 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "35": { - "18": { - "name": "mainModulePath", - "type": "primitive", - "range": [ - [ - 35, - 18 - ], - [ - 35, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "36": { - "26": { - "name": "resolvedMainModulePath", - "type": "primitive", - "range": [ - [ - 36, - 26 - ], - [ - 36, - 30 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "37": { - "14": { - "name": "mainModule", - "type": "primitive", - "range": [ - [ - 37, - 14 - ], - [ - 37, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "39": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 39, - 15 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "10": { - "name": "enable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 44, - 10 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "11": { - "name": "disable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 47, - 11 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "11": { - "name": "isTheme", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 11 - ], - [ - 53, - 1 - ] - ], - "doc": "~Private~" - } - }, - "53": { - "11": { - "name": "measure", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "key", - "fn" - ], - "range": [ - [ - 53, - 11 - ], - [ - 59, - 1 - ] - ], - "doc": "~Private~" - } - }, - "59": { - "11": { - "name": "getType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 11 - ], - [ - 59, - 19 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "21": { - "name": "getStylesheetType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 21 - ], - [ - 61, - 32 - ] - ], - "doc": "~Private~" - } - }, - "63": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 63, - 8 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "9": { - "name": "reset", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 9 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 83, - 12 - ], - [ - 97, - 1 - ] - ], - "doc": "~Private~" - } - }, - "97": { - "15": { - "name": "activateNow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 97, - 15 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "18": { - "name": "activateConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 18 - ], - [ - 118, - 1 - ] - ], - "doc": "~Private~" - } - }, - "118": { - "23": { - "name": "activateStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 118, - 23 - ], - [ - 126, - 1 - ] - ], - "doc": "~Private~" - } - }, - "126": { - "21": { - "name": "activateResources", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 21 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "15": { - "name": "loadKeymaps", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 15 - ], - [ - 141, - 1 - ] - ], - "doc": "~Private~" - } - }, - "141": { - "13": { - "name": "loadMenus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 13 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "18": { - "name": "getKeymapPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 144, - 18 - ], - [ - 151, - 1 - ] - ], - "doc": "~Private~" - } - }, - "151": { - "16": { - "name": "getMenuPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 151, - 16 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "19": { - "name": "loadStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 19 - ], - [ - 162, - 1 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "22": { - "name": "getStylesheetsPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 162, - 22 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "22": { - "name": "getStylesheetPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 22 - ], - [ - 177, - 1 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "20": { - "name": "loadGrammarsSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 20 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "16": { - "name": "loadGrammars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 194, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "24": { - "name": "loadScopedProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 24 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "13": { - "name": "serialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 231, - 13 - ], - [ - 238, - 1 - ] - ], - "doc": "~Private~" - } - }, - "238": { - "14": { - "name": "deactivate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 238, - 14 - ], - [ - 247, - 1 - ] - ], - "doc": "~Private~" - } - }, - "247": { - "20": { - "name": "deactivateConfig", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 247, - 20 - ], - [ - 251, - 1 - ] - ], - "doc": "~Private~" - } - }, - "251": { - "23": { - "name": "deactivateResources", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 251, - 23 - ], - [ - 260, - 1 - ] - ], - "doc": "~Private~" - } - }, - "260": { - "21": { - "name": "reloadStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 21 - ], - [ - 266, - 1 - ] - ], - "doc": "~Private~" - } - }, - "266": { - "20": { - "name": "reloadStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "content" - ], - "range": [ - [ - 266, - 20 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "21": { - "name": "requireMainModule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 21 - ], - [ - 275, - 1 - ] - ] - } - }, - "275": { - "21": { - "name": "getMainModulePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 275, - 21 - ], - [ - 285, - 1 - ] - ], - "doc": "~Private~" - } - }, - "285": { - "23": { - "name": "hasActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 285, - 23 - ], - [ - 297, - 1 - ] - ], - "doc": "~Private~" - } - }, - "297": { - "31": { - "name": "subscribeToActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 31 - ], - [ - 306, - 1 - ] - ], - "doc": "~Private~" - } - }, - "306": { - "25": { - "name": "handleActivationEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 306, - 25 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "35": { - "name": "unsubscribeFromActivationEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 35 - ], - [ - 325, - 1 - ] - ], - "doc": "~Private~" - } - }, - "325": { - "36": { - "name": "disableEventHandlersOnBubblePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 325, - 36 - ], - [ - 339, - 1 - ] - ], - "doc": "~Private~" - } - }, - "339": { - "36": { - "name": "restoreEventHandlersOnBubblePath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventHandlers" - ], - "range": [ - [ - 339, - 36 - ], - [ - 345, - 1 - ] - ], - "doc": "~Private~" - } - }, - "345": { - "18": { - "name": "isNativeModule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "modulePath" - ], - "range": [ - [ - 345, - 18 - ], - [ - 353, - 1 - ] - ], - "doc": "Private: Does the given module path contain native code? " - } - }, - "353": { - "34": { - "name": "getNativeModuleDependencyPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 353, - 34 - ], - [ - 371, - 1 - ] - ], - "doc": " Private: Get an array of all the native modules that this package depends on.\nThis will recurse through all dependencies. " - } - }, - "371": { - "32": { - "name": "getIncompatibleNativeModules", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 371, - 32 - ], - [ - 401, - 1 - ] - ], - "doc": " Private: Get the incompatible native modules that this package depends on.\nThis recurses through all dependencies and requires all modules that\ncontain a `.node` file.\n\nThis information is cached in local storage on a per package/version basis\nto minimize the impact on startup time. " - } - }, - "401": { - "16": { - "name": "isCompatible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 401, - 16 - ], - [ - 411, - 24 - ] - ], - "doc": " Public: Is this package compatible with this version of Atom?\n\nIncompatible packages cannot be activated. This will include packages\ninstalled to ~/.atom/packages that were built against node 0.11.10 but\nnow need to be upgrade to node 0.11.13.\n\nReturns a {Boolean}, true if compatible, false if incompatible. " - } - } - }, - "exports": 15 - }, - "src/pane-axis-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "11": { - "type": "primitive", - "range": [ - [ - 1, - 11 - ], - [ - 1, - 14 - ] - ] - } - }, - "4": { - "0": { - "type": "class", - "name": "PaneAxisView", - "superClass": "View", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 5, - 14 - ], - [ - 9, - 15 - ], - [ - 12, - 16 - ], - [ - 16, - 22 - ], - [ - 22, - 16 - ], - [ - 26, - 18 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 31, - 48 - ] - ] - } - }, - "5": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 5, - 14 - ], - [ - 9, - 1 - ] - ] - } - }, - "9": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 15 - ], - [ - 12, - 1 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "16": { - "name": "viewForModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "model" - ], - "range": [ - [ - 12, - 16 - ], - [ - 16, - 1 - ] - ], - "doc": "~Private~" - } - }, - "16": { - "22": { - "name": "onChildrenChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 16, - 22 - ], - [ - 22, - 1 - ] - ], - "doc": "~Private~" - } - }, - "22": { - "16": { - "name": "onChildAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child", - "index" - ], - "range": [ - [ - 22, - 16 - ], - [ - 26, - 1 - ] - ], - "doc": "~Private~" - } - }, - "26": { - "18": { - "name": "onChildRemoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 26, - 18 - ], - [ - 31, - 48 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/pane-axis.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Model", - "exportsProperty": "Model" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 15 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Sequence", - "exportsProperty": "Sequence" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 7 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "flatten", - "exportsProperty": "flatten" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@^1" - } - }, - "4": { - "14": { - "type": "primitive", - "range": [ - [ - 4, - 14 - ], - [ - 4, - 17 - ] - ] - } - }, - "5": { - "17": { - "type": "primitive", - "range": [ - [ - 5, - 17 - ], - [ - 5, - 20 - ] - ] - } - }, - "8": { - "0": { - "type": "class", - "name": "PaneAxis", - "superClass": "Model", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 25, - 21 - ], - [ - 30, - 19 - ], - [ - 34, - 16 - ], - [ - 40, - 12 - ], - [ - 43, - 12 - ], - [ - 46, - 15 - ], - [ - 51, - 16 - ], - [ - 56, - 21 - ], - [ - 60, - 20 - ], - [ - 64, - 21 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 65, - 44 - ] - ] - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 15 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 25, - 21 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 19 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 16 - ], - [ - 40, - 1 - ] - ], - "doc": "~Private~" - } - }, - "40": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 40, - 12 - ], - [ - 43, - 1 - ] - ], - "doc": "~Private~" - } - }, - "43": { - "12": { - "name": "addChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child", - "index" - ], - "range": [ - [ - 43, - 12 - ], - [ - 46, - 1 - ] - ], - "doc": "~Private~" - } - }, - "46": { - "15": { - "name": "removeChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 46, - 15 - ], - [ - 51, - 1 - ] - ], - "doc": "~Private~" - } - }, - "51": { - "16": { - "name": "replaceChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "oldChild", - "newChild" - ], - "range": [ - [ - 51, - 16 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "21": { - "name": "insertChildBefore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "currentChild", - "newChild" - ], - "range": [ - [ - 56, - 21 - ], - [ - 60, - 1 - ] - ], - "doc": "~Private~" - } - }, - "60": { - "20": { - "name": "insertChildAfter", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "currentChild", - "newChild" - ], - "range": [ - [ - 60, - 20 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "21": { - "name": "reparentLastChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 21 - ], - [ - 65, - 44 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/pane-column-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "2": { - "15": { - "name": "PaneAxisView", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 40 - ] - ], - "bindingType": "variable", - "path": "./pane-axis-view" - } - }, - "5": { - "0": { - "type": "class", - "name": "PaneColumnView", - "superClass": "PaneAxisView", - "bindingType": "exports", - "classProperties": [ - [ - 7, - 12 - ] - ], - "prototypeProperties": [ - [ - 10, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 11, - 16 - ] - ] - } - }, - "7": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 7, - 12 - ], - [ - 10, - 1 - ] - ], - "doc": "~Private~" - } - }, - "10": { - "13": { - "name": "className", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 10, - 13 - ], - [ - 11, - 16 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "src/pane-container-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "1": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@^1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "3": { - "11": { - "name": "PaneView", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-view" - } - }, - "4": { - "16": { - "name": "PaneContainer", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 41 - ] - ], - "bindingType": "variable", - "path": "./pane-container" - } - }, - "8": { - "0": { - "type": "class", - "name": "PaneContainerView", - "superClass": "View", - "bindingType": "exports", - "classProperties": [ - [ - 13, - 12 - ] - ], - "prototypeProperties": [ - [ - 16, - 14 - ], - [ - 25, - 16 - ], - [ - 30, - 11 - ], - [ - 33, - 17 - ], - [ - 47, - 27 - ], - [ - 50, - 15 - ], - [ - 55, - 16 - ], - [ - 64, - 16 - ], - [ - 67, - 15 - ], - [ - 70, - 15 - ], - [ - 73, - 16 - ], - [ - 79, - 18 - ], - [ - 82, - 17 - ], - [ - 86, - 21 - ], - [ - 89, - 21 - ], - [ - 92, - 17 - ], - [ - 95, - 14 - ], - [ - 98, - 21 - ], - [ - 101, - 25 - ], - [ - 104, - 22 - ], - [ - 107, - 22 - ], - [ - 110, - 23 - ], - [ - 113, - 24 - ], - [ - 116, - 26 - ], - [ - 143, - 26 - ], - [ - 152, - 12 - ] - ], - "doc": "Private: Manages the list of panes within a {WorkspaceView} ", - "range": [ - [ - 8, - 0 - ], - [ - 154, - 19 - ] - ] - } - }, - "13": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 12 - ], - [ - 16, - 1 - ] - ], - "doc": "~Private~" - } - }, - "16": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 16, - 14 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "16": { - "name": "viewForModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "model" - ], - "range": [ - [ - 25, - 16 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "getRoot", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 11 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "17": { - "name": "onRootChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "root" - ], - "range": [ - [ - 33, - 17 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "27": { - "name": "onActivePaneItemChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "activeItem" - ], - "range": [ - [ - 47, - 27 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "15": { - "name": "removeChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 50, - 15 - ], - [ - 55, - 1 - ] - ], - "doc": "~Private~" - } - }, - "55": { - "16": { - "name": "confirmClose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 16 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "16": { - "name": "getPaneViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 16 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "15": { - "name": "indexOfPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "paneView" - ], - "range": [ - [ - 67, - 15 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "15": { - "name": "paneAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 70, - 15 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "16": { - "name": "eachPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 73, - 16 - ], - [ - 79, - 1 - ] - ], - "doc": "~Private~" - } - }, - "79": { - "18": { - "name": "getFocusedPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 18 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 17 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "21": { - "name": "getActivePaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 21 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "17": { - "name": "getActiveView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 92, - 17 - ], - [ - 95, - 1 - ] - ], - "doc": "~Private~" - } - }, - "95": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 95, - 14 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "21": { - "name": "focusNextPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 21 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "focusPreviousPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 25 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "22": { - "name": "focusPaneViewAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 22 - ], - [ - 107, - 1 - ] - ], - "doc": "~Private~" - } - }, - "107": { - "22": { - "name": "focusPaneViewBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 22 - ], - [ - 110, - 1 - ] - ], - "doc": "~Private~" - } - }, - "110": { - "23": { - "name": "focusPaneViewOnLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 23 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "24": { - "name": "focusPaneViewOnRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 113, - 24 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "26": { - "name": "nearestPaneInDirection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "direction" - ], - "range": [ - [ - 116, - 26 - ], - [ - 143, - 1 - ] - ], - "doc": "~Private~" - } - }, - "143": { - "26": { - "name": "boundingBoxForPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "paneView" - ], - "range": [ - [ - 143, - 26 - ], - [ - 152, - 1 - ] - ], - "doc": "~Private~" - } - }, - "152": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 152, - 12 - ], - [ - 154, - 19 - ] - ], - "doc": "Private: Deprecated " - } - } - }, - "exports": 8 - }, - "src/pane-container.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "find", - "exportsProperty": "find" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@^1" - } - }, - "3": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 3, - 7 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "6": { - "0": { - "type": "class", - "name": "PaneContainer", - "superClass": "Model", - "bindingType": "exports", - "classProperties": [ - [ - 10, - 12 - ] - ], - "prototypeProperties": [ - [ - 16, - 16 - ], - [ - 23, - 15 - ], - [ - 28, - 21 - ], - [ - 34, - 19 - ], - [ - 38, - 16 - ], - [ - 42, - 12 - ], - [ - 45, - 17 - ], - [ - 48, - 14 - ], - [ - 51, - 11 - ], - [ - 54, - 20 - ], - [ - 64, - 24 - ], - [ - 75, - 17 - ], - [ - 89, - 21 - ], - [ - 92, - 17 - ], - [ - 96, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 6, - 0 - ], - [ - 97, - 42 - ] - ] - } - }, - "10": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 10, - 12 - ], - [ - 10, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "16": { - "16": { - "name": "previousRoot", - "type": "primitive", - "range": [ - [ - 16, - 16 - ], - [ - 16, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "23": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 23, - 15 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 28, - 21 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 34, - 19 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "16": { - "name": "replaceChild", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "oldChild", - "newChild" - ], - "range": [ - [ - 38, - 16 - ], - [ - 42, - 1 - ] - ], - "doc": "~Private~" - } - }, - "42": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 42, - 12 - ], - [ - 45, - 1 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 17 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 48, - 14 - ], - [ - 51, - 1 - ] - ], - "doc": "~Private~" - } - }, - "51": { - "11": { - "name": "saveAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 51, - 11 - ], - [ - 54, - 1 - ] - ], - "doc": "~Private~" - } - }, - "54": { - "20": { - "name": "activateNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 54, - 20 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "24": { - "name": "activatePreviousPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 24 - ], - [ - 75, - 1 - ] - ], - "doc": "~Private~" - } - }, - "75": { - "17": { - "name": "onRootChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "root" - ], - "range": [ - [ - 75, - 17 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "21": { - "name": "destroyEmptyPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 21 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "17": { - "name": "itemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 92, - 17 - ], - [ - 96, - 1 - ] - ], - "doc": "~Private~" - } - }, - "96": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 13 - ], - [ - 97, - 42 - ] - ], - "doc": "Private: Called by Model superclass when destroyed " - } - } - }, - "exports": 6 - }, - "src/pane-row-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "2": { - "15": { - "name": "PaneAxisView", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 40 - ] - ], - "bindingType": "variable", - "path": "./pane-axis-view" - } - }, - "5": { - "0": { - "type": "class", - "name": "PaneRowView", - "superClass": "PaneAxisView", - "bindingType": "exports", - "classProperties": [ - [ - 6, - 12 - ] - ], - "prototypeProperties": [ - [ - 9, - 13 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 10, - 13 - ] - ] - } - }, - "6": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 12 - ], - [ - 9, - 1 - ] - ] - } - }, - "9": { - "13": { - "name": "className", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 13 - ], - [ - 10, - 13 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 5 - }, - "src/pane-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "1": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@^1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "3": { - "20": { - "name": "PropertyAccessors", - "type": "import", - "range": [ - [ - 3, - 20 - ], - [ - 3, - 47 - ] - ], - "bindingType": "variable", - "module": "property-accessors@^1" - } - }, - "5": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "14": { - "0": { - "type": "class", - "name": "PaneView", - "superClass": "View", - "bindingType": "exports", - "classProperties": [ - [ - 18, - 12 - ], - [ - 20, - 12 - ] - ], - "prototypeProperties": [ - [ - 32, - 22 - ], - [ - 34, - 14 - ], - [ - 45, - 16 - ], - [ - 84, - 14 - ], - [ - 89, - 12 - ], - [ - 94, - 18 - ], - [ - 99, - 19 - ], - [ - 104, - 16 - ], - [ - 109, - 20 - ], - [ - 113, - 15 - ], - [ - 121, - 15 - ], - [ - 124, - 25 - ], - [ - 133, - 15 - ], - [ - 139, - 21 - ], - [ - 142, - 23 - ], - [ - 158, - 15 - ], - [ - 161, - 17 - ], - [ - 175, - 15 - ], - [ - 178, - 25 - ], - [ - 182, - 26 - ], - [ - 185, - 15 - ], - [ - 199, - 13 - ], - [ - 201, - 14 - ], - [ - 203, - 11 - ], - [ - 205, - 13 - ], - [ - 210, - 16 - ], - [ - 213, - 16 - ], - [ - 216, - 10 - ] - ], - "doc": " Public: A container which can contains multiple items to be switched between.\n\nItems can be almost anything however most commonly they're {EditorView}s.\n\nMost packages won't need to use this class, unless you're interested in\nbuilding a package that deals with switching between panes or items. ", - "range": [ - [ - 14, - 0 - ], - [ - 219, - 9 - ] - ] - } - }, - "18": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 18, - 12 - ], - [ - 18, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "20": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "wrappedView" - ], - "range": [ - [ - 20, - 12 - ], - [ - 24, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "22": { - "name": "previousActiveItem", - "type": "primitive", - "range": [ - [ - 32, - 22 - ], - [ - 32, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "34": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 34, - 14 - ], - [ - 45, - 1 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 16 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "14": { - "name": "removeItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 84, - 14 - ], - [ - 89, - 1 - ] - ], - "doc": "Deprecated: Use ::destroyItem " - } - }, - "89": { - "12": { - "name": "showItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 89, - 12 - ], - [ - 94, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItem " - } - }, - "94": { - "18": { - "name": "showItemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 94, - 18 - ], - [ - 99, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItemForUri " - } - }, - "99": { - "19": { - "name": "showItemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 99, - 19 - ], - [ - 104, - 1 - ] - ], - "doc": "Deprecated: Use ::activateItemAtIndex " - } - }, - "104": { - "16": { - "name": "showNextItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 16 - ], - [ - 109, - 1 - ] - ], - "doc": "Deprecated: Use ::activateNextItem " - } - }, - "109": { - "20": { - "name": "showPreviousItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 20 - ], - [ - 113, - 1 - ] - ], - "doc": "Deprecated: Use ::activatePreviousItem " - } - }, - "113": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 113, - 15 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "15": { - "name": "onActivated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 121, - 15 - ], - [ - 124, - 1 - ] - ], - "doc": "~Private~" - } - }, - "124": { - "25": { - "name": "onActiveStatusChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "active" - ], - "range": [ - [ - 124, - 25 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "15": { - "name": "getNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 15 - ], - [ - 139, - 1 - ] - ], - "doc": "Public: Returns the next pane, ordered by creation. " - } - }, - "139": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 139, - 21 - ], - [ - 142, - 1 - ] - ], - "doc": "~Private~" - } - }, - "142": { - "23": { - "name": "onActiveItemChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 142, - 23 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "15": { - "name": "onItemAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index" - ], - "range": [ - [ - 158, - 15 - ], - [ - 161, - 1 - ] - ], - "doc": "~Private~" - } - }, - "161": { - "17": { - "name": "onItemRemoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index", - "destroyed" - ], - "range": [ - [ - 161, - 17 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "15": { - "name": "onItemMoved", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "newIndex" - ], - "range": [ - [ - 175, - 15 - ], - [ - 178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "178": { - "25": { - "name": "onBeforeItemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 178, - 25 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "26": { - "name": "activeItemTitleChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 182, - 26 - ], - [ - 185, - 1 - ] - ], - "doc": "~Private~" - } - }, - "185": { - "15": { - "name": "viewForItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 185, - 15 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "199": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 199, - 13 - ], - [ - 199, - 57 - ] - ], - "doc": "~Private~" - } - }, - "201": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 201, - 14 - ], - [ - 201, - 59 - ] - ], - "doc": "~Private~" - } - }, - "203": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 203, - 11 - ], - [ - 203, - 53 - ] - ], - "doc": "~Private~" - } - }, - "205": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items" - ], - "range": [ - [ - 205, - 13 - ], - [ - 205, - 57 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "16": { - "name": "getContainer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": " Public: Get the container view housing this pane.\n\nReturns a {View}. " - } - }, - "213": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 16 - ], - [ - 216, - 1 - ] - ], - "doc": "~Private~" - } - }, - "216": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "keepData" - ], - "range": [ - [ - 216, - 10 - ], - [ - 219, - 9 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 14 - }, - "src/pane.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "find", - "exportsProperty": "find" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 13 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "compact", - "exportsProperty": "compact" - }, - "16": { - "type": "import", - "range": [ - [ - 0, - 16 - ], - [ - 0, - 21 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "extend", - "exportsProperty": "extend" - }, - "24": { - "type": "import", - "range": [ - [ - 0, - 24 - ], - [ - 0, - 27 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "last", - "exportsProperty": "last" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Model", - "exportsProperty": "Model" - }, - "8": { - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 15 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Sequence", - "exportsProperty": "Sequence" - } - }, - "2": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 2, - 15 - ], - [ - 2, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@^1" - } - }, - "3": { - "11": { - "name": "PaneAxis", - "type": "import", - "range": [ - [ - 3, - 11 - ], - [ - 3, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-axis" - } - }, - "4": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "5": { - "11": { - "type": "primitive", - "range": [ - [ - 5, - 11 - ], - [ - 5, - 14 - ] - ] - } - }, - "11": { - "0": { - "type": "class", - "name": "Pane", - "superClass": "Model", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 43, - 19 - ], - [ - 50, - 21 - ], - [ - 57, - 16 - ], - [ - 59, - 12 - ], - [ - 62, - 9 - ], - [ - 67, - 8 - ], - [ - 73, - 12 - ], - [ - 77, - 12 - ], - [ - 82, - 12 - ], - [ - 88, - 17 - ], - [ - 93, - 19 - ], - [ - 97, - 15 - ], - [ - 101, - 20 - ], - [ - 109, - 24 - ], - [ - 117, - 22 - ], - [ - 121, - 23 - ], - [ - 125, - 16 - ], - [ - 137, - 11 - ], - [ - 154, - 12 - ], - [ - 159, - 14 - ], - [ - 175, - 12 - ], - [ - 182, - 18 - ], - [ - 187, - 21 - ], - [ - 193, - 15 - ], - [ - 204, - 16 - ], - [ - 208, - 24 - ], - [ - 211, - 11 - ], - [ - 218, - 13 - ], - [ - 224, - 20 - ], - [ - 239, - 18 - ], - [ - 243, - 20 - ], - [ - 251, - 12 - ], - [ - 263, - 14 - ], - [ - 273, - 13 - ], - [ - 278, - 14 - ], - [ - 283, - 22 - ], - [ - 290, - 18 - ], - [ - 300, - 13 - ], - [ - 309, - 14 - ], - [ - 318, - 11 - ], - [ - 327, - 13 - ], - [ - 330, - 9 - ], - [ - 344, - 23 - ], - [ - 356, - 32 - ] - ], - "doc": " Public: A container for multiple items, one of which is *active* at a given\ntime. With the default packages, a tab is displayed for each item and the\nactive item's view is displayed. ", - "range": [ - [ - 11, - 0 - ], - [ - 364, - 19 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 29, - 15 - ], - [ - 43, - 1 - ] - ], - "doc": "~Private~" - } - }, - "43": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 43, - 19 - ], - [ - 50, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during serialization. " - } - }, - "50": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 50, - 21 - ], - [ - 57, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during deserialization. " - } - }, - "57": { - "16": { - "name": "getViewClass", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 16 - ], - [ - 57, - 51 - ] - ], - "doc": "Private: Called by the view layer to construct a view for this model. " - } - }, - "59": { - "12": { - "name": "isActive", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 12 - ], - [ - 59, - 21 - ] - ], - "doc": "~Private~" - } - }, - "62": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 62, - 9 - ], - [ - 67, - 1 - ] - ], - "doc": "Private: Called by the view layer to indicate that the pane has gained focus. " - } - }, - "67": { - "8": { - "name": "blur", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 8 - ], - [ - 73, - 1 - ] - ], - "doc": "Private: Called by the view layer to indicate that the pane has lost focus. " - } - }, - "73": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 12 - ], - [ - 77, - 1 - ] - ], - "doc": " Public: Makes this pane the *active* pane, causing it to gain focus\nimmediately. " - } - }, - "77": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 77, - 12 - ], - [ - 77, - 20 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "12": { - "name": "getItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 12 - ], - [ - 88, - 1 - ] - ], - "doc": " Public: Get the items in this pane.\n\nReturns an {Array} of items. " - } - }, - "88": { - "17": { - "name": "getActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 17 - ], - [ - 93, - 1 - ] - ], - "doc": " Public: Get the active pane item in this pane.\n\nReturns a pane item. " - } - }, - "93": { - "19": { - "name": "getActiveEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 93, - 19 - ], - [ - 97, - 1 - ] - ], - "doc": " Public: Returns an {Editor} if the pane item is an {Editor}, or null\notherwise. " - } - }, - "97": { - "15": { - "name": "itemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 97, - 15 - ], - [ - 101, - 1 - ] - ], - "doc": "Public: Returns the item at the specified index. " - } - }, - "101": { - "20": { - "name": "activateNextItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 20 - ], - [ - 109, - 1 - ] - ], - "doc": "Public: Makes the next item active. " - } - }, - "109": { - "24": { - "name": "activatePreviousItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 24 - ], - [ - 117, - 1 - ] - ], - "doc": "Public: Makes the previous item active. " - } - }, - "117": { - "22": { - "name": "getActiveItemIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 117, - 22 - ], - [ - 121, - 1 - ] - ], - "doc": "Private: Returns the index of the current active item. " - } - }, - "121": { - "23": { - "name": "activateItemAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 121, - 23 - ], - [ - 125, - 1 - ] - ], - "doc": "Private: Makes the item at the given index active. " - } - }, - "125": { - "16": { - "name": "activateItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 125, - 16 - ], - [ - 137, - 1 - ] - ], - "doc": "Private: Makes the given item active, adding the item if necessary. " - } - }, - "137": { - "11": { - "name": "addItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "index" - ], - "range": [ - [ - 137, - 11 - ], - [ - 154, - 1 - ] - ], - "doc": " Public: Adds the item to the pane.\n\nitem - The item to add. It can be a model with an associated view or a view.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns the added item " - } - }, - "154": { - "12": { - "name": "addItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "items", - "index" - ], - "range": [ - [ - 154, - 12 - ], - [ - 159, - 1 - ] - ], - "doc": " Public: Adds the given items to the pane.\n\nitems - An {Array} of items to add. Items can be models with associated\n views or views. Any items that are already present in items will\n not be added.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.\n\nReturns an {Array} of the added items " - } - }, - "159": { - "14": { - "name": "removeItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "destroying" - ], - "range": [ - [ - 159, - 14 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "12": { - "name": "moveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "newIndex" - ], - "range": [ - [ - 175, - 12 - ], - [ - 182, - 1 - ] - ], - "doc": "Public: Moves the given item to the specified index. " - } - }, - "182": { - "18": { - "name": "moveItemToPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "pane", - "index" - ], - "range": [ - [ - 182, - 18 - ], - [ - 187, - 1 - ] - ], - "doc": "Public: Moves the given item to the given index at another pane. " - } - }, - "187": { - "21": { - "name": "destroyActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 187, - 21 - ], - [ - 193, - 1 - ] - ], - "doc": "Public: Destroys the currently active item and make the next item active. " - } - }, - "193": { - "15": { - "name": "destroyItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 193, - 15 - ], - [ - 204, - 1 - ] - ], - "doc": " Public: Destroys the given item. If it is the active item, activate the next\none. If this is the last item, also destroys the pane. " - } - }, - "204": { - "16": { - "name": "destroyItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 204, - 16 - ], - [ - 208, - 1 - ] - ], - "doc": "Public: Destroys all items and destroys the pane. " - } - }, - "208": { - "24": { - "name": "destroyInactiveItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 208, - 24 - ], - [ - 211, - 1 - ] - ], - "doc": "Public: Destroys all items but the active one. " - } - }, - "211": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 211, - 11 - ], - [ - 218, - 1 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 218, - 13 - ], - [ - 224, - 1 - ] - ], - "doc": "Private: Called by model superclass. " - } - }, - "224": { - "20": { - "name": "promptToSaveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 224, - 20 - ], - [ - 239, - 1 - ] - ], - "doc": " Public: Prompts the user to save the given item if it can be saved and is\ncurrently unsaved. " - } - }, - "239": { - "18": { - "name": "saveActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 239, - 18 - ], - [ - 243, - 1 - ] - ], - "doc": "Public: Saves the active item. " - } - }, - "243": { - "20": { - "name": "saveActiveItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 243, - 20 - ], - [ - 251, - 1 - ] - ], - "doc": "Public: Saves the active item at a prompted-for location. " - } - }, - "251": { - "12": { - "name": "saveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "nextAction" - ], - "range": [ - [ - 251, - 12 - ], - [ - 263, - 1 - ] - ], - "doc": " Public: Saves the specified item.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " - } - }, - "263": { - "14": { - "name": "saveItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item", - "nextAction" - ], - "range": [ - [ - 263, - 14 - ], - [ - 273, - 1 - ] - ], - "doc": " Public: Saves the given item at a prompted-for location.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " - } - }, - "273": { - "13": { - "name": "saveItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 273, - 13 - ], - [ - 278, - 1 - ] - ], - "doc": "Public: Saves all items. " - } - }, - "278": { - "14": { - "name": "itemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 278, - 14 - ], - [ - 283, - 1 - ] - ], - "doc": " Public: Returns the first item that matches the given URI or undefined if\nnone exists. " - } - }, - "283": { - "22": { - "name": "activateItemForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 283, - 22 - ], - [ - 290, - 1 - ] - ], - "doc": " Public: Activates the first item that matches the given URI. Returns a\nboolean indicating whether a matching item was found. " - } - }, - "290": { - "18": { - "name": "copyActiveItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 290, - 18 - ], - [ - 300, - 1 - ] - ], - "doc": "~Private~" - } - }, - "300": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 300, - 13 - ], - [ - 309, - 1 - ] - ], - "doc": " Public: Creates a new pane to the left of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "309": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 309, - 14 - ], - [ - 318, - 1 - ] - ], - "doc": " Public: Creates a new pane to the right of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "318": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 318, - 11 - ], - [ - 327, - 1 - ] - ], - "doc": " Public: Creates a new pane above the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "327": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 327, - 13 - ], - [ - 330, - 1 - ] - ], - "doc": " Public: Creates a new pane below the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.\n\nReturns the new {Pane}. " - } - }, - "330": { - "9": { - "name": "split", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "orientation", - "side", - "params" - ], - "range": [ - [ - 330, - 9 - ], - [ - 344, - 1 - ] - ], - "doc": "~Private~" - } - }, - "344": { - "23": { - "name": "findLeftmostSibling", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 344, - 23 - ], - [ - 356, - 1 - ] - ], - "doc": " Private: If the parent is a horizontal axis, returns its first child if it is a pane;\notherwise returns this pane. " - } - }, - "356": { - "32": { - "name": "findOrCreateRightmostSibling", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 356, - 32 - ], - [ - 364, - 19 - ] - ], - "doc": " Private: If the parent is a horizontal axis, returns its last child if it is a pane;\notherwise returns a new pane created by splitting this pane rightward. " - } - } - }, - "exports": 11 - }, - "src/project.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "1": { - "6": { - "name": "url", - "type": "import", - "range": [ - [ - 1, - 6 - ], - [ - 1, - 18 - ] - ], - "bindingType": "variable", - "module": "url", - "builtin": true - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q@^1.0.1" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Model", - "exportsProperty": "Model" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "9": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 9, - 15 - ], - [ - 9, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@^1" - } - }, - "10": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 10, - 13 - ], - [ - 10, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0" - } - }, - "11": { - "1": { - "type": "import", - "range": [ - [ - 11, - 1 - ], - [ - 11, - 9 - ] - ], - "bindingType": "variable", - "module": "pathwatcher@^2.0.6", - "name": "Directory", - "exportsProperty": "Directory" - } - }, - "13": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 13, - 9 - ], - [ - 13, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "14": { - "7": { - "name": "Task", - "type": "import", - "range": [ - [ - 14, - 7 - ], - [ - 14, - 22 - ] - ], - "bindingType": "variable", - "path": "./task" - } - }, - "15": { - "6": { - "name": "Git", - "type": "import", - "range": [ - [ - 15, - 6 - ], - [ - 15, - 20 - ] - ], - "bindingType": "variable", - "path": "./git" - } - }, - "21": { - "0": { - "type": "class", - "name": "Project", - "superClass": "Model", - "bindingType": "exports", - "classProperties": [ - [ - 26, - 25 - ] - ], - "prototypeProperties": [ - [ - 31, - 15 - ], - [ - 40, - 19 - ], - [ - 44, - 21 - ], - [ - 48, - 13 - ], - [ - 52, - 15 - ], - [ - 57, - 28 - ], - [ - 61, - 11 - ], - [ - 64, - 11 - ], - [ - 68, - 11 - ], - [ - 85, - 20 - ], - [ - 95, - 11 - ], - [ - 109, - 14 - ], - [ - 114, - 12 - ], - [ - 124, - 8 - ], - [ - 130, - 12 - ], - [ - 139, - 14 - ], - [ - 143, - 18 - ], - [ - 146, - 21 - ], - [ - 150, - 21 - ], - [ - 163, - 17 - ], - [ - 168, - 15 - ], - [ - 172, - 19 - ], - [ - 184, - 15 - ], - [ - 194, - 13 - ], - [ - 198, - 20 - ], - [ - 207, - 16 - ], - [ - 211, - 23 - ], - [ - 221, - 8 - ], - [ - 268, - 11 - ], - [ - 300, - 24 - ], - [ - 304, - 14 - ], - [ - 315, - 18 - ], - [ - 320, - 20 - ], - [ - 325, - 14 - ], - [ - 330, - 14 - ] - ], - "doc": " Public: Represents a project that's opened in Atom.\n\nAn instance of this class is always available as the `atom.project` global. ", - "range": [ - [ - 21, - 0 - ], - [ - 332, - 31 - ] - ] - } - }, - "26": { - "25": { - "name": "pathForRepositoryUrl", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "repoUrl" - ], - "range": [ - [ - 26, - 25 - ], - [ - 31, - 1 - ] - ], - "doc": "Public: Find the local path for the given repository URL. " - } - }, - "31": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 31, - 15 - ], - [ - 40, - 1 - ] - ], - "doc": "~Private~" - } - }, - "40": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 40, - 19 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 44, - 21 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 13 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "15": { - "name": "destroyRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 15 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "28": { - "name": "destroyUnretainedBuffers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 28 - ], - [ - 61, - 1 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "11": { - "name": "getRepo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 11 - ], - [ - 61, - 18 - ] - ], - "doc": "Public: Returns the {Git} repository if available. " - } - }, - "64": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 11 - ], - [ - 68, - 1 - ] - ], - "doc": "Public: Returns the project's fullpath. " - } - }, - "68": { - "11": { - "name": "setPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "projectPath" - ], - "range": [ - [ - 68, - 11 - ], - [ - 85, - 1 - ] - ], - "doc": "Public: Sets the project's fullpath. " - } - }, - "85": { - "20": { - "name": "getRootDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 85, - 20 - ], - [ - 95, - 1 - ] - ], - "doc": "Public: Returns the root {Directory} object for this project. " - } - }, - "95": { - "11": { - "name": "resolve", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 95, - 11 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Given a uri, this resolves it relative to the project directory. If\nthe path is already absolute or if it is prefixed with a scheme, it is\nreturned unchanged.\n\nuri - The {String} name of the path to convert.\n\nReturns a {String} or undefined if the uri is not missing or empty. " - } - }, - "109": { - "14": { - "name": "relativize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fullPath" - ], - "range": [ - [ - 109, - 14 - ], - [ - 114, - 1 - ] - ], - "doc": "Public: Make the given path relative to the project directory. " - } - }, - "114": { - "12": { - "name": "contains", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToCheck" - ], - "range": [ - [ - 114, - 12 - ], - [ - 124, - 1 - ] - ], - "doc": "Public: Returns whether the given path is inside this project. " - } - }, - "124": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "options" - ], - "range": [ - [ - 124, - 8 - ], - [ - 130, - 1 - ] - ], - "doc": " Private: Given a path to a file, this constructs and associates a new\n{Editor}, showing the file.\n\nfilePath - The {String} path of the file to associate with.\noptions - Options that you can pass to the {Editor} constructor.\n\nReturns a promise that resolves to an {Editor}. " - } - }, - "130": { - "12": { - "name": "openSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "options" - ], - "range": [ - [ - 130, - 12 - ], - [ - 139, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "139": { - "14": { - "name": "getBuffers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 139, - 14 - ], - [ - 143, - 1 - ] - ], - "doc": " Private: Retrieves all the {TextBuffer}s in the project; that is, the\nbuffers for all open files.\n\nReturns an {Array} of {TextBuffer}s. " - } - }, - "143": { - "18": { - "name": "isPathModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 143, - 18 - ], - [ - 146, - 1 - ] - ], - "doc": "Private: Is the buffer for the given path modified? " - } - }, - "146": { - "21": { - "name": "findBufferForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 146, - 21 - ], - [ - 150, - 1 - ] - ], - "doc": "~Private~" - } - }, - "150": { - "21": { - "name": "bufferForPathSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 150, - 21 - ], - [ - 163, - 1 - ] - ], - "doc": "Private: Only to be used in specs " - } - }, - "163": { - "17": { - "name": "bufferForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 163, - 17 - ], - [ - 168, - 1 - ] - ], - "doc": " Private: Given a file path, this retrieves or creates a new {TextBuffer}.\n\nIf the `filePath` already has a `buffer`, that value is used instead. Otherwise,\n`text` is used as the contents of the new buffer.\n\nfilePath - A {String} representing a path. If `null`, an \"Untitled\" buffer is created.\n\nReturns a promise that resolves to the {TextBuffer}. " - } - }, - "168": { - "15": { - "name": "bufferForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 168, - 15 - ], - [ - 172, - 1 - ] - ], - "doc": "~Private~" - } - }, - "172": { - "19": { - "name": "buildBufferSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "absoluteFilePath" - ], - "range": [ - [ - 172, - 19 - ], - [ - 184, - 1 - ] - ], - "doc": "Private: Still needed when deserializing a tokenized buffer " - } - }, - "184": { - "15": { - "name": "buildBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "absoluteFilePath" - ], - "range": [ - [ - 184, - 15 - ], - [ - 194, - 1 - ] - ], - "doc": " Private: Given a file path, this sets its {TextBuffer}.\n\nabsoluteFilePath - A {String} representing a path.\ntext - The {String} text to use as a buffer.\n\nReturns a promise that resolves to the {TextBuffer}. " - } - }, - "194": { - "13": { - "name": "addBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "options" - ], - "range": [ - [ - 194, - 13 - ], - [ - 198, - 1 - ] - ], - "doc": "~Private~" - } - }, - "198": { - "20": { - "name": "addBufferAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "index", - "options" - ], - "range": [ - [ - 198, - 20 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "16": { - "name": "removeBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer" - ], - "range": [ - [ - 207, - 16 - ], - [ - 211, - 1 - ] - ], - "doc": " Private: Removes a {TextBuffer} association from the project.\n\nReturns the removed {TextBuffer}. " - } - }, - "211": { - "23": { - "name": "removeBufferAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index", - "options" - ], - "range": [ - [ - 211, - 23 - ], - [ - 221, - 1 - ] - ], - "doc": "~Private~" - } - }, - "221": { - "8": { - "name": "scan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "options", - "iterator" - ], - "range": [ - [ - 221, - 8 - ], - [ - 268, - 1 - ] - ], - "doc": " Public: Performs a search across all the files in the project.\n\nregex - A {RegExp} to search with.\noptions - An optional options {Object} (default: {}):\n :paths - An {Array} of glob patterns to search within\niterator - A {Function} callback on each file found " - } - }, - "268": { - "11": { - "name": "replace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "replacementText", - "filePaths", - "iterator" - ], - "range": [ - [ - 268, - 11 - ], - [ - 300, - 1 - ] - ], - "doc": " Public: Performs a replace across all the specified files in the project.\n\nregex - A {RegExp} to search with.\nreplacementText - Text to replace all matches of regex with\nfilePaths - List of file path strings to run the replace on.\niterator - A {Function} callback on each file with replacements:\n `({filePath, replacements}) ->`. " - } - }, - "300": { - "24": { - "name": "buildEditorForBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "buffer", - "editorOptions" - ], - "range": [ - [ - 300, - 24 - ], - [ - 304, - 1 - ] - ], - "doc": "~Private~" - } - }, - "304": { - "14": { - "name": "eachBuffer", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 304, - 14 - ], - [ - 315, - 1 - ] - ], - "doc": "~Private~" - } - }, - "315": { - "18": { - "name": "registerOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 315, - 18 - ], - [ - 320, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "320": { - "20": { - "name": "unregisterOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 320, - 20 - ], - [ - 325, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "325": { - "14": { - "name": "eachEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 325, - 14 - ], - [ - 330, - 1 - ] - ], - "doc": "Deprecated: delegate " - } - }, - "330": { - "14": { - "name": "getEditors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 330, - 14 - ], - [ - 332, - 31 - ] - ], - "doc": "Deprecated: delegate " - } - } - }, - "exports": 21 - }, - "src/react-editor-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "module": "space-pen@3.2.0", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "module": "space-pen@3.2.0", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork@^0.11.1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 8 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "defaults", - "exportsProperty": "defaults" - } - }, - "3": { - "13": { - "name": "TextBuffer", - "type": "import", - "range": [ - [ - 3, - 13 - ], - [ - 3, - 33 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0" - } - }, - "4": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 4, - 9 - ], - [ - 4, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "5": { - "18": { - "name": "EditorComponent", - "type": "import", - "range": [ - [ - 5, - 18 - ], - [ - 5, - 45 - ] - ], - "bindingType": "variable", - "path": "./editor-component" - } - }, - "8": { - "0": { - "type": "class", - "name": "ReactEditorView", - "superClass": "View", - "bindingType": "exports", - "classProperties": [ - [ - 9, - 12 - ] - ], - "prototypeProperties": [ - [ - 14, - 17 - ], - [ - 16, - 15 - ], - [ - 58, - 13 - ], - [ - 60, - 12 - ], - [ - 69, - 15 - ], - [ - 77, - 13 - ], - [ - 83, - 14 - ], - [ - 89, - 18 - ], - [ - 92, - 26 - ], - [ - 95, - 26 - ], - [ - 98, - 26 - ], - [ - 101, - 25 - ], - [ - 105, - 34 - ], - [ - 108, - 34 - ], - [ - 111, - 21 - ], - [ - 116, - 16 - ], - [ - 122, - 13 - ], - [ - 127, - 14 - ], - [ - 132, - 11 - ], - [ - 137, - 13 - ], - [ - 141, - 11 - ], - [ - 144, - 9 - ], - [ - 150, - 8 - ], - [ - 154, - 8 - ], - [ - 158, - 20 - ], - [ - 165, - 12 - ], - [ - 168, - 10 - ], - [ - 171, - 12 - ], - [ - 174, - 28 - ], - [ - 177, - 27 - ], - [ - 180, - 17 - ], - [ - 183, - 17 - ], - [ - 186, - 15 - ], - [ - 189, - 15 - ], - [ - 192, - 19 - ], - [ - 195, - 17 - ], - [ - 198, - 22 - ], - [ - 201, - 15 - ], - [ - 204, - 21 - ], - [ - 207, - 18 - ], - [ - 210, - 18 - ], - [ - 213, - 11 - ], - [ - 216, - 11 - ], - [ - 219, - 14 - ], - [ - 222, - 18 - ], - [ - 225, - 19 - ], - [ - 228, - 24 - ], - [ - 230, - 17 - ], - [ - 232, - 16 - ], - [ - 234, - 10 - ], - [ - 236, - 22 - ], - [ - 242, - 27 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 243, - 49 - ] - ] - } - }, - "9": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 9, - 12 - ], - [ - 14, - 1 - ] - ] - } - }, - "14": { - "17": { - "name": "focusOnAttach", - "type": "primitive", - "range": [ - [ - 14, - 17 - ], - [ - 14, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editorOrParams", - "props" - ], - "range": [ - [ - 16, - 15 - ], - [ - 58, - 1 - ] - ], - "doc": "~Private~" - } - }, - "58": { - "13": { - "name": "getEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 58, - 13 - ], - [ - 58, - 22 - ] - ], - "doc": "~Private~" - } - }, - "69": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 69, - 15 - ], - [ - 77, - 1 - ] - ], - "doc": "~Private~" - } - }, - "77": { - "13": { - "name": "scrollTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollTop" - ], - "range": [ - [ - 77, - 13 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "14": { - "name": "scrollLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scrollLeft" - ], - "range": [ - [ - 83, - 14 - ], - [ - 89, - 1 - ] - ], - "doc": "~Private~" - } - }, - "89": { - "18": { - "name": "scrollToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 89, - 18 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "26": { - "name": "scrollToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition", - "options" - ], - "range": [ - [ - 92, - 26 - ], - [ - 95, - 1 - ] - ], - "doc": "~Private~" - } - }, - "95": { - "26": { - "name": "scrollToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition", - "options" - ], - "range": [ - [ - 95, - 26 - ], - [ - 98, - 1 - ] - ], - "doc": "~Private~" - } - }, - "98": { - "26": { - "name": "scrollToCursorPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 26 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "scrollToPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pixelPosition" - ], - "range": [ - [ - 101, - 25 - ], - [ - 105, - 1 - ] - ], - "doc": "~Private~" - } - }, - "105": { - "34": { - "name": "pixelPositionForBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferPosition" - ], - "range": [ - [ - 105, - 34 - ], - [ - 108, - 1 - ] - ], - "doc": "~Private~" - } - }, - "108": { - "34": { - "name": "pixelPositionForScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenPosition" - ], - "range": [ - [ - 108, - 34 - ], - [ - 111, - 1 - ] - ], - "doc": "~Private~" - } - }, - "111": { - "21": { - "name": "appendToLinesView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 111, - 21 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 16 - ], - [ - 122, - 1 - ] - ], - "doc": "~Private~" - } - }, - "122": { - "13": { - "name": "splitLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 122, - 13 - ], - [ - 127, - 1 - ] - ], - "doc": "Public: Split the editor view left. " - } - }, - "127": { - "14": { - "name": "splitRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 127, - 14 - ], - [ - 132, - 1 - ] - ], - "doc": "Public: Split the editor view right. " - } - }, - "132": { - "11": { - "name": "splitUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 132, - 11 - ], - [ - 137, - 1 - ] - ], - "doc": "Public: Split the editor view up. " - } - }, - "137": { - "13": { - "name": "splitDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 13 - ], - [ - 141, - 1 - ] - ], - "doc": "Public: Split the editor view down. " - } - }, - "141": { - "11": { - "name": "getPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 11 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "9": { - "name": "focus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 144, - 9 - ], - [ - 150, - 1 - ] - ], - "doc": "~Private~" - } - }, - "150": { - "8": { - "name": "hide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 150, - 8 - ], - [ - 154, - 1 - ] - ], - "doc": "~Private~" - } - }, - "154": { - "8": { - "name": "show", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 8 - ], - [ - 158, - 1 - ] - ], - "doc": "~Private~" - } - }, - "158": { - "20": { - "name": "pollComponentDOM", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 158, - 20 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "12": { - "name": "pageDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 12 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "10": { - "name": "pageUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 10 - ], - [ - 171, - 1 - ] - ], - "doc": "~Private~" - } - }, - "171": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 12 - ], - [ - 174, - 1 - ] - ], - "doc": "~Private~" - } - }, - "174": { - "28": { - "name": "getFirstVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 174, - 28 - ], - [ - 177, - 1 - ] - ], - "doc": "~Private~" - } - }, - "177": { - "27": { - "name": "getLastVisibleScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 177, - 27 - ], - [ - 180, - 1 - ] - ], - "doc": "~Private~" - } - }, - "180": { - "17": { - "name": "getFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 180, - 17 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "17": { - "name": "setFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 183, - 17 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "15": { - "name": "getFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 186, - 15 - ], - [ - 189, - 1 - ] - ], - "doc": "~Private~" - } - }, - "189": { - "15": { - "name": "setFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 189, - 15 - ], - [ - 192, - 1 - ] - ], - "doc": "~Private~" - } - }, - "192": { - "19": { - "name": "setWidthInChars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "widthInChars" - ], - "range": [ - [ - 192, - 19 - ], - [ - 195, - 1 - ] - ], - "doc": "~Private~" - } - }, - "195": { - "17": { - "name": "setLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 195, - 17 - ], - [ - 198, - 1 - ] - ], - "doc": "~Private~" - } - }, - "198": { - "22": { - "name": "setShowIndentGuide", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showIndentGuide" - ], - "range": [ - [ - 198, - 22 - ], - [ - 201, - 1 - ] - ], - "doc": "~Private~" - } - }, - "201": { - "15": { - "name": "setSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "softWrap" - ], - "range": [ - [ - 201, - 15 - ], - [ - 204, - 1 - ] - ], - "doc": "~Private~" - } - }, - "204": { - "21": { - "name": "setShowInvisibles", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "showInvisibles" - ], - "range": [ - [ - 204, - 21 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "18": { - "name": "toggleSoftWrap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 207, - 18 - ], - [ - 210, - 1 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "18": { - "name": "toggleSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 18 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 11 - ], - [ - 216, - 1 - ] - ], - "doc": "~Private~" - } - }, - "216": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 216, - 11 - ], - [ - 219, - 1 - ] - ], - "doc": "~Private~" - } - }, - "219": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 219, - 14 - ], - [ - 222, - 1 - ] - ], - "doc": "~Private~" - } - }, - "222": { - "18": { - "name": "isInputEnabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 222, - 18 - ], - [ - 225, - 1 - ] - ], - "doc": "~Private~" - } - }, - "225": { - "19": { - "name": "setInputEnabled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "inputEnabled" - ], - "range": [ - [ - 225, - 19 - ], - [ - 228, - 1 - ] - ], - "doc": "~Private~" - } - }, - "228": { - "24": { - "name": "requestDisplayUpdate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 228, - 24 - ], - [ - 228, - 25 - ] - ], - "doc": "~Private~" - } - }, - "230": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 230, - 17 - ], - [ - 230, - 18 - ] - ], - "doc": "~Private~" - } - }, - "232": { - "16": { - "name": "resetDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 232, - 16 - ], - [ - 232, - 17 - ] - ], - "doc": "~Private~" - } - }, - "234": { - "10": { - "name": "redraw", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 10 - ], - [ - 234, - 11 - ] - ], - "doc": "~Private~" - } - }, - "236": { - "22": { - "name": "setPlaceholderText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "placeholderText" - ], - "range": [ - [ - 236, - 22 - ], - [ - 242, - 1 - ] - ], - "doc": "~Private~" - } - }, - "242": { - "27": { - "name": "lineElementForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 242, - 27 - ], - [ - 243, - 49 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/replace-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "scandal@1.0.0", - "name": "PathReplacer", - "exportsProperty": "PathReplacer" - } - } - }, - "exports": 2 - }, - "src/repository-status-handler.coffee": { - "objects": { - "0": { - "6": { - "name": "Git", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "git-utils@^2.1.3" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - } - }, - "exports": 3 - }, - "src/row-map.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 15 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "spliceWithArray", - "exportsProperty": "spliceWithArray" - } - }, - "16": { - "0": { - "type": "class", - "name": "RowMap", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 15 - ], - [ - 21, - 14 - ], - [ - 27, - 30 - ], - [ - 40, - 30 - ], - [ - 50, - 30 - ], - [ - 61, - 17 - ], - [ - 83, - 23 - ], - [ - 93, - 23 - ], - [ - 103, - 35 - ], - [ - 116, - 11 - ] - ], - "doc": " Private: Used by the display buffer to map screen rows to buffer rows and vice-versa.\nThis mapping may not be 1:1 due to folds and soft-wraps. This object maintains\nan array of regions, which contain `bufferRows` and `screenRows` fields.\n\nRectangular Regions:\nIf a region has the same number of buffer rows and screen rows, it is referred\nto as \"rectangular\", and represents one or more non-soft-wrapped, non-folded\nlines.\n\nTrapezoidal Regions:\nIf a region has one buffer row and more than one screen row, it represents a\nsoft-wrapped line. If a region has one screen row and more than one buffer\nrow, it represents folded lines ", - "range": [ - [ - 16, - 0 - ], - [ - 118, - 35 - ] - ] - } - }, - "17": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 15 - ], - [ - 21, - 1 - ] - ] - } - }, - "21": { - "14": { - "name": "getRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 21, - 14 - ], - [ - 27, - 1 - ] - ], - "doc": "Public: Returns a copy of all the regions in the map " - } - }, - "27": { - "30": { - "name": "screenRowRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 27, - 30 - ], - [ - 40, - 1 - ] - ], - "doc": " Public: Returns an end-row-exclusive range of screen rows corresponding to\nthe given buffer row. If the buffer row is soft-wrapped, the range may span\nmultiple screen rows. Otherwise it will span a single screen row. " - } - }, - "40": { - "30": { - "name": "bufferRowRangeForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetScreenRow" - ], - "range": [ - [ - 40, - 30 - ], - [ - 50, - 1 - ] - ], - "doc": " Public: Returns an end-row-exclusive range of buffer rows corresponding to\nthe given screen row. If the screen row is the first line of a folded range\nof buffer rows, the range may span multiple buffer rows. Otherwise it will\nspan a single buffer row. " - } - }, - "50": { - "30": { - "name": "bufferRowRangeForBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 50, - 30 - ], - [ - 61, - 1 - ] - ], - "doc": " Public: If the given buffer row is part of a folded row range, returns that\nrow range. Otherwise returns a range spanning only the given buffer row. " - } - }, - "61": { - "17": { - "name": "spliceRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferRow", - "bufferRowCount", - "regions" - ], - "range": [ - [ - 61, - 17 - ], - [ - 83, - 1 - ] - ], - "doc": " Public: Given a starting buffer row, the number of buffer rows to replace,\nand an array of regions of shape {bufferRows: n, screenRows: m}, splices\nthe regions at the appropriate location in the map. This method is used by\ndisplay buffer to keep the map updated when the underlying buffer changes. " - } - }, - "83": { - "23": { - "name": "traverseToBufferRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetBufferRow" - ], - "range": [ - [ - 83, - 23 - ], - [ - 93, - 1 - ] - ], - "doc": "~Private~" - } - }, - "93": { - "23": { - "name": "traverseToScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetScreenRow" - ], - "range": [ - [ - 93, - 23 - ], - [ - 103, - 1 - ] - ], - "doc": "~Private~" - } - }, - "103": { - "35": { - "name": "mergeAdjacentRectangularRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startIndex", - "endIndex" - ], - "range": [ - [ - 103, - 35 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "11": { - "name": "inspect", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 11 - ], - [ - 118, - 35 - ] - ], - "doc": "Public: Returns an array of strings describing the map's regions. " - } - } - }, - "exports": 16 - }, - "src/scan-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "scandal@1.0.0", - "name": "PathSearcher", - "exportsProperty": "PathSearcher" - }, - "15": { - "type": "import", - "range": [ - [ - 0, - 15 - ], - [ - 0, - 25 - ] - ], - "bindingType": "variable", - "module": "scandal@1.0.0", - "name": "PathScanner", - "exportsProperty": "PathScanner" - }, - "28": { - "type": "import", - "range": [ - [ - 0, - 28 - ], - [ - 0, - 33 - ] - ], - "bindingType": "variable", - "module": "scandal@1.0.0", - "name": "search", - "exportsProperty": "search" - } - } - }, - "exports": 2 - }, - "src/scoped-properties.coffee": { - "objects": { - "0": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1.0.2" - } - }, - "3": { - "0": { - "type": "class", - "name": "ScopedProperties", - "bindingType": "exports", - "classProperties": [ - [ - 4, - 9 - ] - ], - "prototypeProperties": [ - [ - 11, - 15 - ], - [ - 13, - 12 - ], - [ - 17, - 14 - ] - ], - "doc": "~Private~", - "range": [ - [ - 3, - 0 - ], - [ - 18, - 39 - ] - ] - } - }, - "4": { - "9": { - "name": "load", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "scopedPropertiesPath", - "callback" - ], - "range": [ - [ - 4, - 9 - ], - [ - 11, - 1 - ] - ] - } - }, - "11": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 11, - 15 - ], - [ - 11, - 43 - ] - ], - "doc": "~Private~" - } - }, - "13": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 12 - ], - [ - 17, - 1 - ] - ], - "doc": "~Private~" - } - }, - "17": { - "14": { - "name": "deactivate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 17, - 14 - ], - [ - 18, - 39 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 3 - }, - "src/scroll-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "21": { - "0": { - "type": "class", - "name": "ScrollView", - "superClass": "View", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 22, - 14 - ] - ], - "doc": " Public: Represents a view that scrolls.\n\nSubclasses must call `super` if overriding the `initialize` method or else\nthe following events won't be handled by the ScrollView.\n\n## Events\n * `core:move-up`\n * `core:move-down`\n * `core:page-up`\n * `core:page-down`\n * `core:move-to-top`\n * `core:move-to-bottom`\n\n## Requiring in packages\n\n```coffee\n {ScrollView} = require 'atom'\n``` ", - "range": [ - [ - 21, - 0 - ], - [ - 28, - 51 - ] - ] - } - }, - "22": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 22, - 14 - ], - [ - 28, - 51 - ] - ] - } - } - }, - "exports": 21 - }, - "src/scrollbar-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork@^0.11.1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork@^1.0.0", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 6 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "extend", - "exportsProperty": "extend" - }, - "9": { - "type": "import", - "range": [ - [ - 2, - 9 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "21": { - "name": "ScrollbarComponent", - "type": "function", - "range": [ - [ - 5, - 21 - ], - [ - 69, - 28 - ] - ] - } - }, - "6": { - "15": { - "name": "'ScrollbarComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 34 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 30, - 1 - ] - ], - "doc": null - } - }, - "30": { - "21": { - "name": "componentDidMount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 30, - 21 - ], - [ - 36, - 1 - ] - ], - "doc": null - } - }, - "36": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 36, - 25 - ], - [ - 45, - 1 - ] - ], - "doc": null - } - }, - "45": { - "22": { - "name": "componentDidUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 22 - ], - [ - 57, - 1 - ] - ], - "doc": null - } - }, - "57": { - "12": { - "name": "onScroll", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 12 - ], - [ - 69, - 28 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/scrollbar-corner-component.coffee": { - "objects": { - "0": { - "8": { - "name": "React", - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 32 - ] - ], - "bindingType": "variable", - "module": "react-atom-fork@^0.11.1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 3 - ] - ], - "bindingType": "variable", - "module": "reactionary-atom-fork@^1.0.0", - "name": "div", - "exportsProperty": "div" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "isEqualForProperties", - "exportsProperty": "isEqualForProperties" - } - }, - "5": { - "27": { - "name": "ScrollbarCornerComponent", - "type": "function", - "range": [ - [ - 5, - 27 - ], - [ - 23, - 99 - ] - ] - } - }, - "6": { - "15": { - "name": "'ScrollbarCornerComponent'", - "type": "primitive", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 40 - ] - ] - } - }, - "8": { - "10": { - "name": "render", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 8, - 10 - ], - [ - 22, - 1 - ] - ], - "doc": null - } - }, - "22": { - "25": { - "name": "shouldComponentUpdate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newProps" - ], - "range": [ - [ - 22, - 25 - ], - [ - 23, - 99 - ] - ], - "doc": null - } - } - }, - "exports": 5 - }, - "src/select-list-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 7 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "4": { - "15": { - "name": "EditorView", - "type": "import", - "range": [ - [ - 4, - 15 - ], - [ - 4, - 37 - ] - ], - "bindingType": "variable", - "path": "./editor-view" - } - }, - "5": { - "14": { - "type": "primitive", - "range": [ - [ - 5, - 14 - ], - [ - 5, - 41 - ] - ] - } - }, - "36": { - "0": { - "type": "class", - "name": "SelectListView", - "superClass": "View", - "bindingType": "exports", - "classProperties": [ - [ - 37, - 12 - ] - ], - "prototypeProperties": [ - [ - 46, - 12 - ], - [ - 47, - 19 - ], - [ - 48, - 17 - ], - [ - 49, - 14 - ], - [ - 55, - 14 - ], - [ - 90, - 24 - ], - [ - 102, - 12 - ], - [ - 109, - 12 - ], - [ - 119, - 14 - ], - [ - 136, - 18 - ], - [ - 143, - 16 - ], - [ - 174, - 19 - ], - [ - 179, - 15 - ], - [ - 181, - 26 - ], - [ - 186, - 22 - ], - [ - 191, - 18 - ], - [ - 197, - 20 - ], - [ - 207, - 23 - ], - [ - 213, - 19 - ], - [ - 216, - 20 - ], - [ - 233, - 15 - ], - [ - 244, - 13 - ], - [ - 258, - 16 - ], - [ - 261, - 21 - ], - [ - 266, - 23 - ], - [ - 269, - 16 - ], - [ - 275, - 13 - ], - [ - 283, - 10 - ] - ], - "doc": " Public: Provides a view that renders a list of items with an editor that\nfilters the items. Used by many packages such as the fuzzy-finder,\ncommand-palette, symbols-view and autocomplete.\n\nSubclasses must implement the following methods:\n\n* {::viewForItem}\n* {::confirmed}\n\n## Requiring in packages\n\n```coffee\n{SelectListView} = require 'atom'\n\nclass MySelectListView extends SelectListView\n initialize: ->\n super\n @addClass('overlay from-top')\n @setItems(['Hello', 'World'])\n atom.workspaceView.append(this)\n @focusFilterEditor()\n\n viewForItem: (item) ->\n \"
  • #{item}
  • \"\n\n confirmed: (item) ->\n console.log(\"#{item} was selected\")\n``` ", - "range": [ - [ - 36, - 0 - ], - [ - 291, - 34 - ] - ] - } - }, - "37": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 37, - 12 - ], - [ - 46, - 1 - ] - ] - } - }, - "46": { - "12": { - "name": "maxItems", - "type": "primitive", - "range": [ - [ - 46, - 12 - ], - [ - 46, - 19 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "47": { - "19": { - "name": "scheduleTimeout", - "type": "primitive", - "range": [ - [ - 47, - 19 - ], - [ - 47, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "48": { - "17": { - "name": "inputThrottle", - "type": "primitive", - "range": [ - [ - 48, - 17 - ], - [ - 48, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "49": { - "14": { - "name": "cancelling", - "type": "primitive", - "range": [ - [ - 49, - 14 - ], - [ - 49, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "55": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 14 - ], - [ - 90, - 1 - ] - ], - "doc": " Public: Initialize the select list view.\n\nThis method can be overridden by subclasses but `super` should always\nbe called. " - } - }, - "90": { - "24": { - "name": "schedulePopulateList", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 90, - 24 - ], - [ - 102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "102": { - "12": { - "name": "setItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 102, - 12 - ], - [ - 109, - 1 - ] - ], - "doc": " Public: Set the array of items to display in the list.\n\nThis should be model items not actual views. {::viewForItem} will be\ncalled to render the item when it is being appended to the list view.\n\nitems - The {Array} of model items to display in the list (default: []). " - } - }, - "109": { - "12": { - "name": "setError", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 109, - 12 - ], - [ - 119, - 1 - ] - ], - "doc": " Public: Set the error message to display.\n\nmessage - The {String} error message (default: ''). " - } - }, - "119": { - "14": { - "name": "setLoading", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 119, - 14 - ], - [ - 136, - 1 - ] - ], - "doc": " Public: Set the loading message to display.\n\nmessage - The {String} loading message (default: ''). " - } - }, - "136": { - "18": { - "name": "getFilterQuery", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 136, - 18 - ], - [ - 143, - 1 - ] - ], - "doc": " Public: Get the filter query to use when fuzzy filtering the visible\nelements.\n\nBy default this method returns the text in the mini editor but it can be\noverridden by subclasses if needed.\n\nReturns a {String} to use when fuzzy filtering the elements to display. " - } - }, - "143": { - "16": { - "name": "populateList", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 143, - 16 - ], - [ - 174, - 1 - ] - ], - "doc": " Public: Populate the list view with the model items previously set by\ncalling {::setItems}.\n\nSubclasses may override this method but should always call `super`. " - } - }, - "174": { - "19": { - "name": "getEmptyMessage", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "itemCount", - "filteredItemCount" - ], - "range": [ - [ - 174, - 19 - ], - [ - 174, - 70 - ] - ], - "doc": " Public: Get the message to display when there are no items.\n\nSubclasses may override this method to customize the message.\n\nitemCount - The {Number} of items in the array specified to {::setItems}\nfilteredItemCount - The {Number} of items that pass the fuzzy filter test.\n\nReturns a {String} message (default: 'No matches found'). " - } - }, - "179": { - "15": { - "name": "setMaxItems", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 179, - 15 - ], - [ - 179, - 28 - ] - ], - "doc": " Public: Set the maximum numbers of items to display in the list.\n\nmaxItems - The maximum {Number} of items to display. " - } - }, - "181": { - "26": { - "name": "selectPreviousItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 181, - 26 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "22": { - "name": "selectNextItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 186, - 22 - ], - [ - 191, - 1 - ] - ], - "doc": "~Private~" - } - }, - "191": { - "18": { - "name": "selectItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 191, - 18 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "20": { - "name": "scrollToItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 197, - 20 - ], - [ - 207, - 1 - ] - ], - "doc": "~Private~" - } - }, - "207": { - "23": { - "name": "getSelectedItemView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 207, - 23 - ], - [ - 213, - 1 - ] - ], - "doc": "~Private~" - } - }, - "213": { - "19": { - "name": "getSelectedItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 19 - ], - [ - 216, - 1 - ] - ], - "doc": " Public: Get the model item that is currently selected in the list view.\n\nReturns a model item. " - } - }, - "216": { - "20": { - "name": "confirmSelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 216, - 20 - ], - [ - 233, - 1 - ] - ], - "doc": "~Private~" - } - }, - "233": { - "15": { - "name": "viewForItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 233, - 15 - ], - [ - 244, - 1 - ] - ], - "doc": " Public: Create a view for the given model item.\n\nThis method must be overridden by subclasses.\n\nThis is called when the item is about to appended to the list view.\n\nitem - The model item being rendered. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a String of HTML, DOM element, jQuery object, or View. " - } - }, - "244": { - "13": { - "name": "confirmed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 244, - 13 - ], - [ - 258, - 1 - ] - ], - "doc": " Public: Callback function for when an item is selected.\n\nThis method must be overridden by subclasses.\n\nitem - The selected model item. This will always be one of the items\n previously passed to {::setItems}.\n\nReturns a DOM element, jQuery object, or {View}. " - } - }, - "258": { - "16": { - "name": "getFilterKey", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 258, - 16 - ], - [ - 258, - 17 - ] - ], - "doc": " Public: Get the property name to use when filtering items.\n\nThis method may be overridden by classes to allow fuzzy filtering based\non a specific property of the item objects.\n\nFor example if the objects you pass to {::setItems} are of the type\n`{\"id\": 3, \"name\": \"Atom\"}` then you would return `\"name\"` from this method\nto fuzzy filter by that property when text is entered into this view's\neditor.\n\nReturns the property name to fuzzy filter by. " - } - }, - "261": { - "21": { - "name": "focusFilterEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 261, - 21 - ], - [ - 266, - 1 - ] - ], - "doc": "Public: Focus the fuzzy filter editor view. " - } - }, - "266": { - "23": { - "name": "storeFocusedElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 266, - 23 - ], - [ - 269, - 1 - ] - ], - "doc": " Public: Store the currently focused element. This element will be given\nback focus when {::cancel} is called. " - } - }, - "269": { - "16": { - "name": "restoreFocus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 16 - ], - [ - 275, - 1 - ] - ], - "doc": "~Private~" - } - }, - "275": { - "13": { - "name": "cancelled", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 275, - 13 - ], - [ - 283, - 1 - ] - ], - "doc": "~Private~" - } - }, - "283": { - "10": { - "name": "cancel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 283, - 10 - ], - [ - 291, - 34 - ] - ], - "doc": " Public: Cancel and close this select list view.\n\nThis restores focus to the previously focused element if\n{::storeFocusedElement} was called prior to this view being attached. " - } - } - }, - "exports": 36 - }, - "src/selection-view.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 4 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - }, - "7": { - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 8 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - } - }, - "4": { - "0": { - "type": "class", - "name": "SelectionView", - "superClass": "View", - "bindingType": "exports", - "classProperties": [ - [ - 6, - 12 - ] - ], - "prototypeProperties": [ - [ - 9, - 11 - ], - [ - 10, - 16 - ], - [ - 12, - 14 - ], - [ - 19, - 17 - ], - [ - 37, - 16 - ], - [ - 50, - 26 - ], - [ - 57, - 16 - ], - [ - 61, - 18 - ], - [ - 64, - 18 - ], - [ - 67, - 19 - ], - [ - 70, - 19 - ], - [ - 73, - 13 - ], - [ - 79, - 15 - ], - [ - 82, - 10 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 84, - 9 - ] - ] - } - }, - "6": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 6, - 12 - ], - [ - 9, - 1 - ] - ], - "doc": "~Private~" - } - }, - "9": { - "11": { - "name": "regions", - "type": "primitive", - "range": [ - [ - 9, - 11 - ], - [ - 9, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "16": { - "name": "needsRemoval", - "type": "primitive", - "range": [ - [ - 10, - 16 - ], - [ - 10, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 12, - 14 - ], - [ - 19, - 1 - ] - ], - "doc": "~Private~" - } - }, - "19": { - "17": { - "name": "updateDisplay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 19, - 17 - ], - [ - 37, - 1 - ] - ], - "doc": "~Private~" - } - }, - "37": { - "16": { - "name": "appendRegion", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rows", - "start", - "end" - ], - "range": [ - [ - 37, - 16 - ], - [ - 50, - 1 - ] - ], - "doc": "~Private~" - } - }, - "50": { - "26": { - "name": "getCenterPixelPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 26 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "16": { - "name": "clearRegions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 16 - ], - [ - 61, - 1 - ] - ], - "doc": "~Private~" - } - }, - "61": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 61, - 18 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 18 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "19": { - "name": "needsAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 19 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 70, - 19 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "13": { - "name": "highlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 13 - ], - [ - 79, - 1 - ] - ], - "doc": "~Private~" - } - }, - "79": { - "15": { - "name": "unhighlight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 79, - 15 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 10 - ], - [ - 84, - 9 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/selection.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 0, - 8 - ], - [ - 0, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Range", - "exportsProperty": "Range" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 4 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1", - "name": "pick", - "exportsProperty": "pick" - } - }, - "6": { - "0": { - "type": "class", - "name": "Selection", - "superClass": "Model", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 7, - 10 - ], - [ - 8, - 10 - ], - [ - 9, - 10 - ], - [ - 10, - 22 - ], - [ - 11, - 12 - ], - [ - 12, - 19 - ], - [ - 14, - 15 - ], - [ - 25, - 11 - ], - [ - 28, - 12 - ], - [ - 34, - 19 - ], - [ - 38, - 11 - ], - [ - 45, - 14 - ], - [ - 49, - 22 - ], - [ - 53, - 18 - ], - [ - 60, - 18 - ], - [ - 64, - 18 - ], - [ - 74, - 18 - ], - [ - 91, - 21 - ], - [ - 98, - 25 - ], - [ - 101, - 25 - ], - [ - 104, - 25 - ], - [ - 107, - 25 - ], - [ - 110, - 14 - ], - [ - 114, - 11 - ], - [ - 118, - 9 - ], - [ - 126, - 14 - ], - [ - 138, - 18 - ], - [ - 144, - 14 - ], - [ - 155, - 18 - ], - [ - 163, - 26 - ], - [ - 184, - 26 - ], - [ - 188, - 15 - ], - [ - 192, - 14 - ], - [ - 196, - 12 - ], - [ - 200, - 14 - ], - [ - 205, - 15 - ], - [ - 210, - 18 - ], - [ - 214, - 13 - ], - [ - 219, - 27 - ], - [ - 224, - 32 - ], - [ - 229, - 21 - ], - [ - 234, - 27 - ], - [ - 239, - 21 - ], - [ - 244, - 31 - ], - [ - 248, - 32 - ], - [ - 252, - 28 - ], - [ - 257, - 36 - ], - [ - 262, - 40 - ], - [ - 266, - 21 - ], - [ - 284, - 22 - ], - [ - 289, - 21 - ], - [ - 316, - 14 - ], - [ - 349, - 20 - ], - [ - 383, - 10 - ], - [ - 399, - 22 - ], - [ - 405, - 25 - ], - [ - 412, - 13 - ], - [ - 417, - 30 - ], - [ - 422, - 30 - ], - [ - 428, - 27 - ], - [ - 434, - 27 - ], - [ - 443, - 10 - ], - [ - 455, - 21 - ], - [ - 462, - 21 - ], - [ - 467, - 22 - ], - [ - 477, - 14 - ], - [ - 496, - 13 - ], - [ - 522, - 23 - ], - [ - 532, - 26 - ], - [ - 542, - 22 - ], - [ - 546, - 18 - ], - [ - 551, - 7 - ], - [ - 561, - 8 - ], - [ - 579, - 8 - ], - [ - 584, - 19 - ], - [ - 595, - 13 - ], - [ - 603, - 25 - ], - [ - 606, - 28 - ], - [ - 609, - 23 - ], - [ - 617, - 18 - ], - [ - 625, - 9 - ], - [ - 641, - 11 - ], - [ - 644, - 22 - ] - ], - "doc": "Public: Represents a selection in the {Editor}. ", - "range": [ - [ - 6, - 0 - ], - [ - 647, - 45 - ] - ] - } - }, - "7": { - "10": { - "name": "cursor", - "type": "primitive", - "range": [ - [ - 7, - 10 - ], - [ - 7, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "8": { - "10": { - "name": "marker", - "type": "primitive", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "10": { - "name": "editor", - "type": "primitive", - "range": [ - [ - 9, - 10 - ], - [ - 9, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "10": { - "22": { - "name": "initialScreenRange", - "type": "primitive", - "range": [ - [ - 10, - 22 - ], - [ - 10, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "11": { - "12": { - "name": "wordwise", - "type": "primitive", - "range": [ - [ - 11, - 12 - ], - [ - 11, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "12": { - "19": { - "name": "needsAutoscroll", - "type": "primitive", - "range": [ - [ - 12, - 19 - ], - [ - 12, - 22 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 14, - 15 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 11 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "12": { - "name": "finalize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 12 - ], - [ - 34, - 1 - ] - ], - "doc": "~Private~" - } - }, - "34": { - "19": { - "name": "clearAutoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 19 - ], - [ - 38, - 1 - ] - ], - "doc": "~Private~" - } - }, - "38": { - "11": { - "name": "isEmpty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 38, - 11 - ], - [ - 45, - 1 - ] - ], - "doc": "Public: Determines if the selection contains anything. " - } - }, - "45": { - "14": { - "name": "isReversed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 45, - 14 - ], - [ - 49, - 1 - ] - ], - "doc": " Public: Determines if the ending position of a marker is greater than the\nstarting position.\n\nThis can happen when, for example, you highlight text \"up\" in a {TextBuffer}. " - } - }, - "49": { - "22": { - "name": "isSingleScreenLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 22 - ], - [ - 53, - 1 - ] - ], - "doc": "Public: Returns whether the selection is a single line or not. " - } - }, - "53": { - "18": { - "name": "getScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 53, - 18 - ], - [ - 60, - 1 - ] - ], - "doc": "Public: Returns the screen {Range} for the selection. " - } - }, - "60": { - "18": { - "name": "setScreenRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRange", - "options" - ], - "range": [ - [ - 60, - 18 - ], - [ - 64, - 1 - ] - ], - "doc": " Public: Modifies the screen range for the selection.\n\nscreenRange - The new {Range} to use.\noptions - A hash of options matching those found in {::setBufferRange}. " - } - }, - "64": { - "18": { - "name": "getBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 18 - ], - [ - 74, - 1 - ] - ], - "doc": "Public: Returns the buffer {Range} for the selection. " - } - }, - "74": { - "18": { - "name": "setBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "options" - ], - "range": [ - [ - 74, - 18 - ], - [ - 91, - 1 - ] - ], - "doc": " Public: Modifies the buffer {Range} for the selection.\n\nscreenRange - The new {Range} to select.\noptions - An {Object} with the keys:\n :preserveFolds - if `true`, the fold settings are preserved after the\n selection moves.\n :autoscroll - if `true`, the {Editor} scrolls to the new selection. " - } - }, - "91": { - "21": { - "name": "getBufferRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 21 - ], - [ - 98, - 1 - ] - ], - "doc": " Public: Returns the starting and ending buffer rows the selection is\nhighlighting.\n\nReturns an {Array} of two {Number}s: the starting row, and the ending row. " - } - }, - "98": { - "25": { - "name": "getTailScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 98, - 25 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "25": { - "name": "getTailBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 101, - 25 - ], - [ - 104, - 1 - ] - ], - "doc": "~Private~" - } - }, - "104": { - "25": { - "name": "getHeadScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 104, - 25 - ], - [ - 107, - 1 - ] - ], - "doc": "~Private~" - } - }, - "107": { - "25": { - "name": "getHeadBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 107, - 25 - ], - [ - 110, - 1 - ] - ], - "doc": "~Private~" - } - }, - "110": { - "14": { - "name": "autoscroll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 110, - 14 - ], - [ - 114, - 1 - ] - ], - "doc": "~Private~" - } - }, - "114": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 114, - 11 - ], - [ - 118, - 1 - ] - ], - "doc": "Public: Returns the text in the selection. " - } - }, - "118": { - "9": { - "name": "clear", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 118, - 9 - ], - [ - 126, - 1 - ] - ], - "doc": "Public: Clears the selection, moving the marker to the head. " - } - }, - "126": { - "14": { - "name": "selectWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 126, - 14 - ], - [ - 138, - 1 - ] - ], - "doc": " Public: Modifies the selection to encompass the current word.\n\nReturns a {Range}. " - } - }, - "138": { - "18": { - "name": "expandOverWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 138, - 18 - ], - [ - 144, - 1 - ] - ], - "doc": " Public: Expands the newest selection to include the entire word on which\nthe cursors rests. " - } - }, - "144": { - "14": { - "name": "selectLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 144, - 14 - ], - [ - 155, - 1 - ] - ], - "doc": " Public: Selects an entire line in the buffer.\n\nrow - The line {Number} to select (default: the row of the cursor). " - } - }, - "155": { - "18": { - "name": "expandOverLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 155, - 18 - ], - [ - 163, - 1 - ] - ], - "doc": " Public: Expands the newest selection to include the entire line on which\nthe cursor currently rests.\n\nIt also includes the newline character. " - } - }, - "163": { - "26": { - "name": "selectToScreenPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 163, - 26 - ], - [ - 184, - 1 - ] - ], - "doc": " Public: Selects the text from the current cursor position to a given screen\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "184": { - "26": { - "name": "selectToBufferPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 184, - 26 - ], - [ - 188, - 1 - ] - ], - "doc": " Public: Selects the text from the current cursor position to a given buffer\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - } - }, - "188": { - "15": { - "name": "selectRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 188, - 15 - ], - [ - 192, - 1 - ] - ], - "doc": "Public: Selects the text one position right of the cursor. " - } - }, - "192": { - "14": { - "name": "selectLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 192, - 14 - ], - [ - 196, - 1 - ] - ], - "doc": "Public: Selects the text one position left of the cursor. " - } - }, - "196": { - "12": { - "name": "selectUp", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 196, - 12 - ], - [ - 200, - 1 - ] - ], - "doc": "Public: Selects all the text one position above the cursor. " - } - }, - "200": { - "14": { - "name": "selectDown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "rowCount" - ], - "range": [ - [ - 200, - 14 - ], - [ - 205, - 1 - ] - ], - "doc": "Public: Selects all the text one position below the cursor. " - } - }, - "205": { - "15": { - "name": "selectToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 205, - 15 - ], - [ - 210, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the top of\nthe buffer. " - } - }, - "210": { - "18": { - "name": "selectToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 18 - ], - [ - 214, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the bottom\nof the buffer. " - } - }, - "214": { - "13": { - "name": "selectAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 214, - 13 - ], - [ - 219, - 1 - ] - ], - "doc": "Public: Selects all the text in the buffer. " - } - }, - "219": { - "27": { - "name": "selectToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 219, - 27 - ], - [ - 224, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the line. " - } - }, - "224": { - "32": { - "name": "selectToFirstCharacterOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 32 - ], - [ - 229, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the first\ncharacter of the line. " - } - }, - "229": { - "21": { - "name": "selectToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 229, - 21 - ], - [ - 234, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the end of\nthe line. " - } - }, - "234": { - "27": { - "name": "selectToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 234, - 27 - ], - [ - 239, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the word. " - } - }, - "239": { - "21": { - "name": "selectToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 239, - 21 - ], - [ - 244, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the end of\nthe word. " - } - }, - "244": { - "31": { - "name": "selectToBeginningOfNextWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 244, - 31 - ], - [ - 248, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next word. " - } - }, - "248": { - "32": { - "name": "selectToPreviousWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 248, - 32 - ], - [ - 252, - 1 - ] - ], - "doc": "Public: Selects text to the previous word boundary. " - } - }, - "252": { - "28": { - "name": "selectToNextWordBoundary", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 252, - 28 - ], - [ - 257, - 1 - ] - ], - "doc": "Public: Selects text to the next word boundary. " - } - }, - "257": { - "36": { - "name": "selectToBeginningOfNextParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 257, - 36 - ], - [ - 262, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the next paragraph. " - } - }, - "262": { - "40": { - "name": "selectToBeginningOfPreviousParagraph", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 262, - 40 - ], - [ - 266, - 1 - ] - ], - "doc": " Public: Selects all the text from the current cursor position to the\nbeginning of the previous paragraph. " - } - }, - "266": { - "21": { - "name": "addSelectionBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 266, - 21 - ], - [ - 284, - 1 - ] - ], - "doc": "Public: Moves the selection down one row. " - } - }, - "284": { - "22": { - "name": "getGoalBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 22 - ], - [ - 289, - 1 - ] - ], - "doc": "FIXME: I have no idea what this does. " - } - }, - "289": { - "21": { - "name": "addSelectionAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 289, - 21 - ], - [ - 316, - 1 - ] - ], - "doc": "Public: Moves the selection up one row. " - } - }, - "316": { - "14": { - "name": "insertText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "options" - ], - "range": [ - [ - 316, - 14 - ], - [ - 349, - 1 - ] - ], - "doc": " Public: Replaces text at the current selection.\n\ntext - A {String} representing the text to add\noptions - An {Object} with keys:\n :select - if `true`, selects the newly added text.\n :autoIndent - if `true`, indents all inserted text appropriately.\n :autoIndentNewline - if `true`, indent newline appropriately.\n :autoDecreaseIndent - if `true`, decreases indent level appropriately\n (for example, when a closing bracket is inserted).\n :undo - if `skip`, skips the undo stack for this operation. " - } - }, - "349": { - "20": { - "name": "normalizeIndents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "indentBasis" - ], - "range": [ - [ - 349, - 20 - ], - [ - 383, - 1 - ] - ], - "doc": " Public: Indents the given text to the suggested level based on the grammar.\n\ntext - The {String} to indent within the selection.\nindentBasis - The beginning indent level. " - } - }, - "383": { - "10": { - "name": "indent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 383, - 10 - ], - [ - 399, - 1 - ] - ], - "doc": " Private: Indent the current line(s).\n\nIf the selection is empty, indents the current line if the cursor precedes\nnon-whitespace characters, and otherwise inserts a tab. If the selection is\nnon empty, calls {::indentSelectedRows}.\n\noptions - A {Object} with the keys:\n :autoIndent - If `true`, the line is indented to an automatically-inferred\n level. Otherwise, {Editor::getTabText} is inserted. " - } - }, - "399": { - "22": { - "name": "indentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 399, - 22 - ], - [ - 405, - 1 - ] - ], - "doc": "Public: If the selection spans multiple rows, indent all of them. " - } - }, - "405": { - "25": { - "name": "setIndentationForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line", - "indentLevel" - ], - "range": [ - [ - 405, - 25 - ], - [ - 412, - 1 - ] - ], - "doc": "Public: ? " - } - }, - "412": { - "13": { - "name": "backspace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 412, - 13 - ], - [ - 417, - 1 - ] - ], - "doc": " Public: Removes the first character before the selection if the selection\nis empty otherwise it deletes the selection. " - } - }, - "417": { - "30": { - "name": "backspaceToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 417, - 30 - ], - [ - 422, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfWord} instead. " - } - }, - "422": { - "30": { - "name": "backspaceToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 422, - 30 - ], - [ - 428, - 1 - ] - ], - "doc": "Deprecated: Use {::deleteToBeginningOfLine} instead. " - } - }, - "428": { - "27": { - "name": "deleteToBeginningOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 428, - 27 - ], - [ - 434, - 1 - ] - ], - "doc": " Public: Removes from the start of the selection to the beginning of the\ncurrent word if the selection is empty otherwise it deletes the selection. " - } - }, - "434": { - "27": { - "name": "deleteToBeginningOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 434, - 27 - ], - [ - 443, - 1 - ] - ], - "doc": " Public: Removes from the beginning of the line which the selection begins on\nall the way through to the end of the selection. " - } - }, - "443": { - "10": { - "name": "delete", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 443, - 10 - ], - [ - 455, - 1 - ] - ] - } - }, - "455": { - "21": { - "name": "deleteToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 455, - 21 - ], - [ - 462, - 1 - ] - ], - "doc": " Public: If the selection is empty, removes all text from the cursor to the\nend of the line. If the cursor is already at the end of the line, it\nremoves the following newline. If the selection isn't empty, only deletes\nthe contents of the selection. " - } - }, - "462": { - "21": { - "name": "deleteToEndOfWord", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 462, - 21 - ], - [ - 467, - 1 - ] - ], - "doc": " Public: Removes the selection or all characters from the start of the\nselection to the end of the current word if nothing is selected. " - } - }, - "467": { - "22": { - "name": "deleteSelectedText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 467, - 22 - ], - [ - 477, - 1 - ] - ], - "doc": "Public: Removes only the selected text. " - } - }, - "477": { - "14": { - "name": "deleteLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 477, - 14 - ], - [ - 496, - 1 - ] - ], - "doc": " Public: Removes the line at the beginning of the selection if the selection\nis empty unless the selection spans multiple lines in which case all lines\nare removed. " - } - }, - "496": { - "13": { - "name": "joinLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 496, - 13 - ], - [ - 522, - 1 - ] - ], - "doc": " Public: Joins the current line with the one below it.\n\nIf there selection spans more than one line, all the lines are joined together. " - } - }, - "522": { - "23": { - "name": "outdentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 522, - 23 - ], - [ - 532, - 1 - ] - ], - "doc": "Public: Removes one level of indent from the currently selected rows. " - } - }, - "532": { - "26": { - "name": "autoIndentSelectedRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 532, - 26 - ], - [ - 542, - 1 - ] - ], - "doc": " Public: Sets the indentation level of all selected rows to values suggested\nby the relevant grammars. " - } - }, - "542": { - "22": { - "name": "toggleLineComments", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 542, - 22 - ], - [ - 546, - 1 - ] - ], - "doc": " Public: Wraps the selected lines in comments if they aren't currently part\nof a comment.\n\nRemoves the comment if they are currently wrapped in a comment.\n\nReturns an Array of the commented {Range}s. " - } - }, - "546": { - "18": { - "name": "cutToEndOfLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 546, - 18 - ], - [ - 551, - 1 - ] - ], - "doc": "Public: Cuts the selection until the end of the line. " - } - }, - "551": { - "7": { - "name": "cut", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 551, - 7 - ], - [ - 561, - 1 - ] - ], - "doc": "Public: Copies the selection to the clipboard and then deletes it. " - } - }, - "561": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "maintainClipboard" - ], - "range": [ - [ - 561, - 8 - ], - [ - 579, - 1 - ] - ], - "doc": " Public: Copies the current selection to the clipboard.\n\nIf the `maintainClipboard` is set to `true`, a specific metadata property\nis created to store each content copied to the clipboard. The clipboard\n`text` still contains the concatenation of the clipboard with the\ncurrent selection. " - } - }, - "579": { - "8": { - "name": "fold", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 579, - 8 - ], - [ - 584, - 1 - ] - ], - "doc": "Public: Creates a fold containing the current selection. " - } - }, - "584": { - "19": { - "name": "modifySelection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 584, - 19 - ], - [ - 595, - 1 - ] - ], - "doc": "~Private~" - } - }, - "595": { - "13": { - "name": "plantTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 595, - 13 - ], - [ - 603, - 1 - ] - ], - "doc": " Private: Sets the marker's tail to the same position as the marker's head.\n\nThis only works if there isn't already a tail position.\n\nReturns a {Point} representing the new tail position. " - } - }, - "603": { - "25": { - "name": "intersectsBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange" - ], - "range": [ - [ - 603, - 25 - ], - [ - 606, - 1 - ] - ], - "doc": " Public: Identifies if a selection intersects with a given buffer range.\n\nbufferRange - A {Range} to check against.\n\nReturns a Boolean. " - } - }, - "606": { - "28": { - "name": "intersectsScreenRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 606, - 28 - ], - [ - 609, - 1 - ] - ], - "doc": "~Private~" - } - }, - "609": { - "23": { - "name": "intersectsScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenRow" - ], - "range": [ - [ - 609, - 23 - ], - [ - 617, - 1 - ] - ], - "doc": "~Private~" - } - }, - "617": { - "18": { - "name": "intersectsWith", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection" - ], - "range": [ - [ - 617, - 18 - ], - [ - 625, - 1 - ] - ], - "doc": " Public: Identifies if a selection intersects with another selection.\n\notherSelection - A {Selection} to check against.\n\nReturns a Boolean. " - } - }, - "625": { - "9": { - "name": "merge", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection", - "options" - ], - "range": [ - [ - 625, - 9 - ], - [ - 641, - 1 - ] - ], - "doc": " Public: Combines the given selection into this selection and then destroys\nthe given selection.\n\notherSelection - A {Selection} to merge with.\noptions - A hash of options matching those found in {::setBufferRange}. " - } - }, - "641": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherSelection" - ], - "range": [ - [ - 641, - 11 - ], - [ - 644, - 1 - ] - ], - "doc": " Public: Compare this selection's buffer range to another selection's buffer\nrange.\n\nSee {Range::compare} for more details.\n\notherSelection - A {Selection} to compare against. " - } - }, - "644": { - "22": { - "name": "screenRangeChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 644, - 22 - ], - [ - 647, - 45 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 6 - }, - "src/space-pen-extensions.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "11": { - "name": "spacePen", - "type": "import", - "range": [ - [ - 1, - 11 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "space-pen@3.2.0" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "6": { - "9": { - "name": "spacePen", - "type": "primitive", - "range": [ - [ - 6, - 9 - ], - [ - 6, - 16 - ] - ] - } - }, - "7": { - "20": { - "name": "jQuery", - "type": "primitive", - "range": [ - [ - 7, - 20 - ], - [ - 7, - 25 - ] - ] - } - }, - "8": { - "19": { - "name": "jQuery.cleanData", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "elements" - ], - "range": [ - [ - 8, - 19 - ], - [ - 11, - 0 - ] - ], - "doc": null - } - }, - "13": { - "2": { - "type": "primitive", - "range": [ - [ - 13, - 2 - ], - [ - 19, - 19 - ] - ] - } - }, - "14": { - "4": { - "type": "primitive", - "range": [ - [ - 14, - 4 - ], - [ - 15, - 12 - ] - ] - }, - "10": { - "name": "1000", - "type": "primitive", - "range": [ - [ - 14, - 10 - ], - [ - 14, - 13 - ] - ] - } - }, - "15": { - "10": { - "name": "100", - "type": "primitive", - "range": [ - [ - 15, - 10 - ], - [ - 15, - 12 - ] - ] - } - }, - "16": { - "13": { - "name": "'body'", - "type": "primitive", - "range": [ - [ - 16, - 13 - ], - [ - 16, - 18 - ] - ] - } - }, - "17": { - "8": { - "type": "primitive", - "range": [ - [ - 17, - 8 - ], - [ - 17, - 11 - ] - ] - } - }, - "18": { - "13": { - "name": "'auto top'", - "type": "primitive", - "range": [ - [ - 18, - 13 - ], - [ - 18, - 22 - ] - ] - } - }, - "19": { - "19": { - "name": "2", - "type": "primitive", - "range": [ - [ - 19, - 19 - ], - [ - 19, - 19 - ] - ] - } - }, - "21": { - "21": { - "name": "humanizeKeystrokes", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "keystroke" - ], - "range": [ - [ - 21, - 21 - ], - [ - 25, - 0 - ] - ], - "doc": "~Private~" - } - }, - "26": { - "15": { - "name": "getKeystroke", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "bindings" - ], - "range": [ - [ - 26, - 15 - ], - [ - 31, - 0 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "26": { - "name": "requireBootstrapTooltip", - "type": "function", - "range": [ - [ - 32, - 26 - ], - [ - 35, - 59 - ] - ] - } - }, - "36": { - "23": { - "name": "jQuery.fn.setTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "tooltipOptions", - null - ], - "range": [ - [ - 36, - 23 - ], - [ - 49, - 0 - ] - ], - "doc": null - } - }, - "50": { - "24": { - "name": "jQuery.fn.hideTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 50, - 24 - ], - [ - 55, - 0 - ] - ], - "doc": null - } - }, - "56": { - "27": { - "name": "jQuery.fn.destroyTooltip", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 56, - 27 - ], - [ - 61, - 38 - ] - ], - "doc": null - } - }, - "68": { - "36": { - "name": "getKeystroke", - "type": "primitive", - "range": [ - [ - 68, - 36 - ], - [ - 68, - 47 - ] - ] - } - }, - "69": { - "42": { - "name": "humanizeKeystrokes", - "type": "primitive", - "range": [ - [ - 69, - 42 - ], - [ - 69, - 59 - ] - ] - } - }, - "71": { - "49": { - "name": "get", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 71, - 49 - ], - [ - 71, - 55 - ] - ], - "doc": null - } - } - }, - "exports": 73 - }, - "src/subscriber-mixin.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "1": { - "18": { - "type": "primitive", - "range": [ - [ - 1, - 18 - ], - [ - 1, - 55 - ] - ] - }, - "39": { - "name": "componentDidUnmount", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 1, - 39 - ], - [ - 1, - 55 - ] - ], - "doc": null - } - } - }, - "exports": 3 - }, - "src/syntax.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 11 - ] - ], - "bindingType": "variable", - "module": "clear-cut@0.4.0", - "name": "specificity", - "exportsProperty": "specificity" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 15 - ] - ], - "bindingType": "variable", - "module": "first-mate@^2.0.1", - "name": "GrammarRegistry", - "exportsProperty": "GrammarRegistry" - }, - "18": { - "type": "import", - "range": [ - [ - 4, - 18 - ], - [ - 4, - 30 - ] - ], - "bindingType": "variable", - "module": "first-mate@^2.0.1", - "name": "ScopeSelector", - "exportsProperty": "ScopeSelector" - } - }, - "5": { - "22": { - "name": "ScopedPropertyStore", - "type": "import", - "range": [ - [ - 5, - 22 - ], - [ - 5, - 52 - ] - ], - "bindingType": "variable", - "module": "scoped-property-store@^0.9.0" - } - }, - "6": { - "20": { - "name": "PropertyAccessors", - "type": "import", - "range": [ - [ - 6, - 20 - ], - [ - 6, - 47 - ] - ], - "bindingType": "variable", - "module": "property-accessors@^1" - } - }, - "8": { - "1": { - "type": "import", - "range": [ - [ - 8, - 1 - ], - [ - 8, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 8, - 4 - ], - [ - 8, - 5 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - } - }, - "9": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 9, - 8 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "18": { - "0": { - "type": "class", - "name": "Syntax", - "superClass": "GrammarRegistry", - "bindingType": "exports", - "classProperties": [ - [ - 23, - 16 - ] - ], - "prototypeProperties": [ - [ - 28, - 15 - ], - [ - 32, - 13 - ], - [ - 35, - 15 - ], - [ - 42, - 17 - ], - [ - 49, - 20 - ], - [ - 52, - 19 - ], - [ - 67, - 15 - ], - [ - 75, - 22 - ], - [ - 84, - 32 - ] - ], - "doc": " Public: Syntax class holding the grammars used for tokenizing.\n\nAn instance of this class is always available as the `atom.syntax` global.\n\nThe Syntax class also contains properties for things such as the\nlanguage-specific comment regexes. ", - "range": [ - [ - 18, - 0 - ], - [ - 85, - 52 - ] - ] - } - }, - "23": { - "16": { - "name": "deserialize", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 23, - 16 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 28, - 15 - ], - [ - 32, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "13": { - "name": "serialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 32, - 13 - ], - [ - 35, - 1 - ] - ], - "doc": "~Private~" - } - }, - "35": { - "15": { - "name": "createToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "scopes" - ], - "range": [ - [ - 35, - 15 - ], - [ - 35, - 59 - ] - ], - "doc": "~Private~" - } - }, - "42": { - "17": { - "name": "addProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 42, - 17 - ], - [ - 49, - 1 - ] - ], - "doc": "~Private~" - } - }, - "49": { - "20": { - "name": "removeProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 49, - 20 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "19": { - "name": "clearProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 19 - ], - [ - 67, - 1 - ] - ], - "doc": "~Private~" - } - }, - "67": { - "15": { - "name": "getProperty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scope", - "keyPath" - ], - "range": [ - [ - 67, - 15 - ], - [ - 75, - 1 - ] - ], - "doc": " Public: Get a property for the given scope and key path.\n\n## Example\n```coffee\ncomment = atom.syntax.getProperty(['.source.ruby'], 'editor.commentStart')\nconsole.log(comment) # '# '\n```\n\nscope - An {Array} of {String} scopes.\nkeyPath - A {String} key path.\n\nReturns a {String} property value or undefined. " - } - }, - "75": { - "22": { - "name": "propertiesForScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scope", - "keyPath" - ], - "range": [ - [ - 75, - 22 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "32": { - "name": "cssSelectorFromScopeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeSelector" - ], - "range": [ - [ - 84, - 32 - ], - [ - 85, - 52 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 18 - }, - "src/task-bootstrap.coffee": { - "objects": { - "0": { - "1": { - "type": "primitive", - "name": "userAgent", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "exportsProperty": "userAgent" - }, - "12": { - "type": "primitive", - "name": "taskPath", - "range": [ - [ - 0, - 12 - ], - [ - 0, - 19 - ] - ], - "exportsProperty": "taskPath" - } - }, - "3": { - "15": { - "name": "setupGlobals", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 3, - 15 - ], - [ - 28, - 0 - ] - ], - "doc": "~Private~" - } - }, - "29": { - "15": { - "name": "handleEvents", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 15 - ], - [ - 42, - 0 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "10": { - "name": "handler", - "type": "import", - "range": [ - [ - 45, - 10 - ], - [ - 45, - 26 - ] - ], - "bindingType": "variable", - "module": "askPat" - } - } - }, - "exports": {} - }, - "src/task.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "16": { - "name": "child_process", - "type": "import", - "range": [ - [ - 1, - 16 - ], - [ - 1, - 38 - ] - ], - "bindingType": "variable", - "module": "child_process", - "builtin": true - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "21": { - "0": { - "type": "class", - "name": "Task", - "bindingType": "exports", - "classProperties": [ - [ - 29, - 9 - ] - ], - "prototypeProperties": [ - [ - 41, - 12 - ], - [ - 47, - 15 - ], - [ - 73, - 16 - ], - [ - 82, - 9 - ], - [ - 95, - 8 - ], - [ - 102, - 13 - ] - ], - "doc": " Public: Run a node script in a separate process.\n\nUsed by the fuzzy-finder.\n\n## Events\n\n* task:log - Emitted when console.log is called within the task.\n* task:warn - Emitted when console.warn is called within the task.\n* task:error - Emitted when console.error is called within the task.\n* task:completed - Emitted when the task has succeeded or failed.\n\n## Requiring in packages\n\n```coffee\n {Task} = require 'atom'\n``` ", - "range": [ - [ - 21, - 0 - ], - [ - 109, - 10 - ] - ] - } - }, - "29": { - "9": { - "name": "once", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "taskPath", - "args" - ], - "range": [ - [ - 29, - 9 - ], - [ - 41, - 1 - ] - ], - "doc": " Public: A helper method to easily launch and run a task once.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file which\n exports a single {Function} to execute.\nargs - The arguments to pass to the exported function. " - } - }, - "41": { - "12": { - "name": "callback", - "type": "primitive", - "range": [ - [ - 41, - 12 - ], - [ - 41, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "47": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "taskPath" - ], - "range": [ - [ - 47, - 15 - ], - [ - 73, - 1 - ] - ], - "doc": " Public: Creates a task.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file that\n exports a single {Function} to execute. " - } - }, - "73": { - "16": { - "name": "handleEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 73, - 16 - ], - [ - 82, - 1 - ] - ], - "doc": "Private: Routes messages from the child to the appropriate event. " - } - }, - "82": { - "9": { - "name": "start", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args", - "callback" - ], - "range": [ - [ - 82, - 9 - ], - [ - 95, - 1 - ] - ], - "doc": " Public: Starts the task.\n\nargs - The arguments to pass to the function exported by this task's script.\ncallback - An optional {Function} to call when the task completes. " - } - }, - "95": { - "8": { - "name": "send", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "message" - ], - "range": [ - [ - 95, - 8 - ], - [ - 102, - 1 - ] - ], - "doc": " Public: Send message to the task.\n\nmessage - The message to send to the task. " - } - }, - "102": { - "13": { - "name": "terminate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 13 - ], - [ - 109, - 10 - ] - ], - "doc": " Public: Forcefully stop the running task.\n\nNo events are emitted. " - } - } - }, - "exports": 21 - }, - "src/text-utils.coffee": { - "objects": { - "0": { - "18": { - "name": "isHighSurrogate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 0, - 18 - ], - [ - 2, - 0 - ] - ], - "doc": "~Private~" - } - }, - "3": { - "17": { - "name": "isLowSurrogate", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 3, - 17 - ], - [ - 11, - 21 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "18": { - "name": "isSurrogatePair", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string", - "index" - ], - "range": [ - [ - 12, - 18 - ], - [ - 22, - 21 - ] - ], - "doc": " Private: Is the character at the given index the start of a high/low surrogate pair?\n\nstring - The {String} to check for a surrogate pair.\nindex - The {Number} index to look for a surrogate pair at.\n\nReturn a {Boolean}. " - } - }, - "23": { - "20": { - "name": "getCharacterCount", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 23, - 20 - ], - [ - 32, - 22 - ] - ], - "doc": " Private: Get the number of characters in the string accounting for surrogate pairs.\n\nThis method counts high/low surrogate pairs as a single character and will\nalways returns a value less than or equal to `string.length`.\n\nstring - The {String} to count the number of full characters in.\n\nReturns a {Number}. " - } - }, - "33": { - "19": { - "name": "hasSurrogatePair", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 33, - 19 - ], - [ - 35, - 0 - ] - ], - "doc": " Private: Does the given string contain at least one surrogate pair?\n\nstring - The {String} to check for the presence of surrogate pairs.\n\nReturns a {Boolean}. " - } - } - }, - "exports": 36 - }, - "src/theme-manager.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "5": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 5, - 4 - ], - [ - 5, - 14 - ] - ], - "bindingType": "variable", - "module": "q@^1.0.1" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "8": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "9": { - "1": { - "type": "import", - "range": [ - [ - 9, - 1 - ], - [ - 9, - 4 - ] - ], - "bindingType": "variable", - "module": "pathwatcher@^2.0.6", - "name": "File", - "exportsProperty": "File" - } - }, - "15": { - "0": { - "type": "class", - "name": "ThemeManager", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 18, - 15 - ], - [ - 22, - 21 - ], - [ - 27, - 18 - ], - [ - 31, - 18 - ], - [ - 35, - 19 - ], - [ - 39, - 19 - ], - [ - 42, - 20 - ], - [ - 47, - 24 - ], - [ - 57, - 18 - ], - [ - 82, - 20 - ], - [ - 87, - 20 - ], - [ - 93, - 20 - ], - [ - 96, - 18 - ], - [ - 109, - 25 - ], - [ - 116, - 25 - ], - [ - 121, - 22 - ], - [ - 133, - 23 - ], - [ - 137, - 25 - ], - [ - 142, - 26 - ], - [ - 145, - 21 - ], - [ - 160, - 21 - ], - [ - 169, - 18 - ], - [ - 175, - 22 - ], - [ - 197, - 14 - ], - [ - 200, - 20 - ], - [ - 209, - 19 - ] - ], - "doc": " Public: Handles loading and activating available themes.\n\nAn instance of this class is always available as the `atom.themes` global. ", - "range": [ - [ - 15, - 0 - ], - [ - 222, - 31 - ] - ] - } - }, - "18": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 18, - 15 - ], - [ - 22, - 1 - ] - ], - "doc": "~Private~" - } - }, - "22": { - "21": { - "name": "getAvailableNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 22, - 21 - ], - [ - 27, - 1 - ] - ], - "doc": "~Private~" - } - }, - "27": { - "18": { - "name": "getLoadedNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 27, - 18 - ], - [ - 31, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded theme names. " - } - }, - "31": { - "18": { - "name": "getActiveNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 31, - 18 - ], - [ - 35, - 1 - ] - ], - "doc": "Public: Get an array of all the active theme names. " - } - }, - "35": { - "19": { - "name": "getActiveThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 35, - 19 - ], - [ - 39, - 1 - ] - ], - "doc": "Public: Get an array of all the active themes. " - } - }, - "39": { - "19": { - "name": "getLoadedThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 39, - 19 - ], - [ - 42, - 1 - ] - ], - "doc": "Public: Get an array of all the loaded themes. " - } - }, - "42": { - "20": { - "name": "activatePackages", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "themePackages" - ], - "range": [ - [ - 42, - 20 - ], - [ - 42, - 55 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "24": { - "name": "getEnabledThemeNames", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 47, - 24 - ], - [ - 57, - 1 - ] - ], - "doc": " Private: Get the enabled theme names from the config.\n\nReturns an array of theme names in the order that they should be activated. " - } - }, - "57": { - "18": { - "name": "activateThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 57, - 18 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "20": { - "name": "deactivateThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 20 - ], - [ - 87, - 1 - ] - ], - "doc": "~Private~" - } - }, - "87": { - "20": { - "name": "refreshLessCache", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 87, - 20 - ], - [ - 93, - 1 - ] - ], - "doc": "~Private~" - } - }, - "93": { - "20": { - "name": "setEnabledThemes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "enabledThemeNames" - ], - "range": [ - [ - 93, - 20 - ], - [ - 96, - 1 - ] - ], - "doc": " Public: Set the list of enabled themes.\n\nenabledThemeNames - An {Array} of {String} theme names. " - } - }, - "96": { - "18": { - "name": "getImportPaths", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 18 - ], - [ - 109, - 1 - ] - ], - "doc": "~Private~" - } - }, - "109": { - "25": { - "name": "getUserStylesheetPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 109, - 25 - ], - [ - 116, - 1 - ] - ], - "doc": "Public: Returns the {String} path to the user's stylesheet under ~/.atom " - } - }, - "116": { - "25": { - "name": "unwatchUserStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 25 - ], - [ - 121, - 1 - ] - ], - "doc": "~Private~" - } - }, - "121": { - "22": { - "name": "loadUserStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 121, - 22 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "23": { - "name": "loadBaseStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 23 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "25": { - "name": "reloadBaseStylesheets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 25 - ], - [ - 142, - 1 - ] - ], - "doc": "~Private~" - } - }, - "142": { - "26": { - "name": "stylesheetElementForId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id", - "htmlElement" - ], - "range": [ - [ - 142, - 26 - ], - [ - 145, - 1 - ] - ], - "doc": "~Private~" - } - }, - "145": { - "21": { - "name": "resolveStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 145, - 21 - ], - [ - 160, - 1 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "21": { - "name": "requireStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "type", - "htmlElement" - ], - "range": [ - [ - 160, - 21 - ], - [ - 169, - 1 - ] - ], - "doc": " Public: Resolve and apply the stylesheet specified by the path.\n\nThis supports both CSS and LESS stylsheets.\n\nstylesheetPath - A {String} path to the stylesheet that can be an absolute\n path or a relative path that will be resolved against the\n load path.\n\nReturns the absolute path to the required stylesheet. " - } - }, - "169": { - "18": { - "name": "loadStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath", - "importFallbackVariables" - ], - "range": [ - [ - 169, - 18 - ], - [ - 175, - 1 - ] - ], - "doc": "~Private~" - } - }, - "175": { - "22": { - "name": "loadLessStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lessStylesheetPath", - "importFallbackVariables" - ], - "range": [ - [ - 175, - 22 - ], - [ - 197, - 1 - ] - ], - "doc": "~Private~" - } - }, - "197": { - "14": { - "name": "stringToId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 197, - 14 - ], - [ - 200, - 1 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "20": { - "name": "removeStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stylesheetPath" - ], - "range": [ - [ - 200, - 20 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "19": { - "name": "applyStylesheet", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "path", - "text", - "type", - "htmlElement" - ], - "range": [ - [ - 209, - 19 - ], - [ - 222, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 15 - }, - "src/theme-package.coffee": { - "objects": { - "0": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 14 - ] - ], - "bindingType": "variable", - "module": "q@^1.0.1" - } - }, - "1": { - "10": { - "name": "Package", - "type": "import", - "range": [ - [ - 1, - 10 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "path": "./package" - } - }, - "4": { - "0": { - "type": "class", - "name": "ThemePackage", - "superClass": "Package", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 5, - 11 - ], - [ - 7, - 21 - ], - [ - 9, - 10 - ], - [ - 12, - 11 - ], - [ - 15, - 8 - ], - [ - 23, - 12 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 31, - 31 - ] - ] - } - }, - "5": { - "11": { - "name": "getType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 5, - 11 - ], - [ - 5, - 20 - ] - ] - } - }, - "7": { - "21": { - "name": "getStylesheetType", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 7, - 21 - ], - [ - 7, - 30 - ] - ], - "doc": "~Private~" - } - }, - "9": { - "10": { - "name": "enable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 9, - 10 - ], - [ - 12, - 1 - ] - ], - "doc": "~Private~" - } - }, - "12": { - "11": { - "name": "disable", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 12, - 11 - ], - [ - 15, - 1 - ] - ], - "doc": "~Private~" - } - }, - "15": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 15, - 8 - ], - [ - 23, - 1 - ] - ], - "doc": "~Private~" - } - }, - "23": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 23, - 12 - ], - [ - 31, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/token.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "12": { - "name": "textUtils", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 33 - ] - ], - "bindingType": "variable", - "path": "./text-utils" - } - }, - "3": { - "31": { - "type": "primitive", - "range": [ - [ - 3, - 31 - ], - [ - 3, - 32 - ] - ] - } - }, - "4": { - "20": { - "name": "/^[ ]+/", - "type": "primitive", - "range": [ - [ - 4, - 20 - ], - [ - 4, - 26 - ] - ] - } - }, - "5": { - "21": { - "name": "/[ ]+$/", - "type": "primitive", - "range": [ - [ - 5, - 21 - ], - [ - 5, - 27 - ] - ] - } - }, - "6": { - "14": { - "name": "/[&\"'<>]/g", - "type": "primitive", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 23 - ] - ] - } - }, - "7": { - "17": { - "name": "/./g", - "type": "primitive", - "range": [ - [ - 7, - 17 - ], - [ - 7, - 20 - ] - ] - } - }, - "8": { - "22": { - "name": "/^./", - "type": "primitive", - "range": [ - [ - 8, - 22 - ], - [ - 8, - 25 - ] - ] - } - }, - "9": { - "16": { - "name": "/^\\.?/", - "type": "primitive", - "range": [ - [ - 9, - 16 - ], - [ - 9, - 21 - ] - ] - } - }, - "10": { - "18": { - "name": "/\\S/", - "type": "primitive", - "range": [ - [ - 10, - 18 - ], - [ - 10, - 21 - ] - ] - } - }, - "12": { - "17": { - "name": "20000", - "type": "primitive", - "range": [ - [ - 12, - 17 - ], - [ - 12, - 21 - ] - ] - } - }, - "16": { - "0": { - "type": "class", - "name": "Token", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 17, - 9 - ], - [ - 18, - 20 - ], - [ - 19, - 10 - ], - [ - 20, - 12 - ], - [ - 21, - 13 - ], - [ - 22, - 24 - ], - [ - 23, - 25 - ], - [ - 25, - 15 - ], - [ - 30, - 11 - ], - [ - 33, - 13 - ], - [ - 36, - 11 - ], - [ - 41, - 31 - ], - [ - 44, - 24 - ], - [ - 86, - 26 - ], - [ - 106, - 27 - ], - [ - 113, - 21 - ], - [ - 116, - 21 - ], - [ - 119, - 17 - ], - [ - 129, - 20 - ], - [ - 132, - 24 - ], - [ - 138, - 18 - ], - [ - 185, - 16 - ], - [ - 194, - 23 - ] - ], - "doc": "Private: Represents a single unit of text as selected by a grammar. ", - "range": [ - [ - 16, - 0 - ], - [ - 201, - 16 - ] - ] - } - }, - "17": { - "9": { - "name": "value", - "type": "primitive", - "range": [ - [ - 17, - 9 - ], - [ - 17, - 12 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "20": { - "name": "hasSurrogatePair", - "type": "primitive", - "range": [ - [ - 18, - 20 - ], - [ - 18, - 24 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "10": { - "name": "scopes", - "type": "primitive", - "range": [ - [ - 19, - 10 - ], - [ - 19, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "20": { - "12": { - "name": "isAtomic", - "type": "primitive", - "range": [ - [ - 20, - 12 - ], - [ - 20, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "13": { - "name": "isHardTab", - "type": "primitive", - "range": [ - [ - 21, - 13 - ], - [ - 21, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "22": { - "24": { - "name": "hasLeadingWhitespace", - "type": "primitive", - "range": [ - [ - 22, - 24 - ], - [ - 22, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "23": { - "25": { - "name": "hasTrailingWhitespace", - "type": "primitive", - "range": [ - [ - 23, - 25 - ], - [ - 23, - 29 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "25": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 25, - 15 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "isEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 30, - 11 - ], - [ - 33, - 1 - ] - ], - "doc": "~Private~" - } - }, - "33": { - "13": { - "name": "isBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 33, - 13 - ], - [ - 36, - 1 - ] - ], - "doc": "~Private~" - } - }, - "36": { - "11": { - "name": "splitAt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "splitIndex" - ], - "range": [ - [ - 36, - 11 - ], - [ - 41, - 1 - ] - ], - "doc": "~Private~" - } - }, - "41": { - "31": { - "name": "whitespaceRegexForTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 41, - 31 - ], - [ - 44, - 1 - ] - ], - "doc": "~Private~" - } - }, - "44": { - "24": { - "name": "breakOutAtomicTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "breakOutLeadingSoftTabs", - "startColumn" - ], - "range": [ - [ - 44, - 24 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "26": { - "name": "breakOutSurrogatePairs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 86, - 26 - ], - [ - 106, - 1 - ] - ], - "doc": "~Private~" - } - }, - "106": { - "27": { - "name": "buildSurrogatePairToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "index" - ], - "range": [ - [ - 106, - 27 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "21": { - "name": "buildHardTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "column" - ], - "range": [ - [ - 113, - 21 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "21": { - "name": "buildSoftTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength" - ], - "range": [ - [ - 116, - 21 - ], - [ - 119, - 1 - ] - ], - "doc": "~Private~" - } - }, - "119": { - "17": { - "name": "buildTabToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "tabLength", - "isHardTab", - "column" - ], - "range": [ - [ - 119, - 17 - ], - [ - 129, - 1 - ] - ], - "doc": "~Private~" - } - }, - "129": { - "20": { - "name": "isOnlyWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 129, - 20 - ], - [ - 132, - 1 - ] - ], - "doc": "~Private~" - } - }, - "132": { - "24": { - "name": "matchesScopeSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 132, - 24 - ], - [ - 138, - 1 - ] - ], - "doc": "~Private~" - } - }, - "138": { - "18": { - "name": "getValueAsHtml", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 138, - 18 - ], - [ - 185, - 1 - ] - ], - "doc": "~Private~" - } - }, - "185": { - "16": { - "name": "escapeString", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "str", - "startIndex", - "endIndex" - ], - "range": [ - [ - 185, - 16 - ], - [ - 194, - 1 - ] - ], - "doc": "~Private~" - } - }, - "194": { - "23": { - "name": "escapeStringReplace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "match" - ], - "range": [ - [ - 194, - 23 - ], - [ - 201, - 16 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 16 - }, - "src/tokenized-buffer.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Model", - "exportsProperty": "Model" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 5 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Point", - "exportsProperty": "Point" - }, - "8": { - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 12 - ] - ], - "bindingType": "variable", - "module": "text-buffer@^3.0.0", - "name": "Range", - "exportsProperty": "Range" - } - }, - "3": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@^1" - } - }, - "4": { - "16": { - "name": "TokenizedLine", - "type": "import", - "range": [ - [ - 4, - 16 - ], - [ - 4, - 41 - ] - ], - "bindingType": "variable", - "path": "./tokenized-line" - } - }, - "5": { - "8": { - "name": "Token", - "type": "import", - "range": [ - [ - 5, - 8 - ], - [ - 5, - 24 - ] - ], - "bindingType": "variable", - "path": "./token" - } - }, - "8": { - "0": { - "type": "class", - "name": "TokenizedBuffer", - "superClass": "Model", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 13, - 11 - ], - [ - 14, - 23 - ], - [ - 15, - 10 - ], - [ - 16, - 18 - ], - [ - 17, - 13 - ], - [ - 18, - 15 - ], - [ - 19, - 11 - ], - [ - 21, - 15 - ], - [ - 48, - 19 - ], - [ - 52, - 21 - ], - [ - 56, - 14 - ], - [ - 64, - 17 - ], - [ - 70, - 23 - ], - [ - 76, - 23 - ], - [ - 82, - 14 - ], - [ - 88, - 16 - ], - [ - 94, - 16 - ], - [ - 96, - 24 - ], - [ - 103, - 21 - ], - [ - 133, - 19 - ], - [ - 136, - 15 - ], - [ - 139, - 17 - ], - [ - 144, - 21 - ], - [ - 153, - 22 - ], - [ - 173, - 48 - ], - [ - 183, - 30 - ], - [ - 200, - 41 - ], - [ - 203, - 39 - ], - [ - 210, - 37 - ], - [ - 220, - 20 - ], - [ - 225, - 22 - ], - [ - 228, - 15 - ], - [ - 231, - 21 - ], - [ - 257, - 22 - ], - [ - 266, - 21 - ], - [ - 269, - 20 - ], - [ - 273, - 33 - ], - [ - 278, - 33 - ], - [ - 299, - 30 - ], - [ - 314, - 39 - ], - [ - 329, - 22 - ], - [ - 344, - 22 - ], - [ - 362, - 14 - ], - [ - 365, - 16 - ], - [ - 368, - 12 - ] - ], - "doc": "~Private~", - "range": [ - [ - 8, - 0 - ], - [ - 371, - 40 - ] - ] - } - }, - "13": { - "11": { - "name": "grammar", - "type": "primitive", - "range": [ - [ - 13, - 11 - ], - [ - 13, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "14": { - "23": { - "name": "currentGrammarScore", - "type": "primitive", - "range": [ - [ - 14, - 23 - ], - [ - 14, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "15": { - "10": { - "name": "buffer", - "type": "primitive", - "range": [ - [ - 15, - 10 - ], - [ - 15, - 13 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "16": { - "18": { - "name": "tokenizedLines", - "type": "primitive", - "range": [ - [ - 16, - 18 - ], - [ - 16, - 21 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "17": { - "13": { - "name": "chunkSize", - "type": "primitive", - "range": [ - [ - 17, - 13 - ], - [ - 17, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "18": { - "15": { - "name": "invalidRows", - "type": "primitive", - "range": [ - [ - 18, - 15 - ], - [ - 18, - 18 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "19": { - "11": { - "name": "visible", - "type": "primitive", - "range": [ - [ - 19, - 11 - ], - [ - 19, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "21": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 21, - 15 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 48, - 19 - ], - [ - 52, - 1 - ] - ], - "doc": "~Private~" - } - }, - "52": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 52, - 21 - ], - [ - 56, - 1 - ] - ], - "doc": "~Private~" - } - }, - "56": { - "14": { - "name": "setGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar", - "score" - ], - "range": [ - [ - 56, - 14 - ], - [ - 64, - 1 - ] - ], - "doc": "~Private~" - } - }, - "64": { - "17": { - "name": "reloadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 64, - 17 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "23": { - "name": "hasTokenForSelector", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector" - ], - "range": [ - [ - 70, - 23 - ], - [ - 76, - 1 - ] - ], - "doc": "~Private~" - } - }, - "76": { - "23": { - "name": "resetTokenizedLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 23 - ], - [ - 82, - 1 - ] - ], - "doc": "~Private~" - } - }, - "82": { - "14": { - "name": "setVisible", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 82, - 14 - ], - [ - 88, - 1 - ] - ], - "doc": "~Private~" - } - }, - "88": { - "16": { - "name": "getTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 88, - 16 - ], - [ - 94, - 1 - ] - ], - "doc": " Private: Retrieves the current tab length.\n\nReturns a {Number}. " - } - }, - "94": { - "16": { - "name": "setTabLength", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 94, - 16 - ], - [ - 94, - 30 - ] - ], - "doc": " Private: Specifies the tab length.\n\ntabLength - A {Number} that defines the new tab length. " - } - }, - "96": { - "24": { - "name": "tokenizeInBackground", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 24 - ], - [ - 103, - 1 - ] - ], - "doc": "~Private~" - } - }, - "103": { - "21": { - "name": "tokenizeNextChunk", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 103, - 21 - ], - [ - 133, - 1 - ] - ], - "doc": "~Private~" - } - }, - "133": { - "19": { - "name": "firstInvalidRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 133, - 19 - ], - [ - 136, - 1 - ] - ], - "doc": "~Private~" - } - }, - "136": { - "15": { - "name": "validateRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 136, - 15 - ], - [ - 139, - 1 - ] - ], - "doc": "~Private~" - } - }, - "139": { - "17": { - "name": "invalidateRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 139, - 17 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "21": { - "name": "updateInvalidRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end", - "delta" - ], - "range": [ - [ - 144, - 21 - ], - [ - 153, - 1 - ] - ], - "doc": "~Private~" - } - }, - "153": { - "22": { - "name": "handleBufferChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "e" - ], - "range": [ - [ - 153, - 22 - ], - [ - 173, - 1 - ] - ], - "doc": "~Private~" - } - }, - "173": { - "48": { - "name": "retokenizeWhitespaceRowsIfIndentLevelChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "increment" - ], - "range": [ - [ - 173, - 48 - ], - [ - 183, - 1 - ] - ], - "doc": "~Private~" - } - }, - "183": { - "30": { - "name": "buildTokenizedLinesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow", - "startingStack" - ], - "range": [ - [ - 183, - 30 - ], - [ - 200, - 1 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "41": { - "name": "buildPlaceholderTokenizedLinesForRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 200, - 41 - ], - [ - 203, - 1 - ] - ], - "doc": "~Private~" - } - }, - "203": { - "39": { - "name": "buildPlaceholderTokenizedLineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 203, - 39 - ], - [ - 210, - 1 - ] - ], - "doc": "~Private~" - } - }, - "210": { - "37": { - "name": "buildTokenizedTokenizedLineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "ruleStack" - ], - "range": [ - [ - 210, - 37 - ], - [ - 220, - 1 - ] - ], - "doc": "~Private~" - } - }, - "220": { - "20": { - "name": "lineForScreenRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 220, - 20 - ], - [ - 225, - 1 - ] - ], - "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " - } - }, - "225": { - "22": { - "name": "linesForScreenRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 225, - 22 - ], - [ - 228, - 1 - ] - ], - "doc": " FIXME: benogle says: These are actually buffer rows as all buffer rows are\naccounted for in @tokenizedLines " - } - }, - "228": { - "15": { - "name": "stackForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 228, - 15 - ], - [ - 231, - 1 - ] - ], - "doc": "~Private~" - } - }, - "231": { - "21": { - "name": "indentLevelForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 231, - 21 - ], - [ - 257, - 1 - ] - ], - "doc": "~Private~" - } - }, - "257": { - "22": { - "name": "indentLevelForLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line" - ], - "range": [ - [ - 257, - 22 - ], - [ - 266, - 1 - ] - ], - "doc": "~Private~" - } - }, - "266": { - "21": { - "name": "scopesForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 266, - 21 - ], - [ - 269, - 1 - ] - ], - "doc": "~Private~" - } - }, - "269": { - "20": { - "name": "tokenForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 269, - 20 - ], - [ - 273, - 1 - ] - ], - "doc": "~Private~" - } - }, - "273": { - "33": { - "name": "tokenStartPositionForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 273, - 33 - ], - [ - 278, - 1 - ] - ], - "doc": "~Private~" - } - }, - "278": { - "33": { - "name": "bufferRangeForScopeAtPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "selector", - "position" - ], - "range": [ - [ - 278, - 33 - ], - [ - 299, - 1 - ] - ], - "doc": "~Private~" - } - }, - "299": { - "30": { - "name": "iterateTokensInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "iterator" - ], - "range": [ - [ - 299, - 30 - ], - [ - 314, - 1 - ] - ], - "doc": "~Private~" - } - }, - "314": { - "39": { - "name": "backwardsIterateTokensInBufferRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferRange", - "iterator" - ], - "range": [ - [ - 314, - 39 - ], - [ - 329, - 1 - ] - ], - "doc": "~Private~" - } - }, - "329": { - "22": { - "name": "findOpeningBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferPosition" - ], - "range": [ - [ - 329, - 22 - ], - [ - 344, - 1 - ] - ], - "doc": "~Private~" - } - }, - "344": { - "22": { - "name": "findClosingBracket", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startBufferPosition" - ], - "range": [ - [ - 344, - 22 - ], - [ - 362, - 1 - ] - ], - "doc": "~Private~" - } - }, - "362": { - "14": { - "name": "getLastRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 362, - 14 - ], - [ - 365, - 1 - ] - ], - "doc": " Private: Gets the row number of the last line.\n\nReturns a {Number}. " - } - }, - "365": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 365, - 16 - ], - [ - 368, - 1 - ] - ], - "doc": "~Private~" - } - }, - "368": { - "12": { - "name": "logLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 368, - 12 - ], - [ - 371, - 40 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 8 - }, - "src/tokenized-line.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "2": { - "12": { - "name": "1", - "type": "primitive", - "range": [ - [ - 2, - 12 - ], - [ - 2, - 12 - ] - ] - } - }, - "5": { - "0": { - "type": "class", - "name": "TokenizedLine", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 6, - 15 - ], - [ - 15, - 13 - ], - [ - 20, - 20 - ], - [ - 25, - 8 - ], - [ - 28, - 20 - ], - [ - 47, - 31 - ], - [ - 57, - 31 - ], - [ - 66, - 22 - ], - [ - 72, - 22 - ], - [ - 75, - 14 - ], - [ - 102, - 17 - ], - [ - 105, - 23 - ], - [ - 108, - 28 - ], - [ - 115, - 35 - ], - [ - 123, - 24 - ], - [ - 134, - 42 - ], - [ - 145, - 13 - ], - [ - 154, - 20 - ], - [ - 162, - 16 - ], - [ - 165, - 17 - ], - [ - 168, - 24 - ], - [ - 174, - 16 - ], - [ - 186, - 20 - ] - ], - "doc": "~Private~", - "range": [ - [ - 5, - 0 - ], - [ - 199, - 0 - ] - ] - } - }, - "6": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 6, - 15 - ], - [ - 15, - 1 - ] - ] - } - }, - "15": { - "13": { - "name": "buildText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 15, - 13 - ], - [ - 20, - 1 - ] - ], - "doc": "~Private~" - } - }, - "20": { - "20": { - "name": "buildBufferDelta", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 20, - 20 - ], - [ - 25, - 1 - ] - ], - "doc": "~Private~" - } - }, - "25": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 25, - 8 - ], - [ - 28, - 1 - ] - ], - "doc": "~Private~" - } - }, - "28": { - "20": { - "name": "clipScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "column", - "options" - ], - "range": [ - [ - 28, - 20 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "31": { - "name": "screenColumnForBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn", - "options" - ], - "range": [ - [ - 47, - 31 - ], - [ - 57, - 1 - ] - ], - "doc": "~Private~" - } - }, - "57": { - "31": { - "name": "bufferColumnForScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "screenColumn", - "options" - ], - "range": [ - [ - 57, - 31 - ], - [ - 66, - 1 - ] - ], - "doc": "~Private~" - } - }, - "66": { - "22": { - "name": "getMaxScreenColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 66, - 22 - ], - [ - 72, - 1 - ] - ], - "doc": "~Private~" - } - }, - "72": { - "22": { - "name": "getMaxBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 72, - 22 - ], - [ - 75, - 1 - ] - ], - "doc": "~Private~" - } - }, - "75": { - "14": { - "name": "softWrapAt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "column" - ], - "range": [ - [ - 75, - 14 - ], - [ - 102, - 1 - ] - ], - "doc": "~Private~" - } - }, - "102": { - "17": { - "name": "isSoftWrapped", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 102, - 17 - ], - [ - 105, - 1 - ] - ], - "doc": "~Private~" - } - }, - "105": { - "23": { - "name": "tokenAtBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 105, - 23 - ], - [ - 108, - 1 - ] - ], - "doc": "~Private~" - } - }, - "108": { - "28": { - "name": "tokenIndexAtBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 108, - 28 - ], - [ - 115, - 1 - ] - ], - "doc": "~Private~" - } - }, - "115": { - "35": { - "name": "tokenStartColumnForBufferColumn", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bufferColumn" - ], - "range": [ - [ - 115, - 35 - ], - [ - 123, - 1 - ] - ], - "doc": "~Private~" - } - }, - "123": { - "24": { - "name": "breakOutAtomicTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "inputTokens" - ], - "range": [ - [ - 123, - 24 - ], - [ - 134, - 1 - ] - ], - "doc": "~Private~" - } - }, - "134": { - "42": { - "name": "markLeadingAndTrailingWhitespaceTokens", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 134, - 42 - ], - [ - 145, - 1 - ] - ], - "doc": "~Private~" - } - }, - "145": { - "13": { - "name": "isComment", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 145, - 13 - ], - [ - 154, - 1 - ] - ], - "doc": "~Private~" - } - }, - "154": { - "20": { - "name": "isOnlyWhitespace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 20 - ], - [ - 162, - 1 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "16": { - "name": "tokenAtIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 162, - 16 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "17": { - "name": "getTokenCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 165, - 17 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "24": { - "name": "bufferColumnForToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "targetToken" - ], - "range": [ - [ - 168, - 24 - ], - [ - 174, - 1 - ] - ], - "doc": "~Private~" - } - }, - "174": { - "16": { - "name": "getScopeTree", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 174, - 16 - ], - [ - 186, - 1 - ] - ], - "doc": "~Private~" - } - }, - "186": { - "20": { - "name": "updateScopeStack", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeStack", - "desiredScopes" - ], - "range": [ - [ - 186, - 20 - ], - [ - 199, - 0 - ] - ], - "doc": "~Private~" - } - }, - "200": { - "0": { - "type": "class", - "name": "Scope", - "classProperties": [], - "prototypeProperties": [ - [ - 201, - 15 - ] - ], - "doc": "~Private~", - "range": [ - [ - 200, - 0 - ], - [ - 202, - 18 - ] - ] - } - }, - "201": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 201, - 15 - ], - [ - 202, - 18 - ] - ] - } - } - }, - "exports": 5 - }, - "src/window-bootstrap.coffee": { - "objects": { - "1": { - "12": { - "name": "startTime", - "type": "function", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 21 - ] - ] - } - }, - "5": { - "7": { - "name": "Atom", - "type": "import", - "range": [ - [ - 5, - 7 - ], - [ - 5, - 22 - ] - ], - "bindingType": "variable", - "path": "./atom" - } - }, - "6": { - "14": { - "name": "window.atom", - "type": "function", - "range": [ - [ - 6, - 14 - ], - [ - 6, - 40 - ] - ] - } - } - }, - "exports": {} - }, - "src/window-event-handler.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "2": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 2, - 6 - ], - [ - 2, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "3": { - "8": { - "name": "shell", - "type": "import", - "range": [ - [ - 3, - 8 - ], - [ - 3, - 22 - ] - ], - "bindingType": "variable", - "module": "shell" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 10 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.2.2", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "9": { - "0": { - "type": "class", - "name": "WindowEventHandler", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 81, - 27 - ], - [ - 96, - 13 - ], - [ - 100, - 12 - ], - [ - 106, - 25 - ], - [ - 116, - 13 - ], - [ - 137, - 17 - ] - ], - "doc": "Private: Handles low-level events related to the window. ", - "range": [ - [ - 9, - 0 - ], - [ - 156, - 28 - ] - ] - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 12, - 15 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "27": { - "name": "handleNativeKeybindings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 81, - 27 - ], - [ - 96, - 1 - ] - ], - "doc": " Private: Wire commands that should be handled by the native menu\nfor elements with the `.native-key-bindings` class. " - } - }, - "96": { - "13": { - "name": "onKeydown", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 96, - 13 - ], - [ - 100, - 1 - ] - ], - "doc": "~Private~" - } - }, - "100": { - "12": { - "name": "openLink", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 100, - 12 - ], - [ - 106, - 1 - ] - ], - "doc": "~Private~" - } - }, - "106": { - "25": { - "name": "eachTabIndexedElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 106, - 25 - ], - [ - 116, - 1 - ] - ], - "doc": "~Private~" - } - }, - "116": { - "13": { - "name": "focusNext", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 116, - 13 - ], - [ - 137, - 1 - ] - ], - "doc": "~Private~" - } - }, - "137": { - "17": { - "name": "focusPrevious", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 17 - ], - [ - 156, - 28 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 9 - }, - "src/window.coffee": { - "objects": { - "7": { - "17": { - "name": "window.measure", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "description", - "fn" - ], - "range": [ - [ - 7, - 17 - ], - [ - 20, - 51 - ] - ], - "doc": null - } - }, - "21": { - "17": { - "name": "window.profile", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "description", - "fn" - ], - "range": [ - [ - 21, - 17 - ], - [ - 26, - 9 - ] - ], - "doc": null - } - } - }, - "exports": {} - }, - "src/workspace-view.coffee": { - "objects": { - "0": { - "6": { - "name": "ipc", - "type": "import", - "range": [ - [ - 0, - 6 - ], - [ - 0, - 18 - ] - ], - "bindingType": "variable", - "module": "ipc" - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 14 - ] - ], - "bindingType": "variable", - "module": "q@^1.0.1" - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "4": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 4, - 12 - ], - [ - 4, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@^1" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - }, - "12": { - "type": "import", - "range": [ - [ - 5, - 12 - ], - [ - 5, - 33 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "logDeprecationWarnings", - "exportsProperty": "logDeprecationWarnings" - } - }, - "6": { - "17": { - "name": "scrollbarStyle", - "type": "import", - "range": [ - [ - 6, - 17 - ], - [ - 6, - 41 - ] - ], - "bindingType": "variable", - "module": "scrollbar-style@^1.0.2" - } - }, - "7": { - "1": { - "type": "import", - "range": [ - [ - 7, - 1 - ], - [ - 7, - 1 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$", - "exportsProperty": "$" - }, - "4": { - "type": "import", - "range": [ - [ - 7, - 4 - ], - [ - 7, - 5 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "$$", - "exportsProperty": "$$" - }, - "8": { - "type": "import", - "range": [ - [ - 7, - 8 - ], - [ - 7, - 11 - ] - ], - "bindingType": "variable", - "path": "./space-pen-extensions", - "name": "View", - "exportsProperty": "View" - } - }, - "8": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 8, - 5 - ], - [ - 8, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.2.6" - } - }, - "9": { - "12": { - "name": "Workspace", - "type": "import", - "range": [ - [ - 9, - 12 - ], - [ - 9, - 32 - ] - ], - "bindingType": "variable", - "path": "./workspace" - } - }, - "10": { - "19": { - "name": "CommandInstaller", - "type": "import", - "range": [ - [ - 10, - 19 - ], - [ - 10, - 47 - ] - ], - "bindingType": "variable", - "path": "./command-installer" - } - }, - "11": { - "13": { - "name": "EditorView", - "type": "import", - "range": [ - [ - 11, - 13 - ], - [ - 11, - 35 - ] - ], - "bindingType": "variable", - "path": "./editor-view" - } - }, - "12": { - "11": { - "name": "PaneView", - "type": "import", - "range": [ - [ - 12, - 11 - ], - [ - 12, - 31 - ] - ], - "bindingType": "variable", - "path": "./pane-view" - } - }, - "13": { - "17": { - "name": "PaneColumnView", - "type": "import", - "range": [ - [ - 13, - 17 - ], - [ - 13, - 44 - ] - ], - "bindingType": "variable", - "path": "./pane-column-view" - } - }, - "14": { - "14": { - "name": "PaneRowView", - "type": "import", - "range": [ - [ - 14, - 14 - ], - [ - 14, - 38 - ] - ], - "bindingType": "variable", - "path": "./pane-row-view" - } - }, - "15": { - "20": { - "name": "PaneContainerView", - "type": "import", - "range": [ - [ - 15, - 20 - ], - [ - 15, - 50 - ] - ], - "bindingType": "variable", - "path": "./pane-container-view" - } - }, - "16": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 16, - 9 - ], - [ - 16, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "55": { - "0": { - "type": "class", - "name": "WorkspaceView", - "superClass": "View", - "bindingType": "exports", - "classProperties": [ - [ - 63, - 12 - ], - [ - 66, - 4 - ], - [ - 75, - 12 - ] - ], - "prototypeProperties": [ - [ - 81, - 14 - ], - [ - 168, - 12 - ], - [ - 171, - 24 - ], - [ - 191, - 15 - ], - [ - 205, - 15 - ], - [ - 209, - 16 - ], - [ - 213, - 15 - ], - [ - 223, - 12 - ], - [ - 233, - 18 - ], - [ - 238, - 16 - ], - [ - 242, - 15 - ], - [ - 247, - 19 - ], - [ - 252, - 18 - ], - [ - 257, - 17 - ], - [ - 262, - 16 - ], - [ - 267, - 18 - ], - [ - 272, - 17 - ], - [ - 281, - 21 - ], - [ - 287, - 17 - ], - [ - 291, - 25 - ], - [ - 294, - 21 - ], - [ - 297, - 22 - ], - [ - 300, - 22 - ], - [ - 303, - 23 - ], - [ - 306, - 24 - ], - [ - 315, - 16 - ], - [ - 325, - 16 - ], - [ - 336, - 18 - ], - [ - 344, - 16 - ], - [ - 347, - 21 - ], - [ - 350, - 23 - ], - [ - 353, - 23 - ], - [ - 356, - 18 - ], - [ - 368, - 12 - ], - [ - 373, - 12 - ], - [ - 378, - 17 - ], - [ - 383, - 21 - ] - ], - "doc": " Public: The top-level view for the entire window. An instance of this class is\navailable via the `atom.workspaceView` global.\n\nIt is backed by a model object, an instance of {Workspace}, which is available\nvia the `atom.workspace` global or {::getModel}. You should prefer to interact\nwith the model object when possible, but it won't always be possible with the\ncurrent API.\n\n## Adding Perimeter Panels\n\nUse the following methods if possible to attach panels to the perimeter of the\nworkspace rather than manipulating the DOM directly to better insulate you to\nchanges in the workspace markup:\n\n* {::prependToTop}\n* {::appendToTop}\n* {::prependToBottom}\n* {::appendToBottom}\n* {::prependToLeft}\n* {::appendToLeft}\n* {::prependToRight}\n* {::appendToRight}\n\n## Requiring in package specs\n\nIf you need a `WorkspaceView` instance to test your package, require it via\nthe built-in `atom` module.\n\n```coffee\n {WorkspaceView} = require 'atom'\n```\n\nYou can assign it to the `atom.workspaceView` global in the spec or just use\nit as a local, depending on what you're trying to accomplish. Building the\n`WorkspaceView` is currently expensive, so you should try build a {Workspace}\ninstead if possible. ", - "range": [ - [ - 55, - 0 - ], - [ - 385, - 25 - ] - ] - } - }, - "63": { - "12": { - "name": "version", - "type": "primitive", - "range": [ - [ - 63, - 12 - ], - [ - 63, - 12 - ] - ], - "bindingType": "classProperty" - } - }, - "66": { - "4": { - "name": "configDefaults", - "type": "primitive", - "range": [ - [ - 66, - 4 - ], - [ - 73, - 23 - ] - ], - "bindingType": "classProperty" - } - }, - "75": { - "12": { - "name": "content", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 75, - 12 - ], - [ - 81, - 1 - ] - ], - "doc": "~Private~" - } - }, - "81": { - "14": { - "name": "initialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 81, - 14 - ], - [ - 168, - 1 - ] - ], - "doc": "~Private~" - } - }, - "168": { - "12": { - "name": "getModel", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 168, - 12 - ], - [ - 168, - 20 - ] - ], - "doc": " Public: Get the underlying model object.\n\nReturns a {Workspace}. " - } - }, - "171": { - "24": { - "name": "installShellCommands", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 171, - 24 - ], - [ - 191, - 1 - ] - ], - "doc": "Public: Install the Atom shell commands on the user's system. " - } - }, - "191": { - "15": { - "name": "handleFocus", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 191, - 15 - ], - [ - 205, - 1 - ] - ], - "doc": "~Private~" - } - }, - "205": { - "15": { - "name": "afterAttach", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "onDom" - ], - "range": [ - [ - 205, - 15 - ], - [ - 209, - 1 - ] - ], - "doc": "~Private~" - } - }, - "209": { - "16": { - "name": "confirmClose", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 209, - 16 - ], - [ - 213, - 1 - ] - ], - "doc": "Private: Prompts to save all unsaved items " - } - }, - "213": { - "15": { - "name": "updateTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 213, - 15 - ], - [ - 223, - 1 - ] - ], - "doc": "Private: Updates the application's title, based on whichever file is open. " - } - }, - "223": { - "12": { - "name": "setTitle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "title" - ], - "range": [ - [ - 223, - 12 - ], - [ - 233, - 1 - ] - ], - "doc": "Private: Sets the application's title. " - } - }, - "233": { - "18": { - "name": "getEditorViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 233, - 18 - ], - [ - 238, - 1 - ] - ], - "doc": " Private: Get all editor views.\n\nYou should prefer {Workspace::getEditors} unless you absolutely need access\nto the view objects. Also consider using {::eachEditorView}, which will call\na callback for all current and *future* editor views.\n\nReturns an {Array} of {EditorView}s. " - } - }, - "238": { - "16": { - "name": "prependToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 238, - 16 - ], - [ - 242, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the top of the\nworkspace. " - } - }, - "242": { - "15": { - "name": "appendToTop", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 242, - 15 - ], - [ - 247, - 1 - ] - ], - "doc": "Public: Append an element or view to the panels at the top of the workspace. " - } - }, - "247": { - "19": { - "name": "prependToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 247, - 19 - ], - [ - 252, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the bottom of the\nworkspace. " - } - }, - "252": { - "18": { - "name": "appendToBottom", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 252, - 18 - ], - [ - 257, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the bottom of the\nworkspace. " - } - }, - "257": { - "17": { - "name": "prependToLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 257, - 17 - ], - [ - 262, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the left of the\nworkspace. " - } - }, - "262": { - "16": { - "name": "appendToLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 262, - 16 - ], - [ - 267, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the left of the\nworkspace. " - } - }, - "267": { - "18": { - "name": "prependToRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 267, - 18 - ], - [ - 272, - 1 - ] - ], - "doc": " Public: Prepend an element or view to the panels at the right of the\nworkspace. " - } - }, - "272": { - "17": { - "name": "appendToRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 272, - 17 - ], - [ - 281, - 1 - ] - ], - "doc": " Public: Append an element or view to the panels at the right of the\nworkspace. " - } - }, - "281": { - "21": { - "name": "getActivePaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 281, - 21 - ], - [ - 287, - 1 - ] - ], - "doc": " Public: Get the active pane view.\n\nPrefer {Workspace::getActivePane} if you don't actually need access to the\nview.\n\nReturns a {PaneView}. " - } - }, - "287": { - "17": { - "name": "getActiveView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 287, - 17 - ], - [ - 291, - 1 - ] - ], - "doc": " Public: Get the view associated with the active pane item.\n\nReturns a view. " - } - }, - "291": { - "25": { - "name": "focusPreviousPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 291, - 25 - ], - [ - 291, - 56 - ] - ], - "doc": "Private: Focus the previous pane by id. " - } - }, - "294": { - "21": { - "name": "focusNextPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 294, - 21 - ], - [ - 294, - 48 - ] - ], - "doc": "Private: Focus the next pane by id. " - } - }, - "297": { - "22": { - "name": "focusPaneViewAbove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 297, - 22 - ], - [ - 297, - 51 - ] - ], - "doc": "Public: Focus the pane directly above the active pane. " - } - }, - "300": { - "22": { - "name": "focusPaneViewBelow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 300, - 22 - ], - [ - 300, - 51 - ] - ], - "doc": "Public: Focus the pane directly below the active pane. " - } - }, - "303": { - "23": { - "name": "focusPaneViewOnLeft", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 303, - 23 - ], - [ - 303, - 53 - ] - ], - "doc": "Public: Focus the pane directly to the left of the active pane. " - } - }, - "306": { - "24": { - "name": "focusPaneViewOnRight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 306, - 24 - ], - [ - 306, - 55 - ] - ], - "doc": "Public: Focus the pane directly to the right of the active pane. " - } - }, - "315": { - "16": { - "name": "eachPaneView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 315, - 16 - ], - [ - 325, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\npane view in the workspace.\n\ncallback - A {Function} with a {PaneView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "325": { - "16": { - "name": "getPaneViews", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 325, - 16 - ], - [ - 336, - 1 - ] - ], - "doc": " Public: Get all existing pane views.\n\nPrefer {Workspace::getPanes} if you don't need access to the view objects.\nAlso consider using {::eachPaneView} if you want to register a callback for\nall current and *future* pane views.\n\nReturns an Array of all open {PaneView}s. " - } - }, - "336": { - "18": { - "name": "eachEditorView", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 336, - 18 - ], - [ - 344, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\neditor view in the workspace (only includes {EditorView}s that are pane\nitems).\n\ncallback - A {Function} with an {EditorView} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "344": { - "16": { - "name": "beforeRemove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 344, - 16 - ], - [ - 347, - 1 - ] - ], - "doc": "Private: Called by SpacePen " - } - }, - "347": { - "21": { - "name": "setEditorFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontSize" - ], - "range": [ - [ - 347, - 21 - ], - [ - 350, - 1 - ] - ], - "doc": "~Private~" - } - }, - "350": { - "23": { - "name": "setEditorFontFamily", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fontFamily" - ], - "range": [ - [ - 350, - 23 - ], - [ - 353, - 1 - ] - ], - "doc": "~Private~" - } - }, - "353": { - "23": { - "name": "setEditorLineHeight", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "lineHeight" - ], - "range": [ - [ - 353, - 23 - ], - [ - 356, - 1 - ] - ], - "doc": "~Private~" - } - }, - "356": { - "18": { - "name": "setEditorStyle", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "property", - "value" - ], - "range": [ - [ - 356, - 18 - ], - [ - 368, - 1 - ] - ], - "doc": "~Private~" - } - }, - "368": { - "12": { - "name": "eachPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 368, - 12 - ], - [ - 373, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "373": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 373, - 12 - ], - [ - 378, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "378": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 378, - 17 - ], - [ - 383, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "383": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 383, - 21 - ], - [ - 385, - 25 - ] - ], - "doc": "Deprecated: Call {Workspace::getActivePaneItem} instead. " - } - } - }, - "exports": 55 - }, - "src/workspace.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 9 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0", - "name": "deprecate", - "exportsProperty": "deprecate" - } - }, - "1": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 1, - 4 - ], - [ - 1, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.5.1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 4 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true, - "name": "join", - "exportsProperty": "join" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 5 - ] - ], - "bindingType": "variable", - "module": "theorist@^1", - "name": "Model", - "exportsProperty": "Model" - } - }, - "4": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 4, - 4 - ], - [ - 4, - 14 - ] - ], - "bindingType": "variable", - "module": "q@^1.0.1" - } - }, - "5": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 5, - 15 - ], - [ - 5, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@^1" - } - }, - "6": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 6, - 12 - ], - [ - 6, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@^1" - } - }, - "7": { - "9": { - "name": "Editor", - "type": "import", - "range": [ - [ - 7, - 9 - ], - [ - 7, - 26 - ] - ], - "bindingType": "variable", - "path": "./editor" - } - }, - "8": { - "16": { - "name": "PaneContainer", - "type": "import", - "range": [ - [ - 8, - 16 - ], - [ - 8, - 41 - ] - ], - "bindingType": "variable", - "path": "./pane-container" - } - }, - "9": { - "7": { - "name": "Pane", - "type": "import", - "range": [ - [ - 9, - 7 - ], - [ - 9, - 22 - ] - ], - "bindingType": "variable", - "path": "./pane" - } - }, - "18": { - "0": { - "type": "class", - "name": "Workspace", - "superClass": "Model", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 29, - 15 - ], - [ - 47, - 21 - ], - [ - 55, - 19 - ], - [ - 60, - 37 - ], - [ - 74, - 15 - ], - [ - 84, - 14 - ], - [ - 91, - 14 - ], - [ - 118, - 8 - ], - [ - 135, - 15 - ], - [ - 150, - 12 - ], - [ - 168, - 17 - ], - [ - 193, - 14 - ], - [ - 200, - 18 - ], - [ - 217, - 18 - ], - [ - 221, - 20 - ], - [ - 224, - 14 - ], - [ - 230, - 17 - ], - [ - 236, - 12 - ], - [ - 240, - 11 - ], - [ - 244, - 20 - ], - [ - 248, - 24 - ], - [ - 254, - 14 - ], - [ - 260, - 21 - ], - [ - 269, - 22 - ], - [ - 277, - 24 - ], - [ - 284, - 25 - ], - [ - 288, - 21 - ], - [ - 295, - 19 - ], - [ - 299, - 20 - ], - [ - 303, - 20 - ], - [ - 308, - 17 - ], - [ - 312, - 14 - ], - [ - 317, - 23 - ], - [ - 322, - 13 - ] - ], - "doc": " Public: Represents the state of the user interface for the entire window.\nAn instance of this class is available via the `atom.workspace` global.\n\nInteract with this object to open files, be notified of current and future\neditors, and manipulate panes. To add panels, you'll need to use the\n{WorkspaceView} class for now until we establish APIs at the model layer. ", - "range": [ - [ - 18, - 0 - ], - [ - 323, - 28 - ] - ] - } - }, - "29": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 29, - 15 - ], - [ - 47, - 1 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 47, - 21 - ], - [ - 55, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during deserialization " - } - }, - "55": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 55, - 19 - ], - [ - 60, - 1 - ] - ], - "doc": "Private: Called by the Serializable mixin during serialization. " - } - }, - "60": { - "37": { - "name": "getPackageNamesWithActiveGrammars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 60, - 37 - ], - [ - 74, - 1 - ] - ], - "doc": "~Private~" - } - }, - "74": { - "15": { - "name": "editorAdded", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "editor" - ], - "range": [ - [ - 74, - 15 - ], - [ - 84, - 1 - ] - ], - "doc": "~Private~" - } - }, - "84": { - "14": { - "name": "eachEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 84, - 14 - ], - [ - 91, - 1 - ] - ], - "doc": " Public: Register a function to be called for every current and future\n{Editor} in the workspace.\n\ncallback - A {Function} with an {Editor} as its only argument.\n\nReturns a subscription object with an `.off` method that you can call to\nunregister the callback. " - } - }, - "91": { - "14": { - "name": "getEditors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 91, - 14 - ], - [ - 118, - 1 - ] - ], - "doc": " Public: Get all current editors in the workspace.\n\nReturns an {Array} of {Editor}s. " - } - }, - "118": { - "8": { - "name": "open", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "options" - ], - "range": [ - [ - 118, - 8 - ], - [ - 135, - 1 - ] - ], - "doc": " Public: Open a given a URI in Atom asynchronously.\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :split - Either 'left' or 'right'. If 'left', the item will be opened in\n leftmost pane of the current active pane's row. If 'right', the\n item will be opened in the rightmost pane of the current active\n pane's row.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`.\n :searchAllPanes - A {Boolean}. If `true`, the workspace will attempt to\n activate an existing item for the given URI on any pane.\n If `false`, only the active pane will be searched for\n an existing item for the same URI. Defaults to `false`.\n\nReturns a promise that resolves to the {Editor} for the file URI. " - } - }, - "135": { - "15": { - "name": "openLicense", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 135, - 15 - ], - [ - 150, - 1 - ] - ], - "doc": "Public: Open Atom's license in the active pane. " - } - }, - "150": { - "12": { - "name": "openSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "options" - ], - "range": [ - [ - 150, - 12 - ], - [ - 168, - 1 - ] - ], - "doc": " Private: Synchronously open the given URI in the active pane. **Only use this method\nin specs. Calling this in production code will block the UI thread and\neveryone will be mad at you.**\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`. " - } - }, - "168": { - "17": { - "name": "openUriInPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri", - "pane", - "options" - ], - "range": [ - [ - 168, - 17 - ], - [ - 193, - 1 - ] - ], - "doc": "~Private~" - } - }, - "193": { - "14": { - "name": "reopenItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 193, - 14 - ], - [ - 200, - 1 - ] - ], - "doc": " Public: Asynchronously reopens the last-closed item's URI if it hasn't already been\nreopened.\n\nReturns a promise that is resolved when the item is opened " - } - }, - "200": { - "18": { - "name": "reopenItemSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 200, - 18 - ], - [ - 217, - 1 - ] - ], - "doc": "Private: Deprecated " - } - }, - "217": { - "18": { - "name": "registerOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 217, - 18 - ], - [ - 221, - 1 - ] - ], - "doc": " Public: Register an opener for a uri.\n\nAn {Editor} will be used if no openers return a value.\n\n## Example\n```coffeescript\n atom.project.registerOpener (uri) ->\n if path.extname(uri) is '.toml'\n return new TomlEditor(uri)\n```\n\nopener - A {Function} to be called when a path is being opened. " - } - }, - "221": { - "20": { - "name": "unregisterOpener", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "opener" - ], - "range": [ - [ - 221, - 20 - ], - [ - 224, - 1 - ] - ], - "doc": "Public: Unregister an opener registered with {::registerOpener}. " - } - }, - "224": { - "14": { - "name": "getOpeners", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 224, - 14 - ], - [ - 230, - 1 - ] - ], - "doc": "~Private~" - } - }, - "230": { - "17": { - "name": "getActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 230, - 17 - ], - [ - 236, - 1 - ] - ], - "doc": " Public: Get the active {Pane}.\n\nReturns a {Pane}. " - } - }, - "236": { - "12": { - "name": "getPanes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 236, - 12 - ], - [ - 240, - 1 - ] - ], - "doc": " Public: Get all {Pane}s.\n\nReturns an {Array} of {Pane}s. " - } - }, - "240": { - "11": { - "name": "saveAll", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 240, - 11 - ], - [ - 244, - 1 - ] - ], - "doc": "Public: Save all pane items. " - } - }, - "244": { - "20": { - "name": "activateNextPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 244, - 20 - ], - [ - 248, - 1 - ] - ], - "doc": "Public: Make the next pane active. " - } - }, - "248": { - "24": { - "name": "activatePreviousPane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 248, - 24 - ], - [ - 254, - 1 - ] - ], - "doc": "Public: Make the previous pane active. " - } - }, - "254": { - "14": { - "name": "paneForUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "uri" - ], - "range": [ - [ - 254, - 14 - ], - [ - 260, - 1 - ] - ], - "doc": " Public: Get the first pane {Pane} with an item for the given URI.\n\nReturns a {Pane} or `undefined` if no pane exists for the given URI. " - } - }, - "260": { - "21": { - "name": "getActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 260, - 21 - ], - [ - 269, - 1 - ] - ], - "doc": " Public: Get the active {Pane}'s active item.\n\nReturns an pane item {Object}. " - } - }, - "269": { - "22": { - "name": "saveActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 269, - 22 - ], - [ - 277, - 1 - ] - ], - "doc": " Public: Save the active pane item.\n\nIf the active pane item currently has a URI according to the item's\n`.getUri` method, calls `.save` on the item. Otherwise\n{::saveActivePaneItemAs} # will be called instead. This method does nothing\nif the active item does not implement a `.save` method. " - } - }, - "277": { - "24": { - "name": "saveActivePaneItemAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 277, - 24 - ], - [ - 284, - 1 - ] - ], - "doc": " Public: Prompt the user for a path and save the active pane item to it.\n\nOpens a native dialog where the user selects a path on disk, then calls\n`.saveAs` on the item with the selected path. This method does nothing if\nthe active item does not implement a `.saveAs` method. " - } - }, - "284": { - "25": { - "name": "destroyActivePaneItem", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 284, - 25 - ], - [ - 288, - 1 - ] - ], - "doc": " Public: Destroy (close) the active pane item.\n\nRemoves the active pane item and calls the `.destroy` method on it if one is\ndefined. " - } - }, - "288": { - "21": { - "name": "destroyActivePane", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 288, - 21 - ], - [ - 295, - 1 - ] - ], - "doc": "Public: Destroy (close) the active pane. " - } - }, - "295": { - "19": { - "name": "getActiveEditor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 295, - 19 - ], - [ - 299, - 1 - ] - ], - "doc": " Public: Get the active item if it is an {Editor}.\n\nReturns an {Editor} or `undefined` if the current active item is not an\n{Editor}. " - } - }, - "299": { - "20": { - "name": "increaseFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 299, - 20 - ], - [ - 303, - 1 - ] - ], - "doc": "Public: Increase the editor font size by 1px. " - } - }, - "303": { - "20": { - "name": "decreaseFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 303, - 20 - ], - [ - 308, - 1 - ] - ], - "doc": "Public: Decrease the editor font size by 1px. " - } - }, - "308": { - "17": { - "name": "resetFontSize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 308, - 17 - ], - [ - 312, - 1 - ] - ], - "doc": "Public: Restore to a default editor font size. " - } - }, - "312": { - "14": { - "name": "itemOpened", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 312, - 14 - ], - [ - 317, - 1 - ] - ], - "doc": "Private: Removes the item's uri from the list of potential items to reopen. " - } - }, - "317": { - "23": { - "name": "onPaneItemDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "item" - ], - "range": [ - [ - 317, - 23 - ], - [ - 322, - 1 - ] - ], - "doc": "Private: Adds the destroyed item's uri to the list of items to reopen. " - } - }, - "322": { - "13": { - "name": "destroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 322, - 13 - ], - [ - 323, - 28 - ] - ], - "doc": "Private: Called by Model superclass when destroyed " - } - } - }, - "exports": 18 - } - } - }, - { - "main": "./src/keymap-manager.coffee", - "repository": "https://github.com/atom/atom-keymap.git", - "version": "1.0.2", - "files": { - "src/key-binding.coffee": { - "objects": { - "0": { - "7": { - "name": "Grim", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "calculateSpecificity", - "exportsProperty": "calculateSpecificity" - } - }, - "4": { - "0": { - "type": "class", - "name": "KeyBinding", - "bindingType": "exports", - "classProperties": [ - [ - 5, - 17 - ] - ], - "prototypeProperties": [ - [ - 7, - 11 - ], - [ - 9, - 15 - ], - [ - 23, - 11 - ], - [ - 30, - 11 - ] - ], - "doc": "~Private~", - "range": [ - [ - 4, - 0 - ], - [ - 34, - 43 - ] - ] - } - }, - "5": { - "17": { - "name": "currentIndex", - "type": "primitive", - "range": [ - [ - 5, - 17 - ], - [ - 5, - 17 - ] - ], - "bindingType": "classProperty" - } - }, - "7": { - "11": { - "name": "enabled", - "type": "primitive", - "range": [ - [ - 7, - 11 - ], - [ - 7, - 14 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "9": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null, - null, - "selector" - ], - "range": [ - [ - 9, - 15 - ], - [ - 23, - 1 - ] - ], - "doc": "~Private~" - } - }, - "23": { - "11": { - "name": "matches", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystroke" - ], - "range": [ - [ - 23, - 11 - ], - [ - 30, - 1 - ] - ], - "doc": "~Private~" - } - }, - "30": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keyBinding" - ], - "range": [ - [ - 30, - 11 - ], - [ - 34, - 43 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 4 - }, - "src/keymap-manager.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1.0.0" - } - }, - "1": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1.0.2" - } - }, - "2": { - "7": { - "name": "Grim", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0" - } - }, - "3": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 3, - 5 - ], - [ - 3, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.0.4" - } - }, - "4": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 4, - 7 - ], - [ - 4, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "6": { - "1": { - "type": "import", - "range": [ - [ - 6, - 1 - ], - [ - 6, - 4 - ] - ], - "bindingType": "variable", - "module": "pathwatcher@^2.0.4", - "name": "File", - "exportsProperty": "File" - } - }, - "7": { - "13": { - "name": "KeyBinding", - "type": "import", - "range": [ - [ - 7, - 13 - ], - [ - 7, - 35 - ] - ], - "bindingType": "variable", - "path": "./key-binding" - } - }, - "8": { - "15": { - "name": "CommandEvent", - "type": "import", - "range": [ - [ - 8, - 15 - ], - [ - 8, - 39 - ] - ], - "bindingType": "variable", - "path": "./command-event" - } - }, - "9": { - "1": { - "type": "import", - "range": [ - [ - 9, - 1 - ], - [ - 9, - 19 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "normalizeKeystrokes", - "exportsProperty": "normalizeKeystrokes" - }, - "22": { - "type": "import", - "range": [ - [ - 9, - 22 - ], - [ - 9, - 46 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "keystrokeForKeyboardEvent", - "exportsProperty": "keystrokeForKeyboardEvent" - }, - "49": { - "type": "import", - "range": [ - [ - 9, - 49 - ], - [ - 9, - 62 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "isAtomModifier", - "exportsProperty": "isAtomModifier" - }, - "65": { - "type": "import", - "range": [ - [ - 9, - 65 - ], - [ - 9, - 76 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "keydownEvent", - "exportsProperty": "keydownEvent" - } - }, - "11": { - "12": { - "type": "primitive", - "range": [ - [ - 11, - 12 - ], - [ - 11, - 59 - ] - ] - } - }, - "12": { - "17": { - "name": "OtherPlatforms", - "type": "function", - "range": [ - [ - 12, - 17 - ], - [ - 12, - 77 - ] - ] - } - }, - "84": { - "0": { - "type": "class", - "name": "KeymapManager", - "bindingType": "exports", - "classProperties": [ - [ - 99, - 17 - ] - ], - "prototypeProperties": [ - [ - 103, - 23 - ], - [ - 105, - 17 - ], - [ - 106, - 25 - ], - [ - 107, - 29 - ], - [ - 117, - 15 - ], - [ - 125, - 11 - ], - [ - 132, - 18 - ], - [ - 141, - 7 - ], - [ - 164, - 14 - ], - [ - 179, - 15 - ], - [ - 190, - 10 - ], - [ - 212, - 23 - ], - [ - 289, - 19 - ], - [ - 314, - 16 - ], - [ - 324, - 14 - ], - [ - 338, - 27 - ], - [ - 345, - 21 - ], - [ - 349, - 23 - ], - [ - 365, - 22 - ], - [ - 385, - 20 - ], - [ - 390, - 25 - ], - [ - 394, - 21 - ], - [ - 400, - 22 - ], - [ - 410, - 25 - ], - [ - 427, - 24 - ], - [ - 446, - 36 - ], - [ - 460, - 29 - ], - [ - 464, - 13 - ], - [ - 469, - 16 - ], - [ - 475, - 18 - ], - [ - 484, - 27 - ], - [ - 490, - 12 - ], - [ - 497, - 25 - ], - [ - 502, - 27 - ], - [ - 507, - 30 - ], - [ - 513, - 40 - ], - [ - 519, - 42 - ] - ], - "doc": " Public: Allows commands to be associated with keystrokes in a\ncontext-sensitive way. In Atom, you can access a global instance of this\nobject via `atom.keymap`.\n\nKey bindings are plain JavaScript objects containing **CSS selectors** as\ntheir top level keys, then **keystroke patterns** mapped to commands.\n\n```cson\n'.workspace':\n 'ctrl-l': 'package:do-something'\n 'ctrl-z': 'package:do-something-else'\n'.mini.editor':\n 'enter': 'core:confirm'\n```\n\nWhen a keystroke sequence matches a binding in a given context, a custom DOM\nevent with a type based on the command is dispatched on the target of the\nkeyboard event.\n\nTo match a keystroke sequence, the keymap starts at the target element for the\nkeyboard event. It looks for key bindings associated with selectors that match\nthe target element. If multiple match, the most specific is selected. If there\nis a tie in specificity, the most recently added binding wins. If no bindings\nare found for the events target, the search is repeated again for the target's\nparent node and so on recursively until a binding is found or we traverse off\nthe top of the document.\n\nWhen a binding is found, its command event is always dispatched on the\noriginal target of the keyboard event, even if the matching element is higher\nup in the DOM. In addition, `.preventDefault()` is called on the keyboard\nevent to prevent the browser from taking action. `.preventDefault` is only\ncalled if a matching binding is found.\n\nCommand event objects have a non-standard method called `.abortKeyBinding()`.\nIf your command handler is invoked but you programmatically determine that no\naction can be taken and you want to allow other bindings to be matched, call\n`.abortKeyBinding()` on the event object. An example of where this is useful\nis binding snippet expansion to `tab`. If `snippets:expand` is invoked when\nthe cursor does not follow a valid snippet prefix, we abort the binding and\nallow `tab` to be handled by the default handler, which inserts whitespace.\n\nMulti-keystroke bindings are possible. If a sequence of one or more keystrokes\n*partially* matches a multi-keystroke binding, the keymap enters a pending\nstate. The pending state is terminated on the next keystroke, or after\n{::partialMatchTimeout} milliseconds has elapsed. When the pending state is\nterminated via a timeout or a keystroke that leads to no matches, the longest\nambiguous bindings that caused the pending state are temporarily disabled and\nthe previous keystrokes are replayed. If there is ambiguity again during the\nreplay, the next longest bindings are disabled and the keystrokes are replayed\nagain.\n\n## Events\n\n* `matched` -\n Emitted when keystrokes match a binding.\n * keystrokes - The keystroke {String} that matched the binding\n * binding - The {KeyBinding} that was used\n * keyboardEventTarget - The target element of the keyboard event\n\n* `matched-partially` -\n Emitted when keystrokes partially match one or more bindings.\n * keystrokes - The keystroke {String} that partially match some bindings\n * partiallyMatchedBindings - The {KeyBinding}s that partially matched\n * keyboardEventTarget - The target element of the keyboard event\n\n* `match-failed` -\n Emitted when keystrokes don't match any bindings.\n * keystrokes - The keystroke {String} that matched no bindings\n * keyboardEventTarget - The target element of the keyboard event ", - "range": [ - [ - 84, - 0 - ], - [ - 521, - 62 - ] - ] - } - }, - "99": { - "17": { - "name": "keydownEvent", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "key", - "options" - ], - "range": [ - [ - 99, - 17 - ], - [ - 99, - 60 - ] - ], - "doc": " Public: Create a keydown DOM event for testing purposes.\n\nkey - The key or keyIdentifier of the event. For example, 'a', '1',\n 'escape', 'backspace', etc.\noptions - An {Object} containing any of the following:\n :ctrl - A {Boolean} indicating the ctrl modifier key\n :alt - A {Boolean} indicating the alt modifier key\n :shift - A {Boolean} indicating the shift modifier key\n :cmd - A {Boolean} indicating the cmd modifier key\n :which - A {Number} indicating `which` value of the event. See\n the docs for KeyboardEvent for more information.\n :target - The target element of the event. " - } - }, - "103": { - "23": { - "name": "partialMatchTimeout", - "type": "primitive", - "range": [ - [ - 103, - 23 - ], - [ - 103, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "105": { - "17": { - "name": "defaultTarget", - "type": "primitive", - "range": [ - [ - 105, - 17 - ], - [ - 105, - 20 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "106": { - "25": { - "name": "pendingPartialMatches", - "type": "primitive", - "range": [ - [ - 106, - 25 - ], - [ - 106, - 28 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "107": { - "29": { - "name": "pendingStateTimeoutHandle", - "type": "primitive", - "range": [ - [ - 107, - 29 - ], - [ - 107, - 32 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "117": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 117, - 15 - ], - [ - 125, - 1 - ] - ], - "doc": " Public:\n\noptions - An {Object} containing properties to assign to the keymap: You can\n pass custom properties to be used by extension methods. The following\n properties are also supported:\n :defaultTarget - This will be used as the target of events whose target\n is `document.body` to allow for a catch-all element when nothing is\n focused " - } - }, - "125": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 125, - 11 - ], - [ - 132, - 1 - ] - ], - "doc": "Public: Unwatch all watched paths. " - } - }, - "132": { - "18": { - "name": "getKeyBindings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 132, - 18 - ], - [ - 141, - 1 - ] - ], - "doc": " Public: Get all current key bindings.\n\nReturns an {Array} of {KeyBinding}s. " - } - }, - "141": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source", - "keyBindingsBySelector" - ], - "range": [ - [ - 141, - 7 - ], - [ - 164, - 1 - ] - ], - "doc": " Public: Add sets of key bindings grouped by CSS selector.\n\nsource - A {String} (usually a path) uniquely identifying the given bindings\n so they can be removed later.\nbindings - An {Object} whose top-level keys point at sub-objects mapping\n keystroke patterns to commands. " - } - }, - "164": { - "14": { - "name": "loadKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "bindingsPath", - "options" - ], - "range": [ - [ - 164, - 14 - ], - [ - 179, - 1 - ] - ], - "doc": " Public: Load the key bindings from the given path.\n\npath - A {String} containing a path to a file or a directory. If the path is\n a directory, all files inside it will be loaded.\noptions - An {Object} containing the following optional keys:\n :watch - If `true`, the keymap will also reload the file at the given path\n whenever it changes. This option cannot be used with directory paths. " - } - }, - "179": { - "15": { - "name": "watchKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 179, - 15 - ], - [ - 190, - 1 - ] - ], - "doc": " Public: Cause the keymap to reload the key bindings file at the given path\nwhenever it changes.\n\nThis method doesn't perform the initial load of the key bindings file. If\nthat's what you're looking for, call {::loadKeymap} with `watch: true`. " - } - }, - "190": { - "10": { - "name": "remove", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source" - ], - "range": [ - [ - 190, - 10 - ], - [ - 212, - 1 - ] - ], - "doc": " Public: Remove the key bindings added with {::addKeymap} or\n{::loadKeymap}.\n\nsource - A {String} representing the `source` in a previous call to\n {::addKeymap} or the path in {::loadKeymap}. " - } - }, - "212": { - "23": { - "name": "handleKeyboardEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event", - "replaying" - ], - "range": [ - [ - 212, - 23 - ], - [ - 289, - 1 - ] - ], - "doc": " Public: Dispatch a custom event associated with the matching key binding for\nthe given `KeyboardEvent` if one can be found.\n\nIf a matching binding is found on the event's target or one of its\nancestors, `.preventDefault()` is called on the keyboard event and the\nbinding's command is emitted as a custom event on the matching element.\n\nIf the matching binding's command is 'native!', the method will terminate\nwithout calling `.preventDefault()` on the keyboard event, allowing the\nbrowser to handle it as normal.\n\nIf the matching binding's command is 'unset!', the search will continue from\nthe current element's parent.\n\nIf the matching binding's command is 'abort!', the search will terminate\nwithout dispatching a command event.\n\nIf the event's target is `document.body`, it will be treated as if its\ntarget is `.defaultTarget` if that property is assigned on the keymap. " - } - }, - "289": { - "19": { - "name": "findKeyBindings", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 289, - 19 - ], - [ - 314, - 1 - ] - ], - "doc": " Public: Get the key bindings for a given command and optional target.\n\nparams - An {Object} whose keys constrain the binding search:\n :keystrokes - A {String} representing one or more keystrokes, such as\n 'ctrl-x ctrl-s'\n :command - A {String} representing the name of a command, such as\n 'editor:backspace'\n :target - An optional DOM element constraining the search. If this\n parameter is supplied, the call will only return bindings that can be\n invoked by a KeyboardEvent originating from the target element. " - } - }, - "314": { - "16": { - "name": "reloadKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 314, - 16 - ], - [ - 324, - 1 - ] - ], - "doc": " Private: Called by the path watcher callback to reload a file at the given path. If\nwe can't read the file cleanly, we don't proceed with the reload. " - } - }, - "324": { - "14": { - "name": "readKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "suppressErrors" - ], - "range": [ - [ - 324, - 14 - ], - [ - 338, - 1 - ] - ], - "doc": "~Private~" - } - }, - "338": { - "27": { - "name": "filePathMatchesPlatform", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 338, - 27 - ], - [ - 345, - 1 - ] - ], - "doc": " Private: Determine if the given path should be loaded on this platform. If the\nfilename has the pattern '.cson' or 'foo..cson' and\n does not match the current platform, returns false. Otherwise\nreturns true. " - } - }, - "345": { - "21": { - "name": "getOtherPlatforms", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 345, - 21 - ], - [ - 345, - 37 - ] - ], - "doc": "Private: For testing purposes " - } - }, - "349": { - "23": { - "name": "findMatchCandidates", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystrokes" - ], - "range": [ - [ - 349, - 23 - ], - [ - 365, - 1 - ] - ], - "doc": " Private: Finds all key bindings whose keystrokes match the given keystrokes. Returns\nboth partial and exact matches. " - } - }, - "365": { - "22": { - "name": "findPartialMatches", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "partialMatchCandidates", - "target" - ], - "range": [ - [ - 365, - 22 - ], - [ - 385, - 1 - ] - ], - "doc": " Private: Determine which of the given bindings have selectors matching the target or\none of its ancestors. This is used by {::handleKeyboardEvent} to determine\nif there are any partial matches for the keyboard event. " - } - }, - "385": { - "20": { - "name": "findExactMatches", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "exactMatchCandidates", - "target" - ], - "range": [ - [ - 385, - 20 - ], - [ - 390, - 1 - ] - ], - "doc": " Private: Find the matching bindings among the given candidates for the given target,\nordered by specificity. Does not traverse up the target's ancestors. This is\nused by {::handleKeyboardEvent} to find a matching binding when there are no\npartially-matching bindings. " - } - }, - "390": { - "25": { - "name": "clearQueuedKeystrokes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 390, - 25 - ], - [ - 394, - 1 - ] - ], - "doc": "~Private~" - } - }, - "394": { - "21": { - "name": "enterPendingState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pendingPartialMatches", - "enableTimeout" - ], - "range": [ - [ - 394, - 21 - ], - [ - 400, - 1 - ] - ], - "doc": "~Private~" - } - }, - "400": { - "22": { - "name": "cancelPendingState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 400, - 22 - ], - [ - 410, - 1 - ] - ], - "doc": "~Private~" - } - }, - "410": { - "25": { - "name": "terminatePendingState", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 410, - 25 - ], - [ - 427, - 1 - ] - ], - "doc": " Private: This is called by {::handleKeyboardEvent} when no matching bindings are\nfound for the currently queued keystrokes or by the pending state timeout.\nIt disables the longest of the pending partially matching bindings, then\nreplays the queued keyboard events to allow any bindings with shorter\nkeystroke sequences to be matched unambiguously. " - } - }, - "427": { - "24": { - "name": "dispatchCommandEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "target", - "keyboardEvent" - ], - "range": [ - [ - 427, - 24 - ], - [ - 446, - 1 - ] - ], - "doc": " Private: After we match a binding, we call this method to dispatch a custom event\nbased on the binding's command. " - } - }, - "446": { - "36": { - "name": "simulateBubblingOnDetachedTarget", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "target", - "commandEvent" - ], - "range": [ - [ - 446, - 36 - ], - [ - 460, - 1 - ] - ], - "doc": " Private: Chromium does not bubble events dispatched on detached targets, which makes\ntesting a pain in the ass. This method simulates bubbling manually. " - } - }, - "460": { - "29": { - "name": "keystrokeForKeyboardEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 460, - 29 - ], - [ - 464, - 1 - ] - ], - "doc": " Public: Translate a keydown event to a keystroke string.\n\nevent - A `KeyboardEvent` of type 'keydown'\n\nReturns a {String} describing the keystroke. " - } - }, - "464": { - "13": { - "name": "addKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source", - "bindings" - ], - "range": [ - [ - 464, - 13 - ], - [ - 469, - 1 - ] - ], - "doc": "Deprecated: Use {::addKeymap} instead. " - } - }, - "469": { - "16": { - "name": "removeKeymap", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source" - ], - "range": [ - [ - 469, - 16 - ], - [ - 475, - 1 - ] - ], - "doc": "Deprecated: Use {::removeKeymap} instead. " - } - }, - "475": { - "18": { - "name": "handleKeyEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 475, - 18 - ], - [ - 484, - 1 - ] - ], - "doc": " Deprecated: Handle a jQuery keyboard event. Use {::handleKeyboardEvent} with\na raw keyboard event instead. " - } - }, - "484": { - "27": { - "name": "keystrokeStringForEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 484, - 27 - ], - [ - 490, - 1 - ] - ], - "doc": " Deprecated: Translate a jQuery keyboard event to a keystroke string. Use\n{::keystrokeForKeyboardEvent} with a raw KeyboardEvent instead. " - } - }, - "490": { - "12": { - "name": "bindKeys", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "source", - "selector", - "keyBindings" - ], - "range": [ - [ - 490, - 12 - ], - [ - 497, - 1 - ] - ], - "doc": " Deprecated: Use {::addKeymap} with a map from selectors to key\nbindings. " - } - }, - "497": { - "25": { - "name": "keyBindingsForCommand", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command" - ], - "range": [ - [ - 497, - 25 - ], - [ - 502, - 1 - ] - ], - "doc": "Deprecated: Use {::findKeyBindings} with the 'command' param. " - } - }, - "502": { - "27": { - "name": "keyBindingsForKeystroke", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystroke" - ], - "range": [ - [ - 502, - 27 - ], - [ - 507, - 1 - ] - ], - "doc": "Deprecated: Use {::findKeyBindings} with the 'keystrokes' param. " - } - }, - "507": { - "30": { - "name": "keyBindingsMatchingElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "target", - "keyBindings" - ], - "range": [ - [ - 507, - 30 - ], - [ - 513, - 1 - ] - ], - "doc": "Deprecated: Use {::findKeyBindings} with the 'target' param. " - } - }, - "513": { - "40": { - "name": "keyBindingsForCommandMatchingElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "command", - "target" - ], - "range": [ - [ - 513, - 40 - ], - [ - 519, - 1 - ] - ], - "doc": " Deprecated: Use {::findKeyBindings} with the 'command' and 'target'\nparams " - } - }, - "519": { - "42": { - "name": "keyBindingsForKeystrokeMatchingElement", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "keystrokes", - "target" - ], - "range": [ - [ - 519, - 42 - ], - [ - 521, - 62 - ] - ], - "doc": " Deprecated: Use {::findKeyBindings} with the 'keystrokes' and 'target'\nparams " - } - } - }, - "exports": 84 - } - } - }, - { - "repository": "https://github.com/atom/first-mate", - "version": "2.0.2", - "files": { - "src/grammar-registry.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "1": { - "7": { - "name": "CSON", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 22 - ] - ], - "bindingType": "variable", - "module": "season@^1" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "10": { - "name": "Grammar", - "type": "import", - "range": [ - [ - 4, - 10 - ], - [ - 4, - 28 - ] - ], - "bindingType": "variable", - "path": "./grammar" - } - }, - "5": { - "14": { - "name": "NullGrammar", - "type": "import", - "range": [ - [ - 5, - 14 - ], - [ - 5, - 37 - ] - ], - "bindingType": "variable", - "path": "./null-grammar" - } - }, - "9": { - "0": { - "type": "class", - "name": "GrammarRegistry", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 12, - 15 - ], - [ - 24, - 15 - ], - [ - 32, - 23 - ], - [ - 38, - 17 - ], - [ - 47, - 29 - ], - [ - 57, - 14 - ], - [ - 69, - 19 - ], - [ - 81, - 15 - ], - [ - 96, - 19 - ], - [ - 106, - 15 - ], - [ - 119, - 26 - ], - [ - 128, - 29 - ], - [ - 135, - 31 - ], - [ - 139, - 25 - ], - [ - 151, - 17 - ], - [ - 154, - 15 - ], - [ - 156, - 18 - ], - [ - 160, - 17 - ] - ], - "doc": "Public: Registry containing one or more grammars. ", - "range": [ - [ - 9, - 0 - ], - [ - 164, - 11 - ] - ] - } - }, - "12": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 12, - 15 - ], - [ - 24, - 1 - ] - ], - "doc": "~Private~" - } - }, - "24": { - "15": { - "name": "getGrammars", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 24, - 15 - ], - [ - 32, - 1 - ] - ], - "doc": " Public: Get all the grammars in this registry.\n\nReturns a non-empty {Array} of {Grammar} instances. " - } - }, - "32": { - "23": { - "name": "grammarForScopeName", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeName" - ], - "range": [ - [ - 32, - 23 - ], - [ - 38, - 1 - ] - ], - "doc": " Public: Get a grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`.\n\nReturns a {Grammar} or undefined. " - } - }, - "38": { - "17": { - "name": "removeGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 38, - 17 - ], - [ - 47, - 1 - ] - ], - "doc": " Public: Remove a grammar from this registry.\n\ngrammar - The {Grammar} to remove. " - } - }, - "47": { - "29": { - "name": "removeGrammarForScopeName", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeName" - ], - "range": [ - [ - 47, - 29 - ], - [ - 57, - 1 - ] - ], - "doc": " Public: Remove the grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`. " - } - }, - "57": { - "14": { - "name": "addGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammar" - ], - "range": [ - [ - 57, - 14 - ], - [ - 69, - 1 - ] - ], - "doc": " Public: Add a grammar to this registry.\n\nA 'grammar-added' event is emitted after the grammar is added.\n\ngrammar - The {Grammar} to add. This should be a value previously returned\n from {::readGrammar} or {::readGrammarSync}. " - } - }, - "69": { - "19": { - "name": "readGrammarSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath" - ], - "range": [ - [ - 69, - 19 - ], - [ - 81, - 1 - ] - ], - "doc": " Public: Read a grammar synchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\n\nReturns a {Grammar}. " - } - }, - "81": { - "15": { - "name": "readGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath", - "callback" - ], - "range": [ - [ - 81, - 15 - ], - [ - 96, - 1 - ] - ], - "doc": " Public: Read a grammar asynchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " - } - }, - "96": { - "19": { - "name": "loadGrammarSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath" - ], - "range": [ - [ - 96, - 19 - ], - [ - 106, - 1 - ] - ], - "doc": " Public: Read a grammar synchronously and add it to this registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\n\nReturns a {Grammar}. " - } - }, - "106": { - "15": { - "name": "loadGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath", - "callback" - ], - "range": [ - [ - 106, - 15 - ], - [ - 119, - 1 - ] - ], - "doc": " Public: Read a grammar asynchronously and add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " - } - }, - "119": { - "26": { - "name": "grammarOverrideForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 119, - 26 - ], - [ - 128, - 1 - ] - ], - "doc": " Public: Get the grammar override for the given file path.\n\nfilePath - A {String} file path.\n\nReturns a {Grammar} or undefined. " - } - }, - "128": { - "29": { - "name": "setGrammarOverrideForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "scopeName" - ], - "range": [ - [ - 128, - 29 - ], - [ - 135, - 1 - ] - ], - "doc": " Public: Set the grammar override for the given file path.\n\nfilePath - A non-empty {String} file path.\nscopeName - A {String} such as `\"source.js\"`.\n\nReturns a {Grammar} or undefined. " - } - }, - "135": { - "31": { - "name": "clearGrammarOverrideForPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 135, - 31 - ], - [ - 139, - 1 - ] - ], - "doc": " Public: Remove the grammar override for the given file path.\n\nfilePath - A {String} file path. " - } - }, - "139": { - "25": { - "name": "clearGrammarOverrides", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 139, - 25 - ], - [ - 151, - 1 - ] - ], - "doc": "Public: Remove all grammar overrides. " - } - }, - "151": { - "17": { - "name": "selectGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "fileContents" - ], - "range": [ - [ - 151, - 17 - ], - [ - 154, - 1 - ] - ], - "doc": " Public: Select a grammar for the given file path and file contents.\n\nThis picks the best match by checking the file path and contents against\neach grammar.\n\nfilePath - A {String} file path.\nfileContents - A {String} of text for the file path.\n\nReturns a {Grammar}, never null. " - } - }, - "154": { - "15": { - "name": "createToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "scopes" - ], - "range": [ - [ - 154, - 15 - ], - [ - 154, - 48 - ] - ], - "doc": "~Private~" - } - }, - "156": { - "18": { - "name": "grammarUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeName" - ], - "range": [ - [ - 156, - 18 - ], - [ - 160, - 1 - ] - ], - "doc": "~Private~" - } - }, - "160": { - "17": { - "name": "createGrammar", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "grammarPath", - "object" - ], - "range": [ - [ - 160, - 17 - ], - [ - 164, - 11 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 9 - }, - "src/grammar.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 2, - 4 - ], - [ - 2, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@^1" - } - }, - "3": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 3, - 5 - ], - [ - 3, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 10 - ] - ], - "bindingType": "variable", - "module": "oniguruma@^3", - "name": "OnigRegExp", - "exportsProperty": "OnigRegExp" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "7": { - "13": { - "name": "Injections", - "type": "import", - "range": [ - [ - 7, - 13 - ], - [ - 7, - 34 - ] - ], - "bindingType": "variable", - "path": "./injections" - } - }, - "8": { - "10": { - "name": "Pattern", - "type": "import", - "range": [ - [ - 8, - 10 - ], - [ - 8, - 28 - ] - ], - "bindingType": "variable", - "path": "./pattern" - } - }, - "9": { - "7": { - "name": "Rule", - "type": "import", - "range": [ - [ - 9, - 7 - ], - [ - 9, - 22 - ] - ], - "bindingType": "variable", - "path": "./rule" - } - }, - "10": { - "16": { - "name": "ScopeSelector", - "type": "import", - "range": [ - [ - 10, - 16 - ], - [ - 10, - 41 - ] - ], - "bindingType": "variable", - "path": "./scope-selector" - } - }, - "12": { - "21": { - "name": "pathSplitRegex", - "type": "function", - "range": [ - [ - 12, - 21 - ], - [ - 12, - 34 - ] - ] - } - }, - "19": { - "0": { - "type": "class", - "name": "Grammar", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 22, - 15 - ], - [ - 51, - 17 - ], - [ - 73, - 16 - ], - [ - 141, - 12 - ], - [ - 144, - 14 - ], - [ - 147, - 14 - ], - [ - 151, - 18 - ], - [ - 154, - 17 - ], - [ - 162, - 27 - ], - [ - 165, - 18 - ], - [ - 172, - 12 - ], - [ - 182, - 19 - ], - [ - 199, - 16 - ], - [ - 214, - 15 - ], - [ - 216, - 14 - ], - [ - 218, - 17 - ], - [ - 220, - 23 - ], - [ - 223, - 19 - ] - ], - "doc": " Public: Grammar that tokenizes lines of text.\n\nThis class should not be instantiated directly but instead obtained from\na {GrammarRegistry} by calling {GrammarRegistry::loadGrammar}. ", - "range": [ - [ - 19, - 0 - ], - [ - 235, - 10 - ] - ] - } - }, - "22": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - "options" - ], - "range": [ - [ - 22, - 15 - ], - [ - 51, - 1 - ] - ], - "doc": "~Private~" - } - }, - "51": { - "17": { - "name": "tokenizeLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 51, - 17 - ], - [ - 73, - 1 - ] - ], - "doc": " Public: Tokenize all lines in the given text.\n\ntext - A {String} containing one or more lines.\n\nReturns an {Array} of token arrays for each line tokenized. " - } - }, - "73": { - "16": { - "name": "tokenizeLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "line", - "ruleStack", - "firstLine" - ], - "range": [ - [ - 73, - 16 - ], - [ - 141, - 1 - ] - ], - "doc": " Public: Tokenize the line of text.\n\nline - A {String} of text to tokenize.\nruleStack - An optional {Array} of rules previously returned from this\n method. This should be null when tokenizing the first line in\n the file.\nfirstLine - A {Boolean} denoting whether this is the first line in the file\n which defaults to `false`. This should be `true` when\n tokenizing the first line in the file.\n\nReturns an {Object} containing `tokens` and `ruleStack` properties:\n :token - An {Array} of tokens covering the entire line of text.\n :ruleStack - An {Array} of rules representing the tokenized state at the\n end of the line. These should be passed back into this method\n when tokenizing the next line in the file. " - } - }, - "141": { - "12": { - "name": "activate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 141, - 12 - ], - [ - 144, - 1 - ] - ], - "doc": "~Private~" - } - }, - "144": { - "14": { - "name": "deactivate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 144, - 14 - ], - [ - 147, - 1 - ] - ], - "doc": "~Private~" - } - }, - "147": { - "14": { - "name": "clearRules", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 147, - 14 - ], - [ - 151, - 1 - ] - ], - "doc": "~Private~" - } - }, - "151": { - "18": { - "name": "getInitialRule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 151, - 18 - ], - [ - 154, - 1 - ] - ], - "doc": "~Private~" - } - }, - "154": { - "17": { - "name": "getRepository", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 17 - ], - [ - 162, - 1 - ] - ], - "doc": "~Private~" - } - }, - "162": { - "27": { - "name": "addIncludedGrammarScope", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scope" - ], - "range": [ - [ - 162, - 27 - ], - [ - 165, - 1 - ] - ], - "doc": "~Private~" - } - }, - "165": { - "18": { - "name": "grammarUpdated", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "scopeName" - ], - "range": [ - [ - 165, - 18 - ], - [ - 172, - 1 - ] - ], - "doc": "~Private~" - } - }, - "172": { - "12": { - "name": "getScore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "contents" - ], - "range": [ - [ - 172, - 12 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "19": { - "name": "matchesContents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "contents" - ], - "range": [ - [ - 182, - 19 - ], - [ - 199, - 1 - ] - ], - "doc": "~Private~" - } - }, - "199": { - "16": { - "name": "getPathScore", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 199, - 16 - ], - [ - 214, - 1 - ] - ], - "doc": "~Private~" - } - }, - "214": { - "15": { - "name": "createToken", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "value", - "scopes" - ], - "range": [ - [ - 214, - 15 - ], - [ - 214, - 69 - ] - ], - "doc": "~Private~" - } - }, - "216": { - "14": { - "name": "createRule", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 216, - 14 - ], - [ - 216, - 60 - ] - ], - "doc": "~Private~" - } - }, - "218": { - "17": { - "name": "createPattern", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "options" - ], - "range": [ - [ - 218, - 17 - ], - [ - 218, - 66 - ] - ], - "doc": "~Private~" - } - }, - "220": { - "23": { - "name": "getMaxTokensPerLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 220, - 23 - ], - [ - 223, - 1 - ] - ], - "doc": "~Private~" - } - }, - "223": { - "19": { - "name": "scopesFromStack", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "stack", - "rule", - "endPatternMatch" - ], - "range": [ - [ - 223, - 19 - ], - [ - 235, - 10 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 19 - } - } - }, - { - "repository": "https://github.com/atom/node-pathwatcher.git", - "version": "2.0.6", - "files": { - "src/directory.coffee": { - "objects": { - "0": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "2": { - "8": { - "name": "async", - "type": "import", - "range": [ - [ - 2, - 8 - ], - [ - 2, - 22 - ] - ], - "bindingType": "variable", - "module": "async@~0.2.10" - } - }, - "3": { - "1": { - "type": "import", - "range": [ - [ - 3, - 1 - ], - [ - 3, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "4": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 4, - 5 - ], - [ - 4, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.1" - } - }, - "6": { - "7": { - "name": "File", - "type": "import", - "range": [ - [ - 6, - 7 - ], - [ - 6, - 22 - ] - ], - "bindingType": "variable", - "path": "./file" - } - }, - "7": { - "14": { - "name": "PathWatcher", - "type": "import", - "range": [ - [ - 7, - 14 - ], - [ - 7, - 29 - ] - ], - "bindingType": "variable", - "path": "./main" - } - }, - "11": { - "0": { - "type": "class", - "name": "Directory", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 14, - 12 - ], - [ - 20, - 15 - ], - [ - 39, - 15 - ], - [ - 46, - 11 - ], - [ - 49, - 10 - ], - [ - 52, - 15 - ], - [ - 58, - 11 - ], - [ - 66, - 19 - ], - [ - 70, - 13 - ], - [ - 75, - 10 - ], - [ - 82, - 19 - ], - [ - 95, - 12 - ], - [ - 119, - 14 - ], - [ - 154, - 18 - ], - [ - 174, - 14 - ], - [ - 198, - 33 - ], - [ - 202, - 37 - ], - [ - 208, - 18 - ] - ], - "doc": "Public: Represents a directory on disk that can be watched for changes. ", - "range": [ - [ - 11, - 0 - ], - [ - 209, - 73 - ] - ] - } - }, - "14": { - "12": { - "name": "realPath", - "type": "primitive", - "range": [ - [ - 14, - 12 - ], - [ - 14, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "20": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "directoryPath", - null - ], - "range": [ - [ - 20, - 15 - ], - [ - 39, - 1 - ] - ], - "doc": " Public: Configures a new Directory instance, no files are accessed.\n\ndirectoryPath - A {String} containing the absolute path to the directory.\nsymlink - A {Boolean} indicating if the path is a symlink (default: false). " - } - }, - "39": { - "15": { - "name": "getBaseName", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 39, - 15 - ], - [ - 46, - 1 - ] - ], - "doc": "Public: Returns the {String} basename of the directory. " - } - }, - "46": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 46, - 11 - ], - [ - 46, - 18 - ] - ], - "doc": " Public: Returns the directory's symbolic path.\n\nThis may include unfollowed symlinks or relative directory entries. Or it\nmay be fully resolved, it depends on what you give it. " - } - }, - "49": { - "10": { - "name": "isFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 10 - ], - [ - 49, - 17 - ] - ], - "doc": "Public: Distinguishes Files from Directories during traversal. " - } - }, - "52": { - "15": { - "name": "isDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 15 - ], - [ - 52, - 21 - ] - ], - "doc": "Public: Distinguishes Files from Directories during traversal. " - } - }, - "58": { - "11": { - "name": "getFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filename" - ], - "range": [ - [ - 58, - 11 - ], - [ - 66, - 1 - ] - ], - "doc": " Public: Traverse within this Directory to a child File. This method doesn't\nactually check to see if the File exists, it just creates the File object.\n\nfilename - The name of a File within this Directory. " - } - }, - "66": { - "19": { - "name": "getSubdirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "dirname" - ], - "range": [ - [ - 66, - 19 - ], - [ - 70, - 1 - ] - ], - "doc": " Public: Traverse within this a Directory to a child Directory. This method\ndoesn't actually check to see if the Directory exists, it just creates the\nDirectory object.\n\ndirname - The name of the child Directory. " - } - }, - "70": { - "13": { - "name": "getParent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 70, - 13 - ], - [ - 75, - 1 - ] - ], - "doc": "Public: Traverse to the parent Directory. " - } - }, - "75": { - "10": { - "name": "isRoot", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 75, - 10 - ], - [ - 82, - 1 - ] - ], - "doc": " Public: Return true if this {Directory} is the root directory of the\nfilesystem, or false if it isn't. " - } - }, - "82": { - "19": { - "name": "getRealPathSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 82, - 19 - ], - [ - 95, - 1 - ] - ], - "doc": " Public: Returns this directory's completely resolved path.\n\nAll relative directory entries are removed and symlinks are resolved to\ntheir final destination. " - } - }, - "95": { - "12": { - "name": "contains", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pathToCheck" - ], - "range": [ - [ - 95, - 12 - ], - [ - 119, - 1 - ] - ], - "doc": " Public: Returns whether the given path (real or symbolic) is inside this\ndirectory. This method does not actually check if the path exists, it just\nchecks if the path is under this directory. " - } - }, - "119": { - "14": { - "name": "relativize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fullPath" - ], - "range": [ - [ - 119, - 14 - ], - [ - 154, - 1 - ] - ], - "doc": "Public: Returns the relative path to the given path from this directory. " - } - }, - "154": { - "18": { - "name": "getEntriesSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 18 - ], - [ - 174, - 1 - ] - ], - "doc": " Public: Reads file entries in this directory from disk synchronously.\n\nReturns an {Array} of {File} and {Directory} objects. " - } - }, - "174": { - "14": { - "name": "getEntries", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "callback" - ], - "range": [ - [ - 174, - 14 - ], - [ - 198, - 1 - ] - ], - "doc": " Public: Reads file entries in this directory from disk asynchronously.\n\ncallback - A {Function} to call with an {Error} as the 1st argument and\n an {Array} of {File} and {Directory} objects as the 2nd argument. " - } - }, - "198": { - "33": { - "name": "subscribeToNativeChangeEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 198, - 33 - ], - [ - 202, - 1 - ] - ], - "doc": "~Private~" - } - }, - "202": { - "37": { - "name": "unsubscribeFromNativeChangeEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 202, - 37 - ], - [ - 208, - 1 - ] - ], - "doc": "~Private~" - } - }, - "208": { - "18": { - "name": "isPathPrefixOf", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "prefix", - "fullPath" - ], - "range": [ - [ - 208, - 18 - ], - [ - 209, - 73 - ] - ], - "doc": "Private: Does given full path start with the given prefix? " - } - } - }, - "exports": 11 - }, - "src/file.coffee": { - "objects": { - "0": { - "9": { - "name": "crypto", - "type": "import", - "range": [ - [ - 0, - 9 - ], - [ - 0, - 24 - ] - ], - "bindingType": "variable", - "module": "crypto", - "builtin": true - } - }, - "1": { - "7": { - "name": "path", - "type": "import", - "range": [ - [ - 1, - 7 - ], - [ - 1, - 20 - ] - ], - "bindingType": "variable", - "module": "path", - "builtin": true - } - }, - "3": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 3, - 4 - ], - [ - 3, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@~1.x" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@^1.1.0", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "5": { - "5": { - "name": "fs", - "type": "import", - "range": [ - [ - 5, - 5 - ], - [ - 5, - 21 - ] - ], - "bindingType": "variable", - "module": "fs-plus@^2.1" - } - }, - "6": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 6, - 4 - ], - [ - 6, - 14 - ] - ], - "bindingType": "variable", - "module": "q@~1.0.1" - } - }, - "7": { - "8": { - "name": "runas", - "type": "import", - "range": [ - [ - 7, - 8 - ], - [ - 7, - 22 - ] - ], - "bindingType": "variable", - "module": "runas@^1.0.1" - } - }, - "9": { - "12": { - "type": "primitive", - "range": [ - [ - 9, - 12 - ], - [ - 9, - 15 - ] - ] - } - }, - "10": { - "14": { - "name": "PathWatcher", - "type": "import", - "range": [ - [ - 10, - 14 - ], - [ - 10, - 29 - ] - ], - "bindingType": "variable", - "path": "./main" - } - }, - "15": { - "0": { - "type": "class", - "name": "File", - "bindingType": "exports", - "classProperties": [], - "prototypeProperties": [ - [ - 18, - 12 - ], - [ - 24, - 15 - ], - [ - 34, - 28 - ], - [ - 49, - 10 - ], - [ - 52, - 15 - ], - [ - 55, - 11 - ], - [ - 59, - 11 - ], - [ - 62, - 13 - ], - [ - 67, - 19 - ], - [ - 76, - 15 - ], - [ - 80, - 9 - ], - [ - 86, - 12 - ], - [ - 101, - 8 - ], - [ - 128, - 10 - ], - [ - 131, - 13 - ], - [ - 135, - 13 - ], - [ - 142, - 40 - ], - [ - 154, - 27 - ], - [ - 167, - 32 - ], - [ - 170, - 22 - ], - [ - 178, - 33 - ], - [ - 182, - 37 - ] - ], - "doc": " Public: Represents an individual file that can be watched, read from, and\nwritten to. ", - "range": [ - [ - 15, - 0 - ], - [ - 185, - 31 - ] - ] - } - }, - "18": { - "12": { - "name": "realPath", - "type": "primitive", - "range": [ - [ - 18, - 12 - ], - [ - 18, - 15 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "24": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - null - ], - "range": [ - [ - 24, - 15 - ], - [ - 34, - 1 - ] - ], - "doc": " Public: Creates a new file.\n\nfilePath - A {String} containing the absolute path to the file\nsymlink - A {Boolean} indicating if the path is a symlink (default: false). " - } - }, - "34": { - "28": { - "name": "handleEventSubscriptions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 34, - 28 - ], - [ - 49, - 1 - ] - ], - "doc": "Private: Subscribes to file system notifications when necessary. " - } - }, - "49": { - "10": { - "name": "isFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 49, - 10 - ], - [ - 49, - 16 - ] - ], - "doc": "Public: Distinguishes Files from Directories during traversal. " - } - }, - "52": { - "15": { - "name": "isDirectory", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 52, - 15 - ], - [ - 52, - 22 - ] - ], - "doc": "Public: Distinguishes Files from Directories during traversal. " - } - }, - "55": { - "11": { - "name": "setPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 55, - 11 - ], - [ - 59, - 1 - ] - ], - "doc": "Private: Sets the path for the file. " - } - }, - "59": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 59, - 11 - ], - [ - 59, - 18 - ] - ], - "doc": "Public: Returns the {String} path for the file. " - } - }, - "62": { - "13": { - "name": "getParent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 62, - 13 - ], - [ - 67, - 1 - ] - ], - "doc": "Public: Return the {Directory} that contains this file. " - } - }, - "67": { - "19": { - "name": "getRealPathSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 67, - 19 - ], - [ - 76, - 1 - ] - ], - "doc": "Public: Returns this file's completely resolved path. " - } - }, - "76": { - "15": { - "name": "getBaseName", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 76, - 15 - ], - [ - 80, - 1 - ] - ], - "doc": "Public: Return the {String} filename without any directory information. " - } - }, - "80": { - "9": { - "name": "write", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 80, - 9 - ], - [ - 86, - 1 - ] - ], - "doc": "Public: Overwrites the file with the given String. " - } - }, - "86": { - "12": { - "name": "readSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "flushCache" - ], - "range": [ - [ - 86, - 12 - ], - [ - 101, - 1 - ] - ], - "doc": "~Private~" - } - }, - "101": { - "8": { - "name": "read", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "flushCache" - ], - "range": [ - [ - 101, - 8 - ], - [ - 128, - 1 - ] - ], - "doc": " Public: Reads the contents of the file.\n\nflushCache - A {Boolean} indicating whether to require a direct read or if\n a cached copy is acceptable.\n\nReturns a promise that resovles to a String. " - } - }, - "128": { - "10": { - "name": "exists", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 128, - 10 - ], - [ - 131, - 1 - ] - ], - "doc": "Public: Returns whether the file exists. " - } - }, - "131": { - "13": { - "name": "setDigest", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "contents" - ], - "range": [ - [ - 131, - 13 - ], - [ - 135, - 1 - ] - ], - "doc": "~Private~" - } - }, - "135": { - "13": { - "name": "getDigest", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 135, - 13 - ], - [ - 142, - 1 - ] - ], - "doc": "Public: Get the SHA-1 digest of this file " - } - }, - "142": { - "40": { - "name": "writeFileWithPrivilegeEscalationSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath", - "text" - ], - "range": [ - [ - 142, - 40 - ], - [ - 154, - 1 - ] - ], - "doc": " Private: Writes the text to specified path.\n\nPrivilege escalation would be asked when current user doesn't have\npermission to the path. " - } - }, - "154": { - "27": { - "name": "handleNativeChangeEvent", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventType", - "eventPath" - ], - "range": [ - [ - 154, - 27 - ], - [ - 167, - 1 - ] - ], - "doc": "~Private~" - } - }, - "167": { - "32": { - "name": "detectResurrectionAfterDelay", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 167, - 32 - ], - [ - 170, - 1 - ] - ], - "doc": "~Private~" - } - }, - "170": { - "22": { - "name": "detectResurrection", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 170, - 22 - ], - [ - 178, - 1 - ] - ], - "doc": "~Private~" - } - }, - "178": { - "33": { - "name": "subscribeToNativeChangeEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 178, - 33 - ], - [ - 182, - 1 - ] - ], - "doc": "~Private~" - } - }, - "182": { - "37": { - "name": "unsubscribeFromNativeChangeEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 182, - 37 - ], - [ - 185, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 15 - } - } - }, - { - "main": "./src/space-pen.coffee", - "repository": "https://github.com/atom/space-pen.git", - "version": "3.3.0", - "files": { - "src/space-pen.coffee": { - "objects": { - "4": { - "3": { - "type": "primitive", - "name": "_", - "range": [ - [ - 4, - 3 - ], - [ - 4, - 3 - ] - ], - "exportsProperty": "_" - }, - "6": { - "type": "primitive", - "name": "jQuery", - "range": [ - [ - 4, - 6 - ], - [ - 4, - 11 - ] - ], - "exportsProperty": "jQuery" - } - }, - "5": { - "6": { - "name": "jQuery", - "type": "primitive", - "range": [ - [ - 5, - 6 - ], - [ - 5, - 11 - ] - ] - } - }, - "8": { - "2": { - "name": "Tags", - "type": "function", - "range": [ - [ - 8, - 2 - ], - [ - 15, - 60 - ] - ] - } - }, - "17": { - "18": { - "type": "primitive", - "range": [ - [ - 17, - 18 - ], - [ - 17, - 19 - ] - ] - } - }, - "22": { - "2": { - "name": "Events", - "type": "function", - "range": [ - [ - 22, - 2 - ], - [ - 24, - 57 - ] - ] - } - }, - "28": { - "8": { - "name": "document", - "type": "primitive", - "range": [ - [ - 28, - 8 - ], - [ - 28, - 15 - ] - ] - } - }, - "32": { - "12": { - "name": "0", - "type": "primitive", - "range": [ - [ - 32, - 12 - ], - [ - 32, - 12 - ] - ] - } - }, - "58": { - "0": { - "type": "class", - "name": "View", - "superClass": "jQuery", - "classProperties": [ - [ - 59, - 17 - ], - [ - 65, - 12 - ], - [ - 69, - 9 - ], - [ - 72, - 8 - ], - [ - 75, - 8 - ], - [ - 77, - 16 - ], - [ - 83, - 15 - ], - [ - 87, - 14 - ], - [ - 92, - 11 - ] - ], - "prototypeProperties": [ - [ - 100, - 15 - ], - [ - 113, - 13 - ], - [ - 120, - 15 - ], - [ - 128, - 21 - ], - [ - 147, - 13 - ], - [ - 153, - 7 - ], - [ - 167, - 11 - ], - [ - 174, - 11 - ] - ], - "doc": " Public: View class that extends the jQuery prototype.\n\nExtending classes must implement a `@content` method.\n\n## Example\n```coffee\nclass Spacecraft extends View\n @content: ->\n @div =>\n @h1 'Spacecraft'\n @ol =>\n @li 'Apollo'\n @li 'Soyuz'\n @li 'Space Shuttle'\n```\n\nEach view instance will have all the methods from the jQuery prototype\navailable on it.\n\n```coffee\n craft = new Spacecraft()\n craft.find('h1').text() # 'Spacecraft'\n craft.appendTo(document.body) # View is now a child of the tag\n``` ", - "range": [ - [ - 58, - 0 - ], - [ - 176, - 0 - ] - ] - } - }, - "59": { - "17": { - "name": "builderStack", - "type": "primitive", - "range": [ - [ - 59, - 17 - ], - [ - 59, - 20 - ] - ], - "bindingType": "classProperty" - } - }, - "65": { - "12": { - "name": "subview", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "name", - "view" - ], - "range": [ - [ - 65, - 12 - ], - [ - 69, - 1 - ] - ], - "doc": "Public: Add the given subview wired to an outlet with the given name " - } - }, - "69": { - "9": { - "name": "text", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 69, - 9 - ], - [ - 69, - 48 - ] - ], - "doc": "Public: Add a text node with the given text content " - } - }, - "72": { - "8": { - "name": "tag", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "tagName", - "args" - ], - "range": [ - [ - 72, - 8 - ], - [ - 72, - 66 - ] - ], - "doc": "Public: Add a new tag with the given name " - } - }, - "75": { - "8": { - "name": "raw", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 75, - 8 - ], - [ - 75, - 46 - ] - ], - "doc": "Public: Add new child DOM nodes from the given raw HTML string. " - } - }, - "77": { - "16": { - "name": "pushBuilder", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 77, - 16 - ], - [ - 83, - 1 - ] - ], - "doc": "~Private~" - } - }, - "83": { - "15": { - "name": "popBuilder", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 83, - 15 - ], - [ - 87, - 1 - ] - ], - "doc": "~Private~" - } - }, - "87": { - "14": { - "name": "buildHtml", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 87, - 14 - ], - [ - 92, - 1 - ] - ], - "doc": "~Private~" - } - }, - "92": { - "11": { - "name": "render", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 92, - 11 - ], - [ - 100, - 1 - ] - ], - "doc": "~Private~" - } - }, - "100": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 100, - 15 - ], - [ - 113, - 1 - ] - ], - "doc": "~Private~" - } - }, - "113": { - "13": { - "name": "buildHtml", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 113, - 13 - ], - [ - 120, - 1 - ] - ], - "doc": "~Private~" - } - }, - "120": { - "15": { - "name": "wireOutlets", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 120, - 15 - ], - [ - 128, - 1 - ] - ], - "doc": "~Private~" - } - }, - "128": { - "21": { - "name": "bindEventHandlers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "view" - ], - "range": [ - [ - 128, - 21 - ], - [ - 147, - 1 - ] - ], - "doc": "~Private~" - } - }, - "147": { - "13": { - "name": "pushStack", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "elems" - ], - "range": [ - [ - 147, - 13 - ], - [ - 153, - 1 - ] - ], - "doc": " Private: `pushStack` and `end` are jQuery methods that construct new wrappers.\nwe override them here to construct plain wrappers with `jQuery` rather\nthan wrappers that are instances of our view class. " - } - }, - "153": { - "7": { - "name": "end", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 153, - 7 - ], - [ - 167, - 1 - ] - ], - "doc": "~Private~" - } - }, - "167": { - "11": { - "name": "command", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "commandName", - "selector", - "options", - "handler" - ], - "range": [ - [ - 167, - 11 - ], - [ - 174, - 1 - ] - ], - "doc": " Public: Calls the given handler when commandName is triggered on the {View}.\n\nThis is enhanced version of jQuery's `::on` method. It listens for a custom\nDOM event and adds metadata to the DOM to maintain a list of all commands.\n\ncommandName - A namespaced {String} describing the command, such as\n `find-and-replace:toggle`.\nselector - An optional selector {String} to filter the descendants of the\n elements that trigger the event.\noptions - An optional options {Object} with an `data` key.\nhandler - A {Function} to execute when the command is triggered. " - } - }, - "174": { - "11": { - "name": "preempt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "eventName", - "handler" - ], - "range": [ - [ - 174, - 11 - ], - [ - 176, - 0 - ] - ], - "doc": " Public: Preempt events registered with jQuery's `::on`.\n\neventName - A event name {String}.\nhandler - A {Function} to execute when the eventName is triggered. " - } - }, - "177": { - "0": { - "type": "class", - "name": "Builder", - "classProperties": [], - "prototypeProperties": [ - [ - 178, - 15 - ], - [ - 182, - 13 - ], - [ - 185, - 7 - ], - [ - 198, - 11 - ], - [ - 211, - 12 - ], - [ - 214, - 8 - ], - [ - 224, - 7 - ], - [ - 227, - 11 - ], - [ - 235, - 18 - ] - ], - "doc": "~Private~", - "range": [ - [ - 177, - 0 - ], - [ - 247, - 54 - ] - ] - } - }, - "178": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 178, - 15 - ], - [ - 182, - 1 - ] - ] - } - }, - "182": { - "13": { - "name": "buildHtml", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 182, - 13 - ], - [ - 185, - 1 - ] - ], - "doc": "~Private~" - } - }, - "185": { - "7": { - "name": "tag", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "args" - ], - "range": [ - [ - 185, - 7 - ], - [ - 198, - 1 - ] - ], - "doc": "~Private~" - } - }, - "198": { - "11": { - "name": "openTag", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "attributes" - ], - "range": [ - [ - 198, - 11 - ], - [ - 211, - 1 - ] - ], - "doc": "~Private~" - } - }, - "211": { - "12": { - "name": "closeTag", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 211, - 12 - ], - [ - 214, - 1 - ] - ], - "doc": "~Private~" - } - }, - "214": { - "8": { - "name": "text", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 214, - 8 - ], - [ - 224, - 1 - ] - ], - "doc": "~Private~" - } - }, - "224": { - "7": { - "name": "raw", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "string" - ], - "range": [ - [ - 224, - 7 - ], - [ - 227, - 1 - ] - ], - "doc": "~Private~" - } - }, - "227": { - "11": { - "name": "subview", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "outletName", - "subview" - ], - "range": [ - [ - 227, - 11 - ], - [ - 235, - 1 - ] - ], - "doc": "~Private~" - } - }, - "235": { - "18": { - "name": "extractOptions", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 235, - 18 - ], - [ - 247, - 54 - ] - ], - "doc": "~Private~" - } - }, - "248": { - "17": { - "name": "callAttachHook", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 248, - 17 - ], - [ - 260, - 0 - ] - ], - "doc": "Private: Trigger attach event when views are added to the DOM " - } - }, - "278": { - "20": { - "name": "jQuery", - "type": "primitive", - "range": [ - [ - 278, - 20 - ], - [ - 278, - 25 - ] - ] - } - }, - "279": { - "19": { - "name": "jQuery.cleanData", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "elements" - ], - "range": [ - [ - 279, - 19 - ], - [ - 286, - 0 - ] - ], - "doc": null - } - }, - "287": { - "12": { - "name": "$.fn.view", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 287, - 12 - ], - [ - 289, - 0 - ] - ], - "doc": null - } - }, - "290": { - "13": { - "name": "$.fn.views", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 290, - 13 - ], - [ - 293, - 0 - ] - ], - "doc": null - } - }, - "294": { - "22": { - "name": "$.fn.containingView", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 294, - 22 - ], - [ - 299, - 0 - ] - ], - "doc": null - } - }, - "300": { - "20": { - "name": "$.fn.scrollBottom", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newValue" - ], - "range": [ - [ - 300, - 20 - ], - [ - 305, - 0 - ] - ], - "doc": null - } - }, - "306": { - "18": { - "name": "$.fn.scrollDown", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 306, - 18 - ], - [ - 308, - 0 - ] - ], - "doc": null - } - }, - "309": { - "16": { - "name": "$.fn.scrollUp", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 309, - 16 - ], - [ - 311, - 0 - ] - ], - "doc": null - } - }, - "312": { - "19": { - "name": "$.fn.scrollToTop", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 312, - 19 - ], - [ - 314, - 0 - ] - ], - "doc": null - } - }, - "315": { - "22": { - "name": "$.fn.scrollToBottom", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 315, - 22 - ], - [ - 317, - 0 - ] - ], - "doc": null - } - }, - "318": { - "19": { - "name": "$.fn.scrollRight", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "newValue" - ], - "range": [ - [ - 318, - 19 - ], - [ - 323, - 0 - ] - ], - "doc": null - } - }, - "324": { - "14": { - "name": "$.fn.pageUp", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 324, - 14 - ], - [ - 326, - 0 - ] - ], - "doc": null - } - }, - "327": { - "16": { - "name": "$.fn.pageDown", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 327, - 16 - ], - [ - 329, - 0 - ] - ], - "doc": null - } - }, - "330": { - "15": { - "name": "$.fn.isOnDom", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 330, - 15 - ], - [ - 332, - 0 - ] - ], - "doc": null - } - }, - "333": { - "17": { - "name": "$.fn.isVisible", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 333, - 17 - ], - [ - 335, - 0 - ] - ], - "doc": null - } - }, - "336": { - "16": { - "name": "$.fn.isHidden", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 336, - 16 - ], - [ - 347, - 0 - ] - ], - "doc": null - } - }, - "348": { - "18": { - "name": "$.fn.isDisabled", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 348, - 18 - ], - [ - 350, - 0 - ] - ], - "doc": null - } - }, - "351": { - "14": { - "name": "$.fn.enable", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 351, - 14 - ], - [ - 353, - 0 - ] - ], - "doc": null - } - }, - "354": { - "15": { - "name": "$.fn.disable", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 354, - 15 - ], - [ - 356, - 0 - ] - ], - "doc": null - } - }, - "357": { - "16": { - "name": "$.fn.insertAt", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "index", - "element" - ], - "range": [ - [ - 357, - 16 - ], - [ - 363, - 0 - ] - ], - "doc": null - } - }, - "364": { - "16": { - "name": "$.fn.removeAt", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "index" - ], - "range": [ - [ - 364, - 16 - ], - [ - 366, - 0 - ] - ], - "doc": null - } - }, - "367": { - "15": { - "name": "$.fn.indexOf", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "child" - ], - "range": [ - [ - 367, - 15 - ], - [ - 369, - 0 - ] - ], - "doc": null - } - }, - "370": { - "23": { - "name": "$.fn.containsElement", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "element" - ], - "range": [ - [ - 370, - 23 - ], - [ - 372, - 0 - ] - ], - "doc": null - } - }, - "373": { - "15": { - "name": "$.fn.preempt", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "eventName", - "handler" - ], - "range": [ - [ - 373, - 15 - ], - [ - 387, - 57 - ] - ], - "doc": null - } - }, - "388": { - "16": { - "name": "$.fn.handlers", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "eventName" - ], - "range": [ - [ - 388, - 16 - ], - [ - 392, - 0 - ] - ], - "doc": null - } - }, - "393": { - "17": { - "name": "$.fn.hasParent", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 393, - 17 - ], - [ - 395, - 0 - ] - ], - "doc": null - } - }, - "396": { - "16": { - "name": "$.fn.hasFocus", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 396, - 16 - ], - [ - 398, - 0 - ] - ], - "doc": null - } - }, - "399": { - "18": { - "name": "$.fn.flashError", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 399, - 18 - ], - [ - 403, - 0 - ] - ], - "doc": null - } - }, - "404": { - "18": { - "name": "$.fn.trueHeight", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 404, - 18 - ], - [ - 406, - 0 - ] - ], - "doc": null - } - }, - "407": { - "17": { - "name": "$.fn.trueWidth", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 407, - 17 - ], - [ - 409, - 0 - ] - ], - "doc": null - } - }, - "410": { - "16": { - "name": "$.fn.document", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "eventName", - "docString" - ], - "range": [ - [ - 410, - 16 - ], - [ - 415, - 0 - ] - ], - "doc": null - } - }, - "416": { - "14": { - "name": "$.fn.events", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 416, - 14 - ], - [ - 427, - 0 - ] - ], - "doc": null - } - }, - "428": { - "15": { - "name": "$.fn.command", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "eventName", - "selector", - "options", - "handler" - ], - "range": [ - [ - 428, - 15 - ], - [ - 442, - 0 - ] - ], - "doc": null - } - }, - "443": { - "16": { - "name": "$.fn.iconSize", - "bindingType": "variable", - "type": "function", - "paramNames": [ - "size" - ], - "range": [ - [ - 443, - 16 - ], - [ - 445, - 0 - ] - ], - "doc": null - } - }, - "446": { - "16": { - "name": "$.fn.intValue", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 446, - 16 - ], - [ - 448, - 0 - ] - ], - "doc": null - } - }, - "449": { - "36": { - "name": "$.Event.prototype.abortKeyBinding", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 449, - 36 - ], - [ - 449, - 37 - ] - ], - "doc": null - } - }, - "450": { - "38": { - "name": "$.Event.prototype.currentTargetView", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 450, - 38 - ], - [ - 450, - 74 - ] - ], - "doc": null - } - }, - "451": { - "31": { - "name": "$.Event.prototype.targetView", - "bindingType": "variable", - "type": "function", - "paramNames": [], - "range": [ - [ - 451, - 31 - ], - [ - 451, - 60 - ] - ], - "doc": null - } - }, - "459": { - "0": { - "name": "$$", - "bindingType": "exportsProperty", - "type": "function", - "range": [ - [ - 459, - 0 - ], - [ - 459, - 6 - ] - ] - } - }, - "460": { - "0": { - "name": "$$$", - "bindingType": "exportsProperty", - "type": "function", - "range": [ - [ - 460, - 0 - ], - [ - 460, - 6 - ] - ] - } - } - }, - "exports": { - "_default": { - "operator": "?", - "first": { - "base": { - "value": "exports", - "locationData": { - "first_line": 455, - "first_column": 10, - "last_line": 455, - "last_column": 16 - } - }, - "properties": [], - "locationData": { - "first_line": 455, - "first_column": 10, - "last_line": 455, - "last_column": 16 - } - }, - "second": { - "base": { - "value": "this", - "locationData": { - "first_line": 455, - "first_column": 20, - "last_line": 455, - "last_column": 23 - } - }, - "properties": [], - "locationData": { - "first_line": 455, - "first_column": 20, - "last_line": 455, - "last_column": 23 - } - }, - "flip": false, - "locationData": { - "first_line": 455, - "first_column": 10, - "last_line": 455, - "last_column": 23 - } - }, - "View": { - "startLineNumber": 456 - }, - "jQuery": { - "startLineNumber": 457 - }, - "$": { - "startLineNumber": 458 - }, - "$$": { - "startLineNumber": 459 - }, - "$$$": { - "startLineNumber": 460 - } - } - } - } - }, - { - "main": "./src/text-buffer.coffee", - "repository": "https://github.com/atom/text-buffer.git", - "version": "3.0.0", - "files": { - "src/marker.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 6 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "extend", - "exportsProperty": "extend" - }, - "9": { - "type": "import", - "range": [ - [ - 0, - 9 - ], - [ - 0, - 15 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "isEqual", - "exportsProperty": "isEqual" - }, - "18": { - "type": "import", - "range": [ - [ - 0, - 18 - ], - [ - 0, - 21 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "omit", - "exportsProperty": "omit" - }, - "24": { - "type": "import", - "range": [ - [ - 0, - 24 - ], - [ - 0, - 27 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "pick", - "exportsProperty": "pick" - }, - "30": { - "type": "import", - "range": [ - [ - 0, - 30 - ], - [ - 0, - 33 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x", - "name": "size", - "exportsProperty": "size" - } - }, - "1": { - "1": { - "type": "import", - "range": [ - [ - 1, - 1 - ], - [ - 1, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "2": { - "7": { - "name": "Grim", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0" - } - }, - "3": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 3, - 12 - ], - [ - 3, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@1.x" - } - }, - "4": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 4, - 15 - ], - [ - 4, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@1.x" - } - }, - "5": { - "14": { - "name": "MarkerPatch", - "type": "import", - "range": [ - [ - 5, - 14 - ], - [ - 5, - 37 - ] - ], - "bindingType": "variable", - "path": "./marker-patch" - } - }, - "6": { - "8": { - "name": "Point", - "type": "import", - "range": [ - [ - 6, - 8 - ], - [ - 6, - 24 - ] - ], - "bindingType": "variable", - "path": "./point" - } - }, - "7": { - "8": { - "name": "Range", - "type": "import", - "range": [ - [ - 7, - 8 - ], - [ - 7, - 24 - ] - ], - "bindingType": "variable", - "path": "./range" - } - }, - "9": { - "13": { - "type": "primitive", - "range": [ - [ - 9, - 13 - ], - [ - 9, - 62 - ] - ] - } - }, - "59": { - "0": { - "type": "class", - "name": "Marker", - "bindingType": "exports", - "classProperties": [ - [ - 64, - 18 - ], - [ - 73, - 27 - ] - ], - "prototypeProperties": [ - [ - 97, - 15 - ], - [ - 111, - 19 - ], - [ - 116, - 21 - ], - [ - 121, - 12 - ], - [ - 130, - 12 - ], - [ - 137, - 19 - ], - [ - 148, - 19 - ], - [ - 173, - 19 - ], - [ - 188, - 19 - ], - [ - 210, - 20 - ], - [ - 218, - 18 - ], - [ - 229, - 13 - ], - [ - 241, - 13 - ], - [ - 249, - 14 - ], - [ - 253, - 11 - ], - [ - 259, - 11 - ], - [ - 265, - 15 - ], - [ - 270, - 11 - ], - [ - 278, - 27 - ], - [ - 282, - 17 - ], - [ - 287, - 17 - ], - [ - 293, - 17 - ], - [ - 298, - 17 - ], - [ - 303, - 8 - ], - [ - 308, - 11 - ], - [ - 314, - 17 - ], - [ - 320, - 11 - ], - [ - 324, - 21 - ], - [ - 329, - 17 - ], - [ - 336, - 16 - ], - [ - 357, - 12 - ], - [ - 362, - 10 - ], - [ - 372, - 22 - ], - [ - 419, - 14 - ], - [ - 430, - 14 - ], - [ - 477, - 19 - ] - ], - "doc": " Public: Reprents a buffer annotation that remains logically stationary even\nas the buffer changes. This is used to represent cursors, folds, snippet\ntargets, misspelled words, and anything else that needs to track a logical\nlocation in the buffer over time.\n\nHead and Tail:\nMarkers always have a *head* and sometimes have a *tail*. If you think of a\nmarker as an editor selection, the tail is the part that's stationary and the\nhead is the part that moves when the mouse is moved. A marker without a tail\nalways reports an empty range at the head position. A marker with a head position\ngreater than the tail is in a \"normal\" orientation. If the head precedes the\ntail the marker is in a \"reversed\" orientation.\n\nValidity:\nMarkers are considered *valid* when they are first created. Depending on the\ninvalidation strategy you choose, certain changes to the buffer can cause a\nmarker to become invalid, for example if the text surrounding the marker is\ndeleted. See {TextBuffer::markRange} for invalidation strategies.\n\nChange events:\nWhen markers change in position for any reason, the emit a 'changed' event with\nthe following properties:\n\n* oldHeadPosition:\n A {Point} representing the former head position\n* newHeadPosition:\n A {Point} representing the new head position\n* oldTailPosition:\n A {Point} representing the former tail position\n* newTailPosition:\n A {Point} representing the new tail position\n* wasValid:\n A {Boolean} indicating whether the marker was valid before the change\n* isValid:\n A {Boolean} indicating whether the marker is now valid\n* hadTail:\n A {Boolean} indicating whether the marker had a tail before the change\n* hasTail:\n A {Boolean} indicating whether the marker now has a tail\n* oldProperties:\n An {Object} containing the marker's custom properties before the change.\n* newProperties:\n An {Object} containing the marker's custom properties after the change.\n* textChanged:\n A {Boolean} indicating whether this change was caused by a textual change\n to the buffer or whether the marker was manipulated directly via its public\n API. ", - "range": [ - [ - 59, - 0 - ], - [ - 478, - 60 - ] - ] - } - }, - "64": { - "18": { - "name": "extractParams", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "inputParams" - ], - "range": [ - [ - 64, - 18 - ], - [ - 73, - 1 - ] - ], - "doc": "~Private~" - } - }, - "73": { - "27": { - "name": "handleDeprecatedParams", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 73, - 27 - ], - [ - 94, - 1 - ] - ], - "doc": "~Private~" - } - }, - "97": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 97, - 15 - ], - [ - 111, - 1 - ] - ], - "doc": "~Private~" - } - }, - "111": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 111, - 19 - ], - [ - 116, - 1 - ] - ], - "doc": "Private: Used by {Serializable} during serialization. " - } - }, - "116": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "state" - ], - "range": [ - [ - 116, - 21 - ], - [ - 121, - 1 - ] - ], - "doc": "Private: Used by {Serializable} during deserialization. " - } - }, - "121": { - "12": { - "name": "getRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 121, - 12 - ], - [ - 130, - 1 - ] - ], - "doc": "Public: Returns the current {Range} of the marker. The range is immutable. " - } - }, - "130": { - "12": { - "name": "setRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range", - "properties" - ], - "range": [ - [ - 130, - 12 - ], - [ - 137, - 1 - ] - ], - "doc": " Public: Sets the range of the marker.\n\nrange - A {Range} or range-compatible {Array}. The range will be clipped\n before it is assigned.\nproperties - An optional hash of properties to associate with the marker.\n :reversed - If true, the marker will to be in a reversed orientation. " - } - }, - "137": { - "19": { - "name": "getHeadPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 137, - 19 - ], - [ - 148, - 1 - ] - ], - "doc": "Public: Returns a {Point} representing the marker's current head position. " - } - }, - "148": { - "19": { - "name": "setHeadPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "properties" - ], - "range": [ - [ - 148, - 19 - ], - [ - 173, - 1 - ] - ], - "doc": " Public: Sets the head position of the marker.\n\nposition - A {Point} or point-compatible {Array}. The position will be\n clipped before it is assigned.\nproperties - An optional hash of properties to associate with the marker. " - } - }, - "173": { - "19": { - "name": "getTailPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 173, - 19 - ], - [ - 188, - 1 - ] - ], - "doc": " Public: Returns a {Point} representing the marker's current tail position.\nIf the marker has no tail, the head position will be returned instead. " - } - }, - "188": { - "19": { - "name": "setTailPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "properties" - ], - "range": [ - [ - 188, - 19 - ], - [ - 210, - 1 - ] - ], - "doc": " Public: Sets the head position of the marker. If the marker doesn't have a\ntail, it will after calling this method.\n\nposition - A {Point} or point-compatible {Array}. The position will be\n clipped before it is assigned.\nproperties - An optional hash of properties to associate with the marker. " - } - }, - "210": { - "20": { - "name": "getStartPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 210, - 20 - ], - [ - 218, - 1 - ] - ], - "doc": " Public: Returns a {Point} representing the start position of the marker,\nwhich could be the head or tail position, depending on its orientation. " - } - }, - "218": { - "18": { - "name": "getEndPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 218, - 18 - ], - [ - 229, - 1 - ] - ], - "doc": " Public: Returns a {Point} representing the end position of the marker,\nwhich could be the head or tail position, depending on its orientation. " - } - }, - "229": { - "13": { - "name": "clearTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "properties" - ], - "range": [ - [ - 229, - 13 - ], - [ - 241, - 1 - ] - ], - "doc": " Public: Removes the marker's tail. After calling the marker's head position\nwill be reported as its current tail position until the tail is planted\nagain.\n\nproperties - An optional hash of properties to associate with the marker. " - } - }, - "241": { - "13": { - "name": "plantTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "properties" - ], - "range": [ - [ - 241, - 13 - ], - [ - 249, - 1 - ] - ], - "doc": " Public: Plants the marker's tail at the current head position. After calling\nthe marker's tail position will be its head position at the time of the\ncall, regardless of where the marker's head is moved.\n\nproperties - An optional hash of properties to associate with the marker. " - } - }, - "249": { - "14": { - "name": "isReversed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 249, - 14 - ], - [ - 253, - 1 - ] - ], - "doc": "Public: Returns a {Boolean} indicating whether the head precedes the tail. " - } - }, - "253": { - "11": { - "name": "hasTail", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 253, - 11 - ], - [ - 259, - 1 - ] - ], - "doc": "Public: Returns a {Boolean} indicating whether the marker has a tail. " - } - }, - "259": { - "11": { - "name": "isValid", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 259, - 11 - ], - [ - 265, - 1 - ] - ], - "doc": " Public: Is the marker valid?\n\nReturns a {Boolean}. " - } - }, - "265": { - "15": { - "name": "isDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 265, - 15 - ], - [ - 270, - 1 - ] - ], - "doc": " Public: Is the marker destroyed?\n\nReturns a {Boolean}. " - } - }, - "270": { - "11": { - "name": "isEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 270, - 11 - ], - [ - 278, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this marker is equivalent to\nanother marker, meaning they have the same range and options. " - } - }, - "278": { - "27": { - "name": "getInvalidationStrategy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 278, - 27 - ], - [ - 282, - 1 - ] - ], - "doc": " Public: Get the invalidation strategy for this marker.\n\nValid values include: `never`, `surround`, `overlap`, `inside`, and `touch`.\n\nReturns a {String}. " - } - }, - "282": { - "17": { - "name": "getAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 282, - 17 - ], - [ - 287, - 1 - ] - ], - "doc": "Deprecated: Use ::getProperties instead " - } - }, - "287": { - "17": { - "name": "setAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 287, - 17 - ], - [ - 293, - 1 - ] - ], - "doc": "Deprecated: Use ::setProperties instead " - } - }, - "293": { - "17": { - "name": "getProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 293, - 17 - ], - [ - 298, - 1 - ] - ], - "doc": " Public: Returns an {Object} containing any custom properties associated with\nthe marker. " - } - }, - "298": { - "17": { - "name": "setProperties", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "properties" - ], - "range": [ - [ - 298, - 17 - ], - [ - 303, - 1 - ] - ], - "doc": " Public: Merges an {Object} containing new properties into the marker's\nexisting properties. " - } - }, - "303": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 303, - 8 - ], - [ - 308, - 1 - ] - ], - "doc": " Public: Creates and returns a new {Marker} with the same properties as this\nmarker. " - } - }, - "308": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 308, - 11 - ], - [ - 314, - 1 - ] - ], - "doc": " Public: Destroys the marker, causing it to emit the 'destroyed' event. Once\ndestroyed, a marker cannot be restored by undo/redo operations. " - } - }, - "314": { - "17": { - "name": "extractParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 314, - 17 - ], - [ - 320, - 1 - ] - ], - "doc": "~Private~" - } - }, - "320": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 320, - 11 - ], - [ - 324, - 1 - ] - ], - "doc": "Public: Compares this marker to another based on their ranges. " - } - }, - "324": { - "21": { - "name": "matchesAttributes", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 324, - 21 - ], - [ - 329, - 1 - ] - ], - "doc": "Deprecated: Use ::matchesParams instead " - } - }, - "329": { - "17": { - "name": "matchesParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 329, - 17 - ], - [ - 336, - 1 - ] - ], - "doc": " Private: Returns whether this marker matches the given parameters. The parameters\nare the same as {MarkerManager::findMarkers}. " - } - }, - "336": { - "16": { - "name": "matchesParam", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "key", - "value" - ], - "range": [ - [ - 336, - 16 - ], - [ - 357, - 1 - ] - ], - "doc": " Private: Returns whether this marker matches the given parameter name and value.\nThe parameters are the same as {MarkerManager::findMarkers}. " - } - }, - "357": { - "12": { - "name": "toParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "omitId" - ], - "range": [ - [ - 357, - 12 - ], - [ - 362, - 1 - ] - ], - "doc": "~Private~" - } - }, - "362": { - "10": { - "name": "update", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 362, - 10 - ], - [ - 372, - 1 - ] - ], - "doc": "~Private~" - } - }, - "372": { - "22": { - "name": "handleBufferChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "patch" - ], - "range": [ - [ - 372, - 22 - ], - [ - 419, - 1 - ] - ], - "doc": " Private: Adjusts the marker's start and end positions and possibly its validity\nbased on the given {BufferPatch}. " - } - }, - "419": { - "14": { - "name": "buildPatch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "newParams" - ], - "range": [ - [ - 419, - 14 - ], - [ - 430, - 1 - ] - ], - "doc": "~Private~" - } - }, - "430": { - "14": { - "name": "applyPatch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "patch", - "textChanged" - ], - "range": [ - [ - 430, - 14 - ], - [ - 477, - 1 - ] - ], - "doc": "~Private~" - } - }, - "477": { - "19": { - "name": "updateIntervals", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 477, - 19 - ], - [ - 478, - 60 - ] - ], - "doc": " Private: Updates the interval index on the marker manager with the marker's current\nrange. " - } - } - }, - "exports": 59 - }, - "src/point.coffee": { - "objects": { - "11": { - "0": { - "type": "class", - "name": "Point", - "bindingType": "exports", - "classProperties": [ - [ - 24, - 15 - ], - [ - 36, - 8 - ] - ], - "prototypeProperties": [ - [ - 44, - 15 - ], - [ - 47, - 8 - ], - [ - 51, - 10 - ], - [ - 56, - 13 - ], - [ - 60, - 7 - ], - [ - 70, - 11 - ], - [ - 86, - 11 - ], - [ - 101, - 11 - ], - [ - 108, - 14 - ], - [ - 113, - 21 - ], - [ - 118, - 17 - ], - [ - 123, - 24 - ], - [ - 127, - 11 - ], - [ - 131, - 13 - ], - [ - 135, - 12 - ] - ], - "doc": " Public: Represents a point in a buffer in row/column coordinates.\n\nEvery public method that takes a point also accepts a *point-compatible*\n{Array}. This means a 2-element array containing {Number}s representing the\nrow and column. So the following are equivalent:\n\n```coffee\nnew Point(1, 2)\n[1, 2]\n``` ", - "range": [ - [ - 11, - 0 - ], - [ - 136, - 27 - ] - ] - } - }, - "24": { - "15": { - "name": "fromObject", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "object", - "copy" - ], - "range": [ - [ - 24, - 15 - ], - [ - 36, - 1 - ] - ], - "doc": " Public: Convert any point-compatible object to a {Point}.\n\n* object:\n This can be an object that's already a {Point}, in which case it's\n simply returned, or an array containing two {Number}s representing the\n row and column.\n\n* copy:\n An optional boolean indicating whether to force the copying of objects\n that are already points.\n\nReturns: A {Point} based on the given object. " - } - }, - "36": { - "8": { - "name": "min", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "point1", - "point2" - ], - "range": [ - [ - 36, - 8 - ], - [ - 44, - 1 - ] - ], - "doc": "Public: Returns the given point that is earlier in the buffer. " - } - }, - "44": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null, - null - ], - "range": [ - [ - 44, - 15 - ], - [ - 44, - 36 - ] - ], - "doc": "~Private~" - } - }, - "47": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 47, - 8 - ], - [ - 51, - 1 - ] - ], - "doc": "Public: Returns a new {Point} with the same row and column. " - } - }, - "51": { - "10": { - "name": "freeze", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 51, - 10 - ], - [ - 56, - 1 - ] - ], - "doc": "Public: Makes this point immutable and returns itself. " - } - }, - "56": { - "13": { - "name": "translate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "delta" - ], - "range": [ - [ - 56, - 13 - ], - [ - 60, - 1 - ] - ], - "doc": " Public: Return a new {Point} based on shifting this point by the given delta,\nwhich is represented by another {Point}. " - } - }, - "60": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 60, - 7 - ], - [ - 70, - 1 - ] - ], - "doc": "~Private~" - } - }, - "70": { - "11": { - "name": "splitAt", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "column" - ], - "range": [ - [ - 70, - 11 - ], - [ - 86, - 1 - ] - ], - "doc": "~Private~" - } - }, - "86": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 86, - 11 - ], - [ - 101, - 1 - ] - ], - "doc": " Public:\n\n* other: A {Point} or point-compatible {Array}.\n\nReturns:\n * -1 if this point precedes the argument.\n * 0 if this point is equivalent to the argument.\n * 1 if this point follows the argument. " - } - }, - "101": { - "11": { - "name": "isEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 101, - 11 - ], - [ - 108, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this point has the same row\nand column as the given {Point} or point-compatible {Array}. " - } - }, - "108": { - "14": { - "name": "isLessThan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 108, - 14 - ], - [ - 113, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this point precedes the given\n{Point} or point-compatible {Array}. " - } - }, - "113": { - "21": { - "name": "isLessThanOrEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 113, - 21 - ], - [ - 118, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this point precedes or is\nequal to the given {Point} or point-compatible {Array}. " - } - }, - "118": { - "17": { - "name": "isGreaterThan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 118, - 17 - ], - [ - 123, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this point follows the given\n{Point} or point-compatible {Array}. " - } - }, - "123": { - "24": { - "name": "isGreaterThanOrEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 123, - 24 - ], - [ - 127, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this point follows or is\nequal to the given {Point} or point-compatible {Array}. " - } - }, - "127": { - "11": { - "name": "toArray", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 127, - 11 - ], - [ - 131, - 1 - ] - ], - "doc": "Public: Returns an array of this point's row and column. " - } - }, - "131": { - "13": { - "name": "serialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 131, - 13 - ], - [ - 135, - 1 - ] - ], - "doc": "Public: Returns an array of this point's row and column. " - } - }, - "135": { - "12": { - "name": "toString", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 135, - 12 - ], - [ - 136, - 27 - ] - ], - "doc": "Public: Returns a string representation of the point. " - } - } - }, - "exports": 11 - }, - "src/range.coffee": { - "objects": { - "0": { - "7": { - "name": "Grim", - "type": "import", - "range": [ - [ - 0, - 7 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0" - } - }, - "1": { - "8": { - "name": "Point", - "type": "import", - "range": [ - [ - 1, - 8 - ], - [ - 1, - 24 - ] - ], - "bindingType": "variable", - "path": "./point" - } - }, - "2": { - "1": { - "type": "import", - "range": [ - [ - 2, - 1 - ], - [ - 2, - 12 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "newlineRegex", - "exportsProperty": "newlineRegex" - } - }, - "16": { - "0": { - "type": "class", - "name": "Range", - "bindingType": "exports", - "classProperties": [ - [ - 18, - 16 - ], - [ - 32, - 15 - ], - [ - 50, - 13 - ], - [ - 79, - 23 - ] - ], - "prototypeProperties": [ - [ - 84, - 15 - ], - [ - 96, - 13 - ], - [ - 100, - 8 - ], - [ - 105, - 10 - ], - [ - 112, - 11 - ], - [ - 125, - 11 - ], - [ - 134, - 16 - ], - [ - 139, - 18 - ], - [ - 142, - 7 - ], - [ - 145, - 13 - ], - [ - 149, - 18 - ], - [ - 162, - 17 - ], - [ - 173, - 17 - ], - [ - 187, - 17 - ], - [ - 192, - 22 - ], - [ - 197, - 9 - ], - [ - 205, - 11 - ], - [ - 208, - 11 - ], - [ - 219, - 15 - ], - [ - 223, - 11 - ], - [ - 227, - 12 - ] - ], - "doc": " Public: Represents a region in a buffer in row/column coordinates.\n\nEvery public method that takes a range also accepts a *range-compatible*\n{Array}. This means a 2-element array containing {Point}s or point-compatible\narrays. So the following are equivalent:\n\n```coffee\nnew Range(new Point(0, 1), new Point(2, 3))\nnew Range([0, 1], [2, 3])\n[[0, 1], [2, 3]]\n``` ", - "range": [ - [ - 16, - 0 - ], - [ - 228, - 27 - ] - ] - } - }, - "18": { - "16": { - "name": "deserialize", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "array" - ], - "range": [ - [ - 18, - 16 - ], - [ - 32, - 1 - ] - ], - "doc": "Public: Call this with the result of {Range::serialize} to construct a new Range. " - } - }, - "32": { - "15": { - "name": "fromObject", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "object", - "copy" - ], - "range": [ - [ - 32, - 15 - ], - [ - 50, - 1 - ] - ], - "doc": " Public: Convert any range-compatible object to a {Range}.\n\n* object:\n This can be an object that's already a {Range}, in which case it's\n simply returned, or an array containing two {Point}s or point-compatible\n arrays.\n* copy:\n An optional boolean indicating whether to force the copying of objects\n that are already ranges.\n\nReturns: A {Range} based on the given object. " - } - }, - "50": { - "13": { - "name": "fromText", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 50, - 13 - ], - [ - 79, - 1 - ] - ], - "doc": " Private: Returns a range based on an optional starting point and the given text. If\nno starting point is given it will be assumed to be [0, 0].\n\n* startPoint: A {Point} where the range should start.\n* text:\n A {String} after which the range should end. The range will have as many\n rows as the text has lines have an end column based on the length of the\n last line.\n\nReturns: A {Range} " - } - }, - "79": { - "23": { - "name": "fromPointWithDelta", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "startPoint", - "rowDelta", - "columnDelta" - ], - "range": [ - [ - 79, - 23 - ], - [ - 84, - 1 - ] - ], - "doc": " Public: Returns a {Range} that starts at the given point and ends at the\nstart point plus the given row and column deltas.\n\n* startPoint:\n A {Point} or point-compatible {Array}\n* rowDelta:\n A {Number} indicating how many rows to add to the start point to get the\n end point.\n* columnDelta:\n A {Number} indicating how many rows to columns to the start point to get\n the end point.\n\nReturns a {Range} " - } - }, - "84": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "pointA", - "pointB" - ], - "range": [ - [ - 84, - 15 - ], - [ - 96, - 1 - ] - ], - "doc": "~Private~" - } - }, - "96": { - "13": { - "name": "serialize", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 96, - 13 - ], - [ - 100, - 1 - ] - ], - "doc": "Public: Returns a plain javascript object representation of the range. " - } - }, - "100": { - "8": { - "name": "copy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 100, - 8 - ], - [ - 105, - 1 - ] - ], - "doc": "Public: Returns a new range with the same start and end positions. " - } - }, - "105": { - "10": { - "name": "freeze", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 105, - 10 - ], - [ - 112, - 1 - ] - ], - "doc": " Public: Freezes the range and its start and end point so it becomes\nimmutable and returns itself. " - } - }, - "112": { - "11": { - "name": "isEqual", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 112, - 11 - ], - [ - 125, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this range has the same start\nand end points as the given {Range} or range-compatible {Array}. " - } - }, - "125": { - "11": { - "name": "compare", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 125, - 11 - ], - [ - 134, - 1 - ] - ], - "doc": " Public:\n\n* other: A {Range} or range-compatible {Array}.\n\nReturns:\n * -1 if this range starts before the argument or contains it\n * 0 if this range is equivalent to the argument.\n * 1 if this range starts after the argument or is contained by it. " - } - }, - "134": { - "16": { - "name": "isSingleLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 134, - 16 - ], - [ - 139, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this range starts and ends on\nthe same row. " - } - }, - "139": { - "18": { - "name": "coversSameRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "other" - ], - "range": [ - [ - 139, - 18 - ], - [ - 142, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this range starts and ends on\nthe same row as the argument. " - } - }, - "142": { - "7": { - "name": "add", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "delta" - ], - "range": [ - [ - 142, - 7 - ], - [ - 145, - 1 - ] - ], - "doc": "~Private~" - } - }, - "145": { - "13": { - "name": "translate", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startPoint", - "endPoint" - ], - "range": [ - [ - 145, - 13 - ], - [ - 149, - 1 - ] - ], - "doc": "~Private~" - } - }, - "149": { - "18": { - "name": "intersectsWith", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherRange" - ], - "range": [ - [ - 149, - 18 - ], - [ - 162, - 1 - ] - ], - "doc": "Public: Determines whether this range intersects with the argument. " - } - }, - "162": { - "17": { - "name": "containsRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherRange", - "exclusive" - ], - "range": [ - [ - 162, - 17 - ], - [ - 173, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this range contains the given\nrange.\n\n* otherRange: A {Range} or range-compatible {Array}\n* exclusive:\n A boolean value including that the containment should be exclusive of\n endpoints. Defaults to false. " - } - }, - "173": { - "17": { - "name": "containsPoint", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "point", - "exclusive" - ], - "range": [ - [ - 173, - 17 - ], - [ - 187, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this range contains the given\npoint.\n\n* point: A {Point} or point-compatible {Array}\n* exclusive:\n A boolean value including that the containment should be exclusive of\n endpoints. Defaults to false. " - } - }, - "187": { - "17": { - "name": "intersectsRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 187, - 17 - ], - [ - 192, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this range intersects the\ngiven row {Number}. " - } - }, - "192": { - "22": { - "name": "intersectsRowRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 192, - 22 - ], - [ - 197, - 1 - ] - ], - "doc": " Public: Returns a {Boolean} indicating whether this range intersects the\nrow range indicated by the given startRow and endRow {Number}s. " - } - }, - "197": { - "9": { - "name": "union", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "otherRange" - ], - "range": [ - [ - 197, - 9 - ], - [ - 205, - 1 - ] - ], - "doc": "Public: Returns a new range that contains this range and the given range. " - } - }, - "205": { - "11": { - "name": "isEmpty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 205, - 11 - ], - [ - 208, - 1 - ] - ], - "doc": " Public: Is the start position of this range equal to the end position?\n\nReturns a {Boolean}. " - } - }, - "208": { - "11": { - "name": "toDelta", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 208, - 11 - ], - [ - 219, - 1 - ] - ], - "doc": "~Private~" - } - }, - "219": { - "15": { - "name": "getRowCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 219, - 15 - ], - [ - 223, - 1 - ] - ], - "doc": " Public: Get the number of rows in this range.\n\nReturns a {Number}. " - } - }, - "223": { - "11": { - "name": "getRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 223, - 11 - ], - [ - 227, - 1 - ] - ], - "doc": "Public: Returns an array of all rows in the range. " - } - }, - "227": { - "12": { - "name": "toString", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 227, - 12 - ], - [ - 228, - 27 - ] - ], - "doc": "Public: Returns a string representation of the range. " - } - } - }, - "exports": 16 - }, - "src/text-buffer.coffee": { - "objects": { - "0": { - "4": { - "name": "_", - "type": "import", - "range": [ - [ - 0, - 4 - ], - [ - 0, - 28 - ] - ], - "bindingType": "variable", - "module": "underscore-plus@1.x" - } - }, - "1": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 1, - 12 - ], - [ - 1, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@1.x" - } - }, - "2": { - "7": { - "name": "Grim", - "type": "import", - "range": [ - [ - 2, - 7 - ], - [ - 2, - 20 - ] - ], - "bindingType": "variable", - "module": "grim@0.11.0" - } - }, - "3": { - "15": { - "name": "Serializable", - "type": "import", - "range": [ - [ - 3, - 15 - ], - [ - 3, - 36 - ] - ], - "bindingType": "variable", - "module": "serializable@1.x" - } - }, - "4": { - "1": { - "type": "import", - "range": [ - [ - 4, - 1 - ], - [ - 4, - 7 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - }, - "10": { - "type": "import", - "range": [ - [ - 4, - 10 - ], - [ - 4, - 19 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - } - }, - "5": { - "1": { - "type": "import", - "range": [ - [ - 5, - 1 - ], - [ - 5, - 4 - ] - ], - "bindingType": "variable", - "module": "pathwatcher@^2.0.2", - "name": "File", - "exportsProperty": "File" - } - }, - "6": { - "15": { - "name": "SpanSkipList", - "type": "import", - "range": [ - [ - 6, - 15 - ], - [ - 6, - 38 - ] - ], - "bindingType": "variable", - "module": "span-skip-list@~0.1.1" - } - }, - "7": { - "7": { - "name": "diff", - "type": "import", - "range": [ - [ - 7, - 7 - ], - [ - 7, - 20 - ] - ], - "bindingType": "variable", - "module": "diff@git://github.com/benogle/jsdiff.git" - } - }, - "8": { - "4": { - "name": "Q", - "type": "import", - "range": [ - [ - 8, - 4 - ], - [ - 8, - 14 - ] - ], - "bindingType": "variable", - "module": "q@~1.0.1" - } - }, - "9": { - "8": { - "name": "Point", - "type": "import", - "range": [ - [ - 9, - 8 - ], - [ - 9, - 24 - ] - ], - "bindingType": "variable", - "path": "./point" - } - }, - "10": { - "8": { - "name": "Range", - "type": "import", - "range": [ - [ - 10, - 8 - ], - [ - 10, - 24 - ] - ], - "bindingType": "variable", - "path": "./range" - } - }, - "11": { - "10": { - "name": "History", - "type": "import", - "range": [ - [ - 11, - 10 - ], - [ - 11, - 28 - ] - ], - "bindingType": "variable", - "path": "./history" - } - }, - "12": { - "16": { - "name": "MarkerManager", - "type": "import", - "range": [ - [ - 12, - 16 - ], - [ - 12, - 41 - ] - ], - "bindingType": "variable", - "path": "./marker-manager" - } - }, - "13": { - "14": { - "name": "BufferPatch", - "type": "import", - "range": [ - [ - 13, - 14 - ], - [ - 13, - 37 - ] - ], - "bindingType": "variable", - "path": "./buffer-patch" - } - }, - "14": { - "1": { - "type": "import", - "range": [ - [ - 14, - 1 - ], - [ - 14, - 11 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "spliceArray", - "exportsProperty": "spliceArray" - }, - "14": { - "type": "import", - "range": [ - [ - 14, - 14 - ], - [ - 14, - 25 - ] - ], - "bindingType": "variable", - "path": "./helpers", - "name": "newlineRegex", - "exportsProperty": "newlineRegex" - } - }, - "68": { - "0": { - "type": "class", - "name": "TextBuffer", - "bindingType": "exports", - "classProperties": [ - [ - 69, - 10 - ], - [ - 70, - 10 - ], - [ - 71, - 17 - ] - ], - "prototypeProperties": [ - [ - 78, - 14 - ], - [ - 79, - 24 - ], - [ - 80, - 26 - ], - [ - 81, - 22 - ], - [ - 82, - 12 - ], - [ - 83, - 8 - ], - [ - 84, - 12 - ], - [ - 92, - 15 - ], - [ - 112, - 21 - ], - [ - 119, - 19 - ], - [ - 130, - 11 - ], - [ - 142, - 12 - ], - [ - 148, - 11 - ], - [ - 154, - 16 - ], - [ - 160, - 14 - ], - [ - 168, - 14 - ], - [ - 175, - 15 - ], - [ - 187, - 20 - ], - [ - 196, - 20 - ], - [ - 204, - 11 - ], - [ - 211, - 18 - ], - [ - 260, - 18 - ], - [ - 273, - 10 - ], - [ - 281, - 10 - ], - [ - 289, - 10 - ], - [ - 297, - 13 - ], - [ - 309, - 14 - ], - [ - 337, - 14 - ], - [ - 347, - 14 - ], - [ - 406, - 18 - ], - [ - 436, - 13 - ], - [ - 454, - 16 - ], - [ - 471, - 20 - ], - [ - 478, - 18 - ], - [ - 485, - 12 - ], - [ - 496, - 15 - ], - [ - 515, - 29 - ], - [ - 532, - 29 - ], - [ - 545, - 24 - ], - [ - 548, - 12 - ], - [ - 552, - 8 - ], - [ - 555, - 17 - ], - [ - 565, - 20 - ], - [ - 569, - 11 - ], - [ - 577, - 11 - ], - [ - 579, - 15 - ], - [ - 581, - 14 - ], - [ - 583, - 10 - ], - [ - 587, - 11 - ], - [ - 592, - 19 - ], - [ - 624, - 22 - ], - [ - 629, - 10 - ], - [ - 636, - 32 - ], - [ - 640, - 28 - ], - [ - 650, - 15 - ], - [ - 656, - 11 - ], - [ - 662, - 10 - ], - [ - 668, - 11 - ], - [ - 682, - 18 - ], - [ - 687, - 8 - ], - [ - 693, - 10 - ], - [ - 710, - 14 - ], - [ - 724, - 16 - ], - [ - 726, - 17 - ], - [ - 736, - 27 - ], - [ - 774, - 8 - ], - [ - 792, - 17 - ], - [ - 804, - 11 - ], - [ - 830, - 15 - ], - [ - 881, - 24 - ], - [ - 889, - 14 - ], - [ - 897, - 23 - ], - [ - 910, - 19 - ], - [ - 918, - 16 - ], - [ - 926, - 10 - ], - [ - 930, - 32 - ], - [ - 933, - 26 - ], - [ - 942, - 29 - ], - [ - 947, - 12 - ], - [ - 956, - 8 - ], - [ - 959, - 8 - ], - [ - 969, - 12 - ], - [ - 977, - 20 - ], - [ - 983, - 21 - ], - [ - 987, - 20 - ], - [ - 990, - 18 - ], - [ - 1029, - 13 - ], - [ - 1037, - 16 - ], - [ - 1042, - 13 - ], - [ - 1047, - 14 - ], - [ - 1069, - 15 - ], - [ - 1074, - 18 - ] - ], - "doc": " Public: A mutable text container with undo/redo support and the ability to\nannotate logical regions in the text.\n\n## Events\n\n* `changed` -\n Emitted synchronously whenever the buffer changes. Binding a slow handler\n to this event has the potential to destroy typing performance. Consider\n using `contents-modified` instead and aim for extremely fast performance\n (< 2 ms) if you must bind to it. Your handler will be called with an\n object containing the following keys.\n * `oldRange` - The {Range} of the old text\n * `newRange` - The {Range} of the new text\n * `oldText` - A {String} containing the text that was replaced\n * `newText` - A {String} containing the text that was inserted\n\n* `markers-updated` -\n Emitted synchronously when the `changed` events of all markers have been\n fired for a change. The order of events is as follows:\n * The text of the buffer is changed\n * All markers are updated accordingly, but their `changed` events are not\n emited\n * The `changed` event is emitted\n * The `changed` events of all updated markers are emitted\n * The `markers-updated` event is emitted.\n\n* `contents-modified` -\n Emitted asynchronously 300ms (or `TextBuffer::stoppedChangingDelay`)\n after the last buffer change. This is a good place to handle changes to\n the buffer without compromising typing performance.\n\n* `modified-status-changed` -\n Emitted with a {Boolean} when the result of {::isModified} changes.\n\n* `contents-conflicted` -\n Emitted when the buffer's underlying file changes on disk at a moment\n when the result of {::isModified} is true.\n\n* `will-reload` -\n Emitted before the in-memory contents of the buffer are refreshed from\n the contents of the file on disk.\n\n* `reloaded` -\n Emitted after the in-memory contents of the buffer are refreshed from\n the contents of the file on disk.\n\n* `will-be-saved` - Emitted before the buffer is saved to disk.\n\n* `saved` - Emitted after the buffer is saved to disk.\n\n* `destroyed` - Emitted when the buffer is destroyed. ", - "range": [ - [ - 68, - 0 - ], - [ - 1074, - 46 - ] - ] - } - }, - "69": { - "10": { - "name": "Point", - "type": "primitive", - "range": [ - [ - 69, - 10 - ], - [ - 69, - 14 - ] - ], - "bindingType": "classProperty", - "reference": { - "position": [ - 9, - 8 - ] - } - } - }, - "70": { - "10": { - "name": "Range", - "type": "primitive", - "range": [ - [ - 70, - 10 - ], - [ - 70, - 14 - ] - ], - "bindingType": "classProperty", - "reference": { - "position": [ - 10, - 8 - ] - } - } - }, - "71": { - "17": { - "name": "newlineRegex", - "type": "primitive", - "range": [ - [ - 71, - 17 - ], - [ - 71, - 28 - ] - ], - "bindingType": "classProperty", - "reference": { - "position": [ - 14, - 14 - ] - } - } - }, - "78": { - "14": { - "name": "cachedText", - "type": "primitive", - "range": [ - [ - 78, - 14 - ], - [ - 78, - 17 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "79": { - "24": { - "name": "stoppedChangingDelay", - "type": "primitive", - "range": [ - [ - 79, - 24 - ], - [ - 79, - 26 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "80": { - "26": { - "name": "stoppedChangingTimeout", - "type": "primitive", - "range": [ - [ - 80, - 26 - ], - [ - 80, - 29 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "81": { - "22": { - "name": "cachedDiskContents", - "type": "primitive", - "range": [ - [ - 81, - 22 - ], - [ - 81, - 25 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "82": { - "12": { - "name": "conflict", - "type": "primitive", - "range": [ - [ - 82, - 12 - ], - [ - 82, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "83": { - "8": { - "name": "file", - "type": "primitive", - "range": [ - [ - 83, - 8 - ], - [ - 83, - 11 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "84": { - "12": { - "name": "refcount", - "type": "primitive", - "range": [ - [ - 84, - 12 - ], - [ - 84, - 12 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "92": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 92, - 15 - ], - [ - 112, - 1 - ] - ], - "doc": " Public: Create a new buffer with the given params.\n\nparams - A {String} of text or an {Object} with the following keys:\n :load - A {Boolean}, `true` to asynchronously load the buffer from disk\n after initialization.\n :text - The initial {String} text of the buffer. " - } - }, - "112": { - "21": { - "name": "deserializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 112, - 21 - ], - [ - 119, - 1 - ] - ], - "doc": "Private: Called by {Serializable} mixin during deserialization. " - } - }, - "119": { - "19": { - "name": "serializeParams", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 119, - 19 - ], - [ - 130, - 1 - ] - ], - "doc": "Private: Called by {Serializable} mixin during serialization. " - } - }, - "130": { - "11": { - "name": "getText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 130, - 11 - ], - [ - 142, - 1 - ] - ], - "doc": " Public: Get the entire text of the buffer.\n\nReturns a {String}. " - } - }, - "142": { - "12": { - "name": "getLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 142, - 12 - ], - [ - 148, - 1 - ] - ], - "doc": " Public: Get the text of all lines in the buffer, without their line endings.\n\nReturns an {Array} of {String}s. " - } - }, - "148": { - "11": { - "name": "isEmpty", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 148, - 11 - ], - [ - 154, - 1 - ] - ], - "doc": " Public: Determine whether the buffer is empty.\n\nReturns a {Boolean}. " - } - }, - "154": { - "16": { - "name": "getLineCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 154, - 16 - ], - [ - 160, - 1 - ] - ], - "doc": " Public: Get the number of lines in the buffer.\n\nReturns a {Number}. " - } - }, - "160": { - "14": { - "name": "getLastRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 160, - 14 - ], - [ - 168, - 1 - ] - ], - "doc": " Public: Get the last 0-indexed row in the buffer.\n\nReturns a {Number}. " - } - }, - "168": { - "14": { - "name": "lineForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 168, - 14 - ], - [ - 175, - 1 - ] - ], - "doc": " Public: Get the text of the line at the given row, without its line ending.\n\nrow - A {Number} representing a 0-indexed row.\n\nReturns a {String}. " - } - }, - "175": { - "15": { - "name": "getLastLine", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 175, - 15 - ], - [ - 187, - 1 - ] - ], - "doc": " Public: Get the text of the last line of the buffer, without its line\nending.\n\nReturns a {String}. " - } - }, - "187": { - "20": { - "name": "lineEndingForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 187, - 20 - ], - [ - 196, - 1 - ] - ], - "doc": " Public: Get the line ending for the given 0-indexed row.\n\nrow - A {Number} indicating the row.\n\nThe returned newline is represented as a literal string: `'\\n'`, `'\\r'`,\n`'\\r\\n'`, or `''` for the last line of the buffer, which doesn't end in a\nnewline.\n\nReturns a {String}. " - } - }, - "196": { - "20": { - "name": "lineLengthForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 196, - 20 - ], - [ - 204, - 1 - ] - ], - "doc": " Public: Get the length of the line for the given 0-indexed row, without its\nline ending.\n\nrow - A {Number} indicating the row.\n\nReturns a {Number}. " - } - }, - "204": { - "11": { - "name": "setText", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 204, - 11 - ], - [ - 211, - 1 - ] - ], - "doc": " Public: Replace the entire contents of the buffer with the given text.\n\ntext - A {String}\n\nReturns a {Range} spanning the new buffer contents. " - } - }, - "211": { - "18": { - "name": "setTextViaDiff", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text" - ], - "range": [ - [ - 211, - 18 - ], - [ - 260, - 1 - ] - ], - "doc": " Public: Replace the current buffer contents by applying a diff based on the\ngiven text.\n\ntext - A {String} containing the new buffer contents. " - } - }, - "260": { - "18": { - "name": "setTextInRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range", - "text", - "normalizeLineEndings" - ], - "range": [ - [ - 260, - 18 - ], - [ - 273, - 1 - ] - ], - "doc": " Public: Set the text in the given range.\n\nrange - A {Range}.\ntext - A {String}.\n\nReturns the {Range} of the inserted text. " - } - }, - "273": { - "10": { - "name": "insert", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "text", - "normalizeLineEndings" - ], - "range": [ - [ - 273, - 10 - ], - [ - 281, - 1 - ] - ], - "doc": " Public: Insert text at the given position.\n\nposition - A {Point} representing the insertion location. The position is\n clipped before insertion.\ntext - A {String} representing the text to insert.\n\nReturns the {Range} of the inserted text. " - } - }, - "281": { - "10": { - "name": "append", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "text", - "normalizeLineEndings" - ], - "range": [ - [ - 281, - 10 - ], - [ - 289, - 1 - ] - ], - "doc": " Public: Append text to the end of the buffer.\n\ntext - A {String} representing the text text to append.\n\nReturns the {Range} of the inserted text " - } - }, - "289": { - "10": { - "name": "delete", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 289, - 10 - ], - [ - 297, - 1 - ] - ] - } - }, - "297": { - "13": { - "name": "deleteRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 297, - 13 - ], - [ - 309, - 1 - ] - ], - "doc": " Public: Delete the line associated with a specified row.\n\nrow - A {Number} representing the 0-indexed row to delete.\n\nReturns the {Range} of the deleted text. " - } - }, - "309": { - "14": { - "name": "deleteRows", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow", - "endRow" - ], - "range": [ - [ - 309, - 14 - ], - [ - 337, - 1 - ] - ], - "doc": " Public: Delete the lines associated with the specified row range.\n\nstartRow - A {Number} representing the first row to delete.\nendRow - A {Number} representing the last row to delete, inclusive.\n\nIf the row range is out of bounds, it will be clipped. If the startRow is\ngreater than the end row, they will be reordered.\n\nReturns the {Range} of the deleted text. " - } - }, - "337": { - "14": { - "name": "buildPatch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "oldRange", - "newText", - "normalizeLineEndings" - ], - "range": [ - [ - 337, - 14 - ], - [ - 347, - 1 - ] - ], - "doc": " Private: Builds a {BufferPatch}, which is used to modify the buffer and is also\npushed into the undo history so it can be undone. " - } - }, - "347": { - "14": { - "name": "applyPatch", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - null - ], - "range": [ - [ - 347, - 14 - ], - [ - 406, - 1 - ] - ], - "doc": " Private: Applies a {BufferPatch} to the buffer based on its old range and new text.\nAlso applies any {MarkerPatch}es associated with the {BufferPatch}. " - } - }, - "406": { - "18": { - "name": "getTextInRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 406, - 18 - ], - [ - 436, - 1 - ] - ], - "doc": " Public: Get the text in a range.\n\nrange - A {Range}\n\nReturns a {String} " - } - }, - "436": { - "13": { - "name": "clipRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range" - ], - "range": [ - [ - 436, - 13 - ], - [ - 454, - 1 - ] - ], - "doc": " Public: Clip the given range so it starts and ends at valid positions.\n\nFor example, the position [1, 100] is out of bounds if the line at row 1 is\nonly 10 characters long, and it would be clipped to (1, 10).\n\nrange - A {Range} or range-compatible {Array} to clip.\n\nReturns the given {Range} if it is already in bounds, or a new clipped\n{Range} if the given range is out-of-bounds. " - } - }, - "454": { - "16": { - "name": "clipPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 454, - 16 - ], - [ - 471, - 1 - ] - ], - "doc": " Public: Clip the given point so it is at a valid position in the buffer.\n\nFor example, the position (1, 100) is out of bounds if the line at row 1 is\nonly 10 characters long, and it would be clipped to (1, 10)\n\nposition - A {Point} or point-compatible {Array}.\n\nReturns a new {Point} if the given position is invalid, otherwise returns\nthe given position. " - } - }, - "471": { - "20": { - "name": "getFirstPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 471, - 20 - ], - [ - 478, - 1 - ] - ], - "doc": " Public: Get the first position in the buffer, which is always `[0, 0]`.\n\nReturns a {Point}. " - } - }, - "478": { - "18": { - "name": "getEndPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 478, - 18 - ], - [ - 485, - 1 - ] - ], - "doc": " Public: Get the maximal position in the buffer, where new text would be\nappended.\n\nReturns a {Point}. " - } - }, - "485": { - "12": { - "name": "getRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 485, - 12 - ], - [ - 496, - 1 - ] - ], - "doc": " Public: Get the range spanning from `[0, 0]` to {::getEndPosition}.\n\nReturns a {Range}. " - } - }, - "496": { - "15": { - "name": "rangeForRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row", - "includeNewline" - ], - "range": [ - [ - 496, - 15 - ], - [ - 515, - 1 - ] - ], - "doc": " Public: Get the range for the given row\n\nrow - A {Number} representing a 0-indexed row.\nincludeNewline - A {Boolean} indicating whether or not to include the\n newline, which results in a range that extends to the start\n of the next line.\n\nReturns a {Range}. " - } - }, - "515": { - "29": { - "name": "characterIndexForPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position" - ], - "range": [ - [ - 515, - 29 - ], - [ - 532, - 1 - ] - ], - "doc": " Public: Convert a position in the buffer in row/column coordinates to an\nabsolute character offset, inclusive of line ending characters.\n\nThe position is clipped prior to translating.\n\nposition - A {Point}.\n\nReturns a {Number}. " - } - }, - "532": { - "29": { - "name": "positionForCharacterIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "offset" - ], - "range": [ - [ - 532, - 29 - ], - [ - 545, - 1 - ] - ], - "doc": " Public: Convert an absolute character offset, inclusive of newlines, to a\nposition in the buffer in row/column coordinates.\n\nThe offset is clipped prior to translating.\n\noffset - A {Number}.\n\nReturns a {Point}. " - } - }, - "545": { - "24": { - "name": "getMaxCharacterIndex", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 545, - 24 - ], - [ - 548, - 1 - ] - ], - "doc": " Public: Get the length of the buffer in characters.\n\nReturns a {Number}. " - } - }, - "548": { - "12": { - "name": "loadSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 548, - 12 - ], - [ - 552, - 1 - ] - ], - "doc": "~Private~" - } - }, - "552": { - "8": { - "name": "load", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 552, - 8 - ], - [ - 555, - 1 - ] - ], - "doc": "~Private~" - } - }, - "555": { - "17": { - "name": "finishLoading", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 555, - 17 - ], - [ - 565, - 1 - ] - ], - "doc": "~Private~" - } - }, - "565": { - "20": { - "name": "handleTextChange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "event" - ], - "range": [ - [ - 565, - 20 - ], - [ - 569, - 1 - ] - ], - "doc": "~Private~" - } - }, - "569": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 569, - 11 - ], - [ - 577, - 1 - ] - ], - "doc": "~Private~" - } - }, - "577": { - "11": { - "name": "isAlive", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 577, - 11 - ], - [ - 577, - 27 - ] - ], - "doc": "~Private~" - } - }, - "579": { - "15": { - "name": "isDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 579, - 15 - ], - [ - 579, - 27 - ] - ], - "doc": "~Private~" - } - }, - "581": { - "14": { - "name": "isRetained", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 581, - 14 - ], - [ - 581, - 29 - ] - ], - "doc": "~Private~" - } - }, - "583": { - "10": { - "name": "retain", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 583, - 10 - ], - [ - 587, - 1 - ] - ], - "doc": "~Private~" - } - }, - "587": { - "11": { - "name": "release", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 587, - 11 - ], - [ - 592, - 1 - ] - ], - "doc": "~Private~" - } - }, - "592": { - "19": { - "name": "subscribeToFile", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 592, - 19 - ], - [ - 624, - 1 - ] - ], - "doc": "~Private~" - } - }, - "624": { - "22": { - "name": "hasMultipleEditors", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 624, - 22 - ], - [ - 624, - 37 - ] - ], - "doc": " Private: Identifies if the buffer belongs to multiple editors.\n\nFor example, if the {EditorView} was split.\n\nReturns a {Boolean}. " - } - }, - "629": { - "10": { - "name": "reload", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 629, - 10 - ], - [ - 636, - 1 - ] - ], - "doc": " Public: Reload the buffer's contents from disk.\n\nSets the buffer's content to the cached disk contents " - } - }, - "636": { - "32": { - "name": "updateCachedDiskContentsSync", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 636, - 32 - ], - [ - 640, - 1 - ] - ], - "doc": "Private: Rereads the contents of the file, and stores them in the cache. " - } - }, - "640": { - "28": { - "name": "updateCachedDiskContents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 640, - 28 - ], - [ - 650, - 1 - ] - ], - "doc": "Private: Rereads the contents of the file, and stores them in the cache. " - } - }, - "650": { - "15": { - "name": "getBaseName", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 650, - 15 - ], - [ - 656, - 1 - ] - ], - "doc": " Private: Get the basename of the associated file.\n\nThe basename is the name portion of the file's path, without the containing\ndirectories.\n\nReturns a {String}. " - } - }, - "656": { - "11": { - "name": "getPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 656, - 11 - ], - [ - 662, - 1 - ] - ], - "doc": " Pubilc: Get the path of the associated file.\n\nReturns a {String}. " - } - }, - "662": { - "10": { - "name": "getUri", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 662, - 10 - ], - [ - 668, - 1 - ] - ], - "doc": " Public: Get the path of the associated file.\n\nReturns a {String}. " - } - }, - "668": { - "11": { - "name": "setPath", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 668, - 11 - ], - [ - 682, - 1 - ] - ], - "doc": " Public: Set the path for the buffer's associated file.\n\nfilePath - A {String} representing the new file path " - } - }, - "682": { - "18": { - "name": "getEofPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 682, - 18 - ], - [ - 687, - 1 - ] - ], - "doc": "Deprecated: Use {::getEndPosition} instead " - } - }, - "687": { - "8": { - "name": "save", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 687, - 8 - ], - [ - 693, - 1 - ] - ], - "doc": "Public: Save the buffer. " - } - }, - "693": { - "10": { - "name": "saveAs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "filePath" - ], - "range": [ - [ - 693, - 10 - ], - [ - 710, - 1 - ] - ], - "doc": " Public: Save the buffer at a specific path.\n\nfilePath - The path to save at. " - } - }, - "710": { - "14": { - "name": "isModified", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 710, - 14 - ], - [ - 724, - 1 - ] - ], - "doc": " Public: Determine if the in-memory contents of the buffer differ from its\ncontents on disk.\n\nIf the buffer is unsaved, always returns `true` unless the buffer is empty.\n\nReturns a {Boolean}. " - } - }, - "724": { - "16": { - "name": "isInConflict", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 724, - 16 - ], - [ - 724, - 27 - ] - ], - "doc": " Public: Determine if the in-memory contents of the buffer conflict with the\non-disk contents of its associated file.\n\nReturns a {Boolean}. " - } - }, - "726": { - "17": { - "name": "destroyMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 726, - 17 - ], - [ - 736, - 1 - ] - ], - "doc": "~Private~" - } - }, - "736": { - "27": { - "name": "matchesInCharacterRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "startIndex", - "endIndex" - ], - "range": [ - [ - 736, - 27 - ], - [ - 774, - 1 - ] - ], - "doc": " Private: Identifies if a character sequence is within a certain range.\n\nregex - The {RegExp} to match.\nstartIndex - A {Number} representing the starting character offset.\nendIndex - A {Number} representing the ending character offset.\n\nReturns an {Array} of matches for the given regex. " - } - }, - "774": { - "8": { - "name": "scan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "iterator" - ], - "range": [ - [ - 774, - 8 - ], - [ - 792, - 1 - ] - ], - "doc": " Public: Scan regular expression matches in the entire buffer, calling the\ngiven iterator function on each match.\n\nIf you're programmatically modifying the results, you may want to try\n{::backwardsScan} to avoid tripping over your own changes.\n\nregex - A {RegExp} to search for.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " - } - }, - "792": { - "17": { - "name": "backwardsScan", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "iterator" - ], - "range": [ - [ - 792, - 17 - ], - [ - 804, - 1 - ] - ], - "doc": " Public: Scan regular expression matches in the entire buffer in reverse\norder, calling the given iterator function on each match.\n\nregex - A {RegExp} to search for.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " - } - }, - "804": { - "11": { - "name": "replace", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "replacementText" - ], - "range": [ - [ - 804, - 11 - ], - [ - 830, - 1 - ] - ], - "doc": " Public: Replace all regular expression matches in the entire buffer.\n\nregex - A {RegExp} representing the matches to be replaced.\nreplacementText - A {String} representing the text to replace each match.\n\nReturns a {Number} representing the number of replacements made. " - } - }, - "830": { - "15": { - "name": "scanInRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "range", - "iterator", - "reverse" - ], - "range": [ - [ - 830, - 15 - ], - [ - 881, - 1 - ] - ], - "doc": " Public: Scan regular expression matches in a given range , calling the given\niterator function on each match.\n\nregex - A {RegExp} to search for.\nrange - A {Range} in which to search.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " - } - }, - "881": { - "24": { - "name": "backwardsScanInRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "regex", - "range", - "iterator" - ], - "range": [ - [ - 881, - 24 - ], - [ - 889, - 1 - ] - ], - "doc": " Public: Scan regular expression matches in a given range in reverse order,\ncalling the given iterator function on each match.\n\nregex - A {RegExp} to search for.\nrange - A {Range} in which to search.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " - } - }, - "889": { - "14": { - "name": "isRowBlank", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "row" - ], - "range": [ - [ - 889, - 14 - ], - [ - 897, - 1 - ] - ], - "doc": " Public: Determine if the given row contains only whitespace.\n\nrow - A {Number} representing a 0-indexed row.\n\nReturns a {Boolean}. " - } - }, - "897": { - "23": { - "name": "previousNonBlankRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow" - ], - "range": [ - [ - 897, - 23 - ], - [ - 910, - 1 - ] - ], - "doc": " Public: Given a row, find the first preceding row that's not blank.\n\nstartRow - A {Number} identifying the row to start checking at.\n\nReturns a {Number} or `null` if there's no preceding non-blank row. " - } - }, - "910": { - "19": { - "name": "nextNonBlankRow", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "startRow" - ], - "range": [ - [ - 910, - 19 - ], - [ - 918, - 1 - ] - ], - "doc": " Public: Given a row, find the next row that's not blank.\n\nstartRow - A {Number} identifying the row to start checking at.\n\nReturns a {Number} or `null` if there's no next non-blank row. " - } - }, - "918": { - "16": { - "name": "usesSoftTabs", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 918, - 16 - ], - [ - 926, - 1 - ] - ], - "doc": "Private: Deprecate " - } - }, - "926": { - "10": { - "name": "change", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "oldRange", - "newText", - "options" - ], - "range": [ - [ - 926, - 10 - ], - [ - 930, - 1 - ] - ], - "doc": "Deprecated: Call {::setTextInRange} instead. " - } - }, - "930": { - "32": { - "name": "cancelStoppedChangingTimeout", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 930, - 32 - ], - [ - 933, - 1 - ] - ], - "doc": "~Private~" - } - }, - "933": { - "26": { - "name": "scheduleModifiedEvents", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 933, - 26 - ], - [ - 942, - 1 - ] - ], - "doc": "~Private~" - } - }, - "942": { - "29": { - "name": "emitModifiedStatusChanged", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "modifiedStatus" - ], - "range": [ - [ - 942, - 29 - ], - [ - 947, - 1 - ] - ], - "doc": "~Private~" - } - }, - "947": { - "12": { - "name": "logLines", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "start", - "end" - ], - "range": [ - [ - 947, - 12 - ], - [ - 952, - 1 - ] - ], - "doc": "~Private~" - } - }, - "956": { - "8": { - "name": "undo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 956, - 8 - ], - [ - 956, - 25 - ] - ], - "doc": "Public: Undo the last operation. If a transaction is in progress, aborts it. " - } - }, - "959": { - "8": { - "name": "redo", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 959, - 8 - ], - [ - 959, - 25 - ] - ], - "doc": "Public: Redo the last operation " - } - }, - "969": { - "12": { - "name": "transact", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "fn" - ], - "range": [ - [ - 969, - 12 - ], - [ - 969, - 40 - ] - ], - "doc": " Public: Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " - } - }, - "977": { - "20": { - "name": "beginTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 977, - 20 - ], - [ - 977, - 49 - ] - ], - "doc": " Public: Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " - } - }, - "983": { - "21": { - "name": "commitTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 983, - 21 - ], - [ - 983, - 51 - ] - ], - "doc": " Public: Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " - } - }, - "987": { - "20": { - "name": "abortTransaction", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 987, - 20 - ], - [ - 987, - 49 - ] - ], - "doc": " Public: Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " - } - }, - "990": { - "18": { - "name": "clearUndoStack", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 990, - 18 - ], - [ - 990, - 45 - ] - ], - "doc": "Public: Clear the undo stack. " - } - }, - "1029": { - "13": { - "name": "markRange", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "range", - "properties" - ], - "range": [ - [ - 1029, - 13 - ], - [ - 1029, - 72 - ] - ], - "doc": " Public: Create a marker with the given range. This marker will maintain\nits logical location as the buffer is changed, so if you mark a particular\nword, the marker will remain over that word even if the word's location in\nthe buffer changes.\n\n* range: A {Range} or range-compatible {Array}\n* properties:\n A hash of key-value pairs to associate with the marker. There are also\n reserved property names that have marker-specific meaning:\n :reversed -\n Creates the marker in a reversed orientation. Defaults to false.\n :persistent -\n Whether to include this marker when serializing the buffer. Defaults\n to true.\n :invalidate -\n Determines the rules by which changes to the buffer *invalidate* the\n marker. Defaults to 'overlap', but can be any of the following\n strategies, in order of fragility:\n * 'never':\n The marker is never marked as invalid. This is a good choice for\n markers representing selections in an editor.\n * 'surround':\n The marker is invalidated by changes that completely surround it.\n * 'overlap':\n The marker is invalidated by changes that surround the start or\n end of the marker. This is the default.\n * 'inside':\n The marker is invalidated by changes that extend into the\n inside of the marker. Changes that end at the marker's start or\n start at the marker's end do not invalidate the marker.\n * 'touch':\n The marker is invalidated by a change that touches the marked\n region in any way, including changes that end at the marker's\n start or start at the marker's end. This is the most fragile\n strategy.\n\nReturns a {Marker}. " - } - }, - "1037": { - "16": { - "name": "markPosition", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "position", - "properties" - ], - "range": [ - [ - 1037, - 16 - ], - [ - 1037, - 84 - ] - ], - "doc": " Public: Create a marker at the given position with no tail.\n\n:position - {Point} or point-compatible {Array}\n:properties - This is the same as the `properties` parameter in {::markRange}\n\nReturns a {Marker}. " - } - }, - "1042": { - "13": { - "name": "getMarker", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 1042, - 13 - ], - [ - 1042, - 42 - ] - ], - "doc": " Public: Get an existing marker by its id.\n\nReturns a {Marker}. " - } - }, - "1047": { - "14": { - "name": "getMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1047, - 14 - ], - [ - 1047, - 37 - ] - ], - "doc": " Public: Get all existing markers on the buffer.\n\nReturns an {Array} of {Marker}s. " - } - }, - "1069": { - "15": { - "name": "findMarkers", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 1069, - 15 - ], - [ - 1069, - 54 - ] - ], - "doc": " Public: Find markers conforming to the given parameters.\n\n:params -\n A hash of key-value pairs constraining the set of returned markers. You\n can query against custom marker properties by listing the desired\n key-value pairs here. In addition, the following keys are reserved and\n have special semantics:\n * 'startPosition': Only include markers that start at the given {Point}.\n * 'endPosition': Only include markers that end at the given {Point}.\n * 'containsPoint': Only include markers that contain the given {Point}, inclusive.\n * 'containsRange': Only include markers that contain the given {Range}, inclusive.\n * 'startRow': Only include markers that start at the given row {Number}.\n * 'endRow': Only include markers that end at the given row {Number}.\n * 'intersectsRow': Only include markers that intersect the given row {Number}.\n\nFinds markers that conform to all of the given parameters. Markers are\nsorted based on their position in the buffer. If two markers start at the\nsame position, the larger marker comes first.\n\nReturns an {Array} of {Marker}s. " - } - }, - "1074": { - "18": { - "name": "getMarkerCount", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 1074, - 18 - ], - [ - 1074, - 45 - ] - ], - "doc": " Public: Get the number of markers in the buffer.\n\nReturns a {Number}. " - } - } - }, - "exports": 68 - } - } - }, - { - "repository": "https://github.com/atom/theorist.git", - "version": "1.0.1", - "files": { - "src/model.coffee": { - "objects": { - "0": { - "1": { - "type": "import", - "range": [ - [ - 0, - 1 - ], - [ - 0, - 8 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Behavior", - "exportsProperty": "Behavior" - }, - "11": { - "type": "import", - "range": [ - [ - 0, - 11 - ], - [ - 0, - 20 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Subscriber", - "exportsProperty": "Subscriber" - }, - "23": { - "type": "import", - "range": [ - [ - 0, - 23 - ], - [ - 0, - 29 - ] - ], - "bindingType": "variable", - "module": "emissary@1.x", - "name": "Emitter", - "exportsProperty": "Emitter" - } - }, - "1": { - "20": { - "name": "PropertyAccessors", - "type": "import", - "range": [ - [ - 1, - 20 - ], - [ - 1, - 47 - ] - ], - "bindingType": "variable", - "module": "property-accessors@1.x" - } - }, - "2": { - "12": { - "name": "Delegator", - "type": "import", - "range": [ - [ - 2, - 12 - ], - [ - 2, - 29 - ] - ], - "bindingType": "variable", - "module": "delegato@1.x" - } - }, - "4": { - "17": { - "name": "1", - "type": "primitive", - "range": [ - [ - 4, - 17 - ], - [ - 4, - 17 - ] - ] - } - }, - "7": { - "0": { - "type": "class", - "name": "Model", - "bindingType": "exports", - "classProperties": [ - [ - 13, - 24 - ], - [ - 15, - 15 - ], - [ - 21, - 13 - ], - [ - 32, - 13 - ], - [ - 42, - 24 - ], - [ - 45, - 24 - ], - [ - 48, - 29 - ] - ], - "prototypeProperties": [ - [ - 51, - 26 - ], - [ - 52, - 13 - ], - [ - 53, - 9 - ], - [ - 55, - 15 - ], - [ - 63, - 12 - ], - [ - 66, - 14 - ], - [ - 71, - 7 - ], - [ - 79, - 7 - ], - [ - 97, - 12 - ], - [ - 107, - 8 - ], - [ - 115, - 11 - ], - [ - 123, - 11 - ], - [ - 125, - 15 - ] - ], - "doc": "~Private~", - "range": [ - [ - 7, - 0 - ], - [ - 125, - 32 - ] - ] - } - }, - "13": { - "24": { - "name": "resetNextInstanceId", - "bindingType": "classProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 13, - 24 - ], - [ - 13, - 44 - ] - ], - "doc": "~Private~" - } - }, - "15": { - "15": { - "name": "properties", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "args" - ], - "range": [ - [ - 15, - 15 - ], - [ - 21, - 1 - ] - ], - "doc": "~Private~" - } - }, - "21": { - "13": { - "name": "property", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "name", - "defaultValue" - ], - "range": [ - [ - 21, - 13 - ], - [ - 32, - 1 - ] - ], - "doc": "~Private~" - } - }, - "32": { - "13": { - "name": "behavior", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "name", - "definition" - ], - "range": [ - [ - 32, - 13 - ], - [ - 42, - 1 - ] - ], - "doc": "~Private~" - } - }, - "42": { - "24": { - "name": "hasDeclaredProperty", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 42, - 24 - ], - [ - 45, - 1 - ] - ], - "doc": "~Private~" - } - }, - "45": { - "24": { - "name": "hasDeclaredBehavior", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 45, - 24 - ], - [ - 48, - 1 - ] - ], - "doc": "~Private~" - } - }, - "48": { - "29": { - "name": "evaluateDeclaredBehavior", - "bindingType": "classProperty", - "type": "function", - "paramNames": [ - "name", - "instance" - ], - "range": [ - [ - 48, - 29 - ], - [ - 51, - 1 - ] - ], - "doc": "~Private~" - } - }, - "51": { - "26": { - "name": "declaredPropertyValues", - "type": "primitive", - "range": [ - [ - 51, - 26 - ], - [ - 51, - 29 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "52": { - "13": { - "name": "behaviors", - "type": "primitive", - "range": [ - [ - 52, - 13 - ], - [ - 52, - 16 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "53": { - "9": { - "name": "alive", - "type": "primitive", - "range": [ - [ - 53, - 9 - ], - [ - 53, - 12 - ] - ], - "bindingType": "prototypeProperty" - } - }, - "55": { - "15": { - "name": "constructor", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "params" - ], - "range": [ - [ - 55, - 15 - ], - [ - 63, - 1 - ] - ], - "doc": "~Private~" - } - }, - "63": { - "12": { - "name": "assignId", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "id" - ], - "range": [ - [ - 63, - 12 - ], - [ - 66, - 1 - ] - ], - "doc": "~Private~" - } - }, - "66": { - "14": { - "name": "setDefault", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 66, - 14 - ], - [ - 71, - 1 - ] - ], - "doc": "~Private~" - } - }, - "71": { - "7": { - "name": "get", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "suppressDefault" - ], - "range": [ - [ - 71, - 7 - ], - [ - 79, - 1 - ] - ], - "doc": "~Private~" - } - }, - "79": { - "7": { - "name": "set", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name", - "value" - ], - "range": [ - [ - 79, - 7 - ], - [ - 94, - 1 - ] - ], - "doc": "~Private~" - } - }, - "97": { - "12": { - "name": "behavior", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "name" - ], - "range": [ - [ - 97, - 12 - ], - [ - 107, - 1 - ] - ], - "doc": "~Private~" - } - }, - "107": { - "8": { - "name": "when", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [ - "signal", - "action" - ], - "range": [ - [ - 107, - 8 - ], - [ - 115, - 1 - ] - ], - "doc": "~Private~" - } - }, - "115": { - "11": { - "name": "destroy", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 115, - 11 - ], - [ - 123, - 1 - ] - ], - "doc": "~Private~" - } - }, - "123": { - "11": { - "name": "isAlive", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 123, - 11 - ], - [ - 123, - 19 - ] - ], - "doc": "~Private~" - } - }, - "125": { - "15": { - "name": "isDestroyed", - "bindingType": "prototypeProperty", - "type": "function", - "paramNames": [], - "range": [ - [ - 125, - 15 - ], - [ - 125, - 31 - ] - ], - "doc": "~Private~" - } - } - }, - "exports": 7 - } - } - } -] \ No newline at end of file diff --git a/docs/api/tello.json b/docs/api/tello.json deleted file mode 100644 index 86b8da4fa..000000000 --- a/docs/api/tello.json +++ /dev/null @@ -1,7394 +0,0 @@ -{ - "classes": { - "Atom": { - "name": "Atom", - "superClass": "Model", - "filename": "src/atom.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L36", - "sections": [], - "classMethods": [ - { - "name": "loadOrCreate", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L45", - "visibility": "Public", - "summary": "Load or create the Atom environment in the given mode.", - "description": "Load or create the Atom environment in the given mode.\n\nmode - Pass 'editor' or 'spec' depending on the kind of environment you\n want to build.", - "returnValues": [ - { - "type": null, - "description": "Returns an Atom instance, fully initialized" - } - ] - } - ], - "instanceMethods": [ - { - "name": "initialize", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L124", - "visibility": "Public", - "summary": "Sets up the basic services that should be available in all modes\n(both spec and application). Call after this instance has been assigned to\nthe `atom` global. ", - "description": "Sets up the basic services that should be available in all modes\n(both spec and application). Call after this instance has been assigned to\nthe `atom` global. " - }, - { - "name": "getWindowDimensions", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L195", - "visibility": "Public", - "summary": "Get the dimensions of this window.", - "description": "Get the dimensions of this window.", - "returnValues": [ - { - "type": null, - "description": "Returns an object with x, y, width, and height keys." - } - ] - }, - { - "name": "setWindowDimensions", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L212", - "visibility": "Public", - "summary": "Set the dimensions of the window.", - "description": "Set the dimensions of the window.\n\nThe window will be centered if either the x or y coordinate is not set\nin the dimensions parameter. If x or y are omitted the window will be\ncentered. If height or width are omitted only the position will be changed.\n\ndimensions - An {Object} with the following keys:\n :x - The new x coordinate.\n :y - The new y coordinate.\n :width - The new width.\n :height - The new height. " - }, - { - "name": "open", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L354", - "visibility": "Public", - "summary": "Open a new Atom window using the given options.", - "description": "Open a new Atom window using the given options.\n\nCalling this method without an options parameter will open a prompt to pick\na file/folder to open in the new window.\n\noptions - An {Object} with the following keys:\n :pathsToOpen - An {Array} of {String} paths to open. " - }, - { - "name": "confirm", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L378", - "visibility": "Public", - "summary": "Open a confirm dialog.", - "description": "Open a confirm dialog.\n\n## Example\n\n```coffee\n atom.confirm\n message: 'How you feeling?'\n detailedMessage: 'Be honest.'\n buttons:\n Good: -> window.alert('good to hear')\n Bad: -> window.alert('bummer')\n```\n\noptions - An {Object} with the following keys:\n :message - The {String} message to display.\n :detailedMessage - The {String} detailed message to display.\n :buttons - Either an array of strings or an object where keys are\n button names and the values are callbacks to invoke when\n clicked.", - "returnValues": [ - { - "type": "Number", - "description": "Returns the chosen button index {Number} if the buttons option was an array." - } - ] - }, - { - "name": "openDevTools", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L408", - "visibility": "Public", - "summary": "Open the dev tools for the current window. ", - "description": "Open the dev tools for the current window. " - }, - { - "name": "toggleDevTools", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L412", - "visibility": "Public", - "summary": "Toggle the visibility of the dev tools for the current window. ", - "description": "Toggle the visibility of the dev tools for the current window. " - }, - { - "name": "executeJavaScriptInDevTools", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L416", - "visibility": "Public", - "summary": "Execute code in dev tools. ", - "description": "Execute code in dev tools. " - }, - { - "name": "reload", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L420", - "visibility": "Public", - "summary": "Reload the current window. ", - "description": "Reload the current window. " - }, - { - "name": "focus", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L424", - "visibility": "Public", - "summary": "Focus the current window. ", - "description": "Focus the current window. " - }, - { - "name": "show", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L429", - "visibility": "Public", - "summary": "Show the current window. ", - "description": "Show the current window. " - }, - { - "name": "hide", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L433", - "visibility": "Public", - "summary": "Hide the current window. ", - "description": "Hide the current window. " - }, - { - "name": "setSize", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L440", - "visibility": "Public", - "summary": "Set the size of current window.", - "description": "Set the size of current window.\n\nwidth - The {Number} of pixels.\nheight - The {Number} of pixels. " - }, - { - "name": "setPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L447", - "visibility": "Public", - "summary": "Set the position of current window.", - "description": "Set the position of current window.\n\nx - The {Number} of pixels.\ny - The {Number} of pixels. " - }, - { - "name": "center", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L451", - "visibility": "Public", - "summary": "Move current window to the center of the screen. ", - "description": "Move current window to the center of the screen. " - }, - { - "name": "close", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L465", - "visibility": "Public", - "summary": "Close the current window. ", - "description": "Close the current window. " - }, - { - "name": "inDevMode", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L474", - "visibility": "Public", - "summary": "Is the current window in development mode? ", - "description": "Is the current window in development mode? " - }, - { - "name": "inSpecMode", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L478", - "visibility": "Public", - "summary": "Is the current window running specs? ", - "description": "Is the current window running specs? " - }, - { - "name": "toggleFullScreen", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L482", - "visibility": "Public", - "summary": "Toggle the full screen state of the current window. ", - "description": "Toggle the full screen state of the current window. " - }, - { - "name": "setFullScreen", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L486", - "visibility": "Public", - "summary": "Set the full screen state of the current window. ", - "description": "Set the full screen state of the current window. " - }, - { - "name": "isFullScreen", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L491", - "visibility": "Public", - "summary": "Is the current window in full screen mode? ", - "description": "Is the current window in full screen mode? " - }, - { - "name": "getVersion", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L497", - "visibility": "Public", - "summary": "Get the version of the Atom application.", - "description": "Get the version of the Atom application.", - "returnValues": [ - { - "type": "String", - "description": "Returns the version text {String}." - } - ] - }, - { - "name": "isReleasedVersion", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L501", - "visibility": "Public", - "summary": "Determine whether the current version is an official release. ", - "description": "Determine whether the current version is an official release. " - }, - { - "name": "getWindowLoadTime", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L524", - "visibility": "Public", - "summary": "Get the time taken to completely load the current window.", - "description": "Get the time taken to completely load the current window.\n\nThis time include things like loading and activating packages, creating\nDOM elements for the editor, and reading the config.", - "returnValues": [ - { - "type": null, - "description": "Returns the number of milliseconds taken to load the window or null if the window hasn't finished loading yet." - } - ] - }, - { - "name": "beep", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L534", - "visibility": "Public", - "summary": "Visually and audibly trigger a beep. ", - "description": "Visually and audibly trigger a beep. " - }, - { - "name": "requireWithGlobals", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/atom.coffee#L556", - "visibility": "Public", - "summary": "Require the module with the given globals.", - "description": "Require the module with the given globals.\n\nThe globals will be set on the `window` object and removed after the\nrequire completes.\n\nid - The {String} module name or path.\nglobals - An {Object} to set as globals during require (default: {}) " - } - ], - "visibility": "Public", - "summary": "Atom global for dealing with packages, themes, menus, and the window.", - "description": "Atom global for dealing with packages, themes, menus, and the window.\n\nAn instance of this class is always available as the `atom` global.\n\n## Useful properties available:" - }, - "BufferedNodeProcess": { - "name": "BufferedNodeProcess", - "superClass": "BufferedProcess", - "filename": "src/buffered-node-process.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/buffered-node-process.coffee#L15", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "constructor", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/buffered-node-process.coffee#L37", - "visibility": "Public", - "summary": "Runs the given Node script by spawning a new child process.", - "description": "Runs the given Node script by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} path to the JavaScript script to execute.\n :args - The {Array} of arguments to pass to the script (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " - } - ], - "visibility": "Public", - "summary": "Like {BufferedProcess}, but accepts a Node script as the command\nto run.", - "description": "Like {BufferedProcess}, but accepts a Node script as the command\nto run.\n\nThis is necessary on Windows since it doesn't support shebang `#!` lines.\n\n## Requiring in packages\n\n```coffee\n{BufferedNodeProcess} = require 'atom'\n```" - }, - "BufferedProcess": { - "name": "BufferedProcess", - "filename": "src/buffered-process.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/buffered-process.coffee#L19", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "constructor", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/buffered-process.coffee#L41", - "visibility": "Public", - "summary": "Runs the given command by spawning a new child process.", - "description": "Runs the given command by spawning a new child process.\n\noptions - An {Object} with the following keys:\n :command - The {String} command to execute.\n :args - The {Array} of arguments to pass to the command (optional).\n :options - The options {Object} to pass to Node's `ChildProcess.spawn`\n method (optional).\n :stdout - The callback {Function} that receives a single argument which\n contains the standard output from the command. The callback is\n called as data is received but it's buffered to ensure only\n complete lines are passed until the source stream closes. After\n the source stream has closed all remaining data is sent in a\n final call (optional).\n :stderr - The callback {Function} that receives a single argument which\n contains the standard error output from the command. The\n callback is called as data is received but it's buffered to\n ensure only complete lines are passed until the source stream\n closes. After the source stream has closed all remaining data\n is sent in a final call (optional).\n :exit - The callback {Function} which receives a single argument\n containing the exit status (optional). " - }, - { - "name": "kill", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/buffered-process.coffee#L118", - "visibility": "Public", - "summary": "Terminate the process. ", - "description": "Terminate the process. " - } - ], - "visibility": "Public", - "summary": "A wrapper which provides standard error/output line buffering for\nNode's ChildProcess.", - "description": "A wrapper which provides standard error/output line buffering for\nNode's ChildProcess.\n\n## Requiring in packages\n\n```coffee\n{BufferedProcess} = require 'atom'\n\ncommand = 'ps'\nargs = ['-ef']\nstdout = (output) -> console.log(output)\nexit = (code) -> console.log(\"ps -ef exited with #{code}\")\nprocess = new BufferedProcess({command, args, stdout, exit})\n```" - }, - "Clipboard": { - "name": "Clipboard", - "filename": "src/clipboard.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/clipboard.coffee#L8", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "write", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/clipboard.coffee#L27", - "visibility": "Public", - "summary": "Write the given text to the clipboard.", - "description": "Write the given text to the clipboard.\n\nThe metadata associated with the text is available by calling\n{::readWithMetadata}.\n\ntext - The {String} to store.\nmetadata - The additional info to associate with the text. " - }, - { - "name": "read", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/clipboard.coffee#L35", - "visibility": "Public", - "summary": "Read the text from the clipboard.", - "description": "Read the text from the clipboard.", - "returnValues": [ - { - "type": "String", - "description": "Returns a {String}." - } - ] - }, - { - "name": "readWithMetadata", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/clipboard.coffee#L44", - "visibility": "Public", - "summary": "Read the text from the clipboard and return both the text and the\nassociated metadata.", - "description": "Read the text from the clipboard and return both the text and the\nassociated metadata.", - "returnValues": [ - { - "type": "Object", - "description": "Returns an {Object} with the following keys: :text - The {String} clipboard text. :metadata - The metadata stored by an earlier call to {::write}." - } - ] - } - ], - "visibility": "Public", - "summary": "Represents the clipboard used for copying and pasting in Atom.", - "description": "Represents the clipboard used for copying and pasting in Atom.\n\nAn instance of this class is always available as the `atom.clipboard` global. " - }, - "Config": { - "name": "Config", - "filename": "src/config.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L26", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "getUserConfigPath", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L92", - "visibility": "Public", - "summary": "Get the {String} path to the config file being used. ", - "description": "Get the {String} path to the config file being used. " - }, - { - "name": "getSettings", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L96", - "visibility": "Public", - "summary": "Returns a new {Object} containing all of settings and defaults. ", - "description": "Returns a new {Object} containing all of settings and defaults. " - }, - { - "name": "get", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L105", - "visibility": "Public", - "summary": "Retrieves the setting for the given key.", - "description": "Retrieves the setting for the given key.\n\nkeyPath - The {String} name of the key to retrieve.", - "returnValues": [ - { - "type": null, - "description": "Returns the value from Atom's default settings, the user's configuration file, or `null` if the key doesn't exist in either." - } - ] - }, - { - "name": "getInt", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L115", - "visibility": "Public", - "summary": "Retrieves the setting for the given key as an integer.", - "description": "Retrieves the setting for the given key as an integer.\n\nkeyPath - The {String} name of the key to retrieve", - "returnValues": [ - { - "type": null, - "description": "Returns the value from Atom's default settings, the user's configuration file, or `NaN` if the key doesn't exist in either." - } - ] - }, - { - "name": "getPositiveInt", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L126", - "visibility": "Public", - "summary": "Retrieves the setting for the given key as a positive integer.", - "description": "Retrieves the setting for the given key as a positive integer.\n\nkeyPath - The {String} name of the key to retrieve\ndefaultValue - The integer {Number} to fall back to if the value isn't\n positive, defaults to 0.", - "returnValues": [ - { - "type": null, - "description": "Returns the value from Atom's default settings, the user's configuration file, or `defaultValue` if the key value isn't greater than zero." - } - ] - }, - { - "name": "set", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L137", - "visibility": "Public", - "summary": "Sets the value for a configuration setting.", - "description": "Sets the value for a configuration setting.\n\nThis value is stored in Atom's internal configuration file.\n\nkeyPath - The {String} name of the key.\nvalue - The value of the setting.", - "returnValues": [ - { - "type": null, - "description": "Returns the `value`." - } - ] - }, - { - "name": "toggle", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L153", - "visibility": "Public", - "summary": "Toggle the value at the key path.", - "description": "Toggle the value at the key path.\n\nThe new value will be `true` if the value is currently falsy and will be\n`false` if the value is currently truthy.\n\nkeyPath - The {String} name of the key.", - "returnValues": [ - { - "type": null, - "description": "Returns the new value." - } - ] - }, - { - "name": "restoreDefault", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L161", - "visibility": "Public", - "summary": "Restore the key path to its default value.", - "description": "Restore the key path to its default value.\n\nkeyPath - The {String} name of the key.", - "returnValues": [ - { - "type": null, - "description": "Returns the new value." - } - ] - }, - { - "name": "getDefault", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L169", - "visibility": "Public", - "summary": "Get the default value of the key path.", - "description": "Get the default value of the key path.\n\nkeyPath - The {String} name of the key.", - "returnValues": [ - { - "type": null, - "description": "Returns the default value." - } - ] - }, - { - "name": "isDefault", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L179", - "visibility": "Public", - "summary": "Is the key path value its default value?", - "description": "Is the key path value its default value?\n\nkeyPath - The {String} name of the key.", - "returnValues": [ - { - "type": "Boolean", - "description": "Returns a {Boolean}, `true` if the current value is the default, `false` otherwise." - } - ] - }, - { - "name": "pushAtKeyPath", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L188", - "visibility": "Public", - "summary": "Push the value to the array at the key path.", - "description": "Push the value to the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to push to the array.", - "returnValues": [ - { - "type": "Number", - "description": "Returns the new array length {Number} of the setting." - } - ] - }, - { - "name": "unshiftAtKeyPath", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L200", - "visibility": "Public", - "summary": "Add the value to the beginning of the array at the key path.", - "description": "Add the value to the beginning of the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to shift onto the array.", - "returnValues": [ - { - "type": "Number", - "description": "Returns the new array length {Number} of the setting." - } - ] - }, - { - "name": "removeAtKeyPath", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L212", - "visibility": "Public", - "summary": "Remove the value from the array at the key path.", - "description": "Remove the value from the array at the key path.\n\nkeyPath - The {String} key path.\nvalue - The value to remove from the array.", - "returnValues": [ - { - "type": null, - "description": "Returns the new array value of the setting." - } - ] - }, - { - "name": "observe", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L232", - "visibility": "Public", - "summary": "Establishes an event listener for a given key.", - "description": "Establishes an event listener for a given key.\n\n`callback` is fired whenever the value of the key is changed and will\n be fired immediately unless the `callNow` option is `false`.\n\nkeyPath - The {String} name of the key to observe\noptions - An optional {Object} containing the `callNow` key.\ncallback - The {Function} to call when the value of the key changes.\n The first argument will be the new value of the key and the\n second argument will be an {Object} with a `previous` property\n that is the prior value of the key.", - "returnValues": [ - { - "type": "Object", - "description": "Returns an {Object} with the following keys: :off - A {Function} that unobserves the `keyPath` when called." - } - ] - }, - { - "name": "unobserve", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/config.coffee#L254", - "visibility": "Public", - "summary": "Unobserve all callbacks on a given key.", - "description": "Unobserve all callbacks on a given key.\n\nkeyPath - The {String} name of the key to unobserve. " - } - ], - "visibility": "Public", - "summary": "Used to access all of Atom's configuration details.", - "description": "Used to access all of Atom's configuration details.\n\nAn instance of this class is always available as the `atom.config` global.\n\n## Best practices\n\n* Create your own root keypath using your package's name.\n* Don't depend on (or write to) configuration keys outside of your keypath.\n\n## Example\n\n```coffeescript\natom.config.set('my-package.key', 'value')\natom.config.observe 'my-package.key', ->\n console.log 'My configuration changed:', atom.config.get('my-package.key')\n```" - }, - "ContextMenuManager": { - "name": "ContextMenuManager", - "filename": "src/context-menu-manager.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/context-menu-manager.coffee#L11", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "add", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/context-menu-manager.coffee#L34", - "visibility": "Public", - "summary": "Creates menu definitions from the object specified by the menu\ncson API.", - "description": "Creates menu definitions from the object specified by the menu\ncson API.\n\nname - The path of the file that contains the menu definitions.\nobject - The 'context-menu' object specified in the menu cson API.\noptions - An {Object} with the following keys:\n :devMode - Determines whether the entries should only be shown when\n the window is in dev mode.", - "returnValues": [ - { - "type": null, - "description": "Returns nothing." - } - ] - }, - { - "name": "showForEvent", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/context-menu-manager.coffee#L112", - "visibility": "Public", - "summary": "Request a context menu to be displayed. ", - "description": "Request a context menu to be displayed. " - } - ], - "visibility": "Public", - "summary": "Provides a registry for commands that you'd like to appear in the\ncontext menu.", - "description": "Provides a registry for commands that you'd like to appear in the\ncontext menu.\n\nAn instance of this class is always available as the `atom.contextMenu`\nglobal. " - }, - "Cursor": { - "name": "Cursor", - "superClass": "Model", - "filename": "src/cursor.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L11", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "setScreenPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L71", - "visibility": "Public", - "summary": "Moves a cursor to a given screen position.", - "description": "Moves a cursor to a given screen position.\n\nscreenPosition - An {Array} of two numbers: the screen row, and the screen\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " - }, - { - "name": "getScreenPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L76", - "visibility": "Public", - "summary": "Returns the screen position of the cursor as an Array. ", - "description": "Returns the screen position of the cursor as an Array. " - }, - { - "name": "setBufferPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L90", - "visibility": "Public", - "summary": "Moves a cursor to a given buffer position.", - "description": "Moves a cursor to a given buffer position.\n\nbufferPosition - An {Array} of two numbers: the buffer row, and the buffer\n column.\noptions - An {Object} with the following keys:\n :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever\n the cursor moves to. " - }, - { - "name": "getBufferPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L95", - "visibility": "Public", - "summary": "Returns the current buffer position as an Array. ", - "description": "Returns the current buffer position as an Array. " - }, - { - "name": "updateVisibility", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L102", - "visibility": "Public", - "summary": "If the marker range is empty, the cursor is marked as being visible. ", - "description": "If the marker range is empty, the cursor is marked as being visible. " - }, - { - "name": "setVisible", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L106", - "visibility": "Public", - "summary": "Sets whether the cursor is visible. ", - "description": "Sets whether the cursor is visible. " - }, - { - "name": "isVisible", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L113", - "visibility": "Public", - "summary": "Returns the visibility of the cursor. ", - "description": "Returns the visibility of the cursor. " - }, - { - "name": "wordRegExp", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L123", - "visibility": "Public", - "summary": "Get the RegExp used by the cursor to determine what a \"word\" is.", - "description": "Get the RegExp used by the cursor to determine what a \"word\" is.\n\noptions: An optional {Object} with the following keys:\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the regex.\n (default: true)", - "returnValues": [ - { - "type": "RegExp", - "description": "Returns a {RegExp}." - } - ] - }, - { - "name": "isLastCursor", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L137", - "visibility": "Public", - "summary": "Identifies if this cursor is the last in the {Editor}.", - "description": "Identifies if this cursor is the last in the {Editor}.\n\n\"Last\" is defined as the most recently added cursor.", - "returnValues": [ - { - "type": "Boolean", - "description": "Returns a {Boolean}." - } - ] - }, - { - "name": "isSurroundedByWhitespace", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L146", - "visibility": "Public", - "summary": "Identifies if the cursor is surrounded by whitespace.", - "description": "Identifies if the cursor is surrounded by whitespace.\n\n\"Surrounded\" here means that the character directly before and after the\ncursor are both whitespace.", - "returnValues": [ - { - "type": "Boolean", - "description": "Returns a {Boolean}." - } - ] - }, - { - "name": "isBetweenWordAndNonWord", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L159", - "visibility": "Public", - "summary": "Returns whether the cursor is currently between a word and non-word\ncharacter. The non-word characters are defined by the\n`editor.nonWordCharacters` config value.", - "description": "Returns whether the cursor is currently between a word and non-word\ncharacter. The non-word characters are defined by the\n`editor.nonWordCharacters` config value.\n\nThis method returns false if the character before or after the cursor is\nwhitespace.", - "returnValues": [ - { - "type": null, - "description": "Returns a Boolean." - } - ] - }, - { - "name": "isInsideWord", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L171", - "visibility": "Public", - "summary": "Returns whether this cursor is between a word's start and end. ", - "description": "Returns whether this cursor is between a word's start and end. " - }, - { - "name": "clearAutoscroll", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L177", - "visibility": "Public", - "summary": "Prevents this cursor from causing scrolling. ", - "description": "Prevents this cursor from causing scrolling. " - }, - { - "name": "clearSelection", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L181", - "visibility": "Public", - "summary": "Deselects the current selection. ", - "description": "Deselects the current selection. " - }, - { - "name": "getScreenRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L185", - "visibility": "Public", - "summary": "Returns the cursor's current screen row. ", - "description": "Returns the cursor's current screen row. " - }, - { - "name": "getScreenColumn", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L189", - "visibility": "Public", - "summary": "Returns the cursor's current screen column. ", - "description": "Returns the cursor's current screen column. " - }, - { - "name": "getBufferRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L193", - "visibility": "Public", - "summary": "Retrieves the cursor's current buffer row. ", - "description": "Retrieves the cursor's current buffer row. " - }, - { - "name": "getBufferColumn", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L197", - "visibility": "Public", - "summary": "Returns the cursor's current buffer column. ", - "description": "Returns the cursor's current buffer column. " - }, - { - "name": "getCurrentBufferLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L202", - "visibility": "Public", - "summary": "Returns the cursor's current buffer row of text excluding its line\nending. ", - "description": "Returns the cursor's current buffer row of text excluding its line\nending. " - }, - { - "name": "moveUp", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L206", - "visibility": "Public", - "summary": "Moves the cursor up one screen row. ", - "description": "Moves the cursor up one screen row. " - }, - { - "name": "moveDown", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L218", - "visibility": "Public", - "summary": "Moves the cursor down one screen row. ", - "description": "Moves the cursor down one screen row. " - }, - { - "name": "moveLeft", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L234", - "visibility": "Public", - "summary": "Moves the cursor left one screen column.", - "description": "Moves the cursor left one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the left of the selection if a\n selection exists. " - }, - { - "name": "moveRight", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L248", - "visibility": "Public", - "summary": "Moves the cursor right one screen column.", - "description": "Moves the cursor right one screen column.\n\noptions - An {Object} with the following keys:\n :moveToEndOfSelection - if true, move to the right of the selection if a\n selection exists. " - }, - { - "name": "moveToTop", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L257", - "visibility": "Public", - "summary": "Moves the cursor to the top of the buffer. ", - "description": "Moves the cursor to the top of the buffer. " - }, - { - "name": "moveToBottom", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L261", - "visibility": "Public", - "summary": "Moves the cursor to the bottom of the buffer. ", - "description": "Moves the cursor to the bottom of the buffer. " - }, - { - "name": "moveToBeginningOfScreenLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L265", - "visibility": "Public", - "summary": "Moves the cursor to the beginning of the line. ", - "description": "Moves the cursor to the beginning of the line. " - }, - { - "name": "moveToBeginningOfLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L269", - "visibility": "Public", - "summary": "Moves the cursor to the beginning of the buffer line. ", - "description": "Moves the cursor to the beginning of the buffer line. " - }, - { - "name": "moveToFirstCharacterOfLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L274", - "visibility": "Public", - "summary": "Moves the cursor to the beginning of the first character in the\nline. ", - "description": "Moves the cursor to the beginning of the first character in the\nline. " - }, - { - "name": "skipLeadingWhitespace", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L284", - "visibility": "Public", - "summary": "Moves the cursor to the beginning of the buffer line, skipping all\nwhitespace. ", - "description": "Moves the cursor to the beginning of the buffer line, skipping all\nwhitespace. " - }, - { - "name": "moveToEndOfScreenLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L294", - "visibility": "Public", - "summary": "Moves the cursor to the end of the line. ", - "description": "Moves the cursor to the end of the line. " - }, - { - "name": "moveToEndOfLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L298", - "visibility": "Public", - "summary": "Moves the cursor to the end of the buffer line. ", - "description": "Moves the cursor to the end of the buffer line. " - }, - { - "name": "moveToBeginningOfWord", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L302", - "visibility": "Public", - "summary": "Moves the cursor to the beginning of the word. ", - "description": "Moves the cursor to the beginning of the word. " - }, - { - "name": "moveToEndOfWord", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L306", - "visibility": "Public", - "summary": "Moves the cursor to the end of the word. ", - "description": "Moves the cursor to the end of the word. " - }, - { - "name": "moveToBeginningOfNextWord", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L311", - "visibility": "Public", - "summary": "Moves the cursor to the beginning of the next word. ", - "description": "Moves the cursor to the beginning of the next word. " - }, - { - "name": "moveToPreviousWordBoundary", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L316", - "visibility": "Public", - "summary": "Moves the cursor to the previous word boundary. ", - "description": "Moves the cursor to the previous word boundary. " - }, - { - "name": "moveToNextWordBoundary", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L321", - "visibility": "Public", - "summary": "Moves the cursor to the next word boundary. ", - "description": "Moves the cursor to the next word boundary. " - }, - { - "name": "getBeginningOfCurrentWordBufferPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L337", - "visibility": "Public", - "summary": "Retrieves the buffer position of where the current word starts.", - "description": "Retrieves the buffer position of where the current word starts.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).\n :includeNonWordCharacters - A {Boolean} indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.\n :allowPrevious - A {Boolean} indicating whether the beginning of the\n previous word can be returned.", - "returnValues": [ - { - "type": "Range", - "description": "Returns a {Range}." - } - ] - }, - { - "name": "getPreviousWordBoundaryBufferPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L359", - "visibility": "Public", - "summary": "Retrieves buffer position of previous word boundary. It might be on\nthe current word, or the previous word. ", - "description": "Retrieves buffer position of previous word boundary. It might be on\nthe current word, or the previous word. " - }, - { - "name": "getMoveNextWordBoundaryBufferPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L381", - "visibility": "Public", - "summary": "Retrieves buffer position of the next word boundary. It might be on\nthe current word, or the previous word. ", - "description": "Retrieves buffer position of the next word boundary. It might be on\nthe current word, or the previous word. " - }, - { - "name": "getEndOfCurrentWordBufferPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L410", - "visibility": "Public", - "summary": "Retrieves the buffer position of where the current word ends.", - "description": "Retrieves the buffer position of where the current word ends.\n\noptions - An {Object} with the following keys:\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp})\n :includeNonWordCharacters - A Boolean indicating whether to include\n non-word characters in the default word regex.\n Has no effect if wordRegex is set.", - "returnValues": [ - { - "type": "Range", - "description": "Returns a {Range}." - } - ] - }, - { - "name": "getBeginningOfNextWordBufferPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L431", - "visibility": "Public", - "summary": "Retrieves the buffer position of where the next word starts.", - "description": "Retrieves the buffer position of where the next word starts.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}).", - "returnValues": [ - { - "type": "Range", - "description": "Returns a {Range}." - } - ] - }, - { - "name": "getCurrentWordBufferRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L448", - "visibility": "Public", - "summary": "Returns the buffer Range occupied by the word located under the cursor.", - "description": "Returns the buffer Range occupied by the word located under the cursor.\n\noptions -\n :wordRegex - A {RegExp} indicating what constitutes a \"word\"\n (default: {::wordRegExp}). " - }, - { - "name": "getCurrentLineBufferRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L458", - "visibility": "Public", - "summary": "Returns the buffer Range for the current line.", - "description": "Returns the buffer Range for the current line.\n\noptions -\n :includeNewline: - A {Boolean} which controls whether the Range should\n include the newline. " - }, - { - "name": "moveToBeginningOfNextParagraph", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L462", - "visibility": "Public", - "summary": "Moves the cursor to the beginning of the next paragraph ", - "description": "Moves the cursor to the beginning of the next paragraph " - }, - { - "name": "moveToBeginningOfPreviousParagraph", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L467", - "visibility": "Public", - "summary": "Moves the cursor to the beginning of the previous paragraph ", - "description": "Moves the cursor to the beginning of the previous paragraph " - }, - { - "name": "getCurrentParagraphBufferRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L503", - "visibility": "Public", - "summary": "Retrieves the range for the current paragraph.", - "description": "Retrieves the range for the current paragraph.\n\nA paragraph is defined as a block of text surrounded by empty lines.", - "returnValues": [ - { - "type": "Range", - "description": "Returns a {Range}." - } - ] - }, - { - "name": "getCurrentWordPrefix", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L507", - "visibility": "Public", - "summary": "Returns the characters preceding the cursor in the current word. ", - "description": "Returns the characters preceding the cursor in the current word. " - }, - { - "name": "isAtBeginningOfLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L511", - "visibility": "Public", - "summary": "Returns whether the cursor is at the start of a line. ", - "description": "Returns whether the cursor is at the start of a line. " - }, - { - "name": "getIndentLevel", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L515", - "visibility": "Public", - "summary": "Returns the indentation level of the current line. ", - "description": "Returns the indentation level of the current line. " - }, - { - "name": "isAtEndOfLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L522", - "visibility": "Public", - "summary": "Returns whether the cursor is on the line return character. ", - "description": "Returns whether the cursor is on the line return character. " - }, - { - "name": "getScopes", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L528", - "visibility": "Public", - "summary": "Retrieves the grammar's token scopes for the line.", - "description": "Retrieves the grammar's token scopes for the line.", - "returnValues": [ - { - "type": "Array", - "description": "Returns an {Array} of {String}s." - } - ] - }, - { - "name": "hasPrecedingCharactersOnLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/cursor.coffee#L533", - "visibility": "Public", - "summary": "Returns true if this cursor has no non-whitespace characters before\nits current position. ", - "description": "Returns true if this cursor has no non-whitespace characters before\nits current position. " - } - ], - "visibility": "Public", - "summary": "The `Cursor` class represents the little blinking line identifying\nwhere text can be inserted.", - "description": "The `Cursor` class represents the little blinking line identifying\nwhere text can be inserted.\n\nCursors belong to {Editor}s and have some metadata attached in the form\nof a {Marker}. " - }, - "Decoration": { - "name": "Decoration", - "filename": "src/decoration.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/decoration.coffee#L41", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "destroy", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/decoration.coffee#L60", - "visibility": "Public", - "summary": "Destroy this marker.", - "description": "Destroy this marker.\n\nIf you own the marker, you should use {Marker::destroy} which will destroy\nthis decoration. " - }, - { - "name": "update", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/decoration.coffee#L71", - "visibility": "Public", - "summary": "Update the marker with new params. Allows you to change the decoration's class.", - "description": "Update the marker with new params. Allows you to change the decoration's class.\n\n```\ndecoration.update({type: 'gutter', class: 'my-new-class'})\n```" - }, - { - "name": "getMarker", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/decoration.coffee#L80", - "visibility": "Public", - "summary": "Returns the marker associated with this {Decoration} ", - "description": "Returns the marker associated with this {Decoration} " - }, - { - "name": "getParams", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/decoration.coffee#L83", - "visibility": "Public", - "summary": "Returns the {Decoration}'s params. ", - "description": "Returns the {Decoration}'s params. " - } - ], - "visibility": "Public", - "summary": "Represents a decoration that follows a {Marker}. A decoration is\nbasically a visual representation of a marker. It allows you to add CSS\nclasses to line numbers in the gutter, lines, and add selection-line regions\naround marked ranges of text.", - "description": "Represents a decoration that follows a {Marker}. A decoration is\nbasically a visual representation of a marker. It allows you to add CSS\nclasses to line numbers in the gutter, lines, and add selection-line regions\naround marked ranges of text.\n\n{Decoration} objects are not meant to be created directly, but created with\n{Editor::decorateMarker}. eg.\n\n```coffee\nrange = editor.getSelectedBufferRange() # any range you like\nmarker = editor.markBufferRange(range)\ndecoration = editor.decorateMarker(marker, {type: 'line', class: 'my-line-class'})\n```\n\nBest practice for destorying the decoration is by destroying the {Marker}.\n\n```\nmarker.destroy()\n```\n\nYou should only use {Decoration::destroy} when you still need or do not own\nthe marker.\n\n### IDs\n\nEach {Decoration} has a unique ID available via `decoration.id`.\n\n### Events\n\nA couple of events are emitted:" - }, - "DeserializerManager": { - "name": "DeserializerManager", - "filename": "src/deserializer-manager.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/deserializer-manager.coffee#L21", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "add", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/deserializer-manager.coffee#L28", - "visibility": "Public", - "summary": "Register the given class(es) as deserializers.", - "description": "Register the given class(es) as deserializers.\n\nclasses - One or more classes to register. " - }, - { - "name": "remove", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/deserializer-manager.coffee#L34", - "visibility": "Public", - "summary": "Remove the given class(es) as deserializers.", - "description": "Remove the given class(es) as deserializers.\n\nclasses - One or more classes to remove. " - }, - { - "name": "deserialize", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/deserializer-manager.coffee#L42", - "visibility": "Public", - "summary": "Deserialize the state and params.", - "description": "Deserialize the state and params.\n\nstate - The state {Object} to deserialize.\nparams - The params {Object} to pass as the second arguments to the\n deserialize method of the deserializer. " - } - ], - "visibility": "Public", - "summary": "Manages the deserializers used for serialized state", - "description": "Manages the deserializers used for serialized state\n\nAn instance of this class is always available as the `atom.deserializers`\nglobal.\n\n### Registering a deserializer\n\n```coffee\nclass MyPackageView extends View\n atom.deserializers.add(this)\n\n @deserialize: (state) ->\n new MyPackageView(state)\n\n constructor: (@state) ->\n\n serialize: ->\n @state\n```" - }, - "EditorView": { - "name": "EditorView", - "superClass": "View", - "filename": "src/editor-view.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L42", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "getEditor", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L252", - "visibility": "Public", - "summary": "Get the underlying editor model for this view.", - "description": "Get the underlying editor model for this view.", - "returnValues": [ - { - "type": "Editor", - "description": "Returns an {Editor}." - } - ] - }, - { - "name": "pageDown", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L278", - "visibility": "Public", - "summary": "Emulates the \"page down\" key, where the last row of a buffer scrolls\nto become the first. ", - "description": "Emulates the \"page down\" key, where the last row of a buffer scrolls\nto become the first. " - }, - { - "name": "pageUp", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L285", - "visibility": "Public", - "summary": "Emulates the \"page up\" key, where the frst row of a buffer scrolls\nto become the last. ", - "description": "Emulates the \"page up\" key, where the frst row of a buffer scrolls\nto become the last. " - }, - { - "name": "setShowInvisibles", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L299", - "visibility": "Public", - "summary": "Set whether invisible characters are shown.", - "description": "Set whether invisible characters are shown.\n\nshowInvisibles - A {Boolean} which, if `true`, show invisible characters. " - }, - { - "name": "setInvisibles", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L311", - "visibility": "Public", - "summary": "Defines which characters are invisible.", - "description": "Defines which characters are invisible.\n\ninvisibles - An {Object} defining the invisible characters:\n :eol - The end of line invisible {String} (default: `\\u00ac`).\n :space - The space invisible {String} (default: `\\u00b7`).\n :tab - The tab invisible {String} (default: `\\u00bb`).\n :cr - The carriage return invisible {String} (default: `\\u00a4`). " - }, - { - "name": "setShowIndentGuide", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L323", - "visibility": "Public", - "summary": "Sets whether you want to show the indentation guides.", - "description": "Sets whether you want to show the indentation guides.\n\nshowIndentGuide - A {Boolean} you can set to `true` if you want to see the\n indentation guides. " - }, - { - "name": "setPlaceholderText", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L333", - "visibility": "Public", - "summary": "Set the text to appear in the editor when it is empty.", - "description": "Set the text to appear in the editor when it is empty.\n\nThis only affects mini editors.\n\nplaceholderText - A {String} of text to display when empty. " - }, - { - "name": "scrollToBottom", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L640", - "visibility": "Public", - "summary": "Scrolls the editor to the bottom. ", - "description": "Scrolls the editor to the bottom. " - }, - { - "name": "scrollToCursorPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L647", - "visibility": "Public", - "summary": "Scrolls the editor to the position of the most recently added\ncursor if it isn't current on screen.", - "description": "Scrolls the editor to the position of the most recently added\ncursor if it isn't current on screen.\n\nThe editor is centered around the cursor's position if possible. " - }, - { - "name": "scrollToBufferPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L655", - "visibility": "Public", - "summary": "Scrolls the editor to the given buffer position.", - "description": "Scrolls the editor to the given buffer position.\n\nbufferPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " - }, - { - "name": "scrollToScreenPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L663", - "visibility": "Public", - "summary": "Scrolls the editor to the given screen position.", - "description": "Scrolls the editor to the given screen position.\n\nscreenPosition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}\noptions - A hash matching the options available to {::scrollToPixelPosition} " - }, - { - "name": "scrollToPixelPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L674", - "visibility": "Public", - "summary": "Scrolls the editor to the given pixel position.", - "description": "Scrolls the editor to the given pixel position.\n\npixelPosition - An object that represents a pixel position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or\n {Point}.\noptions - A hash with the following keys:\n :center - if `true`, the position is scrolled such that it's in\n the center of the editor " - }, - { - "name": "highlightFoldsContainingBufferRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L685", - "visibility": "Public", - "summary": "Highlight all the folds within the given buffer range.", - "description": "Highlight all the folds within the given buffer range.\n\n\"Highlighting\" essentially just adds the `fold-selected` class to the line's\nDOM element.\n\nbufferRange - The {Range} to check. " - }, - { - "name": "toggleSoftTabs", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L703", - "visibility": "Public", - "summary": "Toggle soft tabs on the edit session. ", - "description": "Toggle soft tabs on the edit session. " - }, - { - "name": "toggleSoftWrap", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L707", - "visibility": "Public", - "summary": "Toggle soft wrap on the edit session. ", - "description": "Toggle soft wrap on the edit session. " - }, - { - "name": "setSoftWrap", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L724", - "visibility": "Public", - "summary": "Enables/disables soft wrap on the editor.", - "description": "Enables/disables soft wrap on the editor.\n\nsoftWrap - A {Boolean} which, if `true`, enables soft wrap " - }, - { - "name": "setFontSize", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L734", - "visibility": "Public", - "summary": "Sets the font size for the editor.", - "description": "Sets the font size for the editor.\n\nfontSize - A {Number} indicating the font size in pixels. " - }, - { - "name": "getFontSize", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L747", - "visibility": "Public", - "summary": "Retrieves the font size for the editor.", - "description": "Retrieves the font size for the editor.", - "returnValues": [ - { - "type": "Number", - "description": "Returns a {Number} indicating the font size in pixels." - } - ] - }, - { - "name": "setFontFamily", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L753", - "visibility": "Public", - "summary": "Sets the font family for the editor.", - "description": "Sets the font family for the editor.\n\nfontFamily - A {String} identifying the CSS `font-family`. " - }, - { - "name": "getFontFamily", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L763", - "visibility": "Public", - "summary": "Gets the font family for the editor.", - "description": "Gets the font family for the editor.", - "returnValues": [ - { - "type": "String", - "description": "Returns a {String} identifying the CSS `font-family`." - } - ] - }, - { - "name": "setLineHeight", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L771", - "visibility": "Public", - "summary": "Sets the line height of the editor.", - "description": "Sets the line height of the editor.\n\nCalling this method has no effect when called on a mini editor.\n\nlineHeight - A {Number} without a unit suffix identifying the CSS\n`line-height`. " - }, - { - "name": "redraw", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L777", - "visibility": "Public", - "summary": "Redraw the editor ", - "description": "Redraw the editor " - }, - { - "name": "splitLeft", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L787", - "visibility": "Public", - "summary": "Split the editor view left. ", - "description": "Split the editor view left. " - }, - { - "name": "splitRight", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L792", - "visibility": "Public", - "summary": "Split the editor view right. ", - "description": "Split the editor view right. " - }, - { - "name": "splitUp", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L797", - "visibility": "Public", - "summary": "Split the editor view up. ", - "description": "Split the editor view up. " - }, - { - "name": "splitDown", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L802", - "visibility": "Public", - "summary": "Split the editor view down. ", - "description": "Split the editor view down. " - }, - { - "name": "getPane", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L809", - "visibility": "Public", - "summary": "Get this view's pane.", - "description": "Get this view's pane.", - "returnValues": [ - { - "type": "Pane", - "description": "Returns a {Pane}." - } - ] - }, - { - "name": "getFirstVisibleScreenRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L1215", - "visibility": "Public", - "summary": "Retrieves the number of the row that is visible and currently at the\ntop of the editor.", - "description": "Retrieves the number of the row that is visible and currently at the\ntop of the editor.", - "returnValues": [ - { - "type": "Number", - "description": "Returns a {Number}." - } - ] - }, - { - "name": "getLastVisibleScreenRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L1224", - "visibility": "Public", - "summary": "Retrieves the number of the row that is visible and currently at the\nbottom of the editor.", - "description": "Retrieves the number of the row that is visible and currently at the\nbottom of the editor.", - "returnValues": [ - { - "type": "Number", - "description": "Returns a {Number}." - } - ] - }, - { - "name": "isScreenRowVisible", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L1235", - "visibility": "Public", - "summary": "Given a row number, identifies if it is currently visible.", - "description": "Given a row number, identifies if it is currently visible.\n\nrow - A row {Number} to check", - "returnValues": [ - { - "type": "Boolean", - "description": "Returns a {Boolean}." - } - ] - }, - { - "name": "pixelPositionForBufferPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L1326", - "visibility": "Public", - "summary": "Converts a buffer position to a pixel position.", - "description": "Converts a buffer position to a pixel position.\n\nposition - An object that represents a buffer position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}", - "returnValues": [ - { - "type": null, - "description": "Returns an object with two values: `top` and `left`, representing the pixel positions." - } - ] - }, - { - "name": "pixelPositionForScreenPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor-view.coffee#L1335", - "visibility": "Public", - "summary": "Converts a screen position to a pixel position.", - "description": "Converts a screen position to a pixel position.\n\nposition - An object that represents a screen position. It can be either\n an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point}", - "returnValues": [ - { - "type": null, - "description": "Returns an object with two values: `top` and `left`, representing the pixel positions." - } - ] - } - ], - "visibility": "Public", - "summary": "Represents the entire visual pane in Atom.", - "description": "Represents the entire visual pane in Atom.\n\nThe EditorView manages the {Editor}, which manages the file buffers.\n\n## Requiring in packages\n\n```coffee\n{EditorView} = require 'atom'\n\nminiEditorView = new EditorView(mini: true)\n```\n\n## Iterating over the open editor views\n\n```coffee\nfor editorView in atom.workspaceView.getEditorViews()\n console.log(editorView.getEditor().getPath())\n```\n\n## Subscribing to every current and future editor\n\n```coffee\natom.workspace.eachEditorView (editorView) ->\n console.log(editorView.getEditor().getPath())\n```" - }, - "Editor": { - "name": "Editor", - "superClass": "Model", - "filename": "src/editor.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L139", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "getTitle", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L259", - "visibility": "Public", - "summary": "Get the title the editor's title for display in other parts of the\nUI such as the tabs.", - "description": "Get the title the editor's title for display in other parts of the\nUI such as the tabs.\n\nIf the editor's buffer is saved, its title is the file name. If it is\nunsaved, its title is \"untitled\".", - "returnValues": [ - { - "type": "String", - "description": "Returns a {String}." - } - ] - }, - { - "name": "getLongTitle", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L272", - "visibility": "Public", - "summary": "Get the editor's long title for display in other parts of the UI\nsuch as the window title.", - "description": "Get the editor's long title for display in other parts of the UI\nsuch as the window title.\n\nIf the editor's buffer is saved, its long title is formatted as\n\" - \". If it is unsaved, its title is \"untitled\"", - "returnValues": [ - { - "type": "String", - "description": "Returns a {String}." - } - ] - }, - { - "name": "getSoftWrapColumn", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L293", - "visibility": "Public", - "summary": "Sets the column at which column will soft wrap ", - "description": "Sets the column at which column will soft wrap " - }, - { - "name": "getSoftTabs", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L297", - "visibility": "Public", - "summary": "Returns a {Boolean} indicating whether softTabs are enabled for this\neditor. ", - "description": "Returns a {Boolean} indicating whether softTabs are enabled for this\neditor. " - }, - { - "name": "setSoftTabs", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L302", - "visibility": "Public", - "summary": "Enable or disable soft tabs for this editor.", - "description": "Enable or disable soft tabs for this editor.\n\nsoftTabs - A {Boolean} " - }, - { - "name": "toggleSoftTabs", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L305", - "visibility": "Public", - "summary": "Toggle soft tabs for this editor ", - "description": "Toggle soft tabs for this editor " - }, - { - "name": "getSoftWrap", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L308", - "visibility": "Public", - "summary": "Get whether soft wrap is enabled for this editor. ", - "description": "Get whether soft wrap is enabled for this editor. " - }, - { - "name": "setSoftWrap", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L313", - "visibility": "Public", - "summary": "Enable or disable soft wrap for this editor.", - "description": "Enable or disable soft wrap for this editor.\n\nsoftWrap - A {Boolean} " - }, - { - "name": "toggleSoftWrap", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L316", - "visibility": "Public", - "summary": "Toggle soft wrap for this editor ", - "description": "Toggle soft wrap for this editor " - }, - { - "name": "getTabText", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L324", - "visibility": "Public", - "summary": "Get the text representing a single level of indent.", - "description": "Get the text representing a single level of indent.\n\nIf soft tabs are enabled, the text is composed of N spaces, where N is the\ntab length. Otherwise the text is a tab character (`\\t`).", - "returnValues": [ - { - "type": "String", - "description": "Returns a {String}." - } - ] - }, - { - "name": "getTabLength", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L329", - "visibility": "Public", - "summary": "Get the on-screen length of tab characters.", - "description": "Get the on-screen length of tab characters.", - "returnValues": [ - { - "type": "Number", - "description": "Returns a {Number}." - } - ] - }, - { - "name": "setTabLength", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L332", - "visibility": "Public", - "summary": "Set the on-screen length of tab characters. ", - "description": "Set the on-screen length of tab characters. " - }, - { - "name": "usesSoftTabs", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L340", - "visibility": "Public", - "summary": "Determine if the buffer uses hard or soft tabs.", - "description": "Determine if the buffer uses hard or soft tabs.", - "returnValues": [ - { - "type": null, - "description": "Returns `true` if the first non-comment line with leading whitespace starts with a space character." - }, - { - "type": null, - "description": "Returns `false` if it starts with a hard tab (`\\t`)." - }, - { - "type": "Boolean", - "description": "Returns a {Boolean}," - } - ] - }, - { - "name": "clipBufferPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L362", - "visibility": "Public", - "summary": "Clip the given {Point} to a valid position in the buffer.", - "description": "Clip the given {Point} to a valid position in the buffer.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the buffer, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n\n* `[-1, -1]` is converted to `[0, 0]`.\n* If the line at row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.", - "returnValues": [ - { - "type": "Point", - "description": "Returns a {Point}." - } - ] - }, - { - "name": "clipBufferRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L370", - "visibility": "Public", - "summary": "Clip the start and end of the given range to valid positions in the\nbuffer. See {::clipBufferPosition} for more information.", - "description": "Clip the start and end of the given range to valid positions in the\nbuffer. See {::clipBufferPosition} for more information.\n\nrange - The {Range} to clip.", - "returnValues": [ - { - "type": "Range", - "description": "Returns a {Range}." - } - ] - }, - { - "name": "indentationForBufferRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L382", - "visibility": "Public", - "summary": "Get the indentation level of the given a buffer row.", - "description": "Get the indentation level of the given a buffer row.", - "returnValues": [ - { - "type": null, - "description": "Returns how deeply the given row is indented based on the soft tabs and tab length settings of this editor. Note that if soft tabs are enabled and the tab length is 2, a row with 4 leading spaces would have an indentation level of 2." - }, - { - "type": "Number", - "description": "Returns a {Number}." - } - ] - }, - { - "name": "setIndentationForBufferRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L397", - "visibility": "Public", - "summary": "Set the indentation level for the given buffer row.", - "description": "Set the indentation level for the given buffer row.\n\nInserts or removes hard tabs or spaces based on the soft tabs and tab length\nsettings of this editor in order to bring it to the given indentation level.\nNote that if soft tabs are enabled and the tab length is 2, a row with 4\nleading spaces would have an indentation level of 2.\n\nbufferRow - A {Number} indicating the buffer row.\nnewLevel - A {Number} indicating the new indentation level.\noptions - An {Object} with the following keys:\n :preserveLeadingWhitespace - true to preserve any whitespace already at\n the beginning of the line (default: false). " - }, - { - "name": "indentLevelForLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L415", - "visibility": "Public", - "summary": "Get the indentation level of the given line of text.", - "description": "Get the indentation level of the given line of text.", - "returnValues": [ - { - "type": null, - "description": "Returns how deeply the given line is indented based on the soft tabs and tab length settings of this editor. Note that if soft tabs are enabled and the tab length is 2, a row with 4 leading spaces would have an indentation level of 2." - }, - { - "type": "Number", - "description": "Returns a {Number}." - } - ] - }, - { - "name": "save", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L429", - "visibility": "Public", - "summary": "Saves the editor's text buffer.", - "description": "Saves the editor's text buffer.\n\nSee {TextBuffer::save} for more details. " - }, - { - "name": "saveAs", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L436", - "visibility": "Public", - "summary": "Saves the editor's text buffer as the given path.", - "description": "Saves the editor's text buffer as the given path.\n\nSee {TextBuffer::saveAs} for more details.\n\nfilePath - A {String} path. " - }, - { - "name": "getPath", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L448", - "visibility": "Public", - "summary": "Returns the {String} path of this editor's text buffer. ", - "description": "Returns the {String} path of this editor's text buffer. " - }, - { - "name": "getText", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L451", - "visibility": "Public", - "summary": "Returns a {String} representing the entire contents of the editor. ", - "description": "Returns a {String} representing the entire contents of the editor. " - }, - { - "name": "setText", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L454", - "visibility": "Public", - "summary": "Replaces the entire contents of the buffer with the given {String}. ", - "description": "Replaces the entire contents of the buffer with the given {String}. " - }, - { - "name": "getLineCount", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L462", - "visibility": "Public", - "summary": "Returns a {Number} representing the number of lines in the editor. ", - "description": "Returns a {Number} representing the number of lines in the editor. " - }, - { - "name": "getUri", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L468", - "visibility": "Public", - "summary": "Retrieves the current buffer's URI. ", - "description": "Retrieves the current buffer's URI. " - }, - { - "name": "isBufferRowCommented", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L474", - "visibility": "Public", - "summary": "Determine if the given row is entirely a comment ", - "description": "Determine if the given row is entirely a comment " - }, - { - "name": "getLastBufferRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L487", - "visibility": "Public", - "summary": "Returns a {Number} representing the last zero-indexed buffer row\nnumber of the editor. ", - "description": "Returns a {Number} representing the last zero-indexed buffer row\nnumber of the editor. " - }, - { - "name": "lineForBufferRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L501", - "visibility": "Public", - "summary": "Returns a {String} representing the contents of the line at the\ngiven buffer row.", - "description": "Returns a {String} representing the contents of the line at the\ngiven buffer row.\n\nrow - A {Number} representing a zero-indexed buffer row. " - }, - { - "name": "lineLengthForBufferRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L507", - "visibility": "Public", - "summary": "Returns a {Number} representing the line length for the given\nbuffer row, exclusive of its line-ending character(s).", - "description": "Returns a {Number} representing the line length for the given\nbuffer row, exclusive of its line-ending character(s).\n\nrow - A {Number} indicating the buffer row. " - }, - { - "name": "shouldPromptToSave", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L525", - "visibility": "Public", - "summary": "Determine whether the user should be prompted to save before closing\nthis editor. ", - "description": "Determine whether the user should be prompted to save before closing\nthis editor. " - }, - { - "name": "screenPositionForBufferPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L537", - "visibility": "Public", - "summary": "Convert a position in buffer-coordinates to screen-coordinates.", - "description": "Convert a position in buffer-coordinates to screen-coordinates.\n\nThe position is clipped via {::clipBufferPosition} prior to the conversion.\nThe position is also clipped via {::clipScreenPosition} following the\nconversion, which only makes a difference when `options` are supplied.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.", - "returnValues": [ - { - "type": "Point", - "description": "Returns a {Point}." - } - ] - }, - { - "name": "bufferPositionForScreenPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L547", - "visibility": "Public", - "summary": "Convert a position in screen-coordinates to buffer-coordinates.", - "description": "Convert a position in screen-coordinates to buffer-coordinates.\n\nThe position is clipped via {::clipScreenPosition} prior to the conversion.\n\nbufferPosition - A {Point} or {Array} of [row, column].\noptions - An options hash for {::clipScreenPosition}.", - "returnValues": [ - { - "type": "Point", - "description": "Returns a {Point}." - } - ] - }, - { - "name": "screenRangeForBufferRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L552", - "visibility": "Public", - "summary": "Convert a range in buffer-coordinates to screen-coordinates.", - "description": "Convert a range in buffer-coordinates to screen-coordinates.", - "returnValues": [ - { - "type": "Range", - "description": "Returns a {Range}." - } - ] - }, - { - "name": "bufferRangeForScreenRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L557", - "visibility": "Public", - "summary": "Convert a range in screen-coordinates to buffer-coordinates.", - "description": "Convert a range in screen-coordinates to buffer-coordinates.", - "returnValues": [ - { - "type": "Range", - "description": "Returns a {Range}." - } - ] - }, - { - "name": "clipScreenPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L574", - "visibility": "Public", - "summary": "Clip the given {Point} to a valid position on screen.", - "description": "Clip the given {Point} to a valid position on screen.\n\nIf the given {Point} describes a position that is actually reachable by the\ncursor based on the current contents of the screen, it is returned\nunchanged. If the {Point} does not describe a valid position, the closest\nvalid position is returned instead.\n\nFor example:\n\n* `[-1, -1]` is converted to `[0, 0]`.\n* If the line at screen row 2 is 10 long, `[2, Infinity]` is converted to\n `[2, 10]`.\n\nbufferPosition - The {Point} representing the position to clip.", - "returnValues": [ - { - "type": "Point", - "description": "Returns a {Point}." - } - ] - }, - { - "name": "scopesForBufferPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L606", - "visibility": "Public", - "summary": "Get the syntactic scopes for the given position in buffer\ncoordinates.", - "description": "Get the syntactic scopes for the given position in buffer\ncoordinates.\n\nFor example, if called with a position inside the parameter list of an\nanonymous CoffeeScript function, the method returns the following array:\n`[\"source.coffee\", \"meta.inline.function.coffee\", \"variable.parameter.function.coffee\"]`\n\nbufferPosition - A {Point} or {Array} of [row, column].", - "returnValues": [ - { - "type": "Array", - "description": "Returns an {Array} of {String}s." - } - ] - }, - { - "name": "bufferRangeForScopeAtCursor", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L615", - "visibility": "Public", - "summary": "Get the range in buffer coordinates of all tokens surrounding the\ncursor that match the given scope selector.", - "description": "Get the range in buffer coordinates of all tokens surrounding the\ncursor that match the given scope selector.\n\nFor example, if you wanted to find the string surrounding the cursor, you\ncould call `editor.bufferRangeForScopeAtCursor(\".string.quoted\")`.", - "returnValues": [ - { - "type": "Range", - "description": "Returns a {Range}." - } - ] - }, - { - "name": "getCursorScopes", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L625", - "visibility": "Public", - "summary": "Get the syntactic scopes for the most recently added cursor's\nposition. See {::scopesForBufferPosition} for more information.", - "description": "Get the syntactic scopes for the most recently added cursor's\nposition. See {::scopesForBufferPosition} for more information.", - "returnValues": [ - { - "type": "Array", - "description": "Returns an {Array} of {String}s." - } - ] - }, - { - "name": "insertText", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L634", - "visibility": "Public", - "summary": "For each selection, replace the selected text with the given text.", - "description": "For each selection, replace the selected text with the given text.\n\ntext - A {String} representing the text to insert.\noptions - See {Selection::insertText}. " - }, - { - "name": "insertNewline", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L640", - "visibility": "Public", - "summary": "For each selection, replace the selected text with a newline. ", - "description": "For each selection, replace the selected text with a newline. " - }, - { - "name": "insertNewlineBelow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L644", - "visibility": "Public", - "summary": "For each cursor, insert a newline at beginning the following line. ", - "description": "For each cursor, insert a newline at beginning the following line. " - }, - { - "name": "insertNewlineAbove", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L650", - "visibility": "Public", - "summary": "For each cursor, insert a newline at the end of the preceding line. ", - "description": "For each cursor, insert a newline at the end of the preceding line. " - }, - { - "name": "backspace", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L675", - "visibility": "Public", - "summary": "For each selection, if the selection is empty, delete the character\npreceding the cursor. Otherwise delete the selected text. ", - "description": "For each selection, if the selection is empty, delete the character\npreceding the cursor. Otherwise delete the selected text. " - }, - { - "name": "deleteToBeginningOfWord", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L691", - "visibility": "Public", - "summary": "For each selection, if the selection is empty, delete all characters\nof the containing word that precede the cursor. Otherwise delete the\nselected text. ", - "description": "For each selection, if the selection is empty, delete all characters\nof the containing word that precede the cursor. Otherwise delete the\nselected text. " - }, - { - "name": "deleteToBeginningOfLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L697", - "visibility": "Public", - "summary": "For each selection, if the selection is empty, delete all characters\nof the containing line that precede the cursor. Otherwise delete the\nselected text. ", - "description": "For each selection, if the selection is empty, delete all characters\nof the containing line that precede the cursor. Otherwise delete the\nselected text. " - }, - { - "name": "deleteToEndOfLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L709", - "visibility": "Public", - "summary": "For each selection, if the selection is not empty, deletes the\nselection; otherwise, deletes all characters of the containing line\nfollowing the cursor. If the cursor is already at the end of the line,\ndeletes the following newline. ", - "description": "For each selection, if the selection is not empty, deletes the\nselection; otherwise, deletes all characters of the containing line\nfollowing the cursor. If the cursor is already at the end of the line,\ndeletes the following newline. " - }, - { - "name": "deleteToEndOfWord", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L715", - "visibility": "Public", - "summary": "For each selection, if the selection is empty, delete all characters\nof the containing word following the cursor. Otherwise delete the selected\ntext. ", - "description": "For each selection, if the selection is empty, delete all characters\nof the containing word following the cursor. Otherwise delete the selected\ntext. " - }, - { - "name": "deleteLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L719", - "visibility": "Public", - "summary": "Delete all lines intersecting selections. ", - "description": "Delete all lines intersecting selections. " - }, - { - "name": "indentSelectedRows", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L723", - "visibility": "Public", - "summary": "Indent rows intersecting selections by one level. ", - "description": "Indent rows intersecting selections by one level. " - }, - { - "name": "outdentSelectedRows", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L727", - "visibility": "Public", - "summary": "Outdent rows intersecting selections by one level. ", - "description": "Outdent rows intersecting selections by one level. " - }, - { - "name": "toggleLineCommentsInSelection", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L735", - "visibility": "Public", - "summary": "Toggle line comments for rows intersecting selections.", - "description": "Toggle line comments for rows intersecting selections.\n\nIf the current grammar doesn't support comments, does nothing.", - "returnValues": [ - { - "type": "Array", - "description": "Returns an {Array} of the commented {Range}s." - } - ] - }, - { - "name": "autoIndentSelectedRows", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L740", - "visibility": "Public", - "summary": "Indent rows intersecting selections based on the grammar's suggested\nindent level. ", - "description": "Indent rows intersecting selections based on the grammar's suggested\nindent level. " - }, - { - "name": "cutToEndOfLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L752", - "visibility": "Public", - "summary": "For each selection, if the selection is empty, cut all characters\nof the containing line following the cursor. Otherwise cut the selected\ntext. ", - "description": "For each selection, if the selection is empty, cut all characters\nof the containing line following the cursor. Otherwise cut the selected\ntext. " - }, - { - "name": "cutSelectedText", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L759", - "visibility": "Public", - "summary": "For each selection, cut the selected text. ", - "description": "For each selection, cut the selected text. " - }, - { - "name": "copySelectedText", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L766", - "visibility": "Public", - "summary": "For each selection, copy the selected text. ", - "description": "For each selection, copy the selected text. " - }, - { - "name": "pasteText", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L780", - "visibility": "Public", - "summary": "For each selection, replace the selected text with the contents of\nthe clipboard.", - "description": "For each selection, replace the selected text with the contents of\nthe clipboard.\n\nIf the clipboard contains the same number of selections as the current\neditor, each selection will be replaced with the content of the\ncorresponding clipboard selection text.\n\noptions - See {Selection::insertText}. " - }, - { - "name": "undo", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L799", - "visibility": "Public", - "summary": "Undo the last change. ", - "description": "Undo the last change. " - }, - { - "name": "redo", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L804", - "visibility": "Public", - "summary": "Redo the last change. ", - "description": "Redo the last change. " - }, - { - "name": "foldCurrentRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L813", - "visibility": "Public", - "summary": "Fold the most recent cursor's row based on its indentation level.", - "description": "Fold the most recent cursor's row based on its indentation level.\n\nThe fold will extend from the nearest preceding line with a lower\nindentation level up to the nearest following row with a lower indentation\nlevel. " - }, - { - "name": "unfoldCurrentRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L818", - "visibility": "Public", - "summary": "Unfold the most recent cursor's row by one level. ", - "description": "Unfold the most recent cursor's row by one level. " - }, - { - "name": "foldSelectedLines", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L823", - "visibility": "Public", - "summary": "For each selection, fold the rows it intersects. ", - "description": "For each selection, fold the rows it intersects. " - }, - { - "name": "foldAll", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L827", - "visibility": "Public", - "summary": "Fold all foldable lines. ", - "description": "Fold all foldable lines. " - }, - { - "name": "unfoldAll", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L831", - "visibility": "Public", - "summary": "Unfold all existing folds. ", - "description": "Unfold all existing folds. " - }, - { - "name": "foldAllAtIndentLevel", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L837", - "visibility": "Public", - "summary": "Fold all foldable lines at the given indent level.", - "description": "Fold all foldable lines at the given indent level.\n\nlevel - A {Number}. " - }, - { - "name": "foldBufferRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L847", - "visibility": "Public", - "summary": "Fold the given row in buffer coordinates based on its indentation\nlevel.", - "description": "Fold the given row in buffer coordinates based on its indentation\nlevel.\n\nIf the given row is foldable, the fold will begin there. Otherwise, it will\nbegin at the first foldable row preceding the given row.\n\nbufferRow - A {Number}. " - }, - { - "name": "unfoldBufferRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L853", - "visibility": "Public", - "summary": "Unfold all folds containing the given row in buffer coordinates.", - "description": "Unfold all folds containing the given row in buffer coordinates.\n\nbufferRow - A {Number} " - }, - { - "name": "isFoldableAtBufferRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L863", - "visibility": "Public", - "summary": "Determine whether the given row in buffer coordinates is foldable.", - "description": "Determine whether the given row in buffer coordinates is foldable.\n\nA *foldable* row is a row that *starts* a row range that can be folded.\n\nbufferRow - A {Number}", - "returnValues": [ - { - "type": "Boolean", - "description": "Returns a {Boolean}." - } - ] - }, - { - "name": "toggleFoldAtBufferRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L885", - "visibility": "Public", - "summary": "Fold the given buffer row if it isn't currently folded, and unfold\nit otherwise. ", - "description": "Fold the given buffer row if it isn't currently folded, and unfold\nit otherwise. " - }, - { - "name": "isFoldedAtCursorRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L894", - "visibility": "Public", - "summary": "Determine whether the most recently added cursor's row is folded.", - "description": "Determine whether the most recently added cursor's row is folded.", - "returnValues": [ - { - "type": "Boolean", - "description": "Returns a {Boolean}." - } - ] - }, - { - "name": "isFoldedAtBufferRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L902", - "visibility": "Public", - "summary": "Determine whether the given row in buffer coordinates is folded.", - "description": "Determine whether the given row in buffer coordinates is folded.\n\nbufferRow - A {Number}", - "returnValues": [ - { - "type": "Boolean", - "description": "Returns a {Boolean}." - } - ] - }, - { - "name": "isFoldedAtScreenRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L910", - "visibility": "Public", - "summary": "Determine whether the given row in screen coordinates is folded.", - "description": "Determine whether the given row in screen coordinates is folded.\n\nscreenRow - A {Number}", - "returnValues": [ - { - "type": "Boolean", - "description": "Returns a {Boolean}." - } - ] - }, - { - "name": "mutateSelectedText", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1073", - "visibility": "Public", - "summary": "Mutate the text of all the selections in a single transaction.", - "description": "Mutate the text of all the selections in a single transaction.\n\nAll the changes made inside the given {Function} can be reverted with a\nsingle call to {::undo}.\n\nfn - A {Function} that will be called once for each {Selection}. The first\n argument will be a {Selection} and the second argument will be the\n {Number} index of that selection. " - }, - { - "name": "decorationsForScreenRowRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1097", - "visibility": "Public", - "summary": "Get all the decorations within a screen row range.", - "description": "Get all the decorations within a screen row range.\n\nstartScreenRow - the {Number} beginning screen row\nendScreenRow - the {Number} end screen row (inclusive)", - "returnValues": [ - { - "type": "Object", - "description": "Returns an {Object} of decorations in the form `{1: [{id: 10, type: 'gutter', class: 'someclass'}], 2: ...}` where the keys are {Marker} IDs, and the values are an array of decoration params objects attached to the marker." - }, - { - "type": null, - "description": "Returns an empty object when no decorations are found" - } - ] - }, - { - "name": "decorateMarker", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1138", - "visibility": "Public", - "summary": "Adds a decoration that tracks a {Marker}. When the marker moves,\nis invalidated, or is destroyed, the decoration will be updated to reflect\nthe marker's state.", - "description": "Adds a decoration that tracks a {Marker}. When the marker moves,\nis invalidated, or is destroyed, the decoration will be updated to reflect\nthe marker's state.\n\nThere are three types of supported decorations:", - "arguments": { - "description": "", - "list": [ - { - "name": "line", - "description": "Adds your CSS `class` to the line nodes within the range marked by the marker", - "type": null - }, - { - "name": "gutter", - "description": "Adds your CSS `class` to the line number nodes within the range marked by the marker", - "type": null - }, - { - "name": "highlight", - "description": "Adds a new highlight div to the editor surrounding the range marked by the marker. When the user selects text, the selection is visualized with a highlight decoration internally. The structure of this highlight will be: \n```html\n
    \">\n \n
    \n
    \n```", - "type": null - } - ] - }, - "returnValues": [ - { - "type": "Decoration", - "description": "Returns a {Decoration} object" - } - ] - }, - { - "name": "getMarker", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1145", - "visibility": "Public", - "summary": "Get the {DisplayBufferMarker} for the given marker id. ", - "description": "Get the {DisplayBufferMarker} for the given marker id. " - }, - { - "name": "getMarkers", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1149", - "visibility": "Public", - "summary": "Get all {DisplayBufferMarker}s. ", - "description": "Get all {DisplayBufferMarker}s. " - }, - { - "name": "findMarkers", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1171", - "visibility": "Public", - "summary": "Find all {DisplayBufferMarker}s that match the given properties.", - "description": "Find all {DisplayBufferMarker}s that match the given properties.\n\nThis method finds markers based on the given properties. Markers can be\nassociated with custom properties that will be compared with basic equality.\nIn addition, there are several special properties that will be compared\nwith the range of the markers rather than their properties.\n\nproperties - An {Object} containing properties that each returned marker\n must satisfy. Markers can be associated with custom properties, which are\n compared with basic equality. In addition, several reserved properties\n can be used to filter markers based on their current range:\n :startBufferRow - Only include markers starting at this row in buffer\n coordinates.\n :endBufferRow - Only include markers ending at this row in buffer\n coordinates.\n :containsBufferRange - Only include markers containing this {Range} or\n in range-compatible {Array} in buffer coordinates.\n :containsBufferPosition - Only include markers containing this {Point}\n or {Array} of `[row, column]` in buffer coordinates. " - }, - { - "name": "markScreenRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1180", - "visibility": "Public", - "summary": "Mark the given range in screen coordinates.", - "description": "Mark the given range in screen coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.", - "returnValues": [ - { - "type": "DisplayBufferMarker", - "description": "Returns a {DisplayBufferMarker}." - } - ] - }, - { - "name": "markBufferRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1189", - "visibility": "Public", - "summary": "Mark the given range in buffer coordinates.", - "description": "Mark the given range in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\noptions - See {TextBuffer::markRange}.", - "returnValues": [ - { - "type": "DisplayBufferMarker", - "description": "Returns a {DisplayBufferMarker}." - } - ] - }, - { - "name": "markScreenPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1198", - "visibility": "Public", - "summary": "Mark the given position in screen coordinates.", - "description": "Mark the given position in screen coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.", - "returnValues": [ - { - "type": "DisplayBufferMarker", - "description": "Returns a {DisplayBufferMarker}." - } - ] - }, - { - "name": "markBufferPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1207", - "visibility": "Public", - "summary": "Mark the given position in buffer coordinates.", - "description": "Mark the given position in buffer coordinates.\n\nposition - A {Point} or {Array} of `[row, column]`.\noptions - See {TextBuffer::markRange}.", - "returnValues": [ - { - "type": "DisplayBufferMarker", - "description": "Returns a {DisplayBufferMarker}." - } - ] - }, - { - "name": "getMarkerCount", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1217", - "visibility": "Public", - "summary": "Get the number of markers in this editor's buffer.", - "description": "Get the number of markers in this editor's buffer.", - "returnValues": [ - { - "type": "Number", - "description": "Returns a {Number}." - } - ] - }, - { - "name": "hasMultipleCursors", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1221", - "visibility": "Public", - "summary": "Determine if there are multiple cursors. ", - "description": "Determine if there are multiple cursors. " - }, - { - "name": "getCursors", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1225", - "visibility": "Public", - "summary": "Get an Array of all {Cursor}s. ", - "description": "Get an Array of all {Cursor}s. " - }, - { - "name": "getCursor", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1228", - "visibility": "Public", - "summary": "Get the most recently added {Cursor}. ", - "description": "Get the most recently added {Cursor}. " - }, - { - "name": "addCursorAtScreenPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1234", - "visibility": "Public", - "summary": "Add a cursor at the position in screen coordinates.", - "description": "Add a cursor at the position in screen coordinates.", - "returnValues": [ - { - "type": "Cursor", - "description": "Returns a {Cursor}." - } - ] - }, - { - "name": "addCursorAtBufferPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1241", - "visibility": "Public", - "summary": "Add a cursor at the given position in buffer coordinates.", - "description": "Add a cursor at the given position in buffer coordinates.", - "returnValues": [ - { - "type": "Cursor", - "description": "Returns a {Cursor}." - } - ] - }, - { - "name": "addSelectionForBufferRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1289", - "visibility": "Public", - "summary": "Add a selection for the given range in buffer coordinates.", - "description": "Add a selection for the given range in buffer coordinates.\n\nbufferRange - A {Range}\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation.", - "returnValues": [ - { - "type": "Selection", - "description": "Returns the added {Selection}." - } - ] - }, - { - "name": "setSelectedBufferRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1302", - "visibility": "Public", - "summary": "Set the selected range in buffer coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.", - "description": "Set the selected range in buffer coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nbufferRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - }, - { - "name": "setSelectedScreenRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1312", - "visibility": "Public", - "summary": "Set the selected range in screen coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.", - "description": "Set the selected range in screen coordinates. If there are multiple\nselections, they are reduced to a single selection with the given range.\n\nscreenRange - A {Range} or range-compatible {Array}.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - }, - { - "name": "setSelectedBufferRanges", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1322", - "visibility": "Public", - "summary": "Set the selected ranges in buffer coordinates. If there are multiple\nselections, they are replaced by new selections with the given ranges.", - "description": "Set the selected ranges in buffer coordinates. If there are multiple\nselections, they are replaced by new selections with the given ranges.\n\nbufferRanges - An {Array} of {Range}s or range-compatible {Array}s.\noptions - An options {Object}:\n :reversed - A {Boolean} indicating whether to create the selection in a\n reversed orientation. " - }, - { - "name": "getSelections", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1362", - "visibility": "Public", - "summary": "Get current {Selection}s.", - "description": "Get current {Selection}s.", - "returnValues": [ - { - "type": "Array", - "description": "Returns: An {Array} of {Selection}s." - } - ] - }, - { - "name": "getSelection", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1375", - "visibility": "Public", - "summary": "Get the most recent {Selection} or the selection at the given\nindex.", - "description": "Get the most recent {Selection} or the selection at the given\nindex.\n\nindex - Optional. The index of the selection to return, based on the order\n in which the selections were added.", - "returnValues": [ - { - "type": "Selection", - "description": "Returns a {Selection}. or the at the specified index." - } - ] - }, - { - "name": "getLastSelection", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1382", - "visibility": "Public", - "summary": "Get the most recently added {Selection}.", - "description": "Get the most recently added {Selection}.", - "returnValues": [ - { - "type": "Selection", - "description": "Returns a {Selection}." - } - ] - }, - { - "name": "getSelectionsOrderedByBufferPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1389", - "visibility": "Public", - "summary": "Get all {Selection}s, ordered by their position in the buffer\ninstead of the order in which they were added.", - "description": "Get all {Selection}s, ordered by their position in the buffer\ninstead of the order in which they were added.", - "returnValues": [ - { - "type": "Array", - "description": "Returns an {Array} of {Selection}s." - } - ] - }, - { - "name": "getLastSelectionInBuffer", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1395", - "visibility": "Public", - "summary": "Get the last {Selection} based on its position in the buffer.", - "description": "Get the last {Selection} based on its position in the buffer.", - "returnValues": [ - { - "type": "Selection", - "description": "Returns a {Selection}." - } - ] - }, - { - "name": "selectionIntersectsBufferRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1404", - "visibility": "Public", - "summary": "Determine if a given range in buffer coordinates intersects a\nselection.", - "description": "Determine if a given range in buffer coordinates intersects a\nselection.\n\nbufferRange - A {Range} or range-compatible {Array}.", - "returnValues": [ - { - "type": "Boolean", - "description": "Returns a {Boolean}." - } - ] - }, - { - "name": "setCursorScreenPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1416", - "visibility": "Public", - "summary": "Move the cursor to the given position in screen coordinates.", - "description": "Move the cursor to the given position in screen coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " - }, - { - "name": "getCursorScreenPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1423", - "visibility": "Public", - "summary": "Get the position of the most recently added cursor in screen\ncoordinates.", - "description": "Get the position of the most recently added cursor in screen\ncoordinates.", - "returnValues": [ - { - "type": "Point", - "description": "Returns a {Point}." - } - ] - }, - { - "name": "getCursorScreenRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1429", - "visibility": "Public", - "summary": "Get the row of the most recently added cursor in screen coordinates.", - "description": "Get the row of the most recently added cursor in screen coordinates.", - "returnValues": [ - { - "type": "Number", - "description": "Returns the screen row {Number}." - } - ] - }, - { - "name": "setCursorBufferPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1440", - "visibility": "Public", - "summary": "Move the cursor to the given position in buffer coordinates.", - "description": "Move the cursor to the given position in buffer coordinates.\n\nIf there are multiple cursors, they will be consolidated to a single cursor.\n\nposition - A {Point} or {Array} of `[row, column]`\noptions - An {Object} combining options for {::clipScreenPosition} with:\n :autoscroll - Determines whether the editor scrolls to the new cursor's\n position. Defaults to true. " - }, - { - "name": "getCursorBufferPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1447", - "visibility": "Public", - "summary": "Get the position of the most recently added cursor in buffer\ncoordinates.", - "description": "Get the position of the most recently added cursor in buffer\ncoordinates.", - "returnValues": [ - { - "type": "Point", - "description": "Returns a {Point}." - } - ] - }, - { - "name": "getSelectedScreenRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1454", - "visibility": "Public", - "summary": "Get the {Range} of the most recently added selection in screen\ncoordinates.", - "description": "Get the {Range} of the most recently added selection in screen\ncoordinates.", - "returnValues": [ - { - "type": "Range", - "description": "Returns a {Range}." - } - ] - }, - { - "name": "getSelectedBufferRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1461", - "visibility": "Public", - "summary": "Get the {Range} of the most recently added selection in buffer\ncoordinates.", - "description": "Get the {Range} of the most recently added selection in buffer\ncoordinates.", - "returnValues": [ - { - "type": "Range", - "description": "Returns a {Range}." - } - ] - }, - { - "name": "getSelectedBufferRanges", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1469", - "visibility": "Public", - "summary": "Get the {Range}s of all selections in buffer coordinates.", - "description": "Get the {Range}s of all selections in buffer coordinates.\n\nThe ranges are sorted by their position in the buffer.", - "returnValues": [ - { - "type": "Array", - "description": "Returns an {Array} of {Range}s." - } - ] - }, - { - "name": "getSelectedScreenRanges", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1477", - "visibility": "Public", - "summary": "Get the {Range}s of all selections in screen coordinates.", - "description": "Get the {Range}s of all selections in screen coordinates.\n\nThe ranges are sorted by their position in the buffer.", - "returnValues": [ - { - "type": "Array", - "description": "Returns an {Array} of {Range}s." - } - ] - }, - { - "name": "getSelectedText", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1483", - "visibility": "Public", - "summary": "Get the selected text of the most recently added selection.", - "description": "Get the selected text of the most recently added selection.", - "returnValues": [ - { - "type": "String", - "description": "Returns a {String}." - } - ] - }, - { - "name": "getTextInBufferRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1491", - "visibility": "Public", - "summary": "Get the text in the given {Range} in buffer coordinates.", - "description": "Get the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.", - "returnValues": [ - { - "type": "String", - "description": "Returns a {String}." - } - ] - }, - { - "name": "setTextInBufferRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1500", - "visibility": "Public", - "summary": "Set the text in the given {Range} in buffer coordinates.", - "description": "Set the text in the given {Range} in buffer coordinates.\n\nrange - A {Range} or range-compatible {Array}.\ntext - A {String}", - "returnValues": [ - { - "type": "Range", - "description": "Returns the {Range} of the newly-inserted text." - } - ] - }, - { - "name": "getCurrentParagraphBufferRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1506", - "visibility": "Public", - "summary": "Get the {Range} of the paragraph surrounding the most recently added\ncursor.", - "description": "Get the {Range} of the paragraph surrounding the most recently added\ncursor.", - "returnValues": [ - { - "type": "Range", - "description": "Returns a {Range}." - } - ] - }, - { - "name": "getWordUnderCursor", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1512", - "visibility": "Public", - "summary": "Returns the word surrounding the most recently added cursor.", - "description": "Returns the word surrounding the most recently added cursor.\n\noptions - See {Cursor::getBeginningOfCurrentWordBufferPosition}. " - }, - { - "name": "moveCursorUp", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1516", - "visibility": "Public", - "summary": "Move every cursor up one row in screen coordinates. ", - "description": "Move every cursor up one row in screen coordinates. " - }, - { - "name": "moveCursorDown", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1520", - "visibility": "Public", - "summary": "Move every cursor down one row in screen coordinates. ", - "description": "Move every cursor down one row in screen coordinates. " - }, - { - "name": "moveCursorLeft", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1524", - "visibility": "Public", - "summary": "Move every cursor left one column. ", - "description": "Move every cursor left one column. " - }, - { - "name": "moveCursorRight", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1528", - "visibility": "Public", - "summary": "Move every cursor right one column. ", - "description": "Move every cursor right one column. " - }, - { - "name": "moveCursorToTop", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1534", - "visibility": "Public", - "summary": "Move every cursor to the top of the buffer.", - "description": "Move every cursor to the top of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " - }, - { - "name": "moveCursorToBottom", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1540", - "visibility": "Public", - "summary": "Move every cursor to the bottom of the buffer.", - "description": "Move every cursor to the bottom of the buffer.\n\nIf there are multiple cursors, they will be merged into a single cursor. " - }, - { - "name": "moveCursorToBeginningOfScreenLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1544", - "visibility": "Public", - "summary": "Move every cursor to the beginning of its line in screen coordinates. ", - "description": "Move every cursor to the beginning of its line in screen coordinates. " - }, - { - "name": "moveCursorToBeginningOfLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1548", - "visibility": "Public", - "summary": "Move every cursor to the beginning of its line in buffer coordinates. ", - "description": "Move every cursor to the beginning of its line in buffer coordinates. " - }, - { - "name": "moveCursorToFirstCharacterOfLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1552", - "visibility": "Public", - "summary": "Move every cursor to the first non-whitespace character of its line. ", - "description": "Move every cursor to the first non-whitespace character of its line. " - }, - { - "name": "moveCursorToEndOfScreenLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1556", - "visibility": "Public", - "summary": "Move every cursor to the end of its line in screen coordinates. ", - "description": "Move every cursor to the end of its line in screen coordinates. " - }, - { - "name": "moveCursorToEndOfLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1560", - "visibility": "Public", - "summary": "Move every cursor to the end of its line in buffer coordinates. ", - "description": "Move every cursor to the end of its line in buffer coordinates. " - }, - { - "name": "moveCursorToBeginningOfWord", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1564", - "visibility": "Public", - "summary": "Move every cursor to the beginning of its surrounding word. ", - "description": "Move every cursor to the beginning of its surrounding word. " - }, - { - "name": "moveCursorToEndOfWord", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1568", - "visibility": "Public", - "summary": "Move every cursor to the end of its surrounding word. ", - "description": "Move every cursor to the end of its surrounding word. " - }, - { - "name": "moveCursorToBeginningOfNextWord", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1572", - "visibility": "Public", - "summary": "Move every cursor to the beginning of the next word. ", - "description": "Move every cursor to the beginning of the next word. " - }, - { - "name": "moveCursorToPreviousWordBoundary", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1576", - "visibility": "Public", - "summary": "Move every cursor to the previous word boundary. ", - "description": "Move every cursor to the previous word boundary. " - }, - { - "name": "moveCursorToNextWordBoundary", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1580", - "visibility": "Public", - "summary": "Move every cursor to the next word boundary. ", - "description": "Move every cursor to the next word boundary. " - }, - { - "name": "moveCursorToBeginningOfNextParagraph", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1584", - "visibility": "Public", - "summary": "Move every cursor to the beginning of the next paragraph. ", - "description": "Move every cursor to the beginning of the next paragraph. " - }, - { - "name": "moveCursorToBeginningOfPreviousParagraph", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1588", - "visibility": "Public", - "summary": "Move every cursor to the beginning of the previous paragraph. ", - "description": "Move every cursor to the beginning of the previous paragraph. " - }, - { - "name": "scrollToCursorPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1597", - "visibility": "Public", - "summary": "Scroll the editor to reveal the most recently added cursor if it is\noff-screen.", - "description": "Scroll the editor to reveal the most recently added cursor if it is\noff-screen.\n\noptions - An optional hash of options.\n :center - Center the editor around the cursor if possible. Defauls to\n true. " - }, - { - "name": "selectToScreenPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1637", - "visibility": "Public", - "summary": "Select from the current cursor position to the given position in\nscreen coordinates.", - "description": "Select from the current cursor position to the given position in\nscreen coordinates.\n\nThis method may merge selections that end up intesecting.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - }, - { - "name": "selectRight", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1646", - "visibility": "Public", - "summary": "Move the cursor of each selection one character rightward while\npreserving the selection's tail position.", - "description": "Move the cursor of each selection one character rightward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - }, - { - "name": "selectLeft", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1653", - "visibility": "Public", - "summary": "Move the cursor of each selection one character leftward while\npreserving the selection's tail position.", - "description": "Move the cursor of each selection one character leftward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - }, - { - "name": "selectUp", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1660", - "visibility": "Public", - "summary": "Move the cursor of each selection one character upward while\npreserving the selection's tail position.", - "description": "Move the cursor of each selection one character upward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - }, - { - "name": "selectDown", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1667", - "visibility": "Public", - "summary": "Move the cursor of each selection one character downward while\npreserving the selection's tail position.", - "description": "Move the cursor of each selection one character downward while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - }, - { - "name": "selectToTop", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1674", - "visibility": "Public", - "summary": "Select from the top of the buffer to the end of the last selection\nin the buffer.", - "description": "Select from the top of the buffer to the end of the last selection\nin the buffer.\n\nThis method merges multiple selections into a single selection. " - }, - { - "name": "selectAll", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1680", - "visibility": "Public", - "summary": "Select all text in the buffer.", - "description": "Select all text in the buffer.\n\nThis method merges multiple selections into a single selection. " - }, - { - "name": "selectToBottom", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1687", - "visibility": "Public", - "summary": "Selects from the top of the first selection in the buffer to the end\nof the buffer.", - "description": "Selects from the top of the first selection in the buffer to the end\nof the buffer.\n\nThis method merges multiple selections into a single selection. " - }, - { - "name": "selectToBeginningOfLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1694", - "visibility": "Public", - "summary": "Move the cursor of each selection to the beginning of its line\nwhile preserving the selection's tail position.", - "description": "Move the cursor of each selection to the beginning of its line\nwhile preserving the selection's tail position.\n\nThis method may merge selections that end up intesecting. " - }, - { - "name": "selectToFirstCharacterOfLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1703", - "visibility": "Public", - "summary": "Move the cursor of each selection to the first non-whitespace\ncharacter of its line while preserving the selection's tail position. If the\ncursor is already on the first character of the line, move it to the\nbeginning of the line.", - "description": "Move the cursor of each selection to the first non-whitespace\ncharacter of its line while preserving the selection's tail position. If the\ncursor is already on the first character of the line, move it to the\nbeginning of the line.\n\nThis method may merge selections that end up intersecting. " - }, - { - "name": "selectToEndOfLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1710", - "visibility": "Public", - "summary": "Move the cursor of each selection to the end of its line while\npreserving the selection's tail position.", - "description": "Move the cursor of each selection to the end of its line while\npreserving the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - }, - { - "name": "selectToPreviousWordBoundary", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1717", - "visibility": "Public", - "summary": "For each selection, move its cursor to the preceding word boundary\nwhile maintaining the selection's tail position.", - "description": "For each selection, move its cursor to the preceding word boundary\nwhile maintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - }, - { - "name": "selectToNextWordBoundary", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1724", - "visibility": "Public", - "summary": "For each selection, move its cursor to the next word boundary while\nmaintaining the selection's tail position.", - "description": "For each selection, move its cursor to the next word boundary while\nmaintaining the selection's tail position.\n\nThis method may merge selections that end up intersecting. " - }, - { - "name": "selectLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1730", - "visibility": "Public", - "summary": "For each cursor, select the containing line.", - "description": "For each cursor, select the containing line.\n\nThis method merges selections on successive lines. " - }, - { - "name": "addSelectionBelow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1741", - "visibility": "Public", - "summary": "Add a similarly-shaped selection to the next eligible line below\neach selection.", - "description": "Add a similarly-shaped selection to the next eligible line below\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next following non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " - }, - { - "name": "addSelectionAbove", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1752", - "visibility": "Public", - "summary": "Add a similarly-shaped selection to the next eligible line above\neach selection.", - "description": "Add a similarly-shaped selection to the next eligible line above\neach selection.\n\nOperates on all selections. If the selection is empty, adds an empty\nselection to the next preceding non-empty line as close to the current\nselection's column as possible. If the selection is non-empty, adds a\nselection to the next line that is long enough for a non-empty selection\nstarting at the same column as the current selection to be added to it. " - }, - { - "name": "splitSelectionsIntoLines", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1760", - "visibility": "Public", - "summary": "Split multi-line selections into one selection per line.", - "description": "Split multi-line selections into one selection per line.\n\nOperates on all selections. This method breaks apart all multi-line\nselections to create multiple single-line selections that cumulatively cover\nthe same original area. " - }, - { - "name": "transpose", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1777", - "visibility": "Public", - "summary": "For each selection, transpose the selected text.", - "description": "For each selection, transpose the selected text.\n\nIf the selection is empty, the characters preceding and following the cursor\nare swapped. Otherwise, the selected characters are reversed. " - }, - { - "name": "upperCase", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1792", - "visibility": "Public", - "summary": "Convert the selected text to upper case.", - "description": "Convert the selected text to upper case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " - }, - { - "name": "lowerCase", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1799", - "visibility": "Public", - "summary": "Convert the selected text to lower case.", - "description": "Convert the selected text to lower case.\n\nFor each selection, if the selection is empty, converts the containing word\nto upper case. Otherwise convert the selected text to upper case. " - }, - { - "name": "selectToBeginningOfWord", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1817", - "visibility": "Public", - "summary": "Expand selections to the beginning of their containing word.", - "description": "Expand selections to the beginning of their containing word.\n\nOperates on all selections. Moves the cursor to the beginning of the\ncontaining word while preserving the selection's tail position. " - }, - { - "name": "selectToEndOfWord", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1824", - "visibility": "Public", - "summary": "Expand selections to the end of their containing word.", - "description": "Expand selections to the end of their containing word.\n\nOperates on all selections. Moves the cursor to the end of the containing\nword while preserving the selection's tail position. " - }, - { - "name": "selectToBeginningOfNextWord", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1831", - "visibility": "Public", - "summary": "Expand selections to the beginning of the next word.", - "description": "Expand selections to the beginning of the next word.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nword while preserving the selection's tail position. " - }, - { - "name": "selectWord", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1835", - "visibility": "Public", - "summary": "Select the word containing each cursor. ", - "description": "Select the word containing each cursor. " - }, - { - "name": "selectToBeginningOfNextParagraph", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1842", - "visibility": "Public", - "summary": "Expand selections to the beginning of the next paragraph.", - "description": "Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " - }, - { - "name": "selectToBeginningOfPreviousParagraph", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1849", - "visibility": "Public", - "summary": "Expand selections to the beginning of the next paragraph.", - "description": "Expand selections to the beginning of the next paragraph.\n\nOperates on all selections. Moves the cursor to the beginning of the next\nparagraph while preserving the selection's tail position. " - }, - { - "name": "selectMarker", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1857", - "visibility": "Public", - "summary": "Select the range of the given marker if it is valid.", - "description": "Select the range of the given marker if it is valid.\n\nmarker - A {DisplayBufferMarker}", - "returnValues": [ - { - "type": "Range", - "description": "Returns the selected {Range} or `undefined` if the marker is invalid." - } - ] - }, - { - "name": "getGrammar", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1920", - "visibility": "Public", - "summary": "Get the current {Grammar} of this editor. ", - "description": "Get the current {Grammar} of this editor. " - }, - { - "name": "setGrammar", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1927", - "visibility": "Public", - "summary": "Set the current {Grammar} of this editor.", - "description": "Set the current {Grammar} of this editor.\n\nAssigning a grammar will cause the editor to re-tokenize based on the new\ngrammar. " - }, - { - "name": "transact", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1945", - "visibility": "Public", - "summary": "Batch multiple operations as a single undo/redo step.", - "description": "Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " - }, - { - "name": "beginTransaction", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1953", - "visibility": "Public", - "summary": "Start an open-ended transaction.", - "description": "Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " - }, - { - "name": "commitTransaction", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1959", - "visibility": "Public", - "summary": "Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.", - "description": "Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " - }, - { - "name": "abortTransaction", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/editor.coffee#L1963", - "visibility": "Public", - "summary": "Abort an open transaction, undoing any operations performed so far\nwithin the transaction. ", - "description": "Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " - } - ], - "visibility": "Public", - "summary": "This class represents all essential editing state for a single\n{TextBuffer}, including cursor and selection positions, folds, and soft wraps.\nIf you're manipulating the state of an editor, use this class. If you're\ninterested in the visual appearance of editors, use {EditorView} instead.", - "description": "This class represents all essential editing state for a single\n{TextBuffer}, including cursor and selection positions, folds, and soft wraps.\nIf you're manipulating the state of an editor, use this class. If you're\ninterested in the visual appearance of editors, use {EditorView} instead.\n\nA single {TextBuffer} can belong to multiple editors. For example, if the\nsame file is open in two different panes, Atom creates a separate editor for\neach pane. If the buffer is manipulated the changes are reflected in both\neditors, but each maintains its own cursor position, folded lines, etc.\n\n## Accessing Editor Instances\n\nThe easiest way to get hold of `Editor` objects is by registering a callback\nwith `::eachEditor` on the `atom.workspace` global. Your callback will then\nbe called with all current editor instances and also when any editor is\ncreated in the future.\n\n```coffeescript\n atom.workspace.eachEditor (editor) ->\n editor.insertText('Hello World')\n```\n\n## Buffer vs. Screen Coordinates\n\nBecause editors support folds and soft-wrapping, the lines on screen don't\nalways match the lines in the buffer. For example, a long line that soft wraps\ntwice renders as three lines on screen, but only represents one line in the\nbuffer. Similarly, if rows 5-10 are folded, then row 6 on screen corresponds\nto row 11 in the buffer.\n\nYour choice of coordinates systems will depend on what you're trying to\nachieve. For example, if you're writing a command that jumps the cursor up or\ndown by 10 lines, you'll want to use screen coordinates because the user\nprobably wants to skip lines *on screen*. However, if you're writing a package\nthat jumps between method definitions, you'll want to work in buffer\ncoordinates.\n\n**When in doubt, just default to buffer coordinates**, then experiment with\nsoft wraps and folds to ensure your code interacts with them correctly.\n\n## Common Tasks\n\nThis is a subset of methods on this class. Refer to the complete summary for\nits full capabilities.\n\n### Cursors\n\n* {::setCursorBufferPosition}\n* {::setCursorScreenPosition}\n* {::moveCursorUp}\n* {::moveCursorDown}\n* {::moveCursorLeft}\n* {::moveCursorRight}\n* {::moveCursorToBeginningOfWord}\n* {::moveCursorToEndOfWord}\n* {::moveCursorToPreviousWordBoundary}\n* {::moveCursorToNextWordBoundary}\n* {::moveCursorToBeginningOfNextWord}\n* {::moveCursorToBeginningOfLine}\n* {::moveCursorToEndOfLine}\n* {::moveCursorToFirstCharacterOfLine}\n* {::moveCursorToTop}\n* {::moveCursorToBottom}\n\n### Selections\n\n* {::getSelectedBufferRange}\n* {::getSelectedBufferRanges}\n* {::setSelectedBufferRange}\n* {::setSelectedBufferRanges}\n* {::selectUp}\n* {::selectDown}\n* {::selectLeft}\n* {::selectRight}\n* {::selectToBeginningOfWord}\n* {::selectToEndOfWord}\n* {::selectToPreviousWordBoundary}\n* {::selectToNextWordBoundary}\n* {::selectWord}\n* {::selectToBeginningOfLine}\n* {::selectToEndOfLine}\n* {::selectToFirstCharacterOfLine}\n* {::selectToTop}\n* {::selectToBottom}\n* {::selectAll}\n* {::addSelectionForBufferRange}\n* {::addSelectionAbove}\n* {::addSelectionBelow}\n* {::splitSelectionsIntoLines}\n\n### Manipulating Text\n\n* {::getText}\n* {::getSelectedText}\n* {::setText}\n* {::setTextInBufferRange}\n* {::insertText}\n* {::insertNewline}\n* {::insertNewlineAbove}\n* {::insertNewlineBelow}\n* {::backspace}\n* {::deleteToBeginningOfWord}\n* {::deleteToBeginningOfLine}\n* {::delete}\n* {::deleteToEndOfLine}\n* {::deleteToEndOfWord}\n* {::deleteLine}\n* {::cutSelectedText}\n* {::cutToEndOfLine}\n* {::copySelectedText}\n* {::pasteText}\n\n### Undo, Redo, and Transactions\n\n* {::undo}\n* {::redo}\n* {::transact}\n* {::abortTransaction}\n\n### Markers\n\n* {::markBufferRange}\n* {::markScreenRange}\n* {::getMarker}\n* {::findMarkers}\n\n### Decorations\n\n* {::decorateMarker}\n* {::decorationsForScreenRowRange} " - }, - "Git": { - "name": "Git", - "filename": "src/git.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L41", - "sections": [], - "classMethods": [ - { - "name": "open", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L53", - "visibility": "Public", - "summary": "Creates a new Git instance.", - "description": "Creates a new Git instance.\n\npath - The path to the Git repository to open.\noptions - An object with the following keys (default: {}):\n :refreshOnWindowFocus - `true` to refresh the index and statuses when the\n window is focused.", - "returnValues": [ - { - "type": null, - "description": "Returns a Git instance or null if the repository could not be opened." - } - ] - } - ], - "instanceMethods": [ - { - "name": "destroy", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L98", - "visibility": "Public", - "summary": "Destroy this `Git` object. This destroys any tasks and subscriptions\nand releases the underlying libgit2 repository handle. ", - "description": "Destroy this `Git` object. This destroys any tasks and subscriptions\nand releases the underlying libgit2 repository handle. " - }, - { - "name": "getPath", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L121", - "visibility": "Public", - "summary": "Returns the {String} path of the repository. ", - "description": "Returns the {String} path of the repository. " - }, - { - "name": "getWorkingDirectory", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L125", - "visibility": "Public", - "summary": "Returns the {String} working directory path of the repository. ", - "description": "Returns the {String} working directory path of the repository. " - }, - { - "name": "getPathStatus", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L133", - "visibility": "Public", - "summary": "Get the status of a single path in the repository.", - "description": "Get the status of a single path in the repository.\n\npath - A {String} repository-relative path.", - "returnValues": [ - { - "type": "Number", - "description": "Returns a {Number} representing the status. This value can be passed to {::isStatusModified} or {::isStatusNew} to get more information." - } - ] - }, - { - "name": "isPathIgnored", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L150", - "visibility": "Public", - "summary": "Is the given path ignored?", - "description": "Is the given path ignored?", - "returnValues": [ - { - "type": "Boolean", - "description": "Returns a {Boolean}." - } - ] - }, - { - "name": "isStatusModified", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L153", - "visibility": "Public", - "summary": "Returns true if the given status indicates modification. ", - "description": "Returns true if the given status indicates modification. " - }, - { - "name": "isPathModified", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L156", - "visibility": "Public", - "summary": "Returns true if the given path is modified. ", - "description": "Returns true if the given path is modified. " - }, - { - "name": "isStatusNew", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L159", - "visibility": "Public", - "summary": "Returns true if the given status indicates a new path. ", - "description": "Returns true if the given status indicates a new path. " - }, - { - "name": "isPathNew", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L162", - "visibility": "Public", - "summary": "Returns true if the given path is new. ", - "description": "Returns true if the given path is new. " - }, - { - "name": "isProjectAtRoot", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L166", - "visibility": "Public", - "summary": "Returns true if at the root, false if in a subfolder of the\nrepository. ", - "description": "Returns true if at the root, false if in a subfolder of the\nrepository. " - }, - { - "name": "relativize", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L170", - "visibility": "Public", - "summary": "Makes a path relative to the repository's working directory. ", - "description": "Makes a path relative to the repository's working directory. " - }, - { - "name": "getShortHead", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L182", - "visibility": "Public", - "summary": "Retrieves a shortened version of the HEAD reference value.", - "description": "Retrieves a shortened version of the HEAD reference value.\n\nThis removes the leading segments of `refs/heads`, `refs/tags`, or\n`refs/remotes`. It also shortens the SHA-1 of a detached `HEAD` to 7\ncharacters.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository contains submodules.", - "returnValues": [ - { - "type": "String", - "description": "Returns a {String}." - } - ] - }, - { - "name": "checkoutHead", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L197", - "visibility": "Public", - "summary": "Restore the contents of a path in the working directory and index\nto the version at `HEAD`.", - "description": "Restore the contents of a path in the working directory and index\nto the version at `HEAD`.\n\nThis is essentially the same as running:\n\n```\ngit reset HEAD -- \ngit checkout HEAD -- \n```\n\npath - The {String} path to checkout.", - "returnValues": [ - { - "type": "Boolean", - "description": "Returns a {Boolean} that's true if the method was successful." - } - ] - }, - { - "name": "checkoutReference", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L210", - "visibility": "Public", - "summary": "Checks out a branch in your repository.", - "description": "Checks out a branch in your repository.\n\nreference - The String reference to checkout\ncreate - A Boolean value which, if true creates the new reference if it\n doesn't exist.", - "returnValues": [ - { - "type": null, - "description": "Returns a Boolean that's true if the method was successful." - } - ] - }, - { - "name": "getDiffStats", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L223", - "visibility": "Public", - "summary": "Retrieves the number of lines added and removed to a path.", - "description": "Retrieves the number of lines added and removed to a path.\n\nThis compares the working directory contents of the path to the `HEAD`\nversion.\n\npath - The {String} path to check.", - "returnValues": [ - { - "type": "Object", - "description": "Returns an {Object} with the following keys: :added - The {Number} of added lines. :deleted - The {Number} of deleted lines." - } - ] - }, - { - "name": "isSubmodule", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L232", - "visibility": "Public", - "summary": "Is the given path a submodule in the repository?", - "description": "Is the given path a submodule in the repository?\n\npath - The {String} path to check.", - "returnValues": [ - { - "type": "Boolean", - "description": "Returns a {Boolean}." - } - ] - }, - { - "name": "getDirectoryStatus", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L248", - "visibility": "Public", - "summary": "Get the status of a directory in the repository's working directory.", - "description": "Get the status of a directory in the repository's working directory.\n\npath - The {String} path to check.", - "returnValues": [ - { - "type": "Number", - "description": "Returns a {Number} representing the status. This value can be passed to {::isStatusModified} or {::isStatusNew} to get more information." - } - ] - }, - { - "name": "getLineDiffs", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L266", - "visibility": "Public", - "summary": "Retrieves the line diffs comparing the `HEAD` version of the given\npath and the given text.", - "description": "Retrieves the line diffs comparing the `HEAD` version of the given\npath and the given text.\n\npath - The {String} path relative to the repository.\ntext - The {String} to compare against the `HEAD` contents", - "returnValues": [ - { - "type": "Array", - "description": "Returns an {Array} of hunk {Object}s with the following keys: :oldStart - The line {Number} of the old hunk. :newStart - The line {Number} of the new hunk. :oldLines - The {Number} of lines in the old hunk. :newLines - The {Number} of lines in the new hunk" - } - ] - }, - { - "name": "getConfigValue", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L277", - "visibility": "Public", - "summary": "Returns the git configuration value specified by the key.", - "description": "Returns the git configuration value specified by the key.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " - }, - { - "name": "getOriginUrl", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L283", - "visibility": "Public", - "summary": "Returns the origin url of the repository.", - "description": "Returns the origin url of the repository.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules. " - }, - { - "name": "getUpstreamBranch", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L292", - "visibility": "Public", - "summary": "Returns the upstream branch for the current HEAD, or null if there\nis no upstream branch for the current HEAD.", - "description": "Returns the upstream branch for the current HEAD, or null if there\nis no upstream branch for the current HEAD.\n\npath - An optional {String} path in the repo to get this information for,\n only needed if the repository contains submodules.", - "returnValues": [ - { - "type": "String", - "description": "Returns a {String} branch name such as `refs/remotes/origin/master`." - } - ] - }, - { - "name": "getReferenceTarget", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L299", - "visibility": "Public", - "summary": "Returns the current SHA for the given reference.", - "description": "Returns the current SHA for the given reference.\n\nreference - The {String} reference to get the target of.\npath - An optional {String} path in the repo to get the reference target\n for. Only needed if the repository contains submodules. " - }, - { - "name": "getReferences", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L311", - "visibility": "Public", - "summary": "Gets all the local and remote references.", - "description": "Gets all the local and remote references.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.", - "returnValues": [ - { - "type": "Object", - "description": "Returns an {Object} with the following keys: :heads - An {Array} of head reference names. :remotes - An {Array} of remote reference names. :tags - An {Array} of tag reference names." - } - ] - }, - { - "name": "getAheadBehindCount", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L319", - "visibility": "Public", - "summary": "Returns the number of commits behind the current branch is from the\nits upstream remote branch.", - "description": "Returns the number of commits behind the current branch is from the\nits upstream remote branch.\n\nreference - The {String} branch reference name.\npath - The {String} path in the repository to get this information for,\n only needed if the repository contains submodules. " - }, - { - "name": "getCachedUpstreamAheadBehindCount", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L331", - "visibility": "Public", - "summary": "Get the cached ahead/behind commit counts for the current branch's\nupstream branch.", - "description": "Get the cached ahead/behind commit counts for the current branch's\nupstream branch.\n\npath - An optional {String} path in the repository to get this information\n for, only needed if the repository has submodules.", - "returnValues": [ - { - "type": "Object", - "description": "Returns an {Object} with the following keys: :ahead - The {Number} of commits ahead. :behind - The {Number} of commits behind." - } - ] - }, - { - "name": "getCachedPathStatus", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L339", - "visibility": "Public", - "summary": "Get the cached status for the given path.", - "description": "Get the cached status for the given path.\n\npath - A {String} path in the repository, relative or absolute.", - "returnValues": [ - { - "type": "Number", - "description": "Returns a status {Number} or null if the path is not in the cache." - } - ] - }, - { - "name": "hasBranch", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/git.coffee#L343", - "visibility": "Public", - "summary": "Returns true if the given branch exists. ", - "description": "Returns true if the given branch exists. " - } - ], - "visibility": "Public", - "summary": "Represents the underlying git operations performed by Atom.", - "description": "Represents the underlying git operations performed by Atom.\n\nThis class shouldn't be instantiated directly but instead by accessing the\n`atom.project` global and calling `getRepo()`. Note that this will only be\navailable when the project is backed by a Git repository.\n\nThis class handles submodules automatically by taking a `path` argument to many\nof the methods. This `path` argument will determine which underlying\nrepository is used.\n\nFor a repository with submodules this would have the following outcome:\n\n```coffee\nrepo = atom.project.getRepo()\nrepo.getShortHead() # 'master'\nrepo.getShortHead('vendor/path/to/a/submodule') # 'dead1234'\n```\n\n## Example\n\n```coffeescript\ngit = atom.project.getRepo()\nconsole.log git.getOriginUrl()\n```\n\n## Requiring in packages\n\n```coffee\n {Git} = require 'atom'\n```" - }, - "MenuManager": { - "name": "MenuManager", - "filename": "src/menu-manager.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/menu-manager.coffee#L13", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "add", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/menu-manager.coffee#L38", - "visibility": "Public", - "summary": "Adds the given item definition to the existing template.", - "description": "Adds the given item definition to the existing template.\n\n## Example\n\n```coffee\n atom.menu.add [\n {\n label: 'Hello'\n submenu : [{label: 'World!', command: 'hello:world'}]\n }\n ]\n```\n\nitems - An {Array} of menu item {Object}s containing the keys:\n :label - The {String} menu label.\n :submenu - An optional {Array} of sub menu items.\n :command - An optional {String} command to trigger when the item is\n clicked.", - "returnValues": [ - { - "type": null, - "description": "Returns nothing." - } - ] - }, - { - "name": "update", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/menu-manager.coffee#L80", - "visibility": "Public", - "summary": "Refreshes the currently visible menu. ", - "description": "Refreshes the currently visible menu. " - } - ], - "visibility": "Public", - "summary": "Provides a registry for menu items that you'd like to appear in the\napplication menu.", - "description": "Provides a registry for menu items that you'd like to appear in the\napplication menu.\n\nAn instance of this class is always available as the `atom.menu` global. " - }, - "PackageManager": { - "name": "PackageManager", - "filename": "src/package-manager.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L27", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "getApmPath", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L45", - "visibility": "Public", - "summary": "Get the path to the apm command ", - "description": "Get the path to the apm command " - }, - { - "name": "getPackageDirPaths", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L53", - "visibility": "Public", - "summary": "Get the paths being used to look for packages.", - "description": "Get the paths being used to look for packages.", - "returnValues": [ - { - "type": null, - "description": "Returns an Array of String directory paths." - } - ] - }, - { - "name": "enablePackage", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L63", - "visibility": "Public", - "summary": "Enable the package with the given name ", - "description": "Enable the package with the given name " - }, - { - "name": "disablePackage", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L69", - "visibility": "Public", - "summary": "Disable the package with the given name ", - "description": "Disable the package with the given name " - }, - { - "name": "getActivePackages", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L114", - "visibility": "Public", - "summary": "Get an array of all the active packages ", - "description": "Get an array of all the active packages " - }, - { - "name": "getActivePackage", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L118", - "visibility": "Public", - "summary": "Get the active package with the given name ", - "description": "Get the active package with the given name " - }, - { - "name": "isPackageActive", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L122", - "visibility": "Public", - "summary": "Is the package with the given name active? ", - "description": "Is the package with the given name active? " - }, - { - "name": "getLoadedPackage", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L183", - "visibility": "Public", - "summary": "Get the loaded package with the given name ", - "description": "Get the loaded package with the given name " - }, - { - "name": "isPackageLoaded", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L187", - "visibility": "Public", - "summary": "Is the package with the given name loaded? ", - "description": "Is the package with the given name loaded? " - }, - { - "name": "getLoadedPackages", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L191", - "visibility": "Public", - "summary": "Get an array of all the loaded packages ", - "description": "Get an array of all the loaded packages " - }, - { - "name": "resolvePackagePath", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L201", - "visibility": "Public", - "summary": "Resolve the given package name to a path on disk. ", - "description": "Resolve the given package name to a path on disk. " - }, - { - "name": "isPackageDisabled", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L211", - "visibility": "Public", - "summary": "Is the package with the given name disabled? ", - "description": "Is the package with the given name disabled? " - }, - { - "name": "isBundledPackage", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L219", - "visibility": "Public", - "summary": "Is the package with the given name bundled with Atom? ", - "description": "Is the package with the given name bundled with Atom? " - }, - { - "name": "getAvailablePackagePaths", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L232", - "visibility": "Public", - "summary": "Get an array of all the available package paths. ", - "description": "Get an array of all the available package paths. " - }, - { - "name": "getAvailablePackageNames", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L247", - "visibility": "Public", - "summary": "Get an array of all the available package names. ", - "description": "Get an array of all the available package names. " - }, - { - "name": "getAvailablePackageMetadata", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/package-manager.coffee#L251", - "visibility": "Public", - "summary": "Get an array of all the available package metadata. ", - "description": "Get an array of all the available package metadata. " - } - ], - "visibility": "Public", - "summary": "Package manager for coordinating the lifecycle of Atom packages.", - "description": "Package manager for coordinating the lifecycle of Atom packages.\n\nAn instance of this class is always available as the `atom.packages` global.\n\nPackages can be loaded, activated, and deactivated, and unloaded:\n\n* Loading a package reads and parses the package's metadata and resources\n such as keymaps, menus, stylesheets, etc.\n* Activating a package registers the loaded resources and calls `activate()`\n on the package's main module.\n* Deactivating a package unregisters the package's resources and calls\n `deactivate()` on the package's main module.\n* Unloading a package removes it completely from the package manager.\n\nPackages can also be enabled/disabled via the `core.disabledPackages` config\nsettings and also by calling `enablePackage()/disablePackage()`. " - }, - "PaneView": { - "name": "PaneView", - "superClass": "View", - "filename": "src/pane-view.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane-view.coffee#L15", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "getNextPane", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane-view.coffee#L134", - "visibility": "Public", - "summary": "Returns the next pane, ordered by creation. ", - "description": "Returns the next pane, ordered by creation. " - }, - { - "name": "getContainer", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane-view.coffee#L211", - "visibility": "Public", - "summary": "Get the container view housing this pane.", - "description": "Get the container view housing this pane.", - "returnValues": [ - { - "type": "View", - "description": "Returns a {View}." - } - ] - } - ], - "visibility": "Public", - "summary": "A container which can contains multiple items to be switched between.", - "description": "A container which can contains multiple items to be switched between.\n\nItems can be almost anything however most commonly they're {EditorView}s.\n\nMost packages won't need to use this class, unless you're interested in\nbuilding a package that deals with switching between panes or items. " - }, - "Pane": { - "name": "Pane", - "superClass": "Model", - "filename": "src/pane.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L12", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "activate", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L74", - "visibility": "Public", - "summary": "Makes this pane the *active* pane, causing it to gain focus\nimmediately. ", - "description": "Makes this pane the *active* pane, causing it to gain focus\nimmediately. " - }, - { - "name": "getItems", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L83", - "visibility": "Public", - "summary": "Get the items in this pane.", - "description": "Get the items in this pane.", - "returnValues": [ - { - "type": "Array", - "description": "Returns an {Array} of items." - } - ] - }, - { - "name": "getActiveItem", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L89", - "visibility": "Public", - "summary": "Get the active pane item in this pane.", - "description": "Get the active pane item in this pane.", - "returnValues": [ - { - "type": null, - "description": "Returns a pane item." - } - ] - }, - { - "name": "getActiveEditor", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L94", - "visibility": "Public", - "summary": "Returns an {Editor} if the pane item is an {Editor}, or null\notherwise. ", - "description": "Returns an {Editor} if the pane item is an {Editor}, or null\notherwise. " - }, - { - "name": "itemAtIndex", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L98", - "visibility": "Public", - "summary": "Returns the item at the specified index. ", - "description": "Returns the item at the specified index. " - }, - { - "name": "activateNextItem", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L102", - "visibility": "Public", - "summary": "Makes the next item active. ", - "description": "Makes the next item active. " - }, - { - "name": "activatePreviousItem", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L110", - "visibility": "Public", - "summary": "Makes the previous item active. ", - "description": "Makes the previous item active. " - }, - { - "name": "addItem", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L138", - "visibility": "Public", - "summary": "Adds the item to the pane.", - "description": "Adds the item to the pane.\n\nitem - The item to add. It can be a model with an associated view or a view.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.", - "returnValues": [ - { - "type": null, - "description": "Returns the added item" - } - ] - }, - { - "name": "addItems", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L155", - "visibility": "Public", - "summary": "Adds the given items to the pane.", - "description": "Adds the given items to the pane.\n\nitems - An {Array} of items to add. Items can be models with associated\n views or views. Any items that are already present in items will\n not be added.\nindex - An optional index at which to add the item. If omitted, the item is\n added after the current active item.", - "returnValues": [ - { - "type": "Array", - "description": "Returns an {Array} of the added items" - } - ] - }, - { - "name": "moveItem", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L176", - "visibility": "Public", - "summary": "Moves the given item to the specified index. ", - "description": "Moves the given item to the specified index. " - }, - { - "name": "moveItemToPane", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L183", - "visibility": "Public", - "summary": "Moves the given item to the given index at another pane. ", - "description": "Moves the given item to the given index at another pane. " - }, - { - "name": "destroyActiveItem", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L188", - "visibility": "Public", - "summary": "Destroys the currently active item and make the next item active. ", - "description": "Destroys the currently active item and make the next item active. " - }, - { - "name": "destroyItem", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L194", - "visibility": "Public", - "summary": "Destroys the given item. If it is the active item, activate the next\none. If this is the last item, also destroys the pane. ", - "description": "Destroys the given item. If it is the active item, activate the next\none. If this is the last item, also destroys the pane. " - }, - { - "name": "destroyItems", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L205", - "visibility": "Public", - "summary": "Destroys all items and destroys the pane. ", - "description": "Destroys all items and destroys the pane. " - }, - { - "name": "destroyInactiveItems", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L209", - "visibility": "Public", - "summary": "Destroys all items but the active one. ", - "description": "Destroys all items but the active one. " - }, - { - "name": "promptToSaveItem", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L225", - "visibility": "Public", - "summary": "Prompts the user to save the given item if it can be saved and is\ncurrently unsaved. ", - "description": "Prompts the user to save the given item if it can be saved and is\ncurrently unsaved. " - }, - { - "name": "saveActiveItem", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L240", - "visibility": "Public", - "summary": "Saves the active item. ", - "description": "Saves the active item. " - }, - { - "name": "saveActiveItemAs", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L244", - "visibility": "Public", - "summary": "Saves the active item at a prompted-for location. ", - "description": "Saves the active item at a prompted-for location. " - }, - { - "name": "saveItem", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L252", - "visibility": "Public", - "summary": "Saves the specified item.", - "description": "Saves the specified item.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " - }, - { - "name": "saveItemAs", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L264", - "visibility": "Public", - "summary": "Saves the given item at a prompted-for location.", - "description": "Saves the given item at a prompted-for location.\n\nitem - The item to save.\nnextAction - An optional function which will be called after the item is\n saved. " - }, - { - "name": "saveItems", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L274", - "visibility": "Public", - "summary": "Saves all items. ", - "description": "Saves all items. " - }, - { - "name": "itemForUri", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L279", - "visibility": "Public", - "summary": "Returns the first item that matches the given URI or undefined if\nnone exists. ", - "description": "Returns the first item that matches the given URI or undefined if\nnone exists. " - }, - { - "name": "activateItemForUri", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L284", - "visibility": "Public", - "summary": "Activates the first item that matches the given URI. Returns a\nboolean indicating whether a matching item was found. ", - "description": "Activates the first item that matches the given URI. Returns a\nboolean indicating whether a matching item was found. " - }, - { - "name": "splitLeft", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L301", - "visibility": "Public", - "summary": "Creates a new pane to the left of the receiver.", - "description": "Creates a new pane to the left of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.", - "returnValues": [ - { - "type": "Pane", - "description": "Returns the new {Pane}." - } - ] - }, - { - "name": "splitRight", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L310", - "visibility": "Public", - "summary": "Creates a new pane to the right of the receiver.", - "description": "Creates a new pane to the right of the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.", - "returnValues": [ - { - "type": "Pane", - "description": "Returns the new {Pane}." - } - ] - }, - { - "name": "splitUp", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L319", - "visibility": "Public", - "summary": "Creates a new pane above the receiver.", - "description": "Creates a new pane above the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.", - "returnValues": [ - { - "type": "Pane", - "description": "Returns the new {Pane}." - } - ] - }, - { - "name": "splitDown", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/pane.coffee#L328", - "visibility": "Public", - "summary": "Creates a new pane below the receiver.", - "description": "Creates a new pane below the receiver.\n\nparams - An object with keys:\n :items - An optional array of items with which to construct the new pane.", - "returnValues": [ - { - "type": "Pane", - "description": "Returns the new {Pane}." - } - ] - } - ], - "visibility": "Public", - "summary": "A container for multiple items, one of which is *active* at a given\ntime. With the default packages, a tab is displayed for each item and the\nactive item's view is displayed. ", - "description": "A container for multiple items, one of which is *active* at a given\ntime. With the default packages, a tab is displayed for each item and the\nactive item's view is displayed. " - }, - "Project": { - "name": "Project", - "superClass": "Model", - "filename": "src/project.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L22", - "sections": [], - "classMethods": [ - { - "name": "pathForRepositoryUrl", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L27", - "visibility": "Public", - "summary": "Find the local path for the given repository URL. ", - "description": "Find the local path for the given repository URL. " - } - ], - "instanceMethods": [ - { - "name": "getRepo", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L62", - "visibility": "Public", - "summary": "Returns the {Git} repository if available. ", - "description": "Returns the {Git} repository if available. " - }, - { - "name": "getPath", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L65", - "visibility": "Public", - "summary": "Returns the project's fullpath. ", - "description": "Returns the project's fullpath. " - }, - { - "name": "setPath", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L69", - "visibility": "Public", - "summary": "Sets the project's fullpath. ", - "description": "Sets the project's fullpath. " - }, - { - "name": "getRootDirectory", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L86", - "visibility": "Public", - "summary": "Returns the root {Directory} object for this project. ", - "description": "Returns the root {Directory} object for this project. " - }, - { - "name": "resolve", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L96", - "visibility": "Public", - "summary": "Given a uri, this resolves it relative to the project directory. If\nthe path is already absolute or if it is prefixed with a scheme, it is\nreturned unchanged.", - "description": "Given a uri, this resolves it relative to the project directory. If\nthe path is already absolute or if it is prefixed with a scheme, it is\nreturned unchanged.\n\nuri - The {String} name of the path to convert.", - "returnValues": [ - { - "type": "String", - "description": "Returns a {String} or undefined if the uri is not missing or empty." - } - ] - }, - { - "name": "relativize", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L110", - "visibility": "Public", - "summary": "Make the given path relative to the project directory. ", - "description": "Make the given path relative to the project directory. " - }, - { - "name": "contains", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L115", - "visibility": "Public", - "summary": "Returns whether the given path is inside this project. ", - "description": "Returns whether the given path is inside this project. " - }, - { - "name": "scan", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L222", - "visibility": "Public", - "summary": "Performs a search across all the files in the project.", - "description": "Performs a search across all the files in the project.\n\nregex - A {RegExp} to search with.\noptions - An optional options {Object} (default: {}):\n :paths - An {Array} of glob patterns to search within\niterator - A {Function} callback on each file found " - }, - { - "name": "replace", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/project.coffee#L269", - "visibility": "Public", - "summary": "Performs a replace across all the specified files in the project.", - "description": "Performs a replace across all the specified files in the project.\n\nregex - A {RegExp} to search with.\nreplacementText - Text to replace all matches of regex with\nfilePaths - List of file path strings to run the replace on.\niterator - A {Function} callback on each file with replacements:\n `({filePath, replacements}) ->`. " - } - ], - "visibility": "Public", - "summary": "Represents a project that's opened in Atom.", - "description": "Represents a project that's opened in Atom.\n\nAn instance of this class is always available as the `atom.project` global. " - }, - "ScrollView": { - "name": "ScrollView", - "superClass": "View", - "filename": "src/scroll-view.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/scroll-view.coffee#L22", - "sections": [], - "classMethods": [], - "instanceMethods": [], - "visibility": "Public", - "summary": "Represents a view that scrolls.", - "description": "Represents a view that scrolls.\n\nSubclasses must call `super` if overriding the `initialize` method or else\nthe following events won't be handled by the ScrollView.", - "events": { - "description": "* `core:move-up`\n* `core:move-down`\n* `core:page-up`\n* `core:page-down`\n* `core:move-to-top`\n* `core:move-to-bottom`\n\n## Requiring in packages\n\n```coffee\n {ScrollView} = require 'atom'\n```", - "list": [] - } - }, - "SelectListView": { - "name": "SelectListView", - "superClass": "View", - "filename": "src/select-list-view.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L37", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "initialize", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L56", - "visibility": "Public", - "summary": "Initialize the select list view.", - "description": "Initialize the select list view.\n\nThis method can be overridden by subclasses but `super` should always\nbe called. " - }, - { - "name": "setItems", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L103", - "visibility": "Public", - "summary": "Set the array of items to display in the list.", - "description": "Set the array of items to display in the list.\n\nThis should be model items not actual views. {::viewForItem} will be\ncalled to render the item when it is being appended to the list view.\n\nitems - The {Array} of model items to display in the list (default: []). " - }, - { - "name": "setError", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L110", - "visibility": "Public", - "summary": "Set the error message to display.", - "description": "Set the error message to display.\n\nmessage - The {String} error message (default: ''). " - }, - { - "name": "setLoading", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L120", - "visibility": "Public", - "summary": "Set the loading message to display.", - "description": "Set the loading message to display.\n\nmessage - The {String} loading message (default: ''). " - }, - { - "name": "getFilterQuery", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L137", - "visibility": "Public", - "summary": "Get the filter query to use when fuzzy filtering the visible\nelements.", - "description": "Get the filter query to use when fuzzy filtering the visible\nelements.\n\nBy default this method returns the text in the mini editor but it can be\noverridden by subclasses if needed.", - "returnValues": [ - { - "type": "String", - "description": "Returns a {String} to use when fuzzy filtering the elements to display." - } - ] - }, - { - "name": "populateList", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L144", - "visibility": "Public", - "summary": "Populate the list view with the model items previously set by\ncalling {::setItems}.", - "description": "Populate the list view with the model items previously set by\ncalling {::setItems}.\n\nSubclasses may override this method but should always call `super`. " - }, - { - "name": "getEmptyMessage", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L175", - "visibility": "Public", - "summary": "Get the message to display when there are no items.", - "description": "Get the message to display when there are no items.\n\nSubclasses may override this method to customize the message.\n\nitemCount - The {Number} of items in the array specified to {::setItems}\nfilteredItemCount - The {Number} of items that pass the fuzzy filter test.", - "returnValues": [ - { - "type": "String", - "description": "Returns a {String} message (default: 'No matches found')." - } - ] - }, - { - "name": "setMaxItems", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L180", - "visibility": "Public", - "summary": "Set the maximum numbers of items to display in the list.", - "description": "Set the maximum numbers of items to display in the list.\n\nmaxItems - The maximum {Number} of items to display. " - }, - { - "name": "getSelectedItem", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L214", - "visibility": "Public", - "summary": "Get the model item that is currently selected in the list view.", - "description": "Get the model item that is currently selected in the list view.", - "returnValues": [ - { - "type": null, - "description": "Returns a model item." - } - ] - }, - { - "name": "viewForItem", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L234", - "visibility": "Public", - "summary": "Create a view for the given model item.", - "description": "Create a view for the given model item.\n\nThis method must be overridden by subclasses.\n\nThis is called when the item is about to appended to the list view.\n\nitem - The model item being rendered. This will always be one of the items\n previously passed to {::setItems}.", - "returnValues": [ - { - "type": null, - "description": "Returns a String of HTML, DOM element, jQuery object, or View." - } - ] - }, - { - "name": "confirmed", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L245", - "visibility": "Public", - "summary": "Callback function for when an item is selected.", - "description": "Callback function for when an item is selected.\n\nThis method must be overridden by subclasses.\n\nitem - The selected model item. This will always be one of the items\n previously passed to {::setItems}.", - "returnValues": [ - { - "type": "View", - "description": "Returns a DOM element, jQuery object, or {View}." - } - ] - }, - { - "name": "getFilterKey", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L259", - "visibility": "Public", - "summary": "Get the property name to use when filtering items.", - "description": "Get the property name to use when filtering items.\n\nThis method may be overridden by classes to allow fuzzy filtering based\non a specific property of the item objects.\n\nFor example if the objects you pass to {::setItems} are of the type\n`{\"id\": 3, \"name\": \"Atom\"}` then you would return `\"name\"` from this method\nto fuzzy filter by that property when text is entered into this view's\neditor.", - "returnValues": [ - { - "type": null, - "description": "Returns the property name to fuzzy filter by." - } - ] - }, - { - "name": "focusFilterEditor", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L262", - "visibility": "Public", - "summary": "Focus the fuzzy filter editor view. ", - "description": "Focus the fuzzy filter editor view. " - }, - { - "name": "storeFocusedElement", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L267", - "visibility": "Public", - "summary": "Store the currently focused element. This element will be given\nback focus when {::cancel} is called. ", - "description": "Store the currently focused element. This element will be given\nback focus when {::cancel} is called. " - }, - { - "name": "cancel", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/select-list-view.coffee#L284", - "visibility": "Public", - "summary": "Cancel and close this select list view.", - "description": "Cancel and close this select list view.\n\nThis restores focus to the previously focused element if\n{::storeFocusedElement} was called prior to this view being attached. " - } - ], - "visibility": "Public", - "summary": "Provides a view that renders a list of items with an editor that\nfilters the items. Used by many packages such as the fuzzy-finder,\ncommand-palette, symbols-view and autocomplete.", - "description": "Provides a view that renders a list of items with an editor that\nfilters the items. Used by many packages such as the fuzzy-finder,\ncommand-palette, symbols-view and autocomplete.\n\nSubclasses must implement the following methods:\n\n* {::viewForItem}\n* {::confirmed}\n\n## Requiring in packages\n\n```coffee\n{SelectListView} = require 'atom'\n\nclass MySelectListView extends SelectListView\n initialize: ->\n super\n @addClass('overlay from-top')\n @setItems(['Hello', 'World'])\n atom.workspaceView.append(this)\n @focusFilterEditor()\n\n viewForItem: (item) ->\n \"
  • #{item}
  • \"\n\n confirmed: (item) ->\n console.log(\"#{item} was selected\")\n```" - }, - "Selection": { - "name": "Selection", - "superClass": "Model", - "filename": "src/selection.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L7", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "isEmpty", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L39", - "visibility": "Public", - "summary": "Determines if the selection contains anything. ", - "description": "Determines if the selection contains anything. " - }, - { - "name": "isReversed", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L46", - "visibility": "Public", - "summary": "Determines if the ending position of a marker is greater than the\nstarting position.", - "description": "Determines if the ending position of a marker is greater than the\nstarting position.\n\nThis can happen when, for example, you highlight text \"up\" in a {TextBuffer}. " - }, - { - "name": "isSingleScreenLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L50", - "visibility": "Public", - "summary": "Returns whether the selection is a single line or not. ", - "description": "Returns whether the selection is a single line or not. " - }, - { - "name": "getScreenRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L54", - "visibility": "Public", - "summary": "Returns the screen {Range} for the selection. ", - "description": "Returns the screen {Range} for the selection. " - }, - { - "name": "setScreenRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L61", - "visibility": "Public", - "summary": "Modifies the screen range for the selection.", - "description": "Modifies the screen range for the selection.\n\nscreenRange - The new {Range} to use.\noptions - A hash of options matching those found in {::setBufferRange}. " - }, - { - "name": "getBufferRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L65", - "visibility": "Public", - "summary": "Returns the buffer {Range} for the selection. ", - "description": "Returns the buffer {Range} for the selection. " - }, - { - "name": "setBufferRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L75", - "visibility": "Public", - "summary": "Modifies the buffer {Range} for the selection.", - "description": "Modifies the buffer {Range} for the selection.\n\nscreenRange - The new {Range} to select.\noptions - An {Object} with the keys:\n :preserveFolds - if `true`, the fold settings are preserved after the\n selection moves.\n :autoscroll - if `true`, the {Editor} scrolls to the new selection. " - }, - { - "name": "getBufferRowRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L92", - "visibility": "Public", - "summary": "Returns the starting and ending buffer rows the selection is\nhighlighting.", - "description": "Returns the starting and ending buffer rows the selection is\nhighlighting.", - "returnValues": [ - { - "type": "Array", - "description": "Returns an {Array} of two {Number}s: the starting row, and the ending row." - } - ] - }, - { - "name": "getText", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L115", - "visibility": "Public", - "summary": "Returns the text in the selection. ", - "description": "Returns the text in the selection. " - }, - { - "name": "clear", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L119", - "visibility": "Public", - "summary": "Clears the selection, moving the marker to the head. ", - "description": "Clears the selection, moving the marker to the head. " - }, - { - "name": "selectWord", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L127", - "visibility": "Public", - "summary": "Modifies the selection to encompass the current word.", - "description": "Modifies the selection to encompass the current word.", - "returnValues": [ - { - "type": "Range", - "description": "Returns a {Range}." - } - ] - }, - { - "name": "expandOverWord", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L139", - "visibility": "Public", - "summary": "Expands the newest selection to include the entire word on which\nthe cursors rests. ", - "description": "Expands the newest selection to include the entire word on which\nthe cursors rests. " - }, - { - "name": "selectLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L145", - "visibility": "Public", - "summary": "Selects an entire line in the buffer.", - "description": "Selects an entire line in the buffer.\n\nrow - The line {Number} to select (default: the row of the cursor). " - }, - { - "name": "expandOverLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L156", - "visibility": "Public", - "summary": "Expands the newest selection to include the entire line on which\nthe cursor currently rests.", - "description": "Expands the newest selection to include the entire line on which\nthe cursor currently rests.\n\nIt also includes the newline character. " - }, - { - "name": "selectToScreenPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L164", - "visibility": "Public", - "summary": "Selects the text from the current cursor position to a given screen\nposition.", - "description": "Selects the text from the current cursor position to a given screen\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - }, - { - "name": "selectToBufferPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L185", - "visibility": "Public", - "summary": "Selects the text from the current cursor position to a given buffer\nposition.", - "description": "Selects the text from the current cursor position to a given buffer\nposition.\n\nposition - An instance of {Point}, with a given `row` and `column`. " - }, - { - "name": "selectRight", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L189", - "visibility": "Public", - "summary": "Selects the text one position right of the cursor. ", - "description": "Selects the text one position right of the cursor. " - }, - { - "name": "selectLeft", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L193", - "visibility": "Public", - "summary": "Selects the text one position left of the cursor. ", - "description": "Selects the text one position left of the cursor. " - }, - { - "name": "selectUp", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L197", - "visibility": "Public", - "summary": "Selects all the text one position above the cursor. ", - "description": "Selects all the text one position above the cursor. " - }, - { - "name": "selectDown", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L201", - "visibility": "Public", - "summary": "Selects all the text one position below the cursor. ", - "description": "Selects all the text one position below the cursor. " - }, - { - "name": "selectToTop", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L206", - "visibility": "Public", - "summary": "Selects all the text from the current cursor position to the top of\nthe buffer. ", - "description": "Selects all the text from the current cursor position to the top of\nthe buffer. " - }, - { - "name": "selectToBottom", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L211", - "visibility": "Public", - "summary": "Selects all the text from the current cursor position to the bottom\nof the buffer. ", - "description": "Selects all the text from the current cursor position to the bottom\nof the buffer. " - }, - { - "name": "selectAll", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L215", - "visibility": "Public", - "summary": "Selects all the text in the buffer. ", - "description": "Selects all the text in the buffer. " - }, - { - "name": "selectToBeginningOfLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L220", - "visibility": "Public", - "summary": "Selects all the text from the current cursor position to the\nbeginning of the line. ", - "description": "Selects all the text from the current cursor position to the\nbeginning of the line. " - }, - { - "name": "selectToFirstCharacterOfLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L225", - "visibility": "Public", - "summary": "Selects all the text from the current cursor position to the first\ncharacter of the line. ", - "description": "Selects all the text from the current cursor position to the first\ncharacter of the line. " - }, - { - "name": "selectToEndOfLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L230", - "visibility": "Public", - "summary": "Selects all the text from the current cursor position to the end of\nthe line. ", - "description": "Selects all the text from the current cursor position to the end of\nthe line. " - }, - { - "name": "selectToBeginningOfWord", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L235", - "visibility": "Public", - "summary": "Selects all the text from the current cursor position to the\nbeginning of the word. ", - "description": "Selects all the text from the current cursor position to the\nbeginning of the word. " - }, - { - "name": "selectToEndOfWord", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L240", - "visibility": "Public", - "summary": "Selects all the text from the current cursor position to the end of\nthe word. ", - "description": "Selects all the text from the current cursor position to the end of\nthe word. " - }, - { - "name": "selectToBeginningOfNextWord", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L245", - "visibility": "Public", - "summary": "Selects all the text from the current cursor position to the\nbeginning of the next word. ", - "description": "Selects all the text from the current cursor position to the\nbeginning of the next word. " - }, - { - "name": "selectToPreviousWordBoundary", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L249", - "visibility": "Public", - "summary": "Selects text to the previous word boundary. ", - "description": "Selects text to the previous word boundary. " - }, - { - "name": "selectToNextWordBoundary", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L253", - "visibility": "Public", - "summary": "Selects text to the next word boundary. ", - "description": "Selects text to the next word boundary. " - }, - { - "name": "selectToBeginningOfNextParagraph", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L258", - "visibility": "Public", - "summary": "Selects all the text from the current cursor position to the\nbeginning of the next paragraph. ", - "description": "Selects all the text from the current cursor position to the\nbeginning of the next paragraph. " - }, - { - "name": "selectToBeginningOfPreviousParagraph", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L263", - "visibility": "Public", - "summary": "Selects all the text from the current cursor position to the\nbeginning of the previous paragraph. ", - "description": "Selects all the text from the current cursor position to the\nbeginning of the previous paragraph. " - }, - { - "name": "addSelectionBelow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L267", - "visibility": "Public", - "summary": "Moves the selection down one row. ", - "description": "Moves the selection down one row. " - }, - { - "name": "addSelectionAbove", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L290", - "visibility": "Public", - "summary": "Moves the selection up one row. ", - "description": "Moves the selection up one row. " - }, - { - "name": "insertText", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L317", - "visibility": "Public", - "summary": "Replaces text at the current selection.", - "description": "Replaces text at the current selection.\n\ntext - A {String} representing the text to add\noptions - An {Object} with keys:\n :select - if `true`, selects the newly added text.\n :autoIndent - if `true`, indents all inserted text appropriately.\n :autoIndentNewline - if `true`, indent newline appropriately.\n :autoDecreaseIndent - if `true`, decreases indent level appropriately\n (for example, when a closing bracket is inserted).\n :undo - if `skip`, skips the undo stack for this operation. " - }, - { - "name": "normalizeIndents", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L350", - "visibility": "Public", - "summary": "Indents the given text to the suggested level based on the grammar.", - "description": "Indents the given text to the suggested level based on the grammar.\n\ntext - The {String} to indent within the selection.\nindentBasis - The beginning indent level. " - }, - { - "name": "indentSelectedRows", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L400", - "visibility": "Public", - "summary": "If the selection spans multiple rows, indent all of them. ", - "description": "If the selection spans multiple rows, indent all of them. " - }, - { - "name": "setIndentationForLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L406", - "visibility": "Public", - "summary": "? ", - "description": "? " - }, - { - "name": "backspace", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L413", - "visibility": "Public", - "summary": "Removes the first character before the selection if the selection\nis empty otherwise it deletes the selection. ", - "description": "Removes the first character before the selection if the selection\nis empty otherwise it deletes the selection. " - }, - { - "name": "deleteToBeginningOfWord", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L429", - "visibility": "Public", - "summary": "Removes from the start of the selection to the beginning of the\ncurrent word if the selection is empty otherwise it deletes the selection. ", - "description": "Removes from the start of the selection to the beginning of the\ncurrent word if the selection is empty otherwise it deletes the selection. " - }, - { - "name": "deleteToBeginningOfLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L435", - "visibility": "Public", - "summary": "Removes from the beginning of the line which the selection begins on\nall the way through to the end of the selection. ", - "description": "Removes from the beginning of the line which the selection begins on\nall the way through to the end of the selection. " - }, - { - "name": "deleteToEndOfLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L456", - "visibility": "Public", - "summary": "If the selection is empty, removes all text from the cursor to the\nend of the line. If the cursor is already at the end of the line, it\nremoves the following newline. If the selection isn't empty, only deletes\nthe contents of the selection. ", - "description": "If the selection is empty, removes all text from the cursor to the\nend of the line. If the cursor is already at the end of the line, it\nremoves the following newline. If the selection isn't empty, only deletes\nthe contents of the selection. " - }, - { - "name": "deleteToEndOfWord", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L463", - "visibility": "Public", - "summary": "Removes the selection or all characters from the start of the\nselection to the end of the current word if nothing is selected. ", - "description": "Removes the selection or all characters from the start of the\nselection to the end of the current word if nothing is selected. " - }, - { - "name": "deleteSelectedText", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L468", - "visibility": "Public", - "summary": "Removes only the selected text. ", - "description": "Removes only the selected text. " - }, - { - "name": "deleteLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L478", - "visibility": "Public", - "summary": "Removes the line at the beginning of the selection if the selection\nis empty unless the selection spans multiple lines in which case all lines\nare removed. ", - "description": "Removes the line at the beginning of the selection if the selection\nis empty unless the selection spans multiple lines in which case all lines\nare removed. " - }, - { - "name": "joinLines", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L497", - "visibility": "Public", - "summary": "Joins the current line with the one below it.", - "description": "Joins the current line with the one below it.\n\nIf there selection spans more than one line, all the lines are joined together. " - }, - { - "name": "outdentSelectedRows", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L523", - "visibility": "Public", - "summary": "Removes one level of indent from the currently selected rows. ", - "description": "Removes one level of indent from the currently selected rows. " - }, - { - "name": "autoIndentSelectedRows", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L533", - "visibility": "Public", - "summary": "Sets the indentation level of all selected rows to values suggested\nby the relevant grammars. ", - "description": "Sets the indentation level of all selected rows to values suggested\nby the relevant grammars. " - }, - { - "name": "toggleLineComments", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L543", - "visibility": "Public", - "summary": "Wraps the selected lines in comments if they aren't currently part\nof a comment.", - "description": "Wraps the selected lines in comments if they aren't currently part\nof a comment.\n\nRemoves the comment if they are currently wrapped in a comment.", - "returnValues": [ - { - "type": "Range", - "description": "Returns an Array of the commented {Range}s." - } - ] - }, - { - "name": "cutToEndOfLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L547", - "visibility": "Public", - "summary": "Cuts the selection until the end of the line. ", - "description": "Cuts the selection until the end of the line. " - }, - { - "name": "cut", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L552", - "visibility": "Public", - "summary": "Copies the selection to the clipboard and then deletes it. ", - "description": "Copies the selection to the clipboard and then deletes it. " - }, - { - "name": "copy", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L562", - "visibility": "Public", - "summary": "Copies the current selection to the clipboard.", - "description": "Copies the current selection to the clipboard.\n\nIf the `maintainClipboard` is set to `true`, a specific metadata property\nis created to store each content copied to the clipboard. The clipboard\n`text` still contains the concatenation of the clipboard with the\ncurrent selection. " - }, - { - "name": "fold", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L580", - "visibility": "Public", - "summary": "Creates a fold containing the current selection. ", - "description": "Creates a fold containing the current selection. " - }, - { - "name": "intersectsBufferRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L604", - "visibility": "Public", - "summary": "Identifies if a selection intersects with a given buffer range.", - "description": "Identifies if a selection intersects with a given buffer range.\n\nbufferRange - A {Range} to check against.", - "returnValues": [ - { - "type": null, - "description": "Returns a Boolean." - } - ] - }, - { - "name": "intersectsWith", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L618", - "visibility": "Public", - "summary": "Identifies if a selection intersects with another selection.", - "description": "Identifies if a selection intersects with another selection.\n\notherSelection - A {Selection} to check against.", - "returnValues": [ - { - "type": null, - "description": "Returns a Boolean." - } - ] - }, - { - "name": "merge", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L626", - "visibility": "Public", - "summary": "Combines the given selection into this selection and then destroys\nthe given selection.", - "description": "Combines the given selection into this selection and then destroys\nthe given selection.\n\notherSelection - A {Selection} to merge with.\noptions - A hash of options matching those found in {::setBufferRange}. " - }, - { - "name": "compare", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/selection.coffee#L642", - "visibility": "Public", - "summary": "Compare this selection's buffer range to another selection's buffer\nrange.", - "description": "Compare this selection's buffer range to another selection's buffer\nrange.\n\nSee {Range::compare} for more details.\n\notherSelection - A {Selection} to compare against. " - } - ], - "visibility": "Public", - "summary": "Represents a selection in the {Editor}. ", - "description": "Represents a selection in the {Editor}. " - }, - "Syntax": { - "name": "Syntax", - "superClass": "GrammarRegistry", - "filename": "src/syntax.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/syntax.coffee#L19", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "getProperty", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/syntax.coffee#L68", - "visibility": "Public", - "summary": "Get a property for the given scope and key path.", - "description": "Get a property for the given scope and key path.\n\n## Example\n\n```coffee\ncomment = atom.syntax.getProperty(['.source.ruby'], 'editor.commentStart')\nconsole.log(comment) # '# '\n```\n\nscope - An {Array} of {String} scopes.\nkeyPath - A {String} key path.", - "returnValues": [ - { - "type": "String", - "description": "Returns a {String} property value or undefined." - } - ] - } - ], - "visibility": "Public", - "summary": "Syntax class holding the grammars used for tokenizing.", - "description": "Syntax class holding the grammars used for tokenizing.\n\nAn instance of this class is always available as the `atom.syntax` global.\n\nThe Syntax class also contains properties for things such as the\nlanguage-specific comment regexes. " - }, - "Task": { - "name": "Task", - "filename": "src/task.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/task.coffee#L22", - "sections": [], - "classMethods": [ - { - "name": "once", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/task.coffee#L30", - "visibility": "Public", - "summary": "A helper method to easily launch and run a task once.", - "description": "A helper method to easily launch and run a task once.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file which\n exports a single {Function} to execute.\nargs - The arguments to pass to the exported function. " - } - ], - "instanceMethods": [ - { - "name": "constructor", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/task.coffee#L48", - "visibility": "Public", - "summary": "Creates a task.", - "description": "Creates a task.\n\ntaskPath - The {String} path to the CoffeeScript/JavaScript file that\n exports a single {Function} to execute. " - }, - { - "name": "start", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/task.coffee#L83", - "visibility": "Public", - "summary": "Starts the task.", - "description": "Starts the task.\n\nargs - The arguments to pass to the function exported by this task's script.\ncallback - An optional {Function} to call when the task completes. " - }, - { - "name": "send", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/task.coffee#L96", - "visibility": "Public", - "summary": "Send message to the task.", - "description": "Send message to the task.\n\nmessage - The message to send to the task. " - }, - { - "name": "terminate", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/task.coffee#L103", - "visibility": "Public", - "summary": "Forcefully stop the running task.", - "description": "Forcefully stop the running task.\n\nNo events are emitted. " - } - ], - "visibility": "Public", - "summary": "Run a node script in a separate process.", - "description": "Run a node script in a separate process.\n\nUsed by the fuzzy-finder.", - "events": { - "description": "* task:log - Emitted when console.log is called within the task.\n* task:warn - Emitted when console.warn is called within the task.\n* task:error - Emitted when console.error is called within the task.\n* task:completed - Emitted when the task has succeeded or failed.\n\n## Requiring in packages\n\n```coffee\n {Task} = require 'atom'\n```", - "list": [] - } - }, - "ThemeManager": { - "name": "ThemeManager", - "filename": "src/theme-manager.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/theme-manager.coffee#L16", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "getLoadedNames", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/theme-manager.coffee#L28", - "visibility": "Public", - "summary": "Get an array of all the loaded theme names. ", - "description": "Get an array of all the loaded theme names. " - }, - { - "name": "getActiveNames", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/theme-manager.coffee#L32", - "visibility": "Public", - "summary": "Get an array of all the active theme names. ", - "description": "Get an array of all the active theme names. " - }, - { - "name": "getActiveThemes", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/theme-manager.coffee#L36", - "visibility": "Public", - "summary": "Get an array of all the active themes. ", - "description": "Get an array of all the active themes. " - }, - { - "name": "getLoadedThemes", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/theme-manager.coffee#L40", - "visibility": "Public", - "summary": "Get an array of all the loaded themes. ", - "description": "Get an array of all the loaded themes. " - }, - { - "name": "setEnabledThemes", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/theme-manager.coffee#L94", - "visibility": "Public", - "summary": "Set the list of enabled themes.", - "description": "Set the list of enabled themes.\n\nenabledThemeNames - An {Array} of {String} theme names. " - }, - { - "name": "getUserStylesheetPath", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/theme-manager.coffee#L110", - "visibility": "Public", - "summary": "Returns the {String} path to the user's stylesheet under ~/.atom ", - "description": "Returns the {String} path to the user's stylesheet under ~/.atom " - }, - { - "name": "requireStylesheet", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/theme-manager.coffee#L161", - "visibility": "Public", - "summary": "Resolve and apply the stylesheet specified by the path.", - "description": "Resolve and apply the stylesheet specified by the path.\n\nThis supports both CSS and LESS stylsheets.\n\nstylesheetPath - A {String} path to the stylesheet that can be an absolute\n path or a relative path that will be resolved against the\n load path.", - "returnValues": [ - { - "type": null, - "description": "Returns the absolute path to the required stylesheet." - } - ] - } - ], - "visibility": "Public", - "summary": "Handles loading and activating available themes.", - "description": "Handles loading and activating available themes.\n\nAn instance of this class is always available as the `atom.themes` global. " - }, - "WorkspaceView": { - "name": "WorkspaceView", - "superClass": "View", - "filename": "src/workspace-view.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L56", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "getModel", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L169", - "visibility": "Public", - "summary": "Get the underlying model object.", - "description": "Get the underlying model object.", - "returnValues": [ - { - "type": "Workspace", - "description": "Returns a {Workspace}." - } - ] - }, - { - "name": "installShellCommands", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L172", - "visibility": "Public", - "summary": "Install the Atom shell commands on the user's system. ", - "description": "Install the Atom shell commands on the user's system. " - }, - { - "name": "prependToTop", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L239", - "visibility": "Public", - "summary": "Prepend an element or view to the panels at the top of the\nworkspace. ", - "description": "Prepend an element or view to the panels at the top of the\nworkspace. " - }, - { - "name": "appendToTop", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L243", - "visibility": "Public", - "summary": "Append an element or view to the panels at the top of the workspace. ", - "description": "Append an element or view to the panels at the top of the workspace. " - }, - { - "name": "prependToBottom", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L248", - "visibility": "Public", - "summary": "Prepend an element or view to the panels at the bottom of the\nworkspace. ", - "description": "Prepend an element or view to the panels at the bottom of the\nworkspace. " - }, - { - "name": "appendToBottom", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L253", - "visibility": "Public", - "summary": "Append an element or view to the panels at the bottom of the\nworkspace. ", - "description": "Append an element or view to the panels at the bottom of the\nworkspace. " - }, - { - "name": "prependToLeft", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L258", - "visibility": "Public", - "summary": "Prepend an element or view to the panels at the left of the\nworkspace. ", - "description": "Prepend an element or view to the panels at the left of the\nworkspace. " - }, - { - "name": "appendToLeft", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L263", - "visibility": "Public", - "summary": "Append an element or view to the panels at the left of the\nworkspace. ", - "description": "Append an element or view to the panels at the left of the\nworkspace. " - }, - { - "name": "prependToRight", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L268", - "visibility": "Public", - "summary": "Prepend an element or view to the panels at the right of the\nworkspace. ", - "description": "Prepend an element or view to the panels at the right of the\nworkspace. " - }, - { - "name": "appendToRight", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L273", - "visibility": "Public", - "summary": "Append an element or view to the panels at the right of the\nworkspace. ", - "description": "Append an element or view to the panels at the right of the\nworkspace. " - }, - { - "name": "getActivePaneView", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L282", - "visibility": "Public", - "summary": "Get the active pane view.", - "description": "Get the active pane view.\n\nPrefer {Workspace::getActivePane} if you don't actually need access to the\nview.", - "returnValues": [ - { - "type": "PaneView", - "description": "Returns a {PaneView}." - } - ] - }, - { - "name": "getActiveView", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L288", - "visibility": "Public", - "summary": "Get the view associated with the active pane item.", - "description": "Get the view associated with the active pane item.", - "returnValues": [ - { - "type": null, - "description": "Returns a view." - } - ] - }, - { - "name": "focusPaneViewAbove", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L298", - "visibility": "Public", - "summary": "Focus the pane directly above the active pane. ", - "description": "Focus the pane directly above the active pane. " - }, - { - "name": "focusPaneViewBelow", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L301", - "visibility": "Public", - "summary": "Focus the pane directly below the active pane. ", - "description": "Focus the pane directly below the active pane. " - }, - { - "name": "focusPaneViewOnLeft", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L304", - "visibility": "Public", - "summary": "Focus the pane directly to the left of the active pane. ", - "description": "Focus the pane directly to the left of the active pane. " - }, - { - "name": "focusPaneViewOnRight", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L307", - "visibility": "Public", - "summary": "Focus the pane directly to the right of the active pane. ", - "description": "Focus the pane directly to the right of the active pane. " - }, - { - "name": "eachPaneView", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L316", - "visibility": "Public", - "summary": "Register a function to be called for every current and future\npane view in the workspace.", - "description": "Register a function to be called for every current and future\npane view in the workspace.\n\ncallback - A {Function} with a {PaneView} as its only argument.", - "returnValues": [ - { - "type": null, - "description": "Returns a subscription object with an `.off` method that you can call to unregister the callback." - } - ] - }, - { - "name": "getPaneViews", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L326", - "visibility": "Public", - "summary": "Get all existing pane views.", - "description": "Get all existing pane views.\n\nPrefer {Workspace::getPanes} if you don't need access to the view objects.\nAlso consider using {::eachPaneView} if you want to register a callback for\nall current and *future* pane views.", - "returnValues": [ - { - "type": "PaneView", - "description": "Returns an Array of all open {PaneView}s." - } - ] - }, - { - "name": "eachEditorView", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace-view.coffee#L337", - "visibility": "Public", - "summary": "Register a function to be called for every current and future\neditor view in the workspace (only includes {EditorView}s that are pane\nitems).", - "description": "Register a function to be called for every current and future\neditor view in the workspace (only includes {EditorView}s that are pane\nitems).\n\ncallback - A {Function} with an {EditorView} as its only argument.", - "returnValues": [ - { - "type": null, - "description": "Returns a subscription object with an `.off` method that you can call to unregister the callback." - } - ] - } - ], - "visibility": "Public", - "summary": "The top-level view for the entire window. An instance of this class is\navailable via the `atom.workspaceView` global.", - "description": "The top-level view for the entire window. An instance of this class is\navailable via the `atom.workspaceView` global.\n\nIt is backed by a model object, an instance of {Workspace}, which is available\nvia the `atom.workspace` global or {::getModel}. You should prefer to interact\nwith the model object when possible, but it won't always be possible with the\ncurrent API.\n\n## Adding Perimeter Panels\n\nUse the following methods if possible to attach panels to the perimeter of the\nworkspace rather than manipulating the DOM directly to better insulate you to\nchanges in the workspace markup:\n\n* {::prependToTop}\n* {::appendToTop}\n* {::prependToBottom}\n* {::appendToBottom}\n* {::prependToLeft}\n* {::appendToLeft}\n* {::prependToRight}\n* {::appendToRight}\n\n## Requiring in package specs\n\nIf you need a `WorkspaceView` instance to test your package, require it via\nthe built-in `atom` module.\n\n```coffee\n {WorkspaceView} = require 'atom'\n```\n\nYou can assign it to the `atom.workspaceView` global in the spec or just use\nit as a local, depending on what you're trying to accomplish. Building the\n`WorkspaceView` is currently expensive, so you should try build a {Workspace}\ninstead if possible. " - }, - "Workspace": { - "name": "Workspace", - "superClass": "Model", - "filename": "src/workspace.coffee", - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L19", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "eachEditor", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L85", - "visibility": "Public", - "summary": "Register a function to be called for every current and future\n{Editor} in the workspace.", - "description": "Register a function to be called for every current and future\n{Editor} in the workspace.\n\ncallback - A {Function} with an {Editor} as its only argument.", - "returnValues": [ - { - "type": null, - "description": "Returns a subscription object with an `.off` method that you can call to unregister the callback." - } - ] - }, - { - "name": "getEditors", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L92", - "visibility": "Public", - "summary": "Get all current editors in the workspace.", - "description": "Get all current editors in the workspace.", - "returnValues": [ - { - "type": "Array", - "description": "Returns an {Array} of {Editor}s." - } - ] - }, - { - "name": "open", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L119", - "visibility": "Public", - "summary": "Open a given a URI in Atom asynchronously.", - "description": "Open a given a URI in Atom asynchronously.\n\nuri - A {String} containing a URI.\noptions - An optional options {Object}\n :initialLine - A {Number} indicating which row to move the cursor to\n initially. Defaults to `0`.\n :initialColumn - A {Number} indicating which column to move the cursor to\n initially. Defaults to `0`.\n :split - Either 'left' or 'right'. If 'left', the item will be opened in\n leftmost pane of the current active pane's row. If 'right', the\n item will be opened in the rightmost pane of the current active\n pane's row.\n :activatePane - A {Boolean} indicating whether to call {Pane::activate} on\n the containing pane. Defaults to `true`.\n :searchAllPanes - A {Boolean}. If `true`, the workspace will attempt to\n activate an existing item for the given URI on any pane.\n If `false`, only the active pane will be searched for\n an existing item for the same URI. Defaults to `false`.", - "returnValues": [ - { - "type": "Editor", - "description": "Returns a promise that resolves to the {Editor} for the file URI." - } - ] - }, - { - "name": "openLicense", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L136", - "visibility": "Public", - "summary": "Open Atom's license in the active pane. ", - "description": "Open Atom's license in the active pane. " - }, - { - "name": "reopenItem", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L194", - "visibility": "Public", - "summary": "Asynchronously reopens the last-closed item's URI if it hasn't already been\nreopened.", - "description": "Asynchronously reopens the last-closed item's URI if it hasn't already been\nreopened.", - "returnValues": [ - { - "type": null, - "description": "Returns a promise that is resolved when the item is opened" - } - ] - }, - { - "name": "registerOpener", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L218", - "visibility": "Public", - "summary": "Register an opener for a uri.", - "description": "Register an opener for a uri.\n\nAn {Editor} will be used if no openers return a value.\n\n## Example\n\n```coffeescript\n atom.project.registerOpener (uri) ->\n if path.extname(uri) is '.toml'\n return new TomlEditor(uri)\n```\n\nopener - A {Function} to be called when a path is being opened. " - }, - { - "name": "unregisterOpener", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L222", - "visibility": "Public", - "summary": "Unregister an opener registered with {::registerOpener}. ", - "description": "Unregister an opener registered with {::registerOpener}. " - }, - { - "name": "getActivePane", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L231", - "visibility": "Public", - "summary": "Get the active {Pane}.", - "description": "Get the active {Pane}.", - "returnValues": [ - { - "type": "Pane", - "description": "Returns a {Pane}." - } - ] - }, - { - "name": "getPanes", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L237", - "visibility": "Public", - "summary": "Get all {Pane}s.", - "description": "Get all {Pane}s.", - "returnValues": [ - { - "type": "Array", - "description": "Returns an {Array} of {Pane}s." - } - ] - }, - { - "name": "saveAll", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L241", - "visibility": "Public", - "summary": "Save all pane items. ", - "description": "Save all pane items. " - }, - { - "name": "activateNextPane", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L245", - "visibility": "Public", - "summary": "Make the next pane active. ", - "description": "Make the next pane active. " - }, - { - "name": "activatePreviousPane", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L249", - "visibility": "Public", - "summary": "Make the previous pane active. ", - "description": "Make the previous pane active. " - }, - { - "name": "paneForUri", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L255", - "visibility": "Public", - "summary": "Get the first pane {Pane} with an item for the given URI.", - "description": "Get the first pane {Pane} with an item for the given URI.", - "returnValues": [ - { - "type": "Pane", - "description": "Returns a {Pane} or `undefined` if no pane exists for the given URI." - } - ] - }, - { - "name": "getActivePaneItem", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L261", - "visibility": "Public", - "summary": "Get the active {Pane}'s active item.", - "description": "Get the active {Pane}'s active item.", - "returnValues": [ - { - "type": "Object", - "description": "Returns an pane item {Object}." - } - ] - }, - { - "name": "saveActivePaneItem", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L270", - "visibility": "Public", - "summary": "Save the active pane item.", - "description": "Save the active pane item.\n\nIf the active pane item currently has a URI according to the item's\n`.getUri` method, calls `.save` on the item. Otherwise\n{::saveActivePaneItemAs} # will be called instead. This method does nothing\nif the active item does not implement a `.save` method. " - }, - { - "name": "saveActivePaneItemAs", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L278", - "visibility": "Public", - "summary": "Prompt the user for a path and save the active pane item to it.", - "description": "Prompt the user for a path and save the active pane item to it.\n\nOpens a native dialog where the user selects a path on disk, then calls\n`.saveAs` on the item with the selected path. This method does nothing if\nthe active item does not implement a `.saveAs` method. " - }, - { - "name": "destroyActivePaneItem", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L285", - "visibility": "Public", - "summary": "Destroy (close) the active pane item.", - "description": "Destroy (close) the active pane item.\n\nRemoves the active pane item and calls the `.destroy` method on it if one is\ndefined. " - }, - { - "name": "destroyActivePane", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L289", - "visibility": "Public", - "summary": "Destroy (close) the active pane. ", - "description": "Destroy (close) the active pane. " - }, - { - "name": "getActiveEditor", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L296", - "visibility": "Public", - "summary": "Get the active item if it is an {Editor}.", - "description": "Get the active item if it is an {Editor}.", - "returnValues": [ - { - "type": "Editor", - "description": "Returns an {Editor} or `undefined` if the current active item is not an {Editor}." - } - ] - }, - { - "name": "increaseFontSize", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L300", - "visibility": "Public", - "summary": "Increase the editor font size by 1px. ", - "description": "Increase the editor font size by 1px. " - }, - { - "name": "decreaseFontSize", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L304", - "visibility": "Public", - "summary": "Decrease the editor font size by 1px. ", - "description": "Decrease the editor font size by 1px. " - }, - { - "name": "resetFontSize", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom/blob/v0.121.0/src/workspace.coffee#L309", - "visibility": "Public", - "summary": "Restore to a default editor font size. ", - "description": "Restore to a default editor font size. " - } - ], - "visibility": "Public", - "summary": "Represents the state of the user interface for the entire window.\nAn instance of this class is available via the `atom.workspace` global.", - "description": "Represents the state of the user interface for the entire window.\nAn instance of this class is available via the `atom.workspace` global.\n\nInteract with this object to open files, be notified of current and future\neditors, and manipulate panes. To add panels, you'll need to use the\n{WorkspaceView} class for now until we establish APIs at the model layer. " - }, - "KeymapManager": { - "name": "KeymapManager", - "filename": "src/keymap-manager.coffee", - "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L85", - "sections": [], - "classMethods": [ - { - "name": "keydownEvent", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L100", - "visibility": "Public", - "summary": "Create a keydown DOM event for testing purposes.", - "description": "Create a keydown DOM event for testing purposes.\n\nkey - The key or keyIdentifier of the event. For example, 'a', '1',\n 'escape', 'backspace', etc.\noptions - An {Object} containing any of the following:\n :ctrl - A {Boolean} indicating the ctrl modifier key\n :alt - A {Boolean} indicating the alt modifier key\n :shift - A {Boolean} indicating the shift modifier key\n :cmd - A {Boolean} indicating the cmd modifier key\n :which - A {Number} indicating `which` value of the event. See\n the docs for KeyboardEvent for more information.\n :target - The target element of the event. " - } - ], - "instanceMethods": [ - { - "name": "constructor", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L118", - "visibility": "Public", - "summary": "", - "description": "\n\noptions - An {Object} containing properties to assign to the keymap: You can\n pass custom properties to be used by extension methods. The following\n properties are also supported:\n :defaultTarget - This will be used as the target of events whose target\n is `document.body` to allow for a catch-all element when nothing is\n focused " - }, - { - "name": "destroy", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L126", - "visibility": "Public", - "summary": "Unwatch all watched paths. ", - "description": "Unwatch all watched paths. " - }, - { - "name": "getKeyBindings", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L133", - "visibility": "Public", - "summary": "Get all current key bindings.", - "description": "Get all current key bindings.", - "returnValues": [ - { - "type": "Array", - "description": "Returns an {Array} of {KeyBinding}s." - } - ] - }, - { - "name": "add", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L142", - "visibility": "Public", - "summary": "Add sets of key bindings grouped by CSS selector.", - "description": "Add sets of key bindings grouped by CSS selector.\n\nsource - A {String} (usually a path) uniquely identifying the given bindings\n so they can be removed later.\nbindings - An {Object} whose top-level keys point at sub-objects mapping\n keystroke patterns to commands. " - }, - { - "name": "loadKeymap", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L165", - "visibility": "Public", - "summary": "Load the key bindings from the given path.", - "description": "Load the key bindings from the given path.\n\npath - A {String} containing a path to a file or a directory. If the path is\n a directory, all files inside it will be loaded.\noptions - An {Object} containing the following optional keys:\n :watch - If `true`, the keymap will also reload the file at the given path\n whenever it changes. This option cannot be used with directory paths. " - }, - { - "name": "watchKeymap", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L180", - "visibility": "Public", - "summary": "Cause the keymap to reload the key bindings file at the given path\nwhenever it changes.", - "description": "Cause the keymap to reload the key bindings file at the given path\nwhenever it changes.\n\nThis method doesn't perform the initial load of the key bindings file. If\nthat's what you're looking for, call {::loadKeymap} with `watch: true`. " - }, - { - "name": "remove", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L191", - "visibility": "Public", - "summary": "Remove the key bindings added with {::addKeymap} or\n{::loadKeymap}.", - "description": "Remove the key bindings added with {::addKeymap} or\n{::loadKeymap}.\n\nsource - A {String} representing the `source` in a previous call to\n {::addKeymap} or the path in {::loadKeymap}. " - }, - { - "name": "handleKeyboardEvent", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L213", - "visibility": "Public", - "summary": "Dispatch a custom event associated with the matching key binding for\nthe given `KeyboardEvent` if one can be found.", - "description": "Dispatch a custom event associated with the matching key binding for\nthe given `KeyboardEvent` if one can be found.\n\nIf a matching binding is found on the event's target or one of its\nancestors, `.preventDefault()` is called on the keyboard event and the\nbinding's command is emitted as a custom event on the matching element.\n\nIf the matching binding's command is 'native!', the method will terminate\nwithout calling `.preventDefault()` on the keyboard event, allowing the\nbrowser to handle it as normal.\n\nIf the matching binding's command is 'unset!', the search will continue from\nthe current element's parent.\n\nIf the matching binding's command is 'abort!', the search will terminate\nwithout dispatching a command event.\n\nIf the event's target is `document.body`, it will be treated as if its\ntarget is `.defaultTarget` if that property is assigned on the keymap. " - }, - { - "name": "findKeyBindings", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L290", - "visibility": "Public", - "summary": "Get the key bindings for a given command and optional target.", - "description": "Get the key bindings for a given command and optional target.\n\nparams - An {Object} whose keys constrain the binding search:\n :keystrokes - A {String} representing one or more keystrokes, such as\n 'ctrl-x ctrl-s'\n :command - A {String} representing the name of a command, such as\n 'editor:backspace'\n :target - An optional DOM element constraining the search. If this\n parameter is supplied, the call will only return bindings that can be\n invoked by a KeyboardEvent originating from the target element. " - }, - { - "name": "keystrokeForKeyboardEvent", - "sectionName": null, - "srcUrl": "https://github.com/atom/atom-keymap/blob/v1.0.2/src/keymap-manager.coffee#L461", - "visibility": "Public", - "summary": "Translate a keydown event to a keystroke string.", - "description": "Translate a keydown event to a keystroke string.\n\nevent - A `KeyboardEvent` of type 'keydown'", - "returnValues": [ - { - "type": "String", - "description": "Returns a {String} describing the keystroke." - } - ] - } - ], - "visibility": "Public", - "summary": "Allows commands to be associated with keystrokes in a\ncontext-sensitive way. In Atom, you can access a global instance of this\nobject via `atom.keymap`.", - "description": "Allows commands to be associated with keystrokes in a\ncontext-sensitive way. In Atom, you can access a global instance of this\nobject via `atom.keymap`.\n\nKey bindings are plain JavaScript objects containing **CSS selectors** as\ntheir top level keys, then **keystroke patterns** mapped to commands.\n\n```cson\n'.workspace':\n 'ctrl-l': 'package:do-something'\n 'ctrl-z': 'package:do-something-else'\n'.mini.editor':\n 'enter': 'core:confirm'\n```\n\nWhen a keystroke sequence matches a binding in a given context, a custom DOM\nevent with a type based on the command is dispatched on the target of the\nkeyboard event.\n\nTo match a keystroke sequence, the keymap starts at the target element for the\nkeyboard event. It looks for key bindings associated with selectors that match\nthe target element. If multiple match, the most specific is selected. If there\nis a tie in specificity, the most recently added binding wins. If no bindings\nare found for the events target, the search is repeated again for the target's\nparent node and so on recursively until a binding is found or we traverse off\nthe top of the document.\n\nWhen a binding is found, its command event is always dispatched on the\noriginal target of the keyboard event, even if the matching element is higher\nup in the DOM. In addition, `.preventDefault()` is called on the keyboard\nevent to prevent the browser from taking action. `.preventDefault` is only\ncalled if a matching binding is found.\n\nCommand event objects have a non-standard method called `.abortKeyBinding()`.\nIf your command handler is invoked but you programmatically determine that no\naction can be taken and you want to allow other bindings to be matched, call\n`.abortKeyBinding()` on the event object. An example of where this is useful\nis binding snippet expansion to `tab`. If `snippets:expand` is invoked when\nthe cursor does not follow a valid snippet prefix, we abort the binding and\nallow `tab` to be handled by the default handler, which inserts whitespace.\n\nMulti-keystroke bindings are possible. If a sequence of one or more keystrokes\n*partially* matches a multi-keystroke binding, the keymap enters a pending\nstate. The pending state is terminated on the next keystroke, or after\n{::partialMatchTimeout} milliseconds has elapsed. When the pending state is\nterminated via a timeout or a keystroke that leads to no matches, the longest\nambiguous bindings that caused the pending state are temporarily disabled and\nthe previous keystrokes are replayed. If there is ambiguity again during the\nreplay, the next longest bindings are disabled and the keystrokes are replayed\nagain.", - "events": { - "description": "", - "list": [ - { - "children": [ - { - "name": null, - "description": "keystrokes - The keystroke {String} that matched the binding", - "type": null - }, - { - "name": null, - "description": "binding - The {KeyBinding} that was used", - "type": null - }, - { - "name": null, - "description": "keyboardEventTarget - The target element of the keyboard event", - "type": null - } - ], - "name": "matched", - "description": "Emitted when keystrokes match a binding.", - "type": null - }, - { - "children": [ - { - "name": null, - "description": "keystrokes - The keystroke {String} that partially match some bindings", - "type": null - }, - { - "name": null, - "description": "partiallyMatchedBindings - The {KeyBinding}s that partially matched", - "type": null - }, - { - "name": null, - "description": "keyboardEventTarget - The target element of the keyboard event", - "type": null - } - ], - "name": "matched-partially", - "description": "Emitted when keystrokes partially match one or more bindings.", - "type": null - }, - { - "children": [ - { - "name": null, - "description": "keystrokes - The keystroke {String} that matched no bindings", - "type": null - }, - { - "name": null, - "description": "keyboardEventTarget - The target element of the keyboard event ", - "type": null - } - ], - "name": "match-failed", - "description": "Emitted when keystrokes don't match any bindings.", - "type": null - } - ] - } - }, - "GrammarRegistry": { - "name": "GrammarRegistry", - "filename": "src/grammar-registry.coffee", - "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L10", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "getGrammars", - "sectionName": null, - "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L25", - "visibility": "Public", - "summary": "Get all the grammars in this registry.", - "description": "Get all the grammars in this registry.", - "returnValues": [ - { - "type": "Array", - "description": "Returns a non-empty {Array} of {Grammar} instances." - } - ] - }, - { - "name": "grammarForScopeName", - "sectionName": null, - "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L33", - "visibility": "Public", - "summary": "Get a grammar with the given scope name.", - "description": "Get a grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`.", - "returnValues": [ - { - "type": "Grammar", - "description": "Returns a {Grammar} or undefined." - } - ] - }, - { - "name": "removeGrammar", - "sectionName": null, - "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L39", - "visibility": "Public", - "summary": "Remove a grammar from this registry.", - "description": "Remove a grammar from this registry.\n\ngrammar - The {Grammar} to remove. " - }, - { - "name": "removeGrammarForScopeName", - "sectionName": null, - "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L48", - "visibility": "Public", - "summary": "Remove the grammar with the given scope name.", - "description": "Remove the grammar with the given scope name.\n\nscopeName - A {String} such as `\"source.js\"`. " - }, - { - "name": "addGrammar", - "sectionName": null, - "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L58", - "visibility": "Public", - "summary": "Add a grammar to this registry.", - "description": "Add a grammar to this registry.\n\nA 'grammar-added' event is emitted after the grammar is added.\n\ngrammar - The {Grammar} to add. This should be a value previously returned\n from {::readGrammar} or {::readGrammarSync}. " - }, - { - "name": "readGrammarSync", - "sectionName": null, - "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L70", - "visibility": "Public", - "summary": "Read a grammar synchronously but don't add it to the registry.", - "description": "Read a grammar synchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.", - "returnValues": [ - { - "type": "Grammar", - "description": "Returns a {Grammar}." - } - ] - }, - { - "name": "readGrammar", - "sectionName": null, - "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L82", - "visibility": "Public", - "summary": "Read a grammar asynchronously but don't add it to the registry.", - "description": "Read a grammar asynchronously but don't add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " - }, - { - "name": "loadGrammarSync", - "sectionName": null, - "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L97", - "visibility": "Public", - "summary": "Read a grammar synchronously and add it to this registry.", - "description": "Read a grammar synchronously and add it to this registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.", - "returnValues": [ - { - "type": "Grammar", - "description": "Returns a {Grammar}." - } - ] - }, - { - "name": "loadGrammar", - "sectionName": null, - "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L107", - "visibility": "Public", - "summary": "Read a grammar asynchronously and add it to the registry.", - "description": "Read a grammar asynchronously and add it to the registry.\n\ngrammarPath - A {String} absolute file path to a grammar file.\ncallback - A {Function} to call when loaded with `(error, grammar)`\n arguments. " - }, - { - "name": "grammarOverrideForPath", - "sectionName": null, - "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L120", - "visibility": "Public", - "summary": "Get the grammar override for the given file path.", - "description": "Get the grammar override for the given file path.\n\nfilePath - A {String} file path.", - "returnValues": [ - { - "type": "Grammar", - "description": "Returns a {Grammar} or undefined." - } - ] - }, - { - "name": "setGrammarOverrideForPath", - "sectionName": null, - "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L129", - "visibility": "Public", - "summary": "Set the grammar override for the given file path.", - "description": "Set the grammar override for the given file path.\n\nfilePath - A non-empty {String} file path.\nscopeName - A {String} such as `\"source.js\"`.", - "returnValues": [ - { - "type": "Grammar", - "description": "Returns a {Grammar} or undefined." - } - ] - }, - { - "name": "clearGrammarOverrideForPath", - "sectionName": null, - "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L136", - "visibility": "Public", - "summary": "Remove the grammar override for the given file path.", - "description": "Remove the grammar override for the given file path.\n\nfilePath - A {String} file path. " - }, - { - "name": "clearGrammarOverrides", - "sectionName": null, - "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L140", - "visibility": "Public", - "summary": "Remove all grammar overrides. ", - "description": "Remove all grammar overrides. " - }, - { - "name": "selectGrammar", - "sectionName": null, - "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar-registry.coffee#L152", - "visibility": "Public", - "summary": "Select a grammar for the given file path and file contents.", - "description": "Select a grammar for the given file path and file contents.\n\nThis picks the best match by checking the file path and contents against\neach grammar.\n\nfilePath - A {String} file path.\nfileContents - A {String} of text for the file path.", - "returnValues": [ - { - "type": "Grammar", - "description": "Returns a {Grammar}, never null." - } - ] - } - ], - "visibility": "Public", - "summary": "Registry containing one or more grammars. ", - "description": "Registry containing one or more grammars. " - }, - "Grammar": { - "name": "Grammar", - "filename": "src/grammar.coffee", - "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar.coffee#L20", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "tokenizeLines", - "sectionName": null, - "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar.coffee#L52", - "visibility": "Public", - "summary": "Tokenize all lines in the given text.", - "description": "Tokenize all lines in the given text.\n\ntext - A {String} containing one or more lines.", - "returnValues": [ - { - "type": "Array", - "description": "Returns an {Array} of token arrays for each line tokenized." - } - ] - }, - { - "name": "tokenizeLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/first-mate/blob/v2.0.2/src/grammar.coffee#L74", - "visibility": "Public", - "summary": "Tokenize the line of text.", - "description": "Tokenize the line of text.\n\nline - A {String} of text to tokenize.\nruleStack - An optional {Array} of rules previously returned from this\n method. This should be null when tokenizing the first line in\n the file.\nfirstLine - A {Boolean} denoting whether this is the first line in the file\n which defaults to `false`. This should be `true` when\n tokenizing the first line in the file.", - "returnValues": [ - { - "type": "Object", - "description": "Returns an {Object} containing `tokens` and `ruleStack` properties: :token - An {Array} of tokens covering the entire line of text. :ruleStack - An {Array} of rules representing the tokenized state at the end of the line. These should be passed back into this method when tokenizing the next line in the file." - } - ] - } - ], - "visibility": "Public", - "summary": "Grammar that tokenizes lines of text.", - "description": "Grammar that tokenizes lines of text.\n\nThis class should not be instantiated directly but instead obtained from\na {GrammarRegistry} by calling {GrammarRegistry::loadGrammar}. " - }, - "Directory": { - "name": "Directory", - "filename": "src/directory.coffee", - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L12", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "constructor", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L21", - "visibility": "Public", - "summary": "Configures a new Directory instance, no files are accessed.", - "description": "Configures a new Directory instance, no files are accessed.\n\ndirectoryPath - A {String} containing the absolute path to the directory.\nsymlink - A {Boolean} indicating if the path is a symlink (default: false). " - }, - { - "name": "getBaseName", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L40", - "visibility": "Public", - "summary": "Returns the {String} basename of the directory. ", - "description": "Returns the {String} basename of the directory. " - }, - { - "name": "getPath", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L47", - "visibility": "Public", - "summary": "Returns the directory's symbolic path.", - "description": "Returns the directory's symbolic path.\n\nThis may include unfollowed symlinks or relative directory entries. Or it\nmay be fully resolved, it depends on what you give it. " - }, - { - "name": "isFile", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L50", - "visibility": "Public", - "summary": "Distinguishes Files from Directories during traversal. ", - "description": "Distinguishes Files from Directories during traversal. " - }, - { - "name": "isDirectory", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L53", - "visibility": "Public", - "summary": "Distinguishes Files from Directories during traversal. ", - "description": "Distinguishes Files from Directories during traversal. " - }, - { - "name": "getFile", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L59", - "visibility": "Public", - "summary": "Traverse within this Directory to a child File. This method doesn't\nactually check to see if the File exists, it just creates the File object.", - "description": "Traverse within this Directory to a child File. This method doesn't\nactually check to see if the File exists, it just creates the File object.\n\nfilename - The name of a File within this Directory. " - }, - { - "name": "getSubdirectory", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L67", - "visibility": "Public", - "summary": "Traverse within this a Directory to a child Directory. This method\ndoesn't actually check to see if the Directory exists, it just creates the\nDirectory object.", - "description": "Traverse within this a Directory to a child Directory. This method\ndoesn't actually check to see if the Directory exists, it just creates the\nDirectory object.\n\ndirname - The name of the child Directory. " - }, - { - "name": "getParent", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L71", - "visibility": "Public", - "summary": "Traverse to the parent Directory. ", - "description": "Traverse to the parent Directory. " - }, - { - "name": "isRoot", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L76", - "visibility": "Public", - "summary": "Return true if this {Directory} is the root directory of the\nfilesystem, or false if it isn't. ", - "description": "Return true if this {Directory} is the root directory of the\nfilesystem, or false if it isn't. " - }, - { - "name": "getRealPathSync", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L83", - "visibility": "Public", - "summary": "Returns this directory's completely resolved path.", - "description": "Returns this directory's completely resolved path.\n\nAll relative directory entries are removed and symlinks are resolved to\ntheir final destination. " - }, - { - "name": "contains", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L96", - "visibility": "Public", - "summary": "Returns whether the given path (real or symbolic) is inside this\ndirectory. This method does not actually check if the path exists, it just\nchecks if the path is under this directory. ", - "description": "Returns whether the given path (real or symbolic) is inside this\ndirectory. This method does not actually check if the path exists, it just\nchecks if the path is under this directory. " - }, - { - "name": "relativize", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L120", - "visibility": "Public", - "summary": "Returns the relative path to the given path from this directory. ", - "description": "Returns the relative path to the given path from this directory. " - }, - { - "name": "getEntriesSync", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L155", - "visibility": "Public", - "summary": "Reads file entries in this directory from disk synchronously.", - "description": "Reads file entries in this directory from disk synchronously.", - "returnValues": [ - { - "type": "Array", - "description": "Returns an {Array} of {File} and {Directory} objects." - } - ] - }, - { - "name": "getEntries", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/directory.coffee#L175", - "visibility": "Public", - "summary": "Reads file entries in this directory from disk asynchronously.", - "description": "Reads file entries in this directory from disk asynchronously.\n\ncallback - A {Function} to call with an {Error} as the 1st argument and\n an {Array} of {File} and {Directory} objects as the 2nd argument. " - } - ], - "visibility": "Public", - "summary": "Represents a directory on disk that can be watched for changes. ", - "description": "Represents a directory on disk that can be watched for changes. " - }, - "File": { - "name": "File", - "filename": "src/file.coffee", - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L16", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "constructor", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L25", - "visibility": "Public", - "summary": "Creates a new file.", - "description": "Creates a new file.\n\nfilePath - A {String} containing the absolute path to the file\nsymlink - A {Boolean} indicating if the path is a symlink (default: false). " - }, - { - "name": "isFile", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L50", - "visibility": "Public", - "summary": "Distinguishes Files from Directories during traversal. ", - "description": "Distinguishes Files from Directories during traversal. " - }, - { - "name": "isDirectory", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L53", - "visibility": "Public", - "summary": "Distinguishes Files from Directories during traversal. ", - "description": "Distinguishes Files from Directories during traversal. " - }, - { - "name": "getPath", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L60", - "visibility": "Public", - "summary": "Returns the {String} path for the file. ", - "description": "Returns the {String} path for the file. " - }, - { - "name": "getParent", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L63", - "visibility": "Public", - "summary": "Return the {Directory} that contains this file. ", - "description": "Return the {Directory} that contains this file. " - }, - { - "name": "getRealPathSync", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L68", - "visibility": "Public", - "summary": "Returns this file's completely resolved path. ", - "description": "Returns this file's completely resolved path. " - }, - { - "name": "getBaseName", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L77", - "visibility": "Public", - "summary": "Return the {String} filename without any directory information. ", - "description": "Return the {String} filename without any directory information. " - }, - { - "name": "write", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L81", - "visibility": "Public", - "summary": "Overwrites the file with the given String. ", - "description": "Overwrites the file with the given String. " - }, - { - "name": "read", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L102", - "visibility": "Public", - "summary": "Reads the contents of the file.", - "description": "Reads the contents of the file.\n\nflushCache - A {Boolean} indicating whether to require a direct read or if\n a cached copy is acceptable.", - "returnValues": [ - { - "type": null, - "description": "Returns a promise that resovles to a String." - } - ] - }, - { - "name": "exists", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L129", - "visibility": "Public", - "summary": "Returns whether the file exists. ", - "description": "Returns whether the file exists. " - }, - { - "name": "getDigest", - "sectionName": null, - "srcUrl": "https://github.com/atom/node-pathwatcher/blob/v2.0.6/src/file.coffee#L136", - "visibility": "Public", - "summary": "Get the SHA-1 digest of this file ", - "description": "Get the SHA-1 digest of this file " - } - ], - "visibility": "Public", - "summary": "Represents an individual file that can be watched, read from, and\nwritten to. ", - "description": "Represents an individual file that can be watched, read from, and\nwritten to. " - }, - "View": { - "name": "View", - "superClass": "jQuery", - "filename": "src/space-pen.coffee", - "srcUrl": "https://github.com/atom/space-pen/blob/v3.3.0/src/space-pen.coffee#L59", - "sections": [], - "classMethods": [ - { - "name": "subview", - "sectionName": null, - "srcUrl": "https://github.com/atom/space-pen/blob/v3.3.0/src/space-pen.coffee#L66", - "visibility": "Public", - "summary": "Add the given subview wired to an outlet with the given name ", - "description": "Add the given subview wired to an outlet with the given name " - }, - { - "name": "text", - "sectionName": null, - "srcUrl": "https://github.com/atom/space-pen/blob/v3.3.0/src/space-pen.coffee#L70", - "visibility": "Public", - "summary": "Add a text node with the given text content ", - "description": "Add a text node with the given text content " - }, - { - "name": "tag", - "sectionName": null, - "srcUrl": "https://github.com/atom/space-pen/blob/v3.3.0/src/space-pen.coffee#L73", - "visibility": "Public", - "summary": "Add a new tag with the given name ", - "description": "Add a new tag with the given name " - }, - { - "name": "raw", - "sectionName": null, - "srcUrl": "https://github.com/atom/space-pen/blob/v3.3.0/src/space-pen.coffee#L76", - "visibility": "Public", - "summary": "Add new child DOM nodes from the given raw HTML string. ", - "description": "Add new child DOM nodes from the given raw HTML string. " - } - ], - "instanceMethods": [ - { - "name": "command", - "sectionName": null, - "srcUrl": "https://github.com/atom/space-pen/blob/v3.3.0/src/space-pen.coffee#L168", - "visibility": "Public", - "summary": "Calls the given handler when commandName is triggered on the {View}.", - "description": "Calls the given handler when commandName is triggered on the {View}.\n\nThis is enhanced version of jQuery's `::on` method. It listens for a custom\nDOM event and adds metadata to the DOM to maintain a list of all commands.\n\ncommandName - A namespaced {String} describing the command, such as\n `find-and-replace:toggle`.\nselector - An optional selector {String} to filter the descendants of the\n elements that trigger the event.\noptions - An optional options {Object} with an `data` key.\nhandler - A {Function} to execute when the command is triggered. " - }, - { - "name": "preempt", - "sectionName": null, - "srcUrl": "https://github.com/atom/space-pen/blob/v3.3.0/src/space-pen.coffee#L175", - "visibility": "Public", - "summary": "Preempt events registered with jQuery's `::on`.", - "description": "Preempt events registered with jQuery's `::on`.\n\neventName - A event name {String}.\nhandler - A {Function} to execute when the eventName is triggered. " - } - ], - "visibility": "Public", - "summary": "View class that extends the jQuery prototype.", - "description": "View class that extends the jQuery prototype.\n\nExtending classes must implement a `@content` method.\n\n## Example\n\n```coffee\nclass Spacecraft extends View\n @content: ->\n @div =>\n @h1 'Spacecraft'\n @ol =>\n @li 'Apollo'\n @li 'Soyuz'\n @li 'Space Shuttle'\n```\n\nEach view instance will have all the methods from the jQuery prototype\navailable on it.\n\n```coffee\n craft = new Spacecraft()\n craft.find('h1').text() # 'Spacecraft'\n craft.appendTo(document.body) # View is now a child of the tag\n```" - }, - "Marker": { - "name": "Marker", - "filename": "src/marker.coffee", - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L60", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "getRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L122", - "visibility": "Public", - "summary": "Returns the current {Range} of the marker. The range is immutable. ", - "description": "Returns the current {Range} of the marker. The range is immutable. " - }, - { - "name": "setRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L131", - "visibility": "Public", - "summary": "Sets the range of the marker.", - "description": "Sets the range of the marker.\n\nrange - A {Range} or range-compatible {Array}. The range will be clipped\n before it is assigned.\nproperties - An optional hash of properties to associate with the marker.\n :reversed - If true, the marker will to be in a reversed orientation. " - }, - { - "name": "getHeadPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L138", - "visibility": "Public", - "summary": "Returns a {Point} representing the marker's current head position. ", - "description": "Returns a {Point} representing the marker's current head position. " - }, - { - "name": "setHeadPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L149", - "visibility": "Public", - "summary": "Sets the head position of the marker.", - "description": "Sets the head position of the marker.\n\nposition - A {Point} or point-compatible {Array}. The position will be\n clipped before it is assigned.\nproperties - An optional hash of properties to associate with the marker. " - }, - { - "name": "getTailPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L174", - "visibility": "Public", - "summary": "Returns a {Point} representing the marker's current tail position.\nIf the marker has no tail, the head position will be returned instead. ", - "description": "Returns a {Point} representing the marker's current tail position.\nIf the marker has no tail, the head position will be returned instead. " - }, - { - "name": "setTailPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L189", - "visibility": "Public", - "summary": "Sets the head position of the marker. If the marker doesn't have a\ntail, it will after calling this method.", - "description": "Sets the head position of the marker. If the marker doesn't have a\ntail, it will after calling this method.\n\nposition - A {Point} or point-compatible {Array}. The position will be\n clipped before it is assigned.\nproperties - An optional hash of properties to associate with the marker. " - }, - { - "name": "getStartPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L211", - "visibility": "Public", - "summary": "Returns a {Point} representing the start position of the marker,\nwhich could be the head or tail position, depending on its orientation. ", - "description": "Returns a {Point} representing the start position of the marker,\nwhich could be the head or tail position, depending on its orientation. " - }, - { - "name": "getEndPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L219", - "visibility": "Public", - "summary": "Returns a {Point} representing the end position of the marker,\nwhich could be the head or tail position, depending on its orientation. ", - "description": "Returns a {Point} representing the end position of the marker,\nwhich could be the head or tail position, depending on its orientation. " - }, - { - "name": "clearTail", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L230", - "visibility": "Public", - "summary": "Removes the marker's tail. After calling the marker's head position\nwill be reported as its current tail position until the tail is planted\nagain.", - "description": "Removes the marker's tail. After calling the marker's head position\nwill be reported as its current tail position until the tail is planted\nagain.\n\nproperties - An optional hash of properties to associate with the marker. " - }, - { - "name": "plantTail", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L242", - "visibility": "Public", - "summary": "Plants the marker's tail at the current head position. After calling\nthe marker's tail position will be its head position at the time of the\ncall, regardless of where the marker's head is moved.", - "description": "Plants the marker's tail at the current head position. After calling\nthe marker's tail position will be its head position at the time of the\ncall, regardless of where the marker's head is moved.\n\nproperties - An optional hash of properties to associate with the marker. " - }, - { - "name": "isReversed", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L250", - "visibility": "Public", - "summary": "Returns a {Boolean} indicating whether the head precedes the tail. ", - "description": "Returns a {Boolean} indicating whether the head precedes the tail. " - }, - { - "name": "hasTail", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L254", - "visibility": "Public", - "summary": "Returns a {Boolean} indicating whether the marker has a tail. ", - "description": "Returns a {Boolean} indicating whether the marker has a tail. " - }, - { - "name": "isValid", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L260", - "visibility": "Public", - "summary": "Is the marker valid?", - "description": "Is the marker valid?", - "returnValues": [ - { - "type": "Boolean", - "description": "Returns a {Boolean}." - } - ] - }, - { - "name": "isDestroyed", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L266", - "visibility": "Public", - "summary": "Is the marker destroyed?", - "description": "Is the marker destroyed?", - "returnValues": [ - { - "type": "Boolean", - "description": "Returns a {Boolean}." - } - ] - }, - { - "name": "isEqual", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L271", - "visibility": "Public", - "summary": "Returns a {Boolean} indicating whether this marker is equivalent to\nanother marker, meaning they have the same range and options. ", - "description": "Returns a {Boolean} indicating whether this marker is equivalent to\nanother marker, meaning they have the same range and options. " - }, - { - "name": "getInvalidationStrategy", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L279", - "visibility": "Public", - "summary": "Get the invalidation strategy for this marker.", - "description": "Get the invalidation strategy for this marker.\n\nValid values include: `never`, `surround`, `overlap`, `inside`, and `touch`.", - "returnValues": [ - { - "type": "String", - "description": "Returns a {String}." - } - ] - }, - { - "name": "getProperties", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L294", - "visibility": "Public", - "summary": "Returns an {Object} containing any custom properties associated with\nthe marker. ", - "description": "Returns an {Object} containing any custom properties associated with\nthe marker. " - }, - { - "name": "setProperties", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L299", - "visibility": "Public", - "summary": "Merges an {Object} containing new properties into the marker's\nexisting properties. ", - "description": "Merges an {Object} containing new properties into the marker's\nexisting properties. " - }, - { - "name": "copy", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L304", - "visibility": "Public", - "summary": "Creates and returns a new {Marker} with the same properties as this\nmarker. ", - "description": "Creates and returns a new {Marker} with the same properties as this\nmarker. " - }, - { - "name": "destroy", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L309", - "visibility": "Public", - "summary": "Destroys the marker, causing it to emit the 'destroyed' event. Once\ndestroyed, a marker cannot be restored by undo/redo operations. ", - "description": "Destroys the marker, causing it to emit the 'destroyed' event. Once\ndestroyed, a marker cannot be restored by undo/redo operations. " - }, - { - "name": "compare", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/marker.coffee#L321", - "visibility": "Public", - "summary": "Compares this marker to another based on their ranges. ", - "description": "Compares this marker to another based on their ranges. " - } - ], - "visibility": "Public", - "summary": "Reprents a buffer annotation that remains logically stationary even\nas the buffer changes. This is used to represent cursors, folds, snippet\ntargets, misspelled words, and anything else that needs to track a logical\nlocation in the buffer over time.", - "description": "Reprents a buffer annotation that remains logically stationary even\nas the buffer changes. This is used to represent cursors, folds, snippet\ntargets, misspelled words, and anything else that needs to track a logical\nlocation in the buffer over time.\n\nHead and Tail:\nMarkers always have a *head* and sometimes have a *tail*. If you think of a\nmarker as an editor selection, the tail is the part that's stationary and the\nhead is the part that moves when the mouse is moved. A marker without a tail\nalways reports an empty range at the head position. A marker with a head position\ngreater than the tail is in a \"normal\" orientation. If the head precedes the\ntail the marker is in a \"reversed\" orientation.\n\nValidity:\nMarkers are considered *valid* when they are first created. Depending on the\ninvalidation strategy you choose, certain changes to the buffer can cause a\nmarker to become invalid, for example if the text surrounding the marker is\ndeleted. See {TextBuffer::markRange} for invalidation strategies.\n\nChange events:\nWhen markers change in position for any reason, the emit a 'changed' event with\nthe following properties:\n\n* oldHeadPosition:\n A {Point} representing the former head position\n* newHeadPosition:\n A {Point} representing the new head position\n* oldTailPosition:\n A {Point} representing the former tail position\n* newTailPosition:\n A {Point} representing the new tail position\n* wasValid:\n A {Boolean} indicating whether the marker was valid before the change\n* isValid:\n A {Boolean} indicating whether the marker is now valid\n* hadTail:\n A {Boolean} indicating whether the marker had a tail before the change\n* hasTail:\n A {Boolean} indicating whether the marker now has a tail\n* oldProperties:\n An {Object} containing the marker's custom properties before the change.\n* newProperties:\n An {Object} containing the marker's custom properties after the change.\n* textChanged:\n A {Boolean} indicating whether this change was caused by a textual change\n to the buffer or whether the marker was manipulated directly via its public\n API. " - }, - "Point": { - "name": "Point", - "filename": "src/point.coffee", - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L12", - "sections": [], - "classMethods": [ - { - "name": "fromObject", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L25", - "visibility": "Public", - "summary": "Convert any point-compatible object to a {Point}.", - "description": "Convert any point-compatible object to a {Point}.\n\n* object:\n This can be an object that's already a {Point}, in which case it's\n simply returned, or an array containing two {Number}s representing the\n row and column.\n* copy:\n An optional boolean indicating whether to force the copying of objects\n that are already points.", - "returnValues": [ - { - "type": "Point", - "description": "Returns: A {Point} based on the given object." - } - ] - }, - { - "name": "min", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L37", - "visibility": "Public", - "summary": "Returns the given point that is earlier in the buffer. ", - "description": "Returns the given point that is earlier in the buffer. " - } - ], - "instanceMethods": [ - { - "name": "copy", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L48", - "visibility": "Public", - "summary": "Returns a new {Point} with the same row and column. ", - "description": "Returns a new {Point} with the same row and column. " - }, - { - "name": "freeze", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L52", - "visibility": "Public", - "summary": "Makes this point immutable and returns itself. ", - "description": "Makes this point immutable and returns itself. " - }, - { - "name": "translate", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L57", - "visibility": "Public", - "summary": "Return a new {Point} based on shifting this point by the given delta,\nwhich is represented by another {Point}. ", - "description": "Return a new {Point} based on shifting this point by the given delta,\nwhich is represented by another {Point}. " - }, - { - "name": "compare", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L87", - "visibility": "Public", - "summary": "", - "description": "\n\n* other: A {Point} or point-compatible {Array}.", - "arguments": { - "description": "", - "list": [ - { - "name": null, - "description": "-1 if this point precedes the argument.", - "type": null - }, - { - "name": null, - "description": "0 if this point is equivalent to the argument.", - "type": null - }, - { - "name": null, - "description": "1 if this point follows the argument. ", - "type": null - } - ] - }, - "returnValues": [ - { - "type": null, - "description": "Returns:" - } - ] - }, - { - "name": "isEqual", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L102", - "visibility": "Public", - "summary": "Returns a {Boolean} indicating whether this point has the same row\nand column as the given {Point} or point-compatible {Array}. ", - "description": "Returns a {Boolean} indicating whether this point has the same row\nand column as the given {Point} or point-compatible {Array}. " - }, - { - "name": "isLessThan", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L109", - "visibility": "Public", - "summary": "Returns a {Boolean} indicating whether this point precedes the given\n{Point} or point-compatible {Array}. ", - "description": "Returns a {Boolean} indicating whether this point precedes the given\n{Point} or point-compatible {Array}. " - }, - { - "name": "isLessThanOrEqual", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L114", - "visibility": "Public", - "summary": "Returns a {Boolean} indicating whether this point precedes or is\nequal to the given {Point} or point-compatible {Array}. ", - "description": "Returns a {Boolean} indicating whether this point precedes or is\nequal to the given {Point} or point-compatible {Array}. " - }, - { - "name": "isGreaterThan", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L119", - "visibility": "Public", - "summary": "Returns a {Boolean} indicating whether this point follows the given\n{Point} or point-compatible {Array}. ", - "description": "Returns a {Boolean} indicating whether this point follows the given\n{Point} or point-compatible {Array}. " - }, - { - "name": "isGreaterThanOrEqual", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L124", - "visibility": "Public", - "summary": "Returns a {Boolean} indicating whether this point follows or is\nequal to the given {Point} or point-compatible {Array}. ", - "description": "Returns a {Boolean} indicating whether this point follows or is\nequal to the given {Point} or point-compatible {Array}. " - }, - { - "name": "toArray", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L128", - "visibility": "Public", - "summary": "Returns an array of this point's row and column. ", - "description": "Returns an array of this point's row and column. " - }, - { - "name": "serialize", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L132", - "visibility": "Public", - "summary": "Returns an array of this point's row and column. ", - "description": "Returns an array of this point's row and column. " - }, - { - "name": "toString", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/point.coffee#L136", - "visibility": "Public", - "summary": "Returns a string representation of the point. ", - "description": "Returns a string representation of the point. " - } - ], - "visibility": "Public", - "summary": "Represents a point in a buffer in row/column coordinates.", - "description": "Represents a point in a buffer in row/column coordinates.\n\nEvery public method that takes a point also accepts a *point-compatible*\n{Array}. This means a 2-element array containing {Number}s representing the\nrow and column. So the following are equivalent:\n\n```coffee\nnew Point(1, 2)\n[1, 2]\n```" - }, - "Range": { - "name": "Range", - "filename": "src/range.coffee", - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L17", - "sections": [], - "classMethods": [ - { - "name": "deserialize", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L19", - "visibility": "Public", - "summary": "Call this with the result of {Range::serialize} to construct a new Range. ", - "description": "Call this with the result of {Range::serialize} to construct a new Range. " - }, - { - "name": "fromObject", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L33", - "visibility": "Public", - "summary": "Convert any range-compatible object to a {Range}.", - "description": "Convert any range-compatible object to a {Range}.\n\n* object:\n This can be an object that's already a {Range}, in which case it's\n simply returned, or an array containing two {Point}s or point-compatible\n arrays.\n* copy:\n An optional boolean indicating whether to force the copying of objects\n that are already ranges.", - "returnValues": [ - { - "type": "Range", - "description": "Returns: A {Range} based on the given object." - } - ] - }, - { - "name": "fromPointWithDelta", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L80", - "visibility": "Public", - "summary": "Returns a {Range} that starts at the given point and ends at the\nstart point plus the given row and column deltas.", - "description": "Returns a {Range} that starts at the given point and ends at the\nstart point plus the given row and column deltas.\n\n* startPoint:\n A {Point} or point-compatible {Array}\n* rowDelta:\n A {Number} indicating how many rows to add to the start point to get the\n end point.\n* columnDelta:\n A {Number} indicating how many rows to columns to the start point to get\n the end point.", - "returnValues": [ - { - "type": "Range", - "description": "Returns a {Range}" - } - ] - } - ], - "instanceMethods": [ - { - "name": "serialize", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L97", - "visibility": "Public", - "summary": "Returns a plain javascript object representation of the range. ", - "description": "Returns a plain javascript object representation of the range. " - }, - { - "name": "copy", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L101", - "visibility": "Public", - "summary": "Returns a new range with the same start and end positions. ", - "description": "Returns a new range with the same start and end positions. " - }, - { - "name": "freeze", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L106", - "visibility": "Public", - "summary": "Freezes the range and its start and end point so it becomes\nimmutable and returns itself. ", - "description": "Freezes the range and its start and end point so it becomes\nimmutable and returns itself. " - }, - { - "name": "isEqual", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L113", - "visibility": "Public", - "summary": "Returns a {Boolean} indicating whether this range has the same start\nand end points as the given {Range} or range-compatible {Array}. ", - "description": "Returns a {Boolean} indicating whether this range has the same start\nand end points as the given {Range} or range-compatible {Array}. " - }, - { - "name": "compare", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L126", - "visibility": "Public", - "summary": "", - "description": "\n\n* other: A {Range} or range-compatible {Array}.", - "arguments": { - "description": "", - "list": [ - { - "name": null, - "description": "-1 if this range starts before the argument or contains it", - "type": null - }, - { - "name": null, - "description": "0 if this range is equivalent to the argument.", - "type": null - }, - { - "name": null, - "description": "1 if this range starts after the argument or is contained by it. ", - "type": null - } - ] - }, - "returnValues": [ - { - "type": null, - "description": "Returns:" - } - ] - }, - { - "name": "isSingleLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L135", - "visibility": "Public", - "summary": "Returns a {Boolean} indicating whether this range starts and ends on\nthe same row. ", - "description": "Returns a {Boolean} indicating whether this range starts and ends on\nthe same row. " - }, - { - "name": "coversSameRows", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L140", - "visibility": "Public", - "summary": "Returns a {Boolean} indicating whether this range starts and ends on\nthe same row as the argument. ", - "description": "Returns a {Boolean} indicating whether this range starts and ends on\nthe same row as the argument. " - }, - { - "name": "intersectsWith", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L150", - "visibility": "Public", - "summary": "Determines whether this range intersects with the argument. ", - "description": "Determines whether this range intersects with the argument. " - }, - { - "name": "containsRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L163", - "visibility": "Public", - "summary": "Returns a {Boolean} indicating whether this range contains the given\nrange.", - "description": "Returns a {Boolean} indicating whether this range contains the given\nrange.\n\n* otherRange: A {Range} or range-compatible {Array}\n* exclusive:\n A boolean value including that the containment should be exclusive of\n endpoints. Defaults to false. " - }, - { - "name": "containsPoint", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L174", - "visibility": "Public", - "summary": "Returns a {Boolean} indicating whether this range contains the given\npoint.", - "description": "Returns a {Boolean} indicating whether this range contains the given\npoint.\n\n* point: A {Point} or point-compatible {Array}\n* exclusive:\n A boolean value including that the containment should be exclusive of\n endpoints. Defaults to false. " - }, - { - "name": "intersectsRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L188", - "visibility": "Public", - "summary": "Returns a {Boolean} indicating whether this range intersects the\ngiven row {Number}. ", - "description": "Returns a {Boolean} indicating whether this range intersects the\ngiven row {Number}. " - }, - { - "name": "intersectsRowRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L193", - "visibility": "Public", - "summary": "Returns a {Boolean} indicating whether this range intersects the\nrow range indicated by the given startRow and endRow {Number}s. ", - "description": "Returns a {Boolean} indicating whether this range intersects the\nrow range indicated by the given startRow and endRow {Number}s. " - }, - { - "name": "union", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L198", - "visibility": "Public", - "summary": "Returns a new range that contains this range and the given range. ", - "description": "Returns a new range that contains this range and the given range. " - }, - { - "name": "isEmpty", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L206", - "visibility": "Public", - "summary": "Is the start position of this range equal to the end position?", - "description": "Is the start position of this range equal to the end position?", - "returnValues": [ - { - "type": "Boolean", - "description": "Returns a {Boolean}." - } - ] - }, - { - "name": "getRowCount", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L220", - "visibility": "Public", - "summary": "Get the number of rows in this range.", - "description": "Get the number of rows in this range.", - "returnValues": [ - { - "type": "Number", - "description": "Returns a {Number}." - } - ] - }, - { - "name": "getRows", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L224", - "visibility": "Public", - "summary": "Returns an array of all rows in the range. ", - "description": "Returns an array of all rows in the range. " - }, - { - "name": "toString", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/range.coffee#L228", - "visibility": "Public", - "summary": "Returns a string representation of the range. ", - "description": "Returns a string representation of the range. " - } - ], - "visibility": "Public", - "summary": "Represents a region in a buffer in row/column coordinates.", - "description": "Represents a region in a buffer in row/column coordinates.\n\nEvery public method that takes a range also accepts a *range-compatible*\n{Array}. This means a 2-element array containing {Point}s or point-compatible\narrays. So the following are equivalent:\n\n```coffee\nnew Range(new Point(0, 1), new Point(2, 3))\nnew Range([0, 1], [2, 3])\n[[0, 1], [2, 3]]\n```" - }, - "TextBuffer": { - "name": "TextBuffer", - "filename": "src/text-buffer.coffee", - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L69", - "sections": [], - "classMethods": [], - "instanceMethods": [ - { - "name": "constructor", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L93", - "visibility": "Public", - "summary": "Create a new buffer with the given params.", - "description": "Create a new buffer with the given params.\n\nparams - A {String} of text or an {Object} with the following keys:\n :load - A {Boolean}, `true` to asynchronously load the buffer from disk\n after initialization.\n :text - The initial {String} text of the buffer. " - }, - { - "name": "getText", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L131", - "visibility": "Public", - "summary": "Get the entire text of the buffer.", - "description": "Get the entire text of the buffer.", - "returnValues": [ - { - "type": "String", - "description": "Returns a {String}." - } - ] - }, - { - "name": "getLines", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L143", - "visibility": "Public", - "summary": "Get the text of all lines in the buffer, without their line endings.", - "description": "Get the text of all lines in the buffer, without their line endings.", - "returnValues": [ - { - "type": "Array", - "description": "Returns an {Array} of {String}s." - } - ] - }, - { - "name": "isEmpty", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L149", - "visibility": "Public", - "summary": "Determine whether the buffer is empty.", - "description": "Determine whether the buffer is empty.", - "returnValues": [ - { - "type": "Boolean", - "description": "Returns a {Boolean}." - } - ] - }, - { - "name": "getLineCount", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L155", - "visibility": "Public", - "summary": "Get the number of lines in the buffer.", - "description": "Get the number of lines in the buffer.", - "returnValues": [ - { - "type": "Number", - "description": "Returns a {Number}." - } - ] - }, - { - "name": "getLastRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L161", - "visibility": "Public", - "summary": "Get the last 0-indexed row in the buffer.", - "description": "Get the last 0-indexed row in the buffer.", - "returnValues": [ - { - "type": "Number", - "description": "Returns a {Number}." - } - ] - }, - { - "name": "lineForRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L169", - "visibility": "Public", - "summary": "Get the text of the line at the given row, without its line ending.", - "description": "Get the text of the line at the given row, without its line ending.\n\nrow - A {Number} representing a 0-indexed row.", - "returnValues": [ - { - "type": "String", - "description": "Returns a {String}." - } - ] - }, - { - "name": "getLastLine", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L176", - "visibility": "Public", - "summary": "Get the text of the last line of the buffer, without its line\nending.", - "description": "Get the text of the last line of the buffer, without its line\nending.", - "returnValues": [ - { - "type": "String", - "description": "Returns a {String}." - } - ] - }, - { - "name": "lineEndingForRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L188", - "visibility": "Public", - "summary": "Get the line ending for the given 0-indexed row.", - "description": "Get the line ending for the given 0-indexed row.\n\nrow - A {Number} indicating the row.\n\nThe returned newline is represented as a literal string: `'\\n'`, `'\\r'`,\n`'\\r\\n'`, or `''` for the last line of the buffer, which doesn't end in a\nnewline.", - "returnValues": [ - { - "type": "String", - "description": "Returns a {String}." - } - ] - }, - { - "name": "lineLengthForRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L197", - "visibility": "Public", - "summary": "Get the length of the line for the given 0-indexed row, without its\nline ending.", - "description": "Get the length of the line for the given 0-indexed row, without its\nline ending.\n\nrow - A {Number} indicating the row.", - "returnValues": [ - { - "type": "Number", - "description": "Returns a {Number}." - } - ] - }, - { - "name": "setText", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L205", - "visibility": "Public", - "summary": "Replace the entire contents of the buffer with the given text.", - "description": "Replace the entire contents of the buffer with the given text.\n\ntext - A {String}", - "returnValues": [ - { - "type": "Range", - "description": "Returns a {Range} spanning the new buffer contents." - } - ] - }, - { - "name": "setTextViaDiff", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L212", - "visibility": "Public", - "summary": "Replace the current buffer contents by applying a diff based on the\ngiven text.", - "description": "Replace the current buffer contents by applying a diff based on the\ngiven text.\n\ntext - A {String} containing the new buffer contents. " - }, - { - "name": "setTextInRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L261", - "visibility": "Public", - "summary": "Set the text in the given range.", - "description": "Set the text in the given range.\n\nrange - A {Range}.\ntext - A {String}.", - "returnValues": [ - { - "type": "Range", - "description": "Returns the {Range} of the inserted text." - } - ] - }, - { - "name": "insert", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L274", - "visibility": "Public", - "summary": "Insert text at the given position.", - "description": "Insert text at the given position.\n\nposition - A {Point} representing the insertion location. The position is\n clipped before insertion.\ntext - A {String} representing the text to insert.", - "returnValues": [ - { - "type": "Range", - "description": "Returns the {Range} of the inserted text." - } - ] - }, - { - "name": "append", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L282", - "visibility": "Public", - "summary": "Append text to the end of the buffer.", - "description": "Append text to the end of the buffer.\n\ntext - A {String} representing the text text to append.", - "returnValues": [ - { - "type": "Range", - "description": "Returns the {Range} of the inserted text" - } - ] - }, - { - "name": "deleteRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L298", - "visibility": "Public", - "summary": "Delete the line associated with a specified row.", - "description": "Delete the line associated with a specified row.\n\nrow - A {Number} representing the 0-indexed row to delete.", - "returnValues": [ - { - "type": "Range", - "description": "Returns the {Range} of the deleted text." - } - ] - }, - { - "name": "deleteRows", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L310", - "visibility": "Public", - "summary": "Delete the lines associated with the specified row range.", - "description": "Delete the lines associated with the specified row range.\n\nstartRow - A {Number} representing the first row to delete.\nendRow - A {Number} representing the last row to delete, inclusive.\n\nIf the row range is out of bounds, it will be clipped. If the startRow is\ngreater than the end row, they will be reordered.", - "returnValues": [ - { - "type": "Range", - "description": "Returns the {Range} of the deleted text." - } - ] - }, - { - "name": "getTextInRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L407", - "visibility": "Public", - "summary": "Get the text in a range.", - "description": "Get the text in a range.\n\nrange - A {Range}", - "returnValues": [ - { - "type": "String", - "description": "Returns a {String}" - } - ] - }, - { - "name": "clipRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L437", - "visibility": "Public", - "summary": "Clip the given range so it starts and ends at valid positions.", - "description": "Clip the given range so it starts and ends at valid positions.\n\nFor example, the position [1, 100] is out of bounds if the line at row 1 is\nonly 10 characters long, and it would be clipped to (1, 10).\n\nrange - A {Range} or range-compatible {Array} to clip.", - "returnValues": [ - { - "type": "Range", - "description": "Returns the given {Range} if it is already in bounds, or a new clipped {Range} if the given range is out-of-bounds." - } - ] - }, - { - "name": "clipPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L455", - "visibility": "Public", - "summary": "Clip the given point so it is at a valid position in the buffer.", - "description": "Clip the given point so it is at a valid position in the buffer.\n\nFor example, the position (1, 100) is out of bounds if the line at row 1 is\nonly 10 characters long, and it would be clipped to (1, 10)\n\nposition - A {Point} or point-compatible {Array}.", - "returnValues": [ - { - "type": "Point", - "description": "Returns a new {Point} if the given position is invalid, otherwise returns the given position." - } - ] - }, - { - "name": "getFirstPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L472", - "visibility": "Public", - "summary": "Get the first position in the buffer, which is always `[0, 0]`.", - "description": "Get the first position in the buffer, which is always `[0, 0]`.", - "returnValues": [ - { - "type": "Point", - "description": "Returns a {Point}." - } - ] - }, - { - "name": "getEndPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L479", - "visibility": "Public", - "summary": "Get the maximal position in the buffer, where new text would be\nappended.", - "description": "Get the maximal position in the buffer, where new text would be\nappended.", - "returnValues": [ - { - "type": "Point", - "description": "Returns a {Point}." - } - ] - }, - { - "name": "getRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L486", - "visibility": "Public", - "summary": "Get the range spanning from `[0, 0]` to {::getEndPosition}.", - "description": "Get the range spanning from `[0, 0]` to {::getEndPosition}.", - "returnValues": [ - { - "type": "Range", - "description": "Returns a {Range}." - } - ] - }, - { - "name": "rangeForRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L497", - "visibility": "Public", - "summary": "Get the range for the given row", - "description": "Get the range for the given row\n\nrow - A {Number} representing a 0-indexed row.\nincludeNewline - A {Boolean} indicating whether or not to include the\n newline, which results in a range that extends to the start\n of the next line.", - "returnValues": [ - { - "type": "Range", - "description": "Returns a {Range}." - } - ] - }, - { - "name": "characterIndexForPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L516", - "visibility": "Public", - "summary": "Convert a position in the buffer in row/column coordinates to an\nabsolute character offset, inclusive of line ending characters.", - "description": "Convert a position in the buffer in row/column coordinates to an\nabsolute character offset, inclusive of line ending characters.\n\nThe position is clipped prior to translating.\n\nposition - A {Point}.", - "returnValues": [ - { - "type": "Number", - "description": "Returns a {Number}." - } - ] - }, - { - "name": "positionForCharacterIndex", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L533", - "visibility": "Public", - "summary": "Convert an absolute character offset, inclusive of newlines, to a\nposition in the buffer in row/column coordinates.", - "description": "Convert an absolute character offset, inclusive of newlines, to a\nposition in the buffer in row/column coordinates.\n\nThe offset is clipped prior to translating.\n\noffset - A {Number}.", - "returnValues": [ - { - "type": "Point", - "description": "Returns a {Point}." - } - ] - }, - { - "name": "getMaxCharacterIndex", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L546", - "visibility": "Public", - "summary": "Get the length of the buffer in characters.", - "description": "Get the length of the buffer in characters.", - "returnValues": [ - { - "type": "Number", - "description": "Returns a {Number}." - } - ] - }, - { - "name": "reload", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L630", - "visibility": "Public", - "summary": "Reload the buffer's contents from disk.", - "description": "Reload the buffer's contents from disk.\n\nSets the buffer's content to the cached disk contents " - }, - { - "name": "getUri", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L663", - "visibility": "Public", - "summary": "Get the path of the associated file.", - "description": "Get the path of the associated file.", - "returnValues": [ - { - "type": "String", - "description": "Returns a {String}." - } - ] - }, - { - "name": "setPath", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L669", - "visibility": "Public", - "summary": "Set the path for the buffer's associated file.", - "description": "Set the path for the buffer's associated file.\n\nfilePath - A {String} representing the new file path " - }, - { - "name": "save", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L688", - "visibility": "Public", - "summary": "Save the buffer. ", - "description": "Save the buffer. " - }, - { - "name": "saveAs", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L694", - "visibility": "Public", - "summary": "Save the buffer at a specific path.", - "description": "Save the buffer at a specific path.\n\nfilePath - The path to save at. " - }, - { - "name": "isModified", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L711", - "visibility": "Public", - "summary": "Determine if the in-memory contents of the buffer differ from its\ncontents on disk.", - "description": "Determine if the in-memory contents of the buffer differ from its\ncontents on disk.\n\nIf the buffer is unsaved, always returns `true` unless the buffer is empty.", - "returnValues": [ - { - "type": "Boolean", - "description": "Returns a {Boolean}." - } - ] - }, - { - "name": "isInConflict", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L725", - "visibility": "Public", - "summary": "Determine if the in-memory contents of the buffer conflict with the\non-disk contents of its associated file.", - "description": "Determine if the in-memory contents of the buffer conflict with the\non-disk contents of its associated file.", - "returnValues": [ - { - "type": "Boolean", - "description": "Returns a {Boolean}." - } - ] - }, - { - "name": "scan", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L775", - "visibility": "Public", - "summary": "Scan regular expression matches in the entire buffer, calling the\ngiven iterator function on each match.", - "description": "Scan regular expression matches in the entire buffer, calling the\ngiven iterator function on each match.\n\nIf you're programmatically modifying the results, you may want to try\n{::backwardsScan} to avoid tripping over your own changes.\n\nregex - A {RegExp} to search for.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " - }, - { - "name": "backwardsScan", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L793", - "visibility": "Public", - "summary": "Scan regular expression matches in the entire buffer in reverse\norder, calling the given iterator function on each match.", - "description": "Scan regular expression matches in the entire buffer in reverse\norder, calling the given iterator function on each match.\n\nregex - A {RegExp} to search for.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " - }, - { - "name": "replace", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L805", - "visibility": "Public", - "summary": "Replace all regular expression matches in the entire buffer.", - "description": "Replace all regular expression matches in the entire buffer.\n\nregex - A {RegExp} representing the matches to be replaced.\nreplacementText - A {String} representing the text to replace each match.", - "returnValues": [ - { - "type": "Number", - "description": "Returns a {Number} representing the number of replacements made." - } - ] - }, - { - "name": "scanInRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L831", - "visibility": "Public", - "summary": "Scan regular expression matches in a given range , calling the given\niterator function on each match.", - "description": "Scan regular expression matches in a given range , calling the given\niterator function on each match.\n\nregex - A {RegExp} to search for.\nrange - A {Range} in which to search.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " - }, - { - "name": "backwardsScanInRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L882", - "visibility": "Public", - "summary": "Scan regular expression matches in a given range in reverse order,\ncalling the given iterator function on each match.", - "description": "Scan regular expression matches in a given range in reverse order,\ncalling the given iterator function on each match.\n\nregex - A {RegExp} to search for.\nrange - A {Range} in which to search.\niterator -\n A {Function} that's called on each match with an {Object} containing the.\n following keys:\n :match - The current regular expression match.\n :matchText - A {String} with the text of the match.\n :range - The {Range} of the match.\n :stop - Call this {Function} to terminate the scan.\n :replace - Call this {Function} with a {String} to replace the match. " - }, - { - "name": "isRowBlank", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L890", - "visibility": "Public", - "summary": "Determine if the given row contains only whitespace.", - "description": "Determine if the given row contains only whitespace.\n\nrow - A {Number} representing a 0-indexed row.", - "returnValues": [ - { - "type": "Boolean", - "description": "Returns a {Boolean}." - } - ] - }, - { - "name": "previousNonBlankRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L898", - "visibility": "Public", - "summary": "Given a row, find the first preceding row that's not blank.", - "description": "Given a row, find the first preceding row that's not blank.\n\nstartRow - A {Number} identifying the row to start checking at.", - "returnValues": [ - { - "type": "Number", - "description": "Returns a {Number} or `null` if there's no preceding non-blank row." - } - ] - }, - { - "name": "nextNonBlankRow", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L911", - "visibility": "Public", - "summary": "Given a row, find the next row that's not blank.", - "description": "Given a row, find the next row that's not blank.\n\nstartRow - A {Number} identifying the row to start checking at.", - "returnValues": [ - { - "type": "Number", - "description": "Returns a {Number} or `null` if there's no next non-blank row." - } - ] - }, - { - "name": "undo", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L957", - "visibility": "Public", - "summary": "Undo the last operation. If a transaction is in progress, aborts it. ", - "description": "Undo the last operation. If a transaction is in progress, aborts it. " - }, - { - "name": "redo", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L960", - "visibility": "Public", - "summary": "Redo the last operation ", - "description": "Redo the last operation " - }, - { - "name": "transact", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L970", - "visibility": "Public", - "summary": "Batch multiple operations as a single undo/redo step.", - "description": "Batch multiple operations as a single undo/redo step.\n\nAny group of operations that are logically grouped from the perspective of\nundoing and redoing should be performed in a transaction. If you want to\nabort the transaction, call {::abortTransaction} to terminate the function's\nexecution and revert any changes performed up to the abortion.\n\nfn - A {Function} to call inside the transaction. " - }, - { - "name": "beginTransaction", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L978", - "visibility": "Public", - "summary": "Start an open-ended transaction.", - "description": "Start an open-ended transaction.\n\nCall {::commitTransaction} or {::abortTransaction} to terminate the\ntransaction. If you nest calls to transactions, only the outermost\ntransaction is considered. You must match every begin with a matching\ncommit, but a single call to abort will cancel all nested transactions. " - }, - { - "name": "commitTransaction", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L984", - "visibility": "Public", - "summary": "Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.", - "description": "Commit an open-ended transaction started with {::beginTransaction}\nand push it to the undo stack.\n\nIf transactions are nested, only the outermost commit takes effect. " - }, - { - "name": "abortTransaction", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L988", - "visibility": "Public", - "summary": "Abort an open transaction, undoing any operations performed so far\nwithin the transaction. ", - "description": "Abort an open transaction, undoing any operations performed so far\nwithin the transaction. " - }, - { - "name": "clearUndoStack", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L991", - "visibility": "Public", - "summary": "Clear the undo stack. ", - "description": "Clear the undo stack. " - }, - { - "name": "markRange", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L1030", - "visibility": "Public", - "summary": "Create a marker with the given range. This marker will maintain\nits logical location as the buffer is changed, so if you mark a particular\nword, the marker will remain over that word even if the word's location in\nthe buffer changes.", - "description": "Create a marker with the given range. This marker will maintain\nits logical location as the buffer is changed, so if you mark a particular\nword, the marker will remain over that word even if the word's location in\nthe buffer changes.\n\n* range: A {Range} or range-compatible {Array}\n* properties:\n A hash of key-value pairs to associate with the marker. There are also\n reserved property names that have marker-specific meaning:\n ```\n :reversed -\n Creates the marker in a reversed orientation. Defaults to false.\n :persistent -\n Whether to include this marker when serializing the buffer. Defaults\n to true.\n :invalidate -\n Determines the rules by which changes to the buffer *invalidate* the\n marker. Defaults to 'overlap', but can be any of the following\n strategies, in order of fragility:\n * 'never':\n The marker is never marked as invalid. This is a good choice for\n markers representing selections in an editor.\n * 'surround':\n The marker is invalidated by changes that completely surround it.\n * 'overlap':\n The marker is invalidated by changes that surround the start or\n end of the marker. This is the default.\n * 'inside':\n The marker is invalidated by changes that extend into the\n inside of the marker. Changes that end at the marker's start or\n start at the marker's end do not invalidate the marker.\n * 'touch':\n The marker is invalidated by a change that touches the marked\n region in any way, including changes that end at the marker's\n start or start at the marker's end. This is the most fragile\n strategy.\n ```", - "returnValues": [ - { - "type": "Marker", - "description": "Returns a {Marker}." - } - ] - }, - { - "name": "markPosition", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L1038", - "visibility": "Public", - "summary": "Create a marker at the given position with no tail.", - "description": "Create a marker at the given position with no tail.\n\n:position - {Point} or point-compatible {Array}\n:properties - This is the same as the `properties` parameter in {::markRange}", - "returnValues": [ - { - "type": "Marker", - "description": "Returns a {Marker}." - } - ] - }, - { - "name": "getMarker", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L1043", - "visibility": "Public", - "summary": "Get an existing marker by its id.", - "description": "Get an existing marker by its id.", - "returnValues": [ - { - "type": "Marker", - "description": "Returns a {Marker}." - } - ] - }, - { - "name": "getMarkers", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L1048", - "visibility": "Public", - "summary": "Get all existing markers on the buffer.", - "description": "Get all existing markers on the buffer.", - "returnValues": [ - { - "type": "Array", - "description": "Returns an {Array} of {Marker}s." - } - ] - }, - { - "name": "findMarkers", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L1070", - "visibility": "Public", - "summary": "Find markers conforming to the given parameters.", - "description": "Find markers conforming to the given parameters.\n\n:params -\n A hash of key-value pairs constraining the set of returned markers. You\n can query against custom marker properties by listing the desired\n key-value pairs here. In addition, the following keys are reserved and\n have special semantics:\n\n* 'startPosition': Only include markers that start at the given {Point}.\n* 'endPosition': Only include markers that end at the given {Point}.\n* 'containsPoint': Only include markers that contain the given {Point}, inclusive.\n* 'containsRange': Only include markers that contain the given {Range}, inclusive.\n* 'startRow': Only include markers that start at the given row {Number}.\n* 'endRow': Only include markers that end at the given row {Number}.\n* 'intersectsRow': Only include markers that intersect the given row {Number}.\n\nFinds markers that conform to all of the given parameters. Markers are\nsorted based on their position in the buffer. If two markers start at the\nsame position, the larger marker comes first.", - "returnValues": [ - { - "type": "Array", - "description": "Returns an {Array} of {Marker}s." - } - ] - }, - { - "name": "getMarkerCount", - "sectionName": null, - "srcUrl": "https://github.com/atom/text-buffer/blob/v3.0.0/src/text-buffer.coffee#L1075", - "visibility": "Public", - "summary": "Get the number of markers in the buffer.", - "description": "Get the number of markers in the buffer.", - "returnValues": [ - { - "type": "Number", - "description": "Returns a {Number}." - } - ] - } - ], - "visibility": "Public", - "summary": "A mutable text container with undo/redo support and the ability to\nannotate logical regions in the text.", - "description": "A mutable text container with undo/redo support and the ability to\nannotate logical regions in the text.", - "events": { - "description": "", - "list": [ - { - "children": [ - { - "name": "oldRange", - "description": "The {Range} of the old text", - "type": "Range" - }, - { - "name": "newRange", - "description": "The {Range} of the new text", - "type": "Range" - }, - { - "name": "oldText", - "description": "A {String} containing the text that was replaced", - "type": "String" - }, - { - "name": "newText", - "description": "A {String} containing the text that was inserted", - "type": "String" - } - ], - "name": "changed", - "description": "Emitted synchronously whenever the buffer changes. Binding a slow handler to this event has the potential to destroy typing performance. Consider using `contents-modified` instead and aim for extremely fast performance (< 2 ms) if you must bind to it. Your handler will be called with an object containing the following keys.", - "type": null - }, - { - "children": [ - { - "name": null, - "description": "The text of the buffer is changed", - "type": null - }, - { - "name": null, - "description": "All markers are updated accordingly, but their `changed` events are not emited", - "type": null - }, - { - "name": null, - "description": "The `changed` event is emitted", - "type": null - }, - { - "name": null, - "description": "The `changed` events of all updated markers are emitted", - "type": null - }, - { - "name": null, - "description": "The `markers-updated` event is emitted.", - "type": null - } - ], - "name": "markers-updated", - "description": "Emitted synchronously when the `changed` events of all markers have been fired for a change. The order of events is as follows:", - "type": null - }, - { - "name": "contents-modified", - "description": "Emitted asynchronously 300ms (or `TextBuffer::stoppedChangingDelay`) after the last buffer change. This is a good place to handle changes to the buffer without compromising typing performance.", - "type": null - }, - { - "name": "modified-status-changed", - "description": "Emitted with a {Boolean} when the result of {::isModified} changes.", - "type": "Boolean" - }, - { - "name": "contents-conflicted", - "description": "Emitted when the buffer's underlying file changes on disk at a moment when the result of {::isModified} is true.", - "type": null - }, - { - "name": "will-reload", - "description": "Emitted before the in-memory contents of the buffer are refreshed from the contents of the file on disk.", - "type": null - }, - { - "name": "reloaded", - "description": "Emitted after the in-memory contents of the buffer are refreshed from the contents of the file on disk.", - "type": null - }, - { - "name": "will-be-saved", - "description": "Emitted before the buffer is saved to disk.", - "type": null - }, - { - "name": "saved", - "description": "Emitted after the buffer is saved to disk.", - "type": null - }, - { - "name": "destroyed", - "description": "Emitted when the buffer is destroyed. ", - "type": null - } - ] - } - } - } -} \ No newline at end of file From 50ddb8e3cc966f25f15fd04504c251921e2592eb Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 19 Aug 2014 18:11:52 -0600 Subject: [PATCH 067/144] Upload atom-api.json asset during publish --- build/tasks/publish-build-task.coffee | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/build/tasks/publish-build-task.coffee b/build/tasks/publish-build-task.coffee index 61738b2f6..69ba1b20b 100644 --- a/build/tasks/publish-build-task.coffee +++ b/build/tasks/publish-build-task.coffee @@ -17,6 +17,7 @@ defaultHeaders = module.exports = (gruntObject) -> grunt = gruntObject + {cp} = require('./task-helpers')(grunt) grunt.registerTask 'publish-build', 'Publish the built app', -> return if process.env.JANKY_SHA1 and process.env.JANKY_BRANCH isnt 'master' @@ -24,8 +25,10 @@ module.exports = (gruntObject) -> tasks.unshift('build-docs', 'prepare-docs') if process.platform is 'darwin' grunt.task.run(tasks) - grunt.registerTask 'prepare-docs', 'Move the build docs to the build dir', -> - fs.copySync(grunt.config.get('docsOutputDir'), path.join(grunt.config.get('atom.buildDir'), 'atom-docs')) + grunt.registerTask 'prepare-docs', 'Move api.json to atom-api.json', -> + docsOutputDir = grunt.config.get('docsOutputDir') + buildDir = grunt.config.get('atom.buildDir') + cp path.join(docsOutputDir, 'api.json'), path.join(buildDir, 'atom-api.json') grunt.registerTask 'upload-assets', 'Upload the assets to a GitHub release', -> done = @async() @@ -46,7 +49,7 @@ getAssets = -> [ {assetName: 'atom-mac.zip', sourcePath: 'Atom.app'} {assetName: 'atom-mac-symbols.zip', sourcePath: 'Atom.breakpad.syms'} - {assetName: 'atom-docs.zip', sourcePath: 'atom-docs'} + {assetName: 'atom-api.json', sourcePath: 'atom-api.json'} ] else [ @@ -70,7 +73,7 @@ zipAssets = (buildDir, assets, callback) -> callback(error) tasks = [] - for {assetName, sourcePath} in assets + for {assetName, sourcePath} in assets when path.extname(assetName) is '.zip' fs.removeSync(path.join(buildDir, assetName)) tasks.push(zip.bind(this, buildDir, sourcePath, assetName)) async.parallel(tasks, callback) From e4939a8d6df19185c993a7b53eb8a490aceef634 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Tue, 19 Aug 2014 18:27:42 -0600 Subject: [PATCH 068/144] Add sections to editor docs --- src/editor.coffee | 2085 +++++++++++++++++++++++---------------------- 1 file changed, 1064 insertions(+), 1021 deletions(-) diff --git a/src/editor.coffee b/src/editor.coffee index 3bf30eb29..d6265fcd4 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -50,91 +50,6 @@ TextMateScopeSelector = require('first-mate').ScopeSelector # # **When in doubt, just default to buffer coordinates**, then experiment with # soft wraps and folds to ensure your code interacts with them correctly. -# -# ## Common Tasks -# -# This is a subset of methods on this class. Refer to the complete summary for -# its full capabilities. -# -# ### Cursors -# - {::setCursorBufferPosition} -# - {::setCursorScreenPosition} -# - {::moveCursorUp} -# - {::moveCursorDown} -# - {::moveCursorLeft} -# - {::moveCursorRight} -# - {::moveCursorToBeginningOfWord} -# - {::moveCursorToEndOfWord} -# - {::moveCursorToPreviousWordBoundary} -# - {::moveCursorToNextWordBoundary} -# - {::moveCursorToBeginningOfNextWord} -# - {::moveCursorToBeginningOfLine} -# - {::moveCursorToEndOfLine} -# - {::moveCursorToFirstCharacterOfLine} -# - {::moveCursorToTop} -# - {::moveCursorToBottom} -# -# ### Selections -# - {::getSelectedBufferRange} -# - {::getSelectedBufferRanges} -# - {::setSelectedBufferRange} -# - {::setSelectedBufferRanges} -# - {::selectUp} -# - {::selectDown} -# - {::selectLeft} -# - {::selectRight} -# - {::selectToBeginningOfWord} -# - {::selectToEndOfWord} -# - {::selectToPreviousWordBoundary} -# - {::selectToNextWordBoundary} -# - {::selectWord} -# - {::selectToBeginningOfLine} -# - {::selectToEndOfLine} -# - {::selectToFirstCharacterOfLine} -# - {::selectToTop} -# - {::selectToBottom} -# - {::selectAll} -# - {::addSelectionForBufferRange} -# - {::addSelectionAbove} -# - {::addSelectionBelow} -# - {::splitSelectionsIntoLines} -# -# ### Manipulating Text -# - {::getText} -# - {::getSelectedText} -# - {::setText} -# - {::setTextInBufferRange} -# - {::insertText} -# - {::insertNewline} -# - {::insertNewlineAbove} -# - {::insertNewlineBelow} -# - {::backspace} -# - {::deleteToBeginningOfWord} -# - {::deleteToBeginningOfLine} -# - {::delete} -# - {::deleteToEndOfLine} -# - {::deleteToEndOfWord} -# - {::deleteLine} -# - {::cutSelectedText} -# - {::cutToEndOfLine} -# - {::copySelectedText} -# - {::pasteText} -# -# ### Undo, Redo, and Transactions -# - {::undo} -# - {::redo} -# - {::transact} -# - {::abortTransaction} -# -# ### Markers -# - {::markBufferRange} -# - {::markScreenRange} -# - {::getMarker} -# - {::findMarkers} -# -# ### Decorations -# - {::decorateMarker} -# - {::decorationsForScreenRowRange} module.exports = class Editor extends Model Serializable.includeInto(this) @@ -244,6 +159,12 @@ class Editor extends Model @displayBuffer.destroy() @languageMode.destroy() + # Retrieves the current {TextBuffer}. + getBuffer: -> @buffer + + # Retrieves the current buffer's URI. + getUri: -> @buffer.getUri() + # Create an {Editor} with its initial state based on this object copy: -> tabLength = @getTabLength() @@ -254,6 +175,26 @@ class Editor extends Model marker.copy(editorId: newEditor.id, preserveFolds: true) newEditor + # Controls visibility based on the given {Boolean}. + setVisible: (visible) -> @displayBuffer.setVisible(visible) + + setMini: (mini) -> + if mini isnt @mini + @mini = mini + @updateInvisibles() + + # Set the number of characters that can be displayed horizontally in the + # editor. + # + # * `editorWidthInChars` A {Number} representing the width of the {EditorView} + # in characters. + setEditorWidthInChars: (editorWidthInChars) -> + @displayBuffer.setEditorWidthInChars(editorWidthInChars) + + ### + Section: File Details + ### + # Public: Get the title the editor's title for display in other parts of the # UI such as the tabs. # @@ -283,159 +224,8 @@ class Editor extends Model else 'untitled' - # Controls visibility based on the given {Boolean}. - setVisible: (visible) -> @displayBuffer.setVisible(visible) - - setMini: (mini) -> - if mini isnt @mini - @mini = mini - @updateInvisibles() - - # Set the number of characters that can be displayed horizontally in the - # editor. - # - # * `editorWidthInChars` A {Number} representing the width of the {EditorView} - # in characters. - setEditorWidthInChars: (editorWidthInChars) -> - @displayBuffer.setEditorWidthInChars(editorWidthInChars) - - # Public: Sets the column at which column will soft wrap - getSoftWrapColumn: -> @displayBuffer.getSoftWrapColumn() - - # Public: Returns a {Boolean} indicating whether softTabs are enabled for this - # editor. - getSoftTabs: -> @softTabs - - # Public: Enable or disable soft tabs for this editor. - # - # * `softTabs` A {Boolean} - setSoftTabs: (@softTabs) -> @softTabs - - # Public: Toggle soft tabs for this editor - toggleSoftTabs: -> @setSoftTabs(not @getSoftTabs()) - - # Public: Get whether soft wrap is enabled for this editor. - getSoftWrap: -> @displayBuffer.getSoftWrap() - - # Public: Enable or disable soft wrap for this editor. - # - # * `softWrap` A {Boolean} - setSoftWrap: (softWrap) -> @displayBuffer.setSoftWrap(softWrap) - - # Public: Toggle soft wrap for this editor - toggleSoftWrap: -> @setSoftWrap(not @getSoftWrap()) - - # Public: Get the text representing a single level of indent. - # - # If soft tabs are enabled, the text is composed of N spaces, where N is the - # tab length. Otherwise the text is a tab character (`\t`). - # - # Returns a {String}. - getTabText: -> @buildIndentString(1) - - # Public: Get the on-screen length of tab characters. - # - # Returns a {Number}. - getTabLength: -> @displayBuffer.getTabLength() - - # Public: Set the on-screen length of tab characters. - setTabLength: (tabLength) -> @displayBuffer.setTabLength(tabLength) - - # Public: Determine if the buffer uses hard or soft tabs. - # - # Returns `true` if the first non-comment line with leading whitespace starts - # with a space character. Returns `false` if it starts with a hard tab (`\t`). - # - # Returns a {Boolean}, - usesSoftTabs: -> - for bufferRow in [0..@buffer.getLastRow()] - continue if @displayBuffer.tokenizedBuffer.lineForScreenRow(bufferRow).isComment() - if match = @buffer.lineForRow(bufferRow).match(/^\s/) - return match[0][0] != '\t' - undefined - - # Public: Clip the given {Point} to a valid position in the buffer. - # - # If the given {Point} describes a position that is actually reachable by the - # cursor based on the current contents of the buffer, it is returned - # unchanged. If the {Point} does not describe a valid position, the closest - # valid position is returned instead. - # - # ## Examples - # - # ```coffee - # editor.clipBufferPosition([-1, -1]) # -> `[0, 0]` - # - # # When the line at buffer row 2 is 10 characters long - # editor.clipBufferPosition([2, Infinity]) # -> `[2, 10]` - # ``` - # - # * `bufferPosition` The {Point} representing the position to clip. - # - # Returns a {Point}. - clipBufferPosition: (bufferPosition) -> @buffer.clipPosition(bufferPosition) - - # Public: Clip the start and end of the given range to valid positions in the - # buffer. See {::clipBufferPosition} for more information. - # - # * `range` The {Range} to clip. - # - # Returns a {Range}. - clipBufferRange: (range) -> @buffer.clipRange(range) - - # Public: Get the indentation level of the given a buffer row. - # - # Returns how deeply the given row is indented based on the soft tabs and - # tab length settings of this editor. Note that if soft tabs are enabled and - # the tab length is 2, a row with 4 leading spaces would have an indentation - # level of 2. - # - # * `bufferRow` A {Number} indicating the buffer row. - # - # Returns a {Number}. - indentationForBufferRow: (bufferRow) -> - @indentLevelForLine(@lineForBufferRow(bufferRow)) - - # Public: Set the indentation level for the given buffer row. - # - # Inserts or removes hard tabs or spaces based on the soft tabs and tab length - # settings of this editor in order to bring it to the given indentation level. - # Note that if soft tabs are enabled and the tab length is 2, a row with 4 - # leading spaces would have an indentation level of 2. - # - # * `bufferRow` A {Number} indicating the buffer row. - # * `newLevel` A {Number} indicating the new indentation level. - # * `options` An {Object} with the following keys: - # * `preserveLeadingWhitespace` `true` to preserve any whitespace already at - # the beginning of the line (default: false). - setIndentationForBufferRow: (bufferRow, newLevel, {preserveLeadingWhitespace}={}) -> - if preserveLeadingWhitespace - endColumn = 0 - else - endColumn = @lineForBufferRow(bufferRow).match(/^\s*/)[0].length - newIndentString = @buildIndentString(newLevel) - @buffer.setTextInRange([[bufferRow, 0], [bufferRow, endColumn]], newIndentString) - - # Public: Get the indentation level of the given line of text. - # - # Returns how deeply the given line is indented based on the soft tabs and - # tab length settings of this editor. Note that if soft tabs are enabled and - # the tab length is 2, a row with 4 leading spaces would have an indentation - # level of 2. - # - # * `line` A {String} representing a line of text. - # - # Returns a {Number}. - indentLevelForLine: (line) -> - @displayBuffer.indentLevelForLine(line) - - # Constructs the string used for tabs. - buildIndentString: (number, column=0) -> - if @getSoftTabs() - tabStopViolation = column % @getTabLength() - _.multiplyString(" ", Math.floor(number * @getTabLength()) - tabStopViolation) - else - _.multiplyString("\t", Math.floor(number)) + # Public: Returns the {String} path of this editor's text buffer. + getPath: -> @buffer.getPath() # Public: Saves the editor's text buffer. # @@ -449,53 +239,74 @@ class Editor extends Model # * `filePath` A {String} path. saveAs: (filePath) -> @buffer.saveAs(filePath) + # Public: Determine whether the user should be prompted to save before closing + # this editor. + shouldPromptToSave: -> @isModified() and not @buffer.hasMultipleEditors() + + # Public: Returns {Boolean} `true` if this editor has been modified. + isModified: -> @buffer.isModified() + + isEmpty: -> @buffer.isEmpty() + # Copies the current file path to the native clipboard. copyPathToClipboard: -> if filePath = @getPath() atom.clipboard.write(filePath) - # Public: Returns the {String} path of this editor's text buffer. - getPath: -> @buffer.getPath() + ### + Section: Reading Text + ### # Public: Returns a {String} representing the entire contents of the editor. getText: -> @buffer.getText() - # Public: Replaces the entire contents of the buffer with the given {String}. - setText: (text) -> @buffer.setText(text) - - # Get the text in the given {Range}. + # Public: Get the text in the given {Range} in buffer coordinates. + # + # * `range` A {Range} or range-compatible {Array}. # # Returns a {String}. - getTextInRange: (range) -> @buffer.getTextInRange(range) + getTextInBufferRange: (range) -> + @buffer.getTextInRange(range) # Public: Returns a {Number} representing the number of lines in the editor. getLineCount: -> @buffer.getLineCount() - # Retrieves the current {TextBuffer}. - getBuffer: -> @buffer - - # Public: Retrieves the current buffer's URI. - getUri: -> @buffer.getUri() - - # {Delegates to: TextBuffer.isRowBlank} - isBufferRowBlank: (bufferRow) -> @buffer.isRowBlank(bufferRow) - - # Public: Determine if the given row is entirely a comment - isBufferRowCommented: (bufferRow) -> - if match = @lineForBufferRow(bufferRow).match(/\S/) - scopes = @tokenForBufferPosition([bufferRow, match.index]).scopes - new TextMateScopeSelector('comment.*').matches(scopes) - - # {Delegates to: TextBuffer.nextNonBlankRow} - nextNonBlankBufferRow: (bufferRow) -> @buffer.nextNonBlankRow(bufferRow) - - # {Delegates to: TextBuffer.getEndPosition} - getEofBufferPosition: -> @buffer.getEndPosition() + # {Delegates to: DisplayBuffer.getLineCount} + getScreenLineCount: -> @displayBuffer.getLineCount() # Public: Returns a {Number} representing the last zero-indexed buffer row # number of the editor. getLastBufferRow: -> @buffer.getLastRow() + # {Delegates to: DisplayBuffer.getLastRow} + getLastScreenRow: -> @displayBuffer.getLastRow() + + # Public: Returns a {String} representing the contents of the line at the + # given buffer row. + # + # * `row` A {Number} representing a zero-indexed buffer row. + lineForBufferRow: (row) -> @buffer.lineForRow(row) + + # {Delegates to: DisplayBuffer.lineForRow} + lineForScreenRow: (row) -> @displayBuffer.lineForRow(row) + + # {Delegates to: DisplayBuffer.linesForRows} + linesForScreenRows: (start, end) -> @displayBuffer.linesForRows(start, end) + + # Public: Returns a {Number} representing the line length for the given + # buffer row, exclusive of its line-ending character(s). + # + # * `row` A {Number} indicating the buffer row. + lineLengthForBufferRow: (row) -> @buffer.lineLengthForRow(row) + + bufferRowForScreenRow: (row) -> @displayBuffer.bufferRowForScreenRow(row) + + # {Delegates to: DisplayBuffer.bufferRowsForScreenRows} + bufferRowsForScreenRows: (startRow, endRow) -> @displayBuffer.bufferRowsForScreenRows(startRow, endRow) + + # {Delegates to: DisplayBuffer.getMaxLineLength} + getMaxScreenLineLength: -> @displayBuffer.getMaxLineLength() + # Returns the range for the given buffer row. # # * `row` A row {Number}. @@ -504,460 +315,53 @@ class Editor extends Model # Returns a {Range}. bufferRangeForBufferRow: (row, {includeNewline}={}) -> @buffer.rangeForRow(row, includeNewline) - # Public: Returns a {String} representing the contents of the line at the - # given buffer row. + # Get the text in the given {Range}. # - # * `row` A {Number} representing a zero-indexed buffer row. - lineForBufferRow: (row) -> @buffer.lineForRow(row) + # Returns a {String}. + getTextInRange: (range) -> @buffer.getTextInRange(range) - # Public: Returns a {Number} representing the line length for the given - # buffer row, exclusive of its line-ending character(s). - # - # * `row` A {Number} indicating the buffer row. - lineLengthForBufferRow: (row) -> @buffer.lineLengthForRow(row) + # {Delegates to: TextBuffer.isRowBlank} + isBufferRowBlank: (bufferRow) -> @buffer.isRowBlank(bufferRow) - # {Delegates to: TextBuffer.scan} - scan: (args...) -> @buffer.scan(args...) + # {Delegates to: TextBuffer.nextNonBlankRow} + nextNonBlankBufferRow: (bufferRow) -> @buffer.nextNonBlankRow(bufferRow) - # {Delegates to: TextBuffer.scanInRange} - scanInBufferRange: (args...) -> @buffer.scanInRange(args...) + # {Delegates to: TextBuffer.getEndPosition} + getEofBufferPosition: -> @buffer.getEndPosition() - # {Delegates to: TextBuffer.backwardsScanInRange} - backwardsScanInBufferRange: (args...) -> @buffer.backwardsScanInRange(args...) - - # {Delegates to: TextBuffer.isModified} - isModified: -> @buffer.isModified() - - isEmpty: -> @buffer.isEmpty() - - # Public: Determine whether the user should be prompted to save before closing - # this editor. - shouldPromptToSave: -> @isModified() and not @buffer.hasMultipleEditors() - - # Public: Convert a position in buffer-coordinates to screen-coordinates. - # - # The position is clipped via {::clipBufferPosition} prior to the conversion. - # The position is also clipped via {::clipScreenPosition} following the - # conversion, which only makes a difference when `options` are supplied. - # - # * `bufferPosition` A {Point} or {Array} of [row, column]. - # * `options` An options hash for {::clipScreenPosition}. - # - # Returns a {Point}. - screenPositionForBufferPosition: (bufferPosition, options) -> @displayBuffer.screenPositionForBufferPosition(bufferPosition, options) - - # Public: Convert a position in screen-coordinates to buffer-coordinates. - # - # The position is clipped via {::clipScreenPosition} prior to the conversion. - # - # * `bufferPosition` A {Point} or {Array} of [row, column]. - # * `options` An options hash for {::clipScreenPosition}. - # - # Returns a {Point}. - bufferPositionForScreenPosition: (screenPosition, options) -> @displayBuffer.bufferPositionForScreenPosition(screenPosition, options) - - # Public: Convert a range in buffer-coordinates to screen-coordinates. + # Public: Get the {Range} of the paragraph surrounding the most recently added + # cursor. # # Returns a {Range}. - screenRangeForBufferRange: (bufferRange) -> @displayBuffer.screenRangeForBufferRange(bufferRange) + getCurrentParagraphBufferRange: -> + @getCursor().getCurrentParagraphBufferRange() - # Public: Convert a range in screen-coordinates to buffer-coordinates. + + ### + Section: Mutating Text + ### + + # Public: Replaces the entire contents of the buffer with the given {String}. + setText: (text) -> @buffer.setText(text) + + # Public: Set the text in the given {Range} in buffer coordinates. # - # Returns a {Range}. - bufferRangeForScreenRange: (screenRange) -> @displayBuffer.bufferRangeForScreenRange(screenRange) - - # Public: Clip the given {Point} to a valid position on screen. + # * `range` A {Range} or range-compatible {Array}. + # * `text` A {String} # - # If the given {Point} describes a position that is actually reachable by the - # cursor based on the current contents of the screen, it is returned - # unchanged. If the {Point} does not describe a valid position, the closest - # valid position is returned instead. + # Returns the {Range} of the newly-inserted text. + setTextInBufferRange: (range, text, normalizeLineEndings) -> @getBuffer().setTextInRange(range, text, normalizeLineEndings) + + # Public: Mutate the text of all the selections in a single transaction. # - # ## Examples + # All the changes made inside the given {Function} can be reverted with a + # single call to {::undo}. # - # ```coffee - # editor.clipScreenPosition([-1, -1]) # -> `[0, 0]` - # - # # When the line at screen row 2 is 10 characters long - # editor.clipScreenPosition([2, Infinity]) # -> `[2, 10]` - # ``` - # - # * `bufferPosition` The {Point} representing the position to clip. - # - # Returns a {Point}. - clipScreenPosition: (screenPosition, options) -> @displayBuffer.clipScreenPosition(screenPosition, options) - - # {Delegates to: DisplayBuffer.lineForRow} - lineForScreenRow: (row) -> @displayBuffer.lineForRow(row) - - # {Delegates to: DisplayBuffer.linesForRows} - linesForScreenRows: (start, end) -> @displayBuffer.linesForRows(start, end) - - # {Delegates to: DisplayBuffer.getLineCount} - getScreenLineCount: -> @displayBuffer.getLineCount() - - # {Delegates to: DisplayBuffer.getMaxLineLength} - getMaxScreenLineLength: -> @displayBuffer.getMaxLineLength() - - # {Delegates to: DisplayBuffer.getLastRow} - getLastScreenRow: -> @displayBuffer.getLastRow() - - # {Delegates to: DisplayBuffer.bufferRowsForScreenRows} - bufferRowsForScreenRows: (startRow, endRow) -> @displayBuffer.bufferRowsForScreenRows(startRow, endRow) - - bufferRowForScreenRow: (row) -> @displayBuffer.bufferRowForScreenRow(row) - - # Public: Get the syntactic scopes for the given position in buffer - # coordinates. - # - # For example, if called with a position inside the parameter list of an - # anonymous CoffeeScript function, the method returns the following array: - # `["source.coffee", "meta.inline.function.coffee", "variable.parameter.function.coffee"]` - # - # * `bufferPosition` A {Point} or {Array} of [row, column]. - # - # Returns an {Array} of {String}s. - scopesForBufferPosition: (bufferPosition) -> @displayBuffer.scopesForBufferPosition(bufferPosition) - - # Public: Get the range in buffer coordinates of all tokens surrounding the - # cursor that match the given scope selector. - # - # For example, if you wanted to find the string surrounding the cursor, you - # could call `editor.bufferRangeForScopeAtCursor(".string.quoted")`. - # - # Returns a {Range}. - bufferRangeForScopeAtCursor: (selector) -> - @displayBuffer.bufferRangeForScopeAtPosition(selector, @getCursorBufferPosition()) - - # {Delegates to: DisplayBuffer.tokenForBufferPosition} - tokenForBufferPosition: (bufferPosition) -> @displayBuffer.tokenForBufferPosition(bufferPosition) - - # Public: Get the syntactic scopes for the most recently added cursor's - # position. See {::scopesForBufferPosition} for more information. - # - # Returns an {Array} of {String}s. - getCursorScopes: -> @getCursor().getScopes() - - logCursorScope: -> - console.log @getCursorScopes() - - # Public: For each selection, replace the selected text with the given text. - # - # ## Events - # - # * `will-insert-text` Emit before the text has been inserted. - # * `event` event {Object} - # * `text` {String} text to be inserted - # * `cancel` {Function} Call to prevent the text from being inserted - # * `did-insert-text` Emit after the text has been inserted. - # * `event` event {Object} - # * `text` {String} text to be inserted - # - # * `text` A {String} representing the text to insert. - # * `options` See {Selection::insertText}. - # - # Returns a {Range} when the text has been inserted - # Returns a {Bool} false when the text has not been inserted - insertText: (text, options={}) -> - willInsert = true - cancel = -> willInsert = false - @emit('will-insert-text', {cancel, text}) - - if willInsert - options.autoIndentNewline ?= @shouldAutoIndent() - options.autoDecreaseIndent ?= @shouldAutoIndent() - @mutateSelectedText (selection) => - range = selection.insertText(text, options) - @emit('did-insert-text', {text, range}) - range - else - false - - # Public: For each selection, replace the selected text with a newline. - insertNewline: -> - @insertText('\n') - - # Public: For each cursor, insert a newline at beginning the following line. - insertNewlineBelow: -> - @transact => - @moveCursorToEndOfLine() - @insertNewline() - - # Public: For each cursor, insert a newline at the end of the preceding line. - insertNewlineAbove: -> - @transact => - bufferRow = @getCursorBufferPosition().row - indentLevel = @indentationForBufferRow(bufferRow) - onFirstLine = bufferRow is 0 - - @moveCursorToBeginningOfLine() - @moveCursorLeft() - @insertNewline() - - if @shouldAutoIndent() and @indentationForBufferRow(bufferRow) < indentLevel - @setIndentationForBufferRow(bufferRow, indentLevel) - - if onFirstLine - @moveCursorUp() - @moveCursorToEndOfLine() - - # Indent all lines intersecting selections. See {Selection::indent} for more - # information. - indent: (options={}) -> - options.autoIndent ?= @shouldAutoIndent() - @mutateSelectedText (selection) -> selection.indent(options) - - # Public: For each selection, if the selection is empty, delete the character - # preceding the cursor. Otherwise delete the selected text. - backspace: -> - @mutateSelectedText (selection) -> selection.backspace() - - # Deprecated: Use {::deleteToBeginningOfWord} instead. - backspaceToBeginningOfWord: -> - deprecate("Use Editor::deleteToBeginningOfWord() instead") - @deleteToBeginningOfWord() - - # Deprecated: Use {::deleteToBeginningOfLine} instead. - backspaceToBeginningOfLine: -> - deprecate("Use Editor::deleteToBeginningOfLine() instead") - @deleteToBeginningOfLine() - - # Public: For each selection, if the selection is empty, delete all characters - # of the containing word that precede the cursor. Otherwise delete the - # selected text. - deleteToBeginningOfWord: -> - @mutateSelectedText (selection) -> selection.deleteToBeginningOfWord() - - # Public: For each selection, if the selection is empty, delete all characters - # of the containing line that precede the cursor. Otherwise delete the - # selected text. - deleteToBeginningOfLine: -> - @mutateSelectedText (selection) -> selection.deleteToBeginningOfLine() - - # Public: For each selection, if the selection is empty, delete the character - # preceding the cursor. Otherwise delete the selected text. - delete: -> - @mutateSelectedText (selection) -> selection.delete() - - # Public: For each selection, if the selection is not empty, deletes the - # selection; otherwise, deletes all characters of the containing line - # following the cursor. If the cursor is already at the end of the line, - # deletes the following newline. - deleteToEndOfLine: -> - @mutateSelectedText (selection) -> selection.deleteToEndOfLine() - - # Public: For each selection, if the selection is empty, delete all characters - # of the containing word following the cursor. Otherwise delete the selected - # text. - deleteToEndOfWord: -> - @mutateSelectedText (selection) -> selection.deleteToEndOfWord() - - # Public: Delete all lines intersecting selections. - deleteLine: -> - @mutateSelectedText (selection) -> selection.deleteLine() - - # Public: Indent rows intersecting selections by one level. - indentSelectedRows: -> - @mutateSelectedText (selection) -> selection.indentSelectedRows() - - # Public: Outdent rows intersecting selections by one level. - outdentSelectedRows: -> - @mutateSelectedText (selection) -> selection.outdentSelectedRows() - - # Public: Toggle line comments for rows intersecting selections. - # - # If the current grammar doesn't support comments, does nothing. - # - # Returns an {Array} of the commented {Range}s. - toggleLineCommentsInSelection: -> - @mutateSelectedText (selection) -> selection.toggleLineComments() - - # Public: Indent rows intersecting selections based on the grammar's suggested - # indent level. - autoIndentSelectedRows: -> - @mutateSelectedText (selection) -> selection.autoIndentSelectedRows() - - # If soft tabs are enabled, convert all hard tabs to soft tabs in the given - # {Range}. - normalizeTabsInBufferRange: (bufferRange) -> - return unless @getSoftTabs() - @scanInBufferRange /\t/g, bufferRange, ({replace}) => replace(@getTabText()) - - # Public: For each selection, if the selection is empty, cut all characters - # of the containing line following the cursor. Otherwise cut the selected - # text. - cutToEndOfLine: -> - maintainClipboard = false - @mutateSelectedText (selection) -> - selection.cutToEndOfLine(maintainClipboard) - maintainClipboard = true - - # Public: For each selection, cut the selected text. - cutSelectedText: -> - maintainClipboard = false - @mutateSelectedText (selection) -> - selection.cut(maintainClipboard) - maintainClipboard = true - - # Public: For each selection, copy the selected text. - copySelectedText: -> - maintainClipboard = false - for selection in @getSelections() - selection.copy(maintainClipboard) - maintainClipboard = true - - # Public: For each selection, replace the selected text with the contents of - # the clipboard. - # - # If the clipboard contains the same number of selections as the current - # editor, each selection will be replaced with the content of the - # corresponding clipboard selection text. - # - # * `options` See {Selection::insertText}. - pasteText: (options={}) -> - {text, metadata} = atom.clipboard.readWithMetadata() - - containsNewlines = text.indexOf('\n') isnt -1 - - if metadata?.selections? and metadata.selections.length is @getSelections().length - @mutateSelectedText (selection, index) -> - text = metadata.selections[index] - selection.insertText(text, options) - - return - - else if atom.config.get("editor.normalizeIndentOnPaste") and metadata?.indentBasis? - if !@getCursor().hasPrecedingCharactersOnLine() or containsNewlines - options.indentBasis ?= metadata.indentBasis - - @insertText(text, options) - - # Public: Undo the last change. - undo: -> - @getCursor().needsAutoscroll = true - @buffer.undo(this) - - # Public: Redo the last change. - redo: -> - @getCursor().needsAutoscroll = true - @buffer.redo(this) - - # Public: Fold the most recent cursor's row based on its indentation level. - # - # The fold will extend from the nearest preceding line with a lower - # indentation level up to the nearest following row with a lower indentation - # level. - foldCurrentRow: -> - bufferRow = @bufferPositionForScreenPosition(@getCursorScreenPosition()).row - @foldBufferRow(bufferRow) - - # Public: Unfold the most recent cursor's row by one level. - unfoldCurrentRow: -> - bufferRow = @bufferPositionForScreenPosition(@getCursorScreenPosition()).row - @unfoldBufferRow(bufferRow) - - # Public: For each selection, fold the rows it intersects. - foldSelectedLines: -> - selection.fold() for selection in @getSelections() - - # Public: Fold all foldable lines. - foldAll: -> - @languageMode.foldAll() - - # Public: Unfold all existing folds. - unfoldAll: -> - @languageMode.unfoldAll() - - # Public: Fold all foldable lines at the given indent level. - # - # * `level` A {Number}. - foldAllAtIndentLevel: (level) -> - @languageMode.foldAllAtIndentLevel(level) - - # Public: Fold the given row in buffer coordinates based on its indentation - # level. - # - # If the given row is foldable, the fold will begin there. Otherwise, it will - # begin at the first foldable row preceding the given row. - # - # * `bufferRow` A {Number}. - foldBufferRow: (bufferRow) -> - @languageMode.foldBufferRow(bufferRow) - - # Public: Unfold all folds containing the given row in buffer coordinates. - # - # * `bufferRow` A {Number} - unfoldBufferRow: (bufferRow) -> - @displayBuffer.unfoldBufferRow(bufferRow) - - # Public: Determine whether the given row in buffer coordinates is foldable. - # - # A *foldable* row is a row that *starts* a row range that can be folded. - # - # * `bufferRow` A {Number} - # - # Returns a {Boolean}. - isFoldableAtBufferRow: (bufferRow) -> - @languageMode.isFoldableAtBufferRow(bufferRow) - - isFoldableAtScreenRow: (screenRow) -> - bufferRow = @displayBuffer.bufferRowForScreenRow(screenRow) - @isFoldableAtBufferRow(bufferRow) - - # TODO: Rename to foldRowRange? - createFold: (startRow, endRow) -> - @displayBuffer.createFold(startRow, endRow) - - # {Delegates to: DisplayBuffer.destroyFoldWithId} - destroyFoldWithId: (id) -> - @displayBuffer.destroyFoldWithId(id) - - # Remove any {Fold}s found that intersect the given buffer row. - destroyFoldsIntersectingBufferRange: (bufferRange) -> - for row in [bufferRange.start.row..bufferRange.end.row] - @unfoldBufferRow(row) - - # Public: Fold the given buffer row if it isn't currently folded, and unfold - # it otherwise. - toggleFoldAtBufferRow: (bufferRow) -> - if @isFoldedAtBufferRow(bufferRow) - @unfoldBufferRow(bufferRow) - else - @foldBufferRow(bufferRow) - - # Public: Determine whether the most recently added cursor's row is folded. - # - # Returns a {Boolean}. - isFoldedAtCursorRow: -> - @isFoldedAtScreenRow(@getCursorScreenRow()) - - # Public: Determine whether the given row in buffer coordinates is folded. - # - # * `bufferRow` A {Number} - # - # Returns a {Boolean}. - isFoldedAtBufferRow: (bufferRow) -> - @displayBuffer.isFoldedAtBufferRow(bufferRow) - - # Public: Determine whether the given row in screen coordinates is folded. - # - # * `screenRow` A {Number} - # - # Returns a {Boolean}. - isFoldedAtScreenRow: (screenRow) -> - @displayBuffer.isFoldedAtScreenRow(screenRow) - - # {Delegates to: DisplayBuffer.largestFoldContainingBufferRow} - largestFoldContainingBufferRow: (bufferRow) -> - @displayBuffer.largestFoldContainingBufferRow(bufferRow) - - # {Delegates to: DisplayBuffer.largestFoldStartingAtScreenRow} - largestFoldStartingAtScreenRow: (screenRow) -> - @displayBuffer.largestFoldStartingAtScreenRow(screenRow) - - # {Delegates to: DisplayBuffer.outermostFoldsForBufferRowRange} - outermostFoldsInBufferRowRange: (startRow, endRow) -> - @displayBuffer.outermostFoldsInBufferRowRange(startRow, endRow) + # * `fn` A {Function} that will be called once for each {Selection}. The first + # argument will be a {Selection} and the second argument will be the + # {Number} index of that selection. + mutateSelectedText: (fn) -> + @transact => fn(selection, index) for selection, index in @getSelections() # Move lines intersection the most recent selection up by one row in screen # coordinates. @@ -1099,17 +503,6 @@ class Editor extends Model deprecate("Use Editor::duplicateLines() instead") @duplicateLines() - # Public: Mutate the text of all the selections in a single transaction. - # - # All the changes made inside the given {Function} can be reverted with a - # single call to {::undo}. - # - # * `fn` A {Function} that will be called once for each {Selection}. The first - # argument will be a {Selection} and the second argument will be the - # {Number} index of that selection. - mutateSelectedText: (fn) -> - @transact => fn(selection, index) for selection, index in @getSelections() - replaceSelectedText: (options={}, fn) -> {selectWordIfEmpty} = options @mutateSelectedText (selection) -> @@ -1121,6 +514,742 @@ class Editor extends Model selection.insertText(fn(text)) selection.setBufferRange(range) + # Public: Split multi-line selections into one selection per line. + # + # Operates on all selections. This method breaks apart all multi-line + # selections to create multiple single-line selections that cumulatively cover + # the same original area. + splitSelectionsIntoLines: -> + for selection in @getSelections() + range = selection.getBufferRange() + continue if range.isSingleLine() + + selection.destroy() + {start, end} = range + @addSelectionForBufferRange([start, [start.row, Infinity]]) + {row} = start + while ++row < end.row + @addSelectionForBufferRange([[row, 0], [row, Infinity]]) + @addSelectionForBufferRange([[end.row, 0], [end.row, end.column]]) unless end.column is 0 + + # Public: For each selection, transpose the selected text. + # + # If the selection is empty, the characters preceding and following the cursor + # are swapped. Otherwise, the selected characters are reversed. + transpose: -> + @mutateSelectedText (selection) -> + if selection.isEmpty() + selection.selectRight() + text = selection.getText() + selection.delete() + selection.cursor.moveLeft() + selection.insertText text + else + selection.insertText selection.getText().split('').reverse().join('') + + # Public: Convert the selected text to upper case. + # + # For each selection, if the selection is empty, converts the containing word + # to upper case. Otherwise convert the selected text to upper case. + upperCase: -> + @replaceSelectedText selectWordIfEmpty:true, (text) -> text.toUpperCase() + + # Public: Convert the selected text to lower case. + # + # For each selection, if the selection is empty, converts the containing word + # to upper case. Otherwise convert the selected text to upper case. + lowerCase: -> + @replaceSelectedText selectWordIfEmpty:true, (text) -> text.toLowerCase() + + # Convert multiple lines to a single line. + # + # Operates on all selections. If the selection is empty, joins the current + # line with the next line. Otherwise it joins all lines that intersect the + # selection. + # + # Joining a line means that multiple lines are converted to a single line with + # the contents of each of the original non-empty lines separated by a space. + joinLines: -> + @mutateSelectedText (selection) -> selection.joinLines() + + ### + Section: Adding Text + ### + + # Public: For each selection, replace the selected text with the given text. + # + # ## Events + # + # * `will-insert-text` Emit before the text has been inserted. + # * `event` event {Object} + # * `text` {String} text to be inserted + # * `cancel` {Function} Call to prevent the text from being inserted + # * `did-insert-text` Emit after the text has been inserted. + # * `event` event {Object} + # * `text` {String} text to be inserted + # + # * `text` A {String} representing the text to insert. + # * `options` See {Selection::insertText}. + # + # Returns a {Range} when the text has been inserted + # Returns a {Bool} false when the text has not been inserted + insertText: (text, options={}) -> + willInsert = true + cancel = -> willInsert = false + @emit('will-insert-text', {cancel, text}) + + if willInsert + options.autoIndentNewline ?= @shouldAutoIndent() + options.autoDecreaseIndent ?= @shouldAutoIndent() + @mutateSelectedText (selection) => + range = selection.insertText(text, options) + @emit('did-insert-text', {text, range}) + range + else + false + + # Public: For each selection, replace the selected text with a newline. + insertNewline: -> + @insertText('\n') + + # Public: For each cursor, insert a newline at beginning the following line. + insertNewlineBelow: -> + @transact => + @moveCursorToEndOfLine() + @insertNewline() + + # Public: For each cursor, insert a newline at the end of the preceding line. + insertNewlineAbove: -> + @transact => + bufferRow = @getCursorBufferPosition().row + indentLevel = @indentationForBufferRow(bufferRow) + onFirstLine = bufferRow is 0 + + @moveCursorToBeginningOfLine() + @moveCursorLeft() + @insertNewline() + + if @shouldAutoIndent() and @indentationForBufferRow(bufferRow) < indentLevel + @setIndentationForBufferRow(bufferRow, indentLevel) + + if onFirstLine + @moveCursorUp() + @moveCursorToEndOfLine() + + ### + Section: Removing Text + ### + + # Public: For each selection, if the selection is empty, delete the character + # preceding the cursor. Otherwise delete the selected text. + backspace: -> + @mutateSelectedText (selection) -> selection.backspace() + + # Deprecated: Use {::deleteToBeginningOfWord} instead. + backspaceToBeginningOfWord: -> + deprecate("Use Editor::deleteToBeginningOfWord() instead") + @deleteToBeginningOfWord() + + # Deprecated: Use {::deleteToBeginningOfLine} instead. + backspaceToBeginningOfLine: -> + deprecate("Use Editor::deleteToBeginningOfLine() instead") + @deleteToBeginningOfLine() + + # Public: For each selection, if the selection is empty, delete all characters + # of the containing word that precede the cursor. Otherwise delete the + # selected text. + deleteToBeginningOfWord: -> + @mutateSelectedText (selection) -> selection.deleteToBeginningOfWord() + + # Public: For each selection, if the selection is empty, delete all characters + # of the containing line that precede the cursor. Otherwise delete the + # selected text. + deleteToBeginningOfLine: -> + @mutateSelectedText (selection) -> selection.deleteToBeginningOfLine() + + # Public: For each selection, if the selection is empty, delete the character + # preceding the cursor. Otherwise delete the selected text. + delete: -> + @mutateSelectedText (selection) -> selection.delete() + + # Public: For each selection, if the selection is not empty, deletes the + # selection; otherwise, deletes all characters of the containing line + # following the cursor. If the cursor is already at the end of the line, + # deletes the following newline. + deleteToEndOfLine: -> + @mutateSelectedText (selection) -> selection.deleteToEndOfLine() + + # Public: For each selection, if the selection is empty, delete all characters + # of the containing word following the cursor. Otherwise delete the selected + # text. + deleteToEndOfWord: -> + @mutateSelectedText (selection) -> selection.deleteToEndOfWord() + + # Public: Delete all lines intersecting selections. + deleteLine: -> + @mutateSelectedText (selection) -> selection.deleteLine() + + ### + Section: Searching Text + ### + + # {Delegates to: TextBuffer.scan} + scan: (args...) -> @buffer.scan(args...) + + # {Delegates to: TextBuffer.scanInRange} + scanInBufferRange: (args...) -> @buffer.scanInRange(args...) + + # {Delegates to: TextBuffer.backwardsScanInRange} + backwardsScanInBufferRange: (args...) -> @buffer.backwardsScanInRange(args...) + + + ### + Section: Tab Behavior + ### + + # Public: Determine if the buffer uses hard or soft tabs. + # + # Returns `true` if the first non-comment line with leading whitespace starts + # with a space character. Returns `false` if it starts with a hard tab (`\t`). + # + # Returns a {Boolean} + usesSoftTabs: -> + for bufferRow in [0..@buffer.getLastRow()] + continue if @displayBuffer.tokenizedBuffer.lineForScreenRow(bufferRow).isComment() + if match = @buffer.lineForRow(bufferRow).match(/^\s/) + return match[0][0] != '\t' + undefined + + # Public: Returns a {Boolean} indicating whether softTabs are enabled for this + # editor. + getSoftTabs: -> @softTabs + + # Public: Enable or disable soft tabs for this editor. + # + # * `softTabs` A {Boolean} + setSoftTabs: (@softTabs) -> @softTabs + + # Public: Toggle soft tabs for this editor + toggleSoftTabs: -> @setSoftTabs(not @getSoftTabs()) + + # Public: Get the text representing a single level of indent. + # + # If soft tabs are enabled, the text is composed of N spaces, where N is the + # tab length. Otherwise the text is a tab character (`\t`). + # + # Returns a {String}. + getTabText: -> @buildIndentString(1) + + # Public: Get the on-screen length of tab characters. + # + # Returns a {Number}. + getTabLength: -> @displayBuffer.getTabLength() + + # Public: Set the on-screen length of tab characters. + setTabLength: (tabLength) -> @displayBuffer.setTabLength(tabLength) + + # If soft tabs are enabled, convert all hard tabs to soft tabs in the given + # {Range}. + normalizeTabsInBufferRange: (bufferRange) -> + return unless @getSoftTabs() + @scanInBufferRange /\t/g, bufferRange, ({replace}) => replace(@getTabText()) + + + + ### + Section: Soft Wrap Behavior + ### + + # Public: Sets the column at which column will soft wrap + getSoftWrapColumn: -> @displayBuffer.getSoftWrapColumn() + + # Public: Get whether soft wrap is enabled for this editor. + getSoftWrap: -> @displayBuffer.getSoftWrap() + + # Public: Enable or disable soft wrap for this editor. + # + # * `softWrap` A {Boolean} + setSoftWrap: (softWrap) -> @displayBuffer.setSoftWrap(softWrap) + + # Public: Toggle soft wrap for this editor + toggleSoftWrap: -> @setSoftWrap(not @getSoftWrap()) + + + + ### + Section: Indentation + ### + + # Public: Get the indentation level of the given a buffer row. + # + # Returns how deeply the given row is indented based on the soft tabs and + # tab length settings of this editor. Note that if soft tabs are enabled and + # the tab length is 2, a row with 4 leading spaces would have an indentation + # level of 2. + # + # * `bufferRow` A {Number} indicating the buffer row. + # + # Returns a {Number}. + indentationForBufferRow: (bufferRow) -> + @indentLevelForLine(@lineForBufferRow(bufferRow)) + + # Public: Set the indentation level for the given buffer row. + # + # Inserts or removes hard tabs or spaces based on the soft tabs and tab length + # settings of this editor in order to bring it to the given indentation level. + # Note that if soft tabs are enabled and the tab length is 2, a row with 4 + # leading spaces would have an indentation level of 2. + # + # * `bufferRow` A {Number} indicating the buffer row. + # * `newLevel` A {Number} indicating the new indentation level. + # * `options` An {Object} with the following keys: + # * `preserveLeadingWhitespace` `true` to preserve any whitespace already at + # the beginning of the line (default: false). + setIndentationForBufferRow: (bufferRow, newLevel, {preserveLeadingWhitespace}={}) -> + if preserveLeadingWhitespace + endColumn = 0 + else + endColumn = @lineForBufferRow(bufferRow).match(/^\s*/)[0].length + newIndentString = @buildIndentString(newLevel) + @buffer.setTextInRange([[bufferRow, 0], [bufferRow, endColumn]], newIndentString) + + # Public: Get the indentation level of the given line of text. + # + # Returns how deeply the given line is indented based on the soft tabs and + # tab length settings of this editor. Note that if soft tabs are enabled and + # the tab length is 2, a row with 4 leading spaces would have an indentation + # level of 2. + # + # * `line` A {String} representing a line of text. + # + # Returns a {Number}. + indentLevelForLine: (line) -> + @displayBuffer.indentLevelForLine(line) + + # Indent all lines intersecting selections. See {Selection::indent} for more + # information. + indent: (options={}) -> + options.autoIndent ?= @shouldAutoIndent() + @mutateSelectedText (selection) -> selection.indent(options) + + # Public: Indent rows intersecting selections by one level. + indentSelectedRows: -> + @mutateSelectedText (selection) -> selection.indentSelectedRows() + + # Public: Outdent rows intersecting selections by one level. + outdentSelectedRows: -> + @mutateSelectedText (selection) -> selection.outdentSelectedRows() + + # Public: Indent rows intersecting selections based on the grammar's suggested + # indent level. + autoIndentSelectedRows: -> + @mutateSelectedText (selection) -> selection.autoIndentSelectedRows() + + # Constructs the string used for tabs. + buildIndentString: (number, column=0) -> + if @getSoftTabs() + tabStopViolation = column % @getTabLength() + _.multiplyString(" ", Math.floor(number * @getTabLength()) - tabStopViolation) + else + _.multiplyString("\t", Math.floor(number)) + + + ### + Section: Undo Operations + ### + + # Public: Undo the last change. + undo: -> + @getCursor().needsAutoscroll = true + @buffer.undo(this) + + # Public: Redo the last change. + redo: -> + @getCursor().needsAutoscroll = true + @buffer.redo(this) + + ### + Section: Text Mutation Transactions + ### + + # Public: Batch multiple operations as a single undo/redo step. + # + # Any group of operations that are logically grouped from the perspective of + # undoing and redoing should be performed in a transaction. If you want to + # abort the transaction, call {::abortTransaction} to terminate the function's + # execution and revert any changes performed up to the abortion. + # + # * `fn` A {Function} to call inside the transaction. + transact: (fn) -> @buffer.transact(fn) + + # Public: Start an open-ended transaction. + # + # Call {::commitTransaction} or {::abortTransaction} to terminate the + # transaction. If you nest calls to transactions, only the outermost + # transaction is considered. You must match every begin with a matching + # commit, but a single call to abort will cancel all nested transactions. + beginTransaction: -> @buffer.beginTransaction() + + # Public: Commit an open-ended transaction started with {::beginTransaction} + # and push it to the undo stack. + # + # If transactions are nested, only the outermost commit takes effect. + commitTransaction: -> @buffer.commitTransaction() + + # Public: Abort an open transaction, undoing any operations performed so far + # within the transaction. + abortTransaction: -> @buffer.abortTransaction() + + ### + Section: Editor Coordinates + ### + + # Public: Convert a position in buffer-coordinates to screen-coordinates. + # + # The position is clipped via {::clipBufferPosition} prior to the conversion. + # The position is also clipped via {::clipScreenPosition} following the + # conversion, which only makes a difference when `options` are supplied. + # + # * `bufferPosition` A {Point} or {Array} of [row, column]. + # * `options` An options hash for {::clipScreenPosition}. + # + # Returns a {Point}. + screenPositionForBufferPosition: (bufferPosition, options) -> @displayBuffer.screenPositionForBufferPosition(bufferPosition, options) + + # Public: Convert a position in screen-coordinates to buffer-coordinates. + # + # The position is clipped via {::clipScreenPosition} prior to the conversion. + # + # * `bufferPosition` A {Point} or {Array} of [row, column]. + # * `options` An options hash for {::clipScreenPosition}. + # + # Returns a {Point}. + bufferPositionForScreenPosition: (screenPosition, options) -> @displayBuffer.bufferPositionForScreenPosition(screenPosition, options) + + # Public: Convert a range in buffer-coordinates to screen-coordinates. + # + # Returns a {Range}. + screenRangeForBufferRange: (bufferRange) -> @displayBuffer.screenRangeForBufferRange(bufferRange) + + # Public: Convert a range in screen-coordinates to buffer-coordinates. + # + # Returns a {Range}. + bufferRangeForScreenRange: (screenRange) -> @displayBuffer.bufferRangeForScreenRange(screenRange) + + # Public: Clip the given {Point} to a valid position in the buffer. + # + # If the given {Point} describes a position that is actually reachable by the + # cursor based on the current contents of the buffer, it is returned + # unchanged. If the {Point} does not describe a valid position, the closest + # valid position is returned instead. + # + # ## Examples + # + # ```coffee + # editor.clipBufferPosition([-1, -1]) # -> `[0, 0]` + # + # # When the line at buffer row 2 is 10 characters long + # editor.clipBufferPosition([2, Infinity]) # -> `[2, 10]` + # ``` + # + # * `bufferPosition` The {Point} representing the position to clip. + # + # Returns a {Point}. + clipBufferPosition: (bufferPosition) -> @buffer.clipPosition(bufferPosition) + + # Public: Clip the start and end of the given range to valid positions in the + # buffer. See {::clipBufferPosition} for more information. + # + # * `range` The {Range} to clip. + # + # Returns a {Range}. + clipBufferRange: (range) -> @buffer.clipRange(range) + + # Public: Clip the given {Point} to a valid position on screen. + # + # If the given {Point} describes a position that is actually reachable by the + # cursor based on the current contents of the screen, it is returned + # unchanged. If the {Point} does not describe a valid position, the closest + # valid position is returned instead. + # + # ## Examples + # + # ```coffee + # editor.clipScreenPosition([-1, -1]) # -> `[0, 0]` + # + # # When the line at screen row 2 is 10 characters long + # editor.clipScreenPosition([2, Infinity]) # -> `[2, 10]` + # ``` + # + # * `bufferPosition` The {Point} representing the position to clip. + # + # Returns a {Point}. + clipScreenPosition: (screenPosition, options) -> @displayBuffer.clipScreenPosition(screenPosition, options) + + + + + ### + Section: Grammars + ### + + # Public: Get the current {Grammar} of this editor. + getGrammar: -> + @displayBuffer.getGrammar() + + # Public: Set the current {Grammar} of this editor. + # + # Assigning a grammar will cause the editor to re-tokenize based on the new + # grammar. + setGrammar: (grammar) -> + @displayBuffer.setGrammar(grammar) + + # Reload the grammar based on the file name. + reloadGrammar: -> + @displayBuffer.reloadGrammar() + + ### + Section: Syntatic Queries + ### + + # Public: Get the syntactic scopes for the given position in buffer + # coordinates. + # + # For example, if called with a position inside the parameter list of an + # anonymous CoffeeScript function, the method returns the following array: + # `["source.coffee", "meta.inline.function.coffee", "variable.parameter.function.coffee"]` + # + # * `bufferPosition` A {Point} or {Array} of [row, column]. + # + # Returns an {Array} of {String}s. + scopesForBufferPosition: (bufferPosition) -> @displayBuffer.scopesForBufferPosition(bufferPosition) + + # Public: Get the range in buffer coordinates of all tokens surrounding the + # cursor that match the given scope selector. + # + # For example, if you wanted to find the string surrounding the cursor, you + # could call `editor.bufferRangeForScopeAtCursor(".string.quoted")`. + # + # Returns a {Range}. + bufferRangeForScopeAtCursor: (selector) -> + @displayBuffer.bufferRangeForScopeAtPosition(selector, @getCursorBufferPosition()) + + # {Delegates to: DisplayBuffer.tokenForBufferPosition} + tokenForBufferPosition: (bufferPosition) -> @displayBuffer.tokenForBufferPosition(bufferPosition) + + # Public: Get the syntactic scopes for the most recently added cursor's + # position. See {::scopesForBufferPosition} for more information. + # + # Returns an {Array} of {String}s. + getCursorScopes: -> @getCursor().getScopes() + + logCursorScope: -> + console.log @getCursorScopes() + + + # Public: Determine if the given row is entirely a comment + isBufferRowCommented: (bufferRow) -> + if match = @lineForBufferRow(bufferRow).match(/\S/) + scopes = @tokenForBufferPosition([bufferRow, match.index]).scopes + new TextMateScopeSelector('comment.*').matches(scopes) + + # Public: Toggle line comments for rows intersecting selections. + # + # If the current grammar doesn't support comments, does nothing. + # + # Returns an {Array} of the commented {Range}s. + toggleLineCommentsInSelection: -> + @mutateSelectedText (selection) -> selection.toggleLineComments() + + + + + + + + ### + Section: Clipboard Operations + ### + + # Public: For each selection, copy the selected text. + copySelectedText: -> + maintainClipboard = false + for selection in @getSelections() + selection.copy(maintainClipboard) + maintainClipboard = true + + # Public: For each selection, replace the selected text with the contents of + # the clipboard. + # + # If the clipboard contains the same number of selections as the current + # editor, each selection will be replaced with the content of the + # corresponding clipboard selection text. + # + # * `options` See {Selection::insertText}. + pasteText: (options={}) -> + {text, metadata} = atom.clipboard.readWithMetadata() + + containsNewlines = text.indexOf('\n') isnt -1 + + if metadata?.selections? and metadata.selections.length is @getSelections().length + @mutateSelectedText (selection, index) -> + text = metadata.selections[index] + selection.insertText(text, options) + + return + + else if atom.config.get("editor.normalizeIndentOnPaste") and metadata?.indentBasis? + if !@getCursor().hasPrecedingCharactersOnLine() or containsNewlines + options.indentBasis ?= metadata.indentBasis + + @insertText(text, options) + + # Public: For each selection, cut the selected text. + cutSelectedText: -> + maintainClipboard = false + @mutateSelectedText (selection) -> + selection.cut(maintainClipboard) + maintainClipboard = true + + # Public: For each selection, if the selection is empty, cut all characters + # of the containing line following the cursor. Otherwise cut the selected + # text. + cutToEndOfLine: -> + maintainClipboard = false + @mutateSelectedText (selection) -> + selection.cutToEndOfLine(maintainClipboard) + maintainClipboard = true + + + ### + Section: Folds + ### + + # Public: Fold the most recent cursor's row based on its indentation level. + # + # The fold will extend from the nearest preceding line with a lower + # indentation level up to the nearest following row with a lower indentation + # level. + foldCurrentRow: -> + bufferRow = @bufferPositionForScreenPosition(@getCursorScreenPosition()).row + @foldBufferRow(bufferRow) + + # Public: Unfold the most recent cursor's row by one level. + unfoldCurrentRow: -> + bufferRow = @bufferPositionForScreenPosition(@getCursorScreenPosition()).row + @unfoldBufferRow(bufferRow) + + # Public: For each selection, fold the rows it intersects. + foldSelectedLines: -> + selection.fold() for selection in @getSelections() + + # Public: Fold all foldable lines. + foldAll: -> + @languageMode.foldAll() + + # Public: Unfold all existing folds. + unfoldAll: -> + @languageMode.unfoldAll() + + # Public: Fold all foldable lines at the given indent level. + # + # * `level` A {Number}. + foldAllAtIndentLevel: (level) -> + @languageMode.foldAllAtIndentLevel(level) + + # Public: Fold the given row in buffer coordinates based on its indentation + # level. + # + # If the given row is foldable, the fold will begin there. Otherwise, it will + # begin at the first foldable row preceding the given row. + # + # * `bufferRow` A {Number}. + foldBufferRow: (bufferRow) -> + @languageMode.foldBufferRow(bufferRow) + + # Public: Unfold all folds containing the given row in buffer coordinates. + # + # * `bufferRow` A {Number} + unfoldBufferRow: (bufferRow) -> + @displayBuffer.unfoldBufferRow(bufferRow) + + # Public: Determine whether the given row in buffer coordinates is foldable. + # + # A *foldable* row is a row that *starts* a row range that can be folded. + # + # * `bufferRow` A {Number} + # + # Returns a {Boolean}. + isFoldableAtBufferRow: (bufferRow) -> + @languageMode.isFoldableAtBufferRow(bufferRow) + + isFoldableAtScreenRow: (screenRow) -> + bufferRow = @displayBuffer.bufferRowForScreenRow(screenRow) + @isFoldableAtBufferRow(bufferRow) + + # TODO: Rename to foldRowRange? + createFold: (startRow, endRow) -> + @displayBuffer.createFold(startRow, endRow) + + # {Delegates to: DisplayBuffer.destroyFoldWithId} + destroyFoldWithId: (id) -> + @displayBuffer.destroyFoldWithId(id) + + # Remove any {Fold}s found that intersect the given buffer row. + destroyFoldsIntersectingBufferRange: (bufferRange) -> + for row in [bufferRange.start.row..bufferRange.end.row] + @unfoldBufferRow(row) + + # Public: Fold the given buffer row if it isn't currently folded, and unfold + # it otherwise. + toggleFoldAtBufferRow: (bufferRow) -> + if @isFoldedAtBufferRow(bufferRow) + @unfoldBufferRow(bufferRow) + else + @foldBufferRow(bufferRow) + + # Public: Determine whether the most recently added cursor's row is folded. + # + # Returns a {Boolean}. + isFoldedAtCursorRow: -> + @isFoldedAtScreenRow(@getCursorScreenRow()) + + # Public: Determine whether the given row in buffer coordinates is folded. + # + # * `bufferRow` A {Number} + # + # Returns a {Boolean}. + isFoldedAtBufferRow: (bufferRow) -> + @displayBuffer.isFoldedAtBufferRow(bufferRow) + + # Public: Determine whether the given row in screen coordinates is folded. + # + # * `screenRow` A {Number} + # + # Returns a {Boolean}. + isFoldedAtScreenRow: (screenRow) -> + @displayBuffer.isFoldedAtScreenRow(screenRow) + + # {Delegates to: DisplayBuffer.largestFoldContainingBufferRow} + largestFoldContainingBufferRow: (bufferRow) -> + @displayBuffer.largestFoldContainingBufferRow(bufferRow) + + # {Delegates to: DisplayBuffer.largestFoldStartingAtScreenRow} + largestFoldStartingAtScreenRow: (screenRow) -> + @displayBuffer.largestFoldStartingAtScreenRow(screenRow) + + # {Delegates to: DisplayBuffer.outermostFoldsForBufferRowRange} + outermostFoldsInBufferRowRange: (startRow, endRow) -> + @displayBuffer.outermostFoldsInBufferRowRange(startRow, endRow) + + + + + + ### + Section: Decorations + ### + # Public: Get all the decorations within a screen row range. # # * `startScreenRow` the {Number} beginning screen row @@ -1178,6 +1307,10 @@ class Editor extends Model decorationForId: (id) -> @displayBuffer.decorationForId(id) + ### + Section: Markers + ### + # Public: Get the {DisplayBufferMarker} for the given marker id. getMarker: (id) -> @displayBuffer.getMarker(id) @@ -1254,6 +1387,11 @@ class Editor extends Model getMarkerCount: -> @buffer.getMarkerCount() + + ### + Section: Cursors + ### + # Public: Determine if there are multiple cursors. hasMultipleCursors: -> @getCursors().length > 1 @@ -1293,6 +1431,164 @@ class Editor extends Model removeCursor: (cursor) -> _.remove(@cursors, cursor) + # Public: Move the cursor to the given position in screen coordinates. + # + # If there are multiple cursors, they will be consolidated to a single cursor. + # + # * `position` A {Point} or {Array} of `[row, column]` + # * `options` An {Object} combining options for {::clipScreenPosition} with: + # * `autoscroll` Determines whether the editor scrolls to the new cursor's + # position. Defaults to true. + setCursorScreenPosition: (position, options) -> + @moveCursors (cursor) -> cursor.setScreenPosition(position, options) + + # Public: Get the position of the most recently added cursor in screen + # coordinates. + # + # Returns a {Point}. + getCursorScreenPosition: -> + @getCursor().getScreenPosition() + + # Public: Get the row of the most recently added cursor in screen coordinates. + # + # Returns the screen row {Number}. + getCursorScreenRow: -> + @getCursor().getScreenRow() + + # Public: Move the cursor to the given position in buffer coordinates. + # + # If there are multiple cursors, they will be consolidated to a single cursor. + # + # * `position` A {Point} or {Array} of `[row, column]` + # * `options` An {Object} combining options for {::clipScreenPosition} with: + # * `autoscroll` Determines whether the editor scrolls to the new cursor's + # position. Defaults to true. + setCursorBufferPosition: (position, options) -> + @moveCursors (cursor) -> cursor.setBufferPosition(position, options) + + # Public: Get the position of the most recently added cursor in buffer + # coordinates. + # + # Returns a {Point}. + getCursorBufferPosition: -> + @getCursor().getBufferPosition() + + # Public: Returns the word surrounding the most recently added cursor. + # + # * `options` See {Cursor::getBeginningOfCurrentWordBufferPosition}. + getWordUnderCursor: (options) -> + @getTextInBufferRange(@getCursor().getCurrentWordBufferRange(options)) + + # Public: Move every cursor up one row in screen coordinates. + moveCursorUp: (lineCount) -> + @moveCursors (cursor) -> cursor.moveUp(lineCount, moveToEndOfSelection: true) + + # Public: Move every cursor down one row in screen coordinates. + moveCursorDown: (lineCount) -> + @moveCursors (cursor) -> cursor.moveDown(lineCount, moveToEndOfSelection: true) + + # Public: Move every cursor left one column. + moveCursorLeft: -> + @moveCursors (cursor) -> cursor.moveLeft(moveToEndOfSelection: true) + + # Public: Move every cursor right one column. + moveCursorRight: -> + @moveCursors (cursor) -> cursor.moveRight(moveToEndOfSelection: true) + + # Public: Move every cursor to the top of the buffer. + # + # If there are multiple cursors, they will be merged into a single cursor. + moveCursorToTop: -> + @moveCursors (cursor) -> cursor.moveToTop() + + # Public: Move every cursor to the bottom of the buffer. + # + # If there are multiple cursors, they will be merged into a single cursor. + moveCursorToBottom: -> + @moveCursors (cursor) -> cursor.moveToBottom() + + # Public: Move every cursor to the beginning of its line in screen coordinates. + moveCursorToBeginningOfScreenLine: -> + @moveCursors (cursor) -> cursor.moveToBeginningOfScreenLine() + + # Public: Move every cursor to the beginning of its line in buffer coordinates. + moveCursorToBeginningOfLine: -> + @moveCursors (cursor) -> cursor.moveToBeginningOfLine() + + # Public: Move every cursor to the first non-whitespace character of its line. + moveCursorToFirstCharacterOfLine: -> + @moveCursors (cursor) -> cursor.moveToFirstCharacterOfLine() + + # Public: Move every cursor to the end of its line in screen coordinates. + moveCursorToEndOfScreenLine: -> + @moveCursors (cursor) -> cursor.moveToEndOfScreenLine() + + # Public: Move every cursor to the end of its line in buffer coordinates. + moveCursorToEndOfLine: -> + @moveCursors (cursor) -> cursor.moveToEndOfLine() + + # Public: Move every cursor to the beginning of its surrounding word. + moveCursorToBeginningOfWord: -> + @moveCursors (cursor) -> cursor.moveToBeginningOfWord() + + # Public: Move every cursor to the end of its surrounding word. + moveCursorToEndOfWord: -> + @moveCursors (cursor) -> cursor.moveToEndOfWord() + + # Public: Move every cursor to the beginning of the next word. + moveCursorToBeginningOfNextWord: -> + @moveCursors (cursor) -> cursor.moveToBeginningOfNextWord() + + # Public: Move every cursor to the previous word boundary. + moveCursorToPreviousWordBoundary: -> + @moveCursors (cursor) -> cursor.moveToPreviousWordBoundary() + + # Public: Move every cursor to the next word boundary. + moveCursorToNextWordBoundary: -> + @moveCursors (cursor) -> cursor.moveToNextWordBoundary() + + # Public: Move every cursor to the beginning of the next paragraph. + moveCursorToBeginningOfNextParagraph: -> + @moveCursors (cursor) -> cursor.moveToBeginningOfNextParagraph() + + # Public: Move every cursor to the beginning of the previous paragraph. + moveCursorToBeginningOfPreviousParagraph: -> + @moveCursors (cursor) -> cursor.moveToBeginningOfPreviousParagraph() + + moveCursors: (fn) -> + @movingCursors = true + fn(cursor) for cursor in @getCursors() + @mergeCursors() + @movingCursors = false + @emit 'cursors-moved' + + cursorMoved: (event) -> + @emit 'cursor-moved', event + @emit 'cursors-moved' unless @movingCursors + + # Merge cursors that have the same screen position + mergeCursors: -> + positions = [] + for cursor in @getCursors() + position = cursor.getBufferPosition().toString() + if position in positions + cursor.destroy() + else + positions.push(position) + + preserveCursorPositionOnBufferReload: -> + cursorPosition = null + @subscribe @buffer, "will-reload", => + cursorPosition = @getCursorBufferPosition() + @subscribe @buffer, "reloaded", => + @setCursorBufferPosition(cursorPosition) if cursorPosition + cursorPosition = null + + + ### + Section: Selections + ### + # Add a {Selection} based on the given {DisplayBufferMarker}. # # * `marker` The {DisplayBufferMarker} to highlight @@ -1442,48 +1738,6 @@ class Editor extends Model _.any @getSelections(), (selection) -> selection.intersectsBufferRange(bufferRange) - # Public: Move the cursor to the given position in screen coordinates. - # - # If there are multiple cursors, they will be consolidated to a single cursor. - # - # * `position` A {Point} or {Array} of `[row, column]` - # * `options` An {Object} combining options for {::clipScreenPosition} with: - # * `autoscroll` Determines whether the editor scrolls to the new cursor's - # position. Defaults to true. - setCursorScreenPosition: (position, options) -> - @moveCursors (cursor) -> cursor.setScreenPosition(position, options) - - # Public: Get the position of the most recently added cursor in screen - # coordinates. - # - # Returns a {Point}. - getCursorScreenPosition: -> - @getCursor().getScreenPosition() - - # Public: Get the row of the most recently added cursor in screen coordinates. - # - # Returns the screen row {Number}. - getCursorScreenRow: -> - @getCursor().getScreenRow() - - # Public: Move the cursor to the given position in buffer coordinates. - # - # If there are multiple cursors, they will be consolidated to a single cursor. - # - # * `position` A {Point} or {Array} of `[row, column]` - # * `options` An {Object} combining options for {::clipScreenPosition} with: - # * `autoscroll` Determines whether the editor scrolls to the new cursor's - # position. Defaults to true. - setCursorBufferPosition: (position, options) -> - @moveCursors (cursor) -> cursor.setBufferPosition(position, options) - - # Public: Get the position of the most recently added cursor in buffer - # coordinates. - # - # Returns a {Point}. - getCursorBufferPosition: -> - @getCursor().getBufferPosition() - # Public: Get the {Range} of the most recently added selection in screen # coordinates. # @@ -1520,150 +1774,6 @@ class Editor extends Model getSelectedText: -> @getLastSelection().getText() - # Public: Get the text in the given {Range} in buffer coordinates. - # - # * `range` A {Range} or range-compatible {Array}. - # - # Returns a {String}. - getTextInBufferRange: (range) -> - @buffer.getTextInRange(range) - - # Public: Set the text in the given {Range} in buffer coordinates. - # - # * `range` A {Range} or range-compatible {Array}. - # * `text` A {String} - # - # Returns the {Range} of the newly-inserted text. - setTextInBufferRange: (range, text, normalizeLineEndings) -> @getBuffer().setTextInRange(range, text, normalizeLineEndings) - - # Public: Get the {Range} of the paragraph surrounding the most recently added - # cursor. - # - # Returns a {Range}. - getCurrentParagraphBufferRange: -> - @getCursor().getCurrentParagraphBufferRange() - - # Public: Returns the word surrounding the most recently added cursor. - # - # * `options` See {Cursor::getBeginningOfCurrentWordBufferPosition}. - getWordUnderCursor: (options) -> - @getTextInBufferRange(@getCursor().getCurrentWordBufferRange(options)) - - # Public: Move every cursor up one row in screen coordinates. - moveCursorUp: (lineCount) -> - @moveCursors (cursor) -> cursor.moveUp(lineCount, moveToEndOfSelection: true) - - # Public: Move every cursor down one row in screen coordinates. - moveCursorDown: (lineCount) -> - @moveCursors (cursor) -> cursor.moveDown(lineCount, moveToEndOfSelection: true) - - # Public: Move every cursor left one column. - moveCursorLeft: -> - @moveCursors (cursor) -> cursor.moveLeft(moveToEndOfSelection: true) - - # Public: Move every cursor right one column. - moveCursorRight: -> - @moveCursors (cursor) -> cursor.moveRight(moveToEndOfSelection: true) - - # Public: Move every cursor to the top of the buffer. - # - # If there are multiple cursors, they will be merged into a single cursor. - moveCursorToTop: -> - @moveCursors (cursor) -> cursor.moveToTop() - - # Public: Move every cursor to the bottom of the buffer. - # - # If there are multiple cursors, they will be merged into a single cursor. - moveCursorToBottom: -> - @moveCursors (cursor) -> cursor.moveToBottom() - - # Public: Move every cursor to the beginning of its line in screen coordinates. - moveCursorToBeginningOfScreenLine: -> - @moveCursors (cursor) -> cursor.moveToBeginningOfScreenLine() - - # Public: Move every cursor to the beginning of its line in buffer coordinates. - moveCursorToBeginningOfLine: -> - @moveCursors (cursor) -> cursor.moveToBeginningOfLine() - - # Public: Move every cursor to the first non-whitespace character of its line. - moveCursorToFirstCharacterOfLine: -> - @moveCursors (cursor) -> cursor.moveToFirstCharacterOfLine() - - # Public: Move every cursor to the end of its line in screen coordinates. - moveCursorToEndOfScreenLine: -> - @moveCursors (cursor) -> cursor.moveToEndOfScreenLine() - - # Public: Move every cursor to the end of its line in buffer coordinates. - moveCursorToEndOfLine: -> - @moveCursors (cursor) -> cursor.moveToEndOfLine() - - # Public: Move every cursor to the beginning of its surrounding word. - moveCursorToBeginningOfWord: -> - @moveCursors (cursor) -> cursor.moveToBeginningOfWord() - - # Public: Move every cursor to the end of its surrounding word. - moveCursorToEndOfWord: -> - @moveCursors (cursor) -> cursor.moveToEndOfWord() - - # Public: Move every cursor to the beginning of the next word. - moveCursorToBeginningOfNextWord: -> - @moveCursors (cursor) -> cursor.moveToBeginningOfNextWord() - - # Public: Move every cursor to the previous word boundary. - moveCursorToPreviousWordBoundary: -> - @moveCursors (cursor) -> cursor.moveToPreviousWordBoundary() - - # Public: Move every cursor to the next word boundary. - moveCursorToNextWordBoundary: -> - @moveCursors (cursor) -> cursor.moveToNextWordBoundary() - - # Public: Move every cursor to the beginning of the next paragraph. - moveCursorToBeginningOfNextParagraph: -> - @moveCursors (cursor) -> cursor.moveToBeginningOfNextParagraph() - - # Public: Move every cursor to the beginning of the previous paragraph. - moveCursorToBeginningOfPreviousParagraph: -> - @moveCursors (cursor) -> cursor.moveToBeginningOfPreviousParagraph() - - # Public: Scroll the editor to reveal the most recently added cursor if it is - # off-screen. - # - # * `options` An optional hash of options. - # * `center` Center the editor around the cursor if possible. Defauls to true. - scrollToCursorPosition: (options) -> - @getCursor().autoscroll(center: options?.center ? true) - - pageUp: -> - newScrollTop = @getScrollTop() - @getHeight() - @moveCursorUp(@getRowsPerPage()) - @setScrollTop(newScrollTop) - - pageDown: -> - newScrollTop = @getScrollTop() + @getHeight() - @moveCursorDown(@getRowsPerPage()) - @setScrollTop(newScrollTop) - - selectPageUp: -> - @selectUp(@getRowsPerPage()) - - selectPageDown: -> - @selectDown(@getRowsPerPage()) - - # Returns the number of rows per page - getRowsPerPage: -> - Math.max(1, Math.ceil(@getHeight() / @getLineHeightInPixels())) - - moveCursors: (fn) -> - @movingCursors = true - fn(cursor) for cursor in @getCursors() - @mergeCursors() - @movingCursors = false - @emit 'cursors-moved' - - cursorMoved: (event) -> - @emit 'cursor-moved', event - @emit 'cursors-moved' unless @movingCursors - # Public: Select from the current cursor position to the given position in # screen coordinates. # @@ -1788,64 +1898,6 @@ class Editor extends Model addSelectionAbove: -> @expandSelectionsBackward (selection) -> selection.addSelectionAbove() - # Public: Split multi-line selections into one selection per line. - # - # Operates on all selections. This method breaks apart all multi-line - # selections to create multiple single-line selections that cumulatively cover - # the same original area. - splitSelectionsIntoLines: -> - for selection in @getSelections() - range = selection.getBufferRange() - continue if range.isSingleLine() - - selection.destroy() - {start, end} = range - @addSelectionForBufferRange([start, [start.row, Infinity]]) - {row} = start - while ++row < end.row - @addSelectionForBufferRange([[row, 0], [row, Infinity]]) - @addSelectionForBufferRange([[end.row, 0], [end.row, end.column]]) unless end.column is 0 - - # Public: For each selection, transpose the selected text. - # - # If the selection is empty, the characters preceding and following the cursor - # are swapped. Otherwise, the selected characters are reversed. - transpose: -> - @mutateSelectedText (selection) -> - if selection.isEmpty() - selection.selectRight() - text = selection.getText() - selection.delete() - selection.cursor.moveLeft() - selection.insertText text - else - selection.insertText selection.getText().split('').reverse().join('') - - # Public: Convert the selected text to upper case. - # - # For each selection, if the selection is empty, converts the containing word - # to upper case. Otherwise convert the selected text to upper case. - upperCase: -> - @replaceSelectedText selectWordIfEmpty:true, (text) -> text.toUpperCase() - - # Public: Convert the selected text to lower case. - # - # For each selection, if the selection is empty, converts the containing word - # to upper case. Otherwise convert the selected text to upper case. - lowerCase: -> - @replaceSelectedText selectWordIfEmpty:true, (text) -> text.toLowerCase() - - # Convert multiple lines to a single line. - # - # Operates on all selections. If the selection is empty, joins the current - # line with the next line. Otherwise it joins all lines that intersect the - # selection. - # - # Joining a line means that multiple lines are converted to a single line with - # the contents of each of the original non-empty lines separated by a space. - joinLines: -> - @mutateSelectedText (selection) -> selection.joinLines() - # Public: Expand selections to the beginning of their containing word. # # Operates on all selections. Moves the cursor to the beginning of the @@ -1896,16 +1948,6 @@ class Editor extends Model @setSelectedBufferRange(range) range - # Merge cursors that have the same screen position - mergeCursors: -> - positions = [] - for cursor in @getCursors() - position = cursor.getBufferPosition().toString() - if position in positions - cursor.destroy() - else - positions.push(position) - # Calls the given function with each selection, then merges selections expandSelectionsForward: (fn) -> @mergeIntersectingSelections => @@ -1944,28 +1986,44 @@ class Editor extends Model _.reduce(@getSelections(), reducer, []) - preserveCursorPositionOnBufferReload: -> - cursorPosition = null - @subscribe @buffer, "will-reload", => - cursorPosition = @getCursorBufferPosition() - @subscribe @buffer, "reloaded", => - @setCursorBufferPosition(cursorPosition) if cursorPosition - cursorPosition = null - # Public: Get the current {Grammar} of this editor. - getGrammar: -> - @displayBuffer.getGrammar() - # Public: Set the current {Grammar} of this editor. + ### + Section: Scrolling the Editor + ### + + # Public: Scroll the editor to reveal the most recently added cursor if it is + # off-screen. # - # Assigning a grammar will cause the editor to re-tokenize based on the new - # grammar. - setGrammar: (grammar) -> - @displayBuffer.setGrammar(grammar) + # * `options` An optional hash of options. + # * `center` Center the editor around the cursor if possible. Defauls to true. + scrollToCursorPosition: (options) -> + @getCursor().autoscroll(center: options?.center ? true) - # Reload the grammar based on the file name. - reloadGrammar: -> - @displayBuffer.reloadGrammar() + pageUp: -> + newScrollTop = @getScrollTop() - @getHeight() + @moveCursorUp(@getRowsPerPage()) + @setScrollTop(newScrollTop) + + pageDown: -> + newScrollTop = @getScrollTop() + @getHeight() + @moveCursorDown(@getRowsPerPage()) + @setScrollTop(newScrollTop) + + selectPageUp: -> + @selectUp(@getRowsPerPage()) + + selectPageDown: -> + @selectDown(@getRowsPerPage()) + + # Returns the number of rows per page + getRowsPerPage: -> + Math.max(1, Math.ceil(@getHeight() / @getLineHeightInPixels())) + + + ### + Section: Config + ### shouldAutoIndent: -> atom.config.get("editor.autoIndent") @@ -1979,38 +2037,10 @@ class Editor extends Model else @displayBuffer.setInvisibles(null) - # Public: Batch multiple operations as a single undo/redo step. - # - # Any group of operations that are logically grouped from the perspective of - # undoing and redoing should be performed in a transaction. If you want to - # abort the transaction, call {::abortTransaction} to terminate the function's - # execution and revert any changes performed up to the abortion. - # - # * `fn` A {Function} to call inside the transaction. - transact: (fn) -> @buffer.transact(fn) - # Public: Start an open-ended transaction. - # - # Call {::commitTransaction} or {::abortTransaction} to terminate the - # transaction. If you nest calls to transactions, only the outermost - # transaction is considered. You must match every begin with a matching - # commit, but a single call to abort will cancel all nested transactions. - beginTransaction: -> @buffer.beginTransaction() - - # Public: Commit an open-ended transaction started with {::beginTransaction} - # and push it to the undo stack. - # - # If transactions are nested, only the outermost commit takes effect. - commitTransaction: -> @buffer.commitTransaction() - - # Public: Abort an open transaction, undoing any operations performed so far - # within the transaction. - abortTransaction: -> @buffer.abortTransaction() - - inspect: -> - "" - - logScreenLines: (start, end) -> @displayBuffer.logLines(start, end) + ### + Section: Event Handlers + ### handleTokenization: -> @softTabs = @usesSoftTabs() ? @softTabs @@ -2023,6 +2053,10 @@ class Editor extends Model if marker.matchesAttributes(@getSelectionMarkerAttributes()) @addSelection(marker) + ### + Section: Editor Rendering + ### + getSelectionMarkerAttributes: -> type: 'selection', editorId: @id, invalidate: 'never' @@ -2104,3 +2138,12 @@ class Editor extends Model joinLine: -> deprecate("Use Editor::joinLines() instead") @joinLines() + + ### + Section: Utility + ### + + inspect: -> + "" + + logScreenLines: (start, end) -> @displayBuffer.logLines(start, end) From 90e89ebaf9243db9a01f541a6c685e2cf28de24c Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 20 Aug 2014 12:06:21 -0600 Subject: [PATCH 069/144] :memo: Convert Git docs --- src/git.coffee | 118 +++++++++++++++++++++++++------------------------ 1 file changed, 60 insertions(+), 58 deletions(-) diff --git a/src/git.coffee b/src/git.coffee index b8e35911f..b988623f6 100644 --- a/src/git.coffee +++ b/src/git.coffee @@ -20,16 +20,16 @@ Task = require './task' # For a repository with submodules this would have the following outcome: # # ```coffee -# repo = atom.project.getRepo() -# repo.getShortHead() # 'master' -# repo.getShortHead('vendor/path/to/a/submodule') # 'dead1234' +# repo = atom.project.getRepo() +# repo.getShortHead() # 'master' +# repo.getShortHead('vendor/path/to/a/submodule') # 'dead1234' # ``` # -# ## Example +# ## Examples # -# ```coffeescript -# git = atom.project.getRepo() -# console.log git.getOriginUrl() +# ```coffee +# git = atom.project.getRepo() +# console.log git.getOriginUrl() # ``` # # ## Requiring in packages @@ -44,12 +44,12 @@ class Git # Public: Creates a new Git instance. # - # path - The path to the Git repository to open. - # options - An object with the following keys (default: {}): - # :refreshOnWindowFocus - `true` to refresh the index and statuses when the - # window is focused. + # * `path` The {String} path to the Git repository to open. + # * `options` An optinal {Object} with the following keys: + # * `refreshOnWindowFocus` A {Boolean}, `true` to refresh the index and + # statuses when the window is focused. # - # Returns a Git instance or null if the repository could not be opened. + # Returns a {Git} instance or `null` if the repository could not be opened. @open: (path, options) -> return null unless path try @@ -114,8 +114,10 @@ class Git else checkoutHead() - # Public: Destroy this `Git` object. This destroys any tasks and subscriptions - # and releases the underlying libgit2 repository handle. + # Public: Destroy this {Git} object. + # + # This destroys any tasks and subscriptions and releases the underlying + # libgit2 repository handle. destroy: -> if @statusTask? @statusTask.terminate() @@ -147,7 +149,7 @@ class Git # Public: Get the status of a single path in the repository. # - # path - A {String} repository-relative path. + # `path` A {String} repository-relative path. # # Returns a {Number} representing the status. This value can be passed to # {::isStatusModified} or {::isStatusNew} to get more information. @@ -196,8 +198,8 @@ class Git # `refs/remotes`. It also shortens the SHA-1 of a detached `HEAD` to 7 # characters. # - # path - An optional {String} path in the repository to get this information - # for, only needed if the repository contains submodules. + # * `path` An optional {String} path in the repository to get this information + # for, only needed if the repository contains submodules. # # Returns a {String}. getShortHead: (path) -> @getRepo(path).getShortHead() @@ -207,12 +209,12 @@ class Git # # This is essentially the same as running: # - # ``` - # git reset HEAD -- - # git checkout HEAD -- + # ```sh + # git reset HEAD -- + # git checkout HEAD -- # ``` # - # path - The {String} path to checkout. + # * `path` The {String} path to checkout. # # Returns a {Boolean} that's true if the method was successful. checkoutHead: (path) -> @@ -223,9 +225,9 @@ class Git # Public: Checks out a branch in your repository. # - # reference - The String reference to checkout - # create - A Boolean value which, if true creates the new reference if it - # doesn't exist. + # * `reference` The {String} reference to checkout. + # * `create` A {Boolean} value which, if true creates the new reference if + # it doesn't exist. # # Returns a Boolean that's true if the method was successful. checkoutReference: (reference, create) -> @@ -236,18 +238,18 @@ class Git # This compares the working directory contents of the path to the `HEAD` # version. # - # path - The {String} path to check. + # * `path` The {String} path to check. # # Returns an {Object} with the following keys: - # :added - The {Number} of added lines. - # :deleted - The {Number} of deleted lines. + # * `added` The {Number} of added lines. + # * `deleted` The {Number} of deleted lines. getDiffStats: (path) -> repo = @getRepo(path) repo.getDiffStats(repo.relativize(path)) # Public: Is the given path a submodule in the repository? # - # path - The {String} path to check. + # * `path` The {String} path to check. # # Returns a {Boolean}. isSubmodule: (path) -> @@ -262,7 +264,7 @@ class Git # Public: Get the status of a directory in the repository's working directory. # - # path - The {String} path to check. + # * `path` The {String} path to check. # # Returns a {Number} representing the status. This value can be passed to # {::isStatusModified} or {::isStatusNew} to get more information. @@ -276,14 +278,14 @@ class Git # Public: Retrieves the line diffs comparing the `HEAD` version of the given # path and the given text. # - # path - The {String} path relative to the repository. - # text - The {String} to compare against the `HEAD` contents + # * `path` The {String} path relative to the repository. + # * `text` The {String} to compare against the `HEAD` contents # # Returns an {Array} of hunk {Object}s with the following keys: - # :oldStart - The line {Number} of the old hunk. - # :newStart - The line {Number} of the new hunk. - # :oldLines - The {Number} of lines in the old hunk. - # :newLines - The {Number} of lines in the new hunk + # * `oldStart` The line {Number} of the old hunk. + # * `newStart` The line {Number} of the new hunk. + # * `oldLines` The {Number} of lines in the old hunk. + # * `newLines` The {Number} of lines in the new hunk getLineDiffs: (path, text) -> # Ignore eol of line differences on windows so that files checked in as # LF don't report every line modified when the text contains CRLF endings. @@ -293,68 +295,68 @@ class Git # Public: Returns the git configuration value specified by the key. # - # path - An optional {String} path in the repository to get this information - # for, only needed if the repository has submodules. + # * `path` An optional {String} path in the repository to get this information + # for, only needed if the repository has submodules. getConfigValue: (key, path) -> @getRepo(path).getConfigValue(key) # Public: Returns the origin url of the repository. # - # path - An optional {String} path in the repository to get this information - # for, only needed if the repository has submodules. + # * `path` An optional {String} path in the repository to get this information + # for, only needed if the repository has submodules. getOriginUrl: (path) -> @getConfigValue('remote.origin.url', path) # Public: Returns the upstream branch for the current HEAD, or null if there # is no upstream branch for the current HEAD. # - # path - An optional {String} path in the repo to get this information for, - # only needed if the repository contains submodules. + # * `path` An optional {String} path in the repo to get this information for, + # only needed if the repository contains submodules. # # Returns a {String} branch name such as `refs/remotes/origin/master`. getUpstreamBranch: (path) -> @getRepo(path).getUpstreamBranch() - # Public: Returns the current SHA for the given reference. + # Public: Returns the current {String} SHA for the given reference. # - # reference - The {String} reference to get the target of. - # path - An optional {String} path in the repo to get the reference target - # for. Only needed if the repository contains submodules. + # * `reference` The {String} reference to get the target of. + # * `path` An optional {String} path in the repo to get the reference target + # for. Only needed if the repository contains submodules. getReferenceTarget: (reference, path) -> @getRepo(path).getReferenceTarget(reference) # Public: Gets all the local and remote references. # - # path - An optional {String} path in the repository to get this information - # for, only needed if the repository has submodules. + # * `path` An optional {String} path in the repository to get this information + # for, only needed if the repository has submodules. # # Returns an {Object} with the following keys: - # :heads - An {Array} of head reference names. - # :remotes - An {Array} of remote reference names. - # :tags - An {Array} of tag reference names. + # * `heads` An {Array} of head reference names. + # * `remotes` An {Array} of remote reference names. + # * `tags` An {Array} of tag reference names. getReferences: (path) -> @getRepo(path).getReferences() # Public: Returns the number of commits behind the current branch is from the # its upstream remote branch. # - # reference - The {String} branch reference name. - # path - The {String} path in the repository to get this information for, - # only needed if the repository contains submodules. + # * `reference` The {String} branch reference name. + # * `path` The {String} path in the repository to get this information for, + # only needed if the repository contains submodules. getAheadBehindCount: (reference, path) -> @getRepo(path).getAheadBehindCount(reference) # Public: Get the cached ahead/behind commit counts for the current branch's # upstream branch. # - # path - An optional {String} path in the repository to get this information - # for, only needed if the repository has submodules. + # * `path` An optional {String} path in the repository to get this information + # for, only needed if the repository has submodules. # # Returns an {Object} with the following keys: - # :ahead - The {Number} of commits ahead. - # :behind - The {Number} of commits behind. + # * `ahead` The {Number} of commits ahead. + # * `behind` The {Number} of commits behind. getCachedUpstreamAheadBehindCount: (path) -> @getRepo(path).upstream ? @upstream # Public: Get the cached status for the given path. # - # path - A {String} path in the repository, relative or absolute. + # * `path` A {String} path in the repository, relative or absolute. # # Returns a status {Number} or null if the path is not in the cache. getCachedPathStatus: (path) -> From 37542e3117821a404cb3a7b0f9f5c0d0c174f666 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 20 Aug 2014 12:17:48 -0600 Subject: [PATCH 070/144] :memo: Convert Atom docs --- src/atom.coffee | 79 +++++++++++++++++++++++++------------------------ 1 file changed, 41 insertions(+), 38 deletions(-) diff --git a/src/atom.coffee b/src/atom.coffee index 4c2da7f8a..2f5b2aa9d 100644 --- a/src/atom.coffee +++ b/src/atom.coffee @@ -18,13 +18,13 @@ WindowEventHandler = require './window-event-handler' # # An instance of this class is always available as the `atom` global. # -# ## Useful properties available: +# ## Properties # # * `atom.clipboard` - A {Clipboard} instance # * `atom.config` - A {Config} instance # * `atom.contextMenu` - A {ContextMenuManager} instance # * `atom.deserializers` - A {DeserializerManager} instance -# * `atom.keymaps` - A {KeymapManager} instance +# * `atom.keymaps` - A {KeymapManager} instance # * `atom.menu` - A {MenuManager} instance # * `atom.packages` - A {PackageManager} instance # * `atom.project` - A {Project} instance @@ -38,8 +38,8 @@ class Atom extends Model # Public: Load or create the Atom environment in the given mode. # - # mode - Pass 'editor' or 'spec' depending on the kind of environment you - # want to build. + # * `mode` A {String} mode that is either 'editor' or 'spec' depending on the + # kind of environment you want to build. # # Returns an Atom instance, fully initialized @loadOrCreate: (mode) -> @@ -119,8 +119,9 @@ class Atom extends Model @deserializers = new DeserializerManager() # Public: Sets up the basic services that should be available in all modes - # (both spec and application). Call after this instance has been assigned to - # the `atom` global. + # (both spec and application). + # + # Call after this instance has been assigned to the `atom` global. initialize: -> window.onerror = => @openDevTools() @@ -191,7 +192,11 @@ class Atom extends Model # Public: Get the dimensions of this window. # - # Returns an object with x, y, width, and height keys. + # Returns an {Object} with the following keys: + # * `x` The window's x-position {Number}. + # * `y` The window's y-position {Number}. + # * `width` The window's width {Number}. + # * `height` The window's height {Number}. getWindowDimensions: -> browserWindow = @getCurrentWindow() [x, y] = browserWindow.getPosition() @@ -205,11 +210,11 @@ class Atom extends Model # in the dimensions parameter. If x or y are omitted the window will be # centered. If height or width are omitted only the position will be changed. # - # dimensions - An {Object} with the following keys: - # :x - The new x coordinate. - # :y - The new y coordinate. - # :width - The new width. - # :height - The new height. + # * `dimensions` An {Object} with the following keys: + # * `x` The new x coordinate. + # * `y` The new y coordinate. + # * `width` The new width. + # * `height` The new height. setWindowDimensions: ({x, y, width, height}) -> if width? and height? @setSize(width, height) @@ -258,7 +263,7 @@ class Atom extends Model # Public: Get the load settings for the current window. # - # Returns an object containing all the load setting key/value pairs. + # Returns an {Object} containing all the load setting key/value pairs. getLoadSettings: -> @constructor.getLoadSettings() @@ -362,23 +367,21 @@ class Atom extends Model # Calling this method without an options parameter will open a prompt to pick # a file/folder to open in the new window. # - # options - An {Object} with the following keys: - # :pathsToOpen - An {Array} of {String} paths to open. - # :newWindow - A {Boolean}, true to always open a new window instead of - # reusing existing windows depending on the paths to open. - # :devMode - A {Boolean}, true to open the window in development mode. - # Development mode loads the Atom source from the locally - # cloned repository and also loads all the packages in - # ~/.atom/dev/packages - # :safeMode - A {Boolean}, true to open the window in safe mode. Safe - # mode prevents all packages installed to ~/.atom/packages - # from loading. + # * `options` An {Object} with the following keys: + # * `pathsToOpen` An {Array} of {String} paths to open. + # * `newWindow` A {Boolean}, true to always open a new window instead of + # reusing existing windows depending on the paths to open. + # * `devMode` A {Boolean}, true to open the window in development mode. + # Development mode loads the Atom source from the locally cloned + # repository and also loads all the packages in ~/.atom/dev/packages + # * `safeMode` A {Boolean}, true to open the window in safe mode. Safe + # mode prevents all packages installed to ~/.atom/packages from loading. open: (options) -> ipc.send('open', options) # Public: Open a confirm dialog. # - # ## Example + # ## Examples # # ```coffee # atom.confirm @@ -389,12 +392,12 @@ class Atom extends Model # Bad: -> window.alert('bummer') # ``` # - # options - An {Object} with the following keys: - # :message - The {String} message to display. - # :detailedMessage - The {String} detailed message to display. - # :buttons - Either an array of strings or an object where keys are - # button names and the values are callbacks to invoke when - # clicked. + # * `options` An {Object} with the following keys: + # * `message` The {String} message to display. + # * `detailedMessage` The {String} detailed message to display. + # * `buttons` Either an array of strings or an object where keys are + # button names and the values are callbacks to invoke when + # clicked. # # Returns the chosen button index {Number} if the buttons option was an array. confirm: ({message, detailedMessage, buttons}={}) -> @@ -457,15 +460,15 @@ class Atom extends Model # Public: Set the size of current window. # - # width - The {Number} of pixels. - # height - The {Number} of pixels. + # * `width` The {Number} of pixels. + # * `height` The {Number} of pixels. setSize: (width, height) -> @getCurrentWindow().setSize(width, height) # Public: Set the position of current window. # - # x - The {Number} of pixels. - # y - The {Number} of pixels. + # * `x` The {Number} of pixels. + # * `y` The {Number} of pixels. setPosition: (x, y) -> ipc.send('call-window-method', 'setPosition', x, y) @@ -552,7 +555,7 @@ class Atom extends Model # This time include things like loading and activating packages, creating # DOM elements for the editor, and reading the config. # - # Returns the number of milliseconds taken to load the window or null + # Returns the {Number} of milliseconds taken to load the window or null # if the window hasn't finished loading yet. getWindowLoadTime: -> @loadTime @@ -584,8 +587,8 @@ class Atom extends Model # The globals will be set on the `window` object and removed after the # require completes. # - # id - The {String} module name or path. - # globals - An {Object} to set as globals during require (default: {}) + # * `id` The {String} module name or path. + # * `globals` An optinal {Object} to set as globals during require. requireWithGlobals: (id, globals={}) -> existingGlobals = {} for key, value of globals From 0e0d62b54c76b17cdd290245f14a32fa7207ccfd Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 20 Aug 2014 12:20:03 -0600 Subject: [PATCH 071/144] :memo: Convert BufferedNodeProcess docs --- src/buffered-node-process.coffee | 41 ++++++++++++++++---------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/src/buffered-node-process.coffee b/src/buffered-node-process.coffee index 463d9b801..d4a360357 100644 --- a/src/buffered-node-process.coffee +++ b/src/buffered-node-process.coffee @@ -9,31 +9,32 @@ path = require 'path' # ## Requiring in packages # # ```coffee -# {BufferedNodeProcess} = require 'atom' +# {BufferedNodeProcess} = require 'atom' # ``` module.exports = class BufferedNodeProcess extends BufferedProcess + # Public: Runs the given Node script by spawning a new child process. # - # options - An {Object} with the following keys: - # :command - The {String} path to the JavaScript script to execute. - # :args - The {Array} of arguments to pass to the script (optional). - # :options - The options {Object} to pass to Node's `ChildProcess.spawn` - # method (optional). - # :stdout - The callback {Function} that receives a single argument which - # contains the standard output from the command. The callback is - # called as data is received but it's buffered to ensure only - # complete lines are passed until the source stream closes. After - # the source stream has closed all remaining data is sent in a - # final call (optional). - # :stderr - The callback {Function} that receives a single argument which - # contains the standard error output from the command. The - # callback is called as data is received but it's buffered to - # ensure only complete lines are passed until the source stream - # closes. After the source stream has closed all remaining data - # is sent in a final call (optional). - # :exit - The callback {Function} which receives a single argument - # containing the exit status (optional). + # * `options` An {Object} with the following keys: + # * `command` The {String} path to the JavaScript script to execute. + # * `args` The {Array} of arguments to pass to the script (optional). + # * `options` The options {Object} to pass to Node's `ChildProcess.spawn` + # method (optional). + # * `stdout` The callback {Function} that receives a single argument which + # contains the standard output from the command. The callback is + # called as data is received but it's buffered to ensure only + # complete lines are passed until the source stream closes. After + # the source stream has closed all remaining data is sent in a + # final call (optional). + # * `stderr` The callback {Function} that receives a single argument which + # contains the standard error output from the command. The + # callback is called as data is received but it's buffered to + # ensure only complete lines are passed until the source stream + # closes. After the source stream has closed all remaining data + # is sent in a final call (optional). + # * `exit` The callback {Function} which receives a single argument + # containing the exit status (optional). constructor: ({command, args, options, stdout, stderr, exit}) -> node = if process.platform is 'darwin' From aa5870570fbbf7e8c848ffe4ac7529069c52b840 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 20 Aug 2014 12:23:22 -0600 Subject: [PATCH 072/144] :memo: Convert BufferedProcess docs --- src/buffered-node-process.coffee | 2 +- src/buffered-process.coffee | 46 ++++++++++++++++---------------- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/buffered-node-process.coffee b/src/buffered-node-process.coffee index d4a360357..808bc27a4 100644 --- a/src/buffered-node-process.coffee +++ b/src/buffered-node-process.coffee @@ -6,7 +6,7 @@ path = require 'path' # # This is necessary on Windows since it doesn't support shebang `#!` lines. # -# ## Requiring in packages +# ## Examples # # ```coffee # {BufferedNodeProcess} = require 'atom' diff --git a/src/buffered-process.coffee b/src/buffered-process.coffee index c3cda37e4..ed6474f3b 100644 --- a/src/buffered-process.coffee +++ b/src/buffered-process.coffee @@ -4,7 +4,7 @@ ChildProcess = require 'child_process' # Public: A wrapper which provides standard error/output line buffering for # Node's ChildProcess. # -# ## Requiring in packages +# ## Examples # # ```coffee # {BufferedProcess} = require 'atom' @@ -19,25 +19,25 @@ module.exports = class BufferedProcess # Public: Runs the given command by spawning a new child process. # - # options - An {Object} with the following keys: - # :command - The {String} command to execute. - # :args - The {Array} of arguments to pass to the command (optional). - # :options - The options {Object} to pass to Node's `ChildProcess.spawn` - # method (optional). - # :stdout - The callback {Function} that receives a single argument which - # contains the standard output from the command. The callback is - # called as data is received but it's buffered to ensure only - # complete lines are passed until the source stream closes. After - # the source stream has closed all remaining data is sent in a - # final call (optional). - # :stderr - The callback {Function} that receives a single argument which - # contains the standard error output from the command. The - # callback is called as data is received but it's buffered to - # ensure only complete lines are passed until the source stream - # closes. After the source stream has closed all remaining data - # is sent in a final call (optional). - # :exit - The callback {Function} which receives a single argument - # containing the exit status (optional). + # * `options` An {Object} with the following keys: + # * `command` The {String} command to execute. + # * `args` The {Array} of arguments to pass to the command (optional). + # * `options` The options {Object} to pass to Node's `ChildProcess.spawn` + # method (optional). + # * `stdout` The callback {Function} that receives a single argument which + # contains the standard output from the command. The callback is + # called as data is received but it's buffered to ensure only + # complete lines are passed until the source stream closes. After + # the source stream has closed all remaining data is sent in a + # final call (optional). + # * `stderr` The callback {Function} that receives a single argument which + # contains the standard error output from the command. The + # callback is called as data is received but it's buffered to + # ensure only complete lines are passed until the source stream + # closes. After the source stream has closed all remaining data + # is sent in a final call (optional). + # * `exit` The callback {Function} which receives a single argument + # containing the exit status (optional). constructor: ({command, args, options, stdout, stderr, exit}={}) -> options ?= {} # Related to joyent/node#2318 @@ -95,9 +95,9 @@ class BufferedProcess # Helper method to pass data line by line. # - # stream - The Stream to read from. - # onLines - The callback to call with each line of data. - # onDone - The callback to call when the stream has closed. + # * `stream` The Stream to read from. + # * `onLines` The callback to call with each line of data. + # * `onDone` The callback to call when the stream has closed. bufferStream: (stream, onLines, onDone) -> stream.setEncoding('utf8') buffered = '' From c2fa20c543987f7e282188bfe3fc71ed1cfc8fb2 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 20 Aug 2014 12:25:35 -0600 Subject: [PATCH 073/144] :memo: Convert Clipboard docs --- src/clipboard.coffee | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/clipboard.coffee b/src/clipboard.coffee index c717350ae..03d53d574 100644 --- a/src/clipboard.coffee +++ b/src/clipboard.coffee @@ -4,6 +4,14 @@ crypto = require 'crypto' # Public: Represents the clipboard used for copying and pasting in Atom. # # An instance of this class is always available as the `atom.clipboard` global. +# +# ## Examples +# +# ```coffee +# atom.clipboard.write('hello') +# +# console.log(atom.clipboard.read()) # 'hello' +# ``` module.exports = class Clipboard metadata: null @@ -11,7 +19,7 @@ class Clipboard # Creates an `md5` hash of some text. # - # text - A {String} to hash. + # * `text` A {String} to hash. # # Returns a hashed {String}. md5: (text) -> @@ -22,8 +30,8 @@ class Clipboard # The metadata associated with the text is available by calling # {::readWithMetadata}. # - # text - The {String} to store. - # metadata - The additional info to associate with the text. + # * `text` The {String} to store. + # * `metadata` The additional info to associate with the text. write: (text, metadata) -> @signatureForMetadata = @md5(text) @metadata = metadata @@ -39,8 +47,8 @@ class Clipboard # associated metadata. # # Returns an {Object} with the following keys: - # :text - The {String} clipboard text. - # :metadata - The metadata stored by an earlier call to {::write}. + # * `text` The {String} clipboard text. + # * `metadata` The metadata stored by an earlier call to {::write}. readWithMetadata: -> text = @read() if @signatureForMetadata is @md5(text) From 0079007bb6bdc23126ba7ffcc74ee1ca445ad466 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 20 Aug 2014 12:31:53 -0600 Subject: [PATCH 074/144] :memo: Convert Config docs --- src/config.coffee | 83 +++++++++++++++++++++++------------------------ 1 file changed, 40 insertions(+), 43 deletions(-) diff --git a/src/config.coffee b/src/config.coffee index 2c280aa27..f3606d7bb 100644 --- a/src/config.coffee +++ b/src/config.coffee @@ -15,9 +15,9 @@ pathWatcher = require 'pathwatcher' # * Create your own root keypath using your package's name. # * Don't depend on (or write to) configuration keys outside of your keypath. # -# ## Example +# ## Examples # -# ```coffeescript +# ```coffee # atom.config.set('my-package.key', 'value') # atom.config.observe 'my-package.key', -> # console.log 'My configuration changed:', atom.config.get('my-package.key') @@ -88,17 +88,17 @@ class Config _.extend hash, defaults @emit 'updated' - # Public: Get the {String} path to the config file being used. + # Extended: Get the {String} path to the config file being used. getUserConfigPath: -> @configFilePath - # Public: Returns a new {Object} containing all of settings and defaults. + # Extended: Returns a new {Object} containing all of settings and defaults. getSettings: -> _.deepExtend(@settings, @defaultSettings) - # Public: Retrieves the setting for the given key. + # Essential: Retrieves the setting for the given key. # - # keyPath - The {String} name of the key to retrieve. + # * `keyPath` The {String} name of the key to retrieve. # # Returns the value from Atom's default settings, the user's configuration # file, or `null` if the key doesn't exist in either. @@ -117,19 +117,19 @@ class Config value - # Public: Retrieves the setting for the given key as an integer. + # Extended: Retrieves the setting for the given key as an integer. # - # keyPath - The {String} name of the key to retrieve + # * `keyPath` The {String} name of the key to retrieve # # Returns the value from Atom's default settings, the user's configuration # file, or `NaN` if the key doesn't exist in either. getInt: (keyPath) -> parseInt(@get(keyPath)) - # Public: Retrieves the setting for the given key as a positive integer. + # Extended: Retrieves the setting for the given key as a positive integer. # - # keyPath - The {String} name of the key to retrieve - # defaultValue - The integer {Number} to fall back to if the value isn't + # * `keyPath` The {String} name of the key to retrieve + # * `defaultValue` The integer {Number} to fall back to if the value isn't # positive, defaults to 0. # # Returns the value from Atom's default settings, the user's configuration @@ -137,12 +137,12 @@ class Config getPositiveInt: (keyPath, defaultValue=0) -> Math.max(@getInt(keyPath), 0) or defaultValue - # Public: Sets the value for a configuration setting. + # Essential: Sets the value for a configuration setting. # # This value is stored in Atom's internal configuration file. # - # keyPath - The {String} name of the key. - # value - The value of the setting. + # * `keyPath` The {String} name of the key. + # * `value` The value of the setting. # # Returns the `value`. set: (keyPath, value) -> @@ -153,47 +153,47 @@ class Config @update() value - # Public: Toggle the value at the key path. + # Extended: Toggle the value at the key path. # # The new value will be `true` if the value is currently falsy and will be # `false` if the value is currently truthy. # - # keyPath - The {String} name of the key. + # * `keyPath` The {String} name of the key. # # Returns the new value. toggle: (keyPath) -> @set(keyPath, !@get(keyPath)) - # Public: Restore the key path to its default value. + # Extended: Restore the key path to its default value. # - # keyPath - The {String} name of the key. + # * `keyPath` The {String} name of the key. # # Returns the new value. restoreDefault: (keyPath) -> @set(keyPath, _.valueForKeyPath(@defaultSettings, keyPath)) - # Public: Get the default value of the key path. + # Extended: Get the default value of the key path. # - # keyPath - The {String} name of the key. + # * `keyPath` The {String} name of the key. # # Returns the default value. getDefault: (keyPath) -> defaultValue = _.valueForKeyPath(@defaultSettings, keyPath) _.deepClone(defaultValue) - # Public: Is the key path value its default value? + # Extended: Is the key path value its default value? # - # keyPath - The {String} name of the key. + # * `keyPath` The {String} name of the key. # # Returns a {Boolean}, `true` if the current value is the default, `false` # otherwise. isDefault: (keyPath) -> not _.valueForKeyPath(@settings, keyPath)? - # Public: Push the value to the array at the key path. + # Extended: Push the value to the array at the key path. # - # keyPath - The {String} key path. - # value - The value to push to the array. + # * `keyPath` The {String} key path. + # * `value` The value to push to the array. # # Returns the new array length {Number} of the setting. pushAtKeyPath: (keyPath, value) -> @@ -202,10 +202,10 @@ class Config @set(keyPath, arrayValue) result - # Public: Add the value to the beginning of the array at the key path. + # Extended: Add the value to the beginning of the array at the key path. # - # keyPath - The {String} key path. - # value - The value to shift onto the array. + # * `keyPath` The {String} key path. + # * `value` The value to shift onto the array. # # Returns the new array length {Number} of the setting. unshiftAtKeyPath: (keyPath, value) -> @@ -216,8 +216,8 @@ class Config # Public: Remove the value from the array at the key path. # - # keyPath - The {String} key path. - # value - The value to remove from the array. + # * `keyPath` The {String} key path. + # * `value` The value to remove from the array. # # Returns the new array value of the setting. removeAtKeyPath: (keyPath, value) -> @@ -226,20 +226,17 @@ class Config @set(keyPath, arrayValue) result - # Public: Establishes an event listener for a given key. + # Essential: Add a listener for changes to a given key path. # - # `callback` is fired whenever the value of the key is changed and will - # be fired immediately unless the `callNow` option is `false`. - # - # keyPath - The {String} name of the key to observe - # options - An optional {Object} containing the `callNow` key. - # callback - The {Function} to call when the value of the key changes. - # The first argument will be the new value of the key and the - #   second argument will be an {Object} with a `previous` property - # that is the prior value of the key. + # * `keyPath` The {String} name of the key to observe + # * `options` An optional {Object} containing the `callNow` key. + # * `callback` The {Function} to call when the value of the key changes. + # The first argument will be the new value of the key and the + #   second argument will be an {Object} with a `previous` property + # that is the prior value of the key. # # Returns an {Object} with the following keys: - # :off - A {Function} that unobserves the `keyPath` when called. + # * `off` A {Function} that unobserves the `keyPath` when called. observe: (keyPath, options={}, callback) -> if _.isFunction(options) callback = options @@ -259,9 +256,9 @@ class Config callback(value) if options.callNow ? true subscription - # Public: Unobserve all callbacks on a given key. + # Unobserve all callbacks on a given key. # - # keyPath - The {String} name of the key to unobserve. + # * `keyPath` The {String} name of the key to unobserve. unobserve: (keyPath) -> @off("updated.#{keyPath.replace(/\./, '-')}") From af67671f60e42d0aec68d431a630e51e989c761d Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 20 Aug 2014 12:41:24 -0600 Subject: [PATCH 075/144] :memo: Convert ContextMenuManager docs --- src/context-menu-manager.coffee | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/src/context-menu-manager.coffee b/src/context-menu-manager.coffee index fe285775a..172148195 100644 --- a/src/context-menu-manager.coffee +++ b/src/context-menu-manager.coffee @@ -22,15 +22,13 @@ class ContextMenuManager ] # Public: Creates menu definitions from the object specified by the menu - # cson API. + # JSON API. # - # name - The path of the file that contains the menu definitions. - # object - The 'context-menu' object specified in the menu cson API. - # options - An {Object} with the following keys: - # :devMode - Determines whether the entries should only be shown when - # the window is in dev mode. - # - # Returns nothing. + # * `name` The path of the file that contains the menu definitions. + # * `object` The 'context-menu' object specified in the menu JSON API. + # * `options` An optional {Object} with the following keys: + # * `devMode` Determines whether the entries should only be shown when + # the window is in dev mode. add: (name, object, {devMode}={}) -> for selector, items of object for label, commandOrSubmenu of items @@ -43,6 +41,8 @@ class ContextMenuManager menuItem = @buildMenuItem(label, commandOrSubmenu) @addBySelector(selector, menuItem, {devMode}) + undefined + buildMenuItem: (label, command) -> if command is '-' {type: 'separator'} @@ -52,12 +52,12 @@ class ContextMenuManager # Registers a command to be displayed when the relevant item is right # clicked. # - # selector - The css selector for the active element which should include - # the given command in its context menu. - # definition - The object containing keys which match the menu template API. - # options - An {Object} with the following keys: - # :devMode - Indicates whether this command should only appear while the - # editor is in dev mode. + # * `selector` The css selector for the active element which should include + # the given command in its context menu. + # * `definition` The object containing keys which match the menu template API. + # * `options` An optional {Object} with the following keys: + # * `devMode` Indicates whether this command should only appear while the + # editor is in dev mode. addBySelector: (selector, definition, {devMode}={}) -> definitions = if devMode then @devModeDefinitions else @definitions if not _.findWhere(definitions[selector], definition) or _.isEqual(definition, {type: 'separator'}) @@ -79,7 +79,7 @@ class ContextMenuManager # active element are listed first. The further down the list you go, the higher # up the ancestor hierarchy they match. # - # element - The DOM element to generate the menu template for. + # * `element` The DOM element to generate the menu template for. menuTemplateForMostSpecificElement: (element, {devMode}={}) -> menuTemplate = @definitionsForElement(element, {devMode}) if element.parentElement @@ -109,9 +109,12 @@ class ContextMenuManager delete template.executeAtBuild # Public: Request a context menu to be displayed. + # + # * `event` A DOM event. showForEvent: (event) -> @activeElement = event.target menuTemplate = @combinedMenuTemplateForElement(event.target) return unless menuTemplate?.length > 0 @executeBuildHandlers(event, menuTemplate) remote.getCurrentWindow().emit('context-menu', menuTemplate) + undefined From 7d910000a2d0408ded2a8ff877b65c400a8115df Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 20 Aug 2014 12:43:26 -0600 Subject: [PATCH 076/144] :memo: Convert DeserializerManager docs --- src/deserializer-manager.coffee | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/deserializer-manager.coffee b/src/deserializer-manager.coffee index 16fa0c442..b9f3745e1 100644 --- a/src/deserializer-manager.coffee +++ b/src/deserializer-manager.coffee @@ -3,7 +3,7 @@ # An instance of this class is always available as the `atom.deserializers` # global. # -# ### Registering a deserializer +# ## Examples # # ```coffee # class MyPackageView extends View @@ -24,21 +24,21 @@ class DeserializerManager # Public: Register the given class(es) as deserializers. # - # classes - One or more classes to register. + # * `classes` One or more classes to register. add: (classes...) -> @deserializers[klass.name] = klass for klass in classes # Public: Remove the given class(es) as deserializers. # - # classes - One or more classes to remove. + # * `classes` One or more classes to remove. remove: (classes...) -> delete @deserializers[name] for {name} in classes # Public: Deserialize the state and params. # - # state - The state {Object} to deserialize. - # params - The params {Object} to pass as the second arguments to the - # deserialize method of the deserializer. + # * `state` The state {Object} to deserialize. + # * `params` The params {Object} to pass as the second arguments to the + # deserialize method of the deserializer. deserialize: (state, params) -> return unless state? @@ -51,7 +51,7 @@ class DeserializerManager # Get the deserializer for the state. # - # state - The state {Object} being deserialized. + # * `state` The state {Object} being deserialized. get: (state) -> return unless state? From 0bca0810b908323c3c3a41bbdc71ca39ffb4822a Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 20 Aug 2014 12:45:37 -0600 Subject: [PATCH 077/144] :memo: Convert MenuManager docs --- src/menu-manager.coffee | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/menu-manager.coffee b/src/menu-manager.coffee index e1c1743d4..14c886562 100644 --- a/src/menu-manager.coffee +++ b/src/menu-manager.coffee @@ -17,9 +17,9 @@ class MenuManager atom.keymaps.on 'bundled-keymaps-loaded', => @loadPlatformItems() atom.packages.on 'activated', => @sortPackagesMenu() - # Public: Adds the given item definition to the existing template. + # Public: Adds the given items to the application menu. # - # ## Example + # ## Examples # ```coffee # atom.menu.add [ # { @@ -29,23 +29,22 @@ class MenuManager # ] # ``` # - # items - An {Array} of menu item {Object}s containing the keys: - # :label - The {String} menu label. - # :submenu - An optional {Array} of sub menu items. - # :command - An optional {String} command to trigger when the item is - # clicked. - # - # Returns nothing. + # * `items` An {Array} of menu item {Object}s containing the keys: + # * `label` The {String} menu label. + # * `submenu` An optional {Array} of sub menu items. + # * `command` An optional {String} command to trigger when the item is + # clicked. add: (items) -> @merge(@template, item) for item in items @update() + undefined # Should the binding for the given selector be included in the menu # commands. # - # selector - A {String} selector to check. + # * `selector` A {String} selector to check. # - # Returns true to include the selector, false otherwise. + # Returns a {Boolean}, true to include the selector, false otherwise. includeSelector: (selector) -> try return true if document.body.webkitMatchesSelector(selector) From 61a82fa0e4d5490178475a2da4f7122fa2a4adf9 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Wed, 20 Aug 2014 12:50:36 -0600 Subject: [PATCH 078/144] Upgrade tello to use new events format --- build/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/package.json b/build/package.json index 45165dd92..1c8a9772f 100644 --- a/build/package.json +++ b/build/package.json @@ -8,7 +8,7 @@ "dependencies": { "async": "~0.2.9", "donna": "~0.0", - "tello": "~0.0", + "tello": "~0.1", "formidable": "~1.0.14", "fs-plus": "2.x", "github-releases": "~0.2.0", From 99917a536e1cf27a1b8c45e383aff6dc9c5f7d35 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Wed, 20 Aug 2014 12:50:53 -0600 Subject: [PATCH 079/144] Add a couple events for test purposes --- src/editor.coffee | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/editor.coffee b/src/editor.coffee index d6265fcd4..4f74bbbee 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -50,6 +50,23 @@ TextMateScopeSelector = require('first-mate').ScopeSelector # # **When in doubt, just default to buffer coordinates**, then experiment with # soft wraps and folds to ensure your code interacts with them correctly. +# +# ## Events +# +# ### will-insert-text +# +# Emit before the text has been inserted. +# +# * `event` event {Object} +# * `text` {String} text to be inserted +# * `cancel` {Function} Call to prevent the text from being inserted +# +# ### did-insert-text +# +# Emit after the text has been inserted. +# +# * `event` event {Object} +# * `text` {String} text to be inserted module.exports = class Editor extends Model Serializable.includeInto(this) From 59bf16fed3d2b6bae4f27c650632a63317604da6 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 20 Aug 2014 12:54:59 -0600 Subject: [PATCH 080/144] :memo: Convert PackageManager docs --- src/package-manager.coffee | 72 ++++++++++++++++++++++++++++---------- 1 file changed, 53 insertions(+), 19 deletions(-) diff --git a/src/package-manager.coffee b/src/package-manager.coffee index 0a4e2457b..4935804dd 100644 --- a/src/package-manager.coffee +++ b/src/package-manager.coffee @@ -21,7 +21,7 @@ ThemePackage = require './theme-package' # `deactivate()` on the package's main module. # * Unloading a package removes it completely from the package manager. # -# Packages can also be enabled/disabled via the `core.disabledPackages` config +# Packages can be enabled/disabled via the `core.disabledPackages` config # settings and also by calling `enablePackage()/disablePackage()`. module.exports = class PackageManager @@ -41,15 +41,17 @@ class PackageManager @packageActivators = [] @registerPackageActivator(this, ['atom', 'textmate']) - # Public: Get the path to the apm command + # Extended: Get the path to the apm command. + # + # Return a {String} file path to apm. getApmPath: -> commandName = 'apm' commandName += '.cmd' if process.platform is 'win32' @apmPath ?= path.resolve(__dirname, '..', 'apm', 'node_modules', 'atom-package-manager', 'bin', commandName) - # Public: Get the paths being used to look for packages. + # Extended: Get the paths being used to look for packages. # - # Returns an Array of String directory paths. + # Returns an {Array} of {String} directory paths. getPackageDirPaths: -> _.clone(@packageDirPaths) @@ -59,13 +61,17 @@ class PackageManager setPackageState: (name, state) -> @packageStates[name] = state - # Public: Enable the package with the given name + # Extended: Enable the package with the given name. + # + # Returns the {Package} that was enabled or null if it isn't loaded. enablePackage: (name) -> pack = @loadPackage(name) pack?.enable() pack - # Public: Disable the package with the given name + # Extended: Disable the package with the given name. + # + # Returns the {Package} that was disabled or null if it isn't loaded. disablePackage: (name) -> pack = @loadPackage(name) pack?.disable() @@ -110,15 +116,23 @@ class PackageManager pack.deactivate() delete @activePackages[pack.name] - # Public: Get an array of all the active packages + # Essential: Get an {Array} of all the active {Package}s. getActivePackages: -> _.values(@activePackages) - # Public: Get the active package with the given name + # Essential: Get the active {Package} with the given name. + # + # * `name` - The {String} package name. + # + # Returns a {Package} or undefined. getActivePackage: (name) -> @activePackages[name] - # Public: Is the package with the given name active? + # Public: Is the {Package} with the given name active? + # + # * `name` - The {String} package name. + # + # Returns a {Boolean}. isPackageActive: (name) -> @getActivePackage(name)? @@ -179,25 +193,37 @@ class PackageManager else throw new Error("No loaded package for name '#{name}'") - # Public: Get the loaded package with the given name + # Essential: Get the loaded {Package} with the given name. + # + # * `name` - The {String} package name. + # + # Returns a {Package} or undefined. getLoadedPackage: (name) -> @loadedPackages[name] - # Public: Is the package with the given name loaded? + # Essential: Is the package with the given name loaded? + # + # * `name` - The {String} package name. + # + # Returns a {Boolean}. isPackageLoaded: (name) -> @getLoadedPackage(name)? - # Public: Get an array of all the loaded packages + # Essential: Get an {Array} of all the loaded {Package}s getLoadedPackages: -> _.values(@loadedPackages) # Get packages for a certain package type # - # types - an {Array} of {String}s like ['atom', 'textmate']. + # * `types` an {Array} of {String}s like ['atom', 'textmate']. getLoadedPackagesForTypes: (types) -> pack for pack in @getLoadedPackages() when pack.getType() in types - # Public: Resolve the given package name to a path on disk. + # Extended: Resolve the given package name to a path on disk. + # + # * `name` - The {String} package name. + # + # Return a {String} folder path or undefined if it could not be resolved. resolvePackagePath: (name) -> return name if fs.isDirectorySync(name) @@ -207,7 +233,11 @@ class PackageManager packagePath = path.join(@resourcePath, 'node_modules', name) return packagePath if @hasAtomEngine(packagePath) - # Public: Is the package with the given name disabled? + # Essential: Is the package with the given name disabled? + # + # * `name` - The {String} package name. + # + # Returns a {Boolean}. isPackageDisabled: (name) -> _.include(atom.config.get('core.disabledPackages') ? [], name) @@ -215,7 +245,11 @@ class PackageManager metadata = Package.loadMetadata(packagePath, true) metadata?.engines?.atom? - # Public: Is the package with the given name bundled with Atom? + # Extended: Is the package with the given name bundled with Atom? + # + # * `name` - The {String} package name. + # + # Returns a {Boolean}. isBundledPackage: (name) -> @getPackageDependencies().hasOwnProperty(name) @@ -228,7 +262,7 @@ class PackageManager @packageDependencies - # Public: Get an array of all the available package paths. + # Extended: Get an {Array} of {String}s of all the available package paths. getAvailablePackagePaths: -> packagePaths = [] @@ -243,11 +277,11 @@ class PackageManager _.uniq(packagePaths) - # Public: Get an array of all the available package names. + # Extended: Get an {Array} of {String}s of all the available package names. getAvailablePackageNames: -> _.uniq _.map @getAvailablePackagePaths(), (packagePath) -> path.basename(packagePath) - # Public: Get an array of all the available package metadata. + # Extended: Get an {Array} of {String}s of all the available package metadata. getAvailablePackageMetadata: -> packages = [] for packagePath in @getAvailablePackagePaths() From ee4c7e996f434c871588ac96994f44421b2aa9ec Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 20 Aug 2014 12:59:41 -0600 Subject: [PATCH 081/144] :memo: Convert ScrollView docs --- src/scroll-view.coffee | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/src/scroll-view.coffee b/src/scroll-view.coffee index dc210494d..63199fdb1 100644 --- a/src/scroll-view.coffee +++ b/src/scroll-view.coffee @@ -6,17 +6,26 @@ # the following events won't be handled by the ScrollView. # # ## Events -# * `core:move-up` -# * `core:move-down` -# * `core:page-up` -# * `core:page-down` -# * `core:move-to-top` -# * `core:move-to-bottom` +# * `core:move-up` Scrolls the view up +# * `core:move-down` Scrolls the view down +# * `core:page-up` Scrolls the view up by the height of the page +# * `core:page-down` Scrolls the view down by the height of the page +# * `core:move-to-top` Scrolls the editor to the top +# * `core:move-to-bottom` Scroll the editor to the bottom # -# ## Requiring in packages +# ## Examples # # ```coffee -# {ScrollView} = require 'atom' +# {ScrollView} = require 'atom' +# +# class MyView extends ScrollView +# @content: -> +# @div() +# +# initialize: -> +# super +# +# @text('super long content that will scroll') # ``` module.exports = class ScrollView extends View From a4b2f3aa4b38d25641885e361effaed566227aac Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Thu, 21 Aug 2014 14:51:29 -0700 Subject: [PATCH 082/144] Editor event documentation --- src/editor.coffee | 126 +++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 114 insertions(+), 12 deletions(-) diff --git a/src/editor.coffee b/src/editor.coffee index 4f74bbbee..f167bfaf2 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -53,9 +53,45 @@ TextMateScopeSelector = require('first-mate').ScopeSelector # # ## Events # +# ### path-changed +# +# Essential: Emit when the buffer's path, and therefore title, has changed. +# +# ### title-changed +# +# Essential: Emit when the buffer's path, and therefore title, has changed. +# +# ### modified-status-changed +# +# Extended: Emit when the result of {::isModified} changes. +# +# ### soft-wrap-changed +# +# Extended: Emit when soft wrap was enabled or disabled. +# +# * `softWrap` {Boolean} indicating whether soft wrap is enabled or disabled. +# +# ### grammar-changed +# +# Extended: Emit when the grammar that interprets and colorizes the text has +# been changed. +# +# +# +# ### contents-modified +# +# Essential: Emit when the buffer's contents change. It is emit asynchronously +# 300ms after the last buffer change. This is a good place to handle changes to +# the buffer without compromising typing performance. +# +# ### contents-conflicted +# +# Extended: Emitted when the buffer's underlying file changes on disk at a +# moment when the result of {::isModified} is true. +# # ### will-insert-text # -# Emit before the text has been inserted. +# Extended: Emit before the text has been inserted. # # * `event` event {Object} # * `text` {String} text to be inserted @@ -63,10 +99,85 @@ TextMateScopeSelector = require('first-mate').ScopeSelector # # ### did-insert-text # -# Emit after the text has been inserted. +# Extended: Emit after the text has been inserted. # # * `event` event {Object} # * `text` {String} text to be inserted +# +# +# +# ### cursor-moved +# +# Essential: Emit when a cursor has been moved. If there are multiple cursors, +# it will be emit for each cursor. +# +# * `event` {Object} +# * `oldBufferPosition` {Point} +# * `oldScreenPosition` {Point} +# * `newBufferPosition` {Point} +# * `newScreenPosition` {Point} +# * `textChanged` {Boolean} +# +# ### cursor-added +# +# Extended: Emit when a cursor has been added. +# +# * `cursor` {Cursor} that was added +# +# ### cursor-removed +# +# Extended: Emit when a cursor has been removed. +# +# * `cursor` {Cursor} that was removed +# +# +# +# ### selection-screen-range-changed +# +# Essential: Emit when a selection's screen range changes. +# +# * `selection`: {Selection} object that has a changed range +# +# ### selection-added +# +# Extended: Emit when a selection's was added. +# +# * `selection`: {Selection} object that was added +# +# ### selection-removed +# +# Extended: Emit when a selection's was removed. +# +# * `selection`: {Selection} object that was removed +# +# +# +# ### decoration-added +# +# Extended: Emit when a {Decoration} is added to the editor. +# +# * `decoration` {Decoration} that was added +# +# ### decoration-removed +# +# Extended: Emit when a {Decoration} is removed from the editor. +# +# * `decoration` {Decoration} that was removed +# +# ### decoration-changed +# +# Extended: Emit when a {Decoration}'s underlying marker changes. Say the user +# inserts newlines above a decoration. That action will move the marker down, +# and fire this event. +# +# * `decoration` {Decoration} that was added +# +# ### decoration-updated +# +# Extended: Emit when a {Decoration} is updated via the {Decoration::update} method. +# +# * `decoration` {Decoration} that was updated +# module.exports = class Editor extends Model Serializable.includeInto(this) @@ -595,16 +706,6 @@ class Editor extends Model # Public: For each selection, replace the selected text with the given text. # - # ## Events - # - # * `will-insert-text` Emit before the text has been inserted. - # * `event` event {Object} - # * `text` {String} text to be inserted - # * `cancel` {Function} Call to prevent the text from being inserted - # * `did-insert-text` Emit after the text has been inserted. - # * `event` event {Object} - # * `text` {String} text to be inserted - # # * `text` A {String} representing the text to insert. # * `options` See {Selection::insertText}. # @@ -1447,6 +1548,7 @@ class Editor extends Model # Remove the given cursor from this editor. removeCursor: (cursor) -> _.remove(@cursors, cursor) + @emit 'cursor-removed', cursor # Public: Move the cursor to the given position in screen coordinates. # From 393f6bdd3553bc3c2296f6411dabe847aa885d0d Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Thu, 21 Aug 2014 16:28:01 -0700 Subject: [PATCH 083/144] Add optional to all optional args --- src/editor.coffee | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/editor.coffee b/src/editor.coffee index f167bfaf2..3ff12cbcc 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -438,7 +438,7 @@ class Editor extends Model # Returns the range for the given buffer row. # # * `row` A row {Number}. - # * `options` An options hash with an `includeNewline` key. + # * `options` (optional) An options hash with an `includeNewline` key. # # Returns a {Range}. bufferRangeForBufferRow: (row, {includeNewline}={}) -> @buffer.rangeForRow(row, includeNewline) @@ -707,7 +707,7 @@ class Editor extends Model # Public: For each selection, replace the selected text with the given text. # # * `text` A {String} representing the text to insert. - # * `options` See {Selection::insertText}. + # * `options` (optional) See {Selection::insertText}. # # Returns a {Range} when the text has been inserted # Returns a {Bool} false when the text has not been inserted @@ -920,7 +920,7 @@ class Editor extends Model # # * `bufferRow` A {Number} indicating the buffer row. # * `newLevel` A {Number} indicating the new indentation level. - # * `options` An {Object} with the following keys: + # * `options` (optional) An {Object} with the following keys: # * `preserveLeadingWhitespace` `true` to preserve any whitespace already at # the beginning of the line (default: false). setIndentationForBufferRow: (bufferRow, newLevel, {preserveLeadingWhitespace}={}) -> @@ -1029,7 +1029,7 @@ class Editor extends Model # conversion, which only makes a difference when `options` are supplied. # # * `bufferPosition` A {Point} or {Array} of [row, column]. - # * `options` An options hash for {::clipScreenPosition}. + # * `options` (optional) An options hash for {::clipScreenPosition}. # # Returns a {Point}. screenPositionForBufferPosition: (bufferPosition, options) -> @displayBuffer.screenPositionForBufferPosition(bufferPosition, options) @@ -1039,7 +1039,7 @@ class Editor extends Model # The position is clipped via {::clipScreenPosition} prior to the conversion. # # * `bufferPosition` A {Point} or {Array} of [row, column]. - # * `options` An options hash for {::clipScreenPosition}. + # * `options` (optional) An options hash for {::clipScreenPosition}. # # Returns a {Point}. bufferPositionForScreenPosition: (screenPosition, options) -> @displayBuffer.bufferPositionForScreenPosition(screenPosition, options) @@ -1203,7 +1203,7 @@ class Editor extends Model # editor, each selection will be replaced with the content of the # corresponding clipboard selection text. # - # * `options` See {Selection::insertText}. + # * `options` (optional) See {Selection::insertText}. pasteText: (options={}) -> {text, metadata} = atom.clipboard.readWithMetadata() @@ -1462,7 +1462,7 @@ class Editor extends Model # Public: Mark the given range in screen coordinates. # # * `range` A {Range} or range-compatible {Array}. - # * `options` See {TextBuffer::markRange}. + # * `options` (optional) See {TextBuffer::markRange}. # # Returns a {DisplayBufferMarker}. markScreenRange: (args...) -> @@ -1471,7 +1471,7 @@ class Editor extends Model # Public: Mark the given range in buffer coordinates. # # * `range` A {Range} or range-compatible {Array}. - # * `options` See {TextBuffer::markRange}. + # * `options` (optional) See {TextBuffer::markRange}. # # Returns a {DisplayBufferMarker}. markBufferRange: (args...) -> @@ -1480,7 +1480,7 @@ class Editor extends Model # Public: Mark the given position in screen coordinates. # # * `position` A {Point} or {Array} of `[row, column]`. - # * `options` See {TextBuffer::markRange}. + # * `options` (optional) See {TextBuffer::markRange}. # # Returns a {DisplayBufferMarker}. markScreenPosition: (args...) -> @@ -1489,7 +1489,7 @@ class Editor extends Model # Public: Mark the given position in buffer coordinates. # # * `position` A {Point} or {Array} of `[row, column]`. - # * `options` See {TextBuffer::markRange}. + # * `options` (optional) See {TextBuffer::markRange}. # # Returns a {DisplayBufferMarker}. markBufferPosition: (args...) -> @@ -1555,7 +1555,7 @@ class Editor extends Model # If there are multiple cursors, they will be consolidated to a single cursor. # # * `position` A {Point} or {Array} of `[row, column]` - # * `options` An {Object} combining options for {::clipScreenPosition} with: + # * `options` (optional) An {Object} combining options for {::clipScreenPosition} with: # * `autoscroll` Determines whether the editor scrolls to the new cursor's # position. Defaults to true. setCursorScreenPosition: (position, options) -> @@ -1579,7 +1579,7 @@ class Editor extends Model # If there are multiple cursors, they will be consolidated to a single cursor. # # * `position` A {Point} or {Array} of `[row, column]` - # * `options` An {Object} combining options for {::clipScreenPosition} with: + # * `options` (optional) An {Object} combining options for {::clipScreenPosition} with: # * `autoscroll` Determines whether the editor scrolls to the new cursor's # position. Defaults to true. setCursorBufferPosition: (position, options) -> @@ -1594,7 +1594,7 @@ class Editor extends Model # Public: Returns the word surrounding the most recently added cursor. # - # * `options` See {Cursor::getBeginningOfCurrentWordBufferPosition}. + # * `options` (optional) See {Cursor::getBeginningOfCurrentWordBufferPosition}. getWordUnderCursor: (options) -> @getTextInBufferRange(@getCursor().getCurrentWordBufferRange(options)) @@ -1711,7 +1711,7 @@ class Editor extends Model # Add a {Selection} based on the given {DisplayBufferMarker}. # # * `marker` The {DisplayBufferMarker} to highlight - # * `options` An {Object} that pertains to the {Selection} constructor. + # * `options` (optional) An {Object} that pertains to the {Selection} constructor. # # Returns the new {Selection}. addSelection: (marker, options={}) -> @@ -1733,7 +1733,7 @@ class Editor extends Model # Public: Add a selection for the given range in buffer coordinates. # # * `bufferRange` A {Range} - # * `options` An options {Object}: + # * `options` (optional) An options {Object}: # * `reversed` A {Boolean} indicating whether to create the selection in a # reversed orientation. # @@ -1748,7 +1748,7 @@ class Editor extends Model # selections, they are reduced to a single selection with the given range. # # * `bufferRange` A {Range} or range-compatible {Array}. - # * `options` An options {Object}: + # * `options` (optional) An options {Object}: # * `reversed` A {Boolean} indicating whether to create the selection in a # reversed orientation. setSelectedBufferRange: (bufferRange, options) -> @@ -1758,7 +1758,7 @@ class Editor extends Model # selections, they are reduced to a single selection with the given range. # # * `screenRange` A {Range} or range-compatible {Array}. - # * `options` An options {Object}: + # * `options` (optional) An options {Object}: # * `reversed` A {Boolean} indicating whether to create the selection in a # reversed orientation. setSelectedScreenRange: (screenRange, options) -> @@ -1768,7 +1768,7 @@ class Editor extends Model # selections, they are replaced by new selections with the given ranges. # # * `bufferRanges` An {Array} of {Range}s or range-compatible {Array}s. - # * `options` An options {Object}: + # * `options` (optional) An options {Object}: # * `reversed` A {Boolean} indicating whether to create the selection in a # reversed orientation. setSelectedBufferRanges: (bufferRanges, options={}) -> @@ -1819,7 +1819,7 @@ class Editor extends Model # Public: Get the most recent {Selection} or the selection at the given # index. # - # * `index` Optional. The index of the selection to return, based on the order + # * `index` (optional) The index of the selection to return, based on the order # in which the selections were added. # # Returns a {Selection}. @@ -2114,7 +2114,7 @@ class Editor extends Model # Public: Scroll the editor to reveal the most recently added cursor if it is # off-screen. # - # * `options` An optional hash of options. + # * `options` (optional) {Object} # * `center` Center the editor around the cursor if possible. Defauls to true. scrollToCursorPosition: (options) -> @getCursor().autoscroll(center: options?.center ? true) From 0ab282340f3adc4256c6b970a052de77a2f79014 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Thu, 21 Aug 2014 16:35:59 -0700 Subject: [PATCH 084/144] Upgrade to tello@0.2 --- build/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/package.json b/build/package.json index 1c8a9772f..fda540b6b 100644 --- a/build/package.json +++ b/build/package.json @@ -8,7 +8,7 @@ "dependencies": { "async": "~0.2.9", "donna": "~0.0", - "tello": "~0.1", + "tello": "~0.2", "formidable": "~1.0.14", "fs-plus": "2.x", "github-releases": "~0.2.0", From 9bb6bdf666b51a31fff4c5dcc6973d45097d6998 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Thu, 21 Aug 2014 17:04:40 -0700 Subject: [PATCH 085/144] Update decorateMarker docs --- src/editor.coffee | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/editor.coffee b/src/editor.coffee index 3ff12cbcc..9e7fbc2d5 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -1386,11 +1386,12 @@ class Editor extends Model # the marker's state. # # There are three types of supported decorations: - # * `line`: Adds your CSS `class` to the line nodes within the range + # + # * __line__: Adds your CSS `class` to the line nodes within the range # marked by the marker - # * `gutter`: Adds your CSS `class` to the line number nodes within the + # * __gutter__: Adds your CSS `class` to the line number nodes within the # range marked by the marker - # * `highlight`: Adds a new highlight div to the editor surrounding the + # * __highlight__: Adds a new highlight div to the editor surrounding the # range marked by the marker. When the user selects text, the selection is # visualized with a highlight decoration internally. The structure of this # highlight will be: @@ -1401,20 +1402,19 @@ class Editor extends Model # # ``` # + # ## Arguments + # # * `marker` A {Marker} you want this decoration to follow. # * `decorationParams` An {Object} representing the decoration eg. `{type: 'gutter', class: 'linter-error'}` - # * `type` There are a few supported decoration types: - # * `gutter`: Applies the decoration to the line numbers spanned by the marker. - # * `line`: Applies the decoration to the lines spanned by the marker. - # * `highlight`: Applies the decoration to a "highlight" behind the marked range. + # * `type` There are a few supported decoration types: `gutter`, `line`, and `highlight` # * `class` This CSS class will be applied to the decorated line number, # line, or highlight. - # * `onlyHead` If `true`, the decoration will only be applied to the head + # * `onlyHead` (optional) If `true`, the decoration will only be applied to the head # of the marker. Only applicable to the `line` and `gutter` types. - # * `onlyEmpty` If `true`, the decoration will only be applied if the + # * `onlyEmpty` (optional) If `true`, the decoration will only be applied if the # associated marker is empty. Only applicable to the `line` and # `gutter` types. - # * `onlyNonEmpty` If `true`, the decoration will only be applied if the + # * `onlyNonEmpty` (optional) If `true`, the decoration will only be applied if the # associated marker is non-empty. Only applicable to the `line` and # gutter types. # From d79eb8eed364ac76e7c31f88266a69a57d722fe2 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Thu, 21 Aug 2014 18:19:52 -0700 Subject: [PATCH 086/144] Update decoration docs --- src/decoration.coffee | 71 ++++++++++++++++++++++++++----------------- 1 file changed, 43 insertions(+), 28 deletions(-) diff --git a/src/decoration.coffee b/src/decoration.coffee index 96acfcee1..18671f465 100644 --- a/src/decoration.coffee +++ b/src/decoration.coffee @@ -4,7 +4,7 @@ _ = require 'underscore-plus' idCounter = 0 nextId = -> idCounter++ -# Public: Represents a decoration that follows a {Marker}. A decoration is +# Essential: Represents a decoration that follows a {Marker}. A decoration is # basically a visual representation of a marker. It allows you to add CSS # classes to line numbers in the gutter, lines, and add selection-line regions # around marked ranges of text. @@ -20,17 +20,15 @@ nextId = -> idCounter++ # # Best practice for destorying the decoration is by destroying the {Marker}. # -# ``` +# ```coffee # marker.destroy() # ``` # # You should only use {Decoration::destroy} when you still need or do not own # the marker. # -# ### IDs -# Each {Decoration} has a unique ID available via `decoration.id`. +# ## Events # -# ### Events # A couple of events are emitted: # # * `destroyed`: When the {Decoration} is destroyed @@ -41,6 +39,14 @@ module.exports = class Decoration Emitter.includeInto(this) + # Extended: Check if the `decorationParams.type` matches `type` + # + # * `decorationParams` {Object} eg. `{type: 'gutter', class: 'my-new-class'}` + # * `type` {String} type like `'gutter'`, `'line'`, etc. `type` can also + # be an {Array} of {String}s, where it will return + # true if the decoration's type matches any in the array. + # + # Returns {Boolean} @isType: (decorationParams, type) -> if _.isArray(decorationParams.type) type in decorationParams.type @@ -53,21 +59,34 @@ class Decoration @flashQueue = null @isDestroyed = false - # Public: Destroy this marker. - # - # If you own the marker, you should use {Marker::destroy} which will destroy - # this decoration. - destroy: -> - return if @isDestroyed - @isDestroyed = true - @displayBuffer.removeDecoration(this) - @emit 'destroyed' + # Essential: An id unique across all {Decoration} objects + getId: -> @id - # Public: Update the marker with new params. Allows you to change the decoration's class. + # Essential: Returns the marker associated with this {Decoration} + getMarker: -> @marker + + # Essential: Returns the {Decoration}'s params. + getParams: -> @params + + # Public: Check if this decoration is of type `type` # - # ``` + # * `type` {String} type like `'gutter'`, `'line'`, etc. `type` can also + # be an {Array} of {String}s, where it will return + # true if the decoration's type matches any in the array. + # + # Returns {Boolean} + isType: (type) -> + Decoration.isType(@params, type) + + # Essential: Update the marker with new params. Allows you to change the decoration's class. + # + # ## Examples + # + # ```coffee # decoration.update({type: 'gutter', class: 'my-new-class'}) # ``` + # + # * `newParams` {Object} eg. `{type: 'gutter', class: 'my-new-class'}` update: (newParams) -> return if @isDestroyed oldParams = @params @@ -76,19 +95,15 @@ class Decoration @displayBuffer.decorationUpdated(this) @emit 'updated', {oldParams, newParams} - # Public: Returns the marker associated with this {Decoration} - getMarker: -> @marker - - # Public: Returns the {Decoration}'s params. - getParams: -> @params - - # Public: Check if this decoration is of type `type` + # Essential: Destroy this marker. # - # type - A {String} type like `'gutter'` - # - # Returns a {Boolean} - isType: (type) -> - Decoration.isType(@params, type) + # If you own the marker, you should use {Marker::destroy} which will destroy + # this decoration. + destroy: -> + return if @isDestroyed + @isDestroyed = true + @displayBuffer.removeDecoration(this) + @emit 'destroyed' matchesPattern: (decorationPattern) -> return false unless decorationPattern? From 5a51d3a0c9a918186122c9dfd1c9768435925bab Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Fri, 22 Aug 2014 10:51:55 -0700 Subject: [PATCH 087/144] Fix indentation --- src/decoration.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/decoration.coffee b/src/decoration.coffee index 18671f465..aa98eba87 100644 --- a/src/decoration.coffee +++ b/src/decoration.coffee @@ -43,8 +43,8 @@ class Decoration # # * `decorationParams` {Object} eg. `{type: 'gutter', class: 'my-new-class'}` # * `type` {String} type like `'gutter'`, `'line'`, etc. `type` can also - # be an {Array} of {String}s, where it will return - # true if the decoration's type matches any in the array. + # be an {Array} of {String}s, where it will return true if the decoration's + # type matches any in the array. # # Returns {Boolean} @isType: (decorationParams, type) -> @@ -71,8 +71,8 @@ class Decoration # Public: Check if this decoration is of type `type` # # * `type` {String} type like `'gutter'`, `'line'`, etc. `type` can also - # be an {Array} of {String}s, where it will return - # true if the decoration's type matches any in the array. + # be an {Array} of {String}s, where it will return true if the decoration's + # type matches any in the array. # # Returns {Boolean} isType: (type) -> From 41c96a82a94e2d50751dd40d1c65d6837fa2ff50 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 22 Aug 2014 14:13:13 -0700 Subject: [PATCH 088/144] Upgrade to first-mate 2.0.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 30fdf9a9f..15ec91147 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "coffeestack": "0.7.0", "delegato": "^1", "emissary": "^1.2.2", - "first-mate": "^2.0.3", + "first-mate": "^2.0.4", "fs-plus": "^2.2.6", "fstream": "0.1.24", "fuzzaldrin": "^1.1", From 762f8c2e5a74f060c7985bb46565ec2e38862bbe Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 22 Aug 2014 14:17:59 -0700 Subject: [PATCH 089/144] :memo: Update Syntax docs --- src/syntax.coffee | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/syntax.coffee b/src/syntax.coffee index 9756a0d5e..e4ab7de03 100644 --- a/src/syntax.coffee +++ b/src/syntax.coffee @@ -14,7 +14,7 @@ Token = require './token' # An instance of this class is always available as the `atom.syntax` global. # # The Syntax class also contains properties for things such as the -# language-specific comment regexes. +# language-specific comment regexes. See {::getProperty} for more details. module.exports = class Syntax extends GrammarRegistry PropertyAccessors.includeInto(this) @@ -55,14 +55,15 @@ class Syntax extends GrammarRegistry # Public: Get a property for the given scope and key path. # - # ## Example + # ## Examples + # # ```coffee # comment = atom.syntax.getProperty(['.source.ruby'], 'editor.commentStart') # console.log(comment) # '# ' # ``` # - # scope - An {Array} of {String} scopes. - # keyPath - A {String} key path. + # * `scope` An {Array} of {String} scopes. + # * `keyPath` A {String} key path. # # Returns a {String} property value or undefined. getProperty: (scope, keyPath) -> From 5df944e804d3dc4eea50e4f1e5a5ddbdea88b44d Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 22 Aug 2014 14:22:09 -0700 Subject: [PATCH 090/144] :memo: Update Task docs --- src/task.coffee | 40 +++++++++++++++++++++++++++------------- 1 file changed, 27 insertions(+), 13 deletions(-) diff --git a/src/task.coffee b/src/task.coffee index 5a1b90faa..a776ac519 100644 --- a/src/task.coffee +++ b/src/task.coffee @@ -13,7 +13,7 @@ child_process = require 'child_process' # * task:error - Emitted when console.error is called within the task. # * task:completed - Emitted when the task has succeeded or failed. # -# ## Requiring in packages +# ## Examples # # ```coffee # {Task} = require 'atom' @@ -24,9 +24,11 @@ class Task # Public: A helper method to easily launch and run a task once. # - # taskPath - The {String} path to the CoffeeScript/JavaScript file which - # exports a single {Function} to execute. - # args - The arguments to pass to the exported function. + # * `taskPath` The {String} path to the CoffeeScript/JavaScript file which + # exports a single {Function} to execute. + # * `args` The arguments to pass to the exported function. + # + # Returns the created {Task}. @once: (taskPath, args...) -> task = new Task(taskPath) task.once 'task:completed', -> task.terminate() @@ -43,8 +45,8 @@ class Task # Public: Creates a task. # - # taskPath - The {String} path to the CoffeeScript/JavaScript file that - # exports a single {Function} to execute. + # * `taskPath` The {String} path to the CoffeeScript/JavaScript file that + # exports a single {Function} to execute. constructor: (taskPath) -> coffeeCacheRequire = "require('#{require.resolve('./coffee-cache')}').register();" coffeeScriptRequire = "require('#{require.resolve('coffee-script')}').register();" @@ -81,10 +83,13 @@ class Task # Throws an error if this task has already been terminated or if sending a # message to the child process fails. # - # args - The arguments to pass to the function exported by this task's script. - # callback - An optional {Function} to call when the task completes. + # * `args` The arguments to pass to the function exported by this task's + # script. + # * `callback` (optional) A {Function} to call when the task completes. + # + # Returns undefind. start: (args..., callback) -> - throw new Error("Cannot start terminated process") unless @childProcess? + throw new Error('Cannot start terminated process') unless @childProcess? @handleEvents() if _.isFunction(callback) @@ -92,20 +97,28 @@ class Task else args.push(callback) @send({event: 'start', args}) + undefined # Public: Send message to the task. # # Throws an error if this task has already been terminated or if sending a # message to the child process fails. # - # message - The message to send to the task. + # * `message` The message to send to the task. + # + # Returns undefined. send: (message) -> - throw new Error("Cannot send message to terminated process") unless @childProcess? - @childProcess.send(message) + if @childProcess? + @childProcess.send(message) + else + throw new Error('Cannot send message to terminated process') + undefined # Public: Forcefully stop the running task. # - # No events are emitted. + # No more events are emitted once this method is called. + # + # Returns undefined. terminate: -> return unless @childProcess? @@ -114,3 +127,4 @@ class Task @childProcess = null @off() + undefined From 2cdae3c6c1feefd578be3acace7e1bb39b3eea3f Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 22 Aug 2014 14:47:48 -0700 Subject: [PATCH 091/144] Upgrade to pathwatcher 2.0.9 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 15ec91147..d742bc640 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "nslog": "^1.0.1", "oniguruma": "^3.0.3", "optimist": "0.4.0", - "pathwatcher": "^2.0.8", + "pathwatcher": "^2.0.9", "property-accessors": "^1", "q": "^1.0.1", "random-words": "0.0.1", From 352f1e34ab62706bf8238d1510e9929bc9a55735 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Fri, 22 Aug 2014 15:07:37 -0700 Subject: [PATCH 092/144] No mo : --- src/editor.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor.coffee b/src/editor.coffee index 9e7fbc2d5..b2679ddc7 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -1394,7 +1394,7 @@ class Editor extends Model # * __highlight__: Adds a new highlight div to the editor surrounding the # range marked by the marker. When the user selects text, the selection is # visualized with a highlight decoration internally. The structure of this - # highlight will be: + # highlight will be # ```html #
    # From ad4f464d7c1843a94c85a8441a00b3569769ea8a Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Fri, 22 Aug 2014 15:08:07 -0700 Subject: [PATCH 093/144] Fix Decoration events --- src/decoration.coffee | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/decoration.coffee b/src/decoration.coffee index aa98eba87..3d888ab34 100644 --- a/src/decoration.coffee +++ b/src/decoration.coffee @@ -29,11 +29,17 @@ nextId = -> idCounter++ # # ## Events # -# A couple of events are emitted: +# ### updated # -# * `destroyed`: When the {Decoration} is destroyed -# * `updated`: When the {Decoration} is updated via {Decoration::update}. -# Event object has properties `oldParams` and `newParams` +# Extended: When the {Decoration} is updated via {Decoration::update}. +# +# * `event` {Object} +# * `oldParams` {Object} the old parameters the decoration used to have +# * `newParams` {Object} the new parameters the decoration now has +# +# ### destroyed +# +# Extended: When the {Decoration} is destroyed # module.exports = class Decoration From 8aae7b983e5f6c5140acdc54eec18ed3580a0607 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Fri, 22 Aug 2014 15:21:21 -0700 Subject: [PATCH 094/144] :memo: Convert Cursor Docs --- src/cursor.coffee | 112 +++++++++++++++++++++++++++------------------- 1 file changed, 67 insertions(+), 45 deletions(-) diff --git a/src/cursor.coffee b/src/cursor.coffee index 8d99408fd..968b965dd 100644 --- a/src/cursor.coffee +++ b/src/cursor.coffee @@ -2,11 +2,36 @@ {Model} = require 'theorist' _ = require 'underscore-plus' -# Public: The `Cursor` class represents the little blinking line identifying +# Extended: The `Cursor` class represents the little blinking line identifying # where text can be inserted. # # Cursors belong to {Editor}s and have some metadata attached in the form # of a {Marker}. +# +# ## Events +# +# ### moved +# +# Extended: Emit when a cursor has been moved. If there are multiple cursors, +# it will be emit for each cursor. +# +# * `event` {Object} +# * `oldBufferPosition` {Point} +# * `oldScreenPosition` {Point} +# * `newBufferPosition` {Point} +# * `newScreenPosition` {Point} +# * `textChanged` {Boolean} +# +# ### destroyed +# +# Extended: Emit when the cursor is destroyed +# +# ### visibility-changed +# +# Extended: Emit when the Cursor is hidden or shown +# +# * `visible` {Boolean} true when cursor is visible +# module.exports = class Cursor extends Model screenPosition: null @@ -63,11 +88,10 @@ class Cursor extends Model # Public: Moves a cursor to a given screen position. # - # screenPosition - An {Array} of two numbers: the screen row, and the screen - # column. - # options - An {Object} with the following keys: - # :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever - # the cursor moves to. + # * `screenPosition` {Array} of two numbers: the screen row, and the screen column. + # * `options` (optional) {Object} with the following keys: + # * `autoscroll` A Boolean which, if `true`, scrolls the {Editor} to wherever + # the cursor moves to. setScreenPosition: (screenPosition, options={}) -> @changePosition options, => @marker.setHeadScreenPosition(screenPosition, options) @@ -82,11 +106,10 @@ class Cursor extends Model # Public: Moves a cursor to a given buffer position. # - # bufferPosition - An {Array} of two numbers: the buffer row, and the buffer - # column. - # options - An {Object} with the following keys: - # :autoscroll - A Boolean which, if `true`, scrolls the {Editor} to wherever - # the cursor moves to. + # * `bufferPosition` {Array} of two numbers: the buffer row, and the buffer column. + # * `options` (optional) {Object} with the following keys: + # * `autoscroll` A Boolean which, if `true`, scrolls the {Editor} to wherever + # the cursor moves to. setBufferPosition: (bufferPosition, options={}) -> @changePosition options, => @marker.setHeadBufferPosition(bufferPosition, options) @@ -114,10 +137,9 @@ class Cursor extends Model # Public: Get the RegExp used by the cursor to determine what a "word" is. # - # options: An optional {Object} with the following keys: - # :includeNonWordCharacters - A {Boolean} indicating whether to include - # non-word characters in the regex. - # (default: true) + # * `options` (optional) {Object} with the following keys: + # * `includeNonWordCharacters` A {Boolean} indicating whether to include + # non-word characters in the regex. (default: true) # # Returns a {RegExp}. wordRegExp: ({includeNonWordCharacters}={}) -> @@ -228,9 +250,9 @@ class Cursor extends Model # Public: Moves the cursor left one screen column. # - # options - An {Object} with the following keys: - # :moveToEndOfSelection - if true, move to the left of the selection if a - # selection exists. + # * `options` (optional) {Object} with the following keys: + # * `moveToEndOfSelection` if true, move to the left of the selection if a + # selection exists. moveLeft: ({moveToEndOfSelection}={}) -> range = @marker.getScreenRange() if moveToEndOfSelection and not range.isEmpty() @@ -242,9 +264,9 @@ class Cursor extends Model # Public: Moves the cursor right one screen column. # - # options - An {Object} with the following keys: - # :moveToEndOfSelection - if true, move to the right of the selection if a - # selection exists. + # * `options` (optional) {Object} with the following keys: + # * `moveToEndOfSelection` if true, move to the right of the selection if a + # selection exists. moveRight: ({moveToEndOfSelection}={}) -> range = @marker.getScreenRange() if moveToEndOfSelection and not range.isEmpty() @@ -332,14 +354,14 @@ class Cursor extends Model # Public: Retrieves the buffer position of where the current word starts. # - # options - An {Object} with the following keys: - # :wordRegex - A {RegExp} indicating what constitutes a "word" - # (default: {::wordRegExp}). - # :includeNonWordCharacters - A {Boolean} indicating whether to include - # non-word characters in the default word regex. - # Has no effect if wordRegex is set. - # :allowPrevious - A {Boolean} indicating whether the beginning of the - # previous word can be returned. + # * `options` (optional) An {Object} with the following keys: + # * `wordRegex` A {RegExp} indicating what constitutes a "word" + # (default: {::wordRegExp}). + # * `includeNonWordCharacters` A {Boolean} indicating whether to include + # non-word characters in the default word regex. + # Has no effect if wordRegex is set. + # * `allowPrevious` A {Boolean} indicating whether the beginning of the + # previous word can be returned. # # Returns a {Range}. getBeginningOfCurrentWordBufferPosition: (options = {}) -> @@ -407,12 +429,12 @@ class Cursor extends Model # Public: Retrieves the buffer position of where the current word ends. # - # options - An {Object} with the following keys: - # :wordRegex - A {RegExp} indicating what constitutes a "word" - # (default: {::wordRegExp}) - # :includeNonWordCharacters - A Boolean indicating whether to include - # non-word characters in the default word regex. - # Has no effect if wordRegex is set. + # * `options` (optional) {Object} with the following keys: + # * `wordRegex` A {RegExp} indicating what constitutes a "word" + # (default: {::wordRegExp}) + # * `includeNonWordCharacters` A Boolean indicating whether to include + # non-word characters in the default word regex. Has no effect if + # wordRegex is set. # # Returns a {Range}. getEndOfCurrentWordBufferPosition: (options = {}) -> @@ -431,11 +453,11 @@ class Cursor extends Model # Public: Retrieves the buffer position of where the next word starts. # - # options - - # :wordRegex - A {RegExp} indicating what constitutes a "word" - # (default: {::wordRegExp}). + # * `options` (optional) {Object} + # * `wordRegex` A {RegExp} indicating what constitutes a "word" + # (default: {::wordRegExp}). # - # Returns a {Range}. + # Returns a {Range} getBeginningOfNextWordBufferPosition: (options = {}) -> currentBufferPosition = @getBufferPosition() start = if @isInsideWord() then @getEndOfCurrentWordBufferPosition() else currentBufferPosition @@ -450,9 +472,9 @@ class Cursor extends Model # Public: Returns the buffer Range occupied by the word located under the cursor. # - # options - - # :wordRegex - A {RegExp} indicating what constitutes a "word" - # (default: {::wordRegExp}). + # * `options` (optional) {Object} + # * `wordRegex` A {RegExp} indicating what constitutes a "word" + # (default: {::wordRegExp}). getCurrentWordBufferRange: (options={}) -> startOptions = _.extend(_.clone(options), allowPrevious: false) endOptions = _.extend(_.clone(options), allowNext: false) @@ -460,9 +482,9 @@ class Cursor extends Model # Public: Returns the buffer Range for the current line. # - # options - - # :includeNewline: - A {Boolean} which controls whether the Range should - # include the newline. + # * `options` (optional) {Object} + # * `includeNewline` A {Boolean} which controls whether the Range should + # include the newline. getCurrentLineBufferRange: (options) -> @editor.bufferRangeForBufferRow(@getBufferRow(), options) From 8241918b6eaea23a9f2e6584c6a21b7fede48b35 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 22 Aug 2014 15:25:42 -0700 Subject: [PATCH 095/144] Include classes from node_modules in proper object and order --- build/tasks/docs-task.coffee | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/build/tasks/docs-task.coffee b/build/tasks/docs-task.coffee index 1790d049c..605269933 100644 --- a/build/tasks/docs-task.coffee +++ b/build/tasks/docs-task.coffee @@ -20,11 +20,20 @@ module.exports = (grunt) -> true classes + sortClasses = (classes) -> + sortedClasses = {} + for className in Object.keys(classes).sort() + sortedClasses[className] = classes[className] + sortedClasses + grunt.registerTask 'build-docs', 'Builds the API docs in src', -> docsOutputDir = grunt.config.get('docsOutputDir') metadata = donna.generateMetadata(['.']) - api = _.extend(tello.digest(metadata), getClassesToInclude()) + api = tello.digest(metadata) + _.extend(api.classes, getClassesToInclude()) + api.classes = sortClasses(api.classes) + apiJson = JSON.stringify(api, null, 2) apiJsonPath = path.join(docsOutputDir, 'api.json') grunt.file.write(apiJsonPath, apiJson) From a93ef05e13ae1bb45ce76f7ba906ccf2084fecd8 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Fri, 22 Aug 2014 15:59:42 -0700 Subject: [PATCH 096/144] :memo: Convert Selection docs --- src/selection.coffee | 84 ++++++++++++++++++++++++++------------------ 1 file changed, 49 insertions(+), 35 deletions(-) diff --git a/src/selection.coffee b/src/selection.coffee index b182f864d..efbb40592 100644 --- a/src/selection.coffee +++ b/src/selection.coffee @@ -2,7 +2,20 @@ {Model} = require 'theorist' {pick} = require 'underscore-plus' -# Public: Represents a selection in the {Editor}. +# Extended: Represents a selection in the {Editor}. +# +# ## Events +# +# ### screen-range-changed +# +# Extended: Emit when the selection was moved. +# +# * `screenRange` {Range} indicating the new screenrange +# +# ### destroyed +# +# Extended: Emit when the selection was destroyed +# module.exports = class Selection extends Model cursor: null @@ -56,8 +69,8 @@ class Selection extends Model # Public: Modifies the screen range for the selection. # - # screenRange - The new {Range} to use. - # options - A hash of options matching those found in {::setBufferRange}. + # * `screenRange` The new {Range} to use. + # * `options` (optional) {Object} options matching those found in {::setBufferRange}. setScreenRange: (screenRange, options) -> @setBufferRange(@editor.bufferRangeForScreenRange(screenRange), options) @@ -67,11 +80,10 @@ class Selection extends Model # Public: Modifies the buffer {Range} for the selection. # - # screenRange - The new {Range} to select. - # options - An {Object} with the keys: - # :preserveFolds - if `true`, the fold settings are preserved after the - # selection moves. - # :autoscroll - if `true`, the {Editor} scrolls to the new selection. + # * `screenRange` The new {Range} to select. + # * `options` (optional) {Object} with the keys: + # * `preserveFolds` if `true`, the fold settings are preserved after the selection moves. + # * `autoscroll` if `true`, the {Editor} scrolls to the new selection. setBufferRange: (bufferRange, options={}) -> bufferRange = Range.fromObject(bufferRange) @needsAutoscroll = options.autoscroll @@ -141,7 +153,7 @@ class Selection extends Model # Public: Selects an entire line in the buffer. # - # row - The line {Number} to select (default: the row of the cursor). + # * `row` The line {Number} to select (default: the row of the cursor). selectLine: (row=@cursor.getBufferPosition().row) -> range = @editor.bufferRangeForBufferRow(row, includeNewline: true) @setBufferRange(@getBufferRange().union(range)) @@ -160,7 +172,7 @@ class Selection extends Model # Public: Selects the text from the current cursor position to a given screen # position. # - # position - An instance of {Point}, with a given `row` and `column`. + # * `position` An instance of {Point}, with a given `row` and `column`. selectToScreenPosition: (position) -> position = Point.fromObject(position) @@ -181,7 +193,7 @@ class Selection extends Model # Public: Selects the text from the current cursor position to a given buffer # position. # - # position - An instance of {Point}, with a given `row` and `column`. + # * `position` An instance of {Point}, with a given `row` and `column`. selectToBufferPosition: (position) -> @modifySelection => @cursor.setBufferPosition(position) @@ -306,14 +318,14 @@ class Selection extends Model # Public: Replaces text at the current selection. # - # text - A {String} representing the text to add - # options - An {Object} with keys: - # :select - if `true`, selects the newly added text. - # :autoIndent - if `true`, indents all inserted text appropriately. - # :autoIndentNewline - if `true`, indent newline appropriately. - # :autoDecreaseIndent - if `true`, decreases indent level appropriately - # (for example, when a closing bracket is inserted). - # :undo - if `skip`, skips the undo stack for this operation. + # * `text` A {String} representing the text to add + # * `options` (optional) {Object} with keys: + # * `select` if `true`, selects the newly added text. + # * `autoIndent` if `true`, indents all inserted text appropriately. + # * `autoIndentNewline` if `true`, indent newline appropriately. + # * `autoDecreaseIndent` if `true`, decreases indent level appropriately + # (for example, when a closing bracket is inserted). + # * `undo` if `skip`, skips the undo stack for this operation. insertText: (text, options={}) -> oldBufferRange = @getBufferRange() @editor.unfoldBufferRow(oldBufferRange.end.row) @@ -345,8 +357,8 @@ class Selection extends Model # Public: Indents the given text to the suggested level based on the grammar. # - # text - The {String} to indent within the selection. - # indentBasis - The beginning indent level. + # * `text` The {String} to indent within the selection. + # * `indentBasis` The beginning indent level. normalizeIndents: (text, indentBasis) -> textPrecedingCursor = @cursor.getCurrentBufferLine()[0...@cursor.getBufferColumn()] isCursorInsideExistingLine = /\S/.test(textPrecedingCursor) @@ -378,9 +390,9 @@ class Selection extends Model # non-whitespace characters, and otherwise inserts a tab. If the selection is # non empty, calls {::indentSelectedRows}. # - # options - A {Object} with the keys: - # :autoIndent - If `true`, the line is indented to an automatically-inferred - # level. Otherwise, {Editor::getTabText} is inserted. + # * `options` (optional) {Object} with the keys: + # * `autoIndent` If `true`, the line is indented to an automatically-inferred + # level. Otherwise, {Editor::getTabText} is inserted. indent: ({ autoIndent }={}) -> { row, column } = @cursor.getBufferPosition() @@ -549,16 +561,18 @@ class Selection extends Model @cut(maintainClipboard) # Public: Copies the selection to the clipboard and then deletes it. + # + # * `maintainClipboard` {Boolean} (default: false) See {::copy} cut: (maintainClipboard=false) -> @copy(maintainClipboard) @delete() # Public: Copies the current selection to the clipboard. # - # If the `maintainClipboard` is set to `true`, a specific metadata property - # is created to store each content copied to the clipboard. The clipboard - # `text` still contains the concatenation of the clipboard with the - # current selection. + # * `maintainClipboard` {Boolean} if `true`, a specific metadata property + # is created to store each content copied to the clipboard. The clipboard + # `text` still contains the concatenation of the clipboard with the + # current selection. (default: false) copy: (maintainClipboard=false) -> return if @isEmpty() text = @editor.buffer.getTextInRange(@getBufferRange()) @@ -598,9 +612,9 @@ class Selection extends Model # Public: Identifies if a selection intersects with a given buffer range. # - # bufferRange - A {Range} to check against. + # * `bufferRange` A {Range} to check against. # - # Returns a Boolean. + # Returns a {Boolean} intersectsBufferRange: (bufferRange) -> @getBufferRange().intersectsWith(bufferRange) @@ -612,17 +626,17 @@ class Selection extends Model # Public: Identifies if a selection intersects with another selection. # - # otherSelection - A {Selection} to check against. + # * `otherSelection` A {Selection} to check against. # - # Returns a Boolean. + # Returns a {Boolean} intersectsWith: (otherSelection) -> @getBufferRange().intersectsWith(otherSelection.getBufferRange()) # Public: Combines the given selection into this selection and then destroys # the given selection. # - # otherSelection - A {Selection} to merge with. - # options - A hash of options matching those found in {::setBufferRange}. + # * `otherSelection` A {Selection} to merge with. + # * `options` (optional) {Object} options matching those found in {::setBufferRange}. merge: (otherSelection, options) -> myGoalBufferRange = @getGoalBufferRange() otherGoalBufferRange = otherSelection.getGoalBufferRange() @@ -638,7 +652,7 @@ class Selection extends Model # # See {Range::compare} for more details. # - # otherSelection - A {Selection} to compare against. + # * `otherSelection` A {Selection} to compare against compare: (otherSelection) -> @getBufferRange().compare(otherSelection.getBufferRange()) From d7f3add25094a7c0f15994c6b2788c0e3cb3d081 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Fri, 22 Aug 2014 16:17:55 -0700 Subject: [PATCH 097/144] :memo: Convert Pane docs --- src/pane.coffee | 76 +++++++++++++++++++++++++++++++++++-------------- 1 file changed, 54 insertions(+), 22 deletions(-) diff --git a/src/pane.coffee b/src/pane.coffee index 84947bbb7..9cd769bb8 100644 --- a/src/pane.coffee +++ b/src/pane.coffee @@ -8,6 +8,40 @@ PaneView = null # Public: A container for multiple items, one of which is *active* at a given # time. With the default packages, a tab is displayed for each item and the # active item's view is displayed. +# +# ## Events +# ### activated +# +# Extended: Emit when this pane as been activated +# +# ### item-added +# +# Extended: Emit when an item was added to the pane +# +# * `item` The pane item that has been added +# * `index` {Number} Index in the pane +# +# ### before-item-destroyed +# +# Extended: Emit before the item is destroyed +# +# * `item` The pane item that will be destoryed +# +# ### item-removed +# +# Extended: Emit when the item was removed from the pane +# +# * `item` The pane item that was removed +# * `index` {Number} Index in the pane +# * `destroying` {Boolean} `true` when the item is being removed because of destruction +# +# ### item-moved +# +# Extended: Emit when an item was moved within the pane +# +# * `item` The pane item that was moved +# * `newIndex` {Number} Index that the item was moved to +# module.exports = class Pane extends Model atom.deserializers.add(this) @@ -130,9 +164,9 @@ class Pane extends Model # Public: Adds the item to the pane. # - # item - The item to add. It can be a model with an associated view or a view. - # index - An optional index at which to add the item. If omitted, the item is - # added after the current active item. + # * `item` The item to add. It can be a model with an associated view or a view. + # * `index` (optional) {Number} at which to add the item. If omitted, the item is + # added after the current active item. # # Returns the added item addItem: (item, index=@getActiveItemIndex() + 1) -> @@ -145,11 +179,11 @@ class Pane extends Model # Public: Adds the given items to the pane. # - # items - An {Array} of items to add. Items can be models with associated - # views or views. Any items that are already present in items will - # not be added. - # index - An optional index at which to add the item. If omitted, the item is - # added after the current active item. + # * `items` An {Array} of items to add. Items can be models with associated + # views or views. Any items that are already present in items will + # not be added. + # * `index` (optional) {Number} index at which to add the item. If omitted, the item is + # added after the current active item. # # Returns an {Array} of the added items addItems: (items, index=@getActiveItemIndex() + 1) -> @@ -246,9 +280,8 @@ class Pane extends Model # Public: Saves the specified item. # - # item - The item to save. - # nextAction - An optional function which will be called after the item is - # saved. + # * `item` The item to save. + # * `nextAction` (optional) {Function} which will be called after the item is saved. saveItem: (item, nextAction) -> if item?.getUri?() item.save?() @@ -258,9 +291,8 @@ class Pane extends Model # Public: Saves the given item at a prompted-for location. # - # item - The item to save. - # nextAction - An optional function which will be called after the item is - # saved. + # * `item` The item to save. + # * `nextAction` (optional) {Function} which will be called after the item is saved. saveItemAs: (item, nextAction) -> return unless item?.saveAs? @@ -294,8 +326,8 @@ class Pane extends Model # Public: Creates a new pane to the left of the receiver. # - # params - An object with keys: - # :items - An optional array of items with which to construct the new pane. + # * `params` {Object} with keys + # * `items` (optional) {Array} of items with which to construct the new pane. # # Returns the new {Pane}. splitLeft: (params) -> @@ -303,8 +335,8 @@ class Pane extends Model # Public: Creates a new pane to the right of the receiver. # - # params - An object with keys: - # :items - An optional array of items with which to construct the new pane. + # * `params` {Object} with keys: + # * `items` (optional) {Array} of items with which to construct the new pane. # # Returns the new {Pane}. splitRight: (params) -> @@ -312,8 +344,8 @@ class Pane extends Model # Public: Creates a new pane above the receiver. # - # params - An object with keys: - # :items - An optional array of items with which to construct the new pane. + # * `params` {Object} with keys: + # * `items` (optional) {Array} of items with which to construct the new pane. # # Returns the new {Pane}. splitUp: (params) -> @@ -321,8 +353,8 @@ class Pane extends Model # Public: Creates a new pane below the receiver. # - # params - An object with keys: - # :items - An optional array of items with which to construct the new pane. + # * `params` {Object} with keys: + # * `items` (optional) {Array} of items with which to construct the new pane. # # Returns the new {Pane}. splitDown: (params) -> From c294208f87aab7d9dc0f2c73c8b8328cc491e76a Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Fri, 22 Aug 2014 16:19:53 -0700 Subject: [PATCH 098/144] :memo: Convert PaneView docs --- src/pane-view.coffee | 2 +- src/pane.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pane-view.coffee b/src/pane-view.coffee index d4f663d16..0d641582e 100644 --- a/src/pane-view.coffee +++ b/src/pane-view.coffee @@ -5,7 +5,7 @@ PropertyAccessors = require 'property-accessors' Pane = require './pane' -# Public: A container which can contains multiple items to be switched between. +# Extended: A container which can contains multiple items to be switched between. # # Items can be almost anything however most commonly they're {EditorView}s. # diff --git a/src/pane.coffee b/src/pane.coffee index 9cd769bb8..678e2156e 100644 --- a/src/pane.coffee +++ b/src/pane.coffee @@ -5,7 +5,7 @@ PaneAxis = require './pane-axis' Editor = require './editor' PaneView = null -# Public: A container for multiple items, one of which is *active* at a given +# Extended: A container for multiple items, one of which is *active* at a given # time. With the default packages, a tab is displayed for each item and the # active item's view is displayed. # From 6c19a58c7c7793a1d243a86351958358c97318bb Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Fri, 22 Aug 2014 16:32:13 -0700 Subject: [PATCH 099/144] :memo: Convert Project docs --- src/project.coffee | 55 ++++++++++++++++++++++++++++++++-------------- 1 file changed, 38 insertions(+), 17 deletions(-) diff --git a/src/project.coffee b/src/project.coffee index 5943e319a..d956f968b 100644 --- a/src/project.coffee +++ b/src/project.coffee @@ -15,15 +15,30 @@ Editor = require './editor' Task = require './task' Git = require './git' -# Public: Represents a project that's opened in Atom. +# Extended: Represents a project that's opened in Atom. # # An instance of this class is always available as the `atom.project` global. +# +# ## Events +# +# ### path-changed +# +# Extended: Emit when the project's path has changed. Use {::getPath} to get the new path +# +# ### buffer-created +# +# Extended: Emit when a buffer is created. For example, when {::open} is called, this is fired. +# +# * `buffer` {TextBuffer} the new buffer that was created. +# module.exports = class Project extends Model atom.deserializers.add(this) Serializable.includeInto(this) # Public: Find the local path for the given repository URL. + # + # * `repoUrl` {String} url to a git repository @pathForRepositoryUrl: (repoUrl) -> [repoName] = url.parse(repoUrl).path.split('/')[-1..] repoName = repoName.replace(/\.git$/, '') @@ -61,11 +76,13 @@ class Project extends Model # Public: Returns the {Git} repository if available. getRepo: -> @repo - # Public: Returns the project's fullpath. + # Public: Returns the project's {String} fullpath. getPath: -> @rootDirectory?.path # Public: Sets the project's fullpath. + # + # * `projectPath` {String} path setPath: (projectPath) -> @path = projectPath @rootDirectory?.off() @@ -90,7 +107,7 @@ class Project extends Model # the path is already absolute or if it is prefixed with a scheme, it is # returned unchanged. # - # uri - The {String} name of the path to convert. + # * `uri` The {String} name of the path to convert. # # Returns a {String} or undefined if the uri is not missing or empty. resolve: (uri) -> @@ -107,19 +124,23 @@ class Project extends Model undefined # Public: Make the given path relative to the project directory. + # + # * `fullPath` {String} full path relativize: (fullPath) -> return fullPath if fullPath?.match(/[A-Za-z0-9+-.]+:\/\//) # leave path alone if it has a scheme @rootDirectory?.relativize(fullPath) ? fullPath # Public: Returns whether the given path is inside this project. + # + # * `pathToCheck` {String} path contains: (pathToCheck) -> @rootDirectory?.contains(pathToCheck) ? false # Given a path to a file, this constructs and associates a new # {Editor}, showing the file. # - # filePath - The {String} path of the file to associate with. - # options - Options that you can pass to the {Editor} constructor. + # * `filePath` The {String} path of the file to associate with. + # * `options` Options that you can pass to the {Editor} constructor. # # Returns a promise that resolves to an {Editor}. open: (filePath, options={}) -> @@ -158,7 +179,7 @@ class Project extends Model # If the `filePath` already has a `buffer`, that value is used instead. Otherwise, # `text` is used as the contents of the new buffer. # - # filePath - A {String} representing a path. If `null`, an "Untitled" buffer is created. + # * `filePath` A {String} representing a path. If `null`, an "Untitled" buffer is created. # # Returns a promise that resolves to the {TextBuffer}. bufferForPath: (filePath) -> @@ -178,8 +199,8 @@ class Project extends Model # Given a file path, this sets its {TextBuffer}. # - # absoluteFilePath - A {String} representing a path. - # text - The {String} text to use as a buffer. + # * `absoluteFilePath` A {String} representing a path. + # * `text` The {String} text to use as a buffer. # # Returns a promise that resolves to the {TextBuffer}. buildBuffer: (absoluteFilePath) -> @@ -215,10 +236,10 @@ class Project extends Model # Public: Performs a search across all the files in the project. # - # regex - A {RegExp} to search with. - # options - An optional options {Object} (default: {}): - # :paths - An {Array} of glob patterns to search within - # iterator - A {Function} callback on each file found + # * `regex` {RegExp} to search with. + # * `options` (optional) {Object} (default: {}) + # * `paths` An {Array} of glob patterns to search within + # * `iterator` {Function} callback on each file found scan: (regex, options={}, iterator) -> if _.isFunction(options) iterator = options @@ -261,11 +282,11 @@ class Project extends Model # Public: Performs a replace across all the specified files in the project. # - # regex - A {RegExp} to search with. - # replacementText - Text to replace all matches of regex with - # filePaths - List of file path strings to run the replace on. - # iterator - A {Function} callback on each file with replacements: - # `({filePath, replacements}) ->`. + # * `regex` A {RegExp} to search with. + # * `replacementText` Text to replace all matches of regex with + # * `filePaths` List of file path strings to run the replace on. + # * `iterator` A {Function} callback on each file with replacements: + # * `options` {Object} with keys `filePath` and `replacements` replace: (regex, replacementText, filePaths, iterator) -> deferred = Q.defer() From de27dce6bf7728bc6a57a049f1560935f4cf2b88 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Fri, 22 Aug 2014 17:20:59 -0700 Subject: [PATCH 100/144] Convert SelectListView docs --- src/select-list-view.coffee | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/select-list-view.coffee b/src/select-list-view.coffee index 686b9e043..c2879ad1d 100644 --- a/src/select-list-view.coffee +++ b/src/select-list-view.coffee @@ -2,7 +2,7 @@ EditorView = require './editor-view' fuzzyFilter = require('fuzzaldrin').filter -# Public: Provides a view that renders a list of items with an editor that +# Essential: Provides a view that renders a list of items with an editor that # filters the items. Used by many packages such as the fuzzy-finder, # command-palette, symbols-view and autocomplete. # @@ -96,14 +96,14 @@ class SelectListView extends View # This should be model items not actual views. {::viewForItem} will be # called to render the item when it is being appended to the list view. # - # items - The {Array} of model items to display in the list (default: []). + # * `items` The {Array} of model items to display in the list (default: []). setItems: (@items=[]) -> @populateList() @setLoading() # Public: Set the error message to display. # - # message - The {String} error message (default: ''). + # * `message` The {String} error message (default: ''). setError: (message='') -> if message.length is 0 @error.text('').hide() @@ -113,7 +113,7 @@ class SelectListView extends View # Public: Set the loading message to display. # - # message - The {String} loading message (default: ''). + # * `message` The {String} loading message (default: ''). setLoading: (message='') -> if message.length is 0 @loading.text("") @@ -165,15 +165,15 @@ class SelectListView extends View # # Subclasses may override this method to customize the message. # - # itemCount - The {Number} of items in the array specified to {::setItems} - # filteredItemCount - The {Number} of items that pass the fuzzy filter test. + # * `itemCount` The {Number} of items in the array specified to {::setItems} + # * `filteredItemCount` The {Number} of items that pass the fuzzy filter test. # # Returns a {String} message (default: 'No matches found'). getEmptyMessage: (itemCount, filteredItemCount) -> 'No matches found' # Public: Set the maximum numbers of items to display in the list. # - # maxItems - The maximum {Number} of items to display. + # * `maxItems` The maximum {Number} of items to display. setMaxItems: (@maxItems) -> selectPreviousItemView: -> @@ -224,8 +224,8 @@ class SelectListView extends View # # This is called when the item is about to appended to the list view. # - # item - The model item being rendered. This will always be one of the items - # previously passed to {::setItems}. + # * `item` The model item being rendered. This will always be one of the items + # previously passed to {::setItems}. # # Returns a String of HTML, DOM element, jQuery object, or View. viewForItem: (item) -> @@ -235,8 +235,8 @@ class SelectListView extends View # # This method must be overridden by subclasses. # - # item - The selected model item. This will always be one of the items - # previously passed to {::setItems}. + # * `item` The selected model item. This will always be one of the items + # previously passed to {::setItems}. # # Returns a DOM element, jQuery object, or {View}. confirmed: (item) -> From 66e6a481a4812a6db64a50eb4ac4d80d185d2341 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Fri, 22 Aug 2014 17:30:14 -0700 Subject: [PATCH 101/144] :memo: Convert ThemeManager docs --- src/theme-manager.coffee | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/src/theme-manager.coffee b/src/theme-manager.coffee index 542227187..fa254f31f 100644 --- a/src/theme-manager.coffee +++ b/src/theme-manager.coffee @@ -9,9 +9,32 @@ Q = require 'q' Package = require './package' {File} = require 'pathwatcher' -# Public: Handles loading and activating available themes. +# Extended: Handles loading and activating available themes. # # An instance of this class is always available as the `atom.themes` global. +# +# ## Events +# +# ### reloaded +# +# Extended: Emit when all styles have been reloaded. +# +# ### stylesheet-added +# +# Extended: Emit when a stylesheet has been added. +# +# * `stylesheet` {StyleSheet} object that was removed +# +# ### stylesheet-removed +# +# Extended: Emit when a stylesheet has been removed. +# +# * `stylesheet` {StyleSheet} object that was removed +# +# ### stylesheets-changed +# +# Extended: Emit anytime any style sheet is added or removed from the editor +# module.exports = class ThemeManager Emitter.includeInto(this) @@ -98,7 +121,7 @@ class ThemeManager @refreshLessCache() # Update cache again now that @getActiveThemes() is populated @loadUserStylesheet() @reloadBaseStylesheets() - @emit('reloaded') + @emit 'reloaded' deferred.resolve() deferred.promise @@ -124,7 +147,7 @@ class ThemeManager # Public: Set the list of enabled themes. # - # enabledThemeNames - An {Array} of {String} theme names. + # * `enabledThemeNames` An {Array} of {String} theme names. setEnabledThemes: (enabledThemeNames) -> atom.config.set('core.themes', enabledThemeNames) @@ -187,9 +210,8 @@ class ThemeManager # # This supports both CSS and LESS stylsheets. # - # stylesheetPath - A {String} path to the stylesheet that can be an absolute - # path or a relative path that will be resolved against the - # load path. + # * `stylesheetPath` A {String} path to the stylesheet that can be an absolute + # path or a relative path that will be resolved against the load path. # # Returns the absolute path to the required stylesheet. requireStylesheet: (stylesheetPath, type = 'bundled', htmlElement) -> From 12f58f047854fb1ae7a137f7226c5b5457de865c Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Fri, 22 Aug 2014 17:40:01 -0700 Subject: [PATCH 102/144] :memo: Convert workspace docs --- src/workspace.coffee | 80 ++++++++++++++++++++++++++------------------ 1 file changed, 48 insertions(+), 32 deletions(-) diff --git a/src/workspace.coffee b/src/workspace.coffee index 6ee8a4600..85870ef1b 100644 --- a/src/workspace.coffee +++ b/src/workspace.coffee @@ -15,6 +15,20 @@ Pane = require './pane' # Interact with this object to open files, be notified of current and future # editors, and manipulate panes. To add panels, you'll need to use the # {WorkspaceView} class for now until we establish APIs at the model layer. +# +# ## Events +# +# ### uri-opened +# +# Extended: Emit when something has been opened. This can be anything, from an +# editor to the settings view. You can get the new item via {::getActivePaneItem} +# +# ### editor-created +# +# Extended: Emit when an editor is created (a file opened). +# +# * `editor` {Editor} the new editor +# module.exports = class Workspace extends Model atom.deserializers.add(this) @@ -78,7 +92,7 @@ class Workspace extends Model # Public: Register a function to be called for every current and future # {Editor} in the workspace. # - # callback - A {Function} with an {Editor} as its only argument. + # * `callback` A {Function} with an {Editor} as its only argument. # # Returns a subscription object with an `.off` method that you can call to # unregister the callback. @@ -98,22 +112,21 @@ class Workspace extends Model # Public: Open a given a URI in Atom asynchronously. # - # uri - A {String} containing a URI. - # options - An optional options {Object} - # :initialLine - A {Number} indicating which row to move the cursor to - # initially. Defaults to `0`. - # :initialColumn - A {Number} indicating which column to move the cursor to - # initially. Defaults to `0`. - # :split - Either 'left' or 'right'. If 'left', the item will be opened in - # leftmost pane of the current active pane's row. If 'right', the - # item will be opened in the rightmost pane of the current active - # pane's row. - # :activatePane - A {Boolean} indicating whether to call {Pane::activate} on - # the containing pane. Defaults to `true`. - # :searchAllPanes - A {Boolean}. If `true`, the workspace will attempt to - # activate an existing item for the given URI on any pane. - # If `false`, only the active pane will be searched for - # an existing item for the same URI. Defaults to `false`. + # * `uri` A {String} containing a URI. + # * `options` (optional) {Object} + # * `initialLine` A {Number} indicating which row to move the cursor to + # initially. Defaults to `0`. + # * `initialColumn` A {Number} indicating which column to move the cursor to + # initially. Defaults to `0`. + # * `split` Either 'left' or 'right'. If 'left', the item will be opened in + # leftmost pane of the current active pane's row. If 'right', the + # item will be opened in the rightmost pane of the current active pane's row. + # * `activatePane` A {Boolean} indicating whether to call {Pane::activate} on + # containing pane. Defaults to `true`. + # * `searchAllPanes` A {Boolean}. If `true`, the workspace will attempt to + # activate an existing item for the given URI on any pane. + # If `false`, only the active pane will be searched for + # an existing item for the same URI. Defaults to `false`. # # Returns a promise that resolves to the {Editor} for the file URI. open: (uri, options={}) -> @@ -132,7 +145,7 @@ class Workspace extends Model @openUriInPane(uri, pane, options) - # Public: Open Atom's license in the active pane. + # Open Atom's license in the active pane. openLicense: -> @open(join(atom.getLoadSettings().resourcePath, 'LICENSE.md')) @@ -140,14 +153,14 @@ class Workspace extends Model # in specs. Calling this in production code will block the UI thread and # everyone will be mad at you.** # - # uri - A {String} containing a URI. - # options - An optional options {Object} - # :initialLine - A {Number} indicating which row to move the cursor to - # initially. Defaults to `0`. - # :initialColumn - A {Number} indicating which column to move the cursor to - # initially. Defaults to `0`. - # :activatePane - A {Boolean} indicating whether to call {Pane::activate} on - # the containing pane. Defaults to `true`. + # * `uri` A {String} containing a URI. + # * `options` An optional options {Object} + # * `initialLine` A {Number} indicating which row to move the cursor to + # initially. Defaults to `0`. + # * `initialColumn` A {Number} indicating which column to move the cursor to + # initially. Defaults to `0`. + # * `activatePane` A {Boolean} indicating whether to call {Pane::activate} on + # the containing pane. Defaults to `true`. openSync: (uri='', options={}) -> deprecate("Don't use the `changeFocus` option") if options.changeFocus? @@ -207,14 +220,15 @@ class Workspace extends Model # # An {Editor} will be used if no openers return a value. # - # ## Example - # ```coffeescript - # atom.project.registerOpener (uri) -> - # if path.extname(uri) is '.toml' - # return new TomlEditor(uri) + # ## Examples + # + # ```coffee + # atom.project.registerOpener (uri) -> + # if path.extname(uri) is '.toml' + # return new TomlEditor(uri) # ``` # - # opener - A {Function} to be called when a path is being opened. + # * `opener` A {Function} to be called when a path is being opened. registerOpener: (opener) -> @openers.push(opener) @@ -251,6 +265,8 @@ class Workspace extends Model # Public: Get the first pane {Pane} with an item for the given URI. # + # * `uri` {String} uri + # # Returns a {Pane} or `undefined` if no pane exists for the given URI. paneForUri: (uri) -> @paneContainer.paneForUri(uri) From c3acd8cf0ced1f1c612fa11511f76e46e377192b Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Fri, 22 Aug 2014 17:44:04 -0700 Subject: [PATCH 103/144] :memo: Convert workspaceView docs --- src/workspace-view.coffee | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/src/workspace-view.coffee b/src/workspace-view.coffee index 3703d04b0..9da0d7b90 100644 --- a/src/workspace-view.coffee +++ b/src/workspace-view.coffee @@ -15,7 +15,7 @@ PaneRowView = require './pane-row-view' PaneContainerView = require './pane-container-view' Editor = require './editor' -# Public: The top-level view for the entire window. An instance of this class is +# Essential: The top-level view for the entire window. An instance of this class is # available via the `atom.workspaceView` global. # # It is backed by a model object, an instance of {Workspace}, which is available @@ -44,7 +44,7 @@ Editor = require './editor' # the built-in `atom` module. # # ```coffee -# {WorkspaceView} = require 'atom' +# {WorkspaceView} = require 'atom' # ``` # # You can assign it to the `atom.workspaceView` global in the spec or just use @@ -244,40 +244,56 @@ class WorkspaceView extends View # Public: Prepend an element or view to the panels at the top of the # workspace. + # + # * `element` jQuery object or DOM element prependToTop: (element) -> @vertical.prepend(element) # Public: Append an element or view to the panels at the top of the workspace. + # + # * `element` jQuery object or DOM element appendToTop: (element) -> @panes.before(element) # Public: Prepend an element or view to the panels at the bottom of the # workspace. + # + # * `element` jQuery object or DOM element prependToBottom: (element) -> @panes.after(element) # Public: Append an element or view to the panels at the bottom of the # workspace. + # + # * `element` jQuery object or DOM element appendToBottom: (element) -> @vertical.append(element) # Public: Prepend an element or view to the panels at the left of the # workspace. + # + # * `element` jQuery object or DOM element prependToLeft: (element) -> @horizontal.prepend(element) # Public: Append an element or view to the panels at the left of the # workspace. + # + # * `element` jQuery object or DOM element appendToLeft: (element) -> @vertical.before(element) # Public: Prepend an element or view to the panels at the right of the # workspace. + # + # * `element` jQuery object or DOM element prependToRight: (element) -> @vertical.after(element) # Public: Append an element or view to the panels at the right of the # workspace. + # + # * `element` jQuery object or DOM element appendToRight: (element) -> @horizontal.append(element) @@ -317,7 +333,8 @@ class WorkspaceView extends View # Public: Register a function to be called for every current and future # pane view in the workspace. # - # callback - A {Function} with a {PaneView} as its only argument. + # * `callback` A {Function} with a {PaneView} as its only argument. + # * `paneView` {PaneView} # # Returns a subscription object with an `.off` method that you can call to # unregister the callback. @@ -338,7 +355,8 @@ class WorkspaceView extends View # editor view in the workspace (only includes {EditorView}s that are pane # items). # - # callback - A {Function} with an {EditorView} as its only argument. + # * `callback` A {Function} with an {EditorView} as its only argument. + # * `editorView` {EditorView} # # Returns a subscription object with an `.off` method that you can call to # unregister the callback. From d6d7d3942ce532ff4a9b8f3a5d3c75aa987a33c1 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Mon, 25 Aug 2014 15:26:38 -0700 Subject: [PATCH 104/144] :memo: Convert EditorView docs --- src/editor-view.coffee | 51 +++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/src/editor-view.coffee b/src/editor-view.coffee index c9a5961a1..7cec97a78 100644 --- a/src/editor-view.coffee +++ b/src/editor-view.coffee @@ -10,7 +10,9 @@ EditorComponent = require './editor-component' # # The EditorView manages the {Editor}, which manages the file buffers. # -# ## Requiring in packages +# ## Examples +# +# Requiring in packages # # ```coffee # {EditorView} = require 'atom' @@ -18,14 +20,14 @@ EditorComponent = require './editor-component' # miniEditorView = new EditorView(mini: true) # ``` # -# ## Iterating over the open editor views +# Iterating over the open editor views # # ```coffee # for editorView in atom.workspaceView.getEditorViews() # console.log(editorView.getModel().getPath()) # ``` # -# ## Subscribing to every current and future editor +# Subscribing to every current and future editor # # ```coffee # atom.workspace.eachEditorView (editorView) -> @@ -67,7 +69,7 @@ class EditorView extends View # The constructor for setting up an `EditorView` instance. # - # editorOrParams - Either an {Editor}, or an object with one property, `mini`. + # * `editorOrParams` Either an {Editor}, or an object with one property, `mini`. # If `mini` is `true`, a "miniature" `Editor` is constructed. # Typically, this is ideal for scenarios where you need an Atom editor, # but without all the chrome, like scrollbars, gutter, _e.t.c._. @@ -125,7 +127,7 @@ class EditorView extends View # Public: Get the underlying editor model for this view. # - # Returns an {Editor}. + # Returns an {Editor} getModel: -> @editor getEditor: -> @editor @@ -173,17 +175,17 @@ class EditorView extends View # Public: Scrolls the editor to the given screen position. # - # screenPosition - An object that represents a buffer position. It can be either - # an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point} - # options - A hash matching the options available to {::scrollToScreenPosition} + # * `screenPosition` An object that represents a buffer position. It can be either + # an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point} + # * `options` (optional) {Object} matching the options available to {::scrollToScreenPosition} scrollToScreenPosition: (screenPosition, options) -> @editor.scrollToScreenPosition(screenPosition, options) # Public: Scrolls the editor to the given buffer position. # - # bufferPosition - An object that represents a buffer position. It can be either - # an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point} - # options - A hash matching the options available to {::scrollToBufferPosition} + # * `bufferPosition` An object that represents a buffer position. It can be either + # an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point} + # * `options` (optional) {Object} matching the options available to {::scrollToBufferPosition} scrollToBufferPosition: (bufferPosition, options) -> @editor.scrollToBufferPosition(bufferPosition, options) @@ -192,17 +194,17 @@ class EditorView extends View # Public: Converts a buffer position to a pixel position. # - # position - An object that represents a buffer position. It can be either - # an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point} + # * `bufferPosition` An object that represents a buffer position. It can be either + # an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point} # - # Returns an object with two values: `top` and `left`, representing the pixel positions. + # Returns an {Object} with two values: `top` and `left`, representing the pixel positions. pixelPositionForBufferPosition: (bufferPosition) -> @editor.pixelPositionForBufferPosition(bufferPosition) # Public: Converts a screen position to a pixel position. # - # position - An object that represents a screen position. It can be either - # an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point} + # * `screenPosition` An object that represents a screen position. It can be either + # an {Object} (`{row, column}`), {Array} (`[row, column]`), or {Point} # # Returns an object with two values: `top` and `left`, representing the pixel positions. pixelPositionForScreenPosition: (screenPosition) -> @@ -290,7 +292,7 @@ class EditorView extends View # Public: Sets the font family for the editor. # - # fontFamily - A {String} identifying the CSS `font-family`. + # * `fontFamily` A {String} identifying the CSS `font-family`. setFontFamily: (fontFamily) -> @component?.setFontFamily(fontFamily) @@ -302,7 +304,7 @@ class EditorView extends View # Public: Sets the font size for the editor. # - # fontSize - A {Number} indicating the font size in pixels. + # * `fontSize` A {Number} indicating the font size in pixels. setFontSize: (fontSize) -> @component?.setFontSize(fontSize) @@ -313,27 +315,26 @@ class EditorView extends View # # Calling this method has no effect when called on a mini editor. # - # lineHeight - A {Number} without a unit suffix identifying the CSS - # `line-height`. + # * `lineHeight` A {Number} without a unit suffix identifying the CSS `line-height`. setLineHeight: (lineHeight) -> @component.setLineHeight(lineHeight) # Public: Sets whether you want to show the indentation guides. # - # showIndentGuide - A {Boolean} you can set to `true` if you want to see the - # indentation guides. + # * `showIndentGuide` A {Boolean} you can set to `true` if you want to see the + # indentation guides. setShowIndentGuide: (showIndentGuide) -> @component.setShowIndentGuide(showIndentGuide) # Public: Enables/disables soft wrap on the editor. # - # softWrap - A {Boolean} which, if `true`, enables soft wrap + # * `softWrap` A {Boolean} which, if `true`, enables soft wrap setSoftWrap: (softWrap) -> @editor.setSoftWrap(softWrap) # Public: Set whether invisible characters are shown. # - # showInvisibles - A {Boolean} which, if `true`, show invisible characters. + # * `showInvisibles` A {Boolean} which, if `true`, show invisible characters. setShowInvisibles: (showInvisibles) -> @component.setShowInvisibles(showInvisibles) @@ -368,7 +369,7 @@ class EditorView extends View # # This only affects mini editors. # - # placeholderText - A {String} of text to display when empty. + # * `placeholderText` A {String} of text to display when empty. setPlaceholderText: (placeholderText) -> if @component? @component.setProps({placeholderText}) From 69aa34954fe06a64eff0e6ca20746434a1169e8f Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 25 Aug 2014 15:31:39 -0700 Subject: [PATCH 105/144] Remove call to no-op EditorView method --- src/select-list-view.coffee | 1 - 1 file changed, 1 deletion(-) diff --git a/src/select-list-view.coffee b/src/select-list-view.coffee index 686b9e043..adb924f56 100644 --- a/src/select-list-view.coffee +++ b/src/select-list-view.coffee @@ -272,7 +272,6 @@ class SelectListView extends View cancelled: -> @filterEditorView.getEditor().setText('') - @filterEditorView.updateDisplay() # Public: Cancel and close this select list view. # From 08f39c6a5a6615c0220785e291c37135798f2167 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 25 Aug 2014 15:35:47 -0700 Subject: [PATCH 106/144] Upgrade to atom-keymap@2.0.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d742bc640..1f1ae6dad 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "atomShellVersion": "0.15.9", "dependencies": { "async": "0.2.6", - "atom-keymap": "^2.0.3", + "atom-keymap": "^2.0.4", "bootstrap": "git+https://github.com/atom/bootstrap.git#6af81906189f1747fd6c93479e3d998ebe041372", "clear-cut": "0.4.0", "coffee-script": "1.7.0", From c4f5a3516b68f963b421b9e59292e754cb269195 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Mon, 25 Aug 2014 16:36:03 -0600 Subject: [PATCH 107/144] Assign atom.lastUncaughtError in window.onerror handler --- src/atom.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/atom.coffee b/src/atom.coffee index 4c2da7f8a..f0ec386d4 100644 --- a/src/atom.coffee +++ b/src/atom.coffee @@ -111,6 +111,7 @@ class Atom extends Model remote.getCurrentWindow() workspaceViewParentSelector: 'body' + lastUncaughtError: null # Call .loadOrCreate instead constructor: (@state) -> @@ -125,6 +126,7 @@ class Atom extends Model window.onerror = => @openDevTools() @executeJavaScriptInDevTools('InspectorFrontendAPI.showConsole()') + @lastUncaughtError = Array::slice.call(arguments) @emit 'uncaught-error', arguments... @unsubscribe() From 0849f1ea844dc53a6571c76925c204a55b169732 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Mon, 25 Aug 2014 17:29:53 -0600 Subject: [PATCH 108/144] Perform a sync update after editor becomes visible This pauses updates during measurements. If any updates were requested while measuring, we force an update synchronously to prevent flicker. This commit also removes the visibility check before updating, because we can't force an update from this spot in the lifecycle. This shouldn't be needed anyway because we are polling for visibility changes. --- src/editor-component.coffee | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/editor-component.coffee b/src/editor-component.coffee index 64c7f5951..ff146ba8c 100644 --- a/src/editor-component.coffee +++ b/src/editor-component.coffee @@ -191,11 +191,6 @@ EditorComponent = React.createClass componentWillReceiveProps: (newProps) -> @props.editor.setMini(newProps.mini) - componentWillUpdate: -> - @updatesPaused = true - @checkForVisibilityChange() - @updatesPaused = false - componentDidUpdate: (prevProps, prevState) -> cursorsMoved = @cursorsMoved selectionChanged = @selectionChanged @@ -211,6 +206,7 @@ EditorComponent = React.createClass @props.parentView.trigger 'editor:display-updated' becameVisible: -> + @updatesPaused = true @sampleFontStyling() @sampleBackgroundColors() @measureHeightAndWidth() @@ -219,6 +215,8 @@ EditorComponent = React.createClass @remeasureCharacterWidths() if @remeasureCharacterWidthsWhenShown @props.editor.setVisible(true) @performedInitialMeasurement = true + @updatesPaused = false + @forceUpdate() if @updateRequestedWhilePaused requestUpdate: -> return unless @isMounted() From 157a753bfb10ede9b1c3683815af078d20964200 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 25 Aug 2014 16:36:53 -0700 Subject: [PATCH 109/144] Upgrade to space-pen 3.4.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1f1ae6dad..dd88554a1 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "season": "^1.0.2", "semver": "1.1.4", "serializable": "^1", - "space-pen": "3.4.2", + "space-pen": "3.4.3", "temp": "0.7.0", "text-buffer": "^3.0.2", "theorist": "^1.0.2", From 070ca1a4bb9e9a6e95f82999245040c5c5bd5605 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Mon, 25 Aug 2014 18:02:39 -0600 Subject: [PATCH 110/144] Call checkForVisibilityChange when showing editors via EditorView::show/hide --- src/editor-view.coffee | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/src/editor-view.coffee b/src/editor-view.coffee index c9a5961a1..a5a46fa52 100644 --- a/src/editor-view.coffee +++ b/src/editor-view.coffee @@ -245,20 +245,13 @@ class EditorView extends View getPane: -> @parent('.item-views').parents('.pane').view() - hide: -> - super - @pollComponentDOM() - show: -> super - @pollComponentDOM() + @component?.checkForVisibilityChange() - pollComponentDOM: -> - return unless @component? - valueToRestore = @component.performSyncUpdates - @component.performSyncUpdates = true - @component.pollDOM() - @component.performSyncUpdates = valueToRestore + hide: -> + super + @component?.checkForVisibilityChange() pageDown: -> deprecate('Use editorView.getModel().pageDown()') From 3371ceadf377c49ce51bfae81011c24094dbbe72 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Mon, 25 Aug 2014 18:03:32 -0600 Subject: [PATCH 111/144] Add regression coverage for remeasuring characters w/ requested update The problem here is that the lines in the editor no longer reflect the lines on screen, but we're looking for line nodes corresponding to the editor's current contents. --- spec/editor-component-spec.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/editor-component-spec.coffee b/spec/editor-component-spec.coffee index dba6d3a17..d80396d23 100644 --- a/spec/editor-component-spec.coffee +++ b/spec/editor-component-spec.coffee @@ -1953,6 +1953,7 @@ describe "EditorComponent", -> wrapperView.hide() component.setFontSize(22) + editor.getBuffer().insert([0, 0], 'a') # regression test against atom/atom#3318 wrapperView.show() editor.setCursorBufferPosition([0, Infinity]) From 2a94e4a33c4c07f4d7f22c61b6a509f7b62534f8 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Mon, 25 Aug 2014 18:14:21 -0600 Subject: [PATCH 112/144] Pass tokenizedLines to LinesComponent so measuring stays in sync Fixes #3318 --- src/editor-component.coffee | 4 +++- src/lines-component.coffee | 19 +++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/editor-component.coffee b/src/editor-component.coffee index ff146ba8c..b14a169b8 100644 --- a/src/editor-component.coffee +++ b/src/editor-component.coffee @@ -59,6 +59,8 @@ EditorComponent = React.createClass [renderedStartRow, renderedEndRow] = renderedRowRange cursorPixelRects = @getCursorPixelRects(renderedRowRange) + tokenizedLines = editor.linesForScreenRows(renderedStartRow, renderedEndRow - 1) + decorations = editor.decorationsForScreenRowRange(renderedStartRow, renderedEndRow) highlightDecorations = @getHighlightDecorations(decorations) lineDecorations = @getLineDecorations(decorations) @@ -107,7 +109,7 @@ EditorComponent = React.createClass LinesComponent { ref: 'lines', - editor, lineHeightInPixels, defaultCharWidth, lineDecorations, highlightDecorations, + editor, lineHeightInPixels, defaultCharWidth, tokenizedLines, lineDecorations, highlightDecorations, showIndentGuide, renderedRowRange, @pendingChanges, scrollTop, scrollLeft, @scrollingVertically, scrollHeight, scrollWidth, mouseWheelScreenRow, visible, scrollViewHeight, @scopedCharacterWidthsChangeCount, lineWidth, @useHardwareAcceleration, diff --git a/src/lines-component.coffee b/src/lines-component.coffee index e960be282..8ccc6dcdd 100644 --- a/src/lines-component.coffee +++ b/src/lines-component.coffee @@ -91,12 +91,11 @@ LinesComponent = React.createClass @lineIdsByScreenRow = {} updateLines: (updateWidth) -> - {editor, renderedRowRange, showIndentGuide, selectionChanged, lineDecorations} = @props - [startRow, endRow] = renderedRowRange + {tokenizedLines, renderedRowRange, showIndentGuide, selectionChanged, lineDecorations} = @props + [startRow] = renderedRowRange - visibleLines = editor.linesForScreenRows(startRow, endRow - 1) - @removeLineNodes(visibleLines) - @appendOrUpdateVisibleLineNodes(visibleLines, startRow, updateWidth) + @removeLineNodes(tokenizedLines) + @appendOrUpdateVisibleLineNodes(tokenizedLines, startRow, updateWidth) removeLineNodes: (visibleLines=[]) -> {mouseWheelScreenRow} = @props @@ -147,7 +146,7 @@ LinesComponent = React.createClass @lineNodesByLineId.hasOwnProperty(lineId) buildLineHTML: (line, screenRow) -> - {editor, mini, showIndentGuide, lineHeightInPixels, lineDecorations, lineWidth} = @props + {mini, showIndentGuide, lineHeightInPixels, lineDecorations, lineWidth} = @props {tokens, text, lineEnding, fold, isSoftWrapped, indentLevel} = line classes = '' @@ -244,7 +243,7 @@ LinesComponent = React.createClass "" updateLineNode: (line, screenRow, updateWidth) -> - {editor, lineHeightInPixels, lineDecorations, lineWidth} = @props + {lineHeightInPixels, lineDecorations, lineWidth} = @props lineNode = @lineNodesByLineId[line.id] decorations = lineDecorations[screenRow] @@ -292,12 +291,12 @@ LinesComponent = React.createClass @measureCharactersInNewLines() measureCharactersInNewLines: -> - {editor, renderedRowRange} = @props - [visibleStartRow, visibleEndRow] = renderedRowRange + {editor, tokenizedLines, renderedRowRange} = @props + [visibleStartRow] = renderedRowRange node = @getDOMNode() editor.batchCharacterMeasurement => - for tokenizedLine in editor.linesForScreenRows(visibleStartRow, visibleEndRow - 1) + for tokenizedLine in tokenizedLines unless @measuredLines.has(tokenizedLine) lineNode = @lineNodesByLineId[tokenizedLine.id] @measureCharactersInLine(tokenizedLine, lineNode) From dccb2c295c6a056828ee5d5975de7581398da575 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Mon, 25 Aug 2014 18:48:03 -0600 Subject: [PATCH 113/144] Update status bar to fix specs --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3bd2383d9..1a5747782 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,7 @@ "settings-view": "0.140.0", "snippets": "0.51.0", "spell-check": "0.42.0", - "status-bar": "0.43.0", + "status-bar": "0.44.0", "styleguide": "0.30.0", "symbols-view": "0.63.0", "tabs": "0.49.0", From d8a4280df1bcd8eb3317d6db422585c24997a1b1 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Mon, 25 Aug 2014 19:05:19 -0700 Subject: [PATCH 114/144] Upgrade text-buffer for updated doc strings --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dd88554a1..f2174a560 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "serializable": "^1", "space-pen": "3.4.3", "temp": "0.7.0", - "text-buffer": "^3.0.2", + "text-buffer": "^3.0.3", "theorist": "^1.0.2", "underscore-plus": "^1.5.1", "vm-compatibility-layer": "0.1.0" From 0bae432109a264f71884511e9c38a8e5ca409561 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Tue, 26 Aug 2014 09:24:44 -0600 Subject: [PATCH 115/144] Revert "Merge the react and non-react editor styles" This reverts commit 01c4fe53403978f077d7b43bff8fb2cfec65fd17. --- static/editor.less | 84 ++++++++++++++++++++++++++++++++-------------- 1 file changed, 59 insertions(+), 25 deletions(-) diff --git a/static/editor.less b/static/editor.less index e3d4d9743..1bd877f1a 100644 --- a/static/editor.less +++ b/static/editor.less @@ -2,18 +2,7 @@ @import "octicon-utf-codes"; @import "octicon-mixins"; -.editor, .editor-contents { - overflow: hidden; - cursor: text; - display: -webkit-flex; - -webkit-user-select: none; - position: relative; -} - -.editor { - font-family: Inconsolata, Monaco, Consolas, 'Courier New', Courier; - line-height: 1.3; - +.editor.react { .editor-contents { width: 100%; } @@ -82,19 +71,9 @@ } .gutter { - overflow: hidden; - text-align: right; - cursor: default; - min-width: 1em; - box-sizing: border-box; - - .line-numbers { - position: relative; - } .line-number { white-space: nowrap; padding-left: .5em; - opacity: 0.6; .icon-right { padding: 0 .4em; @@ -103,9 +82,6 @@ } } } - .line-number.cursor-line { - opacity: 1; - } } } @@ -120,6 +96,45 @@ } } +.editor { + z-index: 0; + font-family: Inconsolata, Monaco, Consolas, 'Courier New', Courier; + line-height: 1.3; +} + +.editor, .editor-contents { + overflow: hidden; + cursor: text; + display: -webkit-flex; + -webkit-user-select: none; + position: relative; +} + +.editor .gutter .line-number.cursor-line { + opacity: 1; +} + +.editor .gutter { + overflow: hidden; + text-align: right; + cursor: default; + min-width: 1em; + box-sizing: border-box; +} + +.editor .gutter .line-number { + padding-left: .5em; + opacity: 0.6; +} + +.editor .gutter .line-numbers { + position: relative; +} + +.editor .gutter .line-number.folded.cursor-line { + opacity: 1; +} + .editor .gutter .line-number .icon-right { .octicon(chevron-down, 0.8em); display: inline-block; @@ -274,3 +289,22 @@ pointer-events: none; z-index: -1; } + +.editor.mini:not(.react) { + height: auto; + line-height: 25px; + + .cursor { + width: 2px; + line-height: 20px; + margin-top: 2px; + } + + .gutter { + display: none; + } + + .scroll-view { + overflow: hidden; + } +} From 32353a31ebdca2d5df2c366c88fd1d092ede71a2 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 26 Aug 2014 09:55:22 -0700 Subject: [PATCH 116/144] Only restore window when it is minimized Restoring a maximized windows on Windows unmaximizes it. Closes #3381 --- src/browser/atom-application.coffee | 2 +- src/browser/atom-window.coffee | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/browser/atom-application.coffee b/src/browser/atom-application.coffee index 69ac398ab..673d9ec40 100644 --- a/src/browser/atom-application.coffee +++ b/src/browser/atom-application.coffee @@ -345,7 +345,7 @@ class AtomApplication if existingWindow? openedWindow = existingWindow openedWindow.openPath(pathToOpen, initialLine) - openedWindow.restore() + openedWindow.restore() if openedWindow.isMinimized() else if devMode try diff --git a/src/browser/atom-window.coffee b/src/browser/atom-window.coffee index 4958dd782..1022f6f76 100644 --- a/src/browser/atom-window.coffee +++ b/src/browser/atom-window.coffee @@ -173,6 +173,8 @@ class AtomWindow isFocused: -> @browserWindow.isFocused() + isMinimized: -> @browserWindow.isMinimized() + isWebViewFocused: -> @browserWindow.isWebViewFocused() isSpecWindow: -> @isSpec From 790f134d7cb216818cb10b6ea2be7ecf5e668f77 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Tue, 26 Aug 2014 10:07:18 -0700 Subject: [PATCH 117/144] Remove ancillary old editor views --- src/cursor-view.coffee | 113 ---------------- src/gutter-view.coffee | 275 -------------------------------------- src/selection-view.coffee | 85 ------------ 3 files changed, 473 deletions(-) delete mode 100644 src/cursor-view.coffee delete mode 100644 src/gutter-view.coffee delete mode 100644 src/selection-view.coffee diff --git a/src/cursor-view.coffee b/src/cursor-view.coffee deleted file mode 100644 index a3d67264b..000000000 --- a/src/cursor-view.coffee +++ /dev/null @@ -1,113 +0,0 @@ -{View} = require './space-pen-extensions' -_ = require 'underscore-plus' - -module.exports = -class CursorView extends View - @content: -> - @div class: 'cursor idle', => @raw ' ' - - @blinkPeriod: 800 - - @blinkCursors: -> - element.classList.toggle('blink-off') for [element] in @cursorViews - - @startBlinking: (cursorView) -> - @cursorViews ?= [] - @cursorViews.push(cursorView) - if @cursorViews.length is 1 - @blinkInterval = setInterval(@blinkCursors.bind(this), @blinkPeriod / 2) - - @stopBlinking: (cursorView) -> - cursorView[0].classList.remove('blink-off') - _.remove(@cursorViews, cursorView) - clearInterval(@blinkInterval) if @cursorViews.length is 0 - - blinking: false - visible: true - needsUpdate: true - needsRemoval: false - shouldPauseBlinking: false - - initialize: (@cursor, @editorView) -> - @subscribe @cursor, 'moved', => - @needsUpdate = true - @shouldPauseBlinking = true - - @subscribe @cursor, 'visibility-changed', => - @needsUpdate = true - - @subscribe @cursor, 'autoscrolled', => - @editorView.requestDisplayUpdate() - - @subscribe @cursor, 'destroyed', => - @needsRemoval = true - - beforeRemove: -> - @editorView.removeCursorView(this) - @stopBlinking() - - updateDisplay: -> - screenPosition = @getScreenPosition() - pixelPosition = @getPixelPosition() - - unless _.isEqual(@lastPixelPosition, pixelPosition) - @lastPixelPosition = pixelPosition - @css(pixelPosition) - @trigger 'cursor:moved' - - if @shouldPauseBlinking - @resetBlinking() - else if !@startBlinkingTimeout - @startBlinking() - - @setVisible(@cursor.isVisible() and not @editorView.getEditor().isFoldedAtScreenRow(screenPosition.row)) - - # Override for speed. The base function checks the computedStyle - isHidden: -> - this[0].style.display is 'none' or not @isOnDom() - - needsAutoscroll: -> - @cursor.needsAutoscroll - - clearAutoscroll: -> - @cursor.clearAutoscroll() - - getPixelPosition: -> - @editorView.pixelPositionForScreenPosition(@getScreenPosition()) - - setVisible: (visible) -> - unless @visible is visible - @visible = visible - hiddenCursor = 'hidden-cursor' - if visible - @removeClass hiddenCursor - else - @addClass hiddenCursor - - stopBlinking: -> - @constructor.stopBlinking(this) if @blinking - @blinking = false - - startBlinking: -> - @constructor.startBlinking(this) unless @blinking - @blinking = true - - resetBlinking: -> - @stopBlinking() - @startBlinking() - - getBufferPosition: -> - @cursor.getBufferPosition() - - getScreenPosition: -> - @cursor.getScreenPosition() - - removeIdleClassTemporarily: -> - @removeClass 'idle' - window.clearTimeout(@idleTimeout) if @idleTimeout - @idleTimeout = window.setTimeout (=> @addClass 'idle'), 200 - - resetCursorAnimation: -> - window.clearTimeout(@idleTimeout) if @idleTimeout - @removeClass 'idle' - _.defer => @addClass 'idle' diff --git a/src/gutter-view.coffee b/src/gutter-view.coffee deleted file mode 100644 index 088d3740f..000000000 --- a/src/gutter-view.coffee +++ /dev/null @@ -1,275 +0,0 @@ -{View, $, $$, $$$} = require './space-pen-extensions' -{Range} = require 'text-buffer' -_ = require 'underscore-plus' - -# Represents the portion of the {EditorView} containing row numbers. -# -# The gutter also indicates if rows are folded. -module.exports = -class GutterView extends View - @content: -> - @div class: 'gutter', => - @div outlet: 'lineNumbers', class: 'line-numbers' - - firstScreenRow: null - lastScreenRow: null - - initialize: -> - @elementBuilder = document.createElement('div') - - afterAttach: (onDom) -> - return if @attached or not onDom - @attached = true - - highlightLines = => @highlightLines() - @getEditorView().on 'cursor:moved', highlightLines - @getEditorView().on 'selection:changed', highlightLines - @on 'mousedown', (e) => @handleMouseEvents(e) - - beforeRemove: -> - $(document).off(".gutter-#{@getEditorView().id}") - - handleMouseEvents: (e) -> - editorView = @getEditorView() - editor = @getEditor() - startRow = editorView.screenPositionFromMouseEvent(e).row - if e.shiftKey - editor.selectToScreenPosition([startRow + 1, 0]) - return - else - editor.getSelection().setScreenRange([[startRow, 0], [startRow, 0]]) - - moveHandler = (e) -> - start = startRow - end = editorView.screenPositionFromMouseEvent(e).row - if end > start then end++ else start++ - editor.getSelection().setScreenRange([[start, 0], [end, 0]]) - - $(document).on "mousemove.gutter-#{editorView.id}", moveHandler - $(document).one "mouseup.gutter-#{editorView.id}", -> $(document).off 'mousemove', moveHandler - - # Retrieves the containing {EditorView}. - # - # Returns an {EditorView}. - getEditorView: -> - @parentView - - getEditor: -> - @getEditorView().getEditor() - - # Defines whether to show the gutter or not. - # - # showLineNumbers - A {Boolean} which, if `false`, hides the gutter - setShowLineNumbers: (showLineNumbers) -> - if showLineNumbers then @lineNumbers.show() else @lineNumbers.hide() - - # Get all the line-number divs. - # - # Returns a list of {HTMLElement}s. - getLineNumberElements: -> - @lineNumbers[0].children - - # Get all the line-number divs. - # - # Returns a list of {HTMLElement}s. - getLineNumberElementsForClass: (klass) -> - @lineNumbers[0].getElementsByClassName(klass) - - # Get a single line-number div. - # - # * bufferRow: 0 based line number - # - # Returns a list of {HTMLElement}s that correspond to the bufferRow. More than - # one in the list indicates a wrapped line. - getLineNumberElement: (bufferRow) -> - @getLineNumberElementsForClass("line-number-#{bufferRow}") - - # Add a class to all line-number divs. - # - # * klass: string class name - # - # Returns true if the class was added to any lines - addClassToAllLines: (klass) -> - elements = @getLineNumberElements() - el.classList.add(klass) for el in elements - !!elements.length - - # Remove a class from all line-number divs. - # - # * klass: string class name. Can only be one class name. i.e. 'my-class' - # - # Returns true if the class was removed from any lines - removeClassFromAllLines: (klass) -> - # This is faster than calling $.removeClass on all lines, and faster than - # making a new array and iterating through it. - elements = @getLineNumberElementsForClass(klass) - willRemoveClasses = !!elements.length - elements[0].classList.remove(klass) while elements.length > 0 - willRemoveClasses - - # Add a class to a single line-number div - # - # * bufferRow: 0 based line number - # * klass: string class name - # - # Returns true if there were lines the class was added to - addClassToLine: (bufferRow, klass) -> - elements = @getLineNumberElement(bufferRow) - el.classList.add(klass) for el in elements - !!elements.length - - # Remove a class from a single line-number div - # - # * bufferRow: 0 based line number - # * klass: string class name - # - # Returns true if there were lines the class was removed from - removeClassFromLine: (bufferRow, klass) -> - classesRemoved = false - elements = @getLineNumberElement(bufferRow) - for el in elements - hasClass = el.classList.contains(klass) - classesRemoved |= hasClass - el.classList.remove(klass) if hasClass - classesRemoved - - updateLineNumbers: (changes, startScreenRow, endScreenRow) -> - # Check if we have something already rendered that overlaps the requested range - updateAllLines = not (startScreenRow? and endScreenRow?) - updateAllLines |= endScreenRow <= @firstScreenRow or startScreenRow >= @lastScreenRow - - unless updateAllLines - for change in changes - if change.screenDelta or change.bufferDelta - updateAllLines = true - break - - # Rebuild the entire gutter if a change added or removed lines - if updateAllLines - @lineNumbers[0].innerHTML = @buildLineElementsHtml(startScreenRow, endScreenRow) - - # Handle changes that didn't add/remove lines more optimally - else - if startScreenRow < @firstScreenRow - @prependLineElements(@buildLineElements(startScreenRow, @firstScreenRow-1)) - else if startScreenRow != @firstScreenRow - @removeLineElements(startScreenRow - @firstScreenRow) - - if endScreenRow > @lastScreenRow - @appendLineElements(@buildLineElements(@lastScreenRow+1, endScreenRow)) - else if endScreenRow != @lastScreenRow - @removeLineElements(endScreenRow - @lastScreenRow) - - @updateFoldableClasses(changes) - - @firstScreenRow = startScreenRow - @lastScreenRow = endScreenRow - @highlightedRows = null - @highlightLines() - - prependLineElements: (lineElements) -> - anchor = @lineNumbers[0].children[0] - return appendLineElements(lineElements) unless anchor? - @lineNumbers[0].insertBefore(lineElements[0], anchor) while lineElements.length > 0 - null # defeat coffeescript array return - - appendLineElements: (lineElements) -> - @lineNumbers[0].appendChild(lineElements[0]) while lineElements.length > 0 - null # defeat coffeescript array return - - removeLineElements: (numberOfElements) -> - children = @getLineNumberElements() - - # children is a live NodeList, so remove from the desired end {numberOfElements} times - if numberOfElements < 0 - @lineNumbers[0].removeChild(children[children.length-1]) while numberOfElements++ - else if numberOfElements > 0 - @lineNumbers[0].removeChild(children[0]) while numberOfElements-- - - null # defeat coffeescript array return - - buildLineElements: (startScreenRow, endScreenRow) -> - @elementBuilder.innerHTML = @buildLineElementsHtml(startScreenRow, endScreenRow) - @elementBuilder.children - - buildLineElementsHtml: (startScreenRow, endScreenRow) => - editor = @getEditor() - maxDigits = editor.getLineCount().toString().length - rows = editor.bufferRowsForScreenRows(startScreenRow, endScreenRow) - - html = '' - for row in rows - if row is lastRow - rowValue = '•' - else - rowValue = (row + 1).toString() - - classes = "line-number line-number-#{row}" - classes += ' foldable' if row isnt lastRow and editor.isFoldableAtBufferRow(row) - classes += ' folded' if editor.isFoldedAtBufferRow(row) - - rowValuePadding = _.multiplyString(' ', maxDigits - rowValue.length) - - html += """
    #{rowValuePadding}#{rowValue}
    """ - - lastRow = row - - html - - # Called to update the 'foldable' class of line numbers when there's - # a change to the display buffer that doesn't regenerate all the line numbers - # anyway. - updateFoldableClasses: (changes) -> - editor = @getEditor() - for {start, end} in changes when start <= @lastScreenRow and end >= @firstScreenRow - startScreenRow = Math.max(start - 1, @firstScreenRow) - endScreenRow = Math.min(end + 1, @lastScreenRow) - lastBufferRow = null - for bufferRow in editor.bufferRowsForScreenRows(startScreenRow, endScreenRow) when bufferRow isnt lastBufferRow - lastBufferRow = bufferRow - if lineNumberElement = @getLineNumberElement(bufferRow)[0] - if editor.isFoldableAtBufferRow(bufferRow) - lineNumberElement.classList.add('foldable') - else - lineNumberElement.classList.remove('foldable') - - removeLineHighlights: -> - return unless @highlightedLineNumbers - for line in @highlightedLineNumbers - line.classList.remove('cursor-line') - line.classList.remove('cursor-line-no-selection') - @highlightedLineNumbers = null - - addLineHighlight: (row, emptySelection) -> - return if row < @firstScreenRow or row > @lastScreenRow - @highlightedLineNumbers ?= [] - if highlightedLineNumber = @lineNumbers[0].children[row - @firstScreenRow] - highlightedLineNumber.classList.add('cursor-line') - highlightedLineNumber.classList.add('cursor-line-no-selection') if emptySelection - @highlightedLineNumbers.push(highlightedLineNumber) - - highlightLines: -> - editor = @getEditor() - return unless editor?.isAlive() - - if editor.getSelection().isEmpty() - row = editor.getCursorScreenPosition().row - rowRange = new Range([row, 0], [row, 0]) - return if @selectionEmpty and @highlightedRows?.isEqual(rowRange) - - @removeLineHighlights() - @addLineHighlight(row, true) - @highlightedRows = rowRange - @selectionEmpty = true - else - selectedRows = editor.getSelection().getScreenRange() - endRow = selectedRows.end.row - endRow-- if selectedRows.end.column is 0 - selectedRows = new Range([selectedRows.start.row, 0], [endRow, 0]) - return if not @selectionEmpty and @highlightedRows?.isEqual(selectedRows) - - @removeLineHighlights() - for row in [selectedRows.start.row..selectedRows.end.row] - @addLineHighlight(row, false) - @highlightedRows = selectedRows - @selectionEmpty = false diff --git a/src/selection-view.coffee b/src/selection-view.coffee deleted file mode 100644 index e0413b30c..000000000 --- a/src/selection-view.coffee +++ /dev/null @@ -1,85 +0,0 @@ -{Point, Range} = require 'text-buffer' -{View, $$} = require './space-pen-extensions' - -module.exports = -class SelectionView extends View - - @content: -> - @div class: 'selection' - - regions: null - needsRemoval: false - - initialize: ({@editorView, @selection} = {}) -> - @regions = [] - @selection.on 'screen-range-changed', => @editorView.requestDisplayUpdate() - @selection.on 'destroyed', => - @needsRemoval = true - @editorView.requestDisplayUpdate() - - updateDisplay: -> - @clearRegions() - range = @getScreenRange() - - @trigger 'selection:changed' - @editorView.highlightFoldsContainingBufferRange(@getBufferRange()) - return if range.isEmpty() - - rowSpan = range.end.row - range.start.row - - if rowSpan == 0 - @appendRegion(1, range.start, range.end) - else - @appendRegion(1, range.start, null) - if rowSpan > 1 - @appendRegion(rowSpan - 1, { row: range.start.row + 1, column: 0}, null) - @appendRegion(1, { row: range.end.row, column: 0 }, range.end) - - appendRegion: (rows, start, end) -> - { lineHeight, charWidth } = @editorView - css = @editorView.pixelPositionForScreenPosition(start) - css.height = lineHeight * rows - if end - css.width = @editorView.pixelPositionForScreenPosition(end).left - css.left - else - css.right = 0 - - region = ($$ -> @div class: 'region').css(css) - @append(region) - @regions.push(region) - - getCenterPixelPosition: -> - { start, end } = @getScreenRange() - startRow = start.row - endRow = end.row - endRow-- if end.column == 0 - @editorView.pixelPositionForScreenPosition([((startRow + endRow + 1) / 2), start.column]) - - clearRegions: -> - region.remove() for region in @regions - @regions = [] - - getScreenRange: -> - @selection.getScreenRange() - - getBufferRange: -> - @selection.getBufferRange() - - needsAutoscroll: -> - @selection.needsAutoscroll - - clearAutoscroll: -> - @selection.clearAutoscroll() - - highlight: -> - @unhighlight() - @addClass('highlighted') - clearTimeout(@unhighlightTimeout) - @unhighlightTimeout = setTimeout((=> @unhighlight()), 1000) - - unhighlight: -> - @removeClass('highlighted') - - remove: -> - @editorView.removeSelectionView(this) - super From 5ba86b3dbc50f77dfe1eada3883cd6ba139d033a Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 26 Aug 2014 10:22:20 -0700 Subject: [PATCH 118/144] Normalize file paths in Project::resolve This ensures the drive case letter is consistent on Windows when opening file paths from the command line. --- src/project.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/project.coffee b/src/project.coffee index 5943e319a..45a2f3317 100644 --- a/src/project.coffee +++ b/src/project.coffee @@ -100,9 +100,9 @@ class Project extends Model uri else if fs.isAbsolute(uri) - fs.absolute(uri) + path.normalize(fs.absolute(uri)) else if projectPath = @getPath() - fs.absolute(path.join(projectPath, uri)) + path.normalize(fs.absolute(path.join(projectPath, uri))) else undefined From a296364e5390adc64f662fbf2f14ca9a5f38a2e1 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Tue, 26 Aug 2014 10:26:33 -0700 Subject: [PATCH 119/144] =?UTF-8?q?Fixup=20doc=20strings=20that=20don?= =?UTF-8?q?=E2=80=99t=20parse=20correctly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We can’t have a huge indent on the second line of a list item. Markdown parses it as a code block. :( --- src/context-menu-manager.coffee | 6 ++--- src/deserializer-manager.coffee | 2 +- src/git.coffee | 20 ++++++++-------- src/menu-manager.coffee | 2 +- src/scroll-view.coffee | 20 ++++++++-------- src/task.coffee | 41 ++++++++++++++++++--------------- 6 files changed, 48 insertions(+), 43 deletions(-) diff --git a/src/context-menu-manager.coffee b/src/context-menu-manager.coffee index 172148195..52568340a 100644 --- a/src/context-menu-manager.coffee +++ b/src/context-menu-manager.coffee @@ -28,7 +28,7 @@ class ContextMenuManager # * `object` The 'context-menu' object specified in the menu JSON API. # * `options` An optional {Object} with the following keys: # * `devMode` Determines whether the entries should only be shown when - # the window is in dev mode. + # the window is in dev mode. add: (name, object, {devMode}={}) -> for selector, items of object for label, commandOrSubmenu of items @@ -53,11 +53,11 @@ class ContextMenuManager # clicked. # # * `selector` The css selector for the active element which should include - # the given command in its context menu. + # the given command in its context menu. # * `definition` The object containing keys which match the menu template API. # * `options` An optional {Object} with the following keys: # * `devMode` Indicates whether this command should only appear while the - # editor is in dev mode. + # editor is in dev mode. addBySelector: (selector, definition, {devMode}={}) -> definitions = if devMode then @devModeDefinitions else @definitions if not _.findWhere(definitions[selector], definition) or _.isEqual(definition, {type: 'separator'}) diff --git a/src/deserializer-manager.coffee b/src/deserializer-manager.coffee index b9f3745e1..7a4390f6a 100644 --- a/src/deserializer-manager.coffee +++ b/src/deserializer-manager.coffee @@ -38,7 +38,7 @@ class DeserializerManager # # * `state` The state {Object} to deserialize. # * `params` The params {Object} to pass as the second arguments to the - # deserialize method of the deserializer. + # deserialize method of the deserializer. deserialize: (state, params) -> return unless state? diff --git a/src/git.coffee b/src/git.coffee index b988623f6..7cf4014a9 100644 --- a/src/git.coffee +++ b/src/git.coffee @@ -47,7 +47,7 @@ class Git # * `path` The {String} path to the Git repository to open. # * `options` An optinal {Object} with the following keys: # * `refreshOnWindowFocus` A {Boolean}, `true` to refresh the index and - # statuses when the window is focused. + # statuses when the window is focused. # # Returns a {Git} instance or `null` if the repository could not be opened. @open: (path, options) -> @@ -199,7 +199,7 @@ class Git # characters. # # * `path` An optional {String} path in the repository to get this information - # for, only needed if the repository contains submodules. + # for, only needed if the repository contains submodules. # # Returns a {String}. getShortHead: (path) -> @getRepo(path).getShortHead() @@ -227,7 +227,7 @@ class Git # # * `reference` The {String} reference to checkout. # * `create` A {Boolean} value which, if true creates the new reference if - # it doesn't exist. + # it doesn't exist. # # Returns a Boolean that's true if the method was successful. checkoutReference: (reference, create) -> @@ -296,20 +296,20 @@ class Git # Public: Returns the git configuration value specified by the key. # # * `path` An optional {String} path in the repository to get this information - # for, only needed if the repository has submodules. + # for, only needed if the repository has submodules. getConfigValue: (key, path) -> @getRepo(path).getConfigValue(key) # Public: Returns the origin url of the repository. # # * `path` An optional {String} path in the repository to get this information - # for, only needed if the repository has submodules. + # for, only needed if the repository has submodules. getOriginUrl: (path) -> @getConfigValue('remote.origin.url', path) # Public: Returns the upstream branch for the current HEAD, or null if there # is no upstream branch for the current HEAD. # # * `path` An optional {String} path in the repo to get this information for, - # only needed if the repository contains submodules. + # only needed if the repository contains submodules. # # Returns a {String} branch name such as `refs/remotes/origin/master`. getUpstreamBranch: (path) -> @getRepo(path).getUpstreamBranch() @@ -318,14 +318,14 @@ class Git # # * `reference` The {String} reference to get the target of. # * `path` An optional {String} path in the repo to get the reference target - # for. Only needed if the repository contains submodules. + # for. Only needed if the repository contains submodules. getReferenceTarget: (reference, path) -> @getRepo(path).getReferenceTarget(reference) # Public: Gets all the local and remote references. # # * `path` An optional {String} path in the repository to get this information - # for, only needed if the repository has submodules. + # for, only needed if the repository has submodules. # # Returns an {Object} with the following keys: # * `heads` An {Array} of head reference names. @@ -338,7 +338,7 @@ class Git # # * `reference` The {String} branch reference name. # * `path` The {String} path in the repository to get this information for, - # only needed if the repository contains submodules. + # only needed if the repository contains submodules. getAheadBehindCount: (reference, path) -> @getRepo(path).getAheadBehindCount(reference) @@ -346,7 +346,7 @@ class Git # upstream branch. # # * `path` An optional {String} path in the repository to get this information - # for, only needed if the repository has submodules. + # for, only needed if the repository has submodules. # # Returns an {Object} with the following keys: # * `ahead` The {Number} of commits ahead. diff --git a/src/menu-manager.coffee b/src/menu-manager.coffee index 14c886562..b9f64a2fc 100644 --- a/src/menu-manager.coffee +++ b/src/menu-manager.coffee @@ -33,7 +33,7 @@ class MenuManager # * `label` The {String} menu label. # * `submenu` An optional {Array} of sub menu items. # * `command` An optional {String} command to trigger when the item is - # clicked. + # clicked. add: (items) -> @merge(@template, item) for item in items @update() diff --git a/src/scroll-view.coffee b/src/scroll-view.coffee index 63199fdb1..10e760e1b 100644 --- a/src/scroll-view.coffee +++ b/src/scroll-view.coffee @@ -2,16 +2,16 @@ # Public: Represents a view that scrolls. # -# Subclasses must call `super` if overriding the `initialize` method or else -# the following events won't be handled by the ScrollView. +# Handles several core events to update scroll position: # -# ## Events -# * `core:move-up` Scrolls the view up -# * `core:move-down` Scrolls the view down -# * `core:page-up` Scrolls the view up by the height of the page -# * `core:page-down` Scrolls the view down by the height of the page -# * `core:move-to-top` Scrolls the editor to the top -# * `core:move-to-bottom` Scroll the editor to the bottom +# * `core:move-up` Scrolls the view up +# * `core:move-down` Scrolls the view down +# * `core:page-up` Scrolls the view up by the height of the page +# * `core:page-down` Scrolls the view down by the height of the page +# * `core:move-to-top` Scrolls the editor to the top +# * `core:move-to-bottom` Scroll the editor to the bottom +# +# Subclasses must call `super` if overriding the `initialize` method. # # ## Examples # @@ -24,9 +24,9 @@ # # initialize: -> # super -# # @text('super long content that will scroll') # ``` +# module.exports = class ScrollView extends View initialize: -> diff --git a/src/task.coffee b/src/task.coffee index a776ac519..8d8d0316c 100644 --- a/src/task.coffee +++ b/src/task.coffee @@ -6,18 +6,30 @@ child_process = require 'child_process' # # Used by the fuzzy-finder. # -# ## Events -# -# * task:log - Emitted when console.log is called within the task. -# * task:warn - Emitted when console.warn is called within the task. -# * task:error - Emitted when console.error is called within the task. -# * task:completed - Emitted when the task has succeeded or failed. -# # ## Examples # # ```coffee -# {Task} = require 'atom' +# {Task} = require 'atom' # ``` +# +# ## Events +# +# ### task:log +# +# Emitted when console.log is called within the task. +# +# ### task:warn +# +# Emitted when console.warn is called within the task. +# +# ### task:error +# +# Emitted when console.error is called within the task. +# +# ### task:completed +# +# Emitted when the task has succeeded or failed. +# module.exports = class Task Emitter.includeInto(this) @@ -25,7 +37,7 @@ class Task # Public: A helper method to easily launch and run a task once. # # * `taskPath` The {String} path to the CoffeeScript/JavaScript file which - # exports a single {Function} to execute. + # exports a single {Function} to execute. # * `args` The arguments to pass to the exported function. # # Returns the created {Task}. @@ -46,7 +58,7 @@ class Task # Public: Creates a task. # # * `taskPath` The {String} path to the CoffeeScript/JavaScript file that - # exports a single {Function} to execute. + # exports a single {Function} to execute. constructor: (taskPath) -> coffeeCacheRequire = "require('#{require.resolve('./coffee-cache')}').register();" coffeeScriptRequire = "require('#{require.resolve('coffee-script')}').register();" @@ -83,11 +95,8 @@ class Task # Throws an error if this task has already been terminated or if sending a # message to the child process fails. # - # * `args` The arguments to pass to the function exported by this task's - # script. + # * `args` The arguments to pass to the function exported by this task's script. # * `callback` (optional) A {Function} to call when the task completes. - # - # Returns undefind. start: (args..., callback) -> throw new Error('Cannot start terminated process') unless @childProcess? @@ -105,8 +114,6 @@ class Task # message to the child process fails. # # * `message` The message to send to the task. - # - # Returns undefined. send: (message) -> if @childProcess? @childProcess.send(message) @@ -117,8 +124,6 @@ class Task # Public: Forcefully stop the running task. # # No more events are emitted once this method is called. - # - # Returns undefined. terminate: -> return unless @childProcess? From f032dacebb8bc267f1e1c1583fa824600bf985c8 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 26 Aug 2014 11:24:10 -0700 Subject: [PATCH 120/144] Upgrade to background-tips@0.16 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1a5747782..0cafcb322 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "autocomplete": "0.31.0", "autoflow": "0.18.0", "autosave": "0.15.0", - "background-tips": "0.15.0", + "background-tips": "0.16.0", "bookmarks": "0.28.0", "bracket-matcher": "0.54.0", "command-palette": "0.24.0", From 9a70fdc3d9f589d13f53fae1c44f6716661acb54 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 26 Aug 2014 12:04:27 -0700 Subject: [PATCH 121/144] Prepare 0.125 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0cafcb322..2721a4508 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "atom", "productName": "Atom", - "version": "0.124.0", + "version": "0.125.0", "description": "A hackable text editor for the 21st Century.", "main": "./src/browser/main.js", "repository": { From aaa788b8da17ec08cf5748ff4b70fb3f7205b2d5 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 26 Aug 2014 12:53:44 -0700 Subject: [PATCH 122/144] Upgrade to settings-view@0.141 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2721a4508..763f56e0e 100644 --- a/package.json +++ b/package.json @@ -96,7 +96,7 @@ "open-on-github": "0.30.0", "package-generator": "0.31.0", "release-notes": "0.36.0", - "settings-view": "0.140.0", + "settings-view": "0.141.0", "snippets": "0.51.0", "spell-check": "0.42.0", "status-bar": "0.44.0", From 600005de156f66c0d628fb55ad1fe08a4aeb693f Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 26 Aug 2014 14:21:14 -0700 Subject: [PATCH 123/144] Upgrade to go-to-line@0.25 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 763f56e0e..00676e904 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "find-and-replace": "0.130.0", "fuzzy-finder": "0.57.0", "git-diff": "0.39.0", - "go-to-line": "0.24.0", + "go-to-line": "0.25.0", "grammar-selector": "0.29.0", "image-view": "0.36.0", "incompatible-packages": "0.9.0", From e8cd59eaefb4e22e11f627354ea933a562f8dfa0 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 26 Aug 2014 14:23:20 -0700 Subject: [PATCH 124/144] Waits for reloaded event from ThemeManager Previously disabling a theme wouldn't wait for the full reload to finish since and the spec would intermittently fail because the promise was fulfilled after the spec completed and the subscription was leaked. --- spec/atom-spec.coffee | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/spec/atom-spec.coffee b/spec/atom-spec.coffee index ce85951d9..4dc934587 100644 --- a/spec/atom-spec.coffee +++ b/spec/atom-spec.coffee @@ -493,13 +493,14 @@ describe "the `atom` global", -> expect(atom.config.get('core.disabledPackages')).toContain packageName describe "with themes", -> + reloadedHandler = null + beforeEach -> waitsForPromise -> atom.themes.activateThemes() afterEach -> atom.themes.deactivateThemes() - atom.config.unobserve('core.themes') it ".enablePackage() and .disablePackage() enables and disables a theme", -> packageName = 'theme-with-package-file' @@ -517,13 +518,17 @@ describe "the `atom` global", -> expect(atom.config.get('core.themes')).toContain packageName expect(atom.config.get('core.disabledPackages')).not.toContain packageName - # disabling of theme + reloadedHandler = jasmine.createSpy('reloadedHandler') + reloadedHandler.reset() + atom.themes.on('reloaded', reloadedHandler) + pack = atom.packages.disablePackage(packageName) waitsFor -> - not (pack in atom.packages.getActivePackages()) + reloadedHandler.callCount is 1 runs -> + expect(atom.packages.getActivePackages()).not.toContain pack expect(atom.config.get('core.themes')).not.toContain packageName expect(atom.config.get('core.themes')).not.toContain packageName expect(atom.config.get('core.disabledPackages')).not.toContain packageName From f88c805466d91d41d8887b897fa2b365ebdd2291 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 26 Aug 2014 14:59:28 -0700 Subject: [PATCH 125/144] Upgrade to markdown-preview@0.100 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 00676e904..324399353 100644 --- a/package.json +++ b/package.json @@ -91,7 +91,7 @@ "incompatible-packages": "0.9.0", "keybinding-resolver": "0.19.0", "link": "0.25.0", - "markdown-preview": "0.99.0", + "markdown-preview": "0.100.0", "metrics": "0.33.0", "open-on-github": "0.30.0", "package-generator": "0.31.0", From 37fc8b5945dc8c02f461229daadac34c9c04f22e Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 26 Aug 2014 12:40:21 -0700 Subject: [PATCH 126/144] Add initial spec task support on linux --- build/tasks/spec-task.coffee | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/build/tasks/spec-task.coffee b/build/tasks/spec-task.coffee index 1d2355f2d..baa8f2243 100644 --- a/build/tasks/spec-task.coffee +++ b/build/tasks/spec-task.coffee @@ -2,7 +2,6 @@ fs = require 'fs' path = require 'path' _ = require 'underscore-plus' - async = require 'async' module.exports = (grunt) -> @@ -10,18 +9,24 @@ module.exports = (grunt) -> packageSpecQueue = null + getAppPath = -> + contentsDir = grunt.config.get('atom.contentsDir') + switch process.platform + when 'darwin' + path.join(contentsDir, 'MacOS', 'Atom') + when 'linux' + path.join(contentsDir, 'atom') + when 'win32' + path.join(contentsDir, 'atom.exe') + runPackageSpecs = (callback) -> failedPackages = [] rootDir = grunt.config.get('atom.shellAppDir') - contentsDir = grunt.config.get('atom.contentsDir') resourcePath = process.cwd() - if process.platform is 'darwin' - appPath = path.join(contentsDir, 'MacOS', 'Atom') - else if process.platform is 'win32' - appPath = path.join(contentsDir, 'atom.exe') + appPath = getAppPath() packageSpecQueue = async.queue (packagePath, callback) -> - if process.platform is 'darwin' + if process.platform in ['darwin', 'linux'] options = cmd: appPath args: ['--test', "--resource-path=#{resourcePath}", "--spec-directory=#{path.join(packagePath, 'spec')}"] @@ -57,15 +62,11 @@ module.exports = (grunt) -> packageSpecQueue.drain = -> callback(null, failedPackages) runCoreSpecs = (callback) -> - contentsDir = grunt.config.get('atom.contentsDir') - if process.platform is 'darwin' - appPath = path.join(contentsDir, 'MacOS', 'Atom') - else if process.platform is 'win32' - appPath = path.join(contentsDir, 'atom.exe') + appPath = getAppPath() resourcePath = process.cwd() coreSpecsPath = path.resolve('spec') - if process.platform is 'darwin' + if process.platform in ['darwin', 'linux'] options = cmd: appPath args: ['--test', "--resource-path=#{resourcePath}", "--spec-directory=#{coreSpecsPath}"] @@ -90,7 +91,7 @@ module.exports = (grunt) -> # TODO: This should really be parallel on both platforms, however our # fixtures step on each others toes currently. - if process.platform is 'darwin' + if process.platform in ['darwin', 'linux'] method = async.parallel else if process.platform is 'win32' method = async.series From 08decbe533a2eaf847f24bcdc664a11fa84250a7 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 26 Aug 2014 14:29:30 -0700 Subject: [PATCH 127/144] Explicitly set app path perms to 755 on Linux --- build/tasks/spec-task.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/tasks/spec-task.coffee b/build/tasks/spec-task.coffee index baa8f2243..5ddd0275a 100644 --- a/build/tasks/spec-task.coffee +++ b/build/tasks/spec-task.coffee @@ -25,6 +25,9 @@ module.exports = (grunt) -> resourcePath = process.cwd() appPath = getAppPath() + # Ensure application is executable on Linux + fs.chmodSync(appPath, '755') if process.platform is 'linux' + packageSpecQueue = async.queue (packagePath, callback) -> if process.platform in ['darwin', 'linux'] options = From 496e49a5b989eb32d4b7ac16b8ddd74ff3bae14e Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 26 Aug 2014 15:10:43 -0700 Subject: [PATCH 128/144] Use correct process name on Linux --- build/Gruntfile.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/Gruntfile.coffee b/build/Gruntfile.coffee index 6b1dae4a8..c9749a392 100644 --- a/build/Gruntfile.coffee +++ b/build/Gruntfile.coffee @@ -60,7 +60,7 @@ module.exports = (grunt) -> contentsDir = shellAppDir appDir = path.join(shellAppDir, 'resources', 'app') installDir ?= process.env.INSTALL_PREFIX ? '/usr/local' - killCommand ='pkill -9 Atom' + killCommand ='pkill -9 atom' coffeeConfig = glob_to_multiple: From 7a676192166516d282fd659a59562541621382d6 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Tue, 26 Aug 2014 15:59:53 -0700 Subject: [PATCH 129/144] Use donna 1.0 --- build/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/package.json b/build/package.json index fda540b6b..ea8514acb 100644 --- a/build/package.json +++ b/build/package.json @@ -7,7 +7,7 @@ }, "dependencies": { "async": "~0.2.9", - "donna": "~0.0", + "donna": "~1.0", "tello": "~0.2", "formidable": "~1.0.14", "fs-plus": "2.x", From d79807fbe5de84d27eed0bdfd931fbf286ae3f03 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Tue, 26 Aug 2014 16:00:35 -0700 Subject: [PATCH 130/144] Document atom.* globals as properties --- src/atom.coffee | 51 ++++++++++++++++++++++++++++++++++--------------- 1 file changed, 36 insertions(+), 15 deletions(-) diff --git a/src/atom.coffee b/src/atom.coffee index 2f5b2aa9d..6edca8e46 100644 --- a/src/atom.coffee +++ b/src/atom.coffee @@ -17,21 +17,6 @@ WindowEventHandler = require './window-event-handler' # Public: Atom global for dealing with packages, themes, menus, and the window. # # An instance of this class is always available as the `atom` global. -# -# ## Properties -# -# * `atom.clipboard` - A {Clipboard} instance -# * `atom.config` - A {Config} instance -# * `atom.contextMenu` - A {ContextMenuManager} instance -# * `atom.deserializers` - A {DeserializerManager} instance -# * `atom.keymaps` - A {KeymapManager} instance -# * `atom.menu` - A {MenuManager} instance -# * `atom.packages` - A {PackageManager} instance -# * `atom.project` - A {Project} instance -# * `atom.syntax` - A {Syntax} instance -# * `atom.themes` - A {ThemeManager} instance -# * `atom.workspace` - A {Workspace} instance -# * `atom.workspaceView` - A {WorkspaceView} instance module.exports = class Atom extends Model @version: 1 # Increment this when the serialization format changes @@ -112,6 +97,42 @@ class Atom extends Model workspaceViewParentSelector: 'body' + # Public: A {Clipboard} instance + clipboard: null + + # Public: A {Config} instance + config: null + + # Public: A {ContextMenuManager} instance + contextMenu: null + + # Public: A {DeserializerManager} instance + deserializers: null + + # Public: A {KeymapManager} instance + keymaps: null + + # Public: A {MenuManager} instance + menu: null + + # Public: A {PackageManager} instance + packages: null + + # Public: A {Project} instance + project: null + + # Public: A {Syntax} instance + syntax: null + + # Public: A {ThemeManager} instance + themes: null + + # Public: A {Workspace} instance + workspace: null + + # Public: A {WorkspaceView} instance + workspaceView: null + # Call .loadOrCreate instead constructor: (@state) -> {@mode} = @state From 327749b6c502055d6048a8e35eff7190b56acf4a Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Tue, 26 Aug 2014 19:23:51 -0700 Subject: [PATCH 131/144] Upgrade packages in the public docs. They now are on the latest grunt-atomdoc and have docstrings that export well --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index f2174a560..54d86d004 100644 --- a/package.json +++ b/package.json @@ -20,14 +20,14 @@ "atomShellVersion": "0.15.9", "dependencies": { "async": "0.2.6", - "atom-keymap": "^2.0.4", + "atom-keymap": "^2.0.5", "bootstrap": "git+https://github.com/atom/bootstrap.git#6af81906189f1747fd6c93479e3d998ebe041372", "clear-cut": "0.4.0", "coffee-script": "1.7.0", "coffeestack": "0.7.0", "delegato": "^1", "emissary": "^1.2.2", - "first-mate": "^2.0.4", + "first-mate": "^2.0.5", "fs-plus": "^2.2.6", "fstream": "0.1.24", "fuzzaldrin": "^1.1", @@ -41,7 +41,7 @@ "nslog": "^1.0.1", "oniguruma": "^3.0.3", "optimist": "0.4.0", - "pathwatcher": "^2.0.9", + "pathwatcher": "^2.0.10", "property-accessors": "^1", "q": "^1.0.1", "random-words": "0.0.1", @@ -54,9 +54,9 @@ "season": "^1.0.2", "semver": "1.1.4", "serializable": "^1", - "space-pen": "3.4.3", + "space-pen": "3.4.6", "temp": "0.7.0", - "text-buffer": "^3.0.3", + "text-buffer": "^3.0.4", "theorist": "^1.0.2", "underscore-plus": "^1.5.1", "vm-compatibility-layer": "0.1.0" From 1221a140aaefc356af123d5e559da20b4c1bb9d0 Mon Sep 17 00:00:00 2001 From: syndg Date: Wed, 27 Aug 2014 17:10:08 +0300 Subject: [PATCH 132/144] Added missing keybind in linux.cson. `'ctrl-,': 'application:show-settings'` exists in `win32.cson` and `darwin32.cson` --- keymaps/linux.cson | 1 + 1 file changed, 1 insertion(+) diff --git a/keymaps/linux.cson b/keymaps/linux.cson index ed0e49eb6..b6ca5b1f1 100644 --- a/keymaps/linux.cson +++ b/keymaps/linux.cson @@ -14,6 +14,7 @@ 'F11': 'window:toggle-full-screen' # Sublime Parity + 'ctrl-,': 'application:show-settings' 'ctrl-N': 'application:new-window' 'ctrl-W': 'window:close' 'ctrl-o': 'application:open-file' From cb3453950899f1735ddf3dc86d11af46ea5f0bc9 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Wed, 27 Aug 2014 09:36:08 -0700 Subject: [PATCH 133/144] Fix syntax highlighting --- src/editor.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/editor.coffee b/src/editor.coffee index b2679ddc7..ced7a5448 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -28,9 +28,9 @@ TextMateScopeSelector = require('first-mate').ScopeSelector # be called with all current editor instances and also when any editor is # created in the future. # -# ```coffeescript -# atom.workspace.eachEditor (editor) -> -# editor.insertText('Hello World') +# ```coffee +# atom.workspace.eachEditor (editor) -> +# editor.insertText('Hello World') # ``` # # ## Buffer vs. Screen Coordinates From f01f0eb90b3f31f20fcd0be52d7fd264f6d381ed Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 27 Aug 2014 10:57:33 -0700 Subject: [PATCH 134/144] Upgrade to language-sass@0.20 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 324399353..3f4ed998a 100644 --- a/package.json +++ b/package.json @@ -131,7 +131,7 @@ "language-python": "0.18.0", "language-ruby": "0.35.0", "language-ruby-on-rails": "0.18.0", - "language-sass": "0.19.0", + "language-sass": "0.20.0", "language-shellscript": "0.8.0", "language-source": "0.8.0", "language-sql": "0.10.0", From 17a9e397f3ab636b891270a22ea87a8cd4381ccc Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 27 Aug 2014 11:10:30 -0700 Subject: [PATCH 135/144] :penguin: Add ~/.atom open commands to File menu --- menus/linux.cson | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/menus/linux.cson b/menus/linux.cson index 1b736fea3..fc9bc4602 100644 --- a/menus/linux.cson +++ b/menus/linux.cson @@ -9,6 +9,11 @@ { label: 'Reopen Last &Item', command: 'pane:reopen-closed-item' } { type: 'separator' } { label: '&Preferences...', command: 'application:show-settings' } + { label: 'Open Your Config', command: 'application:open-your-config' } + { label: 'Open Your Init Script', command: 'application:open-your-init-script' } + { label: 'Open Your Keymap', command: 'application:open-your-keymap' } + { label: 'Open Your Snippets', command: 'application:open-your-snippets' } + { label: 'Open Your Stylesheet', command: 'application:open-your-stylesheet' } { type: 'separator' } { label: '&Save', command: 'core:save' } { label: 'Save &As...', command: 'core:save-as' } From 5360b719f2065525be53237f32669283c3c1f805 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 27 Aug 2014 11:29:14 -0700 Subject: [PATCH 136/144] Upgrade to oniguruma 3.0.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3f4ed998a..5044653c3 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "mixto": "^1", "mkdirp": "0.3.5", "nslog": "^1.0.1", - "oniguruma": "^3.0.3", + "oniguruma": "^3.0.4", "optimist": "0.4.0", "pathwatcher": "^2.0.7", "property-accessors": "^1", From 8e5f4ced21f9536d25b2e3bd6839c3bcfce0bd43 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 27 Aug 2014 12:33:50 -0700 Subject: [PATCH 137/144] :penguin: Move settings items to Edit menu Closes #2467 --- menus/linux.cson | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/menus/linux.cson b/menus/linux.cson index fc9bc4602..6c6a14c89 100644 --- a/menus/linux.cson +++ b/menus/linux.cson @@ -8,13 +8,6 @@ { label: 'Open Folder...', command: 'application:open-folder' } { label: 'Reopen Last &Item', command: 'pane:reopen-closed-item' } { type: 'separator' } - { label: '&Preferences...', command: 'application:show-settings' } - { label: 'Open Your Config', command: 'application:open-your-config' } - { label: 'Open Your Init Script', command: 'application:open-your-init-script' } - { label: 'Open Your Keymap', command: 'application:open-your-keymap' } - { label: 'Open Your Snippets', command: 'application:open-your-snippets' } - { label: 'Open Your Stylesheet', command: 'application:open-your-stylesheet' } - { type: 'separator' } { label: '&Save', command: 'core:save' } { label: 'Save &As...', command: 'core:save-as' } { label: 'Save A&ll', command: 'window:save-all' } @@ -85,6 +78,13 @@ { label: 'Fold Level 9', command: 'editor:fold-at-indent-level-9' } ] } + { type: 'separator' } + { label: '&Preferences', command: 'application:show-settings' } + { label: 'Open Your Config', command: 'application:open-your-config' } + { label: 'Open Your Init Script', command: 'application:open-your-init-script' } + { label: 'Open Your Keymap', command: 'application:open-your-keymap' } + { label: 'Open Your Snippets', command: 'application:open-your-snippets' } + { label: 'Open Your Stylesheet', command: 'application:open-your-stylesheet' } ] } From 969e5b65df9d71996292a6a77c70857c8910d03b Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 27 Aug 2014 12:36:36 -0700 Subject: [PATCH 138/144] Upgrade to welcome@0.18 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6ff57bebc..eb3ece210 100644 --- a/package.json +++ b/package.json @@ -106,7 +106,7 @@ "timecop": "0.22.0", "tree-view": "0.112.0", "update-package-dependencies": "0.6.0", - "welcome": "0.17.0", + "welcome": "0.18.0", "whitespace": "0.25.0", "wrap-guide": "0.21.0", From 682d84dea0e3e75671f572d515ec6b499904d599 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 27 Aug 2014 14:09:57 -0700 Subject: [PATCH 139/144] Log location of created .deb file --- build/tasks/mkdeb-task.coffee | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build/tasks/mkdeb-task.coffee b/build/tasks/mkdeb-task.coffee index ccf20b790..891dd70fb 100644 --- a/build/tasks/mkdeb-task.coffee +++ b/build/tasks/mkdeb-task.coffee @@ -37,4 +37,9 @@ module.exports = (grunt) -> cmd = path.join('script', 'mkdeb') args = [version, arch, controlFilePath, desktopFilePath, icon, buildDir] - spawn({cmd, args}, done) + spawn {cmd, args}, (error) -> + if error? + done(error) + else + grunt.log.ok "Created #{buildDir}/atom-#{version}-#{arch}.deb" + done() From 6d23fa1620e1291ffd5dd1feee688973a092ca72 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 27 Aug 2014 14:23:09 -0700 Subject: [PATCH 140/144] :penguin: Set installedSize value in control file Closes #2183 --- build/tasks/mkdeb-task.coffee | 35 ++++++++++++++++++------------- resources/linux/debian/control.in | 2 +- 2 files changed, 22 insertions(+), 15 deletions(-) diff --git a/build/tasks/mkdeb-task.coffee b/build/tasks/mkdeb-task.coffee index 891dd70fb..7add8764b 100644 --- a/build/tasks/mkdeb-task.coffee +++ b/build/tasks/mkdeb-task.coffee @@ -13,8 +13,16 @@ module.exports = (grunt) -> grunt.file.write(outputPath, filled) outputPath + getInstalledSize = (buildDir, callback) -> + cmd = 'du' + args = ['-sk', path.join(buildDir, 'Atom')] + spawn {cmd, args}, (error, {stdout}) -> + installedSize = stdout.split(' ')?[0] or '200000' # default to 200MB + callback(null, installSize) + grunt.registerTask 'mkdeb', 'Create debian package', -> done = @async() + buildDir = grunt.config.get('atom.buildDir') if process.arch is 'ia32' arch = 'i386' @@ -28,18 +36,17 @@ module.exports = (grunt) -> maintainer = 'GitHub ' installDir = '/usr' iconName = 'atom' - data = {name, version, description, section, arch, maintainer, installDir, iconName} + getInstalledSize buildDir, (error, installedSize) -> + data = {name, version, description, section, arch, maintainer, installDir, iconName, installedSize} + controlFilePath = fillTemplate(path.join('resources', 'linux', 'debian', 'control'), data) + desktopFilePath = fillTemplate(path.join('resources', 'linux', 'Atom.desktop'), data) + icon = path.join('resources', 'atom.png') - controlFilePath = fillTemplate(path.join('resources', 'linux', 'debian', 'control'), data) - desktopFilePath = fillTemplate(path.join('resources', 'linux', 'Atom.desktop'), data) - icon = path.join('resources', 'atom.png') - buildDir = grunt.config.get('atom.buildDir') - - cmd = path.join('script', 'mkdeb') - args = [version, arch, controlFilePath, desktopFilePath, icon, buildDir] - spawn {cmd, args}, (error) -> - if error? - done(error) - else - grunt.log.ok "Created #{buildDir}/atom-#{version}-#{arch}.deb" - done() + cmd = path.join('script', 'mkdeb') + args = [version, arch, controlFilePath, desktopFilePath, icon, buildDir] + spawn {cmd, args}, (error) -> + if error? + done(error) + else + grunt.log.ok "Created #{buildDir}/atom-#{version}-#{arch}.deb" + done() diff --git a/resources/linux/debian/control.in b/resources/linux/debian/control.in index cf670e62b..5d8812124 100644 --- a/resources/linux/debian/control.in +++ b/resources/linux/debian/control.in @@ -3,6 +3,6 @@ Version: <%= version %> Section: <%= section %> Priority: optional Architecture: <%= arch %> -Installed-Size: `du -ks usr|cut -f 1` +Installed-Size: <%= installedSize %> Maintainer: <%= maintainer %> Description: <%= description %> From d225966374f2aa14227926c31fc8eb588896205f Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 27 Aug 2014 14:35:16 -0700 Subject: [PATCH 141/144] installSize -> installedSize --- build/tasks/mkdeb-task.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/tasks/mkdeb-task.coffee b/build/tasks/mkdeb-task.coffee index 7add8764b..220b44208 100644 --- a/build/tasks/mkdeb-task.coffee +++ b/build/tasks/mkdeb-task.coffee @@ -18,7 +18,7 @@ module.exports = (grunt) -> args = ['-sk', path.join(buildDir, 'Atom')] spawn {cmd, args}, (error, {stdout}) -> installedSize = stdout.split(' ')?[0] or '200000' # default to 200MB - callback(null, installSize) + callback(null, installedSize) grunt.registerTask 'mkdeb', 'Create debian package', -> done = @async() From a3d29244840f10bc23457a0f973b9e4dc2fe2487 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 27 Aug 2014 14:43:23 -0700 Subject: [PATCH 142/144] Split on whitespace --- build/tasks/mkdeb-task.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/tasks/mkdeb-task.coffee b/build/tasks/mkdeb-task.coffee index 220b44208..bf563582d 100644 --- a/build/tasks/mkdeb-task.coffee +++ b/build/tasks/mkdeb-task.coffee @@ -17,7 +17,7 @@ module.exports = (grunt) -> cmd = 'du' args = ['-sk', path.join(buildDir, 'Atom')] spawn {cmd, args}, (error, {stdout}) -> - installedSize = stdout.split(' ')?[0] or '200000' # default to 200MB + installedSize = stdout.split(/\s+/)?[0] or '200000' # default to 200MB callback(null, installedSize) grunt.registerTask 'mkdeb', 'Create debian package', -> From 20b64dd744a0074c4ccf5153d74aa5dc94839090 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 27 Aug 2014 15:26:31 -0700 Subject: [PATCH 143/144] Upgrade to tabs@0.50 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index eb3ece210..8e2c5cb8b 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,7 @@ "status-bar": "0.44.0", "styleguide": "0.30.0", "symbols-view": "0.63.0", - "tabs": "0.49.0", + "tabs": "0.50.0", "timecop": "0.22.0", "tree-view": "0.112.0", "update-package-dependencies": "0.6.0", From 726b04ef8041895428919b16e050fd5d12da3d14 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Wed, 27 Aug 2014 19:21:33 -0700 Subject: [PATCH 144/144] Update find-and-replace --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8e2c5cb8b..28bbf5e6c 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "dev-live-reload": "0.34.0", "exception-reporting": "0.20.0", "feedback": "0.33.0", - "find-and-replace": "0.130.0", + "find-and-replace": "0.131.0", "fuzzy-finder": "0.57.0", "git-diff": "0.39.0", "go-to-line": "0.25.0",